summaryrefslogtreecommitdiff
path: root/docs/examples
diff options
context:
space:
mode:
authorRichard Wall <richard@largo>2011-06-19 22:54:53 +0100
committerRichard Wall <richard@largo>2011-06-19 22:54:53 +0100
commita8094881c80a07ce085cd188ed673aabf19ad0c1 (patch)
treec6bceab3dc7a3d60380e1c4c75768fdd3256c5e0 /docs/examples
parent12fd22ea34ddad5bdd5500eb8daa8850480cf19a (diff)
Import BinaryFile class into jarmon
Diffstat (limited to 'docs/examples')
-rw-r--r--docs/examples/assets/js/dependencies.js617
1 files changed, 305 insertions, 312 deletions
diff --git a/docs/examples/assets/js/dependencies.js b/docs/examples/assets/js/dependencies.js
index fae9fac..cb7ac1d 100644
--- a/docs/examples/assets/js/dependencies.js
+++ b/docs/examples/assets/js/dependencies.js
@@ -1,4 +1,4 @@
-// Compiled with closure-compiler on 2011-06-18 16:19:16.171580
+// Compiled with closure-compiler on 2011-06-19 22:53:43.697107
// @code_url https://raw.github.com/mochi/mochikit/master/MochiKit/Base.js
// @code_url https://raw.github.com/mochi/mochikit/master/MochiKit/Async.js
// @code_url http://code.jquery.com/jquery-1.6.1.js
@@ -6,7 +6,6 @@
// @code_url http://flot.googlecode.com/svn/trunk/jquery.flot.js
// @code_url http://flot.googlecode.com/svn/trunk/jquery.flot.stack.js
// @code_url http://flot.googlecode.com/svn/trunk/jquery.flot.selection.js
-// @code_url http://javascriptrrd.cvs.sourceforge.net/viewvc/javascriptrrd/v0/src/lib/binaryXHR.js
// @code_url http://javascriptrrd.cvs.sourceforge.net/viewvc/javascriptrrd/v0/src/lib/rrdFile.js
// @code_url https://raw.github.com/jquerytools/jquerytools/master/src/dateinput/dateinput.js
// @code_url https://raw.github.com/jquerytools/jquerytools/master/src/tabs/tabs.js
@@ -15,7 +14,7 @@
// @output_format text
// @output_info compiled_code
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.module=function(a,b,e,f){var j=a[b]=a[b]||{},k=a.NAME?a.NAME+".":"";j.NAME=k+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 "+k+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},
@@ -26,28 +25,28 @@ b)===0},cne:function(a,b){return MochiKit.Base.compare(a,b)!==0},cgt:function(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 n=arguments[e].length;if(l===null||l>n)l=
-n}f=[];for(e=0;e<l;e++){j=[];for(n=1;n<arguments.length;n++)j.push(arguments[n][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("+
+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 k=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 l=arguments[e].length;if(k===null||k>l)k=
+l}f=[];for(e=0;e<k;e++){j=[];for(l=1;l<arguments.length;l++)j.push(arguments[l][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 k=b[j];a(k)&&f.push(k)}else for(j=0;j<b.length;j++)k=b[j],a.call(e,k)&&f.push(k);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 n=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)};n.im_self=j;n.im_func=e;n.im_preargs=f;if(typeof e.NAME=="string")n.NAME="bind("+e.NAME+",...)";return n},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,
+" 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,k=MochiKit.Base;typeof a=="function"&&typeof a.apply=="undefined"&&(a=k._wrapDumbFunction(a));typeof e!="function"&&(e=a);typeof b!="undefined"&&(j=b);f=typeof f=="undefined"?[]:f.slice();k.extend(f,arguments,2);var l=function(){var a=arguments,b=arguments.callee;b.im_preargs.length>
+0&&(a=k.concat(b.im_preargs,a));var e=b.im_self;e||(e=this);return b.im_func.apply(e,a)};l.im_self=j;l.im_func=e;l.im_preargs=f;if(typeof e.NAME=="string")l.NAME="bind("+e.NAME+",...)";return l},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 n=e(a[l],b[l]);if(n)return n}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"&&
+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 k=0;k<f;k++){var l=e(a[k],b[k]);if(l)return l}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(n){if(n!=l.NotFound)throw n;}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 n=0,v=0;n===0&&v<f.length;v++)n=f[v],n=e(a[n],b[n]);return n}},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,
+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 k=MochiKit.Base;try{if(j=k.jsonRegistry.match(a),a!==j)return f(j)}catch(l){if(l!=k.NotFound)throw l;}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")k='"'+e+'"';else if(typeof e=="string")k=f(e);
+else continue;j=f(a[e]);typeof j=="string"&&b.push(k+":"+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 l=0,v=0;l===0&&v<f.length;v++)l=f[v],l=e(a[l],b[l]);return l}},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 k=b[j];f(k,e)==a&&(e=k)}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 n=MochiKit.Base.urlEncode,l=0;l<j;l++)e=b[l],typeof e!="undefined"&&e!==null&&f.push(n(a[l])+"="+n(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 n=e[l].split("="),v=j(n.shift());if(v){var p=f[v];p instanceof Array||(p=[],f[v]=p);p.push(j(n.join("=")))}}else for(l=0;l<e.length;l++)n=e[l].split("="),(v=n.shift())&&(f[j(v)]=j(n.join("=")));return f}});MochiKit.Base.AdapterRegistry=function(){this.pairs=[]};
+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 k=0;k<e.length;k++)a.push(j),b.push(e[k]);else a.push(j),b.push(e)}f=[];j=Math.min(a.length,b.length);for(var l=MochiKit.Base.urlEncode,k=0;k<j;k++)e=b[k],typeof e!="undefined"&&e!==null&&f.push(l(a[k])+"="+l(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 k=0;k<e.length;k++){var l=e[k].split("="),v=j(l.shift());if(v){var B=f[v];B instanceof Array||(B=[],f[v]=B);B.push(j(l.join("=")))}}else for(k=0;k<e.length;k++)l=e[k].split("="),(v=l.shift())&&(f[j(v)]=j(l.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 n=j[0]!=="_"&&!e[j];if(typeof l.__export__=="boolean"?l.__export__:n)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],n=e.split(".")[2],v=function(){var j=arguments.callee,v=a.NAME+"."+b+" is deprecated since version "+f+". Use "+e+" instead.";if(j.logged!==!0)j.logged=!0,MochiKit.Logging?MochiKit.Logging.logDebug(v):console&&console.log&&console.log(v);if(!MochiKit[l])throw Error(v);return MochiKit[l][n].apply(this,arguments)};v.__export__=j===!0;a[b]=v};
+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 k=b[j];if(k!=null){var l=j[0]!=="_"&&!e[j];if(typeof k.__export__=="boolean"?k.__export__:l)typeof k=="object"&&k.NAME&&k.VERSION?f.push(k):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 k=e.split(".")[1],l=e.split(".")[2],v=function(){var j=arguments.callee,v=a.NAME+"."+b+" is deprecated since version "+f+". Use "+e+" instead.";if(j.logged!==!0)j.logged=!0,MochiKit.Logging?MochiKit.Logging.logDebug(v):console&&console.log&&console.log(v);if(!MochiKit[k])throw Error(v);return MochiKit[k][l].apply(this,arguments)};v.__export__=j===!0;a[b]=v};
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__();
@@ -56,312 +55,306 @@ MochiKit.Async.Deferred.prototype={repr:function(){return"Deferred("+this.id+",
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(n){b=1,n instanceof Error||(n=new MochiKit.Async.GenericError(n)),e=n}}this.fired=b;this.results[b]=e;if(this.chain.length==
+(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 k=a.shift()[b];if(k!==null)try{e=k(e),b=e instanceof Error?1:0,e instanceof MochiKit.Async.Deferred&&(j=function(a){f.paused--;f._resback(a)},this.paused++)}catch(l){b=1,l instanceof Error||(l=new MochiKit.Async.GenericError(l)),e=l}}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(n){}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 n=l[e];j.setRequestHeader(n[0],n[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=
+304)}catch(k){}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(k){try{a.onreadystatechange=null}catch(l){}j.errback(k)}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 k=e.queryString(b.queryString);k&&(a+="?"+k)}"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){k=b.headers;e.isArrayLike(k)||(k=e.items(k));for(e=0;e<k.length;e++){var l=k[e];j.setRequestHeader(l[0],l[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)};
+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 k=a[f];j.push(void 0);k.addCallback(e,f,!0);k.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);(function(a,b){function e(c,s,a){if(a===b&&c.nodeType===1)if(a="data-"+s.replace(ca,"$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):B.test(a)?d.parseJSON(a):a}catch(D){}d.data(c,s,a)}else a=b;return a}function f(c){for(var a in c)if(a!=="toJSON")return!1;return!0}function j(c,a,k){var D=a+"defer",A=a+"queue",e=a+"mark",h=d.data(c,D,b,!0);h&&(k==="queue"||!d.data(c,A,b,!0))&&(k==="mark"||!d.data(c,e,b,!0))&&
-setTimeout(function(){!d.data(c,A,b,!0)&&!d.data(c,e,b,!0)&&(d.removeData(c,D,!0),h.resolve())},0)}function l(){return!1}function n(){return!0}function v(c,a,k){var D=d.extend({},k[0]);D.type=c;D.originalEvent={};D.liveFired=b;d.event.handle.call(a,D);D.isDefaultPrevented()&&k[0].preventDefault()}function p(c){var a,k,b,A,e,h,f,g,q,z,r,C=[];A=[];e=d._data(this,"events");if(!(c.liveFired===this||!e||!e.live||c.target.disabled||c.button&&c.type==="click")){c.namespace&&(r=RegExp("(^|\\.)"+c.namespace.split(".").join("\\.(?:.*\\.)?")+
-"(\\.|$)"));c.liveFired=this;var o=e.live.slice(0);for(f=0;f<o.length;f++)e=o[f],e.origType.replace(wa,"")===c.type?A.push(e.selector):o.splice(f--,1);A=d(c.target).closest(A,c.currentTarget);g=0;for(q=A.length;g<q;g++){z=A[g];for(f=0;f<o.length;f++)if(e=o[f],z.selector===e.selector&&(!r||r.test(e.namespace))&&!z.elem.disabled){h=z.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)&&C.push({elem:h,
-handleObj:e,level:z.level})}}g=0;for(q=C.length;g<q;g++){A=C[g];if(k&&A.level>k)break;c.currentTarget=A.elem;c.data=A.handleObj.data;c.handleObj=A.handleObj;r=A.handleObj.origHandler.apply(A.elem,arguments);if(r===!1||c.isPropagationStopped())if(k=A.level,r===!1&&(a=!1),c.isImmediatePropagationStopped())break}return a}}function G(c,a){return(c&&c!=="*"?c+".":"")+a.replace(ma,"`").replace(u,"&")}function M(c,a,k){a=a||0;if(d.isFunction(a))return d.grep(c,function(c,d){return!!a.call(c,d,c)===k});else if(a.nodeType)return d.grep(c,
-function(c){return c===a===k});else if(typeof a==="string"){var b=d.grep(c,function(c){return c.nodeType===1});if(Ba.test(a))return d.filter(a,b,!k);else a=d.filter(a,b)}return d.grep(c,function(c){return d.inArray(c,a)>=0===k})}function E(c,a){if(a.nodeType===1&&d.hasData(c)){var k=d.expando,b=d.data(c),A=d.data(a,b);if(b=b[k]){var e=b.events,A=A[k]=d.extend({},b);if(e){delete A.handle;A.events={};for(var h in e){k=0;for(b=e[h].length;k<b;k++)d.event.add(a,h+(e[h][k].namespace?".":"")+e[h][k].namespace,
-e[h][k],e[h][k].data)}}}}}function x(c,a){var k;if(a.nodeType===1){a.clearAttributes&&a.clearAttributes();a.mergeAttributes&&a.mergeAttributes(c);k=a.nodeName.toLowerCase();if(k==="object")a.outerHTML=c.outerHTML;else if(k==="input"&&(c.type==="checkbox"||c.type==="radio")){if(c.checked)a.defaultChecked=a.checked=c.checked;if(a.value!==c.value)a.value=c.value}else if(k==="option")a.selected=c.defaultSelected;else if(k==="input"||k==="textarea")a.defaultValue=c.defaultValue;a.removeAttribute(d.expando)}}
-function t(c){return"getElementsByTagName"in c?c.getElementsByTagName("*"):"querySelectorAll"in c?c.querySelectorAll("*"):[]}function H(c){if(c.type==="checkbox"||c.type==="radio")c.defaultChecked=c.checked}function X(c){d.nodeName(c,"input")?H(c):c.getElementsByTagName&&d.grep(c.getElementsByTagName("input"),H)}function I(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 S(c,a,k){var b=a==="width"?c.offsetWidth:c.offsetHeight;if(k==="border")return b;d.each(a==="width"?kb:lb,function(){k||(b-=parseFloat(d.css(c,"padding"+this))||0);k==="margin"?b+=parseFloat(d.css(c,"margin"+this))||0:b-=parseFloat(d.css(c,"border"+this+"Width"))||0});return b}function y(c){return function(a,k){var s;typeof a!=="string"&&(k=a,a="*");if(d.isFunction(k))for(var b=a.toLowerCase().split(Za),A=0,e=b.length,h,f;A<e;A++)h=b[A],(f=/^\+/.test(h))&&(h=h.substr(1)||"*"),s=c[h]=c[h]||
-[],h=s,h[f?"unshift":"push"](k)}}function K(c,a,d,D,A,e){A=A||a.dataTypes[0];e=e||{};e[A]=!0;for(var A=c[A],h=0,f=A?A.length:0,g=c===Ta,q;h<f&&(g||!q);h++)q=A[h](a,d,D),typeof q==="string"&&(!g||e[q]?q=b:(a.dataTypes.unshift(q),q=K(c,a,d,D,q,e)));if((g||!q)&&!e["*"])q=K(c,a,d,D,"*",e);return q}function O(c,a,k,b){if(d.isArray(a))d.each(a,function(a,s){k||mb.test(c)?b(c,s):O(c+"["+(typeof s==="object"||d.isArray(s)?a:"")+"]",s,k,b)});else if(!k&&a!=null&&typeof a==="object")for(var A in a)O(c+"["+
-A+"]",a[A],k,b);else b(c,a)}function T(){try{return new a.XMLHttpRequest}catch(c){}}function aa(){setTimeout(P,0);return Pa=d.now()}function P(){Pa=b}function ba(c,a){var k={};d.each($a.concat.apply([],$a.slice(0,a)),function(){k[this]=c});return k}function ka(c){if(!Ua[c]){var a=d("<"+c+">").appendTo("body"),k=a.css("display");a.remove();if(k==="none"||k===""){if(!xa)xa=w.createElement("iframe"),xa.frameBorder=xa.width=xa.height=0;w.body.appendChild(xa);if(!Na||!xa.createElement)Na=(xa.contentWindow||
-xa.contentDocument).document,Na.write("<!doctype><html><body></body></html>");a=Na.createElement(c);Na.body.appendChild(a);k=d.css(a,"display");w.body.removeChild(xa)}Ua[c]=k}return Ua[c]}function ra(c){return d.isWindow(c)?c:c.nodeType===9?c.defaultView||c.parentWindow:!1}var w=a.document,Q=a.navigator,W=a.location,d=function(){function c(){if(!s.isReady){try{w.documentElement.doScroll("left")}catch(a){setTimeout(c,1);return}s.ready()}}var s=function(c,a){return new s.fn.init(c,a,A)},d=a.jQuery,
-D=a.$,A,e=/^(?:[^<]*(<[\w\W]+>)[^>]*$|#([\w\-]*)$)/,h=/\S/,f=/^\s+/,g=/\s+$/,q=/\d/,z=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,r=/^[\],:{}\s]*$/,C=/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,o=/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,j=/(?:^|:|,)(?:\s*\[)+/g,R=/(webkit)[ \/]([\w.]+)/,N=/(opera)(?:.*version)?[ \/]([\w.]+)/,n=/(msie) ([\w.]+)/,l=/(mozilla)(?:.*? rv:([\w.]+))?/,Oa=Q.userAgent,Qa,ja,V=Object.prototype.toString,Va=Object.prototype.hasOwnProperty,Wa=Array.prototype.push,Y=Array.prototype.slice,
-L=String.prototype.trim,p=Array.prototype.indexOf,J={};s.fn=s.prototype={constructor:s,init:function(c,a,d){var k;if(!c)return this;if(c.nodeType)return this.context=this[0]=c,this.length=1,this;if(c==="body"&&!a&&w.body)return this.context=w,this[0]=w.body,this.selector=c,this.length=1,this;if(typeof c==="string")if((k=c.charAt(0)==="<"&&c.charAt(c.length-1)===">"&&c.length>=3?[null,c,null]:e.exec(c))&&(k[1]||!a))if(k[1])return d=(a=a instanceof s?a[0]:a)?a.ownerDocument||a:w,(c=z.exec(c))?s.isPlainObject(a)?
-(c=[w.createElement(c[1])],s.fn.attr.call(c,a,!0)):c=[d.createElement(c[1])]:(c=s.buildFragment([k[1]],[d]),c=(c.cacheable?s.clone(c.fragment):c.fragment).childNodes),s.merge(this,c);else{if((a=w.getElementById(k[2]))&&a.parentNode){if(a.id!==k[2])return d.find(c);this.length=1;this[0]=a}this.context=w;this.selector=c;return this}else return!a||a.jquery?(a||d).find(c):this.constructor(a).find(c);else if(s.isFunction(c))return d.ready(c);if(c.selector!==b)this.selector=c.selector,this.context=c.context;
-return s.makeArray(c,this)},selector:"",jquery:"1.6.1",length:0,size:function(){return this.length},toArray:function(){return Y.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 k=this.constructor();s.isArray(c)?Wa.apply(k,c):s.merge(k,c);k.prevObject=this;k.context=this.context;if(a==="find")k.selector=this.selector+(this.selector?" ":"")+d;else if(a)k.selector=this.selector+"."+a+"("+d+")";return k},each:function(c,a){return s.each(this,
-c,a)},ready:function(c){s.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(Y.apply(this,arguments),"slice",Y.call(arguments).join(","))},map:function(c){return this.pushStack(s.map(this,function(a,s){return c.call(a,s,a)}))},end:function(){return this.prevObject||this.constructor(null)},push:Wa,sort:[].sort,splice:[].splice};s.fn.init.prototype=
-s.fn;s.extend=s.fn.extend=function(){var c,a,d,k,D,A=arguments[0]||{},e=1,h=arguments.length,Fa=!1;typeof A==="boolean"&&(Fa=A,A=arguments[1]||{},e=2);typeof A!=="object"&&!s.isFunction(A)&&(A={});h===e&&(A=this,--e);for(;e<h;e++)if((c=arguments[e])!=null)for(a in c)d=A[a],k=c[a],A!==k&&(Fa&&k&&(s.isPlainObject(k)||(D=s.isArray(k)))?(D?(D=!1,d=d&&s.isArray(d)?d:[]):d=d&&s.isPlainObject(d)?d:{},A[a]=s.extend(Fa,d,k)):k!==b&&(A[a]=k));return A};s.extend({noConflict:function(c){if(a.$===s)a.$=D;if(c&&
-a.jQuery===s)a.jQuery=d;return s},isReady:!1,readyWait:1,holdReady:function(c){c?s.readyWait++:s.ready(!0)},ready:function(c){if(c===!0&&!--s.readyWait||c!==!0&&!s.isReady){if(!w.body)return setTimeout(s.ready,1);s.isReady=!0;c!==!0&&--s.readyWait>0||(Qa.resolveWith(w,[s]),s.fn.trigger&&s(w).trigger("ready").unbind("ready"))}},bindReady:function(){if(!Qa){Qa=s._Deferred();if(w.readyState==="complete")return setTimeout(s.ready,1);if(w.addEventListener)w.addEventListener("DOMContentLoaded",ja,!1),a.addEventListener("load",
-s.ready,!1);else if(w.attachEvent){w.attachEvent("onreadystatechange",ja);a.attachEvent("onload",s.ready);var d=!1;try{d=a.frameElement==null}catch(k){}w.documentElement.doScroll&&d&&c()}}},isFunction:function(c){return s.type(c)==="function"},isArray:Array.isArray||function(c){return s.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):J[V.call(c)]||"object"},isPlainObject:function(c){if(!c||
-s.type(c)!=="object"||c.nodeType||s.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=s.trim(c);if(a.JSON&&a.JSON.parse)return a.JSON.parse(c);if(r.test(c.replace(C,"@").replace(o,"]").replace(j,"")))return(new Function("return "+c))();
-s.error("Invalid JSON: "+c)},parseXML:function(c,d,k){a.DOMParser?(k=new DOMParser,d=k.parseFromString(c,"text/xml")):(d=new ActiveXObject("Microsoft.XMLDOM"),d.async="false",d.loadXML(c));k=d.documentElement;(!k||!k.nodeName||k.nodeName==="parsererror")&&s.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 k,D=0,A=c.length,e=A===b||s.isFunction(c);if(d)if(e)for(k in c){if(a.apply(c[k],d)===!1)break}else for(;D<A;){if(a.apply(c[D++],d)===!1)break}else if(e)for(k in c){if(a.call(c[k],k,c[k])===!1)break}else for(;D<A;)if(a.call(c[D],D,c[D++])===!1)break;return c},trim:L?function(c){return c==null?"":L.call(c)}:function(c){return c==null?"":c.toString().replace(f,"").replace(g,"")},makeArray:function(c,a){var d=a||[];if(c!=null){var k=s.type(c);c.length==null||k==="string"||k==="function"||k==="regexp"||
-s.isWindow(c)?Wa.call(d,c):s.merge(d,c)}return d},inArray:function(c,a){if(p)return p.call(a,c);for(var s=0,d=a.length;s<d;s++)if(a[s]===c)return s;return-1},merge:function(c,a){var s=c.length,d=0;if(typeof a.length==="number")for(var k=a.length;d<k;d++)c[s++]=a[d];else for(;a[d]!==b;)c[s++]=a[d++];c.length=s;return c},grep:function(c,a,s){for(var d=[],k,s=!!s,b=0,D=c.length;b<D;b++)k=!!a(c[b],b),s!==k&&d.push(c[b]);return d},map:function(c,a,d){var k,D,A=[],e=0,h=c.length;if(c instanceof s||h!==
-b&&typeof h==="number"&&(h>0&&c[0]&&c[h-1]||h===0||s.isArray(c)))for(;e<h;e++)k=a(c[e],e,d),k!=null&&(A[A.length]=k);else for(D in c)k=a(c[D],D,d),k!=null&&(A[A.length]=k);return A.concat.apply([],A)},guid:1,proxy:function(c,a){if(typeof a==="string")var d=c[a],a=c,c=d;if(!s.isFunction(c))return b;var k=Y.call(arguments,2),d=function(){return c.apply(a,k.concat(Y.call(arguments)))};d.guid=c.guid=c.guid||d.guid||s.guid++;return d},access:function(c,a,d,k,D,A){var e=c.length;if(typeof a==="object"){for(var h in a)s.access(c,
-h,a[h],k,D,d);return c}if(d!==b){k=!A&&k&&s.isFunction(d);for(h=0;h<e;h++)D(c[h],a,k?d.call(c[h],h,D(c[h],a)):d,A);return c}return e?D(c[0],a):b},now:function(){return(new Date).getTime()},uaMatch:function(c){c=c.toLowerCase();c=R.exec(c)||N.exec(c)||n.exec(c)||c.indexOf("compatible")<0&&l.exec(c)||[];return{browser:c[1]||"",version:c[2]||"0"}},sub:function(){function c(a,s){return new c.fn.init(a,s)}s.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,k){k&&k instanceof s&&!(k instanceof c)&&(k=c(k));return s.fn.init.call(this,d,k,a)};c.fn.init.prototype=c.fn;var a=c(w);return c},browser:{}});s.each("Boolean Number String Function Array Date RegExp Object".split(" "),function(c,a){J["[object "+a+"]"]=a.toLowerCase()});Oa=s.uaMatch(Oa);if(Oa.browser)s.browser[Oa.browser]=!0,s.browser.version=Oa.version;if(s.browser.webkit)s.browser.safari=!0;h.test("\u00a0")&&(f=/^[\s\xA0]+/,g=/[\s\xA0]+$/);A=s(w);w.addEventListener?ja=function(){w.removeEventListener("DOMContentLoaded",
-ja,!1);s.ready()}:w.attachEvent&&(ja=function(){w.readyState==="complete"&&(w.detachEvent("onreadystatechange",ja),s.ready())});return s}(),da="done fail isResolved isRejected promise then always pipe".split(" "),la=[].slice;d.extend({_Deferred:function(){var c=[],a,k,b,A={done:function(){if(!b){var k=arguments,e,h,f,g,q;a&&(q=a,a=0);e=0;for(h=k.length;e<h;e++)f=k[e],g=d.type(f),g==="array"?A.done.apply(A,f):g==="function"&&c.push(f);q&&A.resolveWith(q[0],q[1])}return this},resolveWith:function(d,
-A){if(!b&&!a&&!k){A=A||[];k=1;try{for(;c[0];)c.shift().apply(d,A)}finally{a=[d,A],k=0}}return this},resolve:function(){A.resolveWith(this,arguments);return this},isResolved:function(){return!(!k&&!a)},cancel:function(){b=1;c=[];return this}};return A},Deferred:function(c){var a=d._Deferred(),k=d._Deferred(),b;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:k.done,rejectWith:k.resolveWith,reject:k.resolve,
-isRejected:k.isResolved,pipe:function(c,k){return d.Deferred(function(b){d.each({done:[c,"resolve"],fail:[k,"reject"]},function(c,k){var D=k[0],A=k[1],e;if(d.isFunction(D))a[c](function(){if((e=D.apply(this,arguments))&&d.isFunction(e.promise))e.promise().then(b.resolve,b.reject);else b[A](e)});else a[c](b[A])})}).promise()},promise:function(c){if(c==null){if(b)return b;b=c={}}for(var d=da.length;d--;)c[da[d]]=a[da[d]];return c}});a.done(k.cancel).fail(a.cancel);delete a.cancel;c&&c.call(a,a);return a},
-when:function(c){function a(c){return function(a){k[c]=arguments.length>1?la.call(arguments,0):a;--h||f.resolveWith(f,la.call(k,0))}}var k=arguments,b=0,e=k.length,h=e,f=e<=1&&c&&d.isFunction(c.promise)?c:d.Deferred();if(e>1){for(;b<e;b++)k[b]&&d.isFunction(k[b].promise)?k[b].promise().then(a(b),f.reject):--h;h||f.resolveWith(f,k)}else f!==c&&f.resolveWith(f,e?[c]:[]);return f.promise()}});d.support=function(){var c=w.createElement("div"),a=w.documentElement,d,b,e,h,f,g;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{};e=w.createElement("select");h=e.appendChild(w.createElement("option"));d=c.getElementsByTagName("input")[0];f={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:h.selected,getSetAttribute:c.className!=="t",submitBubbles:!0,changeBubbles:!0,focusinBubbles:!1,deleteExpando:!0,noCloneEvent:!0,inlineBlockNeedsLayout:!1,shrinkWrapBlocks:!1,reliableMarginRight:!0};d.checked=!0;f.noCloneChecked=d.cloneNode(!0).checked;e.disabled=!0;f.optDisabled=!h.disabled;try{delete c.test}catch(q){f.deleteExpando=!1}!c.addEventListener&&
-c.attachEvent&&c.fireEvent&&(c.attachEvent("onclick",function ib(){f.noCloneEvent=!1;c.detachEvent("onclick",ib)}),c.cloneNode(!0).fireEvent("onclick"));d=w.createElement("input");d.value="t";d.setAttribute("type","radio");f.radioValue=d.value==="t";d.setAttribute("checked","checked");c.appendChild(d);b=w.createDocumentFragment();b.appendChild(c.firstChild);f.checkClone=b.cloneNode(!0).cloneNode(!0).lastChild.checked;c.innerHTML="";c.style.width=c.style.paddingLeft="1px";b=w.createElement("body");
-e={visibility:"hidden",width:0,height:0,border:0,margin:0,background:"none"};for(g in e)b.style[g]=e[g];b.appendChild(c);a.insertBefore(b,a.firstChild);f.appendChecked=d.checked;f.boxModel=c.offsetWidth===2;if("zoom"in c.style)c.style.display="inline",c.style.zoom=1,f.inlineBlockNeedsLayout=c.offsetWidth===2,c.style.display="",c.innerHTML="<div style='width:4px;'></div>",f.shrinkWrapBlocks=c.offsetWidth!==2;c.innerHTML="<table><tr><td style='padding:0;border:0;display:none'></td><td>t</td></tr></table>";
-e=c.getElementsByTagName("td");d=e[0].offsetHeight===0;e[0].style.display="";e[1].style.display="none";f.reliableHiddenOffsets=d&&e[0].offsetHeight===0;c.innerHTML="";if(w.defaultView&&w.defaultView.getComputedStyle)d=w.createElement("div"),d.style.width="0",d.style.marginRight="0",c.appendChild(d),f.reliableMarginRight=(parseInt((w.defaultView.getComputedStyle(d,null)||{marginRight:0}).marginRight,10)||0)===0;b.innerHTML="";a.removeChild(b);if(c.attachEvent)for(g in{submit:1,change:1,focusin:1})a=
-"on"+g,d=a in c,d||(c.setAttribute(a,"return;"),d=typeof c[a]==="function"),f[g+"Bubbles"]=d;return f}();d.boxModel=d.support.boxModel;var B=/^(?:\{.*\}|\[.*\])$/,ca=/([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,k,D){if(d.acceptData(c)){var e=d.expando,h=typeof a===
-"string",f=c.nodeType,g=f?d.cache:c,q=f?c[d.expando]:c[d.expando]&&d.expando;if(q&&(!D||!q||g[q][e])||!(h&&k===b)){if(!q)f?c[d.expando]=q=++d.uuid:q=d.expando;if(!g[q]&&(g[q]={},!f))g[q].toJSON=d.noop;if(typeof a==="object"||typeof a==="function")D?g[q][e]=d.extend(g[q][e],a):g[q]=d.extend(g[q],a);c=g[q];D&&(c[e]||(c[e]={}),c=c[e]);k!==b&&(c[d.camelCase(a)]=k);if(a==="events"&&!c[a])return c[e]&&c[e].events;return h?c[d.camelCase(a)]:c}}},removeData:function(c,s,k){if(d.acceptData(c)){var b=d.expando,
-e=c.nodeType,h=e?d.cache:c,g=e?c[d.expando]:d.expando;if(h[g]){if(s){var q=k?h[g][b]:h[g];if(q&&(delete q[s],!f(q)))return}if(k&&(delete h[g][b],!f(h[g])))return;s=h[g][b];d.support.deleteExpando||h!=a?delete h[g]:h[g]=null;if(s){h[g]={};if(!e)h[g].toJSON=d.noop;h[g][b]=s}else e&&(d.support.deleteExpando?delete c[d.expando]:c.removeAttribute?c.removeAttribute(d.expando):c[d.expando]=null)}}},_data:function(c,a,k){return d.data(c,a,k,!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 k=null;if(typeof c==="undefined"){if(this.length&&(k=d.data(this[0]),this[0].nodeType===1))for(var D=this[0].attributes,A,h=0,f=D.length;h<f;h++)A=D[h].name,A.indexOf("data-")===0&&(A=d.camelCase(A.substring(5)),e(this[0],A,k[A]));return k}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?(k=this.triggerHandler("getData"+g[1]+
-"!",[g[0]]),k===b&&this.length&&(k=d.data(this[0],c),k=e(this[0],c,k)),k===b&&g[1]?this.data(g[0]):k):this.each(function(){var k=d(this),b=[g[0],a];k.triggerHandler("setData"+g[1]+"!",b);d.data(this,c,a);k.triggerHandler("changeData"+g[1]+"!",b)})},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,k){c!==!0&&(k=a,a=c,c=!1);if(a){var k=k||"fx",e=k+"mark";(c=
-c?0:(d.data(a,e,b,!0)||1)-1)?d.data(a,e,c,!0):(d.removeData(a,e,!0),j(a,k,"mark"))}},queue:function(c,a,k){if(c){var a=(a||"fx")+"queue",e=d.data(c,a,b,!0);k&&(!e||d.isArray(k)?e=d.data(c,a,d.makeArray(k),!0):e.push(k));return e||[]}},dequeue:function(c,a){var a=a||"fx",k=d.queue(c,a),b=k.shift();b==="inprogress"&&(b=k.shift());b&&(a==="fx"&&k.unshift("inprogress"),b.call(c,function(){d.dequeue(c,a)}));k.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 k=d.queue(this,c,a);c==="fx"&&k[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 k=this;setTimeout(function(){d.dequeue(k,a)},c)})},clearQueue:function(c){return this.queue(c||"fx",[])},promise:function(c){function a(){--f||k.resolveWith(e,[e])}typeof c!=="string"&&
-(c=b);var c=c||"fx",k=d.Deferred(),e=this,h=e.length,f=1,g=c+"defer",q=c+"queue";c+="mark";for(var z;h--;)if(z=d.data(e[h],g,b,!0)||(d.data(e[h],q,b,!0)||d.data(e[h],c,b,!0))&&d.data(e[h],g,d._Deferred(),!0))f++,z.done(a);a();return k.promise()}});var fa=/[\n\t\r]/g,na=/\s+/,oa=/\r/g,sa=/^(?:button|input)$/i,Ga=/^(?:button|input|object|select|textarea)$/i,g=/^a(?:rea)?$/i,C=/^(?:autofocus|autoplay|async|checked|controls|defer|disabled|hidden|loop|multiple|open|readonly|required|scoped|selected)$/i,
-V=/\:/,L,o;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 s=d(this);s.addClass(c.call(this,a,s.attr("class")||""))});if(c&&typeof c==="string")for(var a=(c||"").split(na),
-k=0,b=this.length;k<b;k++){var e=this[k];if(e.nodeType===1)if(e.className){for(var h=" "+e.className+" ",f=e.className,g=0,q=a.length;g<q;g++)h.indexOf(" "+a[g]+" ")<0&&(f+=" "+a[g]);e.className=d.trim(f)}else e.className=c}return this},removeClass:function(c){if(d.isFunction(c))return this.each(function(a){var s=d(this);s.removeClass(c.call(this,a,s.attr("class")))});if(c&&typeof c==="string"||c===b)for(var a=(c||"").split(na),k=0,e=this.length;k<e;k++){var h=this[k];if(h.nodeType===1&&h.className)if(c){for(var f=
-(" "+h.className+" ").replace(fa," "),g=0,q=a.length;g<q;g++)f=f.replace(" "+a[g]+" "," ");h.className=d.trim(f)}else h.className=""}return this},toggleClass:function(c,a){var k=typeof c,b=typeof a==="boolean";if(d.isFunction(c))return this.each(function(b){var k=d(this);k.toggleClass(c.call(this,b,k.attr("class"),a),a)});return this.each(function(){if(k==="string")for(var e,h=0,f=d(this),g=a,q=c.split(na);e=q[h++];)g=b?g:!f.hasClass(e),f[g?"addClass":"removeClass"](e);else if(k==="undefined"||k===
-"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(fa," ").indexOf(c)>-1)return!0;return!1},val:function(c){var a,k,e=this[0];if(!arguments.length){if(e){if((a=d.valHooks[e.nodeName.toLowerCase()]||d.valHooks[e.type])&&"get"in a&&(k=a.get(e,"value"))!==b)return k;return(e.value||"").replace(oa,"")}return b}var h=
-d.isFunction(c);return this.each(function(k){var e=d(this);if(this.nodeType===1&&(k=h?c.call(this,k,e.val()):c,k==null?k="":typeof k==="number"?k+="":d.isArray(k)&&(k=d.map(k,function(c){return c==null?"":c+""})),a=d.valHooks[this.nodeName.toLowerCase()]||d.valHooks[this.type],!a||!("set"in a)||a.set(this,k,"value")===b))this.value=k})}});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,k=c.selectedIndex,b=[],
-e=c.options,c=c.type==="select-one";if(k<0)return null;for(var h=c?k:0,f=c?k+1:e.length;h<f;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;b.push(a)}if(c&&!b.length&&e.length)return d(e[k]).val();return b},set:function(c,a){var k=d.makeArray(a);d(c).find("option").each(function(){this.selected=d.inArray(d(this).val(),k)>=0});if(!k.length)c.selectedIndex=-1;return k}}},
-attrFn:{val:!0,css:!0,html:!0,text:!0,data:!0,width:!0,height:!0,offset:!0},attrFix:{tabindex:"tabIndex"},attr:function(c,a,k,e){var h=c.nodeType;if(!c||h===3||h===8||h===2)return b;if(e&&a in d.attrFn)return d(c)[a](k);if(!("getAttribute"in c))return d.prop(c,a,k);var f,a=(h=h!==1||!d.isXMLDoc(c))&&d.attrFix[a]||a,e=d.attrHooks[a];if(!e)if(C.test(a)&&(typeof k==="boolean"||k===b||k.toLowerCase()===a.toLowerCase()))e=o;else if(L&&(d.nodeName(c,"form")||V.test(a)))e=L;return k!==b?k===null?(d.removeAttr(c,
-a),b):e&&"set"in e&&h&&(f=e.set(c,k,a))!==b?f:(c.setAttribute(a,""+k),k):e&&"get"in e&&h?e.get(c,a):(f=c.getAttribute(a),f===null?b:f)},removeAttr:function(c,a){var k;if(c.nodeType===1&&(a=d.attrFix[a]||a,d.support.getSetAttribute?c.removeAttribute(a):(d.attr(c,a,""),c.removeAttributeNode(c.getAttributeNode(a))),C.test(a)&&(k=d.propFix[a]||a)in c))c[k]=!1},attrHooks:{type:{set:function(c,a){if(sa.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 k=c.value;c.setAttribute("type",a);if(k)c.value=k;return a}}},tabIndex:{get:function(c){var a=c.getAttributeNode("tabIndex");return a&&a.specified?parseInt(a.value,10):Ga.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,k){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 k!==b?e&&"set"in e&&(h=e.set(c,k,a))!==b?h:c[a]=k:e&&"get"in e&&(h=e.get(c,a))!==b?h:c[a]},propHooks:{}});o={get:function(c,a){return c[d.propFix[a]||a]?a.toLowerCase():b},set:function(c,a,k){var b;a===!1?d.removeAttr(c,k):(b=d.propFix[k]||k,b in c&&(c[b]=a),c.setAttribute(k,k.toLowerCase()));return k}};d.attrHooks.value={get:function(c,a){if(L&&d.nodeName(c,
-"button"))return L.get(c,a);return c.value},set:function(c,a,k){if(L&&d.nodeName(c,"button"))return L.set(c,a,k);c.value=a}};if(!d.support.getSetAttribute)d.attrFix=d.propFix,L=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 wa=/\.(.*)$/,ga=/^(?:textarea|input|select)$/i,ma=/\./g,u=/ /g,Z=/[^\w\s.|`]/g,ea=function(c){return c.replace(Z,"\\$&")};d.event={add:function(c,a,k,e){if(!(c.nodeType===3||c.nodeType===8)){if(k===!1)k=l;else if(!k)return;var h,f;if(k.handler)h=k,k=h.handler;
-if(!k.guid)k.guid=d.guid++;if(f=d._data(c)){var g=f.events,q=f.handle;if(!g)f.events=g={};if(!q)f.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(" "),z,r=0,C;z=a[r++];){f=h?d.extend({},h):{handler:k,data:e};z.indexOf(".")>-1?(C=z.split("."),z=C.shift(),f.namespace=C.slice(0).sort().join(".")):(C=[],f.namespace="");f.type=z;if(!f.guid)f.guid=k.guid;var o=g[z],j=d.event.special[z]||{};if(!o&&(o=
-g[z]=[],!j.setup||j.setup.call(c,e,C,q)===!1))c.addEventListener?c.addEventListener(z,q,!1):c.attachEvent&&c.attachEvent("on"+z,q);if(j.add&&(j.add.call(c,f),!f.handler.guid))f.handler.guid=k.guid;o.push(f);d.event.global[z]=!0}c=null}}},global:{},remove:function(c,a,k,e){if(!(c.nodeType===3||c.nodeType===8)){k===!1&&(k=l);var h,f,g=0,q,z,r,C,o,j,R=d.hasData(c)&&d._data(c),N=R&&R.events;if(R&&N){if(a&&a.type)k=a.handler,a=a.type;if(!a||typeof a==="string"&&a.charAt(0)===".")for(h in a=a||"",N)d.event.remove(c,
-h+a);else{for(a=a.split(" ");h=a[g++];)if(C=h,q=h.indexOf(".")<0,z=[],q||(z=h.split("."),h=z.shift(),r=RegExp("(^|\\.)"+d.map(z.slice(0).sort(),ea).join("\\.(?:.*\\.)?")+"(\\.|$)")),o=N[h])if(k){C=d.event.special[h]||{};for(f=e||0;f<o.length;f++)if(j=o[f],k.guid===j.guid){if(q||r.test(j.namespace))e==null&&o.splice(f--,1),C.remove&&C.remove.call(c,j);if(e!=null)break}if(o.length===0||e!=null&&o.length===1)(!C.teardown||C.teardown.call(c,z)===!1)&&d.removeEvent(c,h,R.handle),delete N[h]}else for(f=
-0;f<o.length;f++)if(j=o[f],q||r.test(j.namespace))d.event.remove(c,C,j.handler,f),o.splice(f--,1);if(d.isEmptyObject(N)){if(a=R.handle)a.elem=null;delete R.events;delete R.handle;d.isEmptyObject(R)&&d.removeData(c,b,!0)}}}}},customEvent:{getData:!0,setData:!0,changeData:!0},trigger:function(c,s,k,e){var h=c.type||c,f=[],g;h.indexOf("!")>=0&&(h=h.slice(0,-1),g=!0);h.indexOf(".")>=0&&(f=h.split("."),h=f.shift(),f.sort());if(k&&!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=g;c.namespace=f.join(".");c.namespace_re=RegExp("(^|\\.)"+f.join("\\.(?:.*\\.)?")+"(\\.|$)");if(e||!k)c.preventDefault(),c.stopPropagation();if(k){if(!(k.nodeType===3||k.nodeType===8)){c.result=b;c.target=k;s=s?d.makeArray(s):[];s.unshift(c);f=k;e=h.indexOf(":")<0?"on"+h:"";do{g=d._data(f,"handle");c.currentTarget=f;g&&g.apply(f,s);if(e&&d.acceptData(f)&&f[e]&&f[e].apply(f,s)===!1)c.result=!1,c.preventDefault();f=f.parentNode||f.ownerDocument||
-f===c.target.ownerDocument&&a}while(f&&!c.isPropagationStopped());if(!c.isDefaultPrevented()){var q,f=d.event.special[h]||{};if((!f._default||f._default.call(k.ownerDocument,c)===!1)&&!(h==="click"&&d.nodeName(k,"a"))&&d.acceptData(k)){try{if(e&&k[h])(q=k[e])&&(k[e]=null),d.event.triggered=h,k[h]()}catch(z){}q&&(k[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,s,a.handle.elem)})}},handle:function(c){var c=
-d.event.fix(c||a.event),s=((d._data(this,"events")||{})[c.type]||[]).slice(0),k=!c.exclusive&&!c.namespace,e=Array.prototype.slice.call(arguments,0);e[0]=c;c.currentTarget=this;for(var h=0,f=s.length;h<f;h++){var g=s[h];if(k||c.namespace_re.test(g.namespace)){c.handler=g.handler;c.data=g.data;c.handleObj=g;g=g.handler.apply(this,e);if(g!==b)c.result=g,g===!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),k=this.props.length,e;k;)e=this.props[--k],c[e]=a[e];if(!c.target)c.target=c.srcElement||w;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)k=c.target.ownerDocument||w,a=k.documentElement,k=k.body,c.pageX=c.clientX+(a&&a.scrollLeft||k&&k.scrollLeft||0)-(a&&a.clientLeft||k&&k.clientLeft||0),c.pageY=
-c.clientY+(a&&a.scrollTop||k&&k.scrollTop||0)-(a&&a.clientTop||k&&k.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,G(c.origType,c.selector),d.extend({},c,{handler:p,guid:c.handler.guid}))},remove:function(c){d.event.remove(this,
-G(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=w.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()?n:l):this.type=c;a&&d.extend(this,a);this.timeStamp=d.now();this[d.expando]=!0};d.Event.prototype={preventDefault:function(){this.isDefaultPrevented=n;var c=this.originalEvent;if(c)c.preventDefault?c.preventDefault():c.returnValue=!1},stopPropagation:function(){this.isPropagationStopped=n;var c=this.originalEvent;if(c)c.stopPropagation&&c.stopPropagation(),c.cancelBubble=!0},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=
-n;this.stopPropagation()},isDefaultPrevented:l,isPropagationStopped:l,isImmediatePropagationStopped:l};var ha=function(c){var a=c.relatedTarget;c.type=c.data;try{if(!a||a===w||a.parentNode){for(;a&&a!==this;)a=a.parentNode;a!==this&&d.event.handle.apply(this,arguments)}}catch(b){}},F=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?F:ha,c)},teardown:function(c){d.event.remove(this,
-a,c&&c.selector?F:ha)}}});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&&v("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&&v("submit",this,arguments)})},teardown:function(){d.event.remove(this,
-".specialSubmit")}};if(!d.support.changeBubbles){var $,ia=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},ta=function(c,a){var k=c.target,e,h;if(ga.test(k.nodeName)&&!k.readOnly&&(e=d._data(k,"_change_data"),h=ia(k),(c.type!=="focusout"||k.type!=="radio")&&d._data(k,"_change_data",h),!(e===b||h===e)))if(e!=
-null||h)c.type="change",c.liveFired=b,d.event.trigger(c,a,k)};d.event.special.change={filters:{focusout:ta,beforedeactivate:ta,click:function(c){var a=c.target,b=d.nodeName(a,"input")?a.type:"";(b==="radio"||b==="checkbox"||d.nodeName(a,"select"))&&ta.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")&&ta.call(this,c)},beforeactivate:function(c){c=c.target;
-d._data(c,"_change_data",ia(c))}},setup:function(){if(this.type==="file")return!1;for(var c in $)d.event.add(this,c+".specialChange",$[c]);return ga.test(this.nodeName)},teardown:function(){d.event.remove(this,".specialChange");return ga.test(this.nodeName)}};$=d.event.special.change.filters;$.focus=$.beforeactivate}d.support.focusinBubbles||d.each({focus:"focusin",blur:"focusout"},function(c,a){function b(c){var k=d.event.fix(c);k.type=a;k.originalEvent={};d.event.trigger(k,null,k.target);k.isDefaultPrevented()&&
-c.preventDefault()}var e=0;d.event.special[a]={setup:function(){e++===0&&w.addEventListener(c,b,!0)},teardown:function(){--e===0&&w.removeEventListener(c,b,!0)}}});d.each(["bind","one"],function(c,a){d.fn[a]=function(c,e,h){var f;if(typeof c==="object"){for(var g in c)this[a](g,e,c[g],h);return this}if(arguments.length===2||e===!1)h=e,e=b;a==="one"?(f=function(c){d(this).unbind(c,f);return h.apply(this,arguments)},f.guid=h.guid||d.guid++):f=h;if(c==="unload"&&a!=="one")this.one(c,e,h);else{g=0;for(var q=
-this.length;g<q;g++)d.event.add(this[g],c,f,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 k=(d.data(this,"lastToggle"+c.guid)||0)%e;d.data(this,"lastToggle"+c.guid,k+1);b.preventDefault();return a[k].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 pa={focus:"focusin",blur:"focusout",mouseenter:"mouseover",mouseleave:"mouseout"};d.each(["live","die"],
-function(c,a){d.fn[a]=function(c,e,h,f){var g=0,q,z,C=f||this.selector,r=f?this:d(this.context);if(typeof c==="object"&&!c.preventDefault){for(q in c)r[a](q,e,c[q],C);return this}if(a==="die"&&!c&&f&&f.charAt(0)===".")return r.unbind(f),this;if(e===!1||d.isFunction(e))h=e||l,e=b;for(c=(c||"").split(" ");(f=c[g++])!=null;)if(q=wa.exec(f),z="",q&&(z=q[0],f=f.replace(wa,"")),f==="hover")c.push("mouseenter"+z,"mouseleave"+z);else if(q=f,pa[f]?(c.push(pa[f]+z),f+=z):f=(pa[f]||f)+z,a==="live"){z=0;for(var o=
-r.length;z<o;z++)d.event.add(r[z],"live."+G(f,C),{data:e,selector:C,handler:h,origType:f,origHandler:h,preType:q})}else r.unbind("live."+G(f,C),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,k){for(var e=0,h=b.length;e<h;e++){var s=b[e];if(s){for(var f=!1,s=s[c];s;){if(s.sizcache===d){f=b[s.sizset];break}if(s.nodeType===1&&!k)s.sizcache=d,s.sizset=e;if(s.nodeName.toLowerCase()===a){f=s;break}s=s[c]}b[e]=f}}}function a(c,d,b,e,k,h){for(var k=0,s=e.length;k<s;k++){var f=e[k];if(f){for(var g=!1,f=f[c];f;){if(f.sizcache===b){g=e[f.sizset];break}if(f.nodeType===1){if(!h)f.sizcache=b,f.sizset=k;if(typeof d!=="string"){if(f===d){g=!0;break}}else if(r.filter(d,
-[f]).length>0){g=f;break}}f=f[c]}e[k]=g}}}var e=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^\[\]]*\]|['"][^'"]*['"]|[^\[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,h=0,f=Object.prototype.toString,g=!1,q=!0,z=/\\/g,C=/\W/;[0,0].sort(function(){q=!1;return 0});var r=function(c,a,d,b){var d=d||[],h=a=a||w;if(a.nodeType!==1&&a.nodeType!==9)return[];if(!c||typeof c!=="string")return d;var s,g,D,q,z,C=!0,R=r.isXML(a),N=[],Fa=c;do if(e.exec(""),s=e.exec(Fa))if(Fa=s[3],N.push(s[1]),s[2]){q=
-s[3];break}while(s);if(N.length>1&&j.exec(c))if(N.length===2&&o.relative[N[0]])g=Y(N[0]+N[1],a);else for(g=o.relative[N[0]]?[a]:r(N.shift(),a);N.length;)c=N.shift(),o.relative[c]&&(c+=N.shift()),g=Y(c,g);else if(!b&&N.length>1&&a.nodeType===9&&!R&&o.match.ID.test(N[0])&&!o.match.ID.test(N[N.length-1])&&(s=r.find(N.shift(),a,R),a=s.expr?r.filter(s.expr,s.set)[0]:s.set[0]),a){s=b?{expr:N.pop(),set:n(b)}:r.find(N.pop(),N.length===1&&(N[0]==="~"||N[0]==="+")&&a.parentNode?a.parentNode:a,R);g=s.expr?r.filter(s.expr,
-s.set):s.set;for(N.length>0?D=n(g):C=!1;N.length;)s=z=N.pop(),o.relative[z]?s=N.pop():z="",s==null&&(s=a),o.relative[z](D,s,R)}else D=[];D||(D=g);D||r.error(z||c);if(f.call(D)==="[object Array]")if(C)if(a&&a.nodeType===1)for(c=0;D[c]!=null;c++)D[c]&&(D[c]===!0||D[c].nodeType===1&&r.contains(a,D[c]))&&d.push(g[c]);else for(c=0;D[c]!=null;c++)D[c]&&D[c].nodeType===1&&d.push(g[c]);else d.push.apply(d,D);else n(D,d);q&&(r(q,h,d,b),r.uniqueSort(d));return d};r.uniqueSort=function(c){if(l&&(g=q,c.sort(l),
-g))for(var a=1;a<c.length;a++)c[a]===c[a-1]&&c.splice(a--,1);return c};r.matches=function(c,a){return r(c,null,null,a)};r.matchesSelector=function(c,a){return r(a,null,null,[c]).length>0};r.find=function(c,a,d){var b;if(!c)return[];for(var e=0,k=o.order.length;e<k;e++){var h,s=o.order[e];if(h=o.leftMatch[s].exec(c)){var f=h[1];h.splice(1,1);if(f.substr(f.length-1)!=="\\"&&(h[1]=(h[1]||"").replace(z,""),b=o.find[s](h,a,d),b!=null)){c=c.replace(o.match[s],"");break}}}b||(b=typeof a.getElementsByTagName!==
-"undefined"?a.getElementsByTagName("*"):[]);return{set:b,expr:c}};r.filter=function(c,a,d,e){for(var k,h,s=c,f=[],g=a,D=a&&a[0]&&r.isXML(a[0]);c&&a.length;){for(var q in o.filter)if((k=o.leftMatch[q].exec(c))!=null&&k[2]){var A,z,C=o.filter[q];z=k[1];h=!1;k.splice(1,1);if(z.substr(z.length-1)!=="\\"){g===f&&(f=[]);if(o.preFilter[q])if(k=o.preFilter[q](k,g,d,f,e,D)){if(k===!0)continue}else h=A=!0;if(k)for(var R=0;(z=g[R])!=null;R++)if(z){A=C(z,k,R,g);var j=e^!!A;d&&A!=null?j?h=!0:g[R]=!1:j&&(f.push(z),
-h=!0)}if(A!==b){d||(g=f);c=c.replace(o.match[q],"");if(!h)return[];break}}}if(c===s)if(h==null)r.error(c);else break;s=c}return g};r.error=function(c){throw"Syntax error, unrecognized expression: "+c;};var o=r.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*\]/,
+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);(function(a,b){function e(c,p,a){if(a===b&&c.nodeType===1)if(a="data-"+p.replace(da,"$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):D.test(a)?d.parseJSON(a):a}catch(C){}d.data(c,p,a)}else a=b;return a}function f(c){for(var p in c)if(p!=="toJSON")return!1;return!0}function j(c,p,a){var C=p+"defer",x=p+"queue",e=p+"mark",h=d.data(c,C,b,!0);h&&(a==="queue"||!d.data(c,x,b,!0))&&(a==="mark"||!d.data(c,e,b,!0))&&
+setTimeout(function(){!d.data(c,x,b,!0)&&!d.data(c,e,b,!0)&&(d.removeData(c,C,!0),h.resolve())},0)}function k(){return!1}function l(){return!0}function v(c,p,a){var C=d.extend({},a[0]);C.type=c;C.originalEvent={};C.liveFired=b;d.event.handle.call(p,C);C.isDefaultPrevented()&&a[0].preventDefault()}function B(c){var p,a,b,x,e,h,f,g,q,z,s,E=[];x=[];e=d._data(this,"events");if(!(c.liveFired===this||!e||!e.live||c.target.disabled||c.button&&c.type==="click")){c.namespace&&(s=RegExp("(^|\\.)"+c.namespace.split(".").join("\\.(?:.*\\.)?")+
+"(\\.|$)"));c.liveFired=this;var o=e.live.slice(0);for(f=0;f<o.length;f++)e=o[f],e.origType.replace(za,"")===c.type?x.push(e.selector):o.splice(f--,1);x=d(c.target).closest(x,c.currentTarget);g=0;for(q=x.length;g<q;g++){z=x[g];for(f=0;f<o.length;f++)if(e=o[f],z.selector===e.selector&&(!s||s.test(e.namespace))&&!z.elem.disabled){h=z.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)&&E.push({elem:h,
+handleObj:e,level:z.level})}}g=0;for(q=E.length;g<q;g++){x=E[g];if(a&&x.level>a)break;c.currentTarget=x.elem;c.data=x.handleObj.data;c.handleObj=x.handleObj;s=x.handleObj.origHandler.apply(x.elem,arguments);if(s===!1||c.isPropagationStopped())if(a=x.level,s===!1&&(p=!1),c.isImmediatePropagationStopped())break}return p}}function I(c,p){return(c&&c!=="*"?c+".":"")+p.replace(pa,"`").replace(w,"&")}function M(c,p,a){p=p||0;if(d.isFunction(p))return d.grep(c,function(c,d){return!!p.call(c,d,c)===a});else if(p.nodeType)return d.grep(c,
+function(c){return c===p===a});else if(typeof p==="string"){var b=d.grep(c,function(c){return c.nodeType===1});if(Da.test(p))return d.filter(p,b,!a);else p=d.filter(p,b)}return d.grep(c,function(c){return d.inArray(c,p)>=0===a})}function G(c,a){if(a.nodeType===1&&d.hasData(c)){var n=d.expando,b=d.data(c),x=d.data(a,b);if(b=b[n]){var e=b.events,x=x[n]=d.extend({},b);if(e){delete x.handle;x.events={};for(var h in e){n=0;for(b=e[h].length;n<b;n++)d.event.add(a,h+(e[h][n].namespace?".":"")+e[h][n].namespace,
+e[h][n],e[h][n].data)}}}}}function r(c,a){var n;if(a.nodeType===1){a.clearAttributes&&a.clearAttributes();a.mergeAttributes&&a.mergeAttributes(c);n=a.nodeName.toLowerCase();if(n==="object")a.outerHTML=c.outerHTML;else if(n==="input"&&(c.type==="checkbox"||c.type==="radio")){if(c.checked)a.defaultChecked=a.checked=c.checked;if(a.value!==c.value)a.value=c.value}else if(n==="option")a.selected=c.defaultSelected;else if(n==="input"||n==="textarea")a.defaultValue=c.defaultValue;a.removeAttribute(d.expando)}}
+function t(c){return"getElementsByTagName"in c?c.getElementsByTagName("*"):"querySelectorAll"in c?c.querySelectorAll("*"):[]}function A(c){if(c.type==="checkbox"||c.type==="radio")c.defaultChecked=c.checked}function V(c){d.nodeName(c,"input")?A(c):c.getElementsByTagName&&d.grep(c.getElementsByTagName("input"),A)}function H(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 S(c,a,n){var b=a==="width"?c.offsetWidth:c.offsetHeight;if(n==="border")return b;d.each(a==="width"?kb:lb,function(){n||(b-=parseFloat(d.css(c,"padding"+this))||0);n==="margin"?b+=parseFloat(d.css(c,"margin"+this))||0:b-=parseFloat(d.css(c,"border"+this+"Width"))||0});return b}function y(c){return function(a,n){var p;typeof a!=="string"&&(n=a,a="*");if(d.isFunction(n))for(var b=a.toLowerCase().split(Za),x=0,e=b.length,h,f;x<e;x++)h=b[x],(f=/^\+/.test(h))&&(h=h.substr(1)||"*"),p=c[h]=c[h]||
+[],h=p,h[f?"unshift":"push"](n)}}function N(c,a,d,C,x,e){x=x||a.dataTypes[0];e=e||{};e[x]=!0;for(var x=c[x],h=0,f=x?x.length:0,g=c===Sa,q;h<f&&(g||!q);h++)q=x[h](a,d,C),typeof q==="string"&&(!g||e[q]?q=b:(a.dataTypes.unshift(q),q=N(c,a,d,C,q,e)));if((g||!q)&&!e["*"])q=N(c,a,d,C,"*",e);return q}function O(c,a,n,b){if(d.isArray(a))d.each(a,function(a,p){n||mb.test(c)?b(c,p):O(c+"["+(typeof p==="object"||d.isArray(p)?a:"")+"]",p,n,b)});else if(!n&&a!=null&&typeof a==="object")for(var x in a)O(c+"["+
+x+"]",a[x],n,b);else b(c,a)}function T(){try{return new a.XMLHttpRequest}catch(c){}}function $(){setTimeout(P,0);return Oa=d.now()}function P(){Oa=b}function aa(c,a){var n={};d.each($a.concat.apply([],$a.slice(0,a)),function(){n[this]=c});return n}function ma(c){if(!Ta[c]){var a=d("<"+c+">").appendTo("body"),n=a.css("display");a.remove();if(n==="none"||n===""){if(!Aa)Aa=u.createElement("iframe"),Aa.frameBorder=Aa.width=Aa.height=0;u.body.appendChild(Aa);if(!La||!Aa.createElement)La=(Aa.contentWindow||
+Aa.contentDocument).document,La.write("<!doctype><html><body></body></html>");a=La.createElement(c);La.body.appendChild(a);n=d.css(a,"display");u.body.removeChild(Aa)}Ta[c]=n}return Ta[c]}function va(c){return d.isWindow(c)?c:c.nodeType===9?c.defaultView||c.parentWindow:!1}var u=a.document,Q=a.navigator,W=a.location,d=function(){function c(){if(!p.isReady){try{u.documentElement.doScroll("left")}catch(a){setTimeout(c,1);return}p.ready()}}var p=function(c,a){return new p.fn.init(c,a,x)},d=a.jQuery,
+C=a.$,x,e=/^(?:[^<]*(<[\w\W]+>)[^>]*$|#([\w\-]*)$)/,h=/\S/,f=/^\s+/,g=/\s+$/,q=/\d/,z=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,s=/^[\],:{}\s]*$/,E=/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,o=/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,R=/(?:^|:|,)(?:\s*\[)+/g,j=/(webkit)[ \/]([\w.]+)/,L=/(opera)(?:.*version)?[ \/]([\w.]+)/,l=/(msie) ([\w.]+)/,ba=/(mozilla)(?:.*? rv:([\w.]+))?/,Ma=Q.userAgent,Pa,X,k=Object.prototype.toString,Ua=Object.prototype.hasOwnProperty,Va=Array.prototype.push,ka=Array.prototype.slice,
+K=String.prototype.trim,J=Array.prototype.indexOf,ga={};p.fn=p.prototype={constructor:p,init:function(c,a,d){var n;if(!c)return this;if(c.nodeType)return this.context=this[0]=c,this.length=1,this;if(c==="body"&&!a&&u.body)return this.context=u,this[0]=u.body,this.selector=c,this.length=1,this;if(typeof c==="string")if((n=c.charAt(0)==="<"&&c.charAt(c.length-1)===">"&&c.length>=3?[null,c,null]:e.exec(c))&&(n[1]||!a))if(n[1])return d=(a=a instanceof p?a[0]:a)?a.ownerDocument||a:u,(c=z.exec(c))?p.isPlainObject(a)?
+(c=[u.createElement(c[1])],p.fn.attr.call(c,a,!0)):c=[d.createElement(c[1])]:(c=p.buildFragment([n[1]],[d]),c=(c.cacheable?p.clone(c.fragment):c.fragment).childNodes),p.merge(this,c);else{if((a=u.getElementById(n[2]))&&a.parentNode){if(a.id!==n[2])return d.find(c);this.length=1;this[0]=a}this.context=u;this.selector=c;return this}else return!a||a.jquery?(a||d).find(c):this.constructor(a).find(c);else if(p.isFunction(c))return d.ready(c);if(c.selector!==b)this.selector=c.selector,this.context=c.context;
+return p.makeArray(c,this)},selector:"",jquery:"1.6.1",length:0,size:function(){return this.length},toArray:function(){return ka.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 n=this.constructor();p.isArray(c)?Va.apply(n,c):p.merge(n,c);n.prevObject=this;n.context=this.context;if(a==="find")n.selector=this.selector+(this.selector?" ":"")+d;else if(a)n.selector=this.selector+"."+a+"("+d+")";return n},each:function(c,a){return p.each(this,
+c,a)},ready:function(c){p.bindReady();Pa.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(ka.apply(this,arguments),"slice",ka.call(arguments).join(","))},map:function(c){return this.pushStack(p.map(this,function(a,p){return c.call(a,p,a)}))},end:function(){return this.prevObject||this.constructor(null)},push:Va,sort:[].sort,splice:[].splice};p.fn.init.prototype=
+p.fn;p.extend=p.fn.extend=function(){var c,a,d,n,C,x=arguments[0]||{},e=1,h=arguments.length,Ga=!1;typeof x==="boolean"&&(Ga=x,x=arguments[1]||{},e=2);typeof x!=="object"&&!p.isFunction(x)&&(x={});h===e&&(x=this,--e);for(;e<h;e++)if((c=arguments[e])!=null)for(a in c)d=x[a],n=c[a],x!==n&&(Ga&&n&&(p.isPlainObject(n)||(C=p.isArray(n)))?(C?(C=!1,d=d&&p.isArray(d)?d:[]):d=d&&p.isPlainObject(d)?d:{},x[a]=p.extend(Ga,d,n)):n!==b&&(x[a]=n));return x};p.extend({noConflict:function(c){if(a.$===p)a.$=C;if(c&&
+a.jQuery===p)a.jQuery=d;return p},isReady:!1,readyWait:1,holdReady:function(c){c?p.readyWait++:p.ready(!0)},ready:function(c){if(c===!0&&!--p.readyWait||c!==!0&&!p.isReady){if(!u.body)return setTimeout(p.ready,1);p.isReady=!0;c!==!0&&--p.readyWait>0||(Pa.resolveWith(u,[p]),p.fn.trigger&&p(u).trigger("ready").unbind("ready"))}},bindReady:function(){if(!Pa){Pa=p._Deferred();if(u.readyState==="complete")return setTimeout(p.ready,1);if(u.addEventListener)u.addEventListener("DOMContentLoaded",X,!1),a.addEventListener("load",
+p.ready,!1);else if(u.attachEvent){u.attachEvent("onreadystatechange",X);a.attachEvent("onload",p.ready);var d=!1;try{d=a.frameElement==null}catch(n){}u.documentElement.doScroll&&d&&c()}}},isFunction:function(c){return p.type(c)==="function"},isArray:Array.isArray||function(c){return p.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):ga[k.call(c)]||"object"},isPlainObject:function(c){if(!c||
+p.type(c)!=="object"||c.nodeType||p.isWindow(c))return!1;if(c.constructor&&!Ua.call(c,"constructor")&&!Ua.call(c.constructor.prototype,"isPrototypeOf"))return!1;for(var a in c);return a===b||Ua.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=p.trim(c);if(a.JSON&&a.JSON.parse)return a.JSON.parse(c);if(s.test(c.replace(E,"@").replace(o,"]").replace(R,"")))return(new Function("return "+c))();
+p.error("Invalid JSON: "+c)},parseXML:function(c,d,n){a.DOMParser?(n=new DOMParser,d=n.parseFromString(c,"text/xml")):(d=new ActiveXObject("Microsoft.XMLDOM"),d.async="false",d.loadXML(c));n=d.documentElement;(!n||!n.nodeName||n.nodeName==="parsererror")&&p.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 n,C=0,x=c.length,e=x===b||p.isFunction(c);if(d)if(e)for(n in c){if(a.apply(c[n],d)===!1)break}else for(;C<x;){if(a.apply(c[C++],d)===!1)break}else if(e)for(n in c){if(a.call(c[n],n,c[n])===!1)break}else for(;C<x;)if(a.call(c[C],C,c[C++])===!1)break;return c},trim:K?function(c){return c==null?"":K.call(c)}:function(c){return c==null?"":c.toString().replace(f,"").replace(g,"")},makeArray:function(c,a){var d=a||[];if(c!=null){var n=p.type(c);c.length==null||n==="string"||n==="function"||n==="regexp"||
+p.isWindow(c)?Va.call(d,c):p.merge(d,c)}return d},inArray:function(c,a){if(J)return J.call(a,c);for(var p=0,d=a.length;p<d;p++)if(a[p]===c)return p;return-1},merge:function(c,a){var p=c.length,d=0;if(typeof a.length==="number")for(var n=a.length;d<n;d++)c[p++]=a[d];else for(;a[d]!==b;)c[p++]=a[d++];c.length=p;return c},grep:function(c,a,p){for(var d=[],n,p=!!p,b=0,C=c.length;b<C;b++)n=!!a(c[b],b),p!==n&&d.push(c[b]);return d},map:function(c,a,d){var n,C,x=[],e=0,h=c.length;if(c instanceof p||h!==
+b&&typeof h==="number"&&(h>0&&c[0]&&c[h-1]||h===0||p.isArray(c)))for(;e<h;e++)n=a(c[e],e,d),n!=null&&(x[x.length]=n);else for(C in c)n=a(c[C],C,d),n!=null&&(x[x.length]=n);return x.concat.apply([],x)},guid:1,proxy:function(c,a){if(typeof a==="string")var d=c[a],a=c,c=d;if(!p.isFunction(c))return b;var n=ka.call(arguments,2),d=function(){return c.apply(a,n.concat(ka.call(arguments)))};d.guid=c.guid=c.guid||d.guid||p.guid++;return d},access:function(c,a,d,n,C,x){var e=c.length;if(typeof a==="object"){for(var h in a)p.access(c,
+h,a[h],n,C,d);return c}if(d!==b){n=!x&&n&&p.isFunction(d);for(h=0;h<e;h++)C(c[h],a,n?d.call(c[h],h,C(c[h],a)):d,x);return c}return e?C(c[0],a):b},now:function(){return(new Date).getTime()},uaMatch:function(c){c=c.toLowerCase();c=j.exec(c)||L.exec(c)||l.exec(c)||c.indexOf("compatible")<0&&ba.exec(c)||[];return{browser:c[1]||"",version:c[2]||"0"}},sub:function(){function c(a,p){return new c.fn.init(a,p)}p.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,n){n&&n instanceof p&&!(n instanceof c)&&(n=c(n));return p.fn.init.call(this,d,n,a)};c.fn.init.prototype=c.fn;var a=c(u);return c},browser:{}});p.each("Boolean Number String Function Array Date RegExp Object".split(" "),function(c,a){ga["[object "+a+"]"]=a.toLowerCase()});Ma=p.uaMatch(Ma);if(Ma.browser)p.browser[Ma.browser]=!0,p.browser.version=Ma.version;if(p.browser.webkit)p.browser.safari=!0;h.test("\u00a0")&&(f=/^[\s\xA0]+/,g=/[\s\xA0]+$/);x=p(u);u.addEventListener?X=function(){u.removeEventListener("DOMContentLoaded",
+X,!1);p.ready()}:u.attachEvent&&(X=function(){u.readyState==="complete"&&(u.detachEvent("onreadystatechange",X),p.ready())});return p}(),ea="done fail isResolved isRejected promise then always pipe".split(" "),na=[].slice;d.extend({_Deferred:function(){var c=[],a,n,b,x={done:function(){if(!b){var n=arguments,e,h,f,g,q;a&&(q=a,a=0);e=0;for(h=n.length;e<h;e++)f=n[e],g=d.type(f),g==="array"?x.done.apply(x,f):g==="function"&&c.push(f);q&&x.resolveWith(q[0],q[1])}return this},resolveWith:function(d,x){if(!b&&
+!a&&!n){x=x||[];n=1;try{for(;c[0];)c.shift().apply(d,x)}finally{a=[d,x],n=0}}return this},resolve:function(){x.resolveWith(this,arguments);return this},isResolved:function(){return!(!n&&!a)},cancel:function(){b=1;c=[];return this}};return x},Deferred:function(c){var a=d._Deferred(),n=d._Deferred(),b;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:n.done,rejectWith:n.resolveWith,reject:n.resolve,isRejected:n.isResolved,
+pipe:function(c,n){return d.Deferred(function(b){d.each({done:[c,"resolve"],fail:[n,"reject"]},function(c,n){var C=n[0],x=n[1],e;if(d.isFunction(C))a[c](function(){if((e=C.apply(this,arguments))&&d.isFunction(e.promise))e.promise().then(b.resolve,b.reject);else b[x](e)});else a[c](b[x])})}).promise()},promise:function(c){if(c==null){if(b)return b;b=c={}}for(var d=ea.length;d--;)c[ea[d]]=a[ea[d]];return c}});a.done(n.cancel).fail(a.cancel);delete a.cancel;c&&c.call(a,a);return a},when:function(c){function a(c){return function(a){n[c]=
+arguments.length>1?na.call(arguments,0):a;--e||h.resolveWith(h,na.call(n,0))}}var n=arguments,b=0,x=n.length,e=x,h=x<=1&&c&&d.isFunction(c.promise)?c:d.Deferred();if(x>1){for(;b<x;b++)n[b]&&d.isFunction(n[b].promise)?n[b].promise().then(a(b),h.reject):--e;e||h.resolveWith(h,n)}else h!==c&&h.resolveWith(h,x?[c]:[]);return h.promise()}});d.support=function(){var c=u.createElement("div"),a=u.documentElement,d,b,x,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{};x=u.createElement("select");e=x.appendChild(u.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;x.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=u.createElement("input");d.value="t";d.setAttribute("type","radio");h.radioValue=d.value==="t";d.setAttribute("checked","checked");c.appendChild(d);b=u.createDocumentFragment();b.appendChild(c.firstChild);h.checkClone=b.cloneNode(!0).cloneNode(!0).lastChild.checked;c.innerHTML="";c.style.width=c.style.paddingLeft="1px";b=u.createElement("body");x={visibility:"hidden",width:0,height:0,border:0,margin:0,background:"none"};for(f in x)b.style[f]=x[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>";x=c.getElementsByTagName("td");d=x[0].offsetHeight===0;x[0].style.display="";x[1].style.display="none";h.reliableHiddenOffsets=
+d&&x[0].offsetHeight===0;c.innerHTML="";if(u.defaultView&&u.defaultView.getComputedStyle)d=u.createElement("div"),d.style.width="0",d.style.marginRight="0",c.appendChild(d),h.reliableMarginRight=(parseInt((u.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 D=/^(?:\{.*\}|\[.*\])$/,da=/([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,n,C){if(d.acceptData(c)){var e=d.expando,h=typeof a==="string",f=c.nodeType,g=f?d.cache:c,q=f?c[d.expando]:c[d.expando]&&d.expando;if(q&&(!C||!q||g[q][e])||!(h&&n===b)){if(!q)f?c[d.expando]=
+q=++d.uuid:q=d.expando;if(!g[q]&&(g[q]={},!f))g[q].toJSON=d.noop;if(typeof a==="object"||typeof a==="function")C?g[q][e]=d.extend(g[q][e],a):g[q]=d.extend(g[q],a);c=g[q];C&&(c[e]||(c[e]={}),c=c[e]);n!==b&&(c[d.camelCase(a)]=n);if(a==="events"&&!c[a])return c[e]&&c[e].events;return h?c[d.camelCase(a)]:c}}},removeData:function(c,p,n){if(d.acceptData(c)){var b=d.expando,e=c.nodeType,h=e?d.cache:c,g=e?c[d.expando]:d.expando;if(h[g]){if(p){var q=n?h[g][b]:h[g];if(q&&(delete q[p],!f(q)))return}if(n&&(delete h[g][b],
+!f(h[g])))return;p=h[g][b];d.support.deleteExpando||h!=a?delete h[g]:h[g]=null;if(p){h[g]={};if(!e)h[g].toJSON=d.noop;h[g][b]=p}else e&&(d.support.deleteExpando?delete c[d.expando]:c.removeAttribute?c.removeAttribute(d.expando):c[d.expando]=null)}}},_data:function(c,a,n){return d.data(c,a,n,!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 n=null;if(typeof c==="undefined"){if(this.length&&
+(n=d.data(this[0]),this[0].nodeType===1))for(var C=this[0].attributes,x,h=0,f=C.length;h<f;h++)x=C[h].name,x.indexOf("data-")===0&&(x=d.camelCase(x.substring(5)),e(this[0],x,n[x]));return n}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?(n=this.triggerHandler("getData"+g[1]+"!",[g[0]]),n===b&&this.length&&(n=d.data(this[0],c),n=e(this[0],c,n)),n===b&&g[1]?this.data(g[0]):n):this.each(function(){var n=d(this),b=[g[0],a];
+n.triggerHandler("setData"+g[1]+"!",b);d.data(this,c,a);n.triggerHandler("changeData"+g[1]+"!",b)})},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,n){c!==!0&&(n=a,a=c,c=!1);if(a){var n=n||"fx",C=n+"mark";(c=c?0:(d.data(a,C,b,!0)||1)-1)?d.data(a,C,c,!0):(d.removeData(a,C,!0),j(a,n,"mark"))}},queue:function(c,a,n){if(c){var a=(a||"fx")+"queue",C=d.data(c,
+a,b,!0);n&&(!C||d.isArray(n)?C=d.data(c,a,d.makeArray(n),!0):C.push(n));return C||[]}},dequeue:function(c,a){var a=a||"fx",n=d.queue(c,a),b=n.shift();b==="inprogress"&&(b=n.shift());b&&(a==="fx"&&n.unshift("inprogress"),b.call(c,function(){d.dequeue(c,a)}));n.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||n.resolveWith(C,[C])}typeof c!=="string"&&(c=b);var c=c||"fx",n=d.Deferred(),C=this,e=C.length,h=1,g=c+"defer",f=c+"queue";c+="mark";for(var q;e--;)if(q=d.data(C[e],g,b,!0)||(d.data(C[e],
+f,b,!0)||d.data(C[e],c,b,!0))&&d.data(C[e],g,d._Deferred(),!0))h++,q.done(a);a();return n.promise()}});var ha=/[\n\t\r]/g,qa=/\s+/,ra=/\r/g,wa=/^(?:button|input)$/i,Ha=/^(?:button|input|object|select|textarea)$/i,g=/^a(?:rea)?$/i,E=/^(?:autofocus|autoplay|async|checked|controls|defer|disabled|hidden|loop|multiple|open|readonly|required|scoped|selected)$/i,X=/\:/,K,o;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 p=d(this);p.addClass(c.call(this,a,p.attr("class")||""))});if(c&&typeof c==="string")for(var a=(c||"").split(qa),b=0,e=this.length;b<e;b++){var h=this[b];if(h.nodeType===1)if(h.className){for(var g=" "+h.className+" ",f=h.className,q=0,z=a.length;q<z;q++)g.indexOf(" "+
+a[q]+" ")<0&&(f+=" "+a[q]);h.className=d.trim(f)}else h.className=c}return this},removeClass:function(c){if(d.isFunction(c))return this.each(function(a){var p=d(this);p.removeClass(c.call(this,a,p.attr("class")))});if(c&&typeof c==="string"||c===b)for(var a=(c||"").split(qa),n=0,e=this.length;n<e;n++){var h=this[n];if(h.nodeType===1&&h.className)if(c){for(var g=(" "+h.className+" ").replace(ha," "),f=0,q=a.length;f<q;f++)g=g.replace(" "+a[f]+" "," ");h.className=d.trim(g)}else h.className=""}return this},
+toggleClass:function(c,a){var b=typeof c,e=typeof a==="boolean";if(d.isFunction(c))return this.each(function(b){var n=d(this);n.toggleClass(c.call(this,b,n.attr("class"),a),a)});return this.each(function(){if(b==="string")for(var h,g=0,f=d(this),q=a,z=c.split(qa);h=z[g++];)q=e?q:!f.hasClass(h),f[q?"addClass":"removeClass"](h);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(ha," ").indexOf(c)>-1)return!0;return!1},val:function(c){var a,n,e=this[0];if(!arguments.length){if(e){if((a=d.valHooks[e.nodeName.toLowerCase()]||d.valHooks[e.type])&&"get"in a&&(n=a.get(e,"value"))!==b)return n;return(e.value||"").replace(ra,"")}return b}var h=d.isFunction(c);return this.each(function(n){var e=d(this);if(this.nodeType===1&&(n=h?c.call(this,n,e.val()):c,n==null?n="":typeof n===
+"number"?n+="":d.isArray(n)&&(n=d.map(n,function(c){return c==null?"":c+""})),a=d.valHooks[this.nodeName.toLowerCase()]||d.valHooks[this.type],!a||!("set"in a)||a.set(this,n,"value")===b))this.value=n})}});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,e=[],h=c.options,c=c.type==="select-one";if(b<0)return null;for(var g=c?b:0,f=c?b+1:h.length;g<f;g++)if(a=h[g],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;e.push(a)}if(c&&!e.length&&h.length)return d(h[b]).val();return e},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,n,e){var h=
+c.nodeType;if(!c||h===3||h===8||h===2)return b;if(e&&a in d.attrFn)return d(c)[a](n);if(!("getAttribute"in c))return d.prop(c,a,n);var g,a=(h=h!==1||!d.isXMLDoc(c))&&d.attrFix[a]||a,e=d.attrHooks[a];if(!e)if(E.test(a)&&(typeof n==="boolean"||n===b||n.toLowerCase()===a.toLowerCase()))e=o;else if(K&&(d.nodeName(c,"form")||X.test(a)))e=K;return n!==b?n===null?(d.removeAttr(c,a),b):e&&"set"in e&&h&&(g=e.set(c,n,a))!==b?g:(c.setAttribute(a,""+n),n):e&&"get"in e&&h?e.get(c,a):(g=c.getAttribute(a),g===null?
+b:g)},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))),E.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):Ha.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,n){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 n!==b?e&&"set"in e&&(h=e.set(c,n,a))!==b?h:c[a]=n:e&&"get"in e&&(h=e.get(c,a))!==b?h:c[a]},propHooks:{}});o={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(K&&d.nodeName(c,"button"))return K.get(c,a);return c.value},set:function(c,a,b){if(K&&d.nodeName(c,"button"))return K.set(c,
+a,b);c.value=a}};if(!d.support.getSetAttribute)d.attrFix=d.propFix,K=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,w=/ /g,Y=/[^\w\s.|`]/g,fa=function(c){return c.replace(Y,"\\$&")};d.event={add:function(c,a,n,e){if(!(c.nodeType===3||c.nodeType===8)){if(n===!1)n=k;else if(!n)return;var h,g;if(n.handler)h=n,n=h.handler;if(!n.guid)n.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(" "),z,s=0,E;z=a[s++];){g=h?d.extend({},h):{handler:n,data:e};z.indexOf(".")>-1?(E=z.split("."),z=E.shift(),g.namespace=E.slice(0).sort().join(".")):(E=[],g.namespace="");g.type=z;if(!g.guid)g.guid=n.guid;var o=f[z],R=d.event.special[z]||{};if(!o&&(o=f[z]=[],!R.setup||R.setup.call(c,e,E,q)===!1))c.addEventListener?c.addEventListener(z,q,!1):c.attachEvent&&
+c.attachEvent("on"+z,q);if(R.add&&(R.add.call(c,g),!g.handler.guid))g.handler.guid=n.guid;o.push(g);d.event.global[z]=!0}c=null}}},global:{},remove:function(c,a,n,e){if(!(c.nodeType===3||c.nodeType===8)){n===!1&&(n=k);var h,g,f=0,q,z,s,E,o,R,j=d.hasData(c)&&d._data(c),L=j&&j.events;if(j&&L){if(a&&a.type)n=a.handler,a=a.type;if(!a||typeof a==="string"&&a.charAt(0)===".")for(h in a=a||"",L)d.event.remove(c,h+a);else{for(a=a.split(" ");h=a[f++];)if(E=h,q=h.indexOf(".")<0,z=[],q||(z=h.split("."),h=z.shift(),
+s=RegExp("(^|\\.)"+d.map(z.slice(0).sort(),fa).join("\\.(?:.*\\.)?")+"(\\.|$)")),o=L[h])if(n){E=d.event.special[h]||{};for(g=e||0;g<o.length;g++)if(R=o[g],n.guid===R.guid){if(q||s.test(R.namespace))e==null&&o.splice(g--,1),E.remove&&E.remove.call(c,R);if(e!=null)break}if(o.length===0||e!=null&&o.length===1)(!E.teardown||E.teardown.call(c,z)===!1)&&d.removeEvent(c,h,j.handle),delete L[h]}else for(g=0;g<o.length;g++)if(R=o[g],q||s.test(R.namespace))d.event.remove(c,E,R.handler,g),o.splice(g--,1);if(d.isEmptyObject(L)){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,p,n,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(n&&!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||!n)c.preventDefault(),c.stopPropagation();if(n){if(!(n.nodeType===3||n.nodeType===8)){c.result=b;c.target=n;p=p?d.makeArray(p):[];p.unshift(c);g=n;e=h.indexOf(":")<0?"on"+h:"";do{f=d._data(g,"handle");c.currentTarget=g;f&&f.apply(g,p);if(e&&d.acceptData(g)&&g[e]&&g[e].apply(g,p)===!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(n.ownerDocument,c)===!1)&&!(h==="click"&&d.nodeName(n,"a"))&&d.acceptData(n)){try{if(e&&n[h])(q=n[e])&&(n[e]=null),d.event.triggered=h,n[h]()}catch(z){}q&&(n[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,p,a.handle.elem)})}},handle:function(c){var c=d.event.fix(c||a.event),p=((d._data(this,"events")||{})[c.type]||[]).slice(0),n=!c.exclusive&&!c.namespace,e=Array.prototype.slice.call(arguments,
+0);e[0]=c;c.currentTarget=this;for(var h=0,g=p.length;h<g;h++){var f=p[h];if(n||c.namespace_re.test(f.namespace)){c.handler=f.handler;c.data=f.data;c.handleObj=f;f=f.handler.apply(this,e);if(f!==b)c.result=f,f===!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),n=this.props.length,e;n;)e=this.props[--n],c[e]=a[e];if(!c.target)c.target=c.srcElement||u;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)n=c.target.ownerDocument||u,a=n.documentElement,n=n.body,c.pageX=c.clientX+(a&&a.scrollLeft||n&&n.scrollLeft||0)-(a&&a.clientLeft||n&&n.clientLeft||0),c.pageY=
+c.clientY+(a&&a.scrollTop||n&&n.scrollTop||0)-(a&&a.clientTop||n&&n.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,I(c.origType,c.selector),d.extend({},c,{handler:B,guid:c.handler.guid}))},remove:function(c){d.event.remove(this,
+I(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=u.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()?l:k):this.type=c;a&&d.extend(this,a);this.timeStamp=d.now();this[d.expando]=!0};d.Event.prototype={preventDefault:function(){this.isDefaultPrevented=l;var c=this.originalEvent;if(c)c.preventDefault?c.preventDefault():c.returnValue=!1},stopPropagation:function(){this.isPropagationStopped=l;var c=this.originalEvent;if(c)c.stopPropagation&&c.stopPropagation(),c.cancelBubble=!0},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=
+l;this.stopPropagation()},isDefaultPrevented:k,isPropagationStopped:k,isImmediatePropagationStopped:k};var ia=function(c){var a=c.relatedTarget;c.type=c.data;try{if(!a||a===u||a.parentNode){for(;a&&a!==this;)a=a.parentNode;a!==this&&d.event.handle.apply(this,arguments)}}catch(b){}},F=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?F:ia,c)},teardown:function(c){d.event.remove(this,
+a,c&&c.selector?F:ia)}}});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&&v("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&&v("submit",this,arguments)})},teardown:function(){d.event.remove(this,
+".specialSubmit")}};if(!d.support.changeBubbles){var Z,ja=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 n=c.target,e,h;if(sa.test(n.nodeName)&&!n.readOnly&&(e=d._data(n,"_change_data"),h=ja(n),(c.type!=="focusout"||n.type!=="radio")&&d._data(n,"_change_data",h),!(e===b||h===e)))if(e!=
+null||h)c.type="change",c.liveFired=b,d.event.trigger(c,a,n)};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",ja(c))}},setup:function(){if(this.type==="file")return!1;for(var c in Z)d.event.add(this,c+".specialChange",Z[c]);return sa.test(this.nodeName)},teardown:function(){d.event.remove(this,".specialChange");return sa.test(this.nodeName)}};Z=d.event.special.change.filters;Z.focus=Z.beforeactivate}d.support.focusinBubbles||d.each({focus:"focusin",blur:"focusout"},function(c,a){function b(c){var n=d.event.fix(c);n.type=a;n.originalEvent={};d.event.trigger(n,null,n.target);n.isDefaultPrevented()&&
+c.preventDefault()}var e=0;d.event.special[a]={setup:function(){e++===0&&u.addEventListener(c,b,!0)},teardown:function(){--e===0&&u.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 n=(d.data(this,"lastToggle"+c.guid)||0)%e;d.data(this,"lastToggle"+c.guid,n+1);b.preventDefault();return a[n].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,z,E=g||this.selector,s=g?this:d(this.context);if(typeof c==="object"&&!c.preventDefault){for(q in c)s[a](q,e,c[q],E);return this}if(a==="die"&&!c&&g&&g.charAt(0)===".")return s.unbind(g),this;if(e===!1||d.isFunction(e))h=e||k,e=b;for(c=(c||"").split(" ");(g=c[f++])!=null;)if(q=za.exec(g),z="",q&&(z=q[0],g=g.replace(za,"")),g==="hover")c.push("mouseenter"+z,"mouseleave"+z);else if(q=g,ta[g]?(c.push(ta[g]+z),g+=z):g=(ta[g]||g)+z,a==="live"){z=0;for(var o=
+s.length;z<o;z++)d.event.add(s[z],"live."+I(g,E),{data:e,selector:E,handler:h,origType:g,origHandler:h,preType:q})}else s.unbind("live."+I(g,E),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,n){for(var e=0,h=b.length;e<h;e++){var p=b[e];if(p){for(var g=!1,p=p[c];p;){if(p.sizcache===d){g=b[p.sizset];break}if(p.nodeType===1&&!n)p.sizcache=d,p.sizset=e;if(p.nodeName.toLowerCase()===a){g=p;break}p=p[c]}b[e]=g}}}function a(c,d,b,e,n,h){for(var n=0,p=e.length;n<p;n++){var g=e[n];if(g){for(var f=!1,g=g[c];g;){if(g.sizcache===b){f=e[g.sizset];break}if(g.nodeType===1){if(!h)g.sizcache=b,g.sizset=n;if(typeof d!=="string"){if(g===d){f=!0;break}}else if(s.filter(d,
+[g]).length>0){f=g;break}}g=g[c]}e[n]=f}}}var e=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^\[\]]*\]|['"][^'"]*['"]|[^\[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,h=0,g=Object.prototype.toString,f=!1,q=!0,z=/\\/g,E=/\W/;[0,0].sort(function(){q=!1;return 0});var s=function(c,a,d,b){var d=d||[],h=a=a||u;if(a.nodeType!==1&&a.nodeType!==9)return[];if(!c||typeof c!=="string")return d;var p,f,C,q,z,E=!0,j=s.isXML(a),L=[],Ga=c;do if(e.exec(""),p=e.exec(Ga))if(Ga=p[3],L.push(p[1]),p[2]){q=
+p[3];break}while(p);if(L.length>1&&R.exec(c))if(L.length===2&&o.relative[L[0]])f=ka(L[0]+L[1],a);else for(f=o.relative[L[0]]?[a]:s(L.shift(),a);L.length;)c=L.shift(),o.relative[c]&&(c+=L.shift()),f=ka(c,f);else if(!b&&L.length>1&&a.nodeType===9&&!j&&o.match.ID.test(L[0])&&!o.match.ID.test(L[L.length-1])&&(p=s.find(L.shift(),a,j),a=p.expr?s.filter(p.expr,p.set)[0]:p.set[0]),a){p=b?{expr:L.pop(),set:l(b)}:s.find(L.pop(),L.length===1&&(L[0]==="~"||L[0]==="+")&&a.parentNode?a.parentNode:a,j);f=p.expr?
+s.filter(p.expr,p.set):p.set;for(L.length>0?C=l(f):E=!1;L.length;)p=z=L.pop(),o.relative[z]?p=L.pop():z="",p==null&&(p=a),o.relative[z](C,p,j)}else C=[];C||(C=f);C||s.error(z||c);if(g.call(C)==="[object Array]")if(E)if(a&&a.nodeType===1)for(c=0;C[c]!=null;c++)C[c]&&(C[c]===!0||C[c].nodeType===1&&s.contains(a,C[c]))&&d.push(f[c]);else for(c=0;C[c]!=null;c++)C[c]&&C[c].nodeType===1&&d.push(f[c]);else d.push.apply(d,C);else l(C,d);q&&(s(q,h,d,b),s.uniqueSort(d));return d};s.uniqueSort=function(c){if(X&&
+(f=q,c.sort(X),f))for(var a=1;a<c.length;a++)c[a]===c[a-1]&&c.splice(a--,1);return c};s.matches=function(c,a){return s(c,null,null,a)};s.matchesSelector=function(c,a){return s(a,null,null,[c]).length>0};s.find=function(c,a,d){var b;if(!c)return[];for(var e=0,n=o.order.length;e<n;e++){var p,h=o.order[e];if(p=o.leftMatch[h].exec(c)){var g=p[1];p.splice(1,1);if(g.substr(g.length-1)!=="\\"&&(p[1]=(p[1]||"").replace(z,""),b=o.find[h](p,a,d),b!=null)){c=c.replace(o.match[h],"");break}}}b||(b=typeof a.getElementsByTagName!==
+"undefined"?a.getElementsByTagName("*"):[]);return{set:b,expr:c}};s.filter=function(c,a,d,e){for(var p,n,h=c,g=[],f=a,C=a&&a[0]&&s.isXML(a[0]);c&&a.length;){for(var q in o.filter)if((p=o.leftMatch[q].exec(c))!=null&&p[2]){var x,z,E=o.filter[q];z=p[1];n=!1;p.splice(1,1);if(z.substr(z.length-1)!=="\\"){f===g&&(g=[]);if(o.preFilter[q])if(p=o.preFilter[q](p,f,d,g,e,C)){if(p===!0)continue}else n=x=!0;if(p)for(var R=0;(z=f[R])!=null;R++)if(z){x=E(z,p,R,f);var j=e^!!x;d&&x!=null?j?n=!0:f[R]=!1:j&&(g.push(z),
+n=!0)}if(x!==b){d||(f=g);c=c.replace(o.match[q],"");if(!n)return[];break}}}if(c===h)if(n==null)s.error(c);else break;h=c}return f};s.error=function(c){throw"Syntax error, unrecognized expression: "+c;};var o=s.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&&!C.test(a),d=d&&!b;b&&(a=a.toLowerCase());for(var b=0,e=c.length,k;b<e;b++)if(k=c[b]){for(;(k=k.previousSibling)&&k.nodeType!==1;);c[b]=d||k&&k.nodeName.toLowerCase()===a?k||!1:k===a}d&&r.filter(a,c,!0)},">":function(c,a){var d,b=typeof a==="string",e=0,k=c.length;if(b&&!C.test(a))for(a=a.toLowerCase();e<k;e++){if(d=c[e])d=d.parentNode,c[e]=d.nodeName.toLowerCase()===a?d:!1}else{for(;e<k;e++)(d=c[e])&&(c[e]=b?d.parentNode:d.parentNode===a);b&&r.filter(a,c,!0)}},"":function(d,
-b,e){var k,f=h++,g=a;typeof b==="string"&&!C.test(b)&&(k=b=b.toLowerCase(),g=c);g("parentNode",b,f,d,k,e)},"~":function(d,b,e){var k,f=h++,g=a;typeof b==="string"&&!C.test(b)&&(k=b=b.toLowerCase(),g=c);g("previousSibling",b,f,d,k,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,k=b.length;e<k;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,k){c=" "+c[1].replace(z,"")+" ";if(k)return c;for(var k=0,h;(h=a[k])!=null;k++)h&&(e^(h.className&&(" "+h.className+" ").replace(/[\t\n\r]/g," ").indexOf(c)>=0)?d||b.push(h):d&&(a[k]=!1));return!1},ID:function(c){return c[1].replace(z,"")},TAG:function(c){return c[1].replace(z,"").toLowerCase()},CHILD:function(c){if(c[1]===
-"nth"){c[2]||r.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]&&r.error(c[0]);c[0]=h++;return c},ATTR:function(c,a,d,b,e,k){a=c[1]=c[1].replace(z,"");!k&&o.attrMap[a]&&(c[1]=o.attrMap[a]);c[4]=(c[4]||c[5]||"").replace(z,"");c[2]==="~="&&(c[4]=" "+c[4]+" ");return c},PSEUDO:function(c,a,d,b,h){if(c[1]==="not")if((e.exec(c[3])||"").length>1||
-/^\w/.test(c[3]))c[3]=r(c[3],null,null,a);else return c=r.filter(c[3],a,d,1^h),d||b.push.apply(b,c),!1;else if(o.match.POS.test(c[0])||o.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!!r(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()===
+typeof a==="string",b=d&&!E.test(a),d=d&&!b;b&&(a=a.toLowerCase());for(var b=0,e=c.length,p;b<e;b++)if(p=c[b]){for(;(p=p.previousSibling)&&p.nodeType!==1;);c[b]=d||p&&p.nodeName.toLowerCase()===a?p||!1:p===a}d&&s.filter(a,c,!0)},">":function(c,a){var d,b=typeof a==="string",e=0,p=c.length;if(b&&!E.test(a))for(a=a.toLowerCase();e<p;e++){if(d=c[e])d=d.parentNode,c[e]=d.nodeName.toLowerCase()===a?d:!1}else{for(;e<p;e++)(d=c[e])&&(c[e]=b?d.parentNode:d.parentNode===a);b&&s.filter(a,c,!0)}},"":function(d,
+b,e){var n,g=h++,f=a;typeof b==="string"&&!E.test(b)&&(n=b=b.toLowerCase(),f=c);f("parentNode",b,g,d,n,e)},"~":function(d,b,e){var n,g=h++,f=a;typeof b==="string"&&!E.test(b)&&(n=b=b.toLowerCase(),f=c);f("previousSibling",b,g,d,n,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,p=b.length;e<p;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,p){c=" "+c[1].replace(z,"")+" ";if(p)return c;for(var p=0,n;(n=a[p])!=null;p++)n&&(e^(n.className&&(" "+n.className+" ").replace(/[\t\n\r]/g," ").indexOf(c)>=0)?d||b.push(n):d&&(a[p]=!1));return!1},ID:function(c){return c[1].replace(z,"")},TAG:function(c){return c[1].replace(z,"").toLowerCase()},CHILD:function(c){if(c[1]===
+"nth"){c[2]||s.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]&&s.error(c[0]);c[0]=h++;return c},ATTR:function(c,a,d,b,e,p){a=c[1]=c[1].replace(z,"");!p&&o.attrMap[a]&&(c[1]=o.attrMap[a]);c[4]=(c[4]||c[5]||"").replace(z,"");c[2]==="~="&&(c[4]=" "+c[4]+" ");return c},PSEUDO:function(c,a,d,b,p){if(c[1]==="not")if((e.exec(c[3])||"").length>1||
+/^\w/.test(c[3]))c[3]=s(c[3],null,null,a);else return c=s.filter(c[3],a,d,1^p),d||b.push.apply(b,c),!1;else if(o.match.POS.test(c[0])||o.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!!s(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],k=o.filters[e];if(k)return k(c,d,a,b);else if(e==="contains")return(c.textContent||c.innerText||r.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 r.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 k=a[0],h=c.parentNode;if(h&&(h.sizcache!==k||!c.nodeIndex)){for(var s=0,b=h.firstChild;b;b=b.nextSibling)if(b.nodeType===
-1)b.nodeIndex=++s;h.sizcache=k}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=o.attrHandle[d]?o.attrHandle[d](c):c[d]!=null?c[d]:c.getAttribute(d),b=d+"",e=a[2],k=a[4];return d==null?e==="!=":e==="="?b===k:e==="*="?b.indexOf(k)>=
-0:e==="~="?(" "+b+" ").indexOf(k)>=0:!k?b&&d!==!1:e==="!="?b!==k:e==="^="?b.indexOf(k)===0:e==="$="?b.substr(b.length-k.length)===k:e==="|="?b===k||b.substr(0,k.length+1)===k+"-":!1},POS:function(c,a,d,b){var e=o.setFilters[a[2]];if(e)return e(c,d,a,b)}}},j=o.match.POS,R=function(c,a){return"\\"+(a-0+1)},N;for(N in o.match)o.match[N]=RegExp(o.match[N].source+/(?![^\[]*\])(?![^\(]*\))/.source),o.leftMatch[N]=RegExp(/(^(?:.|\r|\n)*?)/.source+o.match[N].source.replace(/\\(\d+)/g,R));var n=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(w.documentElement.childNodes,0)}catch(ja){n=function(c,a){var d=0,b=a||[];if(f.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 l,V;w.documentElement.compareDocumentPosition?l=function(c,a){if(c===a)return g=!0,0;if(!c.compareDocumentPosition||!a.compareDocumentPosition)return c.compareDocumentPosition?
--1:1;return c.compareDocumentPosition(a)&4?-1:1}:(l=function(c,a){if(c===a)return g=!0,0;else if(c.sourceIndex&&a.sourceIndex)return c.sourceIndex-a.sourceIndex;var d,b,e=[],k=[];d=c.parentNode;b=a.parentNode;var h=d;if(d===b)return V(c,a);else if(d){if(!b)return 1}else return-1;for(;h;)e.unshift(h),h=h.parentNode;for(h=b;h;)k.unshift(h),h=h.parentNode;d=e.length;b=k.length;for(h=0;h<d&&h<b;h++)if(e[h]!==k[h])return V(e[h],k[h]);return h===d?V(c,k[h],-1):V(e[h],a,1)},V=function(c,a,d){if(c===a)return d;
-for(c=c.nextSibling;c;){if(c===a)return-1;c=c.nextSibling}return 1});r.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+=r.getText(d.childNodes));return a};(function(){var c=w.createElement("div"),a="script"+(new Date).getTime(),d=w.documentElement;c.innerHTML="<a name='"+a+"'/>";d.insertBefore(c,d.firstChild);if(w.getElementById(a))o.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:[]},o.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=w.createElement("div");c.appendChild(w.createComment(""));if(c.getElementsByTagName("*").length>0)o.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")!=="#")o.attrHandle.href=function(c){return c.getAttribute("href",2)};c=null})();w.querySelectorAll&&function(){var c=r,a=w.createElement("div");a.innerHTML="<p class='TEST'></p>";if(!(a.querySelectorAll&&a.querySelectorAll(".TEST").length===0)){r=function(a,d,b,e){d=d||w;if(!e&&!r.isXML(d)){var k=/^(\w+$)|^\.([\w\-]+$)|^#([\w\-]+$)/.exec(a);
-if(k&&(d.nodeType===1||d.nodeType===9))if(k[1])return n(d.getElementsByTagName(a),b);else if(k[2]&&o.find.CLASS&&d.getElementsByClassName)return n(d.getElementsByClassName(k[2]),b);if(d.nodeType===9){if(a==="body"&&d.body)return n([d.body],b);else if(k&&k[3]){var h=d.getElementById(k[3]);if(h&&h.parentNode){if(h.id===k[3])return n([h],b)}else return n([],b)}try{return n(d.querySelectorAll(a),b)}catch(s){}}else if(d.nodeType===1&&d.nodeName.toLowerCase()!=="object"){var k=d,f=(h=d.getAttribute("id"))||
-"__sizzle__",g=d.parentNode,D=/^\s*[+~]/.test(a);h?f=f.replace(/'/g,"\\$&"):d.setAttribute("id",f);if(D&&g)d=d.parentNode;try{if(!D||g)return n(d.querySelectorAll("[id='"+f+"'] "+a),b)}catch(q){}finally{h||k.removeAttribute("id")}}}return c(a,d,b,e)};for(var d in c)r[d]=c[d];a=null}}();(function(){var c=w.documentElement,a=c.matchesSelector||c.mozMatchesSelector||c.webkitMatchesSelector||c.msMatchesSelector;if(a){var d=!a.call(w.createElement("div"),"div"),b=!1;try{a.call(w.documentElement,"[test!='']:sizzle")}catch(e){b=
-!0}r.matchesSelector=function(c,e){e=e.replace(/\=\s*([^'"\]]*)\s*\]/g,"='$1']");if(!r.isXML(c))try{if(b||!o.match.PSEUDO.test(e)&&!/!=/.test(e)){var k=a.call(c,e);if(k||!d||c.document&&c.document.nodeType!==11)return k}}catch(h){}return r(e,null,null,[c]).length>0}}})();(function(){var c=w.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))o.order.splice(1,0,"CLASS"),o.find.CLASS=function(c,a,d){if(typeof a.getElementsByClassName!=="undefined"&&!d)return a.getElementsByClassName(c[1])},c=null})();r.contains=w.documentElement.contains?function(c,a){return c!==a&&(c.contains?c.contains(a):!0)}:w.documentElement.compareDocumentPosition?function(c,a){return!!(c.compareDocumentPosition(a)&16)}:function(){return!1};r.isXML=function(c){return(c=(c?c.ownerDocument||c:0).documentElement)?c.nodeName!=="HTML":!1};var Y=function(c,a){for(var d,
-b=[],e="",k=a.nodeType?[a]:a;d=o.match.PSEUDO.exec(c);)e+=d[0],c=c.replace(o.match.PSEUDO,"");c=o.relative[c]?c+"*":c;d=0;for(var h=k.length;d<h;d++)r(c,k[d],b);return r.filter(e,b)};d.find=r;d.expr=r.selectors;d.expr[":"]=d.expr.filters;d.unique=r.uniqueSort;d.text=r.getText;d.isXMLDoc=r.isXML;d.contains=r.contains})();var qa=/Until$/,U=/^(?:parents|prevUntil|prevAll)/,va=/,/,Ba=/^.[^:#\[\.,]*$/,h=Array.prototype.slice,r=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),f,g,q;b=0;for(e=this.length;b<e;b++)if(f=h.length,d.find(c,this[b],h),b>0)for(g=f;g<h.length;g++)for(q=0;q<f;q++)if(h[q]===h[g]){h.splice(g--,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(M(this,c,!1),"not",
-c)},filter:function(c){return this.pushStack(M(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,f=this[0];if(d.isArray(c)){var g,q={},z=1;if(f&&c.length){e=0;for(h=c.length;e<h;e++)g=c[e],q[g]||(q[g]=r.test(g)?d(g,a||this.context):g);for(;f&&f.ownerDocument&&f!==a;){for(g in q)e=q[g],(e.jquery?e.index(f)>-1:d(f).is(e))&&b.push({selector:g,elem:f,level:z});f=f.parentNode;z++}}return b}g=r.test(c)||
-typeof c!=="string"?d(c,a||this.context):0;e=0;for(h=this.length;e<h;e++)for(f=this[e];f;)if(g?g.index(f)>-1:d.find.matchesSelector(f,c)){b.push(f);break}else if(f=f.parentNode,!f||!f.ownerDocument||f===a||f.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.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],p=o.filters[e];if(p)return p(c,d,a,b);else if(e==="contains")return(c.textContent||c.innerText||s.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 s.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 p=a[0],n=c.parentNode;if(n&&(n.sizcache!==p||!c.nodeIndex)){for(var h=0,b=n.firstChild;b;b=b.nextSibling)if(b.nodeType===
+1)b.nodeIndex=++h;n.sizcache=p}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=o.attrHandle[d]?o.attrHandle[d](c):c[d]!=null?c[d]:c.getAttribute(d),b=d+"",e=a[2],p=a[4];return d==null?e==="!=":e==="="?b===p:e==="*="?b.indexOf(p)>=
+0:e==="~="?(" "+b+" ").indexOf(p)>=0:!p?b&&d!==!1:e==="!="?b!==p:e==="^="?b.indexOf(p)===0:e==="$="?b.substr(b.length-p.length)===p:e==="|="?b===p||b.substr(0,p.length+1)===p+"-":!1},POS:function(c,a,d,b){var e=o.setFilters[a[2]];if(e)return e(c,d,a,b)}}},R=o.match.POS,j=function(c,a){return"\\"+(a-0+1)},L;for(L in o.match)o.match[L]=RegExp(o.match[L].source+/(?![^\[]*\])(?![^\(]*\))/.source),o.leftMatch[L]=RegExp(/(^(?:.|\r|\n)*?)/.source+o.match[L].source.replace(/\\(\d+)/g,j));var l=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(u.documentElement.childNodes,0)}catch(ba){l=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 X,k;u.documentElement.compareDocumentPosition?X=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}:(X=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=[],p=[];d=c.parentNode;b=a.parentNode;var n=d;if(d===b)return k(c,a);else if(d){if(!b)return 1}else return-1;for(;n;)e.unshift(n),n=n.parentNode;for(n=b;n;)p.unshift(n),n=n.parentNode;d=e.length;b=p.length;for(n=0;n<d&&n<b;n++)if(e[n]!==p[n])return k(e[n],p[n]);return n===d?k(c,p[n],-1):k(e[n],a,1)},k=function(c,a,d){if(c===a)return d;
+for(c=c.nextSibling;c;){if(c===a)return-1;c=c.nextSibling}return 1});s.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+=s.getText(d.childNodes));return a};(function(){var c=u.createElement("div"),a="script"+(new Date).getTime(),d=u.documentElement;c.innerHTML="<a name='"+a+"'/>";d.insertBefore(c,d.firstChild);if(u.getElementById(a))o.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:[]},o.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=u.createElement("div");c.appendChild(u.createComment(""));if(c.getElementsByTagName("*").length>0)o.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")!=="#")o.attrHandle.href=function(c){return c.getAttribute("href",2)};c=null})();u.querySelectorAll&&function(){var c=s,a=u.createElement("div");a.innerHTML="<p class='TEST'></p>";if(!(a.querySelectorAll&&a.querySelectorAll(".TEST").length===0)){s=function(a,d,b,e){d=d||u;if(!e&&!s.isXML(d)){var p=/^(\w+$)|^\.([\w\-]+$)|^#([\w\-]+$)/.exec(a);
+if(p&&(d.nodeType===1||d.nodeType===9))if(p[1])return l(d.getElementsByTagName(a),b);else if(p[2]&&o.find.CLASS&&d.getElementsByClassName)return l(d.getElementsByClassName(p[2]),b);if(d.nodeType===9){if(a==="body"&&d.body)return l([d.body],b);else if(p&&p[3]){var n=d.getElementById(p[3]);if(n&&n.parentNode){if(n.id===p[3])return l([n],b)}else return l([],b)}try{return l(d.querySelectorAll(a),b)}catch(h){}}else if(d.nodeType===1&&d.nodeName.toLowerCase()!=="object"){var p=d,g=(n=d.getAttribute("id"))||
+"__sizzle__",f=d.parentNode,C=/^\s*[+~]/.test(a);n?g=g.replace(/'/g,"\\$&"):d.setAttribute("id",g);if(C&&f)d=d.parentNode;try{if(!C||f)return l(d.querySelectorAll("[id='"+g+"'] "+a),b)}catch(q){}finally{n||p.removeAttribute("id")}}}return c(a,d,b,e)};for(var d in c)s[d]=c[d];a=null}}();(function(){var c=u.documentElement,a=c.matchesSelector||c.mozMatchesSelector||c.webkitMatchesSelector||c.msMatchesSelector;if(a){var d=!a.call(u.createElement("div"),"div"),b=!1;try{a.call(u.documentElement,"[test!='']:sizzle")}catch(e){b=
+!0}s.matchesSelector=function(c,e){e=e.replace(/\=\s*([^'"\]]*)\s*\]/g,"='$1']");if(!s.isXML(c))try{if(b||!o.match.PSEUDO.test(e)&&!/!=/.test(e)){var p=a.call(c,e);if(p||!d||c.document&&c.document.nodeType!==11)return p}}catch(n){}return s(e,null,null,[c]).length>0}}})();(function(){var c=u.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))o.order.splice(1,0,"CLASS"),o.find.CLASS=function(c,a,d){if(typeof a.getElementsByClassName!=="undefined"&&!d)return a.getElementsByClassName(c[1])},c=null})();s.contains=u.documentElement.contains?function(c,a){return c!==a&&(c.contains?c.contains(a):!0)}:u.documentElement.compareDocumentPosition?function(c,a){return!!(c.compareDocumentPosition(a)&16)}:function(){return!1};s.isXML=function(c){return(c=(c?c.ownerDocument||c:0).documentElement)?c.nodeName!=="HTML":!1};var ka=function(c,a){for(var d,
+b=[],e="",p=a.nodeType?[a]:a;d=o.match.PSEUDO.exec(c);)e+=d[0],c=c.replace(o.match.PSEUDO,"");c=o.relative[c]?c+"*":c;d=0;for(var n=p.length;d<n;d++)s(c,p[d],b);return s.filter(e,b)};d.find=s;d.expr=s.selectors;d.expr[":"]=d.expr.filters;d.unique=s.uniqueSort;d.text=s.getText;d.isXMLDoc=s.isXML;d.contains=s.contains})();var ua=/Until$/,U=/^(?:parents|prevUntil|prevAll)/,ya=/,/,Da=/^.[^:#\[\.,]*$/,h=Array.prototype.slice,s=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(M(this,c,!1),"not",
+c)},filter:function(c){return this.pushStack(M(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={},z=1;if(g&&c.length){e=0;for(h=c.length;e<h;e++)f=c[e],q[f]||(q[f]=s.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:z});g=g.parentNode;z++}}return b}f=s.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 f=d.map(this,a,b),g=h.call(arguments);qa.test(c)||(e=b);e&&typeof e==="string"&&(f=d.filter(e,f));f=this.length>1&&!q[c]?d.unique(f):f;if((this.length>1||va.test(e))&&U.test(c))f=f.reverse();return this.pushStack(f,c,g.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 R=/ jQuery\d+="(?:\d+|null)"/g,z=/^\s+/,N=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/ig,ja=/<([\w:]+)/,Ca=/<tbody/i,Y=/<|&#?\w+;/,Ha=/<(?:script|object|embed|option|style)/i,J=/checked\s*(?:[^=]|=\s*.checked.)/i,Aa=/\/(java|ecma)script/i,jb=/^\s*<!(?:\[CDATA\[|\-\-)/,
-ua={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,"",""]};ua.optgroup=ua.option;ua.tbody=ua.tfoot=ua.colgroup=ua.caption=ua.thead;ua.th=ua.td;if(!d.support.htmlSerialize)ua._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||w).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},
+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))&&U.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 R=/ jQuery\d+="(?:\d+|null)"/g,z=/^\s+/,L=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/ig,ba=/<([\w:]+)/,ga=/<tbody/i,ka=/<|&#?\w+;/,ca=/<(?:script|object|embed|option|style)/i,J=/checked\s*(?:[^=]|=\s*.checked.)/i,Ba=/\/(java|ecma)script/i,jb=/^\s*<!(?:\[CDATA\[|\-\-)/,
+oa={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,"",""]};oa.optgroup=oa.option;oa.tbody=oa.tfoot=oa.colgroup=oa.caption=oa.thead;oa.th=oa.td;if(!d.support.htmlSerialize)oa._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||u).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(R,""):null;else if(typeof c==="string"&&!Ha.test(c)&&(d.support.leadingWhitespace||!z.test(c))&&!ua[(ja.exec(c)||["",""])[1].toLowerCase()]){c=c.replace(N,"<$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)?
+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(R,""):null;else if(typeof c==="string"&&!ca.test(c)&&(d.support.leadingWhitespace||!z.test(c))&&!oa[(ba.exec(c)||["",""])[1].toLowerCase()]){c=c.replace(L,"<$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,f,g,q=c[0],r=[];if(!d.support.checkClone&&arguments.length===3&&typeof q==="string"&&J.test(q))return this.each(function(){d(this).domManip(c,a,e,!0)});if(d.isFunction(q))return this.each(function(h){var f=d(this);c[0]=q.call(this,h,a?f.html():b);f.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,r);g=
-h.fragment;if(f=g.childNodes.length===1?g=g.firstChild:g.firstChild){a=a&&d.nodeName(f,"tr");f=0;for(var z=this.length,o=z-1;f<z;f++)e.call(a?d.nodeName(this[f],"table")?this[f].getElementsByTagName("tbody")[0]||this[f].appendChild(this[f].ownerDocument.createElement("tbody")):this[f]:this[f],h.cacheable||z>1&&f<o?d.clone(g,!0,!0):g)}r.length&&d.each(r,I)}return this}});d.buildFragment=function(c,a,b){var e,h,f,a=a&&a[0]?a[0].ownerDocument||a[0]:w;if(c.length===1&&typeof c[0]==="string"&&c[0].length<
-512&&a===w&&c[0].charAt(0)==="<"&&!Ha.test(c[0])&&(d.support.checkClone||!J.test(c[0])))h=!0,(f=d.fragments[c[0]])&&f!==1&&(e=f);e||(e=a.createDocumentFragment(),d.clean(c,a,e,b));h&&(d.fragments[c[0]]=f?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,f=b.length;h<f;h++){var g=(h>0?this.clone(!0):this).get();d(b[h])[a](g);e=e.concat(g)}return this.pushStack(e,c,b.selector)}}});d.extend({clone:function(c,a,b){var e=c.cloneNode(!0),h,f,g;if((!d.support.noCloneEvent||!d.support.noCloneChecked)&&(c.nodeType===1||c.nodeType===11)&&!d.isXMLDoc(c)){x(c,e);h=t(c);f=t(e);for(g=0;h[g];++g)x(h[g],f[g])}if(a&&(E(c,e),b)){h=t(c);f=t(e);for(g=0;h[g];++g)E(h[g],f[g])}return e},clean:function(c,a,b,e){a=
-a||w;typeof a.createElement==="undefined"&&(a=a.ownerDocument||a[0]&&a[0].ownerDocument||w);for(var h=[],f,g=0,q;(q=c[g])!=null;g++)if(typeof q==="number"&&(q+=""),q){if(typeof q==="string")if(Y.test(q)){q=q.replace(N,"<$1></$2>");f=(ja.exec(q)||["",""])[1].toLowerCase();var r=ua[f]||ua._default,o=r[0],C=a.createElement("div");for(C.innerHTML=r[1]+q+r[2];o--;)C=C.lastChild;if(!d.support.tbody){o=Ca.test(q);r=f==="table"&&!o?C.firstChild&&C.firstChild.childNodes:r[1]==="<table>"&&!o?C.childNodes:[];
-for(f=r.length-1;f>=0;--f)d.nodeName(r[f],"tbody")&&!r[f].childNodes.length&&r[f].parentNode.removeChild(r[f])}!d.support.leadingWhitespace&&z.test(q)&&C.insertBefore(a.createTextNode(z.exec(q)[0]),C.firstChild);q=C.childNodes}else q=a.createTextNode(q);var R;if(!d.support.appendChecked)if(q[0]&&typeof(R=q.length)==="number")for(f=0;f<R;f++)X(q[f]);else X(q);q.nodeType?h.push(q):h=d.merge(h,q)}if(b){c=function(c){return!c.type||Aa.test(c.type)};for(g=0;h[g];g++)e&&d.nodeName(h[g],"script")&&(!h[g].type||
-h[g].type.toLowerCase()==="text/javascript")?e.push(h[g].parentNode?h[g].parentNode.removeChild(h[g]):h[g]):(h[g].nodeType===1&&(a=d.grep(h[g].getElementsByTagName("script"),c),h.splice.apply(h,[g+1,0].concat(a))),b.appendChild(h[g]))}return h},cleanData:function(c){for(var a,b,e=d.cache,h=d.expando,f=d.event.special,g=d.support.deleteExpando,q=0,r;(r=c[q])!=null;q++)if(!r.nodeName||!d.noData[r.nodeName.toLowerCase()])if(b=r[d.expando]){if((a=e[b]&&e[b][h])&&a.events){for(var z in a.events)f[z]?d.event.remove(r,
-z):d.removeEvent(r,z,a.handle);if(a.handle)a.handle.elem=null}g?delete r[d.expando]:r.removeAttribute&&r.removeAttribute(d.expando);delete e[b]}}});var za=/alpha\([^)]*\)/i,Ia=/opacity=([^)]*)/,Ja=/-([a-z])/ig,ya=/([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"],Ka,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=Ka(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 f,g=d.camelCase(a),q=c.style,r=d.cssHooks[g],a=d.cssProps[g]||
-g;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[g]&&(e+="px"),!r||!("set"in r)||(e=r.set(c,e))!==b)try{q[a]=e}catch(z){}}else{if(r&&"get"in r&&(f=r.get(c,!1,h))!==b)return f;return q[a]}}},css:function(c,a,e){var h,f,a=d.camelCase(a);f=d.cssHooks[a];a=d.cssProps[a]||a;a==="cssFloat"&&(a="float");if(f&&"get"in f&&(h=f.get(c,!0,e))!==b)return h;else if(Ka)return Ka(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(Ja,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=S(c,a,e):d.swap(c,qb,function(){h=S(c,a,e)});if(h<=0&&(h=Ka(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=za.test(e)?e.replace(za,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?Ka(c,"margin-right","marginRight"):c.style.marginRight});return b}}});w.defaultView&&w.defaultView.getComputedStyle&&(bb=function(c,a){var e,h,a=a.replace(ya,"-$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});w.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});Ka=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={},Da,Ea;try{Da=W.href}catch(Gb){Da=w.createElement("a"),Da.href="",Da=Da.href}Ea=eb.exec(Da.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 f=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 g=this;d.ajax({url:c,type:h,dataType:"html",data:a,complete:function(a,c,b){b=a.responseText;a.isResolved()&&(a.done(function(a){b=a}),g.html(f?d("<div>").append(b.replace(yb,"")).find(f):
-b));e&&g.each(e,[b,c,a])}});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(a,b){var e=d(this).val();return e==null?null:d.isArray(e)?d.map(e,function(a){return{name:b.name,value:a.replace(cb,"\r\n")}}):{name:b.name,value:e.replace(cb,"\r\n")}}).get()}});
-d.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(a,b){d.fn[b]=function(a){return this.bind(b,a)}});d.each(["get","post"],function(a,e){d[e]=function(a,c,h,f){d.isFunction(c)&&(f=f||h,h=c,c=b);return d.ajax({type:e,url:a,data:c,success:h,dataType:f})}});d.extend({getScript:function(a,e){return d.get(a,b,e,"script")},getJSON:function(a,b,e){return d.get(a,b,e,"json")},ajaxSetup:function(a,b){b?d.extend(!0,a,d.ajaxSettings,b):(b=a,a=d.extend(!0,d.ajaxSettings,
-b));for(var e in{context:1,url:1})e in b?a[e]=b[e]:e in d.ajaxSettings&&(a[e]=d.ajaxSettings[e]);return a},ajaxSettings:{url:Da,isLocal:/^(?:about|app|app\-storage|.+\-extension|file|widget):$/.test(Ea[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:y(Ta),ajaxTransport:y(gb),ajax:function(a,e){function h(a,c,e,k){if(Y!==2){Y=2;l&&clearTimeout(l);ja=b;N=k||"";J.readyState=a?4:0;var s,R,j;if(e){var k=f,n=J,V=k.contents,p=k.dataTypes,Ca=k.responseFields,x,u,t,Ha;for(u in Ca)u in e&&(n[Ca[u]]=e[u]);for(;p[0]==="*";)p.shift(),x===b&&(x=k.mimeType||n.getResponseHeader("content-type"));if(x)for(u in V)if(V[u]&&V[u].test(x)){p.unshift(u);
-break}if(p[0]in e)t=p[0];else{for(u in e){if(!p[0]||k.converters[u+" "+p[0]]){t=u;break}Ha||(Ha=u)}t=t||Ha}t?(t!==p[0]&&p.unshift(t),e=e[t]):e=void 0}else e=b;if(a>=200&&a<300||a===304){if(f.ifModified){if(x=J.getResponseHeader("Last-Modified"))d.lastModified[C]=x;if(x=J.getResponseHeader("Etag"))d.etag[C]=x}if(a===304)c="notmodified",s=!0;else try{x=f;x.dataFilter&&(e=x.dataFilter(e,x.dataType));var v=x.dataTypes;u={};var ga,Ja,H=v.length,Ia,y=v[0],Aa,w,ya,F,za;for(ga=1;ga<H;ga++){if(ga===1)for(Ja in x.converters)typeof Ja===
-"string"&&(u[Ja.toLowerCase()]=x.converters[Ja]);Aa=y;y=v[ga];if(y==="*")y=Aa;else if(Aa!=="*"&&Aa!==y){w=Aa+" "+y;ya=u[w]||u["* "+y];if(!ya)for(F in za=b,u)if(Ia=F.split(" "),Ia[0]===Aa||Ia[0]==="*")if(za=u[Ia[1]+" "+y]){F=u[F];F===!0?ya=za:za===!0&&(ya=F);break}!ya&&!za&&d.error("No conversion from "+w.replace(" "," to "));ya!==!0&&(e=ya?ya(e):za(F(e)))}}R=e;c="success";s=!0}catch(I){c="parsererror",j=I}}else if(j=c,!c||a)c="error",a<0&&(a=0);J.status=a;J.statusText=c;s?r.resolveWith(g,[R,c,J]):
-r.rejectWith(g,[J,c,j]);J.statusCode(o);o=b;L&&q.trigger("ajax"+(s?"Success":"Error"),[J,f,s?R:j]);z.resolveWith(g,[J,c]);L&&(q.trigger("ajaxComplete",[J,f]),--d.active||d.event.trigger("ajaxStop"))}}typeof a==="object"&&(e=a,a=b);var e=e||{},f=d.ajaxSetup({},e),g=f.context||f,q=g!==f&&(g.nodeType||g instanceof d)?d(g):d.event,r=d.Deferred(),z=d._Deferred(),o=f.statusCode||{},C,R={},j={},N,n,ja,l,V,Y=0,L,p,J={readyState:0,setRequestHeader:function(a,c){if(!Y){var d=a.toLowerCase(),a=j[d]=j[d]||a;
-R[a]=c}return this},getAllResponseHeaders:function(){return Y===2?N:null},getResponseHeader:function(a){var c;if(Y===2){if(!n)for(n={};c=ub.exec(N);)n[c[1].toLowerCase()]=c[2];c=n[a.toLowerCase()]}return c===b?null:c},overrideMimeType:function(a){if(!Y)f.mimeType=a;return this},abort:function(a){a=a||"abort";ja&&ja.abort(a);h(0,a);return this}};r.promise(J);J.success=J.done;J.error=J.fail;J.complete=z.done;J.statusCode=function(a){if(a){var c;if(Y<2)for(c in a)o[c]=[o[c],a[c]];else c=a[J.status],
-J.then(c,c)}return this};f.url=((a||f.url)+"").replace(tb,"").replace(xb,Ea[1]+"//");f.dataTypes=d.trim(f.dataType||"*").toLowerCase().split(Za);if(f.crossDomain==null)V=eb.exec(f.url.toLowerCase()),f.crossDomain=!(!V||!(V[1]!=Ea[1]||V[2]!=Ea[2]||(V[3]||(V[1]==="http:"?80:443))!=(Ea[3]||(Ea[1]==="http:"?80:443))));if(f.data&&f.processData&&typeof f.data!=="string")f.data=d.param(f.data,f.traditional);K(Ta,f,e,J);if(Y===2)return!1;L=f.global;f.type=f.type.toUpperCase();f.hasContent=!wb.test(f.type);
-L&&d.active++===0&&d.event.trigger("ajaxStart");if(!f.hasContent&&(f.data&&(f.url+=(db.test(f.url)?"&":"?")+f.data),C=f.url,f.cache===!1)){V=d.now();var Ca=f.url.replace(Ab,"$1_="+V);f.url=Ca+(Ca===f.url?(db.test(f.url)?"&":"?")+"_="+V:"")}(f.data&&f.hasContent&&f.contentType!==!1||e.contentType)&&J.setRequestHeader("Content-Type",f.contentType);f.ifModified&&(C=C||f.url,d.lastModified[C]&&J.setRequestHeader("If-Modified-Since",d.lastModified[C]),d.etag[C]&&J.setRequestHeader("If-None-Match",d.etag[C]));
-J.setRequestHeader("Accept",f.dataTypes[0]&&f.accepts[f.dataTypes[0]]?f.accepts[f.dataTypes[0]]+(f.dataTypes[0]!=="*"?", */*; q=0.01":""):f.accepts["*"]);for(p in f.headers)J.setRequestHeader(p,f.headers[p]);if(f.beforeSend&&(f.beforeSend.call(g,J,f)===!1||Y===2))return J.abort(),!1;for(p in{success:1,error:1,complete:1})J[p](f[p]);if(ja=K(gb,f,e,J)){J.readyState=1;L&&q.trigger("ajaxSend",[J,f]);f.async&&f.timeout>0&&(l=setTimeout(function(){J.abort("timeout")},f.timeout));try{Y=1,ja.send(R,h)}catch(x){status<
-2?h(-1,x):d.error(x)}}else h(-1,"No Transport");return J},param:function(a,e){var h=[],f=function(a,c){c=d.isFunction(c)?c():c;h[h.length]=encodeURIComponent(a)+"="+encodeURIComponent(c)};if(e===b)e=d.ajaxSettings.traditional;if(d.isArray(a)||a.jquery&&!d.isPlainObject(a))d.each(a,function(){f(this.name,this.value)});else for(var g in a)O(g,a[g],e,f);return h.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,f=c.jsonpCallback=d.isFunction(c.jsonpCallback)?c.jsonpCallback():c.jsonpCallback,g=a[f],q=c.url,r=c.data,z="$1"+f+"$2";c.jsonp!==!1&&(q=q.replace(Sa,z),c.url===q&&(b&&(r=r.replace(Sa,z)),c.data===r&&(q+=(/\?/.test(q)?"&":"?")+c.jsonp+
-"="+f)));c.url=q;c.data=r;a[f]=function(a){h=[a]};e.always(function(){a[f]=g;if(h&&d.isFunction(g))a[f](h[0])});c.converters["script json"]=function(){h||d.error(f+" 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(a){d.globalEval(a);return a}}});d.ajaxPrefilter("script",function(a){if(a.cache===
-b)a.cache=!1;if(a.crossDomain)a.type="GET",a.global=!1});d.ajaxTransport("script",function(a){if(a.crossDomain){var d,e=w.head||w.getElementsByTagName("head")[0]||w.documentElement;return{send:function(h,f){d=w.createElement("script");d.async="async";if(a.scriptCharset)d.charset=a.scriptCharset;d.src=a.url;d.onload=d.onreadystatechange=function(a,c){if(c||!d.readyState||/loaded|complete/.test(d.readyState))d.onload=d.onreadystatechange=null,e&&d.parentNode&&e.removeChild(d),d=b,c||f(200,"success")};
-e.insertBefore(d,e.firstChild)},abort:function(){if(d)d.onload(0,1)}}}});var Xa=a.ActiveXObject?function(){for(var a in La)La[a](0,1)}:!1,Cb=0,La;d.ajaxSettings.xhr=a.ActiveXObject?function(){var c;if(!(c=!this.isLocal&&T()))a:{try{c=new a.ActiveXObject("Microsoft.XMLHTTP");break a}catch(d){}c=void 0}return c}:T;(function(a){d.extend(d.support,{ajax:!!a,cors:!!a&&"withCredentials"in a})})(d.ajaxSettings.xhr());d.support.ajax&&d.ajaxTransport(function(c){if(!c.crossDomain||d.support.cors){var e;return{send:function(h,
-f){var g=c.xhr(),q,r;c.username?g.open(c.type,c.url,c.async,c.username,c.password):g.open(c.type,c.url,c.async);if(c.xhrFields)for(r in c.xhrFields)g[r]=c.xhrFields[r];c.mimeType&&g.overrideMimeType&&g.overrideMimeType(c.mimeType);!c.crossDomain&&!h["X-Requested-With"]&&(h["X-Requested-With"]="XMLHttpRequest");try{for(r in h)g.setRequestHeader(r,h[r])}catch(z){}g.send(c.hasContent&&c.data||null);e=function(a,h){var k,r,z,o,C;try{if(e&&(h||g.readyState===4)){e=b;if(q)g.onreadystatechange=d.noop,Xa&&
-delete La[q];if(h)g.readyState!==4&&g.abort();else{k=g.status;z=g.getAllResponseHeaders();o={};if((C=g.responseXML)&&C.documentElement)o.xml=C;o.text=g.responseText;try{r=g.statusText}catch(R){r=""}!k&&c.isLocal&&!c.crossDomain?k=o.text?200:404:k===1223&&(k=204)}}}catch(j){h||f(-1,j)}o&&f(k,r,o,z)};!c.async||g.readyState===4?e():(q=++Cb,Xa&&(La||(La={},d(a).unload(Xa)),La[q]=e),g.onreadystatechange=e)},abort:function(){e&&e(0,1)}}}});var Ua={},xa,Na,Db=/^(?:toggle|show|hide)$/,Eb=/^([+\-]=)?([\d+.\-]+)([a-z%]*)$/i,
-Ma,$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(a,b,e){if(a||a===0)return this.animate(ba("show",3),a,b,e);else{for(var e=0,h=this.length;e<h;e++)if(a=this[e],a.style){b=a.style.display;if(!d._data(a,"olddisplay")&&b==="none")b=a.style.display="";b===""&&d.css(a,"display")==="none"&&
-d._data(a,"olddisplay",ka(a.nodeName))}for(e=0;e<h;e++)if(a=this[e],a.style&&(b=a.style.display,b===""||b==="none"))a.style.display=d._data(a,"olddisplay")||"";return this}},hide:function(a,b,e){if(a||a===0)return this.animate(ba("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(ba("toggle",3),a,b,e);return this},fadeTo:function(a,d,b,e){return this.filter(":hidden").css("opacity",0).show().end().animate({opacity:d},a,b,e)},animate:function(a,b,e,h){var f=d.speed(b,e,h);if(d.isEmptyObject(a))return this.each(f.complete,[!1]);a=d.extend({},a);return this[f.queue===!1?"each":
-"queue"](function(){var c;f.queue===!1&&d._mark(this);var b=d.extend({},f),e=this.nodeType===1,h=e&&d(this).is(":hidden"),g,k,q,r,z;b.animatedProperties={};for(q in a){g=d.camelCase(q);q!==g&&(a[g]=a[q],delete a[q]);k=a[g];d.isArray(k)?(b.animatedProperties[g]=k[1],c=a[g]=k[0],k=c):b.animatedProperties[g]=b.specialEasing&&b.specialEasing[g]||b.easing||"swing";if(k==="hide"&&h||k==="show"&&!h)return b.complete.call(this);if(e&&(g==="height"||g==="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?(k=ka(this.nodeName),k==="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),k=a[q],Db.test(k))e[k==="toggle"?h?"show":"hide":k]();else g=Eb.exec(k),r=e.cur(),g?(k=parseFloat(g[2]),z=g[3]||(d.cssNumber[q]?"":"px"),z!=="px"&&(d.style(this,
-q,(k||1)+z),r*=(k||1)/e.cur(),d.style(this,q,r+z)),g[1]&&(k=(g[1]==="-="?-1:1)*k+r),e.custom(r,k,z)):e.custom(r,k,"");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:ba("show",1),slideUp:ba("hide",1),slideToggle:ba("toggle",1),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(a,b){d.fn[a]=
+c):this},detach:function(c){return this.remove(c,!0)},domManip:function(c,a,e){var h,g,f,q=c[0],s=[];if(!d.support.checkClone&&arguments.length===3&&typeof q==="string"&&J.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,s);f=
+h.fragment;if(g=f.childNodes.length===1?f=f.firstChild:f.firstChild){a=a&&d.nodeName(g,"tr");g=0;for(var z=this.length,o=z-1;g<z;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||z>1&&g<o?d.clone(f,!0,!0):f)}s.length&&d.each(s,H)}return this}});d.buildFragment=function(c,a,b){var e,h,g,a=a&&a[0]?a[0].ownerDocument||a[0]:u;if(c.length===1&&typeof c[0]==="string"&&c[0].length<
+512&&a===u&&c[0].charAt(0)==="<"&&!ca.test(c[0])&&(d.support.checkClone||!J.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)){r(c,e);h=t(c);g=t(e);for(f=0;h[f];++f)r(h[f],g[f])}if(a&&(G(c,e),b)){h=t(c);g=t(e);for(f=0;h[f];++f)G(h[f],g[f])}return e},clean:function(c,a,b,e){a=
+a||u;typeof a.createElement==="undefined"&&(a=a.ownerDocument||a[0]&&a[0].ownerDocument||u);for(var h=[],g,f=0,q;(q=c[f])!=null;f++)if(typeof q==="number"&&(q+=""),q){if(typeof q==="string")if(ka.test(q)){q=q.replace(L,"<$1></$2>");g=(ba.exec(q)||["",""])[1].toLowerCase();var s=oa[g]||oa._default,o=s[0],E=a.createElement("div");for(E.innerHTML=s[1]+q+s[2];o--;)E=E.lastChild;if(!d.support.tbody){o=ga.test(q);s=g==="table"&&!o?E.firstChild&&E.firstChild.childNodes:s[1]==="<table>"&&!o?E.childNodes:
+[];for(g=s.length-1;g>=0;--g)d.nodeName(s[g],"tbody")&&!s[g].childNodes.length&&s[g].parentNode.removeChild(s[g])}!d.support.leadingWhitespace&&z.test(q)&&E.insertBefore(a.createTextNode(z.exec(q)[0]),E.firstChild);q=E.childNodes}else q=a.createTextNode(q);var R;if(!d.support.appendChecked)if(q[0]&&typeof(R=q.length)==="number")for(g=0;g<R;g++)V(q[g]);else V(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,s;(s=c[q])!=null;q++)if(!s.nodeName||!d.noData[s.nodeName.toLowerCase()])if(b=s[d.expando]){if((a=e[b]&&e[b][h])&&a.events){for(var z in a.events)g[z]?d.event.remove(s,
+z):d.removeEvent(s,z,a.handle);if(a.handle)a.handle.elem=null}f?delete s[d.expando]:s.removeAttribute&&s.removeAttribute(d.expando);delete e[b]}}});var Ca=/alpha\([^)]*\)/i,Wa=/opacity=([^)]*)/,la=/-([a-z])/ig,Na=/([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"],Ia,bb,Qa,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=Ia(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,s=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"),!s||!("set"in s)||(e=s.set(c,e))!==b)try{q[a]=e}catch(z){}}else{if(s&&"get"in s&&(g=s.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(Ia)return Ia(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(la,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=S(c,a,e):d.swap(c,qb,function(){h=S(c,a,e)});if(h<=0&&(h=Ia(c,a,a),h==="0px"&&Qa&&(h=Qa(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 Wa.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?Ia(c,"margin-right","marginRight"):c.style.marginRight});return b}}});u.defaultView&&u.defaultView.getComputedStyle&&(bb=function(c,a){var e,h,a=a.replace(Na,"-$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});u.documentElement.currentStyle&&(Qa=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});Ia=bb||Qa;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,Sa={},gb={},Ea,Fa;try{Ea=W.href}catch(Gb){Ea=u.createElement("a"),Ea.href="",Ea=Ea.href}Fa=eb.exec(Ea.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:Ea,isLocal:/^(?:about|app|app\-storage|.+\-extension|file|widget):$/.test(Fa[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:y(Sa),ajaxTransport:y(gb),ajax:function(c,a){function e(c,a,n,p){if(k!==2){k=2;X&&clearTimeout(X);l=b;j=p||"";J.readyState=c?4:0;var E,R,L;if(n){var p=h,ba=J,K=p.contents,ga=p.dataTypes,w=p.responseFields,ca,t,r,v;for(t in w)t in n&&(ba[w[t]]=n[t]);for(;ga[0]==="*";)ga.shift(),ca===b&&(ca=p.mimeType||ba.getResponseHeader("content-type"));if(ca)for(t in K)if(K[t]&&K[t].test(ca)){ga.unshift(t);
+break}if(ga[0]in n)r=ga[0];else{for(t in n){if(!ga[0]||p.converters[t+" "+ga[0]]){r=t;break}v||(v=t)}r=r||v}r?(r!==ga[0]&&ga.unshift(r),n=n[r]):n=void 0}else n=b;if(c>=200&&c<300||c===304){if(h.ifModified){if(ca=J.getResponseHeader("Last-Modified"))d.lastModified[o]=ca;if(ca=J.getResponseHeader("Etag"))d.etag[o]=ca}if(c===304)a="notmodified",E=!0;else try{ca=h;ca.dataFilter&&(n=ca.dataFilter(n,ca.dataType));var sa=ca.dataTypes;t={};var la,A,Wa=sa.length,y,Ba=sa[0],u,Na,F,Ca,H;for(la=1;la<Wa;la++){if(la===
+1)for(A in ca.converters)typeof A==="string"&&(t[A.toLowerCase()]=ca.converters[A]);u=Ba;Ba=sa[la];if(Ba==="*")Ba=u;else if(u!=="*"&&u!==Ba){Na=u+" "+Ba;F=t[Na]||t["* "+Ba];if(!F)for(Ca in H=b,t)if(y=Ca.split(" "),y[0]===u||y[0]==="*")if(H=t[y[1]+" "+Ba]){Ca=t[Ca];Ca===!0?F=H:H===!0&&(F=Ca);break}!F&&!H&&d.error("No conversion from "+Na.replace(" "," to "));F!==!0&&(n=F?F(n):H(Ca(n)))}}R=n;a="success";E=!0}catch(oa){a="parsererror",L=oa}}else if(L=a,!a||c)a="error",c<0&&(c=0);J.status=c;J.statusText=
+a;E?q.resolveWith(g,[R,a,J]):q.rejectWith(g,[J,a,L]);J.statusCode(z);z=b;ka&&f.trigger("ajax"+(E?"Success":"Error"),[J,h,E?R:L]);s.resolveWith(g,[J,a]);ka&&(f.trigger("ajaxComplete",[J,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(),s=d._Deferred(),z=h.statusCode||{},o,E={},R={},j,L,l,X,ba,k=0,ka,K,J={readyState:0,setRequestHeader:function(c,a){if(!k){var d=
+c.toLowerCase(),c=R[d]=R[d]||c;E[c]=a}return this},getAllResponseHeaders:function(){return k===2?j:null},getResponseHeader:function(c){var a;if(k===2){if(!L)for(L={};a=ub.exec(j);)L[a[1].toLowerCase()]=a[2];a=L[c.toLowerCase()]}return a===b?null:a},overrideMimeType:function(c){if(!k)h.mimeType=c;return this},abort:function(c){c=c||"abort";l&&l.abort(c);e(0,c);return this}};q.promise(J);J.success=J.done;J.error=J.fail;J.complete=s.done;J.statusCode=function(c){if(c){var a;if(k<2)for(a in c)z[a]=[z[a],
+c[a]];else a=c[J.status],J.then(a,a)}return this};h.url=((c||h.url)+"").replace(tb,"").replace(xb,Fa[1]+"//");h.dataTypes=d.trim(h.dataType||"*").toLowerCase().split(Za);if(h.crossDomain==null)ba=eb.exec(h.url.toLowerCase()),h.crossDomain=!(!ba||!(ba[1]!=Fa[1]||ba[2]!=Fa[2]||(ba[3]||(ba[1]==="http:"?80:443))!=(Fa[3]||(Fa[1]==="http:"?80:443))));if(h.data&&h.processData&&typeof h.data!=="string")h.data=d.param(h.data,h.traditional);N(Sa,h,a,J);if(k===2)return!1;ka=h.global;h.type=h.type.toUpperCase();
+h.hasContent=!wb.test(h.type);ka&&d.active++===0&&d.event.trigger("ajaxStart");if(!h.hasContent&&(h.data&&(h.url+=(db.test(h.url)?"&":"?")+h.data),o=h.url,h.cache===!1)){ba=d.now();var ga=h.url.replace(Ab,"$1_="+ba);h.url=ga+(ga===h.url?(db.test(h.url)?"&":"?")+"_="+ba:"")}(h.data&&h.hasContent&&h.contentType!==!1||a.contentType)&&J.setRequestHeader("Content-Type",h.contentType);h.ifModified&&(o=o||h.url,d.lastModified[o]&&J.setRequestHeader("If-Modified-Since",d.lastModified[o]),d.etag[o]&&J.setRequestHeader("If-None-Match",
+d.etag[o]));J.setRequestHeader("Accept",h.dataTypes[0]&&h.accepts[h.dataTypes[0]]?h.accepts[h.dataTypes[0]]+(h.dataTypes[0]!=="*"?", */*; q=0.01":""):h.accepts["*"]);for(K in h.headers)J.setRequestHeader(K,h.headers[K]);if(h.beforeSend&&(h.beforeSend.call(g,J,h)===!1||k===2))return J.abort(),!1;for(K in{success:1,error:1,complete:1})J[K](h[K]);if(l=N(gb,h,a,J)){J.readyState=1;ka&&f.trigger("ajaxSend",[J,h]);h.async&&h.timeout>0&&(X=setTimeout(function(){J.abort("timeout")},h.timeout));try{k=1,l.send(E,
+e)}catch(w){status<2?e(-1,w):d.error(w)}}else e(-1,"No Transport");return J},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)O(g,c[g],a,h);return e.join("&").replace(sb,"+")}});d.extend({active:0,lastModified:{},etag:{}});var Bb=d.now(),Ra=/(\=)\?(&|$)|\?\?/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&&(Ra.test(c.url)||b&&Ra.test(c.data))){var h,g=c.jsonpCallback=d.isFunction(c.jsonpCallback)?c.jsonpCallback():c.jsonpCallback,f=a[g],q=c.url,s=c.data,z="$1"+g+"$2";c.jsonp!==!1&&(q=q.replace(Ra,z),c.url===q&&(b&&(s=s.replace(Ra,z)),c.data===s&&(q+=(/\?/.test(q)?"&":"?")+c.jsonp+
+"="+g)));c.url=q;c.data=s;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=u.head||u.getElementsByTagName("head")[0]||u.documentElement;return{send:function(e,h){a=u.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 a in Ja)Ja[a](0,1)}:!1,Cb=0,Ja;d.ajaxSettings.xhr=a.ActiveXObject?function(){var c;if(!(c=!this.isLocal&&T()))a:{try{c=new a.ActiveXObject("Microsoft.XMLHTTP");break a}catch(d){}c=void 0}return c}:T;(function(a){d.extend(d.support,{ajax:!!a,cors:!!a&&"withCredentials"in a})})(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,s;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(s in c.xhrFields)f[s]=c.xhrFields[s];c.mimeType&&f.overrideMimeType&&f.overrideMimeType(c.mimeType);!c.crossDomain&&!h["X-Requested-With"]&&(h["X-Requested-With"]="XMLHttpRequest");try{for(s in h)f.setRequestHeader(s,h[s])}catch(z){}f.send(c.hasContent&&c.data||null);e=function(a,h){var n,s,z,o,E;try{if(e&&(h||f.readyState===4)){e=b;if(q)f.onreadystatechange=d.noop,Xa&&
+delete Ja[q];if(h)f.readyState!==4&&f.abort();else{n=f.status;z=f.getAllResponseHeaders();o={};if((E=f.responseXML)&&E.documentElement)o.xml=E;o.text=f.responseText;try{s=f.statusText}catch(R){s=""}!n&&c.isLocal&&!c.crossDomain?n=o.text?200:404:n===1223&&(n=204)}}}catch(j){h||g(-1,j)}o&&g(n,s,o,z)};!c.async||f.readyState===4?e():(q=++Cb,Xa&&(Ja||(Ja={},d(a).unload(Xa)),Ja[q]=e),f.onreadystatechange=e)},abort:function(){e&&e(0,1)}}}});var Ta={},Aa,La,Db=/^(?:toggle|show|hide)$/,Eb=/^([+\-]=)?([\d+.\-]+)([a-z%]*)$/i,
+Ka,$a=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],["opacity"]],Oa,Ya=a.webkitRequestAnimationFrame||a.mozRequestAnimationFrame||a.oRequestAnimationFrame;d.fn.extend({show:function(a,b,e){if(a||a===0)return this.animate(aa("show",3),a,b,e);else{for(var e=0,h=this.length;e<h;e++)if(a=this[e],a.style){b=a.style.display;if(!d._data(a,"olddisplay")&&b==="none")b=a.style.display="";b===""&&d.css(a,"display")==="none"&&
+d._data(a,"olddisplay",ma(a.nodeName))}for(e=0;e<h;e++)if(a=this[e],a.style&&(b=a.style.display,b===""||b==="none"))a.style.display=d._data(a,"olddisplay")||"";return this}},hide:function(a,b,e){if(a||a===0)return this.animate(aa("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(aa("toggle",3),a,b,e);return this},fadeTo:function(a,d,b,e){return this.filter(":hidden").css("opacity",0).show().end().animate({opacity:d},a,b,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,n,q,p,s;b.animatedProperties={};for(q in a){f=d.camelCase(q);q!==f&&(a[f]=a[q],delete a[q]);n=a[f];d.isArray(n)?(b.animatedProperties[f]=n[1],c=a[f]=n[0],n=c):b.animatedProperties[f]=b.specialEasing&&b.specialEasing[f]||b.easing||"swing";if(n==="hide"&&h||n==="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?(n=ma(this.nodeName),n==="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),n=a[q],Db.test(n))e[n==="toggle"?h?"show":"hide":n]();else f=Eb.exec(n),p=e.cur(),f?(n=parseFloat(f[2]),s=f[3]||(d.cssNumber[q]?"":"px"),s!=="px"&&(d.style(this,
+q,(n||1)+s),p*=(n||1)/e.cur(),d.style(this,q,p+s)),f[1]&&(n=(f[1]==="-="?-1:1)*n+p),e.custom(p,n,s)):e.custom(p,n,"");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:aa("show",1),slideUp:aa("hide",1),slideToggle:aa("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,
d,b,e){return b+e*a},swing:function(a,d,b,e){return(-Math.cos(a*Math.PI)/2+0.5)*e+b}},timers:[],fx:function(a,d,b){this.options=d;this.elem=a;this.prop=b;d.orig=d.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 f.step(a)}var f=this,g=d.fx,q;this.startTime=Pa||aa();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)&&!Ma&&(Ya?(Ma=1,q=function(){Ma&&(Ya(q),g.tick())},Ya(q)):Ma=setInterval(g.tick,g.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||aa(),e=!0,h=this.elem,f=this.options,g;if(a||b>=f.duration+this.startTime){this.now=this.end;this.pos=this.state=1;this.update();f.animatedProperties[this.prop]=!0;for(g in f.animatedProperties)f.animatedProperties[g]!==!0&&(e=!1);if(e){f.overflow!=null&&!d.support.shrinkWrapBlocks&&d.each(["",
-"X","Y"],function(a,c){h.style["overflow"+c]=f.overflow[a]});f.hide&&d(h).hide();if(f.hide||f.show)for(var q in f.animatedProperties)d.style(h,q,f.orig[q]);f.complete.call(h)}return!1}else f.duration==Infinity?this.now=b:(a=b-this.startTime,this.state=a/f.duration,this.pos=d.easing[f.animatedProperties[this.prop]](this.state,a,0,1,f.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(Ma);Ma=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(d){return a===d.elem}).length};var Fb=/^t(?:able|d|h)$/i,
-hb=/^(?:body|html)$/i;d.fn.offset="getBoundingClientRect"in w.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 f=b.ownerDocument,g=f.documentElement;if(!e||!d.contains(g,b))return e?{top:e.top,left:e.left}:{top:0,left:0};b=f.body;f=ra(f);return{top:e.top+(f.pageYOffset||d.support.boxModel&&g.scrollTop||
-b.scrollTop)-(g.clientTop||b.clientTop||0),left:e.left+(f.pageXOffset||d.support.boxModel&&g.scrollLeft||b.scrollLeft)-(g.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,f=b.ownerDocument,g=f.documentElement,q=f.body;e=(f=f.defaultView)?f.getComputedStyle(b,null):b.currentStyle;for(var r=
-b.offsetTop,z=b.offsetLeft;(b=b.parentNode)&&b!==q&&b!==g;){if(d.offset.supportsFixedPosition&&e.position==="fixed")break;e=f?f.getComputedStyle(b,null):b.currentStyle;r-=b.scrollTop;z-=b.scrollLeft;if(b===h){r+=b.offsetTop;z+=b.offsetLeft;if(d.offset.doesNotAddBorder&&(!d.offset.doesAddBorderForTableAndCells||!Fb.test(b.nodeName)))r+=parseFloat(e.borderTopWidth)||0,z+=parseFloat(e.borderLeftWidth)||0;h=b.offsetParent}d.offset.subtractsBorderForOverflowNotVisible&&e.overflow!=="visible"&&(r+=parseFloat(e.borderTopWidth)||
-0,z+=parseFloat(e.borderLeftWidth)||0)}if(e.position==="relative"||e.position==="static")r+=q.offsetTop,z+=q.offsetLeft;d.offset.supportsFixedPosition&&e.position==="fixed"&&(r+=Math.max(g.scrollTop,q.scrollTop),z+=Math.max(g.scrollLeft,q.scrollLeft));return{top:r,left:z}};d.offset={initialize:function(){var a=w.body,b=w.createElement("div"),e,h,f,g=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;f=e.nextSibling.firstChild.firstChild;this.doesNotAddBorder=h.offsetTop!==5;this.doesAddBorderForTableAndCells=f.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!==g;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 f=d(a),g=f.offset(),q=d.css(a,"top"),r=d.css(a,"left"),z={},o={};(h==="absolute"||h==="fixed")&&d.inArray("auto",[q,r])>-1?(o=f.position(),h=o.top,r=o.left):(h=parseFloat(q)||0,r=parseFloat(r)||0);d.isFunction(b)&&(b=b.call(a,e,g));if(b.top!=null)z.top=b.top-g.top+h;if(b.left!=null)z.left=b.left-g.left+r;"using"in b?b.using.call(a,z):f.css(z)}};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||w.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 f,g;if(e===b){f=this[0];if(!f)return null;return(g=ra(f))?"pageXOffset"in g?g[a?"pageYOffset":"pageXOffset"]:d.support.boxModel&&g.document.documentElement[h]||g.document.body[h]:f[h]}return this.each(function(){(g=ra(this))?g.scrollTo(!a?e:d(g).scrollLeft(),a?e:d(g).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 f=c.document.documentElement["client"+e];return c.document.compatMode==="CSS1Compat"&&f||c.document.body["client"+e]||f}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),f=parseFloat(c),d.isNaN(f)?c:f):this.css(h,typeof a==="string"?a:a+"px")}});a.jQuery=a.$=d})(window);document.createElement("canvas").getContext||function(){function a(){return this.context_||(this.context_=new t(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");
+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=Oa||$();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)&&!Ka&&(Ya?(Ka=1,q=function(){Ka&&(Ya(q),f.tick())},Ya(q)):Ka=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=Oa||$(),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(Ka);Ka=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 u.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 s=
+b.offsetTop,z=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;s-=b.scrollTop;z-=b.scrollLeft;if(b===h){s+=b.offsetTop;z+=b.offsetLeft;if(d.offset.doesNotAddBorder&&(!d.offset.doesAddBorderForTableAndCells||!Fb.test(b.nodeName)))s+=parseFloat(e.borderTopWidth)||0,z+=parseFloat(e.borderLeftWidth)||0;h=b.offsetParent}d.offset.subtractsBorderForOverflowNotVisible&&e.overflow!=="visible"&&(s+=parseFloat(e.borderTopWidth)||
+0,z+=parseFloat(e.borderLeftWidth)||0)}if(e.position==="relative"||e.position==="static")s+=q.offsetTop,z+=q.offsetLeft;d.offset.supportsFixedPosition&&e.position==="fixed"&&(s+=Math.max(f.scrollTop,q.scrollTop),z+=Math.max(f.scrollLeft,q.scrollLeft));return{top:s,left:z}};d.offset={initialize:function(){var a=u.body,b=u.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"),s=d.css(a,"left"),z={},o={};(h==="absolute"||h==="fixed")&&d.inArray("auto",[q,s])>-1?(o=g.position(),h=o.top,s=o.left):(h=parseFloat(q)||0,s=parseFloat(s)||0);d.isFunction(b)&&(b=b.call(a,e,f));if(b.top!=null)z.top=b.top-f.top+h;if(b.left!=null)z.left=b.left-f.left+s;"using"in b?b.using.call(a,z):g.css(z)}};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||u.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);document.createElement("canvas").getContext||function(){function a(){return this.context_||(this.context_=new t(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 n(){return[[1,0,0],[0,1,0],[0,0,1]]}function v(a,b){for(var d=n(),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 p(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 G(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 M(a,b,d){return Math.min(d,Math.max(b,a))}function E(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 x(a){if(a in na)return na[a];var b,d=1,a=String(a);if(a.charAt(0)=="#")b=a;else if(/^rgb/.test(a)){d=G(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+=la[M(e,0,255)];d=+d[3]}else if(/^hsl/.test(a)){f=d=G(a);b=parseFloat(f[0])/360%360;b<0&&b++;e=M(parseFloat(f[1])/100,0,1);f=M(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,n=2*f-j;e=E(n,j,b+1/3);f=E(n,j,b);b=E(n,j,b-1/3)}b="#"+
-la[Math.floor(e*255)]+la[Math.floor(f*255)]+la[Math.floor(b*255)];d=d[3]}else b=fa[a]||a;return na[a]={color:b,alpha:d}}function t(a){this.m_=n();this.mStack_=[];this.aStack_=[];this.currentPath_=[];this.fillStyle=this.strokeStyle="#000";this.lineWidth=1;this.lineJoin="miter";this.lineCap="butt";this.miterLimit=Q*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 H(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 X(a,b){var d=x(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="',Ga[a.lineCap]||"square",'"',' weight="',f,'px"',' color="',e,'" />')}function I(a,b,d,e){var f=a.fillStyle,j=a.arcScaleX_,n=a.arcScaleY_,l=e.x-d.x,p=e.y-d.y;if(f instanceof K){var t=0,e={x:0,y:0},v=0,H=1;if(f.type_=="gradient"){var t=f.x1_/j,d=f.y1_/n,y=S(a,f.x0_/j,f.y0_/n),t=S(a,t,d),t=Math.atan2(t.x-y.x,t.y-y.y)*180/Math.PI;t<0&&(t+=360);t<1.0E-6&&(t=0)}else y=S(a,f.x0_,f.y0_),e={x:(y.x-d.x)/l,y:(y.y-d.y)/
-p},l/=j*Q,p/=n*Q,H=aa.max(l,p),v=2*f.r0_/H,H=2*f.r1_/H-v;j=f.colors_;j.sort(function(a,b){return a.offset-b.offset});for(var n=j.length,y=j[0].color,d=j[n-1].color,l=j[0].alpha*a.globalAlpha,a=j[n-1].alpha*a.globalAlpha,p=[],w=0;w<n;w++){var I=j[w];p.push(I.offset*H+v+" "+I.color)}b.push('<g_vml_:fill type="',f.type_,'"',' method="none" focus="100%"',' color="',y,'"',' color2="',d,'"',' colors="',p.join(","),'"',' opacity="',a,'"',' g_o_:opacity2="',l,'"',' angle="',t,'"',' focusposition="',e.x,",",
-e.y,'" />')}else f instanceof O?l&&p&&b.push("<g_vml_:fill",' position="',-d.x/l*j*j,",",-d.y/p*n*n,'"',' type="tile"',' src="',f.src_,'" />'):(f=x(a.fillStyle),b.push('<g_vml_:fill color="',f.color,'" opacity="',f.alpha*a.globalAlpha,'" />'))}function S(a,b,d){a=a.m_;return{x:Q*(b*a[0][0]+d*a[1][0]+a[2][0])-W,y:Q*(b*a[0][1]+d*a[1][1]+a[2][1])-W}}function y(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_=
-w(ra(b[0][0]*b[1][1]-b[0][1]*b[1][0]))}function K(a){this.type_=a;this.r1_=this.y1_=this.x1_=this.r0_=this.y0_=this.x0_=0;this.colors_=[]}function O(a,b){if(!a||a.nodeType!=1||a.tagName!="IMG")throw new T("TYPE_MISMATCH_ERR");if(a.readyState!="complete")throw new T("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 T("SYNTAX_ERR");}this.src_=a.src;this.width_=a.width;
-this.height_=a.height}function T(a){this.code=this[a];this.message=a+": DOM Exception "+this.code}var aa=Math,P=aa.round,ba=aa.sin,ka=aa.cos,ra=aa.abs,w=aa.sqrt,Q=10,W=Q/2;navigator.userAgent.match(/MSIE ([\d.]+)?/);var d=Array.prototype.slice;f(document);var da={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}};da.init();for(var la=[],B=0;B<16;B++)for(var ca=0;ca<16;ca++)la[B*16+ca]=B.toString(16)+ca.toString(16);var fa={aliceblue:"#F0F8FF",antiquewhite:"#FAEBD7",aquamarine:"#7FFFD4",azure:"#F0FFFF",beige:"#F5F5DC",
+"px"}}function k(a){a=a.srcElement;if(a.firstChild)a.firstChild.style.width=a.clientWidth+"px",a.firstChild.style.height=a.clientHeight+"px"}function l(){return[[1,0,0],[0,1,0],[0,0,1]]}function v(a,b){for(var d=l(),e=0;e<3;e++)for(var f=0;f<3;f++){for(var j=0,k=0;k<3;k++)j+=a[e][k]*b[k][f];d[e][f]=j}return d}function B(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 I(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 M(a,b,d){return Math.min(d,Math.max(b,a))}function G(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 r(a){if(a in qa)return qa[a];var b,d=1,a=String(a);if(a.charAt(0)=="#")b=a;else if(/^rgb/.test(a)){d=I(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+=na[M(e,0,255)];d=+d[3]}else if(/^hsl/.test(a)){f=d=I(a);b=parseFloat(f[0])/360%360;b<0&&b++;e=M(parseFloat(f[1])/100,0,1);f=M(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,l=2*f-j;e=G(l,j,b+1/3);f=G(l,j,b);b=G(l,j,b-1/3)}b="#"+
+na[Math.floor(e*255)]+na[Math.floor(f*255)]+na[Math.floor(b*255)];d=d[3]}else b=ha[a]||a;return qa[a]={color:b,alpha:d}}function t(a){this.m_=l();this.mStack_=[];this.aStack_=[];this.currentPath_=[];this.fillStyle=this.strokeStyle="#000";this.lineWidth=1;this.lineJoin="miter";this.lineCap="butt";this.miterLimit=Q*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 A(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 V(a,b){var d=r(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="',Ha[a.lineCap]||"square",'"',' weight="',f,'px"',' color="',e,'" />')}function H(a,b,d,e){var f=a.fillStyle,j=a.arcScaleX_,l=a.arcScaleY_,k=e.x-d.x,t=e.y-d.y;if(f instanceof N){var v=0,e={x:0,y:0},A=0,y=1;if(f.type_=="gradient"){var v=f.x1_/j,d=f.y1_/l,u=S(a,f.x0_/j,f.y0_/l),v=S(a,v,d),v=Math.atan2(v.x-u.x,v.y-u.y)*180/Math.PI;v<0&&(v+=360);v<1.0E-6&&(v=0)}else u=S(a,f.x0_,f.y0_),e={x:(u.x-d.x)/k,y:(u.y-d.y)/
+t},k/=j*Q,t/=l*Q,y=$.max(k,t),A=2*f.r0_/y,y=2*f.r1_/y-A;j=f.colors_;j.sort(function(a,b){return a.offset-b.offset});for(var l=j.length,u=j[0].color,d=j[l-1].color,k=j[0].alpha*a.globalAlpha,a=j[l-1].alpha*a.globalAlpha,t=[],H=0;H<l;H++){var B=j[H];t.push(B.offset*y+A+" "+B.color)}b.push('<g_vml_:fill type="',f.type_,'"',' method="none" focus="100%"',' color="',u,'"',' color2="',d,'"',' colors="',t.join(","),'"',' opacity="',a,'"',' g_o_:opacity2="',k,'"',' angle="',v,'"',' focusposition="',e.x,",",
+e.y,'" />')}else f instanceof O?k&&t&&b.push("<g_vml_:fill",' position="',-d.x/k*j*j,",",-d.y/t*l*l,'"',' type="tile"',' src="',f.src_,'" />'):(f=r(a.fillStyle),b.push('<g_vml_:fill color="',f.color,'" opacity="',f.alpha*a.globalAlpha,'" />'))}function S(a,b,d){a=a.m_;return{x:Q*(b*a[0][0]+d*a[1][0]+a[2][0])-W,y:Q*(b*a[0][1]+d*a[1][1]+a[2][1])-W}}function y(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_=
+u(va(b[0][0]*b[1][1]-b[0][1]*b[1][0]))}function N(a){this.type_=a;this.r1_=this.y1_=this.x1_=this.r0_=this.y0_=this.x0_=0;this.colors_=[]}function O(a,b){if(!a||a.nodeType!=1||a.tagName!="IMG")throw new T("TYPE_MISMATCH_ERR");if(a.readyState!="complete")throw new T("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 T("SYNTAX_ERR");}this.src_=a.src;this.width_=a.width;
+this.height_=a.height}function T(a){this.code=this[a];this.message=a+": DOM Exception "+this.code}var $=Math,P=$.round,aa=$.sin,ma=$.cos,va=$.abs,u=$.sqrt,Q=10,W=Q/2;navigator.userAgent.match(/MSIE ([\d.]+)?/);var d=Array.prototype.slice;f(document);var ea={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",k);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}};ea.init();for(var na=[],D=0;D<16;D++)for(var da=0;da<16;da++)na[D*16+da]=D.toString(16)+da.toString(16);var ha={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"},
-na={},oa={style:"normal",variant:"normal",weight:"normal",size:10,family:"sans-serif"},sa={},Ga={butt:"flat",round:"round"},B=t.prototype;B.clearRect=function(){if(this.textMeasureEl_)this.textMeasureEl_.removeNode(!0),this.textMeasureEl_=null;this.element_.innerHTML=""};B.beginPath=function(){this.currentPath_=[]};B.moveTo=function(a,b){var d=S(this,a,b);this.currentPath_.push({type:"moveTo",x:d.x,y:d.y});this.currentX_=d.x;this.currentY_=d.y};B.lineTo=function(a,b){var d=S(this,a,b);this.currentPath_.push({type:"lineTo",
-x:d.x,y:d.y});this.currentX_=d.x;this.currentY_=d.y};B.bezierCurveTo=function(a,b,d,e,f,j){f=S(this,f,j);a=S(this,a,b);d=S(this,d,e);H(this,a,d,f)};B.quadraticCurveTo=function(a,b,d,e){a=S(this,a,b);d=S(this,d,e);e={x:this.currentX_+2/3*(a.x-this.currentX_),y:this.currentY_+2/3*(a.y-this.currentY_)};H(this,e,{x:e.x+(d.x-this.currentX_)/3,y:e.y+(d.y-this.currentY_)/3},d)};B.arc=function(a,b,d,e,f,j){d*=Q;var n=j?"at":"wa",l=a+ka(e)*d-W,p=b+ba(e)*d-W,e=a+ka(f)*d-W,f=b+ba(f)*d-W;l==e&&!j&&(l+=0.125);
-a=S(this,a,b);l=S(this,l,p);e=S(this,e,f);this.currentPath_.push({type:n,x:a.x,y:a.y,radius:d,xStart:l.x,yStart:l.y,xEnd:e.x,yEnd:e.y})};B.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()};B.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};B.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};B.createLinearGradient=function(a,b,d,e){var f=new K("gradient");f.x0_=a;f.y0_=b;f.x1_=d;f.y1_=e;return f};B.createRadialGradient=function(a,b,d,e,f,j){var n=new K("gradientradial");n.x0_=a;n.y0_=b;n.r0_=d;n.x1_=e;n.y1_=f;n.r1_=j;return n};B.drawImage=function(a){var b,d,e,f,j,n,l,p;e=a.runtimeStyle.width;f=a.runtimeStyle.height;a.runtimeStyle.width="auto";
-a.runtimeStyle.height="auto";var x=a.width,t=a.height;a.runtimeStyle.width=e;a.runtimeStyle.height=f;if(arguments.length==3)b=arguments[1],d=arguments[2],j=n=0,l=e=x,p=f=t;else if(arguments.length==5)b=arguments[1],d=arguments[2],e=arguments[3],f=arguments[4],j=n=0,l=x,p=t;else if(arguments.length==9)j=arguments[1],n=arguments[2],l=arguments[3],p=arguments[4],b=arguments[5],d=arguments[6],e=arguments[7],f=arguments[8];else throw Error("Invalid number of arguments");var v=S(this,b,d),H=[];H.push(" <g_vml_:group",
-' coordsize="',Q*10,",",Q*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 y=[];y.push("M11=",this.m_[0][0],",","M12=",this.m_[1][0],",","M21=",this.m_[0][1],",","M22=",this.m_[1][1],",","Dx=",P(v.x/Q),",","Dy=",P(v.y/Q),"");var w=S(this,b+e,d),I=S(this,b,d+f);b=S(this,b+e,d+f);v.x=aa.max(v.x,w.x,I.x,b.x);v.y=aa.max(v.y,w.y,I.y,b.y);H.push("padding:0 ",P(v.x/Q),"px ",P(v.y/Q),"px 0;filter:progid:DXImageTransform.Microsoft.Matrix(",
-y.join(""),", sizingmethod='clip');")}else H.push("top:",P(v.y/Q),"px;left:",P(v.x/Q),"px;");H.push(' ">','<g_vml_:image src="',a.src,'"',' style="width:',Q*e,"px;"," height:",Q*f,'px"',' cropleft="',j/x,'"',' croptop="',n/t,'"',' cropright="',(x-j-l)/x,'"',' cropbottom="',(t-n-p)/t,'"'," />","</g_vml_:group>");this.element_.insertAdjacentHTML("BeforeEnd",H.join(""))};B.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="',Q*10,",",Q*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 ",P(this.currentPath_[j-1].x),",",P(this.currentPath_[j-1].y));var n=this.currentPath_[j];switch(n.type){case "moveTo":f.push(" m ",P(n.x),",",P(n.y));break;case "lineTo":f.push(" l ",P(n.x),",",P(n.y));break;case "close":f.push(" x ");n=null;break;
-case "bezierCurveTo":f.push(" c ",P(n.cp1x),",",P(n.cp1y),",",P(n.cp2x),",",P(n.cp2y),",",P(n.x),",",P(n.y));break;case "at":case "wa":f.push(" ",n.type," ",P(n.x-this.arcScaleX_*n.radius),",",P(n.y-this.arcScaleY_*n.radius)," ",P(n.x+this.arcScaleX_*n.radius),",",P(n.y+this.arcScaleY_*n.radius)," ",P(n.xStart),",",P(n.yStart)," ",P(n.xEnd),",",P(n.yEnd))}if(n){if(b.x==null||n.x<b.x)b.x=n.x;if(d.x==null||n.x>d.x)d.x=n.x;if(b.y==null||n.y<b.y)b.y=n.y;if(d.y==null||n.y>d.y)d.y=n.y}}f.push(' ">');a?
-I(this,f,b,d):X(this,f);f.push("</g_vml_:shape>");this.element_.insertAdjacentHTML("beforeEnd",f.join(""))}};B.fill=function(){this.stroke(!0)};B.closePath=function(){this.currentPath_.push({type:"close"})};B.save=function(){var a={};p(this,a);this.aStack_.push(a);this.mStack_.push(this.m_);this.m_=v(n(),this.m_)};B.restore=function(){if(this.aStack_.length)p(this.aStack_.pop(),this),this.m_=this.mStack_.pop()};B.translate=function(a,b){y(this,v([[1,0,0],[0,1,0],[a,b,1]],this.m_),!1)};B.rotate=function(a){var b=
-ka(a),a=ba(a);y(this,v([[b,a,0],[-a,b,0],[0,0,1]],this.m_),!1)};B.scale=function(a,b){this.arcScaleX_*=a;this.arcScaleY_*=b;y(this,v([[a,0,0],[0,b,0],[0,0,1]],this.m_),!0)};B.transform=function(a,b,d,e,f,j){y(this,v([[a,b,0],[d,e,0],[f,j,1]],this.m_),!0)};B.setTransform=function(a,b,d,e,f,j){y(this,[[a,b,0],[d,e,0],[f,j,1]],!0)};B.drawText_=function(a,b,d,f,j){var n=this.m_,f=0,l=1E3,p={x:0,y:0},x=[],t;t=this.font;if(sa[t])t=sa[t];else{var v=document.createElement("div").style;try{v.font=t}catch(H){}t=
-sa[t]={style:v.fontStyle||oa.style,variant:v.fontVariant||oa.variant,weight:v.fontWeight||oa.weight,size:v.fontSize||oa.size,family:v.fontFamily||oa.family}}var v=t,y=this.element_;t={};for(var w in v)t[w]=v[w];w=parseFloat(y.currentStyle.fontSize);y=parseFloat(v.size);t.size=typeof v.size=="number"?v.size:v.size.indexOf("px")!=-1?y:v.size.indexOf("em")!=-1?w*y:v.size.indexOf("%")!=-1?w/100*y:v.size.indexOf("pt")!=-1?y/0.75:w;t.size*=0.981;w=t.style+" "+t.variant+" "+t.weight+" "+t.size+"px "+t.family;
-y=this.element_.currentStyle;v=this.textAlign.toLowerCase();switch(v){case "left":case "center":case "right":break;case "end":v=y.direction=="ltr"?"right":"left";break;case "start":v=y.direction=="rtl"?"right":"left";break;default:v="left"}switch(this.textBaseline){case "hanging":case "top":p.y=t.size/1.75;break;case "middle":break;default:case null:case "alphabetic":case "ideographic":case "bottom":p.y=-t.size/2.25}switch(v){case "right":f=1E3;l=0.05;break;case "center":f=l=500}b=S(this,b+p.x,d+
-p.y);x.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?X(this,x):I(this,x,{x:-f,y:0},{x:l,y:t.size});j=n[0][0].toFixed(3)+","+n[1][0].toFixed(3)+","+n[0][1].toFixed(3)+","+n[1][1].toFixed(3)+",0,0";b=P(b.x/Q)+","+P(b.y/Q);x.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:',v,";font:",e(w),'" /></g_vml_:line>');this.element_.insertAdjacentHTML("beforeEnd",x.join(""))};B.fillText=function(a,b,d,e){this.drawText_(a,b,d,e,!1)};B.strokeText=function(a,b,d,e){this.drawText_(a,b,d,e,!0)};B.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}};B.clip=function(){};B.arcTo=function(){};B.createPattern=function(a,b){return new O(a,b)};K.prototype.addColorStop=function(a,b){b=x(b);this.colors_.push({offset:a,color:b.color,alpha:b.alpha})};B=T.prototype=Error();B.INDEX_SIZE_ERR=1;B.DOMSTRING_SIZE_ERR=2;B.HIERARCHY_REQUEST_ERR=3;B.WRONG_DOCUMENT_ERR=4;B.INVALID_CHARACTER_ERR=
-5;B.NO_DATA_ALLOWED_ERR=6;B.NO_MODIFICATION_ALLOWED_ERR=7;B.NOT_FOUND_ERR=8;B.NOT_SUPPORTED_ERR=9;B.INUSE_ATTRIBUTE_ERR=10;B.INVALID_STATE_ERR=11;B.SYNTAX_ERR=12;B.INVALID_MODIFICATION_ERR=13;B.NAMESPACE_ERR=14;B.INVALID_ACCESS_ERR=15;B.VALIDATION_ERR=16;B.TYPE_MISMATCH_ERR=17;G_vmlCanvasManager=da;CanvasRenderingContext2D=t;CanvasGradient=K;CanvasPattern=O;DOMException=T}();(function(a){a.color={};a.color.make=function(b,f,j,l){var n={};n.r=b||0;n.g=f||0;n.b=j||0;n.a=l!=null?l:1;n.add=function(a,b){for(var e=0;e<a.length;++e)n[a.charAt(e)]+=b;return n.normalize()};n.scale=function(a,b){for(var e=0;e<a.length;++e)n[a.charAt(e)]*=b;return n.normalize()};n.toString=function(){return n.a>=1?"rgb("+[n.r,n.g,n.b].join(",")+")":"rgba("+[n.r,n.g,n.b,n.a].join(",")+")"};n.normalize=function(){function a(b,e,f){return e<b?b:e>f?f:e}n.r=a(0,parseInt(n.r),255);n.g=a(0,parseInt(n.g),
-255);n.b=a(0,parseInt(n.b),255);n.a=a(0,n.a,1);return n};n.clone=function(){return a.color.make(n.r,n.b,n.g,n.a)};return n.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),
+qa={},ra={style:"normal",variant:"normal",weight:"normal",size:10,family:"sans-serif"},wa={},Ha={butt:"flat",round:"round"},D=t.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(a,b){var d=S(this,a,b);this.currentPath_.push({type:"moveTo",x:d.x,y:d.y});this.currentX_=d.x;this.currentY_=d.y};D.lineTo=function(a,b){var d=S(this,a,b);this.currentPath_.push({type:"lineTo",
+x:d.x,y:d.y});this.currentX_=d.x;this.currentY_=d.y};D.bezierCurveTo=function(a,b,d,e,f,j){f=S(this,f,j);a=S(this,a,b);d=S(this,d,e);A(this,a,d,f)};D.quadraticCurveTo=function(a,b,d,e){a=S(this,a,b);d=S(this,d,e);e={x:this.currentX_+2/3*(a.x-this.currentX_),y:this.currentY_+2/3*(a.y-this.currentY_)};A(this,e,{x:e.x+(d.x-this.currentX_)/3,y:e.y+(d.y-this.currentY_)/3},d)};D.arc=function(a,b,d,e,f,j){d*=Q;var l=j?"at":"wa",k=a+ma(e)*d-W,t=b+aa(e)*d-W,e=a+ma(f)*d-W,f=b+aa(f)*d-W;k==e&&!j&&(k+=0.125);
+a=S(this,a,b);k=S(this,k,t);e=S(this,e,f);this.currentPath_.push({type:l,x:a.x,y:a.y,radius:d,xStart:k.x,yStart:k.y,xEnd:e.x,yEnd:e.y})};D.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()};D.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};D.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};D.createLinearGradient=function(a,b,d,e){var f=new N("gradient");f.x0_=a;f.y0_=b;f.x1_=d;f.y1_=e;return f};D.createRadialGradient=function(a,b,d,e,f,j){var l=new N("gradientradial");l.x0_=a;l.y0_=b;l.r0_=d;l.x1_=e;l.y1_=f;l.r1_=j;return l};D.drawImage=function(a){var b,d,e,f,j,l,k,t;e=a.runtimeStyle.width;f=a.runtimeStyle.height;a.runtimeStyle.width="auto";
+a.runtimeStyle.height="auto";var v=a.width,r=a.height;a.runtimeStyle.width=e;a.runtimeStyle.height=f;if(arguments.length==3)b=arguments[1],d=arguments[2],j=l=0,k=e=v,t=f=r;else if(arguments.length==5)b=arguments[1],d=arguments[2],e=arguments[3],f=arguments[4],j=l=0,k=v,t=r;else if(arguments.length==9)j=arguments[1],l=arguments[2],k=arguments[3],t=arguments[4],b=arguments[5],d=arguments[6],e=arguments[7],f=arguments[8];else throw Error("Invalid number of arguments");var A=S(this,b,d),u=[];u.push(" <g_vml_:group",
+' coordsize="',Q*10,",",Q*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 y=[];y.push("M11=",this.m_[0][0],",","M12=",this.m_[1][0],",","M21=",this.m_[0][1],",","M22=",this.m_[1][1],",","Dx=",P(A.x/Q),",","Dy=",P(A.y/Q),"");var H=S(this,b+e,d),B=S(this,b,d+f);b=S(this,b+e,d+f);A.x=$.max(A.x,H.x,B.x,b.x);A.y=$.max(A.y,H.y,B.y,b.y);u.push("padding:0 ",P(A.x/Q),"px ",P(A.y/Q),"px 0;filter:progid:DXImageTransform.Microsoft.Matrix(",
+y.join(""),", sizingmethod='clip');")}else u.push("top:",P(A.y/Q),"px;left:",P(A.x/Q),"px;");u.push(' ">','<g_vml_:image src="',a.src,'"',' style="width:',Q*e,"px;"," height:",Q*f,'px"',' cropleft="',j/v,'"',' croptop="',l/r,'"',' cropright="',(v-j-k)/v,'"',' cropbottom="',(r-l-t)/r,'"'," />","</g_vml_:group>");this.element_.insertAdjacentHTML("BeforeEnd",u.join(""))};D.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="',Q*10,",",Q*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 ",P(this.currentPath_[j-1].x),",",P(this.currentPath_[j-1].y));var l=this.currentPath_[j];switch(l.type){case "moveTo":f.push(" m ",P(l.x),",",P(l.y));break;case "lineTo":f.push(" l ",P(l.x),",",P(l.y));break;case "close":f.push(" x ");l=null;break;
+case "bezierCurveTo":f.push(" c ",P(l.cp1x),",",P(l.cp1y),",",P(l.cp2x),",",P(l.cp2y),",",P(l.x),",",P(l.y));break;case "at":case "wa":f.push(" ",l.type," ",P(l.x-this.arcScaleX_*l.radius),",",P(l.y-this.arcScaleY_*l.radius)," ",P(l.x+this.arcScaleX_*l.radius),",",P(l.y+this.arcScaleY_*l.radius)," ",P(l.xStart),",",P(l.yStart)," ",P(l.xEnd),",",P(l.yEnd))}if(l){if(b.x==null||l.x<b.x)b.x=l.x;if(d.x==null||l.x>d.x)d.x=l.x;if(b.y==null||l.y<b.y)b.y=l.y;if(d.y==null||l.y>d.y)d.y=l.y}}f.push(' ">');a?
+H(this,f,b,d):V(this,f);f.push("</g_vml_:shape>");this.element_.insertAdjacentHTML("beforeEnd",f.join(""))}};D.fill=function(){this.stroke(!0)};D.closePath=function(){this.currentPath_.push({type:"close"})};D.save=function(){var a={};B(this,a);this.aStack_.push(a);this.mStack_.push(this.m_);this.m_=v(l(),this.m_)};D.restore=function(){if(this.aStack_.length)B(this.aStack_.pop(),this),this.m_=this.mStack_.pop()};D.translate=function(a,b){y(this,v([[1,0,0],[0,1,0],[a,b,1]],this.m_),!1)};D.rotate=function(a){var b=
+ma(a),a=aa(a);y(this,v([[b,a,0],[-a,b,0],[0,0,1]],this.m_),!1)};D.scale=function(a,b){this.arcScaleX_*=a;this.arcScaleY_*=b;y(this,v([[a,0,0],[0,b,0],[0,0,1]],this.m_),!0)};D.transform=function(a,b,d,e,f,j){y(this,v([[a,b,0],[d,e,0],[f,j,1]],this.m_),!0)};D.setTransform=function(a,b,d,e,f,j){y(this,[[a,b,0],[d,e,0],[f,j,1]],!0)};D.drawText_=function(a,b,d,f,j){var l=this.m_,f=0,k=1E3,t={x:0,y:0},v=[],r;r=this.font;if(wa[r])r=wa[r];else{var A=document.createElement("div").style;try{A.font=r}catch(u){}r=
+wa[r]={style:A.fontStyle||ra.style,variant:A.fontVariant||ra.variant,weight:A.fontWeight||ra.weight,size:A.fontSize||ra.size,family:A.fontFamily||ra.family}}var A=r,y=this.element_;r={};for(var B in A)r[B]=A[B];B=parseFloat(y.currentStyle.fontSize);y=parseFloat(A.size);r.size=typeof A.size=="number"?A.size:A.size.indexOf("px")!=-1?y:A.size.indexOf("em")!=-1?B*y:A.size.indexOf("%")!=-1?B/100*y:A.size.indexOf("pt")!=-1?y/0.75:B;r.size*=0.981;B=r.style+" "+r.variant+" "+r.weight+" "+r.size+"px "+r.family;
+y=this.element_.currentStyle;A=this.textAlign.toLowerCase();switch(A){case "left":case "center":case "right":break;case "end":A=y.direction=="ltr"?"right":"left";break;case "start":A=y.direction=="rtl"?"right":"left";break;default:A="left"}switch(this.textBaseline){case "hanging":case "top":t.y=r.size/1.75;break;case "middle":break;default:case null:case "alphabetic":case "ideographic":case "bottom":t.y=-r.size/2.25}switch(A){case "right":f=1E3;k=0.05;break;case "center":f=k=500}b=S(this,b+t.x,d+
+t.y);v.push('<g_vml_:line from="',-f,' 0" to="',k,' 0.05" ',' coordsize="100 100" coordorigin="0 0"',' filled="',!j,'" stroked="',!!j,'" style="position:absolute;width:1px;height:1px;">');j?V(this,v):H(this,v,{x:-f,y:0},{x:k,y:r.size});j=l[0][0].toFixed(3)+","+l[1][0].toFixed(3)+","+l[0][1].toFixed(3)+","+l[1][1].toFixed(3)+",0,0";b=P(b.x/Q)+","+P(b.y/Q);v.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:',A,";font:",e(B),'" /></g_vml_:line>');this.element_.insertAdjacentHTML("beforeEnd",v.join(""))};D.fillText=function(a,b,d,e){this.drawText_(a,b,d,e,!1)};D.strokeText=function(a,b,d,e){this.drawText_(a,b,d,e,!0)};D.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}};D.clip=function(){};D.arcTo=function(){};D.createPattern=function(a,b){return new O(a,b)};N.prototype.addColorStop=function(a,b){b=r(b);this.colors_.push({offset:a,color:b.color,alpha:b.alpha})};D=T.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=ea;CanvasRenderingContext2D=t;CanvasGradient=N;CanvasPattern=O;DOMException=T}();(function(a){a.color={};a.color.make=function(b,f,j,k){var l={};l.r=b||0;l.g=f||0;l.b=j||0;l.a=k!=null?k:1;l.add=function(a,b){for(var e=0;e<a.length;++e)l[a.charAt(e)]+=b;return l.normalize()};l.scale=function(a,b){for(var e=0;e<a.length;++e)l[a.charAt(e)]*=b;return l.normalize()};l.toString=function(){return l.a>=1?"rgb("+[l.r,l.g,l.b].join(",")+")":"rgba("+[l.r,l.g,l.b,l.a].join(",")+")"};l.normalize=function(){function a(b,e,f){return e<b?b:e>f?f:e}l.r=a(0,parseInt(l.r),255);l.g=a(0,parseInt(l.g),
+255);l.b=a(0,parseInt(l.b),255);l.a=a(0,l.a,1);return l};l.clone=function(){return a.color.make(l.r,l.b,l.g,l.a)};return l.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,
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,n){function v(a,b){for(var b=[U].concat(b),d=0;d<a.length;++d)a[d].apply(this,b)}function p(b){for(var d=[],e=0;e<b.length;++e){var f=a.extend(!0,{},o.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)}L=d;d=L.length;e=[];f=[];for(b=0;b<L.length;++b){var g=L[b].color;g!=null&&(--d,typeof g=="number"?f.push(g):e.push(a.color.parse(L[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=o.colors.length==b?a.color.make(100,100,100):a.color.parse(o.colors[b]),g.scale("rgb",1+(f%2==1?-1:1)*Math.ceil(f/2)*0.2),e.push(g),++b,b>=o.colors.length&&(b=0,++f);for(b=d=0;b<L.length;++b){f=L[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=x(ea,G(f,"x"));f.yaxis=x(ha,G(f,"y"))}t()}function G(a,b){var d=a[b+"axis"];
-if(typeof d=="object")d=d.n;typeof d!="number"&&(d=1);return d}function M(){return a.grep(ea.concat(ha),function(a){return a})}function E(a){var b={},d,e;for(d=0;d<ea.length;++d)(e=ea[d])&&e.used&&(b["x"+e.n]=e.c2p(a.left));for(d=0;d<ha.length;++d)(e=ha[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 x(b,d){b[d-1]||(b[d-1]={n:d,direction:b==ea?"x":"y",options:a.extend(!0,{},b==ea?o.xaxis:o.yaxis)});return b[d-1]}function t(){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,n,o,l,t,J,p,x,u;a.each(M(),function(a,b){b.datamin=d;b.datamax=e;b.used=!1});for(g=0;g<L.length;++g)l=L[g],l.datapoints={points:[]},v(qa.processRawData,[l,l.data,l.datapoints]);for(g=0;g<L.length;++g){l=L[g];var y=l.data,H=l.datapoints.format;if(!H){H=[];H.push({x:!0,number:!0,required:!0});H.push({y:!0,number:!0,required:!0});if(l.bars.show||l.lines.show&&
-l.lines.fill)if(H.push({y:!0,number:!0,required:!1,defaultValue:0}),l.bars.horizontal)delete H[H.length-1].y,H[H.length-1].x=!0;l.datapoints.format=H}if(l.datapoints.pointsize==null){l.datapoints.pointsize=H.length;J=l.datapoints.pointsize;t=l.datapoints.points;insertSteps=l.lines.show&&l.lines.steps;l.xaxis.used=l.yaxis.used=!0;for(j=n=0;j<y.length;++j,n+=J){u=y[j];var w=u==null;if(!w)for(o=0;o<J;++o){p=u[o];if(x=H[o])if(x.number&&p!=null&&(p=+p,isNaN(p)?p=null:p==Infinity?p=f:p==-Infinity&&(p=-f)),
-p==null&&(x.required&&(w=!0),x.defaultValue!=null))p=x.defaultValue;t[n+o]=p}if(w)for(o=0;o<J;++o)p=t[n+o],p!=null&&(x=H[o],x.x&&b(l.xaxis,p,p),x.y&&b(l.yaxis,p,p)),t[n+o]=null;else if(insertSteps&&n>0&&t[n-J]!=null&&t[n-J]!=t[n]&&t[n-J+1]!=t[n+1]){for(o=0;o<J;++o)t[n+J+o]=t[n+o];t[n+1]=t[n-J+1];n+=J}}}}for(g=0;g<L.length;++g)l=L[g],v(qa.processDatapoints,[l,l.datapoints]);for(g=0;g<L.length;++g){l=L[g];t=l.datapoints.points;J=l.datapoints.pointsize;H=l.datapoints.format;u=n=d;w=y=e;for(j=0;j<t.length;j+=
-J)if(t[j]!=null)for(o=0;o<J;++o)if(p=t[j+o],(x=H[o])&&!(p==f||p==-f))x.x&&(p<n&&(n=p),p>y&&(y=p)),x.y&&(p<u&&(u=p),p>w&&(w=p));l.bars.show&&(j=l.bars.align=="left"?0:-l.bars.barWidth/2,l.bars.horizontal?(u+=j,w+=j+l.bars.barWidth):(n+=j,y+=j+l.bars.barWidth));b(l.xaxis,n,y);b(l.yaxis,u,w)}a.each(M(),function(a,b){if(b.datamin==d)b.datamin=null;if(b.datamax==e)b.datamax=null})}function H(d,e){var q=document.createElement("canvas");q.className=e;q.width=$;q.height=ia;d||a(q).css({position:"absolute",
-left:0,top:0});a(q).appendTo(b);q.getContext||(q=window.G_vmlCanvasManager.initElement(q));q.getContext("2d").save();return q}function X(){$=b.width();ia=b.height();if($<=0||ia<=0)throw"Invalid dimensions for plot, width = "+$+", height = "+ia;}function I(a){if(a.width!=$)a.width=$;if(a.height!=ia)a.height=ia;a=a.getContext("2d");a.restore();a.save()}function S(a){function b(a){return a}var d,e,f=a.options.transform||b,g=a.options.inverseTransform;a.direction=="x"?(d=a.scale=ta/Math.abs(f(a.max)-
-f(a.min)),e=Math.min(f(a.max),f(a.min))):(d=a.scale=pa/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 y(b){var d=b.labelWidth,e=b.labelHeight,f=b.options.position,g=b.options.tickLength,j=o.grid.axisMargin,n=o.grid.labelMargin,l=b.direction=="x"?ea:ha,p=a.grep(l,function(a){return a&&a.options.position==f&&a.reserveSpace});a.inArray(b,p)==p.length-
-1&&(j=0);if(g==null)var g=a.grep(l,function(a){return a&&a.reserveSpace}),t=a.inArray(b,g)==0,g=t?"full":5;isNaN(+g)||(n+=+g);b.direction=="x"?(e+=n,f=="bottom"?(F.bottom+=e+j,b.box={top:ia-F.bottom,height:e}):(b.box={top:F.top+j,height:e},F.top+=e+j)):(d+=n,f=="left"?(b.box={left:F.left+j,width:d},F.left+=d+j):(F.right+=d+j,b.box={left:$-F.right,width:d}));b.position=f;b.tickLength=g;b.box.padding=n;b.innermost=t}function K(){var b=o.grid.minBorderMargin,d={x:0,y:0},e;if(b==null)for(e=b=0;e<L.length;++e)b=
-Math.max(b,2*(L[e].points.radius+L[e].points.lineWidth/2));d.x=d.y=Math.ceil(b);a.each(M(),function(a,b){var e=b.direction;b.reserveSpace&&(d[e]=Math.ceil(Math.max(d[e],(e=="x"?b.labelWidth:b.labelHeight)/2)))});F.left=Math.max(d.x,F.left);F.right=Math.max(d.x,F.right);F.top=Math.max(d.y,F.top);F.bottom=Math.max(d.y,F.bottom)}function O(){var d,e=M();d=o.grid.show;for(var g in F)F[g]=d?o.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),f=+(d.max!=null?d.max:b.datamax),h=f-e;if(h==0){if(h=f==0?1:0.01,d.min==null&&(e-=h),d.max==null||d.min!=null)f+=h}else{var g=d.autoscaleMargin;g!=null&&(d.min==null&&(e-=h*g,e<0&&b.datamin!=null&&b.datamin>=0&&(e=0)),d.max==null&&(f+=h*g,f>0&&b.datamax!=null&&b.datamax<=0&&(f=0)))}b.min=e;b.max=f});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){T(d);var e=d.options.ticks,f=[];e==null||typeof e=="number"&&e>0?f=d.tickGenerator(d):e&&(f=a.isFunction(e)?e({min:d.min,max:d.max}):e);var h;d.ticks=[];for(e=0;e<f.length;++e){var g=null,q=f[e];typeof q=="object"?(h=+q[0],q.length>1&&(g=q[1])):h=+q;g==null&&(g=d.tickFormatter(h,d));isNaN(h)||d.ticks.push({v:h,label:g})}f=d.ticks;if(d.options.autoscaleMargin&&f.length>0){if(d.options.min==
-null)d.min=Math.min(d.min,f[0].v);if(d.options.max==null&&f.length>1)d.max=Math.max(d.max,f[f.length-1].v)}d.font=a.extend({},j,d.options.font);f=d.options;e=d.ticks||[];h=f.labelWidth||0;g=f.labelHeight||0;q=d.font;u.save();u.font=q.style+" "+q.variant+" "+q.weight+" "+q.size+"px '"+q.family+"'";for(var r=0;r<e.length;++r){var n=e[r];n.lines=[];n.width=n.height=0;if(n.label){for(var l=n.label.replace(/<br ?\/?>|\r\n|\r/g,"\n").split("\n"),o=0;o<l.length;++o){var p={text:l[o]},t=u.measureText(p.text);
-p.width=t.width;p.height=t.height!=null?t.height:q.size;p.height+=Math.round(q.size*0.15);n.width=Math.max(p.width,n.width);n.height+=p.height;n.lines.push(p)}f.labelWidth==null&&(h=Math.max(h,n.width));f.labelHeight==null&&(g=Math.max(g,n.height))}}u.restore();d.labelWidth=Math.ceil(h);d.labelHeight=Math.ceil(g)});for(d=g.length-1;d>=0;--d)y(g[d]);K();a.each(g,function(a,b){b.direction=="x"?(b.box.left=F.left-b.labelWidth/2,b.box.width=$-F.left-F.right+b.labelWidth):(b.box.top=F.top-b.labelHeight/
-2,b.box.height=ia-F.bottom-F.top+b.labelHeight)})}ta=$-F.left-F.right;pa=ia-F.bottom-F.top;a.each(e,function(a,b){S(b)});da()}function T(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"?$:ia)),g,j,n,l;if(d.mode=="time"){var o={second:1E3,minute:6E4,hour:36E5,day:864E5,month:2592E6,year:525949.2*6E4};l=[[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]*o[d.minTickSize[1]]);for(j=0;j<l.length-1;++j)if(f<(l[j][0]*o[l[j][1]]+l[j+1][0]*o[l[j+1][1]])/2&&l[j][0]*o[l[j][1]]>=g)break;g=l[j][0];n=l[j][1];n=="year"&&(j=Math.pow(10,Math.floor(Math.log(f/o.year)/Math.LN10)),l=f/o.year/j,g=l<1.5?1:l<3?2:l<
-7.5?5:10,g*=j);b.tickSize=d.tickSize||[g,n];j=function(a){var b=[],d=a.tickSize[0],f=a.tickSize[1],h=new Date(a.min),g=d*o[f];f=="second"&&h.setUTCSeconds(e(h.getUTCSeconds(),d));f=="minute"&&h.setUTCMinutes(e(h.getUTCMinutes(),d));f=="hour"&&h.setUTCHours(e(h.getUTCHours(),d));f=="month"&&h.setUTCMonth(e(h.getUTCMonth(),d));f=="year"&&h.setUTCFullYear(e(h.getUTCFullYear(),d));h.setUTCMilliseconds(0);g>=o.minute&&h.setUTCSeconds(0);g>=o.hour&&h.setUTCMinutes(0);g>=o.day&&h.setUTCHours(0);g>=o.day*
-4&&h.setUTCDate(1);g>=o.year&&h.setUTCMonth(0);var q=0,j=Number.NaN,n;do if(n=j,j=h.getTime(),b.push(j),f=="month")if(d<1){h.setUTCDate(1);var r=h.getTime();h.setUTCMonth(h.getUTCMonth()+1);var l=h.getTime();h.setTime(j+q*o.hour+(l-r)*d);q=h.getUTCHours();h.setUTCHours(0)}else h.setUTCMonth(h.getUTCMonth()+d);else f=="year"?h.setUTCFullYear(h.getUTCFullYear()+d):h.setTime(j+g);while(j<a.max&&j!=n);return b};g=function(b,e){var f=new Date(b);if(d.timeformat!=null)return a.plot.formatDate(f,d.timeformat,
-d.monthNames);var h=e.tickSize[0]*o[e.tickSize[1]],g=e.max-e.min,q=d.twelveHourClock?" %p":"";fmt=h<o.minute?"%h:%M:%S"+q:h<o.day?g<2*o.day?"%h:%M"+q:"%b %d %h:%M"+q:h<o.month?"%b %d":h<o.year?g<o.year?"%b":"%b %y":"%y";return a.plot.formatDate(f,fmt,d.monthNames)}}else{n=d.tickDecimals;var p=-Math.floor(Math.log(f)/Math.LN10);n!=null&&p>n&&(p=n);j=Math.pow(10,-p);l=f/j;if(l<1.5)g=1;else if(l<3){if(g=2,l>2.25&&(n==null||p+1<=n))g=2.5,++p}else g=l<7.5?5:10;g*=j;if(d.minTickSize!=null&&g<d.minTickSize)g=
-d.minTickSize;b.tickDecimals=Math.max(0,n!=null?n:p);b.tickSize=d.tickSize||g;j=function(a){var b=[],d=e(a.min,a.tickSize),f=0,h=Number.NaN,g;do g=h,h=d+f*a.tickSize,b.push(h),++f;while(h<a.max&&h!=g);return b};g=function(a,b){return a.toFixed(b.tickDecimals)}}if(d.alignTicksWithAxis!=null){var t=(b.direction=="x"?ea:ha)[d.alignTicksWithAxis-1];if(t&&t.used&&t!=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<t.ticks.length;++e)d=(t.ticks[e].v-t.min)/(t.max-t.min),d=a.min+d*(a.max-a.min),b.push(d);return b};if(b.mode!="time"&&d.tickDecimals==null&&(f=Math.max(0,-Math.floor(Math.log(f)/Math.LN10)+1),l=j(b),!(l.length>1&&/\..*0$/.test((l[1]-l[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 aa(){u.clearRect(0,0,$,ia);var a=o.grid;if(a.show&&a.backgroundColor)u.save(),u.translate(F.left,
-F.top),u.fillStyle=V(o.grid.backgroundColor,pa,0,"rgba(255, 255, 255, 0)"),u.fillRect(0,0,ta,pa),u.restore();a.show&&!a.aboveData&&(ba(),ka());for(var b=0;b<L.length;++b){v(qa.drawSeries,[u,L[b]]);var d=L[b];d.lines.show&&ra(d);d.bars.show&&W(d);d.points.show&&w(d)}v(qa.draw,[u]);a.show&&a.aboveData&&(ba(),ka())}function P(a,b){var d,e,f,g,j=M();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"?ea[0]:ha[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 ba(){var b;u.save();u.translate(F.left,F.top);var d=o.grid.markings;if(d){if(a.isFunction(d)){var e=U.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=P(e,"x"),g=P(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?(u.beginPath(),u.strokeStyle=e.color||o.grid.markingsColor,u.lineWidth=e.lineWidth||o.grid.markingsLineWidth,u.moveTo(f.from,g.from),u.lineTo(f.to,g.to),u.stroke()):
-(u.fillStyle=e.color||o.grid.markingsColor,u.fillRect(f.from,g.to,f.to-f.from,g.from-g.to))}}e=M();d=o.grid.borderWidth;for(f=0;f<e.length;++f){g=e[f];b=g.box;var j=g.tickLength,n,l,p,t;if(g.show&&g.ticks.length!=0){u.strokeStyle=g.options.tickColor||a.color.parse(g.options.color).scale("a",0.22).toString();u.lineWidth=1;g.direction=="x"?(n=0,l=j=="full"?g.position=="top"?0:pa:b.top-F.top+(g.position=="top"?b.height:0)):(l=0,n=j=="full"?g.position=="left"?0:ta:b.left-F.left+(g.position=="left"?b.width:
-0));g.innermost||(u.beginPath(),p=t=0,g.direction=="x"?p=ta:t=pa,u.lineWidth==1&&(n=Math.floor(n)+0.5,l=Math.floor(l)+0.5),u.moveTo(n,l),u.lineTo(n+p,l+t),u.stroke());u.beginPath();for(b=0;b<g.ticks.length;++b){var x=g.ticks[b].v;p=t=0;x<g.min||x>g.max||j=="full"&&d>0&&(x==g.min||x==g.max)||(g.direction=="x"?(n=g.p2c(x),t=j=="full"?-pa:j,g.position=="top"&&(t=-t)):(l=g.p2c(x),p=j=="full"?-ta:j,g.position=="left"&&(p=-p)),u.lineWidth==1&&(g.direction=="x"?n=Math.floor(n)+0.5:l=Math.floor(l)+0.5),u.moveTo(n,
-l),u.lineTo(n+p,l+t))}u.stroke()}}if(d)u.lineWidth=d,u.strokeStyle=o.grid.borderColor,u.strokeRect(-d/2,-d/2,ta+d,pa+d);u.restore()}function ka(){u.save();a.each(M(),function(b,d){if(d.show&&d.ticks.length!=0){var e=d.box,f=d.font;u.fillStyle=d.options.color;u.font=f.style+" "+f.variant+" "+f.weight+" "+f.size+"px '"+f.family+"'";u.textAlign="start";u.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,n,l=0,o,p=0;p<g.lines.length;++p)o=
-g.lines[p],d.direction=="x"?(j=F.left+d.p2c(g.v)-o.width/2,n=d.position=="bottom"?e.top+e.padding:e.top+e.height-e.padding-g.height):(n=F.top+d.p2c(g.v)-g.height/2,j=d.position=="left"?e.left+e.width-e.padding-o.width:e.left+e.padding),n+=o.height/2+l,l+=o.height,a.browser.opera&&(j=Math.floor(j),n=Math.ceil(n-2)),u.fillText(o.text,j,n)}}});u.restore()}function ra(a){function b(a,d,e,f,h){var g=a.points,a=a.pointsize,j=null,n=null;u.beginPath();for(var q=a;q<g.length;q+=a){var l=g[q-a],o=g[q-a+1],
-r=g[q],p=g[q+1];if(!(l==null||r==null)){if(o<=p&&o<h.min){if(p<h.min)continue;l=(h.min-o)/(p-o)*(r-l)+l;o=h.min}else if(p<=o&&p<h.min){if(o<h.min)continue;r=(h.min-o)/(p-o)*(r-l)+l;p=h.min}if(o>=p&&o>h.max){if(p>h.max)continue;l=(h.max-o)/(p-o)*(r-l)+l;o=h.max}else if(p>=o&&p>h.max){if(o>h.max)continue;r=(h.max-o)/(p-o)*(r-l)+l;p=h.max}if(l<=r&&l<f.min){if(r<f.min)continue;o=(f.min-l)/(r-l)*(p-o)+o;l=f.min}else if(r<=l&&r<f.min){if(l<f.min)continue;p=(f.min-l)/(r-l)*(p-o)+o;r=f.min}if(l>=r&&l>f.max){if(r>
-f.max)continue;o=(f.max-l)/(r-l)*(p-o)+o;l=f.max}else if(r>=l&&r>f.max){if(l>f.max)continue;p=(f.max-l)/(r-l)*(p-o)+o;r=f.max}(l!=j||o!=n)&&u.moveTo(f.p2c(l)+d,h.p2c(o)+e);j=r;n=p;u.lineTo(f.p2c(r)+d,h.p2c(p)+e)}}u.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,q=1,n=0,l=0;;){if(a>0&&g>f.length+a)break;g+=a;var o=f[g-a],r=f[g-a+q],p=f[g],t=f[g+q];if(j){if(a>0&&o!=null&&p==null){l=g;a=-a;q=2;continue}if(a<0&&g==n+a){u.fill();j=!1;a=-a;q=1;g=
-n=l+a;continue}}if(!(o==null||p==null)){if(o<=p&&o<b.min){if(p<b.min)continue;r=(b.min-o)/(p-o)*(t-r)+r;o=b.min}else if(p<=o&&p<b.min){if(o<b.min)continue;t=(b.min-o)/(p-o)*(t-r)+r;p=b.min}if(o>=p&&o>b.max){if(p>b.max)continue;r=(b.max-o)/(p-o)*(t-r)+r;o=b.max}else if(p>=o&&p>b.max){if(o>b.max)continue;t=(b.max-o)/(p-o)*(t-r)+r;p=b.max}j||(u.beginPath(),u.moveTo(b.p2c(o),d.p2c(h)),j=!0);if(r>=d.max&&t>=d.max)u.lineTo(b.p2c(o),d.p2c(d.max)),u.lineTo(b.p2c(p),d.p2c(d.max));else if(r<=d.min&&t<=d.min)u.lineTo(b.p2c(o),
-d.p2c(d.min)),u.lineTo(b.p2c(p),d.p2c(d.min));else{var x=o,z=p;if(r<=t&&r<d.min&&t>=d.min)o=(d.min-r)/(t-r)*(p-o)+o,r=d.min;else if(t<=r&&t<d.min&&r>=d.min)p=(d.min-r)/(t-r)*(p-o)+o,t=d.min;if(r>=t&&r>d.max&&t<=d.max)o=(d.max-r)/(t-r)*(p-o)+o,r=d.max;else if(t>=r&&t>d.max&&r<=d.max)p=(d.max-r)/(t-r)*(p-o)+o,t=d.max;o!=x&&u.lineTo(b.p2c(x),d.p2c(r));u.lineTo(b.p2c(o),d.p2c(r));u.lineTo(b.p2c(p),d.p2c(t));p!=z&&(u.lineTo(b.p2c(p),d.p2c(t)),u.lineTo(b.p2c(z),d.p2c(t)))}}}}u.save();u.translate(F.left,
-F.top);u.lineJoin="round";var f=a.lines.lineWidth,g=a.shadowSize;if(f>0&&g>0){u.lineWidth=g;u.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);u.lineWidth=g/2;b(a.datapoints,Math.sin(j)*(f/2+g/4),Math.cos(j)*(f/2+g/4),a.xaxis,a.yaxis)}u.lineWidth=f;u.strokeStyle=a.color;if(g=d(a.lines,a.color,0,pa))u.fillStyle=g,e(a.datapoints,a.xaxis,a.yaxis);f>0&&b(a.datapoints,0,0,a.xaxis,a.yaxis);u.restore()}function w(a){function b(a,d,
-e,f,h,g,j,o){for(var q=a.points,a=a.pointsize,n=0;n<q.length;n+=a){var l=q[n],r=q[n+1];if(!(l==null||l<g.min||l>g.max||r<j.min||r>j.max)){u.beginPath();l=g.p2c(l);r=j.p2c(r)+f;o=="circle"?u.arc(l,r,d,0,h?Math.PI:Math.PI*2,!1):o(u,l,r,d,h);u.closePath();if(e)u.fillStyle=e,u.fill();u.stroke()}}}u.save();u.translate(F.left,F.top);var e=a.points.lineWidth,f=a.shadowSize,g=a.points.radius,j=a.points.symbol;if(e>0&&f>0)f/=2,u.lineWidth=f,u.strokeStyle="rgba(0,0,0,0.1)",b(a.datapoints,g,null,f+f/2,!0,a.xaxis,
-a.yaxis,j),u.strokeStyle="rgba(0,0,0,0.2)",b(a.datapoints,g,null,f/2,!0,a.xaxis,a.yaxis,j);u.lineWidth=e;u.strokeStyle=a.color;b(a.datapoints,g,d(a.points,a.color),0,!1,a.xaxis,a.yaxis,j);u.restore()}function Q(a,b,d,e,f,g,j,o,n,l,p,t){var x,v,u,H;p?(H=v=u=!0,x=!1,p=d,d=b+e,f=b+f,a<p&&(b=a,a=p,p=b,x=!0,v=!1)):(x=v=u=!0,H=!1,p=a+e,a+=f,f=d,d=b,d<f&&(b=d,d=f,f=b,H=!0,u=!1));if(!(a<o.min||p>o.max||d<n.min||f>n.max)){if(p<o.min)p=o.min,x=!1;if(a>o.max)a=o.max,v=!1;if(f<n.min)f=n.min,H=!1;if(d>n.max)d=
-n.max,u=!1;p=o.p2c(p);f=n.p2c(f);a=o.p2c(a);d=n.p2c(d);if(j)l.beginPath(),l.moveTo(p,f),l.lineTo(p,d),l.lineTo(a,d),l.lineTo(a,f),l.fillStyle=j(f,d),l.fill();if(t>0&&(x||v||u||H))l.beginPath(),l.moveTo(p,f+g),x?l.lineTo(p,d+g):l.moveTo(p,d+g),u?l.lineTo(a,d+g):l.moveTo(a,d+g),v?l.lineTo(a,f+g):l.moveTo(a,f+g),H?l.lineTo(p,f+g):l.moveTo(p,f+g),l.stroke()}}function W(a){u.save();u.translate(F.left,F.top);u.lineWidth=a.bars.lineWidth;u.strokeStyle=a.color;var b=a.bars.align=="left"?0:-a.bars.barWidth/
-2;(function(b,d,e,f,g,j,o){for(var n=b.points,b=b.pointsize,l=0;l<n.length;l+=b)n[l]!=null&&Q(n[l],n[l+1],n[l+2],d,e,f,g,j,o,u,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);u.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 da(){b.find(".legend").remove();
-if(o.legend.show){for(var d=[],e=!1,g=o.legend.labelFormatter,j,l,n=0;n<L.length;++n)if(j=L[n],l=j.label)n%o.legend.noColumns==0&&(e&&d.push("</tr>"),d.push("<tr>"),e=!0),g&&(l=g(l,j)),d.push('<td class="legendColorBox"><div style="border:1px solid '+o.legend.labelBoxBorderColor+';padding:1px"><div style="width:4px;height:0;border:5px solid '+j.color+';overflow:hidden"></div></div></td><td class="legendLabel">'+l+"</td>");e&&d.push("</tr>");if(d.length!=0)if(e='<table style="font-size:smaller;color:'+
+(function(a){function b(b,j,k,l){function v(a,b){for(var b=[U].concat(b),d=0;d<a.length;++d)a[d].apply(this,b)}function B(b){for(var d=[],e=0;e<b.length;++e){var f=a.extend(!0,{},o.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)}K=d;d=K.length;e=[];f=[];for(b=0;b<K.length;++b){var g=K[b].color;g!=null&&(--d,typeof g=="number"?f.push(g):e.push(a.color.parse(K[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=o.colors.length==b?a.color.make(100,100,100):a.color.parse(o.colors[b]),g.scale("rgb",1+(f%2==1?-1:1)*Math.ceil(f/2)*0.2),e.push(g),++b,b>=o.colors.length&&(b=0,++f);for(b=d=0;b<K.length;++b){f=K[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=r(fa,I(f,"x"));f.yaxis=r(ia,I(f,"y"))}t()}function I(a,b){var d=a[b+"axis"];
+if(typeof d=="object")d=d.n;typeof d!="number"&&(d=1);return d}function M(){return a.grep(fa.concat(ia),function(a){return a})}function G(a){var b={},d,e;for(d=0;d<fa.length;++d)(e=fa[d])&&e.used&&(b["x"+e.n]=e.c2p(a.left));for(d=0;d<ia.length;++d)(e=ia[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 r(b,d){b[d-1]||(b[d-1]={n:d,direction:b==fa?"x":"y",options:a.extend(!0,{},b==fa?o.xaxis:o.yaxis)});return b[d-1]}function t(){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,l,o,k,t,J,r,A,y;a.each(M(),function(a,b){b.datamin=d;b.datamax=e;b.used=!1});for(g=0;g<K.length;++g)k=K[g],k.datapoints={points:[]},v(ua.processRawData,[k,k.data,k.datapoints]);for(g=0;g<K.length;++g){k=K[g];var w=k.data,u=k.datapoints.format;if(!u){u=[];u.push({x:!0,number:!0,required:!0});u.push({y:!0,number:!0,required:!0});if(k.bars.show||k.lines.show&&
+k.lines.fill)if(u.push({y:!0,number:!0,required:!1,defaultValue:0}),k.bars.horizontal)delete u[u.length-1].y,u[u.length-1].x=!0;k.datapoints.format=u}if(k.datapoints.pointsize==null){k.datapoints.pointsize=u.length;J=k.datapoints.pointsize;t=k.datapoints.points;insertSteps=k.lines.show&&k.lines.steps;k.xaxis.used=k.yaxis.used=!0;for(j=l=0;j<w.length;++j,l+=J){y=w[j];var la=y==null;if(!la)for(o=0;o<J;++o){r=y[o];if(A=u[o])if(A.number&&r!=null&&(r=+r,isNaN(r)?r=null:r==Infinity?r=f:r==-Infinity&&(r=
+-f)),r==null&&(A.required&&(la=!0),A.defaultValue!=null))r=A.defaultValue;t[l+o]=r}if(la)for(o=0;o<J;++o)r=t[l+o],r!=null&&(A=u[o],A.x&&b(k.xaxis,r,r),A.y&&b(k.yaxis,r,r)),t[l+o]=null;else if(insertSteps&&l>0&&t[l-J]!=null&&t[l-J]!=t[l]&&t[l-J+1]!=t[l+1]){for(o=0;o<J;++o)t[l+J+o]=t[l+o];t[l+1]=t[l-J+1];l+=J}}}}for(g=0;g<K.length;++g)k=K[g],v(ua.processDatapoints,[k,k.datapoints]);for(g=0;g<K.length;++g){k=K[g];t=k.datapoints.points;J=k.datapoints.pointsize;u=k.datapoints.format;y=l=d;la=w=e;for(j=
+0;j<t.length;j+=J)if(t[j]!=null)for(o=0;o<J;++o)if(r=t[j+o],(A=u[o])&&!(r==f||r==-f))A.x&&(r<l&&(l=r),r>w&&(w=r)),A.y&&(r<y&&(y=r),r>la&&(la=r));k.bars.show&&(j=k.bars.align=="left"?0:-k.bars.barWidth/2,k.bars.horizontal?(y+=j,la+=j+k.bars.barWidth):(l+=j,w+=j+k.bars.barWidth));b(k.xaxis,l,w);b(k.yaxis,y,la)}a.each(M(),function(a,b){if(b.datamin==d)b.datamin=null;if(b.datamax==e)b.datamax=null})}function A(d,e){var g=document.createElement("canvas");g.className=e;g.width=Z;g.height=ja;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 V(){Z=b.width();ja=b.height();if(Z<=0||ja<=0)throw"Invalid dimensions for plot, width = "+Z+", height = "+ja;}function H(a){if(a.width!=Z)a.width=Z;if(a.height!=ja)a.height=ja;a=a.getContext("2d");a.restore();a.save()}function S(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 y(b){var d=b.labelWidth,e=b.labelHeight,f=b.options.position,g=b.options.tickLength,j=o.grid.axisMargin,l=o.grid.labelMargin,k=b.direction=="x"?fa:ia,r=a.grep(k,function(a){return a&&a.options.position==f&&a.reserveSpace});a.inArray(b,r)==r.length-
+1&&(j=0);if(g==null)var g=a.grep(k,function(a){return a&&a.reserveSpace}),t=a.inArray(b,g)==0,g=t?"full":5;isNaN(+g)||(l+=+g);b.direction=="x"?(e+=l,f=="bottom"?(F.bottom+=e+j,b.box={top:ja-F.bottom,height:e}):(b.box={top:F.top+j,height:e},F.top+=e+j)):(d+=l,f=="left"?(b.box={left:F.left+j,width:d},F.left+=d+j):(F.right+=d+j,b.box={left:Z-F.right,width:d}));b.position=f;b.tickLength=g;b.box.padding=l;b.innermost=t}function N(){var b=o.grid.minBorderMargin,d={x:0,y:0},e;if(b==null)for(e=b=0;e<K.length;++e)b=
+Math.max(b,2*(K[e].points.radius+K[e].points.lineWidth/2));d.x=d.y=Math.ceil(b);a.each(M(),function(a,b){var e=b.direction;b.reserveSpace&&(d[e]=Math.ceil(Math.max(d[e],(e=="x"?b.labelWidth:b.labelHeight)/2)))});F.left=Math.max(d.x,F.left);F.right=Math.max(d.x,F.right);F.top=Math.max(d.y,F.top);F.bottom=Math.max(d.y,F.bottom)}function O(){var d,e=M();d=o.grid.show;for(var g in F)F[g]=d?o.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){T(d);var e=d.options.ticks,h=[];e==null||typeof e=="number"&&e>0?h=d.tickGenerator(d):e&&(h=a.isFunction(e)?e({min:d.min,max:d.max}):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;w.save();w.font=q.style+" "+q.variant+" "+q.weight+" "+q.size+"px '"+q.family+"'";for(var s=0;s<e.length;++s){var l=e[s];l.lines=[];l.width=l.height=0;if(l.label){for(var o=l.label.replace(/<br ?\/?>|\r\n|\r/g,"\n").split("\n"),k=0;k<o.length;++k){var r={text:o[k]},t=w.measureText(r.text);
+r.width=t.width;r.height=t.height!=null?t.height:q.size;r.height+=Math.round(q.size*0.15);l.width=Math.max(r.width,l.width);l.height+=r.height;l.lines.push(r)}h.labelWidth==null&&(f=Math.max(f,l.width));h.labelHeight==null&&(g=Math.max(g,l.height))}}w.restore();d.labelWidth=Math.ceil(f);d.labelHeight=Math.ceil(g)});for(d=g.length-1;d>=0;--d)y(g[d]);N();a.each(g,function(a,b){b.direction=="x"?(b.box.left=F.left-b.labelWidth/2,b.box.width=Z-F.left-F.right+b.labelWidth):(b.box.top=F.top-b.labelHeight/
+2,b.box.height=ja-F.bottom-F.top+b.labelHeight)})}xa=Z-F.left-F.right;ta=ja-F.bottom-F.top;a.each(e,function(a,b){S(b)});ea()}function T(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"?Z:ja)),g,j,l,o;if(d.mode=="time"){var k={second:1E3,minute:6E4,hour:36E5,day:864E5,month:2592E6,year:525949.2*6E4};o=[[1,"second"],[2,"second"],[5,"second"],[10,"second"],[30,"second"],[1,"minute"],[2,"minute"],[5,"minute"],[10,"minute"],[30,"minute"],[1,
+"hour"],[2,"hour"],[4,"hour"],[8,"hour"],[12,"hour"],[1,"day"],[2,"day"],[3,"day"],[0.25,"month"],[0.5,"month"],[1,"month"],[2,"month"],[3,"month"],[6,"month"],[1,"year"]];g=0;d.minTickSize!=null&&(g=typeof d.tickSize=="number"?d.tickSize:d.minTickSize[0]*k[d.minTickSize[1]]);for(j=0;j<o.length-1;++j)if(f<(o[j][0]*k[o[j][1]]+o[j+1][0]*k[o[j+1][1]])/2&&o[j][0]*k[o[j][1]]>=g)break;g=o[j][0];l=o[j][1];l=="year"&&(j=Math.pow(10,Math.floor(Math.log(f/k.year)/Math.LN10)),o=f/k.year/j,g=o<1.5?1:o<3?2:o<
+7.5?5:10,g*=j);b.tickSize=d.tickSize||[g,l];j=function(a){var b=[],d=a.tickSize[0],h=a.tickSize[1],f=new Date(a.min),g=d*k[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>=k.minute&&f.setUTCSeconds(0);g>=k.hour&&f.setUTCMinutes(0);g>=k.day&&f.setUTCHours(0);g>=k.day*
+4&&f.setUTCDate(1);g>=k.year&&f.setUTCMonth(0);var q=0,j=Number.NaN,l;do if(l=j,j=f.getTime(),b.push(j),h=="month")if(d<1){f.setUTCDate(1);var s=f.getTime();f.setUTCMonth(f.getUTCMonth()+1);var o=f.getTime();f.setTime(j+q*k.hour+(o-s)*d);q=f.getUTCHours();f.setUTCHours(0)}else f.setUTCMonth(f.getUTCMonth()+d);else h=="year"?f.setUTCFullYear(f.getUTCFullYear()+d):f.setTime(j+g);while(j<a.max&&j!=l);return b};g=function(b,e){var f=new Date(b);if(d.timeformat!=null)return a.plot.formatDate(f,d.timeformat,
+d.monthNames);var h=e.tickSize[0]*k[e.tickSize[1]],g=e.max-e.min,q=d.twelveHourClock?" %p":"";fmt=h<k.minute?"%h:%M:%S"+q:h<k.day?g<2*k.day?"%h:%M"+q:"%b %d %h:%M"+q:h<k.month?"%b %d":h<k.year?g<k.year?"%b":"%b %y":"%y";return a.plot.formatDate(f,fmt,d.monthNames)}}else{l=d.tickDecimals;var r=-Math.floor(Math.log(f)/Math.LN10);l!=null&&r>l&&(r=l);j=Math.pow(10,-r);o=f/j;if(o<1.5)g=1;else if(o<3){if(g=2,o>2.25&&(l==null||r+1<=l))g=2.5,++r}else g=o<7.5?5:10;g*=j;if(d.minTickSize!=null&&g<d.minTickSize)g=
+d.minTickSize;b.tickDecimals=Math.max(0,l!=null?l:r);b.tickSize=d.tickSize||g;j=function(a){var b=[],d=e(a.min,a.tickSize),f=0,h=Number.NaN,g;do g=h,h=d+f*a.tickSize,b.push(h),++f;while(h<a.max&&h!=g);return b};g=function(a,b){return a.toFixed(b.tickDecimals)}}if(d.alignTicksWithAxis!=null){var t=(b.direction=="x"?fa:ia)[d.alignTicksWithAxis-1];if(t&&t.used&&t!=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<t.ticks.length;++e)d=(t.ticks[e].v-t.min)/(t.max-t.min),d=a.min+d*(a.max-a.min),b.push(d);return b};if(b.mode!="time"&&d.tickDecimals==null&&(f=Math.max(0,-Math.floor(Math.log(f)/Math.LN10)+1),o=j(b),!(o.length>1&&/\..*0$/.test((o[1]-o[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 $(){w.clearRect(0,0,Z,ja);var a=o.grid;if(a.show&&a.backgroundColor)w.save(),w.translate(F.left,
+F.top),w.fillStyle=X(o.grid.backgroundColor,ta,0,"rgba(255, 255, 255, 0)"),w.fillRect(0,0,xa,ta),w.restore();a.show&&!a.aboveData&&(aa(),ma());for(var b=0;b<K.length;++b){v(ua.drawSeries,[w,K[b]]);var d=K[b];d.lines.show&&va(d);d.bars.show&&W(d);d.points.show&&u(d)}v(ua.draw,[w]);a.show&&a.aboveData&&(aa(),ma())}function P(a,b){var d,e,f,g,j=M();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"?fa[0]:ia[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 aa(){var b;w.save();w.translate(F.left,F.top);var d=o.grid.markings;if(d){if(a.isFunction(d)){var e=U.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=P(e,"x"),g=P(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?(w.beginPath(),w.strokeStyle=e.color||o.grid.markingsColor,w.lineWidth=e.lineWidth||o.grid.markingsLineWidth,w.moveTo(f.from,g.from),w.lineTo(f.to,g.to),w.stroke()):
+(w.fillStyle=e.color||o.grid.markingsColor,w.fillRect(f.from,g.to,f.to-f.from,g.from-g.to))}}e=M();d=o.grid.borderWidth;for(f=0;f<e.length;++f){g=e[f];b=g.box;var j=g.tickLength,l,k,r,t;if(g.show&&g.ticks.length!=0){w.strokeStyle=g.options.tickColor||a.color.parse(g.options.color).scale("a",0.22).toString();w.lineWidth=1;g.direction=="x"?(l=0,k=j=="full"?g.position=="top"?0:ta:b.top-F.top+(g.position=="top"?b.height:0)):(k=0,l=j=="full"?g.position=="left"?0:xa:b.left-F.left+(g.position=="left"?b.width:
+0));g.innermost||(w.beginPath(),r=t=0,g.direction=="x"?r=xa:t=ta,w.lineWidth==1&&(l=Math.floor(l)+0.5,k=Math.floor(k)+0.5),w.moveTo(l,k),w.lineTo(l+r,k+t),w.stroke());w.beginPath();for(b=0;b<g.ticks.length;++b){var A=g.ticks[b].v;r=t=0;A<g.min||A>g.max||j=="full"&&d>0&&(A==g.min||A==g.max)||(g.direction=="x"?(l=g.p2c(A),t=j=="full"?-ta:j,g.position=="top"&&(t=-t)):(k=g.p2c(A),r=j=="full"?-xa:j,g.position=="left"&&(r=-r)),w.lineWidth==1&&(g.direction=="x"?l=Math.floor(l)+0.5:k=Math.floor(k)+0.5),w.moveTo(l,
+k),w.lineTo(l+r,k+t))}w.stroke()}}if(d)w.lineWidth=d,w.strokeStyle=o.grid.borderColor,w.strokeRect(-d/2,-d/2,xa+d,ta+d);w.restore()}function ma(){w.save();a.each(M(),function(b,d){if(d.show&&d.ticks.length!=0){var e=d.box,f=d.font;w.fillStyle=d.options.color;w.font=f.style+" "+f.variant+" "+f.weight+" "+f.size+"px '"+f.family+"'";w.textAlign="start";w.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,l,k=0,o,r=0;r<g.lines.length;++r)o=
+g.lines[r],d.direction=="x"?(j=F.left+d.p2c(g.v)-o.width/2,l=d.position=="bottom"?e.top+e.padding:e.top+e.height-e.padding-g.height):(l=F.top+d.p2c(g.v)-g.height/2,j=d.position=="left"?e.left+e.width-e.padding-o.width:e.left+e.padding),l+=o.height/2+k,k+=o.height,a.browser.opera&&(j=Math.floor(j),l=Math.ceil(l-2)),w.fillText(o.text,j,l)}}});w.restore()}function va(a){function b(a,d,e,f,h){var g=a.points,a=a.pointsize,j=null,l=null;w.beginPath();for(var q=a;q<g.length;q+=a){var k=g[q-a],o=g[q-a+1],
+s=g[q],r=g[q+1];if(!(k==null||s==null)){if(o<=r&&o<h.min){if(r<h.min)continue;k=(h.min-o)/(r-o)*(s-k)+k;o=h.min}else if(r<=o&&r<h.min){if(o<h.min)continue;s=(h.min-o)/(r-o)*(s-k)+k;r=h.min}if(o>=r&&o>h.max){if(r>h.max)continue;k=(h.max-o)/(r-o)*(s-k)+k;o=h.max}else if(r>=o&&r>h.max){if(o>h.max)continue;s=(h.max-o)/(r-o)*(s-k)+k;r=h.max}if(k<=s&&k<f.min){if(s<f.min)continue;o=(f.min-k)/(s-k)*(r-o)+o;k=f.min}else if(s<=k&&s<f.min){if(k<f.min)continue;r=(f.min-k)/(s-k)*(r-o)+o;s=f.min}if(k>=s&&k>f.max){if(s>
+f.max)continue;o=(f.max-k)/(s-k)*(r-o)+o;k=f.max}else if(s>=k&&s>f.max){if(k>f.max)continue;r=(f.max-k)/(s-k)*(r-o)+o;s=f.max}(k!=j||o!=l)&&w.moveTo(f.p2c(k)+d,h.p2c(o)+e);j=s;l=r;w.lineTo(f.p2c(s)+d,h.p2c(r)+e)}}w.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,q=1,l=0,k=0;;){if(a>0&&g>f.length+a)break;g+=a;var o=f[g-a],s=f[g-a+q],r=f[g],t=f[g+q];if(j){if(a>0&&o!=null&&r==null){k=g;a=-a;q=2;continue}if(a<0&&g==l+a){w.fill();j=!1;a=-a;q=1;g=
+l=k+a;continue}}if(!(o==null||r==null)){if(o<=r&&o<b.min){if(r<b.min)continue;s=(b.min-o)/(r-o)*(t-s)+s;o=b.min}else if(r<=o&&r<b.min){if(o<b.min)continue;t=(b.min-o)/(r-o)*(t-s)+s;r=b.min}if(o>=r&&o>b.max){if(r>b.max)continue;s=(b.max-o)/(r-o)*(t-s)+s;o=b.max}else if(r>=o&&r>b.max){if(o>b.max)continue;t=(b.max-o)/(r-o)*(t-s)+s;r=b.max}j||(w.beginPath(),w.moveTo(b.p2c(o),d.p2c(h)),j=!0);if(s>=d.max&&t>=d.max)w.lineTo(b.p2c(o),d.p2c(d.max)),w.lineTo(b.p2c(r),d.p2c(d.max));else if(s<=d.min&&t<=d.min)w.lineTo(b.p2c(o),
+d.p2c(d.min)),w.lineTo(b.p2c(r),d.p2c(d.min));else{var z=o,A=r;if(s<=t&&s<d.min&&t>=d.min)o=(d.min-s)/(t-s)*(r-o)+o,s=d.min;else if(t<=s&&t<d.min&&s>=d.min)r=(d.min-s)/(t-s)*(r-o)+o,t=d.min;if(s>=t&&s>d.max&&t<=d.max)o=(d.max-s)/(t-s)*(r-o)+o,s=d.max;else if(t>=s&&t>d.max&&s<=d.max)r=(d.max-s)/(t-s)*(r-o)+o,t=d.max;o!=z&&w.lineTo(b.p2c(z),d.p2c(s));w.lineTo(b.p2c(o),d.p2c(s));w.lineTo(b.p2c(r),d.p2c(t));r!=A&&(w.lineTo(b.p2c(r),d.p2c(t)),w.lineTo(b.p2c(A),d.p2c(t)))}}}}w.save();w.translate(F.left,
+F.top);w.lineJoin="round";var f=a.lines.lineWidth,g=a.shadowSize;if(f>0&&g>0){w.lineWidth=g;w.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);w.lineWidth=g/2;b(a.datapoints,Math.sin(j)*(f/2+g/4),Math.cos(j)*(f/2+g/4),a.xaxis,a.yaxis)}w.lineWidth=f;w.strokeStyle=a.color;if(g=d(a.lines,a.color,0,ta))w.fillStyle=g,e(a.datapoints,a.xaxis,a.yaxis);f>0&&b(a.datapoints,0,0,a.xaxis,a.yaxis);w.restore()}function u(a){function b(a,d,
+e,f,h,g,j,o){for(var q=a.points,a=a.pointsize,l=0;l<q.length;l+=a){var k=q[l],s=q[l+1];if(!(k==null||k<g.min||k>g.max||s<j.min||s>j.max)){w.beginPath();k=g.p2c(k);s=j.p2c(s)+f;o=="circle"?w.arc(k,s,d,0,h?Math.PI:Math.PI*2,!1):o(w,k,s,d,h);w.closePath();if(e)w.fillStyle=e,w.fill();w.stroke()}}}w.save();w.translate(F.left,F.top);var e=a.points.lineWidth,f=a.shadowSize,g=a.points.radius,j=a.points.symbol;if(e>0&&f>0)f/=2,w.lineWidth=f,w.strokeStyle="rgba(0,0,0,0.1)",b(a.datapoints,g,null,f+f/2,!0,a.xaxis,
+a.yaxis,j),w.strokeStyle="rgba(0,0,0,0.2)",b(a.datapoints,g,null,f/2,!0,a.xaxis,a.yaxis,j);w.lineWidth=e;w.strokeStyle=a.color;b(a.datapoints,g,d(a.points,a.color),0,!1,a.xaxis,a.yaxis,j);w.restore()}function Q(a,b,d,e,f,g,j,o,l,k,r,t){var A,v,u,y;r?(y=v=u=!0,A=!1,r=d,d=b+e,f=b+f,a<r&&(b=a,a=r,r=b,A=!0,v=!1)):(A=v=u=!0,y=!1,r=a+e,a+=f,f=d,d=b,d<f&&(b=d,d=f,f=b,y=!0,u=!1));if(!(a<o.min||r>o.max||d<l.min||f>l.max)){if(r<o.min)r=o.min,A=!1;if(a>o.max)a=o.max,v=!1;if(f<l.min)f=l.min,y=!1;if(d>l.max)d=
+l.max,u=!1;r=o.p2c(r);f=l.p2c(f);a=o.p2c(a);d=l.p2c(d);if(j)k.beginPath(),k.moveTo(r,f),k.lineTo(r,d),k.lineTo(a,d),k.lineTo(a,f),k.fillStyle=j(f,d),k.fill();if(t>0&&(A||v||u||y))k.beginPath(),k.moveTo(r,f+g),A?k.lineTo(r,d+g):k.moveTo(r,d+g),u?k.lineTo(a,d+g):k.moveTo(a,d+g),v?k.lineTo(a,f+g):k.moveTo(a,f+g),y?k.lineTo(r,f+g):k.moveTo(r,f+g),k.stroke()}}function W(a){w.save();w.translate(F.left,F.top);w.lineWidth=a.bars.lineWidth;w.strokeStyle=a.color;var b=a.bars.align=="left"?0:-a.bars.barWidth/
+2;(function(b,d,e,f,g,j,o){for(var l=b.points,b=b.pointsize,k=0;k<l.length;k+=b)l[k]!=null&&Q(l[k],l[k+1],l[k+2],d,e,f,g,j,o,w,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);w.restore()}function d(b,d,e,f){var g=b.fill;if(!g)return null;if(b.fillColor)return X(b.fillColor,e,f,d);b=a.color.parse(d);b.a=typeof g=="number"?g:0.4;b.normalize();return b.toString()}function ea(){b.find(".legend").remove();
+if(o.legend.show){for(var d=[],e=!1,g=o.legend.labelFormatter,j,l,k=0;k<K.length;++k)if(j=K[k],l=j.label)k%o.legend.noColumns==0&&(e&&d.push("</tr>"),d.push("<tr>"),e=!0),g&&(l=g(l,j)),d.push('<td class="legendColorBox"><div style="border:1px solid '+o.legend.labelBoxBorderColor+';padding:1px"><div style="width:4px;height:0;border:5px solid '+j.color+';overflow:hidden"></div></div></td><td class="legendLabel">'+l+"</td>");e&&d.push("</tr>");if(d.length!=0)if(e='<table style="font-size:smaller;color:'+
o.grid.color+'">'+d.join("")+"</table>",o.legend.container!=null)a(o.legend.container).html(e);else if(d="",g=o.legend.position,j=o.legend.margin,j[0]==null&&(j=[j,j]),g.charAt(0)=="n"?d+="top:"+(j[1]+F.top)+"px;":g.charAt(0)=="s"&&(d+="bottom:"+(j[1]+F.bottom)+"px;"),g.charAt(1)=="e"?d+="right:"+(j[0]+F.right)+"px;":g.charAt(1)=="w"&&(d+="left:"+(j[0]+F.left)+"px;"),e=a('<div class="legend">'+e.replace('style="','style="position:absolute;'+d+";")+"</div>").appendTo(b),o.legend.backgroundOpacity!=
-0){g=o.legend.backgroundColor;if(g==null)g=(g=o.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",o.legend.backgroundOpacity)}}}function la(a){o.grid.hoverable&&fa("plothover",a,function(a){return a.hoverable!=!1})}function B(a){o.grid.hoverable&&fa("plothover",a,function(){return!1})}
-function ca(a){fa("plotclick",a,function(a){return a.clickable!=!1})}function fa(a,d,e){var g=ma.offset(),j=d.pageX-g.left-F.left,l=d.pageY-g.top-F.top,n=E({left:j,top:l});n.pageX=d.pageX;n.pageY=d.pageY;var d=o.grid.mouseActiveRadius,p=d*d+1,t=null,x,v;for(x=L.length-1;x>=0;--x)if(e(L[x])){var u=L[x],H=u.xaxis,y=u.yaxis,w=u.datapoints.points,C=u.datapoints.pointsize,I=H.c2p(j),B=y.c2p(l),X=d/H.scale,S=d/y.scale;if(H.options.inverseTransform)X=Number.MAX_VALUE;if(y.options.inverseTransform)S=Number.MAX_VALUE;
-if(u.lines.show||u.points.show)for(v=0;v<w.length;v+=C){var G=w[v],K=w[v+1];if(G!=null&&!(G-I>X||G-I<-X||K-B>S||K-B<-S))G=Math.abs(H.p2c(G)-j),K=Math.abs(y.p2c(K)-l),K=G*G+K*K,K<p&&(p=K,t=[x,v/C])}if(u.bars.show&&!t){H=u.bars.align=="left"?0:-u.bars.barWidth/2;u=H+u.bars.barWidth;for(v=0;v<w.length;v+=C)if(G=w[v],K=w[v+1],y=w[v+2],G!=null&&(L[x].bars.horizontal?I<=Math.max(y,G)&&I>=Math.min(y,G)&&B>=K+H&&B<=K+u:I>=G+H&&I<=G+u&&B>=Math.min(y,K)&&B<=Math.max(y,K)))t=[x,v/C]}}t?(x=t[0],v=t[1],C=L[x].datapoints.pointsize,
-e={datapoint:L[x].datapoints.points.slice(v*C,(v+1)*C),dataIndex:v,series:L[x],seriesIndex:x}):e=null;if(e)e.pageX=parseInt(e.series.xaxis.p2c(e.datapoint[0])+g.left+F.left),e.pageY=parseInt(e.series.yaxis.p2c(e.datapoint[1])+g.top+F.top);if(o.grid.autoHighlight){for(g=0;g<va.length;++g)j=va[g],j.auto==a&&(!e||!(j.series==e.series&&j.point[0]==e.datapoint[0]&&j.point[1]==e.datapoint[1]))&&Ga(j.series,j.point);e&&sa(e.series,e.datapoint,a)}b.trigger(a,[n,e])}function na(){var a=o.interaction.redrawOverlayInterval;
-a==-1?oa():Ba||(Ba=setTimeout(oa,a))}function oa(){Ba=null;Z.save();Z.clearRect(0,0,$,ia);Z.translate(F.left,F.top);var b,d;for(b=0;b<va.length;++b)if(d=va[b],d.series.bars.show)C(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 l=e.points.radius+e.points.lineWidth/2;Z.lineWidth=l;Z.strokeStyle=a.color.parse(e.color).scale("a",0.5).toString();l*=1.5;d=g.p2c(d);f=j.p2c(f);Z.beginPath();e.points.symbol=="circle"?Z.arc(d,
-f,l,0,2*Math.PI,!1):e.points.symbol(Z,d,f,l,!1);Z.closePath();Z.stroke()}}Z.restore();v(qa.drawOverlay,[Z])}function sa(a,b,d){typeof a=="number"&&(a=L[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)va.push({series:a,point:b,auto:d}),na();else if(!d)va[e].auto=!1}function Ga(a,b){a==null&&b==null&&(va=[],na());typeof a=="number"&&(a=L[a]);typeof b=="number"&&(b=a.data[b]);var d=g(a,b);d!=-1&&(va.splice(d,1),na())}function g(a,b){for(var d=
-0;d<va.length;++d){var e=va[d];if(e.series==a&&e.point[0]==b[0]&&e.point[1]==b[1])return d}return-1}function C(b,d){Z.lineWidth=b.bars.lineWidth;Z.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;Q(d[0],d[1],d[2]||0,f,f+b.bars.barWidth,0,function(){return e},b.xaxis,b.yaxis,Z,b.bars.horizontal,b.bars.lineWidth)}function V(b,d,e,f){if(typeof b=="string")return b;else{for(var d=u.createLinearGradient(0,
-e,0,d),e=0,g=b.colors.length;e<g;++e){var j=b.colors[e];if(typeof j!="string"){var l=a.color.parse(f);j.brightness!=null&&(l=l.scale("rgb",j.brightness));j.opacity!=null&&(l.a*=j.opacity);j=l.toString()}d.addColorStop(e/(g-1),j)}return d}}var L=[],o={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",
+0){g=o.legend.backgroundColor;if(g==null)g=(g=o.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",o.legend.backgroundOpacity)}}}function na(a){o.grid.hoverable&&ha("plothover",a,function(a){return a.hoverable!=!1})}function D(a){o.grid.hoverable&&ha("plothover",a,function(){return!1})}
+function da(a){ha("plotclick",a,function(a){return a.clickable!=!1})}function ha(a,d,e){var g=pa.offset(),j=d.pageX-g.left-F.left,l=d.pageY-g.top-F.top,k=G({left:j,top:l});k.pageX=d.pageX;k.pageY=d.pageY;var d=o.grid.mouseActiveRadius,r=d*d+1,t=null,A,v;for(A=K.length-1;A>=0;--A)if(e(K[A])){var u=K[A],y=u.xaxis,w=u.yaxis,E=u.datapoints.points,H=u.datapoints.pointsize,B=y.c2p(j),D=w.c2p(l),S=d/y.scale,N=d/w.scale;if(y.options.inverseTransform)S=Number.MAX_VALUE;if(w.options.inverseTransform)N=Number.MAX_VALUE;
+if(u.lines.show||u.points.show)for(v=0;v<E.length;v+=H){var V=E[v],I=E[v+1];if(V!=null&&!(V-B>S||V-B<-S||I-D>N||I-D<-N))V=Math.abs(y.p2c(V)-j),I=Math.abs(w.p2c(I)-l),I=V*V+I*I,I<r&&(r=I,t=[A,v/H])}if(u.bars.show&&!t){y=u.bars.align=="left"?0:-u.bars.barWidth/2;u=y+u.bars.barWidth;for(v=0;v<E.length;v+=H)if(V=E[v],I=E[v+1],w=E[v+2],V!=null&&(K[A].bars.horizontal?B<=Math.max(w,V)&&B>=Math.min(w,V)&&D>=I+y&&D<=I+u:B>=V+y&&B<=V+u&&D>=Math.min(w,I)&&D<=Math.max(w,I)))t=[A,v/H]}}t?(A=t[0],v=t[1],H=K[A].datapoints.pointsize,
+e={datapoint:K[A].datapoints.points.slice(v*H,(v+1)*H),dataIndex:v,series:K[A],seriesIndex:A}):e=null;if(e)e.pageX=parseInt(e.series.xaxis.p2c(e.datapoint[0])+g.left+F.left),e.pageY=parseInt(e.series.yaxis.p2c(e.datapoint[1])+g.top+F.top);if(o.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]))&&Ha(j.series,j.point);e&&wa(e.series,e.datapoint,a)}b.trigger(a,[k,e])}function qa(){var a=o.interaction.redrawOverlayInterval;
+a==-1?ra():Da||(Da=setTimeout(ra,a))}function ra(){Da=null;Y.save();Y.clearRect(0,0,Z,ja);Y.translate(F.left,F.top);var b,d;for(b=0;b<ya.length;++b)if(d=ya[b],d.series.bars.show)E(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 o=e.points.radius+e.points.lineWidth/2;Y.lineWidth=o;Y.strokeStyle=a.color.parse(e.color).scale("a",0.5).toString();o*=1.5;d=g.p2c(d);f=j.p2c(f);Y.beginPath();e.points.symbol=="circle"?Y.arc(d,
+f,o,0,2*Math.PI,!1):e.points.symbol(Y,d,f,o,!1);Y.closePath();Y.stroke()}}Y.restore();v(ua.drawOverlay,[Y])}function wa(a,b,d){typeof a=="number"&&(a=K[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}),qa();else if(!d)ya[e].auto=!1}function Ha(a,b){a==null&&b==null&&(ya=[],qa());typeof a=="number"&&(a=K[a]);typeof b=="number"&&(b=a.data[b]);var d=g(a,b);d!=-1&&(ya.splice(d,1),qa())}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 E(b,d){Y.lineWidth=b.bars.lineWidth;Y.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;Q(d[0],d[1],d[2]||0,f,f+b.bars.barWidth,0,function(){return e},b.xaxis,b.yaxis,Y,b.bars.horizontal,b.bars.lineWidth)}function X(b,d,e,f){if(typeof b=="string")return b;else{for(var d=w.createLinearGradient(0,
+e,0,d),e=0,g=b.colors.length;e<g;++e){var j=b.colors[e];if(typeof j!="string"){var o=a.color.parse(f);j.brightness!=null&&(o=o.scale("rgb",j.brightness));j.opacity!=null&&(o.a*=j.opacity);j=o.toString()}d.addColorStop(e/(g-1),j)}return d}}var K=[],o={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:{}},wa=null,ga=null,ma=null,u=null,Z=
-null,ea=[],ha=[],F={left:0,right:0,top:0,bottom:0},$=0,ia=0,ta=0,pa=0,qa={processOptions:[],processRawData:[],processDatapoints:[],drawSeries:[],draw:[],bindEvents:[],drawOverlay:[],shutdown:[]},U=this;U.setData=p;U.setupGrid=O;U.draw=aa;U.getPlaceholder=function(){return b};U.getCanvas=function(){return wa};U.getPlotOffset=function(){return F};U.width=function(){return ta};U.height=function(){return pa};U.offset=function(){var a=ma.offset();a.left+=F.left;a.top+=F.top;return a};U.getData=function(){return L};
-U.getAxes=function(){var b={};a.each(ea.concat(ha),function(a,d){d&&(b[d.direction+(d.n!=1?d.n:"")+"axis"]=d)});return b};U.getXAxes=function(){return ea};U.getYAxes=function(){return ha};U.c2p=E;U.p2c=function(a){var b={},d,e,f;for(d=0;d<ea.length;++d)if((e=ea[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<ha.length;++d)if((e=ha[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};U.getOptions=function(){return o};
-U.highlight=sa;U.unhighlight=Ga;U.triggerRedrawOverlay=na;U.pointOffset=function(a){return{left:parseInt(ea[G(a,"x")-1].p2c(+a.x)+F.left),top:parseInt(ha[G(a,"y")-1].p2c(+a.y)+F.top)}};U.shutdown=function(){Ba&&clearTimeout(Ba);ma.unbind("mousemove",la);ma.unbind("mouseleave",B);ma.unbind("click",ca);v(qa.shutdown,[ma])};U.resize=function(){X();I(wa);I(ga)};U.hooks=qa;(function(){for(var b=0;b<n.length;++b){var d=n[b];d.init(U);d.options&&a.extend(!0,o,d.options)}})(U);(function(b){a.extend(!0,o,
+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,w=null,Y=
+null,fa=[],ia=[],F={left:0,right:0,top:0,bottom:0},Z=0,ja=0,xa=0,ta=0,ua={processOptions:[],processRawData:[],processDatapoints:[],drawSeries:[],draw:[],bindEvents:[],drawOverlay:[],shutdown:[]},U=this;U.setData=B;U.setupGrid=O;U.draw=$;U.getPlaceholder=function(){return b};U.getCanvas=function(){return za};U.getPlotOffset=function(){return F};U.width=function(){return xa};U.height=function(){return ta};U.offset=function(){var a=pa.offset();a.left+=F.left;a.top+=F.top;return a};U.getData=function(){return K};
+U.getAxes=function(){var b={};a.each(fa.concat(ia),function(a,d){d&&(b[d.direction+(d.n!=1?d.n:"")+"axis"]=d)});return b};U.getXAxes=function(){return fa};U.getYAxes=function(){return ia};U.c2p=G;U.p2c=function(a){var b={},d,e,f;for(d=0;d<fa.length;++d)if((e=fa[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<ia.length;++d)if((e=ia[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};U.getOptions=function(){return o};
+U.highlight=wa;U.unhighlight=Ha;U.triggerRedrawOverlay=qa;U.pointOffset=function(a){return{left:parseInt(fa[I(a,"x")-1].p2c(+a.x)+F.left),top:parseInt(ia[I(a,"y")-1].p2c(+a.y)+F.top)}};U.shutdown=function(){Da&&clearTimeout(Da);pa.unbind("mousemove",na);pa.unbind("mouseleave",D);pa.unbind("click",da);v(ua.shutdown,[pa])};U.resize=function(){V();H(za);H(sa)};U.hooks=ua;(function(){for(var b=0;b<l.length;++b){var d=l[b];d.init(U);d.options&&a.extend(!0,o,d.options)}})(U);(function(b){a.extend(!0,o,
b);if(o.xaxis.color==null)o.xaxis.color=o.grid.color;if(o.yaxis.color==null)o.yaxis.color=o.grid.color;if(o.xaxis.tickColor==null)o.xaxis.tickColor=o.grid.tickColor;if(o.yaxis.tickColor==null)o.yaxis.tickColor=o.grid.tickColor;if(o.grid.borderColor==null)o.grid.borderColor=o.grid.color;if(o.grid.tickColor==null)o.grid.tickColor=a.color.parse(o.grid.color).scale("a",0.22).toString();for(b=0;b<Math.max(1,o.xaxes.length);++b)o.xaxes[b]=a.extend(!0,{},o.xaxis,o.xaxes[b]);for(b=0;b<Math.max(1,o.yaxes.length);++b)o.yaxes[b]=
a.extend(!0,{},o.yaxis,o.yaxes[b]);if(o.xaxis.noTicks&&o.xaxis.ticks==null)o.xaxis.ticks=o.xaxis.noTicks;if(o.yaxis.noTicks&&o.yaxis.ticks==null)o.yaxis.ticks=o.yaxis.noTicks;if(o.x2axis)o.xaxes[1]=a.extend(!0,{},o.xaxis,o.x2axis),o.xaxes[1].position="top";if(o.y2axis)o.yaxes[1]=a.extend(!0,{},o.yaxis,o.y2axis),o.yaxes[1].position="right";if(o.grid.coloredAreas)o.grid.markings=o.grid.coloredAreas;if(o.grid.coloredAreasColor)o.grid.markingsColor=o.grid.coloredAreasColor;o.lines&&a.extend(!0,o.series.lines,
-o.lines);o.points&&a.extend(!0,o.series.points,o.points);o.bars&&a.extend(!0,o.series.bars,o.bars);if(o.shadowSize!=null)o.series.shadowSize=o.shadowSize;for(b=0;b<o.xaxes.length;++b)x(ea,b+1).options=o.xaxes[b];for(b=0;b<o.yaxes.length;++b)x(ha,b+1).options=o.yaxes[b];for(var d in qa)o.hooks[d]&&o.hooks[d].length&&(qa[d]=qa[d].concat(o.hooks[d]));v(qa.processOptions,[o])})(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"),X(),wa=H(!0,"flot-base"),ga=H(!1,"flot-overlay"),d=!1):(wa=d.get(0),ga=e.get(0),d=!0);u=wa.getContext("2d");Z=ga.getContext("2d");ma=a(ga);d&&(b.data("plot").shutdown(),U.resize(),Z.clearRect(0,0,$,ia),ma.unbind(),b.children().not([wa,ga]).remove());b.data("plot",U)})();p(j);O();aa();o.grid.hoverable&&(ma.mousemove(la),ma.mouseleave(B));o.grid.clickable&&ma.click(ca);v(qa.bindEvents,[ma]);var va=[],Ba=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 n=function(a){a=""+a;return a.length==1?"0"+a:a},v=[],p=!1,G=!1,M=a.getUTCHours(),E=M<12;e==null&&(e=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]);b.search(/%p|%P/)!=-1&&(M>12?M-=12:M==0&&(M=12));for(var x=0;x<b.length;++x){var t=b.charAt(x);if(p){switch(t){case "h":t=""+M;break;case "H":t=n(M);break;case "M":t=n(a.getUTCMinutes());
-break;case "S":t=n(a.getUTCSeconds());break;case "d":t=""+a.getUTCDate();break;case "m":t=""+(a.getUTCMonth()+1);break;case "y":t=""+a.getUTCFullYear();break;case "b":t=""+e[a.getUTCMonth()];break;case "p":t=E?"am":"pm";break;case "P":t=E?"AM":"PM";break;case "0":t="",G=!0}t&&G&&(t=n(t),G=!1);v.push(t);G||(p=!1)}else t=="%"?p=!0:v.push(t)}return v.join("")}})(jQuery);(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(),n=null,v=0;v<a.length;++v){if(b==a[v])break;a[v].stack==b.stack&&(n=a[v])}if(l=n){a=j.pointsize;n=j.points;v=l.datapoints.pointsize;l=l.datapoints.points;var p=[],G,M,E,x,t,H,X=b.lines.show;x=b.bars.horizontal;var I=a>2&&(x?j.format[2].x:j.format[2].y),b=X&&b.lines.steps;E=!0;for(var S=x?1:0,y=x?0:1,K=0,O=0,T;;){if(K>=n.length)break;T=p.length;if(n[K]==null){for(m=
-0;m<a;++m)p.push(n[K+m]);K+=a}else if(O>=l.length){if(!X)for(m=0;m<a;++m)p.push(n[K+m]);K+=a}else if(l[O]==null){for(m=0;m<a;++m)p.push(null);E=!0;O+=v}else{G=n[K+S];M=n[K+y];x=l[O+S];t=l[O+y];H=0;if(G==x){for(m=0;m<a;++m)p.push(n[K+m]);p[T+y]+=t;H=t;K+=a;O+=v}else if(G>x){if(X&&K>0&&n[K-a]!=null){E=M+(n[K-a+y]-M)*(x-G)/(n[K-a+S]-G);p.push(x);p.push(E+t);for(m=2;m<a;++m)p.push(n[K+m]);H=t}O+=v}else{if(E&&X){K+=a;continue}for(m=0;m<a;++m)p.push(n[K+m]);X&&O>0&&l[O-v]!=null&&(H=t+(l[O-v+y]-t)*(G-x)/
-(l[O-v+S]-x));p[T+y]+=H;K+=a}E=!1;T!=p.length&&I&&(p[T+2]+=H)}if(b&&T!=p.length&&T>0&&p[T]!=null&&p[T]!=p[T-a]&&p[T+1]!=p[T-a+1]){for(m=0;m<a;++m)p[T+a+m]=p[T+m];p[T+1]=p[T-a+1]}}j.points=p}}})},options:{series:{stack:null}},name:"stack",version:"1.2"})})(jQuery);(function(a){a.plot.plugins.push({init:function(b){function e(a){E.active&&(v(a),b.getPlaceholder().trigger("plotselecting",[j()]))}function f(e){if(e.which==1){document.body.focus();if(document.onselectstart!==void 0&&x.onselectstart==null)x.onselectstart=document.onselectstart,document.onselectstart=function(){return!1};if(document.ondrag!==void 0&&x.ondrag==null)x.ondrag=document.ondrag,document.ondrag=function(){return!1};n(E.first,e);E.active=!0;t=function(a){t=null;if(document.onselectstart!==
-void 0)document.onselectstart=x.onselectstart;if(document.ondrag!==void 0)document.ondrag=x.ondrag;E.active=!1;v(a);M()?l():(b.getPlaceholder().trigger("plotunselected",[]),b.getPlaceholder().trigger("plotselecting",[null]))};a(document).one("mouseup",t)}}function j(){if(!M())return null;var e={},f=E.first,j=E.second;a.each(b.getAxes(),function(a,b){if(b.used){var l=b.c2p(f[b.direction]),n=b.c2p(j[b.direction]);e[a]={from:Math.min(l,n),to:Math.max(l,n)}}});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 n(a,e){var f=b.getOptions(),j=b.getPlaceholder().offset(),l=b.getPlotOffset(),n=e.pageX-j.left-l.left,p=b.width();a.x=n<0?0:n>p?p:n;j=e.pageY-j.top-l.top;l=b.height();a.y=j<0?0:j>l?l:j;if(f.selection.mode=="y")a.x=a==E.first?0:b.width();if(f.selection.mode=="x")a.y=a==E.first?0:b.height()}function v(a){if(a.pageX!=null)n(E.second,a),M()?(E.show=!0,b.triggerRedrawOverlay()):
-p(!0)}function p(a){if(E.show)E.show=!1,b.triggerRedrawOverlay(),a||b.getPlaceholder().trigger("plotunselected",[])}function G(a,e){var f,j,l,n,p=b.getAxes(),t;for(t in p)if(f=p[t],f.direction==e&&(n=e+f.n+"axis",!a[n]&&f.n==1&&(n=e+"axis"),a[n])){j=a[n].from;l=a[n].to;break}a[n]||(f=e=="x"?b.getXAxes()[0]:b.getYAxes()[0],j=a[e+"1"],l=a[e+"2"]);j!=null&&l!=null&&j>l&&(n=j,j=l,l=n);return{from:j,to:l,axis:f}}function M(){return Math.abs(E.second.x-E.first.x)>=5&&Math.abs(E.second.y-E.first.y)>=5}var E=
-{first:{x:-1,y:-1},second:{x:-1,y:-1},show:!1,active:!1},x={},t=null;b.clearSelection=p;b.setSelection=function(a,e){var f,j=b.getOptions();j.selection.mode=="y"?(E.first.x=0,E.second.x=b.width()):(f=G(a,"x"),E.first.x=f.axis.p2c(f.from),E.second.x=f.axis.p2c(f.to));j.selection.mode=="x"?(E.first.y=0,E.second.y=b.height()):(f=G(a,"y"),E.first.y=f.axis.p2c(f.from),E.second.y=f.axis.p2c(f.to));E.show=!0;b.triggerRedrawOverlay();!e&&M()&&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(E.show&&M()){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(E.first.x,E.second.x),j=Math.min(E.first.y,E.second.y),l=Math.abs(E.second.x-E.first.x),n=Math.abs(E.second.y-E.first.y);e.fillRect(f,j,l,n);e.strokeRect(f,j,l,n);e.restore()}});
-b.hooks.shutdown.push(function(b,j){j.unbind("mousemove",e);j.unbind("mousedown",f);t&&a(document).unbind("mouseup",t)})},options:{selection:{mode:null,color:"#e8cfac"}},name:"selection",version:"1.1"})})(jQuery);function InvalidBinaryFile(a){this.message=a;this.name="Invalid BinaryFile"}InvalidBinaryFile.prototype.toString=function(){return this.name+': "'+this.message+'"'};
-function BinaryFile(a,b,e){var f=b||0,j=0,l=Math.pow(2,-28),n=Math.pow(2,-52),v=Math.pow(2,-20);this.getRawData=function(){return a};if(typeof a=="string")j=e||a.length,this.getByteAt=function(b){return a.charCodeAt(b+f)&255};else if(typeof a=="unknown")j=e||IEBinary_getLength(a),this.getByteAt=function(b){return IEBinary_getByteAt(a,b+f)};else throw new InvalidBinaryFile("Unsupported type "+typeof a);this.getLength=function(){return j};this.getSByteAt=function(a){a=this.getByteAt(a);return a>127?
-a-256:a};this.getShortAt=function(a){a=(this.getByteAt(a+1)<<8)+this.getByteAt(a);a<0&&(a+=65536);return a};this.getSShortAt=function(a){a=this.getShortAt(a);return a>32767?a-65536:a};this.getLongAt=function(a){var b=this.getByteAt(a),e=this.getByteAt(a+1),f=this.getByteAt(a+2),a=(((this.getByteAt(a+3)<<8)+f<<8)+e<<8)+b;a<0&&(a+=4294967296);return a};this.getSLongAt=function(a){a=this.getLongAt(a);return a>2147483647?a-4294967296:a};this.getStringAt=function(a,b){for(var e=[],f=a,j=0;f<a+b;f++,j++)e[j]=
-String.fromCharCode(this.getByteAt(f));return e.join("")};this.getCStringAt=function(a,b){for(var e=[],f=a,j=0;f<a+b&&this.getByteAt(f)>0;f++,j++)e[j]=String.fromCharCode(this.getByteAt(f));return e.join("")};this.getDoubleAt=function(a){var b=this.getByteAt(a),e=this.getByteAt(a+1),f=this.getByteAt(a+2),j=this.getByteAt(a+3),t=this.getByteAt(a+4),v=this.getByteAt(a+5),X=this.getByteAt(a+6),a=this.getByteAt(a+7),I=((a&127)<<4)+(X>>4);if(I==0)return 0;if(I!=2047)return(a>>7==1?-1:1)*Math.pow(2,(I&
-2047)-1023)*(1+(((f<<8)+e<<8)+b)*n+(((((X&15)<<8)+v<<8)+t<<8)+j)*l)};this.getFastDoubleAt=function(a){var b=this.getByteAt(a+4),e=this.getByteAt(a+5),f=this.getByteAt(a+6),a=this.getByteAt(a+7),j=((a&127)<<4)+(f>>4);if(j==0)return 0;if(j!=2047)return(a>>7==1?-1:1)*Math.pow(2,(j&2047)-1023)*(1+((((f&15)<<8)+e<<8)+b)*v)};this.getCharAt=function(a){return String.fromCharCode(this.getByteAt(a))}}document.write("<script type='text/vbscript'>\r\nFunction IEBinary_getByteAt(strBinary, iOffset)\r\n\tIEBinary_getByteAt = AscB(MidB(strBinary,iOffset+1,1))\r\nEnd Function\r\nFunction IEBinary_getLength(strBinary)\r\n\tIEBinary_getLength = LenB(strBinary)\r\nEnd Function\r\n<\/script>\r\n");
-function FetchBinaryURL(a){var b=new XMLHttpRequest;b.open("GET",a,!1);try{b.overrideMimeType("text/plain; charset=x-user-defined")}catch(e){}b.send(null);a=b.responseBody;if(a==void 0)a=b.responseText;return new BinaryFile(a)}
-function FetchBinaryURLAsync(a,b,e){var f=new XMLHttpRequest;f.onreadystatechange=function(){if(this.readyState==4){var a=this.responseBody;if(a==void 0)a=this.responseText;a=new BinaryFile(a);e!=null?b(a,e):b(a)}};f.open("GET",a,!0);try{f.overrideMimeType("text/plain; charset=x-user-defined")}catch(j){}f.send(null);return f};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};
+o.lines);o.points&&a.extend(!0,o.series.points,o.points);o.bars&&a.extend(!0,o.series.bars,o.bars);if(o.shadowSize!=null)o.series.shadowSize=o.shadowSize;for(b=0;b<o.xaxes.length;++b)r(fa,b+1).options=o.xaxes[b];for(b=0;b<o.yaxes.length;++b)r(ia,b+1).options=o.yaxes[b];for(var d in ua)o.hooks[d]&&o.hooks[d].length&&(ua[d]=ua[d].concat(o.hooks[d]));v(ua.processOptions,[o])})(k);(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"),V(),za=A(!0,"flot-base"),sa=A(!1,"flot-overlay"),d=!1):(za=d.get(0),sa=e.get(0),d=!0);w=za.getContext("2d");Y=sa.getContext("2d");pa=a(sa);d&&(b.data("plot").shutdown(),U.resize(),Y.clearRect(0,0,Z,ja),pa.unbind(),b.children().not([za,sa]).remove());b.data("plot",U)})();B(j);O();$();o.grid.hoverable&&(pa.mousemove(na),pa.mouseleave(D));o.grid.clickable&&pa.click(da);v(ua.bindEvents,[pa]);var ya=[],Da=null}function e(a,b){return b*
+Math.floor(a/b)}a.plot=function(e,j,k){return new b(a(e),j,k,a.plot.plugins)};a.plot.version="0.7";a.plot.plugins=[];a.plot.formatDate=function(a,b,e){var l=function(a){a=""+a;return a.length==1?"0"+a:a},v=[],B=!1,I=!1,M=a.getUTCHours(),G=M<12;e==null&&(e=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]);b.search(/%p|%P/)!=-1&&(M>12?M-=12:M==0&&(M=12));for(var r=0;r<b.length;++r){var t=b.charAt(r);if(B){switch(t){case "h":t=""+M;break;case "H":t=l(M);break;case "M":t=l(a.getUTCMinutes());
+break;case "S":t=l(a.getUTCSeconds());break;case "d":t=""+a.getUTCDate();break;case "m":t=""+(a.getUTCMonth()+1);break;case "y":t=""+a.getUTCFullYear();break;case "b":t=""+e[a.getUTCMonth()];break;case "p":t=G?"am":"pm";break;case "P":t=G?"AM":"PM";break;case "0":t="",I=!0}t&&I&&(t=l(t),I=!1);v.push(t);I||(B=!1)}else t=="%"?B=!0:v.push(t)}return v.join("")}})(jQuery);(function(a){a.plot.plugins.push({init:function(a){a.hooks.processDatapoints.push(function(a,b,j){if(b.stack!=null){for(var k,a=a.getData(),l=null,v=0;v<a.length;++v){if(b==a[v])break;a[v].stack==b.stack&&(l=a[v])}if(k=l){a=j.pointsize;l=j.points;v=k.datapoints.pointsize;k=k.datapoints.points;var B=[],I,M,G,r,t,A,V=b.lines.show;r=b.bars.horizontal;var H=a>2&&(r?j.format[2].x:j.format[2].y),b=V&&b.lines.steps;G=!0;for(var S=r?1:0,y=r?0:1,N=0,O=0,T;;){if(N>=l.length)break;T=B.length;if(l[N]==null){for(m=
+0;m<a;++m)B.push(l[N+m]);N+=a}else if(O>=k.length){if(!V)for(m=0;m<a;++m)B.push(l[N+m]);N+=a}else if(k[O]==null){for(m=0;m<a;++m)B.push(null);G=!0;O+=v}else{I=l[N+S];M=l[N+y];r=k[O+S];t=k[O+y];A=0;if(I==r){for(m=0;m<a;++m)B.push(l[N+m]);B[T+y]+=t;A=t;N+=a;O+=v}else if(I>r){if(V&&N>0&&l[N-a]!=null){G=M+(l[N-a+y]-M)*(r-I)/(l[N-a+S]-I);B.push(r);B.push(G+t);for(m=2;m<a;++m)B.push(l[N+m]);A=t}O+=v}else{if(G&&V){N+=a;continue}for(m=0;m<a;++m)B.push(l[N+m]);V&&O>0&&k[O-v]!=null&&(A=t+(k[O-v+y]-t)*(I-r)/
+(k[O-v+S]-r));B[T+y]+=A;N+=a}G=!1;T!=B.length&&H&&(B[T+2]+=A)}if(b&&T!=B.length&&T>0&&B[T]!=null&&B[T]!=B[T-a]&&B[T+1]!=B[T-a+1]){for(m=0;m<a;++m)B[T+a+m]=B[T+m];B[T+1]=B[T-a+1]}}j.points=B}}})},options:{series:{stack:null}},name:"stack",version:"1.2"})})(jQuery);(function(a){a.plot.plugins.push({init:function(b){function e(a){G.active&&(v(a),b.getPlaceholder().trigger("plotselecting",[j()]))}function f(e){if(e.which==1){document.body.focus();if(document.onselectstart!==void 0&&r.onselectstart==null)r.onselectstart=document.onselectstart,document.onselectstart=function(){return!1};if(document.ondrag!==void 0&&r.ondrag==null)r.ondrag=document.ondrag,document.ondrag=function(){return!1};l(G.first,e);G.active=!0;t=function(a){t=null;if(document.onselectstart!==
+void 0)document.onselectstart=r.onselectstart;if(document.ondrag!==void 0)document.ondrag=r.ondrag;G.active=!1;v(a);M()?k():(b.getPlaceholder().trigger("plotunselected",[]),b.getPlaceholder().trigger("plotselecting",[null]))};a(document).one("mouseup",t)}}function j(){if(!M())return null;var e={},f=G.first,j=G.second;a.each(b.getAxes(),function(a,b){if(b.used){var l=b.c2p(f[b.direction]),k=b.c2p(j[b.direction]);e[a]={from:Math.min(l,k),to:Math.max(l,k)}}});return e}function k(){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 l(a,e){var f=b.getOptions(),j=b.getPlaceholder().offset(),l=b.getPlotOffset(),k=e.pageX-j.left-l.left,r=b.width();a.x=k<0?0:k>r?r:k;j=e.pageY-j.top-l.top;l=b.height();a.y=j<0?0:j>l?l:j;if(f.selection.mode=="y")a.x=a==G.first?0:b.width();if(f.selection.mode=="x")a.y=a==G.first?0:b.height()}function v(a){if(a.pageX!=null)l(G.second,a),M()?(G.show=!0,b.triggerRedrawOverlay()):
+B(!0)}function B(a){if(G.show)G.show=!1,b.triggerRedrawOverlay(),a||b.getPlaceholder().trigger("plotunselected",[])}function I(a,e){var f,j,l,k,r=b.getAxes(),t;for(t in r)if(f=r[t],f.direction==e&&(k=e+f.n+"axis",!a[k]&&f.n==1&&(k=e+"axis"),a[k])){j=a[k].from;l=a[k].to;break}a[k]||(f=e=="x"?b.getXAxes()[0]:b.getYAxes()[0],j=a[e+"1"],l=a[e+"2"]);j!=null&&l!=null&&j>l&&(k=j,j=l,l=k);return{from:j,to:l,axis:f}}function M(){return Math.abs(G.second.x-G.first.x)>=5&&Math.abs(G.second.y-G.first.y)>=5}var G=
+{first:{x:-1,y:-1},second:{x:-1,y:-1},show:!1,active:!1},r={},t=null;b.clearSelection=B;b.setSelection=function(a,e){var f,j=b.getOptions();j.selection.mode=="y"?(G.first.x=0,G.second.x=b.width()):(f=I(a,"x"),G.first.x=f.axis.p2c(f.from),G.second.x=f.axis.p2c(f.to));j.selection.mode=="x"?(G.first.y=0,G.second.y=b.height()):(f=I(a,"y"),G.first.y=f.axis.p2c(f.from),G.second.y=f.axis.p2c(f.to));G.show=!0;b.triggerRedrawOverlay();!e&&M()&&k()};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(G.show&&M()){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(G.first.x,G.second.x),j=Math.min(G.first.y,G.second.y),l=Math.abs(G.second.x-G.first.x),k=Math.abs(G.second.y-G.first.y);e.fillRect(f,j,l,k);e.strokeRect(f,j,l,k);e.restore()}});
+b.hooks.shutdown.push(function(b,j){j.unbind("mousemove",e);j.unbind("mousedown",f);t&&a(document).unbind("mouseup",t)})},options:{selection:{mode:null,color:"#e8cfac"}},name:"selection",version:"1.1"})})(jQuery);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,k){this.rrd_data=a;this.rra_def_idx=b;this.rrd_align=e;this.row_cnt=f;this.pdp_step=j;this.my_idx=k}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 n=l*8;this.base_rrd_db_idx=f+j*n;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 n*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()};
+function RRDRRA(a,b,e,f,j,k){this.rrd_data=a;this.rra_info=e;this.row_cnt=e.row_cnt;this.ds_cnt=k;var l=k*8;this.base_rrd_db_idx=f+j*l;this.cur_row=a.getLongAt(b);this.calc_idx=function(a,b){if(a>=0&&a<this.row_cnt)if(b>=0&&b<k){var e=a+this.cur_row+1;e>=this.row_cnt&&(e-=this.row_cnt);return l*e+b*8}else throw RangeError("DS idx ("+a+") out of range [0-"+k+").");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()}
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.");};
@@ -384,22 +377,22 @@ 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(),n=a.getDay(),l=a.getMonth(),a=a.getFullYear(),p={d:j,dd:b(j),ddd:G[f].shortDays[n],dddd:G[f].days[n],m:l+1,mm:b(l+1),mmm:G[f].shortMonths[l],mmmm:G[f].months[l],yy:String(a).slice(2),yyyy:a},e=e.replace(M,function(a){return a in p?p[a]:a.slice(1,a.length-1)});return E.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){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 v(d,f,j){Q=d;ka=d.getFullYear();ra=d.getMonth();w=d.getDate();j=j||a.Event("api");j.type="change";B.trigger(j,[d]);j.isDefaultPrevented()||(b.val(e(d,f.format,f.lang)),b.data("date",d),I.hide(j))}function E(d){d.type=
-"onShow";B.trigger(d);a(document).bind("keydown.d",function(d){if(d.ctrlKey)return!0;var e=d.keyCode;if(e==8)return b.val(""),I.hide(d);if(e==27)return I.hide(d);if(a(p).index(e)>=0){if(!da)return I.show(d),d.preventDefault();var f=a("#"+y.weeks+" a"),j=a("."+y.focus),l=f.index(j);j.removeClass(y.focus);if(e==74||e==40)l+=7;else if(e==75||e==38)l-=7;else if(e==76||e==39)l+=1;else if(e==72||e==37)l-=1;l>41?(I.addMonth(),j=a("#"+y.weeks+" a:eq("+(l-42)+")")):l<0?(I.addMonth(-1),j=a("#"+y.weeks+" a:eq("+
-(l+42)+")")):j=f.eq(l);j.addClass(y.focus);return d.preventDefault()}if(e==34)return I.addMonth();if(e==33)return I.addMonth(-1);if(e==36)return I.today();e==13&&(a(d.target).is("select")||a("."+y.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("#"+y.root).length&&e!=b[0]&&(!aa||e!=aa[0])&&I.hide(d)})}var I=this,M=new Date,y=l.css,K=G[l.lang],O=a("#"+y.root),T=O.find("#"+y.title),aa,P,ba,ka,ra,w,Q=b.attr("data-value")||l.value||
-b.val(),W=b.attr("min")||l.min,d=b.attr("max")||l.max,da;W===0&&(W="0");Q=j(Q)||M;W=j(W||l.yearRange[0]*365);d=j(d||l.yearRange[1]*365);if(!K)throw"Dateinput: invalid language: "+l.lang;if(b.attr("type")=="date"){var la=a("<input/>");a.each("class,disabled,id,maxlength,name,readonly,required,size,style,tabindex,title,value".split(","),function(a,d){la.attr(d,b.attr(d))});b.replaceWith(la);b=la}b.addClass(y.input);var B=b.add(I);if(!O.length){O=a("<div><div><a/><div/><a/></div><div><div/><div/></div></div>").hide().css({position:"absolute"}).attr("id",
-y.root);O.children().eq(0).attr("id",y.head).end().eq(1).attr("id",y.body).children().eq(0).attr("id",y.days).end().eq(1).attr("id",y.weeks).end().end().end().find("a").eq(0).attr("id",y.prev).end().eq(1).attr("id",y.next);T=O.find("#"+y.head).find("div").attr("id",y.title);if(l.selectors){var ca=a("<select/>").attr("id",y.month),fa=a("<select/>").attr("id",y.year);T.html(ca.add(fa))}for(var na=O.find("#"+y.days),oa=0;oa<7;oa++)na.append(a("<span/>").text(K.shortDays[(oa+l.firstDay)%7]));a("body").append(O)}l.trigger&&
-(aa=a("<a/>").attr("href","#").addClass(y.trigger).click(function(a){I.show();return a.preventDefault()}).insertAfter(b));var sa=O.find("#"+y.weeks),fa=O.find("#"+y.year),ca=O.find("#"+y.month);a.extend(I,{show:function(d){if(!b.attr("readonly")&&!b.attr("disabled")&&!da&&(d=d||a.Event(),d.type="onBeforeShow",B.trigger(d),!d.isDefaultPrevented())){a.each(n,function(){this.hide()});da=!0;ca.unbind("change").change(function(){I.setValue(fa.val(),a(this).val())});fa.unbind("change").change(function(){I.setValue(a(this).val(),
-ca.val())});P=O.find("#"+y.prev).unbind("click").click(function(){P.hasClass(y.disabled)||I.addMonth(-1);return!1});ba=O.find("#"+y.next).unbind("click").click(function(){ba.hasClass(y.disabled)||I.addMonth();return!1});I.setValue(Q);var e=b.offset();/iPad/i.test(navigator.userAgent)&&(e.top-=a(window).scrollTop());O.css({top:e.top+b.outerHeight({margins:!0})+l.offset[0],left:e.left+l.offset[1]});l.speed?O.show(l.speed,function(){E(d)}):(O.show(),E(d));return I}},setValue:function(b,e,j){var n=parseInt(e,
-10)>=-1?new Date(parseInt(b,10),parseInt(e,10),parseInt(j||1,10)):b||Q;n<W?n=W:n>d&&(n=d);b=n.getFullYear();e=n.getMonth();j=n.getDate();e==-1?(e=11,b--):e==12&&(e=0,b++);if(!da)return v(n,l),I;ra=e;ka=b;var j=(new Date(b,e,1-l.firstDay)).getDay(),p=32-(new Date(b,e,32)).getDate(),o=32-(new Date(b,e-1,32)).getDate(),x;if(l.selectors){ca.empty();a.each(K.months,function(e,f){W<new Date(b,e+1,-1)&&d>new Date(b,e,0)&&ca.append(a("<option/>").html(f).attr("value",e))});fa.empty();for(var n=M.getFullYear(),
-w=n+l.yearRange[0];w<n+l.yearRange[1];w++)W<=new Date(w+1,-1,1)&&d>new Date(w,0,0)&&fa.append(a("<option/>").text(w));ca.val(e);fa.val(b)}else T.html(K.months[e]+" "+b);sa.empty();P.add(ba).removeClass(y.disabled);for(var w=!j?-7:0,B,u;w<(!j?35:42);w++)B=a("<a/>"),w%7===0&&(x=a("<div/>").addClass(y.week),sa.append(x)),w<j?(B.addClass(y.off),u=o-j+w+1,n=new Date(b,e-1,u)):w>=j+p?(B.addClass(y.off),u=w-p-j+1,n=new Date(b,e+1,u)):(u=w-j+1,n=new Date(b,e,u),f(Q,n)?B.attr("id",y.current).addClass(y.focus):
-f(M,n)&&B.attr("id",y.today)),W&&n<W&&B.add(P).addClass(y.disabled),d&&n>d&&B.add(ba).addClass(y.disabled),B.attr("href","#"+u).text(u).data("date",n),x.append(B);sa.find("a").click(function(b){var d=a(this);d.hasClass(y.disabled)||(a("#"+y.current).removeAttr("id"),d.attr("id",y.current),v(d.data("date"),l,b));return!1});y.sunday&&sa.find(y.week).each(function(){var b=l.firstDay?7-l.firstDay:0;a(this).children().slice(b,b+1).addClass(y.sunday)});return I},setMin:function(a,b){W=j(a);b&&Q<W&&I.setValue(W);
-return I},setMax:function(a,b){d=j(a);b&&Q>d&&I.setValue(d);return I},today:function(){return I.setValue(M)},addDay:function(a){return this.setValue(ka,ra,w+(a||1))},addMonth:function(a){return this.setValue(ka,ra+(a||1),w)},addYear:function(a){return this.setValue(ka+(a||1),ra,w)},hide:function(b){if(da){b=a.Event();b.type="onHide";B.trigger(b);a(document).unbind("click.d").unbind("keydown.d");if(b.isDefaultPrevented())return;O.hide();da=!1}return I},getConf:function(){return l},getInput:function(){return b},
-getCalendar:function(){return O},getValue:function(a){return a?e(Q,a,l.lang):Q},isOpen:function(){return da}});a.each(["onBeforeShow","onShow","change","onHide"],function(b,d){a.isFunction(l[d])&&a(I).bind(d,l[d]);I[d]=function(b){b&&a(I).bind(d,b);return I}});b.bind("focus click",I.show).keydown(function(b){var d=b.keyCode;if(!da&&a(p).index(d)>=0)return I.show(b),b.preventDefault();return b.shiftKey||b.ctrlKey||b.altKey||d==9?!0:b.preventDefault()});j(b.val())&&v(Q,l)}a.tools=a.tools||{version:"@VERSION"};
-var n=[],v,p=[75,76,38,39,74,72,40,37],G={};v=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:!1,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(",")});G[b]=e}};v.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 M=/d{1,4}|m{1,4}|yy(?:yy)?|"[^"]*"|'[^']*'/g,E=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,{},v.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);n.push(f);f=f.getInput().data("dateinput",f);e=e?e.add(f):f});return e?e:this}})(jQuery);/*
+(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(),l=a.getDay(),k=a.getMonth(),a=a.getFullYear(),v={d:j,dd:b(j),ddd:I[f].shortDays[l],dddd:I[f].days[l],m:k+1,mm:b(k+1),mmm:I[f].shortMonths[k],mmmm:I[f].months[k],yy:String(a).slice(2),yyyy:a},e=e.replace(M,function(a){return a in v?v[a]:a.slice(1,a.length-1)});return G.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){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 k(b,k){function v(d,f,j){Q=d;ma=d.getFullYear();va=d.getMonth();u=d.getDate();j=j||a.Event("api");j.type="change";D.trigger(j,[d]);j.isDefaultPrevented()||(b.val(e(d,f.format,f.lang)),b.data("date",d),H.hide(j))}function G(d){d.type=
+"onShow";D.trigger(d);a(document).bind("keydown.d",function(d){if(d.ctrlKey)return!0;var e=d.keyCode;if(e==8)return b.val(""),H.hide(d);if(e==27)return H.hide(d);if(a(B).index(e)>=0){if(!ea)return H.show(d),d.preventDefault();var f=a("#"+y.weeks+" a"),j=a("."+y.focus),k=f.index(j);j.removeClass(y.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?(H.addMonth(),j=a("#"+y.weeks+" a:eq("+(k-42)+")")):k<0?(H.addMonth(-1),j=a("#"+y.weeks+" a:eq("+
+(k+42)+")")):j=f.eq(k);j.addClass(y.focus);return d.preventDefault()}if(e==34)return H.addMonth();if(e==33)return H.addMonth(-1);if(e==36)return H.today();e==13&&(a(d.target).is("select")||a("."+y.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("#"+y.root).length&&e!=b[0]&&(!$||e!=$[0])&&H.hide(d)})}var H=this,M=new Date,y=k.css,N=I[k.lang],O=a("#"+y.root),T=O.find("#"+y.title),$,P,aa,ma,va,u,Q=b.attr("data-value")||k.value||
+b.val(),W=b.attr("min")||k.min,d=b.attr("max")||k.max,ea;W===0&&(W="0");Q=j(Q)||M;W=j(W||k.yearRange[0]*365);d=j(d||k.yearRange[1]*365);if(!N)throw"Dateinput: invalid language: "+k.lang;if(b.attr("type")=="date"){var na=a("<input/>");a.each("class,disabled,id,maxlength,name,readonly,required,size,style,tabindex,title,value".split(","),function(a,d){na.attr(d,b.attr(d))});b.replaceWith(na);b=na}b.addClass(y.input);var D=b.add(H);if(!O.length){O=a("<div><div><a/><div/><a/></div><div><div/><div/></div></div>").hide().css({position:"absolute"}).attr("id",
+y.root);O.children().eq(0).attr("id",y.head).end().eq(1).attr("id",y.body).children().eq(0).attr("id",y.days).end().eq(1).attr("id",y.weeks).end().end().end().find("a").eq(0).attr("id",y.prev).end().eq(1).attr("id",y.next);T=O.find("#"+y.head).find("div").attr("id",y.title);if(k.selectors){var da=a("<select/>").attr("id",y.month),ha=a("<select/>").attr("id",y.year);T.html(da.add(ha))}for(var qa=O.find("#"+y.days),ra=0;ra<7;ra++)qa.append(a("<span/>").text(N.shortDays[(ra+k.firstDay)%7]));a("body").append(O)}k.trigger&&
+($=a("<a/>").attr("href","#").addClass(y.trigger).click(function(a){H.show();return a.preventDefault()}).insertAfter(b));var wa=O.find("#"+y.weeks),ha=O.find("#"+y.year),da=O.find("#"+y.month);a.extend(H,{show:function(d){if(!b.attr("readonly")&&!b.attr("disabled")&&!ea&&(d=d||a.Event(),d.type="onBeforeShow",D.trigger(d),!d.isDefaultPrevented())){a.each(l,function(){this.hide()});ea=!0;da.unbind("change").change(function(){H.setValue(ha.val(),a(this).val())});ha.unbind("change").change(function(){H.setValue(a(this).val(),
+da.val())});P=O.find("#"+y.prev).unbind("click").click(function(){P.hasClass(y.disabled)||H.addMonth(-1);return!1});aa=O.find("#"+y.next).unbind("click").click(function(){aa.hasClass(y.disabled)||H.addMonth();return!1});H.setValue(Q);var e=b.offset();/iPad/i.test(navigator.userAgent)&&(e.top-=a(window).scrollTop());O.css({top:e.top+b.outerHeight({margins:!0})+k.offset[0],left:e.left+k.offset[1]});k.speed?O.show(k.speed,function(){G(d)}):(O.show(),G(d));return H}},setValue:function(b,e,j){var l=parseInt(e,
+10)>=-1?new Date(parseInt(b,10),parseInt(e,10),parseInt(j||1,10)):b||Q;l<W?l=W:l>d&&(l=d);b=l.getFullYear();e=l.getMonth();j=l.getDate();e==-1?(e=11,b--):e==12&&(e=0,b++);if(!ea)return v(l,k),H;va=e;ma=b;var j=(new Date(b,e,1-k.firstDay)).getDay(),r=32-(new Date(b,e,32)).getDate(),o=32-(new Date(b,e-1,32)).getDate(),u;if(k.selectors){da.empty();a.each(N.months,function(e,f){W<new Date(b,e+1,-1)&&d>new Date(b,e,0)&&da.append(a("<option/>").html(f).attr("value",e))});ha.empty();for(var l=M.getFullYear(),
+B=l+k.yearRange[0];B<l+k.yearRange[1];B++)W<=new Date(B+1,-1,1)&&d>new Date(B,0,0)&&ha.append(a("<option/>").text(B));da.val(e);ha.val(b)}else T.html(N.months[e]+" "+b);wa.empty();P.add(aa).removeClass(y.disabled);for(var B=!j?-7:0,D,w;B<(!j?35:42);B++)D=a("<a/>"),B%7===0&&(u=a("<div/>").addClass(y.week),wa.append(u)),B<j?(D.addClass(y.off),w=o-j+B+1,l=new Date(b,e-1,w)):B>=j+r?(D.addClass(y.off),w=B-r-j+1,l=new Date(b,e+1,w)):(w=B-j+1,l=new Date(b,e,w),f(Q,l)?D.attr("id",y.current).addClass(y.focus):
+f(M,l)&&D.attr("id",y.today)),W&&l<W&&D.add(P).addClass(y.disabled),d&&l>d&&D.add(aa).addClass(y.disabled),D.attr("href","#"+w).text(w).data("date",l),u.append(D);wa.find("a").click(function(b){var d=a(this);d.hasClass(y.disabled)||(a("#"+y.current).removeAttr("id"),d.attr("id",y.current),v(d.data("date"),k,b));return!1});y.sunday&&wa.find(y.week).each(function(){var b=k.firstDay?7-k.firstDay:0;a(this).children().slice(b,b+1).addClass(y.sunday)});return H},setMin:function(a,b){W=j(a);b&&Q<W&&H.setValue(W);
+return H},setMax:function(a,b){d=j(a);b&&Q>d&&H.setValue(d);return H},today:function(){return H.setValue(M)},addDay:function(a){return this.setValue(ma,va,u+(a||1))},addMonth:function(a){return this.setValue(ma,va+(a||1),u)},addYear:function(a){return this.setValue(ma+(a||1),va,u)},hide:function(b){if(ea){b=a.Event();b.type="onHide";D.trigger(b);a(document).unbind("click.d").unbind("keydown.d");if(b.isDefaultPrevented())return;O.hide();ea=!1}return H},getConf:function(){return k},getInput:function(){return b},
+getCalendar:function(){return O},getValue:function(a){return a?e(Q,a,k.lang):Q},isOpen:function(){return ea}});a.each(["onBeforeShow","onShow","change","onHide"],function(b,d){a.isFunction(k[d])&&a(H).bind(d,k[d]);H[d]=function(b){b&&a(H).bind(d,b);return H}});b.bind("focus click",H.show).keydown(function(b){var d=b.keyCode;if(!ea&&a(B).index(d)>=0)return H.show(b),b.preventDefault();return b.shiftKey||b.ctrlKey||b.altKey||d==9?!0:b.preventDefault()});j(b.val())&&v(Q,k)}a.tools=a.tools||{version:"@VERSION"};
+var l=[],v,B=[75,76,38,39,74,72,40,37],I={};v=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:!1,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(",")});I[b]=e}};v.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 M=/d{1,4}|m{1,4}|yy(?:yy)?|"[^"]*"|'[^']*'/g,G=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,{},v.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 k(a(this),b);l.push(f);f=f.getInput().data("dateinput",f);e=e?e.add(f):f});return e?e:this}})(jQuery);/*
jQuery Tools @VERSION Tabs- The basics of UI design.
@@ -410,12 +403,12 @@ a))});var e;this.each(function(){var f=new l(a(this),b);n.push(f);f=f.getInput()
Since: November 2008
Date: @DATE
*/
-(function(a){function b(b,f,n){var v=this,p=b.add(this),G=b.find(n.tabs),M=f.jquery?f:b.children(f),E;G.length||(G=b.children());M.length||(M=b.parent().find(f));M.length||(M=a(f));a.extend(this,{click:function(b,f){var j=G.eq(b);typeof b=="string"&&b.replace("#","")&&(j=G.filter("[href*="+b.replace("#","")+"]"),b=Math.max(G.index(j),0));if(n.rotate){var l=G.length-1;if(b<0)return v.click(l,f);if(b>l)return v.click(0,f)}if(!j.length){if(E>=0)return v;b=n.initialIndex;j=G.eq(b)}if(b===E)return v;f=
-f||a.Event();f.type="onBeforeClick";p.trigger(f,[b]);if(!f.isDefaultPrevented())return e[n.effect].call(v,b,function(){f.type="onClick";p.trigger(f,[b])}),E=b,G.removeClass(n.current),j.addClass(n.current),v},getConf:function(){return n},getTabs:function(){return G},getPanes:function(){return M},getCurrentPane:function(){return M.eq(E)},getCurrentTab:function(){return G.eq(E)},getIndex:function(){return E},next:function(){return v.click(E+1)},prev:function(){return v.click(E-1)},destroy:function(){G.unbind(n.event).removeClass(n.current);
-M.find("a[href^=#]").unbind("click.T");return v}});a.each("onBeforeClick,onClick".split(","),function(b,e){a.isFunction(n[e])&&a(v).bind(e,n[e]);v[e]=function(b){b&&a(v).bind(e,b);return v}});if(n.history&&a.fn.history)a.tools.history.init(G),n.event="history";G.each(function(b){a(this).bind(n.event,function(a){v.click(b,a);return a.preventDefault()})});M.find("a[href^=#]").bind("click.T",function(b){v.click(a(this).attr("href"),b)});location.hash&&n.tabs=="a"&&b.find("[href="+location.hash+"]").length?
-v.click(location.hash):(n.initialIndex===0||n.initialIndex>0)&&v.click(n.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,p=this.getPanes();f?p.fadeOut(f):p.hide();p.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 n=this.data("tabs");n&&(n.destroy(),this.removeData("tabs"));
-a.isFunction(f)&&(f={onBeforeClick:f});f=a.extend({},a.tools.tabs.conf,f);this.each(function(){n=new b(a(this),e,f);a(this).data("tabs",n)});return f.api?n:this}})(jQuery);/*
+(function(a){function b(b,f,l){var v=this,B=b.add(this),I=b.find(l.tabs),M=f.jquery?f:b.children(f),G;I.length||(I=b.children());M.length||(M=b.parent().find(f));M.length||(M=a(f));a.extend(this,{click:function(b,f){var j=I.eq(b);typeof b=="string"&&b.replace("#","")&&(j=I.filter("[href*="+b.replace("#","")+"]"),b=Math.max(I.index(j),0));if(l.rotate){var k=I.length-1;if(b<0)return v.click(k,f);if(b>k)return v.click(0,f)}if(!j.length){if(G>=0)return v;b=l.initialIndex;j=I.eq(b)}if(b===G)return v;f=
+f||a.Event();f.type="onBeforeClick";B.trigger(f,[b]);if(!f.isDefaultPrevented())return e[l.effect].call(v,b,function(){f.type="onClick";B.trigger(f,[b])}),G=b,I.removeClass(l.current),j.addClass(l.current),v},getConf:function(){return l},getTabs:function(){return I},getPanes:function(){return M},getCurrentPane:function(){return M.eq(G)},getCurrentTab:function(){return I.eq(G)},getIndex:function(){return G},next:function(){return v.click(G+1)},prev:function(){return v.click(G-1)},destroy:function(){I.unbind(l.event).removeClass(l.current);
+M.find("a[href^=#]").unbind("click.T");return v}});a.each("onBeforeClick,onClick".split(","),function(b,e){a.isFunction(l[e])&&a(v).bind(e,l[e]);v[e]=function(b){b&&a(v).bind(e,b);return v}});if(l.history&&a.fn.history)a.tools.history.init(I),l.event="history";I.each(function(b){a(this).bind(l.event,function(a){v.click(b,a);return a.preventDefault()})});M.find("a[href^=#]").bind("click.T",function(b){v.click(a(this).attr("href"),b)});location.hash&&l.tabs=="a"&&b.find("[href="+location.hash+"]").length?
+v.click(location.hash):(l.initialIndex===0||l.initialIndex>0)&&v.click(l.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,B=this.getPanes();f?B.fadeOut(f):B.hide();B.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 l=this.data("tabs");l&&(l.destroy(),this.removeData("tabs"));
+a.isFunction(f)&&(f={onBeforeClick:f});f=a.extend({},a.tools.tabs.conf,f);this.each(function(){l=new b(a(this),e,f);a(this).data("tabs",l)});return f.api?l:this}})(jQuery);/*
jQuery Tools @VERSION History "Back button for AJAX apps"
@@ -426,5 +419,5 @@ a.isFunction(f)&&(f={onBeforeClick:f});f=a.extend({},a.tools.tabs.conf,f);this.e
Since: Mar 2010
Date: @DATE
*/
-(function(a){function b(a){if(a){var b=f.contentWindow.document;b.open().close();b.location.hash=a}}var e,f,j,l;a.tools=a.tools||{version:"@VERSION"};a.tools.history={init:function(n){l||(a.browser.msie&&a.browser.version<"8"?f||(f=a("<iframe/>").attr("src","javascript:false;").hide().get(0),a("body").append(f),setInterval(function(){var b=f.contentWindow.document.location.hash;e!==b&&a.event.trigger("hash",b)},100),b(location.hash||"#")):setInterval(function(){var b=location.hash;b!==e&&a.event.trigger("hash",
-b)},100),j=!j?n:j.add(n),n.click(function(e){var j=a(this).attr("href");f&&b(j);if(j.slice(0,1)!="#")return location.href="#"+j,e.preventDefault()}),l=!0)}};a(window).bind("hash",function(b,f){f?j.filter(function(){var b=a(this).attr("href");return b==f||b==f.replace("#","")}).trigger("history",[f]):j.eq(0).trigger("history",[f]);e=f});a.fn.history=function(b){a.tools.history.init(this);return this.bind("history",b)}})(jQuery);
+(function(a){function b(a){if(a){var b=f.contentWindow.document;b.open().close();b.location.hash=a}}var e,f,j,k;a.tools=a.tools||{version:"@VERSION"};a.tools.history={init:function(l){k||(a.browser.msie&&a.browser.version<"8"?f||(f=a("<iframe/>").attr("src","javascript:false;").hide().get(0),a("body").append(f),setInterval(function(){var b=f.contentWindow.document.location.hash;e!==b&&a.event.trigger("hash",b)},100),b(location.hash||"#")):setInterval(function(){var b=location.hash;b!==e&&a.event.trigger("hash",
+b)},100),j=!j?l:j.add(l),l.click(function(e){var j=a(this).attr("href");f&&b(j);if(j.slice(0,1)!="#")return location.href="#"+j,e.preventDefault()}),k=!0)}};a(window).bind("hash",function(b,f){f?j.filter(function(){var b=a(this).attr("href");return b==f||b==f.replace("#","")}).trigger("history",[f]):j.eq(0).trigger("history",[f]);e=f});a.fn.history=function(b){a.tools.history.init(this);return this.bind("history",b)}})(jQuery);