vendor: 6,079 bytes, lines 1-6
1/*! 2 * CUSTOM - removed inline styles - Chart.js v2.9.4 3 * https://www.chartjs.org 4 * (c) 2020 Chart.js Contributors 5 * Released under the MIT License 6 */ !function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):(t=t||self).Chart=e()}(this,function(){"use strict";function t(t,e){return t(e={exports:{}},e.exports),e.exports}"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self&&self;var e={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],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],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]},i=t(function(t){var i={};for(var n in e)e.hasOwnProperty(n)&&(i[e[n]]=n);var r=t.exports={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};for(var a in r)if(r.hasOwnProperty(a)){if(!("channels"in r[a]))throw Error("missing channels property: "+a);if(!("labels"in r[a]))throw Error("missing channel labels property: "+a);if(r[a].labels.length!==r[a].channels)throw Error("channel and label counts mismatch: "+a);var o=r[a].channels,s=r[a].labels;delete r[a].channels,delete r[a].labels,Object.defineProperty(r[a],"channels",{value:o}),Object.defineProperty(r[a],"labels",{value:s})}r.rgb.hsl=function(t){var e,i,n=t[0]/255,r=t[1]/255,a=t[2]/255,o=Math.min(n,r,a),s=Math.max(n,r,a),l=s-o;return s===o?e=0:n===s?e=(r-a)/l:r===s?e=2+(a-n)/l:a===s&&(e=4+(n-r)/l),(e=Math.min(60*e,360))<0&&(e+=360),i=(o+s)/2,[e,100*(s===o?0:i<=.5?l/(s+o):l/(2-s-o)),100*i]},r.rgb.hsv=function(t){var e,i,n,r,a,o=t[0]/255,s=t[1]/255,l=t[2]/255,u=Math.max(o,s,l),d=u-Math.min(o,s,l),h=function(t){return(u-t)/6/d+.5};return 0===d?r=a=0:(a=d/u,e=h(o),i=h(s),n=h(l),o===u?r=n-i:s===u?r=1/3+e-n:l===u&&(r=2/3+i-e),r<0?r+=1:r>1&&(r-=1)),[360*r,100*a,100*u]},r.rgb.hwb=function(t){var e=t[0],i=t[1],n=t[2];return[r.rgb.hsl(t)[0],100*(1/255*Math.min(e,Math.min(i,n))),100*(n=1-1/255*Math.max(e,Math.max(i,n)))]},r.rgb.cmyk=function(t){var e,i=t[0]/255,n=t[1]/255,r=t[2]/255;return[100*((1-i-(e=Math.min(1-i,1-n,1-r)))/(1-e)||0),100*((1-n-e)/(1-e)||0),100*((1-r-e)/(1-e)||0),100*e]},r.rgb.keyword=function(t){var n=i[t];if(n)return n;var r,a,o,s=1/0;for(var l in e)if(e.hasOwnProperty(l)){var u=e[l],d=(a=t,o=u,Math.pow(a[0]-o[0],2)+Math.pow(a[1]-o[1],2)+Math.pow(a[2]-o[2],2));d<s&&(s=d,r=l)}return r}
vendor: 6,614 bytes, line 6
6,r.keyword.rgb=function(t){return e[t]},r.rgb.xyz=function(t){var e=t[0]/255,i=t[1]/255,n=t[2]/255;return[100*(.4124*(e=e>.04045?Math.pow((e+.055)/1.055,2.4):e/12.92)+.3576*(i=i>.04045?Math.pow((i+.055)/1.055,2.4):i/12.92)+.1805*(n=n>.04045?Math.pow((n+.055)/1.055,2.4):n/12.92)),100*(.2126*e+.7152*i+.0722*n),100*(.0193*e+.1192*i+.9505*n),]},r.rgb.lab=function(t){var e=r.rgb.xyz(t),i=e[0],n=e[1],a=e[2];return n/=100,a/=108.883,i=(i/=95.047)>.008856?Math.pow(i,1/3):7.787*i+16/116,[116*(n=n>.008856?Math.pow(n,1/3):7.787*n+16/116)-16,500*(i-n),200*(n-(a=a>.008856?Math.pow(a,1/3):7.787*a+16/116))]},r.hsl.rgb=function(t){var e,i,n,r,a,o=t[0]/360,s=t[1]/100,l=t[2]/100;if(0===s)return[a=255*l,a,a];e=2*l-(i=l<.5?l*(1+s):l+s-l*s),r=[0,0,0];for(var u=0;u<3;u++)(n=o+-(1/3*(u-1)))<0&&n++,n>1&&n--,a=6*n<1?e+6*(i-e)*n:2*n<1?i:3*n<2?e+(i-e)*(2/3-n)*6:e,r[u]=255*a;return r},r.hsl.hsv=function(t){var e=t[0],i=t[1]/100,n=t[2]/100,r=i,a=Math.max(n,.01);return i*=(n*=2)<=1?n:2-n,r*=a<=1?a:2-a,[e,100*(0===n?2*r/(a+r):2*i/(n+i)),100*((n+i)/2)]},r.hsv.rgb=function(t){var e=t[0]/60,i=t[1]/100,n=t[2]/100,r=e-Math.floor(e),a=255*n*(1-i),o=255*n*(1-i*r),s=255*n*(1-i*(1-r));switch(n*=255,Math.floor(e)%6){case 0:return[n,s,a];case 1:return[o,n,a];case 2:return[a,n,s];case 3:return[a,o,n];case 4:return[s,a,n];case 5:return[n,a,o]}},r.hsv.hsl=function(t){var e,i,n,r=t[0],a=t[1]/100,o=t[2]/100,s=Math.max(o,.01);return n=(2-a)*o,i=a*s,[r,100*(i=(i/=(e=(2-a)*s)<=1?e:2-e)||0),100*(n/=2)]},r.hwb.rgb=function(t){var e,i,n,r,a,o,s,l=t[0]/360,u=t[1]/100,d=t[2]/100,h=u+d;switch(h>1&&(u/=h,d/=h),n=6*l-(e=Math.floor(6*l)),0!=(1&e)&&(n=1-n),r=u+n*((i=1-d)-u),e){default:case 6:case 0:a=i,o=r,s=u;break;case 1:a=r,o=i,s=u;break;case 2:a=u,o=i,s=r;break;case 3:a=u,o=r,s=i;break;case 4:a=r,o=u,s=i;break;case 5:a=i,o=u,s=r}return[255*a,255*o,255*s]},r.cmyk.rgb=function(t){var e=t[0]/100,i=t[1]/100,n=t[2]/100,r=t[3]/100;return[255*(1-Math.min(1,e*(1-r)+r)),255*(1-Math.min(1,i*(1-r)+r)),255*(1-Math.min(1,n*(1-r)+r))]},r.xyz.rgb=function(t){var e,i,n,r=t[0]/100,a=t[1]/100,o=t[2]/100;return i=-.9689*r+1.8758*a+.0415*o,n=.0557*r+-.204*a+1.057*o,e=(e=3.2406*r+-1.5372*a+-.4986*o)>.0031308?1.055*Math.pow(e,1/2.4)-.055:12.92*e,i=i>.0031308?1.055*Math.pow(i,1/2.4)-.055:12.92*i,n=n>.0031308?1.055*Math.pow(n,1/2.4)-.055:12.92*n,[255*(e=Math.min(Math.max(0,e),1)),255*(i=Math.min(Math.max(0,i),1)),255*(n=Math.min(Math.max(0,n),1))]},r.xyz.lab=function(t){var e=t[0],i=t[1],n=t[2];return i/=100,n/=108.883,e=(e/=95.047)>.008856?Math.pow(e,1/3):7.787*e+16/116,[116*(i=i>.008856?Math.pow(i,1/3):7.787*i+16/116)-16,500*(e-i),200*(i-(n=n>.008856?Math.pow(n,1/3):7.787*n+16/116))]},r.lab.xyz=function(t){var e,i,n,r=t[0];e=t[1]/500+(i=(r+16)/116);var a=Math.pow(i,3),o=Math.pow(e,3),s=Math.pow(n=i-t[2]/200,3);return i=a>.008856?a:(i-16/116)/7.787,e=o>.008856?o:(e-16/116)/7.787,n=s>.008856?s:(n-16/116)/7.787,[e*=95.047,i*=100,n*=108.883]},r.lab.lch=function(t){var e,i=t[0],n=t[1],r=t[2];return(e=360*Math.atan2(r,n)/2/Math.PI)<0&&(e+=360),[i,Math.sqrt(n*n+r*r),e]},r.lch.lab=function(t){var e,i=t[0],n=t[1];return[i,n*Math.cos(e=t[2]/360*2*Math.PI),n*Math.sin(e)]},r.rgb.ansi16=function(t){var e=t[0],i=t[1],n=t[2],a=1 in arguments?arguments[1]:r.rgb.hsv(t)[2];if(0===(a=Math.round(a/50)))return 30;var o=30+(Math.round(n/255)<<2|Math.round(i/255)<<1|Math.round(e/255));return 2===a&&(o+=60),o},r.hsv.ansi16=function(t){return r.rgb.ansi16(r.hsv.rgb(t),t[2])},r.rgb.ansi256=function(t){var e=t[0],i=t[1],n=t[2];return e===i&&i===n?e<8?16:e>248?231:Math.round((e-8)/247*24)+232:16+36*Math.round(e/255*5)+6*Math.round(i/255*5)+Math.round(n/255*5)},r.ansi16.rgb=function(t){var e=t%10;if(0===e||7===e)return t>50&&(e+=3.5),[e=e/10.5*255,e,e];var i=.5*(1+~~(t>50));return[(1&e)*i*255,(e>>1&1)*i*255,(e>>2&1)*i*255]},r.ansi256.rgb=function(t){if(t>=232){var e,i=10*(t-232)+8;return[i,i,i]}return[Math.floor((t-=16)/36)/5*255,Math.floor((e=t%36)/6)/5*255,e%6/5*255]},r.rgb.hex=function(t){var e=(((255&Math.round(t[0]))<<16)+((255&Math.round(t[1]))<<8)+(255&Math.round(t[2]))).toString(16).toUpperCase();return"000000".substring(e.length)+e},r.hex.rgb=function(t){var e=t.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!e)return[0,0,0];var i=e[0];3===e[0].length&&(i=i.split("").map(function(t){return t+t}).join(""));var n=parseInt(i,16);return[n>>16&255,n>>8&255,255&n]},r.rgb.hcg=function(t){var e,i=t[0]/255,n=t[1]/255,r=t[2]/255,a=Math.max(Math.max(i,n),r),o=Math.min(Math.min(i,n),r),s=a-o;return e=s<=0?0:a===i?(n-r)/s%6:a===n?2+(r-i)/s:4+(i-n)/s+4,e/=6,[360*(e%=1),100*s,100*(s<1?o/(1-s):0)]},r.hsl.hcg=function(t){var e=t[1]/100,i=t[2]/100,n=1,r=0;return(n=i<.5?2*e*i:2*e*(1-i))<1&&(r=(i-.5*n)/(1-n)),[t[0],100*n,100*r]},r.hsv.hcg=function(t){var e=t[1]/100,i=t[2]/100,n=e*i,r=0;return n<1&&(r=(i-n)/(1-n)),[t[0],100*n,100*r]},r.hcg.rgb=function(t){var e=t[0]/360,i=t[1]/100,n=t[2]/100;if(0===i)return[255*n,255*n,255*n];var r,a=[0,0,0],o=e%1*6,s=o%1,l=1-s;switch(Math.floor(o)){case 0:a[0]=1,a[1]=s,a[2]=0;break;case 1:a[0]=l,a[1]=1,a[2]=0;break;case 2:a[0]=0,a[1]=1,a[2]=s;break;case 3:a[0]=0,a[1]=l,a[2]=1;break;case 4:a[0]=s,a[1]=0,a[2]=1;break;default:a[0]=1,a[1]=0,a[2]=l}return r=(1-i)*n,[255*(i*a[0]+r),255*(i*a[1]+r),255*(i*a[2]+r)]},r.hcg.hsv=function(t){var e=t[1]/100,i=e+t[2]/100*(1-e),n=0;return i>0&&(n=e/i),[t[0],100*n,100*i]},r.hcg.hsl=function(t){var e=t[1]/100,i=t[2]/100*(1-e)+.5*e,n=0;return i>0&&i<.5?n=e/(2*i):i>=.5&&i<1&&(n=e/(2*(1-i))),[t[0],100*n,100*i]},r.hcg.hwb=function(t){var e=t[1]/100,i=e+t[2]/100*(1-e);return[t[0],100*(i-e),100*(1-i)]},r.hwb.hcg=function(t){var e=t[1]/100,i=1-t[2]/100,n=i-e,r=0;return n<1&&(r=(i-n)/(1-n)),[t[0],100*n,100*r]},r.apple.rgb=function(t){return[t[0]/65535*255,t[1]/65535*255,t[2]/65535*255]},r.rgb.apple=function(t){return[t[0]/255*65535,t[1]/255*65535,t[2]/255*65535]},r.gray.rgb=function(t){return[t[0]/100*255,t[0]/100*255,t[0]/100*255]},r.gray.hsl=r.gray.hsv=function(t){return[0,0,t[0]]},r.gray.hwb=function(t){return[0,100,t[0]]},r.gray.cmyk=function(t){return[0,0,0,t[0]]},r.gray.lab=function(t){return[t[0],0,0]},r.gray.hex=function(t){var e=255&Math.round(t[0]/100*255),i=((e<<16)+(e<<8)+e).toString(16).toUpperCase();return"000000".substring(i.length)+i},r.rgb.gray=function(t){return[(t[0]+t[1]+t[2])/3/255*100]}});function n(t,e){return function(i){return e(t(i))}}function r(t,e){for(var r=[e[t].parent,t],a=i[e[t].parent][t],o=e[t].parent;e[o].parent;)r.unshift(e[o].parent),a=n(i[e[o].parent][o],a),o=e[o].parent;return a.conversion=r,a}i.rgb,i.hsl,i.hsv,i.hwb,i.cmyk,i.xyz,i.lab,i.lch,i.hex,i.keyword,i.ansi16,i.ansi256,i.hcg,i.apple,i.gray;var a={};
6Object.keys(i).forEach(function(t){a[t]={},Object.defineProperty(a[t],"channels",{value:i[t].channels}),Object.defineProperty(a[t],"labels",{value:i[t].labels});var e=function(t){for(var e=function t(e){var n=function(){for(var t={},e=Object.keys(i),n=e.length,r=0;r<n;r++)t[e[r]]={distance:-1,parent:null};return t}(),r=[e];for(n[e].distance=0;r.length;)for(var a=r.pop(),o=Object.keys(i[a]),s=o.length,l=0;l<s;l++){var u=o[l],d=n[u];-1===d.distance&&(d.distance=n[a].distance+1,d.parent=a,r.unshift(u))}return n}(t),n={},a=Object.keys(e),o=a.length,s=0;s<o;s++){var l=a[s];null!==e[l].parent&&(n[l]=r(l,e))}return n}(t);Object.keys(e).forEach(function(i){var n,r,o,s,l=e[i];a[t][i]=(n=l,r=function(t){if(null==t)return t;arguments.length>1&&(t=Array.prototype.slice.call(arguments));var e=n(t);if("object"==typeof e)for(var i=e.length,r=0;r<i;r++)e[r]=Math.round(e[r]);return e},"conversion"in n&&(r.conversion=n.conversion),r),a[t][i].raw=(o=l,s=function(t){return null==t?t:(arguments.length>1&&(t=Array.prototype.slice.call(arguments)),o(t))},"conversion"in o&&(s.conversion=o.conversion),s)})});var o=a,s={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],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],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]},l={getRgba:u,getHsla:d,getRgb:function(t){var e=u(t);return e&&e.slice(0,3)},getHsl:function(t){var e=d(t);return e&&e.slice(0,3)},getHwb:h,getAlpha:function(t){var e=u(t);if(e||(e=d(t))||(e=h(t)))return e[3]},hexString:function(t,e){return e=void 0!==e&&3===t.length?e:t[3],"#"+m(t[0])+m(t[1])+m(t[2])+(e>=0&&e<1?m(Math.round(255*e)):"")},rgbString:function(t,e){return e<1||t[3]&&t[3]<1?c(t,e):"rgb("+t[0]+", "+t[1]+", "+t[2]+")"}
vendor: 43,601 bytes, line 6
6,rgbaString:c,percentString:function(t,e){if(e<1||t[3]&&t[3]<1)return f(t,e);var i,n=Math.round(t[0]/255*100);return"rgb("+n+"%, "+Math.round(t[1]/255*100)+"%, "+Math.round(t[2]/255*100)+"%)"},percentaString:f,hslString:function(t,e){return e<1||t[3]&&t[3]<1?g(t,e):"hsl("+t[0]+", "+t[1]+"%, "+t[2]+"%)"},hslaString:g,hwbString:function(t,e){return void 0===e&&(e=void 0!==t[3]?t[3]:1),"hwb("+t[0]+", "+t[1]+"%, "+t[2]+"%"+(void 0!==e&&1!==e?", "+e:"")+")"},keyword:function(t){return p[t.slice(0,3)]}};function u(t){if(t){var e=[0,0,0],i=1,n=t.match(/^#([a-fA-F0-9]{3,4})$/i),r="";if(n){r=(n=n[1])[3];for(var a=0;a<e.length;a++)e[a]=parseInt(n[a]+n[a],16);r&&(i=Math.round(parseInt(r+r,16)/255*100)/100)}else if(n=t.match(/^#([a-fA-F0-9]{6}([a-fA-F0-9]{2})?)$/i)){for(r=n[2],n=n[1],a=0;a<e.length;a++)e[a]=parseInt(n.slice(2*a,2*a+2),16);r&&(i=Math.round(parseInt(r,16)/255*100)/100)}else if(n=t.match(/^rgba?\(\s*([+-]?\d+)\s*,\s*([+-]?\d+)\s*,\s*([+-]?\d+)\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/i)){for(a=0;a<e.length;a++)e[a]=parseInt(n[a+1]);i=parseFloat(n[4])}else if(n=t.match(/^rgba?\(\s*([+-]?[\d\.]+)\%\s*,\s*([+-]?[\d\.]+)\%\s*,\s*([+-]?[\d\.]+)\%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/i)){for(a=0;a<e.length;a++)e[a]=Math.round(2.55*parseFloat(n[a+1]));i=parseFloat(n[4])}else if(n=t.match(/(\w+)/)){if("transparent"==n[1])return[0,0,0,0];if(!(e=s[n[1]]))return}for(a=0;a<e.length;a++)e[a]=$(e[a],0,255);return i=i||0==i?$(i,0,1):1,e[3]=i,e}}function d(t){if(t){var e=t.match(/^hsla?\(\s*([+-]?\d+)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)/);if(e){var i=parseFloat(e[4]);return[$(parseInt(e[1]),0,360),$(parseFloat(e[2]),0,100),$(parseFloat(e[3]),0,100),$(isNaN(i)?1:i,0,1)]}}}function h(t){if(t){var e=t.match(/^hwb\(\s*([+-]?\d+)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)/);if(e){var i=parseFloat(e[4]);return[$(parseInt(e[1]),0,360),$(parseFloat(e[2]),0,100),$(parseFloat(e[3]),0,100),$(isNaN(i)?1:i,0,1)]}}}function c(t,e){return void 0===e&&(e=void 0!==t[3]?t[3]:1),"rgba("+t[0]+", "+t[1]+", "+t[2]+", "+e+")"}function f(t,e){return"rgba("+Math.round(t[0]/255*100)+"%, "+Math.round(t[1]/255*100)+"%, "+Math.round(t[2]/255*100)+"%, "+(e||t[3]||1)+")"}function g(t,e){return void 0===e&&(e=void 0!==t[3]?t[3]:1),"hsla("+t[0]+", "+t[1]+"%, "+t[2]+"%, "+e+")"}function $(t,e,i){return Math.min(Math.max(e,t),i)}function m(t){var e=t.toString(16).toUpperCase();return e.length<2?"0"+e:e}var p={};for(var v in s)p[s[v]]=v;var _=function(t){var e;return t instanceof _?t:this instanceof _?(this.valid=!1,this.values={rgb:[0,0,0],hsl:[0,0,0],hsv:[0,0,0],hwb:[0,0,0],cmyk:[0,0,0,0],alpha:1},void("string"==typeof t?(e=l.getRgba(t))?this.setValues("rgb",e):(e=l.getHsla(t))?this.setValues("hsl",e):(e=l.getHwb(t))&&this.setValues("hwb",e):"object"==typeof t&&(void 0!==(e=t).r||void 0!==e.red?this.setValues("rgb",e):void 0!==e.l||void 0!==e.lightness?this.setValues("hsl",e):void 0!==e.v||void 0!==e.value?this.setValues("hsv",e):void 0!==e.w||void 0!==e.whiteness?this.setValues("hwb",e):void 0===e.c&&void 0===e.cyan||this.setValues("cmyk",e)))):new _(t)};_.prototype={isValid:function(){return this.valid},rgb:function(){return this.setSpace("rgb",arguments)},hsl:function(){return this.setSpace("hsl",arguments)},hsv:function(){return this.setSpace("hsv",arguments)},hwb:function(){return this.setSpace("hwb",arguments)},cmyk:function(){return this.setSpace("cmyk",arguments)},rgbArray:function(){return this.values.rgb},hslArray:function(){return this.values.hsl},hsvArray:function(){return this.values.hsv},hwbArray:function(){var t=this.values;return 1!==t.alpha?t.hwb.concat([t.alpha]):t.hwb},cmykArray:function(){return this.values.cmyk},rgbaArray:function(){var t=this.values;return t.rgb.concat([t.alpha])},hslaArray:function(){var t=this.values;return t.hsl.concat([t.alpha])},alpha:function(t){return void 0===t?this.values.alpha:(this.setValues("alpha",t),this)},red:function(t){return this.setChannel("rgb",0,t)},green:function(t){return this.setChannel("rgb",1,t)},blue:function(t){return this.setChannel("rgb",2,t)},hue:function(t){return t&&(t=(t%=360)<0?360+t:t),this.setChannel("hsl",0,t)},saturation:function(t){return this.setChannel("hsl",1,t)},lightness:function(t){return this.setChannel("hsl",2,t)},saturationv:function(t){return this.setChannel("hsv",1,t)},whiteness:function(t){return this.setChannel("hwb",1,t)},blackness:function(t){return this.setChannel("hwb",2,t)},value:function(t){return this.setChannel("hsv",2,t)},cyan:function(t){return this.setChannel("cmyk",0,t)},magenta:function(t){return this.setChannel("cmyk",1,t)},yellow:function(t){return this.setChannel("cmyk",2,t)},black:function(t){return this.setChannel("cmyk",3,t)},hexString:function(){return l.hexString(this.values.rgb)},rgbString:function(){return l.rgbString(this.values.rgb,this.values.alpha)},rgbaString:function(){return l.rgbaString(this.values.rgb,this.values.alpha)},percentString:function(){return l.percentString(this.values.rgb,this.values.alpha)},hslString:function(){return l.hslString(this.values.hsl,this.values.alpha)},hslaString:function(){return l.hslaString(this.values.hsl,this.values.alpha)},hwbString:function(){return l.hwbString(this.values.hwb,this.values.alpha)},keyword:function(){return l.keyword(this.values.rgb,this.values.alpha)},rgbNumber:function(){var t=this.values.rgb;return t[0]<<16|t[1]<<8|t[2]},luminosity:function(){for(var t=this.values.rgb,e=[],i=0;i<t.length;i++){var n=t[i]/255;e[i]=n<=.03928?n/12.92:Math.pow((n+.055)/1.055,2.4)}return .2126*e[0]+.7152*e[1]+.0722*e[2]},contrast:function(t){var e=this.luminosity(),i=t.luminosity();return e>i?(e+.05)/(i+.05):(i+.05)/(e+.05)},level:function(t){var e=this.contrast(t);return e>=7.1?"AAA":e>=4.5?"AA":""},dark:function(){var t=this.values.rgb;return(299*t[0]+587*t[1]+114*t[2])/1e3<128},light:function(){return!this.dark()},negate:function(){for(var t=[],e=0;e<3;e++)t[e]=255-this.values.rgb[e];return this.setValues("rgb",t),this},lighten:function(t){var e=this.values.hsl;return e[2]+=e[2]*t,this.setValues("hsl",e),this},darken:function(t){var e=this.values.hsl;return e[2]-=e[2]*t,this.setValues("hsl",e),this},saturate:function(t){var e=this.values.hsl;return e[1]+=e[1]*t,this.setValues("hsl",e),this},desaturate:function(t){var e=this.values.hsl;return e[1]-=e[1]*t,this.setValues("hsl",e),this},whiten:function(t){var e=this.values.hwb;return e[1]+=e[1]*t,this.setValues("hwb",e),this},blacken:function(t){var e=this.values.hwb;return e[2]+=e[2]*t,this.setValues("hwb",e),this},greyscale:function(){var t=this.values.rgb,e=.3*t[0]+.59*t[1]+.11*t[2];return this.setValues("rgb",[e,e,e]),this},clearer:function(t){var e=this.values.alpha;return this.setValues("alpha",e-e*t),this},opaquer:function(t){var e=this.values.alpha;return this.setValues("alpha",e+e*t),this},rotate:function(t){var e=this.values.hsl,i=(e[0]+t)%360;return e[0]=i<0?360+i:i,this.setValues("hsl",e),this},mix:function(t,e){var i=t,n=void 0===e?.5:e,r=2*n-1,a=this.alpha()-i.alpha(),o=((r*a==-1?r:(r+a)/(1+r*a))+1)/2,s=1-o;return this.rgb(o*this.red()+s*i.red(),o*this.green()+s*i.green(),o*this.blue()+s*i.blue()).alpha(this.alpha()*n+i.alpha()*(1-n))},toJSON:function(){return this.rgb()},clone:function(){var t,e,i=new _,n=this.values,r=i.values;for(var a in n)n.hasOwnProperty(a)&&(t=n[a],"[object Array]"===(e=({}).toString.call(t))?r[a]=t.slice(0):"[object Number]"===e?r[a]=t:console.error("unexpected color value:",t));return i}},_.prototype.spaces={rgb:["red","green","blue"],hsl:["hue","saturation","lightness"],hsv:["hue","saturation","value"],hwb:["hue","whiteness","blackness"],cmyk:["cyan","magenta","yellow","black"]},_.prototype.maxes={rgb:[255,255,255],hsl:[360,100,100],hsv:[360,100,100],hwb:[360,100,100],cmyk:[100,100,100,100]},_.prototype.getValues=function(t){for(var e=this.values,i={},n=0;n<t.length;n++)i[t.charAt(n)]=e[t][n];return 1!==e.alpha&&(i.a=e.alpha),i},_.prototype.setValues=function(t,e){var i,n,r=this.values,a=this.spaces,s=this.maxes,l=1;if(this.valid=!0,"alpha"===t)l=e;else if(e.length)r[t]=e.slice(0,t.length),l=e[t.length];else if(void 0!==e[t.charAt(0)]){for(i=0;i<t.length;i++)r[t][i]=e[t.charAt(i)];l=e.a}else if(void 0!==e[a[t][0]]){var u=a[t];for(i=0;i<t.length;i++)r[t][i]=e[u[i]];l=e.alpha}if(r.alpha=Math.max(0,Math.min(1,void 0===l?r.alpha:l)),"alpha"===t)return!1;for(i=0;i<t.length;i++)n=Math.max(0,Math.min(s[t][i],r[t][i])),r[t][i]=Math.round(n);for(var d in a)d!==t&&(r[d]=o[t][d](r[t]));return!0},_.prototype.setSpace=function(t,e){var i=e[0];return void 0===i?this.getValues(t):("number"==typeof i&&(i=Array.prototype.slice.call(e)),this.setValues(t,i),this)},_.prototype.setChannel=function(t,e,i){var n=this.values[t];return void 0===i?n[e]:(i===n[e]||(n[e]=i,this.setValues(t,n)),this)},"undefined"!=typeof window&&(window.Color=_);var y=_;function b(t){return -1===["__proto__","prototype","constructor"].indexOf(t)}var x,k={noop:function(){},uid:(x=0,function(){return x++}),isNullOrUndef:function(t){return null==t},isArray:function(t){if(Array.isArray&&Array.isArray(t))return!0;var e=Object.prototype.toString.call(t);return"[object"===e.substr(0,7)&&"Array]"===e.substr(-6)},isObject:function(t){return null!==t&&"[object Object]"===Object.prototype.toString.call(t)},isFinite:function(t){return("number"==typeof t||t instanceof Number)&&isFinite(t)},valueOrDefault:function(t,e){return void 0===t?e:t},valueAtIndexOrDefault:function(t,e,i){return k.valueOrDefault(k.isArray(t)?t[e]:t,i)},callback:function(t,e,i){if(t&&"function"==typeof t.call)return t.apply(i,e)},each:function(t,e,i,n){var r,a,o;if(k.isArray(t)){if(a=t.length,n)for(r=a-1;r>=0;r--)e.call(i,t[r],r);else for(r=0;r<a;r++)e.call(i,t[r],r)}else if(k.isObject(t))for(a=(o=Object.keys(t)).length,r=0;r<a;r++)e.call(i,t[o[r]],o[r])},arrayEquals:function(t,e){var i,n,r,a;if(!t||!e||t.length!==e.length)return!1;for(i=0,n=t.length;i<n;++i)if(r=t[i],a=e[i],r instanceof Array&&a instanceof Array){if(!k.arrayEquals(r,a))return!1}else if(r!==a)return!1;return!0},clone:function(t){if(k.isArray(t))return t.map(k.clone);if(k.isObject(t)){for(var e=Object.create(t),i=Object.keys(t),n=i.length,r=0;r<n;++r)e[i[r]]=k.clone(t[i[r]]);return e}return t},_merger:function(t,e,i,n){if(b(t)){var r=e[t],a=i[t];k.isObject(r)&&k.isObject(a)?k.merge(r,a,n):e[t]=k.clone(a)}},_mergerIf:function(t,e,i){if(b(t)){var n=e[t],r=i[t];k.isObject(n)&&k.isObject(r)?k.mergeIf(n,r):e.hasOwnProperty(t)||(e[t]=k.clone(r))}},merge:function(t,e,i){var n,r,a,o,s,l=k.isArray(e)?e:[e],u=l.length;if(!k.isObject(t))return t;for(n=(i=i||{}).merger||k._merger,r=0;r<u;++r)if(e=l[r],k.isObject(e))for(s=0,o=(a=Object.keys(e)).length;s<o;++s)n(a[s],t,e,i);return t},mergeIf:function(t,e){return k.merge(t,e,{merger:k._mergerIf})},extend:Object.assign||function(t){return k.merge(t,[].slice.call(arguments,1),{merger:function(t,e,i){e[t]=i[t]}})},inherits:function(t){var e=this,i=t&&t.hasOwnProperty("constructor")?t.constructor:function(){return e.apply(this,arguments)},n=function(){this.constructor=i};return n.prototype=e.prototype,i.prototype=new n,i.extend=k.inherits,t&&k.extend(i.prototype,t),i.__super__=e.prototype,i},_deprecated:function(t,e,i,n){void 0!==e&&console.warn(t+': "'+i+'" is deprecated. Please use "'+n+'" instead')}},w=k;k.callCallback=k.callback,k.indexOf=function(t,e,i){return Array.prototype.indexOf.call(t,e,i)},k.getValueOrDefault=k.valueOrDefault,k.getValueAtIndexOrDefault=k.valueAtIndexOrDefault;var S={linear:function(t){return t},easeInQuad:function(t){return t*t},easeOutQuad:function(t){return-t*(t-2)},easeInOutQuad:function(t){return(t/=.5)<1?.5*t*t:-.5*(--t*(t-2)-1)},easeInCubic:function(t){return t*t*t},easeOutCubic:function(t){return(t-=1)*t*t+1},easeInOutCubic:function(t){return(t/=.5)<1?.5*t*t*t:.5*((t-=2)*t*t+2)},easeInQuart:function(t){return t*t*t*t},easeOutQuart:function(t){return-((t-=1)*t*t*t-1)},easeInOutQuart:function(t){return(t/=.5)<1?.5*t*t*t*t:-.5*((t-=2)*t*t*t-2)},easeInQuint:function(t){return t*t*t*t*t},easeOutQuint:function(t){return(t-=1)*t*t*t*t+1},easeInOutQuint:function(t){return(t/=.5)<1?.5*t*t*t*t*t:.5*((t-=2)*t*t*t*t+2)},easeInSine:function(t){return 1-Math.cos(t*(Math.PI/2))},easeOutSine:function(t){return Math.sin(t*(Math.PI/2))},easeInOutSine:function(t){return -.5*(Math.cos(Math.PI*t)-1)},easeInExpo:function(t){return 0===t?0:Math.pow(2,10*(t-1))},easeOutExpo:function(t){return 1===t?1:1-Math.pow(2,-10*t)},easeInOutExpo:function(t){return 0===t?0:1===t?1:(t/=.5)<1?.5*Math.pow(2,10*(t-1)):.5*(2-Math.pow(2,-10*--t))},easeInCirc:function(t){return t>=1?t:-(Math.sqrt(1-t*t)-1)},easeOutCirc:function(t){return Math.sqrt(1-(t-=1)*t)},easeInOutCirc:function(t){return(t/=.5)<1?-.5*(Math.sqrt(1-t*t)-1):.5*(Math.sqrt(1-(t-=2)*t)+1)},easeInElastic:function(t){var e=1.70158,i=0,n=1;return 0===t?0:1===t?1:(i||(i=.3),n<1?(n=1,e=i/4):e=i/(2*Math.PI)*Math.asin(1/n),-n*Math.pow(2,10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/i))},easeOutElastic:function(t){var e=1.70158,i=0,n=1;return 0===t?0:1===t?1:(i||(i=.3),n<1?(n=1,e=i/4):e=i/(2*Math.PI)*Math.asin(1/n),n*Math.pow(2,-10*t)*Math.sin((t-e)*(2*Math.PI)/i)+1)},easeInOutElastic:function(t){var e=1.70158,i=0,n=1;return 0===t?0:2==(t/=.5)?1:(i||(i=.45),n<1?(n=1,e=i/4):e=i/(2*Math.PI)*Math.asin(1/n),t<1?-(n*Math.pow(2,10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/i)*.5):n*Math.pow(2,-10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/i)*.5+1)},easeInBack:function(t){return t*t*(2.70158*t-1.70158)},easeOutBack:function(t){return(t-=1)*t*(2.70158*t+1.70158)+1},easeInOutBack:function(t){var e=1.70158;return(t/=.5)<1?t*t*((1+(e*=1.525))*t-e)*.5:.5*((t-=2)*t*((1+(e*=1.525))*t+e)+2)},easeInBounce:function(t){return 1-S.easeOutBounce(1-t)},easeOutBounce:function(t){return t<1/2.75?7.5625*t*t:t<2/2.75?7.5625*(t-=1.5/2.75)*t+.75:t<2.5/2.75?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375},easeInOutBounce:function(t){return t<.5?.5*S.easeInBounce(2*t):.5*S.easeOutBounce(2*t-1)+.5}};w.easingEffects=S;var D=Math.PI,C=D/180,P=2*D,T=D/2,A=D/4,O=2*D/3,M={clear:function(t){t.ctx.clearRect(0,0,t.width,t.height)},roundedRect:function(t,e,i,n,r,a){if(a){var o=Math.min(a,r/2,n/2),s=e+o,l=i+o,u=e+n-o,d=i+r-o;t.moveTo(e,l),s<u&&l<d?(t.arc(s,l,o,-D,-T),t.arc(u,l,o,-T,0),t.arc(u,d,o,0,T),t.arc(s,d,o,T,D)):s<u?(t.moveTo(s,i),t.arc(u,l,o,-T,T),t.arc(s,l,o,T,D+T)):l<d?(t.arc(s,l,o,-D,0),t.arc(s,d,o,0,D)):t.arc(s,l,o,-D,D),t.closePath(),t.moveTo(e,i)}else t.rect(e,i,n,r)},drawPoint:function(t,e,i,n,r,a){var o,s,l,u,d,h=(a||0)*C;if(e&&"object"==typeof e&&("[object HTMLImageElement]"===(o=e.toString())||"[object HTMLCanvasElement]"===o))return t.save(),t.translate(n,r),t.rotate(h),t.drawImage(e,-e.width/2,-e.height/2,e.width,e.height),void t.restore();if(!(isNaN(i)||i<=0)){switch(t.beginPath(),e){default:t.arc(n,r,i,0,P),t.closePath();break;case"triangle":t.moveTo(n+Math.sin(h)*i,r-Math.cos(h)*i),h+=O,t.lineTo(n+Math.sin(h)*i,r-Math.cos(h)*i),h+=O,t.lineTo(n+Math.sin(h)*i,r-Math.cos(h)*i),t.closePath();break;case"rectRounded":s=Math.cos(h+A)*(u=i-(d=.516*i)),l=Math.sin(h+A)*u,t.arc(n-s,r-l,d,h-D,h-T),t.arc(n+l,r-s,d,h-T,h),t.arc(n+s,r+l,d,h,h+T),t.arc(n-l,r+s,d,h+T,h+D),t.closePath();break;case"rect":if(!a){u=Math.SQRT1_2*i,t.rect(n-u,r-u,2*u,2*u);break}h+=A;case"rectRot":s=Math.cos(h)*i,l=Math.sin(h)*i,t.moveTo(n-s,r-l),t.lineTo(n+l,r-s),t.lineTo(n+s,r+l),t.lineTo(n-l,r+s),t.closePath();break;case"crossRot":h+=A;case"cross":s=Math.cos(h)*i,l=Math.sin(h)*i,t.moveTo(n-s,r-l),t.lineTo(n+s,r+l),t.moveTo(n+l,r-s),t.lineTo(n-l,r+s);break;case"star":s=Math.cos(h)*i,l=Math.sin(h)*i,t.moveTo(n-s,r-l),t.lineTo(n+s,r+l),t.moveTo(n+l,r-s),t.lineTo(n-l,r+s),h+=A,s=Math.cos(h)*i,l=Math.sin(h)*i,t.moveTo(n-s,r-l),t.lineTo(n+s,r+l),t.moveTo(n+l,r-s),t.lineTo(n-l,r+s);break;case"line":s=Math.cos(h)*i,l=Math.sin(h)*i,t.moveTo(n-s,r-l),t.lineTo(n+s,r+l);break;case"dash":t.moveTo(n,r),t.lineTo(n+Math.cos(h)*i,r+Math.sin(h)*i)}t.fill(),t.stroke()}},_isPointInArea:function(t,e){return t.x>e.left-1e-6&&t.x<e.right+1e-6&&t.y>e.top-1e-6&&t.y<e.bottom+1e-6},clipArea:function(t,e){t.save(),t.beginPath(),t.rect(e.left,e.top,e.right-e.left,e.bottom-e.top),t.clip()},unclipArea:function(t){t.restore()},lineTo:function(t,e,i,n){var r=i.steppedLine;if(r){if("middle"===r){var a=(e.x+i.x)/2;t.lineTo(a,n?i.y:e.y),t.lineTo(a,n?e.y:i.y)}else"after"===r&&!n||"after"!==r&&n?t.lineTo(e.x,i.y):t.lineTo(i.x,e.y);t.lineTo(i.x,i.y)}else i.tension?t.bezierCurveTo(n?e.controlPointPreviousX:e.controlPointNextX,n?e.controlPointPreviousY:e.controlPointNextY,n?i.controlPointNextX:i.controlPointPreviousX,n?i.controlPointNextY:i.controlPointPreviousY,i.x,i.y):t.lineTo(i.x,i.y)}};w.clear=M.clear,w.drawRoundedRectangle=function(t){t.beginPath(),M.roundedRect.apply(M,arguments)};var F={_set:function(t,e){return w.merge(this[t]||(this[t]={}),e)}};F._set("global",{defaultColor:"rgba(0,0,0,0.1)",defaultFontColor:"#666",defaultFontFamily:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",defaultFontSize:12,defaultFontStyle:"normal",defaultLineHeight:1.2,showLines:!0});var I=F,L=w.valueOrDefault,R={_factorize:function(t){var e,i=[],n=Math.sqrt(t);for(e=1;e<n;e++)t%e==0&&(i.push(e),i.push(t/e));return n===(0|n)&&i.push(n),i.sort(function(t,e){return t-e}).pop(),i},log10:Math.log10||function(t){var e=Math.log(t)*Math.LOG10E,i=Math.round(e);return t===Math.pow(10,i)?i:e}};w.log10=R.log10;var W=w;W.easing={effects:S},W.canvas=M,W.options={toLineHeight:function(t,e){var i=(""+t).match(/^(normal|(\d+(?:\.\d+)?)(px|em|%)?)$/);if(!i||"normal"===i[1])return 1.2*e;switch(t=+i[2],i[3]){case"px":return t;case"%":t/=100}return e*t},toPadding:function(t){var e,i,n,r;return w.isObject(t)?(e=+t.top||0,i=+t.right||0,n=+t.bottom||0,r=+t.left||0):e=i=n=r=+t||0,{top:e,right:i,bottom:n,left:r,height:e+n,width:r+i}},_parseFont:function(t){var e,i=I.global,n=L(t.fontSize,i.defaultFontSize),r={family:L(t.fontFamily,i.defaultFontFamily),lineHeight:w.options.toLineHeight(L(t.lineHeight,i.defaultLineHeight),n),size:n,style:L(t.fontStyle,i.defaultFontStyle),weight:null,string:""};return r.string=!(e=r)||w.isNullOrUndef(e.size)||w.isNullOrUndef(e.family)?null:(e.style?e.style+" ":"")+(e.weight?e.weight+" ":"")+e.size+"px "+e.family,r},resolve:function(t,e,i,n){var r,a,o,s=!0;for(r=0,a=t.length;r<a;++r)if(void 0!==(o=t[r])&&(void 0!==e&&"function"==typeof o&&(o=o(e),s=!1),void 0!==i&&w.isArray(o)&&(o=o[i],s=!1),void 0!==o))return n&&!s&&(n.cacheable=!1),o}},W.math=R,W.rtl={getRtlAdapter:function(t,e,i){var n,r;return t?(n=e,r=i,{x:function(t){return n+n+r-t},setWidth:function(t){r=t},textAlign:function(t){return"center"===t?t:"right"===t?"left":"right"},xPlus:function(t,e){return t-e},leftForLtr:function(t,e){return t-e}}):{x:function(t){return t},setWidth:function(t){},textAlign:function(t){return t},xPlus:function(t,e){return t+e},leftForLtr:function(t,e){return t}}},overrideTextDirection:function(t,e){var i,n;"ltr"!==e&&"rtl"!==e||(n=[(i=t.canvas.style).getPropertyValue("direction"),i.getPropertyPriority("direction")],i.setProperty("direction",e,"important"),t.prevTextDirection=n)},restoreTextDirection:function(t){var e=t.prevTextDirection;void 0!==e&&(delete t.prevTextDirection,t.canvas.style.setProperty("direction",e[0],e[1]))}};var Y=function(t){W.extend(this,t),this.initialize.apply(this,arguments)};W.extend(Y.prototype,{_type:void 0,initialize:function(){this.hidden=!1},pivot:function(){var t=this;return t._view||(t._view=W.extend({},t._model)),t._start={},t},transition:function(t){var e=this,i=e._model,n=e._start,r=e._view;return i&&1!==t?(r||(r=e._view={}),n||(n=e._start={}),function(t,e,i,n){var r,a,o,s,l,u,d,h,c,f=Object.keys(i);for(r=0,a=f.length;r<a;++r)if(u=i[o=f[r]],e.hasOwnProperty(o)||(e[o]=u),(s=e[o])!==u&&"_"!==o[0]){if(t.hasOwnProperty(o)||(t[o]=s),(d=typeof u)==typeof(l=t[o])){if("string"===d){if((h=y(l)).valid&&(c=y(u)).valid){e[o]=c.mix(h,n).rgbString();continue}}else if(W.isFinite(l)&&W.isFinite(u)){e[o]=l+(u-l)*n;continue}}e[o]=u}}(n,r,i,t),e):(e._view=W.extend({},i),e._start=null,e)},tooltipPosition:function(){return{x:this._model.x,y:this._model.y}},hasValue:function(){return W.isNumber(this._model.x)&&W.isNumber(this._model.y)}}),Y.extend=W.inherits;var z=Y,V=z.extend({chart:null,currentStep:0,numSteps:60,easing:"",render:null,onAnimationProgress:null,onAnimationComplete:null}),E=V;Object.defineProperty(V.prototype,"animationObject",{get:function(){return this}}),Object.defineProperty(V.prototype,"chartInstance",{get:function(){return this.chart},set:function(t){this.chart=t}}),I._set("global",{animation:{duration:1e3,easing:"easeOutQuart",onProgress:W.noop,onComplete:W.noop}});var H={animations:[],request:null,addAnimation:function(t,e,i,n){var r,a,o=this.animations;for(e.chart=t,e.startTime=Date.now(),e.duration=i,n||(t.animating=!0),r=0,a=o.length;r<a;++r)if(o[r].chart===t)return void(o[r]=e);o.push(e),1===o.length&&this.requestAnimationFrame()},cancelAnimation:function(t){var e=W.findIndex(this.animations,function(e){return e.chart===t});-1!==e&&(this.animations.splice(e,1),t.animating=!1)},requestAnimationFrame:function(){var t=this;null===t.request&&(t.request=W.requestAnimFrame.call(window,function(){t.request=null,t.startDigest()}))},startDigest:function(){this.advance(),this.animations.length>0&&this.requestAnimationFrame()},advance:function(){for(var t,e,i,n,r=this.animations,a=0;a<r.length;)e=(t=r[a]).chart,i=t.numSteps,n=Math.floor((Date.now()-t.startTime)/t.duration*i)+1,t.currentStep=Math.min(n,i),W.callback(t.render,[e,t],e),W.callback(t.onAnimationProgress,[t],e),t.currentStep>=i?(W.callback(t.onAnimationComplete,[t],e),e.animating=!1,r.splice(a,1)):++a}},B=W.options.resolve,U=["push","pop","shift","splice","unshift"];function N(t,e){var i=t._chartjs;if(i){var n=i.listeners,r=n.indexOf(e);-1!==r&&n.splice(r,1),n.length>0||(U.forEach(function(e){delete t[e]}),delete t._chartjs)}}var j=function(t,e){this.initialize(t,e)};W.extend(j.prototype,{datasetElementType:null,dataElementType:null,_datasetElementOptions:["backgroundColor","borderCapStyle","borderColor","borderDash","borderDashOffset","borderJoinStyle","borderWidth"],_dataElementOptions:["backgroundColor","borderColor","borderWidth","pointStyle"],initialize:function(t,e){var i=this;i.chart=t,i.index=e,i.linkScales(),i.addElements(),i._type=i.getMeta().type},updateIndex:function(t){this.index=t},linkScales:function(){var t=this.getMeta(),e=this.chart,i=e.scales,n=this.getDataset(),r=e.options.scales;null!==t.xAxisID&&t.xAxisID in i&&!n.xAxisID||(t.xAxisID=n.xAxisID||r.xAxes[0].id),null!==t.yAxisID&&t.yAxisID in i&&!n.yAxisID||(t.yAxisID=n.yAxisID||r.yAxes[0].id)},getDataset:function(){return this.chart.data.datasets[this.index]},getMeta:function(){return this.chart.getDatasetMeta(this.index)},getScaleForId:function(t){return this.chart.scales[t]},_getValueScaleId:function(){return this.getMeta().yAxisID},_getIndexScaleId:function(){return this.getMeta().xAxisID},_getValueScale:function(){return this.getScaleForId(this._getValueScaleId())},_getIndexScale:function(){return this.getScaleForId(this._getIndexScaleId())},reset:function(){this._update(!0)},destroy:function(){this._data&&N(this._data,this)},createMetaDataset:function(){var t=this.datasetElementType;return t&&new t({_chart:this.chart,_datasetIndex:this.index})},createMetaData:function(t){var e=this.dataElementType;return e&&new e({_chart:this.chart,_datasetIndex:this.index,_index:t})},addElements:function(){var t,e,i=this.getMeta(),n=this.getDataset().data||[],r=i.data;for(t=0,e=n.length;t<e;++t)r[t]=r[t]||this.createMetaData(t);i.dataset=i.dataset||this.createMetaDataset()},addElementAndReset:function(t){var e=this.createMetaData(t);this.getMeta().data.splice(t,0,e),this.updateElement(e,t,!0)},buildOrUpdateElements:function(){var t,e,i=this,n=i.getDataset(),r=n.data||(n.data=[]);i._data!==r&&(i._data&&N(i._data,i),r&&Object.isExtensible(r)&&(e=i,(t=r)._chartjs?t._chartjs.listeners.push(e):(Object.defineProperty(t,"_chartjs",{configurable:!0,enumerable:!1,value:{listeners:[e]}}),U.forEach(function(e){var i="onData"+e.charAt(0).toUpperCase()+e.slice(1),n=t[e];Object.defineProperty(t,e,{configurable:!0,enumerable:!1,value:function(){var e=Array.prototype.slice.call(arguments),r=n.apply(this,e);return W.each(t._chartjs.listeners,function(t){"function"==typeof t[i]&&t[i].apply(t,e)}),r}})}))),i._data=r),i.resyncElements()},_configure:function(){this._config=W.merge(Object.create(null),[this.chart.options.datasets[this._type],this.getDataset()],{merger:function(t,e,i){"_meta"!==t&&"data"!==t&&W._merger(t,e,i)}})},_update:function(t){this._configure(),this._cachedDataOpts=null,this.update(t)},update:W.noop,transition:function(t){for(var e=this.getMeta(),i=e.data||[],n=i.length,r=0;r<n;++r)i[r].transition(t);e.dataset&&e.dataset.transition(t)},draw:function(){var t=this.getMeta(),e=t.data||[],i=e.length,n=0;for(t.dataset&&t.dataset.draw();n<i;++n)e[n].draw()},getStyle:function(t){var e,i=this.getMeta(),n=i.dataset;return this._configure(),n&&void 0===t?e=this._resolveDatasetElementOptions(n||{}):(t=t||0,e=this._resolveDataElementOptions(i.data[t]||{},t)),!1!==e.fill&&null!==e.fill||(e.backgroundColor=e.borderColor),e},_resolveDatasetElementOptions:function(t,e){var i,n,r,a,o=this.chart,s=this._config,l=t.custom||{},u=o.options.elements[this.datasetElementType.prototype._type]||{},d=this._datasetElementOptions,h={},c={chart:o,dataset:this.getDataset(),datasetIndex:this.index,hover:e};for(i=0,n=d.length;i<n;++i)r=d[i],a=e?"hover"+r.charAt(0).toUpperCase()+r.slice(1):r,h[r]=B([l[a],s[a],u[a]],c);return h},_resolveDataElementOptions:function(t,e){var i=this,n=t&&t.custom,r=i._cachedDataOpts;if(r&&!n)return r;var a,o,s,l,u=i.chart,d=i._config,h=u.options.elements[i.dataElementType.prototype._type]||{},c=i._dataElementOptions,f={},g={chart:u,dataIndex:e,dataset:i.getDataset(),datasetIndex:i.index},$={cacheable:!n};if(n=n||{},W.isArray(c))for(o=0,s=c.length;o<s;++o)f[l=c[o]]=B([n[l],d[l],h[l]],g,e,$);else for(o=0,s=(a=Object.keys(c)).length;o<s;++o)f[l=a[o]]=B([n[l],d[c[l]],d[l],h[l]],g,e,$);return $.cacheable&&(i._cachedDataOpts=Object.freeze(f)),f},removeHoverStyle:function(t){W.merge(t._model,t.$previousStyle||{}),delete t.$previousStyle},setHoverStyle:function(t){var e=this.chart.data.datasets[t._datasetIndex],i=t._index,n=t.custom||{},r=t._model,a=W.getHoverColor;t.$previousStyle={backgroundColor:r.backgroundColor,borderColor:r.borderColor,borderWidth:r.borderWidth},r.backgroundColor=B([n.hoverBackgroundColor,e.hoverBackgroundColor,a(r.backgroundColor)],void 0,i),r.borderColor=B([n.hoverBorderColor,e.hoverBorderColor,a(r.borderColor)],void 0,i),r.borderWidth=B([n.hoverBorderWidth,e.hoverBorderWidth,r.borderWidth],void 0,i)},_removeDatasetHoverStyle:function(){var t=this.getMeta().dataset;t&&this.removeHoverStyle(t)},_setDatasetHoverStyle:function(){var t,e,i,n,r,a,o=this.getMeta().dataset,s={};if(o){for(a=o._model,r=this._resolveDatasetElementOptions(o,!0),t=0,e=(n=Object.keys(r)).length;t<e;++t)s[i=n[t]]=a[i],a[i]=r[i];o.$previousStyle=s}},resyncElements:function(){var t=this.getMeta(),e=this.getDataset().data,i=t.data.length,n=e.length;n<i?t.data.splice(n,i-n):n>i&&this.insertElements(i,n-i)},insertElements:function(t,e){for(var i=0;i<e;++i)this.addElementAndReset(t+i)},onDataPush:function(){var t=arguments.length;this.insertElements(this.getDataset().data.length-t,t)},onDataPop:function(){this.getMeta().data.pop()},onDataShift:function(){this.getMeta().data.shift()},onDataSplice:function(t,e){this.getMeta().data.splice(t,e),this.insertElements(t,arguments.length-2)},onDataUnshift:function(){this.insertElements(0,arguments.length)}}),j.extend=W.inherits;var G=j,q=2*Math.PI;function Z(t,e){var i=e.startAngle,n=e.endAngle,r=e.pixelMargin,a=r/e.outerRadius,o=e.x,s=e.y;t.beginPath(),t.arc(o,s,e.outerRadius,i-a,n+a),e.innerRadius>r?(a=r/e.innerRadius,t.arc(o,s,e.innerRadius-r,n+a,i-a,!0)):t.arc(o,s,r,n+Math.PI/2,i-Math.PI/2),t.closePath(),t.clip()}I._set("global",{elements:{arc:{backgroundColor:I.global.defaultColor,borderColor:"#fff",borderWidth:2,borderAlign:"center"}}});var X=z.extend({_type:"arc",inLabelRange:function(t){var e=this._view;return!!e&&Math.pow(t-e.x,2)<Math.pow(e.radius+e.hoverRadius,2)},inRange:function(t,e){var i=this._view;if(i){for(var n=W.getAngleFromPoint(i,{x:t,y:e}),r=n.angle,a=n.distance,o=i.startAngle,s=i.endAngle;s<o;)s+=q;for(;r>s;)r-=q;for(;r<o;)r+=q;var l=r>=o&&r<=s,u=a>=i.innerRadius&&a<=i.outerRadius;return l&&u}return!1},getCenterPoint:function(){var t=this._view,e=(t.startAngle+t.endAngle)/2,i=(t.innerRadius+t.outerRadius)/2;return{x:t.x+Math.cos(e)*i,y:t.y+Math.sin(e)*i}},getArea:function(){var t=this._view;return Math.PI*((t.endAngle-t.startAngle)/(2*Math.PI))*(Math.pow(t.outerRadius,2)-Math.pow(t.innerRadius,2))},tooltipPosition:function(){var t=this._view,e=t.startAngle+(t.endAngle-t.startAngle)/2,i=(t.outerRadius-t.innerRadius)/2+t.innerRadius;return{x:t.x+Math.cos(e)*i,y:t.y+Math.sin(e)*i}},draw:function(){var t,e,i,n,r,a=this._chart.ctx,o=this._view,s="inner"===o.borderAlign?.33:0,l={x:o.x,y:o.y,innerRadius:o.innerRadius,outerRadius:Math.max(o.outerRadius-s,0),pixelMargin:s,startAngle:o.startAngle,endAngle:o.endAngle,fullCircles:Math.floor(o.circumference/q)};if(a.save(),a.fillStyle=o.backgroundColor,a.strokeStyle=o.borderColor,l.fullCircles){for(l.endAngle=l.startAngle+q,a.beginPath(),a.arc(l.x,l.y,l.outerRadius,l.startAngle,l.endAngle),a.arc(l.x,l.y,l.innerRadius,l.endAngle,l.startAngle,!0),a.closePath(),r=0;r<l.fullCircles;++r)a.fill();l.endAngle=l.startAngle+o.circumference%q}a.beginPath(),a.arc(l.x,l.y,l.outerRadius,l.startAngle,l.endAngle),a.arc(l.x,l.y,l.innerRadius,l.endAngle,l.startAngle,!0),a.closePath(),a.fill(),o.borderWidth&&(t=a,e=o,i=l,(n="inner"===e.borderAlign)?(t.lineWidth=2*e.borderWidth,t.lineJoin="round"):(t.lineWidth=e.borderWidth,t.lineJoin="bevel"),i.fullCircles&&function(t,e,i,n){var r,a=i.endAngle;for(n&&(i.endAngle=i.startAngle+q,Z(t,i),i.endAngle=a,i.endAngle===i.startAngle&&i.fullCircles&&(i.endAngle+=q,i.fullCircles--)),t.beginPath(),t.arc(i.x,i.y,i.innerRadius,i.startAngle+q,i.startAngle,!0),r=0;r<i.fullCircles;++r)t.stroke();for(t.beginPath(),t.arc(i.x,i.y,e.outerRadius,i.startAngle,i.startAngle+q),r=0;r<i.fullCircles;++r)t.stroke()}(t,e,i,n),n&&Z(t,i),t.beginPath(),t.arc(i.x,i.y,e.outerRadius,i.startAngle,i.endAngle),t.arc(i.x,i.y,i.innerRadius,i.endAngle,i.startAngle,!0),t.closePath(),t.stroke()),a.restore()}}),K=W.valueOrDefault,J=I.global.defaultColor;I._set("global",{elements:{line:{tension:.4,backgroundColor:J,borderWidth:3,borderColor:J,borderCapStyle:"butt",borderDash:[],borderDashOffset:0,borderJoinStyle:"miter",capBezierPoints:!0,fill:!0}}});var Q=z.extend({_type:"line",draw:function(){var t,e,i,n=this._view,r=this._chart.ctx,a=n.spanGaps,o=this._children.slice(),s=I.global,l=s.elements.line,u=-1,d=this._loop;if(o.length){if(this._loop){for(t=0;t<o.length;++t)if(e=W.previousItem(o,t),!o[t]._view.skip&&e._view.skip){o=o.slice(t).concat(o.slice(0,t)),d=a;break}d&&o.push(o[0])}for(r.save(),r.lineCap=n.borderCapStyle||l.borderCapStyle,r.setLineDash&&r.setLineDash(n.borderDash||l.borderDash),r.lineDashOffset=K(n.borderDashOffset,l.borderDashOffset),r.lineJoin=n.borderJoinStyle||l.borderJoinStyle,r.lineWidth=K(n.borderWidth,l.borderWidth),r.strokeStyle=n.borderColor||s.defaultColor,r.beginPath(),(i=o[0]._view).skip||(r.moveTo(i.x,i.y),u=0),t=1;t<o.length;++t)i=o[t]._view,e=-1===u?W.previousItem(o,t):o[u],i.skip||((u===t-1||a)&&-1!==u?W.canvas.lineTo(r,e._view,i):r.moveTo(i.x,i.y),u=t);d&&r.closePath(),r.stroke(),r.restore()}}}),tt=W.valueOrDefault,te=I.global.defaultColor;function ti(t){var e=this._view;return!!e&&Math.abs(t-e.x)<e.radius+e.hitRadius}I._set("global",{elements:{point:{radius:3,pointStyle:"circle",backgroundColor:te,borderColor:te,borderWidth:1,hitRadius:1,hoverRadius:4,hoverBorderWidth:1}}});var tn=z.extend({_type:"point",inRange:function(t,e){var i=this._view;return!!i&&Math.pow(t-i.x,2)+Math.pow(e-i.y,2)<Math.pow(i.hitRadius+i.radius,2)},inLabelRange:ti,inXRange:ti,inYRange:function(t){var e=this._view;return!!e&&Math.abs(t-e.y)<e.radius+e.hitRadius},getCenterPoint:function(){var t=this._view;return{x:t.x,y:t.y}},getArea:function(){return Math.PI*Math.pow(this._view.radius,2)},tooltipPosition:function(){var t=this._view;return{x:t.x,y:t.y,padding:t.radius+t.borderWidth}},draw:function(t){var e=this._view,i=this._chart.ctx,n=e.pointStyle,r=e.rotation,a=e.radius,o=e.x,s=e.y,l=I.global,u=l.defaultColor;e.skip||(void 0===t||W.canvas._isPointInArea(e,t))&&(i.strokeStyle=e.borderColor||u,i.lineWidth=tt(e.borderWidth,l.elements.point.borderWidth),i.fillStyle=e.backgroundColor||u,W.canvas.drawPoint(i,n,a,o,s,r))}}),tr=I.global.defaultColor;function ta(t){return t&&void 0!==t.width}function to(t){var e,i,n,r,a;return ta(t)?(a=t.width/2,e=t.x-a,i=t.x+a,n=Math.min(t.y,t.base),r=Math.max(t.y,t.base)):(a=t.height/2,e=Math.min(t.x,t.base),i=Math.max(t.x,t.base),n=t.y-a,r=t.y+a),{left:e,top:n,right:i,bottom:r}}function ts(t,e,i){return t===e?i:t===i?e:t}function tl(t,e,i){var n=null===e,r=null===i,a=!(!t||n&&r)&&to(t);return a&&(n||e>=a.left&&e<=a.right)&&(r||i>=a.top&&i<=a.bottom)}I._set("global",{elements:{rectangle:{backgroundColor:tr,borderColor:tr,borderSkipped:"bottom",borderWidth:0}}});var tu=z.extend({_type:"rectangle",draw:function(){var t,e,i,n,r,a,o,s,l,u,d,h,c,f,g,$,m,p=this._chart.ctx,v=this._view,_=(t=v,g=(f=to(t)).right-f.left,$=f.bottom-f.top,m=(e=t,i=g/2,n=$/2,h=e.borderWidth,c=(a=(r=e).borderSkipped,o={},a&&(r.horizontal?r.base>r.x&&(a=ts(a,"left","right")):r.base<r.y&&(a=ts(a,"bottom","top")),o[a]=!0),o),W.isObject(h)?(s=+h.top||0,l=+h.right||0,u=+h.bottom||0,d=+h.left||0):s=l=u=d=+h||0,{t:c.top||s<0?0:s>n?n:s,r:c.right||l<0?0:l>i?i:l,b:c.bottom||u<0?0:u>n?n:u,l:c.left||d<0?0:d>i?i:d}),{outer:{x:f.left,y:f.top,w:g,h:$},inner:{x:f.left+m.l,y:f.top+m.t,w:g-m.l-m.r,h:$-m.t-m.b}}),y=_.outer,b=_.inner;p.fillStyle=v.backgroundColor,p.fillRect(y.x,y.y,y.w,y.h),y.w===b.w&&y.h===b.h||(p.save(),p.beginPath(),p.rect(y.x,y.y,y.w,y.h),p.clip(),p.fillStyle=v.borderColor,p.rect(b.x,b.y,b.w,b.h),p.fill("evenodd"),p.restore())},height:function(){var t=this._view;return t.base-t.y},inRange:function(t,e){return tl(this._view,t,e)},inLabelRange:function(t,e){var i=this._view;return ta(i)?tl(i,t,null):tl(i,null,e)},inXRange:function(t){return tl(this._view,t,null)},inYRange:function(t){return tl(this._view,null,t)},getCenterPoint:function(){var t,e,i=this._view;return ta(i)?(t=i.x,e=(i.y+i.base)/2):(t=(i.x+i.base)/2,e=i.y),{x:t,y:e}},getArea:function(){var t=this._view;return ta(t)?t.width*Math.abs(t.y-t.base):t.height*Math.abs(t.x-t.base)},tooltipPosition:function(){var t=this._view;return{x:t.x,y:t.y}}}),td={};td.Arc=X,td.Line=Q,td.Point=tn,td.Rectangle=tu;var th=W._deprecated,tc=W.valueOrDefault;I._set("bar",{hover:{mode:"label"},scales:{xAxes:[{type:"category",offset:!0,gridLines:{offsetGridLines:!0}}],yAxes:[{type:"linear"}]}}),I._set("global",{datasets:{bar:{categoryPercentage:.8,barPercentage:.9}}});var tf=G.extend({dataElementType:td.Rectangle,_dataElementOptions:["backgroundColor","borderColor","borderSkipped","borderWidth","barPercentage","barThickness","categoryPercentage","maxBarThickness","minBarLength"],initialize:function(){var t,e;G.prototype.initialize.apply(this,arguments),(t=this.getMeta()).stack=this.getDataset().stack,t.bar=!0,th("bar chart",(e=this._getIndexScale().options).barPercentage,"scales.[x/y]Axes.barPercentage","dataset.barPercentage"),th("bar chart",e.barThickness,"scales.[x/y]Axes.barThickness","dataset.barThickness"),th("bar chart",e.categoryPercentage,"scales.[x/y]Axes.categoryPercentage","dataset.categoryPercentage"),th("bar chart",this._getValueScale().options.minBarLength,"scales.[x/y]Axes.minBarLength","dataset.minBarLength"),th("bar chart",e.maxBarThickness,"scales.[x/y]Axes.maxBarThickness","dataset.maxBarThickness")},update:function(t){var e,i,n=this.getMeta().data;for(this._ruler=this.getRuler(),e=0,i=n.length;e<i;++e)this.updateElement(n[e],e,t)},updateElement:function(t,e,i){var n=this.getMeta(),r=this.getDataset(),a=this._resolveDataElementOptions(t,e);t._xScale=this.getScaleForId(n.xAxisID),t._yScale=this.getScaleForId(n.yAxisID),t._datasetIndex=this.index,t._index=e,t._model={backgroundColor:a.backgroundColor,borderColor:a.borderColor,borderSkipped:a.borderSkipped,borderWidth:a.borderWidth,datasetLabel:r.label,label:this.chart.data.labels[e]},W.isArray(r.data[e])&&(t._model.borderSkipped=null),this._updateElementGeometry(t,e,i,a),t.pivot()},_updateElementGeometry:function(t,e,i,n){var r=t._model,a=this._getValueScale(),o=a.getBasePixel(),s=a.isHorizontal(),l=this._ruler||this.getRuler(),u=this.calculateBarValuePixels(this.index,e,n),d=this.calculateBarIndexPixels(this.index,e,l,n);r.horizontal=s,r.base=i?o:u.base,r.x=s?i?o:u.head:d.center,r.y=s?d.center:i?o:u.head,r.height=s?d.size:void 0,r.width=s?void 0:d.size},_getStacks:function(t){var e,i,n=this._getIndexScale(),r=n._getMatchingVisibleMetas(this._type),a=n.options.stacked,o=r.length,s=[];for(e=0;e<o&&(i=r[e],(!1===a||-1===s.indexOf(i.stack)||void 0===a&&void 0===i.stack)&&s.push(i.stack),i.index!==t);++e);return s},getStackCount:function(){return this._getStacks().length},getStackIndex:function(t,e){var i=this._getStacks(t),n=void 0!==e?i.indexOf(e):-1;return -1===n?i.length-1:n},getRuler:function(){var t,e,i=this._getIndexScale(),n=[];for(t=0,e=this.getMeta().data.length;t<e;++t)n.push(i.getPixelForValue(null,t,this.index));return{pixels:n,start:i._startPixel,end:i._endPixel,stackCount:this.getStackCount(),scale:i}},calculateBarValuePixels:function(t,e,i){var n,r,a,o,s,l,u,d=this.chart,h=this._getValueScale(),c=h.isHorizontal(),f=d.data.datasets,g=h._getMatchingVisibleMetas(this._type),$=h._parseValue(f[t].data[e]),m=i.minBarLength,p=h.options.stacked,v=this.getMeta().stack,_=void 0===$.start?0:$.max>=0&&$.min>=0?$.min:$.max,y=void 0===$.start?$.end:$.max>=0&&$.min>=0?$.max-$.min:$.min-$.max,b=g.length;if(p||void 0===p&&void 0!==v)for(n=0;n<b&&(r=g[n]).index!==t;++n)r.stack===v&&(a=void 0===(u=h._parseValue(f[r.index].data[e])).start?u.end:u.min>=0&&u.max>=0?u.max:u.min,($.min<0&&a<0||$.max>=0&&a>0)&&(_+=a));return o=h.getPixelForValue(_),l=(s=h.getPixelForValue(_+y))-o,void 0!==m&&Math.abs(l)<m&&(l=m,s=y>=0&&!c||y<0&&c?o-m:o+m),{size:l,base:o,head:s,center:s+l/2}},calculateBarIndexPixels:function(t,e,i,n){var r,a,o,s,l,u,d,h,c,f,g,$,m,p,v,_,y,b,x="flex"===n.barThickness?(r=e,a=i,o=n,u=(l=a.pixels)[r],d=r>0?l[r-1]:null,h=r<l.length-1?l[r+1]:null,c=o.categoryPercentage,null===d&&(d=u-(null===h?a.end-a.start:h-u)),null===h&&(h=u+u-d),s=u-(u-Math.min(d,h))/2*c,{chunk:Math.abs(h-d)/2*c/a.stackCount,ratio:o.barPercentage,start:s}):(f=e,g=i,v=($=n).barThickness,_=g.stackCount,y=g.pixels[f],b=W.isNullOrUndef(v)?function(t,e){var i,n,r,a,o=t._length;for(r=1,a=e.length;r<a;++r)o=Math.min(o,Math.abs(e[r]-e[r-1]));for(r=0,a=t.getTicks().length;r<a;++r)n=t.getPixelForTick(r),o=r>0?Math.min(o,Math.abs(n-i)):o,i=n;return o}(g.scale,g.pixels):-1,W.isNullOrUndef(v)?(m=b*$.categoryPercentage,p=$.barPercentage):(m=v*_,p=1),{chunk:m/_,ratio:p,start:y-m/2}),k=this.getStackIndex(t,this.getMeta().stack),w=x.start+x.chunk*k+x.chunk/2,S=Math.min(tc(n.maxBarThickness,1/0),x.chunk*x.ratio);return{base:w-S/2,head:w+S/2,center:w,size:S}},draw:function(){var t=this.chart,e=this._getValueScale(),i=this.getMeta().data,n=this.getDataset(),r=i.length,a=0;for(W.canvas.clipArea(t.ctx,t.chartArea);a<r;++a){var o=e._parseValue(n.data[a]);isNaN(o.min)||isNaN(o.max)||i[a].draw()}W.canvas.unclipArea(t.ctx)},_resolveDataElementOptions:function(){var t=W.extend({},G.prototype._resolveDataElementOptions.apply(this,arguments)),e=this._getIndexScale().options,i=this._getValueScale().options;return t.barPercentage=tc(e.barPercentage,t.barPercentage),t.barThickness=tc(e.barThickness,t.barThickness),t.categoryPercentage=tc(e.categoryPercentage,t.categoryPercentage),t.maxBarThickness=tc(e.maxBarThickness,t.maxBarThickness),t.minBarLength=tc(i.minBarLength,t.minBarLength),t}}),tg=W.valueOrDefault,t$=W.options.resolve;I._set("bubble",{hover:{mode:"single"},scales:{xAxes:[{type:"linear",position:"bottom",id:"x-axis-0"}],yAxes:[{type:"linear",position:"left",id:"y-axis-0"}]},tooltips:{callbacks:{title:function(){return""},label:function(t,e){var i=e.datasets[t.datasetIndex].label||"",n=e.datasets[t.datasetIndex].data[t.index];return i+": ("+t.xLabel+", "+t.yLabel+", "+n.r+")"}}}});var tm=G.extend({dataElementType:td.Point,_dataElementOptions:["backgroundColor","borderColor","borderWidth","hoverBackgroundColor","hoverBorderColor","hoverBorderWidth","hoverRadius","hitRadius","pointStyle","rotation"],update:function(t){var e=this,i=e.getMeta().data;W.each(i,function(i,n){e.updateElement(i,n,t)})},updateElement:function(t,e,i){var n=this.getMeta(),r=t.custom||{},a=this.getScaleForId(n.xAxisID),o=this.getScaleForId(n.yAxisID),s=this._resolveDataElementOptions(t,e),l=this.getDataset().data[e],u=this.index,d=i?a.getPixelForDecimal(.5):a.getPixelForValue("object"==typeof l?l:NaN,e,u),h=i?o.getBasePixel():o.getPixelForValue(l,e,u);t._xScale=a,t._yScale=o,t._options=s,t._datasetIndex=u,t._index=e,t._model={backgroundColor:s.backgroundColor,borderColor:s.borderColor,borderWidth:s.borderWidth,hitRadius:s.hitRadius,pointStyle:s.pointStyle,rotation:s.rotation,radius:i?0:s.radius,skip:r.skip||isNaN(d)||isNaN(h),x:d,y:h},t.pivot()},setHoverStyle:function(t){var e=t._model,i=t._options,n=W.getHoverColor;t.$previousStyle={backgroundColor:e.backgroundColor,borderColor:e.borderColor,borderWidth:e.borderWidth,radius:e.radius},e.backgroundColor=tg(i.hoverBackgroundColor,n(i.backgroundColor)),e.borderColor=tg(i.hoverBorderColor,n(i.borderColor)),e.borderWidth=tg(i.hoverBorderWidth,i.borderWidth),e.radius=i.radius+i.hoverRadius},_resolveDataElementOptions:function(t,e){var i=this,n=i.chart,r=i.getDataset(),a=t.custom||{},o=r.data[e]||{},s=G.prototype._resolveDataElementOptions.apply(i,arguments),l={chart:n,dataIndex:e,dataset:r,datasetIndex:i.index};return i._cachedDataOpts===s&&(s=W.extend({},s)),s.radius=t$([a.radius,o.r,i._config.radius,n.options.elements.point.radius],l,e),s}}),tp=W.valueOrDefault,tv=Math.PI,t_=2*tv,ty=tv/2;I._set("doughnut",{animation:{animateRotate:!0,animateScale:!1},hover:{mode:"single"},legendCallback:function(t){var e,i,n,r=document.createElement("ul"),a=t.data,o=a.datasets,s=a.labels;if(r.setAttribute("class",t.id+"-legend"),o.length)for(e=0,i=o[0].data.length;e<i;++e)(n=r.appendChild(document.createElement("li"))).appendChild(document.createElement("span")).style.backgroundColor=o[0].backgroundColor[e],s[e]&&n.appendChild(document.createTextNode(s[e]));return r.outerHTML},legend:{labels:{generateLabels:function(t){var e=t.data;return e.labels.length&&e.datasets.length?e.labels.map(function(i,n){var r=t.getDatasetMeta(0),a=r.controller.getStyle(n);return{text:i,fillStyle:a.backgroundColor,strokeStyle:a.borderColor,lineWidth:a.borderWidth,hidden:isNaN(e.datasets[0].data[n])||r.data[n].hidden,index:n}}):[]}},onClick:function(t,e){var i,n,r,a=e.index,o=this.chart;for(i=0,n=(o.data.datasets||[]).length;i<n;++i)(r=o.getDatasetMeta(i)).data[a]&&(r.data[a].hidden=!r.data[a].hidden);o.update()}},cutoutPercentage:50,rotation:-ty,circumference:t_,tooltips:{callbacks:{title:function(){return""},label:function(t,e){var i=e.labels[t.index],n=": "+e.datasets[t.datasetIndex].data[t.index];return W.isArray(i)?(i=i.slice())[0]+=n:i+=n,i}}}});var tb=G.extend({dataElementType:td.Arc,linkScales:W.noop,_dataElementOptions:["backgroundColor","borderColor","borderWidth","borderAlign","hoverBackgroun
6dColor","hoverBorderColor","hoverBorderWidth"],getRingIndex:function(t){for(var e=0,i=0;i<t;++i)this.chart.isDatasetVisible(i)&&++e;return e},update:function(t){var e,i,n,r,a=this,o=a.chart,s=o.chartArea,l=o.options,u=1,d=1,h=0,c=0,f=a.getMeta(),g=f.data,$=l.cutoutPercentage/100||0,m=l.circumference,p=a._getRingWeight(a.index);if(m<t_){var v=l.rotation%t_,_=(v+=v>=tv?-t_:v<-tv?t_:0)+m,y=Math.cos(v),b=Math.sin(v),x=Math.cos(_),k=Math.sin(_),w=v<=0&&_>=0||_>=t_,S=v<=ty&&_>=ty||_>=t_+ty,D=v<=-ty&&_>=-ty||_>=tv+ty,C=v===-tv||_>=tv?-1:Math.min(y,y*$,x,x*$),P=D?-1:Math.min(b,b*$,k,k*$),T=w?1:Math.max(y,y*$,x,x*$),A=S?1:Math.max(b,b*$,k,k*$);u=(T-C)/2,d=(A-P)/2,h=-(T+C)/2,c=-(A+P)/2}for(n=0,r=g.length;n<r;++n)g[n]._options=a._resolveDataElementOptions(g[n],n);for(o.borderWidth=a.getMaxBorderWidth(),e=(s.right-s.left-o.borderWidth)/u,i=(s.bottom-s.top-o.borderWidth)/d,o.outerRadius=Math.max(Math.min(e,i)/2,0),o.innerRadius=Math.max(o.outerRadius*$,0),o.radiusLength=(o.outerRadius-o.innerRadius)/(a._getVisibleDatasetWeightTotal()||1),o.offsetX=h*o.outerRadius,o.offsetY=c*o.outerRadius,f.total=a.calculateTotal(),a.outerRadius=o.outerRadius-o.radiusLength*a._getRingWeightOffset(a.index),a.innerRadius=Math.max(a.outerRadius-o.radiusLength*p,0),n=0,r=g.length;n<r;++n)a.updateElement(g[n],n,t)},updateElement:function(t,e,i){var n=this.chart,r=n.chartArea,a=n.options,o=a.animation,s=(r.left+r.right)/2,l=(r.top+r.bottom)/2,u=a.rotation,d=a.rotation,h=this.getDataset(),c=i&&o.animateRotate?0:t.hidden?0:this.calculateCircumference(h.data[e])*(a.circumference/t_),f=i&&o.animateScale?0:this.innerRadius,g=i&&o.animateScale?0:this.outerRadius,$=t._options||{};W.extend(t,{_datasetIndex:this.index,_index:e,_model:{backgroundColor:$.backgroundColor,borderColor:$.borderColor,borderWidth:$.borderWidth,borderAlign:$.borderAlign,x:s+n.offsetX,y:l+n.offsetY,startAngle:u,endAngle:d,circumference:c,outerRadius:g,innerRadius:f,label:W.valueAtIndexOrDefault(h.label,e,n.data.labels[e])}});var m=t._model;i&&o.animateRotate||(m.startAngle=0===e?a.rotation:this.getMeta().data[e-1]._model.endAngle,m.endAngle=m.startAngle+m.circumference),t.pivot()},calculateTotal:function(){var t,e=this.getDataset(),i=this.getMeta(),n=0;return W.each(i.data,function(i,r){isNaN(t=e.data[r])||i.hidden||(n+=Math.abs(t))}),n},calculateCircumference:function(t){var e=this.getMeta().total;return e>0&&!isNaN(t)?t_*(Math.abs(t)/e):0},getMaxBorderWidth:function(t){var e,i,n,r,a,o,s,l,u=0,d=this.chart;if(!t){for(e=0,i=d.data.datasets.length;e<i;++e)if(d.isDatasetVisible(e)){t=(n=d.getDatasetMeta(e)).data,e!==this.index&&(a=n.controller);break}}if(!t)return 0;for(e=0,i=t.length;e<i;++e)r=t[e],a?(a._configure(),o=a._resolveDataElementOptions(r,e)):o=r._options,"inner"!==o.borderAlign&&(s=o.borderWidth,u=(l=o.hoverBorderWidth)>(u=s>u?s:u)?l:u);return u},setHoverStyle:function(t){var e=t._model,i=t._options,n=W.getHoverColor;t.$previousStyle={backgroundColor:e.backgroundColor,borderColor:e.borderColor,borderWidth:e.borderWidth},e.backgroundColor=tp(i.hoverBackgroundColor,n(i.backgroundColor)),e.borderColor=tp(i.hoverBorderColor,n(i.borderColor)),e.borderWidth=tp(i.hoverBorderWidth,i.borderWidth)},_getRingWeightOffset:function(t){for(var e=0,i=0;i<t;++i)this.chart.isDatasetVisible(i)&&(e+=this._getRingWeight(i));return e},_getRingWeight:function(t){return Math.max(tp(this.chart.data.datasets[t].weight,1),0)},_getVisibleDatasetWeightTotal:function(){return this._getRingWeightOffset(this.chart.data.datasets.length)}});I._set("horizontalBar",{hover:{mode:"index",axis:"y"},scales:{xAxes:[{type:"linear",position:"bottom"}],yAxes:[{type:"category",position:"left",offset:!0,gridLines:{offsetGridLines:!0}}]},elements:{rectangle:{borderSkipped:"left"}},tooltips:{mode:"index",axis:"y"}}),I._set("global",{datasets:{horizontalBar:{categoryPercentage:.8,barPercentage:.9}}});var tx=tf.extend({_getValueScaleId:function(){return this.getMeta().xAxisID},_getIndexScaleId:function(){return this.getMeta().yAxisID}}),t8=W.valueOrDefault,t0=W.options.resolve,tk=W.canvas._isPointInArea;function tw(t,e){var i=t&&t.options.ticks||{},n=i.reverse,r=void 0===i.min?e:0,a=void 0===i.max?e:0;return{start:n?a:r,end:n?r:a}}I._set("line",{showLines:!0,spanGaps:!1,hover:{mode:"label"},scales:{xAxes:[{type:"category",id:"x-axis-0"}],yAxes:[{type:"linear",id:"y-axis-0"}]}});var t3=G.extend({datasetElementType:td.Line,dataElementType:td.Point,_datasetElementOptions:["backgroundColor","borderCapStyle","borderColor","borderDash","borderDashOffset","borderJoinStyle","borderWidth","cubicInterpolationMode","fill"],_dataElementOptions:{backgroundColor:"pointBackgroun
6dColor",borderColor:"pointBorderColor",borderWidth:"pointBorderWidth",hitRadius:"pointHitRadius",hoverBackgroundColor:"pointHoverBackgroundColor",hoverBorderColor:"pointHoverBorderColor",hoverBorderWidth:"pointHoverBorderWidth",hoverRadius:"pointHoverRadius",pointStyle:"pointStyle",radius:"pointRadius",rotation:"pointRotation"},update:function(t){var e,i,n=this,r=n.getMeta(),a=r.dataset,o=r.data||[],s=n.chart.options,l=n._config,u=n._showLine=t8(l.showLine,s.showLines);for(n._xScale=n.getScaleForId(r.xAxisID),n._yScale=n.getScaleForId(r.yAxisID),u&&(void 0!==l.tension&&void 0===l.lineTension&&(l.lineTension=l.tension),a._scale=n._yScale,a._datasetIndex=n.index,a._children=o,a._model=n._resolveDatasetElementOptions(a),a.pivot()),e=0,i=o.length;e<i;++e)n.updateElement(o[e],e,t);for(u&&0!==a._model.tension&&n.updateBezierControlPoints(),e=0,i=o.length;e<i;++e)o[e].pivot()},updateElement:function(t,e,i){var n,r,a=this.getMeta(),o=t.custom||{},s=this.getDataset(),l=this.index,u=s.data[e],d=this._xScale,h=this._yScale,c=a.dataset._model,f=this._resolveDataElementOptions(t,e);n=d.getPixelForValue("object"==typeof u?u:NaN,e,l),r=i?h.getBasePixel():this.calculatePointY(u,e,l),t._xScale=d,t._yScale=h,t._options=f,t._datasetIndex=l,t._index=e,t._model={x:n,y:r,skip:o.skip||isNaN(n)||isNaN(r),radius:f.radius,pointStyle:f.pointStyle,rotation:f.rotation,backgroundColor:f.backgroundColor,borderColor:f.borderColor,borderWidth:f.borderWidth,tension:t8(o.tension,c?c.tension:0),steppedLine:!!c&&c.steppedLine,hitRadius:f.hitRadius}},_resolveDatasetElementOptions:function(t){var e,i,n,r,a,o,s,l,u,d,h,c=this._config,f=t.custom||{},g=this.chart.options,$=g.elements.line,m=G.prototype._resolveDatasetElementOptions.apply(this,arguments);return m.spanGaps=t8(c.spanGaps,g.spanGaps),m.tension=t8(c.lineTension,$.tension),m.steppedLine=t0([f.steppedLine,c.steppedLine,$.stepped]),m.clip=(s=t8(c.clip,(e=this._xScale,i=this._yScale,a=tw(e,r=(n=m.borderWidth)/2),{top:(o=tw(i,r)).end,right:a.end,bottom:o.start,left:a.start})),W.isObject(s)?(l=s.top,u=s.right,d=s.bottom,h=s.left):l=u=d=h=s,{top:l,right:u,bottom:d,left:h}),m},calculatePointY:function(t,e,i){var n,r,a,o,s,l,u,d=this.chart,h=this._yScale,c=0,f=0;if(h.options.stacked){for(s=+h.getRightValue(t),u=(l=d._getSortedVisibleDatasetMetas()).length,n=0;n<u&&(a=l[n]).index!==i;++n)r=d.data.datasets[a.index],"line"===a.type&&a.yAxisID===h.id&&((o=+h.getRightValue(r.data[e]))<0?f+=o||0:c+=o||0);return s<0?h.getPixelForValue(f+s):h.getPixelForValue(c+s)}return h.getPixelForValue(t)},updateBezierControlPoints:function(){var t,e,i,n,r=this.chart,a=this.getMeta(),o=a.dataset._model,s=r.chartArea,l=a.data||[];function u(t,e,i){return Math.max(Math.min(t,i),e)}if(o.spanGaps&&(l=l.filter(function(t){return!t._model.skip})),"monotone"===o.cubicInterpolationMode)W.splineCurveMonotone(l);else for(t=0,e=l.length;t<e;++t)i=l[t]._model,n=W.splineCurve(W.previousItem(l,t)._model,i,W.nextItem(l,t)._model,o.tension),i.controlPointPreviousX=n.previous.x,i.controlPointPreviousY=n.previous.y,i.controlPointNextX=n.next.x,i.controlPointNextY=n.next.y;if(r.options.elements.line.capBezierPoints)for(t=0,e=l.length;t<e;++t)tk(i=l[t]._model,s)&&(t>0&&tk(l[t-1]._model,s)&&(i.controlPointPreviousX=u(i.controlPointPreviousX,s.left,s.right),i.controlPointPreviousY=u(i.controlPointPreviousY,s.top,s.bottom)),t<l.length-1&&tk(l[t+1]._model,s)&&(i.controlPointNextX=u(i.controlPointNextX,s.left,s.right),i.controlPointNextY=u(i.controlPointNextY,s.top,s.bottom)))},draw:function(){var t,e=this.chart,i=this.getMeta(),n=i.data||[],r=e.chartArea,a=e.canvas,o=0,s=n.length;for(this._showLine&&(t=i.dataset._model.clip,W.canvas.clipArea(e.ctx,{left:!1===t.left?0:r.left-t.left,right:!1===t.right?a.width:r.right+t.right,top:!1===t.top?0:r.top-t.top,bottom:!1===t.bottom?a.height:r.bottom+t.bottom}),i.dataset.draw(),W.canvas.unclipArea(e.ctx));o<s;++o)n[o].draw(r)},setHoverStyle:function(t){var e=t._model,i=t._options,n=W.getHoverColor;t.$previousStyle={backgroundColor:e.backgroundColor,borderColor:e.borderColor,borderWidth:e.borderWidth,radius:e.radius}
vendor: 4,485 bytes, line 6
6,e.backgroundColor=t8(i.hoverBackgroundColor,n(i.backgroundColor)),e.borderColor=t8(i.hoverBorderColor,n(i.borderColor)),e.borderWidth=t8(i.hoverBorderWidth,i.borderWidth),e.radius=t8(i.hoverRadius,i.radius)}}),tS=W.options.resolve;I._set("polarArea",{scale:{type:"radialLinear",angleLines:{display:!1},gridLines:{circular:!0},pointLabels:{display:!1},ticks:{beginAtZero:!0}},animation:{animateRotate:!0,animateScale:!0},startAngle:-.5*Math.PI,legendCallback:function(t){var e,i,n,r=document.createElement("ul"),a=t.data,o=a.datasets,s=a.labels;if(r.setAttribute("class",t.id+"-legend"),o.length)for(e=0,i=o[0].data.length;e<i;++e)(n=r.appendChild(document.createElement("li"))).appendChild(document.createElement("span")).style.backgroundColor=o[0].backgroundColor[e],s[e]&&n.appendChild(document.createTextNode(s[e]));return r.outerHTML},legend:{labels:{generateLabels:function(t){var e=t.data;return e.labels.length&&e.datasets.length?e.labels.map(function(i,n){var r=t.getDatasetMeta(0),a=r.controller.getStyle(n);return{text:i,fillStyle:a.backgroundColor,strokeStyle:a.borderColor,lineWidth:a.borderWidth,hidden:isNaN(e.datasets[0].data[n])||r.data[n].hidden,index:n}}):[]}},onClick:function(t,e){var i,n,r,a=e.index,o=this.chart;for(i=0,n=(o.data.datasets||[]).length;i<n;++i)(r=o.getDatasetMeta(i)).data[a].hidden=!r.data[a].hidden;o.update()}},tooltips:{callbacks:{title:function(){return""},label:function(t,e){return e.labels[t.index]+": "+t.yLabel}}}});var tD=G.extend({dataElementType:td.Arc,linkScales:W.noop,_dataElementOptions:["backgroundColor","borderColor","borderWidth","borderAlign","hoverBackgroundColor","hoverBorderColor","hoverBorderWidth"],_getIndexScaleId:function(){return this.chart.scale.id},_getValueScaleId:function(){return this.chart.scale.id},update:function(t){var e,i,n,r=this,a=r.getDataset(),o=r.getMeta(),s=r.chart.options.startAngle||0,l=r._starts=[],u=r._angles=[],d=o.data;for(r._updateRadius(),o.count=r.countVisibleElements(),e=0,i=a.data.length;e<i;e++)l[e]=s,n=r._computeAngle(e),u[e]=n,s+=n;for(e=0,i=d.length;e<i;++e)d[e]._options=r._resolveDataElementOptions(d[e],e),r.updateElement(d[e],e,t)},_updateRadius:function(){var t=this,e=t.chart,i=e.chartArea,n=e.options,r=Math.min(i.right-i.left,i.bottom-i.top);e.outerRadius=Math.max(r/2,0),e.innerRadius=Math.max(n.cutoutPercentage?e.outerRadius/100*n.cutoutPercentage:1,0),e.radiusLength=(e.outerRadius-e.innerRadius)/e.getVisibleDatasetCount(),t.outerRadius=e.outerRadius-e.radiusLength*t.index,t.innerRadius=t.outerRadius-e.radiusLength},updateElement:function(t,e,i){var n=this.chart,r=this.getDataset(),a=n.options,o=a.animation,s=n.scale,l=n.data.labels,u=s.xCenter,d=s.yCenter,h=a.startAngle,c=t.hidden?0:s.getDistanceFromCenterForValue(r.data[e]),f=this._starts[e],g=f+(t.hidden?0:this._angles[e]),$=o.animateScale?0:s.getDistanceFromCenterForValue(r.data[e]),m=t._options||{};W.extend(t,{_datasetIndex:this.index,_index:e,_scale:s,_model:{backgroundColor:m.backgroundColor,borderColor:m.borderColor,borderWidth:m.borderWidth,borderAlign:m.borderAlign,x:u,y:d,innerRadius:0,outerRadius:i?$:c,startAngle:i&&o.animateRotate?h:f,endAngle:i&&o.animateRotate?h:g,label:W.valueAtIndexOrDefault(l,e,l[e])}}),t.pivot()},countVisibleElements:function(){var t=this.getDataset(),e=this.getMeta(),i=0;return W.each(e.data,function(e,n){isNaN(t.data[n])||e.hidden||i++}),i},setHoverStyle:function(t){var e=t._model,i=t._options,n=W.getHoverColor,r=W.valueOrDefault;t.$previousStyle={backgroundColor:e.backgroundColor,borderColor:e.borderColor,borderWidth:e.borderWidth},e.backgroundColor=r(i.hoverBackgroundColor,n(i.backgroundColor)),e.borderColor=r(i.hoverBorderColor,n(i.borderColor)),e.borderWidth=r(i.hoverBorderWidth,i.borderWidth)},_computeAngle:function(t){var e=this.getMeta().count,i=this.getDataset(),n=this.getMeta();if(isNaN(i.data[t])||n.data[t].hidden)return 0;var r={chart:this.chart,dataIndex:t,dataset:i,datasetIndex:this.index};return tS([this.chart.options.elements.arc.angle,2*Math.PI/e],r,t)}});I._set("pie",W.clone(I.doughnut)),I._set("pie",{cutoutPercentage:0});var tC=W.valueOrDefault;I._set("radar",{spanGaps:!1,scale:{type:"radialLinear"},elements:{line:{fill:"start",tension:0}}});var tP=G.extend({datasetElementType:td.Line,dataElementType:td.Point,linkScales:W.noop,_datasetElementOptions:["backgroundColor","borderWidth","borderColor","borderCapStyle","borderDash","borderDashOffset","borderJoinStyle","fill"],_dataElementOptions:{backgroundColor:"pointBackgroun
6dColor",borderColor:"pointBorderColor",borderWidth:"pointBorderWidth",hitRadius:"pointHitRadius",hoverBackgroundColor:"pointHoverBackgroundColor",hoverBorderColor:"pointHoverBorderColor",hoverBorderWidth:"pointHoverBorderWidth",hoverRadius:"pointHoverRadius",pointStyle:"pointStyle",radius:"pointRadius",rotation:"pointRotation"},_getIndexScaleId:function(){return this.chart.scale.id},_getValueScaleId:function(){return this.chart.scale.id},update:function(t){var e,i,n=this.getMeta(),r=n.dataset,a=n.data||[],o=this.chart.scale,s=this._config;for(void 0!==s.tension&&void 0===s.lineTension&&(s.lineTension=s.tension),r._scale=o,r._datasetIndex=this.index,r._children=a,r._loop=!0,r._model=this._resolveDatasetElementOptions(r),r.pivot(),e=0,i=a.length;e<i;++e)this.updateElement(a[e],e,t);for(this.updateBezierControlPoints(),e=0,i=a.length;e<i;++e)a[e].pivot()},updateElement:function(t,e,i){var n=t.custom||{},r=this.getDataset(),a=this.chart.scale,o=a.getPointPositionForValue(e,r.data[e]),s=this._resolveDataElementOptions(t,e),l=this.getMeta().dataset._model,u=i?a.xCenter:o.x,d=i?a.yCenter:o.y;t._scale=a,t._options=s,t._datasetIndex=this.index,t._index=e,t._model={x:u,y:d,skip:n.skip||isNaN(u)||isNaN(d),radius:s.radius,pointStyle:s.pointStyle,rotation:s.rotation,backgroundColor:s.backgroundColor,borderColor:s.borderColor,borderWidth:s.borderWidth,tension:tC(n.tension,l?l.tension:0),hitRadius:s.hitRadius}},_resolveDatasetElementOptions:function(){var t=this._config,e=this.chart.options,i=G.prototype._resolveDatasetElementOptions.apply(this,arguments);return i.spanGaps=tC(t.spanGaps,e.spanGaps),i.tension=tC(t.lineTension,e.elements.line.tension),i},updateBezierControlPoints:function(){var t,e,i,n,r=this.getMeta(),a=this.chart.chartArea,o=r.data||[];function s(t,e,i){return Math.max(Math.min(t,i),e)}for(r.dataset._model.spanGaps&&(o=o.filter(function(t){return!t._model.skip})),t=0,e=o.length;t<e;++t)i=o[t]._model,n=W.splineCurve(W.previousItem(o,t,!0)._model,i,W.nextItem(o,t,!0)._model,i.tension),i.controlPointPreviousX=s(n.previous.x,a.left,a.right),i.controlPointPreviousY=s(n.previous.y,a.top,a.bottom),i.controlPointNextX=s(n.next.x,a.left,a.right),i.controlPointNextY=s(n.next.y,a.top,a.bottom)},setHoverStyle:function(t){var e=t._model,i=t._options,n=W.getHoverColor;t.$previousStyle={backgroundColor:e.backgroundColor,borderColor:e.borderColor,borderWidth:e.borderWidth,radius:e.radius},e.backgroundColor=tC(i.hoverBackgroundColor,n(i.backgroundColor)),e.borderColor=tC(i.hoverBorderColor,n(i.borderColor)),e.borderWidth=tC(i.hoverBorderWidth,i.borderWidth),e.radius=tC(i.hoverRadius,i.radius)}});I._set("scatter",{hover:{mode:"single"},scales:{xAxes:[{id:"x-axis-1",type:"linear",position:"bottom"}],yAxes:[{id:"y-axis-1",type:"linear",position:"left"}]},tooltips:{callbacks:{title:function(){return""},label:function(t){return"("+t.xLabel+", "+t.yLabel+")"}}}}),I._set("global",{datasets:{scatter:{showLine:!1}}});var tT={bar:tf,bubble:tm,doughnut:tb,horizontalBar:tx,line:t3,polarArea:tD,pie:tb,radar:tP,scatter:t3};function tA(t,e){return t.native?{x:t.x,y:t.y}:W.getRelativePosition(t,e)}function tO(t,e){var i,n,r,a,o,s,l=t._getSortedVisibleDatasetMetas();for(n=0,a=l.length;n<a;++n)for(r=0,o=(i=l[n].data).length;r<o;++r)(s=i[r])._view.skip||e(s)}function tM(t,e){var i=[];return tO(t,function(t){t.inRange(e.x,e.y)&&i.push(t)}),i}function t1(t,e,i,n){var r=Number.POSITIVE_INFINITY,a=[];return tO(t,function(t){if(!i||t.inRange(e.x,e.y)){var o=n(e,t.getCenterPoint());o<r?(a=[t],r=o):o===r&&a.push(t)}}),a}function tF(t){var e=-1!==t.indexOf("x"),i=-1!==t.indexOf("y");return function(t,n){var r;return Math.sqrt(Math.pow(e?Math.abs(t.x-n.x):0,2)+Math.pow(i?Math.abs(t.y-n.y):0,2))}}function tI(t,e,i){var n=tA(e,t);i.axis=i.axis||"x";var r=tF(i.axis),a=i.intersect?tM(t,n):t1(t,n,!1,r),o=[];return a.length?(t._getSortedVisibleDatasetMetas().forEach(function(t){var e=t.data[a[0]._index];e&&!e._view.skip&&o.push(e)}),o):[]}var tL={modes:{single:function(t,e){var i=tA(e,t),n=[];return tO(t,function(t){if(t.inRange(i.x,i.y))return n.push(t),n}),n.slice(0,1)}
vendor: 4,794 bytes, line 6
6,label:tI,index:tI,dataset:function(t,e,i){var n=tA(e,t);i.axis=i.axis||"xy";var r=tF(i.axis),a=i.intersect?tM(t,n):t1(t,n,!1,r);return a.length>0&&(a=t.getDatasetMeta(a[0]._datasetIndex).data),a},"x-axis":function(t,e){return tI(t,e,{intersect:!1})},point:function(t,e){return tM(t,tA(e,t))},nearest:function(t,e,i){var n=tA(e,t);i.axis=i.axis||"xy";var r=tF(i.axis);return t1(t,n,i.intersect,r)},x:function(t,e,i){var n=tA(e,t),r=[],a=!1;return tO(t,function(t){t.inXRange(n.x)&&r.push(t),t.inRange(n.x,n.y)&&(a=!0)}),i.intersect&&!a&&(r=[]),r},y:function(t,e,i){var n=tA(e,t),r=[],a=!1;return tO(t,function(t){t.inYRange(n.y)&&r.push(t),t.inRange(n.x,n.y)&&(a=!0)}),i.intersect&&!a&&(r=[]),r}}},t4=W.extend;function tR(t,e){return W.where(t,function(t){return t.pos===e})}function t2(t,e){return t.sort(function(t,i){var n=e?i:t,r=e?t:i;return n.weight===r.weight?n.index-r.index:n.weight-r.weight})}function tW(t,e,i,n){return Math.max(t[i],e[i])+Math.max(t[n],e[n])}function tY(t,e,i){var n,r,a=i.box,o=t.maxPadding;if(i.size&&(t[i.pos]-=i.size),i.size=i.horizontal?a.height:a.width,t[i.pos]+=i.size,a.getPadding){var s=a.getPadding();o.top=Math.max(o.top,s.top),o.left=Math.max(o.left,s.left),o.bottom=Math.max(o.bottom,s.bottom),o.right=Math.max(o.right,s.right)}if(n=e.outerWidth-tW(o,t,"left","right"),r=e.outerHeight-tW(o,t,"top","bottom"),n!==t.w||r!==t.h){t.w=n,t.h=r;var l=i.horizontal?[n,t.w]:[r,t.h];return!(l[0]===l[1]||isNaN(l[0])&&isNaN(l[1]))}}function tz(t,e){var i,n,r=e.maxPadding;return n={left:0,top:0,right:0,bottom:0},(i=t?["left","right"]:["top","bottom"]).forEach(function(t){n[t]=Math.max(e[t],r[t])}),n}function tV(t,e,i){var n,r,a,o,s,l,u=[];for(n=0,r=t.length;n<r;++n)(o=(a=t[n]).box).update(a.width||e.w,a.height||e.h,tz(a.horizontal,e)),tY(e,i,a)&&(l=!0,u.length&&(s=!0)),o.fullWidth||u.push(a);return s&&tV(u,e,i)||l}function t6(t,e,i){var n,r,a,o,s=i.padding,l=e.x,u=e.y;for(n=0,r=t.length;n<r;++n)o=(a=t[n]).box,a.horizontal?(o.left=o.fullWidth?s.left:e.left,o.right=o.fullWidth?i.outerWidth-s.right:e.left+e.w,o.top=u,o.bottom=u+o.height,o.width=o.right-o.left,u=o.bottom):(o.left=l,o.right=l+o.width,o.top=e.top,o.bottom=e.top+e.h,o.height=o.bottom-o.top,l=o.right);e.x=l,e.y=u}I._set("global",{layout:{padding:{top:0,right:0,bottom:0,left:0}}});var tE,tH={defaults:{},addBox:function(t,e){t.boxes||(t.boxes=[]),e.fullWidth=e.fullWidth||!1,e.position=e.position||"top",e.weight=e.weight||0,e._layers=e._layers||function(){return[{z:0,draw:function(){e.draw.apply(e,arguments)}},]},t.boxes.push(e)},removeBox:function(t,e){var i=t.boxes?t.boxes.indexOf(e):-1;-1!==i&&t.boxes.splice(i,1)},configure:function(t,e,i){for(var n,r=["fullWidth","position","weight"],a=r.length,o=0;o<a;++o)n=r[o],i.hasOwnProperty(n)&&(e[n]=i[n])},update:function(t,e,i){if(t){var n,r,a,o,s,l,u=t.options.layout||{},d=W.options.toPadding(u.padding),h=e-d.width,c=i-d.height,f=(r=function(t){var e,i,n,r=[];for(e=0,i=(t||[]).length;e<i;++e)n=t[e],r.push({index:e,box:n,pos:n.position,horizontal:n.isHorizontal(),weight:n.weight});return r}(n=t.boxes),a=t2(tR(r,"left"),!0),o=t2(tR(r,"right")),s=t2(tR(r,"top"),!0),l=t2(tR(r,"bottom")),{leftAndTop:a.concat(s),rightAndBottom:o.concat(l),chartArea:tR(r,"chartArea"),vertical:a.concat(o),horizontal:s.concat(l)}),g=f.vertical,$=f.horizontal,m=Object.freeze({outerWidth:e,outerHeight:i,padding:d,availableWidth:h,vBoxMaxWidth:h/2/g.length,hBoxMaxHeight:c/2}),p=t4({maxPadding:t4({},d),w:h,h:c,x:d.left,y:d.top},d);!function(t,e){var i,n,r;for(i=0,n=t.length;i<n;++i)(r=t[i]).width=r.horizontal?r.box.fullWidth&&e.availableWidth:e.vBoxMaxWidth,r.height=r.horizontal&&e.hBoxMaxHeight}(g.concat($),m),tV(g,p,m),tV($,p,m)&&tV(g,p,m),function(t){var e=t.maxPadding;function i(i){var n=Math.max(e[i]-t[i],0);return t[i]+=n,n}t.y+=i("top"),t.x+=i("left"),i("right"),i("bottom")}(p),t6(f.leftAndTop,p,m),p.x+=p.w,p.y+=p.h,t6(f.rightAndBottom,p,m),t.chartArea={left:p.left,top:p.top,right:p.left+p.w,bottom:p.top+p.h},W.each(f.chartArea,function(e){var i=e.box;t4(i,t.chartArea),i.update(p.w,p.h)})}}},tB=(tE=Object.freeze({__proto__:null,default:"@keyframes chartjs-render-animation{from{opacity:.99}to{opacity:1}}.chartjs-render-monitor{animation:chartjs-render-animation 1ms}.chartjs-size-monitor,.chartjs-size-monitor-expand,.chartjs-size-monitor-shrink{position:absolute;direction:ltr;left:0;top:0;right:0;bottom:0;overflow:hidden;pointer-events:none;visibility:hidden;z-index:-1}.chartjs-size-monitor-expand>div{position:absolute;width:1000000px;height:1000000px;left:0;top:0}.chartjs-size-monitor-shrink>div{position:absolute;width:200%;height:200%;left:0;top:0}"}))&&tE.default||tE,t5="$chartjs",t7="chartjs-size-monitor",tU="chartjs-render-monitor",tN=["animationstart","webkitAnimationStart"],tj={touchstart:"mousedown",touchmove:"mou
6semove",touchend:"mouseup",pointerenter:"mouseenter",pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointerleave:"mouseout",pointerout:"mouseout"};function tG(t,e){var i=W.getStyle(t,e),n=i&&i.match(/^(\d+)(\.\d+)?px$/);return n?Number(n[1]):void 0}var tq=!!function(){var t=!1;try{var e=Object.defineProperty({},"passive",{get:function(){t=!0}});window.addEventListener("e",null,e)}catch(i){}return t}()&&{passive:!0};function tZ(t,e,i){t.addEventListener(e,i,tq)}function t9(t,e,i){t.removeEventListener(e,i,tq)}function tX(t,e,i,n,r){return{type:t,chart:e,native:r||null,x:void 0!==i?i:null,y:void 0!==n?n:null}}function tK(t){var e=document.createElement("div");return e.className=t||"",e}var tJ={disableCSSInjection:!1,_enabled:"undefined"!=typeof window&&"undefined"!=typeof document,_ensureLoaded:function(t){if(!this.disableCSSInjection){var e=t.getRootNode?t.getRootNode():document;!function(t,e){var i=t[t5]||(t[t5]={});if(!i.containsStyles){i.containsStyles=!0,e="/* Chart.js */\n"+e;var n=document.createElement("style");n.setAttribute("type","text/css"),n.appendChild(document.createTextNode(e)),t.appendChild(n)}}(e.host?e:document.head,tB)}},acquireContext:function(t,e){"string"==typeof t?t=document.getElementById(t):t.length&&(t=t[0]),t&&t.canvas&&(t=t.canvas);var i=t&&t.getContext&&t.getContext("2d");return i&&i.canvas===t?(this._ensureLoaded(t),function(t,e){t.style;var i=t.getAttribute("height"),n=t.getAttribute("width");if(t[t5]={initial:{height:i,width:n}},null===n||""===n){var r=tG(t,"width");void 0!==r&&(t.width=r)}if(null===i||""===i){if(""===t.style.height)t.height=t.width/(e.options.aspectRatio||2);else{var a=tG(t,"height");void 0!==r&&(t.height=a)}}}(t,e),i):null},releaseContext:function(t){var e=t.canvas;if(e[t5]){var i=e[t5].initial;["height","width"].forEach(function(t){var n=i[t];W.isNullOrUndef(n)?e.removeAttribute(t):e.setAttribute(t,n)}),W.each(i.style||{},function(t,i){e.style[i]=t}),e.width=e.width,delete e[t5]}},addEventListener:function(t,e,i){var n,r,a,o,s,l,u,d,h,c,f,g,$,m,p,v,_,y,b=t.canvas;if("resize"!==e){var x=i[t5]||(i[t5]={});tZ(b,e,(x.proxies||(x.proxies={}))[t.id+"_"+e]=function(e){var n,r,a,o;i((n=e,r=t,a=tj[n.type]||n.type,o=W.getRelativePosition(n,r),tX(a,r,o.x,o.y,n)))})}else n=b,r=i,a=t,m=($=n[t5]||(n[t5]={})).resizer=(o=(h=function(){if($.resizer){var t=a.options.maintainAspectRatio&&n.parentNode,e=t?t.clientWidth:0;r(tX("resize",a)),t&&t.clientWidth<e&&a.canvas&&r(tX("resize",a))}},f=!1,g=[],function(){g=Array.prototype.slice.call(arguments),c=c||this,f||(f=!0,W.requestAnimFrame.call(window,function(){f=!1,h.apply(c,g)}))}),s=tK(t7),l=tK(t7+"-expand"),u=tK(t7+"-shrink"),l.appendChild(tK()),u.appendChild(tK()),s.appendChild(l),s.appendChild(u),s._reset=function(){l.scrollLeft=1e6,l.scrollTop=1e6,u.scrollLeft=1e6,u.scrollTop=1e6},tZ(l,"scroll",(d=function(){s._reset(),o()}).bind(l,"expand")),tZ(u,"scroll",d.bind(u,"shrink")),s),p=n,v=function(){if($.resizer){var t=n.parentNode;t&&t!==m.parentNode&&t.insertBefore(m,t.firstChild),m._reset()}},y=(_=p[t5]||(p[t5]={})).renderProxy=function(t){"chartjs-render-animation"===t.animationName&&v()},W.each(tN,function(t){tZ(p,t,y)}),_.reflow=!!p.offsetParent,p.classList.add(tU)},removeEventListener:function(t,e,i){var n,r,a,o,s,l,u=t.canvas;if("resize"!==e){var d=((i[t5]||{}).proxies||{})[t.id+"_"+e];d&&t9(u,e,d)}else a=(r=(n=u)[t5]||{}).resizer,delete r.resizer,(l=(s=(o=n)[t5]||{}).renderProxy)&&(W.each(tN,function(t){t9(o,t,l)}),delete s.renderProxy),o.classList.remove(tU),a&&a.parentNode&&a.parentNode.removeChild(a)}};W.addEvent=tZ,W.removeEvent=t9;var tQ=tJ._enabled?tJ:{acquireContext:function(t){return t&&t.canvas&&(t=t.canvas),t&&t.getContext("2d")||null}},et=W.extend({initialize:function(){},acquireContext:function(){},releaseContext:function(){},addEventListener:function(){},removeEventListener:function(){}},tQ);I._set("global",{plugins:{}});var ee={_plugins:[],_cacheId:0,register:function(t){var e=this._plugins;[].concat(t).forEach(function(t){-1===e.indexOf(t)&&e.push(t)}),this._cacheId++},unregister:function(t){var e=this._plugins;[].concat(t).forEach(function(t){var i=e.indexOf(t);-1!==i&&e.splice(i,1)}),this._cacheId++},clear:function(){this._plugins=[],this._cacheId++},count:function(){return this._plugins.length},getAll:function(){return this._plugins}
vendor: 5,714 bytes, line 6
6,notify:function(t,e,i){var n,r,a,o,s,l=this.descriptors(t),u=l.length;for(n=0;n<u;++n)if("function"==typeof(s=(a=(r=l[n]).plugin)[e])&&((o=[t].concat(i||[])).push(r.options),!1===s.apply(a,o)))return!1;return!0},descriptors:function(t){var e=t.$plugins||(t.$plugins={});if(e.id===this._cacheId)return e.descriptors;var i=[],n=[],r=t&&t.config||{},a=r.options&&r.options.plugins||{};return this._plugins.concat(r.plugins||[]).forEach(function(t){if(-1===i.indexOf(t)){var e=t.id,r=a[e];!1!==r&&(!0===r&&(r=W.clone(I.global.plugins[e])),i.push(t),n.push({plugin:t,options:r||{}}))}}),e.descriptors=n,e.id=this._cacheId,n},_invalidate:function(t){delete t.$plugins}},ei={constructors:{},defaults:{},registerScaleType:function(t,e,i){this.constructors[t]=e,this.defaults[t]=W.clone(i)},getScaleConstructor:function(t){return this.constructors.hasOwnProperty(t)?this.constructors[t]:void 0},getScaleDefaults:function(t){return this.defaults.hasOwnProperty(t)?W.merge(Object.create(null),[I.scale,this.defaults[t]]):{}},updateScaleDefaults:function(t,e){this.defaults.hasOwnProperty(t)&&(this.defaults[t]=W.extend(this.defaults[t],e))},addScalesToLayout:function(t){W.each(t.scales,function(e){e.fullWidth=e.options.fullWidth,e.position=e.options.position,e.weight=e.options.weight,tH.addBox(t,e)})}},en=W.valueOrDefault,er=W.rtl.getRtlAdapter;I._set("global",{tooltips:{enabled:!0,custom:null,mode:"nearest",position:"average",intersect:!0,backgroundColor:"rgba(0,0,0,0.8)",titleFontStyle:"bold",titleSpacing:2,titleMarginBottom:6,titleFontColor:"#fff",titleAlign:"left",bodySpacing:2,bodyFontColor:"#fff",bodyAlign:"left",footerFontStyle:"bold",footerSpacing:2,footerMarginTop:6,footerFontColor:"#fff",footerAlign:"left",yPadding:6,xPadding:6,caretPadding:2,caretSize:5,cornerRadius:6,multiKeyBackground:"#fff",displayColors:!0,borderColor:"rgba(0,0,0,0)",borderWidth:0,callbacks:{beforeTitle:W.noop,title:function(t,e){var i="",n=e.labels,r=n?n.length:0;if(t.length>0){var a=t[0];a.label?i=a.label:a.xLabel?i=a.xLabel:r>0&&a.index<r&&(i=n[a.index])}return i},afterTitle:W.noop,beforeBody:W.noop,beforeLabel:W.noop,label:function(t,e){var i=e.datasets[t.datasetIndex].label||"";return i&&(i+=": "),W.isNullOrUndef(t.value)?i+=t.yLabel:i+=t.value,i},labelColor:function(t,e){var i=e.getDatasetMeta(t.datasetIndex).data[t.index]._view;return{borderColor:i.borderColor,backgroundColor:i.backgroundColor}},labelTextColor:function(){return this._options.bodyFontColor},afterLabel:W.noop,afterBody:W.noop,beforeFooter:W.noop,footer:W.noop,afterFooter:W.noop}}});var ea={average:function(t){if(!t.length)return!1;var e,i,n=0,r=0,a=0;for(e=0,i=t.length;e<i;++e){var o=t[e];if(o&&o.hasValue()){var s=o.tooltipPosition();n+=s.x,r+=s.y,++a}}return{x:n/a,y:r/a}},nearest:function(t,e){var i,n,r,a=e.x,o=e.y,s=Number.POSITIVE_INFINITY;for(i=0,n=t.length;i<n;++i){var l=t[i];if(l&&l.hasValue()){var u=l.getCenterPoint(),d=W.distanceBetweenPoints(e,u);d<s&&(s=d,r=l)}}if(r){var h=r.tooltipPosition();a=h.x,o=h.y}return{x:a,y:o}}};function eo(t,e){return e&&(W.isArray(e)?Array.prototype.push.apply(t,e):t.push(e)),t}function es(t){return("string"==typeof t||t instanceof String)&&t.indexOf("\n")>-1?t.split("\n"):t}function el(t){var e=I.global;return{xPadding:t.xPadding,yPadding:t.yPadding,xAlign:t.xAlign,yAlign:t.yAlign,rtl:t.rtl,textDirection:t.textDirection,bodyFontColor:t.bodyFontColor,_bodyFontFamily:en(t.bodyFontFamily,e.defaultFontFamily),_bodyFontStyle:en(t.bodyFontStyle,e.defaultFontStyle),_bodyAlign:t.bodyAlign,bodyFontSize:en(t.bodyFontSize,e.defaultFontSize),bodySpacing:t.bodySpacing,titleFontColor:t.titleFontColor,_titleFontFamily:en(t.titleFontFamily,e.defaultFontFamily),_titleFontStyle:en(t.titleFontStyle,e.defaultFontStyle),titleFontSize:en(t.titleFontSize,e.defaultFontSize),_titleAlign:t.titleAlign,titleSpacing:t.titleSpacing,titleMarginBottom:t.titleMarginBottom,footerFontColor:t.footerFontColor,_footerFontFamily:en(t.footerFontFamily,e.defaultFontFamily),_footerFontStyle:en(t.footerFontStyle,e.defaultFontStyle),footerFontSize:en(t.footerFontSize,e.defaultFontSize),_footerAlign:t.footerAlign,footerSpacing:t.footerSpacing,footerMarginTop:t.footerMarginTop,caretSize:t.caretSize,cornerRadius:t.cornerRadius,backgroundColor:t.backgroundColor,opacity:0,legendColorBackground:t.multiKeyBackground,displayColors:t.displayColors,borderColor:t.borderColor,borderWidth:t.borderWidth}}function eu(t,e){return"center"===e?t.x+t.width/2:"right"===e?t.x+t.width-t.xPadding:t.x+t.xPadding}function ed(t){return eo([],es(t))}var eh=z.extend({initialize:function(){this._model=el(this._options),this._lastActive=[]},getTitle:function(){var t=this._options.callbacks,e=t.beforeTitle.apply(this,arguments),i=t.title.apply(this,arguments),n=t.afterTitle.apply(this,arguments),r=[];return r=eo(r,es(e)),r=eo(r,es(i)),r=eo(r,es(n))},getBeforeBody:function(){return ed(this._options.callbacks.beforeBody.apply(this,arguments))},getBody:function(t,e){var i=this,n=i._options.callbacks,r=[];return W.each(t,function(t){var a={before:[],lines:[],after:[]};eo(a.before,es(n.beforeLabel.call(i,t,e))),eo(a.lines,n.label.call(i,t,e)),eo(a.after,es(n.afterLabel.call(i,t,e))),r.push(a)}),r},getAfterBody:function(){return ed(this._options.callbacks.afterBody.apply(this,arguments))},getFooter:function(){var t=this._options.callbacks,e=t.beforeFooter.apply(this,arguments),i=t.footer.apply(this,arguments),n=t.afterFooter.apply(this,arguments),r=[];return r=eo(r,es(e)),r=eo(r,es(i)),r=eo(r,es(n))},update:function(t){var e,i,n,r,a,o,s,l,u,d,h=this,c=h._options,f=h._model,g=h._model=el(c),$=h._active,m=h._data,p={xAlign:f.xAlign,yAlign:f.yAlign},v={x:f.x,y:f.y},_={width:f.width,height:f.height},y={x:f.caretX,y:f.caretY};
6if($.length){g.opacity=1;var b,x,k,w,S,D,C,P,T,A,O,M,F,I,L,R,Y,z,V,E,H,B,U,N,j,G,q,Z,X,K,J,Q,tt,te,ti,tn,tr,ta,to,ts,tl,tu,td=[],th=[];y=ea[c.position].call(h,$,h._eventPosition);var tc=[];for(e=0,i=$.length;e<i;++e)tc.push((n=$[e],r=void 0,a=void 0,o=void 0,s=void 0,l=void 0,u=void 0,d=void 0,r=n._xScale,a=n._yScale||n._scale,o=n._index,s=n._datasetIndex,u=(l=n._chart.getDatasetMeta(s).controller)._getIndexScale(),d=l._getValueScale(),{xLabel:r?r.getLabelForIndex(o,s):"",yLabel:a?a.getLabelForIndex(o,s):"",label:u?""+u.getLabelForIndex(o,s):"",value:d?""+d.getLabelForIndex(o,s):"",index:o,datasetIndex:s,x:n._model.x,y:n._model.y}));c.filter&&(tc=tc.filter(function(t){return c.filter(t,m)})),c.itemSort&&(tc=tc.sort(function(t,e){return c.itemSort(t,e,m)})),W.each(tc,function(t){td.push(c.callbacks.labelColor.call(h,t,h._chart)),th.push(c.callbacks.labelTextColor.call(h,t,h._chart))}),g.title=h.getTitle(tc,m),g.beforeBody=h.getBeforeBody(tc,m),g.body=h.getBody(tc,m),g.afterBody=h.getAfterBody(tc,m),g.footer=h.getFooter(tc,m),g.x=y.x,g.y=y.y,g.caretPadding=c.caretPadding,g.labelColors=td,g.labelTextColors=th,g.dataPoints=tc,_=(b=this,x=g,k=b._chart.ctx,w=2*x.yPadding,S=0,C=(D=x.body).reduce(function(t,e){return t+e.before.length+e.lines.length+e.after.length},0),C+=x.beforeBody.length+x.afterBody.length,P=x.title.length,T=x.footer.length,A=x.titleFontSize,O=x.bodyFontSize,M=x.footerFontSize,w+=P*A,w+=P?(P-1)*x.titleSpacing:0,w+=P?x.titleMarginBottom:0,w+=C*O,w+=C?(C-1)*x.bodySpacing:0,w+=T?x.footerMarginTop:0,w+=T*M,w+=T?(T-1)*x.footerSpacing:0,F=0,I=function(t){S=Math.max(S,k.measureText(t).width+F)},k.font=W.fontString(A,x._titleFontStyle,x._titleFontFamily),W.each(x.title,I),k.font=W.fontString(O,x._bodyFontStyle,x._bodyFontFamily),W.each(x.beforeBody.concat(x.afterBody),I),F=x.displayColors?O+2:0,W.each(D,function(t){W.each(t.before,I),W.each(t.lines,I),W.each(t.after,I)}),F=0,k.font=W.fontString(M,x._footerFontStyle,x._footerFontFamily),W.each(x.footer,I),{width:S+=2*x.xPadding,height:w}),v=(K=g,J=_,Q=p=(L=this,R=_,B=L._model,U=L._chart,N=L._chart.chartArea,j="center",G="center",B.y<R.height?G="top":B.y>U.height-R.height&&(G="bottom"),q=(N.left+N.right)/2,Z=(N.top+N.bottom)/2,"center"===G?(Y=function(t){return t<=q},z=function(t){return t>q}):(Y=function(t){return t<=R.width/2},z=function(t){return t>=U.width-R.width/2}),V=function(t){return t+R.width+B.caretSize+B.caretPadding>U.width},E=function(t){return t-R.width-B.caretSize-B.caretPadding<0},H=function(t){return t<=Z?"top":"bottom"},Y(B.x)?(j="left",V(B.x)&&(j="center",G=H(B.y))):z(B.x)&&(j="right",E(B.x)&&(j="center",G=H(B.y))),{xAlign:(X=L._options).xAlign?X.xAlign:j,yAlign:X.yAlign?X.yAlign:G}),tt=h._chart,te=K.x,ti=K.y,tn=K.caretSize,tr=K.caretPadding,ta=K.cornerRadius,to=Q.xAlign,ts=Q.yAlign,tl=tn+tr,tu=ta+tr,"right"===to?te-=J.width:"center"===to&&((te-=J.width/2)+J.width>tt.width&&(te=tt.width-J.width),te<0&&(te=0)),"top"===ts?ti+=tl:ti-="bottom"===ts?J.height+tl:J.height/2,"center"===ts?"left"===to?te+=tl:"right"===to&&(te-=tl):"left"===to?te-=tu:"right"===to&&(te+=tu),{x:te,y:ti})}else g.opacity=0;return g.xAlign=p.xAlign,g.yAlign=p.yAlign,g.x=v.x,g.y=v.y,g.width=_.width,g.height=_.height,g.caretX=y.x,g.caretY=y.y,h._model=g,t&&c.custom&&c.custom.call(h,g),h},drawCaret:function(t,e){var i=this._chart.ctx,n=this._view,r=this.getCaretPosition(t,e,n);i.lineTo(r.x1,r.y1),i.lineTo(r.x2,r.y2),i.lineTo(r.x3,r.y3)},getCaretPosition:function(t,e,i){var n,r,a,o,s,l,u=i.caretSize,d=i.cornerRadius,h=i.xAlign,c=i.yAlign,f=t.x,g=t.y,$=e.width,m=e.height;if("center"===c)s=g+m/2,"left"===h?(r=(n=f)-u,a=n,o=s+u,l=s-u):(r=(n=f+$)+u,a=n,o=s-u,l=s+u);else if("left"===h?(n=(r=f+d+u)-u,a=r+u):"right"===h?(n=(r=f+$-d-u)-u,a=r+u):(n=(r=i.caretX)-u,a=r+u),"top"===c)s=(o=g)-u,l=o;else{s=(o=g+m)+u,l=o;var p=a;a=n,n=p}return{x1:n,x2:r,x3:a,y1:o,y2:s,y3:l}},drawTitle:function(t,e,i){var n,r,a,o=e.title,s=o.length;if(s){var l=er(e.rtl,e.x,e.width);for(t.x=eu(e,e._titleAlign),i.textAlign=l.textAlign(e._titleAlign),i.textBaseline="middle",n=e.titleFontSize,r=e.titleSpacing,i.fillStyle=e.titleFontColor,i.font=W.fontString(n,e._titleFontStyle,e._titleFontFamily),a=0;a<s;++a)i.fillText(o[a],l.x(t.x),t.y+n/2),t.y+=n+r,a+1===s&&(t.y+=e.titleMarginBottom-r)}}
vendor: 9,103 bytes, line 6
6,drawBody:function(t,e,i){var n,r,a,o,s,l,u,d,h=e.bodyFontSize,c=e.bodySpacing,f=e._bodyAlign,g=e.body,$=e.displayColors,m=0,p=$?eu(e,"left"):0,v=er(e.rtl,e.x,e.width),_=function(e){i.fillText(e,v.x(t.x+m),t.y+h/2),t.y+=h+c},y=v.textAlign(f);for(i.textAlign=f,i.textBaseline="middle",i.font=W.fontString(h,e._bodyFontStyle,e._bodyFontFamily),t.x=eu(e,y),i.fillStyle=e.bodyFontColor,W.each(e.beforeBody,_),m=$&&"right"!==y?"center"===f?h/2+1:h+2:0,s=0,u=g.length;s<u;++s){for(n=g[s],r=e.labelTextColors[s],a=e.labelColors[s],i.fillStyle=r,W.each(n.before,_),l=0,d=(o=n.lines).length;l<d;++l){if($){var b=v.x(p);i.fillStyle=e.legendColorBackground,i.fillRect(v.leftForLtr(b,h),t.y,h,h),i.lineWidth=1,i.strokeStyle=a.borderColor,i.strokeRect(v.leftForLtr(b,h),t.y,h,h),i.fillStyle=a.backgroundColor,i.fillRect(v.leftForLtr(v.xPlus(b,1),h-2),t.y+1,h-2,h-2),i.fillStyle=r}_(o[l])}W.each(n.after,_)}m=0,W.each(e.afterBody,_),t.y-=c},drawFooter:function(t,e,i){var n,r,a=e.footer,o=a.length;if(o){var s=er(e.rtl,e.x,e.width);for(t.x=eu(e,e._footerAlign),t.y+=e.footerMarginTop,i.textAlign=s.textAlign(e._footerAlign),i.textBaseline="middle",n=e.footerFontSize,i.fillStyle=e.footerFontColor,i.font=W.fontString(n,e._footerFontStyle,e._footerFontFamily),r=0;r<o;++r)i.fillText(a[r],s.x(t.x),t.y+n/2),t.y+=n+e.footerSpacing}},drawBackground:function(t,e,i,n){i.fillStyle=e.backgroundColor,i.strokeStyle=e.borderColor,i.lineWidth=e.borderWidth;var r=e.xAlign,a=e.yAlign,o=t.x,s=t.y,l=n.width,u=n.height,d=e.cornerRadius;i.beginPath(),i.moveTo(o+d,s),"top"===a&&this.drawCaret(t,n),i.lineTo(o+l-d,s),i.quadraticCurveTo(o+l,s,o+l,s+d),"center"===a&&"right"===r&&this.drawCaret(t,n),i.lineTo(o+l,s+u-d),i.quadraticCurveTo(o+l,s+u,o+l-d,s+u),"bottom"===a&&this.drawCaret(t,n),i.lineTo(o+d,s+u),i.quadraticCurveTo(o,s+u,o,s+u-d),"center"===a&&"left"===r&&this.drawCaret(t,n),i.lineTo(o,s+d),i.quadraticCurveTo(o,s,o+d,s),i.closePath(),i.fill(),e.borderWidth>0&&i.stroke()},draw:function(){var t=this._chart.ctx,e=this._view;if(0!==e.opacity){var i={width:e.width,height:e.height},n={x:e.x,y:e.y},r=Math.abs(e.opacity<.001)?0:e.opacity,a=e.title.length||e.beforeBody.length||e.body.length||e.afterBody.length||e.footer.length;this._options.enabled&&a&&(t.save(),t.globalAlpha=r,this.drawBackground(n,e,t,i),n.y+=e.yPadding,W.rtl.overrideTextDirection(t,e.textDirection),this.drawTitle(n,e,t),this.drawBody(n,e,t),this.drawFooter(n,e,t),W.rtl.restoreTextDirection(t,e.textDirection),t.restore())}},handleEvent:function(t){var e,i=this,n=i._options;return i._lastActive=i._lastActive||[],"mouseout"===t.type?i._active=[]:(i._active=i._chart.getElementsAtEventForMode(t,n.mode,n),n.reverse&&i._active.reverse()),(e=!W.arrayEquals(i._active,i._lastActive))&&(i._lastActive=i._active,(n.enabled||n.custom)&&(i._eventPosition={x:t.x,y:t.y},i.update(!0),i.pivot())),e}});eh.positioners=ea;var ec=W.valueOrDefault;function ef(){return W.merge(Object.create(null),[].slice.call(arguments),{merger:function(t,e,i,n){if("xAxes"===t||"yAxes"===t){var r,a,o,s=i[t].length;for(e[t]||(e[t]=[]),r=0;r<s;++r)a=ec((o=i[t][r]).type,"xAxes"===t?"category":"linear"),r>=e[t].length&&e[t].push({}),!e[t][r].type||o.type&&o.type!==e[t][r].type?W.merge(e[t][r],[ei.getScaleDefaults(a),o]):W.merge(e[t][r],o)}else W._merger(t,e,i,n)}})}function eg(){return W.merge(Object.create(null),[].slice.call(arguments),{merger:function(t,e,i,n){var r=e[t]||Object.create(null),a=i[t];"scales"===t?e[t]=ef(r,a):"scale"===t?e[t]=W.merge(r,[ei.getScaleDefaults(a.type),a]):W._merger(t,e,i,n)}})}function e$(t,e,i){var n,r=function(t){return t.id===n};do n=e+i++;while(W.findIndex(t,r)>=0);return n}function em(t){return"top"===t||"bottom"===t}function ep(t,e){return function(i,n){return i[t]===n[t]?i[e]-n[e]:i[t]-n[t]}}I._set("global",{elements:{},events:["mousemove","mouseout","click","touchstart","touchmove"],hover:{onHover:null,mode:"nearest",intersect:!0,animationDuration:400},onClick:null,maintainAspectRatio:!0,responsive:!0,responsiveAnimationDuration:0});var ev=function(t,e){return this.construct(t,e),this};W.extend(ev.prototype,{construct:function(t,e){var i,n,r=this;e=((n=(i=(i=e)||Object.create(null)).data=i.data||{}).datasets=n.datasets||[],n.labels=n.labels||[],i.options=eg(I.global,I[i.type],i.options||{}),i);var a=et.acquireContext(t,e),o=a&&a.canvas,s=o&&o.height,l=o&&o.width;r.id=W.uid(),r.ctx=a,r.canvas=o,r.config=e,r.width=l,r.height=s,r.aspectRatio=s?l/s:null,r.options=e.options,r._bufferedRender=!1,r._layers=[],r.chart=r,r.controller=r,ev.instances[r.id]=r,Object.defineProperty(r,"data",{get:function(){return r.config.data},set:function(t){r.config.data=t}}),a&&o?(r.initialize(),r.update()):console.error("Failed to create chart: can't acquire context from the given item")},initialize:function(){return ee.notify(this,"beforeInit"),W.retinaScale(this,this.options.devicePixelRatio),this.bindEvents(),this.options.responsive&&this.resize(!0),this.initToolTip(),ee.notify(this,"afterInit"),this},clear:function(){return W.canvas.clear(this),this},stop:function(){return H.cancelAnimation(this),this},resize:function(t){var e=this,i=e.options,n=e.canvas,r=i.maintainAspectRatio&&e.aspectRatio||null,a=Math.max(0,Math.floor(W.getMaximumWidth(n))),o=Math.max(0,Math.floor(r?a/r:W.getMaximumHeight(n)));if((e.width!==a||e.height!==o)&&(n.width=e.width=a,n.height=e.height=o,W.retinaScale(e,i.devicePixelRatio),!t)){var s={width:a,height:o};ee.notify(e,"resize",[s]),i.onResize&&i.onResize(e,s),e.stop(),e.update({duration:i.responsiveAnimationDuration})}},ensureScalesHaveIDs:function(){var t=this.options,e=t.scales||{},i=t.scale;W.each(e.xAxes,function(t,i){t.id||(t.id=e$(e.xAxes,"x-axis-",i))}),W.each(e.yAxes,function(t,i){t.id||(t.id=e$(e.yAxes,"y-axis-",i))}),i&&(i.id=i.id||"scale")},buildOrUpdateScales:function(){var t=this,e=t.options,i=t.scales||{},n=[],r=Object.keys(i).reduce(function(t,e){return t[e]=!1,t},{});e.scales&&(n=n.concat((e.scales.xAxes||[]).map(function(t){return{options:t,dtype:"category",dposition:"bottom"}}),(e.scales.yAxes||[]).map(function(t){return{options:t,dtype:"linear",dposition:"left"}}))),e.scale&&n.push({options:e.scale,dtype:"radialLinear",isDefault:!0,dposition:"chartArea"}),W.each(n,function(e){var n=e.options,a=n.id,o=ec(n.type,e.dtype);em(n.position)!==em(e.dposition)&&(n.position=e.dposition),r[a]=!0;var s=null;if(a in i&&i[a].type===o)(s=i[a]).options=n,s.ctx=t.ctx,s.chart=t;else{var l=ei.getScaleConstructor(o);if(!l)return;i[(s=new l({id:a,type:o,options:n,ctx:t.ctx,chart:t})).id]=s}s.mergeTicksOptions(),e.isDefault&&(t.scale=s)}),W.each(r,function(t,e){t||delete i[e]}),t.scales=i,ei.addScalesToLayout(this)},buildOrUpdateControllers:function(){var t,e,i=[],n=this.data.datasets;for(t=0,e=n.length;t<e;t++){var r=n[t],a=this.getDatasetMeta(t),o=r.type||this.config.type;if(a.type&&a.type!==o&&(this.destroyDatasetMeta(t),a=this.getDatasetMeta(t)),a.type=o,a.order=r.order||0,a.index=t,a.controller)a.controller.updateIndex(t),a.controller.linkScales();else{var s=tT[a.type];if(void 0===s)throw Error('"'+a.type+'" is not a chart type.');a.controller=new s(this,t),i.push(a.controller)}}return i},resetElements:function(){var t=this;W.each(t.data.datasets,function(e,i){t.getDatasetMeta(i).controller.reset()},t)},reset:function(){this.resetElements(),this.tooltip.initialize()},update:function(t){var e,i,n,r,a=this;if(t&&"object"==typeof t||(t={duration:t,lazy:arguments[1]}),r=(n=a).options,W.each(n.scales,function(t){tH.removeBox(n,t)}),r=eg(I.global,I[n.config.type],r),n.options=n.config.options=r,n.ensureScalesHaveIDs(),n.buildOrUpdateScales(),n.tooltip._options=r.tooltips,n.tooltip.initialize(),ee._invalidate(a),!1!==ee.notify(a,"beforeUpdate")){a.tooltip._data=a.data;var o=a.buildOrUpdateControllers();for(e=0,i=a.data.datasets.length;e<i;e++)a.getDatasetMeta(e).controller.buildOrUpdateElements();a.updateLayout(),a.options.animation&&a.options.animation.duration&&W.each(o,function(t){t.reset()}),a.updateDatasets(),a.tooltip.initialize(),a.lastActive=[],ee.notify(a,"afterUpdate"),a._layers.sort(ep("z","_idx")),a._bufferedRender?a._bufferedRequest={duration:t.duration,easing:t.easing,lazy:t.lazy}:a.render(t)}},updateLayout:function(){var t=this;!1!==ee.notify(t,"beforeLayout")&&(tH.update(this,this.width,this.height),t._layers=[],W.each(t.boxes,function(e){e._configure&&e._configure(),t._layers.push.apply(t._layers,e._layers())},t),t._layers.forEach(function(t,e){t._idx=e}),ee.notify(t,"afterScaleUpdate"),ee.notify(t,"afterLayout"))},updateDatasets:function(){if(!1!==ee.notify(this,"beforeDatasetsUpdate")){for(var t=0,e=this.data.datasets.length;t<e;++t)this.updateDataset(t);ee.notify(this,"afterDatasetsUpdate")}},updateDataset:function(t){var e=this.getDatasetMeta(t),i={meta:e,index:t};!1!==ee.notify(this,"beforeDatasetUpdate",[i])&&(e.controller._update(),ee.notify(this,"afterDatasetUpdate",[i]))},render:function(t){var e=this;t&&"object"==typeof t||(t={duration:t,lazy:arguments[1]});var i=e.options.animation,n=ec(t.duration,i&&i.duration),r=t.lazy;if(!1!==ee.notify(e,"beforeRender")){var a=function(t){ee.notify(e,"afterRe
6nder"),W.callback(i&&i.onComplete,[t],e)};if(i&&n){var o=new E({numSteps:n/16.66,easing:t.easing||i.easing,render:function(t,e){var i=W.easing.effects[e.easing],n=e.currentStep,r=n/e.numSteps;t.draw(i(r),r,n)},onAnimationProgress:i.onProgress,onAnimationComplete:a});H.addAnimation(e,o,n,r)}else e.draw(),a(new E({numSteps:0,chart:e}));return e}},draw:function(t){var e,i;if(this.clear(),W.isNullOrUndef(t)&&(t=1),this.transition(t),!(this.width<=0||this.height<=0)&&!1!==ee.notify(this,"beforeDraw",[t])){for(i=this._layers,e=0;e<i.length&&i[e].z<=0;++e)i[e].draw(this.chartArea);for(this.drawDatasets(t);e<i.length;++e)i[e].draw(this.chartArea);this._drawTooltip(t),ee.notify(this,"afterDraw",[t])}},transition:function(t){for(var e=0,i=(this.data.datasets||[]).length;e<i;++e)this.isDatasetVisible(e)&&this.getDatasetMeta(e).controller.transition(t);this.tooltip.transition(t)},_getSortedDatasetMetas:function(t){var e,i,n=[];for(e=0,i=(this.data.datasets||[]).length;e<i;++e)t&&!this.isDatasetVisible(e)||n.push(this.getDatasetMeta(e));return n.sort(ep("order","index")),n},_getSortedVisibleDatasetMetas:function(){return this._getSortedDatasetMetas(!0)},drawDatasets:function(t){var e,i;if(!1!==ee.notify(this,"beforeDatasetsDraw",[t])){for(i=(e=this._getSortedVisibleDatasetMetas()).length-1;i>=0;--i)this.drawDataset(e[i],t);ee.notify(this,"afterDatasetsDraw",[t])}},drawDataset:function(t,e){var i={meta:t,index:t.index,easingValue:e};!1!==ee.notify(this,"beforeDatasetDraw",[i])&&(t.controller.draw(e),ee.notify(this,"afterDatasetDraw",[i]))},_drawTooltip:function(t){var e=this.tooltip,i={tooltip:e,easingValue:t};!1!==ee.notify(this,"beforeTooltipDraw",[i])&&(e.draw(),ee.notify(this,"afterTooltipDraw",[i]))},getElementAtEvent:function(t){return tL.modes.single(this,t)},getElementsAtEvent:function(t){return tL.modes.label(this,t,{intersect:!0})},getElementsAtXAxis:function(t){return tL.modes["x-axis"](this,t,{intersect:!0})},getElementsAtEventForMode:function(t,e,i){var n=tL.modes[e];return"function"==typeof n?n(this,t,i):[]},getDatasetAtEvent:function(t){return tL.modes.dataset(this,t,{intersect:!0})},getDatasetMeta:function(t){var e=this.data.datasets[t];e._meta||(e._meta={});var i=e._meta[this.id];return i||(i=e._meta[this.id]={type:null,data:[],dataset:null,controller:null,hidden:null,xAxisID:null,yAxisID:null,order:e.order||0,index:t}),i},getVisibleDatasetCount:function(){for(var t=0,e=0,i=this.data.datasets.length;e<i;++e)this.isDatasetVisible(e)&&t++;return t},isDatasetVisible:function(t){var e=this.getDatasetMeta(t);return"boolean"==typeof e.hidden?!e.hidden:!this.data.datasets[t].hidden},generateLegend:function(){return this.options.legendCallback(this)},destroyDatasetMeta:function(t){var e=this.id,i=this.data.datasets[t],n=i._meta&&i._meta[e];n&&(n.controller.destroy(),delete i._meta[e])},destroy:function(){var t,e,i=this,n=i.canvas;for(i.stop(),t=0,e=i.data.datasets.length;t<e;++t)i.destroyDatasetMeta(t);n&&(i.unbindEvents(),W.canvas.clear(i),et.releaseContext(i.ctx),i.canvas=null,i.ctx=null),ee.notify(i,"destroy"),delete ev.instances[i.id]},toBase64Image:function(){return this.canvas.toDataURL.apply(this.canvas,arguments)},initToolTip:function(){var t=this;t.tooltip=new eh({_chart:t,_chartInstance:t,_data:t.data,_options:t.options.tooltips},t)},bindEvents:function(){var t=this,e=t._listeners={},i=function(){t.eventHandler.apply(t,arguments)};W.each(t.options.events,function(n){et.addEventListener(t,n,i),e[n]=i}),t.options.responsive&&(i=function(){t.resize()},et.addEventListener(t,"resize",i),e.resize=i)},unbindEvents:function(){var t=this,e=t._listeners;e&&(delete t._listeners,W.each(e,function(e,i){et.removeEventListener(t,i,e)}))},updateHoverStyle:function(t,e,i){var n,r,a,o=i?"set":"remove";for(r=0,a=t.length;r<a;++r)(n=t[r])&&this.getDatasetMeta(n._datasetIndex).controller[o+"HoverStyle"](n);"dataset"===e&&this.getDatasetMeta(t[0]._datasetIndex).controller["_"+o+"DatasetHoverStyle"]()},eventHandler:function(t){var e=this,i=e.tooltip;if(!1!==ee.notify(e,"beforeEvent",[t])){e._bufferedRender=!0,e._bufferedRequest=null;var n=e.handleEvent(t);i&&(n=i._start?i.handleEvent(t):n|i.handleEvent(t)),ee.notify(e,"afterEvent",[t]);var r=e._bufferedRequest;return r?e.render(r):n&&!e.animating&&(e.stop(),e.render({duration:e.options.hover.animationDuration,lazy:!0})),e._bufferedRender=!1,e._bufferedRequest=null,e}},handleEvent:function(t){var e,i=this,n=i.options||{},r=n.hover;return i.lastActive=i.lastActive||[],"mouseout"===t.type?i.active=[]:i.active=i.getElementsAtEventForMode(t,r.mode,r),W.callback(n.onHover||n.hover.onHover,[t.native,i.active],i),"mouseup"!==t.type&&"click"!==t.type||n.onClick&&n.onClick.call(i,t.native,i.active),i.lastActive.length&&i.updateHoverStyle(i.lastActive,r.mode,!1),i.active.length&&r.mode&&i.updateHoverStyle(i.active,r.mode,!0),e=!W.arrayEquals(i.active,i.lastActive),i.lastActive=i.active,e}}),ev.instances={};var e_=ev;function ey(){throw Error("This method is not implemented: either no adapter can be found or an incomplete integration was provided.")}function eb(t){this.options=t||{}}ev.Controller=ev,ev.types={},W.configMerge=eg,W.scaleMerge=ef,W.extend(eb.prototype,{formats:ey,parse:ey,format:ey,add:ey,diff:ey,startOf:ey,endOf:ey,_create:function(t){return t}}),eb.override=function(t){W.extend(eb.prototype,t)};var ex={_date:eb},e8={formatters:{values:function(t){return W.isArray(t)?t:""+t}
vendor: 9,880 bytes, line 6
6,linear:function(t,e,i){var n=i.length>3?i[2]-i[1]:i[1]-i[0];Math.abs(n)>1&&t!==Math.floor(t)&&(n=t-Math.floor(t));var r=W.log10(Math.abs(n)),a="";if(0!==t){if(1e-4>Math.max(Math.abs(i[0]),Math.abs(i[i.length-1]))){var o=Math.floor(W.log10(Math.abs(t)))-Math.floor(r);o=Math.max(Math.min(o,20),0),a=t.toExponential(o)}else{var s=-1*Math.floor(r);s=Math.max(Math.min(s,20),0),a=t.toFixed(s)}}else a="0";return a},logarithmic:function(t,e,i){var n=t/Math.pow(10,Math.floor(W.log10(t)));return 0===t?"0":1===n||2===n||5===n||0===e||e===i.length-1?t.toExponential():""}}},e0=W.isArray,ek=W.isNullOrUndef,ew=W.valueOrDefault,e3=W.valueAtIndexOrDefault;function eS(t,e,i){var n,r=t.getTicks().length,a=Math.min(e,r-1),o=t.getPixelForTick(a),s=t._startPixel,l=t._endPixel;if(!(i&&(n=1===r?Math.max(o-s,l-o):0===e?(t.getPixelForTick(1)-o)/2:(o-t.getPixelForTick(a-1))/2,(o+=a<e?n:-n)<s-1e-6||o>l+1e-6)))return o}function eD(t){return t.drawTicks?t.tickMarkLength:0}function eC(t){var e,i;return t.display?(e=W.options._parseFont(t),i=W.options.toPadding(t.padding),e.lineHeight+i.height):0}function eP(t,e){return W.extend(W.options._parseFont({fontFamily:ew(e.fontFamily,t.fontFamily),fontSize:ew(e.fontSize,t.fontSize),fontStyle:ew(e.fontStyle,t.fontStyle),lineHeight:ew(e.lineHeight,t.lineHeight)}),{color:W.options.resolve([e.fontColor,t.fontColor,I.global.defaultFontColor])})}function eT(t){var e=eP(t,t.minor);return{minor:e,major:t.major.enabled?eP(t,t.major):e}}function eA(t){var e,i,n,r=[];for(i=0,n=t.length;i<n;++i)void 0!==(e=t[i])._index&&r.push(e);return r}function eO(t,e,i,n){var r,a,o,s,l=ew(i,0),u=Math.min(ew(n,t.length),t.length),d=0;for(e=Math.ceil(e),n&&(e=(r=n-i)/Math.floor(r/e)),s=l;s<0;)s=Math.round(l+ ++d*e);for(a=Math.max(l,0);a<u;a++)o=t[a],a===s?(o._index=a,s=Math.round(l+ ++d*e)):delete o.label}I._set("scale",{display:!0,position:"left",offset:!1,gridLines:{display:!0,color:"rgba(0,0,0,0.1)",lineWidth:1,drawBorder:!0,drawOnChartArea:!0,drawTicks:!0,tickMarkLength:10,zeroLineWidth:1,zeroLineColor:"rgba(0,0,0,0.25)",zeroLineBorderDash:[],zeroLineBorderDashOffset:0,offsetGridLines:!1,borderDash:[],borderDashOffset:0},scaleLabel:{display:!1,labelString:"",padding:{top:4,bottom:4}},ticks:{beginAtZero:!1,minRotation:0,maxRotation:50,mirror:!1,padding:0,reverse:!1,display:!0,autoSkip:!0,autoSkipPadding:0,labelOffset:0,callback:e8.formatters.values,minor:{},major:{}}});var eM=z.extend({zeroLineIndex:0,getPadding:function(){return{left:this.paddingLeft||0,top:this.paddingTop||0,right:this.paddingRight||0,bottom:this.paddingBottom||0}},getTicks:function(){return this._ticks},_getLabels:function(){var t=this.chart.data;return this.options.labels||(this.isHorizontal()?t.xLabels:t.yLabels)||t.labels||[]},mergeTicksOptions:function(){},beforeUpdate:function(){W.callback(this.options.beforeUpdate,[this])},update:function(t,e,i){var n,r,a,o,s,l=this,u=l.options.ticks,d=u.sampleSize;if(l.beforeUpdate(),l.maxWidth=t,l.maxHeight=e,l.margins=W.extend({left:0,right:0,top:0,bottom:0},i),l._ticks=null,l.ticks=null,l._labelSizes=null,l._maxLabelLines=0,l.longestLabelWidth=0,l.longestTextCache=l.longestTextCache||{},l._gridLineItems=null,l._labelItems=null,l.beforeSetDimensions(),l.setDimensions(),l.afterSetDimensions(),l.beforeDataLimits(),l.determineDataLimits(),l.afterDataLimits(),l.beforeBuildTicks(),o=l.buildTicks()||[],(!(o=l.afterBuildTicks(o)||o)||!o.length)&&l.ticks)for(o=[],n=0,r=l.ticks.length;n<r;++n)o.push({value:l.ticks[n],major:!1});return l._ticks=o,s=d<o.length,a=l._convertTicksToLabels(s?function(t,e){for(var i=[],n=t.length/e,r=0,a=t.length;r<a;r+=n)i.push(t[Math.floor(r)]);return i}(o,d):o),l._configure(),l.beforeCalculateTickRotation(),l.calculateTickRotation(),l.afterCalculateTickRotation(),l.beforeFit(),l.fit(),l.afterFit(),l._ticksToDraw=u.display&&(u.autoSkip||"auto"===u.source)?l._autoSkip(o):o,s&&(a=l._convertTicksToLabels(l._ticksToDraw)),l.ticks=a,l.afterUpdate(),l.minSize},_configure:function(){var t,e,i=this,n=i.options.ticks.reverse;i.isHorizontal()?(t=i.left,e=i.right):(t=i.top,e=i.bottom,n=!n),i._startPixel=t,i._endPixel=e,i._reversePixels=n,i._length=e-t},afterUpdate:function(){W.callback(this.options.afterUpdate,[this])},beforeSetDimensions:function(){W.callback(this.options.beforeSetDimensions,[this])},setDimensions:function(){var t=this;t.isHorizontal()?(t.width=t.maxWidth,t.left=0,t.right=t.width):(t.height=t.maxHeight,t.top=0,t.bottom=t.height),t.paddingLeft=0,t.paddingTop=0,t.paddingRight=0,t.paddingBottom=0},afterSetDimensions:function(){W.callback(this.options.afterSetDimensions,[this])},beforeDataLimits:function(){W.callback(this.options.beforeDataLimits,[this])},determineDataLimits:W.noop,afterDataLimits:function(){W.callback(this.options.afterDataLimits,[this])},beforeBuildTicks:function(){W.callback(this.options.beforeBuildTicks,[this])},buildTicks:W.noop,afterBuildTicks:function(t){var e=this;return e0(t)&&t.length?W.callback(e.options.afterBuildTicks,[e,t]):(e.ticks=W.callback(e.options.afterBuildTicks,[e,e.ticks])||e.ticks,t)},beforeTickToLabelConversion:function(){W.callback(this.options.beforeTickToLabelConversion,[this])},convertTicksToLabels:function(){var t=this.options.ticks;this.ticks=this.ticks.map(t.userCallback||t.callback,this)},afterTickToLabelConversion:function(){W.callback(this.options.afterTickToLabelConversion,[this])},beforeCalculateTickRotation:function(){W.callback(this.options.beforeCalculateTickRotation,[this])},calculateTickRotation:function(){var t,e,i,n,r,a,o,s=this,l=s.options,u=l.ticks,d=s.getTicks().length,h=u.minRotation||0,c=u.maxRotation,f=h;s._isVisible()&&u.display&&!(h>=c)&&!(d<=1)&&s.isHorizontal()?(e=(t=s._getLabelSizes()).widest.width,i=t.highest.height-t.highest.offset,n=Math.min(s.maxWidth,s.chart.width-e),e+6>(r=l.offset?s.maxWidth/d:n/(d-1))&&(r=n/(d-(l.offset?.5:1)),a=s.maxHeight-eD(l.gridLines)-u.padding-eC(l.scaleLabel),o=Math.sqrt(e*e+i*i),f=Math.max(h,Math.min(c,f=W.toDegrees(Math.min(Math.asin(Math.min((t.highest.height+6)/r,1)),Math.asin(Math.min(a/o,1))-Math.asin(i/o)))))),s.labelRotation=f):s.labelRotation=h},afterCalculateTickRotation:function(){W.callback(this.options.afterCalculateTickRotation,[this])},beforeFit:function(){W.callback(this.options.beforeFit,[this])},fit:function(){var t=this,e=t.minSize={width:0,height:0},i=t.chart,n=t.options,r=n.ticks,a=n.scaleLabel,o=n.gridLines,s=t._isVisible(),l="bottom"===n.position,u=t.isHorizontal();if(u?e.width=t.maxWidth:s&&(e.width=eD(o)+eC(a)),u?s&&(e.height=eD(o)+eC(a)):e.height=t.maxHeight,r.display&&s){var d=eT(r),h=t._getLabelSizes(),c=h.first,f=h.last,g=h.widest,$=h.highest,m=.4*d.minor.lineHeight,p=r.padding;if(u){var v=0!==t.labelRotation,_=W.toRadians(t.labelRotation),y=Math.cos(_),b=Math.sin(_),x=b*g.width+y*($.height-(v?$.offset:0))+(v?0:m);e.height=Math.min(t.maxHeight,e.height+x+p);var k,w,S=t.getPixelForTick(0)-t.left,D=t.right-t.getPixelForTick(t.getTicks().length-1);v?(k=l?y*c.width+b*c.offset:b*(c.height-c.offset),w=l?b*(f.height-f.offset):y*f.width+b*f.offset):(k=c.width/2,w=f.width/2),t.paddingLeft=Math.max((k-S)*t.width/(t.width-S),0)+3,t.paddingRight=Math.max((w-D)*t.width/(t.width-D),0)+3}else{var C=r.mirror?0:g.width+p+m;e.width=Math.min(t.maxWidth,e.width+C),t.paddingTop=c.height/2,t.paddingBottom=f.height/2}}t.handleMargins(),u?(t.width=t._length=i.width-t.margins.left-t.margins.right,t.height=e.height):(t.width=e.width,t.height=t._length=i.height-t.margins.top-t.margins.bottom)},handleMargins:function(){var t=this;t.margins&&(t.margins.left=Math.max(t.paddingLeft,t.margins.left),t.margins.top=Math.max(t.paddingTop,t.margins.top),t.margins.right=Math.max(t.paddingRight,t.margins.right),t.margins.bottom=Math.max(t.paddingBottom,t.margins.bottom))},afterFit:function(){W.callback(this.options.afterFit,[this])},isHorizontal:function(){var t=this.options.position;return"top"===t||"bottom"===t},isFullWidth:function(){return this.options.fullWidth},getRightValue:function(t){if(ek(t)||("number"==typeof t||t instanceof Number)&&!isFinite(t))return NaN;if(t){if(this.isHorizontal()){if(void 0!==t.x)return this.getRightValue(t.x)}else if(void 0!==t.y)return this.getRightValue(t.y)}return t},_convertTicksToLabels:function(t){var e,i,n,r=this;for(r.ticks=t.map(function(t){return t.value}),r.beforeTickToLabelConversion(),e=r.convertTicksToLabels(t)||r.ticks,r.afterTickToLabelConversion(),i=0,n=t.length;i<n;++i)t[i].label=e[i];return e},_getLabelSizes:function(){var t=this,e=t._labelSizes;return e||(t._labelSizes=e=function t(e,i,n,r){var a,o,s,l,u,d,h,c,f,g,$,m,p,v,_,y=n.length,b=[],x=[],k=[],w=0,S=0;for(s=0;s<y;++s){if(d=n[s].label,h=n[s].major?i.major:i.minor,e.font=c=h.string,f=r[c]=r[c]||{data:{},gc:[]},g=h.lineHeight,$=m=0,ek(d)||e0(d)){if(e0(d))for(l=0,u=d.length;l<u;++l)ek(p=d[l])||e0(p)||($=W.measureText(e,f.data,f.gc,$,p),m+=g)}else $=W.measureText(e,f.data,f.gc,$,d),m=g;b.push($),x.push(m),k.push(g/2),w=Math.max($,w),S=Math.max(m,S)}function D(t){return{width:b[t]||0,height:x[t]||0,offset:k[t]||0}}return a=r,o=y,W.each(a,function(t){var e,i=t.gc,n=i.length/2;if(n>o){for(e=0;e<n;++e)delete t.data[i[e]];i.splice(0,n)}}),v=b.indexOf(w),_=x.indexOf(S),{first:D(0),last:D(y-1),widest:D(v),highest:D(_)}}(t.ctx,eT(t.options.ticks),t.getTicks(),t.longestTextCache),t.longestLabelWidth=e.widest.width),e},_parseValue:function(t){var e,i,n,r;return e0(t)?(n=Math.min(e=+this.getRightValue(t[0]),i=+this.getRightValue(t[1])),r=Math.max(e,i)):(e=void 0,i=t=+this.getRightValue(t),n=t,r=t),{min:n,max:r,start:e,end:i}},_getScaleLabel:function(t){var e=this._parseValue(t);return void 0!==e.start?"["+e.start+", "+e.end+"]":+this.getRightValue(t)},getLabelForIndex:W.noop,getPixelForValue:W.noop,getValueForPixel:W.noop,getPixelForTick:function(t){var e=this.options.offset,i=this._ticks.length,n=1/Math.max(i-(e?0:1),1);return t<0||t>i-1?null:this.getPixelForDecimal(t*n+(e?n/2:0))}
6,getPixelForDecimal:function(t){return this._reversePixels&&(t=1-t),this._startPixel+t*this._length},getDecimalForPixel:function(t){var e=(t-this._startPixel)/this._length;return this._reversePixels?1-e:e},getBasePixel:function(){return this.getPixelForValue(this.getBaseValue())},getBaseValue:function(){var t=this.min,e=this.max;return this.beginAtZero?0:t<0&&e<0?e:t>0&&e>0?t:0},_autoSkip:function(t){var e,i,n,r,a=this.options.ticks,o=this._length,s=a.maxTicksLimit||o/this._tickSize()+1,l=a.major.enabled?function(t){var e,i,n=[];for(e=0,i=t.length;e<i;e++)t[e].major&&n.push(e);return n}(t):[],u=l.length,d=l[0],h=l[u-1];if(u>s)return function(t,e,i){var n,r,a=0,o=e[0];for(i=Math.ceil(i),n=0;n<t.length;n++)r=t[n],n===o?(r._index=n,o=e[++a*i]):delete r.label}(t,l,u/s),eA(t);if(n=function(t,e,i,n){var r,a,o,s,l=function(t){var e,i,n=t.length;if(n<2)return!1;for(i=t[0],e=1;e<n;++e)if(t[e]-t[e-1]!==i)return!1;return i}(t),u=(e.length-1)/n;if(!l)return Math.max(u,1);for(o=0,s=(r=W.math._factorize(l)).length-1;o<s;o++)if((a=r[o])>u)return a;return Math.max(u,1)}(l,t,0,s),u>0){for(e=0,i=u-1;e<i;e++)eO(t,n,l[e],l[e+1]);return r=u>1?(h-d)/(u-1):null,eO(t,n,W.isNullOrUndef(r)?0:d-r,d),eO(t,n,h,W.isNullOrUndef(r)?t.length:h+r),eA(t)}return eO(t,n),eA(t)},_tickSize:function(){var t=this.options.ticks,e=W.toRadians(this.labelRotation),i=Math.abs(Math.cos(e)),n=Math.abs(Math.sin(e)),r=this._getLabelSizes(),a=t.autoSkipPadding||0,o=r?r.widest.width+a:0,s=r?r.highest.height+a:0;return this.isHorizontal()?s*i>o*n?o/i:s/n:s*n<o*i?s/i:o/n},_isVisible:function(){var t,e,i,n=this.chart,r=this.options.display;if("auto"!==r)return!!r;for(t=0,e=n.data.datasets.length;t<e;++t)if(n.isDatasetVisible(t)&&((i=n.getDatasetMeta(t)).xAxisID===this.id||i.yAxisID===this.id))return!0;return!1},_computeGridLineItems:function(t){var e,i,n,r,a,o,s,l,u,d,h,c,f,g,$,m,p,v=this.chart,_=this.options,y=_.gridLines,b=_.position,x=y.offsetGridLines,k=this.isHorizontal(),w=this._ticksToDraw,S=w.length+(x?1:0),D=eD(y),C=[],P=y.drawBorder?e3(y.lineWidth,0,0):0,T=P/2,A=W._alignPixel,O=function(t){return A(v,t,P)};for("top"===b?(e=O(this.bottom),s=this.bottom-D,u=e-T,h=O(t.top)+T,f=t.bottom):"bottom"===b?(e=O(this.top),h=t.top,f=O(t.bottom)-T,s=e+T,u=this.top+D):"left"===b?(e=O(this.right),o=this.right-D,l=e-T,d=O(t.left)+T,c=t.right):(e=O(this.left),d=t.left,c=O(t.right)-T,o=e+T,l=this.left+D),i=0;i<S;++i)ek((n=w[i]||{}).label)&&i<w.length||(i===this.zeroLineIndex&&_.offset===x?(g=y.zeroLineWidth,$=y.zeroLineColor,m=y.zeroLineBorderDash||[],p=y.zeroLineBorderDashOffset||0):(g=e3(y.lineWidth,i,1),$=e3(y.color,i,"rgba(0,0,0,0.1)"),m=y.borderDash||[],p=y.borderDashOffset||0),void 0!==(r=eS(this,n._index||i,x))&&(a=A(v,r,g),k?o=l=d=c=a:s=u=h=f=a,C.push({tx1:o,ty1:s,tx2:l,ty2:u,x1:d,y1:h,x2:c,y2:f,width:g,color:$,borderDash:m,borderDashOffset:p})));return C.ticksLength=S,C.borderValue=e,C},_computeLabelItems:function(){var t,e,i,n,r,a,o,s,l,u,d,h,c=this.options,f=c.ticks,g=c.position,$=f.mirror,m=this.isHorizontal(),p=this._ticksToDraw,v=eT(f),_=f.padding,y=eD(c.gridLines),b=-W.toRadians(this.labelRotation),x=[];for("top"===g?(a=this.bottom-y-_,o=b?"left":"center"):"bottom"===g?(a=this.top+y+_,o=b?"right":"center"):"left"===g?(r=this.right-($?0:y)-_,o=$?"left":"right"):(r=this.left+($?0:y)+_,o=$?"right":"left"),t=0,e=p.length;t<e;++t)ek(n=(i=p[t]).label)||(s=this.getPixelForTick(i._index||t)+f.labelOffset,u=(l=i.major?v.major:v.minor).lineHeight,d=e0(n)?n.length:1,m?(r=s,h="top"===g?((b?1:.5)-d)*u:(b?0:.5)*u):(a=s,h=(1-d)*u/2),x.push({x:r,y:a,rotation:b,label:n,font:l,textOffset:h,textAlign:o}));return x},_drawGrid:function(t){var e=this,i=e.options.gridLines;if(i.display){var n,r,a,o,s,l=e.ctx,u=e.chart,d=W._alignPixel,h=i.drawBorder?e3(i.lineWidth,0,0):0,c=e._gridLineItems||(e._gridLineItems=e._computeGridLineItems(t));for(a=0,o=c.length;a<o;++a)n=(s=c[a]).width,r=s.color,n&&r&&(l.save(),l.lineWidth=n,l.strokeStyle=r,l.setLineDash&&(l.setLineDash(s.borderDash),l.lineDashOffset=s.borderDashOffset),l.beginPath(),i.drawTicks&&(l.moveTo(s.tx1,s.ty1),l.lineTo(s.tx2,s.ty2)),i.drawOnChartArea&&(l.moveTo(s.x1,s.y1),l.lineTo(s.x2,s.y2)),l.stroke(),l.restore(
6));if(h){var f,g,$,m,p=h,v=e3(i.lineWidth,c.ticksLength-1,1),_=c.borderValue;e.isHorizontal()?(f=d(u,e.left,p)-p/2,g=d(u,e.right,v)+v/2,$=m=_):($=d(u,e.top,p)-p/2,m=d(u,e.bottom,v)+v/2,f=g=_),l.lineWidth=h,l.strokeStyle=e3(i.color,0),l.beginPath(),l.moveTo(f,$),l.lineTo(g,m),l.stroke()}}},_drawLabels:function(){var t=this;if(t.options.ticks.display){var e,i,n,r,a,o,s,l,u=t.ctx,d=t._labelItems||(t._labelItems=t._computeLabelItems());for(e=0,n=d.length;e<n;++e){if(o=(a=d[e]).font,u.save(),u.translate(a.x,a.y),u.rotate(a.rotation),u.font=o.string,u.fillStyle=o.color,u.textBaseline="middle",u.textAlign=a.textAlign,s=a.label,l=a.textOffset,e0(s))for(i=0,r=s.length;i<r;++i)u.fillText(""+s[i],0,l),l+=o.lineHeight;else u.fillText(s,0,l);u.restore()}}},_drawTitle:function(){var t=this.ctx,e=this.options,i=e.scaleLabel;if(i.display){var n,r,a=ew(i.fontColor,I.global.defaultFontColor),o=W.options._parseFont(i),s=W.options.toPadding(i.padding),l=o.lineHeight/2,u=e.position,d=0;if(this.isHorizontal())n=this.left+this.width/2,r="bottom"===u?this.bottom-l-s.bottom:this.top+l+s.top;else{var h="left"===u;n=h?this.left+l+s.top:this.right-l-s.top,r=this.top+this.height/2,d=h?-.5*Math.PI:.5*Math.PI}t.save(),t.translate(n,r),t.rotate(d),t.textAlign="center",t.textBaseline="middle",t.fillStyle=a,t.font=o.string,t.fillText(i.labelString,0,0),t.restore()}},draw:function(t){this._isVisible()&&(this._drawGrid(t),this._drawTitle(),this._drawLabels())},_layers:function(){var t=this,e=t.options,i=e.ticks&&e.ticks.z||0,n=e.gridLines&&e.gridLines.z||0;return t._isVisible()&&i!==n&&t.draw===t._draw?[{z:n,draw:function(){t._drawGrid.apply(t,arguments),t._drawTitle.apply(t,arguments)}},{z:i,draw:function(){t._drawLabels.apply(t,arguments)}},]:[{z:i,draw:function(){t.draw.apply(t,arguments)}},]},_getMatchingVisibleMetas:function(t){var e=this,i=e.isHorizontal();return e.chart._getSortedVisibleDatasetMetas().filter(function(n){return(!t||n.type===t)&&(i?n.xAxisID===e.id:n.yAxisID===e.id)})}});eM.prototype._draw=eM.prototype.draw;var e1=eM,eF=W.isNullOrUndef,eI=e1.extend({determineDataLimits:function(){var t,e=this,i=e._getLabels(),n=e.options.ticks,r=n.min,a=n.max,o=0,s=i.length-1;void 0!==r&&(t=i.indexOf(r))>=0&&(o=t),void 0!==a&&(t=i.indexOf(a))>=0&&(s=t),e.minIndex=o,e.maxIndex=s,e.min=i[o],e.max=i[s]},buildTicks:function(){var t=this._getLabels(),e=this.minIndex,i=this.maxIndex;this.ticks=0===e&&i===t.length-1?t:t.slice(e,i+1)},getLabelForIndex:function(t,e){var i=this.chart;return i.getDatasetMeta(e).controller._getValueScaleId()===this.id?this.getRightValue(i.data.datasets[e].data[t]):this._getLabels()[t]},_configure:function(){var t=this,e=t.options.offset,i=t.ticks;e1.prototype._configure.call(t),t.isHorizontal()||(t._reversePixels=!t._reversePixels),i&&(t._startValue=t.minIndex-(e?.5:0),t._valueRange=Math.max(i.length-(e?0:1),1))},getPixelForValue:function(t,e,i){var n,r,a;return eF(e)||eF(i)||(t=this.chart.data.datasets[i].data[e]),eF(t)||(n=this.isHorizontal()?t.x:t.y),(void 0!==n||void 0!==t&&isNaN(e))&&(r=this._getLabels(),t=W.valueOrDefault(n,t),isNaN(e=-1!==(a=r.indexOf(t))?a:e)&&(e=t)),this.getPixelForDecimal((e-this._startValue)/this._valueRange)},getPixelForTick:function(t){var e=this.ticks;return t<0||t>e.length-1?null:this.getPixelForValue(e[t],t+this.minIndex)},getValueForPixel:function(t){return Math.min(Math.max(Math.round(this._startValue+this.getDecimalForPixel(t)*this._valueRange),0),this.ticks.length-1)},getBasePixel:function(){return this.bottom}});eI._defaults={position:"bottom"};var eL=W.noop,e4=W.isNullOrUndef,eR=e1.extend({getRightValue:function(t){return"string"==typeof t?+t:e1.prototype.getRightValue.call(this,t)},handleTickRangeOptions:function(){var t=this,e=t.options.ticks;if(e.beginAtZero){var i=W.sign(t.min),n=W.sign(t.max);i<0&&n<0?t.max=0:i>0&&n>0&&(t.min=0)}var r=void 0!==e.min||void 0!==e.suggestedMin,a=void 0!==e.max||void 0!==e.suggestedMax;void 0!==e.min?t.min=e.min:void 0!==e.suggestedMin&&(null===t.min?t.min=e.suggestedMin:t.min=Math.min(t.min,e.suggestedMin)),void 0!==e.max?t.max=e.max:void 0!==e.suggestedMax&&(null===t.max?t.max=e.suggestedMax:t.max=Math.max(t.max,e.suggestedMax)),r!==a&&t.min>=t.max&&(r?t.max=t.min+1:t.min=t.max-1),t.min===t.max&&(t.max++,e.beginAtZero||t.min--)},getTickLimit:function(){var t,e=this.options.ticks,i=e.stepSize,n=e.maxTicksLimit;return i?t=Math.ceil(this.max/i)-Math.floor(this.min/i)+1:(t=this._computeTickLimit(),n=n||11),n&&(t=Math.min(n,t)),t},_computeTickLimit:function(){return Number.POSITIVE_INFINITY},handleDirectionalChanges:eL,buildTicks:function(){var t=this,e=t.options.ticks,i=t.getTickLimit(),n={maxTicks:i=Math.max(2,i),min:e.min,max:e.max,precision:e.precision,stepSize:W.valueOrDefault(e.fixedStepSize,e.stepSize)},r=t.ticks=function(t,e){var i,n,r,a,o=[],s=t.stepSize,l=s||1,u=t.maxTicks-1,d=t.min,h=t.max,c=t.precision,f=e.min,g=e.max,$=W.niceNum((g-f)/u/l)*l;if($<1e-14&&e4(d)&&e4(h))return[f,g];(a=Math.ceil(g/$)-Math.floor(f/$))>u&&($=W.niceNum(a*$/u/l)*l),s||e4(c)?i=Math.pow(10,W._decimalPlaces($)):$=Math.ceil($*(i=Math.pow(10,c)))/i,n=Math.floor(f/$)*$,r=Math.ceil(g/$)*$,s&&(!e4(d)&&W.almostWhole(d
vendor: 18,436 bytes, line 6
6/$,$/1e3)&&(n=d),!e4(h)&&W.almostWhole(h/$,$/1e3)&&(r=h)),a=(r-n)/$,a=W.almostEquals(a,Math.round(a),$/1e3)?Math.round(a):Math.ceil(a),n=Math.round(n*i)/i,r=Math.round(r*i)/i,o.push(e4(d)?n:d);for(var m=1;m<a;++m)o.push(Math.round((n+m*$)*i)/i);return o.push(e4(h)?r:h),o}(n,t);t.handleDirectionalChanges(),t.max=W.max(r),t.min=W.min(r),e.reverse?(r.reverse(),t.start=t.max,t.end=t.min):(t.start=t.min,t.end=t.max)},convertTicksToLabels:function(){var t=this;t.ticksAsNumbers=t.ticks.slice(),t.zeroLineIndex=t.ticks.indexOf(0),e1.prototype.convertTicksToLabels.call(t)},_configure:function(){var t,e=this,i=e.getTicks(),n=e.min,r=e.max;e1.prototype._configure.call(e),e.options.offset&&i.length&&(n-=t=(r-n)/Math.max(i.length-1,1)/2,r+=t),e._startValue=n,e._endValue=r,e._valueRange=r-n}}),e2={position:"left",ticks:{callback:e8.formatters.linear}};function eW(t,e,i,n){var r,a,o,s,l,u,d=t.options,h=(r=e,a=d.stacked,void 0===r[s=[(o=i).type,void 0===a&&void 0===o.stack?o.index:"",o.stack].join(".")]&&(r[s]={pos:[],neg:[]}),r[s]),c=h.pos,f=h.neg,g=n.length;for(l=0;l<g;++l)isNaN((u=t._parseValue(n[l])).min)||isNaN(u.max)||i.data[l].hidden||(c[l]=c[l]||0,f[l]=f[l]||0,d.relativePoints?c[l]=100:u.min<0||u.max<0?f[l]+=u.min:c[l]+=u.max)}function eY(t,e,i){var n,r,a=i.length;for(n=0;n<a;++n)isNaN((r=t._parseValue(i[n])).min)||isNaN(r.max)||e.data[n].hidden||(t.min=Math.min(t.min,r.min),t.max=Math.max(t.max,r.max))}var ez=eR.extend({determineDataLimits:function(){var t,e,i,n,r=this,a=r.options,o=r.chart.data.datasets,s=r._getMatchingVisibleMetas(),l=a.stacked,u={},d=s.length;if(r.min=Number.POSITIVE_INFINITY,r.max=Number.NEGATIVE_INFINITY,void 0===l)for(t=0;!l&&t<d;++t)l=void 0!==(e=s[t]).stack;for(t=0;t<d;++t)i=o[(e=s[t]).index].data,l?eW(r,u,e,i):eY(r,e,i);W.each(u,function(t){n=t.pos.concat(t.neg),r.min=Math.min(r.min,W.min(n)),r.max=Math.max(r.max,W.max(n))}),r.min=W.isFinite(r.min)&&!isNaN(r.min)?r.min:0,r.max=W.isFinite(r.max)&&!isNaN(r.max)?r.max:1,r.handleTickRangeOptions()},_computeTickLimit:function(){var t;return this.isHorizontal()?Math.ceil(this.width/40):(t=W.options._parseFont(this.options.ticks),Math.ceil(this.height/t.lineHeight))},handleDirectionalChanges:function(){this.isHorizontal()||this.ticks.reverse()},getLabelForIndex:function(t,e){return this._getScaleLabel(this.chart.data.datasets[e].data[t])},getPixelForValue:function(t){return this.getPixelForDecimal((+this.getRightValue(t)-this._startValue)/this._valueRange)},getValueForPixel:function(t){return this._startValue+this.getDecimalForPixel(t)*this._valueRange},getPixelForTick:function(t){var e=this.ticksAsNumbers;return t<0||t>e.length-1?null:this.getPixelForValue(e[t])}});ez._defaults=e2;var eV=W.valueOrDefault,e6=W.math.log10,eE={position:"left",ticks:{callback:e8.formatters.logarithmic}};function eH(t,e){return W.isFinite(t)&&t>=0?t:e}var eB=e1.extend({determineDataLimits:function(){var t,e,i,n,r,a,o=this,s=o.options,l=o.chart,u=l.data.datasets,d=o.isHorizontal();function h(t){return d?t.xAxisID===o.id:t.yAxisID===o.id}o.min=Number.POSITIVE_INFINITY,o.max=Number.NEGATIVE_INFINITY,o.minNotZero=Number.POSITIVE_INFINITY;var c=s.stacked;if(void 0===c){for(t=0;t<u.length;t++)if(e=l.getDatasetMeta(t),l.isDatasetVisible(t)&&h(e)&&void 0!==e.stack){c=!0;break}}if(s.stacked||c){var f={};for(t=0;t<u.length;t++){var g=[(e=l.getDatasetMeta(t)).type,void 0===s.stacked&&void 0===e.stack?t:"",e.stack].join(".");if(l.isDatasetVisible(t)&&h(e))for(void 0===f[g]&&(f[g]=[]),r=0,a=(n=u[t].data).length;r<a;r++){var $=f[g];isNaN((i=o._parseValue(n[r])).min)||isNaN(i.max)||e.data[r].hidden||i.min<0||i.max<0||($[r]=$[r]||0,$[r]+=i.max)}}W.each(f,function(t){if(t.length>0){var e=W.min(t),i=W.max(t);o.min=Math.min(o.min,e),o.max=Math.max(o.max,i)}})}else for(t=0;t<u.length;t++)if(e=l.getDatasetMeta(t),l.isDatasetVisible(t)&&h(e))for(r=0,a=(n=u[t].data).length;r<a;r++)isNaN((i=o._parseValue(n[r])).min)||isNaN(i.max)||e.data[r].hidden||i.min<0||i.max<0||(o.min=Math.min(i.min,o.min),o.max=Math.max(i.max,o.max),0!==i.min&&(o.minNotZero=Math.min(i.min,o.minNotZero)));o.min=W.isFinite(o.min)?o.min:null,o.max=W.isFinite(o.max)?o.max:null,o.minNotZero=W.isFinite(o.minNotZero)?o.minNotZero:null,this.handleTickRangeOptions()},handleTickRangeOptions:function(){var t=this,e=t.options.ticks;t.min=eH(e.min,t.min),t.max=eH(e.max,t.max),t.min===t.max&&(0!==t.min&&null!==t.min?(t.min=Math.pow(10,Math.floor(e6(t.min))-1),t.max=Math.pow(10,Math.floor(e6(t.max))+1)):(t.min=1,t.max=10)),null===t.min&&(t.min=Math.pow(10,Math.floor(e6(t.max))-1)),null===t.max&&(t.max=0!==t.min?Math.pow(10,Math.floor(e6(t.min))+1):10),null===t.minNotZero&&(t.min>0?t.minNotZero=t.min:t.max<1?t.minNotZero=Math.pow(10,Math.floor(e6(t.max))):t.minNotZero=1)},buildTicks:function(){var t=this,e=t.options.ticks,i=!t.isHorizontal(),n={min:eH(e.min),max:eH(e.max)},r=t.ticks=function(t,e){var i,n,r,a=[],o=eV(t.min,Math.pow(10,Math.floor(e6(e.min)))),s=Math.floor(e6(e.max)),l=Math.ceil(e.max/Math.pow(10,s));0===o?(n=Math.floor(e6(e.minNotZero)),r=Math.floor(e.minNotZero/Math.pow(10,n)),a.push(o),o=r*Math.pow(10,n)):(n=Math.floor(e6(o)),r=Math.floor(o/Math.pow(10,n)));var u=n<0?Math.pow(10,Math.abs(n)):1;do a.push(o),10==++r&&(r=1,u=++n>=0?1:u),o=Math.round(r*Math.pow(10,n)*u)/u;while(n<s||n===s&&r<l);return a.push(eV(t.max,o)),a}(n,t);t.max=W.max(r),t.min=W.min(r),e.reverse?(i=!i,t.start=t.max,t.end=t.min):(t.start=t.min,t.end=t.max),i&&r.reverse()},convertTicksToLabels:function(){this.tickValues=this.ticks.slice(),e1.prototype.convertTicksToLabels.call(this)},getLabelForIndex:function(t,e){return this._getScaleLabel(this.chart.data.datasets[e].data[t])},getPixelForTick:function(t){var e=this.tickValues;return t<0||t>e.length-1?null:this.getPixelForValue(e[t])},_getFirstTickValue:function(t){var e=Math.floor(e6(t));return Math.floor(t/Math.pow(10,e))*Math.pow(10,e)},_configure:function(){var t=this,e=t.min,i=0;e1.prototype._configure.call(t),0===e&&(e=t._getFirstTickValue(t.minNotZero),i=eV(t.options.ticks.fontSize,I.global.defaultFontSize)/t._length),t._startValue=e6(e),t._valueOffset=i,t._valueRange=(e6(t.max)-e6(e))/(1-i)},getPixelForValue:function(t){var e=0;return(t=+this.getRightValue(t))>this.min&&t>0&&(e=(e6(t)-this._startValue)/this._valueRange+this._valueOffset),this.getPixelForDecimal(e)},getValueForPixel:function(t){var e=this.getDecimalForPixel(t);return 0===e&&0===this.min?0:Math.pow(10,this._startValue+(e-this._valueOffset)*this._valueRange)}});eB._defaults=eE;var e5=W.valueOrDefault,e7=W.valueAtIndexOrDefault,eU=W.options.resolve,eN={display:!0,animate:!0,position:"chartArea",angleLines:{display:!0,color:"rgba(0,0,0,0.1)",lineWidth:1,borderDash:[],borderDashOffset:0},gridLines:{circular:!1},ticks:{showLabelBackdrop:!0,backdropColor:"rgba(255,255,255,0.75)",backdropPaddingY:2,backdropPaddingX:2,callback:e8.formatters.linear},pointLabels:{display:!0,fontSize:10,callback:function(t){return t}}};function ej(t){var e=t.ticks;return e.display&&t.display?e5(e.fontSize,I.global.defaultFontSize)+2*e.backdropPaddingY:0}function eG(t,e,i,n,r){return t===n||t===r?{start:e-i/2,end:e+i/2}:t<n||t>r?{start:e-i,end:e}:{start:e,end:e+i}}function eq(t){return 0===t||180===t?"center":t<180?"left":"right"}function eZ(t,e,i,n){var r,a,o=i.y+n/2;if(W.isArray(e))for(r=0,a=e.length;r<a;++r)t.fillText(e[r],i.x,o),o+=n;else t.fillText(e,i.x,o)}function e9(t,e,i){90===t||270===t?i.y-=e.h/2:(t>270||t<90)&&(i.y-=e.h)}function eX(t){return W.isNumber(t)?t:0}var eK=eR.extend({setDimensions:function(){var t=this;t.width=t.maxWidth,t.height=t.maxHeight,t.paddingTop=ej(t.options)/2,t.xCenter=Math.floor(t.width/2),t.yCenter=Math.floor((t.height-t.paddingTop)/2),t.drawingArea=Math.min(t.height-t.paddingTop,t.width)/2},determineDataLimits:function(){var t=this,e=t.chart,i=Number.POSITIVE_INFINITY,n=Number.NEGATIVE_INFINITY;W.each(e.data.datasets,function(r,a){if(e.isDatasetVisible(a)){var o=e.getDatasetMeta(a);W.each(r.data,function(e,r){var a=+t.getRightValue(e);isNaN(a)||o.data[r].hidden||(i=Math.min(a,i),n=Math.max(a,n))})}}),t.min=i===Number.POSITIVE_INFINITY?0:i,t.max=n===Number.NEGATIVE_INFINITY?0:n,t.handleTickRangeOptions()},_computeTickLimit:function(){return Math.ceil(this.drawingArea/ej(this.options))},convertTicksToLabels:function(){var t=this;eR.prototype.convertTicksToLabels.call(t),t.pointLabels=t.chart.data.labels.map(function(){var e=W.callback(t.options.pointLabels.callback,arguments,t);return e||0===e?e:""})},getLabelForIndex:function(t,e){return+this.getRightValue(this.chart.data.datasets[e].data[t])},fit:function(){var t=this.options;t.display&&t.pointLabels.display?function(t){var e,i,n,r=W.options._parseFont(t.options.pointLabels),a={l:0,r:t.width,t:0,b:t.height-t.paddingTop},o={};t.ctx.font=r.string,t._pointLabelSizes=[];var s,l,u,d=t.chart.data.labels.length;for(e=0;e<d;e++){n=t.getPointPosition(e,t.drawingArea+5),s=t.ctx,l=r.lineHeight,u=t.pointLabels[e],i=W.isArray(u)?{w:W.longestText(s,s.font,u),h:u.length*l}:{w:s.measureText(u).width,h:l},t._pointLabelSizes[e]=i;var h=t.getIndexAngle(e),c=W.toDegrees(h)%360,f=eG(c,n.x,i.w,0,180),g=eG(c,n.y,i.h,90,270);f.start<a.l&&(a.l=f.start,o.l=h),f.end>a.r&&(a.r=f.end,o.r=h),g.start<a.t&&(a.t=g.start,o.t=h),g.end>a.b&&(a.b=g.end,o.b=h)}t.setReductions(t.drawingArea,a,o)}(this):this.setCenterPoint(0,0,0,0)},setReductions:function(t,e,i){var n=this,r=e.l/Math.sin(i.l),a=Math.max(e.r-n.width,0)/Math.sin(i.r),o=-e.t/Math.cos(i.t),s=-Math.max(e.b-(n.height-n.paddingTop),0)/Math.cos(i.b);r=eX(r),a=eX(a),o=eX(o),s=eX(s),n.drawingArea=Math.min(Math.floor(t-(r+a)/2),Math.floor(t-(o+s)/2)),n.setCenterPoint(r,a,o,s)},setCenterPoint:function(t,e,i,n){var r=this,a=r.width-e-r.drawingArea,o=t+r.drawingArea,s=i+r.drawingArea,l=r.height-r.paddingTop-n-r.drawingArea;r.xCenter=Math.floor((o+a)/2+r.left),r.yCenter=Math.floor((s+l)/2+r.top+r.paddingTop)},getIndexAngle:function(t){var e=this.chart,i=(t*(360/e.data.labels.length)+((e.options||{}).startAngle||0))%360;return(i<0?i+360:i)*Math.PI*2/360},getDistanceFromCenterForValue:function(t){if(W.isNullOrUndef(t))return NaN;var e=this.drawingArea/(this.max-this.min);return this.options.ticks.reverse?(this.max-t)*e:(t-this.min)*e},getPointPosition:function(t,e){var i=this.getIndexAngle(t)-Math.PI/2;return{x:Math.cos(i)*e+this.xCenter,y:Math.sin(i)*e+this.yCenter}},getPointPositionForValue:function(t,e){return this.getPointPosition(t,this.getDistanceFromCenterForValue(e))},getBasePosition:function(t){var e=this.min,i=this.max;return this.getPointPositionForValue(t||0,this.beginAtZero?0:e<0&&i<0?i:e>0&&i>0?e:0)},_drawGrid:function(){var t,e,i,n=this,r=n.ctx,a=n.options,o=a.gridLines,s=a.angleLines,l=e5(s.lineWidth,o.lineWidth),u=e5(s.color,o.color);if(a.pointLabels.display&&function(t){var e=t.ctx,i=t.options,n=i.pointLabels,r=ej(i),a=t.getDistanceFromCenterForValue(i.ticks.reverse?t.min:t.max),o=W.options._parseFont(n);e.save(),e.font=o.string,e.textBaseline="middle";for(var s=t.chart.data.labels.length-1;s>=0;s--){var l=0===s?r/2:0,u=t.getPointPosition(s,a+l+5),d=e7(n.fontColor,s,I.global.defaultFontColor);e.fillStyle=d;var h=t.getIndexAngle(s),c=W.toDegrees(h);e.textAlign=eq(c),e9(c,t._pointLabelSizes[s],u),eZ(e,t.pointLabels[s],u,o.lineHeight)}e.restore()}(n),o.display&&W.each(n.ticks,function(t,i){0!==i&&(e=n.getDistanceFromCenterForValue(n.ticksAsNumbers[i]),function(t,e,i,n){var r,a=t.ctx,o=e.circular,s=t.chart.data.labels.length,l=e7(e.color,n-1),u=e7(e.lineWidth,n-1);if((o||s)&&l&&u){if(a.save(),a.strokeStyle=l,a.lineWidth=u,a.setLineDash&&(a.setLineDash(e.borderDash||[]),a.lineDashOffset=e.borderDashOffset||0),a.beginPath(),o)a.arc(t.xCenter,t.yCenter,i,0,2*Math.PI);else{r=t.getPointPosition(0,i),a.moveTo(r.x,r.y);for(var d=1;d<s;d++)r=t.getPointPosition(d,i),a.lineTo(r.x,r.y)}a.closePath(),a.stroke(),a.restore()}}(n,o,e,i))}),s.display&&l&&u){for(r.save(),r.lineWidth=l,r.strokeStyle=u,r.setLineDash&&(r.setLineDash(eU([s.borderDash,o.borderDash,[]])),r.lineDashOffset=eU([s.borderDashOffset,o.borderDashOffset,0])),t=n.chart.data.labels.length-1;t>=0;t--)e=n.getDistanceFromCenterForValue(a.ticks.reverse?n.min:n.max),i=n.getPointPosition(t,e),r.beginPath(),r.moveTo(n.xCenter,n.yCenter),r.lineTo(i.x,i.y),r.stroke();r.restore()}},_drawLabels:function(){var t=this,e=t.ctx,i=t.options.ticks;if(i.display){var n,r,a=t.getIndexAngle(0),o=W.options._parseFont(i),s=e5(i.fontColor,I.global.defaultFontColor);e.save(),e.font=o.string,e.translate(t.xCenter,t.yCenter),e.rotate(a),e.textAlign="center",e.textBaseline="middle",W.each(t.ticks,function(a,l){(0!==l||i.reverse)&&(n=t.getDistanceFromCenterForValue(t.ticksAsNumbers[l]),i.showLabelBackdrop&&(r=e.measureText(a).width,e.fillStyle=i.backdropColor,e.fillRect(-r/2-i.backdropPaddingX,-n-o.size/2-i.backdropPaddingY,r+2*i.backdropPaddingX,o.size+2*i.backdropPaddingY)),e.fillStyle=s,e.fillText(a,0,-n))}),e.restore()}},_drawTitle:W.noop});eK._defaults=eN;var eJ=W._deprecated,eQ=W.options.resolve,it=W.valueOrDefault,ie=Number.MIN_SAFE_INTEGER||-9007199254740991,ii=Number.MAX_SAFE_INTEGER||9007199254740991,ir={millisecond:{common:!0,size:1,steps:1e3},second:{common:!0,size:1e3,steps:60},minute:{common:!0,size:6e4,steps:60},hour:{common:!0,size:36e5,steps:24},day:{common:!0,size:864e5,steps:30},week:{common:!1,size:6048e5,steps:4},month:{common:!0,size:2628e6,steps:12},quarter:{common:!1,size:7884e6,steps:4},year:{common:!0,size:3154e7}},ia=Object.keys(ir);function io(t,e){return t-e}function is(t){return W.valueOrDefault(t.time.min,t.ticks.min)}function il(t){return W.valueOrDefault(t.time.max,t.ticks.max)}function iu(t,e,i,n){var r=function(t,e,i){for(var n,r,a,o=0,s=t.length-1;o>=0&&o<=s;){if(r=t[(n=o+s>>1)-1]||null,a=t[n],!r)return{lo:null,hi:a};if(a[e]<i)o=n+1;else{if(!(r[e]>i))return{lo:r,hi:a};s=n-1}}return{lo:a,hi:null}}(t,e,i),a=r.lo?r.hi?r.lo:t[t.length-2]:t[0],o=r.lo?r.hi?r.hi:t[t.length-1]:t[1],s=o[e]-a[e],l=s?(i-a[e])/s:0,u=(o[n]-a[n])*l;return a[n]+u}function id(t,e){var i=t._adapter,n=t.options.time,r=n.parser,a=r||n.format,o=e;return"function"==typeof r&&(o=r(o)),W.isFinite(o)||(o="string"==typeof a?i.parse(o,a):i.parse(o)),null!==o?+o:(r||"function"!=typeof a||(o=a(e),W.isFinite(o)||(o=i.parse(o))),o)}function ih(t,e){if(W.isNullOrUndef(e))return null;var i=t.options.time,n=id(t,t.getRightValue(e));return null===n||i.round&&(n=+t._adapter.startOf(n,i.round)),n}function ic(t,e,i,n){var r,a,o,s=ia.length;for(r=ia.indexOf(t);r<s-1;++r)if(o=(a=ir[ia[r]]).steps?a.steps:ii,a.common&&Math.ceil((i-e)/(o*a.size))<=n)return ia[r];return ia[s-1]}function ig(t,e,i){var n,r,a=[],o={},s=e.length;for(n=0;n<s;++n)o[r=e[n]]=n,a.push({value:r,major:!1});return 0!==s&&i?function(t,e,i,n){var r,a,o=t._adapter,s=+o.startOf(e[0].value,n),l=e[e.length-1].value;for(r=s;r<=l;r=+o.add(r,1,n))(a=i[r])>=0&&(e[a].major=!0);return e}(t,a,o,i):a}var i$=e1.extend({initialize:function(){this.mergeTicksOptions(),e1.prototype.initialize.call(this)},update:function(){var t=this,e=t.options,i=e.time||(e.time={}),n=t._adapter=new ex._date(e.adapters.date);return eJ("time scale",i.format,"time.format","time.parser"),eJ("time scale",i.min,"time.min","ticks.min"),eJ("time scale",i.max,"time.max","ticks.max"),W.mergeIf(i.displayFormats,n.formats()),e1.prototype.update.apply(t,arguments)},getRightValue:function(t){return t&&void 0!==t.t&&(t=t.t),e1.prototype.getRightValue.call(this,t)},determineDataLimits:function(){var t,e,i,n,r,a,o,s=this,l=s.chart,u=s._adapter,d=s.options,h=d.time.unit||"day",c=ii,f=ie,g=[],$=[],m=[],p=s._getLabels();for(t=0,i=p.length;t<i;++t)m.push(ih(s,p[t]));for(t=0,i=(l.data.datasets||[]).length;t<i;++t)if(l.isDatasetVisible(t)){if(r=l.data.datasets[t].data,W.isObject(r[0]))for($[t]=[],e=0,n=r.length;e<n;++e)a=ih(s,r[e]),g.push(a),$[t][e]=a;else $[t]=m.slice(0),o||(g=g.concat(m),o=!0)}else $[t]=[];m.length&&(c=Math.min(c,m[0]),f=Math.max(f,m[m.length-1])),g.length&&(g=i>1?(function(t){var e,i,n,r={},a=[];for(e=0,i=t.length;e<i;++e)r[n=t[e]]||(r[n]=!0,a.push(n));return a})(g).sort(io):g.sort(io),c=Math.min(c,g[0]),f=Math.max(f,g[g.length-1])),c=ih(s,is(d))||c,f=ih(s,il(d))||f,c=c===ii?+u.startOf(Date.now(),h):c,f=f===ie?+u.endOf(Date.now(),h)+1:f,s.min=Math.min(c,f),s.max=Math.max(c+1,f),s._table=[],s._timestamps={data:g,datasets:$,labels:m}},buildTicks:function(){var t,e,i,n,r,a,o,s,l,u,d=this,h=d.min,c=d.max,f=d.options,g=f.ticks,$=f.time,m=d._timestamps,p=[],v=d.getLabelCapacity(h),_=g.source,y=f.distribution;for(m="data"===_||"auto"===_&&"series"===y?m.data:"labels"===_?m.labels:function(t,e,i,n){var r,a=t._adapter,o=t.options,s=o.time,l=s.unit||ic(s.minUnit,e,i,n),u=eQ([s.stepSize,s.unitStepSize,1]),d="week"===l&&s.isoWeekday,h=e,c=[];if(d&&(h=+a.startOf(h,"isoWeek",d)),h=+a.startOf(h,d?"day":l),a.diff(i,e,l)>1e5*u)throw e+" and "+i+" are too far apart with stepSize of "+u+" "+l;for(r=h;r<i;r=+a.add(r,u,l))c.push(r);return r!==i&&"ticks"!==o.bounds||c.push(r),c}(d,h,c,v),"ticks"===f.bounds&&m.length&&(h=m[0],c=m[m.length-1]),h=ih(d,is(f))||h,c=ih(d,il(f))||c,s=0,l=m.length;s<l;++s)(u=m[s])>=h&&u<=c&&p.push(u);return d.min=h,d.max=c,d._unit=$.unit||(g.autoSkip?ic($.minUnit,d.min,d.max,v):function(t,e,i,n,r){var a,o;for(a=ia.length-1;a>=ia.indexOf(i);a--)if(ir[o=ia[a]].common&&t._adapter.diff(r,n,o)>=e-1)return o;return ia[i?ia.indexOf(i):0]}(d,p.length,$.minUnit,d.min,d.max)),d._majorUnit=g.major.enabled&&"year"!==d._unit?function(t){for(var e=ia.indexOf(t)+1,i=ia.length;e<i;++e)if(ir[ia[e]].common)return ia[e]}(d._unit):void 0,d._table=function(t,e,i,n){if("linear"===n||!t.length)return[{time:e,pos:0},{time:i,pos:1},];var r,a,o,s,l,u=[],d=[e];for(r=0,a=t.length;r<a;++r)(s=t[r])>e&&s<i&&d.push(s);for(d.push(i),r=0,a=d.length;r<a;++r)l=d[r+1],o=d[r-1],s=d[r],void 0!==o&&void 0!==l&&Math.round((l+o)/2)===s||u.push({time:s,pos:r/(a-1)});return u}(d._timestamps.data,h,c,y),d._offsets=(t=d._table,e=p,a=0,o=0,(i=f).offset&&e.length&&(n=iu(t,"time",e[0],"pos"),a=1===e.length?1-n:(iu(t,"time",e[1],"pos")-n)/2,r=iu(t,"time",e[e.length-1],"pos"),o=1===e.length?r:(r-iu(t,"time",e[e.length-2],"pos"))/2),{start:a,end:o,factor:1/(a+1+o)}),g.reverse&&p.reverse(),ig(d,p,d._majorUnit)},getLabelForIndex:function(t,e){var i=this._adapter,n=this.chart.data,r=this.options.time,a=n.labels&&t<n.labels.length?n.labels[t]:"",o=n.datasets[e].data[t];return W.isObject(o)&&(a=this.getRightValue(o)),r.tooltipFormat?i.format(id(this,a),r.tooltipFormat):"string"==typeof a?a:i.format(id(this,a),r.displayFormats.datetime)}
6,tickFormatFunction:function(t,e,i,n){var r=this._adapter,a=this.options,o=a.time.displayFormats,s=o[this._unit],l=this._majorUnit,u=o[l],d=i[e],h=a.ticks,c=l&&u&&d&&d.major,f=r.format(t,n||(c?u:s)),g=c?h.major:h.minor,$=eQ([g.callback,g.userCallback,h.callback,h.userCallback]);return $?$(f,e,i):f},convertTicksToLabels:function(t){var e,i,n=[];for(e=0,i=t.length;e<i;++e)n.push(this.tickFormatFunction(t[e].value,e,t));return n},getPixelForOffset:function(t){var e=this._offsets,i=iu(this._table,"time",t,"pos");return this.getPixelForDecimal((e.start+i)*e.factor)},getPixelForValue:function(t,e,i){var n=null;if(void 0!==e&&void 0!==i&&(n=this._timestamps.datasets[i][e]),null===n&&(n=ih(this,t)),null!==n)return this.getPixelForOffset(n)},getPixelForTick:function(t){var e=this.getTicks();return t>=0&&t<e.length?this.getPixelForOffset(e[t].value):null},getValueForPixel:function(t){var e=this._offsets,i=this.getDecimalForPixel(t)/e.factor-e.end,n=iu(this._table,"pos",i,"time");return this._adapter._create(n)},_getLabelSize:function(t){var e=this.options.ticks,i=this.ctx.measureText(t).width,n=W.toRadians(this.isHorizontal()?e.maxRotation:e.minRotation),r=Math.cos(n),a=Math.sin(n),o=it(e.fontSize,I.global.defaultFontSize);return{w:i*r+o*a,h:i*a+o*r}},getLabelWidth:function(t){return this._getLabelSize(t).w},getLabelCapacity:function(t){var e=this.options.time,i=e.displayFormats,n=i[e.unit]||i.millisecond,r=this.tickFormatFunction(t,0,ig(this,[t],this._majorUnit),n),a=this._getLabelSize(r),o=Math.floor(this.isHorizontal()?this.width/a.w:this.height/a.h);return this.options.offset&&o--,o>0?o:1}});i$._defaults={position:"bottom",distribution:"linear",bounds:"data",adapters:{},time:{parser:!1,unit:!1,round:!1,displayFormat:!1,isoWeekday:!1,minUnit:"millisecond",displayFormats:{}},ticks:{autoSkip:!1,source:"auto",major:{enabled:!1}}};var im={category:eI,linear:ez,logarithmic:eB,radialLinear:eK,time:i$},ip=t(function(t,e){t.exports=function(){function e(){return w.apply(null,arguments)}function i(t){return t instanceof Array||"[object Array]"===Object.prototype.toString.call(t)}function n(t){return null!=t&&"[object Object]"===Object.prototype.toString.call(t)}function r(t){return void 0===t}function a(t){return"number"==typeof t||"[object Number]"===Object.prototype.toString.call(t)}function o(t){return t instanceof Date||"[object Date]"===Object.prototype.toString.call(t)}function s(t,e){var i,n=[];for(i=0;i<t.length;++i)n.push(e(t[i],i));return n}function l(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function u(t,e){for(var i in e)l(e,i)&&(t[i]=e[i]);return l(e,"toString")&&(t.toString=e.toString),l(e,"valueOf")&&(t.valueOf=e.valueOf),t}function d(t,e,i,n){return ec(t,e,i,n,!0).utc()}function h(t){return null==t._pf&&(t._pf={empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],meridiem:null,rfc2822:!1,weekdayMismatch:!1}),t._pf}function c(t){if(null==t._isValid){var e=h(t),i=S.call(e.parsedDateParts,function(t){return null!=t}),n=!isNaN(t._d.getTime())&&e.overflow<0&&!e.empty&&!e.invalidMonth&&!e.invalidWeekday&&!e.weekdayMismatch&&!e.nullInput&&!e.invalidFormat&&!e.userInvalidated&&(!e.meridiem||e.meridiem&&i);if(t._strict&&(n=n&&0===e.charsLeftOver&&0===e.unusedTokens.length&&void 0===e.bigHour),null!=Object.isFrozen&&Object.isFrozen(t))return n;t._isValid=n}return t._isValid}function f(t){var e=d(NaN);return null!=t?u(h(e),t):h(e).userInvalidated=!0,e}S=Array.prototype.some?Array.prototype.some:function(t){for(var e=Object(this),i=e.length>>>0,n=0;n<i;n++)if(n in e&&t.call(this,e[n],n,e))return!0;return!1};var g=e.momentProperties=[];function $(t,e){var i,n,a;if(r(e._isAMomentObject)||(t._isAMomentObject=e._isAMomentObject),r(e._i)||(t._i=e._i),r(e._f)||(t._f=e._f),r(e._l)||(t._l=e._l),r(e._strict)||(t._strict=e._strict),r(e._tzm)||(t._tzm=e._tzm),r(e._isUTC)||(t._isUTC=e._isUTC),r(e._offset)||(t._offset=e._offset),r(e._pf)||(t._pf=h(e)),r(e._locale)||(t._locale=e._locale),g.length>0)for(i=0;i<g.length;i++)r(a=e[n=g[i]])||(t[n]=a);return t}var m=!1;function p(t){$(this,t),this._d=new Date(null!=t._d?t._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===m&&(m=!0,e.updateOffset(this),m=!1)}function v(t){return t instanceof p||null!=t&&null!=t._isAMomentObject}function _(t){return t<0?Math.ceil(t)||0:Math.floor(t)}function y(t){var e=+t,i=0;return 0!==e&&isFinite(e)&&(i=_(e)),i}function b(t,e,i){var n,r=Math.min(t.length,e.length),a=Math.abs(t.length-e.length),o=0;for(n=0;n<r;n++)(i&&t[n]!==e[n]||!i&&y(t[n])!==y(e[n]))&&o++;return o+a}function x(t){!1===e.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+t)}function k(t,i){var n=!0;return u(function(){if(null!=e.deprecationHandler&&e.deprecationHandler(null,t),n){for(var r,a=[],o=0;o<arguments.length;o++){if(r="","object"==typeof arguments[o]){for(var s in r+="\n["+o+"] ",arguments[0])r+=s+": "+arguments[0][s]+", ";r=r.slice(0,-2)}else r=arguments[o];a.push(r)}x(t+"\nArguments: "+Array.prototype.slice.call(a).join("")+"\n"+Error().stack),n=!1}return i.apply(this,arguments)},i)}var w,S,D,C={};function P(t,i){null!=e.deprecationHandler&&e.deprecationHandler(t,i),C[t]||(x(i),C[t]=!0)}function T(t){return t instanceof Function||"[object Function]"===Object.prototype.toString.call(t)}function A(t,e){var i,r=u({},t);
vendor: 10,299 bytes, line 6
6for(i in e)l(e,i)&&(n(t[i])&&n(e[i])?(r[i]={},u(r[i],t[i]),u(r[i],e[i])):null!=e[i]?r[i]=e[i]:delete r[i]);for(i in t)l(t,i)&&!l(e,i)&&n(t[i])&&(r[i]=u({},r[i]));return r}function O(t){null!=t&&this.set(t)}e.suppressDeprecationWarnings=!1,e.deprecationHandler=null,D=Object.keys?Object.keys:function(t){var e,i=[];for(e in t)l(t,e)&&i.push(e);return i};var M={};function F(t,e){var i=t.toLowerCase();M[i]=M[i+"s"]=M[e]=t}function I(t){return"string"==typeof t?M[t]||M[t.toLowerCase()]:void 0}function L(t){var e,i,n={};for(i in t)l(t,i)&&(e=I(i))&&(n[e]=t[i]);return n}var R={};function W(t,e){R[t]=e}function Y(t,e,i){var n=""+Math.abs(t);return(t>=0?i?"+":"":"-")+Math.pow(10,Math.max(0,e-n.length)).toString().substr(1)+n}var z=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|YYYYYY|YYYYY|YYYY|YY|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,V=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,E={},H={};function B(t,e,i,n){var r=n;"string"==typeof n&&(r=function(){return this[n]()}),t&&(H[t]=r),e&&(H[e[0]]=function(){return Y(r.apply(this,arguments),e[1],e[2])}),i&&(H[i]=function(){return this.localeData().ordinal(r.apply(this,arguments),t)})}function U(t,e){return t.isValid()?(E[e=N(e,t.localeData())]=E[e]||function(t){var e,i,n,r=t.match(z);for(e=0,i=r.length;e<i;e++)H[r[e]]?r[e]=H[r[e]]:r[e]=(n=r[e]).match(/\[[\s\S]/)?n.replace(/^\[|\]$/g,""):n.replace(/\\/g,"");return function(e){var n,a="";for(n=0;n<i;n++)a+=T(r[n])?r[n].call(e,t):r[n];return a}}(e),E[e](t)):t.localeData().invalidDate()}function N(t,e){var i=5;function n(t){return e.longDateFormat(t)||t}for(V.lastIndex=0;i>=0&&V.test(t);)t=t.replace(V,n),V.lastIndex=0,i-=1;return t}var j=/\d/,G=/\d\d/,q=/\d{3}/,Z=/\d{4}/,X=/[+-]?\d{6}/,K=/\d\d?/,J=/\d\d\d\d?/,Q=/\d\d\d\d\d\d?/,tt=/\d{1,3}/,te=/\d{1,4}/,ti=/[+-]?\d{1,6}/,tn=/\d+/,tr=/[+-]?\d+/,ta=/Z|[+-]\d\d:?\d\d/gi,to=/Z|[+-]\d\d(?::?\d\d)?/gi,ts=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i,tl={};function tu(t,e,i){tl[t]=T(e)?e:function(t,n){return t&&i?i:e}}function td(t,e){return l(tl,t)?tl[t](e._strict,e._locale):RegExp(th(t.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(t,e,i,n,r){return e||i||n||r})))}function th(t){return t.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}var tc={};function tf(t,e){var i,n=e;for("string"==typeof t&&(t=[t]),a(e)&&(n=function(t,i){i[e]=y(t)}),i=0;i<t.length;i++)tc[t[i]]=n}function tg(t,e){tf(t,function(t,i,n,r){n._w=n._w||{},e(t,n._w,n,r)})}function t$(t,e,i){null!=e&&l(tc,t)&&tc[t](e,i._a,i,t)}function tm(t){return tp(t)?366:365}function tp(t){return t%4==0&&t%100!=0||t%400==0}B("Y",0,0,function(){var t=this.year();return t<=9999?""+t:"+"+t}),B(0,["YY",2],0,function(){return this.year()%100}),B(0,["YYYY",4],0,"year"),B(0,["YYYYY",5],0,"year"),B(0,["YYYYYY",6,!0],0,"year"),F("year","y"),R.year=1,tu("Y",tr),tu("YY",K,G),tu("YYYY",te,Z),tu("YYYYY",ti,X),tu("YYYYYY",ti,X),tf(["YYYYY","YYYYYY"],0),tf("YYYY",function(t,i){i[0]=2===t.length?e.parseTwoDigitYear(t):y(t)}),tf("YY",function(t,i){i[0]=e.parseTwoDigitYear(t)}),tf("Y",function(t,e){e[0]=parseInt(t,10)}),e.parseTwoDigitYear=function(t){return y(t)+(y(t)>68?1900:2e3)};var tv,t_=ty("FullYear",!0);function ty(t,i){return function(n){return null!=n?(tx(this,t,n),e.updateOffset(this,i),this):tb(this,t)}}function tb(t,e){return t.isValid()?t._d["get"+(t._isUTC?"UTC":"")+e]():NaN}function tx(t,e,i){t.isValid()&&!isNaN(i)&&("FullYear"===e&&tp(t.year())&&1===t.month()&&29===t.date()?t._d["set"+(t._isUTC?"UTC":"")+e](i,t.month(),t8(i,t.month())):t._d["set"+(t._isUTC?"UTC":"")+e](i))}function t8(t,e){if(isNaN(t)||isNaN(e))return NaN;var i,n=((i=e)%12+12)%12;return t+=(e-n)/12,1===n?tp(t)?29:28:31-n%7%2}tv=Array.prototype.indexOf?Array.prototype.indexOf:function(t){var e;for(e=0;e<this.length;++e)if(this[e]===t)return e;return -1},B("M",["MM",2],"Mo",function(){return this.month()+1}),B("MMM",0,0,function(t){return this.localeData().monthsShort(this,t)}),B("MMMM",0,0,function(t){return this.localeData().months(this,t)}),F("month","M"),R.month=8,tu("M",K),tu("MM",K,G),tu("MMM",function(t,e){return e.monthsShortRegex(t)}),tu("MMMM",function(t,e){return e.monthsRegex(t)}),tf(["M","MM"],function(t,e){e[1]=y(t)-1}),tf(["MMM","MMMM"],function(t,e,i,n){var r=i._locale.monthsParse(t,n,i._strict);null!=r?e[1]=r:h(i).invalidMonth=t});var t0=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,tk="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),tw="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_");function t3(t,e,i){var n,r,a,o=t.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],n=0;n<12;++n)a=d([2e3,n]),this._shortMonthsParse[n]=this.monthsShort(a,"").toLocaleLowerCase(),this._longMonthsParse[n]=this.months(a,"").toLocaleLowerCase();return i?"MMM"===e?-1!==(r=tv.call(this._shortMonthsParse,o))?r:null:-1!==(r=tv.call(this._longMonthsParse,o))?r:null:"MMM"===e?-1!==(r=tv.call(this._shortMonthsParse,o))?r:-1!==(r=tv.call(this._longMonthsParse,o))?r:null:-1!==(r=tv.call(this._longMonthsParse,o))?r:-1!==(r=tv.call(this._shortMonthsParse,o))?r:null}function tS(t,e){var i;if(!t.isValid())return t;if("string"==typeof e){if(/^\d+$/.test(e))e=y(e);else if(!a(e=t.localeData().monthsParse(e)))return t}return i=Math.min(t.date(),t8(t.year(),e)),t._d["set"+(t._isUTC?"UTC":"")+"Month"](e,i),t}function tD(t){return null!=t?(tS(this,t),e.updateOffset(this,!0),this):tb(this,"Month")}var tC=ts,tP=ts;function tT(){function t(t,e){return e.length-t.length}var e,i,n=[],r=[],a=[];for(e=0;e<12;e++)i=d([2e3,e]),n.push(this.monthsShort(i,"")),r.push(this.months(i,"")),a.push(this.months(i,"")),a.push(this.monthsShort(i,""));for(n.sort(t),r.sort(t),a.sort(t),e=0;e<12;e++)n[e]=th(n[e]),r[e]=th(r[e]);for(e=0;e<24;e++)a[e]=th(a[e]);this._monthsRegex=RegExp("^("+a.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=RegExp("^("+r.join("|")+")","i"),this._monthsShortStrictRegex=RegExp("^("+n.join("|")+")","i")}function tA(t,e,i,n,r,a,o){var s;return t<100&&t>=0?(s=new Date(t+400,e,i,n,r,a,o),isFinite(s.getFullYear())&&s.setFullYear(t)):s=new Date(t,e,i,n,r,a,o),s}function tO(t){var e;if(t<100&&t>=0){var i=Array.prototype.slice.call(arguments);i[0]=t+400,e=new Date(Date.UTC.apply(null,i)),isFinite(e.getUTCFullYear())&&e.setUTCFullYear(t)}else e=new Date(Date.UTC.apply(null,arguments));return e}function tM(t,e,i){var n=7+e-i;return-(7+tO(t,0,n).getUTCDay()-e)%7+n-1}function t1(t,e,i,n,r){var a,o,s=1+7*(e-1)+(7+i-n)%7+tM(t,n,r);return s<=0?o=tm(a=t-1)+s:s>tm(t)?(a=t+1,o=s-tm(t)):(a=t,o=s),{year:a,dayOfYear:o}}function tF(t,e,i){var n,r,a=tM(t.year(),e,i),o=Math.floor((t.dayOfYear()-a-1)/7)+1;return o<1?n=o+tI(r=t.year()-1,e,i):o>tI(t.year(),e,i)?(n=o-tI(t.year(),e,i),r=t.year()+1):(r=t.year(),n=o),{week:n,year:r}}function tI(t,e,i){var n=tM(t,e,i),r=tM(t+1,e,i);return(tm(t)-n+r)/7}function tL(t,e){return t.slice(e,7).concat(t.slice(0,e))}B("w",["ww",2],"wo","week"),B("W",["WW",2],"Wo","isoWeek"),F("week","w"),F("isoWeek","W"),R.week=5,R.isoWeek=5,tu("w",K),tu("ww",K,G),tu("W",K),tu("WW",K,G),tg(["w","ww","W","WW"],function(t,e,i,n){e[n.substr(0,1)]=y(t)}),B("d",0,"do","day"),B("dd",0,0,function(t){return this.localeData().weekdaysMin(this,t)}),B("ddd",0,0,function(t){return this.localeData().weekdaysShort(this,t)}),B("dddd",0,0,function(t){return this.localeData().weekdays(this,t)}),B("e",0,0,"weekday"),B("E",0,0,"isoWeekday"),F("day","d"),F("weekday","e"),F("isoWeekday","E"),R.day=11,R.weekday=11,R.isoWeekday=11,tu("d",K),tu("e",K),tu("E",K),tu("dd",function(t,e){return e.weekdaysMinRegex(t)}),tu("ddd",function(t,e){return e.weekdaysShortRegex(t)}),tu("dddd",function(t,e){return e.weekdaysRegex(t)}),tg(["dd","ddd","dddd"],function(t,e,i,n){var r=i._locale.weekdaysParse(t,n,i._strict);null!=r?e.d=r:h(i).invalidWeekday=t}),tg(["d","e","E"],function(t,e,i,n){e[n]=y(t)});var t4="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),tR="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),t2="Su_Mo_Tu_We_Th_Fr_Sa".split("_");function tW(t,e,i){var n,r,a,o=t.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],n=0;n<7;++n)a=d([2e3,1]).day(n),this._minWeekdaysParse[n]=this.weekdaysMin(a,"").toLocaleLowerCase(),this._shortWeekdaysParse[n]=this.weekdaysShort(a,"").toLocaleLowerCase(),this._weekdaysParse[n]=this.weekdays(a,"").toLocaleLowerCase();return i?"dddd"===e?-1!==(r=tv.call(this._weekdaysParse,o))?r:null:"ddd"===e?-1!==(r=tv.call(this._shortWeekdaysParse,o))?r:null:-1!==(r=tv.call(this._minWeekdaysParse,o))?r:null:"dddd"===e?-1!==(r=tv.call(this._weekdaysParse,o))?r:-1!==(r=tv.call(this._shortWeekdaysParse,o))?r:-1!==(r=tv.call(this._minWeekdaysParse,o))?r:null:"ddd"===e?-1!==(r=tv.call(this._shortWeekdaysParse,o))?r:-1!==(r=tv.call(this._weekdaysParse,o))?r:-1!==(r=tv.call(this._minWeekdaysParse,o))?r:null:-1!==(r=tv.call(this._minWeekdaysParse,o))?r:-1!==(r=tv.call(this._weekdaysParse,o))?r:-1!==(r=tv.call(this._shortWeekdaysParse,o))?r:null}var tY=ts,tz=ts,tV=ts;function t6(){function t(t,e){return e.length-t.length}var e,i,n,r,a,o=[],s=[],l=[],u=[];for(e=0;e<7;e++)i=d([2e3,1]).day(e),n=this.weekdaysMin(i,""),r=this.weekdaysShort(i,""),a=this.weekdays(i,""),o.push(n),s.push(r),l.push(a),u.push(n),u.push(r),u.push(a);for(o.sort(t),s.sort(t),l.sort(t),u.sort(t),e=0;e<7;e++)s[e]=th(s[e]),l[e]=th(l[e]),u[e]=th(u[e]);this._weekdaysRegex=RegExp("^("+u.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=RegExp("^("+l.join("|")+")","i"),this._weekdaysShortStrictRegex=RegExp("^("+s.join("|")+")","i"),this._weekdaysMinStrictRegex=RegExp("^("+o.join("|")+")","i")}function tE(){return this.hours()%12||12}function tH(t,e){B(t,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),e)})}function tB(t,e){return e._meridiemParse}B("H",["HH",2],0,"hour"),B("h",["hh",2],0,tE),B("k",["kk",2],0,function(){return this.hours()||24}),B("hmm",0,0,function(){return""+tE.apply(this)+Y(this.minutes(),2)}
vendor: 5,680 bytes, line 6
6),B("hmmss",0,0,function(){return""+tE.apply(this)+Y(this.minutes(),2)+Y(this.seconds(),2)}),B("Hmm",0,0,function(){return""+this.hours()+Y(this.minutes(),2)}),B("Hmmss",0,0,function(){return""+this.hours()+Y(this.minutes(),2)+Y(this.seconds(),2)}),tH("a",!0),tH("A",!1),F("hour","h"),R.hour=13,tu("a",tB),tu("A",tB),tu("H",K),tu("h",K),tu("k",K),tu("HH",K,G),tu("hh",K,G),tu("kk",K,G),tu("hmm",J),tu("hmmss",Q),tu("Hmm",J),tu("Hmmss",Q),tf(["H","HH"],3),tf(["k","kk"],function(t,e,i){var n=y(t);e[3]=24===n?0:n}),tf(["a","A"],function(t,e,i){i._isPm=i._locale.isPM(t),i._meridiem=t}),tf(["h","hh"],function(t,e,i){e[3]=y(t),h(i).bigHour=!0}),tf("hmm",function(t,e,i){var n=t.length-2;e[3]=y(t.substr(0,n)),e[4]=y(t.substr(n)),h(i).bigHour=!0}),tf("hmmss",function(t,e,i){var n=t.length-4,r=t.length-2;e[3]=y(t.substr(0,n)),e[4]=y(t.substr(n,2)),e[5]=y(t.substr(r)),h(i).bigHour=!0}),tf("Hmm",function(t,e,i){var n=t.length-2;e[3]=y(t.substr(0,n)),e[4]=y(t.substr(n))}),tf("Hmmss",function(t,e,i){var n=t.length-4,r=t.length-2;e[3]=y(t.substr(0,n)),e[4]=y(t.substr(n,2)),e[5]=y(t.substr(r))});var t5,t7=ty("Hours",!0),tU={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:tk,monthsShort:tw,week:{dow:0,doy:6},weekdays:t4,weekdaysMin:t2,weekdaysShort:tR,meridiemParse:/[ap]\.?m?\.?/i},tN={},tj={};function tG(t){return t?t.toLowerCase().replace("_","-"):t}function tq(e){var i=null;if(!tN[e]&&t&&t.exports)try{i=t5._abbr,function t(){throw Error("Dynamic requires are not currently supported by rollup-plugin-commonjs")}(),tZ(i)}catch(n){}return tN[e]}function tZ(t,e){var i;return t&&((i=r(e)?tX(t):t9(t,e))?t5=i:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+t+" not found. Did you forget to load it?")),t5._abbr}function t9(t,e){if(null!==e){var i,n=tU;if(e.abbr=t,null!=tN[t])P("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),n=tN[t]._config;else if(null!=e.parentLocale){if(null!=tN[e.parentLocale])n=tN[e.parentLocale]._config;else{if(null==(i=tq(e.parentLocale)))return tj[e.parentLocale]||(tj[e.parentLocale]=[]),tj[e.parentLocale].push({name:t,config:e}),null;n=i._config}}return tN[t]=new O(A(n,e)),tj[t]&&tj[t].forEach(function(t){t9(t.name,t.config)}),tZ(t),tN[t]}return delete tN[t],null}function tX(t){var e;if(t&&t._locale&&t._locale._abbr&&(t=t._locale._abbr),!t)return t5;if(!i(t)){if(e=tq(t))return e;t=[t]}return function(t){for(var e,i,n,r,a=0;a<t.length;){for(e=(r=tG(t[a]).split("-")).length,i=(i=tG(t[a+1]))?i.split("-"):null;e>0;){if(n=tq(r.slice(0,e).join("-")))return n;if(i&&i.length>=e&&b(r,i,!0)>=e-1)break;e--}a++}return t5}(t)}function tK(t){var e,i=t._a;return i&&-2===h(t).overflow&&(e=i[1]<0||i[1]>11?1:i[2]<1||i[2]>t8(i[0],i[1])?2:i[3]<0||i[3]>24||24===i[3]&&(0!==i[4]||0!==i[5]||0!==i[6])?3:i[4]<0||i[4]>59?4:i[5]<0||i[5]>59?5:i[6]<0||i[6]>999?6:-1,h(t)._overflowDayOfYear&&(e<0||e>2)&&(e=2),h(t)._overflowWeeks&&-1===e&&(e=7),h(t)._overflowWeekday&&-1===e&&(e=8),h(t).overflow=e),t}function tJ(t,e,i){return null!=t?t:null!=e?e:i}function tQ(t){var i,n,r,a,o,s,l,u=[];if(!t._d){for(o=(i=t,n=new Date(e.now()),i._useUTC?[n.getUTCFullYear(),n.getUTCMonth(),n.getUTCDate()]:[n.getFullYear(),n.getMonth(),n.getDate()]),t._w&&null==t._a[2]&&null==t._a[1]&&function(t){var e,i,n,r,a,o,s,l;if(null!=(e=t._w).GG||null!=e.W||null!=e.E)a=1,o=4,i=tJ(e.GG,t._a[0],tF(ef(),1,4).year),n=tJ(e.W,1),((r=tJ(e.E,1))<1||r>7)&&(l=!0);else{a=t._locale._week.dow,o=t._locale._week.doy;var u=tF(ef(),a,o);i=tJ(e.gg,t._a[0],u.year),n=tJ(e.w,u.week),null!=e.d?((r=e.d)<0||r>6)&&(l=!0):null!=e.e?(r=e.e+a,(e.e<0||e.e>6)&&(l=!0)):r=a}n<1||n>tI(i,a,o)?h(t)._overflowWeeks=!0:null!=l?h(t)._overflowWeekday=!0:(s=t1(i,n,r,a,o),t._a[0]=s.year,t._dayOfYear=s.dayOfYear)}(t),null!=t._dayOfYear&&(l=tJ(t._a[0],o[0]),(t._dayOfYear>tm(l)||0===t._dayOfYear)&&(h(t)._overflowDayOfYear=!0),a=tO(l,0,t._dayOfYear),t._a[1]=a.getUTCMonth(),t._a[2]=a.getUTCDate()),r=0;r<3&&null==t._a[r];++r)t._a[r]=u[r]=o[r];for(;r<7;r++)t._a[r]=u[r]=null==t._a[r]?2===r?1:0:t._a[r];24===t._a[3]&&0===t._a[4]&&0===t._a[5]&&0===t._a[6]&&(t._nextDay=!0,t._a[3]=0),t._d=(t._useUTC?tO:tA).apply(null,u),s=t._useUTC?t._d.getUTCDay():t._d.getDay(),null!=t._tzm&&t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),t._nextDay&&(t._a[3]=24),t._w&&void 0!==t._w.d&&t._w.d!==s&&(h(t).weekdayMismatch=!0)}}var et=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,ee=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,ei=/Z|[+-]\d\d(?::?\d\d)?/,en=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}
vendor: 6,062 bytes, line 6
6/],],er=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/],],ea=/^\/?Date\((\-?\d+)/i;function eo(t){var e,i,n,r,a,o,s=t._i,l=et.exec(s)||ee.exec(s);if(l){for(h(t).iso=!0,e=0,i=en.length;e<i;e++)if(en[e][1].exec(l[1])){r=en[e][0],n=!1!==en[e][2];break}if(null==r)return void(t._isValid=!1);if(l[3]){for(e=0,i=er.length;e<i;e++)if(er[e][1].exec(l[3])){a=(l[2]||" ")+er[e][0];break}if(null==a)return void(t._isValid=!1)}if(!n&&null!=a)return void(t._isValid=!1);if(l[4]){if(!ei.exec(l[4]))return void(t._isValid=!1);o="Z"}t._f=r+(a||"")+(o||""),ed(t)}else t._isValid=!1}var es=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,el={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function eu(t){var e,i,n,r,a,o,s,l=es.exec(t._i.replace(/\([^)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,""));if(l){var u,d,c,f,g,$=(e=l[4],i=l[3],n=l[2],r=l[5],a=l[6],o=l[7],s=[(u=e,(d=parseInt(u,10))<=49?2e3+d:d<=999?1900+d:d),tw.indexOf(i),parseInt(n,10),parseInt(r,10),parseInt(a,10)],o&&s.push(parseInt(o,10)),s);if(c=l[1],f=$,g=t,c&&tR.indexOf(c)!==new Date(f[0],f[1],f[2]).getDay()&&(h(g).weekdayMismatch=!0,g._isValid=!1,1))return;t._a=$,t._tzm=function(t,e,i){if(t)return el[t];if(e)return 0;var n=parseInt(i,10),r=n%100;return(n-r)/100*60+r}(l[8],l[9],l[10]),t._d=tO.apply(null,t._a),t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),h(t).rfc2822=!0}else t._isValid=!1}function ed(t){if(t._f!==e.ISO_8601){if(t._f!==e.RFC_2822){t._a=[],h(t).empty=!0;var i,n,r,a,o,s,l,u,d,c=""+t._i,f=c.length,g=0;for(l=N(t._f,t._locale).match(z)||[],o=0;o<l.length;o++)u=l[o],(s=(c.match(td(u,t))||[])[0])&&((d=c.substr(0,c.indexOf(s))).length>0&&h(t).unusedInput.push(d),c=c.slice(c.indexOf(s)+s.length),g+=s.length),H[u]?(s?h(t).empty=!1:h(t).unusedTokens.push(u),t$(u,s,t)):t._strict&&!s&&h(t).unusedTokens.push(u);h(t).charsLeftOver=f-g,c.length>0&&h(t).unusedInput.push(c),t._a[3]<=12&&!0===h(t).bigHour&&t._a[3]>0&&(h(t).bigHour=void 0),h(t).parsedDateParts=t._a.slice(0),h(t).meridiem=t._meridiem,t._a[3]=(i=t._locale,n=t._a[3],null==(r=t._meridiem)?n:null!=i.meridiemHour?i.meridiemHour(n,r):(null!=i.isPM&&((a=i.isPM(r))&&n<12&&(n+=12),a||12!==n||(n=0)),n)),tQ(t),tK(t)}else eu(t)}else eo(t)}function eh(t){var l,d,g,m,_=t._i,y=t._f;return t._locale=t._locale||tX(t._l),null===_||void 0===y&&""===_?f({nullInput:!0}):("string"==typeof _&&(t._i=_=t._locale.preparse(_)),v(_)?new p(tK(_)):(o(_)?t._d=_:i(y)?function(t){var e,i,n,r,a;if(0===t._f.length)return h(t).invalidFormat=!0,void(t._d=new Date(NaN));for(r=0;r<t._f.length;r++)a=0,e=$({},t),null!=t._useUTC&&(e._useUTC=t._useUTC),e._f=t._f[r],ed(e),c(e)&&(a+=h(e).charsLeftOver,a+=10*h(e).unusedTokens.length,h(e).score=a,(null==n||a<n)&&(n=a,i=e));u(t,i||e)}(t):y?ed(t):r(d=(l=t)._i)?l._d=new Date(e.now()):o(d)?l._d=new Date(d.valueOf()):"string"==typeof d?(g=l,null===(m=ea.exec(g._i))?(eo(g),!1===g._isValid&&(delete g._isValid,eu(g),!1===g._isValid&&(delete g._isValid,e.createFromInputFallback(g)))):g._d=new Date(+m[1])):i(d)?(l._a=s(d.slice(0),function(t){return parseInt(t,10)}),tQ(l)):n(d)?function(t){if(!t._d){var e=L(t._i);t._a=s([e.year,e.month,e.day||e.date,e.hour,e.minute,e.second,e.millisecond],function(t){return t&&parseInt(t,10)}),tQ(t)}}(l):a(d)?l._d=new Date(d):e.createFromInputFallback(l),c(t)||(t._d=null),t))}function ec(t,e,r,a,o){var s,l={};return!0!==r&&!1!==r||(a=r,r=void 0),(n(t)&&function(t){var e;if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(t).length;for(e in t)if(t.hasOwnProperty(e))return!1;return!0}(t)||i(t)&&0===t.length)&&(t=void 0),l._isAMomentObject=!0,l._useUTC=l._isUTC=o,l._l=r,l._i=t,l._f=e,l._strict=a,(s=new p(tK(eh(l))))._nextDay&&(s.add(1,"d"),s._nextDay=void 0),s}function ef(t,e,i,n){return ec(t,e,i,n,!1)}e.createFromInputFallback=k("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged and will be removed in an upcoming major release. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(t){t._d=new Date(t._i+(t._useUTC?" UTC":""))}),e.ISO_8601=function(){},e.RFC_2822=function(){};var eg=k("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var t=ef.apply(null,arguments);return this.isValid()&&t.isValid()?t<this?this:t:f()}),e$=k("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var t=ef.apply(null,arguments);return this.isValid()&&t.isValid()?t>this?this:t:f()});function em(t,e){var n,r;if(1===e.length&&i(e[0])&&(e=e[0]),!e.length)return ef();for(n=e[0],r=1;r<e.length;++r)e[r].isValid()&&!e[r][t](n)||(n=e[r]);return n}var ep=["year","quarter","month","week","day","hour","minute","second","millisecond"];function ev(t){var e=L(t),i=e.year||0,n=e.quarter||0,r=e.month||0,a=e.week||e.isoWeek||0,o=e.day||0,s=e.hour||0,l=e.minute||0,u=e.second||0,d=e.millisecond||0;this._isValid=function(t){for(var e in t)if(-1===tv.call(ep,e)||null!=t[e]&&isNaN(t[e]))return!1;for(var i=!1,n=0;n<ep.length;++n)if(t[ep[n]]){if(i)return!1;parseFloat(t[ep[n]])!==y(t[ep[n]])&&(i=!0)}return!0}(e),this._milliseconds=+d+1e3*u+6e4*l+1e3*s*3600,this._days=+o+7*a,this._months=+r+3*n+12*i,this._data={},this._locale=tX(),this._bubble()}function e_(t){return t instanceof ev}function ey(t){return t<0?-1*Math.round(-1*t):Math.round(t)}function eb(t,e){B(t,0,0,function(){var t=this.utcOffset(),i="+";return t<0&&(t=-t,i="-"),i+Y(~~(t/60),2)+e+Y(~~t%60,2)})}eb("Z",":"),eb("ZZ",""),tu("Z",to),tu("ZZ",to),tf(["Z","ZZ"],function(t,e,
vendor: 1,162 bytes, line 6
6i){i._useUTC=!0,i._tzm=e8(to,t)});var ex=/([\+\-]|\d\d)/gi;function e8(t,e){var i=(e||"").match(t);if(null===i)return null;var n=((i[i.length-1]||[])+"").match(ex)||["-",0,0],r=60*n[1]+y(n[2]);return 0===r?0:"+"===n[0]?r:-r}function e0(t,i){var n,r;return i._isUTC?(n=i.clone(),r=(v(t)||o(t)?t.valueOf():ef(t).valueOf())-n.valueOf(),n._d.setTime(n._d.valueOf()+r),e.updateOffset(n,!1),n):ef(t).local()}function ek(t){return-(15*Math.round(t._d.getTimezoneOffset()/15))}function ew(){return!!this.isValid()&&this._isUTC&&0===this._offset}e.updateOffset=function(){};var e3=/^(\-|\+)?(?:(\d*)[. ])?(\d+)\:(\d+)(?:\:(\d+)(\.\d*)?)?$/,eS=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function eD(t,e){var i,n,r,o,s,u,d=t,h=null;return e_(t)?d={ms:t._milliseconds,d:t._days,M:t._months}:a(t)?(d={},e?d[e]=t:d.milliseconds=t):(h=e3.exec(t))?(i="-"===h[1]?-1:1,d={y:0,d:y(h[2])*i,h:y(h[3])*i,m:y(h[4])*i,s:y(h[5])*i,ms:y(ey(1e3*h[6]))*i}):(h=eS.exec(t))?(i="-"===h[1]?-1:1,d={y:eC(h[2],i),M:eC(h[3],i),w:eC(h[4],i),d:eC(h[5],i),h:eC(h[6],i),m:eC(h[7
vendor: 4,711 bytes, line 6
6],i),s:eC(h[8],i)}):null==d?d={}:"object"==typeof d&&("from"in d||"to"in d)&&(o=ef(d.from),s=ef(d.to),r=o.isValid()&&s.isValid()?(s=e0(s,o),o.isBefore(s)?u=eP(o,s):((u=eP(s,o)).milliseconds=-u.milliseconds,u.months=-u.months),u):{milliseconds:0,months:0},(d={}).ms=r.milliseconds,d.M=r.months),n=new ev(d),e_(t)&&l(t,"_locale")&&(n._locale=t._locale),n}function eC(t,e){var i=t&&parseFloat(t.replace(",","."));return(isNaN(i)?0:i)*e}function eP(t,e){var i={};return i.months=e.month()-t.month()+12*(e.year()-t.year()),t.clone().add(i.months,"M").isAfter(e)&&--i.months,i.milliseconds=+e-+t.clone().add(i.months,"M"),i}function eT(t,e){return function(i,n){var r;return null===n||isNaN(+n)||(P(e,"moment()."+e+"(period, number) is deprecated. Please use moment()."+e+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),r=i,i=n,n=r),eA(this,eD(i="string"==typeof i?+i:i,n),t),this}}function eA(t,i,n,r){var a=i._milliseconds,o=ey(i._days),s=ey(i._months);t.isValid()&&(r=null==r||r,s&&tS(t,tb(t,"Month")+s*n),o&&tx(t,"Date",tb(t,"Date")+o*n),a&&t._d.setTime(t._d.valueOf()+a*n),r&&e.updateOffset(t,o||s))}eD.fn=ev.prototype,eD.invalid=function(){return eD(NaN)};var eO=eT(1,"add"),eM=eT(-1,"subtract");function e1(t,e){var i=12*(e.year()-t.year())+(e.month()-t.month()),n=t.clone().add(i,"months");return-(i+(e-n<0?(e-n)/(n-t.clone().add(i-1,"months")):(e-n)/(t.clone().add(i+1,"months")-n)))||0}function eF(t){var e;return void 0===t?this._locale._abbr:(null!=(e=tX(t))&&(this._locale=e),this)}e.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",e.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var eI=k("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(t){return void 0===t?this.localeData():this.locale(t)});function eL(){return this._locale}var e4=36e5,eR=3506328*e4;function e2(t,e){return(t%e+e)%e}function eW(t,e,i){return t<100&&t>=0?new Date(t+400,e,i)-eR:new Date(t,e,i).valueOf()}function eY(t,e,i){return t<100&&t>=0?Date.UTC(t+400,e,i)-eR:Date.UTC(t,e,i)}function ez(t,e){B(0,[t,t.length],0,e)}function eV(t,e,i,n,r){var a;return null==t?tF(this,n,r).year:(e>(a=tI(t,n,r))&&(e=a),e6.call(this,t,e,i,n,r))}function e6(t,e,i,n,r){var a=t1(t,e,i,n,r),o=tO(a.year,0,a.dayOfYear);return this.year(o.getUTCFullYear()),this.month(o.getUTCMonth()),this.date(o.getUTCDate()),this}B(0,["gg",2],0,function(){return this.weekYear()%100}),B(0,["GG",2],0,function(){return this.isoWeekYear()%100}),ez("gggg","weekYear"),ez("ggggg","weekYear"),ez("GGGG","isoWeekYear"),ez("GGGGG","isoWeekYear"),F("weekYear","gg"),F("isoWeekYear","GG"),R.weekYear=1,R.isoWeekYear=1,tu("G",tr),tu("g",tr),tu("GG",K,G),tu("gg",K,G),tu("GGGG",te,Z),tu("gggg",te,Z),tu("GGGGG",ti,X),tu("ggggg",ti,X),tg(["gggg","ggggg","GGGG","GGGGG"],function(t,e,i,n){e[n.substr(0,2)]=y(t)}),tg(["gg","GG"],function(t,i,n,r){i[r]=e.parseTwoDigitYear(t)}),B("Q",0,"Qo","quarter"),F("quarter","Q"),R.quarter=7,tu("Q",j),tf("Q",function(t,e){e[1]=3*(y(t)-1)}),B("D",["DD",2],"Do","date"),F("date","D"),R.date=9,tu("D",K),tu("DD",K,G),tu("Do",function(t,e){return t?e._dayOfMonthOrdinalParse||e._ordinalParse:e._dayOfMonthOrdinalParseLenient}),tf(["D","DD"],2),tf("Do",function(t,e){e[2]=y(t.match(K)[0])});var eE=ty("Date",!0);B("DDD",["DDDD",3],"DDDo","dayOfYear"),F("dayOfYear","DDD"),R.dayOfYear=4,tu("DDD",tt),tu("DDDD",q),tf(["DDD","DDDD"],function(t,e,i){i._dayOfYear=y(t)}),B("m",["mm",2],0,"minute"),F("minute","m"),R.minute=14,tu("m",K),tu("mm",K,G),tf(["m","mm"],4);var eH=ty("Minutes",!1);B("s",["ss",2],0,"second"),F("second","s"),R.second=15,tu("s",K),tu("ss",K,G),tf(["s","ss"],5);var eB,e5=ty("Seconds",!1);for(B("S",0,0,function(){return~~(this.millisecond()/100)}),B(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),B(0,["SSS",3],0,"millisecond"),B(0,["SSSS",4],0,function(){return 10*this.millisecond()}),B(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),B(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),B(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),B(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),B(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),F("millisecond","ms"),R.millisecond=16,tu("S",tt,j),tu("SS",tt,G),tu("SSS",tt,q),eB="SSSS";eB.length<=9;eB+="S")tu(eB,tn);function e7(t,e){e[6]=y(1e3*("0."+t))}for(eB="S";eB.length<=9;eB+="S")tf(eB,e7);var eU=ty("Milliseconds",!1);B("z",0,0,"zoneAbbr"),B("zz",0,0,"zoneName");var eN=p.prototype;function ej(t){return t}eN.add=eO,eN.calendar=function(t,i){var n=t||ef(),r=e0(n,this).startOf("day"),a=e.calendarFormat(this,r)||"sameElse",o=i&&(T(i[a])?i[a].call(this,n):i[a]);
vendor: 5,035 bytes, line 6
6return this.format(o||this.localeData().calendar(a,this,ef(n)))},eN.clone=function(){return new p(this)},eN.diff=function(t,e,i){var n,r,a;if(!this.isValid()||!(n=e0(t,this)).isValid())return NaN;switch(r=6e4*(n.utcOffset()-this.utcOffset()),e=I(e)){case"year":a=e1(this,n)/12;break;case"month":a=e1(this,n);break;case"quarter":a=e1(this,n)/3;break;case"second":a=(this-n)/1e3;break;case"minute":a=(this-n)/6e4;break;case"hour":a=(this-n)/36e5;break;case"day":a=(this-n-r)/864e5;break;case"week":a=(this-n-r)/6048e5;break;default:a=this-n}return i?a:_(a)},eN.endOf=function(t){if(void 0===(t=I(t))||"millisecond"===t||!this.isValid())return this;var i,n=this._isUTC?eY:eW;switch(t){case"year":i=n(this.year()+1,0,1)-1;break;case"quarter":i=n(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":i=n(this.year(),this.month()+1,1)-1;break;case"week":i=n(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":i=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":i=n(this.year(),this.month(),this.date()+1)-1;break;case"hour":i=this._d.valueOf(),i+=e4-e2(i+(this._isUTC?0:6e4*this.utcOffset()),e4)-1;break;case"minute":i=this._d.valueOf(),i+=6e4-e2(i,6e4)-1;break;case"second":i=this._d.valueOf(),i+=1e3-e2(i,1e3)-1}return this._d.setTime(i),e.updateOffset(this,!0),this},eN.format=function(t){t||(t=this.isUtc()?e.defaultFormatUtc:e.defaultFormat);var i=U(this,t);return this.localeData().postformat(i)},eN.from=function(t,e){return this.isValid()&&(v(t)&&t.isValid()||ef(t).isValid())?eD({to:this,from:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()},eN.fromNow=function(t){return this.from(ef(),t)},eN.to=function(t,e){return this.isValid()&&(v(t)&&t.isValid()||ef(t).isValid())?eD({from:this,to:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()},eN.toNow=function(t){return this.to(ef(),t)},eN.get=function(t){return T(this[t=I(t)])?this[t]():this},eN.invalidAt=function(){return h(this).overflow},eN.isAfter=function(t,e){var i=v(t)?t:ef(t);return!(!this.isValid()||!i.isValid())&&("millisecond"===(e=I(e)||"millisecond")?this.valueOf()>i.valueOf():i.valueOf()<this.clone().startOf(e).valueOf())},eN.isBefore=function(t,e){var i=v(t)?t:ef(t);return!(!this.isValid()||!i.isValid())&&("millisecond"===(e=I(e)||"millisecond")?this.valueOf()<i.valueOf():this.clone().endOf(e).valueOf()<i.valueOf())},eN.isBetween=function(t,e,i,n){var r=v(t)?t:ef(t),a=v(e)?e:ef(e);return!!(this.isValid()&&r.isValid()&&a.isValid())&&("("===(n=n||"()")[0]?this.isAfter(r,i):!this.isBefore(r,i))&&(")"===n[1]?this.isBefore(a,i):!this.isAfter(a,i))},eN.isSame=function(t,e){var i,n=v(t)?t:ef(t);return!(!this.isValid()||!n.isValid())&&("millisecond"===(e=I(e)||"millisecond")?this.valueOf()===n.valueOf():(i=n.valueOf(),this.clone().startOf(e).valueOf()<=i&&i<=this.clone().endOf(e).valueOf()))},eN.isSameOrAfter=function(t,e){return this.isSame(t,e)||this.isAfter(t,e)},eN.isSameOrBefore=function(t,e){return this.isSame(t,e)||this.isBefore(t,e)},eN.isValid=function(){return c(this)},eN.lang=eI,eN.locale=eF,eN.localeData=eL,eN.max=e$,eN.min=eg,eN.parsingFlags=function(){return u({},h(this))},eN.set=function(t,e){if("object"==typeof t)for(var i=function(t){var e=[];for(var i in t)e.push({unit:i,priority:R[i]});return e.sort(function(t,e){return t.priority-e.priority}),e}(t=L(t)),n=0;n<i.length;n++)this[i[n].unit](t[i[n].unit]);else if(T(this[t=I(t)]))return this[t](e);return this},eN.startOf=function(t){if(void 0===(t=I(t))||"millisecond"===t||!this.isValid())return this;var i,n=this._isUTC?eY:eW;switch(t){case"year":i=n(this.year(),0,1);break;case"quarter":i=n(this.year(),this.month()-this.month()%3,1);break;case"month":i=n(this.year(),this.month(),1);break;case"week":i=n(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":i=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":i=n(this.year(),this.month(),this.date());break;case"hour":i=this._d.valueOf(),i-=e2(i+(this._isUTC?0:6e4*this.utcOffset()),e4);break;case"minute":i=this._d.valueOf(),i-=e2(i,6e4);break;case"second":i=this._d.valueOf(),i-=e2(i,1e3)}return this._d.setTime(i),e.updateOffset(this,!0),this},eN.subtract=eM,eN.toArray=function(){return[this.year(),this.month(),this.date(),this.hour(),this.minute(),this.second(),this.millisecond()]},eN.toObject=function(){return{years:this.year(),months:this.month(),date:this.date(),hours:this.hours(),minutes:this.minutes(),seconds:this.seconds(),milliseconds:this.milliseconds()}},eN.toDate=function(){return new Date(this.valueOf())},eN.toISOString=function(t){if(!this.isValid())return null;var e=!0!==t,i=e?this.clone().utc():this;return 0>i.year()||i.year()>9999?U(i,e?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):T(Date.prototype.toISOString)?e?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",U(i,"Z")):U(i,e?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}
vendor: 5,107 bytes, line 6
6,eN.inspect=function(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var t="moment",e="";this.isLocal()||(t=0===this.utcOffset()?"moment.utc":"moment.parseZone",e="Z");var i="["+t+'("]',n=0<=this.year()&&9999>=this.year()?"YYYY":"YYYYYY",r=e+'[")]';return this.format(i+n+"-MM-DD[T]HH:mm:ss.SSS"+r)},eN.toJSON=function(){return this.isValid()?this.toISOString():null},eN.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},eN.unix=function(){return Math.floor(this.valueOf()/1e3)},eN.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},eN.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},eN.year=t_,eN.isLeapYear=function(){return tp(this.year())},eN.weekYear=function(t){return eV.call(this,t,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},eN.isoWeekYear=function(t){return eV.call(this,t,this.isoWeek(),this.isoWeekday(),1,4)},eN.quarter=eN.quarters=function(t){return null==t?Math.ceil((this.month()+1)/3):this.month(3*(t-1)+this.month()%3)},eN.month=tD,eN.daysInMonth=function(){return t8(this.year(),this.month())},eN.week=eN.weeks=function(t){var e=this.localeData().week(this);return null==t?e:this.add(7*(t-e),"d")},eN.isoWeek=eN.isoWeeks=function(t){var e=tF(this,1,4).week;return null==t?e:this.add(7*(t-e),"d")},eN.weeksInYear=function(){var t=this.localeData()._week;return tI(this.year(),t.dow,t.doy)},eN.isoWeeksInYear=function(){return tI(this.year(),1,4)},eN.date=eE,eN.day=eN.days=function(t){if(!this.isValid())return null!=t?this:NaN;var e,i,n=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=t?(t=(e=t,i=this.localeData(),"string"!=typeof e?e:isNaN(e)?"number"==typeof(e=i.weekdaysParse(e))?e:null:parseInt(e,10)),this.add(t-n,"d")):n},eN.weekday=function(t){if(!this.isValid())return null!=t?this:NaN;var e=(this.day()+7-this.localeData()._week.dow)%7;return null==t?e:this.add(t-e,"d")},eN.isoWeekday=function(t){if(!this.isValid())return null!=t?this:NaN;if(null!=t){var e,i,n=(e=t,i=this.localeData(),"string"==typeof e?i.weekdaysParse(e)%7||7:isNaN(e)?null:e);return this.day(this.day()%7?n:n-7)}return this.day()||7},eN.dayOfYear=function(t){var e=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==t?e:this.add(t-e,"d")},eN.hour=eN.hours=t7,eN.minute=eN.minutes=eH,eN.second=eN.seconds=e5,eN.millisecond=eN.milliseconds=eU,eN.utcOffset=function(t,i,n){var r,a=this._offset||0;if(!this.isValid())return null!=t?this:NaN;if(null!=t){if("string"==typeof t){if(null===(t=e8(to,t)))return this}else 16>Math.abs(t)&&!n&&(t*=60);return!this._isUTC&&i&&(r=ek(this)),this._offset=t,this._isUTC=!0,null!=r&&this.add(r,"m"),a!==t&&(!i||this._changeInProgress?eA(this,eD(t-a,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,e.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?a:ek(this)},eN.utc=function(t){return this.utcOffset(0,t)},eN.local=function(t){return this._isUTC&&(this.utcOffset(0,t),this._isUTC=!1,t&&this.subtract(ek(this),"m")),this},eN.parseZone=function(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var t=e8(ta,this._i);null!=t?this.utcOffset(t):this.utcOffset(0,!0)}return this},eN.hasAlignedHourOffset=function(t){return!!this.isValid()&&(t=t?ef(t).utcOffset():0,(this.utcOffset()-t)%60==0)},eN.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},eN.isLocal=function(){return!!this.isValid()&&!this._isUTC},eN.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},eN.isUtc=ew,eN.isUTC=ew,eN.zoneAbbr=function(){return this._isUTC?"UTC":""},eN.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},eN.dates=k("dates accessor is deprecated. Use date instead.",eE),eN.months=k("months accessor is deprecated. Use month instead",tD),eN.years=k("years accessor is deprecated. Use year instead",t_),eN.zone=k("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",function(t,e){return null!=t?("string"!=typeof t&&(t=-t),this.utcOffset(t,e),this):-this.utcOffset()}),eN.isDSTShifted=k("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",function(){if(!r(this._isDSTShifted))return this._isDSTShifted;var t={};if($(t,this),(t=eh(t))._a){var e=t._isUTC?d(t._a):ef(t._a);this._isDSTShifted=this.isValid()&&b(t._a,e.toArray())>0}else this._isDSTShifted=!1;return this._isDSTShifted});var eG=O.prototype;function eq(t,e,i,n){var r=tX(),a=d().set(n,e);return r[i](a,t)}function eZ(t,e,i){if(a(t)&&(e=t,t=void 0),t=t||"",null!=e)return eq(t,e,i,"month");var n,r=[];for(n=0;n<12;n++)r[n]=eq(t,n,i,"month");return r}function e9(t,e,i,n){"boolean"==typeof t?(a(e)&&(i=e,e=void 0),e=e||""):(i=e=t,t=!1,a(e)&&(i=e,e=void 0),e=e||"");var r,o=tX(),s=t?o._week.dow:0;if(null!=i)return eq(e,(i+s)%7,n,"day");var l=[];for(r=0;r<7;r++)l[r]=eq(e,(r+s)%7,n,"day");return l}
vendor: 9,388 bytes, line 6
6eG.calendar=function(t,e,i){var n=this._calendar[t]||this._calendar.sameElse;return T(n)?n.call(e,i):n},eG.longDateFormat=function(t){var e=this._longDateFormat[t],i=this._longDateFormat[t.toUpperCase()];return e||!i?e:(this._longDateFormat[t]=i.replace(/MMMM|MM|DD|dddd/g,function(t){return t.slice(1)}),this._longDateFormat[t])},eG.invalidDate=function(){return this._invalidDate},eG.ordinal=function(t){return this._ordinal.replace("%d",t)},eG.preparse=ej,eG.postformat=ej,eG.relativeTime=function(t,e,i,n){var r=this._relativeTime[i];return T(r)?r(t,e,i,n):r.replace(/%d/i,t)},eG.pastFuture=function(t,e){var i=this._relativeTime[t>0?"future":"past"];return T(i)?i(e):i.replace(/%s/i,e)},eG.set=function(t){var e,i;for(i in t)T(e=t[i])?this[i]=e:this["_"+i]=e;this._config=t,this._dayOfMonthOrdinalParseLenient=RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},eG.months=function(t,e){return t?i(this._months)?this._months[t.month()]:this._months[(this._months.isFormat||t0).test(e)?"format":"standalone"][t.month()]:i(this._months)?this._months:this._months.standalone},eG.monthsShort=function(t,e){return t?i(this._monthsShort)?this._monthsShort[t.month()]:this._monthsShort[t0.test(e)?"format":"standalone"][t.month()]:i(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},eG.monthsParse=function(t,e,i){var n,r,a;if(this._monthsParseExact)return t3.call(this,t,e,i);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),n=0;n<12;n++)if(r=d([2e3,n]),i&&!this._longMonthsParse[n]&&(this._longMonthsParse[n]=RegExp("^"+this.months(r,"").replace(".","")+"$","i"),this._shortMonthsParse[n]=RegExp("^"+this.monthsShort(r,"").replace(".","")+"$","i")),i||this._monthsParse[n]||(a="^"+this.months(r,"")+"|^"+this.monthsShort(r,""),this._monthsParse[n]=RegExp(a.replace(".",""),"i")),i&&"MMMM"===e&&this._longMonthsParse[n].test(t)||i&&"MMM"===e&&this._shortMonthsParse[n].test(t)||!i&&this._monthsParse[n].test(t))return n},eG.monthsRegex=function(t){return this._monthsParseExact?(l(this,"_monthsRegex")||tT.call(this),t?this._monthsStrictRegex:this._monthsRegex):(l(this,"_monthsRegex")||(this._monthsRegex=tP),this._monthsStrictRegex&&t?this._monthsStrictRegex:this._monthsRegex)},eG.monthsShortRegex=function(t){return this._monthsParseExact?(l(this,"_monthsRegex")||tT.call(this),t?this._monthsShortStrictRegex:this._monthsShortRegex):(l(this,"_monthsShortRegex")||(this._monthsShortRegex=tC),this._monthsShortStrictRegex&&t?this._monthsShortStrictRegex:this._monthsShortRegex)},eG.week=function(t){return tF(t,this._week.dow,this._week.doy).week},eG.firstDayOfYear=function(){return this._week.doy},eG.firstDayOfWeek=function(){return this._week.dow},eG.weekdays=function(t,e){var n=i(this._weekdays)?this._weekdays:this._weekdays[t&&!0!==t&&this._weekdays.isFormat.test(e)?"format":"standalone"];return!0===t?tL(n,this._week.dow):t?n[t.day()]:n},eG.weekdaysMin=function(t){return!0===t?tL(this._weekdaysMin,this._week.dow):t?this._weekdaysMin[t.day()]:this._weekdaysMin},eG.weekdaysShort=function(t){return!0===t?tL(this._weekdaysShort,this._week.dow):t?this._weekdaysShort[t.day()]:this._weekdaysShort},eG.weekdaysParse=function(t,e,i){var n,r,a;if(this._weekdaysParseExact)return tW.call(this,t,e,i);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),n=0;n<7;n++)if(r=d([2e3,1]).day(n),i&&!this._fullWeekdaysParse[n]&&(this._fullWeekdaysParse[n]=RegExp("^"+this.weekdays(r,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[n]=RegExp("^"+this.weekdaysShort(r,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[n]=RegExp("^"+this.weekdaysMin(r,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[n]||(a="^"+this.weekdays(r,"")+"|^"+this.weekdaysShort(r,"")+"|^"+this.weekdaysMin(r,""),this._weekdaysParse[n]=RegExp(a.replace(".",""),"i")),i&&"dddd"===e&&this._fullWeekdaysParse[n].test(t)||i&&"ddd"===e&&this._shortWeekdaysParse[n].test(t)||i&&"dd"===e&&this._minWeekdaysParse[n].test(t)||!i&&this._weekdaysParse[n].test(t))return n},eG.weekdaysRegex=function(t){return this._weekdaysParseExact?(l(this,"_weekdaysRegex")||t6.call(this),t?this._weekdaysStrictRegex:this._weekdaysRegex):(l(this,"_weekdaysRegex")||(this._weekdaysRegex=tY),this._weekdaysStrictRegex&&t?this._weekdaysStrictRegex:this._weekdaysRegex)},eG.weekdaysShortRegex=function(t){return this._weekdaysParseExact?(l(this,"_weekdaysRegex")||t6.call(this),t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(l(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=tz),this._weekdaysShortStrictRegex&&t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},eG.weekdaysMinRegex=function(t){return this._weekdaysParseExact?(l(this,"_weekdaysRegex")||t6.call(this),t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(l(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=tV),this._weekdaysMinStrictRegex&&t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},eG.isPM=function(t){return"p"===(t+"").toLowerCase().charAt(0)},eG.meridiem=function(t,e,i){return t>11?i?"pm":"PM":i?"am":"AM"},tZ("en",{dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(t){var e=t%10;return t+(1===y(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")}}),e.lang=k("moment.lang is deprecated. Use moment.locale instead.",tZ),e.langData=k("moment.langData is deprecated. Use moment.localeData instead.",tX);var eX=Math.abs;function eK(t,e,i,n){var r=eD(e,i);return t._milliseconds+=n*r._milliseconds,t._days+=n*r._days,t._months+=n*r._months,t._bubble()}function eJ(t){return t<0?Math.floor(t):Math.ceil(t)}function eQ(t){return 4800*t/146097}function it(t){return 146097*t/4800}function ie(t){return function(){return this.as(t)}}var ii=ie("ms"),ir=ie("s"),ia=ie("m"),io=ie("h"),is=ie("d"),il=ie("w"),iu=ie("M"),id=ie("Q"),ih=ie("y");function ic(t){return function(){return this.isValid()?this._data[t]:NaN}}var ig=ic("milliseconds"),i$=ic("seconds"),im=ic("minutes"),ip=ic("hours"),iv=ic("days"),i_=ic("months"),iy=ic("years"),ib=Math.round,ix={ss:44,s:45,m:45,h:22,d:26,M:11};function i8(t,e,i,n,r){return r.relativeTime(e||1,!!i,t,n)}var i0=Math.abs;function ik(t){return(t>0)-(t<0)||+t}function iw(){if(!this.isValid())return this.localeData().invalidDate();var t,e,i=i0(this._milliseconds)/1e3,n=i0(this._days),r=i0(this._months);t=_(i/60),e=_(t/60),i%=60,t%=60;var a=_(r/12),o=r%=12,s=n,l=e,u=t,d=i?i.toFixed(3).replace(/\.?0+$/,""):"",h=this.asSeconds();if(!h)return"P0D";var c=ik(this._months)!==ik(h)?"-":"",f=ik(this._days)!==ik(h)?"-":"",g=ik(this._milliseconds)!==ik(h)?"-":"";return(h<0?"-":"")+"P"+(a?c+a+"Y":"")+(o?c+o+"M":"")+(s?f+s+"D":"")+(l||u||d?"T":"")+(l?g+l+"H":"")+(u?g+u+"M":"")+(d?g+d+"S":"")}var i3=ev.prototype;return i3.isValid=function(){return this._isValid},i3.abs=function(){var t=this._data;return this._milliseconds=eX(this._milliseconds),this._days=eX(this._days),this._months=eX(this._months),t.milliseconds=eX(t.milliseconds),t.seconds=eX(t.seconds),t.minutes=eX(t.minutes),t.hours=eX(t.hours),t.months=eX(t.months),t.years=eX(t.years),this},i3.add=function(t,e){return eK(this,t,e,1)},i3.subtract=function(t,e){return eK(this,t,e,-1)},i3.as=function(t){if(!this.isValid())return NaN;var e,i,n=this._milliseconds;if("month"===(t=I(t))||"quarter"===t||"year"===t)switch(e=this._days+n/864e5,i=this._months+eQ(e),t){case"month":return i;case"quarter":return i/3;case"year":return i/12}else switch(e=this._days+Math.round(it(this._months)),t){case"week":return e/7+n/6048e5;case"day":return e+n/864e5;case"hour":return 24*e+n/36e5;case"minute":return 1440*e+n/6e4;case"second":return 86400*e+n/1e3;case"millisecond":return Math.floor(864e5*e)+n;default:throw Error("Unknown unit "+t)}},i3.asMilliseconds=ii,i3.asSeconds=ir,i3.asMinutes=ia,i3.asHours=io,i3.asDays=is,i3.asWeeks=il,i3.asMonths=iu,i3.asQuarters=id,i3.asYears=ih,i3.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*y(this._months/12):NaN},i3._bubble=function(){var t,e,i,n,r,a=this._milliseconds,o=this._days,s=this._months,l=this._data;return a>=0&&o>=0&&s>=0||a<=0&&o<=0&&s<=0||(a+=864e5*eJ(it(s)+o),o=0,s=0),l.milliseconds=a%1e3,t=_(a/1e3),l.seconds=t%60,e=_(t/60),l.minutes=e%60,i=_(e/60),l.hours=i%24,o+=_(i/24),s+=r=_(eQ(o)),o-=eJ(it(r)),n=_(s/12),s%=12,l.days=o,l.months=s,l.years=n,this},i3.clone=function(){return eD(this)},i3.get=function(t){return t=I(t),this.isValid()?this[t+"s"]():NaN},i3.milliseconds=ig,i3.seconds=i$,i3.minutes=im,i3.hours=ip,i3.days=iv,i3.weeks=function(){return _(this.days()/7)},i3.months=i_,i3.years=iy,i3.humanize=function(t){if(!this.isValid())return this.localeData().invalidDate();var e,i,n,r,a,o,s,l,u,d,h,c=this.localeData(),f=(e=this,i=!t,n=c,r=eD(e).abs(),a=ib(r.as("s")),o=ib(r.as("m")),s=ib(r.as("h")),l=ib(r.as("d")),u=ib(r.as("M")),d=ib(r.as("y")),(h=a<=ix.ss&&["s",a]||a<ix.s&&["ss",a]||o<=1&&["m"]||o<ix.m&&["mm",o]||s<=1&&["h"]||s<ix.h&&["hh",s]||l<=1&&["d"]||l<ix.d&&["dd",l]||u<=1&&["M"]||u<ix.M&&["MM",u]||d<=1&&["y"]||["yy",d])[2]=i,h[3]=+e>0,h[4]=n,i8.apply(null,h));return t&&(f=c.pastFuture(+this,f)),c.postformat(f)},i3.toISOString=iw,i3.toString=iw,i3.toJSON=iw,i3.locale=eF,i3.localeData=eL,i3.toIsoString=k("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",
vendor: 22,674 bytes, line 6
6iw),i3.lang=eI,B("X",0,0,"unix"),B("x",0,0,"valueOf"),tu("x",tr),tu("X",/[+-]?\d+(\.\d{1,3})?/),tf("X",function(t,e,i){i._d=new Date(1e3*parseFloat(t,10))}),tf("x",function(t,e,i){i._d=new Date(y(t))}),e.version="2.24.0",w=ef,e.fn=eN,e.min=function(){return em("isBefore",[].slice.call(arguments,0))},e.max=function(){return em("isAfter",[].slice.call(arguments,0))},e.now=function(){return Date.now?Date.now():+new Date},e.utc=d,e.unix=function(t){return ef(1e3*t)},e.months=function(t,e){return eZ(t,e,"months")},e.isDate=o,e.locale=tZ,e.invalid=f,e.duration=eD,e.isMoment=v,e.weekdays=function(t,e,i){return e9(t,e,i,"weekdays")},e.parseZone=function(){return ef.apply(null,arguments).parseZone()},e.localeData=tX,e.isDuration=e_,e.monthsShort=function(t,e){return eZ(t,e,"monthsShort")},e.weekdaysMin=function(t,e,i){return e9(t,e,i,"weekdaysMin")},e.defineLocale=t9,e.updateLocale=function(t,e){if(null!=e){var i,n,r=tU;null!=(n=tq(t))&&(r=n._config),e=A(r,e),(i=new O(e)).parentLocale=tN[t],tN[t]=i,tZ(t)}else null!=tN[t]&&(null!=tN[t].parentLocale?tN[t]=tN[t].parentLocale:null!=tN[t]&&delete tN[t]);return tN[t]},e.locales=function(){return D(tN)},e.weekdaysShort=function(t,e,i){return e9(t,e,i,"weekdaysShort")},e.normalizeUnits=I,e.relativeTimeRounding=function(t){return void 0===t?ib:"function"==typeof t&&(ib=t,!0)},e.relativeTimeThreshold=function(t,e){return void 0!==ix[t]&&(void 0===e?ix[t]:(ix[t]=e,"s"===t&&(ix.ss=e-1),!0))},e.calendarFormat=function(t,e){var i=t.diff(e,"days",!0);return i<-6?"sameElse":i<-1?"lastWeek":i<0?"lastDay":i<1?"sameDay":i<2?"nextDay":i<7?"nextWeek":"sameElse"},e.prototype=eN,e.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},e}()}),iv={datetime:"MMM D, YYYY, h:mm:ss a",millisecond:"h:mm:ss.SSS a",second:"h:mm:ss a",minute:"h:mm a",hour:"hA",day:"MMM D",week:"ll",month:"MMM YYYY",quarter:"[Q]Q - YYYY",year:"YYYY"};ex._date.override("function"==typeof ip?{_id:"moment",formats:function(){return iv},parse:function(t,e){return"string"==typeof t&&"string"==typeof e?t=ip(t,e):t instanceof ip||(t=ip(t)),t.isValid()?t.valueOf():null},format:function(t,e){return ip(t).format(e)},add:function(t,e,i){return ip(t).add(e,i).valueOf()},diff:function(t,e,i){return ip(t).diff(ip(e),i)},startOf:function(t,e,i){return t=ip(t),"isoWeek"===e?t.isoWeekday(i).valueOf():t.startOf(e).valueOf()},endOf:function(t,e){return ip(t).endOf(e).valueOf()},_create:function(t){return ip(t)}}:{}),I._set("global",{plugins:{filler:{propagate:!0}}});var i_={dataset:function(t){var e=t.fill,i=t.chart,n=i.getDatasetMeta(e),r=n&&i.isDatasetVisible(e)&&n.dataset._children||[],a=r.length||0;return a?function(t,e){return e<a&&r[e]._view||null}:null},boundary:function(t){var e=t.boundary,i=e?e.x:null,n=e?e.y:null;return W.isArray(e)?function(t,i){return e[i]}:function(t){return{x:null===i?t.x:i,y:null===n?t.y:n}}}};function iy(t,e,i){var n,r=t._model||{},a=r.fill;if(void 0===a&&(a=!!r.backgroundColor),!1===a||null===a)return!1;if(!0===a)return"origin";if(n=parseFloat(a,10),isFinite(n)&&Math.floor(n)===n)return"-"!==a[0]&&"+"!==a[0]||(n=e+n),!(n===e||n<0||n>=i)&&n;switch(a){case"bottom":return"start";case"top":return"end";case"zero":return"origin";case"origin":case"start":case"end":return a;default:return!1}}function ib(t){return(t.el._scale||{}).getPointPositionForValue?function(t){var e,i,n,r,a,o=t.el._scale,s=o.options,l=o.chart.data.labels.length,u=t.fill,d=[];if(!l)return null;for(e=s.ticks.reverse?o.max:o.min,i=s.ticks.reverse?o.min:o.max,n=o.getPointPositionForValue(0,e),r=0;r<l;++r)a="start"===u||"end"===u?o.getPointPositionForValue(r,"start"===u?e:i):o.getBasePosition(r),s.gridLines.circular&&(a.cx=n.x,a.cy=n.y,a.angle=o.getIndexAngle(r)-Math.PI/2),d.push(a);return d}(t):function(t){var e,i=t.el._model||{},n=t.el._scale||{},r=t.fill,a=null;if(isFinite(r))return null;if("start"===r?a=void 0===i.scaleBottom?n.bottom:i.scaleBottom:"end"===r?a=void 0===i.scaleTop?n.top:i.scaleTop:void 0!==i.scaleZero?a=i.scaleZero:n.getBasePixel&&(a=n.getBasePixel()),null!=a){if(void 0!==a.x&&void 0!==a.y)return a;if(W.isFinite(a))return{x:(e=n.isHorizontal())?a:null,y:e?null:a}}return null}(t)}function ix(t,e,i){var n,r=t[e].fill,a=[e];if(!i)return r;for(;!1!==r&&-1===a.indexOf(r);){if(!isFinite(r))return r;if(!(n=t[r]))break;if(n.visible)return r;a.push(r),r=n.fill}return!1}function i8(t){var e=t.fill,i="dataset";return!1===e?null:(isFinite(e)||(i="boundary"),i_[i](t))}function i0(t){return t&&!t.skip}function ik(t,e,i,n,r){var a,o,s,l;if(n&&r){for(t.moveTo(e[0].x,e[0].y),a=1;a<n;++a)W.canvas.lineTo(t,e[a-1],e[a]);if(void 0===i[0].angle)for(t.lineTo(i[r-1].x,i[r-1].y),a=r-1;a>0;--a)W.canvas.lineTo(t,i[a],i[a-1],!0);else for(o=i[0].cx,s=i[0].cy,l=Math.sqrt(Math.pow(i[0].x-o,2)+Math.pow(i[0].y-s,2)),a=r-1;a>0;--a)t.arc(o,s,l,i[a].angle,i[a-1].angle,!0)}}function iw(t,e,i,n,r,a){var o,s,l,u,d,h,c,f,g=e.length,$=n.spanGaps,m=[],p=[],v=0,_=0;for(t.beginPath(),o=0,s=g;o<s;++o)d=i(u=e[l=o%g]._view,l,n),h=i0(u),c=i0(d),a&&void 0===f&&h&&(s=g+(f=o+1)),h&&c?(v=m.push(u),_=p.push(d)):v&&_&&($?(h&&m.push(u),c&&p.push(d)):(ik(t,m,p,v,_),v=_=0,m=[],p=[]));ik(t,m,p,v,_),t.closePath(),t.fillStyle=r,t.fill()}var i3=W.rtl.getRtlAdapter,iS=W.noop,iD=W.valueOrDefault;function iC(t,e){return t.usePointStyle&&t.boxWidth>e?e:t.boxWidth}I._set("global",{legend:{display:!0,position:"top",align:"center",fullWidth:!0,reverse:!1,weight:1e3,onClick:function(t,e){var i=e.datasetIndex,n=this.chart,r=n.getDatasetMeta(i);r.hidden=null===r.hidden?!n.data.datasets[i].hidden:null,n.update()},onHover:null,onLeave:null,labels:{boxWidth:40,padding:10,generateLabels:function(t){var e=t.data.datasets,i=t.options.legend||{},n=i.labels&&i.labels.usePointStyle;return t._getSortedDatasetMetas().map(function(i){var r=i.controller.getStyle(n?0:void 0);return{text:e[i.index].label,fillStyle:r.backgroundColor,hidden:!t.isDatasetVisible(i.index),lineCap:r.borderCapStyle,lineDash:r.borderDash,lineDashOffset:r.borderDashOffset,lineJoin:r.borderJoinStyle,lineWidth:r.borderWidth,strokeStyle:r.borderColor,pointStyle:r.pointStyle,rotation:r.rotation,datasetIndex:i.index}},this)}}},legendCallback:function(t){var e,i,n,r=document.createElement("ul"),a=t.data.datasets;for(r.setAttribute("class",t.id+"-legend"),e=0,i=a.length;e<i;e++)(n=r.appendChild(document.createElement("li"))).appendChild(document.createElement("span")).style.backgroundColor=a[e].backgroundColor,a[e].label&&n.appendChild(document.createTextNode(a[e].label));return r.outerHTML}});var iP=z.extend({initialize:function(t){W.extend(this,t),this.legendHitBoxes=[],this._hoveredItem=null,this.doughnutMode=!1},beforeUpdate:iS,update:function(t,e,i){var n=this;return n.beforeUpdate(),n.maxWidth=t,n.maxHeight=e,n.margins=i,n.beforeSetDimensions(),n.setDimensions(),n.afterSetDimensions(),n.beforeBuildLabels(),n.buildLabels(),n.afterBuildLabels(),n.beforeFit(),n.fit(),n.afterFit(),n.afterUpdate(),n.minSize},afterUpdate:iS,beforeSetDimensions:iS,setDimensions:function(){var t=this;t.isHorizontal()?(t.width=t.maxWidth,t.left=0,t.right=t.width):(t.height=t.maxHeight,t.top=0,t.bottom=t.height),t.paddingLeft=0,t.paddingTop=0,t.paddingRight=0,t.paddingBottom=0,t.minSize={width:0,height:0}},afterSetDimensions:iS,beforeBuildLabels:iS,buildLabels:function(){var t=this,e=t.options.labels||{},i=W.callback(e.generateLabels,[t.chart],t)||[];e.filter&&(i=i.filter(function(i){return e.filter(i,t.chart.data)})),t.options.reverse&&i.reverse(),t.legendItems=i},afterBuildLabels:iS,beforeFit:iS,fit:function(){var t=this,e=t.options,i=e.labels,n=e.display,r=t.ctx,a=W.options._parseFont(i),o=a.size,s=t.legendHitBoxes=[],l=t.minSize,u=t.isHorizontal();if(u?(l.width=t.maxWidth,l.height=n?10:0):(l.width=n?10:0,l.height=t.maxHeight),n){if(r.font=a.string,u){var d=t.lineWidths=[0],h=0;r.textAlign="left",r.textBaseline="middle",W.each(t.legendItems,function(t,e){var n=iC(i,o)+o/2+r.measureText(t.text).width;(0===e||d[d.length-1]+n+2*i.padding>l.width)&&(h+=o+i.padding,d[d.length-(e>0?0:1)]=0),s[e]={left:0,top:0,width:n,height:o},d[d.length-1]+=n+i.padding}),l.height+=h}else{var c=i.padding,f=t.columnWidths=[],g=t.columnHeights=[],$=i.padding,m=0,p=0;W.each(t.legendItems,function(t,e){var n=iC(i,o)+o/2+r.measureText(t.text).width;e>0&&p+o+2*c>l.height&&($+=m+i.padding,f.push(m),g.push(p),m=0,p=0),m=Math.max(m,n),p+=o+c,s[e]={left:0,top:0,width:n,height:o}}),$+=m,f.push(m),g.push(p),l.width+=$}t.width=l.width,t.height=l.height}else t.width=l.width=t.height=l.height=0},afterFit:iS,isHorizontal:function(){return"top"===this.options.position||"bottom"===this.options.position},draw:function(){var t=this,e=t.options,i=e.labels,n=I.global,r=n.defaultColor,a=n.elements.line,o=t.height,s=t.columnHeights,l=t.width,u=t.lineWidths;if(e.display){var d,h=i3(e.rtl,t.left,t.minSize.width),c=t.ctx,f=iD(i.fontColor,n.defaultFontColor),g=W.options._parseFont(i),$=g.size;c.textAlign=h.textAlign("left"),c.textBaseline="middle",c.lineWidth=.5,c.strokeStyle=f,c.fillStyle=f,c.font=g.string;var m=iC(i,$),p=t.legendHitBoxes,v=function(t,n){switch(e.align){case"start":return i.padding;case"end":return t-n;default:return(t-n+i.padding)/2}},_=t.isHorizontal();d=_?{x:t.left+v(l,u[0]),y:t.top+i.padding,line:0}:{x:t.left+i.padding,y:t.top+v(o,s[0]),line:0},W.rtl.overrideTextDirection(t.ctx,e.textDirection);var y=$+i.padding;W.each(t.legendItems,function(e,n){var f=c.measureText(e.text).width,g=m+$/2+f,b=d.x,x=d.y;h.setWidth(t.minSize.width),_?n>0&&b+g+i.padding>t.left+t.minSize.width&&(x=d.y+=y,d.line++,b=d.x=t.left+v(l,u[d.line])):n>0&&x+y>t.top+t.minSize.height&&(b=d.x=b+t.columnWidths[d.line]+i.padding,d.line++,x=d.y=t.top+v(o,s[d.line]));var k,w,S,D,C,P,T,A=h.x(b);(function(t,e,n){if(!(isNaN(m)||m<=0)){c.save();var o=iD(n.lineWidth,a.borderWidth);if(c.fillStyle=iD(n.fillStyle,r),c.lineCap=iD(n.lineCap,a.borderCapStyle),c.lineDashOffset=iD(n.lineDashOffset,a.borderDashOffset),c.lineJoin=iD(n.lineJoin,a.borderJoinStyle),c.lineWidth=o,c.strokeStyle=iD(n.strokeStyle,r),c.setLineDash&&c.setLineDash(iD(n.lineDash,a.borderDash)),i&&i.usePointStyle){var s=h.xPlus(t,m/2);W.canvas.drawPoint(c,n.pointStyle,m*Math.SQRT2/2,s,e+$/2,n.rotation)}else c.fillRect(h.leftForLtr(t,m),e,m,$),0!==o&&c.strokeRect(h.leftForLtr(t,m),e,m,$);c.restore()}})(A,x,e),p[n].left=h.leftForLtr(A,p[n].width),p[n].top=x,k=A,w=x,S=e,D=f,C=$/2,P=h.xPlus(k,m+C),T=w+C,c.fillText(S.text,P,T),S.hidden&&(c.beginPath(),c.lineWidth=2,c.moveTo(P,T),c.lineTo(h.xPlus(P,D),T),c.stroke()),_?d.x+=g+i.padding:d.y+=y}),W.rtl.restoreTextDirection(t.ctx,e.textDirection)}},_getLegendItemAt:function(t,e){var i,n,r;if(t>=this.left&&t<=this.right&&e>=this.top&&e<=this.bottom){for(r=this.legendHitBoxes,i=0;i<r.length;++i)if(t>=(n=r[i]).left&&t<=n.left+n.width&&e>=n.top&&e<=n.top+n.height)return this.legendItems[i]}return null},handleEvent:function(t){var e,i=this,n=i.options,r="mouseup"===t.type?"click":t.type;if("mousemove"===r){if(!n.onHover&&!n.onLeave)return}else if("click"!==r||!n.onClick)return;e=i._getLegendItemAt(t.x,t.y),"click"===r?e&&n.onClick&&n.onClick.call(i,t.native,e):(n.onLeave&&e!==i._hoveredItem&&(i._hoveredItem&&n.onLeave.call(i,t.native,i._hoveredItem),i._hoveredItem=e),n.onHover&&e&&n.onHover.call(i,t.native,e))}});function iT(t,e){var i=new iP({ctx:t.ctx,options:e,chart:t});tH.configure(t,i,e),tH.addBox(t,i),t.legend=i}var iA=W.noop;I._set("global",{title:{display:!1,fontStyle:"bold",fullWidth:!0,padding:10,position:"top",text:"",weight:2e3}});var iO=z.extend({initialize:function(t){W.extend(this,t),this.legendHitBoxes=[]},beforeUpdate:iA,update:function(t,e,i){var n=this;return n.beforeUpdate(),n.maxWidth=t,n.maxHeight=e,n.margins=i,n.beforeSetDimensions(),n.setDimensions(),n.afterSetDimensions(),n.beforeBuildLabels(),n.buildLabels(),n.afterBuildLabels(),n.beforeFit(),n.fit(),n.afterFit(),n.afterUpdate(),n.minSize},afterUpdate:iA,beforeSetDimensions:iA,setDimensions:function(){var t=this;t.isHorizontal()?(t.width=t.maxWidth,t.left=0,t.right=t.width):(t.height=t.maxHeight,t.top=0,t.bottom=t.height),t.paddingLeft=0,t.paddingTop=0,t.paddingRight=0,t.paddingBottom=0,t.minSize={width:0,height:0}},afterSetDimensions:iA,beforeBuildLabels:iA,buildLabels:iA,afterBuildLabels:iA,beforeFit:iA,fit:function(){var t,e=this,i=e.options,n=e.minSize={},r=e.isHorizontal();i.display?(t=(W.isArray(i.text)?i.text.length:1)*W.options._parseFont(i).lineHeight+2*i.padding,e.width=n.width=r?e.maxWidth:t,e.height=n.height=r?t:e.maxHeight):e.width=n.width=e.height=n.height=0},afterFit:iA,isHorizontal:function(){var t=this.options.position;return"top"===t||"bottom"===t},draw:function(){var t=this.ctx,e=this.options;if(e.display){var i,n,r,a=W.options._parseFont(e),o=a.lineHeight,s=o/2+e.padding,l=0,u=this.top,d=this.left,h=this.bottom,c=this.right;t.fillStyle=W.valueOrDefault(e.fontColor,I.global.defaultFontColor),t.font=a.string,this.isHorizontal()?(n=d+(c-d)/2,r=u+s,i=c-d):(n="left"===e.position?d+s:c-s,r=u+(h-u)/2,i=h-u,l=Math.PI*("left"===e.position?-.5:.5)),t.save(),t.translate(n,r),t.rotate(l),t.textAlign="center",t.textBaseline="middle";var f=e.text;if(W.isArray(f))for(var g=0,$=0;$<f.length;++$)t.fillText(f[$],0,g,i),g+=o;else t.fillText(f,0,0,i);t.restore()}}});function iM(t,e){var i=new iO({ctx:t.ctx,options:e,chart:t});tH.configure(t,i,e),tH.addBox(t,i),t.titleBlock=i}var i1={},iF={id:"filler",afterDatasetsUpdate:function(t,e){var i,n,r,a,o=(t.data.datasets||[]).length,s=e.propagate,l=[];for(n=0;n<o;++n)a=null,(r=(i=t.getDatasetMeta(n)).dataset)&&r._model&&r instanceof td.Line&&(a={visible:t.isDatasetVisible(n),fill:iy(r,n,o),chart:t,el:r}),i.$filler=a,l.push(a);for(n=0;n<o;++n)(a=l[n])&&(a.fill=ix(l,n,s),a.boundary=ib(a),a.mapper=i8(a))},beforeDatasetsDraw:function(t){var e,i,n,r,a,o,s,l=t._getSortedVisibleDatasetMetas(),u=t.ctx;for(i=l.length-1;i>=0;--i)(e=l[i].$filler)&&e.visible&&(r=(n=e.el)._view,a=n._children||[],o=e.mapper,s=r.backgroundColor||I.global.defaultColor,o&&s&&a.length&&(W.canvas.clipArea(u,t.chartArea),iw(u,a,o,r,s,n._loop),W.canvas.unclipArea(u)))}},iI={id:"legend",_element:iP,beforeInit:function(t){var e=t.options.legend;e&&iT(t,e)},beforeUpdate:function(t){var e=t.options.legend,i=t.legend;e?(W.mergeIf(e,I.global.legend),i?(tH.configure(t,i,e),i.options=e):iT(t,e)):i&&(tH.removeBox(t,i),delete t.legend)},afterEvent:function(t,e){var i=t.legend;i&&i.handleEvent(e)}},iL={id:"title",_element:iO,beforeInit:function(t){var e=t.options.title;e&&iM(t,e)},beforeUpdate:function(t){var e=t.options.title,i=t.titleBlock;e?(W.mergeIf(e,I.global.title),i?(tH.configure(t,i,e),i.options=e):iM(t,e)):i&&(tH.removeBox(t,i),delete t.titleBlock)}};for(var i4 in i1.filler=iF,i1.legend=iI,i1.title=iL,e_.helpers=W,function(){function t(t,e,i){var n;return"string"==typeof t?(n=parseInt(t,10),-1!==t.indexOf("%")&&(n=n/100*e.parentNode[i])):n=t,n}function e(t){return null!=t&&"none"!==t}function i(i,n,r){var a=document.defaultView,o=W._getParentNode(i),s=a.getComputedStyle(i)[n],l=a.getComputedStyle(o)[n],u=e(s),d=e(l),h=Number.POSITIVE_INFINITY;return u||d?Math.min(u?t(s,i,r):h,d?t(l,o,r):h):"none"}W.where=function(t,e){if(W.isArray(t)&&Array.prototype.filter)return t.filter(e);var i=[];return W.each(t,function(t){e(t)&&i.push(t)}),i},W.findIndex=Array.prototype.findIndex?function(t,e,i){return t.findIndex(e,i)}:function(t,e,i){i=void 0===i?t:i;for(var n=0,r=t.length;n<r;++n)if(e.call(i,t[n],n,t))return n;return -1},W.findNextWhere=function(t,e,i){W.isNullOrUndef(i)&&(i=-1);for(var n=i+1;n<t.length;n++){var r=t[n];if(e(r))return r}},W.findPreviousWhere=function(t,e,i){W.isNullOrUndef(i)&&(i=t.length);for(var n=i-1;n>=0;n--){var r=t[n];if(e(r))return r}},W.isNumber=function(t){return!isNaN(parseFloat(t))&&isFinite(t)},W.almostEquals=function(t,e,i){return Math.abs(t-e)<i},W.almostWhole=function(t,e){var i=Math.round(t);return i-e<=t&&i+e>=t},W.max=function(t){return t.reduce(function(t,e){return isNaN(e)?t:Math.max(t,e)},Number.NEGATIVE_INFINITY)},W.min=function(t){return t.reduce(function(t,e){return isNaN(e)?t:Math.min(t,e)},Number.POSITIVE_INFINITY)},W.sign=Math.sign?function(t){return Math.sign(t)}:function(t){return 0==(t=+t)||isNaN(t)?t:t>0?1:-1},W.toRadians=function(t){return t*(Math.PI/180)},W.toDegrees=function(t){return t*(180/Math.PI)},W._decimalPlaces=function(t){if(W.isFinite(t)){for(var e=1,i=0;Math.round(t*e)/e!==t;)e*=10,i++;return i}},W.getAngleFromPoint=function(t,e){var i=e.x-t.x,n=e.y-t.y,r=Math.sqrt(i*i+n*n),a=Math.atan2(n,i);return a<-.5*Math.PI&&(a+=2*Math.PI),{angle:a,distance:r}},W.distanceBetweenPoints=function(t,e){return Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2))},W.aliasPixel=function(t){return t%2==0?0:.5},W._alignPixel=function(t,e,i){var n=t.currentDevicePixelRatio,r=i/2;return Math.round((e-r)*n)/n+r},W.splineCurve=function(t,e,i,n){var r=t.skip?e:t,a=e,o=i.skip?e:i,s=Math.sqrt(Math.pow(a.x-r.x,2)+Math.pow(a.y-r.y,2)),l=Math.sqrt(Math.pow(o.x-a.x,2)+Math.pow(o.y-a.y,2)),u=s/(s+l),d=l/(s+l),h=n*(u=isNaN(u)?0:u),c=n*(d=isNaN(d)?0:d);return{previous:{x:a.x-h*(o.x-r.x),y:a.y-h*(o.y-r.y)},next:{x:a.x+c*(o.x-r.x),y:a.y+c*(o.y-r.y)}}},W.EPSILON=Number.EPSILON||1e-14,W.splineCurveMonotone=function(t){var e,i,n,r,a,o,s,l,u,d=(t||[]).map(function(t){return{model:t._model,deltaK:0,mK:0}}),h=d.length;for(e=0;e<h;++e)if(!(n=d[e]).model.skip){if(i=e>0?d[e-1]:null,(r=e<h-1?d[e+1]:null)&&!r.model.skip){var c=r.model.x-n.model.x;n.deltaK=0!==c?(r.model.y-n.model.y)/c:0}!i||i.model.skip?n.mK=n.deltaK:!r||r.model.skip?n.mK=i.deltaK:this.sign(i.deltaK)!==this.sign(n.deltaK)?n.mK=0:n.mK=(i.deltaK+n.deltaK)/2}for(e=0;e<h-1;++e)n=d[e],r=d[e+1],n.model.skip||r.model.skip||(W.almostEquals(n.deltaK,0,this.EPSILON)?n.mK=r.mK=0:(l=Math.pow(a=n.mK/n.deltaK,2)+Math.pow(o=r.mK/n.deltaK,2))<=9||(s=3/Math.sqrt(l),n.mK=a*s*n.deltaK,r.mK=o*s*n.deltaK));for(e=0;e<h;++e)(n=d[e]).model.skip||(i=e>0?d[e-1]:null,r=e<h-1?d[e+1]:null,i&&!i.model.skip&&(u=(n.model.x-i.model.x)/3,n.model.controlPointPreviousX=n.model.x-u,n.model.controlPointPreviousY=n.model.y-u*n.mK),r&&!r.model.skip&&(u=(r.model.x-n.model.x)/3,n.model.controlPointNextX=n.model.x+u,n.model.controlPointNextY=n.model.y+u*n.mK))},W.nextItem=function(t,e,i){return i?e>=t.length-1?t[0]:t[e+1]:e>=t.length-1?t[t.length-1]:t[e+1]},W.previousItem=function(t,e,i){return i?e<=0?t[t.length-1]:t[e-1]:e<=0?t[0]:t[e-1]},W.niceNum=function(t,e){var i=Math.floor(W.log10(t)),n=t/Math.pow(10,i);return(e?n<1.5?1:n<3?2:n<7?5:10:n<=1?1:n<=2?2:n<=5?5:10)*Math.pow(10,i)},W.requestAnimFrame="undefined"==typeof window?function(t){t()}:window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(t){return window.setTimeout(t,1e3/60)},W.getRelativePosition=function(t,e){var i,n,r=t.originalEvent||t,a=t.target||t.srcElement,o=a.getBoundingClientRect(),s=r.touches;s&&s.length>0?(i=s[0].clientX,n=s[0].clientY):(i=r.clientX,n=r.clientY);var l=parseFloat(W.getStyle(a,"padding-left")),u=parseFloat(W.getStyle(a,"padding-top")),d=parseFloat(W.getStyle(a,"padding-right")),h=parseFloat(W.getStyle(a,"padding-bottom")),c=o.right-o.left-l-d,f=o.bottom-o.top-u-h;return{x:i=Math.round((i-o.left-l)/c*a.width/e.currentDevicePixelRatio),y:n=Math.round((n-o.top-u)/f*a.height/e.currentDevicePixelRatio)}},W.getConstraintWidth=function(t){return i(t,"max-width","clientWidth")},W.getConstraintHeight=function(t){return i(t,"max-height","clientHeight")},W._calculatePadding=function(t,e,i){return(e=W.getStyle(t,e)).indexOf("%")>-1?i*parseInt(e,10)/100:parseInt(e,10)},W._getParentNode=function(t){var e=t.parentNode;return e&&"[object ShadowRoot]"===e.toString()&&(e=e.host),e},W.getMaximumWidth=function(t){var e=W._getParentNode(t);if(!e)return t.clientWidth;var i=e.clientWidth,n=i-W._calculatePadding(e,"padding-left",i)-W._calculatePadding(e,"padding-right",i),r=W.getConstraintWidth(t);return isNaN(r)?n:Math.min(n,r)},W.getMaximumHeight=function(t){var e=W._getParentNode(t);if(!e)return t.clientHeight;var i=e.clientHeight,n=i-W._calculatePadding(e,"padding-top",i)-W._calculatePadding(e,"padding-bottom",i),r=W.getConstraintHeight(t);return isNaN(r)?n:Math.min(n,r)},W.getStyle=function(t,e){return t.currentStyle?t.currentStyle[e]:document.defaultView.getComputedStyle(t,null).getPropertyValue(e)},W.retinaScale=function(t,e){var i=t.currentDevicePixelRatio=e||"undefined"!=typeof window&&window.devicePixelRatio||1;if(1!==i){var n=t.canvas,r=t.height,a=t.width;n.height=r*i,n.width=a*i,t.ctx.scale(i,i),n.style.height||n.style.width||(n.style.height=r+"px",n.style.width=a+"px")}},W.fontString=function(t,e,i){return e+" "+t+"px "+i},W.longestText=function(t,e,i,n){var r=(n=n||{}).data=n.data||{},a=n.garbageCollect=n.garbageCollect||[];n.font!==e&&(r=n.data={},a=n.garbageCollect=[],n.font=e),t.font=e;var o,s,l,u,d,h=0,c=i.length;for(o=0;o<c;o++)if(null!=(u=i[o])&&!0!==W.isArray(u))h=W.measureText(t,r,a,h,u);else if(W.isArray(u))for(s=0,l=u.length;s<l;s++)null==(d=u[s])||W.isArray(d)||(h=W.measureText(t,r,a,h,d));var f=a.length/2;if(f>i.length){for(o=0;o<f;o++)delete r[a[o]];a.splice(0,f)}return h},W.measureText=function(t,e,i,n,r){var a=e[r];return a||(a=e[r]=t.measureText(r).width,i.push(r)),a>n&&(n=a),n},W.numberOfLabelLines=function(t){var e=1;return W.each(t,function(t){W.isArray(t)&&t.length>e&&(e=t.length)}),e},W.color=y?function(t){return t instanceof CanvasGradient&&(t=I.global.defaultColor),y(t)}:function(t){return console.error("Color.js not found!"),t},W.getHoverColor=function(t){return t instanceof CanvasPattern||t instanceof CanvasGradient?t:W.color(t).saturate(.5).darken(.1).rgbString()}}(),e_._adapters=ex,e_.Animation=E,e_.animationService=H,e_.controllers=tT,e_.DatasetController=G,e_.defaults=I,e_.Element=z,e_.elements=td,e_.Interaction=tL,e_.layouts=tH,e_.platform=et,e_.plugins=ee,e_.Scale=e1,e_.scaleService=ei,e_.Ticks=e8,e_.Tooltip=eh,e_.helpers.each(im,function(t,e){e_.scaleService.registerScaleType(e,t,t._defaults)}),i1)i1.hasOwnProperty(i4)&&e_.plugins.register(i1[i4]);return e_.platform.initialize(),"undefined"!=typeof window&&(window.Chart=e_),e_.Chart=e_,e_.Legend=i1.legend._element,e_.Title=i1.title._element,e_.pluginService=e_.plugins,e_.PluginBase=e_.Element.extend({}),e_.canvasHelpers=e_.helpers.canvas,e_.layoutService=e_.layouts,e_.LinearScaleBase=eR,e_.helpers.each(["Bar","Bubble","Doughnut","Line","PolarArea","Radar","Scatter"],function(t){e_[t]=function(e,i){return new e_(e,e_.helpers.merge(i||{},{type:t.charAt(0).toLowerCase()+t.slice(1)}))}}),e_});
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.