text: (function(t){function e(e){for(var i,a,s=e[0],l=e[1],c=e[2],u=0,h=[];u<s.length;u++)a=s[u],o[a]&&h.push(o[a][0]),o[a]=0;for(i in l)Object.prototype.hasOwnProperty.call(l,i)&&(t[i]=l[i]);d&&d(e);while(h.length)h.shift()();return n.push.apply(n,c||[]),r()}function r(){for(var t,e=0;e<n.length;e++){for(var r=n[e],i=!0,s=1;s<r.length;s++){var l=r[s];0!==o[l]&&(i=!1)}i&&(n.splice(e--,1),t=a(a.s=r[0]))}return t}var i={},o={reports:0},n=[];function a(e){if(i[e])return i[e].exports;var r=i[e]={i:e,l:!1,exports:{}};return t[e].call(r.exports,r,r.exports,a),r.l=!0,r.exports}a.m=t,a.c=i,a.d=function(t,e,r){a.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},a.r=function(t){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},a.t=function(t,e){if(1&e&&(t=a(t)),8&e)return t;if(4&e&&"object"===typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(a.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)a.d(r,i,function(e){return t[e]}.bind(null,i));return r},a.n=function(t){var e=t&&t.__esModule?function(){return t["default"]}:function(){return t};return a.d(e,"a",e),e},a.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},a.p="https://monsterinsights.test/";var s=window["monsterinsightsjsonp"]=window["monsterinsightsjsonp"]||[],l=s.push.bind(s);s.push=e,s=s.slice();for(var c=0;c<s.length;c++)e(s[c]);var d=l;n.push([2,"chunk-vendors","chunk-common"]),r()})({"0097":function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACQAAAAkCAYAAADhAJiYAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAPfSURBVHgBzVhdbtNAEJ5dh1AhUSWCA7gnIE3hGecETU/Q9ARtU4HEU90nJFAacoKmJ2g5QcwbEv0xJ2h4BskREkgt9S4zsR28G9v5cys+KfJm7d35PDvzeXYZLIi1Q0/G/g7w1wcJfQnik7jhp+6bch9mAIMFoRFKgiul37nYe9qF/4RQhD4SO5hEjKfdqNheqfLWMyE/mIwZR89bXrvS9kowCyEiUliGnvEQLl+88yowA5gPNSlhF5tO0n3JYMeQcJn2siyJDBLpYTMaMOC3UPvyuuwmTaAv2XmzPJoTPWEaUtj43psJQ/v+NdT0oB/zUOEhnMTIEEqiAL1ZPUVwd8v98+aThs9gRVL2qaAXP9GXTyFUbXttHJhkeG5SETHBYBXl4FS7VSkI2I93jNxbbf1oUNBNmDtz+abBWss7Qat1hQTG3dmrskPtkYeQjMKUXMwkHGjzLeQpgs9hS18+acDIEUNC5B1Q4wbQxbWzvbKdNylcvgH3YUvrNkMOASH0jpoFDLq07tS8C1LB8ohjxWTIgYVpfhW/SVkREYqAgmajhuxrc88dU4EkqHZFccnkvOhb2rOOToaQt6dCG068j13/3uAMjPV4p5TiY9okeZPSbTHOn3GMFzPeyQXPdH+epITPHaVDgkVBbcb7bgswJISfhE38efi7Wjv8ubkoqcT5Hoypd4kIKdJNaRk27fCeiWH+QTeQRgo1pQ7JsPX5YrYUQmkYEZVBJQiTSFGb+uadj0CElJvRx45KCFJUGmyMe2KM1AQyifMl1EUDVsU1ZbE4Qg1aRVfO/a2aBZX33y3DKPRiXS6nYjz+EBfCgnsC51xLAPmNo6sVbzDG1+GeoNuSUjooO1yvUayca+lEhDaseB9x4UkSXijCNtwxjOLYd9ElLsO0xwxQvrxUiC9S80zC0DsMGopNCR26/qsYtWwDKsKDjBtkTU4KjBcSOnzOsM+by8eZZHB7ZSzDJcRskRxcNMsr1B4JY1LRZAhow2TYkKHoOozHw+rQVDpjOjciFBZNHeVBdCvVwFkbO5hSgckzuIk40utpBG6zy90xQgSfcRsvrkaqnrWxm0bRKxiPtEwoMQ1lbBAWtmpOH4yVHKplj+luDWbo+jdwMO2JBr0EX4JtJLIzPhXQ1qimF4OJhw2ZpAI4VFwJIVz4VXBdOwh8WhZ49MfkhmGFomeljHfRMxtJlWnq6QfFTbgNzluTOrRMadk78Tim2vIa+NR+hremAi0RZXK0IUzD1OdDRIyxoYLPKpgOCW88k3IhFGEYXwLqOPAl1eOSzn3C1A/TfoBB7GD7a/EGTj/PeKT3F48e82eqTZAnAAAAAElFTkSuQmCC"},1134:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAASCSURBVHgB7VlBcts2FH0A63amM52a03ZPnyCylb3VE9Q9QZUT2I6bRVeWVl0kiq0TWL5BeoLI+9hlT2B23XjoVWdah0A+SMohAVAiRMpeRG+GY5OEgP/A/z8ePoA11vi8wdASOi//6XHOOwx8VzLQX2wiuxRu6YogEUmIv4QQ0/DFD1O0gEYEOoN4k3+LfSZxgE/G1oUiNE3+xzD8zY+wJJYikBt+nBveHBKTZYk4E+i+er8H7p3BfcYXIZIyGV4dfT9x+ZETgZ2T+KRq1iX5Ob17Q38vvATh3Qai8NBXvo/OSby5cYcg8Sg2mOhJ8J9YxQRQ/AyuDv0h2iZAxp+RgX1jwMyXx4JjMjO4Vn+juE+jH5MBAcxOJ5dH/rM6/dQiYDNezTiXGL478k/RAE9H8YBm/dh4UZPEQgJkvArWQblvRILhR5rxCC2AXCygyXirfw0a95Qm6HDeb+cS2Bm97zOWBuw92jZ+hioSEPj58lf/TdXvKgl0fo8D7yu8RaHDVRl/P6adxG3CsFUVX7yqM+/L1C+D4jMX47uvYzm7UBOqbzUGspV7hs0vhCVGclgJqNmnb9MvPiN/HK5q5otQY0gaq/iMgvxApWJbeyuBfPY/dUCuQ8E0wAPhijJbmp4L4EJY1x+7CzH0SvfajDwIpBgXbxnj+7ZmBgGlKqEFEc3IBA8MwfkEWiw8fRn39HYGAZLE5UYMlSlslVBZR0D8UXwmuOjo7QwCpOefFO+lwAUeCUzKaemesZ7exowBpqVOjhCPBJF42tjsid7GFsSBdh/hsbBhjG2kUhuBUiMXhdk2LGPXItA6lKbCimAjUGJdtQK6QAnC7ig+S1d4B1jGNrzBICDNRgGWAMmBZ6XVlKQJicNrJc9rd3K3OB7NNCrLWYeLxMi9daAWPxJm20xbxdXeggTedR234p4+tvzbaKM/oLpNKe8z7u1iSaggVBpKyWF1W3gV1HErhvLYUkojpZsrseDlRhJ7TeNAKczL5/62s1sx7Gm2TfUmBoF3L3zVqKRBSAn20QJytyK9L86Lz8mtfL1t7mL3E5cq4sy2EqxpVNZUgssg+xrf9cmttpVR6qL/jcIAudhx+R5TW39WAqQE9Q6DndFNO1W4HEQkvHrub9l2eblLBcVnCeySvnJP3H19QyRKM3+b/IftJnXMOsj34telh4xKLIf2EkvlSpwwPoAWC2qT77oYuaBQSLhH6mKo3lBVEkh1iIDOOlgVCVsVJMWCvfhcLZTVY8oBjRWQqDJeLYKLdoMLxRxljAOIctpDRsJNFlSAVuV96utPmJLlvE4hoXZxt/vqZkL7zV8sr5zL4un5wjein6fnwNLknBa+fp2+nMrrlYXYDLdIy+vJhUhEiH83onCQl9fJYHx9F8DjHU/Jg2yFrVrdx2R87ZTtfMAxtyzeAOn5AiWNeXVQG5w3NFVyoCHG1OeWq/EKS52RzaCKsZ4UAzpx2XX9Ivn5wvgDx2mTbWsjAkWoohPVbXppWYYqG1JJ5tzP802SOoIK1REUFwhtwmyNNdZwx0dpk/ibKAgl4wAAAABJRU5ErkJggg=="},2:function(t,e,r){t.exports=r("ed59")},"30ef":function(t,e,r){
  /*!
   * Chart.js v2.9.3
   * https://www.chartjs.org
   * (c) 2019 Chart.js Contributors
   * Released under the MIT License
   */
  (function(e,i){t.exports=i(function(){try{return r("c1df")}catch(t){}}())})(0,(function(t){"use strict";function e(t,e){return e={exports:{}},t(e,e.exports),e.exports}function r(t){return t&&t["default"]||t}t=t&&t.hasOwnProperty("default")?t["default"]:t;var i={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]},o=e((function(t){var e={};for(var r in i)i.hasOwnProperty(r)&&(e[i[r]]=r);var o=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 n in o)if(o.hasOwnProperty(n)){if(!("channels"in o[n]))throw new Error("missing channels property: "+n);if(!("labels"in o[n]))throw new Error("missing channel labels property: "+n);if(o[n].labels.length!==o[n].channels)throw new Error("channel and label counts mismatch: "+n);var a=o[n].channels,s=o[n].labels;delete o[n].channels,delete o[n].labels,Object.defineProperty(o[n],"channels",{value:a}),Object.defineProperty(o[n],"labels",{value:s})}function l(t,e){return Math.pow(t[0]-e[0],2)+Math.pow(t[1]-e[1],2)+Math.pow(t[2]-e[2],2)}o.rgb.hsl=function(t){var e,r,i,o=t[0]/255,n=t[1]/255,a=t[2]/255,s=Math.min(o,n,a),l=Math.max(o,n,a),c=l-s;return l===s?e=0:o===l?e=(n-a)/c:n===l?e=2+(a-o)/c:a===l&&(e=4+(o-n)/c),e=Math.min(60*e,360),e<0&&(e+=360),i=(s+l)/2,r=l===s?0:i<=.5?c/(l+s):c/(2-l-s),[e,100*r,100*i]},o.rgb.hsv=function(t){var e,r,i,o,n,a=t[0]/255,s=t[1]/255,l=t[2]/255,c=Math.max(a,s,l),d=c-Math.min(a,s,l),u=function(t){return(c-t)/6/d+.5};return 0===d?o=n=0:(n=d/c,e=u(a),r=u(s),i=u(l),a===c?o=i-r:s===c?o=1/3+e-i:l===c&&(o=2/3+r-e),o<0?o+=1:o>1&&(o-=1)),[360*o,100*n,100*c]},o.rgb.hwb=function(t){var e=t[0],r=t[1],i=t[2],n=o.rgb.hsl(t)[0],a=1/255*Math.min(e,Math.min(r,i));return i=1-1/255*Math.max(e,Math.max(r,i)),[n,100*a,100*i]},o.rgb.cmyk=function(t){var e,r,i,o,n=t[0]/255,a=t[1]/255,s=t[2]/255;return o=Math.min(1-n,1-a,1-s),e=(1-n-o)/(1-o)||0,r=(1-a-o)/(1-o)||0,i=(1-s-o)/(1-o)||0,[100*e,100*r,100*i,100*o]},o.rgb.keyword=function(t){var r=e[t];if(r)return r;var o,n=1/0;for(var a in i)if(i.hasOwnProperty(a)){var s=i[a],c=l(t,s);c<n&&(n=c,o=a)}return o},o.keyword.rgb=function(t){return i[t]},o.rgb.xyz=function(t){var e=t[0]/255,r=t[1]/255,i=t[2]/255;e=e>.04045?Math.pow((e+.055)/1.055,2.4):e/12.92,r=r>.04045?Math.pow((r+.055)/1.055,2.4):r/12.92,i=i>.04045?Math.pow((i+.055)/1.055,2.4):i/12.92;var o=.4124*e+.3576*r+.1805*i,n=.2126*e+.7152*r+.0722*i,a=.0193*e+.1192*r+.9505*i;return[100*o,100*n,100*a]},o.rgb.lab=function(t){var e,r,i,n=o.rgb.xyz(t),a=n[0],s=n[1],l=n[2];return a/=95.047,s/=100,l/=108.883,a=a>.008856?Math.pow(a,1/3):7.787*a+16/116,s=s>.008856?Math.pow(s,1/3):7.787*s+16/116,l=l>.008856?Math.pow(l,1/3):7.787*l+16/116,e=116*s-16,r=500*(a-s),i=200*(s-l),[e,r,i]},o.hsl.rgb=function(t){var e,r,i,o,n,a=t[0]/360,s=t[1]/100,l=t[2]/100;if(0===s)return n=255*l,[n,n,n];r=l<.5?l*(1+s):l+s-l*s,e=2*l-r,o=[0,0,0];for(var c=0;c<3;c++)i=a+1/3*-(c-1),i<0&&i++,i>1&&i--,n=6*i<1?e+6*(r-e)*i:2*i<1?r:3*i<2?e+(r-e)*(2/3-i)*6:e,o[c]=255*n;return o},o.hsl.hsv=function(t){var e,r,i=t[0],o=t[1]/100,n=t[2]/100,a=o,s=Math.max(n,.01);return n*=2,o*=n<=1?n:2-n,a*=s<=1?s:2-s,r=(n+o)/2,e=0===n?2*a/(s+a):2*o/(n+o),[i,100*e,100*r]},o.hsv.rgb=function(t){var e=t[0]/60,r=t[1]/100,i=t[2]/100,o=Math.floor(e)%6,n=e-Math.floor(e),a=255*i*(1-r),s=255*i*(1-r*n),l=255*i*(1-r*(1-n));switch(i*=255,o){case 0:return[i,l,a];case 1:return[s,i,a];case 2:return[a,i,l];case 3:return[a,s,i];case 4:return[l,a,i];case 5:return[i,a,s]}},o.hsv.hsl=function(t){var e,r,i,o=t[0],n=t[1]/100,a=t[2]/100,s=Math.max(a,.01);return i=(2-n)*a,e=(2-n)*s,r=n*s,r/=e<=1?e:2-e,r=r||0,i/=2,[o,100*r,100*i]},o.hwb.rgb=function(t){var e,r,i,o,n,a,s,l=t[0]/360,c=t[1]/100,d=t[2]/100,u=c+d;switch(u>1&&(c/=u,d/=u),e=Math.floor(6*l),r=1-d,i=6*l-e,0!==(1&e)&&(i=1-i),o=c+i*(r-c),e){default:case 6:case 0:n=r,a=o,s=c;break;case 1:n=o,a=r,s=c;break;case 2:n=c,a=r,s=o;break;case 3:n=c,a=o,s=r;break;case 4:n=o,a=c,s=r;break;case 5:n=r,a=c,s=o;break}return[255*n,255*a,255*s]},o.cmyk.rgb=function(t){var e,r,i,o=t[0]/100,n=t[1]/100,a=t[2]/100,s=t[3]/100;return e=1-Math.min(1,o*(1-s)+s),r=1-Math.min(1,n*(1-s)+s),i=1-Math.min(1,a*(1-s)+s),[255*e,255*r,255*i]},o.xyz.rgb=function(t){var e,r,i,o=t[0]/100,n=t[1]/100,a=t[2]/100;return e=3.2406*o+-1.5372*n+-.4986*a,r=-.9689*o+1.8758*n+.0415*a,i=.0557*o+-.204*n+1.057*a,e=e>.0031308?1.055*Math.pow(e,1/2.4)-.055:12.92*e,r=r>.0031308?1.055*Math.pow(r,1/2.4)-.055:12.92*r,i=i>.0031308?1.055*Math.pow(i,1/2.4)-.055:12.92*i,e=Math.min(Math.max(0,e),1),r=Math.min(Math.max(0,r),1),i=Math.min(Math.max(0,i),1),[255*e,255*r,255*i]},o.xyz.lab=function(t){var e,r,i,o=t[0],n=t[1],a=t[2];return o/=95.047,n/=100,a/=108.883,o=o>.008856?Math.pow(o,1/3):7.787*o+16/116,n=n>.008856?Math.pow(n,1/3):7.787*n+16/116,a=a>.008856?Math.pow(a,1/3):7.787*a+16/116,e=116*n-16,r=500*(o-n),i=200*(n-a),[e,r,i]},o.lab.xyz=function(t){var e,r,i,o=t[0],n=t[1],a=t[2];r=(o+16)/116,e=n/500+r,i=r-a/200;var s=Math.pow(r,3),l=Math.pow(e,3),c=Math.pow(i,3);return r=s>.008856?s:(r-16/116)/7.787,e=l>.008856?l:(e-16/116)/7.787,i=c>.008856?c:(i-16/116)/7.787,e*=95.047,r*=100,i*=108.883,[e,r,i]},o.lab.lch=function(t){var e,r,i,o=t[0],n=t[1],a=t[2];return e=Math.atan2(a,n),r=360*e/2/Math.PI,r<0&&(r+=360),i=Math.sqrt(n*n+a*a),[o,i,r]},o.lch.lab=function(t){var e,r,i,o=t[0],n=t[1],a=t[2];return i=a/360*2*Math.PI,e=n*Math.cos(i),r=n*Math.sin(i),[o,e,r]},o.rgb.ansi16=function(t){var e=t[0],r=t[1],i=t[2],n=1 in arguments?arguments[1]:o.rgb.hsv(t)[2];if(n=Math.round(n/50),0===n)return 30;var a=30+(Math.round(i/255)<<2|Math.round(r/255)<<1|Math.round(e/255));return 2===n&&(a+=60),a},o.hsv.ansi16=function(t){return o.rgb.ansi16(o.hsv.rgb(t),t[2])},o.rgb.ansi256=function(t){var e=t[0],r=t[1],i=t[2];if(e===r&&r===i)return e<8?16:e>248?231:Math.round((e-8)/247*24)+232;var o=16+36*Math.round(e/255*5)+6*Math.round(r/255*5)+Math.round(i/255*5);return o},o.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,e];var r=.5*(1+~~(t>50)),i=(1&e)*r*255,o=(e>>1&1)*r*255,n=(e>>2&1)*r*255;return[i,o,n]},o.ansi256.rgb=function(t){if(t>=232){var e=10*(t-232)+8;return[e,e,e]}var r;t-=16;var i=Math.floor(t/36)/5*255,o=Math.floor((r=t%36)/6)/5*255,n=r%6/5*255;return[i,o,n]},o.rgb.hex=function(t){var e=((255&Math.round(t[0]))<<16)+((255&Math.round(t[1]))<<8)+(255&Math.round(t[2])),r=e.toString(16).toUpperCase();return"000000".substring(r.length)+r},o.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 r=e[0];3===e[0].length&&(r=r.split("").map((function(t){return t+t})).join(""));var i=parseInt(r,16),o=i>>16&255,n=i>>8&255,a=255&i;return[o,n,a]},o.rgb.hcg=function(t){var e,r,i=t[0]/255,o=t[1]/255,n=t[2]/255,a=Math.max(Math.max(i,o),n),s=Math.min(Math.min(i,o),n),l=a-s;return e=l<1?s/(1-l):0,r=l<=0?0:a===i?(o-n)/l%6:a===o?2+(n-i)/l:4+(i-o)/l+4,r/=6,r%=1,[360*r,100*l,100*e]},o.hsl.hcg=function(t){var e=t[1]/100,r=t[2]/100,i=1,o=0;return i=r<.5?2*e*r:2*e*(1-r),i<1&&(o=(r-.5*i)/(1-i)),[t[0],100*i,100*o]},o.hsv.hcg=function(t){var e=t[1]/100,r=t[2]/100,i=e*r,o=0;return i<1&&(o=(r-i)/(1-i)),[t[0],100*i,100*o]},o.hcg.rgb=function(t){var e=t[0]/360,r=t[1]/100,i=t[2]/100;if(0===r)return[255*i,255*i,255*i];var o=[0,0,0],n=e%1*6,a=n%1,s=1-a,l=0;switch(Math.floor(n)){case 0:o[0]=1,o[1]=a,o[2]=0;break;case 1:o[0]=s,o[1]=1,o[2]=0;break;case 2:o[0]=0,o[1]=1,o[2]=a;break;case 3:o[0]=0,o[1]=s,o[2]=1;break;case 4:o[0]=a,o[1]=0,o[2]=1;break;default:o[0]=1,o[1]=0,o[2]=s}return l=(1-r)*i,[255*(r*o[0]+l),255*(r*o[1]+l),255*(r*o[2]+l)]},o.hcg.hsv=function(t){var e=t[1]/100,r=t[2]/100,i=e+r*(1-e),o=0;return i>0&&(o=e/i),[t[0],100*o,100*i]},o.hcg.hsl=function(t){var e=t[1]/100,r=t[2]/100,i=r*(1-e)+.5*e,o=0;return i>0&&i<.5?o=e/(2*i):i>=.5&&i<1&&(o=e/(2*(1-i))),[t[0],100*o,100*i]},o.hcg.hwb=function(t){var e=t[1]/100,r=t[2]/100,i=e+r*(1-e);return[t[0],100*(i-e),100*(1-i)]},o.hwb.hcg=function(t){var e=t[1]/100,r=t[2]/100,i=1-r,o=i-e,n=0;return o<1&&(n=(i-o)/(1-o)),[t[0],100*o,100*n]},o.apple.rgb=function(t){return[t[0]/65535*255,t[1]/65535*255,t[2]/65535*255]},o.rgb.apple=function(t){return[t[0]/255*65535,t[1]/255*65535,t[2]/255*65535]},o.gray.rgb=function(t){return[t[0]/100*255,t[0]/100*255,t[0]/100*255]},o.gray.hsl=o.gray.hsv=function(t){return[0,0,t[0]]},o.gray.hwb=function(t){return[0,100,t[0]]},o.gray.cmyk=function(t){return[0,0,0,t[0]]},o.gray.lab=function(t){return[t[0],0,0]},o.gray.hex=function(t){var e=255&Math.round(t[0]/100*255),r=(e<<16)+(e<<8)+e,i=r.toString(16).toUpperCase();return"000000".substring(i.length)+i},o.rgb.gray=function(t){var e=(t[0]+t[1]+t[2])/3;return[e/255*100]}}));o.rgb,o.hsl,o.hsv,o.hwb,o.cmyk,o.xyz,o.lab,o.lch,o.hex,o.keyword,o.ansi16,o.ansi256,o.hcg,o.apple,o.gray;function n(){for(var t={},e=Object.keys(o),r=e.length,i=0;i<r;i++)t[e[i]]={distance:-1,parent:null};return t}function a(t){var e=n(),r=[t];e[t].distance=0;while(r.length)for(var i=r.pop(),a=Object.keys(o[i]),s=a.length,l=0;l<s;l++){var c=a[l],d=e[c];-1===d.distance&&(d.distance=e[i].distance+1,d.parent=i,r.unshift(c))}return e}function s(t,e){return function(r){return e(t(r))}}function l(t,e){var r=[e[t].parent,t],i=o[e[t].parent][t],n=e[t].parent;while(e[n].parent)r.unshift(e[n].parent),i=s(o[e[n].parent][n],i),n=e[n].parent;return i.conversion=r,i}var c=function(t){for(var e=a(t),r={},i=Object.keys(e),o=i.length,n=0;n<o;n++){var s=i[n],c=e[s];null!==c.parent&&(r[s]=l(s,e))}return r},d={},u=Object.keys(o);function h(t){var e=function(e){return void 0===e||null===e?e:(arguments.length>1&&(e=Array.prototype.slice.call(arguments)),t(e))};return"conversion"in t&&(e.conversion=t.conversion),e}function g(t){var e=function(e){if(void 0===e||null===e)return e;arguments.length>1&&(e=Array.prototype.slice.call(arguments));var r=t(e);if("object"===typeof r)for(var i=r.length,o=0;o<i;o++)r[o]=Math.round(r[o]);return r};return"conversion"in t&&(e.conversion=t.conversion),e}u.forEach((function(t){d[t]={},Object.defineProperty(d[t],"channels",{value:o[t].channels}),Object.defineProperty(d[t],"labels",{value:o[t].labels});var e=c(t),r=Object.keys(e);r.forEach((function(r){var i=e[r];d[t][r]=g(i),d[t][r].raw=h(i)}))}));var p=d,f={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]},m={getRgba:v,getHsla:b,getRgb:x,getHsl:w,getHwb:y,getAlpha:_,hexString:C,rgbString:A,rgbaString:k,percentString:O,percentaString:M,hslString:P,hslaString:S,hwbString:R,keyword:T};function v(t){if(t){var e=/^#([a-fA-F0-9]{3,4})$/i,r=/^#([a-fA-F0-9]{6}([a-fA-F0-9]{2})?)$/i,i=/^rgba?\(\s*([+-]?\d+)\s*,\s*([+-]?\d+)\s*,\s*([+-]?\d+)\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/i,o=/^rgba?\(\s*([+-]?[\d\.]+)\%\s*,\s*([+-]?[\d\.]+)\%\s*,\s*([+-]?[\d\.]+)\%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/i,n=/(\w+)/,a=[0,0,0],s=1,l=t.match(e),c="";if(l){l=l[1],c=l[3];for(var d=0;d<a.length;d++)a[d]=parseInt(l[d]+l[d],16);c&&(s=Math.round(parseInt(c+c,16)/255*100)/100)}else if(l=t.match(r)){c=l[2],l=l[1];for(d=0;d<a.length;d++)a[d]=parseInt(l.slice(2*d,2*d+2),16);c&&(s=Math.round(parseInt(c,16)/255*100)/100)}else if(l=t.match(i)){for(d=0;d<a.length;d++)a[d]=parseInt(l[d+1]);s=parseFloat(l[4])}else if(l=t.match(o)){for(d=0;d<a.length;d++)a[d]=Math.round(2.55*parseFloat(l[d+1]));s=parseFloat(l[4])}else if(l=t.match(n)){if("transparent"==l[1])return[0,0,0,0];if(a=f[l[1]],!a)return}for(d=0;d<a.length;d++)a[d]=D(a[d],0,255);return s=s||0==s?D(s,0,1):1,a[3]=s,a}}function b(t){if(t){var e=/^hsla?\(\s*([+-]?\d+)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)/,r=t.match(e);if(r){var i=parseFloat(r[4]),o=D(parseInt(r[1]),0,360),n=D(parseFloat(r[2]),0,100),a=D(parseFloat(r[3]),0,100),s=D(isNaN(i)?1:i,0,1);return[o,n,a,s]}}}function y(t){if(t){var e=/^hwb\(\s*([+-]?\d+)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)/,r=t.match(e);if(r){var i=parseFloat(r[4]),o=D(parseInt(r[1]),0,360),n=D(parseFloat(r[2]),0,100),a=D(parseFloat(r[3]),0,100),s=D(isNaN(i)?1:i,0,1);return[o,n,a,s]}}}function x(t){var e=v(t);return e&&e.slice(0,3)}function w(t){var e=b(t);return e&&e.slice(0,3)}function _(t){var e=v(t);return e?e[3]:(e=b(t))?e[3]:(e=y(t))?e[3]:void 0}function C(t,e){e=void 0!==e&&3===t.length?e:t[3];return"#"+j(t[0])+j(t[1])+j(t[2])+(e>=0&&e<1?j(Math.round(255*e)):"")}function A(t,e){return e<1||t[3]&&t[3]<1?k(t,e):"rgb("+t[0]+", "+t[1]+", "+t[2]+")"}function k(t,e){return void 0===e&&(e=void 0!==t[3]?t[3]:1),"rgba("+t[0]+", "+t[1]+", "+t[2]+", "+e+")"}function O(t,e){if(e<1||t[3]&&t[3]<1)return M(t,e);var r=Math.round(t[0]/255*100),i=Math.round(t[1]/255*100),o=Math.round(t[2]/255*100);return"rgb("+r+"%, "+i+"%, "+o+"%)"}function M(t,e){var r=Math.round(t[0]/255*100),i=Math.round(t[1]/255*100),o=Math.round(t[2]/255*100);return"rgba("+r+"%, "+i+"%, "+o+"%, "+(e||t[3]||1)+")"}function P(t,e){return e<1||t[3]&&t[3]<1?S(t,e):"hsl("+t[0]+", "+t[1]+"%, "+t[2]+"%)"}function S(t,e){return void 0===e&&(e=void 0!==t[3]?t[3]:1),"hsla("+t[0]+", "+t[1]+"%, "+t[2]+"%, "+e+")"}function R(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:"")+")"}function T(t){return I[t.slice(0,3)]}function D(t,e,r){return Math.min(Math.max(e,t),r)}function j(t){var e=t.toString(16).toUpperCase();return e.length<2?"0"+e:e}var I={};for(var B in f)I[f[B]]=B;var L=function(t){return t instanceof L?t:this instanceof L?(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=m.getRgba(t),e?this.setValues("rgb",e):(e=m.getHsla(t))?this.setValues("hsl",e):(e=m.getHwb(t))&&this.setValues("hwb",e)):"object"===typeof t&&(e=t,void 0!==e.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 L(t);var e};L.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%=360,t=t<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 m.hexString(this.values.rgb)},rgbString:function(){return m.rgbString(this.values.rgb,this.values.alpha)},rgbaString:function(){return m.rgbaString(this.values.rgb,this.values.alpha)},percentString:function(){return m.percentString(this.values.rgb,this.values.alpha)},hslString:function(){return m.hslString(this.values.hsl,this.values.alpha)},hslaString:function(){return m.hslaString(this.values.hsl,this.values.alpha)},hwbString:function(){return m.hwbString(this.values.hwb,this.values.alpha)},keyword:function(){return m.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=[],r=0;r<t.length;r++){var i=t[r]/255;e[r]=i<=.03928?i/12.92:Math.pow((i+.055)/1.055,2.4)}return.2126*e[0]+.7152*e[1]+.0722*e[2]},contrast:function(t){var e=this.luminosity(),r=t.luminosity();return e>r?(e+.05)/(r+.05):(r+.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,e=(299*t[0]+587*t[1]+114*t[2])/1e3;return e<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,r=(e[0]+t)%360;return e[0]=r<0?360+r:r,this.setValues("hsl",e),this},mix:function(t,e){var r=this,i=t,o=void 0===e?.5:e,n=2*o-1,a=r.alpha()-i.alpha(),s=((n*a===-1?n:(n+a)/(1+n*a))+1)/2,l=1-s;return this.rgb(s*r.red()+l*i.red(),s*r.green()+l*i.green(),s*r.blue()+l*i.blue()).alpha(r.alpha()*o+i.alpha()*(1-o))},toJSON:function(){return this.rgb()},clone:function(){var t,e,r=new L,i=this.values,o=r.values;for(var n in i)i.hasOwnProperty(n)&&(t=i[n],e={}.toString.call(t),"[object Array]"===e?o[n]=t.slice(0):"[object Number]"===e?o[n]=t:console.error("unexpected color value:",t));return r}},L.prototype.spaces={rgb:["red","green","blue"],hsl:["hue","saturation","lightness"],hsv:["hue","saturation","value"],hwb:["hue","whiteness","blackness"],cmyk:["cyan","magenta","yellow","black"]},L.prototype.maxes={rgb:[255,255,255],hsl:[360,100,100],hsv:[360,100,100],hwb:[360,100,100],cmyk:[100,100,100,100]},L.prototype.getValues=function(t){for(var e=this.values,r={},i=0;i<t.length;i++)r[t.charAt(i)]=e[t][i];return 1!==e.alpha&&(r.a=e.alpha),r},L.prototype.setValues=function(t,e){var r,i,o=this.values,n=this.spaces,a=this.maxes,s=1;if(this.valid=!0,"alpha"===t)s=e;else if(e.length)o[t]=e.slice(0,t.length),s=e[t.length];else if(void 0!==e[t.charAt(0)]){for(r=0;r<t.length;r++)o[t][r]=e[t.charAt(r)];s=e.a}else if(void 0!==e[n[t][0]]){var l=n[t];for(r=0;r<t.length;r++)o[t][r]=e[l[r]];s=e.alpha}if(o.alpha=Math.max(0,Math.min(1,void 0===s?o.alpha:s)),"alpha"===t)return!1;for(r=0;r<t.length;r++)i=Math.max(0,Math.min(a[t][r],o[t][r])),o[t][r]=Math.round(i);for(var c in n)c!==t&&(o[c]=p[t][c](o[t]));return!0},L.prototype.setSpace=function(t,e){var r=e[0];return void 0===r?this.getValues(t):("number"===typeof r&&(r=Array.prototype.slice.call(e)),this.setValues(t,r),this)},L.prototype.setChannel=function(t,e,r){var i=this.values[t];return void 0===r?i[e]:r===i[e]?this:(i[e]=r,this.setValues(t,i),this)},"undefined"!==typeof window&&(window.Color=L);var F=L,E={noop:function(){},uid:function(){var t=0;return function(){return t++}}(),isNullOrUndef:function(t){return null===t||"undefined"===typeof 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"undefined"===typeof t?e:t},valueAtIndexOrDefault:function(t,e,r){return E.valueOrDefault(E.isArray(t)?t[e]:t,r)},callback:function(t,e,r){if(t&&"function"===typeof t.call)return t.apply(r,e)},each:function(t,e,r,i){var o,n,a;if(E.isArray(t))if(n=t.length,i)for(o=n-1;o>=0;o--)e.call(r,t[o],o);else for(o=0;o<n;o++)e.call(r,t[o],o);else if(E.isObject(t))for(a=Object.keys(t),n=a.length,o=0;o<n;o++)e.call(r,t[a[o]],a[o])},arrayEquals:function(t,e){var r,i,o,n;if(!t||!e||t.length!==e.length)return!1;for(r=0,i=t.length;r<i;++r)if(o=t[r],n=e[r],o instanceof Array&&n instanceof Array){if(!E.arrayEquals(o,n))return!1}else if(o!==n)return!1;return!0},clone:function(t){if(E.isArray(t))return t.map(E.clone);if(E.isObject(t)){for(var e={},r=Object.keys(t),i=r.length,o=0;o<i;++o)e[r[o]]=E.clone(t[r[o]]);return e}return t},_merger:function(t,e,r,i){var o=e[t],n=r[t];E.isObject(o)&&E.isObject(n)?E.merge(o,n,i):e[t]=E.clone(n)},_mergerIf:function(t,e,r){var i=e[t],o=r[t];E.isObject(i)&&E.isObject(o)?E.mergeIf(i,o):e.hasOwnProperty(t)||(e[t]=E.clone(o))},merge:function(t,e,r){var i,o,n,a,s,l=E.isArray(e)?e:[e],c=l.length;if(!E.isObject(t))return t;for(r=r||{},i=r.merger||E._merger,o=0;o<c;++o)if(e=l[o],E.isObject(e))for(n=Object.keys(e),s=0,a=n.length;s<a;++s)i(n[s],t,e,r);return t},mergeIf:function(t,e){return E.merge(t,e,{merger:E._mergerIf})},extend:Object.assign||function(t){return E.merge(t,[].slice.call(arguments,1),{merger:function(t,e,r){e[t]=r[t]}})},inherits:function(t){var e=this,r=t&&t.hasOwnProperty("constructor")?t.constructor:function(){return e.apply(this,arguments)},i=function(){this.constructor=r};return i.prototype=e.prototype,r.prototype=new i,r.extend=E.inherits,t&&E.extend(r.prototype,t),r.__super__=e.prototype,r},_deprecated:function(t,e,r,i){void 0!==e&&console.warn(t+': "'+r+'" is deprecated. Please use "'+i+'" instead')}},V=E;E.callCallback=E.callback,E.indexOf=function(t,e,r){return Array.prototype.indexOf.call(t,e,r)},E.getValueOrDefault=E.valueOrDefault,E.getValueAtIndexOrDefault=E.valueAtIndexOrDefault;var N={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,r=0,i=1;return 0===t?0:1===t?1:(r||(r=.3),i<1?(i=1,e=r/4):e=r/(2*Math.PI)*Math.asin(1/i),-i*Math.pow(2,10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/r))},easeOutElastic:function(t){var e=1.70158,r=0,i=1;return 0===t?0:1===t?1:(r||(r=.3),i<1?(i=1,e=r/4):e=r/(2*Math.PI)*Math.asin(1/i),i*Math.pow(2,-10*t)*Math.sin((t-e)*(2*Math.PI)/r)+1)},easeInOutElastic:function(t){var e=1.70158,r=0,i=1;return 0===t?0:2===(t/=.5)?1:(r||(r=.45),i<1?(i=1,e=r/4):e=r/(2*Math.PI)*Math.asin(1/i),t<1?i*Math.pow(2,10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/r)*-.5:i*Math.pow(2,-10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/r)*.5+1)},easeInBack:function(t){var e=1.70158;return t*t*((e+1)*t-e)},easeOutBack:function(t){var e=1.70158;return(t-=1)*t*((e+1)*t+e)+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-N.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*N.easeInBounce(2*t):.5*N.easeOutBounce(2*t-1)+.5}},z={effects:N};V.easingEffects=N;var H=Math.PI,W=H/180,U=2*H,Y=H/2,Q=H/4,X=2*H/3,q={clear:function(t){t.ctx.clearRect(0,0,t.width,t.height)},roundedRect:function(t,e,r,i,o,n){if(n){var a=Math.min(n,o/2,i/2),s=e+a,l=r+a,c=e+i-a,d=r+o-a;t.moveTo(e,l),s<c&&l<d?(t.arc(s,l,a,-H,-Y),t.arc(c,l,a,-Y,0),t.arc(c,d,a,0,Y),t.arc(s,d,a,Y,H)):s<c?(t.moveTo(s,r),t.arc(c,l,a,-Y,Y),t.arc(s,l,a,Y,H+Y)):l<d?(t.arc(s,l,a,-H,0),t.arc(s,d,a,0,H)):t.arc(s,l,a,-H,H),t.closePath(),t.moveTo(e,r)}else t.rect(e,r,i,o)},drawPoint:function(t,e,r,i,o,n){var a,s,l,c,d,u=(n||0)*W;if(e&&"object"===typeof e&&(a=e.toString(),"[object HTMLImageElement]"===a||"[object HTMLCanvasElement]"===a))return t.save(),t.translate(i,o),t.rotate(u),t.drawImage(e,-e.width/2,-e.height/2,e.width,e.height),void t.restore();if(!(isNaN(r)||r<=0)){switch(t.beginPath(),e){default:t.arc(i,o,r,0,U),t.closePath();break;case"triangle":t.moveTo(i+Math.sin(u)*r,o-Math.cos(u)*r),u+=X,t.lineTo(i+Math.sin(u)*r,o-Math.cos(u)*r),u+=X,t.lineTo(i+Math.sin(u)*r,o-Math.cos(u)*r),t.closePath();break;case"rectRounded":d=.516*r,c=r-d,s=Math.cos(u+Q)*c,l=Math.sin(u+Q)*c,t.arc(i-s,o-l,d,u-H,u-Y),t.arc(i+l,o-s,d,u-Y,u),t.arc(i+s,o+l,d,u,u+Y),t.arc(i-l,o+s,d,u+Y,u+H),t.closePath();break;case"rect":if(!n){c=Math.SQRT1_2*r,t.rect(i-c,o-c,2*c,2*c);break}u+=Q;case"rectRot":s=Math.cos(u)*r,l=Math.sin(u)*r,t.moveTo(i-s,o-l),t.lineTo(i+l,o-s),t.lineTo(i+s,o+l),t.lineTo(i-l,o+s),t.closePath();break;case"crossRot":u+=Q;case"cross":s=Math.cos(u)*r,l=Math.sin(u)*r,t.moveTo(i-s,o-l),t.lineTo(i+s,o+l),t.moveTo(i+l,o-s),t.lineTo(i-l,o+s);break;case"star":s=Math.cos(u)*r,l=Math.sin(u)*r,t.moveTo(i-s,o-l),t.lineTo(i+s,o+l),t.moveTo(i+l,o-s),t.lineTo(i-l,o+s),u+=Q,s=Math.cos(u)*r,l=Math.sin(u)*r,t.moveTo(i-s,o-l),t.lineTo(i+s,o+l),t.moveTo(i+l,o-s),t.lineTo(i-l,o+s);break;case"line":s=Math.cos(u)*r,l=Math.sin(u)*r,t.moveTo(i-s,o-l),t.lineTo(i+s,o+l);break;case"dash":t.moveTo(i,o),t.lineTo(i+Math.cos(u)*r,o+Math.sin(u)*r);break}t.fill(),t.stroke()}},_isPointInArea:function(t,e){var r=1e-6;return t.x>e.left-r&&t.x<e.right+r&&t.y>e.top-r&&t.y<e.bottom+r},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,r,i){var o=r.steppedLine;if(o){if("middle"===o){var n=(e.x+r.x)/2;t.lineTo(n,i?r.y:e.y),t.lineTo(n,i?e.y:r.y)}else"after"===o&&!i||"after"!==o&&i?t.lineTo(e.x,r.y):t.lineTo(r.x,e.y);t.lineTo(r.x,r.y)}else r.tension?t.bezierCurveTo(i?e.controlPointPreviousX:e.controlPointNextX,i?e.controlPointPreviousY:e.controlPointNextY,i?r.controlPointNextX:r.controlPointPreviousX,i?r.controlPointNextY:r.controlPointPreviousY,r.x,r.y):t.lineTo(r.x,r.y)}},J=q;V.clear=q.clear,V.drawRoundedRectangle=function(t){t.beginPath(),q.roundedRect.apply(q,arguments)};var G={_set:function(t,e){return V.merge(this[t]||(this[t]={}),e)}};G._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 K=G,Z=V.valueOrDefault;function $(t){return!t||V.isNullOrUndef(t.size)||V.isNullOrUndef(t.family)?null:(t.style?t.style+" ":"")+(t.weight?t.weight+" ":"")+t.size+"px "+t.family}var tt={toLineHeight:function(t,e){var r=(""+t).match(/^(normal|(\d+(?:\.\d+)?)(px|em|%)?)$/);if(!r||"normal"===r[1])return 1.2*e;switch(t=+r[2],r[3]){case"px":return t;case"%":t/=100;break}return e*t},toPadding:function(t){var e,r,i,o;return V.isObject(t)?(e=+t.top||0,r=+t.right||0,i=+t.bottom||0,o=+t.left||0):e=r=i=o=+t||0,{top:e,right:r,bottom:i,left:o,height:e+i,width:o+r}},_parseFont:function(t){var e=K.global,r=Z(t.fontSize,e.defaultFontSize),i={family:Z(t.fontFamily,e.defaultFontFamily),lineHeight:V.options.toLineHeight(Z(t.lineHeight,e.defaultLineHeight),r),size:r,style:Z(t.fontStyle,e.defaultFontStyle),weight:null,string:""};return i.string=$(i),i},resolve:function(t,e,r,i){var o,n,a,s=!0;for(o=0,n=t.length;o<n;++o)if(a=t[o],void 0!==a&&(void 0!==e&&"function"===typeof a&&(a=a(e),s=!1),void 0!==r&&V.isArray(a)&&(a=a[r],s=!1),void 0!==a))return i&&!s&&(i.cacheable=!1),a}},et={_factorize:function(t){var e,r=[],i=Math.sqrt(t);for(e=1;e<i;e++)t%e===0&&(r.push(e),r.push(t/e));return i===(0|i)&&r.push(i),r.sort((function(t,e){return t-e})).pop(),r},log10:Math.log10||function(t){var e=Math.log(t)*Math.LOG10E,r=Math.round(e),i=t===Math.pow(10,r);return i?r:e}},rt=et;V.log10=et.log10;var it=function(t,e){return{x:function(r){return t+t+e-r},setWidth:function(t){e=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}}},ot=function(){return{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}}},nt=function(t,e,r){return t?it(e,r):ot()},at=function(t,e){var r,i;"ltr"!==e&&"rtl"!==e||(r=t.canvas.style,i=[r.getPropertyValue("direction"),r.getPropertyPriority("direction")],r.setProperty("direction",e,"important"),t.prevTextDirection=i)},st=function(t){var e=t.prevTextDirection;void 0!==e&&(delete t.prevTextDirection,t.canvas.style.setProperty("direction",e[0],e[1]))},lt={getRtlAdapter:nt,overrideTextDirection:at,restoreTextDirection:st},ct=V,dt=z,ut=J,ht=tt,gt=rt,pt=lt;function ft(t,e,r,i){var o,n,a,s,l,c,d,u,h,g=Object.keys(r);for(o=0,n=g.length;o<n;++o)if(a=g[o],c=r[a],e.hasOwnProperty(a)||(e[a]=c),s=e[a],s!==c&&"_"!==a[0]){if(t.hasOwnProperty(a)||(t[a]=s),l=t[a],d=typeof c,d===typeof l)if("string"===d){if(u=F(l),u.valid&&(h=F(c),h.valid)){e[a]=h.mix(u,i).rgbString();continue}}else if(ct.isFinite(l)&&ct.isFinite(c)){e[a]=l+(c-l)*i;continue}e[a]=c}}ct.easing=dt,ct.canvas=ut,ct.options=ht,ct.math=gt,ct.rtl=pt;var mt=function(t){ct.extend(this,t),this.initialize.apply(this,arguments)};ct.extend(mt.prototype,{_type:void 0,initialize:function(){this.hidden=!1},pivot:function(){var t=this;return t._view||(t._view=ct.extend({},t._model)),t._start={},t},transition:function(t){var e=this,r=e._model,i=e._start,o=e._view;return r&&1!==t?(o||(o=e._view={}),i||(i=e._start={}),ft(i,o,r,t),e):(e._view=ct.extend({},r),e._start=null,e)},tooltipPosition:function(){return{x:this._model.x,y:this._model.y}},hasValue:function(){return ct.isNumber(this._model.x)&&ct.isNumber(this._model.y)}}),mt.extend=ct.inherits;var vt=mt,bt=vt.extend({chart:null,currentStep:0,numSteps:60,easing:"",render:null,onAnimationProgress:null,onAnimationComplete:null}),yt=bt;Object.defineProperty(bt.prototype,"animationObject",{get:function(){return this}}),Object.defineProperty(bt.prototype,"chartInstance",{get:function(){return this.chart},set:function(t){this.chart=t}}),K._set("global",{animation:{duration:1e3,easing:"easeOutQuart",onProgress:ct.noop,onComplete:ct.noop}});var xt={animations:[],request:null,addAnimation:function(t,e,r,i){var o,n,a=this.animations;for(e.chart=t,e.startTime=Date.now(),e.duration=r,i||(t.animating=!0),o=0,n=a.length;o<n;++o)if(a[o].chart===t)return void(a[o]=e);a.push(e),1===a.length&&this.requestAnimationFrame()},cancelAnimation:function(t){var e=ct.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=ct.requestAnimFrame.call(window,(function(){t.request=null,t.startDigest()})))},startDigest:function(){var t=this;t.advance(),t.animations.length>0&&t.requestAnimationFrame()},advance:function(){var t,e,r,i,o=this.animations,n=0;while(n<o.length)t=o[n],e=t.chart,r=t.numSteps,i=Math.floor((Date.now()-t.startTime)/t.duration*r)+1,t.currentStep=Math.min(i,r),ct.callback(t.render,[e,t],e),ct.callback(t.onAnimationProgress,[t],e),t.currentStep>=r?(ct.callback(t.onAnimationComplete,[t],e),e.animating=!1,o.splice(n,1)):++n}},wt=ct.options.resolve,_t=["push","pop","shift","splice","unshift"];function Ct(t,e){t._chartjs?t._chartjs.listeners.push(e):(Object.defineProperty(t,"_chartjs",{configurable:!0,enumerable:!1,value:{listeners:[e]}}),_t.forEach((function(e){var r="onData"+e.charAt(0).toUpperCase()+e.slice(1),i=t[e];Object.defineProperty(t,e,{configurable:!0,enumerable:!1,value:function(){var e=Array.prototype.slice.call(arguments),o=i.apply(this,e);return ct.each(t._chartjs.listeners,(function(t){"function"===typeof t[r]&&t[r].apply(t,e)})),o}})})))}function At(t,e){var r=t._chartjs;if(r){var i=r.listeners,o=i.indexOf(e);-1!==o&&i.splice(o,1),i.length>0||(_t.forEach((function(e){delete t[e]})),delete t._chartjs)}}var kt=function(t,e){this.initialize(t,e)};ct.extend(kt.prototype,{datasetElementType:null,dataElementType:null,_datasetElementOptions:["backgroundColor","borderCapStyle","borderColor","borderDash","borderDashOffset","borderJoinStyle","borderWidth"],_dataElementOptions:["backgroundColor","borderColor","borderWidth","pointStyle"],initialize:function(t,e){var r=this;r.chart=t,r.index=e,r.linkScales(),r.addElements(),r._type=r.getMeta().type},updateIndex:function(t){this.index=t},linkScales:function(){var t=this,e=t.getMeta(),r=t.chart,i=r.scales,o=t.getDataset(),n=r.options.scales;null!==e.xAxisID&&e.xAxisID in i&&!o.xAxisID||(e.xAxisID=o.xAxisID||n.xAxes[0].id),null!==e.yAxisID&&e.yAxisID in i&&!o.yAxisID||(e.yAxisID=o.yAxisID||n.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&&At(this._data,this)},createMetaDataset:function(){var t=this,e=t.datasetElementType;return e&&new e({_chart:t.chart,_datasetIndex:t.index})},createMetaData:function(t){var e=this,r=e.dataElementType;return r&&new r({_chart:e.chart,_datasetIndex:e.index,_index:t})},addElements:function(){var t,e,r=this,i=r.getMeta(),o=r.getDataset().data||[],n=i.data;for(t=0,e=o.length;t<e;++t)n[t]=n[t]||r.createMetaData(t);i.dataset=i.dataset||r.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=this,e=t.getDataset(),r=e.data||(e.data=[]);t._data!==r&&(t._data&&At(t._data,t),r&&Object.isExtensible(r)&&Ct(r,t),t._data=r),t.resyncElements()},_configure:function(){var t=this;t._config=ct.merge({},[t.chart.options.datasets[t._type],t.getDataset()],{merger:function(t,e,r){"_meta"!==t&&"data"!==t&&ct._merger(t,e,r)}})},_update:function(t){var e=this;e._configure(),e._cachedDataOpts=null,e.update(t)},update:ct.noop,transition:function(t){for(var e=this.getMeta(),r=e.data||[],i=r.length,o=0;o<i;++o)r[o].transition(t);e.dataset&&e.dataset.transition(t)},draw:function(){var t=this.getMeta(),e=t.data||[],r=e.length,i=0;for(t.dataset&&t.dataset.draw();i<r;++i)e[i].draw()},getStyle:function(t){var e,r=this,i=r.getMeta(),o=i.dataset;return r._configure(),o&&void 0===t?e=r._resolveDatasetElementOptions(o||{}):(t=t||0,e=r._resolveDataElementOptions(i.data[t]||{},t)),!1!==e.fill&&null!==e.fill||(e.backgroundColor=e.borderColor),e},_resolveDatasetElementOptions:function(t,e){var r,i,o,n,a=this,s=a.chart,l=a._config,c=t.custom||{},d=s.options.elements[a.datasetElementType.prototype._type]||{},u=a._datasetElementOptions,h={},g={chart:s,dataset:a.getDataset(),datasetIndex:a.index,hover:e};for(r=0,i=u.length;r<i;++r)o=u[r],n=e?"hover"+o.charAt(0).toUpperCase()+o.slice(1):o,h[o]=wt([c[n],l[n],d[n]],g);return h},_resolveDataElementOptions:function(t,e){var r=this,i=t&&t.custom,o=r._cachedDataOpts;if(o&&!i)return o;var n,a,s,l,c=r.chart,d=r._config,u=c.options.elements[r.dataElementType.prototype._type]||{},h=r._dataElementOptions,g={},p={chart:c,dataIndex:e,dataset:r.getDataset(),datasetIndex:r.index},f={cacheable:!i};if(i=i||{},ct.isArray(h))for(a=0,s=h.length;a<s;++a)l=h[a],g[l]=wt([i[l],d[l],u[l]],p,e,f);else for(n=Object.keys(h),a=0,s=n.length;a<s;++a)l=n[a],g[l]=wt([i[l],d[h[l]],d[l],u[l]],p,e,f);return f.cacheable&&(r._cachedDataOpts=Object.freeze(g)),g},removeHoverStyle:function(t){ct.merge(t._model,t.$previousStyle||{}),delete t.$previousStyle},setHoverStyle:function(t){var e=this.chart.data.datasets[t._datasetIndex],r=t._index,i=t.custom||{},o=t._model,n=ct.getHoverColor;t.$previousStyle={backgroundColor:o.backgroundColor,borderColor:o.borderColor,borderWidth:o.borderWidth},o.backgroundColor=wt([i.hoverBackgroundColor,e.hoverBackgroundColor,n(o.backgroundColor)],void 0,r),o.borderColor=wt([i.hoverBorderColor,e.hoverBorderColor,n(o.borderColor)],void 0,r),o.borderWidth=wt([i.hoverBorderWidth,e.hoverBorderWidth,o.borderWidth],void 0,r)},_removeDatasetHoverStyle:function(){var t=this.getMeta().dataset;t&&this.removeHoverStyle(t)},_setDatasetHoverStyle:function(){var t,e,r,i,o,n,a=this.getMeta().dataset,s={};if(a){for(n=a._model,o=this._resolveDatasetElementOptions(a,!0),i=Object.keys(o),t=0,e=i.length;t<e;++t)r=i[t],s[r]=n[r],n[r]=o[r];a.$previousStyle=s}},resyncElements:function(){var t=this,e=t.getMeta(),r=t.getDataset().data,i=e.data.length,o=r.length;o<i?e.data.splice(o,i-o):o>i&&t.insertElements(i,o-i)},insertElements:function(t,e){for(var r=0;r<e;++r)this.addElementAndReset(t+r)},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)}}),kt.extend=ct.inherits;var Ot=kt,Mt=2*Math.PI;function Pt(t,e){var r=e.startAngle,i=e.endAngle,o=e.pixelMargin,n=o/e.outerRadius,a=e.x,s=e.y;t.beginPath(),t.arc(a,s,e.outerRadius,r-n,i+n),e.innerRadius>o?(n=o/e.innerRadius,t.arc(a,s,e.innerRadius-o,i+n,r-n,!0)):t.arc(a,s,o,i+Math.PI/2,r-Math.PI/2),t.closePath(),t.clip()}function St(t,e,r,i){var o,n=r.endAngle;for(i&&(r.endAngle=r.startAngle+Mt,Pt(t,r),r.endAngle=n,r.endAngle===r.startAngle&&r.fullCircles&&(r.endAngle+=Mt,r.fullCircles--)),t.beginPath(),t.arc(r.x,r.y,r.innerRadius,r.startAngle+Mt,r.startAngle,!0),o=0;o<r.fullCircles;++o)t.stroke();for(t.beginPath(),t.arc(r.x,r.y,e.outerRadius,r.startAngle,r.startAngle+Mt),o=0;o<r.fullCircles;++o)t.stroke()}function Rt(t,e,r){var i="inner"===e.borderAlign;i?(t.lineWidth=2*e.borderWidth,t.lineJoin="round"):(t.lineWidth=e.borderWidth,t.lineJoin="bevel"),r.fullCircles&&St(t,e,r,i),i&&Pt(t,r),t.beginPath(),t.arc(r.x,r.y,e.outerRadius,r.startAngle,r.endAngle),t.arc(r.x,r.y,r.innerRadius,r.endAngle,r.startAngle,!0),t.closePath(),t.stroke()}K._set("global",{elements:{arc:{backgroundColor:K.global.defaultColor,borderColor:"#fff",borderWidth:2,borderAlign:"center"}}});var Tt=vt.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 r=this._view;if(r){var i=ct.getAngleFromPoint(r,{x:t,y:e}),o=i.angle,n=i.distance,a=r.startAngle,s=r.endAngle;while(s<a)s+=Mt;while(o>s)o-=Mt;while(o<a)o+=Mt;var l=o>=a&&o<=s,c=n>=r.innerRadius&&n<=r.outerRadius;return l&&c}return!1},getCenterPoint:function(){var t=this._view,e=(t.startAngle+t.endAngle)/2,r=(t.innerRadius+t.outerRadius)/2;return{x:t.x+Math.cos(e)*r,y:t.y+Math.sin(e)*r}},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,r=(t.outerRadius-t.innerRadius)/2+t.innerRadius;return{x:t.x+Math.cos(e)*r,y:t.y+Math.sin(e)*r}},draw:function(){var t,e=this._chart.ctx,r=this._view,i="inner"===r.borderAlign?.33:0,o={x:r.x,y:r.y,innerRadius:r.innerRadius,outerRadius:Math.max(r.outerRadius-i,0),pixelMargin:i,startAngle:r.startAngle,endAngle:r.endAngle,fullCircles:Math.floor(r.circumference/Mt)};if(e.save(),e.fillStyle=r.backgroundColor,e.strokeStyle=r.borderColor,o.fullCircles){for(o.endAngle=o.startAngle+Mt,e.beginPath(),e.arc(o.x,o.y,o.outerRadius,o.startAngle,o.endAngle),e.arc(o.x,o.y,o.innerRadius,o.endAngle,o.startAngle,!0),e.closePath(),t=0;t<o.fullCircles;++t)e.fill();o.endAngle=o.startAngle+r.circumference%Mt}e.beginPath(),e.arc(o.x,o.y,o.outerRadius,o.startAngle,o.endAngle),e.arc(o.x,o.y,o.innerRadius,o.endAngle,o.startAngle,!0),e.closePath(),e.fill(),r.borderWidth&&Rt(e,r,o),e.restore()}}),Dt=ct.valueOrDefault,jt=K.global.defaultColor;K._set("global",{elements:{line:{tension:.4,backgroundColor:jt,borderWidth:3,borderColor:jt,borderCapStyle:"butt",borderDash:[],borderDashOffset:0,borderJoinStyle:"miter",capBezierPoints:!0,fill:!0}}});var It=vt.extend({_type:"line",draw:function(){var t,e,r,i=this,o=i._view,n=i._chart.ctx,a=o.spanGaps,s=i._children.slice(),l=K.global,c=l.elements.line,d=-1,u=i._loop;if(s.length){if(i._loop){for(t=0;t<s.length;++t)if(e=ct.previousItem(s,t),!s[t]._view.skip&&e._view.skip){s=s.slice(t).concat(s.slice(0,t)),u=a;break}u&&s.push(s[0])}for(n.save(),n.lineCap=o.borderCapStyle||c.borderCapStyle,n.setLineDash&&n.setLineDash(o.borderDash||c.borderDash),n.lineDashOffset=Dt(o.borderDashOffset,c.borderDashOffset),n.lineJoin=o.borderJoinStyle||c.borderJoinStyle,n.lineWidth=Dt(o.borderWidth,c.borderWidth),n.strokeStyle=o.borderColor||l.defaultColor,n.beginPath(),r=s[0]._view,r.skip||(n.moveTo(r.x,r.y),d=0),t=1;t<s.length;++t)r=s[t]._view,e=-1===d?ct.previousItem(s,t):s[d],r.skip||(d!==t-1&&!a||-1===d?n.moveTo(r.x,r.y):ct.canvas.lineTo(n,e._view,r),d=t);u&&n.closePath(),n.stroke(),n.restore()}}}),Bt=ct.valueOrDefault,Lt=K.global.defaultColor;function Ft(t){var e=this._view;return!!e&&Math.abs(t-e.x)<e.radius+e.hitRadius}function Et(t){var e=this._view;return!!e&&Math.abs(t-e.y)<e.radius+e.hitRadius}K._set("global",{elements:{point:{radius:3,pointStyle:"circle",backgroundColor:Lt,borderColor:Lt,borderWidth:1,hitRadius:1,hoverRadius:4,hoverBorderWidth:1}}});var Vt=vt.extend({_type:"point",inRange:function(t,e){var r=this._view;return!!r&&Math.pow(t-r.x,2)+Math.pow(e-r.y,2)<Math.pow(r.hitRadius+r.radius,2)},inLabelRange:Ft,inXRange:Ft,inYRange:Et,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,r=this._chart.ctx,i=e.pointStyle,o=e.rotation,n=e.radius,a=e.x,s=e.y,l=K.global,c=l.defaultColor;e.skip||(void 0===t||ct.canvas._isPointInArea(e,t))&&(r.strokeStyle=e.borderColor||c,r.lineWidth=Bt(e.borderWidth,l.elements.point.borderWidth),r.fillStyle=e.backgroundColor||c,ct.canvas.drawPoint(r,i,n,a,s,o))}}),Nt=K.global.defaultColor;function zt(t){return t&&void 0!==t.width}function Ht(t){var e,r,i,o,n;return zt(t)?(n=t.width/2,e=t.x-n,r=t.x+n,i=Math.min(t.y,t.base),o=Math.max(t.y,t.base)):(n=t.height/2,e=Math.min(t.x,t.base),r=Math.max(t.x,t.base),i=t.y-n,o=t.y+n),{left:e,top:i,right:r,bottom:o}}function Wt(t,e,r){return t===e?r:t===r?e:t}function Ut(t){var e=t.borderSkipped,r={};return e?(t.horizontal?t.base>t.x&&(e=Wt(e,"left","right")):t.base<t.y&&(e=Wt(e,"bottom","top")),r[e]=!0,r):r}function Yt(t,e,r){var i,o,n,a,s=t.borderWidth,l=Ut(t);return ct.isObject(s)?(i=+s.top||0,o=+s.right||0,n=+s.bottom||0,a=+s.left||0):i=o=n=a=+s||0,{t:l.top||i<0?0:i>r?r:i,r:l.right||o<0?0:o>e?e:o,b:l.bottom||n<0?0:n>r?r:n,l:l.left||a<0?0:a>e?e:a}}function Qt(t){var e=Ht(t),r=e.right-e.left,i=e.bottom-e.top,o=Yt(t,r/2,i/2);return{outer:{x:e.left,y:e.top,w:r,h:i},inner:{x:e.left+o.l,y:e.top+o.t,w:r-o.l-o.r,h:i-o.t-o.b}}}function Xt(t,e,r){var i=null===e,o=null===r,n=!(!t||i&&o)&&Ht(t);return n&&(i||e>=n.left&&e<=n.right)&&(o||r>=n.top&&r<=n.bottom)}K._set("global",{elements:{rectangle:{backgroundColor:Nt,borderColor:Nt,borderSkipped:"bottom",borderWidth:0}}});var qt=vt.extend({_type:"rectangle",draw:function(){var t=this._chart.ctx,e=this._view,r=Qt(e),i=r.outer,o=r.inner;t.fillStyle=e.backgroundColor,t.fillRect(i.x,i.y,i.w,i.h),i.w===o.w&&i.h===o.h||(t.save(),t.beginPath(),t.rect(i.x,i.y,i.w,i.h),t.clip(),t.fillStyle=e.borderColor,t.rect(o.x,o.y,o.w,o.h),t.fill("evenodd"),t.restore())},height:function(){var t=this._view;return t.base-t.y},inRange:function(t,e){return Xt(this._view,t,e)},inLabelRange:function(t,e){var r=this._view;return zt(r)?Xt(r,t,null):Xt(r,null,e)},inXRange:function(t){return Xt(this._view,t,null)},inYRange:function(t){return Xt(this._view,null,t)},getCenterPoint:function(){var t,e,r=this._view;return zt(r)?(t=r.x,e=(r.y+r.base)/2):(t=(r.x+r.base)/2,e=r.y),{x:t,y:e}},getArea:function(){var t=this._view;return zt(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}}}),Jt={},Gt=Tt,Kt=It,Zt=Vt,$t=qt;Jt.Arc=Gt,Jt.Line=Kt,Jt.Point=Zt,Jt.Rectangle=$t;var te=ct._deprecated,ee=ct.valueOrDefault;function re(t,e){var r,i,o,n,a=t._length;for(o=1,n=e.length;o<n;++o)a=Math.min(a,Math.abs(e[o]-e[o-1]));for(o=0,n=t.getTicks().length;o<n;++o)i=t.getPixelForTick(o),a=o>0?Math.min(a,Math.abs(i-r)):a,r=i;return a}function ie(t,e,r){var i,o,n=r.barThickness,a=e.stackCount,s=e.pixels[t],l=ct.isNullOrUndef(n)?re(e.scale,e.pixels):-1;return ct.isNullOrUndef(n)?(i=l*r.categoryPercentage,o=r.barPercentage):(i=n*a,o=1),{chunk:i/a,ratio:o,start:s-i/2}}function oe(t,e,r){var i,o,n=e.pixels,a=n[t],s=t>0?n[t-1]:null,l=t<n.length-1?n[t+1]:null,c=r.categoryPercentage;return null===s&&(s=a-(null===l?e.end-e.start:l-a)),null===l&&(l=a+a-s),i=a-(a-Math.min(s,l))/2*c,o=Math.abs(l-s)/2*c,{chunk:o/e.stackCount,ratio:r.barPercentage,start:i}}K._set("bar",{hover:{mode:"label"},scales:{xAxes:[{type:"category",offset:!0,gridLines:{offsetGridLines:!0}}],yAxes:[{type:"linear"}]}}),K._set("global",{datasets:{bar:{categoryPercentage:.8,barPercentage:.9}}});var ne=Ot.extend({dataElementType:Jt.Rectangle,_dataElementOptions:["backgroundColor","borderColor","borderSkipped","borderWidth","barPercentage","barThickness","categoryPercentage","maxBarThickness","minBarLength"],initialize:function(){var t,e,r=this;Ot.prototype.initialize.apply(r,arguments),t=r.getMeta(),t.stack=r.getDataset().stack,t.bar=!0,e=r._getIndexScale().options,te("bar chart",e.barPercentage,"scales.[x/y]Axes.barPercentage","dataset.barPercentage"),te("bar chart",e.barThickness,"scales.[x/y]Axes.barThickness","dataset.barThickness"),te("bar chart",e.categoryPercentage,"scales.[x/y]Axes.categoryPercentage","dataset.categoryPercentage"),te("bar chart",r._getValueScale().options.minBarLength,"scales.[x/y]Axes.minBarLength","dataset.minBarLength"),te("bar chart",e.maxBarThickness,"scales.[x/y]Axes.maxBarThickness","dataset.maxBarThickness")},update:function(t){var e,r,i=this,o=i.getMeta().data;for(i._ruler=i.getRuler(),e=0,r=o.length;e<r;++e)i.updateElement(o[e],e,t)},updateElement:function(t,e,r){var i=this,o=i.getMeta(),n=i.getDataset(),a=i._resolveDataElementOptions(t,e);t._xScale=i.getScaleForId(o.xAxisID),t._yScale=i.getScaleForId(o.yAxisID),t._datasetIndex=i.index,t._index=e,t._model={backgroundColor:a.backgroundColor,borderColor:a.borderColor,borderSkipped:a.borderSkipped,borderWidth:a.borderWidth,datasetLabel:n.label,label:i.chart.data.labels[e]},ct.isArray(n.data[e])&&(t._model.borderSkipped=null),i._updateElementGeometry(t,e,r,a),t.pivot()},_updateElementGeometry:function(t,e,r,i){var o=this,n=t._model,a=o._getValueScale(),s=a.getBasePixel(),l=a.isHorizontal(),c=o._ruler||o.getRuler(),d=o.calculateBarValuePixels(o.index,e,i),u=o.calculateBarIndexPixels(o.index,e,c,i);n.horizontal=l,n.base=r?s:d.base,n.x=l?r?s:d.head:u.center,n.y=l?u.center:r?s:d.head,n.height=l?u.size:void 0,n.width=l?void 0:u.size},_getStacks:function(t){var e,r,i=this,o=i._getIndexScale(),n=o._getMatchingVisibleMetas(i._type),a=o.options.stacked,s=n.length,l=[];for(e=0;e<s;++e)if(r=n[e],(!1===a||-1===l.indexOf(r.stack)||void 0===a&&void 0===r.stack)&&l.push(r.stack),r.index===t)break;return l},getStackCount:function(){return this._getStacks().length},getStackIndex:function(t,e){var r=this._getStacks(t),i=void 0!==e?r.indexOf(e):-1;return-1===i?r.length-1:i},getRuler:function(){var t,e,r=this,i=r._getIndexScale(),o=[];for(t=0,e=r.getMeta().data.length;t<e;++t)o.push(i.getPixelForValue(null,t,r.index));return{pixels:o,start:i._startPixel,end:i._endPixel,stackCount:r.getStackCount(),scale:i}},calculateBarValuePixels:function(t,e,r){var i,o,n,a,s,l,c,d=this,u=d.chart,h=d._getValueScale(),g=h.isHorizontal(),p=u.data.datasets,f=h._getMatchingVisibleMetas(d._type),m=h._parseValue(p[t].data[e]),v=r.minBarLength,b=h.options.stacked,y=d.getMeta().stack,x=void 0===m.start?0:m.max>=0&&m.min>=0?m.min:m.max,w=void 0===m.start?m.end:m.max>=0&&m.min>=0?m.max-m.min:m.min-m.max,_=f.length;if(b||void 0===b&&void 0!==y)for(i=0;i<_;++i){if(o=f[i],o.index===t)break;o.stack===y&&(c=h._parseValue(p[o.index].data[e]),n=void 0===c.start?c.end:c.min>=0&&c.max>=0?c.max:c.min,(m.min<0&&n<0||m.max>=0&&n>0)&&(x+=n))}return a=h.getPixelForValue(x),s=h.getPixelForValue(x+w),l=s-a,void 0!==v&&Math.abs(l)<v&&(l=v,s=w>=0&&!g||w<0&&g?a-v:a+v),{size:l,base:a,head:s,center:s+l/2}},calculateBarIndexPixels:function(t,e,r,i){var o=this,n="flex"===i.barThickness?oe(e,r,i):ie(e,r,i),a=o.getStackIndex(t,o.getMeta().stack),s=n.start+n.chunk*a+n.chunk/2,l=Math.min(ee(i.maxBarThickness,1/0),n.chunk*n.ratio);return{base:s-l/2,head:s+l/2,center:s,size:l}},draw:function(){var t=this,e=t.chart,r=t._getValueScale(),i=t.getMeta().data,o=t.getDataset(),n=i.length,a=0;for(ct.canvas.clipArea(e.ctx,e.chartArea);a<n;++a){var s=r._parseValue(o.data[a]);isNaN(s.min)||isNaN(s.max)||i[a].draw()}ct.canvas.unclipArea(e.ctx)},_resolveDataElementOptions:function(){var t=this,e=ct.extend({},Ot.prototype._resolveDataElementOptions.apply(t,arguments)),r=t._getIndexScale().options,i=t._getValueScale().options;return e.barPercentage=ee(r.barPercentage,e.barPercentage),e.barThickness=ee(r.barThickness,e.barThickness),e.categoryPercentage=ee(r.categoryPercentage,e.categoryPercentage),e.maxBarThickness=ee(r.maxBarThickness,e.maxBarThickness),e.minBarLength=ee(i.minBarLength,e.minBarLength),e}}),ae=ct.valueOrDefault,se=ct.options.resolve;K._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 r=e.datasets[t.datasetIndex].label||"",i=e.datasets[t.datasetIndex].data[t.index];return r+": ("+t.xLabel+", "+t.yLabel+", "+i.r+")"}}}});var le=Ot.extend({dataElementType:Jt.Point,_dataElementOptions:["backgroundColor","borderColor","borderWidth","hoverBackgroundColor","hoverBorderColor","hoverBorderWidth","hoverRadius","hitRadius","pointStyle","rotation"],update:function(t){var e=this,r=e.getMeta(),i=r.data;ct.each(i,(function(r,i){e.updateElement(r,i,t)}))},updateElement:function(t,e,r){var i=this,o=i.getMeta(),n=t.custom||{},a=i.getScaleForId(o.xAxisID),s=i.getScaleForId(o.yAxisID),l=i._resolveDataElementOptions(t,e),c=i.getDataset().data[e],d=i.index,u=r?a.getPixelForDecimal(.5):a.getPixelForValue("object"===typeof c?c:NaN,e,d),h=r?s.getBasePixel():s.getPixelForValue(c,e,d);t._xScale=a,t._yScale=s,t._options=l,t._datasetIndex=d,t._index=e,t._model={backgroundColor:l.backgroundColor,borderColor:l.borderColor,borderWidth:l.borderWidth,hitRadius:l.hitRadius,pointStyle:l.pointStyle,rotation:l.rotation,radius:r?0:l.radius,skip:n.skip||isNaN(u)||isNaN(h),x:u,y:h},t.pivot()},setHoverStyle:function(t){var e=t._model,r=t._options,i=ct.getHoverColor;t.$previousStyle={backgroundColor:e.backgroundColor,borderColor:e.borderColor,borderWidth:e.borderWidth,radius:e.radius},e.backgroundColor=ae(r.hoverBackgroundColor,i(r.backgroundColor)),e.borderColor=ae(r.hoverBorderColor,i(r.borderColor)),e.borderWidth=ae(r.hoverBorderWidth,r.borderWidth),e.radius=r.radius+r.hoverRadius},_resolveDataElementOptions:function(t,e){var r=this,i=r.chart,o=r.getDataset(),n=t.custom||{},a=o.data[e]||{},s=Ot.prototype._resolveDataElementOptions.apply(r,arguments),l={chart:i,dataIndex:e,dataset:o,datasetIndex:r.index};return r._cachedDataOpts===s&&(s=ct.extend({},s)),s.radius=se([n.radius,a.r,r._config.radius,i.options.elements.point.radius],l,e),s}}),ce=ct.valueOrDefault,de=Math.PI,ue=2*de,he=de/2;K._set("doughnut",{animation:{animateRotate:!0,animateScale:!1},hover:{mode:"single"},legendCallback:function(t){var e,r,i,o,n=document.createElement("ul"),a=t.data,s=a.datasets,l=a.labels;if(n.setAttribute("class",t.id+"-legend"),s.length)for(e=0,r=s[0].data.length;e<r;++e)i=n.appendChild(document.createElement("li")),o=i.appendChild(document.createElement("span")),o.style.backgroundColor=s[0].backgroundColor[e],l[e]&&i.appendChild(document.createTextNode(l[e]));return n.outerHTML},legend:{labels:{generateLabels:function(t){var e=t.data;return e.labels.length&&e.datasets.length?e.labels.map((function(r,i){var o=t.getDatasetMeta(0),n=o.controller.getStyle(i);return{text:r,fillStyle:n.backgroundColor,strokeStyle:n.borderColor,lineWidth:n.borderWidth,hidden:isNaN(e.datasets[0].data[i])||o.data[i].hidden,index:i}})):[]}},onClick:function(t,e){var r,i,o,n=e.index,a=this.chart;for(r=0,i=(a.data.datasets||[]).length;r<i;++r)o=a.getDatasetMeta(r),o.data[n]&&(o.data[n].hidden=!o.data[n].hidden);a.update()}},cutoutPercentage:50,rotation:-he,circumference:ue,tooltips:{callbacks:{title:function(){return""},label:function(t,e){var r=e.labels[t.index],i=": "+e.datasets[t.datasetIndex].data[t.index];return ct.isArray(r)?(r=r.slice(),r[0]+=i):r+=i,r}}}});var ge=Ot.extend({dataElementType:Jt.Arc,linkScales:ct.noop,_dataElementOptions:["backgroundColor","borderColor","borderWidth","borderAlign","hoverBackgroundColor","hoverBorderColor","hoverBorderWidth"],getRingIndex:function(t){for(var e=0,r=0;r<t;++r)this.chart.isDatasetVisible(r)&&++e;return e},update:function(t){var e,r,i,o,n=this,a=n.chart,s=a.chartArea,l=a.options,c=1,d=1,u=0,h=0,g=n.getMeta(),p=g.data,f=l.cutoutPercentage/100||0,m=l.circumference,v=n._getRingWeight(n.index);if(m<ue){var b=l.rotation%ue;b+=b>=de?-ue:b<-de?ue:0;var y=b+m,x=Math.cos(b),w=Math.sin(b),_=Math.cos(y),C=Math.sin(y),A=b<=0&&y>=0||y>=ue,k=b<=he&&y>=he||y>=ue+he,O=b===-de||y>=de,M=b<=-he&&y>=-he||y>=de+he,P=O?-1:Math.min(x,x*f,_,_*f),S=M?-1:Math.min(w,w*f,C,C*f),R=A?1:Math.max(x,x*f,_,_*f),T=k?1:Math.max(w,w*f,C,C*f);c=(R-P)/2,d=(T-S)/2,u=-(R+P)/2,h=-(T+S)/2}for(i=0,o=p.length;i<o;++i)p[i]._options=n._resolveDataElementOptions(p[i],i);for(a.borderWidth=n.getMaxBorderWidth(),e=(s.right-s.left-a.borderWidth)/c,r=(s.bottom-s.top-a.borderWidth)/d,a.outerRadius=Math.max(Math.min(e,r)/2,0),a.innerRadius=Math.max(a.outerRadius*f,0),a.radiusLength=(a.outerRadius-a.innerRadius)/(n._getVisibleDatasetWeightTotal()||1),a.offsetX=u*a.outerRadius,a.offsetY=h*a.outerRadius,g.total=n.calculateTotal(),n.outerRadius=a.outerRadius-a.radiusLength*n._getRingWeightOffset(n.index),n.innerRadius=Math.max(n.outerRadius-a.radiusLength*v,0),i=0,o=p.length;i<o;++i)n.updateElement(p[i],i,t)},updateElement:function(t,e,r){var i=this,o=i.chart,n=o.chartArea,a=o.options,s=a.animation,l=(n.left+n.right)/2,c=(n.top+n.bottom)/2,d=a.rotation,u=a.rotation,h=i.getDataset(),g=r&&s.animateRotate?0:t.hidden?0:i.calculateCircumference(h.data[e])*(a.circumference/ue),p=r&&s.animateScale?0:i.innerRadius,f=r&&s.animateScale?0:i.outerRadius,m=t._options||{};ct.extend(t,{_datasetIndex:i.index,_index:e,_model:{backgroundColor:m.backgroundColor,borderColor:m.borderColor,borderWidth:m.borderWidth,borderAlign:m.borderAlign,x:l+o.offsetX,y:c+o.offsetY,startAngle:d,endAngle:u,circumference:g,outerRadius:f,innerRadius:p,label:ct.valueAtIndexOrDefault(h.label,e,o.data.labels[e])}});var v=t._model;r&&s.animateRotate||(v.startAngle=0===e?a.rotation:i.getMeta().data[e-1]._model.endAngle,v.endAngle=v.startAngle+v.circumference),t.pivot()},calculateTotal:function(){var t,e=this.getDataset(),r=this.getMeta(),i=0;return ct.each(r.data,(function(r,o){t=e.data[o],isNaN(t)||r.hidden||(i+=Math.abs(t))})),i},calculateCircumference:function(t){var e=this.getMeta().total;return e>0&&!isNaN(t)?ue*(Math.abs(t)/e):0},getMaxBorderWidth:function(t){var e,r,i,o,n,a,s,l,c=this,d=0,u=c.chart;if(!t)for(e=0,r=u.data.datasets.length;e<r;++e)if(u.isDatasetVisible(e)){i=u.getDatasetMeta(e),t=i.data,e!==c.index&&(n=i.controller);break}if(!t)return 0;for(e=0,r=t.length;e<r;++e)o=t[e],n?(n._configure(),a=n._resolveDataElementOptions(o,e)):a=o._options,"inner"!==a.borderAlign&&(s=a.borderWidth,l=a.hoverBorderWidth,d=s>d?s:d,d=l>d?l:d);return d},setHoverStyle:function(t){var e=t._model,r=t._options,i=ct.getHoverColor;t.$previousStyle={backgroundColor:e.backgroundColor,borderColor:e.borderColor,borderWidth:e.borderWidth},e.backgroundColor=ce(r.hoverBackgroundColor,i(r.backgroundColor)),e.borderColor=ce(r.hoverBorderColor,i(r.borderColor)),e.borderWidth=ce(r.hoverBorderWidth,r.borderWidth)},_getRingWeightOffset:function(t){for(var e=0,r=0;r<t;++r)this.chart.isDatasetVisible(r)&&(e+=this._getRingWeight(r));return e},_getRingWeight:function(t){return Math.max(ce(this.chart.data.datasets[t].weight,1),0)},_getVisibleDatasetWeightTotal:function(){return this._getRingWeightOffset(this.chart.data.datasets.length)}});K._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"}}),K._set("global",{datasets:{horizontalBar:{categoryPercentage:.8,barPercentage:.9}}});var pe=ne.extend({_getValueScaleId:function(){return this.getMeta().xAxisID},_getIndexScaleId:function(){return this.getMeta().yAxisID}}),fe=ct.valueOrDefault,me=ct.options.resolve,ve=ct.canvas._isPointInArea;function be(t,e){var r=t&&t.options.ticks||{},i=r.reverse,o=void 0===r.min?e:0,n=void 0===r.max?e:0;return{start:i?n:o,end:i?o:n}}function ye(t,e,r){var i=r/2,o=be(t,i),n=be(e,i);return{top:n.end,right:o.end,bottom:n.start,left:o.start}}function xe(t){var e,r,i,o;return ct.isObject(t)?(e=t.top,r=t.right,i=t.bottom,o=t.left):e=r=i=o=t,{top:e,right:r,bottom:i,left:o}}K._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 we=Ot.extend({datasetElementType:Jt.Line,dataElementType:Jt.Point,_datasetElementOptions:["backgroundColor","borderCapStyle","borderColor","borderDash","borderDashOffset","borderJoinStyle","borderWidth","cubicInterpolationMode","fill"],_dataElementOptions:{backgroundColor:"pointBackgroundColor",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,r,i=this,o=i.getMeta(),n=o.dataset,a=o.data||[],s=i.chart.options,l=i._config,c=i._showLine=fe(l.showLine,s.showLines);for(i._xScale=i.getScaleForId(o.xAxisID),i._yScale=i.getScaleForId(o.yAxisID),c&&(void 0!==l.tension&&void 0===l.lineTension&&(l.lineTension=l.tension),n._scale=i._yScale,n._datasetIndex=i.index,n._children=a,n._model=i._resolveDatasetElementOptions(n),n.pivot()),e=0,r=a.length;e<r;++e)i.updateElement(a[e],e,t);for(c&&0!==n._model.tension&&i.updateBezierControlPoints(),e=0,r=a.length;e<r;++e)a[e].pivot()},updateElement:function(t,e,r){var i,o,n=this,a=n.getMeta(),s=t.custom||{},l=n.getDataset(),c=n.index,d=l.data[e],u=n._xScale,h=n._yScale,g=a.dataset._model,p=n._resolveDataElementOptions(t,e);i=u.getPixelForValue("object"===typeof d?d:NaN,e,c),o=r?h.getBasePixel():n.calculatePointY(d,e,c),t._xScale=u,t._yScale=h,t._options=p,t._datasetIndex=c,t._index=e,t._model={x:i,y:o,skip:s.skip||isNaN(i)||isNaN(o),radius:p.radius,pointStyle:p.pointStyle,rotation:p.rotation,backgroundColor:p.backgroundColor,borderColor:p.borderColor,borderWidth:p.borderWidth,tension:fe(s.tension,g?g.tension:0),steppedLine:!!g&&g.steppedLine,hitRadius:p.hitRadius}},_resolveDatasetElementOptions:function(t){var e=this,r=e._config,i=t.custom||{},o=e.chart.options,n=o.elements.line,a=Ot.prototype._resolveDatasetElementOptions.apply(e,arguments);return a.spanGaps=fe(r.spanGaps,o.spanGaps),a.tension=fe(r.lineTension,n.tension),a.steppedLine=me([i.steppedLine,r.steppedLine,n.stepped]),a.clip=xe(fe(r.clip,ye(e._xScale,e._yScale,a.borderWidth))),a},calculatePointY:function(t,e,r){var i,o,n,a,s,l,c,d=this,u=d.chart,h=d._yScale,g=0,p=0;if(h.options.stacked){for(s=+h.getRightValue(t),l=u._getSortedVisibleDatasetMetas(),c=l.length,i=0;i<c;++i){if(n=l[i],n.index===r)break;o=u.data.datasets[n.index],"line"===n.type&&n.yAxisID===h.id&&(a=+h.getRightValue(o.data[e]),a<0?p+=a||0:g+=a||0)}return s<0?h.getPixelForValue(p+s):h.getPixelForValue(g+s)}return h.getPixelForValue(t)},updateBezierControlPoints:function(){var t,e,r,i,o=this,n=o.chart,a=o.getMeta(),s=a.dataset._model,l=n.chartArea,c=a.data||[];function d(t,e,r){return Math.max(Math.min(t,r),e)}if(s.spanGaps&&(c=c.filter((function(t){return!t._model.skip}))),"monotone"===s.cubicInterpolationMode)ct.splineCurveMonotone(c);else for(t=0,e=c.length;t<e;++t)r=c[t]._model,i=ct.splineCurve(ct.previousItem(c,t)._model,r,ct.nextItem(c,t)._model,s.tension),r.controlPointPreviousX=i.previous.x,r.controlPointPreviousY=i.previous.y,r.controlPointNextX=i.next.x,r.controlPointNextY=i.next.y;if(n.options.elements.line.capBezierPoints)for(t=0,e=c.length;t<e;++t)r=c[t]._model,ve(r,l)&&(t>0&&ve(c[t-1]._model,l)&&(r.controlPointPreviousX=d(r.controlPointPreviousX,l.left,l.right),r.controlPointPreviousY=d(r.controlPointPreviousY,l.top,l.bottom)),t<c.length-1&&ve(c[t+1]._model,l)&&(r.controlPointNextX=d(r.controlPointNextX,l.left,l.right),r.controlPointNextY=d(r.controlPointNextY,l.top,l.bottom)))},draw:function(){var t,e=this,r=e.chart,i=e.getMeta(),o=i.data||[],n=r.chartArea,a=r.canvas,s=0,l=o.length;for(e._showLine&&(t=i.dataset._model.clip,ct.canvas.clipArea(r.ctx,{left:!1===t.left?0:n.left-t.left,right:!1===t.right?a.width:n.right+t.right,top:!1===t.top?0:n.top-t.top,bottom:!1===t.bottom?a.height:n.bottom+t.bottom}),i.dataset.draw(),ct.canvas.unclipArea(r.ctx));s<l;++s)o[s].draw(n)},setHoverStyle:function(t){var e=t._model,r=t._options,i=ct.getHoverColor;t.$previousStyle={backgroundColor:e.backgroundColor,borderColor:e.borderColor,borderWidth:e.borderWidth,radius:e.radius},e.backgroundColor=fe(r.hoverBackgroundColor,i(r.backgroundColor)),e.borderColor=fe(r.hoverBorderColor,i(r.borderColor)),e.borderWidth=fe(r.hoverBorderWidth,r.borderWidth),e.radius=fe(r.hoverRadius,r.radius)}}),_e=ct.options.resolve;K._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,r,i,o,n=document.createElement("ul"),a=t.data,s=a.datasets,l=a.labels;if(n.setAttribute("class",t.id+"-legend"),s.length)for(e=0,r=s[0].data.length;e<r;++e)i=n.appendChild(document.createElement("li")),o=i.appendChild(document.createElement("span")),o.style.backgroundColor=s[0].backgroundColor[e],l[e]&&i.appendChild(document.createTextNode(l[e]));return n.outerHTML},legend:{labels:{generateLabels:function(t){var e=t.data;return e.labels.length&&e.datasets.length?e.labels.map((function(r,i){var o=t.getDatasetMeta(0),n=o.controller.getStyle(i);return{text:r,fillStyle:n.backgroundColor,strokeStyle:n.borderColor,lineWidth:n.borderWidth,hidden:isNaN(e.datasets[0].data[i])||o.data[i].hidden,index:i}})):[]}},onClick:function(t,e){var r,i,o,n=e.index,a=this.chart;for(r=0,i=(a.data.datasets||[]).length;r<i;++r)o=a.getDatasetMeta(r),o.data[n].hidden=!o.data[n].hidden;a.update()}},tooltips:{callbacks:{title:function(){return""},label:function(t,e){return e.labels[t.index]+": "+t.yLabel}}}});var Ce=Ot.extend({dataElementType:Jt.Arc,linkScales:ct.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,r,i,o=this,n=o.getDataset(),a=o.getMeta(),s=o.chart.options.startAngle||0,l=o._starts=[],c=o._angles=[],d=a.data;for(o._updateRadius(),a.count=o.countVisibleElements(),e=0,r=n.data.length;e<r;e++)l[e]=s,i=o._computeAngle(e),c[e]=i,s+=i;for(e=0,r=d.length;e<r;++e)d[e]._options=o._resolveDataElementOptions(d[e],e),o.updateElement(d[e],e,t)},_updateRadius:function(){var t=this,e=t.chart,r=e.chartArea,i=e.options,o=Math.min(r.right-r.left,r.bottom-r.top);e.outerRadius=Math.max(o/2,0),e.innerRadius=Math.max(i.cutoutPercentage?e.outerRadius/100*i.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,r){var i=this,o=i.chart,n=i.getDataset(),a=o.options,s=a.animation,l=o.scale,c=o.data.labels,d=l.xCenter,u=l.yCenter,h=a.startAngle,g=t.hidden?0:l.getDistanceFromCenterForValue(n.data[e]),p=i._starts[e],f=p+(t.hidden?0:i._angles[e]),m=s.animateScale?0:l.getDistanceFromCenterForValue(n.data[e]),v=t._options||{};ct.extend(t,{_datasetIndex:i.index,_index:e,_scale:l,_model:{backgroundColor:v.backgroundColor,borderColor:v.borderColor,borderWidth:v.borderWidth,borderAlign:v.borderAlign,x:d,y:u,innerRadius:0,outerRadius:r?m:g,startAngle:r&&s.animateRotate?h:p,endAngle:r&&s.animateRotate?h:f,label:ct.valueAtIndexOrDefault(c,e,c[e])}}),t.pivot()},countVisibleElements:function(){var t=this.getDataset(),e=this.getMeta(),r=0;return ct.each(e.data,(function(e,i){isNaN(t.data[i])||e.hidden||r++})),r},setHoverStyle:function(t){var e=t._model,r=t._options,i=ct.getHoverColor,o=ct.valueOrDefault;t.$previousStyle={backgroundColor:e.backgroundColor,borderColor:e.borderColor,borderWidth:e.borderWidth},e.backgroundColor=o(r.hoverBackgroundColor,i(r.backgroundColor)),e.borderColor=o(r.hoverBorderColor,i(r.borderColor)),e.borderWidth=o(r.hoverBorderWidth,r.borderWidth)},_computeAngle:function(t){var e=this,r=this.getMeta().count,i=e.getDataset(),o=e.getMeta();if(isNaN(i.data[t])||o.data[t].hidden)return 0;var n={chart:e.chart,dataIndex:t,dataset:i,datasetIndex:e.index};return _e([e.chart.options.elements.arc.angle,2*Math.PI/r],n,t)}});K._set("pie",ct.clone(K.doughnut)),K._set("pie",{cutoutPercentage:0});var Ae=ge,ke=ct.valueOrDefault;K._set("radar",{spanGaps:!1,scale:{type:"radialLinear"},elements:{line:{fill:"start",tension:0}}});var Oe=Ot.extend({datasetElementType:Jt.Line,dataElementType:Jt.Point,linkScales:ct.noop,_datasetElementOptions:["backgroundColor","borderWidth","borderColor","borderCapStyle","borderDash","borderDashOffset","borderJoinStyle","fill"],_dataElementOptions:{backgroundColor:"pointBackgroundColor",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,r,i=this,o=i.getMeta(),n=o.dataset,a=o.data||[],s=i.chart.scale,l=i._config;for(void 0!==l.tension&&void 0===l.lineTension&&(l.lineTension=l.tension),n._scale=s,n._datasetIndex=i.index,n._children=a,n._loop=!0,n._model=i._resolveDatasetElementOptions(n),n.pivot(),e=0,r=a.length;e<r;++e)i.updateElement(a[e],e,t);for(i.updateBezierControlPoints(),e=0,r=a.length;e<r;++e)a[e].pivot()},updateElement:function(t,e,r){var i=this,o=t.custom||{},n=i.getDataset(),a=i.chart.scale,s=a.getPointPositionForValue(e,n.data[e]),l=i._resolveDataElementOptions(t,e),c=i.getMeta().dataset._model,d=r?a.xCenter:s.x,u=r?a.yCenter:s.y;t._scale=a,t._options=l,t._datasetIndex=i.index,t._index=e,t._model={x:d,y:u,skip:o.skip||isNaN(d)||isNaN(u),radius:l.radius,pointStyle:l.pointStyle,rotation:l.rotation,backgroundColor:l.backgroundColor,borderColor:l.borderColor,borderWidth:l.borderWidth,tension:ke(o.tension,c?c.tension:0),hitRadius:l.hitRadius}},_resolveDatasetElementOptions:function(){var t=this,e=t._config,r=t.chart.options,i=Ot.prototype._resolveDatasetElementOptions.apply(t,arguments);return i.spanGaps=ke(e.spanGaps,r.spanGaps),i.tension=ke(e.lineTension,r.elements.line.tension),i},updateBezierControlPoints:function(){var t,e,r,i,o=this,n=o.getMeta(),a=o.chart.chartArea,s=n.data||[];function l(t,e,r){return Math.max(Math.min(t,r),e)}for(n.dataset._model.spanGaps&&(s=s.filter((function(t){return!t._model.skip}))),t=0,e=s.length;t<e;++t)r=s[t]._model,i=ct.splineCurve(ct.previousItem(s,t,!0)._model,r,ct.nextItem(s,t,!0)._model,r.tension),r.controlPointPreviousX=l(i.previous.x,a.left,a.right),r.controlPointPreviousY=l(i.previous.y,a.top,a.bottom),r.controlPointNextX=l(i.next.x,a.left,a.right),r.controlPointNextY=l(i.next.y,a.top,a.bottom)},setHoverStyle:function(t){var e=t._model,r=t._options,i=ct.getHoverColor;t.$previousStyle={backgroundColor:e.backgroundColor,borderColor:e.borderColor,borderWidth:e.borderWidth,radius:e.radius},e.backgroundColor=ke(r.hoverBackgroundColor,i(r.backgroundColor)),e.borderColor=ke(r.hoverBorderColor,i(r.borderColor)),e.borderWidth=ke(r.hoverBorderWidth,r.borderWidth),e.radius=ke(r.hoverRadius,r.radius)}});K._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+")"}}}}),K._set("global",{datasets:{scatter:{showLine:!1}}});var Me=we,Pe={bar:ne,bubble:le,doughnut:ge,horizontalBar:pe,line:we,polarArea:Ce,pie:Ae,radar:Oe,scatter:Me};function Se(t,e){return t.native?{x:t.x,y:t.y}:ct.getRelativePosition(t,e)}function Re(t,e){var r,i,o,n,a,s,l=t._getSortedVisibleDatasetMetas();for(i=0,n=l.length;i<n;++i)for(r=l[i].data,o=0,a=r.length;o<a;++o)s=r[o],s._view.skip||e(s)}function Te(t,e){var r=[];return Re(t,(function(t){t.inRange(e.x,e.y)&&r.push(t)})),r}function De(t,e,r,i){var o=Number.POSITIVE_INFINITY,n=[];return Re(t,(function(t){if(!r||t.inRange(e.x,e.y)){var a=t.getCenterPoint(),s=i(e,a);s<o?(n=[t],o=s):s===o&&n.push(t)}})),n}function je(t){var e=-1!==t.indexOf("x"),r=-1!==t.indexOf("y");return function(t,i){var o=e?Math.abs(t.x-i.x):0,n=r?Math.abs(t.y-i.y):0;return Math.sqrt(Math.pow(o,2)+Math.pow(n,2))}}function Ie(t,e,r){var i=Se(e,t);r.axis=r.axis||"x";var o=je(r.axis),n=r.intersect?Te(t,i):De(t,i,!1,o),a=[];return n.length?(t._getSortedVisibleDatasetMetas().forEach((function(t){var e=t.data[n[0]._index];e&&!e._view.skip&&a.push(e)})),a):[]}var Be={modes:{single:function(t,e){var r=Se(e,t),i=[];return Re(t,(function(t){if(t.inRange(r.x,r.y))return i.push(t),i})),i.slice(0,1)},label:Ie,index:Ie,dataset:function(t,e,r){var i=Se(e,t);r.axis=r.axis||"xy";var o=je(r.axis),n=r.intersect?Te(t,i):De(t,i,!1,o);return n.length>0&&(n=t.getDatasetMeta(n[0]._datasetIndex).data),n},"x-axis":function(t,e){return Ie(t,e,{intersect:!1})},point:function(t,e){var r=Se(e,t);return Te(t,r)},nearest:function(t,e,r){var i=Se(e,t);r.axis=r.axis||"xy";var o=je(r.axis);return De(t,i,r.intersect,o)},x:function(t,e,r){var i=Se(e,t),o=[],n=!1;return Re(t,(function(t){t.inXRange(i.x)&&o.push(t),t.inRange(i.x,i.y)&&(n=!0)})),r.intersect&&!n&&(o=[]),o},y:function(t,e,r){var i=Se(e,t),o=[],n=!1;return Re(t,(function(t){t.inYRange(i.y)&&o.push(t),t.inRange(i.x,i.y)&&(n=!0)})),r.intersect&&!n&&(o=[]),o}}},Le=ct.extend;function Fe(t,e){return ct.where(t,(function(t){return t.pos===e}))}function Ee(t,e){return t.sort((function(t,r){var i=e?r:t,o=e?t:r;return i.weight===o.weight?i.index-o.index:i.weight-o.weight}))}function Ve(t){var e,r,i,o=[];for(e=0,r=(t||[]).length;e<r;++e)i=t[e],o.push({index:e,box:i,pos:i.position,horizontal:i.isHorizontal(),weight:i.weight});return o}function Ne(t,e){var r,i,o;for(r=0,i=t.length;r<i;++r)o=t[r],o.width=o.horizontal?o.box.fullWidth&&e.availableWidth:e.vBoxMaxWidth,o.height=o.horizontal&&e.hBoxMaxHeight}function ze(t){var e=Ve(t),r=Ee(Fe(e,"left"),!0),i=Ee(Fe(e,"right")),o=Ee(Fe(e,"top"),!0),n=Ee(Fe(e,"bottom"));return{leftAndTop:r.concat(o),rightAndBottom:i.concat(n),chartArea:Fe(e,"chartArea"),vertical:r.concat(i),horizontal:o.concat(n)}}function He(t,e,r,i){return Math.max(t[r],e[r])+Math.max(t[i],e[i])}function We(t,e,r){var i,o,n=r.box,a=t.maxPadding;if(r.size&&(t[r.pos]-=r.size),r.size=r.horizontal?n.height:n.width,t[r.pos]+=r.size,n.getPadding){var s=n.getPadding();a.top=Math.max(a.top,s.top),a.left=Math.max(a.left,s.left),a.bottom=Math.max(a.bottom,s.bottom),a.right=Math.max(a.right,s.right)}if(i=e.outerWidth-He(a,t,"left","right"),o=e.outerHeight-He(a,t,"top","bottom"),i!==t.w||o!==t.h)return t.w=i,t.h=o,r.horizontal?i!==t.w:o!==t.h}function Ue(t){var e=t.maxPadding;function r(r){var i=Math.max(e[r]-t[r],0);return t[r]+=i,i}t.y+=r("top"),t.x+=r("left"),r("right"),r("bottom")}function Ye(t,e){var r=e.maxPadding;function i(t){var i={left:0,top:0,right:0,bottom:0};return t.forEach((function(t){i[t]=Math.max(e[t],r[t])})),i}return i(t?["left","right"]:["top","bottom"])}function Qe(t,e,r){var i,o,n,a,s,l,c=[];for(i=0,o=t.length;i<o;++i)n=t[i],a=n.box,a.update(n.width||e.w,n.height||e.h,Ye(n.horizontal,e)),We(e,r,n)&&(l=!0,c.length&&(s=!0)),a.fullWidth||c.push(n);return s&&Qe(c,e,r)||l}function Xe(t,e,r){var i,o,n,a,s=r.padding,l=e.x,c=e.y;for(i=0,o=t.length;i<o;++i)n=t[i],a=n.box,n.horizontal?(a.left=a.fullWidth?s.left:e.left,a.right=a.fullWidth?r.outerWidth-s.right:e.left+e.w,a.top=c,a.bottom=c+a.height,a.width=a.right-a.left,c=a.bottom):(a.left=l,a.right=l+a.width,a.top=e.top,a.bottom=e.top+e.h,a.height=a.bottom-a.top,l=a.right);e.x=l,e.y=c}K._set("global",{layout:{padding:{top:0,right:0,bottom:0,left:0}}});var qe={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 r=t.boxes?t.boxes.indexOf(e):-1;-1!==r&&t.boxes.splice(r,1)},configure:function(t,e,r){for(var i,o=["fullWidth","position","weight"],n=o.length,a=0;a<n;++a)i=o[a],r.hasOwnProperty(i)&&(e[i]=r[i])},update:function(t,e,r){if(t){var i=t.options.layout||{},o=ct.options.toPadding(i.padding),n=e-o.width,a=r-o.height,s=ze(t.boxes),l=s.vertical,c=s.horizontal,d=Object.freeze({outerWidth:e,outerHeight:r,padding:o,availableWidth:n,vBoxMaxWidth:n/2/l.length,hBoxMaxHeight:a/2}),u=Le({maxPadding:Le({},o),w:n,h:a,x:o.left,y:o.top},o);Ne(l.concat(c),d),Qe(l,u,d),Qe(c,u,d)&&Qe(l,u,d),Ue(u),Xe(s.leftAndTop,u,d),u.x+=u.w,u.y+=u.h,Xe(s.rightAndBottom,u,d),t.chartArea={left:u.left,top:u.top,right:u.left+u.w,bottom:u.top+u.h},ct.each(s.chartArea,(function(e){var r=e.box;Le(r,t.chartArea),r.update(u.w,u.h)}))}}},Je={acquireContext:function(t){return t&&t.canvas&&(t=t.canvas),t&&t.getContext("2d")||null}},Ge="/*\n * DOM element rendering detection\n * https://davidwalsh.name/detect-node-insertion\n */\n@keyframes chartjs-render-animation {\n\tfrom { opacity: 0.99; }\n\tto { opacity: 1; }\n}\n\n.chartjs-render-monitor {\n\tanimation: chartjs-render-animation 0.001s;\n}\n\n/*\n * DOM element resizing detection\n * https://github.com/marcj/css-element-queries\n */\n.chartjs-size-monitor,\n.chartjs-size-monitor-expand,\n.chartjs-size-monitor-shrink {\n\tposition: absolute;\n\tdirection: ltr;\n\tleft: 0;\n\ttop: 0;\n\tright: 0;\n\tbottom: 0;\n\toverflow: hidden;\n\tpointer-events: none;\n\tvisibility: hidden;\n\tz-index: -1;\n}\n\n.chartjs-size-monitor-expand > div {\n\tposition: absolute;\n\twidth: 1000000px;\n\theight: 1000000px;\n\tleft: 0;\n\ttop: 0;\n}\n\n.chartjs-size-monitor-shrink > div {\n\tposition: absolute;\n\twidth: 200%;\n\theight: 200%;\n\tleft: 0;\n\ttop: 0;\n}\n",Ke=Object.freeze({__proto__:null,default:Ge}),Ze=r(Ke),$e="$chartjs",tr="chartjs-",er=tr+"size-monitor",rr=tr+"render-monitor",ir=tr+"render-animation",or=["animationstart","webkitAnimationStart"],nr={touchstart:"mousedown",touchmove:"mousemove",touchend:"mouseup",pointerenter:"mouseenter",pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointerleave:"mouseout",pointerout:"mouseout"};function ar(t,e){var r=ct.getStyle(t,e),i=r&&r.match(/^(\d+)(\.\d+)?px$/);return i?Number(i[1]):void 0}function sr(t,e){var r=t.style,i=t.getAttribute("height"),o=t.getAttribute("width");if(t[$e]={initial:{height:i,width:o,style:{display:r.display,height:r.height,width:r.width}}},r.display=r.display||"block",null===o||""===o){var n=ar(t,"width");void 0!==n&&(t.width=n)}if(null===i||""===i)if(""===t.style.height)t.height=t.width/(e.options.aspectRatio||2);else{var a=ar(t,"height");void 0!==n&&(t.height=a)}return t}var lr=function(){var t=!1;try{var e=Object.defineProperty({},"passive",{get:function(){t=!0}});window.addEventListener("e",null,e)}catch(r){}return t}(),cr=!!lr&&{passive:!0};function dr(t,e,r){t.addEventListener(e,r,cr)}function ur(t,e,r){t.removeEventListener(e,r,cr)}function hr(t,e,r,i,o){return{type:t,chart:e,native:o||null,x:void 0!==r?r:null,y:void 0!==i?i:null}}function gr(t,e){var r=nr[t.type]||t.type,i=ct.getRelativePosition(t,e);return hr(r,e,i.x,i.y,t)}function pr(t,e){var r=!1,i=[];return function(){i=Array.prototype.slice.call(arguments),e=e||this,r||(r=!0,ct.requestAnimFrame.call(window,(function(){r=!1,t.apply(e,i)})))}}function fr(t){var e=document.createElement("div");return e.className=t||"",e}function mr(t){var e=1e6,r=fr(er),i=fr(er+"-expand"),o=fr(er+"-shrink");i.appendChild(fr()),o.appendChild(fr()),r.appendChild(i),r.appendChild(o),r._reset=function(){i.scrollLeft=e,i.scrollTop=e,o.scrollLeft=e,o.scrollTop=e};var n=function(){r._reset(),t()};return dr(i,"scroll",n.bind(i,"expand")),dr(o,"scroll",n.bind(o,"shrink")),r}function vr(t,e){var r=t[$e]||(t[$e]={}),i=r.renderProxy=function(t){t.animationName===ir&&e()};ct.each(or,(function(e){dr(t,e,i)})),r.reflow=!!t.offsetParent,t.classList.add(rr)}function br(t){var e=t[$e]||{},r=e.renderProxy;r&&(ct.each(or,(function(e){ur(t,e,r)})),delete e.renderProxy),t.classList.remove(rr)}function yr(t,e,r){var i=t[$e]||(t[$e]={}),o=i.resizer=mr(pr((function(){if(i.resizer){var o=r.options.maintainAspectRatio&&t.parentNode,n=o?o.clientWidth:0;e(hr("resize",r)),o&&o.clientWidth<n&&r.canvas&&e(hr("resize",r))}})));vr(t,(function(){if(i.resizer){var e=t.parentNode;e&&e!==o.parentNode&&e.insertBefore(o,e.firstChild),o._reset()}}))}function xr(t){var e=t[$e]||{},r=e.resizer;delete e.resizer,br(t),r&&r.parentNode&&r.parentNode.removeChild(r)}function wr(t,e){var r=t[$e]||(t[$e]={});if(!r.containsStyles){r.containsStyles=!0,e="/* Chart.js */\n"+e;var i=document.createElement("style");i.setAttribute("type","text/css"),i.appendChild(document.createTextNode(e)),t.appendChild(i)}}var _r={disableCSSInjection:!1,_enabled:"undefined"!==typeof window&&"undefined"!==typeof document,_ensureLoaded:function(t){if(!this.disableCSSInjection){var e=t.getRootNode?t.getRootNode():document,r=e.host?e:document.head;wr(r,Ze)}},acquireContext:function(t,e){"string"===typeof t?t=document.getElementById(t):t.length&&(t=t[0]),t&&t.canvas&&(t=t.canvas);var r=t&&t.getContext&&t.getContext("2d");return r&&r.canvas===t?(this._ensureLoaded(t),sr(t,e),r):null},releaseContext:function(t){var e=t.canvas;if(e[$e]){var r=e[$e].initial;["height","width"].forEach((function(t){var i=r[t];ct.isNullOrUndef(i)?e.removeAttribute(t):e.setAttribute(t,i)})),ct.each(r.style||{},(function(t,r){e.style[r]=t})),e.width=e.width,delete e[$e]}},addEventListener:function(t,e,r){var i=t.canvas;if("resize"!==e){var o=r[$e]||(r[$e]={}),n=o.proxies||(o.proxies={}),a=n[t.id+"_"+e]=function(e){r(gr(e,t))};dr(i,e,a)}else yr(i,r,t)},removeEventListener:function(t,e,r){var i=t.canvas;if("resize"!==e){var o=r[$e]||{},n=o.proxies||{},a=n[t.id+"_"+e];a&&ur(i,e,a)}else xr(i)}};ct.addEvent=dr,ct.removeEvent=ur;var Cr=_r._enabled?_r:Je,Ar=ct.extend({initialize:function(){},acquireContext:function(){},releaseContext:function(){},addEventListener:function(){},removeEventListener:function(){}},Cr);K._set("global",{plugins:{}});var kr={_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 r=e.indexOf(t);-1!==r&&e.splice(r,1)})),this._cacheId++},clear:function(){this._plugins=[],this._cacheId++},count:function(){return this._plugins.length},getAll:function(){return this._plugins},notify:function(t,e,r){var i,o,n,a,s,l=this.descriptors(t),c=l.length;for(i=0;i<c;++i)if(o=l[i],n=o.plugin,s=n[e],"function"===typeof s&&(a=[t].concat(r||[]),a.push(o.options),!1===s.apply(n,a)))return!1;return!0},descriptors:function(t){var e=t.$plugins||(t.$plugins={});if(e.id===this._cacheId)return e.descriptors;var r=[],i=[],o=t&&t.config||{},n=o.options&&o.options.plugins||{};return this._plugins.concat(o.plugins||[]).forEach((function(t){var e=r.indexOf(t);if(-1===e){var o=t.id,a=n[o];!1!==a&&(!0===a&&(a=ct.clone(K.global.plugins[o])),r.push(t),i.push({plugin:t,options:a||{}}))}})),e.descriptors=i,e.id=this._cacheId,i},_invalidate:function(t){delete t.$plugins}},Or={constructors:{},defaults:{},registerScaleType:function(t,e,r){this.constructors[t]=e,this.defaults[t]=ct.clone(r)},getScaleConstructor:function(t){return this.constructors.hasOwnProperty(t)?this.constructors[t]:void 0},getScaleDefaults:function(t){return this.defaults.hasOwnProperty(t)?ct.merge({},[K.scale,this.defaults[t]]):{}},updateScaleDefaults:function(t,e){var r=this;r.defaults.hasOwnProperty(t)&&(r.defaults[t]=ct.extend(r.defaults[t],e))},addScalesToLayout:function(t){ct.each(t.scales,(function(e){e.fullWidth=e.options.fullWidth,e.position=e.options.position,e.weight=e.options.weight,qe.addBox(t,e)}))}},Mr=ct.valueOrDefault,Pr=ct.rtl.getRtlAdapter;K._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:ct.noop,title:function(t,e){var r="",i=e.labels,o=i?i.length:0;if(t.length>0){var n=t[0];n.label?r=n.label:n.xLabel?r=n.xLabel:o>0&&n.index<o&&(r=i[n.index])}return r},afterTitle:ct.noop,beforeBody:ct.noop,beforeLabel:ct.noop,label:function(t,e){var r=e.datasets[t.datasetIndex].label||"";return r&&(r+=": "),ct.isNullOrUndef(t.value)?r+=t.yLabel:r+=t.value,r},labelColor:function(t,e){var r=e.getDatasetMeta(t.datasetIndex),i=r.data[t.index],o=i._view;return{borderColor:o.borderColor,backgroundColor:o.backgroundColor}},labelTextColor:function(){return this._options.bodyFontColor},afterLabel:ct.noop,afterBody:ct.noop,beforeFooter:ct.noop,footer:ct.noop,afterFooter:ct.noop}}});var Sr={average:function(t){if(!t.length)return!1;var e,r,i=0,o=0,n=0;for(e=0,r=t.length;e<r;++e){var a=t[e];if(a&&a.hasValue()){var s=a.tooltipPosition();i+=s.x,o+=s.y,++n}}return{x:i/n,y:o/n}},nearest:function(t,e){var r,i,o,n=e.x,a=e.y,s=Number.POSITIVE_INFINITY;for(r=0,i=t.length;r<i;++r){var l=t[r];if(l&&l.hasValue()){var c=l.getCenterPoint(),d=ct.distanceBetweenPoints(e,c);d<s&&(s=d,o=l)}}if(o){var u=o.tooltipPosition();n=u.x,a=u.y}return{x:n,y:a}}};function Rr(t,e){return e&&(ct.isArray(e)?Array.prototype.push.apply(t,e):t.push(e)),t}function Tr(t){return("string"===typeof t||t instanceof String)&&t.indexOf("\n")>-1?t.split("\n"):t}function Dr(t){var e=t._xScale,r=t._yScale||t._scale,i=t._index,o=t._datasetIndex,n=t._chart.getDatasetMeta(o).controller,a=n._getIndexScale(),s=n._getValueScale();return{xLabel:e?e.getLabelForIndex(i,o):"",yLabel:r?r.getLabelForIndex(i,o):"",label:a?""+a.getLabelForIndex(i,o):"",value:s?""+s.getLabelForIndex(i,o):"",index:i,datasetIndex:o,x:t._model.x,y:t._model.y}}function jr(t){var e=K.global;return{xPadding:t.xPadding,yPadding:t.yPadding,xAlign:t.xAlign,yAlign:t.yAlign,rtl:t.rtl,textDirection:t.textDirection,bodyFontColor:t.bodyFontColor,_bodyFontFamily:Mr(t.bodyFontFamily,e.defaultFontFamily),_bodyFontStyle:Mr(t.bodyFontStyle,e.defaultFontStyle),_bodyAlign:t.bodyAlign,bodyFontSize:Mr(t.bodyFontSize,e.defaultFontSize),bodySpacing:t.bodySpacing,titleFontColor:t.titleFontColor,_titleFontFamily:Mr(t.titleFontFamily,e.defaultFontFamily),_titleFontStyle:Mr(t.titleFontStyle,e.defaultFontStyle),titleFontSize:Mr(t.titleFontSize,e.defaultFontSize),_titleAlign:t.titleAlign,titleSpacing:t.titleSpacing,titleMarginBottom:t.titleMarginBottom,footerFontColor:t.footerFontColor,_footerFontFamily:Mr(t.footerFontFamily,e.defaultFontFamily),_footerFontStyle:Mr(t.footerFontStyle,e.defaultFontStyle),footerFontSize:Mr(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 Ir(t,e){var r=t._chart.ctx,i=2*e.yPadding,o=0,n=e.body,a=n.reduce((function(t,e){return t+e.before.length+e.lines.length+e.after.length}),0);a+=e.beforeBody.length+e.afterBody.length;var s=e.title.length,l=e.footer.length,c=e.titleFontSize,d=e.bodyFontSize,u=e.footerFontSize;i+=s*c,i+=s?(s-1)*e.titleSpacing:0,i+=s?e.titleMarginBottom:0,i+=a*d,i+=a?(a-1)*e.bodySpacing:0,i+=l?e.footerMarginTop:0,i+=l*u,i+=l?(l-1)*e.footerSpacing:0;var h=0,g=function(t){o=Math.max(o,r.measureText(t).width+h)};return r.font=ct.fontString(c,e._titleFontStyle,e._titleFontFamily),ct.each(e.title,g),r.font=ct.fontString(d,e._bodyFontStyle,e._bodyFontFamily),ct.each(e.beforeBody.concat(e.afterBody),g),h=e.displayColors?d+2:0,ct.each(n,(function(t){ct.each(t.before,g),ct.each(t.lines,g),ct.each(t.after,g)})),h=0,r.font=ct.fontString(u,e._footerFontStyle,e._footerFontFamily),ct.each(e.footer,g),o+=2*e.xPadding,{width:o,height:i}}function Br(t,e){var r,i,o,n,a,s=t._model,l=t._chart,c=t._chart.chartArea,d="center",u="center";s.y<e.height?u="top":s.y>l.height-e.height&&(u="bottom");var h=(c.left+c.right)/2,g=(c.top+c.bottom)/2;"center"===u?(r=function(t){return t<=h},i=function(t){return t>h}):(r=function(t){return t<=e.width/2},i=function(t){return t>=l.width-e.width/2}),o=function(t){return t+e.width+s.caretSize+s.caretPadding>l.width},n=function(t){return t-e.width-s.caretSize-s.caretPadding<0},a=function(t){return t<=g?"top":"bottom"},r(s.x)?(d="left",o(s.x)&&(d="center",u=a(s.y))):i(s.x)&&(d="right",n(s.x)&&(d="center",u=a(s.y)));var p=t._options;return{xAlign:p.xAlign?p.xAlign:d,yAlign:p.yAlign?p.yAlign:u}}function Lr(t,e,r,i){var o=t.x,n=t.y,a=t.caretSize,s=t.caretPadding,l=t.cornerRadius,c=r.xAlign,d=r.yAlign,u=a+s,h=l+s;return"right"===c?o-=e.width:"center"===c&&(o-=e.width/2,o+e.width>i.width&&(o=i.width-e.width),o<0&&(o=0)),"top"===d?n+=u:n-="bottom"===d?e.height+u:e.height/2,"center"===d?"left"===c?o+=u:"right"===c&&(o-=u):"left"===c?o-=h:"right"===c&&(o+=h),{x:o,y:n}}function Fr(t,e){return"center"===e?t.x+t.width/2:"right"===e?t.x+t.width-t.xPadding:t.x+t.xPadding}function Er(t){return Rr([],Tr(t))}var Vr=vt.extend({initialize:function(){this._model=jr(this._options),this._lastActive=[]},getTitle:function(){var t=this,e=t._options,r=e.callbacks,i=r.beforeTitle.apply(t,arguments),o=r.title.apply(t,arguments),n=r.afterTitle.apply(t,arguments),a=[];return a=Rr(a,Tr(i)),a=Rr(a,Tr(o)),a=Rr(a,Tr(n)),a},getBeforeBody:function(){return Er(this._options.callbacks.beforeBody.apply(this,arguments))},getBody:function(t,e){var r=this,i=r._options.callbacks,o=[];return ct.each(t,(function(t){var n={before:[],lines:[],after:[]};Rr(n.before,Tr(i.beforeLabel.call(r,t,e))),Rr(n.lines,i.label.call(r,t,e)),Rr(n.after,Tr(i.afterLabel.call(r,t,e))),o.push(n)})),o},getAfterBody:function(){return Er(this._options.callbacks.afterBody.apply(this,arguments))},getFooter:function(){var t=this,e=t._options.callbacks,r=e.beforeFooter.apply(t,arguments),i=e.footer.apply(t,arguments),o=e.afterFooter.apply(t,arguments),n=[];return n=Rr(n,Tr(r)),n=Rr(n,Tr(i)),n=Rr(n,Tr(o)),n},update:function(t){var e,r,i=this,o=i._options,n=i._model,a=i._model=jr(o),s=i._active,l=i._data,c={xAlign:n.xAlign,yAlign:n.yAlign},d={x:n.x,y:n.y},u={width:n.width,height:n.height},h={x:n.caretX,y:n.caretY};if(s.length){a.opacity=1;var g=[],p=[];h=Sr[o.position].call(i,s,i._eventPosition);var f=[];for(e=0,r=s.length;e<r;++e)f.push(Dr(s[e]));o.filter&&(f=f.filter((function(t){return o.filter(t,l)}))),o.itemSort&&(f=f.sort((function(t,e){return o.itemSort(t,e,l)}))),ct.each(f,(function(t){g.push(o.callbacks.labelColor.call(i,t,i._chart)),p.push(o.callbacks.labelTextColor.call(i,t,i._chart))})),a.title=i.getTitle(f,l),a.beforeBody=i.getBeforeBody(f,l),a.body=i.getBody(f,l),a.afterBody=i.getAfterBody(f,l),a.footer=i.getFooter(f,l),a.x=h.x,a.y=h.y,a.caretPadding=o.caretPadding,a.labelColors=g,a.labelTextColors=p,a.dataPoints=f,u=Ir(this,a),c=Br(this,u),d=Lr(a,u,c,i._chart)}else a.opacity=0;return a.xAlign=c.xAlign,a.yAlign=c.yAlign,a.x=d.x,a.y=d.y,a.width=u.width,a.height=u.height,a.caretX=h.x,a.caretY=h.y,i._model=a,t&&o.custom&&o.custom.call(i,a),i},drawCaret:function(t,e){var r=this._chart.ctx,i=this._view,o=this.getCaretPosition(t,e,i);r.lineTo(o.x1,o.y1),r.lineTo(o.x2,o.y2),r.lineTo(o.x3,o.y3)},getCaretPosition:function(t,e,r){var i,o,n,a,s,l,c=r.caretSize,d=r.cornerRadius,u=r.xAlign,h=r.yAlign,g=t.x,p=t.y,f=e.width,m=e.height;if("center"===h)s=p+m/2,"left"===u?(i=g,o=i-c,n=i,a=s+c,l=s-c):(i=g+f,o=i+c,n=i,a=s-c,l=s+c);else if("left"===u?(o=g+d+c,i=o-c,n=o+c):"right"===u?(o=g+f-d-c,i=o-c,n=o+c):(o=r.caretX,i=o-c,n=o+c),"top"===h)a=p,s=a-c,l=a;else{a=p+m,s=a+c,l=a;var v=n;n=i,i=v}return{x1:i,x2:o,x3:n,y1:a,y2:s,y3:l}},drawTitle:function(t,e,r){var i,o,n,a=e.title,s=a.length;if(s){var l=Pr(e.rtl,e.x,e.width);for(t.x=Fr(e,e._titleAlign),r.textAlign=l.textAlign(e._titleAlign),r.textBaseline="middle",i=e.titleFontSize,o=e.titleSpacing,r.fillStyle=e.titleFontColor,r.font=ct.fontString(i,e._titleFontStyle,e._titleFontFamily),n=0;n<s;++n)r.fillText(a[n],l.x(t.x),t.y+i/2),t.y+=i+o,n+1===s&&(t.y+=e.titleMarginBottom-o)}},drawBody:function(t,e,r){var i,o,n,a,s,l,c,d,u=e.bodyFontSize,h=e.bodySpacing,g=e._bodyAlign,p=e.body,f=e.displayColors,m=0,v=f?Fr(e,"left"):0,b=Pr(e.rtl,e.x,e.width),y=function(e){r.fillText(e,b.x(t.x+m),t.y+u/2),t.y+=u+h},x=b.textAlign(g);for(r.textAlign=g,r.textBaseline="middle",r.font=ct.fontString(u,e._bodyFontStyle,e._bodyFontFamily),t.x=Fr(e,x),r.fillStyle=e.bodyFontColor,ct.each(e.beforeBody,y),m=f&&"right"!==x?"center"===g?u/2+1:u+2:0,s=0,c=p.length;s<c;++s){for(i=p[s],o=e.labelTextColors[s],n=e.labelColors[s],r.fillStyle=o,ct.each(i.before,y),a=i.lines,l=0,d=a.length;l<d;++l){if(f){var w=b.x(v);r.fillStyle=e.legendColorBackground,r.fillRect(b.leftForLtr(w,u),t.y,u,u),r.lineWidth=1,r.strokeStyle=n.borderColor,r.strokeRect(b.leftForLtr(w,u),t.y,u,u),r.fillStyle=n.backgroundColor,r.fillRect(b.leftForLtr(b.xPlus(w,1),u-2),t.y+1,u-2,u-2),r.fillStyle=o}y(a[l])}ct.each(i.after,y)}m=0,ct.each(e.afterBody,y),t.y-=h},drawFooter:function(t,e,r){var i,o,n=e.footer,a=n.length;if(a){var s=Pr(e.rtl,e.x,e.width);for(t.x=Fr(e,e._footerAlign),t.y+=e.footerMarginTop,r.textAlign=s.textAlign(e._footerAlign),r.textBaseline="middle",i=e.footerFontSize,r.fillStyle=e.footerFontColor,r.font=ct.fontString(i,e._footerFontStyle,e._footerFontFamily),o=0;o<a;++o)r.fillText(n[o],s.x(t.x),t.y+i/2),t.y+=i+e.footerSpacing}},drawBackground:function(t,e,r,i){r.fillStyle=e.backgroundColor,r.strokeStyle=e.borderColor,r.lineWidth=e.borderWidth;var o=e.xAlign,n=e.yAlign,a=t.x,s=t.y,l=i.width,c=i.height,d=e.cornerRadius;r.beginPath(),r.moveTo(a+d,s),"top"===n&&this.drawCaret(t,i),r.lineTo(a+l-d,s),r.quadraticCurveTo(a+l,s,a+l,s+d),"center"===n&&"right"===o&&this.drawCaret(t,i),r.lineTo(a+l,s+c-d),r.quadraticCurveTo(a+l,s+c,a+l-d,s+c),"bottom"===n&&this.drawCaret(t,i),r.lineTo(a+d,s+c),r.quadraticCurveTo(a,s+c,a,s+c-d),"center"===n&&"left"===o&&this.drawCaret(t,i),r.lineTo(a,s+d),r.quadraticCurveTo(a,s,a+d,s),r.closePath(),r.fill(),e.borderWidth>0&&r.stroke()},draw:function(){var t=this._chart.ctx,e=this._view;if(0!==e.opacity){var r={width:e.width,height:e.height},i={x:e.x,y:e.y},o=Math.abs(e.opacity<.001)?0:e.opacity,n=e.title.length||e.beforeBody.length||e.body.length||e.afterBody.length||e.footer.length;this._options.enabled&&n&&(t.save(),t.globalAlpha=o,this.drawBackground(i,e,t,r),i.y+=e.yPadding,ct.rtl.overrideTextDirection(t,e.textDirection),this.drawTitle(i,e,t),this.drawBody(i,e,t),this.drawFooter(i,e,t),ct.rtl.restoreTextDirection(t,e.textDirection),t.restore())}},handleEvent:function(t){var e=this,r=e._options,i=!1;return e._lastActive=e._lastActive||[],"mouseout"===t.type?e._active=[]:(e._active=e._chart.getElementsAtEventForMode(t,r.mode,r),r.reverse&&e._active.reverse()),i=!ct.arrayEquals(e._active,e._lastActive),i&&(e._lastActive=e._active,(r.enabled||r.custom)&&(e._eventPosition={x:t.x,y:t.y},e.update(!0),e.pivot())),i}}),Nr=Sr,zr=Vr;zr.positioners=Nr;var Hr=ct.valueOrDefault;function Wr(){return ct.merge({},[].slice.call(arguments),{merger:function(t,e,r,i){if("xAxes"===t||"yAxes"===t){var o,n,a,s=r[t].length;for(e[t]||(e[t]=[]),o=0;o<s;++o)a=r[t][o],n=Hr(a.type,"xAxes"===t?"category":"linear"),o>=e[t].length&&e[t].push({}),!e[t][o].type||a.type&&a.type!==e[t][o].type?ct.merge(e[t][o],[Or.getScaleDefaults(n),a]):ct.merge(e[t][o],a)}else ct._merger(t,e,r,i)}})}function Ur(){return ct.merge({},[].slice.call(arguments),{merger:function(t,e,r,i){var o=e[t]||{},n=r[t];"scales"===t?e[t]=Wr(o,n):"scale"===t?e[t]=ct.merge(o,[Or.getScaleDefaults(n.type),n]):ct._merger(t,e,r,i)}})}function Yr(t){t=t||{};var e=t.data=t.data||{};return e.datasets=e.datasets||[],e.labels=e.labels||[],t.options=Ur(K.global,K[t.type],t.options||{}),t}function Qr(t){var e=t.options;ct.each(t.scales,(function(e){qe.removeBox(t,e)})),e=Ur(K.global,K[t.config.type],e),t.options=t.config.options=e,t.ensureScalesHaveIDs(),t.buildOrUpdateScales(),t.tooltip._options=e.tooltips,t.tooltip.initialize()}function Xr(t,e,r){var i,o=function(t){return t.id===i};do{i=e+r++}while(ct.findIndex(t,o)>=0);return i}function qr(t){return"top"===t||"bottom"===t}function Jr(t,e){return function(r,i){return r[t]===i[t]?r[e]-i[e]:r[t]-i[t]}}K._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 Gr=function(t,e){return this.construct(t,e),this};ct.extend(Gr.prototype,{construct:function(t,e){var r=this;e=Yr(e);var i=Ar.acquireContext(t,e),o=i&&i.canvas,n=o&&o.height,a=o&&o.width;r.id=ct.uid(),r.ctx=i,r.canvas=o,r.config=e,r.width=a,r.height=n,r.aspectRatio=n?a/n:null,r.options=e.options,r._bufferedRender=!1,r._layers=[],r.chart=r,r.controller=r,Gr.instances[r.id]=r,Object.defineProperty(r,"data",{get:function(){return r.config.data},set:function(t){r.config.data=t}}),i&&o?(r.initialize(),r.update()):console.error("Failed to create chart: can't acquire context from the given item")},initialize:function(){var t=this;return kr.notify(t,"beforeInit"),ct.retinaScale(t,t.options.devicePixelRatio),t.bindEvents(),t.options.responsive&&t.resize(!0),t.initToolTip(),kr.notify(t,"afterInit"),t},clear:function(){return ct.canvas.clear(this),this},stop:function(){return xt.cancelAnimation(this),this},resize:function(t){var e=this,r=e.options,i=e.canvas,o=r.maintainAspectRatio&&e.aspectRatio||null,n=Math.max(0,Math.floor(ct.getMaximumWidth(i))),a=Math.max(0,Math.floor(o?n/o:ct.getMaximumHeight(i)));if((e.width!==n||e.height!==a)&&(i.width=e.width=n,i.height=e.height=a,i.style.width=n+"px",i.style.height=a+"px",ct.retinaScale(e,r.devicePixelRatio),!t)){var s={width:n,height:a};kr.notify(e,"resize",[s]),r.onResize&&r.onResize(e,s),e.stop(),e.update({duration:r.responsiveAnimationDuration})}},ensureScalesHaveIDs:function(){var t=this.options,e=t.scales||{},r=t.scale;ct.each(e.xAxes,(function(t,r){t.id||(t.id=Xr(e.xAxes,"x-axis-",r))})),ct.each(e.yAxes,(function(t,r){t.id||(t.id=Xr(e.yAxes,"y-axis-",r))})),r&&(r.id=r.id||"scale")},buildOrUpdateScales:function(){var t=this,e=t.options,r=t.scales||{},i=[],o=Object.keys(r).reduce((function(t,e){return t[e]=!1,t}),{});e.scales&&(i=i.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&&i.push({options:e.scale,dtype:"radialLinear",isDefault:!0,dposition:"chartArea"}),ct.each(i,(function(e){var i=e.options,n=i.id,a=Hr(i.type,e.dtype);qr(i.position)!==qr(e.dposition)&&(i.position=e.dposition),o[n]=!0;var s=null;if(n in r&&r[n].type===a)s=r[n],s.options=i,s.ctx=t.ctx,s.chart=t;else{var l=Or.getScaleConstructor(a);if(!l)return;s=new l({id:n,type:a,options:i,ctx:t.ctx,chart:t}),r[s.id]=s}s.mergeTicksOptions(),e.isDefault&&(t.scale=s)})),ct.each(o,(function(t,e){t||delete r[e]})),t.scales=r,Or.addScalesToLayout(this)},buildOrUpdateControllers:function(){var t,e,r=this,i=[],o=r.data.datasets;for(t=0,e=o.length;t<e;t++){var n=o[t],a=r.getDatasetMeta(t),s=n.type||r.config.type;if(a.type&&a.type!==s&&(r.destroyDatasetMeta(t),a=r.getDatasetMeta(t)),a.type=s,a.order=n.order||0,a.index=t,a.controller)a.controller.updateIndex(t),a.controller.linkScales();else{var l=Pe[a.type];if(void 0===l)throw new Error('"'+a.type+'" is not a chart type.');a.controller=new l(r,t),i.push(a.controller)}}return i},resetElements:function(){var t=this;ct.each(t.data.datasets,(function(e,r){t.getDatasetMeta(r).controller.reset()}),t)},reset:function(){this.resetElements(),this.tooltip.initialize()},update:function(t){var e,r,i=this;if(t&&"object"===typeof t||(t={duration:t,lazy:arguments[1]}),Qr(i),kr._invalidate(i),!1!==kr.notify(i,"beforeUpdate")){i.tooltip._data=i.data;var o=i.buildOrUpdateControllers();for(e=0,r=i.data.datasets.length;e<r;e++)i.getDatasetMeta(e).controller.buildOrUpdateElements();i.updateLayout(),i.options.animation&&i.options.animation.duration&&ct.each(o,(function(t){t.reset()})),i.updateDatasets(),i.tooltip.initialize(),i.lastActive=[],kr.notify(i,"afterUpdate"),i._layers.sort(Jr("z","_idx")),i._bufferedRender?i._bufferedRequest={duration:t.duration,easing:t.easing,lazy:t.lazy}:i.render(t)}},updateLayout:function(){var t=this;!1!==kr.notify(t,"beforeLayout")&&(qe.update(this,this.width,this.height),t._layers=[],ct.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})),kr.notify(t,"afterScaleUpdate"),kr.notify(t,"afterLayout"))},updateDatasets:function(){var t=this;if(!1!==kr.notify(t,"beforeDatasetsUpdate")){for(var e=0,r=t.data.datasets.length;e<r;++e)t.updateDataset(e);kr.notify(t,"afterDatasetsUpdate")}},updateDataset:function(t){var e=this,r=e.getDatasetMeta(t),i={meta:r,index:t};!1!==kr.notify(e,"beforeDatasetUpdate",[i])&&(r.controller._update(),kr.notify(e,"afterDatasetUpdate",[i]))},render:function(t){var e=this;t&&"object"===typeof t||(t={duration:t,lazy:arguments[1]});var r=e.options.animation,i=Hr(t.duration,r&&r.duration),o=t.lazy;if(!1!==kr.notify(e,"beforeRender")){var n=function(t){kr.notify(e,"afterRender"),ct.callback(r&&r.onComplete,[t],e)};if(r&&i){var a=new yt({numSteps:i/16.66,easing:t.easing||r.easing,render:function(t,e){var r=ct.easing.effects[e.easing],i=e.currentStep,o=i/e.numSteps;t.draw(r(o),o,i)},onAnimationProgress:r.onProgress,onAnimationComplete:n});xt.addAnimation(e,a,i,o)}else e.draw(),n(new yt({numSteps:0,chart:e}));return e}},draw:function(t){var e,r,i=this;if(i.clear(),ct.isNullOrUndef(t)&&(t=1),i.transition(t),!(i.width<=0||i.height<=0)&&!1!==kr.notify(i,"beforeDraw",[t])){for(r=i._layers,e=0;e<r.length&&r[e].z<=0;++e)r[e].draw(i.chartArea);for(i.drawDatasets(t);e<r.length;++e)r[e].draw(i.chartArea);i._drawTooltip(t),kr.notify(i,"afterDraw",[t])}},transition:function(t){for(var e=this,r=0,i=(e.data.datasets||[]).length;r<i;++r)e.isDatasetVisible(r)&&e.getDatasetMeta(r).controller.transition(t);e.tooltip.transition(t)},_getSortedDatasetMetas:function(t){var e,r,i=this,o=i.data.datasets||[],n=[];for(e=0,r=o.length;e<r;++e)t&&!i.isDatasetVisible(e)||n.push(i.getDatasetMeta(e));return n.sort(Jr("order","index")),n},_getSortedVisibleDatasetMetas:function(){return this._getSortedDatasetMetas(!0)},drawDatasets:function(t){var e,r,i=this;if(!1!==kr.notify(i,"beforeDatasetsDraw",[t])){for(e=i._getSortedVisibleDatasetMetas(),r=e.length-1;r>=0;--r)i.drawDataset(e[r],t);kr.notify(i,"afterDatasetsDraw",[t])}},drawDataset:function(t,e){var r=this,i={meta:t,index:t.index,easingValue:e};!1!==kr.notify(r,"beforeDatasetDraw",[i])&&(t.controller.draw(e),kr.notify(r,"afterDatasetDraw",[i]))},_drawTooltip:function(t){var e=this,r=e.tooltip,i={tooltip:r,easingValue:t};!1!==kr.notify(e,"beforeTooltipDraw",[i])&&(r.draw(),kr.notify(e,"afterTooltipDraw",[i]))},getElementAtEvent:function(t){return Be.modes.single(this,t)},getElementsAtEvent:function(t){return Be.modes.label(this,t,{intersect:!0})},getElementsAtXAxis:function(t){return Be.modes["x-axis"](this,t,{intersect:!0})},getElementsAtEventForMode:function(t,e,r){var i=Be.modes[e];return"function"===typeof i?i(this,t,r):[]},getDatasetAtEvent:function(t){return Be.modes.dataset(this,t,{intersect:!0})},getDatasetMeta:function(t){var e=this,r=e.data.datasets[t];r._meta||(r._meta={});var i=r._meta[e.id];return i||(i=r._meta[e.id]={type:null,data:[],dataset:null,controller:null,hidden:null,xAxisID:null,yAxisID:null,order:r.order||0,index:t}),i},getVisibleDatasetCount:function(){for(var t=0,e=0,r=this.data.datasets.length;e<r;++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,r=this.data.datasets[t],i=r._meta&&r._meta[e];i&&(i.controller.destroy(),delete r._meta[e])},destroy:function(){var t,e,r=this,i=r.canvas;for(r.stop(),t=0,e=r.data.datasets.length;t<e;++t)r.destroyDatasetMeta(t);i&&(r.unbindEvents(),ct.canvas.clear(r),Ar.releaseContext(r.ctx),r.canvas=null,r.ctx=null),kr.notify(r,"destroy"),delete Gr.instances[r.id]},toBase64Image:function(){return this.canvas.toDataURL.apply(this.canvas,arguments)},initToolTip:function(){var t=this;t.tooltip=new zr({_chart:t,_chartInstance:t,_data:t.data,_options:t.options.tooltips},t)},bindEvents:function(){var t=this,e=t._listeners={},r=function(){t.eventHandler.apply(t,arguments)};ct.each(t.options.events,(function(i){Ar.addEventListener(t,i,r),e[i]=r})),t.options.responsive&&(r=function(){t.resize()},Ar.addEventListener(t,"resize",r),e.resize=r)},unbindEvents:function(){var t=this,e=t._listeners;e&&(delete t._listeners,ct.each(e,(function(e,r){Ar.removeEventListener(t,r,e)})))},updateHoverStyle:function(t,e,r){var i,o,n,a=r?"set":"remove";for(o=0,n=t.length;o<n;++o)i=t[o],i&&this.getDatasetMeta(i._datasetIndex).controller[a+"HoverStyle"](i);"dataset"===e&&this.getDatasetMeta(t[0]._datasetIndex).controller["_"+a+"DatasetHoverStyle"]()},eventHandler:function(t){var e=this,r=e.tooltip;if(!1!==kr.notify(e,"beforeEvent",[t])){e._bufferedRender=!0,e._bufferedRequest=null;var i=e.handleEvent(t);r&&(i=r._start?r.handleEvent(t):i|r.handleEvent(t)),kr.notify(e,"afterEvent",[t]);var o=e._bufferedRequest;return o?e.render(o):i&&!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=this,r=e.options||{},i=r.hover,o=!1;return e.lastActive=e.lastActive||[],"mouseout"===t.type?e.active=[]:e.active=e.getElementsAtEventForMode(t,i.mode,i),ct.callback(r.onHover||r.hover.onHover,[t.native,e.active],e),"mouseup"!==t.type&&"click"!==t.type||r.onClick&&r.onClick.call(e,t.native,e.active),e.lastActive.length&&e.updateHoverStyle(e.lastActive,i.mode,!1),e.active.length&&i.mode&&e.updateHoverStyle(e.active,i.mode,!0),o=!ct.arrayEquals(e.active,e.lastActive),e.lastActive=e.active,o}}),Gr.instances={};var Kr=Gr;Gr.Controller=Gr,Gr.types={},ct.configMerge=Ur,ct.scaleMerge=Wr;var Zr=function(){function t(t,e,r){var i;return"string"===typeof t?(i=parseInt(t,10),-1!==t.indexOf("%")&&(i=i/100*e.parentNode[r])):i=t,i}function e(t){return void 0!==t&&null!==t&&"none"!==t}function r(r,i,o){var n=document.defaultView,a=ct._getParentNode(r),s=n.getComputedStyle(r)[i],l=n.getComputedStyle(a)[i],c=e(s),d=e(l),u=Number.POSITIVE_INFINITY;return c||d?Math.min(c?t(s,r,o):u,d?t(l,a,o):u):"none"}ct.where=function(t,e){if(ct.isArray(t)&&Array.prototype.filter)return t.filter(e);var r=[];return ct.each(t,(function(t){e(t)&&r.push(t)})),r},ct.findIndex=Array.prototype.findIndex?function(t,e,r){return t.findIndex(e,r)}:function(t,e,r){r=void 0===r?t:r;for(var i=0,o=t.length;i<o;++i)if(e.call(r,t[i],i,t))return i;return-1},ct.findNextWhere=function(t,e,r){ct.isNullOrUndef(r)&&(r=-1);for(var i=r+1;i<t.length;i++){var o=t[i];if(e(o))return o}},ct.findPreviousWhere=function(t,e,r){ct.isNullOrUndef(r)&&(r=t.length);for(var i=r-1;i>=0;i--){var o=t[i];if(e(o))return o}},ct.isNumber=function(t){return!isNaN(parseFloat(t))&&isFinite(t)},ct.almostEquals=function(t,e,r){return Math.abs(t-e)<r},ct.almostWhole=function(t,e){var r=Math.round(t);return r-e<=t&&r+e>=t},ct.max=function(t){return t.reduce((function(t,e){return isNaN(e)?t:Math.max(t,e)}),Number.NEGATIVE_INFINITY)},ct.min=function(t){return t.reduce((function(t,e){return isNaN(e)?t:Math.min(t,e)}),Number.POSITIVE_INFINITY)},ct.sign=Math.sign?function(t){return Math.sign(t)}:function(t){return t=+t,0===t||isNaN(t)?t:t>0?1:-1},ct.toRadians=function(t){return t*(Math.PI/180)},ct.toDegrees=function(t){return t*(180/Math.PI)},ct._decimalPlaces=function(t){if(ct.isFinite(t)){var e=1,r=0;while(Math.round(t*e)/e!==t)e*=10,r++;return r}},ct.getAngleFromPoint=function(t,e){var r=e.x-t.x,i=e.y-t.y,o=Math.sqrt(r*r+i*i),n=Math.atan2(i,r);return n<-.5*Math.PI&&(n+=2*Math.PI),{angle:n,distance:o}},ct.distanceBetweenPoints=function(t,e){return Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2))},ct.aliasPixel=function(t){return t%2===0?0:.5},ct._alignPixel=function(t,e,r){var i=t.currentDevicePixelRatio,o=r/2;return Math.round((e-o)*i)/i+o},ct.splineCurve=function(t,e,r,i){var o=t.skip?e:t,n=e,a=r.skip?e:r,s=Math.sqrt(Math.pow(n.x-o.x,2)+Math.pow(n.y-o.y,2)),l=Math.sqrt(Math.pow(a.x-n.x,2)+Math.pow(a.y-n.y,2)),c=s/(s+l),d=l/(s+l);c=isNaN(c)?0:c,d=isNaN(d)?0:d;var u=i*c,h=i*d;return{previous:{x:n.x-u*(a.x-o.x),y:n.y-u*(a.y-o.y)},next:{x:n.x+h*(a.x-o.x),y:n.y+h*(a.y-o.y)}}},ct.EPSILON=Number.EPSILON||1e-14,ct.splineCurveMonotone=function(t){var e,r,i,o,n,a,s,l,c,d=(t||[]).map((function(t){return{model:t._model,deltaK:0,mK:0}})),u=d.length;for(e=0;e<u;++e)if(i=d[e],!i.model.skip){if(r=e>0?d[e-1]:null,o=e<u-1?d[e+1]:null,o&&!o.model.skip){var h=o.model.x-i.model.x;i.deltaK=0!==h?(o.model.y-i.model.y)/h:0}!r||r.model.skip?i.mK=i.deltaK:!o||o.model.skip?i.mK=r.deltaK:this.sign(r.deltaK)!==this.sign(i.deltaK)?i.mK=0:i.mK=(r.deltaK+i.deltaK)/2}for(e=0;e<u-1;++e)i=d[e],o=d[e+1],i.model.skip||o.model.skip||(ct.almostEquals(i.deltaK,0,this.EPSILON)?i.mK=o.mK=0:(n=i.mK/i.deltaK,a=o.mK/i.deltaK,l=Math.pow(n,2)+Math.pow(a,2),l<=9||(s=3/Math.sqrt(l),i.mK=n*s*i.deltaK,o.mK=a*s*i.deltaK)));for(e=0;e<u;++e)i=d[e],i.model.skip||(r=e>0?d[e-1]:null,o=e<u-1?d[e+1]:null,r&&!r.model.skip&&(c=(i.model.x-r.model.x)/3,i.model.controlPointPreviousX=i.model.x-c,i.model.controlPointPreviousY=i.model.y-c*i.mK),o&&!o.model.skip&&(c=(o.model.x-i.model.x)/3,i.model.controlPointNextX=i.model.x+c,i.model.controlPointNextY=i.model.y+c*i.mK))},ct.nextItem=function(t,e,r){return r?e>=t.length-1?t[0]:t[e+1]:e>=t.length-1?t[t.length-1]:t[e+1]},ct.previousItem=function(t,e,r){return r?e<=0?t[t.length-1]:t[e-1]:e<=0?t[0]:t[e-1]},ct.niceNum=function(t,e){var r,i=Math.floor(ct.log10(t)),o=t/Math.pow(10,i);return r=e?o<1.5?1:o<3?2:o<7?5:10:o<=1?1:o<=2?2:o<=5?5:10,r*Math.pow(10,i)},ct.requestAnimFrame=function(){return"undefined"===typeof window?function(t){t()}:window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(t){return window.setTimeout(t,1e3/60)}}(),ct.getRelativePosition=function(t,e){var r,i,o=t.originalEvent||t,n=t.target||t.srcElement,a=n.getBoundingClientRect(),s=o.touches;s&&s.length>0?(r=s[0].clientX,i=s[0].clientY):(r=o.clientX,i=o.clientY);var l=parseFloat(ct.getStyle(n,"padding-left")),c=parseFloat(ct.getStyle(n,"padding-top")),d=parseFloat(ct.getStyle(n,"padding-right")),u=parseFloat(ct.getStyle(n,"padding-bottom")),h=a.right-a.left-l-d,g=a.bottom-a.top-c-u;return r=Math.round((r-a.left-l)/h*n.width/e.currentDevicePixelRatio),i=Math.round((i-a.top-c)/g*n.height/e.currentDevicePixelRatio),{x:r,y:i}},ct.getConstraintWidth=function(t){return r(t,"max-width","clientWidth")},ct.getConstraintHeight=function(t){return r(t,"max-height","clientHeight")},ct._calculatePadding=function(t,e,r){return e=ct.getStyle(t,e),e.indexOf("%")>-1?r*parseInt(e,10)/100:parseInt(e,10)},ct._getParentNode=function(t){var e=t.parentNode;return e&&"[object ShadowRoot]"===e.toString()&&(e=e.host),e},ct.getMaximumWidth=function(t){var e=ct._getParentNode(t);if(!e)return t.clientWidth;var r=e.clientWidth,i=ct._calculatePadding(e,"padding-left",r),o=ct._calculatePadding(e,"padding-right",r),n=r-i-o,a=ct.getConstraintWidth(t);return isNaN(a)?n:Math.min(n,a)},ct.getMaximumHeight=function(t){var e=ct._getParentNode(t);if(!e)return t.clientHeight;var r=e.clientHeight,i=ct._calculatePadding(e,"padding-top",r),o=ct._calculatePadding(e,"padding-bottom",r),n=r-i-o,a=ct.getConstraintHeight(t);return isNaN(a)?n:Math.min(n,a)},ct.getStyle=function(t,e){return t.currentStyle?t.currentStyle[e]:document.defaultView.getComputedStyle(t,null).getPropertyValue(e)},ct.retinaScale=function(t,e){var r=t.currentDevicePixelRatio=e||"undefined"!==typeof window&&window.devicePixelRatio||1;if(1!==r){var i=t.canvas,o=t.height,n=t.width;i.height=o*r,i.width=n*r,t.ctx.scale(r,r),i.style.height||i.style.width||(i.style.height=o+"px",i.style.width=n+"px")}},ct.fontString=function(t,e,r){return e+" "+t+"px "+r},ct.longestText=function(t,e,r,i){i=i||{};var o=i.data=i.data||{},n=i.garbageCollect=i.garbageCollect||[];i.font!==e&&(o=i.data={},n=i.garbageCollect=[],i.font=e),t.font=e;var a,s,l,c,d,u=0,h=r.length;for(a=0;a<h;a++)if(c=r[a],void 0!==c&&null!==c&&!0!==ct.isArray(c))u=ct.measureText(t,o,n,u,c);else if(ct.isArray(c))for(s=0,l=c.length;s<l;s++)d=c[s],void 0===d||null===d||ct.isArray(d)||(u=ct.measureText(t,o,n,u,d));var g=n.length/2;if(g>r.length){for(a=0;a<g;a++)delete o[n[a]];n.splice(0,g)}return u},ct.measureText=function(t,e,r,i,o){var n=e[o];return n||(n=e[o]=t.measureText(o).width,r.push(o)),n>i&&(i=n),i},ct.numberOfLabelLines=function(t){var e=1;return ct.each(t,(function(t){ct.isArray(t)&&t.length>e&&(e=t.length)})),e},ct.color=F?function(t){return t instanceof CanvasGradient&&(t=K.global.defaultColor),F(t)}:function(t){return console.error("Color.js not found!"),t},ct.getHoverColor=function(t){return t instanceof CanvasPattern||t instanceof CanvasGradient?t:ct.color(t).saturate(.5).darken(.1).rgbString()}};function $r(){throw new Error("This method is not implemented: either no adapter can be found or an incomplete integration was provided.")}function ti(t){this.options=t||{}}ct.extend(ti.prototype,{formats:$r,parse:$r,format:$r,add:$r,diff:$r,startOf:$r,endOf:$r,_create:function(t){return t}}),ti.override=function(t){ct.extend(ti.prototype,t)};var ei=ti,ri={_date:ei},ii={formatters:{values:function(t){return ct.isArray(t)?t:""+t},linear:function(t,e,r){var i=r.length>3?r[2]-r[1]:r[1]-r[0];Math.abs(i)>1&&t!==Math.floor(t)&&(i=t-Math.floor(t));var o=ct.log10(Math.abs(i)),n="";if(0!==t){var a=Math.max(Math.abs(r[0]),Math.abs(r[r.length-1]));if(a<1e-4){var s=ct.log10(Math.abs(t)),l=Math.floor(s)-Math.floor(o);l=Math.max(Math.min(l,20),0),n=t.toExponential(l)}else{var c=-1*Math.floor(o);c=Math.max(Math.min(c,20),0),n=t.toFixed(c)}}else n="0";return n},logarithmic:function(t,e,r){var i=t/Math.pow(10,Math.floor(ct.log10(t)));return 0===t?"0":1===i||2===i||5===i||0===e||e===r.length-1?t.toExponential():""}}},oi=ct.isArray,ni=ct.isNullOrUndef,ai=ct.valueOrDefault,si=ct.valueAtIndexOrDefault;function li(t,e){for(var r=[],i=t.length/e,o=0,n=t.length;o<n;o+=i)r.push(t[Math.floor(o)]);return r}function ci(t,e,r){var i,o=t.getTicks().length,n=Math.min(e,o-1),a=t.getPixelForTick(n),s=t._startPixel,l=t._endPixel,c=1e-6;if(!(r&&(i=1===o?Math.max(a-s,l-a):0===e?(t.getPixelForTick(1)-a)/2:(a-t.getPixelForTick(n-1))/2,a+=n<e?i:-i,a<s-c||a>l+c)))return a}function di(t,e){ct.each(t,(function(t){var r,i=t.gc,o=i.length/2;if(o>e){for(r=0;r<o;++r)delete t.data[i[r]];i.splice(0,o)}}))}function ui(t,e,r,i){var o,n,a,s,l,c,d,u,h,g,p,f,m,v=r.length,b=[],y=[],x=[];for(o=0;o<v;++o){if(s=r[o].label,l=r[o].major?e.major:e.minor,t.font=c=l.string,d=i[c]=i[c]||{data:{},gc:[]},u=l.lineHeight,h=g=0,ni(s)||oi(s)){if(oi(s))for(n=0,a=s.length;n<a;++n)p=s[n],ni(p)||oi(p)||(h=ct.measureText(t,d.data,d.gc,h,p),g+=u)}else h=ct.measureText(t,d.data,d.gc,h,s),g=u;b.push(h),y.push(g),x.push(u/2)}function w(t){return{width:b[t]||0,height:y[t]||0,offset:x[t]||0}}return di(i,v),f=b.indexOf(Math.max.apply(null,b)),m=y.indexOf(Math.max.apply(null,y)),{first:w(0),last:w(v-1),widest:w(f),highest:w(m)}}function hi(t){return t.drawTicks?t.tickMarkLength:0}function gi(t){var e,r;return t.display?(e=ct.options._parseFont(t),r=ct.options.toPadding(t.padding),e.lineHeight+r.height):0}function pi(t,e){return ct.extend(ct.options._parseFont({fontFamily:ai(e.fontFamily,t.fontFamily),fontSize:ai(e.fontSize,t.fontSize),fontStyle:ai(e.fontStyle,t.fontStyle),lineHeight:ai(e.lineHeight,t.lineHeight)}),{color:ct.options.resolve([e.fontColor,t.fontColor,K.global.defaultFontColor])})}function fi(t){var e=pi(t,t.minor),r=t.major.enabled?pi(t,t.major):e;return{minor:e,major:r}}function mi(t){var e,r,i,o=[];for(r=0,i=t.length;r<i;++r)e=t[r],"undefined"!==typeof e._index&&o.push(e);return o}function vi(t){var e,r,i=t.length;if(i<2)return!1;for(r=t[0],e=1;e<i;++e)if(t[e]-t[e-1]!==r)return!1;return r}function bi(t,e,r,i){var o,n,a,s,l=vi(t),c=(e.length-1)/i;if(!l)return Math.max(c,1);for(o=ct.math._factorize(l),a=0,s=o.length-1;a<s;a++)if(n=o[a],n>c)return n;return Math.max(c,1)}function yi(t){var e,r,i=[];for(e=0,r=t.length;e<r;e++)t[e].major&&i.push(e);return i}function xi(t,e,r){var i,o,n=0,a=e[0];for(r=Math.ceil(r),i=0;i<t.length;i++)o=t[i],i===a?(o._index=i,n++,a=e[n*r]):delete o.label}function wi(t,e,r,i){var o,n,a,s,l=ai(r,0),c=Math.min(ai(i,t.length),t.length),d=0;e=Math.ceil(e),i&&(o=i-r,e=o/Math.floor(o/e)),s=l;while(s<0)d++,s=Math.round(l+d*e);for(n=Math.max(l,0);n<c;n++)a=t[n],n===s?(a._index=n,d++,s=Math.round(l+d*e)):delete a.label}K._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:ii.formatters.values,minor:{},major:{}}});var _i=vt.extend({zeroLineIndex:0,getPadding:function(){var t=this;return{left:t.paddingLeft||0,top:t.paddingTop||0,right:t.paddingRight||0,bottom:t.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(){ct.callback(this.options.beforeUpdate,[this])},update:function(t,e,r){var i,o,n,a,s,l=this,c=l.options.ticks,d=c.sampleSize;if(l.beforeUpdate(),l.maxWidth=t,l.maxHeight=e,l.margins=ct.extend({left:0,right:0,top:0,bottom:0},r),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(),a=l.buildTicks()||[],a=l.afterBuildTicks(a)||a,(!a||!a.length)&&l.ticks)for(a=[],i=0,o=l.ticks.length;i<o;++i)a.push({value:l.ticks[i],major:!1});return l._ticks=a,s=d<a.length,n=l._convertTicksToLabels(s?li(a,d):a),l._configure(),l.beforeCalculateTickRotation(),l.calculateTickRotation(),l.afterCalculateTickRotation(),l.beforeFit(),l.fit(),l.afterFit(),l._ticksToDraw=c.display&&(c.autoSkip||"auto"===c.source)?l._autoSkip(a):a,s&&(n=l._convertTicksToLabels(l._ticksToDraw)),l.ticks=n,l.afterUpdate(),l.minSize},_configure:function(){var t,e,r=this,i=r.options.ticks.reverse;r.isHorizontal()?(t=r.left,e=r.right):(t=r.top,e=r.bottom,i=!i),r._startPixel=t,r._endPixel=e,r._reversePixels=i,r._length=e-t},afterUpdate:function(){ct.callback(this.options.afterUpdate,[this])},beforeSetDimensions:function(){ct.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(){ct.callback(this.options.afterSetDimensions,[this])},beforeDataLimits:function(){ct.callback(this.options.beforeDataLimits,[this])},determineDataLimits:ct.noop,afterDataLimits:function(){ct.callback(this.options.afterDataLimits,[this])},beforeBuildTicks:function(){ct.callback(this.options.beforeBuildTicks,[this])},buildTicks:ct.noop,afterBuildTicks:function(t){var e=this;return oi(t)&&t.length?ct.callback(e.options.afterBuildTicks,[e,t]):(e.ticks=ct.callback(e.options.afterBuildTicks,[e,e.ticks])||e.ticks,t)},beforeTickToLabelConversion:function(){ct.callback(this.options.beforeTickToLabelConversion,[this])},convertTicksToLabels:function(){var t=this,e=t.options.ticks;t.ticks=t.ticks.map(e.userCallback||e.callback,this)},afterTickToLabelConversion:function(){ct.callback(this.options.afterTickToLabelConversion,[this])},beforeCalculateTickRotation:function(){ct.callback(this.options.beforeCalculateTickRotation,[this])},calculateTickRotation:function(){var t,e,r,i,o,n,a,s=this,l=s.options,c=l.ticks,d=s.getTicks().length,u=c.minRotation||0,h=c.maxRotation,g=u;!s._isVisible()||!c.display||u>=h||d<=1||!s.isHorizontal()?s.labelRotation=u:(t=s._getLabelSizes(),e=t.widest.width,r=t.highest.height-t.highest.offset,i=Math.min(s.maxWidth,s.chart.width-e),o=l.offset?s.maxWidth/d:i/(d-1),e+6>o&&(o=i/(d-(l.offset?.5:1)),n=s.maxHeight-hi(l.gridLines)-c.padding-gi(l.scaleLabel),a=Math.sqrt(e*e+r*r),g=ct.toDegrees(Math.min(Math.asin(Math.min((t.highest.height+6)/o,1)),Math.asin(Math.min(n/a,1))-Math.asin(r/a))),g=Math.max(u,Math.min(h,g))),s.labelRotation=g)},afterCalculateTickRotation:function(){ct.callback(this.options.afterCalculateTickRotation,[this])},beforeFit:function(){ct.callback(this.options.beforeFit,[this])},fit:function(){var t=this,e=t.minSize={width:0,height:0},r=t.chart,i=t.options,o=i.ticks,n=i.scaleLabel,a=i.gridLines,s=t._isVisible(),l="bottom"===i.position,c=t.isHorizontal();if(c?e.width=t.maxWidth:s&&(e.width=hi(a)+gi(n)),c?s&&(e.height=hi(a)+gi(n)):e.height=t.maxHeight,o.display&&s){var d=fi(o),u=t._getLabelSizes(),h=u.first,g=u.last,p=u.widest,f=u.highest,m=.4*d.minor.lineHeight,v=o.padding;if(c){var b=0!==t.labelRotation,y=ct.toRadians(t.labelRotation),x=Math.cos(y),w=Math.sin(y),_=w*p.width+x*(f.height-(b?f.offset:0))+(b?0:m);e.height=Math.min(t.maxHeight,e.height+_+v);var C,A,k=t.getPixelForTick(0)-t.left,O=t.right-t.getPixelForTick(t.getTicks().length-1);b?(C=l?x*h.width+w*h.offset:w*(h.height-h.offset),A=l?w*(g.height-g.offset):x*g.width+w*g.offset):(C=h.width/2,A=g.width/2),t.paddingLeft=Math.max((C-k)*t.width/(t.width-k),0)+3,t.paddingRight=Math.max((A-O)*t.width/(t.width-O),0)+3}else{var M=o.mirror?0:p.width+v+m;e.width=Math.min(t.maxWidth,e.width+M),t.paddingTop=h.height/2,t.paddingBottom=g.height/2}}t.handleMargins(),c?(t.width=t._length=r.width-t.margins.left-t.margins.right,t.height=e.height):(t.width=e.width,t.height=t._length=r.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(){ct.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(ni(t))return NaN;if(("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,r,i,o=this;for(o.ticks=t.map((function(t){return t.value})),o.beforeTickToLabelConversion(),e=o.convertTicksToLabels(t)||o.ticks,o.afterTickToLabelConversion(),r=0,i=t.length;r<i;++r)t[r].label=e[r];return e},_getLabelSizes:function(){var t=this,e=t._labelSizes;return e||(t._labelSizes=e=ui(t.ctx,fi(t.options.ticks),t.getTicks(),t.longestTextCache),t.longestLabelWidth=e.widest.width),e},_parseValue:function(t){var e,r,i,o;return oi(t)?(e=+this.getRightValue(t[0]),r=+this.getRightValue(t[1]),i=Math.min(e,r),o=Math.max(e,r)):(t=+this.getRightValue(t),e=void 0,r=t,i=t,o=t),{min:i,max:o,start:e,end:r}},_getScaleLabel:function(t){var e=this._parseValue(t);return void 0!==e.start?"["+e.start+", "+e.end+"]":+this.getRightValue(t)},getLabelForIndex:ct.noop,getPixelForValue:ct.noop,getValueForPixel:ct.noop,getPixelForTick:function(t){var e=this,r=e.options.offset,i=e._ticks.length,o=1/Math.max(i-(r?0:1),1);return t<0||t>i-1?null:e.getPixelForDecimal(t*o+(r?o/2:0))},getPixelForDecimal:function(t){var e=this;return e._reversePixels&&(t=1-t),e._startPixel+t*e._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,e=t.min,r=t.max;return t.beginAtZero?0:e<0&&r<0?r:e>0&&r>0?e:0},_autoSkip:function(t){var e,r,i,o,n=this,a=n.options.ticks,s=n._length,l=a.maxTicksLimit||s/n._tickSize()+1,c=a.major.enabled?yi(t):[],d=c.length,u=c[0],h=c[d-1];if(d>l)return xi(t,c,d/l),mi(t);if(i=bi(c,t,s,l),d>0){for(e=0,r=d-1;e<r;e++)wi(t,i,c[e],c[e+1]);return o=d>1?(h-u)/(d-1):null,wi(t,i,ct.isNullOrUndef(o)?0:u-o,u),wi(t,i,h,ct.isNullOrUndef(o)?t.length:h+o),mi(t)}return wi(t,i),mi(t)},_tickSize:function(){var t=this,e=t.options.ticks,r=ct.toRadians(t.labelRotation),i=Math.abs(Math.cos(r)),o=Math.abs(Math.sin(r)),n=t._getLabelSizes(),a=e.autoSkipPadding||0,s=n?n.widest.width+a:0,l=n?n.highest.height+a:0;return t.isHorizontal()?l*i>s*o?s/i:l/o:l*o<s*i?l/i:s/o},_isVisible:function(){var t,e,r,i=this,o=i.chart,n=i.options.display;if("auto"!==n)return!!n;for(t=0,e=o.data.datasets.length;t<e;++t)if(o.isDatasetVisible(t)&&(r=o.getDatasetMeta(t),r.xAxisID===i.id||r.yAxisID===i.id))return!0;return!1},_computeGridLineItems:function(t){var e,r,i,o,n,a,s,l,c,d,u,h,g,p,f,m,v,b=this,y=b.chart,x=b.options,w=x.gridLines,_=x.position,C=w.offsetGridLines,A=b.isHorizontal(),k=b._ticksToDraw,O=k.length+(C?1:0),M=hi(w),P=[],S=w.drawBorder?si(w.lineWidth,0,0):0,R=S/2,T=ct._alignPixel,D=function(t){return T(y,t,S)};for("top"===_?(e=D(b.bottom),s=b.bottom-M,c=e-R,u=D(t.top)+R,g=t.bottom):"bottom"===_?(e=D(b.top),u=t.top,g=D(t.bottom)-R,s=e+R,c=b.top+M):"left"===_?(e=D(b.right),a=b.right-M,l=e-R,d=D(t.left)+R,h=t.right):(e=D(b.left),d=t.left,h=D(t.right)-R,a=e+R,l=b.left+M),r=0;r<O;++r)i=k[r]||{},ni(i.label)&&r<k.length||(r===b.zeroLineIndex&&x.offset===C?(p=w.zeroLineWidth,f=w.zeroLineColor,m=w.zeroLineBorderDash||[],v=w.zeroLineBorderDashOffset||0):(p=si(w.lineWidth,r,1),f=si(w.color,r,"rgba(0,0,0,0.1)"),m=w.borderDash||[],v=w.borderDashOffset||0),o=ci(b,i._index||r,C),void 0!==o&&(n=T(y,o,p),A?a=l=d=h=n:s=c=u=g=n,P.push({tx1:a,ty1:s,tx2:l,ty2:c,x1:d,y1:u,x2:h,y2:g,width:p,color:f,borderDash:m,borderDashOffset:v})));return P.ticksLength=O,P.borderValue=e,P},_computeLabelItems:function(){var t,e,r,i,o,n,a,s,l,c,d,u,h=this,g=h.options,p=g.ticks,f=g.position,m=p.mirror,v=h.isHorizontal(),b=h._ticksToDraw,y=fi(p),x=p.padding,w=hi(g.gridLines),_=-ct.toRadians(h.labelRotation),C=[];for("top"===f?(n=h.bottom-w-x,a=_?"left":"center"):"bottom"===f?(n=h.top+w+x,a=_?"right":"center"):"left"===f?(o=h.right-(m?0:w)-x,a=m?"left":"right"):(o=h.left+(m?0:w)+x,a=m?"right":"left"),t=0,e=b.length;t<e;++t)r=b[t],i=r.label,ni(i)||(s=h.getPixelForTick(r._index||t)+p.labelOffset,l=r.major?y.major:y.minor,c=l.lineHeight,d=oi(i)?i.length:1,v?(o=s,u="top"===f?((_?1:.5)-d)*c:(_?0:.5)*c):(n=s,u=(1-d)*c/2),C.push({x:o,y:n,rotation:_,label:i,font:l,textOffset:u,textAlign:a}));return C},_drawGrid:function(t){var e=this,r=e.options.gridLines;if(r.display){var i,o,n,a,s,l=e.ctx,c=e.chart,d=ct._alignPixel,u=r.drawBorder?si(r.lineWidth,0,0):0,h=e._gridLineItems||(e._gridLineItems=e._computeGridLineItems(t));for(n=0,a=h.length;n<a;++n)s=h[n],i=s.width,o=s.color,i&&o&&(l.save(),l.lineWidth=i,l.strokeStyle=o,l.setLineDash&&(l.setLineDash(s.borderDash),l.lineDashOffset=s.borderDashOffset),l.beginPath(),r.drawTicks&&(l.moveTo(s.tx1,s.ty1),l.lineTo(s.tx2,s.ty2)),r.drawOnChartArea&&(l.moveTo(s.x1,s.y1),l.lineTo(s.x2,s.y2)),l.stroke(),l.restore());if(u){var g,p,f,m,v=u,b=si(r.lineWidth,h.ticksLength-1,1),y=h.borderValue;e.isHorizontal()?(g=d(c,e.left,v)-v/2,p=d(c,e.right,b)+b/2,f=m=y):(f=d(c,e.top,v)-v/2,m=d(c,e.bottom,b)+b/2,g=p=y),l.lineWidth=u,l.strokeStyle=si(r.color,0),l.beginPath(),l.moveTo(g,f),l.lineTo(p,m),l.stroke()}}},_drawLabels:function(){var t=this,e=t.options.ticks;if(e.display){var r,i,o,n,a,s,l,c,d=t.ctx,u=t._labelItems||(t._labelItems=t._computeLabelItems());for(r=0,o=u.length;r<o;++r){if(a=u[r],s=a.font,d.save(),d.translate(a.x,a.y),d.rotate(a.rotation),d.font=s.string,d.fillStyle=s.color,d.textBaseline="middle",d.textAlign=a.textAlign,l=a.label,c=a.textOffset,oi(l))for(i=0,n=l.length;i<n;++i)d.fillText(""+l[i],0,c),c+=s.lineHeight;else d.fillText(l,0,c);d.restore()}}},_drawTitle:function(){var t=this,e=t.ctx,r=t.options,i=r.scaleLabel;if(i.display){var o,n,a=ai(i.fontColor,K.global.defaultFontColor),s=ct.options._parseFont(i),l=ct.options.toPadding(i.padding),c=s.lineHeight/2,d=r.position,u=0;if(t.isHorizontal())o=t.left+t.width/2,n="bottom"===d?t.bottom-c-l.bottom:t.top+c+l.top;else{var h="left"===d;o=h?t.left+c+l.top:t.right-c-l.top,n=t.top+t.height/2,u=h?-.5*Math.PI:.5*Math.PI}e.save(),e.translate(o,n),e.rotate(u),e.textAlign="center",e.textBaseline="middle",e.fillStyle=a,e.font=s.string,e.fillText(i.labelString,0,0),e.restore()}},draw:function(t){var e=this;e._isVisible()&&(e._drawGrid(t),e._drawTitle(),e._drawLabels())},_layers:function(){var t=this,e=t.options,r=e.ticks&&e.ticks.z||0,i=e.gridLines&&e.gridLines.z||0;return t._isVisible()&&r!==i&&t.draw===t._draw?[{z:i,draw:function(){t._drawGrid.apply(t,arguments),t._drawTitle.apply(t,arguments)}},{z:r,draw:function(){t._drawLabels.apply(t,arguments)}}]:[{z:r,draw:function(){t.draw.apply(t,arguments)}}]},_getMatchingVisibleMetas:function(t){var e=this,r=e.isHorizontal();return e.chart._getSortedVisibleDatasetMetas().filter((function(i){return(!t||i.type===t)&&(r?i.xAxisID===e.id:i.yAxisID===e.id)}))}});_i.prototype._draw=_i.prototype.draw;var Ci=_i,Ai=ct.isNullOrUndef,ki={position:"bottom"},Oi=Ci.extend({determineDataLimits:function(){var t,e=this,r=e._getLabels(),i=e.options.ticks,o=i.min,n=i.max,a=0,s=r.length-1;void 0!==o&&(t=r.indexOf(o),t>=0&&(a=t)),void 0!==n&&(t=r.indexOf(n),t>=0&&(s=t)),e.minIndex=a,e.maxIndex=s,e.min=r[a],e.max=r[s]},buildTicks:function(){var t=this,e=t._getLabels(),r=t.minIndex,i=t.maxIndex;t.ticks=0===r&&i===e.length-1?e:e.slice(r,i+1)},getLabelForIndex:function(t,e){var r=this,i=r.chart;return i.getDatasetMeta(e).controller._getValueScaleId()===r.id?r.getRightValue(i.data.datasets[e].data[t]):r._getLabels()[t]},_configure:function(){var t=this,e=t.options.offset,r=t.ticks;Ci.prototype._configure.call(t),t.isHorizontal()||(t._reversePixels=!t._reversePixels),r&&(t._startValue=t.minIndex-(e?.5:0),t._valueRange=Math.max(r.length-(e?0:1),1))},getPixelForValue:function(t,e,r){var i,o,n,a=this;return Ai(e)||Ai(r)||(t=a.chart.data.datasets[r].data[e]),Ai(t)||(i=a.isHorizontal()?t.x:t.y),(void 0!==i||void 0!==t&&isNaN(e))&&(o=a._getLabels(),t=ct.valueOrDefault(i,t),n=o.indexOf(t),e=-1!==n?n:e,isNaN(e)&&(e=t)),a.getPixelForDecimal((e-a._startValue)/a._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){var e=this,r=Math.round(e._startValue+e.getDecimalForPixel(t)*e._valueRange);return Math.min(Math.max(r,0),e.ticks.length-1)},getBasePixel:function(){return this.bottom}}),Mi=ki;Oi._defaults=Mi;var Pi=ct.noop,Si=ct.isNullOrUndef;function Ri(t,e){var r,i,o,n,a=[],s=1e-14,l=t.stepSize,c=l||1,d=t.maxTicks-1,u=t.min,h=t.max,g=t.precision,p=e.min,f=e.max,m=ct.niceNum((f-p)/d/c)*c;if(m<s&&Si(u)&&Si(h))return[p,f];n=Math.ceil(f/m)-Math.floor(p/m),n>d&&(m=ct.niceNum(n*m/d/c)*c),l||Si(g)?r=Math.pow(10,ct._decimalPlaces(m)):(r=Math.pow(10,g),m=Math.ceil(m*r)/r),i=Math.floor(p/m)*m,o=Math.ceil(f/m)*m,l&&(!Si(u)&&ct.almostWhole(u/m,m/1e3)&&(i=u),!Si(h)&&ct.almostWhole(h/m,m/1e3)&&(o=h)),n=(o-i)/m,n=ct.almostEquals(n,Math.round(n),m/1e3)?Math.round(n):Math.ceil(n),i=Math.round(i*r)/r,o=Math.round(o*r)/r,a.push(Si(u)?i:u);for(var v=1;v<n;++v)a.push(Math.round((i+v*m)*r)/r);return a.push(Si(h)?o:h),a}var Ti=Ci.extend({getRightValue:function(t){return"string"===typeof t?+t:Ci.prototype.getRightValue.call(this,t)},handleTickRangeOptions:function(){var t=this,e=t.options,r=e.ticks;if(r.beginAtZero){var i=ct.sign(t.min),o=ct.sign(t.max);i<0&&o<0?t.max=0:i>0&&o>0&&(t.min=0)}var n=void 0!==r.min||void 0!==r.suggestedMin,a=void 0!==r.max||void 0!==r.suggestedMax;void 0!==r.min?t.min=r.min:void 0!==r.suggestedMin&&(null===t.min?t.min=r.suggestedMin:t.min=Math.min(t.min,r.suggestedMin)),void 0!==r.max?t.max=r.max:void 0!==r.suggestedMax&&(null===t.max?t.max=r.suggestedMax:t.max=Math.max(t.max,r.suggestedMax)),n!==a&&t.min>=t.max&&(n?t.max=t.min+1:t.min=t.max-1),t.min===t.max&&(t.max++,r.beginAtZero||t.min--)},getTickLimit:function(){var t,e=this,r=e.options.ticks,i=r.stepSize,o=r.maxTicksLimit;return i?t=Math.ceil(e.max/i)-Math.floor(e.min/i)+1:(t=e._computeTickLimit(),o=o||11),o&&(t=Math.min(o,t)),t},_computeTickLimit:function(){return Number.POSITIVE_INFINITY},handleDirectionalChanges:Pi,buildTicks:function(){var t=this,e=t.options,r=e.ticks,i=t.getTickLimit();i=Math.max(2,i);var o={maxTicks:i,min:r.min,max:r.max,precision:r.precision,stepSize:ct.valueOrDefault(r.fixedStepSize,r.stepSize)},n=t.ticks=Ri(o,t);t.handleDirectionalChanges(),t.max=ct.max(n),t.min=ct.min(n),r.reverse?(n.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),Ci.prototype.convertTicksToLabels.call(t)},_configure:function(){var t,e=this,r=e.getTicks(),i=e.min,o=e.max;Ci.prototype._configure.call(e),e.options.offset&&r.length&&(t=(o-i)/Math.max(r.length-1,1)/2,i-=t,o+=t),e._startValue=i,e._endValue=o,e._valueRange=o-i}}),Di={position:"left",ticks:{callback:ii.formatters.linear}},ji=0,Ii=1;function Bi(t,e,r){var i=[r.type,void 0===e&&void 0===r.stack?r.index:"",r.stack].join(".");return void 0===t[i]&&(t[i]={pos:[],neg:[]}),t[i]}function Li(t,e,r,i){var o,n,a=t.options,s=a.stacked,l=Bi(e,s,r),c=l.pos,d=l.neg,u=i.length;for(o=0;o<u;++o)n=t._parseValue(i[o]),isNaN(n.min)||isNaN(n.max)||r.data[o].hidden||(c[o]=c[o]||0,d[o]=d[o]||0,a.relativePoints?c[o]=100:n.min<0||n.max<0?d[o]+=n.min:c[o]+=n.max)}function Fi(t,e,r){var i,o,n=r.length;for(i=0;i<n;++i)o=t._parseValue(r[i]),isNaN(o.min)||isNaN(o.max)||e.data[i].hidden||(t.min=Math.min(t.min,o.min),t.max=Math.max(t.max,o.max))}var Ei=Ti.extend({determineDataLimits:function(){var t,e,r,i,o=this,n=o.options,a=o.chart,s=a.data.datasets,l=o._getMatchingVisibleMetas(),c=n.stacked,d={},u=l.length;if(o.min=Number.POSITIVE_INFINITY,o.max=Number.NEGATIVE_INFINITY,void 0===c)for(t=0;!c&&t<u;++t)e=l[t],c=void 0!==e.stack;for(t=0;t<u;++t)e=l[t],r=s[e.index].data,c?Li(o,d,e,r):Fi(o,e,r);ct.each(d,(function(t){i=t.pos.concat(t.neg),o.min=Math.min(o.min,ct.min(i)),o.max=Math.max(o.max,ct.max(i))})),o.min=ct.isFinite(o.min)&&!isNaN(o.min)?o.min:ji,o.max=ct.isFinite(o.max)&&!isNaN(o.max)?o.max:Ii,o.handleTickRangeOptions()},_computeTickLimit:function(){var t,e=this;return e.isHorizontal()?Math.ceil(e.width/40):(t=ct.options._parseFont(e.options.ticks),Math.ceil(e.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){var e=this;return e.getPixelForDecimal((+e.getRightValue(t)-e._startValue)/e._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])}}),Vi=Di;Ei._defaults=Vi;var Ni=ct.valueOrDefault,zi=ct.math.log10;function Hi(t,e){var r,i,o=[],n=Ni(t.min,Math.pow(10,Math.floor(zi(e.min)))),a=Math.floor(zi(e.max)),s=Math.ceil(e.max/Math.pow(10,a));0===n?(r=Math.floor(zi(e.minNotZero)),i=Math.floor(e.minNotZero/Math.pow(10,r)),o.push(n),n=i*Math.pow(10,r)):(r=Math.floor(zi(n)),i=Math.floor(n/Math.pow(10,r)));var l=r<0?Math.pow(10,Math.abs(r)):1;do{o.push(n),++i,10===i&&(i=1,++r,l=r>=0?1:l),n=Math.round(i*Math.pow(10,r)*l)/l}while(r<a||r===a&&i<s);var c=Ni(t.max,n);return o.push(c),o}var Wi={position:"left",ticks:{callback:ii.formatters.logarithmic}};function Ui(t,e){return ct.isFinite(t)&&t>=0?t:e}var Yi=Ci.extend({determineDataLimits:function(){var t,e,r,i,o,n,a=this,s=a.options,l=a.chart,c=l.data.datasets,d=a.isHorizontal();function u(t){return d?t.xAxisID===a.id:t.yAxisID===a.id}a.min=Number.POSITIVE_INFINITY,a.max=Number.NEGATIVE_INFINITY,a.minNotZero=Number.POSITIVE_INFINITY;var h=s.stacked;if(void 0===h)for(t=0;t<c.length;t++)if(e=l.getDatasetMeta(t),l.isDatasetVisible(t)&&u(e)&&void 0!==e.stack){h=!0;break}if(s.stacked||h){var g={};for(t=0;t<c.length;t++){e=l.getDatasetMeta(t);var p=[e.type,void 0===s.stacked&&void 0===e.stack?t:"",e.stack].join(".");if(l.isDatasetVisible(t)&&u(e))for(void 0===g[p]&&(g[p]=[]),i=c[t].data,o=0,n=i.length;o<n;o++){var f=g[p];r=a._parseValue(i[o]),isNaN(r.min)||isNaN(r.max)||e.data[o].hidden||r.min<0||r.max<0||(f[o]=f[o]||0,f[o]+=r.max)}}ct.each(g,(function(t){if(t.length>0){var e=ct.min(t),r=ct.max(t);a.min=Math.min(a.min,e),a.max=Math.max(a.max,r)}}))}else for(t=0;t<c.length;t++)if(e=l.getDatasetMeta(t),l.isDatasetVisible(t)&&u(e))for(i=c[t].data,o=0,n=i.length;o<n;o++)r=a._parseValue(i[o]),isNaN(r.min)||isNaN(r.max)||e.data[o].hidden||r.min<0||r.max<0||(a.min=Math.min(r.min,a.min),a.max=Math.max(r.max,a.max),0!==r.min&&(a.minNotZero=Math.min(r.min,a.minNotZero)));a.min=ct.isFinite(a.min)?a.min:null,a.max=ct.isFinite(a.max)?a.max:null,a.minNotZero=ct.isFinite(a.minNotZero)?a.minNotZero:null,this.handleTickRangeOptions()},handleTickRangeOptions:function(){var t=this,e=t.options.ticks,r=1,i=10;t.min=Ui(e.min,t.min),t.max=Ui(e.max,t.max),t.min===t.max&&(0!==t.min&&null!==t.min?(t.min=Math.pow(10,Math.floor(zi(t.min))-1),t.max=Math.pow(10,Math.floor(zi(t.max))+1)):(t.min=r,t.max=i)),null===t.min&&(t.min=Math.pow(10,Math.floor(zi(t.max))-1)),null===t.max&&(t.max=0!==t.min?Math.pow(10,Math.floor(zi(t.min))+1):i),null===t.minNotZero&&(t.min>0?t.minNotZero=t.min:t.max<1?t.minNotZero=Math.pow(10,Math.floor(zi(t.max))):t.minNotZero=r)},buildTicks:function(){var t=this,e=t.options.ticks,r=!t.isHorizontal(),i={min:Ui(e.min),max:Ui(e.max)},o=t.ticks=Hi(i,t);t.max=ct.max(o),t.min=ct.min(o),e.reverse?(r=!r,t.start=t.max,t.end=t.min):(t.start=t.min,t.end=t.max),r&&o.reverse()},convertTicksToLabels:function(){this.tickValues=this.ticks.slice(),Ci.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(zi(t)),r=Math.floor(t/Math.pow(10,e));return r*Math.pow(10,e)},_configure:function(){var t=this,e=t.min,r=0;Ci.prototype._configure.call(t),0===e&&(e=t._getFirstTickValue(t.minNotZero),r=Ni(t.options.ticks.fontSize,K.global.defaultFontSize)/t._length),t._startValue=zi(e),t._valueOffset=r,t._valueRange=(zi(t.max)-zi(e))/(1-r)},getPixelForValue:function(t){var e=this,r=0;return t=+e.getRightValue(t),t>e.min&&t>0&&(r=(zi(t)-e._startValue)/e._valueRange+e._valueOffset),e.getPixelForDecimal(r)},getValueForPixel:function(t){var e=this,r=e.getDecimalForPixel(t);return 0===r&&0===e.min?0:Math.pow(10,e._startValue+(r-e._valueOffset)*e._valueRange)}}),Qi=Wi;Yi._defaults=Qi;var Xi=ct.valueOrDefault,qi=ct.valueAtIndexOrDefault,Ji=ct.options.resolve,Gi={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:ii.formatters.linear},pointLabels:{display:!0,fontSize:10,callback:function(t){return t}}};function Ki(t){var e=t.ticks;return e.display&&t.display?Xi(e.fontSize,K.global.defaultFontSize)+2*e.backdropPaddingY:0}function Zi(t,e,r){return ct.isArray(r)?{w:ct.longestText(t,t.font,r),h:r.length*e}:{w:t.measureText(r).width,h:e}}function $i(t,e,r,i,o){return t===i||t===o?{start:e-r/2,end:e+r/2}:t<i||t>o?{start:e-r,end:e}:{start:e,end:e+r}}function to(t){var e,r,i,o=ct.options._parseFont(t.options.pointLabels),n={l:0,r:t.width,t:0,b:t.height-t.paddingTop},a={};t.ctx.font=o.string,t._pointLabelSizes=[];var s=t.chart.data.labels.length;for(e=0;e<s;e++){i=t.getPointPosition(e,t.drawingArea+5),r=Zi(t.ctx,o.lineHeight,t.pointLabels[e]),t._pointLabelSizes[e]=r;var l=t.getIndexAngle(e),c=ct.toDegrees(l)%360,d=$i(c,i.x,r.w,0,180),u=$i(c,i.y,r.h,90,270);d.start<n.l&&(n.l=d.start,a.l=l),d.end>n.r&&(n.r=d.end,a.r=l),u.start<n.t&&(n.t=u.start,a.t=l),u.end>n.b&&(n.b=u.end,a.b=l)}t.setReductions(t.drawingArea,n,a)}function eo(t){return 0===t||180===t?"center":t<180?"left":"right"}function ro(t,e,r,i){var o,n,a=r.y+i/2;if(ct.isArray(e))for(o=0,n=e.length;o<n;++o)t.fillText(e[o],r.x,a),a+=i;else t.fillText(e,r.x,a)}function io(t,e,r){90===t||270===t?r.y-=e.h/2:(t>270||t<90)&&(r.y-=e.h)}function oo(t){var e=t.ctx,r=t.options,i=r.pointLabels,o=Ki(r),n=t.getDistanceFromCenterForValue(r.ticks.reverse?t.min:t.max),a=ct.options._parseFont(i);e.save(),e.font=a.string,e.textBaseline="middle";for(var s=t.chart.data.labels.length-1;s>=0;s--){var l=0===s?o/2:0,c=t.getPointPosition(s,n+l+5),d=qi(i.fontColor,s,K.global.defaultFontColor);e.fillStyle=d;var u=t.getIndexAngle(s),h=ct.toDegrees(u);e.textAlign=eo(h),io(h,t._pointLabelSizes[s],c),ro(e,t.pointLabels[s],c,a.lineHeight)}e.restore()}function no(t,e,r,i){var o,n=t.ctx,a=e.circular,s=t.chart.data.labels.length,l=qi(e.color,i-1),c=qi(e.lineWidth,i-1);if((a||s)&&l&&c){if(n.save(),n.strokeStyle=l,n.lineWidth=c,n.setLineDash&&(n.setLineDash(e.borderDash||[]),n.lineDashOffset=e.borderDashOffset||0),n.beginPath(),a)n.arc(t.xCenter,t.yCenter,r,0,2*Math.PI);else{o=t.getPointPosition(0,r),n.moveTo(o.x,o.y);for(var d=1;d<s;d++)o=t.getPointPosition(d,r),n.lineTo(o.x,o.y)}n.closePath(),n.stroke(),n.restore()}}function ao(t){return ct.isNumber(t)?t:0}var so=Ti.extend({setDimensions:function(){var t=this;t.width=t.maxWidth,t.height=t.maxHeight,t.paddingTop=Ki(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,r=Number.POSITIVE_INFINITY,i=Number.NEGATIVE_INFINITY;ct.each(e.data.datasets,(function(o,n){if(e.isDatasetVisible(n)){var a=e.getDatasetMeta(n);ct.each(o.data,(function(e,o){var n=+t.getRightValue(e);isNaN(n)||a.data[o].hidden||(r=Math.min(n,r),i=Math.max(n,i))}))}})),t.min=r===Number.POSITIVE_INFINITY?0:r,t.max=i===Number.NEGATIVE_INFINITY?0:i,t.handleTickRangeOptions()},_computeTickLimit:function(){return Math.ceil(this.drawingArea/Ki(this.options))},convertTicksToLabels:function(){var t=this;Ti.prototype.convertTicksToLabels.call(t),t.pointLabels=t.chart.data.labels.map((function(){var e=ct.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,e=t.options;e.display&&e.pointLabels.display?to(t):t.setCenterPoint(0,0,0,0)},setReductions:function(t,e,r){var i=this,o=e.l/Math.sin(r.l),n=Math.max(e.r-i.width,0)/Math.sin(r.r),a=-e.t/Math.cos(r.t),s=-Math.max(e.b-(i.height-i.paddingTop),0)/Math.cos(r.b);o=ao(o),n=ao(n),a=ao(a),s=ao(s),i.drawingArea=Math.min(Math.floor(t-(o+n)/2),Math.floor(t-(a+s)/2)),i.setCenterPoint(o,n,a,s)},setCenterPoint:function(t,e,r,i){var o=this,n=o.width-e-o.drawingArea,a=t+o.drawingArea,s=r+o.drawingArea,l=o.height-o.paddingTop-i-o.drawingArea;o.xCenter=Math.floor((a+n)/2+o.left),o.yCenter=Math.floor((s+l)/2+o.top+o.paddingTop)},getIndexAngle:function(t){var e=this.chart,r=360/e.data.labels.length,i=e.options||{},o=i.startAngle||0,n=(t*r+o)%360;return(n<0?n+360:n)*Math.PI*2/360},getDistanceFromCenterForValue:function(t){var e=this;if(ct.isNullOrUndef(t))return NaN;var r=e.drawingArea/(e.max-e.min);return e.options.ticks.reverse?(e.max-t)*r:(t-e.min)*r},getPointPosition:function(t,e){var r=this,i=r.getIndexAngle(t)-Math.PI/2;return{x:Math.cos(i)*e+r.xCenter,y:Math.sin(i)*e+r.yCenter}},getPointPositionForValue:function(t,e){return this.getPointPosition(t,this.getDistanceFromCenterForValue(e))},getBasePosition:function(t){var e=this,r=e.min,i=e.max;return e.getPointPositionForValue(t||0,e.beginAtZero?0:r<0&&i<0?i:r>0&&i>0?r:0)},_drawGrid:function(){var t,e,r,i=this,o=i.ctx,n=i.options,a=n.gridLines,s=n.angleLines,l=Xi(s.lineWidth,a.lineWidth),c=Xi(s.color,a.color);if(n.pointLabels.display&&oo(i),a.display&&ct.each(i.ticks,(function(t,r){0!==r&&(e=i.getDistanceFromCenterForValue(i.ticksAsNumbers[r]),no(i,a,e,r))})),s.display&&l&&c){for(o.save(),o.lineWidth=l,o.strokeStyle=c,o.setLineDash&&(o.setLineDash(Ji([s.borderDash,a.borderDash,[]])),o.lineDashOffset=Ji([s.borderDashOffset,a.borderDashOffset,0])),t=i.chart.data.labels.length-1;t>=0;t--)e=i.getDistanceFromCenterForValue(n.ticks.reverse?i.min:i.max),r=i.getPointPosition(t,e),o.beginPath(),o.moveTo(i.xCenter,i.yCenter),o.lineTo(r.x,r.y),o.stroke();o.restore()}},_drawLabels:function(){var t=this,e=t.ctx,r=t.options,i=r.ticks;if(i.display){var o,n,a=t.getIndexAngle(0),s=ct.options._parseFont(i),l=Xi(i.fontColor,K.global.defaultFontColor);e.save(),e.font=s.string,e.translate(t.xCenter,t.yCenter),e.rotate(a),e.textAlign="center",e.textBaseline="middle",ct.each(t.ticks,(function(r,a){(0!==a||i.reverse)&&(o=t.getDistanceFromCenterForValue(t.ticksAsNumbers[a]),i.showLabelBackdrop&&(n=e.measureText(r).width,e.fillStyle=i.backdropColor,e.fillRect(-n/2-i.backdropPaddingX,-o-s.size/2-i.backdropPaddingY,n+2*i.backdropPaddingX,s.size+2*i.backdropPaddingY)),e.fillStyle=l,e.fillText(r,0,-o))})),e.restore()}},_drawTitle:ct.noop}),lo=Gi;so._defaults=lo;var co=ct._deprecated,uo=ct.options.resolve,ho=ct.valueOrDefault,go=Number.MIN_SAFE_INTEGER||-9007199254740991,po=Number.MAX_SAFE_INTEGER||9007199254740991,fo={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}},mo=Object.keys(fo);function vo(t,e){return t-e}function bo(t){var e,r,i,o={},n=[];for(e=0,r=t.length;e<r;++e)i=t[e],o[i]||(o[i]=!0,n.push(i));return n}function yo(t){return ct.valueOrDefault(t.time.min,t.ticks.min)}function xo(t){return ct.valueOrDefault(t.time.max,t.ticks.max)}function wo(t,e,r,i){if("linear"===i||!t.length)return[{time:e,pos:0},{time:r,pos:1}];var o,n,a,s,l,c=[],d=[e];for(o=0,n=t.length;o<n;++o)s=t[o],s>e&&s<r&&d.push(s);for(d.push(r),o=0,n=d.length;o<n;++o)l=d[o+1],a=d[o-1],s=d[o],void 0!==a&&void 0!==l&&Math.round((l+a)/2)===s||c.push({time:s,pos:o/(n-1)});return c}function _o(t,e,r){var i,o,n,a=0,s=t.length-1;while(a>=0&&a<=s){if(i=a+s>>1,o=t[i-1]||null,n=t[i],!o)return{lo:null,hi:n};if(n[e]<r)a=i+1;else{if(!(o[e]>r))return{lo:o,hi:n};s=i-1}}return{lo:n,hi:null}}function Co(t,e,r,i){var o=_o(t,e,r),n=o.lo?o.hi?o.lo:t[t.length-2]:t[0],a=o.lo?o.hi?o.hi:t[t.length-1]:t[1],s=a[e]-n[e],l=s?(r-n[e])/s:0,c=(a[i]-n[i])*l;return n[i]+c}function Ao(t,e){var r=t._adapter,i=t.options.time,o=i.parser,n=o||i.format,a=e;return"function"===typeof o&&(a=o(a)),ct.isFinite(a)||(a="string"===typeof n?r.parse(a,n):r.parse(a)),null!==a?+a:(o||"function"!==typeof n||(a=n(e),ct.isFinite(a)||(a=r.parse(a))),a)}function ko(t,e){if(ct.isNullOrUndef(e))return null;var r=t.options.time,i=Ao(t,t.getRightValue(e));return null===i?i:(r.round&&(i=+t._adapter.startOf(i,r.round)),i)}function Oo(t,e,r,i){var o,n,a,s=mo.length;for(o=mo.indexOf(t);o<s-1;++o)if(n=fo[mo[o]],a=n.steps?n.steps:po,n.common&&Math.ceil((r-e)/(a*n.size))<=i)return mo[o];return mo[s-1]}function Mo(t,e,r,i,o){var n,a;for(n=mo.length-1;n>=mo.indexOf(r);n--)if(a=mo[n],fo[a].common&&t._adapter.diff(o,i,a)>=e-1)return a;return mo[r?mo.indexOf(r):0]}function Po(t){for(var e=mo.indexOf(t)+1,r=mo.length;e<r;++e)if(fo[mo[e]].common)return mo[e]}function So(t,e,r,i){var o,n=t._adapter,a=t.options,s=a.time,l=s.unit||Oo(s.minUnit,e,r,i),c=uo([s.stepSize,s.unitStepSize,1]),d="week"===l&&s.isoWeekday,u=e,h=[];if(d&&(u=+n.startOf(u,"isoWeek",d)),u=+n.startOf(u,d?"day":l),n.diff(r,e,l)>1e5*c)throw e+" and "+r+" are too far apart with stepSize of "+c+" "+l;for(o=u;o<r;o=+n.add(o,c,l))h.push(o);return o!==r&&"ticks"!==a.bounds||h.push(o),h}function Ro(t,e,r,i,o){var n,a,s=0,l=0;return o.offset&&e.length&&(n=Co(t,"time",e[0],"pos"),s=1===e.length?1-n:(Co(t,"time",e[1],"pos")-n)/2,a=Co(t,"time",e[e.length-1],"pos"),l=1===e.length?a:(a-Co(t,"time",e[e.length-2],"pos"))/2),{start:s,end:l,factor:1/(s+1+l)}}function To(t,e,r,i){var o,n,a=t._adapter,s=+a.startOf(e[0].value,i),l=e[e.length-1].value;for(o=s;o<=l;o=+a.add(o,1,i))n=r[o],n>=0&&(e[n].major=!0);return e}function Do(t,e,r){var i,o,n=[],a={},s=e.length;for(i=0;i<s;++i)o=e[i],a[o]=i,n.push({value:o,major:!1});return 0!==s&&r?To(t,n,a,r):n}var jo={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}}},Io=Ci.extend({initialize:function(){this.mergeTicksOptions(),Ci.prototype.initialize.call(this)},update:function(){var t=this,e=t.options,r=e.time||(e.time={}),i=t._adapter=new ri._date(e.adapters.date);return co("time scale",r.format,"time.format","time.parser"),co("time scale",r.min,"time.min","ticks.min"),co("time scale",r.max,"time.max","ticks.max"),ct.mergeIf(r.displayFormats,i.formats()),Ci.prototype.update.apply(t,arguments)},getRightValue:function(t){return t&&void 0!==t.t&&(t=t.t),Ci.prototype.getRightValue.call(this,t)},determineDataLimits:function(){var t,e,r,i,o,n,a,s=this,l=s.chart,c=s._adapter,d=s.options,u=d.time.unit||"day",h=po,g=go,p=[],f=[],m=[],v=s._getLabels();for(t=0,r=v.length;t<r;++t)m.push(ko(s,v[t]));for(t=0,r=(l.data.datasets||[]).length;t<r;++t)if(l.isDatasetVisible(t))if(o=l.data.datasets[t].data,ct.isObject(o[0]))for(f[t]=[],e=0,i=o.length;e<i;++e)n=ko(s,o[e]),p.push(n),f[t][e]=n;else f[t]=m.slice(0),a||(p=p.concat(m),a=!0);else f[t]=[];m.length&&(h=Math.min(h,m[0]),g=Math.max(g,m[m.length-1])),p.length&&(p=r>1?bo(p).sort(vo):p.sort(vo),h=Math.min(h,p[0]),g=Math.max(g,p[p.length-1])),h=ko(s,yo(d))||h,g=ko(s,xo(d))||g,h=h===po?+c.startOf(Date.now(),u):h,g=g===go?+c.endOf(Date.now(),u)+1:g,s.min=Math.min(h,g),s.max=Math.max(h+1,g),s._table=[],s._timestamps={data:p,datasets:f,labels:m}},buildTicks:function(){var t,e,r,i=this,o=i.min,n=i.max,a=i.options,s=a.ticks,l=a.time,c=i._timestamps,d=[],u=i.getLabelCapacity(o),h=s.source,g=a.distribution;for(c="data"===h||"auto"===h&&"series"===g?c.data:"labels"===h?c.labels:So(i,o,n,u),"ticks"===a.bounds&&c.length&&(o=c[0],n=c[c.length-1]),o=ko(i,yo(a))||o,n=ko(i,xo(a))||n,t=0,e=c.length;t<e;++t)r=c[t],r>=o&&r<=n&&d.push(r);return i.min=o,i.max=n,i._unit=l.unit||(s.autoSkip?Oo(l.minUnit,i.min,i.max,u):Mo(i,d.length,l.minUnit,i.min,i.max)),i._majorUnit=s.major.enabled&&"year"!==i._unit?Po(i._unit):void 0,i._table=wo(i._timestamps.data,o,n,g),i._offsets=Ro(i._table,d,o,n,a),s.reverse&&d.reverse(),Do(i,d,i._majorUnit)},getLabelForIndex:function(t,e){var r=this,i=r._adapter,o=r.chart.data,n=r.options.time,a=o.labels&&t<o.labels.length?o.labels[t]:"",s=o.datasets[e].data[t];return ct.isObject(s)&&(a=r.getRightValue(s)),n.tooltipFormat?i.format(Ao(r,a),n.tooltipFormat):"string"===typeof a?a:i.format(Ao(r,a),n.displayFormats.datetime)},tickFormatFunction:function(t,e,r,i){var o=this,n=o._adapter,a=o.options,s=a.time.displayFormats,l=s[o._unit],c=o._majorUnit,d=s[c],u=r[e],h=a.ticks,g=c&&d&&u&&u.major,p=n.format(t,i||(g?d:l)),f=g?h.major:h.minor,m=uo([f.callback,f.userCallback,h.callback,h.userCallback]);return m?m(p,e,r):p},convertTicksToLabels:function(t){var e,r,i=[];for(e=0,r=t.length;e<r;++e)i.push(this.tickFormatFunction(t[e].value,e,t));return i},getPixelForOffset:function(t){var e=this,r=e._offsets,i=Co(e._table,"time",t,"pos");return e.getPixelForDecimal((r.start+i)*r.factor)},getPixelForValue:function(t,e,r){var i=this,o=null;if(void 0!==e&&void 0!==r&&(o=i._timestamps.datasets[r][e]),null===o&&(o=ko(i,t)),null!==o)return i.getPixelForOffset(o)},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,r=e._offsets,i=e.getDecimalForPixel(t)/r.factor-r.end,o=Co(e._table,"pos",i,"time");return e._adapter._create(o)},_getLabelSize:function(t){var e=this,r=e.options.ticks,i=e.ctx.measureText(t).width,o=ct.toRadians(e.isHorizontal()?r.maxRotation:r.minRotation),n=Math.cos(o),a=Math.sin(o),s=ho(r.fontSize,K.global.defaultFontSize);return{w:i*n+s*a,h:i*a+s*n}},getLabelWidth:function(t){return this._getLabelSize(t).w},getLabelCapacity:function(t){var e=this,r=e.options.time,i=r.displayFormats,o=i[r.unit]||i.millisecond,n=e.tickFormatFunction(t,0,Do(e,[t],e._majorUnit),o),a=e._getLabelSize(n),s=Math.floor(e.isHorizontal()?e.width/a.w:e.height/a.h);return e.options.offset&&s--,s>0?s:1}}),Bo=jo;Io._defaults=Bo;var Lo={category:Oi,linear:Ei,logarithmic:Yi,radialLinear:so,time:Io},Fo={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"};ri._date.override("function"===typeof t?{_id:"moment",formats:function(){return Fo},parse:function(e,r){return"string"===typeof e&&"string"===typeof r?e=t(e,r):e instanceof t||(e=t(e)),e.isValid()?e.valueOf():null},format:function(e,r){return t(e).format(r)},add:function(e,r,i){return t(e).add(r,i).valueOf()},diff:function(e,r,i){return t(e).diff(t(r),i)},startOf:function(e,r,i){return e=t(e),"isoWeek"===r?e.isoWeekday(i).valueOf():e.startOf(r).valueOf()},endOf:function(e,r){return t(e).endOf(r).valueOf()},_create:function(e){return t(e)}}:{}),K._set("global",{plugins:{filler:{propagate:!0}}});var Eo={dataset:function(t){var e=t.fill,r=t.chart,i=r.getDatasetMeta(e),o=i&&r.isDatasetVisible(e),n=o&&i.dataset._children||[],a=n.length||0;return a?function(t,e){return e<a&&n[e]._view||null}:null},boundary:function(t){var e=t.boundary,r=e?e.x:null,i=e?e.y:null;return ct.isArray(e)?function(t,r){return e[r]}:function(t){return{x:null===r?t.x:r,y:null===i?t.y:i}}}};function Vo(t,e,r){var i,o=t._model||{},n=o.fill;if(void 0===n&&(n=!!o.backgroundColor),!1===n||null===n)return!1;if(!0===n)return"origin";if(i=parseFloat(n,10),isFinite(i)&&Math.floor(i)===i)return"-"!==n[0]&&"+"!==n[0]||(i=e+i),!(i===e||i<0||i>=r)&&i;switch(n){case"bottom":return"start";case"top":return"end";case"zero":return"origin";case"origin":case"start":case"end":return n;default:return!1}}function No(t){var e,r=t.el._model||{},i=t.el._scale||{},o=t.fill,n=null;if(isFinite(o))return null;if("start"===o?n=void 0===r.scaleBottom?i.bottom:r.scaleBottom:"end"===o?n=void 0===r.scaleTop?i.top:r.scaleTop:void 0!==r.scaleZero?n=r.scaleZero:i.getBasePixel&&(n=i.getBasePixel()),void 0!==n&&null!==n){if(void 0!==n.x&&void 0!==n.y)return n;if(ct.isFinite(n))return e=i.isHorizontal(),{x:e?n:null,y:e?null:n}}return null}function zo(t){var e,r,i,o,n,a=t.el._scale,s=a.options,l=a.chart.data.labels.length,c=t.fill,d=[];if(!l)return null;for(e=s.ticks.reverse?a.max:a.min,r=s.ticks.reverse?a.min:a.max,i=a.getPointPositionForValue(0,e),o=0;o<l;++o)n="start"===c||"end"===c?a.getPointPositionForValue(o,"start"===c?e:r):a.getBasePosition(o),s.gridLines.circular&&(n.cx=i.x,n.cy=i.y,n.angle=a.getIndexAngle(o)-Math.PI/2),d.push(n);return d}function Ho(t){var e=t.el._scale||{};return e.getPointPositionForValue?zo(t):No(t)}function Wo(t,e,r){var i,o=t[e],n=o.fill,a=[e];if(!r)return n;while(!1!==n&&-1===a.indexOf(n)){if(!isFinite(n))return n;if(i=t[n],!i)return!1;if(i.visible)return n;a.push(n),n=i.fill}return!1}function Uo(t){var e=t.fill,r="dataset";return!1===e?null:(isFinite(e)||(r="boundary"),Eo[r](t))}function Yo(t){return t&&!t.skip}function Qo(t,e,r,i,o){var n,a,s,l;if(i&&o){for(t.moveTo(e[0].x,e[0].y),n=1;n<i;++n)ct.canvas.lineTo(t,e[n-1],e[n]);if(void 0===r[0].angle)for(t.lineTo(r[o-1].x,r[o-1].y),n=o-1;n>0;--n)ct.canvas.lineTo(t,r[n],r[n-1],!0);else for(a=r[0].cx,s=r[0].cy,l=Math.sqrt(Math.pow(r[0].x-a,2)+Math.pow(r[0].y-s,2)),n=o-1;n>0;--n)t.arc(a,s,l,r[n].angle,r[n-1].angle,!0)}}function Xo(t,e,r,i,o,n){var a,s,l,c,d,u,h,g,p=e.length,f=i.spanGaps,m=[],v=[],b=0,y=0;for(t.beginPath(),a=0,s=p;a<s;++a)l=a%p,c=e[l]._view,d=r(c,l,i),u=Yo(c),h=Yo(d),n&&void 0===g&&u&&(g=a+1,s=p+g),u&&h?(b=m.push(c),y=v.push(d)):b&&y&&(f?(u&&m.push(c),h&&v.push(d)):(Qo(t,m,v,b,y),b=y=0,m=[],v=[]));Qo(t,m,v,b,y),t.closePath(),t.fillStyle=o,t.fill()}var qo={id:"filler",afterDatasetsUpdate:function(t,e){var r,i,o,n,a=(t.data.datasets||[]).length,s=e.propagate,l=[];for(i=0;i<a;++i)r=t.getDatasetMeta(i),o=r.dataset,n=null,o&&o._model&&o instanceof Jt.Line&&(n={visible:t.isDatasetVisible(i),fill:Vo(o,i,a),chart:t,el:o}),r.$filler=n,l.push(n);for(i=0;i<a;++i)n=l[i],n&&(n.fill=Wo(l,i,s),n.boundary=Ho(n),n.mapper=Uo(n))},beforeDatasetsDraw:function(t){var e,r,i,o,n,a,s,l=t._getSortedVisibleDatasetMetas(),c=t.ctx;for(r=l.length-1;r>=0;--r)e=l[r].$filler,e&&e.visible&&(i=e.el,o=i._view,n=i._children||[],a=e.mapper,s=o.backgroundColor||K.global.defaultColor,a&&s&&n.length&&(ct.canvas.clipArea(c,t.chartArea),Xo(c,n,a,o,s,i._loop),ct.canvas.unclipArea(c)))}},Jo=ct.rtl.getRtlAdapter,Go=ct.noop,Ko=ct.valueOrDefault;function Zo(t,e){return t.usePointStyle&&t.boxWidth>e?e:t.boxWidth}K._set("global",{legend:{display:!0,position:"top",align:"center",fullWidth:!0,reverse:!1,weight:1e3,onClick:function(t,e){var r=e.datasetIndex,i=this.chart,o=i.getDatasetMeta(r);o.hidden=null===o.hidden?!i.data.datasets[r].hidden:null,i.update()},onHover:null,onLeave:null,labels:{boxWidth:40,padding:10,generateLabels:function(t){var e=t.data.datasets,r=t.options.legend||{},i=r.labels&&r.labels.usePointStyle;return t._getSortedDatasetMetas().map((function(r){var o=r.controller.getStyle(i?0:void 0);return{text:e[r.index].label,fillStyle:o.backgroundColor,hidden:!t.isDatasetVisible(r.index),lineCap:o.borderCapStyle,lineDash:o.borderDash,lineDashOffset:o.borderDashOffset,lineJoin:o.borderJoinStyle,lineWidth:o.borderWidth,strokeStyle:o.borderColor,pointStyle:o.pointStyle,rotation:o.rotation,datasetIndex:r.index}}),this)}}},legendCallback:function(t){var e,r,i,o,n=document.createElement("ul"),a=t.data.datasets;for(n.setAttribute("class",t.id+"-legend"),e=0,r=a.length;e<r;e++)i=n.appendChild(document.createElement("li")),o=i.appendChild(document.createElement("span")),o.style.backgroundColor=a[e].backgroundColor,a[e].label&&i.appendChild(document.createTextNode(a[e].label));return n.outerHTML}});var $o=vt.extend({initialize:function(t){var e=this;ct.extend(e,t),e.legendHitBoxes=[],e._hoveredItem=null,e.doughnutMode=!1},beforeUpdate:Go,update:function(t,e,r){var i=this;return i.beforeUpdate(),i.maxWidth=t,i.maxHeight=e,i.margins=r,i.beforeSetDimensions(),i.setDimensions(),i.afterSetDimensions(),i.beforeBuildLabels(),i.buildLabels(),i.afterBuildLabels(),i.beforeFit(),i.fit(),i.afterFit(),i.afterUpdate(),i.minSize},afterUpdate:Go,beforeSetDimensions:Go,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:Go,beforeBuildLabels:Go,buildLabels:function(){var t=this,e=t.options.labels||{},r=ct.callback(e.generateLabels,[t.chart],t)||[];e.filter&&(r=r.filter((function(r){return e.filter(r,t.chart.data)}))),t.options.reverse&&r.reverse(),t.legendItems=r},afterBuildLabels:Go,beforeFit:Go,fit:function(){var t=this,e=t.options,r=e.labels,i=e.display,o=t.ctx,n=ct.options._parseFont(r),a=n.size,s=t.legendHitBoxes=[],l=t.minSize,c=t.isHorizontal();if(c?(l.width=t.maxWidth,l.height=i?10:0):(l.width=i?10:0,l.height=t.maxHeight),i){if(o.font=n.string,c){var d=t.lineWidths=[0],u=0;o.textAlign="left",o.textBaseline="middle",ct.each(t.legendItems,(function(t,e){var i=Zo(r,a),n=i+a/2+o.measureText(t.text).width;(0===e||d[d.length-1]+n+2*r.padding>l.width)&&(u+=a+r.padding,d[d.length-(e>0?0:1)]=0),s[e]={left:0,top:0,width:n,height:a},d[d.length-1]+=n+r.padding})),l.height+=u}else{var h=r.padding,g=t.columnWidths=[],p=t.columnHeights=[],f=r.padding,m=0,v=0;ct.each(t.legendItems,(function(t,e){var i=Zo(r,a),n=i+a/2+o.measureText(t.text).width;e>0&&v+a+2*h>l.height&&(f+=m+r.padding,g.push(m),p.push(v),m=0,v=0),m=Math.max(m,n),v+=a+h,s[e]={left:0,top:0,width:n,height:a}})),f+=m,g.push(m),p.push(v),l.width+=f}t.width=l.width,t.height=l.height}else t.width=l.width=t.height=l.height=0},afterFit:Go,isHorizontal:function(){return"top"===this.options.position||"bottom"===this.options.position},draw:function(){var t=this,e=t.options,r=e.labels,i=K.global,o=i.defaultColor,n=i.elements.line,a=t.height,s=t.columnHeights,l=t.width,c=t.lineWidths;if(e.display){var d,u=Jo(e.rtl,t.left,t.minSize.width),h=t.ctx,g=Ko(r.fontColor,i.defaultFontColor),p=ct.options._parseFont(r),f=p.size;h.textAlign=u.textAlign("left"),h.textBaseline="middle",h.lineWidth=.5,h.strokeStyle=g,h.fillStyle=g,h.font=p.string;var m=Zo(r,f),v=t.legendHitBoxes,b=function(t,e,i){if(!(isNaN(m)||m<=0)){h.save();var a=Ko(i.lineWidth,n.borderWidth);if(h.fillStyle=Ko(i.fillStyle,o),h.lineCap=Ko(i.lineCap,n.borderCapStyle),h.lineDashOffset=Ko(i.lineDashOffset,n.borderDashOffset),h.lineJoin=Ko(i.lineJoin,n.borderJoinStyle),h.lineWidth=a,h.strokeStyle=Ko(i.strokeStyle,o),h.setLineDash&&h.setLineDash(Ko(i.lineDash,n.borderDash)),r&&r.usePointStyle){var s=m*Math.SQRT2/2,l=u.xPlus(t,m/2),c=e+f/2;ct.canvas.drawPoint(h,i.pointStyle,s,l,c,i.rotation)}else h.fillRect(u.leftForLtr(t,m),e,m,f),0!==a&&h.strokeRect(u.leftForLtr(t,m),e,m,f);h.restore()}},y=function(t,e,r,i){var o=f/2,n=u.xPlus(t,m+o),a=e+o;h.fillText(r.text,n,a),r.hidden&&(h.beginPath(),h.lineWidth=2,h.moveTo(n,a),h.lineTo(u.xPlus(n,i),a),h.stroke())},x=function(t,i){switch(e.align){case"start":return r.padding;case"end":return t-i;default:return(t-i+r.padding)/2}},w=t.isHorizontal();d=w?{x:t.left+x(l,c[0]),y:t.top+r.padding,line:0}:{x:t.left+r.padding,y:t.top+x(a,s[0]),line:0},ct.rtl.overrideTextDirection(t.ctx,e.textDirection);var _=f+r.padding;ct.each(t.legendItems,(function(e,i){var o=h.measureText(e.text).width,n=m+f/2+o,g=d.x,p=d.y;u.setWidth(t.minSize.width),w?i>0&&g+n+r.padding>t.left+t.minSize.width&&(p=d.y+=_,d.line++,g=d.x=t.left+x(l,c[d.line])):i>0&&p+_>t.top+t.minSize.height&&(g=d.x=g+t.columnWidths[d.line]+r.padding,d.line++,p=d.y=t.top+x(a,s[d.line]));var C=u.x(g);b(C,p,e),v[i].left=u.leftForLtr(C,v[i].width),v[i].top=p,y(C,p,e,o),w?d.x+=n+r.padding:d.y+=_})),ct.rtl.restoreTextDirection(t.ctx,e.textDirection)}},_getLegendItemAt:function(t,e){var r,i,o,n=this;if(t>=n.left&&t<=n.right&&e>=n.top&&e<=n.bottom)for(o=n.legendHitBoxes,r=0;r<o.length;++r)if(i=o[r],t>=i.left&&t<=i.left+i.width&&e>=i.top&&e<=i.top+i.height)return n.legendItems[r];return null},handleEvent:function(t){var e,r=this,i=r.options,o="mouseup"===t.type?"click":t.type;if("mousemove"===o){if(!i.onHover&&!i.onLeave)return}else{if("click"!==o)return;if(!i.onClick)return}e=r._getLegendItemAt(t.x,t.y),"click"===o?e&&i.onClick&&i.onClick.call(r,t.native,e):(i.onLeave&&e!==r._hoveredItem&&(r._hoveredItem&&i.onLeave.call(r,t.native,r._hoveredItem),r._hoveredItem=e),i.onHover&&e&&i.onHover.call(r,t.native,e))}});function tn(t,e){var r=new $o({ctx:t.ctx,options:e,chart:t});qe.configure(t,r,e),qe.addBox(t,r),t.legend=r}var en={id:"legend",_element:$o,beforeInit:function(t){var e=t.options.legend;e&&tn(t,e)},beforeUpdate:function(t){var e=t.options.legend,r=t.legend;e?(ct.mergeIf(e,K.global.legend),r?(qe.configure(t,r,e),r.options=e):tn(t,e)):r&&(qe.removeBox(t,r),delete t.legend)},afterEvent:function(t,e){var r=t.legend;r&&r.handleEvent(e)}},rn=ct.noop;K._set("global",{title:{display:!1,fontStyle:"bold",fullWidth:!0,padding:10,position:"top",text:"",weight:2e3}});var on=vt.extend({initialize:function(t){var e=this;ct.extend(e,t),e.legendHitBoxes=[]},beforeUpdate:rn,update:function(t,e,r){var i=this;return i.beforeUpdate(),i.maxWidth=t,i.maxHeight=e,i.margins=r,i.beforeSetDimensions(),i.setDimensions(),i.afterSetDimensions(),i.beforeBuildLabels(),i.buildLabels(),i.afterBuildLabels(),i.beforeFit(),i.fit(),i.afterFit(),i.afterUpdate(),i.minSize},afterUpdate:rn,beforeSetDimensions:rn,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:rn,beforeBuildLabels:rn,buildLabels:rn,afterBuildLabels:rn,beforeFit:rn,fit:function(){var t,e,r=this,i=r.options,o=r.minSize={},n=r.isHorizontal();i.display?(t=ct.isArray(i.text)?i.text.length:1,e=t*ct.options._parseFont(i).lineHeight+2*i.padding,r.width=o.width=n?r.maxWidth:e,r.height=o.height=n?e:r.maxHeight):r.width=o.width=r.height=o.height=0},afterFit:rn,isHorizontal:function(){var t=this.options.position;return"top"===t||"bottom"===t},draw:function(){var t=this,e=t.ctx,r=t.options;if(r.display){var i,o,n,a=ct.options._parseFont(r),s=a.lineHeight,l=s/2+r.padding,c=0,d=t.top,u=t.left,h=t.bottom,g=t.right;e.fillStyle=ct.valueOrDefault(r.fontColor,K.global.defaultFontColor),e.font=a.string,t.isHorizontal()?(o=u+(g-u)/2,n=d+l,i=g-u):(o="left"===r.position?u+l:g-l,n=d+(h-d)/2,i=h-d,c=Math.PI*("left"===r.position?-.5:.5)),e.save(),e.translate(o,n),e.rotate(c),e.textAlign="center",e.textBaseline="middle";var p=r.text;if(ct.isArray(p))for(var f=0,m=0;m<p.length;++m)e.fillText(p[m],0,f,i),f+=s;else e.fillText(p,0,0,i);e.restore()}}});function nn(t,e){var r=new on({ctx:t.ctx,options:e,chart:t});qe.configure(t,r,e),qe.addBox(t,r),t.titleBlock=r}var an={id:"title",_element:on,beforeInit:function(t){var e=t.options.title;e&&nn(t,e)},beforeUpdate:function(t){var e=t.options.title,r=t.titleBlock;e?(ct.mergeIf(e,K.global.title),r?(qe.configure(t,r,e),r.options=e):nn(t,e)):r&&(qe.removeBox(t,r),delete t.titleBlock)}},sn={},ln=qo,cn=en,dn=an;for(var un in sn.filler=ln,sn.legend=cn,sn.title=dn,Kr.helpers=ct,Zr(),Kr._adapters=ri,Kr.Animation=yt,Kr.animationService=xt,Kr.controllers=Pe,Kr.DatasetController=Ot,Kr.defaults=K,Kr.Element=vt,Kr.elements=Jt,Kr.Interaction=Be,Kr.layouts=qe,Kr.platform=Ar,Kr.plugins=kr,Kr.Scale=Ci,Kr.scaleService=Or,Kr.Ticks=ii,Kr.Tooltip=zr,Kr.helpers.each(Lo,(function(t,e){Kr.scaleService.registerScaleType(e,t,t._defaults)})),sn)sn.hasOwnProperty(un)&&Kr.plugins.register(sn[un]);Kr.platform.initialize();var hn=Kr;return"undefined"!==typeof window&&(window.Chart=Kr),Kr.Chart=Kr,Kr.Legend=sn.legend._element,Kr.Title=sn.title._element,Kr.pluginService=Kr.plugins,Kr.PluginBase=Kr.Element.extend({}),Kr.canvasHelpers=Kr.helpers.canvas,Kr.layoutService=Kr.layouts,Kr.LinearScaleBase=Ti,Kr.helpers.each(["Bar","Bubble","Doughnut","Line","PolarArea","Radar","Scatter"],(function(t){Kr[t]=function(e,r){return new Kr(e,Kr.helpers.merge(r||{},{type:t.charAt(0).toLowerCase()+t.slice(1)}))}})),hn}))},"4f36":function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAFhSURBVHgB7ZQxTsMwFIZ/O5WALWJGKEcoEgOCDu0NGNkKA6JMiBOQ3iAbAZZcgRO0SDRiYOAIEQeozMSEjS0QCqnjpMXOQn4pspI4/r48Pxlo89/jwVE2e6Orje3dqbzw/vr8gCYFFFwO4fdt3yRhXaAAR5WEdYG1rZ03QsgRQNZRQ4LCUvze2YW/NwpYevfCOR8AgmmmhcUHVgRU2SlIRD1MKiTGxW8JLMCR/zOBjH9gwJ7izN8/7VJKJxLjK/j8MQ6tCpQ03KIE6fTns+tIt8bKAkU4F/xSNt+QgHSLEqZ1VuqBBTjHCZvdRgJIfiYRBPDIYdVaSwto4Wmc+AfnQ9WIualjVlL2fJbaAiOciCQP1zXcnwRcwGsLuILXEnAJrxRwDTcKNAEvFWgKrhVoEq6iO4jCpuAqnbIXQoh7lt44havotkB8GSCT9ZnK8dgVXIUa1ALXcLPA7ziBt2mj8gl4LPy9kQIEWgAAAABJRU5ErkJggg=="},"648d":function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAcCAYAAAATFf3WAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAALZSURBVHgB7VdNbtNAFP5mxtAFqMSCA4QbpKV7fJOGE5Q0YsHKzopFFZKegOQEqCcgrGmCj+A9IEeCFcQe3nOdEjv+a+JELPpJlhPPzJtv3jx/81mgIlqO35BPcAaNtgCa8WOX/rvBb/Tct6aHHUBU6fTivX9KtyFdjZwuc63D3qz7dIiaUUqQyJ3hhlwFqPb0/HCMGlFIsPXOb6oDfEV+5tKYBwLP3Y45R02QRY3qIWykyAmNHpEw+dIandSQhgzD16gRRmGrQAtJcp3rrrm63cPj/o+GENK+7SMk16uDvRBEkuBCYpTuEEo5VBr2yqNmZqCLb5ZShh3H5F2ZaB2MZ91nIxSgcIvrwvHAt4ncJ/pp4V/JWEKoD9xWNLaQoAa8ROeM+qLsnaYeuQly/e9tKg0HOeC2kwvfymsv3mIdjpGsL5tqbh7+lKOI8I1wO8kZkwQpS6cogVZRiUyy2gozyPVFt3lyQjlQh/D5SmdGs8wAvVQYC+Vo5TUUEmQ9y5CSXEiSIBrjpR5X0cRcnS19SWZdcxSTzJ2IM0fkXqUkaAkX5ZhgU4IMIjkkYT6iTR+vTsgvEQt3SKfHF1pI1lgRrG35GigBucdjJbOwLU76vqMFMuWEF0iZd/LG7oUg47jvt4WIJMnikqCJXc7u9RtzgnvsEMV2i1w0Hi1aUsqWgHxJdUT3SBKWssBvtkdmdbwLs8owMkk9DiwlFRtVElDjVqMyVtOgIr+a5pBbxjKE4sVx7TVWPhd4cS6Ndxc6+IxfauI66z4yMWfsnh1UN6iX03Nz7XyOnIs0zii6dYdYrFuj9PdNRJCds3GAj7rgyFmPBY/072jVPccfVjZlZTvTykQlOhxbxLaerVATOUQEwiutpasCuH8ewMuy9GVxNoDHh4MR2/pmihQfXZcIMZlW1KmsOFuiqUIMBNWdj7vUSQyqvXT9bhSnBHNZY9C6yUUx92L5t8F/T/AvaoUK4hI4/OoAAAAASUVORK5CYII="},"67d7":function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAFUSURBVHgB7ZZLTsMwEIbH4x4gKhfgCGHbgpQbACcIXSAFVtyA9BaRWJCjpGpVsSNHyAWoskceMw04SkIfkcgDRL6NrYnl+T32PwrAf0dUA9bk1pZS2tACSqk4XT/FewWMz71HHnxoF3+zCubfBFiTexuRXqEDiNSZqcTIBKUkW+tcVsjKFtAgmsDhfd0sF2RXXBZQRChYvK2DEBrk5MIDPqBbjSP0zCBgEDCqs2g89UJjIW4iWe/gV33Dr/p5OxcEM+MabmafZmYrb5bB7Njef6MChBCxUl2MKQ0J8imzOUKSf/iKkarXyGoJSJdZecNSbBVEPETVtXXKXmRwwSDg99rQmt65iNqBptBwaqZKUnpQAKG4RNBXZef/NH8+S+Ed8//CnVcgtslbQcQE4jp9CRITOdaI5tz7fWgR7DP5IQGdJN8noLPkuwR0mryE5TxYMNADH3ARc14ho9yDAAAAAElFTkSuQmCC"},"845b":function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAANCAYAAACpUE5eAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAC5SURBVHgBpZNhEcIwDIUTFAwF1AGTAA7mgDnAAg5AAkhAwSyAAupgQ0F466Wjf5Z113f3Xa+73LdmWZk0InLAUoO9PqqUuXgwgC+4M7OnRNZKeZpU2El5utG1UWdN5XGp0PpWR/CgTGHIQis7rWnAxyqMMicZwuTlN1O44oQVuFqF2UJwBv1CXRCyCntjMAPZQ5vq8HNv45S9UZgjmxxR+KTyBAfHHdpusZzof4cdZZwIeYE32r2Mmx/Dea6lr9AnCQAAAABJRU5ErkJggg=="},9530:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABEAAAAPCAYAAAACsSQRAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAADGSURBVHgBnVMLEcMgDIUpqAQcDAlIqAQcbA5aJ8zBJKwONgedg9ZBlrSwci3fvrsHdyR5l5CEs0IAQIOXRM6c80/Ioc0I3JATbBgpBtktsXgo69BGBCTEYZDaiTiQstiJmITIuPhTrYFUjRUn2zMhov4fhuzhHFRJzTk0ft0vqMf7MAPIB9RBu/gLHTg8M15XGiRWhi9yOLzCOjxTbRYhIQH5TvUpAepSl8iG3u+xYA357pBdxBLgfils3VLp2WlbB/vxUfwAXoBYnDIAakwAAAAASUVORK5CYII="},a8c5:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAkAAAASCAYAAACJgPRIAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAACLSURBVHgB1VHbDYAgDBTjAIwAE7iKG+gIbiArOIKTuAIbwAhuUI8IpMFH+PWS0tJeerSIpgARTXAjTMWULQkL3eE4QdEzXMsaKRYfMC0u6DeSRdGnS9tUoIPmDC9hPe+KvMnThYfRN0yNnO1wrExuiAUP27JcQtg0k9h5q6rpfksSKcDYYVcyF9gHnxaqfMzdYDd+AAAAAElFTkSuQmCC"},ba5a:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAGwSURBVHgBzVXNVQIxEJ5ED9xkL/o8GTrIVgB2oBWAFYAV+KzAFrACpQKwAtMBe/ApeMmehPfUHWfCj8guOgsXv/eym01m5pu/ZAH+E/yLbfAoo7NfRlhr3UREQ9OBVEdJBclzo5Qa8hwnGEU1l0r0NAhB3l8tPyrQEetJBSk1jcVcadX2Q1uV6IkIKD0teplvNqhSFGcSXREB5b5dsNYUqBYXOYRfAU6BIW8tpeSmSA4BL+nh4BNSeIekqPDKv1qrsmDAzNcM7IaEBhOlVLdrHR06hxn25oYN7A5Dw1J0vejYDZYpCpGg6ocC7gJFnmd4zsZnnyuYH6Y+bB9JQmk5JePJYuFHF/EGC8Asj2Xh1o3nCJYkE4ypD+9BCDJ8Szo544UEgYTaDTF7ACkUuE13k96so+sgRQaNTVu/nGS0IITaU/VSBP7JsnGTtxQOUJJbp9ae+PgEpASwBznvlcIuvmGNO4WLur4/nYbukxHQ3b8acmi/gyN3wYXkTqHRwg/qtJVotAZ5zdJR/JiOY+9H9s8fi3+2HZYlnSFIwDdpOrZ3fKpBCJal0ZX+hLZGEcEXYnO+tK6wqL8AAAAASUVORK5CYII="},c24e:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAANhSURBVHgB7Ve9ThtBEJ7ZM4pNdYIasJ8gjmQkBFhxqpRxngC7iYxSxDwB5gkgVUyFKVMRylQxMiJEIorLdPwobeBScZLtncyez/djn313xF34pPOtb+d2vp3Z+TmA/x0ID4C+UklDAtIaQpqXMHpEBiSSbaO5Z0BMRCaglIoZfAeSimApDgDBFQhoyg7sGOf1qyjrhhLQC1VddMxdlixBHCA0ohDRJk3q65WCkJ2vgLgC8ZFFhOJsevn6/ubi5zghMW5CX9vc4MkvvBUdYkAilEm5QoFdRURHaq1x8oEumM9vFtWLEBME1L473X+mxnPrlRrfth1iAC+M03pz+J0RC6jDRpJ2ITbIIMCtwb/b03qNbzuuIjxS5ymUgNCY9bhT7lUHcMI+Lg8umUhlhndok3hvv6GLnjmyMZ8LrFBLwCVEAZ/y21a9HCamF0o6dpI/0N6U7ELGGxk+C1i7nzKMZsMgtpCjIwFVn84h+QJEhCS4jirbdw31syTCq0ACylSu72kkpXp9bp/oGsQB4bG9UFpffbs0eJxwBLrJrCssdgBJnVjHJaz48ner3oAHQoJsCxD9fCB6Gf61LOhYQEPphAhycRkOo3+FJoRjVU26UeZaAMRIjCoSnFDUcJtNV+JxCSYBae+2tb8FIehp0iHjWKA3SJ+g3OWm31iWIKyOVSpdC7OLRwlAwmw7Y0FPvS9Pwx3sf3dN7h3c5zZUvMLACoTF4QWmQKJgLc06vI2LPw8gHPYHpKtSDMEkYmM+z2fHDnHkhsU75yPAabLhTBAcBBWPMMzlKwfqml91DyxJT1Xs+K3oa0jMXxdGaiGXYbZZvnSkTvL+5vtnr8zsYq7AtzSMR9a6uBlJLSz/SS3lXqqxNcP14+6sfugVHqmGcsasOpmQTzWHnq8+9LrccAB+gihAq6zXrKXY98O7Vxhpycyrtvlkcfkbl8mS/aiQWswBt1Un1jxbyby5+Di7lFOZrAgRQQLLxln9fPh5YEumioeU4C21tbm1yqXXr3Gg1jJaHwKtNrEr1vNviijFLnobFDYlIbX7L2OIBciQgK+DWrFIBCwSqknR2I8IGxAHqi3XklthHyvxPkyYCJfl5zjpwwThmMN5b2ofJoFkVH7omhxqUte4iFl1pMsZLqLSR3jxFwEXWavIHthgAAAAAElFTkSuQmCC"},ebe5:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAMWSURBVHgB7VhNdtowEB6p2WTT4E1J2i7gBiY9QOkJmpwg5ARNTlA4QZIb0BOUnqD0AkU3iBf9SdlAumg3wdMZYTu26h8JnPfIe3zv8ZCENPo8mvk0GGCL9SCgJsy++0cgwdedEJT3Qo2gBuxAXZBwJIQ44abYwSF91UJQwobj8ROcXfsNeCDY2C4lePvr8L3YFZPZT78FVQhhhIgD/oR38KlqOttk27xH2TxRRo4260fdgNpvvAMVQA3Q5IT4TM2WJiFEf6/5dZA3t9CDYRimyWuDdRw320iTi/ZqF80vJEje6vNxxX1qf/Daal64MXll9s336btb9iBsg21l7B6oXtH8SqGmDfsx4TxSUsh3KLAHCCapgDw1Ju8M8kIjstsqI2dFsAi308MLDPHMZm5ZjFWuBUfoGNrVMeQ7LlX4lxKtJEzy4CzU/5ETMCdPXuECjyme2iixwxmfjrMIPq39CI5w8qAhPYxS+THlhMGJlxfPaxPUm0kxSSVDQEfWqTqyKCQmCUn2+B9s2x61yxF305mqPWexSSQrp8kA29iFHljCmmBcSkUYu9wqNHfMaxJbIN7artX1IIsrEcjcifTUXzKxIigxMPoNsPKuNcFriFg3sZXC7MY/M0mTtl55TTWKC9YW8BGmICUExg6NVNtJKpI1IsfWsu/Tb93MWAhaBTa+Hlx68AmJ6AIzSo8LUMbcAOJMRGeRphORrylslh1h2OZSTWKQGYv2d5GZYZIoJBWN5sQDB8xvOteQlFc43GuqU5t1Lkc8TFoUQ3ERYYOoKG3F/TCKLxs43STkBb4VunFfSuw9faZKN/s9fXVCFc0wNRQ09idtsIRTkqTrQwbVtEP2Tt5fAr5BuOIxyGmBBwe4VzM/SLOkuDCGA7zDY++l0oE9m/q+QLqDDTlxvYcZzjLjPVeXVL2cG8MtUoL7zF5oUb8nx/cv4LkruZUIJiSptLKdTw/U8fbVJayAlYXa8S62nmti++pjXWw8wbXeD5JwY8rSPKlyBGVwKotJmFfep773g0tCjahdGx5JubUizKtvi03EP4Pxe2b0nrwUAAAAAElFTkSuQmCC"},ed59:function(t,e,r){"use strict";r.r(e);r("e260"),r("e6cf"),r("cca6"),r("a79d");var i=function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{class:t.mainClass},[r("the-app-header",[r("Notifications")],1),r("the-app-navigation",[r("reports-navigation")],1),r("the-app-notices"),r("router-view"),t.blocked?r("div",{staticClass:"monsterinsights-blocked"}):t._e(),t.noauth?r("report-no-auth"):t._e(),t.reauth?r("report-re-auth"):t._e(),r("the-quick-links")],1)},o=[],n=(r("a4d3"),r("4de4"),r("4160"),r("b0c0"),r("e439"),r("dbb4"),r("b64b"),r("159b"),r("fc11")),a=r("2f62"),s=r("f284"),l=r("8c4f"),c=r("561c"),d=r("c1df"),u=r.n(d),h=function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("main",{staticClass:"monsterinsights-report monsterinsights-report-overview"},[r("report-overview-upsell-mobile"),r("div",{staticClass:"monsterinsights-report-top"},[r("h2",{domProps:{textContent:t._s(t.text_overview)}}),r("report-overview-date-picker"),r("reports-pdf-export")],1),t.showChart()?r("div",{staticClass:"monsterinsights-report-tabs monsterinsights-report-row"},[r("div",{staticClass:"monsterinsights-report-tabs-navigation"},[r("button",{class:t.activeTabButtonClass("sessions"),on:{click:function(e){return t.switchTab("sessions")}}},[r("i",{staticClass:"monstericon-user"}),r("span",{domProps:{textContent:t._s(t.text_sessions)}})]),r("button",{class:t.activeTabButtonClass("pageviews"),on:{click:function(e){return t.switchTab("pageviews")}}},[r("i",{staticClass:"monstericon-eye"}),r("span",{domProps:{textContent:t._s(t.text_pageviews)}})])]),"sessions"===t.current_tab?r("div",{staticClass:"monsterinsights-report-tabs-content"},[r("report-overview-line-chart",{attrs:{id:"overview","chart-data":t.sessionsData(),tooltip:t.text_sessions_tooltip}})],1):t._e(),"pageviews"===t.current_tab?r("div",{staticClass:"monsterinsights-report-tabs-content"},[r("report-overview-line-chart",{attrs:{id:"overview","chart-data":t.pageviewsData(),tooltip:t.text_pageviews_tooltip}})],1):t._e()]):t._e(),r("div",{staticClass:"monsterinsights-report-row monsterinsights-report-infobox-row"},[r("report-infobox",{attrs:{title:t.text_sessions,value:t.$formatNumber(t.infoboxSessionsData.value),change:t.infoboxSessionsData.change,color:t.infoboxSessionsData.color,direction:t.infoboxSessionsData.direction,days:t.infoboxRange,tooltip:t.text_infobox_tooltip_sessions}}),r("report-infobox",{attrs:{title:t.text_pageviews,value:t.$formatNumber(t.infoboxPageviewsData.value),change:t.infoboxPageviewsData.change,color:t.infoboxPageviewsData.color,direction:t.infoboxPageviewsData.direction,days:t.infoboxRange,tooltip:t.text_infobox_tooltip_pageviews}}),r("report-infobox",{attrs:{title:t.text_duration,value:t.infoboxDurationData.value,change:t.infoboxDurationData.change,color:t.infoboxDurationData.color,direction:t.infoboxDurationData.direction,days:t.infoboxRange,tooltip:t.text_infobox_tooltip_average}}),r("report-infobox",{attrs:{title:t.text_bounce,value:t.infoboxBounceData.value,change:t.infoboxBounceData.change,color:t.infoboxBounceData.color,direction:t.infoboxBounceData.direction,days:t.infoboxRange,tooltip:t.text_infobox_tooltip_bounce}})],1),r("report-overview-upsell"),r("div",{staticClass:"monsterinsights-report-row monsterinsights-report-flex"},[r("report-overview-pie-chart",{attrs:{id:"newvsreturning",chartData:t.newVsReturningData,title:t.text_new_vs_returning,tooltip:t.text_pie_tooltip_newvsreturning}}),r("report-overview-pie-chart",{attrs:{id:"devices",chartData:t.devicesData,title:t.text_device_breakdown,tooltip:t.text_pie_tooltip_devices}})],1),r("div",{staticClass:"monsterinsights-report-row monsterinsights-report-flex monsterinsights-report-2-columns"},[r("report-list-box",{attrs:{title:t.text_countries,rows:t.countriesData,tooltip:t.text_countries_tooltip}},[t.gaLinks?r("a",{staticClass:"monsterinsights-button",attrs:{slot:"button",href:t.overview.galinks.countries,target:"_blank"},domProps:{textContent:t._s(t.text_countries_button)},slot:"button"}):t._e()]),r("report-list-box",{attrs:{title:t.text_referrals,rows:t.referralsData,tooltip:t.text_referral_tooltip}},[t.gaLinks?r("a",{staticClass:"monsterinsights-button",attrs:{slot:"button",href:t.overview.galinks.referrals,target:"_blank"},domProps:{textContent:t._s(t.text_referral_button)},slot:"button"}):t._e()])],1),r("div",{staticClass:"monsterinsights-report-row"},[r("report-list-box",{attrs:{title:t.text_top_posts,rows:t.topPostsData,tooltip:t.text_top_posts_tooltip}},[t.gaLinks?r("a",{staticClass:"monsterinsights-button",attrs:{slot:"button",href:t.overview.galinks.topposts,target:"_blank"},domProps:{textContent:t._s(t.text_top_posts_button)},slot:"button"}):t._e()])],1)],1)},g=[],p=(r("d3b7"),r("25f0"),r("30ef")),f=r.n(p);function m(t,e){if(e){var r=this.$data._chart,i=t.datasets.map((function(t){return t.label})),o=e.datasets.map((function(t){return t.label})),n=JSON.stringify(o),a=JSON.stringify(i);a===n&&e.datasets.length===t.datasets.length?(t.datasets.forEach((function(t,i){var o=Object.keys(e.datasets[i]),n=Object.keys(t),a=o.filter((function(t){return"_meta"!==t&&-1===n.indexOf(t)}));for(var s in a.forEach((function(t){delete r.data.datasets[i][t]})),t)t.hasOwnProperty(s)&&(r.data.datasets[i][s]=t[s])})),t.hasOwnProperty("labels")&&(r.data.labels=t.labels,this.$emit("labels:update")),t.hasOwnProperty("xLabels")&&(r.data.xLabels=t.xLabels,this.$emit("xlabels:update")),t.hasOwnProperty("yLabels")&&(r.data.yLabels=t.yLabels,this.$emit("ylabels:update")),r.update(),this.$emit("chart:update")):(r&&(r.destroy(),this.$emit("chart:destroy")),this.renderChart(this.chartData,this.options),this.$emit("chart:render"))}else this.$data._chart&&(this.$data._chart.destroy(),this.$emit("chart:destroy")),this.renderChart(this.chartData,this.options),this.$emit("chart:render")}var v={data:function(){return{chartData:null}},watch:{chartData:m}},b={props:{chartData:{type:Object,required:!0,default:function(){}}},watch:{chartData:m}},y={reactiveData:v,reactiveProp:b};function x(t,e){return{render:function(t){return t("div",{style:this.styles,class:this.cssClasses},[t("canvas",{attrs:{id:this.chartId,width:this.width,height:this.height},ref:"canvas"})])},props:{chartId:{default:t,type:String},width:{default:400,type:Number},height:{default:400,type:Number},cssClasses:{type:String,default:""},styles:{type:Object},plugins:{type:Array,default:function(){return[]}}},data:function(){return{_chart:null,_plugins:this.plugins}},methods:{addPlugin:function(t){this.$data._plugins.push(t)},generateLegend:function(){if(this.$data._chart)return this.$data._chart.generateLegend()},renderChart:function(t,r){this.$data._chart&&this.$data._chart.destroy(),this.$data._chart=new f.a(this.$refs.canvas.getContext("2d"),{type:e,data:t,options:r,plugins:this.$data._plugins})}},beforeDestroy:function(){this.$data._chart&&this.$data._chart.destroy()}}}var w,_,C,A,k=x("bar-chart","bar"),O=(x("horizontalbar-chart","horizontalBar"),x("doughnut-chart","doughnut")),M=(x("line-chart","line"),x("pie-chart","pie"),x("polar-chart","polarArea"),x("radar-chart","radar"),x("bubble-chart","bubble"),x("scatter-chart","scatter"),x("mi-custom-line","LineWithLine")),P=y.reactiveProp,S={name:"ReportOverviewLineChart",extends:M,mixins:[P],props:{tooltip:String,customOptions:Object,id:String,strokeColor:{type:String,default:"#6db0e9"},strokeX:{type:Boolean,default:!0},strokeY:{type:Boolean,default:!1},labelColor:{type:String,default:"#7f8591"},gridColor:{type:String,default:"#f2f6fa"}},computed:{options:function(){var t=this,e=this;f.a.defaults.LineWithLine=f.a.defaults.line,(e.strokeY||e.strokeX)&&(f.a.controllers.LineWithLine=f.a.controllers.line.extend({draw:function(t){if(f.a.controllers.line.prototype.draw.call(this,t),this.chart.tooltip._active&&this.chart.tooltip._active.length){var r=this.chart.tooltip._active[0],i=this.chart.ctx,o=r.tooltipPosition().x,n=r.tooltipPosition().y,a=this.chart.scales["y-axis-0"].top,s=this.chart.scales["x-axis-0"].left,l=this.chart.scales["y-axis-0"].bottom,c=this.chart.scales["x-axis-0"].right;i.save(),e.strokeX&&(i.beginPath(),i.moveTo(o,a),i.lineTo(o,l),i.lineWidth=1,i.strokeStyle=e.strokeColor,i.setLineDash([4,8]),i.stroke()),e.strokeY&&(i.beginPath(),i.moveTo(s,n),i.lineTo(c,n),i.lineWidth=1,i.strokeStyle=e.strokeColor,i.setLineDash([4,8]),i.stroke()),i.restore()}}}));var r={legend:{display:!1},hover:{intersect:!0},tooltips:{enabled:!1,yAlign:"top",xAlign:"top",intersect:!1,custom:this.$miOverviewTooltips,callbacks:{title:function(r,i){r=r[0];var o=i.datasets[0].labels[r.index],n=t.$formatNumber(i.datasets[0].data[r.index]),a=i.datasets[0].trend[r.index];return[o,n,a,e.tooltip,e.id]},label:function(){return""}}},scales:{xAxes:[{spanGaps:!0,position:"bottom",gridLines:{show:!0,color:e.gridColor},ticks:{fontColor:e.labelColor}}],yAxes:[{gridLines:{show:!0,color:e.gridColor},ticks:{fontColor:e.labelColor,callback:function(e){if(e%1===0)return t.$formatNumber(e)}}}]},animation:!1,responsive:!0,maintainAspectRatio:!1,borderWidth:1};for(var i in this.customOptions)this.customOptions.hasOwnProperty(i)&&(r[i]=this.customOptions[i]);return r},tooltipId:function(){return"monsterinsights-chartjs-line-"+this.id+"-tooltip"}},mounted:function(){this.renderChart(this.chartData,this.options)}},R=S,T=r("2877"),D=Object(T["a"])(R,w,_,!1,null,null,null),j=D.exports,I=r("bd74"),B=function(){var t=this,e=t.$createElement,r=t._self._c||e;return t.chartData?r("div",{staticClass:"monsterinsights-reports-pie-chart"},[t.title?r("h3",{class:t.titleClass,domProps:{textContent:t._s(t.title)}}):t._e(),t.tooltip?r("settings-info-tooltip",{attrs:{content:t.tooltip}}):t._e(),r("div",{staticClass:"monsterinsights-reports-pie-chart-holder"},[r("report-pie-chart",{staticClass:"monsterinsights-pie-chart",style:t.style,attrs:{"chart-data":t.chartData,tooltipid:t.id,tooltips:t.enableTooltips,cutoutPercentage:t.cutoutPercentage}}),t.legend?r("ul",{staticClass:"monsterinsights-pie-chart-legend"},t._l(t.chartData.values,(function(e,i){return r("li",{key:i},[r("span",{staticClass:"monsterinsights-pie-chart-legend-color",style:t.labelBackground(t.chartData.datasets[0].backgroundColor[i])}),r("span",{staticClass:"monsterinsights-pie-chart-legend-text",domProps:{textContent:t._s(t.chartData.labels[i])}}),r("span",{staticClass:"monsterinsights-pie-chart-legend-value"},[t._v(" "+t._s(e)+"% ")])])})),0):t._e(),r("div",{staticClass:"monsterinsights-pie-chart-tooltip",attrs:{id:t.tooltipId}})],1)],1):t._e()},L=[],F=(r("a9e3"),y.reactiveProp),E={name:"ReportPieChart",extends:O,mixins:[F],props:{tooltipid:String,tooltips:{default:!0,type:Boolean},cutoutPercentage:Number},data:function(){var t=this,e=this,r={options:{responsive:!0,maintainAspectRatio:!1,tooltips:{enabled:!1,yAlign:"top",xAlign:"top",intersect:!0,callbacks:{title:function(r,i){r=r[0];var o=i.labels[r.index],n=t.$formatNumber(i.datasets[0].data[r.index]);return[o,n,e.tooltipid]},label:function(){return""}}},animation:!1,legend:{display:!1}}};return e.cutoutPercentage&&(r.options.cutoutPercentage=e.cutoutPercentage),e.tooltips&&(r.options.tooltips.custom=e.$miPieTooltips),r},mounted:function(){this.renderChart(this.chartData,this.options)}},V=E,N=Object(T["a"])(V,C,A,!1,null,null,null),z=N.exports,H=r("93ec"),W={name:"ReportOverviewPieChart",components:{SettingsInfoTooltip:H["a"],ReportPieChart:z},props:{chartData:[Object,Boolean],title:String,tooltip:String,legend:{type:Boolean,default:!0},id:String,enableTooltips:{type:Boolean,default:!0},cutoutPercentage:Number,width:{type:Number,default:200},icon:{default:"",type:String}},computed:{titleClass:function(){return"monsterinsights-report-title "+this.icon},tooltipId:function(){return"monsterinsights-chartjs-pie-"+this.id+"-tooltip"},style:function(){return"max-width: "+this.width+"px; max-height: "+this.width+"px;"}},methods:{labelBackground:function(t){return"background-color: "+t+";"}}},U=W,Y=Object(T["a"])(U,B,L,!1,null,null,null),Q=Y.exports,X=function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticClass:"monsterinsights-table-box"},[t.title?r("h3",{class:t.titleClass,domProps:{textContent:t._s(t.title)}}):t._e(),t.tooltip?r("settings-info-tooltip",{attrs:{content:t.tooltip}}):t._e(),r("div",{staticClass:"monsterinsights-table-box-list"},t._l(t.tableRows(),(function(e,i){return r("div",{key:i,staticClass:"monsterinsights-table-list-item"},[r("span",{staticClass:"monsterinsights-reports-list-count",domProps:{textContent:t._s(e.number)}}),r("span",{staticClass:"monsterinsights-reports-list-text",domProps:{innerHTML:t._s(e.text)}}),r("span",{staticClass:"monsterinsights-reports-list-number",domProps:{innerHTML:t._s(t.$formatNumber(e.right))}})])})),0),t.hasButtonSlot()||t.paginate?r("div",{staticClass:"monsterinsights-table-box-footer"},[t._t("button"),t.paginate?r("reports-pagination",{attrs:{limit:t.limit,length:t.rows.length},on:{updated:t.changeLimit}}):t._e()],2):t._e()],1)},q=[],J=(r("fb6a"),function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticClass:"monsterinsights-table-box-pagination"},[r("span",{domProps:{textContent:t._s(t.text_show)}}),r("div",{staticClass:"monsterinsights-buttons-toggle"},[r("button",{class:t.getButtonClass(10),on:{click:function(e){return t.sendUpdate(10)}}},[t._v(" 10 ")]),t.length>10?r("button",{class:t.getButtonClass(25),on:{click:function(e){return t.sendUpdate(25)}}},[t._v(" 25 ")]):t._e(),t.length>25?r("button",{class:t.getButtonClass(50),on:{click:function(e){return t.sendUpdate(50)}}},[t._v(" 50 ")]):t._e()])])}),G=[],K={name:"ReportsPagination",props:{limit:Number,length:Number},data:function(){return{currentLimit:this.limit,text_show:Object(c["a"])("Show","google-analytics-for-wordpress")}},methods:{sendUpdate:function(t){this.currentLimit=t,this.$emit("updated",t)},getButtonClass:function(t){var e="monsterinsights-button";return t===this.currentLimit&&(e+=" monsterinsights-selected-interval"),e}}},Z=K,$=Object(T["a"])(Z,J,G,!1,null,null,null),tt=$.exports,et={name:"ReportListBox",components:{ReportsPagination:tt,SettingsInfoTooltip:H["a"]},props:{title:String,tooltip:String,rows:Array,icon:{default:"",type:String}},data:function(){return{paginate:!1,limit:10}},computed:{titleClass:function(){var t="monsterinsights-report-title ";return this.icon&&(t+=this.icon),this.paginate&&(t+=" monsterinsights-has-pagination"),t}},methods:{tableRows:function(){var t=this.rows;if(t.length<10)while(t.length<10)t.push({number:"",text:"",right:""});return t.length>10&&(this.paginate=!0),t=t.slice(0,this.limit),t},hasButtonSlot:function(){return this.$slots["button"]},changeLimit:function(t){this.limit=t}}},rt=et,it=Object(T["a"])(rt,X,q,!1,null,null,null),ot=it.exports,nt=function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticClass:"monsterinsights-export-pdf-report monsterinsights-export-pdf-report-lite"},[r("div",{staticClass:"monsterinsights-reports-interval-dropdown-container"},[r("button",{class:["monsterinsights-button"],domProps:{innerHTML:t._s(t.buttonText)},on:{click:function(e){e.stopPropagation(),t.dropdownVisible=!t.dropdownVisible}}}),r("div",{directives:[{name:"click-outside",rawName:"v-click-outside",value:t.maybeHideDropdown,expression:"maybeHideDropdown"}],class:t.dropdownClass},[r("div",{staticClass:"monsterinsights-lite-datepicker"},[r("p",{domProps:{innerHTML:t._s(t.text_customize_date)}}),r("a",{staticClass:"monsterinsights-button monsterinsights-button-text",attrs:{href:t.upgrade_url,target:"_blank"}},[r("span",{domProps:{textContent:t._s(t.text_upgrade)}}),r("i",{staticClass:"monstericon-long-arrow-right-light"})])])])])])},at=[],st=r("2b0e");st["a"].directive("click-outside",{bind:function(t,e,r){t.clickOutsideEvent=function(i){t===i.target||t.contains(i.target)||r.context[e.expression](i)},document.body.addEventListener("click",t.clickOutsideEvent)},unbind:function(t){document.body.removeEventListener("click",t.clickOutsideEvent)}});var lt={name:"ReportsPdfExport",props:{buttonText:{type:String,default:Object(c["a"])("Export PDF Report","google-analytics-for-wordpress")}},data:function(){return{dropdownVisible:!1,text_upgrade:Object(c["a"])("Upgrade to PRO","google-analytics-for-wordpress"),upgrade_url:this.$getUpgradeUrl("reports","pdfexport"),text_customize_date:Object(c["a"])("You can export PDF reports only in the PRO version.","google-analytics-for-wordpress")}},computed:{dropdownClass:function(){var t="monsterinsights-reports-intervals-dropdown";return this.dropdownVisible||(t+=" monsterinsights-hide"),t}},methods:{maybeHideDropdown:function(){this.dropdownVisible&&(this.dropdownVisible=!1)}}},ct=lt,dt=Object(T["a"])(ct,nt,at,!1,null,null,null),ut=dt.exports,ht=function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticClass:"monsterinsights-report-row monsterinsights-overview-upsell-desktop"},[r("report-upsell-inline",{attrs:{title:t.text_upsell_title}},[r("p",{domProps:{textContent:t._s(t.text_upsell_content_1)}}),r("p",[r("span",{staticClass:"monsterinsights-green-text"},[r("b",{domProps:{innerHTML:t._s(t.text_upsell_content_2)}})]),r("br"),r("span",{staticClass:"monsterinsights-light",domProps:{innerHTML:t._s(t.text_upsell_content_3)}})]),r("a",{staticClass:"monsterinsights-button monsterinsights-button-green",attrs:{href:t.upgrade_link,target:"_blank"},domProps:{textContent:t._s(t.text_upsell_button)}})])],1)},gt=[],pt=function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticClass:"monsterinsights-report-box monsterinsights-upsell-inline"},[r("div",{staticClass:"monsterinsights-upsell-inline-content"},[r("h3",{domProps:{textContent:t._s(t.title)}}),r("div",{staticClass:"monsterinsights-upsell-content"},[t._t("default")],2)])])},ft=[],mt={name:"ReportUpsellInline",props:{title:String}},vt=mt,bt=Object(T["a"])(vt,pt,ft,!1,null,null,null),yt=bt.exports,xt={name:"ReportOverviewUpsell",components:{ReportUpsellInline:yt},data:function(){return{text_upsell_title:Object(c["a"])("Upgrade to MonsterInsights Pro to Unlock More Actionable Insights","google-analytics-for-wordpress"),text_upsell_content_1:Object(c["a"])("It's easy to double your traffic and sales when you know exactly how people find and use your website. MonsterInsights Pro shows you the stats that matter!","google-analytics-for-wordpress"),text_upsell_content_2:Object(c["a"])("Upgrade to MonsterInsights Pro and Save 50% OFF!","google-analytics-for-wordpress"),text_upsell_content_3:Object(c["d"])(Object(c["a"])("Use coupon code %1$sLITEUPGRADE%2$s","google-analytics-for-wordpress"),"<b>","</b>"),text_upsell_button:Object(c["a"])("Upgrade to MonsterInsights Pro","google-analytics-for-wordpress"),upgrade_link:this.$getUpgradeUrl("report","overview")}}},wt=xt,_t=Object(T["a"])(wt,ht,gt,!1,null,null,null),Ct=_t.exports,At=function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticClass:"monsterinsights-reports-datepicker"},[r("div",{staticClass:"monsterinsights-reports-interval-dropdown-container"},[r("button",{staticClass:"monsterinsights-reports-interval-date-info",on:{click:function(e){e.stopPropagation(),t.dropdownVisible=!t.dropdownVisible}}},[r("span",{domProps:{innerHTML:t._s(t.selectedIntervalText)}}),r("i",{staticClass:"monstericon-calendar-alt"})]),r("div",{directives:[{name:"click-outside",rawName:"v-click-outside",value:t.maybeHideDropdown,expression:"maybeHideDropdown"}],class:t.dropdownClass},[r("div",{staticClass:"monsterinsights-lite-datepicker"},[r("p",{domProps:{innerHTML:t._s(t.text_customize_date)}}),r("a",{staticClass:"monsterinsights-button monsterinsights-button-text",attrs:{href:t.upgrade_url,target:"_blank"}},[r("span",{domProps:{textContent:t._s(t.text_upgrade)}}),r("i",{staticClass:"monstericon-long-arrow-right-light"})])])])])])},kt=[];function Ot(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,i)}return r}function Mt(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?Ot(Object(r),!0).forEach((function(e){Object(n["a"])(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Ot(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}st["a"].directive("click-outside",{bind:function(t,e,r){t.clickOutsideEvent=function(i){t===i.target||t.contains(i.target)||r.context[e.expression](i)},document.body.addEventListener("click",t.clickOutsideEvent)},unbind:function(t){document.body.removeEventListener("click",t.clickOutsideEvent)}});var Pt={name:"ReportsDatePicker",data:function(){return{dropdownVisible:!1,text_30_days:Object(c["a"])("Last 30 days","google-analytics-for-wordpress"),text_customize_date:Object(c["d"])(Object(c["a"])("You can customize your %sdate range only in the PRO version.","google-analytics-for-wordpress"),"<br />"),text_upgrade:Object(c["a"])("Upgrade to PRO","google-analytics-for-wordpress"),upgrade_url:this.$getUpgradeUrl("reports","datepicker")}},computed:Mt({},Object(a["b"])({date:"$_reports/date",activeReport:"$_reports/activeReport"}),{selectedIntervalText:function(){return this.getIntervalFormatted(this.text_30_days,u()().subtract(30,"days"),u()().subtract(1,"days"))},local_date:function(){return this.date.text},dropdownClass:function(){var t="monsterinsights-reports-intervals-dropdown";return this.dropdownVisible||(t+=" monsterinsights-hide"),t}}),methods:{getFormattedDate:function(t){if(t instanceof Date){var e=this.addLeadingZero(t.getMonth()+1),r=this.addLeadingZero(t.getDate());t=t.getFullYear()+"-"+e+"-"+r}return t},addLeadingZero:function(t){return t<10&&t>0?0+t.toString():t},getInterval:function(t,e,r,i){this.dropdownVisible=!1,this.interval=i,this.$store.commit("$_reports/UPDATE_DATE",{start:t.format("YYYY-MM-DD"),end:e.format("YYYY-MM-DD")}),window.blur(),this.$store.dispatch("$_reports/getReportData",this.activeReport),this.local_date=""},getIntervalText:function(t,e){return t.format("YYYYMMDD")===e.format("YYYYMMDD")?t.format("MMMM D, YYYY"):t.format("MMMM D")+" - "+e.format("MMMM D, YYYY")},getIntervalFormatted:function(t,e,r){return"<b>"+t+":</b> "+this.getIntervalText(e,r)},getButtonClass:function(t){var e="monsterinsights-button";return t===this.interval&&(e+=" monsterinsights-selected-interval"),e},maybeHideDropdown:function(){this.dropdownVisible&&(this.dropdownVisible=!1)}}},St=Pt,Rt=Object(T["a"])(St,At,kt,!1,null,null,null),Tt=Rt.exports,Dt=function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticClass:"monsterinsights-report-row monsterinsights-mobile-upsell"},[r("div",{staticClass:"monsterinsights-notice monsterinsights-notice-success"},[r("div",{staticClass:"monsterinsights-notice-inner"},[r("span",{domProps:{innerHTML:t._s(t.text_upsell_title)}}),r("div",{staticClass:"monsterinsights-notice-button"},[r("a",{staticClass:"monsterinsights-button monsterinsights-button-green",attrs:{href:t.upgrade_link},domProps:{textContent:t._s(t.text_upsell_button)}})])])])])},jt=[],It={name:"ReportOverviewUpsellMobile",data:function(){return{text_upsell_title:Object(c["d"])(Object(c["a"])("Upgrade to Pro and unlock addons and other great features. %1$sSave 50%% automatically!%2$s","google-analytics-for-wordpress"),'<span class="monsterinsights-green-text"><b>',"</b></span>"),text_upsell_button:Object(c["a"])("Upgrade Now","google-analytics-for-wordpress"),upgrade_link:this.$getUpgradeUrl("report","overview-mobile")}}},Bt=It,Lt=Object(T["a"])(Bt,Dt,jt,!1,null,null,null),Ft=Lt.exports;function Et(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,i)}return r}function Vt(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?Et(Object(r),!0).forEach((function(e){Object(n["a"])(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Et(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}var Nt={name:"ReportOverview",components:{ReportOverviewUpsellMobile:Ft,ReportOverviewDatePicker:Tt,ReportOverviewUpsell:Ct,ReportListBox:ot,ReportsPdfExport:ut,ReportOverviewPieChart:Q,ReportInfobox:I["a"],ReportOverviewLineChart:j},computed:Vt({},Object(a["b"])({overview:"$_reports/overview",date:"$_reports/date",license:"$_license/license",license_network:"$_license/license_network"}),{gaLinks:function(){return!!this.overview.galinks},infoboxRange:function(){return this.overview.infobox&&this.overview.infobox.range?this.overview.infobox.range:0},infoboxSessionsData:function(){return this.infoboxData("sessions")},infoboxPageviewsData:function(){return this.infoboxData("pageviews")},infoboxDurationData:function(){return this.infoboxData("duration")},infoboxBounceData:function(){return this.infoboxData("bounce",!0)},newVsReturningData:function(){return!!this.overview.newvsreturn&&{datasets:[{data:[this.overview.newvsreturn.new,this.overview.newvsreturn.returning],backgroundColor:["#2679c1","#57a9f1"]}],values:[this.overview.newvsreturn.new,this.overview.newvsreturn.returning],labels:[Object(c["a"])("New","google-analytics-for-wordpress"),Object(c["a"])("Returning","google-analytics-for-wordpress")]}},devicesData:function(){return!!this.overview.devices&&{datasets:[{data:[this.overview.devices.desktop,this.overview.devices.tablet,this.overview.devices.mobile],backgroundColor:["#2679c1","#57a9f1","#b1dafd"]}],values:[this.overview.devices.desktop,this.overview.devices.tablet,this.overview.devices.mobile],labels:[Object(c["a"])("Desktop","google-analytics-for-wordpress"),Object(c["a"])("Tablet","google-analytics-for-wordpress"),Object(c["a"])("Mobile","google-analytics-for-wordpress")]}},countriesData:function(){var t=[],e=0;return this.overview.countries&&this.overview.countries.forEach((function(r){e++,t.push({number:e+".",text:'<span class="monsterinsights-flag monsterinsights-flag-'+r.iso.toLowerCase()+'"></span> '+r.name,right:r.sessions})})),t},referralsData:function(){var t=[],e=0;return this.overview.referrals&&this.overview.referrals.forEach((function(r){e++,t.push({number:e+".",text:'<img src="https://www.google.com/s2/favicons?domain=http://'+r.url+'" />'+r.url,right:r.sessions})})),t},topPostsData:function(){var t=[],e=0;return this.overview.toppages&&this.overview.toppages.forEach((function(r){e++;var i=r.hostname?'<a href="'+r.hostname+r.url+'" target="_blank" rel="noreferrer noopener">'+r.title+"</a>":r.title;t.push({number:e+".",text:i,right:r.sessions})})),t}}),data:function(){return{text_overview:Object(c["a"])("Overview Report","google-analytics-for-wordpress"),text_sessions:Object(c["a"])("Sessions","google-analytics-for-wordpress"),text_sessions_tooltip:Object(c["d"])(Object(c["a"])("Unique %s Sessions","google-analytics-for-wordpress"),"<br />"),text_pageviews:Object(c["a"])("Pageviews","google-analytics-for-wordpress"),text_pageviews_tooltip:Object(c["d"])(Object(c["a"])("Unique %s Pageviews","google-analytics-for-wordpress"),"<br />"),text_duration:Object(c["a"])("Avg. Session Duration","google-analytics-for-wordpress"),text_bounce:Object(c["a"])("Bounce Rate","google-analytics-for-wordpress"),text_new_vs_returning:Object(c["a"])("New vs. Returning Visitors","google-analytics-for-wordpress"),text_device_breakdown:Object(c["a"])("Device Breakdown","google-analytics-for-wordpress"),text_countries:Object(c["a"])("Top 10 Countries","google-analytics-for-wordpress"),text_countries_button:Object(c["a"])("View Countries Report","google-analytics-for-wordpress"),text_referrals:Object(c["a"])("Top 10 Referrals","google-analytics-for-wordpress"),text_referral_button:Object(c["a"])("View All Referral Sources","google-analytics-for-wordpress"),text_top_posts:Object(c["a"])("Top Posts/Pages","google-analytics-for-wordpress"),text_top_posts_button:Object(c["a"])("View Full Posts/Pages Report","google-analytics-for-wordpress"),current_tab:"sessions",text_infobox_tooltip_sessions:Object(c["a"])("A session is the browsing session of a single user to your site.","google-analytics-for-wordpress"),text_infobox_tooltip_pageviews:Object(c["a"])("A pageview is defined as a view of a page on your site that is being tracked by the Analytics tracking code. Each refresh of a page is also a new pageview.","google-analytics-for-wordpress"),text_infobox_tooltip_average:Object(c["a"])("Total duration of all sessions (in seconds) / number of sessions.","google-analytics-for-wordpress"),text_infobox_tooltip_bounce:Object(c["a"])("Percentage of single-page visits (or web sessions). It is the number of visits in which a person leaves your website from the landing page without browsing any further.","google-analytics-for-wordpress"),text_pie_tooltip_newvsreturning:Object(c["a"])("This graph shows what percent of your user sessions come from new versus repeat visitors.","google-analytics-for-wordpress"),text_pie_tooltip_devices:Object(c["a"])("This graph shows what percent of your visitor sessions are done using a traditional computer or laptop, tablet or mobile device to view your site.","google-analytics-for-wordpress"),text_countries_tooltip:Object(c["a"])("This list shows the top countries your website visitors are from.","google-analytics-for-wordpress"),text_referral_tooltip:Object(c["a"])("This list shows the top websites that send your website traffic, known as referral traffic.","google-analytics-for-wordpress"),text_top_posts_tooltip:Object(c["a"])("This list shows the most viewed posts and pages on your website.","google-analytics-for-wordpress"),text_export_pdf_overview_report:Object(c["a"])("Export PDF Overview Report","google-analytics-for-wordpress")}},methods:{infoboxData:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r={};return this.overview.infobox&&this.overview.infobox[t]&&(r.change=this.overview.infobox[t]["prev"],r.value=this.overview.infobox[t]["value"].toString(),0===this.overview.infobox[t]["prev"]?r.direction="":this.overview.infobox[t]["prev"]>0?(r.direction="up",r.color="green"):(r.direction="down",r.color="red")),e&&("down"===r.direction?r.color="green":r.color="red"),r},switchTab:function(t){this.current_tab=t},activeTabButtonClass:function(t){return t===this.current_tab?"monsterinsights-active-tab-button":"monsterinsights-deactive-tab-button"},sessionsData:function(){return this.overview.overviewgraph?{labels:this.overview.overviewgraph.labels,datasets:[{lineTension:0,borderColor:"#5fa6e7",backgroundColor:"rgba(\t109, 176, 233, 0.2)",fillOpacity:.2,fillColor:"rgba(\t109, 176, 233, 0.2)",pointRadius:4,pointBorderColor:"#3783c4",pointBackgroundColor:"#FFF",hoverRadius:1,pointHoverBackgroundColor:"#FFF",pointHoverBorderColor:"#3783c4",pointHoverBorderWidth:4,pointHoverRadius:6,labels:this.overview.overviewgraph.labels,data:this.overview.overviewgraph.sessions.datapoints,trend:this.overview.overviewgraph.sessions.trendpoints}]}:{}},pageviewsData:function(){return this.overview.overviewgraph?{labels:this.overview.overviewgraph.labels,datasets:[{lineTension:0,borderColor:"#5fa6e7",backgroundColor:"rgba(\t109, 176, 233, 0.2)",fillOpacity:.2,fillColor:"rgba(\t109, 176, 233, 0.2)",pointRadius:4,pointBorderColor:"#3783c4",pointBackgroundColor:"#FFF",hoverRadius:1,pointHoverBackgroundColor:"#FFF",pointHoverBorderColor:"#3783c4",pointHoverBorderWidth:4,pointHoverRadius:6,labels:this.overview.overviewgraph.labels,data:this.overview.overviewgraph.pageviews.datapoints,trend:this.overview.overviewgraph.pageviews.trendpoints}]}:{}},showChart:function(){var t=!0;return this.overview.overviewgraph&&0===this.overview.overviewgraph.count&&(t=!1),t}},mounted:function(){this.$store.dispatch("$_reports/getReportData","overview")}},zt=Nt,Ht=Object(T["a"])(zt,h,g,!1,null,null,null),Wt=Ht.exports,Ut=function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("main",{staticClass:"monsterinsights-report monsterinsights-report-publishers"},[r("div",{staticClass:"monsterinsights-report-top"},[r("h2",{domProps:{textContent:t._s(t.text_publishers)}})]),r("div",{staticClass:"monsterinsights-report-row"},[r("report-table-box",{attrs:{headers:t.fake_headers,title:t.text_publishers,rows:[]}})],1),r("report-upsell-overlay",{attrs:{report:"publisher",level:"plus"}})],1)},Yt=[],Qt=function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{class:t.componentClass},[t.title?r("h3",{class:t.titleClass,domProps:{textContent:t._s(t.title)}}):t._e(),t.tooltip?r("settings-info-tooltip",{attrs:{content:t.tooltip}}):t._e(),r("div",{staticClass:"monsterinsights-table-box-list monsterinsights-table-box-table"},[t.rows.length>0?r("table",[t.headers.length>0?r("thead",[r("tr",t._l(t.headers,(function(e,i){return r("th",{key:i,domProps:{textContent:t._s(e)}})})),0)]):t._e(),r("tbody",t._l(t.tableRows,(function(e,i){return r("tr",{key:i,class:t.rowClass(i),on:{click:function(e){return t.toggleMobileTables(i)}}},t._l(e,(function(e,o){return r("td",{key:o,class:t.cellClass(o)},[t.showMobileRow(i,o)?r("div",{staticClass:"monsterinsights-table-mobile-heading",domProps:{textContent:t._s(t.headers[o])}}):t._e(),r("div",{staticClass:"monsterinsights-table-item-content",domProps:{innerHTML:t._s(t.cellText(e,o,i))}})])})),0)})),0)]):r("div",{staticClass:"monsterinsights-table-no-data"},[r("h3",{domProps:{textContent:t._s(t.emptytext)}})])]),t.hasButtonSlot()||t.paginate?r("div",{staticClass:"monsterinsights-table-box-footer"},[t._t("button"),t.paginate?r("reports-pagination",{attrs:{limit:t.limit,length:t.rows.length},on:{updated:t.changeLimit}}):t._e()],2):t._e()],1)},Xt=[];r("4795");function qt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,i)}return r}function Jt(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?qt(Object(r),!0).forEach((function(e){Object(n["a"])(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):qt(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}var Gt,Kt,Zt,$t,te={name:"ReportTableBox",components:{ReportsPagination:tt,SettingsInfoTooltip:H["a"]},props:{title:String,tooltip:String,rows:Array,headers:Array,button:Object,emptytext:String,mobileWidth:{default:783,type:Number},icon:{default:"",type:String}},data:function(){return{paginate:!1,limit:10,text_show:Object(c["a"])("Show","google-analytics-for-wordpress"),activeRow:"",isMobile:!1,resizing:!1}},computed:Jt({},Object(a["b"])({mobileTableExpanded:"$_reports/mobileTableExpanded"}),{mobileHeaders:function(){var t=[];return this.headers.forEach((function(e,r){r>0&&t.push(e)})),t},emptyTable:function(){var t=[[this.emptytext]];while(t.length<10)t.push(["&nbsp;"]);return t},componentClass:function(){var t="monsterinsights-table-box";return this.isMobile&&(t+=" monsterinsights-table-box-mobile"),t},tableRows:function(){var t=this.rows;if(t.length<10){var e=[],r=0;while(r<this.headers.length)e.push(""),r++;while(t.length<10)t.push(e)}return t=t.slice(0,this.limit),t},titleClass:function(){var t="monsterinsights-report-title ";return this.icon&&(t+=this.icon),this.paginate&&(t+=" monsterinsights-has-pagination"),t}}),methods:{hasButtonSlot:function(){return this.rows.length>10&&(this.paginate=!0),this.$slots["button"]},getButtonClass:function(t){var e="monsterinsights-button";return t===this.limit&&(e+=" monsterinsights-selected-interval"),e},cellText:function(t,e,r){if(""===t)return"&nbsp;";if(0===e){var i=r+1;return'<span class="monsterinsights-reports-list-count">'+i+'.</span><span class="monsterinsights-reports-list-title">'+t+"</span>"}return t},rowClass:function(t){var e="monsterinsights-table-list-item";return(this.mobileTableExpanded||this.activeRow===t)&&window.innerWidth<this.mobileWidth&&(e+=" monsterinsights-table-list-item-active"),""===this.tableRows[t][0]&&(e+=" monsterinsights-table-list-item-empty"),e},showMobileRow:function(t,e){return window.innerWidth<this.mobileWidth&&e>0&&(this.mobileTableExpanded||t===this.activeRow)},handleResize:function(){this.resizing||(this.resizing=!0,window.requestAnimationFrame?window.requestAnimationFrame(this.resizeCallback):setTimeout(this.resizeCallback,66))},resizeCallback:function(){this.isMobile=window.innerWidth<this.mobileWidth,this.resizing=!1},cellClass:function(t){return t++,"monsterinsights-table-cell-"+t},toggleMobileTables:function(t){if(this.mobileTableExpanded)return!1;this.activeRow=this.activeRow===t?"":t},changeLimit:function(t){this.limit=t}},mounted:function(){window.addEventListener("resize",this.handleResize),this.handleResize()},beforeDestroy:function(){window.removeEventListener("resize",this.handleResize)}},ee=te,re=Object(T["a"])(ee,Qt,Xt,!1,null,null,null),ie=re.exports,oe=r("48c7"),ne={name:"ReportSearchConsole",components:{ReportUpsellOverlay:oe["a"],ReportTableBox:ie},mounted:function(){this.$store.commit("$_reports/ENABLE_BLUR")},data:function(){return{text_publishers:Object(c["a"])("Publishers","google-analytics-for-wordpress"),fake_headers:["Page Titles","Visits","Avg. Duration","Bounce Rate"]}}},ae=ne,se=Object(T["a"])(ae,Ut,Yt,!1,null,null,null),le=se.exports,ce=function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("main",{staticClass:"monsterinsights-report monsterinsights-report-ecommerce"},[r("div",{staticClass:"monsterinsights-report-top"},[r("h2",{domProps:{textContent:t._s(t.text_ecommerce)}})]),r("div",{staticClass:"monsterinsights-report-row"},[r("report-table-box",{attrs:{headers:t.fake_headers,title:t.text_upsell_title,rows:[]}})],1),r("report-upsell-overlay",{attrs:{report:"ecommerce"}})],1)},de=[],ue={name:"ReportEcommerce",components:{ReportUpsellOverlay:oe["a"],ReportTableBox:ie},data:function(){return{text_upsell_title:Object(c["a"])("eCommerce","google-analytics-for-wordpress"),text_ecommerce:Object(c["a"])("eCommerce Report","google-analytics-for-wordpress"),fake_headers:["Conversions","Percent","Date"]}},mounted:function(){this.$store.commit("$_reports/ENABLE_BLUR")}},he=ue,ge=Object(T["a"])(he,ce,de,!1,null,null,null),pe=ge.exports,fe=function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("main",{staticClass:"monsterinsights-report monsterinsights-report-search-console"},[r("div",{staticClass:"monsterinsights-report-top"},[r("h2",{domProps:{textContent:t._s(t.text_search_console)}})]),r("div",{staticClass:"monsterinsights-report-row"},[r("report-table-box",{attrs:{headers:t.fake_headers,title:t.text_upsell,rows:[]}})],1),r("report-upsell-overlay",{attrs:{report:"queries"}})],1)},me=[],ve={name:"ReportSearchConsole",components:{ReportUpsellOverlay:oe["a"],ReportTableBox:ie},mounted:function(){this.$store.commit("$_reports/ENABLE_BLUR")},data:function(){return{text_upsell:"",text_search_console:Object(c["a"])("Search Console Report","google-analytics-for-wordpress"),fake_headers:["Terms","Clicks","Impressions","CTR","Avg. Position"]}}},be=ve,ye=Object(T["a"])(be,fe,me,!1,null,null,null),xe=ye.exports,we=function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("main",{staticClass:"monsterinsights-report monsterinsights-report-dimensions"},[r("div",{staticClass:"monsterinsights-report-top"},[r("h2",{domProps:{textContent:t._s(t.text_dimensions)}})]),r("div",{staticClass:"monsterinsights-report-row"},[r("report-table-box",{attrs:{headers:t.fake_headers,title:t.text_dimensions,rows:[]}})],1),r("report-upsell-overlay",{attrs:{report:"dimensions"}})],1)},_e=[],Ce={name:"ReportDimensions",components:{ReportUpsellOverlay:oe["a"],ReportTableBox:ie},data:function(){return{text_dimensions_upsell:Object(c["a"])("Dimensions","google-analytics-for-wordpress"),text_dimensions:Object(c["a"])("Dimensions Report","google-analytics-for-wordpress"),fake_headers:["Author","Percent"]}},mounted:function(){this.$store.commit("$_reports/ENABLE_BLUR")}},Ae=Ce,ke=Object(T["a"])(Ae,we,_e,!1,null,null,null),Oe=ke.exports,Me=function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("main",{staticClass:"monsterinsights-report monsterinsights-report-forms"},[r("div",{staticClass:"monsterinsights-report-top"},[r("h2",{domProps:{textContent:t._s(t.text_forms)}})]),r("div",{staticClass:"monsterinsights-report-row"},[r("report-table-box",{attrs:{headers:t.fake_headers,title:t.text_forms_upsell,rows:[]}})],1),r("report-upsell-overlay",{attrs:{report:"forms"}})],1)},Pe=[],Se={name:"ReportSearchConsole",components:{ReportUpsellOverlay:oe["a"],ReportTableBox:ie},mounted:function(){this.$store.commit("$_reports/ENABLE_BLUR")},data:function(){return{text_forms:Object(c["a"])("Forms Report","google-analytics-for-wordpress"),text_forms_upsell:"",fake_headers:["Form Name or ID","Impressions","Conversions","Conversion Rate"]}}},Re=Se,Te=Object(T["a"])(Re,Me,Pe,!1,null,null,null),De=Te.exports,je=function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("main",{staticClass:"monsterinsights-report monsterinsights-report-realtime"},[r("div",{staticClass:"monsterinsights-report-top"},[r("h2",{domProps:{textContent:t._s(t.text_realtime)}})]),r("div",{staticClass:"monsterinsights-report-row monsterinsights-report-flex monsterinsights-report-2-columns"},[r("div",{staticClass:"monsterinsights-report-box"},[r("h3",{domProps:{textContent:t._s(t.text_right_now)}}),r("settings-info-tooltip",{attrs:{content:t.text_right_now_tooltip}}),r("div",{staticClass:"monsterinsights-realtime-box-content"},[[r("div",{staticClass:"monsterinsights-realtime-large",domProps:{textContent:t._s(0)}}),r("div",{staticClass:"monsterinsights-realtime-active",domProps:{textContent:t._s(t.text_active)}})],r("p",{domProps:{textContent:t._s(t.text_active_explainer)}}),r("p",[r("span",{domProps:{textContent:t._s(t.text_refresh_explainer)}}),r("span",{domProps:{textContent:t._s(t.sprintf(t.text_refresh_ago,t.seconds))}}),r("span",{domProps:{textContent:t._s(t.text_refresh_explainer_2)}}),r("span",{domProps:{textContent:t._s(t.text_refresh_explainer_3)}})])],2)],1),r("div",{staticClass:"monsterinsights-report-box"},[r("h3",{domProps:{textContent:t._s(t.text_graph_title)}}),r("settings-info-tooltip",{attrs:{content:t.text_pageviews_tooltip}}),r("div",{staticClass:"monsterinsights-realtime-box-content"})],1)]),r("div",{staticClass:"monsterinsights-report-row"},[r("report-table-box",{attrs:{title:t.text_top_pages,headers:t.top_pages_headers,rows:[],emptytext:t.text_top_pages_empty,tooltip:t.text_top_pages_tooltip}})],1),r("report-upsell-overlay",{attrs:{report:"realtime"}})],1)},Ie=[],Be={name:"ReportRealTime",components:{ReportUpsellOverlay:oe["a"],SettingsInfoTooltip:H["a"],ReportTableBox:ie},data:function(){return{text_realtime:Object(c["a"])("Real-Time Report","google-analytics-for-wordpress"),text_right_now:Object(c["a"])("Right Now","google-analytics-for-wordpress"),text_active:Object(c["a"])("Active users on site","google-analytics-for-wordpress"),text_graph_not_available:Object(c["a"])("The real-time graph of visitors over time is not currently available for this site. Please try again later.","google-analytics-for-wordpress"),text_active_explainer:Object(c["a"])("Important: this only includes users who are tracked in real-time. Not all users are tracked in real-time including (but not limited to) logged-in site administrators, certain mobile users, and users who match a Google Analytics filter.","google-analytics-for-wordpress"),text_refresh_explainer:Object(c["a"])("The real-time report automatically updates approximately every 60 seconds.","google-analytics-for-wordpress"),text_refresh_ago:Object(c["a"])("The real-time report was last updated %s seconds ago.","google-analytics-for-wordpress"),text_refresh_explainer_2:Object(c["a"])("The latest data will be automatically shown on this page when it becomes available.","google-analytics-for-wordpress"),text_refresh_explainer_3:Object(c["a"])("There is no need to refresh the browser (doing so won't have any effect).","google-analytics-for-wordpress"),text_graph_title:Object(c["a"])("Pageviews Per Minute","google-analytics-for-wordpress"),text_chart_tooltip:Object(c["d"])(Object(c["a"])("Unique %s Pageviews","google-analytics-for-wordpress"),"<br />"),text_top_pages:Object(c["a"])("Top Pages","google-analytics-for-wordpress"),text_top_pages_empty:Object(c["a"])("No pageviews currently.","google-analytics-for-wordpress"),top_pages_headers:[Object(c["a"])("Page","google-analytics-for-wordpress"),Object(c["a"])("Pageview Count","google-analytics-for-wordpress"),Object(c["a"])("Percent of Total","google-analytics-for-wordpress")],text_right_now_tooltip:Object(c["a"])("This is the number of active users currently on your site.","google-analytics-for-wordpress"),text_pageviews_tooltip:Object(c["a"])("This graph shows the number of pageviews for each of the last 30 minutes.","google-analytics-for-wordpress"),text_top_pages_tooltip:Object(c["a"])("This list shows the top pages users are currently viewing on your site.","google-analytics-for-wordpress"),text_top_pages_button:Object(c["a"])("View All Real-Time Pageviews","google-analytics-for-wordpress"),text_referrals_button:Object(c["a"])("View All Real-Time Traffic Sources","google-analytics-for-wordpress"),text_countries_button:Object(c["a"])("View All Real-Time Traffic by Country","google-analytics-for-wordpress"),text_city_button:Object(c["a"])("View All Real-Time Traffic by City","google-analytics-for-wordpress"),seconds:12}},mounted:function(){this.$store.commit("$_reports/ENABLE_BLUR")},methods:{sprintf:c["d"]}},Le=Be,Fe=Object(T["a"])(Le,je,Ie,!1,null,null,null),Ee=Fe.exports,Ve=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("main",{class:["monsterinsights-report-year-in-review","monsterinsights-report-row",t.yearInReview.is_enabled?"":"monsterinsights-yir-report-calculating-row"]},[t.yearInReview.is_enabled?t._e():i("div",{staticClass:"monsterinsights-yir-top-header monsterinsights-yir-report-calculating"},[i("h1",{staticClass:"monsterinsights-yir-title",domProps:{textContent:t._s(t.text_calculating)}}),i("p",{staticClass:"monsterinsights-yir-summary",domProps:{textContent:t._s(t.text_year_in_review_still_calculating)}}),i("router-link",{staticClass:"monsterinsights-navigation-tab-link",attrs:{to:"/"},domProps:{textContent:t._s(t.text_back_to_overview_report)}})],1),t.yearInReview.is_enabled?i("div",[i("header",{staticClass:"monsterinsights-yir-top-header"},[i("span",{staticClass:"monsterinsights-yir-subtitle"},[i("svg",{attrs:{width:"75",height:"76",viewBox:"0 0 75 76",fill:"none",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"}},[i("path",{attrs:{d:"M0 75.25H75V0.249999H0V75.25Z",fill:"url(#pattern0)"}}),i("defs",[i("pattern",{attrs:{id:"pattern0",patternContentUnits:"objectBoundingBox",width:"1",height:"1"}},[i("use",{attrs:{"xlink:href":"#image0",transform:"scale(0.015625)"}})]),i("image",{attrs:{id:"image0",width:"64",height:"64","xlink:href":"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAgrklEQVR4AczOc2AriRoF8DOZJBNOmhRpG9W6tVfXtpbFtW3btm3btm2nVurwRp339r3VXXv39/f3nXPY+B7Pj3by2NJAacnd8RUALPgdpjF5jZvJgprmGMrO5RnKjwEw4l8iS+h4T+Kk3QAcapt3jk0U4lsJdU+0kPgmjCGEPGn2ka49AZzAb9TH+EDdSx13xVPqraxy2lFi0l97mpkxCcAx/MNOSQx1B/WcsUOYkScav3JifQAXiOGiUCyWBLC8YkdOloUlj2BYVujubhhRcmv5KgCl+I0mSAU1B3rHngNJASQDUBQcTph2Pr7aB8A6fKWvS6KMpajpC+AO/gRTnk6ueao48yWAfPyERvVbTekwdMFIZGXg1frll8aeXleHIAiK0FRfPk1Tp/0ws7GgIuvExDYAzuJ3al58UdPFrdr2KIFbEkWyCZAEIBTBDMbU++rGJgAuHFJ3dveu3nYzT+EX/+LA6hQAx/E7tXw8g9NGFdG/TmLjCdeynuwBkIafsOz15YT1I1adFXmpRc6L552T10ytT7j6p1UParnuAiljqp5tSUkDsBV/UL+ch1KriBdX19VnTE2JojpYBCB1Q7buzZnUQnvvgtZzlmkCvWtySKCySF/8aEO3FACn8BuF5Rwi+qoSJ6eE1RoJV1eApjH0yIp0AJvwIw5p7xBzmvXY27hxSkvk5uPcrvUriKAmRxfSSY36mHTP7gOIwR+07PmC8d4ELQPQt8+NLYLuqug1zVw0n5EcChDxrRN0xmm7aw1PVQZ4B3AcAI8C7m6eNRrAFPwO7bW7hoyOaDITYhrwlmPXtSNzAAzGT8jWF3cf1KTzMoBE/uVLl9lVLFJisQBOgqLKHxz2ZwvVWgAMfqP40+25PT9o3fOjT7uPY9mdOL9zjcRg1veYoL3Skw6iImqLFdVA8qlmnJzIA3sGp1naL9svlUvkWaePTyx8cHwefqe55fcWJkvVTepEfFhj5/X9E3fdPTcbP6OhX2QhcnMAIQ0XkuIRnrGjU6XJEzeRYgIMy5xZZdW/dhhLtIyzKoPFEFl2Q+k9AM/xCzrfHB01oOPQ+3wPTzDGShDFpei9dsJnAHaY2cync32rb3cRu8FIMQUdTq4KvqL+KM49uEUwgBX4g0LuTQmv5+YfCmAXfonROKpzUO3JEEpQlPHmGiFw/0DkETd0Ox3cvAnBA5wsgAHAMAyYKifAOHSlN9bPAjAbACYkjXWJayhdnvu64j6A6fjK/qlCXpI8YUjHWm0m8tgkjp/av2HszUODAJS6S4SuY/zeu5NMqzRwl2PZjb2ffDX2T2esMAmiWS7JBptV6Q5uno6xvjATTImMxWUeQR/3uWfYDo3cTwmhCEufnJpILPH+EKM4HjK3aulj+fLEVIIndbWDBZvDCoulAiSPBseY+RhARDf35qrUni4rvEPEjRwWY9XAbtp2ADbjOxrmNuwptIsi1t0/0heAHV9J8gpa3t0jvBuh8MWJ3CcLAPTHn2zS7f3qmcrEdfEewUlOmZuD0ZscDl2xtcpkMRE2h0PM4QWyaCkbLiJkGgoutnq2tzURzRLhayWxfcM4YkUEyZVFWBletIGUN3H1DoLh7twxACav6XWkV9NOnosBPQAGb/MNFQP7ZMb48Hk1FDTnY7udKTSVMkfflDivACjCd72WfzJOlbBDogzEY4fxOIBG+JOtuHuwz7SA6gvLuNSDs9Tbz6R+AW5cvSUy0Mlt6GFyhrMNJq7OUJaRqcs7/Lwgax0AHbFMEInvGx3WXs73il9EK4KaMAXnF2jPjBoHwJ4YXK4cPSZoRf0WdGMwRqyflzXh3lXj8/RYepsuR48nZoAkSfhR5COdkzn1rMK2BIAWACrPeCSN1cRe1ChCuHl88vr2I9tqArDiT5TvwR85SJM4BVaHduKjsxEAzPhKi86dhcLyCv7zB/f0AGz4CrEiqi6+NoqXIhN4RAzgewd14hLFelvW8SEADuE7JFkj5KtXxu2+cDHzGoChRLb5VPMofl3Ly2JUMsAzOw9xFA0VReKI0ZD9xmzbmFVom2W7L+UPl8Q/DlWFuuVJ+A83Ht1QHUAlACwJ7ccRqIJHFWU9vATgDH7Crjf7Arhgc0oclvyvf7/rsKiyXlef+JNhlASHtY8WAeiLX0BsUn2ILw1Xd20sCWk8i8UnfN9mHZlrK7q3CEARfkRrv11iAIYrtwrD5nZSPgjSCNjWrGLYDGbkERT4dgFoFhuvSRvMJINym+1a/mNyV7PXMf3ivMI1JXzyxaGbZz8EUDJIEiP3rtF3Fh0dnqbPKXjxcsewhv/pxi6A47qy/I9/733Qr1+DwGKwzMykSRx0yBRmnkx4mJkxDDM7szsQZmYzM0Nky7ZkErPU3WruB39tZFdcKceD+1/4VP3qtFjnPLp9gaOc4NzOhfLGwJDvX+Ub/kWZsbVeJ9182I29vSXU+CAQ4fiA1LbATYMmL52eU1op4vHUewc+vAZ4l1MQPw+M4vcVF5828JxfLLNke7h53cMX/63r87nZT/zgzrklvxw6agBKpJuummYsqRJKGrRZkFLB0AVen0u8WzBowYj0ZO94PRHQD76zY+t0IPTt07/yh+JzrrjXzoAnCB1bVr918JV7rgEsjvm63x3+s4Gnb/eZeQEiCd7vqX0qMaJIHxJxBq2s2vFlYAfHvOftvvALwysXqbYlUu3de5a01J8JhPgU6uFkFNfqzXcUy2zd+fZPpX/o39R8ft2XsydMKrhemAZdepCSMp3seJxEW4Qu1SbtShT5nxEIIGBKVNXRyThYOTlqt7/XBujd9+ryAePn3K4WenU9mgl7Wne/5yYPuJxgWNnpJZ7iIj9FZaQ6u1O1jZseZmfX3vphRT85d9KMF9tqDz92qKf1z4B9VTq45IOmAz+dkFPw03LDHKQqSsGpBiDuMCp4RqRzK8564CXHP6QskVGOeP1lEYTATnSoUvVoIG3h2N1WuHV5qnXDW0B6hv6jM++aXb66aEypEHkD8OuCkkw7yZoj1HXZNFo6jhR4VIHXB0F0/C+VMzw6Fuvs4tTTytP/vqr68A+A+NrYfd8pP+/W2yNbF33lZG+bf9Px+gXzJ5+3RI4cS6K9Lbz5xefPBKoAVpU5l8zPHvF9raGzu7Gp7okjsZ51bZolp08cv7LC8Q3/ye4lFUAjn0LtyMSYC91r9792Xe74G64wpRiXbN5oaJo3FcgbFheum7HSCY+rekd4B0/4HU76uu7t37qhZJp+Uc4Ar5ABE8dx6QrZKN4gRQML8CXa8fS6WFIiBQS9Kvmmj7SQ2GkHRVc886Znf7WiNGfsoo2RL1zl/8H9CxfFXvi0f1S6wsX0QVEJjqrKqCFUjpnWqbz7uqzdVDly+E1DhhbfNTqWvlfzqJm0x2XBjs1PtdrJdk5BVOLnb9Uw6+Ebjdxzn/ce+NEDn69ceMH0mcMmayWFpNKQSdhgOQzMtvDF29i7r5uIq+DVJcOG+PG5Jt2/CVARHYkzbxjxM5fjVQ9xsDF+6P2tiS+dasOkeNOks28877rl+jkXKpl4LPP2T75+HrCWTwidPT6YZ2aNrT6yLxCMpVrXfLhtD+BwCuKq4ED+VmvGfmlubvnlH4wK/6rtrtMWBIrGjzRdf4BUzMJK2TiWhYZgRJFNrLWZfYej5A8wGTUqi3SLoPNXASqcUaQvGU7o9FUEPQ34hEV7VzT+1vqOnwEPcBJH3x8246cX3bbKPP8SL5rGiz/4/JXAm/wLqJcXT+BvcVtHWBk2+MyvBu04IwraC4N9jQnTSybj4lguruMghEs6neFIk2B4aQFD0w66YeA1VJLRNCIjELqCo0sSmTSW7aBkGRQPMcxbg577P9gQGrxwW/KbQIwTVKDE7N5IkmjES0ExJfmlJfyLqH2/jL9Fjm/wVUX54y5wqt+zho5KumZBjuZIBTvp4NhO/wBcB02FZMKmNaRTNrSQTCSOE8/gJlykLRCahqMJYqkkHhWSjorp1fEN1bkmqN5TGAyV/fvCyF1AC8e0pOKRWLg7HujpziGvAC0YGMy/iNr3y/hr5u47OKzyst8/kmrd71hHNq5QhpWfoeXpWjJpf3z0XQeJi8BFVQShkIXX1BiQ5SXRG8aK6yiWApqGo9poagafqaNKBdsBRfUg8nI4+1xlvt+nvPXm2t7PAdUAu3al21tCna1FXd2lFITx+byF/IuInVf/iFOZuXproPKaR9/KUgrO27vqoedHdBzU588/+5rKWw+S6fmQVK/AsW2EY6PQF4AMCFwMr0vBAJWs3CSti9IoDxdRNnIG3VcaWBPeI8tU0AyJ4pUgBCCR0gE3yeHtHTWPvtJ+G7ABYOCeSTffMPWM2+OFOe2bNiz+I7CcfwHx7MRZfJq76lP6lHk/enLQwHNv3LXuiQWJvS/99JKBk98aMvHi0mEXtFJY8Dqx1m5AIF0Hhf6zQLqgKA6KBFVCQYGKTorYH3Ry6mcTu9FCn76IYMCDLQS4AoRASAUUBakBSpL6za3Nr7zfcTuwCKBoZ6UC2PyNvl/2BcXOxL2aP9vIpJJeoWpBb15ZIBPv9cVa9piukd0sci98hU9jH15ojJly2X3JSG9R7baf3zvV47lw9sR7XvaWTEP1w7hZ76Kl1mDFHBQpUOirwkVV6B+EcAHQJeSXqBhugtjCqbjlJoHKLXg8Oq4rAAlSIpRjZ4IUCB2EmiJyoLtn0+quO0511//s0h8LxZuVoxhmieLzj9WCOWM0f2CE5gsWSUUGVVX1KYpqqor0q4rilarmUVUh0rFErZh1X5y/1YTFs9YPLf3u6XawhHiHRuGIOkbPfB23+wDYKqqkL/2NS9E/BCFBAroU5BbKj2q4ySFroII3S8exAUVB9AVAAEhAuAjZFy1D/Eiod92C2ttP3EW6c8czeUZW/kQtJ2+W5vdP10x/qcdrluiGke3RQVNAlaD9ZwBdBVUAgBSg9Z+dverEMi9/i5rHxORxledOSztZpNMKkjTNu4sJ5s1k0IgO7K4OpNARwkVAf4RAClAEOAJCXS65OYKc4jTxkIM0VDymBxcBtgAhcAXgOOCAsGxQk5jD3MC5F+c/8ZsXxhtP1X8plTNo+HWl07JG66Z/mMerqV4NdAGGAh4FdAW0Y69VBcSxpl0HXBuE6P9836q6QU21h/lbFGR75gwek9SPNPYSPjoAQRzXkhxaPYas3HYKcpdhh2IINIQAcfwsEOL4WY0LhCOQEwzgN5NE28K4hbm4rkEi7BDIFmgm4IJ04yDjJBN+djedxtLmuYGqkpHPDi4sxzBABzwSTAl+FQwdFMC1XexUOmFl0tFwIt4ZjYSb0+lMUzjU0g5qh+vYvbZtxTN9aayvqVEXvvUkf4159JtZt80pvCF/sEVc2Ux7bTlORqJqadIhjQOLP0PgygiB4Dqs3gxSVU9ovD9CCmRfAHpjNlkBk6Bfoaexi6idjVD9KIpNjj8JJAn35rCy7hKW1l9Ebc8YQikVnw4eIBMHzYCgCXoqnU709LS19jRVhTobNsWT8d2O47bFE9Fuy1G64rHunlNt86uuZfHXlOVp44cMyhpjq0FyC3eSnT+G9sMj8agpdCNNpCFA9eJzmXJJAiOwFTtmIVStv/HjzR9P/+lBLGGj+EwG5KvYrSES8QxatkkkGmDZoUv54OA8DvYMJ22BR4LXgUQYLBeKvF1kGvZV7Wrp/KOuyN2hnkP1QD0nYUqVU1E/+Q3TG54+496SiV/e8OH2XwO7APae5bm8tDxHZGwvUvYwcMwCIk1FWHEDXU2iGGk6qvOo1i9k0sUZPHIHdjyDkBpCiI8ij0fKvggEgkTSRga8FA3WibU1UFuXyx/qHmRX50gUF0wlg8hoRFIQEAkm+Ku4aOxipozaQ9vW3cnPLgs/CST4J4iRA4s4rqjH9f3svBvfnSr1Wfv3VzU/Wbf/eyvMI+8/fHP59hHnjxzUYalYsQSq7KVp79nUrr8KVVioqoWSkThJDyXTWpk4dyGGswM76iA1neNHX+mLFLK/yr6qSlRVYPo9yKBFS12CF9bN5b222wmRh0hDidbIafmruah8MWOLqvGVhCHXhF5Y/GbTott/13U1EOUfpEbjrRw3b9ic6yvzymY1H6wiaJolmqGdOaVAaz2rIq/8sKJhxTK4FrhSZeDoVaR6CmjYfT4mvRgyQ9IQNG4tR7qXMPlSDSN7G1Y0gxSej4cgjjf/cVzbAcukeKLJN8teYfii3Txd9XkmlzRwy9jnGZR9CJQMCBMnngOKhnRcLppZNvsrR8VDwD38g9SvXJzHcQO20VHfdPioFzmoOhLqXh6rv+/rQ/xf14uDSq/l4mZswMa1VaSSZsSMd3B7c0kcGIPw2ghV4jHTNO8oQdI3hMs9mDlbsHpT/UMQsr95RfQffU2iaQqyr+I6kPDAsPFcemMnY5d/hUCqi8JiE+wAVsRFOA74QQgHN2kRC7tcc3be3b96uWUD8Cz/AHHn7CxONHT/qGGV2aWPvNNUs3GjXv2n528dvk89c0h+XcKBeArhWKjHVnymN4oeyaZ60W3UNU1C9SVRJeAqWEmT4nHdTLlqGVnGBqxQDKkYqKo81ryCpit9VUJfxaP2RYGgDr4gZDK0ra8hdKiRQp9BttfAUcH1SoRlk45bhBM2PlNytDnefNWv688CDv3994AyjU8zsSLnuh/fMeSlRFEu8VAaN5NGwUbFwVAcdOEQNCKEesrZuuRewi0jMMw4igJCqFgJL3nDoky7ajX5A1aT6elBKh40j4amS1RNhb6K0d/8R9WrgkcHcoA8uj6sp2XrGrL0NEVFPjRhY8Vt4imXSNomkrCpMBVeXxd+BbiOY0orsy7ctTcUATZxCuLBbxXxadobBy+66bbARdGYJBNLIZwMCg4BJYOp2GRcBSFAM+NEuwdStfhuQq0j8ZhxFBWkULCTXoLFGaZetZnyYctxws0oaKiGAbry8fLNq/ZFA00DoQEKkAVMJ9HWw6FV/4Hb3UZ5rkqWLrAzLj0xi1DCJkdoxBJK+suvNc8679wBvfMvK/nGwEn5N9XVtuz94k07K0/1pBCzJymcTM2eqaO/+aXPbD3zsgZfT3MIx3KQjoVX2hTqCTJI4o6OlKBIMMwosZ5y9iy7m67G8Ri+OKoKUio4aQMjSzDxsmqGVy5DJGogDXi9fVE/jqYDKqAdqwpgAgUkj25h/wcrySQsAqagOMsly3TBAScq6E5pvLQz+er4+WWBc+ZVzAEXyPBvv9r+w2eebPn1py2G1M6IzcmUZZfM8ugzfSlnDbhtCEeiCBe/aiH7quUofRXEsVjpAFl5zUyb/wf2rLyDtsOVqEoSRXHRgzY4Bnvem0EqVsLI2SvQ1W2QToChHz/yxxs/IRZYDdC7E086QfHAfBqPhjjck6K226E8x6HEdAg6Lj7NJZnIFL30UsszZ88pmiOkBgQ457yKmWuXtupAipNQh5QLPmnzutHe8ycOvzndO4y2hnZy/Hux0gk0KT5q3nZUPC6guCA+XuHZaT++7E6mzfsPDqyL0VB9AS4Oqm71xUWRDs0bR+BEixk2fwi+0rXgtoF0P9G4BOKQDkM8ClIiBhgEB3jJ1PeSdiRpS1DVaLPbAkNxcV2HbYeTG7cd6H1+zaLOa6eeVjphz6a2J9cs7/73A02kOea2ofne0hLfvBVVTduAo+LeaTqftPno8KmXzvzqxkD2aZrmb2HiBa+gx3ei2AoB1SVfWCSFQlxIpCIQfel/vEmkkBjeFIrQOLz7cg7vvAqEH18whcejoWs6OgGyClyKzt5HYNw6hLIXSAEGIMGJQzoCwgYcaI/RXBWitqaXzlCMRNrCsl1cIJ1x6O612w41JZ9esTP6SyB6xpS8ijNnFHqB/Rzz5rOH9asnZ884c3LpD4ZPKp69ZOW+54GbxeJvjOCTnt1i/Pj00Y/8LB7PIdaZZuQZexk15Q2cnhbypUpQ2kRdBVtKbK1/I0ORoi8S9aPXCh6vhcfM0Hb0HGq3fJZ0dDD+rDQ+n4JpeNClwKNBYGQE35RdiJyNwCFwYmDboCkQTxI7EKamCg626sR6u3DTzTiOTdqCSMzubu5Mv9PYnnkE2MMpeCKekvtvGrWhfHRhBa7AtZPc98TGS8Sv5+Vwolf39WTfdNFZG4Lq/aM7miV2tH/3dsrl6ykvXYg3FMGLgnQFMY+KrR5vuj+q0r/AUTQVw3BRg0ni4VEc2XY7yZYZ+EwwA+DxgH78fXwQGHwUOXQ5wtwG9OA29dCwtYvqwwFaMwVk0lFEtBYnEyGWJNIZtt6vbUg+Amznb7B0S0r97rwh933nljHfQFWxHDX6l9d3fkf8+y0jOdGyw0fPvvdz01c01HxV1u+uQJcRnKhOVkGaGdcuo8xcidkVJeHx9kU93vTHVe2ruoLeF01XEV4JWWlcJYvu/VeQ2D8XJeXDCIDXC5oEJwnYoA5IkqhYT9R6m+bdazjaECac9mFZGZxUnHgimWhoS33Q2sMjwEb+TodqZfEzX5y2Ss8OdK7b2Pit93c0bhTXTijkRAPHycdvvm3Il4/um8Tuhdej2A66sLBjJgVDejn3ygVk6evpidtI3UCVAkWRfVVB1U5o3qMijj/fTQ2CDmgOmc4JpHZdjtI+FsUGoYFmgJ3OcKimnk079lHXXotadAh/SROCNpKprnQo1rG4sT39MLCaf0K+W1pR4NO6gV4A8cClYznu7f0Hiu69ZfTWcVNLyiLdMWrWXEP7vtPweuJIV+LGDcpGhph47RL8xibsSApVNY6d9spH0T3HmjcU8GofD8CjgRRAClwD52glzsELEZFyutpibNu9g5179tHWFiaVAhQX2xOxk27P8oRofAxYyN/BUpb5z6zQCoDDp14JnvBeYFvSnfeFuye/r+pe3HQHmd489i6+h1jHQLxGHImClTApGB1h+tUryA2sww7HUFQDzaOd0Lx6vPH+eFQQEhD0y/QnY9KzvITFL/vYuStNOKQhFBdHjdKTbl/Z0HP4t8JW3gNsgNaZ93w21FXtAs/wV9yZ+9j1372u+MHqvZ3P7antfcYr7RrA4RPEM5f5AHh4e1xcMbv8uYsvHXNjNJxCWin8Zi/hprFU9Q3BTmTh8SaRQsVOmQwYlOgbwnqKy1bjhDtRFQPN9CBObNxQQVdASvoJQAEc3J4eWnYcpPrDJppbFWKRXLra82npFOuPNur/1tlpvwmkAWoGVJQVT7nyh/kTzrw7ns5kDrz9o8uABXyKwS1/1B68behrF87OvZR4moaa8K6XlzSfB3TzCWpbzAUgEFArxo/Ln+M4AteywJEfNVo0uAox6wX2Lr8dJx1A86XQdYtoSxbbXp7NlCtLGDJ5BSJ5BGwHTBV8x055XYIQgPvxAicTJ7K3iQObGjlSHyVmqaSsDCGnYUtIP/gfXXrqlcAQ4n05jvrwDyfkTD73btejYWb5tcGzv/dEzWvfmwS0cRJjynOLJ48tmgUWqC7xtJvZXpeOcRLi2hEqANrQshs+f8fQF1wL0rEM0hYEvCm8hoXhTdBy4Cz2rf4cVioH059E1VRwveg+DyMvaGD4eWvRvTvBSYDuAVU/vhsKaICN1dTOkY317N/bSXc0Q9KCUMzeVX008afOsP080MtJLKkKeMvOv/835Rfd+hUnmsl0bl/xaEvVmp8DJ23q+qxnfVedM/Km8WOMuwpyYlP+48XqHwO/4CTEH64r4Fevlan33FX67vxLM3Mi7VGEpaArNj4jgyZB0xy8viQdR07rG8LtJKPlmFlJPKZEVb3oSoCisUkGnbcT36D1CHkIyAAGoEMsSsfOevZtaaaxLU5v2iEUdaprGpNP9Mbtp4Ae/op3dpWbQ+be97Abs1YDL/M3+G7OQ9mqaV/w6IKqLUAdJyGmDDRIdFSO/to35m+dcvoGX6K9EY+i4VFtdBVUKVBViaaB6UvQ2zGW/RtvJ9wxCV/QJZANpuFFEwaGCTljWxgwZQdywF7gEOmjR6hZW0dtTYSOXpeuqFPT1/QzDW3pPwMd/DcTN83y03Rw3j1XX37vv48580181lpUW0PXBJoCqqKgqfKjqusSM5jEsQo5UnU9XUfnYih+/Fmg6Q66IsnygTcI3UoVrfHXqT+wjebOVnozvUeaOkMv7D3U+weghf/Prq+qkCd9CpTpgzxzK29fMrz4srOKR21jwmkvIcNt/Xd1TaKpCprSV7X+R5xhaOhZFgRUQq1n0lV1JXbncAwDcgdAJpVg9/a9bN28j6auNuKejsb2VOMrVqDud0Ad/5/d2pAZX/6Zs+4kZesn2zwV544ePnbWhPu3qMmBpkzFmXHlBioGf4ATjqJp3r6oHw3BY6h90dBNDfx6XwT4Ujh2DqmWc5F1ldTtslm7Zj/VtYfoSDS39ro9b6St9GPAQf4/a2p9V3x1/KwfXX/lPV/xTKrMzbS1OPd944bTgc2cQNw6t/SGqWW/eyHaUIqMZcga4FJ53SqKS5fhhuNomg/dq2EYKrpPB//xDQwBPg1UB5I9NK3pYePyBFX79K6OiPrWtprEo0A1/42uGDTw19+99zffw+OB3Hx2v/inFX985mdzgDTHqCOH26eVFm5n/8EyPB5IdXnZ/eZFeK71M3DwCkS8B03T0f0eCOhgqH1RwKeDZdH7YTvV649QVdMRbuiOv1dnJx/Gx64xk/lvt2Jd07/f9uHmOwsrZ+Vl2o7G4prVHpEe7cQBiN98deATs04b/rk9H9xE6Mg0fP4k2CaBPIUpl1cxrHIVqlIPCPB4IWiApmA191C7to5tW1pie+sTH0RS7iPAZv6HmdR14TdmTpk5c/v25Y9U1dVuBjKfuAQKb/rG3eXPZboL2LPkHqIdYwhkpVFVL0bAz/Bzuxh89mZ8BbtBC0EyTPOmFjavaErtPRJZdLA1/Qiwhv+lxOQRRva3bxv5/jmfUWf2NJdQs+5uIh3T8ecKgtkaXk+QvHLJgJGHiMsFVG9eau2q3r+sur71UWAJ/8uJW84P0JhQx/zs9hGvjx8pR9upXOr2XUO4dTamUYDfB7GuVnbu3GSv3bdsZZfd8Xj2wOaFgM3/AeL6s84AwFdSN+LmC8oenzzRnB0oM3HCYzmyfQa71kbiqzbvWLetbtfvWxPtCwCL/0OEC+rxpr59e4U+sth3zejh5rW2HQp8+GFndXWN9eLBIxUbAZv/g/4fMTTuoax+Ww0AAAAASUVORK5CYII="}})])]),t._v(" "+t._s(t.text_sub_title)+" ")]),i("h1",{staticClass:"monsterinsights-yir-title",domProps:{textContent:t._s(t.text_title)}}),i("p",{staticClass:"monsterinsights-yir-summary",domProps:{textContent:t._s(t.text_summary)}})]),i("section",{staticClass:"monsterinsights-yir-audience"},[i("h2",{staticClass:"monsterinsights-yir-title",domProps:{textContent:t._s(t.text_audience_section_title)}}),i("h3",{staticClass:"monsterinsights-yir-summary"},[i("span",{domProps:{textContent:t._s(t.text_congrats)}}),""!=t.yearInReview.user_name?i("span",{domProps:{textContent:t._s(", "+t.yearInReview.user_name)}}):t._e(),t._v("! "),t.isMoreVisitors?i("span",{domProps:{textContent:t._s(t.text_popular)}}):t._e(),i("span",{domProps:{textContent:t._s(t.text_you_had)}}),i("span",[i("strong",{domProps:{textContent:t._s(t.commaNumbers(t.yearInReview.info.users.value)+t.text_visitors)}})]),i("br"),i("br"),i("span",{domProps:{innerHTML:t._s(t.bestMonthVisitorsSummary)}})]),i("div",{staticClass:"monsterinsights-yir-total-visitors-sessions"},[i("div",{staticClass:"monsterinsights-yir-visitors"},[i("img",{attrs:{src:r("648d"),alt:""}}),i("h4",{domProps:{textContent:t._s(t.text_total_visitors)}}),i("span",{staticClass:"monsterinsights-yir-number",domProps:{textContent:t._s(t.commaNumbers(t.yearInReview.info.users.value))}})]),i("div",{staticClass:"monsterinsights-yir-sessions"},[i("img",{attrs:{src:r("0097"),alt:""}}),i("h4",{domProps:{textContent:t._s(t.text_total_sessions)}}),i("span",{staticClass:"monsterinsights-yir-number",domProps:{textContent:t._s(t.commaNumbers(t.yearInReview.info.sessions.value))}})])]),i("div",{staticClass:"monsterinsights-yir-visitor-by-chart"},[i("report-year-in-review-by-month",{attrs:{id:"visitorbymonth",chartData:t.visitorByMonthData,title:t.text_visitor_by_month_chart_title,"sub-title":t.text_visitor_by_month_chart_tooltip}})],1),i("report-year-in-review-tip",{attrs:{title:t.text_audience_tip_title,summary:t.text_audience_tip_summary}})],1),i("div",{staticClass:"monsterinsights-yir-separator"}),i("section",{staticClass:"monsterinsights-yir-demographics"},[i("h2",{staticClass:"monsterinsights-yir-title",domProps:{textContent:t._s(t.text_section_demographics_title)}}),i("h3",{staticClass:"monsterinsights-yir-summary",domProps:{innerHTML:t._s(t.demoGraphicsSummary)}}),i("div",{staticClass:"monsterinsights-yir-countries"},[i("div",{staticClass:"monsterinsights-yir-top-country"},[i("span",{staticClass:"monsterinsights-yir-number-one",domProps:{textContent:t._s(t.text_number_one)}}),i("span",{class:["monsterinsights-flag",t.topCountryFlagClass]}),i("h4",{staticClass:"monsterinsights-yir-top-country-name",domProps:{textContent:t._s(t.yearInReview.countries[0].name)}}),i("h5",{staticClass:"monsterinsights-yir-top-country-visitors",domProps:{textContent:t._s(t.topCountryVisitors)}})]),i("div",{staticClass:"monsterinsights-yir-top-countries-graph"},[i("report-year-in-review-list-box",{attrs:{title:t.text_countries,"sub-title":t.text_best_month_visitors,rows:t.countriesData}})],1)]),t.yearInReview.gender||t.yearInReview.age?i("h3",{staticClass:"monsterinsights-yir-know-visitors",domProps:{textContent:t._s(t.text_know_your_visitors)}}):t._e(),i("div",{staticClass:"monsterinsights-yir-visitors-info"},[t.yearInReview.gender?i("div",{staticClass:"monsterinsights-yir-gender-info"},[i("span",{domProps:{textContent:t._s(t.text_gender)}}),i("br"),i("h2",{domProps:{textContent:t._s(t.maxVisitorGender)}}),i("p",{domProps:{innerHTML:t._s(t.maxVisitorGenderSummary)}})]):t._e(),t.yearInReview.age?i("div",{staticClass:"monsterinsights-yir-age-info"},[i("span",{domProps:{textContent:t._s(t.text_average_age)}}),i("br"),i("h2",{domProps:{textContent:t._s(t.maxVisitorAverageAge)}}),i("p",{domProps:{innerHTML:t._s(t.maxVisitorAgeSummary)}})]):t._e()])]),i("div",{staticClass:"monsterinsights-yir-separator"}),i("section",{staticClass:"monsterinsights-yir-behavior"},[i("h2",{staticClass:"monsterinsights-yir-title",domProps:{textContent:t._s(t.text_section_behavior_title)}}),i("h3",{staticClass:"monsterinsights-yir-summary",domProps:{innerHTML:t._s(t.behaviourSummary)}}),i("div",{staticClass:"monsterinsights-yir-pages-data"},[i("div",{staticClass:"monsterinsights-yir-pages-summary"},[i("img",{attrs:{src:r("1134"),alt:""}}),i("br"),i("span",{staticClass:"monsterinsights-yir-time-spent",domProps:{textContent:t._s(t.text_time_spent)}}),i("br"),i("h4",{staticClass:"monsterinsights-yir-total-time-spent"},[i("span",{staticClass:"monsterinsights-yir-number",domProps:{textContent:t._s(t.commaNumbers(t.yearInReview.info.duration.total_minutes))}}),i("span",{staticClass:"monsterinsights-yir-type",domProps:{textContent:t._s(t.text_minutes)}})]),i("h5",{staticClass:"monsterinsights-yir-each-visitor-spent",domProps:{textContent:t._s(t.eachVisitorSpentSummary)}})]),i("div",{staticClass:"monsterinsights-yir-top-pages-graph"},[i("report-year-in-review-list-box",{attrs:{title:t.text_top_pages_graph_title,"sub-title":t.text_top_pages_graph_subtitle,rows:t.topPages}})],1)]),t.yearInReview.gender||t.yearInReview.age?i("h3",{staticClass:"monsterinsights-yir-most-visitors-device",domProps:{innerHTML:t._s(t.mostVisitorsDeviceSummary)}}):t._e(),i("div",{staticClass:"monsterinsights-yir-visitors-info"},[i("report-year-in-review-pie-chart",{attrs:{id:"devices",chartData:t.devicesData,title:t.text_device_type,subtitle:t.mostVisitorsDevicePercent}})],1),i("div",{staticClass:"monsterinsights-yir-grow-traffic-tip"},[i("report-year-in-review-tip",{attrs:{title:t.text_grow_traffic_tip_title,summary:t.text_grow_traffic_tip_summary,"link-text":t.text_grow_traffic_tip_link_text,link:"https://www.monsterinsights.com/marketing-hacks-guaranteed-to-grow-your-traffic/"}})],1),i("div",{staticClass:"monsterinsights-yir-visitors-come-from"},[i("h3",{staticClass:"monsterinsights-yir-title",domProps:{textContent:t._s(t.text_visitors_come_from)}}),i("div",{staticClass:"monsterinsights-yir-keywords-referrals"},[i("div",{staticClass:"monsterinsights-yir-keywords"},[i("report-year-in-review-list-box",{class:["monsterinsights-year-in-review-table-box-blur-report"],attrs:{title:t.text_top_keywords,"sub-title":t.text_clicks,rows:t.searchConsoleSampleData,tooltip:t.text_top_keywords_tooltip}}),i("year-in-review-up-sell-overlay",{attrs:{details:t.text_search_console_upsell_overlay_details,"btn-text":t.text_search_console_upsell_overlay_btn_text,"btn-link":"https://www.monsterinsights.com/lite/?utm_source=liteplugin&utm_medium=settings-panel&utm_campaign=license&utm_content=7.10.0","btn-class":"monsterinsights-yir-success"}})],1),t.referralsData.length?i("div",{staticClass:"monsterinsights-yir-referrals"},[i("report-year-in-review-list-box",{attrs:{title:t.text_top_referrals,"sub-title":t.text_pageviews,tooltip:t.text_top_referrals_tooltip,rows:t.referralsData}})],1):t._e()])]),i("div",{staticClass:"monsterinsights-yir-grow-traffic-tip"},[i("report-year-in-review-tip",{attrs:{title:t.text_opportunity_tip_title,summary:t.text_opportunity_tip_summary,"link-text":t.text_opportunity_tip_link_text,link:"https://www.monsterinsights.com/how-to-spy-on-your-competitors-and-ethically-steal-their-traffic/"}})],1)]),i("div",{staticClass:"monsterinsights-yir-separator"}),i("section",{staticClass:"monsterinsights-yir-thank-you"},[i("h2",{staticClass:"monsterinsights-yir-title",domProps:{textContent:t._s(t.text_thank_you_section_title)}}),i("h3",{staticClass:"monsterinsights-yir-summary",domProps:{textContent:t._s(t.text_thank_you_section_summary)}}),i("h4",{staticClass:"monsterinsights-yir-amazing-year",domProps:{textContent:t._s(t.text_amazing_2020)}}),i("div",{staticClass:"monsterinsights-yir-authors"},[i("div",{staticClass:"monsterinsights-yir-author"},[i("div",{staticClass:"monsterinsights-yir-thumbnail syed"}),i("span",{staticClass:"monsterinsights-yir-name",domProps:{textContent:t._s(t.text_syed_balkhi)}})]),i("div",{staticClass:"monsterinsights-yir-author"},[i("div",{staticClass:"monsterinsights-yir-thumbnail chris"}),i("span",{staticClass:"monsterinsights-yir-name",domProps:{textContent:t._s(t.text_chris_christoff)}})])]),i("div",{staticClass:"monsterinsights-yir-write-review"},[i("div",{staticClass:"monsterinsights-yir-content"},[i("span",{domProps:{textContent:t._s(t.text_enjoying_monsterinsights)}}),i("br"),i("h3",{domProps:{textContent:t._s(t.text_leave_review)}})]),t._m(0),i("div",{staticClass:"monsterinsights-yir-review-button"},[i("a",{attrs:{href:"https://wordpress.org/support/view/plugin-reviews/google-analytics-for-wordpress?filter=5",target:"_blank"},domProps:{textContent:t._s(t.text_write_review)}})])])]),i("section",{staticClass:"monsterinsights-yir-year-in-review-plugins-block"},[i("h2",{staticClass:"monsterinsights-yir-title",domProps:{textContent:t._s(t.text_plugins_section_title)}}),i("h3",{staticClass:"monsterinsights-yir-summary",domProps:{textContent:t._s(t.text_plugins_section_summary)}}),i("div",{staticClass:"monsterinsights-yir-plugins"},t._l(t.pluginsList(),(function(t,e){return i("addon-block",{key:e,attrs:{addon:t,"is-addon":!1}})})),1)]),i("section",{staticClass:"monsterinsights-yir-join-communities"},[i("h2",{staticClass:"monsterinsights-yir-title",domProps:{textContent:t._s(t.text_communities_section_title)}}),i("h3",{staticClass:"monsterinsights-yir-summary",domProps:{textContent:t._s(t.text_communities_section_summary)}}),i("div",{staticClass:"monsterinsights-yir-communities"},[i("div",{staticClass:"monsterinsights-yir-community"},[i("img",{staticClass:"monsterinsights-yir-thumbnail",attrs:{src:r("67d7"),alt:""}}),i("h3",{staticClass:"monsterinsights-yir-title",domProps:{textContent:t._s(t.text_facebook_group)}}),i("p",{staticClass:"monsterinsights-yir-details",domProps:{textContent:t._s(t.text_facebook_group_summary)}}),i("a",{staticClass:"monsterinsights-yir-link",attrs:{href:"https://www.facebook.com/groups/wpbeginner/",target:"_blank"},domProps:{textContent:t._s(t.text_facebook_join_button)}})]),i("div",{staticClass:"monsterinsights-yir-community"},[i("img",{staticClass:"monsterinsights-yir-thumbnail",attrs:{src:r("4f36"),alt:""}}),i("h3",{staticClass:"monsterinsights-yir-title",domProps:{textContent:t._s(t.text_wpbeginner_community_title)}}),i("p",{staticClass:"monsterinsights-yir-details",domProps:{textContent:t._s(t.text_wpbeginner_community_summary)}}),i("a",{staticClass:"monsterinsights-yir-link",attrs:{href:"https://www.wpbeginner.com/",target:"_blank"},domProps:{textContent:t._s(t.text_visit_wpbeginner)}})]),i("div",{staticClass:"monsterinsights-yir-community"},[i("img",{staticClass:"monsterinsights-yir-thumbnail",attrs:{src:r("c24e"),alt:""}}),i("h3",{staticClass:"monsterinsights-yir-title",domProps:{textContent:t._s(t.text_follow_us)}}),i("p",{staticClass:"monsterinsights-yir-details",domProps:{textContent:t._s(t.text_follow_us_summary)}}),t._m(1)])])]),i("footer",{staticClass:"monsterinsights-yir-footer"},[i("div",{domProps:{textContent:t._s(t.text_copyright_monsterinsights)}}),i("div",{staticClass:"monsterinsights-yir-text-right"},[i("svg",{attrs:{width:"134",height:"18",viewBox:"0 0 134 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[i("path",{attrs:{d:"M20.201 10.1024C20.201 10.6528 20.0909 11.0932 19.8432 11.3959C19.5955 11.6987 19.2102 11.8363 18.6873 11.8363C18.1644 11.8363 17.7791 11.6711 17.5589 11.3959C17.3112 11.1207 17.2011 10.6528 17.2011 10.1024V8.12084C17.2011 7.5704 17.3112 7.13005 17.5589 6.82731C17.8066 6.55209 18.1919 6.38697 18.6873 6.38697C19.2102 6.38697 19.5955 6.55209 19.8432 6.82731C20.0909 7.10253 20.201 7.5704 20.201 8.12084V10.1024ZM22.733 10.1024V8.12084C22.733 7.5704 22.6504 7.07501 22.4853 6.57961C22.3202 6.08422 22.1 5.67139 21.7422 5.31361C21.4119 4.95583 20.9716 4.65309 20.4762 4.46044C19.9808 4.24027 19.3753 4.13018 18.6598 4.13018C17.9717 4.13018 17.3662 4.24027 16.8433 4.46044C16.3479 4.68062 15.9076 4.95583 15.5773 5.31361C15.2471 5.67139 14.9994 6.11174 14.8342 6.57961C14.6691 7.07501 14.5865 7.5704 14.5865 8.12084V10.1024C14.5865 10.6528 14.6691 11.1757 14.8342 11.6436C14.9994 12.139 15.2195 12.5518 15.5773 12.9096C15.9076 13.2674 16.3479 13.5701 16.8433 13.7628C17.3387 13.983 17.9442 14.0931 18.6598 14.0931C19.3478 14.0931 19.9533 13.983 20.4762 13.7628C20.9716 13.5426 21.4119 13.2674 21.7422 12.9096C22.0725 12.5518 22.3202 12.1115 22.4853 11.6436C22.6504 11.1757 22.733 10.6528 22.733 10.1024ZM33.2188 12.8546V7.65296C33.2188 7.13005 33.1637 6.63466 33.0537 6.22183C32.9436 5.78149 32.7784 5.39618 32.5307 5.09344C32.2831 4.7907 31.9528 4.543 31.5675 4.37787C31.1822 4.18522 30.6593 4.13018 30.0538 4.13018C29.4483 4.13018 28.8979 4.21274 28.43 4.37787C27.9621 4.57052 27.5768 4.7907 27.219 5.09344C27.109 4.90079 26.9438 4.73565 26.7787 4.62557C26.586 4.48796 26.4209 4.37788 26.2007 4.32283C25.9806 4.26779 25.7879 4.24026 25.5953 4.24026C25.2375 4.24026 24.9347 4.32283 24.687 4.48796C24.4393 4.65309 24.3293 4.90079 24.3293 5.2861C24.3293 5.47875 24.3568 5.61635 24.4118 5.72644C24.4669 5.83652 24.577 5.94661 24.6595 6.00166C24.8246 6.13926 24.9347 6.27688 25.0448 6.38697C25.1549 6.49705 25.2099 6.74475 25.2099 7.07501V12.8546C25.2099 13.2124 25.32 13.5151 25.5677 13.7628C25.8154 14.0105 26.1182 14.1206 26.476 14.1206C26.8337 14.1206 27.1365 14.0105 27.3842 13.7628C27.6319 13.5151 27.742 13.2124 27.742 12.8546V7.26766C27.9346 7.01996 28.1273 6.85483 28.4025 6.71722C28.6502 6.57961 28.9529 6.49705 29.3107 6.49705C29.5859 6.49705 29.8061 6.55209 29.9987 6.60714C30.1914 6.6897 30.3015 6.79979 30.4116 6.9374C30.4941 7.07501 30.5767 7.21262 30.6042 7.40527C30.6317 7.59792 30.6593 7.76305 30.6593 7.9557V12.8546C30.6593 13.2124 30.7694 13.5151 31.017 13.7628C31.2647 14.0105 31.5675 14.1206 31.9253 14.1206C32.283 14.1206 32.5858 14.0105 32.8335 13.7628C33.0812 13.5151 33.2188 13.2124 33.2188 12.8546ZM42.4661 11.0106C42.4661 10.4877 42.3835 10.0749 42.2459 9.74462C42.0808 9.41436 41.8881 9.13914 41.6404 8.91897C41.3928 8.69879 41.1175 8.53366 40.8148 8.42358C40.5121 8.31349 40.1818 8.2034 39.8791 8.12084C39.5488 8.06579 39.2736 8.01075 38.9984 7.9557C38.7231 7.90066 38.4754 7.84562 38.2553 7.76306C38.0351 7.68049 37.87 7.59793 37.7599 7.48784C37.6498 7.37775 37.5672 7.21262 37.5672 6.99244C37.5672 6.77227 37.6773 6.57961 37.87 6.41448C38.0626 6.24935 38.3929 6.19431 38.8332 6.19431C39.1635 6.19431 39.4662 6.22183 39.7414 6.27687C40.0167 6.33192 40.3469 6.442 40.7047 6.55209C40.9799 6.63466 41.2551 6.60714 41.5028 6.46953C41.7505 6.33192 41.9157 6.11175 41.9982 5.83653C42.1083 5.56131 42.0808 5.28609 41.9432 5.03839C41.8056 4.7907 41.5854 4.59805 41.3102 4.51548C40.9524 4.40539 40.5671 4.29531 40.1818 4.21274C39.7965 4.13017 39.2736 4.10265 38.6681 4.10265C38.2002 4.10265 37.7324 4.1577 37.3195 4.29531C36.9067 4.43292 36.5214 4.62557 36.1911 4.87327C35.8609 5.12097 35.6132 5.45123 35.4205 5.83653C35.2279 6.22184 35.1453 6.66218 35.1453 7.15757C35.1453 7.62544 35.2004 8.01075 35.338 8.34101C35.4481 8.67127 35.6132 8.91897 35.8334 9.11162C36.0535 9.3318 36.2737 9.4694 36.5489 9.60701C36.8241 9.7171 37.0994 9.82718 37.3746 9.88223C37.7048 9.96479 38.0076 10.0474 38.3378 10.1024C38.6681 10.1575 38.9433 10.2125 39.191 10.2951C39.4387 10.3776 39.6314 10.4877 39.7965 10.5978C39.9616 10.7354 40.0167 10.9281 40.0167 11.1482C40.0167 11.4234 39.8791 11.6711 39.6038 11.8363C39.3286 12.0014 38.9708 12.084 38.4754 12.084C37.9801 12.084 37.5947 12.0565 37.3195 11.9739C37.0443 11.8913 36.7691 11.8088 36.4939 11.7262C36.2462 11.6161 35.971 11.6436 35.6957 11.7537C35.4205 11.8638 35.2279 12.084 35.1453 12.4142C35.0627 12.6619 35.0903 12.9371 35.2004 13.2124C35.3104 13.4876 35.5031 13.6802 35.7783 13.7628C36.1086 13.8729 36.4664 13.983 36.8792 14.038C37.292 14.1206 37.8149 14.1481 38.503 14.1481C38.9984 14.1481 39.4938 14.0931 39.9891 13.983C40.4845 13.8729 40.8974 13.7078 41.2551 13.4325C41.6129 13.1848 41.9157 12.8546 42.1358 12.4693C42.356 12.084 42.4661 11.6161 42.4661 11.0381V11.0106ZM50.2272 12.8821C50.2272 12.5518 50.1172 12.3041 49.897 12.084C49.6768 11.8638 49.4291 11.7537 49.0989 11.7537H48.7411C48.1356 11.7537 47.7503 11.5886 47.5301 11.2583C47.3375 10.9281 47.2274 10.3501 47.2274 9.60701V6.3044H48.6585C48.9337 6.3044 49.1814 6.19431 49.4016 6.00166C49.5942 5.78148 49.7043 5.53379 49.7043 5.25857C49.7043 4.95583 49.5942 4.73566 49.4016 4.51548C49.2089 4.32283 48.9612 4.21274 48.6585 4.21274H47.2274V2.94674C47.2274 2.58896 47.1173 2.28622 46.8696 2.03852C46.6219 1.79082 46.3192 1.65322 45.9614 1.65322C45.6036 1.65322 45.3008 1.7633 45.0532 2.03852C44.8055 2.28622 44.6678 2.58896 44.6678 2.94674V4.21274H44.3651C44.0899 4.21274 43.8422 4.32283 43.622 4.51548C43.4294 4.70813 43.3193 4.95583 43.3193 5.25857C43.3193 5.53379 43.4294 5.78148 43.622 6.00166C43.8147 6.22183 44.0624 6.3044 44.3651 6.3044H44.6678V9.63453C44.6678 10.2951 44.7229 10.873 44.8605 11.4234C44.9981 11.9739 45.2183 12.4142 45.4935 12.7995C45.7962 13.1848 46.154 13.4876 46.6219 13.6802C47.0898 13.9004 47.6677 13.983 48.3282 13.983H49.0438C49.3741 13.983 49.6218 13.8729 49.8419 13.6527C50.1172 13.4601 50.1997 13.1848 50.2272 12.8821ZM56.805 7.76306V8.01075H53.8876V7.76306C53.8876 7.21262 53.9977 6.79979 54.2454 6.52458C54.4931 6.24936 54.8784 6.08423 55.3738 6.08423C55.8692 6.08423 56.227 6.24936 56.4747 6.52458C56.6949 6.79979 56.805 7.21262 56.805 7.76306ZM59.2544 9.00154V8.2034C59.2544 7.65296 59.1718 7.13005 59.0342 6.66218C58.8691 6.16679 58.6764 5.72644 58.3462 5.36866C58.0434 4.98335 57.6306 4.70814 57.1352 4.46044C56.6398 4.24027 56.0343 4.13018 55.3188 4.13018C54.6307 4.13018 54.0253 4.24027 53.5299 4.46044C53.0345 4.68062 52.6216 4.98335 52.2914 5.36866C51.9611 5.75396 51.7409 6.19431 51.5483 6.6897C51.3832 7.18509 51.3006 7.73553 51.3006 8.25844V10.0198C51.3006 10.5703 51.3832 11.0932 51.5208 11.5886C51.6584 12.084 51.8786 12.5243 52.2088 12.8821C52.5391 13.2674 52.9519 13.5702 53.4473 13.7903C53.9427 14.0105 54.5757 14.1206 55.2913 14.1206C55.7591 14.1206 56.227 14.0655 56.7224 14.0105C57.2178 13.9279 57.7132 13.7628 58.2636 13.5151C58.5113 13.405 58.6764 13.2674 58.759 13.0197C58.8691 12.7995 58.8691 12.5518 58.7865 12.2491C58.704 11.9739 58.5388 11.7812 58.2911 11.6436C58.0434 11.5335 57.7957 11.506 57.548 11.6161C57.2178 11.7537 56.915 11.8638 56.5848 11.9188C56.282 12.0014 55.8967 12.0289 55.4289 12.0289C54.9059 12.0289 54.4931 11.8638 54.2454 11.5611C53.9977 11.2308 53.8601 10.7905 53.8601 10.24V9.88223H58.3462C58.5939 9.88223 58.7865 9.79966 58.9517 9.63453C59.1718 9.4694 59.2544 9.24923 59.2544 9.00154ZM67.9513 5.78148C68.0338 5.53379 68.0338 5.2861 67.9788 5.01088C67.8962 4.76318 67.7586 4.543 67.5109 4.4054C67.3733 4.32283 67.2082 4.24027 67.0155 4.18522C66.8229 4.13018 66.6027 4.10265 66.355 4.10265C66.1899 4.10265 66.0247 4.13018 65.8046 4.13018C65.5844 4.1577 65.3642 4.21274 65.1441 4.29531C64.9239 4.37788 64.6762 4.48796 64.4285 4.65309C64.1808 4.81822 63.9606 5.01088 63.7404 5.2861C63.6304 5.0384 63.4377 4.81822 63.2175 4.65309C62.9974 4.46044 62.7221 4.32283 62.3643 4.24026C62.3093 4.21274 62.2267 4.21274 62.1442 4.21274H61.9515C61.5662 4.21274 61.2635 4.29531 61.0158 4.46044C60.7956 4.62557 60.6855 4.87327 60.6855 5.25857C60.6855 5.45122 60.713 5.58884 60.7681 5.69892C60.8231 5.80901 60.9332 5.9191 61.0158 5.97414C61.1809 6.11175 61.3185 6.24936 61.4011 6.35944C61.5112 6.46953 61.5662 6.71723 61.5662 7.04749V12.8271C61.5662 13.1848 61.6763 13.4876 61.924 13.7353C62.1717 13.983 62.4744 14.0931 62.8322 14.0931C63.19 14.0931 63.4927 13.983 63.7404 13.7353C63.9881 13.4876 64.0982 13.1848 64.0982 12.8271V7.5704C64.2083 7.1851 64.4285 6.88235 64.7037 6.71722C64.9789 6.55209 65.3367 6.46953 65.6945 6.46953C65.9422 6.46953 66.1073 6.46953 66.2174 6.49705C66.3 6.52457 66.4101 6.52457 66.5201 6.55209C66.8779 6.63466 67.1807 6.57962 67.4284 6.38697C67.7311 6.27688 67.8687 6.02918 67.9513 5.78148ZM12.2197 1.32295C12.2197 0.992691 12.1096 0.71748 11.8619 0.469784C11.6417 0.222088 11.339 0.111996 10.9812 0.111996C10.7335 0.111996 10.5133 0.16704 10.2931 0.249605C10.073 0.33217 9.90784 0.524823 9.77023 0.800041L6.08231 8.28597L2.47696 0.882611C2.33935 0.607393 2.17422 0.414737 1.98157 0.277128C1.78892 0.167041 1.54122 0.0844727 1.21096 0.0844727C0.880697 0.0844727 0.577957 0.194563 0.357783 0.414737C0.110087 0.634912 0 0.937653 0 1.26791V12.9647C0 13.2949 0.110087 13.5702 0.357783 13.7903C0.577957 14.0105 0.880697 14.1481 1.18344 14.1481C1.5137 14.1481 1.78892 14.038 2.00909 13.7903C2.22926 13.5702 2.36687 13.2674 2.36687 12.9647V5.78148L4.9264 11.1207C5.03649 11.3684 5.22914 11.5611 5.42179 11.6711C5.64196 11.7812 5.83462 11.8638 6.08231 11.8638C6.33001 11.8638 6.55018 11.8088 6.77036 11.6711C6.96301 11.5335 7.12814 11.3409 7.26575 11.0932L9.82528 5.75396V12.9096C9.82528 13.2399 9.93536 13.5151 10.1831 13.7628C10.4032 14.0105 10.706 14.1206 11.0362 14.1206C11.3665 14.1206 11.6417 14.0105 11.8619 13.7628C12.0821 13.5151 12.2197 13.2399 12.2197 12.9096V1.32295Z",fill:"white"}}),i("path",{attrs:{d:"M83.0897 12.8527V7.65105C83.0897 7.12814 83.0347 6.63275 82.9246 6.21992C82.8145 5.77957 82.6494 5.39427 82.4017 5.09153C82.154 4.78879 81.8237 4.54109 81.4384 4.34844C81.0531 4.15578 80.5302 4.10074 79.9247 4.10074C79.3192 4.10074 78.7688 4.18331 78.3009 4.34844C77.8331 4.54109 77.4478 4.76127 77.09 5.09153C76.9799 4.89888 76.8148 4.73374 76.6496 4.62365C76.457 4.48605 76.2918 4.37597 76.0717 4.32092C75.8515 4.26588 75.6588 4.23835 75.4662 4.23835C75.1084 4.23835 74.8057 4.32092 74.558 4.48605C74.3103 4.65118 74.2002 4.89888 74.2002 5.28418C74.2002 5.47684 74.2277 5.61444 74.2828 5.72453C74.3378 5.83461 74.4479 5.9447 74.5304 6.02727C74.6956 6.16488 74.8057 6.30248 74.9158 6.41257C75.0258 6.52266 75.0809 6.77035 75.0809 7.10061V12.8802C75.0809 13.238 75.191 13.5407 75.4387 13.7884C75.6864 14.0361 75.9891 14.1462 76.3469 14.1462C76.7047 14.1462 77.0074 14.0361 77.2551 13.7884C77.5028 13.5407 77.6129 13.238 77.6129 12.8802V7.29327C77.8055 7.04557 77.9982 6.88044 78.2734 6.74283C78.5211 6.60523 78.8238 6.52266 79.1816 6.52266C79.4568 6.52266 79.677 6.57771 79.8697 6.63275C80.0623 6.71531 80.1724 6.8254 80.2825 6.96301C80.3651 7.10061 80.4476 7.23823 80.4752 7.43088C80.5027 7.62353 80.5302 7.78866 80.5302 7.98131V12.8802C80.5302 13.238 80.6403 13.5407 80.888 13.7884C81.1357 14.0361 81.4384 14.1462 81.7962 14.1462C82.154 14.1462 82.4567 14.0361 82.7044 13.7884C82.9796 13.5132 83.0897 13.2105 83.0897 12.8527ZM92.337 11.0362C92.337 10.5133 92.2545 10.1005 92.1169 9.77023C91.9793 9.43997 91.7591 9.16475 91.5114 8.94458C91.2637 8.7244 90.9885 8.55927 90.6857 8.44919C90.383 8.3391 90.0527 8.22901 89.75 8.17397C89.4197 8.11893 89.1445 8.06388 88.8693 8.00884C88.5941 7.95379 88.3464 7.89875 88.1262 7.81618C87.906 7.73362 87.7409 7.65105 87.6308 7.54096C87.5207 7.43088 87.4382 7.26575 87.4382 7.04558C87.4382 6.8254 87.5482 6.63275 87.7409 6.46762C87.9336 6.30249 88.2638 6.24745 88.7042 6.24745C89.0344 6.24745 89.3372 6.27496 89.6124 6.33001C89.8876 6.38505 90.2179 6.49514 90.5756 6.60523C90.8509 6.68779 91.1261 6.66027 91.3738 6.52266C91.6215 6.38506 91.7866 6.16488 91.8692 5.88966C91.9793 5.61444 91.9517 5.33922 91.8141 5.09153C91.6765 4.84383 91.4563 4.65118 91.1811 4.56862C90.8233 4.45853 90.438 4.34844 90.0527 4.26587C89.6674 4.18331 89.1445 4.15579 88.539 4.15579C88.0712 4.15579 87.6033 4.21083 87.1905 4.34844C86.7776 4.48605 86.3923 4.6787 86.0621 4.9264C85.7318 5.17409 85.4841 5.50435 85.2915 5.88966C85.0988 6.27496 85.0162 6.71532 85.0162 7.21071C85.0162 7.67858 85.0713 8.06388 85.2089 8.39414C85.319 8.7244 85.4841 8.9721 85.7043 9.16475C85.9245 9.38492 86.1446 9.52254 86.4199 9.66014C86.6951 9.77023 86.9703 9.88032 87.2455 9.93536C87.5758 10.0179 87.8785 10.1005 88.2088 10.1555C88.539 10.2106 88.8142 10.2656 89.0619 10.3482C89.3096 10.4308 89.5023 10.5408 89.6674 10.6509C89.8326 10.7885 89.8876 10.9812 89.8876 11.2014C89.8876 11.4766 89.75 11.7243 89.4748 11.8894C89.1996 12.0545 88.8418 12.1371 88.3464 12.1371C87.851 12.1371 87.4657 12.1096 87.1905 12.027C86.9152 11.9445 86.64 11.8619 86.3648 11.7793C86.1171 11.6692 85.8419 11.6968 85.5667 11.8068C85.2915 11.9169 85.0988 12.1371 85.0162 12.4674C84.9337 12.7151 84.9612 12.9903 85.0713 13.2655C85.1814 13.5407 85.374 13.7334 85.6492 13.8159C85.9795 13.926 86.3373 14.0361 86.7501 14.1187C87.1629 14.2012 87.6859 14.2288 88.3739 14.2288C88.8693 14.2288 89.3647 14.1737 89.8601 14.0636C90.3555 13.9535 90.7683 13.7884 91.1261 13.5132C91.4839 13.2655 91.7866 12.9352 92.0068 12.5499C92.2269 12.1646 92.337 11.6968 92.337 11.1188V11.0362ZM96.8506 12.8527V5.36675C96.8506 5.00896 96.7405 4.70623 96.4928 4.45853C96.2451 4.21083 95.9424 4.07322 95.5846 4.07322C95.2268 4.07322 94.9241 4.18331 94.6764 4.45853C94.4287 4.70623 94.3186 5.00896 94.3186 5.36675V12.8527C94.3186 13.2105 94.4287 13.5132 94.6764 13.7609C94.9241 14.0086 95.2268 14.1187 95.5846 14.1187C95.9424 14.1187 96.2451 14.0086 96.4928 13.7609C96.713 13.5132 96.8506 13.2105 96.8506 12.8527ZM96.9882 1.40361C96.9882 1.01831 96.8506 0.660523 96.5754 0.412827C96.3002 0.137609 95.9699 0 95.5846 0C95.1993 0 94.8415 0.137609 94.5663 0.412827C94.2911 0.688044 94.1535 1.01831 94.1535 1.40361C94.1535 1.78892 94.2911 2.1467 94.5663 2.3944C94.8415 2.66962 95.1718 2.80722 95.5846 2.80722C95.9699 2.80722 96.3277 2.66962 96.5754 2.3944C96.8506 2.1467 96.9882 1.78892 96.9882 1.40361ZM104.529 6.88044V10.7335C104.309 10.9261 104.061 11.0362 103.786 11.1188C103.511 11.2014 103.263 11.2564 103.043 11.2564C102.493 11.2564 102.107 11.0913 101.915 10.8161C101.694 10.5408 101.612 10.1005 101.612 9.55006V8.03636C101.612 6.8254 102.107 6.24745 103.043 6.24745C103.291 6.24745 103.538 6.30248 103.786 6.41257C104.061 6.52266 104.281 6.68779 104.529 6.88044ZM107.061 5.39427C107.061 5.03649 106.951 4.73374 106.731 4.48605C106.511 4.23835 106.18 4.10074 105.795 4.10074C105.547 4.10074 105.3 4.18331 105.107 4.32092C104.887 4.48605 104.749 4.65118 104.639 4.87136C104.337 4.62366 104.034 4.43101 103.676 4.2934C103.318 4.15579 102.933 4.07322 102.548 4.07322C101.915 4.07322 101.392 4.15578 100.951 4.34844C100.511 4.54109 100.153 4.81631 99.878 5.20161C99.6028 5.5594 99.4101 6.02727 99.2725 6.55018C99.1624 7.07309 99.0799 7.67857 99.0799 8.36662V9.08219C99.0799 9.77023 99.1349 10.3757 99.245 10.9261C99.3551 11.4491 99.5477 11.9169 99.7954 12.2747C100.043 12.6325 100.401 12.9077 100.841 13.1004C101.282 13.293 101.805 13.3756 102.465 13.3756C102.823 13.3756 103.153 13.3205 103.538 13.2105C103.896 13.1004 104.226 12.9628 104.502 12.7701V13.2655C104.502 14.6416 103.896 15.3296 102.685 15.3296C102.355 15.3296 102.08 15.3021 101.887 15.2746C101.667 15.2471 101.502 15.192 101.364 15.1645C101.199 15.1095 101.089 15.0819 100.951 15.0544C100.841 15.0269 100.704 14.9994 100.566 14.9718C100.291 14.9443 100.043 15.0544 99.823 15.2746C99.6028 15.4948 99.5202 15.7425 99.5202 15.9902C99.5202 16.2378 99.6028 16.4305 99.7404 16.5956C99.878 16.7608 100.071 16.8709 100.263 16.9809C100.649 17.1461 101.061 17.2562 101.529 17.3112C101.997 17.3662 102.465 17.3938 102.905 17.3938C104.309 17.3938 105.355 17.0085 106.043 16.2378C106.731 15.4672 107.089 14.4214 107.089 13.1004L107.061 5.39427ZM117.519 12.8527V7.65105C117.519 7.12814 117.464 6.63275 117.354 6.21992C117.244 5.77957 117.079 5.39427 116.831 5.09153C116.584 4.78879 116.253 4.54109 115.868 4.34844C115.455 4.15578 114.96 4.10074 114.354 4.10074C113.887 4.10074 113.446 4.15579 113.088 4.26587C112.703 4.37596 112.373 4.51357 112.098 4.73375V1.65131C112.098 1.29352 111.988 0.990787 111.74 0.743091C111.492 0.495395 111.189 0.385303 110.832 0.385303C110.474 0.385303 110.171 0.495395 109.923 0.743091C109.676 0.990787 109.566 1.29352 109.566 1.65131V12.8802C109.566 13.238 109.676 13.5407 109.923 13.7884C110.171 14.0361 110.474 14.1462 110.832 14.1462C111.189 14.1462 111.492 14.0361 111.74 13.7884C111.988 13.5407 112.098 13.238 112.098 12.8802V7.29327C112.29 7.04557 112.483 6.88044 112.758 6.74283C113.006 6.60523 113.336 6.52266 113.694 6.52266C113.969 6.52266 114.189 6.57771 114.382 6.63275C114.575 6.71531 114.685 6.8254 114.795 6.96301C114.877 7.10061 114.96 7.23823 114.987 7.43088C115.015 7.62353 115.043 7.78866 115.043 7.98131V12.8802C115.043 13.238 115.153 13.5407 115.4 13.7884C115.648 14.0361 115.951 14.1462 116.309 14.1462C116.666 14.1462 116.969 14.0361 117.217 13.7884C117.409 13.5407 117.519 13.238 117.519 12.8527ZM125.804 12.8802C125.804 12.5499 125.693 12.3022 125.473 12.0821C125.253 11.8619 125.005 11.7518 124.675 11.7518H124.317C123.712 11.7518 123.327 11.5867 123.106 11.2564C122.914 10.9261 122.804 10.3482 122.804 9.6051V6.30248H124.235C124.51 6.30248 124.758 6.1924 124.978 5.99974C125.171 5.77957 125.281 5.53188 125.281 5.25666C125.281 4.98144 125.171 4.73374 124.978 4.51357C124.785 4.32092 124.538 4.21083 124.235 4.21083H122.831V2.94483C122.831 2.58705 122.721 2.28431 122.473 2.03661C122.226 1.78891 121.923 1.65131 121.565 1.65131C121.207 1.65131 120.905 1.76139 120.657 2.03661C120.409 2.28431 120.272 2.58705 120.272 2.94483V4.21083H119.969C119.694 4.21083 119.446 4.32092 119.226 4.51357C119.033 4.70622 118.923 4.95392 118.923 5.25666C118.923 5.53188 119.033 5.77957 119.226 5.99974C119.418 6.21992 119.666 6.30248 119.969 6.30248H120.272V9.63262C120.272 10.2931 120.327 10.8711 120.464 11.4215C120.602 11.972 120.822 12.4123 121.097 12.7976C121.373 13.1829 121.758 13.4857 122.226 13.6783C122.694 13.8985 123.272 13.9811 123.932 13.9811H124.648C124.978 13.9811 125.226 13.871 125.446 13.6508C125.693 13.4581 125.776 13.1829 125.804 12.8802ZM133.977 11.0087C133.977 10.4858 133.895 10.073 133.757 9.74271C133.592 9.41245 133.4 9.13723 133.152 8.91705C132.904 8.69688 132.629 8.53175 132.326 8.42166C132.023 8.31158 131.693 8.20149 131.39 8.14645C131.06 8.0914 130.785 8.03636 130.51 7.98131C130.235 7.92627 129.987 7.87122 129.767 7.78866C129.546 7.70609 129.381 7.62353 129.271 7.48593C129.161 7.37584 129.079 7.2107 129.079 6.99053C129.079 6.77035 129.189 6.5777 129.381 6.41257C129.574 6.24744 129.904 6.1924 130.345 6.1924C130.675 6.1924 130.978 6.21992 131.253 6.27496C131.528 6.33 131.858 6.44009 132.216 6.55018C132.491 6.63274 132.767 6.60523 133.014 6.46762C133.262 6.33001 133.427 6.10984 133.51 5.83462C133.62 5.5594 133.592 5.28418 133.455 5.03648C133.317 4.78879 133.097 4.59613 132.822 4.51357C132.464 4.40348 132.078 4.29339 131.693 4.21083C131.308 4.12826 130.785 4.10074 130.179 4.10074C129.712 4.10074 129.244 4.15579 128.831 4.2934C128.418 4.43101 128.033 4.62366 127.703 4.87136C127.372 5.11905 127.125 5.44931 126.932 5.83462C126.739 6.21992 126.657 6.66027 126.657 7.15566C126.657 7.62353 126.712 8.00883 126.849 8.33909C126.959 8.66936 127.125 8.91706 127.345 9.10971C127.565 9.32988 127.785 9.46749 128.06 9.6051C128.336 9.71518 128.611 9.82527 128.886 9.88031C129.216 9.96288 129.519 10.0455 129.849 10.1005C130.179 10.1555 130.455 10.2106 130.702 10.2931C130.95 10.3757 131.143 10.4858 131.308 10.5959C131.473 10.7335 131.528 10.9261 131.528 11.1463C131.528 11.4215 131.39 11.6692 131.115 11.8344C130.84 11.9995 130.482 12.0821 129.987 12.0821C129.491 12.0821 129.106 12.0545 128.831 11.972C128.528 11.8894 128.28 11.8068 128.005 11.7243C127.758 11.6142 127.482 11.6417 127.207 11.7518C126.932 11.8619 126.739 12.0821 126.657 12.4123C126.574 12.66 126.602 12.9352 126.712 13.2105C126.822 13.4857 127.014 13.6783 127.29 13.7609C127.62 13.871 127.978 13.9811 128.391 14.0361C128.803 14.1187 129.326 14.1462 130.014 14.1462C130.51 14.1462 131.005 14.0911 131.501 13.9811C131.996 13.871 132.409 13.7058 132.767 13.4306C133.124 13.1829 133.427 12.8527 133.647 12.4674C133.867 12.0821 133.977 11.6142 133.977 11.0362V11.0087ZM72.1085 12.8802V1.40361C72.1085 1.04583 71.9984 0.743091 71.7232 0.467874C71.4755 0.220178 71.1728 0.082562 70.7875 0.082562C70.4297 0.082562 70.127 0.192656 69.8793 0.467874C69.6316 0.715569 69.5215 1.01831 69.5215 1.40361V12.8802C69.5215 13.238 69.6316 13.5407 69.8793 13.8159C70.127 14.0636 70.4297 14.2012 70.7875 14.2012C71.1453 14.2012 71.448 14.0912 71.7232 13.8159C71.9984 13.5407 72.1085 13.238 72.1085 12.8802Z",fill:"white"}})])])])]):t._e()])},Ne=[function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"monsterinsights-yir-rating"},[i("ul",{staticClass:"monsterinsights-yir-five-star"},[i("li",[i("img",{attrs:{src:r("ba5a"),alt:""}})]),i("li",[i("img",{attrs:{src:r("ba5a"),alt:""}})]),i("li",[i("img",{attrs:{src:r("ba5a"),alt:""}})]),i("li",[i("img",{attrs:{src:r("ba5a"),alt:""}})]),i("li",[i("img",{attrs:{src:r("ba5a"),alt:""}})])])])},function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("ul",{staticClass:"monsterinsights-yir-social-links"},[i("li",[i("a",{attrs:{href:"https://www.youtube.com/channel/UCnB-GV6lyQYgBLLhQr-kuVw",target:"_blank"}},[i("img",{attrs:{src:r("845b"),alt:""}})])]),i("li",[i("a",{attrs:{href:"https://www.facebook.com/monsterinsights",target:"_blank"}},[i("img",{attrs:{src:r("a8c5"),alt:""}})])]),i("li",[i("a",{attrs:{href:"https://twitter.com/monsterinsights",target:"_blank"}},[i("img",{attrs:{src:r("9530"),alt:""}})])])])}],ze=(r("acd8"),r("e25e"),function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticClass:"monsterinsights-yir-year-in-review-upsell-overlay"},[r("div",{staticClass:"monsterinsights-yir-upsell-content"},[r("p",{staticClass:"monsterinsights-yir-details",domProps:{textContent:t._s(t.details)}}),r("a",{class:["monsterinsights-yir-btn-upsell-overlay",t.btnClass],attrs:{href:t.btnLink,target:"_blank"},domProps:{textContent:t._s(t.btnText)}})])])}),He=[],We={name:"YearInReviewUpSellOverlay",props:{details:String,btnText:String,btnLink:String,btnClass:String}},Ue=We,Ye=Object(T["a"])(Ue,ze,He,!1,null,null,null),Qe=Ye.exports,Xe=function(){var t=this,e=t.$createElement,r=t._self._c||e;return t.chartData?r("div",{staticClass:"monsterinsights-reports-visitorbymonth-chart"},[r("div",{staticClass:"monsterinsights-reports-visitorbymonth-header"},[r("div",{staticClass:"monsterinsights-reports-visitorbymonth-title"},[r("h3",{staticClass:"monsterinsights-report-title",domProps:{textContent:t._s(t.title)}})]),r("div",{staticClass:"monsterinsights-reports-visitorbymonth-subtitle"},[r("h4",{staticClass:"monsterinsights-report-subtitle",domProps:{textContent:t._s(t.subTitle)}})])]),r("div",{staticClass:"monsterinsights-reports-visitorbymonth-chart-content"},[r("div",{staticClass:"monsterinsights-reports-bar-chart-holder"},[r("div",{staticClass:"monsterinsights-chart-tooltip",attrs:{id:t.tooltipId}}),r("report-year-in-review-bar-chart",{staticStyle:{height:"200px"},attrs:{"chart-data":t.chartData,tooltipid:t.id}})],1)])]):t._e()},qe=[],Je=y.reactiveProp,Ge={name:"ReportYearInReviewBarChart",extends:k,mixins:[Je],props:{tooltipid:String},data:function(){var t=this;return{options:{responsive:!0,maintainAspectRatio:!1,scales:{xAxes:[{gridLines:{display:!1},ticks:{fontSize:14,fontColor:"#828282",fontFamily:"Lato"}}],yAxes:[{ticks:{min:0,stepSize:25e3},gridLines:{drawBorder:!1,lineWidth:2,color:"#F2F2F2"}}]},animation:!1,legend:{display:!1},tooltips:{enabled:!1,yAlign:"top",xAlign:"top",intersect:!1,custom:this.$miyearInReviewTooltips,callbacks:{title:function(e,r){e=e[0];var i=r.labels[e.index],o=parseFloat(r.datasets[0].data[e.index]).toLocaleString("en");return[i,o,t.tooltipid]},label:function(){return""}}}}}},mounted:function(){this.renderChart(this.chartData,this.options)}},Ke=Ge,Ze=Object(T["a"])(Ke,Gt,Kt,!1,null,null,null),$e=Ze.exports,tr={name:"ReportYearInReviewByMonth",components:{ReportYearInReviewBarChart:$e},props:{chartData:[Object,Boolean],title:String,subTitle:String,id:String},computed:{tooltipId:function(){return"monsterinsights-chartjs-pie-"+this.id+"-tooltip"}}},er=tr,rr=Object(T["a"])(er,Xe,qe,!1,null,null,null),ir=rr.exports,or=function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticClass:"monsterinsights-yir-year-in-review-tip"},[t._m(0),r("div",{staticClass:"monsterinsights-yir-tip-content"},[r("h3",{staticClass:"monsterinsights-yir-tip-content-title",domProps:{textContent:t._s(t.title)}}),r("p",{staticClass:"monsterinsights-yir-tip-content-summary",domProps:{textContent:t._s(t.summary)}}),r("div",{staticClass:"monsterinsights-yir-tip-content-link-wrapper"},[r("a",{staticClass:"monsterinsights-yir-tip-content-link",attrs:{href:t.link,target:"_blank"},domProps:{textContent:t._s(t.linkText)}})])])])},nr=[function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"monsterinsights-yir-tip-icon"},[i("img",{attrs:{src:r("ebe5"),alt:""}})])}],ar={name:"ReportYearInReviewTip",props:{title:String,summary:String,link:String,linkText:String}},sr=ar,lr=Object(T["a"])(sr,or,nr,!1,null,null,null),cr=lr.exports,dr=function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticClass:"monsterinsights-year-in-review-table-box"},[r("div",{staticClass:"monsterinsights-year-in-review-table-box-header"},[r("div",{staticClass:"monsterinsights-year-in-review-table-box-title"},[t.title?r("h3",{staticClass:"monsterinsights-report-title",domProps:{textContent:t._s(t.title)}}):t._e()]),r("div",{staticClass:"monsterinsights-year-in-review-table-box-subtitle"},[t.subTitle?r("h4",{staticClass:"monsterinsights-report-subtitle",domProps:{textContent:t._s(t.subTitle)}}):t._e()])]),r("div",{staticClass:"monsterinsights-year-in-review-table-box-list"},t._l(t.tableRows(),(function(e,i){return r("div",{key:i,staticClass:"monsterinsights-table-list-item"},[r("span",{staticClass:"monsterinsights-reports-list-count",domProps:{textContent:t._s(e.number)}}),r("span",{staticClass:"monsterinsights-reports-list-text",domProps:{innerHTML:t._s(e.text)}}),r("span",{staticClass:"monsterinsights-reports-list-number",domProps:{innerHTML:t._s(parseFloat(e.right).toLocaleString("en"))}})])})),0),t.tooltip?r("div",{staticClass:"monsterinsights-year-in-review-table-box-footer"},[r("span",{staticClass:"monsterinsights-yir-tooltip"},[r("span",{staticClass:"monsterinsights-yir-icon"},[t._v("?")]),r("span",{domProps:{textContent:t._s(t.tooltip)}})])]):t._e()])},ur=[],hr={name:"ReportYearInReviewListBox",props:{title:String,subTitle:String,tooltip:String,rows:Array},data:function(){return{limit:5,text_show:Object(c["a"])("Show","google-analytics-for-wordpress")}},methods:{tableRows:function(){var t=this.rows;if(t.length<5)while(t.length<5)t.push({number:"",text:"",right:""});return t=t.slice(0,this.limit),t}}},gr=hr,pr=Object(T["a"])(gr,dr,ur,!1,null,null,null),fr=pr.exports,mr=function(){var t=this,e=t.$createElement,r=t._self._c||e;return t.chartData?r("div",{staticClass:"monsterinsights-reports-pie-chart monsterinsights-reports-year-in-review-pie-chart"},[r("div",{staticClass:"monsterinsights-reports-pie-chart-holder"},[r("report-pie-chart",{staticClass:"monsterinsights-pie-chart",staticStyle:{"max-width":"176px","max-height":"176px"},attrs:{"chart-data":t.chartData,tooltipid:t.id}}),r("div",{staticClass:"monsterinsights-pie-chart-tooltip",attrs:{id:t.tooltipId}})],1),r("div",{staticClass:"monsterinsights-yir-reports-pie-chart-content"},[t.title?r("h3",{staticClass:"monsterinsights-report-title",domProps:{textContent:t._s(t.title)}}):t._e(),t.subtitle?r("h3",{staticClass:"monsterinsights-report-subtitle",domProps:{innerHTML:t._s(t.subtitle)}}):t._e(),t.legend?r("ul",{staticClass:"monsterinsights-pie-chart-legend"},t._l(t.chartData.values,(function(e,i){return r("li",{key:i},[r("span",{staticClass:"monsterinsights-pie-chart-legend-color",style:t.labelBackground(t.chartData.datasets[0].backgroundColor[i])}),r("span",{staticClass:"monsterinsights-pie-chart-legend-text",domProps:{textContent:t._s(t.chartData.labels[i])}}),r("span",{staticClass:"monsterinsights-pie-chart-legend-value"},[t._v("("+t._s(e)+"%)")])])})),0):t._e()])]):t._e()},vr=[],br=y.reactiveProp,yr={name:"ReportPieChart",extends:O,mixins:[br],props:{tooltipid:String},data:function(){var t=this;return{options:{responsive:!0,maintainAspectRatio:!1,elements:{arc:{borderWidth:0}},cutoutPercentage:65,tooltips:{enabled:!1,yAlign:"top",xAlign:"top",intersect:!0,custom:t.$miPieTooltips,callbacks:{title:function(e,r){e=e[0];var i=r.labels[e.index],o=r.datasets[0].data[e.index];return[i,o,t.tooltipid]},label:function(){return""}}},animation:!1,legend:{display:!1}}}},mounted:function(){this.renderChart(this.chartData,this.options)}},xr=yr,wr=Object(T["a"])(xr,Zt,$t,!1,null,null,null),_r=wr.exports,Cr={name:"ReportYearInReviewPieChart",components:{ReportPieChart:_r},props:{chartData:[Object,Boolean],title:String,subtitle:String,legend:{type:Boolean,default:!0},id:String},computed:{tooltipId:function(){return"monsterinsights-chartjs-pie-"+this.id+"-tooltip"}},methods:{labelBackground:function(t){return"background-color: "+t+";"}}},Ar=Cr,kr=Object(T["a"])(Ar,mr,vr,!1,null,null,null),Or=kr.exports,Mr=r("7f78");function Pr(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,i)}return r}function Sr(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?Pr(Object(r),!0).forEach((function(e){Object(n["a"])(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Pr(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}var Rr={name:"YearInReview",components:{YearInReviewUpSellOverlay:Qe,ReportYearInReviewByMonth:ir,ReportYearInReviewTip:cr,ReportYearInReviewListBox:fr,ReportYearInReviewPieChart:Or,AddonBlock:Mr["a"]},data:function(){return{text_calculating:Object(c["a"])("Still Calculating...","google-analytics-for-wordpress"),text_year_in_review_still_calculating:Object(c["a"])("Your 2019 Year in Review is still calculating. Please check back later to see how your website performed last year.","google-analytics-for-wordpress"),text_back_to_overview_report:Object(c["a"])("Back to Overview Report","google-analytics-for-wordpress"),text_title:Object(c["a"])("Your 2019 Analytics Report","google-analytics-for-wordpress"),text_sub_title:Object(c["a"])("2019 Year in Review","google-analytics-for-wordpress"),text_summary:Object(c["a"])("See how your website performed this year and find tips along the way to help grow even more in 2020!","google-analytics-for-wordpress"),text_audience_section_title:Object(c["a"])("Audience","google-analytics-for-wordpress"),text_congrats:Object(c["a"])("Congrats","google-analytics-for-wordpress"),text_popular:Object(c["a"])("Your website was quite popular this year! ","google-analytics-for-wordpress"),text_you_had:Object(c["a"])("You had ","google-analytics-for-wordpress"),text_visitors:Object(c["a"])(" visitors!","google-analytics-for-wordpress"),text_best_month_visitors:Object(c["a"])(" visitors","google-analytics-for-wordpress"),text_total_visitors:Object(c["a"])("Total Visitors","google-analytics-for-wordpress"),text_total_sessions:Object(c["a"])("Total Sessions","google-analytics-for-wordpress"),text_visitor_by_month_chart_title:Object(c["a"])("Visitors by Month","google-analytics-for-wordpress"),text_visitor_by_month_chart_tooltip:Object(c["a"])("January 1, 2019 - December 31, 2019","google-analytics-for-wordpress"),text_audience_tip_title:Object(c["a"])("A Tip for 2020","google-analytics-for-wordpress"),text_audience_tip_summary:Object(c["a"])("See the top Traffic Sources and Top Pages for the Month of May in the Overview Report to replicate your success.","google-analytics-for-wordpress"),text_section_demographics_title:Object(c["a"])("Demographics","google-analytics-for-wordpress"),text_number_one:Object(c["a"])("#1","google-analytics-for-wordpress"),text_countries:Object(c["a"])("You Top 5 Countries","google-analytics-for-wordpress"),text_know_your_visitors:Object(c["a"])("Let’s get to know your visitors a little better, shall we?","google-analytics-for-wordpress"),text_gender:Object(c["a"])("Gender","google-analytics-for-wordpress"),text_female:Object(c["a"])("Female","google-analytics-for-wordpress"),text_women:Object(c["a"])("Women","google-analytics-for-wordpress"),text_male:Object(c["a"])("Male","google-analytics-for-wordpress"),text_average_age:Object(c["a"])("Average Age","google-analytics-for-wordpress"),text_section_behavior_title:Object(c["a"])("Behavior","google-analytics-for-wordpress"),text_top_pages_graph_title:Object(c["a"])("Your Top 5 Pages","google-analytics-for-wordpress"),text_top_pages_graph_subtitle:Object(c["a"])("Pageviews","google-analytics-for-wordpress"),text_time_spent:Object(c["a"])("Time Spent on Site","google-analytics-for-wordpress"),text_minutes:Object(c["a"])("minutes","google-analytics-for-wordpress"),text_device_type:Object(c["a"])("Device Type","google-analytics-for-wordpress"),text_grow_traffic_tip_title:Object(c["a"])("A Tip For 2020","google-analytics-for-wordpress"),text_grow_traffic_tip_summary:Object(c["a"])("Take advantage of what you’ve already built. See how to get more traffic from existing content in our 32 Marketing Hacks to Grow Your Traffic.","google-analytics-for-wordpress"),text_grow_traffic_tip_link_text:Object(c["a"])("Read - 32 Marketing Hacks to Grow Your Traffic","google-analytics-for-wordpress"),text_visitors_come_from:Object(c["a"])("So, where did all of these visitors come from?","google-analytics-for-wordpress"),text_clicks:Object(c["a"])("Clicks","google-analytics-for-wordpress"),text_top_keywords:Object(c["a"])("Your Top 5 Keywords","google-analytics-for-wordpress"),text_top_keywords_tooltip:Object(c["a"])("What keywords visitors searched for to find your site","google-analytics-for-wordpress"),text_top_referrals:Object(c["a"])("Your Top 5 Referrals","google-analytics-for-wordpress"),text_pageviews:Object(c["a"])("Pageviews","google-analytics-for-wordpress"),text_top_referrals_tooltip:Object(c["a"])("The websites that link back to your website","google-analytics-for-wordpress"),text_opportunity_tip_title:Object(c["a"])("Opportunity","google-analytics-for-wordpress"),text_opportunity_tip_summary:Object(c["a"])("Use referral sources to create new partnerships or expand existing ones. See our guide on how to spy on your competitors and ethically steal their traffic.","google-analytics-for-wordpress"),text_opportunity_tip_link_text:Object(c["a"])("Read - How to Ethically Steal Your Competitor’s Traffic","google-analytics-for-wordpress"),text_thank_you_section_title:Object(c["a"])("Thank you for using MonsterInsights!","google-analytics-for-wordpress"),text_thank_you_section_summary:Object(c["a"])("We’re grateful for your continued support. If there’s anything we can do to help you grow your business, please don’t hesitate to contact our team.","google-analytics-for-wordpress"),text_amazing_2020:Object(c["a"])("Here's to an amazing 2020!","google-analytics-for-wordpress"),text_enjoying_monsterinsights:Object(c["a"])("Enjoying MonsterInsights","google-analytics-for-wordpress"),text_leave_review:Object(c["a"])("Leave a five star review!","google-analytics-for-wordpress"),text_syed_balkhi:Object(c["a"])("Syed Balkhi","google-analytics-for-wordpress"),text_chris_christoff:Object(c["a"])("Chris Christoff","google-analytics-for-wordpress"),text_write_review:Object(c["a"])("Write Review","google-analytics-for-wordpress"),text_plugins_section_title:Object(c["a"])("Did you know over 10 million websites use our plugins?","google-analytics-for-wordpress"),text_plugins_section_summary:Object(c["a"])("Try our other popular WordPress plugins to grow your website in 2020.","google-analytics-for-wordpress"),text_communities_section_title:Object(c["a"])("Join our Communities!","google-analytics-for-wordpress"),text_communities_section_summary:Object(c["a"])("Become a WordPress expert in 2020. Join our amazing communities and take your website to the next level.","google-analytics-for-wordpress"),text_facebook_group:Object(c["a"])("Facebook Group","google-analytics-for-wordpress"),text_facebook_group_summary:Object(c["a"])("Join our team of WordPress experts and other motivated website owners in the WPBeginner Engage Facebook Group.","google-analytics-for-wordpress"),text_facebook_join_button:Object(c["a"])("Join Now...It’s Free!","google-analytics-for-wordpress"),text_wpbeginner_community_title:Object(c["a"])("WordPress Tutorials by WPBeginner","google-analytics-for-wordpress"),text_wpbeginner_community_summary:Object(c["a"])("WPBeginner is the largest free WordPress resource site for beginners and non-techy users.","google-analytics-for-wordpress"),text_visit_wpbeginner:Object(c["a"])("Visit WPBeginner","google-analytics-for-wordpress"),text_follow_us:Object(c["a"])("Follow Us!","google-analytics-for-wordpress"),text_follow_us_summary:Object(c["a"])("Follow MonsterInsights on social media to stay up to date with latest updates, trends, and tutorials on how to make the most out of analytics.","google-analytics-for-wordpress"),text_copyright_monsterinsights:Object(c["a"])("Copyright MonsterInsights, 2020","google-analytics-for-wordpress"),text_search_console_upsell_overlay_details:Object(c["a"])("Upgrade to MonsterInsights Pro to Unlock Additional Actionable Insights","google-analytics-for-wordpress"),text_search_console_upsell_overlay_btn_text:Object(c["a"])("Upgrade to MonsterInsights Pro","google-analytics-for-wordpress"),months:[Object(c["a"])("January","google-analytics-for-wordpress"),Object(c["a"])("February","google-analytics-for-wordpress"),Object(c["a"])("March","google-analytics-for-wordpress"),Object(c["a"])("April","google-analytics-for-wordpress"),Object(c["a"])("May","google-analytics-for-wordpress"),Object(c["a"])("June","google-analytics-for-wordpress"),Object(c["a"])("July","google-analytics-for-wordpress"),Object(c["a"])("August","google-analytics-for-wordpress"),Object(c["a"])("September","google-analytics-for-wordpress"),Object(c["a"])("October","google-analytics-for-wordpress"),Object(c["a"])("November","google-analytics-for-wordpress"),Object(c["a"])("December","google-analytics-for-wordpress")]}},mounted:function(){this.$store.dispatch("$_reports/getReportData","yearinreview")},computed:Sr({},Object(a["b"])({addons:"$_addons/addons",yearInReview:"$_reports/yearinreview",date:"$_reports/date",license:"$_license/license",license_network:"$_license/license_network"}),{visitorByMonthData:function(){return{datasets:[{backgroundColor:"#338EEF",data:this.yearInReview.usersgraph.datapoints}],labels:this.yearInReview.usersgraph.labels}},bestMonthVisitorsSummary:function(){return Object(c["d"])(Object(c["a"])("Your best month was <strong>%1$s</strong> with <strong>%2$s visitors!</strong>","google-analytics-for-wordpress"),this.months[this.yearInReview.usersgraph.bestmonth],this.commaNumbers(this.yearInReview.usersgraph.max))},countriesData:function(){var t=[],e=0;return this.yearInReview.countries&&this.yearInReview.countries.forEach((function(r){e++,t.push({number:e+".",text:'<span class="monsterinsights-flag monsterinsights-flag-'+r.iso.toLowerCase()+'"></span> '+r.name,right:r.sessions})})),t},demoGraphicsSummary:function(){return Object(c["d"])(Object(c["a"])("Your <strong>%1$s</strong> visitors came from <strong>%2$s</strong> different countries.","google-analytics-for-wordpress"),this.commaNumbers(this.yearInReview.info.users.value),this.commaNumbers(this.yearInReview.countries.length))},topCountryFlagClass:function(){return"monsterinsights-flag-"+this.yearInReview.countries[0].iso.toLowerCase()},topCountryVisitors:function(){return Object(c["d"])(Object(c["a"])("%s Visitors","google-analytics-for-wordpress"),this.commaNumbers(this.yearInReview.countries[0].sessions))},maxVisitorGender:function(){var t="",e=this.getMaxVisitorGenderObj();return"male"===e.gender&&(t=this.text_male),"female"===e.gender&&(t=this.text_female),t},maxVisitorGenderSummary:function(){return Object(c["d"])(Object(c["a"])("%1$s&#37 of your visitors were %2$s","google-analytics-for-wordpress"),this.getMaxVisitorGenderObj().percent,this.maxVisitorGender.toLowerCase())},maxVisitorAverageAge:function(){return this.getMaxVisitorAgeObj().age},maxVisitorAgeSummary:function(){return Object(c["d"])(Object(c["a"])("%1$s&#37 of your visitors were between the ages of %2$s","google-analytics-for-wordpress"),this.getMaxVisitorGenderObj().percent,this.maxVisitorAverageAge)},behaviourSummary:function(){return 0==parseInt(this.yearInReview.info.pageviews.value)||parseInt(0==this.yearInReview.info.users.value)?Object(c["d"])(Object(c["a"])("Your <strong>%1$s</strong> visitors viewed a total of <strong>%2$s</strong> pages. <span class='average-page-per-user' style='font-size: 20px;margin-top:25px;display:block;font-family:Lato'>That's an average of %3$s pages for each visitor!</span>","google-analytics-for-wordpress"),this.commaNumbers(this.yearInReview.info.users.value),this.commaNumbers(this.yearInReview.info.pageviews.value),0):Object(c["d"])(Object(c["a"])("Your <strong>%1$s</strong> visitors viewed a total of <strong>%2$s</strong> pages. <span class='average-page-per-user' style='font-size: 20px;margin-top:25px;display:block;font-family:Lato'>That's an average of %3$s pages for each visitor!</span>","google-analytics-for-wordpress"),this.commaNumbers(this.yearInReview.info.users.value),this.commaNumbers(this.yearInReview.info.pageviews.value),this.commaNumbers(Math.round(parseInt(this.yearInReview.info.pageviews.value)/parseInt(this.yearInReview.info.users.value))))},topPages:function(){var t=[],e=0;return this.yearInReview.toppages&&this.yearInReview.toppages.forEach((function(r){e++;var i=r.hostname?'<a href="'+r.hostname+r.url+'" target="_blank" rel="noreferrer noopener">'+r.title+"</a>":r.title;t.push({number:e+".",text:i,right:r.sessions})})),t},eachVisitorSpentSummary:function(){return Object(c["d"])(Object(c["a"])("Each visitor spent an average of %s minutes on your website in 2019.","google-analytics-for-wordpress"),this.commaNumbers(this.yearInReview.info.duration.avg_minutes))},mostVisitorsDevice:function(){if(this.yearInReview.devices){var t=this.yearInReview.devices,e=0,r=[];for(var i in t)t.hasOwnProperty(i)&&t[i]>e&&(r["name"]=i,r["percent"]=t[i],e=t[i]);return r}return!1},mostVisitorsDeviceSummary:function(){return Object(c["d"])(Object(c["a"])("Most of your visitors viewed your website from their <strong>%s</strong> device.","google-analytics-for-wordpress"),this.mostVisitorsDevice.name)},mostVisitorsDevicePercent:function(){return Object(c["d"])(Object(c["a"])("%1$s&#37 of your visitors were on a %2$s device.","google-analytics-for-wordpress"),this.mostVisitorsDevice.percent,this.mostVisitorsDevice.name)},devicesData:function(){return!!this.yearInReview.devices&&{datasets:[{data:[this.yearInReview.devices.desktop,this.yearInReview.devices.tablet,this.yearInReview.devices.mobile],backgroundColor:["#6AB1FC","#AAD3FF","#338EEF"]}],values:[this.yearInReview.devices.desktop,this.yearInReview.devices.tablet,this.yearInReview.devices.mobile],labels:[Object(c["a"])("Desktop","google-analytics-for-wordpress"),Object(c["a"])("Tablet","google-analytics-for-wordpress"),Object(c["a"])("Mobile","google-analytics-for-wordpress")]}},referralsData:function(){var t=[],e=0;return this.yearInReview.referrals&&this.yearInReview.referrals.forEach((function(r){e++,t.push({number:e+".",text:'<img src="https://www.google.com/s2/favicons?domain=http://'+r.url+'" />'+r.url,right:r.sessions})})),t},searchConsoleSampleData:function(){return[{number:1,text:"search term one",right:7978},{number:2,text:"search term two",right:79789},{number:3,text:"search three",right:897},{number:4,text:"search four",right:797},{number:5,text:"search term five",right:299}]}}),methods:{isAddonActive:function(t){return!!this.addons[t]&&this.addons[t].active},commaNumbers:function(t){return parseFloat(t).toLocaleString("en")},isMoreVisitors:function(){return this.yearInReview.info.users.value>this.yearInReview.info.users.prev},getMaxVisitorGenderObj:function(){var t=this.yearInReview.gender,e=0,r={};return t.forEach((function(t){t.percent>e&&(e=t.percent,r=t)})),r},getMaxVisitorAgeObj:function(){var t=this.yearInReview.age,e=0,r={};return t.forEach((function(t){t.percent>e&&(e=t.percent,r=t)})),r},pluginsList:function(){var t=this,e=["wpforms-lite","wp-mail-smtp","optinmonster","coming-soon","rafflepress","trustpulse-api"],r=[];return e.forEach((function(e){if(t.addons[e]){var i=Object.create(t.addons[e]);i.type="licensed",r.push(i)}})),r}}},Tr=Rr,Dr=Object(T["a"])(Tr,Ve,Ne,!1,null,null,null),jr=Dr.exports,Ir={routes:[{path:"*",redirect:"/"},{path:"/",name:"overview",component:Wt,meta:{title:Object(c["a"])("Overview Report","google-analytics-for-wordpress")}},{path:"/publishers",name:"publisher",component:le,meta:{title:Object(c["a"])("Publishers Report","google-analytics-for-wordpress")}},{path:"/ecommerce",name:"ecommerce",component:pe,meta:{title:Object(c["a"])("eCommerce Report","google-analytics-for-wordpress")}},{path:"/search-console",name:"queries",component:xe,meta:{title:Object(c["a"])("Search Console Report","google-analytics-for-wordpress")}},{path:"/dimensions",name:"dimensions",component:Oe,meta:{title:Object(c["a"])("Dimensions Report","google-analytics-for-wordpress")}},{path:"/forms",name:"forms",component:De,meta:{title:Object(c["a"])("Forms Report","google-analytics-for-wordpress")}},{path:"/real-time",name:"realtime",component:Ee,meta:{title:Object(c["a"])("Real-Time Report","google-analytics-for-wordpress")}}]};u()().isBetween("2020-01-01","2020-01-14")&&Ir.routes.push({path:"/year-in-review",name:"yearinreview",component:jr,meta:{title:Object(c["a"])("2019 Year in Review","google-analytics-for-wordpress")}});var Br=new l["a"](Ir),Lr=r("a158"),Fr=r("1915"),Er=r("4bdc"),Vr=function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",[r("button",{class:t.triggerClass,on:{click:function(e){t.nav_open=!t.nav_open}}},[r("span",{domProps:{textContent:t._s(t.routeTitle)}}),r("i",{class:t.buttonIconClass})]),r("nav",{class:t.navClass},[r("router-link",{staticClass:"monsterinsights-navigation-tab-link",attrs:{to:"/"},domProps:{textContent:t._s(t.text_overview)}}),r("router-link",{staticClass:"monsterinsights-navigation-tab-link",attrs:{to:"publishers"},domProps:{textContent:t._s(t.text_publishers)}}),r("router-link",{staticClass:"monsterinsights-navigation-tab-link",attrs:{to:"search-console"},domProps:{textContent:t._s(t.text_search)}}),r("router-link",{staticClass:"monsterinsights-navigation-tab-link",attrs:{to:"ecommerce"},domProps:{textContent:t._s(t.text_ecommerce)}}),r("router-link",{staticClass:"monsterinsights-navigation-tab-link",attrs:{to:"dimensions"},domProps:{textContent:t._s(t.text_dimensions)}}),r("router-link",{staticClass:"monsterinsights-navigation-tab-link",attrs:{to:"forms"},domProps:{textContent:t._s(t.text_forms)}}),r("router-link",{staticClass:"monsterinsights-navigation-tab-link",attrs:{to:"real-time"},domProps:{textContent:t._s(t.text_real_time)}}),t.isYearInReviewVisible()?r("router-link",{staticClass:"monsterinsights-navigation-tab-link year-in-review",attrs:{to:"year-in-review"},domProps:{textContent:t._s(t.text_year_in_review)}}):t._e()],1)])},Nr=[],zr={name:"ReportsNavigation",data:function(){return{text_overview:Object(c["a"])("Overview","google-analytics-for-wordpress"),text_publishers:Object(c["a"])("Publishers","google-analytics-for-wordpress"),text_ecommerce:Object(c["a"])("eCommerce","google-analytics-for-wordpress"),text_search:Object(c["a"])("Search Console","google-analytics-for-wordpress"),text_dimensions:Object(c["a"])("Dimensions","google-analytics-for-wordpress"),text_forms:Object(c["a"])("Forms","google-analytics-for-wordpress"),text_real_time:Object(c["a"])("Real-Time","google-analytics-for-wordpress"),nav_open:!1,text_year_in_review:Object(c["a"])("2019 Year in Review","google-analytics-for-wordpress")}},computed:{routeTitle:function(){return!!this.$route.meta.title&&this.$route.meta.title},navClass:function(){var t="monsterinsights-main-navigation monsterinsights-reports-navigation";return this.nav_open&&(t+=" monsterinsights-main-navigation-open"),t},buttonIconClass:function(){var t="monstericon-arrow";return this.nav_open&&(t+=" monstericon-down"),t},triggerClass:function(){var t="monsterinsights-mobile-nav-trigger";return this.nav_open&&(t+=" monsterinsights-mobile-nav-trigger-open"),t}},methods:{isYearInReviewVisible:function(){return u()().isBetween("2020-01-01","2020-01-14")}},watch:{$route:function(){this.nav_open=!1}}},Hr=zr,Wr=Object(T["a"])(Hr,Vr,Nr,!1,null,null,null),Ur=Wr.exports,Yr=r("9d59"),Qr=function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticClass:"monsterinsights-not-authenticated-notice"},[r("h3",{domProps:{textContent:t._s(t.text_no_auth)}}),r("div",{staticClass:"monsterinsights-settings-input monsterinsights-settings-input-authenticate"},[r("span",{staticClass:"monsterinsights-dark",domProps:{textContent:t._s(t.text_auth_label)}}),t.update_settings?r("div",[r("a",{staticClass:"monsterinsights-button-alt monsterinsights-button",attrs:{slot:"before_connect",href:t.wizard_url},domProps:{textContent:t._s(t.text_wizard)},slot:"before_connect"})]):r("div",[r("p",{staticClass:"monsterinsights-dark"},[r("strong",{domProps:{textContent:t._s(t.text_ask_webmaster)}})])])])])},Xr=[],qr={name:"ReportNoAuth",data:function(){return{text_no_auth:Object(c["a"])("You must connect with MonsterInsights before you can view reports.","google-analytics-for-wordpress"),text_auth_label:Object(c["a"])('MonsterInsights makes it "effortless" for you to connect your site with Google Analytics and see reports right here in the WordPress dashboard.',"google-analytics-for-wordpress"),text_wizard:Object(c["a"])("Launch Setup Wizard","google-analytics-for-wordpress"),text_ask_webmaster:Object(c["a"])("Please ask your webmaster to connect MonsterInsights to Google Analytics.","google-analytics-for-wordpress"),wizard_url:this.$mi.wizard_url,update_settings:this.$mi.update_settings}}},Jr=qr,Gr=Object(T["a"])(Jr,Qr,Xr,!1,null,null,null),Kr=Gr.exports,Zr=r("8c1c"),$r=r("b52e");function ti(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,i)}return r}function ei(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?ti(Object(r),!0).forEach((function(e){Object(n["a"])(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):ti(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}var ri={name:"ModuleReports",router:Br,components:{TheQuickLinks:$r["a"],ReportReAuth:Zr["a"],ReportNoAuth:Kr,TheAppNotices:Yr["a"],ReportsNavigation:Ur,TheAppNavigation:Er["a"],TheAppHeader:Lr["a"],Notifications:Fr["a"]},computed:ei({},Object(a["b"])({blocked:"$_app/blocked",blur:"$_reports/blur",noauth:"$_reports/noauth",reauth:"$_reports/reauth"}),{route:function(){return this.$route.name},mainClass:function(){var t="monsterinsights-admin-page monsterinsights-reports-page";return this.blur&&(t+=" monsterinsights-blur"),t}}),created:function(){var t="$_reports";t in this.$store._modules.root._children||this.$store.registerModule(t,s["a"]),this.updateSelectedReport(this.route)},watch:{$route:function(t){this.updateSelectedReport(t.name)}},methods:{updateSelectedReport:function(t){this.$mi.authed||(this.$store.commit("$_reports/ENABLE_BLUR"),this.$store.commit("$_reports/ENABLE_NOAUTH")),this.$store.commit("$_reports/UPDATE_ACTIVE_REPORT",t)}}},ii=ri,oi=Object(T["a"])(ii,i,o,!1,null,null,null),ni=oi.exports,ai=r("619c"),si=r("7460"),li={install:function(t){t.prototype.$miOverviewTooltips=function(t){if(!t.title){var e=document.querySelectorAll(".monsterinsights-line-chart-tooltip");return e.forEach((function(t){t.style.opacity=0})),!1}var r=t.title[0],i=t.title[1],o=parseInt(t.title[2]),n=t.title[3],a=t.title[4],s=document.getElementById("monsterinsights-chartjs-line-"+a+"-tooltip");if(null===s&&(s=document.createElement("div"),document.body.appendChild(s),s.setAttribute("id","monsterinsights-chartjs-line-"+a+"-tooltip"),s.classList.add("monsterinsights-line-chart-tooltip")),t.opacity){s.classList.remove("above"),s.classList.remove("below"),s.classList.remove("no-transform"),t.yAlign?s.classList.add(t.yAlign):s.classList.add("no-transform");var l="";l+=0===o?"0%":o>0?'<span class="monsterinsights-green"><span class="monsterinsights-arrow monsterinsights-up"></span>'+o+"%</span>":'<span class="monsterinsights-red"><span class="monsterinsights-arrow monsterinsights-down"></span>'+Math.abs(o)+"%</span>";var c='<div class="monsterinsights-reports-overview-datagraph-tooltip-container monsterinsights-reports-tooltip">';c+='<div class="monsterinsights-reports-overview-datagraph-tooltip-title">'+r+"</div>",c+='<div class="monsterinsights-reports-overview-datagraph-tooltip-number">'+i+"</div>",c+='<div class="monsterinsights-reports-overview-datagraph-tooltip-descriptor">'+n+"</div>",c+='<div class="monsterinsights-reports-overview-datagraph-tooltip-trend">'+l+"</div>",c+="</div>",s.innerHTML=c;var d=this._chart.canvas.getBoundingClientRect();s.style.opacity="1",s.style.left=d.left+window.pageXOffset+t.x+"px",s.style.top=d.top+window.pageYOffset+t.y+"px",s.style.fontFamily="Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;",s.style.fontSize=t.fontSize,s.style.fontStyle=t._fontStyle,s.style.padding=t.yPadding+"px "+t.xPadding+"px",s.style.zIndex=99999,s.style.pointerEvents="none"}else s.style.opacity=0},t.prototype.$miPieTooltips=function(t){if(!t.title){var e=document.querySelectorAll(".monsterinsights-pie-chart-tooltip");return e.forEach((function(t){t.style.opacity=0})),!1}var r=t.title[0],i=t.title[1],o=t.title[2],n=document.getElementById("monsterinsights-chartjs-pie-"+o+"-tooltip");null===n&&(n=document.createElement("div"),document.body.appendChild(n),n.setAttribute("id","monsterinsights-chartjs-pie-"+o+"-tooltip")),n.classList.remove("above"),n.classList.remove("below"),n.classList.remove("no-transform"),t.yAlign?n.classList.add(t.yAlign):n.classList.add("no-transform");var a='<div class="monsterinsights-reports-overview-datagraph-tooltip-container monsterinsights-reports-tooltip">';a+='<div class="monsterinsights-reports-overview-datagraph-tooltip-title">'+r+"</div>",a+='<div class="monsterinsights-reports-overview-datagraph-tooltip-number">'+i+"%</div>",a+="</div>",n.innerHTML=a;var s=0;if(t.yAlign){var l=0;t.caretHeight&&(l=t.caretHeight),s="above"===t.yAlign?t.y-l-t.caretPadding:t.y+l+t.caretPadding}n.style.opacity=1,n.style.left=t.x-50+"px",n.style.top=s-40+"px",n.style.padding=t.yPadding+"px "+t.xPadding+"px",n.style.zIndex="99999"},t.prototype.$miyearInReviewTooltips=function(t){if(!t.title){var e=document.querySelectorAll(".monsterinsights-line-chart-tooltip");return e.forEach((function(t){t.style.opacity=0})),!1}var r=t.title[0],i=t.title[1],o=t.title[4],n=document.getElementById("monsterinsights-chartjs-line-"+o+"-tooltip");if(null===n&&(n=document.createElement("div"),document.body.appendChild(n),n.setAttribute("id","monsterinsights-chartjs-line-"+o+"-tooltip"),n.classList.add("monsterinsights-line-chart-tooltip")),t.opacity){n.classList.remove("above"),n.classList.remove("below"),n.classList.remove("no-transform"),t.yAlign?n.classList.add(t.yAlign):n.classList.add("no-transform");var a='<div class="monsterinsights-reports-overview-datagraph-tooltip-container monsterinsights-reports-tooltip">';a+='<div class="monsterinsights-reports-overview-datagraph-tooltip-title">'+r+"</div>",a+='<div class="monsterinsights-reports-overview-datagraph-tooltip-number">'+i+"</div>",a+="</div>",n.innerHTML=a;var s=this._chart.canvas.getBoundingClientRect();n.style.opacity="1",n.style.left=s.left+window.pageXOffset+t.x+"px",n.style.top=s.top+window.pageYOffset+t.y+"px",n.style.fontFamily="Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;",n.style.fontSize=t.fontSize,n.style.fontStyle=t._fontStyle,n.style.padding=t.yPadding+"px "+t.xPadding+"px",n.style.zIndex=99999,n.style.pointerEvents="none"}else n.style.opacity=0},t.prototype.$mi_loading_toast=function(e,r){t.prototype.$swal({type:"info",customContainerClass:"monsterinsights-swal",title:e||Object(c["a"])("Refreshing Report","google-analytics-for-wordpress"),html:r||Object(c["a"])("Loading new report data...","google-analytics-for-wordpress"),allowOutsideClick:!1,allowEscapeKey:!1,allowEnterKey:!1,onOpen:function(){t.prototype.$swal.showLoading()}})},t.prototype.$mi_error_toast=function(e){var r=e.type,i=void 0===r?"error":r,o=e.customContainerClass,n=void 0===o?"monsterinsights-swal":o,a=e.allowOutsideClick,s=void 0!==a&&a,l=e.allowEscapeKey,d=void 0!==l&&l,u=e.allowEnterKey,h=void 0!==u&&u,g=e.title,p=void 0===g?Object(c["a"])("Error","google-analytics-for-wordpress"):g,f=e.html,m=void 0===f?Object(c["a"])("Please try again.","google-analytics-for-wordpress"):f,v=e.confirmButtonText,b=void 0===v?"OK":v,y=e.showCancelButton,x=void 0!==y&&y,w=e.cancelButtonText,_=void 0===w?"Cancel":w,C=e.footer,A=void 0!==C&&C;return t.prototype.$swal({type:i,customContainerClass:n,allowOutsideClick:s,allowEscapeKey:d,allowEnterKey:h,title:p,html:m,footer:A,showCancelButton:x,cancelButtonText:_,confirmButtonText:b,onOpen:function(){t.prototype.$swal.hideLoading()}})},t.prototype.$mi_get_upsell_content=function(t){var e={},r={overview:{title:Object(c["a"])("Unlock the Publishers Report and Focus on the Content that Matters","google-analytics-for-wordpress"),subtitle:Object(c["a"])("Stop guessing about what content your visitors are interested in. MonsterInsights Publisher Report shows you exactly which content gets the most visits, so you can analyze and optimize it for higher conversions.","google-analytics-for-wordpress"),features:[Object(c["a"])("See Your Top Landing Pages to Improve Enagement","google-analytics-for-wordpress"),Object(c["a"])("See Your Top Exit Pages to Reduce Abandonment","google-analytics-for-wordpress"),Object(c["a"])("See Your Top Outbound Links to Find New Revenue Opportunities","google-analytics-for-wordpress"),Object(c["a"])("See Your Top Affiliate Links and Focus on what's working","google-analytics-for-wordpress"),Object(c["a"])("See Your Top Downloads and Improve Conversions","google-analytics-for-wordpress"),Object(c["a"])("See Audience Demographic Report ( Age / Gender / Interests )","google-analytics-for-wordpress")]},publisher:{title:Object(c["a"])("Unlock the Publishers Report and Focus on the Content That Matters","google-analytics-for-wordpress"),subtitle:Object(c["a"])("Stop guessing about what content your visitors are interested in. The Publisher Report shows you exactly which content gets the most traffic, so you can analyze and optimize it for higher conversions.","google-analytics-for-wordpress"),features:[Object(c["a"])("See Your Top Landing Pages to Improve Enagement","google-analytics-for-wordpress"),Object(c["a"])("See Your Top Exit Pages to Reduce Abandonment","google-analytics-for-wordpress"),Object(c["a"])("See Your Top Outbound Links to Find New Revenue Opportunities","google-analytics-for-wordpress"),Object(c["a"])("See Your Top Affiliate Links and Focus on what's working","google-analytics-for-wordpress"),Object(c["a"])("See Your Top Downloads and Improve Conversions","google-analytics-for-wordpress"),Object(c["a"])("See Audience Demographic Report ( Age / Gender / Interests )","google-analytics-for-wordpress")]},ecommerce:{title:Object(c["a"])("Unlock the eCommerce Report and See Your Important Store Metrics","google-analytics-for-wordpress"),subtitle:Object(c["a"])("Increase your sales & revenue with insights. MonsterInsights answers all your top eCommerce questions using metrics like total revenue, conversion rate, average order value, top products, top referral sources and more.","google-analytics-for-wordpress"),features:[Object(c["a"])("See Your Conversion Rate to Improve Funnel","google-analytics-for-wordpress"),Object(c["a"])("See The Number of Transactions and Make Data-Driven Decisions","google-analytics-for-wordpress"),Object(c["a"])("See The Total Revenue to Track Growth","google-analytics-for-wordpress"),Object(c["a"])("See Average Order Value to Find Offer Opportunities","google-analytics-for-wordpress"),Object(c["a"])("See Your Top Products to See Individual Performance","google-analytics-for-wordpress"),Object(c["a"])("See Your Top Conversion Sources and Focus on what's working","google-analytics-for-wordpress"),Object(c["a"])("See The Time it takes for Customers to Purchase","google-analytics-for-wordpress"),Object(c["a"])("See How Many Sessions are needed for a Purchase","google-analytics-for-wordpress")]},dimensions:{title:Object(c["a"])("Unlock the Dimensions Report and Track Your Own Custom Data","google-analytics-for-wordpress"),subtitle:Object(c["a"])("Decide what data is important using your own custom tracking parameters. The Dimensions report allows you to easily see what's working right inside your WordPress dashboard.","google-analytics-for-wordpress"),features:[Object(c["a"])("See Which Authors Generate the Most Traffic","google-analytics-for-wordpress"),Object(c["a"])("See Which Post Types Perform Better","google-analytics-for-wordpress"),Object(c["a"])("See Which Categories are the Most Popular","google-analytics-for-wordpress"),Object(c["a"])("See Your Blog's most popular SEO Scores","google-analytics-for-wordpress"),Object(c["a"])("See Which Focus Keyword is Performing Better in Search Engines","google-analytics-for-wordpress")]},forms:{title:Object(c["a"])("Unlock the Forms Report and Improve Conversions","google-analytics-for-wordpress"),subtitle:Object(c["a"])("Easily track your form views and conversions. The Forms Report allows you to see which forms are performing better and which forms have lower conversion rates so you can optimize using real data.","google-analytics-for-wordpress"),features:[Object(c["a"])("See Reports for Any Contact Form Plugin or Sign-up Form","google-analytics-for-wordpress"),Object(c["a"])("See Your Top Converting Forms and Optimize","google-analytics-for-wordpress"),Object(c["a"])("See Your Forms Impressions Count to Find the Best Placement","google-analytics-for-wordpress")]},queries:{title:Object(c["a"])("Unlock the Search Console Report and See How People Find Your Website","google-analytics-for-wordpress"),subtitle:Object(c["a"])("See exactly how people find your website, which keywords they searched for, how many times the results were viewed, and more.","google-analytics-for-wordpress"),features:[Object(c["a"])("See Your Top Google Search Terms and Optimize Content","google-analytics-for-wordpress"),Object(c["a"])("See The Number of Clicks and Track Interests","google-analytics-for-wordpress"),Object(c["a"])("See The Click-Through-Ratio and Improve SEO","google-analytics-for-wordpress"),Object(c["a"])("See The Average Results Position and Focus on what works","google-analytics-for-wordpress")]},realtime:{title:Object(c["a"])("Unlock the Real-Time Report and Track the Visitors on Your Site in Real-Time","google-analytics-for-wordpress"),subtitle:Object(c["a"])("Track the results of your marketing efforts and product launches as-it-happens right from your WordPress site. The Real-Time report allows you to view your traffic sources and visitors activity when you need it.","google-analytics-for-wordpress"),features:[Object(c["a"])("See Your Active Visitors and Track Their Behaviour to Optimize","google-analytics-for-wordpress"),Object(c["a"])("See Your Top Pages Immediately After Making Changes","google-analytics-for-wordpress"),Object(c["a"])("See Your Top Referral Sources and Adapt Faster","google-analytics-for-wordpress"),Object(c["a"])("See Your Traffic Demographics and ","google-analytics-for-wordpress"),Object(c["a"])("Get Fresh Reports Data Every 60 Seconds","google-analytics-for-wordpress")]}};return r[t]&&(e=r[t]),e},t.prototype.$mi_intervals=function(){return{today:{text:Object(c["a"])("Today","google-analytics-for-wordpress"),start:u()(),end:u()(),interval:"today"},yesterday:{text:Object(c["a"])("Yesterday","google-analytics-for-wordpress"),start:u()().subtract(1,"days"),end:u()().subtract(1,"days"),interval:"yesterday"},lastweek:{text:Object(c["a"])("Last Week","google-analytics-for-wordpress"),end:u()().startOf("week"),start:u()().startOf("week").subtract(6,"days"),interval:"lastweek"},lastmonth:{text:Object(c["a"])("Last Month","google-analytics-for-wordpress"),end:u()().startOf("month").subtract(1,"days"),start:u()().startOf("month").subtract(1,"month"),interval:"lastmonth"},last7days:{text:Object(c["a"])("Last 7 days","google-analytics-for-wordpress"),end:u()().subtract(1,"days"),start:u()().subtract(7,"days"),interval:"last7days"},last30days:{text:Object(c["a"])("Last 30 days","google-analytics-for-wordpress"),end:u()().subtract(1,"days"),start:u()().subtract(30,"days"),interval:"last30days"}}}}},ci=li,di=r("4360"),ui=r("e37d"),hi=r("6c6b"),gi=(r("5eda"),r("f293"),document.getElementById("monsterinsights-reports"));(st["a"].config.productionTip=!1,gi)&&(Object(hi["a"])({ctrl:!0}),st["a"].use(l["a"]),st["a"].use(ai["a"]),st["a"].use(ui["a"],{defaultTemplate:'<div class="monsterinsights-tooltip" role="tooltip"><div class="monsterinsights-tooltip-arrow"></div><div class="monsterinsights-tooltip-inner"></div></div>',defaultArrowSelector:".monsterinsights-tooltip-arrow, .monsterinsights-tooltip__arrow",defaultInnerSelector:".monsterinsights-tooltip-inner, .monsterinsights-tooltip__inner"}),st["a"].use(si["a"]),st["a"].use(ci),Object(c["c"])(window.monsterinsights.translations,"google-analytics-for-wordpress"),new st["a"]({store:di["a"],mounted:function(){di["a"].dispatch("$_app/init"),di["a"].dispatch("$_addons/getAddons"),di["a"].dispatch("$_settings/getSettings"),di["a"].dispatch("$_notifications/getNotifications"),st["a"].prototype.$isPro()&&di["a"].dispatch("$_license/getLicense")},render:function(t){return t(ni)}}).$mount(gi))},f293:function(t,e,r){}});