# Inlined js so we don't have to wrestle with packaging systems. # Includes jquery 1.5, flot 0.6, and the stack plugin all = ''' /*\n * jQuery JavaScript Library v1.5\n * http://jquery.com/\n *\n * Copyright 2011, John Resig\n * Dual licensed under the MIT or GPL Version 2 licenses.\n * http://jquery.org/license\n *\n * Includes Sizzle.js\n * http://sizzlejs.com/\n * Copyright 2011, The Dojo Foundation\n * Released under the MIT, BSD, and GPL Licenses.\n *\n * Date: Mon Jan 31 08:31:29 2011 -0500\n */\n(function(aR,G){var ag=aR.document;var a=(function(){var bh=function(bC,bD){return new bh.fn.init(bC,bD,bf)},bx=aR.jQuery,bj=aR.$,bf,bB=/^(?:[^<]*(<[\\w\\W]+>)[^>]*$|#([\\w\\-]+)$)/,bp=/\\S/,bl=/^\\s+/,bg=/\\s+$/,bk=/\\d/,bd=/^<(\\w+)\\s*\\/?>(?:<\\/\\1>)?$/,bq=/^[\\],:{}\\s]*$/,bz=/\\\\(?:["\\\\\\/bfnrt]|u[0-9a-fA-F]{4})/g,bs=/"[^"\\\\\\n\\r]*"|true|false|null|-?\\d+(?:\\.\\d*)?(?:[eE][+\\-]?\\d+)?/g,bm=/(?:^|:|,)(?:\\s*\\[)+/g,bb=/(webkit)[ \\/]([\\w.]+)/,bu=/(opera)(?:.*version)?[ \\/]([\\w.]+)/,bt=/(msie) ([\\w.]+)/,bv=/(mozilla)(?:.*? rv:([\\w.]+))?/,bA=navigator.userAgent,by,bw=false,be,a6="then done fail isResolved isRejected promise".split(" "),a7,bo=Object.prototype.toString,bi=Object.prototype.hasOwnProperty,bc=Array.prototype.push,bn=Array.prototype.slice,br=String.prototype.trim,a8=Array.prototype.indexOf,ba={};bh.fn=bh.prototype={constructor:bh,init:function(bC,bG,bF){var bE,bH,bD,bI;if(!bC){return this}if(bC.nodeType){this.context=this[0]=bC;this.length=1;return this}if(bC==="body"&&!bG&&ag.body){this.context=ag;this[0]=ag.body;this.selector="body";this.length=1;return this}if(typeof bC==="string"){bE=bB.exec(bC);if(bE&&(bE[1]||!bG)){if(bE[1]){bG=bG instanceof bh?bG[0]:bG;bI=(bG?bG.ownerDocument||bG:ag);bD=bd.exec(bC);if(bD){if(bh.isPlainObject(bG)){bC=[ag.createElement(bD[1])];bh.fn.attr.call(bC,bG,true)}else{bC=[bI.createElement(bD[1])]}}else{bD=bh.buildFragment([bE[1]],[bI]);bC=(bD.cacheable?bh.clone(bD.fragment):bD.fragment).childNodes}return bh.merge(this,bC)}else{bH=ag.getElementById(bE[2]);if(bH&&bH.parentNode){if(bH.id!==bE[2]){return bF.find(bC)}this.length=1;this[0]=bH}this.context=ag;this.selector=bC;return this}}else{if(!bG||bG.jquery){return(bG||bF).find(bC)}else{return this.constructor(bG).find(bC)}}}else{if(bh.isFunction(bC)){return bF.ready(bC)}}if(bC.selector!==G){this.selector=bC.selector;this.context=bC.context}return bh.makeArray(bC,this)},selector:"",jquery:"1.5",length:0,size:function(){return this.length},toArray:function(){return bn.call(this,0)},get:function(bC){return bC==null?this.toArray():(bC<0?this[this.length+bC]:this[bC])},pushStack:function(bD,bF,bC){var bE=this.constructor();if(bh.isArray(bD)){bc.apply(bE,bD)}else{bh.merge(bE,bD)}bE.prevObject=this;bE.context=this.context;if(bF==="find"){bE.selector=this.selector+(this.selector?" ":"")+bC}else{if(bF){bE.selector=this.selector+"."+bF+"("+bC+")"}}return bE},each:function(bD,bC){return bh.each(this,bD,bC)},ready:function(bC){bh.bindReady();be.done(bC);return this},eq:function(bC){return bC===-1?this.slice(bC):this.slice(bC,+bC+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(bn.apply(this,arguments),"slice",bn.call(arguments).join(","))},map:function(bC){return this.pushStack(bh.map(this,function(bE,bD){return bC.call(bE,bD,bE)}))},end:function(){return this.prevObject||this.constructor(null)},push:bc,sort:[].sort,splice:[].splice};bh.fn.init.prototype=bh.fn;bh.extend=bh.fn.extend=function(){var bL,bE,bC,bD,bI,bJ,bH=arguments[0]||{},bG=1,bF=arguments.length,bK=false;if(typeof bH==="boolean"){bK=bH;bH=arguments[1]||{};bG=2}if(typeof bH!=="object"&&!bh.isFunction(bH)){bH={}}if(bF===bG){bH=this;--bG}for(;bG0){return}be.resolveWith(ag,[bh]);if(bh.fn.trigger){bh(ag).trigger("ready").unbind("ready")}}},bindReady:function(){if(bw){return}bw=true;if(ag.readyState==="complete"){return setTimeout(bh.ready,1)}if(ag.addEventListener){ag.addEventListener("DOMContentLoaded",a7,false);aR.addEventListener("load",bh.ready,false)}else{if(ag.attachEvent){ag.attachEvent("onreadystatechange",a7);aR.attachEvent("onload",bh.ready);var bC=false;try{bC=aR.frameElement==null}catch(bD){}if(ag.documentElement.doScroll&&bC){a9()}}}},isFunction:function(bC){return bh.type(bC)==="function"},isArray:Array.isArray||function(bC){return bh.type(bC)==="array"},isWindow:function(bC){return bC&&typeof bC==="object"&&"setInterval" in bC},isNaN:function(bC){return bC==null||!bk.test(bC)||isNaN(bC)},type:function(bC){return bC==null?String(bC):ba[bo.call(bC)]||"object"},isPlainObject:function(bD){if(!bD||bh.type(bD)!=="object"||bD.nodeType||bh.isWindow(bD)){return false}if(bD.constructor&&!bi.call(bD,"constructor")&&!bi.call(bD.constructor.prototype,"isPrototypeOf")){return false}var bC;for(bC in bD){}return bC===G||bi.call(bD,bC)},isEmptyObject:function(bD){for(var bC in bD){return false}return true},error:function(bC){throw bC},parseJSON:function(bC){if(typeof bC!=="string"||!bC){return null}bC=bh.trim(bC);if(bq.test(bC.replace(bz,"@").replace(bs,"]").replace(bm,""))){return aR.JSON&&aR.JSON.parse?aR.JSON.parse(bC):(new Function("return "+bC))()}else{bh.error("Invalid JSON: "+bC)}},parseXML:function(bE,bC,bD){if(aR.DOMParser){bD=new DOMParser();bC=bD.parseFromString(bE,"text/xml")}else{bC=new ActiveXObject("Microsoft.XMLDOM");bC.async="false";bC.loadXML(bE)}bD=bC.documentElement;if(!bD||!bD.nodeName||bD.nodeName==="parsererror"){bh.error("Invalid XML: "+bE)}return bC},noop:function(){},globalEval:function(bE){if(bE&&bp.test(bE)){var bD=ag.getElementsByTagName("head")[0]||ag.documentElement,bC=ag.createElement("script");bC.type="text/javascript";if(bh.support.scriptEval()){bC.appendChild(ag.createTextNode(bE))}else{bC.text=bE}bD.insertBefore(bC,bD.firstChild);bD.removeChild(bC)}},nodeName:function(bD,bC){return bD.nodeName&&bD.nodeName.toUpperCase()===bC.toUpperCase()},each:function(bF,bJ,bE){var bD,bG=0,bH=bF.length,bC=bH===G||bh.isFunction(bF);if(bE){if(bC){for(bD in bF){if(bJ.apply(bF[bD],bE)===false){break}}}else{for(;bG1){bC=new Array(bG);bh.each(bE,function(bI,bJ){bh.when(bJ).then(function(bK){bC[bI]=arguments.length>1?bn.call(arguments,0):bK;if(!--bG){bD.resolveWith(bH,bC)}},bD.reject)})}else{if(bD!==bF){bD.resolve(bF)}}return bH},uaMatch:function(bD){bD=bD.toLowerCase();var bC=bb.exec(bD)||bu.exec(bD)||bt.exec(bD)||bD.indexOf("compatible")<0&&bv.exec(bD)||[];return{browser:bC[1]||"",version:bC[2]||"0"}},sub:function(){function bD(bF,bG){return new bD.fn.init(bF,bG)}bh.extend(true,bD,this);bD.superclass=this;bD.fn=bD.prototype=this();bD.fn.constructor=bD;bD.subclass=this.subclass;bD.fn.init=function bE(bF,bG){if(bG&&bG instanceof bh&&!(bG instanceof bD)){bG=bD(bG)}return bh.fn.init.call(this,bF,bG,bC)};bD.fn.init.prototype=bD.fn;var bC=bD(ag);return bD},browser:{}});be=bh._Deferred();bh.each("Boolean Number String Function Array Date RegExp Object".split(" "),function(bD,bC){ba["[object "+bC+"]"]=bC.toLowerCase()});by=bh.uaMatch(bA);if(by.browser){bh.browser[by.browser]=true;bh.browser.version=by.version}if(bh.browser.webkit){bh.browser.safari=true}if(a8){bh.inArray=function(bC,bD){return a8.call(bD,bC)}}bf=bh(ag);if(ag.addEventListener){a7=function(){ag.removeEventListener("DOMContentLoaded",a7,false);bh.ready()}}else{if(ag.attachEvent){a7=function(){if(ag.readyState==="complete"){ag.detachEvent("onreadystatechange",a7);bh.ready()}}}}function a9(){if(bh.isReady){return}try{ag.documentElement.doScroll("left")}catch(bC){setTimeout(a9,1);return}bh.ready()}return(aR.jQuery=aR.$=bh)})();(function(){a.support={};var a6=ag.createElement("div");a6.style.display="none";a6.innerHTML="
a";var bd=a6.getElementsByTagName("*"),bb=a6.getElementsByTagName("a")[0],bc=ag.createElement("select"),a7=bc.appendChild(ag.createElement("option"));if(!bd||!bd.length||!bb){return}a.support={leadingWhitespace:a6.firstChild.nodeType===3,tbody:!a6.getElementsByTagName("tbody").length,htmlSerialize:!!a6.getElementsByTagName("link").length,style:/red/.test(bb.getAttribute("style")),hrefNormalized:bb.getAttribute("href")==="/a",opacity:/^0.55$/.test(bb.style.opacity),cssFloat:!!bb.style.cssFloat,checkOn:a6.getElementsByTagName("input")[0].value==="on",optSelected:a7.selected,deleteExpando:true,optDisabled:false,checkClone:false,_scriptEval:null,noCloneEvent:true,boxModel:null,inlineBlockNeedsLayout:false,shrinkWrapBlocks:false,reliableHiddenOffsets:true};bc.disabled=true;a.support.optDisabled=!a7.disabled;a.support.scriptEval=function(){if(a.support._scriptEval===null){var bf=ag.documentElement,bg=ag.createElement("script"),bi="script"+a.now();bg.type="text/javascript";try{bg.appendChild(ag.createTextNode("window."+bi+"=1;"))}catch(bh){}bf.insertBefore(bg,bf.firstChild);if(aR[bi]){a.support._scriptEval=true;delete aR[bi]}else{a.support._scriptEval=false}bf.removeChild(bg);bf=bg=bi=null}return a.support._scriptEval};try{delete a6.test}catch(a8){a.support.deleteExpando=false}if(a6.attachEvent&&a6.fireEvent){a6.attachEvent("onclick",function be(){a.support.noCloneEvent=false;a6.detachEvent("onclick",be)});a6.cloneNode(true).fireEvent("onclick")}a6=ag.createElement("div");a6.innerHTML="";var a9=ag.createDocumentFragment();a9.appendChild(a6.firstChild);a.support.checkClone=a9.cloneNode(true).cloneNode(true).lastChild.checked;a(function(){var bh=ag.createElement("div"),bf=ag.getElementsByTagName("body")[0];if(!bf){return}bh.style.width=bh.style.paddingLeft="1px";bf.appendChild(bh);a.boxModel=a.support.boxModel=bh.offsetWidth===2;if("zoom" in bh.style){bh.style.display="inline";bh.style.zoom=1;a.support.inlineBlockNeedsLayout=bh.offsetWidth===2;bh.style.display="";bh.innerHTML="
";a.support.shrinkWrapBlocks=bh.offsetWidth!==2}bh.innerHTML="
t
";var bg=bh.getElementsByTagName("td");a.support.reliableHiddenOffsets=bg[0].offsetHeight===0;bg[0].style.display="";bg[1].style.display="none";a.support.reliableHiddenOffsets=a.support.reliableHiddenOffsets&&bg[0].offsetHeight===0;bh.innerHTML="";bf.removeChild(bh).style.display="none";bh=bg=null});var ba=function(bf){var bh=ag.createElement("div");bf="on"+bf;if(!bh.attachEvent){return true}var bg=(bf in bh);if(!bg){bh.setAttribute(bf,"return;");bg=typeof bh[bf]==="function"}bh=null;return bg};a.support.submitBubbles=ba("submit");a.support.changeBubbles=ba("change");a6=bd=bb=null})();var av=/^(?:\\{.*\\}|\\[.*\\])$/;a.extend({cache:{},uuid:0,expando:"jQuery"+(a.fn.jquery+Math.random()).replace(/\\D/g,""),noData:{embed:true,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",applet:true},hasData:function(a6){a6=a6.nodeType?a.cache[a6[a.expando]]:a6[a.expando];return !!a6&&!a.isEmptyObject(a6)},data:function(a9,a7,bb,ba){if(!a.acceptData(a9)){return}var be=a.expando,bd=typeof a7==="string",bc,bf=a9.nodeType,a6=bf?a.cache:a9,a8=bf?a9[a.expando]:a9[a.expando]&&a.expando;if((!a8||(ba&&a8&&!a6[a8][be]))&&bd&&bb===G){return}if(!a8){if(bf){a9[a.expando]=a8=++a.uuid}else{a8=a.expando}}if(!a6[a8]){a6[a8]={}}if(typeof a7==="object"){if(ba){a6[a8][be]=a.extend(a6[a8][be],a7)}else{a6[a8]=a.extend(a6[a8],a7)}}bc=a6[a8];if(ba){if(!bc[be]){bc[be]={}}bc=bc[be]}if(bb!==G){bc[a7]=bb}if(a7==="events"&&!bc[a7]){return bc[be]&&bc[be].events}return bd?bc[a7]:bc},removeData:function(ba,a8,bb){if(!a.acceptData(ba)){return}var bd=a.expando,be=ba.nodeType,a7=be?a.cache:ba,a9=be?ba[a.expando]:a.expando;if(!a7[a9]){return}if(a8){var bc=bb?a7[a9][bd]:a7[a9];if(bc){delete bc[a8];if(!a.isEmptyObject(bc)){return}}}if(bb){delete a7[a9][bd];if(!a.isEmptyObject(a7[a9])){return}}var a6=a7[a9][bd];if(a.support.deleteExpando||a7!=aR){delete a7[a9]}else{a7[a9]=null}if(a6){a7[a9]={};a7[a9][bd]=a6}else{if(be){if(a.support.deleteExpando){delete ba[a.expando]}else{if(ba.removeAttribute){ba.removeAttribute(a.expando)}else{ba[a.expando]=null}}}}},_data:function(a7,a6,a8){return a.data(a7,a6,a8,true)},acceptData:function(a7){if(a7.nodeName){var a6=a.noData[a7.nodeName.toLowerCase()];if(a6){return !(a6===true||a7.getAttribute("classid")!==a6)}}return true}});a.fn.extend({data:function(ba,bc){var bb=null;if(typeof ba==="undefined"){if(this.length){bb=a.data(this[0]);if(this[0].nodeType===1){var a6=this[0].attributes,a8;for(var a9=0,a7=a6.length;a9-1){return true}}return false},val:function(be){if(!arguments.length){var a8=this[0];if(a8){if(a.nodeName(a8,"option")){var a7=a8.attributes.value;return !a7||a7.specified?a8.value:a8.text}if(a.nodeName(a8,"select")){var bc=a8.selectedIndex,bf=[],bg=a8.options,bb=a8.type==="select-one";if(bc<0){return null}for(var a9=bb?bc:0,bd=bb?bc+1:bg.length;a9=0}else{if(a.nodeName(this,"select")){var bh=a.makeArray(bk);a("option",this).each(function(){this.selected=a.inArray(a(this).val(),bh)>=0});if(!bh.length){this.selectedIndex=-1}}else{this.value=bk}}})}});a.extend({attrFn:{val:true,css:true,html:true,text:true,data:true,width:true,height:true,offset:true},attr:function(a7,a6,bc,bf){if(!a7||a7.nodeType===3||a7.nodeType===8||a7.nodeType===2){return G}if(bf&&a6 in a.attrFn){return a(a7)[a6](bc)}var a8=a7.nodeType!==1||!a.isXMLDoc(a7),bb=bc!==G;a6=a8&&a.props[a6]||a6;if(a7.nodeType===1){var ba=aU.test(a6);if(a6==="selected"&&!a.support.optSelected){var bd=a7.parentNode;if(bd){bd.selectedIndex;if(bd.parentNode){bd.parentNode.selectedIndex}}}if((a6 in a7||a7[a6]!==G)&&a8&&!ba){if(bb){if(a6==="type"&&e.test(a7.nodeName)&&a7.parentNode){a.error("type property can\'t be changed")}if(bc===null){if(a7.nodeType===1){a7.removeAttribute(a6)}}else{a7[a6]=bc}}if(a.nodeName(a7,"form")&&a7.getAttributeNode(a6)){return a7.getAttributeNode(a6).nodeValue}if(a6==="tabIndex"){var be=a7.getAttributeNode("tabIndex");return be&&be.specified?be.value:B.test(a7.nodeName)||k.test(a7.nodeName)&&a7.href?0:G}return a7[a6]}if(!a.support.style&&a8&&a6==="style"){if(bb){a7.style.cssText=""+bc}return a7.style.cssText}if(bb){a7.setAttribute(a6,""+bc)}if(!a7.attributes[a6]&&(a7.hasAttribute&&!a7.hasAttribute(a6))){return G}var a9=!a.support.hrefNormalized&&a8&&ba?a7.getAttribute(a6,2):a7.getAttribute(a6);return a9===null?G:a9}if(bb){a7[a6]=bc}return a7[a6]}});var aI=/\\.(.*)$/,aT=/^(?:textarea|input|select)$/i,I=/\\./g,W=/ /g,ao=/[^\\w\\s.|`]/g,D=function(a6){return a6.replace(ao,"\\\\$&")},aA="events";a.event={add:function(a9,bd,bi,bb){if(a9.nodeType===3||a9.nodeType===8){return}if(a.isWindow(a9)&&(a9!==aR&&!a9.frameElement)){a9=aR}if(bi===false){bi=aX}else{if(!bi){return}}var a7,bh;if(bi.handler){a7=bi;bi=a7.handler}if(!bi.guid){bi.guid=a.guid++}var be=a._data(a9);if(!be){return}var bj=be[aA],bc=be.handle;if(typeof bj==="function"){bc=bj.handle;bj=bj.events}else{if(!bj){if(!a9.nodeType){be[aA]=be=function(){}}be.events=bj={}}}if(!bc){be.handle=bc=function(){return typeof a!=="undefined"&&!a.event.triggered?a.event.handle.apply(bc.elem,arguments):G}}bc.elem=a9;bd=bd.split(" ");var bg,ba=0,a6;while((bg=bd[ba++])){bh=a7?a.extend({},a7):{handler:bi,data:bb};if(bg.indexOf(".")>-1){a6=bg.split(".");bg=a6.shift();bh.namespace=a6.slice(0).sort().join(".")}else{a6=[];bh.namespace=""}bh.type=bg;if(!bh.guid){bh.guid=bi.guid}var a8=bj[bg],bf=a.event.special[bg]||{};if(!a8){a8=bj[bg]=[];if(!bf.setup||bf.setup.call(a9,bb,a6,bc)===false){if(a9.addEventListener){a9.addEventListener(bg,bc,false)}else{if(a9.attachEvent){a9.attachEvent("on"+bg,bc)}}}}if(bf.add){bf.add.call(a9,bh);if(!bh.handler.guid){bh.handler.guid=bi.guid}}a8.push(bh);a.event.global[bg]=true}a9=null},global:{},remove:function(bl,bg,a8,bc){if(bl.nodeType===3||bl.nodeType===8){return}if(a8===false){a8=aX}var bo,bb,bd,bi,bj=0,a9,be,bh,ba,bf,a6,bn,bk=a.hasData(bl)&&a._data(bl),a7=bk&&bk[aA];if(!bk||!a7){return}if(typeof a7==="function"){bk=a7;a7=a7.events}if(bg&&bg.type){a8=bg.handler;bg=bg.type}if(!bg||typeof bg==="string"&&bg.charAt(0)==="."){bg=bg||"";for(bb in a7){a.event.remove(bl,bb+bg)}return}bg=bg.split(" ");while((bb=bg[bj++])){bn=bb;a6=null;a9=bb.indexOf(".")<0;be=[];if(!a9){be=bb.split(".");bb=be.shift();bh=new RegExp("(^|\\\\.)"+a.map(be.slice(0).sort(),D).join("\\\\.(?:.*\\\\.)?")+"(\\\\.|$)")}bf=a7[bb];if(!bf){continue}if(!a8){for(bi=0;bi=0){a7.type=bg=bg.slice(0,-1);a7.exclusive=true}if(!a9){a7.stopPropagation();if(a.event.global[bg]){a.each(a.cache,function(){var bl=a.expando,bk=this[bl];if(bk&&bk.events&&bk.events[bg]){a.event.trigger(a7,bc,bk.handle.elem)}})}}if(!a9||a9.nodeType===3||a9.nodeType===8){return G}a7.result=G;a7.target=a9;bc=a.makeArray(bc);bc.unshift(a7)}a7.currentTarget=a9;var bd=a9.nodeType?a._data(a9,"handle"):(a._data(a9,aA)||{}).handle;if(bd){bd.apply(a9,bc)}var bi=a9.parentNode||a9.ownerDocument;try{if(!(a9&&a9.nodeName&&a.noData[a9.nodeName.toLowerCase()])){if(a9["on"+bg]&&a9["on"+bg].apply(a9,bc)===false){a7.result=false;a7.preventDefault()}}}catch(bh){}if(!a7.isPropagationStopped()&&bi){a.event.trigger(a7,bc,bi,true)}else{if(!a7.isDefaultPrevented()){var a8,be=a7.target,a6=bg.replace(aI,""),bj=a.nodeName(be,"a")&&a6==="click",bf=a.event.special[a6]||{};if((!bf._default||bf._default.call(a9,a7)===false)&&!bj&&!(be&&be.nodeName&&a.noData[be.nodeName.toLowerCase()])){try{if(be[a6]){a8=be["on"+a6];if(a8){be["on"+a6]=null}a.event.triggered=true;be[a6]()}}catch(ba){}if(a8){be["on"+a6]=a8}a.event.triggered=false}}}},handle:function(a6){var bf,a8,a7,bh,bg,bb=[],bd=a.makeArray(arguments);a6=bd[0]=a.event.fix(a6||aR.event);a6.currentTarget=this;bf=a6.type.indexOf(".")<0&&!a6.exclusive;if(!bf){a7=a6.type.split(".");a6.type=a7.shift();bb=a7.slice(0).sort();bh=new RegExp("(^|\\\\.)"+bb.join("\\\\.(?:.*\\\\.)?")+"(\\\\.|$)")}a6.namespace=a6.namespace||bb.join(".");bg=a._data(this,aA);if(typeof bg==="function"){bg=bg.events}a8=(bg||{})[a6.type];if(bg&&a8){a8=a8.slice(0);for(var ba=0,a9=a8.length;ba-1?a.map(a7.options,function(a9){return a9.selected}).join("-"):""}else{if(a7.nodeName.toLowerCase()==="select"){a8=a7.selectedIndex}}}return a8},T=function T(a8){var a6=a8.target,a7,a9;if(!aT.test(a6.nodeName)||a6.readOnly){return}a7=a._data(a6,"_change_data");a9=j(a6);if(a8.type!=="focusout"||a6.type!=="radio"){a._data(a6,"_change_data",a9)}if(a7===G||a9===a7){return}if(a7!=null||a9){a8.type="change";a8.liveFired=G;return a.event.trigger(a8,arguments[1],a6)}};a.event.special.change={filters:{focusout:T,beforedeactivate:T,click:function(a8){var a7=a8.target,a6=a7.type;if(a6==="radio"||a6==="checkbox"||a7.nodeName.toLowerCase()==="select"){return T.call(this,a8)}},keydown:function(a8){var a7=a8.target,a6=a7.type;if((a8.keyCode===13&&a7.nodeName.toLowerCase()!=="textarea")||(a8.keyCode===32&&(a6==="checkbox"||a6==="radio"))||a6==="select-multiple"){return T.call(this,a8)}},beforeactivate:function(a7){var a6=a7.target;a._data(a6,"_change_data",j(a6))}},setup:function(a8,a7){if(this.type==="file"){return false}for(var a6 in aY){a.event.add(this,a6+".specialChange",aY[a6])}return aT.test(this.nodeName)},teardown:function(a6){a.event.remove(this,".specialChange");return aT.test(this.nodeName)}};aY=a.event.special.change.filters;aY.focus=aY.beforeactivate}function aF(a7,a8,a6){a6[0].type=a7;return a.event.handle.apply(a8,a6)}if(ag.addEventListener){a.each({focus:"focusin",blur:"focusout"},function(a8,a6){a.event.special[a6]={setup:function(){this.addEventListener(a8,a7,true)},teardown:function(){this.removeEventListener(a8,a7,true)}};function a7(a9){a9=a.event.fix(a9);a9.type=a6;return a.event.handle.call(this,a9)}})}a.each(["bind","one"],function(a7,a6){a.fn[a6]=function(bd,be,bc){if(typeof bd==="object"){for(var ba in bd){this[a6](ba,be,bd[ba],bc)}return this}if(a.isFunction(be)||be===false){bc=be;be=G}var bb=a6==="one"?a.proxy(bc,function(bf){a(this).unbind(bf,bb);return bc.apply(this,arguments)}):bc;if(bd==="unload"&&a6!=="one"){this.one(bd,be,bc)}else{for(var a9=0,a8=this.length;a9a9){break}bh.currentTarget=bb.elem;bh.data=bb.handleObj.data;bh.handleObj=bb.handleObj;bl=bb.handleObj.origHandler.apply(bb.elem,arguments);if(bl===false||bh.isPropagationStopped()){a9=bb.level;if(bl===false){be=false}if(bh.isImmediatePropagationStopped()){break}}}return be}function o(a7,a6){return(a7&&a7!=="*"?a7+".":"")+a6.replace(I,"`").replace(W,"&")}a.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(a7,a6){a.fn[a6]=function(a9,a8){if(a8==null){a8=a9;a9=null}return arguments.length>0?this.bind(a6,a9,a8):this.trigger(a6)};if(a.attrFn){a.attrFn[a6]=true}});\n/*\n * Sizzle CSS Selector Engine\n * Copyright 2011, The Dojo Foundation\n * Released under the MIT, BSD, and GPL Licenses.\n * More information: http://sizzlejs.com/\n */\n(function(){var bl=/((?:\\((?:\\([^()]+\\)|[^()]+)+\\)|\\[(?:\\[[^\\[\\]]*\\]|[\'"][^\'"]*[\'"]|[^\\[\\]\'"]+)+\\]|\\\\.|[^ >+~,(\\[\\\\]+)+|[>+~])(\\s*,\\s*)?((?:.|\\r|\\n)*)/g,be=0,a9=Object.prototype.toString,bk=false,bd=true;[0,0].sort(function(){bd=false;return 0});var a7=function(bs,bn,bv,bw){bv=bv||[];bn=bn||ag;var by=bn;if(bn.nodeType!==1&&bn.nodeType!==9){return[]}if(!bs||typeof bs!=="string"){return bv}var bp,bA,bD,bo,bz,bC,bB,bu,br=true,bq=a7.isXML(bn),bt=[],bx=bs;do{bl.exec("");bp=bl.exec(bx);if(bp){bx=bp[3];bt.push(bp[1]);if(bp[2]){bo=bp[3];break}}}while(bp);if(bt.length>1&&bf.exec(bs)){if(bt.length===2&&ba.relative[bt[0]]){bA=bc(bt[0]+bt[1],bn)}else{bA=ba.relative[bt[0]]?[bn]:a7(bt.shift(),bn);while(bt.length){bs=bt.shift();if(ba.relative[bs]){bs+=bt.shift()}bA=bc(bs,bA)}}}else{if(!bw&&bt.length>1&&bn.nodeType===9&&!bq&&ba.match.ID.test(bt[0])&&!ba.match.ID.test(bt[bt.length-1])){bz=a7.find(bt.shift(),bn,bq);bn=bz.expr?a7.filter(bz.expr,bz.set)[0]:bz.set[0]}if(bn){bz=bw?{expr:bt.pop(),set:a6(bw)}:a7.find(bt.pop(),bt.length===1&&(bt[0]==="~"||bt[0]==="+")&&bn.parentNode?bn.parentNode:bn,bq);bA=bz.expr?a7.filter(bz.expr,bz.set):bz.set;if(bt.length>0){bD=a6(bA)}else{br=false}while(bt.length){bC=bt.pop();bB=bC;if(!ba.relative[bC]){bC=""}else{bB=bt.pop()}if(bB==null){bB=bn}ba.relative[bC](bD,bB,bq)}}else{bD=bt=[]}}if(!bD){bD=bA}if(!bD){a7.error(bC||bs)}if(a9.call(bD)==="[object Array]"){if(!br){bv.push.apply(bv,bD)}else{if(bn&&bn.nodeType===1){for(bu=0;bD[bu]!=null;bu++){if(bD[bu]&&(bD[bu]===true||bD[bu].nodeType===1&&a7.contains(bn,bD[bu]))){bv.push(bA[bu])}}}else{for(bu=0;bD[bu]!=null;bu++){if(bD[bu]&&bD[bu].nodeType===1){bv.push(bA[bu])}}}}}else{a6(bD,bv)}if(bo){a7(bo,by,bv,bw);a7.uniqueSort(bv)}return bv};a7.uniqueSort=function(bo){if(a8){bk=bd;bo.sort(a8);if(bk){for(var bn=1;bn0};a7.find=function(bu,bn,bv){var bt;if(!bu){return[]}for(var bq=0,bp=ba.order.length;bq":function(bt,bo){var bs,br=typeof bo==="string",bp=0,bn=bt.length;if(br&&!/\\W/.test(bo)){bo=bo.toLowerCase();for(;bp=0)){if(!bp){bn.push(bs)}}else{if(bp){bo[br]=false}}}}return false},ID:function(bn){return bn[1].replace(/\\\\/g,"")},TAG:function(bo,bn){return bo[1].toLowerCase()},CHILD:function(bn){if(bn[1]==="nth"){if(!bn[2]){a7.error(bn[0])}bn[2]=bn[2].replace(/^\\+|\\s*/g,"");var bo=/(-?)(\\d*)(?:n([+\\-]?\\d*))?/.exec(bn[2]==="even"&&"2n"||bn[2]==="odd"&&"2n+1"||!/\\D/.test(bn[2])&&"0n+"+bn[2]||bn[2]);bn[2]=(bo[1]+(bo[2]||1))-0;bn[3]=bo[3]-0}else{if(bn[2]){a7.error(bn[0])}}bn[0]=be++;return bn},ATTR:function(br,bo,bp,bn,bs,bt){var bq=br[1]=br[1].replace(/\\\\/g,"");if(!bt&&ba.attrMap[bq]){br[1]=ba.attrMap[bq]}br[4]=(br[4]||br[5]||"").replace(/\\\\/g,"");if(br[2]==="~="){br[4]=" "+br[4]+" "}return br},PSEUDO:function(br,bo,bp,bn,bs){if(br[1]==="not"){if((bl.exec(br[3])||"").length>1||/^\\w/.test(br[3])){br[3]=a7(br[3],null,null,bo)}else{var bq=a7.filter(br[3],bo,bp,true^bs);if(!bp){bn.push.apply(bn,bq)}return false}}else{if(ba.match.POS.test(br[0])||ba.match.CHILD.test(br[0])){return true}}return br},POS:function(bn){bn.unshift(true);return bn}},filters:{enabled:function(bn){return bn.disabled===false&&bn.type!=="hidden"},disabled:function(bn){return bn.disabled===true},checked:function(bn){return bn.checked===true},selected:function(bn){bn.parentNode.selectedIndex;return bn.selected===true},parent:function(bn){return !!bn.firstChild},empty:function(bn){return !bn.firstChild},has:function(bp,bo,bn){return !!a7(bn[3],bp).length},header:function(bn){return(/h\\d/i).test(bn.nodeName)},text:function(bn){return"text"===bn.type},radio:function(bn){return"radio"===bn.type},checkbox:function(bn){return"checkbox"===bn.type},file:function(bn){return"file"===bn.type},password:function(bn){return"password"===bn.type},submit:function(bn){return"submit"===bn.type},image:function(bn){return"image"===bn.type},reset:function(bn){return"reset"===bn.type},button:function(bn){return"button"===bn.type||bn.nodeName.toLowerCase()==="button"},input:function(bn){return(/input|select|textarea|button/i).test(bn.nodeName)}},setFilters:{first:function(bo,bn){return bn===0},last:function(bp,bo,bn,bq){return bo===bq.length-1},even:function(bo,bn){return bn%2===0},odd:function(bo,bn){return bn%2===1},lt:function(bp,bo,bn){return bobn[3]-0},nth:function(bp,bo,bn){return bn[3]-0===bo},eq:function(bp,bo,bn){return bn[3]-0===bo}},filter:{PSEUDO:function(bp,bu,bt,bv){var bn=bu[1],bo=ba.filters[bn];if(bo){return bo(bp,bt,bu,bv)}else{if(bn==="contains"){return(bp.textContent||bp.innerText||a7.getText([bp])||"").indexOf(bu[3])>=0}else{if(bn==="not"){var bq=bu[3];for(var bs=0,br=bq.length;bs=0)}}},ID:function(bo,bn){return bo.nodeType===1&&bo.getAttribute("id")===bn},TAG:function(bo,bn){return(bn==="*"&&bo.nodeType===1)||bo.nodeName.toLowerCase()===bn},CLASS:function(bo,bn){return(" "+(bo.className||bo.getAttribute("class"))+" ").indexOf(bn)>-1},ATTR:function(bs,bq){var bp=bq[1],bn=ba.attrHandle[bp]?ba.attrHandle[bp](bs):bs[bp]!=null?bs[bp]:bs.getAttribute(bp),bt=bn+"",br=bq[2],bo=bq[4];return bn==null?br==="!=":br==="="?bt===bo:br==="*="?bt.indexOf(bo)>=0:br==="~="?(" "+bt+" ").indexOf(bo)>=0:!bo?bt&&bn!==false:br==="!="?bt!==bo:br==="^="?bt.indexOf(bo)===0:br==="$="?bt.substr(bt.length-bo.length)===bo:br==="|="?bt===bo||bt.substr(0,bo.length+1)===bo+"-":false},POS:function(br,bo,bp,bs){var bn=bo[2],bq=ba.setFilters[bn];if(bq){return bq(br,bp,bo,bs)}}}};var bf=ba.match.POS,bb=function(bo,bn){return"\\\\"+(bn-0+1)};for(var bi in ba.match){ba.match[bi]=new RegExp(ba.match[bi].source+(/(?![^\\[]*\\])(?![^\\(]*\\))/.source));ba.leftMatch[bi]=new RegExp(/(^(?:.|\\r|\\n)*?)/.source+ba.match[bi].source.replace(/\\\\(\\d+)/g,bb))}var a6=function(bo,bn){bo=Array.prototype.slice.call(bo,0);if(bn){bn.push.apply(bn,bo);return bn}return bo};try{Array.prototype.slice.call(ag.documentElement.childNodes,0)[0].nodeType}catch(bg){a6=function(br,bq){var bp=0,bo=bq||[];if(a9.call(br)==="[object Array]"){Array.prototype.push.apply(bo,br)}else{if(typeof br.length==="number"){for(var bn=br.length;bp";bn.insertBefore(bo,bn.firstChild);if(ag.getElementById(bp)){ba.find.ID=function(br,bs,bt){if(typeof bs.getElementById!=="undefined"&&!bt){var bq=bs.getElementById(br[1]);return bq?bq.id===br[1]||typeof bq.getAttributeNode!=="undefined"&&bq.getAttributeNode("id").nodeValue===br[1]?[bq]:G:[]}};ba.filter.ID=function(bs,bq){var br=typeof bs.getAttributeNode!=="undefined"&&bs.getAttributeNode("id");return bs.nodeType===1&&br&&br.nodeValue===bq}}bn.removeChild(bo);bn=bo=null})();(function(){var bn=ag.createElement("div");bn.appendChild(ag.createComment(""));if(bn.getElementsByTagName("*").length>0){ba.find.TAG=function(bo,bs){var br=bs.getElementsByTagName(bo[1]);if(bo[1]==="*"){var bq=[];for(var bp=0;br[bp];bp++){if(br[bp].nodeType===1){bq.push(br[bp])}}br=bq}return br}}bn.innerHTML="";if(bn.firstChild&&typeof bn.firstChild.getAttribute!=="undefined"&&bn.firstChild.getAttribute("href")!=="#"){ba.attrHandle.href=function(bo){return bo.getAttribute("href",2)}}bn=null})();if(ag.querySelectorAll){(function(){var bn=a7,bq=ag.createElement("div"),bp="__sizzle__";bq.innerHTML="

";if(bq.querySelectorAll&&bq.querySelectorAll(".TEST").length===0){return}a7=function(bA,bs,bv,bz){bs=bs||ag;if(!bz&&!a7.isXML(bs)){var by=/^(\\w+$)|^\\.([\\w\\-]+$)|^#([\\w\\-]+$)/.exec(bA);if(by&&(bs.nodeType===1||bs.nodeType===9)){if(by[1]){return a6(bs.getElementsByTagName(bA),bv)}else{if(by[2]&&ba.find.CLASS&&bs.getElementsByClassName){return a6(bs.getElementsByClassName(by[2]),bv)}}}if(bs.nodeType===9){if(bA==="body"&&bs.body){return a6([bs.body],bv)}else{if(by&&by[3]){var bu=bs.getElementById(by[3]);if(bu&&bu.parentNode){if(bu.id===by[3]){return a6([bu],bv)}}else{return a6([],bv)}}}try{return a6(bs.querySelectorAll(bA),bv)}catch(bw){}}else{if(bs.nodeType===1&&bs.nodeName.toLowerCase()!=="object"){var bt=bs.getAttribute("id"),br=bt||bp,bC=bs.parentNode,bB=/^\\s*[+~]/.test(bA);if(!bt){bs.setAttribute("id",br)}else{br=br.replace(/\'/g,"\\\\$&")}if(bB&&bC){bs=bs.parentNode}try{if(!bB||bC){return a6(bs.querySelectorAll("[id=\'"+br+"\'] "+bA),bv)}}catch(bx){}finally{if(!bt){bs.removeAttribute("id")}}}}}return bn(bA,bs,bv,bz)};for(var bo in bn){a7[bo]=bn[bo]}bq=null})()}(function(){var bn=ag.documentElement,bp=bn.matchesSelector||bn.mozMatchesSelector||bn.webkitMatchesSelector||bn.msMatchesSelector,bo=false;try{bp.call(ag.documentElement,"[test!=\'\']:sizzle")}catch(bq){bo=true}if(bp){a7.matchesSelector=function(br,bt){bt=bt.replace(/\\=\\s*([^\'"\\]]*)\\s*\\]/g,"=\'$1\']");if(!a7.isXML(br)){try{if(bo||!ba.match.PSEUDO.test(bt)&&!/!=/.test(bt)){return bp.call(br,bt)}}catch(bs){}}return a7(bt,null,null,[br]).length>0}}})();(function(){var bn=ag.createElement("div");bn.innerHTML="
";if(!bn.getElementsByClassName||bn.getElementsByClassName("e").length===0){return}bn.lastChild.className="e";if(bn.getElementsByClassName("e").length===1){return}ba.order.splice(1,0,"CLASS");ba.find.CLASS=function(bo,bp,bq){if(typeof bp.getElementsByClassName!=="undefined"&&!bq){return bp.getElementsByClassName(bo[1])}};bn=null})();function bj(bo,bt,bs,bw,bu,bv){for(var bq=0,bp=bw.length;bq0){br=bn;break}}}bn=bn[bo]}bw[bq]=br}}}if(ag.documentElement.contains){a7.contains=function(bo,bn){return bo!==bn&&(bo.contains?bo.contains(bn):true)}}else{if(ag.documentElement.compareDocumentPosition){a7.contains=function(bo,bn){return !!(bo.compareDocumentPosition(bn)&16)}}else{a7.contains=function(){return false}}}a7.isXML=function(bn){var bo=(bn?bn.ownerDocument||bn:0).documentElement;return bo?bo.nodeName!=="HTML":false};var bc=function(bn,bu){var bs,bq=[],br="",bp=bu.nodeType?[bu]:bu;while((bs=ba.match.PSEUDO.exec(bn))){br+=bs[0];bn=bn.replace(ba.match.PSEUDO,"")}bn=ba.relative[bn]?bn+"*":bn;for(var bt=0,bo=bp.length;bt0){for(var bc=bb;bc0},closest:function(bg,a7){var bd=[],ba,a8,bf=this[0];if(a.isArray(bg)){var bc,a9,bb={},a6=1;if(bf&&bg.length){for(ba=0,a8=bg.length;ba-1:a(bf).is(bc)){bd.push({selector:a9,elem:bf,level:a6})}}bf=bf.parentNode;a6++}}return bd}var be=E.test(bg)?a(bg,a7||this.context):null;for(ba=0,a8=this.length;ba-1:a.find.matchesSelector(bf,bg)){bd.push(bf);break}else{bf=bf.parentNode;if(!bf||!bf.ownerDocument||bf===a7){break}}}}bd=bd.length>1?a.unique(bd):bd;return this.pushStack(bd,"closest",bg)},index:function(a6){if(!a6||typeof a6==="string"){return a.inArray(this[0],a6?a(a6):this.parent().children())}return a.inArray(a6.jquery?a6[0]:a6,this)},add:function(a6,a7){var a9=typeof a6==="string"?a(a6,a7):a.makeArray(a6),a8=a.merge(this.get(),a9);return this.pushStack(A(a9[0])||A(a8[0])?a8:a.unique(a8))},andSelf:function(){return this.add(this.prevObject)}});function A(a6){return !a6||!a6.parentNode||a6.parentNode.nodeType===11}a.each({parent:function(a7){var a6=a7.parentNode;return a6&&a6.nodeType!==11?a6:null},parents:function(a6){return a.dir(a6,"parentNode")},parentsUntil:function(a7,a6,a8){return a.dir(a7,"parentNode",a8)},next:function(a6){return a.nth(a6,2,"nextSibling")},prev:function(a6){return a.nth(a6,2,"previousSibling")},nextAll:function(a6){return a.dir(a6,"nextSibling")},prevAll:function(a6){return a.dir(a6,"previousSibling")},nextUntil:function(a7,a6,a8){return a.dir(a7,"nextSibling",a8)},prevUntil:function(a7,a6,a8){return a.dir(a7,"previousSibling",a8)},siblings:function(a6){return a.sibling(a6.parentNode.firstChild,a6)},children:function(a6){return a.sibling(a6.firstChild)},contents:function(a6){return a.nodeName(a6,"iframe")?a6.contentDocument||a6.contentWindow.document:a.makeArray(a6.childNodes)}},function(a6,a7){a.fn[a6]=function(bb,a8){var ba=a.map(this,a7,bb),a9=K.call(arguments);if(!S.test(a6)){a8=bb}if(a8&&typeof a8==="string"){ba=a.filter(a8,ba)}ba=this.length>1&&!ai[a6]?a.unique(ba):ba;if((this.length>1||aP.test(a8))&&ad.test(a6)){ba=ba.reverse()}return this.pushStack(ba,a6,a9.join(","))}});a.extend({filter:function(a8,a6,a7){if(a7){a8=":not("+a8+")"}return a6.length===1?a.find.matchesSelector(a6[0],a8)?[a6[0]]:[]:a.find.matches(a8,a6)},dir:function(a8,a7,ba){var a6=[],a9=a8[a7];while(a9&&a9.nodeType!==9&&(ba===G||a9.nodeType!==1||!a(a9).is(ba))){if(a9.nodeType===1){a6.push(a9)}a9=a9[a7]}return a6},nth:function(ba,a6,a8,a9){a6=a6||1;var a7=0;for(;ba;ba=ba[a8]){if(ba.nodeType===1&&++a7===a6){break}}return ba},sibling:function(a8,a7){var a6=[];for(;a8;a8=a8.nextSibling){if(a8.nodeType===1&&a8!==a7){a6.push(a8)}}return a6}});function an(a9,a8,a6){if(a.isFunction(a8)){return a.grep(a9,function(bb,ba){var bc=!!a8.call(bb,ba,bb);return bc===a6})}else{if(a8.nodeType){return a.grep(a9,function(bb,ba){return(bb===a8)===a6})}else{if(typeof a8==="string"){var a7=a.grep(a9,function(ba){return ba.nodeType===1});if(a1.test(a8)){return a.filter(a8,a7,!a6)}else{a8=a.filter(a8,a7)}}}}return a.grep(a9,function(bb,ba){return(a.inArray(bb,a8)>=0)===a6})}var X=/ jQuery\\d+="(?:\\d+|null)"/g,ae=/^\\s+/,M=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\\w:]+)[^>]*)\\/>/ig,c=/<([\\w:]+)/,v=/",""],legend:[1,"
","
"],thead:[1,"","
"],tr:[2,"","
"],td:[3,"","
"],col:[2,"","
"],area:[1,"",""],_default:[0,"",""]};ah.optgroup=ah.option;ah.tbody=ah.tfoot=ah.colgroup=ah.caption=ah.thead;ah.th=ah.td;if(!a.support.htmlSerialize){ah._default=[1,"div
","
"]}a.fn.extend({text:function(a6){if(a.isFunction(a6)){return this.each(function(a8){var a7=a(this);a7.text(a6.call(this,a8,a7.text()))})}if(typeof a6!=="object"&&a6!==G){return this.empty().append((this[0]&&this[0].ownerDocument||ag).createTextNode(a6))}return a.text(this)},wrapAll:function(a6){if(a.isFunction(a6)){return this.each(function(a8){a(this).wrapAll(a6.call(this,a8))})}if(this[0]){var a7=a(a6,this[0].ownerDocument).eq(0).clone(true);if(this[0].parentNode){a7.insertBefore(this[0])}a7.map(function(){var a8=this;while(a8.firstChild&&a8.firstChild.nodeType===1){a8=a8.firstChild}return a8}).append(this)}return this},wrapInner:function(a6){if(a.isFunction(a6)){return this.each(function(a7){a(this).wrapInner(a6.call(this,a7))})}return this.each(function(){var a7=a(this),a8=a7.contents();if(a8.length){a8.wrapAll(a6)}else{a7.append(a6)}})},wrap:function(a6){return this.each(function(){a(this).wrapAll(a6)})},unwrap:function(){return this.parent().each(function(){if(!a.nodeName(this,"body")){a(this).replaceWith(this.childNodes)}}).end()},append:function(){return this.domManip(arguments,true,function(a6){if(this.nodeType===1){this.appendChild(a6)}})},prepend:function(){return this.domManip(arguments,true,function(a6){if(this.nodeType===1){this.insertBefore(a6,this.firstChild)}})},before:function(){if(this[0]&&this[0].parentNode){return this.domManip(arguments,false,function(a7){this.parentNode.insertBefore(a7,this)})}else{if(arguments.length){var a6=a(arguments[0]);a6.push.apply(a6,this.toArray());return this.pushStack(a6,"before",arguments)}}},after:function(){if(this[0]&&this[0].parentNode){return this.domManip(arguments,false,function(a7){this.parentNode.insertBefore(a7,this.nextSibling)})}else{if(arguments.length){var a6=this.pushStack(this,"after",arguments);a6.push.apply(a6,a(arguments[0]).toArray());return a6}}},remove:function(a6,a9){for(var a7=0,a8;(a8=this[a7])!=null;a7++){if(!a6||a.filter(a6,[a8]).length){if(!a9&&a8.nodeType===1){a.cleanData(a8.getElementsByTagName("*"));a.cleanData([a8])}if(a8.parentNode){a8.parentNode.removeChild(a8)}}}return this},empty:function(){for(var a6=0,a7;(a7=this[a6])!=null;a6++){if(a7.nodeType===1){a.cleanData(a7.getElementsByTagName("*"))}while(a7.firstChild){a7.removeChild(a7.firstChild)}}return this},clone:function(a7,a6){a7=a7==null?true:a7;a6=a6==null?a7:a6;return this.map(function(){return a.clone(this,a7,a6)})},html:function(a8){if(a8===G){return this[0]&&this[0].nodeType===1?this[0].innerHTML.replace(X,""):null}else{if(typeof a8==="string"&&!J.test(a8)&&(a.support.leadingWhitespace||!ae.test(a8))&&!ah[(c.exec(a8)||["",""])[1].toLowerCase()]){a8=a8.replace(M,"<$1>");try{for(var a7=0,a6=this.length;a71&&a80?this.clone(true):this).get();a(be[bc])[a7](ba);bb=bb.concat(ba)}return this.pushStack(bb,a6,be.selector)}}});a.extend({clone:function(ba,bc,a8){var bb=ba.cloneNode(true),a6,a7,a9;if(!a.support.noCloneEvent&&(ba.nodeType===1||ba.nodeType===11)&&!a.isXMLDoc(ba)){a6=ba.getElementsByTagName("*");a7=bb.getElementsByTagName("*");for(a9=0;a6[a9];++a9){Y(a6[a9],a7[a9])}Y(ba,bb)}if(bc){s(ba,bb);if(a8&&"getElementsByTagName" in ba){a6=ba.getElementsByTagName("*");a7=bb.getElementsByTagName("*");if(a6.length){for(a9=0;a6[a9];++a9){s(a6[a9],a7[a9])}}}}return bb},clean:function(a8,ba,bh,bc){ba=ba||ag;if(typeof ba.createElement==="undefined"){ba=ba.ownerDocument||ba[0]&&ba[0].ownerDocument||ag}var bi=[];for(var bg=0,bb;(bb=a8[bg])!=null;bg++){if(typeof bb==="number"){bb+=""}if(!bb){continue}if(typeof bb==="string"&&!P.test(bb)){bb=ba.createTextNode(bb)}else{if(typeof bb==="string"){bb=bb.replace(M,"<$1>");var bj=(c.exec(bb)||["",""])[1].toLowerCase(),a9=ah[bj]||ah._default,bf=a9[0],a7=ba.createElement("div");a7.innerHTML=a9[1]+bb+a9[2];while(bf--){a7=a7.lastChild}if(!a.support.tbody){var a6=v.test(bb),be=bj==="table"&&!a6?a7.firstChild&&a7.firstChild.childNodes:a9[1]===""&&!a6?a7.childNodes:[];for(var bd=be.length-1;bd>=0;--bd){if(a.nodeName(be[bd],"tbody")&&!be[bd].childNodes.length){be[bd].parentNode.removeChild(be[bd])}}}if(!a.support.leadingWhitespace&&ae.test(bb)){a7.insertBefore(ba.createTextNode(ae.exec(bb)[0]),a7.firstChild)}bb=a7.childNodes}}if(bb.nodeType){bi.push(bb)}else{bi=a.merge(bi,bb)}}if(bh){for(bg=0;bi[bg];bg++){if(bc&&a.nodeName(bi[bg],"script")&&(!bi[bg].type||bi[bg].type.toLowerCase()==="text/javascript")){bc.push(bi[bg].parentNode?bi[bg].parentNode.removeChild(bi[bg]):bi[bg])}else{if(bi[bg].nodeType===1){bi.splice.apply(bi,[bg+1,0].concat(a.makeArray(bi[bg].getElementsByTagName("script"))))}bh.appendChild(bi[bg])}}}return bi},cleanData:function(a7){var ba,a8,a6=a.cache,bf=a.expando,bd=a.event.special,bc=a.support.deleteExpando;for(var bb=0,a9;(a9=a7[bb])!=null;bb++){if(a9.nodeName&&a.noData[a9.nodeName.toLowerCase()]){continue}a8=a9[a.expando];if(a8){ba=a6[a8]&&a6[a8][bf];if(ba&&ba.events){for(var be in ba.events){if(bd[be]){a.event.remove(a9,be)}else{a.removeEvent(a9,be,ba.handle)}}if(ba.handle){ba.handle.elem=null}}if(bc){delete a9[a.expando]}else{if(a9.removeAttribute){a9.removeAttribute(a.expando)}}delete a6[a8]}}}});function a0(a6,a7){if(a7.src){a.ajax({url:a7.src,async:false,dataType:"script"})}else{a.globalEval(a7.text||a7.textContent||a7.innerHTML||"")}if(a7.parentNode){a7.parentNode.removeChild(a7)}}var Z=/alpha\\([^)]*\\)/i,af=/opacity=([^)]*)/,aD=/-([a-z])/ig,y=/([A-Z])/g,aS=/^-?\\d+(?:px)?$/i,aZ=/^-?\\d/,aO={position:"absolute",visibility:"hidden",display:"block"},ab=["Left","Right"],aK=["Top","Bottom"],Q,aq,aC,l=function(a6,a7){return a7.toUpperCase()};a.fn.css=function(a6,a7){if(arguments.length===2&&a7===G){return this}return a.access(this,a6,a7,true,function(a9,a8,ba){return ba!==G?a.style(a9,a8,ba):a.css(a9,a8)})};a.extend({cssHooks:{opacity:{get:function(a8,a7){if(a7){var a6=Q(a8,"opacity","opacity");return a6===""?"1":a6}else{return a8.style.opacity}}}},cssNumber:{zIndex:true,fontWeight:true,opacity:true,zoom:true,lineHeight:true},cssProps:{"float":a.support.cssFloat?"cssFloat":"styleFloat"},style:function(a8,a7,bd,a9){if(!a8||a8.nodeType===3||a8.nodeType===8||!a8.style){return}var bc,ba=a.camelCase(a7),a6=a8.style,be=a.cssHooks[ba];a7=a.cssProps[ba]||ba;if(bd!==G){if(typeof bd==="number"&&isNaN(bd)||bd==null){return}if(typeof bd==="number"&&!a.cssNumber[ba]){bd+="px"}if(!be||!("set" in be)||(bd=be.set(a8,bd))!==G){try{a6[a7]=bd}catch(bb){}}}else{if(be&&"get" in be&&(bc=be.get(a8,false,a9))!==G){return bc}return a6[a7]}},css:function(bb,ba,a7){var a9,a8=a.camelCase(ba),a6=a.cssHooks[a8];ba=a.cssProps[a8]||a8;if(a6&&"get" in a6&&(a9=a6.get(bb,true,a7))!==G){return a9}else{if(Q){return Q(bb,ba,a8)}}},swap:function(a9,a8,ba){var a6={};for(var a7 in a8){a6[a7]=a9.style[a7];a9.style[a7]=a8[a7]}ba.call(a9);for(a7 in a8){a9.style[a7]=a6[a7]}},camelCase:function(a6){return a6.replace(aD,l)}});a.curCSS=a.css;a.each(["height","width"],function(a7,a6){a.cssHooks[a6]={get:function(ba,a9,a8){var bb;if(a9){if(ba.offsetWidth!==0){bb=p(ba,a6,a8)}else{a.swap(ba,aO,function(){bb=p(ba,a6,a8)})}if(bb<=0){bb=Q(ba,a6,a6);if(bb==="0px"&&aC){bb=aC(ba,a6,a6)}if(bb!=null){return bb===""||bb==="auto"?"0px":bb}}if(bb<0||bb==null){bb=ba.style[a6];return bb===""||bb==="auto"?"0px":bb}return typeof bb==="string"?bb:bb+"px"}},set:function(a8,a9){if(aS.test(a9)){a9=parseFloat(a9);if(a9>=0){return a9+"px"}}else{return a9}}}});if(!a.support.opacity){a.cssHooks.opacity={get:function(a7,a6){return af.test((a6&&a7.currentStyle?a7.currentStyle.filter:a7.style.filter)||"")?(parseFloat(RegExp.$1)/100)+"":a6?"1":""},set:function(a9,ba){var a8=a9.style;a8.zoom=1;var a6=a.isNaN(ba)?"":"alpha(opacity="+ba*100+")",a7=a8.filter||"";a8.filter=Z.test(a7)?a7.replace(Z,a6):a8.filter+" "+a6}}}if(ag.defaultView&&ag.defaultView.getComputedStyle){aq=function(bb,a6,a9){var a8,ba,a7;a9=a9.replace(y,"-$1").toLowerCase();if(!(ba=bb.ownerDocument.defaultView)){return G}if((a7=ba.getComputedStyle(bb,null))){a8=a7.getPropertyValue(a9);if(a8===""&&!a.contains(bb.ownerDocument.documentElement,bb)){a8=a.style(bb,a9)}}return a8}}if(ag.documentElement.currentStyle){aC=function(ba,a8){var bb,a7=ba.currentStyle&&ba.currentStyle[a8],a6=ba.runtimeStyle&&ba.runtimeStyle[a8],a9=ba.style;if(!aS.test(a7)&&aZ.test(a7)){bb=a9.left;if(a6){ba.runtimeStyle.left=ba.currentStyle.left}a9.left=a8==="fontSize"?"1em":(a7||0);a7=a9.pixelLeft+"px";a9.left=bb;if(a6){ba.runtimeStyle.left=a6}}return a7===""?"auto":a7}}Q=aq||aC;function p(a8,a7,a6){var ba=a7==="width"?ab:aK,a9=a7==="width"?a8.offsetWidth:a8.offsetHeight;if(a6==="border"){return a9}a.each(ba,function(){if(!a6){a9-=parseFloat(a.css(a8,"padding"+this))||0}if(a6==="margin"){a9+=parseFloat(a.css(a8,"margin"+this))||0}else{a9-=parseFloat(a.css(a8,"border"+this+"Width"))||0}});return a9}if(a.expr&&a.expr.filters){a.expr.filters.hidden=function(a8){var a7=a8.offsetWidth,a6=a8.offsetHeight;return(a7===0&&a6===0)||(!a.support.reliableHiddenOffsets&&(a8.style.display||a.css(a8,"display"))==="none")};a.expr.filters.visible=function(a6){return !a.expr.filters.hidden(a6)}}var h=/%20/g,ac=/\\[\\]$/,a5=/\\r?\\n/g,a2=/#.*$/,al=/^(.*?):\\s*(.*?)\\r?$/mg,aG=/^(?:color|date|datetime|email|hidden|month|number|password|range|search|tel|text|time|url|week)$/i,au=/^(?:GET|HEAD)$/,b=/^\\/\\//,H=/\\?/,aN=/)<[^<]*)*<\\/script>/gi,q=/^(?:select|textarea)/i,f=/\\s+/,a4=/([?&])_=[^&]*/,F=/^(\\w+:)\\/\\/([^\\/?#:]+)(?::(\\d+))?/,z=a.fn.load,R={},r={};function d(a6){return function(ba,bc){if(typeof ba!=="string"){bc=ba;ba="*"}if(a.isFunction(bc)){var a9=ba.toLowerCase().split(f),a8=0,bb=a9.length,a7,bd,be;for(;a8=0){var a6=a8.slice(ba,a8.length);a8=a8.slice(0,ba)}var a9="GET";if(bb){if(a.isFunction(bb)){bc=bb;bb=null}else{if(typeof bb==="object"){bb=a.param(bb,a.ajaxSettings.traditional);a9="POST"}}}var a7=this;a.ajax({url:a8,type:a9,dataType:"html",data:bb,complete:function(bf,bd,be){be=bf.responseText;if(bf.isResolved()){bf.done(function(bg){be=bg});a7.html(a6?a("
").append(be.replace(aN,"")).find(a6):be)}if(bc){a7.each(bc,[be,bd,bf])}}});return this},serialize:function(){return a.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?a.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||q.test(this.nodeName)||aG.test(this.type))}).map(function(a6,a7){var a8=a(this).val();return a8==null?null:a.isArray(a8)?a.map(a8,function(ba,a9){return{name:a7.name,value:ba.replace(a5,"\\r\\n")}}):{name:a7.name,value:a8.replace(a5,"\\r\\n")}}).get()}});a.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(a6,a7){a.fn[a7]=function(a8){return this.bind(a7,a8)}});a.each(["get","post"],function(a6,a7){a[a7]=function(a8,ba,bb,a9){if(a.isFunction(ba)){a9=a9||bb;bb=ba;ba=null}return a.ajax({type:a7,url:a8,data:ba,success:bb,dataType:a9})}});a.extend({getScript:function(a6,a7){return a.get(a6,null,a7,"script")},getJSON:function(a6,a7,a8){return a.get(a6,a7,a8,"json")},ajaxSetup:function(a6){a.extend(true,a.ajaxSettings,a6);if(a6.context){a.ajaxSettings.context=a6.context}},ajaxSettings:{url:location.href,global:true,type:"GET",contentType:"application/x-www-form-urlencoded",processData:true,async:true,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":aR.String,"text html":true,"text json":a.parseJSON,"text xml":a.parseXML}},ajaxPrefilter:d(R),ajaxTransport:d(r),ajax:function(ba,a7){if(typeof a7!=="object"){a7=ba;ba=G}a7=a7||{};var be=a.extend(true,{},a.ajaxSettings,a7),bs=(be.context=("context" in a7?a7:a.ajaxSettings).context)||be,bi=bs===be?a.event:a(bs),br=a.Deferred(),bo=a._Deferred(),bc=be.statusCode||{},bj={},bq,a8,bm,bg,bd=ag.location,bf=bd.protocol||"http:",bk,bb=0,bl,a9={readyState:0,setRequestHeader:function(bt,bu){if(bb===0){bj[bt.toLowerCase()]=bu}return this},getAllResponseHeaders:function(){return bb===2?bq:null},getResponseHeader:function(bu){var bt;if(bb===2){if(!a8){a8={};while((bt=al.exec(bq))){a8[bt[1].toLowerCase()]=bt[2]}}bt=a8[bu.toLowerCase()]}return bt||null},abort:function(bt){bt=bt||"abort";if(bm){bm.abort(bt)}bh(0,bt);return this}};function bh(by,bw,bz,bv){if(bb===2){return}bb=2;if(bg){clearTimeout(bg)}bm=G;bq=bv||"";a9.readyState=by?4:0;var bt,bD,bC,bx=bz?aW(be,a9,bz):G,bu,bB;if(by>=200&&by<300||by===304){if(be.ifModified){if((bu=a9.getResponseHeader("Last-Modified"))){a.lastModified[be.url]=bu}if((bB=a9.getResponseHeader("Etag"))){a.etag[be.url]=bB}}if(by===304){bw="notmodified";bt=true}else{try{bD=C(be,bx);bw="success";bt=true}catch(bA){bw="parsererror";bC=bA}}}else{bC=bw;if(by){bw="error";if(by<0){by=0}}}a9.status=by;a9.statusText=bw;if(bt){br.resolveWith(bs,[bD,bw,a9])}else{br.rejectWith(bs,[a9,bw,bC])}a9.statusCode(bc);bc=G;if(be.global){bi.trigger("ajax"+(bt?"Success":"Error"),[a9,be,bt?bD:bC])}bo.resolveWith(bs,[a9,bw]);if(be.global){bi.trigger("ajaxComplete",[a9,be]);if(!(--a.active)){a.event.trigger("ajaxStop")}}}br.promise(a9);a9.success=a9.done;a9.error=a9.fail;a9.complete=bo.done;a9.statusCode=function(bu){if(bu){var bt;if(bb<2){for(bt in bu){bc[bt]=[bc[bt],bu[bt]]}}else{bt=bu[a9.status];a9.then(bt,bt)}}return this};be.url=(""+(ba||be.url)).replace(a2,"").replace(b,bf+"//");be.dataTypes=a.trim(be.dataType||"*").toLowerCase().split(f);if(!be.crossDomain){bk=F.exec(be.url.toLowerCase());be.crossDomain=!!(bk&&(bk[1]!=bf||bk[2]!=bd.hostname||(bk[3]||(bk[1]==="http:"?80:443))!=(bd.port||(bf==="http:"?80:443))))}if(be.data&&be.processData&&typeof be.data!=="string"){be.data=a.param(be.data,be.traditional)}az(R,be,a7,a9);be.type=be.type.toUpperCase();be.hasContent=!au.test(be.type);if(be.global&&a.active++===0){a.event.trigger("ajaxStart")}if(!be.hasContent){if(be.data){be.url+=(H.test(be.url)?"&":"?")+be.data}if(be.cache===false){var a6=a.now(),bp=be.url.replace(a4,"$1_="+a6);be.url=bp+((bp===be.url)?(H.test(be.url)?"&":"?")+"_="+a6:"")}}if(be.data&&be.hasContent&&be.contentType!==false||a7.contentType){bj["content-type"]=be.contentType}if(be.ifModified){if(a.lastModified[be.url]){bj["if-modified-since"]=a.lastModified[be.url]}if(a.etag[be.url]){bj["if-none-match"]=a.etag[be.url]}}bj.accept=be.dataTypes[0]&&be.accepts[be.dataTypes[0]]?be.accepts[be.dataTypes[0]]+(be.dataTypes[0]!=="*"?", */*; q=0.01":""):be.accepts["*"];for(bl in be.headers){bj[bl.toLowerCase()]=be.headers[bl]}if(be.beforeSend&&(be.beforeSend.call(bs,a9,be)===false||bb===2)){bh(0,"abort");a9=false}else{for(bl in {success:1,error:1,complete:1}){a9[bl](be[bl])}bm=az(r,be,a7,a9);if(!bm){bh(-1,"No Transport")}else{bb=a9.readyState=1;if(be.global){bi.trigger("ajaxSend",[a9,be])}if(be.async&&be.timeout>0){bg=setTimeout(function(){a9.abort("timeout")},be.timeout)}try{bm.send(bj,bh)}catch(bn){if(status<2){bh(-1,bn)}else{a.error(bn)}}}}return a9},param:function(a6,a8){var a7=[],ba=function(bb,bc){bc=a.isFunction(bc)?bc():bc;a7[a7.length]=encodeURIComponent(bb)+"="+encodeURIComponent(bc)};if(a8===G){a8=a.ajaxSettings.traditional}if(a.isArray(a6)||a6.jquery){a.each(a6,function(){ba(this.name,this.value)})}else{for(var a9 in a6){u(a9,a6[a9],a8,ba)}}return a7.join("&").replace(h,"+")}});function u(a7,a9,a6,a8){if(a.isArray(a9)&&a9.length){a.each(a9,function(bb,ba){if(a6||ac.test(a7)){a8(a7,ba)}else{u(a7+"["+(typeof ba==="object"||a.isArray(ba)?bb:"")+"]",ba,a6,a8)}})}else{if(!a6&&a9!=null&&typeof a9==="object"){if(a.isArray(a9)||a.isEmptyObject(a9)){a8(a7,"")}else{a.each(a9,function(bb,ba){u(a7+"["+bb+"]",ba,a6,a8)})}}else{a8(a7,a9)}}}a.extend({active:0,lastModified:{},etag:{}});function aW(bf,be,bb){var a7=bf.contents,bd=bf.dataTypes,a8=bf.responseFields,ba,bc,a9,a6;for(bc in a8){if(bc in bb){be[a8[bc]]=bb[bc]}}while(bd[0]==="*"){bd.shift();if(ba===G){ba=be.getResponseHeader("content-type")}}if(ba){for(bc in a7){if(a7[bc]&&a7[bc].test(ba)){bd.unshift(bc);break}}}if(bd[0] in bb){a9=bd[0]}else{for(bc in bb){if(!bd[0]||bf.converters[bc+" "+bd[0]]){a9=bc;break}if(!a6){a6=bc}}a9=a9||a6}if(a9){if(a9!==bd[0]){bd.unshift(a9)}return bb[a9]}}function C(bi,bb){if(bi.dataFilter){bb=bi.dataFilter(bb,bi.dataType)}var bf=bi.dataTypes,bh=bi.converters,bc,a8=bf.length,bd,be=bf[0],a9,ba,bg,a7,a6;for(bc=1;bc=0;a9--){if(a8[a9].elem===this){if(a6){a8[a9](true)}a8.splice(a9,1)}}});if(!a6){this.dequeue()}return this}});function aJ(a7,a6){var a8={};a.each(ap.concat.apply([],ap.slice(0,a6)),function(){a8[this]=a7});return a8}a.each({slideDown:aJ("show",1),slideUp:aJ("hide",1),slideToggle:aJ("toggle",1),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(a6,a7){a.fn[a6]=function(a8,ba,a9){return this.animate(a7,a8,ba,a9)}});a.extend({speed:function(a8,a9,a7){var a6=a8&&typeof a8==="object"?a.extend({},a8):{complete:a7||!a7&&a9||a.isFunction(a8)&&a8,duration:a8,easing:a7&&a9||a9&&!a.isFunction(a9)&&a9};a6.duration=a.fx.off?0:typeof a6.duration==="number"?a6.duration:a6.duration in a.fx.speeds?a.fx.speeds[a6.duration]:a.fx.speeds._default;a6.old=a6.complete;a6.complete=function(){if(a6.queue!==false){a(this).dequeue()}if(a.isFunction(a6.old)){a6.old.call(this)}};return a6},easing:{linear:function(a8,a9,a6,a7){return a6+a7*a8},swing:function(a8,a9,a6,a7){return((-Math.cos(a8*Math.PI)/2)+0.5)*a7+a6}},timers:[],fx:function(a7,a6,a8){this.options=a6;this.elem=a7;this.prop=a8;if(!a6.orig){a6.orig={}}}});a.fx.prototype={update:function(){if(this.options.step){this.options.step.call(this.elem,this.now,this)}(a.fx.step[this.prop]||a.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 a6=parseFloat(a.css(this.elem,this.prop));return a6||0},custom:function(bb,ba,a9){var a6=this,a8=a.fx;this.startTime=a.now();this.start=bb;this.end=ba;this.unit=a9||this.unit||"px";this.now=this.start;this.pos=this.state=0;function a7(bc){return a6.step(bc)}a7.elem=this.elem;if(a7()&&a.timers.push(a7)&&!aL){aL=setInterval(a8.tick,a8.interval)}},show:function(){this.options.orig[this.prop]=a.style(this.elem,this.prop);this.options.show=true;this.custom(this.prop==="width"||this.prop==="height"?1:0,this.cur());a(this.elem).show()},hide:function(){this.options.orig[this.prop]=a.style(this.elem,this.prop);this.options.hide=true;this.custom(this.cur(),0)},step:function(a9){var be=a.now(),ba=true;if(a9||be>=this.options.duration+this.startTime){this.now=this.end;this.pos=this.state=1;this.update();this.options.curAnim[this.prop]=true;for(var bb in this.options.curAnim){if(this.options.curAnim[bb]!==true){ba=false}}if(ba){if(this.options.overflow!=null&&!a.support.shrinkWrapBlocks){var a8=this.elem,bf=this.options;a.each(["","X","Y"],function(bg,bh){a8.style["overflow"+bh]=bf.overflow[bg]})}if(this.options.hide){a(this.elem).hide()}if(this.options.hide||this.options.show){for(var a6 in this.options.curAnim){a.style(this.elem,a6,this.options.orig[a6])}}this.options.complete.call(this.elem)}return false}else{var a7=be-this.startTime;this.state=a7/this.options.duration;var bc=this.options.specialEasing&&this.options.specialEasing[this.prop];var bd=this.options.easing||(a.easing.swing?"swing":"linear");this.pos=a.easing[bc||bd](this.state,a7,0,1,this.options.duration);this.now=this.start+((this.end-this.start)*this.pos);this.update()}return true}};a.extend(a.fx,{tick:function(){var a7=a.timers;for(var a6=0;a6").appendTo("body"),a7=a6.css("display");a6.remove();if(a7==="none"||a7===""){a7="block"}L[a8]=a7}return L[a8]}var O=/^t(?:able|d|h)$/i,U=/^(?:body|html)$/i;if("getBoundingClientRect" in ag.documentElement){a.fn.offset=function(bj){var a9=this[0],bc;if(bj){return this.each(function(bk){a.offset.setOffset(this,bj,bk)})}if(!a9||!a9.ownerDocument){return null}if(a9===a9.ownerDocument.body){return a.offset.bodyOffset(a9)}try{bc=a9.getBoundingClientRect()}catch(bg){}var bi=a9.ownerDocument,a7=bi.documentElement;if(!bc||!a.contains(a7,a9)){return bc?{top:bc.top,left:bc.left}:{top:0,left:0}}var bd=bi.body,be=ar(bi),bb=a7.clientTop||bd.clientTop||0,bf=a7.clientLeft||bd.clientLeft||0,a6=(be.pageYOffset||a.support.boxModel&&a7.scrollTop||bd.scrollTop),ba=(be.pageXOffset||a.support.boxModel&&a7.scrollLeft||bd.scrollLeft),bh=bc.top+a6-bb,a8=bc.left+ba-bf;return{top:bh,left:a8}}}else{a.fn.offset=function(bh){var bb=this[0];if(bh){return this.each(function(bi){a.offset.setOffset(this,bh,bi)})}if(!bb||!bb.ownerDocument){return null}if(bb===bb.ownerDocument.body){return a.offset.bodyOffset(bb)}a.offset.initialize();var be,a8=bb.offsetParent,a7=bb,bg=bb.ownerDocument,a9=bg.documentElement,bc=bg.body,bd=bg.defaultView,a6=bd?bd.getComputedStyle(bb,null):bb.currentStyle,bf=bb.offsetTop,ba=bb.offsetLeft;while((bb=bb.parentNode)&&bb!==bc&&bb!==a9){if(a.offset.supportsFixedPosition&&a6.position==="fixed"){break}be=bd?bd.getComputedStyle(bb,null):bb.currentStyle;bf-=bb.scrollTop;ba-=bb.scrollLeft;if(bb===a8){bf+=bb.offsetTop;ba+=bb.offsetLeft;if(a.offset.doesNotAddBorder&&!(a.offset.doesAddBorderForTableAndCells&&O.test(bb.nodeName))){bf+=parseFloat(be.borderTopWidth)||0;ba+=parseFloat(be.borderLeftWidth)||0}a7=a8;a8=bb.offsetParent}if(a.offset.subtractsBorderForOverflowNotVisible&&be.overflow!=="visible"){bf+=parseFloat(be.borderTopWidth)||0;ba+=parseFloat(be.borderLeftWidth)||0}a6=be}if(a6.position==="relative"||a6.position==="static"){bf+=bc.offsetTop;ba+=bc.offsetLeft}if(a.offset.supportsFixedPosition&&a6.position==="fixed"){bf+=Math.max(a9.scrollTop,bc.scrollTop);ba+=Math.max(a9.scrollLeft,bc.scrollLeft)}return{top:bf,left:ba}}}a.offset={initialize:function(){var a6=ag.body,a7=ag.createElement("div"),ba,bc,bb,bd,a8=parseFloat(a.css(a6,"marginTop"))||0,a9="
";a.extend(a7.style,{position:"absolute",top:0,left:0,margin:0,border:0,width:"1px",height:"1px",visibility:"hidden"});a7.innerHTML=a9;a6.insertBefore(a7,a6.firstChild);ba=a7.firstChild;bc=ba.firstChild;bd=ba.nextSibling.firstChild.firstChild;this.doesNotAddBorder=(bc.offsetTop!==5);this.doesAddBorderForTableAndCells=(bd.offsetTop===5);bc.style.position="fixed";bc.style.top="20px";this.supportsFixedPosition=(bc.offsetTop===20||bc.offsetTop===15);bc.style.position=bc.style.top="";ba.style.overflow="hidden";ba.style.position="relative";this.subtractsBorderForOverflowNotVisible=(bc.offsetTop===-5);this.doesNotIncludeMarginInBodyOffset=(a6.offsetTop!==a8);a6.removeChild(a7);a6=a7=ba=bc=bb=bd=null;a.offset.initialize=a.noop},bodyOffset:function(a6){var a8=a6.offsetTop,a7=a6.offsetLeft;a.offset.initialize();if(a.offset.doesNotIncludeMarginInBodyOffset){a8+=parseFloat(a.css(a6,"marginTop"))||0;a7+=parseFloat(a.css(a6,"marginLeft"))||0}return{top:a8,left:a7}},setOffset:function(a9,bi,bc){var bd=a.css(a9,"position");if(bd==="static"){a9.style.position="relative"}var bb=a(a9),a7=bb.offset(),a6=a.css(a9,"top"),bg=a.css(a9,"left"),bh=(bd==="absolute"&&a.inArray("auto",[a6,bg])>-1),bf={},be={},a8,ba;if(bh){be=bb.position()}a8=bh?be.top:parseInt(a6,10)||0;ba=bh?be.left:parseInt(bg,10)||0;if(a.isFunction(bi)){bi=bi.call(a9,bc,a7)}if(bi.top!=null){bf.top=(bi.top-a7.top)+a8}if(bi.left!=null){bf.left=(bi.left-a7.left)+ba}if("using" in bi){bi.using.call(a9,bf)}else{bb.css(bf)}}};a.fn.extend({position:function(){if(!this[0]){return null}var a8=this[0],a7=this.offsetParent(),a9=this.offset(),a6=U.test(a7[0].nodeName)?{top:0,left:0}:a7.offset();a9.top-=parseFloat(a.css(a8,"marginTop"))||0;a9.left-=parseFloat(a.css(a8,"marginLeft"))||0;a6.top+=parseFloat(a.css(a7[0],"borderTopWidth"))||0;a6.left+=parseFloat(a.css(a7[0],"borderLeftWidth"))||0;return{top:a9.top-a6.top,left:a9.left-a6.left}},offsetParent:function(){return this.map(function(){var a6=this.offsetParent||ag.body;while(a6&&(!U.test(a6.nodeName)&&a.css(a6,"position")==="static")){a6=a6.offsetParent}return a6})}});a.each(["Left","Top"],function(a7,a6){var a8="scroll"+a6;a.fn[a8]=function(bb){var a9=this[0],ba;if(!a9){return null}if(bb!==G){return this.each(function(){ba=ar(this);if(ba){ba.scrollTo(!a7?bb:a(ba).scrollLeft(),a7?bb:a(ba).scrollTop())}else{this[a8]=bb}})}else{ba=ar(a9);return ba?("pageXOffset" in ba)?ba[a7?"pageYOffset":"pageXOffset"]:a.support.boxModel&&ba.document.documentElement[a8]||ba.document.body[a8]:a9[a8]}}});function ar(a6){return a.isWindow(a6)?a6:a6.nodeType===9?a6.defaultView||a6.parentWindow:false}a.each(["Height","Width"],function(a7,a6){var a8=a6.toLowerCase();a.fn["inner"+a6]=function(){return this[0]?parseFloat(a.css(this[0],a8,"padding")):null};a.fn["outer"+a6]=function(a9){return this[0]?parseFloat(a.css(this[0],a8,a9?"margin":"border")):null};a.fn[a8]=function(ba){var bb=this[0];if(!bb){return ba==null?null:this}if(a.isFunction(ba)){return this.each(function(bf){var be=a(this);be[a8](ba.call(this,bf,be[a8]()))})}if(a.isWindow(bb)){var bc=bb.document.documentElement["client"+a6];return bb.document.compatMode==="CSS1Compat"&&bc||bb.document.body["client"+a6]||bc}else{if(bb.nodeType===9){return Math.max(bb.documentElement["client"+a6],bb.body["scroll"+a6],bb.documentElement["scroll"+a6],bb.body["offset"+a6],bb.documentElement["offset"+a6])}else{if(ba===G){var bd=a.css(bb,a8),a9=parseFloat(bd);return a.isNaN(a9)?bd:a9}else{return this.css(a8,typeof ba==="string"?ba:ba+"px")}}}}})})(window);(function(){jQuery.color={};jQuery.color.make=function(c,d,f,e){var b={};b.r=c||0;b.g=d||0;b.b=f||0;b.a=e!=null?e:1;b.add=function(g,h){for(var j=0;j=1){return"rgb("+[b.r,b.g,b.b].join(",")+")"}else{return"rgba("+[b.r,b.g,b.b,b.a].join(",")+")"}};b.normalize=function(){function g(j,h,k){return hk?k:h)}b.r=g(0,parseInt(b.r),255);b.g=g(0,parseInt(b.g),255);b.b=g(0,parseInt(b.b),255);b.a=g(0,b.a,1);return b};b.clone=function(){return jQuery.color.make(b.r,b.b,b.g,b.a)};return b.normalize()};jQuery.color.extract=function(c,d){var b;do{b=c.css(d).toLowerCase();if(b!=""&&b!="transparent"){break}c=c.parent()}while(!jQuery.nodeName(c.get(0),"body"));if(b=="rgba(0, 0, 0, 0)"){b="transparent"}return jQuery.color.parse(b)};jQuery.color.parse=function(b){var c,e=jQuery.color.make;if(c=/rgb\\(\\s*([0-9]{1,3})\\s*,\\s*([0-9]{1,3})\\s*,\\s*([0-9]{1,3})\\s*\\)/.exec(b)){return e(parseInt(c[1],10),parseInt(c[2],10),parseInt(c[3],10))}if(c=/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(b)){return e(parseInt(c[1],10),parseInt(c[2],10),parseInt(c[3],10),parseFloat(c[4]))}if(c=/rgb\\(\\s*([0-9]+(?:\\.[0-9]+)?)\\%\\s*,\\s*([0-9]+(?:\\.[0-9]+)?)\\%\\s*,\\s*([0-9]+(?:\\.[0-9]+)?)\\%\\s*\\)/.exec(b)){return e(parseFloat(c[1])*2.55,parseFloat(c[2])*2.55,parseFloat(c[3])*2.55)}if(c=/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(b)){return e(parseFloat(c[1])*2.55,parseFloat(c[2])*2.55,parseFloat(c[3])*2.55,parseFloat(c[4]))}if(c=/#([a-fA-F0-9]{2})([a-fA-F0-9]{2})([a-fA-F0-9]{2})/.exec(b)){return e(parseInt(c[1],16),parseInt(c[2],16),parseInt(c[3],16))}if(c=/#([a-fA-F0-9])([a-fA-F0-9])([a-fA-F0-9])/.exec(b)){return e(parseInt(c[1]+c[1],16),parseInt(c[2]+c[2],16),parseInt(c[3]+c[3],16))}var d=jQuery.trim(b).toLowerCase();if(d=="transparent"){return e(255,255,255,0)}else{c=a[d];return e(c[0],c[1],c[2])}};var a={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]}})();(function(c){function b(M,y,z,e){var q=[],I={colors:["#edc240","#afd8f8","#cb4b4b","#4da74d","#9440ed"],legend:{show:true,noColumns:1,labelFormatter:null,labelBoxBorderColor:"#ccc",container:null,position:"ne",margin:5,backgroundColor:null,backgroundOpacity:0.85},xaxis:{mode:null,transform:null,inverseTransform:null,min:null,max:null,autoscaleMargin:null,ticks:null,tickFormatter:null,labelWidth:null,labelHeight:null,tickDecimals:null,tickSize:null,minTickSize:null,monthNames:null,timeformat:null,twelveHourClock:false},yaxis:{autoscaleMargin:0.02},x2axis:{autoscaleMargin:null},y2axis:{autoscaleMargin:0.02},series:{points:{show:false,radius:3,lineWidth:2,fill:true,fillColor:"#ffffff"},lines:{lineWidth:2,fill:false,fillColor:null,steps:false},bars:{show:false,lineWidth:2,barWidth:1,fill:true,fillColor:null,align:"left",horizontal:false},shadowSize:3},grid:{show:true,aboveData:false,color:"#545454",backgroundColor:null,tickColor:"rgba(0,0,0,0.15)",labelMargin:5,borderWidth:2,borderColor:null,markings:null,markingsColor:"#f4f4f4",markingsLineWidth:2,clickable:false,hoverable:false,autoHighlight:true,mouseActiveRadius:10},hooks:{}},r=null,ad=null,ae=null,A=null,ak=null,T={xaxis:{},yaxis:{},x2axis:{},y2axis:{}},G={left:0,right:0,top:0,bottom:0},Z=0,s=0,j=0,U=0,n={processOptions:[],processRawData:[],processDatapoints:[],draw:[],bindEvents:[],drawOverlay:[]},g=this;g.setData=H;g.setupGrid=L;g.draw=ai;g.getPlaceholder=function(){return M};g.getCanvas=function(){return r};g.getPlotOffset=function(){return G};g.width=function(){return j};g.height=function(){return U};g.offset=function(){var al=ae.offset();al.left+=G.left;al.top+=G.top;return al};g.getData=function(){return q};g.getAxes=function(){return T};g.getOptions=function(){return I};g.highlight=af;g.unhighlight=Y;g.triggerRedrawOverlay=R;g.pointOffset=function(al){return{left:parseInt(v(al,"xaxis").p2c(+al.x)+G.left),top:parseInt(v(al,"yaxis").p2c(+al.y)+G.top)}};g.hooks=n;D(g);S(z);E();H(y);L();ai();ah();function B(an,al){al=[g].concat(al);for(var am=0;am=I.colors.length){aq=0;++ap}}var ar=0,ay;for(aq=0;aqaN.datamax){aN.datamax=aL}}for(aE=0;aE0&&aD[aB-az]!=null&&aD[aB-az]!=aD[aB]&&aD[aB-az+1]!=aD[aB+1]){for(ax=0;axaw){aw=aK}}if(aH.y){if(aKaF){aF=aK}}}}if(at.bars.show){var aI=at.bars.align=="left"?0:-at.bars.barWidth/2;if(at.bars.horizontal){aA+=aI;aF+=aI+at.bars.barWidth}else{au+=aI;aw+=aI+at.bars.barWidth}}ao(at.xaxis,au,aw);ao(at.yaxis,aA,aF)}for(al in T){if(T[al].datamin==ay){T[al].datamin=null}if(T[al].datamax==ar){T[al].datamax=null}}}function E(){function al(an,am){var ao=document.createElement("canvas");ao.width=an;ao.height=am;if(c.browser.msie){ao=window.G_vmlCanvasManager.initElement(ao)}return ao}Z=M.width();s=M.height();M.html("");if(M.css("position")=="static"){M.css("position","relative")}if(Z<=0||s<=0){throw"Invalid dimensions for plot, width = "+Z+", height = "+s}if(c.browser.msie){window.G_vmlCanvasManager.init_(document)}r=c(al(Z,s)).appendTo(M).get(0);A=r.getContext("2d");ad=c(al(Z,s)).css({position:"absolute",left:0,top:0}).appendTo(M).get(0);ak=ad.getContext("2d");ak.stroke()}function ah(){ae=c([ad,r]);if(I.grid.hoverable){ae.mousemove(d)}if(I.grid.clickable){ae.click(F)}B(n.bindEvents,[ae])}function L(){function am(av,aw){function aq(ax){return ax}var au,ap,ar=aw.transform||aq,at=aw.inverseTransform;if(av==T.xaxis||av==T.x2axis){au=av.scale=j/(ar(av.max)-ar(av.min));ap=ar(av.min);if(ar==aq){av.p2c=function(ax){return(ax-ap)*au}}else{av.p2c=function(ax){return(ar(ax)-ap)*au}}if(!at){av.c2p=function(ax){return ap+ax/au}}else{av.c2p=function(ax){return at(ap+ax/au)}}}else{au=av.scale=U/(ar(av.max)-ar(av.min));ap=ar(av.max);if(ar==aq){av.p2c=function(ax){return(ap-ax)*au}}else{av.p2c=function(ax){return(ap-ar(ax))*au}}if(!at){av.c2p=function(ax){return ap-ax/au}}else{av.c2p=function(ax){return at(ap-ax/au)}}}}function ao(at,av){var ar,au=[],aq;at.labelWidth=av.labelWidth;at.labelHeight=av.labelHeight;if(at==T.xaxis||at==T.x2axis){if(at.labelWidth==null){at.labelWidth=Z/(at.ticks.length>0?at.ticks.length:1)}if(at.labelHeight==null){au=[];for(ar=0;ar\'+aq+"")}}if(au.length>0){var ap=c(\'
\'+au.join("")+\'
\').appendTo(M);at.labelHeight=ap.height();ap.remove()}}}else{if(at.labelWidth==null||at.labelHeight==null){for(ar=0;ar\'+aq+"")}}if(au.length>0){var ap=c(\'
\'+au.join("")+"
").appendTo(M);if(at.labelWidth==null){at.labelWidth=ap.width()}if(at.labelHeight==null){at.labelHeight=ap.find("div").height()}ap.remove()}}}if(at.labelWidth==null){at.labelWidth=0}if(at.labelHeight==null){at.labelHeight=0}}function an(){var aq=I.grid.borderWidth;for(i=0;i0){G.bottom=Math.max(aq,T.xaxis.labelHeight+ap)}if(T.yaxis.labelWidth>0){G.left=Math.max(aq,T.yaxis.labelWidth+ap)}if(T.x2axis.labelHeight>0){G.top=Math.max(aq,T.x2axis.labelHeight+ap)}if(T.y2axis.labelWidth>0){G.right=Math.max(aq,T.y2axis.labelWidth+ap)}j=Z-G.left-G.right;U=s-G.bottom-G.top}var al;for(al in T){l(T[al],I[al])}if(I.grid.show){for(al in T){f(T[al],I[al]);Q(T[al],I[al]);ao(T[al],I[al])}an()}else{G.left=G.right=G.top=G.bottom=0;j=Z;U=s}for(al in T){am(T[al],I[al])}if(I.grid.show){J()}aj()}function l(ao,ar){var an=+(ar.min!=null?ar.min:ao.datamin),al=+(ar.max!=null?ar.max:ao.datamax),aq=al-an;if(aq==0){var am=al==0?1:0.01;if(ar.min==null){an-=am}if(ar.max==null||ar.min!=null){al+=am}}else{var ap=ar.autoscaleMargin;if(ap!=null){if(ar.min==null){an-=aq*ap;if(an<0&&ao.datamin!=null&&ao.datamin>=0){an=0}}if(ar.max==null){al+=aq*ap;if(al>0&&ao.datamax!=null&&ao.datamax<=0){al=0}}}}ao.min=an;ao.max=al}function f(aq,au){var ap;if(typeof au.ticks=="number"&&au.ticks>0){ap=au.ticks}else{if(aq==T.xaxis||aq==T.x2axis){ap=0.3*Math.sqrt(Z)}else{ap=0.3*Math.sqrt(s)}}var az=(aq.max-aq.min)/ap,aB,av,ax,ay,at,an,am;if(au.mode=="time"){var aw={second:1000,minute:60*1000,hour:60*60*1000,day:24*60*60*1000,month:30*24*60*60*1000,year:365.2425*24*60*60*1000};var aA=[[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"]];var ao=0;if(au.minTickSize!=null){if(typeof au.tickSize=="number"){ao=au.tickSize}else{ao=au.minTickSize[0]*aw[au.minTickSize[1]]}}for(at=0;at=ao){break}}aB=aA[at][0];ax=aA[at][1];if(ax=="year"){an=Math.pow(10,Math.floor(Math.log(az/aw.year)/Math.LN10));am=(az/aw.year)/an;if(am<1.5){aB=1}else{if(am<3){aB=2}else{if(am<7.5){aB=5}else{aB=10}}}aB*=an}if(au.tickSize){aB=au.tickSize[0];ax=au.tickSize[1]}av=function(aE){var aJ=[],aH=aE.tickSize[0],aK=aE.tickSize[1],aI=new Date(aE.min);var aD=aH*aw[aK];if(aK=="second"){aI.setUTCSeconds(a(aI.getUTCSeconds(),aH))}if(aK=="minute"){aI.setUTCMinutes(a(aI.getUTCMinutes(),aH))}if(aK=="hour"){aI.setUTCHours(a(aI.getUTCHours(),aH))}if(aK=="month"){aI.setUTCMonth(a(aI.getUTCMonth(),aH))}if(aK=="year"){aI.setUTCFullYear(a(aI.getUTCFullYear(),aH))}aI.setUTCMilliseconds(0);if(aD>=aw.minute){aI.setUTCSeconds(0)}if(aD>=aw.hour){aI.setUTCMinutes(0)}if(aD>=aw.day){aI.setUTCHours(0)}if(aD>=aw.day*4){aI.setUTCDate(1)}if(aD>=aw.year){aI.setUTCMonth(0)}var aM=0,aL=Number.NaN,aF;do{aF=aL;aL=aI.getTime();aJ.push({v:aL,label:aE.tickFormatter(aL,aE)});if(aK=="month"){if(aH<1){aI.setUTCDate(1);var aC=aI.getTime();aI.setUTCMonth(aI.getUTCMonth()+1);var aG=aI.getTime();aI.setTime(aL+aM*aw.hour+(aG-aC)*aH);aM=aI.getUTCHours();aI.setUTCHours(0)}else{aI.setUTCMonth(aI.getUTCMonth()+aH)}}else{if(aK=="year"){aI.setUTCFullYear(aI.getUTCFullYear()+aH)}else{aI.setTime(aL+aD)}}}while(aLal){ar=al}an=Math.pow(10,-ar);am=az/an;if(am<1.5){aB=1}else{if(am<3){aB=2;if(am>2.25&&(al==null||ar+1<=al)){aB=2.5;++ar}}else{if(am<7.5){aB=5}else{aB=10}}}aB*=an;if(au.minTickSize!=null&&aB0){ap.ticks=ap.tickGenerator(ap)}}else{if(ar.ticks){var aq=ar.ticks;if(c.isFunction(aq)){aq=aq({min:ap.min,max:ap.max})}var ao,al;for(ao=0;ao1){am=an[1]}}else{al=an}if(am==null){am=ap.tickFormatter(al,ap)}ap.ticks[ao]={v:al,label:am}}}}}if(ar.autoscaleMargin!=null&&ap.ticks.length>0){if(ar.min==null){ap.min=Math.min(ap.min,ap.ticks[0].v)}if(ar.max==null&&ap.ticks.length>1){ap.max=Math.max(ap.max,ap.ticks[ap.ticks.length-1].v)}}}function ai(){A.clearRect(0,0,Z,s);var am=I.grid;if(am.show&&!am.aboveData){u()}for(var al=0;alaq){return{from:aq,to:ar,axis:ao}}return{from:ar,to:aq,axis:ao}}function u(){var ap;A.save();A.translate(G.left,G.top);if(I.grid.backgroundColor){A.fillStyle=t(I.grid.backgroundColor,U,0,"rgba(255, 255, 255, 0)");A.fillRect(0,0,j,U)}var am=I.grid.markings;if(am){if(c.isFunction(am)){am=am({xmin:T.xaxis.min,xmax:T.xaxis.max,ymin:T.yaxis.min,ymax:T.yaxis.max,xaxis:T.xaxis,yaxis:T.yaxis,x2axis:T.x2axis,y2axis:T.y2axis})}for(ap=0;apar.axis.max||ao.toao.axis.max){continue}ar.from=Math.max(ar.from,ar.axis.min);ar.to=Math.min(ar.to,ar.axis.max);ao.from=Math.max(ao.from,ao.axis.min);ao.to=Math.min(ao.to,ao.axis.max);if(ar.from==ar.to&&ao.from==ao.to){continue}ar.from=ar.axis.p2c(ar.from);ar.to=ar.axis.p2c(ar.to);ao.from=ao.axis.p2c(ao.from);ao.to=ao.axis.p2c(ao.to);if(ar.from==ar.to||ao.from==ao.to){A.beginPath();A.strokeStyle=al.color||I.grid.markingsColor;A.lineWidth=al.lineWidth||I.grid.markingsLineWidth;A.moveTo(ar.from,ao.from);A.lineTo(ar.to,ao.to);A.stroke()}else{A.fillStyle=al.color||I.grid.markingsColor;A.fillRect(ar.from,ao.to,ar.to-ar.from,ao.from-ao.to)}}}A.lineWidth=1;A.strokeStyle=I.grid.tickColor;A.beginPath();var an,aq=T.xaxis;for(ap=0;ap=T.xaxis.max){continue}A.moveTo(Math.floor(aq.p2c(an))+A.lineWidth/2,0);A.lineTo(Math.floor(aq.p2c(an))+A.lineWidth/2,U)}aq=T.yaxis;for(ap=0;ap=aq.max){continue}A.moveTo(0,Math.floor(aq.p2c(an))+A.lineWidth/2);A.lineTo(j,Math.floor(aq.p2c(an))+A.lineWidth/2)}aq=T.x2axis;for(ap=0;ap=aq.max){continue}A.moveTo(Math.floor(aq.p2c(an))+A.lineWidth/2,-5);A.lineTo(Math.floor(aq.p2c(an))+A.lineWidth/2,5)}aq=T.y2axis;for(ap=0;ap=aq.max){continue}A.moveTo(j-5,Math.floor(aq.p2c(an))+A.lineWidth/2);A.lineTo(j+5,Math.floor(aq.p2c(an))+A.lineWidth/2)}A.stroke();if(I.grid.borderWidth){var at=I.grid.borderWidth;A.lineWidth=at;A.strokeStyle=I.grid.borderColor;A.strokeRect(-at/2,-at/2,j+at,U+at)}A.restore()}function J(){M.find(".tickLabels").remove();var al=[\'
\'];function an(aq,ar){for(var ap=0;apaq.max){continue}al.push(ar(ao,aq))}}var am=I.grid.labelMargin+I.grid.borderWidth;an(T.xaxis,function(ao,ap){return\'
\'+ao.label+"
"});an(T.yaxis,function(ao,ap){return\'
\'+ao.label+"
"});an(T.x2axis,function(ao,ap){return\'
\'+ao.label+"
"});an(T.y2axis,function(ao,ap){return\'
\'+ao.label+"
"});al.push("
");M.append(al.join(""))}function ab(al){if(al.lines.show){C(al)}if(al.bars.show){O(al)}if(al.points.show){P(al)}}function C(ao){function an(aA,aB,at,aF,aE){var aG=aA.points,au=aA.pointsize,ay=null,ax=null;A.beginPath();for(var az=au;az=aC&&aD>aE.max){if(aC>aE.max){continue}aw=(aE.max-aD)/(aC-aD)*(av-aw)+aw;aD=aE.max}else{if(aC>=aD&&aC>aE.max){if(aD>aE.max){continue}av=(aE.max-aD)/(aC-aD)*(av-aw)+aw;aC=aE.max}}if(aw<=av&&aw=av&&aw>aF.max){if(av>aF.max){continue}aD=(aF.max-aw)/(av-aw)*(aC-aD)+aD;aw=aF.max}else{if(av>=aw&&av>aF.max){if(aw>aF.max){continue}aC=(aF.max-aw)/(av-aw)*(aC-aD)+aD;av=aF.max}}if(aw!=ay||aD!=ax){A.moveTo(aF.p2c(aw)+aB,aE.p2c(aD)+at)}ay=av;ax=aC;A.lineTo(aF.p2c(av)+aB,aE.p2c(aC)+at)}A.stroke()}function ap(az,aG,aE){var aH=az.points,at=az.pointsize,au=Math.min(Math.max(0,aE.min),aE.max),aC,ax=0,aF=false;for(var ay=at;ay=av&&aw>aG.max){if(av>aG.max){continue}aD=(aG.max-aw)/(av-aw)*(aB-aD)+aD;aw=aG.max}else{if(av>=aw&&av>aG.max){if(aw>aG.max){continue}aB=(aG.max-aw)/(av-aw)*(aB-aD)+aD;av=aG.max}}if(!aF){A.beginPath();A.moveTo(aG.p2c(aw),aE.p2c(au));aF=true}if(aD>=aE.max&&aB>=aE.max){A.lineTo(aG.p2c(aw),aE.p2c(aE.max));A.lineTo(aG.p2c(av),aE.p2c(aE.max));ax=av;continue}else{if(aD<=aE.min&&aB<=aE.min){A.lineTo(aG.p2c(aw),aE.p2c(aE.min));A.lineTo(aG.p2c(av),aE.p2c(aE.min));ax=av;continue}}var aI=aw,aA=av;if(aD<=aB&&aD=aE.min){aw=(aE.min-aD)/(aB-aD)*(av-aw)+aw;aD=aE.min}else{if(aB<=aD&&aB=aE.min){av=(aE.min-aD)/(aB-aD)*(av-aw)+aw;aB=aE.min}}if(aD>=aB&&aD>aE.max&&aB<=aE.max){aw=(aE.max-aD)/(aB-aD)*(av-aw)+aw;aD=aE.max}else{if(aB>=aD&&aB>aE.max&&aD<=aE.max){av=(aE.max-aD)/(aB-aD)*(av-aw)+aw;aB=aE.max}}if(aw!=aI){if(aD<=aE.min){aC=aE.min}else{aC=aE.max}A.lineTo(aG.p2c(aI),aE.p2c(aC));A.lineTo(aG.p2c(aw),aE.p2c(aC))}A.lineTo(aG.p2c(aw),aE.p2c(aD));A.lineTo(aG.p2c(av),aE.p2c(aB));if(av!=aA){if(aB<=aE.min){aC=aE.min}else{aC=aE.max}A.lineTo(aG.p2c(av),aE.p2c(aC));A.lineTo(aG.p2c(aA),aE.p2c(aC))}ax=Math.max(av,aA)}if(aF){A.lineTo(aG.p2c(ax),aE.p2c(au));A.fill()}}A.save();A.translate(G.left,G.top);A.lineJoin="round";var aq=ao.lines.lineWidth,al=ao.shadowSize;if(aq>0&&al>0){A.lineWidth=al;A.strokeStyle="rgba(0,0,0,0.1)";var ar=Math.PI/18;an(ao.datapoints,Math.sin(ar)*(aq/2+al/2),Math.cos(ar)*(aq/2+al/2),ao.xaxis,ao.yaxis);A.lineWidth=al/2;an(ao.datapoints,Math.sin(ar)*(aq/2+al/4),Math.cos(ar)*(aq/2+al/4),ao.xaxis,ao.yaxis)}A.lineWidth=aq;A.strokeStyle=ao.color;var am=x(ao.lines,ao.color,0,U);if(am){A.fillStyle=am;ap(ao.datapoints,ao.xaxis,ao.yaxis)}if(aq>0){an(ao.datapoints,0,0,ao.xaxis,ao.yaxis)}A.restore()}function P(ao){function aq(aw,av,aD,at,ax,aB,aA){var aC=aw.points,ar=aw.pointsize;for(var au=0;auaB.max||ayaA.max){continue}A.beginPath();A.arc(aB.p2c(az),aA.p2c(ay)+at,av,0,ax,false);if(aD){A.fillStyle=aD;A.fill()}A.stroke()}}A.save();A.translate(G.left,G.top);var ap=ao.lines.lineWidth,am=ao.shadowSize,al=ao.points.radius;if(ap>0&&am>0){var an=am/2;A.lineWidth=an;A.strokeStyle="rgba(0,0,0,0.1)";aq(ao.datapoints,al,null,an+an/2,Math.PI,ao.xaxis,ao.yaxis);A.strokeStyle="rgba(0,0,0,0.2)";aq(ao.datapoints,al,null,an/2,Math.PI,ao.xaxis,ao.yaxis)}A.lineWidth=ap;A.strokeStyle=ao.color;aq(ao.datapoints,al,x(ao.points,ao.color),0,2*Math.PI,ao.xaxis,ao.yaxis);A.restore()}function ac(ax,aw,aF,ar,aA,ao,am,av,au,aE,aB){var an,aD,at,az,ap,al,ay,aq,aC;if(aB){aq=al=ay=true;ap=false;an=aF;aD=ax;az=aw+ar;at=aw+aA;if(aDav.max||azau.max){return}if(anav.max){aD=av.max;al=false}if(atau.max){az=au.max;ay=false}an=av.p2c(an);at=au.p2c(at);aD=av.p2c(aD);az=au.p2c(az);if(am){aE.beginPath();aE.moveTo(an,at);aE.lineTo(an,az);aE.lineTo(aD,az);aE.lineTo(aD,at);aE.fillStyle=am(at,az);aE.fill()}if(ap||al||ay||aq){aE.beginPath();aE.moveTo(an,at+ao);if(ap){aE.lineTo(an,az+ao)}else{aE.moveTo(an,az+ao)}if(ay){aE.lineTo(aD,az+ao)}else{aE.moveTo(aD,az+ao)}if(al){aE.lineTo(aD,at+ao)}else{aE.moveTo(aD,at+ao)}if(aq){aE.lineTo(an,at+ao)}else{aE.moveTo(an,at+ao)}aE.stroke()}}function O(an){function am(au,at,aw,aq,av,ay,ax){var az=au.points,ap=au.pointsize;for(var ar=0;ar")}aq.push("");ao=true}if(ax){at=ax(at,aw)}aq.push(\'
\'+at+"")}if(ao){aq.push("")}if(aq.length==0){return}var av=\'\'+aq.join("")+"
";if(I.legend.container!=null){c(I.legend.container).html(av)}else{var ar="",am=I.legend.position,an=I.legend.margin;if(an[0]==null){an=[an,an]}if(am.charAt(0)=="n"){ar+="top:"+(an[1]+G.top)+"px;"}else{if(am.charAt(0)=="s"){ar+="bottom:"+(an[1]+G.bottom)+"px;"}}if(am.charAt(1)=="e"){ar+="right:"+(an[0]+G.right)+"px;"}else{if(am.charAt(1)=="w"){ar+="left:"+(an[0]+G.left)+"px;"}}var au=c(\'
\'+av.replace(\'style="\',\'style="position:absolute;\'+ar+";")+"
").appendTo(M);if(I.legend.backgroundOpacity!=0){var ap=I.legend.backgroundColor;if(ap==null){ap=I.grid.backgroundColor;if(ap&&typeof ap=="string"){ap=c.color.parse(ap)}else{ap=c.color.extract(au,"background-color")}ap.a=1;ap=ap.toString()}var al=au.children();c(\'
\').prependTo(au).css("opacity",I.legend.backgroundOpacity)}}}var X=[],k=null;function ag(at,aq,an){var az=I.grid.mouseActiveRadius,aL=az*az+1,aJ=null,aC=false,aH,aF;for(aH=0;aHam||av-aB<-am||au-ay>al||au-ay<-al){continue}var ax=Math.abs(ar.p2c(av)-at),aw=Math.abs(ap.p2c(au)-aq),aD=ax*ax+aw*aw;if(aD<=aL){aL=aD;aJ=[aH,aF/aE]}}}if(aA.bars.show&&!aJ){var ao=aA.bars.align=="left"?0:-aA.bars.barWidth/2,aI=ao+aA.bars.barWidth;for(aF=0;aF=Math.min(aK,av)&&ay>=au+ao&&ay<=au+aI):(aB>=av+ao&&aB<=av+aI&&ay>=Math.min(aK,au)&&ay<=Math.max(aK,au))){aJ=[aH,aF/aE]}}}}if(aJ){aH=aJ[0];aF=aJ[1];aE=q[aH].datapoints.pointsize;return{datapoint:q[aH].datapoints.points.slice(aF*aE,(aF+1)*aE),dataIndex:aF,series:q[aH],seriesIndex:aH}}return null}function d(al){if(I.grid.hoverable){h("plothover",al,function(am){return am.hoverable!=false})}}function F(al){h("plotclick",al,function(am){return am.clickable!=false})}function h(am,al,an){var ao=ae.offset(),au={pageX:al.pageX,pageY:al.pageY},ar=al.pageX-ao.left-G.left,ap=al.pageY-ao.top-G.top;if(T.xaxis.used){au.x=T.xaxis.c2p(ar)}if(T.yaxis.used){au.y=T.yaxis.c2p(ap)}if(T.x2axis.used){au.x2=T.x2axis.c2p(ar)}if(T.y2axis.used){au.y2=T.y2axis.c2p(ap)}var av=ag(ar,ap,an);if(av){av.pageX=parseInt(av.series.xaxis.p2c(av.datapoint[0])+ao.left+G.left);av.pageY=parseInt(av.series.yaxis.p2c(av.datapoint[1])+ao.top+G.top)}if(I.grid.autoHighlight){for(var aq=0;aqar.max||ataq.max){return}var ap=ao.points.radius+ao.points.lineWidth/2;ak.lineWidth=ap;ak.strokeStyle=c.color.parse(ao.color).scale("a",0.5).toString();var al=1.5*ap;ak.beginPath();ak.arc(ar.p2c(am),aq.p2c(at),al,0,2*Math.PI,false);ak.stroke()}function aa(ao,al){ak.lineWidth=ao.bars.lineWidth;ak.strokeStyle=c.color.parse(ao.color).scale("a",0.5).toString();var an=c.color.parse(ao.color).scale("a",0.5).toString();var am=ao.bars.align=="left"?0:-ao.bars.barWidth/2;ac(al[0],al[1],al[2]||0,am,am+ao.bars.barWidth,0,function(){return an},ao.xaxis,ao.yaxis,ak,ao.bars.horizontal)}function t(an,am,ar,ap){if(typeof an=="string"){return an}else{var aq=A.createLinearGradient(0,ar,0,am);for(var ao=0,al=an.colors.length;ao12){n=n-12}else{if(n==0){n=12}}}for(var g=0;g=D.length){break}z=r.length;if(A>=x.length||x[A]==null||D[C]==null){for(m=0;mF){if(t&&C>0&&D[C-y]!=null){k=v+(D[C-y+1]-v)*(F-w)/(D[C-y]-w);r.push(F);r.push(k+E);for(m=2;m0&&x[A-y]!=null){q=E+(x[A-y+1]-E)*(w-F)/(x[A-y]-F)}r[z+1]+=q;C+=y}}if(z!=r.length&&o){r[z+2]+=q}}if(n&&z!=r.length&&z>0&&r[z]!=null&&r[z]!=r[z-y]&&r[z+1]!=r[z-y+1]){for(m=0;m