UNPKG

chart.js

Version:

Simple HTML5 charts using the canvas element.

20 lines 1.57 MB
(window.webpackJsonp=window.webpackJsonp||[]).push([[0],[]]);!function(e){function n(n){for(var a,o,s=n[0],l=n[1],d=n[2],u=0,h=[];u<s.length;u++)o=s[u],Object.prototype.hasOwnProperty.call(i,o)&&i[o]&&h.push(i[o][0]),i[o]=0;for(a in l)Object.prototype.hasOwnProperty.call(l,a)&&(e[a]=l[a]);for(c&&c(n);h.length;)h.shift()();return r.push.apply(r,d||[]),t()}function t(){for(var e,n=0;n<r.length;n++){for(var t=r[n],a=!0,s=1;s<t.length;s++){var l=t[s];0!==i[l]&&(a=!1)}a&&(r.splice(n--,1),e=o(o.s=t[0]))}return e}var a={},i={1:0},r=[];function o(n){if(a[n])return a[n].exports;var t=a[n]={i:n,l:!1,exports:{}};return e[n].call(t.exports,t,t.exports,o),t.l=!0,t.exports}o.e=function(e){var n=[],t=i[e];if(0!==t)if(t)n.push(t[2]);else{var a=new Promise((function(n,a){t=i[e]=[n,a]}));n.push(t[2]=a);var r,s=document.createElement("script");s.charset="utf-8",s.timeout=120,o.nc&&s.setAttribute("nonce",o.nc),s.src=function(e){return o.p+"assets/js/"+({}[e]||e)+"."+{2:"3e2307f3",3:"947b8d98",4:"fa1d5bf7",5:"00f814ac",6:"2bc86161",7:"74f2ce90",8:"8928eb8b",9:"26921c7f",10:"55a354f0",11:"6f47681f",12:"c1602a77",13:"6a25e761",14:"c27f68ca",15:"8a17bde2",16:"bd2b8655",17:"41937cb1",18:"83722313",19:"67aeee92",20:"5c6a8bb6",21:"03f70508",22:"ed257010",23:"f2ed06e2",24:"fe605ff6",25:"62a719ec",26:"1aca3c94",27:"83e317de",28:"7f63abef",29:"e64d700a",30:"80b868a4",31:"c3e8ba9b",32:"2ea2032c",33:"8f17aab7",34:"cf68314e",35:"74f2a343",36:"e6f102f1",37:"5205c8d5",38:"3a0beb59",39:"db083188",40:"3be407c0",41:"4ee6797a",42:"dd060b03",43:"b7708855",44:"298561ef",45:"3ca26bd5",46:"374e1771",47:"cb6ecce1",48:"d3427a25",49:"133e1210",50:"b1bd0391",51:"967c74e6",52:"dfee45f4",53:"25a274c1",54:"27f2a3a2",55:"d7cd8bb5",56:"aea035df",57:"2048b36e",58:"a00868dd",59:"36ac9646",60:"7e677ba7",61:"d51712b4",62:"0f05c38f",63:"27523162",64:"a8a6f225",65:"41a2893d",66:"9521ea81",67:"d7bfb1e4",68:"cb103f64",69:"2fe3abca",70:"5f1a2fc9",71:"f151d361",72:"ce8f62b5",73:"e54b00e9",74:"7a565bc6",75:"581acb17",76:"c9c82d42",77:"f696dbb7",78:"cea14ac4",79:"dce49c24",80:"ec362358",81:"a9378b89",82:"34286a2f",83:"0c888c55",84:"17cdaa0e",85:"64c4d0bf",86:"b02b9a06",87:"4e43ca13",88:"ae0a1fb7",89:"bfaddc8f",90:"4f8727af",91:"cf47d8ac",92:"f6ff0a1d",93:"e410f052",94:"231bdd9c",95:"5bbaaa27",96:"36037d5b",97:"ea8aaadb",98:"b581d8bb",99:"84a3fa0c",100:"ec3ce48e",101:"5c96ecc3",102:"a4c20920",103:"5c9e08b5",104:"dceaebe0",105:"7686cdc7",106:"d16e0ea0",107:"9c8dcae1",108:"ef85e8fc",109:"21777800",110:"b8b26937",111:"3265ddc5",112:"73dd615c",113:"a6714853",114:"602044af",115:"c8394b6d",116:"a189271f",117:"beb7078e",118:"191da875",119:"deaf23d7",120:"752eb1d7",121:"e680e2b8",122:"9f10b07c",123:"014a3e00",124:"89c16dcb",125:"034a744b",126:"bd047874",127:"3b8478f3",128:"87d67ad7",129:"f6241700",130:"a9cb856a",131:"fd50a851",132:"c46867f6",133:"d5aa1db6",134:"4bfa3b5a",135:"8c7630ad",136:"f813e062",137:"3ed06bce",138:"b74b8391",139:"924812c0",140:"a7967a5d",141:"34a018bb",142:"c5bfcdd4",143:"05e388ba",144:"a98bdbcc",145:"826b73e0",146:"001afadf",147:"fcadaef3",148:"2e10aee8",149:"f3dcd785",150:"fd8575ca",151:"67ecd4a3",152:"820c660a",153:"0f168375",154:"2aa9c67d",155:"e3367ebc",156:"a5bb942d",157:"09caef4e",158:"1f82587f",159:"a5d4636e",160:"e206ed10",161:"fac79692",162:"9f2f870f",163:"4f1604f9",164:"7f8d8643",165:"fe2baa69",166:"c82b3c76",167:"3c3f2ff1",168:"8d2e8e83",169:"b10c84bd",170:"329c37a3",171:"2480fc36",172:"81c5206a",173:"12ceea2b",174:"5c4f9d7f",175:"cf43934f",176:"f48183c3",177:"d0d35403",178:"55d433fd",179:"9442c138",180:"5c15d5d4",181:"911f367b",182:"72f663e8",183:"22b2258c",184:"15b21065",185:"894ea40b",186:"f6394459",187:"7bd9b3fe",188:"3baa9bcd",189:"18e63b11",190:"b7ffb54a",191:"13061aba",192:"1bf9bd61",193:"8fa44455",194:"49c9a3c0",195:"eb1e8802",196:"9b925823",197:"adca6c8c",198:"2ae0961a",199:"cd9dca80",200:"2eb9437f",201:"6dba10c3",202:"9c5057c6",203:"98a3c2b8",204:"50d5cf2e",205:"e56e820b",206:"6ce5c41e",207:"8aa83d91",208:"296ee160",209:"13279349",210:"63e30420",211:"0b325f23",212:"be671e2e",213:"81d2e607",214:"ba403b5c",215:"2efcec5f",216:"e01d3100",217:"906c8d54",218:"94e33827",219:"21c5e01f",220:"3ba160e4",221:"5c17138c",222:"e1dbb464",223:"9aae8939",224:"1f9a0947",225:"56b2dd16",226:"8c102c21",227:"b3d60339",228:"df41dd83",229:"70ab90a4",230:"7e5a85b1",231:"b83d12f1",232:"bb17417c",233:"201ca5f0",234:"d975df48",235:"71a7be7d",236:"05d87a5e",237:"d518e28b",238:"b248ecf4",239:"9e2cd69d",240:"c0869bc2",241:"59dc896f",242:"6d423d39",243:"a355eaa8",244:"ad729cf8",245:"1e48ff88",246:"305c9702",247:"916c9bd7",248:"1d222543",249:"3c44b887",250:"05fa08c5",251:"4dee4010",252:"ae98a1a4",253:"727c4b13",254:"c936ac1e",255:"3d34361f",256:"8d709dae",257:"2d8411ef",258:"d2c5c7f4",259:"8f1f7b26",260:"54ff10d2",261:"29113d92"}[e]+".js"}(e);var l=new Error;r=function(n){s.onerror=s.onload=null,clearTimeout(d);var t=i[e];if(0!==t){if(t){var a=n&&("load"===n.type?"missing":n.type),r=n&&n.target&&n.target.src;l.message="Loading chunk "+e+" failed.\n("+a+": "+r+")",l.name="ChunkLoadError",l.type=a,l.request=r,t[1](l)}i[e]=void 0}};var d=setTimeout((function(){r({type:"timeout",target:s})}),12e4);s.onerror=s.onload=r,document.head.appendChild(s)}return Promise.all(n)},o.m=e,o.c=a,o.d=function(e,n,t){o.o(e,n)||Object.defineProperty(e,n,{enumerable:!0,get:t})},o.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.t=function(e,n){if(1&n&&(e=o(e)),8&n)return e;if(4&n&&"object"==typeof e&&e&&e.__esModule)return e;var t=Object.create(null);if(o.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:e}),2&n&&"string"!=typeof e)for(var a in e)o.d(t,a,function(n){return e[n]}.bind(null,a));return t},o.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(n,"a",n),n},o.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},o.p="/docs/3.9.0/",o.oe=function(e){throw console.error(e),e};var s=window.webpackJsonp=window.webpackJsonp||[],l=s.push.bind(s);s.push=n,s=s.slice();for(var d=0;d<s.length;d++)n(s[d]);var c=l;r.push([123,0]),t()}([function(e,n,t){"use strict"; /*! * Chart.js v3.9.0 * https://www.chartjs.org * (c) 2022 Chart.js Contributors * Released under the MIT License */ function a(){}t.d(n,"a",(function(){return bn})),t.d(n,"b",(function(){return F})),t.d(n,"c",(function(){return d})),t.d(n,"d",(function(){return p})),t.d(n,"e",(function(){return En})),t.d(n,"f",(function(){return Q})),t.d(n,"g",(function(){return $})),t.d(n,"h",(function(){return un})),t.d(n,"i",(function(){return E})),t.d(n,"j",(function(){return ee})),t.d(n,"k",(function(){return pn})),t.d(n,"l",(function(){return In})),t.d(n,"m",(function(){return vn})),t.d(n,"n",(function(){return Tn})),t.d(n,"o",(function(){return yn})),t.d(n,"p",(function(){return _n})),t.d(n,"q",(function(){return A})),t.d(n,"r",(function(){return f})),t.d(n,"s",(function(){return pe})),t.d(n,"t",(function(){return fe})),t.d(n,"u",(function(){return R})),t.d(n,"v",(function(){return on})),t.d(n,"w",(function(){return y})),t.d(n,"x",(function(){return w})),t.d(n,"y",(function(){return dt})),t.d(n,"z",(function(){return ie})),t.d(n,"A",(function(){return ae})),t.d(n,"B",(function(){return de})),t.d(n,"C",(function(){return Ln})),t.d(n,"D",(function(){return q})),t.d(n,"E",(function(){return ut})),t.d(n,"F",(function(){return it})),t.d(n,"G",(function(){return ft})),t.d(n,"H",(function(){return ue})),t.d(n,"I",(function(){return pt})),t.d(n,"J",(function(){return at})),t.d(n,"K",(function(){return sn})),t.d(n,"L",(function(){return k})),t.d(n,"M",(function(){return Un})),t.d(n,"N",(function(){return xt})),t.d(n,"O",(function(){return Ct})),t.d(n,"P",(function(){return me})),t.d(n,"Q",(function(){return Tt})),t.d(n,"R",(function(){return gn})),t.d(n,"S",(function(){return a})),t.d(n,"T",(function(){return X})),t.d(n,"U",(function(){return W})),t.d(n,"V",(function(){return B})),t.d(n,"W",(function(){return V})),t.d(n,"X",(function(){return H})),t.d(n,"Y",(function(){return G})),t.d(n,"Z",(function(){return hn})),t.d(n,"ab",(function(){return re})),t.d(n,"bb",(function(){return te})),t.d(n,"cb",(function(){return rn})),t.d(n,"db",(function(){return jn})),t.d(n,"eb",(function(){return Nn})),t.d(n,"fb",(function(){return x})),t.d(n,"gb",(function(){return i})),t.d(n,"hb",(function(){return he})),t.d(n,"ib",(function(){return ht})),t.d(n,"jb",(function(){return fn})),t.d(n,"kb",(function(){return S})),t.d(n,"lb",(function(){return m})),t.d(n,"mb",(function(){return P})),t.d(n,"nb",(function(){return ne})),t.d(n,"ob",(function(){return Pn})),t.d(n,"pb",(function(){return tt})),t.d(n,"qb",(function(){return St})),t.d(n,"rb",(function(){return kt})),t.d(n,"sb",(function(){return gt})),t.d(n,"tb",(function(){return bt})),t.d(n,"ub",(function(){return mt})),t.d(n,"vb",(function(){return xn})),t.d(n,"wb",(function(){return Cn})),t.d(n,"xb",(function(){return mn})),t.d(n,"yb",(function(){return wn})),t.d(n,"zb",(function(){return An})),t.d(n,"Ab",(function(){return Rn})),t.d(n,"Bb",(function(){return Ot})),t.d(n,"Cb",(function(){return Z})),t.d(n,"Db",(function(){return o})),t.d(n,"Eb",(function(){return an})),t.d(n,"Fb",(function(){return cn})),t.d(n,"Gb",(function(){return Ce})),t.d(n,"Hb",(function(){return D})),t.d(n,"Ib",(function(){return l})),t.d(n,"Jb",(function(){return Mn})),t.d(n,"Kb",(function(){return s})),t.d(n,"Lb",(function(){return O})),t.d(n,"Mb",(function(){return r})),t.d(n,"Nb",(function(){return se})),t.d(n,"Ob",(function(){return u})),t.d(n,"Pb",(function(){return h})),t.d(n,"Qb",(function(){return yt})),t.d(n,"Rb",(function(){return K})),t.d(n,"Sb",(function(){return ge})),t.d(n,"Tb",(function(){return ce})),t.d(n,"Ub",(function(){return N})),t.d(n,"Vb",(function(){return Y})),t.d(n,"Wb",(function(){return le})),t.d(n,"Xb",(function(){return c})),t.d(n,"Yb",(function(){return be})),t.d(n,"Zb",(function(){return z})),t.d(n,"ac",(function(){return Xn})),t.d(n,"bc",(function(){return U}));const i=function(){let e=0;return function(){return e++}}();function r(e){return null==e}function o(e){if(Array.isArray&&Array.isArray(e))return!0;const n=Object.prototype.toString.call(e);return"[object"===n.slice(0,7)&&"Array]"===n.slice(-6)}function s(e){return null!==e&&"[object Object]"===Object.prototype.toString.call(e)}const l=e=>("number"==typeof e||e instanceof Number)&&isFinite(+e);function d(e,n){return l(e)?e:n}function c(e,n){return void 0===e?n:e}const u=(e,n)=>"string"==typeof e&&e.endsWith("%")?parseFloat(e)/100:e/n,h=(e,n)=>"string"==typeof e&&e.endsWith("%")?parseFloat(e)/100*n:+e;function p(e,n,t){if(e&&"function"==typeof e.call)return e.apply(t,n)}function f(e,n,t,a){let i,r,l;if(o(e))if(r=e.length,a)for(i=r-1;i>=0;i--)n.call(t,e[i],i);else for(i=0;i<r;i++)n.call(t,e[i],i);else if(s(e))for(l=Object.keys(e),r=l.length,i=0;i<r;i++)n.call(t,e[l[i]],l[i])}function m(e,n){let t,a,i,r;if(!e||!n||e.length!==n.length)return!1;for(t=0,a=e.length;t<a;++t)if(i=e[t],r=n[t],i.datasetIndex!==r.datasetIndex||i.index!==r.index)return!1;return!0}function g(e){if(o(e))return e.map(g);if(s(e)){const n=Object.create(null),t=Object.keys(e),a=t.length;let i=0;for(;i<a;++i)n[t[i]]=g(e[t[i]]);return n}return e}function b(e){return-1===["__proto__","prototype","constructor"].indexOf(e)}function v(e,n,t,a){if(!b(e))return;const i=n[e],r=t[e];s(i)&&s(r)?y(i,r,a):n[e]=g(r)}function y(e,n,t){const a=o(n)?n:[n],i=a.length;if(!s(e))return e;const r=(t=t||{}).merger||v;for(let o=0;o<i;++o){if(!s(n=a[o]))continue;const i=Object.keys(n);for(let a=0,o=i.length;a<o;++a)r(i[a],e,n,t)}return e}function x(e,n){return y(e,n,{merger:C})}function C(e,n,t){if(!b(e))return;const a=n[e],i=t[e];s(a)&&s(i)?x(a,i):Object.prototype.hasOwnProperty.call(n,e)||(n[e]=g(i))}const T={"":e=>e,x:e=>e.x,y:e=>e.y};function D(e,n){return(T[n]||(T[n]=function(e){const n=function(e){const n=e.split("."),t=[];let a="";for(const e of n)a+=e,a.endsWith("\\")?a=a.slice(0,-1)+".":(t.push(a),a="");return t}(e);return e=>{for(const t of n){if(""===t)break;e=e&&e[t]}return e}}(n)))(e)}function w(e){return e.charAt(0).toUpperCase()+e.slice(1)}const O=e=>void 0!==e,k=e=>"function"==typeof e,S=(e,n)=>{if(e.size!==n.size)return!1;for(const t of e)if(!n.has(t))return!1;return!0};function P(e){return"mouseup"===e.type||"click"===e.type||"contextmenu"===e.type}const A=Math.PI,R=2*A,I=R+A,_=Number.POSITIVE_INFINITY,L=A/180,E=A/2,M=A/4,j=2*A/3,U=Math.log10,N=Math.sign;function B(e){const n=Math.round(e);e=H(e,n,e/1e3)?n:e;const t=Math.pow(10,Math.floor(U(e))),a=e/t;return(a<=1?1:a<=2?2:a<=5?5:10)*t}function F(e){const n=[],t=Math.sqrt(e);let a;for(a=1;a<t;a++)e%a==0&&(n.push(a),n.push(e/a));return t===(0|t)&&n.push(t),n.sort((e,n)=>e-n).pop(),n}function z(e){return!isNaN(parseFloat(e))&&isFinite(e)}function H(e,n,t){return Math.abs(e-n)<t}function V(e,n){const t=Math.round(e);return t-n<=e&&t+n>=e}function W(e,n,t){let a,i,r;for(a=0,i=e.length;a<i;a++)r=e[a][t],isNaN(r)||(n.min=Math.min(n.min,r),n.max=Math.max(n.max,r))}function Y(e){return e*(A/180)}function $(e){return e*(180/A)}function G(e){if(!l(e))return;let n=1,t=0;for(;Math.round(e*n)/n!==e;)n*=10,t++;return t}function q(e,n){const t=n.x-e.x,a=n.y-e.y,i=Math.sqrt(t*t+a*a);let r=Math.atan2(a,t);return r<-.5*A&&(r+=R),{angle:r,distance:i}}function X(e,n){return Math.sqrt(Math.pow(n.x-e.x,2)+Math.pow(n.y-e.y,2))}function J(e,n){return(e-n+I)%R-A}function Z(e){return(e%R+R)%R}function K(e,n,t,a){const i=Z(e),r=Z(n),o=Z(t),s=Z(r-i),l=Z(o-i),d=Z(i-r),c=Z(i-o);return i===r||i===o||a&&r===o||s>l&&d<c}function Q(e,n,t){return Math.max(n,Math.min(t,e))}function ee(e){return Q(e,-32768,32767)}function ne(e,n,t,a=1e-6){return e>=Math.min(n,t)-a&&e<=Math.max(n,t)+a}function te(e,n,t){t=t||(t=>e[t]<n);let a,i=e.length-1,r=0;for(;i-r>1;)a=r+i>>1,t(a)?r=a:i=a;return{lo:r,hi:i}}const ae=(e,n,t,a)=>te(e,t,a?a=>e[a][n]<=t:a=>e[a][n]<t),ie=(e,n,t)=>te(e,t,a=>e[a][n]>=t);function re(e,n,t){let a=0,i=e.length;for(;a<i&&e[a]<n;)a++;for(;i>a&&e[i-1]>t;)i--;return a>0||i<e.length?e.slice(a,i):e}const oe=["push","pop","shift","splice","unshift"];function se(e,n){e._chartjs?e._chartjs.listeners.push(n):(Object.defineProperty(e,"_chartjs",{configurable:!0,enumerable:!1,value:{listeners:[n]}}),oe.forEach(n=>{const t="_onData"+w(n),a=e[n];Object.defineProperty(e,n,{configurable:!0,enumerable:!1,value(...n){const i=a.apply(this,n);return e._chartjs.listeners.forEach(e=>{"function"==typeof e[t]&&e[t](...n)}),i}})}))}function le(e,n){const t=e._chartjs;if(!t)return;const a=t.listeners,i=a.indexOf(n);-1!==i&&a.splice(i,1),a.length>0||(oe.forEach(n=>{delete e[n]}),delete e._chartjs)}function de(e){const n=new Set;let t,a;for(t=0,a=e.length;t<a;++t)n.add(e[t]);return n.size===a?e:Array.from(n)}const ce="undefined"==typeof window?function(e){return e()}:window.requestAnimationFrame;function ue(e,n,t){const a=t||(e=>Array.prototype.slice.call(e));let i=!1,r=[];return function(...t){r=a(t),i||(i=!0,ce.call(window,()=>{i=!1,e.apply(n,r)}))}}function he(e,n){let t;return function(...a){return n?(clearTimeout(t),t=setTimeout(e,n,a)):e.apply(this,a),n}}const pe=e=>"start"===e?"left":"end"===e?"right":"center",fe=(e,n,t)=>"start"===e?n:"end"===e?t:(n+t)/2,me=(e,n,t,a)=>e===(a?"left":"right")?t:"center"===e?(n+t)/2:n;function ge(e,n,t){const a=n.length;let i=0,r=a;if(e._sorted){const{iScale:o,_parsed:s}=e,l=o.axis,{min:d,max:c,minDefined:u,maxDefined:h}=o.getUserBounds();u&&(i=Q(Math.min(ae(s,o.axis,d).lo,t?a:ae(n,l,o.getPixelForValue(d)).lo),0,a-1)),r=h?Q(Math.max(ae(s,o.axis,c,!0).hi+1,t?0:ae(n,l,o.getPixelForValue(c),!0).hi+1),i,a)-i:a-i}return{start:i,count:r}}function be(e){const{xScale:n,yScale:t,_scaleRanges:a}=e,i={xmin:n.min,xmax:n.max,ymin:t.min,ymax:t.max};if(!a)return e._scaleRanges=i,!0;const r=a.xmin!==n.min||a.xmax!==n.max||a.ymin!==t.min||a.ymax!==t.max;return Object.assign(a,i),r}const ve=e=>0===e||1===e,ye=(e,n,t)=>-Math.pow(2,10*(e-=1))*Math.sin((e-n)*R/t),xe=(e,n,t)=>Math.pow(2,-10*e)*Math.sin((e-n)*R/t)+1,Ce={linear:e=>e,easeInQuad:e=>e*e,easeOutQuad:e=>-e*(e-2),easeInOutQuad:e=>(e/=.5)<1?.5*e*e:-.5*(--e*(e-2)-1),easeInCubic:e=>e*e*e,easeOutCubic:e=>(e-=1)*e*e+1,easeInOutCubic:e=>(e/=.5)<1?.5*e*e*e:.5*((e-=2)*e*e+2),easeInQuart:e=>e*e*e*e,easeOutQuart:e=>-((e-=1)*e*e*e-1),easeInOutQuart:e=>(e/=.5)<1?.5*e*e*e*e:-.5*((e-=2)*e*e*e-2),easeInQuint:e=>e*e*e*e*e,easeOutQuint:e=>(e-=1)*e*e*e*e+1,easeInOutQuint:e=>(e/=.5)<1?.5*e*e*e*e*e:.5*((e-=2)*e*e*e*e+2),easeInSine:e=>1-Math.cos(e*E),easeOutSine:e=>Math.sin(e*E),easeInOutSine:e=>-.5*(Math.cos(A*e)-1),easeInExpo:e=>0===e?0:Math.pow(2,10*(e-1)),easeOutExpo:e=>1===e?1:1-Math.pow(2,-10*e),easeInOutExpo:e=>ve(e)?e:e<.5?.5*Math.pow(2,10*(2*e-1)):.5*(2-Math.pow(2,-10*(2*e-1))),easeInCirc:e=>e>=1?e:-(Math.sqrt(1-e*e)-1),easeOutCirc:e=>Math.sqrt(1-(e-=1)*e),easeInOutCirc:e=>(e/=.5)<1?-.5*(Math.sqrt(1-e*e)-1):.5*(Math.sqrt(1-(e-=2)*e)+1),easeInElastic:e=>ve(e)?e:ye(e,.075,.3),easeOutElastic:e=>ve(e)?e:xe(e,.075,.3),easeInOutElastic(e){const n=.1125;return ve(e)?e:e<.5?.5*ye(2*e,n,.45):.5+.5*xe(2*e-1,n,.45)},easeInBack(e){const n=1.70158;return e*e*((n+1)*e-n)},easeOutBack(e){const n=1.70158;return(e-=1)*e*((n+1)*e+n)+1},easeInOutBack(e){let n=1.70158;return(e/=.5)<1?e*e*((1+(n*=1.525))*e-n)*.5:.5*((e-=2)*e*((1+(n*=1.525))*e+n)+2)},easeInBounce:e=>1-Ce.easeOutBounce(1-e),easeOutBounce(e){const n=7.5625,t=2.75;return e<1/t?n*e*e:e<2/t?n*(e-=1.5/t)*e+.75:e<2.5/t?n*(e-=2.25/t)*e+.9375:n*(e-=2.625/t)*e+.984375},easeInOutBounce:e=>e<.5?.5*Ce.easeInBounce(2*e):.5*Ce.easeOutBounce(2*e-1)+.5}; /*! * @kurkle/color v0.2.1 * https://github.com/kurkle/color#readme * (c) 2022 Jukka Kurkela * Released under the MIT License */ function Te(e){return e+.5|0}const De=(e,n,t)=>Math.max(Math.min(e,t),n);function we(e){return De(Te(2.55*e),0,255)}function Oe(e){return De(Te(255*e),0,255)}function ke(e){return De(Te(e/2.55)/100,0,1)}function Se(e){return De(Te(100*e),0,100)}const Pe={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,A:10,B:11,C:12,D:13,E:14,F:15,a:10,b:11,c:12,d:13,e:14,f:15},Ae=[..."0123456789ABCDEF"],Re=e=>Ae[15&e],Ie=e=>Ae[(240&e)>>4]+Ae[15&e],_e=e=>(240&e)>>4==(15&e);function Le(e){var n=(e=>_e(e.r)&&_e(e.g)&&_e(e.b)&&_e(e.a))(e)?Re:Ie;return e?"#"+n(e.r)+n(e.g)+n(e.b)+((e,n)=>e<255?n(e):"")(e.a,n):void 0}const Ee=/^(hsla?|hwb|hsv)\(\s*([-+.e\d]+)(?:deg)?[\s,]+([-+.e\d]+)%[\s,]+([-+.e\d]+)%(?:[\s,]+([-+.e\d]+)(%)?)?\s*\)$/;function Me(e,n,t){const a=n*Math.min(t,1-t),i=(n,i=(n+e/30)%12)=>t-a*Math.max(Math.min(i-3,9-i,1),-1);return[i(0),i(8),i(4)]}function je(e,n,t){const a=(a,i=(a+e/60)%6)=>t-t*n*Math.max(Math.min(i,4-i,1),0);return[a(5),a(3),a(1)]}function Ue(e,n,t){const a=Me(e,1,.5);let i;for(n+t>1&&(i=1/(n+t),n*=i,t*=i),i=0;i<3;i++)a[i]*=1-n-t,a[i]+=n;return a}function Ne(e){const n=e.r/255,t=e.g/255,a=e.b/255,i=Math.max(n,t,a),r=Math.min(n,t,a),o=(i+r)/2;let s,l,d;return i!==r&&(d=i-r,l=o>.5?d/(2-i-r):d/(i+r),s=function(e,n,t,a,i){return e===i?(n-t)/a+(n<t?6:0):n===i?(t-e)/a+2:(e-n)/a+4}(n,t,a,d,i),s=60*s+.5),[0|s,l||0,o]}function Be(e,n,t,a){return(Array.isArray(n)?e(n[0],n[1],n[2]):e(n,t,a)).map(Oe)}function Fe(e,n,t){return Be(Me,e,n,t)}function ze(e){return(e%360+360)%360}function He(e){const n=Ee.exec(e);let t,a=255;if(!n)return;n[5]!==t&&(a=n[6]?we(+n[5]):Oe(+n[5]));const i=ze(+n[2]),r=+n[3]/100,o=+n[4]/100;return t="hwb"===n[1]?function(e,n,t){return Be(Ue,e,n,t)}(i,r,o):"hsv"===n[1]?function(e,n,t){return Be(je,e,n,t)}(i,r,o):Fe(i,r,o),{r:t[0],g:t[1],b:t[2],a:a}}const Ve={x:"dark",Z:"light",Y:"re",X:"blu",W:"gr",V:"medium",U:"slate",A:"ee",T:"ol",S:"or",B:"ra",C:"lateg",D:"ights",R:"in",Q:"turquois",E:"hi",P:"ro",O:"al",N:"le",M:"de",L:"yello",F:"en",K:"ch",G:"arks",H:"ea",I:"ightg",J:"wh"},We={OiceXe:"f0f8ff",antiquewEte:"faebd7",aqua:"ffff",aquamarRe:"7fffd4",azuY:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"0",blanKedOmond:"ffebcd",Xe:"ff",XeviTet:"8a2be2",bPwn:"a52a2a",burlywood:"deb887",caMtXe:"5f9ea0",KartYuse:"7fff00",KocTate:"d2691e",cSO:"ff7f50",cSnflowerXe:"6495ed",cSnsilk:"fff8dc",crimson:"dc143c",cyan:"ffff",xXe:"8b",xcyan:"8b8b",xgTMnPd:"b8860b",xWay:"a9a9a9",xgYF:"6400",xgYy:"a9a9a9",xkhaki:"bdb76b",xmagFta:"8b008b",xTivegYF:"556b2f",xSange:"ff8c00",xScEd:"9932cc",xYd:"8b0000",xsOmon:"e9967a",xsHgYF:"8fbc8f",xUXe:"483d8b",xUWay:"2f4f4f",xUgYy:"2f4f4f",xQe:"ced1",xviTet:"9400d3",dAppRk:"ff1493",dApskyXe:"bfff",dimWay:"696969",dimgYy:"696969",dodgerXe:"1e90ff",fiYbrick:"b22222",flSOwEte:"fffaf0",foYstWAn:"228b22",fuKsia:"ff00ff",gaRsbSo:"dcdcdc",ghostwEte:"f8f8ff",gTd:"ffd700",gTMnPd:"daa520",Way:"808080",gYF:"8000",gYFLw:"adff2f",gYy:"808080",honeyMw:"f0fff0",hotpRk:"ff69b4",RdianYd:"cd5c5c",Rdigo:"4b0082",ivSy:"fffff0",khaki:"f0e68c",lavFMr:"e6e6fa",lavFMrXsh:"fff0f5",lawngYF:"7cfc00",NmoncEffon:"fffacd",ZXe:"add8e6",ZcSO:"f08080",Zcyan:"e0ffff",ZgTMnPdLw:"fafad2",ZWay:"d3d3d3",ZgYF:"90ee90",ZgYy:"d3d3d3",ZpRk:"ffb6c1",ZsOmon:"ffa07a",ZsHgYF:"20b2aa",ZskyXe:"87cefa",ZUWay:"778899",ZUgYy:"778899",ZstAlXe:"b0c4de",ZLw:"ffffe0",lime:"ff00",limegYF:"32cd32",lRF:"faf0e6",magFta:"ff00ff",maPon:"800000",VaquamarRe:"66cdaa",VXe:"cd",VScEd:"ba55d3",VpurpN:"9370db",VsHgYF:"3cb371",VUXe:"7b68ee",VsprRggYF:"fa9a",VQe:"48d1cc",VviTetYd:"c71585",midnightXe:"191970",mRtcYam:"f5fffa",mistyPse:"ffe4e1",moccasR:"ffe4b5",navajowEte:"ffdead",navy:"80",Tdlace:"fdf5e6",Tive:"808000",TivedBb:"6b8e23",Sange:"ffa500",SangeYd:"ff4500",ScEd:"da70d6",pOegTMnPd:"eee8aa",pOegYF:"98fb98",pOeQe:"afeeee",pOeviTetYd:"db7093",papayawEp:"ffefd5",pHKpuff:"ffdab9",peru:"cd853f",pRk:"ffc0cb",plum:"dda0dd",powMrXe:"b0e0e6",purpN:"800080",YbeccapurpN:"663399",Yd:"ff0000",Psybrown:"bc8f8f",PyOXe:"4169e1",saddNbPwn:"8b4513",sOmon:"fa8072",sandybPwn:"f4a460",sHgYF:"2e8b57",sHshell:"fff5ee",siFna:"a0522d",silver:"c0c0c0",skyXe:"87ceeb",UXe:"6a5acd",UWay:"708090",UgYy:"708090",snow:"fffafa",sprRggYF:"ff7f",stAlXe:"4682b4",tan:"d2b48c",teO:"8080",tEstN:"d8bfd8",tomato:"ff6347",Qe:"40e0d0",viTet:"ee82ee",JHt:"f5deb3",wEte:"ffffff",wEtesmoke:"f5f5f5",Lw:"ffff00",LwgYF:"9acd32"};let Ye;function $e(e){Ye||(Ye=function(){const e={},n=Object.keys(We),t=Object.keys(Ve);let a,i,r,o,s;for(a=0;a<n.length;a++){for(o=s=n[a],i=0;i<t.length;i++)r=t[i],s=s.replace(r,Ve[r]);r=parseInt(We[o],16),e[s]=[r>>16&255,r>>8&255,255&r]}return e}(),Ye.transparent=[0,0,0,0]);const n=Ye[e.toLowerCase()];return n&&{r:n[0],g:n[1],b:n[2],a:4===n.length?n[3]:255}}const Ge=/^rgba?\(\s*([-+.\d]+)(%)?[\s,]+([-+.e\d]+)(%)?[\s,]+([-+.e\d]+)(%)?(?:[\s,/]+([-+.e\d]+)(%)?)?\s*\)$/;const qe=e=>e<=.0031308?12.92*e:1.055*Math.pow(e,1/2.4)-.055,Xe=e=>e<=.04045?e/12.92:Math.pow((e+.055)/1.055,2.4);function Je(e,n,t){if(e){let a=Ne(e);a[n]=Math.max(0,Math.min(a[n]+a[n]*t,0===n?360:1)),a=Fe(a),e.r=a[0],e.g=a[1],e.b=a[2]}}function Ze(e,n){return e?Object.assign(n||{},e):e}function Ke(e){var n={r:0,g:0,b:0,a:255};return Array.isArray(e)?e.length>=3&&(n={r:e[0],g:e[1],b:e[2],a:255},e.length>3&&(n.a=Oe(e[3]))):(n=Ze(e,{r:0,g:0,b:0,a:1})).a=Oe(n.a),n}function Qe(e){return"r"===e.charAt(0)?function(e){const n=Ge.exec(e);let t,a,i,r=255;if(n){if(n[7]!==t){const e=+n[7];r=n[8]?we(e):De(255*e,0,255)}return t=+n[1],a=+n[3],i=+n[5],t=255&(n[2]?we(t):De(t,0,255)),a=255&(n[4]?we(a):De(a,0,255)),i=255&(n[6]?we(i):De(i,0,255)),{r:t,g:a,b:i,a:r}}}(e):He(e)}class en{constructor(e){if(e instanceof en)return e;const n=typeof e;let t;var a,i,r;"object"===n?t=Ke(e):"string"===n&&(r=(a=e).length,"#"===a[0]&&(4===r||5===r?i={r:255&17*Pe[a[1]],g:255&17*Pe[a[2]],b:255&17*Pe[a[3]],a:5===r?17*Pe[a[4]]:255}:7!==r&&9!==r||(i={r:Pe[a[1]]<<4|Pe[a[2]],g:Pe[a[3]]<<4|Pe[a[4]],b:Pe[a[5]]<<4|Pe[a[6]],a:9===r?Pe[a[7]]<<4|Pe[a[8]]:255})),t=i||$e(e)||Qe(e)),this._rgb=t,this._valid=!!t}get valid(){return this._valid}get rgb(){var e=Ze(this._rgb);return e&&(e.a=ke(e.a)),e}set rgb(e){this._rgb=Ke(e)}rgbString(){return this._valid?(e=this._rgb)&&(e.a<255?`rgba(${e.r}, ${e.g}, ${e.b}, ${ke(e.a)})`:`rgb(${e.r}, ${e.g}, ${e.b})`):void 0;var e}hexString(){return this._valid?Le(this._rgb):void 0}hslString(){return this._valid?function(e){if(!e)return;const n=Ne(e),t=n[0],a=Se(n[1]),i=Se(n[2]);return e.a<255?`hsla(${t}, ${a}%, ${i}%, ${ke(e.a)})`:`hsl(${t}, ${a}%, ${i}%)`}(this._rgb):void 0}mix(e,n){if(e){const t=this.rgb,a=e.rgb;let i;const r=n===i?.5:n,o=2*r-1,s=t.a-a.a,l=((o*s==-1?o:(o+s)/(1+o*s))+1)/2;i=1-l,t.r=255&l*t.r+i*a.r+.5,t.g=255&l*t.g+i*a.g+.5,t.b=255&l*t.b+i*a.b+.5,t.a=r*t.a+(1-r)*a.a,this.rgb=t}return this}interpolate(e,n){return e&&(this._rgb=function(e,n,t){const a=Xe(ke(e.r)),i=Xe(ke(e.g)),r=Xe(ke(e.b));return{r:Oe(qe(a+t*(Xe(ke(n.r))-a))),g:Oe(qe(i+t*(Xe(ke(n.g))-i))),b:Oe(qe(r+t*(Xe(ke(n.b))-r))),a:e.a+t*(n.a-e.a)}}(this._rgb,e._rgb,n)),this}clone(){return new en(this.rgb)}alpha(e){return this._rgb.a=Oe(e),this}clearer(e){return this._rgb.a*=1-e,this}greyscale(){const e=this._rgb,n=Te(.3*e.r+.59*e.g+.11*e.b);return e.r=e.g=e.b=n,this}opaquer(e){return this._rgb.a*=1+e,this}negate(){const e=this._rgb;return e.r=255-e.r,e.g=255-e.g,e.b=255-e.b,this}lighten(e){return Je(this._rgb,2,e),this}darken(e){return Je(this._rgb,2,-e),this}saturate(e){return Je(this._rgb,1,e),this}desaturate(e){return Je(this._rgb,1,-e),this}rotate(e){return function(e,n){var t=Ne(e);t[0]=ze(t[0]+n),t=Fe(t),e.r=t[0],e.g=t[1],e.b=t[2]}(this._rgb,e),this}}function nn(e){return new en(e)}function tn(e){if(e&&"object"==typeof e){const n=e.toString();return"[object CanvasPattern]"===n||"[object CanvasGradient]"===n}return!1}function an(e){return tn(e)?e:nn(e)}function rn(e){return tn(e)?e:nn(e).saturate(.5).darken(.1).hexString()}const on=Object.create(null),sn=Object.create(null);function ln(e,n){if(!n)return e;const t=n.split(".");for(let n=0,a=t.length;n<a;++n){const a=t[n];e=e[a]||(e[a]=Object.create(null))}return e}function dn(e,n,t){return"string"==typeof n?y(ln(e,n),t):y(ln(e,""),n)}var cn=new class{constructor(e){this.animation=void 0,this.backgroundColor="rgba(0,0,0,0.1)",this.borderColor="rgba(0,0,0,0.1)",this.color="#666",this.datasets={},this.devicePixelRatio=e=>e.chart.platform.getDevicePixelRatio(),this.elements={},this.events=["mousemove","mouseout","click","touchstart","touchmove"],this.font={family:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",size:12,style:"normal",lineHeight:1.2,weight:null},this.hover={},this.hoverBackgroundColor=(e,n)=>rn(n.backgroundColor),this.hoverBorderColor=(e,n)=>rn(n.borderColor),this.hoverColor=(e,n)=>rn(n.color),this.indexAxis="x",this.interaction={mode:"nearest",intersect:!0,includeInvisible:!1},this.maintainAspectRatio=!0,this.onHover=null,this.onClick=null,this.parsing=!0,this.plugins={},this.responsive=!0,this.scale=void 0,this.scales={},this.showLine=!0,this.drawActiveElementsOnTop=!0,this.describe(e)}set(e,n){return dn(this,e,n)}get(e){return ln(this,e)}describe(e,n){return dn(sn,e,n)}override(e,n){return dn(on,e,n)}route(e,n,t,a){const i=ln(this,e),r=ln(this,t),o="_"+n;Object.defineProperties(i,{[o]:{value:i[n],writable:!0},[n]:{enumerable:!0,get(){const e=this[o],n=r[a];return s(e)?Object.assign({},n,e):c(e,n)},set(e){this[o]=e}}})}}({_scriptable:e=>!e.startsWith("on"),_indexable:e=>"events"!==e,hover:{_fallback:"interaction"},interaction:{_scriptable:!1,_indexable:!1}});function un(e,n,t,a,i){let r=n[i];return r||(r=n[i]=e.measureText(i).width,t.push(i)),r>a&&(a=r),a}function hn(e,n,t,a){let i=(a=a||{}).data=a.data||{},r=a.garbageCollect=a.garbageCollect||[];a.font!==n&&(i=a.data={},r=a.garbageCollect=[],a.font=n),e.save(),e.font=n;let s=0;const l=t.length;let d,c,u,h,p;for(d=0;d<l;d++)if(h=t[d],null!=h&&!0!==o(h))s=un(e,i,r,s,h);else if(o(h))for(c=0,u=h.length;c<u;c++)p=h[c],null==p||o(p)||(s=un(e,i,r,s,p));e.restore();const f=r.length/2;if(f>t.length){for(d=0;d<f;d++)delete i[r[d]];r.splice(0,f)}return s}function pn(e,n,t){const a=e.currentDevicePixelRatio,i=0!==t?Math.max(t/2,.5):0;return Math.round((n-i)*a)/a+i}function fn(e,n){(n=n||e.getContext("2d")).save(),n.resetTransform(),n.clearRect(0,0,e.width,e.height),n.restore()}function mn(e,n,t,a){gn(e,n,t,a,null)}function gn(e,n,t,a,i){let r,o,s,l,d,c;const u=n.pointStyle,h=n.rotation,p=n.radius;let f=(h||0)*L;if(u&&"object"==typeof u&&(r=u.toString(),"[object HTMLImageElement]"===r||"[object HTMLCanvasElement]"===r))return e.save(),e.translate(t,a),e.rotate(f),e.drawImage(u,-u.width/2,-u.height/2,u.width,u.height),void e.restore();if(!(isNaN(p)||p<=0)){switch(e.beginPath(),u){default:i?e.ellipse(t,a,i/2,p,0,0,R):e.arc(t,a,p,0,R),e.closePath();break;case"triangle":e.moveTo(t+Math.sin(f)*p,a-Math.cos(f)*p),f+=j,e.lineTo(t+Math.sin(f)*p,a-Math.cos(f)*p),f+=j,e.lineTo(t+Math.sin(f)*p,a-Math.cos(f)*p),e.closePath();break;case"rectRounded":d=.516*p,l=p-d,o=Math.cos(f+M)*l,s=Math.sin(f+M)*l,e.arc(t-o,a-s,d,f-A,f-E),e.arc(t+s,a-o,d,f-E,f),e.arc(t+o,a+s,d,f,f+E),e.arc(t-s,a+o,d,f+E,f+A),e.closePath();break;case"rect":if(!h){l=Math.SQRT1_2*p,c=i?i/2:l,e.rect(t-c,a-l,2*c,2*l);break}f+=M;case"rectRot":o=Math.cos(f)*p,s=Math.sin(f)*p,e.moveTo(t-o,a-s),e.lineTo(t+s,a-o),e.lineTo(t+o,a+s),e.lineTo(t-s,a+o),e.closePath();break;case"crossRot":f+=M;case"cross":o=Math.cos(f)*p,s=Math.sin(f)*p,e.moveTo(t-o,a-s),e.lineTo(t+o,a+s),e.moveTo(t+s,a-o),e.lineTo(t-s,a+o);break;case"star":o=Math.cos(f)*p,s=Math.sin(f)*p,e.moveTo(t-o,a-s),e.lineTo(t+o,a+s),e.moveTo(t+s,a-o),e.lineTo(t-s,a+o),f+=M,o=Math.cos(f)*p,s=Math.sin(f)*p,e.moveTo(t-o,a-s),e.lineTo(t+o,a+s),e.moveTo(t+s,a-o),e.lineTo(t-s,a+o);break;case"line":o=i?i/2:Math.cos(f)*p,s=Math.sin(f)*p,e.moveTo(t-o,a-s),e.lineTo(t+o,a+s);break;case"dash":e.moveTo(t,a),e.lineTo(t+Math.cos(f)*p,a+Math.sin(f)*p)}e.fill(),n.borderWidth>0&&e.stroke()}}function bn(e,n,t){return t=t||.5,!n||e&&e.x>n.left-t&&e.x<n.right+t&&e.y>n.top-t&&e.y<n.bottom+t}function vn(e,n){e.save(),e.beginPath(),e.rect(n.left,n.top,n.right-n.left,n.bottom-n.top),e.clip()}function yn(e){e.restore()}function xn(e,n,t,a,i){if(!n)return e.lineTo(t.x,t.y);if("middle"===i){const a=(n.x+t.x)/2;e.lineTo(a,n.y),e.lineTo(a,t.y)}else"after"===i!=!!a?e.lineTo(n.x,t.y):e.lineTo(t.x,n.y);e.lineTo(t.x,t.y)}function Cn(e,n,t,a){if(!n)return e.lineTo(t.x,t.y);e.bezierCurveTo(a?n.cp1x:n.cp2x,a?n.cp1y:n.cp2y,a?t.cp2x:t.cp1x,a?t.cp2y:t.cp1y,t.x,t.y)}function Tn(e,n,t,a,i,s={}){const l=o(n)?n:[n],d=s.strokeWidth>0&&""!==s.strokeColor;let c,u;for(e.save(),e.font=i.string,function(e,n){n.translation&&e.translate(n.translation[0],n.translation[1]);r(n.rotation)||e.rotate(n.rotation);n.color&&(e.fillStyle=n.color);n.textAlign&&(e.textAlign=n.textAlign);n.textBaseline&&(e.textBaseline=n.textBaseline)}(e,s),c=0;c<l.length;++c)u=l[c],d&&(s.strokeColor&&(e.strokeStyle=s.strokeColor),r(s.strokeWidth)||(e.lineWidth=s.strokeWidth),e.strokeText(u,t,a,s.maxWidth)),e.fillText(u,t,a,s.maxWidth),Dn(e,t,a,u,s),a+=i.lineHeight;e.restore()}function Dn(e,n,t,a,i){if(i.strikethrough||i.underline){const r=e.measureText(a),o=n-r.actualBoundingBoxLeft,s=n+r.actualBoundingBoxRight,l=t-r.actualBoundingBoxAscent,d=t+r.actualBoundingBoxDescent,c=i.strikethrough?(l+d)/2:d;e.strokeStyle=e.fillStyle,e.beginPath(),e.lineWidth=i.decorationWidth||2,e.moveTo(o,c),e.lineTo(s,c),e.stroke()}}function wn(e,n){const{x:t,y:a,w:i,h:r,radius:o}=n;e.arc(t+o.topLeft,a+o.topLeft,o.topLeft,-E,A,!0),e.lineTo(t,a+r-o.bottomLeft),e.arc(t+o.bottomLeft,a+r-o.bottomLeft,o.bottomLeft,A,E,!0),e.lineTo(t+i-o.bottomRight,a+r),e.arc(t+i-o.bottomRight,a+r-o.bottomRight,o.bottomRight,E,0,!0),e.lineTo(t+i,a+o.topRight),e.arc(t+i-o.topRight,a+o.topRight,o.topRight,0,-E,!0),e.lineTo(t+o.topLeft,a)}const On=new RegExp(/^(normal|(\d+(?:\.\d+)?)(px|em|%)?)$/),kn=new RegExp(/^(normal|italic|initial|inherit|unset|(oblique( -?[0-9]?[0-9]deg)?))$/);function Sn(e,n){const t=(""+e).match(On);if(!t||"normal"===t[1])return 1.2*n;switch(e=+t[2],t[3]){case"px":return e;case"%":e/=100}return n*e}function Pn(e,n){const t={},a=s(n),i=a?Object.keys(n):n,r=s(e)?a?t=>c(e[t],e[n[t]]):n=>e[n]:()=>e;for(const e of i)t[e]=+r(e)||0;return t}function An(e){return Pn(e,{top:"y",right:"x",bottom:"y",left:"x"})}function Rn(e){return Pn(e,["topLeft","topRight","bottomLeft","bottomRight"])}function In(e){const n=An(e);return n.width=n.left+n.right,n.height=n.top+n.bottom,n}function _n(e,n){e=e||{},n=n||cn.font;let t=c(e.size,n.size);"string"==typeof t&&(t=parseInt(t,10));let a=c(e.style,n.style);a&&!(""+a).match(kn)&&(console.warn('Invalid font style specified: "'+a+'"'),a="");const i={family:c(e.family,n.family),lineHeight:Sn(c(e.lineHeight,n.lineHeight),t),size:t,style:a,weight:c(e.weight,n.weight),string:""};return i.string=function(e){return!e||r(e.size)||r(e.family)?null:(e.style?e.style+" ":"")+(e.weight?e.weight+" ":"")+e.size+"px "+e.family}(i),i}function Ln(e,n,t,a){let i,r,s,l=!0;for(i=0,r=e.length;i<r;++i)if(s=e[i],void 0!==s&&(void 0!==n&&"function"==typeof s&&(s=s(n),l=!1),void 0!==t&&o(s)&&(s=s[t%s.length],l=!1),void 0!==s))return a&&!l&&(a.cacheable=!1),s}function En(e,n,t){const{min:a,max:i}=e,r=h(n,(i-a)/2),o=(e,n)=>t&&0===e?0:e+n;return{min:o(a,-Math.abs(r)),max:o(i,r)}}function Mn(e,n){return Object.assign(Object.create(e),n)}function jn(e,n=[""],t=e,a,i=(()=>e[0])){O(a)||(a=Gn("_fallback",e));const r={[Symbol.toStringTag]:"Object",_cacheable:!0,_scopes:e,_rootScopes:t,_fallback:a,_getTarget:i,override:i=>jn([i,...e],n,t,a)};return new Proxy(r,{deleteProperty:(n,t)=>(delete n[t],delete n._keys,delete e[0][t],!0),get:(t,a)=>zn(t,a,()=>function(e,n,t,a){let i;for(const r of n)if(i=Gn(Bn(r,e),t),O(i))return Fn(e,i)?Yn(t,a,e,i):i}(a,n,e,t)),getOwnPropertyDescriptor:(e,n)=>Reflect.getOwnPropertyDescriptor(e._scopes[0],n),getPrototypeOf:()=>Reflect.getPrototypeOf(e[0]),has:(e,n)=>qn(e).includes(n),ownKeys:e=>qn(e),set(e,n,t){const a=e._storage||(e._storage=i());return e[n]=a[n]=t,delete e._keys,!0}})}function Un(e,n,t,a){const i={_cacheable:!1,_proxy:e,_context:n,_subProxy:t,_stack:new Set,_descriptors:Nn(e,a),setContext:n=>Un(e,n,t,a),override:i=>Un(e.override(i),n,t,a)};return new Proxy(i,{deleteProperty:(n,t)=>(delete n[t],delete e[t],!0),get:(e,n,t)=>zn(e,n,()=>function(e,n,t){const{_proxy:a,_context:i,_subProxy:r,_descriptors:l}=e;let d=a[n];k(d)&&l.isScriptable(n)&&(d=function(e,n,t,a){const{_proxy:i,_context:r,_subProxy:o,_stack:s}=t;if(s.has(e))throw new Error("Recursion detected: "+Array.from(s).join("->")+"->"+e);s.add(e),n=n(r,o||a),s.delete(e),Fn(e,n)&&(n=Yn(i._scopes,i,e,n));return n}(n,d,e,t));o(d)&&d.length&&(d=function(e,n,t,a){const{_proxy:i,_context:r,_subProxy:o,_descriptors:l}=t;if(O(r.index)&&a(e))n=n[r.index%n.length];else if(s(n[0])){const t=n,a=i._scopes.filter(e=>e!==t);n=[];for(const s of t){const t=Yn(a,i,e,s);n.push(Un(t,r,o&&o[e],l))}}return n}(n,d,e,l.isIndexable));Fn(n,d)&&(d=Un(d,i,r&&r[n],l));return d}(e,n,t)),getOwnPropertyDescriptor:(n,t)=>n._descriptors.allKeys?Reflect.has(e,t)?{enumerable:!0,configurable:!0}:void 0:Reflect.getOwnPropertyDescriptor(e,t),getPrototypeOf:()=>Reflect.getPrototypeOf(e),has:(n,t)=>Reflect.has(e,t),ownKeys:()=>Reflect.ownKeys(e),set:(n,t,a)=>(e[t]=a,delete n[t],!0)})}function Nn(e,n={scriptable:!0,indexable:!0}){const{_scriptable:t=n.scriptable,_indexable:a=n.indexable,_allKeys:i=n.allKeys}=e;return{allKeys:i,scriptable:t,indexable:a,isScriptable:k(t)?t:()=>t,isIndexable:k(a)?a:()=>a}}const Bn=(e,n)=>e?e+w(n):n,Fn=(e,n)=>s(n)&&"adapters"!==e&&(null===Object.getPrototypeOf(n)||n.constructor===Object);function zn(e,n,t){if(Object.prototype.hasOwnProperty.call(e,n))return e[n];const a=t();return e[n]=a,a}function Hn(e,n,t){return k(e)?e(n,t):e}const Vn=(e,n)=>!0===e?n:"string"==typeof e?D(n,e):void 0;function Wn(e,n,t,a,i){for(const r of n){const n=Vn(t,r);if(n){e.add(n);const r=Hn(n._fallback,t,i);if(O(r)&&r!==t&&r!==a)return r}else if(!1===n&&O(a)&&t!==a)return null}return!1}function Yn(e,n,t,a){const i=n._rootScopes,r=Hn(n._fallback,t,a),l=[...e,...i],d=new Set;d.add(a);let c=$n(d,l,t,r||t,a);return null!==c&&((!O(r)||r===t||(c=$n(d,l,r,c,a),null!==c))&&jn(Array.from(d),[""],i,r,()=>function(e,n,t){const a=e._getTarget();n in a||(a[n]={});const i=a[n];if(o(i)&&s(t))return t;return i}(n,t,a)))}function $n(e,n,t,a,i){for(;t;)t=Wn(e,n,t,a,i);return t}function Gn(e,n){for(const t of n){if(!t)continue;const n=t[e];if(O(n))return n}}function qn(e){let n=e._keys;return n||(n=e._keys=function(e){const n=new Set;for(const t of e)for(const e of Object.keys(t).filter(e=>!e.startsWith("_")))n.add(e);return Array.from(n)}(e._scopes)),n}function Xn(e,n,t,a){const{iScale:i}=e,{key:r="r"}=this._parsing,o=new Array(a);let s,l,d,c;for(s=0,l=a;s<l;++s)d=s+t,c=n[d],o[s]={r:i.parse(D(c,r),d)};return o}const Jn=Number.EPSILON||1e-14,Zn=(e,n)=>n<e.length&&!e[n].skip&&e[n],Kn=e=>"x"===e?"y":"x";function Qn(e,n,t,a){const i=e.skip?n:e,r=n,o=t.skip?n:t,s=X(r,i),l=X(o,r);let d=s/(s+l),c=l/(s+l);d=isNaN(d)?0:d,c=isNaN(c)?0:c;const u=a*d,h=a*c;return{previous:{x:r.x-u*(o.x-i.x),y:r.y-u*(o.y-i.y)},next:{x:r.x+h*(o.x-i.x),y:r.y+h*(o.y-i.y)}}}function et(e,n="x"){const t=Kn(n),a=e.length,i=Array(a).fill(0),r=Array(a);let o,s,l,d=Zn(e,0);for(o=0;o<a;++o)if(s=l,l=d,d=Zn(e,o+1),l){if(d){const e=d[n]-l[n];i[o]=0!==e?(d[t]-l[t])/e:0}r[o]=s?d?N(i[o-1])!==N(i[o])?0:(i[o-1]+i[o])/2:i[o-1]:i[o]}!function(e,n,t){const a=e.length;let i,r,o,s,l,d=Zn(e,0);for(let c=0;c<a-1;++c)l=d,d=Zn(e,c+1),l&&d&&(H(n[c],0,Jn)?t[c]=t[c+1]=0:(i=t[c]/n[c],r=t[c+1]/n[c],s=Math.pow(i,2)+Math.pow(r,2),s<=9||(o=3/Math.sqrt(s),t[c]=i*o*n[c],t[c+1]=r*o*n[c])))}(e,i,r),function(e,n,t="x"){const a=Kn(t),i=e.length;let r,o,s,l=Zn(e,0);for(let d=0;d<i;++d){if(o=s,s=l,l=Zn(e,d+1),!s)continue;const i=s[t],c=s[a];o&&(r=(i-o[t])/3,s["cp1"+t]=i-r,s["cp1"+a]=c-r*n[d]),l&&(r=(l[t]-i)/3,s["cp2"+t]=i+r,s["cp2"+a]=c+r*n[d])}}(e,r,n)}function nt(e,n,t){return Math.max(Math.min(e,t),n)}function tt(e,n,t,a,i){let r,o,s,l;if(n.spanGaps&&(e=e.filter(e=>!e.skip)),"monotone"===n.cubicInterpolationMode)et(e,i);else{let t=a?e[e.length-1]:e[0];for(r=0,o=e.length;r<o;++r)s=e[r],l=Qn(t,s,e[Math.min(r+1,o-(a?0:1))%o],n.tension),s.cp1x=l.previous.x,s.cp1y=l.previous.y,s.cp2x=l.next.x,s.cp2y=l.next.y,t=s}n.capBezierPoints&&function(e,n){let t,a,i,r,o,s=bn(e[0],n);for(t=0,a=e.length;t<a;++t)o=r,r=s,s=t<a-1&&bn(e[t+1],n),r&&(i=e[t],o&&(i.cp1x=nt(i.cp1x,n.left,n.right),i.cp1y=nt(i.cp1y,n.top,n.bottom)),s&&(i.cp2x=nt(i.cp2x,n.left,n.right),i.cp2y=nt(i.cp2y,n.top,n.bottom)))}(e,t)}function at(){return"undefined"!=typeof window&&"undefined"!=typeof document}function it(e){let n=e.parentNode;return n&&"[object ShadowRoot]"===n.toString()&&(n=n.host),n}function rt(e,n,t){let a;return"string"==typeof e?(a=parseInt(e,10),-1!==e.indexOf("%")&&(a=a/100*n.parentNode[t])):a=e,a}const ot=e=>window.getComputedStyle(e,null);const st=["top","right","bottom","left"];function lt(e,n,t){const a={};t=t?"-"+t:"";for(let i=0;i<4;i++){const r=st[i];a[r]=parseFloat(e[n+"-"+r+t])||0}return a.width=a.left+a.right,a.height=a.top+a.bottom,a}function dt(e,n){if("native"in e)return e;const{canvas:t,currentDevicePixelRatio:a}=n,i=ot(t),r="border-box"===i.boxSizing,o=lt(i,"padding"),s=lt(i,"border","width"),{x:l,y:d,box:c}=function(e,n){const t=e.touches,a=t&&t.length?t[0]:e,{offsetX:i,offsetY:r}=a;let o,s,l=!1;if(((e,n,t)=>(e>0||n>0)&&(!t||!t.shadowRoot))(i,r,e.target))o=i,s=r;else{const e=n.getBoundingClientRect();o=a.clientX-e.left,s=a.clientY-e.top,l=!0}return{x:o,y:s,box:l}}(e,t),u=o.left+(c&&s.left),h=o.top+(c&&s.top);let{width:p,height:f}=n;return r&&(p-=o.width+s.width,f-=o.height+s.height),{x:Math.round((l-u)/p*t.width/a),y:Math.round((d-h)/f*t.height/a)}}const ct=e=>Math.round(10*e)/10;function ut(e,n,t,a){const i=ot(e),r=lt(i,"margin"),o=rt(i.maxWidth,e,"clientWidth")||_,s=rt(i.maxHeight,e,"clientHeight")||_,l=function(e,n,t){let a,i;if(void 0===n||void 0===t){const r=it(e);if(r){const e=r.getBoundingClientRect(),o=ot(r),s=lt(o,"border","width"),l=lt(o,"padding");n=e.width-l.width-s.width,t=e.height-l.height-s.height,a=rt(o.maxWidth,r,"clientWidth"),i=rt(o.maxHeight,r,"clientHeight")}else n=e.clientWidth,t=e.clientHeight}return{width:n,height:t,maxWidth:a||_,maxHeight:i||_}}(e,n,t);let{width:d,height:c}=l;if("content-box"===i.boxSizing){const e=lt(i,"border","width"),n=lt(i,"padding");d-=n.width+e.width,c-=n.height+e.height}return d=Math.max(0,d-r.width),c=Math.max(0,a?Math.floor(d/a):c-r.height),d=ct(Math.min(d,o,l.maxWidth)),c=ct(Math.min(c,s,l.maxHeight)),d&&!c&&(c=ct(d/2)),{width:d,height:c}}function ht(e,n,t){const a=n||1,i=Math.floor(e.height*a),r=Math.floor(e.width*a);e.height=i/a,e.width=r/a;const o=e.canvas;return o.style&&(t||!o.style.height&&!o.style.width)&&(o.style.height=e.height+"px",o.style.width=e.width+"px"),(e.currentDevicePixelRatio!==a||o.height!==i||o.width!==r)&&(e.currentDevicePixelRatio=a,o.height=i,o.width=r,e.ctx.setTransform(a,0,0,a,0,0),!0)}const pt=function(){let e=!1;try{const n={get passive(){return e=!0,!1}};window.addEventListener("test",null,n),window.removeEventListener("test",null,n)}catch(e){}return e}();function ft(e,n){const t=function(e,n){return ot(e).getPropertyValue(n)}(e,n),a=t&&t.match(/^(\d+)(\.\d+)?px$/);return a?+a[1]:void 0}function mt(e,n,t,a){return{x:e.x+t*(n.x-e.x),y:e.y+t*(n.y-e.y)}}function gt(e,n,t,a){return{x:e.x+t*(n.x-e.x),y:"middle"===a?t<.5?e.y:n.y:"after"===a?t<1?e.y:n.y:t>0?n.y:e.y}}function bt(e,n,t,a){const i={x:e.cp2x,y:e.cp2y},r={x:n.cp1x,y:n.cp1y},o=mt(e,i,t),s=mt(i,r,t),l=mt(r,n,t),d=mt(o,s,t),c=mt(s,l,t);return mt(d,c,t)}const vt=new Map;function yt(e,n,t){return function(e,n){n=n||{};const t=e+JSON.stringify(n);let a=vt.get(t);return a||(a=new Intl.NumberFormat(e,n),vt.set(t,a)),a}(n,t).format(e)}function xt(e,n,t){return e?function(e,n){return{x:t=>e+e+n-t,setWidth(e){n=e},textAlign:e=>"center"===e?e:"right"===e?"left":"right",xPlus:(e,n)=>e-n,leftForLtr:(e,n)=>e-n}}(n,t):{x:e=>e,setWidth(e){},textAlign:e=>e,xPlus:(e,n)=>e+n,leftForLtr:(e,n)=>e}}function Ct(e,n){let t,a;"ltr"!==n&&"rtl"!==n||(t=e.canvas.style,a=[t.getPropertyValue("direction"),t.getPropertyPriority("direction")],t.setProperty("direction",n,"important"),e.prevTextDirection=a)}function Tt(e,n){void 0!==n&&(delete e.prevTextDirection,e.canvas.style.setProperty("direction",n[0],n[1]))}function Dt(e){return"angle"===e?{between:K,compare:J,normalize:Z}:{between:ne,compare:(e,n)=>e-n,normalize:e=>e}}function wt({start:e,end:n,count:t,loop:a,style:i}){return{start:e%t,end:n%t,loop:a&&(n-e+1)%t==0,style:i}}function Ot(e,n,t){if(!t)return[e];const{property:a,start:i,end:r}=t,o=n.length,{compare:s,between:l,normalize:d}=Dt(a),{start:c,end:u,loop:h,style:p}=function(e,n,t){const{property:a,start:i,end:r}=t,{between:o,normalize:s}=Dt(a),l=n.length;let d,c,{start:u,end:h,loop:p}=e;if(p){for(u+=l,h+=l,d=0,c=l;d<c&&o(s(n[u%l][a]),i,r);++d)u--,h--;u%=l,h%=l}return h<u&&(h+=l),{start:u,end:h,loop:p,style:e.style}}(e,n,t),f=[];let m,g,b,v=!1,y=null;const x=()=>v||l(i,b,m)&&0!==s(i,b),C=()=>!v||0===s(r,m)||l(r,b,m);for(let e=c,t=c;e<=u;++e)g=n[e%o],g.skip||(m=d(g[a]),m!==b&&(v=l(m,i,r),null===y&&x()&&(y=0===s(m,i)?e:t),null!==y&&C()&&(f.push(wt({start:y,end:e,loop:h,count:o,style:p})),y=null),t=e,b=m));return null!==y&&f.push(wt({start:y,end:u,loop:h,count:o,style:p})),f}function kt(e,n){const t=[],a=e.segments;for(let i=0;i<a.length;i++){const r=Ot(a[i],e.points,n);r.length&&t.push(...r)}return t}function St(e,n){const t=e.points,a=e.options.spanGaps,i=t.length;if(!i)return[];const r=!!e._loop,{start:o,end:s}=function(e,n,t,a){let i=0,r=n-1;if(t&&!a)for(;i<n&&!e[i].skip;)i++;for(;i<n&&e[i].skip;)i++;for(i%=n,t&&(r+=i);r>i&&e[r%n].skip;)r--;return r%=n,{start:i,end:r}}(t,i,r,a);if(!0===a)return Pt(e,[{start:o,end:s,loop:r}],t,n);return Pt(e,function(e,n,t,a){const i=e.length,r=[];let o,s=n,l=e[n];for(o=n+1;o<=t;++o){const t=e[o%i];t.skip||t.stop?l.skip||(a=!1,r.push({start:n%i,end:(o-1)%i,loop:a}),n=s=t.stop?o:null):(s=o,l.skip&&(n=o)),l=t}return null!==s&&r.push({start:n%i,end:s%i,loop:a}),r}(t,o,s<o?s+i:s,!!e._fullLoop&&0===o&&s===i-1),t,n)}function Pt(e,n,t,a){return a&&a.setContext&&t?function(e,n,t,a){const i=e._chart.getContext(),r=At(e.options),{_datasetIndex:o,options:{spanGaps:s}}=e,l=t.length,d=[];let c=r,u=n[0].start,h=u;function p(e,n,a,i){const r=s?-1:1;if(e!==n){for(e+=l;t[e%l].skip;)e-=r;for(;t[n%l].skip;)n+=r;e%l!=n%l&&(d.push({start:e%l,end:n%l,loop:a,style:i}),c=i,u=n%l)}}for(const e of n){u=s?u:e.start;let n,r=t[u%l];for(h=u+1;h<=e.end;h++){const s=t[h%l];n=At(a.setContext(Mn(i,{type:"segment",p0:r,p1:s,p0DataIndex:(h-1)%l,p1DataIndex:h%l,datasetIndex:o}))),Rt(n,c)&&p(u,h-1,e.loop,c),r=s,c=n}u<h-1&&p(u,h-1,e.loop,c)}return d}(e,n,t,a):n}function At(e){return{backgroundColor:e.backgroundColor,borderCapStyle:e.borderCapStyle,borderDash:e.borderDash,borderDashOffset:e.borderDashOffset,borderJoinStyle:e.borderJoinStyle,borderWidth:e.borderWidth,borderColor:e.borderColor}}function Rt(e,n){return n&&JSON.stringify(e)!==JSON.stringify(n)}},function(e,n,t){"use strict"; /*! * Vue.js v2.6.14 * (c) 2014-2021 Evan You * Released under the MIT License. */var a=Object.freeze({});function i(e){return null==e}function r(e){return null!=e}function o(e){return!0===e}function s(e){return"string"==typeof e||"number"==typeof e||"symbol"==typeof e||"boolean"==typeof e}function l(e){return null!==e&&"object"==typeof e}var d=Object.prototype.toString;function c(e){return"[object Object]"===d.call(e)}function u(e){return"[object RegExp]"===d.call(e)}function h(e){var n=parseFloat(String(e));return n>=0&&Math.floor(n)===n&&isFinite(e)}function p(e){return r(e)&&"function"==typeof e.then&&"function"==typeof e.catch}function f(e){return null==e?"":Array.isArray(e)||c(e)&&e.toString===d?JSON.stringify(e,null,2):String(e)}function m(e){var n=parseFloat(e);return isNaN(n)?e:n}function g(e,n){for(var t=Object.create(null),a=e.split(","),i=0;i<a.length;i++)t[a[i]]=!0;return n?function(e){return t[e.toLowerCase()]}:function(e){return t[e]}}g("slot,component",!0);var b=g("key,ref,slot,slot-scope,is");function v(e,n){if(e.length){var t=e.indexOf(n);if(t>-1)return e.splice(t,1)}}var y=Object.prototype.hasOwnProperty;function x(e,n){return y.call(e,n)}function C(e){var n=Object.create(null);return function(t){return n[t]||(n[t]=e(t))}}var T=/-(\w)/g,D=C((function(e){return e.replace(T,(function(e,n){return n?n.toUpperCase():""}))})),w=C((function(e){return e.charAt(0).toUpperCase()+e.slice(1)})),O=/\B([A-Z])/g,k=C((function(e){return e.replace(O,"-$1").toLowerCase()}));var S=Function.prototype.bind?function(e,n){return e.bind(n)}:function(e,n){function t(t){var a=arguments.length;return a?a>1?e.apply(n,arguments):e.call(n,t):e.call(n)}return t._length=e.length,t};function P(e,n){n=n||0;for(var t=e.length-n,a=new Array(t);t--;)a[t]=e[t+n];return a}function A(e,n){for(var t in n)e[t]=n[t];return e}function R(e){for(var n={},t=0;t<e.length;t++)e[t]&&A(n,e[t]);return n}function I(e,n,t){}var _=function(e,n,t){return!1},L=function(e){return e};function E(e,n){if(e===n)return!0;var t=l(e),a=l(n);if(!t||!a)return!t&&!a&&String(e)===String(n);try{var i=Array.isArray(e),r=Array.isArray(n);if(i&&r)return e.length===n.length&&e.every((function(e,t){return E(e,n[t])}));if(e instanceof Date&&n instanceof Date)return e.getTime()===n.getTime();if(i||r)return!1;var o=Object.keys(e),s=Object.keys(n);return o.length===s.length&&o.every((function(t){return E(e[t],n[t])}))}catch(e){return!1}}function M(e,n){for(var t=0;t<e.length;t++)if(E(e[t],n))return t;return-1}function j(e){var n=!1;return function(){n||(n=!0,e.apply(this,arguments))}}var U=["component","directive","filter"],N=["beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeDestroy","destroyed","activated","deactivated","errorCaptured","serverPrefetch"],B={optionMergeStrategies:Object.create(null),silent:!1,productionTip:!1,devtools:!1,performance:!1,errorHandler:null,warnHandler:null,ignoredElements:[],keyCodes:Object.create(null),isReservedTag:_,isReservedAttr:_,isUnknownElement:_,getTagNamespace:I,parsePlatformTagName:L,mustUseProp:_,async:!0,_lifecycleHooks:N},F=/a-zA-Z\u00B7\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u037D\u037F-\u1FFF\u200C-\u200D\u203F-\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD/;function z(e,n,t,a){Object.defineProperty(e,n,{value:t,enumerable:!!a,writable:!0,configurable:!0})}var H=new RegExp("[^"+F.source+".$_\\d]");var V,W="__proto__"in{},Y="undefined"!=typeof window,$="undefined"!=typeof WXEnvironment&&!!WXEnvironment.platform,G=$&&WXEnvironment.platform.toLowerCase(),q=Y&&window.navigator.userAgent.toLowerCase(),X=q&&/msie|trident/.test(q),J=q&&q.indexOf("msie 9.0")>0,Z=q&&q.indexOf("edge/")>0,K=(q&&q.indexOf("android"),q&&/iphone|ipad|ipod|ios/.test(q)||"ios"===G),Q=(q&&/chrome\/\d+/.test(q),q&&/phantomjs/.test(q),q&&q.match(/firefox\/(\d+)/)),ee={}.watch,ne=!1;if(Y)try{var te={};Object.defineProperty(te,"passive",{get:function(){ne=!0}}),window.addEventListener("test-passive",null,te)}catch(e){}var ae=function(){return void 0===V&&(V=!Y&&!$&&"undefined"!=typeof global&&(global.process&&"server"===global.process.env.VUE_ENV)),V},ie=Y&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function re(e){return"function"==typeof e&&/native code/.test(e.toString())}var oe,se="undefined"!=typeof Symbol&&re(Symbol)&&"undefined"!=typeof Reflect&&re(Reflect.ownKeys);oe="undefined"!=typeof Set&&re(Set)?Set:function(){function e(){this.set=Object.create(null)}return e.prototype.has=function(e){return!0===this.set[e]},e.prototype.add=function(e){this.set[e]=!0},e.prototype.clear=function(){this.set=Object.create(null)},e}();var le=I,de=0,ce=function(){this.id=de++,this.subs=[]};ce.prototype.addSub=function(e){this.subs.push(e)},ce.prototype.removeSub=function(e){v(this.subs,e)},ce.prototype.depend=function(){ce.target&&ce.target.addDep(this)},ce.prototype.notify=function(){var e=this.subs.slice();for(var n=0,t=e.length;n<t;n++)e[n].update()},ce.target=null;var ue=[];function he(e){ue.push(e),ce.target=e}function pe(){ue.pop(),ce.target=ue[ue.length-1]}var fe=function(e,n,t,a,i,r,o,s){this.tag=e,this.data=n,this.children=t,this.text=a,this.elm=i,this.ns=void 0,this.context=r,this.fnContext=void 0,this.fnOptions=void 0,this.fnScopeId=void 0,this.key=n&&n.ke