mirror of
https://github.com/commercialhaskell/stackage.git
synced 2026-01-12 23:38:29 +01:00
1644 lines
432 KiB
Diff
1644 lines
432 KiB
Diff
diff -ruN orig/criterion.cabal new/criterion.cabal
|
|
--- orig/criterion.cabal 2014-08-10 20:30:05.797809138 +0300
|
|
+++ new/criterion.cabal 2014-08-10 20:30:05.000000000 +0300
|
|
@@ -131,6 +131,7 @@
|
|
type: exitcode-stdio-1.0
|
|
hs-source-dirs: tests
|
|
main-is: Tests.hs
|
|
+ other-modules: Properties
|
|
|
|
ghc-options:
|
|
-Wall -threaded -O0 -rtsopts
|
|
diff -ruN orig/examples/fibber.html new/examples/fibber.html
|
|
--- orig/examples/fibber.html 2014-08-10 20:30:05.789809138 +0300
|
|
+++ new/examples/fibber.html 1970-01-01 02:00:00.000000000 +0200
|
|
@@ -1,726 +0,0 @@
|
|
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
|
-<html>
|
|
- <head>
|
|
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
|
- <title>criterion report</title>
|
|
- <script language="javascript" type="text/javascript">
|
|
- /*! jQuery v2.1.1 | (c) 2005, 2014 jQuery Foundation, Inc. | jquery.org/license */
|
|
-!function(a,b){"object"==typeof module&&"object"==typeof module.exports?module.exports=a.document?b(a,!0):function(a){if(!a.document)throw new Error("jQuery requires a window with a document");return b(a)}:b(a)}("undefined"!=typeof window?window:this,function(a,b){var c=[],d=c.slice,e=c.concat,f=c.push,g=c.indexOf,h={},i=h.toString,j=h.hasOwnProperty,k={},l=a.document,m="2.1.1",n=function(a,b){return new n.fn.init(a,b)},o=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,p=/^-ms-/,q=/-([\da-z])/gi,r=function(a,b){return b.toUpperCase()};n.fn=n.prototype={jquery:m,constructor:n,selector:"",length:0,toArray:function(){return d.call(this)},get:function(a){return null!=a?0>a?this[a+this.length]:this[a]:d.call(this)},pushStack:function(a){var b=n.merge(this.constructor(),a);return b.prevObject=this,b.context=this.context,b},each:function(a,b){return n.each(this,a,b)},map:function(a){return this.pushStack(n.map(this,function(b,c){return a.call(b,c,b)}))},slice:function(){return this.pushStack(d.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(a){var b=this.length,c=+a+(0>a?b:0);return this.pushStack(c>=0&&b>c?[this[c]]:[])},end:function(){return this.prevObject||this.constructor(null)},push:f,sort:c.sort,splice:c.splice},n.extend=n.fn.extend=function(){var a,b,c,d,e,f,g=arguments[0]||{},h=1,i=arguments.length,j=!1;for("boolean"==typeof g&&(j=g,g=arguments[h]||{},h++),"object"==typeof g||n.isFunction(g)||(g={}),h===i&&(g=this,h--);i>h;h++)if(null!=(a=arguments[h]))for(b in a)c=g[b],d=a[b],g!==d&&(j&&d&&(n.isPlainObject(d)||(e=n.isArray(d)))?(e?(e=!1,f=c&&n.isArray(c)?c:[]):f=c&&n.isPlainObject(c)?c:{},g[b]=n.extend(j,f,d)):void 0!==d&&(g[b]=d));return g},n.extend({expando:"jQuery"+(m+Math.random()).replace(/\D/g,""),isReady:!0,error:function(a){throw new Error(a)},noop:function(){},isFunction:function(a){return"function"===n.type(a)},isArray:Array.isArray,isWindow:function(a){return null!=a&&a===a.window},isNumeric:function(a){return!n.isArray(a)&&a-parseFloat(a)>=0},isPlainObject:function(a){return"object"!==n.type(a)||a.nodeType||n.isWindow(a)?!1:a.constructor&&!j.call(a.constructor.prototype,"isPrototypeOf")?!1:!0},isEmptyObject:function(a){var b;for(b in a)return!1;return!0},type:function(a){return null==a?a+"":"object"==typeof a||"function"==typeof a?h[i.call(a)]||"object":typeof a},globalEval:function(a){var b,c=eval;a=n.trim(a),a&&(1===a.indexOf("use strict")?(b=l.createElement("script"),b.text=a,l.head.appendChild(b).parentNode.removeChild(b)):c(a))},camelCase:function(a){return a.replace(p,"ms-").replace(q,r)},nodeName:function(a,b){return a.nodeName&&a.nodeName.toLowerCase()===b.toLowerCase()},each:function(a,b,c){var d,e=0,f=a.length,g=s(a);if(c){if(g){for(;f>e;e++)if(d=b.apply(a[e],c),d===!1)break}else for(e in a)if(d=b.apply(a[e],c),d===!1)break}else if(g){for(;f>e;e++)if(d=b.call(a[e],e,a[e]),d===!1)break}else for(e in a)if(d=b.call(a[e],e,a[e]),d===!1)break;return a},trim:function(a){return null==a?"":(a+"").replace(o,"")},makeArray:function(a,b){var c=b||[];return null!=a&&(s(Object(a))?n.merge(c,"string"==typeof a?[a]:a):f.call(c,a)),c},inArray:function(a,b,c){return null==b?-1:g.call(b,a,c)},merge:function(a,b){for(var c=+b.length,d=0,e=a.length;c>d;d++)a[e++]=b[d];return a.length=e,a},grep:function(a,b,c){for(var d,e=[],f=0,g=a.length,h=!c;g>f;f++)d=!b(a[f],f),d!==h&&e.push(a[f]);return e},map:function(a,b,c){var d,f=0,g=a.length,h=s(a),i=[];if(h)for(;g>f;f++)d=b(a[f],f,c),null!=d&&i.push(d);else for(f in a)d=b(a[f],f,c),null!=d&&i.push(d);return e.apply([],i)},guid:1,proxy:function(a,b){var c,e,f;return"string"==typeof b&&(c=a[b],b=a,a=c),n.isFunction(a)?(e=d.call(arguments,2),f=function(){return a.apply(b||this,e.concat(d.call(arguments)))},f.guid=a.guid=a.guid||n.guid++,f):void 0},now:Date.now,support:k}),n.each("Boolean Number String Function Array Date RegExp Object Error".split(" "),function(a,b){h["[object "+b+"]"]=b.toLowerCase()});function s(a){var b=a.length,c=n.type(a);return"function"===c||n.isWindow(a)?!1:1===a.nodeType&&b?!0:"array"===c||0===b||"number"==typeof b&&b>0&&b-1 in a}var t=function(a){var b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u="sizzle"+-new Date,v=a.document,w=0,x=0,y=gb(),z=gb(),A=gb(),B=function(a,b){return a===b&&(l=!0),0},C="undefined",D=1<<31,E={}.hasOwnProperty,F=[],G=F.pop,H=F.push,I=F.push,J=F.slice,K=F.indexOf||function(a){for(var b=0,c=this.length;c>b;b++)if(this[b]===a)return b;return-1},L="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",M="[\\x20\\t\\r\\n\\f]",N="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",O=N.replace("w","w#"),P="\\["+M+"*("+N+")(?:"+M+"*([*^$|!~]?=)"+M+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+O+"))|)"+M+"*\\]",Q=":("+N+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+P+")*)|.*)\\)|)",R=new RegExp("^"+M+"+|((?:^|[^\\\\])(?:\\\\.)*)"+M+"+$","g"),S=new RegExp("^"+M+"*,"+M+"*"),T=new RegExp("^"+M+"*([>+~]|"+M+")"+M+"*"),U=new RegExp("="+M+"*([^\\]'\"]*?)"+M+"*\\]","g"),V=new RegExp(Q),W=new RegExp("^"+O+"$"),X={ID:new RegExp("^#("+N+")"),CLASS:new RegExp("^\\.("+N+")"),TAG:new RegExp("^("+N.replace("w","w*")+")"),ATTR:new RegExp("^"+P),PSEUDO:new RegExp("^"+Q),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+M+"*(even|odd|(([+-]|)(\\d*)n|)"+M+"*(?:([+-]|)"+M+"*(\\d+)|))"+M+"*\\)|)","i"),bool:new RegExp("^(?:"+L+")$","i"),needsContext:new RegExp("^"+M+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+M+"*((?:-\\d)?\\d*)"+M+"*\\)|)(?=[^-]|$)","i")},Y=/^(?:input|select|textarea|button)$/i,Z=/^h\d$/i,$=/^[^{]+\{\s*\[native \w/,_=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ab=/[+~]/,bb=/'|\\/g,cb=new RegExp("\\\\([\\da-f]{1,6}"+M+"?|("+M+")|.)","ig"),db=function(a,b,c){var d="0x"+b-65536;return d!==d||c?b:0>d?String.fromCharCode(d+65536):String.fromCharCode(d>>10|55296,1023&d|56320)};try{I.apply(F=J.call(v.childNodes),v.childNodes),F[v.childNodes.length].nodeType}catch(eb){I={apply:F.length?function(a,b){H.apply(a,J.call(b))}:function(a,b){var c=a.length,d=0;while(a[c++]=b[d++]);a.length=c-1}}}function fb(a,b,d,e){var f,h,j,k,l,o,r,s,w,x;if((b?b.ownerDocument||b:v)!==n&&m(b),b=b||n,d=d||[],!a||"string"!=typeof a)return d;if(1!==(k=b.nodeType)&&9!==k)return[];if(p&&!e){if(f=_.exec(a))if(j=f[1]){if(9===k){if(h=b.getElementById(j),!h||!h.parentNode)return d;if(h.id===j)return d.push(h),d}else if(b.ownerDocument&&(h=b.ownerDocument.getElementById(j))&&t(b,h)&&h.id===j)return d.push(h),d}else{if(f[2])return I.apply(d,b.getElementsByTagName(a)),d;if((j=f[3])&&c.getElementsByClassName&&b.getElementsByClassName)return I.apply(d,b.getElementsByClassName(j)),d}if(c.qsa&&(!q||!q.test(a))){if(s=r=u,w=b,x=9===k&&a,1===k&&"object"!==b.nodeName.toLowerCase()){o=g(a),(r=b.getAttribute("id"))?s=r.replace(bb,"\\$&"):b.setAttribute("id",s),s="[id='"+s+"'] ",l=o.length;while(l--)o[l]=s+qb(o[l]);w=ab.test(a)&&ob(b.parentNode)||b,x=o.join(",")}if(x)try{return I.apply(d,w.querySelectorAll(x)),d}catch(y){}finally{r||b.removeAttribute("id")}}}return i(a.replace(R,"$1"),b,d,e)}function gb(){var a=[];function b(c,e){return a.push(c+" ")>d.cacheLength&&delete b[a.shift()],b[c+" "]=e}return b}function hb(a){return a[u]=!0,a}function ib(a){var b=n.createElement("div");try{return!!a(b)}catch(c){return!1}finally{b.parentNode&&b.parentNode.removeChild(b),b=null}}function jb(a,b){var c=a.split("|"),e=a.length;while(e--)d.attrHandle[c[e]]=b}function kb(a,b){var c=b&&a,d=c&&1===a.nodeType&&1===b.nodeType&&(~b.sourceIndex||D)-(~a.sourceIndex||D);if(d)return d;if(c)while(c=c.nextSibling)if(c===b)return-1;return a?1:-1}function lb(a){return function(b){var c=b.nodeName.toLowerCase();return"input"===c&&b.type===a}}function mb(a){return function(b){var c=b.nodeName.toLowerCase();return("input"===c||"button"===c)&&b.type===a}}function nb(a){return hb(function(b){return b=+b,hb(function(c,d){var e,f=a([],c.length,b),g=f.length;while(g--)c[e=f[g]]&&(c[e]=!(d[e]=c[e]))})})}function ob(a){return a&&typeof a.getElementsByTagName!==C&&a}c=fb.support={},f=fb.isXML=function(a){var b=a&&(a.ownerDocument||a).documentElement;return b?"HTML"!==b.nodeName:!1},m=fb.setDocument=function(a){var b,e=a?a.ownerDocument||a:v,g=e.defaultView;return e!==n&&9===e.nodeType&&e.documentElement?(n=e,o=e.documentElement,p=!f(e),g&&g!==g.top&&(g.addEventListener?g.addEventListener("unload",function(){m()},!1):g.attachEvent&&g.attachEvent("onunload",function(){m()})),c.attributes=ib(function(a){return a.className="i",!a.getAttribute("className")}),c.getElementsByTagName=ib(function(a){return a.appendChild(e.createComment("")),!a.getElementsByTagName("*").length}),c.getElementsByClassName=$.test(e.getElementsByClassName)&&ib(function(a){return a.innerHTML="<div class='a'></div><div class='a i'></div>",a.firstChild.className="i",2===a.getElementsByClassName("i").length}),c.getById=ib(function(a){return o.appendChild(a).id=u,!e.getElementsByName||!e.getElementsByName(u).length}),c.getById?(d.find.ID=function(a,b){if(typeof b.getElementById!==C&&p){var c=b.getElementById(a);return c&&c.parentNode?[c]:[]}},d.filter.ID=function(a){var b=a.replace(cb,db);return function(a){return a.getAttribute("id")===b}}):(delete d.find.ID,d.filter.ID=function(a){var b=a.replace(cb,db);return function(a){var c=typeof a.getAttributeNode!==C&&a.getAttributeNode("id");return c&&c.value===b}}),d.find.TAG=c.getElementsByTagName?function(a,b){return typeof b.getElementsByTagName!==C?b.getElementsByTagName(a):void 0}:function(a,b){var c,d=[],e=0,f=b.getElementsByTagName(a);if("*"===a){while(c=f[e++])1===c.nodeType&&d.push(c);return d}return f},d.find.CLASS=c.getElementsByClassName&&function(a,b){return typeof b.getElementsByClassName!==C&&p?b.getElementsByClassName(a):void 0},r=[],q=[],(c.qsa=$.test(e.querySelectorAll))&&(ib(function(a){a.innerHTML="<select msallowclip=''><option selected=''></option></select>",a.querySelectorAll("[msallowclip^='']").length&&q.push("[*^$]="+M+"*(?:''|\"\")"),a.querySelectorAll("[selected]").length||q.push("\\["+M+"*(?:value|"+L+")"),a.querySelectorAll(":checked").length||q.push(":checked")}),ib(function(a){var b=e.createElement("input");b.setAttribute("type","hidden"),a.appendChild(b).setAttribute("name","D"),a.querySelectorAll("[name=d]").length&&q.push("name"+M+"*[*^$|!~]?="),a.querySelectorAll(":enabled").length||q.push(":enabled",":disabled"),a.querySelectorAll("*,:x"),q.push(",.*:")})),(c.matchesSelector=$.test(s=o.matches||o.webkitMatchesSelector||o.mozMatchesSelector||o.oMatchesSelector||o.msMatchesSelector))&&ib(function(a){c.disconnectedMatch=s.call(a,"div"),s.call(a,"[s!='']:x"),r.push("!=",Q)}),q=q.length&&new RegExp(q.join("|")),r=r.length&&new RegExp(r.join("|")),b=$.test(o.compareDocumentPosition),t=b||$.test(o.contains)?function(a,b){var c=9===a.nodeType?a.documentElement:a,d=b&&b.parentNode;return a===d||!(!d||1!==d.nodeType||!(c.contains?c.contains(d):a.compareDocumentPosition&&16&a.compareDocumentPosition(d)))}:function(a,b){if(b)while(b=b.parentNode)if(b===a)return!0;return!1},B=b?function(a,b){if(a===b)return l=!0,0;var d=!a.compareDocumentPosition-!b.compareDocumentPosition;return d?d:(d=(a.ownerDocument||a)===(b.ownerDocument||b)?a.compareDocumentPosition(b):1,1&d||!c.sortDetached&&b.compareDocumentPosition(a)===d?a===e||a.ownerDocument===v&&t(v,a)?-1:b===e||b.ownerDocument===v&&t(v,b)?1:k?K.call(k,a)-K.call(k,b):0:4&d?-1:1)}:function(a,b){if(a===b)return l=!0,0;var c,d=0,f=a.parentNode,g=b.parentNode,h=[a],i=[b];if(!f||!g)return a===e?-1:b===e?1:f?-1:g?1:k?K.call(k,a)-K.call(k,b):0;if(f===g)return kb(a,b);c=a;while(c=c.parentNode)h.unshift(c);c=b;while(c=c.parentNode)i.unshift(c);while(h[d]===i[d])d++;return d?kb(h[d],i[d]):h[d]===v?-1:i[d]===v?1:0},e):n},fb.matches=function(a,b){return fb(a,null,null,b)},fb.matchesSelector=function(a,b){if((a.ownerDocument||a)!==n&&m(a),b=b.replace(U,"='$1']"),!(!c.matchesSelector||!p||r&&r.test(b)||q&&q.test(b)))try{var d=s.call(a,b);if(d||c.disconnectedMatch||a.document&&11!==a.document.nodeType)return d}catch(e){}return fb(b,n,null,[a]).length>0},fb.contains=function(a,b){return(a.ownerDocument||a)!==n&&m(a),t(a,b)},fb.attr=function(a,b){(a.ownerDocument||a)!==n&&m(a);var e=d.attrHandle[b.toLowerCase()],f=e&&E.call(d.attrHandle,b.toLowerCase())?e(a,b,!p):void 0;return void 0!==f?f:c.attributes||!p?a.getAttribute(b):(f=a.getAttributeNode(b))&&f.specified?f.value:null},fb.error=function(a){throw new Error("Syntax error, unrecognized expression: "+a)},fb.uniqueSort=function(a){var b,d=[],e=0,f=0;if(l=!c.detectDuplicates,k=!c.sortStable&&a.slice(0),a.sort(B),l){while(b=a[f++])b===a[f]&&(e=d.push(f));while(e--)a.splice(d[e],1)}return k=null,a},e=fb.getText=function(a){var b,c="",d=0,f=a.nodeType;if(f){if(1===f||9===f||11===f){if("string"==typeof a.textContent)return a.textContent;for(a=a.firstChild;a;a=a.nextSibling)c+=e(a)}else if(3===f||4===f)return a.nodeValue}else while(b=a[d++])c+=e(b);return c},d=fb.selectors={cacheLength:50,createPseudo:hb,match:X,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(a){return a[1]=a[1].replace(cb,db),a[3]=(a[3]||a[4]||a[5]||"").replace(cb,db),"~="===a[2]&&(a[3]=" "+a[3]+" "),a.slice(0,4)},CHILD:function(a){return a[1]=a[1].toLowerCase(),"nth"===a[1].slice(0,3)?(a[3]||fb.error(a[0]),a[4]=+(a[4]?a[5]+(a[6]||1):2*("even"===a[3]||"odd"===a[3])),a[5]=+(a[7]+a[8]||"odd"===a[3])):a[3]&&fb.error(a[0]),a},PSEUDO:function(a){var b,c=!a[6]&&a[2];return X.CHILD.test(a[0])?null:(a[3]?a[2]=a[4]||a[5]||"":c&&V.test(c)&&(b=g(c,!0))&&(b=c.indexOf(")",c.length-b)-c.length)&&(a[0]=a[0].slice(0,b),a[2]=c.slice(0,b)),a.slice(0,3))}},filter:{TAG:function(a){var b=a.replace(cb,db).toLowerCase();return"*"===a?function(){return!0}:function(a){return a.nodeName&&a.nodeName.toLowerCase()===b}},CLASS:function(a){var b=y[a+" "];return b||(b=new RegExp("(^|"+M+")"+a+"("+M+"|$)"))&&y(a,function(a){return b.test("string"==typeof a.className&&a.className||typeof a.getAttribute!==C&&a.getAttribute("class")||"")})},ATTR:function(a,b,c){return function(d){var e=fb.attr(d,a);return null==e?"!="===b:b?(e+="","="===b?e===c:"!="===b?e!==c:"^="===b?c&&0===e.indexOf(c):"*="===b?c&&e.indexOf(c)>-1:"$="===b?c&&e.slice(-c.length)===c:"~="===b?(" "+e+" ").indexOf(c)>-1:"|="===b?e===c||e.slice(0,c.length+1)===c+"-":!1):!0}},CHILD:function(a,b,c,d,e){var f="nth"!==a.slice(0,3),g="last"!==a.slice(-4),h="of-type"===b;return 1===d&&0===e?function(a){return!!a.parentNode}:function(b,c,i){var j,k,l,m,n,o,p=f!==g?"nextSibling":"previousSibling",q=b.parentNode,r=h&&b.nodeName.toLowerCase(),s=!i&&!h;if(q){if(f){while(p){l=b;while(l=l[p])if(h?l.nodeName.toLowerCase()===r:1===l.nodeType)return!1;o=p="only"===a&&!o&&"nextSibling"}return!0}if(o=[g?q.firstChild:q.lastChild],g&&s){k=q[u]||(q[u]={}),j=k[a]||[],n=j[0]===w&&j[1],m=j[0]===w&&j[2],l=n&&q.childNodes[n];while(l=++n&&l&&l[p]||(m=n=0)||o.pop())if(1===l.nodeType&&++m&&l===b){k[a]=[w,n,m];break}}else if(s&&(j=(b[u]||(b[u]={}))[a])&&j[0]===w)m=j[1];else while(l=++n&&l&&l[p]||(m=n=0)||o.pop())if((h?l.nodeName.toLowerCase()===r:1===l.nodeType)&&++m&&(s&&((l[u]||(l[u]={}))[a]=[w,m]),l===b))break;return m-=e,m===d||m%d===0&&m/d>=0}}},PSEUDO:function(a,b){var c,e=d.pseudos[a]||d.setFilters[a.toLowerCase()]||fb.error("unsupported pseudo: "+a);return e[u]?e(b):e.length>1?(c=[a,a,"",b],d.setFilters.hasOwnProperty(a.toLowerCase())?hb(function(a,c){var d,f=e(a,b),g=f.length;while(g--)d=K.call(a,f[g]),a[d]=!(c[d]=f[g])}):function(a){return e(a,0,c)}):e}},pseudos:{not:hb(function(a){var b=[],c=[],d=h(a.replace(R,"$1"));return d[u]?hb(function(a,b,c,e){var f,g=d(a,null,e,[]),h=a.length;while(h--)(f=g[h])&&(a[h]=!(b[h]=f))}):function(a,e,f){return b[0]=a,d(b,null,f,c),!c.pop()}}),has:hb(function(a){return function(b){return fb(a,b).length>0}}),contains:hb(function(a){return function(b){return(b.textContent||b.innerText||e(b)).indexOf(a)>-1}}),lang:hb(function(a){return W.test(a||"")||fb.error("unsupported lang: "+a),a=a.replace(cb,db).toLowerCase(),function(b){var c;do if(c=p?b.lang:b.getAttribute("xml:lang")||b.getAttribute("lang"))return c=c.toLowerCase(),c===a||0===c.indexOf(a+"-");while((b=b.parentNode)&&1===b.nodeType);return!1}}),target:function(b){var c=a.location&&a.location.hash;return c&&c.slice(1)===b.id},root:function(a){return a===o},focus:function(a){return a===n.activeElement&&(!n.hasFocus||n.hasFocus())&&!!(a.type||a.href||~a.tabIndex)},enabled:function(a){return a.disabled===!1},disabled:function(a){return a.disabled===!0},checked:function(a){var b=a.nodeName.toLowerCase();return"input"===b&&!!a.checked||"option"===b&&!!a.selected},selected:function(a){return a.parentNode&&a.parentNode.selectedIndex,a.selected===!0},empty:function(a){for(a=a.firstChild;a;a=a.nextSibling)if(a.nodeType<6)return!1;return!0},parent:function(a){return!d.pseudos.empty(a)},header:function(a){return Z.test(a.nodeName)},input:function(a){return Y.test(a.nodeName)},button:function(a){var b=a.nodeName.toLowerCase();return"input"===b&&"button"===a.type||"button"===b},text:function(a){var b;return"input"===a.nodeName.toLowerCase()&&"text"===a.type&&(null==(b=a.getAttribute("type"))||"text"===b.toLowerCase())},first:nb(function(){return[0]}),last:nb(function(a,b){return[b-1]}),eq:nb(function(a,b,c){return[0>c?c+b:c]}),even:nb(function(a,b){for(var c=0;b>c;c+=2)a.push(c);return a}),odd:nb(function(a,b){for(var c=1;b>c;c+=2)a.push(c);return a}),lt:nb(function(a,b,c){for(var d=0>c?c+b:c;--d>=0;)a.push(d);return a}),gt:nb(function(a,b,c){for(var d=0>c?c+b:c;++d<b;)a.push(d);return a})}},d.pseudos.nth=d.pseudos.eq;for(b in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})d.pseudos[b]=lb(b);for(b in{submit:!0,reset:!0})d.pseudos[b]=mb(b);function pb(){}pb.prototype=d.filters=d.pseudos,d.setFilters=new pb,g=fb.tokenize=function(a,b){var c,e,f,g,h,i,j,k=z[a+" "];if(k)return b?0:k.slice(0);h=a,i=[],j=d.preFilter;while(h){(!c||(e=S.exec(h)))&&(e&&(h=h.slice(e[0].length)||h),i.push(f=[])),c=!1,(e=T.exec(h))&&(c=e.shift(),f.push({value:c,type:e[0].replace(R," ")}),h=h.slice(c.length));for(g in d.filter)!(e=X[g].exec(h))||j[g]&&!(e=j[g](e))||(c=e.shift(),f.push({value:c,type:g,matches:e}),h=h.slice(c.length));if(!c)break}return b?h.length:h?fb.error(a):z(a,i).slice(0)};function qb(a){for(var b=0,c=a.length,d="";c>b;b++)d+=a[b].value;return d}function rb(a,b,c){var d=b.dir,e=c&&"parentNode"===d,f=x++;return b.first?function(b,c,f){while(b=b[d])if(1===b.nodeType||e)return a(b,c,f)}:function(b,c,g){var h,i,j=[w,f];if(g){while(b=b[d])if((1===b.nodeType||e)&&a(b,c,g))return!0}else while(b=b[d])if(1===b.nodeType||e){if(i=b[u]||(b[u]={}),(h=i[d])&&h[0]===w&&h[1]===f)return j[2]=h[2];if(i[d]=j,j[2]=a(b,c,g))return!0}}}function sb(a){return a.length>1?function(b,c,d){var e=a.length;while(e--)if(!a[e](b,c,d))return!1;return!0}:a[0]}function tb(a,b,c){for(var d=0,e=b.length;e>d;d++)fb(a,b[d],c);return c}function ub(a,b,c,d,e){for(var f,g=[],h=0,i=a.length,j=null!=b;i>h;h++)(f=a[h])&&(!c||c(f,d,e))&&(g.push(f),j&&b.push(h));return g}function vb(a,b,c,d,e,f){return d&&!d[u]&&(d=vb(d)),e&&!e[u]&&(e=vb(e,f)),hb(function(f,g,h,i){var j,k,l,m=[],n=[],o=g.length,p=f||tb(b||"*",h.nodeType?[h]:h,[]),q=!a||!f&&b?p:ub(p,m,a,h,i),r=c?e||(f?a:o||d)?[]:g:q;if(c&&c(q,r,h,i),d){j=ub(r,n),d(j,[],h,i),k=j.length;while(k--)(l=j[k])&&(r[n[k]]=!(q[n[k]]=l))}if(f){if(e||a){if(e){j=[],k=r.length;while(k--)(l=r[k])&&j.push(q[k]=l);e(null,r=[],j,i)}k=r.length;while(k--)(l=r[k])&&(j=e?K.call(f,l):m[k])>-1&&(f[j]=!(g[j]=l))}}else r=ub(r===g?r.splice(o,r.length):r),e?e(null,g,r,i):I.apply(g,r)})}function wb(a){for(var b,c,e,f=a.length,g=d.relative[a[0].type],h=g||d.relative[" "],i=g?1:0,k=rb(function(a){return a===b},h,!0),l=rb(function(a){return K.call(b,a)>-1},h,!0),m=[function(a,c,d){return!g&&(d||c!==j)||((b=c).nodeType?k(a,c,d):l(a,c,d))}];f>i;i++)if(c=d.relative[a[i].type])m=[rb(sb(m),c)];else{if(c=d.filter[a[i].type].apply(null,a[i].matches),c[u]){for(e=++i;f>e;e++)if(d.relative[a[e].type])break;return vb(i>1&&sb(m),i>1&&qb(a.slice(0,i-1).concat({value:" "===a[i-2].type?"*":""})).replace(R,"$1"),c,e>i&&wb(a.slice(i,e)),f>e&&wb(a=a.slice(e)),f>e&&qb(a))}m.push(c)}return sb(m)}function xb(a,b){var c=b.length>0,e=a.length>0,f=function(f,g,h,i,k){var l,m,o,p=0,q="0",r=f&&[],s=[],t=j,u=f||e&&d.find.TAG("*",k),v=w+=null==t?1:Math.random()||.1,x=u.length;for(k&&(j=g!==n&&g);q!==x&&null!=(l=u[q]);q++){if(e&&l){m=0;while(o=a[m++])if(o(l,g,h)){i.push(l);break}k&&(w=v)}c&&((l=!o&&l)&&p--,f&&r.push(l))}if(p+=q,c&&q!==p){m=0;while(o=b[m++])o(r,s,g,h);if(f){if(p>0)while(q--)r[q]||s[q]||(s[q]=G.call(i));s=ub(s)}I.apply(i,s),k&&!f&&s.length>0&&p+b.length>1&&fb.uniqueSort(i)}return k&&(w=v,j=t),r};return c?hb(f):f}return h=fb.compile=function(a,b){var c,d=[],e=[],f=A[a+" "];if(!f){b||(b=g(a)),c=b.length;while(c--)f=wb(b[c]),f[u]?d.push(f):e.push(f);f=A(a,xb(e,d)),f.selector=a}return f},i=fb.select=function(a,b,e,f){var i,j,k,l,m,n="function"==typeof a&&a,o=!f&&g(a=n.selector||a);if(e=e||[],1===o.length){if(j=o[0]=o[0].slice(0),j.length>2&&"ID"===(k=j[0]).type&&c.getById&&9===b.nodeType&&p&&d.relative[j[1].type]){if(b=(d.find.ID(k.matches[0].replace(cb,db),b)||[])[0],!b)return e;n&&(b=b.parentNode),a=a.slice(j.shift().value.length)}i=X.needsContext.test(a)?0:j.length;while(i--){if(k=j[i],d.relative[l=k.type])break;if((m=d.find[l])&&(f=m(k.matches[0].replace(cb,db),ab.test(j[0].type)&&ob(b.parentNode)||b))){if(j.splice(i,1),a=f.length&&qb(j),!a)return I.apply(e,f),e;break}}}return(n||h(a,o))(f,b,!p,e,ab.test(a)&&ob(b.parentNode)||b),e},c.sortStable=u.split("").sort(B).join("")===u,c.detectDuplicates=!!l,m(),c.sortDetached=ib(function(a){return 1&a.compareDocumentPosition(n.createElement("div"))}),ib(function(a){return a.innerHTML="<a href='#'></a>","#"===a.firstChild.getAttribute("href")})||jb("type|href|height|width",function(a,b,c){return c?void 0:a.getAttribute(b,"type"===b.toLowerCase()?1:2)}),c.attributes&&ib(function(a){return a.innerHTML="<input/>",a.firstChild.setAttribute("value",""),""===a.firstChild.getAttribute("value")})||jb("value",function(a,b,c){return c||"input"!==a.nodeName.toLowerCase()?void 0:a.defaultValue}),ib(function(a){return null==a.getAttribute("disabled")})||jb(L,function(a,b,c){var d;return c?void 0:a[b]===!0?b.toLowerCase():(d=a.getAttributeNode(b))&&d.specified?d.value:null}),fb}(a);n.find=t,n.expr=t.selectors,n.expr[":"]=n.expr.pseudos,n.unique=t.uniqueSort,n.text=t.getText,n.isXMLDoc=t.isXML,n.contains=t.contains;var u=n.expr.match.needsContext,v=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,w=/^.[^:#\[\.,]*$/;function x(a,b,c){if(n.isFunction(b))return n.grep(a,function(a,d){return!!b.call(a,d,a)!==c});if(b.nodeType)return n.grep(a,function(a){return a===b!==c});if("string"==typeof b){if(w.test(b))return n.filter(b,a,c);b=n.filter(b,a)}return n.grep(a,function(a){return g.call(b,a)>=0!==c})}n.filter=function(a,b,c){var d=b[0];return c&&(a=":not("+a+")"),1===b.length&&1===d.nodeType?n.find.matchesSelector(d,a)?[d]:[]:n.find.matches(a,n.grep(b,function(a){return 1===a.nodeType}))},n.fn.extend({find:function(a){var b,c=this.length,d=[],e=this;if("string"!=typeof a)return this.pushStack(n(a).filter(function(){for(b=0;c>b;b++)if(n.contains(e[b],this))return!0}));for(b=0;c>b;b++)n.find(a,e[b],d);return d=this.pushStack(c>1?n.unique(d):d),d.selector=this.selector?this.selector+" "+a:a,d},filter:function(a){return this.pushStack(x(this,a||[],!1))},not:function(a){return this.pushStack(x(this,a||[],!0))},is:function(a){return!!x(this,"string"==typeof a&&u.test(a)?n(a):a||[],!1).length}});var y,z=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/,A=n.fn.init=function(a,b){var c,d;if(!a)return this;if("string"==typeof a){if(c="<"===a[0]&&">"===a[a.length-1]&&a.length>=3?[null,a,null]:z.exec(a),!c||!c[1]&&b)return!b||b.jquery?(b||y).find(a):this.constructor(b).find(a);if(c[1]){if(b=b instanceof n?b[0]:b,n.merge(this,n.parseHTML(c[1],b&&b.nodeType?b.ownerDocument||b:l,!0)),v.test(c[1])&&n.isPlainObject(b))for(c in b)n.isFunction(this[c])?this[c](b[c]):this.attr(c,b[c]);return this}return d=l.getElementById(c[2]),d&&d.parentNode&&(this.length=1,this[0]=d),this.context=l,this.selector=a,this}return a.nodeType?(this.context=this[0]=a,this.length=1,this):n.isFunction(a)?"undefined"!=typeof y.ready?y.ready(a):a(n):(void 0!==a.selector&&(this.selector=a.selector,this.context=a.context),n.makeArray(a,this))};A.prototype=n.fn,y=n(l);var B=/^(?:parents|prev(?:Until|All))/,C={children:!0,contents:!0,next:!0,prev:!0};n.extend({dir:function(a,b,c){var d=[],e=void 0!==c;while((a=a[b])&&9!==a.nodeType)if(1===a.nodeType){if(e&&n(a).is(c))break;d.push(a)}return d},sibling:function(a,b){for(var c=[];a;a=a.nextSibling)1===a.nodeType&&a!==b&&c.push(a);return c}}),n.fn.extend({has:function(a){var b=n(a,this),c=b.length;return this.filter(function(){for(var a=0;c>a;a++)if(n.contains(this,b[a]))return!0})},closest:function(a,b){for(var c,d=0,e=this.length,f=[],g=u.test(a)||"string"!=typeof a?n(a,b||this.context):0;e>d;d++)for(c=this[d];c&&c!==b;c=c.parentNode)if(c.nodeType<11&&(g?g.index(c)>-1:1===c.nodeType&&n.find.matchesSelector(c,a))){f.push(c);break}return this.pushStack(f.length>1?n.unique(f):f)},index:function(a){return a?"string"==typeof a?g.call(n(a),this[0]):g.call(this,a.jquery?a[0]:a):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(a,b){return this.pushStack(n.unique(n.merge(this.get(),n(a,b))))},addBack:function(a){return this.add(null==a?this.prevObject:this.prevObject.filter(a))}});function D(a,b){while((a=a[b])&&1!==a.nodeType);return a}n.each({parent:function(a){var b=a.parentNode;return b&&11!==b.nodeType?b:null},parents:function(a){return n.dir(a,"parentNode")},parentsUntil:function(a,b,c){return n.dir(a,"parentNode",c)},next:function(a){return D(a,"nextSibling")},prev:function(a){return D(a,"previousSibling")},nextAll:function(a){return n.dir(a,"nextSibling")},prevAll:function(a){return n.dir(a,"previousSibling")},nextUntil:function(a,b,c){return n.dir(a,"nextSibling",c)},prevUntil:function(a,b,c){return n.dir(a,"previousSibling",c)},siblings:function(a){return n.sibling((a.parentNode||{}).firstChild,a)},children:function(a){return n.sibling(a.firstChild)},contents:function(a){return a.contentDocument||n.merge([],a.childNodes)}},function(a,b){n.fn[a]=function(c,d){var e=n.map(this,b,c);return"Until"!==a.slice(-5)&&(d=c),d&&"string"==typeof d&&(e=n.filter(d,e)),this.length>1&&(C[a]||n.unique(e),B.test(a)&&e.reverse()),this.pushStack(e)}});var E=/\S+/g,F={};function G(a){var b=F[a]={};return n.each(a.match(E)||[],function(a,c){b[c]=!0}),b}n.Callbacks=function(a){a="string"==typeof a?F[a]||G(a):n.extend({},a);var b,c,d,e,f,g,h=[],i=!a.once&&[],j=function(l){for(b=a.memory&&l,c=!0,g=e||0,e=0,f=h.length,d=!0;h&&f>g;g++)if(h[g].apply(l[0],l[1])===!1&&a.stopOnFalse){b=!1;break}d=!1,h&&(i?i.length&&j(i.shift()):b?h=[]:k.disable())},k={add:function(){if(h){var c=h.length;!function g(b){n.each(b,function(b,c){var d=n.type(c);"function"===d?a.unique&&k.has(c)||h.push(c):c&&c.length&&"string"!==d&&g(c)})}(arguments),d?f=h.length:b&&(e=c,j(b))}return this},remove:function(){return h&&n.each(arguments,function(a,b){var c;while((c=n.inArray(b,h,c))>-1)h.splice(c,1),d&&(f>=c&&f--,g>=c&&g--)}),this},has:function(a){return a?n.inArray(a,h)>-1:!(!h||!h.length)},empty:function(){return h=[],f=0,this},disable:function(){return h=i=b=void 0,this},disabled:function(){return!h},lock:function(){return i=void 0,b||k.disable(),this},locked:function(){return!i},fireWith:function(a,b){return!h||c&&!i||(b=b||[],b=[a,b.slice?b.slice():b],d?i.push(b):j(b)),this},fire:function(){return k.fireWith(this,arguments),this},fired:function(){return!!c}};return k},n.extend({Deferred:function(a){var b=[["resolve","done",n.Callbacks("once memory"),"resolved"],["reject","fail",n.Callbacks("once memory"),"rejected"],["notify","progress",n.Callbacks("memory")]],c="pending",d={state:function(){return c},always:function(){return e.done(arguments).fail(arguments),this},then:function(){var a=arguments;return n.Deferred(function(c){n.each(b,function(b,f){var g=n.isFunction(a[b])&&a[b];e[f[1]](function(){var a=g&&g.apply(this,arguments);a&&n.isFunction(a.promise)?a.promise().done(c.resolve).fail(c.reject).progress(c.notify):c[f[0]+"With"](this===d?c.promise():this,g?[a]:arguments)})}),a=null}).promise()},promise:function(a){return null!=a?n.extend(a,d):d}},e={};return d.pipe=d.then,n.each(b,function(a,f){var g=f[2],h=f[3];d[f[1]]=g.add,h&&g.add(function(){c=h},b[1^a][2].disable,b[2][2].lock),e[f[0]]=function(){return e[f[0]+"With"](this===e?d:this,arguments),this},e[f[0]+"With"]=g.fireWith}),d.promise(e),a&&a.call(e,e),e},when:function(a){var b=0,c=d.call(arguments),e=c.length,f=1!==e||a&&n.isFunction(a.promise)?e:0,g=1===f?a:n.Deferred(),h=function(a,b,c){return function(e){b[a]=this,c[a]=arguments.length>1?d.call(arguments):e,c===i?g.notifyWith(b,c):--f||g.resolveWith(b,c)}},i,j,k;if(e>1)for(i=new Array(e),j=new Array(e),k=new Array(e);e>b;b++)c[b]&&n.isFunction(c[b].promise)?c[b].promise().done(h(b,k,c)).fail(g.reject).progress(h(b,j,i)):--f;return f||g.resolveWith(k,c),g.promise()}});var H;n.fn.ready=function(a){return n.ready.promise().done(a),this},n.extend({isReady:!1,readyWait:1,holdReady:function(a){a?n.readyWait++:n.ready(!0)},ready:function(a){(a===!0?--n.readyWait:n.isReady)||(n.isReady=!0,a!==!0&&--n.readyWait>0||(H.resolveWith(l,[n]),n.fn.triggerHandler&&(n(l).triggerHandler("ready"),n(l).off("ready"))))}});function I(){l.removeEventListener("DOMContentLoaded",I,!1),a.removeEventListener("load",I,!1),n.ready()}n.ready.promise=function(b){return H||(H=n.Deferred(),"complete"===l.readyState?setTimeout(n.ready):(l.addEventListener("DOMContentLoaded",I,!1),a.addEventListener("load",I,!1))),H.promise(b)},n.ready.promise();var J=n.access=function(a,b,c,d,e,f,g){var h=0,i=a.length,j=null==c;if("object"===n.type(c)){e=!0;for(h in c)n.access(a,b,h,c[h],!0,f,g)}else if(void 0!==d&&(e=!0,n.isFunction(d)||(g=!0),j&&(g?(b.call(a,d),b=null):(j=b,b=function(a,b,c){return j.call(n(a),c)})),b))for(;i>h;h++)b(a[h],c,g?d:d.call(a[h],h,b(a[h],c)));return e?a:j?b.call(a):i?b(a[0],c):f};n.acceptData=function(a){return 1===a.nodeType||9===a.nodeType||!+a.nodeType};function K(){Object.defineProperty(this.cache={},0,{get:function(){return{}}}),this.expando=n.expando+Math.random()}K.uid=1,K.accepts=n.acceptData,K.prototype={key:function(a){if(!K.accepts(a))return 0;var b={},c=a[this.expando];if(!c){c=K.uid++;try{b[this.expando]={value:c},Object.defineProperties(a,b)}catch(d){b[this.expando]=c,n.extend(a,b)}}return this.cache[c]||(this.cache[c]={}),c},set:function(a,b,c){var d,e=this.key(a),f=this.cache[e];if("string"==typeof b)f[b]=c;else if(n.isEmptyObject(f))n.extend(this.cache[e],b);else for(d in b)f[d]=b[d];return f},get:function(a,b){var c=this.cache[this.key(a)];return void 0===b?c:c[b]},access:function(a,b,c){var d;return void 0===b||b&&"string"==typeof b&&void 0===c?(d=this.get(a,b),void 0!==d?d:this.get(a,n.camelCase(b))):(this.set(a,b,c),void 0!==c?c:b)},remove:function(a,b){var c,d,e,f=this.key(a),g=this.cache[f];if(void 0===b)this.cache[f]={};else{n.isArray(b)?d=b.concat(b.map(n.camelCase)):(e=n.camelCase(b),b in g?d=[b,e]:(d=e,d=d in g?[d]:d.match(E)||[])),c=d.length;while(c--)delete g[d[c]]}},hasData:function(a){return!n.isEmptyObject(this.cache[a[this.expando]]||{})},discard:function(a){a[this.expando]&&delete this.cache[a[this.expando]]}};var L=new K,M=new K,N=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,O=/([A-Z])/g;function P(a,b,c){var d;if(void 0===c&&1===a.nodeType)if(d="data-"+b.replace(O,"-$1").toLowerCase(),c=a.getAttribute(d),"string"==typeof c){try{c="true"===c?!0:"false"===c?!1:"null"===c?null:+c+""===c?+c:N.test(c)?n.parseJSON(c):c}catch(e){}M.set(a,b,c)}else c=void 0;return c}n.extend({hasData:function(a){return M.hasData(a)||L.hasData(a)},data:function(a,b,c){return M.access(a,b,c)},removeData:function(a,b){M.remove(a,b)
|
|
-},_data:function(a,b,c){return L.access(a,b,c)},_removeData:function(a,b){L.remove(a,b)}}),n.fn.extend({data:function(a,b){var c,d,e,f=this[0],g=f&&f.attributes;if(void 0===a){if(this.length&&(e=M.get(f),1===f.nodeType&&!L.get(f,"hasDataAttrs"))){c=g.length;while(c--)g[c]&&(d=g[c].name,0===d.indexOf("data-")&&(d=n.camelCase(d.slice(5)),P(f,d,e[d])));L.set(f,"hasDataAttrs",!0)}return e}return"object"==typeof a?this.each(function(){M.set(this,a)}):J(this,function(b){var c,d=n.camelCase(a);if(f&&void 0===b){if(c=M.get(f,a),void 0!==c)return c;if(c=M.get(f,d),void 0!==c)return c;if(c=P(f,d,void 0),void 0!==c)return c}else this.each(function(){var c=M.get(this,d);M.set(this,d,b),-1!==a.indexOf("-")&&void 0!==c&&M.set(this,a,b)})},null,b,arguments.length>1,null,!0)},removeData:function(a){return this.each(function(){M.remove(this,a)})}}),n.extend({queue:function(a,b,c){var d;return a?(b=(b||"fx")+"queue",d=L.get(a,b),c&&(!d||n.isArray(c)?d=L.access(a,b,n.makeArray(c)):d.push(c)),d||[]):void 0},dequeue:function(a,b){b=b||"fx";var c=n.queue(a,b),d=c.length,e=c.shift(),f=n._queueHooks(a,b),g=function(){n.dequeue(a,b)};"inprogress"===e&&(e=c.shift(),d--),e&&("fx"===b&&c.unshift("inprogress"),delete f.stop,e.call(a,g,f)),!d&&f&&f.empty.fire()},_queueHooks:function(a,b){var c=b+"queueHooks";return L.get(a,c)||L.access(a,c,{empty:n.Callbacks("once memory").add(function(){L.remove(a,[b+"queue",c])})})}}),n.fn.extend({queue:function(a,b){var c=2;return"string"!=typeof a&&(b=a,a="fx",c--),arguments.length<c?n.queue(this[0],a):void 0===b?this:this.each(function(){var c=n.queue(this,a,b);n._queueHooks(this,a),"fx"===a&&"inprogress"!==c[0]&&n.dequeue(this,a)})},dequeue:function(a){return this.each(function(){n.dequeue(this,a)})},clearQueue:function(a){return this.queue(a||"fx",[])},promise:function(a,b){var c,d=1,e=n.Deferred(),f=this,g=this.length,h=function(){--d||e.resolveWith(f,[f])};"string"!=typeof a&&(b=a,a=void 0),a=a||"fx";while(g--)c=L.get(f[g],a+"queueHooks"),c&&c.empty&&(d++,c.empty.add(h));return h(),e.promise(b)}});var Q=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,R=["Top","Right","Bottom","Left"],S=function(a,b){return a=b||a,"none"===n.css(a,"display")||!n.contains(a.ownerDocument,a)},T=/^(?:checkbox|radio)$/i;!function(){var a=l.createDocumentFragment(),b=a.appendChild(l.createElement("div")),c=l.createElement("input");c.setAttribute("type","radio"),c.setAttribute("checked","checked"),c.setAttribute("name","t"),b.appendChild(c),k.checkClone=b.cloneNode(!0).cloneNode(!0).lastChild.checked,b.innerHTML="<textarea>x</textarea>",k.noCloneChecked=!!b.cloneNode(!0).lastChild.defaultValue}();var U="undefined";k.focusinBubbles="onfocusin"in a;var V=/^key/,W=/^(?:mouse|pointer|contextmenu)|click/,X=/^(?:focusinfocus|focusoutblur)$/,Y=/^([^.]*)(?:\.(.+)|)$/;function Z(){return!0}function $(){return!1}function _(){try{return l.activeElement}catch(a){}}n.event={global:{},add:function(a,b,c,d,e){var f,g,h,i,j,k,l,m,o,p,q,r=L.get(a);if(r){c.handler&&(f=c,c=f.handler,e=f.selector),c.guid||(c.guid=n.guid++),(i=r.events)||(i=r.events={}),(g=r.handle)||(g=r.handle=function(b){return typeof n!==U&&n.event.triggered!==b.type?n.event.dispatch.apply(a,arguments):void 0}),b=(b||"").match(E)||[""],j=b.length;while(j--)h=Y.exec(b[j])||[],o=q=h[1],p=(h[2]||"").split(".").sort(),o&&(l=n.event.special[o]||{},o=(e?l.delegateType:l.bindType)||o,l=n.event.special[o]||{},k=n.extend({type:o,origType:q,data:d,handler:c,guid:c.guid,selector:e,needsContext:e&&n.expr.match.needsContext.test(e),namespace:p.join(".")},f),(m=i[o])||(m=i[o]=[],m.delegateCount=0,l.setup&&l.setup.call(a,d,p,g)!==!1||a.addEventListener&&a.addEventListener(o,g,!1)),l.add&&(l.add.call(a,k),k.handler.guid||(k.handler.guid=c.guid)),e?m.splice(m.delegateCount++,0,k):m.push(k),n.event.global[o]=!0)}},remove:function(a,b,c,d,e){var f,g,h,i,j,k,l,m,o,p,q,r=L.hasData(a)&&L.get(a);if(r&&(i=r.events)){b=(b||"").match(E)||[""],j=b.length;while(j--)if(h=Y.exec(b[j])||[],o=q=h[1],p=(h[2]||"").split(".").sort(),o){l=n.event.special[o]||{},o=(d?l.delegateType:l.bindType)||o,m=i[o]||[],h=h[2]&&new RegExp("(^|\\.)"+p.join("\\.(?:.*\\.|)")+"(\\.|$)"),g=f=m.length;while(f--)k=m[f],!e&&q!==k.origType||c&&c.guid!==k.guid||h&&!h.test(k.namespace)||d&&d!==k.selector&&("**"!==d||!k.selector)||(m.splice(f,1),k.selector&&m.delegateCount--,l.remove&&l.remove.call(a,k));g&&!m.length&&(l.teardown&&l.teardown.call(a,p,r.handle)!==!1||n.removeEvent(a,o,r.handle),delete i[o])}else for(o in i)n.event.remove(a,o+b[j],c,d,!0);n.isEmptyObject(i)&&(delete r.handle,L.remove(a,"events"))}},trigger:function(b,c,d,e){var f,g,h,i,k,m,o,p=[d||l],q=j.call(b,"type")?b.type:b,r=j.call(b,"namespace")?b.namespace.split("."):[];if(g=h=d=d||l,3!==d.nodeType&&8!==d.nodeType&&!X.test(q+n.event.triggered)&&(q.indexOf(".")>=0&&(r=q.split("."),q=r.shift(),r.sort()),k=q.indexOf(":")<0&&"on"+q,b=b[n.expando]?b:new n.Event(q,"object"==typeof b&&b),b.isTrigger=e?2:3,b.namespace=r.join("."),b.namespace_re=b.namespace?new RegExp("(^|\\.)"+r.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,b.result=void 0,b.target||(b.target=d),c=null==c?[b]:n.makeArray(c,[b]),o=n.event.special[q]||{},e||!o.trigger||o.trigger.apply(d,c)!==!1)){if(!e&&!o.noBubble&&!n.isWindow(d)){for(i=o.delegateType||q,X.test(i+q)||(g=g.parentNode);g;g=g.parentNode)p.push(g),h=g;h===(d.ownerDocument||l)&&p.push(h.defaultView||h.parentWindow||a)}f=0;while((g=p[f++])&&!b.isPropagationStopped())b.type=f>1?i:o.bindType||q,m=(L.get(g,"events")||{})[b.type]&&L.get(g,"handle"),m&&m.apply(g,c),m=k&&g[k],m&&m.apply&&n.acceptData(g)&&(b.result=m.apply(g,c),b.result===!1&&b.preventDefault());return b.type=q,e||b.isDefaultPrevented()||o._default&&o._default.apply(p.pop(),c)!==!1||!n.acceptData(d)||k&&n.isFunction(d[q])&&!n.isWindow(d)&&(h=d[k],h&&(d[k]=null),n.event.triggered=q,d[q](),n.event.triggered=void 0,h&&(d[k]=h)),b.result}},dispatch:function(a){a=n.event.fix(a);var b,c,e,f,g,h=[],i=d.call(arguments),j=(L.get(this,"events")||{})[a.type]||[],k=n.event.special[a.type]||{};if(i[0]=a,a.delegateTarget=this,!k.preDispatch||k.preDispatch.call(this,a)!==!1){h=n.event.handlers.call(this,a,j),b=0;while((f=h[b++])&&!a.isPropagationStopped()){a.currentTarget=f.elem,c=0;while((g=f.handlers[c++])&&!a.isImmediatePropagationStopped())(!a.namespace_re||a.namespace_re.test(g.namespace))&&(a.handleObj=g,a.data=g.data,e=((n.event.special[g.origType]||{}).handle||g.handler).apply(f.elem,i),void 0!==e&&(a.result=e)===!1&&(a.preventDefault(),a.stopPropagation()))}return k.postDispatch&&k.postDispatch.call(this,a),a.result}},handlers:function(a,b){var c,d,e,f,g=[],h=b.delegateCount,i=a.target;if(h&&i.nodeType&&(!a.button||"click"!==a.type))for(;i!==this;i=i.parentNode||this)if(i.disabled!==!0||"click"!==a.type){for(d=[],c=0;h>c;c++)f=b[c],e=f.selector+" ",void 0===d[e]&&(d[e]=f.needsContext?n(e,this).index(i)>=0:n.find(e,this,null,[i]).length),d[e]&&d.push(f);d.length&&g.push({elem:i,handlers:d})}return h<b.length&&g.push({elem:this,handlers:b.slice(h)}),g},props:"altKey bubbles cancelable ctrlKey currentTarget eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),fixHooks:{},keyHooks:{props:"char charCode key keyCode".split(" "),filter:function(a,b){return null==a.which&&(a.which=null!=b.charCode?b.charCode:b.keyCode),a}},mouseHooks:{props:"button buttons clientX clientY offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(a,b){var c,d,e,f=b.button;return null==a.pageX&&null!=b.clientX&&(c=a.target.ownerDocument||l,d=c.documentElement,e=c.body,a.pageX=b.clientX+(d&&d.scrollLeft||e&&e.scrollLeft||0)-(d&&d.clientLeft||e&&e.clientLeft||0),a.pageY=b.clientY+(d&&d.scrollTop||e&&e.scrollTop||0)-(d&&d.clientTop||e&&e.clientTop||0)),a.which||void 0===f||(a.which=1&f?1:2&f?3:4&f?2:0),a}},fix:function(a){if(a[n.expando])return a;var b,c,d,e=a.type,f=a,g=this.fixHooks[e];g||(this.fixHooks[e]=g=W.test(e)?this.mouseHooks:V.test(e)?this.keyHooks:{}),d=g.props?this.props.concat(g.props):this.props,a=new n.Event(f),b=d.length;while(b--)c=d[b],a[c]=f[c];return a.target||(a.target=l),3===a.target.nodeType&&(a.target=a.target.parentNode),g.filter?g.filter(a,f):a},special:{load:{noBubble:!0},focus:{trigger:function(){return this!==_()&&this.focus?(this.focus(),!1):void 0},delegateType:"focusin"},blur:{trigger:function(){return this===_()&&this.blur?(this.blur(),!1):void 0},delegateType:"focusout"},click:{trigger:function(){return"checkbox"===this.type&&this.click&&n.nodeName(this,"input")?(this.click(),!1):void 0},_default:function(a){return n.nodeName(a.target,"a")}},beforeunload:{postDispatch:function(a){void 0!==a.result&&a.originalEvent&&(a.originalEvent.returnValue=a.result)}}},simulate:function(a,b,c,d){var e=n.extend(new n.Event,c,{type:a,isSimulated:!0,originalEvent:{}});d?n.event.trigger(e,null,b):n.event.dispatch.call(b,e),e.isDefaultPrevented()&&c.preventDefault()}},n.removeEvent=function(a,b,c){a.removeEventListener&&a.removeEventListener(b,c,!1)},n.Event=function(a,b){return this instanceof n.Event?(a&&a.type?(this.originalEvent=a,this.type=a.type,this.isDefaultPrevented=a.defaultPrevented||void 0===a.defaultPrevented&&a.returnValue===!1?Z:$):this.type=a,b&&n.extend(this,b),this.timeStamp=a&&a.timeStamp||n.now(),void(this[n.expando]=!0)):new n.Event(a,b)},n.Event.prototype={isDefaultPrevented:$,isPropagationStopped:$,isImmediatePropagationStopped:$,preventDefault:function(){var a=this.originalEvent;this.isDefaultPrevented=Z,a&&a.preventDefault&&a.preventDefault()},stopPropagation:function(){var a=this.originalEvent;this.isPropagationStopped=Z,a&&a.stopPropagation&&a.stopPropagation()},stopImmediatePropagation:function(){var a=this.originalEvent;this.isImmediatePropagationStopped=Z,a&&a.stopImmediatePropagation&&a.stopImmediatePropagation(),this.stopPropagation()}},n.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(a,b){n.event.special[a]={delegateType:b,bindType:b,handle:function(a){var c,d=this,e=a.relatedTarget,f=a.handleObj;return(!e||e!==d&&!n.contains(d,e))&&(a.type=f.origType,c=f.handler.apply(this,arguments),a.type=b),c}}}),k.focusinBubbles||n.each({focus:"focusin",blur:"focusout"},function(a,b){var c=function(a){n.event.simulate(b,a.target,n.event.fix(a),!0)};n.event.special[b]={setup:function(){var d=this.ownerDocument||this,e=L.access(d,b);e||d.addEventListener(a,c,!0),L.access(d,b,(e||0)+1)},teardown:function(){var d=this.ownerDocument||this,e=L.access(d,b)-1;e?L.access(d,b,e):(d.removeEventListener(a,c,!0),L.remove(d,b))}}}),n.fn.extend({on:function(a,b,c,d,e){var f,g;if("object"==typeof a){"string"!=typeof b&&(c=c||b,b=void 0);for(g in a)this.on(g,b,c,a[g],e);return this}if(null==c&&null==d?(d=b,c=b=void 0):null==d&&("string"==typeof b?(d=c,c=void 0):(d=c,c=b,b=void 0)),d===!1)d=$;else if(!d)return this;return 1===e&&(f=d,d=function(a){return n().off(a),f.apply(this,arguments)},d.guid=f.guid||(f.guid=n.guid++)),this.each(function(){n.event.add(this,a,d,c,b)})},one:function(a,b,c,d){return this.on(a,b,c,d,1)},off:function(a,b,c){var d,e;if(a&&a.preventDefault&&a.handleObj)return d=a.handleObj,n(a.delegateTarget).off(d.namespace?d.origType+"."+d.namespace:d.origType,d.selector,d.handler),this;if("object"==typeof a){for(e in a)this.off(e,b,a[e]);return this}return(b===!1||"function"==typeof b)&&(c=b,b=void 0),c===!1&&(c=$),this.each(function(){n.event.remove(this,a,c,b)})},trigger:function(a,b){return this.each(function(){n.event.trigger(a,b,this)})},triggerHandler:function(a,b){var c=this[0];return c?n.event.trigger(a,b,c,!0):void 0}});var ab=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,bb=/<([\w:]+)/,cb=/<|&#?\w+;/,db=/<(?:script|style|link)/i,eb=/checked\s*(?:[^=]|=\s*.checked.)/i,fb=/^$|\/(?:java|ecma)script/i,gb=/^true\/(.*)/,hb=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g,ib={option:[1,"<select multiple='multiple'>","</select>"],thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};ib.optgroup=ib.option,ib.tbody=ib.tfoot=ib.colgroup=ib.caption=ib.thead,ib.th=ib.td;function jb(a,b){return n.nodeName(a,"table")&&n.nodeName(11!==b.nodeType?b:b.firstChild,"tr")?a.getElementsByTagName("tbody")[0]||a.appendChild(a.ownerDocument.createElement("tbody")):a}function kb(a){return a.type=(null!==a.getAttribute("type"))+"/"+a.type,a}function lb(a){var b=gb.exec(a.type);return b?a.type=b[1]:a.removeAttribute("type"),a}function mb(a,b){for(var c=0,d=a.length;d>c;c++)L.set(a[c],"globalEval",!b||L.get(b[c],"globalEval"))}function nb(a,b){var c,d,e,f,g,h,i,j;if(1===b.nodeType){if(L.hasData(a)&&(f=L.access(a),g=L.set(b,f),j=f.events)){delete g.handle,g.events={};for(e in j)for(c=0,d=j[e].length;d>c;c++)n.event.add(b,e,j[e][c])}M.hasData(a)&&(h=M.access(a),i=n.extend({},h),M.set(b,i))}}function ob(a,b){var c=a.getElementsByTagName?a.getElementsByTagName(b||"*"):a.querySelectorAll?a.querySelectorAll(b||"*"):[];return void 0===b||b&&n.nodeName(a,b)?n.merge([a],c):c}function pb(a,b){var c=b.nodeName.toLowerCase();"input"===c&&T.test(a.type)?b.checked=a.checked:("input"===c||"textarea"===c)&&(b.defaultValue=a.defaultValue)}n.extend({clone:function(a,b,c){var d,e,f,g,h=a.cloneNode(!0),i=n.contains(a.ownerDocument,a);if(!(k.noCloneChecked||1!==a.nodeType&&11!==a.nodeType||n.isXMLDoc(a)))for(g=ob(h),f=ob(a),d=0,e=f.length;e>d;d++)pb(f[d],g[d]);if(b)if(c)for(f=f||ob(a),g=g||ob(h),d=0,e=f.length;e>d;d++)nb(f[d],g[d]);else nb(a,h);return g=ob(h,"script"),g.length>0&&mb(g,!i&&ob(a,"script")),h},buildFragment:function(a,b,c,d){for(var e,f,g,h,i,j,k=b.createDocumentFragment(),l=[],m=0,o=a.length;o>m;m++)if(e=a[m],e||0===e)if("object"===n.type(e))n.merge(l,e.nodeType?[e]:e);else if(cb.test(e)){f=f||k.appendChild(b.createElement("div")),g=(bb.exec(e)||["",""])[1].toLowerCase(),h=ib[g]||ib._default,f.innerHTML=h[1]+e.replace(ab,"<$1></$2>")+h[2],j=h[0];while(j--)f=f.lastChild;n.merge(l,f.childNodes),f=k.firstChild,f.textContent=""}else l.push(b.createTextNode(e));k.textContent="",m=0;while(e=l[m++])if((!d||-1===n.inArray(e,d))&&(i=n.contains(e.ownerDocument,e),f=ob(k.appendChild(e),"script"),i&&mb(f),c)){j=0;while(e=f[j++])fb.test(e.type||"")&&c.push(e)}return k},cleanData:function(a){for(var b,c,d,e,f=n.event.special,g=0;void 0!==(c=a[g]);g++){if(n.acceptData(c)&&(e=c[L.expando],e&&(b=L.cache[e]))){if(b.events)for(d in b.events)f[d]?n.event.remove(c,d):n.removeEvent(c,d,b.handle);L.cache[e]&&delete L.cache[e]}delete M.cache[c[M.expando]]}}}),n.fn.extend({text:function(a){return J(this,function(a){return void 0===a?n.text(this):this.empty().each(function(){(1===this.nodeType||11===this.nodeType||9===this.nodeType)&&(this.textContent=a)})},null,a,arguments.length)},append:function(){return this.domManip(arguments,function(a){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var b=jb(this,a);b.appendChild(a)}})},prepend:function(){return this.domManip(arguments,function(a){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var b=jb(this,a);b.insertBefore(a,b.firstChild)}})},before:function(){return this.domManip(arguments,function(a){this.parentNode&&this.parentNode.insertBefore(a,this)})},after:function(){return this.domManip(arguments,function(a){this.parentNode&&this.parentNode.insertBefore(a,this.nextSibling)})},remove:function(a,b){for(var c,d=a?n.filter(a,this):this,e=0;null!=(c=d[e]);e++)b||1!==c.nodeType||n.cleanData(ob(c)),c.parentNode&&(b&&n.contains(c.ownerDocument,c)&&mb(ob(c,"script")),c.parentNode.removeChild(c));return this},empty:function(){for(var a,b=0;null!=(a=this[b]);b++)1===a.nodeType&&(n.cleanData(ob(a,!1)),a.textContent="");return this},clone:function(a,b){return a=null==a?!1:a,b=null==b?a:b,this.map(function(){return n.clone(this,a,b)})},html:function(a){return J(this,function(a){var b=this[0]||{},c=0,d=this.length;if(void 0===a&&1===b.nodeType)return b.innerHTML;if("string"==typeof a&&!db.test(a)&&!ib[(bb.exec(a)||["",""])[1].toLowerCase()]){a=a.replace(ab,"<$1></$2>");try{for(;d>c;c++)b=this[c]||{},1===b.nodeType&&(n.cleanData(ob(b,!1)),b.innerHTML=a);b=0}catch(e){}}b&&this.empty().append(a)},null,a,arguments.length)},replaceWith:function(){var a=arguments[0];return this.domManip(arguments,function(b){a=this.parentNode,n.cleanData(ob(this)),a&&a.replaceChild(b,this)}),a&&(a.length||a.nodeType)?this:this.remove()},detach:function(a){return this.remove(a,!0)},domManip:function(a,b){a=e.apply([],a);var c,d,f,g,h,i,j=0,l=this.length,m=this,o=l-1,p=a[0],q=n.isFunction(p);if(q||l>1&&"string"==typeof p&&!k.checkClone&&eb.test(p))return this.each(function(c){var d=m.eq(c);q&&(a[0]=p.call(this,c,d.html())),d.domManip(a,b)});if(l&&(c=n.buildFragment(a,this[0].ownerDocument,!1,this),d=c.firstChild,1===c.childNodes.length&&(c=d),d)){for(f=n.map(ob(c,"script"),kb),g=f.length;l>j;j++)h=c,j!==o&&(h=n.clone(h,!0,!0),g&&n.merge(f,ob(h,"script"))),b.call(this[j],h,j);if(g)for(i=f[f.length-1].ownerDocument,n.map(f,lb),j=0;g>j;j++)h=f[j],fb.test(h.type||"")&&!L.access(h,"globalEval")&&n.contains(i,h)&&(h.src?n._evalUrl&&n._evalUrl(h.src):n.globalEval(h.textContent.replace(hb,"")))}return this}}),n.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(a,b){n.fn[a]=function(a){for(var c,d=[],e=n(a),g=e.length-1,h=0;g>=h;h++)c=h===g?this:this.clone(!0),n(e[h])[b](c),f.apply(d,c.get());return this.pushStack(d)}});var qb,rb={};function sb(b,c){var d,e=n(c.createElement(b)).appendTo(c.body),f=a.getDefaultComputedStyle&&(d=a.getDefaultComputedStyle(e[0]))?d.display:n.css(e[0],"display");return e.detach(),f}function tb(a){var b=l,c=rb[a];return c||(c=sb(a,b),"none"!==c&&c||(qb=(qb||n("<iframe frameborder='0' width='0' height='0'/>")).appendTo(b.documentElement),b=qb[0].contentDocument,b.write(),b.close(),c=sb(a,b),qb.detach()),rb[a]=c),c}var ub=/^margin/,vb=new RegExp("^("+Q+")(?!px)[a-z%]+$","i"),wb=function(a){return a.ownerDocument.defaultView.getComputedStyle(a,null)};function xb(a,b,c){var d,e,f,g,h=a.style;return c=c||wb(a),c&&(g=c.getPropertyValue(b)||c[b]),c&&(""!==g||n.contains(a.ownerDocument,a)||(g=n.style(a,b)),vb.test(g)&&ub.test(b)&&(d=h.width,e=h.minWidth,f=h.maxWidth,h.minWidth=h.maxWidth=h.width=g,g=c.width,h.width=d,h.minWidth=e,h.maxWidth=f)),void 0!==g?g+"":g}function yb(a,b){return{get:function(){return a()?void delete this.get:(this.get=b).apply(this,arguments)}}}!function(){var b,c,d=l.documentElement,e=l.createElement("div"),f=l.createElement("div");if(f.style){f.style.backgroundClip="content-box",f.cloneNode(!0).style.backgroundClip="",k.clearCloneStyle="content-box"===f.style.backgroundClip,e.style.cssText="border:0;width:0;height:0;top:0;left:-9999px;margin-top:1px;position:absolute",e.appendChild(f);function g(){f.style.cssText="-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;display:block;margin-top:1%;top:1%;border:1px;padding:1px;width:4px;position:absolute",f.innerHTML="",d.appendChild(e);var g=a.getComputedStyle(f,null);b="1%"!==g.top,c="4px"===g.width,d.removeChild(e)}a.getComputedStyle&&n.extend(k,{pixelPosition:function(){return g(),b},boxSizingReliable:function(){return null==c&&g(),c},reliableMarginRight:function(){var b,c=f.appendChild(l.createElement("div"));return c.style.cssText=f.style.cssText="-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:0",c.style.marginRight=c.style.width="0",f.style.width="1px",d.appendChild(e),b=!parseFloat(a.getComputedStyle(c,null).marginRight),d.removeChild(e),b}})}}(),n.swap=function(a,b,c,d){var e,f,g={};for(f in b)g[f]=a.style[f],a.style[f]=b[f];e=c.apply(a,d||[]);for(f in b)a.style[f]=g[f];return e};var zb=/^(none|table(?!-c[ea]).+)/,Ab=new RegExp("^("+Q+")(.*)$","i"),Bb=new RegExp("^([+-])=("+Q+")","i"),Cb={position:"absolute",visibility:"hidden",display:"block"},Db={letterSpacing:"0",fontWeight:"400"},Eb=["Webkit","O","Moz","ms"];function Fb(a,b){if(b in a)return b;var c=b[0].toUpperCase()+b.slice(1),d=b,e=Eb.length;while(e--)if(b=Eb[e]+c,b in a)return b;return d}function Gb(a,b,c){var d=Ab.exec(b);return d?Math.max(0,d[1]-(c||0))+(d[2]||"px"):b}function Hb(a,b,c,d,e){for(var f=c===(d?"border":"content")?4:"width"===b?1:0,g=0;4>f;f+=2)"margin"===c&&(g+=n.css(a,c+R[f],!0,e)),d?("content"===c&&(g-=n.css(a,"padding"+R[f],!0,e)),"margin"!==c&&(g-=n.css(a,"border"+R[f]+"Width",!0,e))):(g+=n.css(a,"padding"+R[f],!0,e),"padding"!==c&&(g+=n.css(a,"border"+R[f]+"Width",!0,e)));return g}function Ib(a,b,c){var d=!0,e="width"===b?a.offsetWidth:a.offsetHeight,f=wb(a),g="border-box"===n.css(a,"boxSizing",!1,f);if(0>=e||null==e){if(e=xb(a,b,f),(0>e||null==e)&&(e=a.style[b]),vb.test(e))return e;d=g&&(k.boxSizingReliable()||e===a.style[b]),e=parseFloat(e)||0}return e+Hb(a,b,c||(g?"border":"content"),d,f)+"px"}function Jb(a,b){for(var c,d,e,f=[],g=0,h=a.length;h>g;g++)d=a[g],d.style&&(f[g]=L.get(d,"olddisplay"),c=d.style.display,b?(f[g]||"none"!==c||(d.style.display=""),""===d.style.display&&S(d)&&(f[g]=L.access(d,"olddisplay",tb(d.nodeName)))):(e=S(d),"none"===c&&e||L.set(d,"olddisplay",e?c:n.css(d,"display"))));for(g=0;h>g;g++)d=a[g],d.style&&(b&&"none"!==d.style.display&&""!==d.style.display||(d.style.display=b?f[g]||"":"none"));return a}n.extend({cssHooks:{opacity:{get:function(a,b){if(b){var c=xb(a,"opacity");return""===c?"1":c}}}},cssNumber:{columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{"float":"cssFloat"},style:function(a,b,c,d){if(a&&3!==a.nodeType&&8!==a.nodeType&&a.style){var e,f,g,h=n.camelCase(b),i=a.style;return b=n.cssProps[h]||(n.cssProps[h]=Fb(i,h)),g=n.cssHooks[b]||n.cssHooks[h],void 0===c?g&&"get"in g&&void 0!==(e=g.get(a,!1,d))?e:i[b]:(f=typeof c,"string"===f&&(e=Bb.exec(c))&&(c=(e[1]+1)*e[2]+parseFloat(n.css(a,b)),f="number"),null!=c&&c===c&&("number"!==f||n.cssNumber[h]||(c+="px"),k.clearCloneStyle||""!==c||0!==b.indexOf("background")||(i[b]="inherit"),g&&"set"in g&&void 0===(c=g.set(a,c,d))||(i[b]=c)),void 0)}},css:function(a,b,c,d){var e,f,g,h=n.camelCase(b);return b=n.cssProps[h]||(n.cssProps[h]=Fb(a.style,h)),g=n.cssHooks[b]||n.cssHooks[h],g&&"get"in g&&(e=g.get(a,!0,c)),void 0===e&&(e=xb(a,b,d)),"normal"===e&&b in Db&&(e=Db[b]),""===c||c?(f=parseFloat(e),c===!0||n.isNumeric(f)?f||0:e):e}}),n.each(["height","width"],function(a,b){n.cssHooks[b]={get:function(a,c,d){return c?zb.test(n.css(a,"display"))&&0===a.offsetWidth?n.swap(a,Cb,function(){return Ib(a,b,d)}):Ib(a,b,d):void 0},set:function(a,c,d){var e=d&&wb(a);return Gb(a,c,d?Hb(a,b,d,"border-box"===n.css(a,"boxSizing",!1,e),e):0)}}}),n.cssHooks.marginRight=yb(k.reliableMarginRight,function(a,b){return b?n.swap(a,{display:"inline-block"},xb,[a,"marginRight"]):void 0}),n.each({margin:"",padding:"",border:"Width"},function(a,b){n.cssHooks[a+b]={expand:function(c){for(var d=0,e={},f="string"==typeof c?c.split(" "):[c];4>d;d++)e[a+R[d]+b]=f[d]||f[d-2]||f[0];return e}},ub.test(a)||(n.cssHooks[a+b].set=Gb)}),n.fn.extend({css:function(a,b){return J(this,function(a,b,c){var d,e,f={},g=0;if(n.isArray(b)){for(d=wb(a),e=b.length;e>g;g++)f[b[g]]=n.css(a,b[g],!1,d);return f}return void 0!==c?n.style(a,b,c):n.css(a,b)},a,b,arguments.length>1)},show:function(){return Jb(this,!0)},hide:function(){return Jb(this)},toggle:function(a){return"boolean"==typeof a?a?this.show():this.hide():this.each(function(){S(this)?n(this).show():n(this).hide()})}});function Kb(a,b,c,d,e){return new Kb.prototype.init(a,b,c,d,e)}n.Tween=Kb,Kb.prototype={constructor:Kb,init:function(a,b,c,d,e,f){this.elem=a,this.prop=c,this.easing=e||"swing",this.options=b,this.start=this.now=this.cur(),this.end=d,this.unit=f||(n.cssNumber[c]?"":"px")},cur:function(){var a=Kb.propHooks[this.prop];return a&&a.get?a.get(this):Kb.propHooks._default.get(this)},run:function(a){var b,c=Kb.propHooks[this.prop];return this.pos=b=this.options.duration?n.easing[this.easing](a,this.options.duration*a,0,1,this.options.duration):a,this.now=(this.end-this.start)*b+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),c&&c.set?c.set(this):Kb.propHooks._default.set(this),this}},Kb.prototype.init.prototype=Kb.prototype,Kb.propHooks={_default:{get:function(a){var b;return null==a.elem[a.prop]||a.elem.style&&null!=a.elem.style[a.prop]?(b=n.css(a.elem,a.prop,""),b&&"auto"!==b?b:0):a.elem[a.prop]},set:function(a){n.fx.step[a.prop]?n.fx.step[a.prop](a):a.elem.style&&(null!=a.elem.style[n.cssProps[a.prop]]||n.cssHooks[a.prop])?n.style(a.elem,a.prop,a.now+a.unit):a.elem[a.prop]=a.now}}},Kb.propHooks.scrollTop=Kb.propHooks.scrollLeft={set:function(a){a.elem.nodeType&&a.elem.parentNode&&(a.elem[a.prop]=a.now)}},n.easing={linear:function(a){return a},swing:function(a){return.5-Math.cos(a*Math.PI)/2}},n.fx=Kb.prototype.init,n.fx.step={};var Lb,Mb,Nb=/^(?:toggle|show|hide)$/,Ob=new RegExp("^(?:([+-])=|)("+Q+")([a-z%]*)$","i"),Pb=/queueHooks$/,Qb=[Vb],Rb={"*":[function(a,b){var c=this.createTween(a,b),d=c.cur(),e=Ob.exec(b),f=e&&e[3]||(n.cssNumber[a]?"":"px"),g=(n.cssNumber[a]||"px"!==f&&+d)&&Ob.exec(n.css(c.elem,a)),h=1,i=20;if(g&&g[3]!==f){f=f||g[3],e=e||[],g=+d||1;do h=h||".5",g/=h,n.style(c.elem,a,g+f);while(h!==(h=c.cur()/d)&&1!==h&&--i)}return e&&(g=c.start=+g||+d||0,c.unit=f,c.end=e[1]?g+(e[1]+1)*e[2]:+e[2]),c}]};function Sb(){return setTimeout(function(){Lb=void 0}),Lb=n.now()}function Tb(a,b){var c,d=0,e={height:a};for(b=b?1:0;4>d;d+=2-b)c=R[d],e["margin"+c]=e["padding"+c]=a;return b&&(e.opacity=e.width=a),e}function Ub(a,b,c){for(var d,e=(Rb[b]||[]).concat(Rb["*"]),f=0,g=e.length;g>f;f++)if(d=e[f].call(c,b,a))return d}function Vb(a,b,c){var d,e,f,g,h,i,j,k,l=this,m={},o=a.style,p=a.nodeType&&S(a),q=L.get(a,"fxshow");c.queue||(h=n._queueHooks(a,"fx"),null==h.unqueued&&(h.unqueued=0,i=h.empty.fire,h.empty.fire=function(){h.unqueued||i()}),h.unqueued++,l.always(function(){l.always(function(){h.unqueued--,n.queue(a,"fx").length||h.empty.fire()})})),1===a.nodeType&&("height"in b||"width"in b)&&(c.overflow=[o.overflow,o.overflowX,o.overflowY],j=n.css(a,"display"),k="none"===j?L.get(a,"olddisplay")||tb(a.nodeName):j,"inline"===k&&"none"===n.css(a,"float")&&(o.display="inline-block")),c.overflow&&(o.overflow="hidden",l.always(function(){o.overflow=c.overflow[0],o.overflowX=c.overflow[1],o.overflowY=c.overflow[2]}));for(d in b)if(e=b[d],Nb.exec(e)){if(delete b[d],f=f||"toggle"===e,e===(p?"hide":"show")){if("show"!==e||!q||void 0===q[d])continue;p=!0}m[d]=q&&q[d]||n.style(a,d)}else j=void 0;if(n.isEmptyObject(m))"inline"===("none"===j?tb(a.nodeName):j)&&(o.display=j);else{q?"hidden"in q&&(p=q.hidden):q=L.access(a,"fxshow",{}),f&&(q.hidden=!p),p?n(a).show():l.done(function(){n(a).hide()}),l.done(function(){var b;L.remove(a,"fxshow");for(b in m)n.style(a,b,m[b])});for(d in m)g=Ub(p?q[d]:0,d,l),d in q||(q[d]=g.start,p&&(g.end=g.start,g.start="width"===d||"height"===d?1:0))}}function Wb(a,b){var c,d,e,f,g;for(c in a)if(d=n.camelCase(c),e=b[d],f=a[c],n.isArray(f)&&(e=f[1],f=a[c]=f[0]),c!==d&&(a[d]=f,delete a[c]),g=n.cssHooks[d],g&&"expand"in g){f=g.expand(f),delete a[d];for(c in f)c in a||(a[c]=f[c],b[c]=e)}else b[d]=e}function Xb(a,b,c){var d,e,f=0,g=Qb.length,h=n.Deferred().always(function(){delete i.elem}),i=function(){if(e)return!1;for(var b=Lb||Sb(),c=Math.max(0,j.startTime+j.duration-b),d=c/j.duration||0,f=1-d,g=0,i=j.tweens.length;i>g;g++)j.tweens[g].run(f);return h.notifyWith(a,[j,f,c]),1>f&&i?c:(h.resolveWith(a,[j]),!1)},j=h.promise({elem:a,props:n.extend({},b),opts:n.extend(!0,{specialEasing:{}},c),originalProperties:b,originalOptions:c,startTime:Lb||Sb(),duration:c.duration,tweens:[],createTween:function(b,c){var d=n.Tween(a,j.opts,b,c,j.opts.specialEasing[b]||j.opts.easing);return j.tweens.push(d),d},stop:function(b){var c=0,d=b?j.tweens.length:0;if(e)return this;for(e=!0;d>c;c++)j.tweens[c].run(1);return b?h.resolveWith(a,[j,b]):h.rejectWith(a,[j,b]),this}}),k=j.props;for(Wb(k,j.opts.specialEasing);g>f;f++)if(d=Qb[f].call(j,a,k,j.opts))return d;return n.map(k,Ub,j),n.isFunction(j.opts.start)&&j.opts.start.call(a,j),n.fx.timer(n.extend(i,{elem:a,anim:j,queue:j.opts.queue})),j.progress(j.opts.progress).done(j.opts.done,j.opts.complete).fail(j.opts.fail).always(j.opts.always)}n.Animation=n.extend(Xb,{tweener:function(a,b){n.isFunction(a)?(b=a,a=["*"]):a=a.split(" ");for(var c,d=0,e=a.length;e>d;d++)c=a[d],Rb[c]=Rb[c]||[],Rb[c].unshift(b)},prefilter:function(a,b){b?Qb.unshift(a):Qb.push(a)}}),n.speed=function(a,b,c){var d=a&&"object"==typeof a?n.extend({},a):{complete:c||!c&&b||n.isFunction(a)&&a,duration:a,easing:c&&b||b&&!n.isFunction(b)&&b};return d.duration=n.fx.off?0:"number"==typeof d.duration?d.duration:d.duration in n.fx.speeds?n.fx.speeds[d.duration]:n.fx.speeds._default,(null==d.queue||d.queue===!0)&&(d.queue="fx"),d.old=d.complete,d.complete=function(){n.isFunction(d.old)&&d.old.call(this),d.queue&&n.dequeue(this,d.queue)},d},n.fn.extend({fadeTo:function(a,b,c,d){return this.filter(S).css("opacity",0).show().end().animate({opacity:b},a,c,d)},animate:function(a,b,c,d){var e=n.isEmptyObject(a),f=n.speed(b,c,d),g=function(){var b=Xb(this,n.extend({},a),f);(e||L.get(this,"finish"))&&b.stop(!0)};return g.finish=g,e||f.queue===!1?this.each(g):this.queue(f.queue,g)},stop:function(a,b,c){var d=function(a){var b=a.stop;delete a.stop,b(c)};return"string"!=typeof a&&(c=b,b=a,a=void 0),b&&a!==!1&&this.queue(a||"fx",[]),this.each(function(){var b=!0,e=null!=a&&a+"queueHooks",f=n.timers,g=L.get(this);if(e)g[e]&&g[e].stop&&d(g[e]);else for(e in g)g[e]&&g[e].stop&&Pb.test(e)&&d(g[e]);for(e=f.length;e--;)f[e].elem!==this||null!=a&&f[e].queue!==a||(f[e].anim.stop(c),b=!1,f.splice(e,1));(b||!c)&&n.dequeue(this,a)})},finish:function(a){return a!==!1&&(a=a||"fx"),this.each(function(){var b,c=L.get(this),d=c[a+"queue"],e=c[a+"queueHooks"],f=n.timers,g=d?d.length:0;for(c.finish=!0,n.queue(this,a,[]),e&&e.stop&&e.stop.call(this,!0),b=f.length;b--;)f[b].elem===this&&f[b].queue===a&&(f[b].anim.stop(!0),f.splice(b,1));for(b=0;g>b;b++)d[b]&&d[b].finish&&d[b].finish.call(this);delete c.finish})}}),n.each(["toggle","show","hide"],function(a,b){var c=n.fn[b];n.fn[b]=function(a,d,e){return null==a||"boolean"==typeof a?c.apply(this,arguments):this.animate(Tb(b,!0),a,d,e)}}),n.each({slideDown:Tb("show"),slideUp:Tb("hide"),slideToggle:Tb("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(a,b){n.fn[a]=function(a,c,d){return this.animate(b,a,c,d)}}),n.timers=[],n.fx.tick=function(){var a,b=0,c=n.timers;for(Lb=n.now();b<c.length;b++)a=c[b],a()||c[b]!==a||c.splice(b--,1);c.length||n.fx.stop(),Lb=void 0},n.fx.timer=function(a){n.timers.push(a),a()?n.fx.start():n.timers.pop()},n.fx.interval=13,n.fx.start=function(){Mb||(Mb=setInterval(n.fx.tick,n.fx.interval))},n.fx.stop=function(){clearInterval(Mb),Mb=null},n.fx.speeds={slow:600,fast:200,_default:400},n.fn.delay=function(a,b){return a=n.fx?n.fx.speeds[a]||a:a,b=b||"fx",this.queue(b,function(b,c){var d=setTimeout(b,a);c.stop=function(){clearTimeout(d)}})},function(){var a=l.createElement("input"),b=l.createElement("select"),c=b.appendChild(l.createElement("option"));a.type="checkbox",k.checkOn=""!==a.value,k.optSelected=c.selected,b.disabled=!0,k.optDisabled=!c.disabled,a=l.createElement("input"),a.value="t",a.type="radio",k.radioValue="t"===a.value}();var Yb,Zb,$b=n.expr.attrHandle;n.fn.extend({attr:function(a,b){return J(this,n.attr,a,b,arguments.length>1)},removeAttr:function(a){return this.each(function(){n.removeAttr(this,a)})}}),n.extend({attr:function(a,b,c){var d,e,f=a.nodeType;if(a&&3!==f&&8!==f&&2!==f)return typeof a.getAttribute===U?n.prop(a,b,c):(1===f&&n.isXMLDoc(a)||(b=b.toLowerCase(),d=n.attrHooks[b]||(n.expr.match.bool.test(b)?Zb:Yb)),void 0===c?d&&"get"in d&&null!==(e=d.get(a,b))?e:(e=n.find.attr(a,b),null==e?void 0:e):null!==c?d&&"set"in d&&void 0!==(e=d.set(a,c,b))?e:(a.setAttribute(b,c+""),c):void n.removeAttr(a,b))
|
|
-},removeAttr:function(a,b){var c,d,e=0,f=b&&b.match(E);if(f&&1===a.nodeType)while(c=f[e++])d=n.propFix[c]||c,n.expr.match.bool.test(c)&&(a[d]=!1),a.removeAttribute(c)},attrHooks:{type:{set:function(a,b){if(!k.radioValue&&"radio"===b&&n.nodeName(a,"input")){var c=a.value;return a.setAttribute("type",b),c&&(a.value=c),b}}}}}),Zb={set:function(a,b,c){return b===!1?n.removeAttr(a,c):a.setAttribute(c,c),c}},n.each(n.expr.match.bool.source.match(/\w+/g),function(a,b){var c=$b[b]||n.find.attr;$b[b]=function(a,b,d){var e,f;return d||(f=$b[b],$b[b]=e,e=null!=c(a,b,d)?b.toLowerCase():null,$b[b]=f),e}});var _b=/^(?:input|select|textarea|button)$/i;n.fn.extend({prop:function(a,b){return J(this,n.prop,a,b,arguments.length>1)},removeProp:function(a){return this.each(function(){delete this[n.propFix[a]||a]})}}),n.extend({propFix:{"for":"htmlFor","class":"className"},prop:function(a,b,c){var d,e,f,g=a.nodeType;if(a&&3!==g&&8!==g&&2!==g)return f=1!==g||!n.isXMLDoc(a),f&&(b=n.propFix[b]||b,e=n.propHooks[b]),void 0!==c?e&&"set"in e&&void 0!==(d=e.set(a,c,b))?d:a[b]=c:e&&"get"in e&&null!==(d=e.get(a,b))?d:a[b]},propHooks:{tabIndex:{get:function(a){return a.hasAttribute("tabindex")||_b.test(a.nodeName)||a.href?a.tabIndex:-1}}}}),k.optSelected||(n.propHooks.selected={get:function(a){var b=a.parentNode;return b&&b.parentNode&&b.parentNode.selectedIndex,null}}),n.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){n.propFix[this.toLowerCase()]=this});var ac=/[\t\r\n\f]/g;n.fn.extend({addClass:function(a){var b,c,d,e,f,g,h="string"==typeof a&&a,i=0,j=this.length;if(n.isFunction(a))return this.each(function(b){n(this).addClass(a.call(this,b,this.className))});if(h)for(b=(a||"").match(E)||[];j>i;i++)if(c=this[i],d=1===c.nodeType&&(c.className?(" "+c.className+" ").replace(ac," "):" ")){f=0;while(e=b[f++])d.indexOf(" "+e+" ")<0&&(d+=e+" ");g=n.trim(d),c.className!==g&&(c.className=g)}return this},removeClass:function(a){var b,c,d,e,f,g,h=0===arguments.length||"string"==typeof a&&a,i=0,j=this.length;if(n.isFunction(a))return this.each(function(b){n(this).removeClass(a.call(this,b,this.className))});if(h)for(b=(a||"").match(E)||[];j>i;i++)if(c=this[i],d=1===c.nodeType&&(c.className?(" "+c.className+" ").replace(ac," "):"")){f=0;while(e=b[f++])while(d.indexOf(" "+e+" ")>=0)d=d.replace(" "+e+" "," ");g=a?n.trim(d):"",c.className!==g&&(c.className=g)}return this},toggleClass:function(a,b){var c=typeof a;return"boolean"==typeof b&&"string"===c?b?this.addClass(a):this.removeClass(a):this.each(n.isFunction(a)?function(c){n(this).toggleClass(a.call(this,c,this.className,b),b)}:function(){if("string"===c){var b,d=0,e=n(this),f=a.match(E)||[];while(b=f[d++])e.hasClass(b)?e.removeClass(b):e.addClass(b)}else(c===U||"boolean"===c)&&(this.className&&L.set(this,"__className__",this.className),this.className=this.className||a===!1?"":L.get(this,"__className__")||"")})},hasClass:function(a){for(var b=" "+a+" ",c=0,d=this.length;d>c;c++)if(1===this[c].nodeType&&(" "+this[c].className+" ").replace(ac," ").indexOf(b)>=0)return!0;return!1}});var bc=/\r/g;n.fn.extend({val:function(a){var b,c,d,e=this[0];{if(arguments.length)return d=n.isFunction(a),this.each(function(c){var e;1===this.nodeType&&(e=d?a.call(this,c,n(this).val()):a,null==e?e="":"number"==typeof e?e+="":n.isArray(e)&&(e=n.map(e,function(a){return null==a?"":a+""})),b=n.valHooks[this.type]||n.valHooks[this.nodeName.toLowerCase()],b&&"set"in b&&void 0!==b.set(this,e,"value")||(this.value=e))});if(e)return b=n.valHooks[e.type]||n.valHooks[e.nodeName.toLowerCase()],b&&"get"in b&&void 0!==(c=b.get(e,"value"))?c:(c=e.value,"string"==typeof c?c.replace(bc,""):null==c?"":c)}}}),n.extend({valHooks:{option:{get:function(a){var b=n.find.attr(a,"value");return null!=b?b:n.trim(n.text(a))}},select:{get:function(a){for(var b,c,d=a.options,e=a.selectedIndex,f="select-one"===a.type||0>e,g=f?null:[],h=f?e+1:d.length,i=0>e?h:f?e:0;h>i;i++)if(c=d[i],!(!c.selected&&i!==e||(k.optDisabled?c.disabled:null!==c.getAttribute("disabled"))||c.parentNode.disabled&&n.nodeName(c.parentNode,"optgroup"))){if(b=n(c).val(),f)return b;g.push(b)}return g},set:function(a,b){var c,d,e=a.options,f=n.makeArray(b),g=e.length;while(g--)d=e[g],(d.selected=n.inArray(d.value,f)>=0)&&(c=!0);return c||(a.selectedIndex=-1),f}}}}),n.each(["radio","checkbox"],function(){n.valHooks[this]={set:function(a,b){return n.isArray(b)?a.checked=n.inArray(n(a).val(),b)>=0:void 0}},k.checkOn||(n.valHooks[this].get=function(a){return null===a.getAttribute("value")?"on":a.value})}),n.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 contextmenu".split(" "),function(a,b){n.fn[b]=function(a,c){return arguments.length>0?this.on(b,null,a,c):this.trigger(b)}}),n.fn.extend({hover:function(a,b){return this.mouseenter(a).mouseleave(b||a)},bind:function(a,b,c){return this.on(a,null,b,c)},unbind:function(a,b){return this.off(a,null,b)},delegate:function(a,b,c,d){return this.on(b,a,c,d)},undelegate:function(a,b,c){return 1===arguments.length?this.off(a,"**"):this.off(b,a||"**",c)}});var cc=n.now(),dc=/\?/;n.parseJSON=function(a){return JSON.parse(a+"")},n.parseXML=function(a){var b,c;if(!a||"string"!=typeof a)return null;try{c=new DOMParser,b=c.parseFromString(a,"text/xml")}catch(d){b=void 0}return(!b||b.getElementsByTagName("parsererror").length)&&n.error("Invalid XML: "+a),b};var ec,fc,gc=/#.*$/,hc=/([?&])_=[^&]*/,ic=/^(.*?):[ \t]*([^\r\n]*)$/gm,jc=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,kc=/^(?:GET|HEAD)$/,lc=/^\/\//,mc=/^([\w.+-]+:)(?:\/\/(?:[^\/?#]*@|)([^\/?#:]*)(?::(\d+)|)|)/,nc={},oc={},pc="*/".concat("*");try{fc=location.href}catch(qc){fc=l.createElement("a"),fc.href="",fc=fc.href}ec=mc.exec(fc.toLowerCase())||[];function rc(a){return function(b,c){"string"!=typeof b&&(c=b,b="*");var d,e=0,f=b.toLowerCase().match(E)||[];if(n.isFunction(c))while(d=f[e++])"+"===d[0]?(d=d.slice(1)||"*",(a[d]=a[d]||[]).unshift(c)):(a[d]=a[d]||[]).push(c)}}function sc(a,b,c,d){var e={},f=a===oc;function g(h){var i;return e[h]=!0,n.each(a[h]||[],function(a,h){var j=h(b,c,d);return"string"!=typeof j||f||e[j]?f?!(i=j):void 0:(b.dataTypes.unshift(j),g(j),!1)}),i}return g(b.dataTypes[0])||!e["*"]&&g("*")}function tc(a,b){var c,d,e=n.ajaxSettings.flatOptions||{};for(c in b)void 0!==b[c]&&((e[c]?a:d||(d={}))[c]=b[c]);return d&&n.extend(!0,a,d),a}function uc(a,b,c){var d,e,f,g,h=a.contents,i=a.dataTypes;while("*"===i[0])i.shift(),void 0===d&&(d=a.mimeType||b.getResponseHeader("Content-Type"));if(d)for(e in h)if(h[e]&&h[e].test(d)){i.unshift(e);break}if(i[0]in c)f=i[0];else{for(e in c){if(!i[0]||a.converters[e+" "+i[0]]){f=e;break}g||(g=e)}f=f||g}return f?(f!==i[0]&&i.unshift(f),c[f]):void 0}function vc(a,b,c,d){var e,f,g,h,i,j={},k=a.dataTypes.slice();if(k[1])for(g in a.converters)j[g.toLowerCase()]=a.converters[g];f=k.shift();while(f)if(a.responseFields[f]&&(c[a.responseFields[f]]=b),!i&&d&&a.dataFilter&&(b=a.dataFilter(b,a.dataType)),i=f,f=k.shift())if("*"===f)f=i;else if("*"!==i&&i!==f){if(g=j[i+" "+f]||j["* "+f],!g)for(e in j)if(h=e.split(" "),h[1]===f&&(g=j[i+" "+h[0]]||j["* "+h[0]])){g===!0?g=j[e]:j[e]!==!0&&(f=h[0],k.unshift(h[1]));break}if(g!==!0)if(g&&a["throws"])b=g(b);else try{b=g(b)}catch(l){return{state:"parsererror",error:g?l:"No conversion from "+i+" to "+f}}}return{state:"success",data:b}}n.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:fc,type:"GET",isLocal:jc.test(ec[1]),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":pc,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":n.parseJSON,"text xml":n.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(a,b){return b?tc(tc(a,n.ajaxSettings),b):tc(n.ajaxSettings,a)},ajaxPrefilter:rc(nc),ajaxTransport:rc(oc),ajax:function(a,b){"object"==typeof a&&(b=a,a=void 0),b=b||{};var c,d,e,f,g,h,i,j,k=n.ajaxSetup({},b),l=k.context||k,m=k.context&&(l.nodeType||l.jquery)?n(l):n.event,o=n.Deferred(),p=n.Callbacks("once memory"),q=k.statusCode||{},r={},s={},t=0,u="canceled",v={readyState:0,getResponseHeader:function(a){var b;if(2===t){if(!f){f={};while(b=ic.exec(e))f[b[1].toLowerCase()]=b[2]}b=f[a.toLowerCase()]}return null==b?null:b},getAllResponseHeaders:function(){return 2===t?e:null},setRequestHeader:function(a,b){var c=a.toLowerCase();return t||(a=s[c]=s[c]||a,r[a]=b),this},overrideMimeType:function(a){return t||(k.mimeType=a),this},statusCode:function(a){var b;if(a)if(2>t)for(b in a)q[b]=[q[b],a[b]];else v.always(a[v.status]);return this},abort:function(a){var b=a||u;return c&&c.abort(b),x(0,b),this}};if(o.promise(v).complete=p.add,v.success=v.done,v.error=v.fail,k.url=((a||k.url||fc)+"").replace(gc,"").replace(lc,ec[1]+"//"),k.type=b.method||b.type||k.method||k.type,k.dataTypes=n.trim(k.dataType||"*").toLowerCase().match(E)||[""],null==k.crossDomain&&(h=mc.exec(k.url.toLowerCase()),k.crossDomain=!(!h||h[1]===ec[1]&&h[2]===ec[2]&&(h[3]||("http:"===h[1]?"80":"443"))===(ec[3]||("http:"===ec[1]?"80":"443")))),k.data&&k.processData&&"string"!=typeof k.data&&(k.data=n.param(k.data,k.traditional)),sc(nc,k,b,v),2===t)return v;i=k.global,i&&0===n.active++&&n.event.trigger("ajaxStart"),k.type=k.type.toUpperCase(),k.hasContent=!kc.test(k.type),d=k.url,k.hasContent||(k.data&&(d=k.url+=(dc.test(d)?"&":"?")+k.data,delete k.data),k.cache===!1&&(k.url=hc.test(d)?d.replace(hc,"$1_="+cc++):d+(dc.test(d)?"&":"?")+"_="+cc++)),k.ifModified&&(n.lastModified[d]&&v.setRequestHeader("If-Modified-Since",n.lastModified[d]),n.etag[d]&&v.setRequestHeader("If-None-Match",n.etag[d])),(k.data&&k.hasContent&&k.contentType!==!1||b.contentType)&&v.setRequestHeader("Content-Type",k.contentType),v.setRequestHeader("Accept",k.dataTypes[0]&&k.accepts[k.dataTypes[0]]?k.accepts[k.dataTypes[0]]+("*"!==k.dataTypes[0]?", "+pc+"; q=0.01":""):k.accepts["*"]);for(j in k.headers)v.setRequestHeader(j,k.headers[j]);if(k.beforeSend&&(k.beforeSend.call(l,v,k)===!1||2===t))return v.abort();u="abort";for(j in{success:1,error:1,complete:1})v[j](k[j]);if(c=sc(oc,k,b,v)){v.readyState=1,i&&m.trigger("ajaxSend",[v,k]),k.async&&k.timeout>0&&(g=setTimeout(function(){v.abort("timeout")},k.timeout));try{t=1,c.send(r,x)}catch(w){if(!(2>t))throw w;x(-1,w)}}else x(-1,"No Transport");function x(a,b,f,h){var j,r,s,u,w,x=b;2!==t&&(t=2,g&&clearTimeout(g),c=void 0,e=h||"",v.readyState=a>0?4:0,j=a>=200&&300>a||304===a,f&&(u=uc(k,v,f)),u=vc(k,u,v,j),j?(k.ifModified&&(w=v.getResponseHeader("Last-Modified"),w&&(n.lastModified[d]=w),w=v.getResponseHeader("etag"),w&&(n.etag[d]=w)),204===a||"HEAD"===k.type?x="nocontent":304===a?x="notmodified":(x=u.state,r=u.data,s=u.error,j=!s)):(s=x,(a||!x)&&(x="error",0>a&&(a=0))),v.status=a,v.statusText=(b||x)+"",j?o.resolveWith(l,[r,x,v]):o.rejectWith(l,[v,x,s]),v.statusCode(q),q=void 0,i&&m.trigger(j?"ajaxSuccess":"ajaxError",[v,k,j?r:s]),p.fireWith(l,[v,x]),i&&(m.trigger("ajaxComplete",[v,k]),--n.active||n.event.trigger("ajaxStop")))}return v},getJSON:function(a,b,c){return n.get(a,b,c,"json")},getScript:function(a,b){return n.get(a,void 0,b,"script")}}),n.each(["get","post"],function(a,b){n[b]=function(a,c,d,e){return n.isFunction(c)&&(e=e||d,d=c,c=void 0),n.ajax({url:a,type:b,dataType:e,data:c,success:d})}}),n.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(a,b){n.fn[b]=function(a){return this.on(b,a)}}),n._evalUrl=function(a){return n.ajax({url:a,type:"GET",dataType:"script",async:!1,global:!1,"throws":!0})},n.fn.extend({wrapAll:function(a){var b;return n.isFunction(a)?this.each(function(b){n(this).wrapAll(a.call(this,b))}):(this[0]&&(b=n(a,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&b.insertBefore(this[0]),b.map(function(){var a=this;while(a.firstElementChild)a=a.firstElementChild;return a}).append(this)),this)},wrapInner:function(a){return this.each(n.isFunction(a)?function(b){n(this).wrapInner(a.call(this,b))}:function(){var b=n(this),c=b.contents();c.length?c.wrapAll(a):b.append(a)})},wrap:function(a){var b=n.isFunction(a);return this.each(function(c){n(this).wrapAll(b?a.call(this,c):a)})},unwrap:function(){return this.parent().each(function(){n.nodeName(this,"body")||n(this).replaceWith(this.childNodes)}).end()}}),n.expr.filters.hidden=function(a){return a.offsetWidth<=0&&a.offsetHeight<=0},n.expr.filters.visible=function(a){return!n.expr.filters.hidden(a)};var wc=/%20/g,xc=/\[\]$/,yc=/\r?\n/g,zc=/^(?:submit|button|image|reset|file)$/i,Ac=/^(?:input|select|textarea|keygen)/i;function Bc(a,b,c,d){var e;if(n.isArray(b))n.each(b,function(b,e){c||xc.test(a)?d(a,e):Bc(a+"["+("object"==typeof e?b:"")+"]",e,c,d)});else if(c||"object"!==n.type(b))d(a,b);else for(e in b)Bc(a+"["+e+"]",b[e],c,d)}n.param=function(a,b){var c,d=[],e=function(a,b){b=n.isFunction(b)?b():null==b?"":b,d[d.length]=encodeURIComponent(a)+"="+encodeURIComponent(b)};if(void 0===b&&(b=n.ajaxSettings&&n.ajaxSettings.traditional),n.isArray(a)||a.jquery&&!n.isPlainObject(a))n.each(a,function(){e(this.name,this.value)});else for(c in a)Bc(c,a[c],b,e);return d.join("&").replace(wc,"+")},n.fn.extend({serialize:function(){return n.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var a=n.prop(this,"elements");return a?n.makeArray(a):this}).filter(function(){var a=this.type;return this.name&&!n(this).is(":disabled")&&Ac.test(this.nodeName)&&!zc.test(a)&&(this.checked||!T.test(a))}).map(function(a,b){var c=n(this).val();return null==c?null:n.isArray(c)?n.map(c,function(a){return{name:b.name,value:a.replace(yc,"\r\n")}}):{name:b.name,value:c.replace(yc,"\r\n")}}).get()}}),n.ajaxSettings.xhr=function(){try{return new XMLHttpRequest}catch(a){}};var Cc=0,Dc={},Ec={0:200,1223:204},Fc=n.ajaxSettings.xhr();a.ActiveXObject&&n(a).on("unload",function(){for(var a in Dc)Dc[a]()}),k.cors=!!Fc&&"withCredentials"in Fc,k.ajax=Fc=!!Fc,n.ajaxTransport(function(a){var b;return k.cors||Fc&&!a.crossDomain?{send:function(c,d){var e,f=a.xhr(),g=++Cc;if(f.open(a.type,a.url,a.async,a.username,a.password),a.xhrFields)for(e in a.xhrFields)f[e]=a.xhrFields[e];a.mimeType&&f.overrideMimeType&&f.overrideMimeType(a.mimeType),a.crossDomain||c["X-Requested-With"]||(c["X-Requested-With"]="XMLHttpRequest");for(e in c)f.setRequestHeader(e,c[e]);b=function(a){return function(){b&&(delete Dc[g],b=f.onload=f.onerror=null,"abort"===a?f.abort():"error"===a?d(f.status,f.statusText):d(Ec[f.status]||f.status,f.statusText,"string"==typeof f.responseText?{text:f.responseText}:void 0,f.getAllResponseHeaders()))}},f.onload=b(),f.onerror=b("error"),b=Dc[g]=b("abort");try{f.send(a.hasContent&&a.data||null)}catch(h){if(b)throw h}},abort:function(){b&&b()}}:void 0}),n.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/(?:java|ecma)script/},converters:{"text script":function(a){return n.globalEval(a),a}}}),n.ajaxPrefilter("script",function(a){void 0===a.cache&&(a.cache=!1),a.crossDomain&&(a.type="GET")}),n.ajaxTransport("script",function(a){if(a.crossDomain){var b,c;return{send:function(d,e){b=n("<script>").prop({async:!0,charset:a.scriptCharset,src:a.url}).on("load error",c=function(a){b.remove(),c=null,a&&e("error"===a.type?404:200,a.type)}),l.head.appendChild(b[0])},abort:function(){c&&c()}}}});var Gc=[],Hc=/(=)\?(?=&|$)|\?\?/;n.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var a=Gc.pop()||n.expando+"_"+cc++;return this[a]=!0,a}}),n.ajaxPrefilter("json jsonp",function(b,c,d){var e,f,g,h=b.jsonp!==!1&&(Hc.test(b.url)?"url":"string"==typeof b.data&&!(b.contentType||"").indexOf("application/x-www-form-urlencoded")&&Hc.test(b.data)&&"data");return h||"jsonp"===b.dataTypes[0]?(e=b.jsonpCallback=n.isFunction(b.jsonpCallback)?b.jsonpCallback():b.jsonpCallback,h?b[h]=b[h].replace(Hc,"$1"+e):b.jsonp!==!1&&(b.url+=(dc.test(b.url)?"&":"?")+b.jsonp+"="+e),b.converters["script json"]=function(){return g||n.error(e+" was not called"),g[0]},b.dataTypes[0]="json",f=a[e],a[e]=function(){g=arguments},d.always(function(){a[e]=f,b[e]&&(b.jsonpCallback=c.jsonpCallback,Gc.push(e)),g&&n.isFunction(f)&&f(g[0]),g=f=void 0}),"script"):void 0}),n.parseHTML=function(a,b,c){if(!a||"string"!=typeof a)return null;"boolean"==typeof b&&(c=b,b=!1),b=b||l;var d=v.exec(a),e=!c&&[];return d?[b.createElement(d[1])]:(d=n.buildFragment([a],b,e),e&&e.length&&n(e).remove(),n.merge([],d.childNodes))};var Ic=n.fn.load;n.fn.load=function(a,b,c){if("string"!=typeof a&&Ic)return Ic.apply(this,arguments);var d,e,f,g=this,h=a.indexOf(" ");return h>=0&&(d=n.trim(a.slice(h)),a=a.slice(0,h)),n.isFunction(b)?(c=b,b=void 0):b&&"object"==typeof b&&(e="POST"),g.length>0&&n.ajax({url:a,type:e,dataType:"html",data:b}).done(function(a){f=arguments,g.html(d?n("<div>").append(n.parseHTML(a)).find(d):a)}).complete(c&&function(a,b){g.each(c,f||[a.responseText,b,a])}),this},n.expr.filters.animated=function(a){return n.grep(n.timers,function(b){return a===b.elem}).length};var Jc=a.document.documentElement;function Kc(a){return n.isWindow(a)?a:9===a.nodeType&&a.defaultView}n.offset={setOffset:function(a,b,c){var d,e,f,g,h,i,j,k=n.css(a,"position"),l=n(a),m={};"static"===k&&(a.style.position="relative"),h=l.offset(),f=n.css(a,"top"),i=n.css(a,"left"),j=("absolute"===k||"fixed"===k)&&(f+i).indexOf("auto")>-1,j?(d=l.position(),g=d.top,e=d.left):(g=parseFloat(f)||0,e=parseFloat(i)||0),n.isFunction(b)&&(b=b.call(a,c,h)),null!=b.top&&(m.top=b.top-h.top+g),null!=b.left&&(m.left=b.left-h.left+e),"using"in b?b.using.call(a,m):l.css(m)}},n.fn.extend({offset:function(a){if(arguments.length)return void 0===a?this:this.each(function(b){n.offset.setOffset(this,a,b)});var b,c,d=this[0],e={top:0,left:0},f=d&&d.ownerDocument;if(f)return b=f.documentElement,n.contains(b,d)?(typeof d.getBoundingClientRect!==U&&(e=d.getBoundingClientRect()),c=Kc(f),{top:e.top+c.pageYOffset-b.clientTop,left:e.left+c.pageXOffset-b.clientLeft}):e},position:function(){if(this[0]){var a,b,c=this[0],d={top:0,left:0};return"fixed"===n.css(c,"position")?b=c.getBoundingClientRect():(a=this.offsetParent(),b=this.offset(),n.nodeName(a[0],"html")||(d=a.offset()),d.top+=n.css(a[0],"borderTopWidth",!0),d.left+=n.css(a[0],"borderLeftWidth",!0)),{top:b.top-d.top-n.css(c,"marginTop",!0),left:b.left-d.left-n.css(c,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){var a=this.offsetParent||Jc;while(a&&!n.nodeName(a,"html")&&"static"===n.css(a,"position"))a=a.offsetParent;return a||Jc})}}),n.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(b,c){var d="pageYOffset"===c;n.fn[b]=function(e){return J(this,function(b,e,f){var g=Kc(b);return void 0===f?g?g[c]:b[e]:void(g?g.scrollTo(d?a.pageXOffset:f,d?f:a.pageYOffset):b[e]=f)},b,e,arguments.length,null)}}),n.each(["top","left"],function(a,b){n.cssHooks[b]=yb(k.pixelPosition,function(a,c){return c?(c=xb(a,b),vb.test(c)?n(a).position()[b]+"px":c):void 0})}),n.each({Height:"height",Width:"width"},function(a,b){n.each({padding:"inner"+a,content:b,"":"outer"+a},function(c,d){n.fn[d]=function(d,e){var f=arguments.length&&(c||"boolean"!=typeof d),g=c||(d===!0||e===!0?"margin":"border");return J(this,function(b,c,d){var e;return n.isWindow(b)?b.document.documentElement["client"+a]:9===b.nodeType?(e=b.documentElement,Math.max(b.body["scroll"+a],e["scroll"+a],b.body["offset"+a],e["offset"+a],e["client"+a])):void 0===d?n.css(b,c,g):n.style(b,c,d,g)},b,f?d:void 0,f,null)}})}),n.fn.size=function(){return this.length},n.fn.andSelf=n.fn.addBack,"function"==typeof define&&define.amd&&define("jquery",[],function(){return n});var Lc=a.jQuery,Mc=a.$;return n.noConflict=function(b){return a.$===n&&(a.$=Mc),b&&a.jQuery===n&&(a.jQuery=Lc),n},typeof b===U&&(a.jQuery=a.$=n),n});
|
|
-
|
|
- </script>
|
|
- <script language="javascript" type="text/javascript">
|
|
- /* Javascript plotting library for jQuery, version 0.8.3.
|
|
-
|
|
-Copyright (c) 2007-2014 IOLA and Ole Laursen.
|
|
-Licensed under the MIT license.
|
|
-
|
|
-*/
|
|
-(function($){$.color={};$.color.make=function(r,g,b,a){var o={};o.r=r||0;o.g=g||0;o.b=b||0;o.a=a!=null?a:1;o.add=function(c,d){for(var i=0;i<c.length;++i)o[c.charAt(i)]+=d;return o.normalize()};o.scale=function(c,f){for(var i=0;i<c.length;++i)o[c.charAt(i)]*=f;return o.normalize()};o.toString=function(){if(o.a>=1){return"rgb("+[o.r,o.g,o.b].join(",")+")"}else{return"rgba("+[o.r,o.g,o.b,o.a].join(",")+")"}};o.normalize=function(){function clamp(min,value,max){return value<min?min:value>max?max:value}o.r=clamp(0,parseInt(o.r),255);o.g=clamp(0,parseInt(o.g),255);o.b=clamp(0,parseInt(o.b),255);o.a=clamp(0,o.a,1);return o};o.clone=function(){return $.color.make(o.r,o.b,o.g,o.a)};return o.normalize()};$.color.extract=function(elem,css){var c;do{c=elem.css(css).toLowerCase();if(c!=""&&c!="transparent")break;elem=elem.parent()}while(elem.length&&!$.nodeName(elem.get(0),"body"));if(c=="rgba(0, 0, 0, 0)")c="transparent";return $.color.parse(c)};$.color.parse=function(str){var res,m=$.color.make;if(res=/rgb\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*\)/.exec(str))return m(parseInt(res[1],10),parseInt(res[2],10),parseInt(res[3],10));if(res=/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(str))return m(parseInt(res[1],10),parseInt(res[2],10),parseInt(res[3],10),parseFloat(res[4]));if(res=/rgb\(\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*\)/.exec(str))return m(parseFloat(res[1])*2.55,parseFloat(res[2])*2.55,parseFloat(res[3])*2.55);if(res=/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(str))return m(parseFloat(res[1])*2.55,parseFloat(res[2])*2.55,parseFloat(res[3])*2.55,parseFloat(res[4]));if(res=/#([a-fA-F0-9]{2})([a-fA-F0-9]{2})([a-fA-F0-9]{2})/.exec(str))return m(parseInt(res[1],16),parseInt(res[2],16),parseInt(res[3],16));if(res=/#([a-fA-F0-9])([a-fA-F0-9])([a-fA-F0-9])/.exec(str))return m(parseInt(res[1]+res[1],16),parseInt(res[2]+res[2],16),parseInt(res[3]+res[3],16));var name=$.trim(str).toLowerCase();if(name=="transparent")return m(255,255,255,0);else{res=lookupColors[name]||[0,0,0];return m(res[0],res[1],res[2])}};var lookupColors={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($){var hasOwnProperty=Object.prototype.hasOwnProperty;if(!$.fn.detach){$.fn.detach=function(){return this.each(function(){if(this.parentNode){this.parentNode.removeChild(this)}})}}function Canvas(cls,container){var element=container.children("."+cls)[0];if(element==null){element=document.createElement("canvas");element.className=cls;$(element).css({direction:"ltr",position:"absolute",left:0,top:0}).appendTo(container);if(!element.getContext){if(window.G_vmlCanvasManager){element=window.G_vmlCanvasManager.initElement(element)}else{throw new Error("Canvas is not available. If you're using IE with a fall-back such as Excanvas, then there's either a mistake in your conditional include, or the page has no DOCTYPE and is rendering in Quirks Mode.")}}}this.element=element;var context=this.context=element.getContext("2d");var devicePixelRatio=window.devicePixelRatio||1,backingStoreRatio=context.webkitBackingStorePixelRatio||context.mozBackingStorePixelRatio||context.msBackingStorePixelRatio||context.oBackingStorePixelRatio||context.backingStorePixelRatio||1;this.pixelRatio=devicePixelRatio/backingStoreRatio;this.resize(container.width(),container.height());this.textContainer=null;this.text={};this._textCache={}}Canvas.prototype.resize=function(width,height){if(width<=0||height<=0){throw new Error("Invalid dimensions for plot, width = "+width+", height = "+height)}var element=this.element,context=this.context,pixelRatio=this.pixelRatio;if(this.width!=width){element.width=width*pixelRatio;element.style.width=width+"px";this.width=width}if(this.height!=height){element.height=height*pixelRatio;element.style.height=height+"px";this.height=height}context.restore();context.save();context.scale(pixelRatio,pixelRatio)};Canvas.prototype.clear=function(){this.context.clearRect(0,0,this.width,this.height)};Canvas.prototype.render=function(){var cache=this._textCache;for(var layerKey in cache){if(hasOwnProperty.call(cache,layerKey)){var layer=this.getTextLayer(layerKey),layerCache=cache[layerKey];layer.hide();for(var styleKey in layerCache){if(hasOwnProperty.call(layerCache,styleKey)){var styleCache=layerCache[styleKey];for(var key in styleCache){if(hasOwnProperty.call(styleCache,key)){var positions=styleCache[key].positions;for(var i=0,position;position=positions[i];i++){if(position.active){if(!position.rendered){layer.append(position.element);position.rendered=true}}else{positions.splice(i--,1);if(position.rendered){position.element.detach()}}}if(positions.length==0){delete styleCache[key]}}}}}layer.show()}}};Canvas.prototype.getTextLayer=function(classes){var layer=this.text[classes];if(layer==null){if(this.textContainer==null){this.textContainer=$("<div class='flot-text'></div>").css({position:"absolute",top:0,left:0,bottom:0,right:0,"font-size":"smaller",color:"#545454"}).insertAfter(this.element)}layer=this.text[classes]=$("<div></div>").addClass(classes).css({position:"absolute",top:0,left:0,bottom:0,right:0}).appendTo(this.textContainer)}return layer};Canvas.prototype.getTextInfo=function(layer,text,font,angle,width){var textStyle,layerCache,styleCache,info;text=""+text;if(typeof font==="object"){textStyle=font.style+" "+font.variant+" "+font.weight+" "+font.size+"px/"+font.lineHeight+"px "+font.family}else{textStyle=font}layerCache=this._textCache[layer];if(layerCache==null){layerCache=this._textCache[layer]={}}styleCache=layerCache[textStyle];if(styleCache==null){styleCache=layerCache[textStyle]={}}info=styleCache[text];if(info==null){var element=$("<div></div>").html(text).css({position:"absolute","max-width":width,top:-9999}).appendTo(this.getTextLayer(layer));if(typeof font==="object"){element.css({font:textStyle,color:font.color})}else if(typeof font==="string"){element.addClass(font)}info=styleCache[text]={width:element.outerWidth(true),height:element.outerHeight(true),element:element,positions:[]};element.detach()}return info};Canvas.prototype.addText=function(layer,x,y,text,font,angle,width,halign,valign){var info=this.getTextInfo(layer,text,font,angle,width),positions=info.positions;if(halign=="center"){x-=info.width/2}else if(halign=="right"){x-=info.width}if(valign=="middle"){y-=info.height/2}else if(valign=="bottom"){y-=info.height}for(var i=0,position;position=positions[i];i++){if(position.x==x&&position.y==y){position.active=true;return}}position={active:true,rendered:false,element:positions.length?info.element.clone():info.element,x:x,y:y};positions.push(position);position.element.css({top:Math.round(y),left:Math.round(x),"text-align":halign})};Canvas.prototype.removeText=function(layer,x,y,text,font,angle){if(text==null){var layerCache=this._textCache[layer];if(layerCache!=null){for(var styleKey in layerCache){if(hasOwnProperty.call(layerCache,styleKey)){var styleCache=layerCache[styleKey];for(var key in styleCache){if(hasOwnProperty.call(styleCache,key)){var positions=styleCache[key].positions;for(var i=0,position;position=positions[i];i++){position.active=false}}}}}}}else{var positions=this.getTextInfo(layer,text,font,angle).positions;for(var i=0,position;position=positions[i];i++){if(position.x==x&&position.y==y){position.active=false}}}};function Plot(placeholder,data_,options_,plugins){var series=[],options={colors:["#edc240","#afd8f8","#cb4b4b","#4da74d","#9440ed"],legend:{show:true,noColumns:1,labelFormatter:null,labelBoxBorderColor:"#ccc",container:null,position:"ne",margin:5,backgroundColor:null,backgroundOpacity:.85,sorted:null},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},yaxis:{autoscaleMargin:.02,position:"left"},xaxes:[],yaxes:[],series:{points:{show:false,radius:3,lineWidth:2,fill:true,fillColor:"#ffffff",symbol:"circle"},lines:{lineWidth:2,fill:false,fillColor:null,steps:false},bars:{show:false,lineWidth:2,barWidth:1,fill:true,fillColor:null,align:"left",horizontal:false,zero:true},shadowSize:3,highlightColor:null},grid:{show:true,aboveData:false,color:"#545454",backgroundColor:null,borderColor:null,tickColor:null,margin:0,labelMargin:5,axisMargin:8,borderWidth:2,minBorderMargin:null,markings:null,markingsColor:"#f4f4f4",markingsLineWidth:2,clickable:false,hoverable:false,autoHighlight:true,mouseActiveRadius:10},interaction:{redrawOverlayInterval:1e3/60},hooks:{}},surface=null,overlay=null,eventHolder=null,ctx=null,octx=null,xaxes=[],yaxes=[],plotOffset={left:0,right:0,top:0,bottom:0},plotWidth=0,plotHeight=0,hooks={processOptions:[],processRawData:[],processDatapoints:[],processOffset:[],drawBackground:[],drawSeries:[],draw:[],bindEvents:[],drawOverlay:[],shutdown:[]},plot=this;plot.setData=setData;plot.setupGrid=setupGrid;plot.draw=draw;plot.getPlaceholder=function(){return placeholder};plot.getCanvas=function(){return surface.element};plot.getPlotOffset=function(){return plotOffset};plot.width=function(){return plotWidth};plot.height=function(){return plotHeight};plot.offset=function(){var o=eventHolder.offset();o.left+=plotOffset.left;o.top+=plotOffset.top;return o};plot.getData=function(){return series};plot.getAxes=function(){var res={},i;$.each(xaxes.concat(yaxes),function(_,axis){if(axis)res[axis.direction+(axis.n!=1?axis.n:"")+"axis"]=axis});return res};plot.getXAxes=function(){return xaxes};plot.getYAxes=function(){return yaxes};plot.c2p=canvasToAxisCoords;plot.p2c=axisToCanvasCoords;plot.getOptions=function(){return options};plot.highlight=highlight;plot.unhighlight=unhighlight;plot.triggerRedrawOverlay=triggerRedrawOverlay;plot.pointOffset=function(point){return{left:parseInt(xaxes[axisNumber(point,"x")-1].p2c(+point.x)+plotOffset.left,10),top:parseInt(yaxes[axisNumber(point,"y")-1].p2c(+point.y)+plotOffset.top,10)}};plot.shutdown=shutdown;plot.destroy=function(){shutdown();placeholder.removeData("plot").empty();series=[];options=null;surface=null;overlay=null;eventHolder=null;ctx=null;octx=null;xaxes=[];yaxes=[];hooks=null;highlights=[];plot=null};plot.resize=function(){var width=placeholder.width(),height=placeholder.height();surface.resize(width,height);overlay.resize(width,height)};plot.hooks=hooks;initPlugins(plot);parseOptions(options_);setupCanvases();setData(data_);setupGrid();draw();bindEvents();function executeHooks(hook,args){args=[plot].concat(args);for(var i=0;i<hook.length;++i)hook[i].apply(this,args)}function initPlugins(){var classes={Canvas:Canvas};for(var i=0;i<plugins.length;++i){var p=plugins[i];p.init(plot,classes);if(p.options)$.extend(true,options,p.options)}}function parseOptions(opts){$.extend(true,options,opts);if(opts&&opts.colors){options.colors=opts.colors}if(options.xaxis.color==null)options.xaxis.color=$.color.parse(options.grid.color).scale("a",.22).toString();if(options.yaxis.color==null)options.yaxis.color=$.color.parse(options.grid.color).scale("a",.22).toString();if(options.xaxis.tickColor==null)options.xaxis.tickColor=options.grid.tickColor||options.xaxis.color;if(options.yaxis.tickColor==null)options.yaxis.tickColor=options.grid.tickColor||options.yaxis.color;if(options.grid.borderColor==null)options.grid.borderColor=options.grid.color;if(options.grid.tickColor==null)options.grid.tickColor=$.color.parse(options.grid.color).scale("a",.22).toString();var i,axisOptions,axisCount,fontSize=placeholder.css("font-size"),fontSizeDefault=fontSize?+fontSize.replace("px",""):13,fontDefaults={style:placeholder.css("font-style"),size:Math.round(.8*fontSizeDefault),variant:placeholder.css("font-variant"),weight:placeholder.css("font-weight"),family:placeholder.css("font-family")};axisCount=options.xaxes.length||1;for(i=0;i<axisCount;++i){axisOptions=options.xaxes[i];if(axisOptions&&!axisOptions.tickColor){axisOptions.tickColor=axisOptions.color}axisOptions=$.extend(true,{},options.xaxis,axisOptions);options.xaxes[i]=axisOptions;if(axisOptions.font){axisOptions.font=$.extend({},fontDefaults,axisOptions.font);if(!axisOptions.font.color){axisOptions.font.color=axisOptions.color}if(!axisOptions.font.lineHeight){axisOptions.font.lineHeight=Math.round(axisOptions.font.size*1.15)}}}axisCount=options.yaxes.length||1;for(i=0;i<axisCount;++i){axisOptions=options.yaxes[i];if(axisOptions&&!axisOptions.tickColor){axisOptions.tickColor=axisOptions.color}axisOptions=$.extend(true,{},options.yaxis,axisOptions);options.yaxes[i]=axisOptions;if(axisOptions.font){axisOptions.font=$.extend({},fontDefaults,axisOptions.font);if(!axisOptions.font.color){axisOptions.font.color=axisOptions.color}if(!axisOptions.font.lineHeight){axisOptions.font.lineHeight=Math.round(axisOptions.font.size*1.15)}}}if(options.xaxis.noTicks&&options.xaxis.ticks==null)options.xaxis.ticks=options.xaxis.noTicks;if(options.yaxis.noTicks&&options.yaxis.ticks==null)options.yaxis.ticks=options.yaxis.noTicks;if(options.x2axis){options.xaxes[1]=$.extend(true,{},options.xaxis,options.x2axis);options.xaxes[1].position="top";if(options.x2axis.min==null){options.xaxes[1].min=null}if(options.x2axis.max==null){options.xaxes[1].max=null}}if(options.y2axis){options.yaxes[1]=$.extend(true,{},options.yaxis,options.y2axis);options.yaxes[1].position="right";if(options.y2axis.min==null){options.yaxes[1].min=null}if(options.y2axis.max==null){options.yaxes[1].max=null}}if(options.grid.coloredAreas)options.grid.markings=options.grid.coloredAreas;if(options.grid.coloredAreasColor)options.grid.markingsColor=options.grid.coloredAreasColor;if(options.lines)$.extend(true,options.series.lines,options.lines);if(options.points)$.extend(true,options.series.points,options.points);if(options.bars)$.extend(true,options.series.bars,options.bars);if(options.shadowSize!=null)options.series.shadowSize=options.shadowSize;if(options.highlightColor!=null)options.series.highlightColor=options.highlightColor;for(i=0;i<options.xaxes.length;++i)getOrCreateAxis(xaxes,i+1).options=options.xaxes[i];for(i=0;i<options.yaxes.length;++i)getOrCreateAxis(yaxes,i+1).options=options.yaxes[i];for(var n in hooks)if(options.hooks[n]&&options.hooks[n].length)hooks[n]=hooks[n].concat(options.hooks[n]);executeHooks(hooks.processOptions,[options])}function setData(d){series=parseData(d);fillInSeriesOptions();processData()}function parseData(d){var res=[];for(var i=0;i<d.length;++i){var s=$.extend(true,{},options.series);if(d[i].data!=null){s.data=d[i].data;delete d[i].data;$.extend(true,s,d[i]);d[i].data=s.data}else s.data=d[i];res.push(s)}return res}function axisNumber(obj,coord){var a=obj[coord+"axis"];if(typeof a=="object")a=a.n;if(typeof a!="number")a=1;return a}function allAxes(){return $.grep(xaxes.concat(yaxes),function(a){return a})}function canvasToAxisCoords(pos){var res={},i,axis;for(i=0;i<xaxes.length;++i){axis=xaxes[i];if(axis&&axis.used)res["x"+axis.n]=axis.c2p(pos.left)}for(i=0;i<yaxes.length;++i){axis=yaxes[i];if(axis&&axis.used)res["y"+axis.n]=axis.c2p(pos.top)}if(res.x1!==undefined)res.x=res.x1;if(res.y1!==undefined)res.y=res.y1;return res}function axisToCanvasCoords(pos){var res={},i,axis,key;for(i=0;i<xaxes.length;++i){axis=xaxes[i];if(axis&&axis.used){key="x"+axis.n;if(pos[key]==null&&axis.n==1)key="x";if(pos[key]!=null){res.left=axis.p2c(pos[key]);break}}}for(i=0;i<yaxes.length;++i){axis=yaxes[i];if(axis&&axis.used){key="y"+axis.n;if(pos[key]==null&&axis.n==1)key="y";if(pos[key]!=null){res.top=axis.p2c(pos[key]);break}}}return res}function getOrCreateAxis(axes,number){if(!axes[number-1])axes[number-1]={n:number,direction:axes==xaxes?"x":"y",options:$.extend(true,{},axes==xaxes?options.xaxis:options.yaxis)};return axes[number-1]}function fillInSeriesOptions(){var neededColors=series.length,maxIndex=-1,i;for(i=0;i<series.length;++i){var sc=series[i].color;if(sc!=null){neededColors--;if(typeof sc=="number"&&sc>maxIndex){maxIndex=sc}}}if(neededColors<=maxIndex){neededColors=maxIndex+1}var c,colors=[],colorPool=options.colors,colorPoolSize=colorPool.length,variation=0;for(i=0;i<neededColors;i++){c=$.color.parse(colorPool[i%colorPoolSize]||"#666");if(i%colorPoolSize==0&&i){if(variation>=0){if(variation<.5){variation=-variation-.2}else variation=0}else variation=-variation}colors[i]=c.scale("rgb",1+variation)}var colori=0,s;for(i=0;i<series.length;++i){s=series[i];if(s.color==null){s.color=colors[colori].toString();++colori}else if(typeof s.color=="number")s.color=colors[s.color].toString();if(s.lines.show==null){var v,show=true;for(v in s)if(s[v]&&s[v].show){show=false;break}if(show)s.lines.show=true}if(s.lines.zero==null){s.lines.zero=!!s.lines.fill}s.xaxis=getOrCreateAxis(xaxes,axisNumber(s,"x"));s.yaxis=getOrCreateAxis(yaxes,axisNumber(s,"y"))}}function processData(){var topSentry=Number.POSITIVE_INFINITY,bottomSentry=Number.NEGATIVE_INFINITY,fakeInfinity=Number.MAX_VALUE,i,j,k,m,length,s,points,ps,x,y,axis,val,f,p,data,format;function updateAxis(axis,min,max){if(min<axis.datamin&&min!=-fakeInfinity)axis.datamin=min;if(max>axis.datamax&&max!=fakeInfinity)axis.datamax=max}$.each(allAxes(),function(_,axis){axis.datamin=topSentry;axis.datamax=bottomSentry;axis.used=false});for(i=0;i<series.length;++i){s=series[i];s.datapoints={points:[]};executeHooks(hooks.processRawData,[s,s.data,s.datapoints])}for(i=0;i<series.length;++i){s=series[i];data=s.data;format=s.datapoints.format;if(!format){format=[];format.push({x:true,number:true,required:true});format.push({y:true,number:true,required:true});if(s.bars.show||s.lines.show&&s.lines.fill){var autoscale=!!(s.bars.show&&s.bars.zero||s.lines.show&&s.lines.zero);format.push({y:true,number:true,required:false,defaultValue:0,autoscale:autoscale});if(s.bars.horizontal){delete format[format.length-1].y;format[format.length-1].x=true}}s.datapoints.format=format}if(s.datapoints.pointsize!=null)continue;s.datapoints.pointsize=format.length;ps=s.datapoints.pointsize;points=s.datapoints.points;var insertSteps=s.lines.show&&s.lines.steps;s.xaxis.used=s.yaxis.used=true;for(j=k=0;j<data.length;++j,k+=ps){p=data[j];var nullify=p==null;if(!nullify){for(m=0;m<ps;++m){val=p[m];f=format[m];if(f){if(f.number&&val!=null){val=+val;if(isNaN(val))val=null;else if(val==Infinity)val=fakeInfinity;else if(val==-Infinity)val=-fakeInfinity}if(val==null){if(f.required)nullify=true;if(f.defaultValue!=null)val=f.defaultValue}}points[k+m]=val}}if(nullify){for(m=0;m<ps;++m){val=points[k+m];if(val!=null){f=format[m];if(f.autoscale!==false){if(f.x){updateAxis(s.xaxis,val,val)}if(f.y){updateAxis(s.yaxis,val,val)}}}points[k+m]=null}}else{if(insertSteps&&k>0&&points[k-ps]!=null&&points[k-ps]!=points[k]&&points[k-ps+1]!=points[k+1]){for(m=0;m<ps;++m)points[k+ps+m]=points[k+m];points[k+1]=points[k-ps+1];k+=ps}}}}for(i=0;i<series.length;++i){s=series[i];executeHooks(hooks.processDatapoints,[s,s.datapoints])}for(i=0;i<series.length;++i){s=series[i];points=s.datapoints.points;ps=s.datapoints.pointsize;format=s.datapoints.format;var xmin=topSentry,ymin=topSentry,xmax=bottomSentry,ymax=bottomSentry;for(j=0;j<points.length;j+=ps){if(points[j]==null)continue;for(m=0;m<ps;++m){val=points[j+m];f=format[m];if(!f||f.autoscale===false||val==fakeInfinity||val==-fakeInfinity)continue;if(f.x){if(val<xmin)xmin=val;if(val>xmax)xmax=val}if(f.y){if(val<ymin)ymin=val;if(val>ymax)ymax=val}}}if(s.bars.show){var delta;switch(s.bars.align){case"left":delta=0;break;case"right":delta=-s.bars.barWidth;break;default:delta=-s.bars.barWidth/2}if(s.bars.horizontal){ymin+=delta;ymax+=delta+s.bars.barWidth}else{xmin+=delta;xmax+=delta+s.bars.barWidth}}updateAxis(s.xaxis,xmin,xmax);updateAxis(s.yaxis,ymin,ymax)}$.each(allAxes(),function(_,axis){if(axis.datamin==topSentry)axis.datamin=null;if(axis.datamax==bottomSentry)axis.datamax=null})}function setupCanvases(){placeholder.css("padding",0).children().filter(function(){return!$(this).hasClass("flot-overlay")&&!$(this).hasClass("flot-base")}).remove();if(placeholder.css("position")=="static")placeholder.css("position","relative");surface=new Canvas("flot-base",placeholder);overlay=new Canvas("flot-overlay",placeholder);ctx=surface.context;octx=overlay.context;eventHolder=$(overlay.element).unbind();var existing=placeholder.data("plot");if(existing){existing.shutdown();overlay.clear()}placeholder.data("plot",plot)}function bindEvents(){if(options.grid.hoverable){eventHolder.mousemove(onMouseMove);eventHolder.bind("mouseleave",onMouseLeave)}if(options.grid.clickable)eventHolder.click(onClick);executeHooks(hooks.bindEvents,[eventHolder])}function shutdown(){if(redrawTimeout)clearTimeout(redrawTimeout);eventHolder.unbind("mousemove",onMouseMove);eventHolder.unbind("mouseleave",onMouseLeave);eventHolder.unbind("click",onClick);executeHooks(hooks.shutdown,[eventHolder])}function setTransformationHelpers(axis){function identity(x){return x}var s,m,t=axis.options.transform||identity,it=axis.options.inverseTransform;if(axis.direction=="x"){s=axis.scale=plotWidth/Math.abs(t(axis.max)-t(axis.min));m=Math.min(t(axis.max),t(axis.min))}else{s=axis.scale=plotHeight/Math.abs(t(axis.max)-t(axis.min));s=-s;m=Math.max(t(axis.max),t(axis.min))}if(t==identity)axis.p2c=function(p){return(p-m)*s};else axis.p2c=function(p){return(t(p)-m)*s};if(!it)axis.c2p=function(c){return m+c/s};else axis.c2p=function(c){return it(m+c/s)}}function measureTickLabels(axis){var opts=axis.options,ticks=axis.ticks||[],labelWidth=opts.labelWidth||0,labelHeight=opts.labelHeight||0,maxWidth=labelWidth||(axis.direction=="x"?Math.floor(surface.width/(ticks.length||1)):null),legacyStyles=axis.direction+"Axis "+axis.direction+axis.n+"Axis",layer="flot-"+axis.direction+"-axis flot-"+axis.direction+axis.n+"-axis "+legacyStyles,font=opts.font||"flot-tick-label tickLabel";for(var i=0;i<ticks.length;++i){var t=ticks[i];if(!t.label)continue;var info=surface.getTextInfo(layer,t.label,font,null,maxWidth);labelWidth=Math.max(labelWidth,info.width);labelHeight=Math.max(labelHeight,info.height)}axis.labelWidth=opts.labelWidth||labelWidth;axis.labelHeight=opts.labelHeight||labelHeight}function allocateAxisBoxFirstPhase(axis){var lw=axis.labelWidth,lh=axis.labelHeight,pos=axis.options.position,isXAxis=axis.direction==="x",tickLength=axis.options.tickLength,axisMargin=options.grid.axisMargin,padding=options.grid.labelMargin,innermost=true,outermost=true,first=true,found=false;$.each(isXAxis?xaxes:yaxes,function(i,a){if(a&&(a.show||a.reserveSpace)){if(a===axis){found=true}else if(a.options.position===pos){if(found){outermost=false}else{innermost=false}}if(!found){first=false}}});if(outermost){axisMargin=0}if(tickLength==null){tickLength=first?"full":5}if(!isNaN(+tickLength))padding+=+tickLength;if(isXAxis){lh+=padding;if(pos=="bottom"){plotOffset.bottom+=lh+axisMargin;axis.box={top:surface.height-plotOffset.bottom,height:lh}}else{axis.box={top:plotOffset.top+axisMargin,height:lh};plotOffset.top+=lh+axisMargin}}else{lw+=padding;if(pos=="left"){axis.box={left:plotOffset.left+axisMargin,width:lw};plotOffset.left+=lw+axisMargin}else{plotOffset.right+=lw+axisMargin;axis.box={left:surface.width-plotOffset.right,width:lw}}}axis.position=pos;axis.tickLength=tickLength;axis.box.padding=padding;axis.innermost=innermost}function allocateAxisBoxSecondPhase(axis){if(axis.direction=="x"){axis.box.left=plotOffset.left-axis.labelWidth/2;axis.box.width=surface.width-plotOffset.left-plotOffset.right+axis.labelWidth}else{axis.box.top=plotOffset.top-axis.labelHeight/2;axis.box.height=surface.height-plotOffset.bottom-plotOffset.top+axis.labelHeight}}function adjustLayoutForThingsStickingOut(){var minMargin=options.grid.minBorderMargin,axis,i;if(minMargin==null){minMargin=0;for(i=0;i<series.length;++i)minMargin=Math.max(minMargin,2*(series[i].points.radius+series[i].points.lineWidth/2))}var margins={left:minMargin,right:minMargin,top:minMargin,bottom:minMargin};$.each(allAxes(),function(_,axis){if(axis.reserveSpace&&axis.ticks&&axis.ticks.length){if(axis.direction==="x"){margins.left=Math.max(margins.left,axis.labelWidth/2);margins.right=Math.max(margins.right,axis.labelWidth/2)}else{margins.bottom=Math.max(margins.bottom,axis.labelHeight/2);margins.top=Math.max(margins.top,axis.labelHeight/2)}}});plotOffset.left=Math.ceil(Math.max(margins.left,plotOffset.left));plotOffset.right=Math.ceil(Math.max(margins.right,plotOffset.right));plotOffset.top=Math.ceil(Math.max(margins.top,plotOffset.top));plotOffset.bottom=Math.ceil(Math.max(margins.bottom,plotOffset.bottom))}function setupGrid(){var i,axes=allAxes(),showGrid=options.grid.show;for(var a in plotOffset){var margin=options.grid.margin||0;plotOffset[a]=typeof margin=="number"?margin:margin[a]||0}executeHooks(hooks.processOffset,[plotOffset]);for(var a in plotOffset){if(typeof options.grid.borderWidth=="object"){plotOffset[a]+=showGrid?options.grid.borderWidth[a]:0}else{plotOffset[a]+=showGrid?options.grid.borderWidth:0}}$.each(axes,function(_,axis){var axisOpts=axis.options;axis.show=axisOpts.show==null?axis.used:axisOpts.show;axis.reserveSpace=axisOpts.reserveSpace==null?axis.show:axisOpts.reserveSpace;setRange(axis)});if(showGrid){var allocatedAxes=$.grep(axes,function(axis){return axis.show||axis.reserveSpace});$.each(allocatedAxes,function(_,axis){setupTickGeneration(axis);setTicks(axis);snapRangeToTicks(axis,axis.ticks);measureTickLabels(axis)});for(i=allocatedAxes.length-1;i>=0;--i)allocateAxisBoxFirstPhase(allocatedAxes[i]);adjustLayoutForThingsStickingOut();$.each(allocatedAxes,function(_,axis){allocateAxisBoxSecondPhase(axis)})}plotWidth=surface.width-plotOffset.left-plotOffset.right;plotHeight=surface.height-plotOffset.bottom-plotOffset.top;$.each(axes,function(_,axis){setTransformationHelpers(axis)});if(showGrid){drawAxisLabels()}insertLegend()}function setRange(axis){var opts=axis.options,min=+(opts.min!=null?opts.min:axis.datamin),max=+(opts.max!=null?opts.max:axis.datamax),delta=max-min;if(delta==0){var widen=max==0?1:.01;if(opts.min==null)min-=widen;if(opts.max==null||opts.min!=null)max+=widen}else{var margin=opts.autoscaleMargin;if(margin!=null){if(opts.min==null){min-=delta*margin;if(min<0&&axis.datamin!=null&&axis.datamin>=0)min=0}if(opts.max==null){max+=delta*margin;if(max>0&&axis.datamax!=null&&axis.datamax<=0)max=0}}}axis.min=min;axis.max=max}function setupTickGeneration(axis){var opts=axis.options;var noTicks;if(typeof opts.ticks=="number"&&opts.ticks>0)noTicks=opts.ticks;else noTicks=.3*Math.sqrt(axis.direction=="x"?surface.width:surface.height);var delta=(axis.max-axis.min)/noTicks,dec=-Math.floor(Math.log(delta)/Math.LN10),maxDec=opts.tickDecimals;if(maxDec!=null&&dec>maxDec){dec=maxDec}var magn=Math.pow(10,-dec),norm=delta/magn,size;if(norm<1.5){size=1}else if(norm<3){size=2;if(norm>2.25&&(maxDec==null||dec+1<=maxDec)){size=2.5;++dec}}else if(norm<7.5){size=5}else{size=10}size*=magn;if(opts.minTickSize!=null&&size<opts.minTickSize){size=opts.minTickSize}axis.delta=delta;axis.tickDecimals=Math.max(0,maxDec!=null?maxDec:dec);axis.tickSize=opts.tickSize||size;if(opts.mode=="time"&&!axis.tickGenerator){throw new Error("Time mode requires the flot.time plugin.")}if(!axis.tickGenerator){axis.tickGenerator=function(axis){var ticks=[],start=floorInBase(axis.min,axis.tickSize),i=0,v=Number.NaN,prev;do{prev=v;v=start+i*axis.tickSize;ticks.push(v);++i}while(v<axis.max&&v!=prev);return ticks};axis.tickFormatter=function(value,axis){var factor=axis.tickDecimals?Math.pow(10,axis.tickDecimals):1;var formatted=""+Math.round(value*factor)/factor;if(axis.tickDecimals!=null){var decimal=formatted.indexOf(".");var precision=decimal==-1?0:formatted.length-decimal-1;if(precision<axis.tickDecimals){return(precision?formatted:formatted+".")+(""+factor).substr(1,axis.tickDecimals-precision)}}return formatted}}if($.isFunction(opts.tickFormatter))axis.tickFormatter=function(v,axis){return""+opts.tickFormatter(v,axis)};if(opts.alignTicksWithAxis!=null){var otherAxis=(axis.direction=="x"?xaxes:yaxes)[opts.alignTicksWithAxis-1];if(otherAxis&&otherAxis.used&&otherAxis!=axis){var niceTicks=axis.tickGenerator(axis);if(niceTicks.length>0){if(opts.min==null)axis.min=Math.min(axis.min,niceTicks[0]);if(opts.max==null&&niceTicks.length>1)axis.max=Math.max(axis.max,niceTicks[niceTicks.length-1])}axis.tickGenerator=function(axis){var ticks=[],v,i;for(i=0;i<otherAxis.ticks.length;++i){v=(otherAxis.ticks[i].v-otherAxis.min)/(otherAxis.max-otherAxis.min);v=axis.min+v*(axis.max-axis.min);ticks.push(v)}return ticks};if(!axis.mode&&opts.tickDecimals==null){var extraDec=Math.max(0,-Math.floor(Math.log(axis.delta)/Math.LN10)+1),ts=axis.tickGenerator(axis);if(!(ts.length>1&&/\..*0$/.test((ts[1]-ts[0]).toFixed(extraDec))))axis.tickDecimals=extraDec}}}}function setTicks(axis){var oticks=axis.options.ticks,ticks=[];if(oticks==null||typeof oticks=="number"&&oticks>0)ticks=axis.tickGenerator(axis);else if(oticks){if($.isFunction(oticks))ticks=oticks(axis);else ticks=oticks}var i,v;axis.ticks=[];for(i=0;i<ticks.length;++i){var label=null;var t=ticks[i];if(typeof t=="object"){v=+t[0];if(t.length>1)label=t[1]}else v=+t;if(label==null)label=axis.tickFormatter(v,axis);if(!isNaN(v))axis.ticks.push({v:v,label:label})}}function snapRangeToTicks(axis,ticks){if(axis.options.autoscaleMargin&&ticks.length>0){if(axis.options.min==null)axis.min=Math.min(axis.min,ticks[0].v);if(axis.options.max==null&&ticks.length>1)axis.max=Math.max(axis.max,ticks[ticks.length-1].v)}}function draw(){surface.clear();executeHooks(hooks.drawBackground,[ctx]);var grid=options.grid;if(grid.show&&grid.backgroundColor)drawBackground();if(grid.show&&!grid.aboveData){drawGrid()}for(var i=0;i<series.length;++i){executeHooks(hooks.drawSeries,[ctx,series[i]]);drawSeries(series[i])}executeHooks(hooks.draw,[ctx]);if(grid.show&&grid.aboveData){drawGrid()}surface.render();triggerRedrawOverlay()}function extractRange(ranges,coord){var axis,from,to,key,axes=allAxes();for(var i=0;i<axes.length;++i){axis=axes[i];if(axis.direction==coord){key=coord+axis.n+"axis";if(!ranges[key]&&axis.n==1)key=coord+"axis";if(ranges[key]){from=ranges[key].from;to=ranges[key].to;break}}}if(!ranges[key]){axis=coord=="x"?xaxes[0]:yaxes[0];from=ranges[coord+"1"];to=ranges[coord+"2"]}if(from!=null&&to!=null&&from>to){var tmp=from;from=to;to=tmp}return{from:from,to:to,axis:axis}}function drawBackground(){ctx.save();ctx.translate(plotOffset.left,plotOffset.top);ctx.fillStyle=getColorOrGradient(options.grid.backgroundColor,plotHeight,0,"rgba(255, 255, 255, 0)");ctx.fillRect(0,0,plotWidth,plotHeight);ctx.restore()}function drawGrid(){var i,axes,bw,bc;ctx.save();ctx.translate(plotOffset.left,plotOffset.top);var markings=options.grid.markings;if(markings){if($.isFunction(markings)){axes=plot.getAxes();axes.xmin=axes.xaxis.min;axes.xmax=axes.xaxis.max;axes.ymin=axes.yaxis.min;axes.ymax=axes.yaxis.max;markings=markings(axes)}for(i=0;i<markings.length;++i){var m=markings[i],xrange=extractRange(m,"x"),yrange=extractRange(m,"y");if(xrange.from==null)xrange.from=xrange.axis.min;if(xrange.to==null)xrange.to=xrange.axis.max;
|
|
-if(yrange.from==null)yrange.from=yrange.axis.min;if(yrange.to==null)yrange.to=yrange.axis.max;if(xrange.to<xrange.axis.min||xrange.from>xrange.axis.max||yrange.to<yrange.axis.min||yrange.from>yrange.axis.max)continue;xrange.from=Math.max(xrange.from,xrange.axis.min);xrange.to=Math.min(xrange.to,xrange.axis.max);yrange.from=Math.max(yrange.from,yrange.axis.min);yrange.to=Math.min(yrange.to,yrange.axis.max);var xequal=xrange.from===xrange.to,yequal=yrange.from===yrange.to;if(xequal&&yequal){continue}xrange.from=Math.floor(xrange.axis.p2c(xrange.from));xrange.to=Math.floor(xrange.axis.p2c(xrange.to));yrange.from=Math.floor(yrange.axis.p2c(yrange.from));yrange.to=Math.floor(yrange.axis.p2c(yrange.to));if(xequal||yequal){var lineWidth=m.lineWidth||options.grid.markingsLineWidth,subPixel=lineWidth%2?.5:0;ctx.beginPath();ctx.strokeStyle=m.color||options.grid.markingsColor;ctx.lineWidth=lineWidth;if(xequal){ctx.moveTo(xrange.to+subPixel,yrange.from);ctx.lineTo(xrange.to+subPixel,yrange.to)}else{ctx.moveTo(xrange.from,yrange.to+subPixel);ctx.lineTo(xrange.to,yrange.to+subPixel)}ctx.stroke()}else{ctx.fillStyle=m.color||options.grid.markingsColor;ctx.fillRect(xrange.from,yrange.to,xrange.to-xrange.from,yrange.from-yrange.to)}}}axes=allAxes();bw=options.grid.borderWidth;for(var j=0;j<axes.length;++j){var axis=axes[j],box=axis.box,t=axis.tickLength,x,y,xoff,yoff;if(!axis.show||axis.ticks.length==0)continue;ctx.lineWidth=1;if(axis.direction=="x"){x=0;if(t=="full")y=axis.position=="top"?0:plotHeight;else y=box.top-plotOffset.top+(axis.position=="top"?box.height:0)}else{y=0;if(t=="full")x=axis.position=="left"?0:plotWidth;else x=box.left-plotOffset.left+(axis.position=="left"?box.width:0)}if(!axis.innermost){ctx.strokeStyle=axis.options.color;ctx.beginPath();xoff=yoff=0;if(axis.direction=="x")xoff=plotWidth+1;else yoff=plotHeight+1;if(ctx.lineWidth==1){if(axis.direction=="x"){y=Math.floor(y)+.5}else{x=Math.floor(x)+.5}}ctx.moveTo(x,y);ctx.lineTo(x+xoff,y+yoff);ctx.stroke()}ctx.strokeStyle=axis.options.tickColor;ctx.beginPath();for(i=0;i<axis.ticks.length;++i){var v=axis.ticks[i].v;xoff=yoff=0;if(isNaN(v)||v<axis.min||v>axis.max||t=="full"&&(typeof bw=="object"&&bw[axis.position]>0||bw>0)&&(v==axis.min||v==axis.max))continue;if(axis.direction=="x"){x=axis.p2c(v);yoff=t=="full"?-plotHeight:t;if(axis.position=="top")yoff=-yoff}else{y=axis.p2c(v);xoff=t=="full"?-plotWidth:t;if(axis.position=="left")xoff=-xoff}if(ctx.lineWidth==1){if(axis.direction=="x")x=Math.floor(x)+.5;else y=Math.floor(y)+.5}ctx.moveTo(x,y);ctx.lineTo(x+xoff,y+yoff)}ctx.stroke()}if(bw){bc=options.grid.borderColor;if(typeof bw=="object"||typeof bc=="object"){if(typeof bw!=="object"){bw={top:bw,right:bw,bottom:bw,left:bw}}if(typeof bc!=="object"){bc={top:bc,right:bc,bottom:bc,left:bc}}if(bw.top>0){ctx.strokeStyle=bc.top;ctx.lineWidth=bw.top;ctx.beginPath();ctx.moveTo(0-bw.left,0-bw.top/2);ctx.lineTo(plotWidth,0-bw.top/2);ctx.stroke()}if(bw.right>0){ctx.strokeStyle=bc.right;ctx.lineWidth=bw.right;ctx.beginPath();ctx.moveTo(plotWidth+bw.right/2,0-bw.top);ctx.lineTo(plotWidth+bw.right/2,plotHeight);ctx.stroke()}if(bw.bottom>0){ctx.strokeStyle=bc.bottom;ctx.lineWidth=bw.bottom;ctx.beginPath();ctx.moveTo(plotWidth+bw.right,plotHeight+bw.bottom/2);ctx.lineTo(0,plotHeight+bw.bottom/2);ctx.stroke()}if(bw.left>0){ctx.strokeStyle=bc.left;ctx.lineWidth=bw.left;ctx.beginPath();ctx.moveTo(0-bw.left/2,plotHeight+bw.bottom);ctx.lineTo(0-bw.left/2,0);ctx.stroke()}}else{ctx.lineWidth=bw;ctx.strokeStyle=options.grid.borderColor;ctx.strokeRect(-bw/2,-bw/2,plotWidth+bw,plotHeight+bw)}}ctx.restore()}function drawAxisLabels(){$.each(allAxes(),function(_,axis){var box=axis.box,legacyStyles=axis.direction+"Axis "+axis.direction+axis.n+"Axis",layer="flot-"+axis.direction+"-axis flot-"+axis.direction+axis.n+"-axis "+legacyStyles,font=axis.options.font||"flot-tick-label tickLabel",tick,x,y,halign,valign;surface.removeText(layer);if(!axis.show||axis.ticks.length==0)return;for(var i=0;i<axis.ticks.length;++i){tick=axis.ticks[i];if(!tick.label||tick.v<axis.min||tick.v>axis.max)continue;if(axis.direction=="x"){halign="center";x=plotOffset.left+axis.p2c(tick.v);if(axis.position=="bottom"){y=box.top+box.padding}else{y=box.top+box.height-box.padding;valign="bottom"}}else{valign="middle";y=plotOffset.top+axis.p2c(tick.v);if(axis.position=="left"){x=box.left+box.width-box.padding;halign="right"}else{x=box.left+box.padding}}surface.addText(layer,x,y,tick.label,font,null,null,halign,valign)}})}function drawSeries(series){if(series.lines.show)drawSeriesLines(series);if(series.bars.show)drawSeriesBars(series);if(series.points.show)drawSeriesPoints(series)}function drawSeriesLines(series){function plotLine(datapoints,xoffset,yoffset,axisx,axisy){var points=datapoints.points,ps=datapoints.pointsize,prevx=null,prevy=null;ctx.beginPath();for(var i=ps;i<points.length;i+=ps){var x1=points[i-ps],y1=points[i-ps+1],x2=points[i],y2=points[i+1];if(x1==null||x2==null)continue;if(y1<=y2&&y1<axisy.min){if(y2<axisy.min)continue;x1=(axisy.min-y1)/(y2-y1)*(x2-x1)+x1;y1=axisy.min}else if(y2<=y1&&y2<axisy.min){if(y1<axisy.min)continue;x2=(axisy.min-y1)/(y2-y1)*(x2-x1)+x1;y2=axisy.min}if(y1>=y2&&y1>axisy.max){if(y2>axisy.max)continue;x1=(axisy.max-y1)/(y2-y1)*(x2-x1)+x1;y1=axisy.max}else if(y2>=y1&&y2>axisy.max){if(y1>axisy.max)continue;x2=(axisy.max-y1)/(y2-y1)*(x2-x1)+x1;y2=axisy.max}if(x1<=x2&&x1<axisx.min){if(x2<axisx.min)continue;y1=(axisx.min-x1)/(x2-x1)*(y2-y1)+y1;x1=axisx.min}else if(x2<=x1&&x2<axisx.min){if(x1<axisx.min)continue;y2=(axisx.min-x1)/(x2-x1)*(y2-y1)+y1;x2=axisx.min}if(x1>=x2&&x1>axisx.max){if(x2>axisx.max)continue;y1=(axisx.max-x1)/(x2-x1)*(y2-y1)+y1;x1=axisx.max}else if(x2>=x1&&x2>axisx.max){if(x1>axisx.max)continue;y2=(axisx.max-x1)/(x2-x1)*(y2-y1)+y1;x2=axisx.max}if(x1!=prevx||y1!=prevy)ctx.moveTo(axisx.p2c(x1)+xoffset,axisy.p2c(y1)+yoffset);prevx=x2;prevy=y2;ctx.lineTo(axisx.p2c(x2)+xoffset,axisy.p2c(y2)+yoffset)}ctx.stroke()}function plotLineArea(datapoints,axisx,axisy){var points=datapoints.points,ps=datapoints.pointsize,bottom=Math.min(Math.max(0,axisy.min),axisy.max),i=0,top,areaOpen=false,ypos=1,segmentStart=0,segmentEnd=0;while(true){if(ps>0&&i>points.length+ps)break;i+=ps;var x1=points[i-ps],y1=points[i-ps+ypos],x2=points[i],y2=points[i+ypos];if(areaOpen){if(ps>0&&x1!=null&&x2==null){segmentEnd=i;ps=-ps;ypos=2;continue}if(ps<0&&i==segmentStart+ps){ctx.fill();areaOpen=false;ps=-ps;ypos=1;i=segmentStart=segmentEnd+ps;continue}}if(x1==null||x2==null)continue;if(x1<=x2&&x1<axisx.min){if(x2<axisx.min)continue;y1=(axisx.min-x1)/(x2-x1)*(y2-y1)+y1;x1=axisx.min}else if(x2<=x1&&x2<axisx.min){if(x1<axisx.min)continue;y2=(axisx.min-x1)/(x2-x1)*(y2-y1)+y1;x2=axisx.min}if(x1>=x2&&x1>axisx.max){if(x2>axisx.max)continue;y1=(axisx.max-x1)/(x2-x1)*(y2-y1)+y1;x1=axisx.max}else if(x2>=x1&&x2>axisx.max){if(x1>axisx.max)continue;y2=(axisx.max-x1)/(x2-x1)*(y2-y1)+y1;x2=axisx.max}if(!areaOpen){ctx.beginPath();ctx.moveTo(axisx.p2c(x1),axisy.p2c(bottom));areaOpen=true}if(y1>=axisy.max&&y2>=axisy.max){ctx.lineTo(axisx.p2c(x1),axisy.p2c(axisy.max));ctx.lineTo(axisx.p2c(x2),axisy.p2c(axisy.max));continue}else if(y1<=axisy.min&&y2<=axisy.min){ctx.lineTo(axisx.p2c(x1),axisy.p2c(axisy.min));ctx.lineTo(axisx.p2c(x2),axisy.p2c(axisy.min));continue}var x1old=x1,x2old=x2;if(y1<=y2&&y1<axisy.min&&y2>=axisy.min){x1=(axisy.min-y1)/(y2-y1)*(x2-x1)+x1;y1=axisy.min}else if(y2<=y1&&y2<axisy.min&&y1>=axisy.min){x2=(axisy.min-y1)/(y2-y1)*(x2-x1)+x1;y2=axisy.min}if(y1>=y2&&y1>axisy.max&&y2<=axisy.max){x1=(axisy.max-y1)/(y2-y1)*(x2-x1)+x1;y1=axisy.max}else if(y2>=y1&&y2>axisy.max&&y1<=axisy.max){x2=(axisy.max-y1)/(y2-y1)*(x2-x1)+x1;y2=axisy.max}if(x1!=x1old){ctx.lineTo(axisx.p2c(x1old),axisy.p2c(y1))}ctx.lineTo(axisx.p2c(x1),axisy.p2c(y1));ctx.lineTo(axisx.p2c(x2),axisy.p2c(y2));if(x2!=x2old){ctx.lineTo(axisx.p2c(x2),axisy.p2c(y2));ctx.lineTo(axisx.p2c(x2old),axisy.p2c(y2))}}}ctx.save();ctx.translate(plotOffset.left,plotOffset.top);ctx.lineJoin="round";var lw=series.lines.lineWidth,sw=series.shadowSize;if(lw>0&&sw>0){ctx.lineWidth=sw;ctx.strokeStyle="rgba(0,0,0,0.1)";var angle=Math.PI/18;plotLine(series.datapoints,Math.sin(angle)*(lw/2+sw/2),Math.cos(angle)*(lw/2+sw/2),series.xaxis,series.yaxis);ctx.lineWidth=sw/2;plotLine(series.datapoints,Math.sin(angle)*(lw/2+sw/4),Math.cos(angle)*(lw/2+sw/4),series.xaxis,series.yaxis)}ctx.lineWidth=lw;ctx.strokeStyle=series.color;var fillStyle=getFillStyle(series.lines,series.color,0,plotHeight);if(fillStyle){ctx.fillStyle=fillStyle;plotLineArea(series.datapoints,series.xaxis,series.yaxis)}if(lw>0)plotLine(series.datapoints,0,0,series.xaxis,series.yaxis);ctx.restore()}function drawSeriesPoints(series){function plotPoints(datapoints,radius,fillStyle,offset,shadow,axisx,axisy,symbol){var points=datapoints.points,ps=datapoints.pointsize;for(var i=0;i<points.length;i+=ps){var x=points[i],y=points[i+1];if(x==null||x<axisx.min||x>axisx.max||y<axisy.min||y>axisy.max)continue;ctx.beginPath();x=axisx.p2c(x);y=axisy.p2c(y)+offset;if(symbol=="circle")ctx.arc(x,y,radius,0,shadow?Math.PI:Math.PI*2,false);else symbol(ctx,x,y,radius,shadow);ctx.closePath();if(fillStyle){ctx.fillStyle=fillStyle;ctx.fill()}ctx.stroke()}}ctx.save();ctx.translate(plotOffset.left,plotOffset.top);var lw=series.points.lineWidth,sw=series.shadowSize,radius=series.points.radius,symbol=series.points.symbol;if(lw==0)lw=1e-4;if(lw>0&&sw>0){var w=sw/2;ctx.lineWidth=w;ctx.strokeStyle="rgba(0,0,0,0.1)";plotPoints(series.datapoints,radius,null,w+w/2,true,series.xaxis,series.yaxis,symbol);ctx.strokeStyle="rgba(0,0,0,0.2)";plotPoints(series.datapoints,radius,null,w/2,true,series.xaxis,series.yaxis,symbol)}ctx.lineWidth=lw;ctx.strokeStyle=series.color;plotPoints(series.datapoints,radius,getFillStyle(series.points,series.color),0,false,series.xaxis,series.yaxis,symbol);ctx.restore()}function drawBar(x,y,b,barLeft,barRight,fillStyleCallback,axisx,axisy,c,horizontal,lineWidth){var left,right,bottom,top,drawLeft,drawRight,drawTop,drawBottom,tmp;if(horizontal){drawBottom=drawRight=drawTop=true;drawLeft=false;left=b;right=x;top=y+barLeft;bottom=y+barRight;if(right<left){tmp=right;right=left;left=tmp;drawLeft=true;drawRight=false}}else{drawLeft=drawRight=drawTop=true;drawBottom=false;left=x+barLeft;right=x+barRight;bottom=b;top=y;if(top<bottom){tmp=top;top=bottom;bottom=tmp;drawBottom=true;drawTop=false}}if(right<axisx.min||left>axisx.max||top<axisy.min||bottom>axisy.max)return;if(left<axisx.min){left=axisx.min;drawLeft=false}if(right>axisx.max){right=axisx.max;drawRight=false}if(bottom<axisy.min){bottom=axisy.min;drawBottom=false}if(top>axisy.max){top=axisy.max;drawTop=false}left=axisx.p2c(left);bottom=axisy.p2c(bottom);right=axisx.p2c(right);top=axisy.p2c(top);if(fillStyleCallback){c.fillStyle=fillStyleCallback(bottom,top);c.fillRect(left,top,right-left,bottom-top)}if(lineWidth>0&&(drawLeft||drawRight||drawTop||drawBottom)){c.beginPath();c.moveTo(left,bottom);if(drawLeft)c.lineTo(left,top);else c.moveTo(left,top);if(drawTop)c.lineTo(right,top);else c.moveTo(right,top);if(drawRight)c.lineTo(right,bottom);else c.moveTo(right,bottom);if(drawBottom)c.lineTo(left,bottom);else c.moveTo(left,bottom);c.stroke()}}function drawSeriesBars(series){function plotBars(datapoints,barLeft,barRight,fillStyleCallback,axisx,axisy){var points=datapoints.points,ps=datapoints.pointsize;for(var i=0;i<points.length;i+=ps){if(points[i]==null)continue;drawBar(points[i],points[i+1],points[i+2],barLeft,barRight,fillStyleCallback,axisx,axisy,ctx,series.bars.horizontal,series.bars.lineWidth)}}ctx.save();ctx.translate(plotOffset.left,plotOffset.top);ctx.lineWidth=series.bars.lineWidth;ctx.strokeStyle=series.color;var barLeft;switch(series.bars.align){case"left":barLeft=0;break;case"right":barLeft=-series.bars.barWidth;break;default:barLeft=-series.bars.barWidth/2}var fillStyleCallback=series.bars.fill?function(bottom,top){return getFillStyle(series.bars,series.color,bottom,top)}:null;plotBars(series.datapoints,barLeft,barLeft+series.bars.barWidth,fillStyleCallback,series.xaxis,series.yaxis);ctx.restore()}function getFillStyle(filloptions,seriesColor,bottom,top){var fill=filloptions.fill;if(!fill)return null;if(filloptions.fillColor)return getColorOrGradient(filloptions.fillColor,bottom,top,seriesColor);var c=$.color.parse(seriesColor);c.a=typeof fill=="number"?fill:.4;c.normalize();return c.toString()}function insertLegend(){if(options.legend.container!=null){$(options.legend.container).html("")}else{placeholder.find(".legend").remove()}if(!options.legend.show){return}var fragments=[],entries=[],rowStarted=false,lf=options.legend.labelFormatter,s,label;for(var i=0;i<series.length;++i){s=series[i];if(s.label){label=lf?lf(s.label,s):s.label;if(label){entries.push({label:label,color:s.color})}}}if(options.legend.sorted){if($.isFunction(options.legend.sorted)){entries.sort(options.legend.sorted)}else if(options.legend.sorted=="reverse"){entries.reverse()}else{var ascending=options.legend.sorted!="descending";entries.sort(function(a,b){return a.label==b.label?0:a.label<b.label!=ascending?1:-1})}}for(var i=0;i<entries.length;++i){var entry=entries[i];if(i%options.legend.noColumns==0){if(rowStarted)fragments.push("</tr>");fragments.push("<tr>");rowStarted=true}fragments.push('<td class="legendColorBox"><div style="border:1px solid '+options.legend.labelBoxBorderColor+';padding:1px"><div style="width:4px;height:0;border:5px solid '+entry.color+';overflow:hidden"></div></div></td>'+'<td class="legendLabel">'+entry.label+"</td>")}if(rowStarted)fragments.push("</tr>");if(fragments.length==0)return;var table='<table style="font-size:smaller;color:'+options.grid.color+'">'+fragments.join("")+"</table>";if(options.legend.container!=null)$(options.legend.container).html(table);else{var pos="",p=options.legend.position,m=options.legend.margin;if(m[0]==null)m=[m,m];if(p.charAt(0)=="n")pos+="top:"+(m[1]+plotOffset.top)+"px;";else if(p.charAt(0)=="s")pos+="bottom:"+(m[1]+plotOffset.bottom)+"px;";if(p.charAt(1)=="e")pos+="right:"+(m[0]+plotOffset.right)+"px;";else if(p.charAt(1)=="w")pos+="left:"+(m[0]+plotOffset.left)+"px;";var legend=$('<div class="legend">'+table.replace('style="','style="position:absolute;'+pos+";")+"</div>").appendTo(placeholder);if(options.legend.backgroundOpacity!=0){var c=options.legend.backgroundColor;if(c==null){c=options.grid.backgroundColor;if(c&&typeof c=="string")c=$.color.parse(c);else c=$.color.extract(legend,"background-color");c.a=1;c=c.toString()}var div=legend.children();$('<div style="position:absolute;width:'+div.width()+"px;height:"+div.height()+"px;"+pos+"background-color:"+c+';"> </div>').prependTo(legend).css("opacity",options.legend.backgroundOpacity)}}}var highlights=[],redrawTimeout=null;function findNearbyItem(mouseX,mouseY,seriesFilter){var maxDistance=options.grid.mouseActiveRadius,smallestDistance=maxDistance*maxDistance+1,item=null,foundPoint=false,i,j,ps;for(i=series.length-1;i>=0;--i){if(!seriesFilter(series[i]))continue;var s=series[i],axisx=s.xaxis,axisy=s.yaxis,points=s.datapoints.points,mx=axisx.c2p(mouseX),my=axisy.c2p(mouseY),maxx=maxDistance/axisx.scale,maxy=maxDistance/axisy.scale;ps=s.datapoints.pointsize;if(axisx.options.inverseTransform)maxx=Number.MAX_VALUE;if(axisy.options.inverseTransform)maxy=Number.MAX_VALUE;if(s.lines.show||s.points.show){for(j=0;j<points.length;j+=ps){var x=points[j],y=points[j+1];if(x==null)continue;if(x-mx>maxx||x-mx<-maxx||y-my>maxy||y-my<-maxy)continue;var dx=Math.abs(axisx.p2c(x)-mouseX),dy=Math.abs(axisy.p2c(y)-mouseY),dist=dx*dx+dy*dy;if(dist<smallestDistance){smallestDistance=dist;item=[i,j/ps]}}}if(s.bars.show&&!item){var barLeft,barRight;switch(s.bars.align){case"left":barLeft=0;break;case"right":barLeft=-s.bars.barWidth;break;default:barLeft=-s.bars.barWidth/2}barRight=barLeft+s.bars.barWidth;for(j=0;j<points.length;j+=ps){var x=points[j],y=points[j+1],b=points[j+2];if(x==null)continue;if(series[i].bars.horizontal?mx<=Math.max(b,x)&&mx>=Math.min(b,x)&&my>=y+barLeft&&my<=y+barRight:mx>=x+barLeft&&mx<=x+barRight&&my>=Math.min(b,y)&&my<=Math.max(b,y))item=[i,j/ps]}}}if(item){i=item[0];j=item[1];ps=series[i].datapoints.pointsize;return{datapoint:series[i].datapoints.points.slice(j*ps,(j+1)*ps),dataIndex:j,series:series[i],seriesIndex:i}}return null}function onMouseMove(e){if(options.grid.hoverable)triggerClickHoverEvent("plothover",e,function(s){return s["hoverable"]!=false})}function onMouseLeave(e){if(options.grid.hoverable)triggerClickHoverEvent("plothover",e,function(s){return false})}function onClick(e){triggerClickHoverEvent("plotclick",e,function(s){return s["clickable"]!=false})}function triggerClickHoverEvent(eventname,event,seriesFilter){var offset=eventHolder.offset(),canvasX=event.pageX-offset.left-plotOffset.left,canvasY=event.pageY-offset.top-plotOffset.top,pos=canvasToAxisCoords({left:canvasX,top:canvasY});pos.pageX=event.pageX;pos.pageY=event.pageY;var item=findNearbyItem(canvasX,canvasY,seriesFilter);if(item){item.pageX=parseInt(item.series.xaxis.p2c(item.datapoint[0])+offset.left+plotOffset.left,10);item.pageY=parseInt(item.series.yaxis.p2c(item.datapoint[1])+offset.top+plotOffset.top,10)}if(options.grid.autoHighlight){for(var i=0;i<highlights.length;++i){var h=highlights[i];if(h.auto==eventname&&!(item&&h.series==item.series&&h.point[0]==item.datapoint[0]&&h.point[1]==item.datapoint[1]))unhighlight(h.series,h.point)}if(item)highlight(item.series,item.datapoint,eventname)}placeholder.trigger(eventname,[pos,item])}function triggerRedrawOverlay(){var t=options.interaction.redrawOverlayInterval;if(t==-1){drawOverlay();return}if(!redrawTimeout)redrawTimeout=setTimeout(drawOverlay,t)}function drawOverlay(){redrawTimeout=null;octx.save();overlay.clear();octx.translate(plotOffset.left,plotOffset.top);var i,hi;for(i=0;i<highlights.length;++i){hi=highlights[i];if(hi.series.bars.show)drawBarHighlight(hi.series,hi.point);else drawPointHighlight(hi.series,hi.point)}octx.restore();executeHooks(hooks.drawOverlay,[octx])}function highlight(s,point,auto){if(typeof s=="number")s=series[s];if(typeof point=="number"){var ps=s.datapoints.pointsize;point=s.datapoints.points.slice(ps*point,ps*(point+1))}var i=indexOfHighlight(s,point);if(i==-1){highlights.push({series:s,point:point,auto:auto});triggerRedrawOverlay()}else if(!auto)highlights[i].auto=false}function unhighlight(s,point){if(s==null&&point==null){highlights=[];triggerRedrawOverlay();return}if(typeof s=="number")s=series[s];if(typeof point=="number"){var ps=s.datapoints.pointsize;point=s.datapoints.points.slice(ps*point,ps*(point+1))}var i=indexOfHighlight(s,point);if(i!=-1){highlights.splice(i,1);triggerRedrawOverlay()}}function indexOfHighlight(s,p){for(var i=0;i<highlights.length;++i){var h=highlights[i];if(h.series==s&&h.point[0]==p[0]&&h.point[1]==p[1])return i}return-1}function drawPointHighlight(series,point){var x=point[0],y=point[1],axisx=series.xaxis,axisy=series.yaxis,highlightColor=typeof series.highlightColor==="string"?series.highlightColor:$.color.parse(series.color).scale("a",.5).toString();if(x<axisx.min||x>axisx.max||y<axisy.min||y>axisy.max)return;var pointRadius=series.points.radius+series.points.lineWidth/2;octx.lineWidth=pointRadius;octx.strokeStyle=highlightColor;var radius=1.5*pointRadius;x=axisx.p2c(x);y=axisy.p2c(y);octx.beginPath();if(series.points.symbol=="circle")octx.arc(x,y,radius,0,2*Math.PI,false);else series.points.symbol(octx,x,y,radius,false);octx.closePath();octx.stroke()}function drawBarHighlight(series,point){var highlightColor=typeof series.highlightColor==="string"?series.highlightColor:$.color.parse(series.color).scale("a",.5).toString(),fillStyle=highlightColor,barLeft;switch(series.bars.align){case"left":barLeft=0;break;case"right":barLeft=-series.bars.barWidth;break;default:barLeft=-series.bars.barWidth/2}octx.lineWidth=series.bars.lineWidth;octx.strokeStyle=highlightColor;drawBar(point[0],point[1],point[2]||0,barLeft,barLeft+series.bars.barWidth,function(){return fillStyle},series.xaxis,series.yaxis,octx,series.bars.horizontal,series.bars.lineWidth)}function getColorOrGradient(spec,bottom,top,defaultColor){if(typeof spec=="string")return spec;else{var gradient=ctx.createLinearGradient(0,top,0,bottom);for(var i=0,l=spec.colors.length;i<l;++i){var c=spec.colors[i];if(typeof c!="string"){var co=$.color.parse(defaultColor);if(c.brightness!=null)co=co.scale("rgb",c.brightness);if(c.opacity!=null)co.a*=c.opacity;c=co.toString()}gradient.addColorStop(i/(l-1),c)}return gradient}}}$.plot=function(placeholder,data,options){var plot=new Plot($(placeholder),data,options,$.plot.plugins);return plot};$.plot.version="0.8.3";$.plot.plugins=[];$.fn.plot=function(data,options){return this.each(function(){$.plot(this,data,options)})};function floorInBase(n,base){return base*Math.floor(n/base)}})(jQuery);
|
|
- </script>
|
|
- <script language="javascript" type="text/javascript">
|
|
- (function ($) {
|
|
- $.zip = function(a,b) {
|
|
- var x = Math.min(a.length,b.length);
|
|
- var c = new Array(x);
|
|
- for (var i = 0; i < x; i++)
|
|
- c[i] = [a[i],b[i]];
|
|
- return c;
|
|
- };
|
|
-
|
|
- $.mean = function(ary) {
|
|
- var m = 0, i = 0;
|
|
-
|
|
- while (i < ary.length) {
|
|
- var j = i++;
|
|
- m += (ary[j] - m) / i;
|
|
- }
|
|
-
|
|
- return m;
|
|
- };
|
|
-
|
|
- $.timeUnits = function(secs) {
|
|
- if (secs < 0) return $.timeUnits(-secs);
|
|
- else if (secs >= 1e9) return [1e-9, "Gs"];
|
|
- else if (secs >= 1e6) return [1e-6, "Ms"];
|
|
- else if (secs >= 1) return [1, "s"];
|
|
- else if (secs >= 1e-3) return [1e3, "ms"];
|
|
- else if (secs >= 1e-6) return [1e6, "\u03bcs"];
|
|
- else if (secs >= 1e-9) return [1e9, "ns"];
|
|
- else if (secs >= 1e-12) return [1e12, "ps"];
|
|
- return [1, "s"];
|
|
- };
|
|
-
|
|
- $.scaleTimes = function(ary) {
|
|
- var s = $.timeUnits($.mean(ary));
|
|
- return [$.scaleBy(s[0], ary), s[0]];
|
|
- };
|
|
-
|
|
- $.prepareTime = function(secs) {
|
|
- var units = $.timeUnits(secs);
|
|
- var scaled = secs * units[0];
|
|
- var s = scaled.toPrecision(3);
|
|
- var t = scaled.toString();
|
|
- return [t.length < s.length ? t : s, units[1]];
|
|
- };
|
|
-
|
|
- $.scaleBy = function(x, ary) {
|
|
- var nary = new Array(ary.length);
|
|
- for (var i = 0; i < ary.length; i++)
|
|
- nary[i] = ary[i] * x;
|
|
- return nary;
|
|
- };
|
|
-
|
|
- $.renderTime = function(secs) {
|
|
- var x = $.prepareTime(secs);
|
|
- return x[0] + ' ' + x[1];
|
|
- };
|
|
-
|
|
- $.unitFormatter = function(scale) {
|
|
- var labelname;
|
|
- return function(secs,axis) {
|
|
- var x = $.prepareTime(secs / scale);
|
|
- if (labelname === x[1])
|
|
- return x[0];
|
|
- else {
|
|
- labelname = x[1];
|
|
- return x[0] + ' ' + x[1];
|
|
- }
|
|
- };
|
|
- };
|
|
-
|
|
- $.addTooltip = function(name, renderText) {
|
|
- function showTooltip(x, y, contents) {
|
|
- $('<div id="tooltip">' + contents + '</div>').css( {
|
|
- position: 'absolute',
|
|
- display: 'none',
|
|
- top: y + 5,
|
|
- left: x + 5,
|
|
- border: '1px solid #fdd',
|
|
- padding: '2px',
|
|
- 'background-color': '#fee',
|
|
- opacity: 0.80
|
|
- }).appendTo("body").fadeIn(200);
|
|
- };
|
|
- var pp = null;
|
|
- $(name).bind("plothover", function (event, pos, item) {
|
|
- $("#x").text(pos.x.toFixed(2));
|
|
- $("#y").text(pos.y.toFixed(2));
|
|
-
|
|
- if (item) {
|
|
- if (pp != item.dataIndex) {
|
|
- pp = item.dataIndex;
|
|
-
|
|
- $("#tooltip").remove();
|
|
- var x = item.datapoint[0],
|
|
- y = item.datapoint[1];
|
|
-
|
|
- showTooltip(item.pageX, item.pageY, renderText(x,y));
|
|
- }
|
|
- }
|
|
- else {
|
|
- $("#tooltip").remove();
|
|
- pp = null;
|
|
- }
|
|
- });
|
|
- };
|
|
-})(jQuery);
|
|
-
|
|
- </script>
|
|
- <style type="text/css">
|
|
-html, body {
|
|
- height: 100%;
|
|
- margin: 0;
|
|
-}
|
|
-
|
|
-#wrap {
|
|
- min-height: 100%;
|
|
-}
|
|
-
|
|
-#main {
|
|
- overflow: auto;
|
|
- padding-bottom: 180px; /* must be same height as the footer */
|
|
-}
|
|
-
|
|
-#footer {
|
|
- position: relative;
|
|
- margin-top: -180px; /* negative value of footer height */
|
|
- height: 180px;
|
|
- clear: both;
|
|
- background: #888;
|
|
- margin: 40px 0 0;
|
|
- color: white;
|
|
- font-size: larger;
|
|
- font-weight: 300;
|
|
-}
|
|
-
|
|
-body:before {
|
|
- /* Opera fix */
|
|
- content: "";
|
|
- height: 100%;
|
|
- float: left;
|
|
- width: 0;
|
|
- margin-top: -32767px;
|
|
-}
|
|
-
|
|
-body {
|
|
- font: 14px Helvetica Neue;
|
|
- text-rendering: optimizeLegibility;
|
|
- margin-top: 1em;
|
|
-}
|
|
-
|
|
-a:link {
|
|
- color: steelblue;
|
|
- text-decoration: none;
|
|
-}
|
|
-
|
|
-a:visited {
|
|
- color: #4a743b;
|
|
- text-decoration: none;
|
|
-}
|
|
-
|
|
-#footer a {
|
|
- color: white;
|
|
- text-decoration: underline;
|
|
-}
|
|
-
|
|
-.hover {
|
|
- color: steelblue;
|
|
- text-decoration: none;
|
|
-}
|
|
-
|
|
-.body {
|
|
- width: 960px;
|
|
- margin: auto;
|
|
-}
|
|
-
|
|
-.footfirst {
|
|
- position: relative;
|
|
- top: 30px;
|
|
-}
|
|
-
|
|
-th {
|
|
- font-weight: 500;
|
|
- opacity: 0.8;
|
|
-}
|
|
-
|
|
-th.cibound {
|
|
- opacity: 0.4;
|
|
-}
|
|
-
|
|
-.confinterval {
|
|
- opacity: 0.5;
|
|
-}
|
|
-
|
|
-h1 {
|
|
- font-size: 36px;
|
|
- font-weight: 300;
|
|
- margin-bottom: .3em;
|
|
-}
|
|
-
|
|
-h2 {
|
|
- font-size: 30px;
|
|
- font-weight: 300;
|
|
- margin-bottom: .3em;
|
|
-}
|
|
-
|
|
-.meanlegend {
|
|
- color: #404040;
|
|
- background-color: #ffffff;
|
|
- opacity: 0.6;
|
|
- font-size: smaller;
|
|
-}
|
|
-
|
|
- </style>
|
|
- <!--[if !IE 7]>
|
|
- <style type="text/css">
|
|
- #wrap {display:table;height:100%}
|
|
- </style>
|
|
- <![endif]-->
|
|
- </head>
|
|
- <body>
|
|
- <div id="wrap">
|
|
- <div id="main" class="body">
|
|
- <h1>criterion performance measurements</h1>
|
|
-
|
|
-<h2>overview</h2>
|
|
-
|
|
-<p><a href="#grokularation">want to understand this report?</a></p>
|
|
-
|
|
-<div id="overview" class="ovchart" style="width:900px;height:100px;"></div>
|
|
-
|
|
-<h2><a name="b0">fib/1</a></h2>
|
|
- <table width="100%">
|
|
- <tbody>
|
|
- <tr>
|
|
- <td><div id="kde0" class="kdechart"
|
|
- style="width:450px;height:278px;"></div></td>
|
|
- <td><div id="time0" class="timechart"
|
|
- style="width:450px;height:278px;"></div></td>
|
|
-<!--
|
|
- <td><div id="cycle0" class="cyclechart"
|
|
- style="width:300px;height:278px;"></div></td>
|
|
--->
|
|
- </tr>
|
|
- </tbody>
|
|
- </table>
|
|
-
|
|
- <table>
|
|
- <thead class="analysis">
|
|
- <th></th>
|
|
- <th class="cibound"
|
|
- title="0.95 confidence level">lower bound</th>
|
|
- <th>estimate</th>
|
|
- <th class="cibound"
|
|
- title="0.95 confidence level">upper bound</th>
|
|
- </thead>
|
|
- <tbody>
|
|
- <tr>
|
|
- <td>OLS regression</td>
|
|
- <td><span class="confinterval olstimelb0">xxx</span></td>
|
|
- <td><span class="olstimept0">xxx</span></td>
|
|
- <td><span class="confinterval olstimeub0">xxx</span></td>
|
|
- </tr>
|
|
- <tr>
|
|
- <td>R² goodness-of-fit</td>
|
|
- <td><span class="confinterval olsr2lb0">xxx</span></td>
|
|
- <td><span class="olsr2pt0">xxx</span></td>
|
|
- <td><span class="confinterval olsr2ub0">xxx</span></td>
|
|
- </tr>
|
|
- <tr>
|
|
- <td>Mean execution time</td>
|
|
- <td><span class="confinterval citime">2.31459993168433e-8</span></td>
|
|
- <td><span class="time">2.374225969306158e-8</span></td>
|
|
- <td><span class="confinterval citime">2.4336041431094957e-8</span></td>
|
|
- </tr>
|
|
- <tr>
|
|
- <td>Standard deviation</td>
|
|
- <td><span class="confinterval citime">1.7147402747620926e-9</span></td>
|
|
- <td><span class="time">1.984234308811127e-9</span></td>
|
|
- <td><span class="confinterval citime">2.3435359738948246e-9</span></td>
|
|
- </tr>
|
|
- </tbody>
|
|
- </table>
|
|
-
|
|
- <span class="outliers">
|
|
- <p>Outlying measurements have severe
|
|
- (<span class="percent">0.8827515417826841</span>%)
|
|
- effect on estimated standard deviation.</p>
|
|
- </span>
|
|
-<h2><a name="b1">fib/5</a></h2>
|
|
- <table width="100%">
|
|
- <tbody>
|
|
- <tr>
|
|
- <td><div id="kde1" class="kdechart"
|
|
- style="width:450px;height:278px;"></div></td>
|
|
- <td><div id="time1" class="timechart"
|
|
- style="width:450px;height:278px;"></div></td>
|
|
-<!--
|
|
- <td><div id="cycle1" class="cyclechart"
|
|
- style="width:300px;height:278px;"></div></td>
|
|
--->
|
|
- </tr>
|
|
- </tbody>
|
|
- </table>
|
|
-
|
|
- <table>
|
|
- <thead class="analysis">
|
|
- <th></th>
|
|
- <th class="cibound"
|
|
- title="0.95 confidence level">lower bound</th>
|
|
- <th>estimate</th>
|
|
- <th class="cibound"
|
|
- title="0.95 confidence level">upper bound</th>
|
|
- </thead>
|
|
- <tbody>
|
|
- <tr>
|
|
- <td>OLS regression</td>
|
|
- <td><span class="confinterval olstimelb1">xxx</span></td>
|
|
- <td><span class="olstimept1">xxx</span></td>
|
|
- <td><span class="confinterval olstimeub1">xxx</span></td>
|
|
- </tr>
|
|
- <tr>
|
|
- <td>R² goodness-of-fit</td>
|
|
- <td><span class="confinterval olsr2lb1">xxx</span></td>
|
|
- <td><span class="olsr2pt1">xxx</span></td>
|
|
- <td><span class="confinterval olsr2ub1">xxx</span></td>
|
|
- </tr>
|
|
- <tr>
|
|
- <td>Mean execution time</td>
|
|
- <td><span class="confinterval citime">3.640686812141915e-7</span></td>
|
|
- <td><span class="time">3.7647973827317373e-7</span></td>
|
|
- <td><span class="confinterval citime">3.8862828356384757e-7</span></td>
|
|
- </tr>
|
|
- <tr>
|
|
- <td>Standard deviation</td>
|
|
- <td><span class="confinterval citime">3.5904833037515274e-8</span></td>
|
|
- <td><span class="time">4.150785932735141e-8</span></td>
|
|
- <td><span class="confinterval citime">4.81505001531474e-8</span></td>
|
|
- </tr>
|
|
- </tbody>
|
|
- </table>
|
|
-
|
|
- <span class="outliers">
|
|
- <p>Outlying measurements have severe
|
|
- (<span class="percent">0.917699613099007</span>%)
|
|
- effect on estimated standard deviation.</p>
|
|
- </span>
|
|
-<h2><a name="b2">fib/9</a></h2>
|
|
- <table width="100%">
|
|
- <tbody>
|
|
- <tr>
|
|
- <td><div id="kde2" class="kdechart"
|
|
- style="width:450px;height:278px;"></div></td>
|
|
- <td><div id="time2" class="timechart"
|
|
- style="width:450px;height:278px;"></div></td>
|
|
-<!--
|
|
- <td><div id="cycle2" class="cyclechart"
|
|
- style="width:300px;height:278px;"></div></td>
|
|
--->
|
|
- </tr>
|
|
- </tbody>
|
|
- </table>
|
|
-
|
|
- <table>
|
|
- <thead class="analysis">
|
|
- <th></th>
|
|
- <th class="cibound"
|
|
- title="0.95 confidence level">lower bound</th>
|
|
- <th>estimate</th>
|
|
- <th class="cibound"
|
|
- title="0.95 confidence level">upper bound</th>
|
|
- </thead>
|
|
- <tbody>
|
|
- <tr>
|
|
- <td>OLS regression</td>
|
|
- <td><span class="confinterval olstimelb2">xxx</span></td>
|
|
- <td><span class="olstimept2">xxx</span></td>
|
|
- <td><span class="confinterval olstimeub2">xxx</span></td>
|
|
- </tr>
|
|
- <tr>
|
|
- <td>R² goodness-of-fit</td>
|
|
- <td><span class="confinterval olsr2lb2">xxx</span></td>
|
|
- <td><span class="olsr2pt2">xxx</span></td>
|
|
- <td><span class="confinterval olsr2ub2">xxx</span></td>
|
|
- </tr>
|
|
- <tr>
|
|
- <td>Mean execution time</td>
|
|
- <td><span class="confinterval citime">2.5489390737084626e-6</span></td>
|
|
- <td><span class="time">2.614524699113428e-6</span></td>
|
|
- <td><span class="confinterval citime">2.700766045605913e-6</span></td>
|
|
- </tr>
|
|
- <tr>
|
|
- <td>Standard deviation</td>
|
|
- <td><span class="confinterval citime">2.0893167057513842e-7</span></td>
|
|
- <td><span class="time">2.4922772413717383e-7</span></td>
|
|
- <td><span class="confinterval citime">3.0480780278156827e-7</span></td>
|
|
- </tr>
|
|
- </tbody>
|
|
- </table>
|
|
-
|
|
- <span class="outliers">
|
|
- <p>Outlying measurements have severe
|
|
- (<span class="percent">0.86814310186276</span>%)
|
|
- effect on estimated standard deviation.</p>
|
|
- </span>
|
|
-<h2><a name="b3">fib/11</a></h2>
|
|
- <table width="100%">
|
|
- <tbody>
|
|
- <tr>
|
|
- <td><div id="kde3" class="kdechart"
|
|
- style="width:450px;height:278px;"></div></td>
|
|
- <td><div id="time3" class="timechart"
|
|
- style="width:450px;height:278px;"></div></td>
|
|
-<!--
|
|
- <td><div id="cycle3" class="cyclechart"
|
|
- style="width:300px;height:278px;"></div></td>
|
|
--->
|
|
- </tr>
|
|
- </tbody>
|
|
- </table>
|
|
-
|
|
- <table>
|
|
- <thead class="analysis">
|
|
- <th></th>
|
|
- <th class="cibound"
|
|
- title="0.95 confidence level">lower bound</th>
|
|
- <th>estimate</th>
|
|
- <th class="cibound"
|
|
- title="0.95 confidence level">upper bound</th>
|
|
- </thead>
|
|
- <tbody>
|
|
- <tr>
|
|
- <td>OLS regression</td>
|
|
- <td><span class="confinterval olstimelb3">xxx</span></td>
|
|
- <td><span class="olstimept3">xxx</span></td>
|
|
- <td><span class="confinterval olstimeub3">xxx</span></td>
|
|
- </tr>
|
|
- <tr>
|
|
- <td>R² goodness-of-fit</td>
|
|
- <td><span class="confinterval olsr2lb3">xxx</span></td>
|
|
- <td><span class="olsr2pt3">xxx</span></td>
|
|
- <td><span class="confinterval olsr2ub3">xxx</span></td>
|
|
- </tr>
|
|
- <tr>
|
|
- <td>Mean execution time</td>
|
|
- <td><span class="confinterval citime">6.347714383730146e-6</span></td>
|
|
- <td><span class="time">6.496202868182492e-6</span></td>
|
|
- <td><span class="confinterval citime">6.668634037917654e-6</span></td>
|
|
- </tr>
|
|
- <tr>
|
|
- <td>Standard deviation</td>
|
|
- <td><span class="confinterval citime">4.0420784296930194e-7</span></td>
|
|
- <td><span class="time">4.919233380857326e-7</span></td>
|
|
- <td><span class="confinterval citime">6.202125623223447e-7</span></td>
|
|
- </tr>
|
|
- </tbody>
|
|
- </table>
|
|
-
|
|
- <span class="outliers">
|
|
- <p>Outlying measurements have severe
|
|
- (<span class="percent">0.7876656352417168</span>%)
|
|
- effect on estimated standard deviation.</p>
|
|
- </span>
|
|
-
|
|
- <h2><a name="grokularation">understanding this report</a></h2>
|
|
-
|
|
- <p>In this report, each function benchmarked by criterion is assigned
|
|
- a section of its own. The charts in each section are active; if
|
|
- you hover your mouse over data points and annotations, you will see
|
|
- more details.</p>
|
|
-
|
|
- <ul>
|
|
- <li>The chart on the left is a
|
|
- <a href="http://en.wikipedia.org/wiki/Kernel_density_estimation">kernel
|
|
- density estimate</a> (also known as a KDE) of time
|
|
- measurements. This graphs the probability of any given time
|
|
- measurement occurring. A spike indicates that a measurement of a
|
|
- particular time occurred; its height indicates how often that
|
|
- measurement was repeated.</li>
|
|
-
|
|
- <li>The chart on the right is the raw data from which the kernel
|
|
- density estimate is built. The <i>x</i> axis indicates the
|
|
- number of loop iterations, while the <i>y</i> axis shows measured
|
|
- execution time for the given number of loop iterations. The
|
|
- line behind the values is the linear regression prediction of
|
|
- execution time for a given number of iterations. Ideally, all
|
|
- measurements will be on (or very near) this line.</li>
|
|
- </ul>
|
|
-
|
|
- <p>Under the charts is a small table.
|
|
- The first two rows are the results of a linear regression run
|
|
- on the measurements displayed in the right-hand chart.</p>
|
|
-
|
|
- <ul>
|
|
- <li><i>OLS regression</i> indicates the
|
|
- time estimated for a single loop iteration using an ordinary
|
|
- least-squares regression model. This number is more accurate
|
|
- than the <i>mean</i> estimate below it, as it more effectively
|
|
- eliminates measurement overhead and other constant factors.</li>
|
|
- <li><i>R² goodness-of-fit</i> is a measure of how
|
|
- accurately the linear regression model fits the observed
|
|
- measurements. If the measurements are not too noisy, R²
|
|
- should lie between 0.99 and 1, indicating an excellent fit. If
|
|
- the number is below 0.99, something is confounding the accuracy
|
|
- of the linear model.</li>
|
|
- <li><i>Mean execution time</i> and <i>standard deviation</i> are
|
|
- statistics calculated from execution time
|
|
- divided by number of iterations.</li>
|
|
- </ul>
|
|
-
|
|
- <p>We use a statistical technique called
|
|
- the <a href="http://en.wikipedia.org/wiki/Bootstrapping_(statistics)">bootstrap</a>
|
|
- to provide confidence intervals on our estimates. The
|
|
- bootstrap-derived upper and lower bounds on estimates let you see
|
|
- how accurate we believe those estimates to be. (Hover the mouse
|
|
- over the table headers to see the confidence levels.)</p>
|
|
-
|
|
- <p>A noisy benchmarking environment can cause some or many
|
|
- measurements to fall far from the mean. These outlying
|
|
- measurements can have a significant inflationary effect on the
|
|
- estimate of the standard deviation. We calculate and display an
|
|
- estimate of the extent to which the standard deviation has been
|
|
- inflated by outliers.</p>
|
|
-
|
|
-<script type="text/javascript">
|
|
-$(function () {
|
|
- function mangulate(rpt) {
|
|
- var measured = function(key) {
|
|
- var idx = rpt.reportKeys.indexOf(key);
|
|
- return rpt.reportMeasured.map(function(r) { return r[idx]; });
|
|
- };
|
|
- var number = rpt.reportNumber;
|
|
- var name = rpt.reportName;
|
|
- var mean = rpt.reportAnalysis.anMean.estPoint;
|
|
- var iters = measured("iters");
|
|
- var times = measured("time");
|
|
- var kdetimes = rpt.reportKDEs[0].kdeValues;
|
|
- var kdepdf = rpt.reportKDEs[0].kdePDF;
|
|
-
|
|
- var meanSecs = mean;
|
|
- var units = $.timeUnits(mean);
|
|
- var rgrs = rpt.reportAnalysis.anRegress[0];
|
|
- var scale = units[0];
|
|
- var olsTime = rgrs.regCoeffs.iters;
|
|
- $(".olstimept" + number).text(function() {
|
|
- return $.renderTime(olsTime.estPoint);
|
|
- });
|
|
- $(".olstimelb" + number).text(function() {
|
|
- return $.renderTime(olsTime.estLowerBound);
|
|
- });
|
|
- $(".olstimeub" + number).text(function() {
|
|
- return $.renderTime(olsTime.estUpperBound);
|
|
- });
|
|
- $(".olsr2pt" + number).text(function() {
|
|
- return rgrs.regRSquare.estPoint.toFixed(3);
|
|
- });
|
|
- $(".olsr2lb" + number).text(function() {
|
|
- return rgrs.regRSquare.estLowerBound.toFixed(3);
|
|
- });
|
|
- $(".olsr2ub" + number).text(function() {
|
|
- return rgrs.regRSquare.estUpperBound.toFixed(3);
|
|
- });
|
|
- mean *= scale;
|
|
- kdetimes = $.scaleBy(scale, kdetimes);
|
|
- var kq = $("#kde" + number);
|
|
- var k = $.plot(kq,
|
|
- [{ label: name + " time densities",
|
|
- data: $.zip(kdetimes, kdepdf),
|
|
- }],
|
|
- { xaxis: { tickFormatter: $.unitFormatter(scale) },
|
|
- yaxis: { ticks: false },
|
|
- grid: { borderColor: "#777",
|
|
- hoverable: true, markings: [ { color: '#6fd3fb',
|
|
- lineWidth: 1.5, xaxis: { from: mean, to: mean } } ] },
|
|
- });
|
|
- var o = k.pointOffset({ x: mean, y: 0});
|
|
- kq.append('<div class="meanlegend" title="' + $.renderTime(meanSecs) +
|
|
- '" style="position:absolute;left:' + (o.left + 4) +
|
|
- 'px;bottom:139px;">mean</div>');
|
|
- $.addTooltip("#kde" + number,
|
|
- function(secs) { return $.renderTime(secs / scale); });
|
|
- var timepairs = new Array(times.length);
|
|
- var lastiter = iters[iters.length-1];
|
|
- var olspairs = [[0,0], [lastiter, lastiter * scale * olsTime.estPoint]];
|
|
- for (var i = 0; i < times.length; i++)
|
|
- timepairs[i] = [iters[i],times[i]*scale];
|
|
- iterFormatter = function() {
|
|
- var denom = 0;
|
|
- return function(iters) {
|
|
- if (iters == 0)
|
|
- return '';
|
|
- if (denom > 0)
|
|
- return (iters / denom).toFixed();
|
|
- var power;
|
|
- if (iters >= 1e9) {
|
|
- denom = '1e9'; power = '⁹';
|
|
- }
|
|
- if (iters >= 1e6) {
|
|
- denom = '1e6'; power = '⁶';
|
|
- }
|
|
- else if (iters >= 1e3) {
|
|
- denom = '1e3'; power = '³';
|
|
- }
|
|
- else denom = 1;
|
|
- if (denom > 1) {
|
|
- iters = (iters / denom).toFixed();
|
|
- iters += '×10' + power + ' iters';
|
|
- } else {
|
|
- iters += ' iters';
|
|
- }
|
|
- return iters;
|
|
- };
|
|
- };
|
|
- $.plot($("#time" + number),
|
|
- [{ label: "regression", data: olspairs,
|
|
- lines: { show: true } },
|
|
- { label: name + " times", data: timepairs,
|
|
- points: { show: true } }],
|
|
- { grid: { borderColor: "#777", hoverable: true },
|
|
- xaxis: { tickFormatter: iterFormatter() },
|
|
- yaxis: { tickFormatter: $.unitFormatter(scale) } });
|
|
- $.addTooltip("#time" + number,
|
|
- function(iters,secs) {
|
|
- return ($.renderTime(secs / scale) + ' / ' +
|
|
- iters.toLocaleString() + ' iters');
|
|
- });
|
|
- if (0) {
|
|
- var cyclepairs = new Array(cycles.length);
|
|
- for (var i = 0; i < cycles.length; i++)
|
|
- cyclepairs[i] = [cycles[i],i];
|
|
- $.plot($("#cycle" + number),
|
|
- [{ label: name + " cycles",
|
|
- data: cyclepairs }],
|
|
- { points: { show: true },
|
|
- grid: { borderColor: "#777", hoverable: true },
|
|
- xaxis: { tickFormatter:
|
|
- function(cycles,axis) { return cycles + ' cycles'; }},
|
|
- yaxis: { ticks: false },
|
|
- });
|
|
- $.addTooltip("#cycles" + number, function(x,y) { return x + ' cycles'; });
|
|
- }
|
|
- };
|
|
- var reports = [{"reportAnalysis":{"anMean":{"estUpperBound":2.4336041431094957e-8,"estLowerBound":2.31459993168433e-8,"estPoint":2.374225969306158e-8,"estConfidenceLevel":0.95},"anRegress":[{"regRSquare":{"estUpperBound":0.9968607334095598,"estLowerBound":0.9931281346179867,"estPoint":0.9952316835320134,"estConfidenceLevel":0.95},"regResponder":"time","regCoeffs":{"y":{"estUpperBound":-3.425955804843936e-4,"estLowerBound":-7.654756798125064e-4,"estPoint":-5.600471908843124e-4,"estConfidenceLevel":0.95},"iters":{"estUpperBound":2.5046637898223406e-8,"estLowerBound":2.3842309287675006e-8,"estPoint":2.452217275933509e-8,"estConfidenceLevel":0.95}}}],"anStdDev":{"estUpperBound":2.3435359738948246e-9,"estLowerBound":1.7147402747620926e-9,"estPoint":1.984234308811127e-9,"estConfidenceLevel":0.95},"anOutlierVar":{"ovFraction":0.8827515417826841,"ovDesc":"severe","ovEffect":"Severe"},"anOverhead":3.161534180001628e-6},"reportKDEs":[{"kdeValues":[1.989878208361153e-8,1.9968424229205795e-8,2.003806637480006e-8,2.0107708520394325e-8,2.0177350665988587e-8,2.024699281158285e-8,2.0316634957177116e-8,2.038627710277138e-8,2.0455919248365646e-8,2.052556139395991e-8,2.0595203539554173e-8,2.0664845685148438e-8,2.0734487830742702e-8,2.0804129976336967e-8,2.0873772121931232e-8,2.0943414267525497e-8,2.1013056413119762e-8,2.1082698558714023e-8,2.1152340704308288e-8,2.1221982849902553e-8,2.1291624995496818e-8,2.1361267141091083e-8,2.1430909286685348e-8,2.150055143227961e-8,2.1570193577873874e-8,2.163983572346814e-8,2.1709477869062404e-8,2.177912001465667e-8,2.1848762160250934e-8,2.1918404305845195e-8,2.198804645143946e-8,2.2057688597033725e-8,2.212733074262799e-8,2.2196972888222255e-8,2.226661503381652e-8,2.2336257179410785e-8,2.2405899325005046e-8,2.247554147059931e-8,2.2545183616193576e-8,2.261482576178784e-8,2.2684467907382106e-8,2.275411005297637e-8,2.2823752198570635e-8,2.2893394344164897e-8,2.2963036489759162e-8,2.3032678635353427e-8,2.310232078094769e-8,2.3171962926541956e-8,2.3241605072136218e-8,2.3311247217730483e-8,2.3380889363324748e-8,2.3450531508919013e-8,2.3520173654513278e-8,2.3589815800107542e-8,2.3659457945701807e-8,2.372910009129607e-8,2.3798742236890334e-8,2.38683843824846e-8,2.3938026528078863e-8,2.4007668673673128e-8,2.407731081926739e-8,2.4146952964861658e-8,2.421659511045592e-8,2.4286237256050185e-8,2.435587940164445e-8,2.4425521547238714e-8,2.449516369283298e-8,2.456480583842724e-8,2.463444798402151e-8,2.470409012961577e-8,2.4773732275210035e-8,2.48433744208043e-8,2.4913016566398565e-8,2.498265871199283e-8,2.505230085758709e-8,2.5121943003181356e-8,2.519158514877562e-8,2.5261227294369886e-8,2.533086943996415e-8,2.5400511585558416e-8,2.547015373115268e-8,2.5539795876746942e-8,2.5609438022341207e-8,2.5679080167935472e-8,2.5748722313529737e-8,2.5818364459124002e-8,2.5888006604718263e-8,2.595764875031253e-8,2.6027290895906793e-8,2.6096933041501058e-8,2.6166575187095323e-8,2.6236217332689588e-8,2.6305859478283853e-8,2.6375501623878114e-8,2.644514376947238e-8,2.6514785915066644e-8,2.658442806066091e-8,2.6654070206255174e-8,2.672371235184944e-8,2.6793354497443703e-8,2.6862996643037965e-8,2.693263878863223e-8,2.7002280934226495e-8,2.707192307982076e-8,2.7141565225415025e-8,2.7211207371009286e-8,2.7280849516603554e-8,2.7350491662197816e-8,2.742013380779208e-8,2.7489775953386346e-8,2.755941809898061e-8,2.7629060244574875e-8,2.7698702390169137e-8,2.7768344535763405e-8,2.7837986681357667e-8,2.790762882695193e-8,2.7977270972546196e-8,2.8046913118140458e-8,2.8116555263734726e-8,2.8186197409328988e-8,2.8255839554923253e-8,2.8325481700517517e-8,2.8395123846111782e-8,2.8464765991706047e-8,2.853440813730031e-8,2.8604050282894577e-8,2.867369242848884e-8,2.8743334574083103e-8],"kdeType":"time","kdePDF":[1.1395895337002747e8,1.1399586448390599e8,1.1406966699669889e8,1.141803208709782e8,1.143277645338929e8,1.1451191306306463e8,1.1473265577838261e8,1.1498985325011694e8,1.152833337379588e8,1.1561288908069459e8,1.1597827006230259e8,1.1637918128730445e8,1.1681527560615641e8,1.1728614814018439e8,1.1779132996487482e8,1.1833028151996909e8,1.1890238582449803e8,1.1950694158429071e8,1.201431562882586e8,1.2081013939751814e8,1.2150689573782589e8,1.2223231921050385e8,1.2298518693974209e8,1.2376415397459902e8,1.2456774866200176e8,1.2539436880242184e8,1.2624227869264197e8,1.2710960715014195e8,1.2799434660125354e8,1.2889435330055325e8,1.2980734873227204e8,1.3073092222615018e8,1.3166253480058819e8,1.3259952422560526e8,1.3353911127754031e8,1.3447840713714716e8,1.3541442186329383e8,1.3634407385640383e8,1.372642002095804e8,1.381715678314893e8,1.3906288521393478e8,1.3993481470897296e8,1.4078398517559382e8,1.4160700485461792e8,1.4240047433251885e8,1.4316099946035716e8,1.4388520410270315e8,1.4456974260309508e8,1.4521131186685443e8,1.458066629785387e8,1.463526122894414e8,1.468460519298112e8,1.4728395972024703e8,1.476634084764515e8,1.479815747205615e8,1.4823574683005878e8,1.4842333267122668e8,1.4854186677778667e8,1.4858901714627486e8,1.485625917275835e8,1.4846054469862348e8,1.482809825991286e8,1.4802217041616246e8,1.4768253769297192e8,1.4726068472961387e8,1.4675538893053663e8,1.4616561133936232e8,1.4549050338394704e8,1.4472941383586738e8,1.4388189596837926e8,1.4294771487617913e8,1.419268548996135e8,1.408195270759097e8,1.3962617652117708e8,1.383474896298825e8,1.3698440096379948e8,1.3553809969048512e8,1.3401003542258318e8,1.3240192330394386e8,1.3071574818694907e8,1.2895376774760398e8,1.2711851439096606e8,1.2521279580920233e8,1.2323969406786159e8,1.2120256311251064e8,1.1910502460740013e8,1.1695096203983772e8,1.1474451304800186e8,1.1249005995546557e8,1.1019221852217361e8,1.0785582494841896e8,1.0548592119492327e8,1.0308773870783295e8,1.0066668066176452e8,9.822830285641795e7,9.577829342227527e7,9.332245150807737e7,9.086666513679452e7,8.841688842738897e7,8.597911838663742e7,8.355937147851193e7,8.116366017811044e7,7.87979697129248e7,7.646823518650009e7,7.418031926847933e7,7.193999062095061e7,6.975290321426049e7,6.76245766664537e7,6.5560377719679065e7,6.356550294477145e7,6.164496274226723e7,5.9803566684867114e7,5.804591022332826e7,5.637636275545833e7,5.479905703675971e7,5.331787989178828e7,5.19364641678301e7,5.0658181857415326e7,4.9486138303759255e7,4.842316739367089e7,4.74718276359435e7,4.663439901982578e7,4.591288054786622e7,4.530898834016642e7,4.4824154212732054e7,4.44595246409754e7,4.421596003023277e7,4.409403422810118e7]}],"reportKeys":["time","cpuTime","cycles","iters","allocated","numGcs","bytesCopied","mutatorWallSeconds","mutatorCpuSeconds","gcWallSeconds","gcCpuSeconds"],"reportNumber":0,"reportName":"fib/1","reportOutliers":{"highSevere":0,"highMild":0,"lowMild":0,"samplesSeen":41,"lowSevere":0},"reportMeasured":[[7.638998795300722e-6,6.000000000000796e-6,4658,1,null,null,null,null,null,null,null],[2.0030129235237837e-6,2.0000000000002655e-6,3978,2,null,null,null,null,null,null,null],[1.601001713424921e-6,9.999999999992654e-7,3144,3,null,null,null,null,null,null,null],[1.5189871191978455e-6,9.999999999975306e-7,3118,4,null,null,null,null,null,null,null],[1.4929973985999823e-6,9.999999999992654e-7,3084,5,null,null,null,null,null,null,null],[1.447013346478343e-6,2.0000000000002655e-6,3018,6,null,null,null,null,null,null,null],[1.4870020095258951e-6,9.999999999992654e-7,3126,7,null,null,null,null,null,null,null],[1.5980040188878775e-6,1.9999999999985307e-6,3436,8,null,null,null,null,null,null,null],[1.5170080587267876e-6,9.999999999992654e-7,3234,9,null,null,null,null,null,null,null],[1.561013050377369e-6,1.000000000001e-6,3362,10,null,null,null,null,null,null,null],[1.6170088201761246e-6,2.0000000000002655e-6,3464,11,null,null,null,null,null,null,null],[1.6060075722634792e-6,9.999999999992654e-7,3308,12,null,null,null,null,null,null,null],[1.620996044948697e-6,2.999999999999531e-6,3336,13,null,null,null,null,null,null,null],[1.5929981600493193e-6,9.999999999992654e-7,3450,14,null,null,null,null,null,null,null],[1.6530102584511042e-6,2.0000000000002655e-6,3582,15,null,null,null,null,null,null,null],[1.66997779160738e-6,3.0000000000012655e-6,3634,16,null,null,null,null,null,null,null],[1.6599951777607203e-6,1.000000000001e-6,3480,17,null,null,null,null,null,null,null],[1.7060083337128162e-6,1.9999999999985307e-6,3622,18,null,null,null,null,null,null,null],[1.7429993022233248e-6,9.999999999992654e-7,3750,19,null,null,null,null,null,null,null],[1.7330166883766651e-6,2.0000000000002655e-6,3690,20,null,null,null,null,null,null,null],[1.7400016076862812e-6,1.000000000001e-6,3700,21,null,null,null,null,null,null,null],[1.7929996829479933e-6,1.9999999999985307e-6,3744,22,null,null,null,null,null,null,null],[1.8269929569214582e-6,9.999999999975306e-7,3856,23,null,null,null,null,null,null,null],[1.9319995772093534e-6,1.9999999999985307e-6,4000,25,null,null,null,null,null,null,null],[1.8299906514585018e-6,2.0000000000002655e-6,4004,26,null,null,null,null,null,null,null],[2.001994289457798e-6,1.9999999999985307e-6,4084,27,null,null,null,null,null,null,null],[1.9379949662834406e-6,2.0000000000002655e-6,4032,28,null,null,null,null,null,null,null],[1.9339786376804113e-6,2.0000000000002655e-6,4132,30,null,null,null,null,null,null,null],[2.001004759222269e-6,2.0000000000002655e-6,4260,31,null,null,null,null,null,null,null],[1.99698843061924e-6,2.0000000000002655e-6,4264,33,null,null,null,null,null,null,null],[2.0099978428333998e-6,2.0000000000002655e-6,4332,35,null,null,null,null,null,null,null],[2.1180021576583385e-6,2.0000000000002655e-6,4468,36,null,null,null,null,null,null,null],[2.0809820853173733e-6,2.000000000002e-6,4422,38,null,null,null,null,null,null,null],[2.2199819795787334e-6,2.000000000002e-6,4714,40,null,null,null,null,null,null,null],[2.173997927457094e-6,1.9999999999985307e-6,4662,42,null,null,null,null,null,null,null],[2.2099993657320738e-6,1.9999999999985307e-6,4772,44,null,null,null,null,null,null,null],[2.2700114641338587e-6,1.9999999999985307e-6,4926,47,null,null,null,null,null,null,null],[2.3389875423163176e-6,2.000000000002e-6,5104,49,null,null,null,null,null,null,null],[2.3679749574512243e-6,4.000000000000531e-6,5072,52,null,null,null,null,null,null,null],[2.521992428228259e-6,2.999999999999531e-6,5520,54,null,null,null,null,null,null,null],[2.4710025172680616e-6,2.000000000002e-6,5356,57,null,null,null,null,null,null,null],[2.5459739845246077e-6,2.000000000002e-6,5598,60,null,null,null,null,null,null,null],[2.6070047169923782e-6,3.0000000000012655e-6,5578,63,null,null,null,null,null,null,null],[2.7070054784417152e-6,2.999999999999531e-6,5796,66,null,null,null,null,null,null,null],[2.7520000003278255e-6,2.999999999999531e-6,5938,69,null,null,null,null,null,null,null],[2.820015652105212e-6,2.999999999999531e-6,6094,73,null,null,null,null,null,null,null],[2.903980202972889e-6,2.999999999999531e-6,6318,76,null,null,null,null,null,null,null],[3.0809896998107433e-6,3.0000000000012655e-6,6580,80,null,null,null,null,null,null,null],[3.022985765710473e-6,3.0000000000012655e-6,6520,84,null,null,null,null,null,null,null],[3.1730160117149353e-6,2.999999999999531e-6,6874,89,null,null,null,null,null,null,null],[3.281020326539874e-6,2.999999999999531e-6,7098,93,null,null,null,null,null,null,null],[3.390974598005414e-6,4.000000000000531e-6,7286,98,null,null,null,null,null,null,null],[3.4409749787300825e-6,3.999999999998796e-6,7480,103,null,null,null,null,null,null,null],[3.568013198673725e-6,3.0000000000012655e-6,7696,108,null,null,null,null,null,null,null],[3.6860001273453236e-6,4.000000000002266e-6,7956,113,null,null,null,null,null,null,null],[3.816006937995553e-6,4.000000000000531e-6,8276,119,null,null,null,null,null,null,null],[3.908004146069288e-6,4.000000000000531e-6,8570,125,null,null,null,null,null,null,null],[4.076020559296012e-6,3.999999999998796e-6,8784,131,null,null,null,null,null,null,null],[4.16202237829566e-6,4.999999999999796e-6,9164,138,null,null,null,null,null,null,null],[4.309986252337694e-6,4.999999999999796e-6,9398,144,null,null,null,null,null,null,null],[4.4630141928792e-6,4.999999999999796e-6,9746,152,null,null,null,null,null,null,null],[4.6009954530745745e-6,4.000000000000531e-6,10108,159,null,null,null,null,null,null,null],[4.8349902499467134e-6,4.999999999999796e-6,10498,167,null,null,null,null,null,null,null],[4.989997250959277e-6,4.9999999999980616e-6,10970,176,null,null,null,null,null,null,null],[5.174020770937204e-6,4.999999999999796e-6,11270,185,null,null,null,null,null,null,null],[5.331996362656355e-6,6.000000000000796e-6,11654,194,null,null,null,null,null,null,null],[5.553010851144791e-6,6.000000000000796e-6,12124,204,null,null,null,null,null,null,null],[5.785987013950944e-6,5.000000000001531e-6,12610,214,null,null,null,null,null,null,null],[5.962996510788798e-6,5.999999999999062e-6,13048,224,null,null,null,null,null,null,null],[6.223010132089257e-6,5.999999999999062e-6,13574,236,null,null,null,null,null,null,null],[6.432994268834591e-6,5.999999999999062e-6,14166,247,null,null,null,null,null,null,null],[6.759015377610922e-6,7.000000000000062e-6,14820,260,null,null,null,null,null,null,null],[7.066992111504078e-6,6.999999999998327e-6,15352,273,null,null,null,null,null,null,null],[9.720999514684081e-6,9.999999999999593e-6,22118,287,null,null,null,null,null,null,null],[2.340899663977325e-5,2.5000000000000716e-5,52294,301,null,null,null,null,null,null,null],[1.178999082185328e-5,1.1999999999999858e-5,26130,316,null,null,null,null,null,null,null],[1.2989010429009795e-5,1.3000000000000858e-5,28826,332,null,null,null,null,null,null,null],[1.3224984286352992e-5,1.2999999999999123e-5,29304,348,null,null,null,null,null,null,null],[1.3598008081316948e-5,1.2999999999999123e-5,30028,366,null,null,null,null,null,null,null],[1.3850018149241805e-5,1.2999999999999123e-5,30792,384,null,null,null,null,null,null,null],[1.4401011867448688e-5,1.4000000000001858e-5,31864,403,null,null,null,null,null,null,null],[1.6610982129350305e-5,1.6000000000002124e-5,36708,424,null,null,null,null,null,null,null],[1.5012978110462427e-5,1.5000000000001124e-5,33002,445,null,null,null,null,null,null,null],[1.7034995835274458e-5,1.8000000000000654e-5,37708,467,null,null,null,null,null,null,null],[1.7721002222970128e-5,1.8999999999998185e-5,39234,490,null,null,null,null,null,null,null],[1.8552993424236774e-5,1.799999999999892e-5,41084,515,null,null,null,null,null,null,null],[1.917898771353066e-5,1.9999999999999185e-5,42286,541,null,null,null,null,null,null,null],[2.1567975636571646e-5,2.1000000000000185e-5,47586,568,null,null,null,null,null,null,null],[2.230500103905797e-5,2.300000000000045e-5,49198,596,null,null,null,null,null,null,null],[2.272101119160652e-5,2.1999999999997716e-5,50234,626,null,null,null,null,null,null,null],[2.3773027351126075e-5,2.3000000000002185e-5,52362,657,null,null,null,null,null,null,null],[2.4245004169642925e-5,2.2999999999998716e-5,53572,690,null,null,null,null,null,null,null],[7.000000914558768e-5,6.899999999999962e-5,155598,725,null,null,null,null,null,null,null],[1.7465994460508227e-5,1.6999999999999654e-5,38168,761,null,null,null,null,null,null,null],[1.807598164305091e-5,1.800000000000239e-5,39576,799,null,null,null,null,null,null,null],[1.8852995708584785e-5,1.899999999999992e-5,41516,839,null,null,null,null,null,null,null],[1.9677012460306287e-5,2.000000000000092e-5,43246,881,null,null,null,null,null,null,null],[2.064098953269422e-5,2.1000000000000185e-5,45474,925,null,null,null,null,null,null,null],[2.1629995899274945e-5,2.1999999999997716e-5,47668,972,null,null,null,null,null,null,null],[2.2616994101554155e-5,2.199999999999945e-5,49674,1020,null,null,null,null,null,null,null],[2.367299748584628e-5,2.3999999999999716e-5,52114,1071,null,null,null,null,null,null,null],[2.4829001631587744e-5,2.5000000000000716e-5,54638,1125,null,null,null,null,null,null,null],[2.5999004719778895e-5,2.6000000000001716e-5,57144,1181,null,null,null,null,null,null,null],[2.7219997718930244e-5,2.8000000000000247e-5,59942,1240,null,null,null,null,null,null,null],[2.84140114672482e-5,2.9000000000001247e-5,62510,1302,null,null,null,null,null,null,null],[2.97880033031106e-5,3.0000000000000512e-5,65500,1367,null,null,null,null,null,null,null],[3.1288014724850655e-5,3.100000000000325e-5,68730,1436,null,null,null,null,null,null,null],[5.5037991842254996e-5,5.4999999999999494e-5,123386,1507,null,null,null,null,null,null,null],[3.455500700511038e-5,3.399999999999931e-5,75988,1583,null,null,null,null,null,null,null],[3.6003009881824255e-5,3.600000000000131e-5,79164,1662,null,null,null,null,null,null,null],[3.75809904653579e-5,3.7000000000000574e-5,82780,1745,null,null,null,null,null,null,null],[3.95399983972311e-5,4.0000000000000105e-5,87250,1832,null,null,null,null,null,null,null],[4.142100806348026e-5,4.1999999999998636e-5,91228,1924,null,null,null,null,null,null,null],[4.3387000914663076e-5,4.300000000000137e-5,95434,2020,null,null,null,null,null,null,null],[4.5455992221832275e-5,4.5000000000001636e-5,100018,2121,null,null,null,null,null,null,null],[4.7684996388852596e-5,4.800000000000117e-5,104906,2227,null,null,null,null,null,null,null],[6.012499216012657e-5,5.9999999999997555e-5,134302,2339,null,null,null,null,null,null,null],[5.268098902888596e-5,5.299999999999923e-5,115720,2456,null,null,null,null,null,null,null],[5.501997657120228e-5,5.499999999999776e-5,121068,2579,null,null,null,null,null,null,null],[5.776798934675753e-5,5.8000000000002494e-5,127190,2708,null,null,null,null,null,null,null],[6.043800385668874e-5,5.9999999999997555e-5,133086,2843,null,null,null,null,null,null,null],[6.345799192786217e-5,6.399999999999982e-5,139680,2985,null,null,null,null,null,null,null],[7.470298442058265e-5,7.599999999999794e-5,166252,3134,null,null,null,null,null,null,null],[7.000300684012473e-5,7.099999999999988e-5,153946,3291,null,null,null,null,null,null,null],[7.332497625611722e-5,7.300000000000015e-5,161342,3456,null,null,null,null,null,null,null],[7.68770114518702e-5,7.700000000000068e-5,169196,3629,null,null,null,null,null,null,null],[8.789999992586672e-5,8.800000000000127e-5,195306,3810,null,null,null,null,null,null,null],[8.4783008787781e-5,8.500000000000174e-5,186656,4001,null,null,null,null,null,null,null],[9.577898890711367e-5,9.500000000000133e-5,211296,4201,null,null,null,null,null,null,null],[9.035100811161101e-5,8.99999999999998e-5,198964,4411,null,null,null,null,null,null,null],[1.0181200923398137e-4,1.010000000000004e-4,225996,4631,null,null,null,null,null,null,null],[9.956801659427583e-5,1.0000000000000113e-4,219136,4863,null,null,null,null,null,null,null],[1.0437800665386021e-4,1.0399999999999993e-4,229882,5106,null,null,null,null,null,null,null],[1.0967502021230757e-4,1.1000000000000072e-4,241698,5361,null,null,null,null,null,null,null],[1.2155799777247012e-4,1.2099999999999958e-4,269352,5629,null,null,null,null,null,null,null],[1.2099900050088763e-4,1.2099999999999958e-4,266588,5911,null,null,null,null,null,null,null],[1.3303197920322418e-4,1.3300000000000117e-4,294804,6207,null,null,null,null,null,null,null],[1.3285200111567974e-4,1.329999999999977e-4,292868,6517,null,null,null,null,null,null,null],[1.3966701226308942e-4,1.389999999999985e-4,307730,6843,null,null,null,null,null,null,null],[1.5285800327546895e-4,1.5399999999999962e-4,338356,7185,null,null,null,null,null,null,null],[1.5347101725637913e-4,1.529999999999969e-4,338348,7544,null,null,null,null,null,null,null],[1.7099297838285565e-4,1.7099999999999754e-4,378212,7921,null,null,null,null,null,null,null],[1.6930900164879858e-4,1.6900000000000248e-4,373386,8318,null,null,null,null,null,null,null],[1.8411502242088318e-4,1.8400000000000014e-4,407206,8733,null,null,null,null,null,null,null],[1.8637199536897242e-4,1.8599999999999867e-4,411072,9170,null,null,null,null,null,null,null],[2.0187799236737192e-4,2.020000000000008e-4,446386,9629,null,null,null,null,null,null,null],[2.1173301502130926e-4,2.1200000000000038e-4,467928,10110,null,null,null,null,null,null,null],[2.1559098968282342e-4,2.160000000000009e-4,475428,10616,null,null,null,null,null,null,null],[2.3239498841576278e-4,2.319999999999961e-4,513402,11146,null,null,null,null,null,null,null],[2.44259019382298e-4,2.4500000000000216e-4,539124,11704,null,null,null,null,null,null,null],[2.492629864718765e-4,2.489999999999992e-4,549330,12289,null,null,null,null,null,null,null],[2.82555993180722e-4,2.82000000000001e-4,624162,12903,null,null,null,null,null,null,null],[2.8090798878110945e-4,2.8100000000000347e-4,620318,13549,null,null,null,null,null,null,null],[2.944830048363656e-4,2.930000000000016e-4,650136,14226,null,null,null,null,null,null,null],[3.088400117121637e-4,3.080000000000027e-4,681592,14937,null,null,null,null,null,null,null],[3.238749923184514e-4,3.2400000000000137e-4,714594,15684,null,null,null,null,null,null,null],[3.3987200004048645e-4,3.4e-4,749894,16469,null,null,null,null,null,null,null],[3.563780046533793e-4,3.559999999999987e-4,786214,17292,null,null,null,null,null,null,null],[4.0503000491298735e-4,4.0699999999999764e-4,895990,18157,null,null,null,null,null,null,null],[4.414169816300273e-4,4.4199999999999795e-4,974388,19065,null,null,null,null,null,null,null],[4.2447098530828953e-4,4.2400000000000423e-4,936334,20018,null,null,null,null,null,null,null],[4.500439972616732e-4,4.51e-4,992578,21019,null,null,null,null,null,null,null],[4.667970060836524e-4,4.6700000000000214e-4,1029200,22070,null,null,null,null,null,null,null],[4.899000050500035e-4,4.889999999999999e-4,1080112,23173,null,null,null,null,null,null,null],[5.225820059422404e-4,5.229999999999992e-4,1152140,24332,null,null,null,null,null,null,null],[5.391960148699582e-4,5.400000000000023e-4,1188648,25549,null,null,null,null,null,null,null],[5.743170040659606e-4,5.740000000000016e-4,1266130,26826,null,null,null,null,null,null,null],[5.809750000480562e-4,5.809999999999982e-4,1280390,28167,null,null,null,null,null,null,null],[6.298729858826846e-4,6.289999999999976e-4,1388260,29576,null,null,null,null,null,null,null],[6.868740019854158e-4,6.869999999999966e-4,1514256,31054,null,null,null,null,null,null,null],[7.230019837152213e-4,7.229999999999945e-4,1594024,32607,null,null,null,null,null,null,null],[7.784049957990646e-4,7.779999999999974e-4,1714886,34238,null,null,null,null,null,null,null],[8.11128003988415e-4,8.109999999999992e-4,1786850,35950,null,null,null,null,null,null,null],[8.511709747835994e-4,8.509999999999976e-4,1875110,37747,null,null,null,null,null,null,null],[8.898660016711801e-4,8.900000000000019e-4,1976686,39634,null,null,null,null,null,null,null],[8.725879888515919e-4,8.719999999999978e-4,1922566,41616,null,null,null,null,null,null,null],[8.982520084828138e-4,8.97999999999996e-4,1978524,43697,null,null,null,null,null,null,null],[9.415860113222152e-4,9.419999999999984e-4,2074326,45882,null,null,null,null,null,null,null],[1.089650992071256e-3,1.0899999999999938e-3,2401026,48176,null,null,null,null,null,null,null],[1.155370002379641e-3,1.1560000000000042e-3,2545742,50585,null,null,null,null,null,null,null],[1.2148630048613995e-3,1.2150000000000077e-3,2675642,53114,null,null,null,null,null,null,null],[1.25666699022986e-3,1.2560000000000002e-3,2767644,55770,null,null,null,null,null,null,null],[1.2689899886026978e-3,1.2689999999999924e-3,2794018,58558,null,null,null,null,null,null,null],[1.4192250091582537e-3,1.4199999999999977e-3,3125966,61486,null,null,null,null,null,null,null],[1.5777479857206345e-3,1.577999999999996e-3,3473718,64561,null,null,null,null,null,null,null],[1.4964360161684453e-3,1.4969999999999983e-3,3294886,67789,null,null,null,null,null,null,null],[1.4829070132691413e-3,1.4830000000000051e-3,3264914,71178,null,null,null,null,null,null,null],[1.5313519979827106e-3,1.5309999999999976e-3,3371910,74737,null,null,null,null,null,null,null],[1.6075279854703695e-3,1.6079999999999983e-3,3539220,78474,null,null,null,null,null,null,null],[1.6870959952939302e-3,1.687000000000008e-3,3714218,82398,null,null,null,null,null,null,null],[1.8756950157694519e-3,1.8759999999999957e-3,4129704,86518,null,null,null,null,null,null,null],[1.919757982250303e-3,1.919999999999998e-3,4226354,90843,null,null,null,null,null,null,null],[1.976150000700727e-3,1.9769999999999996e-3,4349974,95386,null,null,null,null,null,null,null],[2.0716410072054714e-3,2.0709999999999965e-3,4560514,100155,null,null,null,null,null,null,null],[2.1728879946749657e-3,2.1729999999999944e-3,4783340,105163,null,null,null,null,null,null,null],[2.286808012286201e-3,2.2869999999999974e-3,5034188,110421,null,null,null,null,null,null,null],[2.3727250227238983e-3,2.373e-3,5222436,115942,null,null,null,null,null,null,null],[2.495694992830977e-3,2.4949999999999972e-3,5493168,121739,null,null,null,null,null,null,null],[2.7471980138216168e-3,2.7469999999999994e-3,6047056,127826,null,null,null,null,null,null,null],[2.9708640067838132e-3,2.9710000000000014e-3,6539236,134217,null,null,null,null,null,null,null],[3.0153070110827684e-3,3.016000000000005e-3,6636142,140928,null,null,null,null,null,null,null],[3.028059989446774e-3,3.027000000000002e-3,6664360,147975,null,null,null,null,null,null,null],[3.2062279933597893e-3,3.2070000000000015e-3,7056602,155373,null,null,null,null,null,null,null],[3.3923529845196754e-3,3.393000000000007e-3,7465758,163142,null,null,null,null,null,null,null],[3.5456200130283833e-3,3.5460000000000075e-3,7803386,171299,null,null,null,null,null,null,null],[3.8079770165495574e-3,3.808999999999993e-3,8381172,179864,null,null,null,null,null,null,null],[3.976773004978895e-3,3.976999999999994e-3,8751452,188858,null,null,null,null,null,null,null],[4.079878999618813e-3,4.08e-3,8978542,198300,null,null,null,null,null,null,null],[4.3269150191918015e-3,4.3269999999999975e-3,9522152,208215,null,null,null,null,null,null,null],[4.470001003937796e-3,4.470000000000002e-3,9836662,218626,null,null,null,null,null,null,null],[4.872428020462394e-3,4.874000000000003e-3,10722288,229558,null,null,null,null,null,null,null],[4.940767015796155e-3,4.941000000000001e-3,10872264,241036,null,null,null,null,null,null,null],[5.223240004852414e-3,5.224000000000006e-3,11494206,253087,null,null,null,null,null,null,null],[5.434965016320348e-3,5.435000000000009e-3,11959708,265742,null,null,null,null,null,null,null],[5.797476973384619e-3,5.79799999999997e-3,12757506,279029,null,null,null,null,null,null,null],[6.133104005130008e-3,6.1340000000000006e-3,13495790,292980,null,null,null,null,null,null,null],[6.2913899892009795e-3,6.291999999999992e-3,13843824,307629,null,null,null,null,null,null,null],[6.648398994002491e-3,6.648000000000015e-3,14629490,323011,null,null,null,null,null,null,null],[7.0558839943259954e-3,7.055999999999979e-3,15526346,339161,null,null,null,null,null,null,null],[7.4249439931008965e-3,7.424999999999987e-3,16337978,356119,null,null,null,null,null,null,null],[7.7092179853934795e-3,7.709000000000021e-3,16963194,373925,null,null,null,null,null,null,null],[8.290446014143527e-3,8.289999999999992e-3,18241776,392622,null,null,null,null,null,null,null],[8.620255015557632e-3,8.619999999999989e-3,18967682,412253,null,null,null,null,null,null,null],[9.032543981447816e-3,9.033000000000013e-3,19874458,432866,null,null,null,null,null,null,null],[9.349416999612004e-3,9.348999999999968e-3,20571820,454509,null,null,null,null,null,null,null],[9.808922972297296e-3,9.808000000000011e-3,21582660,477234,null,null,null,null,null,null,null],[1.4454930002102628e-2,1.4447999999999989e-2,31815998,501096,null,null,null,null,null,null,null],[1.3374889007536694e-2,1.3374999999999998e-2,29425932,526151,null,null,null,null,null,null,null],[1.1378950002836064e-2,1.1378e-2,25036198,552458,null,null,null,null,null,null,null],[1.2026454991428182e-2,1.2026999999999954e-2,26461024,580081,null,null,null,null,null,null,null],[1.2654685007873923e-2,1.2656e-2,27843028,609086,null,null,null,null,null,null,null],[1.3459802023135126e-2,1.3460000000000027e-2,29614906,639540,null,null,null,null,null,null,null],[1.3948107982287183e-2,1.3949000000000045e-2,30688776,671517,null,null,null,null,null,null,null],[1.4484102983260527e-2,1.4485000000000026e-2,31867994,705093,null,null,null,null,null,null,null],[1.5333485003793612e-2,1.5334000000000014e-2,33736424,740347,null,null,null,null,null,null,null],[1.6279800998745486e-2,1.6279000000000043e-2,35818594,777365,null,null,null,null,null,null,null],[1.6825338010676205e-2,1.6825999999999952e-2,37018508,816233,null,null,null,null,null,null,null],[1.7766479984857142e-2,1.7766999999999977e-2,39089300,857045,null,null,null,null,null,null,null],[1.9011694006621838e-2,1.899799999999996e-2,41829334,899897,null,null,null,null,null,null,null],[1.9658203003928065e-2,1.9659000000000038e-2,43250748,944892,null,null,null,null,null,null,null],[2.077190301497467e-2,2.0770999999999984e-2,45700954,992136,null,null,null,null,null,null,null],[2.1526272990740836e-2,2.152599999999999e-2,47360568,1041743,null,null,null,null,null,null,null],[2.2623244993155822e-2,2.261799999999997e-2,49774154,1093831,null,null,null,null,null,null,null],[3.0359007010702044e-2,3.03520000000001e-2,66795244,1148522,null,null,null,null,null,null,null],[2.5625045003835112e-2,2.5626000000000038e-2,56378776,1205948,null,null,null,null,null,null,null],[2.6170302007813007e-2,2.6164999999999994e-2,57577900,1266246,null,null,null,null,null,null,null],[2.7586374984821305e-2,2.7567000000000008e-2,60693648,1329558,null,null,null,null,null,null,null],[2.9113661992596462e-2,2.9113999999999862e-2,64053750,1396036,null,null,null,null,null,null,null],[3.726070001721382e-2,3.7235999999999936e-2,81980104,1465838,null,null,null,null,null,null,null],[3.196953600854613e-2,3.1969000000000025e-2,70336336,1539130,null,null,null,null,null,null,null],[3.3439661987358704e-2,3.3440000000000025e-2,73569820,1616086,null,null,null,null,null,null,null],[4.189192899502814e-2,4.1834999999999845e-2,92168110,1696890,null,null,null,null,null,null,null],[3.732375398976728e-2,3.732399999999991e-2,82115028,1781735,null,null,null,null,null,null,null],[4.544095299206674e-2,4.5420000000000016e-2,99976162,1870822,null,null,null,null,null,null,null],[4.053783800918609e-2,4.0537000000000045e-2,89185944,1964363,null,null,null,null,null,null,null],[4.283254500478506e-2,4.2825e-2,94234986,2062581,null,null,null,null,null,null,null],[5.1143154996680096e-2,5.1068e-2,112521528,2165710,null,null,null,null,null,null,null],[4.755784600274637e-2,4.755800000000021e-2,104629812,2273996,null,null,null,null,null,null,null],[6.301521099521779e-2,6.298800000000027e-2,138641518,2387695,null,null,null,null,null,null,null],[5.287269200198352e-2,5.287300000000017e-2,116322382,2507080,null,null,null,null,null,null,null],[6.673756099189632e-2,6.672800000000012e-2,146835154,2632434,null,null,null,null,null,null,null],[5.9425461979117244e-2,5.942599999999998e-2,130736546,2764056,null,null,null,null,null,null,null],[6.1144414998125285e-2,6.1146000000000145e-2,134521030,2902259,null,null,null,null,null,null,null],[7.016911800019443e-2,7.013800000000026e-2,154379522,3047372,null,null,null,null,null,null,null],[7.348234299570322e-2,7.343800000000034e-2,161669210,3199740,null,null,null,null,null,null,null],[7.894127900362946e-2,7.891399999999993e-2,173681688,3359727,null,null,null,null,null,null,null],[8.066519201383926e-2,8.066199999999979e-2,177468588,3527714,null,null,null,null,null,null,null],[8.884616900468245e-2,8.877899999999994e-2,195467954,3704100,null,null,null,null,null,null,null],[9.39299640012905e-2,9.388999999999981e-2,206653246,3889305,null,null,null,null,null,null,null],[0.10612100997241214,0.10600399999999977,233471288,4083770,null,null,null,null,null,null,null],[0.10183990598306991,0.10175899999999993,224053108,4287958,null,null,null,null,null,null,null],[0.12609586198232137,0.12599300000000024,277420728,4502356,null,null,null,null,null,null,null],[0.10524546899250709,0.10519399999999957,231546430,4727474,null,null,null,null,null,null,null],[0.12472607701784,0.12464599999999981,274402494,4963848,null,null,null,null,null,null,null],[0.12209953300771303,0.12206000000000028,268624580,5212040,null,null,null,null,null,null,null],[0.12803200600319542,0.12799800000000072,281679486,5472642,null,null,null,null,null,null,null],[0.15328322601271793,0.15318900000000024,337230312,5746274,null,null,null,null,null,null,null],[0.14087599600316025,0.14085499999999973,309934058,6033588,null,null,null,null,null,null,null],[0.16443824200541712,0.16430899999999982,361779142,6335268,null,null,null,null,null,null,null],[0.1509496500075329,0.15083299999999955,332103010,6652031,null,null,null,null,null,null,null],[0.15568390398402698,0.15551799999999982,342513570,6984633,null,null,null,null,null,null,null],[0.18309666001005098,0.18303699999999967,402818630,7333864,null,null,null,null,null,null,null],[0.20358702598605305,0.20342700000000002,447898432,7700558,null,null,null,null,null,null,null],[0.18658072702237405,0.18645500000000004,410484044,8085585,null,null,null,null,null,null,null],[0.2140501549874898,0.21389099999999983,470920822,8489865,null,null,null,null,null,null,null],[0.22377065499313176,0.22362600000000032,492300598,8914358,null,null,null,null,null,null,null],[0.23815473800641485,0.23797100000000082,523946830,9360076,null,null,null,null,null,null,null],[0.24803585300105624,0.24782299999999946,545691436,9828080,null,null,null,null,null,null,null]]},{"reportAnalysis":{"anMean":{"estUpperBound":3.8862828356384757e-7,"estLowerBound":3.640686812141915e-7,"estPoint":3.7647973827317373e-7,"estConfidenceLevel":0.95},"anRegress":[{"regRSquare":{"estUpperBound":0.9947907586534039,"estLowerBound":0.9882157738679797,"estPoint":0.9918810346067727,"estConfidenceLevel":0.95},"regResponder":"time","regCoeffs":{"y":{"estUpperBound":2.1544673115009752e-4,"estLowerBound":-3.722560375174092e-4,"estPoint":-6.581833358806193e-5,"estConfidenceLevel":0.95},"iters":{"estUpperBound":3.803164118615079e-7,"estLowerBound":3.59832105979452e-7,"estPoint":3.6979215726516167e-7,"estConfidenceLevel":0.95}}}],"anStdDev":{"estUpperBound":4.81505001531474e-8,"estLowerBound":3.5904833037515274e-8,"estPoint":4.150785932735141e-8,"estConfidenceLevel":0.95},"anOutlierVar":{"ovFraction":0.917699613099007,"ovDesc":"severe","ovEffect":"Severe"},"anOverhead":3.161534180001628e-6},"reportKDEs":[{"kdeValues":[2.9454013709295896e-7,2.9586601888556503e-7,2.9719190067817115e-7,2.985177824707772e-7,2.9984366426338333e-7,3.011695460559894e-7,3.0249542784859546e-7,3.0382130964120157e-7,3.0514719143380764e-7,3.0647307322641375e-7,3.077989550190198e-7,3.091248368116259e-7,3.10450718604232e-7,3.1177660039683806e-7,3.1310248218944413e-7,3.1442836398205025e-7,3.157542457746563e-7,3.1708012756726243e-7,3.184060093598685e-7,3.1973189115247456e-7,3.2105777294508067e-7,3.2238365473768674e-7,3.2370953653029285e-7,3.250354183228989e-7,3.26361300115505e-7,3.276871819081111e-7,3.2901306370071716e-7,3.303389454933233e-7,3.3166482728592935e-7,3.329907090785354e-7,3.3431659087114153e-7,3.356424726637476e-7,3.369683544563537e-7,3.3829423624895977e-7,3.3962011804156584e-7,3.4094599983417195e-7,3.42271881626778e-7,3.4359776341938414e-7,3.449236452119902e-7,3.4624952700459626e-7,3.475754087972024e-7,3.4890129058980845e-7,3.5022717238241456e-7,3.5155305417502063e-7,3.528789359676267e-7,3.542048177602328e-7,3.5553069955283887e-7,3.56856581345445e-7,3.5818246313805105e-7,3.595083449306571e-7,3.6083422672326324e-7,3.621601085158693e-7,3.634859903084754e-7,3.648118721010815e-7,3.6613775389368755e-7,3.6746363568629366e-7,3.6878951747889973e-7,3.7011539927150584e-7,3.714412810641119e-7,3.7276716285671797e-7,3.740930446493241e-7,3.7541892644193015e-7,3.7674480823453627e-7,3.7807069002714234e-7,3.793965718197484e-7,3.807224536123545e-7,3.820483354049606e-7,3.833742171975667e-7,3.8470009899017276e-7,3.8602598078277883e-7,3.873518625753849e-7,3.88677744367991e-7,3.900036261605971e-7,3.913295079532032e-7,3.9265538974580925e-7,3.939812715384153e-7,3.9530715333102144e-7,3.9663303512362755e-7,3.979589169162336e-7,3.992847987088397e-7,4.0061068050144575e-7,4.0193656229405186e-7,4.0326244408665793e-7,4.0458832587926404e-7,4.059142076718701e-7,4.0724008946447617e-7,4.085659712570823e-7,4.0989185304968835e-7,4.1121773484229447e-7,4.1254361663490054e-7,4.138694984275066e-7,4.151953802201127e-7,4.1652126201271883e-7,4.178471438053249e-7,4.1917302559793096e-7,4.2049890739053703e-7,4.2182478918314314e-7,4.2315067097574926e-7,4.244765527683553e-7,4.258024345609614e-7,4.2712831635356745e-7,4.2845419814617357e-7,4.2978007993877964e-7,4.3110596173138575e-7,4.324318435239918e-7,4.337577253165979e-7,4.35083607109204e-7,4.3640948890181006e-7,4.377353706944162e-7,4.3906125248702224e-7,4.403871342796283e-7,4.417130160722344e-7,4.430388978648405e-7,4.443647796574466e-7,4.4569066145005267e-7,4.4701654324265873e-7,4.4834242503526485e-7,4.496683068278709e-7,4.5099418862047703e-7,4.523200704130831e-7,4.5364595220568916e-7,4.549718339982952e-7,4.5629771579090134e-7,4.5762359758350746e-7,4.589494793761135e-7,4.602753611687196e-7,4.6160124296132565e-7,4.6292712475393177e-7],"kdeType":"time","kdePDF":[5530282.79787247,5531627.570567824,5534313.856943901,5538335.146921076,5543681.695225951,5550340.545128092,5558295.559958689,5567527.462300351,5578013.880710751,5589729.403817111,5602645.64159373,5616731.293610986,5631952.224021834,5648271.543030547,5665649.6945689395,5684044.549887086,5703411.5067493785,5723703.593912107,5744871.580546299,5766864.090258815,5789627.719356318,5813107.158990226,5837245.320816616,5861983.465802875,5887261.33581322,5913017.28760732,5939188.428890887,5965710.7560635675,5992519.293318077,6019548.232754992,6046731.075189981,6074000.771344183,6101289.863124023,6128530.624713533,6155655.203220348,6182595.75863547,6209284.602886581,6235654.337784862,6261637.991685717,6287169.154704143,6312182.112345636,6336611.977433017,6360394.820228376,6383467.796666892,6405769.274635612,6427238.95824502,6447818.010054028,6467449.171219864,6486076.87955295,6503647.38546292,6520108.865785552,6535411.535481214,6549507.757193478,6562352.148651839,6573901.687894676,6584115.816278271,6592956.539224207,6600388.524641618,6606379.1989420485,6610898.840543817,6613920.6707395995,6615420.9417758295,6615379.021965917,6613777.477631168,6610602.151634376,6605842.238241498,6599490.354017121,6591542.604429947,6581998.645815822,6570861.742318254,6558138.817400361,6543840.499498445,6527981.161365914,6510578.952638195,6491655.8251342,6471237.550399075,6449353.728986118,6426037.790973625,6401326.98721521,6375262.370830091,6347888.768453294,6319254.740784746,6289412.532000962,6258418.007623806,6226330.580477014,6193213.124403678,6159131.875465549,6124156.32039861,6088359.072157964,6051815.732448713,6014604.741207736,5976807.213073708,5938506.760958669,5899789.306913838,5860742.880564037,5821457.40546895,5782024.473854384,5742537.110242375,5703089.524594396,5663776.855666542,5624694.905358429,5585939.8649180895,5547608.03394246,5509795.53318646,5472598.012262378,5436110.353374675,5400426.3722926285,5365638.517813899,5331837.571015424,5299112.3456237465,5267549.390864068,5237232.698166044,5208243.413113945,5180659.55402919,5154555.738564125,5130002.919667374,5107068.132252829,5085814.251866729,5066299.766600234,5048578.563438857,5032699.730175207,5018707.373938342,5006640.457311918,4996532.652924924,4988412.2173037175,4982301.884672987,4978218.781286921,4976174.360761089]}],"reportKeys":["time","cpuTime","cycles","iters","allocated","numGcs","bytesCopied","mutatorWallSeconds","mutatorCpuSeconds","gcWallSeconds","gcCpuSeconds"],"reportNumber":1,"reportName":"fib/5","reportOutliers":{"highSevere":0,"highMild":0,"lowMild":0,"samplesSeen":41,"lowSevere":0},"reportMeasured":[[6.3689949456602335e-6,4.999999999810711e-6,5118,1,null,null,null,null,null,null,null],[2.195010893046856e-6,2.9999999995311555e-6,4562,2,null,null,null,null,null,null,null],[2.315995516255498e-6,2.000000000279556e-6,4954,3,null,null,null,null,null,null,null],[2.7059868443757296e-6,2.000000000279556e-6,5880,4,null,null,null,null,null,null,null],[2.815009793266654e-6,2.9999999995311555e-6,6058,5,null,null,null,null,null,null,null],[3.1939998734742403e-6,3.000000000419334e-6,6908,6,null,null,null,null,null,null,null],[3.410998033359647e-6,2.9999999995311555e-6,7406,7,null,null,null,null,null,null,null],[3.9000005926936865e-6,4.000000000559112e-6,8644,8,null,null,null,null,null,null,null],[4.108005668967962e-6,3.9999999996709334e-6,8862,9,null,null,null,null,null,null,null],[4.387024091556668e-6,4.999999999810711e-6,9552,10,null,null,null,null,null,null,null],[4.6800123527646065e-6,4.999999999810711e-6,10282,11,null,null,null,null,null,null,null],[4.945992259308696e-6,4.999999999810711e-6,10844,12,null,null,null,null,null,null,null],[5.252019036561251e-6,5.999999999062311e-6,11528,13,null,null,null,null,null,null,null],[5.651992978528142e-6,6.000000000838668e-6,12330,14,null,null,null,null,null,null,null],[5.803012754768133e-6,6.000000000838668e-6,12848,15,null,null,null,null,null,null,null],[6.2800245359539986e-6,5.999999999950489e-6,13764,16,null,null,null,null,null,null,null],[6.430986104533076e-6,6.999999999202089e-6,14066,17,null,null,null,null,null,null,null],[6.895978003740311e-6,7.000000000090267e-6,15020,18,null,null,null,null,null,null,null],[7.040012860670686e-6,7.000000000090267e-6,15400,19,null,null,null,null,null,null,null],[7.291993824765086e-6,7.000000000978446e-6,16156,20,null,null,null,null,null,null,null],[7.642986020073295e-6,7.000000000978446e-6,16806,21,null,null,null,null,null,null,null],[7.983006071299314e-6,8.000000000230045e-6,17478,22,null,null,null,null,null,null,null],[8.310016710311174e-6,8.000000001118224e-6,18172,23,null,null,null,null,null,null,null],[9.011011570692062e-6,8.999999999481645e-6,19702,25,null,null,null,null,null,null,null],[9.112991392612457e-6,9.000000000369823e-6,20052,26,null,null,null,null,null,null,null],[9.556999430060387e-6,1.000000000139778e-5,20914,27,null,null,null,null,null,null,null],[9.766023140400648e-6,9.000000000369823e-6,21306,28,null,null,null,null,null,null,null],[1.0325980838388205e-5,1.0000000000509601e-5,22790,30,null,null,null,null,null,null,null],[1.0646996088325977e-5,1.100000000064938e-5,23420,31,null,null,null,null,null,null,null],[1.1280004400759935e-5,1.09999999997612e-5,24804,33,null,null,null,null,null,null,null],[1.1775991879403591e-5,1.100000000064938e-5,26022,35,null,null,null,null,null,null,null],[1.2259988579899073e-5,1.2000000000789157e-5,26904,36,null,null,null,null,null,null,null],[1.2822012649849057e-5,1.3000000000928935e-5,28158,38,null,null,null,null,null,null,null],[1.3329990906640887e-5,1.3000000000928935e-5,29300,40,null,null,null,null,null,null,null],[1.3923970982432365e-5,1.4000000000180535e-5,30616,42,null,null,null,null,null,null,null],[1.45800004247576e-5,1.5000000000320313e-5,32086,44,null,null,null,null,null,null,null],[1.5372002962976694e-5,1.5000000000320313e-5,33826,47,null,null,null,null,null,null,null],[1.6106991097331047e-5,1.5999999999571912e-5,35566,49,null,null,null,null,null,null,null],[1.7026002751663327e-5,1.700000000059987e-5,37452,52,null,null,null,null,null,null,null],[1.7587997717782855e-5,1.700000000059987e-5,38766,54,null,null,null,null,null,null,null],[1.8515012925490737e-5,1.7999999999851468e-5,40918,57,null,null,null,null,null,null,null],[1.9400002202019095e-5,1.9999999999242846e-5,42726,60,null,null,null,null,null,null,null],[2.024698187597096e-5,2.1000000000270802e-5,44548,63,null,null,null,null,null,null,null],[2.1146988729014993e-5,2.19999999995224e-5,46470,66,null,null,null,null,null,null,null],[2.213899279013276e-5,2.200000000129876e-5,48666,69,null,null,null,null,null,null,null],[2.3361993953585625e-5,2.3999999999801958e-5,51572,73,null,null,null,null,null,null,null],[2.4236011086031795e-5,2.5000000000829914e-5,53334,76,null,null,null,null,null,null,null],[3.775898949243128e-5,3.7999999999094314e-5,85106,80,null,null,null,null,null,null,null],[2.6788009563460946e-5,2.700000000022129e-5,58730,84,null,null,null,null,null,null,null],[2.8058013413101435e-5,2.7999999998584713e-5,61706,89,null,null,null,null,null,null,null],[2.925400622189045e-5,2.9000000000500847e-5,64460,93,null,null,null,null,null,null,null],[3.086499054916203e-5,2.9999999999752447e-5,67964,98,null,null,null,null,null,null,null],[3.23129934258759e-5,3.300000000017178e-5,71208,103,null,null,null,null,null,null,null],[3.3881020499393344e-5,3.400000000031156e-5,74558,108,null,null,null,null,null,null,null],[3.8439000491052866e-5,3.7999999999094314e-5,85440,113,null,null,null,null,null,null,null],[3.7393998354673386e-5,3.799999999998249e-5,82384,119,null,null,null,null,null,null,null],[4.6891014790162444e-5,4.7000000000352316e-5,103600,125,null,null,null,null,null,null,null],[7.765999180264771e-5,7.399999999968543e-5,182542,131,null,null,null,null,null,null,null],[4.910500138066709e-5,4.900000000063187e-5,107362,138,null,null,null,null,null,null,null],[4.986301064491272e-5,4.999999999988347e-5,109630,144,null,null,null,null,null,null,null],[1.7505697906017303e-4,1.760000000006201e-4,404307,152,null,null,null,null,null,null,null],[1.4888800797052681e-4,1.4800000000025904e-4,326376,159,null,null,null,null,null,null,null],[1.554769987706095e-4,1.550000000003493e-4,341968,167,null,null,null,null,null,null,null],[1.6353401588276029e-4,1.6300000000057935e-4,360360,176,null,null,null,null,null,null,null],[1.7213099636137486e-4,1.72000000000061e-4,379104,185,null,null,null,null,null,null,null],[1.7929900786839426e-4,1.7900000000103944e-4,394680,194,null,null,null,null,null,null,null],[1.8859998090192676e-4,1.8900000000066086e-4,415088,204,null,null,null,null,null,null,null],[2.2280000848695636e-4,2.2199999999994446e-4,496200,214,null,null,null,null,null,null,null],[2.0609100465662777e-4,2.0599999999948437e-4,453848,224,null,null,null,null,null,null,null],[2.1693098824471235e-4,2.1699999999924557e-4,477056,236,null,null,null,null,null,null,null],[2.2712702048011124e-4,2.2699999999975518e-4,500136,247,null,null,null,null,null,null,null],[2.3897801293060184e-4,2.3999999999890775e-4,526520,260,null,null,null,null,null,null,null],[2.5460097822360694e-4,2.5500000000011624e-4,561624,273,null,null,null,null,null,null,null],[2.0890400628559291e-4,2.0900000000079189e-4,463179,287,null,null,null,null,null,null,null],[2.0243300241418183e-4,2.0199999999981344e-4,445642,301,null,null,null,null,null,null,null],[2.121889847330749e-4,2.1200000000032304e-4,467333,316,null,null,null,null,null,null,null],[2.2302701836451888e-4,2.2300000000008424e-4,491113,332,null,null,null,null,null,null,null],[2.3343501379713416e-4,2.3299999999970566e-4,514013,348,null,null,null,null,null,null,null],[2.6055998750962317e-4,2.5999999999992696e-4,577594,366,null,null,null,null,null,null,null],[2.5778301642276347e-4,2.579999999987592e-4,568035,384,null,null,null,null,null,null,null],[2.698470198083669e-4,2.699999999995484e-4,594402,403,null,null,null,null,null,null,null],[2.981330035254359e-4,2.9799999999990945e-4,660166,424,null,null,null,null,null,null,null],[2.9759801691398025e-4,2.9799999999990945e-4,655610,445,null,null,null,null,null,null,null],[3.1254399800673127e-4,3.119999999992018e-4,687896,467,null,null,null,null,null,null,null],[3.421930014155805e-4,3.4199999999984243e-4,757280,490,null,null,null,null,null,null,null],[3.441110020503402e-4,3.4500000000026176e-4,758779,515,null,null,null,null,null,null,null],[3.618090122472495e-4,3.6100000000072185e-4,812698,541,null,null,null,null,null,null,null],[3.2865701359696686e-4,3.289999999989135e-4,724444,568,null,null,null,null,null,null,null],[3.142349887639284e-4,3.1400000000036954e-4,692452,596,null,null,null,null,null,null,null],[3.4050201065838337e-4,3.4000000000133923e-4,752628,626,null,null,null,null,null,null,null],[3.458599967416376e-4,3.4600000000040154e-4,762084,657,null,null,null,null,null,null,null],[3.742059925571084e-4,3.7399999999987443e-4,826628,690,null,null,null,null,null,null,null],[3.813380026258528e-4,3.809999999999647e-4,840620,725,null,null,null,null,null,null,null],[4.1083700489252806e-4,4.110000000006053e-4,907316,761,null,null,null,null,null,null,null],[4.203400167170912e-4,4.2100000000022675e-4,926228,799,null,null,null,null,null,null,null],[4.6467300853691995e-4,4.660000000002995e-4,1028484,839,null,null,null,null,null,null,null],[4.632420022971928e-4,4.629999999998802e-4,1020872,881,null,null,null,null,null,null,null],[4.6159399789758027e-4,4.609999999996006e-4,1019450,925,null,null,null,null,null,null,null],[4.5108600170351565e-4,4.50999999999091e-4,995256,972,null,null,null,null,null,null,null],[4.6271400060504675e-4,4.629999999998802e-4,1019532,1020,null,null,null,null,null,null,null],[4.946360131725669e-4,4.940000000006606e-4,1091864,1071,null,null,null,null,null,null,null],[5.189549992792308e-4,5.189999999997141e-4,1144964,1125,null,null,null,null,null,null,null],[4.7801301116123796e-4,4.770000000000607e-4,1053288,1181,null,null,null,null,null,null,null],[4.250619967933744e-4,4.249999999998977e-4,937190,1240,null,null,null,null,null,null,null],[3.9984099566936493e-4,3.9999999999995595e-4,881704,1302,null,null,null,null,null,null,null],[4.1914102621376514e-4,4.18999999999059e-4,924266,1367,null,null,null,null,null,null,null],[4.39752999227494e-4,4.40000000000218e-4,969548,1436,null,null,null,null,null,null,null],[4.6121698687784374e-4,4.610000000004888e-4,1016798,1507,null,null,null,null,null,null,null],[4.838879976887256e-4,4.839999999992628e-4,1066732,1583,null,null,null,null,null,null,null],[5.075119843240827e-4,5.079999999990648e-4,1118646,1662,null,null,null,null,null,null,null],[5.32345991814509e-4,5.310000000005033e-4,1173464,1745,null,null,null,null,null,null,null],[5.587530031334609e-4,5.589999999999762e-4,1232000,1832,null,null,null,null,null,null,null],[5.909939936827868e-4,5.9099999999912e-4,1302372,1924,null,null,null,null,null,null,null],[6.154190050438046e-4,6.159999999999499e-4,1356354,2020,null,null,null,null,null,null,null],[6.507150246761739e-4,6.509999999995131e-4,1433628,2121,null,null,null,null,null,null,null],[7.044719823170453e-4,7.039999999998159e-4,1553214,2227,null,null,null,null,null,null,null],[7.164400012698025e-4,7.159999999997169e-4,1578436,2339,null,null,null,null,null,null,null],[7.520189974457026e-4,7.52000000000308e-4,1656730,2456,null,null,null,null,null,null,null],[7.830010144971311e-4,7.830000000002002e-4,1725056,2579,null,null,null,null,null,null,null],[8.44385998789221e-4,8.449999999990965e-4,1860492,2708,null,null,null,null,null,null,null],[9.220920037478209e-4,9.209999999999496e-4,2032332,2843,null,null,null,null,null,null,null],[1.001694006845355e-3,1.0009999999995856e-3,2207206,2985,null,null,null,null,null,null,null],[1.0566590062808245e-3,1.0570000000003077e-3,2327146,3134,null,null,null,null,null,null,null],[1.1031169851776212e-3,1.1030000000005202e-3,2429542,3291,null,null,null,null,null,null,null],[1.1072819761466235e-3,1.108000000000331e-3,2438996,3456,null,null,null,null,null,null,null],[1.1441060050856322e-3,1.1450000000001737e-3,2519502,3629,null,null,null,null,null,null,null],[2.4604839854873717e-3,2.431000000000516e-3,5432386,3810,null,null,null,null,null,null,null],[2.3727179795969278e-3,2.3719999999993746e-3,5223568,4001,null,null,null,null,null,null,null],[2.2258640092331916e-3,2.227000000000423e-3,4901340,4201,null,null,null,null,null,null,null],[2.14928001514636e-3,2.1500000000003183e-3,4732212,4411,null,null,null,null,null,null,null],[2.1714959875680506e-3,2.1589999999998e-3,4788574,4631,null,null,null,null,null,null,null],[1.9050459959544241e-3,1.9059999999999633e-3,4193858,4863,null,null,null,null,null,null,null],[1.6448509995825589e-3,1.6439999999997568e-3,3620986,5106,null,null,null,null,null,null,null],[1.681102003203705e-3,1.6809999999995995e-3,3701036,5361,null,null,null,null,null,null,null],[1.7672579851932824e-3,1.7680000000002138e-3,3890840,5629,null,null,null,null,null,null,null],[1.8800500256475061e-3,1.8799999999998818e-3,4138754,5911,null,null,null,null,null,null,null],[1.9469289982225746e-3,1.946999999999477e-3,4286054,6207,null,null,null,null,null,null,null],[2.046756009804085e-3,2.0459999999999923e-3,4505718,6517,null,null,null,null,null,null,null],[2.135255024768412e-3,2.1339999999998582e-3,4700226,6843,null,null,null,null,null,null,null],[2.2248120221775025e-3,2.2240000000000038e-3,4897478,7185,null,null,null,null,null,null,null],[2.3560289992019534e-3,2.350999999999992e-3,5190712,7544,null,null,null,null,null,null,null],[2.4483460001647472e-3,2.4479999999993396e-3,5389322,7921,null,null,null,null,null,null,null],[2.567640010965988e-3,2.566999999999986e-3,5651898,8318,null,null,null,null,null,null,null],[2.706719998968765e-3,2.7060000000007634e-3,5957824,8733,null,null,null,null,null,null,null],[2.855366008589044e-3,2.8519999999989665e-3,6285228,9170,null,null,null,null,null,null,null],[2.9326770163606852e-3,2.9320000000003787e-3,6454914,9629,null,null,null,null,null,null,null],[3.124053997453302e-3,3.1249999999998224e-3,6876206,10110,null,null,null,null,null,null,null],[3.2666409970261157e-3,3.26300000000046e-3,7189740,10616,null,null,null,null,null,null,null],[3.391978010768071e-3,3.3919999999998396e-3,7464764,11146,null,null,null,null,null,null,null],[3.592653985833749e-3,3.5929999999995132e-3,7906906,11704,null,null,null,null,null,null,null],[3.7787689943797886e-3,3.778000000000503e-3,8316456,12289,null,null,null,null,null,null,null],[3.925159020582214e-3,3.924999999999734e-3,8637816,12903,null,null,null,null,null,null,null],[4.118347977055237e-3,4.118999999999318e-3,9063018,13549,null,null,null,null,null,null,null],[4.509021004196256e-3,4.50900000000054e-3,9923458,14226,null,null,null,null,null,null,null],[4.594772995915264e-3,4.595000000000127e-3,10111498,14937,null,null,null,null,null,null,null],[4.79835900478065e-3,4.79900000000022e-3,10559422,15684,null,null,null,null,null,null,null],[5.006429011700675e-3,5.006999999999984e-3,11017090,16469,null,null,null,null,null,null,null],[5.4624910117127e-3,5.463000000000662e-3,12021000,17292,null,null,null,null,null,null,null],[5.522830004338175e-3,5.522000000000027e-3,12152918,18157,null,null,null,null,null,null,null],[5.868509993888438e-3,5.86799999999954e-3,12913532,19065,null,null,null,null,null,null,null],[6.239559996174648e-3,6.240999999999275e-3,13729958,20018,null,null,null,null,null,null,null],[6.510671984869987e-3,6.511000000001488e-3,14326438,21019,null,null,null,null,null,null,null],[6.7655949969775975e-3,6.746999999998948e-3,14887816,22070,null,null,null,null,null,null,null],[1.0109009017469361e-2,1.0075999999999752e-2,22259863,23173,null,null,null,null,null,null,null],[1.1043214006349444e-2,1.1044000000000054e-2,24294013,24332,null,null,null,null,null,null,null],[1.2775884009897709e-2,1.2745999999999924e-2,28121738,25549,null,null,null,null,null,null,null],[1.0466584993992e-2,1.0438999999999865e-2,23030743,26826,null,null,null,null,null,null,null],[8.821894996799529e-3,8.82200000000033e-3,19410134,28167,null,null,null,null,null,null,null],[9.05839999904856e-3,9.058000000001343e-3,19931424,29576,null,null,null,null,null,null,null],[9.607458981918171e-3,9.608999999999313e-3,21139722,31054,null,null,null,null,null,null,null],[9.998121997341514e-3,9.997999999999507e-3,21998966,32607,null,null,null,null,null,null,null],[1.0649275995092466e-2,1.0650000000000048e-2,23431704,34238,null,null,null,null,null,null,null],[1.1351645982358605e-2,1.1351999999998696e-2,24976566,35950,null,null,null,null,null,null,null],[1.1748192977393046e-2,1.1749999999999261e-2,25849330,37747,null,null,null,null,null,null,null],[1.6361854010028765e-2,1.6332999999999487e-2,36011226,39634,null,null,null,null,null,null,null],[1.6450644005089998e-2,1.6443999999999903e-2,36194242,41616,null,null,null,null,null,null,null],[1.3593344017863274e-2,1.3594000000001216e-2,29909028,43697,null,null,null,null,null,null,null],[1.4143528998829424e-2,1.4113999999999294e-2,31119100,45882,null,null,null,null,null,null,null],[2.1857529995031655e-2,2.181999999999995e-2,48101196,48176,null,null,null,null,null,null,null],[1.6666358016664162e-2,1.6666000000000736e-2,36666800,50585,null,null,null,null,null,null,null],[1.6369702003430575e-2,1.6370000000000218e-2,36016148,53114,null,null,null,null,null,null,null],[1.7189422011142597e-2,1.719000000000115e-2,37820368,55770,null,null,null,null,null,null,null],[2.0977567008230835e-2,2.0973999999998938e-2,46168823,58558,null,null,null,null,null,null,null],[2.280742398579605e-2,2.2807000000000244e-2,50175534,61486,null,null,null,null,null,null,null],[2.6561063015833497e-2,2.6531000000000304e-2,58442066,64561,null,null,null,null,null,null,null],[2.0786434004548937e-2,2.078600000000108e-2,45732858,67789,null,null,null,null,null,null,null],[2.2607160004554316e-2,2.2606999999998934e-2,49739118,71178,null,null,null,null,null,null,null],[2.336564500001259e-2,2.3365999999999332e-2,51407526,74737,null,null,null,null,null,null,null],[2.4193908990127966e-2,2.4194999999998856e-2,53229650,78474,null,null,null,null,null,null,null],[3.541715198662132e-2,3.5367000000000814e-2,77930312,82398,null,null,null,null,null,null,null],[2.9687178001040593e-2,2.9654999999999987e-2,65318758,86518,null,null,null,null,null,null,null],[3.573231800692156e-2,3.5645999999999844e-2,78617846,90843,null,null,null,null,null,null,null],[2.9777010990073904e-2,2.9748999999998915e-2,65513348,95386,null,null,null,null,null,null,null],[3.896774398162961e-2,3.893199999999908e-2,85736820,100155,null,null,null,null,null,null,null],[4.55451890011318e-2,4.551700000000025e-2,100204946,105163,null,null,null,null,null,null,null],[3.915400800178759e-2,3.91269999999988e-2,86150618,110421,null,null,null,null,null,null,null],[3.71866789937485e-2,3.7173999999998486e-2,81811878,115942,null,null,null,null,null,null,null],[3.7619426992023364e-2,3.76189999999994e-2,82765836,121739,null,null,null,null,null,null,null],[4.603989899624139e-2,4.599900000000012e-2,101293428,127826,null,null,null,null,null,null,null],[5.9948230016743764e-2,5.9899999999998954e-2,131891262,134217,null,null,null,null,null,null,null],[4.348806999041699e-2,4.3489000000001e-2,95676348,140928,null,null,null,null,null,null,null],[6.642680001095869e-2,6.633599999999973e-2,146145502,147975,null,null,null,null,null,null,null],[4.823095098254271e-2,4.823099999999947e-2,106110788,155373,null,null,null,null,null,null,null],[6.95042010047473e-2,6.944900000000054e-2,152915870,163142,null,null,null,null,null,null,null],[6.719720401451923e-2,6.715100000000085e-2,147839372,171299,null,null,null,null,null,null,null],[6.829725802526809e-2,6.825900000000118e-2,150264508,179864,null,null,null,null,null,null,null],[5.856280602165498e-2,5.856300000000125e-2,128839958,188858,null,null,null,null,null,null,null],[8.231437799986452e-2,8.224300000000007e-2,181098420,198300,null,null,null,null,null,null,null],[9.07866460038349e-2,9.072600000000008e-2,199737670,208215,null,null,null,null,null,null,null],[8.800584901473485e-2,8.791100000000007e-2,193619266,218626,null,null,null,null,null,null,null],[9.816788000171073e-2,9.807200000000016e-2,215981134,229558,null,null,null,null,null,null,null],[8.16791650140658e-2,8.161899999999811e-2,179699402,241036,null,null,null,null,null,null,null],[9.940655599348247e-2,9.933800000000126e-2,218718298,253087,null,null,null,null,null,null,null],[0.11120138401747681,0.11112700000000153,244654144,265742,null,null,null,null,null,null,null],[9.786622298997827e-2,9.785500000000091e-2,215306887,279029,null,null,null,null,null,null,null],[0.11794480800745077,0.11783100000000069,259484402,292980,null,null,null,null,null,null,null],[0.10283540200907737,0.1027769999999979,226244166,307629,null,null,null,null,null,null,null],[0.11402164501487277,0.11388900000000035,250853314,323011,null,null,null,null,null,null,null],[0.13191826498950832,0.1318179999999991,290228042,339161,null,null,null,null,null,null,null],[0.14718902899767272,0.14705699999999844,323822326,356119,null,null,null,null,null,null,null],[0.11646585201378912,0.11646599999999907,256227484,373925,null,null,null,null,null,null,null],[0.130337740003597,0.13032800000000044,286750526,392622,null,null,null,null,null,null,null],[0.14089532700018026,0.14082400000000028,309976950,412253,null,null,null,null,null,null,null],[0.15498050500173122,0.15486699999999942,340962370,432866,null,null,null,null,null,null,null],[0.18791693201637827,0.18770999999999916,413426726,454509,null,null,null,null,null,null,null],[0.17427672201301903,0.17420499999999883,383416370,477234,null,null,null,null,null,null,null],[0.19600536601501517,0.19590900000000033,431217902,501096,null,null,null,null,null,null,null],[0.19916906699654646,0.1989959999999975,438191168,526151,null,null,null,null,null,null,null],[0.21339729498140514,0.21320400000000106,469476594,552458,null,null,null,null,null,null,null],[0.21181727599469014,0.21171000000000006,466004624,580081,null,null,null,null,null,null,null],[0.21616315699066035,0.21574699999999858,475566004,609086,null,null,null,null,null,null,null],[0.22467806399799883,0.22451699999999875,494296310,639540,null,null,null,null,null,null,null]]},{"reportAnalysis":{"anMean":{"estUpperBound":2.700766045605913e-6,"estLowerBound":2.5489390737084626e-6,"estPoint":2.614524699113428e-6,"estConfidenceLevel":0.95},"anRegress":[{"regRSquare":{"estUpperBound":0.9963158112849326,"estLowerBound":0.9813766955405638,"estPoint":0.9888135706759168,"estConfidenceLevel":0.95},"regResponder":"time","regCoeffs":{"y":{"estUpperBound":3.36336946581968e-4,"estLowerBound":-5.759459124098816e-4,"estPoint":-1.0139218770465428e-4,"estConfidenceLevel":0.95},"iters":{"estUpperBound":2.7027537748864712e-6,"estLowerBound":2.4813442295249526e-6,"estPoint":2.586203298978693e-6,"estConfidenceLevel":0.95}}}],"anStdDev":{"estUpperBound":3.0480780278156827e-7,"estLowerBound":2.0893167057513842e-7,"estPoint":2.4922772413717383e-7,"estConfidenceLevel":0.95},"anOutlierVar":{"ovFraction":0.86814310186276,"ovDesc":"severe","ovEffect":"Severe"},"anOverhead":3.161534180001628e-6},"reportKDEs":[{"kdeValues":[2.0686914544928066e-6,2.078425810377499e-6,2.0881601662621917e-6,2.097894522146884e-6,2.1076288780315764e-6,2.117363233916269e-6,2.1270975898009615e-6,2.136831945685654e-6,2.1465663015703466e-6,2.156300657455039e-6,2.1660350133397313e-6,2.1757693692244237e-6,2.1855037251091164e-6,2.1952380809938088e-6,2.204972436878501e-6,2.214706792763194e-6,2.224441148647886e-6,2.2341755045325785e-6,2.2439098604172713e-6,2.2536442163019636e-6,2.263378572186656e-6,2.2731129280713487e-6,2.282847283956041e-6,2.2925816398407334e-6,2.302315995725426e-6,2.3120503516101185e-6,2.321784707494811e-6,2.3315190633795036e-6,2.341253419264196e-6,2.3509877751488883e-6,2.3607221310335807e-6,2.3704564869182734e-6,2.3801908428029658e-6,2.3899251986876585e-6,2.399659554572351e-6,2.409393910457043e-6,2.4191282663417355e-6,2.4288626222264283e-6,2.4385969781111206e-6,2.448331333995813e-6,2.4580656898805057e-6,2.467800045765198e-6,2.4775344016498904e-6,2.487268757534583e-6,2.4970031134192755e-6,2.506737469303968e-6,2.5164718251886606e-6,2.526206181073353e-6,2.5359405369580453e-6,2.5456748928427377e-6,2.5554092487274304e-6,2.5651436046121228e-6,2.5748779604968155e-6,2.584612316381508e-6,2.5943466722662e-6,2.6040810281508925e-6,2.6138153840355853e-6,2.6235497399202776e-6,2.63328409580497e-6,2.6430184516896628e-6,2.652752807574355e-6,2.6624871634590474e-6,2.6722215193437398e-6,2.6819558752284325e-6,2.691690231113125e-6,2.7014245869978176e-6,2.71115894288251e-6,2.7208932987672023e-6,2.7306276546518947e-6,2.7403620105365874e-6,2.7500963664212798e-6,2.7598307223059725e-6,2.769565078190665e-6,2.779299434075357e-6,2.7890337899600495e-6,2.7987681458447423e-6,2.8085025017294347e-6,2.818236857614127e-6,2.8279712134988198e-6,2.837705569383512e-6,2.8474399252682044e-6,2.857174281152897e-6,2.8669086370375895e-6,2.876642992922282e-6,2.8863773488069746e-6,2.896111704691667e-6,2.9058460605763593e-6,2.9155804164610517e-6,2.9253147723457444e-6,2.9350491282304368e-6,2.9447834841151295e-6,2.954517839999822e-6,2.9642521958845142e-6,2.9739865517692066e-6,2.9837209076538993e-6,2.9934552635385917e-6,3.0031896194232844e-6,3.0129239753079768e-6,3.022658331192669e-6,3.0323926870773614e-6,3.0421270429620538e-6,3.0518613988467465e-6,3.0615957547314393e-6,3.0713301106161316e-6,3.081064466500824e-6,3.0907988223855163e-6,3.1005331782702087e-6,3.1102675341549014e-6,3.1200018900395938e-6,3.1297362459242865e-6,3.139470601808979e-6,3.1492049576936712e-6,3.1589393135783636e-6,3.1686736694630563e-6,3.1784080253477487e-6,3.1881423812324414e-6,3.1978767371171338e-6,3.207611093001826e-6,3.2173454488865184e-6,3.2270798047712108e-6,3.2368141606559035e-6,3.2465485165405963e-6,3.2562828724252887e-6,3.266017228309981e-6,3.2757515841946733e-6,3.2854859400793657e-6,3.2952202959640584e-6,3.3049546518487508e-6],"kdeType":"time","kdePDF":[193348.37411608477,195787.67943903586,200648.0496875539,207894.41662626184,217477.60419800878,229338.15351163864,243410.9677847057,259630.43054229204,277935.6139420204,298275.18537864153,320611.6398482463,344924.53108626854,371212.4423769799,399493.52259140834,429804.5076097088,462198.2442885739,496739.825945078,533501.5279305208,572556.7934448962,613973.5591982311,657807.2258694681,704093.5698718495,752841.8633543929,804028.423417068,857590.7556605608,913422.3989961696,971368.5260191171,1031222.3136045334,1092722.077741481,1155549.1687915262,1219326.6492767837,1283618.823578413,1347931.751733892,1411714.9488659068,1474364.5361848872,1535228.156119902,1593611.9801298883,1648790.111994119,1700016.6141146778,1746540.2567119885,1787621.9129084416,1822554.3062876717,1850683.577654195,1871431.8957836279,1884320.1178163385,1888989.3344663668,1885220.0373355097,1872947.6393742985,1852273.176346929,1823468.2188309694,1786973.3219293838,1743389.7140752703,1693464.3485281398,1638068.8763004115,1578173.5091379452,1514817.0885404367,1449074.929314927,1382026.1399994812,1314722.1250739216,1248157.8452578573,1183247.1651551079,1120803.2761352921,1061524.779434515,1005987.5879317212,954642.3939246824,907817.0905308761,865723.2555393736,828465.6287808041,796053.4465428785,768412.5370811877,745397.2172074204,726801.240050196,712367.3012671213,701794.8854026187,694746.4963903147,690852.5404979753,689715.2962463385,690912.501385636,694001.1074337641,698521.7011127233,704003.9798254858,709973.5110583926,715959.8226072633,721505.6823087626,726177.2520467232,729574.6579264199,731342.4192055991,731179.130356173,728845.7957563065,724172.2722737687,717061.374495603,707490.3305671671,695509.431627356,681237.8821337967,664857.019906639,646601.2227881057,626746.9446837859,605600.4209590345,583484.6475728014,560726.2679896798,537642.9967931723,514532.170629574,491660.9485854966,469258.589399586,447511.11703277455,426558.55489788984,406494.7690173883,387369.8186463004,369194.576933432,351947.26151982555,335581.4127689706,320034.7819557119,305238.5482667463,291126.27516166767,277642.04462878616,264747.27087790414,252425.78935354357,240686.93668799847,229566.47453294246,219125.35597781054,209446.47769778976,200629.6943643561,192785.48527776,186027.7491541602,180466.2559729677,176199.30150793327,173307.08984033504,171846.31345863192]}],"reportKeys":["time","cpuTime","cycles","iters","allocated","numGcs","bytesCopied","mutatorWallSeconds","mutatorCpuSeconds","gcWallSeconds","gcCpuSeconds"],"reportNumber":2,"reportName":"fib/9","reportOutliers":{"highSevere":0,"highMild":0,"lowMild":0,"samplesSeen":43,"lowSevere":0},"reportMeasured":[[9.025010513141751e-6,9.000000000369823e-6,10070,1,null,null,null,null,null,null,null],[6.454007234424353e-6,6.9999999983139105e-6,14026,2,null,null,null,null,null,null,null],[8.56400583870709e-6,7.999999999341867e-6,18698,3,null,null,null,null,null,null,null],[1.0866002412512898e-5,1.0999999998873022e-5,23874,4,null,null,null,null,null,null,null],[1.3115000911056995e-5,1.2999999999152578e-5,28860,5,null,null,null,null,null,null,null],[1.559098018333316e-5,1.5999999998683734e-5,34492,6,null,null,null,null,null,null,null],[1.771599636413157e-5,1.699999999971169e-5,38994,7,null,null,null,null,null,null,null],[2.0154984667897224e-5,2.100000000204716e-5,44484,8,null,null,null,null,null,null,null],[2.247901284135878e-5,2.19999999995224e-5,49484,9,null,null,null,null,null,null,null],[2.4684995878487825e-5,2.4999999999053557e-5,54322,10,null,null,null,null,null,null,null],[2.7000001864507794e-5,2.6000000000081513e-5,59580,11,null,null,null,null,null,null,null],[2.9360002372413874e-5,3.0000000000640625e-5,64772,12,null,null,null,null,null,null,null],[3.161598579026759e-5,3.1999999999143824e-5,69726,13,null,null,null,null,null,null,null],[3.410899080336094e-5,3.400000000119974e-5,75208,14,null,null,null,null,null,null,null],[3.648200072348118e-5,3.600000000147929e-5,80404,15,null,null,null,null,null,null,null],[3.861100412905216e-5,3.899999999923409e-5,85242,16,null,null,null,null,null,null,null],[4.0942017221823335e-5,4.2000000000541604e-5,90026,17,null,null,null,null,null,null,null],[4.3231004383414984e-5,4.300000000156956e-5,95256,18,null,null,null,null,null,null,null],[4.5541994040831923e-5,4.599999999932436e-5,100604,19,null,null,null,null,null,null,null],[6.048599607311189e-5,6.100000000053285e-5,135170,20,null,null,null,null,null,null,null],[5.038900417275727e-5,5.100000000091143e-5,110876,21,null,null,null,null,null,null,null],[5.247999797575176e-5,5.2000000001939384e-5,115660,22,null,null,null,null,null,null,null],[5.473001510836184e-5,5.499999999969418e-5,120400,23,null,null,null,null,null,null,null],[5.947801400907338e-5,6.000000000128125e-5,130906,25,null,null,null,null,null,null,null],[6.179101183079183e-5,6.20000000015608e-5,136292,26,null,null,null,null,null,null,null],[6.399900303222239e-5,6.400000000184036e-5,140834,27,null,null,null,null,null,null,null],[6.636200123466551e-5,6.699999999959516e-5,146108,28,null,null,null,null,null,null,null],[8.053000783547759e-5,7.999999999874774e-5,197550,30,null,null,null,null,null,null,null],[7.612298941239715e-5,7.600000000174134e-5,167449,31,null,null,null,null,null,null,null],[1.3218598905950785e-4,1.3199999999891077e-4,291486,33,null,null,null,null,null,null,null],[8.550498750992119e-5,8.600000000136276e-5,188223,35,null,null,null,null,null,null,null],[8.784799138084054e-5,8.79999999980896e-5,193612,36,null,null,null,null,null,null,null],[9.27560031414032e-5,9.300000000145303e-5,204376,38,null,null,null,null,null,null,null],[1.0629199096001685e-4,1.0599999999882925e-4,236083,40,null,null,null,null,null,null,null],[1.0212001507170498e-4,1.029999999992981e-4,224758,42,null,null,null,null,null,null,null],[1.0692101204767823e-4,1.0699999999808085e-4,235573,44,null,null,null,null,null,null,null],[1.1425901902839541e-4,1.1399999999994748e-4,251653,47,null,null,null,null,null,null,null],[1.2689499999396503e-4,1.2699999999910005e-4,281569,49,null,null,null,null,null,null,null],[1.262580044567585e-4,1.259999999980721e-4,278153,52,null,null,null,null,null,null,null],[1.7646601190790534e-4,1.7800000000001148e-4,389226,54,null,null,null,null,null,null,null],[1.4653097605332732e-4,1.459999999990913e-4,323374,57,null,null,null,null,null,null,null],[1.5397000242955983e-4,1.5499999999946112e-4,341224,60,null,null,null,null,null,null,null],[1.528009888716042e-4,1.5200000000170633e-4,336943,63,null,null,null,null,null,null,null],[1.598570088390261e-4,1.600000000010482e-4,352477,66,null,null,null,null,null,null,null],[1.7703999765217304e-4,1.7700000000075988e-4,392036,69,null,null,null,null,null,null,null],[1.7054399359039962e-4,1.7000000000066962e-4,376114,73,null,null,null,null,null,null,null],[1.7806902178563178e-4,1.7800000000001148e-4,392362,76,null,null,null,null,null,null,null],[1.936939952429384e-4,1.9300000000121997e-4,428626,80,null,null,null,null,null,null,null],[1.9629302551038563e-4,1.9600000000075113e-4,432900,84,null,null,null,null,null,null,null],[2.1560300956480205e-4,2.1599999999999397e-4,476902,89,null,null,null,null,null,null,null],[2.1720101358368993e-4,2.1700000000102193e-4,478940,93,null,null,null,null,null,null,null],[2.3577900719828904e-4,2.3600000000101318e-4,521462,98,null,null,null,null,null,null,null],[2.4000598932616413e-4,2.3999999999979593e-4,529060,103,null,null,null,null,null,null,null],[2.689130196813494e-4,2.6899999999763224e-4,595922,108,null,null,null,null,null,null,null],[2.6383798103779554e-4,2.6500000000062585e-4,581164,113,null,null,null,null,null,null,null],[2.848590083885938e-4,2.849999999998687e-4,629544,119,null,null,null,null,null,null,null],[2.9143900610506535e-4,2.90999999998931e-4,642830,125,null,null,null,null,null,null,null],[3.314010100439191e-4,3.32000000000221e-4,732346,131,null,null,null,null,null,null,null],[3.408030024729669e-4,3.409999999988145e-4,752136,138,null,null,null,null,null,null,null],[3.719259984791279e-4,3.7200000000048306e-4,838015,144,null,null,null,null,null,null,null],[3.3201402402482927e-4,3.3200000000199736e-4,732194,152,null,null,null,null,null,null,null],[3.535610157996416e-4,3.5400000000151977e-4,780606,159,null,null,null,null,null,null,null],[3.8795600994490087e-4,3.879999999991668e-4,856874,167,null,null,null,null,null,null,null],[4.030359850730747e-4,4.029999999985989e-4,888754,176,null,null,null,null,null,null,null],[4.101049853488803e-4,4.089999999994376e-4,904480,185,null,null,null,null,null,null,null],[4.5459700049832463e-4,4.5499999999876195e-4,1002900,194,null,null,null,null,null,null,null],[4.5129001955501735e-4,4.509999999999792e-4,995144,204,null,null,null,null,null,null,null],[4.8493797658011317e-4,4.849999999994026e-4,1070060,214,null,null,null,null,null,null,null],[5.080150149296969e-4,5.079999999981766e-4,1120512,224,null,null,null,null,null,null,null],[5.283710197545588e-4,5.289999999984474e-4,1165972,236,null,null,null,null,null,null,null],[5.59504987904802e-4,5.60000000000116e-4,1233404,247,null,null,null,null,null,null,null],[5.874079943168908e-4,5.870000000012254e-4,1295364,260,null,null,null,null,null,null,null],[6.147419917397201e-4,6.140000000005585e-4,1354582,273,null,null,null,null,null,null,null],[6.551709957420826e-4,6.559999999993238e-4,1444154,287,null,null,null,null,null,null,null],[6.678270001430064e-4,6.679999999992248e-4,1472302,301,null,null,null,null,null,null,null],[8.210859959945083e-4,7.880000000000109e-4,1813802,316,null,null,null,null,null,null,null],[7.803000044077635e-4,7.809999999999206e-4,1719170,332,null,null,null,null,null,null,null],[8.215210109483451e-4,8.219999999994343e-4,1810584,348,null,null,null,null,null,null,null],[8.625930058769882e-4,8.620000000014727e-4,1900320,366,null,null,null,null,null,null,null],[9.034019894897938e-4,9.0299999999921e-4,1989990,384,null,null,null,null,null,null,null],[9.107229998335242e-4,9.109999999985519e-4,2006526,403,null,null,null,null,null,null,null],[9.354469948448241e-4,9.350000000019065e-4,2060650,424,null,null,null,null,null,null,null],[9.821320127230138e-4,9.830000000015104e-4,2163700,445,null,null,null,null,null,null,null],[1.0278359986841679e-3,1.0279999999998068e-3,2264884,467,null,null,null,null,null,null,null],[1.083791023120284e-3,1.084000000000529e-3,2387530,490,null,null,null,null,null,null,null],[1.1553829826880246e-3,1.1560000000017112e-3,2546456,515,null,null,null,null,null,null,null],[1.285703998291865e-3,1.2860000000003424e-3,2833710,541,null,null,null,null,null,null,null],[1.3429950049612671e-3,1.3430000000003162e-3,2957990,568,null,null,null,null,null,null,null],[1.407958014169708e-3,1.4079999999996318e-3,3103416,596,null,null,null,null,null,null,null],[1.47148099495098e-3,1.4720000000014721e-3,3242800,626,null,null,null,null,null,null,null],[1.5448569902218878e-3,1.5459999999993812e-3,3402196,657,null,null,null,null,null,null,null],[1.6275400121230632e-3,1.6280000000001849e-3,3584376,690,null,null,null,null,null,null,null],[1.7233329999726266e-3,1.7250000000004206e-3,3797122,725,null,null,null,null,null,null,null],[1.676952000707388e-3,1.6770000000008167e-3,3692250,761,null,null,null,null,null,null,null],[1.8132149998564273e-3,1.8129999999985102e-3,3992996,799,null,null,null,null,null,null,null],[1.8865060119424015e-3,1.8860000000007204e-3,4153276,839,null,null,null,null,null,null,null],[2.0333520078565925e-3,2.0329999999990633e-3,4477530,881,null,null,null,null,null,null,null],[2.186147990869358e-3,2.1860000000000213e-3,4812700,925,null,null,null,null,null,null,null],[2.234531013527885e-3,2.2349999999988768e-3,4920346,972,null,null,null,null,null,null,null],[2.2437220031861216e-3,2.2439999999992466e-3,4939532,1020,null,null,null,null,null,null,null],[2.3632259981241077e-3,2.3640000000000327e-3,5202712,1071,null,null,null,null,null,null,null],[2.4740290245972574e-3,2.473999999999421e-3,5446956,1125,null,null,null,null,null,null,null],[2.6580050180200487e-3,2.658999999999523e-3,5854054,1181,null,null,null,null,null,null,null],[2.760325005510822e-3,2.7609999999995694e-3,6078928,1240,null,null,null,null,null,null,null],[2.889148978283629e-3,2.888999999997921e-3,6368080,1302,null,null,null,null,null,null,null],[3.0587739893235266e-3,3.059000000000367e-3,6741256,1367,null,null,null,null,null,null,null],[3.172787983203307e-3,3.1740000000013424e-3,6991352,1436,null,null,null,null,null,null,null],[3.3469090121798217e-3,3.3479999999990184e-3,7374200,1507,null,null,null,null,null,null,null],[3.7601999938488007e-3,3.76000000000154e-3,8290968,1583,null,null,null,null,null,null,null],[3.717967978445813e-3,3.71900000000025e-3,8198438,1662,null,null,null,null,null,null,null],[3.8702079909853637e-3,3.871000000001956e-3,8531532,1745,null,null,null,null,null,null,null],[4.957520985044539e-3,4.925000000000068e-3,10914740,1832,null,null,null,null,null,null,null],[4.731969995191321e-3,4.732999999999876e-3,10417106,1924,null,null,null,null,null,null,null],[6.260136986384168e-3,6.259000000001791e-3,13773342,2020,null,null,null,null,null,null,null],[4.586497001582757e-3,4.585999999999757e-3,10093508,2121,null,null,null,null,null,null,null],[4.863178008235991e-3,4.862999999998507e-3,10702212,2227,null,null,null,null,null,null,null],[5.051475978689268e-3,5.051999999999168e-3,11116046,2339,null,null,null,null,null,null,null],[5.2665589901153e-3,5.266999999999911e-3,11589664,2456,null,null,null,null,null,null,null],[5.532464012503624e-3,5.532000000002313e-3,12173910,2579,null,null,null,null,null,null,null],[1.221357801114209e-2,1.2194000000000926e-2,26883372,2708,null,null,null,null,null,null,null],[7.677442015847191e-3,7.676999999999268e-3,16891160,2843,null,null,null,null,null,null,null],[6.515315995784476e-3,6.5099999999986835e-3,14338932,2985,null,null,null,null,null,null,null],[6.838730012532324e-3,6.838999999999373e-3,15048110,3134,null,null,null,null,null,null,null],[7.074805005686358e-3,7.0750000000003865e-3,15568760,3291,null,null,null,null,null,null,null],[7.407514000078663e-3,7.407999999999859e-3,16299468,3456,null,null,null,null,null,null,null],[1.2365557020530105e-2,1.2347000000000108e-2,27218076,3629,null,null,null,null,null,null,null],[1.487063302192837e-2,1.4864000000001099e-2,32717934,3810,null,null,null,null,null,null,null],[8.677542995428666e-3,8.677999999999741e-3,19093038,4001,null,null,null,null,null,null,null],[1.3501470995834097e-2,1.3498999999997707e-2,29716954,4201,null,null,null,null,null,null,null],[1.6902139992453158e-2,1.689500000000166e-2,37186708,4411,null,null,null,null,null,null,null],[1.009635700029321e-2,1.0097999999999274e-2,22214776,4631,null,null,null,null,null,null,null],[1.03957150131464e-2,1.0395999999998295e-2,22873830,4863,null,null,null,null,null,null,null],[1.0963571985485032e-2,1.0964999999998781e-2,24122952,5106,null,null,null,null,null,null,null],[1.8303408025531098e-2,1.829900000000073e-2,40274822,5361,null,null,null,null,null,null,null],[1.2116741010686383e-2,1.2115999999998905e-2,26659714,5629,null,null,null,null,null,null,null],[1.27997369854711e-2,1.2799000000001115e-2,28162698,5911,null,null,null,null,null,null,null],[1.3315553980646655e-2,1.3314999999998633e-2,29297156,6207,null,null,null,null,null,null,null],[1.400301099056378e-2,1.3990999999998976e-2,30810540,6517,null,null,null,null,null,null,null],[2.1235216001514345e-2,2.1203999999999112e-2,46723796,6843,null,null,null,null,null,null,null],[2.221076699788682e-2,2.2181999999999036e-2,48871974,7185,null,null,null,null,null,null,null],[1.670748699689284e-2,1.666799999999924e-2,36761724,7544,null,null,null,null,null,null,null],[2.1554483013460413e-2,2.1551000000000542e-2,47434276,7921,null,null,null,null,null,null,null],[2.0073012012289837e-2,2.0073000000000008e-2,44161128,8318,null,null,null,null,null,null,null],[1.8873328022891656e-2,1.887299999999925e-2,41524274,8733,null,null,null,null,null,null,null],[1.968980100355111e-2,1.9689999999998875e-2,43320782,9170,null,null,null,null,null,null,null],[2.0864435995463282e-2,2.086399999999955e-2,45904880,9629,null,null,null,null,null,null,null],[2.207880499190651e-2,2.2078999999999738e-2,48576264,10110,null,null,null,null,null,null,null],[2.6395068009151146e-2,2.6391000000000275e-2,58089377,10616,null,null,null,null,null,null,null],[2.7240916999289766e-2,2.7240999999998294e-2,59929207,11146,null,null,null,null,null,null,null],[3.516917198430747e-2,3.511600000000037e-2,77384600,11704,null,null,null,null,null,null,null],[3.7458534992765635e-2,3.742699999999921e-2,82416984,12289,null,null,null,null,null,null,null],[3.291460601030849e-2,3.2906000000000546e-2,72423722,12903,null,null,null,null,null,null,null],[3.6155059991870075e-2,3.614899999999821e-2,79543576,13549,null,null,null,null,null,null,null],[4.1628117993241176e-2,4.156500000000207e-2,91594268,14226,null,null,null,null,null,null,null],[3.4839631989598274e-2,3.483499999999928e-2,76648000,14937,null,null,null,null,null,null,null],[4.0510771999834105e-2,4.0502000000001814e-2,89145186,15684,null,null,null,null,null,null,null],[4.9066898005548865e-2,4.8993000000001174e-2,107970840,16469,null,null,null,null,null,null,null],[4.996129099163227e-2,4.992999999999981e-2,109914860,17292,null,null,null,null,null,null,null],[4.562150500714779e-2,4.5588000000000406e-2,100373992,18157,null,null,null,null,null,null,null],[5.468654099968262e-2,5.462799999999923e-2,120316508,19065,null,null,null,null,null,null,null],[5.1227504009148106e-2,5.1217999999998653e-2,112706366,20018,null,null,null,null,null,null,null],[6.129929900635034e-2,6.123000000000012e-2,134874875,21019,null,null,null,null,null,null,null],[5.15769770136103e-2,5.157200000000195e-2,113468473,22070,null,null,null,null,null,null,null],[5.767232697689906e-2,5.761500000000197e-2,126885276,23173,null,null,null,null,null,null,null],[6.247224801336415e-2,6.2433999999999656e-2,137444260,24332,null,null,null,null,null,null,null],[7.516540100914426e-2,7.508400000000037e-2,165396430,25549,null,null,null,null,null,null,null],[7.343321599182673e-2,7.339199999999835e-2,161552540,26826,null,null,null,null,null,null,null],[6.830699602141976e-2,6.825999999999866e-2,150281128,28167,null,null,null,null,null,null,null],[7.023733499227092e-2,7.02039999999986e-2,154528280,29576,null,null,null,null,null,null,null],[8.683017798466608e-2,8.651099999999978e-2,191040034,31054,null,null,null,null,null,null,null],[7.274429200333543e-2,7.274400000000014e-2,160039058,32607,null,null,null,null,null,null,null],[8.211532200220972e-2,8.206700000000033e-2,180662670,34238,null,null,null,null,null,null,null],[8.70943600020837e-2,8.707700000000074e-2,191615170,35950,null,null,null,null,null,null,null],[8.197724600904621e-2,8.196399999999926e-2,180354382,37747,null,null,null,null,null,null,null],[9.827196502010338e-2,9.818399999999983e-2,216206122,39634,null,null,null,null,null,null,null],[0.10549629898741841,0.10542699999999883,232110622,41616,null,null,null,null,null,null,null],[0.1122115509933792,0.11212699999999742,246868720,43697,null,null,null,null,null,null,null],[0.11293111098348163,0.11289100000000118,248455058,45882,null,null,null,null,null,null,null],[0.12375319001148455,0.12366899999999958,272265397,48176,null,null,null,null,null,null,null],[0.13845999402110465,0.138423999999997,304616934,50585,null,null,null,null,null,null,null],[0.133371153002372,0.1332810000000002,293422502,53114,null,null,null,null,null,null,null],[0.14320144298835658,0.14300400000000124,315050006,55770,null,null,null,null,null,null,null],[0.14068631900590844,0.14066700000000054,309516856,58558,null,null,null,null,null,null,null],[0.1589633270050399,0.15887000000000384,349725216,61486,null,null,null,null,null,null,null],[0.2067215590213891,0.2065960000000011,454803626,64561,null,null,null,null,null,null,null],[0.21341353200841695,0.21326900000000037,469514302,67789,null,null,null,null,null,null,null],[0.1625783139897976,0.16252099999999814,357677982,71178,null,null,null,null,null,null,null],[0.18611083400901407,0.18606000000000122,409451766,74737,null,null,null,null,null,null,null],[0.19076346699148417,0.1907389999999971,419684952,78474,null,null,null,null,null,null,null],[0.2057581989793107,0.20567599999999686,452674120,82398,null,null,null,null,null,null,null],[0.23152257202309556,0.231344,509357080,86518,null,null,null,null,null,null,null],[0.23171886400086805,0.23154100000000355,509788352,90843,null,null,null,null,null,null,null]]},{"reportAnalysis":{"anMean":{"estUpperBound":6.668634037917654e-6,"estLowerBound":6.347714383730146e-6,"estPoint":6.496202868182492e-6,"estConfidenceLevel":0.95},"anRegress":[{"regRSquare":{"estUpperBound":0.9955136915306878,"estLowerBound":0.9915361738646395,"estPoint":0.9933084622105373,"estConfidenceLevel":0.95},"regResponder":"time","regCoeffs":{"y":{"estUpperBound":1.604926501967662e-4,"estLowerBound":-8.528224619350055e-4,"estPoint":-3.893843475459815e-4,"estConfidenceLevel":0.95},"iters":{"estUpperBound":6.807397769730118e-6,"estLowerBound":6.364300170847571e-6,"estPoint":6.615936525692066e-6,"estConfidenceLevel":0.95}}}],"anStdDev":{"estUpperBound":6.202125623223447e-7,"estLowerBound":4.0420784296930194e-7,"estPoint":4.919233380857326e-7,"estConfidenceLevel":0.95},"anOutlierVar":{"ovFraction":0.7876656352417168,"ovDesc":"severe","ovEffect":"Severe"},"anOverhead":3.161534180001628e-6},"reportKDEs":[{"kdeValues":[5.516456561449886e-6,5.536462667632315e-6,5.556468773814743e-6,5.576474879997171e-6,5.5964809861796e-6,5.616487092362028e-6,5.636493198544457e-6,5.6564993047268855e-6,5.676505410909314e-6,5.696511517091742e-6,5.7165176232741705e-6,5.736523729456599e-6,5.756529835639028e-6,5.776535941821456e-6,5.796542048003884e-6,5.816548154186313e-6,5.836554260368741e-6,5.85656036655117e-6,5.876566472733598e-6,5.896572578916027e-6,5.916578685098455e-6,5.936584791280883e-6,5.956590897463312e-6,5.9765970036457406e-6,5.996603109828169e-6,6.016609216010597e-6,6.0366153221930255e-6,6.056621428375454e-6,6.076627534557883e-6,6.096633640740311e-6,6.11663974692274e-6,6.136645853105168e-6,6.156651959287596e-6,6.176658065470025e-6,6.1966641716524534e-6,6.216670277834882e-6,6.23667638401731e-6,6.256682490199738e-6,6.276688596382167e-6,6.2966947025645956e-6,6.316700808747024e-6,6.336706914929453e-6,6.356713021111881e-6,6.376719127294309e-6,6.396725233476738e-6,6.416731339659166e-6,6.436737445841595e-6,6.456743552024023e-6,6.476749658206451e-6,6.49675576438888e-6,6.5167618705713085e-6,6.536767976753737e-6,6.556774082936166e-6,6.576780189118594e-6,6.596786295301022e-6,6.616792401483451e-6,6.636798507665879e-6,6.656804613848308e-6,6.6768107200307355e-6,6.696816826213164e-6,6.716822932395593e-6,6.736829038578021e-6,6.75683514476045e-6,6.7768412509428785e-6,6.796847357125307e-6,6.816853463307735e-6,6.8368595694901635e-6,6.856865675672592e-6,6.876871781855021e-6,6.896877888037448e-6,6.916883994219877e-6,6.936890100402306e-6,6.956896206584734e-6,6.976902312767163e-6,6.996908418949591e-6,7.01691452513202e-6,7.036920631314448e-6,7.056926737496876e-6,7.076932843679305e-6,7.0969389498617335e-6,7.116945056044161e-6,7.13695116222659e-6,7.1569572684090185e-6,7.176963374591447e-6,7.196969480773876e-6,7.216975586956304e-6,7.236981693138733e-6,7.256987799321161e-6,7.276993905503589e-6,7.297000011686018e-6,7.317006117868446e-6,7.337012224050875e-6,7.357018330233303e-6,7.377024436415731e-6,7.39703054259816e-6,7.4170366487805886e-6,7.437042754963017e-6,7.457048861145446e-6,7.477054967327874e-6,7.497061073510302e-6,7.517067179692731e-6,7.537073285875159e-6,7.557079392057587e-6,7.577085498240016e-6,7.597091604422444e-6,7.617097710604873e-6,7.637103816787301e-6,7.65710992296973e-6,7.677116029152159e-6,7.697122135334587e-6,7.717128241517016e-6,7.737134347699443e-6,7.757140453881873e-6,7.7771465600643e-6,7.797152666246729e-6,7.817158772429157e-6,7.837164878611586e-6,7.857170984794014e-6,7.877177090976443e-6,7.897183197158872e-6,7.9171893033413e-6,7.937195409523729e-6,7.957201515706156e-6,7.977207621888586e-6,7.997213728071013e-6,8.017219834253441e-6,8.03722594043587e-6,8.057232046618299e-6],"kdeType":"time","kdePDF":[365084.64335106785,365955.49000460893,367690.6797673853,370277.2877736251,373696.1305380558,377922.0056999675,382924.0037781107,388665.8854552148,395106.51664555265,402200.35255211394,409897.9611181589,418146.57573942543,426890.6668376662,436072.5219040203,445632.82389391947,455511.2183772528,465646.8605945285,475978.9345112456,486447.1370630893,496992.1220043202,507555.89906917716,518082.1854886137,528516.7082305428,538807.4566113031,548904.8861232334,558762.0754064709,568334.8392364082,577581.8011816988,586464.4301979609,594947.0458525838,602996.7971260689,610583.6198109,617680.1774414472,624261.7904538356,630306.3579130819,635794.2756787611,640708.3543346924,645033.7396079227,648757.8373728646,651870.244701885,654362.6878061797,656228.967130115,657464.909335084,658068.3254487243,658038.9740719376,657378.5282359902,656090.544288011,654180.4310554129,651655.4174951238,648524.517066855,644798.4871735352,640489.7821779322,635612.4987223883,630182.3123382808,624216.4046224251,617733.3805687939,610753.1759651479,603296.9550859929,595386.9992264116,587046.5869177949,578299.8669386071,569171.7254748241,559687.6489895955,549873.5845255502,539755.7992817654,529360.7413781392,518714.9037404172,507844.6930087706,496776.3052914023,485535.61045374046,474148.0464555006,462638.52502635546,451031.34971078974,439350.14702059305,427617.81111647346,415856.46210739476,404087.4177165369,392331.17772676033,380607.4202962133,368935.0089371603,357332.0086879874,345815.7097894398,334402.65700934996,323108.68265251216,311948.94124848803,300937.94393305253,290089.59062884044,279417.1982857856,268933.5236574748,258650.77935900452,248580.6422662301,238734.2536648964,229122.21092871844,219754.55088508682,210640.72540199192,201789.57008667773,193209.26731245476,184907.30507346542,176890.4333977947,169164.62021918147,161735.00871083967,154605.878118388,147780.61009186218,141261.66241126214,135050.55183037923,129147.84753638429,123553.1764462819,118265.24124583355,113281.851732915,108599.96966709575,104215.76696218607,100124.69669994565,96321.57610163518,92800.68027911366,89555.84530677927,86580.5789163404,83868.17692294557,81411.84334669443,79204.81209937707,77240.46806235048,75512.46538622786,74014.84089396993,72742.1205624549,71689.41718959752,70852.51751998924,70227.95729717045,69813.08293027095,69606.09870228493]}],"reportKeys":["time","cpuTime","cycles","iters","allocated","numGcs","bytesCopied","mutatorWallSeconds","mutatorCpuSeconds","gcWallSeconds","gcCpuSeconds"],"reportNumber":3,"reportName":"fib/11","reportOutliers":{"highSevere":0,"highMild":0,"lowMild":0,"samplesSeen":42,"lowSevere":0},"reportMeasured":[[1.19420001283288e-5,1.100000000064938e-5,16944,1,null,null,null,null,null,null,null],[1.2820994015783072e-5,1.4000000003733248e-5,28392,2,null,null,null,null,null,null,null],[1.8277991330251098e-5,1.8000000000739647e-5,39682,3,null,null,null,null,null,null,null],[2.3559987312182784e-5,2.3000000002326715e-5,51722,4,null,null,null,null,null,null,null],[2.9238988645374775e-5,2.9000000001389026e-5,64328,5,null,null,null,null,null,null,null],[3.453998942859471e-5,3.499999999689862e-5,76036,6,null,null,null,null,null,null,null],[4.0396000258624554e-5,4.0000000002038405e-5,88826,7,null,null,null,null,null,null,null],[4.578699008561671e-5,4.500000000007276e-5,100714,8,null,null,null,null,null,null,null],[5.118001718074083e-5,5.200000000371574e-5,112756,9,null,null,null,null,null,null,null],[5.6882010539993644e-5,5.699999999819738e-5,125390,10,null,null,null,null,null,null,null],[6.255999323911965e-5,6.199999999623174e-5,137390,11,null,null,null,null,null,null,null],[7.794398698024452e-5,7.799999999846818e-5,173504,12,null,null,null,null,null,null,null],[7.340399315580726e-5,7.299999999688112e-5,161570,13,null,null,null,null,null,null,null],[7.913200533948839e-5,7.899999999949614e-5,174244,14,null,null,null,null,null,null,null],[8.437101496383548e-5,8.39999999975305e-5,185760,15,null,null,null,null,null,null,null],[9.023700840771198e-5,9.000000000014552e-5,198712,16,null,null,null,null,null,null,null],[1.033990120049566e-4,1.0400000000032605e-4,229586,17,null,null,null,null,null,null,null],[1.11757981358096e-4,1.1300000000247223e-4,246470,18,null,null,null,null,null,null,null],[1.0994198964908719e-4,1.0899999999836041e-4,241928,19,null,null,null,null,null,null,null],[1.1555801029317081e-4,1.1600000000200339e-4,254432,20,null,null,null,null,null,null,null],[1.28689018310979e-4,1.2899999999760325e-4,284934,21,null,null,null,null,null,null,null],[1.2716499622911215e-4,1.2699999999910005e-4,280038,22,null,null,null,null,null,null,null],[1.3242900604382157e-4,1.3200000000068712e-4,291694,23,null,null,null,null,null,null,null],[1.4399300562217832e-4,1.44999999996287e-4,317112,25,null,null,null,null,null,null,null],[1.5634798910468817e-4,1.5600000000048908e-4,346348,26,null,null,null,null,null,null,null],[1.554309856146574e-4,1.5499999999946112e-4,342524,27,null,null,null,null,null,null,null],[1.6803698963485658e-4,1.679999999986137e-4,371502,28,null,null,null,null,null,null,null],[1.7268001101911068e-4,1.7199999999917281e-4,380334,30,null,null,null,null,null,null,null],[1.779469894245267e-4,1.7799999999823513e-4,392058,31,null,null,null,null,null,null,null],[1.9628097652457654e-4,1.9700000000000273e-4,433818,33,null,null,null,null,null,null,null],[2.0092999329790473e-4,1.9999999999953388e-4,442772,35,null,null,null,null,null,null,null],[2.1330598974600434e-4,2.1399999999971442e-4,471262,36,null,null,null,null,null,null,null],[2.1800599643029273e-4,2.1799999999672082e-4,480482,38,null,null,null,null,null,null,null],[2.3897402570582926e-4,2.3900000000054433e-4,528306,40,null,null,null,null,null,null,null],[2.4080401635728776e-4,2.420000000036282e-4,530676,42,null,null,null,null,null,null,null],[2.5893800193443894e-4,2.589999999997872e-4,571768,44,null,null,null,null,null,null,null],[2.997240226250142e-4,3.010000000003288e-4,663250,47,null,null,null,null,null,null,null],[3.089199890382588e-4,3.090000000049997e-4,682012,49,null,null,null,null,null,null,null],[3.097500011790544e-4,3.109999999999502e-4,683756,52,null,null,null,null,null,null,null],[3.156309830956161e-4,3.149999999969566e-4,696594,54,null,null,null,null,null,null,null],[3.2612000359222293e-4,3.260000000011587e-4,718494,57,null,null,null,null,null,null,null],[3.49440990248695e-4,3.4899999999638e-4,771438,60,null,null,null,null,null,null,null],[3.667880082502961e-4,3.660000000031971e-4,809170,63,null,null,null,null,null,null,null],[3.8382000639103353e-4,3.85000000001412e-4,846746,66,null,null,null,null,null,null,null],[4.006630042567849e-4,4.010000000000957e-4,883716,69,null,null,null,null,null,null,null],[4.2386798304505646e-4,4.230000000013945e-4,934500,73,null,null,null,null,null,null,null],[4.405810032039881e-4,4.409999999985814e-4,971460,76,null,null,null,null,null,null,null],[4.6515799476765096e-4,4.6599999999941133e-4,1025564,80,null,null,null,null,null,null,null],[4.7230199561454356e-4,4.7199999999847364e-4,1041266,84,null,null,null,null,null,null,null],[4.991129972040653e-4,5.000000000023874e-4,1100296,89,null,null,null,null,null,null,null],[5.213140102569014e-4,5.210000000026582e-4,1149148,93,null,null,null,null,null,null,null],[5.576809926424176e-4,5.5799999999806e-4,1229902,98,null,null,null,null,null,null,null],[5.952950159553438e-4,5.950000000005673e-4,1311972,103,null,null,null,null,null,null,null],[6.037959828972816e-4,6.040000000027135e-4,1330994,108,null,null,null,null,null,null,null],[6.543149938806891e-4,6.540000000008206e-4,1441638,113,null,null,null,null,null,null,null],[6.645909743383527e-4,6.649999999979173e-4,1464412,119,null,null,null,null,null,null,null],[7.063759840093553e-4,7.070000000020116e-4,1556890,125,null,null,null,null,null,null,null],[7.781200110912323e-4,7.780000000003895e-4,1715126,131,null,null,null,null,null,null,null],[7.939600036479533e-4,7.939999999990732e-4,1749020,138,null,null,null,null,null,null,null],[8.328559924848378e-4,8.330000000036364e-4,1835106,144,null,null,null,null,null,null,null],[9.031660156324506e-4,9.040000000020143e-4,1989646,152,null,null,null,null,null,null,null],[8.91278003109619e-4,8.92000000000337e-4,1963454,159,null,null,null,null,null,null,null],[9.401720017194748e-4,9.400000000034936e-4,2070960,167,null,null,null,null,null,null,null],[1.0015619918704033e-3,1.0019999999997253e-3,2206250,176,null,null,null,null,null,null,null],[1.0348139912821352e-3,1.0349999999981208e-3,2279112,185,null,null,null,null,null,null,null],[1.0906099923886359e-3,1.089999999997815e-3,2402064,194,null,null,null,null,null,null,null],[1.1836999910883605e-3,1.1849999999995475e-3,2606210,204,null,null,null,null,null,null,null],[1.2615190062206239e-3,1.2590000000010093e-3,2786174,214,null,null,null,null,null,null,null],[2.7388250164221972e-3,2.7400000000028513e-3,6037129,224,null,null,null,null,null,null,null],[2.820530004100874e-3,2.8200000000033754e-3,6210580,236,null,null,null,null,null,null,null],[2.4992660037241876e-3,2.4989999999966983e-3,5502115,247,null,null,null,null,null,null,null],[2.5506530073471367e-3,2.549999999999386e-3,5616196,260,null,null,null,null,null,null,null],[2.2970070131123066e-3,2.2969999999986612e-3,5057468,273,null,null,null,null,null,null,null],[1.6899800102692097e-3,1.6899999999999693e-3,3719422,287,null,null,null,null,null,null,null],[1.6853169945534319e-3,1.685000000001935e-3,3710062,301,null,null,null,null,null,null,null],[1.7685160273686051e-3,1.7689999999959127e-3,3893132,316,null,null,null,null,null,null,null],[1.8841699929907918e-3,1.8840000000039936e-3,4148350,332,null,null,null,null,null,null,null],[1.967624993994832e-3,1.968000000001524e-3,4331382,348,null,null,null,null,null,null,null],[2.070051006739959e-3,2.071000000000822e-3,4557810,366,null,null,null,null,null,null,null],[2.2437869920395315e-3,2.244000000001023e-3,4939180,384,null,null,null,null,null,null,null],[2.3195589892566204e-3,2.3200000000045407e-3,5105946,403,null,null,null,null,null,null,null],[2.407151012448594e-3,2.4070000000016023e-3,5299018,424,null,null,null,null,null,null,null],[2.4934629909694195e-3,2.493999999998664e-3,5488202,445,null,null,null,null,null,null,null],[2.6152189821004868e-3,2.6149999999987017e-3,5756172,467,null,null,null,null,null,null,null],[2.7877530083060265e-3,2.7879999999989025e-3,6135626,490,null,null,null,null,null,null,null],[2.930979011580348e-3,2.9309999999966863e-3,6451144,515,null,null,null,null,null,null,null],[3.0264430097304285e-3,3.026999999999447e-3,6660530,541,null,null,null,null,null,null,null],[3.2948110019788146e-3,3.294000000000352e-3,7251814,568,null,null,null,null,null,null,null],[6.4053990063257515e-3,6.394000000000233e-3,14112053,596,null,null,null,null,null,null,null],[6.478453986346722e-3,6.478999999998791e-3,14255058,626,null,null,null,null,null,null,null],[4.399085009936243e-3,4.400000000000404e-3,9679508,657,null,null,null,null,null,null,null],[3.958804998546839e-3,3.9589999999982695e-3,8695766,690,null,null,null,null,null,null,null],[4.216228990117088e-3,4.216999999997029e-3,9279334,725,null,null,null,null,null,null,null],[4.354687000159174e-3,4.35399999999575e-3,9582880,761,null,null,null,null,null,null,null],[4.501119983615354e-3,4.5010000000011985e-3,9905912,799,null,null,null,null,null,null,null],[4.693536990089342e-3,4.694000000000642e-3,10328432,839,null,null,null,null,null,null,null],[5.079226975794882e-3,5.079000000002054e-3,11177696,881,null,null,null,null,null,null,null],[5.232052004430443e-3,5.232000000003012e-3,11513176,925,null,null,null,null,null,null,null],[5.49678600509651e-3,5.4970000000018615e-3,12096228,972,null,null,null,null,null,null,null],[5.7394739997107536e-3,5.738999999998384e-3,12629984,1020,null,null,null,null,null,null,null],[1.1832910007797182e-2,1.1796000000003914e-2,26047836,1071,null,null,null,null,null,null,null],[8.19906999822706e-3,8.198999999997625e-3,18038404,1125,null,null,null,null,null,null,null],[1.2609456985956058e-2,1.2579999999999814e-2,27754164,1181,null,null,null,null,null,null,null],[7.599675009259954e-3,7.600000000000051e-3,16720070,1240,null,null,null,null,null,null,null],[1.6028228012146428e-2,1.601399999999842e-2,35279046,1302,null,null,null,null,null,null,null],[1.1054695001803339e-2,1.1053999999997899e-2,24319994,1367,null,null,null,null,null,null,null],[8.091145980870351e-3,8.091000000000292e-3,17803348,1436,null,null,null,null,null,null,null],[8.520992007106543e-3,8.49099999999936e-3,18749474,1507,null,null,null,null,null,null,null],[8.926548005547374e-3,8.926999999996355e-3,19641570,1583,null,null,null,null,null,null,null],[9.448324999539182e-3,9.426000000001267e-3,20790340,1662,null,null,null,null,null,null,null],[9.836914017796516e-3,9.837000000000984e-3,21644446,1745,null,null,null,null,null,null,null],[1.0448998975334689e-2,1.044899999999771e-2,22991020,1832,null,null,null,null,null,null,null],[1.1087464983575046e-2,1.1088000000000875e-2,24395736,1924,null,null,null,null,null,null,null],[1.1767855001380667e-2,1.1768999999997476e-2,25892502,2020,null,null,null,null,null,null,null],[1.8973044003359973e-2,1.8944999999998657e-2,41748136,2121,null,null,null,null,null,null,null],[1.3305653992574662e-2,1.3276999999998651e-2,29280832,2227,null,null,null,null,null,null,null],[1.4363627997227013e-2,1.4362999999995907e-2,31603222,2339,null,null,null,null,null,null,null],[1.5047146996948868e-2,1.5046999999995592e-2,33106548,2456,null,null,null,null,null,null,null],[1.5299685997888446e-2,1.5298999999998841e-2,33663090,2579,null,null,null,null,null,null,null],[1.625170899205841e-2,1.6251999999997935e-2,35756926,2708,null,null,null,null,null,null,null],[1.6641148016788065e-2,1.6639999999998878e-2,36613858,2843,null,null,null,null,null,null,null],[2.9095820005750284e-2,2.9052999999997553e-2,64018498,2985,null,null,null,null,null,null,null],[1.782830199226737e-2,1.7825000000001978e-2,39229460,3134,null,null,null,null,null,null,null],[1.8584322009701282e-2,1.8580999999997516e-2,40888542,3291,null,null,null,null,null,null,null],[1.9624890002887696e-2,1.9597000000000975e-2,43178448,3456,null,null,null,null,null,null,null],[2.060321602039039e-2,2.0603999999998734e-2,45331722,3629,null,null,null,null,null,null,null],[2.4888608983019367e-2,2.4851000000001733e-2,54775375,3810,null,null,null,null,null,null,null],[2.6372749009169638e-2,2.6371999999998508e-2,58019509,4001,null,null,null,null,null,null,null],[2.4860880977939814e-2,2.48609999999978e-2,54697508,4201,null,null,null,null,null,null,null],[3.230335199623369e-2,3.2272999999999996e-2,71075466,4411,null,null,null,null,null,null,null],[2.7945836016442627e-2,2.7947000000001054e-2,61483632,4631,null,null,null,null,null,null,null],[2.8607924992684275e-2,2.8607999999998412e-2,62941524,4863,null,null,null,null,null,null,null],[3.784891200484708e-2,3.781399999999735e-2,83274606,5106,null,null,null,null,null,null,null],[3.114457501214929e-2,3.114400000000117e-2,68520162,5361,null,null,null,null,null,null,null],[3.81150130124297e-2,3.8105999999999085e-2,83865052,5629,null,null,null,null,null,null,null],[4.0344114997424185e-2,4.028300000000229e-2,88766724,5911,null,null,null,null,null,null,null],[4.1936466994229704e-2,4.193100000000172e-2,92265938,6207,null,null,null,null,null,null,null],[3.819815398310311e-2,3.8198000000001286e-2,84039102,6517,null,null,null,null,null,null,null],[4.4795522990170866e-2,4.479100000000358e-2,98561988,6843,null,null,null,null,null,null,null],[4.483502599759959e-2,4.4818999999996834e-2,98638784,7185,null,null,null,null,null,null,null],[4.459751900867559e-2,4.459800000000058e-2,98118968,7544,null,null,null,null,null,null,null],[5.219911300810054e-2,5.216699999999719e-2,114848494,7921,null,null,null,null,null,null,null],[4.9044923012843356e-2,4.9045999999997036e-2,107901480,8318,null,null,null,null,null,null,null],[5.627081400598399e-2,5.623899999999793e-2,123803358,8733,null,null,null,null,null,null,null],[5.9109914989676327e-2,5.908600000000064e-2,130050316,9170,null,null,null,null,null,null,null],[5.6396361003862694e-2,5.639699999999692e-2,124075160,9629,null,null,null,null,null,null,null],[6.598068098537624e-2,6.595199999999934e-2,145164160,10110,null,null,null,null,null,null,null],[6.0812023002654314e-2,6.081299999999601e-2,133789582,10616,null,null,null,null,null,null,null],[7.374249398708344e-2,7.368299999999905e-2,162239292,11146,null,null,null,null,null,null,null],[6.807770600426011e-2,6.807900000000444e-2,149773732,11704,null,null,null,null,null,null,null],[7.960463801282458e-2,7.95600000000043e-2,175137678,12289,null,null,null,null,null,null,null],[0.10123207702417858,0.10112399999999866,222717630,12903,null,null,null,null,null,null,null],[8.555627497844398e-2,8.551399999999987e-2,188229906,13549,null,null,null,null,null,null,null],[9.03350849985145e-2,9.030399999999972e-2,198744208,14226,null,null,null,null,null,null,null],[9.294863900868222e-2,9.287099999999882e-2,204500974,14937,null,null,null,null,null,null,null],[0.1069848730112426,0.10691300000000226,235371716,15684,null,null,null,null,null,null,null],[0.10382141199079342,0.10372500000000073,228413170,16469,null,null,null,null,null,null,null],[0.11392678300035186,0.11385299999999887,250646416,17292,null,null,null,null,null,null,null],[0.11803226202027872,0.11797100000000071,259677136,18157,null,null,null,null,null,null,null],[0.11511843200423755,0.11508900000000111,253276939,19065,null,null,null,null,null,null,null],[0.12226728399400599,0.12199500000000185,268993077,20018,null,null,null,null,null,null,null],[0.13388311900780536,0.133782999999994,294549236,21019,null,null,null,null,null,null,null],[0.15753770200535655,0.15747500000000159,346590682,22070,null,null,null,null,null,null,null],[0.15844429598655552,0.15832499999999783,348586922,23173,null,null,null,null,null,null,null],[0.14716985099948943,0.14712199999999598,323779030,24332,null,null,null,null,null,null,null],[0.1584885419870261,0.1583970000000008,348684024,25549,null,null,null,null,null,null,null],[0.18314656100119464,0.1830260000000017,402931052,26826,null,null,null,null,null,null,null],[0.17360069099231623,0.17351400000000083,381927764,28167,null,null,null,null,null,null,null],[0.21337309398222715,0.21314599999999828,469427278,29576,null,null,null,null,null,null,null],[0.22101753499009646,0.2208749999999995,486249474,31054,null,null,null,null,null,null,null],[0.19837291300063953,0.19831999999999894,436431460,32607,null,null,null,null,null,null,null],[0.2344874179980252,0.23431000000000068,515879454,34238,null,null,null,null,null,null,null],[0.25332475802861154,0.2530089999999987,557328324,35950,null,null,null,null,null,null,null]]}];
|
|
- reports.map(mangulate);
|
|
-
|
|
- var benches = ["fib/1","fib/5","fib/9","fib/11",];
|
|
- var ylabels = [[-0,'<a href="#b0">fib/1</a>'],[-1,'<a href="#b1">fib/5</a>'],[-2,'<a href="#b2">fib/9</a>'],[-3,'<a href="#b3">fib/11</a>'],];
|
|
- var means = $.scaleTimes([2.374225969306158e-8,3.7647973827317373e-7,2.614524699113428e-6,6.496202868182492e-6,]);
|
|
- var xs = [];
|
|
- var prev = null;
|
|
- for (var i = 0; i < means[0].length; i++) {
|
|
- var name = benches[i].split(/\//);
|
|
- name.pop();
|
|
- name = name.join('/');
|
|
- if (name != prev) {
|
|
- xs.push({ label: name, data: [[means[0][i], -i]]});
|
|
- prev = name;
|
|
- }
|
|
- else
|
|
- xs[xs.length-1].data.push([means[0][i],-i]);
|
|
- }
|
|
- var oq = $("#overview");
|
|
- o = $.plot(oq, xs, { bars: { show: true, horizontal: true,
|
|
- barWidth: 0.75, align: "center" },
|
|
- grid: { borderColor: "#777", hoverable: true },
|
|
- legend: { show: xs.length > 1 },
|
|
- xaxis: { max: Math.max.apply(undefined,means[0]) * 1.02 },
|
|
- yaxis: { ticks: ylabels, tickColor: '#ffffff' } });
|
|
- if (benches.length > 3)
|
|
- o.getPlaceholder().height(28*benches.length);
|
|
- o.resize();
|
|
- o.setupGrid();
|
|
- o.draw();
|
|
- $.addTooltip("#overview", function(x,y) { return $.renderTime(x / means[1]); });
|
|
-});
|
|
-$(document).ready(function () {
|
|
- $(".time").text(function(_, text) {
|
|
- return $.renderTime(text);
|
|
- });
|
|
- $(".citime").text(function(_, text) {
|
|
- return $.renderTime(text);
|
|
- });
|
|
- $(".percent").text(function(_, text) {
|
|
- return (text*100).toFixed(1);
|
|
- });
|
|
- });
|
|
-</script>
|
|
-
|
|
- </div>
|
|
- </div>
|
|
- <div id="footer">
|
|
- <div class="body">
|
|
- <div class="footfirst">
|
|
- <h2>colophon</h2>
|
|
- <p>This report was created using the
|
|
- <a href="http://hackage.haskell.org/package/criterion">criterion</a>
|
|
- benchmark execution and performance analysis tool.</p>
|
|
- <p>Criterion is developed and maintained
|
|
- by <a href="http://www.serpentine.com/blog/">Bryan O'Sullivan</a>.</p>
|
|
- </div>
|
|
- </div>
|
|
- </div>
|
|
- </body>
|
|
-</html>
|
|
diff -ruN orig/examples/maps.html new/examples/maps.html
|
|
--- orig/examples/maps.html 2014-08-10 20:30:05.789809138 +0300
|
|
+++ new/examples/maps.html 1970-01-01 02:00:00.000000000 +0200
|
|
@@ -1,552 +0,0 @@
|
|
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
|
-<html>
|
|
- <head>
|
|
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
|
- <title>criterion report</title>
|
|
- <script language="javascript" type="text/javascript">
|
|
- /*! jQuery v2.1.1 | (c) 2005, 2014 jQuery Foundation, Inc. | jquery.org/license */
|
|
-!function(a,b){"object"==typeof module&&"object"==typeof module.exports?module.exports=a.document?b(a,!0):function(a){if(!a.document)throw new Error("jQuery requires a window with a document");return b(a)}:b(a)}("undefined"!=typeof window?window:this,function(a,b){var c=[],d=c.slice,e=c.concat,f=c.push,g=c.indexOf,h={},i=h.toString,j=h.hasOwnProperty,k={},l=a.document,m="2.1.1",n=function(a,b){return new n.fn.init(a,b)},o=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,p=/^-ms-/,q=/-([\da-z])/gi,r=function(a,b){return b.toUpperCase()};n.fn=n.prototype={jquery:m,constructor:n,selector:"",length:0,toArray:function(){return d.call(this)},get:function(a){return null!=a?0>a?this[a+this.length]:this[a]:d.call(this)},pushStack:function(a){var b=n.merge(this.constructor(),a);return b.prevObject=this,b.context=this.context,b},each:function(a,b){return n.each(this,a,b)},map:function(a){return this.pushStack(n.map(this,function(b,c){return a.call(b,c,b)}))},slice:function(){return this.pushStack(d.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(a){var b=this.length,c=+a+(0>a?b:0);return this.pushStack(c>=0&&b>c?[this[c]]:[])},end:function(){return this.prevObject||this.constructor(null)},push:f,sort:c.sort,splice:c.splice},n.extend=n.fn.extend=function(){var a,b,c,d,e,f,g=arguments[0]||{},h=1,i=arguments.length,j=!1;for("boolean"==typeof g&&(j=g,g=arguments[h]||{},h++),"object"==typeof g||n.isFunction(g)||(g={}),h===i&&(g=this,h--);i>h;h++)if(null!=(a=arguments[h]))for(b in a)c=g[b],d=a[b],g!==d&&(j&&d&&(n.isPlainObject(d)||(e=n.isArray(d)))?(e?(e=!1,f=c&&n.isArray(c)?c:[]):f=c&&n.isPlainObject(c)?c:{},g[b]=n.extend(j,f,d)):void 0!==d&&(g[b]=d));return g},n.extend({expando:"jQuery"+(m+Math.random()).replace(/\D/g,""),isReady:!0,error:function(a){throw new Error(a)},noop:function(){},isFunction:function(a){return"function"===n.type(a)},isArray:Array.isArray,isWindow:function(a){return null!=a&&a===a.window},isNumeric:function(a){return!n.isArray(a)&&a-parseFloat(a)>=0},isPlainObject:function(a){return"object"!==n.type(a)||a.nodeType||n.isWindow(a)?!1:a.constructor&&!j.call(a.constructor.prototype,"isPrototypeOf")?!1:!0},isEmptyObject:function(a){var b;for(b in a)return!1;return!0},type:function(a){return null==a?a+"":"object"==typeof a||"function"==typeof a?h[i.call(a)]||"object":typeof a},globalEval:function(a){var b,c=eval;a=n.trim(a),a&&(1===a.indexOf("use strict")?(b=l.createElement("script"),b.text=a,l.head.appendChild(b).parentNode.removeChild(b)):c(a))},camelCase:function(a){return a.replace(p,"ms-").replace(q,r)},nodeName:function(a,b){return a.nodeName&&a.nodeName.toLowerCase()===b.toLowerCase()},each:function(a,b,c){var d,e=0,f=a.length,g=s(a);if(c){if(g){for(;f>e;e++)if(d=b.apply(a[e],c),d===!1)break}else for(e in a)if(d=b.apply(a[e],c),d===!1)break}else if(g){for(;f>e;e++)if(d=b.call(a[e],e,a[e]),d===!1)break}else for(e in a)if(d=b.call(a[e],e,a[e]),d===!1)break;return a},trim:function(a){return null==a?"":(a+"").replace(o,"")},makeArray:function(a,b){var c=b||[];return null!=a&&(s(Object(a))?n.merge(c,"string"==typeof a?[a]:a):f.call(c,a)),c},inArray:function(a,b,c){return null==b?-1:g.call(b,a,c)},merge:function(a,b){for(var c=+b.length,d=0,e=a.length;c>d;d++)a[e++]=b[d];return a.length=e,a},grep:function(a,b,c){for(var d,e=[],f=0,g=a.length,h=!c;g>f;f++)d=!b(a[f],f),d!==h&&e.push(a[f]);return e},map:function(a,b,c){var d,f=0,g=a.length,h=s(a),i=[];if(h)for(;g>f;f++)d=b(a[f],f,c),null!=d&&i.push(d);else for(f in a)d=b(a[f],f,c),null!=d&&i.push(d);return e.apply([],i)},guid:1,proxy:function(a,b){var c,e,f;return"string"==typeof b&&(c=a[b],b=a,a=c),n.isFunction(a)?(e=d.call(arguments,2),f=function(){return a.apply(b||this,e.concat(d.call(arguments)))},f.guid=a.guid=a.guid||n.guid++,f):void 0},now:Date.now,support:k}),n.each("Boolean Number String Function Array Date RegExp Object Error".split(" "),function(a,b){h["[object "+b+"]"]=b.toLowerCase()});function s(a){var b=a.length,c=n.type(a);return"function"===c||n.isWindow(a)?!1:1===a.nodeType&&b?!0:"array"===c||0===b||"number"==typeof b&&b>0&&b-1 in a}var t=function(a){var b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u="sizzle"+-new Date,v=a.document,w=0,x=0,y=gb(),z=gb(),A=gb(),B=function(a,b){return a===b&&(l=!0),0},C="undefined",D=1<<31,E={}.hasOwnProperty,F=[],G=F.pop,H=F.push,I=F.push,J=F.slice,K=F.indexOf||function(a){for(var b=0,c=this.length;c>b;b++)if(this[b]===a)return b;return-1},L="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",M="[\\x20\\t\\r\\n\\f]",N="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",O=N.replace("w","w#"),P="\\["+M+"*("+N+")(?:"+M+"*([*^$|!~]?=)"+M+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+O+"))|)"+M+"*\\]",Q=":("+N+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+P+")*)|.*)\\)|)",R=new RegExp("^"+M+"+|((?:^|[^\\\\])(?:\\\\.)*)"+M+"+$","g"),S=new RegExp("^"+M+"*,"+M+"*"),T=new RegExp("^"+M+"*([>+~]|"+M+")"+M+"*"),U=new RegExp("="+M+"*([^\\]'\"]*?)"+M+"*\\]","g"),V=new RegExp(Q),W=new RegExp("^"+O+"$"),X={ID:new RegExp("^#("+N+")"),CLASS:new RegExp("^\\.("+N+")"),TAG:new RegExp("^("+N.replace("w","w*")+")"),ATTR:new RegExp("^"+P),PSEUDO:new RegExp("^"+Q),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+M+"*(even|odd|(([+-]|)(\\d*)n|)"+M+"*(?:([+-]|)"+M+"*(\\d+)|))"+M+"*\\)|)","i"),bool:new RegExp("^(?:"+L+")$","i"),needsContext:new RegExp("^"+M+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+M+"*((?:-\\d)?\\d*)"+M+"*\\)|)(?=[^-]|$)","i")},Y=/^(?:input|select|textarea|button)$/i,Z=/^h\d$/i,$=/^[^{]+\{\s*\[native \w/,_=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ab=/[+~]/,bb=/'|\\/g,cb=new RegExp("\\\\([\\da-f]{1,6}"+M+"?|("+M+")|.)","ig"),db=function(a,b,c){var d="0x"+b-65536;return d!==d||c?b:0>d?String.fromCharCode(d+65536):String.fromCharCode(d>>10|55296,1023&d|56320)};try{I.apply(F=J.call(v.childNodes),v.childNodes),F[v.childNodes.length].nodeType}catch(eb){I={apply:F.length?function(a,b){H.apply(a,J.call(b))}:function(a,b){var c=a.length,d=0;while(a[c++]=b[d++]);a.length=c-1}}}function fb(a,b,d,e){var f,h,j,k,l,o,r,s,w,x;if((b?b.ownerDocument||b:v)!==n&&m(b),b=b||n,d=d||[],!a||"string"!=typeof a)return d;if(1!==(k=b.nodeType)&&9!==k)return[];if(p&&!e){if(f=_.exec(a))if(j=f[1]){if(9===k){if(h=b.getElementById(j),!h||!h.parentNode)return d;if(h.id===j)return d.push(h),d}else if(b.ownerDocument&&(h=b.ownerDocument.getElementById(j))&&t(b,h)&&h.id===j)return d.push(h),d}else{if(f[2])return I.apply(d,b.getElementsByTagName(a)),d;if((j=f[3])&&c.getElementsByClassName&&b.getElementsByClassName)return I.apply(d,b.getElementsByClassName(j)),d}if(c.qsa&&(!q||!q.test(a))){if(s=r=u,w=b,x=9===k&&a,1===k&&"object"!==b.nodeName.toLowerCase()){o=g(a),(r=b.getAttribute("id"))?s=r.replace(bb,"\\$&"):b.setAttribute("id",s),s="[id='"+s+"'] ",l=o.length;while(l--)o[l]=s+qb(o[l]);w=ab.test(a)&&ob(b.parentNode)||b,x=o.join(",")}if(x)try{return I.apply(d,w.querySelectorAll(x)),d}catch(y){}finally{r||b.removeAttribute("id")}}}return i(a.replace(R,"$1"),b,d,e)}function gb(){var a=[];function b(c,e){return a.push(c+" ")>d.cacheLength&&delete b[a.shift()],b[c+" "]=e}return b}function hb(a){return a[u]=!0,a}function ib(a){var b=n.createElement("div");try{return!!a(b)}catch(c){return!1}finally{b.parentNode&&b.parentNode.removeChild(b),b=null}}function jb(a,b){var c=a.split("|"),e=a.length;while(e--)d.attrHandle[c[e]]=b}function kb(a,b){var c=b&&a,d=c&&1===a.nodeType&&1===b.nodeType&&(~b.sourceIndex||D)-(~a.sourceIndex||D);if(d)return d;if(c)while(c=c.nextSibling)if(c===b)return-1;return a?1:-1}function lb(a){return function(b){var c=b.nodeName.toLowerCase();return"input"===c&&b.type===a}}function mb(a){return function(b){var c=b.nodeName.toLowerCase();return("input"===c||"button"===c)&&b.type===a}}function nb(a){return hb(function(b){return b=+b,hb(function(c,d){var e,f=a([],c.length,b),g=f.length;while(g--)c[e=f[g]]&&(c[e]=!(d[e]=c[e]))})})}function ob(a){return a&&typeof a.getElementsByTagName!==C&&a}c=fb.support={},f=fb.isXML=function(a){var b=a&&(a.ownerDocument||a).documentElement;return b?"HTML"!==b.nodeName:!1},m=fb.setDocument=function(a){var b,e=a?a.ownerDocument||a:v,g=e.defaultView;return e!==n&&9===e.nodeType&&e.documentElement?(n=e,o=e.documentElement,p=!f(e),g&&g!==g.top&&(g.addEventListener?g.addEventListener("unload",function(){m()},!1):g.attachEvent&&g.attachEvent("onunload",function(){m()})),c.attributes=ib(function(a){return a.className="i",!a.getAttribute("className")}),c.getElementsByTagName=ib(function(a){return a.appendChild(e.createComment("")),!a.getElementsByTagName("*").length}),c.getElementsByClassName=$.test(e.getElementsByClassName)&&ib(function(a){return a.innerHTML="<div class='a'></div><div class='a i'></div>",a.firstChild.className="i",2===a.getElementsByClassName("i").length}),c.getById=ib(function(a){return o.appendChild(a).id=u,!e.getElementsByName||!e.getElementsByName(u).length}),c.getById?(d.find.ID=function(a,b){if(typeof b.getElementById!==C&&p){var c=b.getElementById(a);return c&&c.parentNode?[c]:[]}},d.filter.ID=function(a){var b=a.replace(cb,db);return function(a){return a.getAttribute("id")===b}}):(delete d.find.ID,d.filter.ID=function(a){var b=a.replace(cb,db);return function(a){var c=typeof a.getAttributeNode!==C&&a.getAttributeNode("id");return c&&c.value===b}}),d.find.TAG=c.getElementsByTagName?function(a,b){return typeof b.getElementsByTagName!==C?b.getElementsByTagName(a):void 0}:function(a,b){var c,d=[],e=0,f=b.getElementsByTagName(a);if("*"===a){while(c=f[e++])1===c.nodeType&&d.push(c);return d}return f},d.find.CLASS=c.getElementsByClassName&&function(a,b){return typeof b.getElementsByClassName!==C&&p?b.getElementsByClassName(a):void 0},r=[],q=[],(c.qsa=$.test(e.querySelectorAll))&&(ib(function(a){a.innerHTML="<select msallowclip=''><option selected=''></option></select>",a.querySelectorAll("[msallowclip^='']").length&&q.push("[*^$]="+M+"*(?:''|\"\")"),a.querySelectorAll("[selected]").length||q.push("\\["+M+"*(?:value|"+L+")"),a.querySelectorAll(":checked").length||q.push(":checked")}),ib(function(a){var b=e.createElement("input");b.setAttribute("type","hidden"),a.appendChild(b).setAttribute("name","D"),a.querySelectorAll("[name=d]").length&&q.push("name"+M+"*[*^$|!~]?="),a.querySelectorAll(":enabled").length||q.push(":enabled",":disabled"),a.querySelectorAll("*,:x"),q.push(",.*:")})),(c.matchesSelector=$.test(s=o.matches||o.webkitMatchesSelector||o.mozMatchesSelector||o.oMatchesSelector||o.msMatchesSelector))&&ib(function(a){c.disconnectedMatch=s.call(a,"div"),s.call(a,"[s!='']:x"),r.push("!=",Q)}),q=q.length&&new RegExp(q.join("|")),r=r.length&&new RegExp(r.join("|")),b=$.test(o.compareDocumentPosition),t=b||$.test(o.contains)?function(a,b){var c=9===a.nodeType?a.documentElement:a,d=b&&b.parentNode;return a===d||!(!d||1!==d.nodeType||!(c.contains?c.contains(d):a.compareDocumentPosition&&16&a.compareDocumentPosition(d)))}:function(a,b){if(b)while(b=b.parentNode)if(b===a)return!0;return!1},B=b?function(a,b){if(a===b)return l=!0,0;var d=!a.compareDocumentPosition-!b.compareDocumentPosition;return d?d:(d=(a.ownerDocument||a)===(b.ownerDocument||b)?a.compareDocumentPosition(b):1,1&d||!c.sortDetached&&b.compareDocumentPosition(a)===d?a===e||a.ownerDocument===v&&t(v,a)?-1:b===e||b.ownerDocument===v&&t(v,b)?1:k?K.call(k,a)-K.call(k,b):0:4&d?-1:1)}:function(a,b){if(a===b)return l=!0,0;var c,d=0,f=a.parentNode,g=b.parentNode,h=[a],i=[b];if(!f||!g)return a===e?-1:b===e?1:f?-1:g?1:k?K.call(k,a)-K.call(k,b):0;if(f===g)return kb(a,b);c=a;while(c=c.parentNode)h.unshift(c);c=b;while(c=c.parentNode)i.unshift(c);while(h[d]===i[d])d++;return d?kb(h[d],i[d]):h[d]===v?-1:i[d]===v?1:0},e):n},fb.matches=function(a,b){return fb(a,null,null,b)},fb.matchesSelector=function(a,b){if((a.ownerDocument||a)!==n&&m(a),b=b.replace(U,"='$1']"),!(!c.matchesSelector||!p||r&&r.test(b)||q&&q.test(b)))try{var d=s.call(a,b);if(d||c.disconnectedMatch||a.document&&11!==a.document.nodeType)return d}catch(e){}return fb(b,n,null,[a]).length>0},fb.contains=function(a,b){return(a.ownerDocument||a)!==n&&m(a),t(a,b)},fb.attr=function(a,b){(a.ownerDocument||a)!==n&&m(a);var e=d.attrHandle[b.toLowerCase()],f=e&&E.call(d.attrHandle,b.toLowerCase())?e(a,b,!p):void 0;return void 0!==f?f:c.attributes||!p?a.getAttribute(b):(f=a.getAttributeNode(b))&&f.specified?f.value:null},fb.error=function(a){throw new Error("Syntax error, unrecognized expression: "+a)},fb.uniqueSort=function(a){var b,d=[],e=0,f=0;if(l=!c.detectDuplicates,k=!c.sortStable&&a.slice(0),a.sort(B),l){while(b=a[f++])b===a[f]&&(e=d.push(f));while(e--)a.splice(d[e],1)}return k=null,a},e=fb.getText=function(a){var b,c="",d=0,f=a.nodeType;if(f){if(1===f||9===f||11===f){if("string"==typeof a.textContent)return a.textContent;for(a=a.firstChild;a;a=a.nextSibling)c+=e(a)}else if(3===f||4===f)return a.nodeValue}else while(b=a[d++])c+=e(b);return c},d=fb.selectors={cacheLength:50,createPseudo:hb,match:X,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(a){return a[1]=a[1].replace(cb,db),a[3]=(a[3]||a[4]||a[5]||"").replace(cb,db),"~="===a[2]&&(a[3]=" "+a[3]+" "),a.slice(0,4)},CHILD:function(a){return a[1]=a[1].toLowerCase(),"nth"===a[1].slice(0,3)?(a[3]||fb.error(a[0]),a[4]=+(a[4]?a[5]+(a[6]||1):2*("even"===a[3]||"odd"===a[3])),a[5]=+(a[7]+a[8]||"odd"===a[3])):a[3]&&fb.error(a[0]),a},PSEUDO:function(a){var b,c=!a[6]&&a[2];return X.CHILD.test(a[0])?null:(a[3]?a[2]=a[4]||a[5]||"":c&&V.test(c)&&(b=g(c,!0))&&(b=c.indexOf(")",c.length-b)-c.length)&&(a[0]=a[0].slice(0,b),a[2]=c.slice(0,b)),a.slice(0,3))}},filter:{TAG:function(a){var b=a.replace(cb,db).toLowerCase();return"*"===a?function(){return!0}:function(a){return a.nodeName&&a.nodeName.toLowerCase()===b}},CLASS:function(a){var b=y[a+" "];return b||(b=new RegExp("(^|"+M+")"+a+"("+M+"|$)"))&&y(a,function(a){return b.test("string"==typeof a.className&&a.className||typeof a.getAttribute!==C&&a.getAttribute("class")||"")})},ATTR:function(a,b,c){return function(d){var e=fb.attr(d,a);return null==e?"!="===b:b?(e+="","="===b?e===c:"!="===b?e!==c:"^="===b?c&&0===e.indexOf(c):"*="===b?c&&e.indexOf(c)>-1:"$="===b?c&&e.slice(-c.length)===c:"~="===b?(" "+e+" ").indexOf(c)>-1:"|="===b?e===c||e.slice(0,c.length+1)===c+"-":!1):!0}},CHILD:function(a,b,c,d,e){var f="nth"!==a.slice(0,3),g="last"!==a.slice(-4),h="of-type"===b;return 1===d&&0===e?function(a){return!!a.parentNode}:function(b,c,i){var j,k,l,m,n,o,p=f!==g?"nextSibling":"previousSibling",q=b.parentNode,r=h&&b.nodeName.toLowerCase(),s=!i&&!h;if(q){if(f){while(p){l=b;while(l=l[p])if(h?l.nodeName.toLowerCase()===r:1===l.nodeType)return!1;o=p="only"===a&&!o&&"nextSibling"}return!0}if(o=[g?q.firstChild:q.lastChild],g&&s){k=q[u]||(q[u]={}),j=k[a]||[],n=j[0]===w&&j[1],m=j[0]===w&&j[2],l=n&&q.childNodes[n];while(l=++n&&l&&l[p]||(m=n=0)||o.pop())if(1===l.nodeType&&++m&&l===b){k[a]=[w,n,m];break}}else if(s&&(j=(b[u]||(b[u]={}))[a])&&j[0]===w)m=j[1];else while(l=++n&&l&&l[p]||(m=n=0)||o.pop())if((h?l.nodeName.toLowerCase()===r:1===l.nodeType)&&++m&&(s&&((l[u]||(l[u]={}))[a]=[w,m]),l===b))break;return m-=e,m===d||m%d===0&&m/d>=0}}},PSEUDO:function(a,b){var c,e=d.pseudos[a]||d.setFilters[a.toLowerCase()]||fb.error("unsupported pseudo: "+a);return e[u]?e(b):e.length>1?(c=[a,a,"",b],d.setFilters.hasOwnProperty(a.toLowerCase())?hb(function(a,c){var d,f=e(a,b),g=f.length;while(g--)d=K.call(a,f[g]),a[d]=!(c[d]=f[g])}):function(a){return e(a,0,c)}):e}},pseudos:{not:hb(function(a){var b=[],c=[],d=h(a.replace(R,"$1"));return d[u]?hb(function(a,b,c,e){var f,g=d(a,null,e,[]),h=a.length;while(h--)(f=g[h])&&(a[h]=!(b[h]=f))}):function(a,e,f){return b[0]=a,d(b,null,f,c),!c.pop()}}),has:hb(function(a){return function(b){return fb(a,b).length>0}}),contains:hb(function(a){return function(b){return(b.textContent||b.innerText||e(b)).indexOf(a)>-1}}),lang:hb(function(a){return W.test(a||"")||fb.error("unsupported lang: "+a),a=a.replace(cb,db).toLowerCase(),function(b){var c;do if(c=p?b.lang:b.getAttribute("xml:lang")||b.getAttribute("lang"))return c=c.toLowerCase(),c===a||0===c.indexOf(a+"-");while((b=b.parentNode)&&1===b.nodeType);return!1}}),target:function(b){var c=a.location&&a.location.hash;return c&&c.slice(1)===b.id},root:function(a){return a===o},focus:function(a){return a===n.activeElement&&(!n.hasFocus||n.hasFocus())&&!!(a.type||a.href||~a.tabIndex)},enabled:function(a){return a.disabled===!1},disabled:function(a){return a.disabled===!0},checked:function(a){var b=a.nodeName.toLowerCase();return"input"===b&&!!a.checked||"option"===b&&!!a.selected},selected:function(a){return a.parentNode&&a.parentNode.selectedIndex,a.selected===!0},empty:function(a){for(a=a.firstChild;a;a=a.nextSibling)if(a.nodeType<6)return!1;return!0},parent:function(a){return!d.pseudos.empty(a)},header:function(a){return Z.test(a.nodeName)},input:function(a){return Y.test(a.nodeName)},button:function(a){var b=a.nodeName.toLowerCase();return"input"===b&&"button"===a.type||"button"===b},text:function(a){var b;return"input"===a.nodeName.toLowerCase()&&"text"===a.type&&(null==(b=a.getAttribute("type"))||"text"===b.toLowerCase())},first:nb(function(){return[0]}),last:nb(function(a,b){return[b-1]}),eq:nb(function(a,b,c){return[0>c?c+b:c]}),even:nb(function(a,b){for(var c=0;b>c;c+=2)a.push(c);return a}),odd:nb(function(a,b){for(var c=1;b>c;c+=2)a.push(c);return a}),lt:nb(function(a,b,c){for(var d=0>c?c+b:c;--d>=0;)a.push(d);return a}),gt:nb(function(a,b,c){for(var d=0>c?c+b:c;++d<b;)a.push(d);return a})}},d.pseudos.nth=d.pseudos.eq;for(b in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})d.pseudos[b]=lb(b);for(b in{submit:!0,reset:!0})d.pseudos[b]=mb(b);function pb(){}pb.prototype=d.filters=d.pseudos,d.setFilters=new pb,g=fb.tokenize=function(a,b){var c,e,f,g,h,i,j,k=z[a+" "];if(k)return b?0:k.slice(0);h=a,i=[],j=d.preFilter;while(h){(!c||(e=S.exec(h)))&&(e&&(h=h.slice(e[0].length)||h),i.push(f=[])),c=!1,(e=T.exec(h))&&(c=e.shift(),f.push({value:c,type:e[0].replace(R," ")}),h=h.slice(c.length));for(g in d.filter)!(e=X[g].exec(h))||j[g]&&!(e=j[g](e))||(c=e.shift(),f.push({value:c,type:g,matches:e}),h=h.slice(c.length));if(!c)break}return b?h.length:h?fb.error(a):z(a,i).slice(0)};function qb(a){for(var b=0,c=a.length,d="";c>b;b++)d+=a[b].value;return d}function rb(a,b,c){var d=b.dir,e=c&&"parentNode"===d,f=x++;return b.first?function(b,c,f){while(b=b[d])if(1===b.nodeType||e)return a(b,c,f)}:function(b,c,g){var h,i,j=[w,f];if(g){while(b=b[d])if((1===b.nodeType||e)&&a(b,c,g))return!0}else while(b=b[d])if(1===b.nodeType||e){if(i=b[u]||(b[u]={}),(h=i[d])&&h[0]===w&&h[1]===f)return j[2]=h[2];if(i[d]=j,j[2]=a(b,c,g))return!0}}}function sb(a){return a.length>1?function(b,c,d){var e=a.length;while(e--)if(!a[e](b,c,d))return!1;return!0}:a[0]}function tb(a,b,c){for(var d=0,e=b.length;e>d;d++)fb(a,b[d],c);return c}function ub(a,b,c,d,e){for(var f,g=[],h=0,i=a.length,j=null!=b;i>h;h++)(f=a[h])&&(!c||c(f,d,e))&&(g.push(f),j&&b.push(h));return g}function vb(a,b,c,d,e,f){return d&&!d[u]&&(d=vb(d)),e&&!e[u]&&(e=vb(e,f)),hb(function(f,g,h,i){var j,k,l,m=[],n=[],o=g.length,p=f||tb(b||"*",h.nodeType?[h]:h,[]),q=!a||!f&&b?p:ub(p,m,a,h,i),r=c?e||(f?a:o||d)?[]:g:q;if(c&&c(q,r,h,i),d){j=ub(r,n),d(j,[],h,i),k=j.length;while(k--)(l=j[k])&&(r[n[k]]=!(q[n[k]]=l))}if(f){if(e||a){if(e){j=[],k=r.length;while(k--)(l=r[k])&&j.push(q[k]=l);e(null,r=[],j,i)}k=r.length;while(k--)(l=r[k])&&(j=e?K.call(f,l):m[k])>-1&&(f[j]=!(g[j]=l))}}else r=ub(r===g?r.splice(o,r.length):r),e?e(null,g,r,i):I.apply(g,r)})}function wb(a){for(var b,c,e,f=a.length,g=d.relative[a[0].type],h=g||d.relative[" "],i=g?1:0,k=rb(function(a){return a===b},h,!0),l=rb(function(a){return K.call(b,a)>-1},h,!0),m=[function(a,c,d){return!g&&(d||c!==j)||((b=c).nodeType?k(a,c,d):l(a,c,d))}];f>i;i++)if(c=d.relative[a[i].type])m=[rb(sb(m),c)];else{if(c=d.filter[a[i].type].apply(null,a[i].matches),c[u]){for(e=++i;f>e;e++)if(d.relative[a[e].type])break;return vb(i>1&&sb(m),i>1&&qb(a.slice(0,i-1).concat({value:" "===a[i-2].type?"*":""})).replace(R,"$1"),c,e>i&&wb(a.slice(i,e)),f>e&&wb(a=a.slice(e)),f>e&&qb(a))}m.push(c)}return sb(m)}function xb(a,b){var c=b.length>0,e=a.length>0,f=function(f,g,h,i,k){var l,m,o,p=0,q="0",r=f&&[],s=[],t=j,u=f||e&&d.find.TAG("*",k),v=w+=null==t?1:Math.random()||.1,x=u.length;for(k&&(j=g!==n&&g);q!==x&&null!=(l=u[q]);q++){if(e&&l){m=0;while(o=a[m++])if(o(l,g,h)){i.push(l);break}k&&(w=v)}c&&((l=!o&&l)&&p--,f&&r.push(l))}if(p+=q,c&&q!==p){m=0;while(o=b[m++])o(r,s,g,h);if(f){if(p>0)while(q--)r[q]||s[q]||(s[q]=G.call(i));s=ub(s)}I.apply(i,s),k&&!f&&s.length>0&&p+b.length>1&&fb.uniqueSort(i)}return k&&(w=v,j=t),r};return c?hb(f):f}return h=fb.compile=function(a,b){var c,d=[],e=[],f=A[a+" "];if(!f){b||(b=g(a)),c=b.length;while(c--)f=wb(b[c]),f[u]?d.push(f):e.push(f);f=A(a,xb(e,d)),f.selector=a}return f},i=fb.select=function(a,b,e,f){var i,j,k,l,m,n="function"==typeof a&&a,o=!f&&g(a=n.selector||a);if(e=e||[],1===o.length){if(j=o[0]=o[0].slice(0),j.length>2&&"ID"===(k=j[0]).type&&c.getById&&9===b.nodeType&&p&&d.relative[j[1].type]){if(b=(d.find.ID(k.matches[0].replace(cb,db),b)||[])[0],!b)return e;n&&(b=b.parentNode),a=a.slice(j.shift().value.length)}i=X.needsContext.test(a)?0:j.length;while(i--){if(k=j[i],d.relative[l=k.type])break;if((m=d.find[l])&&(f=m(k.matches[0].replace(cb,db),ab.test(j[0].type)&&ob(b.parentNode)||b))){if(j.splice(i,1),a=f.length&&qb(j),!a)return I.apply(e,f),e;break}}}return(n||h(a,o))(f,b,!p,e,ab.test(a)&&ob(b.parentNode)||b),e},c.sortStable=u.split("").sort(B).join("")===u,c.detectDuplicates=!!l,m(),c.sortDetached=ib(function(a){return 1&a.compareDocumentPosition(n.createElement("div"))}),ib(function(a){return a.innerHTML="<a href='#'></a>","#"===a.firstChild.getAttribute("href")})||jb("type|href|height|width",function(a,b,c){return c?void 0:a.getAttribute(b,"type"===b.toLowerCase()?1:2)}),c.attributes&&ib(function(a){return a.innerHTML="<input/>",a.firstChild.setAttribute("value",""),""===a.firstChild.getAttribute("value")})||jb("value",function(a,b,c){return c||"input"!==a.nodeName.toLowerCase()?void 0:a.defaultValue}),ib(function(a){return null==a.getAttribute("disabled")})||jb(L,function(a,b,c){var d;return c?void 0:a[b]===!0?b.toLowerCase():(d=a.getAttributeNode(b))&&d.specified?d.value:null}),fb}(a);n.find=t,n.expr=t.selectors,n.expr[":"]=n.expr.pseudos,n.unique=t.uniqueSort,n.text=t.getText,n.isXMLDoc=t.isXML,n.contains=t.contains;var u=n.expr.match.needsContext,v=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,w=/^.[^:#\[\.,]*$/;function x(a,b,c){if(n.isFunction(b))return n.grep(a,function(a,d){return!!b.call(a,d,a)!==c});if(b.nodeType)return n.grep(a,function(a){return a===b!==c});if("string"==typeof b){if(w.test(b))return n.filter(b,a,c);b=n.filter(b,a)}return n.grep(a,function(a){return g.call(b,a)>=0!==c})}n.filter=function(a,b,c){var d=b[0];return c&&(a=":not("+a+")"),1===b.length&&1===d.nodeType?n.find.matchesSelector(d,a)?[d]:[]:n.find.matches(a,n.grep(b,function(a){return 1===a.nodeType}))},n.fn.extend({find:function(a){var b,c=this.length,d=[],e=this;if("string"!=typeof a)return this.pushStack(n(a).filter(function(){for(b=0;c>b;b++)if(n.contains(e[b],this))return!0}));for(b=0;c>b;b++)n.find(a,e[b],d);return d=this.pushStack(c>1?n.unique(d):d),d.selector=this.selector?this.selector+" "+a:a,d},filter:function(a){return this.pushStack(x(this,a||[],!1))},not:function(a){return this.pushStack(x(this,a||[],!0))},is:function(a){return!!x(this,"string"==typeof a&&u.test(a)?n(a):a||[],!1).length}});var y,z=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/,A=n.fn.init=function(a,b){var c,d;if(!a)return this;if("string"==typeof a){if(c="<"===a[0]&&">"===a[a.length-1]&&a.length>=3?[null,a,null]:z.exec(a),!c||!c[1]&&b)return!b||b.jquery?(b||y).find(a):this.constructor(b).find(a);if(c[1]){if(b=b instanceof n?b[0]:b,n.merge(this,n.parseHTML(c[1],b&&b.nodeType?b.ownerDocument||b:l,!0)),v.test(c[1])&&n.isPlainObject(b))for(c in b)n.isFunction(this[c])?this[c](b[c]):this.attr(c,b[c]);return this}return d=l.getElementById(c[2]),d&&d.parentNode&&(this.length=1,this[0]=d),this.context=l,this.selector=a,this}return a.nodeType?(this.context=this[0]=a,this.length=1,this):n.isFunction(a)?"undefined"!=typeof y.ready?y.ready(a):a(n):(void 0!==a.selector&&(this.selector=a.selector,this.context=a.context),n.makeArray(a,this))};A.prototype=n.fn,y=n(l);var B=/^(?:parents|prev(?:Until|All))/,C={children:!0,contents:!0,next:!0,prev:!0};n.extend({dir:function(a,b,c){var d=[],e=void 0!==c;while((a=a[b])&&9!==a.nodeType)if(1===a.nodeType){if(e&&n(a).is(c))break;d.push(a)}return d},sibling:function(a,b){for(var c=[];a;a=a.nextSibling)1===a.nodeType&&a!==b&&c.push(a);return c}}),n.fn.extend({has:function(a){var b=n(a,this),c=b.length;return this.filter(function(){for(var a=0;c>a;a++)if(n.contains(this,b[a]))return!0})},closest:function(a,b){for(var c,d=0,e=this.length,f=[],g=u.test(a)||"string"!=typeof a?n(a,b||this.context):0;e>d;d++)for(c=this[d];c&&c!==b;c=c.parentNode)if(c.nodeType<11&&(g?g.index(c)>-1:1===c.nodeType&&n.find.matchesSelector(c,a))){f.push(c);break}return this.pushStack(f.length>1?n.unique(f):f)},index:function(a){return a?"string"==typeof a?g.call(n(a),this[0]):g.call(this,a.jquery?a[0]:a):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(a,b){return this.pushStack(n.unique(n.merge(this.get(),n(a,b))))},addBack:function(a){return this.add(null==a?this.prevObject:this.prevObject.filter(a))}});function D(a,b){while((a=a[b])&&1!==a.nodeType);return a}n.each({parent:function(a){var b=a.parentNode;return b&&11!==b.nodeType?b:null},parents:function(a){return n.dir(a,"parentNode")},parentsUntil:function(a,b,c){return n.dir(a,"parentNode",c)},next:function(a){return D(a,"nextSibling")},prev:function(a){return D(a,"previousSibling")},nextAll:function(a){return n.dir(a,"nextSibling")},prevAll:function(a){return n.dir(a,"previousSibling")},nextUntil:function(a,b,c){return n.dir(a,"nextSibling",c)},prevUntil:function(a,b,c){return n.dir(a,"previousSibling",c)},siblings:function(a){return n.sibling((a.parentNode||{}).firstChild,a)},children:function(a){return n.sibling(a.firstChild)},contents:function(a){return a.contentDocument||n.merge([],a.childNodes)}},function(a,b){n.fn[a]=function(c,d){var e=n.map(this,b,c);return"Until"!==a.slice(-5)&&(d=c),d&&"string"==typeof d&&(e=n.filter(d,e)),this.length>1&&(C[a]||n.unique(e),B.test(a)&&e.reverse()),this.pushStack(e)}});var E=/\S+/g,F={};function G(a){var b=F[a]={};return n.each(a.match(E)||[],function(a,c){b[c]=!0}),b}n.Callbacks=function(a){a="string"==typeof a?F[a]||G(a):n.extend({},a);var b,c,d,e,f,g,h=[],i=!a.once&&[],j=function(l){for(b=a.memory&&l,c=!0,g=e||0,e=0,f=h.length,d=!0;h&&f>g;g++)if(h[g].apply(l[0],l[1])===!1&&a.stopOnFalse){b=!1;break}d=!1,h&&(i?i.length&&j(i.shift()):b?h=[]:k.disable())},k={add:function(){if(h){var c=h.length;!function g(b){n.each(b,function(b,c){var d=n.type(c);"function"===d?a.unique&&k.has(c)||h.push(c):c&&c.length&&"string"!==d&&g(c)})}(arguments),d?f=h.length:b&&(e=c,j(b))}return this},remove:function(){return h&&n.each(arguments,function(a,b){var c;while((c=n.inArray(b,h,c))>-1)h.splice(c,1),d&&(f>=c&&f--,g>=c&&g--)}),this},has:function(a){return a?n.inArray(a,h)>-1:!(!h||!h.length)},empty:function(){return h=[],f=0,this},disable:function(){return h=i=b=void 0,this},disabled:function(){return!h},lock:function(){return i=void 0,b||k.disable(),this},locked:function(){return!i},fireWith:function(a,b){return!h||c&&!i||(b=b||[],b=[a,b.slice?b.slice():b],d?i.push(b):j(b)),this},fire:function(){return k.fireWith(this,arguments),this},fired:function(){return!!c}};return k},n.extend({Deferred:function(a){var b=[["resolve","done",n.Callbacks("once memory"),"resolved"],["reject","fail",n.Callbacks("once memory"),"rejected"],["notify","progress",n.Callbacks("memory")]],c="pending",d={state:function(){return c},always:function(){return e.done(arguments).fail(arguments),this},then:function(){var a=arguments;return n.Deferred(function(c){n.each(b,function(b,f){var g=n.isFunction(a[b])&&a[b];e[f[1]](function(){var a=g&&g.apply(this,arguments);a&&n.isFunction(a.promise)?a.promise().done(c.resolve).fail(c.reject).progress(c.notify):c[f[0]+"With"](this===d?c.promise():this,g?[a]:arguments)})}),a=null}).promise()},promise:function(a){return null!=a?n.extend(a,d):d}},e={};return d.pipe=d.then,n.each(b,function(a,f){var g=f[2],h=f[3];d[f[1]]=g.add,h&&g.add(function(){c=h},b[1^a][2].disable,b[2][2].lock),e[f[0]]=function(){return e[f[0]+"With"](this===e?d:this,arguments),this},e[f[0]+"With"]=g.fireWith}),d.promise(e),a&&a.call(e,e),e},when:function(a){var b=0,c=d.call(arguments),e=c.length,f=1!==e||a&&n.isFunction(a.promise)?e:0,g=1===f?a:n.Deferred(),h=function(a,b,c){return function(e){b[a]=this,c[a]=arguments.length>1?d.call(arguments):e,c===i?g.notifyWith(b,c):--f||g.resolveWith(b,c)}},i,j,k;if(e>1)for(i=new Array(e),j=new Array(e),k=new Array(e);e>b;b++)c[b]&&n.isFunction(c[b].promise)?c[b].promise().done(h(b,k,c)).fail(g.reject).progress(h(b,j,i)):--f;return f||g.resolveWith(k,c),g.promise()}});var H;n.fn.ready=function(a){return n.ready.promise().done(a),this},n.extend({isReady:!1,readyWait:1,holdReady:function(a){a?n.readyWait++:n.ready(!0)},ready:function(a){(a===!0?--n.readyWait:n.isReady)||(n.isReady=!0,a!==!0&&--n.readyWait>0||(H.resolveWith(l,[n]),n.fn.triggerHandler&&(n(l).triggerHandler("ready"),n(l).off("ready"))))}});function I(){l.removeEventListener("DOMContentLoaded",I,!1),a.removeEventListener("load",I,!1),n.ready()}n.ready.promise=function(b){return H||(H=n.Deferred(),"complete"===l.readyState?setTimeout(n.ready):(l.addEventListener("DOMContentLoaded",I,!1),a.addEventListener("load",I,!1))),H.promise(b)},n.ready.promise();var J=n.access=function(a,b,c,d,e,f,g){var h=0,i=a.length,j=null==c;if("object"===n.type(c)){e=!0;for(h in c)n.access(a,b,h,c[h],!0,f,g)}else if(void 0!==d&&(e=!0,n.isFunction(d)||(g=!0),j&&(g?(b.call(a,d),b=null):(j=b,b=function(a,b,c){return j.call(n(a),c)})),b))for(;i>h;h++)b(a[h],c,g?d:d.call(a[h],h,b(a[h],c)));return e?a:j?b.call(a):i?b(a[0],c):f};n.acceptData=function(a){return 1===a.nodeType||9===a.nodeType||!+a.nodeType};function K(){Object.defineProperty(this.cache={},0,{get:function(){return{}}}),this.expando=n.expando+Math.random()}K.uid=1,K.accepts=n.acceptData,K.prototype={key:function(a){if(!K.accepts(a))return 0;var b={},c=a[this.expando];if(!c){c=K.uid++;try{b[this.expando]={value:c},Object.defineProperties(a,b)}catch(d){b[this.expando]=c,n.extend(a,b)}}return this.cache[c]||(this.cache[c]={}),c},set:function(a,b,c){var d,e=this.key(a),f=this.cache[e];if("string"==typeof b)f[b]=c;else if(n.isEmptyObject(f))n.extend(this.cache[e],b);else for(d in b)f[d]=b[d];return f},get:function(a,b){var c=this.cache[this.key(a)];return void 0===b?c:c[b]},access:function(a,b,c){var d;return void 0===b||b&&"string"==typeof b&&void 0===c?(d=this.get(a,b),void 0!==d?d:this.get(a,n.camelCase(b))):(this.set(a,b,c),void 0!==c?c:b)},remove:function(a,b){var c,d,e,f=this.key(a),g=this.cache[f];if(void 0===b)this.cache[f]={};else{n.isArray(b)?d=b.concat(b.map(n.camelCase)):(e=n.camelCase(b),b in g?d=[b,e]:(d=e,d=d in g?[d]:d.match(E)||[])),c=d.length;while(c--)delete g[d[c]]}},hasData:function(a){return!n.isEmptyObject(this.cache[a[this.expando]]||{})},discard:function(a){a[this.expando]&&delete this.cache[a[this.expando]]}};var L=new K,M=new K,N=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,O=/([A-Z])/g;function P(a,b,c){var d;if(void 0===c&&1===a.nodeType)if(d="data-"+b.replace(O,"-$1").toLowerCase(),c=a.getAttribute(d),"string"==typeof c){try{c="true"===c?!0:"false"===c?!1:"null"===c?null:+c+""===c?+c:N.test(c)?n.parseJSON(c):c}catch(e){}M.set(a,b,c)}else c=void 0;return c}n.extend({hasData:function(a){return M.hasData(a)||L.hasData(a)},data:function(a,b,c){return M.access(a,b,c)},removeData:function(a,b){M.remove(a,b)
|
|
-},_data:function(a,b,c){return L.access(a,b,c)},_removeData:function(a,b){L.remove(a,b)}}),n.fn.extend({data:function(a,b){var c,d,e,f=this[0],g=f&&f.attributes;if(void 0===a){if(this.length&&(e=M.get(f),1===f.nodeType&&!L.get(f,"hasDataAttrs"))){c=g.length;while(c--)g[c]&&(d=g[c].name,0===d.indexOf("data-")&&(d=n.camelCase(d.slice(5)),P(f,d,e[d])));L.set(f,"hasDataAttrs",!0)}return e}return"object"==typeof a?this.each(function(){M.set(this,a)}):J(this,function(b){var c,d=n.camelCase(a);if(f&&void 0===b){if(c=M.get(f,a),void 0!==c)return c;if(c=M.get(f,d),void 0!==c)return c;if(c=P(f,d,void 0),void 0!==c)return c}else this.each(function(){var c=M.get(this,d);M.set(this,d,b),-1!==a.indexOf("-")&&void 0!==c&&M.set(this,a,b)})},null,b,arguments.length>1,null,!0)},removeData:function(a){return this.each(function(){M.remove(this,a)})}}),n.extend({queue:function(a,b,c){var d;return a?(b=(b||"fx")+"queue",d=L.get(a,b),c&&(!d||n.isArray(c)?d=L.access(a,b,n.makeArray(c)):d.push(c)),d||[]):void 0},dequeue:function(a,b){b=b||"fx";var c=n.queue(a,b),d=c.length,e=c.shift(),f=n._queueHooks(a,b),g=function(){n.dequeue(a,b)};"inprogress"===e&&(e=c.shift(),d--),e&&("fx"===b&&c.unshift("inprogress"),delete f.stop,e.call(a,g,f)),!d&&f&&f.empty.fire()},_queueHooks:function(a,b){var c=b+"queueHooks";return L.get(a,c)||L.access(a,c,{empty:n.Callbacks("once memory").add(function(){L.remove(a,[b+"queue",c])})})}}),n.fn.extend({queue:function(a,b){var c=2;return"string"!=typeof a&&(b=a,a="fx",c--),arguments.length<c?n.queue(this[0],a):void 0===b?this:this.each(function(){var c=n.queue(this,a,b);n._queueHooks(this,a),"fx"===a&&"inprogress"!==c[0]&&n.dequeue(this,a)})},dequeue:function(a){return this.each(function(){n.dequeue(this,a)})},clearQueue:function(a){return this.queue(a||"fx",[])},promise:function(a,b){var c,d=1,e=n.Deferred(),f=this,g=this.length,h=function(){--d||e.resolveWith(f,[f])};"string"!=typeof a&&(b=a,a=void 0),a=a||"fx";while(g--)c=L.get(f[g],a+"queueHooks"),c&&c.empty&&(d++,c.empty.add(h));return h(),e.promise(b)}});var Q=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,R=["Top","Right","Bottom","Left"],S=function(a,b){return a=b||a,"none"===n.css(a,"display")||!n.contains(a.ownerDocument,a)},T=/^(?:checkbox|radio)$/i;!function(){var a=l.createDocumentFragment(),b=a.appendChild(l.createElement("div")),c=l.createElement("input");c.setAttribute("type","radio"),c.setAttribute("checked","checked"),c.setAttribute("name","t"),b.appendChild(c),k.checkClone=b.cloneNode(!0).cloneNode(!0).lastChild.checked,b.innerHTML="<textarea>x</textarea>",k.noCloneChecked=!!b.cloneNode(!0).lastChild.defaultValue}();var U="undefined";k.focusinBubbles="onfocusin"in a;var V=/^key/,W=/^(?:mouse|pointer|contextmenu)|click/,X=/^(?:focusinfocus|focusoutblur)$/,Y=/^([^.]*)(?:\.(.+)|)$/;function Z(){return!0}function $(){return!1}function _(){try{return l.activeElement}catch(a){}}n.event={global:{},add:function(a,b,c,d,e){var f,g,h,i,j,k,l,m,o,p,q,r=L.get(a);if(r){c.handler&&(f=c,c=f.handler,e=f.selector),c.guid||(c.guid=n.guid++),(i=r.events)||(i=r.events={}),(g=r.handle)||(g=r.handle=function(b){return typeof n!==U&&n.event.triggered!==b.type?n.event.dispatch.apply(a,arguments):void 0}),b=(b||"").match(E)||[""],j=b.length;while(j--)h=Y.exec(b[j])||[],o=q=h[1],p=(h[2]||"").split(".").sort(),o&&(l=n.event.special[o]||{},o=(e?l.delegateType:l.bindType)||o,l=n.event.special[o]||{},k=n.extend({type:o,origType:q,data:d,handler:c,guid:c.guid,selector:e,needsContext:e&&n.expr.match.needsContext.test(e),namespace:p.join(".")},f),(m=i[o])||(m=i[o]=[],m.delegateCount=0,l.setup&&l.setup.call(a,d,p,g)!==!1||a.addEventListener&&a.addEventListener(o,g,!1)),l.add&&(l.add.call(a,k),k.handler.guid||(k.handler.guid=c.guid)),e?m.splice(m.delegateCount++,0,k):m.push(k),n.event.global[o]=!0)}},remove:function(a,b,c,d,e){var f,g,h,i,j,k,l,m,o,p,q,r=L.hasData(a)&&L.get(a);if(r&&(i=r.events)){b=(b||"").match(E)||[""],j=b.length;while(j--)if(h=Y.exec(b[j])||[],o=q=h[1],p=(h[2]||"").split(".").sort(),o){l=n.event.special[o]||{},o=(d?l.delegateType:l.bindType)||o,m=i[o]||[],h=h[2]&&new RegExp("(^|\\.)"+p.join("\\.(?:.*\\.|)")+"(\\.|$)"),g=f=m.length;while(f--)k=m[f],!e&&q!==k.origType||c&&c.guid!==k.guid||h&&!h.test(k.namespace)||d&&d!==k.selector&&("**"!==d||!k.selector)||(m.splice(f,1),k.selector&&m.delegateCount--,l.remove&&l.remove.call(a,k));g&&!m.length&&(l.teardown&&l.teardown.call(a,p,r.handle)!==!1||n.removeEvent(a,o,r.handle),delete i[o])}else for(o in i)n.event.remove(a,o+b[j],c,d,!0);n.isEmptyObject(i)&&(delete r.handle,L.remove(a,"events"))}},trigger:function(b,c,d,e){var f,g,h,i,k,m,o,p=[d||l],q=j.call(b,"type")?b.type:b,r=j.call(b,"namespace")?b.namespace.split("."):[];if(g=h=d=d||l,3!==d.nodeType&&8!==d.nodeType&&!X.test(q+n.event.triggered)&&(q.indexOf(".")>=0&&(r=q.split("."),q=r.shift(),r.sort()),k=q.indexOf(":")<0&&"on"+q,b=b[n.expando]?b:new n.Event(q,"object"==typeof b&&b),b.isTrigger=e?2:3,b.namespace=r.join("."),b.namespace_re=b.namespace?new RegExp("(^|\\.)"+r.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,b.result=void 0,b.target||(b.target=d),c=null==c?[b]:n.makeArray(c,[b]),o=n.event.special[q]||{},e||!o.trigger||o.trigger.apply(d,c)!==!1)){if(!e&&!o.noBubble&&!n.isWindow(d)){for(i=o.delegateType||q,X.test(i+q)||(g=g.parentNode);g;g=g.parentNode)p.push(g),h=g;h===(d.ownerDocument||l)&&p.push(h.defaultView||h.parentWindow||a)}f=0;while((g=p[f++])&&!b.isPropagationStopped())b.type=f>1?i:o.bindType||q,m=(L.get(g,"events")||{})[b.type]&&L.get(g,"handle"),m&&m.apply(g,c),m=k&&g[k],m&&m.apply&&n.acceptData(g)&&(b.result=m.apply(g,c),b.result===!1&&b.preventDefault());return b.type=q,e||b.isDefaultPrevented()||o._default&&o._default.apply(p.pop(),c)!==!1||!n.acceptData(d)||k&&n.isFunction(d[q])&&!n.isWindow(d)&&(h=d[k],h&&(d[k]=null),n.event.triggered=q,d[q](),n.event.triggered=void 0,h&&(d[k]=h)),b.result}},dispatch:function(a){a=n.event.fix(a);var b,c,e,f,g,h=[],i=d.call(arguments),j=(L.get(this,"events")||{})[a.type]||[],k=n.event.special[a.type]||{};if(i[0]=a,a.delegateTarget=this,!k.preDispatch||k.preDispatch.call(this,a)!==!1){h=n.event.handlers.call(this,a,j),b=0;while((f=h[b++])&&!a.isPropagationStopped()){a.currentTarget=f.elem,c=0;while((g=f.handlers[c++])&&!a.isImmediatePropagationStopped())(!a.namespace_re||a.namespace_re.test(g.namespace))&&(a.handleObj=g,a.data=g.data,e=((n.event.special[g.origType]||{}).handle||g.handler).apply(f.elem,i),void 0!==e&&(a.result=e)===!1&&(a.preventDefault(),a.stopPropagation()))}return k.postDispatch&&k.postDispatch.call(this,a),a.result}},handlers:function(a,b){var c,d,e,f,g=[],h=b.delegateCount,i=a.target;if(h&&i.nodeType&&(!a.button||"click"!==a.type))for(;i!==this;i=i.parentNode||this)if(i.disabled!==!0||"click"!==a.type){for(d=[],c=0;h>c;c++)f=b[c],e=f.selector+" ",void 0===d[e]&&(d[e]=f.needsContext?n(e,this).index(i)>=0:n.find(e,this,null,[i]).length),d[e]&&d.push(f);d.length&&g.push({elem:i,handlers:d})}return h<b.length&&g.push({elem:this,handlers:b.slice(h)}),g},props:"altKey bubbles cancelable ctrlKey currentTarget eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),fixHooks:{},keyHooks:{props:"char charCode key keyCode".split(" "),filter:function(a,b){return null==a.which&&(a.which=null!=b.charCode?b.charCode:b.keyCode),a}},mouseHooks:{props:"button buttons clientX clientY offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(a,b){var c,d,e,f=b.button;return null==a.pageX&&null!=b.clientX&&(c=a.target.ownerDocument||l,d=c.documentElement,e=c.body,a.pageX=b.clientX+(d&&d.scrollLeft||e&&e.scrollLeft||0)-(d&&d.clientLeft||e&&e.clientLeft||0),a.pageY=b.clientY+(d&&d.scrollTop||e&&e.scrollTop||0)-(d&&d.clientTop||e&&e.clientTop||0)),a.which||void 0===f||(a.which=1&f?1:2&f?3:4&f?2:0),a}},fix:function(a){if(a[n.expando])return a;var b,c,d,e=a.type,f=a,g=this.fixHooks[e];g||(this.fixHooks[e]=g=W.test(e)?this.mouseHooks:V.test(e)?this.keyHooks:{}),d=g.props?this.props.concat(g.props):this.props,a=new n.Event(f),b=d.length;while(b--)c=d[b],a[c]=f[c];return a.target||(a.target=l),3===a.target.nodeType&&(a.target=a.target.parentNode),g.filter?g.filter(a,f):a},special:{load:{noBubble:!0},focus:{trigger:function(){return this!==_()&&this.focus?(this.focus(),!1):void 0},delegateType:"focusin"},blur:{trigger:function(){return this===_()&&this.blur?(this.blur(),!1):void 0},delegateType:"focusout"},click:{trigger:function(){return"checkbox"===this.type&&this.click&&n.nodeName(this,"input")?(this.click(),!1):void 0},_default:function(a){return n.nodeName(a.target,"a")}},beforeunload:{postDispatch:function(a){void 0!==a.result&&a.originalEvent&&(a.originalEvent.returnValue=a.result)}}},simulate:function(a,b,c,d){var e=n.extend(new n.Event,c,{type:a,isSimulated:!0,originalEvent:{}});d?n.event.trigger(e,null,b):n.event.dispatch.call(b,e),e.isDefaultPrevented()&&c.preventDefault()}},n.removeEvent=function(a,b,c){a.removeEventListener&&a.removeEventListener(b,c,!1)},n.Event=function(a,b){return this instanceof n.Event?(a&&a.type?(this.originalEvent=a,this.type=a.type,this.isDefaultPrevented=a.defaultPrevented||void 0===a.defaultPrevented&&a.returnValue===!1?Z:$):this.type=a,b&&n.extend(this,b),this.timeStamp=a&&a.timeStamp||n.now(),void(this[n.expando]=!0)):new n.Event(a,b)},n.Event.prototype={isDefaultPrevented:$,isPropagationStopped:$,isImmediatePropagationStopped:$,preventDefault:function(){var a=this.originalEvent;this.isDefaultPrevented=Z,a&&a.preventDefault&&a.preventDefault()},stopPropagation:function(){var a=this.originalEvent;this.isPropagationStopped=Z,a&&a.stopPropagation&&a.stopPropagation()},stopImmediatePropagation:function(){var a=this.originalEvent;this.isImmediatePropagationStopped=Z,a&&a.stopImmediatePropagation&&a.stopImmediatePropagation(),this.stopPropagation()}},n.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(a,b){n.event.special[a]={delegateType:b,bindType:b,handle:function(a){var c,d=this,e=a.relatedTarget,f=a.handleObj;return(!e||e!==d&&!n.contains(d,e))&&(a.type=f.origType,c=f.handler.apply(this,arguments),a.type=b),c}}}),k.focusinBubbles||n.each({focus:"focusin",blur:"focusout"},function(a,b){var c=function(a){n.event.simulate(b,a.target,n.event.fix(a),!0)};n.event.special[b]={setup:function(){var d=this.ownerDocument||this,e=L.access(d,b);e||d.addEventListener(a,c,!0),L.access(d,b,(e||0)+1)},teardown:function(){var d=this.ownerDocument||this,e=L.access(d,b)-1;e?L.access(d,b,e):(d.removeEventListener(a,c,!0),L.remove(d,b))}}}),n.fn.extend({on:function(a,b,c,d,e){var f,g;if("object"==typeof a){"string"!=typeof b&&(c=c||b,b=void 0);for(g in a)this.on(g,b,c,a[g],e);return this}if(null==c&&null==d?(d=b,c=b=void 0):null==d&&("string"==typeof b?(d=c,c=void 0):(d=c,c=b,b=void 0)),d===!1)d=$;else if(!d)return this;return 1===e&&(f=d,d=function(a){return n().off(a),f.apply(this,arguments)},d.guid=f.guid||(f.guid=n.guid++)),this.each(function(){n.event.add(this,a,d,c,b)})},one:function(a,b,c,d){return this.on(a,b,c,d,1)},off:function(a,b,c){var d,e;if(a&&a.preventDefault&&a.handleObj)return d=a.handleObj,n(a.delegateTarget).off(d.namespace?d.origType+"."+d.namespace:d.origType,d.selector,d.handler),this;if("object"==typeof a){for(e in a)this.off(e,b,a[e]);return this}return(b===!1||"function"==typeof b)&&(c=b,b=void 0),c===!1&&(c=$),this.each(function(){n.event.remove(this,a,c,b)})},trigger:function(a,b){return this.each(function(){n.event.trigger(a,b,this)})},triggerHandler:function(a,b){var c=this[0];return c?n.event.trigger(a,b,c,!0):void 0}});var ab=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,bb=/<([\w:]+)/,cb=/<|&#?\w+;/,db=/<(?:script|style|link)/i,eb=/checked\s*(?:[^=]|=\s*.checked.)/i,fb=/^$|\/(?:java|ecma)script/i,gb=/^true\/(.*)/,hb=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g,ib={option:[1,"<select multiple='multiple'>","</select>"],thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};ib.optgroup=ib.option,ib.tbody=ib.tfoot=ib.colgroup=ib.caption=ib.thead,ib.th=ib.td;function jb(a,b){return n.nodeName(a,"table")&&n.nodeName(11!==b.nodeType?b:b.firstChild,"tr")?a.getElementsByTagName("tbody")[0]||a.appendChild(a.ownerDocument.createElement("tbody")):a}function kb(a){return a.type=(null!==a.getAttribute("type"))+"/"+a.type,a}function lb(a){var b=gb.exec(a.type);return b?a.type=b[1]:a.removeAttribute("type"),a}function mb(a,b){for(var c=0,d=a.length;d>c;c++)L.set(a[c],"globalEval",!b||L.get(b[c],"globalEval"))}function nb(a,b){var c,d,e,f,g,h,i,j;if(1===b.nodeType){if(L.hasData(a)&&(f=L.access(a),g=L.set(b,f),j=f.events)){delete g.handle,g.events={};for(e in j)for(c=0,d=j[e].length;d>c;c++)n.event.add(b,e,j[e][c])}M.hasData(a)&&(h=M.access(a),i=n.extend({},h),M.set(b,i))}}function ob(a,b){var c=a.getElementsByTagName?a.getElementsByTagName(b||"*"):a.querySelectorAll?a.querySelectorAll(b||"*"):[];return void 0===b||b&&n.nodeName(a,b)?n.merge([a],c):c}function pb(a,b){var c=b.nodeName.toLowerCase();"input"===c&&T.test(a.type)?b.checked=a.checked:("input"===c||"textarea"===c)&&(b.defaultValue=a.defaultValue)}n.extend({clone:function(a,b,c){var d,e,f,g,h=a.cloneNode(!0),i=n.contains(a.ownerDocument,a);if(!(k.noCloneChecked||1!==a.nodeType&&11!==a.nodeType||n.isXMLDoc(a)))for(g=ob(h),f=ob(a),d=0,e=f.length;e>d;d++)pb(f[d],g[d]);if(b)if(c)for(f=f||ob(a),g=g||ob(h),d=0,e=f.length;e>d;d++)nb(f[d],g[d]);else nb(a,h);return g=ob(h,"script"),g.length>0&&mb(g,!i&&ob(a,"script")),h},buildFragment:function(a,b,c,d){for(var e,f,g,h,i,j,k=b.createDocumentFragment(),l=[],m=0,o=a.length;o>m;m++)if(e=a[m],e||0===e)if("object"===n.type(e))n.merge(l,e.nodeType?[e]:e);else if(cb.test(e)){f=f||k.appendChild(b.createElement("div")),g=(bb.exec(e)||["",""])[1].toLowerCase(),h=ib[g]||ib._default,f.innerHTML=h[1]+e.replace(ab,"<$1></$2>")+h[2],j=h[0];while(j--)f=f.lastChild;n.merge(l,f.childNodes),f=k.firstChild,f.textContent=""}else l.push(b.createTextNode(e));k.textContent="",m=0;while(e=l[m++])if((!d||-1===n.inArray(e,d))&&(i=n.contains(e.ownerDocument,e),f=ob(k.appendChild(e),"script"),i&&mb(f),c)){j=0;while(e=f[j++])fb.test(e.type||"")&&c.push(e)}return k},cleanData:function(a){for(var b,c,d,e,f=n.event.special,g=0;void 0!==(c=a[g]);g++){if(n.acceptData(c)&&(e=c[L.expando],e&&(b=L.cache[e]))){if(b.events)for(d in b.events)f[d]?n.event.remove(c,d):n.removeEvent(c,d,b.handle);L.cache[e]&&delete L.cache[e]}delete M.cache[c[M.expando]]}}}),n.fn.extend({text:function(a){return J(this,function(a){return void 0===a?n.text(this):this.empty().each(function(){(1===this.nodeType||11===this.nodeType||9===this.nodeType)&&(this.textContent=a)})},null,a,arguments.length)},append:function(){return this.domManip(arguments,function(a){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var b=jb(this,a);b.appendChild(a)}})},prepend:function(){return this.domManip(arguments,function(a){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var b=jb(this,a);b.insertBefore(a,b.firstChild)}})},before:function(){return this.domManip(arguments,function(a){this.parentNode&&this.parentNode.insertBefore(a,this)})},after:function(){return this.domManip(arguments,function(a){this.parentNode&&this.parentNode.insertBefore(a,this.nextSibling)})},remove:function(a,b){for(var c,d=a?n.filter(a,this):this,e=0;null!=(c=d[e]);e++)b||1!==c.nodeType||n.cleanData(ob(c)),c.parentNode&&(b&&n.contains(c.ownerDocument,c)&&mb(ob(c,"script")),c.parentNode.removeChild(c));return this},empty:function(){for(var a,b=0;null!=(a=this[b]);b++)1===a.nodeType&&(n.cleanData(ob(a,!1)),a.textContent="");return this},clone:function(a,b){return a=null==a?!1:a,b=null==b?a:b,this.map(function(){return n.clone(this,a,b)})},html:function(a){return J(this,function(a){var b=this[0]||{},c=0,d=this.length;if(void 0===a&&1===b.nodeType)return b.innerHTML;if("string"==typeof a&&!db.test(a)&&!ib[(bb.exec(a)||["",""])[1].toLowerCase()]){a=a.replace(ab,"<$1></$2>");try{for(;d>c;c++)b=this[c]||{},1===b.nodeType&&(n.cleanData(ob(b,!1)),b.innerHTML=a);b=0}catch(e){}}b&&this.empty().append(a)},null,a,arguments.length)},replaceWith:function(){var a=arguments[0];return this.domManip(arguments,function(b){a=this.parentNode,n.cleanData(ob(this)),a&&a.replaceChild(b,this)}),a&&(a.length||a.nodeType)?this:this.remove()},detach:function(a){return this.remove(a,!0)},domManip:function(a,b){a=e.apply([],a);var c,d,f,g,h,i,j=0,l=this.length,m=this,o=l-1,p=a[0],q=n.isFunction(p);if(q||l>1&&"string"==typeof p&&!k.checkClone&&eb.test(p))return this.each(function(c){var d=m.eq(c);q&&(a[0]=p.call(this,c,d.html())),d.domManip(a,b)});if(l&&(c=n.buildFragment(a,this[0].ownerDocument,!1,this),d=c.firstChild,1===c.childNodes.length&&(c=d),d)){for(f=n.map(ob(c,"script"),kb),g=f.length;l>j;j++)h=c,j!==o&&(h=n.clone(h,!0,!0),g&&n.merge(f,ob(h,"script"))),b.call(this[j],h,j);if(g)for(i=f[f.length-1].ownerDocument,n.map(f,lb),j=0;g>j;j++)h=f[j],fb.test(h.type||"")&&!L.access(h,"globalEval")&&n.contains(i,h)&&(h.src?n._evalUrl&&n._evalUrl(h.src):n.globalEval(h.textContent.replace(hb,"")))}return this}}),n.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(a,b){n.fn[a]=function(a){for(var c,d=[],e=n(a),g=e.length-1,h=0;g>=h;h++)c=h===g?this:this.clone(!0),n(e[h])[b](c),f.apply(d,c.get());return this.pushStack(d)}});var qb,rb={};function sb(b,c){var d,e=n(c.createElement(b)).appendTo(c.body),f=a.getDefaultComputedStyle&&(d=a.getDefaultComputedStyle(e[0]))?d.display:n.css(e[0],"display");return e.detach(),f}function tb(a){var b=l,c=rb[a];return c||(c=sb(a,b),"none"!==c&&c||(qb=(qb||n("<iframe frameborder='0' width='0' height='0'/>")).appendTo(b.documentElement),b=qb[0].contentDocument,b.write(),b.close(),c=sb(a,b),qb.detach()),rb[a]=c),c}var ub=/^margin/,vb=new RegExp("^("+Q+")(?!px)[a-z%]+$","i"),wb=function(a){return a.ownerDocument.defaultView.getComputedStyle(a,null)};function xb(a,b,c){var d,e,f,g,h=a.style;return c=c||wb(a),c&&(g=c.getPropertyValue(b)||c[b]),c&&(""!==g||n.contains(a.ownerDocument,a)||(g=n.style(a,b)),vb.test(g)&&ub.test(b)&&(d=h.width,e=h.minWidth,f=h.maxWidth,h.minWidth=h.maxWidth=h.width=g,g=c.width,h.width=d,h.minWidth=e,h.maxWidth=f)),void 0!==g?g+"":g}function yb(a,b){return{get:function(){return a()?void delete this.get:(this.get=b).apply(this,arguments)}}}!function(){var b,c,d=l.documentElement,e=l.createElement("div"),f=l.createElement("div");if(f.style){f.style.backgroundClip="content-box",f.cloneNode(!0).style.backgroundClip="",k.clearCloneStyle="content-box"===f.style.backgroundClip,e.style.cssText="border:0;width:0;height:0;top:0;left:-9999px;margin-top:1px;position:absolute",e.appendChild(f);function g(){f.style.cssText="-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;display:block;margin-top:1%;top:1%;border:1px;padding:1px;width:4px;position:absolute",f.innerHTML="",d.appendChild(e);var g=a.getComputedStyle(f,null);b="1%"!==g.top,c="4px"===g.width,d.removeChild(e)}a.getComputedStyle&&n.extend(k,{pixelPosition:function(){return g(),b},boxSizingReliable:function(){return null==c&&g(),c},reliableMarginRight:function(){var b,c=f.appendChild(l.createElement("div"));return c.style.cssText=f.style.cssText="-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:0",c.style.marginRight=c.style.width="0",f.style.width="1px",d.appendChild(e),b=!parseFloat(a.getComputedStyle(c,null).marginRight),d.removeChild(e),b}})}}(),n.swap=function(a,b,c,d){var e,f,g={};for(f in b)g[f]=a.style[f],a.style[f]=b[f];e=c.apply(a,d||[]);for(f in b)a.style[f]=g[f];return e};var zb=/^(none|table(?!-c[ea]).+)/,Ab=new RegExp("^("+Q+")(.*)$","i"),Bb=new RegExp("^([+-])=("+Q+")","i"),Cb={position:"absolute",visibility:"hidden",display:"block"},Db={letterSpacing:"0",fontWeight:"400"},Eb=["Webkit","O","Moz","ms"];function Fb(a,b){if(b in a)return b;var c=b[0].toUpperCase()+b.slice(1),d=b,e=Eb.length;while(e--)if(b=Eb[e]+c,b in a)return b;return d}function Gb(a,b,c){var d=Ab.exec(b);return d?Math.max(0,d[1]-(c||0))+(d[2]||"px"):b}function Hb(a,b,c,d,e){for(var f=c===(d?"border":"content")?4:"width"===b?1:0,g=0;4>f;f+=2)"margin"===c&&(g+=n.css(a,c+R[f],!0,e)),d?("content"===c&&(g-=n.css(a,"padding"+R[f],!0,e)),"margin"!==c&&(g-=n.css(a,"border"+R[f]+"Width",!0,e))):(g+=n.css(a,"padding"+R[f],!0,e),"padding"!==c&&(g+=n.css(a,"border"+R[f]+"Width",!0,e)));return g}function Ib(a,b,c){var d=!0,e="width"===b?a.offsetWidth:a.offsetHeight,f=wb(a),g="border-box"===n.css(a,"boxSizing",!1,f);if(0>=e||null==e){if(e=xb(a,b,f),(0>e||null==e)&&(e=a.style[b]),vb.test(e))return e;d=g&&(k.boxSizingReliable()||e===a.style[b]),e=parseFloat(e)||0}return e+Hb(a,b,c||(g?"border":"content"),d,f)+"px"}function Jb(a,b){for(var c,d,e,f=[],g=0,h=a.length;h>g;g++)d=a[g],d.style&&(f[g]=L.get(d,"olddisplay"),c=d.style.display,b?(f[g]||"none"!==c||(d.style.display=""),""===d.style.display&&S(d)&&(f[g]=L.access(d,"olddisplay",tb(d.nodeName)))):(e=S(d),"none"===c&&e||L.set(d,"olddisplay",e?c:n.css(d,"display"))));for(g=0;h>g;g++)d=a[g],d.style&&(b&&"none"!==d.style.display&&""!==d.style.display||(d.style.display=b?f[g]||"":"none"));return a}n.extend({cssHooks:{opacity:{get:function(a,b){if(b){var c=xb(a,"opacity");return""===c?"1":c}}}},cssNumber:{columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{"float":"cssFloat"},style:function(a,b,c,d){if(a&&3!==a.nodeType&&8!==a.nodeType&&a.style){var e,f,g,h=n.camelCase(b),i=a.style;return b=n.cssProps[h]||(n.cssProps[h]=Fb(i,h)),g=n.cssHooks[b]||n.cssHooks[h],void 0===c?g&&"get"in g&&void 0!==(e=g.get(a,!1,d))?e:i[b]:(f=typeof c,"string"===f&&(e=Bb.exec(c))&&(c=(e[1]+1)*e[2]+parseFloat(n.css(a,b)),f="number"),null!=c&&c===c&&("number"!==f||n.cssNumber[h]||(c+="px"),k.clearCloneStyle||""!==c||0!==b.indexOf("background")||(i[b]="inherit"),g&&"set"in g&&void 0===(c=g.set(a,c,d))||(i[b]=c)),void 0)}},css:function(a,b,c,d){var e,f,g,h=n.camelCase(b);return b=n.cssProps[h]||(n.cssProps[h]=Fb(a.style,h)),g=n.cssHooks[b]||n.cssHooks[h],g&&"get"in g&&(e=g.get(a,!0,c)),void 0===e&&(e=xb(a,b,d)),"normal"===e&&b in Db&&(e=Db[b]),""===c||c?(f=parseFloat(e),c===!0||n.isNumeric(f)?f||0:e):e}}),n.each(["height","width"],function(a,b){n.cssHooks[b]={get:function(a,c,d){return c?zb.test(n.css(a,"display"))&&0===a.offsetWidth?n.swap(a,Cb,function(){return Ib(a,b,d)}):Ib(a,b,d):void 0},set:function(a,c,d){var e=d&&wb(a);return Gb(a,c,d?Hb(a,b,d,"border-box"===n.css(a,"boxSizing",!1,e),e):0)}}}),n.cssHooks.marginRight=yb(k.reliableMarginRight,function(a,b){return b?n.swap(a,{display:"inline-block"},xb,[a,"marginRight"]):void 0}),n.each({margin:"",padding:"",border:"Width"},function(a,b){n.cssHooks[a+b]={expand:function(c){for(var d=0,e={},f="string"==typeof c?c.split(" "):[c];4>d;d++)e[a+R[d]+b]=f[d]||f[d-2]||f[0];return e}},ub.test(a)||(n.cssHooks[a+b].set=Gb)}),n.fn.extend({css:function(a,b){return J(this,function(a,b,c){var d,e,f={},g=0;if(n.isArray(b)){for(d=wb(a),e=b.length;e>g;g++)f[b[g]]=n.css(a,b[g],!1,d);return f}return void 0!==c?n.style(a,b,c):n.css(a,b)},a,b,arguments.length>1)},show:function(){return Jb(this,!0)},hide:function(){return Jb(this)},toggle:function(a){return"boolean"==typeof a?a?this.show():this.hide():this.each(function(){S(this)?n(this).show():n(this).hide()})}});function Kb(a,b,c,d,e){return new Kb.prototype.init(a,b,c,d,e)}n.Tween=Kb,Kb.prototype={constructor:Kb,init:function(a,b,c,d,e,f){this.elem=a,this.prop=c,this.easing=e||"swing",this.options=b,this.start=this.now=this.cur(),this.end=d,this.unit=f||(n.cssNumber[c]?"":"px")},cur:function(){var a=Kb.propHooks[this.prop];return a&&a.get?a.get(this):Kb.propHooks._default.get(this)},run:function(a){var b,c=Kb.propHooks[this.prop];return this.pos=b=this.options.duration?n.easing[this.easing](a,this.options.duration*a,0,1,this.options.duration):a,this.now=(this.end-this.start)*b+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),c&&c.set?c.set(this):Kb.propHooks._default.set(this),this}},Kb.prototype.init.prototype=Kb.prototype,Kb.propHooks={_default:{get:function(a){var b;return null==a.elem[a.prop]||a.elem.style&&null!=a.elem.style[a.prop]?(b=n.css(a.elem,a.prop,""),b&&"auto"!==b?b:0):a.elem[a.prop]},set:function(a){n.fx.step[a.prop]?n.fx.step[a.prop](a):a.elem.style&&(null!=a.elem.style[n.cssProps[a.prop]]||n.cssHooks[a.prop])?n.style(a.elem,a.prop,a.now+a.unit):a.elem[a.prop]=a.now}}},Kb.propHooks.scrollTop=Kb.propHooks.scrollLeft={set:function(a){a.elem.nodeType&&a.elem.parentNode&&(a.elem[a.prop]=a.now)}},n.easing={linear:function(a){return a},swing:function(a){return.5-Math.cos(a*Math.PI)/2}},n.fx=Kb.prototype.init,n.fx.step={};var Lb,Mb,Nb=/^(?:toggle|show|hide)$/,Ob=new RegExp("^(?:([+-])=|)("+Q+")([a-z%]*)$","i"),Pb=/queueHooks$/,Qb=[Vb],Rb={"*":[function(a,b){var c=this.createTween(a,b),d=c.cur(),e=Ob.exec(b),f=e&&e[3]||(n.cssNumber[a]?"":"px"),g=(n.cssNumber[a]||"px"!==f&&+d)&&Ob.exec(n.css(c.elem,a)),h=1,i=20;if(g&&g[3]!==f){f=f||g[3],e=e||[],g=+d||1;do h=h||".5",g/=h,n.style(c.elem,a,g+f);while(h!==(h=c.cur()/d)&&1!==h&&--i)}return e&&(g=c.start=+g||+d||0,c.unit=f,c.end=e[1]?g+(e[1]+1)*e[2]:+e[2]),c}]};function Sb(){return setTimeout(function(){Lb=void 0}),Lb=n.now()}function Tb(a,b){var c,d=0,e={height:a};for(b=b?1:0;4>d;d+=2-b)c=R[d],e["margin"+c]=e["padding"+c]=a;return b&&(e.opacity=e.width=a),e}function Ub(a,b,c){for(var d,e=(Rb[b]||[]).concat(Rb["*"]),f=0,g=e.length;g>f;f++)if(d=e[f].call(c,b,a))return d}function Vb(a,b,c){var d,e,f,g,h,i,j,k,l=this,m={},o=a.style,p=a.nodeType&&S(a),q=L.get(a,"fxshow");c.queue||(h=n._queueHooks(a,"fx"),null==h.unqueued&&(h.unqueued=0,i=h.empty.fire,h.empty.fire=function(){h.unqueued||i()}),h.unqueued++,l.always(function(){l.always(function(){h.unqueued--,n.queue(a,"fx").length||h.empty.fire()})})),1===a.nodeType&&("height"in b||"width"in b)&&(c.overflow=[o.overflow,o.overflowX,o.overflowY],j=n.css(a,"display"),k="none"===j?L.get(a,"olddisplay")||tb(a.nodeName):j,"inline"===k&&"none"===n.css(a,"float")&&(o.display="inline-block")),c.overflow&&(o.overflow="hidden",l.always(function(){o.overflow=c.overflow[0],o.overflowX=c.overflow[1],o.overflowY=c.overflow[2]}));for(d in b)if(e=b[d],Nb.exec(e)){if(delete b[d],f=f||"toggle"===e,e===(p?"hide":"show")){if("show"!==e||!q||void 0===q[d])continue;p=!0}m[d]=q&&q[d]||n.style(a,d)}else j=void 0;if(n.isEmptyObject(m))"inline"===("none"===j?tb(a.nodeName):j)&&(o.display=j);else{q?"hidden"in q&&(p=q.hidden):q=L.access(a,"fxshow",{}),f&&(q.hidden=!p),p?n(a).show():l.done(function(){n(a).hide()}),l.done(function(){var b;L.remove(a,"fxshow");for(b in m)n.style(a,b,m[b])});for(d in m)g=Ub(p?q[d]:0,d,l),d in q||(q[d]=g.start,p&&(g.end=g.start,g.start="width"===d||"height"===d?1:0))}}function Wb(a,b){var c,d,e,f,g;for(c in a)if(d=n.camelCase(c),e=b[d],f=a[c],n.isArray(f)&&(e=f[1],f=a[c]=f[0]),c!==d&&(a[d]=f,delete a[c]),g=n.cssHooks[d],g&&"expand"in g){f=g.expand(f),delete a[d];for(c in f)c in a||(a[c]=f[c],b[c]=e)}else b[d]=e}function Xb(a,b,c){var d,e,f=0,g=Qb.length,h=n.Deferred().always(function(){delete i.elem}),i=function(){if(e)return!1;for(var b=Lb||Sb(),c=Math.max(0,j.startTime+j.duration-b),d=c/j.duration||0,f=1-d,g=0,i=j.tweens.length;i>g;g++)j.tweens[g].run(f);return h.notifyWith(a,[j,f,c]),1>f&&i?c:(h.resolveWith(a,[j]),!1)},j=h.promise({elem:a,props:n.extend({},b),opts:n.extend(!0,{specialEasing:{}},c),originalProperties:b,originalOptions:c,startTime:Lb||Sb(),duration:c.duration,tweens:[],createTween:function(b,c){var d=n.Tween(a,j.opts,b,c,j.opts.specialEasing[b]||j.opts.easing);return j.tweens.push(d),d},stop:function(b){var c=0,d=b?j.tweens.length:0;if(e)return this;for(e=!0;d>c;c++)j.tweens[c].run(1);return b?h.resolveWith(a,[j,b]):h.rejectWith(a,[j,b]),this}}),k=j.props;for(Wb(k,j.opts.specialEasing);g>f;f++)if(d=Qb[f].call(j,a,k,j.opts))return d;return n.map(k,Ub,j),n.isFunction(j.opts.start)&&j.opts.start.call(a,j),n.fx.timer(n.extend(i,{elem:a,anim:j,queue:j.opts.queue})),j.progress(j.opts.progress).done(j.opts.done,j.opts.complete).fail(j.opts.fail).always(j.opts.always)}n.Animation=n.extend(Xb,{tweener:function(a,b){n.isFunction(a)?(b=a,a=["*"]):a=a.split(" ");for(var c,d=0,e=a.length;e>d;d++)c=a[d],Rb[c]=Rb[c]||[],Rb[c].unshift(b)},prefilter:function(a,b){b?Qb.unshift(a):Qb.push(a)}}),n.speed=function(a,b,c){var d=a&&"object"==typeof a?n.extend({},a):{complete:c||!c&&b||n.isFunction(a)&&a,duration:a,easing:c&&b||b&&!n.isFunction(b)&&b};return d.duration=n.fx.off?0:"number"==typeof d.duration?d.duration:d.duration in n.fx.speeds?n.fx.speeds[d.duration]:n.fx.speeds._default,(null==d.queue||d.queue===!0)&&(d.queue="fx"),d.old=d.complete,d.complete=function(){n.isFunction(d.old)&&d.old.call(this),d.queue&&n.dequeue(this,d.queue)},d},n.fn.extend({fadeTo:function(a,b,c,d){return this.filter(S).css("opacity",0).show().end().animate({opacity:b},a,c,d)},animate:function(a,b,c,d){var e=n.isEmptyObject(a),f=n.speed(b,c,d),g=function(){var b=Xb(this,n.extend({},a),f);(e||L.get(this,"finish"))&&b.stop(!0)};return g.finish=g,e||f.queue===!1?this.each(g):this.queue(f.queue,g)},stop:function(a,b,c){var d=function(a){var b=a.stop;delete a.stop,b(c)};return"string"!=typeof a&&(c=b,b=a,a=void 0),b&&a!==!1&&this.queue(a||"fx",[]),this.each(function(){var b=!0,e=null!=a&&a+"queueHooks",f=n.timers,g=L.get(this);if(e)g[e]&&g[e].stop&&d(g[e]);else for(e in g)g[e]&&g[e].stop&&Pb.test(e)&&d(g[e]);for(e=f.length;e--;)f[e].elem!==this||null!=a&&f[e].queue!==a||(f[e].anim.stop(c),b=!1,f.splice(e,1));(b||!c)&&n.dequeue(this,a)})},finish:function(a){return a!==!1&&(a=a||"fx"),this.each(function(){var b,c=L.get(this),d=c[a+"queue"],e=c[a+"queueHooks"],f=n.timers,g=d?d.length:0;for(c.finish=!0,n.queue(this,a,[]),e&&e.stop&&e.stop.call(this,!0),b=f.length;b--;)f[b].elem===this&&f[b].queue===a&&(f[b].anim.stop(!0),f.splice(b,1));for(b=0;g>b;b++)d[b]&&d[b].finish&&d[b].finish.call(this);delete c.finish})}}),n.each(["toggle","show","hide"],function(a,b){var c=n.fn[b];n.fn[b]=function(a,d,e){return null==a||"boolean"==typeof a?c.apply(this,arguments):this.animate(Tb(b,!0),a,d,e)}}),n.each({slideDown:Tb("show"),slideUp:Tb("hide"),slideToggle:Tb("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(a,b){n.fn[a]=function(a,c,d){return this.animate(b,a,c,d)}}),n.timers=[],n.fx.tick=function(){var a,b=0,c=n.timers;for(Lb=n.now();b<c.length;b++)a=c[b],a()||c[b]!==a||c.splice(b--,1);c.length||n.fx.stop(),Lb=void 0},n.fx.timer=function(a){n.timers.push(a),a()?n.fx.start():n.timers.pop()},n.fx.interval=13,n.fx.start=function(){Mb||(Mb=setInterval(n.fx.tick,n.fx.interval))},n.fx.stop=function(){clearInterval(Mb),Mb=null},n.fx.speeds={slow:600,fast:200,_default:400},n.fn.delay=function(a,b){return a=n.fx?n.fx.speeds[a]||a:a,b=b||"fx",this.queue(b,function(b,c){var d=setTimeout(b,a);c.stop=function(){clearTimeout(d)}})},function(){var a=l.createElement("input"),b=l.createElement("select"),c=b.appendChild(l.createElement("option"));a.type="checkbox",k.checkOn=""!==a.value,k.optSelected=c.selected,b.disabled=!0,k.optDisabled=!c.disabled,a=l.createElement("input"),a.value="t",a.type="radio",k.radioValue="t"===a.value}();var Yb,Zb,$b=n.expr.attrHandle;n.fn.extend({attr:function(a,b){return J(this,n.attr,a,b,arguments.length>1)},removeAttr:function(a){return this.each(function(){n.removeAttr(this,a)})}}),n.extend({attr:function(a,b,c){var d,e,f=a.nodeType;if(a&&3!==f&&8!==f&&2!==f)return typeof a.getAttribute===U?n.prop(a,b,c):(1===f&&n.isXMLDoc(a)||(b=b.toLowerCase(),d=n.attrHooks[b]||(n.expr.match.bool.test(b)?Zb:Yb)),void 0===c?d&&"get"in d&&null!==(e=d.get(a,b))?e:(e=n.find.attr(a,b),null==e?void 0:e):null!==c?d&&"set"in d&&void 0!==(e=d.set(a,c,b))?e:(a.setAttribute(b,c+""),c):void n.removeAttr(a,b))
|
|
-},removeAttr:function(a,b){var c,d,e=0,f=b&&b.match(E);if(f&&1===a.nodeType)while(c=f[e++])d=n.propFix[c]||c,n.expr.match.bool.test(c)&&(a[d]=!1),a.removeAttribute(c)},attrHooks:{type:{set:function(a,b){if(!k.radioValue&&"radio"===b&&n.nodeName(a,"input")){var c=a.value;return a.setAttribute("type",b),c&&(a.value=c),b}}}}}),Zb={set:function(a,b,c){return b===!1?n.removeAttr(a,c):a.setAttribute(c,c),c}},n.each(n.expr.match.bool.source.match(/\w+/g),function(a,b){var c=$b[b]||n.find.attr;$b[b]=function(a,b,d){var e,f;return d||(f=$b[b],$b[b]=e,e=null!=c(a,b,d)?b.toLowerCase():null,$b[b]=f),e}});var _b=/^(?:input|select|textarea|button)$/i;n.fn.extend({prop:function(a,b){return J(this,n.prop,a,b,arguments.length>1)},removeProp:function(a){return this.each(function(){delete this[n.propFix[a]||a]})}}),n.extend({propFix:{"for":"htmlFor","class":"className"},prop:function(a,b,c){var d,e,f,g=a.nodeType;if(a&&3!==g&&8!==g&&2!==g)return f=1!==g||!n.isXMLDoc(a),f&&(b=n.propFix[b]||b,e=n.propHooks[b]),void 0!==c?e&&"set"in e&&void 0!==(d=e.set(a,c,b))?d:a[b]=c:e&&"get"in e&&null!==(d=e.get(a,b))?d:a[b]},propHooks:{tabIndex:{get:function(a){return a.hasAttribute("tabindex")||_b.test(a.nodeName)||a.href?a.tabIndex:-1}}}}),k.optSelected||(n.propHooks.selected={get:function(a){var b=a.parentNode;return b&&b.parentNode&&b.parentNode.selectedIndex,null}}),n.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){n.propFix[this.toLowerCase()]=this});var ac=/[\t\r\n\f]/g;n.fn.extend({addClass:function(a){var b,c,d,e,f,g,h="string"==typeof a&&a,i=0,j=this.length;if(n.isFunction(a))return this.each(function(b){n(this).addClass(a.call(this,b,this.className))});if(h)for(b=(a||"").match(E)||[];j>i;i++)if(c=this[i],d=1===c.nodeType&&(c.className?(" "+c.className+" ").replace(ac," "):" ")){f=0;while(e=b[f++])d.indexOf(" "+e+" ")<0&&(d+=e+" ");g=n.trim(d),c.className!==g&&(c.className=g)}return this},removeClass:function(a){var b,c,d,e,f,g,h=0===arguments.length||"string"==typeof a&&a,i=0,j=this.length;if(n.isFunction(a))return this.each(function(b){n(this).removeClass(a.call(this,b,this.className))});if(h)for(b=(a||"").match(E)||[];j>i;i++)if(c=this[i],d=1===c.nodeType&&(c.className?(" "+c.className+" ").replace(ac," "):"")){f=0;while(e=b[f++])while(d.indexOf(" "+e+" ")>=0)d=d.replace(" "+e+" "," ");g=a?n.trim(d):"",c.className!==g&&(c.className=g)}return this},toggleClass:function(a,b){var c=typeof a;return"boolean"==typeof b&&"string"===c?b?this.addClass(a):this.removeClass(a):this.each(n.isFunction(a)?function(c){n(this).toggleClass(a.call(this,c,this.className,b),b)}:function(){if("string"===c){var b,d=0,e=n(this),f=a.match(E)||[];while(b=f[d++])e.hasClass(b)?e.removeClass(b):e.addClass(b)}else(c===U||"boolean"===c)&&(this.className&&L.set(this,"__className__",this.className),this.className=this.className||a===!1?"":L.get(this,"__className__")||"")})},hasClass:function(a){for(var b=" "+a+" ",c=0,d=this.length;d>c;c++)if(1===this[c].nodeType&&(" "+this[c].className+" ").replace(ac," ").indexOf(b)>=0)return!0;return!1}});var bc=/\r/g;n.fn.extend({val:function(a){var b,c,d,e=this[0];{if(arguments.length)return d=n.isFunction(a),this.each(function(c){var e;1===this.nodeType&&(e=d?a.call(this,c,n(this).val()):a,null==e?e="":"number"==typeof e?e+="":n.isArray(e)&&(e=n.map(e,function(a){return null==a?"":a+""})),b=n.valHooks[this.type]||n.valHooks[this.nodeName.toLowerCase()],b&&"set"in b&&void 0!==b.set(this,e,"value")||(this.value=e))});if(e)return b=n.valHooks[e.type]||n.valHooks[e.nodeName.toLowerCase()],b&&"get"in b&&void 0!==(c=b.get(e,"value"))?c:(c=e.value,"string"==typeof c?c.replace(bc,""):null==c?"":c)}}}),n.extend({valHooks:{option:{get:function(a){var b=n.find.attr(a,"value");return null!=b?b:n.trim(n.text(a))}},select:{get:function(a){for(var b,c,d=a.options,e=a.selectedIndex,f="select-one"===a.type||0>e,g=f?null:[],h=f?e+1:d.length,i=0>e?h:f?e:0;h>i;i++)if(c=d[i],!(!c.selected&&i!==e||(k.optDisabled?c.disabled:null!==c.getAttribute("disabled"))||c.parentNode.disabled&&n.nodeName(c.parentNode,"optgroup"))){if(b=n(c).val(),f)return b;g.push(b)}return g},set:function(a,b){var c,d,e=a.options,f=n.makeArray(b),g=e.length;while(g--)d=e[g],(d.selected=n.inArray(d.value,f)>=0)&&(c=!0);return c||(a.selectedIndex=-1),f}}}}),n.each(["radio","checkbox"],function(){n.valHooks[this]={set:function(a,b){return n.isArray(b)?a.checked=n.inArray(n(a).val(),b)>=0:void 0}},k.checkOn||(n.valHooks[this].get=function(a){return null===a.getAttribute("value")?"on":a.value})}),n.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 contextmenu".split(" "),function(a,b){n.fn[b]=function(a,c){return arguments.length>0?this.on(b,null,a,c):this.trigger(b)}}),n.fn.extend({hover:function(a,b){return this.mouseenter(a).mouseleave(b||a)},bind:function(a,b,c){return this.on(a,null,b,c)},unbind:function(a,b){return this.off(a,null,b)},delegate:function(a,b,c,d){return this.on(b,a,c,d)},undelegate:function(a,b,c){return 1===arguments.length?this.off(a,"**"):this.off(b,a||"**",c)}});var cc=n.now(),dc=/\?/;n.parseJSON=function(a){return JSON.parse(a+"")},n.parseXML=function(a){var b,c;if(!a||"string"!=typeof a)return null;try{c=new DOMParser,b=c.parseFromString(a,"text/xml")}catch(d){b=void 0}return(!b||b.getElementsByTagName("parsererror").length)&&n.error("Invalid XML: "+a),b};var ec,fc,gc=/#.*$/,hc=/([?&])_=[^&]*/,ic=/^(.*?):[ \t]*([^\r\n]*)$/gm,jc=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,kc=/^(?:GET|HEAD)$/,lc=/^\/\//,mc=/^([\w.+-]+:)(?:\/\/(?:[^\/?#]*@|)([^\/?#:]*)(?::(\d+)|)|)/,nc={},oc={},pc="*/".concat("*");try{fc=location.href}catch(qc){fc=l.createElement("a"),fc.href="",fc=fc.href}ec=mc.exec(fc.toLowerCase())||[];function rc(a){return function(b,c){"string"!=typeof b&&(c=b,b="*");var d,e=0,f=b.toLowerCase().match(E)||[];if(n.isFunction(c))while(d=f[e++])"+"===d[0]?(d=d.slice(1)||"*",(a[d]=a[d]||[]).unshift(c)):(a[d]=a[d]||[]).push(c)}}function sc(a,b,c,d){var e={},f=a===oc;function g(h){var i;return e[h]=!0,n.each(a[h]||[],function(a,h){var j=h(b,c,d);return"string"!=typeof j||f||e[j]?f?!(i=j):void 0:(b.dataTypes.unshift(j),g(j),!1)}),i}return g(b.dataTypes[0])||!e["*"]&&g("*")}function tc(a,b){var c,d,e=n.ajaxSettings.flatOptions||{};for(c in b)void 0!==b[c]&&((e[c]?a:d||(d={}))[c]=b[c]);return d&&n.extend(!0,a,d),a}function uc(a,b,c){var d,e,f,g,h=a.contents,i=a.dataTypes;while("*"===i[0])i.shift(),void 0===d&&(d=a.mimeType||b.getResponseHeader("Content-Type"));if(d)for(e in h)if(h[e]&&h[e].test(d)){i.unshift(e);break}if(i[0]in c)f=i[0];else{for(e in c){if(!i[0]||a.converters[e+" "+i[0]]){f=e;break}g||(g=e)}f=f||g}return f?(f!==i[0]&&i.unshift(f),c[f]):void 0}function vc(a,b,c,d){var e,f,g,h,i,j={},k=a.dataTypes.slice();if(k[1])for(g in a.converters)j[g.toLowerCase()]=a.converters[g];f=k.shift();while(f)if(a.responseFields[f]&&(c[a.responseFields[f]]=b),!i&&d&&a.dataFilter&&(b=a.dataFilter(b,a.dataType)),i=f,f=k.shift())if("*"===f)f=i;else if("*"!==i&&i!==f){if(g=j[i+" "+f]||j["* "+f],!g)for(e in j)if(h=e.split(" "),h[1]===f&&(g=j[i+" "+h[0]]||j["* "+h[0]])){g===!0?g=j[e]:j[e]!==!0&&(f=h[0],k.unshift(h[1]));break}if(g!==!0)if(g&&a["throws"])b=g(b);else try{b=g(b)}catch(l){return{state:"parsererror",error:g?l:"No conversion from "+i+" to "+f}}}return{state:"success",data:b}}n.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:fc,type:"GET",isLocal:jc.test(ec[1]),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":pc,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":n.parseJSON,"text xml":n.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(a,b){return b?tc(tc(a,n.ajaxSettings),b):tc(n.ajaxSettings,a)},ajaxPrefilter:rc(nc),ajaxTransport:rc(oc),ajax:function(a,b){"object"==typeof a&&(b=a,a=void 0),b=b||{};var c,d,e,f,g,h,i,j,k=n.ajaxSetup({},b),l=k.context||k,m=k.context&&(l.nodeType||l.jquery)?n(l):n.event,o=n.Deferred(),p=n.Callbacks("once memory"),q=k.statusCode||{},r={},s={},t=0,u="canceled",v={readyState:0,getResponseHeader:function(a){var b;if(2===t){if(!f){f={};while(b=ic.exec(e))f[b[1].toLowerCase()]=b[2]}b=f[a.toLowerCase()]}return null==b?null:b},getAllResponseHeaders:function(){return 2===t?e:null},setRequestHeader:function(a,b){var c=a.toLowerCase();return t||(a=s[c]=s[c]||a,r[a]=b),this},overrideMimeType:function(a){return t||(k.mimeType=a),this},statusCode:function(a){var b;if(a)if(2>t)for(b in a)q[b]=[q[b],a[b]];else v.always(a[v.status]);return this},abort:function(a){var b=a||u;return c&&c.abort(b),x(0,b),this}};if(o.promise(v).complete=p.add,v.success=v.done,v.error=v.fail,k.url=((a||k.url||fc)+"").replace(gc,"").replace(lc,ec[1]+"//"),k.type=b.method||b.type||k.method||k.type,k.dataTypes=n.trim(k.dataType||"*").toLowerCase().match(E)||[""],null==k.crossDomain&&(h=mc.exec(k.url.toLowerCase()),k.crossDomain=!(!h||h[1]===ec[1]&&h[2]===ec[2]&&(h[3]||("http:"===h[1]?"80":"443"))===(ec[3]||("http:"===ec[1]?"80":"443")))),k.data&&k.processData&&"string"!=typeof k.data&&(k.data=n.param(k.data,k.traditional)),sc(nc,k,b,v),2===t)return v;i=k.global,i&&0===n.active++&&n.event.trigger("ajaxStart"),k.type=k.type.toUpperCase(),k.hasContent=!kc.test(k.type),d=k.url,k.hasContent||(k.data&&(d=k.url+=(dc.test(d)?"&":"?")+k.data,delete k.data),k.cache===!1&&(k.url=hc.test(d)?d.replace(hc,"$1_="+cc++):d+(dc.test(d)?"&":"?")+"_="+cc++)),k.ifModified&&(n.lastModified[d]&&v.setRequestHeader("If-Modified-Since",n.lastModified[d]),n.etag[d]&&v.setRequestHeader("If-None-Match",n.etag[d])),(k.data&&k.hasContent&&k.contentType!==!1||b.contentType)&&v.setRequestHeader("Content-Type",k.contentType),v.setRequestHeader("Accept",k.dataTypes[0]&&k.accepts[k.dataTypes[0]]?k.accepts[k.dataTypes[0]]+("*"!==k.dataTypes[0]?", "+pc+"; q=0.01":""):k.accepts["*"]);for(j in k.headers)v.setRequestHeader(j,k.headers[j]);if(k.beforeSend&&(k.beforeSend.call(l,v,k)===!1||2===t))return v.abort();u="abort";for(j in{success:1,error:1,complete:1})v[j](k[j]);if(c=sc(oc,k,b,v)){v.readyState=1,i&&m.trigger("ajaxSend",[v,k]),k.async&&k.timeout>0&&(g=setTimeout(function(){v.abort("timeout")},k.timeout));try{t=1,c.send(r,x)}catch(w){if(!(2>t))throw w;x(-1,w)}}else x(-1,"No Transport");function x(a,b,f,h){var j,r,s,u,w,x=b;2!==t&&(t=2,g&&clearTimeout(g),c=void 0,e=h||"",v.readyState=a>0?4:0,j=a>=200&&300>a||304===a,f&&(u=uc(k,v,f)),u=vc(k,u,v,j),j?(k.ifModified&&(w=v.getResponseHeader("Last-Modified"),w&&(n.lastModified[d]=w),w=v.getResponseHeader("etag"),w&&(n.etag[d]=w)),204===a||"HEAD"===k.type?x="nocontent":304===a?x="notmodified":(x=u.state,r=u.data,s=u.error,j=!s)):(s=x,(a||!x)&&(x="error",0>a&&(a=0))),v.status=a,v.statusText=(b||x)+"",j?o.resolveWith(l,[r,x,v]):o.rejectWith(l,[v,x,s]),v.statusCode(q),q=void 0,i&&m.trigger(j?"ajaxSuccess":"ajaxError",[v,k,j?r:s]),p.fireWith(l,[v,x]),i&&(m.trigger("ajaxComplete",[v,k]),--n.active||n.event.trigger("ajaxStop")))}return v},getJSON:function(a,b,c){return n.get(a,b,c,"json")},getScript:function(a,b){return n.get(a,void 0,b,"script")}}),n.each(["get","post"],function(a,b){n[b]=function(a,c,d,e){return n.isFunction(c)&&(e=e||d,d=c,c=void 0),n.ajax({url:a,type:b,dataType:e,data:c,success:d})}}),n.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(a,b){n.fn[b]=function(a){return this.on(b,a)}}),n._evalUrl=function(a){return n.ajax({url:a,type:"GET",dataType:"script",async:!1,global:!1,"throws":!0})},n.fn.extend({wrapAll:function(a){var b;return n.isFunction(a)?this.each(function(b){n(this).wrapAll(a.call(this,b))}):(this[0]&&(b=n(a,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&b.insertBefore(this[0]),b.map(function(){var a=this;while(a.firstElementChild)a=a.firstElementChild;return a}).append(this)),this)},wrapInner:function(a){return this.each(n.isFunction(a)?function(b){n(this).wrapInner(a.call(this,b))}:function(){var b=n(this),c=b.contents();c.length?c.wrapAll(a):b.append(a)})},wrap:function(a){var b=n.isFunction(a);return this.each(function(c){n(this).wrapAll(b?a.call(this,c):a)})},unwrap:function(){return this.parent().each(function(){n.nodeName(this,"body")||n(this).replaceWith(this.childNodes)}).end()}}),n.expr.filters.hidden=function(a){return a.offsetWidth<=0&&a.offsetHeight<=0},n.expr.filters.visible=function(a){return!n.expr.filters.hidden(a)};var wc=/%20/g,xc=/\[\]$/,yc=/\r?\n/g,zc=/^(?:submit|button|image|reset|file)$/i,Ac=/^(?:input|select|textarea|keygen)/i;function Bc(a,b,c,d){var e;if(n.isArray(b))n.each(b,function(b,e){c||xc.test(a)?d(a,e):Bc(a+"["+("object"==typeof e?b:"")+"]",e,c,d)});else if(c||"object"!==n.type(b))d(a,b);else for(e in b)Bc(a+"["+e+"]",b[e],c,d)}n.param=function(a,b){var c,d=[],e=function(a,b){b=n.isFunction(b)?b():null==b?"":b,d[d.length]=encodeURIComponent(a)+"="+encodeURIComponent(b)};if(void 0===b&&(b=n.ajaxSettings&&n.ajaxSettings.traditional),n.isArray(a)||a.jquery&&!n.isPlainObject(a))n.each(a,function(){e(this.name,this.value)});else for(c in a)Bc(c,a[c],b,e);return d.join("&").replace(wc,"+")},n.fn.extend({serialize:function(){return n.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var a=n.prop(this,"elements");return a?n.makeArray(a):this}).filter(function(){var a=this.type;return this.name&&!n(this).is(":disabled")&&Ac.test(this.nodeName)&&!zc.test(a)&&(this.checked||!T.test(a))}).map(function(a,b){var c=n(this).val();return null==c?null:n.isArray(c)?n.map(c,function(a){return{name:b.name,value:a.replace(yc,"\r\n")}}):{name:b.name,value:c.replace(yc,"\r\n")}}).get()}}),n.ajaxSettings.xhr=function(){try{return new XMLHttpRequest}catch(a){}};var Cc=0,Dc={},Ec={0:200,1223:204},Fc=n.ajaxSettings.xhr();a.ActiveXObject&&n(a).on("unload",function(){for(var a in Dc)Dc[a]()}),k.cors=!!Fc&&"withCredentials"in Fc,k.ajax=Fc=!!Fc,n.ajaxTransport(function(a){var b;return k.cors||Fc&&!a.crossDomain?{send:function(c,d){var e,f=a.xhr(),g=++Cc;if(f.open(a.type,a.url,a.async,a.username,a.password),a.xhrFields)for(e in a.xhrFields)f[e]=a.xhrFields[e];a.mimeType&&f.overrideMimeType&&f.overrideMimeType(a.mimeType),a.crossDomain||c["X-Requested-With"]||(c["X-Requested-With"]="XMLHttpRequest");for(e in c)f.setRequestHeader(e,c[e]);b=function(a){return function(){b&&(delete Dc[g],b=f.onload=f.onerror=null,"abort"===a?f.abort():"error"===a?d(f.status,f.statusText):d(Ec[f.status]||f.status,f.statusText,"string"==typeof f.responseText?{text:f.responseText}:void 0,f.getAllResponseHeaders()))}},f.onload=b(),f.onerror=b("error"),b=Dc[g]=b("abort");try{f.send(a.hasContent&&a.data||null)}catch(h){if(b)throw h}},abort:function(){b&&b()}}:void 0}),n.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/(?:java|ecma)script/},converters:{"text script":function(a){return n.globalEval(a),a}}}),n.ajaxPrefilter("script",function(a){void 0===a.cache&&(a.cache=!1),a.crossDomain&&(a.type="GET")}),n.ajaxTransport("script",function(a){if(a.crossDomain){var b,c;return{send:function(d,e){b=n("<script>").prop({async:!0,charset:a.scriptCharset,src:a.url}).on("load error",c=function(a){b.remove(),c=null,a&&e("error"===a.type?404:200,a.type)}),l.head.appendChild(b[0])},abort:function(){c&&c()}}}});var Gc=[],Hc=/(=)\?(?=&|$)|\?\?/;n.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var a=Gc.pop()||n.expando+"_"+cc++;return this[a]=!0,a}}),n.ajaxPrefilter("json jsonp",function(b,c,d){var e,f,g,h=b.jsonp!==!1&&(Hc.test(b.url)?"url":"string"==typeof b.data&&!(b.contentType||"").indexOf("application/x-www-form-urlencoded")&&Hc.test(b.data)&&"data");return h||"jsonp"===b.dataTypes[0]?(e=b.jsonpCallback=n.isFunction(b.jsonpCallback)?b.jsonpCallback():b.jsonpCallback,h?b[h]=b[h].replace(Hc,"$1"+e):b.jsonp!==!1&&(b.url+=(dc.test(b.url)?"&":"?")+b.jsonp+"="+e),b.converters["script json"]=function(){return g||n.error(e+" was not called"),g[0]},b.dataTypes[0]="json",f=a[e],a[e]=function(){g=arguments},d.always(function(){a[e]=f,b[e]&&(b.jsonpCallback=c.jsonpCallback,Gc.push(e)),g&&n.isFunction(f)&&f(g[0]),g=f=void 0}),"script"):void 0}),n.parseHTML=function(a,b,c){if(!a||"string"!=typeof a)return null;"boolean"==typeof b&&(c=b,b=!1),b=b||l;var d=v.exec(a),e=!c&&[];return d?[b.createElement(d[1])]:(d=n.buildFragment([a],b,e),e&&e.length&&n(e).remove(),n.merge([],d.childNodes))};var Ic=n.fn.load;n.fn.load=function(a,b,c){if("string"!=typeof a&&Ic)return Ic.apply(this,arguments);var d,e,f,g=this,h=a.indexOf(" ");return h>=0&&(d=n.trim(a.slice(h)),a=a.slice(0,h)),n.isFunction(b)?(c=b,b=void 0):b&&"object"==typeof b&&(e="POST"),g.length>0&&n.ajax({url:a,type:e,dataType:"html",data:b}).done(function(a){f=arguments,g.html(d?n("<div>").append(n.parseHTML(a)).find(d):a)}).complete(c&&function(a,b){g.each(c,f||[a.responseText,b,a])}),this},n.expr.filters.animated=function(a){return n.grep(n.timers,function(b){return a===b.elem}).length};var Jc=a.document.documentElement;function Kc(a){return n.isWindow(a)?a:9===a.nodeType&&a.defaultView}n.offset={setOffset:function(a,b,c){var d,e,f,g,h,i,j,k=n.css(a,"position"),l=n(a),m={};"static"===k&&(a.style.position="relative"),h=l.offset(),f=n.css(a,"top"),i=n.css(a,"left"),j=("absolute"===k||"fixed"===k)&&(f+i).indexOf("auto")>-1,j?(d=l.position(),g=d.top,e=d.left):(g=parseFloat(f)||0,e=parseFloat(i)||0),n.isFunction(b)&&(b=b.call(a,c,h)),null!=b.top&&(m.top=b.top-h.top+g),null!=b.left&&(m.left=b.left-h.left+e),"using"in b?b.using.call(a,m):l.css(m)}},n.fn.extend({offset:function(a){if(arguments.length)return void 0===a?this:this.each(function(b){n.offset.setOffset(this,a,b)});var b,c,d=this[0],e={top:0,left:0},f=d&&d.ownerDocument;if(f)return b=f.documentElement,n.contains(b,d)?(typeof d.getBoundingClientRect!==U&&(e=d.getBoundingClientRect()),c=Kc(f),{top:e.top+c.pageYOffset-b.clientTop,left:e.left+c.pageXOffset-b.clientLeft}):e},position:function(){if(this[0]){var a,b,c=this[0],d={top:0,left:0};return"fixed"===n.css(c,"position")?b=c.getBoundingClientRect():(a=this.offsetParent(),b=this.offset(),n.nodeName(a[0],"html")||(d=a.offset()),d.top+=n.css(a[0],"borderTopWidth",!0),d.left+=n.css(a[0],"borderLeftWidth",!0)),{top:b.top-d.top-n.css(c,"marginTop",!0),left:b.left-d.left-n.css(c,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){var a=this.offsetParent||Jc;while(a&&!n.nodeName(a,"html")&&"static"===n.css(a,"position"))a=a.offsetParent;return a||Jc})}}),n.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(b,c){var d="pageYOffset"===c;n.fn[b]=function(e){return J(this,function(b,e,f){var g=Kc(b);return void 0===f?g?g[c]:b[e]:void(g?g.scrollTo(d?a.pageXOffset:f,d?f:a.pageYOffset):b[e]=f)},b,e,arguments.length,null)}}),n.each(["top","left"],function(a,b){n.cssHooks[b]=yb(k.pixelPosition,function(a,c){return c?(c=xb(a,b),vb.test(c)?n(a).position()[b]+"px":c):void 0})}),n.each({Height:"height",Width:"width"},function(a,b){n.each({padding:"inner"+a,content:b,"":"outer"+a},function(c,d){n.fn[d]=function(d,e){var f=arguments.length&&(c||"boolean"!=typeof d),g=c||(d===!0||e===!0?"margin":"border");return J(this,function(b,c,d){var e;return n.isWindow(b)?b.document.documentElement["client"+a]:9===b.nodeType?(e=b.documentElement,Math.max(b.body["scroll"+a],e["scroll"+a],b.body["offset"+a],e["offset"+a],e["client"+a])):void 0===d?n.css(b,c,g):n.style(b,c,d,g)},b,f?d:void 0,f,null)}})}),n.fn.size=function(){return this.length},n.fn.andSelf=n.fn.addBack,"function"==typeof define&&define.amd&&define("jquery",[],function(){return n});var Lc=a.jQuery,Mc=a.$;return n.noConflict=function(b){return a.$===n&&(a.$=Mc),b&&a.jQuery===n&&(a.jQuery=Lc),n},typeof b===U&&(a.jQuery=a.$=n),n});
|
|
-
|
|
- </script>
|
|
- <script language="javascript" type="text/javascript">
|
|
- /* Javascript plotting library for jQuery, version 0.8.3.
|
|
-
|
|
-Copyright (c) 2007-2014 IOLA and Ole Laursen.
|
|
-Licensed under the MIT license.
|
|
-
|
|
-*/
|
|
-(function($){$.color={};$.color.make=function(r,g,b,a){var o={};o.r=r||0;o.g=g||0;o.b=b||0;o.a=a!=null?a:1;o.add=function(c,d){for(var i=0;i<c.length;++i)o[c.charAt(i)]+=d;return o.normalize()};o.scale=function(c,f){for(var i=0;i<c.length;++i)o[c.charAt(i)]*=f;return o.normalize()};o.toString=function(){if(o.a>=1){return"rgb("+[o.r,o.g,o.b].join(",")+")"}else{return"rgba("+[o.r,o.g,o.b,o.a].join(",")+")"}};o.normalize=function(){function clamp(min,value,max){return value<min?min:value>max?max:value}o.r=clamp(0,parseInt(o.r),255);o.g=clamp(0,parseInt(o.g),255);o.b=clamp(0,parseInt(o.b),255);o.a=clamp(0,o.a,1);return o};o.clone=function(){return $.color.make(o.r,o.b,o.g,o.a)};return o.normalize()};$.color.extract=function(elem,css){var c;do{c=elem.css(css).toLowerCase();if(c!=""&&c!="transparent")break;elem=elem.parent()}while(elem.length&&!$.nodeName(elem.get(0),"body"));if(c=="rgba(0, 0, 0, 0)")c="transparent";return $.color.parse(c)};$.color.parse=function(str){var res,m=$.color.make;if(res=/rgb\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*\)/.exec(str))return m(parseInt(res[1],10),parseInt(res[2],10),parseInt(res[3],10));if(res=/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(str))return m(parseInt(res[1],10),parseInt(res[2],10),parseInt(res[3],10),parseFloat(res[4]));if(res=/rgb\(\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*\)/.exec(str))return m(parseFloat(res[1])*2.55,parseFloat(res[2])*2.55,parseFloat(res[3])*2.55);if(res=/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(str))return m(parseFloat(res[1])*2.55,parseFloat(res[2])*2.55,parseFloat(res[3])*2.55,parseFloat(res[4]));if(res=/#([a-fA-F0-9]{2})([a-fA-F0-9]{2})([a-fA-F0-9]{2})/.exec(str))return m(parseInt(res[1],16),parseInt(res[2],16),parseInt(res[3],16));if(res=/#([a-fA-F0-9])([a-fA-F0-9])([a-fA-F0-9])/.exec(str))return m(parseInt(res[1]+res[1],16),parseInt(res[2]+res[2],16),parseInt(res[3]+res[3],16));var name=$.trim(str).toLowerCase();if(name=="transparent")return m(255,255,255,0);else{res=lookupColors[name]||[0,0,0];return m(res[0],res[1],res[2])}};var lookupColors={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($){var hasOwnProperty=Object.prototype.hasOwnProperty;if(!$.fn.detach){$.fn.detach=function(){return this.each(function(){if(this.parentNode){this.parentNode.removeChild(this)}})}}function Canvas(cls,container){var element=container.children("."+cls)[0];if(element==null){element=document.createElement("canvas");element.className=cls;$(element).css({direction:"ltr",position:"absolute",left:0,top:0}).appendTo(container);if(!element.getContext){if(window.G_vmlCanvasManager){element=window.G_vmlCanvasManager.initElement(element)}else{throw new Error("Canvas is not available. If you're using IE with a fall-back such as Excanvas, then there's either a mistake in your conditional include, or the page has no DOCTYPE and is rendering in Quirks Mode.")}}}this.element=element;var context=this.context=element.getContext("2d");var devicePixelRatio=window.devicePixelRatio||1,backingStoreRatio=context.webkitBackingStorePixelRatio||context.mozBackingStorePixelRatio||context.msBackingStorePixelRatio||context.oBackingStorePixelRatio||context.backingStorePixelRatio||1;this.pixelRatio=devicePixelRatio/backingStoreRatio;this.resize(container.width(),container.height());this.textContainer=null;this.text={};this._textCache={}}Canvas.prototype.resize=function(width,height){if(width<=0||height<=0){throw new Error("Invalid dimensions for plot, width = "+width+", height = "+height)}var element=this.element,context=this.context,pixelRatio=this.pixelRatio;if(this.width!=width){element.width=width*pixelRatio;element.style.width=width+"px";this.width=width}if(this.height!=height){element.height=height*pixelRatio;element.style.height=height+"px";this.height=height}context.restore();context.save();context.scale(pixelRatio,pixelRatio)};Canvas.prototype.clear=function(){this.context.clearRect(0,0,this.width,this.height)};Canvas.prototype.render=function(){var cache=this._textCache;for(var layerKey in cache){if(hasOwnProperty.call(cache,layerKey)){var layer=this.getTextLayer(layerKey),layerCache=cache[layerKey];layer.hide();for(var styleKey in layerCache){if(hasOwnProperty.call(layerCache,styleKey)){var styleCache=layerCache[styleKey];for(var key in styleCache){if(hasOwnProperty.call(styleCache,key)){var positions=styleCache[key].positions;for(var i=0,position;position=positions[i];i++){if(position.active){if(!position.rendered){layer.append(position.element);position.rendered=true}}else{positions.splice(i--,1);if(position.rendered){position.element.detach()}}}if(positions.length==0){delete styleCache[key]}}}}}layer.show()}}};Canvas.prototype.getTextLayer=function(classes){var layer=this.text[classes];if(layer==null){if(this.textContainer==null){this.textContainer=$("<div class='flot-text'></div>").css({position:"absolute",top:0,left:0,bottom:0,right:0,"font-size":"smaller",color:"#545454"}).insertAfter(this.element)}layer=this.text[classes]=$("<div></div>").addClass(classes).css({position:"absolute",top:0,left:0,bottom:0,right:0}).appendTo(this.textContainer)}return layer};Canvas.prototype.getTextInfo=function(layer,text,font,angle,width){var textStyle,layerCache,styleCache,info;text=""+text;if(typeof font==="object"){textStyle=font.style+" "+font.variant+" "+font.weight+" "+font.size+"px/"+font.lineHeight+"px "+font.family}else{textStyle=font}layerCache=this._textCache[layer];if(layerCache==null){layerCache=this._textCache[layer]={}}styleCache=layerCache[textStyle];if(styleCache==null){styleCache=layerCache[textStyle]={}}info=styleCache[text];if(info==null){var element=$("<div></div>").html(text).css({position:"absolute","max-width":width,top:-9999}).appendTo(this.getTextLayer(layer));if(typeof font==="object"){element.css({font:textStyle,color:font.color})}else if(typeof font==="string"){element.addClass(font)}info=styleCache[text]={width:element.outerWidth(true),height:element.outerHeight(true),element:element,positions:[]};element.detach()}return info};Canvas.prototype.addText=function(layer,x,y,text,font,angle,width,halign,valign){var info=this.getTextInfo(layer,text,font,angle,width),positions=info.positions;if(halign=="center"){x-=info.width/2}else if(halign=="right"){x-=info.width}if(valign=="middle"){y-=info.height/2}else if(valign=="bottom"){y-=info.height}for(var i=0,position;position=positions[i];i++){if(position.x==x&&position.y==y){position.active=true;return}}position={active:true,rendered:false,element:positions.length?info.element.clone():info.element,x:x,y:y};positions.push(position);position.element.css({top:Math.round(y),left:Math.round(x),"text-align":halign})};Canvas.prototype.removeText=function(layer,x,y,text,font,angle){if(text==null){var layerCache=this._textCache[layer];if(layerCache!=null){for(var styleKey in layerCache){if(hasOwnProperty.call(layerCache,styleKey)){var styleCache=layerCache[styleKey];for(var key in styleCache){if(hasOwnProperty.call(styleCache,key)){var positions=styleCache[key].positions;for(var i=0,position;position=positions[i];i++){position.active=false}}}}}}}else{var positions=this.getTextInfo(layer,text,font,angle).positions;for(var i=0,position;position=positions[i];i++){if(position.x==x&&position.y==y){position.active=false}}}};function Plot(placeholder,data_,options_,plugins){var series=[],options={colors:["#edc240","#afd8f8","#cb4b4b","#4da74d","#9440ed"],legend:{show:true,noColumns:1,labelFormatter:null,labelBoxBorderColor:"#ccc",container:null,position:"ne",margin:5,backgroundColor:null,backgroundOpacity:.85,sorted:null},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},yaxis:{autoscaleMargin:.02,position:"left"},xaxes:[],yaxes:[],series:{points:{show:false,radius:3,lineWidth:2,fill:true,fillColor:"#ffffff",symbol:"circle"},lines:{lineWidth:2,fill:false,fillColor:null,steps:false},bars:{show:false,lineWidth:2,barWidth:1,fill:true,fillColor:null,align:"left",horizontal:false,zero:true},shadowSize:3,highlightColor:null},grid:{show:true,aboveData:false,color:"#545454",backgroundColor:null,borderColor:null,tickColor:null,margin:0,labelMargin:5,axisMargin:8,borderWidth:2,minBorderMargin:null,markings:null,markingsColor:"#f4f4f4",markingsLineWidth:2,clickable:false,hoverable:false,autoHighlight:true,mouseActiveRadius:10},interaction:{redrawOverlayInterval:1e3/60},hooks:{}},surface=null,overlay=null,eventHolder=null,ctx=null,octx=null,xaxes=[],yaxes=[],plotOffset={left:0,right:0,top:0,bottom:0},plotWidth=0,plotHeight=0,hooks={processOptions:[],processRawData:[],processDatapoints:[],processOffset:[],drawBackground:[],drawSeries:[],draw:[],bindEvents:[],drawOverlay:[],shutdown:[]},plot=this;plot.setData=setData;plot.setupGrid=setupGrid;plot.draw=draw;plot.getPlaceholder=function(){return placeholder};plot.getCanvas=function(){return surface.element};plot.getPlotOffset=function(){return plotOffset};plot.width=function(){return plotWidth};plot.height=function(){return plotHeight};plot.offset=function(){var o=eventHolder.offset();o.left+=plotOffset.left;o.top+=plotOffset.top;return o};plot.getData=function(){return series};plot.getAxes=function(){var res={},i;$.each(xaxes.concat(yaxes),function(_,axis){if(axis)res[axis.direction+(axis.n!=1?axis.n:"")+"axis"]=axis});return res};plot.getXAxes=function(){return xaxes};plot.getYAxes=function(){return yaxes};plot.c2p=canvasToAxisCoords;plot.p2c=axisToCanvasCoords;plot.getOptions=function(){return options};plot.highlight=highlight;plot.unhighlight=unhighlight;plot.triggerRedrawOverlay=triggerRedrawOverlay;plot.pointOffset=function(point){return{left:parseInt(xaxes[axisNumber(point,"x")-1].p2c(+point.x)+plotOffset.left,10),top:parseInt(yaxes[axisNumber(point,"y")-1].p2c(+point.y)+plotOffset.top,10)}};plot.shutdown=shutdown;plot.destroy=function(){shutdown();placeholder.removeData("plot").empty();series=[];options=null;surface=null;overlay=null;eventHolder=null;ctx=null;octx=null;xaxes=[];yaxes=[];hooks=null;highlights=[];plot=null};plot.resize=function(){var width=placeholder.width(),height=placeholder.height();surface.resize(width,height);overlay.resize(width,height)};plot.hooks=hooks;initPlugins(plot);parseOptions(options_);setupCanvases();setData(data_);setupGrid();draw();bindEvents();function executeHooks(hook,args){args=[plot].concat(args);for(var i=0;i<hook.length;++i)hook[i].apply(this,args)}function initPlugins(){var classes={Canvas:Canvas};for(var i=0;i<plugins.length;++i){var p=plugins[i];p.init(plot,classes);if(p.options)$.extend(true,options,p.options)}}function parseOptions(opts){$.extend(true,options,opts);if(opts&&opts.colors){options.colors=opts.colors}if(options.xaxis.color==null)options.xaxis.color=$.color.parse(options.grid.color).scale("a",.22).toString();if(options.yaxis.color==null)options.yaxis.color=$.color.parse(options.grid.color).scale("a",.22).toString();if(options.xaxis.tickColor==null)options.xaxis.tickColor=options.grid.tickColor||options.xaxis.color;if(options.yaxis.tickColor==null)options.yaxis.tickColor=options.grid.tickColor||options.yaxis.color;if(options.grid.borderColor==null)options.grid.borderColor=options.grid.color;if(options.grid.tickColor==null)options.grid.tickColor=$.color.parse(options.grid.color).scale("a",.22).toString();var i,axisOptions,axisCount,fontSize=placeholder.css("font-size"),fontSizeDefault=fontSize?+fontSize.replace("px",""):13,fontDefaults={style:placeholder.css("font-style"),size:Math.round(.8*fontSizeDefault),variant:placeholder.css("font-variant"),weight:placeholder.css("font-weight"),family:placeholder.css("font-family")};axisCount=options.xaxes.length||1;for(i=0;i<axisCount;++i){axisOptions=options.xaxes[i];if(axisOptions&&!axisOptions.tickColor){axisOptions.tickColor=axisOptions.color}axisOptions=$.extend(true,{},options.xaxis,axisOptions);options.xaxes[i]=axisOptions;if(axisOptions.font){axisOptions.font=$.extend({},fontDefaults,axisOptions.font);if(!axisOptions.font.color){axisOptions.font.color=axisOptions.color}if(!axisOptions.font.lineHeight){axisOptions.font.lineHeight=Math.round(axisOptions.font.size*1.15)}}}axisCount=options.yaxes.length||1;for(i=0;i<axisCount;++i){axisOptions=options.yaxes[i];if(axisOptions&&!axisOptions.tickColor){axisOptions.tickColor=axisOptions.color}axisOptions=$.extend(true,{},options.yaxis,axisOptions);options.yaxes[i]=axisOptions;if(axisOptions.font){axisOptions.font=$.extend({},fontDefaults,axisOptions.font);if(!axisOptions.font.color){axisOptions.font.color=axisOptions.color}if(!axisOptions.font.lineHeight){axisOptions.font.lineHeight=Math.round(axisOptions.font.size*1.15)}}}if(options.xaxis.noTicks&&options.xaxis.ticks==null)options.xaxis.ticks=options.xaxis.noTicks;if(options.yaxis.noTicks&&options.yaxis.ticks==null)options.yaxis.ticks=options.yaxis.noTicks;if(options.x2axis){options.xaxes[1]=$.extend(true,{},options.xaxis,options.x2axis);options.xaxes[1].position="top";if(options.x2axis.min==null){options.xaxes[1].min=null}if(options.x2axis.max==null){options.xaxes[1].max=null}}if(options.y2axis){options.yaxes[1]=$.extend(true,{},options.yaxis,options.y2axis);options.yaxes[1].position="right";if(options.y2axis.min==null){options.yaxes[1].min=null}if(options.y2axis.max==null){options.yaxes[1].max=null}}if(options.grid.coloredAreas)options.grid.markings=options.grid.coloredAreas;if(options.grid.coloredAreasColor)options.grid.markingsColor=options.grid.coloredAreasColor;if(options.lines)$.extend(true,options.series.lines,options.lines);if(options.points)$.extend(true,options.series.points,options.points);if(options.bars)$.extend(true,options.series.bars,options.bars);if(options.shadowSize!=null)options.series.shadowSize=options.shadowSize;if(options.highlightColor!=null)options.series.highlightColor=options.highlightColor;for(i=0;i<options.xaxes.length;++i)getOrCreateAxis(xaxes,i+1).options=options.xaxes[i];for(i=0;i<options.yaxes.length;++i)getOrCreateAxis(yaxes,i+1).options=options.yaxes[i];for(var n in hooks)if(options.hooks[n]&&options.hooks[n].length)hooks[n]=hooks[n].concat(options.hooks[n]);executeHooks(hooks.processOptions,[options])}function setData(d){series=parseData(d);fillInSeriesOptions();processData()}function parseData(d){var res=[];for(var i=0;i<d.length;++i){var s=$.extend(true,{},options.series);if(d[i].data!=null){s.data=d[i].data;delete d[i].data;$.extend(true,s,d[i]);d[i].data=s.data}else s.data=d[i];res.push(s)}return res}function axisNumber(obj,coord){var a=obj[coord+"axis"];if(typeof a=="object")a=a.n;if(typeof a!="number")a=1;return a}function allAxes(){return $.grep(xaxes.concat(yaxes),function(a){return a})}function canvasToAxisCoords(pos){var res={},i,axis;for(i=0;i<xaxes.length;++i){axis=xaxes[i];if(axis&&axis.used)res["x"+axis.n]=axis.c2p(pos.left)}for(i=0;i<yaxes.length;++i){axis=yaxes[i];if(axis&&axis.used)res["y"+axis.n]=axis.c2p(pos.top)}if(res.x1!==undefined)res.x=res.x1;if(res.y1!==undefined)res.y=res.y1;return res}function axisToCanvasCoords(pos){var res={},i,axis,key;for(i=0;i<xaxes.length;++i){axis=xaxes[i];if(axis&&axis.used){key="x"+axis.n;if(pos[key]==null&&axis.n==1)key="x";if(pos[key]!=null){res.left=axis.p2c(pos[key]);break}}}for(i=0;i<yaxes.length;++i){axis=yaxes[i];if(axis&&axis.used){key="y"+axis.n;if(pos[key]==null&&axis.n==1)key="y";if(pos[key]!=null){res.top=axis.p2c(pos[key]);break}}}return res}function getOrCreateAxis(axes,number){if(!axes[number-1])axes[number-1]={n:number,direction:axes==xaxes?"x":"y",options:$.extend(true,{},axes==xaxes?options.xaxis:options.yaxis)};return axes[number-1]}function fillInSeriesOptions(){var neededColors=series.length,maxIndex=-1,i;for(i=0;i<series.length;++i){var sc=series[i].color;if(sc!=null){neededColors--;if(typeof sc=="number"&&sc>maxIndex){maxIndex=sc}}}if(neededColors<=maxIndex){neededColors=maxIndex+1}var c,colors=[],colorPool=options.colors,colorPoolSize=colorPool.length,variation=0;for(i=0;i<neededColors;i++){c=$.color.parse(colorPool[i%colorPoolSize]||"#666");if(i%colorPoolSize==0&&i){if(variation>=0){if(variation<.5){variation=-variation-.2}else variation=0}else variation=-variation}colors[i]=c.scale("rgb",1+variation)}var colori=0,s;for(i=0;i<series.length;++i){s=series[i];if(s.color==null){s.color=colors[colori].toString();++colori}else if(typeof s.color=="number")s.color=colors[s.color].toString();if(s.lines.show==null){var v,show=true;for(v in s)if(s[v]&&s[v].show){show=false;break}if(show)s.lines.show=true}if(s.lines.zero==null){s.lines.zero=!!s.lines.fill}s.xaxis=getOrCreateAxis(xaxes,axisNumber(s,"x"));s.yaxis=getOrCreateAxis(yaxes,axisNumber(s,"y"))}}function processData(){var topSentry=Number.POSITIVE_INFINITY,bottomSentry=Number.NEGATIVE_INFINITY,fakeInfinity=Number.MAX_VALUE,i,j,k,m,length,s,points,ps,x,y,axis,val,f,p,data,format;function updateAxis(axis,min,max){if(min<axis.datamin&&min!=-fakeInfinity)axis.datamin=min;if(max>axis.datamax&&max!=fakeInfinity)axis.datamax=max}$.each(allAxes(),function(_,axis){axis.datamin=topSentry;axis.datamax=bottomSentry;axis.used=false});for(i=0;i<series.length;++i){s=series[i];s.datapoints={points:[]};executeHooks(hooks.processRawData,[s,s.data,s.datapoints])}for(i=0;i<series.length;++i){s=series[i];data=s.data;format=s.datapoints.format;if(!format){format=[];format.push({x:true,number:true,required:true});format.push({y:true,number:true,required:true});if(s.bars.show||s.lines.show&&s.lines.fill){var autoscale=!!(s.bars.show&&s.bars.zero||s.lines.show&&s.lines.zero);format.push({y:true,number:true,required:false,defaultValue:0,autoscale:autoscale});if(s.bars.horizontal){delete format[format.length-1].y;format[format.length-1].x=true}}s.datapoints.format=format}if(s.datapoints.pointsize!=null)continue;s.datapoints.pointsize=format.length;ps=s.datapoints.pointsize;points=s.datapoints.points;var insertSteps=s.lines.show&&s.lines.steps;s.xaxis.used=s.yaxis.used=true;for(j=k=0;j<data.length;++j,k+=ps){p=data[j];var nullify=p==null;if(!nullify){for(m=0;m<ps;++m){val=p[m];f=format[m];if(f){if(f.number&&val!=null){val=+val;if(isNaN(val))val=null;else if(val==Infinity)val=fakeInfinity;else if(val==-Infinity)val=-fakeInfinity}if(val==null){if(f.required)nullify=true;if(f.defaultValue!=null)val=f.defaultValue}}points[k+m]=val}}if(nullify){for(m=0;m<ps;++m){val=points[k+m];if(val!=null){f=format[m];if(f.autoscale!==false){if(f.x){updateAxis(s.xaxis,val,val)}if(f.y){updateAxis(s.yaxis,val,val)}}}points[k+m]=null}}else{if(insertSteps&&k>0&&points[k-ps]!=null&&points[k-ps]!=points[k]&&points[k-ps+1]!=points[k+1]){for(m=0;m<ps;++m)points[k+ps+m]=points[k+m];points[k+1]=points[k-ps+1];k+=ps}}}}for(i=0;i<series.length;++i){s=series[i];executeHooks(hooks.processDatapoints,[s,s.datapoints])}for(i=0;i<series.length;++i){s=series[i];points=s.datapoints.points;ps=s.datapoints.pointsize;format=s.datapoints.format;var xmin=topSentry,ymin=topSentry,xmax=bottomSentry,ymax=bottomSentry;for(j=0;j<points.length;j+=ps){if(points[j]==null)continue;for(m=0;m<ps;++m){val=points[j+m];f=format[m];if(!f||f.autoscale===false||val==fakeInfinity||val==-fakeInfinity)continue;if(f.x){if(val<xmin)xmin=val;if(val>xmax)xmax=val}if(f.y){if(val<ymin)ymin=val;if(val>ymax)ymax=val}}}if(s.bars.show){var delta;switch(s.bars.align){case"left":delta=0;break;case"right":delta=-s.bars.barWidth;break;default:delta=-s.bars.barWidth/2}if(s.bars.horizontal){ymin+=delta;ymax+=delta+s.bars.barWidth}else{xmin+=delta;xmax+=delta+s.bars.barWidth}}updateAxis(s.xaxis,xmin,xmax);updateAxis(s.yaxis,ymin,ymax)}$.each(allAxes(),function(_,axis){if(axis.datamin==topSentry)axis.datamin=null;if(axis.datamax==bottomSentry)axis.datamax=null})}function setupCanvases(){placeholder.css("padding",0).children().filter(function(){return!$(this).hasClass("flot-overlay")&&!$(this).hasClass("flot-base")}).remove();if(placeholder.css("position")=="static")placeholder.css("position","relative");surface=new Canvas("flot-base",placeholder);overlay=new Canvas("flot-overlay",placeholder);ctx=surface.context;octx=overlay.context;eventHolder=$(overlay.element).unbind();var existing=placeholder.data("plot");if(existing){existing.shutdown();overlay.clear()}placeholder.data("plot",plot)}function bindEvents(){if(options.grid.hoverable){eventHolder.mousemove(onMouseMove);eventHolder.bind("mouseleave",onMouseLeave)}if(options.grid.clickable)eventHolder.click(onClick);executeHooks(hooks.bindEvents,[eventHolder])}function shutdown(){if(redrawTimeout)clearTimeout(redrawTimeout);eventHolder.unbind("mousemove",onMouseMove);eventHolder.unbind("mouseleave",onMouseLeave);eventHolder.unbind("click",onClick);executeHooks(hooks.shutdown,[eventHolder])}function setTransformationHelpers(axis){function identity(x){return x}var s,m,t=axis.options.transform||identity,it=axis.options.inverseTransform;if(axis.direction=="x"){s=axis.scale=plotWidth/Math.abs(t(axis.max)-t(axis.min));m=Math.min(t(axis.max),t(axis.min))}else{s=axis.scale=plotHeight/Math.abs(t(axis.max)-t(axis.min));s=-s;m=Math.max(t(axis.max),t(axis.min))}if(t==identity)axis.p2c=function(p){return(p-m)*s};else axis.p2c=function(p){return(t(p)-m)*s};if(!it)axis.c2p=function(c){return m+c/s};else axis.c2p=function(c){return it(m+c/s)}}function measureTickLabels(axis){var opts=axis.options,ticks=axis.ticks||[],labelWidth=opts.labelWidth||0,labelHeight=opts.labelHeight||0,maxWidth=labelWidth||(axis.direction=="x"?Math.floor(surface.width/(ticks.length||1)):null),legacyStyles=axis.direction+"Axis "+axis.direction+axis.n+"Axis",layer="flot-"+axis.direction+"-axis flot-"+axis.direction+axis.n+"-axis "+legacyStyles,font=opts.font||"flot-tick-label tickLabel";for(var i=0;i<ticks.length;++i){var t=ticks[i];if(!t.label)continue;var info=surface.getTextInfo(layer,t.label,font,null,maxWidth);labelWidth=Math.max(labelWidth,info.width);labelHeight=Math.max(labelHeight,info.height)}axis.labelWidth=opts.labelWidth||labelWidth;axis.labelHeight=opts.labelHeight||labelHeight}function allocateAxisBoxFirstPhase(axis){var lw=axis.labelWidth,lh=axis.labelHeight,pos=axis.options.position,isXAxis=axis.direction==="x",tickLength=axis.options.tickLength,axisMargin=options.grid.axisMargin,padding=options.grid.labelMargin,innermost=true,outermost=true,first=true,found=false;$.each(isXAxis?xaxes:yaxes,function(i,a){if(a&&(a.show||a.reserveSpace)){if(a===axis){found=true}else if(a.options.position===pos){if(found){outermost=false}else{innermost=false}}if(!found){first=false}}});if(outermost){axisMargin=0}if(tickLength==null){tickLength=first?"full":5}if(!isNaN(+tickLength))padding+=+tickLength;if(isXAxis){lh+=padding;if(pos=="bottom"){plotOffset.bottom+=lh+axisMargin;axis.box={top:surface.height-plotOffset.bottom,height:lh}}else{axis.box={top:plotOffset.top+axisMargin,height:lh};plotOffset.top+=lh+axisMargin}}else{lw+=padding;if(pos=="left"){axis.box={left:plotOffset.left+axisMargin,width:lw};plotOffset.left+=lw+axisMargin}else{plotOffset.right+=lw+axisMargin;axis.box={left:surface.width-plotOffset.right,width:lw}}}axis.position=pos;axis.tickLength=tickLength;axis.box.padding=padding;axis.innermost=innermost}function allocateAxisBoxSecondPhase(axis){if(axis.direction=="x"){axis.box.left=plotOffset.left-axis.labelWidth/2;axis.box.width=surface.width-plotOffset.left-plotOffset.right+axis.labelWidth}else{axis.box.top=plotOffset.top-axis.labelHeight/2;axis.box.height=surface.height-plotOffset.bottom-plotOffset.top+axis.labelHeight}}function adjustLayoutForThingsStickingOut(){var minMargin=options.grid.minBorderMargin,axis,i;if(minMargin==null){minMargin=0;for(i=0;i<series.length;++i)minMargin=Math.max(minMargin,2*(series[i].points.radius+series[i].points.lineWidth/2))}var margins={left:minMargin,right:minMargin,top:minMargin,bottom:minMargin};$.each(allAxes(),function(_,axis){if(axis.reserveSpace&&axis.ticks&&axis.ticks.length){if(axis.direction==="x"){margins.left=Math.max(margins.left,axis.labelWidth/2);margins.right=Math.max(margins.right,axis.labelWidth/2)}else{margins.bottom=Math.max(margins.bottom,axis.labelHeight/2);margins.top=Math.max(margins.top,axis.labelHeight/2)}}});plotOffset.left=Math.ceil(Math.max(margins.left,plotOffset.left));plotOffset.right=Math.ceil(Math.max(margins.right,plotOffset.right));plotOffset.top=Math.ceil(Math.max(margins.top,plotOffset.top));plotOffset.bottom=Math.ceil(Math.max(margins.bottom,plotOffset.bottom))}function setupGrid(){var i,axes=allAxes(),showGrid=options.grid.show;for(var a in plotOffset){var margin=options.grid.margin||0;plotOffset[a]=typeof margin=="number"?margin:margin[a]||0}executeHooks(hooks.processOffset,[plotOffset]);for(var a in plotOffset){if(typeof options.grid.borderWidth=="object"){plotOffset[a]+=showGrid?options.grid.borderWidth[a]:0}else{plotOffset[a]+=showGrid?options.grid.borderWidth:0}}$.each(axes,function(_,axis){var axisOpts=axis.options;axis.show=axisOpts.show==null?axis.used:axisOpts.show;axis.reserveSpace=axisOpts.reserveSpace==null?axis.show:axisOpts.reserveSpace;setRange(axis)});if(showGrid){var allocatedAxes=$.grep(axes,function(axis){return axis.show||axis.reserveSpace});$.each(allocatedAxes,function(_,axis){setupTickGeneration(axis);setTicks(axis);snapRangeToTicks(axis,axis.ticks);measureTickLabels(axis)});for(i=allocatedAxes.length-1;i>=0;--i)allocateAxisBoxFirstPhase(allocatedAxes[i]);adjustLayoutForThingsStickingOut();$.each(allocatedAxes,function(_,axis){allocateAxisBoxSecondPhase(axis)})}plotWidth=surface.width-plotOffset.left-plotOffset.right;plotHeight=surface.height-plotOffset.bottom-plotOffset.top;$.each(axes,function(_,axis){setTransformationHelpers(axis)});if(showGrid){drawAxisLabels()}insertLegend()}function setRange(axis){var opts=axis.options,min=+(opts.min!=null?opts.min:axis.datamin),max=+(opts.max!=null?opts.max:axis.datamax),delta=max-min;if(delta==0){var widen=max==0?1:.01;if(opts.min==null)min-=widen;if(opts.max==null||opts.min!=null)max+=widen}else{var margin=opts.autoscaleMargin;if(margin!=null){if(opts.min==null){min-=delta*margin;if(min<0&&axis.datamin!=null&&axis.datamin>=0)min=0}if(opts.max==null){max+=delta*margin;if(max>0&&axis.datamax!=null&&axis.datamax<=0)max=0}}}axis.min=min;axis.max=max}function setupTickGeneration(axis){var opts=axis.options;var noTicks;if(typeof opts.ticks=="number"&&opts.ticks>0)noTicks=opts.ticks;else noTicks=.3*Math.sqrt(axis.direction=="x"?surface.width:surface.height);var delta=(axis.max-axis.min)/noTicks,dec=-Math.floor(Math.log(delta)/Math.LN10),maxDec=opts.tickDecimals;if(maxDec!=null&&dec>maxDec){dec=maxDec}var magn=Math.pow(10,-dec),norm=delta/magn,size;if(norm<1.5){size=1}else if(norm<3){size=2;if(norm>2.25&&(maxDec==null||dec+1<=maxDec)){size=2.5;++dec}}else if(norm<7.5){size=5}else{size=10}size*=magn;if(opts.minTickSize!=null&&size<opts.minTickSize){size=opts.minTickSize}axis.delta=delta;axis.tickDecimals=Math.max(0,maxDec!=null?maxDec:dec);axis.tickSize=opts.tickSize||size;if(opts.mode=="time"&&!axis.tickGenerator){throw new Error("Time mode requires the flot.time plugin.")}if(!axis.tickGenerator){axis.tickGenerator=function(axis){var ticks=[],start=floorInBase(axis.min,axis.tickSize),i=0,v=Number.NaN,prev;do{prev=v;v=start+i*axis.tickSize;ticks.push(v);++i}while(v<axis.max&&v!=prev);return ticks};axis.tickFormatter=function(value,axis){var factor=axis.tickDecimals?Math.pow(10,axis.tickDecimals):1;var formatted=""+Math.round(value*factor)/factor;if(axis.tickDecimals!=null){var decimal=formatted.indexOf(".");var precision=decimal==-1?0:formatted.length-decimal-1;if(precision<axis.tickDecimals){return(precision?formatted:formatted+".")+(""+factor).substr(1,axis.tickDecimals-precision)}}return formatted}}if($.isFunction(opts.tickFormatter))axis.tickFormatter=function(v,axis){return""+opts.tickFormatter(v,axis)};if(opts.alignTicksWithAxis!=null){var otherAxis=(axis.direction=="x"?xaxes:yaxes)[opts.alignTicksWithAxis-1];if(otherAxis&&otherAxis.used&&otherAxis!=axis){var niceTicks=axis.tickGenerator(axis);if(niceTicks.length>0){if(opts.min==null)axis.min=Math.min(axis.min,niceTicks[0]);if(opts.max==null&&niceTicks.length>1)axis.max=Math.max(axis.max,niceTicks[niceTicks.length-1])}axis.tickGenerator=function(axis){var ticks=[],v,i;for(i=0;i<otherAxis.ticks.length;++i){v=(otherAxis.ticks[i].v-otherAxis.min)/(otherAxis.max-otherAxis.min);v=axis.min+v*(axis.max-axis.min);ticks.push(v)}return ticks};if(!axis.mode&&opts.tickDecimals==null){var extraDec=Math.max(0,-Math.floor(Math.log(axis.delta)/Math.LN10)+1),ts=axis.tickGenerator(axis);if(!(ts.length>1&&/\..*0$/.test((ts[1]-ts[0]).toFixed(extraDec))))axis.tickDecimals=extraDec}}}}function setTicks(axis){var oticks=axis.options.ticks,ticks=[];if(oticks==null||typeof oticks=="number"&&oticks>0)ticks=axis.tickGenerator(axis);else if(oticks){if($.isFunction(oticks))ticks=oticks(axis);else ticks=oticks}var i,v;axis.ticks=[];for(i=0;i<ticks.length;++i){var label=null;var t=ticks[i];if(typeof t=="object"){v=+t[0];if(t.length>1)label=t[1]}else v=+t;if(label==null)label=axis.tickFormatter(v,axis);if(!isNaN(v))axis.ticks.push({v:v,label:label})}}function snapRangeToTicks(axis,ticks){if(axis.options.autoscaleMargin&&ticks.length>0){if(axis.options.min==null)axis.min=Math.min(axis.min,ticks[0].v);if(axis.options.max==null&&ticks.length>1)axis.max=Math.max(axis.max,ticks[ticks.length-1].v)}}function draw(){surface.clear();executeHooks(hooks.drawBackground,[ctx]);var grid=options.grid;if(grid.show&&grid.backgroundColor)drawBackground();if(grid.show&&!grid.aboveData){drawGrid()}for(var i=0;i<series.length;++i){executeHooks(hooks.drawSeries,[ctx,series[i]]);drawSeries(series[i])}executeHooks(hooks.draw,[ctx]);if(grid.show&&grid.aboveData){drawGrid()}surface.render();triggerRedrawOverlay()}function extractRange(ranges,coord){var axis,from,to,key,axes=allAxes();for(var i=0;i<axes.length;++i){axis=axes[i];if(axis.direction==coord){key=coord+axis.n+"axis";if(!ranges[key]&&axis.n==1)key=coord+"axis";if(ranges[key]){from=ranges[key].from;to=ranges[key].to;break}}}if(!ranges[key]){axis=coord=="x"?xaxes[0]:yaxes[0];from=ranges[coord+"1"];to=ranges[coord+"2"]}if(from!=null&&to!=null&&from>to){var tmp=from;from=to;to=tmp}return{from:from,to:to,axis:axis}}function drawBackground(){ctx.save();ctx.translate(plotOffset.left,plotOffset.top);ctx.fillStyle=getColorOrGradient(options.grid.backgroundColor,plotHeight,0,"rgba(255, 255, 255, 0)");ctx.fillRect(0,0,plotWidth,plotHeight);ctx.restore()}function drawGrid(){var i,axes,bw,bc;ctx.save();ctx.translate(plotOffset.left,plotOffset.top);var markings=options.grid.markings;if(markings){if($.isFunction(markings)){axes=plot.getAxes();axes.xmin=axes.xaxis.min;axes.xmax=axes.xaxis.max;axes.ymin=axes.yaxis.min;axes.ymax=axes.yaxis.max;markings=markings(axes)}for(i=0;i<markings.length;++i){var m=markings[i],xrange=extractRange(m,"x"),yrange=extractRange(m,"y");if(xrange.from==null)xrange.from=xrange.axis.min;if(xrange.to==null)xrange.to=xrange.axis.max;
|
|
-if(yrange.from==null)yrange.from=yrange.axis.min;if(yrange.to==null)yrange.to=yrange.axis.max;if(xrange.to<xrange.axis.min||xrange.from>xrange.axis.max||yrange.to<yrange.axis.min||yrange.from>yrange.axis.max)continue;xrange.from=Math.max(xrange.from,xrange.axis.min);xrange.to=Math.min(xrange.to,xrange.axis.max);yrange.from=Math.max(yrange.from,yrange.axis.min);yrange.to=Math.min(yrange.to,yrange.axis.max);var xequal=xrange.from===xrange.to,yequal=yrange.from===yrange.to;if(xequal&&yequal){continue}xrange.from=Math.floor(xrange.axis.p2c(xrange.from));xrange.to=Math.floor(xrange.axis.p2c(xrange.to));yrange.from=Math.floor(yrange.axis.p2c(yrange.from));yrange.to=Math.floor(yrange.axis.p2c(yrange.to));if(xequal||yequal){var lineWidth=m.lineWidth||options.grid.markingsLineWidth,subPixel=lineWidth%2?.5:0;ctx.beginPath();ctx.strokeStyle=m.color||options.grid.markingsColor;ctx.lineWidth=lineWidth;if(xequal){ctx.moveTo(xrange.to+subPixel,yrange.from);ctx.lineTo(xrange.to+subPixel,yrange.to)}else{ctx.moveTo(xrange.from,yrange.to+subPixel);ctx.lineTo(xrange.to,yrange.to+subPixel)}ctx.stroke()}else{ctx.fillStyle=m.color||options.grid.markingsColor;ctx.fillRect(xrange.from,yrange.to,xrange.to-xrange.from,yrange.from-yrange.to)}}}axes=allAxes();bw=options.grid.borderWidth;for(var j=0;j<axes.length;++j){var axis=axes[j],box=axis.box,t=axis.tickLength,x,y,xoff,yoff;if(!axis.show||axis.ticks.length==0)continue;ctx.lineWidth=1;if(axis.direction=="x"){x=0;if(t=="full")y=axis.position=="top"?0:plotHeight;else y=box.top-plotOffset.top+(axis.position=="top"?box.height:0)}else{y=0;if(t=="full")x=axis.position=="left"?0:plotWidth;else x=box.left-plotOffset.left+(axis.position=="left"?box.width:0)}if(!axis.innermost){ctx.strokeStyle=axis.options.color;ctx.beginPath();xoff=yoff=0;if(axis.direction=="x")xoff=plotWidth+1;else yoff=plotHeight+1;if(ctx.lineWidth==1){if(axis.direction=="x"){y=Math.floor(y)+.5}else{x=Math.floor(x)+.5}}ctx.moveTo(x,y);ctx.lineTo(x+xoff,y+yoff);ctx.stroke()}ctx.strokeStyle=axis.options.tickColor;ctx.beginPath();for(i=0;i<axis.ticks.length;++i){var v=axis.ticks[i].v;xoff=yoff=0;if(isNaN(v)||v<axis.min||v>axis.max||t=="full"&&(typeof bw=="object"&&bw[axis.position]>0||bw>0)&&(v==axis.min||v==axis.max))continue;if(axis.direction=="x"){x=axis.p2c(v);yoff=t=="full"?-plotHeight:t;if(axis.position=="top")yoff=-yoff}else{y=axis.p2c(v);xoff=t=="full"?-plotWidth:t;if(axis.position=="left")xoff=-xoff}if(ctx.lineWidth==1){if(axis.direction=="x")x=Math.floor(x)+.5;else y=Math.floor(y)+.5}ctx.moveTo(x,y);ctx.lineTo(x+xoff,y+yoff)}ctx.stroke()}if(bw){bc=options.grid.borderColor;if(typeof bw=="object"||typeof bc=="object"){if(typeof bw!=="object"){bw={top:bw,right:bw,bottom:bw,left:bw}}if(typeof bc!=="object"){bc={top:bc,right:bc,bottom:bc,left:bc}}if(bw.top>0){ctx.strokeStyle=bc.top;ctx.lineWidth=bw.top;ctx.beginPath();ctx.moveTo(0-bw.left,0-bw.top/2);ctx.lineTo(plotWidth,0-bw.top/2);ctx.stroke()}if(bw.right>0){ctx.strokeStyle=bc.right;ctx.lineWidth=bw.right;ctx.beginPath();ctx.moveTo(plotWidth+bw.right/2,0-bw.top);ctx.lineTo(plotWidth+bw.right/2,plotHeight);ctx.stroke()}if(bw.bottom>0){ctx.strokeStyle=bc.bottom;ctx.lineWidth=bw.bottom;ctx.beginPath();ctx.moveTo(plotWidth+bw.right,plotHeight+bw.bottom/2);ctx.lineTo(0,plotHeight+bw.bottom/2);ctx.stroke()}if(bw.left>0){ctx.strokeStyle=bc.left;ctx.lineWidth=bw.left;ctx.beginPath();ctx.moveTo(0-bw.left/2,plotHeight+bw.bottom);ctx.lineTo(0-bw.left/2,0);ctx.stroke()}}else{ctx.lineWidth=bw;ctx.strokeStyle=options.grid.borderColor;ctx.strokeRect(-bw/2,-bw/2,plotWidth+bw,plotHeight+bw)}}ctx.restore()}function drawAxisLabels(){$.each(allAxes(),function(_,axis){var box=axis.box,legacyStyles=axis.direction+"Axis "+axis.direction+axis.n+"Axis",layer="flot-"+axis.direction+"-axis flot-"+axis.direction+axis.n+"-axis "+legacyStyles,font=axis.options.font||"flot-tick-label tickLabel",tick,x,y,halign,valign;surface.removeText(layer);if(!axis.show||axis.ticks.length==0)return;for(var i=0;i<axis.ticks.length;++i){tick=axis.ticks[i];if(!tick.label||tick.v<axis.min||tick.v>axis.max)continue;if(axis.direction=="x"){halign="center";x=plotOffset.left+axis.p2c(tick.v);if(axis.position=="bottom"){y=box.top+box.padding}else{y=box.top+box.height-box.padding;valign="bottom"}}else{valign="middle";y=plotOffset.top+axis.p2c(tick.v);if(axis.position=="left"){x=box.left+box.width-box.padding;halign="right"}else{x=box.left+box.padding}}surface.addText(layer,x,y,tick.label,font,null,null,halign,valign)}})}function drawSeries(series){if(series.lines.show)drawSeriesLines(series);if(series.bars.show)drawSeriesBars(series);if(series.points.show)drawSeriesPoints(series)}function drawSeriesLines(series){function plotLine(datapoints,xoffset,yoffset,axisx,axisy){var points=datapoints.points,ps=datapoints.pointsize,prevx=null,prevy=null;ctx.beginPath();for(var i=ps;i<points.length;i+=ps){var x1=points[i-ps],y1=points[i-ps+1],x2=points[i],y2=points[i+1];if(x1==null||x2==null)continue;if(y1<=y2&&y1<axisy.min){if(y2<axisy.min)continue;x1=(axisy.min-y1)/(y2-y1)*(x2-x1)+x1;y1=axisy.min}else if(y2<=y1&&y2<axisy.min){if(y1<axisy.min)continue;x2=(axisy.min-y1)/(y2-y1)*(x2-x1)+x1;y2=axisy.min}if(y1>=y2&&y1>axisy.max){if(y2>axisy.max)continue;x1=(axisy.max-y1)/(y2-y1)*(x2-x1)+x1;y1=axisy.max}else if(y2>=y1&&y2>axisy.max){if(y1>axisy.max)continue;x2=(axisy.max-y1)/(y2-y1)*(x2-x1)+x1;y2=axisy.max}if(x1<=x2&&x1<axisx.min){if(x2<axisx.min)continue;y1=(axisx.min-x1)/(x2-x1)*(y2-y1)+y1;x1=axisx.min}else if(x2<=x1&&x2<axisx.min){if(x1<axisx.min)continue;y2=(axisx.min-x1)/(x2-x1)*(y2-y1)+y1;x2=axisx.min}if(x1>=x2&&x1>axisx.max){if(x2>axisx.max)continue;y1=(axisx.max-x1)/(x2-x1)*(y2-y1)+y1;x1=axisx.max}else if(x2>=x1&&x2>axisx.max){if(x1>axisx.max)continue;y2=(axisx.max-x1)/(x2-x1)*(y2-y1)+y1;x2=axisx.max}if(x1!=prevx||y1!=prevy)ctx.moveTo(axisx.p2c(x1)+xoffset,axisy.p2c(y1)+yoffset);prevx=x2;prevy=y2;ctx.lineTo(axisx.p2c(x2)+xoffset,axisy.p2c(y2)+yoffset)}ctx.stroke()}function plotLineArea(datapoints,axisx,axisy){var points=datapoints.points,ps=datapoints.pointsize,bottom=Math.min(Math.max(0,axisy.min),axisy.max),i=0,top,areaOpen=false,ypos=1,segmentStart=0,segmentEnd=0;while(true){if(ps>0&&i>points.length+ps)break;i+=ps;var x1=points[i-ps],y1=points[i-ps+ypos],x2=points[i],y2=points[i+ypos];if(areaOpen){if(ps>0&&x1!=null&&x2==null){segmentEnd=i;ps=-ps;ypos=2;continue}if(ps<0&&i==segmentStart+ps){ctx.fill();areaOpen=false;ps=-ps;ypos=1;i=segmentStart=segmentEnd+ps;continue}}if(x1==null||x2==null)continue;if(x1<=x2&&x1<axisx.min){if(x2<axisx.min)continue;y1=(axisx.min-x1)/(x2-x1)*(y2-y1)+y1;x1=axisx.min}else if(x2<=x1&&x2<axisx.min){if(x1<axisx.min)continue;y2=(axisx.min-x1)/(x2-x1)*(y2-y1)+y1;x2=axisx.min}if(x1>=x2&&x1>axisx.max){if(x2>axisx.max)continue;y1=(axisx.max-x1)/(x2-x1)*(y2-y1)+y1;x1=axisx.max}else if(x2>=x1&&x2>axisx.max){if(x1>axisx.max)continue;y2=(axisx.max-x1)/(x2-x1)*(y2-y1)+y1;x2=axisx.max}if(!areaOpen){ctx.beginPath();ctx.moveTo(axisx.p2c(x1),axisy.p2c(bottom));areaOpen=true}if(y1>=axisy.max&&y2>=axisy.max){ctx.lineTo(axisx.p2c(x1),axisy.p2c(axisy.max));ctx.lineTo(axisx.p2c(x2),axisy.p2c(axisy.max));continue}else if(y1<=axisy.min&&y2<=axisy.min){ctx.lineTo(axisx.p2c(x1),axisy.p2c(axisy.min));ctx.lineTo(axisx.p2c(x2),axisy.p2c(axisy.min));continue}var x1old=x1,x2old=x2;if(y1<=y2&&y1<axisy.min&&y2>=axisy.min){x1=(axisy.min-y1)/(y2-y1)*(x2-x1)+x1;y1=axisy.min}else if(y2<=y1&&y2<axisy.min&&y1>=axisy.min){x2=(axisy.min-y1)/(y2-y1)*(x2-x1)+x1;y2=axisy.min}if(y1>=y2&&y1>axisy.max&&y2<=axisy.max){x1=(axisy.max-y1)/(y2-y1)*(x2-x1)+x1;y1=axisy.max}else if(y2>=y1&&y2>axisy.max&&y1<=axisy.max){x2=(axisy.max-y1)/(y2-y1)*(x2-x1)+x1;y2=axisy.max}if(x1!=x1old){ctx.lineTo(axisx.p2c(x1old),axisy.p2c(y1))}ctx.lineTo(axisx.p2c(x1),axisy.p2c(y1));ctx.lineTo(axisx.p2c(x2),axisy.p2c(y2));if(x2!=x2old){ctx.lineTo(axisx.p2c(x2),axisy.p2c(y2));ctx.lineTo(axisx.p2c(x2old),axisy.p2c(y2))}}}ctx.save();ctx.translate(plotOffset.left,plotOffset.top);ctx.lineJoin="round";var lw=series.lines.lineWidth,sw=series.shadowSize;if(lw>0&&sw>0){ctx.lineWidth=sw;ctx.strokeStyle="rgba(0,0,0,0.1)";var angle=Math.PI/18;plotLine(series.datapoints,Math.sin(angle)*(lw/2+sw/2),Math.cos(angle)*(lw/2+sw/2),series.xaxis,series.yaxis);ctx.lineWidth=sw/2;plotLine(series.datapoints,Math.sin(angle)*(lw/2+sw/4),Math.cos(angle)*(lw/2+sw/4),series.xaxis,series.yaxis)}ctx.lineWidth=lw;ctx.strokeStyle=series.color;var fillStyle=getFillStyle(series.lines,series.color,0,plotHeight);if(fillStyle){ctx.fillStyle=fillStyle;plotLineArea(series.datapoints,series.xaxis,series.yaxis)}if(lw>0)plotLine(series.datapoints,0,0,series.xaxis,series.yaxis);ctx.restore()}function drawSeriesPoints(series){function plotPoints(datapoints,radius,fillStyle,offset,shadow,axisx,axisy,symbol){var points=datapoints.points,ps=datapoints.pointsize;for(var i=0;i<points.length;i+=ps){var x=points[i],y=points[i+1];if(x==null||x<axisx.min||x>axisx.max||y<axisy.min||y>axisy.max)continue;ctx.beginPath();x=axisx.p2c(x);y=axisy.p2c(y)+offset;if(symbol=="circle")ctx.arc(x,y,radius,0,shadow?Math.PI:Math.PI*2,false);else symbol(ctx,x,y,radius,shadow);ctx.closePath();if(fillStyle){ctx.fillStyle=fillStyle;ctx.fill()}ctx.stroke()}}ctx.save();ctx.translate(plotOffset.left,plotOffset.top);var lw=series.points.lineWidth,sw=series.shadowSize,radius=series.points.radius,symbol=series.points.symbol;if(lw==0)lw=1e-4;if(lw>0&&sw>0){var w=sw/2;ctx.lineWidth=w;ctx.strokeStyle="rgba(0,0,0,0.1)";plotPoints(series.datapoints,radius,null,w+w/2,true,series.xaxis,series.yaxis,symbol);ctx.strokeStyle="rgba(0,0,0,0.2)";plotPoints(series.datapoints,radius,null,w/2,true,series.xaxis,series.yaxis,symbol)}ctx.lineWidth=lw;ctx.strokeStyle=series.color;plotPoints(series.datapoints,radius,getFillStyle(series.points,series.color),0,false,series.xaxis,series.yaxis,symbol);ctx.restore()}function drawBar(x,y,b,barLeft,barRight,fillStyleCallback,axisx,axisy,c,horizontal,lineWidth){var left,right,bottom,top,drawLeft,drawRight,drawTop,drawBottom,tmp;if(horizontal){drawBottom=drawRight=drawTop=true;drawLeft=false;left=b;right=x;top=y+barLeft;bottom=y+barRight;if(right<left){tmp=right;right=left;left=tmp;drawLeft=true;drawRight=false}}else{drawLeft=drawRight=drawTop=true;drawBottom=false;left=x+barLeft;right=x+barRight;bottom=b;top=y;if(top<bottom){tmp=top;top=bottom;bottom=tmp;drawBottom=true;drawTop=false}}if(right<axisx.min||left>axisx.max||top<axisy.min||bottom>axisy.max)return;if(left<axisx.min){left=axisx.min;drawLeft=false}if(right>axisx.max){right=axisx.max;drawRight=false}if(bottom<axisy.min){bottom=axisy.min;drawBottom=false}if(top>axisy.max){top=axisy.max;drawTop=false}left=axisx.p2c(left);bottom=axisy.p2c(bottom);right=axisx.p2c(right);top=axisy.p2c(top);if(fillStyleCallback){c.fillStyle=fillStyleCallback(bottom,top);c.fillRect(left,top,right-left,bottom-top)}if(lineWidth>0&&(drawLeft||drawRight||drawTop||drawBottom)){c.beginPath();c.moveTo(left,bottom);if(drawLeft)c.lineTo(left,top);else c.moveTo(left,top);if(drawTop)c.lineTo(right,top);else c.moveTo(right,top);if(drawRight)c.lineTo(right,bottom);else c.moveTo(right,bottom);if(drawBottom)c.lineTo(left,bottom);else c.moveTo(left,bottom);c.stroke()}}function drawSeriesBars(series){function plotBars(datapoints,barLeft,barRight,fillStyleCallback,axisx,axisy){var points=datapoints.points,ps=datapoints.pointsize;for(var i=0;i<points.length;i+=ps){if(points[i]==null)continue;drawBar(points[i],points[i+1],points[i+2],barLeft,barRight,fillStyleCallback,axisx,axisy,ctx,series.bars.horizontal,series.bars.lineWidth)}}ctx.save();ctx.translate(plotOffset.left,plotOffset.top);ctx.lineWidth=series.bars.lineWidth;ctx.strokeStyle=series.color;var barLeft;switch(series.bars.align){case"left":barLeft=0;break;case"right":barLeft=-series.bars.barWidth;break;default:barLeft=-series.bars.barWidth/2}var fillStyleCallback=series.bars.fill?function(bottom,top){return getFillStyle(series.bars,series.color,bottom,top)}:null;plotBars(series.datapoints,barLeft,barLeft+series.bars.barWidth,fillStyleCallback,series.xaxis,series.yaxis);ctx.restore()}function getFillStyle(filloptions,seriesColor,bottom,top){var fill=filloptions.fill;if(!fill)return null;if(filloptions.fillColor)return getColorOrGradient(filloptions.fillColor,bottom,top,seriesColor);var c=$.color.parse(seriesColor);c.a=typeof fill=="number"?fill:.4;c.normalize();return c.toString()}function insertLegend(){if(options.legend.container!=null){$(options.legend.container).html("")}else{placeholder.find(".legend").remove()}if(!options.legend.show){return}var fragments=[],entries=[],rowStarted=false,lf=options.legend.labelFormatter,s,label;for(var i=0;i<series.length;++i){s=series[i];if(s.label){label=lf?lf(s.label,s):s.label;if(label){entries.push({label:label,color:s.color})}}}if(options.legend.sorted){if($.isFunction(options.legend.sorted)){entries.sort(options.legend.sorted)}else if(options.legend.sorted=="reverse"){entries.reverse()}else{var ascending=options.legend.sorted!="descending";entries.sort(function(a,b){return a.label==b.label?0:a.label<b.label!=ascending?1:-1})}}for(var i=0;i<entries.length;++i){var entry=entries[i];if(i%options.legend.noColumns==0){if(rowStarted)fragments.push("</tr>");fragments.push("<tr>");rowStarted=true}fragments.push('<td class="legendColorBox"><div style="border:1px solid '+options.legend.labelBoxBorderColor+';padding:1px"><div style="width:4px;height:0;border:5px solid '+entry.color+';overflow:hidden"></div></div></td>'+'<td class="legendLabel">'+entry.label+"</td>")}if(rowStarted)fragments.push("</tr>");if(fragments.length==0)return;var table='<table style="font-size:smaller;color:'+options.grid.color+'">'+fragments.join("")+"</table>";if(options.legend.container!=null)$(options.legend.container).html(table);else{var pos="",p=options.legend.position,m=options.legend.margin;if(m[0]==null)m=[m,m];if(p.charAt(0)=="n")pos+="top:"+(m[1]+plotOffset.top)+"px;";else if(p.charAt(0)=="s")pos+="bottom:"+(m[1]+plotOffset.bottom)+"px;";if(p.charAt(1)=="e")pos+="right:"+(m[0]+plotOffset.right)+"px;";else if(p.charAt(1)=="w")pos+="left:"+(m[0]+plotOffset.left)+"px;";var legend=$('<div class="legend">'+table.replace('style="','style="position:absolute;'+pos+";")+"</div>").appendTo(placeholder);if(options.legend.backgroundOpacity!=0){var c=options.legend.backgroundColor;if(c==null){c=options.grid.backgroundColor;if(c&&typeof c=="string")c=$.color.parse(c);else c=$.color.extract(legend,"background-color");c.a=1;c=c.toString()}var div=legend.children();$('<div style="position:absolute;width:'+div.width()+"px;height:"+div.height()+"px;"+pos+"background-color:"+c+';"> </div>').prependTo(legend).css("opacity",options.legend.backgroundOpacity)}}}var highlights=[],redrawTimeout=null;function findNearbyItem(mouseX,mouseY,seriesFilter){var maxDistance=options.grid.mouseActiveRadius,smallestDistance=maxDistance*maxDistance+1,item=null,foundPoint=false,i,j,ps;for(i=series.length-1;i>=0;--i){if(!seriesFilter(series[i]))continue;var s=series[i],axisx=s.xaxis,axisy=s.yaxis,points=s.datapoints.points,mx=axisx.c2p(mouseX),my=axisy.c2p(mouseY),maxx=maxDistance/axisx.scale,maxy=maxDistance/axisy.scale;ps=s.datapoints.pointsize;if(axisx.options.inverseTransform)maxx=Number.MAX_VALUE;if(axisy.options.inverseTransform)maxy=Number.MAX_VALUE;if(s.lines.show||s.points.show){for(j=0;j<points.length;j+=ps){var x=points[j],y=points[j+1];if(x==null)continue;if(x-mx>maxx||x-mx<-maxx||y-my>maxy||y-my<-maxy)continue;var dx=Math.abs(axisx.p2c(x)-mouseX),dy=Math.abs(axisy.p2c(y)-mouseY),dist=dx*dx+dy*dy;if(dist<smallestDistance){smallestDistance=dist;item=[i,j/ps]}}}if(s.bars.show&&!item){var barLeft,barRight;switch(s.bars.align){case"left":barLeft=0;break;case"right":barLeft=-s.bars.barWidth;break;default:barLeft=-s.bars.barWidth/2}barRight=barLeft+s.bars.barWidth;for(j=0;j<points.length;j+=ps){var x=points[j],y=points[j+1],b=points[j+2];if(x==null)continue;if(series[i].bars.horizontal?mx<=Math.max(b,x)&&mx>=Math.min(b,x)&&my>=y+barLeft&&my<=y+barRight:mx>=x+barLeft&&mx<=x+barRight&&my>=Math.min(b,y)&&my<=Math.max(b,y))item=[i,j/ps]}}}if(item){i=item[0];j=item[1];ps=series[i].datapoints.pointsize;return{datapoint:series[i].datapoints.points.slice(j*ps,(j+1)*ps),dataIndex:j,series:series[i],seriesIndex:i}}return null}function onMouseMove(e){if(options.grid.hoverable)triggerClickHoverEvent("plothover",e,function(s){return s["hoverable"]!=false})}function onMouseLeave(e){if(options.grid.hoverable)triggerClickHoverEvent("plothover",e,function(s){return false})}function onClick(e){triggerClickHoverEvent("plotclick",e,function(s){return s["clickable"]!=false})}function triggerClickHoverEvent(eventname,event,seriesFilter){var offset=eventHolder.offset(),canvasX=event.pageX-offset.left-plotOffset.left,canvasY=event.pageY-offset.top-plotOffset.top,pos=canvasToAxisCoords({left:canvasX,top:canvasY});pos.pageX=event.pageX;pos.pageY=event.pageY;var item=findNearbyItem(canvasX,canvasY,seriesFilter);if(item){item.pageX=parseInt(item.series.xaxis.p2c(item.datapoint[0])+offset.left+plotOffset.left,10);item.pageY=parseInt(item.series.yaxis.p2c(item.datapoint[1])+offset.top+plotOffset.top,10)}if(options.grid.autoHighlight){for(var i=0;i<highlights.length;++i){var h=highlights[i];if(h.auto==eventname&&!(item&&h.series==item.series&&h.point[0]==item.datapoint[0]&&h.point[1]==item.datapoint[1]))unhighlight(h.series,h.point)}if(item)highlight(item.series,item.datapoint,eventname)}placeholder.trigger(eventname,[pos,item])}function triggerRedrawOverlay(){var t=options.interaction.redrawOverlayInterval;if(t==-1){drawOverlay();return}if(!redrawTimeout)redrawTimeout=setTimeout(drawOverlay,t)}function drawOverlay(){redrawTimeout=null;octx.save();overlay.clear();octx.translate(plotOffset.left,plotOffset.top);var i,hi;for(i=0;i<highlights.length;++i){hi=highlights[i];if(hi.series.bars.show)drawBarHighlight(hi.series,hi.point);else drawPointHighlight(hi.series,hi.point)}octx.restore();executeHooks(hooks.drawOverlay,[octx])}function highlight(s,point,auto){if(typeof s=="number")s=series[s];if(typeof point=="number"){var ps=s.datapoints.pointsize;point=s.datapoints.points.slice(ps*point,ps*(point+1))}var i=indexOfHighlight(s,point);if(i==-1){highlights.push({series:s,point:point,auto:auto});triggerRedrawOverlay()}else if(!auto)highlights[i].auto=false}function unhighlight(s,point){if(s==null&&point==null){highlights=[];triggerRedrawOverlay();return}if(typeof s=="number")s=series[s];if(typeof point=="number"){var ps=s.datapoints.pointsize;point=s.datapoints.points.slice(ps*point,ps*(point+1))}var i=indexOfHighlight(s,point);if(i!=-1){highlights.splice(i,1);triggerRedrawOverlay()}}function indexOfHighlight(s,p){for(var i=0;i<highlights.length;++i){var h=highlights[i];if(h.series==s&&h.point[0]==p[0]&&h.point[1]==p[1])return i}return-1}function drawPointHighlight(series,point){var x=point[0],y=point[1],axisx=series.xaxis,axisy=series.yaxis,highlightColor=typeof series.highlightColor==="string"?series.highlightColor:$.color.parse(series.color).scale("a",.5).toString();if(x<axisx.min||x>axisx.max||y<axisy.min||y>axisy.max)return;var pointRadius=series.points.radius+series.points.lineWidth/2;octx.lineWidth=pointRadius;octx.strokeStyle=highlightColor;var radius=1.5*pointRadius;x=axisx.p2c(x);y=axisy.p2c(y);octx.beginPath();if(series.points.symbol=="circle")octx.arc(x,y,radius,0,2*Math.PI,false);else series.points.symbol(octx,x,y,radius,false);octx.closePath();octx.stroke()}function drawBarHighlight(series,point){var highlightColor=typeof series.highlightColor==="string"?series.highlightColor:$.color.parse(series.color).scale("a",.5).toString(),fillStyle=highlightColor,barLeft;switch(series.bars.align){case"left":barLeft=0;break;case"right":barLeft=-series.bars.barWidth;break;default:barLeft=-series.bars.barWidth/2}octx.lineWidth=series.bars.lineWidth;octx.strokeStyle=highlightColor;drawBar(point[0],point[1],point[2]||0,barLeft,barLeft+series.bars.barWidth,function(){return fillStyle},series.xaxis,series.yaxis,octx,series.bars.horizontal,series.bars.lineWidth)}function getColorOrGradient(spec,bottom,top,defaultColor){if(typeof spec=="string")return spec;else{var gradient=ctx.createLinearGradient(0,top,0,bottom);for(var i=0,l=spec.colors.length;i<l;++i){var c=spec.colors[i];if(typeof c!="string"){var co=$.color.parse(defaultColor);if(c.brightness!=null)co=co.scale("rgb",c.brightness);if(c.opacity!=null)co.a*=c.opacity;c=co.toString()}gradient.addColorStop(i/(l-1),c)}return gradient}}}$.plot=function(placeholder,data,options){var plot=new Plot($(placeholder),data,options,$.plot.plugins);return plot};$.plot.version="0.8.3";$.plot.plugins=[];$.fn.plot=function(data,options){return this.each(function(){$.plot(this,data,options)})};function floorInBase(n,base){return base*Math.floor(n/base)}})(jQuery);
|
|
- </script>
|
|
- <script language="javascript" type="text/javascript">
|
|
- (function ($) {
|
|
- $.zip = function(a,b) {
|
|
- var x = Math.min(a.length,b.length);
|
|
- var c = new Array(x);
|
|
- for (var i = 0; i < x; i++)
|
|
- c[i] = [a[i],b[i]];
|
|
- return c;
|
|
- };
|
|
-
|
|
- $.mean = function(ary) {
|
|
- var m = 0, i = 0;
|
|
-
|
|
- while (i < ary.length) {
|
|
- var j = i++;
|
|
- m += (ary[j] - m) / i;
|
|
- }
|
|
-
|
|
- return m;
|
|
- };
|
|
-
|
|
- $.timeUnits = function(secs) {
|
|
- if (secs < 0) return $.timeUnits(-secs);
|
|
- else if (secs >= 1e9) return [1e-9, "Gs"];
|
|
- else if (secs >= 1e6) return [1e-6, "Ms"];
|
|
- else if (secs >= 1) return [1, "s"];
|
|
- else if (secs >= 1e-3) return [1e3, "ms"];
|
|
- else if (secs >= 1e-6) return [1e6, "\u03bcs"];
|
|
- else if (secs >= 1e-9) return [1e9, "ns"];
|
|
- else if (secs >= 1e-12) return [1e12, "ps"];
|
|
- return [1, "s"];
|
|
- };
|
|
-
|
|
- $.scaleTimes = function(ary) {
|
|
- var s = $.timeUnits($.mean(ary));
|
|
- return [$.scaleBy(s[0], ary), s[0]];
|
|
- };
|
|
-
|
|
- $.prepareTime = function(secs) {
|
|
- var units = $.timeUnits(secs);
|
|
- var scaled = secs * units[0];
|
|
- var s = scaled.toPrecision(3);
|
|
- var t = scaled.toString();
|
|
- return [t.length < s.length ? t : s, units[1]];
|
|
- };
|
|
-
|
|
- $.scaleBy = function(x, ary) {
|
|
- var nary = new Array(ary.length);
|
|
- for (var i = 0; i < ary.length; i++)
|
|
- nary[i] = ary[i] * x;
|
|
- return nary;
|
|
- };
|
|
-
|
|
- $.renderTime = function(secs) {
|
|
- var x = $.prepareTime(secs);
|
|
- return x[0] + ' ' + x[1];
|
|
- };
|
|
-
|
|
- $.unitFormatter = function(scale) {
|
|
- var labelname;
|
|
- return function(secs,axis) {
|
|
- var x = $.prepareTime(secs / scale);
|
|
- if (labelname === x[1])
|
|
- return x[0];
|
|
- else {
|
|
- labelname = x[1];
|
|
- return x[0] + ' ' + x[1];
|
|
- }
|
|
- };
|
|
- };
|
|
-
|
|
- $.addTooltip = function(name, renderText) {
|
|
- function showTooltip(x, y, contents) {
|
|
- $('<div id="tooltip">' + contents + '</div>').css( {
|
|
- position: 'absolute',
|
|
- display: 'none',
|
|
- top: y + 5,
|
|
- left: x + 5,
|
|
- border: '1px solid #fdd',
|
|
- padding: '2px',
|
|
- 'background-color': '#fee',
|
|
- opacity: 0.80
|
|
- }).appendTo("body").fadeIn(200);
|
|
- };
|
|
- var pp = null;
|
|
- $(name).bind("plothover", function (event, pos, item) {
|
|
- $("#x").text(pos.x.toFixed(2));
|
|
- $("#y").text(pos.y.toFixed(2));
|
|
-
|
|
- if (item) {
|
|
- if (pp != item.dataIndex) {
|
|
- pp = item.dataIndex;
|
|
-
|
|
- $("#tooltip").remove();
|
|
- var x = item.datapoint[0],
|
|
- y = item.datapoint[1];
|
|
-
|
|
- showTooltip(item.pageX, item.pageY, renderText(x,y));
|
|
- }
|
|
- }
|
|
- else {
|
|
- $("#tooltip").remove();
|
|
- pp = null;
|
|
- }
|
|
- });
|
|
- };
|
|
-})(jQuery);
|
|
-
|
|
- </script>
|
|
- <style type="text/css">
|
|
-html, body {
|
|
- height: 100%;
|
|
- margin: 0;
|
|
-}
|
|
-
|
|
-#wrap {
|
|
- min-height: 100%;
|
|
-}
|
|
-
|
|
-#main {
|
|
- overflow: auto;
|
|
- padding-bottom: 180px; /* must be same height as the footer */
|
|
-}
|
|
-
|
|
-#footer {
|
|
- position: relative;
|
|
- margin-top: -180px; /* negative value of footer height */
|
|
- height: 180px;
|
|
- clear: both;
|
|
- background: #888;
|
|
- margin: 40px 0 0;
|
|
- color: white;
|
|
- font-size: larger;
|
|
- font-weight: 300;
|
|
-}
|
|
-
|
|
-body:before {
|
|
- /* Opera fix */
|
|
- content: "";
|
|
- height: 100%;
|
|
- float: left;
|
|
- width: 0;
|
|
- margin-top: -32767px;
|
|
-}
|
|
-
|
|
-body {
|
|
- font: 14px Helvetica Neue;
|
|
- text-rendering: optimizeLegibility;
|
|
- margin-top: 1em;
|
|
-}
|
|
-
|
|
-a:link {
|
|
- color: steelblue;
|
|
- text-decoration: none;
|
|
-}
|
|
-
|
|
-a:visited {
|
|
- color: #4a743b;
|
|
- text-decoration: none;
|
|
-}
|
|
-
|
|
-#footer a {
|
|
- color: white;
|
|
- text-decoration: underline;
|
|
-}
|
|
-
|
|
-.hover {
|
|
- color: steelblue;
|
|
- text-decoration: none;
|
|
-}
|
|
-
|
|
-.body {
|
|
- width: 960px;
|
|
- margin: auto;
|
|
-}
|
|
-
|
|
-.footfirst {
|
|
- position: relative;
|
|
- top: 30px;
|
|
-}
|
|
-
|
|
-th {
|
|
- font-weight: 500;
|
|
- opacity: 0.8;
|
|
-}
|
|
-
|
|
-th.cibound {
|
|
- opacity: 0.4;
|
|
-}
|
|
-
|
|
-.confinterval {
|
|
- opacity: 0.5;
|
|
-}
|
|
-
|
|
-h1 {
|
|
- font-size: 36px;
|
|
- font-weight: 300;
|
|
- margin-bottom: .3em;
|
|
-}
|
|
-
|
|
-h2 {
|
|
- font-size: 30px;
|
|
- font-weight: 300;
|
|
- margin-bottom: .3em;
|
|
-}
|
|
-
|
|
-.meanlegend {
|
|
- color: #404040;
|
|
- background-color: #ffffff;
|
|
- opacity: 0.6;
|
|
- font-size: smaller;
|
|
-}
|
|
-
|
|
- </style>
|
|
- <!--[if !IE 7]>
|
|
- <style type="text/css">
|
|
- #wrap {display:table;height:100%}
|
|
- </style>
|
|
- <![endif]-->
|
|
- </head>
|
|
- <body>
|
|
- <div id="wrap">
|
|
- <div id="main" class="body">
|
|
- <h1>criterion performance measurements</h1>
|
|
-
|
|
-<h2>overview</h2>
|
|
-
|
|
-<p><a href="#grokularation">want to understand this report?</a></p>
|
|
-
|
|
-<div id="overview" class="ovchart" style="width:900px;height:100px;"></div>
|
|
-
|
|
-<h2><a name="b0">ByteString/HashMap/random</a></h2>
|
|
- <table width="100%">
|
|
- <tbody>
|
|
- <tr>
|
|
- <td><div id="kde0" class="kdechart"
|
|
- style="width:450px;height:278px;"></div></td>
|
|
- <td><div id="time0" class="timechart"
|
|
- style="width:450px;height:278px;"></div></td>
|
|
-<!--
|
|
- <td><div id="cycle0" class="cyclechart"
|
|
- style="width:300px;height:278px;"></div></td>
|
|
--->
|
|
- </tr>
|
|
- </tbody>
|
|
- </table>
|
|
-
|
|
- <table>
|
|
- <thead class="analysis">
|
|
- <th></th>
|
|
- <th class="cibound"
|
|
- title="0.95 confidence level">lower bound</th>
|
|
- <th>estimate</th>
|
|
- <th class="cibound"
|
|
- title="0.95 confidence level">upper bound</th>
|
|
- </thead>
|
|
- <tbody>
|
|
- <tr>
|
|
- <td>OLS regression</td>
|
|
- <td><span class="confinterval olstimelb0">xxx</span></td>
|
|
- <td><span class="olstimept0">xxx</span></td>
|
|
- <td><span class="confinterval olstimeub0">xxx</span></td>
|
|
- </tr>
|
|
- <tr>
|
|
- <td>R² goodness-of-fit</td>
|
|
- <td><span class="confinterval olsr2lb0">xxx</span></td>
|
|
- <td><span class="olsr2pt0">xxx</span></td>
|
|
- <td><span class="confinterval olsr2ub0">xxx</span></td>
|
|
- </tr>
|
|
- <tr>
|
|
- <td>Mean execution time</td>
|
|
- <td><span class="confinterval citime">5.54613319607341e-3</span></td>
|
|
- <td><span class="time">5.621667703915931e-3</span></td>
|
|
- <td><span class="confinterval citime">5.713526073454561e-3</span></td>
|
|
- </tr>
|
|
- <tr>
|
|
- <td>Standard deviation</td>
|
|
- <td><span class="confinterval citime">1.972562820146363e-4</span></td>
|
|
- <td><span class="time">2.494938876886024e-4</span></td>
|
|
- <td><span class="confinterval citime">3.1487131555210624e-4</span></td>
|
|
- </tr>
|
|
- </tbody>
|
|
- </table>
|
|
-
|
|
- <span class="outliers">
|
|
- <p>Outlying measurements have moderate
|
|
- (<span class="percent">0.21993690418913867</span>%)
|
|
- effect on estimated standard deviation.</p>
|
|
- </span>
|
|
-
|
|
- <h2><a name="grokularation">understanding this report</a></h2>
|
|
-
|
|
- <p>In this report, each function benchmarked by criterion is assigned
|
|
- a section of its own. The charts in each section are active; if
|
|
- you hover your mouse over data points and annotations, you will see
|
|
- more details.</p>
|
|
-
|
|
- <ul>
|
|
- <li>The chart on the left is a
|
|
- <a href="http://en.wikipedia.org/wiki/Kernel_density_estimation">kernel
|
|
- density estimate</a> (also known as a KDE) of time
|
|
- measurements. This graphs the probability of any given time
|
|
- measurement occurring. A spike indicates that a measurement of a
|
|
- particular time occurred; its height indicates how often that
|
|
- measurement was repeated.</li>
|
|
-
|
|
- <li>The chart on the right is the raw data from which the kernel
|
|
- density estimate is built. The <i>x</i> axis indicates the
|
|
- number of loop iterations, while the <i>y</i> axis shows measured
|
|
- execution time for the given number of loop iterations. The
|
|
- line behind the values is the linear regression prediction of
|
|
- execution time for a given number of iterations. Ideally, all
|
|
- measurements will be on (or very near) this line.</li>
|
|
- </ul>
|
|
-
|
|
- <p>Under the charts is a small table.
|
|
- The first two rows are the results of a linear regression run
|
|
- on the measurements displayed in the right-hand chart.</p>
|
|
-
|
|
- <ul>
|
|
- <li><i>OLS regression</i> indicates the
|
|
- time estimated for a single loop iteration using an ordinary
|
|
- least-squares regression model. This number is more accurate
|
|
- than the <i>mean</i> estimate below it, as it more effectively
|
|
- eliminates measurement overhead and other constant factors.</li>
|
|
- <li><i>R² goodness-of-fit</i> is a measure of how
|
|
- accurately the linear regression model fits the observed
|
|
- measurements. If the measurements are not too noisy, R²
|
|
- should lie between 0.99 and 1, indicating an excellent fit. If
|
|
- the number is below 0.99, something is confounding the accuracy
|
|
- of the linear model.</li>
|
|
- <li><i>Mean execution time</i> and <i>standard deviation</i> are
|
|
- statistics calculated from execution time
|
|
- divided by number of iterations.</li>
|
|
- </ul>
|
|
-
|
|
- <p>We use a statistical technique called
|
|
- the <a href="http://en.wikipedia.org/wiki/Bootstrapping_(statistics)">bootstrap</a>
|
|
- to provide confidence intervals on our estimates. The
|
|
- bootstrap-derived upper and lower bounds on estimates let you see
|
|
- how accurate we believe those estimates to be. (Hover the mouse
|
|
- over the table headers to see the confidence levels.)</p>
|
|
-
|
|
- <p>A noisy benchmarking environment can cause some or many
|
|
- measurements to fall far from the mean. These outlying
|
|
- measurements can have a significant inflationary effect on the
|
|
- estimate of the standard deviation. We calculate and display an
|
|
- estimate of the extent to which the standard deviation has been
|
|
- inflated by outliers.</p>
|
|
-
|
|
-<script type="text/javascript">
|
|
-$(function () {
|
|
- function mangulate(rpt) {
|
|
- var measured = function(key) {
|
|
- var idx = rpt.reportKeys.indexOf(key);
|
|
- return rpt.reportMeasured.map(function(r) { return r[idx]; });
|
|
- };
|
|
- var number = rpt.reportNumber;
|
|
- var name = rpt.reportName;
|
|
- var mean = rpt.reportAnalysis.anMean.estPoint;
|
|
- var iters = measured("iters");
|
|
- var times = measured("time");
|
|
- var kdetimes = rpt.reportKDEs[0].kdeValues;
|
|
- var kdepdf = rpt.reportKDEs[0].kdePDF;
|
|
-
|
|
- var meanSecs = mean;
|
|
- var units = $.timeUnits(mean);
|
|
- var rgrs = rpt.reportAnalysis.anRegress[0];
|
|
- var scale = units[0];
|
|
- var olsTime = rgrs.regCoeffs.iters;
|
|
- $(".olstimept" + number).text(function() {
|
|
- return $.renderTime(olsTime.estPoint);
|
|
- });
|
|
- $(".olstimelb" + number).text(function() {
|
|
- return $.renderTime(olsTime.estLowerBound);
|
|
- });
|
|
- $(".olstimeub" + number).text(function() {
|
|
- return $.renderTime(olsTime.estUpperBound);
|
|
- });
|
|
- $(".olsr2pt" + number).text(function() {
|
|
- return rgrs.regRSquare.estPoint.toFixed(3);
|
|
- });
|
|
- $(".olsr2lb" + number).text(function() {
|
|
- return rgrs.regRSquare.estLowerBound.toFixed(3);
|
|
- });
|
|
- $(".olsr2ub" + number).text(function() {
|
|
- return rgrs.regRSquare.estUpperBound.toFixed(3);
|
|
- });
|
|
- mean *= scale;
|
|
- kdetimes = $.scaleBy(scale, kdetimes);
|
|
- var kq = $("#kde" + number);
|
|
- var k = $.plot(kq,
|
|
- [{ label: name + " time densities",
|
|
- data: $.zip(kdetimes, kdepdf),
|
|
- }],
|
|
- { xaxis: { tickFormatter: $.unitFormatter(scale) },
|
|
- yaxis: { ticks: false },
|
|
- grid: { borderColor: "#777",
|
|
- hoverable: true, markings: [ { color: '#6fd3fb',
|
|
- lineWidth: 1.5, xaxis: { from: mean, to: mean } } ] },
|
|
- });
|
|
- var o = k.pointOffset({ x: mean, y: 0});
|
|
- kq.append('<div class="meanlegend" title="' + $.renderTime(meanSecs) +
|
|
- '" style="position:absolute;left:' + (o.left + 4) +
|
|
- 'px;bottom:139px;">mean</div>');
|
|
- $.addTooltip("#kde" + number,
|
|
- function(secs) { return $.renderTime(secs / scale); });
|
|
- var timepairs = new Array(times.length);
|
|
- var lastiter = iters[iters.length-1];
|
|
- var olspairs = [[0,0], [lastiter, lastiter * scale * olsTime.estPoint]];
|
|
- for (var i = 0; i < times.length; i++)
|
|
- timepairs[i] = [iters[i],times[i]*scale];
|
|
- iterFormatter = function() {
|
|
- var denom = 0;
|
|
- return function(iters) {
|
|
- if (iters == 0)
|
|
- return '';
|
|
- if (denom > 0)
|
|
- return (iters / denom).toFixed();
|
|
- var power;
|
|
- if (iters >= 1e9) {
|
|
- denom = '1e9'; power = '⁹';
|
|
- }
|
|
- if (iters >= 1e6) {
|
|
- denom = '1e6'; power = '⁶';
|
|
- }
|
|
- else if (iters >= 1e3) {
|
|
- denom = '1e3'; power = '³';
|
|
- }
|
|
- else denom = 1;
|
|
- if (denom > 1) {
|
|
- iters = (iters / denom).toFixed();
|
|
- iters += '×10' + power + ' iters';
|
|
- } else {
|
|
- iters += ' iters';
|
|
- }
|
|
- return iters;
|
|
- };
|
|
- };
|
|
- $.plot($("#time" + number),
|
|
- [{ label: "regression", data: olspairs,
|
|
- lines: { show: true } },
|
|
- { label: name + " times", data: timepairs,
|
|
- points: { show: true } }],
|
|
- { grid: { borderColor: "#777", hoverable: true },
|
|
- xaxis: { tickFormatter: iterFormatter() },
|
|
- yaxis: { tickFormatter: $.unitFormatter(scale) } });
|
|
- $.addTooltip("#time" + number,
|
|
- function(iters,secs) {
|
|
- return ($.renderTime(secs / scale) + ' / ' +
|
|
- iters.toLocaleString() + ' iters');
|
|
- });
|
|
- if (0) {
|
|
- var cyclepairs = new Array(cycles.length);
|
|
- for (var i = 0; i < cycles.length; i++)
|
|
- cyclepairs[i] = [cycles[i],i];
|
|
- $.plot($("#cycle" + number),
|
|
- [{ label: name + " cycles",
|
|
- data: cyclepairs }],
|
|
- { points: { show: true },
|
|
- grid: { borderColor: "#777", hoverable: true },
|
|
- xaxis: { tickFormatter:
|
|
- function(cycles,axis) { return cycles + ' cycles'; }},
|
|
- yaxis: { ticks: false },
|
|
- });
|
|
- $.addTooltip("#cycles" + number, function(x,y) { return x + ' cycles'; });
|
|
- }
|
|
- };
|
|
- var reports = [{"reportAnalysis":{"anMean":{"estUpperBound":5.713526073454561e-3,"estLowerBound":5.54613319607341e-3,"estPoint":5.621667703915931e-3,"estConfidenceLevel":0.95},"anRegress":[{"regRSquare":{"estUpperBound":0.9981729010272332,"estLowerBound":0.9933906306034458,"estPoint":0.9962485177728473,"estConfidenceLevel":0.95},"regResponder":"time","regCoeffs":{"y":{"estUpperBound":1.73831239286272e-3,"estLowerBound":-2.6907153863794868e-3,"estPoint":-5.701833877751966e-4,"estConfidenceLevel":0.95},"iters":{"estUpperBound":5.78662208554795e-3,"estLowerBound":5.560561655965624e-3,"estPoint":5.671235930328669e-3,"estConfidenceLevel":0.95}}}],"anStdDev":{"estUpperBound":3.1487131555210624e-4,"estLowerBound":1.972562820146363e-4,"estPoint":2.494938876886024e-4,"estConfidenceLevel":0.95},"anOutlierVar":{"ovFraction":0.21993690418913867,"ovDesc":"moderate","ovEffect":"Moderate"},"anOverhead":2.7511337567346434e-6},"reportKDEs":[{"kdeValues":[5.119598999459214e-3,5.128773133785027e-3,5.137947268110841e-3,5.1471214024366545e-3,5.156295536762469e-3,5.165469671088282e-3,5.174643805414095e-3,5.1838179397399094e-3,5.192992074065723e-3,5.202166208391536e-3,5.21134034271735e-3,5.2205144770431635e-3,5.229688611368978e-3,5.238862745694791e-3,5.248036880020604e-3,5.2572110143464185e-3,5.266385148672232e-3,5.275559282998045e-3,5.284733417323859e-3,5.293907551649673e-3,5.303081685975487e-3,5.3122558203013e-3,5.321429954627113e-3,5.3306040889529276e-3,5.339778223278741e-3,5.348952357604554e-3,5.358126491930368e-3,5.367300626256182e-3,5.376474760581996e-3,5.385648894907809e-3,5.3948230292336224e-3,5.403997163559437e-3,5.41317129788525e-3,5.422345432211064e-3,5.431519566536877e-3,5.440693700862691e-3,5.449867835188505e-3,5.459041969514318e-3,5.4682161038401315e-3,5.477390238165946e-3,5.486564372491759e-3,5.495738506817573e-3,5.5049126411433865e-3,5.5140867754692e-3,5.523260909795014e-3,5.532435044120827e-3,5.541609178446641e-3,5.550783312772455e-3,5.559957447098268e-3,5.569131581424082e-3,5.5783057157498955e-3,5.587479850075709e-3,5.596653984401523e-3,5.605828118727336e-3,5.6150022530531505e-3,5.624176387378964e-3,5.633350521704777e-3,5.642524656030591e-3,5.651698790356405e-3,5.660872924682218e-3,5.670047059008032e-3,5.679221193333845e-3,5.688395327659659e-3,5.697569461985473e-3,5.706743596311286e-3,5.7159177306371e-3,5.725091864962914e-3,5.734265999288727e-3,5.743440133614541e-3,5.7526142679403544e-3,5.761788402266169e-3,5.770962536591982e-3,5.780136670917795e-3,5.789310805243609e-3,5.798484939569423e-3,5.807659073895236e-3,5.81683320822105e-3,5.8260073425468635e-3,5.835181476872677e-3,5.844355611198491e-3,5.853529745524304e-3,5.8627038798501185e-3,5.871878014175932e-3,5.881052148501745e-3,5.890226282827559e-3,5.8994004171533726e-3,5.908574551479187e-3,5.917748685805e-3,5.926922820130813e-3,5.9360969544566275e-3,5.945271088782441e-3,5.954445223108255e-3,5.963619357434068e-3,5.972793491759882e-3,5.981967626085696e-3,5.991141760411509e-3,6.000315894737322e-3,6.009490029063137e-3,6.01866416338895e-3,6.027838297714763e-3,6.037012432040577e-3,6.046186566366391e-3,6.055360700692205e-3,6.064534835018018e-3,6.0737089693438315e-3,6.082883103669646e-3,6.092057237995459e-3,6.101231372321273e-3,6.1104055066470864e-3,6.1195796409729e-3,6.128753775298714e-3,6.137927909624527e-3,6.147102043950341e-3,6.156276178276155e-3,6.165450312601968e-3,6.174624446927781e-3,6.1837985812535955e-3,6.192972715579409e-3,6.202146849905223e-3,6.211320984231036e-3,6.22049511855685e-3,6.229669252882664e-3,6.238843387208477e-3,6.248017521534291e-3,6.2571916558601046e-3,6.266365790185918e-3,6.275539924511732e-3,6.284714058837545e-3],"kdeType":"time","kdePDF":[545.3406018643898,547.7604964408598,552.5835234544184,559.7762994995815,569.2891013325717,581.0562871577982,594.9968565868016,611.0151474314513,629.0016666408812,648.8340516123199,670.3781567871325,693.4892588878535,718.0133723788433,743.7886647772734,770.646959352757,798.4153105965786,826.9176356903382,855.9763831421388,885.414217874883,915.0557004354534,944.7289367329893,974.2671738896564,1003.5103174688135,1032.3063455895392,1060.5125962828472,1087.9969059134382,1114.638578580714,1140.3291691007228,1164.9730654118175,1188.4878599745812,1210.804503865528,1231.8672416915,1251.6333300617102,1270.0725470211678,1287.166504442057,1302.9077797566918,1317.2988874695457,1330.3511144872584,1342.0832463483428,1352.5202138285747,1361.6916910736854,1369.630677319676,1376.372094378115,1381.9514313884627,1386.4034668948157,1389.7610961362368,1392.0542886142364,1393.3091976024104,1393.5474393905565,1392.7855558190963,1391.0346691763316,1388.3003339216605,1384.5825850817816,1379.8761786596651,1374.1710151048017,1367.4527329151629,1359.703455859914,1350.9026741969292,1341.028237663689,1330.057435982098,1317.9681411582083,1304.739984983345,1290.35554484537,1274.801511217554,1258.0698109758134,1240.1586619629556,1221.0735359229834,1200.8280090176215,1179.4444815546556,1156.9547512468462,1133.4004272230616,1108.8331750741968,1083.314786380294,1056.9170693808599,1029.7215606678844,1001.8190609552112,973.309001064742,944.2986472297946,914.9021576099989,885.2395045052625,855.4352791137583,825.6173977689432,795.9157303818314,766.4606732786749,737.3816897331639,708.8058422221862,680.8563407630685,653.6511316010611,627.3015499956838,601.9110598974106,577.5741019124631,554.3750691326807,532.3874281777079,511.6730001869569,492.2814135481128,474.24973690783065,457.6022975395997,442.35068651491076,428.4939484168154,416.0189496374037,404.9009157051916,395.1041246902782,386.58274062916485,379.28176818856923,373.1381075322609,368.08168664034343,364.03664721565093,360.9225598393534,358.6556442299356,357.1499713174148,356.31862534611537,356.0748063195876,356.3328557329458,357.00919161294235,358.0231422981528,359.29767202005786,360.7599950594725,362.34207891564233,363.98104040137895,365.61944173689216,367.2054964387313,368.6931969866561,370.04237781945346,371.21872810527947,372.19376892518954,372.9448090019323,373.45489193123836,373.7127460898599]}],"reportKeys":["time","cpuTime","cycles","iters","allocated","numGcs","bytesCopied","mutatorWallSeconds","mutatorCpuSeconds","gcWallSeconds","gcCpuSeconds"],"reportNumber":0,"reportName":"ByteString/HashMap/random","reportOutliers":{"highSevere":0,"highMild":0,"lowMild":0,"samplesSeen":34,"lowSevere":0},"reportMeasured":[[4.97827198705636e-3,4.97199999999999e-3,10935260,1,null,null,null,null,null,null,null],[1.0848715988686308e-2,1.0847999999999997e-2,23877636,2,null,null,null,null,null,null,null],[1.7607376008527353e-2,1.7608e-2,38752116,3,null,null,null,null,null,null,null],[2.2017084003891796e-2,2.201800000000001e-2,48451954,4,null,null,null,null,null,null,null],[2.8329552995273843e-2,2.8330000000000022e-2,62340584,5,null,null,null,null,null,null,null],[3.288370498921722e-2,3.2885e-2,72359180,6,null,null,null,null,null,null,null],[3.651821901439689e-2,3.6518999999999996e-2,80349114,7,null,null,null,null,null,null,null],[4.358184800366871e-2,4.358200000000001e-2,95888910,8,null,null,null,null,null,null,null],[4.937931601307355e-2,4.937999999999998e-2,108645950,9,null,null,null,null,null,null,null],[5.358721798984334e-2,5.3586999999999996e-2,117903888,10,null,null,null,null,null,null,null],[5.955264199292287e-2,5.9538000000000035e-2,131027266,11,null,null,null,null,null,null,null],[6.518080999376252e-2,6.518099999999993e-2,143410836,12,null,null,null,null,null,null,null],[7.247712599928491e-2,7.247799999999993e-2,159464728,13,null,null,null,null,null,null,null],[8.270343899494037e-2,8.269899999999997e-2,181965766,14,null,null,null,null,null,null,null],[9.246958102448843e-2,9.240900000000007e-2,203443998,15,null,null,null,null,null,null,null],[9.887698100646958e-2,9.882600000000019e-2,217539578,16,null,null,null,null,null,null,null],[9.008563501993194e-2,9.0086e-2,198198564,17,null,null,null,null,null,null,null],[9.605592401931062e-2,9.605600000000003e-2,211332948,18,null,null,null,null,null,null,null],[0.1098186599847395,0.10976399999999997,241619440,19,null,null,null,null,null,null,null],[0.11373145499965176,0.11368299999999998,250220460,20,null,null,null,null,null,null,null],[0.11196174900396727,0.11196300000000003,246324226,21,null,null,null,null,null,null,null],[0.11884062600438483,0.11883500000000025,261465680,22,null,null,null,null,null,null,null],[0.1309775369882118,0.13096599999999992,288160116,23,null,null,null,null,null,null,null],[0.15469190399744548,0.15454900000000027,340335528,25,null,null,null,null,null,null,null],[0.149413135019131,0.14938300000000004,328727582,26,null,null,null,null,null,null,null],[0.15268685299088247,0.1526869999999998,335924804,27,null,null,null,null,null,null,null],[0.16147131499019451,0.16141300000000003,355254128,28,null,null,null,null,null,null,null],[0.16141338399029337,0.16139899999999985,355124102,30,null,null,null,null,null,null,null],[0.1728718529921025,0.17285800000000018,380334180,31,null,null,null,null,null,null,null],[0.1909069080138579,0.1908850000000002,420007910,33,null,null,null,null,null,null,null],[0.2043934800021816,0.20432799999999984,449680454,35,null,null,null,null,null,null,null],[0.20723143400391564,0.2070940000000001,455922034,36,null,null,null,null,null,null,null],[0.21014673498575576,0.21012200000000014,462335922,38,null,null,null,null,null,null,null],[0.22118496999610215,0.22116299999999978,486620020,40,null,null,null,null,null,null,null],[0.23701548800454475,0.23698700000000006,521448894,42,null,null,null,null,null,null,null],[0.23784394899848849,0.2378,523268016,44,null,null,null,null,null,null,null],[0.26553260401124135,0.26552299999999995,584189408,47,null,null,null,null,null,null,null],[0.28692550500272773,0.28688300000000044,631256144,49,null,null,null,null,null,null,null],[0.29316152300452814,0.29309600000000025,644973614,52,null,null,null,null,null,null,null]]}];
|
|
- reports.map(mangulate);
|
|
-
|
|
- var benches = ["ByteString/HashMap/random",];
|
|
- var ylabels = [[-0,'<a href="#b0">ByteString/HashMap/random</a>'],];
|
|
- var means = $.scaleTimes([5.621667703915931e-3,]);
|
|
- var xs = [];
|
|
- var prev = null;
|
|
- for (var i = 0; i < means[0].length; i++) {
|
|
- var name = benches[i].split(/\//);
|
|
- name.pop();
|
|
- name = name.join('/');
|
|
- if (name != prev) {
|
|
- xs.push({ label: name, data: [[means[0][i], -i]]});
|
|
- prev = name;
|
|
- }
|
|
- else
|
|
- xs[xs.length-1].data.push([means[0][i],-i]);
|
|
- }
|
|
- var oq = $("#overview");
|
|
- o = $.plot(oq, xs, { bars: { show: true, horizontal: true,
|
|
- barWidth: 0.75, align: "center" },
|
|
- grid: { borderColor: "#777", hoverable: true },
|
|
- legend: { show: xs.length > 1 },
|
|
- xaxis: { max: Math.max.apply(undefined,means[0]) * 1.02 },
|
|
- yaxis: { ticks: ylabels, tickColor: '#ffffff' } });
|
|
- if (benches.length > 3)
|
|
- o.getPlaceholder().height(28*benches.length);
|
|
- o.resize();
|
|
- o.setupGrid();
|
|
- o.draw();
|
|
- $.addTooltip("#overview", function(x,y) { return $.renderTime(x / means[1]); });
|
|
-});
|
|
-$(document).ready(function () {
|
|
- $(".time").text(function(_, text) {
|
|
- return $.renderTime(text);
|
|
- });
|
|
- $(".citime").text(function(_, text) {
|
|
- return $.renderTime(text);
|
|
- });
|
|
- $(".percent").text(function(_, text) {
|
|
- return (text*100).toFixed(1);
|
|
- });
|
|
- });
|
|
-</script>
|
|
-
|
|
- </div>
|
|
- </div>
|
|
- <div id="footer">
|
|
- <div class="body">
|
|
- <div class="footfirst">
|
|
- <h2>colophon</h2>
|
|
- <p>This report was created using the
|
|
- <a href="http://hackage.haskell.org/package/criterion">criterion</a>
|
|
- benchmark execution and performance analysis tool.</p>
|
|
- <p>Criterion is developed and maintained
|
|
- by <a href="http://www.serpentine.com/blog/">Bryan O'Sullivan</a>.</p>
|
|
- </div>
|
|
- </div>
|
|
- </div>
|
|
- </body>
|
|
-</html>
|
|
diff -ruN orig/templates/default2.tpl new/templates/default2.tpl
|
|
--- orig/templates/default2.tpl 2014-08-10 20:30:05.793809138 +0300
|
|
+++ new/templates/default2.tpl 1970-01-01 02:00:00.000000000 +0200
|
|
@@ -1,296 +0,0 @@
|
|
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
|
-<html>
|
|
- <head>
|
|
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
|
- <title>criterion report</title>
|
|
- <!--[if lte IE 8]>
|
|
- <script language="javascript" type="text/javascript">
|
|
- {{#include}}js/excanvas-r3.min.js{{/include}}
|
|
- </script>
|
|
- <![endif]-->
|
|
- <script language="javascript" type="text/javascript">
|
|
- {{#include}}js/jquery-1.6.4.min.js{{/include}}
|
|
- </script>
|
|
- <script language="javascript" type="text/javascript">
|
|
- {{#include}}js/jquery.flot-0.7.min.js{{/include}}
|
|
- </script>
|
|
- <script language="javascript" type="text/javascript">
|
|
- {{#include}}js/jquery.criterion.js{{/include}}
|
|
- </script>
|
|
- <style type="text/css">
|
|
-{{#include}}criterion.css{{/include}}
|
|
- </style>
|
|
- <!--[if !IE 7]>
|
|
- <style type="text/css">
|
|
- #wrap {display:table;height:100%}
|
|
- </style>
|
|
- <![endif]-->
|
|
- </head>
|
|
- <body>
|
|
- <div id="wrap">
|
|
- <div id="main" class="body">
|
|
- <h1>criterion performance measurements</h1>
|
|
-
|
|
-<h2>overview</h2>
|
|
-
|
|
-<p><a href="#grokularation">want to understand this report?</a></p>
|
|
-
|
|
-<div id="overview" class="ovchart" style="width:900px;height:100px;"></div>
|
|
-
|
|
-{{#report}}
|
|
-<h2><a name="b{{number}}">{{name}}</a></h2>
|
|
- <table width="100%">
|
|
- <tbody>
|
|
- <tr>
|
|
- <td><div id="kde{{number}}" class="kdechart"
|
|
- style="width:450px;height:278px;"></div></td>
|
|
- <td><div id="time{{number}}" class="timechart"
|
|
- style="width:450px;height:278px;"></div></td>
|
|
-<!--
|
|
- <td><div id="cycle{{number}}" class="cyclechart"
|
|
- style="width:300px;height:278px;"></div></td>
|
|
--->
|
|
- </tr>
|
|
- </tbody>
|
|
- </table>
|
|
- <table>
|
|
- <thead class="analysis">
|
|
- <th></th>
|
|
- <th class="cibound"
|
|
- title="{{anMean.estConfidenceLevel}} confidence level">lower bound</th>
|
|
- <th>estimate</th>
|
|
- <th class="cibound"
|
|
- title="{{anMean.estConfidenceLevel}} confidence level">upper bound</th>
|
|
- </thead>
|
|
- <tbody>
|
|
- <tr>
|
|
- <td>Mean execution time</td>
|
|
- <td><span class="citime">{{anMean.estLowerBound}}</span></td>
|
|
- <td><span class="time">{{anMean.estPoint}}</span></td>
|
|
- <td><span class="citime">{{anMean.estUpperBound}}</span></td>
|
|
- </tr>
|
|
- <tr>
|
|
- <td>Standard deviation</td>
|
|
- <td><span class="citime">{{anStdDev.estLowerBound}}</span></td>
|
|
- <td><span class="time">{{anStdDev.estPoint}}</span></td>
|
|
- <td><span class="citime">{{anStdDev.estUpperBound}}</span></td>
|
|
- </tr>
|
|
- </tbody>
|
|
- </table>
|
|
-
|
|
- <span class="outliers">
|
|
- <p>Outlying measurements have {{anOutlierVar.ovDesc}}
|
|
- (<span class="percent">{{anOutlierVar.ovFraction}}</span>%)
|
|
- effect on estimated standard deviation.</p>
|
|
- </span>
|
|
-{{/report}}
|
|
-
|
|
- <h2><a name="grokularation">understanding this report</a></h2>
|
|
-
|
|
- <p>In this report, each function benchmarked by criterion is assigned
|
|
- a section of its own. In each section, we display two charts, each
|
|
- with an <i>x</i> axis that represents measured execution time.
|
|
- These charts are active; if you hover your mouse over data points
|
|
- and annotations, you will see more details.</p>
|
|
-
|
|
- <ul>
|
|
- <li>The chart on the left is a
|
|
- <a href="http://en.wikipedia.org/wiki/Kernel_density_estimation">kernel
|
|
- density estimate</a> (also known as a KDE) of time
|
|
- measurements. This graphs the probability of any given time
|
|
- measurement occurring. A spike indicates that a measurement of a
|
|
- particular time occurred; its height indicates how often that
|
|
- measurement was repeated.</li>
|
|
-
|
|
- <li>The chart on the right is the raw data from which the kernel
|
|
- density estimate is built. Measurements are displayed on
|
|
- the <i>x</i> axis in the order in which they occurred. The
|
|
- number of iterations of the measurement loop increases with each
|
|
- successive measurement.</li>
|
|
- </ul>
|
|
-
|
|
- <p>Under the charts is a small table displaying the mean and standard
|
|
- deviation of the measurements. We use a statistical technique
|
|
- called
|
|
- the <a href="http://en.wikipedia.org/wiki/Bootstrapping_(statistics)">bootstrap</a>
|
|
- to provide confidence intervals on our estimates of these values.
|
|
- The bootstrap-derived upper and lower bounds on the mean and
|
|
- standard deviation let you see how accurate we believe those
|
|
- estimates to be. (Hover the mouse over the table headers to see
|
|
- the confidence levels.)</p>
|
|
-
|
|
- <p>A noisy benchmarking environment can cause some or many
|
|
- measurements to fall far from the mean. These outlying
|
|
- measurements can have a significant inflationary effect on the
|
|
- estimate of the standard deviation. We calculate and display an
|
|
- estimate of the extent to which the standard deviation has been
|
|
- inflated by outliers.</p>
|
|
-
|
|
-<script type="text/javascript">
|
|
-$(function () {
|
|
-/*
|
|
- function mangulate(number, name, mean, iters, times, cycles,
|
|
- kdetimes, kdepdf) */
|
|
- function mangulate(rpt) {
|
|
- var number = rpt.reportNumber;
|
|
- var name = rpt.reportName;
|
|
- var mean = rpt.reportAnalysis.anMean.estPoint;
|
|
- var measured = function(key) {
|
|
- var idx = rpt.reportKeys.indexOf(key);
|
|
- return rpt.reportMeasured.map(function(r) { return r[idx]; });
|
|
- };
|
|
- var iters = measured("iters");
|
|
- var times = measured("times");
|
|
- var meanSecs = mean;
|
|
- var units = $.timeUnits(mean);
|
|
- var scale = units[0];
|
|
- mean *= scale;
|
|
- kdetimes = $.scaleBy(scale, kdetimes);
|
|
- var kq = $("#kde" + number);
|
|
- var k = $.plot(kq,
|
|
- [{ label: name + " time densities",
|
|
- data: $.zip(kdetimes, kdepdf),
|
|
- }],
|
|
- { xaxis: { tickFormatter: $.unitFormatter(scale) },
|
|
- yaxis: { ticks: false },
|
|
- grid: { borderColor: "#777",
|
|
- hoverable: true, markings: [ { color: '#6fd3fb',
|
|
- lineWidth: 1.5, xaxis: { from: mean, to: mean } } ] },
|
|
- });
|
|
- var o = k.pointOffset({ x: mean, y: 0});
|
|
- kq.append('<div class="meanlegend" title="' + $.renderTime(meanSecs) +
|
|
- '" style="position:absolute;left:' + (o.left + 4) +
|
|
- 'px;bottom:139px;">mean</div>');
|
|
- $.addTooltip("#kde" + number,
|
|
- function(secs) { return $.renderTime(secs / scale); });
|
|
- var timepairs = new Array(times.length);
|
|
- for (var i = 0; i < times.length; i++)
|
|
- timepairs[i] = [iters[i],times[i]*scale];
|
|
- iterFormatter = function() {
|
|
- var denom = 0;
|
|
- return function(iters) {
|
|
- if (iters == 0)
|
|
- return '';
|
|
- if (denom > 0)
|
|
- return (iters / denom).toFixed();
|
|
- var exp;
|
|
- if (iters >= 1e9) {
|
|
- denom = '1e9'; exp = 9;
|
|
- }
|
|
- if (iters >= 1e6) {
|
|
- denom = '1e6'; exp = 6;
|
|
- }
|
|
- else if (iters >= 1e3) {
|
|
- denom = '1e3'; exp = 3;
|
|
- }
|
|
- else denom = 1;
|
|
- if (denom > 1) {
|
|
- iters = (iters / denom).toFixed();
|
|
- iters += '×10<sup>' + exp + '</sup> iters';
|
|
- } else {
|
|
- iters += ' iters';
|
|
- }
|
|
- return iters;
|
|
- };
|
|
- };
|
|
- $.plot($("#time" + number),
|
|
- [{ label: name + " times",
|
|
- data: timepairs }],
|
|
- { points: { show: true },
|
|
- grid: { borderColor: "#777", hoverable: true },
|
|
- xaxis: { tickFormatter: iterFormatter() },
|
|
- yaxis: { tickFormatter: $.unitFormatter(scale) },
|
|
- });
|
|
- $.addTooltip("#time" + number,
|
|
- function(iters,secs) {
|
|
- return ($.renderTime(secs / scale) + ' / ' +
|
|
- iters.toLocaleString() + ' iters');
|
|
- });
|
|
- if (0) {
|
|
- var cyclepairs = new Array(cycles.length);
|
|
- for (var i = 0; i < cycles.length; i++)
|
|
- cyclepairs[i] = [cycles[i],i];
|
|
- $.plot($("#cycle" + number),
|
|
- [{ label: name + " cycles",
|
|
- data: cyclepairs }],
|
|
- { points: { show: true },
|
|
- grid: { borderColor: "#777", hoverable: true },
|
|
- xaxis: { tickFormatter:
|
|
- function(cycles,axis) { return cycles + ' cycles'; }},
|
|
- yaxis: { ticks: false },
|
|
- });
|
|
- $.addTooltip("#cycles" + number, function(x,y) { return x + ' cycles'; });
|
|
- }
|
|
- };
|
|
- var reports = {{json}};
|
|
- reports.map(mangulate);
|
|
- {{#report}}
|
|
- mangulate(/* report number */ {{number}},
|
|
- /* report name */ "{{name}}",
|
|
- /* estimated mean */ {{anMean.estPoint}},
|
|
- /* iterations */ [{{#iters}}{{x}},{{/iters}}],
|
|
- /* measured times */ [{{#times}}{{x}},{{/times}}],
|
|
- /* measured cycles */ [{{#cycles}}{{x}},{{/cycles}}],
|
|
- /* kde times */ [{{#kdetimes}}{{x}},{{/kdetimes}}],
|
|
- /* kde pdf */ [{{#kdepdf}}{{x}},{{/kdepdf}}]);
|
|
- {{/report}}
|
|
-
|
|
- var benches = [{{#report}}"{{name}}",{{/report}}];
|
|
- var ylabels = [{{#report}}[-{{number}},'<a href="#b{{number}}">{{name}}</a>'],{{/report}}];
|
|
- var means = $.scaleTimes([{{#report}}{{anMean.estPoint}},{{/report}}]);
|
|
- var xs = [];
|
|
- var prev = null;
|
|
- for (var i = 0; i < means[0].length; i++) {
|
|
- var name = benches[i].split(/\//);
|
|
- name.pop();
|
|
- name = name.join('/');
|
|
- if (name != prev) {
|
|
- xs.push({ label: name, data: [[means[0][i], -i]]});
|
|
- prev = name;
|
|
- }
|
|
- else
|
|
- xs[xs.length-1].data.push([means[0][i],-i]);
|
|
- }
|
|
- var oq = $("#overview");
|
|
- o = $.plot(oq, xs, { bars: { show: true, horizontal: true,
|
|
- barWidth: 0.75, align: "center" },
|
|
- grid: { borderColor: "#777", hoverable: true },
|
|
- legend: { show: xs.length > 1 },
|
|
- xaxis: { max: Math.max.apply(undefined,means[0]) * 1.02 },
|
|
- yaxis: { ticks: ylabels, tickColor: '#ffffff' } });
|
|
- if (benches.length > 3)
|
|
- o.getPlaceholder().height(28*benches.length);
|
|
- o.resize();
|
|
- o.setupGrid();
|
|
- o.draw();
|
|
- $.addTooltip("#overview", function(x,y) { return $.renderTime(x / means[1]); });
|
|
-});
|
|
-$(document).ready(function () {
|
|
- $(".time").text(function(_, text) {
|
|
- return $.renderTime(text);
|
|
- });
|
|
- $(".citime").text(function(_, text) {
|
|
- return $.renderTime(text);
|
|
- });
|
|
- $(".percent").text(function(_, text) {
|
|
- return (text*100).toFixed(1);
|
|
- });
|
|
- });
|
|
-</script>
|
|
-
|
|
- </div>
|
|
- </div>
|
|
- <div id="footer">
|
|
- <div class="body">
|
|
- <div class="footfirst">
|
|
- <h2>colophon</h2>
|
|
- <p>This report was created using the
|
|
- <a href="http://hackage.haskell.org/package/criterion">criterion</a>
|
|
- benchmark execution and performance analysis tool.</p>
|
|
- <p>Criterion is developed and maintained
|
|
- by <a href="http://www.serpentine.com/blog/">Bryan O'Sullivan</a>.</p>
|
|
- </div>
|
|
- </div>
|
|
- </div>
|
|
- </body>
|
|
-</html>
|
|
diff -ruN orig/tests/Properties.hs new/tests/Properties.hs
|
|
--- orig/tests/Properties.hs 1970-01-01 02:00:00.000000000 +0200
|
|
+++ new/tests/Properties.hs 2014-08-10 20:30:05.000000000 +0300
|
|
@@ -0,0 +1,42 @@
|
|
+{-# LANGUAGE CPP #-}
|
|
+{-# OPTIONS_GHC -fno-warn-orphans #-}
|
|
+
|
|
+module Properties (tests) where
|
|
+
|
|
+import Control.Applicative ((<$>))
|
|
+import Criterion.Analysis
|
|
+import Statistics.Types (Sample)
|
|
+import Test.Framework (Test, testGroup)
|
|
+import Test.Framework.Providers.QuickCheck2 (testProperty)
|
|
+import Test.QuickCheck
|
|
+import qualified Data.Vector.Generic as G
|
|
+import qualified Data.Vector.Unboxed as U
|
|
+
|
|
+#if __GLASGOW_HASKELL__ >= 704
|
|
+import Data.Monoid ((<>))
|
|
+#else
|
|
+import Data.Monoid
|
|
+
|
|
+(<>) :: Monoid m => m -> m -> m
|
|
+(<>) = mappend
|
|
+infixr 6 <>
|
|
+#endif
|
|
+
|
|
+instance (Arbitrary a, U.Unbox a) => Arbitrary (U.Vector a) where
|
|
+ arbitrary = U.fromList <$> arbitrary
|
|
+ shrink = map U.fromList . shrink . U.toList
|
|
+
|
|
+outlier_bucketing :: Double -> Sample -> Bool
|
|
+outlier_bucketing y ys =
|
|
+ countOutliers (classifyOutliers xs) <= fromIntegral (G.length xs)
|
|
+ where xs = U.cons y ys
|
|
+
|
|
+outlier_bucketing_weighted :: Double -> Sample -> Bool
|
|
+outlier_bucketing_weighted x xs =
|
|
+ outlier_bucketing x (xs <> G.replicate (G.length xs * 10) 0)
|
|
+
|
|
+tests :: Test
|
|
+tests = testGroup "Properties" [
|
|
+ testProperty "outlier_bucketing" outlier_bucketing
|
|
+ , testProperty "outlier_bucketing_weighted" outlier_bucketing_weighted
|
|
+ ]
|