FitTrackee/fittrackee/dist/static/js/chunk-vendors.77cd7298.js
2023-02-16 10:22:46 +01:00

67 lines
522 KiB
JavaScript
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

(self["webpackChunkfittrackee_client"]=self["webpackChunkfittrackee_client"]||[]).push([[998],{2262:function(t,e,n){"use strict";n.d(e,{B:function(){return s},BK:function(){return Zt},Bj:function(){return o},Fl:function(){return Jt},IU:function(){return Dt},Jd:function(){return E},PG:function(){return Tt},SU:function(){return Bt},Um:function(){return Et},WL:function(){return $t},X$:function(){return C},X3:function(){return At},XI:function(){return zt},Xl:function(){return Lt},dq:function(){return Rt},iH:function(){return Wt},j:function(){return O},lk:function(){return S},nZ:function(){return l},qj:function(){return Mt},qq:function(){return x},yT:function(){return Pt}});var r=n(3577);let i;class o{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=i,!t&&i&&(this.index=(i.scopes||(i.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const e=i;try{return i=this,t()}finally{i=e}}else 0}on(){i=this}off(){i=this.parent}stop(t){if(this._active){let e,n;for(e=0,n=this.effects.length;e<n;e++)this.effects[e].stop();for(e=0,n=this.cleanups.length;e<n;e++)this.cleanups[e]();if(this.scopes)for(e=0,n=this.scopes.length;e<n;e++)this.scopes[e].stop(!0);if(!this.detached&&this.parent&&!t){const t=this.parent.scopes.pop();t&&t!==this&&(this.parent.scopes[this.index]=t,t.index=this.index)}this.parent=void 0,this._active=!1}}}function s(t){return new o(t)}function a(t,e=i){e&&e.active&&e.effects.push(t)}function l(){return i}const c=t=>{const e=new Set(t);return e.w=0,e.n=0,e},u=t=>(t.w&m)>0,h=t=>(t.n&m)>0,d=({deps:t})=>{if(t.length)for(let e=0;e<t.length;e++)t[e].w|=m},f=t=>{const{deps:e}=t;if(e.length){let n=0;for(let r=0;r<e.length;r++){const i=e[r];u(i)&&!h(i)?i.delete(t):e[n++]=i,i.w&=~m,i.n&=~m}e.length=n}},p=new WeakMap;let g=0,m=1;const b=30;let v;const y=Symbol(""),_=Symbol("");class x{constructor(t,e=null,n){this.fn=t,this.scheduler=e,this.active=!0,this.deps=[],this.parent=void 0,a(this,n)}run(){if(!this.active)return this.fn();let t=v,e=k;while(t){if(t===this)return;t=t.parent}try{return this.parent=v,v=this,k=!0,m=1<<++g,g<=b?d(this):w(this),this.fn()}finally{g<=b&&f(this),m=1<<--g,v=this.parent,k=e,this.parent=void 0,this.deferStop&&this.stop()}}stop(){v===this?this.deferStop=!0:this.active&&(w(this),this.onStop&&this.onStop(),this.active=!1)}}function w(t){const{deps:e}=t;if(e.length){for(let n=0;n<e.length;n++)e[n].delete(t);e.length=0}}let k=!0;const M=[];function E(){M.push(k),k=!1}function S(){const t=M.pop();k=void 0===t||t}function O(t,e,n){if(k&&v){let e=p.get(t);e||p.set(t,e=new Map);let r=e.get(n);r||e.set(n,r=c());const i=void 0;T(r,i)}}function T(t,e){let n=!1;g<=b?h(t)||(t.n|=m,n=!u(t)):n=!t.has(v),n&&(t.add(v),v.deps.push(t))}function C(t,e,n,i,o,s){const a=p.get(t);if(!a)return;let l=[];if("clear"===e)l=[...a.values()];else if("length"===n&&(0,r.kJ)(t)){const t=Number(i);a.forEach(((e,n)=>{("length"===n||n>=t)&&l.push(e)}))}else switch(void 0!==n&&l.push(a.get(n)),e){case"add":(0,r.kJ)(t)?(0,r.S0)(n)&&l.push(a.get("length")):(l.push(a.get(y)),(0,r._N)(t)&&l.push(a.get(_)));break;case"delete":(0,r.kJ)(t)||(l.push(a.get(y)),(0,r._N)(t)&&l.push(a.get(_)));break;case"set":(0,r._N)(t)&&l.push(a.get(y));break}if(1===l.length)l[0]&&P(l[0]);else{const t=[];for(const e of l)e&&t.push(...e);P(c(t))}}function P(t,e){const n=(0,r.kJ)(t)?t:[...t];for(const r of n)r.computed&&A(r,e);for(const r of n)r.computed||A(r,e)}function A(t,e){(t!==v||t.allowRecurse)&&(t.scheduler?t.scheduler():t.run())}function D(t,e){var n;return null===(n=p.get(t))||void 0===n?void 0:n.get(e)}const L=(0,r.fY)("__proto__,__v_isRef,__isVue"),I=new Set(Object.getOwnPropertyNames(Symbol).filter((t=>"arguments"!==t&&"caller"!==t)).map((t=>Symbol[t])).filter(r.yk)),N=U(),j=U(!1,!0),F=U(!0),R=W();function W(){const t={};return["includes","indexOf","lastIndexOf"].forEach((e=>{t[e]=function(...t){const n=Dt(this);for(let e=0,i=this.length;e<i;e++)O(n,"get",e+"");const r=n[e](...t);return-1===r||!1===r?n[e](...t.map(Dt)):r}})),["push","pop","shift","unshift","splice"].forEach((e=>{t[e]=function(...t){E();const n=Dt(this)[e].apply(this,t);return S(),n}})),t}function z(t){const e=Dt(this);return O(e,"has",t),e.hasOwnProperty(t)}function U(t=!1,e=!1){return function(n,i,o){if("__v_isReactive"===i)return!t;if("__v_isReadonly"===i)return t;if("__v_isShallow"===i)return e;if("__v_raw"===i&&o===(t?e?xt:_t:e?yt:vt).get(n))return n;const s=(0,r.kJ)(n);if(!t){if(s&&(0,r.RI)(R,i))return Reflect.get(R,i,o);if("hasOwnProperty"===i)return z}const a=Reflect.get(n,i,o);return((0,r.yk)(i)?I.has(i):L(i))?a:(t||O(n,"get",i),e?a:Rt(a)?s&&(0,r.S0)(i)?a:a.value:(0,r.Kn)(a)?t?St(a):Mt(a):a)}}const H=V(),B=V(!0);function V(t=!1){return function(e,n,i,o){let s=e[n];if(Ct(s)&&Rt(s)&&!Rt(i))return!1;if(!t&&(Pt(i)||Ct(i)||(s=Dt(s),i=Dt(i)),!(0,r.kJ)(e)&&Rt(s)&&!Rt(i)))return s.value=i,!0;const a=(0,r.kJ)(e)&&(0,r.S0)(n)?Number(n)<e.length:(0,r.RI)(e,n),l=Reflect.set(e,n,i,o);return e===Dt(o)&&(a?(0,r.aU)(i,s)&&C(e,"set",n,i,s):C(e,"add",n,i)),l}}function $(t,e){const n=(0,r.RI)(t,e),i=t[e],o=Reflect.deleteProperty(t,e);return o&&n&&C(t,"delete",e,void 0,i),o}function Z(t,e){const n=Reflect.has(t,e);return(0,r.yk)(e)&&I.has(e)||O(t,"has",e),n}function Y(t){return O(t,"iterate",(0,r.kJ)(t)?"length":y),Reflect.ownKeys(t)}const q={get:N,set:H,deleteProperty:$,has:Z,ownKeys:Y},X={get:F,set(t,e){return!0},deleteProperty(t,e){return!0}},G=(0,r.l7)({},q,{get:j,set:B}),J=t=>t,K=t=>Reflect.getPrototypeOf(t);function Q(t,e,n=!1,r=!1){t=t["__v_raw"];const i=Dt(t),o=Dt(e);n||(e!==o&&O(i,"get",e),O(i,"get",o));const{has:s}=K(i),a=r?J:n?Nt:It;return s.call(i,e)?a(t.get(e)):s.call(i,o)?a(t.get(o)):void(t!==i&&t.get(e))}function tt(t,e=!1){const n=this["__v_raw"],r=Dt(n),i=Dt(t);return e||(t!==i&&O(r,"has",t),O(r,"has",i)),t===i?n.has(t):n.has(t)||n.has(i)}function et(t,e=!1){return t=t["__v_raw"],!e&&O(Dt(t),"iterate",y),Reflect.get(t,"size",t)}function nt(t){t=Dt(t);const e=Dt(this),n=K(e),r=n.has.call(e,t);return r||(e.add(t),C(e,"add",t,t)),this}function rt(t,e){e=Dt(e);const n=Dt(this),{has:i,get:o}=K(n);let s=i.call(n,t);s||(t=Dt(t),s=i.call(n,t));const a=o.call(n,t);return n.set(t,e),s?(0,r.aU)(e,a)&&C(n,"set",t,e,a):C(n,"add",t,e),this}function it(t){const e=Dt(this),{has:n,get:r}=K(e);let i=n.call(e,t);i||(t=Dt(t),i=n.call(e,t));const o=r?r.call(e,t):void 0,s=e.delete(t);return i&&C(e,"delete",t,void 0,o),s}function ot(){const t=Dt(this),e=0!==t.size,n=void 0,r=t.clear();return e&&C(t,"clear",void 0,void 0,n),r}function st(t,e){return function(n,r){const i=this,o=i["__v_raw"],s=Dt(o),a=e?J:t?Nt:It;return!t&&O(s,"iterate",y),o.forEach(((t,e)=>n.call(r,a(t),a(e),i)))}}function at(t,e,n){return function(...i){const o=this["__v_raw"],s=Dt(o),a=(0,r._N)(s),l="entries"===t||t===Symbol.iterator&&a,c="keys"===t&&a,u=o[t](...i),h=n?J:e?Nt:It;return!e&&O(s,"iterate",c?_:y),{next(){const{value:t,done:e}=u.next();return e?{value:t,done:e}:{value:l?[h(t[0]),h(t[1])]:h(t),done:e}},[Symbol.iterator](){return this}}}}function lt(t){return function(...e){return"delete"!==t&&this}}function ct(){const t={get(t){return Q(this,t)},get size(){return et(this)},has:tt,add:nt,set:rt,delete:it,clear:ot,forEach:st(!1,!1)},e={get(t){return Q(this,t,!1,!0)},get size(){return et(this)},has:tt,add:nt,set:rt,delete:it,clear:ot,forEach:st(!1,!0)},n={get(t){return Q(this,t,!0)},get size(){return et(this,!0)},has(t){return tt.call(this,t,!0)},add:lt("add"),set:lt("set"),delete:lt("delete"),clear:lt("clear"),forEach:st(!0,!1)},r={get(t){return Q(this,t,!0,!0)},get size(){return et(this,!0)},has(t){return tt.call(this,t,!0)},add:lt("add"),set:lt("set"),delete:lt("delete"),clear:lt("clear"),forEach:st(!0,!0)},i=["keys","values","entries",Symbol.iterator];return i.forEach((i=>{t[i]=at(i,!1,!1),n[i]=at(i,!0,!1),e[i]=at(i,!1,!0),r[i]=at(i,!0,!0)})),[t,n,e,r]}const[ut,ht,dt,ft]=ct();function pt(t,e){const n=e?t?ft:dt:t?ht:ut;return(e,i,o)=>"__v_isReactive"===i?!t:"__v_isReadonly"===i?t:"__v_raw"===i?e:Reflect.get((0,r.RI)(n,i)&&i in e?n:e,i,o)}const gt={get:pt(!1,!1)},mt={get:pt(!1,!0)},bt={get:pt(!0,!1)};const vt=new WeakMap,yt=new WeakMap,_t=new WeakMap,xt=new WeakMap;function wt(t){switch(t){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function kt(t){return t["__v_skip"]||!Object.isExtensible(t)?0:wt((0,r.W7)(t))}function Mt(t){return Ct(t)?t:Ot(t,!1,q,gt,vt)}function Et(t){return Ot(t,!1,G,mt,yt)}function St(t){return Ot(t,!0,X,bt,_t)}function Ot(t,e,n,i,o){if(!(0,r.Kn)(t))return t;if(t["__v_raw"]&&(!e||!t["__v_isReactive"]))return t;const s=o.get(t);if(s)return s;const a=kt(t);if(0===a)return t;const l=new Proxy(t,2===a?i:n);return o.set(t,l),l}function Tt(t){return Ct(t)?Tt(t["__v_raw"]):!(!t||!t["__v_isReactive"])}function Ct(t){return!(!t||!t["__v_isReadonly"])}function Pt(t){return!(!t||!t["__v_isShallow"])}function At(t){return Tt(t)||Ct(t)}function Dt(t){const e=t&&t["__v_raw"];return e?Dt(e):t}function Lt(t){return(0,r.Nj)(t,"__v_skip",!0),t}const It=t=>(0,r.Kn)(t)?Mt(t):t,Nt=t=>(0,r.Kn)(t)?St(t):t;function jt(t){k&&v&&(t=Dt(t),T(t.dep||(t.dep=c())))}function Ft(t,e){t=Dt(t);const n=t.dep;n&&P(n)}function Rt(t){return!(!t||!0!==t.__v_isRef)}function Wt(t){return Ut(t,!1)}function zt(t){return Ut(t,!0)}function Ut(t,e){return Rt(t)?t:new Ht(t,e)}class Ht{constructor(t,e){this.__v_isShallow=e,this.dep=void 0,this.__v_isRef=!0,this._rawValue=e?t:Dt(t),this._value=e?t:It(t)}get value(){return jt(this),this._value}set value(t){const e=this.__v_isShallow||Pt(t)||Ct(t);t=e?t:Dt(t),(0,r.aU)(t,this._rawValue)&&(this._rawValue=t,this._value=e?t:It(t),Ft(this,t))}}function Bt(t){return Rt(t)?t.value:t}const Vt={get:(t,e,n)=>Bt(Reflect.get(t,e,n)),set:(t,e,n,r)=>{const i=t[e];return Rt(i)&&!Rt(n)?(i.value=n,!0):Reflect.set(t,e,n,r)}};function $t(t){return Tt(t)?t:new Proxy(t,Vt)}function Zt(t){const e=(0,r.kJ)(t)?new Array(t.length):{};for(const n in t)e[n]=qt(t,n);return e}class Yt{constructor(t,e,n){this._object=t,this._key=e,this._defaultValue=n,this.__v_isRef=!0}get value(){const t=this._object[this._key];return void 0===t?this._defaultValue:t}set value(t){this._object[this._key]=t}get dep(){return D(Dt(this._object),this._key)}}function qt(t,e,n){const r=t[e];return Rt(r)?r:new Yt(t,e,n)}var Xt;class Gt{constructor(t,e,n,r){this._setter=e,this.dep=void 0,this.__v_isRef=!0,this[Xt]=!1,this._dirty=!0,this.effect=new x(t,(()=>{this._dirty||(this._dirty=!0,Ft(this))})),this.effect.computed=this,this.effect.active=this._cacheable=!r,this["__v_isReadonly"]=n}get value(){const t=Dt(this);return jt(t),!t._dirty&&t._cacheable||(t._dirty=!1,t._value=t.effect.run()),t._value}set value(t){this._setter(t)}}function Jt(t,e,n=!1){let i,o;const s=(0,r.mf)(t);s?(i=t,o=r.dG):(i=t.get,o=t.set);const a=new Gt(i,o,s||!o,n);return a}Xt="__v_isReadonly"},6252:function(t,e,n){"use strict";n.d(e,{$d:function(){return s},Ah:function(){return Ot},Cn:function(){return j},FN:function(){return Sn},Fl:function(){return Hn},HY:function(){return Ve},JJ:function(){return Z},Jd:function(){return St},Ko:function(){return Ut},P$:function(){return rt},Q2:function(){return Rt},Q6:function(){return ct},U2:function(){return ot},Uk:function(){return pn},Us:function(){return Pe},WI:function(){return Ht},Wm:function(){return un},Y3:function(){return v},Y8:function(){return tt},YP:function(){return X},_:function(){return cn},aZ:function(){return ut},bv:function(){return kt},dD:function(){return N},dG:function(){return _n},f3:function(){return Y},h:function(){return Bn},iD:function(){return en},ic:function(){return Et},j4:function(){return nn},kq:function(){return mn},lR:function(){return He},nK:function(){return lt},uE:function(){return gn},up:function(){return jt},w5:function(){return F},wF:function(){return wt},wg:function(){return Ge},wy:function(){return Dt},xv:function(){return $e}});var r=n(2262),i=n(3577);function o(t,e,n,r){let i;try{i=r?t(...r):t()}catch(o){a(o,e,n)}return i}function s(t,e,n,r){if((0,i.mf)(t)){const s=o(t,e,n,r);return s&&(0,i.tI)(s)&&s.catch((t=>{a(t,e,n)})),s}const l=[];for(let i=0;i<t.length;i++)l.push(s(t[i],e,n,r));return l}function a(t,e,n,r=!0){const i=e?e.vnode:null;if(e){let r=e.parent;const i=e.proxy,s=n;while(r){const e=r.ec;if(e)for(let n=0;n<e.length;n++)if(!1===e[n](t,i,s))return;r=r.parent}const a=e.appContext.config.errorHandler;if(a)return void o(a,null,10,[t,i,s])}l(t,n,i,r)}function l(t,e,n,r=!0){console.error(t)}let c=!1,u=!1;const h=[];let d=0;const f=[];let p=null,g=0;const m=Promise.resolve();let b=null;function v(t){const e=b||m;return t?e.then(this?t.bind(this):t):e}function y(t){let e=d+1,n=h.length;while(e<n){const r=e+n>>>1,i=S(h[r]);i<t?e=r+1:n=r}return e}function _(t){h.length&&h.includes(t,c&&t.allowRecurse?d+1:d)||(null==t.id?h.push(t):h.splice(y(t.id),0,t),x())}function x(){c||u||(u=!0,b=m.then(T))}function w(t){const e=h.indexOf(t);e>d&&h.splice(e,1)}function k(t){(0,i.kJ)(t)?f.push(...t):p&&p.includes(t,t.allowRecurse?g+1:g)||f.push(t),x()}function M(t,e=(c?d+1:0)){for(0;e<h.length;e++){const t=h[e];t&&t.pre&&(h.splice(e,1),e--,t())}}function E(t){if(f.length){const t=[...new Set(f)];if(f.length=0,p)return void p.push(...t);for(p=t,p.sort(((t,e)=>S(t)-S(e))),g=0;g<p.length;g++)p[g]();p=null,g=0}}const S=t=>null==t.id?1/0:t.id,O=(t,e)=>{const n=S(t)-S(e);if(0===n){if(t.pre&&!e.pre)return-1;if(e.pre&&!t.pre)return 1}return n};function T(t){u=!1,c=!0,h.sort(O);i.dG;try{for(d=0;d<h.length;d++){const t=h[d];t&&!1!==t.active&&o(t,null,14)}}finally{d=0,h.length=0,E(t),c=!1,b=null,(h.length||f.length)&&T(t)}}new Set;new Map;function C(t,e,...n){if(t.isUnmounted)return;const r=t.vnode.props||i.kT;let o=n;const a=e.startsWith("update:"),l=a&&e.slice(7);if(l&&l in r){const t=`${"modelValue"===l?"model":l}Modifiers`,{number:e,trim:s}=r[t]||i.kT;s&&(o=n.map((t=>(0,i.HD)(t)?t.trim():t))),e&&(o=n.map(i.h5))}let c;let u=r[c=(0,i.hR)(e)]||r[c=(0,i.hR)((0,i._A)(e))];!u&&a&&(u=r[c=(0,i.hR)((0,i.rs)(e))]),u&&s(u,t,6,o);const h=r[c+"Once"];if(h){if(t.emitted){if(t.emitted[c])return}else t.emitted={};t.emitted[c]=!0,s(h,t,6,o)}}function P(t,e,n=!1){const r=e.emitsCache,o=r.get(t);if(void 0!==o)return o;const s=t.emits;let a={},l=!1;if(!(0,i.mf)(t)){const r=t=>{const n=P(t,e,!0);n&&(l=!0,(0,i.l7)(a,n))};!n&&e.mixins.length&&e.mixins.forEach(r),t.extends&&r(t.extends),t.mixins&&t.mixins.forEach(r)}return s||l?((0,i.kJ)(s)?s.forEach((t=>a[t]=null)):(0,i.l7)(a,s),(0,i.Kn)(t)&&r.set(t,a),a):((0,i.Kn)(t)&&r.set(t,null),null)}function A(t,e){return!(!t||!(0,i.F7)(e))&&(e=e.slice(2).replace(/Once$/,""),(0,i.RI)(t,e[0].toLowerCase()+e.slice(1))||(0,i.RI)(t,(0,i.rs)(e))||(0,i.RI)(t,e))}let D=null,L=null;function I(t){const e=D;return D=t,L=t&&t.type.__scopeId||null,e}function N(t){L=t}function j(){L=null}function F(t,e=D,n){if(!e)return t;if(t._n)return t;const r=(...n)=>{r._d&&Qe(-1);const i=I(e);let o;try{o=t(...n)}finally{I(i),r._d&&Qe(1)}return o};return r._n=!0,r._c=!0,r._d=!0,r}function R(t){const{type:e,vnode:n,proxy:r,withProxy:o,props:s,propsOptions:[l],slots:c,attrs:u,emit:h,render:d,renderCache:f,data:p,setupState:g,ctx:m,inheritAttrs:b}=t;let v,y;const _=I(t);try{if(4&n.shapeFlag){const t=o||r;v=bn(d.call(t,t,f,s,g,p,m)),y=u}else{const t=e;0,v=bn(t.length>1?t(s,{attrs:u,slots:c,emit:h}):t(s,null)),y=e.props?u:W(u)}}catch(w){qe.length=0,a(w,t,1),v=un(Ze)}let x=v;if(y&&!1!==b){const t=Object.keys(y),{shapeFlag:e}=x;t.length&&7&e&&(l&&t.some(i.tR)&&(y=z(y,l)),x=fn(x,y))}return n.dirs&&(x=fn(x),x.dirs=x.dirs?x.dirs.concat(n.dirs):n.dirs),n.transition&&(x.transition=n.transition),v=x,I(_),v}const W=t=>{let e;for(const n in t)("class"===n||"style"===n||(0,i.F7)(n))&&((e||(e={}))[n]=t[n]);return e},z=(t,e)=>{const n={};for(const r in t)(0,i.tR)(r)&&r.slice(9)in e||(n[r]=t[r]);return n};function U(t,e,n){const{props:r,children:i,component:o}=t,{props:s,children:a,patchFlag:l}=e,c=o.emitsOptions;if(e.dirs||e.transition)return!0;if(!(n&&l>=0))return!(!i&&!a||a&&a.$stable)||r!==s&&(r?!s||H(r,s,c):!!s);if(1024&l)return!0;if(16&l)return r?H(r,s,c):!!s;if(8&l){const t=e.dynamicProps;for(let e=0;e<t.length;e++){const n=t[e];if(s[n]!==r[n]&&!A(c,n))return!0}}return!1}function H(t,e,n){const r=Object.keys(e);if(r.length!==Object.keys(t).length)return!0;for(let i=0;i<r.length;i++){const o=r[i];if(e[o]!==t[o]&&!A(n,o))return!0}return!1}function B({vnode:t,parent:e},n){while(e&&e.subTree===t)(t=e.vnode).el=n,e=e.parent}const V=t=>t.__isSuspense;function $(t,e){e&&e.pendingBranch?(0,i.kJ)(t)?e.effects.push(...t):e.effects.push(t):k(t)}function Z(t,e){if(En){let n=En.provides;const r=En.parent&&En.parent.provides;r===n&&(n=En.provides=Object.create(r)),n[t]=e}else 0}function Y(t,e,n=!1){const r=En||D;if(r){const o=null==r.parent?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides;if(o&&t in o)return o[t];if(arguments.length>1)return n&&(0,i.mf)(e)?e.call(r.proxy):e}else 0}const q={};function X(t,e,n){return G(t,e,n)}function G(t,e,{immediate:n,deep:a,flush:l,onTrack:c,onTrigger:u}=i.kT){const h=(0,r.nZ)()===(null===En||void 0===En?void 0:En.scope)?En:null;let d,f,p=!1,g=!1;if((0,r.dq)(t)?(d=()=>t.value,p=(0,r.yT)(t)):(0,r.PG)(t)?(d=()=>t,a=!0):(0,i.kJ)(t)?(g=!0,p=t.some((t=>(0,r.PG)(t)||(0,r.yT)(t))),d=()=>t.map((t=>(0,r.dq)(t)?t.value:(0,r.PG)(t)?Q(t):(0,i.mf)(t)?o(t,h,2):void 0))):d=(0,i.mf)(t)?e?()=>o(t,h,2):()=>{if(!h||!h.isUnmounted)return f&&f(),s(t,h,3,[b])}:i.dG,e&&a){const t=d;d=()=>Q(t())}let m,b=t=>{f=w.onStop=()=>{o(t,h,4)}};if(Dn){if(b=i.dG,e?n&&s(e,h,3,[d(),g?[]:void 0,b]):d(),"sync"!==l)return i.dG;{const t=$n();m=t.__watcherHandles||(t.__watcherHandles=[])}}let v=g?new Array(t.length).fill(q):q;const y=()=>{if(w.active)if(e){const t=w.run();(a||p||(g?t.some(((t,e)=>(0,i.aU)(t,v[e]))):(0,i.aU)(t,v)))&&(f&&f(),s(e,h,3,[t,v===q?void 0:g&&v[0]===q?[]:v,b]),v=t)}else w.run()};let x;y.allowRecurse=!!e,"sync"===l?x=y:"post"===l?x=()=>Ce(y,h&&h.suspense):(y.pre=!0,h&&(y.id=h.uid),x=()=>_(y));const w=new r.qq(d,x);e?n?y():v=w.run():"post"===l?Ce(w.run.bind(w),h&&h.suspense):w.run();const k=()=>{w.stop(),h&&h.scope&&(0,i.Od)(h.scope.effects,w)};return m&&m.push(k),k}function J(t,e,n){const r=this.proxy,o=(0,i.HD)(t)?t.includes(".")?K(r,t):()=>r[t]:t.bind(r,r);let s;(0,i.mf)(e)?s=e:(s=e.handler,n=e);const a=En;On(this);const l=G(o,s.bind(r),n);return a?On(a):Tn(),l}function K(t,e){const n=e.split(".");return()=>{let e=t;for(let t=0;t<n.length&&e;t++)e=e[n[t]];return e}}function Q(t,e){if(!(0,i.Kn)(t)||t["__v_skip"])return t;if(e=e||new Set,e.has(t))return t;if(e.add(t),(0,r.dq)(t))Q(t.value,e);else if((0,i.kJ)(t))for(let n=0;n<t.length;n++)Q(t[n],e);else if((0,i.DM)(t)||(0,i._N)(t))t.forEach((t=>{Q(t,e)}));else if((0,i.PO)(t))for(const n in t)Q(t[n],e);return t}function tt(){const t={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return kt((()=>{t.isMounted=!0})),St((()=>{t.isUnmounting=!0})),t}const et=[Function,Array],nt={name:"BaseTransition",props:{mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:et,onEnter:et,onAfterEnter:et,onEnterCancelled:et,onBeforeLeave:et,onLeave:et,onAfterLeave:et,onLeaveCancelled:et,onBeforeAppear:et,onAppear:et,onAfterAppear:et,onAppearCancelled:et},setup(t,{slots:e}){const n=Sn(),i=tt();let o;return()=>{const s=e.default&&ct(e.default(),!0);if(!s||!s.length)return;let a=s[0];if(s.length>1){let t=!1;for(const e of s)if(e.type!==Ze){0,a=e,t=!0;break}}const l=(0,r.IU)(t),{mode:c}=l;if(i.isLeaving)return st(a);const u=at(a);if(!u)return st(a);const h=ot(u,l,i,n);lt(u,h);const d=n.subTree,f=d&&at(d);let p=!1;const{getTransitionKey:g}=u.type;if(g){const t=g();void 0===o?o=t:t!==o&&(o=t,p=!0)}if(f&&f.type!==Ze&&(!on(u,f)||p)){const t=ot(f,l,i,n);if(lt(f,t),"out-in"===c)return i.isLeaving=!0,t.afterLeave=()=>{i.isLeaving=!1,!1!==n.update.active&&n.update()},st(a);"in-out"===c&&u.type!==Ze&&(t.delayLeave=(t,e,n)=>{const r=it(i,f);r[String(f.key)]=f,t._leaveCb=()=>{e(),t._leaveCb=void 0,delete h.delayedLeave},h.delayedLeave=n})}return a}}},rt=nt;function it(t,e){const{leavingVNodes:n}=t;let r=n.get(e.type);return r||(r=Object.create(null),n.set(e.type,r)),r}function ot(t,e,n,r){const{appear:o,mode:a,persisted:l=!1,onBeforeEnter:c,onEnter:u,onAfterEnter:h,onEnterCancelled:d,onBeforeLeave:f,onLeave:p,onAfterLeave:g,onLeaveCancelled:m,onBeforeAppear:b,onAppear:v,onAfterAppear:y,onAppearCancelled:_}=e,x=String(t.key),w=it(n,t),k=(t,e)=>{t&&s(t,r,9,e)},M=(t,e)=>{const n=e[1];k(t,e),(0,i.kJ)(t)?t.every((t=>t.length<=1))&&n():t.length<=1&&n()},E={mode:a,persisted:l,beforeEnter(e){let r=c;if(!n.isMounted){if(!o)return;r=b||c}e._leaveCb&&e._leaveCb(!0);const i=w[x];i&&on(t,i)&&i.el._leaveCb&&i.el._leaveCb(),k(r,[e])},enter(t){let e=u,r=h,i=d;if(!n.isMounted){if(!o)return;e=v||u,r=y||h,i=_||d}let s=!1;const a=t._enterCb=e=>{s||(s=!0,k(e?i:r,[t]),E.delayedLeave&&E.delayedLeave(),t._enterCb=void 0)};e?M(e,[t,a]):a()},leave(e,r){const i=String(t.key);if(e._enterCb&&e._enterCb(!0),n.isUnmounting)return r();k(f,[e]);let o=!1;const s=e._leaveCb=n=>{o||(o=!0,r(),k(n?m:g,[e]),e._leaveCb=void 0,w[i]===t&&delete w[i])};w[i]=t,p?M(p,[e,s]):s()},clone(t){return ot(t,e,n,r)}};return E}function st(t){if(dt(t))return t=fn(t),t.children=null,t}function at(t){return dt(t)?t.children?t.children[0]:void 0:t}function lt(t,e){6&t.shapeFlag&&t.component?lt(t.component.subTree,e):128&t.shapeFlag?(t.ssContent.transition=e.clone(t.ssContent),t.ssFallback.transition=e.clone(t.ssFallback)):t.transition=e}function ct(t,e=!1,n){let r=[],i=0;for(let o=0;o<t.length;o++){let s=t[o];const a=null==n?s.key:String(n)+String(null!=s.key?s.key:o);s.type===Ve?(128&s.patchFlag&&i++,r=r.concat(ct(s.children,e,a))):(e||s.type!==Ze)&&r.push(null!=a?fn(s,{key:a}):s)}if(i>1)for(let o=0;o<r.length;o++)r[o].patchFlag=-2;return r}function ut(t){return(0,i.mf)(t)?{setup:t,name:t.name}:t}const ht=t=>!!t.type.__asyncLoader;const dt=t=>t.type.__isKeepAlive;RegExp,RegExp;function ft(t,e){return(0,i.kJ)(t)?t.some((t=>ft(t,e))):(0,i.HD)(t)?t.split(",").includes(e):!!(0,i.Kj)(t)&&t.test(e)}function pt(t,e){mt(t,"a",e)}function gt(t,e){mt(t,"da",e)}function mt(t,e,n=En){const r=t.__wdc||(t.__wdc=()=>{let e=n;while(e){if(e.isDeactivated)return;e=e.parent}return t()});if(_t(e,r,n),n){let t=n.parent;while(t&&t.parent)dt(t.parent.vnode)&&bt(r,e,n,t),t=t.parent}}function bt(t,e,n,r){const o=_t(e,t,r,!0);Ot((()=>{(0,i.Od)(r[e],o)}),n)}function vt(t){t.shapeFlag&=-257,t.shapeFlag&=-513}function yt(t){return 128&t.shapeFlag?t.ssContent:t}function _t(t,e,n=En,i=!1){if(n){const o=n[t]||(n[t]=[]),a=e.__weh||(e.__weh=(...i)=>{if(n.isUnmounted)return;(0,r.Jd)(),On(n);const o=s(e,n,t,i);return Tn(),(0,r.lk)(),o});return i?o.unshift(a):o.push(a),a}}const xt=t=>(e,n=En)=>(!Dn||"sp"===t)&&_t(t,((...t)=>e(...t)),n),wt=xt("bm"),kt=xt("m"),Mt=xt("bu"),Et=xt("u"),St=xt("bum"),Ot=xt("um"),Tt=xt("sp"),Ct=xt("rtg"),Pt=xt("rtc");function At(t,e=En){_t("ec",t,e)}function Dt(t,e){const n=D;if(null===n)return t;const r=Wn(n)||n.proxy,o=t.dirs||(t.dirs=[]);for(let s=0;s<e.length;s++){let[t,n,a,l=i.kT]=e[s];t&&((0,i.mf)(t)&&(t={mounted:t,updated:t}),t.deep&&Q(n),o.push({dir:t,instance:r,value:n,oldValue:void 0,arg:a,modifiers:l}))}return t}function Lt(t,e,n,i){const o=t.dirs,a=e&&e.dirs;for(let l=0;l<o.length;l++){const c=o[l];a&&(c.oldValue=a[l].value);let u=c.dir[i];u&&((0,r.Jd)(),s(u,n,8,[t.el,c,t,e]),(0,r.lk)())}}const It="components",Nt="directives";function jt(t,e){return Wt(It,t,!0,e)||t}const Ft=Symbol();function Rt(t){return Wt(Nt,t)}function Wt(t,e,n=!0,r=!1){const o=D||En;if(o){const n=o.type;if(t===It){const t=zn(n,!1);if(t&&(t===e||t===(0,i._A)(e)||t===(0,i.kC)((0,i._A)(e))))return n}const s=zt(o[t]||n[t],e)||zt(o.appContext[t],e);return!s&&r?n:s}}function zt(t,e){return t&&(t[e]||t[(0,i._A)(e)]||t[(0,i.kC)((0,i._A)(e))])}function Ut(t,e,n,r){let o;const s=n&&n[r];if((0,i.kJ)(t)||(0,i.HD)(t)){o=new Array(t.length);for(let n=0,r=t.length;n<r;n++)o[n]=e(t[n],n,void 0,s&&s[n])}else if("number"===typeof t){0,o=new Array(t);for(let n=0;n<t;n++)o[n]=e(n+1,n,void 0,s&&s[n])}else if((0,i.Kn)(t))if(t[Symbol.iterator])o=Array.from(t,((t,n)=>e(t,n,void 0,s&&s[n])));else{const n=Object.keys(t);o=new Array(n.length);for(let r=0,i=n.length;r<i;r++){const i=n[r];o[r]=e(t[i],i,r,s&&s[r])}}else o=[];return n&&(n[r]=o),o}function Ht(t,e,n={},r,i){if(D.isCE||D.parent&&ht(D.parent)&&D.parent.isCE)return"default"!==e&&(n.name=e),un("slot",n,r&&r());let o=t[e];o&&o._c&&(o._d=!1),Ge();const s=o&&Bt(o(n)),a=nn(Ve,{key:n.key||s&&s.key||`_${e}`},s||(r?r():[]),s&&1===t._?64:-2);return!i&&a.scopeId&&(a.slotScopeIds=[a.scopeId+"-s"]),o&&o._c&&(o._d=!0),a}function Bt(t){return t.some((t=>!rn(t)||t.type!==Ze&&!(t.type===Ve&&!Bt(t.children))))?t:null}const Vt=t=>t?Cn(t)?Wn(t)||t.proxy:Vt(t.parent):null,$t=(0,i.l7)(Object.create(null),{$:t=>t,$el:t=>t.vnode.el,$data:t=>t.data,$props:t=>t.props,$attrs:t=>t.attrs,$slots:t=>t.slots,$refs:t=>t.refs,$parent:t=>Vt(t.parent),$root:t=>Vt(t.root),$emit:t=>t.emit,$options:t=>Qt(t),$forceUpdate:t=>t.f||(t.f=()=>_(t.update)),$nextTick:t=>t.n||(t.n=v.bind(t.proxy)),$watch:t=>J.bind(t)}),Zt=(t,e)=>t!==i.kT&&!t.__isScriptSetup&&(0,i.RI)(t,e),Yt={get({_:t},e){const{ctx:n,setupState:o,data:s,props:a,accessCache:l,type:c,appContext:u}=t;let h;if("$"!==e[0]){const r=l[e];if(void 0!==r)switch(r){case 1:return o[e];case 2:return s[e];case 4:return n[e];case 3:return a[e]}else{if(Zt(o,e))return l[e]=1,o[e];if(s!==i.kT&&(0,i.RI)(s,e))return l[e]=2,s[e];if((h=t.propsOptions[0])&&(0,i.RI)(h,e))return l[e]=3,a[e];if(n!==i.kT&&(0,i.RI)(n,e))return l[e]=4,n[e];qt&&(l[e]=0)}}const d=$t[e];let f,p;return d?("$attrs"===e&&(0,r.j)(t,"get",e),d(t)):(f=c.__cssModules)&&(f=f[e])?f:n!==i.kT&&(0,i.RI)(n,e)?(l[e]=4,n[e]):(p=u.config.globalProperties,(0,i.RI)(p,e)?p[e]:void 0)},set({_:t},e,n){const{data:r,setupState:o,ctx:s}=t;return Zt(o,e)?(o[e]=n,!0):r!==i.kT&&(0,i.RI)(r,e)?(r[e]=n,!0):!(0,i.RI)(t.props,e)&&(("$"!==e[0]||!(e.slice(1)in t))&&(s[e]=n,!0))},has({_:{data:t,setupState:e,accessCache:n,ctx:r,appContext:o,propsOptions:s}},a){let l;return!!n[a]||t!==i.kT&&(0,i.RI)(t,a)||Zt(e,a)||(l=s[0])&&(0,i.RI)(l,a)||(0,i.RI)(r,a)||(0,i.RI)($t,a)||(0,i.RI)(o.config.globalProperties,a)},defineProperty(t,e,n){return null!=n.get?t._.accessCache[e]=0:(0,i.RI)(n,"value")&&this.set(t,e,n.value,null),Reflect.defineProperty(t,e,n)}};let qt=!0;function Xt(t){const e=Qt(t),n=t.proxy,o=t.ctx;qt=!1,e.beforeCreate&&Jt(e.beforeCreate,t,"bc");const{data:s,computed:a,methods:l,watch:c,provide:u,inject:h,created:d,beforeMount:f,mounted:p,beforeUpdate:g,updated:m,activated:b,deactivated:v,beforeDestroy:y,beforeUnmount:_,destroyed:x,unmounted:w,render:k,renderTracked:M,renderTriggered:E,errorCaptured:S,serverPrefetch:O,expose:T,inheritAttrs:C,components:P,directives:A,filters:D}=e,L=null;if(h&&Gt(h,o,L,t.appContext.config.unwrapInjectedRef),l)for(const r in l){const t=l[r];(0,i.mf)(t)&&(o[r]=t.bind(n))}if(s){0;const e=s.call(n,n);0,(0,i.Kn)(e)&&(t.data=(0,r.qj)(e))}if(qt=!0,a)for(const r in a){const t=a[r],e=(0,i.mf)(t)?t.bind(n,n):(0,i.mf)(t.get)?t.get.bind(n,n):i.dG;0;const s=!(0,i.mf)(t)&&(0,i.mf)(t.set)?t.set.bind(n):i.dG,l=Hn({get:e,set:s});Object.defineProperty(o,r,{enumerable:!0,configurable:!0,get:()=>l.value,set:t=>l.value=t})}if(c)for(const r in c)Kt(c[r],o,n,r);if(u){const t=(0,i.mf)(u)?u.call(n):u;Reflect.ownKeys(t).forEach((e=>{Z(e,t[e])}))}function I(t,e){(0,i.kJ)(e)?e.forEach((e=>t(e.bind(n)))):e&&t(e.bind(n))}if(d&&Jt(d,t,"c"),I(wt,f),I(kt,p),I(Mt,g),I(Et,m),I(pt,b),I(gt,v),I(At,S),I(Pt,M),I(Ct,E),I(St,_),I(Ot,w),I(Tt,O),(0,i.kJ)(T))if(T.length){const e=t.exposed||(t.exposed={});T.forEach((t=>{Object.defineProperty(e,t,{get:()=>n[t],set:e=>n[t]=e})}))}else t.exposed||(t.exposed={});k&&t.render===i.dG&&(t.render=k),null!=C&&(t.inheritAttrs=C),P&&(t.components=P),A&&(t.directives=A)}function Gt(t,e,n=i.dG,o=!1){(0,i.kJ)(t)&&(t=ie(t));for(const s in t){const n=t[s];let a;a=(0,i.Kn)(n)?"default"in n?Y(n.from||s,n.default,!0):Y(n.from||s):Y(n),(0,r.dq)(a)&&o?Object.defineProperty(e,s,{enumerable:!0,configurable:!0,get:()=>a.value,set:t=>a.value=t}):e[s]=a}}function Jt(t,e,n){s((0,i.kJ)(t)?t.map((t=>t.bind(e.proxy))):t.bind(e.proxy),e,n)}function Kt(t,e,n,r){const o=r.includes(".")?K(n,r):()=>n[r];if((0,i.HD)(t)){const n=e[t];(0,i.mf)(n)&&X(o,n)}else if((0,i.mf)(t))X(o,t.bind(n));else if((0,i.Kn)(t))if((0,i.kJ)(t))t.forEach((t=>Kt(t,e,n,r)));else{const r=(0,i.mf)(t.handler)?t.handler.bind(n):e[t.handler];(0,i.mf)(r)&&X(o,r,t)}else 0}function Qt(t){const e=t.type,{mixins:n,extends:r}=e,{mixins:o,optionsCache:s,config:{optionMergeStrategies:a}}=t.appContext,l=s.get(e);let c;return l?c=l:o.length||n||r?(c={},o.length&&o.forEach((t=>te(c,t,a,!0))),te(c,e,a)):c=e,(0,i.Kn)(e)&&s.set(e,c),c}function te(t,e,n,r=!1){const{mixins:i,extends:o}=e;o&&te(t,o,n,!0),i&&i.forEach((e=>te(t,e,n,!0)));for(const s in e)if(r&&"expose"===s);else{const r=ee[s]||n&&n[s];t[s]=r?r(t[s],e[s]):e[s]}return t}const ee={data:ne,props:se,emits:se,methods:se,computed:se,beforeCreate:oe,created:oe,beforeMount:oe,mounted:oe,beforeUpdate:oe,updated:oe,beforeDestroy:oe,beforeUnmount:oe,destroyed:oe,unmounted:oe,activated:oe,deactivated:oe,errorCaptured:oe,serverPrefetch:oe,components:se,directives:se,watch:ae,provide:ne,inject:re};function ne(t,e){return e?t?function(){return(0,i.l7)((0,i.mf)(t)?t.call(this,this):t,(0,i.mf)(e)?e.call(this,this):e)}:e:t}function re(t,e){return se(ie(t),ie(e))}function ie(t){if((0,i.kJ)(t)){const e={};for(let n=0;n<t.length;n++)e[t[n]]=t[n];return e}return t}function oe(t,e){return t?[...new Set([].concat(t,e))]:e}function se(t,e){return t?(0,i.l7)((0,i.l7)(Object.create(null),t),e):e}function ae(t,e){if(!t)return e;if(!e)return t;const n=(0,i.l7)(Object.create(null),t);for(const r in e)n[r]=oe(t[r],e[r]);return n}function le(t,e,n,o=!1){const s={},a={};(0,i.Nj)(a,sn,1),t.propsDefaults=Object.create(null),ue(t,e,s,a);for(const r in t.propsOptions[0])r in s||(s[r]=void 0);n?t.props=o?s:(0,r.Um)(s):t.type.props?t.props=s:t.props=a,t.attrs=a}function ce(t,e,n,o){const{props:s,attrs:a,vnode:{patchFlag:l}}=t,c=(0,r.IU)(s),[u]=t.propsOptions;let h=!1;if(!(o||l>0)||16&l){let r;ue(t,e,s,a)&&(h=!0);for(const o in c)e&&((0,i.RI)(e,o)||(r=(0,i.rs)(o))!==o&&(0,i.RI)(e,r))||(u?!n||void 0===n[o]&&void 0===n[r]||(s[o]=he(u,c,o,void 0,t,!0)):delete s[o]);if(a!==c)for(const t in a)e&&(0,i.RI)(e,t)||(delete a[t],h=!0)}else if(8&l){const n=t.vnode.dynamicProps;for(let r=0;r<n.length;r++){let o=n[r];if(A(t.emitsOptions,o))continue;const l=e[o];if(u)if((0,i.RI)(a,o))l!==a[o]&&(a[o]=l,h=!0);else{const e=(0,i._A)(o);s[e]=he(u,c,e,l,t,!1)}else l!==a[o]&&(a[o]=l,h=!0)}}h&&(0,r.X$)(t,"set","$attrs")}function ue(t,e,n,o){const[s,a]=t.propsOptions;let l,c=!1;if(e)for(let r in e){if((0,i.Gg)(r))continue;const u=e[r];let h;s&&(0,i.RI)(s,h=(0,i._A)(r))?a&&a.includes(h)?(l||(l={}))[h]=u:n[h]=u:A(t.emitsOptions,r)||r in o&&u===o[r]||(o[r]=u,c=!0)}if(a){const e=(0,r.IU)(n),o=l||i.kT;for(let r=0;r<a.length;r++){const l=a[r];n[l]=he(s,e,l,o[l],t,!(0,i.RI)(o,l))}}return c}function he(t,e,n,r,o,s){const a=t[n];if(null!=a){const t=(0,i.RI)(a,"default");if(t&&void 0===r){const t=a.default;if(a.type!==Function&&(0,i.mf)(t)){const{propsDefaults:i}=o;n in i?r=i[n]:(On(o),r=i[n]=t.call(null,e),Tn())}else r=t}a[0]&&(s&&!t?r=!1:!a[1]||""!==r&&r!==(0,i.rs)(n)||(r=!0))}return r}function de(t,e,n=!1){const r=e.propsCache,o=r.get(t);if(o)return o;const s=t.props,a={},l=[];let c=!1;if(!(0,i.mf)(t)){const r=t=>{c=!0;const[n,r]=de(t,e,!0);(0,i.l7)(a,n),r&&l.push(...r)};!n&&e.mixins.length&&e.mixins.forEach(r),t.extends&&r(t.extends),t.mixins&&t.mixins.forEach(r)}if(!s&&!c)return(0,i.Kn)(t)&&r.set(t,i.Z6),i.Z6;if((0,i.kJ)(s))for(let h=0;h<s.length;h++){0;const t=(0,i._A)(s[h]);fe(t)&&(a[t]=i.kT)}else if(s){0;for(const t in s){const e=(0,i._A)(t);if(fe(e)){const n=s[t],r=a[e]=(0,i.kJ)(n)||(0,i.mf)(n)?{type:n}:Object.assign({},n);if(r){const t=me(Boolean,r.type),n=me(String,r.type);r[0]=t>-1,r[1]=n<0||t<n,(t>-1||(0,i.RI)(r,"default"))&&l.push(e)}}}}const u=[a,l];return(0,i.Kn)(t)&&r.set(t,u),u}function fe(t){return"$"!==t[0]}function pe(t){const e=t&&t.toString().match(/^\s*(function|class) (\w+)/);return e?e[2]:null===t?"null":""}function ge(t,e){return pe(t)===pe(e)}function me(t,e){return(0,i.kJ)(e)?e.findIndex((e=>ge(e,t))):(0,i.mf)(e)&&ge(e,t)?0:-1}const be=t=>"_"===t[0]||"$stable"===t,ve=t=>(0,i.kJ)(t)?t.map(bn):[bn(t)],ye=(t,e,n)=>{if(e._n)return e;const r=F(((...t)=>ve(e(...t))),n);return r._c=!1,r},_e=(t,e,n)=>{const r=t._ctx;for(const o in t){if(be(o))continue;const n=t[o];if((0,i.mf)(n))e[o]=ye(o,n,r);else if(null!=n){0;const t=ve(n);e[o]=()=>t}}},xe=(t,e)=>{const n=ve(e);t.slots.default=()=>n},we=(t,e)=>{if(32&t.vnode.shapeFlag){const n=e._;n?(t.slots=(0,r.IU)(e),(0,i.Nj)(e,"_",n)):_e(e,t.slots={})}else t.slots={},e&&xe(t,e);(0,i.Nj)(t.slots,sn,1)},ke=(t,e,n)=>{const{vnode:r,slots:o}=t;let s=!0,a=i.kT;if(32&r.shapeFlag){const t=e._;t?n&&1===t?s=!1:((0,i.l7)(o,e),n||1!==t||delete o._):(s=!e.$stable,_e(e,o)),a=e}else e&&(xe(t,e),a={default:1});if(s)for(const i in o)be(i)||i in a||delete o[i]};function Me(){return{app:null,config:{isNativeTag:i.NO,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let Ee=0;function Se(t,e){return function(n,r=null){(0,i.mf)(n)||(n=Object.assign({},n)),null==r||(0,i.Kn)(r)||(r=null);const o=Me(),s=new Set;let a=!1;const l=o.app={_uid:Ee++,_component:n,_props:r,_container:null,_context:o,_instance:null,version:Zn,get config(){return o.config},set config(t){0},use(t,...e){return s.has(t)||(t&&(0,i.mf)(t.install)?(s.add(t),t.install(l,...e)):(0,i.mf)(t)&&(s.add(t),t(l,...e))),l},mixin(t){return o.mixins.includes(t)||o.mixins.push(t),l},component(t,e){return e?(o.components[t]=e,l):o.components[t]},directive(t,e){return e?(o.directives[t]=e,l):o.directives[t]},mount(i,s,c){if(!a){0;const u=un(n,r);return u.appContext=o,s&&e?e(u,i):t(u,i,c),a=!0,l._container=i,i.__vue_app__=l,Wn(u.component)||u.component.proxy}},unmount(){a&&(t(null,l._container),delete l._container.__vue_app__)},provide(t,e){return o.provides[t]=e,l}};return l}}function Oe(t,e,n,s,a=!1){if((0,i.kJ)(t))return void t.forEach(((t,r)=>Oe(t,e&&((0,i.kJ)(e)?e[r]:e),n,s,a)));if(ht(s)&&!a)return;const l=4&s.shapeFlag?Wn(s.component)||s.component.proxy:s.el,c=a?null:l,{i:u,r:h}=t;const d=e&&e.r,f=u.refs===i.kT?u.refs={}:u.refs,p=u.setupState;if(null!=d&&d!==h&&((0,i.HD)(d)?(f[d]=null,(0,i.RI)(p,d)&&(p[d]=null)):(0,r.dq)(d)&&(d.value=null)),(0,i.mf)(h))o(h,u,12,[c,f]);else{const e=(0,i.HD)(h),o=(0,r.dq)(h);if(e||o){const r=()=>{if(t.f){const n=e?(0,i.RI)(p,h)?p[h]:f[h]:h.value;a?(0,i.kJ)(n)&&(0,i.Od)(n,l):(0,i.kJ)(n)?n.includes(l)||n.push(l):e?(f[h]=[l],(0,i.RI)(p,h)&&(p[h]=f[h])):(h.value=[l],t.k&&(f[t.k]=h.value))}else e?(f[h]=c,(0,i.RI)(p,h)&&(p[h]=c)):o&&(h.value=c,t.k&&(f[t.k]=c))};c?(r.id=-1,Ce(r,n)):r()}else 0}}function Te(){}const Ce=$;function Pe(t){return Ae(t)}function Ae(t,e){Te();const n=(0,i.E9)();n.__VUE__=!0;const{insert:o,remove:s,patchProp:a,createElement:l,createText:c,createComment:u,setText:h,setElementText:d,parentNode:f,nextSibling:p,setScopeId:g=i.dG,insertStaticContent:m}=t,b=(t,e,n,r=null,i=null,o=null,s=!1,a=null,l=!!e.dynamicChildren)=>{if(t===e)return;t&&!on(t,e)&&(r=K(t),Y(t,i,o,!0),t=null),-2===e.patchFlag&&(l=!1,e.dynamicChildren=null);const{type:c,ref:u,shapeFlag:h}=e;switch(c){case $e:v(t,e,n,r);break;case Ze:y(t,e,n,r);break;case Ye:null==t&&x(e,n,r,s);break;case Ve:I(t,e,n,r,i,o,s,a,l);break;default:1&h?O(t,e,n,r,i,o,s,a,l):6&h?N(t,e,n,r,i,o,s,a,l):(64&h||128&h)&&c.process(t,e,n,r,i,o,s,a,l,tt)}null!=u&&i&&Oe(u,t&&t.ref,o,e||t,!e)},v=(t,e,n,r)=>{if(null==t)o(e.el=c(e.children),n,r);else{const n=e.el=t.el;e.children!==t.children&&h(n,e.children)}},y=(t,e,n,r)=>{null==t?o(e.el=u(e.children||""),n,r):e.el=t.el},x=(t,e,n,r)=>{[t.el,t.anchor]=m(t.children,e,n,r,t.el,t.anchor)},k=({el:t,anchor:e},n,r)=>{let i;while(t&&t!==e)i=p(t),o(t,n,r),t=i;o(e,n,r)},S=({el:t,anchor:e})=>{let n;while(t&&t!==e)n=p(t),s(t),t=n;s(e)},O=(t,e,n,r,i,o,s,a,l)=>{s=s||"svg"===e.type,null==t?T(e,n,r,i,o,s,a,l):A(t,e,i,o,s,a,l)},T=(t,e,n,r,s,c,u,h)=>{let f,p;const{type:g,props:m,shapeFlag:b,transition:v,dirs:y}=t;if(f=t.el=l(t.type,c,m&&m.is,m),8&b?d(f,t.children):16&b&&P(t.children,f,null,r,s,c&&"foreignObject"!==g,u,h),y&&Lt(t,null,r,"created"),C(f,t,t.scopeId,u,r),m){for(const e in m)"value"===e||(0,i.Gg)(e)||a(f,e,null,m[e],c,t.children,r,s,J);"value"in m&&a(f,"value",null,m.value),(p=m.onVnodeBeforeMount)&&xn(p,r,t)}y&&Lt(t,null,r,"beforeMount");const _=(!s||s&&!s.pendingBranch)&&v&&!v.persisted;_&&v.beforeEnter(f),o(f,e,n),((p=m&&m.onVnodeMounted)||_||y)&&Ce((()=>{p&&xn(p,r,t),_&&v.enter(f),y&&Lt(t,null,r,"mounted")}),s)},C=(t,e,n,r,i)=>{if(n&&g(t,n),r)for(let o=0;o<r.length;o++)g(t,r[o]);if(i){let n=i.subTree;if(e===n){const e=i.vnode;C(t,e,e.scopeId,e.slotScopeIds,i.parent)}}},P=(t,e,n,r,i,o,s,a,l=0)=>{for(let c=l;c<t.length;c++){const l=t[c]=a?vn(t[c]):bn(t[c]);b(null,l,e,n,r,i,o,s,a)}},A=(t,e,n,r,o,s,l)=>{const c=e.el=t.el;let{patchFlag:u,dynamicChildren:h,dirs:f}=e;u|=16&t.patchFlag;const p=t.props||i.kT,g=e.props||i.kT;let m;n&&De(n,!1),(m=g.onVnodeBeforeUpdate)&&xn(m,n,e,t),f&&Lt(e,t,n,"beforeUpdate"),n&&De(n,!0);const b=o&&"foreignObject"!==e.type;if(h?D(t.dynamicChildren,h,c,n,r,b,s):l||H(t,e,c,null,n,r,b,s,!1),u>0){if(16&u)L(c,e,p,g,n,r,o);else if(2&u&&p.class!==g.class&&a(c,"class",null,g.class,o),4&u&&a(c,"style",p.style,g.style,o),8&u){const i=e.dynamicProps;for(let e=0;e<i.length;e++){const s=i[e],l=p[s],u=g[s];u===l&&"value"!==s||a(c,s,l,u,o,t.children,n,r,J)}}1&u&&t.children!==e.children&&d(c,e.children)}else l||null!=h||L(c,e,p,g,n,r,o);((m=g.onVnodeUpdated)||f)&&Ce((()=>{m&&xn(m,n,e,t),f&&Lt(e,t,n,"updated")}),r)},D=(t,e,n,r,i,o,s)=>{for(let a=0;a<e.length;a++){const l=t[a],c=e[a],u=l.el&&(l.type===Ve||!on(l,c)||70&l.shapeFlag)?f(l.el):n;b(l,c,u,null,r,i,o,s,!0)}},L=(t,e,n,r,o,s,l)=>{if(n!==r){if(n!==i.kT)for(const c in n)(0,i.Gg)(c)||c in r||a(t,c,n[c],null,l,e.children,o,s,J);for(const c in r){if((0,i.Gg)(c))continue;const u=r[c],h=n[c];u!==h&&"value"!==c&&a(t,c,h,u,l,e.children,o,s,J)}"value"in r&&a(t,"value",n.value,r.value)}},I=(t,e,n,r,i,s,a,l,u)=>{const h=e.el=t?t.el:c(""),d=e.anchor=t?t.anchor:c("");let{patchFlag:f,dynamicChildren:p,slotScopeIds:g}=e;g&&(l=l?l.concat(g):g),null==t?(o(h,n,r),o(d,n,r),P(e.children,n,d,i,s,a,l,u)):f>0&&64&f&&p&&t.dynamicChildren?(D(t.dynamicChildren,p,n,i,s,a,l),(null!=e.key||i&&e===i.subTree)&&Le(t,e,!0)):H(t,e,n,d,i,s,a,l,u)},N=(t,e,n,r,i,o,s,a,l)=>{e.slotScopeIds=a,null==t?512&e.shapeFlag?i.ctx.activate(e,n,r,s,l):j(e,n,r,i,o,s,l):F(t,e,l)},j=(t,e,n,r,i,o,s)=>{const a=t.component=Mn(t,r,i);if(dt(t)&&(a.ctx.renderer=tt),Ln(a),a.asyncDep){if(i&&i.registerDep(a,W),!t.el){const t=a.subTree=un(Ze);y(null,t,e,n)}}else W(a,t,e,n,i,o,s)},F=(t,e,n)=>{const r=e.component=t.component;if(U(t,e,n)){if(r.asyncDep&&!r.asyncResolved)return void z(r,e,n);r.next=e,w(r.update),r.update()}else e.el=t.el,r.vnode=e},W=(t,e,n,o,s,a,l)=>{const c=()=>{if(t.isMounted){let e,{next:n,bu:r,u:o,parent:c,vnode:u}=t,h=n;0,De(t,!1),n?(n.el=u.el,z(t,n,l)):n=u,r&&(0,i.ir)(r),(e=n.props&&n.props.onVnodeBeforeUpdate)&&xn(e,c,n,u),De(t,!0);const d=R(t);0;const p=t.subTree;t.subTree=d,b(p,d,f(p.el),K(p),t,s,a),n.el=d.el,null===h&&B(t,d.el),o&&Ce(o,s),(e=n.props&&n.props.onVnodeUpdated)&&Ce((()=>xn(e,c,n,u)),s)}else{let r;const{el:l,props:c}=e,{bm:u,m:h,parent:d}=t,f=ht(e);if(De(t,!1),u&&(0,i.ir)(u),!f&&(r=c&&c.onVnodeBeforeMount)&&xn(r,d,e),De(t,!0),l&&nt){const n=()=>{t.subTree=R(t),nt(l,t.subTree,t,s,null)};f?e.type.__asyncLoader().then((()=>!t.isUnmounted&&n())):n()}else{0;const r=t.subTree=R(t);0,b(null,r,n,o,t,s,a),e.el=r.el}if(h&&Ce(h,s),!f&&(r=c&&c.onVnodeMounted)){const t=e;Ce((()=>xn(r,d,t)),s)}(256&e.shapeFlag||d&&ht(d.vnode)&&256&d.vnode.shapeFlag)&&t.a&&Ce(t.a,s),t.isMounted=!0,e=n=o=null}},u=t.effect=new r.qq(c,(()=>_(h)),t.scope),h=t.update=()=>u.run();h.id=t.uid,De(t,!0),h()},z=(t,e,n)=>{e.component=t;const i=t.vnode.props;t.vnode=e,t.next=null,ce(t,e.props,i,n),ke(t,e.children,n),(0,r.Jd)(),M(),(0,r.lk)()},H=(t,e,n,r,i,o,s,a,l=!1)=>{const c=t&&t.children,u=t?t.shapeFlag:0,h=e.children,{patchFlag:f,shapeFlag:p}=e;if(f>0){if(128&f)return void $(c,h,n,r,i,o,s,a,l);if(256&f)return void V(c,h,n,r,i,o,s,a,l)}8&p?(16&u&&J(c,i,o),h!==c&&d(n,h)):16&u?16&p?$(c,h,n,r,i,o,s,a,l):J(c,i,o,!0):(8&u&&d(n,""),16&p&&P(h,n,r,i,o,s,a,l))},V=(t,e,n,r,o,s,a,l,c)=>{t=t||i.Z6,e=e||i.Z6;const u=t.length,h=e.length,d=Math.min(u,h);let f;for(f=0;f<d;f++){const r=e[f]=c?vn(e[f]):bn(e[f]);b(t[f],r,n,null,o,s,a,l,c)}u>h?J(t,o,s,!0,!1,d):P(e,n,r,o,s,a,l,c,d)},$=(t,e,n,r,o,s,a,l,c)=>{let u=0;const h=e.length;let d=t.length-1,f=h-1;while(u<=d&&u<=f){const r=t[u],i=e[u]=c?vn(e[u]):bn(e[u]);if(!on(r,i))break;b(r,i,n,null,o,s,a,l,c),u++}while(u<=d&&u<=f){const r=t[d],i=e[f]=c?vn(e[f]):bn(e[f]);if(!on(r,i))break;b(r,i,n,null,o,s,a,l,c),d--,f--}if(u>d){if(u<=f){const t=f+1,i=t<h?e[t].el:r;while(u<=f)b(null,e[u]=c?vn(e[u]):bn(e[u]),n,i,o,s,a,l,c),u++}}else if(u>f)while(u<=d)Y(t[u],o,s,!0),u++;else{const p=u,g=u,m=new Map;for(u=g;u<=f;u++){const t=e[u]=c?vn(e[u]):bn(e[u]);null!=t.key&&m.set(t.key,u)}let v,y=0;const _=f-g+1;let x=!1,w=0;const k=new Array(_);for(u=0;u<_;u++)k[u]=0;for(u=p;u<=d;u++){const r=t[u];if(y>=_){Y(r,o,s,!0);continue}let i;if(null!=r.key)i=m.get(r.key);else for(v=g;v<=f;v++)if(0===k[v-g]&&on(r,e[v])){i=v;break}void 0===i?Y(r,o,s,!0):(k[i-g]=u+1,i>=w?w=i:x=!0,b(r,e[i],n,null,o,s,a,l,c),y++)}const M=x?Ie(k):i.Z6;for(v=M.length-1,u=_-1;u>=0;u--){const t=g+u,i=e[t],d=t+1<h?e[t+1].el:r;0===k[u]?b(null,i,n,d,o,s,a,l,c):x&&(v<0||u!==M[v]?Z(i,n,d,2):v--)}}},Z=(t,e,n,r,i=null)=>{const{el:s,type:a,transition:l,children:c,shapeFlag:u}=t;if(6&u)return void Z(t.component.subTree,e,n,r);if(128&u)return void t.suspense.move(e,n,r);if(64&u)return void a.move(t,e,n,tt);if(a===Ve){o(s,e,n);for(let t=0;t<c.length;t++)Z(c[t],e,n,r);return void o(t.anchor,e,n)}if(a===Ye)return void k(t,e,n);const h=2!==r&&1&u&&l;if(h)if(0===r)l.beforeEnter(s),o(s,e,n),Ce((()=>l.enter(s)),i);else{const{leave:t,delayLeave:r,afterLeave:i}=l,a=()=>o(s,e,n),c=()=>{t(s,(()=>{a(),i&&i()}))};r?r(s,a,c):c()}else o(s,e,n)},Y=(t,e,n,r=!1,i=!1)=>{const{type:o,props:s,ref:a,children:l,dynamicChildren:c,shapeFlag:u,patchFlag:h,dirs:d}=t;if(null!=a&&Oe(a,null,n,t,!0),256&u)return void e.ctx.deactivate(t);const f=1&u&&d,p=!ht(t);let g;if(p&&(g=s&&s.onVnodeBeforeUnmount)&&xn(g,e,t),6&u)G(t.component,n,r);else{if(128&u)return void t.suspense.unmount(n,r);f&&Lt(t,null,e,"beforeUnmount"),64&u?t.type.remove(t,e,n,i,tt,r):c&&(o!==Ve||h>0&&64&h)?J(c,e,n,!1,!0):(o===Ve&&384&h||!i&&16&u)&&J(l,e,n),r&&q(t)}(p&&(g=s&&s.onVnodeUnmounted)||f)&&Ce((()=>{g&&xn(g,e,t),f&&Lt(t,null,e,"unmounted")}),n)},q=t=>{const{type:e,el:n,anchor:r,transition:i}=t;if(e===Ve)return void X(n,r);if(e===Ye)return void S(t);const o=()=>{s(n),i&&!i.persisted&&i.afterLeave&&i.afterLeave()};if(1&t.shapeFlag&&i&&!i.persisted){const{leave:e,delayLeave:r}=i,s=()=>e(n,o);r?r(t.el,o,s):s()}else o()},X=(t,e)=>{let n;while(t!==e)n=p(t),s(t),t=n;s(e)},G=(t,e,n)=>{const{bum:r,scope:o,update:s,subTree:a,um:l}=t;r&&(0,i.ir)(r),o.stop(),s&&(s.active=!1,Y(a,t,e,n)),l&&Ce(l,e),Ce((()=>{t.isUnmounted=!0}),e),e&&e.pendingBranch&&!e.isUnmounted&&t.asyncDep&&!t.asyncResolved&&t.suspenseId===e.pendingId&&(e.deps--,0===e.deps&&e.resolve())},J=(t,e,n,r=!1,i=!1,o=0)=>{for(let s=o;s<t.length;s++)Y(t[s],e,n,r,i)},K=t=>6&t.shapeFlag?K(t.component.subTree):128&t.shapeFlag?t.suspense.next():p(t.anchor||t.el),Q=(t,e,n)=>{null==t?e._vnode&&Y(e._vnode,null,null,!0):b(e._vnode||null,t,e,null,null,null,n),M(),E(),e._vnode=t},tt={p:b,um:Y,m:Z,r:q,mt:j,mc:P,pc:H,pbc:D,n:K,o:t};let et,nt;return e&&([et,nt]=e(tt)),{render:Q,hydrate:et,createApp:Se(Q,et)}}function De({effect:t,update:e},n){t.allowRecurse=e.allowRecurse=n}function Le(t,e,n=!1){const r=t.children,o=e.children;if((0,i.kJ)(r)&&(0,i.kJ)(o))for(let i=0;i<r.length;i++){const t=r[i];let e=o[i];1&e.shapeFlag&&!e.dynamicChildren&&((e.patchFlag<=0||32===e.patchFlag)&&(e=o[i]=vn(o[i]),e.el=t.el),n||Le(t,e)),e.type===$e&&(e.el=t.el)}}function Ie(t){const e=t.slice(),n=[0];let r,i,o,s,a;const l=t.length;for(r=0;r<l;r++){const l=t[r];if(0!==l){if(i=n[n.length-1],t[i]<l){e[r]=i,n.push(r);continue}o=0,s=n.length-1;while(o<s)a=o+s>>1,t[n[a]]<l?o=a+1:s=a;l<t[n[o]]&&(o>0&&(e[r]=n[o-1]),n[o]=r)}}o=n.length,s=n[o-1];while(o-- >0)n[o]=s,s=e[s];return n}const Ne=t=>t.__isTeleport,je=t=>t&&(t.disabled||""===t.disabled),Fe=t=>"undefined"!==typeof SVGElement&&t instanceof SVGElement,Re=(t,e)=>{const n=t&&t.to;if((0,i.HD)(n)){if(e){const t=e(n);return t}return null}return n},We={__isTeleport:!0,process(t,e,n,r,i,o,s,a,l,c){const{mc:u,pc:h,pbc:d,o:{insert:f,querySelector:p,createText:g,createComment:m}}=c,b=je(e.props);let{shapeFlag:v,children:y,dynamicChildren:_}=e;if(null==t){const t=e.el=g(""),c=e.anchor=g("");f(t,n,r),f(c,n,r);const h=e.target=Re(e.props,p),d=e.targetAnchor=g("");h&&(f(d,h),s=s||Fe(h));const m=(t,e)=>{16&v&&u(y,t,e,i,o,s,a,l)};b?m(n,c):h&&m(h,d)}else{e.el=t.el;const r=e.anchor=t.anchor,u=e.target=t.target,f=e.targetAnchor=t.targetAnchor,g=je(t.props),m=g?n:u,v=g?r:f;if(s=s||Fe(u),_?(d(t.dynamicChildren,_,m,i,o,s,a),Le(t,e,!0)):l||h(t,e,m,v,i,o,s,a,!1),b)g||ze(e,n,r,c,1);else if((e.props&&e.props.to)!==(t.props&&t.props.to)){const t=e.target=Re(e.props,p);t&&ze(e,t,null,c,0)}else g&&ze(e,u,f,c,1)}Be(e)},remove(t,e,n,r,{um:i,o:{remove:o}},s){const{shapeFlag:a,children:l,anchor:c,targetAnchor:u,target:h,props:d}=t;if(h&&o(u),(s||!je(d))&&(o(c),16&a))for(let f=0;f<l.length;f++){const t=l[f];i(t,e,n,!0,!!t.dynamicChildren)}},move:ze,hydrate:Ue};function ze(t,e,n,{o:{insert:r},m:i},o=2){0===o&&r(t.targetAnchor,e,n);const{el:s,anchor:a,shapeFlag:l,children:c,props:u}=t,h=2===o;if(h&&r(s,e,n),(!h||je(u))&&16&l)for(let d=0;d<c.length;d++)i(c[d],e,n,2);h&&r(a,e,n)}function Ue(t,e,n,r,i,o,{o:{nextSibling:s,parentNode:a,querySelector:l}},c){const u=e.target=Re(e.props,l);if(u){const l=u._lpa||u.firstChild;if(16&e.shapeFlag)if(je(e.props))e.anchor=c(s(t),e,a(t),n,r,i,o),e.targetAnchor=l;else{e.anchor=s(t);let a=l;while(a)if(a=s(a),a&&8===a.nodeType&&"teleport anchor"===a.data){e.targetAnchor=a,u._lpa=e.targetAnchor&&s(e.targetAnchor);break}c(l,e,u,n,r,i,o)}Be(e)}return e.anchor&&s(e.anchor)}const He=We;function Be(t){const e=t.ctx;if(e&&e.ut){let n=t.children[0].el;while(n!==t.targetAnchor)1===n.nodeType&&n.setAttribute("data-v-owner",e.uid),n=n.nextSibling;e.ut()}}const Ve=Symbol(void 0),$e=Symbol(void 0),Ze=Symbol(void 0),Ye=Symbol(void 0),qe=[];let Xe=null;function Ge(t=!1){qe.push(Xe=t?null:[])}function Je(){qe.pop(),Xe=qe[qe.length-1]||null}let Ke=1;function Qe(t){Ke+=t}function tn(t){return t.dynamicChildren=Ke>0?Xe||i.Z6:null,Je(),Ke>0&&Xe&&Xe.push(t),t}function en(t,e,n,r,i,o){return tn(cn(t,e,n,r,i,o,!0))}function nn(t,e,n,r,i){return tn(un(t,e,n,r,i,!0))}function rn(t){return!!t&&!0===t.__v_isVNode}function on(t,e){return t.type===e.type&&t.key===e.key}const sn="__vInternal",an=({key:t})=>null!=t?t:null,ln=({ref:t,ref_key:e,ref_for:n})=>null!=t?(0,i.HD)(t)||(0,r.dq)(t)||(0,i.mf)(t)?{i:D,r:t,k:e,f:!!n}:t:null;function cn(t,e=null,n=null,r=0,o=null,s=(t===Ve?0:1),a=!1,l=!1){const c={__v_isVNode:!0,__v_skip:!0,type:t,props:e,key:e&&an(e),ref:e&&ln(e),scopeId:L,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:s,patchFlag:r,dynamicProps:o,dynamicChildren:null,appContext:null,ctx:D};return l?(yn(c,n),128&s&&t.normalize(c)):n&&(c.shapeFlag|=(0,i.HD)(n)?8:16),Ke>0&&!a&&Xe&&(c.patchFlag>0||6&s)&&32!==c.patchFlag&&Xe.push(c),c}const un=hn;function hn(t,e=null,n=null,o=0,s=null,a=!1){if(t&&t!==Ft||(t=Ze),rn(t)){const r=fn(t,e,!0);return n&&yn(r,n),Ke>0&&!a&&Xe&&(6&r.shapeFlag?Xe[Xe.indexOf(t)]=r:Xe.push(r)),r.patchFlag|=-2,r}if(Un(t)&&(t=t.__vccOpts),e){e=dn(e);let{class:t,style:n}=e;t&&!(0,i.HD)(t)&&(e.class=(0,i.C_)(t)),(0,i.Kn)(n)&&((0,r.X3)(n)&&!(0,i.kJ)(n)&&(n=(0,i.l7)({},n)),e.style=(0,i.j5)(n))}const l=(0,i.HD)(t)?1:V(t)?128:Ne(t)?64:(0,i.Kn)(t)?4:(0,i.mf)(t)?2:0;return cn(t,e,n,o,s,l,a,!0)}function dn(t){return t?(0,r.X3)(t)||sn in t?(0,i.l7)({},t):t:null}function fn(t,e,n=!1){const{props:r,ref:o,patchFlag:s,children:a}=t,l=e?_n(r||{},e):r,c={__v_isVNode:!0,__v_skip:!0,type:t.type,props:l,key:l&&an(l),ref:e&&e.ref?n&&o?(0,i.kJ)(o)?o.concat(ln(e)):[o,ln(e)]:ln(e):o,scopeId:t.scopeId,slotScopeIds:t.slotScopeIds,children:a,target:t.target,targetAnchor:t.targetAnchor,staticCount:t.staticCount,shapeFlag:t.shapeFlag,patchFlag:e&&t.type!==Ve?-1===s?16:16|s:s,dynamicProps:t.dynamicProps,dynamicChildren:t.dynamicChildren,appContext:t.appContext,dirs:t.dirs,transition:t.transition,component:t.component,suspense:t.suspense,ssContent:t.ssContent&&fn(t.ssContent),ssFallback:t.ssFallback&&fn(t.ssFallback),el:t.el,anchor:t.anchor,ctx:t.ctx,ce:t.ce};return c}function pn(t=" ",e=0){return un($e,null,t,e)}function gn(t,e){const n=un(Ye,null,t);return n.staticCount=e,n}function mn(t="",e=!1){return e?(Ge(),nn(Ze,null,t)):un(Ze,null,t)}function bn(t){return null==t||"boolean"===typeof t?un(Ze):(0,i.kJ)(t)?un(Ve,null,t.slice()):"object"===typeof t?vn(t):un($e,null,String(t))}function vn(t){return null===t.el&&-1!==t.patchFlag||t.memo?t:fn(t)}function yn(t,e){let n=0;const{shapeFlag:r}=t;if(null==e)e=null;else if((0,i.kJ)(e))n=16;else if("object"===typeof e){if(65&r){const n=e.default;return void(n&&(n._c&&(n._d=!1),yn(t,n()),n._c&&(n._d=!0)))}{n=32;const r=e._;r||sn in e?3===r&&D&&(1===D.slots._?e._=1:(e._=2,t.patchFlag|=1024)):e._ctx=D}}else(0,i.mf)(e)?(e={default:e,_ctx:D},n=32):(e=String(e),64&r?(n=16,e=[pn(e)]):n=8);t.children=e,t.shapeFlag|=n}function _n(...t){const e={};for(let n=0;n<t.length;n++){const r=t[n];for(const t in r)if("class"===t)e.class!==r.class&&(e.class=(0,i.C_)([e.class,r.class]));else if("style"===t)e.style=(0,i.j5)([e.style,r.style]);else if((0,i.F7)(t)){const n=e[t],o=r[t];!o||n===o||(0,i.kJ)(n)&&n.includes(o)||(e[t]=n?[].concat(n,o):o)}else""!==t&&(e[t]=r[t])}return e}function xn(t,e,n,r=null){s(t,e,7,[n,r])}const wn=Me();let kn=0;function Mn(t,e,n){const o=t.type,s=(e?e.appContext:t.appContext)||wn,a={uid:kn++,vnode:t,type:o,parent:e,appContext:s,root:null,next:null,subTree:null,effect:null,update:null,scope:new r.Bj(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:e?e.provides:Object.create(s.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:de(o,s),emitsOptions:P(o,s),emit:null,emitted:null,propsDefaults:i.kT,inheritAttrs:o.inheritAttrs,ctx:i.kT,data:i.kT,props:i.kT,attrs:i.kT,slots:i.kT,refs:i.kT,setupState:i.kT,setupContext:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return a.ctx={_:a},a.root=e?e.root:a,a.emit=C.bind(null,a),t.ce&&t.ce(a),a}let En=null;const Sn=()=>En||D,On=t=>{En=t,t.scope.on()},Tn=()=>{En&&En.scope.off(),En=null};function Cn(t){return 4&t.vnode.shapeFlag}let Pn,An,Dn=!1;function Ln(t,e=!1){Dn=e;const{props:n,children:r}=t.vnode,i=Cn(t);le(t,n,i,e),we(t,r);const o=i?In(t,e):void 0;return Dn=!1,o}function In(t,e){const n=t.type;t.accessCache=Object.create(null),t.proxy=(0,r.Xl)(new Proxy(t.ctx,Yt));const{setup:s}=n;if(s){const n=t.setupContext=s.length>1?Rn(t):null;On(t),(0,r.Jd)();const l=o(s,t,0,[t.props,n]);if((0,r.lk)(),Tn(),(0,i.tI)(l)){if(l.then(Tn,Tn),e)return l.then((n=>{Nn(t,n,e)})).catch((e=>{a(e,t,0)}));t.asyncDep=l}else Nn(t,l,e)}else jn(t,e)}function Nn(t,e,n){(0,i.mf)(e)?t.type.__ssrInlineRender?t.ssrRender=e:t.render=e:(0,i.Kn)(e)&&(t.setupState=(0,r.WL)(e)),jn(t,n)}function jn(t,e,n){const o=t.type;if(!t.render){if(!e&&Pn&&!o.render){const e=o.template||Qt(t).template;if(e){0;const{isCustomElement:n,compilerOptions:r}=t.appContext.config,{delimiters:s,compilerOptions:a}=o,l=(0,i.l7)((0,i.l7)({isCustomElement:n,delimiters:s},r),a);o.render=Pn(e,l)}}t.render=o.render||i.dG,An&&An(t)}On(t),(0,r.Jd)(),Xt(t),(0,r.lk)(),Tn()}function Fn(t){return new Proxy(t.attrs,{get(e,n){return(0,r.j)(t,"get","$attrs"),e[n]}})}function Rn(t){const e=e=>{t.exposed=e||{}};let n;return{get attrs(){return n||(n=Fn(t))},slots:t.slots,emit:t.emit,expose:e}}function Wn(t){if(t.exposed)return t.exposeProxy||(t.exposeProxy=new Proxy((0,r.WL)((0,r.Xl)(t.exposed)),{get(e,n){return n in e?e[n]:n in $t?$t[n](t):void 0},has(t,e){return e in t||e in $t}}))}function zn(t,e=!0){return(0,i.mf)(t)?t.displayName||t.name:t.name||e&&t.__name}function Un(t){return(0,i.mf)(t)&&"__vccOpts"in t}const Hn=(t,e)=>(0,r.Fl)(t,e,Dn);function Bn(t,e,n){const r=arguments.length;return 2===r?(0,i.Kn)(e)&&!(0,i.kJ)(e)?rn(e)?un(t,null,[e]):un(t,e):un(t,null,e):(r>3?n=Array.prototype.slice.call(arguments,2):3===r&&rn(n)&&(n=[n]),un(t,e,n))}const Vn=Symbol(""),$n=()=>{{const t=Y(Vn);return t}};const Zn="3.2.47"},9963:function(t,e,n){"use strict";n.d(e,{D2:function(){return kt},YZ:function(){return mt},bM:function(){return dt},iM:function(){return xt},nr:function(){return lt},ri:function(){return Tt},sY:function(){return Ot}});var r=n(3577),i=n(6252),o=n(2262);const s="http://www.w3.org/2000/svg",a="undefined"!==typeof document?document:null,l=a&&a.createElement("template"),c={insert:(t,e,n)=>{e.insertBefore(t,n||null)},remove:t=>{const e=t.parentNode;e&&e.removeChild(t)},createElement:(t,e,n,r)=>{const i=e?a.createElementNS(s,t):a.createElement(t,n?{is:n}:void 0);return"select"===t&&r&&null!=r.multiple&&i.setAttribute("multiple",r.multiple),i},createText:t=>a.createTextNode(t),createComment:t=>a.createComment(t),setText:(t,e)=>{t.nodeValue=e},setElementText:(t,e)=>{t.textContent=e},parentNode:t=>t.parentNode,nextSibling:t=>t.nextSibling,querySelector:t=>a.querySelector(t),setScopeId(t,e){t.setAttribute(e,"")},insertStaticContent(t,e,n,r,i,o){const s=n?n.previousSibling:e.lastChild;if(i&&(i===o||i.nextSibling)){while(1)if(e.insertBefore(i.cloneNode(!0),n),i===o||!(i=i.nextSibling))break}else{l.innerHTML=r?`<svg>${t}</svg>`:t;const i=l.content;if(r){const t=i.firstChild;while(t.firstChild)i.appendChild(t.firstChild);i.removeChild(t)}e.insertBefore(i,n)}return[s?s.nextSibling:e.firstChild,n?n.previousSibling:e.lastChild]}};function u(t,e,n){const r=t._vtc;r&&(e=(e?[e,...r]:[...r]).join(" ")),null==e?t.removeAttribute("class"):n?t.setAttribute("class",e):t.className=e}function h(t,e,n){const i=t.style,o=(0,r.HD)(n);if(n&&!o){if(e&&!(0,r.HD)(e))for(const t in e)null==n[t]&&f(i,t,"");for(const t in n)f(i,t,n[t])}else{const r=i.display;o?e!==n&&(i.cssText=n):e&&t.removeAttribute("style"),"_vod"in t&&(i.display=r)}}const d=/\s*!important$/;function f(t,e,n){if((0,r.kJ)(n))n.forEach((n=>f(t,e,n)));else if(null==n&&(n=""),e.startsWith("--"))t.setProperty(e,n);else{const i=m(t,e);d.test(n)?t.setProperty((0,r.rs)(i),n.replace(d,""),"important"):t[i]=n}}const p=["Webkit","Moz","ms"],g={};function m(t,e){const n=g[e];if(n)return n;let i=(0,r._A)(e);if("filter"!==i&&i in t)return g[e]=i;i=(0,r.kC)(i);for(let r=0;r<p.length;r++){const n=p[r]+i;if(n in t)return g[e]=n}return e}const b="http://www.w3.org/1999/xlink";function v(t,e,n,i,o){if(i&&e.startsWith("xlink:"))null==n?t.removeAttributeNS(b,e.slice(6,e.length)):t.setAttributeNS(b,e,n);else{const i=(0,r.Pq)(e);null==n||i&&!(0,r.yA)(n)?t.removeAttribute(e):t.setAttribute(e,i?"":n)}}function y(t,e,n,i,o,s,a){if("innerHTML"===e||"textContent"===e)return i&&a(i,o,s),void(t[e]=null==n?"":n);if("value"===e&&"PROGRESS"!==t.tagName&&!t.tagName.includes("-")){t._value=n;const r=null==n?"":n;return t.value===r&&"OPTION"!==t.tagName||(t.value=r),void(null==n&&t.removeAttribute(e))}let l=!1;if(""===n||null==n){const i=typeof t[e];"boolean"===i?n=(0,r.yA)(n):null==n&&"string"===i?(n="",l=!0):"number"===i&&(n=0,l=!0)}try{t[e]=n}catch(c){0}l&&t.removeAttribute(e)}function _(t,e,n,r){t.addEventListener(e,n,r)}function x(t,e,n,r){t.removeEventListener(e,n,r)}function w(t,e,n,r,i=null){const o=t._vei||(t._vei={}),s=o[e];if(r&&s)s.value=r;else{const[n,a]=M(e);if(r){const s=o[e]=T(r,i);_(t,n,s,a)}else s&&(x(t,n,s,a),o[e]=void 0)}}const k=/(?:Once|Passive|Capture)$/;function M(t){let e;if(k.test(t)){let n;e={};while(n=t.match(k))t=t.slice(0,t.length-n[0].length),e[n[0].toLowerCase()]=!0}const n=":"===t[2]?t.slice(3):(0,r.rs)(t.slice(2));return[n,e]}let E=0;const S=Promise.resolve(),O=()=>E||(S.then((()=>E=0)),E=Date.now());function T(t,e){const n=t=>{if(t._vts){if(t._vts<=n.attached)return}else t._vts=Date.now();(0,i.$d)(C(t,n.value),e,5,[t])};return n.value=t,n.attached=O(),n}function C(t,e){if((0,r.kJ)(e)){const n=t.stopImmediatePropagation;return t.stopImmediatePropagation=()=>{n.call(t),t._stopped=!0},e.map((t=>e=>!e._stopped&&t&&t(e)))}return e}const P=/^on[a-z]/,A=(t,e,n,i,o=!1,s,a,l,c)=>{"class"===e?u(t,i,o):"style"===e?h(t,n,i):(0,r.F7)(e)?(0,r.tR)(e)||w(t,e,n,i,a):("."===e[0]?(e=e.slice(1),1):"^"===e[0]?(e=e.slice(1),0):D(t,e,i,o))?y(t,e,i,s,a,l,c):("true-value"===e?t._trueValue=i:"false-value"===e&&(t._falseValue=i),v(t,e,i,o))};function D(t,e,n,i){return i?"innerHTML"===e||"textContent"===e||!!(e in t&&P.test(e)&&(0,r.mf)(n)):"spellcheck"!==e&&"draggable"!==e&&"translate"!==e&&("form"!==e&&(("list"!==e||"INPUT"!==t.tagName)&&(("type"!==e||"TEXTAREA"!==t.tagName)&&((!P.test(e)||!(0,r.HD)(n))&&e in t))))}"undefined"!==typeof HTMLElement&&HTMLElement;const L="transition",I="animation",N=(t,{slots:e})=>(0,i.h)(i.P$,z(t),e);N.displayName="Transition";const j={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},F=N.props=(0,r.l7)({},i.P$.props,j),R=(t,e=[])=>{(0,r.kJ)(t)?t.forEach((t=>t(...e))):t&&t(...e)},W=t=>!!t&&((0,r.kJ)(t)?t.some((t=>t.length>1)):t.length>1);function z(t){const e={};for(const r in t)r in j||(e[r]=t[r]);if(!1===t.css)return e;const{name:n="v",type:i,duration:o,enterFromClass:s=`${n}-enter-from`,enterActiveClass:a=`${n}-enter-active`,enterToClass:l=`${n}-enter-to`,appearFromClass:c=s,appearActiveClass:u=a,appearToClass:h=l,leaveFromClass:d=`${n}-leave-from`,leaveActiveClass:f=`${n}-leave-active`,leaveToClass:p=`${n}-leave-to`}=t,g=U(o),m=g&&g[0],b=g&&g[1],{onBeforeEnter:v,onEnter:y,onEnterCancelled:_,onLeave:x,onLeaveCancelled:w,onBeforeAppear:k=v,onAppear:M=y,onAppearCancelled:E=_}=e,S=(t,e,n)=>{V(t,e?h:l),V(t,e?u:a),n&&n()},O=(t,e)=>{t._isLeaving=!1,V(t,d),V(t,p),V(t,f),e&&e()},T=t=>(e,n)=>{const r=t?M:y,o=()=>S(e,t,n);R(r,[e,o]),$((()=>{V(e,t?c:s),B(e,t?h:l),W(r)||Y(e,i,m,o)}))};return(0,r.l7)(e,{onBeforeEnter(t){R(v,[t]),B(t,s),B(t,a)},onBeforeAppear(t){R(k,[t]),B(t,c),B(t,u)},onEnter:T(!1),onAppear:T(!0),onLeave(t,e){t._isLeaving=!0;const n=()=>O(t,e);B(t,d),J(),B(t,f),$((()=>{t._isLeaving&&(V(t,d),B(t,p),W(x)||Y(t,i,b,n))})),R(x,[t,n])},onEnterCancelled(t){S(t,!1),R(_,[t])},onAppearCancelled(t){S(t,!0),R(E,[t])},onLeaveCancelled(t){O(t),R(w,[t])}})}function U(t){if(null==t)return null;if((0,r.Kn)(t))return[H(t.enter),H(t.leave)];{const e=H(t);return[e,e]}}function H(t){const e=(0,r.He)(t);return e}function B(t,e){e.split(/\s+/).forEach((e=>e&&t.classList.add(e))),(t._vtc||(t._vtc=new Set)).add(e)}function V(t,e){e.split(/\s+/).forEach((e=>e&&t.classList.remove(e)));const{_vtc:n}=t;n&&(n.delete(e),n.size||(t._vtc=void 0))}function $(t){requestAnimationFrame((()=>{requestAnimationFrame(t)}))}let Z=0;function Y(t,e,n,r){const i=t._endId=++Z,o=()=>{i===t._endId&&r()};if(n)return setTimeout(o,n);const{type:s,timeout:a,propCount:l}=q(t,e);if(!s)return r();const c=s+"end";let u=0;const h=()=>{t.removeEventListener(c,d),o()},d=e=>{e.target===t&&++u>=l&&h()};setTimeout((()=>{u<l&&h()}),a+1),t.addEventListener(c,d)}function q(t,e){const n=window.getComputedStyle(t),r=t=>(n[t]||"").split(", "),i=r(`${L}Delay`),o=r(`${L}Duration`),s=X(i,o),a=r(`${I}Delay`),l=r(`${I}Duration`),c=X(a,l);let u=null,h=0,d=0;e===L?s>0&&(u=L,h=s,d=o.length):e===I?c>0&&(u=I,h=c,d=l.length):(h=Math.max(s,c),u=h>0?s>c?L:I:null,d=u?u===L?o.length:l.length:0);const f=u===L&&/\b(transform|all)(,|$)/.test(r(`${L}Property`).toString());return{type:u,timeout:h,propCount:d,hasTransform:f}}function X(t,e){while(t.length<e.length)t=t.concat(t);return Math.max(...e.map(((e,n)=>G(e)+G(t[n]))))}function G(t){return 1e3*Number(t.slice(0,-1).replace(",","."))}function J(){return document.body.offsetHeight}const K=new WeakMap,Q=new WeakMap,tt={name:"TransitionGroup",props:(0,r.l7)({},F,{tag:String,moveClass:String}),setup(t,{slots:e}){const n=(0,i.FN)(),r=(0,i.Y8)();let s,a;return(0,i.ic)((()=>{if(!s.length)return;const e=t.moveClass||`${t.name||"v"}-move`;if(!it(s[0].el,n.vnode.el,e))return;s.forEach(et),s.forEach(nt);const r=s.filter(rt);J(),r.forEach((t=>{const n=t.el,r=n.style;B(n,e),r.transform=r.webkitTransform=r.transitionDuration="";const i=n._moveCb=t=>{t&&t.target!==n||t&&!/transform$/.test(t.propertyName)||(n.removeEventListener("transitionend",i),n._moveCb=null,V(n,e))};n.addEventListener("transitionend",i)}))})),()=>{const l=(0,o.IU)(t),c=z(l);let u=l.tag||i.HY;s=a,a=e.default?(0,i.Q6)(e.default()):[];for(let t=0;t<a.length;t++){const e=a[t];null!=e.key&&(0,i.nK)(e,(0,i.U2)(e,c,r,n))}if(s)for(let t=0;t<s.length;t++){const e=s[t];(0,i.nK)(e,(0,i.U2)(e,c,r,n)),K.set(e,e.el.getBoundingClientRect())}return(0,i.Wm)(u,null,a)}}};tt.props;function et(t){const e=t.el;e._moveCb&&e._moveCb(),e._enterCb&&e._enterCb()}function nt(t){Q.set(t,t.el.getBoundingClientRect())}function rt(t){const e=K.get(t),n=Q.get(t),r=e.left-n.left,i=e.top-n.top;if(r||i){const e=t.el.style;return e.transform=e.webkitTransform=`translate(${r}px,${i}px)`,e.transitionDuration="0s",t}}function it(t,e,n){const r=t.cloneNode();t._vtc&&t._vtc.forEach((t=>{t.split(/\s+/).forEach((t=>t&&r.classList.remove(t)))})),n.split(/\s+/).forEach((t=>t&&r.classList.add(t))),r.style.display="none";const i=1===e.nodeType?e:e.parentNode;i.appendChild(r);const{hasTransform:o}=q(r);return i.removeChild(r),o}const ot=t=>{const e=t.props["onUpdate:modelValue"]||!1;return(0,r.kJ)(e)?t=>(0,r.ir)(e,t):e};function st(t){t.target.composing=!0}function at(t){const e=t.target;e.composing&&(e.composing=!1,e.dispatchEvent(new Event("input")))}const lt={created(t,{modifiers:{lazy:e,trim:n,number:i}},o){t._assign=ot(o);const s=i||o.props&&"number"===o.props.type;_(t,e?"change":"input",(e=>{if(e.target.composing)return;let i=t.value;n&&(i=i.trim()),s&&(i=(0,r.h5)(i)),t._assign(i)})),n&&_(t,"change",(()=>{t.value=t.value.trim()})),e||(_(t,"compositionstart",st),_(t,"compositionend",at),_(t,"change",at))},mounted(t,{value:e}){t.value=null==e?"":e},beforeUpdate(t,{value:e,modifiers:{lazy:n,trim:i,number:o}},s){if(t._assign=ot(s),t.composing)return;if(document.activeElement===t&&"range"!==t.type){if(n)return;if(i&&t.value.trim()===e)return;if((o||"number"===t.type)&&(0,r.h5)(t.value)===e)return}const a=null==e?"":e;t.value!==a&&(t.value=a)}},ct={deep:!0,created(t,e,n){t._assign=ot(n),_(t,"change",(()=>{const e=t._modelValue,n=pt(t),i=t.checked,o=t._assign;if((0,r.kJ)(e)){const t=(0,r.hq)(e,n),s=-1!==t;if(i&&!s)o(e.concat(n));else if(!i&&s){const n=[...e];n.splice(t,1),o(n)}}else if((0,r.DM)(e)){const t=new Set(e);i?t.add(n):t.delete(n),o(t)}else o(gt(t,i))}))},mounted:ut,beforeUpdate(t,e,n){t._assign=ot(n),ut(t,e,n)}};function ut(t,{value:e,oldValue:n},i){t._modelValue=e,(0,r.kJ)(e)?t.checked=(0,r.hq)(e,i.props.value)>-1:(0,r.DM)(e)?t.checked=e.has(i.props.value):e!==n&&(t.checked=(0,r.WV)(e,gt(t,!0)))}const ht={created(t,{value:e},n){t.checked=(0,r.WV)(e,n.props.value),t._assign=ot(n),_(t,"change",(()=>{t._assign(pt(t))}))},beforeUpdate(t,{value:e,oldValue:n},i){t._assign=ot(i),e!==n&&(t.checked=(0,r.WV)(e,i.props.value))}},dt={deep:!0,created(t,{value:e,modifiers:{number:n}},i){const o=(0,r.DM)(e);_(t,"change",(()=>{const e=Array.prototype.filter.call(t.options,(t=>t.selected)).map((t=>n?(0,r.h5)(pt(t)):pt(t)));t._assign(t.multiple?o?new Set(e):e:e[0])})),t._assign=ot(i)},mounted(t,{value:e}){ft(t,e)},beforeUpdate(t,e,n){t._assign=ot(n)},updated(t,{value:e}){ft(t,e)}};function ft(t,e){const n=t.multiple;if(!n||(0,r.kJ)(e)||(0,r.DM)(e)){for(let i=0,o=t.options.length;i<o;i++){const o=t.options[i],s=pt(o);if(n)(0,r.kJ)(e)?o.selected=(0,r.hq)(e,s)>-1:o.selected=e.has(s);else if((0,r.WV)(pt(o),e))return void(t.selectedIndex!==i&&(t.selectedIndex=i))}n||-1===t.selectedIndex||(t.selectedIndex=-1)}}function pt(t){return"_value"in t?t._value:t.value}function gt(t,e){const n=e?"_trueValue":"_falseValue";return n in t?t[n]:e}const mt={created(t,e,n){vt(t,e,n,null,"created")},mounted(t,e,n){vt(t,e,n,null,"mounted")},beforeUpdate(t,e,n,r){vt(t,e,n,r,"beforeUpdate")},updated(t,e,n,r){vt(t,e,n,r,"updated")}};function bt(t,e){switch(t){case"SELECT":return dt;case"TEXTAREA":return lt;default:switch(e){case"checkbox":return ct;case"radio":return ht;default:return lt}}}function vt(t,e,n,r,i){const o=bt(t.tagName,n.props&&n.props.type),s=o[i];s&&s(t,e,n,r)}const yt=["ctrl","shift","alt","meta"],_t={stop:t=>t.stopPropagation(),prevent:t=>t.preventDefault(),self:t=>t.target!==t.currentTarget,ctrl:t=>!t.ctrlKey,shift:t=>!t.shiftKey,alt:t=>!t.altKey,meta:t=>!t.metaKey,left:t=>"button"in t&&0!==t.button,middle:t=>"button"in t&&1!==t.button,right:t=>"button"in t&&2!==t.button,exact:(t,e)=>yt.some((n=>t[`${n}Key`]&&!e.includes(n)))},xt=(t,e)=>(n,...r)=>{for(let t=0;t<e.length;t++){const r=_t[e[t]];if(r&&r(n,e))return}return t(n,...r)},wt={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},kt=(t,e)=>n=>{if(!("key"in n))return;const i=(0,r.rs)(n.key);return e.some((t=>t===i||wt[t]===i))?t(n):void 0};const Mt=(0,r.l7)({patchProp:A},c);let Et;function St(){return Et||(Et=(0,i.Us)(Mt))}const Ot=(...t)=>{St().render(...t)},Tt=(...t)=>{const e=St().createApp(...t);const{mount:n}=e;return e.mount=t=>{const i=Ct(t);if(!i)return;const o=e._component;(0,r.mf)(o)||o.render||o.template||(o.template=i.innerHTML),i.innerHTML="";const s=n(i,!1,i instanceof SVGElement);return i instanceof Element&&(i.removeAttribute("v-cloak"),i.setAttribute("data-v-app","")),s},e};function Ct(t){if((0,r.HD)(t)){const e=document.querySelector(t);return e}return t}},3577:function(t,e,n){"use strict";function r(t,e){const n=Object.create(null),r=t.split(",");for(let i=0;i<r.length;i++)n[r[i]]=!0;return e?t=>!!n[t.toLowerCase()]:t=>!!n[t]}n.d(e,{C_:function(){return h},DM:function(){return L},E9:function(){return st},F7:function(){return E},Gg:function(){return Z},HD:function(){return F},He:function(){return it},Kj:function(){return N},Kn:function(){return W},NO:function(){return k},Nj:function(){return nt},Od:function(){return T},PO:function(){return V},Pq:function(){return f},RI:function(){return P},S0:function(){return $},W7:function(){return B},WV:function(){return m},Z6:function(){return x},_A:function(){return X},_N:function(){return D},aU:function(){return tt},dG:function(){return w},e1:function(){return o},fY:function(){return r},h5:function(){return rt},hR:function(){return Q},hq:function(){return b},ir:function(){return et},j5:function(){return s},kC:function(){return K},kJ:function(){return A},kT:function(){return _},l7:function(){return O},mf:function(){return j},rs:function(){return J},tI:function(){return z},tR:function(){return S},yA:function(){return p},yk:function(){return R},zw:function(){return v}});const i="Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt",o=r(i);function s(t){if(A(t)){const e={};for(let n=0;n<t.length;n++){const r=t[n],i=F(r)?u(r):s(r);if(i)for(const t in i)e[t]=i[t]}return e}return F(t)||W(t)?t:void 0}const a=/;(?![^(]*\))/g,l=/:([^]+)/,c=/\/\*.*?\*\//gs;function u(t){const e={};return t.replace(c,"").split(a).forEach((t=>{if(t){const n=t.split(l);n.length>1&&(e[n[0].trim()]=n[1].trim())}})),e}function h(t){let e="";if(F(t))e=t;else if(A(t))for(let n=0;n<t.length;n++){const r=h(t[n]);r&&(e+=r+" ")}else if(W(t))for(const n in t)t[n]&&(e+=n+" ");return e.trim()}const d="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",f=r(d);function p(t){return!!t||""===t}function g(t,e){if(t.length!==e.length)return!1;let n=!0;for(let r=0;n&&r<t.length;r++)n=m(t[r],e[r]);return n}function m(t,e){if(t===e)return!0;let n=I(t),r=I(e);if(n||r)return!(!n||!r)&&t.getTime()===e.getTime();if(n=R(t),r=R(e),n||r)return t===e;if(n=A(t),r=A(e),n||r)return!(!n||!r)&&g(t,e);if(n=W(t),r=W(e),n||r){if(!n||!r)return!1;const i=Object.keys(t).length,o=Object.keys(e).length;if(i!==o)return!1;for(const n in t){const r=t.hasOwnProperty(n),i=e.hasOwnProperty(n);if(r&&!i||!r&&i||!m(t[n],e[n]))return!1}}return String(t)===String(e)}function b(t,e){return t.findIndex((t=>m(t,e)))}const v=t=>F(t)?t:null==t?"":A(t)||W(t)&&(t.toString===U||!j(t.toString))?JSON.stringify(t,y,2):String(t),y=(t,e)=>e&&e.__v_isRef?y(t,e.value):D(e)?{[`Map(${e.size})`]:[...e.entries()].reduce(((t,[e,n])=>(t[`${e} =>`]=n,t)),{})}:L(e)?{[`Set(${e.size})`]:[...e.values()]}:!W(e)||A(e)||V(e)?e:String(e),_={},x=[],w=()=>{},k=()=>!1,M=/^on[^a-z]/,E=t=>M.test(t),S=t=>t.startsWith("onUpdate:"),O=Object.assign,T=(t,e)=>{const n=t.indexOf(e);n>-1&&t.splice(n,1)},C=Object.prototype.hasOwnProperty,P=(t,e)=>C.call(t,e),A=Array.isArray,D=t=>"[object Map]"===H(t),L=t=>"[object Set]"===H(t),I=t=>"[object Date]"===H(t),N=t=>"[object RegExp]"===H(t),j=t=>"function"===typeof t,F=t=>"string"===typeof t,R=t=>"symbol"===typeof t,W=t=>null!==t&&"object"===typeof t,z=t=>W(t)&&j(t.then)&&j(t.catch),U=Object.prototype.toString,H=t=>U.call(t),B=t=>H(t).slice(8,-1),V=t=>"[object Object]"===H(t),$=t=>F(t)&&"NaN"!==t&&"-"!==t[0]&&""+parseInt(t,10)===t,Z=r(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Y=t=>{const e=Object.create(null);return n=>{const r=e[n];return r||(e[n]=t(n))}},q=/-(\w)/g,X=Y((t=>t.replace(q,((t,e)=>e?e.toUpperCase():"")))),G=/\B([A-Z])/g,J=Y((t=>t.replace(G,"-$1").toLowerCase())),K=Y((t=>t.charAt(0).toUpperCase()+t.slice(1))),Q=Y((t=>t?`on${K(t)}`:"")),tt=(t,e)=>!Object.is(t,e),et=(t,e)=>{for(let n=0;n<t.length;n++)t[n](e)},nt=(t,e,n)=>{Object.defineProperty(t,e,{configurable:!0,enumerable:!1,value:n})},rt=t=>{const e=parseFloat(t);return isNaN(e)?t:e},it=t=>{const e=F(t)?Number(t):NaN;return isNaN(e)?t:e};let ot;const st=()=>ot||(ot="undefined"!==typeof globalThis?globalThis:"undefined"!==typeof self?self:"undefined"!==typeof window?window:"undefined"!==typeof n.g?n.g:{})},1423:function(t,e,n){"use strict";n.d(e,{tu:function(){return Wt},Mu:function(){return W}});const r=t=>0===Object.keys(t).length,i=(t,e)=>t.push.apply(t,e),o=(t,e)=>{const n=t.split("");return n.map((t=>e[t]||t)).join("")},s=t=>t.sort(((t,e)=>t.i-e.i||t.j-e.j)),a=t=>{const e={};let n=1;return t.forEach((t=>{e[t]=n,n+=1})),e};var l={4:[[1,2],[2,3]],5:[[1,3],[2,3],[2,4]],6:[[1,2],[2,4],[4,5]],7:[[1,3],[2,3],[4,5],[4,6]],8:[[2,4],[4,6]]};const c=2050,u=1e3,h=l,d=10,f=1e4,p=10,g=50,m=20,b=/^[A-Z\xbf-\xdf][^A-Z\xbf-\xdf]+$/,v=/^[^A-Z\xbf-\xdf]+[A-Z\xbf-\xdf]$/,y=/^[A-Z\xbf-\xdf]+$/,_=/^[^a-z\xdf-\xff]+$/,x=/^[a-z\xdf-\xff]+$/,w=/^[^A-Z\xbf-\xdf]+$/,k=/[a-z\xdf-\xff]/,M=/[A-Z\xbf-\xdf]/,E=/[^A-Za-z\xbf-\xdf]/gi,S=/^\d+$/,O=(new Date).getFullYear(),T={recentYear:/19\d\d|200\d|201\d|202\d/g};class C{match({password:t}){const e=[...this.getMatchesWithoutSeparator(t),...this.getMatchesWithSeparator(t)],n=this.filterNoise(e);return s(n)}getMatchesWithSeparator(t){const e=[],n=/^(\d{1,4})([\s/\\_.-])(\d{1,2})\2(\d{1,4})$/;for(let r=0;r<=Math.abs(t.length-6);r+=1)for(let i=r+5;i<=r+9;i+=1){if(i>=t.length)break;const o=t.slice(r,+i+1||9e9),s=n.exec(o);if(null!=s){const t=this.mapIntegersToDayMonthYear([parseInt(s[1],10),parseInt(s[3],10),parseInt(s[4],10)]);null!=t&&e.push({pattern:"date",token:o,i:r,j:i,separator:s[2],year:t.year,month:t.month,day:t.day})}}return e}getMatchesWithoutSeparator(t){const e=[],n=/^\d{4,8}$/,r=t=>Math.abs(t.year-O);for(let i=0;i<=Math.abs(t.length-4);i+=1)for(let o=i+3;o<=i+7;o+=1){if(o>=t.length)break;const s=t.slice(i,+o+1||9e9);if(n.exec(s)){const t=[],n=s.length,a=h[n];if(a.forEach((([e,n])=>{const r=this.mapIntegersToDayMonthYear([parseInt(s.slice(0,e),10),parseInt(s.slice(e,n),10),parseInt(s.slice(n),10)]);null!=r&&t.push(r)})),t.length>0){let n=t[0],a=r(t[0]);t.slice(1).forEach((t=>{const e=r(t);e<a&&(n=t,a=e)})),e.push({pattern:"date",token:s,i:i,j:o,separator:"",year:n.year,month:n.month,day:n.day})}}}return e}filterNoise(t){return t.filter((e=>{let n=!1;const r=t.length;for(let i=0;i<r;i+=1){const r=t[i];if(e!==r&&r.i<=e.i&&r.j>=e.j){n=!0;break}}return!n}))}mapIntegersToDayMonthYear(t){if(t[1]>31||t[1]<=0)return null;let e=0,n=0,r=0;for(let i=0,o=t.length;i<o;i+=1){const o=t[i];if(o>99&&o<u||o>c)return null;o>31&&(n+=1),o>12&&(e+=1),o<=0&&(r+=1)}return n>=2||3===e||r>=2?null:this.getDayMonth(t)}getDayMonth(t){const e=[[t[2],t.slice(0,2)],[t[0],t.slice(1,3)]],n=e.length;for(let r=0;r<n;r+=1){const[t,n]=e[r];if(u<=t&&t<=c){const e=this.mapIntegersToDayMonth(n);return null!=e?{year:t,month:e.month,day:e.day}:null}}for(let r=0;r<n;r+=1){const[t,n]=e[r],i=this.mapIntegersToDayMonth(n);if(null!=i)return{year:this.twoToFourDigitYear(t),month:i.month,day:i.day}}return null}mapIntegersToDayMonth(t){const e=[t,t.slice().reverse()];for(let n=0;n<e.length;n+=1){const t=e[n],r=t[0],i=t[1];if(r>=1&&r<=31&&i>=1&&i<=12)return{day:r,month:i}}return null}twoToFourDigitYear(t){return t>99?t:t>50?t+1900:t+2e3}}const P=new Uint32Array(65536),A=(t,e)=>{const n=t.length,r=e.length,i=1<<n-1;let o=-1,s=0,a=n,l=n;while(l--)P[t.charCodeAt(l)]|=1<<l;for(l=0;l<r;l++){let t=P[e.charCodeAt(l)];const n=t|s;t|=(t&o)+o^o,s|=~(t|o),o&=t,s&i&&a++,o&i&&a--,s=s<<1|1,o=o<<1|~(n|s),s&=n}l=n;while(l--)P[t.charCodeAt(l)]=0;return a},D=(t,e)=>{const n=e.length,r=t.length,i=[],o=[],s=Math.ceil(n/32),a=Math.ceil(r/32);for(let p=0;p<s;p++)o[p]=-1,i[p]=0;let l=0;for(;l<a-1;l++){let s=0,a=-1;const c=32*l,u=Math.min(32,r)+c;for(let e=c;e<u;e++)P[t.charCodeAt(e)]|=1<<e;for(let t=0;t<n;t++){const n=P[e.charCodeAt(t)],r=o[t/32|0]>>>t&1,l=i[t/32|0]>>>t&1,c=n|s,u=((n|l)&a)+a^a|n|l;let h=s|~(u|a),d=a&u;h>>>31^r&&(o[t/32|0]^=1<<t),d>>>31^l&&(i[t/32|0]^=1<<t),h=h<<1|r,d=d<<1|l,a=d|~(c|h),s=h&c}for(let e=c;e<u;e++)P[t.charCodeAt(e)]=0}let c=0,u=-1;const h=32*l,d=Math.min(32,r-h)+h;for(let p=h;p<d;p++)P[t.charCodeAt(p)]|=1<<p;let f=r;for(let p=0;p<n;p++){const t=P[e.charCodeAt(p)],n=o[p/32|0]>>>p&1,s=i[p/32|0]>>>p&1,a=t|c,l=((t|s)&u)+u^u|t|s;let h=c|~(l|u),d=u&l;f+=h>>>r-1&1,f-=d>>>r-1&1,h>>>31^n&&(o[p/32|0]^=1<<p),d>>>31^s&&(i[p/32|0]^=1<<p),h=h<<1|n,d=d<<1|s,u=d|~(a|h),c=h&a}for(let p=h;p<d;p++)P[t.charCodeAt(p)]=0;return f},L=(t,e)=>{if(t.length<e.length){const n=e;e=t,t=n}return 0===e.length?t.length:t.length<=32?A(t,e):D(t,e)},I=(t,e,n)=>{const r=t.length<=e.length,i=t.length<=n,o=r||i;return o?Math.ceil(t.length/4):n},N=(t,e,n)=>{let r=0;const i=Object.keys(e).find((e=>{const i=I(t,e,n),o=L(t,e),s=o<=i;return s&&(r=o),s}));return i?{levenshteinDistance:r,levenshteinDistanceEntry:i}:{}};var j={a:["4","@"],b:["8"],c:["(","{","[","<"],e:["3"],g:["6","9"],i:["1","!","|"],l:["1","|","7"],o:["0"],s:["$","5"],t:["+","7"],x:["%"],z:["2"]},F={warnings:{straightRow:"straightRow",keyPattern:"keyPattern",simpleRepeat:"simpleRepeat",extendedRepeat:"extendedRepeat",sequences:"sequences",recentYears:"recentYears",dates:"dates",topTen:"topTen",topHundred:"topHundred",common:"common",similarToCommon:"similarToCommon",wordByItself:"wordByItself",namesByThemselves:"namesByThemselves",commonNames:"commonNames",userInputs:"userInputs",pwned:"pwned"},suggestions:{l33t:"l33t",reverseWords:"reverseWords",allUppercase:"allUppercase",capitalization:"capitalization",dates:"dates",recentYears:"recentYears",associatedYears:"associatedYears",sequences:"sequences",repeated:"repeated",longerKeyboardPattern:"longerKeyboardPattern",anotherWord:"anotherWord",useWords:"useWords",noNeed:"noNeed",pwned:"pwned"},timeEstimation:{ltSecond:"ltSecond",second:"second",seconds:"seconds",minute:"minute",minutes:"minutes",hour:"hour",hours:"hours",day:"day",days:"days",month:"month",months:"months",year:"year",years:"years",centuries:"centuries"}};class R{constructor(){this.matchers={},this.l33tTable=j,this.dictionary={userInputs:[]},this.rankedDictionaries={},this.rankedDictionariesMaxWordSize={},this.translations=F,this.graphs={},this.useLevenshteinDistance=!1,this.levenshteinThreshold=2,this.l33tMaxSubstitutions=100,this.maxLength=256,this.setRankedDictionaries()}setOptions(t={}){t.l33tTable&&(this.l33tTable=t.l33tTable),t.dictionary&&(this.dictionary=t.dictionary,this.setRankedDictionaries()),t.translations&&this.setTranslations(t.translations),t.graphs&&(this.graphs=t.graphs),void 0!==t.useLevenshteinDistance&&(this.useLevenshteinDistance=t.useLevenshteinDistance),void 0!==t.levenshteinThreshold&&(this.levenshteinThreshold=t.levenshteinThreshold),void 0!==t.l33tMaxSubstitutions&&(this.l33tMaxSubstitutions=t.l33tMaxSubstitutions),void 0!==t.maxLength&&(this.maxLength=t.maxLength)}setTranslations(t){if(!this.checkCustomTranslations(t))throw new Error("Invalid translations object fallback to keys");this.translations=t}checkCustomTranslations(t){let e=!0;return Object.keys(F).forEach((n=>{if(n in t){const r=n;Object.keys(F[r]).forEach((n=>{n in t[r]||(e=!1)}))}else e=!1})),e}setRankedDictionaries(){const t={},e={};Object.keys(this.dictionary).forEach((n=>{t[n]=this.getRankedDictionary(n),e[n]=this.getRankedDictionariesMaxWordSize(n)})),this.rankedDictionaries=t,this.rankedDictionariesMaxWordSize=e}getRankedDictionariesMaxWordSize(t){const e=this.dictionary[t].map((t=>"string"!==typeof t?t.toString().length:t.length));return 0===e.length?0:e.reduce(((t,e)=>Math.max(t,e)),-1/0)}getRankedDictionary(t){const e=this.dictionary[t];if("userInputs"===t){const t=[];return e.forEach((e=>{const n=typeof e;"string"!==n&&"number"!==n&&"boolean"!==n||t.push(e.toString().toLowerCase())})),a(t)}return a(e)}extendUserInputsDictionary(t){this.dictionary.userInputs?this.dictionary.userInputs=[...this.dictionary.userInputs,...t]:this.dictionary.userInputs=t,this.rankedDictionaries.userInputs=this.getRankedDictionary("userInputs"),this.rankedDictionariesMaxWordSize.userInputs=this.getRankedDictionariesMaxWordSize("userInputs")}addMatcher(t,e){this.matchers[t]?console.info(`Matcher ${t} already exists`):this.matchers[t]=e}}const W=new R;class z{constructor(t){this.defaultMatch=t}match({password:t}){const e=t.split("").reverse().join("");return this.defaultMatch({password:e}).map((e=>({...e,token:e.token.split("").reverse().join(""),reversed:!0,i:t.length-1-e.j,j:t.length-1-e.i})))}}class U{constructor(t){this.defaultMatch=t}match({password:t}){const e=[],n=this.enumerateL33tSubs(this.relevantL33tSubtable(t,W.l33tTable)),i=Math.min(n.length,W.l33tMaxSubstitutions);for(let s=0;s<i;s+=1){const i=n[s];if(r(i))break;const a=o(t,i),l=this.defaultMatch({password:a});l.forEach((n=>{const r=t.slice(n.i,+n.j+1||9e9);if(r.toLowerCase()!==n.matchedWord){const t={};Object.keys(i).forEach((e=>{const n=i[e];-1!==r.indexOf(e)&&(t[e]=n)}));const o=Object.keys(t).map((e=>`${e} -> ${t[e]}`)).join(", ");e.push({...n,l33t:!0,token:r,sub:t,subDisplay:o})}}))}return e.filter((t=>t.token.length>1))}relevantL33tSubtable(t,e){const n={},r={};return t.split("").forEach((t=>{n[t]=!0})),Object.keys(e).forEach((t=>{const i=e[t],o=i.filter((t=>t in n));o.length>0&&(r[t]=o)})),r}enumerateL33tSubs(t){const e=Object.keys(t),n=this.getSubs(e,[[]],t);return n.map((t=>{const e={};return t.forEach((([t,n])=>{e[t]=n})),e}))}getSubs(t,e,n){if(!t.length)return e;const r=t[0],i=t.slice(1),o=[];n[r].forEach((t=>{e.forEach((e=>{let n=-1;for(let r=0;r<e.length;r+=1)if(e[r][0]===t){n=r;break}if(-1===n){const n=e.concat([[t,r]]);o.push(n)}else{const i=e.slice(0);i.splice(n,1),i.push([t,r]),o.push(e),o.push(i)}}))}));const s=this.dedup(o);return i.length?this.getSubs(i,s,n):s}dedup(t){const e=[],n={};return t.forEach((t=>{const r=t.map(((t,e)=>[t,e]));r.sort();const i=r.map((([t,e])=>`${t},${e}`)).join("-");i in n||(n[i]=!0,e.push(t))})),e}}class H{constructor(){this.l33t=new U(this.defaultMatch),this.reverse=new z(this.defaultMatch)}match({password:t}){const e=[...this.defaultMatch({password:t}),...this.reverse.match({password:t}),...this.l33t.match({password:t})];return s(e)}defaultMatch({password:t}){const e=[],n=t.length,r=t.toLowerCase();return Object.keys(W.rankedDictionaries).forEach((i=>{const o=W.rankedDictionaries[i],s=W.rankedDictionariesMaxWordSize[i],a=Math.min(s,n);for(let l=0;l<n;l+=1){const s=Math.min(l+a,n);for(let a=l;a<s;a+=1){const s=r.slice(l,+a+1||9e9),c=s in o;let u={};const h=0===l&&a===n-1;W.useLevenshteinDistance&&h&&!c&&(u=N(s,o,W.levenshteinThreshold));const d=0!==Object.keys(u).length;if(c||d){const n=d?u.levenshteinDistanceEntry:s,r=o[n];e.push({pattern:"dictionary",i:l,j:a,token:t.slice(l,+a+1||9e9),matchedWord:s,rank:r,dictionaryName:i,reversed:!1,l33t:!1,...u})}}}})),e}}class B{match({password:t,regexes:e=T}){const n=[];return Object.keys(e).forEach((r=>{const i=e[r];i.lastIndex=0;const o=i.exec(t);if(o){const t=o[0];n.push({pattern:"regex",token:t,i:o.index,j:o.index+o[0].length-1,regexName:r,regexMatch:o})}})),s(n)}}var V={nCk(t,e){let n=t;if(e>n)return 0;if(0===e)return 1;let r=1;for(let i=1;i<=e;i+=1)r*=n,r/=i,n-=1;return r},log10(t){return Math.log(t)/Math.log(10)},log2(t){return Math.log(t)/Math.log(2)},factorial(t){let e=1;for(let n=2;n<=t;n+=1)e*=n;return e}},$=({token:t})=>{let e,n=d**t.length;return n===Number.POSITIVE_INFINITY&&(n=Number.MAX_VALUE),e=1===t.length?p+1:g+1,Math.max(n,e)},Z=({year:t,separator:e})=>{const n=Math.max(Math.abs(t-O),m);let r=365*n;return e&&(r*=4),r};const Y=t=>{const e=t.split(""),n=e.filter((t=>t.match(M))).length,r=e.filter((t=>t.match(k))).length;let i=0;const o=Math.min(n,r);for(let s=1;s<=o;s+=1)i+=V.nCk(n+r,s);return i};var q=t=>{const e=t.replace(E,"");if(e.match(w)||e.toLowerCase()===e)return 1;const n=[b,v,_],r=n.length;for(let i=0;i<r;i+=1){const t=n[i];if(e.match(t))return 2}return Y(e)};const X=({subs:t,subbed:e,token:n})=>{const r=t[e],i=n.toLowerCase().split(""),o=i.filter((t=>t===e)).length,s=i.filter((t=>t===r)).length;return{subbedCount:o,unsubbedCount:s}};var G=({l33t:t,sub:e,token:n})=>{if(!t)return 1;let r=1;const i=e;return Object.keys(i).forEach((t=>{const{subbedCount:e,unsubbedCount:o}=X({subs:i,subbed:t,token:n});if(0===e||0===o)r*=2;else{const t=Math.min(o,e);let n=0;for(let r=1;r<=t;r+=1)n+=V.nCk(o+e,r);r*=n}})),r},J=({rank:t,reversed:e,l33t:n,sub:r,token:i})=>{const o=t,s=q(i),a=G({l33t:n,sub:r,token:i}),l=e?2:1,c=o*s*a*l;return{baseGuesses:o,uppercaseVariations:s,l33tVariations:a,calculation:c}},K=({regexName:t,regexMatch:e,token:n})=>{const r={alphaLower:26,alphaUpper:26,alpha:52,alphanumeric:62,digits:10,symbols:33};if(t in r)return r[t]**n.length;switch(t){case"recentYear":return Math.max(Math.abs(parseInt(e[0],10)-O),m)}return 0},Q=({baseGuesses:t,repeatCount:e})=>t*e,tt=({token:t,ascending:e})=>{const n=t.charAt(0);let r=0;const i=["a","A","z","Z","0","1","9"];return r=i.includes(n)?4:n.match(/\d/)?10:26,e||(r*=2),r*t.length};const et=t=>{let e=0;return Object.keys(t).forEach((n=>{const r=t[n];e+=r.filter((t=>!!t)).length})),e/=Object.entries(t).length,e},nt=({token:t,graph:e,turns:n})=>{const r=Object.keys(W.graphs[e]).length,i=et(W.graphs[e]);let o=0;const s=t.length;for(let a=2;a<=s;a+=1){const t=Math.min(n,a-1);for(let e=1;e<=t;e+=1)o+=V.nCk(a-1,e-1)*r*i**e}return o};var rt=({graph:t,token:e,shiftedCount:n,turns:r})=>{let i=nt({token:e,graph:t,turns:r});if(n){const t=e.length-n;if(0===n||0===t)i*=2;else{let e=0;for(let r=1;r<=Math.min(n,t);r+=1)e+=V.nCk(n+t,r);i*=e}}return Math.round(i)};const it=(t,e)=>{let n=1;return t.token.length<e.length&&(n=1===t.token.length?p:g),n},ot={bruteforce:$,date:Z,dictionary:J,regex:K,repeat:Q,sequence:tt,spatial:rt},st=(t,e)=>ot[t]?ot[t](e):W.matchers[t]&&"scoring"in W.matchers[t]?W.matchers[t].scoring(e):0;var at=(t,e)=>{const n={};if("guesses"in t&&null!=t.guesses)return t;const r=it(t,e),i=st(t.pattern,t);let o=0;"number"===typeof i?o=i:"dictionary"===t.pattern&&(o=i.calculation,n.baseGuesses=i.baseGuesses,n.uppercaseVariations=i.uppercaseVariations,n.l33tVariations=i.l33tVariations);const s=Math.max(o,r);return{...t,...n,guesses:s,guessesLog10:V.log10(s)}};const lt={password:"",optimal:{},excludeAdditive:!1,fillArray(t,e){const n=[];for(let r=0;r<t;r+=1){let t=[];"object"===e&&(t={}),n.push(t)}return n},makeBruteforceMatch(t,e){return{pattern:"bruteforce",token:this.password.slice(t,+e+1||9e9),i:t,j:e}},update(t,e){const n=t.j,r=at(t,this.password);let i=r.guesses;e>1&&(i*=this.optimal.pi[r.i-1][e-1]);let o=V.factorial(e)*i;this.excludeAdditive||(o+=f**(e-1));let s=!1;Object.keys(this.optimal.g[n]).forEach((t=>{const r=this.optimal.g[n][t];parseInt(t,10)<=e&&r<=o&&(s=!0)})),s||(this.optimal.g[n][e]=o,this.optimal.m[n][e]=r,this.optimal.pi[n][e]=i)},bruteforceUpdate(t){let e=this.makeBruteforceMatch(0,t);this.update(e,1);for(let n=1;n<=t;n+=1){e=this.makeBruteforceMatch(n,t);const r=this.optimal.m[n-1];Object.keys(r).forEach((t=>{const n=r[t];"bruteforce"!==n.pattern&&this.update(e,parseInt(t,10)+1)}))}},unwind(t){const e=[];let n=t-1,r=0,i=Infinity;const o=this.optimal.g[n];o&&Object.keys(o).forEach((t=>{const e=o[t];e<i&&(r=parseInt(t,10),i=e)}));while(n>=0){const t=this.optimal.m[n][r];e.unshift(t),n=t.i-1,r-=1}return e}};var ct={mostGuessableMatchSequence(t,e,n=!1){lt.password=t,lt.excludeAdditive=n;const r=t.length;let i=lt.fillArray(r,"array");e.forEach((t=>{i[t.j].push(t)})),i=i.map((t=>t.sort(((t,e)=>t.i-e.i)))),lt.optimal={m:lt.fillArray(r,"object"),pi:lt.fillArray(r,"object"),g:lt.fillArray(r,"object")};for(let l=0;l<r;l+=1)i[l].forEach((t=>{t.i>0?Object.keys(lt.optimal.m[t.i-1]).forEach((e=>{lt.update(t,parseInt(e,10)+1)})):lt.update(t,1)})),lt.bruteforceUpdate(l);const o=lt.unwind(r),s=o.length,a=this.getGuesses(t,s);return{password:t,guesses:a,guessesLog10:V.log10(a),sequence:o}},getGuesses(t,e){const n=t.length;let r=0;return r=0===t.length?1:lt.optimal.g[n-1][e],r}};class ut{match({password:t,omniMatch:e}){const n=[];let r=0;while(r<t.length){const i=this.getGreedyMatch(t,r),o=this.getLazyMatch(t,r);if(null==i)break;const{match:s,baseToken:a}=this.setMatchToken(i,o);if(s){const t=s.index+s[0].length-1,i=this.getBaseGuesses(a,e);n.push(this.normalizeMatch(a,t,s,i)),r=t+1}}const i=n.some((t=>t instanceof Promise));return i?Promise.all(n):n}normalizeMatch(t,e,n,r){const i={pattern:"repeat",i:n.index,j:e,token:n[0],baseToken:t,baseGuesses:0,repeatCount:n[0].length/t.length};return r instanceof Promise?r.then((t=>({...i,baseGuesses:t}))):{...i,baseGuesses:r}}getGreedyMatch(t,e){const n=/(.+)\1+/g;return n.lastIndex=e,n.exec(t)}getLazyMatch(t,e){const n=/(.+?)\1+/g;return n.lastIndex=e,n.exec(t)}setMatchToken(t,e){const n=/^(.+?)\1+$/;let r,i="";if(e&&t[0].length>e[0].length){r=t;const e=n.exec(r[0]);e&&(i=e[1])}else r=e,r&&(i=r[1]);return{match:r,baseToken:i}}getBaseGuesses(t,e){const n=e.match(t);if(n instanceof Promise)return n.then((e=>{const n=ct.mostGuessableMatchSequence(t,e);return n.guesses}));const r=ct.mostGuessableMatchSequence(t,n);return r.guesses}}class ht{constructor(){this.MAX_DELTA=5}match({password:t}){const e=[];if(1===t.length)return[];let n=0,r=null;const i=t.length;for(let o=1;o<i;o+=1){const i=t.charCodeAt(o)-t.charCodeAt(o-1);if(null==r&&(r=i),i!==r){const s=o-1;this.update({i:n,j:s,delta:r,password:t,result:e}),n=s,r=i}}return this.update({i:n,j:i-1,delta:r,password:t,result:e}),e}update({i:t,j:e,delta:n,password:r,result:i}){if(e-t>1||1===Math.abs(n)){const o=Math.abs(n);if(o>0&&o<=this.MAX_DELTA){const o=r.slice(t,+e+1||9e9),{sequenceName:s,sequenceSpace:a}=this.getSequence(o);return i.push({pattern:"sequence",i:t,j:e,token:r.slice(t,+e+1||9e9),sequenceName:s,sequenceSpace:a,ascending:n>0})}}return null}getSequence(t){let e="unicode",n=26;return x.test(t)?(e="lower",n=26):y.test(t)?(e="upper",n=26):S.test(t)&&(e="digits",n=10),{sequenceName:e,sequenceSpace:n}}}class dt{constructor(){this.SHIFTED_RX=/[~!@#$%^&*()_+QWERTYUIOP{}|ASDFGHJKL:"ZXCVBNM<>?]/}match({password:t}){const e=[];return Object.keys(W.graphs).forEach((n=>{const r=W.graphs[n];i(e,this.helper(t,r,n))})),s(e)}checkIfShifted(t,e,n){return!t.includes("keypad")&&this.SHIFTED_RX.test(e.charAt(n))?1:0}helper(t,e,n){let r;const i=[];let o=0;const s=t.length;while(o<s-1){let a=o+1,l=0,c=0;r=this.checkIfShifted(n,t,o);while(1){const u=t.charAt(a-1),h=e[u]||[];let d=!1,f=-1,p=-1;if(a<s){const e=t.charAt(a),n=h.length;for(let t=0;t<n;t+=1){const n=h[t];if(p+=1,n){const t=n.indexOf(e);if(-1!==t){d=!0,f=p,1===t&&(r+=1),l!==f&&(c+=1,l=f);break}}}}if(!d){a-o>2&&i.push({pattern:"spatial",i:o,j:a-1,token:t.slice(o,a),graph:n,turns:c,shiftedCount:r}),o=a;break}a+=1}}return i}}class ft{constructor(){this.matchers={date:C,dictionary:H,regex:B,repeat:ut,sequence:ht,spatial:dt}}match(t){const e=[],n=[],r=[...Object.keys(this.matchers),...Object.keys(W.matchers)];return r.forEach((r=>{if(!this.matchers[r]&&!W.matchers[r])return;const o=this.matchers[r]?this.matchers[r]:W.matchers[r].Matching,s=new o,a=s.match({password:t,omniMatch:this});a instanceof Promise?(a.then((t=>{i(e,t)})),n.push(a)):i(e,a)})),n.length>0?new Promise((t=>{Promise.all(n).then((()=>{t(s(e))}))})):s(e)}}const pt=1,gt=60*pt,mt=60*gt,bt=24*mt,vt=31*bt,yt=12*vt,_t=100*yt,xt={second:pt,minute:gt,hour:mt,day:bt,month:vt,year:yt,century:_t};class wt{translate(t,e){let n=t;void 0!==e&&1!==e&&(n+="s");const{timeEstimation:r}=W.translations;return r[n].replace("{base}",`${e}`)}estimateAttackTimes(t){const e={onlineThrottling100PerHour:t/(100/3600),onlineNoThrottling10PerSecond:t/10,offlineSlowHashing1e4PerSecond:t/1e4,offlineFastHashing1e10PerSecond:t/1e10},n={onlineThrottling100PerHour:"",onlineNoThrottling10PerSecond:"",offlineSlowHashing1e4PerSecond:"",offlineFastHashing1e10PerSecond:""};return Object.keys(e).forEach((t=>{const r=e[t];n[t]=this.displayTime(r)})),{crackTimesSeconds:e,crackTimesDisplay:n,score:this.guessesToScore(t)}}guessesToScore(t){const e=5;return t<1e3+e?0:t<1e6+e?1:t<1e8+e?2:t<1e10+e?3:4}displayTime(t){let e,n="centuries";const r=Object.keys(xt),i=r.findIndex((e=>t<xt[e]));return i>-1&&(n=r[i-1],0!==i?e=Math.round(t/xt[n]):n="ltSecond"),this.translate(n,e)}}var kt=()=>null,Mt=()=>({warning:W.translations.warnings.dates,suggestions:[W.translations.suggestions.dates]});const Et=(t,e)=>{let n="";return!e||t.l33t||t.reversed?t.guessesLog10<=4&&(n=W.translations.warnings.similarToCommon):n=t.rank<=10?W.translations.warnings.topTen:t.rank<=100?W.translations.warnings.topHundred:W.translations.warnings.common,n},St=(t,e)=>{let n="";return e&&(n=W.translations.warnings.wordByItself),n},Ot=(t,e)=>e?W.translations.warnings.namesByThemselves:W.translations.warnings.commonNames,Tt=(t,e)=>{let n="";const r=t.dictionaryName,i="lastnames"===r||r.toLowerCase().includes("firstnames");return"passwords"===r?n=Et(t,e):r.includes("wikipedia")?n=St(t,e):i?n=Ot(t,e):"userInputs"===r&&(n=W.translations.warnings.userInputs),n};var Ct=(t,e)=>{const n=Tt(t,e),r=[],i=t.token;return i.match(b)?r.push(W.translations.suggestions.capitalization):i.match(_)&&i.toLowerCase()!==i&&r.push(W.translations.suggestions.allUppercase),t.reversed&&t.token.length>=4&&r.push(W.translations.suggestions.reverseWords),t.l33t&&r.push(W.translations.suggestions.l33t),{warning:n,suggestions:r}},Pt=t=>"recentYear"===t.regexName?{warning:W.translations.warnings.recentYears,suggestions:[W.translations.suggestions.recentYears,W.translations.suggestions.associatedYears]}:{warning:"",suggestions:[]},At=t=>{let e=W.translations.warnings.extendedRepeat;return 1===t.baseToken.length&&(e=W.translations.warnings.simpleRepeat),{warning:e,suggestions:[W.translations.suggestions.repeated]}},Dt=()=>({warning:W.translations.warnings.sequences,suggestions:[W.translations.suggestions.sequences]}),Lt=t=>{let e=W.translations.warnings.keyPattern;return 1===t.turns&&(e=W.translations.warnings.straightRow),{warning:e,suggestions:[W.translations.suggestions.longerKeyboardPattern]}};const It={warning:"",suggestions:[]};class Nt{constructor(){this.matchers={bruteforce:kt,date:Mt,dictionary:Ct,regex:Pt,repeat:At,sequence:Dt,spatial:Lt},this.defaultFeedback={warning:"",suggestions:[]},this.setDefaultSuggestions()}setDefaultSuggestions(){this.defaultFeedback.suggestions.push(W.translations.suggestions.useWords,W.translations.suggestions.noNeed)}getFeedback(t,e){if(0===e.length)return this.defaultFeedback;if(t>2)return It;const n=W.translations.suggestions.anotherWord,r=this.getLongestMatch(e);let i=this.getMatchFeedback(r,1===e.length);return null!==i&&void 0!==i?(i.suggestions.unshift(n),null==i.warning&&(i.warning="")):i={warning:"",suggestions:[n]},i}getLongestMatch(t){let e=t[0];const n=t.slice(1);return n.forEach((t=>{t.token.length>e.token.length&&(e=t)})),e}getMatchFeedback(t,e){return this.matchers[t.pattern]?this.matchers[t.pattern](t,e):W.matchers[t.pattern]&&"feedback"in W.matchers[t.pattern]?W.matchers[t.pattern].feedback(t,e):It}}const jt=()=>(new Date).getTime(),Ft=(t,e,n)=>{const r=new Nt,i=new wt,o=ct.mostGuessableMatchSequence(e,t),s=jt()-n,a=i.estimateAttackTimes(o.guesses);return{calcTime:s,...o,...a,feedback:r.getFeedback(a.score,o.sequence)}},Rt=(t,e)=>{e&&W.extendUserInputsDictionary(e);const n=new ft;return n.match(t)},Wt=(t,e)=>{const n=jt(),r=Rt(t,e);if(r instanceof Promise)throw new Error("You are using a Promised matcher, please use `zxcvbnAsync` for it.");return Ft(r,t,n)}},7028:function(t,e,n){"use strict";n.d(e,{Z:function(){return Y}});var r=n(9676),i=n(3148),o=function(){if("undefined"!==typeof window){if(window.devicePixelRatio)return window.devicePixelRatio;var t=window.screen;if(t)return(t.deviceXDPI||1)/(t.logicalXDPI||1)}return 1}(),s={toTextLines:function(t){var e,n=[];t=[].concat(t);while(t.length)e=t.pop(),"string"===typeof e?n.unshift.apply(n,e.split("\n")):Array.isArray(e)?t.push.apply(t,e):(0,r.k)(t)||n.unshift(""+e);return n},textSize:function(t,e,n){var r,i=[].concat(e),o=i.length,s=t.font,a=0;for(t.font=n.string,r=0;r<o;++r)a=Math.max(t.measureText(i[r]).width,a);return t.font=s,{height:o*n.lineHeight,width:a}},bound:function(t,e,n){return Math.max(t,Math.min(e,n))},arrayDiff:function(t,e){var n,r,i,o,s=t.slice(),a=[];for(n=0,i=e.length;n<i;++n)o=e[n],r=s.indexOf(o),-1===r?a.push([o,1]):s.splice(r,1);for(n=0,i=s.length;n<i;++n)a.push([s[n],-1]);return a},rasterize:function(t){return Math.round(t*o)/o}};function a(t,e){var n=e.x,r=e.y;if(null===n)return{x:0,y:-1};if(null===r)return{x:1,y:0};var i=t.x-n,o=t.y-r,s=Math.sqrt(i*i+o*o);return{x:s?i/s:0,y:s?o/s:-1}}function l(t,e,n,r,i){switch(i){case"center":n=r=0;break;case"bottom":n=0,r=1;break;case"right":n=1,r=0;break;case"left":n=-1,r=0;break;case"top":n=0,r=-1;break;case"start":n=-n,r=-r;break;case"end":break;default:i*=Math.PI/180,n=Math.cos(i),r=Math.sin(i);break}return{x:t,y:e,vx:n,vy:r}}var c=0,u=1,h=2,d=4,f=8;function p(t,e,n){var r=c;return t<n.left?r|=u:t>n.right&&(r|=h),e<n.top?r|=f:e>n.bottom&&(r|=d),r}function g(t,e){var n,r,i,o=t.x0,s=t.y0,a=t.x1,l=t.y1,c=p(o,s,e),g=p(a,l,e);while(1){if(!(c|g)||c&g)break;n=c||g,n&f?(r=o+(a-o)*(e.top-s)/(l-s),i=e.top):n&d?(r=o+(a-o)*(e.bottom-s)/(l-s),i=e.bottom):n&h?(i=s+(l-s)*(e.right-o)/(a-o),r=e.right):n&u&&(i=s+(l-s)*(e.left-o)/(a-o),r=e.left),n===c?(o=r,s=i,c=p(o,s,e)):(a=r,l=i,g=p(a,l,e))}return{x0:o,x1:a,y0:s,y1:l}}function m(t,e){var n,r,i=e.anchor,o=t;return e.clamp&&(o=g(o,e.area)),"start"===i?(n=o.x0,r=o.y0):"end"===i?(n=o.x1,r=o.y1):(n=(o.x0+o.x1)/2,r=(o.y0+o.y1)/2),l(n,r,t.vx,t.vy,e.align)}var b={arc:function(t,e){var n=(t.startAngle+t.endAngle)/2,r=Math.cos(n),i=Math.sin(n),o=t.innerRadius,s=t.outerRadius;return m({x0:t.x+r*o,y0:t.y+i*o,x1:t.x+r*s,y1:t.y+i*s,vx:r,vy:i},e)},point:function(t,e){var n=a(t,e.origin),r=n.x*t.options.radius,i=n.y*t.options.radius;return m({x0:t.x-r,y0:t.y-i,x1:t.x+r,y1:t.y+i,vx:n.x,vy:n.y},e)},bar:function(t,e){var n=a(t,e.origin),r=t.x,i=t.y,o=0,s=0;return t.horizontal?(r=Math.min(t.x,t.base),o=Math.abs(t.base-t.x)):(i=Math.min(t.y,t.base),s=Math.abs(t.base-t.y)),m({x0:r,y0:i+s,x1:r+o,y1:i,vx:n.x,vy:n.y},e)},fallback:function(t,e){var n=a(t,e.origin);return m({x0:t.x,y0:t.y,x1:t.x+(t.width||0),y1:t.y+(t.height||0),vx:n.x,vy:n.y},e)}},v=s.rasterize;function y(t){var e=t.borderWidth||0,n=t.padding,r=t.size.height,i=t.size.width,o=-i/2,s=-r/2;return{frame:{x:o-n.left-e,y:s-n.top-e,w:i+n.width+2*e,h:r+n.height+2*e},text:{x:o,y:s,w:i,h:r}}}function _(t,e){var n=e.chart.getDatasetMeta(e.datasetIndex).vScale;if(!n)return null;if(void 0!==n.xCenter&&void 0!==n.yCenter)return{x:n.xCenter,y:n.yCenter};var r=n.getBasePixel();return t.horizontal?{x:r,y:null}:{x:null,y:r}}function x(t){return t instanceof i.qi?b.arc:t instanceof i.od?b.point:t instanceof i.ZL?b.bar:b.fallback}function w(t,e,n,r,i,o){var s=Math.PI/2;if(o){var a=Math.min(o,i/2,r/2),l=e+a,c=n+a,u=e+r-a,h=n+i-a;t.moveTo(e,c),l<u&&c<h?(t.arc(l,c,a,-Math.PI,-s),t.arc(u,c,a,-s,0),t.arc(u,h,a,0,s),t.arc(l,h,a,s,Math.PI)):l<u?(t.moveTo(l,n),t.arc(u,c,a,-s,s),t.arc(l,c,a,s,Math.PI+s)):c<h?(t.arc(l,c,a,-Math.PI,0),t.arc(l,h,a,0,Math.PI)):t.arc(l,c,a,-Math.PI,Math.PI),t.closePath(),t.moveTo(e,n)}else t.rect(e,n,r,i)}function k(t,e,n){var r=n.backgroundColor,i=n.borderColor,o=n.borderWidth;(r||i&&o)&&(t.beginPath(),w(t,v(e.x)+o/2,v(e.y)+o/2,v(e.w)-o,v(e.h)-o,n.borderRadius),t.closePath(),r&&(t.fillStyle=r,t.fill()),i&&o&&(t.strokeStyle=i,t.lineWidth=o,t.lineJoin="miter",t.stroke()))}function M(t,e,n){var r=n.lineHeight,i=t.w,o=t.x,s=t.y+r/2;return"center"===e?o+=i/2:"end"!==e&&"right"!==e||(o+=i),{h:r,w:i,x:o,y:s}}function E(t,e,n){var r=t.shadowBlur,i=n.stroked,o=v(n.x),s=v(n.y),a=v(n.w);i&&t.strokeText(e,o,s,a),n.filled&&(r&&i&&(t.shadowBlur=0),t.fillText(e,o,s,a),r&&i&&(t.shadowBlur=r))}function S(t,e,n,r){var i,o=r.textAlign,s=r.color,a=!!s,l=r.font,c=e.length,u=r.textStrokeColor,h=r.textStrokeWidth,d=u&&h;if(c&&(a||d))for(n=M(n,o,l),t.font=l.string,t.textAlign=o,t.textBaseline="middle",t.shadowBlur=r.textShadowBlur,t.shadowColor=r.textShadowColor,a&&(t.fillStyle=s),d&&(t.lineJoin="round",t.lineWidth=h,t.strokeStyle=u),i=0,c=e.length;i<c;++i)E(t,e[i],{stroked:d,filled:a,w:n.w,x:n.x,y:n.y+n.h*i})}var O=function(t,e,n,r){var i=this;i._config=t,i._index=r,i._model=null,i._rects=null,i._ctx=e,i._el=n};(0,r.a4)(O.prototype,{_modelize:function(t,e,n,i){var o=this,a=o._index,l=(0,r.a0)((0,r.a)([n.font,{}],i,a)),c=(0,r.a)([n.color,r.d.color],i,a);return{align:(0,r.a)([n.align,"center"],i,a),anchor:(0,r.a)([n.anchor,"center"],i,a),area:i.chart.chartArea,backgroundColor:(0,r.a)([n.backgroundColor,null],i,a),borderColor:(0,r.a)([n.borderColor,null],i,a),borderRadius:(0,r.a)([n.borderRadius,0],i,a),borderWidth:(0,r.a)([n.borderWidth,0],i,a),clamp:(0,r.a)([n.clamp,!1],i,a),clip:(0,r.a)([n.clip,!1],i,a),color:c,display:t,font:l,lines:e,offset:(0,r.a)([n.offset,4],i,a),opacity:(0,r.a)([n.opacity,1],i,a),origin:_(o._el,i),padding:(0,r.E)((0,r.a)([n.padding,4],i,a)),positioner:x(o._el),rotation:(0,r.a)([n.rotation,0],i,a)*(Math.PI/180),size:s.textSize(o._ctx,e,l),textAlign:(0,r.a)([n.textAlign,"start"],i,a),textShadowBlur:(0,r.a)([n.textShadowBlur,0],i,a),textShadowColor:(0,r.a)([n.textShadowColor,c],i,a),textStrokeColor:(0,r.a)([n.textStrokeColor,c],i,a),textStrokeWidth:(0,r.a)([n.textStrokeWidth,0],i,a)}},update:function(t){var e,n,i,o=this,a=null,l=null,c=o._index,u=o._config,h=(0,r.a)([u.display,!0],t,c);h&&(e=t.dataset.data[c],n=(0,r.v)((0,r.Q)(u.formatter,[e,t]),e),i=(0,r.k)(n)?[]:s.toTextLines(n),i.length&&(a=o._modelize(h,i,u,t),l=y(a))),o._model=a,o._rects=l},geometry:function(){return this._rects?this._rects.frame:{}},rotation:function(){return this._model?this._model.rotation:0},visible:function(){return this._model&&this._model.opacity},model:function(){return this._model},draw:function(t,e){var n,r=this,i=t.ctx,o=r._model,a=r._rects;this.visible()&&(i.save(),o.clip&&(n=o.area,i.beginPath(),i.rect(n.left,n.top,n.right-n.left,n.bottom-n.top),i.clip()),i.globalAlpha=s.bound(0,o.opacity,1),i.translate(v(e.x),v(e.y)),i.rotate(o.rotation),k(i,a.frame,o),S(i,o.lines,a.text,o),i.restore())}});var T=Number.MIN_SAFE_INTEGER||-9007199254740991,C=Number.MAX_SAFE_INTEGER||9007199254740991;function P(t,e,n){var r=Math.cos(n),i=Math.sin(n),o=e.x,s=e.y;return{x:o+r*(t.x-o)-i*(t.y-s),y:s+i*(t.x-o)+r*(t.y-s)}}function A(t,e){var n,r,i,o,s,a=C,l=T,c=e.origin;for(n=0;n<t.length;++n)r=t[n],i=r.x-c.x,o=r.y-c.y,s=e.vx*i+e.vy*o,a=Math.min(a,s),l=Math.max(l,s);return{min:a,max:l}}function D(t,e){var n=e.x-t.x,r=e.y-t.y,i=Math.sqrt(n*n+r*r);return{vx:(e.x-t.x)/i,vy:(e.y-t.y)/i,origin:t,ln:i}}var L=function(){this._rotation=0,this._rect={x:0,y:0,w:0,h:0}};function I(t,e,n){var r=e.positioner(t,e),i=r.vx,o=r.vy;if(!i&&!o)return{x:r.x,y:r.y};var s=n.w,a=n.h,l=e.rotation,c=Math.abs(s/2*Math.cos(l))+Math.abs(a/2*Math.sin(l)),u=Math.abs(s/2*Math.sin(l))+Math.abs(a/2*Math.cos(l)),h=1/Math.max(Math.abs(i),Math.abs(o));return c*=i*h,u*=o*h,c+=e.offset*i,u+=e.offset*o,{x:r.x+c,y:r.y+u}}function N(t,e){var n,r,i,o;for(n=t.length-1;n>=0;--n)for(i=t[n].$layout,r=n-1;r>=0&&i._visible;--r)o=t[r].$layout,o._visible&&i._box.intersects(o._box)&&e(i,o);return t}function j(t){var e,n,r,i,o,s,a;for(e=0,n=t.length;e<n;++e)r=t[e],i=r.$layout,i._visible&&(a=new Proxy(r._el,{get:(t,e)=>t.getProps([e],!0)[e]}),o=r.geometry(),s=I(a,r.model(),o),i._box.update(s,o,r.rotation()));return N(t,(function(t,e){var n=t._hidable,r=e._hidable;n&&r||r?e._visible=!1:n&&(t._visible=!1)}))}(0,r.a4)(L.prototype,{center:function(){var t=this._rect;return{x:t.x+t.w/2,y:t.y+t.h/2}},update:function(t,e,n){this._rotation=n,this._rect={x:e.x+t.x,y:e.y+t.y,w:e.w,h:e.h}},contains:function(t){var e=this,n=1,r=e._rect;return t=P(t,e.center(),-e._rotation),!(t.x<r.x-n||t.y<r.y-n||t.x>r.x+r.w+2*n||t.y>r.y+r.h+2*n)},intersects:function(t){var e,n,r,i=this._points(),o=t._points(),s=[D(i[0],i[1]),D(i[0],i[3])];for(this._rotation!==t._rotation&&s.push(D(o[0],o[1]),D(o[0],o[3])),e=0;e<s.length;++e)if(n=A(i,s[e]),r=A(o,s[e]),n.max<r.min||r.max<n.min)return!1;return!0},_points:function(){var t=this,e=t._rect,n=t._rotation,r=t.center();return[P({x:e.x,y:e.y},r,n),P({x:e.x+e.w,y:e.y},r,n),P({x:e.x+e.w,y:e.y+e.h},r,n),P({x:e.x,y:e.y+e.h},r,n)]}});var F={prepare:function(t){var e,n,r,i,o,s=[];for(e=0,r=t.length;e<r;++e)for(n=0,i=t[e].length;n<i;++n)o=t[e][n],s.push(o),o.$layout={_box:new L,_hidable:!1,_visible:!0,_set:e,_idx:o._index};return s.sort((function(t,e){var n=t.$layout,r=e.$layout;return n._idx===r._idx?r._set-n._set:r._idx-n._idx})),this.update(s),s},update:function(t){var e,n,r,i,o,s=!1;for(e=0,n=t.length;e<n;++e)r=t[e],i=r.model(),o=r.$layout,o._hidable=i&&"auto"===i.display,o._visible=r.visible(),s|=o._hidable;s&&j(t)},lookup:function(t,e){var n,r;for(n=t.length-1;n>=0;--n)if(r=t[n].$layout,r&&r._visible&&r._box.contains(e))return t[n];return null},draw:function(t,e){var n,r,i,o,s,a;for(n=0,r=e.length;n<r;++n)i=e[n],o=i.$layout,o._visible&&(s=i.geometry(),a=I(i._el,i.model(),s),o._box.update(a,s,i.rotation()),i.draw(t,a))}},R=function(t){if((0,r.k)(t))return null;var e,n,i,o=t;if((0,r.i)(t))if((0,r.k)(t.label))if((0,r.k)(t.r))for(o="",e=Object.keys(t),i=0,n=e.length;i<n;++i)o+=(0!==i?", ":"")+e[i]+": "+t[e[i]];else o=t.r;else o=t.label;return""+o},W={align:"center",anchor:"center",backgroundColor:null,borderColor:null,borderRadius:0,borderWidth:0,clamp:!1,clip:!1,color:void 0,display:!0,font:{family:void 0,lineHeight:1.2,size:void 0,style:void 0,weight:null},formatter:R,labels:void 0,listeners:{},offset:4,opacity:1,padding:{top:4,right:4,bottom:4,left:4},rotation:0,textAlign:"start",textStrokeColor:void 0,textStrokeWidth:0,textShadowBlur:0,textShadowColor:void 0},z="$datalabels",U="$default";function H(t,e){var n,i,o=t.datalabels,s={},a=[];return!1===o?null:(!0===o&&(o={}),e=(0,r.a4)({},[e,o]),n=e.labels||{},i=Object.keys(n),delete e.labels,i.length?i.forEach((function(t){n[t]&&a.push((0,r.a4)({},[e,n[t],{_key:t}]))})):a.push(e),s=a.reduce((function(t,e){return(0,r.F)(e.listeners||{},(function(n,r){t[r]=t[r]||{},t[r][e._key||U]=n})),delete e.listeners,t}),{}),{labels:a,listeners:s})}function B(t,e,n,i){if(e){var o,s=n.$context,a=n.$groups;e[a._set]&&(o=e[a._set][a._key],o&&!0===(0,r.Q)(o,[s,i])&&(t[z]._dirty=!0,n.update(s)))}}function V(t,e,n,r,i){var o,s;(n||r)&&(n?r?n!==r&&(s=o=!0):s=!0:o=!0,s&&B(t,e.leave,n,i),o&&B(t,e.enter,r,i))}function $(t,e){var n,r,i=t[z],o=i._listeners;if(o.enter||o.leave){if("mousemove"===e.type)r=F.lookup(i._labels,e);else if("mouseout"!==e.type)return;n=i._hovered,i._hovered=r,V(t,o,n,r,e)}}function Z(t,e){var n=t[z],r=n._listeners.click,i=r&&F.lookup(n._labels,e);i&&B(t,r,i,e)}var Y={id:"datalabels",defaults:W,beforeInit:function(t){t[z]={_actives:[]}},beforeUpdate:function(t){var e=t[z];e._listened=!1,e._listeners={},e._datasets=[],e._labels=[]},afterDatasetUpdate:function(t,e,n){var i,o,s,a,l,c,u,h,d=e.index,f=t[z],p=f._datasets[d]=[],g=t.isDatasetVisible(d),m=t.data.datasets[d],b=H(m,n),v=e.meta.data||[],y=t.ctx;for(y.save(),i=0,s=v.length;i<s;++i)if(u=v[i],u[z]=[],g&&u&&t.getDataVisibility(i)&&!u.skip)for(o=0,a=b.labels.length;o<a;++o)l=b.labels[o],c=l._key,h=new O(l,y,u,i),h.$groups={_set:d,_key:c||U},h.$context={active:!1,chart:t,dataIndex:i,dataset:m,datasetIndex:d},h.update(h.$context),u[z].push(h),p.push(h);y.restore(),(0,r.a4)(f._listeners,b.listeners,{merger:function(t,n,r){n[t]=n[t]||{},n[t][e.index]=r[t],f._listened=!0}})},afterUpdate:function(t){t[z]._labels=F.prepare(t[z]._datasets)},afterDatasetsDraw:function(t){F.draw(t,t[z]._labels)},beforeEvent:function(t,e){if(t[z]._listened){var n=e.event;switch(n.type){case"mousemove":case"mouseout":$(t,n);break;case"click":Z(t,n);break}}},afterEvent:function(t){var e,n,r,i,o,a,l,c=t[z],u=c._actives,h=c._actives=t.getActiveElements(),d=s.arrayDiff(u,h);for(e=0,n=d.length;e<n;++e)if(o=d[e],o[1])for(l=o[0].element[z]||[],r=0,i=l.length;r<i;++r)a=l[r],a.$context.active=1===o[1],a.update(a.$context);(c._dirty||d.length)&&(F.update(c._labels),t.render()),delete c._dirty}}},9662:function(t,e,n){var r=n(614),i=n(6330),o=TypeError;t.exports=function(t){if(r(t))return t;throw o(i(t)+" is not a function")}},9670:function(t,e,n){var r=n(111),i=String,o=TypeError;t.exports=function(t){if(r(t))return t;throw o(i(t)+" is not an object")}},1318:function(t,e,n){var r=n(5656),i=n(1400),o=n(6244),s=function(t){return function(e,n,s){var a,l=r(e),c=o(l),u=i(s,c);if(t&&n!=n){while(c>u)if(a=l[u++],a!=a)return!0}else for(;c>u;u++)if((t||u in l)&&l[u]===n)return t||u||0;return!t&&-1}};t.exports={includes:s(!0),indexOf:s(!1)}},3658:function(t,e,n){"use strict";var r=n(9781),i=n(3157),o=TypeError,s=Object.getOwnPropertyDescriptor,a=r&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(t){return t instanceof TypeError}}();t.exports=a?function(t,e){if(i(t)&&!s(t,"length").writable)throw o("Cannot set read only .length");return t.length=e}:function(t,e){return t.length=e}},4326:function(t,e,n){var r=n(1702),i=r({}.toString),o=r("".slice);t.exports=function(t){return o(i(t),8,-1)}},9920:function(t,e,n){var r=n(2597),i=n(3887),o=n(1236),s=n(3070);t.exports=function(t,e,n){for(var a=i(e),l=s.f,c=o.f,u=0;u<a.length;u++){var h=a[u];r(t,h)||n&&r(n,h)||l(t,h,c(e,h))}}},8880:function(t,e,n){var r=n(9781),i=n(3070),o=n(9114);t.exports=r?function(t,e,n){return i.f(t,e,o(1,n))}:function(t,e,n){return t[e]=n,t}},9114:function(t){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},8052:function(t,e,n){var r=n(614),i=n(3070),o=n(6339),s=n(3072);t.exports=function(t,e,n,a){a||(a={});var l=a.enumerable,c=void 0!==a.name?a.name:e;if(r(n)&&o(n,c,a),a.global)l?t[e]=n:s(e,n);else{try{a.unsafe?t[e]&&(l=!0):delete t[e]}catch(u){}l?t[e]=n:i.f(t,e,{value:n,enumerable:!1,configurable:!a.nonConfigurable,writable:!a.nonWritable})}return t}},3072:function(t,e,n){var r=n(7854),i=Object.defineProperty;t.exports=function(t,e){try{i(r,t,{value:e,configurable:!0,writable:!0})}catch(n){r[t]=e}return e}},9781:function(t,e,n){var r=n(7293);t.exports=!r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},4154:function(t){var e="object"==typeof document&&document.all,n="undefined"==typeof e&&void 0!==e;t.exports={all:e,IS_HTMLDDA:n}},317:function(t,e,n){var r=n(7854),i=n(111),o=r.document,s=i(o)&&i(o.createElement);t.exports=function(t){return s?o.createElement(t):{}}},7207:function(t){var e=TypeError,n=9007199254740991;t.exports=function(t){if(t>n)throw e("Maximum allowed index exceeded");return t}},8113:function(t){t.exports="undefined"!=typeof navigator&&String(navigator.userAgent)||""},7392:function(t,e,n){var r,i,o=n(7854),s=n(8113),a=o.process,l=o.Deno,c=a&&a.versions||l&&l.version,u=c&&c.v8;u&&(r=u.split("."),i=r[0]>0&&r[0]<4?1:+(r[0]+r[1])),!i&&s&&(r=s.match(/Edge\/(\d+)/),(!r||r[1]>=74)&&(r=s.match(/Chrome\/(\d+)/),r&&(i=+r[1]))),t.exports=i},748:function(t){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},2109:function(t,e,n){var r=n(7854),i=n(1236).f,o=n(8880),s=n(8052),a=n(3072),l=n(9920),c=n(4705);t.exports=function(t,e){var n,u,h,d,f,p,g=t.target,m=t.global,b=t.stat;if(u=m?r:b?r[g]||a(g,{}):(r[g]||{}).prototype,u)for(h in e){if(f=e[h],t.dontCallGetSet?(p=i(u,h),d=p&&p.value):d=u[h],n=c(m?h:g+(b?".":"#")+h,t.forced),!n&&void 0!==d){if(typeof f==typeof d)continue;l(f,d)}(t.sham||d&&d.sham)&&o(f,"sham",!0),s(u,h,f,t)}}},7293:function(t){t.exports=function(t){try{return!!t()}catch(e){return!0}}},4374:function(t,e,n){var r=n(7293);t.exports=!r((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")}))},6916:function(t,e,n){var r=n(4374),i=Function.prototype.call;t.exports=r?i.bind(i):function(){return i.apply(i,arguments)}},6530:function(t,e,n){var r=n(9781),i=n(2597),o=Function.prototype,s=r&&Object.getOwnPropertyDescriptor,a=i(o,"name"),l=a&&"something"===function(){}.name,c=a&&(!r||r&&s(o,"name").configurable);t.exports={EXISTS:a,PROPER:l,CONFIGURABLE:c}},1702:function(t,e,n){var r=n(4374),i=Function.prototype,o=i.call,s=r&&i.bind.bind(o,o);t.exports=r?s:function(t){return function(){return o.apply(t,arguments)}}},5005:function(t,e,n){var r=n(7854),i=n(614),o=function(t){return i(t)?t:void 0};t.exports=function(t,e){return arguments.length<2?o(r[t]):r[t]&&r[t][e]}},8173:function(t,e,n){var r=n(9662),i=n(8554);t.exports=function(t,e){var n=t[e];return i(n)?void 0:r(n)}},7854:function(t,e,n){var r=function(t){return t&&t.Math==Math&&t};t.exports=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof n.g&&n.g)||function(){return this}()||Function("return this")()},2597:function(t,e,n){var r=n(1702),i=n(7908),o=r({}.hasOwnProperty);t.exports=Object.hasOwn||function(t,e){return o(i(t),e)}},3501:function(t){t.exports={}},4664:function(t,e,n){var r=n(9781),i=n(7293),o=n(317);t.exports=!r&&!i((function(){return 7!=Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a}))},8361:function(t,e,n){var r=n(1702),i=n(7293),o=n(4326),s=Object,a=r("".split);t.exports=i((function(){return!s("z").propertyIsEnumerable(0)}))?function(t){return"String"==o(t)?a(t,""):s(t)}:s},2788:function(t,e,n){var r=n(1702),i=n(614),o=n(5465),s=r(Function.toString);i(o.inspectSource)||(o.inspectSource=function(t){return s(t)}),t.exports=o.inspectSource},9909:function(t,e,n){var r,i,o,s=n(4811),a=n(7854),l=n(111),c=n(8880),u=n(2597),h=n(5465),d=n(6200),f=n(3501),p="Object already initialized",g=a.TypeError,m=a.WeakMap,b=function(t){return o(t)?i(t):r(t,{})},v=function(t){return function(e){var n;if(!l(e)||(n=i(e)).type!==t)throw g("Incompatible receiver, "+t+" required");return n}};if(s||h.state){var y=h.state||(h.state=new m);y.get=y.get,y.has=y.has,y.set=y.set,r=function(t,e){if(y.has(t))throw g(p);return e.facade=t,y.set(t,e),e},i=function(t){return y.get(t)||{}},o=function(t){return y.has(t)}}else{var _=d("state");f[_]=!0,r=function(t,e){if(u(t,_))throw g(p);return e.facade=t,c(t,_,e),e},i=function(t){return u(t,_)?t[_]:{}},o=function(t){return u(t,_)}}t.exports={set:r,get:i,has:o,enforce:b,getterFor:v}},3157:function(t,e,n){var r=n(4326);t.exports=Array.isArray||function(t){return"Array"==r(t)}},614:function(t,e,n){var r=n(4154),i=r.all;t.exports=r.IS_HTMLDDA?function(t){return"function"==typeof t||t===i}:function(t){return"function"==typeof t}},4705:function(t,e,n){var r=n(7293),i=n(614),o=/#|\.prototype\./,s=function(t,e){var n=l[a(t)];return n==u||n!=c&&(i(e)?r(e):!!e)},a=s.normalize=function(t){return String(t).replace(o,".").toLowerCase()},l=s.data={},c=s.NATIVE="N",u=s.POLYFILL="P";t.exports=s},8554:function(t){t.exports=function(t){return null===t||void 0===t}},111:function(t,e,n){var r=n(614),i=n(4154),o=i.all;t.exports=i.IS_HTMLDDA?function(t){return"object"==typeof t?null!==t:r(t)||t===o}:function(t){return"object"==typeof t?null!==t:r(t)}},1913:function(t){t.exports=!1},2190:function(t,e,n){var r=n(5005),i=n(614),o=n(7976),s=n(3307),a=Object;t.exports=s?function(t){return"symbol"==typeof t}:function(t){var e=r("Symbol");return i(e)&&o(e.prototype,a(t))}},6244:function(t,e,n){var r=n(7466);t.exports=function(t){return r(t.length)}},6339:function(t,e,n){var r=n(1702),i=n(7293),o=n(614),s=n(2597),a=n(9781),l=n(6530).CONFIGURABLE,c=n(2788),u=n(9909),h=u.enforce,d=u.get,f=String,p=Object.defineProperty,g=r("".slice),m=r("".replace),b=r([].join),v=a&&!i((function(){return 8!==p((function(){}),"length",{value:8}).length})),y=String(String).split("String"),_=t.exports=function(t,e,n){"Symbol("===g(f(e),0,7)&&(e="["+m(f(e),/^Symbol\(([^)]*)\)/,"$1")+"]"),n&&n.getter&&(e="get "+e),n&&n.setter&&(e="set "+e),(!s(t,"name")||l&&t.name!==e)&&(a?p(t,"name",{value:e,configurable:!0}):t.name=e),v&&n&&s(n,"arity")&&t.length!==n.arity&&p(t,"length",{value:n.arity});try{n&&s(n,"constructor")&&n.constructor?a&&p(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(i){}var r=h(t);return s(r,"source")||(r.source=b(y,"string"==typeof e?e:"")),t};Function.prototype.toString=_((function(){return o(this)&&d(this).source||c(this)}),"toString")},4758:function(t){var e=Math.ceil,n=Math.floor;t.exports=Math.trunc||function(t){var r=+t;return(r>0?n:e)(r)}},3070:function(t,e,n){var r=n(9781),i=n(4664),o=n(3353),s=n(9670),a=n(4948),l=TypeError,c=Object.defineProperty,u=Object.getOwnPropertyDescriptor,h="enumerable",d="configurable",f="writable";e.f=r?o?function(t,e,n){if(s(t),e=a(e),s(n),"function"===typeof t&&"prototype"===e&&"value"in n&&f in n&&!n[f]){var r=u(t,e);r&&r[f]&&(t[e]=n.value,n={configurable:d in n?n[d]:r[d],enumerable:h in n?n[h]:r[h],writable:!1})}return c(t,e,n)}:c:function(t,e,n){if(s(t),e=a(e),s(n),i)try{return c(t,e,n)}catch(r){}if("get"in n||"set"in n)throw l("Accessors not supported");return"value"in n&&(t[e]=n.value),t}},1236:function(t,e,n){var r=n(9781),i=n(6916),o=n(5296),s=n(9114),a=n(5656),l=n(4948),c=n(2597),u=n(4664),h=Object.getOwnPropertyDescriptor;e.f=r?h:function(t,e){if(t=a(t),e=l(e),u)try{return h(t,e)}catch(n){}if(c(t,e))return s(!i(o.f,t,e),t[e])}},8006:function(t,e,n){var r=n(6324),i=n(748),o=i.concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return r(t,o)}},5181:function(t,e){e.f=Object.getOwnPropertySymbols},7976:function(t,e,n){var r=n(1702);t.exports=r({}.isPrototypeOf)},6324:function(t,e,n){var r=n(1702),i=n(2597),o=n(5656),s=n(1318).indexOf,a=n(3501),l=r([].push);t.exports=function(t,e){var n,r=o(t),c=0,u=[];for(n in r)!i(a,n)&&i(r,n)&&l(u,n);while(e.length>c)i(r,n=e[c++])&&(~s(u,n)||l(u,n));return u}},5296:function(t,e){"use strict";var n={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,i=r&&!n.call({1:2},1);e.f=i?function(t){var e=r(this,t);return!!e&&e.enumerable}:n},2140:function(t,e,n){var r=n(6916),i=n(614),o=n(111),s=TypeError;t.exports=function(t,e){var n,a;if("string"===e&&i(n=t.toString)&&!o(a=r(n,t)))return a;if(i(n=t.valueOf)&&!o(a=r(n,t)))return a;if("string"!==e&&i(n=t.toString)&&!o(a=r(n,t)))return a;throw s("Can't convert object to primitive value")}},3887:function(t,e,n){var r=n(5005),i=n(1702),o=n(8006),s=n(5181),a=n(9670),l=i([].concat);t.exports=r("Reflect","ownKeys")||function(t){var e=o.f(a(t)),n=s.f;return n?l(e,n(t)):e}},4488:function(t,e,n){var r=n(8554),i=TypeError;t.exports=function(t){if(r(t))throw i("Can't call method on "+t);return t}},6200:function(t,e,n){var r=n(2309),i=n(9711),o=r("keys");t.exports=function(t){return o[t]||(o[t]=i(t))}},5465:function(t,e,n){var r=n(7854),i=n(3072),o="__core-js_shared__",s=r[o]||i(o,{});t.exports=s},2309:function(t,e,n){var r=n(1913),i=n(5465);(t.exports=function(t,e){return i[t]||(i[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.28.0",mode:r?"pure":"global",copyright:"© 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.28.0/LICENSE",source:"https://github.com/zloirock/core-js"})},6293:function(t,e,n){var r=n(7392),i=n(7293);t.exports=!!Object.getOwnPropertySymbols&&!i((function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&r&&r<41}))},1400:function(t,e,n){var r=n(9303),i=Math.max,o=Math.min;t.exports=function(t,e){var n=r(t);return n<0?i(n+e,0):o(n,e)}},5656:function(t,e,n){var r=n(8361),i=n(4488);t.exports=function(t){return r(i(t))}},9303:function(t,e,n){var r=n(4758);t.exports=function(t){var e=+t;return e!==e||0===e?0:r(e)}},7466:function(t,e,n){var r=n(9303),i=Math.min;t.exports=function(t){return t>0?i(r(t),9007199254740991):0}},7908:function(t,e,n){var r=n(4488),i=Object;t.exports=function(t){return i(r(t))}},7593:function(t,e,n){var r=n(6916),i=n(111),o=n(2190),s=n(8173),a=n(2140),l=n(5112),c=TypeError,u=l("toPrimitive");t.exports=function(t,e){if(!i(t)||o(t))return t;var n,l=s(t,u);if(l){if(void 0===e&&(e="default"),n=r(l,t,e),!i(n)||o(n))return n;throw c("Can't convert object to primitive value")}return void 0===e&&(e="number"),a(t,e)}},4948:function(t,e,n){var r=n(7593),i=n(2190);t.exports=function(t){var e=r(t,"string");return i(e)?e:e+""}},6330:function(t){var e=String;t.exports=function(t){try{return e(t)}catch(n){return"Object"}}},9711:function(t,e,n){var r=n(1702),i=0,o=Math.random(),s=r(1..toString);t.exports=function(t){return"Symbol("+(void 0===t?"":t)+")_"+s(++i+o,36)}},3307:function(t,e,n){var r=n(6293);t.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},3353:function(t,e,n){var r=n(9781),i=n(7293);t.exports=r&&i((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},4811:function(t,e,n){var r=n(7854),i=n(614),o=r.WeakMap;t.exports=i(o)&&/native code/.test(String(o))},5112:function(t,e,n){var r=n(7854),i=n(2309),o=n(2597),s=n(9711),a=n(6293),l=n(3307),c=r.Symbol,u=i("wks"),h=l?c["for"]||c:c&&c.withoutSetter||s;t.exports=function(t){return o(u,t)||(u[t]=a&&o(c,t)?c[t]:h("Symbol."+t)),u[t]}},7658:function(t,e,n){"use strict";var r=n(2109),i=n(7908),o=n(6244),s=n(3658),a=n(7207),l=n(7293),c=l((function(){return 4294967297!==[].push.call({length:4294967296},1)})),u=function(){try{Object.defineProperty([],"length",{writable:!1}).push()}catch(t){return t instanceof TypeError}},h=c||!u();r({target:"Array",proto:!0,arity:1,forced:h},{push:function(t){var e=i(this),n=o(e),r=arguments.length;a(n+r);for(var l=0;l<r;l++)e[n]=arguments[l],n++;return s(e,n),n}})},3561:function(t,e){"use strict";function n(t){var e=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()));return e.setUTCFullYear(t.getFullYear()),t.getTime()-e.getTime()}Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=n,t.exports=e.default},2084:function(t,e){"use strict";function n(t){if(null===t||!0===t||!1===t)return NaN;var e=Number(t);return isNaN(e)?e:e<0?Math.ceil(e):Math.floor(e)}Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=n,t.exports=e.default},4941:function(t,e,n){"use strict";var r=n(5826);e["Z"]=r.Z},4314:function(t,e,n){"use strict";n.d(e,{j:function(){return i}});var r={};function i(){return r}},4262:function(t,e,n){"use strict";function r(t){var e=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()));return e.setUTCFullYear(t.getFullYear()),t.getTime()-e.getTime()}n.d(e,{Z:function(){return r}})},3882:function(t,e,n){"use strict";function r(t,e){if(e.length<t)throw new TypeError(t+" argument"+(t>1?"s":"")+" required, but only "+e.length+" present")}n.d(e,{Z:function(){return r}})},9025:function(t,e,n){"use strict";n.d(e,{Z:function(){return a}});var r=n(9013),i=n(3882),o=n(3946),s=n(4314);function a(t,e){var n,a,l,c,u,h,d,f;(0,i.Z)(1,arguments);var p=(0,s.j)(),g=(0,o.Z)(null!==(n=null!==(a=null!==(l=null!==(c=null===e||void 0===e?void 0:e.weekStartsOn)&&void 0!==c?c:null===e||void 0===e||null===(u=e.locale)||void 0===u||null===(h=u.options)||void 0===h?void 0:h.weekStartsOn)&&void 0!==l?l:p.weekStartsOn)&&void 0!==a?a:null===(d=p.locale)||void 0===d||null===(f=d.options)||void 0===f?void 0:f.weekStartsOn)&&void 0!==n?n:0);if(!(g>=0&&g<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var m=(0,r.Z)(t),b=m.getUTCDay(),v=(b<g?7:0)+b-g;return m.setUTCDate(m.getUTCDate()-v),m.setUTCHours(0,0,0,0),m}},3946:function(t,e,n){"use strict";function r(t){if(null===t||!0===t||!1===t)return NaN;var e=Number(t);return isNaN(e)?e:e<0?Math.ceil(e):Math.floor(e)}n.d(e,{Z:function(){return r}})},7349:function(t,e,n){"use strict";n.d(e,{Z:function(){return s}});var r=n(3946),i=n(9013),o=n(3882);function s(t,e){(0,o.Z)(2,arguments);var n=(0,i.Z)(t),s=(0,r.Z)(e);return isNaN(s)?new Date(NaN):s?(n.setDate(n.getDate()+s),n):n}},1640:function(t,e,n){"use strict";n.d(e,{Z:function(){return s}});var r=n(3946),i=n(9013),o=n(3882);function s(t,e){(0,o.Z)(2,arguments);var n=(0,i.Z)(t),s=(0,r.Z)(e);if(isNaN(s))return new Date(NaN);if(!s)return n;var a=n.getDate(),l=new Date(n.getTime());l.setMonth(n.getMonth()+s+1,0);var c=l.getDate();return a>=c?l:(n.setFullYear(l.getFullYear(),l.getMonth(),a),n)}},3500:function(t,e,n){"use strict";n.d(e,{Z:function(){return s}});var r=n(3946),i=n(7349),o=n(3882);function s(t,e){(0,o.Z)(2,arguments);var n=(0,r.Z)(e),s=7*n;return(0,i.Z)(t,s)}},1593:function(t,e,n){"use strict";n.d(e,{Z:function(){return s}});var r=n(3946),i=n(1640),o=n(3882);function s(t,e){(0,o.Z)(2,arguments);var n=(0,r.Z)(e);return(0,i.Z)(t,12*n)}},4135:function(t,e,n){"use strict";n.d(e,{Z:function(){return o}});var r=n(9013),i=n(3882);function o(t){(0,i.Z)(1,arguments);var e=(0,r.Z)(t),n=e.getMonth();return e.setFullYear(e.getFullYear(),n+1,0),e.setHours(23,59,59,999),e}},7090:function(t,e,n){"use strict";n.d(e,{Z:function(){return a}});var r=n(4314),i=n(9013),o=n(3946),s=n(3882);function a(t,e){var n,a,l,c,u,h,d,f;(0,s.Z)(1,arguments);var p=(0,r.j)(),g=(0,o.Z)(null!==(n=null!==(a=null!==(l=null!==(c=null===e||void 0===e?void 0:e.weekStartsOn)&&void 0!==c?c:null===e||void 0===e||null===(u=e.locale)||void 0===u||null===(h=u.options)||void 0===h?void 0:h.weekStartsOn)&&void 0!==l?l:p.weekStartsOn)&&void 0!==a?a:null===(d=p.locale)||void 0===d||null===(f=d.options)||void 0===f?void 0:f.weekStartsOn)&&void 0!==n?n:0);if(!(g>=0&&g<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var m=(0,i.Z)(t),b=m.getDay(),v=6+(b<g?-7:0)-(b-g);return m.setDate(m.getDate()+v),m.setHours(23,59,59,999),m}},876:function(t,e,n){"use strict";n.d(e,{Z:function(){return o}});var r=n(9013),i=n(3882);function o(t){(0,i.Z)(1,arguments);var e=(0,r.Z)(t),n=e.getFullYear();return e.setFullYear(n+1,0,0),e.setHours(23,59,59,999),e}},6761:function(t,e,n){"use strict";n.d(e,{Z:function(){return G}});var r=n(3882);function i(t){return i="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},i(t)}function o(t){return(0,r.Z)(1,arguments),t instanceof Date||"object"===i(t)&&"[object Date]"===Object.prototype.toString.call(t)}var s=n(9013);function a(t){if((0,r.Z)(1,arguments),!o(t)&&"number"!==typeof t)return!1;var e=(0,s.Z)(t);return!isNaN(Number(e))}var l=n(3946);function c(t,e){(0,r.Z)(2,arguments);var n=(0,s.Z)(t).getTime(),i=(0,l.Z)(e);return new Date(n+i)}function u(t,e){(0,r.Z)(2,arguments);var n=(0,l.Z)(e);return c(t,-n)}var h=864e5;function d(t){(0,r.Z)(1,arguments);var e=(0,s.Z)(t),n=e.getTime();e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0);var i=e.getTime(),o=n-i;return Math.floor(o/h)+1}function f(t){(0,r.Z)(1,arguments);var e=1,n=(0,s.Z)(t),i=n.getUTCDay(),o=(i<e?7:0)+i-e;return n.setUTCDate(n.getUTCDate()-o),n.setUTCHours(0,0,0,0),n}function p(t){(0,r.Z)(1,arguments);var e=(0,s.Z)(t),n=e.getUTCFullYear(),i=new Date(0);i.setUTCFullYear(n+1,0,4),i.setUTCHours(0,0,0,0);var o=f(i),a=new Date(0);a.setUTCFullYear(n,0,4),a.setUTCHours(0,0,0,0);var l=f(a);return e.getTime()>=o.getTime()?n+1:e.getTime()>=l.getTime()?n:n-1}function g(t){(0,r.Z)(1,arguments);var e=p(t),n=new Date(0);n.setUTCFullYear(e,0,4),n.setUTCHours(0,0,0,0);var i=f(n);return i}var m=6048e5;function b(t){(0,r.Z)(1,arguments);var e=(0,s.Z)(t),n=f(e).getTime()-g(e).getTime();return Math.round(n/m)+1}var v=n(9025),y=n(4314);function _(t,e){var n,i,o,a,c,u,h,d;(0,r.Z)(1,arguments);var f=(0,s.Z)(t),p=f.getUTCFullYear(),g=(0,y.j)(),m=(0,l.Z)(null!==(n=null!==(i=null!==(o=null!==(a=null===e||void 0===e?void 0:e.firstWeekContainsDate)&&void 0!==a?a:null===e||void 0===e||null===(c=e.locale)||void 0===c||null===(u=c.options)||void 0===u?void 0:u.firstWeekContainsDate)&&void 0!==o?o:g.firstWeekContainsDate)&&void 0!==i?i:null===(h=g.locale)||void 0===h||null===(d=h.options)||void 0===d?void 0:d.firstWeekContainsDate)&&void 0!==n?n:1);if(!(m>=1&&m<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var b=new Date(0);b.setUTCFullYear(p+1,0,m),b.setUTCHours(0,0,0,0);var _=(0,v.Z)(b,e),x=new Date(0);x.setUTCFullYear(p,0,m),x.setUTCHours(0,0,0,0);var w=(0,v.Z)(x,e);return f.getTime()>=_.getTime()?p+1:f.getTime()>=w.getTime()?p:p-1}function x(t,e){var n,i,o,s,a,c,u,h;(0,r.Z)(1,arguments);var d=(0,y.j)(),f=(0,l.Z)(null!==(n=null!==(i=null!==(o=null!==(s=null===e||void 0===e?void 0:e.firstWeekContainsDate)&&void 0!==s?s:null===e||void 0===e||null===(a=e.locale)||void 0===a||null===(c=a.options)||void 0===c?void 0:c.firstWeekContainsDate)&&void 0!==o?o:d.firstWeekContainsDate)&&void 0!==i?i:null===(u=d.locale)||void 0===u||null===(h=u.options)||void 0===h?void 0:h.firstWeekContainsDate)&&void 0!==n?n:1),p=_(t,e),g=new Date(0);g.setUTCFullYear(p,0,f),g.setUTCHours(0,0,0,0);var m=(0,v.Z)(g,e);return m}var w=6048e5;function k(t,e){(0,r.Z)(1,arguments);var n=(0,s.Z)(t),i=(0,v.Z)(n,e).getTime()-x(n,e).getTime();return Math.round(i/w)+1}function M(t,e){var n=t<0?"-":"",r=Math.abs(t).toString();while(r.length<e)r="0"+r;return n+r}var E={y:function(t,e){var n=t.getUTCFullYear(),r=n>0?n:1-n;return M("yy"===e?r%100:r,e.length)},M:function(t,e){var n=t.getUTCMonth();return"M"===e?String(n+1):M(n+1,2)},d:function(t,e){return M(t.getUTCDate(),e.length)},a:function(t,e){var n=t.getUTCHours()/12>=1?"pm":"am";switch(e){case"a":case"aa":return n.toUpperCase();case"aaa":return n;case"aaaaa":return n[0];case"aaaa":default:return"am"===n?"a.m.":"p.m."}},h:function(t,e){return M(t.getUTCHours()%12||12,e.length)},H:function(t,e){return M(t.getUTCHours(),e.length)},m:function(t,e){return M(t.getUTCMinutes(),e.length)},s:function(t,e){return M(t.getUTCSeconds(),e.length)},S:function(t,e){var n=e.length,r=t.getUTCMilliseconds(),i=Math.floor(r*Math.pow(10,n-3));return M(i,e.length)}},S=E,O={am:"am",pm:"pm",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},T={G:function(t,e,n){var r=t.getUTCFullYear()>0?1:0;switch(e){case"G":case"GG":case"GGG":return n.era(r,{width:"abbreviated"});case"GGGGG":return n.era(r,{width:"narrow"});case"GGGG":default:return n.era(r,{width:"wide"})}},y:function(t,e,n){if("yo"===e){var r=t.getUTCFullYear(),i=r>0?r:1-r;return n.ordinalNumber(i,{unit:"year"})}return S.y(t,e)},Y:function(t,e,n,r){var i=_(t,r),o=i>0?i:1-i;if("YY"===e){var s=o%100;return M(s,2)}return"Yo"===e?n.ordinalNumber(o,{unit:"year"}):M(o,e.length)},R:function(t,e){var n=p(t);return M(n,e.length)},u:function(t,e){var n=t.getUTCFullYear();return M(n,e.length)},Q:function(t,e,n){var r=Math.ceil((t.getUTCMonth()+1)/3);switch(e){case"Q":return String(r);case"QQ":return M(r,2);case"Qo":return n.ordinalNumber(r,{unit:"quarter"});case"QQQ":return n.quarter(r,{width:"abbreviated",context:"formatting"});case"QQQQQ":return n.quarter(r,{width:"narrow",context:"formatting"});case"QQQQ":default:return n.quarter(r,{width:"wide",context:"formatting"})}},q:function(t,e,n){var r=Math.ceil((t.getUTCMonth()+1)/3);switch(e){case"q":return String(r);case"qq":return M(r,2);case"qo":return n.ordinalNumber(r,{unit:"quarter"});case"qqq":return n.quarter(r,{width:"abbreviated",context:"standalone"});case"qqqqq":return n.quarter(r,{width:"narrow",context:"standalone"});case"qqqq":default:return n.quarter(r,{width:"wide",context:"standalone"})}},M:function(t,e,n){var r=t.getUTCMonth();switch(e){case"M":case"MM":return S.M(t,e);case"Mo":return n.ordinalNumber(r+1,{unit:"month"});case"MMM":return n.month(r,{width:"abbreviated",context:"formatting"});case"MMMMM":return n.month(r,{width:"narrow",context:"formatting"});case"MMMM":default:return n.month(r,{width:"wide",context:"formatting"})}},L:function(t,e,n){var r=t.getUTCMonth();switch(e){case"L":return String(r+1);case"LL":return M(r+1,2);case"Lo":return n.ordinalNumber(r+1,{unit:"month"});case"LLL":return n.month(r,{width:"abbreviated",context:"standalone"});case"LLLLL":return n.month(r,{width:"narrow",context:"standalone"});case"LLLL":default:return n.month(r,{width:"wide",context:"standalone"})}},w:function(t,e,n,r){var i=k(t,r);return"wo"===e?n.ordinalNumber(i,{unit:"week"}):M(i,e.length)},I:function(t,e,n){var r=b(t);return"Io"===e?n.ordinalNumber(r,{unit:"week"}):M(r,e.length)},d:function(t,e,n){return"do"===e?n.ordinalNumber(t.getUTCDate(),{unit:"date"}):S.d(t,e)},D:function(t,e,n){var r=d(t);return"Do"===e?n.ordinalNumber(r,{unit:"dayOfYear"}):M(r,e.length)},E:function(t,e,n){var r=t.getUTCDay();switch(e){case"E":case"EE":case"EEE":return n.day(r,{width:"abbreviated",context:"formatting"});case"EEEEE":return n.day(r,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(r,{width:"short",context:"formatting"});case"EEEE":default:return n.day(r,{width:"wide",context:"formatting"})}},e:function(t,e,n,r){var i=t.getUTCDay(),o=(i-r.weekStartsOn+8)%7||7;switch(e){case"e":return String(o);case"ee":return M(o,2);case"eo":return n.ordinalNumber(o,{unit:"day"});case"eee":return n.day(i,{width:"abbreviated",context:"formatting"});case"eeeee":return n.day(i,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(i,{width:"short",context:"formatting"});case"eeee":default:return n.day(i,{width:"wide",context:"formatting"})}},c:function(t,e,n,r){var i=t.getUTCDay(),o=(i-r.weekStartsOn+8)%7||7;switch(e){case"c":return String(o);case"cc":return M(o,e.length);case"co":return n.ordinalNumber(o,{unit:"day"});case"ccc":return n.day(i,{width:"abbreviated",context:"standalone"});case"ccccc":return n.day(i,{width:"narrow",context:"standalone"});case"cccccc":return n.day(i,{width:"short",context:"standalone"});case"cccc":default:return n.day(i,{width:"wide",context:"standalone"})}},i:function(t,e,n){var r=t.getUTCDay(),i=0===r?7:r;switch(e){case"i":return String(i);case"ii":return M(i,e.length);case"io":return n.ordinalNumber(i,{unit:"day"});case"iii":return n.day(r,{width:"abbreviated",context:"formatting"});case"iiiii":return n.day(r,{width:"narrow",context:"formatting"});case"iiiiii":return n.day(r,{width:"short",context:"formatting"});case"iiii":default:return n.day(r,{width:"wide",context:"formatting"})}},a:function(t,e,n){var r=t.getUTCHours(),i=r/12>=1?"pm":"am";switch(e){case"a":case"aa":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"});case"aaa":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return n.dayPeriod(i,{width:"narrow",context:"formatting"});case"aaaa":default:return n.dayPeriod(i,{width:"wide",context:"formatting"})}},b:function(t,e,n){var r,i=t.getUTCHours();switch(r=12===i?O.noon:0===i?O.midnight:i/12>=1?"pm":"am",e){case"b":case"bb":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"bbb":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return n.dayPeriod(r,{width:"narrow",context:"formatting"});case"bbbb":default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},B:function(t,e,n){var r,i=t.getUTCHours();switch(r=i>=17?O.evening:i>=12?O.afternoon:i>=4?O.morning:O.night,e){case"B":case"BB":case"BBB":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"BBBBB":return n.dayPeriod(r,{width:"narrow",context:"formatting"});case"BBBB":default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},h:function(t,e,n){if("ho"===e){var r=t.getUTCHours()%12;return 0===r&&(r=12),n.ordinalNumber(r,{unit:"hour"})}return S.h(t,e)},H:function(t,e,n){return"Ho"===e?n.ordinalNumber(t.getUTCHours(),{unit:"hour"}):S.H(t,e)},K:function(t,e,n){var r=t.getUTCHours()%12;return"Ko"===e?n.ordinalNumber(r,{unit:"hour"}):M(r,e.length)},k:function(t,e,n){var r=t.getUTCHours();return 0===r&&(r=24),"ko"===e?n.ordinalNumber(r,{unit:"hour"}):M(r,e.length)},m:function(t,e,n){return"mo"===e?n.ordinalNumber(t.getUTCMinutes(),{unit:"minute"}):S.m(t,e)},s:function(t,e,n){return"so"===e?n.ordinalNumber(t.getUTCSeconds(),{unit:"second"}):S.s(t,e)},S:function(t,e){return S.S(t,e)},X:function(t,e,n,r){var i=r._originalDate||t,o=i.getTimezoneOffset();if(0===o)return"Z";switch(e){case"X":return P(o);case"XXXX":case"XX":return A(o);case"XXXXX":case"XXX":default:return A(o,":")}},x:function(t,e,n,r){var i=r._originalDate||t,o=i.getTimezoneOffset();switch(e){case"x":return P(o);case"xxxx":case"xx":return A(o);case"xxxxx":case"xxx":default:return A(o,":")}},O:function(t,e,n,r){var i=r._originalDate||t,o=i.getTimezoneOffset();switch(e){case"O":case"OO":case"OOO":return"GMT"+C(o,":");case"OOOO":default:return"GMT"+A(o,":")}},z:function(t,e,n,r){var i=r._originalDate||t,o=i.getTimezoneOffset();switch(e){case"z":case"zz":case"zzz":return"GMT"+C(o,":");case"zzzz":default:return"GMT"+A(o,":")}},t:function(t,e,n,r){var i=r._originalDate||t,o=Math.floor(i.getTime()/1e3);return M(o,e.length)},T:function(t,e,n,r){var i=r._originalDate||t,o=i.getTime();return M(o,e.length)}};function C(t,e){var n=t>0?"-":"+",r=Math.abs(t),i=Math.floor(r/60),o=r%60;if(0===o)return n+String(i);var s=e||"";return n+String(i)+s+M(o,2)}function P(t,e){if(t%60===0){var n=t>0?"-":"+";return n+M(Math.abs(t)/60,2)}return A(t,e)}function A(t,e){var n=e||"",r=t>0?"-":"+",i=Math.abs(t),o=M(Math.floor(i/60),2),s=M(i%60,2);return r+o+n+s}var D=T,L=function(t,e){switch(t){case"P":return e.date({width:"short"});case"PP":return e.date({width:"medium"});case"PPP":return e.date({width:"long"});case"PPPP":default:return e.date({width:"full"})}},I=function(t,e){switch(t){case"p":return e.time({width:"short"});case"pp":return e.time({width:"medium"});case"ppp":return e.time({width:"long"});case"pppp":default:return e.time({width:"full"})}},N=function(t,e){var n,r=t.match(/(P+)(p+)?/)||[],i=r[1],o=r[2];if(!o)return L(t,e);switch(i){case"P":n=e.dateTime({width:"short"});break;case"PP":n=e.dateTime({width:"medium"});break;case"PPP":n=e.dateTime({width:"long"});break;case"PPPP":default:n=e.dateTime({width:"full"});break}return n.replace("{{date}}",L(i,e)).replace("{{time}}",I(o,e))},j={p:I,P:N},F=j,R=n(4262),W=["D","DD"],z=["YY","YYYY"];function U(t){return-1!==W.indexOf(t)}function H(t){return-1!==z.indexOf(t)}function B(t,e,n){if("YYYY"===t)throw new RangeError("Use `yyyy` instead of `YYYY` (in `".concat(e,"`) for formatting years to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if("YY"===t)throw new RangeError("Use `yy` instead of `YY` (in `".concat(e,"`) for formatting years to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if("D"===t)throw new RangeError("Use `d` instead of `D` (in `".concat(e,"`) for formatting days of the month to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if("DD"===t)throw new RangeError("Use `dd` instead of `DD` (in `".concat(e,"`) for formatting days of the month to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"))}var V=n(4941),$=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,Z=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,Y=/^'([^]*?)'?$/,q=/''/g,X=/[a-zA-Z]/;function G(t,e,n){var i,o,c,h,d,f,p,g,m,b,v,_,x,w,k,M,E,S;(0,r.Z)(2,arguments);var O=String(e),T=(0,y.j)(),C=null!==(i=null!==(o=null===n||void 0===n?void 0:n.locale)&&void 0!==o?o:T.locale)&&void 0!==i?i:V.Z,P=(0,l.Z)(null!==(c=null!==(h=null!==(d=null!==(f=null===n||void 0===n?void 0:n.firstWeekContainsDate)&&void 0!==f?f:null===n||void 0===n||null===(p=n.locale)||void 0===p||null===(g=p.options)||void 0===g?void 0:g.firstWeekContainsDate)&&void 0!==d?d:T.firstWeekContainsDate)&&void 0!==h?h:null===(m=T.locale)||void 0===m||null===(b=m.options)||void 0===b?void 0:b.firstWeekContainsDate)&&void 0!==c?c:1);if(!(P>=1&&P<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var A=(0,l.Z)(null!==(v=null!==(_=null!==(x=null!==(w=null===n||void 0===n?void 0:n.weekStartsOn)&&void 0!==w?w:null===n||void 0===n||null===(k=n.locale)||void 0===k||null===(M=k.options)||void 0===M?void 0:M.weekStartsOn)&&void 0!==x?x:T.weekStartsOn)&&void 0!==_?_:null===(E=T.locale)||void 0===E||null===(S=E.options)||void 0===S?void 0:S.weekStartsOn)&&void 0!==v?v:0);if(!(A>=0&&A<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(!C.localize)throw new RangeError("locale must contain localize property");if(!C.formatLong)throw new RangeError("locale must contain formatLong property");var L=(0,s.Z)(t);if(!a(L))throw new RangeError("Invalid time value");var I=(0,R.Z)(L),N=u(L,I),j={firstWeekContainsDate:P,weekStartsOn:A,locale:C,_originalDate:L},W=O.match(Z).map((function(t){var e=t[0];if("p"===e||"P"===e){var n=F[e];return n(t,C.formatLong)}return t})).join("").match($).map((function(r){if("''"===r)return"'";var i=r[0];if("'"===i)return J(r);var o=D[i];if(o)return null!==n&&void 0!==n&&n.useAdditionalWeekYearTokens||!H(r)||B(r,e,String(t)),null!==n&&void 0!==n&&n.useAdditionalDayOfYearTokens||!U(r)||B(r,e,String(t)),o(N,r,C.localize,j);if(i.match(X))throw new RangeError("Format string contains an unescaped latin alphabet character `"+i+"`");return r})).join("");return W}function J(t){var e=t.match(Y);return e?e[1].replace(q,"'"):t}},1818:function(t,e,n){"use strict";n.d(e,{Z:function(){return E}});var r=n(4314),i=n(9013),o=n(3882);function s(t,e){(0,o.Z)(2,arguments);var n=(0,i.Z)(t),r=(0,i.Z)(e),s=n.getTime()-r.getTime();return s<0?-1:s>0?1:s}function a(t,e){(0,o.Z)(2,arguments);var n=(0,i.Z)(t),r=(0,i.Z)(e),s=n.getFullYear()-r.getFullYear(),a=n.getMonth()-r.getMonth();return 12*s+a}function l(t){(0,o.Z)(1,arguments);var e=(0,i.Z)(t);return e.setHours(23,59,59,999),e}var c=n(4135);function u(t){(0,o.Z)(1,arguments);var e=(0,i.Z)(t);return l(e).getTime()===(0,c.Z)(e).getTime()}function h(t,e){(0,o.Z)(2,arguments);var n,r=(0,i.Z)(t),l=(0,i.Z)(e),c=s(r,l),h=Math.abs(a(r,l));if(h<1)n=0;else{1===r.getMonth()&&r.getDate()>27&&r.setDate(30),r.setMonth(r.getMonth()-c*h);var d=s(r,l)===-c;u((0,i.Z)(t))&&1===h&&1===s(t,l)&&(d=!1),n=c*(h-Number(d))}return 0===n?0:n}function d(t,e){return(0,o.Z)(2,arguments),(0,i.Z)(t).getTime()-(0,i.Z)(e).getTime()}var f={ceil:Math.ceil,round:Math.round,floor:Math.floor,trunc:function(t){return t<0?Math.ceil(t):Math.floor(t)}},p="trunc";function g(t){return t?f[t]:f[p]}function m(t,e,n){(0,o.Z)(2,arguments);var r=d(t,e)/1e3;return g(null===n||void 0===n?void 0:n.roundingMethod)(r)}var b=n(4941);function v(t,e){if(null==t)throw new TypeError("assign requires that input parameter not be null or undefined");for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t}function y(t){return v({},t)}var _=n(4262),x=1440,w=2520,k=43200,M=86400;function E(t,e,n){var a,l;(0,o.Z)(2,arguments);var c=(0,r.j)(),u=null!==(a=null!==(l=null===n||void 0===n?void 0:n.locale)&&void 0!==l?l:c.locale)&&void 0!==a?a:b.Z;if(!u.formatDistance)throw new RangeError("locale must contain formatDistance property");var d=s(t,e);if(isNaN(d))throw new RangeError("Invalid time value");var f,p,g=v(y(n),{addSuffix:Boolean(null===n||void 0===n?void 0:n.addSuffix),comparison:d});d>0?(f=(0,i.Z)(e),p=(0,i.Z)(t)):(f=(0,i.Z)(t),p=(0,i.Z)(e));var E,S=m(p,f),O=((0,_.Z)(p)-(0,_.Z)(f))/1e3,T=Math.round((S-O)/60);if(T<2)return null!==n&&void 0!==n&&n.includeSeconds?S<5?u.formatDistance("lessThanXSeconds",5,g):S<10?u.formatDistance("lessThanXSeconds",10,g):S<20?u.formatDistance("lessThanXSeconds",20,g):S<40?u.formatDistance("halfAMinute",0,g):S<60?u.formatDistance("lessThanXMinutes",1,g):u.formatDistance("xMinutes",1,g):0===T?u.formatDistance("lessThanXMinutes",1,g):u.formatDistance("xMinutes",T,g);if(T<45)return u.formatDistance("xMinutes",T,g);if(T<90)return u.formatDistance("aboutXHours",1,g);if(T<x){var C=Math.round(T/60);return u.formatDistance("aboutXHours",C,g)}if(T<w)return u.formatDistance("xDays",1,g);if(T<k){var P=Math.round(T/x);return u.formatDistance("xDays",P,g)}if(T<M)return E=Math.round(T/k),u.formatDistance("aboutXMonths",E,g);if(E=h(p,f),E<12){var A=Math.round(T/k);return u.formatDistance("xMonths",A,g)}var D=E%12,L=Math.floor(E/12);return D<3?u.formatDistance("aboutXYears",L,g):D<9?u.formatDistance("overXYears",L,g):u.formatDistance("almostXYears",L+1,g)}},1743:function(t,e,n){"use strict";n.d(e,{Z:function(){return s}});var r=n(9013),i=n(3882);function o(t){(0,i.Z)(1,arguments);var e=(0,r.Z)(t);return e.setHours(0,0,0,0),e}function s(t,e){(0,i.Z)(2,arguments);var n=o(t),r=o(e);return n.getTime()===r.getTime()}},9160:function(t,e,n){"use strict";n.d(e,{Z:function(){return o}});var r=n(9013),i=n(3882);function o(t,e){(0,i.Z)(2,arguments);var n=(0,r.Z)(t),o=(0,r.Z)(e);return n.getFullYear()===o.getFullYear()&&n.getMonth()===o.getMonth()}},1085:function(t,e,n){"use strict";n.d(e,{Z:function(){return o}});var r=n(1743),i=n(3882);function o(t){return(0,i.Z)(1,arguments),(0,r.Z)(t,Date.now())}},9526:function(t,e,n){"use strict";function r(t){return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.width?String(e.width):t.defaultWidth,r=t.formats[n]||t.formats[t.defaultWidth];return r}}n.d(e,{Z:function(){return r}})},8486:function(t,e,n){"use strict";function r(t){return function(e,n){var r,i=null!==n&&void 0!==n&&n.context?String(n.context):"standalone";if("formatting"===i&&t.formattingValues){var o=t.defaultFormattingWidth||t.defaultWidth,s=null!==n&&void 0!==n&&n.width?String(n.width):o;r=t.formattingValues[s]||t.formattingValues[o]}else{var a=t.defaultWidth,l=null!==n&&void 0!==n&&n.width?String(n.width):t.defaultWidth;r=t.values[l]||t.values[a]}var c=t.argumentCallback?t.argumentCallback(e):e;return r[c]}}n.d(e,{Z:function(){return r}})},6723:function(t,e,n){"use strict";function r(t){return function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=n.width,s=r&&t.matchPatterns[r]||t.matchPatterns[t.defaultMatchWidth],a=e.match(s);if(!a)return null;var l,c=a[0],u=r&&t.parsePatterns[r]||t.parsePatterns[t.defaultParseWidth],h=Array.isArray(u)?o(u,(function(t){return t.test(c)})):i(u,(function(t){return t.test(c)}));l=t.valueCallback?t.valueCallback(h):h,l=n.valueCallback?n.valueCallback(l):l;var d=e.slice(c.length);return{value:l,rest:d}}}function i(t,e){for(var n in t)if(t.hasOwnProperty(n)&&e(t[n]))return n}function o(t,e){for(var n=0;n<t.length;n++)if(e(t[n]))return n}n.d(e,{Z:function(){return r}})},974:function(t,e,n){"use strict";function r(t){return function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=e.match(t.matchPattern);if(!r)return null;var i=r[0],o=e.match(t.parsePattern);if(!o)return null;var s=t.valueCallback?t.valueCallback(o[0]):o[0];s=n.valueCallback?n.valueCallback(s):s;var a=e.slice(i.length);return{value:s,rest:a}}}n.d(e,{Z:function(){return r}})},879:function(t,e,n){"use strict";n.d(e,{Z:function(){return B}});var r={lessThanXSeconds:{standalone:{one:"weniger als 1 Sekunde",other:"weniger als {{count}} Sekunden"},withPreposition:{one:"weniger als 1 Sekunde",other:"weniger als {{count}} Sekunden"}},xSeconds:{standalone:{one:"1 Sekunde",other:"{{count}} Sekunden"},withPreposition:{one:"1 Sekunde",other:"{{count}} Sekunden"}},halfAMinute:{standalone:"halbe Minute",withPreposition:"halben Minute"},lessThanXMinutes:{standalone:{one:"weniger als 1 Minute",other:"weniger als {{count}} Minuten"},withPreposition:{one:"weniger als 1 Minute",other:"weniger als {{count}} Minuten"}},xMinutes:{standalone:{one:"1 Minute",other:"{{count}} Minuten"},withPreposition:{one:"1 Minute",other:"{{count}} Minuten"}},aboutXHours:{standalone:{one:"etwa 1 Stunde",other:"etwa {{count}} Stunden"},withPreposition:{one:"etwa 1 Stunde",other:"etwa {{count}} Stunden"}},xHours:{standalone:{one:"1 Stunde",other:"{{count}} Stunden"},withPreposition:{one:"1 Stunde",other:"{{count}} Stunden"}},xDays:{standalone:{one:"1 Tag",other:"{{count}} Tage"},withPreposition:{one:"1 Tag",other:"{{count}} Tagen"}},aboutXWeeks:{standalone:{one:"etwa 1 Woche",other:"etwa {{count}} Wochen"},withPreposition:{one:"etwa 1 Woche",other:"etwa {{count}} Wochen"}},xWeeks:{standalone:{one:"1 Woche",other:"{{count}} Wochen"},withPreposition:{one:"1 Woche",other:"{{count}} Wochen"}},aboutXMonths:{standalone:{one:"etwa 1 Monat",other:"etwa {{count}} Monate"},withPreposition:{one:"etwa 1 Monat",other:"etwa {{count}} Monaten"}},xMonths:{standalone:{one:"1 Monat",other:"{{count}} Monate"},withPreposition:{one:"1 Monat",other:"{{count}} Monaten"}},aboutXYears:{standalone:{one:"etwa 1 Jahr",other:"etwa {{count}} Jahre"},withPreposition:{one:"etwa 1 Jahr",other:"etwa {{count}} Jahren"}},xYears:{standalone:{one:"1 Jahr",other:"{{count}} Jahre"},withPreposition:{one:"1 Jahr",other:"{{count}} Jahren"}},overXYears:{standalone:{one:"mehr als 1 Jahr",other:"mehr als {{count}} Jahre"},withPreposition:{one:"mehr als 1 Jahr",other:"mehr als {{count}} Jahren"}},almostXYears:{standalone:{one:"fast 1 Jahr",other:"fast {{count}} Jahre"},withPreposition:{one:"fast 1 Jahr",other:"fast {{count}} Jahren"}}},i=function(t,e,n){var i,o=null!==n&&void 0!==n&&n.addSuffix?r[t].withPreposition:r[t].standalone;return i="string"===typeof o?o:1===e?o.one:o.other.replace("{{count}}",String(e)),null!==n&&void 0!==n&&n.addSuffix?n.comparison&&n.comparison>0?"in "+i:"vor "+i:i},o=i,s=n(9526),a={full:"EEEE, do MMMM y",long:"do MMMM y",medium:"do MMM y",short:"dd.MM.y"},l={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},c={full:"{{date}} 'um' {{time}}",long:"{{date}} 'um' {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},u={date:(0,s.Z)({formats:a,defaultWidth:"full"}),time:(0,s.Z)({formats:l,defaultWidth:"full"}),dateTime:(0,s.Z)({formats:c,defaultWidth:"full"})},h=u,d={lastWeek:"'letzten' eeee 'um' p",yesterday:"'gestern um' p",today:"'heute um' p",tomorrow:"'morgen um' p",nextWeek:"eeee 'um' p",other:"P"},f=function(t,e,n,r){return d[t]},p=f,g=n(8486),m={narrow:["v.Chr.","n.Chr."],abbreviated:["v.Chr.","n.Chr."],wide:["vor Christus","nach Christus"]},b={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1. Quartal","2. Quartal","3. Quartal","4. Quartal"]},v={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mär","Apr","Mai","Jun","Jul","Aug","Sep","Okt","Nov","Dez"],wide:["Januar","Februar","März","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember"]},y={narrow:v.narrow,abbreviated:["Jan.","Feb.","März","Apr.","Mai","Juni","Juli","Aug.","Sep.","Okt.","Nov.","Dez."],wide:v.wide},_={narrow:["S","M","D","M","D","F","S"],short:["So","Mo","Di","Mi","Do","Fr","Sa"],abbreviated:["So.","Mo.","Di.","Mi.","Do.","Fr.","Sa."],wide:["Sonntag","Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag"]},x={narrow:{am:"vm.",pm:"nm.",midnight:"Mitternacht",noon:"Mittag",morning:"Morgen",afternoon:"Nachm.",evening:"Abend",night:"Nacht"},abbreviated:{am:"vorm.",pm:"nachm.",midnight:"Mitternacht",noon:"Mittag",morning:"Morgen",afternoon:"Nachmittag",evening:"Abend",night:"Nacht"},wide:{am:"vormittags",pm:"nachmittags",midnight:"Mitternacht",noon:"Mittag",morning:"Morgen",afternoon:"Nachmittag",evening:"Abend",night:"Nacht"}},w={narrow:{am:"vm.",pm:"nm.",midnight:"Mitternacht",noon:"Mittag",morning:"morgens",afternoon:"nachm.",evening:"abends",night:"nachts"},abbreviated:{am:"vorm.",pm:"nachm.",midnight:"Mitternacht",noon:"Mittag",morning:"morgens",afternoon:"nachmittags",evening:"abends",night:"nachts"},wide:{am:"vormittags",pm:"nachmittags",midnight:"Mitternacht",noon:"Mittag",morning:"morgens",afternoon:"nachmittags",evening:"abends",night:"nachts"}},k=function(t){var e=Number(t);return e+"."},M={ordinalNumber:k,era:(0,g.Z)({values:m,defaultWidth:"wide"}),quarter:(0,g.Z)({values:b,defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:(0,g.Z)({values:v,formattingValues:y,defaultWidth:"wide"}),day:(0,g.Z)({values:_,defaultWidth:"wide"}),dayPeriod:(0,g.Z)({values:x,defaultWidth:"wide",formattingValues:w,defaultFormattingWidth:"wide"})},E=M,S=n(6723),O=n(974),T=/^(\d+)(\.)?/i,C=/\d+/i,P={narrow:/^(v\.? ?Chr\.?|n\.? ?Chr\.?)/i,abbreviated:/^(v\.? ?Chr\.?|n\.? ?Chr\.?)/i,wide:/^(vor Christus|vor unserer Zeitrechnung|nach Christus|unserer Zeitrechnung)/i},A={any:[/^v/i,/^n/i]},D={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](\.)? Quartal/i},L={any:[/1/i,/2/i,/3/i,/4/i]},I={narrow:/^[jfmasond]/i,abbreviated:/^(j[aä]n|feb|mär[z]?|apr|mai|jun[i]?|jul[i]?|aug|sep|okt|nov|dez)\.?/i,wide:/^(januar|februar|märz|april|mai|juni|juli|august|september|oktober|november|dezember)/i},N={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:[/^j[aä]/i,/^f/i,/^mär/i,/^ap/i,/^mai/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},j={narrow:/^[smdmf]/i,short:/^(so|mo|di|mi|do|fr|sa)/i,abbreviated:/^(son?|mon?|die?|mit?|don?|fre?|sam?)\.?/i,wide:/^(sonntag|montag|dienstag|mittwoch|donnerstag|freitag|samstag)/i},F={any:[/^so/i,/^mo/i,/^di/i,/^mi/i,/^do/i,/^f/i,/^sa/i]},R={narrow:/^(vm\.?|nm\.?|Mitternacht|Mittag|morgens|nachm\.?|abends|nachts)/i,abbreviated:/^(vorm\.?|nachm\.?|Mitternacht|Mittag|morgens|nachm\.?|abends|nachts)/i,wide:/^(vormittags|nachmittags|Mitternacht|Mittag|morgens|nachmittags|abends|nachts)/i},W={any:{am:/^v/i,pm:/^n/i,midnight:/^Mitte/i,noon:/^Mitta/i,morning:/morgens/i,afternoon:/nachmittags/i,evening:/abends/i,night:/nachts/i}},z={ordinalNumber:(0,O.Z)({matchPattern:T,parsePattern:C,valueCallback:function(t){return parseInt(t)}}),era:(0,S.Z)({matchPatterns:P,defaultMatchWidth:"wide",parsePatterns:A,defaultParseWidth:"any"}),quarter:(0,S.Z)({matchPatterns:D,defaultMatchWidth:"wide",parsePatterns:L,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:(0,S.Z)({matchPatterns:I,defaultMatchWidth:"wide",parsePatterns:N,defaultParseWidth:"any"}),day:(0,S.Z)({matchPatterns:j,defaultMatchWidth:"wide",parsePatterns:F,defaultParseWidth:"any"}),dayPeriod:(0,S.Z)({matchPatterns:R,defaultMatchWidth:"wide",parsePatterns:W,defaultParseWidth:"any"})},U=z,H={code:"de",formatDistance:o,formatLong:h,formatRelative:p,localize:E,match:U,options:{weekStartsOn:1,firstWeekContainsDate:4}},B=H},5826:function(t,e,n){"use strict";n.d(e,{Z:function(){return H}});var r={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"}},i=function(t,e,n){var i,o=r[t];return i="string"===typeof o?o:1===e?o.one:o.other.replace("{{count}}",e.toString()),null!==n&&void 0!==n&&n.addSuffix?n.comparison&&n.comparison>0?"in "+i:i+" ago":i},o=i,s=n(9526),a={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},l={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},c={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},u={date:(0,s.Z)({formats:a,defaultWidth:"full"}),time:(0,s.Z)({formats:l,defaultWidth:"full"}),dateTime:(0,s.Z)({formats:c,defaultWidth:"full"})},h=u,d={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},f=function(t,e,n,r){return d[t]},p=f,g=n(8486),m={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},b={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},v={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"]},y={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"]},_={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"}},x={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"}},w=function(t,e){var n=Number(t),r=n%100;if(r>20||r<10)switch(r%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},k={ordinalNumber:w,era:(0,g.Z)({values:m,defaultWidth:"wide"}),quarter:(0,g.Z)({values:b,defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:(0,g.Z)({values:v,defaultWidth:"wide"}),day:(0,g.Z)({values:y,defaultWidth:"wide"}),dayPeriod:(0,g.Z)({values:_,defaultWidth:"wide",formattingValues:x,defaultFormattingWidth:"wide"})},M=k,E=n(6723),S=n(974),O=/^(\d+)(th|st|nd|rd)?/i,T=/\d+/i,C={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},P={any:[/^b/i,/^(a|c)/i]},A={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},D={any:[/1/i,/2/i,/3/i,/4/i]},L={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},I={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]},N={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},j={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]},F={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},R={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}},W={ordinalNumber:(0,S.Z)({matchPattern:O,parsePattern:T,valueCallback:function(t){return parseInt(t,10)}}),era:(0,E.Z)({matchPatterns:C,defaultMatchWidth:"wide",parsePatterns:P,defaultParseWidth:"any"}),quarter:(0,E.Z)({matchPatterns:A,defaultMatchWidth:"wide",parsePatterns:D,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:(0,E.Z)({matchPatterns:L,defaultMatchWidth:"wide",parsePatterns:I,defaultParseWidth:"any"}),day:(0,E.Z)({matchPatterns:N,defaultMatchWidth:"wide",parsePatterns:j,defaultParseWidth:"any"}),dayPeriod:(0,E.Z)({matchPatterns:F,defaultMatchWidth:"any",parsePatterns:R,defaultParseWidth:"any"})},z=W,U={code:"en-US",formatDistance:o,formatLong:h,formatRelative:p,localize:M,match:z,options:{weekStartsOn:0,firstWeekContainsDate:1}},H=U},5830:function(t,e,n){"use strict";n.d(e,{Z:function(){return U}});var r={lessThanXSeconds:{one:"moins dune seconde",other:"moins de {{count}} secondes"},xSeconds:{one:"1 seconde",other:"{{count}} secondes"},halfAMinute:"30 secondes",lessThanXMinutes:{one:"moins dune minute",other:"moins de {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"environ 1 heure",other:"environ {{count}} heures"},xHours:{one:"1 heure",other:"{{count}} heures"},xDays:{one:"1 jour",other:"{{count}} jours"},aboutXWeeks:{one:"environ 1 semaine",other:"environ {{count}} semaines"},xWeeks:{one:"1 semaine",other:"{{count}} semaines"},aboutXMonths:{one:"environ 1 mois",other:"environ {{count}} mois"},xMonths:{one:"1 mois",other:"{{count}} mois"},aboutXYears:{one:"environ 1 an",other:"environ {{count}} ans"},xYears:{one:"1 an",other:"{{count}} ans"},overXYears:{one:"plus dun an",other:"plus de {{count}} ans"},almostXYears:{one:"presquun an",other:"presque {{count}} ans"}},i=function(t,e,n){var i,o=r[t];return i="string"===typeof o?o:1===e?o.one:o.other.replace("{{count}}",String(e)),null!==n&&void 0!==n&&n.addSuffix?n.comparison&&n.comparison>0?"dans "+i:"il y a "+i:i},o=i,s=n(9526),a={full:"EEEE d MMMM y",long:"d MMMM y",medium:"d MMM y",short:"dd/MM/y"},l={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},c={full:"{{date}} 'à' {{time}}",long:"{{date}} 'à' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},u={date:(0,s.Z)({formats:a,defaultWidth:"full"}),time:(0,s.Z)({formats:l,defaultWidth:"full"}),dateTime:(0,s.Z)({formats:c,defaultWidth:"full"})},h=u,d={lastWeek:"eeee 'dernier à' p",yesterday:"'hier à' p",today:"'aujourdhui à' p",tomorrow:"'demain à' p'",nextWeek:"eeee 'prochain à' p",other:"P"},f=function(t,e,n,r){return d[t]},p=f,g=n(8486),m={narrow:["av. J.-C","ap. J.-C"],abbreviated:["av. J.-C","ap. J.-C"],wide:["avant Jésus-Christ","après Jésus-Christ"]},b={narrow:["T1","T2","T3","T4"],abbreviated:["1er trim.","2ème trim.","3ème trim.","4ème trim."],wide:["1er trimestre","2ème trimestre","3ème trimestre","4ème trimestre"]},v={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["janv.","févr.","mars","avr.","mai","juin","juil.","août","sept.","oct.","nov.","déc."],wide:["janvier","février","mars","avril","mai","juin","juillet","août","septembre","octobre","novembre","décembre"]},y={narrow:["D","L","M","M","J","V","S"],short:["di","lu","ma","me","je","ve","sa"],abbreviated:["dim.","lun.","mar.","mer.","jeu.","ven.","sam."],wide:["dimanche","lundi","mardi","mercredi","jeudi","vendredi","samedi"]},_={narrow:{am:"AM",pm:"PM",midnight:"minuit",noon:"midi",morning:"mat.",afternoon:"ap.m.",evening:"soir",night:"mat."},abbreviated:{am:"AM",pm:"PM",midnight:"minuit",noon:"midi",morning:"matin",afternoon:"après-midi",evening:"soir",night:"matin"},wide:{am:"AM",pm:"PM",midnight:"minuit",noon:"midi",morning:"du matin",afternoon:"de laprès-midi",evening:"du soir",night:"du matin"}},x=function(t,e){var n=Number(t),r=null===e||void 0===e?void 0:e.unit;if(0===n)return"0";var i,o=["year","week","hour","minute","second"];return i=1===n?r&&o.includes(r)?"ère":"er":"ème",n+i},w={ordinalNumber:x,era:(0,g.Z)({values:m,defaultWidth:"wide"}),quarter:(0,g.Z)({values:b,defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:(0,g.Z)({values:v,defaultWidth:"wide"}),day:(0,g.Z)({values:y,defaultWidth:"wide"}),dayPeriod:(0,g.Z)({values:_,defaultWidth:"wide"})},k=w,M=n(6723),E=n(974),S=/^(\d+)(ième|ère|ème|er|e)?/i,O=/\d+/i,T={narrow:/^(av\.J\.C|ap\.J\.C|ap\.J\.-C)/i,abbreviated:/^(av\.J\.-C|av\.J-C|apr\.J\.-C|apr\.J-C|ap\.J-C)/i,wide:/^(avant Jésus-Christ|après Jésus-Christ)/i},C={any:[/^av/i,/^ap/i]},P={narrow:/^T?[1234]/i,abbreviated:/^[1234](er|ème|e)? trim\.?/i,wide:/^[1234](er|ème|e)? trimestre/i},A={any:[/1/i,/2/i,/3/i,/4/i]},D={narrow:/^[jfmasond]/i,abbreviated:/^(janv|févr|mars|avr|mai|juin|juill|juil|août|sept|oct|nov|déc)\.?/i,wide:/^(janvier|février|mars|avril|mai|juin|juillet|août|septembre|octobre|novembre|décembre)/i},L={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,/^av/i,/^ma/i,/^juin/i,/^juil/i,/^ao/i,/^s/i,/^o/i,/^n/i,/^d/i]},I={narrow:/^[lmjvsd]/i,short:/^(di|lu|ma|me|je|ve|sa)/i,abbreviated:/^(dim|lun|mar|mer|jeu|ven|sam)\.?/i,wide:/^(dimanche|lundi|mardi|mercredi|jeudi|vendredi|samedi)/i},N={narrow:[/^d/i,/^l/i,/^m/i,/^m/i,/^j/i,/^v/i,/^s/i],any:[/^di/i,/^lu/i,/^ma/i,/^me/i,/^je/i,/^ve/i,/^sa/i]},j={narrow:/^(a|p|minuit|midi|mat\.?|ap\.?m\.?|soir|nuit)/i,any:/^([ap]\.?\s?m\.?|du matin|de l'après[-\s]midi|du soir|de la nuit)/i},F={any:{am:/^a/i,pm:/^p/i,midnight:/^min/i,noon:/^mid/i,morning:/mat/i,afternoon:/ap/i,evening:/soir/i,night:/nuit/i}},R={ordinalNumber:(0,E.Z)({matchPattern:S,parsePattern:O,valueCallback:function(t){return parseInt(t)}}),era:(0,M.Z)({matchPatterns:T,defaultMatchWidth:"wide",parsePatterns:C,defaultParseWidth:"any"}),quarter:(0,M.Z)({matchPatterns:P,defaultMatchWidth:"wide",parsePatterns:A,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:(0,M.Z)({matchPatterns:D,defaultMatchWidth:"wide",parsePatterns:L,defaultParseWidth:"any"}),day:(0,M.Z)({matchPatterns:I,defaultMatchWidth:"wide",parsePatterns:N,defaultParseWidth:"any"}),dayPeriod:(0,M.Z)({matchPatterns:j,defaultMatchWidth:"any",parsePatterns:F,defaultParseWidth:"any"})},W=R,z={code:"fr",formatDistance:o,formatLong:h,formatRelative:p,localize:k,match:W,options:{weekStartsOn:1,firstWeekContainsDate:4}},U=z},8160:function(t,e,n){"use strict";n.d(e,{Z:function(){return X}});var r={lessThanXSeconds:{one:"meno di un secondo",other:"meno di {{count}} secondi"},xSeconds:{one:"un secondo",other:"{{count}} secondi"},halfAMinute:"alcuni secondi",lessThanXMinutes:{one:"meno di un minuto",other:"meno di {{count}} minuti"},xMinutes:{one:"un minuto",other:"{{count}} minuti"},aboutXHours:{one:"circa un'ora",other:"circa {{count}} ore"},xHours:{one:"un'ora",other:"{{count}} ore"},xDays:{one:"un giorno",other:"{{count}} giorni"},aboutXWeeks:{one:"circa una settimana",other:"circa {{count}} settimane"},xWeeks:{one:"una settimana",other:"{{count}} settimane"},aboutXMonths:{one:"circa un mese",other:"circa {{count}} mesi"},xMonths:{one:"un mese",other:"{{count}} mesi"},aboutXYears:{one:"circa un anno",other:"circa {{count}} anni"},xYears:{one:"un anno",other:"{{count}} anni"},overXYears:{one:"più di un anno",other:"più di {{count}} anni"},almostXYears:{one:"quasi un anno",other:"quasi {{count}} anni"}},i=function(t,e,n){var i,o=r[t];return i="string"===typeof o?o:1===e?o.one:o.other.replace("{{count}}",e.toString()),null!==n&&void 0!==n&&n.addSuffix?n.comparison&&n.comparison>0?"tra "+i:i+" fa":i},o=i,s=n(9526),a={full:"EEEE d MMMM y",long:"d MMMM y",medium:"d MMM y",short:"dd/MM/y"},l={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},c={full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},u={date:(0,s.Z)({formats:a,defaultWidth:"full"}),time:(0,s.Z)({formats:l,defaultWidth:"full"}),dateTime:(0,s.Z)({formats:c,defaultWidth:"full"})},h=u,d=n(3882),f=n(9025);function p(t,e,n){(0,d.Z)(2,arguments);var r=(0,f.Z)(t,n),i=(0,f.Z)(e,n);return r.getTime()===i.getTime()}var g=["domenica","lunedì","martedì","mercoledì","giovedì","venerdì","sabato"];function m(t){switch(t){case 0:return"'domenica scorsa alle' p";default:return"'"+g[t]+" scorso alle' p"}}function b(t){return"'"+g[t]+" alle' p"}function v(t){switch(t){case 0:return"'domenica prossima alle' p";default:return"'"+g[t]+" prossimo alle' p"}}var y={lastWeek:function(t,e,n){var r=t.getUTCDay();return p(t,e,n)?b(r):m(r)},yesterday:"'ieri alle' p",today:"'oggi alle' p",tomorrow:"'domani alle' p",nextWeek:function(t,e,n){var r=t.getUTCDay();return p(t,e,n)?b(r):v(r)},other:"P"},_=function(t,e,n,r){var i=y[t];return"function"===typeof i?i(e,n,r):i},x=_,w=n(8486),k={narrow:["aC","dC"],abbreviated:["a.C.","d.C."],wide:["avanti Cristo","dopo Cristo"]},M={narrow:["1","2","3","4"],abbreviated:["T1","T2","T3","T4"],wide:["1º trimestre","2º trimestre","3º trimestre","4º trimestre"]},E={narrow:["G","F","M","A","M","G","L","A","S","O","N","D"],abbreviated:["gen","feb","mar","apr","mag","giu","lug","ago","set","ott","nov","dic"],wide:["gennaio","febbraio","marzo","aprile","maggio","giugno","luglio","agosto","settembre","ottobre","novembre","dicembre"]},S={narrow:["D","L","M","M","G","V","S"],short:["dom","lun","mar","mer","gio","ven","sab"],abbreviated:["dom","lun","mar","mer","gio","ven","sab"],wide:["domenica","lunedì","martedì","mercoledì","giovedì","venerdì","sabato"]},O={narrow:{am:"m.",pm:"p.",midnight:"mezzanotte",noon:"mezzogiorno",morning:"mattina",afternoon:"pomeriggio",evening:"sera",night:"notte"},abbreviated:{am:"AM",pm:"PM",midnight:"mezzanotte",noon:"mezzogiorno",morning:"mattina",afternoon:"pomeriggio",evening:"sera",night:"notte"},wide:{am:"AM",pm:"PM",midnight:"mezzanotte",noon:"mezzogiorno",morning:"mattina",afternoon:"pomeriggio",evening:"sera",night:"notte"}},T={narrow:{am:"m.",pm:"p.",midnight:"mezzanotte",noon:"mezzogiorno",morning:"di mattina",afternoon:"del pomeriggio",evening:"di sera",night:"di notte"},abbreviated:{am:"AM",pm:"PM",midnight:"mezzanotte",noon:"mezzogiorno",morning:"di mattina",afternoon:"del pomeriggio",evening:"di sera",night:"di notte"},wide:{am:"AM",pm:"PM",midnight:"mezzanotte",noon:"mezzogiorno",morning:"di mattina",afternoon:"del pomeriggio",evening:"di sera",night:"di notte"}},C=function(t,e){var n=Number(t);return String(n)},P={ordinalNumber:C,era:(0,w.Z)({values:k,defaultWidth:"wide"}),quarter:(0,w.Z)({values:M,defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:(0,w.Z)({values:E,defaultWidth:"wide"}),day:(0,w.Z)({values:S,defaultWidth:"wide"}),dayPeriod:(0,w.Z)({values:O,defaultWidth:"wide",formattingValues:T,defaultFormattingWidth:"wide"})},A=P,D=n(6723),L=n(974),I=/^(\d+)(º)?/i,N=/\d+/i,j={narrow:/^(aC|dC)/i,abbreviated:/^(a\.?\s?C\.?|a\.?\s?e\.?\s?v\.?|d\.?\s?C\.?|e\.?\s?v\.?)/i,wide:/^(avanti Cristo|avanti Era Volgare|dopo Cristo|Era Volgare)/i},F={any:[/^a/i,/^(d|e)/i]},R={narrow:/^[1234]/i,abbreviated:/^t[1234]/i,wide:/^[1234](º)? trimestre/i},W={any:[/1/i,/2/i,/3/i,/4/i]},z={narrow:/^[gfmalsond]/i,abbreviated:/^(gen|feb|mar|apr|mag|giu|lug|ago|set|ott|nov|dic)/i,wide:/^(gennaio|febbraio|marzo|aprile|maggio|giugno|luglio|agosto|settembre|ottobre|novembre|dicembre)/i},U={narrow:[/^g/i,/^f/i,/^m/i,/^a/i,/^m/i,/^g/i,/^l/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ge/i,/^f/i,/^mar/i,/^ap/i,/^mag/i,/^gi/i,/^l/i,/^ag/i,/^s/i,/^o/i,/^n/i,/^d/i]},H={narrow:/^[dlmgvs]/i,short:/^(do|lu|ma|me|gi|ve|sa)/i,abbreviated:/^(dom|lun|mar|mer|gio|ven|sab)/i,wide:/^(domenica|luned[i|ì]|marted[i|ì]|mercoled[i|ì]|gioved[i|ì]|venerd[i|ì]|sabato)/i},B={narrow:[/^d/i,/^l/i,/^m/i,/^m/i,/^g/i,/^v/i,/^s/i],any:[/^d/i,/^l/i,/^ma/i,/^me/i,/^g/i,/^v/i,/^s/i]},V={narrow:/^(a|m\.|p|mezzanotte|mezzogiorno|(di|del) (mattina|pomeriggio|sera|notte))/i,any:/^([ap]\.?\s?m\.?|mezzanotte|mezzogiorno|(di|del) (mattina|pomeriggio|sera|notte))/i},$={any:{am:/^a/i,pm:/^p/i,midnight:/^mezza/i,noon:/^mezzo/i,morning:/mattina/i,afternoon:/pomeriggio/i,evening:/sera/i,night:/notte/i}},Z={ordinalNumber:(0,L.Z)({matchPattern:I,parsePattern:N,valueCallback:function(t){return parseInt(t,10)}}),era:(0,D.Z)({matchPatterns:j,defaultMatchWidth:"wide",parsePatterns:F,defaultParseWidth:"any"}),quarter:(0,D.Z)({matchPatterns:R,defaultMatchWidth:"wide",parsePatterns:W,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:(0,D.Z)({matchPatterns:z,defaultMatchWidth:"wide",parsePatterns:U,defaultParseWidth:"any"}),day:(0,D.Z)({matchPatterns:H,defaultMatchWidth:"wide",parsePatterns:B,defaultParseWidth:"any"}),dayPeriod:(0,D.Z)({matchPatterns:V,defaultMatchWidth:"any",parsePatterns:$,defaultParseWidth:"any"})},Y=Z,q={code:"it",formatDistance:o,formatLong:h,formatRelative:x,localize:A,match:Y,options:{weekStartsOn:1,firstWeekContainsDate:4}},X=q},4638:function(t,e,n){"use strict";n.d(e,{Z:function(){return U}});var r={lessThanXSeconds:{one:"minder dan een seconde",other:"minder dan {{count}} seconden"},xSeconds:{one:"1 seconde",other:"{{count}} seconden"},halfAMinute:"een halve minuut",lessThanXMinutes:{one:"minder dan een minuut",other:"minder dan {{count}} minuten"},xMinutes:{one:"een minuut",other:"{{count}} minuten"},aboutXHours:{one:"ongeveer 1 uur",other:"ongeveer {{count}} uur"},xHours:{one:"1 uur",other:"{{count}} uur"},xDays:{one:"1 dag",other:"{{count}} dagen"},aboutXWeeks:{one:"ongeveer 1 week",other:"ongeveer {{count}} weken"},xWeeks:{one:"1 week",other:"{{count}} weken"},aboutXMonths:{one:"ongeveer 1 maand",other:"ongeveer {{count}} maanden"},xMonths:{one:"1 maand",other:"{{count}} maanden"},aboutXYears:{one:"ongeveer 1 jaar",other:"ongeveer {{count}} jaar"},xYears:{one:"1 jaar",other:"{{count}} jaar"},overXYears:{one:"meer dan 1 jaar",other:"meer dan {{count}} jaar"},almostXYears:{one:"bijna 1 jaar",other:"bijna {{count}} jaar"}},i=function(t,e,n){var i,o=r[t];return i="string"===typeof o?o:1===e?o.one:o.other.replace("{{count}}",String(e)),null!==n&&void 0!==n&&n.addSuffix?n.comparison&&n.comparison>0?"over "+i:i+" geleden":i},o=i,s=n(9526),a={full:"EEEE d MMMM y",long:"d MMMM y",medium:"d MMM y",short:"dd-MM-y"},l={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},c={full:"{{date}} 'om' {{time}}",long:"{{date}} 'om' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},u={date:(0,s.Z)({formats:a,defaultWidth:"full"}),time:(0,s.Z)({formats:l,defaultWidth:"full"}),dateTime:(0,s.Z)({formats:c,defaultWidth:"full"})},h=u,d={lastWeek:"'afgelopen' eeee 'om' p",yesterday:"'gisteren om' p",today:"'vandaag om' p",tomorrow:"'morgen om' p",nextWeek:"eeee 'om' p",other:"P"},f=function(t,e,n,r){return d[t]},p=f,g=n(8486),m={narrow:["v.C.","n.C."],abbreviated:["v.Chr.","n.Chr."],wide:["voor Christus","na Christus"]},b={narrow:["1","2","3","4"],abbreviated:["K1","K2","K3","K4"],wide:["1e kwartaal","2e kwartaal","3e kwartaal","4e kwartaal"]},v={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["jan.","feb.","mrt.","apr.","mei","jun.","jul.","aug.","sep.","okt.","nov.","dec."],wide:["januari","februari","maart","april","mei","juni","juli","augustus","september","oktober","november","december"]},y={narrow:["Z","M","D","W","D","V","Z"],short:["zo","ma","di","wo","do","vr","za"],abbreviated:["zon","maa","din","woe","don","vri","zat"],wide:["zondag","maandag","dinsdag","woensdag","donderdag","vrijdag","zaterdag"]},_={narrow:{am:"AM",pm:"PM",midnight:"middernacht",noon:"het middaguur",morning:"'s ochtends",afternoon:"'s middags",evening:"'s avonds",night:"'s nachts"},abbreviated:{am:"AM",pm:"PM",midnight:"middernacht",noon:"het middaguur",morning:"'s ochtends",afternoon:"'s middags",evening:"'s avonds",night:"'s nachts"},wide:{am:"AM",pm:"PM",midnight:"middernacht",noon:"het middaguur",morning:"'s ochtends",afternoon:"'s middags",evening:"'s avonds",night:"'s nachts"}},x=function(t,e){var n=Number(t);return n+"e"},w={ordinalNumber:x,era:(0,g.Z)({values:m,defaultWidth:"wide"}),quarter:(0,g.Z)({values:b,defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:(0,g.Z)({values:v,defaultWidth:"wide"}),day:(0,g.Z)({values:y,defaultWidth:"wide"}),dayPeriod:(0,g.Z)({values:_,defaultWidth:"wide"})},k=w,M=n(6723),E=n(974),S=/^(\d+)e?/i,O=/\d+/i,T={narrow:/^([vn]\.? ?C\.?)/,abbreviated:/^([vn]\. ?Chr\.?)/,wide:/^((voor|na) Christus)/},C={any:[/^v/,/^n/]},P={narrow:/^[1234]/i,abbreviated:/^K[1234]/i,wide:/^[1234]e kwartaal/i},A={any:[/1/i,/2/i,/3/i,/4/i]},D={narrow:/^[jfmasond]/i,abbreviated:/^(jan.|feb.|mrt.|apr.|mei|jun.|jul.|aug.|sep.|okt.|nov.|dec.)/i,wide:/^(januari|februari|maart|april|mei|juni|juli|augustus|september|oktober|november|december)/i},L={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:[/^jan/i,/^feb/i,/^m(r|a)/i,/^apr/i,/^mei/i,/^jun/i,/^jul/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i]},I={narrow:/^[zmdwv]/i,short:/^(zo|ma|di|wo|do|vr|za)/i,abbreviated:/^(zon|maa|din|woe|don|vri|zat)/i,wide:/^(zondag|maandag|dinsdag|woensdag|donderdag|vrijdag|zaterdag)/i},N={narrow:[/^z/i,/^m/i,/^d/i,/^w/i,/^d/i,/^v/i,/^z/i],any:[/^zo/i,/^ma/i,/^di/i,/^wo/i,/^do/i,/^vr/i,/^za/i]},j={any:/^(am|pm|middernacht|het middaguur|'s (ochtends|middags|avonds|nachts))/i},F={any:{am:/^am/i,pm:/^pm/i,midnight:/^middernacht/i,noon:/^het middaguur/i,morning:/ochtend/i,afternoon:/middag/i,evening:/avond/i,night:/nacht/i}},R={ordinalNumber:(0,E.Z)({matchPattern:S,parsePattern:O,valueCallback:function(t){return parseInt(t,10)}}),era:(0,M.Z)({matchPatterns:T,defaultMatchWidth:"wide",parsePatterns:C,defaultParseWidth:"any"}),quarter:(0,M.Z)({matchPatterns:P,defaultMatchWidth:"wide",parsePatterns:A,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:(0,M.Z)({matchPatterns:D,defaultMatchWidth:"wide",parsePatterns:L,defaultParseWidth:"any"}),day:(0,M.Z)({matchPatterns:I,defaultMatchWidth:"wide",parsePatterns:N,defaultParseWidth:"any"}),dayPeriod:(0,M.Z)({matchPatterns:j,defaultMatchWidth:"any",parsePatterns:F,defaultParseWidth:"any"})},W=R,z={code:"nl",formatDistance:o,formatLong:h,formatRelative:p,localize:k,match:W,options:{weekStartsOn:1,firstWeekContainsDate:4}},U=z},3703:function(t,e,n){"use strict";n.d(e,{Z:function(){return o}});var r=n(9013),i=n(3882);function o(t){(0,i.Z)(1,arguments);var e=(0,r.Z)(t);return e.setDate(1),e.setHours(0,0,0,0),e}},584:function(t,e,n){"use strict";n.d(e,{Z:function(){return a}});var r=n(9013),i=n(3946),o=n(3882),s=n(4314);function a(t,e){var n,a,l,c,u,h,d,f;(0,o.Z)(1,arguments);var p=(0,s.j)(),g=(0,i.Z)(null!==(n=null!==(a=null!==(l=null!==(c=null===e||void 0===e?void 0:e.weekStartsOn)&&void 0!==c?c:null===e||void 0===e||null===(u=e.locale)||void 0===u||null===(h=u.options)||void 0===h?void 0:h.weekStartsOn)&&void 0!==l?l:p.weekStartsOn)&&void 0!==a?a:null===(d=p.locale)||void 0===d||null===(f=d.options)||void 0===f?void 0:f.weekStartsOn)&&void 0!==n?n:0);if(!(g>=0&&g<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var m=(0,r.Z)(t),b=m.getDay(),v=(b<g?7:0)+b-g;return m.setDate(m.getDate()-v),m.setHours(0,0,0,0),m}},8148:function(t,e,n){"use strict";n.d(e,{Z:function(){return o}});var r=n(9013),i=n(3882);function o(t){(0,i.Z)(1,arguments);var e=(0,r.Z)(t),n=new Date(0);return n.setFullYear(e.getFullYear(),0,1),n.setHours(0,0,0,0),n}},4559:function(t,e,n){"use strict";n.d(e,{Z:function(){return s}});var r=n(3946),i=n(1640),o=n(3882);function s(t,e){(0,o.Z)(2,arguments);var n=(0,r.Z)(e);return(0,i.Z)(t,-n)}},7982:function(t,e,n){"use strict";n.d(e,{Z:function(){return s}});var r=n(3946),i=n(3500),o=n(3882);function s(t,e){(0,o.Z)(2,arguments);var n=(0,r.Z)(e);return(0,i.Z)(t,-n)}},9319:function(t,e,n){"use strict";n.d(e,{Z:function(){return s}});var r=n(3946),i=n(1593),o=n(3882);function s(t,e){(0,o.Z)(2,arguments);var n=(0,r.Z)(e);return(0,i.Z)(t,-n)}},9013:function(t,e,n){"use strict";n.d(e,{Z:function(){return o}});var r=n(3882);function i(t){return i="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},i(t)}function o(t){(0,r.Z)(1,arguments);var e=Object.prototype.toString.call(t);return t instanceof Date||"object"===i(t)&&"[object Date]"===e?new Date(t.getTime()):"number"===typeof t||"[object Number]"===e?new Date(t):("string"!==typeof t&&"[object String]"!==e||"undefined"===typeof console||(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments"),console.warn((new Error).stack)),new Date(NaN))}},6959:function(t){"use strict";const e=/[\p{Lu}]/u,n=/[\p{Ll}]/u,r=/^[\p{Lu}](?![\p{Lu}])/gu,i=/([\p{Alpha}\p{N}_]|$)/u,o=/[_.\- ]+/,s=new RegExp("^"+o.source),a=new RegExp(o.source+i.source,"gu"),l=new RegExp("\\d+"+i.source,"gu"),c=(t,r,i)=>{let o=!1,s=!1,a=!1;for(let l=0;l<t.length;l++){const c=t[l];o&&e.test(c)?(t=t.slice(0,l)+"-"+t.slice(l),o=!1,a=s,s=!0,l++):s&&a&&n.test(c)?(t=t.slice(0,l-1)+"-"+t.slice(l-1),a=s,s=!1,o=!0):(o=r(c)===c&&i(c)!==c,a=s,s=i(c)===c&&r(c)!==c)}return t},u=(t,e)=>(r.lastIndex=0,t.replace(r,(t=>e(t)))),h=(t,e)=>(a.lastIndex=0,l.lastIndex=0,t.replace(a,((t,n)=>e(n))).replace(l,(t=>e(t)))),d=(t,e)=>{if("string"!==typeof t&&!Array.isArray(t))throw new TypeError("Expected the input to be `string | string[]`");if(e={pascalCase:!1,preserveConsecutiveUppercase:!1,...e},t=Array.isArray(t)?t.map((t=>t.trim())).filter((t=>t.length)).join("-"):t.trim(),0===t.length)return"";const n=!1===e.locale?t=>t.toLowerCase():t=>t.toLocaleLowerCase(e.locale),r=!1===e.locale?t=>t.toUpperCase():t=>t.toLocaleUpperCase(e.locale);if(1===t.length)return e.pascalCase?r(t):n(t);const i=t!==n(t);return i&&(t=c(t,n,r)),t=t.replace(s,""),t=e.preserveConsecutiveUppercase?u(t,n):n(t),e.pascalCase&&(t=r(t.charAt(0))+t.slice(1)),h(t,r)};t.exports=d,t.exports["default"]=d},5205:function(t,e,n){"use strict";n.d(e,{z:function(){return o}});var r,i=function(){return Boolean("localhost"===window.location.hostname||"[::1]"===window.location.hostname||window.location.hostname.match(/^127(?:\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)){3}$/))};function o(t,e){void 0===e&&(e={});var n=e.registrationOptions;void 0===n&&(n={}),delete e.registrationOptions;var o=function(t){var n=[],r=arguments.length-1;while(r-- >0)n[r]=arguments[r+1];e&&e[t]&&e[t].apply(e,n)};"serviceWorker"in navigator&&r.then((function(){i()?(l(t,o,n),navigator.serviceWorker.ready.then((function(t){o("ready",t)})).catch((function(t){return s(o,t)}))):(a(t,o,n),navigator.serviceWorker.ready.then((function(t){o("ready",t)})).catch((function(t){return s(o,t)})))}))}function s(t,e){navigator.onLine||t("offline"),t("error",e)}function a(t,e,n){navigator.serviceWorker.register(t,n).then((function(t){e("registered",t),t.waiting?e("updated",t):t.onupdatefound=function(){e("updatefound",t);var n=t.installing;n.onstatechange=function(){"installed"===n.state&&(navigator.serviceWorker.controller?e("updated",t):e("cached",t))}}})).catch((function(t){return s(e,t)}))}function l(t,e,n){fetch(t).then((function(r){404===r.status?(e("error",new Error("Service worker not found at "+t)),c()):-1===r.headers.get("content-type").indexOf("javascript")?(e("error",new Error("Expected "+t+" to have javascript content-type, but received "+r.headers.get("content-type"))),c()):a(t,e,n)})).catch((function(t){return s(e,t)}))}function c(){"serviceWorker"in navigator&&navigator.serviceWorker.ready.then((function(t){t.unregister()})).catch((function(t){return s(emit,t)}))}"undefined"!==typeof window&&(r="undefined"!==typeof Promise?new Promise((function(t){return window.addEventListener("load",t)})):{then:function(t){return window.addEventListener("load",t)}})},2343:function(t,e,n){"use strict";var r,i,o,s,a,l,c,u,h,d=n(6252),f=n(2262),p=Object.defineProperty,g=Object.defineProperties,m=Object.getOwnPropertyDescriptors,b=Object.getOwnPropertySymbols,v=Object.prototype.hasOwnProperty,y=Object.prototype.propertyIsEnumerable,_=(t,e,n)=>e in t?p(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n
/*!
* vue-fullscreen v3.1.1
* https://github.com/mirari/vue-fullscreen#readme
*
* Copyright 2021 mirari
* Released under the MIT license
*
* Date: 2021-11-16T11:04:32.608Z
*/,x="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof n.g?n.g:"undefined"!=typeof self?self:{},w=function(t){return t},k=function(t,e,n){switch(n.length){case 0:return t.call(e);case 1:return t.call(e,n[0]);case 2:return t.call(e,n[0],n[1]);case 3:return t.call(e,n[0],n[1],n[2])}return t.apply(e,n)},M=Math.max,E=function(t,e,n){return e=M(void 0===e?t.length-1:e,0),function(){for(var r=arguments,i=-1,o=M(r.length-e,0),s=Array(o);++i<o;)s[i]=r[e+i];i=-1;for(var a=Array(e+1);++i<e;)a[i]=r[i];return a[e]=n(s),k(t,this,a)}},S=function(t){return function(){return t}},O="object"==typeof x&&x&&x.Object===Object&&x,T=O,C="object"==typeof self&&self&&self.Object===Object&&self,P=T||C||Function("return this")(),A=P.Symbol,D=A,L=Object.prototype,I=L.hasOwnProperty,N=L.toString,j=D?D.toStringTag:void 0,F=function(t){var e=I.call(t,j),n=t[j];try{t[j]=void 0;var r=!0}catch(y){}var i=N.call(t);return r&&(e?t[j]=n:delete t[j]),i},R=Object.prototype.toString,W=F,z=function(t){return R.call(t)},U=A?A.toStringTag:void 0,H=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":U&&U in Object(t)?W(t):z(t)},B=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)},V=H,$=B,Z=function(t){if(!$(t))return!1;var e=V(t);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e},Y=P["__core-js_shared__"],q=(r=/[^.]+$/.exec(Y&&Y.keys&&Y.keys.IE_PROTO||""))?"Symbol(src)_1."+r:"",X=function(t){return!!q&&q in t},G=Function.prototype.toString,J=Z,K=X,Q=B,tt=function(t){if(null!=t){try{return G.call(t)}catch(g){}try{return t+""}catch(g){}}return""},et=/^\[object .+?Constructor\]$/,nt=Function.prototype,rt=Object.prototype,it=nt.toString,ot=rt.hasOwnProperty,st=RegExp("^"+it.call(ot).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),at=function(t){return!(!Q(t)||K(t))&&(J(t)?st:et).test(tt(t))},lt=function(t,e){return null==t?void 0:t[e]},ct=function(t,e){var n=lt(t,e);return at(n)?n:void 0},ut=function(){try{var t=ct(Object,"defineProperty");return t({},"",{}),t}catch(g){}}(),ht=S,dt=ut,ft=dt?function(t,e){return dt(t,"toString",{configurable:!0,enumerable:!1,value:ht(e),writable:!0})}:w,pt=Date.now,gt=function(t){var e=0,n=0;return function(){var r=pt(),i=16-(r-n);if(n=r,i>0){if(++e>=800)return arguments[0]}else e=0;return t.apply(void 0,arguments)}}(ft),mt=w,bt=E,vt=gt,yt=function(t,e){return vt(bt(t,e,mt),t+"")},_t=function(t,e){return t===e||t!=t&&e!=e},xt=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991},wt=Z,kt=xt,Mt=function(t){return null!=t&&kt(t.length)&&!wt(t)},Et=/^(?:0|[1-9]\d*)$/,St=function(t,e){var n=typeof t;return!!(e=null==e?9007199254740991:e)&&("number"==n||"symbol"!=n&&Et.test(t))&&t>-1&&t%1==0&&t<e},Ot=_t,Tt=Mt,Ct=St,Pt=B,At=function(t,e,n){if(!Pt(n))return!1;var r=typeof e;return!!("number"==r?Tt(n)&&Ct(e,n.length):"string"==r&&e in n)&&Ot(n[e],t)},Dt=function(t,e){for(var n=-1,r=Array(t);++n<t;)r[n]=e(n);return r},Lt=function(t){return null!=t&&"object"==typeof t},It=H,Nt=Lt,jt=function(t){return Nt(t)&&"[object Arguments]"==It(t)},Ft=Lt,Rt=Object.prototype,Wt=Rt.hasOwnProperty,zt=Rt.propertyIsEnumerable,Ut=jt(function(){return arguments}())?jt:function(t){return Ft(t)&&Wt.call(t,"callee")&&!zt.call(t,"callee")},Ht=Array.isArray,Bt={exports:{}};i=Bt,s=P,a=function(){return!1},l=(o=Bt.exports)&&!o.nodeType&&o,c=l&&i&&!i.nodeType&&i,u=c&&c.exports===l?s.Buffer:void 0,h=(u?u.isBuffer:void 0)||a,i.exports=h;var Vt=H,$t=xt,Zt=Lt,Yt={};Yt["[object Float32Array]"]=Yt["[object Float64Array]"]=Yt["[object Int8Array]"]=Yt["[object Int16Array]"]=Yt["[object Int32Array]"]=Yt["[object Uint8Array]"]=Yt["[object Uint8ClampedArray]"]=Yt["[object Uint16Array]"]=Yt["[object Uint32Array]"]=!0,Yt["[object Arguments]"]=Yt["[object Array]"]=Yt["[object ArrayBuffer]"]=Yt["[object Boolean]"]=Yt["[object DataView]"]=Yt["[object Date]"]=Yt["[object Error]"]=Yt["[object Function]"]=Yt["[object Map]"]=Yt["[object Number]"]=Yt["[object Object]"]=Yt["[object RegExp]"]=Yt["[object Set]"]=Yt["[object String]"]=Yt["[object WeakMap]"]=!1;var qt=function(t){return Zt(t)&&$t(t.length)&&!!Yt[Vt(t)]},Xt=function(t){return function(e){return t(e)}},Gt={exports:{}};!function(t,e){var n=O,r=e&&!e.nodeType&&e,i=r&&t&&!t.nodeType&&t,o=i&&i.exports===r&&n.process,s=function(){try{var t=i&&i.require&&i.require("util").types;return t||o&&o.binding&&o.binding("util")}catch(e){}}();t.exports=s}(Gt,Gt.exports);var Jt=qt,Kt=Xt,Qt=Gt.exports,te=Qt&&Qt.isTypedArray,ee=te?Kt(te):Jt,ne=Dt,re=Ut,ie=Ht,oe=Bt.exports,se=St,ae=ee,le=Object.prototype.hasOwnProperty,ce=function(t,e){var n=ie(t),r=!n&&re(t),i=!n&&!r&&oe(t),o=!n&&!r&&!i&&ae(t),s=n||r||i||o,a=s?ne(t.length,String):[],l=a.length;for(var c in t)!e&&!le.call(t,c)||s&&("length"==c||i&&("offset"==c||"parent"==c)||o&&("buffer"==c||"byteLength"==c||"byteOffset"==c)||se(c,l))||a.push(c);return a},ue=Object.prototype,he=B,de=function(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||ue)},fe=function(t){var e=[];if(null!=t)for(var n in Object(t))e.push(n);return e},pe=Object.prototype.hasOwnProperty,ge=ce,me=function(t){if(!he(t))return fe(t);var e=de(t),n=[];for(var r in t)("constructor"!=r||!e&&pe.call(t,r))&&n.push(r);return n},be=Mt,ve=yt,ye=_t,_e=At,xe=function(t){return be(t)?ge(t,!0):me(t)},we=Object.prototype,ke=we.hasOwnProperty,Me=ve((function(t,e){t=Object(t);var n=-1,r=e.length,i=r>2?e[2]:void 0;for(i&&_e(e[0],e[1],i)&&(r=1);++n<r;)for(var o=e[n],s=xe(o),a=-1,l=s.length;++a<l;){var c=s[a],u=t[c];(void 0===u||ye(u,we[c])&&!ke.call(t,c))&&(t[c]=o[c])}return t})),Ee={exports:{}};!function(t){var e,n,r,i,o;e="undefined"!=typeof window&&void 0!==window.document?window.document:{},n=t.exports,r=function(){for(var t,n=[["requestFullscreen","exitFullscreen","fullscreenElement","fullscreenEnabled","fullscreenchange","fullscreenerror"],["webkitRequestFullscreen","webkitExitFullscreen","webkitFullscreenElement","webkitFullscreenEnabled","webkitfullscreenchange","webkitfullscreenerror"],["webkitRequestFullScreen","webkitCancelFullScreen","webkitCurrentFullScreenElement","webkitCancelFullScreen","webkitfullscreenchange","webkitfullscreenerror"],["mozRequestFullScreen","mozCancelFullScreen","mozFullScreenElement","mozFullScreenEnabled","mozfullscreenchange","mozfullscreenerror"],["msRequestFullscreen","msExitFullscreen","msFullscreenElement","msFullscreenEnabled","MSFullscreenChange","MSFullscreenError"]],r=0,i=n.length,o={};r<i;r++)if((t=n[r])&&t[1]in e){for(r=0;r<t.length;r++)o[n[0][r]]=t[r];return o}return!1}(),i={change:r.fullscreenchange,error:r.fullscreenerror},o={request:function(t,n){return new Promise(function(i,o){var s=function(){this.off("change",s),i()}.bind(this);this.on("change",s);var a=(t=t||e.documentElement)[r.requestFullscreen](n);a instanceof Promise&&a.then(s).catch(o)}.bind(this))},exit:function(){return new Promise(function(t,n){if(this.isFullscreen){var i=function(){this.off("change",i),t()}.bind(this);this.on("change",i);var o=e[r.exitFullscreen]();o instanceof Promise&&o.then(i).catch(n)}else t()}.bind(this))},toggle:function(t,e){return this.isFullscreen?this.exit():this.request(t,e)},onchange:function(t){this.on("change",t)},onerror:function(t){this.on("error",t)},on:function(t,n){var r=i[t];r&&e.addEventListener(r,n,!1)},off:function(t,n){var r=i[t];r&&e.removeEventListener(r,n,!1)},raw:r},r?(Object.defineProperties(o,{isFullscreen:{get:function(){return Boolean(e[r.fullscreenElement])}},element:{enumerable:!0,get:function(){return e[r.fullscreenElement]}},isEnabled:{enumerable:!0,get:function(){return Boolean(e[r.fullscreenEnabled])}}}),n?t.exports=o:window.screenfull=o):n?t.exports={isEnabled:!1}:window.screenfull={isEnabled:!1}}(Ee);var Se=Ee.exports;const Oe=Se;var Te=(0,d.aZ)({props:{modelValue:{type:Boolean,default:!1},fullscreen:{type:Boolean,default:!1},exitOnClickWrapper:{type:Boolean,default:!0},fullscreenClass:{type:String,default:"fullscreen"},pageOnly:{type:Boolean,default:!1},teleport:{type:Boolean,default:!1}},emits:["change","update:modelValue","update:fullscreen"],setup(t,{emit:e}){const n=(0,f.iH)(),r=(0,f.qj)({isFullscreen:!1,isEnabled:Oe.isEnabled}),i=(0,d.Fl)((()=>t.pageOnly||!Oe.isEnabled)),o=(0,d.Fl)((()=>(i.value||t.teleport)&&r.isFullscreen?{position:"fixed",left:"0",top:"0",width:"100%",height:"100%"}:void 0));function s(){e("change",r.isFullscreen),e("update:modelValue",r.isFullscreen),e("update:fullscreen",r.isFullscreen)}function a(){Oe.isFullscreen||Oe.off("change",a),r.isFullscreen=Oe.isFullscreen,s()}function l(t){"Escape"===t.key&&u()}function c(){i.value?(r.isFullscreen=!0,s(),document.removeEventListener("keyup",l),document.addEventListener("keyup",l)):(Oe.off("change",a),Oe.on("change",a),Oe.request(t.teleport?document.body:n.value))}function u(){r.isFullscreen&&(i.value?(r.isFullscreen=!1,s(),document.removeEventListener("keyup",l)):Oe.exit())}return(0,d.YP)((()=>t.fullscreen),(t=>{t!==r.isFullscreen&&(t?c():u())})),(0,d.YP)((()=>t.modelValue),(t=>{t!==r.isFullscreen&&(t?c():u())})),h=((t,e)=>{for(var n in e||(e={}))v.call(e,n)&&_(t,n,e[n]);if(b)for(var n of b(e))y.call(e,n)&&_(t,n,e[n]);return t})({wrapper:n,wrapperStyle:o},(0,f.BK)(r)),g(h,m({toggle:function(t){void 0===t?r.isFullscreen?u():c():t?c():u()},request:c,exit:u,shadeClick:function(e){e.target===n.value&&t.exitOnClickWrapper&&u()}}));var h}});Te.render=function(t,e,n,r,i,o){return(0,d.wg)(),(0,d.j4)(d.lR,{to:"body",disabled:!t.teleport||!t.fullscreen},[(0,d.Wm)("div",(0,d.dG)({ref:"wrapper"},t.$attrs,{style:t.wrapperStyle,class:{[t.fullscreenClass]:t.isFullscreen},onClick:e[1]||(e[1]=e=>t.shadeClick(e))}),[(0,d.WI)(t.$slots,"default")],16)],8,["disabled"])};const Ce="undefined"!=typeof window&&null!==window;!function(){if(Ce&&"IntersectionObserver"in window&&"IntersectionObserverEntry"in window&&"intersectionRatio"in window.IntersectionObserverEntry.prototype)"isIntersecting"in window.IntersectionObserverEntry.prototype||Object.defineProperty(window.IntersectionObserverEntry.prototype,"isIntersecting",{get(){return this.intersectionRatio>0}})}();const Pe=Object.prototype.propertyIsEnumerable,Ae=Object.getOwnPropertySymbols;function De(t){return"function"==typeof t||"[object Object]"===toString.call(t)}function Le(t){return"__proto__"!==t&&"constructor"!==t&&"prototype"!==t}function Ie(t,...e){if(!De(t))throw new TypeError("expected the first argument to be an object");if(0===e.length||"function"!=typeof Symbol||"function"!=typeof Ae)return t;for(const n of e){const e=Ae(n);for(const r of e)Pe.call(n,r)&&(t[r]=n[r])}return t}function Ne(t,...e){let n=0;var r;for(("object"==typeof(r=t)?null===r:"function"!=typeof r)&&(t=e[n++]),t||(t={});n<e.length;n++)if(De(e[n])){for(const r of Object.keys(e[n]))Le(r)&&(De(t[r])&&De(e[n][r])?Ne(t[r],e[n][r]):t[r]=e[n][r]);Ie(t,e[n])}return t}const je=Se;class Fe{constructor(t){this.fullscreenClass="fullscreen",this.teleport=!1,this.pageOnly=!1,t&&Ne(this,t)}}let Re,We;function ze(t,e){t.style.position=e.position,t.style.left=e.left,t.style.top=e.top,t.style.width=e.width,t.style.height=e.height}function Ue(t){const e=t.element;e&&(e.classList.remove(t.options.fullscreenClass),(t.options.teleport||t.options.pageOnly)&&(t.options.teleport&&We&&(We.insertBefore(e,Re),We.removeChild(Re)),e.__styleCache&&ze(e,e.__styleCache)))}const He={options:new Fe,element:null,isFullscreen:!1,isEnabled:je.isEnabled,toggle(t,e,n){return void 0===n?this.isFullscreen?this.exit():this.request(t,e):n?this.request(t,e):this.exit()},request(t,e){if(this.isFullscreen)return Promise.resolve();if(t||(t=document.body),this.options=new Fe(e),t===document.body&&(this.options.teleport=!1),je.isEnabled||(this.options.pageOnly=!0),t.classList.add(this.options.fullscreenClass),this.options.teleport||this.options.pageOnly){const{position:e,left:n,top:r,width:i,height:o}=t.style;t.__styleCache={position:e,left:n,top:r,width:i,height:o},ze(t,{position:"fixed",left:"0",top:"0",width:"100%",height:"100%"})}if(this.options.teleport&&(We=t.parentNode,We&&(Re=document.createComment("fullscreen-token"),We.insertBefore(Re,t),document.body.appendChild(t))),this.options.pageOnly){const e=t=>{"Escape"===t.key&&(document.removeEventListener("keyup",e),this.exit())};return this.isFullscreen=!0,this.element=t,document.removeEventListener("keyup",e),document.addEventListener("keyup",e),this.options.callback&&this.options.callback(this.isFullscreen),Promise.resolve()}{const e=()=>{je.isFullscreen||(je.off("change",e),Ue(this)),this.isFullscreen=je.isFullscreen,this.options.teleport?this.element=t||null:this.element=je.element,this.options.callback&&this.options.callback(je.isFullscreen)};return je.on("change",e),je.request(this.options.teleport?document.body:t)}},exit(){return this.isFullscreen?this.options.pageOnly?(Ue(this),this.isFullscreen=!1,this.element=null,this.options.callback&&this.options.callback(this.isFullscreen),Promise.resolve()):je.exit():Promise.resolve()}},Be=(t,e,n)=>{const r=()=>{let t;const n={teleport:e.modifiers.teleport,pageOnly:e.modifiers.pageOnly};if(e.value)if("string"==typeof e.value)t=e.value;else{const r=e.value,{target:i}=r,o=((t,e)=>{var n={};for(var r in t)v.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(null!=t&&b)for(var r of b(t))e.indexOf(r)<0&&y.call(t,r)&&(n[r]=t[r]);return n})(r,["target"]);t=i,Ne(n,o)}"string"==typeof t&&(t=document.querySelector(t)),He.toggle(t,n)};t._onClickFullScreen&&t.removeEventListener("click",t._onClickFullScreen),t.addEventListener("click",r),t._onClickFullScreen=r};var Ve={install(t,{name:e="fullscreen"}={}){t.config.globalProperties[`$${e}`]=He,t.component(e,Me(Te,{name:e})),t.directive(e,Be)}};e["ZP"]=Ve},9150:function(t,e,n){"use strict";n.d(e,{o:function(){return Mn},QT:function(){return En}});
/*!
* shared v9.2.2
* (c) 2022 kazuya kawaguchi
* Released under the MIT License.
*/
const r="undefined"!==typeof window;const i="function"===typeof Symbol&&"symbol"===typeof Symbol.toStringTag,o=t=>i?Symbol(t):t,s=(t,e,n)=>a({l:t,k:e,s:n}),a=t=>JSON.stringify(t).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),l=t=>"number"===typeof t&&isFinite(t),c=t=>"[object Date]"===E(t),u=t=>"[object RegExp]"===E(t),h=t=>S(t)&&0===Object.keys(t).length;function d(t,e){"undefined"!==typeof console&&(console.warn("[intlify] "+t),e&&console.warn(e.stack))}const f=Object.assign;let p;const g=()=>p||(p="undefined"!==typeof globalThis?globalThis:"undefined"!==typeof self?self:"undefined"!==typeof window?window:"undefined"!==typeof n.g?n.g:{});function m(t){return t.replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&apos;")}const b=Object.prototype.hasOwnProperty;function v(t,e){return b.call(t,e)}const y=Array.isArray,_=t=>"function"===typeof t,x=t=>"string"===typeof t,w=t=>"boolean"===typeof t,k=t=>null!==t&&"object"===typeof t,M=Object.prototype.toString,E=t=>M.call(t),S=t=>"[object Object]"===E(t),O=t=>null==t?"":y(t)||S(t)&&t.toString===M?JSON.stringify(t,null,2):String(t);
/*!
* message-compiler v9.2.2
* (c) 2022 kazuya kawaguchi
* Released under the MIT License.
*/
const T={EXPECTED_TOKEN:1,INVALID_TOKEN_IN_PLACEHOLDER:2,UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER:3,UNKNOWN_ESCAPE_SEQUENCE:4,INVALID_UNICODE_ESCAPE_SEQUENCE:5,UNBALANCED_CLOSING_BRACE:6,UNTERMINATED_CLOSING_BRACE:7,EMPTY_PLACEHOLDER:8,NOT_ALLOW_NEST_PLACEHOLDER:9,INVALID_LINKED_FORMAT:10,MUST_HAVE_MESSAGES_IN_PLURAL:11,UNEXPECTED_EMPTY_LINKED_MODIFIER:12,UNEXPECTED_EMPTY_LINKED_KEY:13,UNEXPECTED_LEXICAL_ANALYSIS:14,__EXTEND_POINT__:15};T.EXPECTED_TOKEN,T.INVALID_TOKEN_IN_PLACEHOLDER,T.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,T.UNKNOWN_ESCAPE_SEQUENCE,T.INVALID_UNICODE_ESCAPE_SEQUENCE,T.UNBALANCED_CLOSING_BRACE,T.UNTERMINATED_CLOSING_BRACE,T.EMPTY_PLACEHOLDER,T.NOT_ALLOW_NEST_PLACEHOLDER,T.INVALID_LINKED_FORMAT,T.MUST_HAVE_MESSAGES_IN_PLURAL,T.UNEXPECTED_EMPTY_LINKED_MODIFIER,T.UNEXPECTED_EMPTY_LINKED_KEY,T.UNEXPECTED_LEXICAL_ANALYSIS;function C(t,e,n={}){const{domain:r,messages:i,args:o}=n,s=t,a=new SyntaxError(String(s));return a.code=t,e&&(a.location=e),a.domain=r,a}function P(t){throw t}function A(t,e,n){return{line:t,column:e,offset:n}}function D(t,e,n){const r={start:t,end:e};return null!=n&&(r.source=n),r}const L=" ",I="\r",N="\n",j=String.fromCharCode(8232),F=String.fromCharCode(8233);function R(t){const e=t;let n=0,r=1,i=1,o=0;const s=t=>e[t]===I&&e[t+1]===N,a=t=>e[t]===N,l=t=>e[t]===F,c=t=>e[t]===j,u=t=>s(t)||a(t)||l(t)||c(t),h=()=>n,d=()=>r,f=()=>i,p=()=>o,g=t=>s(t)||l(t)||c(t)?N:e[t],m=()=>g(n),b=()=>g(n+o);function v(){return o=0,u(n)&&(r++,i=0),s(n)&&n++,n++,i++,e[n]}function y(){return s(n+o)&&o++,o++,e[n+o]}function _(){n=0,r=1,i=1,o=0}function x(t=0){o=t}function w(){const t=n+o;while(t!==n)v();o=0}return{index:h,line:d,column:f,peekOffset:p,charAt:g,currentChar:m,currentPeek:b,next:v,peek:y,reset:_,resetPeek:x,skipToPeek:w}}const W=void 0,z="'",U="tokenizer";function H(t,e={}){const n=!1!==e.location,r=R(t),i=()=>r.index(),o=()=>A(r.line(),r.column(),r.index()),s=o(),a=i(),l={currentType:14,offset:a,startLoc:s,endLoc:s,lastType:14,lastOffset:a,lastStartLoc:s,lastEndLoc:s,braceNest:0,inLinked:!1,text:""},c=()=>l,{onError:u}=e;function h(t,e,n,...r){const i=c();if(e.column+=n,e.offset+=n,u){const n=D(i.startLoc,e),o=C(t,n,{domain:U,args:r});u(o)}}function d(t,e,r){t.endLoc=o(),t.currentType=e;const i={type:e};return n&&(i.loc=D(t.startLoc,t.endLoc)),null!=r&&(i.value=r),i}const f=t=>d(t,14);function p(t,e){return t.currentChar()===e?(t.next(),e):(h(T.EXPECTED_TOKEN,o(),0,e),"")}function g(t){let e="";while(t.currentPeek()===L||t.currentPeek()===N)e+=t.currentPeek(),t.peek();return e}function m(t){const e=g(t);return t.skipToPeek(),e}function b(t){if(t===W)return!1;const e=t.charCodeAt(0);return e>=97&&e<=122||e>=65&&e<=90||95===e}function v(t){if(t===W)return!1;const e=t.charCodeAt(0);return e>=48&&e<=57}function y(t,e){const{currentType:n}=e;if(2!==n)return!1;g(t);const r=b(t.currentPeek());return t.resetPeek(),r}function _(t,e){const{currentType:n}=e;if(2!==n)return!1;g(t);const r="-"===t.currentPeek()?t.peek():t.currentPeek(),i=v(r);return t.resetPeek(),i}function x(t,e){const{currentType:n}=e;if(2!==n)return!1;g(t);const r=t.currentPeek()===z;return t.resetPeek(),r}function w(t,e){const{currentType:n}=e;if(8!==n)return!1;g(t);const r="."===t.currentPeek();return t.resetPeek(),r}function k(t,e){const{currentType:n}=e;if(9!==n)return!1;g(t);const r=b(t.currentPeek());return t.resetPeek(),r}function M(t,e){const{currentType:n}=e;if(8!==n&&12!==n)return!1;g(t);const r=":"===t.currentPeek();return t.resetPeek(),r}function E(t,e){const{currentType:n}=e;if(10!==n)return!1;const r=()=>{const e=t.currentPeek();return"{"===e?b(t.peek()):!("@"===e||"%"===e||"|"===e||":"===e||"."===e||e===L||!e)&&(e===N?(t.peek(),r()):b(e))},i=r();return t.resetPeek(),i}function S(t){g(t);const e="|"===t.currentPeek();return t.resetPeek(),e}function O(t){const e=g(t),n="%"===t.currentPeek()&&"{"===t.peek();return t.resetPeek(),{isModulo:n,hasSpace:e.length>0}}function P(t,e=!0){const n=(e=!1,r="",i=!1)=>{const o=t.currentPeek();return"{"===o?"%"!==r&&e:"@"!==o&&o?"%"===o?(t.peek(),n(e,"%",!0)):"|"===o?!("%"!==r&&!i)||!(r===L||r===N):o===L?(t.peek(),n(!0,L,i)):o!==N||(t.peek(),n(!0,N,i)):"%"===r||e},r=n();return e&&t.resetPeek(),r}function I(t,e){const n=t.currentChar();return n===W?W:e(n)?(t.next(),n):null}function j(t){const e=t=>{const e=t.charCodeAt(0);return e>=97&&e<=122||e>=65&&e<=90||e>=48&&e<=57||95===e||36===e};return I(t,e)}function F(t){const e=t=>{const e=t.charCodeAt(0);return e>=48&&e<=57};return I(t,e)}function H(t){const e=t=>{const e=t.charCodeAt(0);return e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102};return I(t,e)}function B(t){let e="",n="";while(e=F(t))n+=e;return n}function V(t){m(t);const e=t.currentChar();return"%"!==e&&h(T.EXPECTED_TOKEN,o(),0,e),t.next(),"%"}function $(t){let e="";while(1){const n=t.currentChar();if("{"===n||"}"===n||"@"===n||"|"===n||!n)break;if("%"===n){if(!P(t))break;e+=n,t.next()}else if(n===L||n===N)if(P(t))e+=n,t.next();else{if(S(t))break;e+=n,t.next()}else e+=n,t.next()}return e}function Z(t){m(t);let e="",n="";while(e=j(t))n+=e;return t.currentChar()===W&&h(T.UNTERMINATED_CLOSING_BRACE,o(),0),n}function Y(t){m(t);let e="";return"-"===t.currentChar()?(t.next(),e+=`-${B(t)}`):e+=B(t),t.currentChar()===W&&h(T.UNTERMINATED_CLOSING_BRACE,o(),0),e}function q(t){m(t),p(t,"'");let e="",n="";const r=t=>t!==z&&t!==N;while(e=I(t,r))n+="\\"===e?X(t):e;const i=t.currentChar();return i===N||i===W?(h(T.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,o(),0),i===N&&(t.next(),p(t,"'")),n):(p(t,"'"),n)}function X(t){const e=t.currentChar();switch(e){case"\\":case"'":return t.next(),`\\${e}`;case"u":return G(t,e,4);case"U":return G(t,e,6);default:return h(T.UNKNOWN_ESCAPE_SEQUENCE,o(),0,e),""}}function G(t,e,n){p(t,e);let r="";for(let i=0;i<n;i++){const n=H(t);if(!n){h(T.INVALID_UNICODE_ESCAPE_SEQUENCE,o(),0,`\\${e}${r}${t.currentChar()}`);break}r+=n}return`\\${e}${r}`}function J(t){m(t);let e="",n="";const r=t=>"{"!==t&&"}"!==t&&t!==L&&t!==N;while(e=I(t,r))n+=e;return n}function K(t){let e="",n="";while(e=j(t))n+=e;return n}function Q(t){const e=(n=!1,r)=>{const i=t.currentChar();return"{"!==i&&"%"!==i&&"@"!==i&&"|"!==i&&i?i===L?r:i===N?(r+=i,t.next(),e(n,r)):(r+=i,t.next(),e(!0,r)):r};return e(!1,"")}function tt(t){m(t);const e=p(t,"|");return m(t),e}function et(t,e){let n=null;const r=t.currentChar();switch(r){case"{":return e.braceNest>=1&&h(T.NOT_ALLOW_NEST_PLACEHOLDER,o(),0),t.next(),n=d(e,2,"{"),m(t),e.braceNest++,n;case"}":return e.braceNest>0&&2===e.currentType&&h(T.EMPTY_PLACEHOLDER,o(),0),t.next(),n=d(e,3,"}"),e.braceNest--,e.braceNest>0&&m(t),e.inLinked&&0===e.braceNest&&(e.inLinked=!1),n;case"@":return e.braceNest>0&&h(T.UNTERMINATED_CLOSING_BRACE,o(),0),n=nt(t,e)||f(e),e.braceNest=0,n;default:let r=!0,i=!0,s=!0;if(S(t))return e.braceNest>0&&h(T.UNTERMINATED_CLOSING_BRACE,o(),0),n=d(e,1,tt(t)),e.braceNest=0,e.inLinked=!1,n;if(e.braceNest>0&&(5===e.currentType||6===e.currentType||7===e.currentType))return h(T.UNTERMINATED_CLOSING_BRACE,o(),0),e.braceNest=0,rt(t,e);if(r=y(t,e))return n=d(e,5,Z(t)),m(t),n;if(i=_(t,e))return n=d(e,6,Y(t)),m(t),n;if(s=x(t,e))return n=d(e,7,q(t)),m(t),n;if(!r&&!i&&!s)return n=d(e,13,J(t)),h(T.INVALID_TOKEN_IN_PLACEHOLDER,o(),0,n.value),m(t),n;break}return n}function nt(t,e){const{currentType:n}=e;let r=null;const i=t.currentChar();switch(8!==n&&9!==n&&12!==n&&10!==n||i!==N&&i!==L||h(T.INVALID_LINKED_FORMAT,o(),0),i){case"@":return t.next(),r=d(e,8,"@"),e.inLinked=!0,r;case".":return m(t),t.next(),d(e,9,".");case":":return m(t),t.next(),d(e,10,":");default:return S(t)?(r=d(e,1,tt(t)),e.braceNest=0,e.inLinked=!1,r):w(t,e)||M(t,e)?(m(t),nt(t,e)):k(t,e)?(m(t),d(e,12,K(t))):E(t,e)?(m(t),"{"===i?et(t,e)||r:d(e,11,Q(t))):(8===n&&h(T.INVALID_LINKED_FORMAT,o(),0),e.braceNest=0,e.inLinked=!1,rt(t,e))}}function rt(t,e){let n={type:14};if(e.braceNest>0)return et(t,e)||f(e);if(e.inLinked)return nt(t,e)||f(e);const r=t.currentChar();switch(r){case"{":return et(t,e)||f(e);case"}":return h(T.UNBALANCED_CLOSING_BRACE,o(),0),t.next(),d(e,3,"}");case"@":return nt(t,e)||f(e);default:if(S(t))return n=d(e,1,tt(t)),e.braceNest=0,e.inLinked=!1,n;const{isModulo:r,hasSpace:i}=O(t);if(r)return i?d(e,0,$(t)):d(e,4,V(t));if(P(t))return d(e,0,$(t));break}return n}function it(){const{currentType:t,offset:e,startLoc:n,endLoc:s}=l;return l.lastType=t,l.lastOffset=e,l.lastStartLoc=n,l.lastEndLoc=s,l.offset=i(),l.startLoc=o(),r.currentChar()===W?d(l,14):rt(r,l)}return{nextToken:it,currentOffset:i,currentPosition:o,context:c}}const B="parser",V=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function $(t,e,n){switch(t){case"\\\\":return"\\";case"\\'":return"'";default:{const t=parseInt(e||n,16);return t<=55295||t>=57344?String.fromCodePoint(t):"<22>"}}}function Z(t={}){const e=!1!==t.location,{onError:n}=t;function r(t,e,r,i,...o){const s=t.currentPosition();if(s.offset+=i,s.column+=i,n){const t=D(r,s),i=C(e,t,{domain:B,args:o});n(i)}}function i(t,n,r){const i={type:t,start:n,end:n};return e&&(i.loc={start:r,end:r}),i}function o(t,n,r,i){t.end=n,i&&(t.type=i),e&&t.loc&&(t.loc.end=r)}function s(t,e){const n=t.context(),r=i(3,n.offset,n.startLoc);return r.value=e,o(r,t.currentOffset(),t.currentPosition()),r}function a(t,e){const n=t.context(),{lastOffset:r,lastStartLoc:s}=n,a=i(5,r,s);return a.index=parseInt(e,10),t.nextToken(),o(a,t.currentOffset(),t.currentPosition()),a}function l(t,e){const n=t.context(),{lastOffset:r,lastStartLoc:s}=n,a=i(4,r,s);return a.key=e,t.nextToken(),o(a,t.currentOffset(),t.currentPosition()),a}function c(t,e){const n=t.context(),{lastOffset:r,lastStartLoc:s}=n,a=i(9,r,s);return a.value=e.replace(V,$),t.nextToken(),o(a,t.currentOffset(),t.currentPosition()),a}function u(t){const e=t.nextToken(),n=t.context(),{lastOffset:s,lastStartLoc:a}=n,l=i(8,s,a);return 12!==e.type?(r(t,T.UNEXPECTED_EMPTY_LINKED_MODIFIER,n.lastStartLoc,0),l.value="",o(l,s,a),{nextConsumeToken:e,node:l}):(null==e.value&&r(t,T.UNEXPECTED_LEXICAL_ANALYSIS,n.lastStartLoc,0,Y(e)),l.value=e.value||"",o(l,t.currentOffset(),t.currentPosition()),{node:l})}function h(t,e){const n=t.context(),r=i(7,n.offset,n.startLoc);return r.value=e,o(r,t.currentOffset(),t.currentPosition()),r}function d(t){const e=t.context(),n=i(6,e.offset,e.startLoc);let s=t.nextToken();if(9===s.type){const e=u(t);n.modifier=e.node,s=e.nextConsumeToken||t.nextToken()}switch(10!==s.type&&r(t,T.UNEXPECTED_LEXICAL_ANALYSIS,e.lastStartLoc,0,Y(s)),s=t.nextToken(),2===s.type&&(s=t.nextToken()),s.type){case 11:null==s.value&&r(t,T.UNEXPECTED_LEXICAL_ANALYSIS,e.lastStartLoc,0,Y(s)),n.key=h(t,s.value||"");break;case 5:null==s.value&&r(t,T.UNEXPECTED_LEXICAL_ANALYSIS,e.lastStartLoc,0,Y(s)),n.key=l(t,s.value||"");break;case 6:null==s.value&&r(t,T.UNEXPECTED_LEXICAL_ANALYSIS,e.lastStartLoc,0,Y(s)),n.key=a(t,s.value||"");break;case 7:null==s.value&&r(t,T.UNEXPECTED_LEXICAL_ANALYSIS,e.lastStartLoc,0,Y(s)),n.key=c(t,s.value||"");break;default:r(t,T.UNEXPECTED_EMPTY_LINKED_KEY,e.lastStartLoc,0);const u=t.context(),d=i(7,u.offset,u.startLoc);return d.value="",o(d,u.offset,u.startLoc),n.key=d,o(n,u.offset,u.startLoc),{nextConsumeToken:s,node:n}}return o(n,t.currentOffset(),t.currentPosition()),{node:n}}function p(t){const e=t.context(),n=1===e.currentType?t.currentOffset():e.offset,u=1===e.currentType?e.endLoc:e.startLoc,h=i(2,n,u);h.items=[];let f=null;do{const n=f||t.nextToken();switch(f=null,n.type){case 0:null==n.value&&r(t,T.UNEXPECTED_LEXICAL_ANALYSIS,e.lastStartLoc,0,Y(n)),h.items.push(s(t,n.value||""));break;case 6:null==n.value&&r(t,T.UNEXPECTED_LEXICAL_ANALYSIS,e.lastStartLoc,0,Y(n)),h.items.push(a(t,n.value||""));break;case 5:null==n.value&&r(t,T.UNEXPECTED_LEXICAL_ANALYSIS,e.lastStartLoc,0,Y(n)),h.items.push(l(t,n.value||""));break;case 7:null==n.value&&r(t,T.UNEXPECTED_LEXICAL_ANALYSIS,e.lastStartLoc,0,Y(n)),h.items.push(c(t,n.value||""));break;case 8:const i=d(t);h.items.push(i.node),f=i.nextConsumeToken||null;break}}while(14!==e.currentType&&1!==e.currentType);const p=1===e.currentType?e.lastOffset:t.currentOffset(),g=1===e.currentType?e.lastEndLoc:t.currentPosition();return o(h,p,g),h}function g(t,e,n,s){const a=t.context();let l=0===s.items.length;const c=i(1,e,n);c.cases=[],c.cases.push(s);do{const e=p(t);l||(l=0===e.items.length),c.cases.push(e)}while(14!==a.currentType);return l&&r(t,T.MUST_HAVE_MESSAGES_IN_PLURAL,n,0),o(c,t.currentOffset(),t.currentPosition()),c}function m(t){const e=t.context(),{offset:n,startLoc:r}=e,i=p(t);return 14===e.currentType?i:g(t,n,r,i)}function b(n){const s=H(n,f({},t)),a=s.context(),l=i(0,a.offset,a.startLoc);return e&&l.loc&&(l.loc.source=n),l.body=m(s),14!==a.currentType&&r(s,T.UNEXPECTED_LEXICAL_ANALYSIS,a.lastStartLoc,0,n[a.offset]||""),o(l,s.currentOffset(),s.currentPosition()),l}return{parse:b}}function Y(t){if(14===t.type)return"EOF";const e=(t.value||"").replace(/\r?\n/gu,"\\n");return e.length>10?e.slice(0,9)+"…":e}function q(t,e={}){const n={ast:t,helpers:new Set},r=()=>n,i=t=>(n.helpers.add(t),t);return{context:r,helper:i}}function X(t,e){for(let n=0;n<t.length;n++)G(t[n],e)}function G(t,e){switch(t.type){case 1:X(t.cases,e),e.helper("plural");break;case 2:X(t.items,e);break;case 6:const n=t;G(n.key,e),e.helper("linked"),e.helper("type");break;case 5:e.helper("interpolate"),e.helper("list");break;case 4:e.helper("interpolate"),e.helper("named");break}}function J(t,e={}){const n=q(t);n.helper("normalize"),t.body&&G(t.body,n);const r=n.context();t.helpers=Array.from(r.helpers)}function K(t,e){const{sourceMap:n,filename:r,breakLineCode:i,needIndent:o}=e,s={source:t.loc.source,filename:r,code:"",column:1,line:1,offset:0,map:void 0,breakLineCode:i,needIndent:o,indentLevel:0},a=()=>s;function l(t,e){s.code+=t}function c(t,e=!0){const n=e?i:"";l(o?n+" ".repeat(t):n)}function u(t=!0){const e=++s.indentLevel;t&&c(e)}function h(t=!0){const e=--s.indentLevel;t&&c(e)}function d(){c(s.indentLevel)}const f=t=>`_${t}`,p=()=>s.needIndent;return{context:a,push:l,indent:u,deindent:h,newline:d,helper:f,needIndent:p}}function Q(t,e){const{helper:n}=t;t.push(`${n("linked")}(`),rt(t,e.key),e.modifier?(t.push(", "),rt(t,e.modifier),t.push(", _type")):t.push(", undefined, _type"),t.push(")")}function tt(t,e){const{helper:n,needIndent:r}=t;t.push(`${n("normalize")}([`),t.indent(r());const i=e.items.length;for(let o=0;o<i;o++){if(rt(t,e.items[o]),o===i-1)break;t.push(", ")}t.deindent(r()),t.push("])")}function et(t,e){const{helper:n,needIndent:r}=t;if(e.cases.length>1){t.push(`${n("plural")}([`),t.indent(r());const i=e.cases.length;for(let n=0;n<i;n++){if(rt(t,e.cases[n]),n===i-1)break;t.push(", ")}t.deindent(r()),t.push("])")}}function nt(t,e){e.body?rt(t,e.body):t.push("null")}function rt(t,e){const{helper:n}=t;switch(e.type){case 0:nt(t,e);break;case 1:et(t,e);break;case 2:tt(t,e);break;case 6:Q(t,e);break;case 8:t.push(JSON.stringify(e.value),e);break;case 7:t.push(JSON.stringify(e.value),e);break;case 5:t.push(`${n("interpolate")}(${n("list")}(${e.index}))`,e);break;case 4:t.push(`${n("interpolate")}(${n("named")}(${JSON.stringify(e.key)}))`,e);break;case 9:t.push(JSON.stringify(e.value),e);break;case 3:t.push(JSON.stringify(e.value),e);break;default:0}}const it=(t,e={})=>{const n=x(e.mode)?e.mode:"normal",r=x(e.filename)?e.filename:"message.intl",i=!!e.sourceMap,o=null!=e.breakLineCode?e.breakLineCode:"arrow"===n?";":"\n",s=e.needIndent?e.needIndent:"arrow"!==n,a=t.helpers||[],l=K(t,{mode:n,filename:r,sourceMap:i,breakLineCode:o,needIndent:s});l.push("normal"===n?"function __msg__ (ctx) {":"(ctx) => {"),l.indent(s),a.length>0&&(l.push(`const { ${a.map((t=>`${t}: _${t}`)).join(", ")} } = ctx`),l.newline()),l.push("return "),rt(l,t),l.deindent(s),l.push("}");const{code:c,map:u}=l.context();return{ast:t,code:c,map:u?u.toJSON():void 0}};function ot(t,e={}){const n=f({},e),r=Z(n),i=r.parse(t);return J(i,n),it(i,n)}
/*!
* devtools-if v9.2.2
* (c) 2022 kazuya kawaguchi
* Released under the MIT License.
*/
const st={I18nInit:"i18n:init",FunctionTranslate:"function:translate"},at=[];at[0]={["w"]:[0],["i"]:[3,0],["["]:[4],["o"]:[7]},at[1]={["w"]:[1],["."]:[2],["["]:[4],["o"]:[7]},at[2]={["w"]:[2],["i"]:[3,0],["0"]:[3,0]},at[3]={["i"]:[3,0],["0"]:[3,0],["w"]:[1,1],["."]:[2,1],["["]:[4,1],["o"]:[7,1]},at[4]={["'"]:[5,0],['"']:[6,0],["["]:[4,2],["]"]:[1,3],["o"]:8,["l"]:[4,0]},at[5]={["'"]:[4,0],["o"]:8,["l"]:[5,0]},at[6]={['"']:[4,0],["o"]:8,["l"]:[6,0]};const lt=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function ct(t){return lt.test(t)}function ut(t){const e=t.charCodeAt(0),n=t.charCodeAt(t.length-1);return e!==n||34!==e&&39!==e?t:t.slice(1,-1)}function ht(t){if(void 0===t||null===t)return"o";const e=t.charCodeAt(0);switch(e){case 91:case 93:case 46:case 34:case 39:return t;case 95:case 36:case 45:return"i";case 9:case 10:case 13:case 160:case 65279:case 8232:case 8233:return"w"}return"i"}function dt(t){const e=t.trim();return("0"!==t.charAt(0)||!isNaN(parseInt(t)))&&(ct(e)?ut(e):"*"+e)}function ft(t){const e=[];let n,r,i,o,s,a,l,c=-1,u=0,h=0;const d=[];function f(){const e=t[c+1];if(5===u&&"'"===e||6===u&&'"'===e)return c++,i="\\"+e,d[0](),!0}d[0]=()=>{void 0===r?r=i:r+=i},d[1]=()=>{void 0!==r&&(e.push(r),r=void 0)},d[2]=()=>{d[0](),h++},d[3]=()=>{if(h>0)h--,u=4,d[0]();else{if(h=0,void 0===r)return!1;if(r=dt(r),!1===r)return!1;d[1]()}};while(null!==u)if(c++,n=t[c],"\\"!==n||!f()){if(o=ht(n),l=at[u],s=l[o]||l["l"]||8,8===s)return;if(u=s[0],void 0!==s[1]&&(a=d[s[1]],a&&(i=n,!1===a())))return;if(7===u)return e}}const pt=new Map;function gt(t,e){return k(t)?t[e]:null}function mt(t,e){if(!k(t))return null;let n=pt.get(e);if(n||(n=ft(e),n&&pt.set(e,n)),!n)return null;const r=n.length;let i=t,o=0;while(o<r){const t=i[n[o]];if(void 0===t)return null;i=t,o++}return i}const bt=t=>t,vt=t=>"",yt="text",_t=t=>0===t.length?"":t.join(""),xt=O;function wt(t,e){return t=Math.abs(t),2===e?t?t>1?1:0:1:t?Math.min(t,2):0}function kt(t){const e=l(t.pluralIndex)?t.pluralIndex:-1;return t.named&&(l(t.named.count)||l(t.named.n))?l(t.named.count)?t.named.count:l(t.named.n)?t.named.n:e:e}function Mt(t,e){e.count||(e.count=t),e.n||(e.n=t)}function Et(t={}){const e=t.locale,n=kt(t),r=k(t.pluralRules)&&x(e)&&_(t.pluralRules[e])?t.pluralRules[e]:wt,i=k(t.pluralRules)&&x(e)&&_(t.pluralRules[e])?wt:void 0,o=t=>t[r(n,t.length,i)],s=t.list||[],a=t=>s[t],c=t.named||{};l(t.pluralIndex)&&Mt(n,c);const u=t=>c[t];function h(e){const n=_(t.messages)?t.messages(e):!!k(t.messages)&&t.messages[e];return n||(t.parent?t.parent.message(e):vt)}const d=e=>t.modifiers?t.modifiers[e]:bt,f=S(t.processor)&&_(t.processor.normalize)?t.processor.normalize:_t,p=S(t.processor)&&_(t.processor.interpolate)?t.processor.interpolate:xt,g=S(t.processor)&&x(t.processor.type)?t.processor.type:yt,m=(t,...e)=>{const[n,r]=e;let i="text",o="";1===e.length?k(n)?(o=n.modifier||o,i=n.type||i):x(n)&&(o=n||o):2===e.length&&(x(n)&&(o=n||o),x(r)&&(i=r||i));let s=h(t)(b);return"vnode"===i&&y(s)&&o&&(s=s[0]),o?d(o)(s,i):s},b={["list"]:a,["named"]:u,["plural"]:o,["linked"]:m,["message"]:h,["type"]:g,["interpolate"]:p,["normalize"]:f};return b}let St=null;function Ot(t){St=t}function Tt(t,e,n){St&&St.emit(st.I18nInit,{timestamp:Date.now(),i18n:t,version:e,meta:n})}const Ct=Pt(st.FunctionTranslate);function Pt(t){return e=>St&&St.emit(t,e)}const At={NOT_FOUND_KEY:1,FALLBACK_TO_TRANSLATE:2,CANNOT_FORMAT_NUMBER:3,FALLBACK_TO_NUMBER_FORMAT:4,CANNOT_FORMAT_DATE:5,FALLBACK_TO_DATE_FORMAT:6,__EXTEND_POINT__:7};At.NOT_FOUND_KEY,At.FALLBACK_TO_TRANSLATE,At.CANNOT_FORMAT_NUMBER,At.FALLBACK_TO_NUMBER_FORMAT,At.CANNOT_FORMAT_DATE,At.FALLBACK_TO_DATE_FORMAT;function Dt(t,e,n){return[...new Set([n,...y(e)?e:k(e)?Object.keys(e):x(e)?[e]:[n]])]}function Lt(t,e,n){const r=x(n)?n:Wt,i=t;i.__localeChainCache||(i.__localeChainCache=new Map);let o=i.__localeChainCache.get(r);if(!o){o=[];let t=[n];while(y(t))t=It(o,t,e);const s=y(e)||!S(e)?e:e["default"]?e["default"]:null;t=x(s)?[s]:s,y(t)&&It(o,t,!1),i.__localeChainCache.set(r,o)}return o}function It(t,e,n){let r=!0;for(let i=0;i<e.length&&w(r);i++){const o=e[i];x(o)&&(r=Nt(t,e[i],n))}return r}function Nt(t,e,n){let r;const i=e.split("-");do{const e=i.join("-");r=jt(t,e,n),i.splice(-1,1)}while(i.length&&!0===r);return r}function jt(t,e,n){let r=!1;if(!t.includes(e)&&(r=!0,e)){r="!"!==e[e.length-1];const i=e.replace(/!/g,"");t.push(i),(y(n)||S(n))&&n[i]&&(r=n[i])}return r}const Ft="9.2.2",Rt=-1,Wt="en-US",zt="",Ut=t=>`${t.charAt(0).toLocaleUpperCase()}${t.substr(1)}`;function Ht(){return{upper:(t,e)=>"text"===e&&x(t)?t.toUpperCase():"vnode"===e&&k(t)&&"__v_isVNode"in t?t.children.toUpperCase():t,lower:(t,e)=>"text"===e&&x(t)?t.toLowerCase():"vnode"===e&&k(t)&&"__v_isVNode"in t?t.children.toLowerCase():t,capitalize:(t,e)=>"text"===e&&x(t)?Ut(t):"vnode"===e&&k(t)&&"__v_isVNode"in t?Ut(t.children):t}}let Bt,Vt,$t;function Zt(t){Bt=t}function Yt(t){Vt=t}function qt(t){$t=t}let Xt=null;const Gt=t=>{Xt=t},Jt=()=>Xt;let Kt=null;const Qt=t=>{Kt=t},te=()=>Kt;let ee=0;function ne(t={}){const e=x(t.version)?t.version:Ft,n=x(t.locale)?t.locale:Wt,r=y(t.fallbackLocale)||S(t.fallbackLocale)||x(t.fallbackLocale)||!1===t.fallbackLocale?t.fallbackLocale:n,i=S(t.messages)?t.messages:{[n]:{}},o=S(t.datetimeFormats)?t.datetimeFormats:{[n]:{}},s=S(t.numberFormats)?t.numberFormats:{[n]:{}},a=f({},t.modifiers||{},Ht()),l=t.pluralRules||{},c=_(t.missing)?t.missing:null,h=!w(t.missingWarn)&&!u(t.missingWarn)||t.missingWarn,p=!w(t.fallbackWarn)&&!u(t.fallbackWarn)||t.fallbackWarn,g=!!t.fallbackFormat,m=!!t.unresolving,b=_(t.postTranslation)?t.postTranslation:null,v=S(t.processor)?t.processor:null,M=!w(t.warnHtmlMessage)||t.warnHtmlMessage,E=!!t.escapeParameter,O=_(t.messageCompiler)?t.messageCompiler:Bt,T=_(t.messageResolver)?t.messageResolver:Vt||gt,C=_(t.localeFallbacker)?t.localeFallbacker:$t||Dt,P=k(t.fallbackContext)?t.fallbackContext:void 0,A=_(t.onWarn)?t.onWarn:d,D=t,L=k(D.__datetimeFormatters)?D.__datetimeFormatters:new Map,I=k(D.__numberFormatters)?D.__numberFormatters:new Map,N=k(D.__meta)?D.__meta:{};ee++;const j={version:e,cid:ee,locale:n,fallbackLocale:r,messages:i,modifiers:a,pluralRules:l,missing:c,missingWarn:h,fallbackWarn:p,fallbackFormat:g,unresolving:m,postTranslation:b,processor:v,warnHtmlMessage:M,escapeParameter:E,messageCompiler:O,messageResolver:T,localeFallbacker:C,fallbackContext:P,onWarn:A,__meta:N};return j.datetimeFormats=o,j.numberFormats=s,j.__datetimeFormatters=L,j.__numberFormatters=I,__INTLIFY_PROD_DEVTOOLS__&&Tt(j,e,N),j}function re(t,e,n,r,i){const{missing:o,onWarn:s}=t;if(null!==o){const r=o(t,n,e,i);return x(r)?r:e}return e}function ie(t,e,n){const r=t;r.__localeChainCache=new Map,t.localeFallbacker(t,n,e)}const oe=t=>t;let se=Object.create(null);function ae(t,e={}){{const n=e.onCacheKey||oe,r=n(t),i=se[r];if(i)return i;let o=!1;const s=e.onError||P;e.onError=t=>{o=!0,s(t)};const{code:a}=ot(t,e),l=new Function(`return ${a}`)();return o?l:se[r]=l}}let le=T.__EXTEND_POINT__;const ce=()=>++le,ue={INVALID_ARGUMENT:le,INVALID_DATE_ARGUMENT:ce(),INVALID_ISO_DATE_ARGUMENT:ce(),__EXTEND_POINT__:ce()};function he(t){return C(t,null,void 0)}ue.INVALID_ARGUMENT,ue.INVALID_DATE_ARGUMENT,ue.INVALID_ISO_DATE_ARGUMENT;const de=()=>"",fe=t=>_(t);function pe(t,...e){const{fallbackFormat:n,postTranslation:r,unresolving:i,messageCompiler:o,fallbackLocale:s,messages:a}=t,[l,c]=ye(...e),u=w(c.missingWarn)?c.missingWarn:t.missingWarn,h=w(c.fallbackWarn)?c.fallbackWarn:t.fallbackWarn,d=w(c.escapeParameter)?c.escapeParameter:t.escapeParameter,p=!!c.resolvedMessage,g=x(c.default)||w(c.default)?w(c.default)?o?l:()=>l:c.default:n?o?l:()=>l:"",m=n||""!==g,b=x(c.locale)?c.locale:t.locale;d&&ge(c);let[v,y,_]=p?[l,b,a[b]||{}]:me(t,l,b,s,h,u),k=v,M=l;if(p||x(k)||fe(k)||m&&(k=g,M=k),!p&&(!x(k)&&!fe(k)||!x(y)))return i?Rt:l;let E=!1;const S=()=>{E=!0},O=fe(k)?k:be(t,l,y,k,M,S);if(E)return k;const T=xe(t,y,_,c),C=Et(T),P=ve(t,O,C),A=r?r(P,l):P;if(__INTLIFY_PROD_DEVTOOLS__){const e={timestamp:Date.now(),key:x(l)?l:fe(k)?k.key:"",locale:y||(fe(k)?k.locale:""),format:x(k)?k:fe(k)?k.source:"",message:A};e.meta=f({},t.__meta,Jt()||{}),Ct(e)}return A}function ge(t){y(t.list)?t.list=t.list.map((t=>x(t)?m(t):t)):k(t.named)&&Object.keys(t.named).forEach((e=>{x(t.named[e])&&(t.named[e]=m(t.named[e]))}))}function me(t,e,n,r,i,o){const{messages:s,onWarn:a,messageResolver:l,localeFallbacker:c}=t,u=c(t,r,n);let h,d={},f=null,p=n,g=null;const m="translate";for(let b=0;b<u.length;b++){h=g=u[b],d=s[h]||{};if(null===(f=l(d,e))&&(f=d[e]),x(f)||_(f))break;const n=re(t,e,h,o,m);n!==e&&(f=n),p=g}return[f,h,d]}function be(t,e,n,r,i,o){const{messageCompiler:s,warnHtmlMessage:a}=t;if(fe(r)){const t=r;return t.locale=t.locale||n,t.key=t.key||e,t}if(null==s){const t=()=>r;return t.locale=n,t.key=e,t}const l=s(r,_e(t,n,i,r,a,o));return l.locale=n,l.key=e,l.source=r,l}function ve(t,e,n){const r=e(n);return r}function ye(...t){const[e,n,r]=t,i={};if(!x(e)&&!l(e)&&!fe(e))throw he(ue.INVALID_ARGUMENT);const o=l(e)?String(e):(fe(e),e);return l(n)?i.plural=n:x(n)?i.default=n:S(n)&&!h(n)?i.named=n:y(n)&&(i.list=n),l(r)?i.plural=r:x(r)?i.default=r:S(r)&&f(i,r),[o,i]}function _e(t,e,n,r,i,o){return{warnHtmlMessage:i,onError:t=>{throw o&&o(t),t},onCacheKey:t=>s(e,n,t)}}function xe(t,e,n,r){const{modifiers:i,pluralRules:o,messageResolver:s,fallbackLocale:a,fallbackWarn:c,missingWarn:u,fallbackContext:h}=t,d=r=>{let i=s(n,r);if(null==i&&h){const[,,t]=me(h,r,e,a,c,u);i=s(t,r)}if(x(i)){let n=!1;const o=()=>{n=!0},s=be(t,r,e,i,r,o);return n?de:s}return fe(i)?i:de},f={locale:e,modifiers:i,pluralRules:o,messages:d};return t.processor&&(f.processor=t.processor),r.list&&(f.list=r.list),r.named&&(f.named=r.named),l(r.plural)&&(f.pluralIndex=r.plural),f}const we="undefined"!==typeof Intl;we&&Intl.DateTimeFormat,we&&Intl.NumberFormat;function ke(t,...e){const{datetimeFormats:n,unresolving:r,fallbackLocale:i,onWarn:o,localeFallbacker:s}=t,{__datetimeFormatters:a}=t;const[l,c,u,d]=Ee(...e),p=w(u.missingWarn)?u.missingWarn:t.missingWarn,g=(w(u.fallbackWarn)?u.fallbackWarn:t.fallbackWarn,!!u.part),m=x(u.locale)?u.locale:t.locale,b=s(t,i,m);if(!x(l)||""===l)return new Intl.DateTimeFormat(m,d).format(c);let v,y={},_=null,k=m,M=null;const E="datetime format";for(let h=0;h<b.length;h++){if(v=M=b[h],y=n[v]||{},_=y[l],S(_))break;re(t,l,v,p,E),k=M}if(!S(_)||!x(v))return r?Rt:l;let O=`${v}__${l}`;h(d)||(O=`${O}__${JSON.stringify(d)}`);let T=a.get(O);return T||(T=new Intl.DateTimeFormat(v,f({},_,d)),a.set(O,T)),g?T.formatToParts(c):T.format(c)}const Me=["localeMatcher","weekday","era","year","month","day","hour","minute","second","timeZoneName","formatMatcher","hour12","timeZone","dateStyle","timeStyle","calendar","dayPeriod","numberingSystem","hourCycle","fractionalSecondDigits"];function Ee(...t){const[e,n,r,i]=t,o={};let s,a={};if(x(e)){const t=e.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);if(!t)throw he(ue.INVALID_ISO_DATE_ARGUMENT);const n=t[3]?t[3].trim().startsWith("T")?`${t[1].trim()}${t[3].trim()}`:`${t[1].trim()}T${t[3].trim()}`:t[1].trim();s=new Date(n);try{s.toISOString()}catch(u){throw he(ue.INVALID_ISO_DATE_ARGUMENT)}}else if(c(e)){if(isNaN(e.getTime()))throw he(ue.INVALID_DATE_ARGUMENT);s=e}else{if(!l(e))throw he(ue.INVALID_ARGUMENT);s=e}return x(n)?o.key=n:S(n)&&Object.keys(n).forEach((t=>{Me.includes(t)?a[t]=n[t]:o[t]=n[t]})),x(r)?o.locale=r:S(r)&&(a=r),S(i)&&(a=i),[o.key||"",s,o,a]}function Se(t,e,n){const r=t;for(const i in n){const t=`${e}__${i}`;r.__datetimeFormatters.has(t)&&r.__datetimeFormatters.delete(t)}}function Oe(t,...e){const{numberFormats:n,unresolving:r,fallbackLocale:i,onWarn:o,localeFallbacker:s}=t,{__numberFormatters:a}=t;const[l,c,u,d]=Ce(...e),p=w(u.missingWarn)?u.missingWarn:t.missingWarn,g=(w(u.fallbackWarn)?u.fallbackWarn:t.fallbackWarn,!!u.part),m=x(u.locale)?u.locale:t.locale,b=s(t,i,m);if(!x(l)||""===l)return new Intl.NumberFormat(m,d).format(c);let v,y={},_=null,k=m,M=null;const E="number format";for(let h=0;h<b.length;h++){if(v=M=b[h],y=n[v]||{},_=y[l],S(_))break;re(t,l,v,p,E),k=M}if(!S(_)||!x(v))return r?Rt:l;let O=`${v}__${l}`;h(d)||(O=`${O}__${JSON.stringify(d)}`);let T=a.get(O);return T||(T=new Intl.NumberFormat(v,f({},_,d)),a.set(O,T)),g?T.formatToParts(c):T.format(c)}const Te=["localeMatcher","style","currency","currencyDisplay","currencySign","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","notation","signDisplay","unit","unitDisplay","roundingMode","roundingPriority","roundingIncrement","trailingZeroDisplay"];function Ce(...t){const[e,n,r,i]=t,o={};let s={};if(!l(e))throw he(ue.INVALID_ARGUMENT);const a=e;return x(n)?o.key=n:S(n)&&Object.keys(n).forEach((t=>{Te.includes(t)?s[t]=n[t]:o[t]=n[t]})),x(r)?o.locale=r:S(r)&&(s=r),S(i)&&(s=i),[o.key||"",a,o,s]}function Pe(t,e,n){const r=t;for(const i in n){const t=`${e}__${i}`;r.__numberFormatters.has(t)&&r.__numberFormatters.delete(t)}}"boolean"!==typeof __INTLIFY_PROD_DEVTOOLS__&&(g().__INTLIFY_PROD_DEVTOOLS__=!1);var Ae=n(6252),De=n(2262);
/*!
* vue-i18n v9.2.2
* (c) 2022 kazuya kawaguchi
* Released under the MIT License.
*/
const Le="9.2.2";function Ie(){"boolean"!==typeof __INTLIFY_PROD_DEVTOOLS__&&(g().__INTLIFY_PROD_DEVTOOLS__=!1)}let Ne=At.__EXTEND_POINT__;const je=()=>++Ne,Fe={FALLBACK_TO_ROOT:Ne,NOT_SUPPORTED_PRESERVE:je(),NOT_SUPPORTED_FORMATTER:je(),NOT_SUPPORTED_PRESERVE_DIRECTIVE:je(),NOT_SUPPORTED_GET_CHOICE_INDEX:je(),COMPONENT_NAME_LEGACY_COMPATIBLE:je(),NOT_FOUND_PARENT_SCOPE:je()};Fe.FALLBACK_TO_ROOT,Fe.NOT_SUPPORTED_PRESERVE,Fe.NOT_SUPPORTED_FORMATTER,Fe.NOT_SUPPORTED_PRESERVE_DIRECTIVE,Fe.NOT_SUPPORTED_GET_CHOICE_INDEX,Fe.COMPONENT_NAME_LEGACY_COMPATIBLE,Fe.NOT_FOUND_PARENT_SCOPE;let Re=T.__EXTEND_POINT__;const We=()=>++Re,ze={UNEXPECTED_RETURN_TYPE:Re,INVALID_ARGUMENT:We(),MUST_BE_CALL_SETUP_TOP:We(),NOT_INSLALLED:We(),NOT_AVAILABLE_IN_LEGACY_MODE:We(),REQUIRED_VALUE:We(),INVALID_VALUE:We(),CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:We(),NOT_INSLALLED_WITH_PROVIDE:We(),UNEXPECTED_ERROR:We(),NOT_COMPATIBLE_LEGACY_VUE_I18N:We(),BRIDGE_SUPPORT_VUE_2_ONLY:We(),MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION:We(),NOT_AVAILABLE_COMPOSITION_IN_LEGACY:We(),__EXTEND_POINT__:We()};function Ue(t,...e){return C(t,null,void 0)}ze.UNEXPECTED_RETURN_TYPE,ze.INVALID_ARGUMENT,ze.MUST_BE_CALL_SETUP_TOP,ze.NOT_INSLALLED,ze.UNEXPECTED_ERROR,ze.NOT_AVAILABLE_IN_LEGACY_MODE,ze.REQUIRED_VALUE,ze.INVALID_VALUE,ze.CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN,ze.NOT_INSLALLED_WITH_PROVIDE,ze.NOT_COMPATIBLE_LEGACY_VUE_I18N,ze.BRIDGE_SUPPORT_VUE_2_ONLY,ze.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION,ze.NOT_AVAILABLE_COMPOSITION_IN_LEGACY;const He=o("__transrateVNode"),Be=o("__datetimeParts"),Ve=o("__numberParts"),$e=o("__setPluralRules");o("__intlifyMeta");const Ze=o("__injectWithOption");function Ye(t){if(!k(t))return t;for(const e in t)if(v(t,e))if(e.includes(".")){const n=e.split("."),r=n.length-1;let i=t;for(let t=0;t<r;t++)n[t]in i||(i[n[t]]={}),i=i[n[t]];i[n[r]]=t[e],delete t[e],k(i[n[r]])&&Ye(i[n[r]])}else k(t[e])&&Ye(t[e]);return t}function qe(t,e){const{messages:n,__i18n:r,messageResolver:i,flatJson:o}=e,s=S(n)?n:y(r)?{}:{[t]:{}};if(y(r)&&r.forEach((t=>{if("locale"in t&&"resource"in t){const{locale:e,resource:n}=t;e?(s[e]=s[e]||{},Ge(n,s[e])):Ge(n,s)}else x(t)&&Ge(JSON.parse(t),s)})),null==i&&o)for(const a in s)v(s,a)&&Ye(s[a]);return s}const Xe=t=>!k(t)||y(t);function Ge(t,e){if(Xe(t)||Xe(e))throw Ue(ze.INVALID_VALUE);for(const n in t)v(t,n)&&(Xe(t[n])||Xe(e[n])?e[n]=t[n]:Ge(t[n],e[n]))}function Je(t){return t.type}function Ke(t,e,n){let r=k(e.messages)?e.messages:{};"__i18nGlobal"in n&&(r=qe(t.locale.value,{messages:r,__i18n:n.__i18nGlobal}));const i=Object.keys(r);if(i.length&&i.forEach((e=>{t.mergeLocaleMessage(e,r[e])})),k(e.datetimeFormats)){const n=Object.keys(e.datetimeFormats);n.length&&n.forEach((n=>{t.mergeDateTimeFormat(n,e.datetimeFormats[n])}))}if(k(e.numberFormats)){const n=Object.keys(e.numberFormats);n.length&&n.forEach((n=>{t.mergeNumberFormat(n,e.numberFormats[n])}))}}function Qe(t){return(0,Ae.Wm)(Ae.xv,null,t,0)}const tn="__INTLIFY_META__";let en=0;function nn(t){return(e,n,r,i)=>t(n,r,(0,Ae.FN)()||void 0,i)}const rn=()=>{const t=(0,Ae.FN)();let e=null;return t&&(e=Je(t)[tn])?{[tn]:e}:null};function on(t={},e){const{__root:n}=t,i=void 0===n;let o=!w(t.inheritLocale)||t.inheritLocale;const s=(0,De.iH)(n&&o?n.locale.value:x(t.locale)?t.locale:Wt),a=(0,De.iH)(n&&o?n.fallbackLocale.value:x(t.fallbackLocale)||y(t.fallbackLocale)||S(t.fallbackLocale)||!1===t.fallbackLocale?t.fallbackLocale:s.value),c=(0,De.iH)(qe(s.value,t)),h=(0,De.iH)(S(t.datetimeFormats)?t.datetimeFormats:{[s.value]:{}}),d=(0,De.iH)(S(t.numberFormats)?t.numberFormats:{[s.value]:{}});let p=n?n.missingWarn:!w(t.missingWarn)&&!u(t.missingWarn)||t.missingWarn,g=n?n.fallbackWarn:!w(t.fallbackWarn)&&!u(t.fallbackWarn)||t.fallbackWarn,m=n?n.fallbackRoot:!w(t.fallbackRoot)||t.fallbackRoot,b=!!t.fallbackFormat,v=_(t.missing)?t.missing:null,M=_(t.missing)?nn(t.missing):null,E=_(t.postTranslation)?t.postTranslation:null,O=n?n.warnHtmlMessage:!w(t.warnHtmlMessage)||t.warnHtmlMessage,T=!!t.escapeParameter;const C=n?n.modifiers:S(t.modifiers)?t.modifiers:{};let P,A=t.pluralRules||n&&n.pluralRules;const D=()=>{i&&Qt(null);const e={version:Le,locale:s.value,fallbackLocale:a.value,messages:c.value,modifiers:C,pluralRules:A,missing:null===M?void 0:M,missingWarn:p,fallbackWarn:g,fallbackFormat:b,unresolving:!0,postTranslation:null===E?void 0:E,warnHtmlMessage:O,escapeParameter:T,messageResolver:t.messageResolver,__meta:{framework:"vue"}};e.datetimeFormats=h.value,e.numberFormats=d.value,e.__datetimeFormatters=S(P)?P.__datetimeFormatters:void 0,e.__numberFormatters=S(P)?P.__numberFormatters:void 0;const n=ne(e);return i&&Qt(n),n};function L(){return[s.value,a.value,c.value,h.value,d.value]}P=D(),ie(P,s.value,a.value);const I=(0,Ae.Fl)({get:()=>s.value,set:t=>{s.value=t,P.locale=s.value}}),N=(0,Ae.Fl)({get:()=>a.value,set:t=>{a.value=t,P.fallbackLocale=a.value,ie(P,s.value,t)}}),j=(0,Ae.Fl)((()=>c.value)),F=(0,Ae.Fl)((()=>h.value)),R=(0,Ae.Fl)((()=>d.value));function W(){return _(E)?E:null}function z(t){E=t,P.postTranslation=t}function U(){return v}function H(t){null!==t&&(M=nn(t)),v=t,P.missing=M}const B=(t,e,r,o,s,a)=>{let c;if(L(),__INTLIFY_PROD_DEVTOOLS__)try{Gt(rn()),i||(P.fallbackContext=n?te():void 0),c=t(P)}finally{Gt(null),i||(P.fallbackContext=void 0)}else c=t(P);if(l(c)&&c===Rt){const[t,r]=e();return n&&m?o(n):s(t)}if(a(c))return c;throw Ue(ze.UNEXPECTED_RETURN_TYPE)};function V(...t){return B((e=>Reflect.apply(pe,null,[e,...t])),(()=>ye(...t)),"translate",(e=>Reflect.apply(e.t,e,[...t])),(t=>t),(t=>x(t)))}function $(...t){const[e,n,r]=t;if(r&&!k(r))throw Ue(ze.INVALID_ARGUMENT);return V(e,n,f({resolvedMessage:!0},r||{}))}function Z(...t){return B((e=>Reflect.apply(ke,null,[e,...t])),(()=>Ee(...t)),"datetime format",(e=>Reflect.apply(e.d,e,[...t])),(()=>zt),(t=>x(t)))}function Y(...t){return B((e=>Reflect.apply(Oe,null,[e,...t])),(()=>Ce(...t)),"number format",(e=>Reflect.apply(e.n,e,[...t])),(()=>zt),(t=>x(t)))}function q(t){return t.map((t=>x(t)||l(t)||w(t)?Qe(String(t)):t))}const X=t=>t,G={normalize:q,interpolate:X,type:"vnode"};function J(...t){return B((e=>{let n;const r=e;try{r.processor=G,n=Reflect.apply(pe,null,[r,...t])}finally{r.processor=null}return n}),(()=>ye(...t)),"translate",(e=>e[He](...t)),(t=>[Qe(t)]),(t=>y(t)))}function K(...t){return B((e=>Reflect.apply(Oe,null,[e,...t])),(()=>Ce(...t)),"number format",(e=>e[Ve](...t)),(()=>[]),(t=>x(t)||y(t)))}function Q(...t){return B((e=>Reflect.apply(ke,null,[e,...t])),(()=>Ee(...t)),"datetime format",(e=>e[Be](...t)),(()=>[]),(t=>x(t)||y(t)))}function tt(t){A=t,P.pluralRules=A}function et(t,e){const n=x(e)?e:s.value,r=it(n);return null!==P.messageResolver(r,t)}function nt(t){let e=null;const n=Lt(P,a.value,s.value);for(let r=0;r<n.length;r++){const i=c.value[n[r]]||{},o=P.messageResolver(i,t);if(null!=o){e=o;break}}return e}function rt(t){const e=nt(t);return null!=e?e:n&&n.tm(t)||{}}function it(t){return c.value[t]||{}}function ot(t,e){c.value[t]=e,P.messages=c.value}function st(t,e){c.value[t]=c.value[t]||{},Ge(e,c.value[t]),P.messages=c.value}function at(t){return h.value[t]||{}}function lt(t,e){h.value[t]=e,P.datetimeFormats=h.value,Se(P,t,e)}function ct(t,e){h.value[t]=f(h.value[t]||{},e),P.datetimeFormats=h.value,Se(P,t,e)}function ut(t){return d.value[t]||{}}function ht(t,e){d.value[t]=e,P.numberFormats=d.value,Pe(P,t,e)}function dt(t,e){d.value[t]=f(d.value[t]||{},e),P.numberFormats=d.value,Pe(P,t,e)}en++,n&&r&&((0,Ae.YP)(n.locale,(t=>{o&&(s.value=t,P.locale=t,ie(P,s.value,a.value))})),(0,Ae.YP)(n.fallbackLocale,(t=>{o&&(a.value=t,P.fallbackLocale=t,ie(P,s.value,a.value))})));const ft={id:en,locale:I,fallbackLocale:N,get inheritLocale(){return o},set inheritLocale(t){o=t,t&&n&&(s.value=n.locale.value,a.value=n.fallbackLocale.value,ie(P,s.value,a.value))},get availableLocales(){return Object.keys(c.value).sort()},messages:j,get modifiers(){return C},get pluralRules(){return A||{}},get isGlobal(){return i},get missingWarn(){return p},set missingWarn(t){p=t,P.missingWarn=p},get fallbackWarn(){return g},set fallbackWarn(t){g=t,P.fallbackWarn=g},get fallbackRoot(){return m},set fallbackRoot(t){m=t},get fallbackFormat(){return b},set fallbackFormat(t){b=t,P.fallbackFormat=b},get warnHtmlMessage(){return O},set warnHtmlMessage(t){O=t,P.warnHtmlMessage=t},get escapeParameter(){return T},set escapeParameter(t){T=t,P.escapeParameter=t},t:V,getLocaleMessage:it,setLocaleMessage:ot,mergeLocaleMessage:st,getPostTranslationHandler:W,setPostTranslationHandler:z,getMissingHandler:U,setMissingHandler:H,[$e]:tt};return ft.datetimeFormats=F,ft.numberFormats=R,ft.rt=$,ft.te=et,ft.tm=rt,ft.d=Z,ft.n=Y,ft.getDateTimeFormat=at,ft.setDateTimeFormat=lt,ft.mergeDateTimeFormat=ct,ft.getNumberFormat=ut,ft.setNumberFormat=ht,ft.mergeNumberFormat=dt,ft[Ze]=t.__injectWithOption,ft[He]=J,ft[Be]=Q,ft[Ve]=K,ft}function sn(t){const e=x(t.locale)?t.locale:Wt,n=x(t.fallbackLocale)||y(t.fallbackLocale)||S(t.fallbackLocale)||!1===t.fallbackLocale?t.fallbackLocale:e,r=_(t.missing)?t.missing:void 0,i=!w(t.silentTranslationWarn)&&!u(t.silentTranslationWarn)||!t.silentTranslationWarn,o=!w(t.silentFallbackWarn)&&!u(t.silentFallbackWarn)||!t.silentFallbackWarn,s=!w(t.fallbackRoot)||t.fallbackRoot,a=!!t.formatFallbackMessages,l=S(t.modifiers)?t.modifiers:{},c=t.pluralizationRules,h=_(t.postTranslation)?t.postTranslation:void 0,d=!x(t.warnHtmlInMessage)||"off"!==t.warnHtmlInMessage,p=!!t.escapeParameterHtml,g=!w(t.sync)||t.sync;let m=t.messages;if(S(t.sharedMessages)){const e=t.sharedMessages,n=Object.keys(e);m=n.reduce(((t,n)=>{const r=t[n]||(t[n]={});return f(r,e[n]),t}),m||{})}const{__i18n:b,__root:v,__injectWithOption:k}=t,M=t.datetimeFormats,E=t.numberFormats,O=t.flatJson;return{locale:e,fallbackLocale:n,messages:m,flatJson:O,datetimeFormats:M,numberFormats:E,missing:r,missingWarn:i,fallbackWarn:o,fallbackRoot:s,fallbackFormat:a,modifiers:l,pluralRules:c,postTranslation:h,warnHtmlMessage:d,escapeParameter:p,messageResolver:t.messageResolver,inheritLocale:g,__i18n:b,__root:v,__injectWithOption:k}}function an(t={},e){{const e=on(sn(t)),n={id:e.id,get locale(){return e.locale.value},set locale(t){e.locale.value=t},get fallbackLocale(){return e.fallbackLocale.value},set fallbackLocale(t){e.fallbackLocale.value=t},get messages(){return e.messages.value},get datetimeFormats(){return e.datetimeFormats.value},get numberFormats(){return e.numberFormats.value},get availableLocales(){return e.availableLocales},get formatter(){return{interpolate(){return[]}}},set formatter(t){},get missing(){return e.getMissingHandler()},set missing(t){e.setMissingHandler(t)},get silentTranslationWarn(){return w(e.missingWarn)?!e.missingWarn:e.missingWarn},set silentTranslationWarn(t){e.missingWarn=w(t)?!t:t},get silentFallbackWarn(){return w(e.fallbackWarn)?!e.fallbackWarn:e.fallbackWarn},set silentFallbackWarn(t){e.fallbackWarn=w(t)?!t:t},get modifiers(){return e.modifiers},get formatFallbackMessages(){return e.fallbackFormat},set formatFallbackMessages(t){e.fallbackFormat=t},get postTranslation(){return e.getPostTranslationHandler()},set postTranslation(t){e.setPostTranslationHandler(t)},get sync(){return e.inheritLocale},set sync(t){e.inheritLocale=t},get warnHtmlInMessage(){return e.warnHtmlMessage?"warn":"off"},set warnHtmlInMessage(t){e.warnHtmlMessage="off"!==t},get escapeParameterHtml(){return e.escapeParameter},set escapeParameterHtml(t){e.escapeParameter=t},get preserveDirectiveContent(){return!0},set preserveDirectiveContent(t){},get pluralizationRules(){return e.pluralRules||{}},__composer:e,t(...t){const[n,r,i]=t,o={};let s=null,a=null;if(!x(n))throw Ue(ze.INVALID_ARGUMENT);const l=n;return x(r)?o.locale=r:y(r)?s=r:S(r)&&(a=r),y(i)?s=i:S(i)&&(a=i),Reflect.apply(e.t,e,[l,s||a||{},o])},rt(...t){return Reflect.apply(e.rt,e,[...t])},tc(...t){const[n,r,i]=t,o={plural:1};let s=null,a=null;if(!x(n))throw Ue(ze.INVALID_ARGUMENT);const c=n;return x(r)?o.locale=r:l(r)?o.plural=r:y(r)?s=r:S(r)&&(a=r),x(i)?o.locale=i:y(i)?s=i:S(i)&&(a=i),Reflect.apply(e.t,e,[c,s||a||{},o])},te(t,n){return e.te(t,n)},tm(t){return e.tm(t)},getLocaleMessage(t){return e.getLocaleMessage(t)},setLocaleMessage(t,n){e.setLocaleMessage(t,n)},mergeLocaleMessage(t,n){e.mergeLocaleMessage(t,n)},d(...t){return Reflect.apply(e.d,e,[...t])},getDateTimeFormat(t){return e.getDateTimeFormat(t)},setDateTimeFormat(t,n){e.setDateTimeFormat(t,n)},mergeDateTimeFormat(t,n){e.mergeDateTimeFormat(t,n)},n(...t){return Reflect.apply(e.n,e,[...t])},getNumberFormat(t){return e.getNumberFormat(t)},setNumberFormat(t,n){e.setNumberFormat(t,n)},mergeNumberFormat(t,n){e.mergeNumberFormat(t,n)},getChoiceIndex(t,e){return-1},__onComponentInstanceCreated(e){const{componentInstanceCreatedListener:r}=t;r&&r(e,n)}};return n}}const ln={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:t=>"parent"===t||"global"===t,default:"parent"},i18n:{type:Object}};function cn({slots:t},e){if(1===e.length&&"default"===e[0]){const e=t.default?t.default():[];return e.reduce(((t,e)=>[...t,...y(e.children)?e.children:[e]]),[])}return e.reduce(((e,n)=>{const r=t[n];return r&&(e[n]=r()),e}),{})}function un(t){return Ae.HY}const hn={name:"i18n-t",props:f({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:t=>l(t)||!isNaN(t)}},ln),setup(t,e){const{slots:n,attrs:r}=e,i=t.i18n||En({useScope:t.scope,__useComponent:!0});return()=>{const o=Object.keys(n).filter((t=>"_"!==t)),s={};t.locale&&(s.locale=t.locale),void 0!==t.plural&&(s.plural=x(t.plural)?+t.plural:t.plural);const a=cn(e,o),l=i[He](t.keypath,a,s),c=f({},r),u=x(t.tag)||k(t.tag)?t.tag:un();return(0,Ae.h)(u,c,l)}}};function dn(t){return y(t)&&!x(t[0])}function fn(t,e,n,r){const{slots:i,attrs:o}=e;return()=>{const e={part:!0};let s={};t.locale&&(e.locale=t.locale),x(t.format)?e.key=t.format:k(t.format)&&(x(t.format.key)&&(e.key=t.format.key),s=Object.keys(t.format).reduce(((e,r)=>n.includes(r)?f({},e,{[r]:t.format[r]}):e),{}));const a=r(t.value,e,s);let l=[e.key];y(a)?l=a.map(((t,e)=>{const n=i[t.type],r=n?n({[t.type]:t.value,index:e,parts:a}):[t.value];return dn(r)&&(r[0].key=`${t.type}-${e}`),r})):x(a)&&(l=[a]);const c=f({},o),u=x(t.tag)||k(t.tag)?t.tag:un();return(0,Ae.h)(u,c,l)}}const pn={name:"i18n-n",props:f({value:{type:Number,required:!0},format:{type:[String,Object]}},ln),setup(t,e){const n=t.i18n||En({useScope:"parent",__useComponent:!0});return fn(t,e,Te,((...t)=>n[Ve](...t)))}},gn={name:"i18n-d",props:f({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},ln),setup(t,e){const n=t.i18n||En({useScope:"parent",__useComponent:!0});return fn(t,e,Me,((...t)=>n[Be](...t)))}};function mn(t,e){const n=t;if("composition"===t.mode)return n.__getInstance(e)||t.global;{const r=n.__getInstance(e);return null!=r?r.__composer:t.global.__composer}}function bn(t){const e=e=>{const{instance:n,modifiers:r,value:i}=e;if(!n||!n.$)throw Ue(ze.UNEXPECTED_ERROR);const o=mn(t,n.$);const s=vn(i);return[Reflect.apply(o.t,o,[...yn(s)]),o]},n=(n,i)=>{const[o,s]=e(i);r&&t.global===s&&(n.__i18nWatcher=(0,Ae.YP)(s.locale,(()=>{i.instance&&i.instance.$forceUpdate()}))),n.__composer=s,n.textContent=o},i=t=>{r&&t.__i18nWatcher&&(t.__i18nWatcher(),t.__i18nWatcher=void 0,delete t.__i18nWatcher),t.__composer&&(t.__composer=void 0,delete t.__composer)},o=(t,{value:e})=>{if(t.__composer){const n=t.__composer,r=vn(e);t.textContent=Reflect.apply(n.t,n,[...yn(r)])}},s=t=>{const[n]=e(t);return{textContent:n}};return{created:n,unmounted:i,beforeUpdate:o,getSSRProps:s}}function vn(t){if(x(t))return{path:t};if(S(t)){if(!("path"in t))throw Ue(ze.REQUIRED_VALUE,"path");return t}throw Ue(ze.INVALID_VALUE)}function yn(t){const{path:e,locale:n,args:r,choice:i,plural:o}=t,s={},a=r||{};return x(n)&&(s.locale=n),l(i)&&(s.plural=i),l(o)&&(s.plural=o),[e,a,s]}function _n(t,e,...n){const r=S(n[0])?n[0]:{},i=!!r.useI18nComponentName,o=!w(r.globalInstall)||r.globalInstall;o&&(t.component(i?"i18n":hn.name,hn),t.component(pn.name,pn),t.component(gn.name,gn)),t.directive("t",bn(e))}function xn(t,e,n){return{beforeCreate(){const r=(0,Ae.FN)();if(!r)throw Ue(ze.UNEXPECTED_ERROR);const i=this.$options;if(i.i18n){const n=i.i18n;i.__i18n&&(n.__i18n=i.__i18n),n.__root=e,this===this.$root?this.$i18n=wn(t,n):(n.__injectWithOption=!0,this.$i18n=an(n))}else i.__i18n?this===this.$root?this.$i18n=wn(t,i):this.$i18n=an({__i18n:i.__i18n,__injectWithOption:!0,__root:e}):this.$i18n=t;i.__i18nGlobal&&Ke(e,i,i),t.__onComponentInstanceCreated(this.$i18n),n.__setInstance(r,this.$i18n),this.$t=(...t)=>this.$i18n.t(...t),this.$rt=(...t)=>this.$i18n.rt(...t),this.$tc=(...t)=>this.$i18n.tc(...t),this.$te=(t,e)=>this.$i18n.te(t,e),this.$d=(...t)=>this.$i18n.d(...t),this.$n=(...t)=>this.$i18n.n(...t),this.$tm=t=>this.$i18n.tm(t)},mounted(){0},unmounted(){const t=(0,Ae.FN)();if(!t)throw Ue(ze.UNEXPECTED_ERROR);delete this.$t,delete this.$rt,delete this.$tc,delete this.$te,delete this.$d,delete this.$n,delete this.$tm,n.__deleteInstance(t),delete this.$i18n}}}function wn(t,e){t.locale=e.locale||t.locale,t.fallbackLocale=e.fallbackLocale||t.fallbackLocale,t.missing=e.missing||t.missing,t.silentTranslationWarn=e.silentTranslationWarn||t.silentFallbackWarn,t.silentFallbackWarn=e.silentFallbackWarn||t.silentFallbackWarn,t.formatFallbackMessages=e.formatFallbackMessages||t.formatFallbackMessages,t.postTranslation=e.postTranslation||t.postTranslation,t.warnHtmlInMessage=e.warnHtmlInMessage||t.warnHtmlInMessage,t.escapeParameterHtml=e.escapeParameterHtml||t.escapeParameterHtml,t.sync=e.sync||t.sync,t.__composer[$e](e.pluralizationRules||t.pluralizationRules);const n=qe(t.locale,{messages:e.messages,__i18n:e.__i18n});return Object.keys(n).forEach((e=>t.mergeLocaleMessage(e,n[e]))),e.datetimeFormats&&Object.keys(e.datetimeFormats).forEach((n=>t.mergeDateTimeFormat(n,e.datetimeFormats[n]))),e.numberFormats&&Object.keys(e.numberFormats).forEach((n=>t.mergeNumberFormat(n,e.numberFormats[n]))),t}const kn=o("global-vue-i18n");function Mn(t={},e){const n=!w(t.legacy)||t.legacy,r=!w(t.globalInjection)||t.globalInjection,i=!n||!!t.allowComposition,s=new Map,[a,l]=Sn(t,n),c=o("");function u(t){return s.get(t)||null}function h(t,e){s.set(t,e)}function d(t){s.delete(t)}{const t={get mode(){return n?"legacy":"composition"},get allowComposition(){return i},async install(e,...i){e.__VUE_I18N_SYMBOL__=c,e.provide(e.__VUE_I18N_SYMBOL__,t),!n&&r&&Nn(e,t.global),_n(e,t,...i),n&&e.mixin(xn(l,l.__composer,t));const o=e.unmount;e.unmount=()=>{t.dispose(),o()}},get global(){return l},dispose(){a.stop()},__instances:s,__getInstance:u,__setInstance:h,__deleteInstance:d};return t}}function En(t={}){const e=(0,Ae.FN)();if(null==e)throw Ue(ze.MUST_BE_CALL_SETUP_TOP);if(!e.isCE&&null!=e.appContext.app&&!e.appContext.app.__VUE_I18N_SYMBOL__)throw Ue(ze.NOT_INSLALLED);const n=On(e),r=Cn(n),i=Je(e),o=Tn(t,i);if("legacy"===n.mode&&!t.__useComponent){if(!n.allowComposition)throw Ue(ze.NOT_AVAILABLE_IN_LEGACY_MODE);return Dn(e,o,r,t)}if("global"===o)return Ke(r,t,i),r;if("parent"===o){let i=Pn(n,e,t.__useComponent);return null==i&&(i=r),i}const s=n;let a=s.__getInstance(e);if(null==a){const n=f({},t);"__i18n"in i&&(n.__i18n=i.__i18n),r&&(n.__root=r),a=on(n),An(s,e,a),s.__setInstance(e,a)}return a}function Sn(t,e,n){const r=(0,De.B)();{const n=e?r.run((()=>an(t))):r.run((()=>on(t)));if(null==n)throw Ue(ze.UNEXPECTED_ERROR);return[r,n]}}function On(t){{const e=(0,Ae.f3)(t.isCE?kn:t.appContext.app.__VUE_I18N_SYMBOL__);if(!e)throw Ue(t.isCE?ze.NOT_INSLALLED_WITH_PROVIDE:ze.UNEXPECTED_ERROR);return e}}function Tn(t,e){return h(t)?"__i18n"in e?"local":"global":t.useScope?t.useScope:"local"}function Cn(t){return"composition"===t.mode?t.global:t.global.__composer}function Pn(t,e,n=!1){let r=null;const i=e.root;let o=e.parent;while(null!=o){const e=t;if("composition"===t.mode)r=e.__getInstance(o);else{const t=e.__getInstance(o);null!=t&&(r=t.__composer,n&&r&&!r[Ze]&&(r=null))}if(null!=r)break;if(i===o)break;o=o.parent}return r}function An(t,e,n){(0,Ae.bv)((()=>{0}),e),(0,Ae.Ah)((()=>{t.__deleteInstance(e)}),e)}function Dn(t,e,n,r={}){const i="local"===e,o=(0,De.XI)(null);if(i&&t.proxy&&!t.proxy.$options.i18n&&!t.proxy.$options.__i18n)throw Ue(ze.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION);const s=!w(r.inheritLocale)||r.inheritLocale,a=(0,De.iH)(i&&s?n.locale.value:x(r.locale)?r.locale:Wt),l=(0,De.iH)(i&&s?n.fallbackLocale.value:x(r.fallbackLocale)||y(r.fallbackLocale)||S(r.fallbackLocale)||!1===r.fallbackLocale?r.fallbackLocale:a.value),c=(0,De.iH)(qe(a.value,r)),h=(0,De.iH)(S(r.datetimeFormats)?r.datetimeFormats:{[a.value]:{}}),d=(0,De.iH)(S(r.numberFormats)?r.numberFormats:{[a.value]:{}}),f=i?n.missingWarn:!w(r.missingWarn)&&!u(r.missingWarn)||r.missingWarn,p=i?n.fallbackWarn:!w(r.fallbackWarn)&&!u(r.fallbackWarn)||r.fallbackWarn,g=i?n.fallbackRoot:!w(r.fallbackRoot)||r.fallbackRoot,m=!!r.fallbackFormat,b=_(r.missing)?r.missing:null,v=_(r.postTranslation)?r.postTranslation:null,k=i?n.warnHtmlMessage:!w(r.warnHtmlMessage)||r.warnHtmlMessage,M=!!r.escapeParameter,E=i?n.modifiers:S(r.modifiers)?r.modifiers:{},O=r.pluralRules||i&&n.pluralRules;function T(){return[a.value,l.value,c.value,h.value,d.value]}const C=(0,Ae.Fl)({get:()=>o.value?o.value.locale.value:a.value,set:t=>{o.value&&(o.value.locale.value=t),a.value=t}}),P=(0,Ae.Fl)({get:()=>o.value?o.value.fallbackLocale.value:l.value,set:t=>{o.value&&(o.value.fallbackLocale.value=t),l.value=t}}),A=(0,Ae.Fl)((()=>o.value?o.value.messages.value:c.value)),D=(0,Ae.Fl)((()=>h.value)),L=(0,Ae.Fl)((()=>d.value));function I(){return o.value?o.value.getPostTranslationHandler():v}function N(t){o.value&&o.value.setPostTranslationHandler(t)}function j(){return o.value?o.value.getMissingHandler():b}function F(t){o.value&&o.value.setMissingHandler(t)}function R(t){return T(),t()}function W(...t){return o.value?R((()=>Reflect.apply(o.value.t,null,[...t]))):R((()=>""))}function z(...t){return o.value?Reflect.apply(o.value.rt,null,[...t]):""}function U(...t){return o.value?R((()=>Reflect.apply(o.value.d,null,[...t]))):R((()=>""))}function H(...t){return o.value?R((()=>Reflect.apply(o.value.n,null,[...t]))):R((()=>""))}function B(t){return o.value?o.value.tm(t):{}}function V(t,e){return!!o.value&&o.value.te(t,e)}function $(t){return o.value?o.value.getLocaleMessage(t):{}}function Z(t,e){o.value&&(o.value.setLocaleMessage(t,e),c.value[t]=e)}function Y(t,e){o.value&&o.value.mergeLocaleMessage(t,e)}function q(t){return o.value?o.value.getDateTimeFormat(t):{}}function X(t,e){o.value&&(o.value.setDateTimeFormat(t,e),h.value[t]=e)}function G(t,e){o.value&&o.value.mergeDateTimeFormat(t,e)}function J(t){return o.value?o.value.getNumberFormat(t):{}}function K(t,e){o.value&&(o.value.setNumberFormat(t,e),d.value[t]=e)}function Q(t,e){o.value&&o.value.mergeNumberFormat(t,e)}const tt={get id(){return o.value?o.value.id:-1},locale:C,fallbackLocale:P,messages:A,datetimeFormats:D,numberFormats:L,get inheritLocale(){return o.value?o.value.inheritLocale:s},set inheritLocale(t){o.value&&(o.value.inheritLocale=t)},get availableLocales(){return o.value?o.value.availableLocales:Object.keys(c.value)},get modifiers(){return o.value?o.value.modifiers:E},get pluralRules(){return o.value?o.value.pluralRules:O},get isGlobal(){return!!o.value&&o.value.isGlobal},get missingWarn(){return o.value?o.value.missingWarn:f},set missingWarn(t){o.value&&(o.value.missingWarn=t)},get fallbackWarn(){return o.value?o.value.fallbackWarn:p},set fallbackWarn(t){o.value&&(o.value.missingWarn=t)},get fallbackRoot(){return o.value?o.value.fallbackRoot:g},set fallbackRoot(t){o.value&&(o.value.fallbackRoot=t)},get fallbackFormat(){return o.value?o.value.fallbackFormat:m},set fallbackFormat(t){o.value&&(o.value.fallbackFormat=t)},get warnHtmlMessage(){return o.value?o.value.warnHtmlMessage:k},set warnHtmlMessage(t){o.value&&(o.value.warnHtmlMessage=t)},get escapeParameter(){return o.value?o.value.escapeParameter:M},set escapeParameter(t){o.value&&(o.value.escapeParameter=t)},t:W,getPostTranslationHandler:I,setPostTranslationHandler:N,getMissingHandler:j,setMissingHandler:F,rt:z,d:U,n:H,tm:B,te:V,getLocaleMessage:$,setLocaleMessage:Z,mergeLocaleMessage:Y,getDateTimeFormat:q,setDateTimeFormat:X,mergeDateTimeFormat:G,getNumberFormat:J,setNumberFormat:K,mergeNumberFormat:Q};function et(t){t.locale.value=a.value,t.fallbackLocale.value=l.value,Object.keys(c.value).forEach((e=>{t.mergeLocaleMessage(e,c.value[e])})),Object.keys(h.value).forEach((e=>{t.mergeDateTimeFormat(e,h.value[e])})),Object.keys(d.value).forEach((e=>{t.mergeNumberFormat(e,d.value[e])})),t.escapeParameter=M,t.fallbackFormat=m,t.fallbackRoot=g,t.fallbackWarn=p,t.missingWarn=f,t.warnHtmlMessage=k}return(0,Ae.wF)((()=>{if(null==t.proxy||null==t.proxy.$i18n)throw Ue(ze.NOT_AVAILABLE_COMPOSITION_IN_LEGACY);const n=o.value=t.proxy.$i18n.__composer;"global"===e?(a.value=n.locale.value,l.value=n.fallbackLocale.value,c.value=n.messages.value,h.value=n.datetimeFormats.value,d.value=n.numberFormats.value):i&&et(n)})),tt}const Ln=["locale","fallbackLocale","availableLocales"],In=["t","rt","d","n","tm"];function Nn(t,e){const n=Object.create(null);Ln.forEach((t=>{const r=Object.getOwnPropertyDescriptor(e,t);if(!r)throw Ue(ze.UNEXPECTED_ERROR);const i=(0,De.dq)(r.value)?{get(){return r.value.value},set(t){r.value.value=t}}:{get(){return r.get&&r.get()}};Object.defineProperty(n,t,i)})),t.config.globalProperties.$i18n=n,In.forEach((n=>{const r=Object.getOwnPropertyDescriptor(e,n);if(!r||!r.value)throw Ue(ze.UNEXPECTED_ERROR);Object.defineProperty(t.config.globalProperties,`$${n}`,r)}))}if(Zt(ae),Yt(mt),qt(Lt),Ie(),__INTLIFY_PROD_DEVTOOLS__){const t=g();t.__INTLIFY__=!0,Ot(t.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}},3744:function(t,e){"use strict";e.Z=(t,e)=>{const n=t.__vccOpts||t;for(const[r,i]of e)n[r]=i;return n}},3907:function(t,e,n){"use strict";n.d(e,{MT:function(){return et},oR:function(){return b}});var r=n(6252),i=n(2262);function o(){return s().__VUE_DEVTOOLS_GLOBAL_HOOK__}function s(){return"undefined"!==typeof navigator&&"undefined"!==typeof window?window:"undefined"!==typeof n.g?n.g:{}}const a="function"===typeof Proxy,l="devtools-plugin:setup",c="plugin:settings:set";let u,h;function d(){var t;return void 0!==u||("undefined"!==typeof window&&window.performance?(u=!0,h=window.performance):"undefined"!==typeof n.g&&(null===(t=n.g.perf_hooks)||void 0===t?void 0:t.performance)?(u=!0,h=n.g.perf_hooks.performance):u=!1),u}function f(){return d()?h.now():Date.now()}class p{constructor(t,e){this.target=null,this.targetQueue=[],this.onQueue=[],this.plugin=t,this.hook=e;const n={};if(t.settings)for(const s in t.settings){const e=t.settings[s];n[s]=e.defaultValue}const r=`__vue-devtools-plugin-settings__${t.id}`;let i=Object.assign({},n);try{const t=localStorage.getItem(r),e=JSON.parse(t);Object.assign(i,e)}catch(o){}this.fallbacks={getSettings(){return i},setSettings(t){try{localStorage.setItem(r,JSON.stringify(t))}catch(o){}i=t},now(){return f()}},e&&e.on(c,((t,e)=>{t===this.plugin.id&&this.fallbacks.setSettings(e)})),this.proxiedOn=new Proxy({},{get:(t,e)=>this.target?this.target.on[e]:(...t)=>{this.onQueue.push({method:e,args:t})}}),this.proxiedTarget=new Proxy({},{get:(t,e)=>this.target?this.target[e]:"on"===e?this.proxiedOn:Object.keys(this.fallbacks).includes(e)?(...t)=>(this.targetQueue.push({method:e,args:t,resolve:()=>{}}),this.fallbacks[e](...t)):(...t)=>new Promise((n=>{this.targetQueue.push({method:e,args:t,resolve:n})}))})}async setRealTarget(t){this.target=t;for(const e of this.onQueue)this.target.on[e.method](...e.args);for(const e of this.targetQueue)e.resolve(await this.target[e.method](...e.args))}}function g(t,e){const n=t,r=s(),i=o(),c=a&&n.enableEarlyProxy;if(!i||!r.__VUE_DEVTOOLS_PLUGIN_API_AVAILABLE__&&c){const t=c?new p(n,i):null,o=r.__VUE_DEVTOOLS_PLUGINS__=r.__VUE_DEVTOOLS_PLUGINS__||[];o.push({pluginDescriptor:n,setupFn:e,proxy:t}),t&&e(t.proxiedTarget)}else i.emit(l,t,e)}
/*!
* vuex v4.1.0
* (c) 2022 Evan You
* @license MIT
*/
var m="store";function b(t){return void 0===t&&(t=null),(0,r.f3)(null!==t?t:m)}function v(t,e){Object.keys(t).forEach((function(n){return e(t[n],n)}))}function y(t){return null!==t&&"object"===typeof t}function _(t){return t&&"function"===typeof t.then}function x(t,e){return function(){return t(e)}}function w(t,e,n){return e.indexOf(t)<0&&(n&&n.prepend?e.unshift(t):e.push(t)),function(){var n=e.indexOf(t);n>-1&&e.splice(n,1)}}function k(t,e){t._actions=Object.create(null),t._mutations=Object.create(null),t._wrappedGetters=Object.create(null),t._modulesNamespaceMap=Object.create(null);var n=t.state;E(t,n,[],t._modules.root,!0),M(t,n,e)}function M(t,e,n){var o=t._state,s=t._scope;t.getters={},t._makeLocalGettersCache=Object.create(null);var a=t._wrappedGetters,l={},c={},u=(0,i.B)(!0);u.run((function(){v(a,(function(e,n){l[n]=x(e,t),c[n]=(0,r.Fl)((function(){return l[n]()})),Object.defineProperty(t.getters,n,{get:function(){return c[n].value},enumerable:!0})}))})),t._state=(0,i.qj)({data:e}),t._scope=u,t.strict&&A(t),o&&n&&t._withCommit((function(){o.data=null})),s&&s.stop()}function E(t,e,n,r,i){var o=!n.length,s=t._modules.getNamespace(n);if(r.namespaced&&(t._modulesNamespaceMap[s],t._modulesNamespaceMap[s]=r),!o&&!i){var a=D(e,n.slice(0,-1)),l=n[n.length-1];t._withCommit((function(){a[l]=r.state}))}var c=r.context=S(t,s,n);r.forEachMutation((function(e,n){var r=s+n;T(t,r,e,c)})),r.forEachAction((function(e,n){var r=e.root?n:s+n,i=e.handler||e;C(t,r,i,c)})),r.forEachGetter((function(e,n){var r=s+n;P(t,r,e,c)})),r.forEachChild((function(r,o){E(t,e,n.concat(o),r,i)}))}function S(t,e,n){var r=""===e,i={dispatch:r?t.dispatch:function(n,r,i){var o=L(n,r,i),s=o.payload,a=o.options,l=o.type;return a&&a.root||(l=e+l),t.dispatch(l,s)},commit:r?t.commit:function(n,r,i){var o=L(n,r,i),s=o.payload,a=o.options,l=o.type;a&&a.root||(l=e+l),t.commit(l,s,a)}};return Object.defineProperties(i,{getters:{get:r?function(){return t.getters}:function(){return O(t,e)}},state:{get:function(){return D(t.state,n)}}}),i}function O(t,e){if(!t._makeLocalGettersCache[e]){var n={},r=e.length;Object.keys(t.getters).forEach((function(i){if(i.slice(0,r)===e){var o=i.slice(r);Object.defineProperty(n,o,{get:function(){return t.getters[i]},enumerable:!0})}})),t._makeLocalGettersCache[e]=n}return t._makeLocalGettersCache[e]}function T(t,e,n,r){var i=t._mutations[e]||(t._mutations[e]=[]);i.push((function(e){n.call(t,r.state,e)}))}function C(t,e,n,r){var i=t._actions[e]||(t._actions[e]=[]);i.push((function(e){var i=n.call(t,{dispatch:r.dispatch,commit:r.commit,getters:r.getters,state:r.state,rootGetters:t.getters,rootState:t.state},e);return _(i)||(i=Promise.resolve(i)),t._devtoolHook?i.catch((function(e){throw t._devtoolHook.emit("vuex:error",e),e})):i}))}function P(t,e,n,r){t._wrappedGetters[e]||(t._wrappedGetters[e]=function(t){return n(r.state,r.getters,t.state,t.getters)})}function A(t){(0,r.YP)((function(){return t._state.data}),(function(){0}),{deep:!0,flush:"sync"})}function D(t,e){return e.reduce((function(t,e){return t[e]}),t)}function L(t,e,n){return y(t)&&t.type&&(n=e,e=t,t=t.type),{type:t,payload:e,options:n}}var I="vuex bindings",N="vuex:mutations",j="vuex:actions",F="vuex",R=0;function W(t,e){g({id:"org.vuejs.vuex",app:t,label:"Vuex",homepage:"https://next.vuex.vuejs.org/",logo:"https://vuejs.org/images/icons/favicon-96x96.png",packageName:"vuex",componentStateTypes:[I]},(function(n){n.addTimelineLayer({id:N,label:"Vuex Mutations",color:z}),n.addTimelineLayer({id:j,label:"Vuex Actions",color:z}),n.addInspector({id:F,label:"Vuex",icon:"storage",treeFilterPlaceholder:"Filter stores..."}),n.on.getInspectorTree((function(n){if(n.app===t&&n.inspectorId===F)if(n.filter){var r=[];Z(r,e._modules.root,n.filter,""),n.rootNodes=r}else n.rootNodes=[$(e._modules.root,"")]})),n.on.getInspectorState((function(n){if(n.app===t&&n.inspectorId===F){var r=n.nodeId;O(e,r),n.state=Y(X(e._modules,r),"root"===r?e.getters:e._makeLocalGettersCache,r)}})),n.on.editInspectorState((function(n){if(n.app===t&&n.inspectorId===F){var r=n.nodeId,i=n.path;"root"!==r&&(i=r.split("/").filter(Boolean).concat(i)),e._withCommit((function(){n.set(e._state.data,i,n.state.value)}))}})),e.subscribe((function(t,e){var r={};t.payload&&(r.payload=t.payload),r.state=e,n.notifyComponentUpdate(),n.sendInspectorTree(F),n.sendInspectorState(F),n.addTimelineEvent({layerId:N,event:{time:Date.now(),title:t.type,data:r}})})),e.subscribeAction({before:function(t,e){var r={};t.payload&&(r.payload=t.payload),t._id=R++,t._time=Date.now(),r.state=e,n.addTimelineEvent({layerId:j,event:{time:t._time,title:t.type,groupId:t._id,subtitle:"start",data:r}})},after:function(t,e){var r={},i=Date.now()-t._time;r.duration={_custom:{type:"duration",display:i+"ms",tooltip:"Action duration",value:i}},t.payload&&(r.payload=t.payload),r.state=e,n.addTimelineEvent({layerId:j,event:{time:Date.now(),title:t.type,groupId:t._id,subtitle:"end",data:r}})}})}))}var z=8702998,U=6710886,H=16777215,B={label:"namespaced",textColor:H,backgroundColor:U};function V(t){return t&&"root"!==t?t.split("/").slice(-2,-1)[0]:"Root"}function $(t,e){return{id:e||"root",label:V(e),tags:t.namespaced?[B]:[],children:Object.keys(t._children).map((function(n){return $(t._children[n],e+n+"/")}))}}function Z(t,e,n,r){r.includes(n)&&t.push({id:r||"root",label:r.endsWith("/")?r.slice(0,r.length-1):r||"Root",tags:e.namespaced?[B]:[]}),Object.keys(e._children).forEach((function(i){Z(t,e._children[i],n,r+i+"/")}))}function Y(t,e,n){e="root"===n?e:e[n];var r=Object.keys(e),i={state:Object.keys(t.state).map((function(e){return{key:e,editable:!0,value:t.state[e]}}))};if(r.length){var o=q(e);i.getters=Object.keys(o).map((function(t){return{key:t.endsWith("/")?V(t):t,editable:!1,value:G((function(){return o[t]}))}}))}return i}function q(t){var e={};return Object.keys(t).forEach((function(n){var r=n.split("/");if(r.length>1){var i=e,o=r.pop();r.forEach((function(t){i[t]||(i[t]={_custom:{value:{},display:t,tooltip:"Module",abstract:!0}}),i=i[t]._custom.value})),i[o]=G((function(){return t[n]}))}else e[n]=G((function(){return t[n]}))})),e}function X(t,e){var n=e.split("/").filter((function(t){return t}));return n.reduce((function(t,r,i){var o=t[r];if(!o)throw new Error('Missing module "'+r+'" for path "'+e+'".');return i===n.length-1?o:o._children}),"root"===e?t:t.root._children)}function G(t){try{return t()}catch(e){return e}}var J=function(t,e){this.runtime=e,this._children=Object.create(null),this._rawModule=t;var n=t.state;this.state=("function"===typeof n?n():n)||{}},K={namespaced:{configurable:!0}};K.namespaced.get=function(){return!!this._rawModule.namespaced},J.prototype.addChild=function(t,e){this._children[t]=e},J.prototype.removeChild=function(t){delete this._children[t]},J.prototype.getChild=function(t){return this._children[t]},J.prototype.hasChild=function(t){return t in this._children},J.prototype.update=function(t){this._rawModule.namespaced=t.namespaced,t.actions&&(this._rawModule.actions=t.actions),t.mutations&&(this._rawModule.mutations=t.mutations),t.getters&&(this._rawModule.getters=t.getters)},J.prototype.forEachChild=function(t){v(this._children,t)},J.prototype.forEachGetter=function(t){this._rawModule.getters&&v(this._rawModule.getters,t)},J.prototype.forEachAction=function(t){this._rawModule.actions&&v(this._rawModule.actions,t)},J.prototype.forEachMutation=function(t){this._rawModule.mutations&&v(this._rawModule.mutations,t)},Object.defineProperties(J.prototype,K);var Q=function(t){this.register([],t,!1)};function tt(t,e,n){if(e.update(n),n.modules)for(var r in n.modules){if(!e.getChild(r))return void 0;tt(t.concat(r),e.getChild(r),n.modules[r])}}Q.prototype.get=function(t){return t.reduce((function(t,e){return t.getChild(e)}),this.root)},Q.prototype.getNamespace=function(t){var e=this.root;return t.reduce((function(t,n){return e=e.getChild(n),t+(e.namespaced?n+"/":"")}),"")},Q.prototype.update=function(t){tt([],this.root,t)},Q.prototype.register=function(t,e,n){var r=this;void 0===n&&(n=!0);var i=new J(e,n);if(0===t.length)this.root=i;else{var o=this.get(t.slice(0,-1));o.addChild(t[t.length-1],i)}e.modules&&v(e.modules,(function(e,i){r.register(t.concat(i),e,n)}))},Q.prototype.unregister=function(t){var e=this.get(t.slice(0,-1)),n=t[t.length-1],r=e.getChild(n);r&&r.runtime&&e.removeChild(n)},Q.prototype.isRegistered=function(t){var e=this.get(t.slice(0,-1)),n=t[t.length-1];return!!e&&e.hasChild(n)};function et(t){return new nt(t)}var nt=function(t){var e=this;void 0===t&&(t={});var n=t.plugins;void 0===n&&(n=[]);var r=t.strict;void 0===r&&(r=!1);var i=t.devtools;this._committing=!1,this._actions=Object.create(null),this._actionSubscribers=[],this._mutations=Object.create(null),this._wrappedGetters=Object.create(null),this._modules=new Q(t),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._makeLocalGettersCache=Object.create(null),this._scope=null,this._devtools=i;var o=this,s=this,a=s.dispatch,l=s.commit;this.dispatch=function(t,e){return a.call(o,t,e)},this.commit=function(t,e,n){return l.call(o,t,e,n)},this.strict=r;var c=this._modules.root.state;E(this,c,[],this._modules.root),M(this,c),n.forEach((function(t){return t(e)}))},rt={state:{configurable:!0}};nt.prototype.install=function(t,e){t.provide(e||m,this),t.config.globalProperties.$store=this;var n=void 0!==this._devtools&&this._devtools;n&&W(t,this)},rt.state.get=function(){return this._state.data},rt.state.set=function(t){0},nt.prototype.commit=function(t,e,n){var r=this,i=L(t,e,n),o=i.type,s=i.payload,a=(i.options,{type:o,payload:s}),l=this._mutations[o];l&&(this._withCommit((function(){l.forEach((function(t){t(s)}))})),this._subscribers.slice().forEach((function(t){return t(a,r.state)})))},nt.prototype.dispatch=function(t,e){var n=this,r=L(t,e),i=r.type,o=r.payload,s={type:i,payload:o},a=this._actions[i];if(a){try{this._actionSubscribers.slice().filter((function(t){return t.before})).forEach((function(t){return t.before(s,n.state)}))}catch(c){0}var l=a.length>1?Promise.all(a.map((function(t){return t(o)}))):a[0](o);return new Promise((function(t,e){l.then((function(e){try{n._actionSubscribers.filter((function(t){return t.after})).forEach((function(t){return t.after(s,n.state)}))}catch(c){0}t(e)}),(function(t){try{n._actionSubscribers.filter((function(t){return t.error})).forEach((function(e){return e.error(s,n.state,t)}))}catch(c){0}e(t)}))}))}},nt.prototype.subscribe=function(t,e){return w(t,this._subscribers,e)},nt.prototype.subscribeAction=function(t,e){var n="function"===typeof t?{before:t}:t;return w(n,this._actionSubscribers,e)},nt.prototype.watch=function(t,e,n){var i=this;return(0,r.YP)((function(){return t(i.state,i.getters)}),e,Object.assign({},n))},nt.prototype.replaceState=function(t){var e=this;this._withCommit((function(){e._state.data=t}))},nt.prototype.registerModule=function(t,e,n){void 0===n&&(n={}),"string"===typeof t&&(t=[t]),this._modules.register(t,e),E(this,this.state,t,this._modules.get(t),n.preserveState),M(this,this.state)},nt.prototype.unregisterModule=function(t){var e=this;"string"===typeof t&&(t=[t]),this._modules.unregister(t),this._withCommit((function(){var n=D(e.state,t.slice(0,-1));delete n[t[t.length-1]]})),k(this)},nt.prototype.hasModule=function(t){return"string"===typeof t&&(t=[t]),this._modules.isRegistered(t)},nt.prototype.hotUpdate=function(t){this._modules.update(t),k(this,!0)},nt.prototype._withCommit=function(t){var e=this._committing;this._committing=!0,t(),this._committing=e},Object.defineProperties(nt.prototype,rt);st((function(t,e){var n={};return it(e).forEach((function(e){var r=e.key,i=e.val;n[r]=function(){var e=this.$store.state,n=this.$store.getters;if(t){var r=at(this.$store,"mapState",t);if(!r)return;e=r.context.state,n=r.context.getters}return"function"===typeof i?i.call(this,e,n):e[i]},n[r].vuex=!0})),n})),st((function(t,e){var n={};return it(e).forEach((function(e){var r=e.key,i=e.val;n[r]=function(){var e=[],n=arguments.length;while(n--)e[n]=arguments[n];var r=this.$store.commit;if(t){var o=at(this.$store,"mapMutations",t);if(!o)return;r=o.context.commit}return"function"===typeof i?i.apply(this,[r].concat(e)):r.apply(this.$store,[i].concat(e))}})),n})),st((function(t,e){var n={};return it(e).forEach((function(e){var r=e.key,i=e.val;i=t+i,n[r]=function(){if(!t||at(this.$store,"mapGetters",t))return this.$store.getters[i]},n[r].vuex=!0})),n})),st((function(t,e){var n={};return it(e).forEach((function(e){var r=e.key,i=e.val;n[r]=function(){var e=[],n=arguments.length;while(n--)e[n]=arguments[n];var r=this.$store.dispatch;if(t){var o=at(this.$store,"mapActions",t);if(!o)return;r=o.context.dispatch}return"function"===typeof i?i.apply(this,[r].concat(e)):r.apply(this.$store,[i].concat(e))}})),n}));function it(t){return ot(t)?Array.isArray(t)?t.map((function(t){return{key:t,val:t}})):Object.keys(t).map((function(e){return{key:e,val:t[e]}})):[]}function ot(t){return Array.isArray(t)||y(t)}function st(t){return function(e,n){return"string"!==typeof e?(n=e,e=""):"/"!==e.charAt(e.length-1)&&(e+="/"),t(e,n)}}function at(t,e,n){var r=t._modulesNamespaceMap[n];return r}},8433:function(t,e,n){"use strict";function r(t,e){return function(){return t.apply(e,arguments)}}n.d(e,{Z:function(){return Ne}});const{toString:i}=Object.prototype,{getPrototypeOf:o}=Object,s=(t=>e=>{const n=i.call(e);return t[n]||(t[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),a=t=>(t=t.toLowerCase(),e=>s(e)===t),l=t=>e=>typeof e===t,{isArray:c}=Array,u=l("undefined");function h(t){return null!==t&&!u(t)&&null!==t.constructor&&!u(t.constructor)&&g(t.constructor.isBuffer)&&t.constructor.isBuffer(t)}const d=a("ArrayBuffer");function f(t){let e;return e="undefined"!==typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(t):t&&t.buffer&&d(t.buffer),e}const p=l("string"),g=l("function"),m=l("number"),b=t=>null!==t&&"object"===typeof t,v=t=>!0===t||!1===t,y=t=>{if("object"!==s(t))return!1;const e=o(t);return(null===e||e===Object.prototype||null===Object.getPrototypeOf(e))&&!(Symbol.toStringTag in t)&&!(Symbol.iterator in t)},_=a("Date"),x=a("File"),w=a("Blob"),k=a("FileList"),M=t=>b(t)&&g(t.pipe),E=t=>{const e="[object FormData]";return t&&("function"===typeof FormData&&t instanceof FormData||i.call(t)===e||g(t.toString)&&t.toString()===e)},S=a("URLSearchParams"),O=t=>t.trim?t.trim():t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function T(t,e,{allOwnKeys:n=!1}={}){if(null===t||"undefined"===typeof t)return;let r,i;if("object"!==typeof t&&(t=[t]),c(t))for(r=0,i=t.length;r<i;r++)e.call(null,t[r],r,t);else{const i=n?Object.getOwnPropertyNames(t):Object.keys(t),o=i.length;let s;for(r=0;r<o;r++)s=i[r],e.call(null,t[s],s,t)}}function C(t,e){e=e.toLowerCase();const n=Object.keys(t);let r,i=n.length;while(i-- >0)if(r=n[i],e===r.toLowerCase())return r;return null}const P=(()=>"undefined"!==typeof globalThis?globalThis:"undefined"!==typeof self?self:"undefined"!==typeof window?window:global)(),A=t=>!u(t)&&t!==P;function D(){const{caseless:t}=A(this)&&this||{},e={},n=(n,r)=>{const i=t&&C(e,r)||r;y(e[i])&&y(n)?e[i]=D(e[i],n):y(n)?e[i]=D({},n):c(n)?e[i]=n.slice():e[i]=n};for(let r=0,i=arguments.length;r<i;r++)arguments[r]&&T(arguments[r],n);return e}const L=(t,e,n,{allOwnKeys:i}={})=>(T(e,((e,i)=>{n&&g(e)?t[i]=r(e,n):t[i]=e}),{allOwnKeys:i}),t),I=t=>(65279===t.charCodeAt(0)&&(t=t.slice(1)),t),N=(t,e,n,r)=>{t.prototype=Object.create(e.prototype,r),t.prototype.constructor=t,Object.defineProperty(t,"super",{value:e.prototype}),n&&Object.assign(t.prototype,n)},j=(t,e,n,r)=>{let i,s,a;const l={};if(e=e||{},null==t)return e;do{i=Object.getOwnPropertyNames(t),s=i.length;while(s-- >0)a=i[s],r&&!r(a,t,e)||l[a]||(e[a]=t[a],l[a]=!0);t=!1!==n&&o(t)}while(t&&(!n||n(t,e))&&t!==Object.prototype);return e},F=(t,e,n)=>{t=String(t),(void 0===n||n>t.length)&&(n=t.length),n-=e.length;const r=t.indexOf(e,n);return-1!==r&&r===n},R=t=>{if(!t)return null;if(c(t))return t;let e=t.length;if(!m(e))return null;const n=new Array(e);while(e-- >0)n[e]=t[e];return n},W=(t=>e=>t&&e instanceof t)("undefined"!==typeof Uint8Array&&o(Uint8Array)),z=(t,e)=>{const n=t&&t[Symbol.iterator],r=n.call(t);let i;while((i=r.next())&&!i.done){const n=i.value;e.call(t,n[0],n[1])}},U=(t,e)=>{let n;const r=[];while(null!==(n=t.exec(e)))r.push(n);return r},H=a("HTMLFormElement"),B=t=>t.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,(function(t,e,n){return e.toUpperCase()+n})),V=(({hasOwnProperty:t})=>(e,n)=>t.call(e,n))(Object.prototype),$=a("RegExp"),Z=(t,e)=>{const n=Object.getOwnPropertyDescriptors(t),r={};T(n,((n,i)=>{!1!==e(n,i,t)&&(r[i]=n)})),Object.defineProperties(t,r)},Y=t=>{Z(t,((e,n)=>{if(g(t)&&-1!==["arguments","caller","callee"].indexOf(n))return!1;const r=t[n];g(r)&&(e.enumerable=!1,"writable"in e?e.writable=!1:e.set||(e.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")}))}))},q=(t,e)=>{const n={},r=t=>{t.forEach((t=>{n[t]=!0}))};return c(t)?r(t):r(String(t).split(e)),n},X=()=>{},G=(t,e)=>(t=+t,Number.isFinite(t)?t:e),J="abcdefghijklmnopqrstuvwxyz",K="0123456789",Q={DIGIT:K,ALPHA:J,ALPHA_DIGIT:J+J.toUpperCase()+K},tt=(t=16,e=Q.ALPHA_DIGIT)=>{let n="";const{length:r}=e;while(t--)n+=e[Math.random()*r|0];return n};function et(t){return!!(t&&g(t.append)&&"FormData"===t[Symbol.toStringTag]&&t[Symbol.iterator])}const nt=t=>{const e=new Array(10),n=(t,r)=>{if(b(t)){if(e.indexOf(t)>=0)return;if(!("toJSON"in t)){e[r]=t;const i=c(t)?[]:{};return T(t,((t,e)=>{const o=n(t,r+1);!u(o)&&(i[e]=o)})),e[r]=void 0,i}}return t};return n(t,0)};var rt={isArray:c,isArrayBuffer:d,isBuffer:h,isFormData:E,isArrayBufferView:f,isString:p,isNumber:m,isBoolean:v,isObject:b,isPlainObject:y,isUndefined:u,isDate:_,isFile:x,isBlob:w,isRegExp:$,isFunction:g,isStream:M,isURLSearchParams:S,isTypedArray:W,isFileList:k,forEach:T,merge:D,extend:L,trim:O,stripBOM:I,inherits:N,toFlatObject:j,kindOf:s,kindOfTest:a,endsWith:F,toArray:R,forEachEntry:z,matchAll:U,isHTMLForm:H,hasOwnProperty:V,hasOwnProp:V,reduceDescriptors:Z,freezeMethods:Y,toObjectSet:q,toCamelCase:B,noop:X,toFiniteNumber:G,findKey:C,global:P,isContextDefined:A,ALPHABET:Q,generateString:tt,isSpecCompliantForm:et,toJSONObject:nt};function it(t,e,n,r,i){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=(new Error).stack,this.message=t,this.name="AxiosError",e&&(this.code=e),n&&(this.config=n),r&&(this.request=r),i&&(this.response=i)}rt.inherits(it,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:rt.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const ot=it.prototype,st={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach((t=>{st[t]={value:t}})),Object.defineProperties(it,st),Object.defineProperty(ot,"isAxiosError",{value:!0}),it.from=(t,e,n,r,i,o)=>{const s=Object.create(ot);return rt.toFlatObject(t,s,(function(t){return t!==Error.prototype}),(t=>"isAxiosError"!==t)),it.call(s,t.message,e,n,r,i),s.cause=t,s.name=t.name,o&&Object.assign(s,o),s};var at=it,lt=null;function ct(t){return rt.isPlainObject(t)||rt.isArray(t)}function ut(t){return rt.endsWith(t,"[]")?t.slice(0,-2):t}function ht(t,e,n){return t?t.concat(e).map((function(t,e){return t=ut(t),!n&&e?"["+t+"]":t})).join(n?".":""):e}function dt(t){return rt.isArray(t)&&!t.some(ct)}const ft=rt.toFlatObject(rt,{},null,(function(t){return/^is[A-Z]/.test(t)}));function pt(t,e,n){if(!rt.isObject(t))throw new TypeError("target must be an object");e=e||new(lt||FormData),n=rt.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,(function(t,e){return!rt.isUndefined(e[t])}));const r=n.metaTokens,i=n.visitor||u,o=n.dots,s=n.indexes,a=n.Blob||"undefined"!==typeof Blob&&Blob,l=a&&rt.isSpecCompliantForm(e);if(!rt.isFunction(i))throw new TypeError("visitor must be a function");function c(t){if(null===t)return"";if(rt.isDate(t))return t.toISOString();if(!l&&rt.isBlob(t))throw new at("Blob is not supported. Use a Buffer instead.");return rt.isArrayBuffer(t)||rt.isTypedArray(t)?l&&"function"===typeof Blob?new Blob([t]):Buffer.from(t):t}function u(t,n,i){let a=t;if(t&&!i&&"object"===typeof t)if(rt.endsWith(n,"{}"))n=r?n:n.slice(0,-2),t=JSON.stringify(t);else if(rt.isArray(t)&&dt(t)||(rt.isFileList(t)||rt.endsWith(n,"[]"))&&(a=rt.toArray(t)))return n=ut(n),a.forEach((function(t,r){!rt.isUndefined(t)&&null!==t&&e.append(!0===s?ht([n],r,o):null===s?n:n+"[]",c(t))})),!1;return!!ct(t)||(e.append(ht(i,n,o),c(t)),!1)}const h=[],d=Object.assign(ft,{defaultVisitor:u,convertValue:c,isVisitable:ct});function f(t,n){if(!rt.isUndefined(t)){if(-1!==h.indexOf(t))throw Error("Circular reference detected in "+n.join("."));h.push(t),rt.forEach(t,(function(t,r){const o=!(rt.isUndefined(t)||null===t)&&i.call(e,t,rt.isString(r)?r.trim():r,n,d);!0===o&&f(t,n?n.concat(r):[r])})),h.pop()}}if(!rt.isObject(t))throw new TypeError("data must be an object");return f(t),e}var gt=pt;function mt(t){const e={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(t).replace(/[!'()~]|%20|%00/g,(function(t){return e[t]}))}function bt(t,e){this._pairs=[],t&&gt(t,this,e)}const vt=bt.prototype;vt.append=function(t,e){this._pairs.push([t,e])},vt.toString=function(t){const e=t?function(e){return t.call(this,e,mt)}:mt;return this._pairs.map((function(t){return e(t[0])+"="+e(t[1])}),"").join("&")};var yt=bt;function _t(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function xt(t,e,n){if(!e)return t;const r=n&&n.encode||_t,i=n&&n.serialize;let o;if(o=i?i(e,n):rt.isURLSearchParams(e)?e.toString():new yt(e,n).toString(r),o){const e=t.indexOf("#");-1!==e&&(t=t.slice(0,e)),t+=(-1===t.indexOf("?")?"?":"&")+o}return t}class wt{constructor(){this.handlers=[]}use(t,e,n){return this.handlers.push({fulfilled:t,rejected:e,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){rt.forEach(this.handlers,(function(e){null!==e&&t(e)}))}}var kt=wt,Mt={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},Et="undefined"!==typeof URLSearchParams?URLSearchParams:yt,St="undefined"!==typeof FormData?FormData:null;const Ot=(()=>{let t;return("undefined"===typeof navigator||"ReactNative"!==(t=navigator.product)&&"NativeScript"!==t&&"NS"!==t)&&("undefined"!==typeof window&&"undefined"!==typeof document)})(),Tt=(()=>"undefined"!==typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"===typeof self.importScripts)();var Ct={isBrowser:!0,classes:{URLSearchParams:Et,FormData:St,Blob:Blob},isStandardBrowserEnv:Ot,isStandardBrowserWebWorkerEnv:Tt,protocols:["http","https","file","blob","url","data"]};function Pt(t,e){return gt(t,new Ct.classes.URLSearchParams,Object.assign({visitor:function(t,e,n,r){return Ct.isNode&&rt.isBuffer(t)?(this.append(e,t.toString("base64")),!1):r.defaultVisitor.apply(this,arguments)}},e))}function At(t){return rt.matchAll(/\w+|\[(\w*)]/g,t).map((t=>"[]"===t[0]?"":t[1]||t[0]))}function Dt(t){const e={},n=Object.keys(t);let r;const i=n.length;let o;for(r=0;r<i;r++)o=n[r],e[o]=t[o];return e}function Lt(t){function e(t,n,r,i){let o=t[i++];const s=Number.isFinite(+o),a=i>=t.length;if(o=!o&&rt.isArray(r)?r.length:o,a)return rt.hasOwnProp(r,o)?r[o]=[r[o],n]:r[o]=n,!s;r[o]&&rt.isObject(r[o])||(r[o]=[]);const l=e(t,n,r[o],i);return l&&rt.isArray(r[o])&&(r[o]=Dt(r[o])),!s}if(rt.isFormData(t)&&rt.isFunction(t.entries)){const n={};return rt.forEachEntry(t,((t,r)=>{e(At(t),r,n,0)})),n}return null}var It=Lt;const Nt={"Content-Type":void 0};function jt(t,e,n){if(rt.isString(t))try{return(e||JSON.parse)(t),rt.trim(t)}catch(r){if("SyntaxError"!==r.name)throw r}return(n||JSON.stringify)(t)}const Ft={transitional:Mt,adapter:["xhr","http"],transformRequest:[function(t,e){const n=e.getContentType()||"",r=n.indexOf("application/json")>-1,i=rt.isObject(t);i&&rt.isHTMLForm(t)&&(t=new FormData(t));const o=rt.isFormData(t);if(o)return r&&r?JSON.stringify(It(t)):t;if(rt.isArrayBuffer(t)||rt.isBuffer(t)||rt.isStream(t)||rt.isFile(t)||rt.isBlob(t))return t;if(rt.isArrayBufferView(t))return t.buffer;if(rt.isURLSearchParams(t))return e.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let s;if(i){if(n.indexOf("application/x-www-form-urlencoded")>-1)return Pt(t,this.formSerializer).toString();if((s=rt.isFileList(t))||n.indexOf("multipart/form-data")>-1){const e=this.env&&this.env.FormData;return gt(s?{"files[]":t}:t,e&&new e,this.formSerializer)}}return i||r?(e.setContentType("application/json",!1),jt(t)):t}],transformResponse:[function(t){const e=this.transitional||Ft.transitional,n=e&&e.forcedJSONParsing,r="json"===this.responseType;if(t&&rt.isString(t)&&(n&&!this.responseType||r)){const n=e&&e.silentJSONParsing,o=!n&&r;try{return JSON.parse(t)}catch(i){if(o){if("SyntaxError"===i.name)throw at.from(i,at.ERR_BAD_RESPONSE,this,null,this.response);throw i}}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Ct.classes.FormData,Blob:Ct.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};rt.forEach(["delete","get","head"],(function(t){Ft.headers[t]={}})),rt.forEach(["post","put","patch"],(function(t){Ft.headers[t]=rt.merge(Nt)}));var Rt=Ft;const Wt=rt.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]);var zt=t=>{const e={};let n,r,i;return t&&t.split("\n").forEach((function(t){i=t.indexOf(":"),n=t.substring(0,i).trim().toLowerCase(),r=t.substring(i+1).trim(),!n||e[n]&&Wt[n]||("set-cookie"===n?e[n]?e[n].push(r):e[n]=[r]:e[n]=e[n]?e[n]+", "+r:r)})),e};const Ut=Symbol("internals");function Ht(t){return t&&String(t).trim().toLowerCase()}function Bt(t){return!1===t||null==t?t:rt.isArray(t)?t.map(Bt):String(t)}function Vt(t){const e=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;while(r=n.exec(t))e[r[1]]=r[2];return e}function $t(t){return/^[-_a-zA-Z]+$/.test(t.trim())}function Zt(t,e,n,r,i){return rt.isFunction(r)?r.call(this,e,n):(i&&(e=n),rt.isString(e)?rt.isString(r)?-1!==e.indexOf(r):rt.isRegExp(r)?r.test(e):void 0:void 0)}function Yt(t){return t.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,((t,e,n)=>e.toUpperCase()+n))}function qt(t,e){const n=rt.toCamelCase(" "+e);["get","set","has"].forEach((r=>{Object.defineProperty(t,r+n,{value:function(t,n,i){return this[r].call(this,e,t,n,i)},configurable:!0})}))}class Xt{constructor(t){t&&this.set(t)}set(t,e,n){const r=this;function i(t,e,n){const i=Ht(e);if(!i)throw new Error("header name must be a non-empty string");const o=rt.findKey(r,i);(!o||void 0===r[o]||!0===n||void 0===n&&!1!==r[o])&&(r[o||e]=Bt(t))}const o=(t,e)=>rt.forEach(t,((t,n)=>i(t,n,e)));return rt.isPlainObject(t)||t instanceof this.constructor?o(t,e):rt.isString(t)&&(t=t.trim())&&!$t(t)?o(zt(t),e):null!=t&&i(e,t,n),this}get(t,e){if(t=Ht(t),t){const n=rt.findKey(this,t);if(n){const t=this[n];if(!e)return t;if(!0===e)return Vt(t);if(rt.isFunction(e))return e.call(this,t,n);if(rt.isRegExp(e))return e.exec(t);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,e){if(t=Ht(t),t){const n=rt.findKey(this,t);return!(!n||void 0===this[n]||e&&!Zt(this,this[n],n,e))}return!1}delete(t,e){const n=this;let r=!1;function i(t){if(t=Ht(t),t){const i=rt.findKey(n,t);!i||e&&!Zt(n,n[i],i,e)||(delete n[i],r=!0)}}return rt.isArray(t)?t.forEach(i):i(t),r}clear(t){const e=Object.keys(this);let n=e.length,r=!1;while(n--){const i=e[n];t&&!Zt(this,this[i],i,t,!0)||(delete this[i],r=!0)}return r}normalize(t){const e=this,n={};return rt.forEach(this,((r,i)=>{const o=rt.findKey(n,i);if(o)return e[o]=Bt(r),void delete e[i];const s=t?Yt(i):String(i).trim();s!==i&&delete e[i],e[s]=Bt(r),n[s]=!0})),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const e=Object.create(null);return rt.forEach(this,((n,r)=>{null!=n&&!1!==n&&(e[r]=t&&rt.isArray(n)?n.join(", "):n)})),e}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map((([t,e])=>t+": "+e)).join("\n")}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...e){const n=new this(t);return e.forEach((t=>n.set(t))),n}static accessor(t){const e=this[Ut]=this[Ut]={accessors:{}},n=e.accessors,r=this.prototype;function i(t){const e=Ht(t);n[e]||(qt(r,t),n[e]=!0)}return rt.isArray(t)?t.forEach(i):i(t),this}}Xt.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),rt.freezeMethods(Xt.prototype),rt.freezeMethods(Xt);var Gt=Xt;function Jt(t,e){const n=this||Rt,r=e||n,i=Gt.from(r.headers);let o=r.data;return rt.forEach(t,(function(t){o=t.call(n,o,i.normalize(),e?e.status:void 0)})),i.normalize(),o}function Kt(t){return!(!t||!t.__CANCEL__)}function Qt(t,e,n){at.call(this,null==t?"canceled":t,at.ERR_CANCELED,e,n),this.name="CanceledError"}rt.inherits(Qt,at,{__CANCEL__:!0});var te=Qt;function ee(t,e,n){const r=n.config.validateStatus;n.status&&r&&!r(n.status)?e(new at("Request failed with status code "+n.status,[at.ERR_BAD_REQUEST,at.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n)):t(n)}var ne=Ct.isStandardBrowserEnv?function(){return{write:function(t,e,n,r,i,o){const s=[];s.push(t+"="+encodeURIComponent(e)),rt.isNumber(n)&&s.push("expires="+new Date(n).toGMTString()),rt.isString(r)&&s.push("path="+r),rt.isString(i)&&s.push("domain="+i),!0===o&&s.push("secure"),document.cookie=s.join("; ")},read:function(t){const e=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove:function(t){this.write(t,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}();function re(t){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)}function ie(t,e){return e?t.replace(/\/+$/,"")+"/"+e.replace(/^\/+/,""):t}function oe(t,e){return t&&!re(e)?ie(t,e):e}var se=Ct.isStandardBrowserEnv?function(){const t=/(msie|trident)/i.test(navigator.userAgent),e=document.createElement("a");let n;function r(n){let r=n;return t&&(e.setAttribute("href",r),r=e.href),e.setAttribute("href",r),{href:e.href,protocol:e.protocol?e.protocol.replace(/:$/,""):"",host:e.host,search:e.search?e.search.replace(/^\?/,""):"",hash:e.hash?e.hash.replace(/^#/,""):"",hostname:e.hostname,port:e.port,pathname:"/"===e.pathname.charAt(0)?e.pathname:"/"+e.pathname}}return n=r(window.location.href),function(t){const e=rt.isString(t)?r(t):t;return e.protocol===n.protocol&&e.host===n.host}}():function(){return function(){return!0}}();function ae(t){const e=/^([-+\w]{1,25})(:?\/\/|:)/.exec(t);return e&&e[1]||""}function le(t,e){t=t||10;const n=new Array(t),r=new Array(t);let i,o=0,s=0;return e=void 0!==e?e:1e3,function(a){const l=Date.now(),c=r[s];i||(i=l),n[o]=a,r[o]=l;let u=s,h=0;while(u!==o)h+=n[u++],u%=t;if(o=(o+1)%t,o===s&&(s=(s+1)%t),l-i<e)return;const d=c&&l-c;return d?Math.round(1e3*h/d):void 0}}var ce=le;function ue(t,e){let n=0;const r=ce(50,250);return i=>{const o=i.loaded,s=i.lengthComputable?i.total:void 0,a=o-n,l=r(a),c=o<=s;n=o;const u={loaded:o,total:s,progress:s?o/s:void 0,bytes:a,rate:l||void 0,estimated:l&&s&&c?(s-o)/l:void 0,event:i};u[e?"download":"upload"]=!0,t(u)}}const he="undefined"!==typeof XMLHttpRequest;var de=he&&function(t){return new Promise((function(e,n){let r=t.data;const i=Gt.from(t.headers).normalize(),o=t.responseType;let s;function a(){t.cancelToken&&t.cancelToken.unsubscribe(s),t.signal&&t.signal.removeEventListener("abort",s)}rt.isFormData(r)&&(Ct.isStandardBrowserEnv||Ct.isStandardBrowserWebWorkerEnv)&&i.setContentType(!1);let l=new XMLHttpRequest;if(t.auth){const e=t.auth.username||"",n=t.auth.password?unescape(encodeURIComponent(t.auth.password)):"";i.set("Authorization","Basic "+btoa(e+":"+n))}const c=oe(t.baseURL,t.url);function u(){if(!l)return;const r=Gt.from("getAllResponseHeaders"in l&&l.getAllResponseHeaders()),i=o&&"text"!==o&&"json"!==o?l.response:l.responseText,s={data:i,status:l.status,statusText:l.statusText,headers:r,config:t,request:l};ee((function(t){e(t),a()}),(function(t){n(t),a()}),s),l=null}if(l.open(t.method.toUpperCase(),xt(c,t.params,t.paramsSerializer),!0),l.timeout=t.timeout,"onloadend"in l?l.onloadend=u:l.onreadystatechange=function(){l&&4===l.readyState&&(0!==l.status||l.responseURL&&0===l.responseURL.indexOf("file:"))&&setTimeout(u)},l.onabort=function(){l&&(n(new at("Request aborted",at.ECONNABORTED,t,l)),l=null)},l.onerror=function(){n(new at("Network Error",at.ERR_NETWORK,t,l)),l=null},l.ontimeout=function(){let e=t.timeout?"timeout of "+t.timeout+"ms exceeded":"timeout exceeded";const r=t.transitional||Mt;t.timeoutErrorMessage&&(e=t.timeoutErrorMessage),n(new at(e,r.clarifyTimeoutError?at.ETIMEDOUT:at.ECONNABORTED,t,l)),l=null},Ct.isStandardBrowserEnv){const e=(t.withCredentials||se(c))&&t.xsrfCookieName&&ne.read(t.xsrfCookieName);e&&i.set(t.xsrfHeaderName,e)}void 0===r&&i.setContentType(null),"setRequestHeader"in l&&rt.forEach(i.toJSON(),(function(t,e){l.setRequestHeader(e,t)})),rt.isUndefined(t.withCredentials)||(l.withCredentials=!!t.withCredentials),o&&"json"!==o&&(l.responseType=t.responseType),"function"===typeof t.onDownloadProgress&&l.addEventListener("progress",ue(t.onDownloadProgress,!0)),"function"===typeof t.onUploadProgress&&l.upload&&l.upload.addEventListener("progress",ue(t.onUploadProgress)),(t.cancelToken||t.signal)&&(s=e=>{l&&(n(!e||e.type?new te(null,t,l):e),l.abort(),l=null)},t.cancelToken&&t.cancelToken.subscribe(s),t.signal&&(t.signal.aborted?s():t.signal.addEventListener("abort",s)));const h=ae(c);h&&-1===Ct.protocols.indexOf(h)?n(new at("Unsupported protocol "+h+":",at.ERR_BAD_REQUEST,t)):l.send(r||null)}))};const fe={http:lt,xhr:de};rt.forEach(fe,((t,e)=>{if(t){try{Object.defineProperty(t,"name",{value:e})}catch(n){}Object.defineProperty(t,"adapterName",{value:e})}}));var pe={getAdapter:t=>{t=rt.isArray(t)?t:[t];const{length:e}=t;let n,r;for(let i=0;i<e;i++)if(n=t[i],r=rt.isString(n)?fe[n.toLowerCase()]:n)break;if(!r){if(!1===r)throw new at(`Adapter ${n} is not supported by the environment`,"ERR_NOT_SUPPORT");throw new Error(rt.hasOwnProp(fe,n)?`Adapter '${n}' is not available in the build`:`Unknown adapter '${n}'`)}if(!rt.isFunction(r))throw new TypeError("adapter is not a function");return r},adapters:fe};function ge(t){if(t.cancelToken&&t.cancelToken.throwIfRequested(),t.signal&&t.signal.aborted)throw new te(null,t)}function me(t){ge(t),t.headers=Gt.from(t.headers),t.data=Jt.call(t,t.transformRequest),-1!==["post","put","patch"].indexOf(t.method)&&t.headers.setContentType("application/x-www-form-urlencoded",!1);const e=pe.getAdapter(t.adapter||Rt.adapter);return e(t).then((function(e){return ge(t),e.data=Jt.call(t,t.transformResponse,e),e.headers=Gt.from(e.headers),e}),(function(e){return Kt(e)||(ge(t),e&&e.response&&(e.response.data=Jt.call(t,t.transformResponse,e.response),e.response.headers=Gt.from(e.response.headers))),Promise.reject(e)}))}const be=t=>t instanceof Gt?t.toJSON():t;function ve(t,e){e=e||{};const n={};function r(t,e,n){return rt.isPlainObject(t)&&rt.isPlainObject(e)?rt.merge.call({caseless:n},t,e):rt.isPlainObject(e)?rt.merge({},e):rt.isArray(e)?e.slice():e}function i(t,e,n){return rt.isUndefined(e)?rt.isUndefined(t)?void 0:r(void 0,t,n):r(t,e,n)}function o(t,e){if(!rt.isUndefined(e))return r(void 0,e)}function s(t,e){return rt.isUndefined(e)?rt.isUndefined(t)?void 0:r(void 0,t):r(void 0,e)}function a(n,i,o){return o in e?r(n,i):o in t?r(void 0,n):void 0}const l={url:o,method:o,data:o,baseURL:s,transformRequest:s,transformResponse:s,paramsSerializer:s,timeout:s,timeoutMessage:s,withCredentials:s,adapter:s,responseType:s,xsrfCookieName:s,xsrfHeaderName:s,onUploadProgress:s,onDownloadProgress:s,decompress:s,maxContentLength:s,maxBodyLength:s,beforeRedirect:s,transport:s,httpAgent:s,httpsAgent:s,cancelToken:s,socketPath:s,responseEncoding:s,validateStatus:a,headers:(t,e)=>i(be(t),be(e),!0)};return rt.forEach(Object.keys(t).concat(Object.keys(e)),(function(r){const o=l[r]||i,s=o(t[r],e[r],r);rt.isUndefined(s)&&o!==a||(n[r]=s)})),n}const ye="1.3.3",_e={};["object","boolean","number","function","string","symbol"].forEach(((t,e)=>{_e[t]=function(n){return typeof n===t||"a"+(e<1?"n ":" ")+t}}));const xe={};function we(t,e,n){if("object"!==typeof t)throw new at("options must be an object",at.ERR_BAD_OPTION_VALUE);const r=Object.keys(t);let i=r.length;while(i-- >0){const o=r[i],s=e[o];if(s){const e=t[o],n=void 0===e||s(e,o,t);if(!0!==n)throw new at("option "+o+" must be "+n,at.ERR_BAD_OPTION_VALUE)}else if(!0!==n)throw new at("Unknown option "+o,at.ERR_BAD_OPTION)}}_e.transitional=function(t,e,n){function r(t,e){return"[Axios v"+ye+"] Transitional option '"+t+"'"+e+(n?". "+n:"")}return(n,i,o)=>{if(!1===t)throw new at(r(i," has been removed"+(e?" in "+e:"")),at.ERR_DEPRECATED);return e&&!xe[i]&&(xe[i]=!0,console.warn(r(i," has been deprecated since v"+e+" and will be removed in the near future"))),!t||t(n,i,o)}};var ke={assertOptions:we,validators:_e};const Me=ke.validators;class Ee{constructor(t){this.defaults=t,this.interceptors={request:new kt,response:new kt}}request(t,e){"string"===typeof t?(e=e||{},e.url=t):e=t||{},e=ve(this.defaults,e);const{transitional:n,paramsSerializer:r,headers:i}=e;let o;void 0!==n&&ke.assertOptions(n,{silentJSONParsing:Me.transitional(Me.boolean),forcedJSONParsing:Me.transitional(Me.boolean),clarifyTimeoutError:Me.transitional(Me.boolean)},!1),void 0!==r&&ke.assertOptions(r,{encode:Me.function,serialize:Me.function},!0),e.method=(e.method||this.defaults.method||"get").toLowerCase(),o=i&&rt.merge(i.common,i[e.method]),o&&rt.forEach(["delete","get","head","post","put","patch","common"],(t=>{delete i[t]})),e.headers=Gt.concat(o,i);const s=[];let a=!0;this.interceptors.request.forEach((function(t){"function"===typeof t.runWhen&&!1===t.runWhen(e)||(a=a&&t.synchronous,s.unshift(t.fulfilled,t.rejected))}));const l=[];let c;this.interceptors.response.forEach((function(t){l.push(t.fulfilled,t.rejected)}));let u,h=0;if(!a){const t=[me.bind(this),void 0];t.unshift.apply(t,s),t.push.apply(t,l),u=t.length,c=Promise.resolve(e);while(h<u)c=c.then(t[h++],t[h++]);return c}u=s.length;let d=e;h=0;while(h<u){const t=s[h++],e=s[h++];try{d=t(d)}catch(f){e.call(this,f);break}}try{c=me.call(this,d)}catch(f){return Promise.reject(f)}h=0,u=l.length;while(h<u)c=c.then(l[h++],l[h++]);return c}getUri(t){t=ve(this.defaults,t);const e=oe(t.baseURL,t.url);return xt(e,t.params,t.paramsSerializer)}}rt.forEach(["delete","get","head","options"],(function(t){Ee.prototype[t]=function(e,n){return this.request(ve(n||{},{method:t,url:e,data:(n||{}).data}))}})),rt.forEach(["post","put","patch"],(function(t){function e(e){return function(n,r,i){return this.request(ve(i||{},{method:t,headers:e?{"Content-Type":"multipart/form-data"}:{},url:n,data:r}))}}Ee.prototype[t]=e(),Ee.prototype[t+"Form"]=e(!0)}));var Se=Ee;class Oe{constructor(t){if("function"!==typeof t)throw new TypeError("executor must be a function.");let e;this.promise=new Promise((function(t){e=t}));const n=this;this.promise.then((t=>{if(!n._listeners)return;let e=n._listeners.length;while(e-- >0)n._listeners[e](t);n._listeners=null})),this.promise.then=t=>{let e;const r=new Promise((t=>{n.subscribe(t),e=t})).then(t);return r.cancel=function(){n.unsubscribe(e)},r},t((function(t,r,i){n.reason||(n.reason=new te(t,r,i),e(n.reason))}))}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){this.reason?t(this.reason):this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const e=this._listeners.indexOf(t);-1!==e&&this._listeners.splice(e,1)}static source(){let t;const e=new Oe((function(e){t=e}));return{token:e,cancel:t}}}var Te=Oe;function Ce(t){return function(e){return t.apply(null,e)}}function Pe(t){return rt.isObject(t)&&!0===t.isAxiosError}const Ae={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(Ae).forEach((([t,e])=>{Ae[e]=t}));var De=Ae;function Le(t){const e=new Se(t),n=r(Se.prototype.request,e);return rt.extend(n,Se.prototype,e,{allOwnKeys:!0}),rt.extend(n,e,null,{allOwnKeys:!0}),n.create=function(e){return Le(ve(t,e))},n}const Ie=Le(Rt);Ie.Axios=Se,Ie.CanceledError=te,Ie.CancelToken=Te,Ie.isCancel=Kt,Ie.VERSION=ye,Ie.toFormData=gt,Ie.AxiosError=at,Ie.Cancel=Ie.CanceledError,Ie.all=function(t){return Promise.all(t)},Ie.spread=Ce,Ie.isAxiosError=Pe,Ie.mergeConfig=ve,Ie.AxiosHeaders=Gt,Ie.formToJSON=t=>It(rt.isHTMLForm(t)?new FormData(t):t),Ie.HttpStatusCode=De,Ie.default=Ie;var Ne=Ie},3148:function(t,e,n){"use strict";n.d(e,{De:function(){return _r},Dx:function(){return kr},Gu:function(){return hr},ST:function(){return q},ZL:function(){return Nn},f$:function(){return Kr},jn:function(){return kn},kL:function(){return tn},od:function(){return En},qi:function(){return un},u:function(){return Br},uw:function(){return qr},vn:function(){return Y}});var r=n(9676);
/*!
* Chart.js v4.2.1
* https://www.chartjs.org
* (c) 2023 Chart.js Contributors
* Released under the MIT License
*/class i{constructor(){this._request=null,this._charts=new Map,this._running=!1,this._lastDate=void 0}_notify(t,e,n,r){const i=e.listeners[r],o=e.duration;i.forEach((r=>r({chart:t,initial:e.initial,numSteps:o,currentStep:Math.min(n-e.start,o)})))}_refresh(){this._request||(this._running=!0,this._request=r.r.call(window,(()=>{this._update(),this._request=null,this._running&&this._refresh()})))}_update(t=Date.now()){let e=0;this._charts.forEach(((n,r)=>{if(!n.running||!n.items.length)return;const i=n.items;let o,s=i.length-1,a=!1;for(;s>=0;--s)o=i[s],o._active?(o._total>n.duration&&(n.duration=o._total),o.tick(t),a=!0):(i[s]=i[i.length-1],i.pop());a&&(r.draw(),this._notify(r,n,t,"progress")),i.length||(n.running=!1,this._notify(r,n,t,"complete"),n.initial=!1),e+=i.length})),this._lastDate=t,0===e&&(this._running=!1)}_getAnims(t){const e=this._charts;let n=e.get(t);return n||(n={running:!1,initial:!0,items:[],listeners:{complete:[],progress:[]}},e.set(t,n)),n}listen(t,e,n){this._getAnims(t).listeners[e].push(n)}add(t,e){e&&e.length&&this._getAnims(t).items.push(...e)}has(t){return this._getAnims(t).items.length>0}start(t){const e=this._charts.get(t);e&&(e.running=!0,e.start=Date.now(),e.duration=e.items.reduce(((t,e)=>Math.max(t,e._duration)),0),this._refresh())}running(t){if(!this._running)return!1;const e=this._charts.get(t);return!!(e&&e.running&&e.items.length)}stop(t){const e=this._charts.get(t);if(!e||!e.items.length)return;const n=e.items;let r=n.length-1;for(;r>=0;--r)n[r].cancel();e.items=[],this._notify(t,e,Date.now(),"complete")}remove(t){return this._charts.delete(t)}}var o=new i;const s="transparent",a={boolean(t,e,n){return n>.5?e:t},color(t,e,n){const i=(0,r.c)(t||s),o=i.valid&&(0,r.c)(e||s);return o&&o.valid?o.mix(i,n).hexString():e},number(t,e,n){return t+(e-t)*n}};class l{constructor(t,e,n,i){const o=e[n];i=(0,r.a)([t.to,i,o,t.from]);const s=(0,r.a)([t.from,o,i]);this._active=!0,this._fn=t.fn||a[t.type||typeof s],this._easing=r.e[t.easing]||r.e.linear,this._start=Math.floor(Date.now()+(t.delay||0)),this._duration=this._total=Math.floor(t.duration),this._loop=!!t.loop,this._target=e,this._prop=n,this._from=s,this._to=i,this._promises=void 0}active(){return this._active}update(t,e,n){if(this._active){this._notify(!1);const i=this._target[this._prop],o=n-this._start,s=this._duration-o;this._start=n,this._duration=Math.floor(Math.max(s,t.duration)),this._total+=o,this._loop=!!t.loop,this._to=(0,r.a)([t.to,e,i,t.from]),this._from=(0,r.a)([t.from,i,e])}}cancel(){this._active&&(this.tick(Date.now()),this._active=!1,this._notify(!1))}tick(t){const e=t-this._start,n=this._duration,r=this._prop,i=this._from,o=this._loop,s=this._to;let a;if(this._active=i!==s&&(o||e<n),!this._active)return this._target[r]=s,void this._notify(!0);e<0?this._target[r]=i:(a=e/n%2,a=o&&a>1?2-a:a,a=this._easing(Math.min(1,Math.max(0,a))),this._target[r]=this._fn(i,s,a))}wait(){const t=this._promises||(this._promises=[]);return new Promise(((e,n)=>{t.push({res:e,rej:n})}))}_notify(t){const e=t?"res":"rej",n=this._promises||[];for(let r=0;r<n.length;r++)n[r][e]()}}class c{constructor(t,e){this._chart=t,this._properties=new Map,this.configure(e)}configure(t){if(!(0,r.i)(t))return;const e=Object.keys(r.d.animation),n=this._properties;Object.getOwnPropertyNames(t).forEach((i=>{const o=t[i];if(!(0,r.i)(o))return;const s={};for(const t of e)s[t]=o[t];((0,r.b)(o.properties)&&o.properties||[i]).forEach((t=>{t!==i&&n.has(t)||n.set(t,s)}))}))}_animateOptions(t,e){const n=e.options,r=h(t,n);if(!r)return[];const i=this._createAnimations(r,n);return n.$shared&&u(t.options.$animations,n).then((()=>{t.options=n}),(()=>{})),i}_createAnimations(t,e){const n=this._properties,r=[],i=t.$animations||(t.$animations={}),o=Object.keys(e),s=Date.now();let a;for(a=o.length-1;a>=0;--a){const c=o[a];if("$"===c.charAt(0))continue;if("options"===c){r.push(...this._animateOptions(t,e));continue}const u=e[c];let h=i[c];const d=n.get(c);if(h){if(d&&h.active()){h.update(d,u,s);continue}h.cancel()}d&&d.duration?(i[c]=h=new l(d,t,c,u),r.push(h)):t[c]=u}return r}update(t,e){if(0===this._properties.size)return void Object.assign(t,e);const n=this._createAnimations(t,e);return n.length?(o.add(this._chart,n),!0):void 0}}function u(t,e){const n=[],r=Object.keys(e);for(let i=0;i<r.length;i++){const e=t[r[i]];e&&e.active()&&n.push(e.wait())}return Promise.all(n)}function h(t,e){if(!e)return;let n=t.options;if(n)return n.$shared&&(t.options=n=Object.assign({},n,{$shared:!1,$animations:{}})),n;t.options=e}function d(t,e){const n=t&&t.options||{},r=n.reverse,i=void 0===n.min?e:0,o=void 0===n.max?e:0;return{start:r?o:i,end:r?i:o}}function f(t,e,n){if(!1===n)return!1;const r=d(t,n),i=d(e,n);return{top:i.end,right:r.end,bottom:i.start,left:r.start}}function p(t){let e,n,i,o;return(0,r.i)(t)?(e=t.top,n=t.right,i=t.bottom,o=t.left):e=n=i=o=t,{top:e,right:n,bottom:i,left:o,disabled:!1===t}}function g(t,e){const n=[],r=t._getSortedDatasetMetas(e);let i,o;for(i=0,o=r.length;i<o;++i)n.push(r[i].index);return n}function m(t,e,n,i={}){const o=t.keys,s="single"===i.mode;let a,l,c,u;if(null!==e){for(a=0,l=o.length;a<l;++a){if(c=+o[a],c===n){if(i.all)continue;break}u=t.values[c],(0,r.g)(u)&&(s||0===e||(0,r.s)(e)===(0,r.s)(u))&&(e+=u)}return e}}function b(t){const e=Object.keys(t),n=new Array(e.length);let r,i,o;for(r=0,i=e.length;r<i;++r)o=e[r],n[r]={x:o,y:t[o]};return n}function v(t,e){const n=t&&t.options.stacked;return n||void 0===n&&void 0!==e.stack}function y(t,e,n){return`${t.id}.${e.id}.${n.stack||n.type}`}function _(t){const{min:e,max:n,minDefined:r,maxDefined:i}=t.getUserBounds();return{min:r?e:Number.NEGATIVE_INFINITY,max:i?n:Number.POSITIVE_INFINITY}}function x(t,e,n){const r=t[e]||(t[e]={});return r[n]||(r[n]={})}function w(t,e,n,r){for(const i of e.getMatchingVisibleMetas(r).reverse()){const e=t[i.index];if(n&&e>0||!n&&e<0)return i.index}return null}function k(t,e){const{chart:n,_cachedMeta:r}=t,i=n._stacks||(n._stacks={}),{iScale:o,vScale:s,index:a}=r,l=o.axis,c=s.axis,u=y(o,s,r),h=e.length;let d;for(let f=0;f<h;++f){const t=e[f],{[l]:n,[c]:o}=t,h=t._stacks||(t._stacks={});d=h[c]=x(i,u,n),d[a]=o,d._top=w(d,s,!0,r.type),d._bottom=w(d,s,!1,r.type);const p=d._visualValues||(d._visualValues={});p[a]=o}}function M(t,e){const n=t.scales;return Object.keys(n).filter((t=>n[t].axis===e)).shift()}function E(t,e){return(0,r.j)(t,{active:!1,dataset:void 0,datasetIndex:e,index:e,mode:"default",type:"dataset"})}function S(t,e,n){return(0,r.j)(t,{active:!1,dataIndex:e,parsed:void 0,raw:void 0,element:n,index:e,mode:"default",type:"data"})}function O(t,e){const n=t.controller.index,r=t.vScale&&t.vScale.axis;if(r){e=e||t._parsed;for(const t of e){const e=t._stacks;if(!e||void 0===e[r]||void 0===e[r][n])return;delete e[r][n],void 0!==e[r]._visualValues&&void 0!==e[r]._visualValues[n]&&delete e[r]._visualValues[n]}}}const T=t=>"reset"===t||"none"===t,C=(t,e)=>e?t:Object.assign({},t),P=(t,e,n)=>t&&!e.hidden&&e._stacked&&{keys:g(n,!0),values:null};class A{static defaults={};static datasetElementType=null;static dataElementType=null;constructor(t,e){this.chart=t,this._ctx=t.ctx,this.index=e,this._cachedDataOpts={},this._cachedMeta=this.getMeta(),this._type=this._cachedMeta.type,this.options=void 0,this._parsing=!1,this._data=void 0,this._objectData=void 0,this._sharedOptions=void 0,this._drawStart=void 0,this._drawCount=void 0,this.enableOptionSharing=!1,this.supportsDecimation=!1,this.$context=void 0,this._syncList=[],this.datasetElementType=new.target.datasetElementType,this.dataElementType=new.target.dataElementType,this.initialize()}initialize(){const t=this._cachedMeta;this.configure(),this.linkScales(),t._stacked=v(t.vScale,t),this.addElements(),this.options.fill&&!this.chart.isPluginEnabled("filler")&&console.warn("Tried to use the 'fill' option without the 'Filler' plugin enabled. Please import and register the 'Filler' plugin and make sure it is not disabled in the options")}updateIndex(t){this.index!==t&&O(this._cachedMeta),this.index=t}linkScales(){const t=this.chart,e=this._cachedMeta,n=this.getDataset(),i=(t,e,n,r)=>"x"===t?e:"r"===t?r:n,o=e.xAxisID=(0,r.v)(n.xAxisID,M(t,"x")),s=e.yAxisID=(0,r.v)(n.yAxisID,M(t,"y")),a=e.rAxisID=(0,r.v)(n.rAxisID,M(t,"r")),l=e.indexAxis,c=e.iAxisID=i(l,o,s,a),u=e.vAxisID=i(l,s,o,a);e.xScale=this.getScaleForId(o),e.yScale=this.getScaleForId(s),e.rScale=this.getScaleForId(a),e.iScale=this.getScaleForId(c),e.vScale=this.getScaleForId(u)}getDataset(){return this.chart.data.datasets[this.index]}getMeta(){return this.chart.getDatasetMeta(this.index)}getScaleForId(t){return this.chart.scales[t]}_getOtherScale(t){const e=this._cachedMeta;return t===e.iScale?e.vScale:e.iScale}reset(){this._update("reset")}_destroy(){const t=this._cachedMeta;this._data&&(0,r.u)(this._data,this),t._stacked&&O(t)}_dataCheck(){const t=this.getDataset(),e=t.data||(t.data=[]),n=this._data;if((0,r.i)(e))this._data=b(e);else if(n!==e){if(n){(0,r.u)(n,this);const t=this._cachedMeta;O(t),t._parsed=[]}e&&Object.isExtensible(e)&&(0,r.l)(e,this),this._syncList=[],this._data=e}}addElements(){const t=this._cachedMeta;this._dataCheck(),this.datasetElementType&&(t.dataset=new this.datasetElementType)}buildOrUpdateElements(t){const e=this._cachedMeta,n=this.getDataset();let r=!1;this._dataCheck();const i=e._stacked;e._stacked=v(e.vScale,e),e.stack!==n.stack&&(r=!0,O(e),e.stack=n.stack),this._resyncElements(t),(r||i!==e._stacked)&&k(this,e._parsed)}configure(){const t=this.chart.config,e=t.datasetScopeKeys(this._type),n=t.getOptionScopes(this.getDataset(),e,!0);this.options=t.createResolver(n,this.getContext()),this._parsing=this.options.parsing,this._cachedDataOpts={}}parse(t,e){const{_cachedMeta:n,_data:i}=this,{iScale:o,_stacked:s}=n,a=o.axis;let l,c,u,h=0===t&&e===i.length||n._sorted,d=t>0&&n._parsed[t-1];if(!1===this._parsing)n._parsed=i,n._sorted=!0,u=i;else{u=(0,r.b)(i[t])?this.parseArrayData(n,i,t,e):(0,r.i)(i[t])?this.parseObjectData(n,i,t,e):this.parsePrimitiveData(n,i,t,e);const o=()=>null===c[a]||d&&c[a]<d[a];for(l=0;l<e;++l)n._parsed[l+t]=c=u[l],h&&(o()&&(h=!1),d=c);n._sorted=h}s&&k(this,u)}parsePrimitiveData(t,e,n,r){const{iScale:i,vScale:o}=t,s=i.axis,a=o.axis,l=i.getLabels(),c=i===o,u=new Array(r);let h,d,f;for(h=0,d=r;h<d;++h)f=h+n,u[h]={[s]:c||i.parse(l[f],f),[a]:o.parse(e[f],f)};return u}parseArrayData(t,e,n,r){const{xScale:i,yScale:o}=t,s=new Array(r);let a,l,c,u;for(a=0,l=r;a<l;++a)c=a+n,u=e[c],s[a]={x:i.parse(u[0],c),y:o.parse(u[1],c)};return s}parseObjectData(t,e,n,i){const{xScale:o,yScale:s}=t,{xAxisKey:a="x",yAxisKey:l="y"}=this._parsing,c=new Array(i);let u,h,d,f;for(u=0,h=i;u<h;++u)d=u+n,f=e[d],c[u]={x:o.parse((0,r.f)(f,a),d),y:s.parse((0,r.f)(f,l),d)};return c}getParsed(t){return this._cachedMeta._parsed[t]}getDataElement(t){return this._cachedMeta.data[t]}applyStack(t,e,n){const r=this.chart,i=this._cachedMeta,o=e[t.axis],s={keys:g(r,!0),values:e._stacks[t.axis]._visualValues};return m(s,o,i.index,{mode:n})}updateRangeFromParsed(t,e,n,r){const i=n[e.axis];let o=null===i?NaN:i;const s=r&&n._stacks[e.axis];r&&s&&(r.values=s,o=m(r,i,this._cachedMeta.index)),t.min=Math.min(t.min,o),t.max=Math.max(t.max,o)}getMinMax(t,e){const n=this._cachedMeta,i=n._parsed,o=n._sorted&&t===n.iScale,s=i.length,a=this._getOtherScale(t),l=P(e,n,this.chart),c={min:Number.POSITIVE_INFINITY,max:Number.NEGATIVE_INFINITY},{min:u,max:h}=_(a);let d,f;function p(){f=i[d];const e=f[a.axis];return!(0,r.g)(f[t.axis])||u>e||h<e}for(d=0;d<s;++d)if(!p()&&(this.updateRangeFromParsed(c,t,f,l),o))break;if(o)for(d=s-1;d>=0;--d)if(!p()){this.updateRangeFromParsed(c,t,f,l);break}return c}getAllParsedValues(t){const e=this._cachedMeta._parsed,n=[];let i,o,s;for(i=0,o=e.length;i<o;++i)s=e[i][t.axis],(0,r.g)(s)&&n.push(s);return n}getMaxOverflow(){return!1}getLabelAndValue(t){const e=this._cachedMeta,n=e.iScale,r=e.vScale,i=this.getParsed(t);return{label:n?""+n.getLabelForValue(i[n.axis]):"",value:r?""+r.getLabelForValue(i[r.axis]):""}}_update(t){const e=this._cachedMeta;this.update(t||"default"),e._clip=p((0,r.v)(this.options.clip,f(e.xScale,e.yScale,this.getMaxOverflow())))}update(t){}draw(){const t=this._ctx,e=this.chart,n=this._cachedMeta,r=n.data||[],i=e.chartArea,o=[],s=this._drawStart||0,a=this._drawCount||r.length-s,l=this.options.drawActiveElementsOnTop;let c;for(n.dataset&&n.dataset.draw(t,i,s,a),c=s;c<s+a;++c){const e=r[c];e.hidden||(e.active&&l?o.push(e):e.draw(t,i))}for(c=0;c<o.length;++c)o[c].draw(t,i)}getStyle(t,e){const n=e?"active":"default";return void 0===t&&this._cachedMeta.dataset?this.resolveDatasetElementOptions(n):this.resolveDataElementOptions(t||0,n)}getContext(t,e,n){const r=this.getDataset();let i;if(t>=0&&t<this._cachedMeta.data.length){const e=this._cachedMeta.data[t];i=e.$context||(e.$context=S(this.getContext(),t,e)),i.parsed=this.getParsed(t),i.raw=r.data[t],i.index=i.dataIndex=t}else i=this.$context||(this.$context=E(this.chart.getContext(),this.index)),i.dataset=r,i.index=i.datasetIndex=this.index;return i.active=!!e,i.mode=n,i}resolveDatasetElementOptions(t){return this._resolveElementOptions(this.datasetElementType.id,t)}resolveDataElementOptions(t,e){return this._resolveElementOptions(this.dataElementType.id,e,t)}_resolveElementOptions(t,e="default",n){const i="active"===e,o=this._cachedDataOpts,s=t+"-"+e,a=o[s],l=this.enableOptionSharing&&(0,r.h)(n);if(a)return C(a,l);const c=this.chart.config,u=c.datasetElementScopeKeys(this._type,t),h=i?[`${t}Hover`,"hover",t,""]:[t,""],d=c.getOptionScopes(this.getDataset(),u),f=Object.keys(r.d.elements[t]),p=()=>this.getContext(n,i,e),g=c.resolveNamedOptions(d,f,p,h);return g.$shared&&(g.$shared=l,o[s]=Object.freeze(C(g,l))),g}_resolveAnimations(t,e,n){const r=this.chart,i=this._cachedDataOpts,o=`animation-${e}`,s=i[o];if(s)return s;let a;if(!1!==r.options.animation){const r=this.chart.config,i=r.datasetAnimationScopeKeys(this._type,e),o=r.getOptionScopes(this.getDataset(),i);a=r.createResolver(o,this.getContext(t,n,e))}const l=new c(r,a&&a.animations);return a&&a._cacheable&&(i[o]=Object.freeze(l)),l}getSharedOptions(t){if(t.$shared)return this._sharedOptions||(this._sharedOptions=Object.assign({},t))}includeOptions(t,e){return!e||T(t)||this.chart._animationsDisabled}_getSharedOptions(t,e){const n=this.resolveDataElementOptions(t,e),r=this._sharedOptions,i=this.getSharedOptions(n),o=this.includeOptions(e,i)||i!==r;return this.updateSharedOptions(i,e,n),{sharedOptions:i,includeOptions:o}}updateElement(t,e,n,r){T(r)?Object.assign(t,n):this._resolveAnimations(e,r).update(t,n)}updateSharedOptions(t,e,n){t&&!T(e)&&this._resolveAnimations(void 0,e).update(t,n)}_setStyle(t,e,n,r){t.active=r;const i=this.getStyle(e,r);this._resolveAnimations(e,n,r).update(t,{options:!r&&this.getSharedOptions(i)||i})}removeHoverStyle(t,e,n){this._setStyle(t,n,"active",!1)}setHoverStyle(t,e,n){this._setStyle(t,n,"active",!0)}_removeDatasetHoverStyle(){const t=this._cachedMeta.dataset;t&&this._setStyle(t,void 0,"active",!1)}_setDatasetHoverStyle(){const t=this._cachedMeta.dataset;t&&this._setStyle(t,void 0,"active",!0)}_resyncElements(t){const e=this._data,n=this._cachedMeta.data;for(const[s,a,l]of this._syncList)this[s](a,l);this._syncList=[];const r=n.length,i=e.length,o=Math.min(i,r);o&&this.parse(0,o),i>r?this._insertElements(r,i-r,t):i<r&&this._removeElements(i,r-i)}_insertElements(t,e,n=!0){const r=this._cachedMeta,i=r.data,o=t+e;let s;const a=t=>{for(t.length+=e,s=t.length-1;s>=o;s--)t[s]=t[s-e]};for(a(i),s=t;s<o;++s)i[s]=new this.dataElementType;this._parsing&&a(r._parsed),this.parse(t,e),n&&this.updateElements(i,t,e,"reset")}updateElements(t,e,n,r){}_removeElements(t,e){const n=this._cachedMeta;if(this._parsing){const r=n._parsed.splice(t,e);n._stacked&&O(n,r)}n.data.splice(t,e)}_sync(t){if(this._parsing)this._syncList.push(t);else{const[e,n,r]=t;this[e](n,r)}this.chart._dataChanges.push([this.index,...t])}_onDataPush(){const t=arguments.length;this._sync(["_insertElements",this.getDataset().data.length-t,t])}_onDataPop(){this._sync(["_removeElements",this._cachedMeta.data.length-1,1])}_onDataShift(){this._sync(["_removeElements",0,1])}_onDataSplice(t,e){e&&this._sync(["_removeElements",t,e]);const n=arguments.length-2;n&&this._sync(["_insertElements",t,n])}_onDataUnshift(){this._sync(["_insertElements",0,arguments.length])}}function D(t,e){if(!t._cache.$bar){const n=t.getMatchingVisibleMetas(e);let i=[];for(let e=0,r=n.length;e<r;e++)i=i.concat(n[e].controller.getAllParsedValues(t));t._cache.$bar=(0,r._)(i.sort(((t,e)=>t-e)))}return t._cache.$bar}function L(t){const e=t.iScale,n=D(e,t.type);let i,o,s,a,l=e._length;const c=()=>{32767!==s&&-32768!==s&&((0,r.h)(a)&&(l=Math.min(l,Math.abs(s-a)||l)),a=s)};for(i=0,o=n.length;i<o;++i)s=e.getPixelForValue(n[i]),c();for(a=void 0,i=0,o=e.ticks.length;i<o;++i)s=e.getPixelForTick(i),c();return l}function I(t,e,n,i){const o=n.barThickness;let s,a;return(0,r.k)(o)?(s=e.min*n.categoryPercentage,a=n.barPercentage):(s=o*i,a=1),{chunk:s/i,ratio:a,start:e.pixels[t]-s/2}}function N(t,e,n,r){const i=e.pixels,o=i[t];let s=t>0?i[t-1]:null,a=t<i.length-1?i[t+1]:null;const l=n.categoryPercentage;null===s&&(s=o-(null===a?e.end-e.start:a-o)),null===a&&(a=o+o-s);const c=o-(o-Math.min(s,a))/2*l,u=Math.abs(a-s)/2*l;return{chunk:u/r,ratio:n.barPercentage,start:c}}function j(t,e,n,r){const i=n.parse(t[0],r),o=n.parse(t[1],r),s=Math.min(i,o),a=Math.max(i,o);let l=s,c=a;Math.abs(s)>Math.abs(a)&&(l=a,c=s),e[n.axis]=c,e._custom={barStart:l,barEnd:c,start:i,end:o,min:s,max:a}}function F(t,e,n,i){return(0,r.b)(t)?j(t,e,n,i):e[n.axis]=n.parse(t,i),e}function R(t,e,n,r){const i=t.iScale,o=t.vScale,s=i.getLabels(),a=i===o,l=[];let c,u,h,d;for(c=n,u=n+r;c<u;++c)d=e[c],h={},h[i.axis]=a||i.parse(s[c],c),l.push(F(d,h,o,c));return l}function W(t){return t&&void 0!==t.barStart&&void 0!==t.barEnd}function z(t,e,n){return 0!==t?(0,r.s)(t):(e.isHorizontal()?1:-1)*(e.min>=n?1:-1)}function U(t){let e,n,r,i,o;return t.horizontal?(e=t.base>t.x,n="left",r="right"):(e=t.base<t.y,n="bottom",r="top"),e?(i="end",o="start"):(i="start",o="end"),{start:n,end:r,reverse:e,top:i,bottom:o}}function H(t,e,n,r){let i=e.borderSkipped;const o={};if(!i)return void(t.borderSkipped=o);if(!0===i)return void(t.borderSkipped={top:!0,right:!0,bottom:!0,left:!0});const{start:s,end:a,reverse:l,top:c,bottom:u}=U(t);"middle"===i&&n&&(t.enableBorderRadius=!0,(n._top||0)===r?i=c:(n._bottom||0)===r?i=u:(o[B(u,s,a,l)]=!0,i=c)),o[B(i,s,a,l)]=!0,t.borderSkipped=o}function B(t,e,n,r){return r?(t=V(t,e,n),t=$(t,n,e)):t=$(t,e,n),t}function V(t,e,n){return t===e?n:t===n?e:t}function $(t,e,n){return"start"===t?e:"end"===t?n:t}function Z(t,{inflateAmount:e},n){t.inflateAmount="auto"===e?1===n?.33:0:e}class Y extends A{static id="bar";static defaults={datasetElementType:!1,dataElementType:"bar",categoryPercentage:.8,barPercentage:.9,grouped:!0,animations:{numbers:{type:"number",properties:["x","y","base","width","height"]}}};static overrides={scales:{_index_:{type:"category",offset:!0,grid:{offset:!0}},_value_:{type:"linear",beginAtZero:!0}}};parsePrimitiveData(t,e,n,r){return R(t,e,n,r)}parseArrayData(t,e,n,r){return R(t,e,n,r)}parseObjectData(t,e,n,i){const{iScale:o,vScale:s}=t,{xAxisKey:a="x",yAxisKey:l="y"}=this._parsing,c="x"===o.axis?a:l,u="x"===s.axis?a:l,h=[];let d,f,p,g;for(d=n,f=n+i;d<f;++d)g=e[d],p={},p[o.axis]=o.parse((0,r.f)(g,c),d),h.push(F((0,r.f)(g,u),p,s,d));return h}updateRangeFromParsed(t,e,n,r){super.updateRangeFromParsed(t,e,n,r);const i=n._custom;i&&e===this._cachedMeta.vScale&&(t.min=Math.min(t.min,i.min),t.max=Math.max(t.max,i.max))}getMaxOverflow(){return 0}getLabelAndValue(t){const e=this._cachedMeta,{iScale:n,vScale:r}=e,i=this.getParsed(t),o=i._custom,s=W(o)?"["+o.start+", "+o.end+"]":""+r.getLabelForValue(i[r.axis]);return{label:""+n.getLabelForValue(i[n.axis]),value:s}}initialize(){this.enableOptionSharing=!0,super.initialize();const t=this._cachedMeta;t.stack=this.getDataset().stack}update(t){const e=this._cachedMeta;this.updateElements(e.data,0,e.data.length,t)}updateElements(t,e,n,i){const o="reset"===i,{index:s,_cachedMeta:{vScale:a}}=this,l=a.getBasePixel(),c=a.isHorizontal(),u=this._getRuler(),{sharedOptions:h,includeOptions:d}=this._getSharedOptions(e,i);for(let f=e;f<e+n;f++){const e=this.getParsed(f),n=o||(0,r.k)(e[a.axis])?{base:l,head:l}:this._calculateBarValuePixels(f),p=this._calculateBarIndexPixels(f,u),g=(e._stacks||{})[a.axis],m={horizontal:c,base:n.base,enableBorderRadius:!g||W(e._custom)||s===g._top||s===g._bottom,x:c?n.head:p.center,y:c?p.center:n.head,height:c?p.size:Math.abs(n.size),width:c?Math.abs(n.size):p.size};d&&(m.options=h||this.resolveDataElementOptions(f,t[f].active?"active":i));const b=m.options||t[f].options;H(m,b,g,s),Z(m,b,u.ratio),this.updateElement(t[f],f,m,i)}}_getStacks(t,e){const{iScale:n}=this._cachedMeta,i=n.getMatchingVisibleMetas(this._type).filter((t=>t.controller.options.grouped)),o=n.options.stacked,s=[],a=t=>{const n=t.controller.getParsed(e),i=n&&n[t.vScale.axis];if((0,r.k)(i)||isNaN(i))return!0};for(const r of i)if((void 0===e||!a(r))&&((!1===o||-1===s.indexOf(r.stack)||void 0===o&&void 0===r.stack)&&s.push(r.stack),r.index===t))break;return s.length||s.push(void 0),s}_getStackCount(t){return this._getStacks(void 0,t).length}_getStackIndex(t,e,n){const r=this._getStacks(t,n),i=void 0!==e?r.indexOf(e):-1;return-1===i?r.length-1:i}_getRuler(){const t=this.options,e=this._cachedMeta,n=e.iScale,r=[];let i,o;for(i=0,o=e.data.length;i<o;++i)r.push(n.getPixelForValue(this.getParsed(i)[n.axis],i));const s=t.barThickness,a=s||L(e);return{min:a,pixels:r,start:n._startPixel,end:n._endPixel,stackCount:this._getStackCount(),scale:n,grouped:t.grouped,ratio:s?1:t.categoryPercentage*t.barPercentage}}_calculateBarValuePixels(t){const{_cachedMeta:{vScale:e,_stacked:n,index:i},options:{base:o,minBarLength:s}}=this,a=o||0,l=this.getParsed(t),c=l._custom,u=W(c);let h,d,f=l[e.axis],p=0,g=n?this.applyStack(e,l,n):f;g!==f&&(p=g-f,g=f),u&&(f=c.barStart,g=c.barEnd-c.barStart,0!==f&&(0,r.s)(f)!==(0,r.s)(c.barEnd)&&(p=0),p+=f);const m=(0,r.k)(o)||u?p:o;let b=e.getPixelForValue(m);if(h=this.chart.getDataVisibility(t)?e.getPixelForValue(p+g):b,d=h-b,Math.abs(d)<s){d=z(d,e,a)*s,f===a&&(b-=d/2);const t=e.getPixelForDecimal(0),r=e.getPixelForDecimal(1),o=Math.min(t,r),c=Math.max(t,r);b=Math.max(Math.min(b,c),o),h=b+d,n&&!u&&(l._stacks[e.axis]._visualValues[i]=e.getValueForPixel(h)-e.getValueForPixel(b))}if(b===e.getPixelForValue(a)){const t=(0,r.s)(d)*e.getLineWidthForValue(a)/2;b+=t,d-=t}return{size:d,base:b,head:h,center:h+d/2}}_calculateBarIndexPixels(t,e){const n=e.scale,i=this.options,o=i.skipNull,s=(0,r.v)(i.maxBarThickness,1/0);let a,l;if(e.grouped){const n=o?this._getStackCount(t):e.stackCount,r="flex"===i.barThickness?N(t,e,i,n):I(t,e,i,n),c=this._getStackIndex(this.index,this._cachedMeta.stack,o?t:void 0);a=r.start+r.chunk*c+r.chunk/2,l=Math.min(s,r.chunk*r.ratio)}else a=n.getPixelForValue(this.getParsed(t)[n.axis],t),l=Math.min(s,e.min*e.ratio);return{base:a-l/2,head:a+l/2,center:a,size:l}}draw(){const t=this._cachedMeta,e=t.vScale,n=t.data,r=n.length;let i=0;for(;i<r;++i)null!==this.getParsed(i)[e.axis]&&n[i].draw(this._ctx)}}class q extends A{static id="line";static defaults={datasetElementType:"line",dataElementType:"point",showLine:!0,spanGaps:!1};static overrides={scales:{_index_:{type:"category"},_value_:{type:"linear"}}};initialize(){this.enableOptionSharing=!0,this.supportsDecimation=!0,super.initialize()}update(t){const e=this._cachedMeta,{dataset:n,data:i=[],_dataset:o}=e,s=this.chart._animationsDisabled;let{start:a,count:l}=(0,r.q)(e,i,s);this._drawStart=a,this._drawCount=l,(0,r.w)(e)&&(a=0,l=i.length),n._chart=this.chart,n._datasetIndex=this.index,n._decimated=!!o._decimated,n.points=i;const c=this.resolveDatasetElementOptions(t);this.options.showLine||(c.borderWidth=0),c.segment=this.options.segment,this.updateElement(n,void 0,{animated:!s,options:c},t),this.updateElements(i,a,l,t)}updateElements(t,e,n,i){const o="reset"===i,{iScale:s,vScale:a,_stacked:l,_dataset:c}=this._cachedMeta,{sharedOptions:u,includeOptions:h}=this._getSharedOptions(e,i),d=s.axis,f=a.axis,{spanGaps:p,segment:g}=this.options,m=(0,r.x)(p)?p:Number.POSITIVE_INFINITY,b=this.chart._animationsDisabled||o||"none"===i,v=e+n,y=t.length;let _=e>0&&this.getParsed(e-1);for(let x=0;x<y;++x){const n=t[x],p=b?n:{};if(x<e||x>=v){p.skip=!0;continue}const y=this.getParsed(x),w=(0,r.k)(y[f]),k=p[d]=s.getPixelForValue(y[d],x),M=p[f]=o||w?a.getBasePixel():a.getPixelForValue(l?this.applyStack(a,y,l):y[f],x);p.skip=isNaN(k)||isNaN(M)||w,p.stop=x>0&&Math.abs(y[d]-_[d])>m,g&&(p.parsed=y,p.raw=c.data[x]),h&&(p.options=u||this.resolveDataElementOptions(x,n.active?"active":i)),b||this.updateElement(n,x,p,i),_=y}}getMaxOverflow(){const t=this._cachedMeta,e=t.dataset,n=e.options&&e.options.borderWidth||0,r=t.data||[];if(!r.length)return n;const i=r[0].size(this.resolveDataElementOptions(0)),o=r[r.length-1].size(this.resolveDataElementOptions(r.length-1));return Math.max(n,i,o)/2}draw(){const t=this._cachedMeta;t.dataset.updateControlPoints(this.chart.chartArea,t.iScale.axis),super.draw()}}function X(){throw new Error("This method is not implemented: Check that a complete date adapter is provided.")}class G{static override(t){Object.assign(G.prototype,t)}constructor(t){this.options=t||{}}init(){}formats(){return X()}parse(){return X()}format(){return X()}add(){return X()}diff(){return X()}startOf(){return X()}endOf(){return X()}}var J={_date:G};function K(t,e,n,i){const{controller:o,data:s,_sorted:a}=t,l=o._cachedMeta.iScale;if(l&&e===l.axis&&"r"!==e&&a&&s.length){const t=l._reversePixels?r.A:r.B;if(!i)return t(s,e,n);if(o._sharedOptions){const r=s[0],i="function"===typeof r.getRange&&r.getRange(e);if(i){const r=t(s,e,n-i),o=t(s,e,n+i);return{lo:r.lo,hi:o.hi}}}}return{lo:0,hi:s.length-1}}function Q(t,e,n,r,i){const o=t.getSortedVisibleDatasetMetas(),s=n[e];for(let a=0,l=o.length;a<l;++a){const{index:t,data:n}=o[a],{lo:l,hi:c}=K(o[a],e,s,i);for(let e=l;e<=c;++e){const i=n[e];i.skip||r(i,t,e)}}}function tt(t){const e=-1!==t.indexOf("x"),n=-1!==t.indexOf("y");return function(t,r){const i=e?Math.abs(t.x-r.x):0,o=n?Math.abs(t.y-r.y):0;return Math.sqrt(Math.pow(i,2)+Math.pow(o,2))}}function et(t,e,n,i,o){const s=[];if(!o&&!t.isPointInArea(e))return s;const a=function(n,a,l){(o||(0,r.C)(n,t.chartArea,0))&&n.inRange(e.x,e.y,i)&&s.push({element:n,datasetIndex:a,index:l})};return Q(t,n,e,a,!0),s}function nt(t,e,n,i){let o=[];function s(t,n,s){const{startAngle:a,endAngle:l}=t.getProps(["startAngle","endAngle"],i),{angle:c}=(0,r.D)(t,{x:e.x,y:e.y});(0,r.p)(c,a,l)&&o.push({element:t,datasetIndex:n,index:s})}return Q(t,n,e,s),o}function rt(t,e,n,r,i,o){let s=[];const a=tt(n);let l=Number.POSITIVE_INFINITY;function c(n,c,u){const h=n.inRange(e.x,e.y,i);if(r&&!h)return;const d=n.getCenterPoint(i),f=!!o||t.isPointInArea(d);if(!f&&!h)return;const p=a(e,d);p<l?(s=[{element:n,datasetIndex:c,index:u}],l=p):p===l&&s.push({element:n,datasetIndex:c,index:u})}return Q(t,n,e,c),s}function it(t,e,n,r,i,o){return o||t.isPointInArea(e)?"r"!==n||r?rt(t,e,n,r,i,o):nt(t,e,n,i):[]}function ot(t,e,n,r,i){const o=[],s="x"===n?"inXRange":"inYRange";let a=!1;return Q(t,n,e,((t,r,l)=>{t[s](e[n],i)&&(o.push({element:t,datasetIndex:r,index:l}),a=a||t.inRange(e.x,e.y,i))})),r&&!a?[]:o}var st={evaluateInteractionItems:Q,modes:{index(t,e,n,i){const o=(0,r.z)(e,t),s=n.axis||"x",a=n.includeInvisible||!1,l=n.intersect?et(t,o,s,i,a):it(t,o,s,!1,i,a),c=[];return l.length?(t.getSortedVisibleDatasetMetas().forEach((t=>{const e=l[0].index,n=t.data[e];n&&!n.skip&&c.push({element:n,datasetIndex:t.index,index:e})})),c):[]},dataset(t,e,n,i){const o=(0,r.z)(e,t),s=n.axis||"xy",a=n.includeInvisible||!1;let l=n.intersect?et(t,o,s,i,a):it(t,o,s,!1,i,a);if(l.length>0){const e=l[0].datasetIndex,n=t.getDatasetMeta(e).data;l=[];for(let t=0;t<n.length;++t)l.push({element:n[t],datasetIndex:e,index:t})}return l},point(t,e,n,i){const o=(0,r.z)(e,t),s=n.axis||"xy",a=n.includeInvisible||!1;return et(t,o,s,i,a)},nearest(t,e,n,i){const o=(0,r.z)(e,t),s=n.axis||"xy",a=n.includeInvisible||!1;return it(t,o,s,n.intersect,i,a)},x(t,e,n,i){const o=(0,r.z)(e,t);return ot(t,o,"x",n.intersect,i)},y(t,e,n,i){const o=(0,r.z)(e,t);return ot(t,o,"y",n.intersect,i)}}};const at=["left","top","right","bottom"];function lt(t,e){return t.filter((t=>t.pos===e))}function ct(t,e){return t.filter((t=>-1===at.indexOf(t.pos)&&t.box.axis===e))}function ut(t,e){return t.sort(((t,n)=>{const r=e?n:t,i=e?t:n;return r.weight===i.weight?r.index-i.index:r.weight-i.weight}))}function ht(t){const e=[];let n,r,i,o,s,a;for(n=0,r=(t||[]).length;n<r;++n)i=t[n],({position:o,options:{stack:s,stackWeight:a=1}}=i),e.push({index:n,box:i,pos:o,horizontal:i.isHorizontal(),weight:i.weight,stack:s&&o+s,stackWeight:a});return e}function dt(t){const e={};for(const n of t){const{stack:t,pos:r,stackWeight:i}=n;if(!t||!at.includes(r))continue;const o=e[t]||(e[t]={count:0,placed:0,weight:0,size:0});o.count++,o.weight+=i}return e}function ft(t,e){const n=dt(t),{vBoxMaxWidth:r,hBoxMaxHeight:i}=e;let o,s,a;for(o=0,s=t.length;o<s;++o){a=t[o];const{fullSize:s}=a.box,l=n[a.stack],c=l&&a.stackWeight/l.weight;a.horizontal?(a.width=c?c*r:s&&e.availableWidth,a.height=i):(a.width=r,a.height=c?c*i:s&&e.availableHeight)}return n}function pt(t){const e=ht(t),n=ut(e.filter((t=>t.box.fullSize)),!0),r=ut(lt(e,"left"),!0),i=ut(lt(e,"right")),o=ut(lt(e,"top"),!0),s=ut(lt(e,"bottom")),a=ct(e,"x"),l=ct(e,"y");return{fullSize:n,leftAndTop:r.concat(o),rightAndBottom:i.concat(l).concat(s).concat(a),chartArea:lt(e,"chartArea"),vertical:r.concat(i).concat(l),horizontal:o.concat(s).concat(a)}}function gt(t,e,n,r){return Math.max(t[n],e[n])+Math.max(t[r],e[r])}function mt(t,e){t.top=Math.max(t.top,e.top),t.left=Math.max(t.left,e.left),t.bottom=Math.max(t.bottom,e.bottom),t.right=Math.max(t.right,e.right)}function bt(t,e,n,i){const{pos:o,box:s}=n,a=t.maxPadding;if(!(0,r.i)(o)){n.size&&(t[o]-=n.size);const e=i[n.stack]||{size:0,count:1};e.size=Math.max(e.size,n.horizontal?s.height:s.width),n.size=e.size/e.count,t[o]+=n.size}s.getPadding&&mt(a,s.getPadding());const l=Math.max(0,e.outerWidth-gt(a,t,"left","right")),c=Math.max(0,e.outerHeight-gt(a,t,"top","bottom")),u=l!==t.w,h=c!==t.h;return t.w=l,t.h=c,n.horizontal?{same:u,other:h}:{same:h,other:u}}function vt(t){const e=t.maxPadding;function n(n){const r=Math.max(e[n]-t[n],0);return t[n]+=r,r}t.y+=n("top"),t.x+=n("left"),n("right"),n("bottom")}function yt(t,e){const n=e.maxPadding;function r(t){const r={left:0,top:0,right:0,bottom:0};return t.forEach((t=>{r[t]=Math.max(e[t],n[t])})),r}return r(t?["left","right"]:["top","bottom"])}function _t(t,e,n,r){const i=[];let o,s,a,l,c,u;for(o=0,s=t.length,c=0;o<s;++o){a=t[o],l=a.box,l.update(a.width||e.w,a.height||e.h,yt(a.horizontal,e));const{same:s,other:h}=bt(e,n,a,r);c|=s&&i.length,u=u||h,l.fullSize||i.push(a)}return c&&_t(i,e,n,r)||u}function xt(t,e,n,r,i){t.top=n,t.left=e,t.right=e+r,t.bottom=n+i,t.width=r,t.height=i}function wt(t,e,n,i){const o=n.padding;let{x:s,y:a}=e;for(const l of t){const t=l.box,c=i[l.stack]||{count:1,placed:0,weight:1},u=l.stackWeight/c.weight||1;if(l.horizontal){const i=e.w*u,s=c.size||t.height;(0,r.h)(c.start)&&(a=c.start),t.fullSize?xt(t,o.left,a,n.outerWidth-o.right-o.left,s):xt(t,e.left+c.placed,a,i,s),c.start=a,c.placed+=i,a=t.bottom}else{const i=e.h*u,a=c.size||t.width;(0,r.h)(c.start)&&(s=c.start),t.fullSize?xt(t,s,o.top,a,n.outerHeight-o.bottom-o.top):xt(t,s,e.top+c.placed,a,i),c.start=s,c.placed+=i,s=t.right}}e.x=s,e.y=a}var kt={addBox(t,e){t.boxes||(t.boxes=[]),e.fullSize=e.fullSize||!1,e.position=e.position||"top",e.weight=e.weight||0,e._layers=e._layers||function(){return[{z:0,draw(t){e.draw(t)}}]},t.boxes.push(e)},removeBox(t,e){const n=t.boxes?t.boxes.indexOf(e):-1;-1!==n&&t.boxes.splice(n,1)},configure(t,e,n){e.fullSize=n.fullSize,e.position=n.position,e.weight=n.weight},update(t,e,n,i){if(!t)return;const o=(0,r.E)(t.options.layout.padding),s=Math.max(e-o.width,0),a=Math.max(n-o.height,0),l=pt(t.boxes),c=l.vertical,u=l.horizontal;(0,r.F)(t.boxes,(t=>{"function"===typeof t.beforeLayout&&t.beforeLayout()}));const h=c.reduce(((t,e)=>e.box.options&&!1===e.box.options.display?t:t+1),0)||1,d=Object.freeze({outerWidth:e,outerHeight:n,padding:o,availableWidth:s,availableHeight:a,vBoxMaxWidth:s/2/h,hBoxMaxHeight:a/2}),f=Object.assign({},o);mt(f,(0,r.E)(i));const p=Object.assign({maxPadding:f,w:s,h:a,x:o.left,y:o.top},o),g=ft(c.concat(u),d);_t(l.fullSize,p,d,g),_t(c,p,d,g),_t(u,p,d,g)&&_t(c,p,d,g),vt(p),wt(l.leftAndTop,p,d,g),p.x+=p.w,p.y+=p.h,wt(l.rightAndBottom,p,d,g),t.chartArea={left:p.left,top:p.top,right:p.left+p.w,bottom:p.top+p.h,height:p.h,width:p.w},(0,r.F)(l.chartArea,(e=>{const n=e.box;Object.assign(n,t.chartArea),n.update(p.w,p.h,{left:0,top:0,right:0,bottom:0})}))}};class Mt{acquireContext(t,e){}releaseContext(t){return!1}addEventListener(t,e,n){}removeEventListener(t,e,n){}getDevicePixelRatio(){return 1}getMaximumSize(t,e,n,r){return e=Math.max(0,e||t.width),n=n||t.height,{width:e,height:Math.max(0,r?Math.floor(e/r):n)}}isAttached(t){return!0}updateConfig(t){}}class Et extends Mt{acquireContext(t){return t&&t.getContext&&t.getContext("2d")||null}updateConfig(t){t.options.animation=!1}}const St="$chartjs",Ot={touchstart:"mousedown",touchmove:"mousemove",touchend:"mouseup",pointerenter:"mouseenter",pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointerleave:"mouseout",pointerout:"mouseout"},Tt=t=>null===t||""===t;function Ct(t,e){const n=t.style,i=t.getAttribute("height"),o=t.getAttribute("width");if(t[St]={initial:{height:i,width:o,style:{display:n.display,height:n.height,width:n.width}}},n.display=n.display||"block",n.boxSizing=n.boxSizing||"border-box",Tt(o)){const e=(0,r.J)(t,"width");void 0!==e&&(t.width=e)}if(Tt(i))if(""===t.style.height)t.height=t.width/(e||2);else{const e=(0,r.J)(t,"height");void 0!==e&&(t.height=e)}return t}const Pt=!!r.K&&{passive:!0};function At(t,e,n){t.addEventListener(e,n,Pt)}function Dt(t,e,n){t.canvas.removeEventListener(e,n,Pt)}function Lt(t,e){const n=Ot[t.type]||t.type,{x:i,y:o}=(0,r.z)(t,e);return{type:n,chart:e,native:t,x:void 0!==i?i:null,y:void 0!==o?o:null}}function It(t,e){for(const n of t)if(n===e||n.contains(e))return!0}function Nt(t,e,n){const r=t.canvas,i=new MutationObserver((t=>{let e=!1;for(const n of t)e=e||It(n.addedNodes,r),e=e&&!It(n.removedNodes,r);e&&n()}));return i.observe(document,{childList:!0,subtree:!0}),i}function jt(t,e,n){const r=t.canvas,i=new MutationObserver((t=>{let e=!1;for(const n of t)e=e||It(n.removedNodes,r),e=e&&!It(n.addedNodes,r);e&&n()}));return i.observe(document,{childList:!0,subtree:!0}),i}const Ft=new Map;let Rt=0;function Wt(){const t=window.devicePixelRatio;t!==Rt&&(Rt=t,Ft.forEach(((e,n)=>{n.currentDevicePixelRatio!==t&&e()})))}function zt(t,e){Ft.size||window.addEventListener("resize",Wt),Ft.set(t,e)}function Ut(t){Ft.delete(t),Ft.size||window.removeEventListener("resize",Wt)}function Ht(t,e,n){const i=t.canvas,o=i&&(0,r.I)(i);if(!o)return;const s=(0,r.L)(((t,e)=>{const r=o.clientWidth;n(t,e),r<o.clientWidth&&n()}),window),a=new ResizeObserver((t=>{const e=t[0],n=e.contentRect.width,r=e.contentRect.height;0===n&&0===r||s(n,r)}));return a.observe(o),zt(t,s),a}function Bt(t,e,n){n&&n.disconnect(),"resize"===e&&Ut(t)}function Vt(t,e,n){const i=t.canvas,o=(0,r.L)((e=>{null!==t.ctx&&n(Lt(e,t))}),t);return At(i,e,o),o}class $t extends Mt{acquireContext(t,e){const n=t&&t.getContext&&t.getContext("2d");return n&&n.canvas===t?(Ct(t,e),n):null}releaseContext(t){const e=t.canvas;if(!e[St])return!1;const n=e[St].initial;["height","width"].forEach((t=>{const i=n[t];(0,r.k)(i)?e.removeAttribute(t):e.setAttribute(t,i)}));const i=n.style||{};return Object.keys(i).forEach((t=>{e.style[t]=i[t]})),e.width=e.width,delete e[St],!0}addEventListener(t,e,n){this.removeEventListener(t,e);const r=t.$proxies||(t.$proxies={}),i={attach:Nt,detach:jt,resize:Ht},o=i[e]||Vt;r[e]=o(t,e,n)}removeEventListener(t,e){const n=t.$proxies||(t.$proxies={}),r=n[e];if(!r)return;const i={attach:Bt,detach:Bt,resize:Bt},o=i[e]||Dt;o(t,e,r),n[e]=void 0}getDevicePixelRatio(){return window.devicePixelRatio}getMaximumSize(t,e,n,i){return(0,r.G)(t,e,n,i)}isAttached(t){const e=(0,r.I)(t);return!(!e||!e.isConnected)}}function Zt(t){return!(0,r.M)()||"undefined"!==typeof OffscreenCanvas&&t instanceof OffscreenCanvas?Et:$t}class Yt{static defaults={};static defaultRoutes=void 0;active=!1;tooltipPosition(t){const{x:e,y:n}=this.getProps(["x","y"],t);return{x:e,y:n}}hasValue(){return(0,r.x)(this.x)&&(0,r.x)(this.y)}getProps(t,e){const n=this.$animations;if(!e||!n)return this;const r={};return t.forEach((t=>{r[t]=n[t]&&n[t].active()?n[t]._to:this[t]})),r}}function qt(t,e){const n=t.options.ticks,i=Xt(t),o=Math.min(n.maxTicksLimit||i,i),s=n.major.enabled?Jt(e):[],a=s.length,l=s[0],c=s[a-1],u=[];if(a>o)return Kt(e,u,s,a/o),u;const h=Gt(s,e,o);if(a>0){let t,n;const i=a>1?Math.round((c-l)/(a-1)):null;for(Qt(e,u,h,(0,r.k)(i)?0:l-i,l),t=0,n=a-1;t<n;t++)Qt(e,u,h,s[t],s[t+1]);return Qt(e,u,h,c,(0,r.k)(i)?e.length:c+i),u}return Qt(e,u,h),u}function Xt(t){const e=t.options.offset,n=t._tickSize(),r=t._length/n+(e?0:1),i=t._maxLength/n;return Math.floor(Math.min(r,i))}function Gt(t,e,n){const i=te(t),o=e.length/n;if(!i)return Math.max(o,1);const s=(0,r.N)(i);for(let r=0,a=s.length-1;r<a;r++){const t=s[r];if(t>o)return t}return Math.max(o,1)}function Jt(t){const e=[];let n,r;for(n=0,r=t.length;n<r;n++)t[n].major&&e.push(n);return e}function Kt(t,e,n,r){let i,o=0,s=n[0];for(r=Math.ceil(r),i=0;i<t.length;i++)i===s&&(e.push(t[i]),o++,s=n[o*r])}function Qt(t,e,n,i,o){const s=(0,r.v)(i,0),a=Math.min((0,r.v)(o,t.length),t.length);let l,c,u,h=0;n=Math.ceil(n),o&&(l=o-i,n=l/Math.floor(l/n)),u=s;while(u<0)h++,u=Math.round(s+h*n);for(c=Math.max(s,0);c<a;c++)c===u&&(e.push(t[c]),h++,u=Math.round(s+h*n))}function te(t){const e=t.length;let n,r;if(e<2)return!1;for(r=t[0],n=1;n<e;++n)if(t[n]-t[n-1]!==r)return!1;return r}const ee=t=>"left"===t?"right":"right"===t?"left":t,ne=(t,e,n)=>"top"===e||"left"===e?t[e]+n:t[e]-n,re=(t,e)=>Math.min(e||t,t);function ie(t,e){const n=[],r=t.length/e,i=t.length;let o=0;for(;o<i;o+=r)n.push(t[Math.floor(o)]);return n}function oe(t,e,n){const r=t.ticks.length,i=Math.min(e,r-1),o=t._startPixel,s=t._endPixel,a=1e-6;let l,c=t.getPixelForTick(i);if(!(n&&(l=1===r?Math.max(c-o,s-c):0===e?(t.getPixelForTick(1)-c)/2:(c-t.getPixelForTick(i-1))/2,c+=i<e?l:-l,c<o-a||c>s+a)))return c}function se(t,e){(0,r.F)(t,(t=>{const n=t.gc,r=n.length/2;let i;if(r>e){for(i=0;i<r;++i)delete t.data[n[i]];n.splice(0,r)}}))}function ae(t){return t.drawTicks?t.tickLength:0}function le(t,e){if(!t.display)return 0;const n=(0,r.a0)(t.font,e),i=(0,r.E)(t.padding),o=(0,r.b)(t.text)?t.text.length:1;return o*n.lineHeight+i.height}function ce(t,e){return(0,r.j)(t,{scale:e,type:"scale"})}function ue(t,e,n){return(0,r.j)(t,{tick:n,index:e,type:"tick"})}function he(t,e,n){let i=(0,r.a1)(t);return(n&&"right"!==e||!n&&"right"===e)&&(i=ee(i)),i}function de(t,e,n,i){const{top:o,left:s,bottom:a,right:l,chart:c}=t,{chartArea:u,scales:h}=c;let d,f,p,g=0;const m=a-o,b=l-s;if(t.isHorizontal()){if(f=(0,r.a2)(i,s,l),(0,r.i)(n)){const t=Object.keys(n)[0],r=n[t];p=h[t].getPixelForValue(r)+m-e}else p="center"===n?(u.bottom+u.top)/2+m-e:ne(t,n,e);d=l-s}else{if((0,r.i)(n)){const t=Object.keys(n)[0],r=n[t];f=h[t].getPixelForValue(r)-b+e}else f="center"===n?(u.left+u.right)/2-b+e:ne(t,n,e);p=(0,r.a2)(i,a,o),g="left"===n?-r.H:r.H}return{titleX:f,titleY:p,maxWidth:d,rotation:g}}class fe extends Yt{constructor(t){super(),this.id=t.id,this.type=t.type,this.options=void 0,this.ctx=t.ctx,this.chart=t.chart,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.width=void 0,this.height=void 0,this._margins={left:0,right:0,top:0,bottom:0},this.maxWidth=void 0,this.maxHeight=void 0,this.paddingTop=void 0,this.paddingBottom=void 0,this.paddingLeft=void 0,this.paddingRight=void 0,this.axis=void 0,this.labelRotation=void 0,this.min=void 0,this.max=void 0,this._range=void 0,this.ticks=[],this._gridLineItems=null,this._labelItems=null,this._labelSizes=null,this._length=0,this._maxLength=0,this._longestTextCache={},this._startPixel=void 0,this._endPixel=void 0,this._reversePixels=!1,this._userMax=void 0,this._userMin=void 0,this._suggestedMax=void 0,this._suggestedMin=void 0,this._ticksLength=0,this._borderValue=0,this._cache={},this._dataLimitsCached=!1,this.$context=void 0}init(t){this.options=t.setContext(this.getContext()),this.axis=t.axis,this._userMin=this.parse(t.min),this._userMax=this.parse(t.max),this._suggestedMin=this.parse(t.suggestedMin),this._suggestedMax=this.parse(t.suggestedMax)}parse(t,e){return t}getUserBounds(){let{_userMin:t,_userMax:e,_suggestedMin:n,_suggestedMax:i}=this;return t=(0,r.O)(t,Number.POSITIVE_INFINITY),e=(0,r.O)(e,Number.NEGATIVE_INFINITY),n=(0,r.O)(n,Number.POSITIVE_INFINITY),i=(0,r.O)(i,Number.NEGATIVE_INFINITY),{min:(0,r.O)(t,n),max:(0,r.O)(e,i),minDefined:(0,r.g)(t),maxDefined:(0,r.g)(e)}}getMinMax(t){let e,{min:n,max:i,minDefined:o,maxDefined:s}=this.getUserBounds();if(o&&s)return{min:n,max:i};const a=this.getMatchingVisibleMetas();for(let r=0,l=a.length;r<l;++r)e=a[r].controller.getMinMax(this,t),o||(n=Math.min(n,e.min)),s||(i=Math.max(i,e.max));return n=s&&n>i?i:n,i=o&&n>i?n:i,{min:(0,r.O)(n,(0,r.O)(i,n)),max:(0,r.O)(i,(0,r.O)(n,i))}}getPadding(){return{left:this.paddingLeft||0,top:this.paddingTop||0,right:this.paddingRight||0,bottom:this.paddingBottom||0}}getTicks(){return this.ticks}getLabels(){const t=this.chart.data;return this.options.labels||(this.isHorizontal()?t.xLabels:t.yLabels)||t.labels||[]}getLabelItems(t=this.chart.chartArea){const e=this._labelItems||(this._labelItems=this._computeLabelItems(t));return e}beforeLayout(){this._cache={},this._dataLimitsCached=!1}beforeUpdate(){(0,r.Q)(this.options.beforeUpdate,[this])}update(t,e,n){const{beginAtZero:i,grace:o,ticks:s}=this.options,a=s.sampleSize;this.beforeUpdate(),this.maxWidth=t,this.maxHeight=e,this._margins=n=Object.assign({left:0,right:0,top:0,bottom:0},n),this.ticks=null,this._labelSizes=null,this._gridLineItems=null,this._labelItems=null,this.beforeSetDimensions(),this.setDimensions(),this.afterSetDimensions(),this._maxLength=this.isHorizontal()?this.width+n.left+n.right:this.height+n.top+n.bottom,this._dataLimitsCached||(this.beforeDataLimits(),this.determineDataLimits(),this.afterDataLimits(),this._range=(0,r.R)(this,o,i),this._dataLimitsCached=!0),this.beforeBuildTicks(),this.ticks=this.buildTicks()||[],this.afterBuildTicks();const l=a<this.ticks.length;this._convertTicksToLabels(l?ie(this.ticks,a):this.ticks),this.configure(),this.beforeCalculateLabelRotation(),this.calculateLabelRotation(),this.afterCalculateLabelRotation(),s.display&&(s.autoSkip||"auto"===s.source)&&(this.ticks=qt(this,this.ticks),this._labelSizes=null,this.afterAutoSkip()),l&&this._convertTicksToLabels(this.ticks),this.beforeFit(),this.fit(),this.afterFit(),this.afterUpdate()}configure(){let t,e,n=this.options.reverse;this.isHorizontal()?(t=this.left,e=this.right):(t=this.top,e=this.bottom,n=!n),this._startPixel=t,this._endPixel=e,this._reversePixels=n,this._length=e-t,this._alignToPixels=this.options.alignToPixels}afterUpdate(){(0,r.Q)(this.options.afterUpdate,[this])}beforeSetDimensions(){(0,r.Q)(this.options.beforeSetDimensions,[this])}setDimensions(){this.isHorizontal()?(this.width=this.maxWidth,this.left=0,this.right=this.width):(this.height=this.maxHeight,this.top=0,this.bottom=this.height),this.paddingLeft=0,this.paddingTop=0,this.paddingRight=0,this.paddingBottom=0}afterSetDimensions(){(0,r.Q)(this.options.afterSetDimensions,[this])}_callHooks(t){this.chart.notifyPlugins(t,this.getContext()),(0,r.Q)(this.options[t],[this])}beforeDataLimits(){this._callHooks("beforeDataLimits")}determineDataLimits(){}afterDataLimits(){this._callHooks("afterDataLimits")}beforeBuildTicks(){this._callHooks("beforeBuildTicks")}buildTicks(){return[]}afterBuildTicks(){this._callHooks("afterBuildTicks")}beforeTickToLabelConversion(){(0,r.Q)(this.options.beforeTickToLabelConversion,[this])}generateTickLabels(t){const e=this.options.ticks;let n,i,o;for(n=0,i=t.length;n<i;n++)o=t[n],o.label=(0,r.Q)(e.callback,[o.value,n,t],this)}afterTickToLabelConversion(){(0,r.Q)(this.options.afterTickToLabelConversion,[this])}beforeCalculateLabelRotation(){(0,r.Q)(this.options.beforeCalculateLabelRotation,[this])}calculateLabelRotation(){const t=this.options,e=t.ticks,n=re(this.ticks.length,t.ticks.maxTicksLimit),i=e.minRotation||0,o=e.maxRotation;let s,a,l,c=i;if(!this._isVisible()||!e.display||i>=o||n<=1||!this.isHorizontal())return void(this.labelRotation=i);const u=this._getLabelSizes(),h=u.widest.width,d=u.highest.height,f=(0,r.S)(this.chart.width-h,0,this.maxWidth);s=t.offset?this.maxWidth/n:f/(n-1),h+6>s&&(s=f/(n-(t.offset?.5:1)),a=this.maxHeight-ae(t.grid)-e.padding-le(t.title,this.chart.options.font),l=Math.sqrt(h*h+d*d),c=(0,r.U)(Math.min(Math.asin((0,r.S)((u.highest.height+6)/s,-1,1)),Math.asin((0,r.S)(a/l,-1,1))-Math.asin((0,r.S)(d/l,-1,1)))),c=Math.max(i,Math.min(o,c))),this.labelRotation=c}afterCalculateLabelRotation(){(0,r.Q)(this.options.afterCalculateLabelRotation,[this])}afterAutoSkip(){}beforeFit(){(0,r.Q)(this.options.beforeFit,[this])}fit(){const t={width:0,height:0},{chart:e,options:{ticks:n,title:i,grid:o}}=this,s=this._isVisible(),a=this.isHorizontal();if(s){const s=le(i,e.options.font);if(a?(t.width=this.maxWidth,t.height=ae(o)+s):(t.height=this.maxHeight,t.width=ae(o)+s),n.display&&this.ticks.length){const{first:e,last:i,widest:o,highest:s}=this._getLabelSizes(),l=2*n.padding,c=(0,r.t)(this.labelRotation),u=Math.cos(c),h=Math.sin(c);if(a){const e=n.mirror?0:h*o.width+u*s.height;t.height=Math.min(this.maxHeight,t.height+e+l)}else{const e=n.mirror?0:u*o.width+h*s.height;t.width=Math.min(this.maxWidth,t.width+e+l)}this._calculatePadding(e,i,h,u)}}this._handleMargins(),a?(this.width=this._length=e.width-this._margins.left-this._margins.right,this.height=t.height):(this.width=t.width,this.height=this._length=e.height-this._margins.top-this._margins.bottom)}_calculatePadding(t,e,n,r){const{ticks:{align:i,padding:o},position:s}=this.options,a=0!==this.labelRotation,l="top"!==s&&"x"===this.axis;if(this.isHorizontal()){const s=this.getPixelForTick(0)-this.left,c=this.right-this.getPixelForTick(this.ticks.length-1);let u=0,h=0;a?l?(u=r*t.width,h=n*e.height):(u=n*t.height,h=r*e.width):"start"===i?h=e.width:"end"===i?u=t.width:"inner"!==i&&(u=t.width/2,h=e.width/2),this.paddingLeft=Math.max((u-s+o)*this.width/(this.width-s),0),this.paddingRight=Math.max((h-c+o)*this.width/(this.width-c),0)}else{let n=e.height/2,r=t.height/2;"start"===i?(n=0,r=t.height):"end"===i&&(n=e.height,r=0),this.paddingTop=n+o,this.paddingBottom=r+o}}_handleMargins(){this._margins&&(this._margins.left=Math.max(this.paddingLeft,this._margins.left),this._margins.top=Math.max(this.paddingTop,this._margins.top),this._margins.right=Math.max(this.paddingRight,this._margins.right),this._margins.bottom=Math.max(this.paddingBottom,this._margins.bottom))}afterFit(){(0,r.Q)(this.options.afterFit,[this])}isHorizontal(){const{axis:t,position:e}=this.options;return"top"===e||"bottom"===e||"x"===t}isFullSize(){return this.options.fullSize}_convertTicksToLabels(t){let e,n;for(this.beforeTickToLabelConversion(),this.generateTickLabels(t),e=0,n=t.length;e<n;e++)(0,r.k)(t[e].label)&&(t.splice(e,1),n--,e--);this.afterTickToLabelConversion()}_getLabelSizes(){let t=this._labelSizes;if(!t){const e=this.options.ticks.sampleSize;let n=this.ticks;e<n.length&&(n=ie(n,e)),this._labelSizes=t=this._computeLabelSizes(n,n.length,this.options.ticks.maxTicksLimit)}return t}_computeLabelSizes(t,e,n){const{ctx:i,_longestTextCache:o}=this,s=[],a=[],l=Math.floor(e/re(e,n));let c,u,h,d,f,p,g,m,b,v,y,_=0,x=0;for(c=0;c<e;c+=l){if(d=t[c].label,f=this._resolveTickFontOptions(c),i.font=p=f.string,g=o[p]=o[p]||{data:{},gc:[]},m=f.lineHeight,b=v=0,(0,r.k)(d)||(0,r.b)(d)){if((0,r.b)(d))for(u=0,h=d.length;u<h;++u)y=d[u],(0,r.k)(y)||(0,r.b)(y)||(b=(0,r.V)(i,g.data,g.gc,b,y),v+=m)}else b=(0,r.V)(i,g.data,g.gc,b,d),v=m;s.push(b),a.push(v),_=Math.max(b,_),x=Math.max(v,x)}se(o,e);const w=s.indexOf(_),k=a.indexOf(x),M=t=>({width:s[t]||0,height:a[t]||0});return{first:M(0),last:M(e-1),widest:M(w),highest:M(k),widths:s,heights:a}}getLabelForValue(t){return t}getPixelForValue(t,e){return NaN}getValueForPixel(t){}getPixelForTick(t){const e=this.ticks;return t<0||t>e.length-1?null:this.getPixelForValue(e[t].value)}getPixelForDecimal(t){this._reversePixels&&(t=1-t);const e=this._startPixel+t*this._length;return(0,r.W)(this._alignToPixels?(0,r.X)(this.chart,e,0):e)}getDecimalForPixel(t){const e=(t-this._startPixel)/this._length;return this._reversePixels?1-e:e}getBasePixel(){return this.getPixelForValue(this.getBaseValue())}getBaseValue(){const{min:t,max:e}=this;return t<0&&e<0?e:t>0&&e>0?t:0}getContext(t){const e=this.ticks||[];if(t>=0&&t<e.length){const n=e[t];return n.$context||(n.$context=ue(this.getContext(),t,n))}return this.$context||(this.$context=ce(this.chart.getContext(),this))}_tickSize(){const t=this.options.ticks,e=(0,r.t)(this.labelRotation),n=Math.abs(Math.cos(e)),i=Math.abs(Math.sin(e)),o=this._getLabelSizes(),s=t.autoSkipPadding||0,a=o?o.widest.width+s:0,l=o?o.highest.height+s:0;return this.isHorizontal()?l*n>a*i?a/n:l/i:l*i<a*n?l/n:a/i}_isVisible(){const t=this.options.display;return"auto"!==t?!!t:this.getMatchingVisibleMetas().length>0}_computeGridLineItems(t){const e=this.axis,n=this.chart,i=this.options,{grid:o,position:s,border:a}=i,l=o.offset,c=this.isHorizontal(),u=this.ticks,h=u.length+(l?1:0),d=ae(o),f=[],p=a.setContext(this.getContext()),g=p.display?p.width:0,m=g/2,b=function(t){return(0,r.X)(n,t,g)};let v,y,_,x,w,k,M,E,S,O,T,C;if("top"===s)v=b(this.bottom),k=this.bottom-d,E=v-m,O=b(t.top)+m,C=t.bottom;else if("bottom"===s)v=b(this.top),O=t.top,C=b(t.bottom)-m,k=v+m,E=this.top+d;else if("left"===s)v=b(this.right),w=this.right-d,M=v-m,S=b(t.left)+m,T=t.right;else if("right"===s)v=b(this.left),S=t.left,T=b(t.right)-m,w=v+m,M=this.left+d;else if("x"===e){if("center"===s)v=b((t.top+t.bottom)/2+.5);else if((0,r.i)(s)){const t=Object.keys(s)[0],e=s[t];v=b(this.chart.scales[t].getPixelForValue(e))}O=t.top,C=t.bottom,k=v+m,E=k+d}else if("y"===e){if("center"===s)v=b((t.left+t.right)/2);else if((0,r.i)(s)){const t=Object.keys(s)[0],e=s[t];v=b(this.chart.scales[t].getPixelForValue(e))}w=v-m,M=w-d,S=t.left,T=t.right}const P=(0,r.v)(i.ticks.maxTicksLimit,h),A=Math.max(1,Math.ceil(h/P));for(y=0;y<h;y+=A){const t=this.getContext(y),e=o.setContext(t),i=a.setContext(t),s=e.lineWidth,u=e.color,h=i.dash||[],d=i.dashOffset,p=e.tickWidth,g=e.tickColor,m=e.tickBorderDash||[],b=e.tickBorderDashOffset;_=oe(this,y,l),void 0!==_&&(x=(0,r.X)(n,_,s),c?w=M=S=T=x:k=E=O=C=x,f.push({tx1:w,ty1:k,tx2:M,ty2:E,x1:S,y1:O,x2:T,y2:C,width:s,color:u,borderDash:h,borderDashOffset:d,tickWidth:p,tickColor:g,tickBorderDash:m,tickBorderDashOffset:b}))}return this._ticksLength=h,this._borderValue=v,f}_computeLabelItems(t){const e=this.axis,n=this.options,{position:i,ticks:o}=n,s=this.isHorizontal(),a=this.ticks,{align:l,crossAlign:c,padding:u,mirror:h}=o,d=ae(n.grid),f=d+u,p=h?-u:f,g=-(0,r.t)(this.labelRotation),m=[];let b,v,y,_,x,w,k,M,E,S,O,T,C="middle";if("top"===i)w=this.bottom-p,k=this._getXAxisLabelAlignment();else if("bottom"===i)w=this.top+p,k=this._getXAxisLabelAlignment();else if("left"===i){const t=this._getYAxisLabelAlignment(d);k=t.textAlign,x=t.x}else if("right"===i){const t=this._getYAxisLabelAlignment(d);k=t.textAlign,x=t.x}else if("x"===e){if("center"===i)w=(t.top+t.bottom)/2+f;else if((0,r.i)(i)){const t=Object.keys(i)[0],e=i[t];w=this.chart.scales[t].getPixelForValue(e)+f}k=this._getXAxisLabelAlignment()}else if("y"===e){if("center"===i)x=(t.left+t.right)/2-f;else if((0,r.i)(i)){const t=Object.keys(i)[0],e=i[t];x=this.chart.scales[t].getPixelForValue(e)}k=this._getYAxisLabelAlignment(d).textAlign}"y"===e&&("start"===l?C="top":"end"===l&&(C="bottom"));const P=this._getLabelSizes();for(b=0,v=a.length;b<v;++b){y=a[b],_=y.label;const t=o.setContext(this.getContext(b));M=this.getPixelForTick(b)+o.labelOffset,E=this._resolveTickFontOptions(b),S=E.lineHeight,O=(0,r.b)(_)?_.length:1;const e=O/2,n=t.color,l=t.textStrokeColor,u=t.textStrokeWidth;let d,f=k;if(s?(x=M,"inner"===k&&(f=b===v-1?this.options.reverse?"left":"right":0===b?this.options.reverse?"right":"left":"center"),T="top"===i?"near"===c||0!==g?-O*S+S/2:"center"===c?-P.highest.height/2-e*S+S:-P.highest.height+S/2:"near"===c||0!==g?S/2:"center"===c?P.highest.height/2-e*S:P.highest.height-O*S,h&&(T*=-1),0===g||t.showLabelBackdrop||(x+=S/2*Math.sin(g))):(w=M,T=(1-O)*S/2),t.showLabelBackdrop){const e=(0,r.E)(t.backdropPadding),n=P.heights[b],i=P.widths[b];let o=T-e.top,s=0-e.left;switch(C){case"middle":o-=n/2;break;case"bottom":o-=n;break}switch(k){case"center":s-=i/2;break;case"right":s-=i;break}d={left:s,top:o,width:i+e.width,height:n+e.height,color:t.backdropColor}}m.push({label:_,font:E,textOffset:T,options:{rotation:g,color:n,strokeColor:l,strokeWidth:u,textAlign:f,textBaseline:C,translation:[x,w],backdrop:d}})}return m}_getXAxisLabelAlignment(){const{position:t,ticks:e}=this.options,n=-(0,r.t)(this.labelRotation);if(n)return"top"===t?"left":"right";let i="center";return"start"===e.align?i="left":"end"===e.align?i="right":"inner"===e.align&&(i="inner"),i}_getYAxisLabelAlignment(t){const{position:e,ticks:{crossAlign:n,mirror:r,padding:i}}=this.options,o=this._getLabelSizes(),s=t+i,a=o.widest.width;let l,c;return"left"===e?r?(c=this.right+i,"near"===n?l="left":"center"===n?(l="center",c+=a/2):(l="right",c+=a)):(c=this.right-s,"near"===n?l="right":"center"===n?(l="center",c-=a/2):(l="left",c=this.left)):"right"===e?r?(c=this.left+i,"near"===n?l="right":"center"===n?(l="center",c-=a/2):(l="left",c-=a)):(c=this.left+s,"near"===n?l="left":"center"===n?(l="center",c+=a/2):(l="right",c=this.right)):l="right",{textAlign:l,x:c}}_computeLabelArea(){if(this.options.ticks.mirror)return;const t=this.chart,e=this.options.position;return"left"===e||"right"===e?{top:0,left:this.left,bottom:t.height,right:this.right}:"top"===e||"bottom"===e?{top:this.top,left:0,bottom:this.bottom,right:t.width}:void 0}drawBackground(){const{ctx:t,options:{backgroundColor:e},left:n,top:r,width:i,height:o}=this;e&&(t.save(),t.fillStyle=e,t.fillRect(n,r,i,o),t.restore())}getLineWidthForValue(t){const e=this.options.grid;if(!this._isVisible()||!e.display)return 0;const n=this.ticks,r=n.findIndex((e=>e.value===t));if(r>=0){const t=e.setContext(this.getContext(r));return t.lineWidth}return 0}drawGrid(t){const e=this.options.grid,n=this.ctx,r=this._gridLineItems||(this._gridLineItems=this._computeGridLineItems(t));let i,o;const s=(t,e,r)=>{r.width&&r.color&&(n.save(),n.lineWidth=r.width,n.strokeStyle=r.color,n.setLineDash(r.borderDash||[]),n.lineDashOffset=r.borderDashOffset,n.beginPath(),n.moveTo(t.x,t.y),n.lineTo(e.x,e.y),n.stroke(),n.restore())};if(e.display)for(i=0,o=r.length;i<o;++i){const t=r[i];e.drawOnChartArea&&s({x:t.x1,y:t.y1},{x:t.x2,y:t.y2},t),e.drawTicks&&s({x:t.tx1,y:t.ty1},{x:t.tx2,y:t.ty2},{color:t.tickColor,width:t.tickWidth,borderDash:t.tickBorderDash,borderDashOffset:t.tickBorderDashOffset})}}drawBorder(){const{chart:t,ctx:e,options:{border:n,grid:i}}=this,o=n.setContext(this.getContext()),s=n.display?o.width:0;if(!s)return;const a=i.setContext(this.getContext(0)).lineWidth,l=this._borderValue;let c,u,h,d;this.isHorizontal()?(c=(0,r.X)(t,this.left,s)-s/2,u=(0,r.X)(t,this.right,a)+a/2,h=d=l):(h=(0,r.X)(t,this.top,s)-s/2,d=(0,r.X)(t,this.bottom,a)+a/2,c=u=l),e.save(),e.lineWidth=o.width,e.strokeStyle=o.color,e.beginPath(),e.moveTo(c,h),e.lineTo(u,d),e.stroke(),e.restore()}drawLabels(t){const e=this.options.ticks;if(!e.display)return;const n=this.ctx,i=this._computeLabelArea();i&&(0,r.Y)(n,i);const o=this.getLabelItems(t);for(const s of o){const t=s.options,e=s.font,i=s.label,o=s.textOffset;(0,r.Z)(n,i,0,o,e,t)}i&&(0,r.$)(n)}drawTitle(){const{ctx:t,options:{position:e,title:n,reverse:i}}=this;if(!n.display)return;const o=(0,r.a0)(n.font),s=(0,r.E)(n.padding),a=n.align;let l=o.lineHeight/2;"bottom"===e||"center"===e||(0,r.i)(e)?(l+=s.bottom,(0,r.b)(n.text)&&(l+=o.lineHeight*(n.text.length-1))):l+=s.top;const{titleX:c,titleY:u,maxWidth:h,rotation:d}=de(this,l,e,a);(0,r.Z)(t,n.text,0,0,o,{color:n.color,maxWidth:h,rotation:d,textAlign:he(a,e,i),textBaseline:"middle",translation:[c,u]})}draw(t){this._isVisible()&&(this.drawBackground(),this.drawGrid(t),this.drawBorder(),this.drawTitle(),this.drawLabels(t))}_layers(){const t=this.options,e=t.ticks&&t.ticks.z||0,n=(0,r.v)(t.grid&&t.grid.z,-1),i=(0,r.v)(t.border&&t.border.z,0);return this._isVisible()&&this.draw===fe.prototype.draw?[{z:n,draw:t=>{this.drawBackground(),this.drawGrid(t),this.drawTitle()}},{z:i,draw:()=>{this.drawBorder()}},{z:e,draw:t=>{this.drawLabels(t)}}]:[{z:e,draw:t=>{this.draw(t)}}]}getMatchingVisibleMetas(t){const e=this.chart.getSortedVisibleDatasetMetas(),n=this.axis+"AxisID",r=[];let i,o;for(i=0,o=e.length;i<o;++i){const o=e[i];o[n]!==this.id||t&&o.type!==t||r.push(o)}return r}_resolveTickFontOptions(t){const e=this.options.ticks.setContext(this.getContext(t));return(0,r.a0)(e.font)}_maxDigits(){const t=this._resolveTickFontOptions(0).lineHeight;return(this.isHorizontal()?this.width:this.height)/t}}class pe{constructor(t,e,n){this.type=t,this.scope=e,this.override=n,this.items=Object.create(null)}isForType(t){return Object.prototype.isPrototypeOf.call(this.type.prototype,t.prototype)}register(t){const e=Object.getPrototypeOf(t);let n;be(e)&&(n=this.register(e));const i=this.items,o=t.id,s=this.scope+"."+o;if(!o)throw new Error("class does not have id: "+t);return o in i||(i[o]=t,ge(t,s,n),this.override&&r.d.override(t.id,t.overrides)),s}get(t){return this.items[t]}unregister(t){const e=this.items,n=t.id,i=this.scope;n in e&&delete e[n],i&&n in r.d[i]&&(delete r.d[i][n],this.override&&delete r.a3[n])}}function ge(t,e,n){const i=(0,r.a4)(Object.create(null),[n?r.d.get(n):{},r.d.get(e),t.defaults]);r.d.set(e,i),t.defaultRoutes&&me(e,t.defaultRoutes),t.descriptors&&r.d.describe(e,t.descriptors)}function me(t,e){Object.keys(e).forEach((n=>{const i=n.split("."),o=i.pop(),s=[t].concat(i).join("."),a=e[n].split("."),l=a.pop(),c=a.join(".");r.d.route(s,o,c,l)}))}function be(t){return"id"in t&&"defaults"in t}class ve{constructor(){this.controllers=new pe(A,"datasets",!0),this.elements=new pe(Yt,"elements"),this.plugins=new pe(Object,"plugins"),this.scales=new pe(fe,"scales"),this._typedRegistries=[this.controllers,this.scales,this.elements]}add(...t){this._each("register",t)}remove(...t){this._each("unregister",t)}addControllers(...t){this._each("register",t,this.controllers)}addElements(...t){this._each("register",t,this.elements)}addPlugins(...t){this._each("register",t,this.plugins)}addScales(...t){this._each("register",t,this.scales)}getController(t){return this._get(t,this.controllers,"controller")}getElement(t){return this._get(t,this.elements,"element")}getPlugin(t){return this._get(t,this.plugins,"plugin")}getScale(t){return this._get(t,this.scales,"scale")}removeControllers(...t){this._each("unregister",t,this.controllers)}removeElements(...t){this._each("unregister",t,this.elements)}removePlugins(...t){this._each("unregister",t,this.plugins)}removeScales(...t){this._each("unregister",t,this.scales)}_each(t,e,n){[...e].forEach((e=>{const i=n||this._getRegistryForType(e);n||i.isForType(e)||i===this.plugins&&e.id?this._exec(t,i,e):(0,r.F)(e,(e=>{const r=n||this._getRegistryForType(e);this._exec(t,r,e)}))}))}_exec(t,e,n){const i=(0,r.a5)(t);(0,r.Q)(n["before"+i],[],n),e[t](n),(0,r.Q)(n["after"+i],[],n)}_getRegistryForType(t){for(let e=0;e<this._typedRegistries.length;e++){const n=this._typedRegistries[e];if(n.isForType(t))return n}return this.plugins}_get(t,e,n){const r=e.get(t);if(void 0===r)throw new Error('"'+t+'" is not a registered '+n+".");return r}}var ye=new ve;class _e{constructor(){this._init=[]}notify(t,e,n,r){"beforeInit"===e&&(this._init=this._createDescriptors(t,!0),this._notify(this._init,t,"install"));const i=r?this._descriptors(t).filter(r):this._descriptors(t),o=this._notify(i,t,e,n);return"afterDestroy"===e&&(this._notify(i,t,"stop"),this._notify(this._init,t,"uninstall")),o}_notify(t,e,n,i){i=i||{};for(const o of t){const t=o.plugin,s=t[n],a=[e,i,o.options];if(!1===(0,r.Q)(s,a,t)&&i.cancelable)return!1}return!0}invalidate(){(0,r.k)(this._cache)||(this._oldCache=this._cache,this._cache=void 0)}_descriptors(t){if(this._cache)return this._cache;const e=this._cache=this._createDescriptors(t);return this._notifyStateChanges(t),e}_createDescriptors(t,e){const n=t&&t.config,i=(0,r.v)(n.options&&n.options.plugins,{}),o=xe(n);return!1!==i||e?ke(t,o,i,e):[]}_notifyStateChanges(t){const e=this._oldCache||[],n=this._cache,r=(t,e)=>t.filter((t=>!e.some((e=>t.plugin.id===e.plugin.id))));this._notify(r(e,n),t,"stop"),this._notify(r(n,e),t,"start")}}function xe(t){const e={},n=[],r=Object.keys(ye.plugins.items);for(let o=0;o<r.length;o++)n.push(ye.getPlugin(r[o]));const i=t.plugins||[];for(let o=0;o<i.length;o++){const t=i[o];-1===n.indexOf(t)&&(n.push(t),e[t.id]=!0)}return{plugins:n,localIds:e}}function we(t,e){return e||!1!==t?!0===t?{}:t:null}function ke(t,{plugins:e,localIds:n},r,i){const o=[],s=t.getContext();for(const a of e){const e=a.id,l=we(r[e],i);null!==l&&o.push({plugin:a,options:Me(t.config,{plugin:a,local:n[e]},l,s)})}return o}function Me(t,{plugin:e,local:n},r,i){const o=t.pluginScopeKeys(e),s=t.getOptionScopes(r,o);return n&&e.defaults&&s.push(e.defaults),t.createResolver(s,i,[""],{scriptable:!1,indexable:!1,allKeys:!0})}function Ee(t,e){const n=r.d.datasets[t]||{},i=(e.datasets||{})[t]||{};return i.indexAxis||e.indexAxis||n.indexAxis||"x"}function Se(t,e){let n=t;return"_index_"===t?n=e:"_value_"===t&&(n="x"===e?"y":"x"),n}function Oe(t,e){return t===e?"_index_":"_value_"}function Te(t){return"top"===t||"bottom"===t?"x":"left"===t||"right"===t?"y":void 0}function Ce(t,e){if("x"===t||"y"===t||"r"===t)return t;if(t=e.axis||Te(e.position)||t.length>1&&Ce(t[0].toLowerCase(),e),t)return t;throw new Error(`Cannot determine type of '${name}' axis. Please provide 'axis' or 'position' option.`)}function Pe(t,e){const n=r.a3[t.type]||{scales:{}},i=e.scales||{},o=Ee(t.type,e),s=Object.create(null);return Object.keys(i).forEach((t=>{const e=i[t];if(!(0,r.i)(e))return console.error(`Invalid scale configuration for scale: ${t}`);if(e._proxy)return console.warn(`Ignoring resolver passed as options for scale: ${t}`);const a=Ce(t,e),l=Oe(a,o),c=n.scales||{};s[t]=(0,r.ab)(Object.create(null),[{axis:a},e,c[a],c[l]])})),t.data.datasets.forEach((n=>{const o=n.type||t.type,a=n.indexAxis||Ee(o,e),l=r.a3[o]||{},c=l.scales||{};Object.keys(c).forEach((t=>{const e=Se(t,a),o=n[e+"AxisID"]||e;s[o]=s[o]||Object.create(null),(0,r.ab)(s[o],[{axis:e},i[o],c[t]])}))})),Object.keys(s).forEach((t=>{const e=s[t];(0,r.ab)(e,[r.d.scales[e.type],r.d.scale])})),s}function Ae(t){const e=t.options||(t.options={});e.plugins=(0,r.v)(e.plugins,{}),e.scales=Pe(t,e)}function De(t){return t=t||{},t.datasets=t.datasets||[],t.labels=t.labels||[],t}function Le(t){return t=t||{},t.data=De(t.data),Ae(t),t}const Ie=new Map,Ne=new Set;function je(t,e){let n=Ie.get(t);return n||(n=e(),Ie.set(t,n),Ne.add(n)),n}const Fe=(t,e,n)=>{const i=(0,r.f)(e,n);void 0!==i&&t.add(i)};class Re{constructor(t){this._config=Le(t),this._scopeCache=new Map,this._resolverCache=new Map}get platform(){return this._config.platform}get type(){return this._config.type}set type(t){this._config.type=t}get data(){return this._config.data}set data(t){this._config.data=De(t)}get options(){return this._config.options}set options(t){this._config.options=t}get plugins(){return this._config.plugins}update(){const t=this._config;this.clearCache(),Ae(t)}clearCache(){this._scopeCache.clear(),this._resolverCache.clear()}datasetScopeKeys(t){return je(t,(()=>[[`datasets.${t}`,""]]))}datasetAnimationScopeKeys(t,e){return je(`${t}.transition.${e}`,(()=>[[`datasets.${t}.transitions.${e}`,`transitions.${e}`],[`datasets.${t}`,""]]))}datasetElementScopeKeys(t,e){return je(`${t}-${e}`,(()=>[[`datasets.${t}.elements.${e}`,`datasets.${t}`,`elements.${e}`,""]]))}pluginScopeKeys(t){const e=t.id,n=this.type;return je(`${n}-plugin-${e}`,(()=>[[`plugins.${e}`,...t.additionalOptionScopes||[]]]))}_cachedScopes(t,e){const n=this._scopeCache;let r=n.get(t);return r&&!e||(r=new Map,n.set(t,r)),r}getOptionScopes(t,e,n){const{options:i,type:o}=this,s=this._cachedScopes(t,n),a=s.get(e);if(a)return a;const l=new Set;e.forEach((e=>{t&&(l.add(t),e.forEach((e=>Fe(l,t,e)))),e.forEach((t=>Fe(l,i,t))),e.forEach((t=>Fe(l,r.a3[o]||{},t))),e.forEach((t=>Fe(l,r.d,t))),e.forEach((t=>Fe(l,r.a6,t)))}));const c=Array.from(l);return 0===c.length&&c.push(Object.create(null)),Ne.has(e)&&s.set(e,c),c}chartOptionScopes(){const{options:t,type:e}=this;return[t,r.a3[e]||{},r.d.datasets[e]||{},{type:e},r.d,r.a6]}resolveNamedOptions(t,e,n,i=[""]){const o={$shared:!0},{resolver:s,subPrefixes:a}=We(this._resolverCache,t,i);let l=s;if(Ue(s,e)){o.$shared=!1,n=(0,r.a7)(n)?n():n;const e=this.createResolver(t,n,a);l=(0,r.a8)(s,n,e)}for(const r of e)o[r]=l[r];return o}createResolver(t,e,n=[""],i){const{resolver:o}=We(this._resolverCache,t,n);return(0,r.i)(e)?(0,r.a8)(o,e,void 0,i):o}}function We(t,e,n){let i=t.get(e);i||(i=new Map,t.set(e,i));const o=n.join();let s=i.get(o);if(!s){const t=(0,r.a9)(e,n);s={resolver:t,subPrefixes:n.filter((t=>!t.toLowerCase().includes("hover")))},i.set(o,s)}return s}const ze=t=>(0,r.i)(t)&&Object.getOwnPropertyNames(t).reduce(((e,n)=>e||(0,r.a7)(t[n])),!1);function Ue(t,e){const{isScriptable:n,isIndexable:i}=(0,r.aa)(t);for(const o of e){const e=n(o),s=i(o),a=(s||e)&&t[o];if(e&&((0,r.a7)(a)||ze(a))||s&&(0,r.b)(a))return!0}return!1}var He="4.2.1";const Be=["top","bottom","left","right","chartArea"];function Ve(t,e){return"top"===t||"bottom"===t||-1===Be.indexOf(t)&&"x"===e}function $e(t,e){return function(n,r){return n[t]===r[t]?n[e]-r[e]:n[t]-r[t]}}function Ze(t){const e=t.chart,n=e.options.animation;e.notifyPlugins("afterRender"),(0,r.Q)(n&&n.onComplete,[t],e)}function Ye(t){const e=t.chart,n=e.options.animation;(0,r.Q)(n&&n.onProgress,[t],e)}function qe(t){return(0,r.M)()&&"string"===typeof t?t=document.getElementById(t):t&&t.length&&(t=t[0]),t&&t.canvas&&(t=t.canvas),t}const Xe={},Ge=t=>{const e=qe(t);return Object.values(Xe).filter((t=>t.canvas===e)).pop()};function Je(t,e,n){const r=Object.keys(t);for(const i of r){const r=+i;if(r>=e){const o=t[i];delete t[i],(n>0||r>e)&&(t[r+n]=o)}}}function Ke(t,e,n,r){return n&&"mouseout"!==t.type?r?e:t:null}function Qe(t){const{xScale:e,yScale:n}=t;if(e&&n)return{left:e.left,right:e.right,top:n.top,bottom:n.bottom}}class tn{static defaults=r.d;static instances=Xe;static overrides=r.a3;static registry=ye;static version=He;static getChart=Ge;static register(...t){ye.add(...t),en()}static unregister(...t){ye.remove(...t),en()}constructor(t,e){const n=this.config=new Re(e),i=qe(t),s=Ge(i);if(s)throw new Error("Canvas is already in use. Chart with ID '"+s.id+"' must be destroyed before the canvas with ID '"+s.canvas.id+"' can be reused.");const a=n.createResolver(n.chartOptionScopes(),this.getContext());this.platform=new(n.platform||Zt(i)),this.platform.updateConfig(n);const l=this.platform.acquireContext(i,a.aspectRatio),c=l&&l.canvas,u=c&&c.height,h=c&&c.width;this.id=(0,r.ac)(),this.ctx=l,this.canvas=c,this.width=h,this.height=u,this._options=a,this._aspectRatio=this.aspectRatio,this._layers=[],this._metasets=[],this._stacks=void 0,this.boxes=[],this.currentDevicePixelRatio=void 0,this.chartArea=void 0,this._active=[],this._lastEvent=void 0,this._listeners={},this._responsiveListeners=void 0,this._sortedMetasets=[],this.scales={},this._plugins=new _e,this.$proxies={},this._hiddenIndices={},this.attached=!1,this._animationsDisabled=void 0,this.$context=void 0,this._doResize=(0,r.ad)((t=>this.update(t)),a.resizeDelay||0),this._dataChanges=[],Xe[this.id]=this,l&&c?(o.listen(this,"complete",Ze),o.listen(this,"progress",Ye),this._initialize(),this.attached&&this.update()):console.error("Failed to create chart: can't acquire context from the given item")}get aspectRatio(){const{options:{aspectRatio:t,maintainAspectRatio:e},width:n,height:i,_aspectRatio:o}=this;return(0,r.k)(t)?e&&o?o:i?n/i:null:t}get data(){return this.config.data}set data(t){this.config.data=t}get options(){return this._options}set options(t){this.config.options=t}get registry(){return ye}_initialize(){return this.notifyPlugins("beforeInit"),this.options.responsive?this.resize():(0,r.ae)(this,this.options.devicePixelRatio),this.bindEvents(),this.notifyPlugins("afterInit"),this}clear(){return(0,r.af)(this.canvas,this.ctx),this}stop(){return o.stop(this),this}resize(t,e){o.running(this)?this._resizeBeforeDraw={width:t,height:e}:this._resize(t,e)}_resize(t,e){const n=this.options,i=this.canvas,o=n.maintainAspectRatio&&this.aspectRatio,s=this.platform.getMaximumSize(i,t,e,o),a=n.devicePixelRatio||this.platform.getDevicePixelRatio(),l=this.width?"resize":"attach";this.width=s.width,this.height=s.height,this._aspectRatio=this.aspectRatio,(0,r.ae)(this,a,!0)&&(this.notifyPlugins("resize",{size:s}),(0,r.Q)(n.onResize,[this,s],this),this.attached&&this._doResize(l)&&this.render())}ensureScalesHaveIDs(){const t=this.options,e=t.scales||{};(0,r.F)(e,((t,e)=>{t.id=e}))}buildOrUpdateScales(){const t=this.options,e=t.scales,n=this.scales,i=Object.keys(n).reduce(((t,e)=>(t[e]=!1,t)),{});let o=[];e&&(o=o.concat(Object.keys(e).map((t=>{const n=e[t],r=Ce(t,n),i="r"===r,o="x"===r;return{options:n,dposition:i?"chartArea":o?"bottom":"left",dtype:i?"radialLinear":o?"category":"linear"}})))),(0,r.F)(o,(e=>{const o=e.options,s=o.id,a=Ce(s,o),l=(0,r.v)(o.type,e.dtype);void 0!==o.position&&Ve(o.position,a)===Ve(e.dposition)||(o.position=e.dposition),i[s]=!0;let c=null;if(s in n&&n[s].type===l)c=n[s];else{const t=ye.getScale(l);c=new t({id:s,type:l,ctx:this.ctx,chart:this}),n[c.id]=c}c.init(o,t)})),(0,r.F)(i,((t,e)=>{t||delete n[e]})),(0,r.F)(n,(t=>{kt.configure(this,t,t.options),kt.addBox(this,t)}))}_updateMetasets(){const t=this._metasets,e=this.data.datasets.length,n=t.length;if(t.sort(((t,e)=>t.index-e.index)),n>e){for(let t=e;t<n;++t)this._destroyDatasetMeta(t);t.splice(e,n-e)}this._sortedMetasets=t.slice(0).sort($e("order","index"))}_removeUnreferencedMetasets(){const{_metasets:t,data:{datasets:e}}=this;t.length>e.length&&delete this._stacks,t.forEach(((t,n)=>{0===e.filter((e=>e===t._dataset)).length&&this._destroyDatasetMeta(n)}))}buildOrUpdateControllers(){const t=[],e=this.data.datasets;let n,i;for(this._removeUnreferencedMetasets(),n=0,i=e.length;n<i;n++){const i=e[n];let o=this.getDatasetMeta(n);const s=i.type||this.config.type;if(o.type&&o.type!==s&&(this._destroyDatasetMeta(n),o=this.getDatasetMeta(n)),o.type=s,o.indexAxis=i.indexAxis||Ee(s,this.options),o.order=i.order||0,o.index=n,o.label=""+i.label,o.visible=this.isDatasetVisible(n),o.controller)o.controller.updateIndex(n),o.controller.linkScales();else{const e=ye.getController(s),{datasetElementType:i,dataElementType:a}=r.d.datasets[s];Object.assign(e,{dataElementType:ye.getElement(a),datasetElementType:i&&ye.getElement(i)}),o.controller=new e(this,n),t.push(o.controller)}}return this._updateMetasets(),t}_resetElements(){(0,r.F)(this.data.datasets,((t,e)=>{this.getDatasetMeta(e).controller.reset()}),this)}reset(){this._resetElements(),this.notifyPlugins("reset")}update(t){const e=this.config;e.update();const n=this._options=e.createResolver(e.chartOptionScopes(),this.getContext()),i=this._animationsDisabled=!n.animation;if(this._updateScales(),this._checkEventBindings(),this._updateHiddenIndices(),this._plugins.invalidate(),!1===this.notifyPlugins("beforeUpdate",{mode:t,cancelable:!0}))return;const o=this.buildOrUpdateControllers();this.notifyPlugins("beforeElementsUpdate");let s=0;for(let r=0,c=this.data.datasets.length;r<c;r++){const{controller:t}=this.getDatasetMeta(r),e=!i&&-1===o.indexOf(t);t.buildOrUpdateElements(e),s=Math.max(+t.getMaxOverflow(),s)}s=this._minPadding=n.layout.autoPadding?s:0,this._updateLayout(s),i||(0,r.F)(o,(t=>{t.reset()})),this._updateDatasets(t),this.notifyPlugins("afterUpdate",{mode:t}),this._layers.sort($e("z","_idx"));const{_active:a,_lastEvent:l}=this;l?this._eventHandler(l,!0):a.length&&this._updateHoverStyles(a,a,!0),this.render()}_updateScales(){(0,r.F)(this.scales,(t=>{kt.removeBox(this,t)})),this.ensureScalesHaveIDs(),this.buildOrUpdateScales()}_checkEventBindings(){const t=this.options,e=new Set(Object.keys(this._listeners)),n=new Set(t.events);(0,r.ag)(e,n)&&!!this._responsiveListeners===t.responsive||(this.unbindEvents(),this.bindEvents())}_updateHiddenIndices(){const{_hiddenIndices:t}=this,e=this._getUniformDataChanges()||[];for(const{method:n,start:r,count:i}of e){const e="_removeElements"===n?-i:i;Je(t,r,e)}}_getUniformDataChanges(){const t=this._dataChanges;if(!t||!t.length)return;this._dataChanges=[];const e=this.data.datasets.length,n=e=>new Set(t.filter((t=>t[0]===e)).map(((t,e)=>e+","+t.splice(1).join(",")))),i=n(0);for(let o=1;o<e;o++)if(!(0,r.ag)(i,n(o)))return;return Array.from(i).map((t=>t.split(","))).map((t=>({method:t[1],start:+t[2],count:+t[3]})))}_updateLayout(t){if(!1===this.notifyPlugins("beforeLayout",{cancelable:!0}))return;kt.update(this,this.width,this.height,t);const e=this.chartArea,n=e.width<=0||e.height<=0;this._layers=[],(0,r.F)(this.boxes,(t=>{n&&"chartArea"===t.position||(t.configure&&t.configure(),this._layers.push(...t._layers()))}),this),this._layers.forEach(((t,e)=>{t._idx=e})),this.notifyPlugins("afterLayout")}_updateDatasets(t){if(!1!==this.notifyPlugins("beforeDatasetsUpdate",{mode:t,cancelable:!0})){for(let t=0,e=this.data.datasets.length;t<e;++t)this.getDatasetMeta(t).controller.configure();for(let e=0,n=this.data.datasets.length;e<n;++e)this._updateDataset(e,(0,r.a7)(t)?t({datasetIndex:e}):t);this.notifyPlugins("afterDatasetsUpdate",{mode:t})}}_updateDataset(t,e){const n=this.getDatasetMeta(t),r={meta:n,index:t,mode:e,cancelable:!0};!1!==this.notifyPlugins("beforeDatasetUpdate",r)&&(n.controller._update(e),r.cancelable=!1,this.notifyPlugins("afterDatasetUpdate",r))}render(){!1!==this.notifyPlugins("beforeRender",{cancelable:!0})&&(o.has(this)?this.attached&&!o.running(this)&&o.start(this):(this.draw(),Ze({chart:this})))}draw(){let t;if(this._resizeBeforeDraw){const{width:t,height:e}=this._resizeBeforeDraw;this._resize(t,e),this._resizeBeforeDraw=null}if(this.clear(),this.width<=0||this.height<=0)return;if(!1===this.notifyPlugins("beforeDraw",{cancelable:!0}))return;const e=this._layers;for(t=0;t<e.length&&e[t].z<=0;++t)e[t].draw(this.chartArea);for(this._drawDatasets();t<e.length;++t)e[t].draw(this.chartArea);this.notifyPlugins("afterDraw")}_getSortedDatasetMetas(t){const e=this._sortedMetasets,n=[];let r,i;for(r=0,i=e.length;r<i;++r){const i=e[r];t&&!i.visible||n.push(i)}return n}getSortedVisibleDatasetMetas(){return this._getSortedDatasetMetas(!0)}_drawDatasets(){if(!1===this.notifyPlugins("beforeDatasetsDraw",{cancelable:!0}))return;const t=this.getSortedVisibleDatasetMetas();for(let e=t.length-1;e>=0;--e)this._drawDataset(t[e]);this.notifyPlugins("afterDatasetsDraw")}_drawDataset(t){const e=this.ctx,n=t._clip,i=!n.disabled,o=Qe(t)||this.chartArea,s={meta:t,index:t.index,cancelable:!0};!1!==this.notifyPlugins("beforeDatasetDraw",s)&&(i&&(0,r.Y)(e,{left:!1===n.left?0:o.left-n.left,right:!1===n.right?this.width:o.right+n.right,top:!1===n.top?0:o.top-n.top,bottom:!1===n.bottom?this.height:o.bottom+n.bottom}),t.controller.draw(),i&&(0,r.$)(e),s.cancelable=!1,this.notifyPlugins("afterDatasetDraw",s))}isPointInArea(t){return(0,r.C)(t,this.chartArea,this._minPadding)}getElementsAtEventForMode(t,e,n,r){const i=st.modes[e];return"function"===typeof i?i(this,t,n,r):[]}getDatasetMeta(t){const e=this.data.datasets[t],n=this._metasets;let r=n.filter((t=>t&&t._dataset===e)).pop();return r||(r={type:null,data:[],dataset:null,controller:null,hidden:null,xAxisID:null,yAxisID:null,order:e&&e.order||0,index:t,_dataset:e,_parsed:[],_sorted:!1},n.push(r)),r}getContext(){return this.$context||(this.$context=(0,r.j)(null,{chart:this,type:"chart"}))}getVisibleDatasetCount(){return this.getSortedVisibleDatasetMetas().length}isDatasetVisible(t){const e=this.data.datasets[t];if(!e)return!1;const n=this.getDatasetMeta(t);return"boolean"===typeof n.hidden?!n.hidden:!e.hidden}setDatasetVisibility(t,e){const n=this.getDatasetMeta(t);n.hidden=!e}toggleDataVisibility(t){this._hiddenIndices[t]=!this._hiddenIndices[t]}getDataVisibility(t){return!this._hiddenIndices[t]}_updateVisibility(t,e,n){const i=n?"show":"hide",o=this.getDatasetMeta(t),s=o.controller._resolveAnimations(void 0,i);(0,r.h)(e)?(o.data[e].hidden=!n,this.update()):(this.setDatasetVisibility(t,n),s.update(o,{visible:n}),this.update((e=>e.datasetIndex===t?i:void 0)))}hide(t,e){this._updateVisibility(t,e,!1)}show(t,e){this._updateVisibility(t,e,!0)}_destroyDatasetMeta(t){const e=this._metasets[t];e&&e.controller&&e.controller._destroy(),delete this._metasets[t]}_stop(){let t,e;for(this.stop(),o.remove(this),t=0,e=this.data.datasets.length;t<e;++t)this._destroyDatasetMeta(t)}destroy(){this.notifyPlugins("beforeDestroy");const{canvas:t,ctx:e}=this;this._stop(),this.config.clearCache(),t&&(this.unbindEvents(),(0,r.af)(t,e),this.platform.releaseContext(e),this.canvas=null,this.ctx=null),delete Xe[this.id],this.notifyPlugins("afterDestroy")}toBase64Image(...t){return this.canvas.toDataURL(...t)}bindEvents(){this.bindUserEvents(),this.options.responsive?this.bindResponsiveEvents():this.attached=!0}bindUserEvents(){const t=this._listeners,e=this.platform,n=(n,r)=>{e.addEventListener(this,n,r),t[n]=r},i=(t,e,n)=>{t.offsetX=e,t.offsetY=n,this._eventHandler(t)};(0,r.F)(this.options.events,(t=>n(t,i)))}bindResponsiveEvents(){this._responsiveListeners||(this._responsiveListeners={});const t=this._responsiveListeners,e=this.platform,n=(n,r)=>{e.addEventListener(this,n,r),t[n]=r},r=(n,r)=>{t[n]&&(e.removeEventListener(this,n,r),delete t[n])},i=(t,e)=>{this.canvas&&this.resize(t,e)};let o;const s=()=>{r("attach",s),this.attached=!0,this.resize(),n("resize",i),n("detach",o)};o=()=>{this.attached=!1,r("resize",i),this._stop(),this._resize(0,0),n("attach",s)},e.isAttached(this.canvas)?s():o()}unbindEvents(){(0,r.F)(this._listeners,((t,e)=>{this.platform.removeEventListener(this,e,t)})),this._listeners={},(0,r.F)(this._responsiveListeners,((t,e)=>{this.platform.removeEventListener(this,e,t)})),this._responsiveListeners=void 0}updateHoverStyle(t,e,n){const r=n?"set":"remove";let i,o,s,a;for("dataset"===e&&(i=this.getDatasetMeta(t[0].datasetIndex),i.controller["_"+r+"DatasetHoverStyle"]()),s=0,a=t.length;s<a;++s){o=t[s];const e=o&&this.getDatasetMeta(o.datasetIndex).controller;e&&e[r+"HoverStyle"](o.element,o.datasetIndex,o.index)}}getActiveElements(){return this._active||[]}setActiveElements(t){const e=this._active||[],n=t.map((({datasetIndex:t,index:e})=>{const n=this.getDatasetMeta(t);if(!n)throw new Error("No dataset found at index "+t);return{datasetIndex:t,element:n.data[e],index:e}})),i=!(0,r.ah)(n,e);i&&(this._active=n,this._lastEvent=null,this._updateHoverStyles(n,e))}notifyPlugins(t,e,n){return this._plugins.notify(this,t,e,n)}isPluginEnabled(t){return 1===this._plugins._cache.filter((e=>e.plugin.id===t)).length}_updateHoverStyles(t,e,n){const r=this.options.hover,i=(t,e)=>t.filter((t=>!e.some((e=>t.datasetIndex===e.datasetIndex&&t.index===e.index)))),o=i(e,t),s=n?t:i(t,e);o.length&&this.updateHoverStyle(o,r.mode,!1),s.length&&r.mode&&this.updateHoverStyle(s,r.mode,!0)}_eventHandler(t,e){const n={event:t,replay:e,cancelable:!0,inChartArea:this.isPointInArea(t)},r=e=>(e.options.events||this.options.events).includes(t.native.type);if(!1===this.notifyPlugins("beforeEvent",n,r))return;const i=this._handleEvent(t,e,n.inChartArea);return n.cancelable=!1,this.notifyPlugins("afterEvent",n,r),(i||n.changed)&&this.render(),this}_handleEvent(t,e,n){const{_active:i=[],options:o}=this,s=e,a=this._getActiveElements(t,i,n,s),l=(0,r.ai)(t),c=Ke(t,this._lastEvent,n,l);n&&(this._lastEvent=null,(0,r.Q)(o.onHover,[t,a,this],this),l&&(0,r.Q)(o.onClick,[t,a,this],this));const u=!(0,r.ah)(a,i);return(u||e)&&(this._active=a,this._updateHoverStyles(a,i,e)),this._lastEvent=c,u}_getActiveElements(t,e,n,r){if("mouseout"===t.type)return[];if(!n)return e;const i=this.options.hover;return this.getElementsAtEventForMode(t,i.mode,i,r)}}function en(){return(0,r.F)(tn.instances,(t=>t._plugins.invalidate()))}function nn(t,e,n){const{startAngle:i,pixelMargin:o,x:s,y:a,outerRadius:l,innerRadius:c}=e;let u=o/l;t.beginPath(),t.arc(s,a,l,i-u,n+u),c>o?(u=o/c,t.arc(s,a,c,n+u,i-u,!0)):t.arc(s,a,o,n+r.H,i-r.H),t.closePath(),t.clip()}function rn(t){return(0,r.ak)(t,["outerStart","outerEnd","innerStart","innerEnd"])}function on(t,e,n,i){const o=rn(t.options.borderRadius),s=(n-e)/2,a=Math.min(s,i*e/2),l=t=>{const e=(n-Math.min(s,t))*i/2;return(0,r.S)(t,0,Math.min(s,e))};return{outerStart:l(o.outerStart),outerEnd:l(o.outerEnd),innerStart:(0,r.S)(o.innerStart,0,a),innerEnd:(0,r.S)(o.innerEnd,0,a)}}function sn(t,e,n,r){return{x:n+t*Math.cos(e),y:r+t*Math.sin(e)}}function an(t,e,n,i,o,s){const{x:a,y:l,startAngle:c,pixelMargin:u,innerRadius:h}=e,d=Math.max(e.outerRadius+i+n-u,0),f=h>0?h+i+n+u:0;let p=0;const g=o-c;if(i){const t=h>0?h-i:0,e=d>0?d-i:0,n=(t+e)/2,r=0!==n?g*n/(n+i):g;p=(g-r)/2}const m=Math.max(.001,g*d-n/r.P)/d,b=(g-m)/2,v=c+b+p,y=o-b-p,{outerStart:_,outerEnd:x,innerStart:w,innerEnd:k}=on(e,f,d,y-v),M=d-_,E=d-x,S=v+_/M,O=y-x/E,T=f+w,C=f+k,P=v+w/T,A=y-k/C;if(t.beginPath(),s){const e=(S+O)/2;if(t.arc(a,l,d,S,e),t.arc(a,l,d,e,O),x>0){const e=sn(E,O,a,l);t.arc(e.x,e.y,x,O,y+r.H)}const n=sn(C,y,a,l);if(t.lineTo(n.x,n.y),k>0){const e=sn(C,A,a,l);t.arc(e.x,e.y,k,y+r.H,A+Math.PI)}const i=(y-k/f+(v+w/f))/2;if(t.arc(a,l,f,y-k/f,i,!0),t.arc(a,l,f,i,v+w/f,!0),w>0){const e=sn(T,P,a,l);t.arc(e.x,e.y,w,P+Math.PI,v-r.H)}const o=sn(M,v,a,l);if(t.lineTo(o.x,o.y),_>0){const e=sn(M,S,a,l);t.arc(e.x,e.y,_,v-r.H,S)}}else{t.moveTo(a,l);const e=Math.cos(S)*d+a,n=Math.sin(S)*d+l;t.lineTo(e,n);const r=Math.cos(O)*d+a,i=Math.sin(O)*d+l;t.lineTo(r,i)}t.closePath()}function ln(t,e,n,i,o){const{fullCircles:s,startAngle:a,circumference:l}=e;let c=e.endAngle;if(s){an(t,e,n,i,c,o);for(let e=0;e<s;++e)t.fill();isNaN(l)||(c=a+(l%r.T||r.T))}return an(t,e,n,i,c,o),t.fill(),c}function cn(t,e,n,i,o){const{fullCircles:s,startAngle:a,circumference:l,options:c}=e,{borderWidth:u,borderJoinStyle:h}=c,d="inner"===c.borderAlign;if(!u)return;d?(t.lineWidth=2*u,t.lineJoin=h||"round"):(t.lineWidth=u,t.lineJoin=h||"bevel");let f=e.endAngle;if(s){an(t,e,n,i,f,o);for(let e=0;e<s;++e)t.stroke();isNaN(l)||(f=a+(l%r.T||r.T))}d&&nn(t,e,f),s||(an(t,e,n,i,f,o),t.stroke())}class un extends Yt{static id="arc";static defaults={borderAlign:"center",borderColor:"#fff",borderJoinStyle:void 0,borderRadius:0,borderWidth:2,offset:0,spacing:0,angle:void 0,circular:!0};static defaultRoutes={backgroundColor:"backgroundColor"};constructor(t){super(),this.options=void 0,this.circumference=void 0,this.startAngle=void 0,this.endAngle=void 0,this.innerRadius=void 0,this.outerRadius=void 0,this.pixelMargin=0,this.fullCircles=0,t&&Object.assign(this,t)}inRange(t,e,n){const i=this.getProps(["x","y"],n),{angle:o,distance:s}=(0,r.D)(i,{x:t,y:e}),{startAngle:a,endAngle:l,innerRadius:c,outerRadius:u,circumference:h}=this.getProps(["startAngle","endAngle","innerRadius","outerRadius","circumference"],n),d=this.options.spacing/2,f=(0,r.v)(h,l-a),p=f>=r.T||(0,r.p)(o,a,l),g=(0,r.aj)(s,c+d,u+d);return p&&g}getCenterPoint(t){const{x:e,y:n,startAngle:r,endAngle:i,innerRadius:o,outerRadius:s}=this.getProps(["x","y","startAngle","endAngle","innerRadius","outerRadius"],t),{offset:a,spacing:l}=this.options,c=(r+i)/2,u=(o+s+l+a)/2;return{x:e+Math.cos(c)*u,y:n+Math.sin(c)*u}}tooltipPosition(t){return this.getCenterPoint(t)}draw(t){const{options:e,circumference:n}=this,i=(e.offset||0)/4,o=(e.spacing||0)/2,s=e.circular;if(this.pixelMargin="inner"===e.borderAlign?.33:0,this.fullCircles=n>r.T?Math.floor(n/r.T):0,0===n||this.innerRadius<0||this.outerRadius<0)return;t.save();const a=(this.startAngle+this.endAngle)/2;t.translate(Math.cos(a)*i,Math.sin(a)*i);const l=1-Math.sin(Math.min(r.P,n||0)),c=i*l;t.fillStyle=e.backgroundColor,t.strokeStyle=e.borderColor,ln(t,this,c,o,s),cn(t,this,c,o,s),t.restore()}}function hn(t,e,n=e){t.lineCap=(0,r.v)(n.borderCapStyle,e.borderCapStyle),t.setLineDash((0,r.v)(n.borderDash,e.borderDash)),t.lineDashOffset=(0,r.v)(n.borderDashOffset,e.borderDashOffset),t.lineJoin=(0,r.v)(n.borderJoinStyle,e.borderJoinStyle),t.lineWidth=(0,r.v)(n.borderWidth,e.borderWidth),t.strokeStyle=(0,r.v)(n.borderColor,e.borderColor)}function dn(t,e,n){t.lineTo(n.x,n.y)}function fn(t){return t.stepped?r.ar:t.tension||"monotone"===t.cubicInterpolationMode?r.as:dn}function pn(t,e,n={}){const r=t.length,{start:i=0,end:o=r-1}=n,{start:s,end:a}=e,l=Math.max(i,s),c=Math.min(o,a),u=i<s&&o<s||i>a&&o>a;return{count:r,start:l,loop:e.loop,ilen:c<l&&!u?r+c-l:c-l}}function gn(t,e,n,r){const{points:i,options:o}=e,{count:s,start:a,loop:l,ilen:c}=pn(i,n,r),u=fn(o);let h,d,f,{move:p=!0,reverse:g}=r||{};for(h=0;h<=c;++h)d=i[(a+(g?c-h:h))%s],d.skip||(p?(t.moveTo(d.x,d.y),p=!1):u(t,f,d,g,o.stepped),f=d);return l&&(d=i[(a+(g?c:0))%s],u(t,f,d,g,o.stepped)),!!l}function mn(t,e,n,r){const i=e.points,{count:o,start:s,ilen:a}=pn(i,n,r),{move:l=!0,reverse:c}=r||{};let u,h,d,f,p,g,m=0,b=0;const v=t=>(s+(c?a-t:t))%o,y=()=>{f!==p&&(t.lineTo(m,p),t.lineTo(m,f),t.lineTo(m,g))};for(l&&(h=i[v(0)],t.moveTo(h.x,h.y)),u=0;u<=a;++u){if(h=i[v(u)],h.skip)continue;const e=h.x,n=h.y,r=0|e;r===d?(n<f?f=n:n>p&&(p=n),m=(b*m+e)/++b):(y(),t.lineTo(e,n),d=r,b=0,f=p=n),g=n}y()}function bn(t){const e=t.options,n=e.borderDash&&e.borderDash.length,r=!t._decimated&&!t._loop&&!e.tension&&"monotone"!==e.cubicInterpolationMode&&!e.stepped&&!n;return r?mn:gn}function vn(t){return t.stepped?r.ao:t.tension||"monotone"===t.cubicInterpolationMode?r.ap:r.aq}function yn(t,e,n,r){let i=e._path;i||(i=e._path=new Path2D,e.path(i,n,r)&&i.closePath()),hn(t,e.options),t.stroke(i)}function _n(t,e,n,r){const{segments:i,options:o}=e,s=bn(e);for(const a of i)hn(t,o,a.style),t.beginPath(),s(t,e,a,{start:n,end:n+r-1})&&t.closePath(),t.stroke()}const xn="function"===typeof Path2D;function wn(t,e,n,r){xn&&!e.options.segment?yn(t,e,n,r):_n(t,e,n,r)}class kn extends Yt{static id="line";static defaults={borderCapStyle:"butt",borderDash:[],borderDashOffset:0,borderJoinStyle:"miter",borderWidth:3,capBezierPoints:!0,cubicInterpolationMode:"default",fill:!1,spanGaps:!1,stepped:!1,tension:0};static defaultRoutes={backgroundColor:"backgroundColor",borderColor:"borderColor"};static descriptors={_scriptable:!0,_indexable:t=>"borderDash"!==t&&"fill"!==t};constructor(t){super(),this.animated=!0,this.options=void 0,this._chart=void 0,this._loop=void 0,this._fullLoop=void 0,this._path=void 0,this._points=void 0,this._segments=void 0,this._decimated=!1,this._pointsUpdated=!1,this._datasetIndex=void 0,t&&Object.assign(this,t)}updateControlPoints(t,e){const n=this.options;if((n.tension||"monotone"===n.cubicInterpolationMode)&&!n.stepped&&!this._pointsUpdated){const i=n.spanGaps?this._loop:this._fullLoop;(0,r.al)(this._points,n,t,i,e),this._pointsUpdated=!0}}set points(t){this._points=t,delete this._segments,delete this._path,this._pointsUpdated=!1}get points(){return this._points}get segments(){return this._segments||(this._segments=(0,r.am)(this,this.options.segment))}first(){const t=this.segments,e=this.points;return t.length&&e[t[0].start]}last(){const t=this.segments,e=this.points,n=t.length;return n&&e[t[n-1].end]}interpolate(t,e){const n=this.options,i=t[e],o=this.points,s=(0,r.an)(this,{property:e,start:i,end:i});if(!s.length)return;const a=[],l=vn(n);let c,u;for(c=0,u=s.length;c<u;++c){const{start:r,end:u}=s[c],h=o[r],d=o[u];if(h===d){a.push(h);continue}const f=Math.abs((i-h[e])/(d[e]-h[e])),p=l(h,d,f,n.stepped);p[e]=t[e],a.push(p)}return 1===a.length?a[0]:a}pathSegment(t,e,n){const r=bn(this);return r(t,this,e,n)}path(t,e,n){const r=this.segments,i=bn(this);let o=this._loop;e=e||0,n=n||this.points.length-e;for(const s of r)o&=i(t,this,s,{start:e,end:e+n-1});return!!o}draw(t,e,n,r){const i=this.options||{},o=this.points||[];o.length&&i.borderWidth&&(t.save(),wn(t,this,n,r),t.restore()),this.animated&&(this._pointsUpdated=!1,this._path=void 0)}}function Mn(t,e,n,r){const i=t.options,{[n]:o}=t.getProps([n],r);return Math.abs(e-o)<i.radius+i.hitRadius}class En extends Yt{static id="point";static defaults={borderWidth:1,hitRadius:1,hoverBorderWidth:1,hoverRadius:4,pointStyle:"circle",radius:3,rotation:0};static defaultRoutes={backgroundColor:"backgroundColor",borderColor:"borderColor"};constructor(t){super(),this.options=void 0,this.parsed=void 0,this.skip=void 0,this.stop=void 0,t&&Object.assign(this,t)}inRange(t,e,n){const r=this.options,{x:i,y:o}=this.getProps(["x","y"],n);return Math.pow(t-i,2)+Math.pow(e-o,2)<Math.pow(r.hitRadius+r.radius,2)}inXRange(t,e){return Mn(this,t,"x",e)}inYRange(t,e){return Mn(this,t,"y",e)}getCenterPoint(t){const{x:e,y:n}=this.getProps(["x","y"],t);return{x:e,y:n}}size(t){t=t||this.options||{};let e=t.radius||0;e=Math.max(e,e&&t.hoverRadius||0);const n=e&&t.borderWidth||0;return 2*(e+n)}draw(t,e){const n=this.options;this.skip||n.radius<.1||!(0,r.C)(this,e,this.size(n)/2)||(t.strokeStyle=n.borderColor,t.lineWidth=n.borderWidth,t.fillStyle=n.backgroundColor,(0,r.at)(t,n,this.x,this.y))}getRange(){const t=this.options||{};return t.radius+t.hitRadius}}function Sn(t,e){const{x:n,y:r,base:i,width:o,height:s}=t.getProps(["x","y","base","width","height"],e);let a,l,c,u,h;return t.horizontal?(h=s/2,a=Math.min(n,i),l=Math.max(n,i),c=r-h,u=r+h):(h=o/2,a=n-h,l=n+h,c=Math.min(r,i),u=Math.max(r,i)),{left:a,top:c,right:l,bottom:u}}function On(t,e,n,i){return t?0:(0,r.S)(e,n,i)}function Tn(t,e,n){const i=t.options.borderWidth,o=t.borderSkipped,s=(0,r.av)(i);return{t:On(o.top,s.top,0,n),r:On(o.right,s.right,0,e),b:On(o.bottom,s.bottom,0,n),l:On(o.left,s.left,0,e)}}function Cn(t,e,n){const{enableBorderRadius:i}=t.getProps(["enableBorderRadius"]),o=t.options.borderRadius,s=(0,r.aw)(o),a=Math.min(e,n),l=t.borderSkipped,c=i||(0,r.i)(o);return{topLeft:On(!c||l.top||l.left,s.topLeft,0,a),topRight:On(!c||l.top||l.right,s.topRight,0,a),bottomLeft:On(!c||l.bottom||l.left,s.bottomLeft,0,a),bottomRight:On(!c||l.bottom||l.right,s.bottomRight,0,a)}}function Pn(t){const e=Sn(t),n=e.right-e.left,r=e.bottom-e.top,i=Tn(t,n/2,r/2),o=Cn(t,n/2,r/2);return{outer:{x:e.left,y:e.top,w:n,h:r,radius:o},inner:{x:e.left+i.l,y:e.top+i.t,w:n-i.l-i.r,h:r-i.t-i.b,radius:{topLeft:Math.max(0,o.topLeft-Math.max(i.t,i.l)),topRight:Math.max(0,o.topRight-Math.max(i.t,i.r)),bottomLeft:Math.max(0,o.bottomLeft-Math.max(i.b,i.l)),bottomRight:Math.max(0,o.bottomRight-Math.max(i.b,i.r))}}}}function An(t,e,n,i){const o=null===e,s=null===n,a=o&&s,l=t&&!a&&Sn(t,i);return l&&(o||(0,r.aj)(e,l.left,l.right))&&(s||(0,r.aj)(n,l.top,l.bottom))}function Dn(t){return t.topLeft||t.topRight||t.bottomLeft||t.bottomRight}function Ln(t,e){t.rect(e.x,e.y,e.w,e.h)}function In(t,e,n={}){const r=t.x!==n.x?-e:0,i=t.y!==n.y?-e:0,o=(t.x+t.w!==n.x+n.w?e:0)-r,s=(t.y+t.h!==n.y+n.h?e:0)-i;return{x:t.x+r,y:t.y+i,w:t.w+o,h:t.h+s,radius:t.radius}}class Nn extends Yt{static id="bar";static defaults={borderSkipped:"start",borderWidth:0,borderRadius:0,inflateAmount:"auto",pointStyle:void 0};static defaultRoutes={backgroundColor:"backgroundColor",borderColor:"borderColor"};constructor(t){super(),this.options=void 0,this.horizontal=void 0,this.base=void 0,this.width=void 0,this.height=void 0,this.inflateAmount=void 0,t&&Object.assign(this,t)}draw(t){const{inflateAmount:e,options:{borderColor:n,backgroundColor:i}}=this,{inner:o,outer:s}=Pn(this),a=Dn(s.radius)?r.au:Ln;t.save(),s.w===o.w&&s.h===o.h||(t.beginPath(),a(t,In(s,e,o)),t.clip(),a(t,In(o,-e,s)),t.fillStyle=n,t.fill("evenodd")),t.beginPath(),a(t,In(o,e)),t.fillStyle=i,t.fill(),t.restore()}inRange(t,e,n){return An(this,t,e,n)}inXRange(t,e){return An(this,t,null,e)}inYRange(t,e){return An(this,null,t,e)}getCenterPoint(t){const{x:e,y:n,base:r,horizontal:i}=this.getProps(["x","y","base","horizontal"],t);return{x:i?(e+r)/2:e,y:i?n:(n+r)/2}}getRange(t){return"x"===t?this.width/2:this.height/2}}function jn(t,e,n){const i=t.segments,o=t.points,s=e.points,a=[];for(const l of i){let{start:t,end:i}=l;i=Wn(t,i,o);const c=Fn(n,o[t],o[i],l.loop);if(!e.segments){a.push({source:l,target:c,start:o[t],end:o[i]});continue}const u=(0,r.an)(e,c);for(const e of u){const t=Fn(n,s[e.start],s[e.end],e.loop),i=(0,r.ax)(l,o,t);for(const r of i)a.push({source:r,target:e,start:{[n]:zn(c,t,"start",Math.max)},end:{[n]:zn(c,t,"end",Math.min)}})}}return a}function Fn(t,e,n,i){if(i)return;let o=e[t],s=n[t];return"angle"===t&&(o=(0,r.ay)(o),s=(0,r.ay)(s)),{property:t,start:o,end:s}}function Rn(t,e){const{x:n=null,y:r=null}=t||{},i=e.points,o=[];return e.segments.forEach((({start:t,end:e})=>{e=Wn(t,e,i);const s=i[t],a=i[e];null!==r?(o.push({x:s.x,y:r}),o.push({x:a.x,y:r})):null!==n&&(o.push({x:n,y:s.y}),o.push({x:n,y:a.y}))})),o}function Wn(t,e,n){for(;e>t;e--){const t=n[e];if(!isNaN(t.x)&&!isNaN(t.y))break}return e}function zn(t,e,n,r){return t&&e?r(t[n],e[n]):t?t[n]:e?e[n]:0}function Un(t,e){let n=[],i=!1;return(0,r.b)(t)?(i=!0,n=t):n=Rn(t,e),n.length?new kn({points:n,options:{tension:0},_loop:i,_fullLoop:i}):null}function Hn(t){return t&&!1!==t.fill}function Bn(t,e,n){const i=t[e];let o=i.fill;const s=[e];let a;if(!n)return o;while(!1!==o&&-1===s.indexOf(o)){if(!(0,r.g)(o))return o;if(a=t[o],!a)return!1;if(a.visible)return o;s.push(o),o=a.fill}return!1}function Vn(t,e,n){const i=qn(t);if((0,r.i)(i))return!isNaN(i.value)&&i;let o=parseFloat(i);return(0,r.g)(o)&&Math.floor(o)===o?$n(i[0],e,o,n):["origin","start","end","stack","shape"].indexOf(i)>=0&&i}function $n(t,e,n,r){return"-"!==t&&"+"!==t||(n=e+n),!(n===e||n<0||n>=r)&&n}function Zn(t,e){let n=null;return"start"===t?n=e.bottom:"end"===t?n=e.top:(0,r.i)(t)?n=e.getPixelForValue(t.value):e.getBasePixel&&(n=e.getBasePixel()),n}function Yn(t,e,n){let i;return i="start"===t?n:"end"===t?e.options.reverse?e.min:e.max:(0,r.i)(t)?t.value:e.getBaseValue(),i}function qn(t){const e=t.options,n=e.fill;let i=(0,r.v)(n&&n.target,n);return void 0===i&&(i=!!e.backgroundColor),!1!==i&&null!==i&&(!0===i?"origin":i)}function Xn(t){const{scale:e,index:n,line:r}=t,i=[],o=r.segments,s=r.points,a=Gn(e,n);a.push(Un({x:null,y:e.bottom},r));for(let l=0;l<o.length;l++){const t=o[l];for(let e=t.start;e<=t.end;e++)Jn(i,s[e],a)}return new kn({points:i,options:{}})}function Gn(t,e){const n=[],r=t.getMatchingVisibleMetas("line");for(let i=0;i<r.length;i++){const t=r[i];if(t.index===e)break;t.hidden||n.unshift(t.dataset)}return n}function Jn(t,e,n){const r=[];for(let i=0;i<n.length;i++){const o=n[i],{first:s,last:a,point:l}=Kn(o,e,"x");if(!(!l||s&&a))if(s)r.unshift(l);else if(t.push(l),!a)break}t.push(...r)}function Kn(t,e,n){const i=t.interpolate(e,n);if(!i)return{};const o=i[n],s=t.segments,a=t.points;let l=!1,c=!1;for(let u=0;u<s.length;u++){const t=s[u],e=a[t.start][n],i=a[t.end][n];if((0,r.aj)(o,e,i)){l=o===e,c=o===i;break}}return{first:l,last:c,point:i}}class Qn{constructor(t){this.x=t.x,this.y=t.y,this.radius=t.radius}pathSegment(t,e,n){const{x:i,y:o,radius:s}=this;return e=e||{start:0,end:r.T},t.arc(i,o,s,e.end,e.start,!0),!n.bounds}interpolate(t){const{x:e,y:n,radius:r}=this,i=t.angle;return{x:e+Math.cos(i)*r,y:n+Math.sin(i)*r,angle:i}}}function tr(t){const{chart:e,fill:n,line:i}=t;if((0,r.g)(n))return er(e,n);if("stack"===n)return Xn(t);if("shape"===n)return!0;const o=nr(t);return o instanceof Qn?o:Un(o,i)}function er(t,e){const n=t.getDatasetMeta(e),r=n&&t.isDatasetVisible(e);return r?n.dataset:null}function nr(t){const e=t.scale||{};return e.getPointPositionForValue?ir(t):rr(t)}function rr(t){const{scale:e={},fill:n}=t,i=Zn(n,e);if((0,r.g)(i)){const t=e.isHorizontal();return{x:t?i:null,y:t?null:i}}return null}function ir(t){const{scale:e,fill:n}=t,r=e.options,i=e.getLabels().length,o=r.reverse?e.max:e.min,s=Yn(n,e,o),a=[];if(r.grid.circular){const t=e.getPointPositionForValue(0,o);return new Qn({x:t.x,y:t.y,radius:e.getDistanceFromCenterForValue(s)})}for(let l=0;l<i;++l)a.push(e.getPointPositionForValue(l,s));return a}function or(t,e,n){const i=tr(e),{line:o,scale:s,axis:a}=e,l=o.options,c=l.fill,u=l.backgroundColor,{above:h=u,below:d=u}=c||{};i&&o.points.length&&((0,r.Y)(t,n),sr(t,{line:o,target:i,above:h,below:d,area:n,scale:s,axis:a}),(0,r.$)(t))}function sr(t,e){const{line:n,target:r,above:i,below:o,area:s,scale:a}=e,l=n._loop?"angle":e.axis;t.save(),"x"===l&&o!==i&&(ar(t,r,s.top),lr(t,{line:n,target:r,color:i,scale:a,property:l}),t.restore(),t.save(),ar(t,r,s.bottom)),lr(t,{line:n,target:r,color:o,scale:a,property:l}),t.restore()}function ar(t,e,n){const{segments:r,points:i}=e;let o=!0,s=!1;t.beginPath();for(const a of r){const{start:r,end:l}=a,c=i[r],u=i[Wn(r,l,i)];o?(t.moveTo(c.x,c.y),o=!1):(t.lineTo(c.x,n),t.lineTo(c.x,c.y)),s=!!e.pathSegment(t,a,{move:s}),s?t.closePath():t.lineTo(u.x,n)}t.lineTo(e.first().x,n),t.closePath(),t.clip()}function lr(t,e){const{line:n,target:r,property:i,color:o,scale:s}=e,a=jn(n,r,i);for(const{source:l,target:c,start:u,end:h}of a){const{style:{backgroundColor:e=o}={}}=l,a=!0!==r;t.save(),t.fillStyle=e,cr(t,s,a&&Fn(i,u,h)),t.beginPath();const d=!!n.pathSegment(t,l);let f;if(a){d?t.closePath():ur(t,r,h,i);const e=!!r.pathSegment(t,c,{move:d,reverse:!0});f=d&&e,f||ur(t,r,u,i)}t.closePath(),t.fill(f?"evenodd":"nonzero"),t.restore()}}function cr(t,e,n){const{top:r,bottom:i}=e.chart.chartArea,{property:o,start:s,end:a}=n||{};"x"===o&&(t.beginPath(),t.rect(s,r,a-s,i-r),t.clip())}function ur(t,e,n,r){const i=e.interpolate(n,r);i&&t.lineTo(i.x,i.y)}var hr={id:"filler",afterDatasetsUpdate(t,e,n){const r=(t.data.datasets||[]).length,i=[];let o,s,a,l;for(s=0;s<r;++s)o=t.getDatasetMeta(s),a=o.dataset,l=null,a&&a.options&&a instanceof kn&&(l={visible:t.isDatasetVisible(s),index:s,fill:Vn(a,s,r),chart:t,axis:o.controller.options.indexAxis,scale:o.vScale,line:a}),o.$filler=l,i.push(l);for(s=0;s<r;++s)l=i[s],l&&!1!==l.fill&&(l.fill=Bn(i,s,n.propagate))},beforeDraw(t,e,n){const r="beforeDraw"===n.drawTime,i=t.getSortedVisibleDatasetMetas(),o=t.chartArea;for(let s=i.length-1;s>=0;--s){const e=i[s].$filler;e&&(e.line.updateControlPoints(o,e.axis),r&&e.fill&&or(t.ctx,e,o))}},beforeDatasetsDraw(t,e,n){if("beforeDatasetsDraw"!==n.drawTime)return;const r=t.getSortedVisibleDatasetMetas();for(let i=r.length-1;i>=0;--i){const e=r[i].$filler;Hn(e)&&or(t.ctx,e,t.chartArea)}},beforeDatasetDraw(t,e,n){const r=e.meta.$filler;Hn(r)&&"beforeDatasetDraw"===n.drawTime&&or(t.ctx,r,t.chartArea)},defaults:{propagate:!0,drawTime:"beforeDatasetDraw"}};const dr=(t,e)=>{let{boxHeight:n=e,boxWidth:r=e}=t;return t.usePointStyle&&(n=Math.min(n,e),r=t.pointStyleWidth||Math.min(r,e)),{boxWidth:r,boxHeight:n,itemHeight:Math.max(e,n)}},fr=(t,e)=>null!==t&&null!==e&&t.datasetIndex===e.datasetIndex&&t.index===e.index;class pr extends Yt{constructor(t){super(),this._added=!1,this.legendHitBoxes=[],this._hoveredItem=null,this.doughnutMode=!1,this.chart=t.chart,this.options=t.options,this.ctx=t.ctx,this.legendItems=void 0,this.columnSizes=void 0,this.lineWidths=void 0,this.maxHeight=void 0,this.maxWidth=void 0,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.height=void 0,this.width=void 0,this._margins=void 0,this.position=void 0,this.weight=void 0,this.fullSize=void 0}update(t,e,n){this.maxWidth=t,this.maxHeight=e,this._margins=n,this.setDimensions(),this.buildLabels(),this.fit()}setDimensions(){this.isHorizontal()?(this.width=this.maxWidth,this.left=this._margins.left,this.right=this.width):(this.height=this.maxHeight,this.top=this._margins.top,this.bottom=this.height)}buildLabels(){const t=this.options.labels||{};let e=(0,r.Q)(t.generateLabels,[this.chart],this)||[];t.filter&&(e=e.filter((e=>t.filter(e,this.chart.data)))),t.sort&&(e=e.sort(((e,n)=>t.sort(e,n,this.chart.data)))),this.options.reverse&&e.reverse(),this.legendItems=e}fit(){const{options:t,ctx:e}=this;if(!t.display)return void(this.width=this.height=0);const n=t.labels,i=(0,r.a0)(n.font),o=i.size,s=this._computeTitleHeight(),{boxWidth:a,itemHeight:l}=dr(n,o);let c,u;e.font=i.string,this.isHorizontal()?(c=this.maxWidth,u=this._fitRows(s,o,a,l)+10):(u=this.maxHeight,c=this._fitCols(s,i,a,l)+10),this.width=Math.min(c,t.maxWidth||this.maxWidth),this.height=Math.min(u,t.maxHeight||this.maxHeight)}_fitRows(t,e,n,r){const{ctx:i,maxWidth:o,options:{labels:{padding:s}}}=this,a=this.legendHitBoxes=[],l=this.lineWidths=[0],c=r+s;let u=t;i.textAlign="left",i.textBaseline="middle";let h=-1,d=-c;return this.legendItems.forEach(((t,f)=>{const p=n+e/2+i.measureText(t.text).width;(0===f||l[l.length-1]+p+2*s>o)&&(u+=c,l[l.length-(f>0?0:1)]=0,d+=c,h++),a[f]={left:0,top:d,row:h,width:p,height:r},l[l.length-1]+=p+s})),u}_fitCols(t,e,n,r){const{ctx:i,maxHeight:o,options:{labels:{padding:s}}}=this,a=this.legendHitBoxes=[],l=this.columnSizes=[],c=o-t;let u=s,h=0,d=0,f=0,p=0;return this.legendItems.forEach(((t,o)=>{const{itemWidth:g,itemHeight:m}=gr(n,e,i,t,r);o>0&&d+m+2*s>c&&(u+=h+s,l.push({width:h,height:d}),f+=h+s,p++,h=d=0),a[o]={left:f,top:d,col:p,width:g,height:m},h=Math.max(h,g),d+=m+s})),u+=h,l.push({width:h,height:d}),u}adjustHitBoxes(){if(!this.options.display)return;const t=this._computeTitleHeight(),{legendHitBoxes:e,options:{align:n,labels:{padding:i},rtl:o}}=this,s=(0,r.az)(o,this.left,this.width);if(this.isHorizontal()){let o=0,a=(0,r.a2)(n,this.left+i,this.right-this.lineWidths[o]);for(const l of e)o!==l.row&&(o=l.row,a=(0,r.a2)(n,this.left+i,this.right-this.lineWidths[o])),l.top+=this.top+t+i,l.left=s.leftForLtr(s.x(a),l.width),a+=l.width+i}else{let o=0,a=(0,r.a2)(n,this.top+t+i,this.bottom-this.columnSizes[o].height);for(const l of e)l.col!==o&&(o=l.col,a=(0,r.a2)(n,this.top+t+i,this.bottom-this.columnSizes[o].height)),l.top=a,l.left+=this.left+i,l.left=s.leftForLtr(s.x(l.left),l.width),a+=l.height+i}}isHorizontal(){return"top"===this.options.position||"bottom"===this.options.position}draw(){if(this.options.display){const t=this.ctx;(0,r.Y)(t,this),this._draw(),(0,r.$)(t)}}_draw(){const{options:t,columnSizes:e,lineWidths:n,ctx:i}=this,{align:o,labels:s}=t,a=r.d.color,l=(0,r.az)(t.rtl,this.left,this.width),c=(0,r.a0)(s.font),{padding:u}=s,h=c.size,d=h/2;let f;this.drawTitle(),i.textAlign=l.textAlign("left"),i.textBaseline="middle",i.lineWidth=.5,i.font=c.string;const{boxWidth:p,boxHeight:g,itemHeight:m}=dr(s,h),b=function(t,e,n){if(isNaN(p)||p<=0||isNaN(g)||g<0)return;i.save();const o=(0,r.v)(n.lineWidth,1);if(i.fillStyle=(0,r.v)(n.fillStyle,a),i.lineCap=(0,r.v)(n.lineCap,"butt"),i.lineDashOffset=(0,r.v)(n.lineDashOffset,0),i.lineJoin=(0,r.v)(n.lineJoin,"miter"),i.lineWidth=o,i.strokeStyle=(0,r.v)(n.strokeStyle,a),i.setLineDash((0,r.v)(n.lineDash,[])),s.usePointStyle){const a={radius:g*Math.SQRT2/2,pointStyle:n.pointStyle,rotation:n.rotation,borderWidth:o},c=l.xPlus(t,p/2),u=e+d;(0,r.aD)(i,a,c,u,s.pointStyleWidth&&p)}else{const s=e+Math.max((h-g)/2,0),a=l.leftForLtr(t,p),c=(0,r.aw)(n.borderRadius);i.beginPath(),Object.values(c).some((t=>0!==t))?(0,r.au)(i,{x:a,y:s,w:p,h:g,radius:c}):i.rect(a,s,p,g),i.fill(),0!==o&&i.stroke()}i.restore()},v=function(t,e,n){(0,r.Z)(i,n.text,t,e+m/2,c,{strikethrough:n.hidden,textAlign:l.textAlign(n.textAlign)})},y=this.isHorizontal(),_=this._computeTitleHeight();f=y?{x:(0,r.a2)(o,this.left+u,this.right-n[0]),y:this.top+u+_,line:0}:{x:this.left+u,y:(0,r.a2)(o,this.top+_+u,this.bottom-e[0].height),line:0},(0,r.aA)(this.ctx,t.textDirection);const x=m+u;this.legendItems.forEach(((a,h)=>{i.strokeStyle=a.fontColor,i.fillStyle=a.fontColor;const g=i.measureText(a.text).width,m=l.textAlign(a.textAlign||(a.textAlign=s.textAlign)),w=p+d+g;let k=f.x,M=f.y;l.setWidth(this.width),y?h>0&&k+w+u>this.right&&(M=f.y+=x,f.line++,k=f.x=(0,r.a2)(o,this.left+u,this.right-n[f.line])):h>0&&M+x>this.bottom&&(k=f.x=k+e[f.line].width+u,f.line++,M=f.y=(0,r.a2)(o,this.top+_+u,this.bottom-e[f.line].height));const E=l.x(k);if(b(E,M,a),k=(0,r.aB)(m,k+p+d,y?k+w:this.right,t.rtl),v(l.x(k),M,a),y)f.x+=w+u;else if("string"!==typeof a.text){const t=c.lineHeight;f.y+=vr(a,t)}else f.y+=x})),(0,r.aC)(this.ctx,t.textDirection)}drawTitle(){const t=this.options,e=t.title,n=(0,r.a0)(e.font),i=(0,r.E)(e.padding);if(!e.display)return;const o=(0,r.az)(t.rtl,this.left,this.width),s=this.ctx,a=e.position,l=n.size/2,c=i.top+l;let u,h=this.left,d=this.width;if(this.isHorizontal())d=Math.max(...this.lineWidths),u=this.top+c,h=(0,r.a2)(t.align,h,this.right-d);else{const e=this.columnSizes.reduce(((t,e)=>Math.max(t,e.height)),0);u=c+(0,r.a2)(t.align,this.top,this.bottom-e-t.labels.padding-this._computeTitleHeight())}const f=(0,r.a2)(a,h,h+d);s.textAlign=o.textAlign((0,r.a1)(a)),s.textBaseline="middle",s.strokeStyle=e.color,s.fillStyle=e.color,s.font=n.string,(0,r.Z)(s,e.text,f,u,n)}_computeTitleHeight(){const t=this.options.title,e=(0,r.a0)(t.font),n=(0,r.E)(t.padding);return t.display?e.lineHeight+n.height:0}_getLegendItemAt(t,e){let n,i,o;if((0,r.aj)(t,this.left,this.right)&&(0,r.aj)(e,this.top,this.bottom))for(o=this.legendHitBoxes,n=0;n<o.length;++n)if(i=o[n],(0,r.aj)(t,i.left,i.left+i.width)&&(0,r.aj)(e,i.top,i.top+i.height))return this.legendItems[n];return null}handleEvent(t){const e=this.options;if(!yr(t.type,e))return;const n=this._getLegendItemAt(t.x,t.y);if("mousemove"===t.type||"mouseout"===t.type){const i=this._hoveredItem,o=fr(i,n);i&&!o&&(0,r.Q)(e.onLeave,[t,i,this],this),this._hoveredItem=n,n&&!o&&(0,r.Q)(e.onHover,[t,n,this],this)}else n&&(0,r.Q)(e.onClick,[t,n,this],this)}}function gr(t,e,n,r,i){const o=mr(r,t,e,n),s=br(i,r,e.lineHeight);return{itemWidth:o,itemHeight:s}}function mr(t,e,n,r){let i=t.text;return i&&"string"!==typeof i&&(i=i.reduce(((t,e)=>t.length>e.length?t:e))),e+n.size/2+r.measureText(i).width}function br(t,e,n){let r=t;return"string"!==typeof e.text&&(r=vr(e,n)),r}function vr(t,e){const n=t.text?t.text.length+.5:0;return e*n}function yr(t,e){return!("mousemove"!==t&&"mouseout"!==t||!e.onHover&&!e.onLeave)||!(!e.onClick||"click"!==t&&"mouseup"!==t)}var _r={id:"legend",_element:pr,start(t,e,n){const r=t.legend=new pr({ctx:t.ctx,options:n,chart:t});kt.configure(t,r,n),kt.addBox(t,r)},stop(t){kt.removeBox(t,t.legend),delete t.legend},beforeUpdate(t,e,n){const r=t.legend;kt.configure(t,r,n),r.options=n},afterUpdate(t){const e=t.legend;e.buildLabels(),e.adjustHitBoxes()},afterEvent(t,e){e.replay||t.legend.handleEvent(e.event)},defaults:{display:!0,position:"top",align:"center",fullSize:!0,reverse:!1,weight:1e3,onClick(t,e,n){const r=e.datasetIndex,i=n.chart;i.isDatasetVisible(r)?(i.hide(r),e.hidden=!0):(i.show(r),e.hidden=!1)},onHover:null,onLeave:null,labels:{color:t=>t.chart.options.color,boxWidth:40,padding:10,generateLabels(t){const e=t.data.datasets,{labels:{usePointStyle:n,pointStyle:i,textAlign:o,color:s,useBorderRadius:a,borderRadius:l}}=t.legend.options;return t._getSortedDatasetMetas().map((t=>{const c=t.controller.getStyle(n?0:void 0),u=(0,r.E)(c.borderWidth);return{text:e[t.index].label,fillStyle:c.backgroundColor,fontColor:s,hidden:!t.visible,lineCap:c.borderCapStyle,lineDash:c.borderDash,lineDashOffset:c.borderDashOffset,lineJoin:c.borderJoinStyle,lineWidth:(u.width+u.height)/4,strokeStyle:c.borderColor,pointStyle:i||c.pointStyle,rotation:c.rotation,textAlign:o||c.textAlign,borderRadius:a&&(l||c.borderRadius),datasetIndex:t.index}}),this)}},title:{color:t=>t.chart.options.color,display:!1,position:"center",text:""}},descriptors:{_scriptable:t=>!t.startsWith("on"),labels:{_scriptable:t=>!["generateLabels","filter","sort"].includes(t)}}};class xr extends Yt{constructor(t){super(),this.chart=t.chart,this.options=t.options,this.ctx=t.ctx,this._padding=void 0,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.width=void 0,this.height=void 0,this.position=void 0,this.weight=void 0,this.fullSize=void 0}update(t,e){const n=this.options;if(this.left=0,this.top=0,!n.display)return void(this.width=this.height=this.right=this.bottom=0);this.width=this.right=t,this.height=this.bottom=e;const i=(0,r.b)(n.text)?n.text.length:1;this._padding=(0,r.E)(n.padding);const o=i*(0,r.a0)(n.font).lineHeight+this._padding.height;this.isHorizontal()?this.height=o:this.width=o}isHorizontal(){const t=this.options.position;return"top"===t||"bottom"===t}_drawArgs(t){const{top:e,left:n,bottom:i,right:o,options:s}=this,a=s.align;let l,c,u,h=0;return this.isHorizontal()?(c=(0,r.a2)(a,n,o),u=e+t,l=o-n):("left"===s.position?(c=n+t,u=(0,r.a2)(a,i,e),h=-.5*r.P):(c=o-t,u=(0,r.a2)(a,e,i),h=.5*r.P),l=i-e),{titleX:c,titleY:u,maxWidth:l,rotation:h}}draw(){const t=this.ctx,e=this.options;if(!e.display)return;const n=(0,r.a0)(e.font),i=n.lineHeight,o=i/2+this._padding.top,{titleX:s,titleY:a,maxWidth:l,rotation:c}=this._drawArgs(o);(0,r.Z)(t,e.text,0,0,n,{color:e.color,maxWidth:l,rotation:c,textAlign:(0,r.a1)(e.align),textBaseline:"middle",translation:[s,a]})}}function wr(t,e){const n=new xr({ctx:t.ctx,options:e,chart:t});kt.configure(t,n,e),kt.addBox(t,n),t.titleBlock=n}var kr={id:"title",_element:xr,start(t,e,n){wr(t,n)},stop(t){const e=t.titleBlock;kt.removeBox(t,e),delete t.titleBlock},beforeUpdate(t,e,n){const r=t.titleBlock;kt.configure(t,r,n),r.options=n},defaults:{align:"center",display:!1,font:{weight:"bold"},fullSize:!0,padding:10,position:"top",text:"",weight:2e3},defaultRoutes:{color:"color"},descriptors:{_scriptable:!0,_indexable:!1}};new WeakMap;const Mr={average(t){if(!t.length)return!1;let e,n,r=0,i=0,o=0;for(e=0,n=t.length;e<n;++e){const n=t[e].element;if(n&&n.hasValue()){const t=n.tooltipPosition();r+=t.x,i+=t.y,++o}}return{x:r/o,y:i/o}},nearest(t,e){if(!t.length)return!1;let n,i,o,s=e.x,a=e.y,l=Number.POSITIVE_INFINITY;for(n=0,i=t.length;n<i;++n){const i=t[n].element;if(i&&i.hasValue()){const t=i.getCenterPoint(),n=(0,r.aE)(e,t);n<l&&(l=n,o=i)}}if(o){const t=o.tooltipPosition();s=t.x,a=t.y}return{x:s,y:a}}};function Er(t,e){return e&&((0,r.b)(e)?Array.prototype.push.apply(t,e):t.push(e)),t}function Sr(t){return("string"===typeof t||t instanceof String)&&t.indexOf("\n")>-1?t.split("\n"):t}function Or(t,e){const{element:n,datasetIndex:r,index:i}=e,o=t.getDatasetMeta(r).controller,{label:s,value:a}=o.getLabelAndValue(i);return{chart:t,label:s,parsed:o.getParsed(i),raw:t.data.datasets[r].data[i],formattedValue:a,dataset:o.getDataset(),dataIndex:i,datasetIndex:r,element:n}}function Tr(t,e){const n=t.chart.ctx,{body:i,footer:o,title:s}=t,{boxWidth:a,boxHeight:l}=e,c=(0,r.a0)(e.bodyFont),u=(0,r.a0)(e.titleFont),h=(0,r.a0)(e.footerFont),d=s.length,f=o.length,p=i.length,g=(0,r.E)(e.padding);let m=g.height,b=0,v=i.reduce(((t,e)=>t+e.before.length+e.lines.length+e.after.length),0);if(v+=t.beforeBody.length+t.afterBody.length,d&&(m+=d*u.lineHeight+(d-1)*e.titleSpacing+e.titleMarginBottom),v){const t=e.displayColors?Math.max(l,c.lineHeight):c.lineHeight;m+=p*t+(v-p)*c.lineHeight+(v-1)*e.bodySpacing}f&&(m+=e.footerMarginTop+f*h.lineHeight+(f-1)*e.footerSpacing);let y=0;const _=function(t){b=Math.max(b,n.measureText(t).width+y)};return n.save(),n.font=u.string,(0,r.F)(t.title,_),n.font=c.string,(0,r.F)(t.beforeBody.concat(t.afterBody),_),y=e.displayColors?a+2+e.boxPadding:0,(0,r.F)(i,(t=>{(0,r.F)(t.before,_),(0,r.F)(t.lines,_),(0,r.F)(t.after,_)})),y=0,n.font=h.string,(0,r.F)(t.footer,_),n.restore(),b+=g.width,{width:b,height:m}}function Cr(t,e){const{y:n,height:r}=e;return n<r/2?"top":n>t.height-r/2?"bottom":"center"}function Pr(t,e,n,r){const{x:i,width:o}=r,s=n.caretSize+n.caretPadding;return"left"===t&&i+o+s>e.width||("right"===t&&i-o-s<0||void 0)}function Ar(t,e,n,r){const{x:i,width:o}=n,{width:s,chartArea:{left:a,right:l}}=t;let c="center";return"center"===r?c=i<=(a+l)/2?"left":"right":i<=o/2?c="left":i>=s-o/2&&(c="right"),Pr(c,t,e,n)&&(c="center"),c}function Dr(t,e,n){const r=n.yAlign||e.yAlign||Cr(t,n);return{xAlign:n.xAlign||e.xAlign||Ar(t,e,n,r),yAlign:r}}function Lr(t,e){let{x:n,width:r}=t;return"right"===e?n-=r:"center"===e&&(n-=r/2),n}function Ir(t,e,n){let{y:r,height:i}=t;return"top"===e?r+=n:r-="bottom"===e?i+n:i/2,r}function Nr(t,e,n,i){const{caretSize:o,caretPadding:s,cornerRadius:a}=t,{xAlign:l,yAlign:c}=n,u=o+s,{topLeft:h,topRight:d,bottomLeft:f,bottomRight:p}=(0,r.aw)(a);let g=Lr(e,l);const m=Ir(e,c,u);return"center"===c?"left"===l?g+=u:"right"===l&&(g-=u):"left"===l?g-=Math.max(h,f)+o:"right"===l&&(g+=Math.max(d,p)+o),{x:(0,r.S)(g,0,i.width-e.width),y:(0,r.S)(m,0,i.height-e.height)}}function jr(t,e,n){const i=(0,r.E)(n.padding);return"center"===e?t.x+t.width/2:"right"===e?t.x+t.width-i.right:t.x+i.left}function Fr(t){return Er([],Sr(t))}function Rr(t,e,n){return(0,r.j)(t,{tooltip:e,tooltipItems:n,type:"tooltip"})}function Wr(t,e){const n=e&&e.dataset&&e.dataset.tooltip&&e.dataset.tooltip.callbacks;return n?t.override(n):t}const zr={beforeTitle:r.aF,title(t){if(t.length>0){const e=t[0],n=e.chart.data.labels,r=n?n.length:0;if(this&&this.options&&"dataset"===this.options.mode)return e.dataset.label||"";if(e.label)return e.label;if(r>0&&e.dataIndex<r)return n[e.dataIndex]}return""},afterTitle:r.aF,beforeBody:r.aF,beforeLabel:r.aF,label(t){if(this&&this.options&&"dataset"===this.options.mode)return t.label+": "+t.formattedValue||t.formattedValue;let e=t.dataset.label||"";e&&(e+=": ");const n=t.formattedValue;return(0,r.k)(n)||(e+=n),e},labelColor(t){const e=t.chart.getDatasetMeta(t.datasetIndex),n=e.controller.getStyle(t.dataIndex);return{borderColor:n.borderColor,backgroundColor:n.backgroundColor,borderWidth:n.borderWidth,borderDash:n.borderDash,borderDashOffset:n.borderDashOffset,borderRadius:0}},labelTextColor(){return this.options.bodyColor},labelPointStyle(t){const e=t.chart.getDatasetMeta(t.datasetIndex),n=e.controller.getStyle(t.dataIndex);return{pointStyle:n.pointStyle,rotation:n.rotation}},afterLabel:r.aF,afterBody:r.aF,beforeFooter:r.aF,footer:r.aF,afterFooter:r.aF};function Ur(t,e,n,r){const i=t[e].call(n,r);return"undefined"===typeof i?zr[e].call(n,r):i}class Hr extends Yt{static positioners=Mr;constructor(t){super(),this.opacity=0,this._active=[],this._eventPosition=void 0,this._size=void 0,this._cachedAnimations=void 0,this._tooltipItems=[],this.$animations=void 0,this.$context=void 0,this.chart=t.chart,this.options=t.options,this.dataPoints=void 0,this.title=void 0,this.beforeBody=void 0,this.body=void 0,this.afterBody=void 0,this.footer=void 0,this.xAlign=void 0,this.yAlign=void 0,this.x=void 0,this.y=void 0,this.height=void 0,this.width=void 0,this.caretX=void 0,this.caretY=void 0,this.labelColors=void 0,this.labelPointStyles=void 0,this.labelTextColors=void 0}initialize(t){this.options=t,this._cachedAnimations=void 0,this.$context=void 0}_resolveAnimations(){const t=this._cachedAnimations;if(t)return t;const e=this.chart,n=this.options.setContext(this.getContext()),r=n.enabled&&e.options.animation&&n.animations,i=new c(this.chart,r);return r._cacheable&&(this._cachedAnimations=Object.freeze(i)),i}getContext(){return this.$context||(this.$context=Rr(this.chart.getContext(),this,this._tooltipItems))}getTitle(t,e){const{callbacks:n}=e,r=Ur(n,"beforeTitle",this,t),i=Ur(n,"title",this,t),o=Ur(n,"afterTitle",this,t);let s=[];return s=Er(s,Sr(r)),s=Er(s,Sr(i)),s=Er(s,Sr(o)),s}getBeforeBody(t,e){return Fr(Ur(e.callbacks,"beforeBody",this,t))}getBody(t,e){const{callbacks:n}=e,i=[];return(0,r.F)(t,(t=>{const e={before:[],lines:[],after:[]},r=Wr(n,t);Er(e.before,Sr(Ur(r,"beforeLabel",this,t))),Er(e.lines,Ur(r,"label",this,t)),Er(e.after,Sr(Ur(r,"afterLabel",this,t))),i.push(e)})),i}getAfterBody(t,e){return Fr(Ur(e.callbacks,"afterBody",this,t))}getFooter(t,e){const{callbacks:n}=e,r=Ur(n,"beforeFooter",this,t),i=Ur(n,"footer",this,t),o=Ur(n,"afterFooter",this,t);let s=[];return s=Er(s,Sr(r)),s=Er(s,Sr(i)),s=Er(s,Sr(o)),s}_createItems(t){const e=this._active,n=this.chart.data,i=[],o=[],s=[];let a,l,c=[];for(a=0,l=e.length;a<l;++a)c.push(Or(this.chart,e[a]));return t.filter&&(c=c.filter(((e,r,i)=>t.filter(e,r,i,n)))),t.itemSort&&(c=c.sort(((e,r)=>t.itemSort(e,r,n)))),(0,r.F)(c,(e=>{const n=Wr(t.callbacks,e);i.push(Ur(n,"labelColor",this,e)),o.push(Ur(n,"labelPointStyle",this,e)),s.push(Ur(n,"labelTextColor",this,e))})),this.labelColors=i,this.labelPointStyles=o,this.labelTextColors=s,this.dataPoints=c,c}update(t,e){const n=this.options.setContext(this.getContext()),r=this._active;let i,o=[];if(r.length){const t=Mr[n.position].call(this,r,this._eventPosition);o=this._createItems(n),this.title=this.getTitle(o,n),this.beforeBody=this.getBeforeBody(o,n),this.body=this.getBody(o,n),this.afterBody=this.getAfterBody(o,n),this.footer=this.getFooter(o,n);const e=this._size=Tr(this,n),s=Object.assign({},t,e),a=Dr(this.chart,n,s),l=Nr(n,s,a,this.chart);this.xAlign=a.xAlign,this.yAlign=a.yAlign,i={opacity:1,x:l.x,y:l.y,width:e.width,height:e.height,caretX:t.x,caretY:t.y}}else 0!==this.opacity&&(i={opacity:0});this._tooltipItems=o,this.$context=void 0,i&&this._resolveAnimations().update(this,i),t&&n.external&&n.external.call(this,{chart:this.chart,tooltip:this,replay:e})}drawCaret(t,e,n,r){const i=this.getCaretPosition(t,n,r);e.lineTo(i.x1,i.y1),e.lineTo(i.x2,i.y2),e.lineTo(i.x3,i.y3)}getCaretPosition(t,e,n){const{xAlign:i,yAlign:o}=this,{caretSize:s,cornerRadius:a}=n,{topLeft:l,topRight:c,bottomLeft:u,bottomRight:h}=(0,r.aw)(a),{x:d,y:f}=t,{width:p,height:g}=e;let m,b,v,y,_,x;return"center"===o?(_=f+g/2,"left"===i?(m=d,b=m-s,y=_+s,x=_-s):(m=d+p,b=m+s,y=_-s,x=_+s),v=m):(b="left"===i?d+Math.max(l,u)+s:"right"===i?d+p-Math.max(c,h)-s:this.caretX,"top"===o?(y=f,_=y-s,m=b-s,v=b+s):(y=f+g,_=y+s,m=b+s,v=b-s),x=y),{x1:m,x2:b,x3:v,y1:y,y2:_,y3:x}}drawTitle(t,e,n){const i=this.title,o=i.length;let s,a,l;if(o){const c=(0,r.az)(n.rtl,this.x,this.width);for(t.x=jr(this,n.titleAlign,n),e.textAlign=c.textAlign(n.titleAlign),e.textBaseline="middle",s=(0,r.a0)(n.titleFont),a=n.titleSpacing,e.fillStyle=n.titleColor,e.font=s.string,l=0;l<o;++l)e.fillText(i[l],c.x(t.x),t.y+s.lineHeight/2),t.y+=s.lineHeight+a,l+1===o&&(t.y+=n.titleMarginBottom-a)}}_drawColorBox(t,e,n,i,o){const s=this.labelColors[n],a=this.labelPointStyles[n],{boxHeight:l,boxWidth:c,boxPadding:u}=o,h=(0,r.a0)(o.bodyFont),d=jr(this,"left",o),f=i.x(d),p=l<h.lineHeight?(h.lineHeight-l)/2:0,g=e.y+p;if(o.usePointStyle){const e={radius:Math.min(c,l)/2,pointStyle:a.pointStyle,rotation:a.rotation,borderWidth:1},n=i.leftForLtr(f,c)+c/2,u=g+l/2;t.strokeStyle=o.multiKeyBackground,t.fillStyle=o.multiKeyBackground,(0,r.at)(t,e,n,u),t.strokeStyle=s.borderColor,t.fillStyle=s.backgroundColor,(0,r.at)(t,e,n,u)}else{t.lineWidth=(0,r.i)(s.borderWidth)?Math.max(...Object.values(s.borderWidth)):s.borderWidth||1,t.strokeStyle=s.borderColor,t.setLineDash(s.borderDash||[]),t.lineDashOffset=s.borderDashOffset||0;const e=i.leftForLtr(f,c-u),n=i.leftForLtr(i.xPlus(f,1),c-u-2),a=(0,r.aw)(s.borderRadius);Object.values(a).some((t=>0!==t))?(t.beginPath(),t.fillStyle=o.multiKeyBackground,(0,r.au)(t,{x:e,y:g,w:c,h:l,radius:a}),t.fill(),t.stroke(),t.fillStyle=s.backgroundColor,t.beginPath(),(0,r.au)(t,{x:n,y:g+1,w:c-2,h:l-2,radius:a}),t.fill()):(t.fillStyle=o.multiKeyBackground,t.fillRect(e,g,c,l),t.strokeRect(e,g,c,l),t.fillStyle=s.backgroundColor,t.fillRect(n,g+1,c-2,l-2))}t.fillStyle=this.labelTextColors[n]}drawBody(t,e,n){const{body:i}=this,{bodySpacing:o,bodyAlign:s,displayColors:a,boxHeight:l,boxWidth:c,boxPadding:u}=n,h=(0,r.a0)(n.bodyFont);let d=h.lineHeight,f=0;const p=(0,r.az)(n.rtl,this.x,this.width),g=function(n){e.fillText(n,p.x(t.x+f),t.y+d/2),t.y+=d+o},m=p.textAlign(s);let b,v,y,_,x,w,k;for(e.textAlign=s,e.textBaseline="middle",e.font=h.string,t.x=jr(this,m,n),e.fillStyle=n.bodyColor,(0,r.F)(this.beforeBody,g),f=a&&"right"!==m?"center"===s?c/2+u:c+2+u:0,_=0,w=i.length;_<w;++_){for(b=i[_],v=this.labelTextColors[_],e.fillStyle=v,(0,r.F)(b.before,g),y=b.lines,a&&y.length&&(this._drawColorBox(e,t,_,p,n),d=Math.max(h.lineHeight,l)),x=0,k=y.length;x<k;++x)g(y[x]),d=h.lineHeight;(0,r.F)(b.after,g)}f=0,d=h.lineHeight,(0,r.F)(this.afterBody,g),t.y-=o}drawFooter(t,e,n){const i=this.footer,o=i.length;let s,a;if(o){const l=(0,r.az)(n.rtl,this.x,this.width);for(t.x=jr(this,n.footerAlign,n),t.y+=n.footerMarginTop,e.textAlign=l.textAlign(n.footerAlign),e.textBaseline="middle",s=(0,r.a0)(n.footerFont),e.fillStyle=n.footerColor,e.font=s.string,a=0;a<o;++a)e.fillText(i[a],l.x(t.x),t.y+s.lineHeight/2),t.y+=s.lineHeight+n.footerSpacing}}drawBackground(t,e,n,i){const{xAlign:o,yAlign:s}=this,{x:a,y:l}=t,{width:c,height:u}=n,{topLeft:h,topRight:d,bottomLeft:f,bottomRight:p}=(0,r.aw)(i.cornerRadius);e.fillStyle=i.backgroundColor,e.strokeStyle=i.borderColor,e.lineWidth=i.borderWidth,e.beginPath(),e.moveTo(a+h,l),"top"===s&&this.drawCaret(t,e,n,i),e.lineTo(a+c-d,l),e.quadraticCurveTo(a+c,l,a+c,l+d),"center"===s&&"right"===o&&this.drawCaret(t,e,n,i),e.lineTo(a+c,l+u-p),e.quadraticCurveTo(a+c,l+u,a+c-p,l+u),"bottom"===s&&this.drawCaret(t,e,n,i),e.lineTo(a+f,l+u),e.quadraticCurveTo(a,l+u,a,l+u-f),"center"===s&&"left"===o&&this.drawCaret(t,e,n,i),e.lineTo(a,l+h),e.quadraticCurveTo(a,l,a+h,l),e.closePath(),e.fill(),i.borderWidth>0&&e.stroke()}_updateAnimationTarget(t){const e=this.chart,n=this.$animations,r=n&&n.x,i=n&&n.y;if(r||i){const n=Mr[t.position].call(this,this._active,this._eventPosition);if(!n)return;const o=this._size=Tr(this,t),s=Object.assign({},n,this._size),a=Dr(e,t,s),l=Nr(t,s,a,e);r._to===l.x&&i._to===l.y||(this.xAlign=a.xAlign,this.yAlign=a.yAlign,this.width=o.width,this.height=o.height,this.caretX=n.x,this.caretY=n.y,this._resolveAnimations().update(this,l))}}_willRender(){return!!this.opacity}draw(t){const e=this.options.setContext(this.getContext());let n=this.opacity;if(!n)return;this._updateAnimationTarget(e);const i={width:this.width,height:this.height},o={x:this.x,y:this.y};n=Math.abs(n)<.001?0:n;const s=(0,r.E)(e.padding),a=this.title.length||this.beforeBody.length||this.body.length||this.afterBody.length||this.footer.length;e.enabled&&a&&(t.save(),t.globalAlpha=n,this.drawBackground(o,t,i,e),(0,r.aA)(t,e.textDirection),o.y+=s.top,this.drawTitle(o,t,e),this.drawBody(o,t,e),this.drawFooter(o,t,e),(0,r.aC)(t,e.textDirection),t.restore())}getActiveElements(){return this._active||[]}setActiveElements(t,e){const n=this._active,i=t.map((({datasetIndex:t,index:e})=>{const n=this.chart.getDatasetMeta(t);if(!n)throw new Error("Cannot find a dataset at index "+t);return{datasetIndex:t,element:n.data[e],index:e}})),o=!(0,r.ah)(n,i),s=this._positionChanged(i,e);(o||s)&&(this._active=i,this._eventPosition=e,this._ignoreReplayEvents=!0,this.update(!0))}handleEvent(t,e,n=!0){if(e&&this._ignoreReplayEvents)return!1;this._ignoreReplayEvents=!1;const i=this.options,o=this._active||[],s=this._getActiveElements(t,o,e,n),a=this._positionChanged(s,t),l=e||!(0,r.ah)(s,o)||a;return l&&(this._active=s,(i.enabled||i.external)&&(this._eventPosition={x:t.x,y:t.y},this.update(!0,e))),l}_getActiveElements(t,e,n,r){const i=this.options;if("mouseout"===t.type)return[];if(!r)return e;const o=this.chart.getElementsAtEventForMode(t,i.mode,i,n);return i.reverse&&o.reverse(),o}_positionChanged(t,e){const{caretX:n,caretY:r,options:i}=this,o=Mr[i.position].call(this,t,e);return!1!==o&&(n!==o.x||r!==o.y)}}var Br={id:"tooltip",_element:Hr,positioners:Mr,afterInit(t,e,n){n&&(t.tooltip=new Hr({chart:t,options:n}))},beforeUpdate(t,e,n){t.tooltip&&t.tooltip.initialize(n)},reset(t,e,n){t.tooltip&&t.tooltip.initialize(n)},afterDraw(t){const e=t.tooltip;if(e&&e._willRender()){const n={tooltip:e};if(!1===t.notifyPlugins("beforeTooltipDraw",{...n,cancelable:!0}))return;e.draw(t.ctx),t.notifyPlugins("afterTooltipDraw",n)}},afterEvent(t,e){if(t.tooltip){const n=e.replay;t.tooltip.handleEvent(e.event,n,e.inChartArea)&&(e.changed=!0)}},defaults:{enabled:!0,external:null,position:"average",backgroundColor:"rgba(0,0,0,0.8)",titleColor:"#fff",titleFont:{weight:"bold"},titleSpacing:2,titleMarginBottom:6,titleAlign:"left",bodyColor:"#fff",bodySpacing:2,bodyFont:{},bodyAlign:"left",footerColor:"#fff",footerSpacing:2,footerMarginTop:6,footerFont:{weight:"bold"},footerAlign:"left",padding:6,caretPadding:2,caretSize:5,cornerRadius:6,boxHeight:(t,e)=>e.bodyFont.size,boxWidth:(t,e)=>e.bodyFont.size,multiKeyBackground:"#fff",displayColors:!0,boxPadding:0,borderColor:"rgba(0,0,0,0)",borderWidth:0,animation:{duration:400,easing:"easeOutQuart"},animations:{numbers:{type:"number",properties:["x","y","width","height","caretX","caretY"]},opacity:{easing:"linear",duration:200}},callbacks:zr},defaultRoutes:{bodyFont:"font",footerFont:"font",titleFont:"font"},descriptors:{_scriptable:t=>"filter"!==t&&"itemSort"!==t&&"external"!==t,_indexable:!1,callbacks:{_scriptable:!1,_indexable:!1},animation:{_fallback:!1},animations:{_fallback:"animation"}},additionalOptionScopes:["interaction"]};const Vr=(t,e,n,r)=>("string"===typeof e?(n=t.push(e)-1,r.unshift({index:n,label:e})):isNaN(e)&&(n=null),n);function $r(t,e,n,r){const i=t.indexOf(e);if(-1===i)return Vr(t,e,n,r);const o=t.lastIndexOf(e);return i!==o?n:i}const Zr=(t,e)=>null===t?null:(0,r.S)(Math.round(t),0,e);function Yr(t){const e=this.getLabels();return t>=0&&t<e.length?e[t]:t}class qr extends fe{static id="category";static defaults={ticks:{callback:Yr}};constructor(t){super(t),this._startValue=void 0,this._valueRange=0,this._addedLabels=[]}init(t){const e=this._addedLabels;if(e.length){const t=this.getLabels();for(const{index:n,label:r}of e)t[n]===r&&t.splice(n,1);this._addedLabels=[]}super.init(t)}parse(t,e){if((0,r.k)(t))return null;const n=this.getLabels();return e=isFinite(e)&&n[e]===t?e:$r(n,t,(0,r.v)(e,t),this._addedLabels),Zr(e,n.length-1)}determineDataLimits(){const{minDefined:t,maxDefined:e}=this.getUserBounds();let{min:n,max:r}=this.getMinMax(!0);"ticks"===this.options.bounds&&(t||(n=0),e||(r=this.getLabels().length-1)),this.min=n,this.max=r}buildTicks(){const t=this.min,e=this.max,n=this.options.offset,r=[];let i=this.getLabels();i=0===t&&e===i.length-1?i:i.slice(t,e+1),this._valueRange=Math.max(i.length-(n?0:1),1),this._startValue=this.min-(n?.5:0);for(let o=t;o<=e;o++)r.push({value:o});return r}getLabelForValue(t){return Yr.call(this,t)}configure(){super.configure(),this.isHorizontal()||(this._reversePixels=!this._reversePixels)}getPixelForValue(t){return"number"!==typeof t&&(t=this.parse(t)),null===t?NaN:this.getPixelForDecimal((t-this._startValue)/this._valueRange)}getPixelForTick(t){const e=this.ticks;return t<0||t>e.length-1?null:this.getPixelForValue(e[t].value)}getValueForPixel(t){return Math.round(this._startValue+this.getDecimalForPixel(t)*this._valueRange)}getBasePixel(){return this.bottom}}function Xr(t,e){const n=[],i=1e-14,{bounds:o,step:s,min:a,max:l,precision:c,count:u,maxTicks:h,maxDigits:d,includeBounds:f}=t,p=s||1,g=h-1,{min:m,max:b}=e,v=!(0,r.k)(a),y=!(0,r.k)(l),_=!(0,r.k)(u),x=(b-m)/(d+1);let w,k,M,E,S=(0,r.aH)((b-m)/g/p)*p;if(S<i&&!v&&!y)return[{value:m},{value:b}];E=Math.ceil(b/S)-Math.floor(m/S),E>g&&(S=(0,r.aH)(E*S/g/p)*p),(0,r.k)(c)||(w=Math.pow(10,c),S=Math.ceil(S*w)/w),"ticks"===o?(k=Math.floor(m/S)*S,M=Math.ceil(b/S)*S):(k=m,M=b),v&&y&&s&&(0,r.aI)((l-a)/s,S/1e3)?(E=Math.round(Math.min((l-a)/S,h)),S=(l-a)/E,k=a,M=l):_?(k=v?a:k,M=y?l:M,E=u-1,S=(M-k)/E):(E=(M-k)/S,E=(0,r.aJ)(E,Math.round(E),S/1e3)?Math.round(E):Math.ceil(E));const O=Math.max((0,r.aK)(S),(0,r.aK)(k));w=Math.pow(10,(0,r.k)(c)?O:c),k=Math.round(k*w)/w,M=Math.round(M*w)/w;let T=0;for(v&&(f&&k!==a?(n.push({value:a}),k<a&&T++,(0,r.aJ)(Math.round((k+T*S)*w)/w,a,Gr(a,x,t))&&T++):k<a&&T++);T<E;++T)n.push({value:Math.round((k+T*S)*w)/w});return y&&f&&M!==l?n.length&&(0,r.aJ)(n[n.length-1].value,l,Gr(l,x,t))?n[n.length-1].value=l:n.push({value:l}):y&&M!==l||n.push({value:M}),n}function Gr(t,e,{horizontal:n,minRotation:i}){const o=(0,r.t)(i),s=(n?Math.sin(o):Math.cos(o))||.001,a=.75*e*(""+t).length;return Math.min(e/s,a)}class Jr extends fe{constructor(t){super(t),this.start=void 0,this.end=void 0,this._startValue=void 0,this._endValue=void 0,this._valueRange=0}parse(t,e){return(0,r.k)(t)||("number"===typeof t||t instanceof Number)&&!isFinite(+t)?null:+t}handleTickRangeOptions(){const{beginAtZero:t}=this.options,{minDefined:e,maxDefined:n}=this.getUserBounds();let{min:i,max:o}=this;const s=t=>i=e?i:t,a=t=>o=n?o:t;if(t){const t=(0,r.s)(i),e=(0,r.s)(o);t<0&&e<0?a(0):t>0&&e>0&&s(0)}if(i===o){let e=0===o?1:Math.abs(.05*o);a(o+e),t||s(i-e)}this.min=i,this.max=o}getTickLimit(){const t=this.options.ticks;let e,{maxTicksLimit:n,stepSize:r}=t;return r?(e=Math.ceil(this.max/r)-Math.floor(this.min/r)+1,e>1e3&&(console.warn(`scales.${this.id}.ticks.stepSize: ${r} would result generating up to ${e} ticks. Limiting to 1000.`),e=1e3)):(e=this.computeTickLimit(),n=n||11),n&&(e=Math.min(n,e)),e}computeTickLimit(){return Number.POSITIVE_INFINITY}buildTicks(){const t=this.options,e=t.ticks;let n=this.getTickLimit();n=Math.max(2,n);const i={maxTicks:n,bounds:t.bounds,min:t.min,max:t.max,precision:e.precision,step:e.stepSize,count:e.count,maxDigits:this._maxDigits(),horizontal:this.isHorizontal(),minRotation:e.minRotation||0,includeBounds:!1!==e.includeBounds},o=this._range||this,s=Xr(i,o);return"ticks"===t.bounds&&(0,r.aG)(s,this,"value"),t.reverse?(s.reverse(),this.start=this.max,this.end=this.min):(this.start=this.min,this.end=this.max),s}configure(){const t=this.ticks;let e=this.min,n=this.max;if(super.configure(),this.options.offset&&t.length){const r=(n-e)/Math.max(t.length-1,1)/2;e-=r,n+=r}this._startValue=e,this._endValue=n,this._valueRange=n-e}getLabelForValue(t){return(0,r.o)(t,this.chart.options.locale,this.options.ticks.format)}}class Kr extends Jr{static id="linear";static defaults={ticks:{callback:r.aL.formatters.numeric}};determineDataLimits(){const{min:t,max:e}=this.getMinMax(!0);this.min=(0,r.g)(t)?t:0,this.max=(0,r.g)(e)?e:1,this.handleTickRangeOptions()}computeTickLimit(){const t=this.isHorizontal(),e=t?this.width:this.height,n=(0,r.t)(this.options.ticks.minRotation),i=(t?Math.sin(n):Math.cos(n))||.001,o=this._resolveTickFontOptions(0);return Math.ceil(e/Math.min(40,o.lineHeight/i))}getPixelForValue(t){return null===t?NaN:this.getPixelForDecimal((t-this._startValue)/this._valueRange)}getValueForPixel(t){return this._startValue+this.getDecimalForPixel(t)*this._valueRange}}class Qr extends fe{static id="logarithmic";static defaults={ticks:{callback:r.aL.formatters.logarithmic,major:{enabled:!0}}};constructor(t){super(t),this.start=void 0,this.end=void 0,this._startValue=void 0,this._valueRange=0}parse(t,e){const n=Jr.prototype.parse.apply(this,[t,e]);if(0!==n)return(0,r.g)(n)&&n>0?n:null;this._zero=!0}determineDataLimits(){const{min:t,max:e}=this.getMinMax(!0);this.min=(0,r.g)(t)?Math.max(0,t):null,this.max=(0,r.g)(e)?Math.max(0,e):null,this.options.beginAtZero&&(this._zero=!0),this._zero&&this.min!==this._suggestedMin&&!(0,r.g)(this._userMin)&&(this.min=t===changeExponent(this.min,0)?changeExponent(this.min,-1):changeExponent(this.min,0)),this.handleTickRangeOptions()}handleTickRangeOptions(){const{minDefined:t,maxDefined:e}=this.getUserBounds();let n=this.min,r=this.max;const i=e=>t?n:e,o=t=>e?r:t;n===r&&(n<=0?(i(1),o(10)):(i(changeExponent(n,-1)),o(changeExponent(r,1)))),n<=0&&i(changeExponent(r,-1)),r<=0&&o(changeExponent(n,1)),this.min=n,this.max=r}buildTicks(){const t=this.options,e={min:this._userMin,max:this._userMax},n=generateTicks(e,this);return"ticks"===t.bounds&&(0,r.aG)(n,this,"value"),t.reverse?(n.reverse(),this.start=this.max,this.end=this.min):(this.start=this.min,this.end=this.max),n}getLabelForValue(t){return void 0===t?"0":(0,r.o)(t,this.chart.options.locale,this.options.ticks.format)}configure(){const t=this.min;super.configure(),this._startValue=(0,r.aM)(t),this._valueRange=(0,r.aM)(this.max)-(0,r.aM)(t)}getPixelForValue(t){return void 0!==t&&0!==t||this.min,null===t||isNaN(t)?NaN:this.getPixelForDecimal(t===this.min?0:((0,r.aM)(t)-this._startValue)/this._valueRange)}getValueForPixel(t){const e=this.getDecimalForPixel(t);return Math.pow(10,this._startValue+e*this._valueRange)}}class ti extends Jr{static id="radialLinear";static defaults={display:!0,animate:!0,position:"chartArea",angleLines:{display:!0,lineWidth:1,borderDash:[],borderDashOffset:0},grid:{circular:!1},startAngle:0,ticks:{showLabelBackdrop:!0,callback:r.aL.formatters.numeric},pointLabels:{backdropColor:void 0,backdropPadding:2,display:!0,font:{size:10},callback(t){return t},padding:5,centerPointLabels:!1}};static defaultRoutes={"angleLines.color":"borderColor","pointLabels.color":"color","ticks.color":"color"};static descriptors={angleLines:{_fallback:"grid"}};constructor(t){super(t),this.xCenter=void 0,this.yCenter=void 0,this.drawingArea=void 0,this._pointLabels=[],this._pointLabelItems=[]}setDimensions(){const t=this._padding=(0,r.E)(getTickBackdropHeight(this.options)/2),e=this.width=this.maxWidth-t.width,n=this.height=this.maxHeight-t.height;this.xCenter=Math.floor(this.left+e/2+t.left),this.yCenter=Math.floor(this.top+n/2+t.top),this.drawingArea=Math.floor(Math.min(e,n)/2)}determineDataLimits(){const{min:t,max:e}=this.getMinMax(!1);this.min=(0,r.g)(t)&&!isNaN(t)?t:0,this.max=(0,r.g)(e)&&!isNaN(e)?e:0,this.handleTickRangeOptions()}computeTickLimit(){return Math.ceil(this.drawingArea/getTickBackdropHeight(this.options))}generateTickLabels(t){Jr.prototype.generateTickLabels.call(this,t),this._pointLabels=this.getLabels().map(((t,e)=>{const n=(0,r.Q)(this.options.pointLabels.callback,[t,e],this);return n||0===n?n:""})).filter(((t,e)=>this.chart.getDataVisibility(e)))}fit(){const t=this.options;t.display&&t.pointLabels.display?fitWithPointLabels(this):this.setCenterPoint(0,0,0,0)}setCenterPoint(t,e,n,r){this.xCenter+=Math.floor((t-e)/2),this.yCenter+=Math.floor((n-r)/2),this.drawingArea-=Math.min(this.drawingArea/2,Math.max(t,e,n,r))}getIndexAngle(t){const e=r.T/(this._pointLabels.length||1),n=this.options.startAngle||0;return(0,r.ay)(t*e+(0,r.t)(n))}getDistanceFromCenterForValue(t){if((0,r.k)(t))return NaN;const e=this.drawingArea/(this.max-this.min);return this.options.reverse?(this.max-t)*e:(t-this.min)*e}getValueForDistanceFromCenter(t){if((0,r.k)(t))return NaN;const e=t/(this.drawingArea/(this.max-this.min));return this.options.reverse?this.max-e:this.min+e}getPointLabelContext(t){const e=this._pointLabels||[];if(t>=0&&t<e.length){const n=e[t];return createPointLabelContext(this.getContext(),t,n)}}getPointPosition(t,e,n=0){const i=this.getIndexAngle(t)-r.H+n;return{x:Math.cos(i)*e+this.xCenter,y:Math.sin(i)*e+this.yCenter,angle:i}}getPointPositionForValue(t,e){return this.getPointPosition(t,this.getDistanceFromCenterForValue(e))}getBasePosition(t){return this.getPointPositionForValue(t||0,this.getBaseValue())}getPointLabelPosition(t){const{left:e,top:n,right:r,bottom:i}=this._pointLabelItems[t];return{left:e,top:n,right:r,bottom:i}}drawBackground(){const{backgroundColor:t,grid:{circular:e}}=this.options;if(t){const n=this.ctx;n.save(),n.beginPath(),pathRadiusLine(this,this.getDistanceFromCenterForValue(this._endValue),e,this._pointLabels.length),n.closePath(),n.fillStyle=t,n.fill(),n.restore()}}drawGrid(){const t=this.ctx,e=this.options,{angleLines:n,grid:r,border:i}=e,o=this._pointLabels.length;let s,a,l;if(e.pointLabels.display&&drawPointLabels(this,o),r.display&&this.ticks.forEach(((t,e)=>{if(0!==e){this.getDistanceFromCenterForValue(t.value);const n=this.getContext(e),s=r.setContext(n),l=i.setContext(n);drawRadiusLine(this,s,a,o,l)}})),n.display){for(t.save(),o-1;s>=0;s--){const r=n.setContext(this.getPointLabelContext(s)),{color:i,lineWidth:o}=r;o&&i&&(t.lineWidth=o,t.strokeStyle=i,t.setLineDash(r.borderDash),t.lineDashOffset=r.borderDashOffset,this.getDistanceFromCenterForValue(e.ticks.reverse?this.min:this.max),this.getPointPosition(s,a),t.beginPath(),t.moveTo(this.xCenter,this.yCenter),t.lineTo(l.x,l.y),t.stroke())}t.restore()}}drawBorder(){}drawLabels(){const t=this.ctx,e=this.options,n=e.ticks;if(!n.display)return;const i=this.getIndexAngle(0);let o,s;t.save(),t.translate(this.xCenter,this.yCenter),t.rotate(i),t.textAlign="center",t.textBaseline="middle",this.ticks.forEach(((i,a)=>{if(0===a&&!e.reverse)return;const l=n.setContext(this.getContext(a)),c=(0,r.a0)(l.font);if(this.getDistanceFromCenterForValue(this.ticks[a].value),l.showLabelBackdrop){t.font=c.string,t.measureText(i.label).width,t.fillStyle=l.backdropColor;const e=(0,r.E)(l.backdropPadding);t.fillRect(-s/2-e.left,-o-c.size/2-e.top,s+e.width,c.size+e.height)}(0,r.Z)(t,i.label,0,-o,c,{color:l.color})})),t.restore()}drawTitle(){}}const ei={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}},ni=Object.keys(ei);function ri(t,e){return t-e}function ii(t,e){if((0,r.k)(e))return null;const n=t._adapter,{parser:i,round:o,isoWeekday:s}=t._parseOpts;let a=e;return"function"===typeof i&&(a=i(a)),(0,r.g)(a)||(a="string"===typeof i?n.parse(a,i):n.parse(a)),null===a?null:(o&&(a="week"!==o||!(0,r.x)(s)&&!0!==s?n.startOf(a,o):n.startOf(a,"isoWeek",s)),+a)}function oi(t,e,n,r){const i=ni.length;for(let o=ni.indexOf(t);o<i-1;++o){const t=ei[ni[o]],i=t.steps?t.steps:Number.MAX_SAFE_INTEGER;if(t.common&&Math.ceil((n-e)/(i*t.size))<=r)return ni[o]}return ni[i-1]}function si(t,e,n,r,i){for(let o=ni.length-1;o>=ni.indexOf(n);o--){const n=ni[o];if(ei[n].common&&t._adapter.diff(i,r,n)>=e-1)return n}return ni[n?ni.indexOf(n):0]}function ai(t){for(let e=ni.indexOf(t)+1,n=ni.length;e<n;++e)if(ei[ni[e]].common)return ni[e]}function li(t,e,n){if(n){if(n.length){const{lo:i,hi:o}=(0,r.aP)(n,e),s=n[i]>=e?n[i]:n[o];t[s]=!0}}else t[e]=!0}function ci(t,e,n,r){const i=t._adapter,o=+i.startOf(e[0].value,r),s=e[e.length-1].value;let a,l;for(a=o;a<=s;a=+i.add(a,1,r))l=n[a],l>=0&&(e[l].major=!0);return e}function ui(t,e,n){const r=[],i={},o=e.length;let s,a;for(s=0;s<o;++s)a=e[s],i[a]=s,r.push({value:a,major:!1});return 0!==o&&n?ci(t,r,i,n):r}class hi extends fe{static id="time";static defaults={bounds:"data",adapters:{},time:{parser:!1,unit:!1,round:!1,isoWeekday:!1,minUnit:"millisecond",displayFormats:{}},ticks:{source:"auto",callback:!1,major:{enabled:!1}}};constructor(t){super(t),this._cache={data:[],labels:[],all:[]},this._unit="day",this._majorUnit=void 0,this._offsets={},this._normalized=!1,this._parseOpts=void 0}init(t,e={}){const n=t.time||(t.time={}),i=this._adapter=new J._date(t.adapters.date);i.init(e),(0,r.ab)(n.displayFormats,i.formats()),this._parseOpts={parser:n.parser,round:n.round,isoWeekday:n.isoWeekday},super.init(t),this._normalized=e.normalized}parse(t,e){return void 0===t?null:ii(this,t)}beforeLayout(){super.beforeLayout(),this._cache={data:[],labels:[],all:[]}}determineDataLimits(){const t=this.options,e=this._adapter,n=t.time.unit||"day";let{min:i,max:o,minDefined:s,maxDefined:a}=this.getUserBounds();function l(t){s||isNaN(t.min)||(i=Math.min(i,t.min)),a||isNaN(t.max)||(o=Math.max(o,t.max))}s&&a||(l(this._getLabelBounds()),"ticks"===t.bounds&&"labels"===t.ticks.source||l(this.getMinMax(!1))),i=(0,r.g)(i)&&!isNaN(i)?i:+e.startOf(Date.now(),n),o=(0,r.g)(o)&&!isNaN(o)?o:+e.endOf(Date.now(),n)+1,this.min=Math.min(i,o-1),this.max=Math.max(i+1,o)}_getLabelBounds(){const t=this.getLabelTimestamps();let e=Number.POSITIVE_INFINITY,n=Number.NEGATIVE_INFINITY;return t.length&&(e=t[0],n=t[t.length-1]),{min:e,max:n}}buildTicks(){const t=this.options,e=t.time,n=t.ticks,i="labels"===n.source?this.getLabelTimestamps():this._generate();"ticks"===t.bounds&&i.length&&(this.min=this._userMin||i[0],this.max=this._userMax||i[i.length-1]);const o=this.min,s=this.max,a=(0,r.aO)(i,o,s);return this._unit=e.unit||(n.autoSkip?oi(e.minUnit,this.min,this.max,this._getLabelCapacity(o)):si(this,a.length,e.minUnit,this.min,this.max)),this._majorUnit=n.major.enabled&&"year"!==this._unit?ai(this._unit):void 0,this.initOffsets(i),t.reverse&&a.reverse(),ui(this,a,this._majorUnit)}afterAutoSkip(){this.options.offsetAfterAutoskip&&this.initOffsets(this.ticks.map((t=>+t.value)))}initOffsets(t=[]){let e,n,i=0,o=0;this.options.offset&&t.length&&(e=this.getDecimalForValue(t[0]),i=1===t.length?1-e:(this.getDecimalForValue(t[1])-e)/2,n=this.getDecimalForValue(t[t.length-1]),o=1===t.length?n:(n-this.getDecimalForValue(t[t.length-2]))/2);const s=t.length<3?.5:.25;i=(0,r.S)(i,0,s),o=(0,r.S)(o,0,s),this._offsets={start:i,end:o,factor:1/(i+1+o)}}_generate(){const t=this._adapter,e=this.min,n=this.max,i=this.options,o=i.time,s=o.unit||oi(o.minUnit,e,n,this._getLabelCapacity(e)),a=(0,r.v)(i.ticks.stepSize,1),l="week"===s&&o.isoWeekday,c=(0,r.x)(l)||!0===l,u={};let h,d,f=e;if(c&&(f=+t.startOf(f,"isoWeek",l)),f=+t.startOf(f,c?"day":s),t.diff(n,e,s)>1e5*a)throw new Error(e+" and "+n+" are too far apart with stepSize of "+a+" "+s);const p="data"===i.ticks.source&&this.getDataTimestamps();for(h=f,d=0;h<n;h=+t.add(h,a,s),d++)li(u,h,p);return h!==n&&"ticks"!==i.bounds&&1!==d||li(u,h,p),Object.keys(u).sort(((t,e)=>t-e)).map((t=>+t))}getLabelForValue(t){const e=this._adapter,n=this.options.time;return n.tooltipFormat?e.format(t,n.tooltipFormat):e.format(t,n.displayFormats.datetime)}format(t,e){const n=this.options,r=n.time.displayFormats,i=this._unit,o=e||r[i];return this._adapter.format(t,o)}_tickFormatFunction(t,e,n,i){const o=this.options,s=o.ticks.callback;if(s)return(0,r.Q)(s,[t,e,n],this);const a=o.time.displayFormats,l=this._unit,c=this._majorUnit,u=l&&a[l],h=c&&a[c],d=n[e],f=c&&h&&d&&d.major;return this._adapter.format(t,i||(f?h:u))}generateTickLabels(t){let e,n,r;for(e=0,n=t.length;e<n;++e)r=t[e],r.label=this._tickFormatFunction(r.value,e,t)}getDecimalForValue(t){return null===t?NaN:(t-this.min)/(this.max-this.min)}getPixelForValue(t){const e=this._offsets,n=this.getDecimalForValue(t);return this.getPixelForDecimal((e.start+n)*e.factor)}getValueForPixel(t){const e=this._offsets,n=this.getDecimalForPixel(t)/e.factor-e.end;return this.min+n*(this.max-this.min)}_getLabelSize(t){const e=this.options.ticks,n=this.ctx.measureText(t).width,i=(0,r.t)(this.isHorizontal()?e.maxRotation:e.minRotation),o=Math.cos(i),s=Math.sin(i),a=this._resolveTickFontOptions(0).size;return{w:n*o+a*s,h:n*s+a*o}}_getLabelCapacity(t){const e=this.options.time,n=e.displayFormats,r=n[e.unit]||n.millisecond,i=this._tickFormatFunction(t,0,ui(this,[t],this._majorUnit),r),o=this._getLabelSize(i),s=Math.floor(this.isHorizontal()?this.width/o.w:this.height/o.h)-1;return s>0?s:1}getDataTimestamps(){let t,e,n=this._cache.data||[];if(n.length)return n;const r=this.getMatchingVisibleMetas();if(this._normalized&&r.length)return this._cache.data=r[0].controller.getAllParsedValues(this);for(t=0,e=r.length;t<e;++t)n=n.concat(r[t].controller.getAllParsedValues(this));return this._cache.data=this.normalize(n)}getLabelTimestamps(){const t=this._cache.labels||[];let e,n;if(t.length)return t;const r=this.getLabels();for(e=0,n=r.length;e<n;++e)t.push(ii(this,r[e]));return this._cache.labels=this._normalized?t:this.normalize(t)}normalize(t){return(0,r._)(t.sort(ri))}}class di extends hi{static id="timeseries";static defaults=hi.defaults;constructor(t){super(t),this._table=[],this._minPos=void 0,this._tableRange=void 0}initOffsets(){const t=this._getTimestampsForTable(),e=this._table=this.buildLookupTable(t);this._minPos=interpolate(e,this.min),this._tableRange=interpolate(e,this.max)-this._minPos,super.initOffsets(t)}buildLookupTable(t){const{min:e,max:n}=this,r=[],i=[];let o,s,a,l,c;for(0,t.length;o<s;++o)t[o],l>=e&&l<=n&&r.push(l);if(r.length<2)return[{time:e,pos:0},{time:n,pos:1}];for(0,r.length;o<s;++o)r[o+1],r[o-1],r[o],Math.round((c+a)/2)!==l&&i.push({time:l,pos:o/(s-1)});return i}_getTimestampsForTable(){let t=this._cache.all||[];if(t.length)return t;const e=this.getDataTimestamps(),n=this.getLabelTimestamps();return e.length&&n.length?this.normalize(e.concat(n)):e.length?e:n,this._cache.all=t,t}getDecimalForValue(t){return(interpolate(this._table,t)-this._minPos)/this._tableRange}getValueForPixel(t){const e=this._offsets,n=this.getDecimalForPixel(t)/e.factor-e.end;return interpolate(this._table,n*this._tableRange+this._minPos,!0)}}},9676:function(t,e,n){"use strict";
/*!
* @kurkle/color v0.3.2
* https://github.com/kurkle/color#readme
* (c) 2023 Jukka Kurkela
* Released under the MIT License
*/
function r(t){return t+.5|0}n.d(e,{$:function(){return Ve},A:function(){return Jt},B:function(){return Gt},C:function(){return He},D:function(){return Ut},E:function(){return sn},F:function(){return ot},G:function(){return Qn},H:function(){return Ot},I:function(){return Hn},J:function(){return nr},K:function(){return er},L:function(){return ie},M:function(){return Un},N:function(){return It},O:function(){return tt},P:function(){return wt},Q:function(){return it},R:function(){return cn},S:function(){return Zt},T:function(){return kt},U:function(){return Wt},V:function(){return je},W:function(){return Yt},X:function(){return Re},Y:function(){return Be},Z:function(){return Ye},_:function(){return ne},a:function(){return ln},a0:function(){return an},a1:function(){return se},a2:function(){return ae},a3:function(){return Ce},a4:function(){return ut},a5:function(){return bt},a6:function(){return Pe},a7:function(){return yt},a8:function(){return dn},a9:function(){return hn},aA:function(){return cr},aB:function(){return le},aC:function(){return ur},aD:function(){return Ue},aE:function(){return Ht},aF:function(){return q},aG:function(){return Ft},aH:function(){return Lt},aI:function(){return jt},aJ:function(){return Dt},aK:function(){return zt},aL:function(){return Oe},aM:function(){return Pt},aN:function(){return Fe},aO:function(){return Kt},aP:function(){return Xt},aa:function(){return fn},ab:function(){return ht},ac:function(){return X},ad:function(){return oe},ae:function(){return tr},af:function(){return We},ag:function(){return _t},ah:function(){return st},ai:function(){return xt},aj:function(){return qt},ak:function(){return nn},al:function(){return zn},am:function(){return vr},an:function(){return gr},ao:function(){return ir},ap:function(){return or},aq:function(){return rr},ar:function(){return $e},as:function(){return Ze},at:function(){return ze},au:function(){return Je},av:function(){return rn},aw:function(){return on},ax:function(){return pr},ay:function(){return Vt},az:function(){return lr},b:function(){return J},c:function(){return me},d:function(){return Ie},e:function(){return pe},f:function(){return mt},g:function(){return Q},h:function(){return vt},i:function(){return K},j:function(){return un},k:function(){return G},l:function(){return te},m:function(){return nt},n:function(){return rt},o:function(){return Me},p:function(){return $t},q:function(){return ce},r:function(){return re},s:function(){return At},t:function(){return Rt},u:function(){return ee},v:function(){return et},w:function(){return ue},x:function(){return Nt},y:function(){return Pn},z:function(){return Gn}});const i=(t,e,n)=>Math.max(Math.min(t,n),e);function o(t){return i(r(2.55*t),0,255)}function s(t){return i(r(255*t),0,255)}function a(t){return i(r(t/2.55)/100,0,1)}function l(t){return i(r(100*t),0,100)}const c={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},u=[..."0123456789ABCDEF"],h=t=>u[15&t],d=t=>u[(240&t)>>4]+u[15&t],f=t=>(240&t)>>4===(15&t),p=t=>f(t.r)&&f(t.g)&&f(t.b)&&f(t.a);function g(t){var e,n=t.length;return"#"===t[0]&&(4===n||5===n?e={r:255&17*c[t[1]],g:255&17*c[t[2]],b:255&17*c[t[3]],a:5===n?17*c[t[4]]:255}:7!==n&&9!==n||(e={r:c[t[1]]<<4|c[t[2]],g:c[t[3]]<<4|c[t[4]],b:c[t[5]]<<4|c[t[6]],a:9===n?c[t[7]]<<4|c[t[8]]:255})),e}const m=(t,e)=>t<255?e(t):"";function b(t){var e=p(t)?h:d;return t?"#"+e(t.r)+e(t.g)+e(t.b)+m(t.a,e):void 0}const v=/^(hsla?|hwb|hsv)\(\s*([-+.e\d]+)(?:deg)?[\s,]+([-+.e\d]+)%[\s,]+([-+.e\d]+)%(?:[\s,]+([-+.e\d]+)(%)?)?\s*\)$/;function y(t,e,n){const r=e*Math.min(n,1-n),i=(e,i=(e+t/30)%12)=>n-r*Math.max(Math.min(i-3,9-i,1),-1);return[i(0),i(8),i(4)]}function _(t,e,n){const r=(r,i=(r+t/60)%6)=>n-n*e*Math.max(Math.min(i,4-i,1),0);return[r(5),r(3),r(1)]}function x(t,e,n){const r=y(t,1,.5);let i;for(e+n>1&&(i=1/(e+n),e*=i,n*=i),i=0;i<3;i++)r[i]*=1-e-n,r[i]+=e;return r}function w(t,e,n,r,i){return t===i?(e-n)/r+(e<n?6:0):e===i?(n-t)/r+2:(t-e)/r+4}function k(t){const e=255,n=t.r/e,r=t.g/e,i=t.b/e,o=Math.max(n,r,i),s=Math.min(n,r,i),a=(o+s)/2;let l,c,u;return o!==s&&(u=o-s,c=a>.5?u/(2-o-s):u/(o+s),l=w(n,r,i,u,o),l=60*l+.5),[0|l,c||0,a]}function M(t,e,n,r){return(Array.isArray(e)?t(e[0],e[1],e[2]):t(e,n,r)).map(s)}function E(t,e,n){return M(y,t,e,n)}function S(t,e,n){return M(x,t,e,n)}function O(t,e,n){return M(_,t,e,n)}function T(t){return(t%360+360)%360}function C(t){const e=v.exec(t);let n,r=255;if(!e)return;e[5]!==n&&(r=e[6]?o(+e[5]):s(+e[5]));const i=T(+e[2]),a=+e[3]/100,l=+e[4]/100;return n="hwb"===e[1]?S(i,a,l):"hsv"===e[1]?O(i,a,l):E(i,a,l),{r:n[0],g:n[1],b:n[2],a:r}}function P(t,e){var n=k(t);n[0]=T(n[0]+e),n=E(n),t.r=n[0],t.g=n[1],t.b=n[2]}function A(t){if(!t)return;const e=k(t),n=e[0],r=l(e[1]),i=l(e[2]);return t.a<255?`hsla(${n}, ${r}%, ${i}%, ${a(t.a)})`:`hsl(${n}, ${r}%, ${i}%)`}const D={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"},L={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"};function I(){const t={},e=Object.keys(L),n=Object.keys(D);let r,i,o,s,a;for(r=0;r<e.length;r++){for(s=a=e[r],i=0;i<n.length;i++)o=n[i],a=a.replace(o,D[o]);o=parseInt(L[s],16),t[a]=[o>>16&255,o>>8&255,255&o]}return t}let N;function j(t){N||(N=I(),N.transparent=[0,0,0,0]);const e=N[t.toLowerCase()];return e&&{r:e[0],g:e[1],b:e[2],a:4===e.length?e[3]:255}}const F=/^rgba?\(\s*([-+.\d]+)(%)?[\s,]+([-+.e\d]+)(%)?[\s,]+([-+.e\d]+)(%)?(?:[\s,/]+([-+.e\d]+)(%)?)?\s*\)$/;function R(t){const e=F.exec(t);let n,r,s,a=255;if(e){if(e[7]!==n){const t=+e[7];a=e[8]?o(t):i(255*t,0,255)}return n=+e[1],r=+e[3],s=+e[5],n=255&(e[2]?o(n):i(n,0,255)),r=255&(e[4]?o(r):i(r,0,255)),s=255&(e[6]?o(s):i(s,0,255)),{r:n,g:r,b:s,a:a}}}function W(t){return t&&(t.a<255?`rgba(${t.r}, ${t.g}, ${t.b}, ${a(t.a)})`:`rgb(${t.r}, ${t.g}, ${t.b})`)}const z=t=>t<=.0031308?12.92*t:1.055*Math.pow(t,1/2.4)-.055,U=t=>t<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4);function H(t,e,n){const r=U(a(t.r)),i=U(a(t.g)),o=U(a(t.b));return{r:s(z(r+n*(U(a(e.r))-r))),g:s(z(i+n*(U(a(e.g))-i))),b:s(z(o+n*(U(a(e.b))-o))),a:t.a+n*(e.a-t.a)}}function B(t,e,n){if(t){let r=k(t);r[e]=Math.max(0,Math.min(r[e]+r[e]*n,0===e?360:1)),r=E(r),t.r=r[0],t.g=r[1],t.b=r[2]}}function V(t,e){return t?Object.assign(e||{},t):t}function $(t){var e={r:0,g:0,b:0,a:255};return Array.isArray(t)?t.length>=3&&(e={r:t[0],g:t[1],b:t[2],a:255},t.length>3&&(e.a=s(t[3]))):(e=V(t,{r:0,g:0,b:0,a:1}),e.a=s(e.a)),e}function Z(t){return"r"===t.charAt(0)?R(t):C(t)}class Y{constructor(t){if(t instanceof Y)return t;const e=typeof t;let n;"object"===e?n=$(t):"string"===e&&(n=g(t)||j(t)||Z(t)),this._rgb=n,this._valid=!!n}get valid(){return this._valid}get rgb(){var t=V(this._rgb);return t&&(t.a=a(t.a)),t}set rgb(t){this._rgb=$(t)}rgbString(){return this._valid?W(this._rgb):void 0}hexString(){return this._valid?b(this._rgb):void 0}hslString(){return this._valid?A(this._rgb):void 0}mix(t,e){if(t){const n=this.rgb,r=t.rgb;let i;const o=e===i?.5:e,s=2*o-1,a=n.a-r.a,l=((s*a===-1?s:(s+a)/(1+s*a))+1)/2;i=1-l,n.r=255&l*n.r+i*r.r+.5,n.g=255&l*n.g+i*r.g+.5,n.b=255&l*n.b+i*r.b+.5,n.a=o*n.a+(1-o)*r.a,this.rgb=n}return this}interpolate(t,e){return t&&(this._rgb=H(this._rgb,t._rgb,e)),this}clone(){return new Y(this.rgb)}alpha(t){return this._rgb.a=s(t),this}clearer(t){const e=this._rgb;return e.a*=1-t,this}greyscale(){const t=this._rgb,e=r(.3*t.r+.59*t.g+.11*t.b);return t.r=t.g=t.b=e,this}opaquer(t){const e=this._rgb;return e.a*=1+t,this}negate(){const t=this._rgb;return t.r=255-t.r,t.g=255-t.g,t.b=255-t.b,this}lighten(t){return B(this._rgb,2,t),this}darken(t){return B(this._rgb,2,-t),this}saturate(t){return B(this._rgb,1,t),this}desaturate(t){return B(this._rgb,1,-t),this}rotate(t){return P(this._rgb,t),this}}
/*!
* Chart.js v4.2.1
* https://www.chartjs.org
* (c) 2023 Chart.js Contributors
* Released under the MIT License
*/
function q(){}const X=(()=>{let t=0;return()=>t++})();function G(t){return null===t||"undefined"===typeof t}function J(t){if(Array.isArray&&Array.isArray(t))return!0;const e=Object.prototype.toString.call(t);return"[object"===e.slice(0,7)&&"Array]"===e.slice(-6)}function K(t){return null!==t&&"[object Object]"===Object.prototype.toString.call(t)}function Q(t){return("number"===typeof t||t instanceof Number)&&isFinite(+t)}function tt(t,e){return Q(t)?t:e}function et(t,e){return"undefined"===typeof t?e:t}const nt=(t,e)=>"string"===typeof t&&t.endsWith("%")?parseFloat(t)/100:+t/e,rt=(t,e)=>"string"===typeof t&&t.endsWith("%")?parseFloat(t)/100*e:+t;function it(t,e,n){if(t&&"function"===typeof t.call)return t.apply(n,e)}function ot(t,e,n,r){let i,o,s;if(J(t))if(o=t.length,r)for(i=o-1;i>=0;i--)e.call(n,t[i],i);else for(i=0;i<o;i++)e.call(n,t[i],i);else if(K(t))for(s=Object.keys(t),o=s.length,i=0;i<o;i++)e.call(n,t[s[i]],s[i])}function st(t,e){let n,r,i,o;if(!t||!e||t.length!==e.length)return!1;for(n=0,r=t.length;n<r;++n)if(i=t[n],o=e[n],i.datasetIndex!==o.datasetIndex||i.index!==o.index)return!1;return!0}function at(t){if(J(t))return t.map(at);if(K(t)){const e=Object.create(null),n=Object.keys(t),r=n.length;let i=0;for(;i<r;++i)e[n[i]]=at(t[n[i]]);return e}return t}function lt(t){return-1===["__proto__","prototype","constructor"].indexOf(t)}function ct(t,e,n,r){if(!lt(t))return;const i=e[t],o=n[t];K(i)&&K(o)?ut(i,o,r):e[t]=at(o)}function ut(t,e,n){const r=J(e)?e:[e],i=r.length;if(!K(t))return t;n=n||{};const o=n.merger||ct;let s;for(let a=0;a<i;++a){if(s=r[a],!K(s))continue;const e=Object.keys(s);for(let r=0,i=e.length;r<i;++r)o(e[r],t,s,n)}return t}function ht(t,e){return ut(t,e,{merger:dt})}function dt(t,e,n){if(!lt(t))return;const r=e[t],i=n[t];K(r)&&K(i)?ht(r,i):Object.prototype.hasOwnProperty.call(e,t)||(e[t]=at(i))}const ft={"":t=>t,x:t=>t.x,y:t=>t.y};function pt(t){const e=t.split("."),n=[];let r="";for(const i of e)r+=i,r.endsWith("\\")?r=r.slice(0,-1)+".":(n.push(r),r="");return n}function gt(t){const e=pt(t);return t=>{for(const n of e){if(""===n)break;t=t&&t[n]}return t}}function mt(t,e){const n=ft[e]||(ft[e]=gt(e));return n(t)}function bt(t){return t.charAt(0).toUpperCase()+t.slice(1)}const vt=t=>"undefined"!==typeof t,yt=t=>"function"===typeof t,_t=(t,e)=>{if(t.size!==e.size)return!1;for(const n of t)if(!e.has(n))return!1;return!0};function xt(t){return"mouseup"===t.type||"click"===t.type||"contextmenu"===t.type}const wt=Math.PI,kt=2*wt,Mt=kt+wt,Et=Number.POSITIVE_INFINITY,St=wt/180,Ot=wt/2,Tt=wt/4,Ct=2*wt/3,Pt=Math.log10,At=Math.sign;function Dt(t,e,n){return Math.abs(t-e)<n}function Lt(t){const e=Math.round(t);t=Dt(t,e,t/1e3)?e:t;const n=Math.pow(10,Math.floor(Pt(t))),r=t/n,i=r<=1?1:r<=2?2:r<=5?5:10;return i*n}function It(t){const e=[],n=Math.sqrt(t);let r;for(r=1;r<n;r++)t%r===0&&(e.push(r),e.push(t/r));return n===(0|n)&&e.push(n),e.sort(((t,e)=>t-e)).pop(),e}function Nt(t){return!isNaN(parseFloat(t))&&isFinite(t)}function jt(t,e){const n=Math.round(t);return n-e<=t&&n+e>=t}function Ft(t,e,n){let r,i,o;for(r=0,i=t.length;r<i;r++)o=t[r][n],isNaN(o)||(e.min=Math.min(e.min,o),e.max=Math.max(e.max,o))}function Rt(t){return t*(wt/180)}function Wt(t){return t*(180/wt)}function zt(t){if(!Q(t))return;let e=1,n=0;while(Math.round(t*e)/e!==t)e*=10,n++;return n}function Ut(t,e){const n=e.x-t.x,r=e.y-t.y,i=Math.sqrt(n*n+r*r);let o=Math.atan2(r,n);return o<-.5*wt&&(o+=kt),{angle:o,distance:i}}function Ht(t,e){return Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2))}function Bt(t,e){return(t-e+Mt)%kt-wt}function Vt(t){return(t%kt+kt)%kt}function $t(t,e,n,r){const i=Vt(t),o=Vt(e),s=Vt(n),a=Vt(o-i),l=Vt(s-i),c=Vt(i-o),u=Vt(i-s);return i===o||i===s||r&&o===s||a>l&&c<u}function Zt(t,e,n){return Math.max(e,Math.min(n,t))}function Yt(t){return Zt(t,-32768,32767)}function qt(t,e,n,r=1e-6){return t>=Math.min(e,n)-r&&t<=Math.max(e,n)+r}function Xt(t,e,n){n=n||(n=>t[n]<e);let r,i=t.length-1,o=0;while(i-o>1)r=o+i>>1,n(r)?o=r:i=r;return{lo:o,hi:i}}const Gt=(t,e,n,r)=>Xt(t,n,r?r=>{const i=t[r][e];return i<n||i===n&&t[r+1][e]===n}:r=>t[r][e]<n),Jt=(t,e,n)=>Xt(t,n,(r=>t[r][e]>=n));function Kt(t,e,n){let r=0,i=t.length;while(r<i&&t[r]<e)r++;while(i>r&&t[i-1]>n)i--;return r>0||i<t.length?t.slice(r,i):t}const Qt=["push","pop","shift","splice","unshift"];function te(t,e){t._chartjs?t._chartjs.listeners.push(e):(Object.defineProperty(t,"_chartjs",{configurable:!0,enumerable:!1,value:{listeners:[e]}}),Qt.forEach((e=>{const n="_onData"+bt(e),r=t[e];Object.defineProperty(t,e,{configurable:!0,enumerable:!1,value(...e){const i=r.apply(this,e);return t._chartjs.listeners.forEach((t=>{"function"===typeof t[n]&&t[n](...e)})),i}})})))}function ee(t,e){const n=t._chartjs;if(!n)return;const r=n.listeners,i=r.indexOf(e);-1!==i&&r.splice(i,1),r.length>0||(Qt.forEach((e=>{delete t[e]})),delete t._chartjs)}function ne(t){const e=new Set;let n,r;for(n=0,r=t.length;n<r;++n)e.add(t[n]);return e.size===r?t:Array.from(e)}const re=function(){return"undefined"===typeof window?function(t){return t()}:window.requestAnimationFrame}();function ie(t,e){let n=[],r=!1;return function(...i){n=i,r||(r=!0,re.call(window,(()=>{r=!1,t.apply(e,n)})))}}function oe(t,e){let n;return function(...r){return e?(clearTimeout(n),n=setTimeout(t,e,r)):t.apply(this,r),e}}const se=t=>"start"===t?"left":"end"===t?"right":"center",ae=(t,e,n)=>"start"===t?e:"end"===t?n:(e+n)/2,le=(t,e,n,r)=>{const i=r?"left":"right";return t===i?n:"center"===t?(e+n)/2:e};function ce(t,e,n){const r=e.length;let i=0,o=r;if(t._sorted){const{iScale:s,_parsed:a}=t,l=s.axis,{min:c,max:u,minDefined:h,maxDefined:d}=s.getUserBounds();h&&(i=Zt(Math.min(Gt(a,s.axis,c).lo,n?r:Gt(e,l,s.getPixelForValue(c)).lo),0,r-1)),o=d?Zt(Math.max(Gt(a,s.axis,u,!0).hi+1,n?0:Gt(e,l,s.getPixelForValue(u),!0).hi+1),i,r)-i:r-i}return{start:i,count:o}}function ue(t){const{xScale:e,yScale:n,_scaleRanges:r}=t,i={xmin:e.min,xmax:e.max,ymin:n.min,ymax:n.max};if(!r)return t._scaleRanges=i,!0;const o=r.xmin!==e.min||r.xmax!==e.max||r.ymin!==n.min||r.ymax!==n.max;return Object.assign(r,i),o}const he=t=>0===t||1===t,de=(t,e,n)=>-Math.pow(2,10*(t-=1))*Math.sin((t-e)*kt/n),fe=(t,e,n)=>Math.pow(2,-10*t)*Math.sin((t-e)*kt/n)+1,pe={linear:t=>t,easeInQuad:t=>t*t,easeOutQuad:t=>-t*(t-2),easeInOutQuad:t=>(t/=.5)<1?.5*t*t:-.5*(--t*(t-2)-1),easeInCubic:t=>t*t*t,easeOutCubic:t=>(t-=1)*t*t+1,easeInOutCubic:t=>(t/=.5)<1?.5*t*t*t:.5*((t-=2)*t*t+2),easeInQuart:t=>t*t*t*t,easeOutQuart:t=>-((t-=1)*t*t*t-1),easeInOutQuart:t=>(t/=.5)<1?.5*t*t*t*t:-.5*((t-=2)*t*t*t-2),easeInQuint:t=>t*t*t*t*t,easeOutQuint:t=>(t-=1)*t*t*t*t+1,easeInOutQuint:t=>(t/=.5)<1?.5*t*t*t*t*t:.5*((t-=2)*t*t*t*t+2),easeInSine:t=>1-Math.cos(t*Ot),easeOutSine:t=>Math.sin(t*Ot),easeInOutSine:t=>-.5*(Math.cos(wt*t)-1),easeInExpo:t=>0===t?0:Math.pow(2,10*(t-1)),easeOutExpo:t=>1===t?1:1-Math.pow(2,-10*t),easeInOutExpo:t=>he(t)?t:t<.5?.5*Math.pow(2,10*(2*t-1)):.5*(2-Math.pow(2,-10*(2*t-1))),easeInCirc:t=>t>=1?t:-(Math.sqrt(1-t*t)-1),easeOutCirc:t=>Math.sqrt(1-(t-=1)*t),easeInOutCirc:t=>(t/=.5)<1?-.5*(Math.sqrt(1-t*t)-1):.5*(Math.sqrt(1-(t-=2)*t)+1),easeInElastic:t=>he(t)?t:de(t,.075,.3),easeOutElastic:t=>he(t)?t:fe(t,.075,.3),easeInOutElastic(t){const e=.1125,n=.45;return he(t)?t:t<.5?.5*de(2*t,e,n):.5+.5*fe(2*t-1,e,n)},easeInBack(t){const e=1.70158;return t*t*((e+1)*t-e)},easeOutBack(t){const e=1.70158;return(t-=1)*t*((e+1)*t+e)+1},easeInOutBack(t){let e=1.70158;return(t/=.5)<1?t*t*((1+(e*=1.525))*t-e)*.5:.5*((t-=2)*t*((1+(e*=1.525))*t+e)+2)},easeInBounce:t=>1-pe.easeOutBounce(1-t),easeOutBounce(t){const e=7.5625,n=2.75;return t<1/n?e*t*t:t<2/n?e*(t-=1.5/n)*t+.75:t<2.5/n?e*(t-=2.25/n)*t+.9375:e*(t-=2.625/n)*t+.984375},easeInOutBounce:t=>t<.5?.5*pe.easeInBounce(2*t):.5*pe.easeOutBounce(2*t-1)+.5};function ge(t){if(t&&"object"===typeof t){const e=t.toString();return"[object CanvasPattern]"===e||"[object CanvasGradient]"===e}return!1}function me(t){return ge(t)?t:new Y(t)}function be(t){return ge(t)?t:new Y(t).saturate(.5).darken(.1).hexString()}const ve=["x","y","borderWidth","radius","tension"],ye=["color","borderColor","backgroundColor"];function _e(t){t.set("animation",{delay:void 0,duration:1e3,easing:"easeOutQuart",fn:void 0,from:void 0,loop:void 0,to:void 0,type:void 0}),t.describe("animation",{_fallback:!1,_indexable:!1,_scriptable:t=>"onProgress"!==t&&"onComplete"!==t&&"fn"!==t}),t.set("animations",{colors:{type:"color",properties:ye},numbers:{type:"number",properties:ve}}),t.describe("animations",{_fallback:"animation"}),t.set("transitions",{active:{animation:{duration:400}},resize:{animation:{duration:0}},show:{animations:{colors:{from:"transparent"},visible:{type:"boolean",duration:0}}},hide:{animations:{colors:{to:"transparent"},visible:{type:"boolean",easing:"linear",fn:t=>0|t}}}})}function xe(t){t.set("layout",{autoPadding:!0,padding:{top:0,right:0,bottom:0,left:0}})}const we=new Map;function ke(t,e){e=e||{};const n=t+JSON.stringify(e);let r=we.get(n);return r||(r=new Intl.NumberFormat(t,e),we.set(n,r)),r}function Me(t,e,n){return ke(e,n).format(t)}const Ee={values(t){return J(t)?t:""+t},numeric(t,e,n){if(0===t)return"0";const r=this.chart.options.locale;let i,o=t;if(n.length>1){const e=Math.max(Math.abs(n[0].value),Math.abs(n[n.length-1].value));(e<1e-4||e>1e15)&&(i="scientific"),o=Se(t,n)}const s=Pt(Math.abs(o)),a=Math.max(Math.min(-1*Math.floor(s),20),0),l={notation:i,minimumFractionDigits:a,maximumFractionDigits:a};return Object.assign(l,this.options.ticks.format),Me(t,r,l)},logarithmic(t,e,n){if(0===t)return"0";const r=n[e].significand||t/Math.pow(10,Math.floor(Pt(t)));return[1,2,3,5,10,15].includes(r)||e>.8*n.length?Ee.numeric.call(this,t,e,n):""}};function Se(t,e){let n=e.length>3?e[2].value-e[1].value:e[1].value-e[0].value;return Math.abs(n)>=1&&t!==Math.floor(t)&&(n=t-Math.floor(t)),n}var Oe={formatters:Ee};function Te(t){t.set("scale",{display:!0,offset:!1,reverse:!1,beginAtZero:!1,bounds:"ticks",grace:0,grid:{display:!0,lineWidth:1,drawOnChartArea:!0,drawTicks:!0,tickLength:8,tickWidth:(t,e)=>e.lineWidth,tickColor:(t,e)=>e.color,offset:!1},border:{display:!0,dash:[],dashOffset:0,width:1},title:{display:!1,text:"",padding:{top:4,bottom:4}},ticks:{minRotation:0,maxRotation:50,mirror:!1,textStrokeWidth:0,textStrokeColor:"",padding:3,display:!0,autoSkip:!0,autoSkipPadding:3,labelOffset:0,callback:Oe.formatters.values,minor:{},major:{},align:"center",crossAlign:"near",showLabelBackdrop:!1,backdropColor:"rgba(255, 255, 255, 0.75)",backdropPadding:2}}),t.route("scale.ticks","color","","color"),t.route("scale.grid","color","","borderColor"),t.route("scale.border","color","","borderColor"),t.route("scale.title","color","","color"),t.describe("scale",{_fallback:!1,_scriptable:t=>!t.startsWith("before")&&!t.startsWith("after")&&"callback"!==t&&"parser"!==t,_indexable:t=>"borderDash"!==t&&"tickBorderDash"!==t&&"dash"!==t}),t.describe("scales",{_fallback:"scale"}),t.describe("scale.ticks",{_scriptable:t=>"backdropPadding"!==t&&"callback"!==t,_indexable:t=>"backdropPadding"!==t})}const Ce=Object.create(null),Pe=Object.create(null);function Ae(t,e){if(!e)return t;const n=e.split(".");for(let r=0,i=n.length;r<i;++r){const e=n[r];t=t[e]||(t[e]=Object.create(null))}return t}function De(t,e,n){return"string"===typeof e?ut(Ae(t,e),n):ut(Ae(t,""),e)}class Le{constructor(t,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=t=>t.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=(t,e)=>be(e.backgroundColor),this.hoverBorderColor=(t,e)=>be(e.borderColor),this.hoverColor=(t,e)=>be(e.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(t),this.apply(e)}set(t,e){return De(this,t,e)}get(t){return Ae(this,t)}describe(t,e){return De(Pe,t,e)}override(t,e){return De(Ce,t,e)}route(t,e,n,r){const i=Ae(this,t),o=Ae(this,n),s="_"+e;Object.defineProperties(i,{[s]:{value:i[e],writable:!0},[e]:{enumerable:!0,get(){const t=this[s],e=o[r];return K(t)?Object.assign({},e,t):et(t,e)},set(t){this[s]=t}}})}apply(t){t.forEach((t=>t(this)))}}var Ie=new Le({_scriptable:t=>!t.startsWith("on"),_indexable:t=>"events"!==t,hover:{_fallback:"interaction"},interaction:{_scriptable:!1,_indexable:!1}},[_e,xe,Te]);function Ne(t){return!t||G(t.size)||G(t.family)?null:(t.style?t.style+" ":"")+(t.weight?t.weight+" ":"")+t.size+"px "+t.family}function je(t,e,n,r,i){let o=e[i];return o||(o=e[i]=t.measureText(i).width,n.push(i)),o>r&&(r=o),r}function Fe(t,e,n,r){r=r||{};let i=r.data=r.data||{},o=r.garbageCollect=r.garbageCollect||[];r.font!==e&&(i=r.data={},o=r.garbageCollect=[],r.font=e),t.save(),t.font=e;let s=0;const a=n.length;let l,c,u,h,d;for(l=0;l<a;l++)if(h=n[l],void 0!==h&&null!==h&&!0!==J(h))s=je(t,i,o,s,h);else if(J(h))for(c=0,u=h.length;c<u;c++)d=h[c],void 0===d||null===d||J(d)||(s=je(t,i,o,s,d));t.restore();const f=o.length/2;if(f>n.length){for(l=0;l<f;l++)delete i[o[l]];o.splice(0,f)}return s}function Re(t,e,n){const r=t.currentDevicePixelRatio,i=0!==n?Math.max(n/2,.5):0;return Math.round((e-i)*r)/r+i}function We(t,e){e=e||t.getContext("2d"),e.save(),e.resetTransform(),e.clearRect(0,0,t.width,t.height),e.restore()}function ze(t,e,n,r){Ue(t,e,n,r,null)}function Ue(t,e,n,r,i){let o,s,a,l,c,u,h,d;const f=e.pointStyle,p=e.rotation,g=e.radius;let m=(p||0)*St;if(f&&"object"===typeof f&&(o=f.toString(),"[object HTMLImageElement]"===o||"[object HTMLCanvasElement]"===o))return t.save(),t.translate(n,r),t.rotate(m),t.drawImage(f,-f.width/2,-f.height/2,f.width,f.height),void t.restore();if(!(isNaN(g)||g<=0)){switch(t.beginPath(),f){default:i?t.ellipse(n,r,i/2,g,0,0,kt):t.arc(n,r,g,0,kt),t.closePath();break;case"triangle":u=i?i/2:g,t.moveTo(n+Math.sin(m)*u,r-Math.cos(m)*g),m+=Ct,t.lineTo(n+Math.sin(m)*u,r-Math.cos(m)*g),m+=Ct,t.lineTo(n+Math.sin(m)*u,r-Math.cos(m)*g),t.closePath();break;case"rectRounded":c=.516*g,l=g-c,s=Math.cos(m+Tt)*l,h=Math.cos(m+Tt)*(i?i/2-c:l),a=Math.sin(m+Tt)*l,d=Math.sin(m+Tt)*(i?i/2-c:l),t.arc(n-h,r-a,c,m-wt,m-Ot),t.arc(n+d,r-s,c,m-Ot,m),t.arc(n+h,r+a,c,m,m+Ot),t.arc(n-d,r+s,c,m+Ot,m+wt),t.closePath();break;case"rect":if(!p){l=Math.SQRT1_2*g,u=i?i/2:l,t.rect(n-u,r-l,2*u,2*l);break}m+=Tt;case"rectRot":h=Math.cos(m)*(i?i/2:g),s=Math.cos(m)*g,a=Math.sin(m)*g,d=Math.sin(m)*(i?i/2:g),t.moveTo(n-h,r-a),t.lineTo(n+d,r-s),t.lineTo(n+h,r+a),t.lineTo(n-d,r+s),t.closePath();break;case"crossRot":m+=Tt;case"cross":h=Math.cos(m)*(i?i/2:g),s=Math.cos(m)*g,a=Math.sin(m)*g,d=Math.sin(m)*(i?i/2:g),t.moveTo(n-h,r-a),t.lineTo(n+h,r+a),t.moveTo(n+d,r-s),t.lineTo(n-d,r+s);break;case"star":h=Math.cos(m)*(i?i/2:g),s=Math.cos(m)*g,a=Math.sin(m)*g,d=Math.sin(m)*(i?i/2:g),t.moveTo(n-h,r-a),t.lineTo(n+h,r+a),t.moveTo(n+d,r-s),t.lineTo(n-d,r+s),m+=Tt,h=Math.cos(m)*(i?i/2:g),s=Math.cos(m)*g,a=Math.sin(m)*g,d=Math.sin(m)*(i?i/2:g),t.moveTo(n-h,r-a),t.lineTo(n+h,r+a),t.moveTo(n+d,r-s),t.lineTo(n-d,r+s);break;case"line":s=i?i/2:Math.cos(m)*g,a=Math.sin(m)*g,t.moveTo(n-s,r-a),t.lineTo(n+s,r+a);break;case"dash":t.moveTo(n,r),t.lineTo(n+Math.cos(m)*(i?i/2:g),r+Math.sin(m)*g);break;case!1:t.closePath();break}t.fill(),e.borderWidth>0&&t.stroke()}}function He(t,e,n){return n=n||.5,!e||t&&t.x>e.left-n&&t.x<e.right+n&&t.y>e.top-n&&t.y<e.bottom+n}function Be(t,e){t.save(),t.beginPath(),t.rect(e.left,e.top,e.right-e.left,e.bottom-e.top),t.clip()}function Ve(t){t.restore()}function $e(t,e,n,r,i){if(!e)return t.lineTo(n.x,n.y);if("middle"===i){const r=(e.x+n.x)/2;t.lineTo(r,e.y),t.lineTo(r,n.y)}else"after"===i!==!!r?t.lineTo(e.x,n.y):t.lineTo(n.x,e.y);t.lineTo(n.x,n.y)}function Ze(t,e,n,r){if(!e)return t.lineTo(n.x,n.y);t.bezierCurveTo(r?e.cp1x:e.cp2x,r?e.cp1y:e.cp2y,r?n.cp2x:n.cp1x,r?n.cp2y:n.cp1y,n.x,n.y)}function Ye(t,e,n,r,i,o={}){const s=J(e)?e:[e],a=o.strokeWidth>0&&""!==o.strokeColor;let l,c;for(t.save(),t.font=i.string,qe(t,o),l=0;l<s.length;++l)c=s[l],o.backdrop&&Ge(t,o.backdrop),a&&(o.strokeColor&&(t.strokeStyle=o.strokeColor),G(o.strokeWidth)||(t.lineWidth=o.strokeWidth),t.strokeText(c,n,r,o.maxWidth)),t.fillText(c,n,r,o.maxWidth),Xe(t,n,r,c,o),r+=i.lineHeight;t.restore()}function qe(t,e){e.translation&&t.translate(e.translation[0],e.translation[1]),G(e.rotation)||t.rotate(e.rotation),e.color&&(t.fillStyle=e.color),e.textAlign&&(t.textAlign=e.textAlign),e.textBaseline&&(t.textBaseline=e.textBaseline)}function Xe(t,e,n,r,i){if(i.strikethrough||i.underline){const o=t.measureText(r),s=e-o.actualBoundingBoxLeft,a=e+o.actualBoundingBoxRight,l=n-o.actualBoundingBoxAscent,c=n+o.actualBoundingBoxDescent,u=i.strikethrough?(l+c)/2:c;t.strokeStyle=t.fillStyle,t.beginPath(),t.lineWidth=i.decorationWidth||2,t.moveTo(s,u),t.lineTo(a,u),t.stroke()}}function Ge(t,e){const n=t.fillStyle;t.fillStyle=e.color,t.fillRect(e.left,e.top,e.width,e.height),t.fillStyle=n}function Je(t,e){const{x:n,y:r,w:i,h:o,radius:s}=e;t.arc(n+s.topLeft,r+s.topLeft,s.topLeft,-Ot,wt,!0),t.lineTo(n,r+o-s.bottomLeft),t.arc(n+s.bottomLeft,r+o-s.bottomLeft,s.bottomLeft,wt,Ot,!0),t.lineTo(n+i-s.bottomRight,r+o),t.arc(n+i-s.bottomRight,r+o-s.bottomRight,s.bottomRight,Ot,0,!0),t.lineTo(n+i,r+s.topRight),t.arc(n+i-s.topRight,r+s.topRight,s.topRight,0,-Ot,!0),t.lineTo(n+s.topLeft,r)}const Ke=/^(normal|(\d+(?:\.\d+)?)(px|em|%)?)$/,Qe=/^(normal|italic|initial|inherit|unset|(oblique( -?[0-9]?[0-9]deg)?))$/;function tn(t,e){const n=(""+t).match(Ke);if(!n||"normal"===n[1])return 1.2*e;switch(t=+n[2],n[3]){case"px":return t;case"%":t/=100;break}return e*t}const en=t=>+t||0;function nn(t,e){const n={},r=K(e),i=r?Object.keys(e):e,o=K(t)?r?n=>et(t[n],t[e[n]]):e=>t[e]:()=>t;for(const s of i)n[s]=en(o(s));return n}function rn(t){return nn(t,{top:"y",right:"x",bottom:"y",left:"x"})}function on(t){return nn(t,["topLeft","topRight","bottomLeft","bottomRight"])}function sn(t){const e=rn(t);return e.width=e.left+e.right,e.height=e.top+e.bottom,e}function an(t,e){t=t||{},e=e||Ie.font;let n=et(t.size,e.size);"string"===typeof n&&(n=parseInt(n,10));let r=et(t.style,e.style);r&&!(""+r).match(Qe)&&(console.warn('Invalid font style specified: "'+r+'"'),r=void 0);const i={family:et(t.family,e.family),lineHeight:tn(et(t.lineHeight,e.lineHeight),n),size:n,style:r,weight:et(t.weight,e.weight),string:""};return i.string=Ne(i),i}function ln(t,e,n,r){let i,o,s,a=!0;for(i=0,o=t.length;i<o;++i)if(s=t[i],void 0!==s&&(void 0!==e&&"function"===typeof s&&(s=s(e),a=!1),void 0!==n&&J(s)&&(s=s[n%s.length],a=!1),void 0!==s))return r&&!a&&(r.cacheable=!1),s}function cn(t,e,n){const{min:r,max:i}=t,o=rt(e,(i-r)/2),s=(t,e)=>n&&0===t?0:t+e;return{min:s(r,-Math.abs(o)),max:s(i,o)}}function un(t,e){return Object.assign(Object.create(t),e)}function hn(t,e=[""],n=t,r,i=(()=>t[0])){vt(r)||(r=On("_fallback",t));const o={[Symbol.toStringTag]:"Object",_cacheable:!0,_scopes:t,_rootScopes:n,_fallback:r,_getTarget:i,override:i=>hn([i,...t],e,n,r)};return new Proxy(o,{deleteProperty(e,n){return delete e[n],delete e._keys,delete t[0][n],!0},get(n,r){return mn(n,r,(()=>Sn(r,e,t,n)))},getOwnPropertyDescriptor(t,e){return Reflect.getOwnPropertyDescriptor(t._scopes[0],e)},getPrototypeOf(){return Reflect.getPrototypeOf(t[0])},has(t,e){return Tn(t).includes(e)},ownKeys(t){return Tn(t)},set(t,e,n){const r=t._storage||(t._storage=i());return t[e]=r[e]=n,delete t._keys,!0}})}function dn(t,e,n,r){const i={_cacheable:!1,_proxy:t,_context:e,_subProxy:n,_stack:new Set,_descriptors:fn(t,r),setContext:e=>dn(t,e,n,r),override:i=>dn(t.override(i),e,n,r)};return new Proxy(i,{deleteProperty(e,n){return delete e[n],delete t[n],!0},get(t,e,n){return mn(t,e,(()=>bn(t,e,n)))},getOwnPropertyDescriptor(e,n){return e._descriptors.allKeys?Reflect.has(t,n)?{enumerable:!0,configurable:!0}:void 0:Reflect.getOwnPropertyDescriptor(t,n)},getPrototypeOf(){return Reflect.getPrototypeOf(t)},has(e,n){return Reflect.has(t,n)},ownKeys(){return Reflect.ownKeys(t)},set(e,n,r){return t[n]=r,delete e[n],!0}})}function fn(t,e={scriptable:!0,indexable:!0}){const{_scriptable:n=e.scriptable,_indexable:r=e.indexable,_allKeys:i=e.allKeys}=t;return{allKeys:i,scriptable:n,indexable:r,isScriptable:yt(n)?n:()=>n,isIndexable:yt(r)?r:()=>r}}const pn=(t,e)=>t?t+bt(e):e,gn=(t,e)=>K(e)&&"adapters"!==t&&(null===Object.getPrototypeOf(e)||e.constructor===Object);function mn(t,e,n){if(Object.prototype.hasOwnProperty.call(t,e))return t[e];const r=n();return t[e]=r,r}function bn(t,e,n){const{_proxy:r,_context:i,_subProxy:o,_descriptors:s}=t;let a=r[e];return yt(a)&&s.isScriptable(e)&&(a=vn(e,a,t,n)),J(a)&&a.length&&(a=yn(e,a,t,s.isIndexable)),gn(e,a)&&(a=dn(a,i,o&&o[e],s)),a}function vn(t,e,n,r){const{_proxy:i,_context:o,_subProxy:s,_stack:a}=n;if(a.has(t))throw new Error("Recursion detected: "+Array.from(a).join("->")+"->"+t);return a.add(t),e=e(o,s||r),a.delete(t),gn(t,e)&&(e=kn(i._scopes,i,t,e)),e}function yn(t,e,n,r){const{_proxy:i,_context:o,_subProxy:s,_descriptors:a}=n;if(vt(o.index)&&r(t))e=e[o.index%e.length];else if(K(e[0])){const n=e,r=i._scopes.filter((t=>t!==n));e=[];for(const l of n){const n=kn(r,i,t,l);e.push(dn(n,o,s&&s[t],a))}}return e}function _n(t,e,n){return yt(t)?t(e,n):t}const xn=(t,e)=>!0===t?e:"string"===typeof t?mt(e,t):void 0;function wn(t,e,n,r,i){for(const o of e){const e=xn(n,o);if(e){t.add(e);const o=_n(e._fallback,n,i);if(vt(o)&&o!==n&&o!==r)return o}else if(!1===e&&vt(r)&&n!==r)return null}return!1}function kn(t,e,n,r){const i=e._rootScopes,o=_n(e._fallback,n,r),s=[...t,...i],a=new Set;a.add(r);let l=Mn(a,s,n,o||n,r);return null!==l&&((!vt(o)||o===n||(l=Mn(a,s,o,l,r),null!==l))&&hn(Array.from(a),[""],i,o,(()=>En(e,n,r))))}function Mn(t,e,n,r,i){while(n)n=wn(t,e,n,r,i);return n}function En(t,e,n){const r=t._getTarget();e in r||(r[e]={});const i=r[e];return J(i)&&K(n)?n:i||{}}function Sn(t,e,n,r){let i;for(const o of e)if(i=On(pn(o,t),n),vt(i))return gn(t,i)?kn(n,r,t,i):i}function On(t,e){for(const n of e){if(!n)continue;const e=n[t];if(vt(e))return e}}function Tn(t){let e=t._keys;return e||(e=t._keys=Cn(t._scopes)),e}function Cn(t){const e=new Set;for(const n of t)for(const t of Object.keys(n).filter((t=>!t.startsWith("_"))))e.add(t);return Array.from(e)}function Pn(t,e,n,r){const{iScale:i}=t,{key:o="r"}=this._parsing,s=new Array(r);let a,l,c,u;for(a=0,l=r;a<l;++a)c=a+n,u=e[c],s[a]={r:i.parse(mt(u,o),c)};return s}const An=Number.EPSILON||1e-14,Dn=(t,e)=>e<t.length&&!t[e].skip&&t[e],Ln=t=>"x"===t?"y":"x";function In(t,e,n,r){const i=t.skip?e:t,o=e,s=n.skip?e:n,a=Ht(o,i),l=Ht(s,o);let c=a/(a+l),u=l/(a+l);c=isNaN(c)?0:c,u=isNaN(u)?0:u;const h=r*c,d=r*u;return{previous:{x:o.x-h*(s.x-i.x),y:o.y-h*(s.y-i.y)},next:{x:o.x+d*(s.x-i.x),y:o.y+d*(s.y-i.y)}}}function Nn(t,e,n){const r=t.length;let i,o,s,a,l,c=Dn(t,0);for(let u=0;u<r-1;++u)l=c,c=Dn(t,u+1),l&&c&&(Dt(e[u],0,An)?n[u]=n[u+1]=0:(i=n[u]/e[u],o=n[u+1]/e[u],a=Math.pow(i,2)+Math.pow(o,2),a<=9||(s=3/Math.sqrt(a),n[u]=i*s*e[u],n[u+1]=o*s*e[u])))}function jn(t,e,n="x"){const r=Ln(n),i=t.length;let o,s,a,l=Dn(t,0);for(let c=0;c<i;++c){if(s=a,a=l,l=Dn(t,c+1),!a)continue;const i=a[n],u=a[r];s&&(o=(i-s[n])/3,a[`cp1${n}`]=i-o,a[`cp1${r}`]=u-o*e[c]),l&&(o=(l[n]-i)/3,a[`cp2${n}`]=i+o,a[`cp2${r}`]=u+o*e[c])}}function Fn(t,e="x"){const n=Ln(e),r=t.length,i=Array(r).fill(0),o=Array(r);let s,a,l,c=Dn(t,0);for(s=0;s<r;++s)if(a=l,l=c,c=Dn(t,s+1),l){if(c){const t=c[e]-l[e];i[s]=0!==t?(c[n]-l[n])/t:0}o[s]=a?c?At(i[s-1])!==At(i[s])?0:(i[s-1]+i[s])/2:i[s-1]:i[s]}Nn(t,i,o),jn(t,o,e)}function Rn(t,e,n){return Math.max(Math.min(t,n),e)}function Wn(t,e){let n,r,i,o,s,a=He(t[0],e);for(n=0,r=t.length;n<r;++n)s=o,o=a,a=n<r-1&&He(t[n+1],e),o&&(i=t[n],s&&(i.cp1x=Rn(i.cp1x,e.left,e.right),i.cp1y=Rn(i.cp1y,e.top,e.bottom)),a&&(i.cp2x=Rn(i.cp2x,e.left,e.right),i.cp2y=Rn(i.cp2y,e.top,e.bottom)))}function zn(t,e,n,r,i){let o,s,a,l;if(e.spanGaps&&(t=t.filter((t=>!t.skip))),"monotone"===e.cubicInterpolationMode)Fn(t,i);else{let n=r?t[t.length-1]:t[0];for(o=0,s=t.length;o<s;++o)a=t[o],l=In(n,a,t[Math.min(o+1,s-(r?0:1))%s],e.tension),a.cp1x=l.previous.x,a.cp1y=l.previous.y,a.cp2x=l.next.x,a.cp2y=l.next.y,n=a}e.capBezierPoints&&Wn(t,n)}function Un(){return"undefined"!==typeof window&&"undefined"!==typeof document}function Hn(t){let e=t.parentNode;return e&&"[object ShadowRoot]"===e.toString()&&(e=e.host),e}function Bn(t,e,n){let r;return"string"===typeof t?(r=parseInt(t,10),-1!==t.indexOf("%")&&(r=r/100*e.parentNode[n])):r=t,r}const Vn=t=>t.ownerDocument.defaultView.getComputedStyle(t,null);function $n(t,e){return Vn(t).getPropertyValue(e)}const Zn=["top","right","bottom","left"];function Yn(t,e,n){const r={};n=n?"-"+n:"";for(let i=0;i<4;i++){const o=Zn[i];r[o]=parseFloat(t[e+"-"+o+n])||0}return r.width=r.left+r.right,r.height=r.top+r.bottom,r}const qn=(t,e,n)=>(t>0||e>0)&&(!n||!n.shadowRoot);function Xn(t,e){const n=t.touches,r=n&&n.length?n[0]:t,{offsetX:i,offsetY:o}=r;let s,a,l=!1;if(qn(i,o,t.target))s=i,a=o;else{const t=e.getBoundingClientRect();s=r.clientX-t.left,a=r.clientY-t.top,l=!0}return{x:s,y:a,box:l}}function Gn(t,e){if("native"in t)return t;const{canvas:n,currentDevicePixelRatio:r}=e,i=Vn(n),o="border-box"===i.boxSizing,s=Yn(i,"padding"),a=Yn(i,"border","width"),{x:l,y:c,box:u}=Xn(t,n),h=s.left+(u&&a.left),d=s.top+(u&&a.top);let{width:f,height:p}=e;return o&&(f-=s.width+a.width,p-=s.height+a.height),{x:Math.round((l-h)/f*n.width/r),y:Math.round((c-d)/p*n.height/r)}}function Jn(t,e,n){let r,i;if(void 0===e||void 0===n){const o=Hn(t);if(o){const t=o.getBoundingClientRect(),s=Vn(o),a=Yn(s,"border","width"),l=Yn(s,"padding");e=t.width-l.width-a.width,n=t.height-l.height-a.height,r=Bn(s.maxWidth,o,"clientWidth"),i=Bn(s.maxHeight,o,"clientHeight")}else e=t.clientWidth,n=t.clientHeight}return{width:e,height:n,maxWidth:r||Et,maxHeight:i||Et}}const Kn=t=>Math.round(10*t)/10;function Qn(t,e,n,r){const i=Vn(t),o=Yn(i,"margin"),s=Bn(i.maxWidth,t,"clientWidth")||Et,a=Bn(i.maxHeight,t,"clientHeight")||Et,l=Jn(t,e,n);let{width:c,height:u}=l;if("content-box"===i.boxSizing){const t=Yn(i,"border","width"),e=Yn(i,"padding");c-=e.width+t.width,u-=e.height+t.height}c=Math.max(0,c-o.width),u=Math.max(0,r?c/r:u-o.height),c=Kn(Math.min(c,s,l.maxWidth)),u=Kn(Math.min(u,a,l.maxHeight)),c&&!u&&(u=Kn(c/2));const h=void 0!==e||void 0!==n;return h&&r&&l.height&&u>l.height&&(u=l.height,c=Kn(Math.floor(u*r))),{width:c,height:u}}function tr(t,e,n){const r=e||1,i=Math.floor(t.height*r),o=Math.floor(t.width*r);t.height=Math.floor(t.height),t.width=Math.floor(t.width);const s=t.canvas;return s.style&&(n||!s.style.height&&!s.style.width)&&(s.style.height=`${t.height}px`,s.style.width=`${t.width}px`),(t.currentDevicePixelRatio!==r||s.height!==i||s.width!==o)&&(t.currentDevicePixelRatio=r,s.height=i,s.width=o,t.ctx.setTransform(r,0,0,r,0,0),!0)}const er=function(){let t=!1;try{const e={get passive(){return t=!0,!1}};window.addEventListener("test",null,e),window.removeEventListener("test",null,e)}catch(e){}return t}();function nr(t,e){const n=$n(t,e),r=n&&n.match(/^(\d+)(\.\d+)?px$/);return r?+r[1]:void 0}function rr(t,e,n,r){return{x:t.x+n*(e.x-t.x),y:t.y+n*(e.y-t.y)}}function ir(t,e,n,r){return{x:t.x+n*(e.x-t.x),y:"middle"===r?n<.5?t.y:e.y:"after"===r?n<1?t.y:e.y:n>0?e.y:t.y}}function or(t,e,n,r){const i={x:t.cp2x,y:t.cp2y},o={x:e.cp1x,y:e.cp1y},s=rr(t,i,n),a=rr(i,o,n),l=rr(o,e,n),c=rr(s,a,n),u=rr(a,l,n);return rr(c,u,n)}const sr=function(t,e){return{x(n){return t+t+e-n},setWidth(t){e=t},textAlign(t){return"center"===t?t:"right"===t?"left":"right"},xPlus(t,e){return t-e},leftForLtr(t,e){return t-e}}},ar=function(){return{x(t){return t},setWidth(t){},textAlign(t){return t},xPlus(t,e){return t+e},leftForLtr(t,e){return t}}};function lr(t,e,n){return t?sr(e,n):ar()}function cr(t,e){let n,r;"ltr"!==e&&"rtl"!==e||(n=t.canvas.style,r=[n.getPropertyValue("direction"),n.getPropertyPriority("direction")],n.setProperty("direction",e,"important"),t.prevTextDirection=r)}function ur(t,e){void 0!==e&&(delete t.prevTextDirection,t.canvas.style.setProperty("direction",e[0],e[1]))}function hr(t){return"angle"===t?{between:$t,compare:Bt,normalize:Vt}:{between:qt,compare:(t,e)=>t-e,normalize:t=>t}}function dr({start:t,end:e,count:n,loop:r,style:i}){return{start:t%n,end:e%n,loop:r&&(e-t+1)%n===0,style:i}}function fr(t,e,n){const{property:r,start:i,end:o}=n,{between:s,normalize:a}=hr(r),l=e.length;let c,u,{start:h,end:d,loop:f}=t;if(f){for(h+=l,d+=l,c=0,u=l;c<u;++c){if(!s(a(e[h%l][r]),i,o))break;h--,d--}h%=l,d%=l}return d<h&&(d+=l),{start:h,end:d,loop:f,style:t.style}}function pr(t,e,n){if(!n)return[t];const{property:r,start:i,end:o}=n,s=e.length,{compare:a,between:l,normalize:c}=hr(r),{start:u,end:h,loop:d,style:f}=fr(t,e,n),p=[];let g,m,b,v=!1,y=null;const _=()=>l(i,b,g)&&0!==a(i,b),x=()=>0===a(o,g)||l(o,b,g),w=()=>v||_(),k=()=>!v||x();for(let M=u,E=u;M<=h;++M)m=e[M%s],m.skip||(g=c(m[r]),g!==b&&(v=l(g,i,o),null===y&&w()&&(y=0===a(g,i)?M:E),null!==y&&k()&&(p.push(dr({start:y,end:M,loop:d,count:s,style:f})),y=null),E=M,b=g));return null!==y&&p.push(dr({start:y,end:h,loop:d,count:s,style:f})),p}function gr(t,e){const n=[],r=t.segments;for(let i=0;i<r.length;i++){const o=pr(r[i],t.points,e);o.length&&n.push(...o)}return n}function mr(t,e,n,r){let i=0,o=e-1;if(n&&!r)while(i<e&&!t[i].skip)i++;while(i<e&&t[i].skip)i++;i%=e,n&&(o+=i);while(o>i&&t[o%e].skip)o--;return o%=e,{start:i,end:o}}function br(t,e,n,r){const i=t.length,o=[];let s,a=e,l=t[e];for(s=e+1;s<=n;++s){const n=t[s%i];n.skip||n.stop?l.skip||(r=!1,o.push({start:e%i,end:(s-1)%i,loop:r}),e=a=n.stop?s:null):(a=s,l.skip&&(e=s)),l=n}return null!==a&&o.push({start:e%i,end:a%i,loop:r}),o}function vr(t,e){const n=t.points,r=t.options.spanGaps,i=n.length;if(!i)return[];const o=!!t._loop,{start:s,end:a}=mr(n,i,o,r);if(!0===r)return yr(t,[{start:s,end:a,loop:o}],n,e);const l=a<s?a+i:a,c=!!t._fullLoop&&0===s&&a===i-1;return yr(t,br(n,s,l,c),n,e)}function yr(t,e,n,r){return r&&r.setContext&&n?_r(t,e,n,r):e}function _r(t,e,n,r){const i=t._chart.getContext(),o=xr(t.options),{_datasetIndex:s,options:{spanGaps:a}}=t,l=n.length,c=[];let u=o,h=e[0].start,d=h;function f(t,e,r,i){const o=a?-1:1;if(t!==e){t+=l;while(n[t%l].skip)t-=o;while(n[e%l].skip)e+=o;t%l!==e%l&&(c.push({start:t%l,end:e%l,loop:r,style:i}),u=i,h=e%l)}}for(const p of e){h=a?h:p.start;let t,e=n[h%l];for(d=h+1;d<=p.end;d++){const o=n[d%l];t=xr(r.setContext(un(i,{type:"segment",p0:e,p1:o,p0DataIndex:(d-1)%l,p1DataIndex:d%l,datasetIndex:s}))),wr(t,u)&&f(h,d-1,p.loop,u),e=o,u=t}h<d-1&&f(h,d-1,p.loop,u)}return c}function xr(t){return{backgroundColor:t.backgroundColor,borderCapStyle:t.borderCapStyle,borderDash:t.borderDash,borderDashOffset:t.borderDashOffset,borderJoinStyle:t.borderJoinStyle,borderWidth:t.borderWidth,borderColor:t.borderColor}}function wr(t,e){return e&&JSON.stringify(t)!==JSON.stringify(e)}},1574:function(t,e,n){"use strict";function r(t,e){var n=l(e);return n.formatToParts?o(n,t):s(n,t)}n.d(e,{Z:function(){return U}});var i={year:0,month:1,day:2,hour:3,minute:4,second:5};function o(t,e){try{for(var n=t.formatToParts(e),r=[],o=0;o<n.length;o++){var s=i[n[o].type];s>=0&&(r[s]=parseInt(n[o].value,10))}return r}catch(a){if(a instanceof RangeError)return[NaN];throw a}}function s(t,e){var n=t.format(e).replace(/\u200E/g,""),r=/(\d+)\/(\d+)\/(\d+),? (\d+):(\d+):(\d+)/.exec(n);return[r[3],r[1],r[2],r[4],r[5],r[6]]}var a={};function l(t){if(!a[t]){var e=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:"America/New_York",year:"numeric",month:"numeric",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"}).format(new Date("2014-06-25T04:00:00.123Z")),n="06/25/2014, 00:00:00"===e||"06/25/2014 00:00:00"===e;a[t]=n?new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:t,year:"numeric",month:"numeric",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"}):new Intl.DateTimeFormat("en-US",{hourCycle:"h23",timeZone:t,year:"numeric",month:"numeric",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"})}return a[t]}function c(t,e,n,r,i,o,s){var a=new Date(0);return a.setUTCFullYear(t,e,n),a.setUTCHours(r,i,o,s),a}var u=36e5,h=6e4,d={timezone:/([Z+-].*)$/,timezoneZ:/^(Z)$/,timezoneHH:/^([+-]\d{2})$/,timezoneHHMM:/^([+-]\d{2}):?(\d{2})$/};function f(t,e,n){var r,i,o;if(!t)return 0;if(r=d.timezoneZ.exec(t),r)return 0;if(r=d.timezoneHH.exec(t),r)return o=parseInt(r[1],10),b(o)?-o*u:NaN;if(r=d.timezoneHHMM.exec(t),r){o=parseInt(r[1],10);var s=parseInt(r[2],10);return b(o,s)?(i=Math.abs(o)*u+s*h,o>0?-i:i):NaN}if(y(t)){e=new Date(e||Date.now());var a=n?e:p(e),l=g(a,t),c=n?l:m(e,l,t);return-c}return NaN}function p(t){return c(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds())}function g(t,e){var n=r(t,e),i=c(n[0],n[1]-1,n[2],n[3]%24,n[4],n[5],0).getTime(),o=t.getTime(),s=o%1e3;return o-=s>=0?s:1e3+s,i-o}function m(t,e,n){var r=t.getTime(),i=r-e,o=g(new Date(i),n);if(e===o)return e;i-=o-e;var s=g(new Date(i),n);return o===s?o:Math.max(o,s)}function b(t,e){return-23<=t&&t<=23&&(null==e||0<=e&&e<=59)}var v={};function y(t){if(v[t])return!0;try{return new Intl.DateTimeFormat(void 0,{timeZone:t}),v[t]=!0,!0}catch(e){return!1}}var _=n(2084),x=n(3561),w=/(Z|[+-]\d{2}(?::?\d{2})?| UTC| [a-zA-Z]+\/[a-zA-Z_]+(?:\/[a-zA-Z_]+)?)$/,k=w,M=36e5,E=6e4,S=2,O={dateTimePattern:/^([0-9W+-]+)(T| )(.*)/,datePattern:/^([0-9W+-]+)(.*)/,plainTime:/:/,YY:/^(\d{2})$/,YYY:[/^([+-]\d{2})$/,/^([+-]\d{3})$/,/^([+-]\d{4})$/],YYYY:/^(\d{4})/,YYYYY:[/^([+-]\d{4})/,/^([+-]\d{5})/,/^([+-]\d{6})/],MM:/^-(\d{2})$/,DDD:/^-?(\d{3})$/,MMDD:/^-?(\d{2})-?(\d{2})$/,Www:/^-?W(\d{2})$/,WwwD:/^-?W(\d{2})-?(\d{1})$/,HH:/^(\d{2}([.,]\d*)?)$/,HHMM:/^(\d{2}):?(\d{2}([.,]\d*)?)$/,HHMMSS:/^(\d{2}):?(\d{2}):?(\d{2}([.,]\d*)?)$/,timeZone:k};function T(t,e){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");if(null===t)return new Date(NaN);var n=e||{},r=null==n.additionalDigits?S:_(n.additionalDigits);if(2!==r&&1!==r&&0!==r)throw new RangeError("additionalDigits must be 0, 1 or 2");if(t instanceof Date||"object"===typeof t&&"[object Date]"===Object.prototype.toString.call(t))return new Date(t.getTime());if("number"===typeof t||"[object Number]"===Object.prototype.toString.call(t))return new Date(t);if("string"!==typeof t&&"[object String]"!==Object.prototype.toString.call(t))return new Date(NaN);var i=C(t),o=P(i.date,r),s=o.year,a=o.restDateString,l=A(a,s);if(isNaN(l))return new Date(NaN);if(l){var c,u=l.getTime(),h=0;if(i.time&&(h=D(i.time),isNaN(h)))return new Date(NaN);if(i.timeZone||n.timeZone){if(c=f(i.timeZone||n.timeZone,new Date(u+h)),isNaN(c))return new Date(NaN)}else c=x(new Date(u+h)),c=x(new Date(u+h+c));return new Date(u+h+c)}return new Date(NaN)}function C(t){var e,n={},r=O.dateTimePattern.exec(t);if(r?(n.date=r[1],e=r[3]):(r=O.datePattern.exec(t),r?(n.date=r[1],e=r[2]):(n.date=null,e=t)),e){var i=O.timeZone.exec(e);i?(n.time=e.replace(i[1],""),n.timeZone=i[1].trim()):n.time=e}return n}function P(t,e){var n,r=O.YYY[e],i=O.YYYYY[e];if(n=O.YYYY.exec(t)||i.exec(t),n){var o=n[1];return{year:parseInt(o,10),restDateString:t.slice(o.length)}}if(n=O.YY.exec(t)||r.exec(t),n){var s=n[1];return{year:100*parseInt(s,10),restDateString:t.slice(s.length)}}return{year:null}}function A(t,e){if(null===e)return null;var n,r,i,o;if(0===t.length)return r=new Date(0),r.setUTCFullYear(e),r;if(n=O.MM.exec(t),n)return r=new Date(0),i=parseInt(n[1],10)-1,F(e,i)?(r.setUTCFullYear(e,i),r):new Date(NaN);if(n=O.DDD.exec(t),n){r=new Date(0);var s=parseInt(n[1],10);return R(e,s)?(r.setUTCFullYear(e,0,s),r):new Date(NaN)}if(n=O.MMDD.exec(t),n){r=new Date(0),i=parseInt(n[1],10)-1;var a=parseInt(n[2],10);return F(e,i,a)?(r.setUTCFullYear(e,i,a),r):new Date(NaN)}if(n=O.Www.exec(t),n)return o=parseInt(n[1],10)-1,W(e,o)?L(e,o):new Date(NaN);if(n=O.WwwD.exec(t),n){o=parseInt(n[1],10)-1;var l=parseInt(n[2],10)-1;return W(e,o,l)?L(e,o,l):new Date(NaN)}return null}function D(t){var e,n,r;if(e=O.HH.exec(t),e)return n=parseFloat(e[1].replace(",",".")),z(n)?n%24*M:NaN;if(e=O.HHMM.exec(t),e)return n=parseInt(e[1],10),r=parseFloat(e[2].replace(",",".")),z(n,r)?n%24*M+r*E:NaN;if(e=O.HHMMSS.exec(t),e){n=parseInt(e[1],10),r=parseInt(e[2],10);var i=parseFloat(e[3].replace(",","."));return z(n,r,i)?n%24*M+r*E+1e3*i:NaN}return null}function L(t,e,n){e=e||0,n=n||0;var r=new Date(0);r.setUTCFullYear(t,0,4);var i=r.getUTCDay()||7,o=7*e+n+1-i;return r.setUTCDate(r.getUTCDate()+o),r}var I=[31,28,31,30,31,30,31,31,30,31,30,31],N=[31,29,31,30,31,30,31,31,30,31,30,31];function j(t){return t%400===0||t%4===0&&t%100!==0}function F(t,e,n){if(e<0||e>11)return!1;if(null!=n){if(n<1)return!1;var r=j(t);if(r&&n>N[e])return!1;if(!r&&n>I[e])return!1}return!0}function R(t,e){if(e<1)return!1;var n=j(t);return!(n&&e>366)&&!(!n&&e>365)}function W(t,e,n){return!(e<0||e>52)&&(null==n||!(n<0||n>6))}function z(t,e,n){return(null==t||!(t<0||t>=25))&&((null==e||!(e<0||e>=60))&&(null==n||!(n<0||n>=60)))}function U(t,e,n){var r=T(t,n),i=f(e,r,!0),o=new Date(r.getTime()-i),s=new Date(0);return s.setFullYear(o.getUTCFullYear(),o.getUTCMonth(),o.getUTCDate()),s.setHours(o.getUTCHours(),o.getUTCMinutes(),o.getUTCSeconds(),o.getUTCMilliseconds()),s}},6518:function(t,e,n){"use strict";n.d(e,{vz:function(){return Sa},wW:function(){return Oa},xZ:function(){return Ta},tn:function(){return Ca}});var r=n(3148);function i(){this.__data__=[],this.size=0}var o=i;function s(t,e){return t===e||t!==t&&e!==e}var a=s;function l(t,e){var n=t.length;while(n--)if(a(t[n][0],e))return n;return-1}var c=l,u=Array.prototype,h=u.splice;function d(t){var e=this.__data__,n=c(e,t);if(n<0)return!1;var r=e.length-1;return n==r?e.pop():h.call(e,n,1),--this.size,!0}var f=d;function p(t){var e=this.__data__,n=c(e,t);return n<0?void 0:e[n][1]}var g=p;function m(t){return c(this.__data__,t)>-1}var b=m;function v(t,e){var n=this.__data__,r=c(n,t);return r<0?(++this.size,n.push([t,e])):n[r][1]=e,this}var y=v;function _(t){var e=-1,n=null==t?0:t.length;this.clear();while(++e<n){var r=t[e];this.set(r[0],r[1])}}_.prototype.clear=o,_.prototype["delete"]=f,_.prototype.get=g,_.prototype.has=b,_.prototype.set=y;var x=_;function w(){this.__data__=new x,this.size=0}var k=w;function M(t){var e=this.__data__,n=e["delete"](t);return this.size=e.size,n}var E=M;function S(t){return this.__data__.get(t)}var O=S;function T(t){return this.__data__.has(t)}var C=T,P="object"==typeof global&&global&&global.Object===Object&&global,A=P,D="object"==typeof self&&self&&self.Object===Object&&self,L=A||D||Function("return this")(),I=L,N=I.Symbol,j=N,F=Object.prototype,R=F.hasOwnProperty,W=F.toString,z=j?j.toStringTag:void 0;function U(t){var e=R.call(t,z),n=t[z];try{t[z]=void 0;var r=!0}catch(o){}var i=W.call(t);return r&&(e?t[z]=n:delete t[z]),i}var H=U,B=Object.prototype,V=B.toString;function $(t){return V.call(t)}var Z=$,Y="[object Null]",q="[object Undefined]",X=j?j.toStringTag:void 0;function G(t){return null==t?void 0===t?q:Y:X&&X in Object(t)?H(t):Z(t)}var J=G;function K(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}var Q=K,tt="[object AsyncFunction]",et="[object Function]",nt="[object GeneratorFunction]",rt="[object Proxy]";function it(t){if(!Q(t))return!1;var e=J(t);return e==et||e==nt||e==tt||e==rt}var ot=it,st=I["__core-js_shared__"],at=st,lt=function(){var t=/[^.]+$/.exec(at&&at.keys&&at.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}();function ct(t){return!!lt&&lt in t}var ut=ct,ht=Function.prototype,dt=ht.toString;function ft(t){if(null!=t){try{return dt.call(t)}catch(e){}try{return t+""}catch(e){}}return""}var pt=ft,gt=/[\\^$.*+?()[\]{}|]/g,mt=/^\[object .+?Constructor\]$/,bt=Function.prototype,vt=Object.prototype,yt=bt.toString,_t=vt.hasOwnProperty,xt=RegExp("^"+yt.call(_t).replace(gt,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function wt(t){if(!Q(t)||ut(t))return!1;var e=ot(t)?xt:mt;return e.test(pt(t))}var kt=wt;function Mt(t,e){return null==t?void 0:t[e]}var Et=Mt;function St(t,e){var n=Et(t,e);return kt(n)?n:void 0}var Ot=St,Tt=Ot(I,"Map"),Ct=Tt,Pt=Ot(Object,"create"),At=Pt;function Dt(){this.__data__=At?At(null):{},this.size=0}var Lt=Dt;function It(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e}var Nt=It,jt="__lodash_hash_undefined__",Ft=Object.prototype,Rt=Ft.hasOwnProperty;function Wt(t){var e=this.__data__;if(At){var n=e[t];return n===jt?void 0:n}return Rt.call(e,t)?e[t]:void 0}var zt=Wt,Ut=Object.prototype,Ht=Ut.hasOwnProperty;function Bt(t){var e=this.__data__;return At?void 0!==e[t]:Ht.call(e,t)}var Vt=Bt,$t="__lodash_hash_undefined__";function Zt(t,e){var n=this.__data__;return this.size+=this.has(t)?0:1,n[t]=At&&void 0===e?$t:e,this}var Yt=Zt;function qt(t){var e=-1,n=null==t?0:t.length;this.clear();while(++e<n){var r=t[e];this.set(r[0],r[1])}}qt.prototype.clear=Lt,qt.prototype["delete"]=Nt,qt.prototype.get=zt,qt.prototype.has=Vt,qt.prototype.set=Yt;var Xt=qt;function Gt(){this.size=0,this.__data__={hash:new Xt,map:new(Ct||x),string:new Xt}}var Jt=Gt;function Kt(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t}var Qt=Kt;function te(t,e){var n=t.__data__;return Qt(e)?n["string"==typeof e?"string":"hash"]:n.map}var ee=te;function ne(t){var e=ee(this,t)["delete"](t);return this.size-=e?1:0,e}var re=ne;function ie(t){return ee(this,t).get(t)}var oe=ie;function se(t){return ee(this,t).has(t)}var ae=se;function le(t,e){var n=ee(this,t),r=n.size;return n.set(t,e),this.size+=n.size==r?0:1,this}var ce=le;function ue(t){var e=-1,n=null==t?0:t.length;this.clear();while(++e<n){var r=t[e];this.set(r[0],r[1])}}ue.prototype.clear=Jt,ue.prototype["delete"]=re,ue.prototype.get=oe,ue.prototype.has=ae,ue.prototype.set=ce;var he=ue,de=200;function fe(t,e){var n=this.__data__;if(n instanceof x){var r=n.__data__;if(!Ct||r.length<de-1)return r.push([t,e]),this.size=++n.size,this;n=this.__data__=new he(r)}return n.set(t,e),this.size=n.size,this}var pe=fe;function ge(t){var e=this.__data__=new x(t);this.size=e.size}ge.prototype.clear=k,ge.prototype["delete"]=E,ge.prototype.get=O,ge.prototype.has=C,ge.prototype.set=pe;var me=ge,be="__lodash_hash_undefined__";function ve(t){return this.__data__.set(t,be),this}var ye=ve;function _e(t){return this.__data__.has(t)}var xe=_e;function we(t){var e=-1,n=null==t?0:t.length;this.__data__=new he;while(++e<n)this.add(t[e])}we.prototype.add=we.prototype.push=ye,we.prototype.has=xe;var ke=we;function Me(t,e){var n=-1,r=null==t?0:t.length;while(++n<r)if(e(t[n],n,t))return!0;return!1}var Ee=Me;function Se(t,e){return t.has(e)}var Oe=Se,Te=1,Ce=2;function Pe(t,e,n,r,i,o){var s=n&Te,a=t.length,l=e.length;if(a!=l&&!(s&&l>a))return!1;var c=o.get(t),u=o.get(e);if(c&&u)return c==e&&u==t;var h=-1,d=!0,f=n&Ce?new ke:void 0;o.set(t,e),o.set(e,t);while(++h<a){var p=t[h],g=e[h];if(r)var m=s?r(g,p,h,e,t,o):r(p,g,h,t,e,o);if(void 0!==m){if(m)continue;d=!1;break}if(f){if(!Ee(e,(function(t,e){if(!Oe(f,e)&&(p===t||i(p,t,n,r,o)))return f.push(e)}))){d=!1;break}}else if(p!==g&&!i(p,g,n,r,o)){d=!1;break}}return o["delete"](t),o["delete"](e),d}var Ae=Pe,De=I.Uint8Array,Le=De;function Ie(t){var e=-1,n=Array(t.size);return t.forEach((function(t,r){n[++e]=[r,t]})),n}var Ne=Ie;function je(t){var e=-1,n=Array(t.size);return t.forEach((function(t){n[++e]=t})),n}var Fe=je,Re=1,We=2,ze="[object Boolean]",Ue="[object Date]",He="[object Error]",Be="[object Map]",Ve="[object Number]",$e="[object RegExp]",Ze="[object Set]",Ye="[object String]",qe="[object Symbol]",Xe="[object ArrayBuffer]",Ge="[object DataView]",Je=j?j.prototype:void 0,Ke=Je?Je.valueOf:void 0;function Qe(t,e,n,r,i,o,s){switch(n){case Ge:if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case Xe:return!(t.byteLength!=e.byteLength||!o(new Le(t),new Le(e)));case ze:case Ue:case Ve:return a(+t,+e);case He:return t.name==e.name&&t.message==e.message;case $e:case Ye:return t==e+"";case Be:var l=Ne;case Ze:var c=r&Re;if(l||(l=Fe),t.size!=e.size&&!c)return!1;var u=s.get(t);if(u)return u==e;r|=We,s.set(t,e);var h=Ae(l(t),l(e),r,i,o,s);return s["delete"](t),h;case qe:if(Ke)return Ke.call(t)==Ke.call(e)}return!1}var tn=Qe;function en(t,e){var n=-1,r=e.length,i=t.length;while(++n<r)t[i+n]=e[n];return t}var nn=en,rn=Array.isArray,on=rn;function sn(t,e,n){var r=e(t);return on(t)?r:nn(r,n(t))}var an=sn;function ln(t,e){var n=-1,r=null==t?0:t.length,i=0,o=[];while(++n<r){var s=t[n];e(s,n,t)&&(o[i++]=s)}return o}var cn=ln;function un(){return[]}var hn=un,dn=Object.prototype,fn=dn.propertyIsEnumerable,pn=Object.getOwnPropertySymbols,gn=pn?function(t){return null==t?[]:(t=Object(t),cn(pn(t),(function(e){return fn.call(t,e)})))}:hn,mn=gn;function bn(t,e){var n=-1,r=Array(t);while(++n<t)r[n]=e(n);return r}var vn=bn;function yn(t){return null!=t&&"object"==typeof t}var _n=yn,xn="[object Arguments]";function wn(t){return _n(t)&&J(t)==xn}var kn=wn,Mn=Object.prototype,En=Mn.hasOwnProperty,Sn=Mn.propertyIsEnumerable,On=kn(function(){return arguments}())?kn:function(t){return _n(t)&&En.call(t,"callee")&&!Sn.call(t,"callee")},Tn=On;function Cn(){return!1}var Pn=Cn,An="object"==typeof exports&&exports&&!exports.nodeType&&exports,Dn=An&&"object"==typeof module&&module&&!module.nodeType&&module,Ln=Dn&&Dn.exports===An,In=Ln?I.Buffer:void 0,Nn=In?In.isBuffer:void 0,jn=Nn||Pn,Fn=jn,Rn=9007199254740991,Wn=/^(?:0|[1-9]\d*)$/;function zn(t,e){var n=typeof t;return e=null==e?Rn:e,!!e&&("number"==n||"symbol"!=n&&Wn.test(t))&&t>-1&&t%1==0&&t<e}var Un=zn,Hn=9007199254740991;function Bn(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=Hn}var Vn=Bn,$n="[object Arguments]",Zn="[object Array]",Yn="[object Boolean]",qn="[object Date]",Xn="[object Error]",Gn="[object Function]",Jn="[object Map]",Kn="[object Number]",Qn="[object Object]",tr="[object RegExp]",er="[object Set]",nr="[object String]",rr="[object WeakMap]",ir="[object ArrayBuffer]",or="[object DataView]",sr="[object Float32Array]",ar="[object Float64Array]",lr="[object Int8Array]",cr="[object Int16Array]",ur="[object Int32Array]",hr="[object Uint8Array]",dr="[object Uint8ClampedArray]",fr="[object Uint16Array]",pr="[object Uint32Array]",gr={};function mr(t){return _n(t)&&Vn(t.length)&&!!gr[J(t)]}gr[sr]=gr[ar]=gr[lr]=gr[cr]=gr[ur]=gr[hr]=gr[dr]=gr[fr]=gr[pr]=!0,gr[$n]=gr[Zn]=gr[ir]=gr[Yn]=gr[or]=gr[qn]=gr[Xn]=gr[Gn]=gr[Jn]=gr[Kn]=gr[Qn]=gr[tr]=gr[er]=gr[nr]=gr[rr]=!1;var br=mr;function vr(t){return function(e){return t(e)}}var yr=vr,_r="object"==typeof exports&&exports&&!exports.nodeType&&exports,xr=_r&&"object"==typeof module&&module&&!module.nodeType&&module,wr=xr&&xr.exports===_r,kr=wr&&A.process,Mr=function(){try{var t=xr&&xr.require&&xr.require("util").types;return t||kr&&kr.binding&&kr.binding("util")}catch(e){}}(),Er=Mr,Sr=Er&&Er.isTypedArray,Or=Sr?yr(Sr):br,Tr=Or,Cr=Object.prototype,Pr=Cr.hasOwnProperty;function Ar(t,e){var n=on(t),r=!n&&Tn(t),i=!n&&!r&&Fn(t),o=!n&&!r&&!i&&Tr(t),s=n||r||i||o,a=s?vn(t.length,String):[],l=a.length;for(var c in t)!e&&!Pr.call(t,c)||s&&("length"==c||i&&("offset"==c||"parent"==c)||o&&("buffer"==c||"byteLength"==c||"byteOffset"==c)||Un(c,l))||a.push(c);return a}var Dr=Ar,Lr=Object.prototype;function Ir(t){var e=t&&t.constructor,n="function"==typeof e&&e.prototype||Lr;return t===n}var Nr=Ir;function jr(t,e){return function(n){return t(e(n))}}var Fr=jr,Rr=Fr(Object.keys,Object),Wr=Rr,zr=Object.prototype,Ur=zr.hasOwnProperty;function Hr(t){if(!Nr(t))return Wr(t);var e=[];for(var n in Object(t))Ur.call(t,n)&&"constructor"!=n&&e.push(n);return e}var Br=Hr;function Vr(t){return null!=t&&Vn(t.length)&&!ot(t)}var $r=Vr;function Zr(t){return $r(t)?Dr(t):Br(t)}var Yr=Zr;function qr(t){return an(t,Yr,mn)}var Xr=qr,Gr=1,Jr=Object.prototype,Kr=Jr.hasOwnProperty;function Qr(t,e,n,r,i,o){var s=n&Gr,a=Xr(t),l=a.length,c=Xr(e),u=c.length;if(l!=u&&!s)return!1;var h=l;while(h--){var d=a[h];if(!(s?d in e:Kr.call(e,d)))return!1}var f=o.get(t),p=o.get(e);if(f&&p)return f==e&&p==t;var g=!0;o.set(t,e),o.set(e,t);var m=s;while(++h<l){d=a[h];var b=t[d],v=e[d];if(r)var y=s?r(v,b,d,e,t,o):r(b,v,d,t,e,o);if(!(void 0===y?b===v||i(b,v,n,r,o):y)){g=!1;break}m||(m="constructor"==d)}if(g&&!m){var _=t.constructor,x=e.constructor;_==x||!("constructor"in t)||!("constructor"in e)||"function"==typeof _&&_ instanceof _&&"function"==typeof x&&x instanceof x||(g=!1)}return o["delete"](t),o["delete"](e),g}var ti=Qr,ei=Ot(I,"DataView"),ni=ei,ri=Ot(I,"Promise"),ii=ri,oi=Ot(I,"Set"),si=oi,ai=Ot(I,"WeakMap"),li=ai,ci="[object Map]",ui="[object Object]",hi="[object Promise]",di="[object Set]",fi="[object WeakMap]",pi="[object DataView]",gi=pt(ni),mi=pt(Ct),bi=pt(ii),vi=pt(si),yi=pt(li),_i=J;(ni&&_i(new ni(new ArrayBuffer(1)))!=pi||Ct&&_i(new Ct)!=ci||ii&&_i(ii.resolve())!=hi||si&&_i(new si)!=di||li&&_i(new li)!=fi)&&(_i=function(t){var e=J(t),n=e==ui?t.constructor:void 0,r=n?pt(n):"";if(r)switch(r){case gi:return pi;case mi:return ci;case bi:return hi;case vi:return di;case yi:return fi}return e});var xi=_i,wi=1,ki="[object Arguments]",Mi="[object Array]",Ei="[object Object]",Si=Object.prototype,Oi=Si.hasOwnProperty;function Ti(t,e,n,r,i,o){var s=on(t),a=on(e),l=s?Mi:xi(t),c=a?Mi:xi(e);l=l==ki?Ei:l,c=c==ki?Ei:c;var u=l==Ei,h=c==Ei,d=l==c;if(d&&Fn(t)){if(!Fn(e))return!1;s=!0,u=!1}if(d&&!u)return o||(o=new me),s||Tr(t)?Ae(t,e,n,r,i,o):tn(t,e,l,n,r,i,o);if(!(n&wi)){var f=u&&Oi.call(t,"__wrapped__"),p=h&&Oi.call(e,"__wrapped__");if(f||p){var g=f?t.value():t,m=p?e.value():e;return o||(o=new me),i(g,m,n,r,o)}}return!!d&&(o||(o=new me),ti(t,e,n,r,i,o))}var Ci=Ti;function Pi(t,e,n,r,i){return t===e||(null==t||null==e||!_n(t)&&!_n(e)?t!==t&&e!==e:Ci(t,e,n,r,Pi,i))}var Ai=Pi;function Di(t,e){return Ai(t,e)}var Li=Di;function Ii(t,e){var n=-1,r=null==t?0:t.length;while(++n<r)if(!1===e(t[n],n,t))break;return t}var Ni=Ii,ji=function(){try{var t=Ot(Object,"defineProperty");return t({},"",{}),t}catch(e){}}(),Fi=ji;function Ri(t,e,n){"__proto__"==e&&Fi?Fi(t,e,{configurable:!0,enumerable:!0,value:n,writable:!0}):t[e]=n}var Wi=Ri,zi=Object.prototype,Ui=zi.hasOwnProperty;function Hi(t,e,n){var r=t[e];Ui.call(t,e)&&a(r,n)&&(void 0!==n||e in t)||Wi(t,e,n)}var Bi=Hi;function Vi(t,e,n,r){var i=!n;n||(n={});var o=-1,s=e.length;while(++o<s){var a=e[o],l=r?r(n[a],t[a],a,n,t):void 0;void 0===l&&(l=t[a]),i?Wi(n,a,l):Bi(n,a,l)}return n}var $i=Vi;function Zi(t,e){return t&&$i(e,Yr(e),t)}var Yi=Zi;function qi(t){var e=[];if(null!=t)for(var n in Object(t))e.push(n);return e}var Xi=qi,Gi=Object.prototype,Ji=Gi.hasOwnProperty;function Ki(t){if(!Q(t))return Xi(t);var e=Nr(t),n=[];for(var r in t)("constructor"!=r||!e&&Ji.call(t,r))&&n.push(r);return n}var Qi=Ki;function to(t){return $r(t)?Dr(t,!0):Qi(t)}var eo=to;function no(t,e){return t&&$i(e,eo(e),t)}var ro=no,io="object"==typeof exports&&exports&&!exports.nodeType&&exports,oo=io&&"object"==typeof module&&module&&!module.nodeType&&module,so=oo&&oo.exports===io,ao=so?I.Buffer:void 0,lo=ao?ao.allocUnsafe:void 0;function co(t,e){if(e)return t.slice();var n=t.length,r=lo?lo(n):new t.constructor(n);return t.copy(r),r}var uo=co;function ho(t,e){var n=-1,r=t.length;e||(e=Array(r));while(++n<r)e[n]=t[n];return e}var fo=ho;function po(t,e){return $i(t,mn(t),e)}var go=po,mo=Fr(Object.getPrototypeOf,Object),bo=mo,vo=Object.getOwnPropertySymbols,yo=vo?function(t){var e=[];while(t)nn(e,mn(t)),t=bo(t);return e}:hn,_o=yo;function xo(t,e){return $i(t,_o(t),e)}var wo=xo;function ko(t){return an(t,eo,_o)}var Mo=ko,Eo=Object.prototype,So=Eo.hasOwnProperty;function Oo(t){var e=t.length,n=new t.constructor(e);return e&&"string"==typeof t[0]&&So.call(t,"index")&&(n.index=t.index,n.input=t.input),n}var To=Oo;function Co(t){var e=new t.constructor(t.byteLength);return new Le(e).set(new Le(t)),e}var Po=Co;function Ao(t,e){var n=e?Po(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.byteLength)}var Do=Ao,Lo=/\w*$/;function Io(t){var e=new t.constructor(t.source,Lo.exec(t));return e.lastIndex=t.lastIndex,e}var No=Io,jo=j?j.prototype:void 0,Fo=jo?jo.valueOf:void 0;function Ro(t){return Fo?Object(Fo.call(t)):{}}var Wo=Ro;function zo(t,e){var n=e?Po(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.length)}var Uo=zo,Ho="[object Boolean]",Bo="[object Date]",Vo="[object Map]",$o="[object Number]",Zo="[object RegExp]",Yo="[object Set]",qo="[object String]",Xo="[object Symbol]",Go="[object ArrayBuffer]",Jo="[object DataView]",Ko="[object Float32Array]",Qo="[object Float64Array]",ts="[object Int8Array]",es="[object Int16Array]",ns="[object Int32Array]",rs="[object Uint8Array]",is="[object Uint8ClampedArray]",os="[object Uint16Array]",ss="[object Uint32Array]";function as(t,e,n){var r=t.constructor;switch(e){case Go:return Po(t);case Ho:case Bo:return new r(+t);case Jo:return Do(t,n);case Ko:case Qo:case ts:case es:case ns:case rs:case is:case os:case ss:return Uo(t,n);case Vo:return new r;case $o:case qo:return new r(t);case Zo:return No(t);case Yo:return new r;case Xo:return Wo(t)}}var ls=as,cs=Object.create,us=function(){function t(){}return function(e){if(!Q(e))return{};if(cs)return cs(e);t.prototype=e;var n=new t;return t.prototype=void 0,n}}(),hs=us;function ds(t){return"function"!=typeof t.constructor||Nr(t)?{}:hs(bo(t))}var fs=ds,ps="[object Map]";function gs(t){return _n(t)&&xi(t)==ps}var ms=gs,bs=Er&&Er.isMap,vs=bs?yr(bs):ms,ys=vs,_s="[object Set]";function xs(t){return _n(t)&&xi(t)==_s}var ws=xs,ks=Er&&Er.isSet,Ms=ks?yr(ks):ws,Es=Ms,Ss=1,Os=2,Ts=4,Cs="[object Arguments]",Ps="[object Array]",As="[object Boolean]",Ds="[object Date]",Ls="[object Error]",Is="[object Function]",Ns="[object GeneratorFunction]",js="[object Map]",Fs="[object Number]",Rs="[object Object]",Ws="[object RegExp]",zs="[object Set]",Us="[object String]",Hs="[object Symbol]",Bs="[object WeakMap]",Vs="[object ArrayBuffer]",$s="[object DataView]",Zs="[object Float32Array]",Ys="[object Float64Array]",qs="[object Int8Array]",Xs="[object Int16Array]",Gs="[object Int32Array]",Js="[object Uint8Array]",Ks="[object Uint8ClampedArray]",Qs="[object Uint16Array]",ta="[object Uint32Array]",ea={};function na(t,e,n,r,i,o){var s,a=e&Ss,l=e&Os,c=e&Ts;if(n&&(s=i?n(t,r,i,o):n(t)),void 0!==s)return s;if(!Q(t))return t;var u=on(t);if(u){if(s=To(t),!a)return fo(t,s)}else{var h=xi(t),d=h==Is||h==Ns;if(Fn(t))return uo(t,a);if(h==Rs||h==Cs||d&&!i){if(s=l||d?{}:fs(t),!a)return l?wo(t,ro(s,t)):go(t,Yi(s,t))}else{if(!ea[h])return i?t:{};s=ls(t,h,a)}}o||(o=new me);var f=o.get(t);if(f)return f;o.set(t,s),Es(t)?t.forEach((function(r){s.add(na(r,e,n,r,t,o))})):ys(t)&&t.forEach((function(r,i){s.set(i,na(r,e,n,i,t,o))}));var p=c?l?Mo:Xr:l?eo:Yr,g=u?void 0:p(t);return Ni(g||t,(function(r,i){g&&(i=r,r=t[i]),Bi(s,i,na(r,e,n,i,t,o))})),s}ea[Cs]=ea[Ps]=ea[Vs]=ea[$s]=ea[As]=ea[Ds]=ea[Zs]=ea[Ys]=ea[qs]=ea[Xs]=ea[Gs]=ea[js]=ea[Fs]=ea[Rs]=ea[Ws]=ea[zs]=ea[Us]=ea[Hs]=ea[Js]=ea[Ks]=ea[Qs]=ea[ta]=!0,ea[Ls]=ea[Is]=ea[Bs]=!1;var ra=na,ia=1,oa=4;function sa(t){return ra(t,ia|oa)}var aa=sa,la=n(6252),ca=n(2262),ua=n(6959);const ha=/[^\p{L}\p{N}]+/gu,da=t=>null==t?"":Array.isArray(t)?t.map((t=>t.toString().trim())).filter((t=>t.length>0)).join(" "):"function"===typeof t?t.name?t.name:"":"function"!==typeof t.toString?"":t.toString().trim(),fa=(t,e={})=>{const n=da(t),r=e.punctuationRegex??ha,i=n?ua(r?n.replace(r," "):n,e):"";return i?i[0].toLocaleUpperCase(e.locale)+i.slice(1):""};var pa=fa,ga=Object.defineProperty,ma=Object.defineProperties,ba=Object.getOwnPropertyDescriptors,va=Object.getOwnPropertySymbols,ya=Object.prototype.hasOwnProperty,_a=Object.prototype.propertyIsEnumerable,xa=(t,e,n)=>e in t?ga(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,wa=(t,e)=>{for(var n in e||(e={}))ya.call(e,n)&&xa(t,n,e[n]);if(va)for(var n of va(e))_a.call(e,n)&&xa(t,n,e[n]);return t},ka=(t,e)=>ma(t,ba(e)),Ma=(t,e)=>{const n={chartData:{type:Object,required:!0},options:{type:Object,required:!1},chartId:{default:t,type:String},width:{default:400,type:Number},height:{default:400,type:Number},cssClasses:{type:String,default:""},styles:{type:Object},plugins:{type:Array,default:()=>[]},onLabelsUpdate:{type:Function},onChartUpdate:{type:Function},onChartDestroy:{type:Function},onChartRender:{type:Function}},i=pa(t);return(0,la.aZ)({name:i,props:n,emits:{"labels:update":()=>!0,"chart:update":t=>!0,"chart:destroy":()=>!0,"chart:render":t=>!0},setup(t,{emit:n,expose:o}){const s=(0,ca.iH)(null),a=`${t.chartId}`;let l=(0,ca.XI)(null);function c(t,e){if(e&&l.value){let n=l.value;Li(t,e)||e.datasets.length!==t.datasets.length?n.data.datasets=t.datasets:(t.datasets.forEach(((t,r)=>{const i=Object.keys(e.datasets[r]),o=Object.keys(t),s=i.filter((t=>"_meta"!==t&&-1===o.indexOf(t)));s.forEach((t=>{n.data.datasets[r]&&delete n.data.datasets[r][t]}));for(const e in t){const i=t[e];t.hasOwnProperty(e)&&null!=i&&n&&(n.data.datasets[r][e]=i)}})),t.labels&&(n.data.labels=t.labels,h())),f()}else l.value&&p(),u()}function u(){s.value?(l.value=new r.kL(s.value,{data:t.chartData,type:e,options:aa(t.options),plugins:t.plugins}),d()):console.error(`Error on component ${i}, canvas cannot be rendered. Check if the render appends server-side`)}function h(){n("labels:update"),t.onLabelsUpdate&&t.onLabelsUpdate()}function d(){l.value&&(n("chart:render",l.value),t.onChartRender&&t.onChartRender(l.value))}function f(){l.value&&(l.value.update(),n("chart:render",l.value),t.onChartRender&&t.onChartRender(l.value))}function p(){l.value&&l.value.destroy(),n("chart:destroy"),t.onChartDestroy&&t.onChartDestroy()}return(0,la.YP)((()=>t.chartData),c,{deep:!0}),(0,la.YP)((()=>t.options),((t,e)=>{l.value&&t&&!Li(l.value.options,e)&&(l.value.options=aa(t),e=aa(t),f())}),{deep:!0}),(0,la.bv)(u),(0,la.Jd)((()=>{l.value&&l.value.destroy()})),o({canvasRef:s,renderChart:u,chartInstance:l,canvasId:a,update:f}),()=>(0,la.h)("div",{style:ka(wa({maxWidth:"100%"},t.styles),{position:"relative"}),class:t.cssClasses},[(0,la.h)("canvas",{style:{maxWidth:"100%",maxHeight:"100%"},id:a,width:t.width,height:t.height,ref:s})])}})},Ea=t=>e=>{const n=`${t}ChartRef`,r={[n]:(0,ca.iH)()},i=(0,la.Fl)((()=>ka(wa(wa(wa({},e),e.jsx&&{ref:r[n]}),!e.jsx&&{ref:n}),{chartData:(0,ca.SU)(e.chartData),options:(0,ca.SU)(e.options)})));function o(){var e;const i=r[n].value;i?null==(e=null==i?void 0:i.chartInstance.value)||e.update():console.warn(`No chartInstance to update (use${pa(t)}Chart)`)}return{[`${t}ChartProps`]:i,[n]:r[n],update:o}},Sa=Ma("bar-chart","bar"),Oa=(Ma("doughnut-chart","doughnut"),Ma("line-chart","line")),Ta=(Ma("pie-chart","pie"),Ma("polar-chart","polarArea"),Ma("radar-chart","radar"),Ma("bubble-chart","bubble"),Ma("scatter-chart","scatter"),Ea("doughnut"),Ea("bar")),Ca=Ea("line");Ea("pie"),Ea("polarArea"),Ea("radar"),Ea("bubble"),Ea("scatter")},2201:function(t,e,n){"use strict";n.d(e,{PO:function(){return W},p7:function(){return ee},tv:function(){return ie},yj:function(){return oe}});var r=n(6252),i=n(2262);
/*!
* vue-router v4.1.6
* (c) 2022 Eduardo San Martin Morote
* @license MIT
*/
const o="undefined"!==typeof window;function s(t){return t.__esModule||"Module"===t[Symbol.toStringTag]}const a=Object.assign;function l(t,e){const n={};for(const r in e){const i=e[r];n[r]=u(i)?i.map(t):t(i)}return n}const c=()=>{},u=Array.isArray;const h=/\/$/,d=t=>t.replace(h,"");function f(t,e,n="/"){let r,i={},o="",s="";const a=e.indexOf("#");let l=e.indexOf("?");return a<l&&a>=0&&(l=-1),l>-1&&(r=e.slice(0,l),o=e.slice(l+1,a>-1?a:e.length),i=t(o)),a>-1&&(r=r||e.slice(0,a),s=e.slice(a,e.length)),r=x(null!=r?r:e,n),{fullPath:r+(o&&"?")+o+s,path:r,query:i,hash:s}}function p(t,e){const n=e.query?t(e.query):"";return e.path+(n&&"?")+n+(e.hash||"")}function g(t,e){return e&&t.toLowerCase().startsWith(e.toLowerCase())?t.slice(e.length)||"/":t}function m(t,e,n){const r=e.matched.length-1,i=n.matched.length-1;return r>-1&&r===i&&b(e.matched[r],n.matched[i])&&v(e.params,n.params)&&t(e.query)===t(n.query)&&e.hash===n.hash}function b(t,e){return(t.aliasOf||t)===(e.aliasOf||e)}function v(t,e){if(Object.keys(t).length!==Object.keys(e).length)return!1;for(const n in t)if(!y(t[n],e[n]))return!1;return!0}function y(t,e){return u(t)?_(t,e):u(e)?_(e,t):t===e}function _(t,e){return u(e)?t.length===e.length&&t.every(((t,n)=>t===e[n])):1===t.length&&t[0]===e}function x(t,e){if(t.startsWith("/"))return t;if(!t)return e;const n=e.split("/"),r=t.split("/");let i,o,s=n.length-1;for(i=0;i<r.length;i++)if(o=r[i],"."!==o){if(".."!==o)break;s>1&&s--}return n.slice(0,s).join("/")+"/"+r.slice(i-(i===r.length?1:0)).join("/")}var w,k;(function(t){t["pop"]="pop",t["push"]="push"})(w||(w={})),function(t){t["back"]="back",t["forward"]="forward",t["unknown"]=""}(k||(k={}));function M(t){if(!t)if(o){const e=document.querySelector("base");t=e&&e.getAttribute("href")||"/",t=t.replace(/^\w+:\/\/[^\/]+/,"")}else t="/";return"/"!==t[0]&&"#"!==t[0]&&(t="/"+t),d(t)}const E=/^[^#]+#/;function S(t,e){return t.replace(E,"#")+e}function O(t,e){const n=document.documentElement.getBoundingClientRect(),r=t.getBoundingClientRect();return{behavior:e.behavior,left:r.left-n.left-(e.left||0),top:r.top-n.top-(e.top||0)}}const T=()=>({left:window.pageXOffset,top:window.pageYOffset});function C(t){let e;if("el"in t){const n=t.el,r="string"===typeof n&&n.startsWith("#");0;const i="string"===typeof n?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!i)return;e=O(i,t)}else e=t;"scrollBehavior"in document.documentElement.style?window.scrollTo(e):window.scrollTo(null!=e.left?e.left:window.pageXOffset,null!=e.top?e.top:window.pageYOffset)}function P(t,e){const n=history.state?history.state.position-e:-1;return n+t}const A=new Map;function D(t,e){A.set(t,e)}function L(t){const e=A.get(t);return A.delete(t),e}let I=()=>location.protocol+"//"+location.host;function N(t,e){const{pathname:n,search:r,hash:i}=e,o=t.indexOf("#");if(o>-1){let e=i.includes(t.slice(o))?t.slice(o).length:1,n=i.slice(e);return"/"!==n[0]&&(n="/"+n),g(n,"")}const s=g(n,t);return s+r+i}function j(t,e,n,r){let i=[],o=[],s=null;const l=({state:o})=>{const a=N(t,location),l=n.value,c=e.value;let u=0;if(o){if(n.value=a,e.value=o,s&&s===l)return void(s=null);u=c?o.position-c.position:0}else r(a);i.forEach((t=>{t(n.value,l,{delta:u,type:w.pop,direction:u?u>0?k.forward:k.back:k.unknown})}))};function c(){s=n.value}function u(t){i.push(t);const e=()=>{const e=i.indexOf(t);e>-1&&i.splice(e,1)};return o.push(e),e}function h(){const{history:t}=window;t.state&&t.replaceState(a({},t.state,{scroll:T()}),"")}function d(){for(const t of o)t();o=[],window.removeEventListener("popstate",l),window.removeEventListener("beforeunload",h)}return window.addEventListener("popstate",l),window.addEventListener("beforeunload",h),{pauseListeners:c,listen:u,destroy:d}}function F(t,e,n,r=!1,i=!1){return{back:t,current:e,forward:n,replaced:r,position:window.history.length,scroll:i?T():null}}function R(t){const{history:e,location:n}=window,r={value:N(t,n)},i={value:e.state};function o(r,o,s){const a=t.indexOf("#"),l=a>-1?(n.host&&document.querySelector("base")?t:t.slice(a))+r:I()+t+r;try{e[s?"replaceState":"pushState"](o,"",l),i.value=o}catch(c){console.error(c),n[s?"replace":"assign"](l)}}function s(t,n){const s=a({},e.state,F(i.value.back,t,i.value.forward,!0),n,{position:i.value.position});o(t,s,!0),r.value=t}function l(t,n){const s=a({},i.value,e.state,{forward:t,scroll:T()});o(s.current,s,!0);const l=a({},F(r.value,t,null),{position:s.position+1},n);o(t,l,!1),r.value=t}return i.value||o(r.value,{back:null,current:r.value,forward:null,position:e.length-1,replaced:!0,scroll:null},!0),{location:r,state:i,push:l,replace:s}}function W(t){t=M(t);const e=R(t),n=j(t,e.state,e.location,e.replace);function r(t,e=!0){e||n.pauseListeners(),history.go(t)}const i=a({location:"",base:t,go:r,createHref:S.bind(null,t)},e,n);return Object.defineProperty(i,"location",{enumerable:!0,get:()=>e.location.value}),Object.defineProperty(i,"state",{enumerable:!0,get:()=>e.state.value}),i}function z(t){return"string"===typeof t||t&&"object"===typeof t}function U(t){return"string"===typeof t||"symbol"===typeof t}const H={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},B=Symbol("");var V;(function(t){t[t["aborted"]=4]="aborted",t[t["cancelled"]=8]="cancelled",t[t["duplicated"]=16]="duplicated"})(V||(V={}));function $(t,e){return a(new Error,{type:t,[B]:!0},e)}function Z(t,e){return t instanceof Error&&B in t&&(null==e||!!(t.type&e))}const Y="[^/]+?",q={sensitive:!1,strict:!1,start:!0,end:!0},X=/[.+*?^${}()[\]/\\]/g;function G(t,e){const n=a({},q,e),r=[];let i=n.start?"^":"";const o=[];for(const a of t){const t=a.length?[]:[90];n.strict&&!a.length&&(i+="/");for(let e=0;e<a.length;e++){const r=a[e];let s=40+(n.sensitive?.25:0);if(0===r.type)e||(i+="/"),i+=r.value.replace(X,"\\$&"),s+=40;else if(1===r.type){const{value:t,repeatable:n,optional:l,regexp:c}=r;o.push({name:t,repeatable:n,optional:l});const u=c||Y;if(u!==Y){s+=10;try{new RegExp(`(${u})`)}catch(h){throw new Error(`Invalid custom RegExp for param "${t}" (${u}): `+h.message)}}let d=n?`((?:${u})(?:/(?:${u}))*)`:`(${u})`;e||(d=l&&a.length<2?`(?:/${d})`:"/"+d),l&&(d+="?"),i+=d,s+=20,l&&(s+=-8),n&&(s+=-20),".*"===u&&(s+=-50)}t.push(s)}r.push(t)}if(n.strict&&n.end){const t=r.length-1;r[t][r[t].length-1]+=.7000000000000001}n.strict||(i+="/?"),n.end?i+="$":n.strict&&(i+="(?:/|$)");const s=new RegExp(i,n.sensitive?"":"i");function l(t){const e=t.match(s),n={};if(!e)return null;for(let r=1;r<e.length;r++){const t=e[r]||"",i=o[r-1];n[i.name]=t&&i.repeatable?t.split("/"):t}return n}function c(e){let n="",r=!1;for(const i of t){r&&n.endsWith("/")||(n+="/"),r=!1;for(const t of i)if(0===t.type)n+=t.value;else if(1===t.type){const{value:o,repeatable:s,optional:a}=t,l=o in e?e[o]:"";if(u(l)&&!s)throw new Error(`Provided param "${o}" is an array but it is not repeatable (* or + modifiers)`);const c=u(l)?l.join("/"):l;if(!c){if(!a)throw new Error(`Missing required param "${o}"`);i.length<2&&(n.endsWith("/")?n=n.slice(0,-1):r=!0)}n+=c}}return n||"/"}return{re:s,score:r,keys:o,parse:l,stringify:c}}function J(t,e){let n=0;while(n<t.length&&n<e.length){const r=e[n]-t[n];if(r)return r;n++}return t.length<e.length?1===t.length&&80===t[0]?-1:1:t.length>e.length?1===e.length&&80===e[0]?1:-1:0}function K(t,e){let n=0;const r=t.score,i=e.score;while(n<r.length&&n<i.length){const t=J(r[n],i[n]);if(t)return t;n++}if(1===Math.abs(i.length-r.length)){if(Q(r))return 1;if(Q(i))return-1}return i.length-r.length}function Q(t){const e=t[t.length-1];return t.length>0&&e[e.length-1]<0}const tt={type:0,value:""},et=/[a-zA-Z0-9_]/;function nt(t){if(!t)return[[]];if("/"===t)return[[tt]];if(!t.startsWith("/"))throw new Error(`Invalid path "${t}"`);function e(t){throw new Error(`ERR (${n})/"${c}": ${t}`)}let n=0,r=n;const i=[];let o;function s(){o&&i.push(o),o=[]}let a,l=0,c="",u="";function h(){c&&(0===n?o.push({type:0,value:c}):1===n||2===n||3===n?(o.length>1&&("*"===a||"+"===a)&&e(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),o.push({type:1,value:c,regexp:u,repeatable:"*"===a||"+"===a,optional:"*"===a||"?"===a})):e("Invalid state to consume buffer"),c="")}function d(){c+=a}while(l<t.length)if(a=t[l++],"\\"!==a||2===n)switch(n){case 0:"/"===a?(c&&h(),s()):":"===a?(h(),n=1):d();break;case 4:d(),n=r;break;case 1:"("===a?n=2:et.test(a)?d():(h(),n=0,"*"!==a&&"?"!==a&&"+"!==a&&l--);break;case 2:")"===a?"\\"==u[u.length-1]?u=u.slice(0,-1)+a:n=3:u+=a;break;case 3:h(),n=0,"*"!==a&&"?"!==a&&"+"!==a&&l--,u="";break;default:e("Unknown state");break}else r=n,n=4;return 2===n&&e(`Unfinished custom RegExp for param "${c}"`),h(),s(),i}function rt(t,e,n){const r=G(nt(t.path),n);const i=a(r,{record:t,parent:e,children:[],alias:[]});return e&&!i.record.aliasOf===!e.record.aliasOf&&e.children.push(i),i}function it(t,e){const n=[],r=new Map;function i(t){return r.get(t)}function o(t,n,r){const i=!r,l=st(t);l.aliasOf=r&&r.record;const h=ut(e,t),d=[l];if("alias"in t){const e="string"===typeof t.alias?[t.alias]:t.alias;for(const t of e)d.push(a({},l,{components:r?r.record.components:l.components,path:t,aliasOf:r?r.record:l}))}let f,p;for(const e of d){const{path:a}=e;if(n&&"/"!==a[0]){const t=n.record.path,r="/"===t[t.length-1]?"":"/";e.path=n.record.path+(a&&r+a)}if(f=rt(e,n,h),r?r.alias.push(f):(p=p||f,p!==f&&p.alias.push(f),i&&t.name&&!lt(f)&&s(t.name)),l.children){const t=l.children;for(let e=0;e<t.length;e++)o(t[e],f,r&&r.children[e])}r=r||f,(f.record.components&&Object.keys(f.record.components).length||f.record.name||f.record.redirect)&&u(f)}return p?()=>{s(p)}:c}function s(t){if(U(t)){const e=r.get(t);e&&(r.delete(t),n.splice(n.indexOf(e),1),e.children.forEach(s),e.alias.forEach(s))}else{const e=n.indexOf(t);e>-1&&(n.splice(e,1),t.record.name&&r.delete(t.record.name),t.children.forEach(s),t.alias.forEach(s))}}function l(){return n}function u(t){let e=0;while(e<n.length&&K(t,n[e])>=0&&(t.record.path!==n[e].record.path||!ht(t,n[e])))e++;n.splice(e,0,t),t.record.name&&!lt(t)&&r.set(t.record.name,t)}function h(t,e){let i,o,s,l={};if("name"in t&&t.name){if(i=r.get(t.name),!i)throw $(1,{location:t});0,s=i.record.name,l=a(ot(e.params,i.keys.filter((t=>!t.optional)).map((t=>t.name))),t.params&&ot(t.params,i.keys.map((t=>t.name)))),o=i.stringify(l)}else if("path"in t)o=t.path,i=n.find((t=>t.re.test(o))),i&&(l=i.parse(o),s=i.record.name);else{if(i=e.name?r.get(e.name):n.find((t=>t.re.test(e.path))),!i)throw $(1,{location:t,currentLocation:e});s=i.record.name,l=a({},e.params,t.params),o=i.stringify(l)}const c=[];let u=i;while(u)c.unshift(u.record),u=u.parent;return{name:s,path:o,params:l,matched:c,meta:ct(c)}}return e=ut({strict:!1,end:!0,sensitive:!1},e),t.forEach((t=>o(t))),{addRoute:o,resolve:h,removeRoute:s,getRoutes:l,getRecordMatcher:i}}function ot(t,e){const n={};for(const r of e)r in t&&(n[r]=t[r]);return n}function st(t){return{path:t.path,redirect:t.redirect,name:t.name,meta:t.meta||{},aliasOf:void 0,beforeEnter:t.beforeEnter,props:at(t),children:t.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in t?t.components||null:t.component&&{default:t.component}}}function at(t){const e={},n=t.props||!1;if("component"in t)e.default=n;else for(const r in t.components)e[r]="boolean"===typeof n?n:n[r];return e}function lt(t){while(t){if(t.record.aliasOf)return!0;t=t.parent}return!1}function ct(t){return t.reduce(((t,e)=>a(t,e.meta)),{})}function ut(t,e){const n={};for(const r in t)n[r]=r in e?e[r]:t[r];return n}function ht(t,e){return e.children.some((e=>e===t||ht(t,e)))}const dt=/#/g,ft=/&/g,pt=/\//g,gt=/=/g,mt=/\?/g,bt=/\+/g,vt=/%5B/g,yt=/%5D/g,_t=/%5E/g,xt=/%60/g,wt=/%7B/g,kt=/%7C/g,Mt=/%7D/g,Et=/%20/g;function St(t){return encodeURI(""+t).replace(kt,"|").replace(vt,"[").replace(yt,"]")}function Ot(t){return St(t).replace(wt,"{").replace(Mt,"}").replace(_t,"^")}function Tt(t){return St(t).replace(bt,"%2B").replace(Et,"+").replace(dt,"%23").replace(ft,"%26").replace(xt,"`").replace(wt,"{").replace(Mt,"}").replace(_t,"^")}function Ct(t){return Tt(t).replace(gt,"%3D")}function Pt(t){return St(t).replace(dt,"%23").replace(mt,"%3F")}function At(t){return null==t?"":Pt(t).replace(pt,"%2F")}function Dt(t){try{return decodeURIComponent(""+t)}catch(e){}return""+t}function Lt(t){const e={};if(""===t||"?"===t)return e;const n="?"===t[0],r=(n?t.slice(1):t).split("&");for(let i=0;i<r.length;++i){const t=r[i].replace(bt," "),n=t.indexOf("="),o=Dt(n<0?t:t.slice(0,n)),s=n<0?null:Dt(t.slice(n+1));if(o in e){let t=e[o];u(t)||(t=e[o]=[t]),t.push(s)}else e[o]=s}return e}function It(t){let e="";for(let n in t){const r=t[n];if(n=Ct(n),null==r){void 0!==r&&(e+=(e.length?"&":"")+n);continue}const i=u(r)?r.map((t=>t&&Tt(t))):[r&&Tt(r)];i.forEach((t=>{void 0!==t&&(e+=(e.length?"&":"")+n,null!=t&&(e+="="+t))}))}return e}function Nt(t){const e={};for(const n in t){const r=t[n];void 0!==r&&(e[n]=u(r)?r.map((t=>null==t?null:""+t)):null==r?r:""+r)}return e}const jt=Symbol(""),Ft=Symbol(""),Rt=Symbol(""),Wt=Symbol(""),zt=Symbol("");function Ut(){let t=[];function e(e){return t.push(e),()=>{const n=t.indexOf(e);n>-1&&t.splice(n,1)}}function n(){t=[]}return{add:e,list:()=>t,reset:n}}function Ht(t,e,n,r,i){const o=r&&(r.enterCallbacks[i]=r.enterCallbacks[i]||[]);return()=>new Promise(((s,a)=>{const l=t=>{!1===t?a($(4,{from:n,to:e})):t instanceof Error?a(t):z(t)?a($(2,{from:e,to:t})):(o&&r.enterCallbacks[i]===o&&"function"===typeof t&&o.push(t),s())},c=t.call(r&&r.instances[i],e,n,l);let u=Promise.resolve(c);t.length<3&&(u=u.then(l)),u.catch((t=>a(t)))}))}function Bt(t,e,n,r){const i=[];for(const o of t){0;for(const t in o.components){let a=o.components[t];if("beforeRouteEnter"===e||o.instances[t])if(Vt(a)){const s=a.__vccOpts||a,l=s[e];l&&i.push(Ht(l,n,r,o,t))}else{let l=a();0,i.push((()=>l.then((i=>{if(!i)return Promise.reject(new Error(`Couldn't resolve component "${t}" at "${o.path}"`));const a=s(i)?i.default:i;o.components[t]=a;const l=a.__vccOpts||a,c=l[e];return c&&Ht(c,n,r,o,t)()}))))}}}return i}function Vt(t){return"object"===typeof t||"displayName"in t||"props"in t||"__vccOpts"in t}function $t(t){const e=(0,r.f3)(Rt),n=(0,r.f3)(Wt),o=(0,r.Fl)((()=>e.resolve((0,i.SU)(t.to)))),s=(0,r.Fl)((()=>{const{matched:t}=o.value,{length:e}=t,r=t[e-1],i=n.matched;if(!r||!i.length)return-1;const s=i.findIndex(b.bind(null,r));if(s>-1)return s;const a=Gt(t[e-2]);return e>1&&Gt(r)===a&&i[i.length-1].path!==a?i.findIndex(b.bind(null,t[e-2])):s})),a=(0,r.Fl)((()=>s.value>-1&&Xt(n.params,o.value.params))),l=(0,r.Fl)((()=>s.value>-1&&s.value===n.matched.length-1&&v(n.params,o.value.params)));function u(n={}){return qt(n)?e[(0,i.SU)(t.replace)?"replace":"push"]((0,i.SU)(t.to)).catch(c):Promise.resolve()}return{route:o,href:(0,r.Fl)((()=>o.value.href)),isActive:a,isExactActive:l,navigate:u}}const Zt=(0,r.aZ)({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:$t,setup(t,{slots:e}){const n=(0,i.qj)($t(t)),{options:o}=(0,r.f3)(Rt),s=(0,r.Fl)((()=>({[Jt(t.activeClass,o.linkActiveClass,"router-link-active")]:n.isActive,[Jt(t.exactActiveClass,o.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive})));return()=>{const i=e.default&&e.default(n);return t.custom?i:(0,r.h)("a",{"aria-current":n.isExactActive?t.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:s.value},i)}}}),Yt=Zt;function qt(t){if(!(t.metaKey||t.altKey||t.ctrlKey||t.shiftKey)&&!t.defaultPrevented&&(void 0===t.button||0===t.button)){if(t.currentTarget&&t.currentTarget.getAttribute){const e=t.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(e))return}return t.preventDefault&&t.preventDefault(),!0}}function Xt(t,e){for(const n in e){const r=e[n],i=t[n];if("string"===typeof r){if(r!==i)return!1}else if(!u(i)||i.length!==r.length||r.some(((t,e)=>t!==i[e])))return!1}return!0}function Gt(t){return t?t.aliasOf?t.aliasOf.path:t.path:""}const Jt=(t,e,n)=>null!=t?t:null!=e?e:n,Kt=(0,r.aZ)({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(t,{attrs:e,slots:n}){const o=(0,r.f3)(zt),s=(0,r.Fl)((()=>t.route||o.value)),l=(0,r.f3)(Ft,0),c=(0,r.Fl)((()=>{let t=(0,i.SU)(l);const{matched:e}=s.value;let n;while((n=e[t])&&!n.components)t++;return t})),u=(0,r.Fl)((()=>s.value.matched[c.value]));(0,r.JJ)(Ft,(0,r.Fl)((()=>c.value+1))),(0,r.JJ)(jt,u),(0,r.JJ)(zt,s);const h=(0,i.iH)();return(0,r.YP)((()=>[h.value,u.value,t.name]),(([t,e,n],[r,i,o])=>{e&&(e.instances[n]=t,i&&i!==e&&t&&t===r&&(e.leaveGuards.size||(e.leaveGuards=i.leaveGuards),e.updateGuards.size||(e.updateGuards=i.updateGuards))),!t||!e||i&&b(e,i)&&r||(e.enterCallbacks[n]||[]).forEach((e=>e(t)))}),{flush:"post"}),()=>{const i=s.value,o=t.name,l=u.value,c=l&&l.components[o];if(!c)return Qt(n.default,{Component:c,route:i});const d=l.props[o],f=d?!0===d?i.params:"function"===typeof d?d(i):d:null,p=t=>{t.component.isUnmounted&&(l.instances[o]=null)},g=(0,r.h)(c,a({},f,e,{onVnodeUnmounted:p,ref:h}));return Qt(n.default,{Component:g,route:i})||g}}});function Qt(t,e){if(!t)return null;const n=t(e);return 1===n.length?n[0]:n}const te=Kt;function ee(t){const e=it(t.routes,t),n=t.parseQuery||Lt,s=t.stringifyQuery||It,h=t.history;const d=Ut(),g=Ut(),b=Ut(),v=(0,i.XI)(H);let y=H;o&&t.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const _=l.bind(null,(t=>""+t)),x=l.bind(null,At),k=l.bind(null,Dt);function M(t,n){let r,i;return U(t)?(r=e.getRecordMatcher(t),i=n):i=t,e.addRoute(i,r)}function E(t){const n=e.getRecordMatcher(t);n&&e.removeRoute(n)}function S(){return e.getRoutes().map((t=>t.record))}function O(t){return!!e.getRecordMatcher(t)}function A(t,r){if(r=a({},r||v.value),"string"===typeof t){const i=f(n,t,r.path),o=e.resolve({path:i.path},r),s=h.createHref(i.fullPath);return a(i,o,{params:k(o.params),hash:Dt(i.hash),redirectedFrom:void 0,href:s})}let i;if("path"in t)i=a({},t,{path:f(n,t.path,r.path).path});else{const e=a({},t.params);for(const t in e)null==e[t]&&delete e[t];i=a({},t,{params:x(t.params)}),r.params=x(r.params)}const o=e.resolve(i,r),l=t.hash||"";o.params=_(k(o.params));const c=p(s,a({},t,{hash:Ot(l),path:o.path})),u=h.createHref(c);return a({fullPath:c,hash:l,query:s===It?Nt(t.query):t.query||{}},o,{redirectedFrom:void 0,href:u})}function I(t){return"string"===typeof t?f(n,t,v.value.path):a({},t)}function N(t,e){if(y!==t)return $(8,{from:e,to:t})}function j(t){return W(t)}function F(t){return j(a(I(t),{replace:!0}))}function R(t){const e=t.matched[t.matched.length-1];if(e&&e.redirect){const{redirect:n}=e;let r="function"===typeof n?n(t):n;return"string"===typeof r&&(r=r.includes("?")||r.includes("#")?r=I(r):{path:r},r.params={}),a({query:t.query,hash:t.hash,params:"path"in r?{}:t.params},r)}}function W(t,e){const n=y=A(t),r=v.value,i=t.state,o=t.force,l=!0===t.replace,c=R(n);if(c)return W(a(I(c),{state:"object"===typeof c?a({},i,c.state):i,force:o,replace:l}),e||n);const u=n;let h;return u.redirectedFrom=e,!o&&m(s,r,n)&&(h=$(16,{to:u,from:r}),nt(r,r,!0,!1)),(h?Promise.resolve(h):B(u,r)).catch((t=>Z(t)?Z(t,2)?t:et(t):Q(t,u,r))).then((t=>{if(t){if(Z(t,2))return W(a({replace:l},I(t.to),{state:"object"===typeof t.to?a({},i,t.to.state):i,force:o}),e||u)}else t=Y(u,r,!0,l,i);return V(u,r,t),t}))}function z(t,e){const n=N(t,e);return n?Promise.reject(n):Promise.resolve()}function B(t,e){let n;const[r,i,o]=re(t,e);n=Bt(r.reverse(),"beforeRouteLeave",t,e);for(const a of r)a.leaveGuards.forEach((r=>{n.push(Ht(r,t,e))}));const s=z.bind(null,t,e);return n.push(s),ne(n).then((()=>{n=[];for(const r of d.list())n.push(Ht(r,t,e));return n.push(s),ne(n)})).then((()=>{n=Bt(i,"beforeRouteUpdate",t,e);for(const r of i)r.updateGuards.forEach((r=>{n.push(Ht(r,t,e))}));return n.push(s),ne(n)})).then((()=>{n=[];for(const r of t.matched)if(r.beforeEnter&&!e.matched.includes(r))if(u(r.beforeEnter))for(const i of r.beforeEnter)n.push(Ht(i,t,e));else n.push(Ht(r.beforeEnter,t,e));return n.push(s),ne(n)})).then((()=>(t.matched.forEach((t=>t.enterCallbacks={})),n=Bt(o,"beforeRouteEnter",t,e),n.push(s),ne(n)))).then((()=>{n=[];for(const r of g.list())n.push(Ht(r,t,e));return n.push(s),ne(n)})).catch((t=>Z(t,8)?t:Promise.reject(t)))}function V(t,e,n){for(const r of b.list())r(t,e,n)}function Y(t,e,n,r,i){const s=N(t,e);if(s)return s;const l=e===H,c=o?history.state:{};n&&(r||l?h.replace(t.fullPath,a({scroll:l&&c&&c.scroll},i)):h.push(t.fullPath,i)),v.value=t,nt(t,e,n,l),et()}let q;function X(){q||(q=h.listen(((t,e,n)=>{if(!at.listening)return;const r=A(t),i=R(r);if(i)return void W(a(i,{replace:!0}),r).catch(c);y=r;const s=v.value;o&&D(P(s.fullPath,n.delta),T()),B(r,s).catch((t=>Z(t,12)?t:Z(t,2)?(W(t.to,r).then((t=>{Z(t,20)&&!n.delta&&n.type===w.pop&&h.go(-1,!1)})).catch(c),Promise.reject()):(n.delta&&h.go(-n.delta,!1),Q(t,r,s)))).then((t=>{t=t||Y(r,s,!1),t&&(n.delta&&!Z(t,8)?h.go(-n.delta,!1):n.type===w.pop&&Z(t,20)&&h.go(-1,!1)),V(r,s,t)})).catch(c)})))}let G,J=Ut(),K=Ut();function Q(t,e,n){et(t);const r=K.list();return r.length?r.forEach((r=>r(t,e,n))):console.error(t),Promise.reject(t)}function tt(){return G&&v.value!==H?Promise.resolve():new Promise(((t,e)=>{J.add([t,e])}))}function et(t){return G||(G=!t,X(),J.list().forEach((([e,n])=>t?n(t):e())),J.reset()),t}function nt(e,n,i,s){const{scrollBehavior:a}=t;if(!o||!a)return Promise.resolve();const l=!i&&L(P(e.fullPath,0))||(s||!i)&&history.state&&history.state.scroll||null;return(0,r.Y3)().then((()=>a(e,n,l))).then((t=>t&&C(t))).catch((t=>Q(t,e,n)))}const rt=t=>h.go(t);let ot;const st=new Set,at={currentRoute:v,listening:!0,addRoute:M,removeRoute:E,hasRoute:O,getRoutes:S,resolve:A,options:t,push:j,replace:F,go:rt,back:()=>rt(-1),forward:()=>rt(1),beforeEach:d.add,beforeResolve:g.add,afterEach:b.add,onError:K.add,isReady:tt,install(t){const e=this;t.component("RouterLink",Yt),t.component("RouterView",te),t.config.globalProperties.$router=e,Object.defineProperty(t.config.globalProperties,"$route",{enumerable:!0,get:()=>(0,i.SU)(v)}),o&&!ot&&v.value===H&&(ot=!0,j(h.location).catch((t=>{0})));const n={};for(const i in H)n[i]=(0,r.Fl)((()=>v.value[i]));t.provide(Rt,e),t.provide(Wt,(0,i.qj)(n)),t.provide(zt,v);const s=t.unmount;st.add(t),t.unmount=function(){st.delete(t),st.size<1&&(y=H,q&&q(),q=null,v.value=H,ot=!1,G=!1),s()}}};return at}function ne(t){return t.reduce(((t,e)=>t.then((()=>e()))),Promise.resolve())}function re(t,e){const n=[],r=[],i=[],o=Math.max(e.matched.length,t.matched.length);for(let s=0;s<o;s++){const o=e.matched[s];o&&(t.matched.find((t=>b(t,o)))?r.push(o):n.push(o));const a=t.matched[s];a&&(e.matched.find((t=>b(t,a)))||i.push(a))}return[n,r,i]}function ie(){return(0,r.f3)(Rt)}function oe(){return(0,r.f3)(Wt)}}}]);
//# sourceMappingURL=chunk-vendors.77cd7298.js.map