!function(e){var t={};function r(n){if(t[n])return t[n].exports;var a=t[n]={i:n,l:!1,exports:{}};return e[n].call(a.exports,a,a.exports,r),a.l=!0,a.exports}r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var a in e)r.d(n,a,function(t){return e[t]}.bind(null,a));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=847)}([function(e,t,r){"use strict";e.exports=r(423)},function(e,t,r){e.exports=r(634)()},function(e,t,r){(function(e){e.exports=function(){"use strict";var t,n;function a(){return t.apply(null,arguments)}function o(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function i(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function c(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function s(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;var t;for(t in e)if(c(e,t))return!1;return!0}function l(e){return void 0===e}function d(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function u(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function p(e,t){var r,n=[];for(r=0;r>>0;for(t=0;t0)for(r=0;r=0?r?"+":"":"-")+Math.pow(10,Math.max(0,a)).toString().substr(1)+n}a.suppressDeprecationWarnings=!1,a.deprecationHandler=null,L=Object.keys?Object.keys:function(e){var t,r=[];for(t in e)c(e,t)&&r.push(t);return r};var C=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,P=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,j={},A={};function N(e,t,r,n){var a=n;"string"==typeof n&&(a=function(){return this[n]()}),e&&(A[e]=a),t&&(A[t[0]]=function(){return Y(a.apply(this,arguments),t[1],t[2])}),r&&(A[r]=function(){return this.localeData().ordinal(a.apply(this,arguments),e)})}function F(e,t){return e.isValid()?(t=I(t,e.localeData()),j[t]=j[t]||function(e){var t,r,n,a=e.match(C);for(t=0,r=a.length;t=0&&P.test(e);)e=e.replace(P,n),P.lastIndex=0,r-=1;return e}var H={};function R(e,t){var r=e.toLowerCase();H[r]=H[r+"s"]=H[t]=e}function z(e){return"string"==typeof e?H[e]||H[e.toLowerCase()]:void 0}function W(e){var t,r,n={};for(r in e)c(e,r)&&(t=z(r))&&(n[t]=e[r]);return n}var B={};function U(e,t){B[e]=t}function V(e){return e%4==0&&e%100!=0||e%400==0}function q(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function G(e){var t=+e,r=0;return 0!==t&&isFinite(t)&&(r=q(t)),r}function J(e,t){return function(r){return null!=r?(K(this,e,r),a.updateOffset(this,t),this):$(this,e)}}function $(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function K(e,t,r){e.isValid()&&!isNaN(r)&&("FullYear"===t&&V(e.year())&&1===e.month()&&29===e.date()?(r=G(r),e._d["set"+(e._isUTC?"UTC":"")+t](r,e.month(),_e(r,e.month()))):e._d["set"+(e._isUTC?"UTC":"")+t](r))}var X,Q=/\d/,Z=/\d\d/,ee=/\d{3}/,te=/\d{4}/,re=/[+-]?\d{6}/,ne=/\d\d?/,ae=/\d\d\d\d?/,oe=/\d\d\d\d\d\d?/,ie=/\d{1,3}/,ce=/\d{1,4}/,se=/[+-]?\d{1,6}/,le=/\d+/,de=/[+-]?\d+/,ue=/Z|[+-]\d\d:?\d\d/gi,pe=/Z|[+-]\d\d(?::?\d\d)?/gi,fe=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i;function me(e,t,r){X[e]=S(t)?t:function(e,n){return e&&r?r:t}}function be(e,t){return c(X,e)?X[e](t._strict,t._locale):new RegExp(he(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,(function(e,t,r,n,a){return t||r||n||a}))))}function he(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}X={};var ge,ve={};function ye(e,t){var r,n=t;for("string"==typeof e&&(e=[e]),d(t)&&(n=function(e,r){r[t]=G(e)}),r=0;r68?1900:2e3)};var Pe=J("FullYear",!0);function je(e,t,r,n,a,o,i){var c;return e<100&&e>=0?(c=new Date(e+400,t,r,n,a,o,i),isFinite(c.getFullYear())&&c.setFullYear(e)):c=new Date(e,t,r,n,a,o,i),c}function Ae(e){var t,r;return e<100&&e>=0?((r=Array.prototype.slice.call(arguments))[0]=e+400,t=new Date(Date.UTC.apply(null,r)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function Ne(e,t,r){var n=7+t-r;return-(7+Ae(e,0,n).getUTCDay()-t)%7+n-1}function Fe(e,t,r,n,a){var o,i,c=1+7*(t-1)+(7+r-n)%7+Ne(e,n,a);return c<=0?i=Ce(o=e-1)+c:c>Ce(e)?(o=e+1,i=c-Ce(e)):(o=e,i=c),{year:o,dayOfYear:i}}function Ie(e,t,r){var n,a,o=Ne(e.year(),t,r),i=Math.floor((e.dayOfYear()-o-1)/7)+1;return i<1?n=i+He(a=e.year()-1,t,r):i>He(e.year(),t,r)?(n=i-He(e.year(),t,r),a=e.year()+1):(a=e.year(),n=i),{week:n,year:a}}function He(e,t,r){var n=Ne(e,t,r),a=Ne(e+1,t,r);return(Ce(e)-n+a)/7}function Re(e,t){return e.slice(t,7).concat(e.slice(0,t))}N("w",["ww",2],"wo","week"),N("W",["WW",2],"Wo","isoWeek"),R("week","w"),R("isoWeek","W"),U("week",5),U("isoWeek",5),me("w",ne),me("ww",ne,Z),me("W",ne),me("WW",ne,Z),we(["w","ww","W","WW"],(function(e,t,r,n){t[n.substr(0,1)]=G(e)})),N("d",0,"do","day"),N("dd",0,0,(function(e){return this.localeData().weekdaysMin(this,e)})),N("ddd",0,0,(function(e){return this.localeData().weekdaysShort(this,e)})),N("dddd",0,0,(function(e){return this.localeData().weekdays(this,e)})),N("e",0,0,"weekday"),N("E",0,0,"isoWeekday"),R("day","d"),R("weekday","e"),R("isoWeekday","E"),U("day",11),U("weekday",11),U("isoWeekday",11),me("d",ne),me("e",ne),me("E",ne),me("dd",(function(e,t){return t.weekdaysMinRegex(e)})),me("ddd",(function(e,t){return t.weekdaysShortRegex(e)})),me("dddd",(function(e,t){return t.weekdaysRegex(e)})),we(["dd","ddd","dddd"],(function(e,t,r,n){var a=r._locale.weekdaysParse(e,n,r._strict);null!=a?t.d=a:b(r).invalidWeekday=e})),we(["d","e","E"],(function(e,t,r,n){t[n]=G(e)}));var ze="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),We="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Be="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Ue=fe,Ve=fe,qe=fe;function Ge(e,t,r){var n,a,o,i=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],n=0;n<7;++n)o=m([2e3,1]).day(n),this._minWeekdaysParse[n]=this.weekdaysMin(o,"").toLocaleLowerCase(),this._shortWeekdaysParse[n]=this.weekdaysShort(o,"").toLocaleLowerCase(),this._weekdaysParse[n]=this.weekdays(o,"").toLocaleLowerCase();return r?"dddd"===t?-1!==(a=ge.call(this._weekdaysParse,i))?a:null:"ddd"===t?-1!==(a=ge.call(this._shortWeekdaysParse,i))?a:null:-1!==(a=ge.call(this._minWeekdaysParse,i))?a:null:"dddd"===t?-1!==(a=ge.call(this._weekdaysParse,i))||-1!==(a=ge.call(this._shortWeekdaysParse,i))||-1!==(a=ge.call(this._minWeekdaysParse,i))?a:null:"ddd"===t?-1!==(a=ge.call(this._shortWeekdaysParse,i))||-1!==(a=ge.call(this._weekdaysParse,i))||-1!==(a=ge.call(this._minWeekdaysParse,i))?a:null:-1!==(a=ge.call(this._minWeekdaysParse,i))||-1!==(a=ge.call(this._weekdaysParse,i))||-1!==(a=ge.call(this._shortWeekdaysParse,i))?a:null}function Je(){function e(e,t){return t.length-e.length}var t,r,n,a,o,i=[],c=[],s=[],l=[];for(t=0;t<7;t++)r=m([2e3,1]).day(t),n=he(this.weekdaysMin(r,"")),a=he(this.weekdaysShort(r,"")),o=he(this.weekdays(r,"")),i.push(n),c.push(a),s.push(o),l.push(n),l.push(a),l.push(o);i.sort(e),c.sort(e),s.sort(e),l.sort(e),this._weekdaysRegex=new RegExp("^("+l.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+c.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+i.join("|")+")","i")}function $e(){return this.hours()%12||12}function Ke(e,t){N(e,0,0,(function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)}))}function Xe(e,t){return t._meridiemParse}N("H",["HH",2],0,"hour"),N("h",["hh",2],0,$e),N("k",["kk",2],0,(function(){return this.hours()||24})),N("hmm",0,0,(function(){return""+$e.apply(this)+Y(this.minutes(),2)})),N("hmmss",0,0,(function(){return""+$e.apply(this)+Y(this.minutes(),2)+Y(this.seconds(),2)})),N("Hmm",0,0,(function(){return""+this.hours()+Y(this.minutes(),2)})),N("Hmmss",0,0,(function(){return""+this.hours()+Y(this.minutes(),2)+Y(this.seconds(),2)})),Ke("a",!0),Ke("A",!1),R("hour","h"),U("hour",13),me("a",Xe),me("A",Xe),me("H",ne),me("h",ne),me("k",ne),me("HH",ne,Z),me("hh",ne,Z),me("kk",ne,Z),me("hmm",ae),me("hmmss",oe),me("Hmm",ae),me("Hmmss",oe),ye(["H","HH"],3),ye(["k","kk"],(function(e,t,r){var n=G(e);t[3]=24===n?0:n})),ye(["a","A"],(function(e,t,r){r._isPm=r._locale.isPM(e),r._meridiem=e})),ye(["h","hh"],(function(e,t,r){t[3]=G(e),b(r).bigHour=!0})),ye("hmm",(function(e,t,r){var n=e.length-2;t[3]=G(e.substr(0,n)),t[4]=G(e.substr(n)),b(r).bigHour=!0})),ye("hmmss",(function(e,t,r){var n=e.length-4,a=e.length-2;t[3]=G(e.substr(0,n)),t[4]=G(e.substr(n,2)),t[5]=G(e.substr(a)),b(r).bigHour=!0})),ye("Hmm",(function(e,t,r){var n=e.length-2;t[3]=G(e.substr(0,n)),t[4]=G(e.substr(n))})),ye("Hmmss",(function(e,t,r){var n=e.length-4,a=e.length-2;t[3]=G(e.substr(0,n)),t[4]=G(e.substr(n,2)),t[5]=G(e.substr(a))}));var Qe,Ze=J("Hours",!0),et={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:xe,monthsShort:Me,week:{dow:0,doy:6},weekdays:ze,weekdaysMin:Be,weekdaysShort:We,meridiemParse:/[ap]\.?m?\.?/i},tt={},rt={};function nt(e,t){var r,n=Math.min(e.length,t.length);for(r=0;r0;){if(n=ot(a.slice(0,t).join("-")))return n;if(r&&r.length>=t&&nt(a,r)>=t-1)break;t--}o++}return Qe}(e)}function lt(e){var t,r=e._a;return r&&-2===b(e).overflow&&(t=r[1]<0||r[1]>11?1:r[2]<1||r[2]>_e(r[0],r[1])?2:r[3]<0||r[3]>24||24===r[3]&&(0!==r[4]||0!==r[5]||0!==r[6])?3:r[4]<0||r[4]>59?4:r[5]<0||r[5]>59?5:r[6]<0||r[6]>999?6:-1,b(e)._overflowDayOfYear&&(t<0||t>2)&&(t=2),b(e)._overflowWeeks&&-1===t&&(t=7),b(e)._overflowWeekday&&-1===t&&(t=8),b(e).overflow=t),e}var dt=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,ut=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,pt=/Z|[+-]\d\d(?::?\d\d)?/,ft=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],mt=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],bt=/^\/?Date\((-?\d+)/i,ht=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,gt={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function vt(e){var t,r,n,a,o,i,c=e._i,s=dt.exec(c)||ut.exec(c);if(s){for(b(e).iso=!0,t=0,r=ft.length;t7)&&(s=!0)):(o=e._locale._week.dow,i=e._locale._week.doy,l=Ie(Et(),o,i),r=kt(t.gg,e._a[0],l.year),n=kt(t.w,l.week),null!=t.d?((a=t.d)<0||a>6)&&(s=!0):null!=t.e?(a=t.e+o,(t.e<0||t.e>6)&&(s=!0)):a=o),n<1||n>He(r,o,i)?b(e)._overflowWeeks=!0:null!=s?b(e)._overflowWeekday=!0:(c=Fe(r,n,a,o,i),e._a[0]=c.year,e._dayOfYear=c.dayOfYear)}(e),null!=e._dayOfYear&&(i=kt(e._a[0],n[0]),(e._dayOfYear>Ce(i)||0===e._dayOfYear)&&(b(e)._overflowDayOfYear=!0),r=Ae(i,0,e._dayOfYear),e._a[1]=r.getUTCMonth(),e._a[2]=r.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=c[t]=n[t];for(;t<7;t++)e._a[t]=c[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[3]&&0===e._a[4]&&0===e._a[5]&&0===e._a[6]&&(e._nextDay=!0,e._a[3]=0),e._d=(e._useUTC?Ae:je).apply(null,c),o=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[3]=24),e._w&&void 0!==e._w.d&&e._w.d!==o&&(b(e).weekdayMismatch=!0)}}function xt(e){if(e._f!==a.ISO_8601)if(e._f!==a.RFC_2822){e._a=[],b(e).empty=!0;var t,r,n,o,i,c,s=""+e._i,l=s.length,d=0;for(n=I(e._f,e._locale).match(C)||[],t=0;t0&&b(e).unusedInput.push(i),s=s.slice(s.indexOf(r)+r.length),d+=r.length),A[o]?(r?b(e).empty=!1:b(e).unusedTokens.push(o),ke(o,r,e)):e._strict&&!r&&b(e).unusedTokens.push(o);b(e).charsLeftOver=l-d,s.length>0&&b(e).unusedInput.push(s),e._a[3]<=12&&!0===b(e).bigHour&&e._a[3]>0&&(b(e).bigHour=void 0),b(e).parsedDateParts=e._a.slice(0),b(e).meridiem=e._meridiem,e._a[3]=function(e,t,r){var n;return null==r?t:null!=e.meridiemHour?e.meridiemHour(t,r):null!=e.isPM?((n=e.isPM(r))&&t<12&&(t+=12),n||12!==t||(t=0),t):t}(e._locale,e._a[3],e._meridiem),null!==(c=b(e).era)&&(e._a[0]=e._locale.erasConvertYear(c,e._a[0])),_t(e),lt(e)}else wt(e);else vt(e)}function Mt(e){var t=e._i,r=e._f;return e._locale=e._locale||st(e._l),null===t||void 0===r&&""===t?g({nullInput:!0}):("string"==typeof t&&(e._i=t=e._locale.preparse(t)),_(t)?new k(lt(t)):(u(t)?e._d=t:o(r)?function(e){var t,r,n,a,o,i,c=!1;if(0===e._f.length)return b(e).invalidFormat=!0,void(e._d=new Date(NaN));for(a=0;athis?this:e:g()}));function Tt(e,t){var r,n;if(1===t.length&&o(t[0])&&(t=t[0]),!t.length)return Et();for(r=t[0],n=1;n=0?new Date(e+400,t,r)-126227808e5:new Date(e,t,r).valueOf()}function ar(e,t,r){return e<100&&e>=0?Date.UTC(e+400,t,r)-126227808e5:Date.UTC(e,t,r)}function or(e,t){return t.erasAbbrRegex(e)}function ir(){var e,t,r=[],n=[],a=[],o=[],i=this.eras();for(e=0,t=i.length;e(o=He(e,n,a))&&(t=o),lr.call(this,e,t,r,n,a))}function lr(e,t,r,n,a){var o=Fe(e,t,r,n,a),i=Ae(o.year,0,o.dayOfYear);return this.year(i.getUTCFullYear()),this.month(i.getUTCMonth()),this.date(i.getUTCDate()),this}N("N",0,0,"eraAbbr"),N("NN",0,0,"eraAbbr"),N("NNN",0,0,"eraAbbr"),N("NNNN",0,0,"eraName"),N("NNNNN",0,0,"eraNarrow"),N("y",["y",1],"yo","eraYear"),N("y",["yy",2],0,"eraYear"),N("y",["yyy",3],0,"eraYear"),N("y",["yyyy",4],0,"eraYear"),me("N",or),me("NN",or),me("NNN",or),me("NNNN",(function(e,t){return t.erasNameRegex(e)})),me("NNNNN",(function(e,t){return t.erasNarrowRegex(e)})),ye(["N","NN","NNN","NNNN","NNNNN"],(function(e,t,r,n){var a=r._locale.erasParse(e,n,r._strict);a?b(r).era=a:b(r).invalidEra=e})),me("y",le),me("yy",le),me("yyy",le),me("yyyy",le),me("yo",(function(e,t){return t._eraYearOrdinalRegex||le})),ye(["y","yy","yyy","yyyy"],0),ye(["yo"],(function(e,t,r,n){var a;r._locale._eraYearOrdinalRegex&&(a=e.match(r._locale._eraYearOrdinalRegex)),r._locale.eraYearOrdinalParse?t[0]=r._locale.eraYearOrdinalParse(e,a):t[0]=parseInt(e,10)})),N(0,["gg",2],0,(function(){return this.weekYear()%100})),N(0,["GG",2],0,(function(){return this.isoWeekYear()%100})),cr("gggg","weekYear"),cr("ggggg","weekYear"),cr("GGGG","isoWeekYear"),cr("GGGGG","isoWeekYear"),R("weekYear","gg"),R("isoWeekYear","GG"),U("weekYear",1),U("isoWeekYear",1),me("G",de),me("g",de),me("GG",ne,Z),me("gg",ne,Z),me("GGGG",ce,te),me("gggg",ce,te),me("GGGGG",se,re),me("ggggg",se,re),we(["gggg","ggggg","GGGG","GGGGG"],(function(e,t,r,n){t[n.substr(0,2)]=G(e)})),we(["gg","GG"],(function(e,t,r,n){t[n]=a.parseTwoDigitYear(e)})),N("Q",0,"Qo","quarter"),R("quarter","Q"),U("quarter",7),me("Q",Q),ye("Q",(function(e,t){t[1]=3*(G(e)-1)})),N("D",["DD",2],"Do","date"),R("date","D"),U("date",9),me("D",ne),me("DD",ne,Z),me("Do",(function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient})),ye(["D","DD"],2),ye("Do",(function(e,t){t[2]=G(e.match(ne)[0])}));var dr=J("Date",!0);N("DDD",["DDDD",3],"DDDo","dayOfYear"),R("dayOfYear","DDD"),U("dayOfYear",4),me("DDD",ie),me("DDDD",ee),ye(["DDD","DDDD"],(function(e,t,r){r._dayOfYear=G(e)})),N("m",["mm",2],0,"minute"),R("minute","m"),U("minute",14),me("m",ne),me("mm",ne,Z),ye(["m","mm"],4);var ur=J("Minutes",!1);N("s",["ss",2],0,"second"),R("second","s"),U("second",15),me("s",ne),me("ss",ne,Z),ye(["s","ss"],5);var pr,fr,mr=J("Seconds",!1);for(N("S",0,0,(function(){return~~(this.millisecond()/100)})),N(0,["SS",2],0,(function(){return~~(this.millisecond()/10)})),N(0,["SSS",3],0,"millisecond"),N(0,["SSSS",4],0,(function(){return 10*this.millisecond()})),N(0,["SSSSS",5],0,(function(){return 100*this.millisecond()})),N(0,["SSSSSS",6],0,(function(){return 1e3*this.millisecond()})),N(0,["SSSSSSS",7],0,(function(){return 1e4*this.millisecond()})),N(0,["SSSSSSSS",8],0,(function(){return 1e5*this.millisecond()})),N(0,["SSSSSSSSS",9],0,(function(){return 1e6*this.millisecond()})),R("millisecond","ms"),U("millisecond",16),me("S",ie,Q),me("SS",ie,Z),me("SSS",ie,ee),pr="SSSS";pr.length<=9;pr+="S")me(pr,le);function br(e,t){t[6]=G(1e3*("0."+e))}for(pr="S";pr.length<=9;pr+="S")ye(pr,br);fr=J("Milliseconds",!1),N("z",0,0,"zoneAbbr"),N("zz",0,0,"zoneName");var hr=k.prototype;function gr(e){return e}hr.add=Gt,hr.calendar=function(e,t){1===arguments.length&&(Kt(arguments[0])?(e=arguments[0],t=void 0):Xt(arguments[0])&&(t=arguments[0],e=void 0));var r=e||Et(),n=Ft(r,this).startOf("day"),o=a.calendarFormat(this,n)||"sameElse",i=t&&(S(t[o])?t[o].call(this,r):t[o]);return this.format(i||this.localeData().calendar(o,this,Et(r)))},hr.clone=function(){return new k(this)},hr.diff=function(e,t,r){var n,a,o;if(!this.isValid())return NaN;if(!(n=Ft(e,this)).isValid())return NaN;switch(a=6e4*(n.utcOffset()-this.utcOffset()),t=z(t)){case"year":o=Qt(this,n)/12;break;case"month":o=Qt(this,n);break;case"quarter":o=Qt(this,n)/3;break;case"second":o=(this-n)/1e3;break;case"minute":o=(this-n)/6e4;break;case"hour":o=(this-n)/36e5;break;case"day":o=(this-n-a)/864e5;break;case"week":o=(this-n-a)/6048e5;break;default:o=this-n}return r?o:q(o)},hr.endOf=function(e){var t,r;if(void 0===(e=z(e))||"millisecond"===e||!this.isValid())return this;switch(r=this._isUTC?ar:nr,e){case"year":t=r(this.year()+1,0,1)-1;break;case"quarter":t=r(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=r(this.year(),this.month()+1,1)-1;break;case"week":t=r(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=r(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=r(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=36e5-rr(t+(this._isUTC?0:6e4*this.utcOffset()),36e5)-1;break;case"minute":t=this._d.valueOf(),t+=6e4-rr(t,6e4)-1;break;case"second":t=this._d.valueOf(),t+=1e3-rr(t,1e3)-1}return this._d.setTime(t),a.updateOffset(this,!0),this},hr.format=function(e){e||(e=this.isUtc()?a.defaultFormatUtc:a.defaultFormat);var t=F(this,e);return this.localeData().postformat(t)},hr.from=function(e,t){return this.isValid()&&(_(e)&&e.isValid()||Et(e).isValid())?Wt({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},hr.fromNow=function(e){return this.from(Et(),e)},hr.to=function(e,t){return this.isValid()&&(_(e)&&e.isValid()||Et(e).isValid())?Wt({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},hr.toNow=function(e){return this.to(Et(),e)},hr.get=function(e){return S(this[e=z(e)])?this[e]():this},hr.invalidAt=function(){return b(this).overflow},hr.isAfter=function(e,t){var r=_(e)?e:Et(e);return!(!this.isValid()||!r.isValid())&&("millisecond"===(t=z(t)||"millisecond")?this.valueOf()>r.valueOf():r.valueOf()9999?F(r,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):S(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",F(r,"Z")):F(r,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},hr.inspect=function(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e,t,r,n="moment",a="";return this.isLocal()||(n=0===this.utcOffset()?"moment.utc":"moment.parseZone",a="Z"),e="["+n+'("]',t=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",r=a+'[")]',this.format(e+t+"-MM-DD[T]HH:mm:ss.SSS"+r)},"undefined"!=typeof Symbol&&null!=Symbol.for&&(hr[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),hr.toJSON=function(){return this.isValid()?this.toISOString():null},hr.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},hr.unix=function(){return Math.floor(this.valueOf()/1e3)},hr.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},hr.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},hr.eraName=function(){var e,t,r,n=this.localeData().eras();for(e=0,t=n.length;ethis.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},hr.isLocal=function(){return!!this.isValid()&&!this._isUTC},hr.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},hr.isUtc=Ht,hr.isUTC=Ht,hr.zoneAbbr=function(){return this._isUTC?"UTC":""},hr.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},hr.dates=M("dates accessor is deprecated. Use date instead.",dr),hr.months=M("months accessor is deprecated. Use month instead",Oe),hr.years=M("years accessor is deprecated. Use year instead",Pe),hr.zone=M("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",(function(e,t){return null!=e?("string"!=typeof e&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()})),hr.isDSTShifted=M("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",(function(){if(!l(this._isDSTShifted))return this._isDSTShifted;var e,t={};return w(t,this),(t=Mt(t))._a?(e=t._isUTC?m(t._a):Et(t._a),this._isDSTShifted=this.isValid()&&function(e,t,r){var n,a=Math.min(e.length,t.length),o=Math.abs(e.length-t.length),i=0;for(n=0;n0):this._isDSTShifted=!1,this._isDSTShifted}));var vr=O.prototype;function yr(e,t,r,n){var a=st(),o=m().set(n,t);return a[r](o,e)}function wr(e,t,r){if(d(e)&&(t=e,e=void 0),e=e||"",null!=t)return yr(e,t,r,"month");var n,a=[];for(n=0;n<12;n++)a[n]=yr(e,n,r,"month");return a}function kr(e,t,r,n){"boolean"==typeof e?(d(t)&&(r=t,t=void 0),t=t||""):(r=t=e,e=!1,d(t)&&(r=t,t=void 0),t=t||"");var a,o=st(),i=e?o._week.dow:0,c=[];if(null!=r)return yr(t,(r+i)%7,n,"day");for(a=0;a<7;a++)c[a]=yr(t,(a+i)%7,n,"day");return c}vr.calendar=function(e,t,r){var n=this._calendar[e]||this._calendar.sameElse;return S(n)?n.call(t,r):n},vr.longDateFormat=function(e){var t=this._longDateFormat[e],r=this._longDateFormat[e.toUpperCase()];return t||!r?t:(this._longDateFormat[e]=r.match(C).map((function(e){return"MMMM"===e||"MM"===e||"DD"===e||"dddd"===e?e.slice(1):e})).join(""),this._longDateFormat[e])},vr.invalidDate=function(){return this._invalidDate},vr.ordinal=function(e){return this._ordinal.replace("%d",e)},vr.preparse=gr,vr.postformat=gr,vr.relativeTime=function(e,t,r,n){var a=this._relativeTime[r];return S(a)?a(e,t,r,n):a.replace(/%d/i,e)},vr.pastFuture=function(e,t){var r=this._relativeTime[e>0?"future":"past"];return S(r)?r(t):r.replace(/%s/i,t)},vr.set=function(e){var t,r;for(r in e)c(e,r)&&(S(t=e[r])?this[r]=t:this["_"+r]=t);this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},vr.eras=function(e,t){var r,n,o,i=this._eras||st("en")._eras;for(r=0,n=i.length;r=0)return s[n]},vr.erasConvertYear=function(e,t){var r=e.since<=e.until?1:-1;return void 0===t?a(e.since).year():a(e.since).year()+(t-e.offset)*r},vr.erasAbbrRegex=function(e){return c(this,"_erasAbbrRegex")||ir.call(this),e?this._erasAbbrRegex:this._erasRegex},vr.erasNameRegex=function(e){return c(this,"_erasNameRegex")||ir.call(this),e?this._erasNameRegex:this._erasRegex},vr.erasNarrowRegex=function(e){return c(this,"_erasNarrowRegex")||ir.call(this),e?this._erasNarrowRegex:this._erasRegex},vr.months=function(e,t){return e?o(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||Le).test(t)?"format":"standalone"][e.month()]:o(this._months)?this._months:this._months.standalone},vr.monthsShort=function(e,t){return e?o(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[Le.test(t)?"format":"standalone"][e.month()]:o(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},vr.monthsParse=function(e,t,r){var n,a,o;if(this._monthsParseExact)return Se.call(this,e,t,r);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),n=0;n<12;n++){if(a=m([2e3,n]),r&&!this._longMonthsParse[n]&&(this._longMonthsParse[n]=new RegExp("^"+this.months(a,"").replace(".","")+"$","i"),this._shortMonthsParse[n]=new RegExp("^"+this.monthsShort(a,"").replace(".","")+"$","i")),r||this._monthsParse[n]||(o="^"+this.months(a,"")+"|^"+this.monthsShort(a,""),this._monthsParse[n]=new RegExp(o.replace(".",""),"i")),r&&"MMMM"===t&&this._longMonthsParse[n].test(e))return n;if(r&&"MMM"===t&&this._shortMonthsParse[n].test(e))return n;if(!r&&this._monthsParse[n].test(e))return n}},vr.monthsRegex=function(e){return this._monthsParseExact?(c(this,"_monthsRegex")||Ye.call(this),e?this._monthsStrictRegex:this._monthsRegex):(c(this,"_monthsRegex")||(this._monthsRegex=De),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)},vr.monthsShortRegex=function(e){return this._monthsParseExact?(c(this,"_monthsRegex")||Ye.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(c(this,"_monthsShortRegex")||(this._monthsShortRegex=Ee),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)},vr.week=function(e){return Ie(e,this._week.dow,this._week.doy).week},vr.firstDayOfYear=function(){return this._week.doy},vr.firstDayOfWeek=function(){return this._week.dow},vr.weekdays=function(e,t){var r=o(this._weekdays)?this._weekdays:this._weekdays[e&&!0!==e&&this._weekdays.isFormat.test(t)?"format":"standalone"];return!0===e?Re(r,this._week.dow):e?r[e.day()]:r},vr.weekdaysMin=function(e){return!0===e?Re(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin},vr.weekdaysShort=function(e){return!0===e?Re(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort},vr.weekdaysParse=function(e,t,r){var n,a,o;if(this._weekdaysParseExact)return Ge.call(this,e,t,r);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),n=0;n<7;n++){if(a=m([2e3,1]).day(n),r&&!this._fullWeekdaysParse[n]&&(this._fullWeekdaysParse[n]=new RegExp("^"+this.weekdays(a,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[n]=new RegExp("^"+this.weekdaysShort(a,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[n]=new RegExp("^"+this.weekdaysMin(a,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[n]||(o="^"+this.weekdays(a,"")+"|^"+this.weekdaysShort(a,"")+"|^"+this.weekdaysMin(a,""),this._weekdaysParse[n]=new RegExp(o.replace(".",""),"i")),r&&"dddd"===t&&this._fullWeekdaysParse[n].test(e))return n;if(r&&"ddd"===t&&this._shortWeekdaysParse[n].test(e))return n;if(r&&"dd"===t&&this._minWeekdaysParse[n].test(e))return n;if(!r&&this._weekdaysParse[n].test(e))return n}},vr.weekdaysRegex=function(e){return this._weekdaysParseExact?(c(this,"_weekdaysRegex")||Je.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(c(this,"_weekdaysRegex")||(this._weekdaysRegex=Ue),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)},vr.weekdaysShortRegex=function(e){return this._weekdaysParseExact?(c(this,"_weekdaysRegex")||Je.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(c(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Ve),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},vr.weekdaysMinRegex=function(e){return this._weekdaysParseExact?(c(this,"_weekdaysRegex")||Je.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(c(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=qe),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},vr.isPM=function(e){return"p"===(e+"").toLowerCase().charAt(0)},vr.meridiem=function(e,t,r){return e>11?r?"pm":"PM":r?"am":"AM"},it("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1===G(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}}),a.lang=M("moment.lang is deprecated. Use moment.locale instead.",it),a.langData=M("moment.langData is deprecated. Use moment.localeData instead.",st);var _r=Math.abs;function xr(e,t,r,n){var a=Wt(t,r);return e._milliseconds+=n*a._milliseconds,e._days+=n*a._days,e._months+=n*a._months,e._bubble()}function Mr(e){return e<0?Math.floor(e):Math.ceil(e)}function Lr(e){return 4800*e/146097}function Er(e){return 146097*e/4800}function Dr(e){return function(){return this.as(e)}}var Sr=Dr("ms"),Tr=Dr("s"),Or=Dr("m"),Yr=Dr("h"),Cr=Dr("d"),Pr=Dr("w"),jr=Dr("M"),Ar=Dr("Q"),Nr=Dr("y");function Fr(e){return function(){return this.isValid()?this._data[e]:NaN}}var Ir=Fr("milliseconds"),Hr=Fr("seconds"),Rr=Fr("minutes"),zr=Fr("hours"),Wr=Fr("days"),Br=Fr("months"),Ur=Fr("years"),Vr=Math.round,qr={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function Gr(e,t,r,n,a){return a.relativeTime(t||1,!!r,e,n)}var Jr=Math.abs;function $r(e){return(e>0)-(e<0)||+e}function Kr(){if(!this.isValid())return this.localeData().invalidDate();var e,t,r,n,a,o,i,c,s=Jr(this._milliseconds)/1e3,l=Jr(this._days),d=Jr(this._months),u=this.asSeconds();return u?(e=q(s/60),t=q(e/60),s%=60,e%=60,r=q(d/12),d%=12,n=s?s.toFixed(3).replace(/\.?0+$/,""):"",a=u<0?"-":"",o=$r(this._months)!==$r(u)?"-":"",i=$r(this._days)!==$r(u)?"-":"",c=$r(this._milliseconds)!==$r(u)?"-":"",a+"P"+(r?o+r+"Y":"")+(d?o+d+"M":"")+(l?i+l+"D":"")+(t||e||s?"T":"")+(t?c+t+"H":"")+(e?c+e+"M":"")+(s?c+n+"S":"")):"P0D"}var Xr=Yt.prototype;return Xr.isValid=function(){return this._isValid},Xr.abs=function(){var e=this._data;return this._milliseconds=_r(this._milliseconds),this._days=_r(this._days),this._months=_r(this._months),e.milliseconds=_r(e.milliseconds),e.seconds=_r(e.seconds),e.minutes=_r(e.minutes),e.hours=_r(e.hours),e.months=_r(e.months),e.years=_r(e.years),this},Xr.add=function(e,t){return xr(this,e,t,1)},Xr.subtract=function(e,t){return xr(this,e,t,-1)},Xr.as=function(e){if(!this.isValid())return NaN;var t,r,n=this._milliseconds;if("month"===(e=z(e))||"quarter"===e||"year"===e)switch(t=this._days+n/864e5,r=this._months+Lr(t),e){case"month":return r;case"quarter":return r/3;case"year":return r/12}else switch(t=this._days+Math.round(Er(this._months)),e){case"week":return t/7+n/6048e5;case"day":return t+n/864e5;case"hour":return 24*t+n/36e5;case"minute":return 1440*t+n/6e4;case"second":return 86400*t+n/1e3;case"millisecond":return Math.floor(864e5*t)+n;default:throw new Error("Unknown unit "+e)}},Xr.asMilliseconds=Sr,Xr.asSeconds=Tr,Xr.asMinutes=Or,Xr.asHours=Yr,Xr.asDays=Cr,Xr.asWeeks=Pr,Xr.asMonths=jr,Xr.asQuarters=Ar,Xr.asYears=Nr,Xr.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*G(this._months/12):NaN},Xr._bubble=function(){var e,t,r,n,a,o=this._milliseconds,i=this._days,c=this._months,s=this._data;return o>=0&&i>=0&&c>=0||o<=0&&i<=0&&c<=0||(o+=864e5*Mr(Er(c)+i),i=0,c=0),s.milliseconds=o%1e3,e=q(o/1e3),s.seconds=e%60,t=q(e/60),s.minutes=t%60,r=q(t/60),s.hours=r%24,i+=q(r/24),a=q(Lr(i)),c+=a,i-=Mr(Er(a)),n=q(c/12),c%=12,s.days=i,s.months=c,s.years=n,this},Xr.clone=function(){return Wt(this)},Xr.get=function(e){return e=z(e),this.isValid()?this[e+"s"]():NaN},Xr.milliseconds=Ir,Xr.seconds=Hr,Xr.minutes=Rr,Xr.hours=zr,Xr.days=Wr,Xr.weeks=function(){return q(this.days()/7)},Xr.months=Br,Xr.years=Ur,Xr.humanize=function(e,t){if(!this.isValid())return this.localeData().invalidDate();var r,n,a=!1,o=qr;return"object"==typeof e&&(t=e,e=!1),"boolean"==typeof e&&(a=e),"object"==typeof t&&(o=Object.assign({},qr,t),null!=t.s&&null==t.ss&&(o.ss=t.s-1)),r=this.localeData(),n=function(e,t,r,n){var a=Wt(e).abs(),o=Vr(a.as("s")),i=Vr(a.as("m")),c=Vr(a.as("h")),s=Vr(a.as("d")),l=Vr(a.as("M")),d=Vr(a.as("w")),u=Vr(a.as("y")),p=o<=r.ss&&["s",o]||o0,p[4]=n,Gr.apply(null,p)}(this,!a,o,r),a&&(n=r.pastFuture(+this,n)),r.postformat(n)},Xr.toISOString=Kr,Xr.toString=Kr,Xr.toJSON=Kr,Xr.locale=Zt,Xr.localeData=tr,Xr.toIsoString=M("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Kr),Xr.lang=er,N("X",0,0,"unix"),N("x",0,0,"valueOf"),me("x",de),me("X",/[+-]?\d+(\.\d{1,3})?/),ye("X",(function(e,t,r){r._d=new Date(1e3*parseFloat(e))})),ye("x",(function(e,t,r){r._d=new Date(G(e))})), //! moment.js a.version="2.26.0",t=Et,a.fn=hr,a.min=function(){var e=[].slice.call(arguments,0);return Tt("isBefore",e)},a.max=function(){var e=[].slice.call(arguments,0);return Tt("isAfter",e)},a.now=function(){return Date.now?Date.now():+new Date},a.utc=m,a.unix=function(e){return Et(1e3*e)},a.months=function(e,t){return wr(e,t,"months")},a.isDate=u,a.locale=it,a.invalid=g,a.duration=Wt,a.isMoment=_,a.weekdays=function(e,t,r){return kr(e,t,r,"weekdays")},a.parseZone=function(){return Et.apply(null,arguments).parseZone()},a.localeData=st,a.isDuration=Ct,a.monthsShort=function(e,t){return wr(e,t,"monthsShort")},a.weekdaysMin=function(e,t,r){return kr(e,t,r,"weekdaysMin")},a.defineLocale=ct,a.updateLocale=function(e,t){if(null!=t){var r,n,a=et;null!=tt[e]&&null!=tt[e].parentLocale?tt[e].set(T(tt[e]._config,t)):(null!=(n=ot(e))&&(a=n._config),t=T(a,t),null==n&&(t.abbr=e),(r=new O(t)).parentLocale=tt[e],tt[e]=r),it(e)}else null!=tt[e]&&(null!=tt[e].parentLocale?(tt[e]=tt[e].parentLocale,e===it()&&it(e)):null!=tt[e]&&delete tt[e]);return tt[e]},a.locales=function(){return L(tt)},a.weekdaysShort=function(e,t,r){return kr(e,t,r,"weekdaysShort")},a.normalizeUnits=z,a.relativeTimeRounding=function(e){return void 0===e?Vr:"function"==typeof e&&(Vr=e,!0)},a.relativeTimeThreshold=function(e,t){return void 0!==qr[e]&&(void 0===t?qr[e]:(qr[e]=t,"s"===e&&(qr.ss=t-1),!0))},a.calendarFormat=function(e,t){var r=e.diff(t,"days",!0);return r<-6?"sameElse":r<-1?"lastWeek":r<0?"lastDay":r<1?"sameDay":r<2?"nextDay":r<7?"nextWeek":"sameElse"},a.prototype=hr,a.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},a}()}).call(this,r(169)(e))},function(e,t,r){"use strict";function n(e,t){if(t.length1?"s":"")+" required, but only "+t.length+" present")}r.d(t,"a",(function(){return n}))},function(e,t,r){var n=r(8),a=r(33),o=r(20),i=r(21),c=r(34),s=function(e,t,r){var l,d,u,p,f=e&s.F,m=e&s.G,b=e&s.S,h=e&s.P,g=e&s.B,v=m?n:b?n[t]||(n[t]={}):(n[t]||{}).prototype,y=m?a:a[t]||(a[t]={}),w=y.prototype||(y.prototype={});for(l in m&&(r=t),r)u=((d=!f&&v&&void 0!==v[l])?v:r)[l],p=g&&d?c(u,n):h&&"function"==typeof u?c(Function.call,u):u,v&&i(v,l,u,e&s.U),y[l]!=u&&o(y,l,p),h&&w[l]!=u&&(w[l]=u)};n.core=a,s.F=1,s.G=2,s.S=4,s.P=8,s.B=16,s.W=32,s.U=64,s.R=128,e.exports=s},function(e,t,r){"use strict";r.r(t),r.d(t,"default",(function(){return a}));var n=r(3);function a(e){Object(n.a)(1,arguments);var t=Object.prototype.toString.call(e);return e instanceof Date||"object"==typeof e&&"[object Date]"===t?new Date(e.getTime()):"number"==typeof e||"[object Number]"===t?new Date(e):("string"!=typeof e&&"[object String]"!==t||"undefined"==typeof console||(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as arguments. Please use `parseISO` to parse strings. See: https://git.io/fjule"),console.warn((new Error).stack)),new Date(NaN))}},function(e,t,r){"use strict";function n(e){if(null===e||!0===e||!1===e)return NaN;var t=Number(e);return isNaN(t)?t:t<0?Math.ceil(t):Math.floor(t)}r.d(t,"a",(function(){return n}))},function(e,t,r){var n=r(10);e.exports=function(e){if(!n(e))throw TypeError(e+" is not an object!");return e}},function(e,t){var r=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=r)},function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t,r){"use strict";!function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE){0;try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(e){console.error(e)}}}(),e.exports=r(424)},function(e,t,r){var n=r(93)("wks"),a=r(61),o=r(8).Symbol,i="function"==typeof o;(e.exports=function(e){return n[e]||(n[e]=i&&o[e]||(i?o:a)("Symbol."+e))}).store=n},function(e,t,r){var n=r(36),a=Math.min;e.exports=function(e){return e>0?a(n(e),9007199254740991):0}},function(e,t,r){e.exports=!r(9)((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},function(e,t){e.exports=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}},function(e,t){e.exports=function(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}},function(e,t,r){var n=r(7),a=r(207),o=r(40),i=Object.defineProperty;t.f=r(14)?Object.defineProperty:function(e,t,r){if(n(e),t=o(t,!0),n(r),a)try{return i(e,t,r)}catch(e){}if("get"in r||"set"in r)throw TypeError("Accessors not supported!");return"value"in r&&(e[t]=r.value),e}},function(e,t,r){var n=r(41);e.exports=function(e){return Object(n(e))}},function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},function(e,t,r){var n=r(17),a=r(60);e.exports=r(14)?function(e,t,r){return n.f(e,t,a(1,r))}:function(e,t,r){return e[t]=r,e}},function(e,t,r){var n=r(8),a=r(20),o=r(25),i=r(61)("src"),c=r(434),s=(""+c).split("toString");r(33).inspectSource=function(e){return c.call(e)},(e.exports=function(e,t,r,c){var l="function"==typeof r;l&&(o(r,"name")||a(r,"name",t)),e[t]!==r&&(l&&(o(r,i)||a(r,i,e[t]?""+e[t]:s.join(String(t)))),e===n?e[t]=r:c?e[t]?e[t]=r:a(e,t,r):(delete e[t],a(e,t,r)))})(Function.prototype,"toString",(function(){return"function"==typeof this&&this[i]||c.call(this)}))},function(e,t,r){var n=r(4),a=r(9),o=r(41),i=/"/g,c=function(e,t,r,n){var a=String(o(e)),c="<"+t;return""!==r&&(c+=" "+r+'="'+String(n).replace(i,""")+'"'),c+">"+a+""};e.exports=function(e,t){var r={};r[e]=t(c),n(n.P+n.F*a((function(){var t=""[e]('"');return t!==t.toLowerCase()||t.split('"').length>3})),"String",r)}},function(e,t,r){"use strict";t.__esModule=!0;var n,a=r(132),o=(n=a)&&n.__esModule?n:{default:n};t.default=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==(void 0===t?"undefined":(0,o.default)(t))&&"function"!=typeof t?e:t}},function(e,t,r){"use strict";function n(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}r.d(t,"a",(function(){return n}))},function(e,t){var r={}.hasOwnProperty;e.exports=function(e,t){return r.call(e,t)}},function(e,t,r){var n=r(94),a=r(41);e.exports=function(e){return n(a(e))}},function(e,t,r){var n=r(95),a=r(60),o=r(26),i=r(40),c=r(25),s=r(207),l=Object.getOwnPropertyDescriptor;t.f=r(14)?l:function(e,t){if(e=o(e),t=i(t,!0),s)try{return l(e,t)}catch(e){}if(c(e,t))return a(!n.f.call(e,t),e[t])}},function(e,t,r){var n=r(25),a=r(18),o=r(144)("IE_PROTO"),i=Object.prototype;e.exports=Object.getPrototypeOf||function(e){return e=a(e),n(e,o)?e[o]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?i:null}},function(e,t,r){"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var r=function(e,t){var r=e[1]||"",n=e[3];if(!n)return r;if(t&&"function"==typeof btoa){var a=(i=n,c=btoa(unescape(encodeURIComponent(JSON.stringify(i)))),s="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(c),"/*# ".concat(s," */")),o=n.sources.map((function(e){return"/*# sourceURL=".concat(n.sourceRoot||"").concat(e," */")}));return[r].concat(o).concat([a]).join("\n")}var i,c,s;return[r].join("\n")}(t,e);return t[2]?"@media ".concat(t[2]," {").concat(r,"}"):r})).join("")},t.i=function(e,r,n){"string"==typeof e&&(e=[[null,e,""]]);var a={};if(n)for(var o=0;o0?n:r)(e)}},function(e,t,r){"use strict";var n=r(9);e.exports=function(e,t){return!!e&&n((function(){t?e.call(null,(function(){}),1):e.call(null)}))}},function(e,t,r){"use strict";r.r(t),r.d(t,"default",(function(){return i}));var n=r(5),a=r(6),o=r(3);function i(e,t){Object(o.a)(1,arguments);var r=t||{},i=r.locale,c=i&&i.options&&i.options.weekStartsOn,s=null==c?0:Object(a.a)(c),l=null==r.weekStartsOn?s:Object(a.a)(r.weekStartsOn);if(!(l>=0&&l<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var d=Object(n.default)(e),u=d.getDay(),p=(u=0&&l<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var d=Object(a.default)(e),u=d.getUTCDay(),p=(uk;k++)if((p||k in v)&&(h=y(b=v[k],k,g),e))if(r)_[k]=h;else if(h)switch(e){case 3:return!0;case 5:return b;case 6:return k;case 2:_.push(b)}else if(d)return!1;return u?-1:l||d?d:_}}},function(e,t,r){"use strict";t.__esModule=!0;var n,a=r(735),o=(n=a)&&n.__esModule?n:{default:n};t.default=o.default||function(e){for(var t=1;t0?(6e4+n(t))%6e4:n(t))}},function(e,t,r){"use strict";r.d(t,"a",(function(){return o}));var n=r(5),a=r(3);function o(e){Object(a.a)(1,arguments);var t=1,r=Object(n.default)(e),o=r.getUTCDay(),i=(or;)a[r]=t[r++];return a},Te=function(e,t,r){z(e,t,{get:function(){return this._d[r]}})},Oe=function(e){var t,r,n,a,o,i,c=_(e),s=arguments.length,d=s>1?arguments[1]:void 0,u=void 0!==d,p=D(c);if(null!=p&&!x(p)){for(i=p.call(c),n=[],t=0;!(o=i.next()).done;t++)n.push(o.value);c=n}for(u&&s>2&&(d=l(d,arguments[2],2)),t=0,r=b(c.length),a=Ee(this,r);r>t;t++)a[t]=u?d(c[t],t):c[t];return a},Ye=function(){for(var e=0,t=arguments.length,r=Ee(this,t);t>e;)r[e]=arguments[e++];return r},Ce=!!V&&o((function(){fe.call(new V(1))})),Pe=function(){return fe.apply(Ce?ue.call(Le(this)):Le(this),arguments)},je={copyWithin:function(e,t){return I.call(Le(this),e,t,arguments.length>2?arguments[2]:void 0)},every:function(e){return Q(Le(this),e,arguments.length>1?arguments[1]:void 0)},fill:function(e){return F.apply(Le(this),arguments)},filter:function(e){return De(this,K(Le(this),e,arguments.length>1?arguments[1]:void 0))},find:function(e){return Z(Le(this),e,arguments.length>1?arguments[1]:void 0)},findIndex:function(e){return ee(Le(this),e,arguments.length>1?arguments[1]:void 0)},forEach:function(e){$(Le(this),e,arguments.length>1?arguments[1]:void 0)},indexOf:function(e){return re(Le(this),e,arguments.length>1?arguments[1]:void 0)},includes:function(e){return te(Le(this),e,arguments.length>1?arguments[1]:void 0)},join:function(e){return le.apply(Le(this),arguments)},lastIndexOf:function(e){return ie.apply(Le(this),arguments)},map:function(e){return ke(Le(this),e,arguments.length>1?arguments[1]:void 0)},reduce:function(e){return ce.apply(Le(this),arguments)},reduceRight:function(e){return se.apply(Le(this),arguments)},reverse:function(){for(var e,t=Le(this).length,r=Math.floor(t/2),n=0;n1?arguments[1]:void 0)},sort:function(e){return de.call(Le(this),e)},subarray:function(e,t){var r=Le(this),n=r.length,a=g(e,n);return new(C(r,r[ge]))(r.buffer,r.byteOffset+a*r.BYTES_PER_ELEMENT,b((void 0===t?n:g(t,n))-a))}},Ae=function(e,t){return De(this,ue.call(Le(this),e,t))},Ne=function(e){Le(this);var t=Me(arguments[1],1),r=this.length,n=_(e),a=b(n.length),o=0;if(a+t>r)throw B("Wrong length!");for(;o255?255:255&n),a.v[f](r*t+a.o,n,_e)}(this,r,e)},enumerable:!0})};y?(m=r((function(e,r,n,a){d(e,m,l,"_d");var o,i,c,s,u=0,f=0;if(k(r)){if(!(r instanceof G||"ArrayBuffer"==(s=w(r))||"SharedArrayBuffer"==s))return ye in r?Se(m,r):Oe.call(m,r);o=r,f=Me(n,t);var g=r.byteLength;if(void 0===a){if(g%t)throw B("Wrong length!");if((i=g-f)<0)throw B("Wrong length!")}else if((i=b(a)*t)+f>g)throw B("Wrong length!");c=i/t}else c=h(r),o=new G(i=c*t);for(p(e,"_d",{b:o,o:f,l:i,e:c,v:new J(o)});udocument.F=Object<\/script>"),e.close(),s=e.F;n--;)delete s.prototype[o[n]];return s()};e.exports=Object.create||function(e,t){var r;return null!==e?(c.prototype=n(e),r=new c,c.prototype=null,r[i]=e):r=s(),void 0===t?r:a(r,t)}},function(e,t,r){var n=r(209),a=r(145).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return n(e,a)}},function(e,t,r){"use strict";var n=r(8),a=r(17),o=r(14),i=r(12)("species");e.exports=function(e){var t=n[e];o&&t&&!t[i]&&a.f(t,i,{configurable:!0,get:function(){return this}})}},function(e,t){e.exports=function(e,t,r,n){if(!(e instanceof t)||void 0!==n&&n in e)throw TypeError(r+": incorrect invocation!");return e}},function(e,t,r){var n=r(34),a=r(222),o=r(157),i=r(7),c=r(13),s=r(159),l={},d={};(t=e.exports=function(e,t,r,u,p){var f,m,b,h,g=p?function(){return e}:s(e),v=n(r,u,t?2:1),y=0;if("function"!=typeof g)throw TypeError(e+" is not iterable!");if(o(g)){for(f=c(e.length);f>y;y++)if((h=t?v(i(m=e[y])[0],m[1]):v(e[y]))===l||h===d)return h}else for(b=g.call(e);!(m=b.next()).done;)if((h=a(b,v,m.value,t))===l||h===d)return h}).BREAK=l,t.RETURN=d},function(e,t,r){var n=r(21);e.exports=function(e,t,r){for(var a in t)n(e,a,t[a],r);return e}},function(e,t,r){var n=r(10);e.exports=function(e,t){if(!n(e)||e._t!==t)throw TypeError("Incompatible receiver, "+t+" required!");return e}},function(e,t,r){var n=r(650),a=r(655);e.exports=function(e,t){var r=a(e,t);return n(r)?r:void 0}},function(e,t,r){var n=r(100),a=r(392),o=r(178),i=Object.defineProperty;t.f=r(58)?Object.defineProperty:function(e,t,r){if(n(e),t=o(t,!0),n(r),a)try{return i(e,t,r)}catch(e){}if("get"in r||"set"in r)throw TypeError("Accessors not supported!");return"value"in r&&(e[t]=r.value),e}},function(e,t){var r={}.hasOwnProperty;e.exports=function(e,t){return r.call(e,t)}},function(e,t,r){"use strict";r.r(t),r.d(t,"default",(function(){return o}));var n=r(5),a=r(3);function o(e){Object(a.a)(1,arguments);var t=Object(n.default)(e);return t.setHours(0,0,0,0),t}},function(e,t,r){"use strict";var n=r(87).Collapse,a=r(729).UnmountClosed;e.exports=a,a.Collapse=n,a.UnmountClosed=a},function(e,t){function r(){return e.exports=r=Object.assign||function(e){for(var t=1;t=1&&p<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var f=new Date(0);f.setUTCFullYear(c+1,0,p),f.setUTCHours(0,0,0,0);var m=Object(o.a)(f,t),b=new Date(0);b.setUTCFullYear(c,0,p),b.setUTCHours(0,0,0,0);var h=Object(o.a)(b,t);return r.getTime()>=m.getTime()?c+1:r.getTime()>=h.getTime()?c:c-1}},function(e,t,r){ /*! * Chart.js v2.9.3 * https://www.chartjs.org * (c) 2019 Chart.js Contributors * Released under the MIT License */ e.exports=function(e){"use strict";e=e&&e.hasOwnProperty("default")?e.default:e;var t={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]},r=function(e,t){return e(t={exports:{}},t.exports),t.exports}((function(e){var r={};for(var n in t)t.hasOwnProperty(n)&&(r[t[n]]=n);var a=e.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 o in a)if(a.hasOwnProperty(o)){if(!("channels"in a[o]))throw new Error("missing channels property: "+o);if(!("labels"in a[o]))throw new Error("missing channel labels property: "+o);if(a[o].labels.length!==a[o].channels)throw new Error("channel and label counts mismatch: "+o);var i=a[o].channels,c=a[o].labels;delete a[o].channels,delete a[o].labels,Object.defineProperty(a[o],"channels",{value:i}),Object.defineProperty(a[o],"labels",{value:c})}a.rgb.hsl=function(e){var t,r,n=e[0]/255,a=e[1]/255,o=e[2]/255,i=Math.min(n,a,o),c=Math.max(n,a,o),s=c-i;return c===i?t=0:n===c?t=(a-o)/s:a===c?t=2+(o-n)/s:o===c&&(t=4+(n-a)/s),(t=Math.min(60*t,360))<0&&(t+=360),r=(i+c)/2,[t,100*(c===i?0:r<=.5?s/(c+i):s/(2-c-i)),100*r]},a.rgb.hsv=function(e){var t,r,n,a,o,i=e[0]/255,c=e[1]/255,s=e[2]/255,l=Math.max(i,c,s),d=l-Math.min(i,c,s),u=function(e){return(l-e)/6/d+.5};return 0===d?a=o=0:(o=d/l,t=u(i),r=u(c),n=u(s),i===l?a=n-r:c===l?a=1/3+t-n:s===l&&(a=2/3+r-t),a<0?a+=1:a>1&&(a-=1)),[360*a,100*o,100*l]},a.rgb.hwb=function(e){var t=e[0],r=e[1],n=e[2];return[a.rgb.hsl(e)[0],1/255*Math.min(t,Math.min(r,n))*100,100*(n=1-1/255*Math.max(t,Math.max(r,n)))]},a.rgb.cmyk=function(e){var t,r=e[0]/255,n=e[1]/255,a=e[2]/255;return[100*((1-r-(t=Math.min(1-r,1-n,1-a)))/(1-t)||0),100*((1-n-t)/(1-t)||0),100*((1-a-t)/(1-t)||0),100*t]},a.rgb.keyword=function(e){var n=r[e];if(n)return n;var a,o,i,c=1/0;for(var s in t)if(t.hasOwnProperty(s)){var l=t[s],d=(o=e,i=l,Math.pow(o[0]-i[0],2)+Math.pow(o[1]-i[1],2)+Math.pow(o[2]-i[2],2));d.04045?Math.pow((t+.055)/1.055,2.4):t/12.92)+.3576*(r=r>.04045?Math.pow((r+.055)/1.055,2.4):r/12.92)+.1805*(n=n>.04045?Math.pow((n+.055)/1.055,2.4):n/12.92)),100*(.2126*t+.7152*r+.0722*n),100*(.0193*t+.1192*r+.9505*n)]},a.rgb.lab=function(e){var t=a.rgb.xyz(e),r=t[0],n=t[1],o=t[2];return n/=100,o/=108.883,r=(r/=95.047)>.008856?Math.pow(r,1/3):7.787*r+16/116,[116*(n=n>.008856?Math.pow(n,1/3):7.787*n+16/116)-16,500*(r-n),200*(n-(o=o>.008856?Math.pow(o,1/3):7.787*o+16/116))]},a.hsl.rgb=function(e){var t,r,n,a,o,i=e[0]/360,c=e[1]/100,s=e[2]/100;if(0===c)return[o=255*s,o,o];t=2*s-(r=s<.5?s*(1+c):s+c-s*c),a=[0,0,0];for(var l=0;l<3;l++)(n=i+1/3*-(l-1))<0&&n++,n>1&&n--,o=6*n<1?t+6*(r-t)*n:2*n<1?r:3*n<2?t+(r-t)*(2/3-n)*6:t,a[l]=255*o;return a},a.hsl.hsv=function(e){var t=e[0],r=e[1]/100,n=e[2]/100,a=r,o=Math.max(n,.01);return r*=(n*=2)<=1?n:2-n,a*=o<=1?o:2-o,[t,100*(0===n?2*a/(o+a):2*r/(n+r)),(n+r)/2*100]},a.hsv.rgb=function(e){var t=e[0]/60,r=e[1]/100,n=e[2]/100,a=Math.floor(t)%6,o=t-Math.floor(t),i=255*n*(1-r),c=255*n*(1-r*o),s=255*n*(1-r*(1-o));switch(n*=255,a){case 0:return[n,s,i];case 1:return[c,n,i];case 2:return[i,n,s];case 3:return[i,c,n];case 4:return[s,i,n];case 5:return[n,i,c]}},a.hsv.hsl=function(e){var t,r,n,a=e[0],o=e[1]/100,i=e[2]/100,c=Math.max(i,.01);return n=(2-o)*i,r=o*c,[a,100*(r=(r/=(t=(2-o)*c)<=1?t:2-t)||0),100*(n/=2)]},a.hwb.rgb=function(e){var t,r,n,a,o,i,c,s=e[0]/360,l=e[1]/100,d=e[2]/100,u=l+d;switch(u>1&&(l/=u,d/=u),n=6*s-(t=Math.floor(6*s)),0!=(1&t)&&(n=1-n),a=l+n*((r=1-d)-l),t){default:case 6:case 0:o=r,i=a,c=l;break;case 1:o=a,i=r,c=l;break;case 2:o=l,i=r,c=a;break;case 3:o=l,i=a,c=r;break;case 4:o=a,i=l,c=r;break;case 5:o=r,i=l,c=a}return[255*o,255*i,255*c]},a.cmyk.rgb=function(e){var t=e[0]/100,r=e[1]/100,n=e[2]/100,a=e[3]/100;return[255*(1-Math.min(1,t*(1-a)+a)),255*(1-Math.min(1,r*(1-a)+a)),255*(1-Math.min(1,n*(1-a)+a))]},a.xyz.rgb=function(e){var t,r,n,a=e[0]/100,o=e[1]/100,i=e[2]/100;return r=-.9689*a+1.8758*o+.0415*i,n=.0557*a+-.204*o+1.057*i,t=(t=3.2406*a+-1.5372*o+-.4986*i)>.0031308?1.055*Math.pow(t,1/2.4)-.055:12.92*t,r=r>.0031308?1.055*Math.pow(r,1/2.4)-.055:12.92*r,n=n>.0031308?1.055*Math.pow(n,1/2.4)-.055:12.92*n,[255*(t=Math.min(Math.max(0,t),1)),255*(r=Math.min(Math.max(0,r),1)),255*(n=Math.min(Math.max(0,n),1))]},a.xyz.lab=function(e){var t=e[0],r=e[1],n=e[2];return r/=100,n/=108.883,t=(t/=95.047)>.008856?Math.pow(t,1/3):7.787*t+16/116,[116*(r=r>.008856?Math.pow(r,1/3):7.787*r+16/116)-16,500*(t-r),200*(r-(n=n>.008856?Math.pow(n,1/3):7.787*n+16/116))]},a.lab.xyz=function(e){var t,r,n,a=e[0];t=e[1]/500+(r=(a+16)/116),n=r-e[2]/200;var o=Math.pow(r,3),i=Math.pow(t,3),c=Math.pow(n,3);return r=o>.008856?o:(r-16/116)/7.787,t=i>.008856?i:(t-16/116)/7.787,n=c>.008856?c:(n-16/116)/7.787,[t*=95.047,r*=100,n*=108.883]},a.lab.lch=function(e){var t,r=e[0],n=e[1],a=e[2];return(t=360*Math.atan2(a,n)/2/Math.PI)<0&&(t+=360),[r,Math.sqrt(n*n+a*a),t]},a.lch.lab=function(e){var t,r=e[0],n=e[1];return t=e[2]/360*2*Math.PI,[r,n*Math.cos(t),n*Math.sin(t)]},a.rgb.ansi16=function(e){var t=e[0],r=e[1],n=e[2],o=1 in arguments?arguments[1]:a.rgb.hsv(e)[2];if(0===(o=Math.round(o/50)))return 30;var i=30+(Math.round(n/255)<<2|Math.round(r/255)<<1|Math.round(t/255));return 2===o&&(i+=60),i},a.hsv.ansi16=function(e){return a.rgb.ansi16(a.hsv.rgb(e),e[2])},a.rgb.ansi256=function(e){var t=e[0],r=e[1],n=e[2];return t===r&&r===n?t<8?16:t>248?231:Math.round((t-8)/247*24)+232:16+36*Math.round(t/255*5)+6*Math.round(r/255*5)+Math.round(n/255*5)},a.ansi16.rgb=function(e){var t=e%10;if(0===t||7===t)return e>50&&(t+=3.5),[t=t/10.5*255,t,t];var r=.5*(1+~~(e>50));return[(1&t)*r*255,(t>>1&1)*r*255,(t>>2&1)*r*255]},a.ansi256.rgb=function(e){if(e>=232){var t=10*(e-232)+8;return[t,t,t]}var r;return e-=16,[Math.floor(e/36)/5*255,Math.floor((r=e%36)/6)/5*255,r%6/5*255]},a.rgb.hex=function(e){var t=(((255&Math.round(e[0]))<<16)+((255&Math.round(e[1]))<<8)+(255&Math.round(e[2]))).toString(16).toUpperCase();return"000000".substring(t.length)+t},a.hex.rgb=function(e){var t=e.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!t)return[0,0,0];var r=t[0];3===t[0].length&&(r=r.split("").map((function(e){return e+e})).join(""));var n=parseInt(r,16);return[n>>16&255,n>>8&255,255&n]},a.rgb.hcg=function(e){var t,r=e[0]/255,n=e[1]/255,a=e[2]/255,o=Math.max(Math.max(r,n),a),i=Math.min(Math.min(r,n),a),c=o-i;return t=c<=0?0:o===r?(n-a)/c%6:o===n?2+(a-r)/c:4+(r-n)/c+4,t/=6,[360*(t%=1),100*c,100*(c<1?i/(1-c):0)]},a.hsl.hcg=function(e){var t=e[1]/100,r=e[2]/100,n=1,a=0;return(n=r<.5?2*t*r:2*t*(1-r))<1&&(a=(r-.5*n)/(1-n)),[e[0],100*n,100*a]},a.hsv.hcg=function(e){var t=e[1]/100,r=e[2]/100,n=t*r,a=0;return n<1&&(a=(r-n)/(1-n)),[e[0],100*n,100*a]},a.hcg.rgb=function(e){var t=e[0]/360,r=e[1]/100,n=e[2]/100;if(0===r)return[255*n,255*n,255*n];var a,o=[0,0,0],i=t%1*6,c=i%1,s=1-c;switch(Math.floor(i)){case 0:o[0]=1,o[1]=c,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]=c;break;case 3:o[0]=0,o[1]=s,o[2]=1;break;case 4:o[0]=c,o[1]=0,o[2]=1;break;default:o[0]=1,o[1]=0,o[2]=s}return a=(1-r)*n,[255*(r*o[0]+a),255*(r*o[1]+a),255*(r*o[2]+a)]},a.hcg.hsv=function(e){var t=e[1]/100,r=t+e[2]/100*(1-t),n=0;return r>0&&(n=t/r),[e[0],100*n,100*r]},a.hcg.hsl=function(e){var t=e[1]/100,r=e[2]/100*(1-t)+.5*t,n=0;return r>0&&r<.5?n=t/(2*r):r>=.5&&r<1&&(n=t/(2*(1-r))),[e[0],100*n,100*r]},a.hcg.hwb=function(e){var t=e[1]/100,r=t+e[2]/100*(1-t);return[e[0],100*(r-t),100*(1-r)]},a.hwb.hcg=function(e){var t=e[1]/100,r=1-e[2]/100,n=r-t,a=0;return n<1&&(a=(r-n)/(1-n)),[e[0],100*n,100*a]},a.apple.rgb=function(e){return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255]},a.rgb.apple=function(e){return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535]},a.gray.rgb=function(e){return[e[0]/100*255,e[0]/100*255,e[0]/100*255]},a.gray.hsl=a.gray.hsv=function(e){return[0,0,e[0]]},a.gray.hwb=function(e){return[0,100,e[0]]},a.gray.cmyk=function(e){return[0,0,0,e[0]]},a.gray.lab=function(e){return[e[0],0,0]},a.gray.hex=function(e){var t=255&Math.round(e[0]/100*255),r=((t<<16)+(t<<8)+t).toString(16).toUpperCase();return"000000".substring(r.length)+r},a.rgb.gray=function(e){return[(e[0]+e[1]+e[2])/3/255*100]}}));function n(e){var t=function(){for(var e={},t=Object.keys(r),n=t.length,a=0;a1&&(t=Array.prototype.slice.call(arguments));var r=e(t);if("object"==typeof r)for(var n=r.length,a=0;a1&&(t=Array.prototype.slice.call(arguments)),e(t))};return"conversion"in e&&(t.conversion=e.conversion),t}(n)}))}));var c=i,s={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]},l={getRgba:d,getHsla:u,getRgb:function(e){var t=d(e);return t&&t.slice(0,3)},getHsl:function(e){var t=u(e);return t&&t.slice(0,3)},getHwb:p,getAlpha:function(e){var t=d(e);return t||(t=u(e))||(t=p(e))?t[3]:void 0},hexString:function(e,t){return t=void 0!==t&&3===e.length?t:e[3],"#"+g(e[0])+g(e[1])+g(e[2])+(t>=0&&t<1?g(Math.round(255*t)):"")},rgbString:function(e,t){return t<1||e[3]&&e[3]<1?f(e,t):"rgb("+e[0]+", "+e[1]+", "+e[2]+")"},rgbaString:f,percentString:function(e,t){if(t<1||e[3]&&e[3]<1)return m(e,t);var r=Math.round(e[0]/255*100),n=Math.round(e[1]/255*100),a=Math.round(e[2]/255*100);return"rgb("+r+"%, "+n+"%, "+a+"%)"},percentaString:m,hslString:function(e,t){return t<1||e[3]&&e[3]<1?b(e,t):"hsl("+e[0]+", "+e[1]+"%, "+e[2]+"%)"},hslaString:b,hwbString:function(e,t){return void 0===t&&(t=void 0!==e[3]?e[3]:1),"hwb("+e[0]+", "+e[1]+"%, "+e[2]+"%"+(void 0!==t&&1!==t?", "+t:"")+")"},keyword:function(e){return v[e.slice(0,3)]}};function d(e){if(e){var t=[0,0,0],r=1,n=e.match(/^#([a-fA-F0-9]{3,4})$/i),a="";if(n){a=(n=n[1])[3];for(var o=0;or?(t+.05)/(r+.05):(r+.05)/(t+.05)},level:function(e){var t=this.contrast(e);return t>=7.1?"AAA":t>=4.5?"AA":""},dark:function(){var e=this.values.rgb;return(299*e[0]+587*e[1]+114*e[2])/1e3<128},light:function(){return!this.dark()},negate:function(){for(var e=[],t=0;t<3;t++)e[t]=255-this.values.rgb[t];return this.setValues("rgb",e),this},lighten:function(e){var t=this.values.hsl;return t[2]+=t[2]*e,this.setValues("hsl",t),this},darken:function(e){var t=this.values.hsl;return t[2]-=t[2]*e,this.setValues("hsl",t),this},saturate:function(e){var t=this.values.hsl;return t[1]+=t[1]*e,this.setValues("hsl",t),this},desaturate:function(e){var t=this.values.hsl;return t[1]-=t[1]*e,this.setValues("hsl",t),this},whiten:function(e){var t=this.values.hwb;return t[1]+=t[1]*e,this.setValues("hwb",t),this},blacken:function(e){var t=this.values.hwb;return t[2]+=t[2]*e,this.setValues("hwb",t),this},greyscale:function(){var e=this.values.rgb,t=.3*e[0]+.59*e[1]+.11*e[2];return this.setValues("rgb",[t,t,t]),this},clearer:function(e){var t=this.values.alpha;return this.setValues("alpha",t-t*e),this},opaquer:function(e){var t=this.values.alpha;return this.setValues("alpha",t+t*e),this},rotate:function(e){var t=this.values.hsl,r=(t[0]+e)%360;return t[0]=r<0?360+r:r,this.setValues("hsl",t),this},mix:function(e,t){var r=e,n=void 0===t?.5:t,a=2*n-1,o=this.alpha()-r.alpha(),i=((a*o==-1?a:(a+o)/(1+a*o))+1)/2,c=1-i;return this.rgb(i*this.red()+c*r.red(),i*this.green()+c*r.green(),i*this.blue()+c*r.blue()).alpha(this.alpha()*n+r.alpha()*(1-n))},toJSON:function(){return this.rgb()},clone:function(){var e,t,r=new w,n=this.values,a=r.values;for(var o in n)n.hasOwnProperty(o)&&(e=n[o],"[object Array]"===(t={}.toString.call(e))?a[o]=e.slice(0):"[object Number]"===t?a[o]=e:console.error("unexpected color value:",e));return r}},w.prototype.spaces={rgb:["red","green","blue"],hsl:["hue","saturation","lightness"],hsv:["hue","saturation","value"],hwb:["hue","whiteness","blackness"],cmyk:["cyan","magenta","yellow","black"]},w.prototype.maxes={rgb:[255,255,255],hsl:[360,100,100],hsv:[360,100,100],hwb:[360,100,100],cmyk:[100,100,100,100]},w.prototype.getValues=function(e){for(var t=this.values,r={},n=0;n=0;a--)t.call(r,e[a],a);else for(a=0;a=1?e:-(Math.sqrt(1-e*e)-1)},easeOutCirc:function(e){return Math.sqrt(1-(e-=1)*e)},easeInOutCirc:function(e){return(e/=.5)<1?-.5*(Math.sqrt(1-e*e)-1):.5*(Math.sqrt(1-(e-=2)*e)+1)},easeInElastic:function(e){var t=1.70158,r=0,n=1;return 0===e?0:1===e?1:(r||(r=.3),n<1?(n=1,t=r/4):t=r/(2*Math.PI)*Math.asin(1/n),-n*Math.pow(2,10*(e-=1))*Math.sin((e-t)*(2*Math.PI)/r))},easeOutElastic:function(e){var t=1.70158,r=0,n=1;return 0===e?0:1===e?1:(r||(r=.3),n<1?(n=1,t=r/4):t=r/(2*Math.PI)*Math.asin(1/n),n*Math.pow(2,-10*e)*Math.sin((e-t)*(2*Math.PI)/r)+1)},easeInOutElastic:function(e){var t=1.70158,r=0,n=1;return 0===e?0:2==(e/=.5)?1:(r||(r=.45),n<1?(n=1,t=r/4):t=r/(2*Math.PI)*Math.asin(1/n),e<1?n*Math.pow(2,10*(e-=1))*Math.sin((e-t)*(2*Math.PI)/r)*-.5:n*Math.pow(2,-10*(e-=1))*Math.sin((e-t)*(2*Math.PI)/r)*.5+1)},easeInBack:function(e){var t=1.70158;return e*e*((t+1)*e-t)},easeOutBack:function(e){var t=1.70158;return(e-=1)*e*((t+1)*e+t)+1},easeInOutBack:function(e){var t=1.70158;return(e/=.5)<1?e*e*((1+(t*=1.525))*e-t)*.5:.5*((e-=2)*e*((1+(t*=1.525))*e+t)+2)},easeInBounce:function(e){return 1-L.easeOutBounce(1-e)},easeOutBounce:function(e){return e<1/2.75?7.5625*e*e:e<2/2.75?7.5625*(e-=1.5/2.75)*e+.75:e<2.5/2.75?7.5625*(e-=2.25/2.75)*e+.9375:7.5625*(e-=2.625/2.75)*e+.984375},easeInOutBounce:function(e){return e<.5?.5*L.easeInBounce(2*e):.5*L.easeOutBounce(2*e-1)+.5}},E={effects:L};M.easingEffects=L;var D=Math.PI,S=D/180,T=2*D,O=D/2,Y=D/4,C=2*D/3,P={clear:function(e){e.ctx.clearRect(0,0,e.width,e.height)},roundedRect:function(e,t,r,n,a,o){if(o){var i=Math.min(o,a/2,n/2),c=t+i,s=r+i,l=t+n-i,d=r+a-i;e.moveTo(t,s),ct.left-1e-6&&e.xt.top-1e-6&&e.y0&&this.requestAnimationFrame()},advance:function(){for(var e,t,r,n,a=this.animations,o=0;o=r?(z.callback(e.onAnimationComplete,[e],t),t.animating=!1,a.splice(o,1)):++o}},Q=z.options.resolve,Z=["push","pop","shift","splice","unshift"];function ee(e,t){var r=e._chartjs;if(r){var n=r.listeners,a=n.indexOf(t);-1!==a&&n.splice(a,1),n.length>0||(Z.forEach((function(t){delete e[t]})),delete e._chartjs)}}var te=function(e,t){this.initialize(e,t)};z.extend(te.prototype,{datasetElementType:null,dataElementType:null,_datasetElementOptions:["backgroundColor","borderCapStyle","borderColor","borderDash","borderDashOffset","borderJoinStyle","borderWidth"],_dataElementOptions:["backgroundColor","borderColor","borderWidth","pointStyle"],initialize:function(e,t){var r=this;r.chart=e,r.index=t,r.linkScales(),r.addElements(),r._type=r.getMeta().type},updateIndex:function(e){this.index=e},linkScales:function(){var e=this.getMeta(),t=this.chart,r=t.scales,n=this.getDataset(),a=t.options.scales;null!==e.xAxisID&&e.xAxisID in r&&!n.xAxisID||(e.xAxisID=n.xAxisID||a.xAxes[0].id),null!==e.yAxisID&&e.yAxisID in r&&!n.yAxisID||(e.yAxisID=n.yAxisID||a.yAxes[0].id)},getDataset:function(){return this.chart.data.datasets[this.index]},getMeta:function(){return this.chart.getDatasetMeta(this.index)},getScaleForId:function(e){return this.chart.scales[e]},_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&&ee(this._data,this)},createMetaDataset:function(){var e=this.datasetElementType;return e&&new e({_chart:this.chart,_datasetIndex:this.index})},createMetaData:function(e){var t=this.dataElementType;return t&&new t({_chart:this.chart,_datasetIndex:this.index,_index:e})},addElements:function(){var e,t,r=this.getMeta(),n=this.getDataset().data||[],a=r.data;for(e=0,t=n.length;er&&this.insertElements(r,n-r)},insertElements:function(e,t){for(var r=0;ra?(o=a/t.innerRadius,e.arc(i,c,t.innerRadius-a,n+o,r-o,!0)):e.arc(i,c,a,n+Math.PI/2,r-Math.PI/2),e.closePath(),e.clip()}function oe(e,t,r){var n="inner"===t.borderAlign;n?(e.lineWidth=2*t.borderWidth,e.lineJoin="round"):(e.lineWidth=t.borderWidth,e.lineJoin="bevel"),r.fullCircles&&function(e,t,r,n){var a,o=r.endAngle;for(n&&(r.endAngle=r.startAngle+ne,ae(e,r),r.endAngle=o,r.endAngle===r.startAngle&&r.fullCircles&&(r.endAngle+=ne,r.fullCircles--)),e.beginPath(),e.arc(r.x,r.y,r.innerRadius,r.startAngle+ne,r.startAngle,!0),a=0;ac;)a-=ne;for(;a=i&&a<=c,l=o>=r.innerRadius&&o<=r.outerRadius;return s&&l}return!1},getCenterPoint:function(){var e=this._view,t=(e.startAngle+e.endAngle)/2,r=(e.innerRadius+e.outerRadius)/2;return{x:e.x+Math.cos(t)*r,y:e.y+Math.sin(t)*r}},getArea:function(){var e=this._view;return Math.PI*((e.endAngle-e.startAngle)/(2*Math.PI))*(Math.pow(e.outerRadius,2)-Math.pow(e.innerRadius,2))},tooltipPosition:function(){var e=this._view,t=e.startAngle+(e.endAngle-e.startAngle)/2,r=(e.outerRadius-e.innerRadius)/2+e.innerRadius;return{x:e.x+Math.cos(t)*r,y:e.y+Math.sin(t)*r}},draw:function(){var e,t=this._chart.ctx,r=this._view,n="inner"===r.borderAlign?.33:0,a={x:r.x,y:r.y,innerRadius:r.innerRadius,outerRadius:Math.max(r.outerRadius-n,0),pixelMargin:n,startAngle:r.startAngle,endAngle:r.endAngle,fullCircles:Math.floor(r.circumference/ne)};if(t.save(),t.fillStyle=r.backgroundColor,t.strokeStyle=r.borderColor,a.fullCircles){for(a.endAngle=a.startAngle+ne,t.beginPath(),t.arc(a.x,a.y,a.outerRadius,a.startAngle,a.endAngle),t.arc(a.x,a.y,a.innerRadius,a.endAngle,a.startAngle,!0),t.closePath(),e=0;ee.x&&(t=ge(t,"left","right")):e.baser?r:n,r:s.right||a<0?0:a>t?t:a,b:s.bottom||o<0?0:o>r?r:o,l:s.left||i<0?0:i>t?t:i}}function ye(e,t,r){var n=null===t,a=null===r,o=!(!e||n&&a)&&he(e);return o&&(n||t>=o.left&&t<=o.right)&&(a||r>=o.top&&r<=o.bottom)}N._set("global",{elements:{rectangle:{backgroundColor:me,borderColor:me,borderSkipped:"bottom",borderWidth:0}}});var we=J.extend({_type:"rectangle",draw:function(){var e=this._chart.ctx,t=this._view,r=function(e){var t=he(e),r=t.right-t.left,n=t.bottom-t.top,a=ve(e,r/2,n/2);return{outer:{x:t.left,y:t.top,w:r,h:n},inner:{x:t.left+a.l,y:t.top+a.t,w:r-a.l-a.r,h:n-a.t-a.b}}}(t),n=r.outer,a=r.inner;e.fillStyle=t.backgroundColor,e.fillRect(n.x,n.y,n.w,n.h),n.w===a.w&&n.h===a.h||(e.save(),e.beginPath(),e.rect(n.x,n.y,n.w,n.h),e.clip(),e.fillStyle=t.borderColor,e.rect(a.x,a.y,a.w,a.h),e.fill("evenodd"),e.restore())},height:function(){var e=this._view;return e.base-e.y},inRange:function(e,t){return ye(this._view,e,t)},inLabelRange:function(e,t){var r=this._view;return be(r)?ye(r,e,null):ye(r,null,t)},inXRange:function(e){return ye(this._view,e,null)},inYRange:function(e){return ye(this._view,null,e)},getCenterPoint:function(){var e,t,r=this._view;return be(r)?(e=r.x,t=(r.y+r.base)/2):(e=(r.x+r.base)/2,t=r.y),{x:e,y:t}},getArea:function(){var e=this._view;return be(e)?e.width*Math.abs(e.y-e.base):e.height*Math.abs(e.x-e.base)},tooltipPosition:function(){var e=this._view;return{x:e.x,y:e.y}}}),ke={},_e=ie,xe=le,Me=fe,Le=we;ke.Arc=_e,ke.Line=xe,ke.Point=Me,ke.Rectangle=Le;var Ee=z._deprecated,De=z.valueOrDefault;function Se(e,t,r){var n,a,o=r.barThickness,i=t.stackCount,c=t.pixels[e],s=z.isNullOrUndef(o)?function(e,t){var r,n,a,o,i=e._length;for(a=1,o=t.length;a0?Math.min(i,Math.abs(n-r)):i,r=n;return i}(t.scale,t.pixels):-1;return z.isNullOrUndef(o)?(n=s*r.categoryPercentage,a=r.barPercentage):(n=o*i,a=1),{chunk:n/i,ratio:a,start:c-n/2}}N._set("bar",{hover:{mode:"label"},scales:{xAxes:[{type:"category",offset:!0,gridLines:{offsetGridLines:!0}}],yAxes:[{type:"linear"}]}}),N._set("global",{datasets:{bar:{categoryPercentage:.8,barPercentage:.9}}});var Te=re.extend({dataElementType:ke.Rectangle,_dataElementOptions:["backgroundColor","borderColor","borderSkipped","borderWidth","barPercentage","barThickness","categoryPercentage","maxBarThickness","minBarLength"],initialize:function(){var e,t,r=this;re.prototype.initialize.apply(r,arguments),(e=r.getMeta()).stack=r.getDataset().stack,e.bar=!0,t=r._getIndexScale().options,Ee("bar chart",t.barPercentage,"scales.[x/y]Axes.barPercentage","dataset.barPercentage"),Ee("bar chart",t.barThickness,"scales.[x/y]Axes.barThickness","dataset.barThickness"),Ee("bar chart",t.categoryPercentage,"scales.[x/y]Axes.categoryPercentage","dataset.categoryPercentage"),Ee("bar chart",r._getValueScale().options.minBarLength,"scales.[x/y]Axes.minBarLength","dataset.minBarLength"),Ee("bar chart",t.maxBarThickness,"scales.[x/y]Axes.maxBarThickness","dataset.maxBarThickness")},update:function(e){var t,r,n=this.getMeta().data;for(this._ruler=this.getRuler(),t=0,r=n.length;t=0&&b.min>=0?b.min:b.max,w=void 0===b.start?b.end:b.max>=0&&b.min>=0?b.max-b.min:b.min-b.max,k=m.length;if(g||void 0===g&&void 0!==v)for(n=0;n=0&&l.max>=0?l.max:l.min,(b.min<0&&o<0||b.max>=0&&o>0)&&(y+=o));return i=u.getPixelForValue(y),s=(c=u.getPixelForValue(y+w))-i,void 0!==h&&Math.abs(s)=0&&!p||w<0&&p?i-h:i+h),{size:s,base:i,head:c,center:c+s/2}},calculateBarIndexPixels:function(e,t,r,n){var a="flex"===n.barThickness?function(e,t,r){var n,a=t.pixels,o=a[e],i=e>0?a[e-1]:null,c=e=je?-Ae:v<-je?Ae:0)+h,w=Math.cos(v),k=Math.sin(v),_=Math.cos(y),x=Math.sin(y),M=v<=0&&y>=0||y>=Ae,L=v<=Ne&&y>=Ne||y>=Ae+Ne,E=v<=-Ne&&y>=-Ne||y>=je+Ne,D=v===-je||y>=je?-1:Math.min(w,w*b,_,_*b),S=E?-1:Math.min(k,k*b,x,x*b),T=M?1:Math.max(w,w*b,_,_*b),O=L?1:Math.max(k,k*b,x,x*b);l=(T-D)/2,d=(O-S)/2,u=-(T+D)/2,p=-(O+S)/2}for(n=0,a=m.length;n0&&!isNaN(e)?Ae*(Math.abs(e)/t):0},getMaxBorderWidth:function(e){var t,r,n,a,o,i,c,s,l=0,d=this.chart;if(!e)for(t=0,r=d.data.datasets.length;t(l=c>l?c:l)?s:l);return l},setHoverStyle:function(e){var t=e._model,r=e._options,n=z.getHoverColor;e.$previousStyle={backgroundColor:t.backgroundColor,borderColor:t.borderColor,borderWidth:t.borderWidth},t.backgroundColor=Pe(r.hoverBackgroundColor,n(r.backgroundColor)),t.borderColor=Pe(r.hoverBorderColor,n(r.borderColor)),t.borderWidth=Pe(r.hoverBorderWidth,r.borderWidth)},_getRingWeightOffset:function(e){for(var t=0,r=0;r0&&ze(s[e-1]._model,c)&&(r.controlPointPreviousX=l(r.controlPointPreviousX,c.left,c.right),r.controlPointPreviousY=l(r.controlPointPreviousY,c.top,c.bottom)),e0&&(o=e.getDatasetMeta(o[0]._datasetIndex).data),o},"x-axis":function(e,t){return nt(e,t,{intersect:!1})},point:function(e,t){return et(e,Qe(t,e))},nearest:function(e,t,r){var n=Qe(t,e);r.axis=r.axis||"xy";var a=rt(r.axis);return tt(e,n,r.intersect,a)},x:function(e,t,r){var n=Qe(t,e),a=[],o=!1;return Ze(e,(function(e){e.inXRange(n.x)&&a.push(e),e.inRange(n.x,n.y)&&(o=!0)})),r.intersect&&!o&&(a=[]),a},y:function(e,t,r){var n=Qe(t,e),a=[],o=!1;return Ze(e,(function(e){e.inYRange(n.y)&&a.push(e),e.inRange(n.x,n.y)&&(o=!0)})),r.intersect&&!o&&(a=[]),a}}},ot=z.extend;function it(e,t){return z.where(e,(function(e){return e.pos===t}))}function ct(e,t){return e.sort((function(e,r){var n=t?r:e,a=t?e:r;return n.weight===a.weight?n.index-a.index:n.weight-a.weight}))}function st(e,t,r,n){return Math.max(e[r],t[r])+Math.max(e[n],t[n])}function lt(e,t,r){var n,a,o=r.box,i=e.maxPadding;if(r.size&&(e[r.pos]-=r.size),r.size=r.horizontal?o.height:o.width,e[r.pos]+=r.size,o.getPadding){var c=o.getPadding();i.top=Math.max(i.top,c.top),i.left=Math.max(i.left,c.left),i.bottom=Math.max(i.bottom,c.bottom),i.right=Math.max(i.right,c.right)}if(n=t.outerWidth-st(i,e,"left","right"),a=t.outerHeight-st(i,e,"top","bottom"),n!==e.w||a!==e.h)return e.w=n,e.h=a,r.horizontal?n!==e.w:a!==e.h}function dt(e,t){var r=t.maxPadding;function n(e){var n={left:0,top:0,right:0,bottom:0};return e.forEach((function(e){n[e]=Math.max(t[e],r[e])})),n}return n(e?["left","right"]:["top","bottom"])}function ut(e,t,r){var n,a,o,i,c,s,l=[];for(n=0,a=e.length;n 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"}))&&ft.default||ft,ht=["animationstart","webkitAnimationStart"],gt={touchstart:"mousedown",touchmove:"mousemove",touchend:"mouseup",pointerenter:"mouseenter",pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointerleave:"mouseout",pointerout:"mouseout"};function vt(e,t){var r=z.getStyle(e,t),n=r&&r.match(/^(\d+)(\.\d+)?px$/);return n?Number(n[1]):void 0}var yt=!!function(){var e=!1;try{var t=Object.defineProperty({},"passive",{get:function(){e=!0}});window.addEventListener("e",null,t)}catch(e){}return e}()&&{passive:!0};function wt(e,t,r){e.addEventListener(t,r,yt)}function kt(e,t,r){e.removeEventListener(t,r,yt)}function _t(e,t,r,n,a){return{type:e,chart:t,native:a||null,x:void 0!==r?r:null,y:void 0!==n?n:null}}function xt(e){var t=document.createElement("div");return t.className=e||"",t}function Mt(e,t,r){var n,a,o,i,c=e.$chartjs||(e.$chartjs={}),s=c.resizer=function(e){var t=xt("chartjs-size-monitor"),r=xt("chartjs-size-monitor-expand"),n=xt("chartjs-size-monitor-shrink");r.appendChild(xt()),n.appendChild(xt()),t.appendChild(r),t.appendChild(n),t._reset=function(){r.scrollLeft=1e6,r.scrollTop=1e6,n.scrollLeft=1e6,n.scrollTop=1e6};var a=function(){t._reset(),e()};return wt(r,"scroll",a.bind(r,"expand")),wt(n,"scroll",a.bind(n,"shrink")),t}((n=function(){if(c.resizer){var n=r.options.maintainAspectRatio&&e.parentNode,a=n?n.clientWidth:0;t(_t("resize",r)),n&&n.clientWidth0){var o=e[0];o.label?r=o.label:o.xLabel?r=o.xLabel:a>0&&o.index-1?e.split("\n"):e}function Nt(e){var t=N.global;return{xPadding:e.xPadding,yPadding:e.yPadding,xAlign:e.xAlign,yAlign:e.yAlign,rtl:e.rtl,textDirection:e.textDirection,bodyFontColor:e.bodyFontColor,_bodyFontFamily:Yt(e.bodyFontFamily,t.defaultFontFamily),_bodyFontStyle:Yt(e.bodyFontStyle,t.defaultFontStyle),_bodyAlign:e.bodyAlign,bodyFontSize:Yt(e.bodyFontSize,t.defaultFontSize),bodySpacing:e.bodySpacing,titleFontColor:e.titleFontColor,_titleFontFamily:Yt(e.titleFontFamily,t.defaultFontFamily),_titleFontStyle:Yt(e.titleFontStyle,t.defaultFontStyle),titleFontSize:Yt(e.titleFontSize,t.defaultFontSize),_titleAlign:e.titleAlign,titleSpacing:e.titleSpacing,titleMarginBottom:e.titleMarginBottom,footerFontColor:e.footerFontColor,_footerFontFamily:Yt(e.footerFontFamily,t.defaultFontFamily),_footerFontStyle:Yt(e.footerFontStyle,t.defaultFontStyle),footerFontSize:Yt(e.footerFontSize,t.defaultFontSize),_footerAlign:e.footerAlign,footerSpacing:e.footerSpacing,footerMarginTop:e.footerMarginTop,caretSize:e.caretSize,cornerRadius:e.cornerRadius,backgroundColor:e.backgroundColor,opacity:0,legendColorBackground:e.multiKeyBackground,displayColors:e.displayColors,borderColor:e.borderColor,borderWidth:e.borderWidth}}function Ft(e,t){return"center"===t?e.x+e.width/2:"right"===t?e.x+e.width-e.xPadding:e.x+e.xPadding}function It(e){return jt([],At(e))}var Ht=J.extend({initialize:function(){this._model=Nt(this._options),this._lastActive=[]},getTitle:function(){var e=this,t=e._options,r=t.callbacks,n=r.beforeTitle.apply(e,arguments),a=r.title.apply(e,arguments),o=r.afterTitle.apply(e,arguments),i=[];return i=jt(i,At(n)),i=jt(i,At(a)),i=jt(i,At(o))},getBeforeBody:function(){return It(this._options.callbacks.beforeBody.apply(this,arguments))},getBody:function(e,t){var r=this,n=r._options.callbacks,a=[];return z.each(e,(function(e){var o={before:[],lines:[],after:[]};jt(o.before,At(n.beforeLabel.call(r,e,t))),jt(o.lines,n.label.call(r,e,t)),jt(o.after,At(n.afterLabel.call(r,e,t))),a.push(o)})),a},getAfterBody:function(){return It(this._options.callbacks.afterBody.apply(this,arguments))},getFooter:function(){var e=this,t=e._options.callbacks,r=t.beforeFooter.apply(e,arguments),n=t.footer.apply(e,arguments),a=t.afterFooter.apply(e,arguments),o=[];return o=jt(o,At(r)),o=jt(o,At(n)),o=jt(o,At(a))},update:function(e){var t,r,n,a,o,i,c,s,l,d,u=this,p=u._options,f=u._model,m=u._model=Nt(p),b=u._active,h=u._data,g={xAlign:f.xAlign,yAlign:f.yAlign},v={x:f.x,y:f.y},y={width:f.width,height:f.height},w={x:f.caretX,y:f.caretY};if(b.length){m.opacity=1;var k=[],_=[];w=Pt[p.position].call(u,b,u._eventPosition);var x=[];for(t=0,r=b.length;tn.width&&(a=n.width-t.width),a<0&&(a=0)),"top"===d?o+=u:o-="bottom"===d?t.height+u:t.height/2,"center"===d?"left"===l?a+=u:"right"===l&&(a-=u):"left"===l?a-=p:"right"===l&&(a+=p),{x:a,y:o}}(m,y,g=function(e,t){var r,n,a,o,i,c=e._model,s=e._chart,l=e._chart.chartArea,d="center",u="center";c.ys.height-t.height&&(u="bottom");var p=(l.left+l.right)/2,f=(l.top+l.bottom)/2;"center"===u?(r=function(e){return e<=p},n=function(e){return e>p}):(r=function(e){return e<=t.width/2},n=function(e){return e>=s.width-t.width/2}),a=function(e){return e+t.width+c.caretSize+c.caretPadding>s.width},o=function(e){return e-t.width-c.caretSize-c.caretPadding<0},i=function(e){return e<=f?"top":"bottom"},r(c.x)?(d="left",a(c.x)&&(d="center",u=i(c.y))):n(c.x)&&(d="right",o(c.x)&&(d="center",u=i(c.y)));var m=e._options;return{xAlign:m.xAlign?m.xAlign:d,yAlign:m.yAlign?m.yAlign:u}}(this,y),u._chart)}else m.opacity=0;return m.xAlign=g.xAlign,m.yAlign=g.yAlign,m.x=v.x,m.y=v.y,m.width=y.width,m.height=y.height,m.caretX=w.x,m.caretY=w.y,u._model=m,e&&p.custom&&p.custom.call(u,m),u},drawCaret:function(e,t){var r=this._chart.ctx,n=this._view,a=this.getCaretPosition(e,t,n);r.lineTo(a.x1,a.y1),r.lineTo(a.x2,a.y2),r.lineTo(a.x3,a.y3)},getCaretPosition:function(e,t,r){var n,a,o,i,c,s,l=r.caretSize,d=r.cornerRadius,u=r.xAlign,p=r.yAlign,f=e.x,m=e.y,b=t.width,h=t.height;if("center"===p)c=m+h/2,"left"===u?(a=(n=f)-l,o=n,i=c+l,s=c-l):(a=(n=f+b)+l,o=n,i=c-l,s=c+l);else if("left"===u?(n=(a=f+d+l)-l,o=a+l):"right"===u?(n=(a=f+b-d-l)-l,o=a+l):(n=(a=r.caretX)-l,o=a+l),"top"===p)c=(i=m)-l,s=i;else{c=(i=m+h)+l,s=i;var g=o;o=n,n=g}return{x1:n,x2:a,x3:o,y1:i,y2:c,y3:s}},drawTitle:function(e,t,r){var n,a,o,i=t.title,c=i.length;if(c){var s=Ct(t.rtl,t.x,t.width);for(e.x=Ft(t,t._titleAlign),r.textAlign=s.textAlign(t._titleAlign),r.textBaseline="middle",n=t.titleFontSize,a=t.titleSpacing,r.fillStyle=t.titleFontColor,r.font=z.fontString(n,t._titleFontStyle,t._titleFontFamily),o=0;o0&&r.stroke()},draw:function(){var e=this._chart.ctx,t=this._view;if(0!==t.opacity){var r={width:t.width,height:t.height},n={x:t.x,y:t.y},a=Math.abs(t.opacity<.001)?0:t.opacity,o=t.title.length||t.beforeBody.length||t.body.length||t.afterBody.length||t.footer.length;this._options.enabled&&o&&(e.save(),e.globalAlpha=a,this.drawBackground(n,t,e,r),n.y+=t.yPadding,z.rtl.overrideTextDirection(e,t.textDirection),this.drawTitle(n,t,e),this.drawBody(n,t,e),this.drawFooter(n,t,e),z.rtl.restoreTextDirection(e,t.textDirection),e.restore())}},handleEvent:function(e){var t,r=this,n=r._options;return r._lastActive=r._lastActive||[],"mouseout"===e.type?r._active=[]:(r._active=r._chart.getElementsAtEventForMode(e,n.mode,n),n.reverse&&r._active.reverse()),(t=!z.arrayEquals(r._active,r._lastActive))&&(r._lastActive=r._active,(n.enabled||n.custom)&&(r._eventPosition={x:e.x,y:e.y},r.update(!0),r.pivot())),t}}),Rt=Pt,zt=Ht;zt.positioners=Rt;var Wt=z.valueOrDefault;function Bt(){return z.merge({},[].slice.call(arguments),{merger:function(e,t,r,n){if("xAxes"===e||"yAxes"===e){var a,o,i,c=r[e].length;for(t[e]||(t[e]=[]),a=0;a=t[e].length&&t[e].push({}),!t[e][a].type||i.type&&i.type!==t[e][a].type?z.merge(t[e][a],[Ot.getScaleDefaults(o),i]):z.merge(t[e][a],i)}else z._merger(e,t,r,n)}})}function Ut(){return z.merge({},[].slice.call(arguments),{merger:function(e,t,r,n){var a=t[e]||{},o=r[e];"scales"===e?t[e]=Bt(a,o):"scale"===e?t[e]=z.merge(a,[Ot.getScaleDefaults(o.type),o]):z._merger(e,t,r,n)}})}function Vt(e){var t=e.options;z.each(e.scales,(function(t){mt.removeBox(e,t)})),t=Ut(N.global,N[e.config.type],t),e.options=e.config.options=t,e.ensureScalesHaveIDs(),e.buildOrUpdateScales(),e.tooltip._options=t.tooltips,e.tooltip.initialize()}function qt(e,t,r){var n,a=function(e){return e.id===n};do{n=t+r++}while(z.findIndex(e,a)>=0);return n}function Gt(e){return"top"===e||"bottom"===e}function Jt(e,t){return function(r,n){return r[e]===n[e]?r[t]-n[t]:r[e]-n[e]}}N._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 $t=function(e,t){return this.construct(e,t),this};z.extend($t.prototype,{construct:function(e,t){var r=this;t=function(e){var t=(e=e||{}).data=e.data||{};return t.datasets=t.datasets||[],t.labels=t.labels||[],e.options=Ut(N.global,N[e.type],e.options||{}),e}(t);var n=St.acquireContext(e,t),a=n&&n.canvas,o=a&&a.height,i=a&&a.width;r.id=z.uid(),r.ctx=n,r.canvas=a,r.config=t,r.width=i,r.height=o,r.aspectRatio=o?i/o:null,r.options=t.options,r._bufferedRender=!1,r._layers=[],r.chart=r,r.controller=r,$t.instances[r.id]=r,Object.defineProperty(r,"data",{get:function(){return r.config.data},set:function(e){r.config.data=e}}),n&&a?(r.initialize(),r.update()):console.error("Failed to create chart: can't acquire context from the given item")},initialize:function(){var e=this;return Tt.notify(e,"beforeInit"),z.retinaScale(e,e.options.devicePixelRatio),e.bindEvents(),e.options.responsive&&e.resize(!0),e.initToolTip(),Tt.notify(e,"afterInit"),e},clear:function(){return z.canvas.clear(this),this},stop:function(){return X.cancelAnimation(this),this},resize:function(e){var t=this,r=t.options,n=t.canvas,a=r.maintainAspectRatio&&t.aspectRatio||null,o=Math.max(0,Math.floor(z.getMaximumWidth(n))),i=Math.max(0,Math.floor(a?o/a:z.getMaximumHeight(n)));if((t.width!==o||t.height!==i)&&(n.width=t.width=o,n.height=t.height=i,n.style.width=o+"px",n.style.height=i+"px",z.retinaScale(t,r.devicePixelRatio),!e)){var c={width:o,height:i};Tt.notify(t,"resize",[c]),r.onResize&&r.onResize(t,c),t.stop(),t.update({duration:r.responsiveAnimationDuration})}},ensureScalesHaveIDs:function(){var e=this.options,t=e.scales||{},r=e.scale;z.each(t.xAxes,(function(e,r){e.id||(e.id=qt(t.xAxes,"x-axis-",r))})),z.each(t.yAxes,(function(e,r){e.id||(e.id=qt(t.yAxes,"y-axis-",r))})),r&&(r.id=r.id||"scale")},buildOrUpdateScales:function(){var e=this,t=e.options,r=e.scales||{},n=[],a=Object.keys(r).reduce((function(e,t){return e[t]=!1,e}),{});t.scales&&(n=n.concat((t.scales.xAxes||[]).map((function(e){return{options:e,dtype:"category",dposition:"bottom"}})),(t.scales.yAxes||[]).map((function(e){return{options:e,dtype:"linear",dposition:"left"}})))),t.scale&&n.push({options:t.scale,dtype:"radialLinear",isDefault:!0,dposition:"chartArea"}),z.each(n,(function(t){var n=t.options,o=n.id,i=Wt(n.type,t.dtype);Gt(n.position)!==Gt(t.dposition)&&(n.position=t.dposition),a[o]=!0;var c=null;if(o in r&&r[o].type===i)(c=r[o]).options=n,c.ctx=e.ctx,c.chart=e;else{var s=Ot.getScaleConstructor(i);if(!s)return;c=new s({id:o,type:i,options:n,ctx:e.ctx,chart:e}),r[c.id]=c}c.mergeTicksOptions(),t.isDefault&&(e.scale=c)})),z.each(a,(function(e,t){e||delete r[t]})),e.scales=r,Ot.addScalesToLayout(this)},buildOrUpdateControllers:function(){var e,t,r=this,n=[],a=r.data.datasets;for(e=0,t=a.length;e=0;--r)this.drawDataset(t[r],e);Tt.notify(this,"afterDatasetsDraw",[e])}},drawDataset:function(e,t){var r={meta:e,index:e.index,easingValue:t};!1!==Tt.notify(this,"beforeDatasetDraw",[r])&&(e.controller.draw(t),Tt.notify(this,"afterDatasetDraw",[r]))},_drawTooltip:function(e){var t=this.tooltip,r={tooltip:t,easingValue:e};!1!==Tt.notify(this,"beforeTooltipDraw",[r])&&(t.draw(),Tt.notify(this,"afterTooltipDraw",[r]))},getElementAtEvent:function(e){return at.modes.single(this,e)},getElementsAtEvent:function(e){return at.modes.label(this,e,{intersect:!0})},getElementsAtXAxis:function(e){return at.modes["x-axis"](this,e,{intersect:!0})},getElementsAtEventForMode:function(e,t,r){var n=at.modes[t];return"function"==typeof n?n(this,e,r):[]},getDatasetAtEvent:function(e){return at.modes.dataset(this,e,{intersect:!0})},getDatasetMeta:function(e){var t=this.data.datasets[e];t._meta||(t._meta={});var r=t._meta[this.id];return r||(r=t._meta[this.id]={type:null,data:[],dataset:null,controller:null,hidden:null,xAxisID:null,yAxisID:null,order:t.order||0,index:e}),r},getVisibleDatasetCount:function(){for(var e=0,t=0,r=this.data.datasets.length;t3?r[2]-r[1]:r[1]-r[0];Math.abs(n)>1&&e!==Math.floor(e)&&(n=e-Math.floor(e));var a=z.log10(Math.abs(n)),o="";if(0!==e)if(Math.max(Math.abs(r[0]),Math.abs(r[r.length-1]))<1e-4){var i=z.log10(Math.abs(e)),c=Math.floor(i)-Math.floor(a);c=Math.max(Math.min(c,20),0),o=e.toExponential(c)}else{var s=-1*Math.floor(a);s=Math.max(Math.min(s,20),0),o=e.toFixed(s)}else o="0";return o},logarithmic:function(e,t,r){var n=e/Math.pow(10,Math.floor(z.log10(e)));return 0===e?"0":1===n||2===n||5===n||0===t||t===r.length-1?e.toExponential():""}}},tr=z.isArray,rr=z.isNullOrUndef,nr=z.valueOrDefault,ar=z.valueAtIndexOrDefault;function or(e,t,r){var n,a=e.getTicks().length,o=Math.min(t,a-1),i=e.getPixelForTick(o),c=e._startPixel,s=e._endPixel;if(!(r&&(n=1===a?Math.max(i-c,s-i):0===t?(e.getPixelForTick(1)-i)/2:(i-e.getPixelForTick(o-1))/2,(i+=os+1e-6)))return i}function ir(e,t,r,n){var a,o,i,c,s,l,d,u,p,f,m,b,h,g=r.length,v=[],y=[],w=[];for(a=0;at){for(r=0;r=p||d<=1||!c.isHorizontal()?c.labelRotation=u:(t=(e=c._getLabelSizes()).widest.width,r=e.highest.height-e.highest.offset,n=Math.min(c.maxWidth,c.chart.width-t),t+6>(a=s.offset?c.maxWidth/d:n/(d-1))&&(a=n/(d-(s.offset?.5:1)),o=c.maxHeight-cr(s.gridLines)-l.padding-sr(s.scaleLabel),i=Math.sqrt(t*t+r*r),f=z.toDegrees(Math.min(Math.asin(Math.min((e.highest.height+6)/a,1)),Math.asin(Math.min(o/i,1))-Math.asin(r/i))),f=Math.max(u,Math.min(p,f))),c.labelRotation=f)},afterCalculateTickRotation:function(){z.callback(this.options.afterCalculateTickRotation,[this])},beforeFit:function(){z.callback(this.options.beforeFit,[this])},fit:function(){var e=this,t=e.minSize={width:0,height:0},r=e.chart,n=e.options,a=n.ticks,o=n.scaleLabel,i=n.gridLines,c=e._isVisible(),s="bottom"===n.position,l=e.isHorizontal();if(l?t.width=e.maxWidth:c&&(t.width=cr(i)+sr(o)),l?c&&(t.height=cr(i)+sr(o)):t.height=e.maxHeight,a.display&&c){var d=dr(a),u=e._getLabelSizes(),p=u.first,f=u.last,m=u.widest,b=u.highest,h=.4*d.minor.lineHeight,g=a.padding;if(l){var v=0!==e.labelRotation,y=z.toRadians(e.labelRotation),w=Math.cos(y),k=Math.sin(y),_=k*m.width+w*(b.height-(v?b.offset:0))+(v?0:h);t.height=Math.min(e.maxHeight,t.height+_+g);var x,M,L=e.getPixelForTick(0)-e.left,E=e.right-e.getPixelForTick(e.getTicks().length-1);v?(x=s?w*p.width+k*p.offset:k*(p.height-p.offset),M=s?k*(f.height-f.offset):w*f.width+k*f.offset):(x=p.width/2,M=f.width/2),e.paddingLeft=Math.max((x-L)*e.width/(e.width-L),0)+3,e.paddingRight=Math.max((M-E)*e.width/(e.width-E),0)+3}else{var D=a.mirror?0:m.width+g+h;t.width=Math.min(e.maxWidth,t.width+D),e.paddingTop=p.height/2,e.paddingBottom=f.height/2}}e.handleMargins(),l?(e.width=e._length=r.width-e.margins.left-e.margins.right,e.height=t.height):(e.width=t.width,e.height=e._length=r.height-e.margins.top-e.margins.bottom)},handleMargins:function(){var e=this;e.margins&&(e.margins.left=Math.max(e.paddingLeft,e.margins.left),e.margins.top=Math.max(e.paddingTop,e.margins.top),e.margins.right=Math.max(e.paddingRight,e.margins.right),e.margins.bottom=Math.max(e.paddingBottom,e.margins.bottom))},afterFit:function(){z.callback(this.options.afterFit,[this])},isHorizontal:function(){var e=this.options.position;return"top"===e||"bottom"===e},isFullWidth:function(){return this.options.fullWidth},getRightValue:function(e){if(rr(e))return NaN;if(("number"==typeof e||e instanceof Number)&&!isFinite(e))return NaN;if(e)if(this.isHorizontal()){if(void 0!==e.x)return this.getRightValue(e.x)}else if(void 0!==e.y)return this.getRightValue(e.y);return e},_convertTicksToLabels:function(e){var t,r,n,a=this;for(a.ticks=e.map((function(e){return e.value})),a.beforeTickToLabelConversion(),t=a.convertTicksToLabels(e)||a.ticks,a.afterTickToLabelConversion(),r=0,n=e.length;rr-1?null:this.getPixelForDecimal(e*n+(t?n/2:0))},getPixelForDecimal:function(e){return this._reversePixels&&(e=1-e),this._startPixel+e*this._length},getDecimalForPixel:function(e){var t=(e-this._startPixel)/this._length;return this._reversePixels?1-t:t},getBasePixel:function(){return this.getPixelForValue(this.getBaseValue())},getBaseValue:function(){var e=this.min,t=this.max;return this.beginAtZero?0:e<0&&t<0?t:e>0&&t>0?e:0},_autoSkip:function(e){var t,r,n,a,o=this.options.ticks,i=this._length,c=o.maxTicksLimit||i/this._tickSize()+1,s=o.major.enabled?function(e){var t,r,n=[];for(t=0,r=e.length;tc)return function(e,t,r){var n,a,o=0,i=t[0];for(r=Math.ceil(r),n=0;nl)return o;return Math.max(l,1)}(s,e,0,c),l>0){for(t=0,r=l-1;t1?(u-d)/(l-1):null,pr(e,n,z.isNullOrUndef(a)?0:d-a,d),pr(e,n,u,z.isNullOrUndef(a)?e.length:u+a),ur(e)}return pr(e,n),ur(e)},_tickSize:function(){var e=this.options.ticks,t=z.toRadians(this.labelRotation),r=Math.abs(Math.cos(t)),n=Math.abs(Math.sin(t)),a=this._getLabelSizes(),o=e.autoSkipPadding||0,i=a?a.widest.width+o:0,c=a?a.highest.height+o:0;return this.isHorizontal()?c*r>i*n?i/r:c/n:c*n=0&&(i=e),void 0!==o&&(e=r.indexOf(o))>=0&&(c=e),t.minIndex=i,t.maxIndex=c,t.min=r[i],t.max=r[c]},buildTicks:function(){var e=this._getLabels(),t=this.minIndex,r=this.maxIndex;this.ticks=0===t&&r===e.length-1?e:e.slice(t,r+1)},getLabelForIndex:function(e,t){var r=this.chart;return r.getDatasetMeta(t).controller._getValueScaleId()===this.id?this.getRightValue(r.data.datasets[t].data[e]):this._getLabels()[e]},_configure:function(){var e=this,t=e.options.offset,r=e.ticks;mr.prototype._configure.call(e),e.isHorizontal()||(e._reversePixels=!e._reversePixels),r&&(e._startValue=e.minIndex-(t?.5:0),e._valueRange=Math.max(r.length-(t?0:1),1))},getPixelForValue:function(e,t,r){var n,a,o,i=this;return br(t)||br(r)||(e=i.chart.data.datasets[r].data[t]),br(e)||(n=i.isHorizontal()?e.x:e.y),(void 0!==n||void 0!==e&&isNaN(t))&&(a=i._getLabels(),e=z.valueOrDefault(n,e),t=-1!==(o=a.indexOf(e))?o:t,isNaN(t)&&(t=e)),i.getPixelForDecimal((t-i._startValue)/i._valueRange)},getPixelForTick:function(e){var t=this.ticks;return e<0||e>t.length-1?null:this.getPixelForValue(t[e],e+this.minIndex)},getValueForPixel:function(e){var t=Math.round(this._startValue+this.getDecimalForPixel(e)*this._valueRange);return Math.min(Math.max(t,0),this.ticks.length-1)},getBasePixel:function(){return this.bottom}}),gr={position:"bottom"};hr._defaults=gr;var vr=z.noop,yr=z.isNullOrUndef,wr=mr.extend({getRightValue:function(e){return"string"==typeof e?+e:mr.prototype.getRightValue.call(this,e)},handleTickRangeOptions:function(){var e=this,t=e.options.ticks;if(t.beginAtZero){var r=z.sign(e.min),n=z.sign(e.max);r<0&&n<0?e.max=0:r>0&&n>0&&(e.min=0)}var a=void 0!==t.min||void 0!==t.suggestedMin,o=void 0!==t.max||void 0!==t.suggestedMax;void 0!==t.min?e.min=t.min:void 0!==t.suggestedMin&&(null===e.min?e.min=t.suggestedMin:e.min=Math.min(e.min,t.suggestedMin)),void 0!==t.max?e.max=t.max:void 0!==t.suggestedMax&&(null===e.max?e.max=t.suggestedMax:e.max=Math.max(e.max,t.suggestedMax)),a!==o&&e.min>=e.max&&(a?e.max=e.min+1:e.min=e.max-1),e.min===e.max&&(e.max++,t.beginAtZero||e.min--)},getTickLimit:function(){var e,t=this.options.ticks,r=t.stepSize,n=t.maxTicksLimit;return r?e=Math.ceil(this.max/r)-Math.floor(this.min/r)+1:(e=this._computeTickLimit(),n=n||11),n&&(e=Math.min(n,e)),e},_computeTickLimit:function(){return Number.POSITIVE_INFINITY},handleDirectionalChanges:vr,buildTicks:function(){var e=this,t=e.options.ticks,r=e.getTickLimit(),n={maxTicks:r=Math.max(2,r),min:t.min,max:t.max,precision:t.precision,stepSize:z.valueOrDefault(t.fixedStepSize,t.stepSize)},a=e.ticks=function(e,t){var r,n,a,o,i=[],c=e.stepSize,s=c||1,l=e.maxTicks-1,d=e.min,u=e.max,p=e.precision,f=t.min,m=t.max,b=z.niceNum((m-f)/l/s)*s;if(b<1e-14&&yr(d)&&yr(u))return[f,m];(o=Math.ceil(m/b)-Math.floor(f/b))>l&&(b=z.niceNum(o*b/l/s)*s),c||yr(p)?r=Math.pow(10,z._decimalPlaces(b)):(r=Math.pow(10,p),b=Math.ceil(b*r)/r),n=Math.floor(f/b)*b,a=Math.ceil(m/b)*b,c&&(!yr(d)&&z.almostWhole(d/b,b/1e3)&&(n=d),!yr(u)&&z.almostWhole(u/b,b/1e3)&&(a=u)),o=(a-n)/b,o=z.almostEquals(o,Math.round(o),b/1e3)?Math.round(o):Math.ceil(o),n=Math.round(n*r)/r,a=Math.round(a*r)/r,i.push(yr(d)?n:d);for(var h=1;ht.length-1?null:this.getPixelForValue(t[e])}}),Lr=kr;Mr._defaults=Lr;var Er=z.valueOrDefault,Dr=z.math.log10,Sr={position:"left",ticks:{callback:er.formatters.logarithmic}};function Tr(e,t){return z.isFinite(e)&&e>=0?e:t}var Or=mr.extend({determineDataLimits:function(){var e,t,r,n,a,o,i=this,c=i.options,s=i.chart,l=s.data.datasets,d=i.isHorizontal();function u(e){return d?e.xAxisID===i.id:e.yAxisID===i.id}i.min=Number.POSITIVE_INFINITY,i.max=Number.NEGATIVE_INFINITY,i.minNotZero=Number.POSITIVE_INFINITY;var p=c.stacked;if(void 0===p)for(e=0;e0){var t=z.min(e),r=z.max(e);i.min=Math.min(i.min,t),i.max=Math.max(i.max,r)}}))}else for(e=0;e0?e.minNotZero=e.min:e.max<1?e.minNotZero=Math.pow(10,Math.floor(Dr(e.max))):e.minNotZero=1)},buildTicks:function(){var e=this,t=e.options.ticks,r=!e.isHorizontal(),n={min:Tr(t.min),max:Tr(t.max)},a=e.ticks=function(e,t){var r,n,a=[],o=Er(e.min,Math.pow(10,Math.floor(Dr(t.min)))),i=Math.floor(Dr(t.max)),c=Math.ceil(t.max/Math.pow(10,i));0===o?(r=Math.floor(Dr(t.minNotZero)),n=Math.floor(t.minNotZero/Math.pow(10,r)),a.push(o),o=n*Math.pow(10,r)):(r=Math.floor(Dr(o)),n=Math.floor(o/Math.pow(10,r)));var s=r<0?Math.pow(10,Math.abs(r)):1;do{a.push(o),10==++n&&(n=1,s=++r>=0?1:s),o=Math.round(n*Math.pow(10,r)*s)/s}while(rt.length-1?null:this.getPixelForValue(t[e])},_getFirstTickValue:function(e){var t=Math.floor(Dr(e));return Math.floor(e/Math.pow(10,t))*Math.pow(10,t)},_configure:function(){var e=this,t=e.min,r=0;mr.prototype._configure.call(e),0===t&&(t=e._getFirstTickValue(e.minNotZero),r=Er(e.options.ticks.fontSize,N.global.defaultFontSize)/e._length),e._startValue=Dr(t),e._valueOffset=r,e._valueRange=(Dr(e.max)-Dr(t))/(1-r)},getPixelForValue:function(e){var t=this,r=0;return(e=+t.getRightValue(e))>t.min&&e>0&&(r=(Dr(e)-t._startValue)/t._valueRange+t._valueOffset),t.getPixelForDecimal(r)},getValueForPixel:function(e){var t=this,r=t.getDecimalForPixel(e);return 0===r&&0===t.min?0:Math.pow(10,t._startValue+(r-t._valueOffset)*t._valueRange)}}),Yr=Sr;Or._defaults=Yr;var Cr=z.valueOrDefault,Pr=z.valueAtIndexOrDefault,jr=z.options.resolve,Ar={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:er.formatters.linear},pointLabels:{display:!0,fontSize:10,callback:function(e){return e}}};function Nr(e){var t=e.ticks;return t.display&&e.display?Cr(t.fontSize,N.global.defaultFontSize)+2*t.backdropPaddingY:0}function Fr(e,t,r,n,a){return e===n||e===a?{start:t-r/2,end:t+r/2}:ea?{start:t-r,end:t}:{start:t,end:t+r}}function Ir(e){return 0===e||180===e?"center":e<180?"left":"right"}function Hr(e,t,r,n){var a,o,i=r.y+n/2;if(z.isArray(t))for(a=0,o=t.length;a270||e<90)&&(r.y-=t.h)}function zr(e){return z.isNumber(e)?e:0}var Wr=wr.extend({setDimensions:function(){var e=this;e.width=e.maxWidth,e.height=e.maxHeight,e.paddingTop=Nr(e.options)/2,e.xCenter=Math.floor(e.width/2),e.yCenter=Math.floor((e.height-e.paddingTop)/2),e.drawingArea=Math.min(e.height-e.paddingTop,e.width)/2},determineDataLimits:function(){var e=this,t=e.chart,r=Number.POSITIVE_INFINITY,n=Number.NEGATIVE_INFINITY;z.each(t.data.datasets,(function(a,o){if(t.isDatasetVisible(o)){var i=t.getDatasetMeta(o);z.each(a.data,(function(t,a){var o=+e.getRightValue(t);isNaN(o)||i.data[a].hidden||(r=Math.min(o,r),n=Math.max(o,n))}))}})),e.min=r===Number.POSITIVE_INFINITY?0:r,e.max=n===Number.NEGATIVE_INFINITY?0:n,e.handleTickRangeOptions()},_computeTickLimit:function(){return Math.ceil(this.drawingArea/Nr(this.options))},convertTicksToLabels:function(){var e=this;wr.prototype.convertTicksToLabels.call(e),e.pointLabels=e.chart.data.labels.map((function(){var t=z.callback(e.options.pointLabels.callback,arguments,e);return t||0===t?t:""}))},getLabelForIndex:function(e,t){return+this.getRightValue(this.chart.data.datasets[t].data[e])},fit:function(){var e=this.options;e.display&&e.pointLabels.display?function(e){var t,r,n,a=z.options._parseFont(e.options.pointLabels),o={l:0,r:e.width,t:0,b:e.height-e.paddingTop},i={};e.ctx.font=a.string,e._pointLabelSizes=[];var c,s,l,d=e.chart.data.labels.length;for(t=0;to.r&&(o.r=f.end,i.r=u),m.starto.b&&(o.b=m.end,i.b=u)}e.setReductions(e.drawingArea,o,i)}(this):this.setCenterPoint(0,0,0,0)},setReductions:function(e,t,r){var n=this,a=t.l/Math.sin(r.l),o=Math.max(t.r-n.width,0)/Math.sin(r.r),i=-t.t/Math.cos(r.t),c=-Math.max(t.b-(n.height-n.paddingTop),0)/Math.cos(r.b);a=zr(a),o=zr(o),i=zr(i),c=zr(c),n.drawingArea=Math.min(Math.floor(e-(a+o)/2),Math.floor(e-(i+c)/2)),n.setCenterPoint(a,o,i,c)},setCenterPoint:function(e,t,r,n){var a=this,o=a.width-t-a.drawingArea,i=e+a.drawingArea,c=r+a.drawingArea,s=a.height-a.paddingTop-n-a.drawingArea;a.xCenter=Math.floor((i+o)/2+a.left),a.yCenter=Math.floor((c+s)/2+a.top+a.paddingTop)},getIndexAngle:function(e){var t=this.chart,r=(e*(360/t.data.labels.length)+((t.options||{}).startAngle||0))%360;return(r<0?r+360:r)*Math.PI*2/360},getDistanceFromCenterForValue:function(e){var t=this;if(z.isNullOrUndef(e))return NaN;var r=t.drawingArea/(t.max-t.min);return t.options.ticks.reverse?(t.max-e)*r:(e-t.min)*r},getPointPosition:function(e,t){var r=this.getIndexAngle(e)-Math.PI/2;return{x:Math.cos(r)*t+this.xCenter,y:Math.sin(r)*t+this.yCenter}},getPointPositionForValue:function(e,t){return this.getPointPosition(e,this.getDistanceFromCenterForValue(t))},getBasePosition:function(e){var t=this.min,r=this.max;return this.getPointPositionForValue(e||0,this.beginAtZero?0:t<0&&r<0?r:t>0&&r>0?t:0)},_drawGrid:function(){var e,t,r,n=this,a=n.ctx,o=n.options,i=o.gridLines,c=o.angleLines,s=Cr(c.lineWidth,i.lineWidth),l=Cr(c.color,i.color);if(o.pointLabels.display&&function(e){var t=e.ctx,r=e.options,n=r.pointLabels,a=Nr(r),o=e.getDistanceFromCenterForValue(r.ticks.reverse?e.min:e.max),i=z.options._parseFont(n);t.save(),t.font=i.string,t.textBaseline="middle";for(var c=e.chart.data.labels.length-1;c>=0;c--){var s=0===c?a/2:0,l=e.getPointPosition(c,o+s+5),d=Pr(n.fontColor,c,N.global.defaultFontColor);t.fillStyle=d;var u=e.getIndexAngle(c),p=z.toDegrees(u);t.textAlign=Ir(p),Rr(p,e._pointLabelSizes[c],l),Hr(t,e.pointLabels[c],l,i.lineHeight)}t.restore()}(n),i.display&&z.each(n.ticks,(function(e,r){0!==r&&(t=n.getDistanceFromCenterForValue(n.ticksAsNumbers[r]),function(e,t,r,n){var a,o=e.ctx,i=t.circular,c=e.chart.data.labels.length,s=Pr(t.color,n-1),l=Pr(t.lineWidth,n-1);if((i||c)&&s&&l){if(o.save(),o.strokeStyle=s,o.lineWidth=l,o.setLineDash&&(o.setLineDash(t.borderDash||[]),o.lineDashOffset=t.borderDashOffset||0),o.beginPath(),i)o.arc(e.xCenter,e.yCenter,r,0,2*Math.PI);else{a=e.getPointPosition(0,r),o.moveTo(a.x,a.y);for(var d=1;d=0;e--)t=n.getDistanceFromCenterForValue(o.ticks.reverse?n.min:n.max),r=n.getPointPosition(e,t),a.beginPath(),a.moveTo(n.xCenter,n.yCenter),a.lineTo(r.x,r.y),a.stroke();a.restore()}},_drawLabels:function(){var e=this,t=e.ctx,r=e.options.ticks;if(r.display){var n,a,o=e.getIndexAngle(0),i=z.options._parseFont(r),c=Cr(r.fontColor,N.global.defaultFontColor);t.save(),t.font=i.string,t.translate(e.xCenter,e.yCenter),t.rotate(o),t.textAlign="center",t.textBaseline="middle",z.each(e.ticks,(function(o,s){(0!==s||r.reverse)&&(n=e.getDistanceFromCenterForValue(e.ticksAsNumbers[s]),r.showLabelBackdrop&&(a=t.measureText(o).width,t.fillStyle=r.backdropColor,t.fillRect(-a/2-r.backdropPaddingX,-n-i.size/2-r.backdropPaddingY,a+2*r.backdropPaddingX,i.size+2*r.backdropPaddingY)),t.fillStyle=c,t.fillText(o,0,-n))})),t.restore()}},_drawTitle:z.noop}),Br=Ar;Wr._defaults=Br;var Ur=z._deprecated,Vr=z.options.resolve,qr=z.valueOrDefault,Gr=Number.MIN_SAFE_INTEGER||-9007199254740991,Jr=Number.MAX_SAFE_INTEGER||9007199254740991,$r={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}},Kr=Object.keys($r);function Xr(e,t){return e-t}function Qr(e){return z.valueOrDefault(e.time.min,e.ticks.min)}function Zr(e){return z.valueOrDefault(e.time.max,e.ticks.max)}function en(e,t,r,n){var a=function(e,t,r){for(var n,a,o,i=0,c=e.length-1;i>=0&&i<=c;){if(a=e[(n=i+c>>1)-1]||null,o=e[n],!a)return{lo:null,hi:o};if(o[t]r))return{lo:a,hi:o};c=n-1}}return{lo:o,hi:null}}(e,t,r),o=a.lo?a.hi?a.lo:e[e.length-2]:e[0],i=a.lo?a.hi?a.hi:e[e.length-1]:e[1],c=i[t]-o[t],s=c?(r-o[t])/c:0,l=(i[n]-o[n])*s;return o[n]+l}function tn(e,t){var r=e._adapter,n=e.options.time,a=n.parser,o=a||n.format,i=t;return"function"==typeof a&&(i=a(i)),z.isFinite(i)||(i="string"==typeof o?r.parse(i,o):r.parse(i)),null!==i?+i:(a||"function"!=typeof o||(i=o(t),z.isFinite(i)||(i=r.parse(i))),i)}function rn(e,t){if(z.isNullOrUndef(t))return null;var r=e.options.time,n=tn(e,e.getRightValue(t));return null===n||r.round&&(n=+e._adapter.startOf(n,r.round)),n}function nn(e,t,r,n){var a,o,i,c=Kr.length;for(a=Kr.indexOf(e);a=0&&(t[o].major=!0);return t}(e,o,i,r):o}var on=mr.extend({initialize:function(){this.mergeTicksOptions(),mr.prototype.initialize.call(this)},update:function(){var e=this,t=e.options,r=t.time||(t.time={}),n=e._adapter=new Zt._date(t.adapters.date);return Ur("time scale",r.format,"time.format","time.parser"),Ur("time scale",r.min,"time.min","ticks.min"),Ur("time scale",r.max,"time.max","ticks.max"),z.mergeIf(r.displayFormats,n.formats()),mr.prototype.update.apply(e,arguments)},getRightValue:function(e){return e&&void 0!==e.t&&(e=e.t),mr.prototype.getRightValue.call(this,e)},determineDataLimits:function(){var e,t,r,n,a,o,i,c=this,s=c.chart,l=c._adapter,d=c.options,u=d.time.unit||"day",p=Jr,f=Gr,m=[],b=[],h=[],g=c._getLabels();for(e=0,r=g.length;e1?function(e){var t,r,n,a={},o=[];for(t=0,r=e.length;t1e5*l)throw t+" and "+r+" are too far apart with stepSize of "+l+" "+s;for(a=u;a=a&&r<=o&&d.push(r);return n.min=a,n.max=o,n._unit=s.unit||(c.autoSkip?nn(s.minUnit,n.min,n.max,u):function(e,t,r,n,a){var o,i;for(o=Kr.length-1;o>=Kr.indexOf(r);o--)if(i=Kr[o],$r[i].common&&e._adapter.diff(a,n,i)>=t-1)return i;return Kr[r?Kr.indexOf(r):0]}(n,d.length,s.minUnit,n.min,n.max)),n._majorUnit=c.major.enabled&&"year"!==n._unit?function(e){for(var t=Kr.indexOf(e)+1,r=Kr.length;tt&&c=0&&e0?c:1}}),cn={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}}};on._defaults=cn;var sn={category:hr,linear:Mr,logarithmic:Or,radialLinear:Wr,time:on},ln={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"};Zt._date.override("function"==typeof e?{_id:"moment",formats:function(){return ln},parse:function(t,r){return"string"==typeof t&&"string"==typeof r?t=e(t,r):t instanceof e||(t=e(t)),t.isValid()?t.valueOf():null},format:function(t,r){return e(t).format(r)},add:function(t,r,n){return e(t).add(r,n).valueOf()},diff:function(t,r,n){return e(t).diff(e(r),n)},startOf:function(t,r,n){return t=e(t),"isoWeek"===r?t.isoWeekday(n).valueOf():t.startOf(r).valueOf()},endOf:function(t,r){return e(t).endOf(r).valueOf()},_create:function(t){return e(t)}}:{}),N._set("global",{plugins:{filler:{propagate:!0}}});var dn={dataset:function(e){var t=e.fill,r=e.chart,n=r.getDatasetMeta(t),a=n&&r.isDatasetVisible(t)&&n.dataset._children||[],o=a.length||0;return o?function(e,t){return t=r)&&n;switch(o){case"bottom":return"start";case"top":return"end";case"zero":return"origin";case"origin":case"start":case"end":return o;default:return!1}}function pn(e){return(e.el._scale||{}).getPointPositionForValue?function(e){var t,r,n,a,o,i=e.el._scale,c=i.options,s=i.chart.data.labels.length,l=e.fill,d=[];if(!s)return null;for(t=c.ticks.reverse?i.max:i.min,r=c.ticks.reverse?i.min:i.max,n=i.getPointPositionForValue(0,t),a=0;a0;--o)z.canvas.lineTo(e,r[o],r[o-1],!0);else for(i=r[0].cx,c=r[0].cy,s=Math.sqrt(Math.pow(r[0].x-i,2)+Math.pow(r[0].y-c,2)),o=a-1;o>0;--o)e.arc(i,c,s,r[o].angle,r[o-1].angle,!0)}}function gn(e,t,r,n,a,o){var i,c,s,l,d,u,p,f,m=t.length,b=n.spanGaps,h=[],g=[],v=0,y=0;for(e.beginPath(),i=0,c=m;i=0;--r)(t=s[r].$filler)&&t.visible&&(a=(n=t.el)._view,o=n._children||[],i=t.mapper,c=a.backgroundColor||N.global.defaultColor,i&&c&&o.length&&(z.canvas.clipArea(l,e.chartArea),gn(l,o,i,a,c,n._loop),z.canvas.unclipArea(l)))}},yn=z.rtl.getRtlAdapter,wn=z.noop,kn=z.valueOrDefault;function _n(e,t){return e.usePointStyle&&e.boxWidth>t?t:e.boxWidth}N._set("global",{legend:{display:!0,position:"top",align:"center",fullWidth:!0,reverse:!1,weight:1e3,onClick:function(e,t){var r=t.datasetIndex,n=this.chart,a=n.getDatasetMeta(r);a.hidden=null===a.hidden?!n.data.datasets[r].hidden:null,n.update()},onHover:null,onLeave:null,labels:{boxWidth:40,padding:10,generateLabels:function(e){var t=e.data.datasets,r=e.options.legend||{},n=r.labels&&r.labels.usePointStyle;return e._getSortedDatasetMetas().map((function(r){var a=r.controller.getStyle(n?0:void 0);return{text:t[r.index].label,fillStyle:a.backgroundColor,hidden:!e.isDatasetVisible(r.index),lineCap:a.borderCapStyle,lineDash:a.borderDash,lineDashOffset:a.borderDashOffset,lineJoin:a.borderJoinStyle,lineWidth:a.borderWidth,strokeStyle:a.borderColor,pointStyle:a.pointStyle,rotation:a.rotation,datasetIndex:r.index}}),this)}}},legendCallback:function(e){var t,r,n,a=document.createElement("ul"),o=e.data.datasets;for(a.setAttribute("class",e.id+"-legend"),t=0,r=o.length;ts.width)&&(u+=i+r.padding,d[d.length-(t>0?0:1)]=0),c[t]={left:0,top:0,width:n,height:i},d[d.length-1]+=n+r.padding})),s.height+=u}else{var p=r.padding,f=e.columnWidths=[],m=e.columnHeights=[],b=r.padding,h=0,g=0;z.each(e.legendItems,(function(e,t){var n=_n(r,i)+i/2+a.measureText(e.text).width;t>0&&g+i+2*p>s.height&&(b+=h+r.padding,f.push(h),m.push(g),h=0,g=0),h=Math.max(h,n),g+=i+p,c[t]={left:0,top:0,width:n,height:i}})),b+=h,f.push(h),m.push(g),s.width+=b}e.width=s.width,e.height=s.height}else e.width=s.width=e.height=s.height=0},afterFit:wn,isHorizontal:function(){return"top"===this.options.position||"bottom"===this.options.position},draw:function(){var e=this,t=e.options,r=t.labels,n=N.global,a=n.defaultColor,o=n.elements.line,i=e.height,c=e.columnHeights,s=e.width,l=e.lineWidths;if(t.display){var d,u=yn(t.rtl,e.left,e.minSize.width),p=e.ctx,f=kn(r.fontColor,n.defaultFontColor),m=z.options._parseFont(r),b=m.size;p.textAlign=u.textAlign("left"),p.textBaseline="middle",p.lineWidth=.5,p.strokeStyle=f,p.fillStyle=f,p.font=m.string;var h=_n(r,b),g=e.legendHitBoxes,v=function(e,n){switch(t.align){case"start":return r.padding;case"end":return e-n;default:return(e-n+r.padding)/2}},y=e.isHorizontal();d=y?{x:e.left+v(s,l[0]),y:e.top+r.padding,line:0}:{x:e.left+r.padding,y:e.top+v(i,c[0]),line:0},z.rtl.overrideTextDirection(e.ctx,t.textDirection);var w=b+r.padding;z.each(e.legendItems,(function(t,n){var f=p.measureText(t.text).width,m=h+b/2+f,k=d.x,_=d.y;u.setWidth(e.minSize.width),y?n>0&&k+m+r.padding>e.left+e.minSize.width&&(_=d.y+=w,d.line++,k=d.x=e.left+v(s,l[d.line])):n>0&&_+w>e.top+e.minSize.height&&(k=d.x=k+e.columnWidths[d.line]+r.padding,d.line++,_=d.y=e.top+v(i,c[d.line]));var x=u.x(k);!function(e,t,n){if(!(isNaN(h)||h<=0)){p.save();var i=kn(n.lineWidth,o.borderWidth);if(p.fillStyle=kn(n.fillStyle,a),p.lineCap=kn(n.lineCap,o.borderCapStyle),p.lineDashOffset=kn(n.lineDashOffset,o.borderDashOffset),p.lineJoin=kn(n.lineJoin,o.borderJoinStyle),p.lineWidth=i,p.strokeStyle=kn(n.strokeStyle,a),p.setLineDash&&p.setLineDash(kn(n.lineDash,o.borderDash)),r&&r.usePointStyle){var c=h*Math.SQRT2/2,s=u.xPlus(e,h/2),l=t+b/2;z.canvas.drawPoint(p,n.pointStyle,c,s,l,n.rotation)}else p.fillRect(u.leftForLtr(e,h),t,h,b),0!==i&&p.strokeRect(u.leftForLtr(e,h),t,h,b);p.restore()}}(x,_,t),g[n].left=u.leftForLtr(x,g[n].width),g[n].top=_,function(e,t,r,n){var a=b/2,o=u.xPlus(e,h+a),i=t+a;p.fillText(r.text,o,i),r.hidden&&(p.beginPath(),p.lineWidth=2,p.moveTo(o,i),p.lineTo(u.xPlus(o,n),i),p.stroke())}(x,_,t,f),y?d.x+=m+r.padding:d.y+=w})),z.rtl.restoreTextDirection(e.ctx,t.textDirection)}},_getLegendItemAt:function(e,t){var r,n,a,o=this;if(e>=o.left&&e<=o.right&&t>=o.top&&t<=o.bottom)for(a=o.legendHitBoxes,r=0;r=(n=a[r]).left&&e<=n.left+n.width&&t>=n.top&&t<=n.top+n.height)return o.legendItems[r];return null},handleEvent:function(e){var t,r=this,n=r.options,a="mouseup"===e.type?"click":e.type;if("mousemove"===a){if(!n.onHover&&!n.onLeave)return}else{if("click"!==a)return;if(!n.onClick)return}t=r._getLegendItemAt(e.x,e.y),"click"===a?t&&n.onClick&&n.onClick.call(r,e.native,t):(n.onLeave&&t!==r._hoveredItem&&(r._hoveredItem&&n.onLeave.call(r,e.native,r._hoveredItem),r._hoveredItem=t),n.onHover&&t&&n.onHover.call(r,e.native,t))}});function Mn(e,t){var r=new xn({ctx:e.ctx,options:t,chart:e});mt.configure(e,r,t),mt.addBox(e,r),e.legend=r}var Ln={id:"legend",_element:xn,beforeInit:function(e){var t=e.options.legend;t&&Mn(e,t)},beforeUpdate:function(e){var t=e.options.legend,r=e.legend;t?(z.mergeIf(t,N.global.legend),r?(mt.configure(e,r,t),r.options=t):Mn(e,t)):r&&(mt.removeBox(e,r),delete e.legend)},afterEvent:function(e,t){var r=e.legend;r&&r.handleEvent(t)}},En=z.noop;N._set("global",{title:{display:!1,fontStyle:"bold",fullWidth:!0,padding:10,position:"top",text:"",weight:2e3}});var Dn=J.extend({initialize:function(e){z.extend(this,e),this.legendHitBoxes=[]},beforeUpdate:En,update:function(e,t,r){var n=this;return n.beforeUpdate(),n.maxWidth=e,n.maxHeight=t,n.margins=r,n.beforeSetDimensions(),n.setDimensions(),n.afterSetDimensions(),n.beforeBuildLabels(),n.buildLabels(),n.afterBuildLabels(),n.beforeFit(),n.fit(),n.afterFit(),n.afterUpdate(),n.minSize},afterUpdate:En,beforeSetDimensions:En,setDimensions:function(){var e=this;e.isHorizontal()?(e.width=e.maxWidth,e.left=0,e.right=e.width):(e.height=e.maxHeight,e.top=0,e.bottom=e.height),e.paddingLeft=0,e.paddingTop=0,e.paddingRight=0,e.paddingBottom=0,e.minSize={width:0,height:0}},afterSetDimensions:En,beforeBuildLabels:En,buildLabels:En,afterBuildLabels:En,beforeFit:En,fit:function(){var e,t=this,r=t.options,n=t.minSize={},a=t.isHorizontal();r.display?(e=(z.isArray(r.text)?r.text.length:1)*z.options._parseFont(r).lineHeight+2*r.padding,t.width=n.width=a?t.maxWidth:e,t.height=n.height=a?e:t.maxHeight):t.width=n.width=t.height=n.height=0},afterFit:En,isHorizontal:function(){var e=this.options.position;return"top"===e||"bottom"===e},draw:function(){var e=this,t=e.ctx,r=e.options;if(r.display){var n,a,o,i=z.options._parseFont(r),c=i.lineHeight,s=c/2+r.padding,l=0,d=e.top,u=e.left,p=e.bottom,f=e.right;t.fillStyle=z.valueOrDefault(r.fontColor,N.global.defaultFontColor),t.font=i.string,e.isHorizontal()?(a=u+(f-u)/2,o=d+s,n=f-u):(a="left"===r.position?u+s:f-s,o=d+(p-d)/2,n=p-d,l=Math.PI*("left"===r.position?-.5:.5)),t.save(),t.translate(a,o),t.rotate(l),t.textAlign="center",t.textBaseline="middle";var m=r.text;if(z.isArray(m))for(var b=0,h=0;h=0;n--){var a=e[n];if(t(a))return a}},z.isNumber=function(e){return!isNaN(parseFloat(e))&&isFinite(e)},z.almostEquals=function(e,t,r){return Math.abs(e-t)=e},z.max=function(e){return e.reduce((function(e,t){return isNaN(t)?e:Math.max(e,t)}),Number.NEGATIVE_INFINITY)},z.min=function(e){return e.reduce((function(e,t){return isNaN(t)?e:Math.min(e,t)}),Number.POSITIVE_INFINITY)},z.sign=Math.sign?function(e){return Math.sign(e)}:function(e){return 0==(e=+e)||isNaN(e)?e:e>0?1:-1},z.toRadians=function(e){return e*(Math.PI/180)},z.toDegrees=function(e){return e*(180/Math.PI)},z._decimalPlaces=function(e){if(z.isFinite(e)){for(var t=1,r=0;Math.round(e*t)/t!==e;)t*=10,r++;return r}},z.getAngleFromPoint=function(e,t){var r=t.x-e.x,n=t.y-e.y,a=Math.sqrt(r*r+n*n),o=Math.atan2(n,r);return o<-.5*Math.PI&&(o+=2*Math.PI),{angle:o,distance:a}},z.distanceBetweenPoints=function(e,t){return Math.sqrt(Math.pow(t.x-e.x,2)+Math.pow(t.y-e.y,2))},z.aliasPixel=function(e){return e%2==0?0:.5},z._alignPixel=function(e,t,r){var n=e.currentDevicePixelRatio,a=r/2;return Math.round((t-a)*n)/n+a},z.splineCurve=function(e,t,r,n){var a=e.skip?t:e,o=t,i=r.skip?t:r,c=Math.sqrt(Math.pow(o.x-a.x,2)+Math.pow(o.y-a.y,2)),s=Math.sqrt(Math.pow(i.x-o.x,2)+Math.pow(i.y-o.y,2)),l=c/(c+s),d=s/(c+s),u=n*(l=isNaN(l)?0:l),p=n*(d=isNaN(d)?0:d);return{previous:{x:o.x-u*(i.x-a.x),y:o.y-u*(i.y-a.y)},next:{x:o.x+p*(i.x-a.x),y:o.y+p*(i.y-a.y)}}},z.EPSILON=Number.EPSILON||1e-14,z.splineCurveMonotone=function(e){var t,r,n,a,o,i,c,s,l,d=(e||[]).map((function(e){return{model:e._model,deltaK:0,mK:0}})),u=d.length;for(t=0;t0?d[t-1]:null,(a=t0?d[t-1]:null,a=t=e.length-1?e[0]:e[t+1]:t>=e.length-1?e[e.length-1]:e[t+1]},z.previousItem=function(e,t,r){return r?t<=0?e[e.length-1]:e[t-1]:t<=0?e[0]:e[t-1]},z.niceNum=function(e,t){var r=Math.floor(z.log10(e)),n=e/Math.pow(10,r);return(t?n<1.5?1:n<3?2:n<7?5:10:n<=1?1:n<=2?2:n<=5?5:10)*Math.pow(10,r)},z.requestAnimFrame="undefined"==typeof window?function(e){e()}:window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(e){return window.setTimeout(e,1e3/60)},z.getRelativePosition=function(e,t){var r,n,a=e.originalEvent||e,o=e.target||e.srcElement,i=o.getBoundingClientRect(),c=a.touches;c&&c.length>0?(r=c[0].clientX,n=c[0].clientY):(r=a.clientX,n=a.clientY);var s=parseFloat(z.getStyle(o,"padding-left")),l=parseFloat(z.getStyle(o,"padding-top")),d=parseFloat(z.getStyle(o,"padding-right")),u=parseFloat(z.getStyle(o,"padding-bottom")),p=i.right-i.left-s-d,f=i.bottom-i.top-l-u;return{x:r=Math.round((r-i.left-s)/p*o.width/t.currentDevicePixelRatio),y:n=Math.round((n-i.top-l)/f*o.height/t.currentDevicePixelRatio)}},z.getConstraintWidth=function(e){return r(e,"max-width","clientWidth")},z.getConstraintHeight=function(e){return r(e,"max-height","clientHeight")},z._calculatePadding=function(e,t,r){return(t=z.getStyle(e,t)).indexOf("%")>-1?r*parseInt(t,10)/100:parseInt(t,10)},z._getParentNode=function(e){var t=e.parentNode;return t&&"[object ShadowRoot]"===t.toString()&&(t=t.host),t},z.getMaximumWidth=function(e){var t=z._getParentNode(e);if(!t)return e.clientWidth;var r=t.clientWidth,n=r-z._calculatePadding(t,"padding-left",r)-z._calculatePadding(t,"padding-right",r),a=z.getConstraintWidth(e);return isNaN(a)?n:Math.min(n,a)},z.getMaximumHeight=function(e){var t=z._getParentNode(e);if(!t)return e.clientHeight;var r=t.clientHeight,n=r-z._calculatePadding(t,"padding-top",r)-z._calculatePadding(t,"padding-bottom",r),a=z.getConstraintHeight(e);return isNaN(a)?n:Math.min(n,a)},z.getStyle=function(e,t){return e.currentStyle?e.currentStyle[t]:document.defaultView.getComputedStyle(e,null).getPropertyValue(t)},z.retinaScale=function(e,t){var r=e.currentDevicePixelRatio=t||"undefined"!=typeof window&&window.devicePixelRatio||1;if(1!==r){var n=e.canvas,a=e.height,o=e.width;n.height=a*r,n.width=o*r,e.ctx.scale(r,r),n.style.height||n.style.width||(n.style.height=a+"px",n.style.width=o+"px")}},z.fontString=function(e,t,r){return t+" "+e+"px "+r},z.longestText=function(e,t,r,n){var a=(n=n||{}).data=n.data||{},o=n.garbageCollect=n.garbageCollect||[];n.font!==t&&(a=n.data={},o=n.garbageCollect=[],n.font=t),e.font=t;var i,c,s,l,d,u=0,p=r.length;for(i=0;ir.length){for(i=0;in&&(n=o),n},z.numberOfLabelLines=function(e){var t=1;return z.each(e,(function(e){z.isArray(e)&&e.length>t&&(t=e.length)})),t},z.color=_?function(e){return e instanceof CanvasGradient&&(e=N.global.defaultColor),_(e)}:function(e){return console.error("Color.js not found!"),e},z.getHoverColor=function(e){return e instanceof CanvasPattern||e instanceof CanvasGradient?e:z.color(e).saturate(.5).darken(.1).rgbString()}}(),Kt._adapters=Zt,Kt.Animation=K,Kt.animationService=X,Kt.controllers=Xe,Kt.DatasetController=re,Kt.defaults=N,Kt.Element=J,Kt.elements=ke,Kt.Interaction=at,Kt.layouts=mt,Kt.platform=St,Kt.plugins=Tt,Kt.Scale=mr,Kt.scaleService=Ot,Kt.Ticks=er,Kt.Tooltip=zt,Kt.helpers.each(sn,(function(e,t){Kt.scaleService.registerScaleType(t,e,e._defaults)})),Tn)Tn.hasOwnProperty(Pn)&&Kt.plugins.register(Tn[Pn]);Kt.platform.initialize();var jn=Kt;return"undefined"!=typeof window&&(window.Chart=Kt),Kt.Chart=Kt,Kt.Legend=Tn.legend._element,Kt.Title=Tn.title._element,Kt.pluginService=Kt.plugins,Kt.PluginBase=Kt.Element.extend({}),Kt.canvasHelpers=Kt.helpers.canvas,Kt.layoutService=Kt.layouts,Kt.LinearScaleBase=wr,Kt.helpers.each(["Bar","Bubble","Doughnut","Line","PolarArea","Radar","Scatter"],(function(e){Kt[e]=function(t,r){return new Kt(t,Kt.helpers.merge(r||{},{type:e.charAt(0).toLowerCase()+e.slice(1)}))}})),jn}(function(){try{return r(2)}catch(e){}}())},function(e,t,r){var n=r(170);e.exports=function(e,t){return n(e,t)}},function(e,t,r){var n=r(33),a=r(8),o=a["__core-js_shared__"]||(a["__core-js_shared__"]={});(e.exports=function(e,t){return o[e]||(o[e]=void 0!==t?t:{})})("versions",[]).push({version:n.version,mode:r(53)?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},function(e,t,r){var n=r(35);e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==n(e)?e.split(""):Object(e)}},function(e,t){t.f={}.propertyIsEnumerable},function(e,t,r){"use strict";var n=r(7);e.exports=function(){var e=n(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t}},function(e,t,r){var n=r(7),a=r(19),o=r(12)("species");e.exports=function(e,t){var r,i=n(e).constructor;return void 0===i||null==(r=n(i)[o])?t:a(r)}},function(e,t,r){var n=r(123),a=r(651),o=r(652),i=n?n.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":i&&i in Object(e)?a(e):o(e)}},function(e,t){e.exports=function(e){return null!=e&&"object"==typeof e}},function(e,t,r){var n=r(84);e.exports=function(e){if(!n(e))throw TypeError(e+" is not an object!");return e}},function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n,a=Object.assign||function(e){for(var t=1;t2?arguments[2]:{},o=n(t);a&&(o=i.call(o,Object.getOwnPropertySymbols(t)));for(var c=0;c=l?s:(r.setFullYear(s.getFullYear(),s.getMonth(),c),r)}},function(e,t,r){"use strict"; /* object-assign (c) Sindre Sorhus @license MIT */var n=Object.getOwnPropertySymbols,a=Object.prototype.hasOwnProperty,o=Object.prototype.propertyIsEnumerable;function i(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},r=0;r<10;r++)t["_"+String.fromCharCode(r)]=r;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var n={};return"abcdefghijklmnopqrst".split("").forEach((function(e){n[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},n)).join("")}catch(e){return!1}}()?Object.assign:function(e,t){for(var r,c,s=i(e),l=1;ld;)if((c=s[d++])!=c)return!0}else for(;l>d;d++)if((e||d in s)&&s[d]===r)return e||d||0;return!e&&-1}}},function(e,t){t.f=Object.getOwnPropertySymbols},function(e,t,r){var n=r(35);e.exports=Array.isArray||function(e){return"Array"==n(e)}},function(e,t,r){var n=r(36),a=r(41);e.exports=function(e){return function(t,r){var o,i,c=String(a(t)),s=n(r),l=c.length;return s<0||s>=l?e?"":void 0:(o=c.charCodeAt(s))<55296||o>56319||s+1===l||(i=c.charCodeAt(s+1))<56320||i>57343?e?c.charAt(s):o:e?c.slice(s,s+2):i-56320+(o-55296<<10)+65536}}},function(e,t,r){var n=r(10),a=r(35),o=r(12)("match");e.exports=function(e){var t;return n(e)&&(void 0!==(t=e[o])?!!t:"RegExp"==a(e))}},function(e,t,r){var n=r(12)("iterator"),a=!1;try{var o=[7][n]();o.return=function(){a=!0},Array.from(o,(function(){throw 2}))}catch(e){}e.exports=function(e,t){if(!t&&!a)return!1;var r=!1;try{var o=[7],i=o[n]();i.next=function(){return{done:r=!0}},o[n]=function(){return i},e(o)}catch(e){}return r}},function(e,t,r){"use strict";var n=r(79),a=RegExp.prototype.exec;e.exports=function(e,t){var r=e.exec;if("function"==typeof r){var o=r.call(e,t);if("object"!=typeof o)throw new TypeError("RegExp exec method returned something other than an Object or null");return o}if("RegExp"!==n(e))throw new TypeError("RegExp#exec called on incompatible receiver");return a.call(e,t)}},function(e,t,r){"use strict";r(226);var n=r(21),a=r(20),o=r(9),i=r(41),c=r(12),s=r(163),l=c("species"),d=!o((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$")})),u=function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var r="ab".split(e);return 2===r.length&&"a"===r[0]&&"b"===r[1]}();e.exports=function(e,t,r){var p=c(e),f=!o((function(){var t={};return t[p]=function(){return 7},7!=""[e](t)})),m=f?!o((function(){var t=!1,r=/a/;return r.exec=function(){return t=!0,null},"split"===e&&(r.constructor={},r.constructor[l]=function(){return r}),r[p](""),!t})):void 0;if(!f||!m||"replace"===e&&!d||"split"===e&&!u){var b=/./[p],h=r(i,p,""[e],(function(e,t,r,n,a){return t.exec===s?f&&!a?{done:!0,value:b.call(t,r,n)}:{done:!0,value:e.call(r,t,n)}:{done:!1}})),g=h[0],v=h[1];n(String.prototype,e,g),a(RegExp.prototype,p,2==t?function(e,t){return v.call(e,this,t)}:function(e){return v.call(e,this)})}}},function(e,t,r){var n=r(8).navigator;e.exports=n&&n.userAgent||""},function(e,t,r){"use strict";var n=r(8),a=r(4),o=r(21),i=r(69),c=r(54),s=r(68),l=r(67),d=r(10),u=r(9),p=r(112),f=r(78),m=r(149);e.exports=function(e,t,r,b,h,g){var v=n[e],y=v,w=h?"set":"add",k=y&&y.prototype,_={},x=function(e){var t=k[e];o(k,e,"delete"==e||"has"==e?function(e){return!(g&&!d(e))&&t.call(this,0===e?0:e)}:"get"==e?function(e){return g&&!d(e)?void 0:t.call(this,0===e?0:e)}:"add"==e?function(e){return t.call(this,0===e?0:e),this}:function(e,r){return t.call(this,0===e?0:e,r),this})};if("function"==typeof y&&(g||k.forEach&&!u((function(){(new y).entries().next()})))){var M=new y,L=M[w](g?{}:-0,1)!=M,E=u((function(){M.has(1)})),D=p((function(e){new y(e)})),S=!g&&u((function(){for(var e=new y,t=5;t--;)e[w](t,t);return!e.has(-0)}));D||((y=t((function(t,r){l(t,y,e);var n=m(new v,t,y);return null!=r&&s(r,h,n[w],n),n}))).prototype=k,k.constructor=y),(E||S)&&(x("delete"),x("has"),h&&x("get")),(S||L)&&x(w),g&&k.clear&&delete k.clear}else y=b.getConstructor(t,e,h,w),i(y.prototype,r),c.NEED=!0;return f(y,e),_[e]=y,a(a.G+a.W+a.F*(y!=v),_),g||b.setStrong(y,e,h),y}},function(e,t,r){for(var n,a=r(8),o=r(20),i=r(61),c=i("typed_array"),s=i("view"),l=!(!a.ArrayBuffer||!a.DataView),d=l,u=0,p="Int8Array,Uint8Array,Uint8ClampedArray,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array".split(",");u<9;)(n=a[p[u++]])?(o(n.prototype,c,!0),o(n.prototype,s,!0)):d=!1;e.exports={ABV:l,CONSTR:d,TYPED:c,VIEW:s}},function(e,t,r){"use strict";e.exports=r(53)||!r(9)((function(){var e=Math.random();__defineSetter__.call(null,e,(function(){})),delete r(8)[e]}))},function(e,t,r){"use strict";var n=r(4);e.exports=function(e){n(n.S,e,{of:function(){for(var e=arguments.length,t=new Array(e);e--;)t[e]=arguments[e];return new this(t)}})}},function(e,t,r){"use strict";var n=r(4),a=r(19),o=r(34),i=r(68);e.exports=function(e){n(n.S,e,{from:function(e){var t,r,n,c,s=arguments[1];return a(this),(t=void 0!==s)&&a(s),null==e?new this:(r=[],t?(n=0,c=o(s,arguments[2],2),i(e,!1,(function(e){r.push(c(e,n++))}))):i(e,!1,r.push,r),new this(r))}})}},function(e,t,r){var n=r(640),a=r(641),o=r(642),i=r(643),c=r(644);function s(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r}function b(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function h(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function g(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var v=void 0!==e&&e.env&&"production",y=function(e){function t(){b(this,t);var r=h(this,e.call(this));return r.handleOnClick=function(e){var t=r.chartInstance,n=r.props,a=n.getDatasetAtEvent,o=n.getElementAtEvent,i=n.getElementsAtEvent,c=n.onElementsClick;a&&a(t.getDatasetAtEvent(e),e),o&&o(t.getElementAtEvent(e),e),i&&i(t.getElementsAtEvent(e),e),c&&c(t.getElementsAtEvent(e),e)},r.ref=function(e){r.element=e},r.chartInstance=void 0,r}return g(t,e),t.prototype.componentDidMount=function(){this.renderChart()},t.prototype.componentDidUpdate=function(){if(this.props.redraw)return this.destroyChart(),void this.renderChart();this.updateChart()},t.prototype.shouldComponentUpdate=function(e){var t=this.props,r=(t.redraw,t.type),n=t.options,a=t.plugins,o=t.legend,i=t.height,c=t.width;if(!0===e.redraw)return!0;if(i!==e.height||c!==e.width)return!0;if(r!==e.type)return!0;if(!d()(o,e.legend))return!0;if(!d()(n,e.options))return!0;var s=this.transformDataProp(e);return!d()(this.shadowDataProp,s)||!d()(a,e.plugins)},t.prototype.componentWillUnmount=function(){this.destroyChart()},t.prototype.transformDataProp=function(e){var t=e.data;return"function"==typeof t?t(this.element):t},t.prototype.memoizeDataProps=function(){if(this.props.data){var e=this.transformDataProp(this.props);return this.shadowDataProp=f({},e,{datasets:e.datasets&&e.datasets.map((function(e){return f({},e)}))}),this.saveCurrentDatasets(),e}},t.prototype.checkDatasets=function(e){var r="production"!==v&&"prod"!==v,n=this.props.datasetKeyProvider!==t.getLabelAsKey,a=e.length>1;if(r&&a&&!n){var o=!1;e.forEach((function(e){e.label||(o=!0)})),o&&console.error('[react-chartjs-2] Warning: Each dataset needs a unique key. By default, the "label" property on each dataset is used. Alternatively, you may provide a "datasetKeyProvider" as a prop that returns a unique key.')}},t.prototype.getCurrentDatasets=function(){return this.chartInstance&&this.chartInstance.config.data&&this.chartInstance.config.data.datasets||[]},t.prototype.saveCurrentDatasets=function(){var e=this;this.datasets=this.datasets||{},this.getCurrentDatasets().forEach((function(t){e.datasets[e.props.datasetKeyProvider(t)]=t}))},t.prototype.updateChart=function(){var e=this,t=this.props.options,r=this.memoizeDataProps(this.props);if(this.chartInstance){t&&(this.chartInstance.options=s.a.helpers.configMerge(this.chartInstance.options,t));var n=this.getCurrentDatasets(),a=r.datasets||[];this.checkDatasets(n);var o=p()(n,this.props.datasetKeyProvider);this.chartInstance.config.data.datasets=a.map((function(t){var r=o[e.props.datasetKeyProvider(t)];if(r&&r.type===t.type&&t.data){r.data.splice(t.data.length),t.data.forEach((function(e,n){r.data[n]=t.data[n]}));t.data;var n=m(t,["data"]);return f({},r,n)}return t}));r.datasets;var i=m(r,["datasets"]);this.chartInstance.config.data=f({},this.chartInstance.config.data,i),this.chartInstance.update()}},t.prototype.renderChart=function(){var e=this.props,r=e.options,n=e.legend,a=e.type,o=e.plugins,i=this.element,c=this.memoizeDataProps();void 0===n||d()(t.defaultProps.legend,n)||(r.legend=n),this.chartInstance=new s.a(i,{type:a,data:c,options:r,plugins:o})},t.prototype.destroyChart=function(){if(this.chartInstance){this.saveCurrentDatasets();var e=Object.values(this.datasets);this.chartInstance.config.data.datasets=e,this.chartInstance.destroy()}},t.prototype.render=function(){var e=this.props,t=e.height,r=e.width,n=e.id;return a.a.createElement("canvas",{ref:this.ref,height:t,width:r,id:n,onClick:this.handleOnClick})},t}(a.a.Component);y.getLabelAsKey=function(e){return e.label},y.propTypes={data:i.a.oneOfType([i.a.object,i.a.func]).isRequired,getDatasetAtEvent:i.a.func,getElementAtEvent:i.a.func,getElementsAtEvent:i.a.func,height:i.a.number,legend:i.a.object,onElementsClick:i.a.func,options:i.a.object,plugins:i.a.arrayOf(i.a.object),redraw:i.a.bool,type:function(e,t,r){if(!s.a.controllers[e[t]])return new Error("Invalid chart type `"+e[t]+"` supplied to `"+r+"`.")},width:i.a.number,datasetKeyProvider:i.a.func},y.defaultProps={legend:{display:!0,position:"bottom"},type:"doughnut",height:150,width:300,redraw:!1,options:{},datasetKeyProvider:y.getLabelAsKey};(function(e){function t(){return b(this,t),h(this,e.apply(this,arguments))}g(t,e),t.prototype.render=function(){var e=this;return a.a.createElement(y,f({},this.props,{ref:function(t){return e.chartInstance=t&&t.chartInstance},type:"doughnut"}))}})(a.a.Component),function(e){function t(){return b(this,t),h(this,e.apply(this,arguments))}g(t,e),t.prototype.render=function(){var e=this;return a.a.createElement(y,f({},this.props,{ref:function(t){return e.chartInstance=t&&t.chartInstance},type:"pie"}))}}(a.a.Component),function(e){function t(){return b(this,t),h(this,e.apply(this,arguments))}g(t,e),t.prototype.render=function(){var e=this;return a.a.createElement(y,f({},this.props,{ref:function(t){return e.chartInstance=t&&t.chartInstance},type:"line"}))}}(a.a.Component);var w=function(e){function t(){return b(this,t),h(this,e.apply(this,arguments))}return g(t,e),t.prototype.render=function(){var e=this;return a.a.createElement(y,f({},this.props,{ref:function(t){return e.chartInstance=t&&t.chartInstance},type:"bar"}))},t}(a.a.Component);(function(e){function t(){return b(this,t),h(this,e.apply(this,arguments))}g(t,e),t.prototype.render=function(){var e=this;return a.a.createElement(y,f({},this.props,{ref:function(t){return e.chartInstance=t&&t.chartInstance},type:"horizontalBar"}))}})(a.a.Component),function(e){function t(){return b(this,t),h(this,e.apply(this,arguments))}g(t,e),t.prototype.render=function(){var e=this;return a.a.createElement(y,f({},this.props,{ref:function(t){return e.chartInstance=t&&t.chartInstance},type:"radar"}))}}(a.a.Component),function(e){function t(){return b(this,t),h(this,e.apply(this,arguments))}g(t,e),t.prototype.render=function(){var e=this;return a.a.createElement(y,f({},this.props,{ref:function(t){return e.chartInstance=t&&t.chartInstance},type:"polarArea"}))}}(a.a.Component),function(e){function t(){return b(this,t),h(this,e.apply(this,arguments))}g(t,e),t.prototype.render=function(){var e=this;return a.a.createElement(y,f({},this.props,{ref:function(t){return e.chartInstance=t&&t.chartInstance},type:"bubble"}))}}(a.a.Component),function(e){function t(){return b(this,t),h(this,e.apply(this,arguments))}g(t,e),t.prototype.render=function(){var e=this;return a.a.createElement(y,f({},this.props,{ref:function(t){return e.chartInstance=t&&t.chartInstance},type:"scatter"}))}}(a.a.Component),s.a.defaults}).call(this,r(638))},function(e,t,r){"use strict";r.d(t,"a",(function(){return i}));var n=r(6),a=r(89),o=r(3);function i(e,t){Object(o.a)(2,arguments);var r=Object(n.a)(t);return Object(a.a)(e,-r)}},function(e,t,r){"use strict";function n(e,t){switch(e){case"P":return t.date({width:"short"});case"PP":return t.date({width:"medium"});case"PPP":return t.date({width:"long"});case"PPPP":default:return t.date({width:"full"})}}function a(e,t){switch(e){case"p":return t.time({width:"short"});case"pp":return t.time({width:"medium"});case"ppp":return t.time({width:"long"});case"pppp":default:return t.time({width:"full"})}}var o={p:a,P:function(e,t){var r,o=e.match(/(P+)(p+)?/),i=o[1],c=o[2];if(!c)return n(e,t);switch(i){case"P":r=t.dateTime({width:"short"});break;case"PP":r=t.dateTime({width:"medium"});break;case"PPP":r=t.dateTime({width:"long"});break;case"PPPP":default:r=t.dateTime({width:"full"})}return r.replace("{{date}}",n(i,t)).replace("{{time}}",a(c,t))}};t.a=o},function(e,t,r){"use strict";r.d(t,"a",(function(){return i}));var n=r(5),a=r(46),o=r(3);function i(e){Object(o.a)(1,arguments);var t=Object(n.default)(e),r=t.getUTCFullYear(),i=new Date(0);i.setUTCFullYear(r+1,0,4),i.setUTCHours(0,0,0,0);var c=Object(a.a)(i),s=new Date(0);s.setUTCFullYear(r,0,4),s.setUTCHours(0,0,0,0);var l=Object(a.a)(s);return t.getTime()>=c.getTime()?r+1:t.getTime()>=l.getTime()?r:r-1}},function(e,t,r){"use strict";r.r(t),r.d(t,"default",(function(){return o}));var n=r(5),a=r(3);function o(e){Object(a.a)(1,arguments);var t=Object(n.default)(e),r=t.getMonth(),o=r-r%3;return t.setMonth(o,1),t.setHours(0,0,0,0),t}},function(e,t,r){"use strict";var n={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}};function a(e){return function(t){var r=t||{},n=r.width?String(r.width):e.defaultWidth;return e.formats[n]||e.formats[e.defaultWidth]}}var o={date:a({formats:{full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},defaultWidth:"full"}),time:a({formats:{full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},defaultWidth:"full"}),dateTime:a({formats:{full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},i={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"};function c(e){return function(t,r){var n,a=r||{};if("formatting"===(a.context?String(a.context):"standalone")&&e.formattingValues){var o=e.defaultFormattingWidth||e.defaultWidth,i=a.width?String(a.width):o;n=e.formattingValues[i]||e.formattingValues[o]}else{var c=e.defaultWidth,s=a.width?String(a.width):e.defaultWidth;n=e.values[s]||e.values[c]}return n[e.argumentCallback?e.argumentCallback(t):t]}}function s(e){return function(t,r){var n=String(t),a=r||{},o=a.width,i=o&&e.matchPatterns[o]||e.matchPatterns[e.defaultMatchWidth],c=n.match(i);if(!c)return null;var s,l=c[0],d=o&&e.parsePatterns[o]||e.parsePatterns[e.defaultParseWidth];return s="[object Array]"===Object.prototype.toString.call(d)?function(e,t){for(var r=0;r0?"in "+a:a+" ago":a},formatLong:o,formatRelative:function(e,t,r,n){return i[e]},localize:{ordinalNumber:function(e,t){var r=Number(e),n=r%100;if(n>20||n<10)switch(n%10){case 1:return r+"st";case 2:return r+"nd";case 3:return r+"rd"}return r+"th"},era:c({values:{narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},defaultWidth:"wide"}),quarter:c({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},defaultWidth:"wide",argumentCallback:function(e){return Number(e)-1}}),month:c({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},defaultWidth:"wide"}),day:c({values:{narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},defaultWidth:"wide"}),dayPeriod:c({values:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},defaultWidth:"wide",formattingValues:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},defaultFormattingWidth:"wide"})},match:{ordinalNumber:(l={matchPattern:/^(\d+)(th|st|nd|rd)?/i,parsePattern:/\d+/i,valueCallback:function(e){return parseInt(e,10)}},function(e,t){var r=String(e),n=t||{},a=r.match(l.matchPattern);if(!a)return null;var o=a[0],i=r.match(l.parsePattern);if(!i)return null;var c=l.valueCallback?l.valueCallback(i[0]):i[0];return{value:c=n.valueCallback?n.valueCallback(c):c,rest:r.slice(o.length)}}),era:s({matchPatterns:{narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^b/i,/^(a|c)/i]},defaultParseWidth:"any"}),quarter:s({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:s({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:s({matchPatterns:{narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:s({matchPatterns:{narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},defaultParseWidth:"any"})},options:{weekStartsOn:0,firstWeekContainsDate:1}};t.a=d},function(e,t,r){"use strict";r.d(t,"a",(function(){return l}));var n=r(5),a=r(39),o=r(6),i=r(90),c=r(3);function s(e,t){Object(c.a)(1,arguments);var r=t||{},n=r.locale,s=n&&n.options&&n.options.firstWeekContainsDate,l=null==s?1:Object(o.a)(s),d=null==r.firstWeekContainsDate?l:Object(o.a)(r.firstWeekContainsDate),u=Object(i.a)(e,t),p=new Date(0);p.setUTCFullYear(u,0,d),p.setUTCHours(0,0,0,0);var f=Object(a.a)(p,t);return f}function l(e,t){Object(c.a)(1,arguments);var r=Object(n.default)(e),o=Object(a.a)(r,t).getTime()-s(r,t).getTime();return Math.round(o/6048e5)+1}},function(e,t,r){"use strict";r.d(t,"a",(function(){return s}));var n=r(5),a=r(46),o=r(136),i=r(3);function c(e){Object(i.a)(1,arguments);var t=Object(o.a)(e),r=new Date(0);r.setUTCFullYear(t,0,4),r.setUTCHours(0,0,0,0);var n=Object(a.a)(r);return n}function s(e){Object(i.a)(1,arguments);var t=Object(n.default)(e),r=Object(a.a)(t).getTime()-c(t).getTime();return Math.round(r/6048e5)+1}},,function(e,t,r){var n=r(10),a=r(8).document,o=n(a)&&n(a.createElement);e.exports=function(e){return o?a.createElement(e):{}}},function(e,t,r){var n=r(8),a=r(33),o=r(53),i=r(208),c=r(17).f;e.exports=function(e){var t=a.Symbol||(a.Symbol=o?{}:n.Symbol||{});"_"==e.charAt(0)||e in t||c(t,e,{value:i.f(e)})}},function(e,t,r){var n=r(93)("keys"),a=r(61);e.exports=function(e){return n[e]||(n[e]=a(e))}},function(e,t){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(e,t,r){var n=r(8).document;e.exports=n&&n.documentElement},function(e,t,r){var n=r(10),a=r(7),o=function(e,t){if(a(e),!n(t)&&null!==t)throw TypeError(t+": can't set as prototype!")};e.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(e,t,n){try{(n=r(34)(Function.call,r(27).f(Object.prototype,"__proto__").set,2))(e,[]),t=!(e instanceof Array)}catch(e){t=!0}return function(e,r){return o(e,r),t?e.__proto__=r:n(e,r),e}}({},!1):void 0),check:o}},function(e,t){e.exports="\t\n\v\f\r   ᠎              \u2028\u2029\ufeff"},function(e,t,r){var n=r(10),a=r(147).set;e.exports=function(e,t,r){var o,i=t.constructor;return i!==r&&"function"==typeof i&&(o=i.prototype)!==r.prototype&&n(o)&&a&&a(e,o),e}},function(e,t,r){"use strict";var n=r(36),a=r(41);e.exports=function(e){var t=String(a(this)),r="",o=n(e);if(o<0||o==1/0)throw RangeError("Count can't be negative");for(;o>0;(o>>>=1)&&(t+=t))1&o&&(r+=t);return r}},function(e,t){e.exports=Math.sign||function(e){return 0==(e=+e)||e!=e?e:e<0?-1:1}},function(e,t){var r=Math.expm1;e.exports=!r||r(10)>22025.465794806718||r(10)<22025.465794806718||-2e-17!=r(-2e-17)?function(e){return 0==(e=+e)?e:e>-1e-6&&e<1e-6?e+e*e/2:Math.exp(e)-1}:r},function(e,t,r){"use strict";var n=r(53),a=r(4),o=r(21),i=r(20),c=r(81),s=r(154),l=r(78),d=r(28),u=r(12)("iterator"),p=!([].keys&&"next"in[].keys()),f=function(){return this};e.exports=function(e,t,r,m,b,h,g){s(r,t,m);var v,y,w,k=function(e){if(!p&&e in L)return L[e];switch(e){case"keys":case"values":return function(){return new r(this,e)}}return function(){return new r(this,e)}},_=t+" Iterator",x="values"==b,M=!1,L=e.prototype,E=L[u]||L["@@iterator"]||b&&L[b],D=E||k(b),S=b?x?k("entries"):D:void 0,T="Array"==t&&L.entries||E;if(T&&(w=d(T.call(new e)))!==Object.prototype&&w.next&&(l(w,_,!0),n||"function"==typeof w[u]||i(w,u,f)),x&&E&&"values"!==E.name&&(M=!0,D=function(){return E.call(this)}),n&&!g||!p&&!M&&L[u]||i(L,u,D),c[t]=D,c[_]=f,b)if(v={values:x?D:k("values"),keys:h?D:k("keys"),entries:S},g)for(y in v)y in L||o(L,y,v[y]);else a(a.P+a.F*(p||M),t,v);return v}},function(e,t,r){"use strict";var n=r(64),a=r(60),o=r(78),i={};r(20)(i,r(12)("iterator"),(function(){return this})),e.exports=function(e,t,r){e.prototype=n(i,{next:a(1,r)}),o(e,t+" Iterator")}},function(e,t,r){var n=r(111),a=r(41);e.exports=function(e,t,r){if(n(t))throw TypeError("String#"+r+" doesn't accept regex!");return String(a(e))}},function(e,t,r){var n=r(12)("match");e.exports=function(e){var t=/./;try{"/./"[e](t)}catch(r){try{return t[n]=!1,!"/./"[e](t)}catch(e){}}return!0}},function(e,t,r){var n=r(81),a=r(12)("iterator"),o=Array.prototype;e.exports=function(e){return void 0!==e&&(n.Array===e||o[a]===e)}},function(e,t,r){"use strict";var n=r(17),a=r(60);e.exports=function(e,t,r){t in e?n.f(e,t,a(0,r)):e[t]=r}},function(e,t,r){var n=r(79),a=r(12)("iterator"),o=r(81);e.exports=r(33).getIteratorMethod=function(e){if(null!=e)return e[a]||e["@@iterator"]||o[n(e)]}},function(e,t,r){var n=r(523);e.exports=function(e,t){return new(n(e))(t)}},function(e,t,r){"use strict";var n=r(18),a=r(63),o=r(13);e.exports=function(e){for(var t=n(this),r=o(t.length),i=arguments.length,c=a(i>1?arguments[1]:void 0,r),s=i>2?arguments[2]:void 0,l=void 0===s?r:a(s,r);l>c;)t[c++]=e;return t}},function(e,t,r){"use strict";var n=r(55),a=r(225),o=r(81),i=r(26);e.exports=r(153)(Array,"Array",(function(e,t){this._t=i(e),this._i=0,this._k=t}),(function(){var e=this._t,t=this._k,r=this._i++;return!e||r>=e.length?(this._t=void 0,a(1)):a(0,"keys"==t?r:"values"==t?e[r]:[r,e[r]])}),"values"),o.Arguments=o.Array,n("keys"),n("values"),n("entries")},function(e,t,r){"use strict";var n,a,o=r(96),i=RegExp.prototype.exec,c=String.prototype.replace,s=i,l=(n=/a/,a=/b*/g,i.call(n,"a"),i.call(a,"a"),0!==n.lastIndex||0!==a.lastIndex),d=void 0!==/()??/.exec("")[1];(l||d)&&(s=function(e){var t,r,n,a,s=this;return d&&(r=new RegExp("^"+s.source+"$(?!\\s)",o.call(s))),l&&(t=s.lastIndex),n=i.call(s,e),l&&n&&(s.lastIndex=s.global?n.index+n[0].length:t),d&&n&&n.length>1&&c.call(n[0],r,(function(){for(a=1;ar;)t.push(arguments[r++]);return g[++h]=function(){c("function"==typeof e?e:Function(e),t)},n(h),h},f=function(e){delete g[e]},"process"==r(35)(u)?n=function(e){u.nextTick(i(v,e,1))}:b&&b.now?n=function(e){b.now(i(v,e,1))}:m?(o=(a=new m).port2,a.port1.onmessage=y,n=i(o.postMessage,o,1)):d.addEventListener&&"function"==typeof postMessage&&!d.importScripts?(n=function(e){d.postMessage(e+"","*")},d.addEventListener("message",y,!1)):n="onreadystatechange"in l("script")?function(e){s.appendChild(l("script")).onreadystatechange=function(){s.removeChild(this),v.call(e)}}:function(e){setTimeout(i(v,e,1),0)}),e.exports={set:p,clear:f}},function(e,t,r){var n=r(8),a=r(165).set,o=n.MutationObserver||n.WebKitMutationObserver,i=n.process,c=n.Promise,s="process"==r(35)(i);e.exports=function(){var e,t,r,l=function(){var n,a;for(s&&(n=i.domain)&&n.exit();e;){a=e.fn,e=e.next;try{a()}catch(n){throw e?r():t=void 0,n}}t=void 0,n&&n.enter()};if(s)r=function(){i.nextTick(l)};else if(!o||n.navigator&&n.navigator.standalone)if(c&&c.resolve){var d=c.resolve(void 0);r=function(){d.then(l)}}else r=function(){a.call(n,l)};else{var u=!0,p=document.createTextNode("");new o(l).observe(p,{characterData:!0}),r=function(){p.data=u=!u}}return function(n){var a={fn:n,next:void 0};t&&(t.next=a),e||(e=a,r()),t=a}}},function(e,t,r){"use strict";var n=r(19);function a(e){var t,r;this.promise=new e((function(e,n){if(void 0!==t||void 0!==r)throw TypeError("Bad Promise constructor");t=e,r=n})),this.resolve=n(t),this.reject=n(r)}e.exports.f=function(e){return new a(e)}},function(e,t,r){"use strict";var n=r(8),a=r(14),o=r(53),i=r(117),c=r(20),s=r(69),l=r(9),d=r(67),u=r(36),p=r(13),f=r(235),m=r(65).f,b=r(17).f,h=r(161),g=r(78),v=n.ArrayBuffer,y=n.DataView,w=n.Math,k=n.RangeError,_=n.Infinity,x=v,M=w.abs,L=w.pow,E=w.floor,D=w.log,S=w.LN2,T=a?"_b":"buffer",O=a?"_l":"byteLength",Y=a?"_o":"byteOffset";function C(e,t,r){var n,a,o,i=new Array(r),c=8*r-t-1,s=(1<>1,d=23===t?L(2,-24)-L(2,-77):0,u=0,p=e<0||0===e&&1/e<0?1:0;for((e=M(e))!=e||e===_?(a=e!=e?1:0,n=s):(n=E(D(e)/S),e*(o=L(2,-n))<1&&(n--,o*=2),(e+=n+l>=1?d/o:d*L(2,1-l))*o>=2&&(n++,o/=2),n+l>=s?(a=0,n=s):n+l>=1?(a=(e*o-1)*L(2,t),n+=l):(a=e*L(2,l-1)*L(2,t),n=0));t>=8;i[u++]=255&a,a/=256,t-=8);for(n=n<0;i[u++]=255&n,n/=256,c-=8);return i[--u]|=128*p,i}function P(e,t,r){var n,a=8*r-t-1,o=(1<>1,c=a-7,s=r-1,l=e[s--],d=127&l;for(l>>=7;c>0;d=256*d+e[s],s--,c-=8);for(n=d&(1<<-c)-1,d>>=-c,c+=t;c>0;n=256*n+e[s],s--,c-=8);if(0===d)d=1-i;else{if(d===o)return n?NaN:l?-_:_;n+=L(2,t),d-=i}return(l?-1:1)*n*L(2,d-t)}function j(e){return e[3]<<24|e[2]<<16|e[1]<<8|e[0]}function A(e){return[255&e]}function N(e){return[255&e,e>>8&255]}function F(e){return[255&e,e>>8&255,e>>16&255,e>>24&255]}function I(e){return C(e,52,8)}function H(e){return C(e,23,4)}function R(e,t,r){b(e.prototype,t,{get:function(){return this[r]}})}function z(e,t,r,n){var a=f(+r);if(a+t>e[O])throw k("Wrong index!");var o=e[T]._b,i=a+e[Y],c=o.slice(i,i+t);return n?c:c.reverse()}function W(e,t,r,n,a,o){var i=f(+r);if(i+t>e[O])throw k("Wrong index!");for(var c=e[T]._b,s=i+e[Y],l=n(+a),d=0;dq;)(B=V[q++])in v||c(v,B,x[B]);o||(U.constructor=v)}var G=new y(new v(2)),J=y.prototype.setInt8;G.setInt8(0,2147483648),G.setInt8(1,2147483649),!G.getInt8(0)&&G.getInt8(1)||s(y.prototype,{setInt8:function(e,t){J.call(this,e,t<<24>>24)},setUint8:function(e,t){J.call(this,e,t<<24>>24)}},!0)}else v=function(e){d(this,v,"ArrayBuffer");var t=f(e);this._b=h.call(new Array(t),0),this[O]=t},y=function(e,t,r){d(this,y,"DataView"),d(e,v,"DataView");var n=e[O],a=u(t);if(a<0||a>n)throw k("Wrong offset!");if(a+(r=void 0===r?n-a:p(r))>n)throw k("Wrong length!");this[T]=e,this[Y]=a,this[O]=r},a&&(R(v,"byteLength","_l"),R(y,"buffer","_b"),R(y,"byteLength","_l"),R(y,"byteOffset","_o")),s(y.prototype,{getInt8:function(e){return z(this,1,e)[0]<<24>>24},getUint8:function(e){return z(this,1,e)[0]},getInt16:function(e){var t=z(this,2,e,arguments[1]);return(t[1]<<8|t[0])<<16>>16},getUint16:function(e){var t=z(this,2,e,arguments[1]);return t[1]<<8|t[0]},getInt32:function(e){return j(z(this,4,e,arguments[1]))},getUint32:function(e){return j(z(this,4,e,arguments[1]))>>>0},getFloat32:function(e){return P(z(this,4,e,arguments[1]),23,4)},getFloat64:function(e){return P(z(this,8,e,arguments[1]),52,8)},setInt8:function(e,t){W(this,1,e,A,t)},setUint8:function(e,t){W(this,1,e,A,t)},setInt16:function(e,t){W(this,2,e,N,t,arguments[2])},setUint16:function(e,t){W(this,2,e,N,t,arguments[2])},setInt32:function(e,t){W(this,4,e,F,t,arguments[2])},setUint32:function(e,t){W(this,4,e,F,t,arguments[2])},setFloat32:function(e,t){W(this,4,e,H,t,arguments[2])},setFloat64:function(e,t){W(this,8,e,I,t,arguments[2])}});g(v,"ArrayBuffer"),g(y,"DataView"),c(y.prototype,i.VIEW,!0),t.ArrayBuffer=v,t.DataView=y},function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},function(e,t,r){var n=r(639),a=r(99);e.exports=function e(t,r,o,i,c){return t===r||(null==t||null==r||!a(t)&&!a(r)?t!=t&&r!=r:n(t,r,o,i,e,c))}},function(e,t,r){var n=r(71)(r(50),"Map");e.exports=n},function(e,t){e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},function(e,t,r){var n=r(656),a=r(663),o=r(665),i=r(666),c=r(667);function s(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t-1&&e%1==0&&e<=9007199254740991}},function(e,t,r){var n=r(51),a=r(177),o=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,i=/^\w*$/;e.exports=function(e,t){if(n(e))return!1;var r=typeof e;return!("number"!=r&&"symbol"!=r&&"boolean"!=r&&null!=e&&!a(e))||(i.test(e)||!o.test(e)||null!=t&&e in Object(t))}},function(e,t,r){var n=r(98),a=r(99);e.exports=function(e){return"symbol"==typeof e||a(e)&&"[object Symbol]"==n(e)}},function(e,t,r){var n=r(84);e.exports=function(e,t){if(!n(e))return e;var r,a;if(t&&"function"==typeof(r=e.toString)&&!n(a=r.call(e)))return a;if("function"==typeof(r=e.valueOf)&&!n(a=r.call(e)))return a;if(!t&&"function"==typeof(r=e.toString)&&!n(a=r.call(e)))return a;throw TypeError("Can't convert object to primitive value")}},function(e,t){e.exports=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e}},function(e,t){var r=Math.ceil,n=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?n:r)(e)}},function(e,t,r){var n=r(182)("keys"),a=r(130);e.exports=function(e){return n[e]||(n[e]=a(e))}},function(e,t,r){var n=r(57),a=r(56),o=a["__core-js_shared__"]||(a["__core-js_shared__"]={});(e.exports=function(e,t){return o[e]||(o[e]=void 0!==t?t:{})})("versions",[]).push({version:n.version,mode:r(129)?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},function(e,t){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(e,t){t.f=Object.getOwnPropertySymbols},function(e,t,r){var n=r(179);e.exports=function(e){return Object(n(e))}},function(e,t){e.exports={}},function(e,t,r){var n=r(100),a=r(753),o=r(183),i=r(181)("IE_PROTO"),c=function(){},s=function(){var e,t=r(393)("iframe"),n=o.length;for(t.style.display="none",r(754).appendChild(t),t.src="javascript:",(e=t.contentWindow.document).open(),e.write("