From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on gnuweeb.org X-Spam-Level: X-Spam-Status: No, score=-0.2 required=5.0 tests=ALL_TRUSTED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,PDS_OTHER_BAD_TLD,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.6 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gnuweeb.org; s=default; t=1682680058; bh=EUiGik4Lntuqy8UG03wXcXA3EQvBaQ8wuIa5naBZgsk=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=MrNxAJfgQF/CSNM0LY6ttpIR0tvbZSkHK5QX2N01/eM+7Fx80pcM8w4NhAvC4dtgs CvTZLrlIKHbv+arKKz61E2mMK0Zev1gDQS9U1MrbehonoqlB8MC5QAU4+DiUAhnk3g g1CLxNAuFonjn1UQ0qMXHm8j75bjg3ybpG57yce7NzCJULolaKkKo6o5xH7ksZtuGq cEfooDeDdX6ubJcKWwI2KNr5M2yEiDcYHX4l2US2v45JXpROIjF0NufhBA2uHEguAt /AJDr0grkdpRQo3nm6oXCF0a5w2qnX0kIJEnmeK1v9iyYW7RwAZLg+6MpRDinm6hZl GL2NPdeg9VIsQ== Received: from localhost.localdomain (unknown [182.1.37.28]) by gnuweeb.org (Postfix) with ESMTPSA id 864C0245A2E; Fri, 28 Apr 2023 18:07:35 +0700 (WIB) From: Memet Zx To: Ammar Faizi Cc: Memet Zx , GNU/Weeb Mailing List , Memet Zx Subject: [PATCH gwspamd v3 1/2] gwspamd: web: Add Chart.js Minified Library to Assets Date: Fri, 28 Apr 2023 18:07:26 +0700 Message-Id: <20230428110727.331117-2-zxce3@gnuweeb.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230428110727.331117-1-zxce3@gnuweeb.org> References: <20230428110727.331117-1-zxce3@gnuweeb.org> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable List-Id: In this commit, we added the Chart.js minified library to our project's assets directory for local use. This will allow us to use Chart.js without relying on a CDN (Content Delivery Network) and provide better performance for our users. By adding the minified version, we reduced the size of the library, which will result in faster page load times. Additionally, having the library stored locally means that we don't need to make a network request to load the library, which will further improve the performance of our application. Overall, this commit should provide better performance and a better user experience for our project. Signed-off-by: Memet Zx --- web/public/assets/js/chart.min.js | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 web/public/assets/js/chart.min.js diff --git a/web/public/assets/js/chart.min.js b/web/public/assets/js/chart= .min.js new file mode 100644 index 0000000..7c16b0d --- /dev/null +++ b/web/public/assets/js/chart.min.js @@ -0,0 +1,7 @@ +/*! + * Chart.js v2.9.3 + * https://www.chartjs.org + * (c) 2019 Chart.js Contributors + * Released under the MIT License + */ +!function(t,e){"object"=3D=3Dtypeof exports&&"undefined"!=3Dtypeof module?= module.exports=3De(function(){try{return require("moment")}catch(t){}}()):"= function"=3D=3Dtypeof define&&define.amd?define(["require"],(function(t){re= turn e(function(){try{return t("moment")}catch(t){}}())})):(t=3Dt||self).Ch= art=3De(t.moment)}(this,(function(t){"use strict";t=3Dt&&t.hasOwnProperty("= default")?t.default:t;var e=3D{aliceblue:[240,248,255],antiquewhite:[250,23= 5,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,20= 5],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,3= 0],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],c= rimson:[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],dark= grey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkoliv= egreen:[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,19= 1,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],fuc= hsia:[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],greenyell= ow:[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],lightgr= ay:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink= :[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightsk= yblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,15= 3],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],li= megreen:[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],m= ediumvioletred:[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,3= 5],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenr= od:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevi= oletred:[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:[18= 8,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,1= 14],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sie= nna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,9= 0,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],s= pringgreen:[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],viole= t:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245= ,245],yellow:[255,255,0],yellowgreen:[154,205,50]},n=3Dfunction(t,e){return= t(e=3D{exports:{}},e.exports),e.exports}((function(t){var n=3D{};for(var i= in e)e.hasOwnProperty(i)&&(n[e[i]]=3Di);var a=3Dt.exports=3D{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:{channe= ls:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lc= h"},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 r in a)if(a.hasOwnP= roperty(r)){if(!("channels"in a[r]))throw new Error("missing channels prope= rty: "+r);if(!("labels"in a[r]))throw new Error("missing channel labels pro= perty: "+r);if(a[r].labels.length!=3D=3Da[r].channels)throw new Error("chan= nel and label counts mismatch: "+r);var o=3Da[r].channels,s=3Da[r].labels;d= elete a[r].channels,delete a[r].labels,Object.defineProperty(a[r],"channels= ",{value:o}),Object.defineProperty(a[r],"labels",{value:s})}a.rgb.hsl=3Dfun= ction(t){var e,n,i=3Dt[0]/255,a=3Dt[1]/255,r=3Dt[2]/255,o=3DMath.min(i,a,r)= ,s=3DMath.max(i,a,r),l=3Ds-o;return s=3D=3D=3Do?e=3D0:i=3D=3D=3Ds?e=3D(a-r)= /l:a=3D=3D=3Ds?e=3D2+(r-i)/l:r=3D=3D=3Ds&&(e=3D4+(i-a)/l),(e=3DMath.min(60*= e,360))<0&&(e+=3D360),n=3D(o+s)/2,[e,100*(s=3D=3D=3Do?0:n<=3D.5?l/(s+o):l/(= 2-s-o)),100*n]},a.rgb.hsv=3Dfunction(t){var e,n,i,a,r,o=3Dt[0]/255,s=3Dt[1]= /255,l=3Dt[2]/255,u=3DMath.max(o,s,l),d=3Du-Math.min(o,s,l),h=3Dfunction(t)= {return(u-t)/6/d+.5};return 0=3D=3D=3Dd?a=3Dr=3D0:(r=3Dd/u,e=3Dh(o),n=3Dh(s= ),i=3Dh(l),o=3D=3D=3Du?a=3Di-n:s=3D=3D=3Du?a=3D1/3+e-i:l=3D=3D=3Du&&(a=3D2/= 3+n-e),a<0?a+=3D1:a>1&&(a-=3D1)),[360*a,100*r,100*u]},a.rgb.hwb=3Dfunction(= t){var e=3Dt[0],n=3Dt[1],i=3Dt[2];return[a.rgb.hsl(t)[0],100*(1/255*Math.mi= n(e,Math.min(n,i))),100*(i=3D1-1/255*Math.max(e,Math.max(n,i)))]},a.rgb.cmy= k=3Dfunction(t){var e,n=3Dt[0]/255,i=3Dt[1]/255,a=3Dt[2]/255;return[100*((1= -n-(e=3DMath.min(1-n,1-i,1-a)))/(1-e)||0),100*((1-i-e)/(1-e)||0),100*((1-a-= e)/(1-e)||0),100*e]},a.rgb.keyword=3Dfunction(t){var i=3Dn[t];if(i)return i= ;var a,r,o,s=3D1/0;for(var l in e)if(e.hasOwnProperty(l)){var u=3De[l],d=3D= (r=3Dt,o=3Du,Math.pow(r[0]-o[0],2)+Math.pow(r[1]-o[1],2)+Math.pow(r[2]-o[2]= ,2));d.04045?Math.pow((e+.055)/1.055,2.4):e/12.92)+.3576*(n=3Dn>= .04045?Math.pow((n+.055)/1.055,2.4):n/12.92)+.1805*(i=3Di>.04045?Math.pow((= i+.055)/1.055,2.4):i/12.92)),100*(.2126*e+.7152*n+.0722*i),100*(.0193*e+.11= 92*n+.9505*i)]},a.rgb.lab=3Dfunction(t){var e=3Da.rgb.xyz(t),n=3De[0],i=3De= [1],r=3De[2];return i/=3D100,r/=3D108.883,n=3D(n/=3D95.047)>.008856?Math.po= w(n,1/3):7.787*n+16/116,[116*(i=3Di>.008856?Math.pow(i,1/3):7.787*i+16/116)= -16,500*(n-i),200*(i-(r=3Dr>.008856?Math.pow(r,1/3):7.787*r+16/116))]},a.hs= l.rgb=3Dfunction(t){var e,n,i,a,r,o=3Dt[0]/360,s=3Dt[1]/100,l=3Dt[2]/100;if= (0=3D=3D=3Ds)return[r=3D255*l,r,r];e=3D2*l-(n=3Dl<.5?l*(1+s):l+s-l*s),a=3D[= 0,0,0];for(var u=3D0;u<3;u++)(i=3Do+1/3*-(u-1))<0&&i++,i>1&&i--,r=3D6*i<1?e= +6*(n-e)*i:2*i<1?n:3*i<2?e+(n-e)*(2/3-i)*6:e,a[u]=3D255*r;return a},a.hsl.h= sv=3Dfunction(t){var e=3Dt[0],n=3Dt[1]/100,i=3Dt[2]/100,a=3Dn,r=3DMath.max(= i,.01);return n*=3D(i*=3D2)<=3D1?i:2-i,a*=3Dr<=3D1?r:2-r,[e,100*(0=3D=3D=3D= i?2*a/(r+a):2*n/(i+n)),100*((i+n)/2)]},a.hsv.rgb=3Dfunction(t){var e=3Dt[0]= /60,n=3Dt[1]/100,i=3Dt[2]/100,a=3DMath.floor(e)%6,r=3De-Math.floor(e),o=3D2= 55*i*(1-n),s=3D255*i*(1-n*r),l=3D255*i*(1-n*(1-r));switch(i*=3D255,a){case = 0:return[i,l,o];case 1:return[s,i,o];case 2:return[o,i,l];case 3:return[o,s= ,i];case 4:return[l,o,i];case 5:return[i,o,s]}},a.hsv.hsl=3Dfunction(t){var= e,n,i,a=3Dt[0],r=3Dt[1]/100,o=3Dt[2]/100,s=3DMath.max(o,.01);return i=3D(2= -r)*o,n=3Dr*s,[a,100*(n=3D(n/=3D(e=3D(2-r)*s)<=3D1?e:2-e)||0),100*(i/=3D2)]= },a.hwb.rgb=3Dfunction(t){var e,n,i,a,r,o,s,l=3Dt[0]/360,u=3Dt[1]/100,d=3Dt= [2]/100,h=3Du+d;switch(h>1&&(u/=3Dh,d/=3Dh),i=3D6*l-(e=3DMath.floor(6*l)),0= !=3D(1&e)&&(i=3D1-i),a=3Du+i*((n=3D1-d)-u),e){default:case 6:case 0:r=3Dn,o= =3Da,s=3Du;break;case 1:r=3Da,o=3Dn,s=3Du;break;case 2:r=3Du,o=3Dn,s=3Da;br= eak;case 3:r=3Du,o=3Da,s=3Dn;break;case 4:r=3Da,o=3Du,s=3Dn;break;case 5:r= =3Dn,o=3Du,s=3Da}return[255*r,255*o,255*s]},a.cmyk.rgb=3Dfunction(t){var e= =3Dt[0]/100,n=3Dt[1]/100,i=3Dt[2]/100,a=3Dt[3]/100;return[255*(1-Math.min(1= ,e*(1-a)+a)),255*(1-Math.min(1,n*(1-a)+a)),255*(1-Math.min(1,i*(1-a)+a))]},= a.xyz.rgb=3Dfunction(t){var e,n,i,a=3Dt[0]/100,r=3Dt[1]/100,o=3Dt[2]/100;re= turn n=3D-.9689*a+1.8758*r+.0415*o,i=3D.0557*a+-.204*r+1.057*o,e=3D(e=3D3.2= 406*a+-1.5372*r+-.4986*o)>.0031308?1.055*Math.pow(e,1/2.4)-.055:12.92*e,n= =3Dn>.0031308?1.055*Math.pow(n,1/2.4)-.055:12.92*n,i=3Di>.0031308?1.055*Mat= h.pow(i,1/2.4)-.055:12.92*i,[255*(e=3DMath.min(Math.max(0,e),1)),255*(n=3DM= ath.min(Math.max(0,n),1)),255*(i=3DMath.min(Math.max(0,i),1))]},a.xyz.lab= =3Dfunction(t){var e=3Dt[0],n=3Dt[1],i=3Dt[2];return n/=3D100,i/=3D108.883,= e=3D(e/=3D95.047)>.008856?Math.pow(e,1/3):7.787*e+16/116,[116*(n=3Dn>.00885= 6?Math.pow(n,1/3):7.787*n+16/116)-16,500*(e-n),200*(n-(i=3Di>.008856?Math.p= ow(i,1/3):7.787*i+16/116))]},a.lab.xyz=3Dfunction(t){var e,n,i,a=3Dt[0];e= =3Dt[1]/500+(n=3D(a+16)/116),i=3Dn-t[2]/200;var r=3DMath.pow(n,3),o=3DMath.= pow(e,3),s=3DMath.pow(i,3);return n=3Dr>.008856?r:(n-16/116)/7.787,e=3Do>.0= 08856?o:(e-16/116)/7.787,i=3Ds>.008856?s:(i-16/116)/7.787,[e*=3D95.047,n*= =3D100,i*=3D108.883]},a.lab.lch=3Dfunction(t){var e,n=3Dt[0],i=3Dt[1],a=3Dt= [2];return(e=3D360*Math.atan2(a,i)/2/Math.PI)<0&&(e+=3D360),[n,Math.sqrt(i*= i+a*a),e]},a.lch.lab=3Dfunction(t){var e,n=3Dt[0],i=3Dt[1];return e=3Dt[2]/= 360*2*Math.PI,[n,i*Math.cos(e),i*Math.sin(e)]},a.rgb.ansi16=3Dfunction(t){v= ar e=3Dt[0],n=3Dt[1],i=3Dt[2],r=3D1 in arguments?arguments[1]:a.rgb.hsv(t)[= 2];if(0=3D=3D=3D(r=3DMath.round(r/50)))return 30;var o=3D30+(Math.round(i/2= 55)<<2|Math.round(n/255)<<1|Math.round(e/255));return 2=3D=3D=3Dr&&(o+=3D60= ),o},a.hsv.ansi16=3Dfunction(t){return a.rgb.ansi16(a.hsv.rgb(t),t[2])},a.r= gb.ansi256=3Dfunction(t){var e=3Dt[0],n=3Dt[1],i=3Dt[2];return e=3D=3D=3Dn&= &n=3D=3D=3Di?e<8?16:e>248?231:Math.round((e-8)/247*24)+232:16+36*Math.round= (e/255*5)+6*Math.round(n/255*5)+Math.round(i/255*5)},a.ansi16.rgb=3Dfunctio= n(t){var e=3Dt%10;if(0=3D=3D=3De||7=3D=3D=3De)return t>50&&(e+=3D3.5),[e=3D= e/10.5*255,e,e];var n=3D.5*(1+~~(t>50));return[(1&e)*n*255,(e>>1&1)*n*255,(= e>>2&1)*n*255]},a.ansi256.rgb=3Dfunction(t){if(t>=3D232){var e=3D10*(t-232)= +8;return[e,e,e]}var n;return t-=3D16,[Math.floor(t/36)/5*255,Math.floor((n= =3Dt%36)/6)/5*255,n%6/5*255]},a.rgb.hex=3Dfunction(t){var e=3D(((255&Math.r= ound(t[0]))<<16)+((255&Math.round(t[1]))<<8)+(255&Math.round(t[2]))).toStri= ng(16).toUpperCase();return"000000".substring(e.length)+e},a.hex.rgb=3Dfunc= tion(t){var e=3Dt.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!e)retu= rn[0,0,0];var n=3De[0];3=3D=3D=3De[0].length&&(n=3Dn.split("").map((functio= n(t){return t+t})).join(""));var i=3DparseInt(n,16);return[i>>16&255,i>>8&2= 55,255&i]},a.rgb.hcg=3Dfunction(t){var e,n=3Dt[0]/255,i=3Dt[1]/255,a=3Dt[2]= /255,r=3DMath.max(Math.max(n,i),a),o=3DMath.min(Math.min(n,i),a),s=3Dr-o;re= turn e=3Ds<=3D0?0:r=3D=3D=3Dn?(i-a)/s%6:r=3D=3D=3Di?2+(a-n)/s:4+(n-i)/s+4,e= /=3D6,[360*(e%=3D1),100*s,100*(s<1?o/(1-s):0)]},a.hsl.hcg=3Dfunction(t){var= e=3Dt[1]/100,n=3Dt[2]/100,i=3D1,a=3D0;return(i=3Dn<.5?2*e*n:2*e*(1-n))<1&&= (a=3D(n-.5*i)/(1-i)),[t[0],100*i,100*a]},a.hsv.hcg=3Dfunction(t){var e=3Dt[= 1]/100,n=3Dt[2]/100,i=3De*n,a=3D0;return i<1&&(a=3D(n-i)/(1-i)),[t[0],100*i= ,100*a]},a.hcg.rgb=3Dfunction(t){var e=3Dt[0]/360,n=3Dt[1]/100,i=3Dt[2]/100= ;if(0=3D=3D=3Dn)return[255*i,255*i,255*i];var a,r=3D[0,0,0],o=3De%1*6,s=3Do= %1,l=3D1-s;switch(Math.floor(o)){case 0:r[0]=3D1,r[1]=3Ds,r[2]=3D0;break;ca= se 1:r[0]=3Dl,r[1]=3D1,r[2]=3D0;break;case 2:r[0]=3D0,r[1]=3D1,r[2]=3Ds;bre= ak;case 3:r[0]=3D0,r[1]=3Dl,r[2]=3D1;break;case 4:r[0]=3Ds,r[1]=3D0,r[2]=3D= 1;break;default:r[0]=3D1,r[1]=3D0,r[2]=3Dl}return a=3D(1-n)*i,[255*(n*r[0]+= a),255*(n*r[1]+a),255*(n*r[2]+a)]},a.hcg.hsv=3Dfunction(t){var e=3Dt[1]/100= ,n=3De+t[2]/100*(1-e),i=3D0;return n>0&&(i=3De/n),[t[0],100*i,100*n]},a.hcg= .hsl=3Dfunction(t){var e=3Dt[1]/100,n=3Dt[2]/100*(1-e)+.5*e,i=3D0;return n>= 0&&n<.5?i=3De/(2*n):n>=3D.5&&n<1&&(i=3De/(2*(1-n))),[t[0],100*i,100*n]},a.h= cg.hwb=3Dfunction(t){var e=3Dt[1]/100,n=3De+t[2]/100*(1-e);return[t[0],100*= (n-e),100*(1-n)]},a.hwb.hcg=3Dfunction(t){var e=3Dt[1]/100,n=3D1-t[2]/100,i= =3Dn-e,a=3D0;return i<1&&(a=3D(n-i)/(1-i)),[t[0],100*i,100*a]},a.apple.rgb= =3Dfunction(t){return[t[0]/65535*255,t[1]/65535*255,t[2]/65535*255]},a.rgb.= apple=3Dfunction(t){return[t[0]/255*65535,t[1]/255*65535,t[2]/255*65535]},a= .gray.rgb=3Dfunction(t){return[t[0]/100*255,t[0]/100*255,t[0]/100*255]},a.g= ray.hsl=3Da.gray.hsv=3Dfunction(t){return[0,0,t[0]]},a.gray.hwb=3Dfunction(= t){return[0,100,t[0]]},a.gray.cmyk=3Dfunction(t){return[0,0,0,t[0]]},a.gray= .lab=3Dfunction(t){return[t[0],0,0]},a.gray.hex=3Dfunction(t){var e=3D255&M= ath.round(t[0]/100*255),n=3D((e<<16)+(e<<8)+e).toString(16).toUpperCase();r= eturn"000000".substring(n.length)+n},a.rgb.gray=3Dfunction(t){return[(t[0]+= t[1]+t[2])/3/255*100]}}));n.rgb,n.hsl,n.hsv,n.hwb,n.cmyk,n.xyz,n.lab,n.lch,= n.hex,n.keyword,n.ansi16,n.ansi256,n.hcg,n.apple,n.gray;function i(t){var e= =3Dfunction(){for(var t=3D{},e=3DObject.keys(n),i=3De.length,a=3D0;a1&&(e=3DArray.prototype.slice.call(arguments));var n=3Dt(e);if("object"=3D= =3Dtypeof n)for(var i=3Dn.length,a=3D0;a1&&(e=3DArray.prototype.slice.call(arguments)),t(e))};return"conversion"in= t&&(e.conversion=3Dt.conversion),e}(i)}))}));var s=3Do,l=3D{aliceblue:[240= ,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,2= 12],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],bro= wn:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[1= 27,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],da= rkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],dar= korchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagree= n:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslat= egrey:[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,24= 0],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghos= twhite:[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],lavenderblus= h:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:= [173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenr= odyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lig= htgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],ligh= tseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,1= 53],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[= 255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magen= ta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[= 0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagree= n:[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,1= 81],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[1= 28,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],or= chid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],pale= turquoise:[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,16= 0,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,15= 3],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:[25= 5,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205= ,50]},u=3D{getRgba:d,getHsla:h,getRgb:function(t){var e=3Dd(t);return e&&e.= slice(0,3)},getHsl:function(t){var e=3Dh(t);return e&&e.slice(0,3)},getHwb:= c,getAlpha:function(t){var e=3Dd(t);if(e)return e[3];if(e=3Dh(t))return e[3= ];if(e=3Dc(t))return e[3]},hexString:function(t,e){e=3Dvoid 0!=3D=3De&&3=3D= =3D=3Dt.length?e:t[3];return"#"+v(t[0])+v(t[1])+v(t[2])+(e>=3D0&&e<1?v(Math= .round(255*e)):"")},rgbString:function(t,e){if(e<1||t[3]&&t[3]<1)return f(t= ,e);return"rgb("+t[0]+", "+t[1]+", "+t[2]+")"},rgbaString:f,percentString:f= unction(t,e){if(e<1||t[3]&&t[3]<1)return g(t,e);var n=3DMath.round(t[0]/255= *100),i=3DMath.round(t[1]/255*100),a=3DMath.round(t[2]/255*100);return"rgb(= "+n+"%, "+i+"%, "+a+"%)"},percentaString:g,hslString:function(t,e){if(e<1||= t[3]&&t[3]<1)return p(t,e);return"hsl("+t[0]+", "+t[1]+"%, "+t[2]+"%)"},hsl= aString:p,hwbString:function(t,e){void 0=3D=3D=3De&&(e=3Dvoid 0!=3D=3Dt[3]?= t[3]:1);return"hwb("+t[0]+", "+t[1]+"%, "+t[2]+"%"+(void 0!=3D=3De&&1!=3D= =3De?", "+e:"")+")"},keyword:function(t){return b[t.slice(0,3)]}};function = d(t){if(t){var e=3D[0,0,0],n=3D1,i=3Dt.match(/^#([a-fA-F0-9]{3,4})$/i),a=3D= "";if(i){a=3D(i=3Di[1])[3];for(var r=3D0;rn?(e+.05)/(n+.05):(n+.05)/(e+.05= )},level:function(t){var e=3Dthis.contrast(t);return e>=3D7.1?"AAA":e>=3D4.= 5?"AA":""},dark:function(){var t=3Dthis.values.rgb;return(299*t[0]+587*t[1]= +114*t[2])/1e3<128},light:function(){return!this.dark()},negate:function(){= for(var t=3D[],e=3D0;e<3;e++)t[e]=3D255-this.values.rgb[e];return this.setV= alues("rgb",t),this},lighten:function(t){var e=3Dthis.values.hsl;return e[2= ]+=3De[2]*t,this.setValues("hsl",e),this},darken:function(t){var e=3Dthis.v= alues.hsl;return e[2]-=3De[2]*t,this.setValues("hsl",e),this},saturate:func= tion(t){var e=3Dthis.values.hsl;return e[1]+=3De[1]*t,this.setValues("hsl",= e),this},desaturate:function(t){var e=3Dthis.values.hsl;return e[1]-=3De[1]= *t,this.setValues("hsl",e),this},whiten:function(t){var e=3Dthis.values.hwb= ;return e[1]+=3De[1]*t,this.setValues("hwb",e),this},blacken:function(t){va= r e=3Dthis.values.hwb;return e[2]+=3De[2]*t,this.setValues("hwb",e),this},g= reyscale:function(){var t=3Dthis.values.rgb,e=3D.3*t[0]+.59*t[1]+.11*t[2];r= eturn this.setValues("rgb",[e,e,e]),this},clearer:function(t){var e=3Dthis.= values.alpha;return this.setValues("alpha",e-e*t),this},opaquer:function(t)= {var e=3Dthis.values.alpha;return this.setValues("alpha",e+e*t),this},rotat= e:function(t){var e=3Dthis.values.hsl,n=3D(e[0]+t)%360;return e[0]=3Dn<0?36= 0+n:n,this.setValues("hsl",e),this},mix:function(t,e){var n=3Dt,i=3Dvoid 0= =3D=3D=3De?.5:e,a=3D2*i-1,r=3Dthis.alpha()-n.alpha(),o=3D((a*r=3D=3D-1?a:(a= +r)/(1+a*r))+1)/2,s=3D1-o;return this.rgb(o*this.red()+s*n.red(),o*this.gre= en()+s*n.green(),o*this.blue()+s*n.blue()).alpha(this.alpha()*i+n.alpha()*(= 1-i))},toJSON:function(){return this.rgb()},clone:function(){var t,e,n=3Dne= w y,i=3Dthis.values,a=3Dn.values;for(var r in i)i.hasOwnProperty(r)&&(t=3Di= [r],"[object Array]"=3D=3D=3D(e=3D{}.toString.call(t))?a[r]=3Dt.slice(0):"[= object Number]"=3D=3D=3De?a[r]=3Dt:console.error("unexpected color value:",= t));return n}},y.prototype.spaces=3D{rgb:["red","green","blue"],hsl:["hue",= "saturation","lightness"],hsv:["hue","saturation","value"],hwb:["hue","whit= eness","blackness"],cmyk:["cyan","magenta","yellow","black"]},y.prototype.m= axes=3D{rgb:[255,255,255],hsl:[360,100,100],hsv:[360,100,100],hwb:[360,100,= 100],cmyk:[100,100,100,100]},y.prototype.getValues=3Dfunction(t){for(var e= =3Dthis.values,n=3D{},i=3D0;i=3D0;a--)e.call(n,t[a],a);= else for(a=3D0;a=3D1?t:-(Math.sqrt(1-t*t)-1)},easeOutCirc:function(t){return Math= .sqrt(1-(t-=3D1)*t)},easeInOutCirc:function(t){return(t/=3D.5)<1?-.5*(Math.= sqrt(1-t*t)-1):.5*(Math.sqrt(1-(t-=3D2)*t)+1)},easeInElastic:function(t){va= r e=3D1.70158,n=3D0,i=3D1;return 0=3D=3D=3Dt?0:1=3D=3D=3Dt?1:(n||(n=3D.3),i= <1?(i=3D1,e=3Dn/4):e=3Dn/(2*Math.PI)*Math.asin(1/i),-i*Math.pow(2,10*(t-=3D= 1))*Math.sin((t-e)*(2*Math.PI)/n))},easeOutElastic:function(t){var e=3D1.70= 158,n=3D0,i=3D1;return 0=3D=3D=3Dt?0:1=3D=3D=3Dt?1:(n||(n=3D.3),i<1?(i=3D1,= e=3Dn/4):e=3Dn/(2*Math.PI)*Math.asin(1/i),i*Math.pow(2,-10*t)*Math.sin((t-e= )*(2*Math.PI)/n)+1)},easeInOutElastic:function(t){var e=3D1.70158,n=3D0,i= =3D1;return 0=3D=3D=3Dt?0:2=3D=3D(t/=3D.5)?1:(n||(n=3D.45),i<1?(i=3D1,e=3Dn= /4):e=3Dn/(2*Math.PI)*Math.asin(1/i),t<1?i*Math.pow(2,10*(t-=3D1))*Math.sin= ((t-e)*(2*Math.PI)/n)*-.5:i*Math.pow(2,-10*(t-=3D1))*Math.sin((t-e)*(2*Math= .PI)/n)*.5+1)},easeInBack:function(t){var e=3D1.70158;return t*t*((e+1)*t-e= )},easeOutBack:function(t){var e=3D1.70158;return(t-=3D1)*t*((e+1)*t+e)+1},= easeInOutBack:function(t){var e=3D1.70158;return(t/=3D.5)<1?t*t*((1+(e*=3D1= .525))*t-e)*.5:.5*((t-=3D2)*t*((1+(e*=3D1.525))*t+e)+2)},easeInBounce:funct= ion(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-=3D1.5/2.75)*t+.75:t<2.5/2.75?7.5625*(t-= =3D2.25/2.75)*t+.9375:7.5625*(t-=3D2.625/2.75)*t+.984375},easeInOutBounce:f= unction(t){return t<.5?.5*S.easeInBounce(2*t):.5*S.easeOutBounce(2*t-1)+.5}= },C=3D{effects:S};M.easingEffects=3DS;var P=3DMath.PI,A=3DP/180,D=3D2*P,T= =3DP/2,I=3DP/4,F=3D2*P/3,L=3D{clear:function(t){t.ctx.clearRect(0,0,t.width= ,t.height)},roundedRect:function(t,e,n,i,a,r){if(r){var o=3DMath.min(r,a/2,= i/2),s=3De+o,l=3Dn+o,u=3De+i-o,d=3Dn+a-o;t.moveTo(e,l),se.left-1e-6&&t.xe.top-1e-6&&t.y0&&this.requestAnimationFrame()},advance:function(){for(var t,e,n,i,a=3Dt= his.animations,r=3D0;r=3Dn?(V.callback(t.onAnimationComplete,[t],e),e.animating=3D!1= ,a.splice(r,1)):++r}},J=3DV.options.resolve,Q=3D["push","pop","shift","spli= ce","unshift"];function tt(t,e){var n=3Dt._chartjs;if(n){var i=3Dn.listener= s,a=3Di.indexOf(e);-1!=3D=3Da&&i.splice(a,1),i.length>0||(Q.forEach((functi= on(e){delete t[e]})),delete t._chartjs)}}var et=3Dfunction(t,e){this.initia= lize(t,e)};V.extend(et.prototype,{datasetElementType:null,dataElementType:n= ull,_datasetElementOptions:["backgroundColor","borderCapStyle","borderColor= ","borderDash","borderDashOffset","borderJoinStyle","borderWidth"],_dataEle= mentOptions:["backgroundColor","borderColor","borderWidth","pointStyle"],in= itialize:function(t,e){var n=3Dthis;n.chart=3Dt,n.index=3De,n.linkScales(),= n.addElements(),n._type=3Dn.getMeta().type},updateIndex:function(t){this.in= dex=3Dt},linkScales:function(){var t=3Dthis.getMeta(),e=3Dthis.chart,n=3De.= scales,i=3Dthis.getDataset(),a=3De.options.scales;null!=3D=3Dt.xAxisID&&t.x= AxisID in n&&!i.xAxisID||(t.xAxisID=3Di.xAxisID||a.xAxes[0].id),null!=3D=3D= t.yAxisID&&t.yAxisID in n&&!i.yAxisID||(t.yAxisID=3Di.yAxisID||a.yAxes[0].i= d)},getDataset:function(){return this.chart.data.datasets[this.index]},getM= eta: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._getValue= ScaleId())},_getIndexScale:function(){return this.getScaleForId(this._getIn= dexScaleId())},reset:function(){this._update(!0)},destroy:function(){this._= data&&tt(this._data,this)},createMetaDataset:function(){var t=3Dthis.datase= tElementType;return t&&new t({_chart:this.chart,_datasetIndex:this.index})}= ,createMetaData:function(t){var e=3Dthis.dataElementType;return e&&new e({_= chart:this.chart,_datasetIndex:this.index,_index:t})},addElements:function(= ){var t,e,n=3Dthis.getMeta(),i=3Dthis.getDataset().data||[],a=3Dn.data;for(= t=3D0,e=3Di.length;tn&&this.insertElements(n,i-n)},insertElements:function= (t,e){for(var n=3D0;na?(r=3Da/e.innerRadius,t.a= rc(o,s,e.innerRadius-a,i+r,n-r,!0)):t.arc(o,s,a,i+Math.PI/2,n-Math.PI/2),t.= closePath(),t.clip()}function rt(t,e,n){var i=3D"inner"=3D=3D=3De.borderAli= gn;i?(t.lineWidth=3D2*e.borderWidth,t.lineJoin=3D"round"):(t.lineWidth=3De.= borderWidth,t.lineJoin=3D"bevel"),n.fullCircles&&function(t,e,n,i){var a,r= =3Dn.endAngle;for(i&&(n.endAngle=3Dn.startAngle+it,at(t,n),n.endAngle=3Dr,n= .endAngle=3D=3D=3Dn.startAngle&&n.fullCircles&&(n.endAngle+=3Dit,n.fullCirc= les--)),t.beginPath(),t.arc(n.x,n.y,n.innerRadius,n.startAngle+it,n.startAn= gle,!0),a=3D0;as;)a-=3Dit;for(;a=3Do&&a<=3Ds,u=3Dr>= =3Dn.innerRadius&&r<=3Dn.outerRadius;return l&&u}return!1},getCenterPoint:f= unction(){var t=3Dthis._view,e=3D(t.startAngle+t.endAngle)/2,n=3D(t.innerRa= dius+t.outerRadius)/2;return{x:t.x+Math.cos(e)*n,y:t.y+Math.sin(e)*n}},getA= rea:function(){var t=3Dthis._view;return Math.PI*((t.endAngle-t.startAngle)= /(2*Math.PI))*(Math.pow(t.outerRadius,2)-Math.pow(t.innerRadius,2))},toolti= pPosition:function(){var t=3Dthis._view,e=3Dt.startAngle+(t.endAngle-t.star= tAngle)/2,n=3D(t.outerRadius-t.innerRadius)/2+t.innerRadius;return{x:t.x+Ma= th.cos(e)*n,y:t.y+Math.sin(e)*n}},draw:function(){var t,e=3Dthis._chart.ctx= ,n=3Dthis._view,i=3D"inner"=3D=3D=3Dn.borderAlign?.33:0,a=3D{x:n.x,y:n.y,in= nerRadius:n.innerRadius,outerRadius:Math.max(n.outerRadius-i,0),pixelMargin= :i,startAngle:n.startAngle,endAngle:n.endAngle,fullCircles:Math.floor(n.cir= cumference/it)};if(e.save(),e.fillStyle=3Dn.backgroundColor,e.strokeStyle= =3Dn.borderColor,a.fullCircles){for(a.endAngle=3Da.startAngle+it,e.beginPat= h(),e.arc(a.x,a.y,a.outerRadius,a.startAngle,a.endAngle),e.arc(a.x,a.y,a.in= nerRadius,a.endAngle,a.startAngle,!0),e.closePath(),t=3D0;tt.x&&(e=3Dvt(e,"left","right")= ):t.basen?n:i,r:l.right||a<0?0:a>e?e:a,b:l.botto= m||r<0?0:r>n?n:r,l:l.left||o<0?0:o>e?e:o}}function xt(t,e,n){var i=3Dnull= =3D=3D=3De,a=3Dnull=3D=3D=3Dn,r=3D!(!t||i&&a)&&mt(t);return r&&(i||e>=3Dr.l= eft&&e<=3Dr.right)&&(a||n>=3Dr.top&&n<=3Dr.bottom)}z._set("global",{element= s:{rectangle:{backgroundColor:gt,borderColor:gt,borderSkipped:"bottom",bord= erWidth:0}}});var yt=3DX.extend({_type:"rectangle",draw:function(){var t=3D= this._chart.ctx,e=3Dthis._view,n=3Dfunction(t){var e=3Dmt(t),n=3De.right-e.= left,i=3De.bottom-e.top,a=3Dbt(t,n/2,i/2);return{outer:{x:e.left,y:e.top,w:= n,h:i},inner:{x:e.left+a.l,y:e.top+a.t,w:n-a.l-a.r,h:i-a.t-a.b}}}(e),i=3Dn.= outer,a=3Dn.inner;t.fillStyle=3De.backgroundColor,t.fillRect(i.x,i.y,i.w,i.= h),i.w=3D=3D=3Da.w&&i.h=3D=3D=3Da.h||(t.save(),t.beginPath(),t.rect(i.x,i.y= ,i.w,i.h),t.clip(),t.fillStyle=3De.borderColor,t.rect(a.x,a.y,a.w,a.h),t.fi= ll("evenodd"),t.restore())},height:function(){var t=3Dthis._view;return t.b= ase-t.y},inRange:function(t,e){return xt(this._view,t,e)},inLabelRange:func= tion(t,e){var n=3Dthis._view;return pt(n)?xt(n,t,null):xt(n,null,e)},inXRan= ge:function(t){return xt(this._view,t,null)},inYRange:function(t){return xt= (this._view,null,t)},getCenterPoint:function(){var t,e,n=3Dthis._view;retur= n pt(n)?(t=3Dn.x,e=3D(n.y+n.base)/2):(t=3D(n.x+n.base)/2,e=3Dn.y),{x:t,y:e}= },getArea:function(){var t=3Dthis._view;return pt(t)?t.width*Math.abs(t.y-t= .base):t.height*Math.abs(t.x-t.base)},tooltipPosition:function(){var t=3Dth= is._view;return{x:t.x,y:t.y}}}),_t=3D{},kt=3Dot,wt=3Dut,Mt=3Dft,St=3Dyt;_t.= Arc=3Dkt,_t.Line=3Dwt,_t.Point=3DMt,_t.Rectangle=3DSt;var Ct=3DV._deprecate= d,Pt=3DV.valueOrDefault;function At(t,e,n){var i,a,r=3Dn.barThickness,o=3De= .stackCount,s=3De.pixels[t],l=3DV.isNullOrUndef(r)?function(t,e){var n,i,a,= r,o=3Dt._length;for(a=3D1,r=3De.length;a0?Math.min(o,Math.abs(i-n)):o,n=3Di;return o}(e.scale,e.pixels):-1;= return V.isNullOrUndef(r)?(i=3Dl*n.categoryPercentage,a=3Dn.barPercentage):= (i=3Dr*o,a=3D1),{chunk:i/o,ratio:a,start:s-i/2}}z._set("bar",{hover:{mode:"= label"},scales:{xAxes:[{type:"category",offset:!0,gridLines:{offsetGridLine= s:!0}}],yAxes:[{type:"linear"}]}}),z._set("global",{datasets:{bar:{category= Percentage:.8,barPercentage:.9}}});var Dt=3Dnt.extend({dataElementType:_t.R= ectangle,_dataElementOptions:["backgroundColor","borderColor","borderSkippe= d","borderWidth","barPercentage","barThickness","categoryPercentage","maxBa= rThickness","minBarLength"],initialize:function(){var t,e,n=3Dthis;nt.proto= type.initialize.apply(n,arguments),(t=3Dn.getMeta()).stack=3Dn.getDataset()= .stack,t.bar=3D!0,e=3Dn._getIndexScale().options,Ct("bar chart",e.barPercen= tage,"scales.[x/y]Axes.barPercentage","dataset.barPercentage"),Ct("bar char= t",e.barThickness,"scales.[x/y]Axes.barThickness","dataset.barThickness"),C= t("bar chart",e.categoryPercentage,"scales.[x/y]Axes.categoryPercentage","d= ataset.categoryPercentage"),Ct("bar chart",n._getValueScale().options.minBa= rLength,"scales.[x/y]Axes.minBarLength","dataset.minBarLength"),Ct("bar cha= rt",e.maxBarThickness,"scales.[x/y]Axes.maxBarThickness","dataset.maxBarThi= ckness")},update:function(t){var e,n,i=3Dthis.getMeta().data;for(this._rule= r=3Dthis.getRuler(),e=3D0,n=3Di.length;e=3D0&&p.min>=3D0?p.min:p.max,y=3Dvoid 0=3D=3D=3Dp.start?p.end:p= .max>=3D0&&p.min>=3D0?p.max-p.min:p.min-p.max,_=3Dg.length;if(v||void 0=3D= =3D=3Dv&&void 0!=3D=3Db)for(i=3D0;i<_&&(a=3Dg[i]).index!=3D=3Dt;++i)a.stack= =3D=3D=3Db&&(r=3Dvoid 0=3D=3D=3D(u=3Dh._parseValue(f[a.index].data[e])).sta= rt?u.end:u.min>=3D0&&u.max>=3D0?u.max:u.min,(p.min<0&&r<0||p.max>=3D0&&r>0)= &&(x+=3Dr));return o=3Dh.getPixelForValue(x),l=3D(s=3Dh.getPixelForValue(x+= y))-o,void 0!=3D=3Dm&&Math.abs(l)=3D0&&!c||y<0&&c?o-m:o+m)= ,{size:l,base:o,head:s,center:s+l/2}},calculateBarIndexPixels:function(t,e,= n,i){var a=3D"flex"=3D=3D=3Di.barThickness?function(t,e,n){var i,a=3De.pixe= ls,r=3Da[t],o=3Dt>0?a[t-1]:null,s=3Dt=3DOt?-Rt:b<-Ot?Rt:0)+m,y=3DMath.cos(b),_=3DMa= th.sin(b),k=3DMath.cos(x),w=3DMath.sin(x),M=3Db<=3D0&&x>=3D0||x>=3DRt,S=3Db= <=3Dzt&&x>=3Dzt||x>=3DRt+zt,C=3Db<=3D-zt&&x>=3D-zt||x>=3DOt+zt,P=3Db=3D=3D= =3D-Ot||x>=3DOt?-1:Math.min(y,y*p,k,k*p),A=3DC?-1:Math.min(_,_*p,w,w*p),D= =3DM?1:Math.max(y,y*p,k,k*p),T=3DS?1:Math.max(_,_*p,w,w*p);u=3D(D-P)/2,d=3D= (T-A)/2,h=3D-(D+P)/2,c=3D-(T+A)/2}for(i=3D0,a=3Dg.length;i0&&!isNaN(t)?Rt*(Math.abs(t)/e):0},getMaxBorderWidth:function(t){var e,= n,i,a,r,o,s,l,u=3D0,d=3Dthis.chart;if(!t)for(e=3D0,n=3Dd.data.datasets.leng= th;e(u=3Ds>u?s:u)?l:u);return u},setHoverStyle:function(= t){var e=3Dt._model,n=3Dt._options,i=3DV.getHoverColor;t.$previousStyle=3D{= backgroundColor:e.backgroundColor,borderColor:e.borderColor,borderWidth:e.b= orderWidth},e.backgroundColor=3DLt(n.hoverBackgroundColor,i(n.backgroundCol= or)),e.borderColor=3DLt(n.hoverBorderColor,i(n.borderColor)),e.borderWidth= =3DLt(n.hoverBorderWidth,n.borderWidth)},_getRingWeightOffset:function(t){f= or(var e=3D0,n=3D0;n0&&Vt(l[t-1]._model,s)&&(n.controlPointPreviousX=3Du(= n.controlPointPreviousX,s.left,s.right),n.controlPointPreviousY=3Du(n.contr= olPointPreviousY,s.top,s.bottom)),t0&&(r=3Dt.getDatasetMeta(r[0]._datase= tIndex).data),r},"x-axis":function(t,e){return ie(t,e,{intersect:!1})},poin= t:function(t,e){return te(t,Jt(e,t))},nearest:function(t,e,n){var i=3DJt(e,= t);n.axis=3Dn.axis||"xy";var a=3Dne(n.axis);return ee(t,i,n.intersect,a)},x= :function(t,e,n){var i=3DJt(e,t),a=3D[],r=3D!1;return Qt(t,(function(t){t.i= nXRange(i.x)&&a.push(t),t.inRange(i.x,i.y)&&(r=3D!0)})),n.intersect&&!r&&(a= =3D[]),a},y:function(t,e,n){var i=3DJt(e,t),a=3D[],r=3D!1;return Qt(t,(func= tion(t){t.inYRange(i.y)&&a.push(t),t.inRange(i.x,i.y)&&(r=3D!0)})),n.inters= ect&&!r&&(a=3D[]),a}}},re=3DV.extend;function oe(t,e){return V.where(t,(fun= ction(t){return t.pos=3D=3D=3De}))}function se(t,e){return t.sort((function= (t,n){var i=3De?n:t,a=3De?t:n;return i.weight=3D=3D=3Da.weight?i.index-a.in= dex:i.weight-a.weight}))}function le(t,e,n,i){return Math.max(t[n],e[n])+Ma= th.max(t[i],e[i])}function ue(t,e,n){var i,a,r=3Dn.box,o=3Dt.maxPadding;if(= n.size&&(t[n.pos]-=3Dn.size),n.size=3Dn.horizontal?r.height:r.width,t[n.pos= ]+=3Dn.size,r.getPadding){var s=3Dr.getPadding();o.top=3DMath.max(o.top,s.t= op),o.left=3DMath.max(o.left,s.left),o.bottom=3DMath.max(o.bottom,s.bottom)= ,o.right=3DMath.max(o.right,s.right)}if(i=3De.outerWidth-le(o,t,"left","rig= ht"),a=3De.outerHeight-le(o,t,"top","bottom"),i!=3D=3Dt.w||a!=3D=3Dt.h)retu= rn t.w=3Di,t.h=3Da,n.horizontal?i!=3D=3Dt.w:a!=3D=3Dt.h}function de(t,e){va= r n=3De.maxPadding;function i(t){var i=3D{left:0,top:0,right:0,bottom:0};re= turn t.forEach((function(t){i[t]=3DMath.max(e[t],n[t])})),i}return i(t?["le= ft","right"]:["top","bottom"])}function he(t,e,n){var i,a,r,o,s,l,u=3D[];fo= r(i=3D0,a=3Dt.length;idiv{position:absolute;width:1000000px;height:100= 0000px;left:0;top:0}.chartjs-size-monitor-shrink>div{position:absolute;widt= h:200%;height:200%;left:0;top:0}"}))&&fe.default||fe,me=3D"$chartjs",ve=3D"= chartjs-size-monitor",be=3D"chartjs-render-monitor",xe=3D"chartjs-render-an= imation",ye=3D["animationstart","webkitAnimationStart"],_e=3D{touchstart:"m= ousedown",touchmove:"mousemove",touchend:"mouseup",pointerenter:"mouseenter= ",pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",point= erleave:"mouseout",pointerout:"mouseout"};function ke(t,e){var n=3DV.getSty= le(t,e),i=3Dn&&n.match(/^(\d+)(\.\d+)?px$/);return i?Number(i[1]):void 0}va= r we=3D!!function(){var t=3D!1;try{var e=3DObject.defineProperty({},"passiv= e",{get:function(){t=3D!0}});window.addEventListener("e",null,e)}catch(t){}= return t}()&&{passive:!0};function Me(t,e,n){t.addEventListener(e,n,we)}fun= ction Se(t,e,n){t.removeEventListener(e,n,we)}function Ce(t,e,n,i,a){return= {type:t,chart:e,native:a||null,x:void 0!=3D=3Dn?n:null,y:void 0!=3D=3Di?i:n= ull}}function Pe(t){var e=3Ddocument.createElement("div");return e.classNam= e=3Dt||"",e}function Ae(t,e,n){var i,a,r,o,s=3Dt[me]||(t[me]=3D{}),l=3Ds.re= sizer=3Dfunction(t){var e=3DPe(ve),n=3DPe(ve+"-expand"),i=3DPe(ve+"-shrink"= );n.appendChild(Pe()),i.appendChild(Pe()),e.appendChild(n),e.appendChild(i)= ,e._reset=3Dfunction(){n.scrollLeft=3D1e6,n.scrollTop=3D1e6,i.scrollLeft=3D= 1e6,i.scrollTop=3D1e6};var a=3Dfunction(){e._reset(),t()};return Me(n,"scro= ll",a.bind(n,"expand")),Me(i,"scroll",a.bind(i,"shrink")),e}((i=3Dfunction(= ){if(s.resizer){var i=3Dn.options.maintainAspectRatio&&t.parentNode,a=3Di?i= .clientWidth:0;e(Ce("resize",n)),i&&i.clientWidth0){var r= =3Dt[0];r.label?n=3Dr.label:r.xLabel?n=3Dr.xLabel:a>0&&r.index-= 1?t.split("\n"):t}function We(t){var e=3Dz.global;return{xPadding:t.xPaddin= g,yPadding:t.yPadding,xAlign:t.xAlign,yAlign:t.yAlign,rtl:t.rtl,textDirecti= on:t.textDirection,bodyFontColor:t.bodyFontColor,_bodyFontFamily:Re(t.bodyF= ontFamily,e.defaultFontFamily),_bodyFontStyle:Re(t.bodyFontStyle,e.defaultF= ontStyle),_bodyAlign:t.bodyAlign,bodyFontSize:Re(t.bodyFontSize,e.defaultFo= ntSize),bodySpacing:t.bodySpacing,titleFontColor:t.titleFontColor,_titleFon= tFamily:Re(t.titleFontFamily,e.defaultFontFamily),_titleFontStyle:Re(t.titl= eFontStyle,e.defaultFontStyle),titleFontSize:Re(t.titleFontSize,e.defaultFo= ntSize),_titleAlign:t.titleAlign,titleSpacing:t.titleSpacing,titleMarginBot= tom:t.titleMarginBottom,footerFontColor:t.footerFontColor,_footerFontFamily= :Re(t.footerFontFamily,e.defaultFontFamily),_footerFontStyle:Re(t.footerFon= tStyle,e.defaultFontStyle),footerFontSize:Re(t.footerFontSize,e.defaultFont= Size),_footerAlign:t.footerAlign,footerSpacing:t.footerSpacing,footerMargin= Top:t.footerMarginTop,caretSize:t.caretSize,cornerRadius:t.cornerRadius,bac= kgroundColor:t.backgroundColor,opacity:0,legendColorBackground:t.multiKeyBa= ckground,displayColors:t.displayColors,borderColor:t.borderColor,borderWidt= h:t.borderWidth}}function Ve(t,e){return"center"=3D=3D=3De?t.x+t.width/2:"r= ight"=3D=3D=3De?t.x+t.width-t.xPadding:t.x+t.xPadding}function He(t){return= Be([],Ee(t))}var je=3DX.extend({initialize:function(){this._model=3DWe(thi= s._options),this._lastActive=3D[]},getTitle:function(){var t=3Dthis,e=3Dt._= options,n=3De.callbacks,i=3Dn.beforeTitle.apply(t,arguments),a=3Dn.title.ap= ply(t,arguments),r=3Dn.afterTitle.apply(t,arguments),o=3D[];return o=3DBe(o= ,Ee(i)),o=3DBe(o,Ee(a)),o=3DBe(o,Ee(r))},getBeforeBody:function(){return He= (this._options.callbacks.beforeBody.apply(this,arguments))},getBody:functio= n(t,e){var n=3Dthis,i=3Dn._options.callbacks,a=3D[];return V.each(t,(functi= on(t){var r=3D{before:[],lines:[],after:[]};Be(r.before,Ee(i.beforeLabel.ca= ll(n,t,e))),Be(r.lines,i.label.call(n,t,e)),Be(r.after,Ee(i.afterLabel.call= (n,t,e))),a.push(r)})),a},getAfterBody:function(){return He(this._options.c= allbacks.afterBody.apply(this,arguments))},getFooter:function(){var t=3Dthi= s,e=3Dt._options.callbacks,n=3De.beforeFooter.apply(t,arguments),i=3De.foot= er.apply(t,arguments),a=3De.afterFooter.apply(t,arguments),r=3D[];return r= =3DBe(r,Ee(n)),r=3DBe(r,Ee(i)),r=3DBe(r,Ee(a))},update:function(t){var e,n,= i,a,r,o,s,l,u,d,h=3Dthis,c=3Dh._options,f=3Dh._model,g=3Dh._model=3DWe(c),p= =3Dh._active,m=3Dh._data,v=3D{xAlign:f.xAlign,yAlign:f.yAlign},b=3D{x:f.x,y= :f.y},x=3D{width:f.width,height:f.height},y=3D{x:f.caretX,y:f.caretY};if(p.= length){g.opacity=3D1;var _=3D[],k=3D[];y=3DNe[c.position].call(h,p,h._even= tPosition);var w=3D[];for(e=3D0,n=3Dp.length;ei.width&&(a=3Di.width-= e.width),a<0&&(a=3D0)),"top"=3D=3D=3Dd?r+=3Dh:r-=3D"bottom"=3D=3D=3Dd?e.hei= ght+h:e.height/2,"center"=3D=3D=3Dd?"left"=3D=3D=3Du?a+=3Dh:"right"=3D=3D= =3Du&&(a-=3Dh):"left"=3D=3D=3Du?a-=3Dc:"right"=3D=3D=3Du&&(a+=3Dc),{x:a,y:r= }}(g,x,v=3Dfunction(t,e){var n,i,a,r,o,s=3Dt._model,l=3Dt._chart,u=3Dt._cha= rt.chartArea,d=3D"center",h=3D"center";s.yl.height-= e.height&&(h=3D"bottom");var c=3D(u.left+u.right)/2,f=3D(u.top+u.bottom)/2;= "center"=3D=3D=3Dh?(n=3Dfunction(t){return t<=3Dc},i=3Dfunction(t){return t= >c}):(n=3Dfunction(t){return t<=3De.width/2},i=3Dfunction(t){return t>=3Dl.= width-e.width/2}),a=3Dfunction(t){return t+e.width+s.caretSize+s.caretPaddi= ng>l.width},r=3Dfunction(t){return t-e.width-s.caretSize-s.caretPadding<0},= o=3Dfunction(t){return t<=3Df?"top":"bottom"},n(s.x)?(d=3D"left",a(s.x)&&(d= =3D"center",h=3Do(s.y))):i(s.x)&&(d=3D"right",r(s.x)&&(d=3D"center",h=3Do(s= .y)));var g=3Dt._options;return{xAlign:g.xAlign?g.xAlign:d,yAlign:g.yAlign?= g.yAlign:h}}(this,x),h._chart)}else g.opacity=3D0;return g.xAlign=3Dv.xAlig= n,g.yAlign=3Dv.yAlign,g.x=3Db.x,g.y=3Db.y,g.width=3Dx.width,g.height=3Dx.he= ight,g.caretX=3Dy.x,g.caretY=3Dy.y,h._model=3Dg,t&&c.custom&&c.custom.call(= h,g),h},drawCaret:function(t,e){var n=3Dthis._chart.ctx,i=3Dthis._view,a=3D= this.getCaretPosition(t,e,i);n.lineTo(a.x1,a.y1),n.lineTo(a.x2,a.y2),n.line= To(a.x3,a.y3)},getCaretPosition:function(t,e,n){var i,a,r,o,s,l,u=3Dn.caret= Size,d=3Dn.cornerRadius,h=3Dn.xAlign,c=3Dn.yAlign,f=3Dt.x,g=3Dt.y,p=3De.wid= th,m=3De.height;if("center"=3D=3D=3Dc)s=3Dg+m/2,"left"=3D=3D=3Dh?(a=3D(i=3D= f)-u,r=3Di,o=3Ds+u,l=3Ds-u):(a=3D(i=3Df+p)+u,r=3Di,o=3Ds-u,l=3Ds+u);else if= ("left"=3D=3D=3Dh?(i=3D(a=3Df+d+u)-u,r=3Da+u):"right"=3D=3D=3Dh?(i=3D(a=3Df= +p-d-u)-u,r=3Da+u):(i=3D(a=3Dn.caretX)-u,r=3Da+u),"top"=3D=3D=3Dc)s=3D(o=3D= g)-u,l=3Do;else{s=3D(o=3Dg+m)+u,l=3Do;var v=3Dr;r=3Di,i=3Dv}return{x1:i,x2:= a,x3:r,y1:o,y2:s,y3:l}},drawTitle:function(t,e,n){var i,a,r,o=3De.title,s= =3Do.length;if(s){var l=3Dze(e.rtl,e.x,e.width);for(t.x=3DVe(e,e._titleAlig= n),n.textAlign=3Dl.textAlign(e._titleAlign),n.textBaseline=3D"middle",i=3De= .titleFontSize,a=3De.titleSpacing,n.fillStyle=3De.titleFontColor,n.font=3DV= .fontString(i,e._titleFontStyle,e._titleFontFamily),r=3D0;r0&&n.stroke()},draw:function(){var t=3Dthis._chart.ctx,e=3Dthis.= _view;if(0!=3D=3De.opacity){var n=3D{width:e.width,height:e.height},i=3D{x:= e.x,y:e.y},a=3DMath.abs(e.opacity<.001)?0:e.opacity,r=3De.title.length||e.b= eforeBody.length||e.body.length||e.afterBody.length||e.footer.length;this._= options.enabled&&r&&(t.save(),t.globalAlpha=3Da,this.drawBackground(i,e,t,n= ),i.y+=3De.yPadding,V.rtl.overrideTextDirection(t,e.textDirection),this.dra= wTitle(i,e,t),this.drawBody(i,e,t),this.drawFooter(i,e,t),V.rtl.restoreText= Direction(t,e.textDirection),t.restore())}},handleEvent:function(t){var e,n= =3Dthis,i=3Dn._options;return n._lastActive=3Dn._lastActive||[],"mouseout"= =3D=3D=3Dt.type?n._active=3D[]:(n._active=3Dn._chart.getElementsAtEventForM= ode(t,i.mode,i),i.reverse&&n._active.reverse()),(e=3D!V.arrayEquals(n._acti= ve,n._lastActive))&&(n._lastActive=3Dn._active,(i.enabled||i.custom)&&(n._e= ventPosition=3D{x:t.x,y:t.y},n.update(!0),n.pivot())),e}}),qe=3DNe,Ue=3Dje;= Ue.positioners=3Dqe;var Ye=3DV.valueOrDefault;function Ge(){return V.merge(= {},[].slice.call(arguments),{merger:function(t,e,n,i){if("xAxes"=3D=3D=3Dt|= |"yAxes"=3D=3D=3Dt){var a,r,o,s=3Dn[t].length;for(e[t]||(e[t]=3D[]),a=3D0;a= = =3De[t].length&&e[t].push({}),!e[t][a].type||o.type&&o.type!=3D=3De[t][a].t= ype?V.merge(e[t][a],[Oe.getScaleDefaults(r),o]):V.merge(e[t][a],o)}else V._= merger(t,e,n,i)}})}function Xe(){return V.merge({},[].slice.call(arguments)= ,{merger:function(t,e,n,i){var a=3De[t]||{},r=3Dn[t];"scales"=3D=3D=3Dt?e[t= ]=3DGe(a,r):"scale"=3D=3D=3Dt?e[t]=3DV.merge(a,[Oe.getScaleDefaults(r.type)= ,r]):V._merger(t,e,n,i)}})}function Ke(t){var e=3Dt.options;V.each(t.scales= ,(function(e){ge.removeBox(t,e)})),e=3DXe(z.global,z[t.config.type],e),t.op= tions=3Dt.config.options=3De,t.ensureScalesHaveIDs(),t.buildOrUpdateScales(= ),t.tooltip._options=3De.tooltips,t.tooltip.initialize()}function Ze(t,e,n)= {var i,a=3Dfunction(t){return t.id=3D=3D=3Di};do{i=3De+n++}while(V.findInde= x(t,a)>=3D0);return i}function $e(t){return"top"=3D=3D=3Dt||"bottom"=3D=3D= =3Dt}function Je(t,e){return function(n,i){return n[t]=3D=3D=3Di[t]?n[e]-i[= e]:n[t]-i[t]}}z._set("global",{elements:{},events:["mousemove","mouseout","= click","touchstart","touchmove"],hover:{onHover:null,mode:"nearest",interse= ct:!0,animationDuration:400},onClick:null,maintainAspectRatio:!0,responsive= :!0,responsiveAnimationDuration:0});var Qe=3Dfunction(t,e){return this.cons= truct(t,e),this};V.extend(Qe.prototype,{construct:function(t,e){var n=3Dthi= s;e=3Dfunction(t){var e=3D(t=3Dt||{}).data=3Dt.data||{};return e.datasets= =3De.datasets||[],e.labels=3De.labels||[],t.options=3DXe(z.global,z[t.type]= ,t.options||{}),t}(e);var i=3DFe.acquireContext(t,e),a=3Di&&i.canvas,r=3Da&= &a.height,o=3Da&&a.width;n.id=3DV.uid(),n.ctx=3Di,n.canvas=3Da,n.config=3De= ,n.width=3Do,n.height=3Dr,n.aspectRatio=3Dr?o/r:null,n.options=3De.options,= n._bufferedRender=3D!1,n._layers=3D[],n.chart=3Dn,n.controller=3Dn,Qe.insta= nces[n.id]=3Dn,Object.defineProperty(n,"data",{get:function(){return n.conf= ig.data},set:function(t){n.config.data=3Dt}}),i&&a?(n.initialize(),n.update= ()):console.error("Failed to create chart: can't acquire context from the g= iven item")},initialize:function(){var t=3Dthis;return Le.notify(t,"beforeI= nit"),V.retinaScale(t,t.options.devicePixelRatio),t.bindEvents(),t.options.= responsive&&t.resize(!0),t.initToolTip(),Le.notify(t,"afterInit"),t},clear:= function(){return V.canvas.clear(this),this},stop:function(){return $.cance= lAnimation(this),this},resize:function(t){var e=3Dthis,n=3De.options,i=3De.= canvas,a=3Dn.maintainAspectRatio&&e.aspectRatio||null,r=3DMath.max(0,Math.f= loor(V.getMaximumWidth(i))),o=3DMath.max(0,Math.floor(a?r/a:V.getMaximumHei= ght(i)));if((e.width!=3D=3Dr||e.height!=3D=3Do)&&(i.width=3De.width=3Dr,i.h= eight=3De.height=3Do,i.style.width=3Dr+"px",i.style.height=3Do+"px",V.retin= aScale(e,n.devicePixelRatio),!t)){var s=3D{width:r,height:o};Le.notify(e,"r= esize",[s]),n.onResize&&n.onResize(e,s),e.stop(),e.update({duration:n.respo= nsiveAnimationDuration})}},ensureScalesHaveIDs:function(){var t=3Dthis.opti= ons,e=3Dt.scales||{},n=3Dt.scale;V.each(e.xAxes,(function(t,n){t.id||(t.id= =3DZe(e.xAxes,"x-axis-",n))})),V.each(e.yAxes,(function(t,n){t.id||(t.id=3D= Ze(e.yAxes,"y-axis-",n))})),n&&(n.id=3Dn.id||"scale")},buildOrUpdateScales:= function(){var t=3Dthis,e=3Dt.options,n=3Dt.scales||{},i=3D[],a=3DObject.ke= ys(n).reduce((function(t,e){return t[e]=3D!1,t}),{});e.scales&&(i=3Di.conca= t((e.scales.xAxes||[]).map((function(t){return{options:t,dtype:"category",d= position:"bottom"}})),(e.scales.yAxes||[]).map((function(t){return{options:= t,dtype:"linear",dposition:"left"}})))),e.scale&&i.push({options:e.scale,dt= ype:"radialLinear",isDefault:!0,dposition:"chartArea"}),V.each(i,(function(= e){var i=3De.options,r=3Di.id,o=3DYe(i.type,e.dtype);$e(i.position)!=3D=3D$= e(e.dposition)&&(i.position=3De.dposition),a[r]=3D!0;var s=3Dnull;if(r in n= &&n[r].type=3D=3D=3Do)(s=3Dn[r]).options=3Di,s.ctx=3Dt.ctx,s.chart=3Dt;else= {var l=3DOe.getScaleConstructor(o);if(!l)return;s=3Dnew l({id:r,type:o,opti= ons:i,ctx:t.ctx,chart:t}),n[s.id]=3Ds}s.mergeTicksOptions(),e.isDefault&&(t= .scale=3Ds)})),V.each(a,(function(t,e){t||delete n[e]})),t.scales=3Dn,Oe.ad= dScalesToLayout(this)},buildOrUpdateControllers:function(){var t,e,n=3Dthis= ,i=3D[],a=3Dn.data.datasets;for(t=3D0,e=3Da.length;t=3D0;--n)this.drawDataset(e[n],t);Le.notify(this,"afterDatasetsDraw"= ,[t])}},drawDataset:function(t,e){var n=3D{meta:t,index:t.index,easingValue= :e};!1!=3D=3DLe.notify(this,"beforeDatasetDraw",[n])&&(t.controller.draw(e)= ,Le.notify(this,"afterDatasetDraw",[n]))},_drawTooltip:function(t){var e=3D= this.tooltip,n=3D{tooltip:e,easingValue:t};!1!=3D=3DLe.notify(this,"beforeT= ooltipDraw",[n])&&(e.draw(),Le.notify(this,"afterTooltipDraw",[n]))},getEle= mentAtEvent:function(t){return ae.modes.single(this,t)},getElementsAtEvent:= function(t){return ae.modes.label(this,t,{intersect:!0})},getElementsAtXAxi= s:function(t){return ae.modes["x-axis"](this,t,{intersect:!0})},getElements= AtEventForMode:function(t,e,n){var i=3Dae.modes[e];return"function"=3D=3Dty= peof i?i(this,t,n):[]},getDatasetAtEvent:function(t){return ae.modes.datase= t(this,t,{intersect:!0})},getDatasetMeta:function(t){var e=3Dthis.data.data= sets[t];e._meta||(e._meta=3D{});var n=3De._meta[this.id];return n||(n=3De._= meta[this.id]=3D{type:null,data:[],dataset:null,controller:null,hidden:null= ,xAxisID:null,yAxisID:null,order:e.order||0,index:t}),n},getVisibleDatasetC= ount:function(){for(var t=3D0,e=3D0,n=3Dthis.data.datasets.length;e3?n[2]-n[1= ]:n[1]-n[0];Math.abs(i)>1&&t!=3D=3DMath.floor(t)&&(i=3Dt-Math.floor(t));var= a=3DV.log10(Math.abs(i)),r=3D"";if(0!=3D=3Dt)if(Math.max(Math.abs(n[0]),Ma= th.abs(n[n.length-1]))<1e-4){var o=3DV.log10(Math.abs(t)),s=3DMath.floor(o)= -Math.floor(a);s=3DMath.max(Math.min(s,20),0),r=3Dt.toExponential(s)}else{v= ar l=3D-1*Math.floor(a);l=3DMath.max(Math.min(l,20),0),r=3Dt.toFixed(l)}els= e r=3D"0";return r},logarithmic:function(t,e,n){var i=3Dt/Math.pow(10,Math.= floor(V.log10(t)));return 0=3D=3D=3Dt?"0":1=3D=3D=3Di||2=3D=3D=3Di||5=3D=3D= =3Di||0=3D=3D=3De||e=3D=3D=3Dn.length-1?t.toExponential():""}}},on=3DV.isAr= ray,sn=3DV.isNullOrUndef,ln=3DV.valueOrDefault,un=3DV.valueAtIndexOrDefault= ;function dn(t,e,n){var i,a=3Dt.getTicks().length,r=3DMath.min(e,a-1),o=3Dt= .getPixelForTick(r),s=3Dt._startPixel,l=3Dt._endPixel;if(!(n&&(i=3D1=3D=3D= =3Da?Math.max(o-s,l-o):0=3D=3D=3De?(t.getPixelForTick(1)-o)/2:(o-t.getPixel= ForTick(r-1))/2,(o+=3Drl+1e-6)))return o}function hn(t,e= ,n,i){var a,r,o,s,l,u,d,h,c,f,g,p,m,v=3Dn.length,b=3D[],x=3D[],y=3D[];for(a= =3D0;ae){for(n=3D0;n=3Dc||d<=3D1||!s.isHo= rizontal()?s.labelRotation=3Dh:(e=3D(t=3Ds._getLabelSizes()).widest.width,n= =3Dt.highest.height-t.highest.offset,i=3DMath.min(s.maxWidth,s.chart.width-= e),e+6>(a=3Dl.offset?s.maxWidth/d:i/(d-1))&&(a=3Di/(d-(l.offset?.5:1)),r=3D= s.maxHeight-cn(l.gridLines)-u.padding-fn(l.scaleLabel),o=3DMath.sqrt(e*e+n*= n),f=3DV.toDegrees(Math.min(Math.asin(Math.min((t.highest.height+6)/a,1)),M= ath.asin(Math.min(r/o,1))-Math.asin(n/o))),f=3DMath.max(h,Math.min(c,f))),s= .labelRotation=3Df)},afterCalculateTickRotation:function(){V.callback(this.= options.afterCalculateTickRotation,[this])},beforeFit:function(){V.callback= (this.options.beforeFit,[this])},fit:function(){var t=3Dthis,e=3Dt.minSize= =3D{width:0,height:0},n=3Dt.chart,i=3Dt.options,a=3Di.ticks,r=3Di.scaleLabe= l,o=3Di.gridLines,s=3Dt._isVisible(),l=3D"bottom"=3D=3D=3Di.position,u=3Dt.= isHorizontal();if(u?e.width=3Dt.maxWidth:s&&(e.width=3Dcn(o)+fn(r)),u?s&&(e= .height=3Dcn(o)+fn(r)):e.height=3Dt.maxHeight,a.display&&s){var d=3Dpn(a),h= =3Dt._getLabelSizes(),c=3Dh.first,f=3Dh.last,g=3Dh.widest,p=3Dh.highest,m= =3D.4*d.minor.lineHeight,v=3Da.padding;if(u){var b=3D0!=3D=3Dt.labelRotatio= n,x=3DV.toRadians(t.labelRotation),y=3DMath.cos(x),_=3DMath.sin(x),k=3D_*g.= width+y*(p.height-(b?p.offset:0))+(b?0:m);e.height=3DMath.min(t.maxHeight,e= .height+k+v);var w,M,S=3Dt.getPixelForTick(0)-t.left,C=3Dt.right-t.getPixel= ForTick(t.getTicks().length-1);b?(w=3Dl?y*c.width+_*c.offset:_*(c.height-c.= offset),M=3Dl?_*(f.height-f.offset):y*f.width+_*f.offset):(w=3Dc.width/2,M= =3Df.width/2),t.paddingLeft=3DMath.max((w-S)*t.width/(t.width-S),0)+3,t.pad= dingRight=3DMath.max((M-C)*t.width/(t.width-C),0)+3}else{var P=3Da.mirror?0= :g.width+v+m;e.width=3DMath.min(t.maxWidth,e.width+P),t.paddingTop=3Dc.heig= ht/2,t.paddingBottom=3Df.height/2}}t.handleMargins(),u?(t.width=3Dt._length= =3Dn.width-t.margins.left-t.margins.right,t.height=3De.height):(t.width=3De= .width,t.height=3Dt._length=3Dn.height-t.margins.top-t.margins.bottom)},han= dleMargins:function(){var t=3Dthis;t.margins&&(t.margins.left=3DMath.max(t.= paddingLeft,t.margins.left),t.margins.top=3DMath.max(t.paddingTop,t.margins= .top),t.margins.right=3DMath.max(t.paddingRight,t.margins.right),t.margins.= bottom=3DMath.max(t.paddingBottom,t.margins.bottom))},afterFit:function(){V= .callback(this.options.afterFit,[this])},isHorizontal:function(){var t=3Dth= is.options.position;return"top"=3D=3D=3Dt||"bottom"=3D=3D=3Dt},isFullWidth:= function(){return this.options.fullWidth},getRightValue:function(t){if(sn(t= ))return NaN;if(("number"=3D=3Dtypeof t||t instanceof Number)&&!isFinite(t)= )return NaN;if(t)if(this.isHorizontal()){if(void 0!=3D=3Dt.x)return this.ge= tRightValue(t.x)}else if(void 0!=3D=3Dt.y)return this.getRightValue(t.y);re= turn t},_convertTicksToLabels:function(t){var e,n,i,a=3Dthis;for(a.ticks=3D= t.map((function(t){return t.value})),a.beforeTickToLabelConversion(),e=3Da.= convertTicksToLabels(t)||a.ticks,a.afterTickToLabelConversion(),n=3D0,i=3Dt= .length;nn-1?null:this.getPixelForDecima= l(t*i+(e?i/2:0))},getPixelForDecimal:function(t){return this._reversePixels= &&(t=3D1-t),this._startPixel+t*this._length},getDecimalForPixel:function(t)= {var e=3D(t-this._startPixel)/this._length;return this._reversePixels?1-e:e= },getBasePixel:function(){return this.getPixelForValue(this.getBaseValue())= },getBaseValue:function(){var t=3Dthis.min,e=3Dthis.max;return this.beginAt= Zero?0:t<0&&e<0?e:t>0&&e>0?t:0},_autoSkip:function(t){var e,n,i,a,r=3Dthis.= options.ticks,o=3Dthis._length,s=3Dr.maxTicksLimit||o/this._tickSize()+1,l= =3Dr.major.enabled?function(t){var e,n,i=3D[];for(e=3D0,n=3Dt.length;es)return function(t,e,n){var i,a,r=3D0,o=3De[0];for(n=3DMath.ceil(n),i= =3D0;iu)return r;return Math.max(u,1)}(l,t,0,s),u>0){for(e=3D0,n=3Du-1;e1?(h-d)/(u-1):null,vn(t,i,V.isNullOrUnd= ef(a)?0:d-a,d),vn(t,i,h,V.isNullOrUndef(a)?t.length:h+a),mn(t)}return vn(t,= i),mn(t)},_tickSize:function(){var t=3Dthis.options.ticks,e=3DV.toRadians(t= his.labelRotation),n=3DMath.abs(Math.cos(e)),i=3DMath.abs(Math.sin(e)),a=3D= this._getLabelSizes(),r=3Dt.autoSkipPadding||0,o=3Da?a.widest.width+r:0,s= =3Da?a.highest.height+r:0;return this.isHorizontal()?s*n>o*i?o/n:s/i:s*i= =3D0&&(o=3Dt),void 0!=3D=3Dr&&(t=3Dn.indexOf(r))>=3D0&&(s=3Dt),e.minIndex= =3Do,e.maxIndex=3Ds,e.min=3Dn[o],e.max=3Dn[s]},buildTicks:function(){var t= =3Dthis._getLabels(),e=3Dthis.minIndex,n=3Dthis.maxIndex;this.ticks=3D0=3D= =3D=3De&&n=3D=3D=3Dt.length-1?t:t.slice(e,n+1)},getLabelForIndex:function(t= ,e){var n=3Dthis.chart;return n.getDatasetMeta(e).controller._getValueScale= Id()=3D=3D=3Dthis.id?this.getRightValue(n.data.datasets[e].data[t]):this._g= etLabels()[t]},_configure:function(){var t=3Dthis,e=3Dt.options.offset,n=3D= t.ticks;xn.prototype._configure.call(t),t.isHorizontal()||(t._reversePixels= =3D!t._reversePixels),n&&(t._startValue=3Dt.minIndex-(e?.5:0),t._valueRange= =3DMath.max(n.length-(e?0:1),1))},getPixelForValue:function(t,e,n){var i,a,= r,o=3Dthis;return yn(e)||yn(n)||(t=3Do.chart.data.datasets[n].data[e]),yn(t= )||(i=3Do.isHorizontal()?t.x:t.y),(void 0!=3D=3Di||void 0!=3D=3Dt&&isNaN(e)= )&&(a=3Do._getLabels(),t=3DV.valueOrDefault(i,t),e=3D-1!=3D=3D(r=3Da.indexO= f(t))?r:e,isNaN(e)&&(e=3Dt)),o.getPixelForDecimal((e-o._startValue)/o._valu= eRange)},getPixelForTick:function(t){var e=3Dthis.ticks;return t<0||t>e.len= gth-1?null:this.getPixelForValue(e[t],t+this.minIndex)},getValueForPixel:fu= nction(t){var e=3DMath.round(this._startValue+this.getDecimalForPixel(t)*th= is._valueRange);return Math.min(Math.max(e,0),this.ticks.length-1)},getBase= Pixel:function(){return this.bottom}}),kn=3D{position:"bottom"};_n._default= s=3Dkn;var wn=3DV.noop,Mn=3DV.isNullOrUndef;var Sn=3Dxn.extend({getRightVal= ue:function(t){return"string"=3D=3Dtypeof t?+t:xn.prototype.getRightValue.c= all(this,t)},handleTickRangeOptions:function(){var t=3Dthis,e=3Dt.options.t= icks;if(e.beginAtZero){var n=3DV.sign(t.min),i=3DV.sign(t.max);n<0&&i<0?t.m= ax=3D0:n>0&&i>0&&(t.min=3D0)}var a=3Dvoid 0!=3D=3De.min||void 0!=3D=3De.sug= gestedMin,r=3Dvoid 0!=3D=3De.max||void 0!=3D=3De.suggestedMax;void 0!=3D=3D= e.min?t.min=3De.min:void 0!=3D=3De.suggestedMin&&(null=3D=3D=3Dt.min?t.min= =3De.suggestedMin:t.min=3DMath.min(t.min,e.suggestedMin)),void 0!=3D=3De.ma= x?t.max=3De.max:void 0!=3D=3De.suggestedMax&&(null=3D=3D=3Dt.max?t.max=3De.= suggestedMax:t.max=3DMath.max(t.max,e.suggestedMax)),a!=3D=3Dr&&t.min>=3Dt.= max&&(a?t.max=3Dt.min+1:t.min=3Dt.max-1),t.min=3D=3D=3Dt.max&&(t.max++,e.be= ginAtZero||t.min--)},getTickLimit:function(){var t,e=3Dthis.options.ticks,n= =3De.stepSize,i=3De.maxTicksLimit;return n?t=3DMath.ceil(this.max/n)-Math.f= loor(this.min/n)+1:(t=3Dthis._computeTickLimit(),i=3Di||11),i&&(t=3DMath.mi= n(i,t)),t},_computeTickLimit:function(){return Number.POSITIVE_INFINITY},ha= ndleDirectionalChanges:wn,buildTicks:function(){var t=3Dthis,e=3Dt.options.= ticks,n=3Dt.getTickLimit(),i=3D{maxTicks:n=3DMath.max(2,n),min:e.min,max:e.= max,precision:e.precision,stepSize:V.valueOrDefault(e.fixedStepSize,e.stepS= ize)},a=3Dt.ticks=3Dfunction(t,e){var n,i,a,r,o=3D[],s=3Dt.stepSize,l=3Ds||= 1,u=3Dt.maxTicks-1,d=3Dt.min,h=3Dt.max,c=3Dt.precision,f=3De.min,g=3De.max,= p=3DV.niceNum((g-f)/u/l)*l;if(p<1e-14&&Mn(d)&&Mn(h))return[f,g];(r=3DMath.c= eil(g/p)-Math.floor(f/p))>u&&(p=3DV.niceNum(r*p/u/l)*l),s||Mn(c)?n=3DMath.p= ow(10,V._decimalPlaces(p)):(n=3DMath.pow(10,c),p=3DMath.ceil(p*n)/n),i=3DMa= th.floor(f/p)*p,a=3DMath.ceil(g/p)*p,s&&(!Mn(d)&&V.almostWhole(d/p,p/1e3)&&= (i=3Dd),!Mn(h)&&V.almostWhole(h/p,p/1e3)&&(a=3Dh)),r=3D(a-i)/p,r=3DV.almost= Equals(r,Math.round(r),p/1e3)?Math.round(r):Math.ceil(r),i=3DMath.round(i*n= )/n,a=3DMath.round(a*n)/n,o.push(Mn(d)?i:d);for(var m=3D1;me.length-1?null:this.getPixelForValue(e[t])}}),= Tn=3DCn;Dn._defaults=3DTn;var In=3DV.valueOrDefault,Fn=3DV.math.log10;var L= n=3D{position:"left",ticks:{callback:rn.formatters.logarithmic}};function O= n(t,e){return V.isFinite(t)&&t>=3D0?t:e}var Rn=3Dxn.extend({determineDataLi= mits:function(){var t,e,n,i,a,r,o=3Dthis,s=3Do.options,l=3Do.chart,u=3Dl.da= ta.datasets,d=3Do.isHorizontal();function h(t){return d?t.xAxisID=3D=3D=3Do= .id:t.yAxisID=3D=3D=3Do.id}o.min=3DNumber.POSITIVE_INFINITY,o.max=3DNumber.= NEGATIVE_INFINITY,o.minNotZero=3DNumber.POSITIVE_INFINITY;var c=3Ds.stacked= ;if(void 0=3D=3D=3Dc)for(t=3D0;t0){var e=3DV.min(= t),n=3DV.max(t);o.min=3DMath.min(o.min,e),o.max=3DMath.max(o.max,n)}}))}els= e for(t=3D0;t0?t.= minNotZero=3Dt.min:t.max<1?t.minNotZero=3DMath.pow(10,Math.floor(Fn(t.max))= ):t.minNotZero=3D1)},buildTicks:function(){var t=3Dthis,e=3Dt.options.ticks= ,n=3D!t.isHorizontal(),i=3D{min:On(e.min),max:On(e.max)},a=3Dt.ticks=3Dfunc= tion(t,e){var n,i,a=3D[],r=3DIn(t.min,Math.pow(10,Math.floor(Fn(e.min)))),o= =3DMath.floor(Fn(e.max)),s=3DMath.ceil(e.max/Math.pow(10,o));0=3D=3D=3Dr?(n= =3DMath.floor(Fn(e.minNotZero)),i=3DMath.floor(e.minNotZero/Math.pow(10,n))= ,a.push(r),r=3Di*Math.pow(10,n)):(n=3DMath.floor(Fn(r)),i=3DMath.floor(r/Ma= th.pow(10,n)));var l=3Dn<0?Math.pow(10,Math.abs(n)):1;do{a.push(r),10=3D=3D= =3D++i&&(i=3D1,l=3D++n>=3D0?1:l),r=3DMath.round(i*Math.pow(10,n)*l)/l}while= (ne.length-1?null:this.getPixelForValue(e[t])},_g= etFirstTickValue:function(t){var e=3DMath.floor(Fn(t));return Math.floor(t/= Math.pow(10,e))*Math.pow(10,e)},_configure:function(){var t=3Dthis,e=3Dt.mi= n,n=3D0;xn.prototype._configure.call(t),0=3D=3D=3De&&(e=3Dt._getFirstTickVa= lue(t.minNotZero),n=3DIn(t.options.ticks.fontSize,z.global.defaultFontSize)= /t._length),t._startValue=3DFn(e),t._valueOffset=3Dn,t._valueRange=3D(Fn(t.= max)-Fn(e))/(1-n)},getPixelForValue:function(t){var e=3Dthis,n=3D0;return(t= =3D+e.getRightValue(t))>e.min&&t>0&&(n=3D(Fn(t)-e._startValue)/e._valueRang= e+e._valueOffset),e.getPixelForDecimal(n)},getValueForPixel:function(t){var= e=3Dthis,n=3De.getDecimalForPixel(t);return 0=3D=3D=3Dn&&0=3D=3D=3De.min?0= :Math.pow(10,e._startValue+(n-e._valueOffset)*e._valueRange)}}),zn=3DLn;Rn.= _defaults=3Dzn;var Nn=3DV.valueOrDefault,Bn=3DV.valueAtIndexOrDefault,En=3D= V.options.resolve,Wn=3D{display:!0,animate:!0,position:"chartArea",angleLin= es:{display:!0,color:"rgba(0,0,0,0.1)",lineWidth:1,borderDash:[],borderDash= Offset:0},gridLines:{circular:!1},ticks:{showLabelBackdrop:!0,backdropColor= :"rgba(255,255,255,0.75)",backdropPaddingY:2,backdropPaddingX:2,callback:rn= .formatters.linear},pointLabels:{display:!0,fontSize:10,callback:function(t= ){return t}}};function Vn(t){var e=3Dt.ticks;return e.display&&t.display?Nn= (e.fontSize,z.global.defaultFontSize)+2*e.backdropPaddingY:0}function Hn(t,= e,n,i,a){return t=3D=3D=3Di||t=3D=3D=3Da?{start:e-n/2,end:e+n/2}:ta?{= start:e-n,end:e}:{start:e,end:e+n}}function jn(t){return 0=3D=3D=3Dt||180= =3D=3D=3Dt?"center":t<180?"left":"right"}function qn(t,e,n,i){var a,r,o=3Dn= .y+i/2;if(V.isArray(e))for(a=3D0,r=3De.length;a270||t<90)&&(n.y-=3De.h)}function Yn(t){return V.is= Number(t)?t:0}var Gn=3DSn.extend({setDimensions:function(){var t=3Dthis;t.w= idth=3Dt.maxWidth,t.height=3Dt.maxHeight,t.paddingTop=3DVn(t.options)/2,t.x= Center=3DMath.floor(t.width/2),t.yCenter=3DMath.floor((t.height-t.paddingTo= p)/2),t.drawingArea=3DMath.min(t.height-t.paddingTop,t.width)/2},determineD= ataLimits:function(){var t=3Dthis,e=3Dt.chart,n=3DNumber.POSITIVE_INFINITY,= i=3DNumber.NEGATIVE_INFINITY;V.each(e.data.datasets,(function(a,r){if(e.isD= atasetVisible(r)){var o=3De.getDatasetMeta(r);V.each(a.data,(function(e,a){= var r=3D+t.getRightValue(e);isNaN(r)||o.data[a].hidden||(n=3DMath.min(r,n),= i=3DMath.max(r,i))}))}})),t.min=3Dn=3D=3D=3DNumber.POSITIVE_INFINITY?0:n,t.= max=3Di=3D=3D=3DNumber.NEGATIVE_INFINITY?0:i,t.handleTickRangeOptions()},_c= omputeTickLimit:function(){return Math.ceil(this.drawingArea/Vn(this.option= s))},convertTicksToLabels:function(){var t=3Dthis;Sn.prototype.convertTicks= ToLabels.call(t),t.pointLabels=3Dt.chart.data.labels.map((function(){var e= =3DV.callback(t.options.pointLabels.callback,arguments,t);return e||0=3D=3D= =3De?e:""}))},getLabelForIndex:function(t,e){return+this.getRightValue(this= .chart.data.datasets[e].data[t])},fit:function(){var t=3Dthis.options;t.dis= play&&t.pointLabels.display?function(t){var e,n,i,a=3DV.options._parseFont(= t.options.pointLabels),r=3D{l:0,r:t.width,t:0,b:t.height-t.paddingTop},o=3D= {};t.ctx.font=3Da.string,t._pointLabelSizes=3D[];var s,l,u,d=3Dt.chart.data= .labels.length;for(e=3D0;er.r&&(r.r=3Df.end,o.r=3Dh),g.startr.b&&(r.b=3Dg.end,o.b=3Dh)}t.setReductions(t.drawingArea,r,o)}(this):thi= s.setCenterPoint(0,0,0,0)},setReductions:function(t,e,n){var i=3Dthis,a=3De= .l/Math.sin(n.l),r=3DMath.max(e.r-i.width,0)/Math.sin(n.r),o=3D-e.t/Math.co= s(n.t),s=3D-Math.max(e.b-(i.height-i.paddingTop),0)/Math.cos(n.b);a=3DYn(a)= ,r=3DYn(r),o=3DYn(o),s=3DYn(s),i.drawingArea=3DMath.min(Math.floor(t-(a+r)/= 2),Math.floor(t-(o+s)/2)),i.setCenterPoint(a,r,o,s)},setCenterPoint:functio= n(t,e,n,i){var a=3Dthis,r=3Da.width-e-a.drawingArea,o=3Dt+a.drawingArea,s= =3Dn+a.drawingArea,l=3Da.height-a.paddingTop-i-a.drawingArea;a.xCenter=3DMa= th.floor((o+r)/2+a.left),a.yCenter=3DMath.floor((s+l)/2+a.top+a.paddingTop)= },getIndexAngle:function(t){var e=3Dthis.chart,n=3D(t*(360/e.data.labels.le= ngth)+((e.options||{}).startAngle||0))%360;return(n<0?n+360:n)*Math.PI*2/36= 0},getDistanceFromCenterForValue:function(t){var e=3Dthis;if(V.isNullOrUnde= f(t))return NaN;var n=3De.drawingArea/(e.max-e.min);return e.options.ticks.= reverse?(e.max-t)*n:(t-e.min)*n},getPointPosition:function(t,e){var n=3Dthi= s.getIndexAngle(t)-Math.PI/2;return{x:Math.cos(n)*e+this.xCenter,y:Math.sin= (n)*e+this.yCenter}},getPointPositionForValue:function(t,e){return this.get= PointPosition(t,this.getDistanceFromCenterForValue(e))},getBasePosition:fun= ction(t){var e=3Dthis.min,n=3Dthis.max;return this.getPointPositionForValue= (t||0,this.beginAtZero?0:e<0&&n<0?n:e>0&&n>0?e:0)},_drawGrid:function(){var= t,e,n,i=3Dthis,a=3Di.ctx,r=3Di.options,o=3Dr.gridLines,s=3Dr.angleLines,l= =3DNn(s.lineWidth,o.lineWidth),u=3DNn(s.color,o.color);if(r.pointLabels.dis= play&&function(t){var e=3Dt.ctx,n=3Dt.options,i=3Dn.pointLabels,a=3DVn(n),r= =3Dt.getDistanceFromCenterForValue(n.ticks.reverse?t.min:t.max),o=3DV.optio= ns._parseFont(i);e.save(),e.font=3Do.string,e.textBaseline=3D"middle";for(v= ar s=3Dt.chart.data.labels.length-1;s>=3D0;s--){var l=3D0=3D=3D=3Ds?a/2:0,u= =3Dt.getPointPosition(s,r+l+5),d=3DBn(i.fontColor,s,z.global.defaultFontCol= or);e.fillStyle=3Dd;var h=3Dt.getIndexAngle(s),c=3DV.toDegrees(h);e.textAli= gn=3Djn(c),Un(c,t._pointLabelSizes[s],u),qn(e,t.pointLabels[s],u,o.lineHeig= ht)}e.restore()}(i),o.display&&V.each(i.ticks,(function(t,n){0!=3D=3Dn&&(e= =3Di.getDistanceFromCenterForValue(i.ticksAsNumbers[n]),function(t,e,n,i){v= ar a,r=3Dt.ctx,o=3De.circular,s=3Dt.chart.data.labels.length,l=3DBn(e.color= ,i-1),u=3DBn(e.lineWidth,i-1);if((o||s)&&l&&u){if(r.save(),r.strokeStyle=3D= l,r.lineWidth=3Du,r.setLineDash&&(r.setLineDash(e.borderDash||[]),r.lineDas= hOffset=3De.borderDashOffset||0),r.beginPath(),o)r.arc(t.xCenter,t.yCenter,= n,0,2*Math.PI);else{a=3Dt.getPointPosition(0,n),r.moveTo(a.x,a.y);for(var d= =3D1;d=3D0;t--)e=3Di.getDistanceFromCen= terForValue(r.ticks.reverse?i.min:i.max),n=3Di.getPointPosition(t,e),a.begi= nPath(),a.moveTo(i.xCenter,i.yCenter),a.lineTo(n.x,n.y),a.stroke();a.restor= e()}},_drawLabels:function(){var t=3Dthis,e=3Dt.ctx,n=3Dt.options.ticks;if(= n.display){var i,a,r=3Dt.getIndexAngle(0),o=3DV.options._parseFont(n),s=3DN= n(n.fontColor,z.global.defaultFontColor);e.save(),e.font=3Do.string,e.trans= late(t.xCenter,t.yCenter),e.rotate(r),e.textAlign=3D"center",e.textBaseline= =3D"middle",V.each(t.ticks,(function(r,l){(0!=3D=3Dl||n.reverse)&&(i=3Dt.ge= tDistanceFromCenterForValue(t.ticksAsNumbers[l]),n.showLabelBackdrop&&(a=3D= e.measureText(r).width,e.fillStyle=3Dn.backdropColor,e.fillRect(-a/2-n.back= dropPaddingX,-i-o.size/2-n.backdropPaddingY,a+2*n.backdropPaddingX,o.size+2= *n.backdropPaddingY)),e.fillStyle=3Ds,e.fillText(r,0,-i))})),e.restore()}},= _drawTitle:V.noop}),Xn=3DWn;Gn._defaults=3DXn;var Kn=3DV._deprecated,Zn=3DV= .options.resolve,$n=3DV.valueOrDefault,Jn=3DNumber.MIN_SAFE_INTEGER||-90071= 99254740991,Qn=3DNumber.MAX_SAFE_INTEGER||9007199254740991,ti=3D{millisecon= d:{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:{comm= on:!0,size:864e5,steps:30},week:{common:!1,size:6048e5,steps:4},month:{comm= on:!0,size:2628e6,steps:12},quarter:{common:!1,size:7884e6,steps:4},year:{c= ommon:!0,size:3154e7}},ei=3DObject.keys(ti);function ni(t,e){return t-e}fun= ction ii(t){return V.valueOrDefault(t.time.min,t.ticks.min)}function ai(t){= return V.valueOrDefault(t.time.max,t.ticks.max)}function ri(t,e,n,i){var a= =3Dfunction(t,e,n){for(var i,a,r,o=3D0,s=3Dt.length-1;o>=3D0&&o<=3Ds;){if(a= =3Dt[(i=3Do+s>>1)-1]||null,r=3Dt[i],!a)return{lo:null,hi:r};if(r[e]n))return{lo:a,hi:r};s=3Di-1}}return{lo:r,hi:null}}(t,e,n= ),r=3Da.lo?a.hi?a.lo:t[t.length-2]:t[0],o=3Da.lo?a.hi?a.hi:t[t.length-1]:t[= 1],s=3Do[e]-r[e],l=3Ds?(n-r[e])/s:0,u=3D(o[i]-r[i])*l;return r[i]+u}functio= n oi(t,e){var n=3Dt._adapter,i=3Dt.options.time,a=3Di.parser,r=3Da||i.forma= t,o=3De;return"function"=3D=3Dtypeof a&&(o=3Da(o)),V.isFinite(o)||(o=3D"str= ing"=3D=3Dtypeof r?n.parse(o,r):n.parse(o)),null!=3D=3Do?+o:(a||"function"!= =3Dtypeof r||(o=3Dr(e),V.isFinite(o)||(o=3Dn.parse(o))),o)}function si(t,e)= {if(V.isNullOrUndef(e))return null;var n=3Dt.options.time,i=3Doi(t,t.getRig= htValue(e));return null=3D=3D=3Di?i:(n.round&&(i=3D+t._adapter.startOf(i,n.= round)),i)}function li(t,e,n,i){var a,r,o,s=3Dei.length;for(a=3Dei.indexOf(= t);a=3D0&&(e[r].major=3D!0);return e}(t,r,o,n):r}var di= =3Dxn.extend({initialize:function(){this.mergeTicksOptions(),xn.prototype.i= nitialize.call(this)},update:function(){var t=3Dthis,e=3Dt.options,n=3De.ti= me||(e.time=3D{}),i=3Dt._adapter=3Dnew an._date(e.adapters.date);return Kn(= "time scale",n.format,"time.format","time.parser"),Kn("time scale",n.min,"t= ime.min","ticks.min"),Kn("time scale",n.max,"time.max","ticks.max"),V.merge= If(n.displayFormats,i.formats()),xn.prototype.update.apply(t,arguments)},ge= tRightValue:function(t){return t&&void 0!=3D=3Dt.t&&(t=3Dt.t),xn.prototype.= getRightValue.call(this,t)},determineDataLimits:function(){var t,e,n,i,a,r,= o,s=3Dthis,l=3Ds.chart,u=3Ds._adapter,d=3Ds.options,h=3Dd.time.unit||"day",= c=3DQn,f=3DJn,g=3D[],p=3D[],m=3D[],v=3Ds._getLabels();for(t=3D0,n=3Dv.lengt= h;t1?function(t){var e,n,i,a=3D{},r=3D[];for(e=3D0,n=3Dt.length;e1e5*u)th= row e+" and "+n+" are too far apart with stepSize of "+u+" "+l;for(a=3Dh;a<= n;a=3D+r.add(a,u,l))c.push(a);return a!=3D=3Dn&&"ticks"!=3D=3Do.bounds||c.p= ush(a),c}(i,a,r,h),"ticks"=3D=3D=3Do.bounds&&u.length&&(a=3Du[0],r=3Du[u.le= ngth-1]),a=3Dsi(i,ii(o))||a,r=3Dsi(i,ai(o))||r,t=3D0,e=3Du.length;t=3Da&&n<=3Dr&&d.push(n);return i.min=3Da,i.max=3Dr,i._unit=3Dl.un= it||(s.autoSkip?li(l.minUnit,i.min,i.max,h):function(t,e,n,i,a){var r,o;for= (r=3Dei.length-1;r>=3Dei.indexOf(n);r--)if(o=3Dei[r],ti[o].common&&t._adapt= er.diff(a,i,o)>=3De-1)return o;return ei[n?ei.indexOf(n):0]}(i,d.length,l.m= inUnit,i.min,i.max)),i._majorUnit=3Ds.major.enabled&&"year"!=3D=3Di._unit?f= unction(t){for(var e=3Dei.indexOf(t)+1,n=3Dei.length;ee&&s=3D0&&t0?s:1}}),hi=3D{position:"bottom",distribut= ion:"linear",bounds:"data",adapters:{},time:{parser:!1,unit:!1,round:!1,dis= playFormat:!1,isoWeekday:!1,minUnit:"millisecond",displayFormats:{}},ticks:= {autoSkip:!1,source:"auto",major:{enabled:!1}}};di._defaults=3Dhi;var ci=3D= {category:_n,linear:Dn,logarithmic:Rn,radialLinear:Gn,time:di},fi=3D{dateti= me:"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"};an._date.override("function"=3D=3Dtypeof t?{_id:"m= oment",formats:function(){return fi},parse:function(e,n){return"string"=3D= =3Dtypeof e&&"string"=3D=3Dtypeof n?e=3Dt(e,n):e instanceof t||(e=3Dt(e)),e= .isValid()?e.valueOf():null},format:function(e,n){return t(e).format(n)},ad= d:function(e,n,i){return t(e).add(n,i).valueOf()},diff:function(e,n,i){retu= rn t(e).diff(t(n),i)},startOf:function(e,n,i){return e=3Dt(e),"isoWeek"=3D= =3D=3Dn?e.isoWeekday(i).valueOf():e.startOf(n).valueOf()},endOf:function(e,= n){return t(e).endOf(n).valueOf()},_create:function(e){return t(e)}}:{}),z.= _set("global",{plugins:{filler:{propagate:!0}}});var gi=3D{dataset:function= (t){var e=3Dt.fill,n=3Dt.chart,i=3Dn.getDatasetMeta(e),a=3Di&&n.isDatasetVi= sible(e)&&i.dataset._children||[],r=3Da.length||0;return r?function(t,e){re= turn e=3Dn)= &&i;switch(r){case"bottom":return"start";case"top":return"end";case"zero":r= eturn"origin";case"origin":case"start":case"end":return r;default:return!1}= }function mi(t){return(t.el._scale||{}).getPointPositionForValue?function(t= ){var e,n,i,a,r,o=3Dt.el._scale,s=3Do.options,l=3Do.chart.data.labels.lengt= h,u=3Dt.fill,d=3D[];if(!l)return null;for(e=3Ds.ticks.reverse?o.max:o.min,n= =3Ds.ticks.reverse?o.min:o.max,i=3Do.getPointPositionForValue(0,e),a=3D0;a<= l;++a)r=3D"start"=3D=3D=3Du||"end"=3D=3D=3Du?o.getPointPositionForValue(a,"= start"=3D=3D=3Du?e:n):o.getBasePosition(a),s.gridLines.circular&&(r.cx=3Di.= x,r.cy=3Di.y,r.angle=3Do.getIndexAngle(a)-Math.PI/2),d.push(r);return d}(t)= :function(t){var e,n=3Dt.el._model||{},i=3Dt.el._scale||{},a=3Dt.fill,r=3Dn= ull;if(isFinite(a))return null;if("start"=3D=3D=3Da?r=3Dvoid 0=3D=3D=3Dn.sc= aleBottom?i.bottom:n.scaleBottom:"end"=3D=3D=3Da?r=3Dvoid 0=3D=3D=3Dn.scale= Top?i.top:n.scaleTop:void 0!=3D=3Dn.scaleZero?r=3Dn.scaleZero:i.getBasePixe= l&&(r=3Di.getBasePixel()),null!=3Dr){if(void 0!=3D=3Dr.x&&void 0!=3D=3Dr.y)= return r;if(V.isFinite(r))return{x:(e=3Di.isHorizontal())?r:null,y:e?null:r= }}return null}(t)}function vi(t,e,n){var i,a=3Dt[e].fill,r=3D[e];if(!n)retu= rn a;for(;!1!=3D=3Da&&-1=3D=3D=3Dr.indexOf(a);){if(!isFinite(a))return a;if= (!(i=3Dt[a]))return!1;if(i.visible)return a;r.push(a),a=3Di.fill}return!1}f= unction bi(t){var e=3Dt.fill,n=3D"dataset";return!1=3D=3D=3De?null:(isFinit= e(e)||(n=3D"boundary"),gi[n](t))}function xi(t){return t&&!t.skip}function = yi(t,e,n,i,a){var r,o,s,l;if(i&&a){for(t.moveTo(e[0].x,e[0].y),r=3D1;r0;--r)V.canvas.lineTo(t,n[r],n[r-1],!0);else f= or(o=3Dn[0].cx,s=3Dn[0].cy,l=3DMath.sqrt(Math.pow(n[0].x-o,2)+Math.pow(n[0]= .y-s,2)),r=3Da-1;r>0;--r)t.arc(o,s,l,n[r].angle,n[r-1].angle,!0)}}function = _i(t,e,n,i,a,r){var o,s,l,u,d,h,c,f,g=3De.length,p=3Di.spanGaps,m=3D[],v=3D= [],b=3D0,x=3D0;for(t.beginPath(),o=3D0,s=3Dg;o=3D0;--n)(e=3Dl[n].$filler)&&e.visible&&(a=3D(i=3De.el)._view,r=3D= i._children||[],o=3De.mapper,s=3Da.backgroundColor||z.global.defaultColor,o= &&s&&r.length&&(V.canvas.clipArea(u,t.chartArea),_i(u,r,o,a,s,i._loop),V.ca= nvas.unclipArea(u)))}},wi=3DV.rtl.getRtlAdapter,Mi=3DV.noop,Si=3DV.valueOrD= efault;function Ci(t,e){return t.usePointStyle&&t.boxWidth>e?e:t.boxWidth}z= ._set("global",{legend:{display:!0,position:"top",align:"center",fullWidth:= !0,reverse:!1,weight:1e3,onClick:function(t,e){var n=3De.datasetIndex,i=3Dt= his.chart,a=3Di.getDatasetMeta(n);a.hidden=3Dnull=3D=3D=3Da.hidden?!i.data.= datasets[n].hidden:null,i.update()},onHover:null,onLeave:null,labels:{boxWi= dth:40,padding:10,generateLabels:function(t){var e=3Dt.data.datasets,n=3Dt.= options.legend||{},i=3Dn.labels&&n.labels.usePointStyle;return t._getSorted= DatasetMetas().map((function(n){var a=3Dn.controller.getStyle(i?0:void 0);r= eturn{text:e[n.index].label,fillStyle:a.backgroundColor,hidden:!t.isDataset= Visible(n.index),lineCap:a.borderCapStyle,lineDash:a.borderDash,lineDashOff= set:a.borderDashOffset,lineJoin:a.borderJoinStyle,lineWidth:a.borderWidth,s= trokeStyle:a.borderColor,pointStyle:a.pointStyle,rotation:a.rotation,datase= tIndex:n.index}}),this)}}},legendCallback:function(t){var e,n,i,a=3Ddocumen= t.createElement("ul"),r=3Dt.data.datasets;for(a.setAttribute("class",t.id+"= -legend"),e=3D0,n=3Dr.length;el.width)&&(h+=3Do+n.padding,d[d.length-(e>0?0:1)]=3D0),s[e= ]=3D{left:0,top:0,width:i,height:o},d[d.length-1]+=3Di+n.padding})),l.heigh= t+=3Dh}else{var c=3Dn.padding,f=3Dt.columnWidths=3D[],g=3Dt.columnHeights= =3D[],p=3Dn.padding,m=3D0,v=3D0;V.each(t.legendItems,(function(t,e){var i= =3DCi(n,o)+o/2+a.measureText(t.text).width;e>0&&v+o+2*c>l.height&&(p+=3Dm+n= .padding,f.push(m),g.push(v),m=3D0,v=3D0),m=3DMath.max(m,i),v+=3Do+c,s[e]= =3D{left:0,top:0,width:i,height:o}})),p+=3Dm,f.push(m),g.push(v),l.width+= =3Dp}t.width=3Dl.width,t.height=3Dl.height}else t.width=3Dl.width=3Dt.heigh= t=3Dl.height=3D0},afterFit:Mi,isHorizontal:function(){return"top"=3D=3D=3Dt= his.options.position||"bottom"=3D=3D=3Dthis.options.position},draw:function= (){var t=3Dthis,e=3Dt.options,n=3De.labels,i=3Dz.global,a=3Di.defaultColor,= r=3Di.elements.line,o=3Dt.height,s=3Dt.columnHeights,l=3Dt.width,u=3Dt.line= Widths;if(e.display){var d,h=3Dwi(e.rtl,t.left,t.minSize.width),c=3Dt.ctx,f= =3DSi(n.fontColor,i.defaultFontColor),g=3DV.options._parseFont(n),p=3Dg.siz= e;c.textAlign=3Dh.textAlign("left"),c.textBaseline=3D"middle",c.lineWidth= =3D.5,c.strokeStyle=3Df,c.fillStyle=3Df,c.font=3Dg.string;var m=3DCi(n,p),v= =3Dt.legendHitBoxes,b=3Dfunction(t,i){switch(e.align){case"start":return n.= padding;case"end":return t-i;default:return(t-i+n.padding)/2}},x=3Dt.isHori= zontal();d=3Dx?{x:t.left+b(l,u[0]),y:t.top+n.padding,line:0}:{x:t.left+n.pa= dding,y:t.top+b(o,s[0]),line:0},V.rtl.overrideTextDirection(t.ctx,e.textDir= ection);var y=3Dp+n.padding;V.each(t.legendItems,(function(e,i){var f=3Dc.m= easureText(e.text).width,g=3Dm+p/2+f,_=3Dd.x,k=3Dd.y;h.setWidth(t.minSize.w= idth),x?i>0&&_+g+n.padding>t.left+t.minSize.width&&(k=3Dd.y+=3Dy,d.line++,_= =3Dd.x=3Dt.left+b(l,u[d.line])):i>0&&k+y>t.top+t.minSize.height&&(_=3Dd.x= =3D_+t.columnWidths[d.line]+n.padding,d.line++,k=3Dd.y=3Dt.top+b(o,s[d.line= ]));var w=3Dh.x(_);!function(t,e,i){if(!(isNaN(m)||m<=3D0)){c.save();var o= =3DSi(i.lineWidth,r.borderWidth);if(c.fillStyle=3DSi(i.fillStyle,a),c.lineC= ap=3DSi(i.lineCap,r.borderCapStyle),c.lineDashOffset=3DSi(i.lineDashOffset,= r.borderDashOffset),c.lineJoin=3DSi(i.lineJoin,r.borderJoinStyle),c.lineWid= th=3Do,c.strokeStyle=3DSi(i.strokeStyle,a),c.setLineDash&&c.setLineDash(Si(= i.lineDash,r.borderDash)),n&&n.usePointStyle){var s=3Dm*Math.SQRT2/2,l=3Dh.= xPlus(t,m/2),u=3De+p/2;V.canvas.drawPoint(c,i.pointStyle,s,l,u,i.rotation)}= else c.fillRect(h.leftForLtr(t,m),e,m,p),0!=3D=3Do&&c.strokeRect(h.leftForL= tr(t,m),e,m,p);c.restore()}}(w,k,e),v[i].left=3Dh.leftForLtr(w,v[i].width),= v[i].top=3Dk,function(t,e,n,i){var a=3Dp/2,r=3Dh.xPlus(t,m+a),o=3De+a;c.fil= lText(n.text,r,o),n.hidden&&(c.beginPath(),c.lineWidth=3D2,c.moveTo(r,o),c.= lineTo(h.xPlus(r,i),o),c.stroke())}(w,k,e,f),x?d.x+=3Dg+n.padding:d.y+=3Dy}= )),V.rtl.restoreTextDirection(t.ctx,e.textDirection)}},_getLegendItemAt:fun= ction(t,e){var n,i,a,r=3Dthis;if(t>=3Dr.left&&t<=3Dr.right&&e>=3Dr.top&&e<= =3Dr.bottom)for(a=3Dr.legendHitBoxes,n=3D0;n=3D(i=3Da[n]= ).left&&t<=3Di.left+i.width&&e>=3Di.top&&e<=3Di.top+i.height)return r.legen= dItems[n];return null},handleEvent:function(t){var e,n=3Dthis,i=3Dn.options= ,a=3D"mouseup"=3D=3D=3Dt.type?"click":t.type;if("mousemove"=3D=3D=3Da){if(!= i.onHover&&!i.onLeave)return}else{if("click"!=3D=3Da)return;if(!i.onClick)r= eturn}e=3Dn._getLegendItemAt(t.x,t.y),"click"=3D=3D=3Da?e&&i.onClick&&i.onC= lick.call(n,t.native,e):(i.onLeave&&e!=3D=3Dn._hoveredItem&&(n._hoveredItem= &&i.onLeave.call(n,t.native,n._hoveredItem),n._hoveredItem=3De),i.onHover&&= e&&i.onHover.call(n,t.native,e))}});function Ai(t,e){var n=3Dnew Pi({ctx:t.= ctx,options:e,chart:t});ge.configure(t,n,e),ge.addBox(t,n),t.legend=3Dn}var= Di=3D{id:"legend",_element:Pi,beforeInit:function(t){var e=3Dt.options.leg= end;e&&Ai(t,e)},beforeUpdate:function(t){var e=3Dt.options.legend,n=3Dt.leg= end;e?(V.mergeIf(e,z.global.legend),n?(ge.configure(t,n,e),n.options=3De):A= i(t,e)):n&&(ge.removeBox(t,n),delete t.legend)},afterEvent:function(t,e){va= r n=3Dt.legend;n&&n.handleEvent(e)}},Ti=3DV.noop;z._set("global",{title:{di= splay:!1,fontStyle:"bold",fullWidth:!0,padding:10,position:"top",text:"",we= ight:2e3}});var Ii=3DX.extend({initialize:function(t){V.extend(this,t),this= .legendHitBoxes=3D[]},beforeUpdate:Ti,update:function(t,e,n){var i=3Dthis;r= eturn i.beforeUpdate(),i.maxWidth=3Dt,i.maxHeight=3De,i.margins=3Dn,i.befor= eSetDimensions(),i.setDimensions(),i.afterSetDimensions(),i.beforeBuildLabe= ls(),i.buildLabels(),i.afterBuildLabels(),i.beforeFit(),i.fit(),i.afterFit(= ),i.afterUpdate(),i.minSize},afterUpdate:Ti,beforeSetDimensions:Ti,setDimen= sions:function(){var t=3Dthis;t.isHorizontal()?(t.width=3Dt.maxWidth,t.left= =3D0,t.right=3Dt.width):(t.height=3Dt.maxHeight,t.top=3D0,t.bottom=3Dt.heig= ht),t.paddingLeft=3D0,t.paddingTop=3D0,t.paddingRight=3D0,t.paddingBottom= =3D0,t.minSize=3D{width:0,height:0}},afterSetDimensions:Ti,beforeBuildLabel= s:Ti,buildLabels:Ti,afterBuildLabels:Ti,beforeFit:Ti,fit:function(){var t,e= =3Dthis,n=3De.options,i=3De.minSize=3D{},a=3De.isHorizontal();n.display?(t= =3D(V.isArray(n.text)?n.text.length:1)*V.options._parseFont(n).lineHeight+2= *n.padding,e.width=3Di.width=3Da?e.maxWidth:t,e.height=3Di.height=3Da?t:e.m= axHeight):e.width=3Di.width=3De.height=3Di.height=3D0},afterFit:Ti,isHorizo= ntal:function(){var t=3Dthis.options.position;return"top"=3D=3D=3Dt||"botto= m"=3D=3D=3Dt},draw:function(){var t=3Dthis,e=3Dt.ctx,n=3Dt.options;if(n.dis= play){var i,a,r,o=3DV.options._parseFont(n),s=3Do.lineHeight,l=3Ds/2+n.padd= ing,u=3D0,d=3Dt.top,h=3Dt.left,c=3Dt.bottom,f=3Dt.right;e.fillStyle=3DV.val= ueOrDefault(n.fontColor,z.global.defaultFontColor),e.font=3Do.string,t.isHo= rizontal()?(a=3Dh+(f-h)/2,r=3Dd+l,i=3Df-h):(a=3D"left"=3D=3D=3Dn.position?h= +l:f-l,r=3Dd+(c-d)/2,i=3Dc-d,u=3DMath.PI*("left"=3D=3D=3Dn.position?-.5:.5)= ),e.save(),e.translate(a,r),e.rotate(u),e.textAlign=3D"center",e.textBaseli= ne=3D"middle";var g=3Dn.text;if(V.isArray(g))for(var p=3D0,m=3D0;m=3D0;i--){var a=3Dt[i= ];if(e(a))return a}},V.isNumber=3Dfunction(t){return!isNaN(parseFloat(t))&&= isFinite(t)},V.almostEquals=3Dfunction(t,e,n){return Math.abs(t-e)=3Dt},V= .max=3Dfunction(t){return t.reduce((function(t,e){return isNaN(e)?t:Math.ma= x(t,e)}),Number.NEGATIVE_INFINITY)},V.min=3Dfunction(t){return t.reduce((fu= nction(t,e){return isNaN(e)?t:Math.min(t,e)}),Number.POSITIVE_INFINITY)},V.= sign=3DMath.sign?function(t){return Math.sign(t)}:function(t){return 0=3D= =3D=3D(t=3D+t)||isNaN(t)?t:t>0?1:-1},V.toRadians=3Dfunction(t){return t*(Ma= th.PI/180)},V.toDegrees=3Dfunction(t){return t*(180/Math.PI)},V._decimalPla= ces=3Dfunction(t){if(V.isFinite(t)){for(var e=3D1,n=3D0;Math.round(t*e)/e!= =3D=3Dt;)e*=3D10,n++;return n}},V.getAngleFromPoint=3Dfunction(t,e){var n= =3De.x-t.x,i=3De.y-t.y,a=3DMath.sqrt(n*n+i*i),r=3DMath.atan2(i,n);return r<= -.5*Math.PI&&(r+=3D2*Math.PI),{angle:r,distance:a}},V.distanceBetweenPoints= =3Dfunction(t,e){return Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2))}= ,V.aliasPixel=3Dfunction(t){return t%2=3D=3D0?0:.5},V._alignPixel=3Dfunctio= n(t,e,n){var i=3Dt.currentDevicePixelRatio,a=3Dn/2;return Math.round((e-a)*= i)/i+a},V.splineCurve=3Dfunction(t,e,n,i){var a=3Dt.skip?e:t,r=3De,o=3Dn.sk= ip?e:n,s=3DMath.sqrt(Math.pow(r.x-a.x,2)+Math.pow(r.y-a.y,2)),l=3DMath.sqrt= (Math.pow(o.x-r.x,2)+Math.pow(o.y-r.y,2)),u=3Ds/(s+l),d=3Dl/(s+l),h=3Di*(u= =3DisNaN(u)?0:u),c=3Di*(d=3DisNaN(d)?0:d);return{previous:{x:r.x-h*(o.x-a.x= ),y:r.y-h*(o.y-a.y)},next:{x:r.x+c*(o.x-a.x),y:r.y+c*(o.y-a.y)}}},V.EPSILON= =3DNumber.EPSILON||1e-14,V.splineCurveMonotone=3Dfunction(t){var e,n,i,a,r,= o,s,l,u,d=3D(t||[]).map((function(t){return{model:t._model,deltaK:0,mK:0}})= ),h=3Dd.length;for(e=3D0;e0?d[e-= 1]:null,(a=3De0?d[e-1]:null,= a=3De=3Dt.length-1?t[0]:t[e+1]:e>=3Dt.leng= th-1?t[t.length-1]:t[e+1]},V.previousItem=3Dfunction(t,e,n){return n?e<=3D0= ?t[t.length-1]:t[e-1]:e<=3D0?t[0]:t[e-1]},V.niceNum=3Dfunction(t,e){var n= =3DMath.floor(V.log10(t)),i=3Dt/Math.pow(10,n);return(e?i<1.5?1:i<3?2:i<7?5= :10:i<=3D1?1:i<=3D2?2:i<=3D5?5:10)*Math.pow(10,n)},V.requestAnimFrame=3D"un= defined"=3D=3Dtypeof window?function(t){t()}:window.requestAnimationFrame||= window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window= .oRequestAnimationFrame||window.msRequestAnimationFrame||function(t){return= window.setTimeout(t,1e3/60)},V.getRelativePosition=3Dfunction(t,e){var n,i= ,a=3Dt.originalEvent||t,r=3Dt.target||t.srcElement,o=3Dr.getBoundingClientR= ect(),s=3Da.touches;s&&s.length>0?(n=3Ds[0].clientX,i=3Ds[0].clientY):(n=3D= a.clientX,i=3Da.clientY);var l=3DparseFloat(V.getStyle(r,"padding-left")),u= =3DparseFloat(V.getStyle(r,"padding-top")),d=3DparseFloat(V.getStyle(r,"pad= ding-right")),h=3DparseFloat(V.getStyle(r,"padding-bottom")),c=3Do.right-o.= left-l-d,f=3Do.bottom-o.top-u-h;return{x:n=3DMath.round((n-o.left-l)/c*r.wi= dth/e.currentDevicePixelRatio),y:i=3DMath.round((i-o.top-u)/f*r.height/e.cu= rrentDevicePixelRatio)}},V.getConstraintWidth=3Dfunction(t){return n(t,"max= -width","clientWidth")},V.getConstraintHeight=3Dfunction(t){return n(t,"max= -height","clientHeight")},V._calculatePadding=3Dfunction(t,e,n){return(e=3D= V.getStyle(t,e)).indexOf("%")>-1?n*parseInt(e,10)/100:parseInt(e,10)},V._ge= tParentNode=3Dfunction(t){var e=3Dt.parentNode;return e&&"[object ShadowRoo= t]"=3D=3D=3De.toString()&&(e=3De.host),e},V.getMaximumWidth=3Dfunction(t){v= ar e=3DV._getParentNode(t);if(!e)return t.clientWidth;var n=3De.clientWidth= ,i=3Dn-V._calculatePadding(e,"padding-left",n)-V._calculatePadding(e,"paddi= ng-right",n),a=3DV.getConstraintWidth(t);return isNaN(a)?i:Math.min(i,a)},V= .getMaximumHeight=3Dfunction(t){var e=3DV._getParentNode(t);if(!e)return t.= clientHeight;var n=3De.clientHeight,i=3Dn-V._calculatePadding(e,"padding-to= p",n)-V._calculatePadding(e,"padding-bottom",n),a=3DV.getConstraintHeight(t= );return isNaN(a)?i:Math.min(i,a)},V.getStyle=3Dfunction(t,e){return t.curr= entStyle?t.currentStyle[e]:document.defaultView.getComputedStyle(t,null).ge= tPropertyValue(e)},V.retinaScale=3Dfunction(t,e){var n=3Dt.currentDevicePix= elRatio=3De||"undefined"!=3Dtypeof window&&window.devicePixelRatio||1;if(1!= =3D=3Dn){var i=3Dt.canvas,a=3Dt.height,r=3Dt.width;i.height=3Da*n,i.width= =3Dr*n,t.ctx.scale(n,n),i.style.height||i.style.width||(i.style.height=3Da+= "px",i.style.width=3Dr+"px")}},V.fontString=3Dfunction(t,e,n){return e+" "+= t+"px "+n},V.longestText=3Dfunction(t,e,n,i){var a=3D(i=3Di||{}).data=3Di.d= ata||{},r=3Di.garbageCollect=3Di.garbageCollect||[];i.font!=3D=3De&&(a=3Di.= data=3D{},r=3Di.garbageCollect=3D[],i.font=3De),t.font=3De;var o,s,l,u,d,h= =3D0,c=3Dn.length;for(o=3D0;on.length){for(o=3D0;oi&&(i=3Dr),i},V.numberO= fLabelLines=3Dfunction(t){var e=3D1;return V.each(t,(function(t){V.isArray(= t)&&t.length>e&&(e=3Dt.length)})),e},V.color=3Dk?function(t){return t insta= nceof CanvasGradient&&(t=3Dz.global.defaultColor),k(t)}:function(t){return = console.error("Color.js not found!"),t},V.getHoverColor=3Dfunction(t){retur= n t instanceof CanvasPattern||t instanceof CanvasGradient?t:V.color(t).satu= rate(.5).darken(.1).rgbString()}}(),tn._adapters=3Dan,tn.Animation=3DZ,tn.a= nimationService=3D$,tn.controllers=3D$t,tn.DatasetController=3Dnt,tn.defaul= ts=3Dz,tn.Element=3DX,tn.elements=3D_t,tn.Interaction=3Dae,tn.layouts=3Dge,= tn.platform=3DFe,tn.plugins=3DLe,tn.Scale=3Dxn,tn.scaleService=3DOe,tn.Tick= s=3Drn,tn.Tooltip=3DUe,tn.helpers.each(ci,(function(t,e){tn.scaleService.re= gisterScaleType(e,t,t._defaults)})),Li)Li.hasOwnProperty(Ni)&&tn.plugins.re= gister(Li[Ni]);tn.platform.initialize();var Bi=3Dtn;return"undefined"!=3Dty= peof window&&(window.Chart=3Dtn),tn.Chart=3Dtn,tn.Legend=3DLi.legend._eleme= nt,tn.Title=3DLi.title._element,tn.pluginService=3Dtn.plugins,tn.PluginBase= =3Dtn.Element.extend({}),tn.canvasHelpers=3Dtn.helpers.canvas,tn.layoutServ= ice=3Dtn.layouts,tn.LinearScaleBase=3DSn,tn.helpers.each(["Bar","Bubble","D= oughnut","Line","PolarArea","Radar","Scatter"],(function(t){tn[t]=3Dfunctio= n(e,n){return new tn(e,tn.helpers.merge(n||{},{type:t.charAt(0).toLowerCase= ()+t.slice(1)}))}})),Bi})); --=20 Memet Zx