(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const a of document.querySelectorAll('link[rel="modulepreload"]'))r(a);new MutationObserver(a=>{for(const l of a)if(l.type==="childList")for(const c of l.addedNodes)c.tagName==="LINK"&&c.rel==="modulepreload"&&r(c)}).observe(document,{childList:!0,subtree:!0});function n(a){const l={};return a.integrity&&(l.integrity=a.integrity),a.referrerPolicy&&(l.referrerPolicy=a.referrerPolicy),a.crossOrigin==="use-credentials"?l.credentials="include":a.crossOrigin==="anonymous"?l.credentials="omit":l.credentials="same-origin",l}function r(a){if(a.ep)return;a.ep=!0;const l=n(a);fetch(a.href,l)}})();/*!
 * Vue.js v2.7.16
 * (c) 2014-2023 Evan You
 * Released under the MIT License.
 */var Dt=Object.freeze({}),ke=Array.isArray;function fe(e){return e==null}function F(e){return e!=null}function Ze(e){return e===!0}function Q1(e){return e===!1}function Ya(e){return typeof e=="string"||typeof e=="number"||typeof e=="symbol"||typeof e=="boolean"}function Pe(e){return typeof e=="function"}function gt(e){return e!==null&&typeof e=="object"}var Vc=Object.prototype.toString;function Ht(e){return Vc.call(e)==="[object Object]"}function ex(e){return Vc.call(e)==="[object RegExp]"}function Fm(e){var t=parseFloat(String(e));return t>=0&&Math.floor(t)===t&&isFinite(e)}function Fu(e){return F(e)&&typeof e.then=="function"&&typeof e.catch=="function"}function tx(e){return e==null?"":Array.isArray(e)||Ht(e)&&e.toString===Vc?JSON.stringify(e,nx,2):String(e)}function nx(e,t){return t&&t.__v_isRef?t.value:t}function $a(e){var t=parseFloat(e);return isNaN(t)?e:t}function vn(e,t){for(var n=Object.create(null),r=e.split(","),a=0;a<r.length;a++)n[r[a]]=!0;return t?function(l){return n[l.toLowerCase()]}:function(l){return n[l]}}vn("slot,component",!0);var rx=vn("key,ref,slot,slot-scope,is");function Ar(e,t){var n=e.length;if(n){if(t===e[n-1]){e.length=n-1;return}var r=e.indexOf(t);if(r>-1)return e.splice(r,1)}}var ix=Object.prototype.hasOwnProperty;function St(e,t){return ix.call(e,t)}function oi(e){var t=Object.create(null);return function(r){var a=t[r];return a||(t[r]=e(r))}}var ax=/-(\w)/g,ei=oi(function(e){return e.replace(ax,function(t,n){return n?n.toUpperCase():""})}),sx=oi(function(e){return e.charAt(0).toUpperCase()+e.slice(1)}),ox=/\B([A-Z])/g,qa=oi(function(e){return e.replace(ox,"-$1").toLowerCase()});function lx(e,t){function n(r){var a=arguments.length;return a?a>1?e.apply(t,arguments):e.call(t,r):e.call(t)}return n._length=e.length,n}function ux(e,t){return e.bind(t)}var Nm=Function.prototype.bind?ux:lx;function Nu(e,t){t=t||0;for(var n=e.length-t,r=new Array(n);n--;)r[n]=e[n+t];return r}function He(e,t){for(var n in t)e[n]=t[n];return e}function Bm(e){for(var t={},n=0;n<e.length;n++)e[n]&&He(t,e[n]);return t}function Ge(e,t,n){}var xs=function(e,t,n){return!1},zm=function(e){return e};function ti(e,t){if(e===t)return!0;var n=gt(e),r=gt(t);if(n&&r)try{var a=Array.isArray(e),l=Array.isArray(t);if(a&&l)return e.length===t.length&&e.every(function(v,y){return ti(v,t[y])});if(e instanceof Date&&t instanceof Date)return e.getTime()===t.getTime();if(!a&&!l){var c=Object.keys(e),d=Object.keys(t);return c.length===d.length&&c.every(function(v){return ti(e[v],t[v])})}else return!1}catch{return!1}else return!n&&!r?String(e)===String(t):!1}function Hm(e,t){for(var n=0;n<e.length;n++)if(ti(e[n],t))return n;return-1}function no(e){var t=!1;return function(){t||(t=!0,e.apply(this,arguments))}}function Bu(e,t){return e===t?e===0&&1/e!==1/t:e===e||t===t}var vd="data-server-rendered",Vo=["component","directive","filter"],Wm=["beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeDestroy","destroyed","activated","deactivated","errorCaptured","serverPrefetch","renderTracked","renderTriggered"],Jt={optionMergeStrategies:Object.create(null),silent:!1,productionTip:!1,devtools:!1,performance:!1,errorHandler:null,warnHandler:null,ignoredElements:[],keyCodes:Object.create(null),isReservedTag:xs,isReservedAttr:xs,isUnknownElement:xs,getTagNamespace:Ge,parsePlatformTagName:zm,mustUseProp:xs,async:!0,_lifecycleHooks:Wm},cx=/a-zA-Z\u00B7\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u037D\u037F-\u1FFF\u200C-\u200D\u203F-\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD/;function Vm(e){var t=(e+"").charCodeAt(0);return t===36||t===95}function Nt(e,t,n,r){Object.defineProperty(e,t,{value:n,enumerable:!!r,writable:!0,configurable:!0})}var hx=new RegExp("[^".concat(cx.source,".$_\\d]"));function fx(e){if(!hx.test(e)){var t=e.split(".");return function(n){for(var r=0;r<t.length;r++){if(!n)return;n=n[t[r]]}return n}}}var dx="__proto__"in{},Ut=typeof window<"u",tn=Ut&&window.navigator.userAgent.toLowerCase(),Wi=tn&&/msie|trident/.test(tn),Vi=tn&&tn.indexOf("msie 9.0")>0,jm=tn&&tn.indexOf("edge/")>0;tn&&tn.indexOf("android")>0;var px=tn&&/iphone|ipad|ipod|ios/.test(tn),gd=tn&&tn.match(/firefox\/(\d+)/),zu={}.watch,Um=!1;if(Ut)try{var yd={};Object.defineProperty(yd,"passive",{get:function(){Um=!0}}),window.addEventListener("test-passive",null,yd)}catch{}var ws,Dr=function(){return ws===void 0&&(!Ut&&typeof global<"u"?ws=global.process&&global.process.env.VUE_ENV==="server":ws=!1),ws},ro=Ut&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function Li(e){return typeof e=="function"&&/native code/.test(e.toString())}var Ga=typeof Symbol<"u"&&Li(Symbol)&&typeof Reflect<"u"&&Li(Reflect.ownKeys),Ma;typeof Set<"u"&&Li(Set)?Ma=Set:Ma=function(){function e(){this.set=Object.create(null)}return e.prototype.has=function(t){return this.set[t]===!0},e.prototype.add=function(t){this.set[t]=!0},e.prototype.clear=function(){this.set=Object.create(null)},e}();var pt=null;function mx(){return pt&&{proxy:pt}}function Cr(e){e===void 0&&(e=null),e||pt&&pt._scope.off(),pt=e,e&&e._scope.on()}var Wt=function(){function e(t,n,r,a,l,c,d,v){this.tag=t,this.data=n,this.children=r,this.text=a,this.elm=l,this.ns=void 0,this.context=c,this.fnContext=void 0,this.fnOptions=void 0,this.fnScopeId=void 0,this.key=n&&n.key,this.componentOptions=d,this.componentInstance=void 0,this.parent=void 0,this.raw=!1,this.isStatic=!1,this.isRootInsert=!0,this.isComment=!1,this.isCloned=!1,this.isOnce=!1,this.asyncFactory=v,this.asyncMeta=void 0,this.isAsyncPlaceholder=!1}return Object.defineProperty(e.prototype,"child",{get:function(){return this.componentInstance},enumerable:!1,configurable:!0}),e}(),Gr=function(e){e===void 0&&(e="");var t=new Wt;return t.text=e,t.isComment=!0,t};function Ti(e){return new Wt(void 0,void 0,void 0,String(e))}function Hu(e){var t=new Wt(e.tag,e.data,e.children&&e.children.slice(),e.text,e.elm,e.context,e.componentOptions,e.asyncFactory);return t.ns=e.ns,t.isStatic=e.isStatic,t.key=e.key,t.isComment=e.isComment,t.fnContext=e.fnContext,t.fnOptions=e.fnOptions,t.fnScopeId=e.fnScopeId,t.asyncMeta=e.asyncMeta,t.isCloned=!0,t}var vx=0,Es=[],gx=function(){for(var e=0;e<Es.length;e++){var t=Es[e];t.subs=t.subs.filter(function(n){return n}),t._pending=!1}Es.length=0},Jn=function(){function e(){this._pending=!1,this.id=vx++,this.subs=[]}return e.prototype.addSub=function(t){this.subs.push(t)},e.prototype.removeSub=function(t){this.subs[this.subs.indexOf(t)]=null,this._pending||(this._pending=!0,Es.push(this))},e.prototype.depend=function(t){e.target&&e.target.addDep(this)},e.prototype.notify=function(t){for(var n=this.subs.filter(function(c){return c}),r=0,a=n.length;r<a;r++){var l=n[r];l.update()}},e}();Jn.target=null;var Ps=[];function ji(e){Ps.push(e),Jn.target=e}function Ui(){Ps.pop(),Jn.target=Ps[Ps.length-1]}var Ym=Array.prototype,io=Object.create(Ym),yx=["push","pop","shift","unshift","splice","sort","reverse"];yx.forEach(function(e){var t=Ym[e];Nt(io,e,function(){for(var r=[],a=0;a<arguments.length;a++)r[a]=arguments[a];var l=t.apply(this,r),c=this.__ob__,d;switch(e){case"push":case"unshift":d=r;break;case"splice":d=r.slice(2);break}return d&&c.observeArray(d),c.dep.notify(),l})});var bd=Object.getOwnPropertyNames(io),qm={},jc=!0;function $r(e){jc=e}var bx={notify:Ge,depend:Ge,addSub:Ge,removeSub:Ge},_d=function(){function e(t,n,r){if(n===void 0&&(n=!1),r===void 0&&(r=!1),this.value=t,this.shallow=n,this.mock=r,this.dep=r?bx:new Jn,this.vmCount=0,Nt(t,"__ob__",this),ke(t)){if(!r)if(dx)t.__proto__=io;else for(var a=0,l=bd.length;a<l;a++){var c=bd[a];Nt(t,c,io[c])}n||this.observeArray(t)}else for(var d=Object.keys(t),a=0;a<d.length;a++){var c=d[a];Mr(t,c,qm,void 0,n,r)}}return e.prototype.observeArray=function(t){for(var n=0,r=t.length;n<r;n++)Qn(t[n],!1,this.mock)},e}();function Qn(e,t,n){if(e&&St(e,"__ob__")&&e.__ob__ instanceof _d)return e.__ob__;if(jc&&(n||!Dr())&&(ke(e)||Ht(e))&&Object.isExtensible(e)&&!e.__v_skip&&!ct(e)&&!(e instanceof Wt))return new _d(e,t,n)}function Mr(e,t,n,r,a,l,c){c===void 0&&(c=!1);var d=new Jn,v=Object.getOwnPropertyDescriptor(e,t);if(!(v&&v.configurable===!1)){var y=v&&v.get,_=v&&v.set;(!y||_)&&(n===qm||arguments.length===2)&&(n=e[t]);var k=a?n&&n.__ob__:Qn(n,!1,l);return Object.defineProperty(e,t,{enumerable:!0,configurable:!0,get:function(){var M=y?y.call(e):n;return Jn.target&&(d.depend(),k&&(k.dep.depend(),ke(M)&&Zm(M))),ct(M)&&!a?M.value:M},set:function(M){var T=y?y.call(e):n;if(Bu(T,M)){if(_)_.call(e,M);else{if(y)return;if(!a&&ct(T)&&!ct(M)){T.value=M;return}else n=M}k=a?M&&M.__ob__:Qn(M,!1,l),d.notify()}}}),d}}function Uc(e,t,n){if(!Za(e)){var r=e.__ob__;return ke(e)&&Fm(t)?(e.length=Math.max(e.length,t),e.splice(t,1,n),r&&!r.shallow&&r.mock&&Qn(n,!1,!0),n):t in e&&!(t in Object.prototype)?(e[t]=n,n):e._isVue||r&&r.vmCount?n:r?(Mr(r.value,t,n,void 0,r.shallow,r.mock),r.dep.notify(),n):(e[t]=n,n)}}function Gm(e,t){if(ke(e)&&Fm(t)){e.splice(t,1);return}var n=e.__ob__;e._isVue||n&&n.vmCount||Za(e)||St(e,t)&&(delete e[t],n&&n.dep.notify())}function Zm(e){for(var t=void 0,n=0,r=e.length;n<r;n++)t=e[n],t&&t.__ob__&&t.__ob__.dep.depend(),ke(t)&&Zm(t)}function Yc(e){return Xm(e,!1),e}function Km(e){return Xm(e,!0),Nt(e,"__v_isShallow",!0),e}function Xm(e,t){Za(e)||Qn(e,t,Dr())}function _a(e){return Za(e)?_a(e.__v_raw):!!(e&&e.__ob__)}function xd(e){return!!(e&&e.__v_isShallow)}function Za(e){return!!(e&&e.__v_isReadonly)}var Jm="__v_isRef";function ct(e){return!!(e&&e.__v_isRef===!0)}function un(e){return _x(e,!1)}function _x(e,t){if(ct(e))return e;var n={};return Nt(n,Jm,!0),Nt(n,"__v_isShallow",t),Nt(n,"dep",Mr(n,"value",e,null,t,Dr())),n}function Se(e){return ct(e)?e.value:e}function Wu(e,t,n){Object.defineProperty(e,n,{enumerable:!0,configurable:!0,get:function(){var r=t[n];if(ct(r))return r.value;var a=r&&r.__ob__;return a&&a.dep.depend(),r},set:function(r){var a=t[n];ct(a)&&!ct(r)?a.value=r:t[n]=r}})}function qe(e,t){var n,r,a=Pe(e);a?(n=e,r=Ge):(n=e.get,r=e.set);var l=Dr()?null:new Ka(pt,n,Ge,{lazy:!0}),c={effect:l,get value(){return l?(l.dirty&&l.evaluate(),Jn.target&&l.depend(),l.value):n()},set value(d){r(d)}};return Nt(c,Jm,!0),Nt(c,"__v_isReadonly",a),c}var jo="watcher",wd="".concat(jo," callback"),Sd="".concat(jo," getter"),xx="".concat(jo," cleanup"),kd={};function Ta(e,t,n){return wx(e,t,n)}function wx(e,t,n){var r=n===void 0?Dt:n,a=r.immediate,l=r.deep,c=r.flush,d=c===void 0?"pre":c;r.onTrack,r.onTrigger;var v=pt,y=function(z,j,U){U===void 0&&(U=null);var Q=er(z,null,U,v,j);return l&&Q&&Q.__ob__&&Q.__ob__.dep.depend(),Q},_,k=!1,$=!1;if(ct(e)?(_=function(){return e.value},k=xd(e)):_a(e)?(_=function(){return e.__ob__.dep.depend(),e},l=!0):ke(e)?($=!0,k=e.some(function(z){return _a(z)||xd(z)}),_=function(){return e.map(function(z){if(ct(z))return z.value;if(_a(z))return z.__ob__.dep.depend(),Fi(z);if(Pe(z))return y(z,Sd)})}):Pe(e)?t?_=function(){return y(e,Sd)}:_=function(){if(!(v&&v._isDestroyed))return T&&T(),y(e,jo,[L])}:_=Ge,t&&l){var M=_;_=function(){return Fi(M())}}var T,L=function(z){T=D.onStop=function(){y(z,xx)}};if(Dr())return L=Ge,t?a&&y(t,wd,[_(),$?[]:void 0,L]):_(),Ge;var D=new Ka(pt,_,Ge,{lazy:!0});D.noRecurse=!t;var N=$?[]:kd;return D.run=function(){if(D.active)if(t){var z=D.get();(l||k||($?z.some(function(j,U){return Bu(j,N[U])}):Bu(z,N)))&&(T&&T(),y(t,wd,[z,N===kd?void 0:N,L]),N=z)}else D.get()},d==="sync"?D.update=D.run:d==="post"?(D.post=!0,D.update=function(){return Zu(D)}):D.update=function(){if(v&&v===pt&&!v._isMounted){var z=v._preWatchers||(v._preWatchers=[]);z.indexOf(D)<0&&z.push(D)}else Zu(D)},t?a?D.run():N=D.get():d==="post"&&v?v.$once("hook:mounted",function(){return D.get()}):D.get(),function(){D.teardown()}}var At,Sx=function(){function e(t){t===void 0&&(t=!1),this.detached=t,this.active=!0,this.effects=[],this.cleanups=[],this.parent=At,!t&&At&&(this.index=(At.scopes||(At.scopes=[])).push(this)-1)}return e.prototype.run=function(t){if(this.active){var n=At;try{return At=this,t()}finally{At=n}}},e.prototype.on=function(){At=this},e.prototype.off=function(){At=this.parent},e.prototype.stop=function(t){if(this.active){var n=void 0,r=void 0;for(n=0,r=this.effects.length;n<r;n++)this.effects[n].teardown();for(n=0,r=this.cleanups.length;n<r;n++)this.cleanups[n]();if(this.scopes)for(n=0,r=this.scopes.length;n<r;n++)this.scopes[n].stop(!0);if(!this.detached&&this.parent&&!t){var a=this.parent.scopes.pop();a&&a!==this&&(this.parent.scopes[this.index]=a,a.index=this.index)}this.parent=void 0,this.active=!1}},e}();function kx(e,t){t===void 0&&(t=At),t&&t.active&&t.effects.push(e)}function Cx(){return At}function Cd(e,t){pt&&(Qm(pt)[e]=t)}function Qm(e){var t=e._provided,n=e.$parent&&e.$parent._provided;return n===t?e._provided=Object.create(n):t}function $d(e,t,n){n===void 0&&(n=!1);var r=pt;if(r){var a=r.$parent&&r.$parent._provided;if(a&&e in a)return a[e];if(arguments.length>1)return n&&Pe(t)?t.call(r):t}}var Md=oi(function(e){var t=e.charAt(0)==="&";e=t?e.slice(1):e;var n=e.charAt(0)==="~";e=n?e.slice(1):e;var r=e.charAt(0)==="!";return e=r?e.slice(1):e,{name:e,once:n,capture:r,passive:t}});function Vu(e,t){function n(){var r=n.fns;if(ke(r))for(var a=r.slice(),l=0;l<a.length;l++)er(a[l],null,arguments,t,"v-on handler");else return er(r,null,arguments,t,"v-on handler")}return n.fns=e,n}function ev(e,t,n,r,a,l){var c,d,v,y;for(c in e)d=e[c],v=t[c],y=Md(c),fe(d)||(fe(v)?(fe(d.fns)&&(d=e[c]=Vu(d,l)),Ze(y.once)&&(d=e[c]=a(y.name,d,y.capture)),n(y.name,d,y.capture,y.passive,y.params)):d!==v&&(v.fns=d,e[c]=v));for(c in t)fe(e[c])&&(y=Md(c),r(y.name,t[c],y.capture))}function vr(e,t,n){e instanceof Wt&&(e=e.data.hook||(e.data.hook={}));var r,a=e[t];function l(){n.apply(this,arguments),Ar(r.fns,l)}fe(a)?r=Vu([l]):F(a.fns)&&Ze(a.merged)?(r=a,r.fns.push(l)):r=Vu([a,l]),r.merged=!0,e[t]=r}function $x(e,t,n){var r=t.options.props;if(!fe(r)){var a={},l=e.attrs,c=e.props;if(F(l)||F(c))for(var d in r){var v=qa(d);Td(a,c,d,v,!0)||Td(a,l,d,v,!1)}return a}}function Td(e,t,n,r,a){if(F(t)){if(St(t,n))return e[n]=t[n],a||delete t[n],!0;if(St(t,r))return e[n]=t[r],a||delete t[r],!0}return!1}function Mx(e){for(var t=0;t<e.length;t++)if(ke(e[t]))return Array.prototype.concat.apply([],e);return e}function qc(e){return Ya(e)?[Ti(e)]:ke(e)?tv(e):void 0}function ha(e){return F(e)&&F(e.text)&&Q1(e.isComment)}function tv(e,t){var n=[],r,a,l,c;for(r=0;r<e.length;r++)a=e[r],!(fe(a)||typeof a=="boolean")&&(l=n.length-1,c=n[l],ke(a)?a.length>0&&(a=tv(a,"".concat(t||"","_").concat(r)),ha(a[0])&&ha(c)&&(n[l]=Ti(c.text+a[0].text),a.shift()),n.push.apply(n,a)):Ya(a)?ha(c)?n[l]=Ti(c.text+a):a!==""&&n.push(Ti(a)):ha(a)&&ha(c)?n[l]=Ti(c.text+a.text):(Ze(e._isVList)&&F(a.tag)&&fe(a.key)&&F(t)&&(a.key="__vlist".concat(t,"_").concat(r,"__")),n.push(a)));return n}function Tx(e,t){var n=null,r,a,l,c;if(ke(e)||typeof e=="string")for(n=new Array(e.length),r=0,a=e.length;r<a;r++)n[r]=t(e[r],r);else if(typeof e=="number")for(n=new Array(e),r=0;r<e;r++)n[r]=t(r+1,r);else if(gt(e))if(Ga&&e[Symbol.iterator]){n=[];for(var d=e[Symbol.iterator](),v=d.next();!v.done;)n.push(t(v.value,n.length)),v=d.next()}else for(l=Object.keys(e),n=new Array(l.length),r=0,a=l.length;r<a;r++)c=l[r],n[r]=t(e[c],c,r);return F(n)||(n=[]),n._isVList=!0,n}function Ox(e,t,n,r){var a=this.$scopedSlots[e],l;a?(n=n||{},r&&(n=He(He({},r),n)),l=a(n)||(Pe(t)?t():t)):l=this.$slots[e]||(Pe(t)?t():t);var c=n&&n.slot;return c?this.$createElement("template",{slot:c},l):l}function Ax(e){return uo(this.$options,"filters",e)||zm}function Od(e,t){return ke(e)?e.indexOf(t)===-1:e!==t}function Dx(e,t,n,r,a){var l=Jt.keyCodes[t]||n;return a&&r&&!Jt.keyCodes[t]?Od(a,r):l?Od(l,e):r?qa(r)!==t:e===void 0}function Ix(e,t,n,r,a){if(n&&gt(n)){ke(n)&&(n=Bm(n));var l=void 0,c=function(v){if(v==="class"||v==="style"||rx(v))l=e;else{var y=e.attrs&&e.attrs.type;l=r||Jt.mustUseProp(t,y,v)?e.domProps||(e.domProps={}):e.attrs||(e.attrs={})}var _=ei(v),k=qa(v);if(!(_ in l)&&!(k in l)&&(l[v]=n[v],a)){var $=e.on||(e.on={});$["update:".concat(v)]=function(M){n[v]=M}}};for(var d in n)c(d)}return e}function Lx(e,t){var n=this._staticTrees||(this._staticTrees=[]),r=n[e];return r&&!t||(r=n[e]=this.$options.staticRenderFns[e].call(this._renderProxy,this._c,this),nv(r,"__static__".concat(e),!1)),r}function Ex(e,t,n){return nv(e,"__once__".concat(t).concat(n?"_".concat(n):""),!0),e}function nv(e,t,n){if(ke(e))for(var r=0;r<e.length;r++)e[r]&&typeof e[r]!="string"&&Ad(e[r],"".concat(t,"_").concat(r),n);else Ad(e,t,n)}function Ad(e,t,n){e.isStatic=!0,e.key=t,e.isOnce=n}function Px(e,t){if(t&&Ht(t)){var n=e.on=e.on?He({},e.on):{};for(var r in t){var a=n[r],l=t[r];n[r]=a?[].concat(a,l):l}}return e}function rv(e,t,n,r){t=t||{$stable:!n};for(var a=0;a<e.length;a++){var l=e[a];ke(l)?rv(l,t,n):l&&(l.proxy&&(l.fn.proxy=!0),t[l.key]=l.fn)}return r&&(t.$key=r),t}function Rx(e,t){for(var n=0;n<t.length;n+=2){var r=t[n];typeof r=="string"&&r&&(e[t[n]]=t[n+1])}return e}function Fx(e,t){return typeof e=="string"?t+e:e}function iv(e){e._o=Ex,e._n=$a,e._s=tx,e._l=Tx,e._t=Ox,e._q=ti,e._i=Hm,e._m=Lx,e._f=Ax,e._k=Dx,e._b=Ix,e._v=Ti,e._e=Gr,e._u=rv,e._g=Px,e._d=Rx,e._p=Fx}function Gc(e,t){if(!e||!e.length)return{};for(var n={},r=0,a=e.length;r<a;r++){var l=e[r],c=l.data;if(c&&c.attrs&&c.attrs.slot&&delete c.attrs.slot,(l.context===t||l.fnContext===t)&&c&&c.slot!=null){var d=c.slot,v=n[d]||(n[d]=[]);l.tag==="template"?v.push.apply(v,l.children||[]):v.push(l)}else(n.default||(n.default=[])).push(l)}for(var y in n)n[y].every(Nx)&&delete n[y];return n}function Nx(e){return e.isComment&&!e.asyncFactory||e.text===" "}function Oa(e){return e.isComment&&e.asyncFactory}function xa(e,t,n,r){var a,l=Object.keys(n).length>0,c=t?!!t.$stable:!l,d=t&&t.$key;if(!t)a={};else{if(t._normalized)return t._normalized;if(c&&r&&r!==Dt&&d===r.$key&&!l&&!r.$hasNormal)return r;a={};for(var v in t)t[v]&&v[0]!=="$"&&(a[v]=Bx(e,n,v,t[v]))}for(var y in n)y in a||(a[y]=zx(n,y));return t&&Object.isExtensible(t)&&(t._normalized=a),Nt(a,"$stable",c),Nt(a,"$key",d),Nt(a,"$hasNormal",l),a}function Bx(e,t,n,r){var a=function(){var l=pt;Cr(e);var c=arguments.length?r.apply(null,arguments):r({});c=c&&typeof c=="object"&&!ke(c)?[c]:qc(c);var d=c&&c[0];return Cr(l),c&&(!d||c.length===1&&d.isComment&&!Oa(d))?void 0:c};return r.proxy&&Object.defineProperty(t,n,{get:a,enumerable:!0,configurable:!0}),a}function zx(e,t){return function(){return e[t]}}function Hx(e){var t=e.$options,n=t.setup;if(n){var r=e._setupContext=Wx(e);Cr(e),ji();var a=er(n,null,[e._props||Km({}),r],e,"setup");if(Ui(),Cr(),Pe(a))t.render=a;else if(gt(a))if(e._setupState=a,a.__sfc){var c=e._setupProxy={};for(var l in a)l!=="__sfc"&&Wu(c,a,l)}else for(var l in a)Vm(l)||Wu(e,a,l)}}function Wx(e){return{get attrs(){if(!e._attrsProxy){var t=e._attrsProxy={};Nt(t,"_v_attr_proxy",!0),ao(t,e.$attrs,Dt,e,"$attrs")}return e._attrsProxy},get listeners(){if(!e._listenersProxy){var t=e._listenersProxy={};ao(t,e.$listeners,Dt,e,"$listeners")}return e._listenersProxy},get slots(){return jx(e)},emit:Nm(e.$emit,e),expose:function(t){t&&Object.keys(t).forEach(function(n){return Wu(e,t,n)})}}}function ao(e,t,n,r,a){var l=!1;for(var c in t)c in e?t[c]!==n[c]&&(l=!0):(l=!0,Vx(e,c,r,a));for(var c in e)c in t||(l=!0,delete e[c]);return l}function Vx(e,t,n,r){Object.defineProperty(e,t,{enumerable:!0,configurable:!0,get:function(){return n[r][t]}})}function jx(e){return e._slotsProxy||av(e._slotsProxy={},e.$scopedSlots),e._slotsProxy}function av(e,t){for(var n in t)e[n]=t[n];for(var n in e)n in t||delete e[n]}function Ux(e){e._vnode=null,e._staticTrees=null;var t=e.$options,n=e.$vnode=t._parentVnode,r=n&&n.context;e.$slots=Gc(t._renderChildren,r),e.$scopedSlots=n?xa(e.$parent,n.data.scopedSlots,e.$slots):Dt,e._c=function(l,c,d,v){return so(e,l,c,d,v,!1)},e.$createElement=function(l,c,d,v){return so(e,l,c,d,v,!0)};var a=n&&n.data;Mr(e,"$attrs",a&&a.attrs||Dt,null,!0),Mr(e,"$listeners",t._parentListeners||Dt,null,!0)}var Rs=null;function Yx(e){iv(e.prototype),e.prototype.$nextTick=function(t){return Aa(t,this)},e.prototype._render=function(){var t=this,n=t.$options,r=n.render,a=n._parentVnode;a&&t._isMounted&&(t.$scopedSlots=xa(t.$parent,a.data.scopedSlots,t.$slots,t.$scopedSlots),t._slotsProxy&&av(t._slotsProxy,t.$scopedSlots)),t.$vnode=a;var l=pt,c=Rs,d;try{Cr(t),Rs=t,d=r.call(t._renderProxy,t.$createElement)}catch(v){ni(v,t,"render"),d=t._vnode}finally{Rs=c,Cr(l)}return ke(d)&&d.length===1&&(d=d[0]),d instanceof Wt||(d=Gr()),d.parent=a,d}}function fu(e,t){return(e.__esModule||Ga&&e[Symbol.toStringTag]==="Module")&&(e=e.default),gt(e)?t.extend(e):e}function qx(e,t,n,r,a){var l=Gr();return l.asyncFactory=e,l.asyncMeta={data:t,context:n,children:r,tag:a},l}function Gx(e,t){if(Ze(e.error)&&F(e.errorComp))return e.errorComp;if(F(e.resolved))return e.resolved;var n=Rs;if(n&&F(e.owners)&&e.owners.indexOf(n)===-1&&e.owners.push(n),Ze(e.loading)&&F(e.loadingComp))return e.loadingComp;if(n&&!F(e.owners)){var r=e.owners=[n],a=!0,l=null,c=null;n.$on("hook:destroyed",function(){return Ar(r,n)});var d=function(k){for(var $=0,M=r.length;$<M;$++)r[$].$forceUpdate();k&&(r.length=0,l!==null&&(clearTimeout(l),l=null),c!==null&&(clearTimeout(c),c=null))},v=no(function(k){e.resolved=fu(k,t),a?r.length=0:d(!0)}),y=no(function(k){F(e.errorComp)&&(e.error=!0,d(!0))}),_=e(v,y);return gt(_)&&(Fu(_)?fe(e.resolved)&&_.then(v,y):Fu(_.component)&&(_.component.then(v,y),F(_.error)&&(e.errorComp=fu(_.error,t)),F(_.loading)&&(e.loadingComp=fu(_.loading,t),_.delay===0?e.loading=!0:l=setTimeout(function(){l=null,fe(e.resolved)&&fe(e.error)&&(e.loading=!0,d(!1))},_.delay||200)),F(_.timeout)&&(c=setTimeout(function(){c=null,fe(e.resolved)&&y(null)},_.timeout)))),a=!1,e.loading?e.loadingComp:e.resolved}}function sv(e){if(ke(e))for(var t=0;t<e.length;t++){var n=e[t];if(F(n)&&(F(n.componentOptions)||Oa(n)))return n}}var Zx=1,ov=2;function so(e,t,n,r,a,l){return(ke(n)||Ya(n))&&(a=r,r=n,n=void 0),Ze(l)&&(a=ov),Kx(e,t,n,r,a)}function Kx(e,t,n,r,a){if(F(n)&&F(n.__ob__)||(F(n)&&F(n.is)&&(t=n.is),!t))return Gr();ke(r)&&Pe(r[0])&&(n=n||{},n.scopedSlots={default:r[0]},r.length=0),a===ov?r=qc(r):a===Zx&&(r=Mx(r));var l,c;if(typeof t=="string"){var d=void 0;c=e.$vnode&&e.$vnode.ns||Jt.getTagNamespace(t),Jt.isReservedTag(t)?l=new Wt(Jt.parsePlatformTagName(t),n,r,void 0,void 0,e):(!n||!n.pre)&&F(d=uo(e.$options,"components",t))?l=Nd(d,n,e,r,t):l=new Wt(t,n,r,void 0,void 0,e)}else l=Nd(t,n,e,r);return ke(l)?l:F(l)?(F(c)&&lv(l,c),F(n)&&Xx(n),l):Gr()}function lv(e,t,n){if(e.ns=t,e.tag==="foreignObject"&&(t=void 0,n=!0),F(e.children))for(var r=0,a=e.children.length;r<a;r++){var l=e.children[r];F(l.tag)&&(fe(l.ns)||Ze(n)&&l.tag!=="svg")&&lv(l,t,n)}}function Xx(e){gt(e.style)&&Fi(e.style),gt(e.class)&&Fi(e.class)}function ni(e,t,n){ji();try{if(t)for(var r=t;r=r.$parent;){var a=r.$options.errorCaptured;if(a)for(var l=0;l<a.length;l++)try{var c=a[l].call(r,e,t,n)===!1;if(c)return}catch(d){Dd(d,r,"errorCaptured hook")}}Dd(e,t,n)}finally{Ui()}}function er(e,t,n,r,a){var l;try{l=n?e.apply(t,n):e.call(t),l&&!l._isVue&&Fu(l)&&!l._handled&&(l.catch(function(c){return ni(c,r,a+" (Promise/async)")}),l._handled=!0)}catch(c){ni(c,r,a)}return l}function Dd(e,t,n){if(Jt.errorHandler)try{return Jt.errorHandler.call(null,e,t,n)}catch(r){r!==e&&Id(r)}Id(e)}function Id(e,t,n){if(Ut&&typeof console<"u")console.error(e);else throw e}var ju=!1,Uu=[],Yu=!1;function Ss(){Yu=!1;var e=Uu.slice(0);Uu.length=0;for(var t=0;t<e.length;t++)e[t]()}var ga;if(typeof Promise<"u"&&Li(Promise)){var Jx=Promise.resolve();ga=function(){Jx.then(Ss),px&&setTimeout(Ge)},ju=!0}else if(!Wi&&typeof MutationObserver<"u"&&(Li(MutationObserver)||MutationObserver.toString()==="[object MutationObserverConstructor]")){var ks=1,Qx=new MutationObserver(Ss),Ld=document.createTextNode(String(ks));Qx.observe(Ld,{characterData:!0}),ga=function(){ks=(ks+1)%2,Ld.data=String(ks)},ju=!0}else typeof setImmediate<"u"&&Li(setImmediate)?ga=function(){setImmediate(Ss)}:ga=function(){setTimeout(Ss,0)};function Aa(e,t){var n;if(Uu.push(function(){if(e)try{e.call(t)}catch(r){ni(r,t,"nextTick")}else n&&n(t)}),Yu||(Yu=!0,ga()),!e&&typeof Promise<"u")return new Promise(function(r){n=r})}function uv(e){return function(t,n){if(n===void 0&&(n=pt),!!n)return ew(n,e,t)}}function ew(e,t,n){var r=e.$options;r[t]=vv(r[t],n)}var tw=uv("beforeMount"),nw=uv("beforeDestroy"),rw="2.7.16",Ed=new Ma;function Fi(e){return Fs(e,Ed),Ed.clear(),e}function Fs(e,t){var n,r,a=ke(e);if(!(!a&&!gt(e)||e.__v_skip||Object.isFrozen(e)||e instanceof Wt)){if(e.__ob__){var l=e.__ob__.dep.id;if(t.has(l))return;t.add(l)}if(a)for(n=e.length;n--;)Fs(e[n],t);else if(ct(e))Fs(e.value,t);else for(r=Object.keys(e),n=r.length;n--;)Fs(e[r[n]],t)}}var iw=0,Ka=function(){function e(t,n,r,a,l){kx(this,At&&!At._vm?At:t?t._scope:void 0),(this.vm=t)&&l&&(t._watcher=this),a?(this.deep=!!a.deep,this.user=!!a.user,this.lazy=!!a.lazy,this.sync=!!a.sync,this.before=a.before):this.deep=this.user=this.lazy=this.sync=!1,this.cb=r,this.id=++iw,this.active=!0,this.post=!1,this.dirty=this.lazy,this.deps=[],this.newDeps=[],this.depIds=new Ma,this.newDepIds=new Ma,this.expression="",Pe(n)?this.getter=n:(this.getter=fx(n),this.getter||(this.getter=Ge)),this.value=this.lazy?void 0:this.get()}return e.prototype.get=function(){ji(this);var t,n=this.vm;try{t=this.getter.call(n,n)}catch(r){if(this.user)ni(r,n,'getter for watcher "'.concat(this.expression,'"'));else throw r}finally{this.deep&&Fi(t),Ui(),this.cleanupDeps()}return t},e.prototype.addDep=function(t){var n=t.id;this.newDepIds.has(n)||(this.newDepIds.add(n),this.newDeps.push(t),this.depIds.has(n)||t.addSub(this))},e.prototype.cleanupDeps=function(){for(var t=this.deps.length;t--;){var n=this.deps[t];this.newDepIds.has(n.id)||n.removeSub(this)}var r=this.depIds;this.depIds=this.newDepIds,this.newDepIds=r,this.newDepIds.clear(),r=this.deps,this.deps=this.newDeps,this.newDeps=r,this.newDeps.length=0},e.prototype.update=function(){this.lazy?this.dirty=!0:this.sync?this.run():Zu(this)},e.prototype.run=function(){if(this.active){var t=this.get();if(t!==this.value||gt(t)||this.deep){var n=this.value;if(this.value=t,this.user){var r='callback for watcher "'.concat(this.expression,'"');er(this.cb,this.vm,[t,n],this.vm,r)}else this.cb.call(this.vm,t,n)}}},e.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},e.prototype.depend=function(){for(var t=this.deps.length;t--;)this.deps[t].depend()},e.prototype.teardown=function(){if(this.vm&&!this.vm._isBeingDestroyed&&Ar(this.vm._scope.effects,this),this.active){for(var t=this.deps.length;t--;)this.deps[t].removeSub(this);this.active=!1,this.onStop&&this.onStop()}},e}();function aw(e){e._events=Object.create(null),e._hasHookEvent=!1;var t=e.$options._parentListeners;t&&cv(e,t)}var Da;function sw(e,t){Da.$on(e,t)}function ow(e,t){Da.$off(e,t)}function lw(e,t){var n=Da;return function r(){var a=t.apply(null,arguments);a!==null&&n.$off(e,r)}}function cv(e,t,n){Da=e,ev(t,n||{},sw,ow,lw,e),Da=void 0}function uw(e){var t=/^hook:/;e.prototype.$on=function(n,r){var a=this;if(ke(n))for(var l=0,c=n.length;l<c;l++)a.$on(n[l],r);else(a._events[n]||(a._events[n]=[])).push(r),t.test(n)&&(a._hasHookEvent=!0);return a},e.prototype.$once=function(n,r){var a=this;function l(){a.$off(n,l),r.apply(a,arguments)}return l.fn=r,a.$on(n,l),a},e.prototype.$off=function(n,r){var a=this;if(!arguments.length)return a._events=Object.create(null),a;if(ke(n)){for(var l=0,c=n.length;l<c;l++)a.$off(n[l],r);return a}var d=a._events[n];if(!d)return a;if(!r)return a._events[n]=null,a;for(var v,y=d.length;y--;)if(v=d[y],v===r||v.fn===r){d.splice(y,1);break}return a},e.prototype.$emit=function(n){var r=this,a=r._events[n];if(a){a=a.length>1?Nu(a):a;for(var l=Nu(arguments,1),c='event handler for "'.concat(n,'"'),d=0,v=a.length;d<v;d++)er(a[d],r,l,r,c)}return r}}var Zr=null;function hv(e){var t=Zr;return Zr=e,function(){Zr=t}}function cw(e){var t=e.$options,n=t.parent;if(n&&!t.abstract){for(;n.$options.abstract&&n.$parent;)n=n.$parent;n.$children.push(e)}e.$parent=n,e.$root=n?n.$root:e,e.$children=[],e.$refs={},e._provided=n?n._provided:Object.create(null),e._watcher=null,e._inactive=null,e._directInactive=!1,e._isMounted=!1,e._isDestroyed=!1,e._isBeingDestroyed=!1}function hw(e){e.prototype._update=function(t,n){var r=this,a=r.$el,l=r._vnode,c=hv(r);r._vnode=t,l?r.$el=r.__patch__(l,t):r.$el=r.__patch__(r.$el,t,n,!1),c(),a&&(a.__vue__=null),r.$el&&(r.$el.__vue__=r);for(var d=r;d&&d.$vnode&&d.$parent&&d.$vnode===d.$parent._vnode;)d.$parent.$el=d.$el,d=d.$parent},e.prototype.$forceUpdate=function(){var t=this;t._watcher&&t._watcher.update()},e.prototype.$destroy=function(){var t=this;if(!t._isBeingDestroyed){cn(t,"beforeDestroy"),t._isBeingDestroyed=!0;var n=t.$parent;n&&!n._isBeingDestroyed&&!t.$options.abstract&&Ar(n.$children,t),t._scope.stop(),t._data.__ob__&&t._data.__ob__.vmCount--,t._isDestroyed=!0,t.__patch__(t._vnode,null),cn(t,"destroyed"),t.$off(),t.$el&&(t.$el.__vue__=null),t.$vnode&&(t.$vnode.parent=null)}}}function fw(e,t,n){e.$el=t,e.$options.render||(e.$options.render=Gr),cn(e,"beforeMount");var r;r=function(){e._update(e._render(),n)};var a={before:function(){e._isMounted&&!e._isDestroyed&&cn(e,"beforeUpdate")}};new Ka(e,r,Ge,a,!0),n=!1;var l=e._preWatchers;if(l)for(var c=0;c<l.length;c++)l[c].run();return e.$vnode==null&&(e._isMounted=!0,cn(e,"mounted")),e}function dw(e,t,n,r,a){var l=r.data.scopedSlots,c=e.$scopedSlots,d=!!(l&&!l.$stable||c!==Dt&&!c.$stable||l&&e.$scopedSlots.$key!==l.$key||!l&&e.$scopedSlots.$key),v=!!(a||e.$options._renderChildren||d),y=e.$vnode;e.$options._parentVnode=r,e.$vnode=r,e._vnode&&(e._vnode.parent=r),e.$options._renderChildren=a;var _=r.data.attrs||Dt;e._attrsProxy&&ao(e._attrsProxy,_,y.data&&y.data.attrs||Dt,e,"$attrs")&&(v=!0),e.$attrs=_,n=n||Dt;var k=e.$options._parentListeners;if(e._listenersProxy&&ao(e._listenersProxy,n,k||Dt,e,"$listeners"),e.$listeners=e.$options._parentListeners=n,cv(e,n,k),t&&e.$options.props){$r(!1);for(var $=e._props,M=e.$options._propKeys||[],T=0;T<M.length;T++){var L=M[T],D=e.$options.props;$[L]=eh(L,D,t,e)}$r(!0),e.$options.propsData=t}v&&(e.$slots=Gc(a,r.context),e.$forceUpdate())}function fv(e){for(;e&&(e=e.$parent);)if(e._inactive)return!0;return!1}function Zc(e,t){if(t){if(e._directInactive=!1,fv(e))return}else if(e._directInactive)return;if(e._inactive||e._inactive===null){e._inactive=!1;for(var n=0;n<e.$children.length;n++)Zc(e.$children[n]);cn(e,"activated")}}function dv(e,t){if(!(t&&(e._directInactive=!0,fv(e)))&&!e._inactive){e._inactive=!0;for(var n=0;n<e.$children.length;n++)dv(e.$children[n]);cn(e,"deactivated")}}function cn(e,t,n,r){r===void 0&&(r=!0),ji();var a=pt,l=Cx();r&&Cr(e);var c=e.$options[t],d="".concat(t," hook");if(c)for(var v=0,y=c.length;v<y;v++)er(c[v],e,n||null,e,d);e._hasHookEvent&&e.$emit("hook:"+t),r&&(Cr(a),l&&l.on()),Ui()}var jn=[],Kc=[],oo={},qu=!1,Xc=!1,Oi=0;function pw(){Oi=jn.length=Kc.length=0,oo={},qu=Xc=!1}var pv=0,Gu=Date.now;if(Ut&&!Wi){var du=window.performance;du&&typeof du.now=="function"&&Gu()>document.createEvent("Event").timeStamp&&(Gu=function(){return du.now()})}var mw=function(e,t){if(e.post){if(!t.post)return 1}else if(t.post)return-1;return e.id-t.id};function vw(){pv=Gu(),Xc=!0;var e,t;for(jn.sort(mw),Oi=0;Oi<jn.length;Oi++)e=jn[Oi],e.before&&e.before(),t=e.id,oo[t]=null,e.run();var n=Kc.slice(),r=jn.slice();pw(),bw(n),gw(r),gx(),ro&&Jt.devtools&&ro.emit("flush")}function gw(e){for(var t=e.length;t--;){var n=e[t],r=n.vm;r&&r._watcher===n&&r._isMounted&&!r._isDestroyed&&cn(r,"updated")}}function yw(e){e._inactive=!1,Kc.push(e)}function bw(e){for(var t=0;t<e.length;t++)e[t]._inactive=!0,Zc(e[t],!0)}function Zu(e){var t=e.id;if(oo[t]==null&&!(e===Jn.target&&e.noRecurse)){if(oo[t]=!0,!Xc)jn.push(e);else{for(var n=jn.length-1;n>Oi&&jn[n].id>e.id;)n--;jn.splice(n+1,0,e)}qu||(qu=!0,Aa(vw))}}function _w(e){var t=e.$options.provide;if(t){var n=Pe(t)?t.call(e):t;if(!gt(n))return;for(var r=Qm(e),a=Ga?Reflect.ownKeys(n):Object.keys(n),l=0;l<a.length;l++){var c=a[l];Object.defineProperty(r,c,Object.getOwnPropertyDescriptor(n,c))}}}function xw(e){var t=mv(e.$options.inject,e);t&&($r(!1),Object.keys(t).forEach(function(n){Mr(e,n,t[n])}),$r(!0))}function mv(e,t){if(e){for(var n=Object.create(null),r=Ga?Reflect.ownKeys(e):Object.keys(e),a=0;a<r.length;a++){var l=r[a];if(l!=="__ob__"){var c=e[l].from;if(c in t._provided)n[l]=t._provided[c];else if("default"in e[l]){var d=e[l].default;n[l]=Pe(d)?d.call(t):d}}}return n}}function Jc(e,t,n,r,a){var l=this,c=a.options,d;St(r,"_uid")?(d=Object.create(r),d._original=r):(d=r,r=r._original);var v=Ze(c._compiled),y=!v;this.data=e,this.props=t,this.children=n,this.parent=r,this.listeners=e.on||Dt,this.injections=mv(c.inject,r),this.slots=function(){return l.$slots||xa(r,e.scopedSlots,l.$slots=Gc(n,r)),l.$slots},Object.defineProperty(this,"scopedSlots",{enumerable:!0,get:function(){return xa(r,e.scopedSlots,this.slots())}}),v&&(this.$options=c,this.$slots=this.slots(),this.$scopedSlots=xa(r,e.scopedSlots,this.$slots)),c._scopeId?this._c=function(_,k,$,M){var T=so(d,_,k,$,M,y);return T&&!ke(T)&&(T.fnScopeId=c._scopeId,T.fnContext=r),T}:this._c=function(_,k,$,M){return so(d,_,k,$,M,y)}}iv(Jc.prototype);function ww(e,t,n,r,a){var l=e.options,c={},d=l.props;if(F(d))for(var v in d)c[v]=eh(v,d,t||Dt);else F(n.attrs)&&Rd(c,n.attrs),F(n.props)&&Rd(c,n.props);var y=new Jc(n,c,a,r,e),_=l.render.call(null,y._c,y);if(_ instanceof Wt)return Pd(_,n,y.parent,l);if(ke(_)){for(var k=qc(_)||[],$=new Array(k.length),M=0;M<k.length;M++)$[M]=Pd(k[M],n,y.parent,l);return $}}function Pd(e,t,n,r,a){var l=Hu(e);return l.fnContext=n,l.fnOptions=r,t.slot&&((l.data||(l.data={})).slot=t.slot),l}function Rd(e,t){for(var n in t)e[ei(n)]=t[n]}function lo(e){return e.name||e.__name||e._componentTag}var Qc={init:function(e,t){if(e.componentInstance&&!e.componentInstance._isDestroyed&&e.data.keepAlive){var n=e;Qc.prepatch(n,n)}else{var r=e.componentInstance=Sw(e,Zr);r.$mount(t?e.elm:void 0,t)}},prepatch:function(e,t){var n=t.componentOptions,r=t.componentInstance=e.componentInstance;dw(r,n.propsData,n.listeners,t,n.children)},insert:function(e){var t=e.context,n=e.componentInstance;n._isMounted||(n._isMounted=!0,cn(n,"mounted")),e.data.keepAlive&&(t._isMounted?yw(n):Zc(n,!0))},destroy:function(e){var t=e.componentInstance;t._isDestroyed||(e.data.keepAlive?dv(t,!0):t.$destroy())}},Fd=Object.keys(Qc);function Nd(e,t,n,r,a){if(!fe(e)){var l=n.$options._base;if(gt(e)&&(e=l.extend(e)),typeof e=="function"){var c;if(fe(e.cid)&&(c=e,e=Gx(c,l),e===void 0))return qx(c,t,n,r,a);t=t||{},nh(e),F(t.model)&&$w(e.options,t);var d=$x(t,e);if(Ze(e.options.functional))return ww(e,d,t,n,r);var v=t.on;if(t.on=t.nativeOn,Ze(e.options.abstract)){var y=t.slot;t={},y&&(t.slot=y)}kw(t);var _=lo(e.options)||a,k=new Wt("vue-component-".concat(e.cid).concat(_?"-".concat(_):""),t,void 0,void 0,void 0,n,{Ctor:e,propsData:d,listeners:v,tag:a,children:r},c);return k}}}function Sw(e,t){var n={_isComponent:!0,_parentVnode:e,parent:t},r=e.data.inlineTemplate;return F(r)&&(n.render=r.render,n.staticRenderFns=r.staticRenderFns),new e.componentOptions.Ctor(n)}function kw(e){for(var t=e.hook||(e.hook={}),n=0;n<Fd.length;n++){var r=Fd[n],a=t[r],l=Qc[r];a!==l&&!(a&&a._merged)&&(t[r]=a?Cw(l,a):l)}}function Cw(e,t){var n=function(r,a){e(r,a),t(r,a)};return n._merged=!0,n}function $w(e,t){var n=e.model&&e.model.prop||"value",r=e.model&&e.model.event||"input";(t.attrs||(t.attrs={}))[n]=t.model.value;var a=t.on||(t.on={}),l=a[r],c=t.model.callback;F(l)?(ke(l)?l.indexOf(c)===-1:l!==c)&&(a[r]=[c].concat(l)):a[r]=c}var Mw=Ge,$n=Jt.optionMergeStrategies;function Ia(e,t,n){if(n===void 0&&(n=!0),!t)return e;for(var r,a,l,c=Ga?Reflect.ownKeys(t):Object.keys(t),d=0;d<c.length;d++)r=c[d],r!=="__ob__"&&(a=e[r],l=t[r],!n||!St(e,r)?Uc(e,r,l):a!==l&&Ht(a)&&Ht(l)&&Ia(a,l));return e}function Bd(e,t,n){return n?function(){var a=Pe(t)?t.call(n,n):t,l=Pe(e)?e.call(n,n):e;return a?Ia(a,l):l}:t?e?function(){return Ia(Pe(t)?t.call(this,this):t,Pe(e)?e.call(this,this):e)}:t:e}$n.data=function(e,t,n){return n?Bd(e,t,n):t&&typeof t!="function"?e:Bd(e,t)};function vv(e,t){var n=t?e?e.concat(t):ke(t)?t:[t]:e;return n&&Tw(n)}function Tw(e){for(var t=[],n=0;n<e.length;n++)t.indexOf(e[n])===-1&&t.push(e[n]);return t}Wm.forEach(function(e){$n[e]=vv});function Ow(e,t,n,r){var a=Object.create(e||null);return t?He(a,t):a}Vo.forEach(function(e){$n[e+"s"]=Ow});$n.watch=function(e,t,n,r){if(e===zu&&(e=void 0),t===zu&&(t=void 0),!t)return Object.create(e||null);if(!e)return t;var a={};He(a,e);for(var l in t){var c=a[l],d=t[l];c&&!ke(c)&&(c=[c]),a[l]=c?c.concat(d):ke(d)?d:[d]}return a};$n.props=$n.methods=$n.inject=$n.computed=function(e,t,n,r){if(!e)return t;var a=Object.create(null);return He(a,e),t&&He(a,t),a};$n.provide=function(e,t){return e?function(){var n=Object.create(null);return Ia(n,Pe(e)?e.call(this):e),t&&Ia(n,Pe(t)?t.call(this):t,!1),n}:t};var Aw=function(e,t){return t===void 0?e:t};function Dw(e,t){var n=e.props;if(n){var r={},a,l,c;if(ke(n))for(a=n.length;a--;)l=n[a],typeof l=="string"&&(c=ei(l),r[c]={type:null});else if(Ht(n))for(var d in n)l=n[d],c=ei(d),r[c]=Ht(l)?l:{type:l};e.props=r}}function Iw(e,t){var n=e.inject;if(n){var r=e.inject={};if(ke(n))for(var a=0;a<n.length;a++)r[n[a]]={from:n[a]};else if(Ht(n))for(var l in n){var c=n[l];r[l]=Ht(c)?He({from:l},c):{from:c}}}}function Lw(e){var t=e.directives;if(t)for(var n in t){var r=t[n];Pe(r)&&(t[n]={bind:r,update:r})}}function ri(e,t,n){if(Pe(t)&&(t=t.options),Dw(t),Iw(t),Lw(t),!t._base&&(t.extends&&(e=ri(e,t.extends,n)),t.mixins))for(var r=0,a=t.mixins.length;r<a;r++)e=ri(e,t.mixins[r],n);var l={},c;for(c in e)d(c);for(c in t)St(e,c)||d(c);function d(v){var y=$n[v]||Aw;l[v]=y(e[v],t[v],n,v)}return l}function uo(e,t,n,r){if(typeof n=="string"){var a=e[t];if(St(a,n))return a[n];var l=ei(n);if(St(a,l))return a[l];var c=sx(l);if(St(a,c))return a[c];var d=a[n]||a[l]||a[c];return d}}function eh(e,t,n,r){var a=t[e],l=!St(n,e),c=n[e],d=Hd(Boolean,a.type);if(d>-1){if(l&&!St(a,"default"))c=!1;else if(c===""||c===qa(e)){var v=Hd(String,a.type);(v<0||d<v)&&(c=!0)}}if(c===void 0){c=Ew(r,a,e);var y=jc;$r(!0),Qn(c),$r(y)}return c}function Ew(e,t,n){if(St(t,"default")){var r=t.default;return e&&e.$options.propsData&&e.$options.propsData[n]===void 0&&e._props[n]!==void 0?e._props[n]:Pe(r)&&Ku(t.type)!=="Function"?r.call(e):r}}var Pw=/^\s*function (\w+)/;function Ku(e){var t=e&&e.toString().match(Pw);return t?t[1]:""}function zd(e,t){return Ku(e)===Ku(t)}function Hd(e,t){if(!ke(t))return zd(t,e)?0:-1;for(var n=0,r=t.length;n<r;n++)if(zd(t[n],e))return n;return-1}var dr={enumerable:!0,configurable:!0,get:Ge,set:Ge};function th(e,t,n){dr.get=function(){return this[t][n]},dr.set=function(a){this[t][n]=a},Object.defineProperty(e,n,dr)}function Rw(e){var t=e.$options;if(t.props&&Fw(e,t.props),Hx(e),t.methods&&Ww(e,t.methods),t.data)Nw(e);else{var n=Qn(e._data={});n&&n.vmCount++}t.computed&&Hw(e,t.computed),t.watch&&t.watch!==zu&&Vw(e,t.watch)}function Fw(e,t){var n=e.$options.propsData||{},r=e._props=Km({}),a=e.$options._propKeys=[],l=!e.$parent;l||$r(!1);var c=function(v){a.push(v);var y=eh(v,t,n,e);Mr(r,v,y,void 0,!0),v in e||th(e,"_props",v)};for(var d in t)c(d);$r(!0)}function Nw(e){var t=e.$options.data;t=e._data=Pe(t)?Bw(t,e):t||{},Ht(t)||(t={});var n=Object.keys(t),r=e.$options.props;e.$options.methods;for(var a=n.length;a--;){var l=n[a];r&&St(r,l)||Vm(l)||th(e,"_data",l)}var c=Qn(t);c&&c.vmCount++}function Bw(e,t){ji();try{return e.call(t,t)}catch(n){return ni(n,t,"data()"),{}}finally{Ui()}}var zw={lazy:!0};function Hw(e,t){var n=e._computedWatchers=Object.create(null),r=Dr();for(var a in t){var l=t[a],c=Pe(l)?l:l.get;r||(n[a]=new Ka(e,c||Ge,Ge,zw)),a in e||gv(e,a,l)}}function gv(e,t,n){var r=!Dr();Pe(n)?(dr.get=r?Wd(t):Vd(n),dr.set=Ge):(dr.get=n.get?r&&n.cache!==!1?Wd(t):Vd(n.get):Ge,dr.set=n.set||Ge),Object.defineProperty(e,t,dr)}function Wd(e){return function(){var n=this._computedWatchers&&this._computedWatchers[e];if(n)return n.dirty&&n.evaluate(),Jn.target&&n.depend(),n.value}}function Vd(e){return function(){return e.call(this,this)}}function Ww(e,t){e.$options.props;for(var n in t)e[n]=typeof t[n]!="function"?Ge:Nm(t[n],e)}function Vw(e,t){for(var n in t){var r=t[n];if(ke(r))for(var a=0;a<r.length;a++)Xu(e,n,r[a]);else Xu(e,n,r)}}function Xu(e,t,n,r){return Ht(n)&&(r=n,n=n.handler),typeof n=="string"&&(n=e[n]),e.$watch(t,n,r)}function jw(e){var t={};t.get=function(){return this._data};var n={};n.get=function(){return this._props},Object.defineProperty(e.prototype,"$data",t),Object.defineProperty(e.prototype,"$props",n),e.prototype.$set=Uc,e.prototype.$delete=Gm,e.prototype.$watch=function(r,a,l){var c=this;if(Ht(a))return Xu(c,r,a,l);l=l||{},l.user=!0;var d=new Ka(c,r,a,l);if(l.immediate){var v='callback for immediate watcher "'.concat(d.expression,'"');ji(),er(a,c,[d.value],c,v),Ui()}return function(){d.teardown()}}}var Uw=0;function Yw(e){e.prototype._init=function(t){var n=this;n._uid=Uw++,n._isVue=!0,n.__v_skip=!0,n._scope=new Sx(!0),n._scope.parent=void 0,n._scope._vm=!0,t&&t._isComponent?qw(n,t):n.$options=ri(nh(n.constructor),t||{},n),n._renderProxy=n,n._self=n,cw(n),aw(n),Ux(n),cn(n,"beforeCreate",void 0,!1),xw(n),Rw(n),_w(n),cn(n,"created"),n.$options.el&&n.$mount(n.$options.el)}}function qw(e,t){var n=e.$options=Object.create(e.constructor.options),r=t._parentVnode;n.parent=t.parent,n._parentVnode=r;var a=r.componentOptions;n.propsData=a.propsData,n._parentListeners=a.listeners,n._renderChildren=a.children,n._componentTag=a.tag,t.render&&(n.render=t.render,n.staticRenderFns=t.staticRenderFns)}function nh(e){var t=e.options;if(e.super){var n=nh(e.super),r=e.superOptions;if(n!==r){e.superOptions=n;var a=Gw(e);a&&He(e.extendOptions,a),t=e.options=ri(n,e.extendOptions),t.name&&(t.components[t.name]=e)}}return t}function Gw(e){var t,n=e.options,r=e.sealedOptions;for(var a in n)n[a]!==r[a]&&(t||(t={}),t[a]=n[a]);return t}function ee(e){this._init(e)}Yw(ee);jw(ee);uw(ee);hw(ee);Yx(ee);function Zw(e){e.use=function(t){var n=this._installedPlugins||(this._installedPlugins=[]);if(n.indexOf(t)>-1)return this;var r=Nu(arguments,1);return r.unshift(this),Pe(t.install)?t.install.apply(t,r):Pe(t)&&t.apply(null,r),n.push(t),this}}function Kw(e){e.mixin=function(t){return this.options=ri(this.options,t),this}}function Xw(e){e.cid=0;var t=1;e.extend=function(n){n=n||{};var r=this,a=r.cid,l=n._Ctor||(n._Ctor={});if(l[a])return l[a];var c=lo(n)||lo(r.options),d=function(y){this._init(y)};return d.prototype=Object.create(r.prototype),d.prototype.constructor=d,d.cid=t++,d.options=ri(r.options,n),d.super=r,d.options.props&&Jw(d),d.options.computed&&Qw(d),d.extend=r.extend,d.mixin=r.mixin,d.use=r.use,Vo.forEach(function(v){d[v]=r[v]}),c&&(d.options.components[c]=d),d.superOptions=r.options,d.extendOptions=n,d.sealedOptions=He({},d.options),l[a]=d,d}}function Jw(e){var t=e.options.props;for(var n in t)th(e.prototype,"_props",n)}function Qw(e){var t=e.options.computed;for(var n in t)gv(e.prototype,n,t[n])}function eS(e){Vo.forEach(function(t){e[t]=function(n,r){return r?(t==="component"&&Ht(r)&&(r.name=r.name||n,r=this.options._base.extend(r)),t==="directive"&&Pe(r)&&(r={bind:r,update:r}),this.options[t+"s"][n]=r,r):this.options[t+"s"][n]}})}function jd(e){return e&&(lo(e.Ctor.options)||e.tag)}function Cs(e,t){return ke(e)?e.indexOf(t)>-1:typeof e=="string"?e.split(",").indexOf(t)>-1:ex(e)?e.test(t):!1}function Ud(e,t){var n=e.cache,r=e.keys,a=e._vnode,l=e.$vnode;for(var c in n){var d=n[c];if(d){var v=d.name;v&&!t(v)&&Ju(n,c,r,a)}}l.componentOptions.children=void 0}function Ju(e,t,n,r){var a=e[t];a&&(!r||a.tag!==r.tag)&&a.componentInstance.$destroy(),e[t]=null,Ar(n,t)}var Yd=[String,RegExp,Array],tS={name:"keep-alive",abstract:!0,props:{include:Yd,exclude:Yd,max:[String,Number]},methods:{cacheVNode:function(){var e=this,t=e.cache,n=e.keys,r=e.vnodeToCache,a=e.keyToCache;if(r){var l=r.tag,c=r.componentInstance,d=r.componentOptions;t[a]={name:jd(d),tag:l,componentInstance:c},n.push(a),this.max&&n.length>parseInt(this.max)&&Ju(t,n[0],n,this._vnode),this.vnodeToCache=null}}},created:function(){this.cache=Object.create(null),this.keys=[]},destroyed:function(){for(var e in this.cache)Ju(this.cache,e,this.keys)},mounted:function(){var e=this;this.cacheVNode(),this.$watch("include",function(t){Ud(e,function(n){return Cs(t,n)})}),this.$watch("exclude",function(t){Ud(e,function(n){return!Cs(t,n)})})},updated:function(){this.cacheVNode()},render:function(){var e=this.$slots.default,t=sv(e),n=t&&t.componentOptions;if(n){var r=jd(n),a=this,l=a.include,c=a.exclude;if(l&&(!r||!Cs(l,r))||c&&r&&Cs(c,r))return t;var d=this,v=d.cache,y=d.keys,_=t.key==null?n.Ctor.cid+(n.tag?"::".concat(n.tag):""):t.key;v[_]?(t.componentInstance=v[_].componentInstance,Ar(y,_),y.push(_)):(this.vnodeToCache=t,this.keyToCache=_),t.data.keepAlive=!0}return t||e&&e[0]}},nS={KeepAlive:tS};function rS(e){var t={};t.get=function(){return Jt},Object.defineProperty(e,"config",t),e.util={warn:Mw,extend:He,mergeOptions:ri,defineReactive:Mr},e.set=Uc,e.delete=Gm,e.nextTick=Aa,e.observable=function(n){return Qn(n),n},e.options=Object.create(null),Vo.forEach(function(n){e.options[n+"s"]=Object.create(null)}),e.options._base=e,He(e.options.components,nS),Zw(e),Kw(e),Xw(e),eS(e)}rS(ee);Object.defineProperty(ee.prototype,"$isServer",{get:Dr});Object.defineProperty(ee.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}});Object.defineProperty(ee,"FunctionalRenderContext",{value:Jc});ee.version=rw;var iS=vn("style,class"),aS=vn("input,textarea,option,select,progress"),sS=function(e,t,n){return n==="value"&&aS(e)&&t!=="button"||n==="selected"&&e==="option"||n==="checked"&&e==="input"||n==="muted"&&e==="video"},yv=vn("contenteditable,draggable,spellcheck"),oS=vn("events,caret,typing,plaintext-only"),lS=function(e,t){return co(t)||t==="false"?"false":e==="contenteditable"&&oS(t)?t:"true"},uS=vn("allowfullscreen,async,autofocus,autoplay,checked,compact,controls,declare,default,defaultchecked,defaultmuted,defaultselected,defer,disabled,enabled,formnovalidate,hidden,indeterminate,inert,ismap,itemscope,loop,multiple,muted,nohref,noresize,noshade,novalidate,nowrap,open,pauseonexit,readonly,required,reversed,scoped,seamless,selected,sortable,truespeed,typemustmatch,visible"),Qu="http://www.w3.org/1999/xlink",rh=function(e){return e.charAt(5)===":"&&e.slice(0,5)==="xlink"},bv=function(e){return rh(e)?e.slice(6,e.length):""},co=function(e){return e==null||e===!1};function cS(e){for(var t=e.data,n=e,r=e;F(r.componentInstance);)r=r.componentInstance._vnode,r&&r.data&&(t=qd(r.data,t));for(;F(n=n.parent);)n&&n.data&&(t=qd(t,n.data));return hS(t.staticClass,t.class)}function qd(e,t){return{staticClass:ih(e.staticClass,t.staticClass),class:F(e.class)?[e.class,t.class]:t.class}}function hS(e,t){return F(e)||F(t)?ih(e,ah(t)):""}function ih(e,t){return e?t?e+" "+t:e:t||""}function ah(e){return Array.isArray(e)?fS(e):gt(e)?dS(e):typeof e=="string"?e:""}function fS(e){for(var t="",n,r=0,a=e.length;r<a;r++)F(n=ah(e[r]))&&n!==""&&(t&&(t+=" "),t+=n);return t}function dS(e){var t="";for(var n in e)e[n]&&(t&&(t+=" "),t+=n);return t}var pS={svg:"http://www.w3.org/2000/svg",math:"http://www.w3.org/1998/Math/MathML"},mS=vn("html,body,base,head,link,meta,style,title,address,article,aside,footer,header,h1,h2,h3,h4,h5,h6,hgroup,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,rtc,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,menuitem,summary,content,element,shadow,template,blockquote,iframe,tfoot"),sh=vn("svg,animate,circle,clippath,cursor,defs,desc,ellipse,filter,font-face,foreignobject,g,glyph,image,line,marker,mask,missing-glyph,path,pattern,polygon,polyline,rect,switch,symbol,text,textpath,tspan,use,view",!0),_v=function(e){return mS(e)||sh(e)};function vS(e){if(sh(e))return"svg";if(e==="math")return"math"}var $s=Object.create(null);function gS(e){if(!Ut)return!0;if(_v(e))return!1;if(e=e.toLowerCase(),$s[e]!=null)return $s[e];var t=document.createElement(e);return e.indexOf("-")>-1?$s[e]=t.constructor===window.HTMLUnknownElement||t.constructor===window.HTMLElement:$s[e]=/HTMLUnknownElement/.test(t.toString())}var ec=vn("text,number,password,search,email,tel,url");function yS(e){if(typeof e=="string"){var t=document.querySelector(e);return t||document.createElement("div")}else return e}function bS(e,t){var n=document.createElement(e);return e!=="select"||t.data&&t.data.attrs&&t.data.attrs.multiple!==void 0&&n.setAttribute("multiple","multiple"),n}function _S(e,t){return document.createElementNS(pS[e],t)}function xS(e){return document.createTextNode(e)}function wS(e){return document.createComment(e)}function SS(e,t,n){e.insertBefore(t,n)}function kS(e,t){e.removeChild(t)}function CS(e,t){e.appendChild(t)}function $S(e){return e.parentNode}function MS(e){return e.nextSibling}function TS(e){return e.tagName}function OS(e,t){e.textContent=t}function AS(e,t){e.setAttribute(t,"")}var DS=Object.freeze({__proto__:null,createElement:bS,createElementNS:_S,createTextNode:xS,createComment:wS,insertBefore:SS,removeChild:kS,appendChild:CS,parentNode:$S,nextSibling:MS,tagName:TS,setTextContent:OS,setStyleScope:AS}),IS={create:function(e,t){Ai(t)},update:function(e,t){e.data.ref!==t.data.ref&&(Ai(e,!0),Ai(t))},destroy:function(e){Ai(e,!0)}};function Ai(e,t){var n=e.data.ref;if(F(n)){var r=e.context,a=e.componentInstance||e.elm,l=t?null:a,c=t?void 0:a;if(Pe(n)){er(n,r,[l],r,"template ref function");return}var d=e.data.refInFor,v=typeof n=="string"||typeof n=="number",y=ct(n),_=r.$refs;if(v||y){if(d){var k=v?_[n]:n.value;t?ke(k)&&Ar(k,a):ke(k)?k.includes(a)||k.push(a):v?(_[n]=[a],Gd(r,n,_[n])):n.value=[a]}else if(v){if(t&&_[n]!==a)return;_[n]=c,Gd(r,n,l)}else if(y){if(t&&n.value!==a)return;n.value=l}}}}function Gd(e,t,n){var r=e._setupState;r&&St(r,t)&&(ct(r[t])?r[t].value=n:r[t]=n)}var gr=new Wt("",{},[]),fa=["create","activate","update","remove","destroy"];function jr(e,t){return e.key===t.key&&e.asyncFactory===t.asyncFactory&&(e.tag===t.tag&&e.isComment===t.isComment&&F(e.data)===F(t.data)&&LS(e,t)||Ze(e.isAsyncPlaceholder)&&fe(t.asyncFactory.error))}function LS(e,t){if(e.tag!=="input")return!0;var n,r=F(n=e.data)&&F(n=n.attrs)&&n.type,a=F(n=t.data)&&F(n=n.attrs)&&n.type;return r===a||ec(r)&&ec(a)}function ES(e,t,n){var r,a,l={};for(r=t;r<=n;++r)a=e[r].key,F(a)&&(l[a]=r);return l}function PS(e){var t,n,r={},a=e.modules,l=e.nodeOps;for(t=0;t<fa.length;++t)for(r[fa[t]]=[],n=0;n<a.length;++n)F(a[n][fa[t]])&&r[fa[t]].push(a[n][fa[t]]);function c(R){return new Wt(l.tagName(R).toLowerCase(),{},[],void 0,R)}function d(R,P){function W(){--W.listeners===0&&v(R)}return W.listeners=P,W}function v(R){var P=l.parentNode(R);F(P)&&l.removeChild(P,R)}function y(R,P,W,K,ue,we,re){if(F(R.elm)&&F(we)&&(R=we[re]=Hu(R)),R.isRootInsert=!ue,!_(R,P,W,K)){var he=R.data,te=R.children,be=R.tag;F(be)?(R.elm=R.ns?l.createElementNS(R.ns,be):l.createElement(be,R),N(R),T(R,te,P),F(he)&&D(R,P),M(W,R.elm,K)):Ze(R.isComment)?(R.elm=l.createComment(R.text),M(W,R.elm,K)):(R.elm=l.createTextNode(R.text),M(W,R.elm,K))}}function _(R,P,W,K){var ue=R.data;if(F(ue)){var we=F(R.componentInstance)&&ue.keepAlive;if(F(ue=ue.hook)&&F(ue=ue.init)&&ue(R,!1),F(R.componentInstance))return k(R,P),M(W,R.elm,K),Ze(we)&&$(R,P,W,K),!0}}function k(R,P){F(R.data.pendingInsert)&&(P.push.apply(P,R.data.pendingInsert),R.data.pendingInsert=null),R.elm=R.componentInstance.$el,L(R)?(D(R,P),N(R)):(Ai(R),P.push(R))}function $(R,P,W,K){for(var ue,we=R;we.componentInstance;)if(we=we.componentInstance._vnode,F(ue=we.data)&&F(ue=ue.transition)){for(ue=0;ue<r.activate.length;++ue)r.activate[ue](gr,we);P.push(we);break}M(W,R.elm,K)}function M(R,P,W){F(R)&&(F(W)?l.parentNode(W)===R&&l.insertBefore(R,P,W):l.appendChild(R,P))}function T(R,P,W){if(ke(P))for(var K=0;K<P.length;++K)y(P[K],W,R.elm,null,!0,P,K);else Ya(R.text)&&l.appendChild(R.elm,l.createTextNode(String(R.text)))}function L(R){for(;R.componentInstance;)R=R.componentInstance._vnode;return F(R.tag)}function D(R,P){for(var W=0;W<r.create.length;++W)r.create[W](gr,R);t=R.data.hook,F(t)&&(F(t.create)&&t.create(gr,R),F(t.insert)&&P.push(R))}function N(R){var P;if(F(P=R.fnScopeId))l.setStyleScope(R.elm,P);else for(var W=R;W;)F(P=W.context)&&F(P=P.$options._scopeId)&&l.setStyleScope(R.elm,P),W=W.parent;F(P=Zr)&&P!==R.context&&P!==R.fnContext&&F(P=P.$options._scopeId)&&l.setStyleScope(R.elm,P)}function z(R,P,W,K,ue,we){for(;K<=ue;++K)y(W[K],we,R,P,!1,W,K)}function j(R){var P,W,K=R.data;if(F(K))for(F(P=K.hook)&&F(P=P.destroy)&&P(R),P=0;P<r.destroy.length;++P)r.destroy[P](R);if(F(P=R.children))for(W=0;W<R.children.length;++W)j(R.children[W])}function U(R,P,W){for(;P<=W;++P){var K=R[P];F(K)&&(F(K.tag)?(Q(K),j(K)):v(K.elm))}}function Q(R,P){if(F(P)||F(R.data)){var W,K=r.remove.length+1;for(F(P)?P.listeners+=K:P=d(R.elm,K),F(W=R.componentInstance)&&F(W=W._vnode)&&F(W.data)&&Q(W,P),W=0;W<r.remove.length;++W)r.remove[W](R,P);F(W=R.data.hook)&&F(W=W.remove)?W(R,P):P()}else v(R.elm)}function ne(R,P,W,K,ue){for(var we=0,re=0,he=P.length-1,te=P[0],be=P[he],oe=W.length-1,Ue=W[0],bt=W[oe],ve,Je,Pt,sr,at=!ue;we<=he&&re<=oe;)fe(te)?te=P[++we]:fe(be)?be=P[--he]:jr(te,Ue)?(Oe(te,Ue,K,W,re),te=P[++we],Ue=W[++re]):jr(be,bt)?(Oe(be,bt,K,W,oe),be=P[--he],bt=W[--oe]):jr(te,bt)?(Oe(te,bt,K,W,oe),at&&l.insertBefore(R,te.elm,l.nextSibling(be.elm)),te=P[++we],bt=W[--oe]):jr(be,Ue)?(Oe(be,Ue,K,W,re),at&&l.insertBefore(R,be.elm,te.elm),be=P[--he],Ue=W[++re]):(fe(ve)&&(ve=ES(P,we,he)),Je=F(Ue.key)?ve[Ue.key]:ce(Ue,P,we,he),fe(Je)?y(Ue,K,R,te.elm,!1,W,re):(Pt=P[Je],jr(Pt,Ue)?(Oe(Pt,Ue,K,W,re),P[Je]=void 0,at&&l.insertBefore(R,Pt.elm,te.elm)):y(Ue,K,R,te.elm,!1,W,re)),Ue=W[++re]);we>he?(sr=fe(W[oe+1])?null:W[oe+1].elm,z(R,sr,W,re,oe,K)):re>oe&&U(P,we,he)}function ce(R,P,W,K){for(var ue=W;ue<K;ue++){var we=P[ue];if(F(we)&&jr(R,we))return ue}}function Oe(R,P,W,K,ue,we){if(R!==P){F(P.elm)&&F(K)&&(P=K[ue]=Hu(P));var re=P.elm=R.elm;if(Ze(R.isAsyncPlaceholder)){F(P.asyncFactory.resolved)?ft(R.elm,P,W):P.isAsyncPlaceholder=!0;return}if(Ze(P.isStatic)&&Ze(R.isStatic)&&P.key===R.key&&(Ze(P.isCloned)||Ze(P.isOnce))){P.componentInstance=R.componentInstance;return}var he,te=P.data;F(te)&&F(he=te.hook)&&F(he=he.prepatch)&&he(R,P);var be=R.children,oe=P.children;if(F(te)&&L(P)){for(he=0;he<r.update.length;++he)r.update[he](R,P);F(he=te.hook)&&F(he=he.update)&&he(R,P)}fe(P.text)?F(be)&&F(oe)?be!==oe&&ne(re,be,oe,W,we):F(oe)?(F(R.text)&&l.setTextContent(re,""),z(re,null,oe,0,oe.length-1,W)):F(be)?U(be,0,be.length-1):F(R.text)&&l.setTextContent(re,""):R.text!==P.text&&l.setTextContent(re,P.text),F(te)&&F(he=te.hook)&&F(he=he.postpatch)&&he(R,P)}}function it(R,P,W){if(Ze(W)&&F(R.parent))R.parent.data.pendingInsert=P;else for(var K=0;K<P.length;++K)P[K].data.hook.insert(P[K])}var ht=vn("attrs,class,staticClass,staticStyle,key");function ft(R,P,W,K){var ue,we=P.tag,re=P.data,he=P.children;if(K=K||re&&re.pre,P.elm=R,Ze(P.isComment)&&F(P.asyncFactory))return P.isAsyncPlaceholder=!0,!0;if(F(re)&&(F(ue=re.hook)&&F(ue=ue.init)&&ue(P,!0),F(ue=P.componentInstance)))return k(P,W),!0;if(F(we)){if(F(he))if(!R.hasChildNodes())T(P,he,W);else if(F(ue=re)&&F(ue=ue.domProps)&&F(ue=ue.innerHTML)){if(ue!==R.innerHTML)return!1}else{for(var te=!0,be=R.firstChild,oe=0;oe<he.length;oe++){if(!be||!ft(be,he[oe],W,K)){te=!1;break}be=be.nextSibling}if(!te||be)return!1}if(F(re)){var Ue=!1;for(var bt in re)if(!ht(bt)){Ue=!0,D(P,W);break}!Ue&&re.class&&Fi(re.class)}}else R.data!==P.text&&(R.data=P.text);return!0}return function(P,W,K,ue){if(fe(W)){F(P)&&j(P);return}var we=!1,re=[];if(fe(P))we=!0,y(W,re);else{var he=F(P.nodeType);if(!he&&jr(P,W))Oe(P,W,re,null,null,ue);else{if(he){if(P.nodeType===1&&P.hasAttribute(vd)&&(P.removeAttribute(vd),K=!0),Ze(K)&&ft(P,W,re))return it(W,re,!0),P;P=c(P)}var te=P.elm,be=l.parentNode(te);if(y(W,re,te._leaveCb?null:be,l.nextSibling(te)),F(W.parent))for(var oe=W.parent,Ue=L(W);oe;){for(var bt=0;bt<r.destroy.length;++bt)r.destroy[bt](oe);if(oe.elm=W.elm,Ue){for(var ve=0;ve<r.create.length;++ve)r.create[ve](gr,oe);var Je=oe.data.hook.insert;if(Je.merged)for(var Pt=Je.fns.slice(1),sr=0;sr<Pt.length;sr++)Pt[sr]()}else Ai(oe);oe=oe.parent}F(be)?U([P],0,0):F(P.tag)&&j(P)}}return it(W,re,we),W.elm}}var RS={create:pu,update:pu,destroy:function(t){pu(t,gr)}};function pu(e,t){(e.data.directives||t.data.directives)&&FS(e,t)}function FS(e,t){var n=e===gr,r=t===gr,a=Zd(e.data.directives,e.context),l=Zd(t.data.directives,t.context),c=[],d=[],v,y,_;for(v in l)y=a[v],_=l[v],y?(_.oldValue=y.value,_.oldArg=y.arg,da(_,"update",t,e),_.def&&_.def.componentUpdated&&d.push(_)):(da(_,"bind",t,e),_.def&&_.def.inserted&&c.push(_));if(c.length){var k=function(){for(var $=0;$<c.length;$++)da(c[$],"inserted",t,e)};n?vr(t,"insert",k):k()}if(d.length&&vr(t,"postpatch",function(){for(var $=0;$<d.length;$++)da(d[$],"componentUpdated",t,e)}),!n)for(v in a)l[v]||da(a[v],"unbind",e,e,r)}var NS=Object.create(null);function Zd(e,t){var n=Object.create(null);if(!e)return n;var r,a;for(r=0;r<e.length;r++){if(a=e[r],a.modifiers||(a.modifiers=NS),n[BS(a)]=a,t._setupState&&t._setupState.__sfc){var l=a.def||uo(t,"_setupState","v-"+a.name);typeof l=="function"?a.def={bind:l,update:l}:a.def=l}a.def=a.def||uo(t.$options,"directives",a.name)}return n}function BS(e){return e.rawName||"".concat(e.name,".").concat(Object.keys(e.modifiers||{}).join("."))}function da(e,t,n,r,a){var l=e.def&&e.def[t];if(l)try{l(n.elm,e,n,r,a)}catch(c){ni(c,n.context,"directive ".concat(e.name," ").concat(t," hook"))}}var zS=[IS,RS];function Kd(e,t){var n=t.componentOptions;if(!(F(n)&&n.Ctor.options.inheritAttrs===!1)&&!(fe(e.data.attrs)&&fe(t.data.attrs))){var r,a,l,c=t.elm,d=e.data.attrs||{},v=t.data.attrs||{};(F(v.__ob__)||Ze(v._v_attr_proxy))&&(v=t.data.attrs=He({},v));for(r in v)a=v[r],l=d[r],l!==a&&Xd(c,r,a,t.data.pre);(Wi||jm)&&v.value!==d.value&&Xd(c,"value",v.value);for(r in d)fe(v[r])&&(rh(r)?c.removeAttributeNS(Qu,bv(r)):yv(r)||c.removeAttribute(r))}}function Xd(e,t,n,r){r||e.tagName.indexOf("-")>-1?Jd(e,t,n):uS(t)?co(n)?e.removeAttribute(t):(n=t==="allowfullscreen"&&e.tagName==="EMBED"?"true":t,e.setAttribute(t,n)):yv(t)?e.setAttribute(t,lS(t,n)):rh(t)?co(n)?e.removeAttributeNS(Qu,bv(t)):e.setAttributeNS(Qu,t,n):Jd(e,t,n)}function Jd(e,t,n){if(co(n))e.removeAttribute(t);else{if(Wi&&!Vi&&e.tagName==="TEXTAREA"&&t==="placeholder"&&n!==""&&!e.__ieph){var r=function(a){a.stopImmediatePropagation(),e.removeEventListener("input",r)};e.addEventListener("input",r),e.__ieph=!0}e.setAttribute(t,n)}}var HS={create:Kd,update:Kd};function Qd(e,t){var n=t.elm,r=t.data,a=e.data;if(!(fe(r.staticClass)&&fe(r.class)&&(fe(a)||fe(a.staticClass)&&fe(a.class)))){var l=cS(t),c=n._transitionClasses;F(c)&&(l=ih(l,ah(c))),l!==n._prevClass&&(n.setAttribute("class",l),n._prevClass=l)}}var WS={create:Qd,update:Qd},mu="__r",vu="__c";function VS(e){if(F(e[mu])){var t=Wi?"change":"input";e[t]=[].concat(e[mu],e[t]||[]),delete e[mu]}F(e[vu])&&(e.change=[].concat(e[vu],e.change||[]),delete e[vu])}var La;function jS(e,t,n){var r=La;return function a(){var l=t.apply(null,arguments);l!==null&&xv(e,a,n,r)}}var US=ju&&!(gd&&Number(gd[1])<=53);function YS(e,t,n,r){if(US){var a=pv,l=t;t=l._wrapper=function(c){if(c.target===c.currentTarget||c.timeStamp>=a||c.timeStamp<=0||c.target.ownerDocument!==document)return l.apply(this,arguments)}}La.addEventListener(e,t,Um?{capture:n,passive:r}:n)}function xv(e,t,n,r){(r||La).removeEventListener(e,t._wrapper||t,n)}function gu(e,t){if(!(fe(e.data.on)&&fe(t.data.on))){var n=t.data.on||{},r=e.data.on||{};La=t.elm||e.elm,VS(n),ev(n,r,YS,xv,jS,t.context),La=void 0}}var qS={create:gu,update:gu,destroy:function(e){return gu(e,gr)}},Ms;function ep(e,t){if(!(fe(e.data.domProps)&&fe(t.data.domProps))){var n,r,a=t.elm,l=e.data.domProps||{},c=t.data.domProps||{};(F(c.__ob__)||Ze(c._v_attr_proxy))&&(c=t.data.domProps=He({},c));for(n in l)n in c||(a[n]="");for(n in c){if(r=c[n],n==="textContent"||n==="innerHTML"){if(t.children&&(t.children.length=0),r===l[n])continue;a.childNodes.length===1&&a.removeChild(a.childNodes[0])}if(n==="value"&&a.tagName!=="PROGRESS"){a._value=r;var d=fe(r)?"":String(r);GS(a,d)&&(a.value=d)}else if(n==="innerHTML"&&sh(a.tagName)&&fe(a.innerHTML)){Ms=Ms||document.createElement("div"),Ms.innerHTML="<svg>".concat(r,"</svg>");for(var v=Ms.firstChild;a.firstChild;)a.removeChild(a.firstChild);for(;v.firstChild;)a.appendChild(v.firstChild)}else if(r!==l[n])try{a[n]=r}catch{}}}}function GS(e,t){return!e.composing&&(e.tagName==="OPTION"||ZS(e,t)||KS(e,t))}function ZS(e,t){var n=!0;try{n=document.activeElement!==e}catch{}return n&&e.value!==t}function KS(e,t){var n=e.value,r=e._vModifiers;if(F(r)){if(r.number)return $a(n)!==$a(t);if(r.trim)return n.trim()!==t.trim()}return n!==t}var XS={create:ep,update:ep},JS=oi(function(e){var t={},n=/;(?![^(]*\))/g,r=/:(.+)/;return e.split(n).forEach(function(a){if(a){var l=a.split(r);l.length>1&&(t[l[0].trim()]=l[1].trim())}}),t});function yu(e){var t=wv(e.style);return e.staticStyle?He(e.staticStyle,t):t}function wv(e){return Array.isArray(e)?Bm(e):typeof e=="string"?JS(e):e}function QS(e,t){var n={},r;if(t)for(var a=e;a.componentInstance;)a=a.componentInstance._vnode,a&&a.data&&(r=yu(a.data))&&He(n,r);(r=yu(e.data))&&He(n,r);for(var l=e;l=l.parent;)l.data&&(r=yu(l.data))&&He(n,r);return n}var ek=/^--/,tp=/\s*!important$/,np=function(e,t,n){if(ek.test(t))e.style.setProperty(t,n);else if(tp.test(n))e.style.setProperty(qa(t),n.replace(tp,""),"important");else{var r=tk(t);if(Array.isArray(n))for(var a=0,l=n.length;a<l;a++)e.style[r]=n[a];else e.style[r]=n}},rp=["Webkit","Moz","ms"],Ts,tk=oi(function(e){if(Ts=Ts||document.createElement("div").style,e=ei(e),e!=="filter"&&e in Ts)return e;for(var t=e.charAt(0).toUpperCase()+e.slice(1),n=0;n<rp.length;n++){var r=rp[n]+t;if(r in Ts)return r}});function ip(e,t){var n=t.data,r=e.data;if(!(fe(n.staticStyle)&&fe(n.style)&&fe(r.staticStyle)&&fe(r.style))){var a,l,c=t.elm,d=r.staticStyle,v=r.normalizedStyle||r.style||{},y=d||v,_=wv(t.data.style)||{};t.data.normalizedStyle=F(_.__ob__)?He({},_):_;var k=QS(t,!0);for(l in y)fe(k[l])&&np(c,l,"");for(l in k)a=k[l],np(c,l,a??"")}}var nk={create:ip,update:ip},Sv=/\s+/;function kv(e,t){if(!(!t||!(t=t.trim())))if(e.classList)t.indexOf(" ")>-1?t.split(Sv).forEach(function(r){return e.classList.add(r)}):e.classList.add(t);else{var n=" ".concat(e.getAttribute("class")||""," ");n.indexOf(" "+t+" ")<0&&e.setAttribute("class",(n+t).trim())}}function Cv(e,t){if(!(!t||!(t=t.trim())))if(e.classList)t.indexOf(" ")>-1?t.split(Sv).forEach(function(a){return e.classList.remove(a)}):e.classList.remove(t),e.classList.length||e.removeAttribute("class");else{for(var n=" ".concat(e.getAttribute("class")||""," "),r=" "+t+" ";n.indexOf(r)>=0;)n=n.replace(r," ");n=n.trim(),n?e.setAttribute("class",n):e.removeAttribute("class")}}function $v(e){if(e){if(typeof e=="object"){var t={};return e.css!==!1&&He(t,ap(e.name||"v")),He(t,e),t}else if(typeof e=="string")return ap(e)}}var ap=oi(function(e){return{enterClass:"".concat(e,"-enter"),enterToClass:"".concat(e,"-enter-to"),enterActiveClass:"".concat(e,"-enter-active"),leaveClass:"".concat(e,"-leave"),leaveToClass:"".concat(e,"-leave-to"),leaveActiveClass:"".concat(e,"-leave-active")}}),Mv=Ut&&!Vi,$i="transition",bu="animation",Ns="transition",ho="transitionend",tc="animation",Tv="animationend";Mv&&(window.ontransitionend===void 0&&window.onwebkittransitionend!==void 0&&(Ns="WebkitTransition",ho="webkitTransitionEnd"),window.onanimationend===void 0&&window.onwebkitanimationend!==void 0&&(tc="WebkitAnimation",Tv="webkitAnimationEnd"));var sp=Ut?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:function(e){return e()};function Ov(e){sp(function(){sp(e)})}function Kr(e,t){var n=e._transitionClasses||(e._transitionClasses=[]);n.indexOf(t)<0&&(n.push(t),kv(e,t))}function Un(e,t){e._transitionClasses&&Ar(e._transitionClasses,t),Cv(e,t)}function Av(e,t,n){var r=Dv(e,t),a=r.type,l=r.timeout,c=r.propCount;if(!a)return n();var d=a===$i?ho:Tv,v=0,y=function(){e.removeEventListener(d,_),n()},_=function(k){k.target===e&&++v>=c&&y()};setTimeout(function(){v<c&&y()},l+1),e.addEventListener(d,_)}var rk=/\b(transform|all)(,|$)/;function Dv(e,t){var n=window.getComputedStyle(e),r=(n[Ns+"Delay"]||"").split(", "),a=(n[Ns+"Duration"]||"").split(", "),l=op(r,a),c=(n[tc+"Delay"]||"").split(", "),d=(n[tc+"Duration"]||"").split(", "),v=op(c,d),y,_=0,k=0;t===$i?l>0&&(y=$i,_=l,k=a.length):t===bu?v>0&&(y=bu,_=v,k=d.length):(_=Math.max(l,v),y=_>0?l>v?$i:bu:null,k=y?y===$i?a.length:d.length:0);var $=y===$i&&rk.test(n[Ns+"Property"]);return{type:y,timeout:_,propCount:k,hasTransform:$}}function op(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max.apply(null,t.map(function(n,r){return lp(n)+lp(e[r])}))}function lp(e){return Number(e.slice(0,-1).replace(",","."))*1e3}function nc(e,t){var n=e.elm;F(n._leaveCb)&&(n._leaveCb.cancelled=!0,n._leaveCb());var r=$v(e.data.transition);if(!fe(r)&&!(F(n._enterCb)||n.nodeType!==1)){for(var a=r.css,l=r.type,c=r.enterClass,d=r.enterToClass,v=r.enterActiveClass,y=r.appearClass,_=r.appearToClass,k=r.appearActiveClass,$=r.beforeEnter,M=r.enter,T=r.afterEnter,L=r.enterCancelled,D=r.beforeAppear,N=r.appear,z=r.afterAppear,j=r.appearCancelled,U=r.duration,Q=Zr,ne=Zr.$vnode;ne&&ne.parent;)Q=ne.context,ne=ne.parent;var ce=!Q._isMounted||!e.isRootInsert;if(!(ce&&!N&&N!=="")){var Oe=ce&&y?y:c,it=ce&&k?k:v,ht=ce&&_?_:d,ft=ce&&D||$,R=ce&&Pe(N)?N:M,P=ce&&z||T,W=ce&&j||L,K=$a(gt(U)?U.enter:U),ue=a!==!1&&!Vi,we=oh(R),re=n._enterCb=no(function(){ue&&(Un(n,ht),Un(n,it)),re.cancelled?(ue&&Un(n,Oe),W&&W(n)):P&&P(n),n._enterCb=null});e.data.show||vr(e,"insert",function(){var he=n.parentNode,te=he&&he._pending&&he._pending[e.key];te&&te.tag===e.tag&&te.elm._leaveCb&&te.elm._leaveCb(),R&&R(n,re)}),ft&&ft(n),ue&&(Kr(n,Oe),Kr(n,it),Ov(function(){Un(n,Oe),re.cancelled||(Kr(n,ht),we||(Lv(K)?setTimeout(re,K):Av(n,l,re)))})),e.data.show&&(t&&t(),R&&R(n,re)),!ue&&!we&&re()}}}function Iv(e,t){var n=e.elm;F(n._enterCb)&&(n._enterCb.cancelled=!0,n._enterCb());var r=$v(e.data.transition);if(fe(r)||n.nodeType!==1)return t();if(F(n._leaveCb))return;var a=r.css,l=r.type,c=r.leaveClass,d=r.leaveToClass,v=r.leaveActiveClass,y=r.beforeLeave,_=r.leave,k=r.afterLeave,$=r.leaveCancelled,M=r.delayLeave,T=r.duration,L=a!==!1&&!Vi,D=oh(_),N=$a(gt(T)?T.leave:T),z=n._leaveCb=no(function(){n.parentNode&&n.parentNode._pending&&(n.parentNode._pending[e.key]=null),L&&(Un(n,d),Un(n,v)),z.cancelled?(L&&Un(n,c),$&&$(n)):(t(),k&&k(n)),n._leaveCb=null});M?M(j):j();function j(){z.cancelled||(!e.data.show&&n.parentNode&&((n.parentNode._pending||(n.parentNode._pending={}))[e.key]=e),y&&y(n),L&&(Kr(n,c),Kr(n,v),Ov(function(){Un(n,c),z.cancelled||(Kr(n,d),D||(Lv(N)?setTimeout(z,N):Av(n,l,z)))})),_&&_(n,z),!L&&!D&&z())}}function Lv(e){return typeof e=="number"&&!isNaN(e)}function oh(e){if(fe(e))return!1;var t=e.fns;return F(t)?oh(Array.isArray(t)?t[0]:t):(e._length||e.length)>1}function up(e,t){t.data.show!==!0&&nc(t)}var ik=Ut?{create:up,activate:up,remove:function(e,t){e.data.show!==!0?Iv(e,t):t()}}:{},ak=[HS,WS,qS,XS,nk,ik],sk=ak.concat(zS),ok=PS({nodeOps:DS,modules:sk});Vi&&document.addEventListener("selectionchange",function(){var e=document.activeElement;e&&e.vmodel&&lh(e,"input")});var Ev={inserted:function(e,t,n,r){n.tag==="select"?(r.elm&&!r.elm._vOptions?vr(n,"postpatch",function(){Ev.componentUpdated(e,t,n)}):cp(e,t,n.context),e._vOptions=[].map.call(e.options,fo)):(n.tag==="textarea"||ec(e.type))&&(e._vModifiers=t.modifiers,t.modifiers.lazy||(e.addEventListener("compositionstart",lk),e.addEventListener("compositionend",dp),e.addEventListener("change",dp),Vi&&(e.vmodel=!0)))},componentUpdated:function(e,t,n){if(n.tag==="select"){cp(e,t,n.context);var r=e._vOptions,a=e._vOptions=[].map.call(e.options,fo);if(a.some(function(c,d){return!ti(c,r[d])})){var l=e.multiple?t.value.some(function(c){return fp(c,a)}):t.value!==t.oldValue&&fp(t.value,a);l&&lh(e,"change")}}}};function cp(e,t,n){hp(e,t),(Wi||jm)&&setTimeout(function(){hp(e,t)},0)}function hp(e,t,n){var r=t.value,a=e.multiple;if(!(a&&!Array.isArray(r))){for(var l,c,d=0,v=e.options.length;d<v;d++)if(c=e.options[d],a)l=Hm(r,fo(c))>-1,c.selected!==l&&(c.selected=l);else if(ti(fo(c),r)){e.selectedIndex!==d&&(e.selectedIndex=d);return}a||(e.selectedIndex=-1)}}function fp(e,t){return t.every(function(n){return!ti(n,e)})}function fo(e){return"_value"in e?e._value:e.value}function lk(e){e.target.composing=!0}function dp(e){e.target.composing&&(e.target.composing=!1,lh(e.target,"input"))}function lh(e,t){var n=document.createEvent("HTMLEvents");n.initEvent(t,!0,!0),e.dispatchEvent(n)}function rc(e){return e.componentInstance&&(!e.data||!e.data.transition)?rc(e.componentInstance._vnode):e}var uk={bind:function(e,t,n){var r=t.value;n=rc(n);var a=n.data&&n.data.transition,l=e.__vOriginalDisplay=e.style.display==="none"?"":e.style.display;r&&a?(n.data.show=!0,nc(n,function(){e.style.display=l})):e.style.display=r?l:"none"},update:function(e,t,n){var r=t.value,a=t.oldValue;if(!r!=!a){n=rc(n);var l=n.data&&n.data.transition;l?(n.data.show=!0,r?nc(n,function(){e.style.display=e.__vOriginalDisplay}):Iv(n,function(){e.style.display="none"})):e.style.display=r?e.__vOriginalDisplay:"none"}},unbind:function(e,t,n,r,a){a||(e.style.display=e.__vOriginalDisplay)}},ck={model:Ev,show:uk},Pv={name:String,appear:Boolean,css:Boolean,mode:String,type:String,enterClass:String,leaveClass:String,enterToClass:String,leaveToClass:String,enterActiveClass:String,leaveActiveClass:String,appearClass:String,appearActiveClass:String,appearToClass:String,duration:[Number,String,Object]};function ic(e){var t=e&&e.componentOptions;return t&&t.Ctor.options.abstract?ic(sv(t.children)):e}function Rv(e){var t={},n=e.$options;for(var r in n.propsData)t[r]=e[r];var a=n._parentListeners;for(var r in a)t[ei(r)]=a[r];return t}function pp(e,t){if(/\d-keep-alive$/.test(t.tag))return e("keep-alive",{props:t.componentOptions.propsData})}function hk(e){for(;e=e.parent;)if(e.data.transition)return!0}function fk(e,t){return t.key===e.key&&t.tag===e.tag}var dk=function(e){return e.tag||Oa(e)},pk=function(e){return e.name==="show"},mk={name:"transition",props:Pv,abstract:!0,render:function(e){var t=this,n=this.$slots.default;if(n&&(n=n.filter(dk),!!n.length)){var r=this.mode,a=n[0];if(hk(this.$vnode))return a;var l=ic(a);if(!l)return a;if(this._leaving)return pp(e,a);var c="__transition-".concat(this._uid,"-");l.key=l.key==null?l.isComment?c+"comment":c+l.tag:Ya(l.key)?String(l.key).indexOf(c)===0?l.key:c+l.key:l.key;var d=(l.data||(l.data={})).transition=Rv(this),v=this._vnode,y=ic(v);if(l.data.directives&&l.data.directives.some(pk)&&(l.data.show=!0),y&&y.data&&!fk(l,y)&&!Oa(y)&&!(y.componentInstance&&y.componentInstance._vnode.isComment)){var _=y.data.transition=He({},d);if(r==="out-in")return this._leaving=!0,vr(_,"afterLeave",function(){t._leaving=!1,t.$forceUpdate()}),pp(e,a);if(r==="in-out"){if(Oa(l))return v;var k,$=function(){k()};vr(d,"afterEnter",$),vr(d,"enterCancelled",$),vr(_,"delayLeave",function(M){k=M})}}return a}}},Fv=He({tag:String,moveClass:String},Pv);delete Fv.mode;var vk={props:Fv,beforeMount:function(){var e=this,t=this._update;this._update=function(n,r){var a=hv(e);e.__patch__(e._vnode,e.kept,!1,!0),e._vnode=e.kept,a(),t.call(e,n,r)}},render:function(e){for(var t=this.tag||this.$vnode.data.tag||"span",n=Object.create(null),r=this.prevChildren=this.children,a=this.$slots.default||[],l=this.children=[],c=Rv(this),d=0;d<a.length;d++){var v=a[d];v.tag&&v.key!=null&&String(v.key).indexOf("__vlist")!==0&&(l.push(v),n[v.key]=v,(v.data||(v.data={})).transition=c)}if(r){for(var y=[],_=[],d=0;d<r.length;d++){var v=r[d];v.data.transition=c,v.data.pos=v.elm.getBoundingClientRect(),n[v.key]?y.push(v):_.push(v)}this.kept=e(t,null,y),this.removed=_}return e(t,null,l)},updated:function(){var e=this.prevChildren,t=this.moveClass||(this.name||"v")+"-move";!e.length||!this.hasMove(e[0].elm,t)||(e.forEach(gk),e.forEach(yk),e.forEach(bk),this._reflow=document.body.offsetHeight,e.forEach(function(n){if(n.data.moved){var r=n.elm,a=r.style;Kr(r,t),a.transform=a.WebkitTransform=a.transitionDuration="",r.addEventListener(ho,r._moveCb=function l(c){c&&c.target!==r||(!c||/transform$/.test(c.propertyName))&&(r.removeEventListener(ho,l),r._moveCb=null,Un(r,t))})}}))},methods:{hasMove:function(e,t){if(!Mv)return!1;if(this._hasMove)return this._hasMove;var n=e.cloneNode();e._transitionClasses&&e._transitionClasses.forEach(function(a){Cv(n,a)}),kv(n,t),n.style.display="none",this.$el.appendChild(n);var r=Dv(n);return this.$el.removeChild(n),this._hasMove=r.hasTransform}}};function gk(e){e.elm._moveCb&&e.elm._moveCb(),e.elm._enterCb&&e.elm._enterCb()}function yk(e){e.data.newPos=e.elm.getBoundingClientRect()}function bk(e){var t=e.data.pos,n=e.data.newPos,r=t.left-n.left,a=t.top-n.top;if(r||a){e.data.moved=!0;var l=e.elm.style;l.transform=l.WebkitTransform="translate(".concat(r,"px,").concat(a,"px)"),l.transitionDuration="0s"}}var _k={Transition:mk,TransitionGroup:vk};ee.config.mustUseProp=sS;ee.config.isReservedTag=_v;ee.config.isReservedAttr=iS;ee.config.getTagNamespace=vS;ee.config.isUnknownElement=gS;He(ee.options.directives,ck);He(ee.options.components,_k);ee.prototype.__patch__=Ut?ok:Ge;ee.prototype.$mount=function(e,t){return e=e&&Ut?yS(e):void 0,fw(this,e,t)};Ut&&setTimeout(function(){Jt.devtools&&ro&&ro.emit("init",ee)},0);const ac=ee.extend().extend({name:"themeable",provide(){return{theme:this.themeableProvide}},inject:{theme:{default:{isDark:!1}}},props:{dark:{type:Boolean,default:null},light:{type:Boolean,default:null}},data(){return{themeableProvide:{isDark:!1}}},computed:{appIsDark(){return this.$vuetify.theme.dark||!1},isDark(){return this.dark===!0?!0:this.light===!0?!1:this.theme.isDark},themeClasses(){return{"theme--dark":this.isDark,"theme--light":!this.isDark}},rootIsDark(){return this.dark===!0?!0:this.light===!0?!1:this.appIsDark},rootThemeClasses(){return{"theme--dark":this.rootIsDark,"theme--light":!this.rootIsDark}}},watch:{isDark:{handler(e,t){e!==t&&(this.themeableProvide.isDark=this.isDark)},immediate:!0}}}),Ke=ac;function Nv(e){const t={...e.props,...e.injections},n=ac.options.computed.isDark.call(t);return ac.options.computed.themeClasses.call({isDark:n})}function Me(...e){return ee.extend({mixins:e})}function nr(e,t="div",n){return ee.extend({name:n||e.replace(/__/g,"-"),functional:!0,props:{tag:{type:String,default:t}},render(r,{data:a,props:l,children:c}){return a.staticClass=`${e} ${a.staticClass||""}`.trim(),r(l.tag,a,c)}})}function xk(e,t,n,r=!1){const a=l=>{n(l),e.removeEventListener(t,a,r)};e.addEventListener(t,a,r)}let Bv=!1;try{if(typeof window<"u"){const e=Object.defineProperty({},"passive",{get:()=>{Bv=!0}});window.addEventListener("testListener",e,e),window.removeEventListener("testListener",e,e)}}catch(e){console.warn(e)}function wk(e,t,n,r){e.addEventListener(t,n,Bv?r:!1)}function uh(e,t,n){const r=t.length-1;if(r<0)return e===void 0?n:e;for(let a=0;a<r;a++){if(e==null)return n;e=e[t[a]]}return e==null||e[t[r]]===void 0?n:e[t[r]]}function ch(e,t){if(e===t)return!0;if(e instanceof Date&&t instanceof Date&&e.getTime()!==t.getTime()||e!==Object(e)||t!==Object(t))return!1;const n=Object.keys(e);return n.length!==Object.keys(t).length?!1:n.every(r=>ch(e[r],t[r]))}function Vt(e,t,n){return e==null||!t||typeof t!="string"?n:e[t]!==void 0?e[t]:(t=t.replace(/\[(\w+)\]/g,".$1"),t=t.replace(/^\./,""),uh(e,t.split("."),n))}function Xr(e,t,n){if(t==null)return e===void 0?n:e;if(e!==Object(e))return n===void 0?e:n;if(typeof t=="string")return Vt(e,t,n);if(Array.isArray(t))return uh(e,t,n);if(typeof t!="function")return n;const r=t(e,n);return typeof r>"u"?n:r}function S5(e){return Array.from({length:e},(t,n)=>n)}function wa(e){if(!e||e.nodeType!==Node.ELEMENT_NODE)return 0;const t=+window.getComputedStyle(e).getPropertyValue("z-index");return t||wa(e.parentNode)}function Sk(e,t){const n={};for(let r=0;r<t.length;r++){const a=t[r];typeof e[a]<"u"&&(n[a]=e[a])}return n}function de(e,t="px"){if(!(e==null||e===""))return isNaN(+e)?String(e):`${Number(e)}${t}`}function sc(e){return(e||"").replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function mp(e){return e!==null&&typeof e=="object"}const me=Object.freeze({enter:13,tab:9,delete:46,esc:27,space:32,up:38,down:40,left:37,right:39,end:35,home:36,del:46,backspace:8,insert:45,pageup:33,pagedown:34,shift:16});function kk(e,t){const n=e.$vuetify.icons.component;if(t.startsWith("$")){const r=`$vuetify.icons.values.${t.split("$").pop().split(".").pop()}`,a=Vt(e,r,t);if(typeof a=="string")t=a;else return a}return n==null?t:{component:n,props:{icon:t}}}function zv(e){return Object.keys(e)}const Ck=/-(\w)/g,Hv=e=>e.replace(Ck,(t,n)=>n?n.toUpperCase():"");function Uo(e){return e.charAt(0).toUpperCase()+e.slice(1)}function k5(e,t,n){const r=t[0],a=[];let l;for(let c=0;c<e.length;c++){const d=e[c],v=Vt(d,r,null);l!==v&&(l=v,a.push({name:v??"",items:[]})),a[a.length-1].items.push(d)}return a}function hh(e){return e!=null?Array.isArray(e)?e:[e]:[]}function C5(e,t,n,r,a){if(t===null||!t.length)return e;const l=new Intl.Collator(r,{sensitivity:"accent",usage:"sort"});return e.sort((c,d)=>{for(let v=0;v<t.length;v++){const y=t[v];let _=Vt(c,y),k=Vt(d,y);if(n[v]&&([_,k]=[k,_]),a&&a[y]){const $=a[y](_,k);if(!$)continue;return $}if(!(_===null&&k===null)){if(_ instanceof Date&&k instanceof Date)return _.getTime()-k.getTime();if([_,k]=[_,k].map($=>($||"").toString().toLocaleLowerCase()),_!==k)return!isNaN(_)&&!isNaN(k)?Number(_)-Number(k):l.compare(_,k)}}return 0})}function $k(e,t,n){return e!=null&&t!=null&&typeof e!="boolean"&&e.toString().toLocaleLowerCase().indexOf(t.toLocaleLowerCase())!==-1}function $5(e,t){return!t||(t=t.toString().toLowerCase(),t.trim()==="")?e:e.filter(n=>Object.keys(n).some(r=>$k(Vt(n,r),t)))}function Mk(e,t,n){if(e.$slots.hasOwnProperty(t)&&e.$scopedSlots.hasOwnProperty(t)&&e.$scopedSlots[t].name)return n?"v-slot":"scoped";if(e.$slots.hasOwnProperty(t))return"normal";if(e.$scopedSlots.hasOwnProperty(t))return"scoped"}function M5(e,t){let n=!1;return(...r)=>{if(!n)return n=!0,setTimeout(()=>n=!1,t),e(...r)}}function T5(e,t){return Object.keys(t).filter(n=>n.startsWith(e)).reduce((n,r)=>(n[r.replace(e,"")]=t[r],n),{})}function Ae(e,t="default",n,r=!1){const a=sc(t);if(e.$scopedSlots.hasOwnProperty(t))return e.$scopedSlots[t](n instanceof Function?n():n);if(e.$scopedSlots.hasOwnProperty(a))return e.$scopedSlots[a](n instanceof Function?n():n);if(e.$slots.hasOwnProperty(t)&&(!n||r))return e.$slots[t];if(e.$slots.hasOwnProperty(a)&&(!n||r))return e.$slots[a]}function Tk(e,t=0,n=1){return Math.max(t,Math.min(n,e))}function O5(e){return e?Object.keys(e).reduce((t,n)=>(t[Hv(n)]=e[n],t),{}):{}}function Sa(e={},t={}){for(const n in t){const r=e[n],a=t[n];if(mp(r)&&mp(a)){e[n]=Sa(r,a);continue}e[n]=a}return e}function A5(e,t){return Array(e).fill(t)}function Ok(e){if(e.composedPath)return e.composedPath();const t=[];let n=e.target;for(;n;){if(t.push(n),n.tagName==="HTML")return t.push(document),t.push(window),t;n=n.parentElement}return t}const Ak=Me(Ke).extend({name:"v-app",props:{dark:{type:Boolean,default:void 0},id:{type:String,default:"app"},light:{type:Boolean,default:void 0}},computed:{isDark(){return this.$vuetify.theme.dark}},beforeCreate(){if(!this.$vuetify||this.$vuetify===this.$root)throw new Error("Vuetify is not properly initialized, see https://v2.vuetifyjs.com/getting-started/quick-start#bootstrapping-the-vuetify-object")},render(e){const t=e("div",{staticClass:"v-application--wrap"},Ae(this));return e("div",{staticClass:"v-application",class:{"v-application--is-rtl":this.$vuetify.rtl,"v-application--is-ltr":!this.$vuetify.rtl,...this.themeClasses},attrs:{"data-app":!0},domProps:{id:this.id}},[t])}});function vp(e){return function(t,n){for(const r in n)Object.prototype.hasOwnProperty.call(t,r)||this.$delete(this.$data[e],r);for(const r in t)this.$set(this.$data[e],r,t[r])}}const fh=ee.extend({data:()=>({attrs$:{},listeners$:{}}),created(){this.$watch("$attrs",vp("attrs$"),{immediate:!0}),this.$watch("$listeners",vp("listeners$"),{immediate:!0})}});function oc(e,t={}){if(oc.installed)return;oc.installed=!0,ee!==e&&Mn(`Multiple instances of Vue detected
See https://github.com/vuetifyjs/vuetify/issues/4068

If you're seeing "$attrs is readonly", it's caused by this`);const n=t.components||{},r=t.directives||{};for(const a in r){const l=r[a];e.directive(a,l)}(function a(l){if(l){for(const c in l){const d=l[c];d&&!a(d.$_vuetify_subcomponents)&&e.component(c,d)}return!0}return!1})(n),!e.$_vuetify_installed&&(e.$_vuetify_installed=!0,e.mixin({beforeCreate(){const a=this.$options;a.vuetify?(a.vuetify.init(this,this.$ssrContext),this.$vuetify=e.observable(a.vuetify.framework)):this.$vuetify=a.parent&&a.parent.$vuetify||this},beforeMount(){this.$options.vuetify&&this.$el&&this.$el.hasAttribute("data-server-rendered")&&(this.$vuetify.isHydrating=!0,this.$vuetify.breakpoint.update(!0))},mounted(){this.$options.vuetify&&this.$vuetify.isHydrating&&(this.$vuetify.isHydrating=!1,this.$vuetify.breakpoint.update())}}))}class li{constructor(){this.framework={}}init(t,n){}}class Wv extends li{constructor(){super(...arguments),this.bar=0,this.top=0,this.left=0,this.insetFooter=0,this.right=0,this.bottom=0,this.footer=0,this.application={bar:{},top:{},left:{},insetFooter:{},right:{},bottom:{},footer:{}}}register(t,n,r){this.application[n][t]=r,this.update(n)}unregister(t,n){this.application[n][t]!=null&&(delete this.application[n][t],this.update(n))}update(t){this[t]=Object.values(this.application[t]).reduce((n,r)=>n+r,0)}}Wv.property="application";class Yo extends li{constructor(t){super(),this.xs=!1,this.sm=!1,this.md=!1,this.lg=!1,this.xl=!1,this.xsOnly=!1,this.smOnly=!1,this.smAndDown=!1,this.smAndUp=!1,this.mdOnly=!1,this.mdAndDown=!1,this.mdAndUp=!1,this.lgOnly=!1,this.lgAndDown=!1,this.lgAndUp=!1,this.xlOnly=!1,this.name="xs",this.height=0,this.width=0,this.mobile=!0,this.resizeTimeout=0;const{mobileBreakpoint:n,scrollBarWidth:r,thresholds:a}=t[Yo.property];this.mobileBreakpoint=n,this.scrollBarWidth=r,this.thresholds=a}init(){this.update(),!(typeof window>"u")&&window.addEventListener("resize",this.onResize.bind(this),{passive:!0})}update(t=!1){const n=t?0:this.getClientHeight(),r=t?0:this.getClientWidth(),a=r<this.thresholds.xs,l=r<this.thresholds.sm&&!a,c=r<this.thresholds.md-this.scrollBarWidth&&!(l||a),d=r<this.thresholds.lg-this.scrollBarWidth&&!(c||l||a),v=r>=this.thresholds.lg-this.scrollBarWidth;switch(this.height=n,this.width=r,this.xs=a,this.sm=l,this.md=c,this.lg=d,this.xl=v,this.xsOnly=a,this.smOnly=l,this.smAndDown=(a||l)&&!(c||d||v),this.smAndUp=!a&&(l||c||d||v),this.mdOnly=c,this.mdAndDown=(a||l||c)&&!(d||v),this.mdAndUp=!(a||l)&&(c||d||v),this.lgOnly=d,this.lgAndDown=(a||l||c||d)&&!v,this.lgAndUp=!(a||l||c)&&(d||v),this.xlOnly=v,!0){case a:this.name="xs";break;case l:this.name="sm";break;case c:this.name="md";break;case d:this.name="lg";break;default:this.name="xl";break}if(typeof this.mobileBreakpoint=="number"){this.mobile=r<parseInt(this.mobileBreakpoint,10);return}const y={xs:0,sm:1,md:2,lg:3,xl:4},_=y[this.name],k=y[this.mobileBreakpoint];this.mobile=_<=k}onResize(){clearTimeout(this.resizeTimeout),this.resizeTimeout=window.setTimeout(this.update.bind(this),200)}getClientWidth(){return typeof document>"u"?0:Math.max(document.documentElement.clientWidth,window.innerWidth||0)}getClientHeight(){return typeof document>"u"?0:Math.max(document.documentElement.clientHeight,window.innerHeight||0)}}Yo.property="breakpoint";const Dk=e=>e,Ik=e=>e**2,Lk=e=>e*(2-e),Ek=e=>e<.5?2*e**2:-1+(4-2*e)*e,Pk=e=>e**3,Rk=e=>--e**3+1,Vv=e=>e<.5?4*e**3:(e-1)*(2*e-2)*(2*e-2)+1,Fk=e=>e**4,Nk=e=>1- --e**4,Bk=e=>e<.5?8*e*e*e*e:1-8*--e*e*e*e,zk=e=>e**5,Hk=e=>1+--e**5,Wk=e=>e<.5?16*e**5:1+16*--e**5,Vk=Object.freeze(Object.defineProperty({__proto__:null,easeInCubic:Pk,easeInOutCubic:Vv,easeInOutQuad:Ek,easeInOutQuart:Bk,easeInOutQuint:Wk,easeInQuad:Ik,easeInQuart:Fk,easeInQuint:zk,easeOutCubic:Rk,easeOutQuad:Lk,easeOutQuart:Nk,easeOutQuint:Hk,linear:Dk},Symbol.toStringTag,{value:"Module"}));function _u(e){if(typeof e=="number")return e;let t=Uv(e);if(!t)throw typeof e=="string"?new Error(`Target element "${e}" not found.`):new TypeError(`Target must be a Number/Selector/HTMLElement/VueComponent, received ${jv(e)} instead.`);let n=0;for(;t;)n+=t.offsetTop,t=t.offsetParent;return n}function jk(e){const t=Uv(e);if(t)return t;throw typeof e=="string"?new Error(`Container element "${e}" not found.`):new TypeError(`Container must be a Selector/HTMLElement/VueComponent, received ${jv(e)} instead.`)}function jv(e){return e==null?e:e.constructor.name}function Uv(e){return typeof e=="string"?document.querySelector(e):e&&e._isVue?e.$el:e instanceof HTMLElement?e:null}function ii(e,t={}){const n={container:document.scrollingElement||document.body||document.documentElement,duration:500,offset:0,easing:"easeInOutCubic",appOffset:!0,...t},r=jk(n.container);if(n.appOffset&&ii.framework.application){const v=r.classList.contains("v-navigation-drawer"),y=r.classList.contains("v-navigation-drawer--clipped"),{bar:_,top:k}=ii.framework.application;n.offset+=_,(!v||y)&&(n.offset+=k)}const a=performance.now();let l;typeof e=="number"?l=_u(e)-n.offset:l=_u(e)-_u(r)-n.offset;const c=r.scrollTop;if(l===c)return Promise.resolve(l);const d=typeof n.easing=="function"?n.easing:Vk[n.easing];if(!d)throw new TypeError(`Easing function "${n.easing}" not found.`);return new Promise(v=>requestAnimationFrame(function y(_){const k=_-a,$=Math.abs(n.duration?Math.min(k/n.duration,1):1);r.scrollTop=Math.floor(c+(l-c)*d($));const T=(r===document.body?document.documentElement.clientHeight:r.clientHeight)+r.scrollTop>=r.scrollHeight;if($===1||l>r.scrollTop&&T)return v(l);requestAnimationFrame(y)}))}ii.framework={};ii.init=()=>{};class Yv extends li{constructor(){return super(),ii}}Yv.property="goTo";const Uk={complete:"M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z",cancel:"M12,2C17.53,2 22,6.47 22,12C22,17.53 17.53,22 12,22C6.47,22 2,17.53 2,12C2,6.47 6.47,2 12,2M15.59,7L12,10.59L8.41,7L7,8.41L10.59,12L7,15.59L8.41,17L12,13.41L15.59,17L17,15.59L13.41,12L17,8.41L15.59,7Z",close:"M19,6.41L17.59,5L12,10.59L6.41,5L5,6.41L10.59,12L5,17.59L6.41,19L12,13.41L17.59,19L19,17.59L13.41,12L19,6.41Z",delete:"M12,2C17.53,2 22,6.47 22,12C22,17.53 17.53,22 12,22C6.47,22 2,17.53 2,12C2,6.47 6.47,2 12,2M15.59,7L12,10.59L8.41,7L7,8.41L10.59,12L7,15.59L8.41,17L12,13.41L15.59,17L17,15.59L13.41,12L17,8.41L15.59,7Z",clear:"M12,2C17.53,2 22,6.47 22,12C22,17.53 17.53,22 12,22C6.47,22 2,17.53 2,12C2,6.47 6.47,2 12,2M15.59,7L12,10.59L8.41,7L7,8.41L10.59,12L7,15.59L8.41,17L12,13.41L15.59,17L17,15.59L13.41,12L17,8.41L15.59,7Z",success:"M12 2C6.5 2 2 6.5 2 12S6.5 22 12 22 22 17.5 22 12 17.5 2 12 2M10 17L5 12L6.41 10.59L10 14.17L17.59 6.58L19 8L10 17Z",info:"M13,9H11V7H13M13,17H11V11H13M12,2C6.48,2 2,6.48 2,12C2,17.52 6.48,22 12,22C17.52,22 22,17.52 22,12C22,6.48 17.52,2 12,2ZM13,9H11V7H13M13,17H11V11H13M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2Z",warning:"M13,13H11V7H13M13,17H11V15H13M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2Z",error:"M12,2C17.53,2 22,6.47 22,12C22,17.53 17.53,22 12,22C6.47,22 2,17.53 2,12C2,6.47 6.47,2 12,2M15.59,7L12,10.59L8.41,7L7,8.41L10.59,12L7,15.59L8.41,17L12,13.41L15.59,17L17,15.59L13.41,12L17,8.41L15.59,7Z",prev:"M15.41,16.58L10.83,12L15.41,7.41L14,6L8,12L14,18L15.41,16.58Z",next:"M8.59,16.58L13.17,12L8.59,7.41L10,6L16,12L10,18L8.59,16.58Z",checkboxOn:"M10,17L5,12L6.41,10.58L10,14.17L17.59,6.58L19,8M19,3H5C3.89,3 3,3.89 3,5V19C3,20.1 3.9,21 5,21H19C20.1,21 21,20.1 21,19V5C21,3.89 20.1,3 19,3Z",checkboxOff:"M19,3H5C3.89,3 3,3.89 3,5V19C3,20.1 3.9,21 5,21H19C20.1,21 21,20.1 21,19V5C21,3.89 20.1,3 19,3M19,5V19H5V5H19Z",checkboxIndeterminate:"M17,13H7V11H17M19,3H5C3.89,3 3,3.89 3,5V19C3,20.1 3.9,21 5,21H19C20.1,21 21,20.1 21,19V5C21,3.89 20.1,3 19,3Z",delimiter:"M12,2C6.48,2 2,6.48 2,12C2,17.52 6.48,22 12,22C17.52,22 22,17.52 22,12C22,6.48 17.52,2 12,2Z",sort:"M13,20H11V8L5.5,13.5L4.08,12.08L12,4.16L19.92,12.08L18.5,13.5L13,8V20Z",expand:"M7.41,8.58L12,13.17L16.59,8.58L18,10L12,16L6,10L7.41,8.58Z",menu:"M3,6H21V8H3V6M3,11H21V13H3V11M3,16H21V18H3V16Z",subgroup:"M7,10L12,15L17,10H7Z",dropdown:"M7,10L12,15L17,10H7Z",radioOn:"M12,20C7.58,20 4,16.42 4,12C4,7.58 7.58,4 12,4C16.42,4 20,7.58 20,12C20,16.42 16.42,20 12,20M12,2C6.48,2 2,6.48 2,12C2,17.52 6.48,22 12,22C17.52,22 22,17.52 22,12C22,6.48 17.52,2 12,2M12,7C9.24,7 7,9.24 7,12C7,14.76 9.24,17 12,17C14.76,17 17,14.76 17,12C17,9.24 14.76,7 12,7Z",radioOff:"M12,20C7.58,20 4,16.42 4,12C4,7.58 7.58,4 12,4C16.42,4 20,7.58 20,12C20,16.42 16.42,20 12,20M12,2C6.48,2 2,6.48 2,12C2,17.52 6.48,22 12,22C17.52,22 22,17.52 22,12C22,6.48 17.52,2 12,2Z",edit:"M20.71,7.04C21.1,6.65 21.1,6 20.71,5.63L18.37,3.29C18,2.9 17.35,2.9 16.96,3.29L15.12,5.12L18.87,8.87M3,17.25V21H6.75L17.81,9.93L14.06,6.18L3,17.25Z",ratingEmpty:"M12,15.39L8.24,17.66L9.23,13.38L5.91,10.5L10.29,10.13L12,6.09L13.71,10.13L18.09,10.5L14.77,13.38L15.76,17.66M22,9.24L14.81,8.63L12,2L9.19,8.63L2,9.24L7.45,13.97L5.82,21L12,17.27L18.18,21L16.54,13.97L22,9.24Z",ratingFull:"M12,17.27L18.18,21L16.54,13.97L22,9.24L14.81,8.62L12,2L9.19,8.62L2,9.24L7.45,13.97L5.82,21L12,17.27Z",ratingHalf:"M12,15.4V6.1L13.71,10.13L18.09,10.5L14.77,13.39L15.76,17.67M22,9.24L14.81,8.63L12,2L9.19,8.63L2,9.24L7.45,13.97L5.82,21L12,17.27L18.18,21L16.54,13.97L22,9.24Z",loading:"M19,8L15,12H18C18,15.31 15.31,18 12,18C11,18 10.03,17.75 9.2,17.3L7.74,18.76C8.97,19.54 10.43,20 12,20C16.42,20 20,16.42 20,12H23M6,12C6,8.69 8.69,6 12,6C13,6 13.97,6.25 14.8,6.7L16.26,5.24C15.03,4.46 13.57,4 12,4C7.58,4 4,7.58 4,12H1L5,16L9,12",first:"M18.41,16.59L13.82,12L18.41,7.41L17,6L11,12L17,18L18.41,16.59M6,6H8V18H6V6Z",last:"M5.59,7.41L10.18,12L5.59,16.59L7,18L13,12L7,6L5.59,7.41M16,6H18V18H16V6Z",unfold:"M12,18.17L8.83,15L7.42,16.41L12,21L16.59,16.41L15.17,15M12,5.83L15.17,9L16.58,7.59L12,3L7.41,7.59L8.83,9L12,5.83Z",file:"M16.5,6V17.5C16.5,19.71 14.71,21.5 12.5,21.5C10.29,21.5 8.5,19.71 8.5,17.5V5C8.5,3.62 9.62,2.5 11,2.5C12.38,2.5 13.5,3.62 13.5,5V15.5C13.5,16.05 13.05,16.5 12.5,16.5C11.95,16.5 11.5,16.05 11.5,15.5V6H10V15.5C10,16.88 11.12,18 12.5,18C13.88,18 15,16.88 15,15.5V5C15,2.79 13.21,1 11,1C8.79,1 7,2.79 7,5V17.5C7,20.54 9.46,23 12.5,23C15.54,23 18,20.54 18,17.5V6H16.5Z",plus:"M19,13H13V19H11V13H5V11H11V5H13V11H19V13Z",minus:"M19,13H5V11H19V13Z"},Yk=Uk,qk={complete:"check",cancel:"cancel",close:"close",delete:"cancel",clear:"clear",success:"check_circle",info:"info",warning:"priority_high",error:"warning",prev:"chevron_left",next:"chevron_right",checkboxOn:"check_box",checkboxOff:"check_box_outline_blank",checkboxIndeterminate:"indeterminate_check_box",delimiter:"fiber_manual_record",sort:"arrow_upward",expand:"keyboard_arrow_down",menu:"menu",subgroup:"arrow_drop_down",dropdown:"arrow_drop_down",radioOn:"radio_button_checked",radioOff:"radio_button_unchecked",edit:"edit",ratingEmpty:"star_border",ratingFull:"star",ratingHalf:"star_half",loading:"cached",first:"first_page",last:"last_page",unfold:"unfold_more",file:"attach_file",plus:"add",minus:"remove"},Gk=qk,Zk={complete:"mdi-check",cancel:"mdi-close-circle",close:"mdi-close",delete:"mdi-close-circle",clear:"mdi-close",success:"mdi-check-circle",info:"mdi-information",warning:"mdi-exclamation",error:"mdi-alert",prev:"mdi-chevron-left",next:"mdi-chevron-right",checkboxOn:"mdi-checkbox-marked",checkboxOff:"mdi-checkbox-blank-outline",checkboxIndeterminate:"mdi-minus-box",delimiter:"mdi-circle",sort:"mdi-arrow-up",expand:"mdi-chevron-down",menu:"mdi-menu",subgroup:"mdi-menu-down",dropdown:"mdi-menu-down",radioOn:"mdi-radiobox-marked",radioOff:"mdi-radiobox-blank",edit:"mdi-pencil",ratingEmpty:"mdi-star-outline",ratingFull:"mdi-star",ratingHalf:"mdi-star-half-full",loading:"mdi-cached",first:"mdi-page-first",last:"mdi-page-last",unfold:"mdi-unfold-more-horizontal",file:"mdi-paperclip",plus:"mdi-plus",minus:"mdi-minus"},Kk=Zk,Xk={complete:"fas fa-check",cancel:"fas fa-times-circle",close:"fas fa-times",delete:"fas fa-times-circle",clear:"fas fa-times-circle",success:"fas fa-check-circle",info:"fas fa-info-circle",warning:"fas fa-exclamation-circle",error:"fas fa-exclamation-triangle",prev:"fas fa-chevron-left",next:"fas fa-chevron-right",checkboxOn:"fas fa-check-square",checkboxOff:"far fa-square",checkboxIndeterminate:"fas fa-minus-square",delimiter:"fas fa-circle",sort:"fas fa-sort-up",expand:"fas fa-chevron-down",menu:"fas fa-bars",subgroup:"fas fa-caret-down",dropdown:"fas fa-caret-down",radioOn:"far fa-dot-circle",radioOff:"far fa-circle",edit:"fas fa-edit",ratingEmpty:"far fa-star",ratingFull:"fas fa-star",ratingHalf:"fas fa-star-half",loading:"fas fa-sync",first:"fas fa-step-backward",last:"fas fa-step-forward",unfold:"fas fa-arrows-alt-v",file:"fas fa-paperclip",plus:"fas fa-plus",minus:"fas fa-minus"},qv=Xk,Jk={complete:"fa fa-check",cancel:"fa fa-times-circle",close:"fa fa-times",delete:"fa fa-times-circle",clear:"fa fa-times-circle",success:"fa fa-check-circle",info:"fa fa-info-circle",warning:"fa fa-exclamation",error:"fa fa-exclamation-triangle",prev:"fa fa-chevron-left",next:"fa fa-chevron-right",checkboxOn:"fa fa-check-square",checkboxOff:"fa fa-square-o",checkboxIndeterminate:"fa fa-minus-square",delimiter:"fa fa-circle",sort:"fa fa-sort-up",expand:"fa fa-chevron-down",menu:"fa fa-bars",subgroup:"fa fa-caret-down",dropdown:"fa fa-caret-down",radioOn:"fa fa-dot-circle-o",radioOff:"fa fa-circle-o",edit:"fa fa-pencil",ratingEmpty:"fa fa-star-o",ratingFull:"fa fa-star",ratingHalf:"fa fa-star-half-o",loading:"fa fa-refresh",first:"fa fa-step-backward",last:"fa fa-step-forward",unfold:"fa fa-angle-double-down",file:"fa fa-paperclip",plus:"fa fa-plus",minus:"fa fa-minus"},Qk=Jk;function e2(e,t){const n={};for(const r in t)n[r]={component:e,props:{icon:t[r].split(" fa-")}};return n}const t2=e2("font-awesome-icon",qv),n2=Object.freeze({mdiSvg:Yk,md:Gk,mdi:Kk,fa:qv,fa4:Qk,faSvg:t2});class qo extends li{constructor(t){super();const{iconfont:n,values:r,component:a}=t[qo.property];this.component=a,this.iconfont=n,this.values=Sa(n2[n],r)}}qo.property="icons";const Gv="$vuetify.",gp=Symbol("Lang fallback");function Zv(e,t,n=!1,r){const a=t.replace(Gv,"");let l=Vt(e,a,gp);return l===gp&&(n?(Mn(`Translation key "${a}" not found in fallback`),l=t):(Et(`Translation key "${a}" not found, falling back to default`),l=Zv(r,t,!0,r))),l}class Go extends li{constructor(t){super(),this.defaultLocale="en";const{current:n,locales:r,t:a}=t[Go.property];this.current=n,this.locales=r,this.translator=a||this.defaultTranslator}currentLocale(t){const n=this.locales[this.current],r=this.locales[this.defaultLocale];return Zv(n,t,!1,r)}t(t,...n){return t.startsWith(Gv)?this.translator(t,...n):this.replace(t,n)}defaultTranslator(t,...n){return this.replace(this.currentLocale(t),n)}replace(t,n){return t.replace(/\{(\d+)\}/g,(r,a)=>String(n[+a]))}}Go.property="lang";const r2={badge:"Badge",close:"Close",dataIterator:{noResultsText:"No matching records found",loadingText:"Loading items..."},dataTable:{itemsPerPageText:"Rows per page:",ariaLabel:{sortDescending:"Sorted descending.",sortAscending:"Sorted ascending.",sortNone:"Not sorted.",activateNone:"Activate to remove sorting.",activateDescending:"Activate to sort descending.",activateAscending:"Activate to sort ascending."},sortBy:"Sort by"},dataFooter:{itemsPerPageText:"Items per page:",itemsPerPageAll:"All",nextPage:"Next page",prevPage:"Previous page",firstPage:"First page",lastPage:"Last page",pageText:"{0}-{1} of {2}"},datePicker:{itemsSelected:"{0} selected",nextMonthAriaLabel:"Next month",nextYearAriaLabel:"Next year",prevMonthAriaLabel:"Previous month",prevYearAriaLabel:"Previous year"},noDataText:"No data available",carousel:{prev:"Previous visual",next:"Next visual",ariaLabel:{delimiter:"Carousel slide {0} of {1}"}},calendar:{moreEvents:"{0} more"},input:{clear:"Clear {0}",prependAction:"{0} prepended action",appendAction:"{0} appended action"},fileInput:{counter:"{0} files",counterSize:"{0} files ({1} in total)"},timePicker:{am:"AM",pm:"PM"},pagination:{ariaLabel:{wrapper:"Pagination Navigation",next:"Next page",previous:"Previous page",page:"Goto Page {0}",currentPage:"Current Page, Page {0}"}},rating:{ariaLabel:{icon:"Rating {0} of {1}"}},loading:"Loading..."},i2={breakpoint:{mobileBreakpoint:1264,scrollBarWidth:16,thresholds:{xs:600,sm:960,md:1280,lg:1920}},icons:{iconfont:"mdi",values:{}},lang:{current:"en",locales:{en:r2},t:void 0},rtl:!1,theme:{dark:!1,default:"light",disable:!1,options:{cspNonce:void 0,customProperties:void 0,minifyTheme:void 0,themeCache:void 0,variations:!0},themes:{light:{primary:"#1976D2",secondary:"#424242",accent:"#82B1FF",error:"#FF5252",info:"#2196F3",success:"#4CAF50",warning:"#FB8C00"},dark:{primary:"#2196F3",secondary:"#424242",accent:"#FF4081",error:"#FF5252",info:"#2196F3",success:"#4CAF50",warning:"#FB8C00"}}}};class Kv extends li{constructor(t,n){super();const r=Sa({},i2),{userPreset:a}=n,{preset:l={},...c}=a;l.preset!=null&&Et("Global presets do not support the **preset** option, it can be safely omitted"),n.preset=Sa(Sa(r,l),c)}}Kv.property="presets";const a2=[[3.2406,-1.5372,-.4986],[-.9689,1.8758,.0415],[.0557,-.204,1.057]],s2=e=>e<=.0031308?e*12.92:1.055*e**(1/2.4)-.055,o2=[[.4124,.3576,.1805],[.2126,.7152,.0722],[.0193,.1192,.9505]],l2=e=>e<=.04045?e/12.92:((e+.055)/1.055)**2.4;function Xv(e){const t=Array(3),n=s2,r=a2;for(let a=0;a<3;++a)t[a]=Math.round(Tk(n(r[a][0]*e[0]+r[a][1]*e[1]+r[a][2]*e[2]))*255);return(t[0]<<16)+(t[1]<<8)+(t[2]<<0)}function Jv(e){const t=[0,0,0],n=l2,r=o2,a=n((e>>16&255)/255),l=n((e>>8&255)/255),c=n((e>>0&255)/255);for(let d=0;d<3;++d)t[d]=r[d][0]*a+r[d][1]*l+r[d][2]*c;return t}function yp(e){return!!e&&!!e.match(/^(#|var\(--|(rgb|hsl)a?\()/)}function lc(e){let t;if(typeof e=="number")t=e;else if(typeof e=="string"){let n=e[0]==="#"?e.substring(1):e;n.length===3&&(n=n.split("").map(r=>r+r).join("")),n.length!==6&&Et(`'${e}' is not a valid rgb color`),t=parseInt(n,16)}else throw new TypeError(`Colors can only be numbers or strings, recieved ${e==null?e:e.constructor.name} instead`);return t<0?(Et(`Colors cannot be negative: '${e}'`),t=0):(t>16777215||isNaN(t))&&(Et(`'${e}' is not a valid rgb color`),t=16777215),t}function ka(e){let t=e.toString(16);return t.length<6&&(t="0".repeat(6-t.length)+t),"#"+t}function u2(e){return ka(lc(e))}const po=.20689655172413793,c2=e=>e>po**3?Math.cbrt(e):e/(3*po**2)+4/29,h2=e=>e>po?e**3:3*po**2*(e-4/29);function Qv(e){const t=c2,n=t(e[1]);return[116*n-16,500*(t(e[0]/.95047)-n),200*(n-t(e[2]/1.08883))]}function eg(e){const t=h2,n=(e[0]+16)/116;return[t(n+e[1]/500)*.95047,t(n),t(n-e[2]/200)*1.08883]}function tg(e,t=!1,n=!0){const{anchor:r,...a}=e,l=Object.keys(a),c={};for(let d=0;d<l.length;++d){const v=l[d],y=e[v];y!=null&&(n?t?(v==="base"||v.startsWith("lighten")||v.startsWith("darken"))&&(c[v]=u2(y)):typeof y=="object"?c[v]=tg(y,!0,n):c[v]=m2(v,lc(y)):c[v]={base:ka(lc(y))})}return t||(c.anchor=r||c.base||c.primary.base),c}const f2=(e,t)=>`
.v-application .${e} {
  background-color: ${t} !important;
  border-color: ${t} !important;
}
.v-application .${e}--text {
  color: ${t} !important;
  caret-color: ${t} !important;
}`,d2=(e,t,n)=>{const[r,a]=t.split(/(\d)/,2);return`
.v-application .${e}.${r}-${a} {
  background-color: ${n} !important;
  border-color: ${n} !important;
}
.v-application .${e}--text.text--${r}-${a} {
  color: ${n} !important;
  caret-color: ${n} !important;
}`},Bs=(e,t="base")=>`--v-${e}-${t}`,xu=(e,t="base")=>`var(${Bs(e,t)})`;function p2(e,t=!1){const{anchor:n,...r}=e,a=Object.keys(r);if(!a.length)return"";let l="",c="";const d=t?xu("anchor"):n;c+=`.v-application a { color: ${d}; }`,t&&(l+=`  ${Bs("anchor")}: ${n};
`);for(let v=0;v<a.length;++v){const y=a[v],_=e[y];c+=f2(y,t?xu(y):_.base),t&&(l+=`  ${Bs(y)}: ${_.base};
`);const k=zv(_);for(let $=0;$<k.length;++$){const M=k[$],T=_[M];M!=="base"&&(c+=d2(y,M,t?xu(y,M):T),t&&(l+=`  ${Bs(y,M)}: ${T};
`))}}return t&&(l=`:root {
${l}}

`),l+c}function m2(e,t){const n={base:ka(t)};for(let r=5;r>0;--r)n[`lighten${r}`]=ka(v2(t,r));for(let r=1;r<=4;++r)n[`darken${r}`]=ka(g2(t,r));return n}function v2(e,t){const n=Qv(Jv(e));return n[0]=n[0]+t*10,Xv(eg(n))}function g2(e,t){const n=Qv(Jv(e));return n[0]=n[0]-t*10,Xv(eg(n))}class Zo extends li{constructor(t){super(),this.disabled=!1,this.isDark=null,this.unwatch=null,this.vueMeta=null;const{dark:n,disable:r,options:a,themes:l}=t[Zo.property];if(this.dark=!!n,this.defaults=this.themes=l,this.options=a,r){this.disabled=!0;return}this.themes={dark:this.fillVariant(l.dark,!0),light:this.fillVariant(l.light,!1)}}set css(t){if(this.vueMeta){this.isVueMeta23&&this.applyVueMeta23();return}this.checkOrCreateStyleElement()&&(this.styleEl.innerHTML=t)}set dark(t){const n=this.isDark;this.isDark=t,n!=null&&this.applyTheme()}get dark(){return!!this.isDark}applyTheme(){if(this.disabled)return this.clearCss();this.css=this.generatedStyles}clearCss(){this.css=""}init(t,n){this.disabled||(t.$meta?this.initVueMeta(t):n&&this.initSSR(n),this.initTheme(t))}setTheme(t,n){this.themes[t]=Object.assign(this.themes[t],n),this.applyTheme()}resetThemes(){this.themes.light=Object.assign({},this.defaults.light),this.themes.dark=Object.assign({},this.defaults.dark),this.applyTheme()}checkOrCreateStyleElement(){return this.styleEl=document.getElementById("vuetify-theme-stylesheet"),this.styleEl?!0:(this.genStyleElement(),!!this.styleEl)}fillVariant(t={},n){const r=this.themes[n?"dark":"light"];return Object.assign({},r,t)}genStyleElement(){typeof document>"u"||(this.styleEl=document.createElement("style"),this.styleEl.type="text/css",this.styleEl.id="vuetify-theme-stylesheet",this.options.cspNonce&&this.styleEl.setAttribute("nonce",this.options.cspNonce),document.head.appendChild(this.styleEl))}initVueMeta(t){if(this.vueMeta=t.$meta(),this.isVueMeta23){t.$nextTick(()=>{this.applyVueMeta23()});return}const n=typeof this.vueMeta.getOptions=="function"?this.vueMeta.getOptions().keyName:"metaInfo",r=t.$options[n]||{};t.$options[n]=()=>{r.style=r.style||[];const a=r.style.find(l=>l.id==="vuetify-theme-stylesheet");return a?a.cssText=this.generatedStyles:r.style.push({cssText:this.generatedStyles,type:"text/css",id:"vuetify-theme-stylesheet",nonce:(this.options||{}).cspNonce}),r}}applyVueMeta23(){const{set:t}=this.vueMeta.addApp("vuetify");t({style:[{cssText:this.generatedStyles,type:"text/css",id:"vuetify-theme-stylesheet",nonce:this.options.cspNonce}]})}initSSR(t){const n=this.options.cspNonce?` nonce="${this.options.cspNonce}"`:"";t.head=t.head||"",t.head+=`<style type="text/css" id="vuetify-theme-stylesheet"${n}>${this.generatedStyles}</style>`}initTheme(t){typeof document>"u"||(this.unwatch&&(this.unwatch(),this.unwatch=null),t.$once("hook:created",()=>{const n=ee.observable({themes:this.themes});this.unwatch=t.$watch(()=>n.themes,()=>this.applyTheme(),{deep:!0})}),this.applyTheme())}get currentTheme(){const t=this.dark?"dark":"light";return this.themes[t]}get generatedStyles(){const t=this.parsedTheme,n=this.options||{};let r;return n.themeCache!=null&&(r=n.themeCache.get(t),r!=null)||(r=p2(t,n.customProperties),n.minifyTheme!=null&&(r=n.minifyTheme(r)),n.themeCache!=null&&n.themeCache.set(t,r)),r}get parsedTheme(){return tg(this.currentTheme||{},void 0,uh(this.options,["variations"],!0))}get isVueMeta23(){return typeof this.vueMeta.addApp=="function"}}Zo.property="theme";class ui{constructor(t={}){this.framework={isHydrating:!1},this.installed=[],this.preset={},this.userPreset={},this.userPreset=t,this.use(Kv),this.use(Wv),this.use(Yo),this.use(Yv),this.use(qo),this.use(Go),this.use(Zo)}init(t,n){this.installed.forEach(r=>{const a=this.framework[r];a.framework=this.framework,a.init(t,n)}),this.framework.rtl=!!this.preset.rtl}use(t){const n=t.property;this.installed.includes(n)||(this.framework[n]=new t(this.preset,this),this.installed.push(n))}}ui.install=oc;ui.installed=!1;ui.version="2.7.2";ui.config={silent:!1};function ng(e,t,n){if(!ui.config.silent){if(n&&(t={_isVue:!0,$parent:n,$options:t}),t){if(t.$_alreadyWarned=t.$_alreadyWarned||[],t.$_alreadyWarned.includes(e))return;t.$_alreadyWarned.push(e)}return`[Vuetify] ${e}`+(t?_2(t):"")}}function Et(e,t,n){const r=ng(e,t,n);r!=null&&console.warn(r)}function Mn(e,t,n){const r=ng(e,t,n);r!=null&&console.error(r)}function D5(e,t,n,r){Et(`[UPGRADE] '${e}' is deprecated, use '${t}' instead.`,n,r)}function Ni(e,t,n,r){Mn(`[BREAKING] '${e}' has been removed, use '${t}' instead. For more information, see the upgrade guide https://github.com/vuetifyjs/vuetify/releases/tag/v2.0.0#user-content-upgrade-guide`,n,r)}function Ko(e,t,n){Et(`[REMOVED] '${e}' has been removed. You can safely omit it.`,t,n)}const y2=/(?:^|[-_])(\w)/g,b2=e=>e.replace(y2,t=>t.toUpperCase()).replace(/[-_]/g,"");function wu(e,t){if(e.$root===e)return"<Root>";const n=typeof e=="function"&&e.cid!=null?e.options:e._isVue?e.$options||e.constructor.options:e||{};let r=n.name||n._componentTag;const a=n.__file;if(!r&&a){const l=a.match(/([^/\\]+)\.vue$/);r=l&&l[1]}return(r?`<${b2(r)}>`:"<Anonymous>")+(a&&t!==!1?` at ${a}`:"")}function _2(e){if(e._isVue&&e.$parent){const t=[];let n=0;for(;e;){if(t.length>0){const r=t[t.length-1];if(r.constructor===e.constructor){n++,e=e.$parent;continue}else n>0&&(t[t.length-1]=[r,n],n=0)}t.push(e),e=e.$parent}return`

found in

`+t.map((r,a)=>`${a===0?"---> ":" ".repeat(5+a*2)}${Array.isArray(r)?`${wu(r[0])}... (${r[1]} recursive calls)`:wu(r)}`).join(`
`)}else return`

(found in ${wu(e)})`}const mt=ee.extend({name:"colorable",props:{color:String},methods:{setBackgroundColor(e,t={}){return typeof t.style=="string"?(Mn("style must be an object",this),t):typeof t.class=="string"?(Mn("class must be an object",this),t):(yp(e)?t.style={...t.style,"background-color":`${e}`,"border-color":`${e}`}:e&&(t.class={...t.class,[e]:!0}),t)},setTextColor(e,t={}){if(typeof t.style=="string")return Mn("style must be an object",this),t;if(typeof t.class=="string")return Mn("class must be an object",this),t;if(yp(e))t.style={...t.style,color:`${e}`,"caret-color":`${e}`};else if(e){const[n,r]=e.toString().trim().split(" ",2);t.class={...t.class,[n+"--text"]:!0},r&&(t.class["text--"+r]=!0)}return t}}}),dh=ee.extend({name:"elevatable",props:{elevation:[Number,String]},computed:{computedElevation(){return this.elevation},elevationClasses(){const e=this.computedElevation;return e==null?{}:isNaN(parseInt(e))?{}:{[`elevation-${this.elevation}`]:!0}}}}),Xo=ee.extend({name:"measurable",props:{height:[Number,String],maxHeight:[Number,String],maxWidth:[Number,String],minHeight:[Number,String],minWidth:[Number,String],width:[Number,String]},computed:{measurableStyles(){const e={},t=de(this.height),n=de(this.minHeight),r=de(this.minWidth),a=de(this.maxHeight),l=de(this.maxWidth),c=de(this.width);return t&&(e.height=t),n&&(e.minHeight=n),r&&(e.minWidth=r),a&&(e.maxHeight=a),l&&(e.maxWidth=l),c&&(e.width=c),e}}}),ph=ee.extend({name:"roundable",props:{rounded:[Boolean,String],tile:Boolean},computed:{roundedClasses(){const e=[],t=typeof this.rounded=="string"?String(this.rounded):this.rounded===!0;if(this.tile)e.push("rounded-0");else if(typeof t=="string"){const n=t.split(" ");for(const r of n)e.push(`rounded-${r}`)}else t&&e.push("rounded");return e.length>0?{[e.join(" ")]:!0}:{}}}}),Bt=Me(fh,mt,dh,Xo,ph,Ke).extend({name:"v-sheet",props:{outlined:Boolean,shaped:Boolean,tag:{type:String,default:"div"}},computed:{classes(){return{"v-sheet":!0,"v-sheet--outlined":this.outlined,"v-sheet--shaped":this.shaped,...this.themeClasses,...this.elevationClasses,...this.roundedClasses}},styles(){return this.measurableStyles}},render(e){const t={class:this.classes,style:this.styles,on:this.listeners$};return e(this.tag,this.setBackgroundColor(this.color,t),this.$slots.default)}});function x2(e,t,n){if(typeof window>"u"||!("IntersectionObserver"in window))return;const r=t.modifiers||{},a=t.value,{handler:l,options:c}=typeof a=="object"?a:{handler:a,options:{}},d=new IntersectionObserver((v=[],y)=>{var _;const k=(_=e._observe)===null||_===void 0?void 0:_[n.context._uid];if(!k)return;const $=v.some(M=>M.isIntersecting);l&&(!r.quiet||k.init)&&(!r.once||$||k.init)&&l(v,y,$),$&&r.once?rg(e,t,n):k.init=!0},c);e._observe=Object(e._observe),e._observe[n.context._uid]={init:!1,observer:d},d.observe(e)}function rg(e,t,n){var r;const a=(r=e._observe)===null||r===void 0?void 0:r[n.context._uid];a&&(a.observer.unobserve(e),delete e._observe[n.context._uid])}const w2={inserted:x2,unbind:rg},Ea=w2;const Su=Me(Xo).extend({name:"v-responsive",props:{aspectRatio:[String,Number],contentClass:String},computed:{computedAspectRatio(){return Number(this.aspectRatio)},aspectStyle(){return this.computedAspectRatio?{paddingBottom:1/this.computedAspectRatio*100+"%"}:void 0},__cachedSizer(){return this.aspectStyle?this.$createElement("div",{style:this.aspectStyle,staticClass:"v-responsive__sizer"}):[]}},methods:{genContent(){return this.$createElement("div",{staticClass:"v-responsive__content",class:this.contentClass},Ae(this))}},render(e){return e("div",{staticClass:"v-responsive",style:this.measurableStyles,on:this.$listeners},[this.__cachedSizer,this.genContent()])}}),bp={styleList:/;(?![^(]*\))/g,styleProp:/:(.*)/};function _p(e){const t={};for(const n of e.split(bp.styleList)){let[r,a]=n.split(bp.styleProp);r=r.trim(),r&&(typeof a=="string"&&(a=a.trim()),t[Hv(r)]=a)}return t}function nn(){const e={};let t=arguments.length,n;for(;t--;)for(n of Object.keys(arguments[t]))switch(n){case"class":case"directives":arguments[t][n]&&(e[n]=k2(e[n],arguments[t][n]));break;case"style":arguments[t][n]&&(e[n]=S2(e[n],arguments[t][n]));break;case"staticClass":if(!arguments[t][n])break;e[n]===void 0&&(e[n]=""),e[n]&&(e[n]+=" "),e[n]+=arguments[t][n].trim();break;case"on":case"nativeOn":arguments[t][n]&&(e[n]=C2(e[n],arguments[t][n]));break;case"attrs":case"props":case"domProps":case"scopedSlots":case"staticStyle":case"hook":case"transition":if(!arguments[t][n])break;e[n]||(e[n]={}),e[n]={...arguments[t][n],...e[n]};break;default:e[n]||(e[n]=arguments[t][n])}return e}function S2(e,t){return e?t?(e=hh(typeof e=="string"?_p(e):e),e.concat(typeof t=="string"?_p(t):t)):e:t}function k2(e,t){return t?e&&e?hh(e).concat(t):t:e}function C2(...e){if(!e[0])return e[1];if(!e[1])return e[0];const t={};for(let n=2;n--;){const r=e[n];for(const a in r)r[a]&&(t[a]?t[a]=[].concat(r[a],t[a]):t[a]=r[a])}return t}const xp=typeof window<"u"&&"IntersectionObserver"in window,ig=Me(Su,Ke).extend({name:"v-img",directives:{intersect:Ea},props:{alt:String,contain:Boolean,eager:Boolean,gradient:String,lazySrc:String,options:{type:Object,default:()=>({root:void 0,rootMargin:void 0,threshold:void 0})},position:{type:String,default:"center center"},sizes:String,src:{type:[String,Object],default:""},srcset:String,transition:{type:[Boolean,String],default:"fade-transition"}},data(){return{currentSrc:"",image:null,isLoading:!0,calculatedAspectRatio:void 0,naturalWidth:void 0,hasError:!1}},computed:{computedAspectRatio(){return Number(this.normalisedSrc.aspect||this.calculatedAspectRatio)},normalisedSrc(){return this.src&&typeof this.src=="object"?{src:this.src.src,srcset:this.srcset||this.src.srcset,lazySrc:this.lazySrc||this.src.lazySrc,aspect:Number(this.aspectRatio||this.src.aspect)}:{src:this.src,srcset:this.srcset,lazySrc:this.lazySrc,aspect:Number(this.aspectRatio||0)}},__cachedImage(){if(!(this.normalisedSrc.src||this.normalisedSrc.lazySrc||this.gradient))return[];const e=[],t=this.isLoading?this.normalisedSrc.lazySrc:this.currentSrc;this.gradient&&e.push(`linear-gradient(${this.gradient})`),t&&e.push(`url("${t}")`);const n=this.$createElement("div",{staticClass:"v-image__image",class:{"v-image__image--preload":this.isLoading,"v-image__image--contain":this.contain,"v-image__image--cover":!this.contain},style:{backgroundImage:e.join(", "),backgroundPosition:this.position},key:+this.isLoading});return this.transition?this.$createElement("transition",{attrs:{name:this.transition,mode:"in-out"}},[n]):n}},watch:{src(){this.isLoading?this.loadImage():this.init(void 0,void 0,!0)},"$vuetify.breakpoint.width":"getSrc"},mounted(){this.init()},methods:{init(e,t,n){if(!(xp&&!n&&!this.eager)){if(this.normalisedSrc.lazySrc){const r=new Image;r.src=this.normalisedSrc.lazySrc,this.pollForSize(r,null)}this.normalisedSrc.src&&this.loadImage()}},onLoad(){this.getSrc(),this.isLoading=!1,this.$emit("load",this.src),this.image&&(this.normalisedSrc.src.endsWith(".svg")||this.normalisedSrc.src.startsWith("data:image/svg+xml"))&&(this.image.naturalHeight&&this.image.naturalWidth?(this.naturalWidth=this.image.naturalWidth,this.calculatedAspectRatio=this.image.naturalWidth/this.image.naturalHeight):this.calculatedAspectRatio=1)},onError(){this.hasError=!0,this.$emit("error",this.src)},getSrc(){this.image&&(this.currentSrc=this.image.currentSrc||this.image.src)},loadImage(){const e=new Image;this.image=e,e.onload=()=>{e.decode?e.decode().catch(t=>{Et(`Failed to decode image, trying to render anyway

src: ${this.normalisedSrc.src}`+(t.message?`
Original error: ${t.message}`:""),this)}).then(this.onLoad):this.onLoad()},e.onerror=this.onError,this.hasError=!1,this.sizes&&(e.sizes=this.sizes),this.normalisedSrc.srcset&&(e.srcset=this.normalisedSrc.srcset),e.src=this.normalisedSrc.src,this.$emit("loadstart",this.normalisedSrc.src),this.aspectRatio||this.pollForSize(e),this.getSrc()},pollForSize(e,t=100){const n=()=>{const{naturalHeight:r,naturalWidth:a}=e;r||a?(this.naturalWidth=a,this.calculatedAspectRatio=a/r):!e.complete&&this.isLoading&&!this.hasError&&t!=null&&setTimeout(n,t)};n()},genContent(){const e=Su.options.methods.genContent.call(this);return this.naturalWidth&&this._b(e.data,"div",{style:{width:`${this.naturalWidth}px`}}),e},__genPlaceholder(){const e=Ae(this,"placeholder");if(e){const t=this.isLoading?[this.$createElement("div",{staticClass:"v-image__placeholder"},e)]:[];return this.transition?this.$createElement("transition",{props:{appear:!0,name:this.transition}},t):t[0]}}},render(e){const t=Su.options.render.call(this,e),n=nn(t.data,{staticClass:"v-image",attrs:{"aria-label":this.alt,role:this.alt?"img":void 0},class:this.themeClasses,directives:xp?[{name:"intersect",modifiers:{once:!0},value:{handler:this.init,options:this.options}}]:void 0});return t.children=[this.__cachedSizer,this.__cachedImage,this.__genPlaceholder(),this.genContent()],e(t.tag,n,t.children)}}),Hn=Bt.extend({name:"v-toolbar",props:{absolute:Boolean,bottom:Boolean,collapse:Boolean,dense:Boolean,extended:Boolean,extensionHeight:{default:48,type:[Number,String]},flat:Boolean,floating:Boolean,prominent:Boolean,short:Boolean,src:{type:[String,Object],default:""},tag:{type:String,default:"header"}},data:()=>({isExtended:!1}),computed:{computedHeight(){const e=this.computedContentHeight;if(!this.isExtended)return e;const t=parseInt(this.extensionHeight);return this.isCollapsed?e:e+(isNaN(t)?0:t)},computedContentHeight(){return this.height?parseInt(this.height):this.isProminent&&this.dense?96:this.isProminent&&this.short?112:this.isProminent?128:this.dense?48:this.short||this.$vuetify.breakpoint.smAndDown?56:64},classes(){return{...Bt.options.computed.classes.call(this),"v-toolbar":!0,"v-toolbar--absolute":this.absolute,"v-toolbar--bottom":this.bottom,"v-toolbar--collapse":this.collapse,"v-toolbar--collapsed":this.isCollapsed,"v-toolbar--dense":this.dense,"v-toolbar--extended":this.isExtended,"v-toolbar--flat":this.flat,"v-toolbar--floating":this.floating,"v-toolbar--prominent":this.isProminent}},isCollapsed(){return this.collapse},isProminent(){return this.prominent},styles(){return{...this.measurableStyles,height:de(this.computedHeight)}}},created(){[["app","<v-app-bar app>"],["manual-scroll",'<v-app-bar :value="false">'],["clipped-left","<v-app-bar clipped-left>"],["clipped-right","<v-app-bar clipped-right>"],["inverted-scroll","<v-app-bar inverted-scroll>"],["scroll-off-screen","<v-app-bar scroll-off-screen>"],["scroll-target","<v-app-bar scroll-target>"],["scroll-threshold","<v-app-bar scroll-threshold>"],["card","<v-app-bar flat>"]].forEach(([t,n])=>{this.$attrs.hasOwnProperty(t)&&Ni(t,n,this)})},methods:{genBackground(){const e={height:de(this.computedHeight),src:this.src},t=this.$scopedSlots.img?this.$scopedSlots.img({props:e}):this.$createElement(ig,{props:e});return this.$createElement("div",{staticClass:"v-toolbar__image"},[t])},genContent(){return this.$createElement("div",{staticClass:"v-toolbar__content",style:{height:de(this.computedContentHeight)}},Ae(this))},genExtension(){return this.$createElement("div",{staticClass:"v-toolbar__extension",style:{height:de(this.extensionHeight)}},Ae(this,"extension"))}},render(e){this.isExtended=this.extended||!!this.$scopedSlots.extension;const t=[this.genContent()],n=this.setBackgroundColor(this.color,{class:this.classes,style:this.styles,on:this.$listeners});return this.isExtended&&t.push(this.genExtension()),(this.src||this.$scopedSlots.img)&&t.unshift(this.genBackground()),e(this.tag,n,t)}});function $2(e,t,n){const{self:r=!1}=t.modifiers||{},a=t.value,l=typeof a=="object"&&a.options||{passive:!0},c=typeof a=="function"||"handleEvent"in a?a:a.handler,d=r?e:t.arg?document.querySelector(t.arg):window;d&&(d.addEventListener("scroll",c,l),e._onScroll=Object(e._onScroll),e._onScroll[n.context._uid]={handler:c,options:l,target:r?void 0:d})}function M2(e,t,n){var r;if(!(!((r=e._onScroll)===null||r===void 0)&&r[n.context._uid]))return;const{handler:a,options:l,target:c=e}=e._onScroll[n.context._uid];c.removeEventListener("scroll",a,l),delete e._onScroll[n.context._uid]}const ag={inserted:$2,unbind:M2},T2=ag,wp={absolute:Boolean,bottom:Boolean,fixed:Boolean,left:Boolean,right:Boolean,top:Boolean};function Jo(e=[]){return ee.extend({name:"positionable",props:e.length?Sk(wp,e):wp})}const O2=Jo();function sg(e,t=[]){return Me(Jo(["absolute","fixed"])).extend({name:"applicationable",props:{app:Boolean},computed:{applicationProperty(){return e}},watch:{app(n,r){r?this.removeApplication(!0):this.callUpdate()},applicationProperty(n,r){this.$vuetify.application.unregister(this._uid,r)}},activated(){this.callUpdate()},created(){for(let n=0,r=t.length;n<r;n++)this.$watch(t[n],this.callUpdate);this.callUpdate()},mounted(){this.callUpdate()},deactivated(){this.removeApplication()},destroyed(){this.removeApplication()},methods:{callUpdate(){this.app&&this.$vuetify.application.register(this._uid,this.applicationProperty,this.updateApplication())},removeApplication(n=!1){!n&&!this.app||this.$vuetify.application.unregister(this._uid,this.applicationProperty)},updateApplication:()=>0}})}function mo(e){if(typeof e.getRootNode!="function"){for(;e.parentNode;)e=e.parentNode;return e!==document?null:document}const t=e.getRootNode();return t!==document&&t.getRootNode({composed:!0})!==document?null:t}function A2(){return!0}function og(e,t,n){if(!e||lg(e,n)===!1)return!1;const r=mo(t);if(typeof ShadowRoot<"u"&&r instanceof ShadowRoot&&r.host===e.target)return!1;const a=(typeof n.value=="object"&&n.value.include||(()=>[]))();return a.push(t),!a.some(l=>l.contains(e.target))}function lg(e,t){return(typeof t.value=="object"&&t.value.closeConditional||A2)(e)}function D2(e,t,n){const r=typeof n.value=="function"?n.value:n.value.handler;t._clickOutside.lastMousedownWasOutside&&og(e,t,n)&&setTimeout(()=>{lg(e,n)&&r&&r(e)},0)}function Sp(e,t){const n=mo(e);t(document),typeof ShadowRoot<"u"&&n instanceof ShadowRoot&&t(n)}const I2={inserted(e,t,n){const r=l=>D2(l,e,t),a=l=>{e._clickOutside.lastMousedownWasOutside=og(l,e,t)};Sp(e,l=>{l.addEventListener("click",r,!0),l.addEventListener("mousedown",a,!0)}),e._clickOutside||(e._clickOutside={lastMousedownWasOutside:!0}),e._clickOutside[n.context._uid]={onClick:r,onMousedown:a}},unbind(e,t,n){e._clickOutside&&(Sp(e,r=>{var a;if(!r||!(!((a=e._clickOutside)===null||a===void 0)&&a[n.context._uid]))return;const{onClick:l,onMousedown:c}=e._clickOutside[n.context._uid];r.removeEventListener("click",l,!0),r.removeEventListener("mousedown",c,!0)}),delete e._clickOutside[n.context._uid])}},mh=I2;function L2(e,t,n){const r=t.value,a=t.options||{passive:!0};window.addEventListener("resize",r,a),e._onResize=Object(e._onResize),e._onResize[n.context._uid]={callback:r,options:a},(!t.modifiers||!t.modifiers.quiet)&&r()}function E2(e,t,n){var r;if(!(!((r=e._onResize)===null||r===void 0)&&r[n.context._uid]))return;const{callback:a,options:l}=e._onResize[n.context._uid];window.removeEventListener("resize",a,l),delete e._onResize[n.context._uid]}const P2={inserted:L2,unbind:E2},ug=P2;const R2=80;function kp(e,t){e.style.transform=t,e.style.webkitTransform=t}function uc(e){return e.constructor.name==="TouchEvent"}function cg(e){return e.constructor.name==="KeyboardEvent"}const F2=(e,t,n={})=>{let r=0,a=0;if(!cg(e)){const k=t.getBoundingClientRect(),$=uc(e)?e.touches[e.touches.length-1]:e;r=$.clientX-k.left,a=$.clientY-k.top}let l=0,c=.3;t._ripple&&t._ripple.circle?(c=.15,l=t.clientWidth/2,l=n.center?l:l+Math.sqrt((r-l)**2+(a-l)**2)/4):l=Math.sqrt(t.clientWidth**2+t.clientHeight**2)/2;const d=`${(t.clientWidth-l*2)/2}px`,v=`${(t.clientHeight-l*2)/2}px`,y=n.center?d:`${r-l}px`,_=n.center?v:`${a-l}px`;return{radius:l,scale:c,x:y,y:_,centerX:d,centerY:v}},vo={show(e,t,n={}){if(!t._ripple||!t._ripple.enabled)return;const r=document.createElement("span"),a=document.createElement("span");r.appendChild(a),r.className="v-ripple__container",n.class&&(r.className+=` ${n.class}`);const{radius:l,scale:c,x:d,y:v,centerX:y,centerY:_}=F2(e,t,n),k=`${l*2}px`;a.className="v-ripple__animation",a.style.width=k,a.style.height=k,t.appendChild(r);const $=window.getComputedStyle(t);$&&$.position==="static"&&(t.style.position="relative",t.dataset.previousPosition="static"),a.classList.add("v-ripple__animation--enter"),a.classList.add("v-ripple__animation--visible"),kp(a,`translate(${d}, ${v}) scale3d(${c},${c},${c})`),a.dataset.activated=String(performance.now()),setTimeout(()=>{a.classList.remove("v-ripple__animation--enter"),a.classList.add("v-ripple__animation--in"),kp(a,`translate(${y}, ${_}) scale3d(1,1,1)`)},0)},hide(e){if(!e||!e._ripple||!e._ripple.enabled)return;const t=e.getElementsByClassName("v-ripple__animation");if(t.length===0)return;const n=t[t.length-1];if(n.dataset.isHiding)return;n.dataset.isHiding="true";const r=performance.now()-Number(n.dataset.activated),a=Math.max(250-r,0);setTimeout(()=>{n.classList.remove("v-ripple__animation--in"),n.classList.add("v-ripple__animation--out"),setTimeout(()=>{var l;e.getElementsByClassName("v-ripple__animation").length===1&&e.dataset.previousPosition&&(e.style.position=e.dataset.previousPosition,delete e.dataset.previousPosition),((l=n.parentNode)===null||l===void 0?void 0:l.parentNode)===e&&e.removeChild(n.parentNode)},300)},a)}};function hg(e){return typeof e>"u"||!!e}function Pa(e){const t={},n=e.currentTarget;if(!(!n||!n._ripple||n._ripple.touched||e.rippleStop)){if(e.rippleStop=!0,uc(e))n._ripple.touched=!0,n._ripple.isTouch=!0;else if(n._ripple.isTouch)return;if(t.center=n._ripple.centered||cg(e),n._ripple.class&&(t.class=n._ripple.class),uc(e)){if(n._ripple.showTimerCommit)return;n._ripple.showTimerCommit=()=>{vo.show(e,n,t)},n._ripple.showTimer=window.setTimeout(()=>{n&&n._ripple&&n._ripple.showTimerCommit&&(n._ripple.showTimerCommit(),n._ripple.showTimerCommit=null)},R2)}else vo.show(e,n,t)}}function Ft(e){const t=e.currentTarget;if(!(!t||!t._ripple)){if(window.clearTimeout(t._ripple.showTimer),e.type==="touchend"&&t._ripple.showTimerCommit){t._ripple.showTimerCommit(),t._ripple.showTimerCommit=null,t._ripple.showTimer=setTimeout(()=>{Ft(e)});return}window.setTimeout(()=>{t._ripple&&(t._ripple.touched=!1)}),vo.hide(t)}}function fg(e){const t=e.currentTarget;!t||!t._ripple||(t._ripple.showTimerCommit&&(t._ripple.showTimerCommit=null),window.clearTimeout(t._ripple.showTimer))}let Ra=!1;function dg(e){!Ra&&(e.keyCode===me.enter||e.keyCode===me.space)&&(Ra=!0,Pa(e))}function pg(e){Ra=!1,Ft(e)}function mg(e){Ra===!0&&(Ra=!1,Ft(e))}function vg(e,t,n){const r=hg(t.value);r||vo.hide(e),e._ripple=e._ripple||{},e._ripple.enabled=r;const a=t.value||{};a.center&&(e._ripple.centered=!0),a.class&&(e._ripple.class=t.value.class),a.circle&&(e._ripple.circle=a.circle),r&&!n?(e.addEventListener("touchstart",Pa,{passive:!0}),e.addEventListener("touchend",Ft,{passive:!0}),e.addEventListener("touchmove",fg,{passive:!0}),e.addEventListener("touchcancel",Ft),e.addEventListener("mousedown",Pa),e.addEventListener("mouseup",Ft),e.addEventListener("mouseleave",Ft),e.addEventListener("keydown",dg),e.addEventListener("keyup",pg),e.addEventListener("blur",mg),e.addEventListener("dragstart",Ft,{passive:!0})):!r&&n&&gg(e)}function gg(e){e.removeEventListener("mousedown",Pa),e.removeEventListener("touchstart",Pa),e.removeEventListener("touchend",Ft),e.removeEventListener("touchmove",fg),e.removeEventListener("touchcancel",Ft),e.removeEventListener("mouseup",Ft),e.removeEventListener("mouseleave",Ft),e.removeEventListener("keydown",dg),e.removeEventListener("keyup",pg),e.removeEventListener("dragstart",Ft),e.removeEventListener("blur",mg)}function N2(e,t,n){vg(e,t,!1)}function B2(e){delete e._ripple,gg(e)}function z2(e,t){if(t.value===t.oldValue)return;const n=hg(t.oldValue);vg(e,t,n)}const H2={bind:N2,unbind:B2,update:z2},Bi=H2,yg=ee.extend({name:"scrollable",directives:{Scroll:ag},props:{scrollTarget:String,scrollThreshold:[String,Number]},data:()=>({currentScroll:0,currentThreshold:0,isActive:!1,isScrollingUp:!1,previousScroll:0,savedScroll:0,target:null}),computed:{canScroll(){return typeof window<"u"},computedScrollThreshold(){return this.scrollThreshold?Number(this.scrollThreshold):300}},watch:{isScrollingUp(){this.savedScroll=this.savedScroll||this.currentScroll},isActive(){this.savedScroll=0}},mounted(){this.scrollTarget&&(this.target=document.querySelector(this.scrollTarget),this.target||Et(`Unable to locate element with identifier ${this.scrollTarget}`,this))},methods:{onScroll(){this.canScroll&&(this.previousScroll=this.currentScroll,this.currentScroll=this.target?this.target.scrollTop:window.pageYOffset,this.isScrollingUp=this.currentScroll<this.previousScroll,this.currentThreshold=Math.abs(this.currentScroll-this.computedScrollThreshold),this.$nextTick(()=>{Math.abs(this.currentScroll-this.savedScroll)>this.computedScrollThreshold&&this.thresholdMet()}))},thresholdMet(){}}}),vh=ee.extend({name:"ssr-bootable",data:()=>({isBooted:!1}),mounted(){window.requestAnimationFrame(()=>{this.$el.setAttribute("data-booted","true"),this.isBooted=!0})}});function Qo(e="value",t="input"){return ee.extend({name:"toggleable",model:{prop:e,event:t},props:{[e]:{required:!1}},data(){return{isActive:!!this[e]}},watch:{[e](n){this.isActive=!!n},isActive(n){!!n!==this[e]&&this.$emit(t,n)}}})}const W2=Qo(),el=W2,V2=Me(Hn,yg,vh,el,sg("top",["clippedLeft","clippedRight","computedHeight","invertedScroll","isExtended","isProminent","value"])),j2=V2.extend({name:"v-app-bar",directives:{Scroll:T2},provide(){return{VAppBar:this}},props:{clippedLeft:Boolean,clippedRight:Boolean,collapseOnScroll:Boolean,elevateOnScroll:Boolean,fadeImgOnScroll:Boolean,hideOnScroll:Boolean,invertedScroll:Boolean,scrollOffScreen:Boolean,shrinkOnScroll:Boolean,value:{type:Boolean,default:!0}},data(){return{isActive:this.value}},computed:{applicationProperty(){return this.bottom?"bottom":"top"},canScroll(){return yg.options.computed.canScroll.call(this)&&(this.invertedScroll||this.elevateOnScroll||this.hideOnScroll||this.collapseOnScroll||this.isBooted||!this.value)},classes(){return{...Hn.options.computed.classes.call(this),"v-toolbar--collapse":this.collapse||this.collapseOnScroll,"v-app-bar":!0,"v-app-bar--clipped":this.clippedLeft||this.clippedRight,"v-app-bar--fade-img-on-scroll":this.fadeImgOnScroll,"v-app-bar--elevate-on-scroll":this.elevateOnScroll,"v-app-bar--fixed":!this.absolute&&(this.app||this.fixed),"v-app-bar--hide-shadow":this.hideShadow,"v-app-bar--is-scrolled":this.currentScroll>0,"v-app-bar--shrink-on-scroll":this.shrinkOnScroll}},scrollRatio(){const e=this.computedScrollThreshold;return Math.max((e-this.currentScroll)/e,0)},computedContentHeight(){if(!this.shrinkOnScroll)return Hn.options.computed.computedContentHeight.call(this);const e=this.dense?48:56,t=this.computedOriginalHeight;return e+(t-e)*this.scrollRatio},computedFontSize(){if(!this.isProminent)return;const e=1.25;return e+(1.5-e)*this.scrollRatio},computedLeft(){return!this.app||this.clippedLeft?0:this.$vuetify.application.left},computedMarginTop(){return this.app?this.$vuetify.application.bar:0},computedOpacity(){if(this.fadeImgOnScroll)return this.scrollRatio},computedOriginalHeight(){let e=Hn.options.computed.computedContentHeight.call(this);return this.isExtended&&(e+=parseInt(this.extensionHeight)),e},computedRight(){return!this.app||this.clippedRight?0:this.$vuetify.application.right},computedScrollThreshold(){return this.scrollThreshold?Number(this.scrollThreshold):this.computedOriginalHeight-(this.dense?48:56)},computedTransform(){if(!this.canScroll||this.elevateOnScroll&&this.currentScroll===0&&this.isActive||this.isActive)return 0;const e=this.scrollOffScreen?this.computedHeight:this.computedContentHeight;return this.bottom?e:-e},hideShadow(){return this.elevateOnScroll&&this.isExtended?this.currentScroll<this.computedScrollThreshold:this.elevateOnScroll?this.currentScroll===0||this.computedTransform<0:(!this.isExtended||this.scrollOffScreen)&&this.computedTransform!==0},isCollapsed(){return this.collapseOnScroll?this.currentScroll>0:Hn.options.computed.isCollapsed.call(this)},isProminent(){return Hn.options.computed.isProminent.call(this)||this.shrinkOnScroll},styles(){return{...Hn.options.computed.styles.call(this),fontSize:de(this.computedFontSize,"rem"),marginTop:de(this.computedMarginTop),transform:`translateY(${de(this.computedTransform)})`,left:de(this.computedLeft),right:de(this.computedRight)}}},watch:{canScroll:"onScroll",computedTransform(){!this.canScroll||!this.clippedLeft&&!this.clippedRight||this.callUpdate()},invertedScroll(e){this.isActive=!e||this.currentScroll!==0},hideOnScroll(e){this.isActive=!e||this.currentScroll<this.computedScrollThreshold}},created(){this.invertedScroll&&(this.isActive=!1)},methods:{genBackground(){const e=Hn.options.methods.genBackground.call(this);return e.data=this._b(e.data||{},e.tag,{style:{opacity:this.computedOpacity}}),e},updateApplication(){return this.invertedScroll?0:this.computedHeight+this.computedTransform},thresholdMet(){if(this.invertedScroll){this.isActive=this.currentScroll>this.computedScrollThreshold;return}this.hideOnScroll&&(this.isActive=this.isScrollingUp||this.currentScroll<this.computedScrollThreshold),!(this.currentThreshold<this.computedScrollThreshold)&&(this.savedScroll=this.currentScroll)}},render(e){const t=Hn.options.render.call(this,e);return t.data=t.data||{},this.canScroll&&(t.data.directives=t.data.directives||[],t.data.directives.push({arg:this.scrollTarget,name:"scroll",value:this.onScroll})),t}});const gh=ee.extend({name:"sizeable",props:{large:Boolean,small:Boolean,xLarge:Boolean,xSmall:Boolean},computed:{medium(){return!this.xSmall&&!this.small&&!this.large&&!this.xLarge},sizeableClasses(){return{"v-size--x-small":this.xSmall,"v-size--small":this.small,"v-size--default":this.medium,"v-size--large":this.large,"v-size--x-large":this.xLarge}}}});var cc;(function(e){e.xSmall="12px",e.small="16px",e.default="24px",e.medium="28px",e.large="36px",e.xLarge="40px"})(cc||(cc={}));function U2(e){return["fas","far","fal","fab","fad","fak"].some(t=>e.includes(t))}function Y2(e){return/^[mzlhvcsqta]\s*[-+.0-9][^mlhvzcsqta]+/i.test(e)&&/[\dz]$/i.test(e)&&e.length>4}const Cp=Me(fh,mt,gh,Ke).extend({name:"v-icon",props:{dense:Boolean,disabled:Boolean,left:Boolean,right:Boolean,size:[Number,String],tag:{type:String,required:!1,default:"i"}},computed:{medium(){return!1},hasClickListener(){return!!(this.listeners$.click||this.listeners$["!click"])}},methods:{getIcon(){let e="";return this.$slots.default&&(e=this.$slots.default[0].text.trim()),kk(this,e)},getSize(){const e={xSmall:this.xSmall,small:this.small,medium:this.medium,large:this.large,xLarge:this.xLarge},t=zv(e).find(n=>e[n]);return t&&cc[t]||de(this.size)},getDefaultData(){return{staticClass:"v-icon notranslate",class:{"v-icon--disabled":this.disabled,"v-icon--left":this.left,"v-icon--link":this.hasClickListener,"v-icon--right":this.right,"v-icon--dense":this.dense},attrs:{"aria-hidden":!this.hasClickListener,disabled:this.hasClickListener&&this.disabled,type:this.hasClickListener?"button":void 0,...this.attrs$},on:this.listeners$}},getSvgWrapperData(){const e=this.getSize(),t={...this.getDefaultData(),style:e?{fontSize:e,height:e,width:e}:void 0};return this.applyColors(t),t},applyColors(e){e.class={...e.class,...this.themeClasses},this.setTextColor(this.color,e)},renderFontIcon(e,t){const n=[],r=this.getDefaultData();let a="material-icons";const l=e.indexOf("-"),c=l<=-1;c?n.push(e):(a=e.slice(0,l),U2(a)&&(a="")),r.class[a]=!0,r.class[e]=!c;const d=this.getSize();return d&&(r.style={fontSize:d}),this.applyColors(r),t(this.hasClickListener?"button":this.tag,r,n)},renderSvgIcon(e,t){const n={class:"v-icon__svg",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",role:"img","aria-hidden":!0}},r=this.getSize();return r&&(n.style={fontSize:r,height:r,width:r}),t(this.hasClickListener?"button":"span",this.getSvgWrapperData(),[t("svg",n,[t("path",{attrs:{d:e}})])])},renderSvgIconComponent(e,t){const n={class:{"v-icon__component":!0}},r=this.getSize();r&&(n.style={fontSize:r,height:r,width:r}),this.applyColors(n);const a=e.component;return n.props=e.props,n.nativeOn=n.on,t(this.hasClickListener?"button":"span",this.getSvgWrapperData(),[t(a,n)])}},render(e){const t=this.getIcon();return typeof t=="string"?Y2(t)?this.renderSvgIcon(t,e):this.renderFontIcon(t,e):this.renderSvgIconComponent(t,e)}}),et=ee.extend({name:"v-icon",$_wrapperFor:Cp,functional:!0,render(e,{data:t,children:n}){let r="";return t.domProps&&(r=t.domProps.textContent||t.domProps.innerHTML||r,delete t.domProps.textContent,delete t.domProps.innerHTML),e(Cp,t,r?[r]:n)}});const bg=mt.extend({name:"v-progress-circular",directives:{intersect:Ea},props:{button:Boolean,indeterminate:Boolean,rotate:{type:[Number,String],default:0},size:{type:[Number,String],default:32},width:{type:[Number,String],default:4},value:{type:[Number,String],default:0}},data:()=>({radius:20,isVisible:!0}),computed:{calculatedSize(){return Number(this.size)+(this.button?8:0)},circumference(){return 2*Math.PI*this.radius},classes(){return{"v-progress-circular--visible":this.isVisible,"v-progress-circular--indeterminate":this.indeterminate,"v-progress-circular--button":this.button}},normalizedValue(){return this.value<0?0:this.value>100?100:parseFloat(this.value)},strokeDashArray(){return Math.round(this.circumference*1e3)/1e3},strokeDashOffset(){return(100-this.normalizedValue)/100*this.circumference+"px"},strokeWidth(){return Number(this.width)/+this.size*this.viewBoxSize*2},styles(){return{height:de(this.calculatedSize),width:de(this.calculatedSize)}},svgStyles(){return{transform:`rotate(${Number(this.rotate)}deg)`}},viewBoxSize(){return this.radius/(1-Number(this.width)/+this.size)}},methods:{genCircle(e,t){return this.$createElement("circle",{class:`v-progress-circular__${e}`,attrs:{fill:"transparent",cx:2*this.viewBoxSize,cy:2*this.viewBoxSize,r:this.radius,"stroke-width":this.strokeWidth,"stroke-dasharray":this.strokeDashArray,"stroke-dashoffset":t}})},genSvg(){const e=[this.indeterminate||this.genCircle("underlay",0),this.genCircle("overlay",this.strokeDashOffset)];return this.$createElement("svg",{style:this.svgStyles,attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:`${this.viewBoxSize} ${this.viewBoxSize} ${2*this.viewBoxSize} ${2*this.viewBoxSize}`}},e)},genInfo(){return this.$createElement("div",{staticClass:"v-progress-circular__info"},Ae(this))},onObserve(e,t,n){this.isVisible=n}},render(e){return e("div",this.setTextColor(this.color,{staticClass:"v-progress-circular",attrs:{role:"progressbar","aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":this.indeterminate?void 0:this.normalizedValue},class:this.classes,directives:[{name:"intersect",value:this.onObserve}],style:this.styles,on:this.$listeners}),[this.genSvg(),this.genInfo()])}});function $p(e,t){return()=>Et(`The ${e} component must be used inside a ${t}`)}function yh(e,t,n){const r=t&&n?{register:$p(t,n),unregister:$p(t,n)}:null;return ee.extend({name:"registrable-inject",inject:{[e]:{default:r}}})}function I5(e,t=!1){return ee.extend({name:"registrable-provide",provide(){return{[e]:t?this:{register:this.register,unregister:this.unregister}}}})}function tl(e,t,n){return yh(e,t,n).extend({name:"groupable",props:{activeClass:{type:String,default(){if(this[e])return this[e].activeClass}},disabled:Boolean},data(){return{isActive:!1}},computed:{groupClasses(){return this.activeClass?{[this.activeClass]:this.isActive}:{}}},created(){this[e]&&this[e].register(this)},beforeDestroy(){this[e]&&this[e].unregister(this)},methods:{toggle(r){if(this.disabled&&r){r.preventDefault();return}this.$emit("change")}}})}tl("itemGroup");const Tn=ee.extend({name:"routable",directives:{Ripple:Bi},props:{activeClass:String,append:Boolean,disabled:Boolean,exact:{type:Boolean,default:void 0},exactPath:Boolean,exactActiveClass:String,link:Boolean,href:[String,Object],to:[String,Object],nuxt:Boolean,replace:Boolean,ripple:{type:[Boolean,Object],default:null},tag:String,target:String},data:()=>({isActive:!1,proxyClass:""}),computed:{classes(){const e={};return this.to||(this.activeClass&&(e[this.activeClass]=this.isActive),this.proxyClass&&(e[this.proxyClass]=this.isActive)),e},computedRipple(){var e;return(e=this.ripple)!==null&&e!==void 0?e:!this.disabled&&this.isClickable},isClickable(){return this.disabled?!1:!!(this.isLink||this.$listeners.click||this.$listeners["!click"]||this.$attrs.tabindex)},isLink(){return this.to||this.href||this.link},styles:()=>({})},watch:{$route:"onRouteChange"},mounted(){this.onRouteChange()},methods:{generateRouteLink(){let e=this.exact,t;const n={attrs:{tabindex:"tabindex"in this.$attrs?this.$attrs.tabindex:void 0},class:this.classes,style:this.styles,props:{},directives:[{name:"ripple",value:this.computedRipple}],[this.to?"nativeOn":"on"]:{...this.$listeners,..."click"in this?{click:this.click}:void 0},ref:"link"};if(typeof this.exact>"u"&&(e=this.to==="/"||this.to===Object(this.to)&&this.to.path==="/"),this.to){let r=this.activeClass,a=this.exactActiveClass||r;this.proxyClass&&(r=`${r} ${this.proxyClass}`.trim(),a=`${a} ${this.proxyClass}`.trim()),t=this.nuxt?"nuxt-link":"router-link",Object.assign(n.props,{to:this.to,exact:e,exactPath:this.exactPath,activeClass:r,exactActiveClass:a,append:this.append,replace:this.replace})}else t=this.href&&"a"||this.tag||"div",t==="a"&&this.href&&(n.attrs.href=this.href);return this.target&&(n.attrs.target=this.target),{tag:t,data:n}},onRouteChange(){if(!this.to||!this.$refs.link||!this.$route)return;const e=`${this.activeClass||""} ${this.proxyClass||""}`.trim(),t=`${this.exactActiveClass||""} ${this.proxyClass||""}`.trim()||e,n="_vnode.data.class."+(this.exact?t:e);this.$nextTick(()=>{!Vt(this.$refs.link,n)===this.isActive&&this.toggle()})},toggle(){this.isActive=!this.isActive}}}),q2=Me(Bt,Tn,O2,gh,tl("btnToggle"),Qo("inputValue")),Qt=q2.extend().extend({name:"v-btn",props:{activeClass:{type:String,default(){return this.btnToggle?this.btnToggle.activeClass:""}},block:Boolean,depressed:Boolean,fab:Boolean,icon:Boolean,loading:Boolean,outlined:Boolean,plain:Boolean,retainFocusOnClick:Boolean,rounded:Boolean,tag:{type:String,default:"button"},text:Boolean,tile:Boolean,type:{type:String,default:"button"},value:null},data:()=>({proxyClass:"v-btn--active"}),computed:{classes(){return{"v-btn":!0,...Tn.options.computed.classes.call(this),"v-btn--absolute":this.absolute,"v-btn--block":this.block,"v-btn--bottom":this.bottom,"v-btn--disabled":this.disabled,"v-btn--is-elevated":this.isElevated,"v-btn--fab":this.fab,"v-btn--fixed":this.fixed,"v-btn--has-bg":this.hasBg,"v-btn--icon":this.icon,"v-btn--left":this.left,"v-btn--loading":this.loading,"v-btn--outlined":this.outlined,"v-btn--plain":this.plain,"v-btn--right":this.right,"v-btn--round":this.isRound,"v-btn--rounded":this.rounded,"v-btn--router":this.to,"v-btn--text":this.text,"v-btn--tile":this.tile,"v-btn--top":this.top,...this.themeClasses,...this.groupClasses,...this.elevationClasses,...this.sizeableClasses}},computedElevation(){if(!this.disabled)return dh.options.computed.computedElevation.call(this)},computedRipple(){var e;const t=this.icon||this.fab?{circle:!0}:!0;return this.disabled?!1:(e=this.ripple)!==null&&e!==void 0?e:t},hasBg(){return!this.text&&!this.plain&&!this.outlined&&!this.icon},isElevated(){return!this.icon&&!this.text&&!this.outlined&&!this.depressed&&!this.disabled&&!this.plain&&(this.elevation==null||Number(this.elevation)>0)},isRound(){return!!(this.icon||this.fab)},styles(){return{...this.measurableStyles}}},created(){[["flat","text"],["outline","outlined"],["round","rounded"]].forEach(([t,n])=>{this.$attrs.hasOwnProperty(t)&&Ni(t,n,this)})},methods:{click(e){!this.retainFocusOnClick&&!this.fab&&e.detail&&this.$el.blur(),this.$emit("click",e),this.btnToggle&&this.toggle()},genContent(){return this.$createElement("span",{staticClass:"v-btn__content"},Ae(this))},genLoader(){return this.$createElement("span",{class:"v-btn__loader"},Ae(this,"loader")||[this.$createElement(bg,{props:{indeterminate:!0,size:23,width:2}})])}},render(e){const t=[this.genContent(),this.loading&&this.genLoader()],{tag:n,data:r}=this.generateRouteLink(),a=this.hasBg?this.setBackgroundColor:this.setTextColor;return n==="button"&&(r.attrs.type=this.type,r.attrs.disabled=this.disabled),r.attrs.value=["string","number"].includes(typeof this.value)?this.value:JSON.stringify(this.value),e(n,this.disabled?r:a(this.color,r),t)}}),G2=yh("VAppBar","v-app-bar-title","v-app-bar"),Z2=G2.extend().extend({name:"v-app-bar-title",data:()=>({contentWidth:0,left:0,width:0}),watch:{"$vuetify.breakpoint.width":"updateDimensions"},computed:{styles(){if(!this.contentWidth)return{};const e=this.width,t=this.contentWidth,n=Vv(Math.min(1,this.VAppBar.scrollRatio*1.5));return{width:de(e+(t-e)*n),visibility:this.VAppBar.scrollRatio?"visible":"hidden"}}},mounted(){this.updateDimensions()},methods:{updateDimensions(){const e=this.$refs.placeholder.getBoundingClientRect();this.width=e.width,this.left=e.left,this.contentWidth=this.$refs.content.scrollWidth}},render(e){return e("div",{class:"v-toolbar__title v-app-bar-title"},[e("div",{class:"v-app-bar-title__content",style:this.styles,ref:"content"},Ae(this)),e("div",{class:"v-app-bar-title__placeholder",style:{visibility:this.VAppBar.scrollRatio?"hidden":"visible"},ref:"placeholder"},Ae(this))])}});const K2=ee.extend({name:"transitionable",props:{mode:String,origin:String,transition:String}}),X2=Me(Bt,el,K2).extend({name:"v-alert",props:{border:{type:String,validator(e){return["top","right","bottom","left"].includes(e)}},closeLabel:{type:String,default:"$vuetify.close"},coloredBorder:Boolean,dense:Boolean,dismissible:Boolean,closeIcon:{type:String,default:"$cancel"},icon:{default:"",type:[Boolean,String],validator(e){return typeof e=="string"||e===!1}},outlined:Boolean,prominent:Boolean,text:Boolean,type:{type:String,validator(e){return["info","error","success","warning"].includes(e)}},value:{type:Boolean,default:!0}},computed:{__cachedBorder(){if(!this.border)return null;let e={staticClass:"v-alert__border",class:{[`v-alert__border--${this.border}`]:!0}};return this.coloredBorder&&(e=this.setBackgroundColor(this.computedColor,e),e.class["v-alert__border--has-color"]=!0),this.$createElement("div",e)},__cachedDismissible(){if(!this.dismissible)return null;const e=this.iconColor;return this.$createElement(Qt,{staticClass:"v-alert__dismissible",props:{color:e,icon:!0,small:!0},attrs:{"aria-label":this.$vuetify.lang.t(this.closeLabel)},on:{click:()=>this.isActive=!1}},[this.$createElement(et,{props:{color:e}},this.closeIcon)])},__cachedIcon(){return this.computedIcon?this.$createElement(et,{staticClass:"v-alert__icon",props:{color:this.iconColor}},this.computedIcon):null},classes(){const e={...Bt.options.computed.classes.call(this),"v-alert--border":!!this.border,"v-alert--dense":this.dense,"v-alert--outlined":this.outlined,"v-alert--prominent":this.prominent,"v-alert--text":this.text};return this.border&&(e[`v-alert--border-${this.border}`]=!0),e},computedColor(){return this.color||this.type},computedIcon(){return this.icon===!1?!1:typeof this.icon=="string"&&this.icon?this.icon:["error","info","success","warning"].includes(this.type)?`$${this.type}`:!1},hasColoredIcon(){return this.hasText||!!this.border&&this.coloredBorder},hasText(){return this.text||this.outlined},iconColor(){return this.hasColoredIcon?this.computedColor:void 0},isDark(){return this.type&&!this.coloredBorder&&!this.outlined?!0:Ke.options.computed.isDark.call(this)}},created(){this.$attrs.hasOwnProperty("outline")&&Ni("outline","outlined",this)},methods:{genWrapper(){const e=[Ae(this,"prepend")||this.__cachedIcon,this.genContent(),this.__cachedBorder,Ae(this,"append"),this.$scopedSlots.close?this.$scopedSlots.close({toggle:this.toggle}):this.__cachedDismissible],t={staticClass:"v-alert__wrapper"};return this.$createElement("div",t,e)},genContent(){return this.$createElement("div",{staticClass:"v-alert__content"},Ae(this))},genAlert(){let e={staticClass:"v-alert",attrs:{role:"alert"},on:this.listeners$,class:this.classes,style:this.styles,directives:[{name:"show",value:this.isActive}]};return this.coloredBorder||(e=(this.hasText?this.setTextColor:this.setBackgroundColor)(this.computedColor,e)),this.$createElement("div",e,[this.genWrapper()])},toggle(){this.isActive=!this.isActive}},render(e){const t=this.genAlert();return this.transition?e("transition",{props:{name:this.transition,origin:this.origin,mode:this.mode}},[t]):t}});function ku(e=[],...t){return Array().concat(e,...t)}function _g(e,t="top center 0",n){return{name:e,functional:!0,props:{group:{type:Boolean,default:!1},hideOnLeave:{type:Boolean,default:!1},leaveAbsolute:{type:Boolean,default:!1},mode:{type:String,default:n},origin:{type:String,default:t}},render(r,a){const l=`transition${a.props.group?"-group":""}`,c={props:{name:e,mode:a.props.mode},on:{beforeEnter(d){d.style.transformOrigin=a.props.origin,d.style.webkitTransformOrigin=a.props.origin}}};return a.props.leaveAbsolute&&(c.on.leave=ku(c.on.leave,d=>{const{offsetTop:v,offsetLeft:y,offsetWidth:_,offsetHeight:k}=d;d._transitionInitialStyles={position:d.style.position,top:d.style.top,left:d.style.left,width:d.style.width,height:d.style.height},d.style.position="absolute",d.style.top=v+"px",d.style.left=y+"px",d.style.width=_+"px",d.style.height=k+"px"}),c.on.afterLeave=ku(c.on.afterLeave,d=>{if(d&&d._transitionInitialStyles){const{position:v,top:y,left:_,width:k,height:$}=d._transitionInitialStyles;delete d._transitionInitialStyles,d.style.position=v||"",d.style.top=y||"",d.style.left=_||"",d.style.width=k||"",d.style.height=$||""}})),a.props.hideOnLeave&&(c.on.leave=ku(c.on.leave,d=>{d.style.setProperty("display","none","important")})),r(l,nn(a.data,c),a.children)}}}function xg(e,t,n="in-out"){return{name:e,functional:!0,props:{mode:{type:String,default:n}},render(r,a){return r("transition",nn(a.data,{props:{name:e},on:t}),a.children)}}}function wg(e="",t=!1){const n=t?"width":"height",r=`offset${Uo(n)}`;return{beforeEnter(c){c._parent=c.parentNode,c._initialStyle={transition:c.style.transition,overflow:c.style.overflow,[n]:c.style[n]}},enter(c){const d=c._initialStyle;c.style.setProperty("transition","none","important"),c.style.overflow="hidden";const v=`${c[r]}px`;c.style[n]="0",c.offsetHeight,c.style.transition=d.transition,e&&c._parent&&c._parent.classList.add(e),requestAnimationFrame(()=>{c.style[n]=v})},afterEnter:l,enterCancelled:l,leave(c){c._initialStyle={transition:"",overflow:c.style.overflow,[n]:c.style[n]},c.style.overflow="hidden",c.style[n]=`${c[r]}px`,c.offsetHeight,requestAnimationFrame(()=>c.style[n]="0")},afterLeave:a,leaveCancelled:a};function a(c){e&&c._parent&&c._parent.classList.remove(e),l(c)}function l(c){const d=c._initialStyle[n];c.style.overflow=c._initialStyle.overflow,d!=null&&(c.style[n]=d),delete c._initialStyle}}const J2=_g("fade-transition"),Q2=_g("slide-x-transition");xg("expand-transition",wg());const eC=xg("expand-x-transition",wg("",!0)),zs=Me(mt,gh,Tn,Ke,tl("chipGroup"),Qo("inputValue")).extend({name:"v-chip",props:{active:{type:Boolean,default:!0},activeClass:{type:String,default(){return this.chipGroup?this.chipGroup.activeClass:""}},close:Boolean,closeIcon:{type:String,default:"$delete"},closeLabel:{type:String,default:"$vuetify.close"},disabled:Boolean,draggable:Boolean,filter:Boolean,filterIcon:{type:String,default:"$complete"},label:Boolean,link:Boolean,outlined:Boolean,pill:Boolean,tag:{type:String,default:"span"},textColor:String,value:null},data:()=>({proxyClass:"v-chip--active"}),computed:{classes(){return{"v-chip":!0,...Tn.options.computed.classes.call(this),"v-chip--clickable":this.isClickable,"v-chip--disabled":this.disabled,"v-chip--draggable":this.draggable,"v-chip--label":this.label,"v-chip--link":this.isLink,"v-chip--no-color":!this.color,"v-chip--outlined":this.outlined,"v-chip--pill":this.pill,"v-chip--removable":this.hasClose,...this.themeClasses,...this.sizeableClasses,...this.groupClasses}},hasClose(){return!!this.close},isClickable(){return!!(Tn.options.computed.isClickable.call(this)||this.chipGroup)}},created(){[["outline","outlined"],["selected","input-value"],["value","active"],["@input","@active.sync"]].forEach(([t,n])=>{this.$attrs.hasOwnProperty(t)&&Ni(t,n,this)})},methods:{click(e){this.$emit("click",e),this.chipGroup&&this.toggle()},genFilter(){const e=[];return this.isActive&&e.push(this.$createElement(et,{staticClass:"v-chip__filter",props:{left:!0}},this.filterIcon)),this.$createElement(eC,e)},genClose(){return this.$createElement(et,{staticClass:"v-chip__close",props:{right:!0,size:18},attrs:{"aria-label":this.$vuetify.lang.t(this.closeLabel)},on:{click:e=>{e.stopPropagation(),e.preventDefault(),this.$emit("click:close"),this.$emit("update:active",!1)}}},this.closeIcon)},genContent(){return this.$createElement("span",{staticClass:"v-chip__content"},[this.filter&&this.genFilter(),Ae(this),this.hasClose&&this.genClose()])}},render(e){const t=[this.genContent()];let{tag:n,data:r}=this.generateRouteLink();r.attrs={...r.attrs,draggable:this.draggable?"true":void 0,tabindex:this.chipGroup&&!this.disabled?0:r.attrs.tabindex},r.directives.push({name:"show",value:this.active}),r=this.setBackgroundColor(this.color,r);const a=this.textColor||this.outlined&&this.color;return e(n,this.setTextColor(a,r),t)}});const Sg=Ke.extend({name:"v-theme-provider",props:{root:Boolean},computed:{isDark(){return this.root?this.rootIsDark:Ke.options.computed.isDark.call(this)}},render(){return this.$slots.default&&this.$slots.default.find(e=>!e.isComment&&e.text!==" ")}}),kg=ee.extend().extend({name:"delayable",props:{openDelay:{type:[Number,String],default:0},closeDelay:{type:[Number,String],default:0}},data:()=>({openTimeout:void 0,closeTimeout:void 0}),methods:{clearDelay(){clearTimeout(this.openTimeout),clearTimeout(this.closeTimeout)},runDelay(e,t){this.clearDelay();const n=parseInt(this[`${e}Delay`],10);this[`${e}Timeout`]=setTimeout(t||(()=>{this.isActive={open:!0,close:!1}[e]}),n)}}}),tC=Me(kg,el),nl=tC.extend({name:"activatable",props:{activator:{default:null,validator:e=>["string","object"].includes(typeof e)},disabled:Boolean,internalActivator:Boolean,openOnClick:{type:Boolean,default:!0},openOnHover:Boolean,openOnFocus:Boolean},data:()=>({activatorElement:null,activatorNode:[],events:["click","mouseenter","mouseleave","focus"],listeners:{}}),watch:{activator:"resetActivator",openOnFocus:"resetActivator",openOnHover:"resetActivator"},mounted(){const e=Mk(this,"activator",!0);e&&["v-slot","normal"].includes(e)&&Mn(`The activator slot must be bound, try '<template v-slot:activator="{ on }"><v-btn v-on="on">'`,this),this.addActivatorEvents()},beforeDestroy(){this.removeActivatorEvents()},methods:{addActivatorEvents(){if(!this.activator||this.disabled||!this.getActivator())return;this.listeners=this.genActivatorListeners();const e=Object.keys(this.listeners);for(const t of e)this.getActivator().addEventListener(t,this.listeners[t])},genActivator(){const e=Ae(this,"activator",Object.assign(this.getValueProxy(),{on:this.genActivatorListeners(),attrs:this.genActivatorAttributes()}))||[];return this.activatorNode=e,e},genActivatorAttributes(){return{role:this.openOnClick&&!this.openOnHover?"button":void 0,"aria-haspopup":!0,"aria-expanded":String(this.isActive)}},genActivatorListeners(){if(this.disabled)return{};const e={};return this.openOnHover?(e.mouseenter=t=>{this.getActivator(t),this.runDelay("open")},e.mouseleave=t=>{this.getActivator(t),this.runDelay("close")}):this.openOnClick&&(e.click=t=>{const n=this.getActivator(t);n&&n.focus(),t.stopPropagation(),this.isActive=!this.isActive}),this.openOnFocus&&(e.focus=t=>{this.getActivator(t),t.stopPropagation(),this.isActive=!this.isActive}),e},getActivator(e){if(this.activatorElement)return this.activatorElement;let t=null;if(this.activator){const n=this.internalActivator?this.$el:document;typeof this.activator=="string"?t=n.querySelector(this.activator):this.activator.$el?t=this.activator.$el:t=this.activator}else if(this.activatorNode.length===1||this.activatorNode.length&&!e){const n=this.activatorNode[0].componentInstance;n&&n.$options.mixins&&n.$options.mixins.some(r=>r.options&&["activatable","menuable"].includes(r.options.name))?t=n.getActivator():t=this.activatorNode[0].elm}else e&&(t=e.currentTarget||e.target);return this.activatorElement=t?.nodeType===Node.ELEMENT_NODE?t:null,this.activatorElement},getContentSlot(){return Ae(this,"default",this.getValueProxy(),!0)},getValueProxy(){const e=this;return{get value(){return e.isActive},set value(t){e.isActive=t}}},removeActivatorEvents(){if(!this.activator||!this.activatorElement)return;const e=Object.keys(this.listeners);for(const t of e)this.activatorElement.removeEventListener(t,this.listeners[t]);this.listeners={}},resetActivator(){this.removeActivatorEvents(),this.activatorElement=null,this.getActivator(),this.addActivatorEvents()}}});function Cg(e){const t=[];for(let n=0;n<e.length;n++){const r=e[n];r.isActive&&r.isDependent?t.push(r):t.push(...Cg(r.$children))}return t}const bh=Me().extend({name:"dependent",data(){return{closeDependents:!0,isActive:!1,isDependent:!0}},watch:{isActive(e){if(e)return;const t=this.getOpenDependents();for(let n=0;n<t.length;n++)t[n].isActive=!1}},methods:{getOpenDependents(){return this.closeDependents?Cg(this.$children):[]},getOpenDependentElements(){const e=[],t=this.getOpenDependents();for(let n=0;n<t.length;n++)e.push(...t[n].getClickableDependentElements());return e},getClickableDependentElements(){const e=[this.$el];return this.$refs.content&&e.push(this.$refs.content),this.overlay&&e.push(this.overlay.$el),e.push(...this.getOpenDependentElements()),e}}}),$g=ee.extend().extend({name:"stackable",data(){return{stackElement:null,stackExclude:null,stackMinZIndex:0,isActive:!1}},computed:{activeZIndex(){if(typeof window>"u")return 0;const e=this.stackElement||this.$refs.content,t=this.isActive?this.getMaxZIndex(this.stackExclude||[e])+2:wa(e);return t==null?t:parseInt(t)}},methods:{getMaxZIndex(e=[]){const t=this.$el,n=[this.stackMinZIndex,wa(t)],r=[...document.getElementsByClassName("v-menu__content--active"),...document.getElementsByClassName("v-dialog__content--active")];for(let a=0;a<r.length;a++)e.includes(r[a])||n.push(wa(r[a]));return Math.max(...n)}}}),nC=ee.extend().extend({name:"bootable",props:{eager:Boolean},data:()=>({isBooted:!1}),computed:{hasContent(){return this.isBooted||this.eager||this.isActive}},watch:{isActive(){this.isBooted=!0}},created(){"lazy"in this.$attrs&&Ko("lazy",this)},methods:{showLazyContent(e){return this.hasContent&&e?e():[this.$createElement()]}}});function rC(e){const t=typeof e;return t==="boolean"||t==="string"?!0:e.nodeType===Node.ELEMENT_NODE}function Mp(e){e.forEach(t=>{t.elm&&t.elm.parentNode&&t.elm.parentNode.removeChild(t.elm)})}const Mg=Me(nC).extend({name:"detachable",props:{attach:{default:!1,validator:rC},contentClass:{type:String,default:""}},data:()=>({activatorNode:null,hasDetached:!1}),watch:{attach(){this.hasDetached=!1,this.initDetach()},hasContent(){this.$nextTick(this.initDetach)}},beforeMount(){this.$nextTick(()=>{this.activatorNode&&(Array.isArray(this.activatorNode)?this.activatorNode:[this.activatorNode]).forEach(t=>{if(!t.elm||!this.$el.parentNode)return;const n=this.$el===this.$el.parentNode.firstChild?this.$el:this.$el.nextSibling;this.$el.parentNode.insertBefore(t.elm,n)})})},mounted(){this.hasContent&&this.initDetach()},deactivated(){this.isActive=!1},beforeDestroy(){this.$refs.content&&this.$refs.content.parentNode&&this.$refs.content.parentNode.removeChild(this.$refs.content)},destroyed(){if(this.activatorNode){const e=Array.isArray(this.activatorNode)?this.activatorNode:[this.activatorNode];if(this.$el.isConnected){const t=new MutationObserver(n=>{n.some(r=>Array.from(r.removedNodes).includes(this.$el))&&(t.disconnect(),Mp(e))});t.observe(this.$el.parentNode,{subtree:!1,childList:!0})}else Mp(e)}},methods:{getScopeIdAttrs(){const e=Vt(this.$vnode,"context.$options._scopeId");return e&&{[e]:""}},initDetach(){if(this._isDestroyed||!this.$refs.content||this.hasDetached||this.attach===""||this.attach===!0||this.attach==="attach")return;let e;if(this.attach===!1?e=document.querySelector("[data-app]"):typeof this.attach=="string"?e=document.querySelector(this.attach):e=this.attach,!e){Et(`Unable to locate target ${this.attach||"[data-app]"}`,this);return}e.appendChild(this.$refs.content),this.hasDetached=!0}}}),iC=Me($g,Jo(["top","right","bottom","left","absolute"]),nl,Mg),Tg=iC.extend().extend({name:"menuable",props:{allowOverflow:Boolean,light:Boolean,dark:Boolean,maxWidth:{type:[Number,String],default:"auto"},minWidth:[Number,String],nudgeBottom:{type:[Number,String],default:0},nudgeLeft:{type:[Number,String],default:0},nudgeRight:{type:[Number,String],default:0},nudgeTop:{type:[Number,String],default:0},nudgeWidth:{type:[Number,String],default:0},offsetOverflow:Boolean,positionX:{type:Number,default:null},positionY:{type:Number,default:null},zIndex:{type:[Number,String],default:null}},data:()=>({activatorNode:[],absoluteX:0,absoluteY:0,activatedBy:null,activatorFixed:!1,dimensions:{activator:{top:0,left:0,bottom:0,right:0,width:0,height:0,offsetTop:0,scrollHeight:0,offsetLeft:0},content:{top:0,left:0,bottom:0,right:0,width:0,height:0,offsetTop:0,scrollHeight:0}},relativeYOffset:0,hasJustFocused:!1,hasWindow:!1,inputActivator:!1,isContentActive:!1,pageWidth:0,pageYOffset:0,stackClass:"v-menu__content--active",stackMinZIndex:6}),computed:{computedLeft(){const e=this.dimensions.activator,t=this.dimensions.content,n=(this.attach!==!1?e.offsetLeft:e.left)||0,r=Math.max(e.width,t.width);let a=0;if(a+=n,(this.left||this.$vuetify.rtl&&!this.right)&&(a-=r-e.width),this.offsetX){const l=isNaN(Number(this.maxWidth))?e.width:Math.min(e.width,Number(this.maxWidth));a+=this.left?-l:e.width}return this.nudgeLeft&&(a-=parseInt(this.nudgeLeft)),this.nudgeRight&&(a+=parseInt(this.nudgeRight)),a},computedTop(){const e=this.dimensions.activator,t=this.dimensions.content;let n=0;return this.top&&(n+=e.height-t.height),this.attach!==!1?n+=e.offsetTop:n+=e.top+this.pageYOffset,this.offsetY&&(n+=this.top?-e.height:e.height),this.nudgeTop&&(n-=parseInt(this.nudgeTop)),this.nudgeBottom&&(n+=parseInt(this.nudgeBottom)),n},hasActivator(){return!!this.$slots.activator||!!this.$scopedSlots.activator||!!this.activator||!!this.inputActivator},absoluteYOffset(){return this.pageYOffset-this.relativeYOffset}},watch:{disabled(e){e&&this.callDeactivate()},isActive(e){this.disabled||(e?this.callActivate():this.callDeactivate())},positionX:"updateDimensions",positionY:"updateDimensions"},beforeMount(){this.hasWindow=typeof window<"u",this.hasWindow&&window.addEventListener("resize",this.updateDimensions,!1)},beforeDestroy(){this.hasWindow&&window.removeEventListener("resize",this.updateDimensions,!1)},methods:{absolutePosition(){return{offsetTop:this.positionY||this.absoluteY,offsetLeft:this.positionX||this.absoluteX,scrollHeight:0,top:this.positionY||this.absoluteY,bottom:this.positionY||this.absoluteY,left:this.positionX||this.absoluteX,right:this.positionX||this.absoluteX,height:0,width:0}},activate(){},calcLeft(e){return de(this.attach!==!1?this.computedLeft:this.calcXOverflow(this.computedLeft,e))},calcTop(){return de(this.attach!==!1?this.computedTop:this.calcYOverflow(this.computedTop))},calcXOverflow(e,t){const n=e+t-this.pageWidth+12;return(!this.left||this.right)&&n>0?e=Math.max(e-n,0):e=Math.max(e,12),e+this.getOffsetLeft()},calcYOverflow(e){const t=this.getInnerHeight(),n=this.absoluteYOffset+t,r=this.dimensions.activator,a=this.dimensions.content.height,l=e+a,c=n<l;return c&&this.offsetOverflow&&r.top>a?e=this.pageYOffset+(r.top-a):c&&!this.allowOverflow?e=n-a-12:e<this.absoluteYOffset&&!this.allowOverflow&&(e=this.absoluteYOffset+12),e<12?12:e},callActivate(){this.hasWindow&&this.activate()},callDeactivate(){this.isContentActive=!1,this.deactivate()},checkForPageYOffset(){this.hasWindow&&(this.pageYOffset=this.activatorFixed?0:this.getOffsetTop())},checkActivatorFixed(){if(this.attach!==!1){this.activatorFixed=!1;return}let e=this.getActivator();for(;e;){if(window.getComputedStyle(e).position==="fixed"){this.activatorFixed=!0;return}e=e.offsetParent}this.activatorFixed=!1},deactivate(){},genActivatorListeners(){const e=nl.options.methods.genActivatorListeners.call(this),t=e.click;return t&&(e.click=n=>{this.openOnClick&&t&&t(n),this.absoluteX=n.clientX,this.absoluteY=n.clientY}),e},getInnerHeight(){return this.hasWindow?window.innerHeight||document.documentElement.clientHeight:0},getOffsetLeft(){return this.hasWindow?window.pageXOffset||document.documentElement.scrollLeft:0},getOffsetTop(){return this.hasWindow?window.pageYOffset||document.documentElement.scrollTop:0},getRoundedBoundedClientRect(e){const t=e.getBoundingClientRect();return{top:Math.round(t.top),left:Math.round(t.left),bottom:Math.round(t.bottom),right:Math.round(t.right),width:Math.round(t.width),height:Math.round(t.height)}},measure(e){if(!e||!this.hasWindow)return null;const t=this.getRoundedBoundedClientRect(e);if(this.attach!==!1){const n=window.getComputedStyle(e);t.left=parseInt(n.marginLeft),t.top=parseInt(n.marginTop)}return t},sneakPeek(e){requestAnimationFrame(()=>{const t=this.$refs.content;if(!t||t.style.display!=="none"){e();return}t.style.display="inline-block",e(),t.style.display="none"})},startTransition(){return new Promise(e=>requestAnimationFrame(()=>{this.isContentActive=this.hasJustFocused=this.isActive,e()}))},updateDimensions(){this.hasWindow=typeof window<"u",this.checkActivatorFixed(),this.checkForPageYOffset(),this.pageWidth=document.documentElement.clientWidth;const e={activator:{...this.dimensions.activator},content:{...this.dimensions.content}};if(!this.hasActivator||this.absolute)e.activator=this.absolutePosition();else{const t=this.getActivator();if(!t)return;e.activator=this.measure(t),e.activator.offsetLeft=t.offsetLeft,this.attach!==!1?e.activator.offsetTop=t.offsetTop:e.activator.offsetTop=0}this.sneakPeek(()=>{if(this.$refs.content){if(this.$refs.content.offsetParent){const t=this.getRoundedBoundedClientRect(this.$refs.content.offsetParent);this.relativeYOffset=window.pageYOffset+t.top,e.activator.top-=this.relativeYOffset,e.activator.left-=window.pageXOffset+t.left}e.content=this.measure(this.$refs.content)}this.dimensions=e})}}}),Og=ee.extend({name:"returnable",props:{returnValue:null},data:()=>({isActive:!1,originalValue:null}),watch:{isActive(e){e?this.originalValue=this.returnValue:this.$emit("update:return-value",this.originalValue)}},methods:{save(e){this.originalValue=e,setTimeout(()=>{this.isActive=!1})}}}),aC=Me(bh,kg,Og,ph,Ke,Tg),_h=aC.extend({name:"v-menu",directives:{ClickOutside:mh,Resize:ug},provide(){return{isInMenu:!0,theme:this.theme}},props:{auto:Boolean,closeOnClick:{type:Boolean,default:!0},closeOnContentClick:{type:Boolean,default:!0},disabled:Boolean,disableKeys:Boolean,maxHeight:{type:[Number,String],default:"auto"},offsetX:Boolean,offsetY:Boolean,openOnHover:Boolean,origin:{type:String,default:"top left"},transition:{type:[Boolean,String],default:"v-menu-transition"},contentProps:{type:Object,default:()=>({})}},data(){return{calculatedTopAuto:0,defaultOffset:8,hasJustFocused:!1,listIndex:-1,resizeTimeout:0,selectedIndex:null,tiles:[]}},computed:{activeTile(){return this.tiles[this.listIndex]},calculatedLeft(){const e=Math.max(this.dimensions.content.width,parseFloat(this.calculatedMinWidth));return this.auto?de(this.calcXOverflow(this.calcLeftAuto(),e))||"0":this.calcLeft(e)||"0"},calculatedMaxHeight(){return(this.auto?"200px":de(this.maxHeight))||"0"},calculatedMaxWidth(){return de(this.maxWidth)||"0"},calculatedMinWidth(){if(this.minWidth)return de(this.minWidth)||"0";const e=Math.min(this.dimensions.activator.width+Number(this.nudgeWidth)+(this.auto?16:0),Math.max(this.pageWidth-24,0)),t=isNaN(parseInt(this.calculatedMaxWidth))?e:parseInt(this.calculatedMaxWidth);return de(Math.min(t,e))||"0"},calculatedTop(){return(this.auto?de(this.calcYOverflow(this.calculatedTopAuto)):this.calcTop())||"0"},hasClickableTiles(){return!!this.tiles.find(e=>e.tabIndex>-1)},styles(){return{maxHeight:this.calculatedMaxHeight,minWidth:this.calculatedMinWidth,maxWidth:this.calculatedMaxWidth,top:this.calculatedTop,left:this.calculatedLeft,transformOrigin:this.origin,zIndex:this.zIndex||this.activeZIndex}}},watch:{isActive(e){e||(this.listIndex=-1)},isContentActive(e){this.hasJustFocused=e},listIndex(e,t){if(e in this.tiles){const n=this.tiles[e];n.classList.add("v-list-item--highlighted");const r=this.$refs.content.scrollTop,a=this.$refs.content.clientHeight;r>n.offsetTop-8?ii(n.offsetTop-n.clientHeight,{appOffset:!1,duration:300,container:this.$refs.content}):r+a<n.offsetTop+n.clientHeight+8&&ii(n.offsetTop-a+n.clientHeight*2,{appOffset:!1,duration:300,container:this.$refs.content})}t in this.tiles&&this.tiles[t].classList.remove("v-list-item--highlighted")}},created(){this.$attrs.hasOwnProperty("full-width")&&Ko("full-width",this)},mounted(){this.isActive&&this.callActivate()},methods:{activate(){this.updateDimensions(),requestAnimationFrame(()=>{this.startTransition().then(()=>{this.$refs.content&&(this.calculatedTopAuto=this.calcTopAuto(),this.auto&&(this.$refs.content.scrollTop=this.calcScrollPosition()))})})},calcScrollPosition(){const e=this.$refs.content,t=e.querySelector(".v-list-item--active"),n=e.scrollHeight-e.offsetHeight;return t?Math.min(n,Math.max(0,t.offsetTop-e.offsetHeight/2+t.offsetHeight/2)):e.scrollTop},calcLeftAuto(){return parseInt(this.dimensions.activator.left-this.defaultOffset*2)},calcTopAuto(){const e=this.$refs.content,t=e.querySelector(".v-list-item--active");if(t||(this.selectedIndex=null),this.offsetY||!t)return this.computedTop;this.selectedIndex=Array.from(this.tiles).indexOf(t);const n=t.offsetTop-this.calcScrollPosition(),r=e.querySelector(".v-list-item").offsetTop;return this.computedTop-n-r-1},changeListIndex(e){if(this.getTiles(),!(!this.isActive||!this.hasClickableTiles)){if(e.keyCode===me.tab){this.isActive=!1;return}else if(e.keyCode===me.down)this.nextTile();else if(e.keyCode===me.up)this.prevTile();else if(e.keyCode===me.end)this.lastTile();else if(e.keyCode===me.home)this.firstTile();else if(e.keyCode===me.enter&&this.listIndex!==-1)this.tiles[this.listIndex].click();else return;e.preventDefault()}},closeConditional(e){const t=e.target;return this.isActive&&!this._isDestroyed&&this.closeOnClick&&!this.$refs.content.contains(t)},genActivatorAttributes(){const e=nl.options.methods.genActivatorAttributes.call(this);return this.activeTile&&this.activeTile.id?{...e,"aria-activedescendant":this.activeTile.id}:e},genActivatorListeners(){const e=Tg.options.methods.genActivatorListeners.call(this);return this.disableKeys||(e.keydown=this.onKeyDown),e},genTransition(){const e=this.genContent();return this.transition?this.$createElement("transition",{props:{name:this.transition}},[e]):e},genDirectives(){const e=[{name:"show",value:this.isContentActive}];return!this.openOnHover&&this.closeOnClick&&e.push({name:"click-outside",value:{handler:()=>{this.isActive=!1},closeConditional:this.closeConditional,include:()=>[this.$el,...this.getOpenDependentElements()]}}),e},genContent(){const e={attrs:{...this.getScopeIdAttrs(),...this.contentProps,role:"role"in this.$attrs?this.$attrs.role:"menu"},staticClass:"v-menu__content",class:{...this.rootThemeClasses,...this.roundedClasses,"v-menu__content--auto":this.auto,"v-menu__content--fixed":this.activatorFixed,menuable__content__active:this.isActive,[this.contentClass.trim()]:!0},style:this.styles,directives:this.genDirectives(),ref:"content",on:{click:t=>{t.target.getAttribute("disabled")||this.closeOnContentClick&&(this.isActive=!1)},keydown:this.onKeyDown}};return this.$listeners.scroll&&(e.on=e.on||{},e.on.scroll=this.$listeners.scroll),!this.disabled&&this.openOnHover&&(e.on=e.on||{},e.on.mouseenter=this.mouseEnterHandler),this.openOnHover&&(e.on=e.on||{},e.on.mouseleave=this.mouseLeaveHandler),this.$createElement("div",e,this.getContentSlot())},getTiles(){this.$refs.content&&(this.tiles=Array.from(this.$refs.content.querySelectorAll(".v-list-item, .v-divider, .v-subheader")))},mouseEnterHandler(){this.runDelay("open",()=>{this.hasJustFocused||(this.hasJustFocused=!0)})},mouseLeaveHandler(e){this.runDelay("close",()=>{var t;!((t=this.$refs.content)===null||t===void 0)&&t.contains(e.relatedTarget)||requestAnimationFrame(()=>{this.isActive=!1,this.callDeactivate()})})},nextTile(){const e=this.tiles[this.listIndex+1];if(!e){if(!this.tiles.length)return;this.listIndex=-1,this.nextTile();return}this.listIndex++,e.tabIndex===-1&&this.nextTile()},prevTile(){const e=this.tiles[this.listIndex-1];if(!e){if(!this.tiles.length)return;this.listIndex=this.tiles.length,this.prevTile();return}this.listIndex--,e.tabIndex===-1&&this.prevTile()},lastTile(){const e=this.tiles[this.tiles.length-1];e&&(this.listIndex=this.tiles.length-1,e.tabIndex===-1&&this.prevTile())},firstTile(){const e=this.tiles[0];e&&(this.listIndex=0,e.tabIndex===-1&&this.nextTile())},onKeyDown(e){if(!this.disableKeys){if(e.keyCode===me.esc){setTimeout(()=>{this.isActive=!1});const t=this.getActivator();this.$nextTick(()=>t&&t.focus())}else!this.isActive&&[me.up,me.down].includes(e.keyCode)&&(this.isActive=!0);this.$nextTick(()=>this.changeListIndex(e))}},onResize(){this.isActive&&(this.$refs.content.offsetWidth,this.updateDimensions(),clearTimeout(this.resizeTimeout),this.resizeTimeout=window.setTimeout(this.updateDimensions,100))}},render(e){const t={staticClass:"v-menu",class:{"v-menu--attached":this.attach===""||this.attach===!0||this.attach==="attach"},directives:[{arg:"500",name:"resize",value:this.onResize}]};return e("div",t,[!this.activator&&this.genActivator(),this.showLazyContent(()=>[this.$createElement(Sg,{props:{root:!0,light:this.light,dark:this.dark}},[this.genTransition()])])])}});const sC=ee.extend({name:"v-simple-checkbox",functional:!0,directives:{Ripple:Bi},props:{...mt.options.props,...Ke.options.props,disabled:Boolean,ripple:{type:Boolean,default:!0},value:Boolean,indeterminate:Boolean,indeterminateIcon:{type:String,default:"$checkboxIndeterminate"},onIcon:{type:String,default:"$checkboxOn"},offIcon:{type:String,default:"$checkboxOff"}},render(e,{props:t,data:n,listeners:r}){const a=[];let l=t.offIcon;if(t.indeterminate?l=t.indeterminateIcon:t.value&&(l=t.onIcon),a.push(e(et,mt.options.methods.setTextColor(t.value&&t.color,{props:{disabled:t.disabled,dark:t.dark,light:t.light}}),l)),t.ripple&&!t.disabled){const c=e("div",mt.options.methods.setTextColor(t.color,{staticClass:"v-input--selection-controls__ripple",directives:[{def:Bi,name:"ripple",value:{center:!0}}]}));a.push(c)}return e("div",nn(n,{class:{"v-simple-checkbox":!0,"v-simple-checkbox--disabled":t.disabled},on:{click:c=>{c.stopPropagation(),n.on&&n.on.input&&!t.disabled&&hh(n.on.input).forEach(d=>d(!t.value))}}}),[e("div",{staticClass:"v-input--selection-controls__input"},a)])}});const oC=Ke.extend({name:"v-divider",props:{inset:Boolean,vertical:Boolean},render(e){let t;return(!this.$attrs.role||this.$attrs.role==="separator")&&(t=this.vertical?"vertical":"horizontal"),e("hr",{class:{"v-divider":!0,"v-divider--inset":this.inset,"v-divider--vertical":this.vertical,...this.themeClasses},attrs:{role:"separator","aria-orientation":t,...this.$attrs},on:this.$listeners})}});const lC=Me(Ke).extend({name:"v-subheader",props:{inset:Boolean},render(e){return e("div",{staticClass:"v-subheader",class:{"v-subheader--inset":this.inset,...this.themeClasses},attrs:this.$attrs,on:this.$listeners},Ae(this))}});const Xa=Bt.extend().extend({name:"v-list",provide(){return{isInList:!0,list:this}},inject:{isInMenu:{default:!1},isInNav:{default:!1}},props:{dense:Boolean,disabled:Boolean,expand:Boolean,flat:Boolean,nav:Boolean,rounded:Boolean,subheader:Boolean,threeLine:Boolean,twoLine:Boolean},data:()=>({groups:[]}),computed:{classes(){return{...Bt.options.computed.classes.call(this),"v-list--dense":this.dense,"v-list--disabled":this.disabled,"v-list--flat":this.flat,"v-list--nav":this.nav,"v-list--rounded":this.rounded,"v-list--subheader":this.subheader,"v-list--two-line":this.twoLine,"v-list--three-line":this.threeLine}}},methods:{register(e){this.groups.push(e)},unregister(e){const t=this.groups.findIndex(n=>n._uid===e._uid);t>-1&&this.groups.splice(t,1)},listClick(e){if(!this.expand)for(const t of this.groups)t.toggle(e)}},render(e){const t={staticClass:"v-list",class:this.classes,style:this.styles,attrs:{role:this.isInNav||this.isInMenu?void 0:"list",...this.attrs$},on:this.listeners$};return e(this.tag,this.setBackgroundColor(this.color,t),Ae(this))}});const uC=Me(mt,Tn,Ke,tl("listItemGroup"),Qo("inputValue")),en=uC.extend().extend({name:"v-list-item",directives:{Ripple:Bi},inject:{isInGroup:{default:!1},isInList:{default:!1},isInMenu:{default:!1},isInNav:{default:!1}},inheritAttrs:!1,props:{activeClass:{type:String,default(){return this.listItemGroup?this.listItemGroup.activeClass:""}},dense:Boolean,inactive:Boolean,link:Boolean,selectable:{type:Boolean},tag:{type:String,default:"div"},threeLine:Boolean,twoLine:Boolean,value:null},data:()=>({proxyClass:"v-list-item--active"}),computed:{classes(){return{"v-list-item":!0,...Tn.options.computed.classes.call(this),"v-list-item--dense":this.dense,"v-list-item--disabled":this.disabled,"v-list-item--link":this.isClickable&&!this.inactive,"v-list-item--selectable":this.selectable,"v-list-item--three-line":this.threeLine,"v-list-item--two-line":this.twoLine,...this.themeClasses}},isClickable(){return!!(Tn.options.computed.isClickable.call(this)||this.listItemGroup)}},created(){this.$attrs.hasOwnProperty("avatar")&&Ko("avatar",this)},methods:{click(e){e.detail&&this.$el.blur(),this.$emit("click",e),this.to||this.toggle()},genAttrs(){const e={"aria-disabled":this.disabled?!0:void 0,tabindex:this.isClickable&&!this.disabled?0:-1,...this.$attrs};return this.$attrs.hasOwnProperty("role")||this.isInNav||(this.isInGroup?(e.role="option",e["aria-selected"]=String(this.isActive)):this.isInMenu?(e.role=this.isClickable?"menuitem":void 0,e.id=e.id||`list-item-${this._uid}`):this.isInList&&(e.role="listitem")),e},toggle(){this.to&&this.inputValue===void 0&&(this.isActive=!this.isActive),this.$emit("change")}},render(e){let{tag:t,data:n}=this.generateRouteLink();n.attrs={...n.attrs,...this.genAttrs()},n[this.to?"nativeOn":"on"]={...n[this.to?"nativeOn":"on"],keydown:a=>{this.disabled||(a.keyCode===me.enter&&this.click(a),this.$emit("keydown",a))}},this.inactive&&(t="div"),this.inactive&&this.to&&(n.on=n.nativeOn,delete n.nativeOn);const r=Ae(this,"default",{active:this.isActive,toggle:this.toggle});return e(t,this.isActive?this.setTextColor(this.color,n):n,r)}}),Hs=ee.extend({name:"v-list-item-icon",functional:!0,render(e,{data:t,children:n}){return t.staticClass=`v-list-item__icon ${t.staticClass||""}`.trim(),e("div",t,n)}});const Ag=ee.extend({name:"comparable",props:{valueComparator:{type:Function,default:ch}}});function cC(e="value",t="change"){return ee.extend({name:"proxyable",model:{prop:e,event:t},props:{[e]:{required:!1}},data(){return{internalLazyValue:this[e]}},computed:{internalValue:{get(){return this.internalLazyValue},set(n){n!==this.internalLazyValue&&(this.internalLazyValue=n,this.$emit(t,n))}}},watch:{[e](n){this.internalLazyValue=n}}})}const hC=cC(),Dg=hC,Ws=Me(Ag,Dg,Ke).extend({name:"base-item-group",props:{activeClass:{type:String,default:"v-item--active"},mandatory:Boolean,max:{type:[Number,String],default:null},multiple:Boolean,tag:{type:String,default:"div"}},data(){return{internalLazyValue:this.value!==void 0?this.value:this.multiple?[]:void 0,items:[]}},computed:{classes(){return{"v-item-group":!0,...this.themeClasses}},selectedIndex(){return this.selectedItem&&this.items.indexOf(this.selectedItem)||-1},selectedItem(){if(!this.multiple)return this.selectedItems[0]},selectedItems(){return this.items.filter((e,t)=>this.toggleMethod(this.getValue(e,t)))},selectedValues(){return this.internalValue==null?[]:Array.isArray(this.internalValue)?this.internalValue:[this.internalValue]},toggleMethod(){if(!this.multiple)return t=>this.valueComparator(this.internalValue,t);const e=this.internalValue;return Array.isArray(e)?t=>e.some(n=>this.valueComparator(n,t)):()=>!1}},watch:{internalValue:"updateItemsState",items:"updateItemsState"},created(){this.multiple&&!Array.isArray(this.internalValue)&&Et("Model must be bound to an array if the multiple property is true.",this)},methods:{genData(){return{class:this.classes}},getValue(e,t){return e.value===void 0?t:e.value},onClick(e){this.updateInternalValue(this.getValue(e,this.items.indexOf(e)))},register(e){const t=this.items.push(e)-1;e.$on("change",()=>this.onClick(e)),this.mandatory&&!this.selectedValues.length&&this.updateMandatory(),this.updateItem(e,t)},unregister(e){if(this._isDestroyed)return;const t=this.items.indexOf(e),n=this.getValue(e,t);if(this.items.splice(t,1),!(this.selectedValues.indexOf(n)<0)){if(!this.mandatory)return this.updateInternalValue(n);this.multiple&&Array.isArray(this.internalValue)?this.internalValue=this.internalValue.filter(a=>a!==n):this.internalValue=void 0,this.selectedItems.length||this.updateMandatory(!0)}},updateItem(e,t){const n=this.getValue(e,t);e.isActive=this.toggleMethod(n)},updateItemsState(){this.$nextTick(()=>{if(this.mandatory&&!this.selectedItems.length)return this.updateMandatory();this.items.forEach(this.updateItem)})},updateInternalValue(e){this.multiple?this.updateMultiple(e):this.updateSingle(e)},updateMandatory(e){if(!this.items.length)return;const t=this.items.slice();e&&t.reverse();const n=t.find(a=>!a.disabled);if(!n)return;const r=this.items.indexOf(n);this.updateInternalValue(this.getValue(n,r))},updateMultiple(e){const n=(Array.isArray(this.internalValue)?this.internalValue:[]).slice(),r=n.findIndex(a=>this.valueComparator(a,e));this.mandatory&&r>-1&&n.length-1<1||this.max!=null&&r<0&&n.length+1>this.max||(r>-1?n.splice(r,1):n.push(e),this.internalValue=n)},updateSingle(e){const t=this.valueComparator(this.internalValue,e);this.mandatory&&t||(this.internalValue=t?void 0:e)}},render(e){return e(this.tag,this.genData(),Ae(this))}});Ws.extend({name:"v-item-group",provide(){return{itemGroup:this}}});const hc=Me(Ws,mt).extend({name:"v-list-item-group",provide(){return{isInGroup:!0,listItemGroup:this}},computed:{classes(){return{...Ws.options.computed.classes.call(this),"v-list-item-group":!0}}},methods:{genData(){return this.setTextColor(this.color,{...Ws.options.methods.genData.call(this),attrs:{role:"listbox"}})}}}),fC=ee.extend({name:"v-list-item-action",functional:!0,render(e,{data:t,children:n=[]}){return t.staticClass=t.staticClass?`v-list-item__action ${t.staticClass}`:"v-list-item__action",n.filter(a=>a.isComment===!1&&a.text!==" ").length>1&&(t.staticClass+=" v-list-item__action--stack"),e("div",t,n)}});const Cu=Me(mt,Xo,ph).extend({name:"v-avatar",props:{left:Boolean,right:Boolean,size:{type:[Number,String],default:48}},computed:{classes(){return{"v-avatar--left":this.left,"v-avatar--right":this.right,...this.roundedClasses}},styles(){return{height:de(this.size),minWidth:de(this.size),width:de(this.size),...this.measurableStyles}}},render(e){const t={staticClass:"v-avatar",class:this.classes,style:this.styles,on:this.$listeners};return e("div",this.setBackgroundColor(this.color,t),Ae(this))}}),dC=Cu.extend({name:"v-list-item-avatar",props:{horizontal:Boolean,size:{type:[Number,String],default:40}},computed:{classes(){return{"v-list-item__avatar--horizontal":this.horizontal,...Cu.options.computed.classes.call(this),"v-avatar--tile":this.tile||this.horizontal}}},render(e){const t=Cu.options.render.call(this,e);return t.data=t.data||{},t.data.staticClass+=" v-list-item__avatar",t}}),pC=nr("v-list-item__action-text","span"),fc=nr("v-list-item__content","div"),Gn=nr("v-list-item__title","div"),L5=nr("v-list-item__subtitle","div"),Tp=Me(mt,Ke).extend({name:"v-select-list",directives:{ripple:Bi},props:{action:Boolean,dense:Boolean,hideSelected:Boolean,items:{type:Array,default:()=>[]},itemDisabled:{type:[String,Array,Function],default:"disabled"},itemText:{type:[String,Array,Function],default:"text"},itemValue:{type:[String,Array,Function],default:"value"},noDataText:String,noFilter:Boolean,searchInput:null,selectedItems:{type:Array,default:()=>[]}},computed:{parsedItems(){return this.selectedItems.map(e=>this.getValue(e))},tileActiveClass(){return Object.keys(this.setTextColor(this.color).class||{}).join(" ")},staticNoDataTile(){const e={attrs:{role:void 0},on:{mousedown:t=>t.preventDefault()}};return this.$createElement(en,e,[this.genTileContent(this.noDataText)])}},methods:{genAction(e,t){return this.$createElement(fC,[this.$createElement(sC,{props:{color:this.color,value:t,ripple:!1},on:{input:()=>this.$emit("select",e)}})])},genDivider(e){return this.$createElement(oC,{props:e})},genFilteredText(e){if(e=e||"",!this.searchInput||this.noFilter)return e;const{start:t,middle:n,end:r}=this.getMaskedCharacters(e);return[t,this.genHighlight(n),r]},genHeader(e){return this.$createElement(lC,{props:e},e.header)},genHighlight(e){return this.$createElement("span",{staticClass:"v-list-item__mask"},e)},getMaskedCharacters(e){const t=(this.searchInput||"").toString().toLocaleLowerCase(),n=e.toLocaleLowerCase().indexOf(t);if(n<0)return{start:e,middle:"",end:""};const r=e.slice(0,n),a=e.slice(n,n+t.length),l=e.slice(n+t.length);return{start:r,middle:a,end:l}},genTile({item:e,index:t,disabled:n=null,value:r=!1}){r||(r=this.hasItem(e)),e===Object(e)&&(n=n!==null?n:this.getDisabled(e));const a={attrs:{"aria-selected":String(r),id:`list-item-${this._uid}-${t}`,role:"option"},on:{mousedown:d=>{d.preventDefault()},click:()=>n||this.$emit("select",e)},props:{activeClass:this.tileActiveClass,disabled:n,ripple:!0,inputValue:r}};if(!this.$scopedSlots.item)return this.$createElement(en,a,[this.action&&!this.hideSelected&&this.items.length>0?this.genAction(e,r):null,this.genTileContent(e,t)]);const l=this,c=this.$scopedSlots.item({parent:l,item:e,attrs:{...a.attrs,...a.props},on:a.on});return this.needsTile(c)?this.$createElement(en,a,c):c},genTileContent(e,t=0){return this.$createElement(fc,[this.$createElement(Gn,[this.genFilteredText(this.getText(e))])])},hasItem(e){return this.parsedItems.indexOf(this.getValue(e))>-1},needsTile(e){return e.length!==1||e[0].componentOptions==null||e[0].componentOptions.Ctor.options.name!=="v-list-item"},getDisabled(e){return!!Xr(e,this.itemDisabled,!1)},getText(e){return String(Xr(e,this.itemText,e))},getValue(e){return Xr(e,this.itemValue,this.getText(e))}},render(){const e=[],t=this.items.length;for(let n=0;n<t;n++){const r=this.items[n];this.hideSelected&&this.hasItem(r)||(r==null?e.push(this.genTile({item:r,index:n})):r.header?e.push(this.genHeader(r)):r.divider?e.push(this.genDivider(r)):e.push(this.genTile({item:r,index:n})))}return e.length||e.push(this.$slots["no-data"]||this.staticNoDataTile),this.$slots["prepend-item"]&&e.unshift(this.$slots["prepend-item"]),this.$slots["append-item"]&&e.push(this.$slots["append-item"]),this.$createElement(Xa,{staticClass:"v-select-list",class:this.themeClasses,attrs:{role:"listbox",tabindex:-1},on:{mousedown:n=>{n.preventDefault()}},props:{dense:this.dense}},e)}});const Ig=Me(Ke).extend({name:"v-label",functional:!0,props:{absolute:Boolean,color:{type:String,default:"primary"},disabled:Boolean,focused:Boolean,for:String,left:{type:[Number,String],default:0},right:{type:[Number,String],default:"auto"},value:Boolean},render(e,t){const{children:n,listeners:r,props:a,data:l}=t,c=nn({staticClass:"v-label",class:{"v-label--active":a.value,"v-label--is-disabled":a.disabled,...Nv(t)},attrs:{for:a.for,"aria-hidden":!a.for},on:r,style:{left:de(a.left),right:de(a.right),position:a.absolute?"absolute":"relative"},ref:"label"},l);return e("label",mt.options.methods.setTextColor(a.focused&&a.color,c),n)}});const mC=Me(mt,Ke).extend({name:"v-messages",props:{value:{type:Array,default:()=>[]}},methods:{genChildren(){return this.$createElement("transition-group",{staticClass:"v-messages__wrapper",attrs:{name:"message-transition",tag:"div"}},this.value.map(this.genMessage))},genMessage(e,t){return this.$createElement("div",{staticClass:"v-messages__message",key:t},Ae(this,"default",{message:e,key:t})||[e])}},render(e){return e("div",this.setTextColor(this.color,{staticClass:"v-messages",class:this.themeClasses}),[this.genChildren()])}}),vC=Me(mt,yh("form"),Ke),Lg=vC.extend({name:"validatable",props:{disabled:{type:Boolean,default:null},error:Boolean,errorCount:{type:[Number,String],default:1},errorMessages:{type:[String,Array],default:()=>[]},messages:{type:[String,Array],default:()=>[]},readonly:{type:Boolean,default:null},rules:{type:Array,default:()=>[]},success:Boolean,successMessages:{type:[String,Array],default:()=>[]},validateOnBlur:Boolean,value:{required:!1}},data(){return{errorBucket:[],hasColor:!1,hasFocused:!1,hasInput:!1,isFocused:!1,isResetting:!1,lazyValue:this.value,valid:!1}},computed:{computedColor(){if(!this.isDisabled)return this.color?this.color:this.isDark&&!this.appIsDark?"white":"primary"},hasError(){return this.internalErrorMessages.length>0||this.errorBucket.length>0||this.error},hasSuccess(){return this.internalSuccessMessages.length>0||this.success},externalError(){return this.internalErrorMessages.length>0||this.error},hasMessages(){return this.validationTarget.length>0},hasState(){return this.isDisabled?!1:this.hasSuccess||this.shouldValidate&&this.hasError},internalErrorMessages(){return this.genInternalMessages(this.errorMessages)},internalMessages(){return this.genInternalMessages(this.messages)},internalSuccessMessages(){return this.genInternalMessages(this.successMessages)},internalValue:{get(){return this.lazyValue},set(e){this.lazyValue=e,this.$emit("input",e)}},isDisabled(){var e;return(e=this.disabled)!==null&&e!==void 0?e:!!this.form&&this.form.disabled},isInteractive(){return!this.isDisabled&&!this.isReadonly},isReadonly(){var e;return(e=this.readonly)!==null&&e!==void 0?e:!!this.form&&this.form.readonly},shouldValidate(){return this.externalError?!0:this.isResetting?!1:this.validateOnBlur?this.hasFocused&&!this.isFocused:this.hasInput||this.hasFocused},validations(){return this.validationTarget.slice(0,Number(this.errorCount))},validationState(){if(!this.isDisabled){if(this.hasError&&this.shouldValidate)return"error";if(this.hasSuccess)return"success";if(this.hasColor)return this.computedColor}},validationTarget(){return this.internalErrorMessages.length>0?this.internalErrorMessages:this.successMessages&&this.successMessages.length>0?this.internalSuccessMessages:this.messages&&this.messages.length>0?this.internalMessages:this.shouldValidate?this.errorBucket:[]}},watch:{rules:{handler(e,t){ch(e,t)||this.validate()},deep:!0},internalValue(){this.hasInput=!0,this.validateOnBlur||this.$nextTick(this.validate)},isFocused(e){!e&&!this.isDisabled&&(this.hasFocused=!0,this.validateOnBlur&&this.$nextTick(this.validate))},isResetting(){setTimeout(()=>{this.hasInput=!1,this.hasFocused=!1,this.isResetting=!1,this.validate()},0)},hasError(e){this.shouldValidate&&this.$emit("update:error",e)},value(e){this.lazyValue=e}},beforeMount(){this.validate()},created(){this.form&&this.form.register(this)},beforeDestroy(){this.form&&this.form.unregister(this)},methods:{genInternalMessages(e){return e?Array.isArray(e)?e:[e]:[]},reset(){this.isResetting=!0,this.internalValue=Array.isArray(this.internalValue)?[]:null},resetValidation(){this.isResetting=!0},validate(e=!1,t){const n=[];t=t||this.internalValue,e&&(this.hasInput=this.hasFocused=!0);for(let r=0;r<this.rules.length;r++){const a=this.rules[r],l=typeof a=="function"?a(t):a;l===!1||typeof l=="string"?n.push(l||""):typeof l!="boolean"&&Mn(`Rules should return a string or boolean, received '${typeof l}' instead`,this)}return this.errorBucket=n,this.valid=n.length===0,this.valid}}}),gC=Me(fh,Lg),Wn=gC.extend().extend({name:"v-input",inheritAttrs:!1,props:{appendIcon:String,backgroundColor:{type:String,default:""},dense:Boolean,height:[Number,String],hideDetails:[Boolean,String],hideSpinButtons:Boolean,hint:String,id:String,label:String,loading:Boolean,persistentHint:Boolean,prependIcon:String,value:null},data(){return{lazyValue:this.value,hasMouseDown:!1}},computed:{classes(){return{"v-input--has-state":this.hasState,"v-input--hide-details":!this.showDetails,"v-input--is-label-active":this.isLabelActive,"v-input--is-dirty":this.isDirty,"v-input--is-disabled":this.isDisabled,"v-input--is-focused":this.isFocused,"v-input--is-loading":this.loading!==!1&&this.loading!=null,"v-input--is-readonly":this.isReadonly,"v-input--dense":this.dense,"v-input--hide-spin-buttons":this.hideSpinButtons,...this.themeClasses}},computedId(){return this.id||`input-${this._uid}`},hasDetails(){return this.messagesToDisplay.length>0},hasHint(){return!this.hasMessages&&!!this.hint&&(this.persistentHint||this.isFocused)},hasLabel(){return!!(this.$slots.label||this.label)},internalValue:{get(){return this.lazyValue},set(e){this.lazyValue=e,this.$emit(this.$_modelEvent,e)}},isDirty(){return!!this.lazyValue},isLabelActive(){return this.isDirty},messagesToDisplay(){return this.hasHint?[this.hint]:this.hasMessages?this.validations.map(e=>{if(typeof e=="string")return e;const t=e(this.internalValue);return typeof t=="string"?t:""}).filter(e=>e!==""):[]},showDetails(){return this.hideDetails===!1||this.hideDetails==="auto"&&this.hasDetails}},watch:{value(e){this.lazyValue=e}},beforeCreate(){this.$_modelEvent=this.$options.model&&this.$options.model.event||"input"},methods:{genContent(){return[this.genPrependSlot(),this.genControl(),this.genAppendSlot()]},genControl(){return this.$createElement("div",{staticClass:"v-input__control",attrs:{title:this.attrs$.title}},[this.genInputSlot(),this.genMessages()])},genDefaultSlot(){return[this.genLabel(),Ae(this)]},genIcon(e,t,n={}){var r;const a=this[`${e}Icon`],l=`click:${sc(e)}`,c=!!(this.listeners$[l]||t),d={prepend:"prependAction",prependInner:"prependAction",append:"appendAction",appendOuter:"appendAction",clear:"clear"}[e],v=c&&d?this.$vuetify.lang.t(`$vuetify.input.${d}`,(r=this.label)!==null&&r!==void 0?r:""):void 0,y=nn({attrs:{"aria-label":v,color:this.validationState,dark:this.dark,disabled:this.isDisabled,light:this.light,tabindex:e==="clear"?-1:void 0},on:c?{click:_=>{_.preventDefault(),_.stopPropagation(),this.$emit(l,_),t&&t(_)},mouseup:_=>{_.preventDefault(),_.stopPropagation()}}:void 0},n);return this.$createElement("div",{staticClass:"v-input__icon",class:e?`v-input__icon--${sc(e)}`:void 0},[this.$createElement(et,y,a)])},genInputSlot(){return this.$createElement("div",this.setBackgroundColor(this.backgroundColor,{staticClass:"v-input__slot",style:{height:de(this.height)},on:{click:this.onClick,mousedown:this.onMouseDown,mouseup:this.onMouseUp},ref:"input-slot"}),[this.genDefaultSlot()])},genLabel(){return this.hasLabel?this.$createElement(Ig,{props:{color:this.validationState,dark:this.dark,disabled:this.isDisabled,focused:this.hasState,for:this.computedId,light:this.light}},Ae(this,"label")||this.label):null},genMessages(){return this.showDetails?this.$createElement(mC,{props:{color:this.hasHint?"":this.validationState,dark:this.dark,light:this.light,value:this.messagesToDisplay},attrs:{role:this.hasMessages?"alert":null},scopedSlots:{default:e=>Ae(this,"message",e)}}):null},genSlot(e,t,n){if(!n.length)return null;const r=`${e}-${t}`;return this.$createElement("div",{staticClass:`v-input__${r}`,ref:r},n)},genPrependSlot(){const e=[];return this.$slots.prepend?e.push(this.$slots.prepend):this.prependIcon&&e.push(this.genIcon("prepend")),this.genSlot("prepend","outer",e)},genAppendSlot(){const e=[];return this.$slots.append?e.push(this.$slots.append):this.appendIcon&&e.push(this.genIcon("append")),this.genSlot("append","outer",e)},onClick(e){this.$emit("click",e)},onMouseDown(e){this.hasMouseDown=!0,this.$emit("mousedown",e)},onMouseUp(e){this.hasMouseDown=!1,this.$emit("mouseup",e)}},render(e){return e("div",this.setTextColor(this.validationState,{staticClass:"v-input",class:this.classes}),this.genContent())}});const yC=Me(Ke).extend({name:"v-counter",functional:!0,props:{value:{type:[Number,String],default:""},max:[Number,String]},render(e,t){const{props:n}=t,r=parseInt(n.max,10),a=parseInt(n.value,10),l=r?`${a} / ${r}`:String(n.value),c=r&&a>r;return e("div",{staticClass:"v-counter",class:{"error--text":c,...Nv(t)}},l)}});function bC(e){return ee.extend({name:"intersectable",data:()=>({isIntersecting:!1}),mounted(){Ea.inserted(this.$el,{name:"intersect",value:this.onObserve},this.$vnode)},destroyed(){Ea.unbind(this.$el,{name:"intersect",value:this.onObserve},this.$vnode)},methods:{onObserve(t,n,r){if(this.isIntersecting=r,!!r)for(let a=0,l=e.onVisible.length;a<l;a++){const c=this[e.onVisible[a]];if(typeof c=="function"){c();continue}Et(e.onVisible[a]+" method is not available on the instance but referenced in intersectable mixin options")}}}})}const _C=Me(mt,Jo(["absolute","fixed","top","bottom"]),Dg,Ke),xC=_C.extend({name:"v-progress-linear",directives:{intersect:Ea},props:{active:{type:Boolean,default:!0},backgroundColor:{type:String,default:null},backgroundOpacity:{type:[Number,String],default:null},bufferValue:{type:[Number,String],default:100},color:{type:String,default:"primary"},height:{type:[Number,String],default:4},indeterminate:Boolean,query:Boolean,reverse:Boolean,rounded:Boolean,stream:Boolean,striped:Boolean,value:{type:[Number,String],default:0}},data(){return{internalLazyValue:this.value||0,isVisible:!0}},computed:{__cachedBackground(){return this.$createElement("div",this.setBackgroundColor(this.backgroundColor||this.color,{staticClass:"v-progress-linear__background",style:this.backgroundStyle}))},__cachedBar(){return this.$createElement(this.computedTransition,[this.__cachedBarType])},__cachedBarType(){return this.indeterminate?this.__cachedIndeterminate:this.__cachedDeterminate},__cachedBuffer(){return this.$createElement("div",{staticClass:"v-progress-linear__buffer",style:this.styles})},__cachedDeterminate(){return this.$createElement("div",this.setBackgroundColor(this.color,{staticClass:"v-progress-linear__determinate",style:{width:de(this.normalizedValue,"%")}}))},__cachedIndeterminate(){return this.$createElement("div",{staticClass:"v-progress-linear__indeterminate",class:{"v-progress-linear__indeterminate--active":this.active}},[this.genProgressBar("long"),this.genProgressBar("short")])},__cachedStream(){return this.stream?this.$createElement("div",this.setTextColor(this.color,{staticClass:"v-progress-linear__stream",style:{width:de(100-this.normalizedBuffer,"%")}})):null},backgroundStyle(){return{opacity:this.backgroundOpacity==null?this.backgroundColor?1:.3:parseFloat(this.backgroundOpacity),[this.isReversed?"right":"left"]:de(this.normalizedValue,"%"),width:de(Math.max(0,this.normalizedBuffer-this.normalizedValue),"%")}},classes(){return{"v-progress-linear--absolute":this.absolute,"v-progress-linear--fixed":this.fixed,"v-progress-linear--query":this.query,"v-progress-linear--reactive":this.reactive,"v-progress-linear--reverse":this.isReversed,"v-progress-linear--rounded":this.rounded,"v-progress-linear--striped":this.striped,"v-progress-linear--visible":this.isVisible,...this.themeClasses}},computedTransition(){return this.indeterminate?J2:Q2},isReversed(){return this.$vuetify.rtl!==this.reverse},normalizedBuffer(){return this.normalize(this.bufferValue)},normalizedValue(){return this.normalize(this.internalLazyValue)},reactive(){return!!this.$listeners.change},styles(){const e={};return this.active||(e.height=0),!this.indeterminate&&parseFloat(this.normalizedBuffer)!==100&&(e.width=de(this.normalizedBuffer,"%")),e}},methods:{genContent(){const e=Ae(this,"default",{value:this.internalLazyValue});return e?this.$createElement("div",{staticClass:"v-progress-linear__content"},e):null},genListeners(){const e=this.$listeners;return this.reactive&&(e.click=this.onClick),e},genProgressBar(e){return this.$createElement("div",this.setBackgroundColor(this.color,{staticClass:"v-progress-linear__indeterminate",class:{[e]:!0}}))},onClick(e){if(!this.reactive)return;const{width:t}=this.$el.getBoundingClientRect();this.internalValue=e.offsetX/t*100},onObserve(e,t,n){this.isVisible=n},normalize(e){return e<0?0:e>100?100:parseFloat(e)}},render(e){const t={staticClass:"v-progress-linear",attrs:{role:"progressbar","aria-valuemin":0,"aria-valuemax":this.normalizedBuffer,"aria-valuenow":this.indeterminate?void 0:this.normalizedValue},class:this.classes,directives:[{name:"intersect",value:this.onObserve}],style:{bottom:this.bottom?0:void 0,height:this.active?de(this.height):0,top:this.top?0:void 0},on:this.genListeners()};return e("div",t,[this.__cachedStream,this.__cachedBackground,this.__cachedBuffer,this.__cachedBar,this.genContent()])}}),dc=ee.extend().extend({name:"loadable",props:{loading:{type:[Boolean,String],default:!1},loaderHeight:{type:[Number,String],default:2}},methods:{genProgress(){return this.loading===!1?null:Ae(this,"progress")||this.$createElement(xC,{props:{absolute:!0,color:this.loading===!0||this.loading===""?this.color||"primary":this.loading,height:this.loaderHeight,indeterminate:!0}})}}}),wC=Me(Wn,bC({onVisible:["onResize","tryAutofocus"]}),dc),SC=["color","file","time","date","datetime-local","week","month"],pr=wC.extend().extend({name:"v-text-field",directives:{resize:ug,ripple:Bi},inheritAttrs:!1,props:{appendOuterIcon:String,autofocus:Boolean,clearable:Boolean,clearIcon:{type:String,default:"$clear"},counter:[Boolean,Number,String],counterValue:Function,filled:Boolean,flat:Boolean,fullWidth:Boolean,label:String,outlined:Boolean,placeholder:String,prefix:String,prependInnerIcon:String,persistentPlaceholder:Boolean,reverse:Boolean,rounded:Boolean,shaped:Boolean,singleLine:Boolean,solo:Boolean,soloInverted:Boolean,suffix:String,type:{type:String,default:"text"}},data:()=>({badInput:!1,labelWidth:0,prefixWidth:0,prependWidth:0,initialValue:null,isBooted:!1,isClearing:!1}),computed:{classes(){return{...Wn.options.computed.classes.call(this),"v-text-field":!0,"v-text-field--full-width":this.fullWidth,"v-text-field--prefix":this.prefix,"v-text-field--single-line":this.isSingle,"v-text-field--solo":this.isSolo,"v-text-field--solo-inverted":this.soloInverted,"v-text-field--solo-flat":this.flat,"v-text-field--filled":this.filled,"v-text-field--is-booted":this.isBooted,"v-text-field--enclosed":this.isEnclosed,"v-text-field--reverse":this.reverse,"v-text-field--outlined":this.outlined,"v-text-field--placeholder":this.placeholder,"v-text-field--rounded":this.rounded,"v-text-field--shaped":this.shaped}},computedColor(){const e=Lg.options.computed.computedColor.call(this);return!this.soloInverted||!this.isFocused?e:this.color||"primary"},computedCounterValue(){return typeof this.counterValue=="function"?this.counterValue(this.internalValue):[...(this.internalValue||"").toString()].length},hasCounter(){return this.counter!==!1&&this.counter!=null},hasDetails(){return Wn.options.computed.hasDetails.call(this)||this.hasCounter},internalValue:{get(){return this.lazyValue},set(e){this.lazyValue=e,this.$emit("input",this.lazyValue)}},isDirty(){var e;return((e=this.lazyValue)===null||e===void 0?void 0:e.toString().length)>0||this.badInput},isEnclosed(){return this.filled||this.isSolo||this.outlined},isLabelActive(){return this.isDirty||SC.includes(this.type)},isSingle(){return this.isSolo||this.singleLine||this.fullWidth||this.filled&&!this.hasLabel},isSolo(){return this.solo||this.soloInverted},labelPosition(){let e=this.prefix&&!this.labelValue?this.prefixWidth:0;return this.labelValue&&this.prependWidth&&(e-=this.prependWidth),this.$vuetify.rtl===this.reverse?{left:e,right:"auto"}:{left:"auto",right:e}},showLabel(){return this.hasLabel&&!(this.isSingle&&this.labelValue)},labelValue(){return this.isFocused||this.isLabelActive||this.persistentPlaceholder}},watch:{outlined:"setLabelWidth",label(){this.$nextTick(this.setLabelWidth)},prefix(){this.$nextTick(this.setPrefixWidth)},isFocused:"updateValue",value(e){this.lazyValue=e}},created(){this.$attrs.hasOwnProperty("box")&&Ni("box","filled",this),this.$attrs.hasOwnProperty("browser-autocomplete")&&Ni("browser-autocomplete","autocomplete",this),this.shaped&&!(this.filled||this.outlined||this.isSolo)&&Et("shaped should be used with either filled or outlined",this)},mounted(){this.$watch(()=>this.labelValue,this.setLabelWidth),this.autofocus&&this.tryAutofocus(),requestAnimationFrame(()=>{this.isBooted=!0,requestAnimationFrame(()=>{this.isIntersecting||this.onResize()})})},methods:{focus(){this.onFocus()},blur(e){window.requestAnimationFrame(()=>{this.$refs.input&&this.$refs.input.blur()})},clearableCallback(){this.$refs.input&&this.$refs.input.focus(),this.$nextTick(()=>this.internalValue=null)},genAppendSlot(){const e=[];return this.$slots["append-outer"]?e.push(this.$slots["append-outer"]):this.appendOuterIcon&&e.push(this.genIcon("appendOuter")),this.genSlot("append","outer",e)},genPrependInnerSlot(){const e=[];return this.$slots["prepend-inner"]?e.push(this.$slots["prepend-inner"]):this.prependInnerIcon&&e.push(this.genIcon("prependInner")),this.genSlot("prepend","inner",e)},genIconSlot(){const e=[];return this.$slots.append?e.push(this.$slots.append):this.appendIcon&&e.push(this.genIcon("append")),this.genSlot("append","inner",e)},genInputSlot(){const e=Wn.options.methods.genInputSlot.call(this),t=this.genPrependInnerSlot();return t&&(e.children=e.children||[],e.children.unshift(t)),e},genClearIcon(){return this.clearable?this.isDirty?this.genSlot("append","inner",[this.genIcon("clear",this.clearableCallback)]):this.genSlot("append","inner",[this.$createElement("div")]):null},genCounter(){var e,t,n;if(!this.hasCounter)return null;const r=this.counter===!0?this.attrs$.maxlength:this.counter,a={dark:this.dark,light:this.light,max:r,value:this.computedCounterValue};return(n=(t=(e=this.$scopedSlots).counter)===null||t===void 0?void 0:t.call(e,{props:a}))!==null&&n!==void 0?n:this.$createElement(yC,{props:a})},genControl(){return Wn.options.methods.genControl.call(this)},genDefaultSlot(){return[this.genFieldset(),this.genTextFieldSlot(),this.genClearIcon(),this.genIconSlot(),this.genProgress()]},genFieldset(){return this.outlined?this.$createElement("fieldset",{attrs:{"aria-hidden":!0}},[this.genLegend()]):null},genLabel(){if(!this.showLabel)return null;const e={props:{absolute:!0,color:this.validationState,dark:this.dark,disabled:this.isDisabled,focused:!this.isSingle&&(this.isFocused||!!this.validationState),for:this.computedId,left:this.labelPosition.left,light:this.light,right:this.labelPosition.right,value:this.labelValue}};return this.$createElement(Ig,e,Ae(this,"label")||this.label)},genLegend(){const e=!this.singleLine&&(this.labelValue||this.isDirty)?this.labelWidth:0,t=this.$createElement("span",{domProps:{innerHTML:"&#8203;"},staticClass:"notranslate"});return this.$createElement("legend",{style:{width:this.isSingle?void 0:de(e)}},[t])},genInput(){const e=Object.assign({},this.listeners$);delete e.change;const{title:t,...n}=this.attrs$;return this.$createElement("input",{style:{},domProps:{value:this.type==="number"&&Object.is(this.lazyValue,-0)?"-0":this.lazyValue},attrs:{...n,autofocus:this.autofocus,disabled:this.isDisabled,id:this.computedId,placeholder:this.persistentPlaceholder||this.isFocused||!this.hasLabel?this.placeholder:void 0,readonly:this.isReadonly,type:this.type},on:Object.assign(e,{blur:this.onBlur,input:this.onInput,focus:this.onFocus,keydown:this.onKeyDown}),ref:"input",directives:[{name:"resize",modifiers:{quiet:!0},value:this.onResize}]})},genMessages(){if(!this.showDetails)return null;const e=Wn.options.methods.genMessages.call(this),t=this.genCounter();return this.$createElement("div",{staticClass:"v-text-field__details"},[e,t])},genTextFieldSlot(){return this.$createElement("div",{staticClass:"v-text-field__slot"},[this.genLabel(),this.prefix?this.genAffix("prefix"):null,this.genInput(),this.suffix?this.genAffix("suffix"):null])},genAffix(e){return this.$createElement("div",{class:`v-text-field__${e}`,ref:e},this[e])},onBlur(e){this.isFocused=!1,e&&this.$nextTick(()=>this.$emit("blur",e))},onClick(){this.isFocused||this.isDisabled||!this.$refs.input||this.$refs.input.focus()},onFocus(e){if(!this.$refs.input)return;const t=mo(this.$el);if(t){if(t.activeElement!==this.$refs.input)return this.$refs.input.focus();this.isFocused||(this.isFocused=!0,e&&this.$emit("focus",e))}},onInput(e){const t=e.target;this.internalValue=t.value,this.badInput=t.validity&&t.validity.badInput},onKeyDown(e){e.keyCode===me.enter&&this.lazyValue!==this.initialValue&&(this.initialValue=this.lazyValue,this.$emit("change",this.initialValue)),this.$emit("keydown",e)},onMouseDown(e){e.target!==this.$refs.input&&(e.preventDefault(),e.stopPropagation()),Wn.options.methods.onMouseDown.call(this,e)},onMouseUp(e){this.hasMouseDown&&this.focus(),Wn.options.methods.onMouseUp.call(this,e)},setLabelWidth(){this.outlined&&(this.labelWidth=this.$refs.label?Math.min(this.$refs.label.scrollWidth*.75+6,this.$el.offsetWidth-24):0)},setPrefixWidth(){this.$refs.prefix&&(this.prefixWidth=this.$refs.prefix.offsetWidth)},setPrependWidth(){!this.outlined||!this.$refs["prepend-inner"]||(this.prependWidth=this.$refs["prepend-inner"].offsetWidth)},tryAutofocus(){if(!this.autofocus||typeof document>"u"||!this.$refs.input)return!1;const e=mo(this.$el);return!e||e.activeElement===this.$refs.input?!1:(this.$refs.input.focus(),!0)},updateValue(e){this.hasColor=e,e?this.initialValue=this.lazyValue:this.initialValue!==this.lazyValue&&this.$emit("change",this.lazyValue)},onResize(){this.setLabelWidth(),this.setPrefixWidth(),this.setPrependWidth()}}}),kC=ee.extend({name:"filterable",props:{noDataText:{type:String,default:"$vuetify.noDataText"}}}),pc={closeOnClick:!1,closeOnContentClick:!1,disableKeys:!0,openOnClick:!1,maxHeight:304},CC=Me(pr,Ag,bh,kC),Rt=CC.extend().extend({name:"v-select",directives:{ClickOutside:mh},props:{appendIcon:{type:String,default:"$dropdown"},attach:{type:null,default:!1},cacheItems:Boolean,chips:Boolean,clearable:Boolean,deletableChips:Boolean,disableLookup:Boolean,eager:Boolean,hideSelected:Boolean,items:{type:Array,default:()=>[]},itemColor:{type:String,default:"primary"},itemDisabled:{type:[String,Array,Function],default:"disabled"},itemText:{type:[String,Array,Function],default:"text"},itemValue:{type:[String,Array,Function],default:"value"},menuProps:{type:[String,Array,Object],default:()=>pc},multiple:Boolean,openOnClear:Boolean,returnObject:Boolean,smallChips:Boolean},data(){return{cachedItems:this.cacheItems?this.items:[],menuIsBooted:!1,isMenuActive:!1,lastItem:20,lazyValue:this.value!==void 0?this.value:this.multiple?[]:void 0,selectedIndex:-1,selectedItems:[],keyboardLookupPrefix:"",keyboardLookupLastTime:0}},computed:{allItems(){return this.filterDuplicates(this.cachedItems.concat(this.items))},classes(){return{...pr.options.computed.classes.call(this),"v-select":!0,"v-select--chips":this.hasChips,"v-select--chips--small":this.smallChips,"v-select--is-menu-active":this.isMenuActive,"v-select--is-multi":this.multiple}},computedItems(){return this.allItems},computedOwns(){return`list-${this._uid}`},computedCounterValue(){var e;const t=this.multiple?this.selectedItems:((e=this.getText(this.selectedItems[0]))!==null&&e!==void 0?e:"").toString();return typeof this.counterValue=="function"?this.counterValue(t):t.length},directives(){return this.isFocused?[{name:"click-outside",value:{handler:this.blur,closeConditional:this.closeConditional,include:()=>this.getOpenDependentElements()}}]:void 0},dynamicHeight(){return"auto"},hasChips(){return this.chips||this.smallChips},hasSlot(){return!!(this.hasChips||this.$scopedSlots.selection)},isDirty(){return this.selectedItems.length>0},listData(){const e=this.$vnode&&this.$vnode.context.$options._scopeId;return{attrs:{...e?{[e]:!0}:{},id:this.computedOwns},props:{action:this.multiple,color:this.itemColor,dense:this.dense,hideSelected:this.hideSelected,items:this.virtualizedItems,itemDisabled:this.itemDisabled,itemText:this.itemText,itemValue:this.itemValue,noDataText:this.$vuetify.lang.t(this.noDataText),selectedItems:this.selectedItems},on:{select:this.selectItem},scopedSlots:{item:this.$scopedSlots.item}}},staticList(){return(this.$slots["no-data"]||this.$slots["prepend-item"]||this.$slots["append-item"])&&Mn("assert: staticList should not be called if slots are used"),this.$createElement(Tp,this.listData)},virtualizedItems(){return this.$_menuProps.auto?this.computedItems:this.computedItems.slice(0,this.lastItem)},menuCanShow:()=>!0,$_menuProps(){let e=typeof this.menuProps=="string"?this.menuProps.split(","):this.menuProps;return Array.isArray(e)&&(e=e.reduce((t,n)=>(t[n.trim()]=!0,t),{})),{...pc,eager:this.eager,value:this.menuCanShow&&this.isMenuActive,nudgeBottom:e.offsetY?1:0,...e}}},watch:{internalValue(e){this.initialValue=e,this.setSelectedItems(),this.multiple&&this.$nextTick(()=>{var t;(t=this.$refs.menu)===null||t===void 0||t.updateDimensions()}),this.hideSelected&&this.$nextTick(()=>{this.onScroll()})},isMenuActive(e){window.setTimeout(()=>this.onMenuActiveChange(e))},items:{immediate:!0,handler(e){this.cacheItems&&this.$nextTick(()=>{this.cachedItems=this.filterDuplicates(this.cachedItems.concat(e))}),this.setSelectedItems()}}},methods:{blur(e){pr.options.methods.blur.call(this,e),this.isMenuActive=!1,this.isFocused=!1,this.selectedIndex=-1,this.setMenuIndex(-1)},activateMenu(){!this.isInteractive||this.isMenuActive||(this.isMenuActive=!0)},clearableCallback(){this.setValue(this.multiple?[]:null),this.setMenuIndex(-1),this.$nextTick(()=>this.$refs.input&&this.$refs.input.focus()),this.openOnClear&&(this.isMenuActive=!0)},closeConditional(e){return this.isMenuActive?!this._isDestroyed&&(!this.getContent()||!this.getContent().contains(e.target))&&this.$el&&!this.$el.contains(e.target)&&e.target!==this.$el:!0},filterDuplicates(e){const t=new Map;for(let n=0;n<e.length;++n){const r=e[n];if(r==null)continue;if(r.header||r.divider){t.set(r,r);continue}const a=this.getValue(r);!t.has(a)&&t.set(a,r)}return Array.from(t.values())},findExistingIndex(e){const t=this.getValue(e);return(this.internalValue||[]).findIndex(n=>this.valueComparator(this.getValue(n),t))},getContent(){return this.$refs.menu&&this.$refs.menu.$refs.content},genChipSelection(e,t){const n=this.isDisabled||this.getDisabled(e),r=!n&&this.isInteractive;return this.$createElement(zs,{staticClass:"v-chip--select",attrs:{tabindex:-1},props:{close:this.deletableChips&&r,disabled:n,inputValue:t===this.selectedIndex,small:this.smallChips},on:{click:a=>{r&&(a.stopPropagation(),this.selectedIndex=t)},"click:close":()=>this.onChipInput(e)},key:JSON.stringify(this.getValue(e))},this.getText(e))},genCommaSelection(e,t,n){const r=t===this.selectedIndex&&this.computedColor,a=this.isDisabled||this.getDisabled(e);return this.$createElement("div",this.setTextColor(r,{staticClass:"v-select__selection v-select__selection--comma",class:{"v-select__selection--disabled":a},key:JSON.stringify(this.getValue(e))}),`${this.getText(e)}${n?"":", "}`)},genDefaultSlot(){const e=this.genSelections(),t=this.genInput();return Array.isArray(e)?e.push(t):(e.children=e.children||[],e.children.push(t)),[this.genFieldset(),this.$createElement("div",{staticClass:"v-select__slot",directives:this.directives},[this.genLabel(),this.prefix?this.genAffix("prefix"):null,e,this.suffix?this.genAffix("suffix"):null,this.genClearIcon(),this.genIconSlot(),this.genHiddenInput()]),this.genMenu(),this.genProgress()]},genIcon(e,t,n){const r=Wn.options.methods.genIcon.call(this,e,t,n);return e==="append"&&(r.children[0].data=nn(r.children[0].data,{attrs:{tabindex:r.children[0].componentOptions.listeners&&"-1","aria-hidden":"true","aria-label":void 0}})),r},genInput(){const e=pr.options.methods.genInput.call(this);return delete e.data.attrs.name,e.data=nn(e.data,{domProps:{value:null},attrs:{readonly:!0,type:"text","aria-readonly":String(this.isReadonly),"aria-activedescendant":Vt(this.$refs.menu,"activeTile.id"),autocomplete:Vt(e.data,"attrs.autocomplete","off"),placeholder:!this.isDirty&&(this.persistentPlaceholder||this.isFocused||!this.hasLabel)?this.placeholder:void 0},on:{keypress:this.onKeyPress}}),e},genHiddenInput(){return this.$createElement("input",{domProps:{value:this.lazyValue},attrs:{type:"hidden",name:this.attrs$.name}})},genInputSlot(){const e=pr.options.methods.genInputSlot.call(this);return e.data.attrs={...e.data.attrs,role:"button","aria-haspopup":"listbox","aria-expanded":String(this.isMenuActive),"aria-owns":this.computedOwns},e},genList(){return this.$slots["no-data"]||this.$slots["prepend-item"]||this.$slots["append-item"]?this.genListWithSlot():this.staticList},genListWithSlot(){const e=["prepend-item","no-data","append-item"].filter(t=>this.$slots[t]).map(t=>this.$createElement("template",{slot:t},this.$slots[t]));return this.$createElement(Tp,{...this.listData},e)},genMenu(){const e=this.$_menuProps;return e.activator=this.$refs["input-slot"],"attach"in e||(this.attach===""||this.attach===!0||this.attach==="attach"?e.attach=this.$el:e.attach=this.attach),this.$createElement(_h,{attrs:{role:void 0},props:e,on:{input:t=>{this.isMenuActive=t,this.isFocused=t},scroll:this.onScroll},ref:"menu"},[this.genList()])},genSelections(){let e=this.selectedItems.length;const t=new Array(e);let n;for(this.$scopedSlots.selection?n=this.genSlotSelection:this.hasChips?n=this.genChipSelection:n=this.genCommaSelection;e--;)t[e]=n(this.selectedItems[e],e,e===t.length-1);return this.$createElement("div",{staticClass:"v-select__selections"},t)},genSlotSelection(e,t){return this.$scopedSlots.selection({attrs:{class:"v-chip--select"},parent:this,item:e,index:t,select:n=>{n.stopPropagation(),this.selectedIndex=t},selected:t===this.selectedIndex,disabled:!this.isInteractive})},getMenuIndex(){return this.$refs.menu?this.$refs.menu.listIndex:-1},getDisabled(e){return Xr(e,this.itemDisabled,!1)},getText(e){return Xr(e,this.itemText,e)},getValue(e){return Xr(e,this.itemValue,this.getText(e))},onBlur(e){e&&this.$emit("blur",e)},onChipInput(e){this.multiple?this.selectItem(e):this.setValue(null),this.selectedItems.length===0?this.isMenuActive=!0:this.isMenuActive=!1,this.selectedIndex=-1},onClick(e){this.isInteractive&&(this.isAppendInner(e.target)||(this.isMenuActive=!0),this.isFocused||(this.isFocused=!0,this.$emit("focus")),this.$emit("click",e))},onEscDown(e){e.preventDefault(),this.isMenuActive&&(e.stopPropagation(),this.isMenuActive=!1)},onKeyPress(e){if(this.multiple||!this.isInteractive||this.disableLookup||e.key.length>1||e.ctrlKey||e.metaKey||e.altKey)return;const t=1e3,n=performance.now();n-this.keyboardLookupLastTime>t&&(this.keyboardLookupPrefix=""),this.keyboardLookupPrefix+=e.key.toLowerCase(),this.keyboardLookupLastTime=n;const r=this.allItems.findIndex(l=>{var c;return((c=this.getText(l))!==null&&c!==void 0?c:"").toString().toLowerCase().startsWith(this.keyboardLookupPrefix)}),a=this.allItems[r];r!==-1&&(this.lastItem=Math.max(this.lastItem,r+5),this.setValue(this.returnObject?a:this.getValue(a)),this.$nextTick(()=>this.$refs.menu.getTiles()),setTimeout(()=>this.setMenuIndex(r)))},onKeyDown(e){if(this.isReadonly&&e.keyCode!==me.tab)return;const t=e.keyCode,n=this.$refs.menu;if(this.$emit("keydown",e),!!n){if(this.isMenuActive&&[me.up,me.down,me.home,me.end,me.enter].includes(t)&&this.$nextTick(()=>{n.changeListIndex(e),this.$emit("update:list-index",n.listIndex)}),[me.enter,me.space].includes(t)&&this.activateMenu(),!this.isMenuActive&&[me.up,me.down,me.home,me.end].includes(t))return this.onUpDown(e);if(t===me.esc)return this.onEscDown(e);if(t===me.tab)return this.onTabDown(e);if(t===me.space)return this.onSpaceDown(e)}},onMenuActiveChange(e){if(this.multiple&&!e||this.getMenuIndex()>-1)return;const t=this.$refs.menu;if(!(!t||!this.isDirty)){this.$refs.menu.getTiles();for(let n=0;n<t.tiles.length;n++)if(t.tiles[n].getAttribute("aria-selected")==="true"){this.setMenuIndex(n);break}}},onMouseUp(e){this.hasMouseDown&&e.which!==3&&this.isInteractive&&this.isAppendInner(e.target)&&this.$nextTick(()=>this.isMenuActive=!this.isMenuActive),pr.options.methods.onMouseUp.call(this,e)},onScroll(){if(!this.isMenuActive)requestAnimationFrame(()=>{const e=this.getContent();e&&(e.scrollTop=0)});else{if(this.lastItem>this.computedItems.length)return;this.getContent().scrollHeight-(this.getContent().scrollTop+this.getContent().clientHeight)<200&&(this.lastItem+=20)}},onSpaceDown(e){e.preventDefault()},onTabDown(e){const t=this.$refs.menu;if(!t)return;const n=t.activeTile;!this.multiple&&n&&this.isMenuActive?(e.preventDefault(),e.stopPropagation(),n.click()):this.blur(e)},onUpDown(e){const t=this.$refs.menu;if(!t)return;if(e.preventDefault(),this.multiple)return this.activateMenu();const n=e.keyCode;t.isBooted=!0,window.requestAnimationFrame(()=>{if(t.getTiles(),!t.hasClickableTiles)return this.activateMenu();switch(n){case me.up:t.prevTile();break;case me.down:t.nextTile();break;case me.home:t.firstTile();break;case me.end:t.lastTile();break}this.selectItem(this.allItems[this.getMenuIndex()])})},selectItem(e){if(!this.multiple)this.setValue(this.returnObject?e:this.getValue(e)),this.isMenuActive=!1;else{const t=(this.internalValue||[]).slice(),n=this.findExistingIndex(e);if(n!==-1?t.splice(n,1):t.push(e),this.setValue(t.map(r=>this.returnObject?r:this.getValue(r))),this.hideSelected)this.setMenuIndex(-1);else{const r=this.computedItems.indexOf(e);~r&&(this.$nextTick(()=>this.$refs.menu.getTiles()),setTimeout(()=>this.setMenuIndex(r)))}}},setMenuIndex(e){this.$refs.menu&&(this.$refs.menu.listIndex=e)},setSelectedItems(){const e=[],t=!this.multiple||!Array.isArray(this.internalValue)?[this.internalValue]:this.internalValue;for(const n of t){const r=this.allItems.findIndex(a=>this.valueComparator(this.getValue(a),this.getValue(n)));r>-1&&e.push(this.allItems[r])}this.selectedItems=e},setValue(e){this.valueComparator(e,this.internalValue)||(this.internalValue=e,this.$emit("change",e))},isAppendInner(e){const t=this.$refs["append-inner"];return t&&(t===e||t.contains(e))}}}),Op={...pc,offsetY:!0,offsetOverflow:!0,transition:!1},$C=Rt.extend({name:"v-autocomplete",props:{autoSelectFirst:{type:Boolean,default:!1},filter:{type:Function,default:(e,t,n)=>n.toLocaleLowerCase().indexOf(t.toLocaleLowerCase())>-1},hideNoData:Boolean,menuProps:{type:Rt.options.props.menuProps.type,default:()=>Op},noFilter:Boolean,searchInput:{type:String}},data(){return{lazySearch:this.searchInput}},computed:{classes(){return{...Rt.options.computed.classes.call(this),"v-autocomplete":!0,"v-autocomplete--is-selecting-index":this.selectedIndex>-1}},computedItems(){return this.filteredItems},selectedValues(){return this.selectedItems.map(e=>this.getValue(e))},hasDisplayedItems(){return this.hideSelected?this.filteredItems.some(e=>!this.hasItem(e)):this.filteredItems.length>0},currentRange(){return this.selectedItem==null?0:String(this.getText(this.selectedItem)).length},filteredItems(){return!this.isSearching||this.noFilter||this.internalSearch==null?this.allItems:this.allItems.filter(e=>{const t=Xr(e,this.itemText),n=t!=null?String(t):"";return this.filter(e,String(this.internalSearch),n)})},internalSearch:{get(){return this.lazySearch},set(e){this.lazySearch!==e&&(this.lazySearch=e,this.$emit("update:search-input",e))}},isAnyValueAllowed(){return!1},isDirty(){return this.searchIsDirty||this.selectedItems.length>0},isSearching(){return this.multiple&&this.searchIsDirty||this.searchIsDirty&&this.internalSearch!==this.getText(this.selectedItem)},menuCanShow(){return this.isFocused?this.hasDisplayedItems||!this.hideNoData:!1},$_menuProps(){const e=Rt.options.computed.$_menuProps.call(this);return e.contentClass=`v-autocomplete__content ${e.contentClass||""}`.trim(),{...Op,...e}},searchIsDirty(){return this.internalSearch!=null&&this.internalSearch!==""},selectedItem(){return this.multiple?null:this.selectedItems.find(e=>this.valueComparator(this.getValue(e),this.getValue(this.internalValue)))},listData(){const e=Rt.options.computed.listData.call(this);return e.props={...e.props,items:this.virtualizedItems,noFilter:this.noFilter||!this.isSearching||!this.filteredItems.length,searchInput:this.internalSearch},e}},watch:{filteredItems:"onFilteredItemsChanged",internalValue:"setSearch",isFocused(e){e?(document.addEventListener("copy",this.onCopy),this.$refs.input&&this.$refs.input.select()):(document.removeEventListener("copy",this.onCopy),this.blur(),this.updateSelf())},isMenuActive(e){e||!this.hasSlot||(this.lazySearch=null)},items(e,t){!(t&&t.length)&&this.hideNoData&&this.isFocused&&!this.isMenuActive&&e.length&&this.activateMenu()},searchInput(e){this.lazySearch=e},internalSearch:"onInternalSearchChanged",itemText:"updateSelf"},created(){this.setSearch()},destroyed(){document.removeEventListener("copy",this.onCopy)},methods:{onFilteredItemsChanged(e,t){if(e!==t){if(!this.autoSelectFirst){const n=t[this.$refs.menu.listIndex];n?this.setMenuIndex(e.findIndex(r=>r===n)):this.setMenuIndex(-1),this.$emit("update:list-index",this.$refs.menu.listIndex)}this.$nextTick(()=>{!this.internalSearch||e.length!==1&&!this.autoSelectFirst||(this.$refs.menu.getTiles(),this.autoSelectFirst&&e.length&&(this.setMenuIndex(0),this.$emit("update:list-index",this.$refs.menu.listIndex)))})}},onInternalSearchChanged(){this.updateMenuDimensions()},updateMenuDimensions(){this.isMenuActive&&this.$refs.menu&&this.$refs.menu.updateDimensions()},changeSelectedIndex(e){this.searchIsDirty||(this.multiple&&e===me.left?this.selectedIndex===-1?this.selectedIndex=this.selectedItems.length-1:this.selectedIndex--:this.multiple&&e===me.right?this.selectedIndex>=this.selectedItems.length-1?this.selectedIndex=-1:this.selectedIndex++:(e===me.backspace||e===me.delete)&&this.deleteCurrentItem())},deleteCurrentItem(){const e=this.selectedIndex,t=this.selectedItems[e];if(!this.isInteractive||this.getDisabled(t))return;const n=this.selectedItems.length-1;if(this.selectedIndex===-1&&n!==0){this.selectedIndex=n;return}const r=this.selectedItems.length,a=e!==r-1?e:e-1;this.selectedItems[a]?this.selectItem(t):this.setValue(this.multiple?[]:null),this.selectedIndex=a},clearableCallback(){this.internalSearch=null,Rt.options.methods.clearableCallback.call(this)},genInput(){const e=pr.options.methods.genInput.call(this);return e.data=nn(e.data,{attrs:{"aria-activedescendant":Vt(this.$refs.menu,"activeTile.id"),autocomplete:Vt(e.data,"attrs.autocomplete","off")},domProps:{value:this.internalSearch}}),e},genInputSlot(){const e=Rt.options.methods.genInputSlot.call(this);return e.data.attrs.role="combobox",e},genSelections(){return this.hasSlot||this.multiple?Rt.options.methods.genSelections.call(this):[]},onClick(e){this.isInteractive&&(this.selectedIndex>-1?this.selectedIndex=-1:this.onFocus(),this.isAppendInner(e.target)||this.activateMenu())},onInput(e){if(this.selectedIndex>-1||!e.target)return;const t=e.target,n=t.value;t.value&&this.activateMenu(),!this.multiple&&n===""&&this.deleteCurrentItem(),this.internalSearch=n,this.badInput=t.validity&&t.validity.badInput},onKeyDown(e){const t=e.keyCode;(e.ctrlKey||![me.home,me.end].includes(t))&&Rt.options.methods.onKeyDown.call(this,e),this.changeSelectedIndex(t)},onSpaceDown(e){},onTabDown(e){Rt.options.methods.onTabDown.call(this,e),this.updateSelf()},onUpDown(e){e.preventDefault(),this.activateMenu()},selectItem(e){Rt.options.methods.selectItem.call(this,e),this.setSearch()},setSelectedItems(){Rt.options.methods.setSelectedItems.call(this),this.isFocused||this.setSearch()},setSearch(){this.$nextTick(()=>{(!this.multiple||!this.internalSearch||!this.isMenuActive)&&(this.internalSearch=!this.selectedItems.length||this.multiple||this.hasSlot?null:this.getText(this.selectedItem))})},updateSelf(){!this.searchIsDirty&&!this.internalValue||!this.multiple&&!this.valueComparator(this.internalSearch,this.getValue(this.internalValue))&&this.setSearch()},hasItem(e){return this.selectedValues.indexOf(this.getValue(e))>-1},onCopy(e){var t,n;if(this.selectedIndex===-1)return;const r=this.selectedItems[this.selectedIndex],a=this.getText(r);(t=e.clipboardData)===null||t===void 0||t.setData("text/plain",a),(n=e.clipboardData)===null||n===void 0||n.setData("text/vnd.vuetify.autocomplete.item+plain",a),e.preventDefault()}}});const MC=Me(mt,Ke,el).extend({name:"v-overlay",props:{absolute:Boolean,color:{type:String,default:"#212121"},dark:{type:Boolean,default:!0},opacity:{type:[Number,String],default:.46},value:{default:!0},zIndex:{type:[Number,String],default:5}},computed:{__scrim(){const e=this.setBackgroundColor(this.color,{staticClass:"v-overlay__scrim",style:{opacity:this.computedOpacity}});return this.$createElement("div",e)},classes(){return{"v-overlay--absolute":this.absolute,"v-overlay--active":this.isActive,...this.themeClasses}},computedOpacity(){return Number(this.isActive?this.opacity:0)},styles(){return{zIndex:this.zIndex}}},methods:{genContent(){return this.$createElement("div",{staticClass:"v-overlay__content"},Ae(this))}},render(e){const t=[this.__scrim];return this.isActive&&t.push(this.genContent()),e("div",{staticClass:"v-overlay",on:this.$listeners,class:this.classes,style:this.styles},t)}}),Eg=ee.extend().extend({name:"overlayable",props:{hideOverlay:Boolean,overlayColor:String,overlayOpacity:[Number,String]},data(){return{animationFrame:0,overlay:null}},watch:{hideOverlay(e){this.isActive&&(e?this.removeOverlay():this.genOverlay())}},beforeDestroy(){this.removeOverlay()},methods:{createOverlay(){const e=new MC({propsData:{absolute:this.absolute,value:!1,color:this.overlayColor,opacity:this.overlayOpacity}});e.$mount();const t=this.absolute?this.$el.parentNode:document.querySelector("[data-app]");t&&t.insertBefore(e.$el,t.firstChild),this.overlay=e},genOverlay(){if(this.hideScroll(),!this.hideOverlay)return this.overlay||this.createOverlay(),this.animationFrame=requestAnimationFrame(()=>{this.overlay&&(this.activeZIndex!==void 0?this.overlay.zIndex=String(this.activeZIndex-1):this.$el&&(this.overlay.zIndex=wa(this.$el)),this.overlay.value=!0)}),!0},removeOverlay(e=!0){this.overlay&&(xk(this.overlay.$el,"transitionend",()=>{!this.overlay||!this.overlay.$el||!this.overlay.$el.parentNode||this.overlay.value||this.isActive||(this.overlay.$el.parentNode.removeChild(this.overlay.$el),this.overlay.$destroy(),this.overlay=null)}),cancelAnimationFrame(this.animationFrame),this.overlay.value=!1),e&&this.showScroll()},scrollListener(e){if("key"in e){if(["INPUT","TEXTAREA","SELECT"].includes(e.target.tagName)||e.target.isContentEditable)return;const t=[me.up,me.pageup],n=[me.down,me.pagedown];if(t.includes(e.keyCode))e.deltaY=-1;else if(n.includes(e.keyCode))e.deltaY=1;else return}(e.target===this.overlay||e.type!=="keydown"&&e.target===document.body||this.checkPath(e))&&e.preventDefault()},hasScrollbar(e){if(!e||e.nodeType!==Node.ELEMENT_NODE)return!1;const t=window.getComputedStyle(e);return(["auto","scroll"].includes(t.overflowY)||e.tagName==="SELECT")&&e.scrollHeight>e.clientHeight||["auto","scroll"].includes(t.overflowX)&&e.scrollWidth>e.clientWidth},shouldScroll(e,t){if(e.hasAttribute("data-app"))return!1;const n=t.shiftKey||t.deltaX?"x":"y",r=n==="y"?t.deltaY:t.deltaX||t.deltaY;let a,l;n==="y"?(a=e.scrollTop===0,l=e.scrollTop+e.clientHeight===e.scrollHeight):(a=e.scrollLeft===0,l=e.scrollLeft+e.clientWidth===e.scrollWidth);const c=r<0,d=r>0;return!a&&c||!l&&d?!0:(a||l)&&e.parentNode?this.shouldScroll(e.parentNode,t):!1},isInside(e,t){return e===t?!0:e===null||e===document.body?!1:this.isInside(e.parentNode,t)},checkPath(e){const t=Ok(e);if(e.type==="keydown"&&t[0]===document.body){const n=this.$refs.dialog,r=window.getSelection().anchorNode;return n&&this.hasScrollbar(n)&&this.isInside(r,n)?!this.shouldScroll(n,e):!0}for(let n=0;n<t.length;n++){const r=t[n];if(r===document||r===document.documentElement||r===this.$refs.content)return!0;if(this.hasScrollbar(r))return!this.shouldScroll(r,e)}return!0},hideScroll(){this.$vuetify.breakpoint.smAndDown?document.documentElement.classList.add("overflow-y-hidden"):(wk(window,"wheel",this.scrollListener,{passive:!1}),window.addEventListener("keydown",this.scrollListener))},showScroll(){document.documentElement.classList.remove("overflow-y-hidden"),window.removeEventListener("wheel",this.scrollListener),window.removeEventListener("keydown",this.scrollListener)}}}),TC=Me(bh,Mg,Eg,Og,$g,nl),Ja=TC.extend({name:"v-dialog",directives:{ClickOutside:mh},props:{dark:Boolean,disabled:Boolean,fullscreen:Boolean,light:Boolean,maxWidth:[String,Number],noClickAnimation:Boolean,origin:{type:String,default:"center center"},persistent:Boolean,retainFocus:{type:Boolean,default:!0},scrollable:Boolean,transition:{type:[String,Boolean],default:"dialog-transition"},width:[String,Number]},data(){return{activatedBy:null,animate:!1,animateTimeout:-1,stackMinZIndex:200,previousActiveElement:null}},computed:{classes(){return{[`v-dialog ${this.contentClass}`.trim()]:!0,"v-dialog--active":this.isActive,"v-dialog--persistent":this.persistent,"v-dialog--fullscreen":this.fullscreen,"v-dialog--scrollable":this.scrollable,"v-dialog--animated":this.animate}},contentClasses(){return{"v-dialog__content":!0,"v-dialog__content--active":this.isActive}},hasActivator(){return!!(this.$slots.activator||this.$scopedSlots.activator)}},watch:{isActive(e){var t;e?(this.show(),this.hideScroll()):(this.removeOverlay(),this.unbind(),(t=this.previousActiveElement)===null||t===void 0||t.focus())},fullscreen(e){this.isActive&&(e?(this.hideScroll(),this.removeOverlay(!1)):(this.showScroll(),this.genOverlay()))}},created(){this.$attrs.hasOwnProperty("full-width")&&Ko("full-width",this)},beforeMount(){this.$nextTick(()=>{this.isBooted=this.isActive,this.isActive&&this.show()})},beforeDestroy(){typeof window<"u"&&this.unbind()},methods:{animateClick(){this.animate=!1,this.$nextTick(()=>{this.animate=!0,window.clearTimeout(this.animateTimeout),this.animateTimeout=window.setTimeout(()=>this.animate=!1,150)})},closeConditional(e){const t=e.target;return!(this._isDestroyed||!this.isActive||this.$refs.content.contains(t)||this.overlay&&t&&!this.overlay.$el.contains(t))&&this.activeZIndex>=this.getMaxZIndex()},hideScroll(){this.fullscreen?document.documentElement.classList.add("overflow-y-hidden"):Eg.options.methods.hideScroll.call(this)},show(){!this.fullscreen&&!this.hideOverlay&&this.genOverlay(),this.$nextTick(()=>{this.$nextTick(()=>{var e,t;!((e=this.$refs.dialog)===null||e===void 0)&&e.contains(document.activeElement)||(this.previousActiveElement=document.activeElement,(t=this.$refs.dialog)===null||t===void 0||t.focus()),this.bind()})})},bind(){window.addEventListener("focusin",this.onFocusin)},unbind(){window.removeEventListener("focusin",this.onFocusin)},onClickOutside(e){this.$emit("click:outside",e),this.persistent?this.noClickAnimation||this.animateClick():this.isActive=!1},onKeydown(e){if(e.keyCode===me.esc&&!this.getOpenDependents().length)if(this.persistent)this.noClickAnimation||this.animateClick();else{this.isActive=!1;const t=this.getActivator();this.$nextTick(()=>t&&t.focus())}this.$emit("keydown",e)},onFocusin(e){if(!e||!this.retainFocus)return;const t=e.target;if(t&&this.$refs.dialog&&![document,this.$refs.dialog].includes(t)&&!this.$refs.dialog.contains(t)&&this.activeZIndex>=this.getMaxZIndex()&&!this.getOpenDependentElements().some(n=>n.contains(t))){const r=[...this.$refs.dialog.querySelectorAll('button, [href], input:not([type="hidden"]), select, textarea, [tabindex]:not([tabindex="-1"])')].find(a=>!a.hasAttribute("disabled")&&!a.matches('[tabindex="-1"]'));r&&r.focus()}},genContent(){return this.showLazyContent(()=>[this.$createElement(Sg,{props:{root:!0,light:this.light,dark:this.dark}},[this.$createElement("div",{class:this.contentClasses,attrs:{role:"dialog","aria-modal":this.hideOverlay?void 0:"true",...this.getScopeIdAttrs()},on:{keydown:this.onKeydown},style:{zIndex:this.activeZIndex},ref:"content"},[this.genTransition()])])])},genTransition(){const e=this.genInnerContent();return this.transition?this.$createElement("transition",{props:{name:this.transition,origin:this.origin,appear:!0}},[e]):e},genInnerContent(){const e={class:this.classes,attrs:{tabindex:this.isActive?0:void 0},ref:"dialog",directives:[{name:"click-outside",value:{handler:this.onClickOutside,closeConditional:this.closeConditional,include:this.getOpenDependentElements}},{name:"show",value:this.isActive}],style:{transformOrigin:this.origin}};return this.fullscreen||(e.style={...e.style,maxWidth:de(this.maxWidth),width:de(this.width)}),this.$createElement("div",e,this.getContentSlot())}},render(e){return e("div",{staticClass:"v-dialog__container",class:{"v-dialog__container--attached":this.attach===""||this.attach===!0||this.attach==="attach"}},[this.genActivator(),this.genContent()])}});const An=Me(dc,Tn,Bt).extend({name:"v-card",props:{flat:Boolean,hover:Boolean,img:String,link:Boolean,loaderHeight:{type:[Number,String],default:4},raised:Boolean},computed:{classes(){return{"v-card":!0,...Tn.options.computed.classes.call(this),"v-card--flat":this.flat,"v-card--hover":this.hover,"v-card--link":this.isClickable,"v-card--loading":this.loading,"v-card--disabled":this.disabled,"v-card--raised":this.raised,...Bt.options.computed.classes.call(this)}},styles(){const e={...Bt.options.computed.styles.call(this)};return this.img&&(e.background=`url("${this.img}") center center / cover no-repeat`),e}},methods:{genProgress(){const e=dc.options.methods.genProgress.call(this);return e?this.$createElement("div",{staticClass:"v-card__progress",key:"progress"},[e]):null}},render(e){const{tag:t,data:n}=this.generateRouteLink();return n.style=this.styles,this.isClickable&&(n.attrs=n.attrs||{},n.attrs.tabindex=0),e(t,this.setBackgroundColor(this.color,n),[this.genProgress(),Ae(this)])}}),Qa=nr("v-card__actions"),rl=nr("v-card__subtitle"),hn=nr("v-card__text"),ai=nr("v-card__title"),OC=Object.freeze({base:"#f44336",lighten5:"#ffebee",lighten4:"#ffcdd2",lighten3:"#ef9a9a",lighten2:"#e57373",lighten1:"#ef5350",darken1:"#e53935",darken2:"#d32f2f",darken3:"#c62828",darken4:"#b71c1c",accent1:"#ff8a80",accent2:"#ff5252",accent3:"#ff1744",accent4:"#d50000"}),AC=Object.freeze({base:"#e91e63",lighten5:"#fce4ec",lighten4:"#f8bbd0",lighten3:"#f48fb1",lighten2:"#f06292",lighten1:"#ec407a",darken1:"#d81b60",darken2:"#c2185b",darken3:"#ad1457",darken4:"#880e4f",accent1:"#ff80ab",accent2:"#ff4081",accent3:"#f50057",accent4:"#c51162"}),DC=Object.freeze({base:"#9c27b0",lighten5:"#f3e5f5",lighten4:"#e1bee7",lighten3:"#ce93d8",lighten2:"#ba68c8",lighten1:"#ab47bc",darken1:"#8e24aa",darken2:"#7b1fa2",darken3:"#6a1b9a",darken4:"#4a148c",accent1:"#ea80fc",accent2:"#e040fb",accent3:"#d500f9",accent4:"#aa00ff"}),IC=Object.freeze({base:"#673ab7",lighten5:"#ede7f6",lighten4:"#d1c4e9",lighten3:"#b39ddb",lighten2:"#9575cd",lighten1:"#7e57c2",darken1:"#5e35b1",darken2:"#512da8",darken3:"#4527a0",darken4:"#311b92",accent1:"#b388ff",accent2:"#7c4dff",accent3:"#651fff",accent4:"#6200ea"}),LC=Object.freeze({base:"#3f51b5",lighten5:"#e8eaf6",lighten4:"#c5cae9",lighten3:"#9fa8da",lighten2:"#7986cb",lighten1:"#5c6bc0",darken1:"#3949ab",darken2:"#303f9f",darken3:"#283593",darken4:"#1a237e",accent1:"#8c9eff",accent2:"#536dfe",accent3:"#3d5afe",accent4:"#304ffe"}),EC=Object.freeze({base:"#2196f3",lighten5:"#e3f2fd",lighten4:"#bbdefb",lighten3:"#90caf9",lighten2:"#64b5f6",lighten1:"#42a5f5",darken1:"#1e88e5",darken2:"#1976d2",darken3:"#1565c0",darken4:"#0d47a1",accent1:"#82b1ff",accent2:"#448aff",accent3:"#2979ff",accent4:"#2962ff"}),PC=Object.freeze({base:"#03a9f4",lighten5:"#e1f5fe",lighten4:"#b3e5fc",lighten3:"#81d4fa",lighten2:"#4fc3f7",lighten1:"#29b6f6",darken1:"#039be5",darken2:"#0288d1",darken3:"#0277bd",darken4:"#01579b",accent1:"#80d8ff",accent2:"#40c4ff",accent3:"#00b0ff",accent4:"#0091ea"}),RC=Object.freeze({base:"#00bcd4",lighten5:"#e0f7fa",lighten4:"#b2ebf2",lighten3:"#80deea",lighten2:"#4dd0e1",lighten1:"#26c6da",darken1:"#00acc1",darken2:"#0097a7",darken3:"#00838f",darken4:"#006064",accent1:"#84ffff",accent2:"#18ffff",accent3:"#00e5ff",accent4:"#00b8d4"}),FC=Object.freeze({base:"#009688",lighten5:"#e0f2f1",lighten4:"#b2dfdb",lighten3:"#80cbc4",lighten2:"#4db6ac",lighten1:"#26a69a",darken1:"#00897b",darken2:"#00796b",darken3:"#00695c",darken4:"#004d40",accent1:"#a7ffeb",accent2:"#64ffda",accent3:"#1de9b6",accent4:"#00bfa5"}),NC=Object.freeze({base:"#4caf50",lighten5:"#e8f5e9",lighten4:"#c8e6c9",lighten3:"#a5d6a7",lighten2:"#81c784",lighten1:"#66bb6a",darken1:"#43a047",darken2:"#388e3c",darken3:"#2e7d32",darken4:"#1b5e20",accent1:"#b9f6ca",accent2:"#69f0ae",accent3:"#00e676",accent4:"#00c853"}),BC=Object.freeze({base:"#8bc34a",lighten5:"#f1f8e9",lighten4:"#dcedc8",lighten3:"#c5e1a5",lighten2:"#aed581",lighten1:"#9ccc65",darken1:"#7cb342",darken2:"#689f38",darken3:"#558b2f",darken4:"#33691e",accent1:"#ccff90",accent2:"#b2ff59",accent3:"#76ff03",accent4:"#64dd17"}),zC=Object.freeze({base:"#cddc39",lighten5:"#f9fbe7",lighten4:"#f0f4c3",lighten3:"#e6ee9c",lighten2:"#dce775",lighten1:"#d4e157",darken1:"#c0ca33",darken2:"#afb42b",darken3:"#9e9d24",darken4:"#827717",accent1:"#f4ff81",accent2:"#eeff41",accent3:"#c6ff00",accent4:"#aeea00"}),HC=Object.freeze({base:"#ffeb3b",lighten5:"#fffde7",lighten4:"#fff9c4",lighten3:"#fff59d",lighten2:"#fff176",lighten1:"#ffee58",darken1:"#fdd835",darken2:"#fbc02d",darken3:"#f9a825",darken4:"#f57f17",accent1:"#ffff8d",accent2:"#ffff00",accent3:"#ffea00",accent4:"#ffd600"}),WC=Object.freeze({base:"#ffc107",lighten5:"#fff8e1",lighten4:"#ffecb3",lighten3:"#ffe082",lighten2:"#ffd54f",lighten1:"#ffca28",darken1:"#ffb300",darken2:"#ffa000",darken3:"#ff8f00",darken4:"#ff6f00",accent1:"#ffe57f",accent2:"#ffd740",accent3:"#ffc400",accent4:"#ffab00"}),VC=Object.freeze({base:"#ff9800",lighten5:"#fff3e0",lighten4:"#ffe0b2",lighten3:"#ffcc80",lighten2:"#ffb74d",lighten1:"#ffa726",darken1:"#fb8c00",darken2:"#f57c00",darken3:"#ef6c00",darken4:"#e65100",accent1:"#ffd180",accent2:"#ffab40",accent3:"#ff9100",accent4:"#ff6d00"}),jC=Object.freeze({base:"#ff5722",lighten5:"#fbe9e7",lighten4:"#ffccbc",lighten3:"#ffab91",lighten2:"#ff8a65",lighten1:"#ff7043",darken1:"#f4511e",darken2:"#e64a19",darken3:"#d84315",darken4:"#bf360c",accent1:"#ff9e80",accent2:"#ff6e40",accent3:"#ff3d00",accent4:"#dd2c00"}),UC=Object.freeze({base:"#795548",lighten5:"#efebe9",lighten4:"#d7ccc8",lighten3:"#bcaaa4",lighten2:"#a1887f",lighten1:"#8d6e63",darken1:"#6d4c41",darken2:"#5d4037",darken3:"#4e342e",darken4:"#3e2723"}),YC=Object.freeze({base:"#607d8b",lighten5:"#eceff1",lighten4:"#cfd8dc",lighten3:"#b0bec5",lighten2:"#90a4ae",lighten1:"#78909c",darken1:"#546e7a",darken2:"#455a64",darken3:"#37474f",darken4:"#263238"}),qC=Object.freeze({base:"#9e9e9e",lighten5:"#fafafa",lighten4:"#f5f5f5",lighten3:"#eeeeee",lighten2:"#e0e0e0",lighten1:"#bdbdbd",darken1:"#757575",darken2:"#616161",darken3:"#424242",darken4:"#212121"}),GC=Object.freeze({black:"#000000",white:"#ffffff",transparent:"transparent"}),ZC=Object.freeze({red:OC,pink:AC,purple:DC,deepPurple:IC,indigo:LC,blue:EC,lightBlue:PC,cyan:RC,teal:FC,green:NC,lightGreen:BC,lime:zC,yellow:HC,amber:WC,orange:VC,deepOrange:jC,brown:UC,blueGrey:YC,grey:qC,shades:GC});const KC=vh.extend({name:"v-main",props:{tag:{type:String,default:"main"}},computed:{styles(){const{bar:e,top:t,right:n,footer:r,insetFooter:a,bottom:l,left:c}=this.$vuetify.application;return{paddingTop:`${t+e}px`,paddingRight:`${n}px`,paddingBottom:`${r+a+l}px`,paddingLeft:`${c}px`}}},render(e){const t={staticClass:"v-main",style:this.styles,ref:"main"};return e(this.tag,t,[e("div",{staticClass:"v-main__wrap"},Ae(this))])}});const XC=Me(Bt,sg("footer",["height","inset"]),vh).extend({name:"v-footer",props:{height:{default:"auto",type:[Number,String]},inset:Boolean,padless:Boolean,tag:{type:String,default:"footer"}},computed:{applicationProperty(){return this.inset?"insetFooter":"footer"},classes(){return{...Bt.options.computed.classes.call(this),"v-footer--absolute":this.absolute,"v-footer--fixed":!this.absolute&&(this.app||this.fixed),"v-footer--padless":this.padless,"v-footer--inset":this.inset}},computedBottom(){if(this.isPositioned)return this.app?this.$vuetify.application.bottom:0},computedLeft(){if(this.isPositioned)return this.app&&this.inset?this.$vuetify.application.left:0},computedRight(){if(this.isPositioned)return this.app&&this.inset?this.$vuetify.application.right:0},isPositioned(){return!!(this.absolute||this.fixed||this.app)},styles(){const e=parseInt(this.height);return{...Bt.options.computed.styles.call(this),height:isNaN(e)?e:de(e),left:de(this.computedLeft),right:de(this.computedRight),bottom:de(this.computedBottom)}}},methods:{updateApplication(){const e=parseInt(this.height);return isNaN(e)?this.$el?this.$el.clientHeight:0:e}},render(e){const t=this.setBackgroundColor(this.color,{staticClass:"v-footer",class:this.classes,style:this.styles});return e(this.tag,t,Ae(this))}});function JC(e){return ee.extend({name:`v-${e}`,functional:!0,props:{id:String,tag:{type:String,default:"div"}},render(t,{props:n,data:r,children:a}){r.staticClass=`${e} ${r.staticClass||""}`.trim();const{attrs:l}=r;if(l){r.attrs={};const c=Object.keys(l).filter(d=>{if(d==="slot")return!1;const v=l[d];return d.startsWith("data-")?(r.attrs[d]=v,!1):v||typeof v=="string"});c.length&&(r.staticClass+=` ${c.join(" ")}`)}return n.id&&(r.domProps=r.domProps||{},r.domProps.id=n.id),t(n.tag,r,a)}})}const xh=JC("container").extend({name:"v-container",functional:!0,props:{id:String,tag:{type:String,default:"div"},fluid:{type:Boolean,default:!1}},render(e,{props:t,data:n,children:r}){let a;const{attrs:l}=n;return l&&(n.attrs={},a=Object.keys(l).filter(c=>{if(c==="slot")return!1;const d=l[c];return c.startsWith("data-")?(n.attrs[c]=d,!1):d||typeof d=="string"})),t.id&&(n.domProps=n.domProps||{},n.domProps.id=t.id),e(t.tag,nn(n,{staticClass:"container",class:Array({"container--fluid":t.fluid}).concat(a||[])}),r)}}),wh=["sm","md","lg","xl"],Pg=(()=>wh.reduce((e,t)=>(e[t]={type:[Boolean,String,Number],default:!1},e),{}))(),Rg=(()=>wh.reduce((e,t)=>(e["offset"+Uo(t)]={type:[String,Number],default:null},e),{}))(),Fg=(()=>wh.reduce((e,t)=>(e["order"+Uo(t)]={type:[String,Number],default:null},e),{}))(),Ap={col:Object.keys(Pg),offset:Object.keys(Rg),order:Object.keys(Fg)};function QC(e,t,n){let r=e;if(!(n==null||n===!1)){if(t){const a=t.replace(e,"");r+=`-${a}`}return e==="col"&&(n===""||n===!0)||(r+=`-${n}`),r.toLowerCase()}}const Dp=new Map,wt=ee.extend({name:"v-col",functional:!0,props:{cols:{type:[Boolean,String,Number],default:!1},...Pg,offset:{type:[String,Number],default:null},...Rg,order:{type:[String,Number],default:null},...Fg,alignSelf:{type:String,default:null,validator:e=>["auto","start","end","center","baseline","stretch"].includes(e)},tag:{type:String,default:"div"}},render(e,{props:t,data:n,children:r,parent:a}){let l="";for(const d in t)l+=String(t[d]);let c=Dp.get(l);if(!c){c=[];let d;for(d in Ap)Ap[d].forEach(y=>{const _=t[y],k=QC(d,y,_);k&&c.push(k)});const v=c.some(y=>y.startsWith("col-"));c.push({col:!v||!t.cols,[`col-${t.cols}`]:t.cols,[`offset-${t.offset}`]:t.offset,[`order-${t.order}`]:t.order,[`align-self-${t.alignSelf}`]:t.alignSelf}),Dp.set(l,c)}return e(t.tag,nn(n,{class:c}),r)}}),e$=["sm","md","lg","xl"],Sh=["start","end","center"];function kh(e,t){return e$.reduce((n,r)=>(n[e+Uo(r)]=t(),n),{})}const Ng=e=>[...Sh,"baseline","stretch"].includes(e),Bg=kh("align",()=>({type:String,default:null,validator:Ng})),zg=e=>[...Sh,"space-between","space-around"].includes(e),Hg=kh("justify",()=>({type:String,default:null,validator:zg})),Wg=e=>[...Sh,"space-between","space-around","stretch"].includes(e),Vg=kh("alignContent",()=>({type:String,default:null,validator:Wg})),Ip={align:Object.keys(Bg),justify:Object.keys(Hg),alignContent:Object.keys(Vg)},t$={align:"align",justify:"justify",alignContent:"align-content"};function n$(e,t,n){let r=t$[e];if(n!=null){if(t){const a=t.replace(e,"");r+=`-${a}`}return r+=`-${n}`,r.toLowerCase()}}const Lp=new Map,mr=ee.extend({name:"v-row",functional:!0,props:{tag:{type:String,default:"div"},dense:Boolean,noGutters:Boolean,align:{type:String,default:null,validator:Ng},...Bg,justify:{type:String,default:null,validator:zg},...Hg,alignContent:{type:String,default:null,validator:Wg},...Vg},render(e,{props:t,data:n,children:r}){let a="";for(const c in t)a+=String(t[c]);let l=Lp.get(a);if(!l){l=[];let c;for(c in Ip)Ip[c].forEach(d=>{const v=t[d],y=n$(c,d,v);y&&l.push(y)});l.push({"no-gutters":t.noGutters,"row--dense":t.dense,[`align-${t.align}`]:t.align,[`justify-${t.justify}`]:t.justify,[`align-content-${t.alignContent}`]:t.alignContent}),Lp.set(a,l)}return e(t.tag,nn(n,{staticClass:"row",class:l}),r)}}),go=nr("spacer","div","v-spacer");const r$=Me(dh,Xo,Ke).extend({name:"VSkeletonLoader",props:{boilerplate:Boolean,loading:Boolean,loadingText:{type:String,default:"$vuetify.loading"},tile:Boolean,transition:String,type:String,types:{type:Object,default:()=>({})}},computed:{attrs(){return this.isLoading?{"aria-busy":this.boilerplate?void 0:!0,"aria-live":this.boilerplate?void 0:"polite","aria-label":this.boilerplate?void 0:this.$vuetify.lang.t(this.loadingText),role:this.boilerplate?void 0:"alert",...this.$attrs}:this.$attrs},classes(){return{"v-skeleton-loader--boilerplate":this.boilerplate,"v-skeleton-loader--is-loading":this.isLoading,"v-skeleton-loader--tile":this.tile,...this.themeClasses,...this.elevationClasses}},isLoading(){return!("default"in this.$scopedSlots)||this.loading},rootTypes(){return{actions:"button@2",article:"heading, paragraph",avatar:"avatar",button:"button",card:"image, card-heading","card-avatar":"image, list-item-avatar","card-heading":"heading",chip:"chip","date-picker":"list-item, card-heading, divider, date-picker-options, date-picker-days, actions","date-picker-options":"text, avatar@2","date-picker-days":"avatar@28",heading:"heading",image:"image","list-item":"text","list-item-avatar":"avatar, text","list-item-two-line":"sentences","list-item-avatar-two-line":"avatar, sentences","list-item-three-line":"paragraph","list-item-avatar-three-line":"avatar, paragraph",paragraph:"text@3",sentences:"text@2",table:"table-heading, table-thead, table-tbody, table-tfoot","table-heading":"heading, text","table-thead":"heading@6","table-tbody":"table-row-divider@6","table-row-divider":"table-row, divider","table-row":"table-cell@6","table-cell":"text","table-tfoot":"text@2, avatar@2",text:"text",...this.types}}},methods:{genBone(e,t){return this.$createElement("div",{staticClass:`v-skeleton-loader__${e} v-skeleton-loader__bone`},t)},genBones(e){const[t,n]=e.split("@"),r=()=>this.genStructure(t);return Array.from({length:n}).map(r)},genStructure(e){let t=[];e=e||this.type||"";const n=this.rootTypes[e]||"";if(e!==n){if(e.indexOf(",")>-1)return this.mapBones(e);if(e.indexOf("@")>-1)return this.genBones(e);n.indexOf(",")>-1?t=this.mapBones(n):n.indexOf("@")>-1?t=this.genBones(n):n&&t.push(this.genStructure(n))}return[this.genBone(e,t)]},genSkeleton(){const e=[];return this.isLoading?e.push(this.genStructure()):e.push(Ae(this)),this.transition?this.$createElement("transition",{props:{name:this.transition},on:{afterEnter:this.resetStyles,beforeEnter:this.onBeforeEnter,beforeLeave:this.onBeforeLeave,leaveCancelled:this.resetStyles}},e):e},mapBones(e){return e.replace(/\s/g,"").split(",").map(this.genStructure)},onBeforeEnter(e){this.resetStyles(e),this.isLoading&&(e._initialStyle={display:e.style.display,transition:e.style.transition},e.style.setProperty("transition","none","important"))},onBeforeLeave(e){e.style.setProperty("display","none","important")},resetStyles(e){e._initialStyle&&(e.style.display=e._initialStyle.display||"",e.style.transition=e._initialStyle.transition,delete e._initialStyle)}},render(e){return e("div",{staticClass:"v-skeleton-loader",attrs:this.attrs,on:this.$listeners,class:this.classes,style:this.isLoading?this.measurableStyles:void 0},[this.genSkeleton()])}});function mc(e){this.message=e}mc.prototype=new Error,mc.prototype.name="InvalidCharacterError";var Ep=typeof window<"u"&&window.atob&&window.atob.bind(window)||function(e){var t=String(e).replace(/=+$/,"");if(t.length%4==1)throw new mc("'atob' failed: The string to be decoded is not correctly encoded.");for(var n,r,a=0,l=0,c="";r=t.charAt(l++);~r&&(n=a%4?64*n+r:r,a++%4)?c+=String.fromCharCode(255&n>>(-2*a&6)):0)r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".indexOf(r);return c};function i$(e){var t=e.replace(/-/g,"+").replace(/_/g,"/");switch(t.length%4){case 0:break;case 2:t+="==";break;case 3:t+="=";break;default:throw"Illegal base64url string!"}try{return function(n){return decodeURIComponent(Ep(n).replace(/(.)/g,function(r,a){var l=a.charCodeAt(0).toString(16).toUpperCase();return l.length<2&&(l="0"+l),"%"+l}))}(t)}catch{return Ep(t)}}function yo(e){this.message=e}function jg(e,t){if(typeof e!="string")throw new yo("Invalid token specified");var n=(t=t||{}).header===!0?0:1;try{return JSON.parse(i$(e.split(".")[n]))}catch(r){throw new yo("Invalid token specified: "+r.message)}}yo.prototype=new Error,yo.prototype.name="InvalidTokenError";/*!
 * vuex v3.6.2
 * (c) 2021 Evan You
 * @license MIT
 */function a$(e){var t=Number(e.version.split(".")[0]);if(t>=2)e.mixin({beforeCreate:r});else{var n=e.prototype._init;e.prototype._init=function(a){a===void 0&&(a={}),a.init=a.init?[r].concat(a.init):r,n.call(this,a)}}function r(){var a=this.$options;a.store?this.$store=typeof a.store=="function"?a.store():a.store:a.parent&&a.parent.$store&&(this.$store=a.parent.$store)}}var s$=typeof window<"u"?window:typeof global<"u"?global:{},Si=s$.__VUE_DEVTOOLS_GLOBAL_HOOK__;function o$(e){Si&&(e._devtoolHook=Si,Si.emit("vuex:init",e),Si.on("vuex:travel-to-state",function(t){e.replaceState(t)}),e.subscribe(function(t,n){Si.emit("vuex:mutation",t,n)},{prepend:!0}),e.subscribeAction(function(t,n){Si.emit("vuex:action",t,n)},{prepend:!0}))}function l$(e,t){return e.filter(t)[0]}function vc(e,t){if(t===void 0&&(t=[]),e===null||typeof e!="object")return e;var n=l$(t,function(a){return a.original===e});if(n)return n.copy;var r=Array.isArray(e)?[]:{};return t.push({original:e,copy:r}),Object.keys(e).forEach(function(a){r[a]=vc(e[a],t)}),r}function Yi(e,t){Object.keys(e).forEach(function(n){return t(e[n],n)})}function Ug(e){return e!==null&&typeof e=="object"}function u$(e){return e&&typeof e.then=="function"}function c$(e,t){return function(){return e(t)}}var gn=function(t,n){this.runtime=n,this._children=Object.create(null),this._rawModule=t;var r=t.state;this.state=(typeof r=="function"?r():r)||{}},Yg={namespaced:{configurable:!0}};Yg.namespaced.get=function(){return!!this._rawModule.namespaced};gn.prototype.addChild=function(t,n){this._children[t]=n};gn.prototype.removeChild=function(t){delete this._children[t]};gn.prototype.getChild=function(t){return this._children[t]};gn.prototype.hasChild=function(t){return t in this._children};gn.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)};gn.prototype.forEachChild=function(t){Yi(this._children,t)};gn.prototype.forEachGetter=function(t){this._rawModule.getters&&Yi(this._rawModule.getters,t)};gn.prototype.forEachAction=function(t){this._rawModule.actions&&Yi(this._rawModule.actions,t)};gn.prototype.forEachMutation=function(t){this._rawModule.mutations&&Yi(this._rawModule.mutations,t)};Object.defineProperties(gn.prototype,Yg);var ci=function(t){this.register([],t,!1)};ci.prototype.get=function(t){return t.reduce(function(n,r){return n.getChild(r)},this.root)};ci.prototype.getNamespace=function(t){var n=this.root;return t.reduce(function(r,a){return n=n.getChild(a),r+(n.namespaced?a+"/":"")},"")};ci.prototype.update=function(t){qg([],this.root,t)};ci.prototype.register=function(t,n,r){var a=this;r===void 0&&(r=!0);var l=new gn(n,r);if(t.length===0)this.root=l;else{var c=this.get(t.slice(0,-1));c.addChild(t[t.length-1],l)}n.modules&&Yi(n.modules,function(d,v){a.register(t.concat(v),d,r)})};ci.prototype.unregister=function(t){var n=this.get(t.slice(0,-1)),r=t[t.length-1],a=n.getChild(r);a&&a.runtime&&n.removeChild(r)};ci.prototype.isRegistered=function(t){var n=this.get(t.slice(0,-1)),r=t[t.length-1];return n?n.hasChild(r):!1};function qg(e,t,n){if(t.update(n),n.modules)for(var r in n.modules){if(!t.getChild(r))return;qg(e.concat(r),t.getChild(r),n.modules[r])}}var It,Yt=function(t){var n=this;t===void 0&&(t={}),!It&&typeof window<"u"&&window.Vue&&Kg(window.Vue);var r=t.plugins;r===void 0&&(r=[]);var a=t.strict;a===void 0&&(a=!1),this._committing=!1,this._actions=Object.create(null),this._actionSubscribers=[],this._mutations=Object.create(null),this._wrappedGetters=Object.create(null),this._modules=new ci(t),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._watcherVM=new It,this._makeLocalGettersCache=Object.create(null);var l=this,c=this,d=c.dispatch,v=c.commit;this.dispatch=function($,M){return d.call(l,$,M)},this.commit=function($,M,T){return v.call(l,$,M,T)},this.strict=a;var y=this._modules.root.state;il(this,y,[],this._modules.root),$h(this,y),r.forEach(function(k){return k(n)});var _=t.devtools!==void 0?t.devtools:It.config.devtools;_&&o$(this)},Ch={state:{configurable:!0}};Ch.state.get=function(){return this._vm._data.$$state};Ch.state.set=function(e){};Yt.prototype.commit=function(t,n,r){var a=this,l=bo(t,n,r),c=l.type,d=l.payload,v={type:c,payload:d},y=this._mutations[c];y&&(this._withCommit(function(){y.forEach(function(k){k(d)})}),this._subscribers.slice().forEach(function(_){return _(v,a.state)}))};Yt.prototype.dispatch=function(t,n){var r=this,a=bo(t,n),l=a.type,c=a.payload,d={type:l,payload:c},v=this._actions[l];if(v){try{this._actionSubscribers.slice().filter(function(_){return _.before}).forEach(function(_){return _.before(d,r.state)})}catch{}var y=v.length>1?Promise.all(v.map(function(_){return _(c)})):v[0](c);return new Promise(function(_,k){y.then(function($){try{r._actionSubscribers.filter(function(M){return M.after}).forEach(function(M){return M.after(d,r.state)})}catch{}_($)},function($){try{r._actionSubscribers.filter(function(M){return M.error}).forEach(function(M){return M.error(d,r.state,$)})}catch{}k($)})})}};Yt.prototype.subscribe=function(t,n){return Gg(t,this._subscribers,n)};Yt.prototype.subscribeAction=function(t,n){var r=typeof t=="function"?{before:t}:t;return Gg(r,this._actionSubscribers,n)};Yt.prototype.watch=function(t,n,r){var a=this;return this._watcherVM.$watch(function(){return t(a.state,a.getters)},n,r)};Yt.prototype.replaceState=function(t){var n=this;this._withCommit(function(){n._vm._data.$$state=t})};Yt.prototype.registerModule=function(t,n,r){r===void 0&&(r={}),typeof t=="string"&&(t=[t]),this._modules.register(t,n),il(this,this.state,t,this._modules.get(t),r.preserveState),$h(this,this.state)};Yt.prototype.unregisterModule=function(t){var n=this;typeof t=="string"&&(t=[t]),this._modules.unregister(t),this._withCommit(function(){var r=Mh(n.state,t.slice(0,-1));It.delete(r,t[t.length-1])}),Zg(this)};Yt.prototype.hasModule=function(t){return typeof t=="string"&&(t=[t]),this._modules.isRegistered(t)};Yt.prototype.hotUpdate=function(t){this._modules.update(t),Zg(this,!0)};Yt.prototype._withCommit=function(t){var n=this._committing;this._committing=!0,t(),this._committing=n};Object.defineProperties(Yt.prototype,Ch);function Gg(e,t,n){return t.indexOf(e)<0&&(n&&n.prepend?t.unshift(e):t.push(e)),function(){var r=t.indexOf(e);r>-1&&t.splice(r,1)}}function Zg(e,t){e._actions=Object.create(null),e._mutations=Object.create(null),e._wrappedGetters=Object.create(null),e._modulesNamespaceMap=Object.create(null);var n=e.state;il(e,n,[],e._modules.root,!0),$h(e,n,t)}function $h(e,t,n){var r=e._vm;e.getters={},e._makeLocalGettersCache=Object.create(null);var a=e._wrappedGetters,l={};Yi(a,function(d,v){l[v]=c$(d,e),Object.defineProperty(e.getters,v,{get:function(){return e._vm[v]},enumerable:!0})});var c=It.config.silent;It.config.silent=!0,e._vm=new It({data:{$$state:t},computed:l}),It.config.silent=c,e.strict&&v$(e),r&&(n&&e._withCommit(function(){r._data.$$state=null}),It.nextTick(function(){return r.$destroy()}))}function il(e,t,n,r,a){var l=!n.length,c=e._modules.getNamespace(n);if(r.namespaced&&(e._modulesNamespaceMap[c],e._modulesNamespaceMap[c]=r),!l&&!a){var d=Mh(t,n.slice(0,-1)),v=n[n.length-1];e._withCommit(function(){It.set(d,v,r.state)})}var y=r.context=h$(e,c,n);r.forEachMutation(function(_,k){var $=c+k;d$(e,$,_,y)}),r.forEachAction(function(_,k){var $=_.root?k:c+k,M=_.handler||_;p$(e,$,M,y)}),r.forEachGetter(function(_,k){var $=c+k;m$(e,$,_,y)}),r.forEachChild(function(_,k){il(e,t,n.concat(k),_,a)})}function h$(e,t,n){var r=t==="",a={dispatch:r?e.dispatch:function(l,c,d){var v=bo(l,c,d),y=v.payload,_=v.options,k=v.type;return(!_||!_.root)&&(k=t+k),e.dispatch(k,y)},commit:r?e.commit:function(l,c,d){var v=bo(l,c,d),y=v.payload,_=v.options,k=v.type;(!_||!_.root)&&(k=t+k),e.commit(k,y,_)}};return Object.defineProperties(a,{getters:{get:r?function(){return e.getters}:function(){return f$(e,t)}},state:{get:function(){return Mh(e.state,n)}}}),a}function f$(e,t){if(!e._makeLocalGettersCache[t]){var n={},r=t.length;Object.keys(e.getters).forEach(function(a){if(a.slice(0,r)===t){var l=a.slice(r);Object.defineProperty(n,l,{get:function(){return e.getters[a]},enumerable:!0})}}),e._makeLocalGettersCache[t]=n}return e._makeLocalGettersCache[t]}function d$(e,t,n,r){var a=e._mutations[t]||(e._mutations[t]=[]);a.push(function(c){n.call(e,r.state,c)})}function p$(e,t,n,r){var a=e._actions[t]||(e._actions[t]=[]);a.push(function(c){var d=n.call(e,{dispatch:r.dispatch,commit:r.commit,getters:r.getters,state:r.state,rootGetters:e.getters,rootState:e.state},c);return u$(d)||(d=Promise.resolve(d)),e._devtoolHook?d.catch(function(v){throw e._devtoolHook.emit("vuex:error",v),v}):d})}function m$(e,t,n,r){e._wrappedGetters[t]||(e._wrappedGetters[t]=function(l){return n(r.state,r.getters,l.state,l.getters)})}function v$(e){e._vm.$watch(function(){return this._data.$$state},function(){},{deep:!0,sync:!0})}function Mh(e,t){return t.reduce(function(n,r){return n[r]},e)}function bo(e,t,n){return Ug(e)&&e.type&&(n=t,t=e,e=e.type),{type:e,payload:t,options:n}}function Kg(e){It&&e===It||(It=e,a$(It))}var Xg=sl(function(e,t){var n={};return al(t).forEach(function(r){var a=r.key,l=r.val;n[a]=function(){var d=this.$store.state,v=this.$store.getters;if(e){var y=ol(this.$store,"mapState",e);if(!y)return;d=y.context.state,v=y.context.getters}return typeof l=="function"?l.call(this,d,v):d[l]},n[a].vuex=!0}),n}),Jg=sl(function(e,t){var n={};return al(t).forEach(function(r){var a=r.key,l=r.val;n[a]=function(){for(var d=[],v=arguments.length;v--;)d[v]=arguments[v];var y=this.$store.commit;if(e){var _=ol(this.$store,"mapMutations",e);if(!_)return;y=_.context.commit}return typeof l=="function"?l.apply(this,[y].concat(d)):y.apply(this.$store,[l].concat(d))}}),n}),rr=sl(function(e,t){var n={};return al(t).forEach(function(r){var a=r.key,l=r.val;l=e+l,n[a]=function(){if(!(e&&!ol(this.$store,"mapGetters",e)))return this.$store.getters[l]},n[a].vuex=!0}),n}),Qg=sl(function(e,t){var n={};return al(t).forEach(function(r){var a=r.key,l=r.val;n[a]=function(){for(var d=[],v=arguments.length;v--;)d[v]=arguments[v];var y=this.$store.dispatch;if(e){var _=ol(this.$store,"mapActions",e);if(!_)return;y=_.context.dispatch}return typeof l=="function"?l.apply(this,[y].concat(d)):y.apply(this.$store,[l].concat(d))}}),n}),g$=function(e){return{mapState:Xg.bind(null,e),mapGetters:rr.bind(null,e),mapMutations:Jg.bind(null,e),mapActions:Qg.bind(null,e)}};function al(e){return y$(e)?Array.isArray(e)?e.map(function(t){return{key:t,val:t}}):Object.keys(e).map(function(t){return{key:t,val:e[t]}}):[]}function y$(e){return Array.isArray(e)||Ug(e)}function sl(e){return function(t,n){return typeof t!="string"?(n=t,t=""):t.charAt(t.length-1)!=="/"&&(t+="/"),e(t,n)}}function ol(e,t,n){var r=e._modulesNamespaceMap[n];return r}function b$(e){e===void 0&&(e={});var t=e.collapsed;t===void 0&&(t=!0);var n=e.filter;n===void 0&&(n=function(_,k,$){return!0});var r=e.transformer;r===void 0&&(r=function(_){return _});var a=e.mutationTransformer;a===void 0&&(a=function(_){return _});var l=e.actionFilter;l===void 0&&(l=function(_,k){return!0});var c=e.actionTransformer;c===void 0&&(c=function(_){return _});var d=e.logMutations;d===void 0&&(d=!0);var v=e.logActions;v===void 0&&(v=!0);var y=e.logger;return y===void 0&&(y=console),function(_){var k=vc(_.state);typeof y>"u"||(d&&_.subscribe(function($,M){var T=vc(M);if(n($,k,T)){var L=Fp(),D=a($),N="mutation "+$.type+L;Pp(y,N,t),y.log("%c prev state","color: #9E9E9E; font-weight: bold",r(k)),y.log("%c mutation","color: #03A9F4; font-weight: bold",D),y.log("%c next state","color: #4CAF50; font-weight: bold",r(T)),Rp(y)}k=T}),v&&_.subscribeAction(function($,M){if(l($,M)){var T=Fp(),L=c($),D="action "+$.type+T;Pp(y,D,t),y.log("%c action","color: #03A9F4; font-weight: bold",L),Rp(y)}}))}}function Pp(e,t,n){var r=n?e.groupCollapsed:e.group;try{r.call(e,t)}catch{e.log(t)}}function Rp(e){try{e.groupEnd()}catch{e.log("—— log end ——")}}function Fp(){var e=new Date;return" @ "+Os(e.getHours(),2)+":"+Os(e.getMinutes(),2)+":"+Os(e.getSeconds(),2)+"."+Os(e.getMilliseconds(),3)}function _$(e,t){return new Array(t+1).join(e)}function Os(e,t){return _$("0",t-e.toString().length)+e}var x$={Store:Yt,install:Kg,version:"3.6.2",mapState:Xg,mapMutations:Jg,mapGetters:rr,mapActions:Qg,createNamespacedHelpers:g$,createLogger:b$};const ey=x$;let w$=(e=21)=>crypto.getRandomValues(new Uint8Array(e)).reduce((t,n)=>(n&=63,n<36?t+=n.toString(36):n<62?t+=(n-26).toString(36).toUpperCase():n>62?t+="-":t+="_",t),"");const S$={namespaced:!0,state:()=>({alerts:[]}),mutations:{alert(e,t){t.id=w$(),e.alerts.push(t),window.scrollTo(0,0),t.noDispose||setTimeout(()=>{const n=e.alerts.map(r=>r.id).indexOf(t.id);e.alerts.splice(n,1)},5e3)}},actions:{create({commit:e},t){e("alert",t)}},getters:{}},k$={namespaced:!0,state:()=>({modals:{switchModal:{open:!1,title:"",mode:""},missingVinModal:{open:!1,brand:null}}}),mutations:{editModal(e,t){e.modals[t.name]={...e.modals[t.name],...t.modal}}},actions:{openModal({commit:e,state:t},n){e("editModal",{name:n.name,modal:{open:!0,...n}})},closeModal({commit:e},t){e("editModal",{name:t,modal:{open:!1,items:[],title:"",mode:""}})}},getters:{missingVinModal(e){return e.modals.missingVinModal}}},C$={namespaced:!0,state:()=>({account:{_id:"",role:"",formOfAdress:"",firstName:"",lastName:"",mail:"",mobileNumber:"",jobTitle:"",staffNumber:"",timestamp:null,choosableMandants:[],choosableStores:[],firstPassword:"",password:"",setPasswordNextLogin:null,hasSeenDefaultNotice:!0,lastLoggedIn:null}}),mutations:{setAccount(e,t){e.account=t}},actions:{async loadAccount({commit:e}){const t=jt.getToken();if(t){const n=jg(t);if(parseInt(n.version)>2){const r=await yt.user.getChoosable();n.choosableMandants=r.choosableMandants,n.choosableStores=r.choosableStores,e("setAccount",n)}else jt.removeToken(),window.location.reload()}}},getters:{currentUser(e){return e.account},currentStore(e){return e.account.currentStore},currentMandant(e){return e.account.currentMandant},choosableMandants(e){return e.account.choosableMandants},choosableStores(e){return e.account.choosableStores}}},$$={namespaced:!0,state:()=>({current:null}),mutations:{setCurrent(e,t){e.current=t}},actions:{async load({commit:e}){const t=await yt.mandants.current();e("setCurrent",t)},async updateMatrices({commit:e,state:t},n){const r=t.current;r.matrices=n,e("setCurrent",r)}},getters:{currentMandant(e){return e.current}}},M$={namespaced:!0,state:()=>({all:[],current:null,currentMatrixType:null}),mutations:{setAll(e,t){e.all=t},setCurrent(e,t){for(const n of t.matrices)n.distanceMatrix.sort(O$),n.segmentMatrix.sort(T$),n.ageMatrix.sort(A$);e.current=t},setCurrentMatrixType(e,t){e.currentMatrixType=t}},actions:{async load({commit:e}){const t=await yt.stores.current(),n=e("setCurrentMatrixType",t.matrices[0]?.matrixType?._id||null),r=e("setCurrent",t),a=await yt.stores.findAll(),l=e("setAll",a);return Promise.all([n,r,l])},async setCurrentMatrixType({commit:e},t){e("setCurrentMatrixType",t)}},getters:{matrixTypes(e){return e.current?.matrices.map(t=>t.matrixType)},currentMatrix(e){return e.current?.matrices.find(t=>t.matrixType._id===e.currentMatrixType)},currentStore(e){return e.current},getAll(e){return e.all}}},T$=(e,t)=>e.segment-t.segment,O$=(e,t)=>e.distance-t.distance,A$=(e,t)=>e.age-t.age,D$={namespaced:!0,state:()=>({notices:[],currentNotice:{notice:{text:"",createdAt:""}},defaultNotice:null,defaultNoticeModal:{open:!1},recentNoticeModal:{open:!1},currentNoticeModal:{open:!1}}),mutations:{setNotices(e,t){e.notices=t},setCurrent(e,t){e.currentNotice=t},setDefaultNotice(e,t){e.defaultNotice=t},setModalState(e,{name:t,open:n}){e[t].open=n}},actions:{async load({commit:e,state:t}){if(window.location.hash!=="#/login"){const n=await yt.notices.byUser(),r=await yt.notices.getDefault();await e("setNotices",n),await e("setDefaultNotice",r);const a=n.filter(l=>!l.seen);a.length>0?(e("setCurrent",a[0]),e("setModalState",{name:"currentNoticeModal",open:!0})):e("setModalState",{name:"currentNoticeModal",open:!1})}},openModal({commit:e},t){e("setModalState",{name:t,open:!0})},closeModal({commit:e,state:t},n){e("setModalState",{name:n,open:!1})}},getters:{getAll(e){return e.notices.map(t=>t.notice)},getCurrent(e){return e.currentNotice},getDefault(e){return e.defaultNotice},isRecentOpen(e){return e.recentNoticeModal.open},isDefaultOpen(e){return e.defaultNoticeModal.open},isCurrentOpen(e){return e.currentNoticeModal.open}}},I$={namespaced:!0,state:()=>({all:[]}),mutations:{setAll(e,t){e.all=t}},actions:{async load({commit:e}){const t=await yt.matrixTypes.all();e("setAll",t)}},getters:{getAll(e,t){return e.all}}},L$={namespaced:!0,state:()=>({managements:[]}),mutations:{setManagements(e,t){e.managements=t}},actions:{async load({commit:e,state:t}){const n=await yt.managements.getAll();return e("setManagements",n)}},getters:{getAll(e){return e.managements}}},E$={namespaced:!0,state:()=>({vin:null,model:null,location:null,sessionId:null}),mutations:{setVin(e,t){e.vin=t},setModel(e,t){e.model=t},setSessionId(e,t){e.sessionId=t},setLocation(e,t){e.location=t}},actions:{setVin({commit:e},t){e("setVin",t)},chooseModel({commit:e},t){e("setModel",t)},chooseLocation({commit:e},t){e("setLocation",t)},setSessionId({commit:e},t){e("setSessionId",t)},resetModel({commit:e}){e("setModel",null)},resetLocation({commit:e}){e("setLocation",null)},reset({commit:e}){e("setVin",null),e("setModel",null),e("setLocation",null),e("setSessionId",null)}},getters:{vin(e){return e.vin},model(e){return e.model},sessionId(e){return e.sessionId},location(e){return e.location}}},P$={namespaced:!0,state:()=>({all:[],selected:""}),mutations:{setAll(e,t){e.all=t},setSelected(e,t){e.selected=t}},actions:{async load({commit:e}){const t=await yt.brands.all();await e("setAll",t)},select({commit:e},t){e("setSelected",t)}},getters:{getAll(e){return e.all},selected(e){return e.selected}}};ee.use(ey);const _o=new ey.Store({state:{},mutations:{},actions:{},modules:{app:k$,alert:S$,auth:C$,store:M$,mandant:$$,notice:D$,matrixTypes:I$,managements:L$,ssp:E$,brands:P$}});class jt{static async refreshToken(){try{const t=await yt.auth.refreshToken();t.success&&(jt.setToken(t.token),_o.dispatch("auth/loadAccount"),window.location.reload())}catch(t){console.error(t)}}static setToken(t){window.localStorage.setItem("token_v2",t)}static getToken(){return window.localStorage.getItem("token_v2")}static removeToken(){window.localStorage.removeItem("token_v2")}static getCurrentUser(){const t=this.getToken();if(t)return jg(t)}}function ty(e,t){return function(){return e.apply(t,arguments)}}const{toString:R$}=Object.prototype,{getPrototypeOf:Th}=Object,ll=(e=>t=>{const n=R$.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),yn=e=>(e=e.toLowerCase(),t=>ll(t)===e),ul=e=>t=>typeof t===e,{isArray:qi}=Array,Fa=ul("undefined");function F$(e){return e!==null&&!Fa(e)&&e.constructor!==null&&!Fa(e.constructor)&&zt(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const ny=yn("ArrayBuffer");function N$(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&ny(e.buffer),t}const B$=ul("string"),zt=ul("function"),ry=ul("number"),cl=e=>e!==null&&typeof e=="object",z$=e=>e===!0||e===!1,Vs=e=>{if(ll(e)!=="object")return!1;const t=Th(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},H$=yn("Date"),W$=yn("File"),V$=yn("Blob"),j$=yn("FileList"),U$=e=>cl(e)&&zt(e.pipe),Y$=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||zt(e.append)&&((t=ll(e))==="formdata"||t==="object"&&zt(e.toString)&&e.toString()==="[object FormData]"))},q$=yn("URLSearchParams"),[G$,Z$,K$,X$]=["ReadableStream","Request","Response","Headers"].map(yn),J$=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function es(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let r,a;if(typeof e!="object"&&(e=[e]),qi(e))for(r=0,a=e.length;r<a;r++)t.call(null,e[r],r,e);else{const l=n?Object.getOwnPropertyNames(e):Object.keys(e),c=l.length;let d;for(r=0;r<c;r++)d=l[r],t.call(null,e[d],d,e)}}function iy(e,t){t=t.toLowerCase();const n=Object.keys(e);let r=n.length,a;for(;r-- >0;)if(a=n[r],t===a.toLowerCase())return a;return null}const Yr=(()=>typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global)(),ay=e=>!Fa(e)&&e!==Yr;function gc(){const{caseless:e}=ay(this)&&this||{},t={},n=(r,a)=>{const l=e&&iy(t,a)||a;Vs(t[l])&&Vs(r)?t[l]=gc(t[l],r):Vs(r)?t[l]=gc({},r):qi(r)?t[l]=r.slice():t[l]=r};for(let r=0,a=arguments.length;r<a;r++)arguments[r]&&es(arguments[r],n);return t}const Q$=(e,t,n,{allOwnKeys:r}={})=>(es(t,(a,l)=>{n&&zt(a)?e[l]=ty(a,n):e[l]=a},{allOwnKeys:r}),e),eM=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),tM=(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},nM=(e,t,n,r)=>{let a,l,c;const d={};if(t=t||{},e==null)return t;do{for(a=Object.getOwnPropertyNames(e),l=a.length;l-- >0;)c=a[l],(!r||r(c,e,t))&&!d[c]&&(t[c]=e[c],d[c]=!0);e=n!==!1&&Th(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},rM=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;const r=e.indexOf(t,n);return r!==-1&&r===n},iM=e=>{if(!e)return null;if(qi(e))return e;let t=e.length;if(!ry(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},aM=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&Th(Uint8Array)),sM=(e,t)=>{const r=(e&&e[Symbol.iterator]).call(e);let a;for(;(a=r.next())&&!a.done;){const l=a.value;t.call(e,l[0],l[1])}},oM=(e,t)=>{let n;const r=[];for(;(n=e.exec(t))!==null;)r.push(n);return r},lM=yn("HTMLFormElement"),uM=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,r,a){return r.toUpperCase()+a}),Np=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),cM=yn("RegExp"),sy=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};es(n,(a,l)=>{let c;(c=t(a,l,e))!==!1&&(r[l]=c||a)}),Object.defineProperties(e,r)},hM=e=>{sy(e,(t,n)=>{if(zt(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const r=e[n];if(zt(r)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},fM=(e,t)=>{const n={},r=a=>{a.forEach(l=>{n[l]=!0})};return qi(e)?r(e):r(String(e).split(t)),n},dM=()=>{},pM=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t,$u="abcdefghijklmnopqrstuvwxyz",Bp="0123456789",oy={DIGIT:Bp,ALPHA:$u,ALPHA_DIGIT:$u+$u.toUpperCase()+Bp},mM=(e=16,t=oy.ALPHA_DIGIT)=>{let n="";const{length:r}=t;for(;e--;)n+=t[Math.random()*r|0];return n};function vM(e){return!!(e&&zt(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const gM=e=>{const t=new Array(10),n=(r,a)=>{if(cl(r)){if(t.indexOf(r)>=0)return;if(!("toJSON"in r)){t[a]=r;const l=qi(r)?[]:{};return es(r,(c,d)=>{const v=n(c,a+1);!Fa(v)&&(l[d]=v)}),t[a]=void 0,l}}return r};return n(e,0)},yM=yn("AsyncFunction"),bM=e=>e&&(cl(e)||zt(e))&&zt(e.then)&&zt(e.catch),ly=((e,t)=>e?setImmediate:t?((n,r)=>(Yr.addEventListener("message",({source:a,data:l})=>{a===Yr&&l===n&&r.length&&r.shift()()},!1),a=>{r.push(a),Yr.postMessage(n,"*")}))(`axios@${Math.random()}`,[]):n=>setTimeout(n))(typeof setImmediate=="function",zt(Yr.postMessage)),_M=typeof queueMicrotask<"u"?queueMicrotask.bind(Yr):typeof process<"u"&&process.nextTick||ly,B={isArray:qi,isArrayBuffer:ny,isBuffer:F$,isFormData:Y$,isArrayBufferView:N$,isString:B$,isNumber:ry,isBoolean:z$,isObject:cl,isPlainObject:Vs,isReadableStream:G$,isRequest:Z$,isResponse:K$,isHeaders:X$,isUndefined:Fa,isDate:H$,isFile:W$,isBlob:V$,isRegExp:cM,isFunction:zt,isStream:U$,isURLSearchParams:q$,isTypedArray:aM,isFileList:j$,forEach:es,merge:gc,extend:Q$,trim:J$,stripBOM:eM,inherits:tM,toFlatObject:nM,kindOf:ll,kindOfTest:yn,endsWith:rM,toArray:iM,forEachEntry:sM,matchAll:oM,isHTMLForm:lM,hasOwnProperty:Np,hasOwnProp:Np,reduceDescriptors:sy,freezeMethods:hM,toObjectSet:fM,toCamelCase:uM,noop:dM,toFiniteNumber:pM,findKey:iy,global:Yr,isContextDefined:ay,ALPHABET:oy,generateString:mM,isSpecCompliantForm:vM,toJSONObject:gM,isAsyncFn:yM,isThenable:bM,setImmediate:ly,asap:_M};function ye(e,t,n,r,a){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),a&&(this.response=a)}B.inherits(ye,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:B.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const uy=ye.prototype,cy={};["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(e=>{cy[e]={value:e}});Object.defineProperties(ye,cy);Object.defineProperty(uy,"isAxiosError",{value:!0});ye.from=(e,t,n,r,a,l)=>{const c=Object.create(uy);return B.toFlatObject(e,c,function(v){return v!==Error.prototype},d=>d!=="isAxiosError"),ye.call(c,e.message,t,n,r,a),c.cause=e,c.name=e.name,l&&Object.assign(c,l),c};const xM=null;function yc(e){return B.isPlainObject(e)||B.isArray(e)}function hy(e){return B.endsWith(e,"[]")?e.slice(0,-2):e}function zp(e,t,n){return e?e.concat(t).map(function(a,l){return a=hy(a),!n&&l?"["+a+"]":a}).join(n?".":""):t}function wM(e){return B.isArray(e)&&!e.some(yc)}const SM=B.toFlatObject(B,{},null,function(t){return/^is[A-Z]/.test(t)});function hl(e,t,n){if(!B.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=B.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(L,D){return!B.isUndefined(D[L])});const r=n.metaTokens,a=n.visitor||_,l=n.dots,c=n.indexes,v=(n.Blob||typeof Blob<"u"&&Blob)&&B.isSpecCompliantForm(t);if(!B.isFunction(a))throw new TypeError("visitor must be a function");function y(T){if(T===null)return"";if(B.isDate(T))return T.toISOString();if(!v&&B.isBlob(T))throw new ye("Blob is not supported. Use a Buffer instead.");return B.isArrayBuffer(T)||B.isTypedArray(T)?v&&typeof Blob=="function"?new Blob([T]):Buffer.from(T):T}function _(T,L,D){let N=T;if(T&&!D&&typeof T=="object"){if(B.endsWith(L,"{}"))L=r?L:L.slice(0,-2),T=JSON.stringify(T);else if(B.isArray(T)&&wM(T)||(B.isFileList(T)||B.endsWith(L,"[]"))&&(N=B.toArray(T)))return L=hy(L),N.forEach(function(j,U){!(B.isUndefined(j)||j===null)&&t.append(c===!0?zp([L],U,l):c===null?L:L+"[]",y(j))}),!1}return yc(T)?!0:(t.append(zp(D,L,l),y(T)),!1)}const k=[],$=Object.assign(SM,{defaultVisitor:_,convertValue:y,isVisitable:yc});function M(T,L){if(!B.isUndefined(T)){if(k.indexOf(T)!==-1)throw Error("Circular reference detected in "+L.join("."));k.push(T),B.forEach(T,function(N,z){(!(B.isUndefined(N)||N===null)&&a.call(t,N,B.isString(z)?z.trim():z,L,$))===!0&&M(N,L?L.concat(z):[z])}),k.pop()}}if(!B.isObject(e))throw new TypeError("data must be an object");return M(e),t}function Hp(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(r){return t[r]})}function Oh(e,t){this._pairs=[],e&&hl(e,this,t)}const fy=Oh.prototype;fy.append=function(t,n){this._pairs.push([t,n])};fy.toString=function(t){const n=t?function(r){return t.call(this,r,Hp)}:Hp;return this._pairs.map(function(a){return n(a[0])+"="+n(a[1])},"").join("&")};function kM(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function dy(e,t,n){if(!t)return e;const r=n&&n.encode||kM,a=n&&n.serialize;let l;if(a?l=a(t,n):l=B.isURLSearchParams(t)?t.toString():new Oh(t,n).toString(r),l){const c=e.indexOf("#");c!==-1&&(e=e.slice(0,c)),e+=(e.indexOf("?")===-1?"?":"&")+l}return e}class CM{constructor(){this.handlers=[]}use(t,n,r){return this.handlers.push({fulfilled:t,rejected:n,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){B.forEach(this.handlers,function(r){r!==null&&t(r)})}}const Wp=CM,py={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},$M=typeof URLSearchParams<"u"?URLSearchParams:Oh,MM=typeof FormData<"u"?FormData:null,TM=typeof Blob<"u"?Blob:null,OM={isBrowser:!0,classes:{URLSearchParams:$M,FormData:MM,Blob:TM},protocols:["http","https","file","blob","url","data"]},Ah=typeof window<"u"&&typeof document<"u",AM=(e=>Ah&&["ReactNative","NativeScript","NS"].indexOf(e)<0)(typeof navigator<"u"&&navigator.product),DM=(()=>typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function")(),IM=Ah&&window.location.href||"http://localhost",LM=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:Ah,hasStandardBrowserEnv:AM,hasStandardBrowserWebWorkerEnv:DM,origin:IM},Symbol.toStringTag,{value:"Module"})),fn={...LM,...OM};function EM(e,t){return hl(e,new fn.classes.URLSearchParams,Object.assign({visitor:function(n,r,a,l){return fn.isNode&&B.isBuffer(n)?(this.append(r,n.toString("base64")),!1):l.defaultVisitor.apply(this,arguments)}},t))}function PM(e){return B.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function RM(e){const t={},n=Object.keys(e);let r;const a=n.length;let l;for(r=0;r<a;r++)l=n[r],t[l]=e[l];return t}function my(e){function t(n,r,a,l){let c=n[l++];if(c==="__proto__")return!0;const d=Number.isFinite(+c),v=l>=n.length;return c=!c&&B.isArray(a)?a.length:c,v?(B.hasOwnProp(a,c)?a[c]=[a[c],r]:a[c]=r,!d):((!a[c]||!B.isObject(a[c]))&&(a[c]=[]),t(n,r,a[c],l)&&B.isArray(a[c])&&(a[c]=RM(a[c])),!d)}if(B.isFormData(e)&&B.isFunction(e.entries)){const n={};return B.forEachEntry(e,(r,a)=>{t(PM(r),a,n,0)}),n}return null}function FM(e,t,n){if(B.isString(e))try{return(t||JSON.parse)(e),B.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(n||JSON.stringify)(e)}const Dh={transitional:py,adapter:["xhr","http","fetch"],transformRequest:[function(t,n){const r=n.getContentType()||"",a=r.indexOf("application/json")>-1,l=B.isObject(t);if(l&&B.isHTMLForm(t)&&(t=new FormData(t)),B.isFormData(t))return a?JSON.stringify(my(t)):t;if(B.isArrayBuffer(t)||B.isBuffer(t)||B.isStream(t)||B.isFile(t)||B.isBlob(t)||B.isReadableStream(t))return t;if(B.isArrayBufferView(t))return t.buffer;if(B.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let d;if(l){if(r.indexOf("application/x-www-form-urlencoded")>-1)return EM(t,this.formSerializer).toString();if((d=B.isFileList(t))||r.indexOf("multipart/form-data")>-1){const v=this.env&&this.env.FormData;return hl(d?{"files[]":t}:t,v&&new v,this.formSerializer)}}return l||a?(n.setContentType("application/json",!1),FM(t)):t}],transformResponse:[function(t){const n=this.transitional||Dh.transitional,r=n&&n.forcedJSONParsing,a=this.responseType==="json";if(B.isResponse(t)||B.isReadableStream(t))return t;if(t&&B.isString(t)&&(r&&!this.responseType||a)){const c=!(n&&n.silentJSONParsing)&&a;try{return JSON.parse(t)}catch(d){if(c)throw d.name==="SyntaxError"?ye.from(d,ye.ERR_BAD_RESPONSE,this,null,this.response):d}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:fn.classes.FormData,Blob:fn.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};B.forEach(["delete","get","head","post","put","patch"],e=>{Dh.headers[e]={}});const Ih=Dh,NM=B.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"]),BM=e=>{const t={};let n,r,a;return e&&e.split(`
`).forEach(function(c){a=c.indexOf(":"),n=c.substring(0,a).trim().toLowerCase(),r=c.substring(a+1).trim(),!(!n||t[n]&&NM[n])&&(n==="set-cookie"?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t},Vp=Symbol("internals");function pa(e){return e&&String(e).trim().toLowerCase()}function js(e){return e===!1||e==null?e:B.isArray(e)?e.map(js):String(e)}function zM(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}const HM=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function Mu(e,t,n,r,a){if(B.isFunction(r))return r.call(this,t,n);if(a&&(t=n),!!B.isString(t)){if(B.isString(r))return t.indexOf(r)!==-1;if(B.isRegExp(r))return r.test(t)}}function WM(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,r)=>n.toUpperCase()+r)}function VM(e,t){const n=B.toCamelCase(" "+t);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+n,{value:function(a,l,c){return this[r].call(this,t,a,l,c)},configurable:!0})})}class fl{constructor(t){t&&this.set(t)}set(t,n,r){const a=this;function l(d,v,y){const _=pa(v);if(!_)throw new Error("header name must be a non-empty string");const k=B.findKey(a,_);(!k||a[k]===void 0||y===!0||y===void 0&&a[k]!==!1)&&(a[k||v]=js(d))}const c=(d,v)=>B.forEach(d,(y,_)=>l(y,_,v));if(B.isPlainObject(t)||t instanceof this.constructor)c(t,n);else if(B.isString(t)&&(t=t.trim())&&!HM(t))c(BM(t),n);else if(B.isHeaders(t))for(const[d,v]of t.entries())l(v,d,r);else t!=null&&l(n,t,r);return this}get(t,n){if(t=pa(t),t){const r=B.findKey(this,t);if(r){const a=this[r];if(!n)return a;if(n===!0)return zM(a);if(B.isFunction(n))return n.call(this,a,r);if(B.isRegExp(n))return n.exec(a);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=pa(t),t){const r=B.findKey(this,t);return!!(r&&this[r]!==void 0&&(!n||Mu(this,this[r],r,n)))}return!1}delete(t,n){const r=this;let a=!1;function l(c){if(c=pa(c),c){const d=B.findKey(r,c);d&&(!n||Mu(r,r[d],d,n))&&(delete r[d],a=!0)}}return B.isArray(t)?t.forEach(l):l(t),a}clear(t){const n=Object.keys(this);let r=n.length,a=!1;for(;r--;){const l=n[r];(!t||Mu(this,this[l],l,t,!0))&&(delete this[l],a=!0)}return a}normalize(t){const n=this,r={};return B.forEach(this,(a,l)=>{const c=B.findKey(r,l);if(c){n[c]=js(a),delete n[l];return}const d=t?WM(l):String(l).trim();d!==l&&delete n[l],n[d]=js(a),r[d]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return B.forEach(this,(r,a)=>{r!=null&&r!==!1&&(n[a]=t&&B.isArray(r)?r.join(", "):r)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n).join(`
`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const r=new this(t);return n.forEach(a=>r.set(a)),r}static accessor(t){const r=(this[Vp]=this[Vp]={accessors:{}}).accessors,a=this.prototype;function l(c){const d=pa(c);r[d]||(VM(a,c),r[d]=!0)}return B.isArray(t)?t.forEach(l):l(t),this}}fl.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);B.reduceDescriptors(fl.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(r){this[n]=r}}});B.freezeMethods(fl);const dn=fl;function Tu(e,t){const n=this||Ih,r=t||n,a=dn.from(r.headers);let l=r.data;return B.forEach(e,function(d){l=d.call(n,l,a.normalize(),t?t.status:void 0)}),a.normalize(),l}function vy(e){return!!(e&&e.__CANCEL__)}function Gi(e,t,n){ye.call(this,e??"canceled",ye.ERR_CANCELED,t,n),this.name="CanceledError"}B.inherits(Gi,ye,{__CANCEL__:!0});function gy(e,t,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new ye("Request failed with status code "+n.status,[ye.ERR_BAD_REQUEST,ye.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}function jM(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function UM(e,t){e=e||10;const n=new Array(e),r=new Array(e);let a=0,l=0,c;return t=t!==void 0?t:1e3,function(v){const y=Date.now(),_=r[l];c||(c=y),n[a]=v,r[a]=y;let k=l,$=0;for(;k!==a;)$+=n[k++],k=k%e;if(a=(a+1)%e,a===l&&(l=(l+1)%e),y-c<t)return;const M=_&&y-_;return M?Math.round($*1e3/M):void 0}}function YM(e,t){let n=0,r=1e3/t,a,l;const c=(y,_=Date.now())=>{n=_,a=null,l&&(clearTimeout(l),l=null),e.apply(null,y)};return[(...y)=>{const _=Date.now(),k=_-n;k>=r?c(y,_):(a=y,l||(l=setTimeout(()=>{l=null,c(a)},r-k)))},()=>a&&c(a)]}const xo=(e,t,n=3)=>{let r=0;const a=UM(50,250);return YM(l=>{const c=l.loaded,d=l.lengthComputable?l.total:void 0,v=c-r,y=a(v),_=c<=d;r=c;const k={loaded:c,total:d,progress:d?c/d:void 0,bytes:v,rate:y||void 0,estimated:y&&d&&_?(d-c)/y:void 0,event:l,lengthComputable:d!=null,[t?"download":"upload"]:!0};e(k)},n)},jp=(e,t)=>{const n=e!=null;return[r=>t[0]({lengthComputable:n,total:e,loaded:r}),t[1]]},Up=e=>(...t)=>B.asap(()=>e(...t)),qM=fn.hasStandardBrowserEnv?function(){const t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");let r;function a(l){let c=l;return t&&(n.setAttribute("href",c),c=n.href),n.setAttribute("href",c),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:n.pathname.charAt(0)==="/"?n.pathname:"/"+n.pathname}}return r=a(window.location.href),function(c){const d=B.isString(c)?a(c):c;return d.protocol===r.protocol&&d.host===r.host}}():function(){return function(){return!0}}(),GM=fn.hasStandardBrowserEnv?{write(e,t,n,r,a,l){const c=[e+"="+encodeURIComponent(t)];B.isNumber(n)&&c.push("expires="+new Date(n).toGMTString()),B.isString(r)&&c.push("path="+r),B.isString(a)&&c.push("domain="+a),l===!0&&c.push("secure"),document.cookie=c.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function ZM(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function KM(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function yy(e,t){return e&&!ZM(t)?KM(e,t):t}const Yp=e=>e instanceof dn?{...e}:e;function si(e,t){t=t||{};const n={};function r(y,_,k){return B.isPlainObject(y)&&B.isPlainObject(_)?B.merge.call({caseless:k},y,_):B.isPlainObject(_)?B.merge({},_):B.isArray(_)?_.slice():_}function a(y,_,k){if(B.isUndefined(_)){if(!B.isUndefined(y))return r(void 0,y,k)}else return r(y,_,k)}function l(y,_){if(!B.isUndefined(_))return r(void 0,_)}function c(y,_){if(B.isUndefined(_)){if(!B.isUndefined(y))return r(void 0,y)}else return r(void 0,_)}function d(y,_,k){if(k in t)return r(y,_);if(k in e)return r(void 0,y)}const v={url:l,method:l,data:l,baseURL:c,transformRequest:c,transformResponse:c,paramsSerializer:c,timeout:c,timeoutMessage:c,withCredentials:c,withXSRFToken:c,adapter:c,responseType:c,xsrfCookieName:c,xsrfHeaderName:c,onUploadProgress:c,onDownloadProgress:c,decompress:c,maxContentLength:c,maxBodyLength:c,beforeRedirect:c,transport:c,httpAgent:c,httpsAgent:c,cancelToken:c,socketPath:c,responseEncoding:c,validateStatus:d,headers:(y,_)=>a(Yp(y),Yp(_),!0)};return B.forEach(Object.keys(Object.assign({},e,t)),function(_){const k=v[_]||a,$=k(e[_],t[_],_);B.isUndefined($)&&k!==d||(n[_]=$)}),n}const by=e=>{const t=si({},e);let{data:n,withXSRFToken:r,xsrfHeaderName:a,xsrfCookieName:l,headers:c,auth:d}=t;t.headers=c=dn.from(c),t.url=dy(yy(t.baseURL,t.url),e.params,e.paramsSerializer),d&&c.set("Authorization","Basic "+btoa((d.username||"")+":"+(d.password?unescape(encodeURIComponent(d.password)):"")));let v;if(B.isFormData(n)){if(fn.hasStandardBrowserEnv||fn.hasStandardBrowserWebWorkerEnv)c.setContentType(void 0);else if((v=c.getContentType())!==!1){const[y,..._]=v?v.split(";").map(k=>k.trim()).filter(Boolean):[];c.setContentType([y||"multipart/form-data",..._].join("; "))}}if(fn.hasStandardBrowserEnv&&(r&&B.isFunction(r)&&(r=r(t)),r||r!==!1&&qM(t.url))){const y=a&&l&&GM.read(l);y&&c.set(a,y)}return t},XM=typeof XMLHttpRequest<"u",JM=XM&&function(e){return new Promise(function(n,r){const a=by(e);let l=a.data;const c=dn.from(a.headers).normalize();let{responseType:d,onUploadProgress:v,onDownloadProgress:y}=a,_,k,$,M,T;function L(){M&&M(),T&&T(),a.cancelToken&&a.cancelToken.unsubscribe(_),a.signal&&a.signal.removeEventListener("abort",_)}let D=new XMLHttpRequest;D.open(a.method.toUpperCase(),a.url,!0),D.timeout=a.timeout;function N(){if(!D)return;const j=dn.from("getAllResponseHeaders"in D&&D.getAllResponseHeaders()),Q={data:!d||d==="text"||d==="json"?D.responseText:D.response,status:D.status,statusText:D.statusText,headers:j,config:e,request:D};gy(function(ce){n(ce),L()},function(ce){r(ce),L()},Q),D=null}"onloadend"in D?D.onloadend=N:D.onreadystatechange=function(){!D||D.readyState!==4||D.status===0&&!(D.responseURL&&D.responseURL.indexOf("file:")===0)||setTimeout(N)},D.onabort=function(){D&&(r(new ye("Request aborted",ye.ECONNABORTED,e,D)),D=null)},D.onerror=function(){r(new ye("Network Error",ye.ERR_NETWORK,e,D)),D=null},D.ontimeout=function(){let U=a.timeout?"timeout of "+a.timeout+"ms exceeded":"timeout exceeded";const Q=a.transitional||py;a.timeoutErrorMessage&&(U=a.timeoutErrorMessage),r(new ye(U,Q.clarifyTimeoutError?ye.ETIMEDOUT:ye.ECONNABORTED,e,D)),D=null},l===void 0&&c.setContentType(null),"setRequestHeader"in D&&B.forEach(c.toJSON(),function(U,Q){D.setRequestHeader(Q,U)}),B.isUndefined(a.withCredentials)||(D.withCredentials=!!a.withCredentials),d&&d!=="json"&&(D.responseType=a.responseType),y&&([$,T]=xo(y,!0),D.addEventListener("progress",$)),v&&D.upload&&([k,M]=xo(v),D.upload.addEventListener("progress",k),D.upload.addEventListener("loadend",M)),(a.cancelToken||a.signal)&&(_=j=>{D&&(r(!j||j.type?new Gi(null,e,D):j),D.abort(),D=null)},a.cancelToken&&a.cancelToken.subscribe(_),a.signal&&(a.signal.aborted?_():a.signal.addEventListener("abort",_)));const z=jM(a.url);if(z&&fn.protocols.indexOf(z)===-1){r(new ye("Unsupported protocol "+z+":",ye.ERR_BAD_REQUEST,e));return}D.send(l||null)})},QM=(e,t)=>{let n=new AbortController,r;const a=function(v){if(!r){r=!0,c();const y=v instanceof Error?v:this.reason;n.abort(y instanceof ye?y:new Gi(y instanceof Error?y.message:y))}};let l=t&&setTimeout(()=>{a(new ye(`timeout ${t} of ms exceeded`,ye.ETIMEDOUT))},t);const c=()=>{e&&(l&&clearTimeout(l),l=null,e.forEach(v=>{v&&(v.removeEventListener?v.removeEventListener("abort",a):v.unsubscribe(a))}),e=null)};e.forEach(v=>v&&v.addEventListener&&v.addEventListener("abort",a));const{signal:d}=n;return d.unsubscribe=c,[d,()=>{l&&clearTimeout(l),l=null}]},eT=QM,tT=function*(e,t){let n=e.byteLength;if(!t||n<t){yield e;return}let r=0,a;for(;r<n;)a=r+t,yield e.slice(r,a),r=a},nT=async function*(e,t,n){for await(const r of e)yield*tT(ArrayBuffer.isView(r)?r:await n(String(r)),t)},qp=(e,t,n,r,a)=>{const l=nT(e,t,a);let c=0,d,v=y=>{d||(d=!0,r&&r(y))};return new ReadableStream({async pull(y){try{const{done:_,value:k}=await l.next();if(_){v(),y.close();return}let $=k.byteLength;if(n){let M=c+=$;n(M)}y.enqueue(new Uint8Array(k))}catch(_){throw v(_),_}},cancel(y){return v(y),l.return()}},{highWaterMark:2})},dl=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",_y=dl&&typeof ReadableStream=="function",bc=dl&&(typeof TextEncoder=="function"?(e=>t=>e.encode(t))(new TextEncoder):async e=>new Uint8Array(await new Response(e).arrayBuffer())),xy=(e,...t)=>{try{return!!e(...t)}catch{return!1}},rT=_y&&xy(()=>{let e=!1;const t=new Request(fn.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t}),Gp=64*1024,_c=_y&&xy(()=>B.isReadableStream(new Response("").body)),wo={stream:_c&&(e=>e.body)};dl&&(e=>{["text","arrayBuffer","blob","formData","stream"].forEach(t=>{!wo[t]&&(wo[t]=B.isFunction(e[t])?n=>n[t]():(n,r)=>{throw new ye(`Response type '${t}' is not supported`,ye.ERR_NOT_SUPPORT,r)})})})(new Response);const iT=async e=>{if(e==null)return 0;if(B.isBlob(e))return e.size;if(B.isSpecCompliantForm(e))return(await new Request(e).arrayBuffer()).byteLength;if(B.isArrayBufferView(e)||B.isArrayBuffer(e))return e.byteLength;if(B.isURLSearchParams(e)&&(e=e+""),B.isString(e))return(await bc(e)).byteLength},aT=async(e,t)=>{const n=B.toFiniteNumber(e.getContentLength());return n??iT(t)},sT=dl&&(async e=>{let{url:t,method:n,data:r,signal:a,cancelToken:l,timeout:c,onDownloadProgress:d,onUploadProgress:v,responseType:y,headers:_,withCredentials:k="same-origin",fetchOptions:$}=by(e);y=y?(y+"").toLowerCase():"text";let[M,T]=a||l||c?eT([a,l],c):[],L,D;const N=()=>{!L&&setTimeout(()=>{M&&M.unsubscribe()}),L=!0};let z;try{if(v&&rT&&n!=="get"&&n!=="head"&&(z=await aT(_,r))!==0){let ne=new Request(t,{method:"POST",body:r,duplex:"half"}),ce;if(B.isFormData(r)&&(ce=ne.headers.get("content-type"))&&_.setContentType(ce),ne.body){const[Oe,it]=jp(z,xo(Up(v)));r=qp(ne.body,Gp,Oe,it,bc)}}B.isString(k)||(k=k?"include":"omit"),D=new Request(t,{...$,signal:M,method:n.toUpperCase(),headers:_.normalize().toJSON(),body:r,duplex:"half",credentials:k});let j=await fetch(D);const U=_c&&(y==="stream"||y==="response");if(_c&&(d||U)){const ne={};["status","statusText","headers"].forEach(ht=>{ne[ht]=j[ht]});const ce=B.toFiniteNumber(j.headers.get("content-length")),[Oe,it]=d&&jp(ce,xo(Up(d),!0))||[];j=new Response(qp(j.body,Gp,Oe,()=>{it&&it(),U&&N()},bc),ne)}y=y||"text";let Q=await wo[B.findKey(wo,y)||"text"](j,e);return!U&&N(),T&&T(),await new Promise((ne,ce)=>{gy(ne,ce,{data:Q,headers:dn.from(j.headers),status:j.status,statusText:j.statusText,config:e,request:D})})}catch(j){throw N(),j&&j.name==="TypeError"&&/fetch/i.test(j.message)?Object.assign(new ye("Network Error",ye.ERR_NETWORK,e,D),{cause:j.cause||j}):ye.from(j,j&&j.code,e,D)}}),xc={http:xM,xhr:JM,fetch:sT};B.forEach(xc,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const Zp=e=>`- ${e}`,oT=e=>B.isFunction(e)||e===null||e===!1,wy={getAdapter:e=>{e=B.isArray(e)?e:[e];const{length:t}=e;let n,r;const a={};for(let l=0;l<t;l++){n=e[l];let c;if(r=n,!oT(n)&&(r=xc[(c=String(n)).toLowerCase()],r===void 0))throw new ye(`Unknown adapter '${c}'`);if(r)break;a[c||"#"+l]=r}if(!r){const l=Object.entries(a).map(([d,v])=>`adapter ${d} `+(v===!1?"is not supported by the environment":"is not available in the build"));let c=t?l.length>1?`since :
`+l.map(Zp).join(`
`):" "+Zp(l[0]):"as no adapter specified";throw new ye("There is no suitable adapter to dispatch the request "+c,"ERR_NOT_SUPPORT")}return r},adapters:xc};function Ou(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Gi(null,e)}function Kp(e){return Ou(e),e.headers=dn.from(e.headers),e.data=Tu.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),wy.getAdapter(e.adapter||Ih.adapter)(e).then(function(r){return Ou(e),r.data=Tu.call(e,e.transformResponse,r),r.headers=dn.from(r.headers),r},function(r){return vy(r)||(Ou(e),r&&r.response&&(r.response.data=Tu.call(e,e.transformResponse,r.response),r.response.headers=dn.from(r.response.headers))),Promise.reject(r)})}const Sy="1.7.4",Lh={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{Lh[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});const Xp={};Lh.transitional=function(t,n,r){function a(l,c){return"[Axios v"+Sy+"] Transitional option '"+l+"'"+c+(r?". "+r:"")}return(l,c,d)=>{if(t===!1)throw new ye(a(c," has been removed"+(n?" in "+n:"")),ye.ERR_DEPRECATED);return n&&!Xp[c]&&(Xp[c]=!0,console.warn(a(c," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(l,c,d):!0}};function lT(e,t,n){if(typeof e!="object")throw new ye("options must be an object",ye.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let a=r.length;for(;a-- >0;){const l=r[a],c=t[l];if(c){const d=e[l],v=d===void 0||c(d,l,e);if(v!==!0)throw new ye("option "+l+" must be "+v,ye.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new ye("Unknown option "+l,ye.ERR_BAD_OPTION)}}const wc={assertOptions:lT,validators:Lh},hr=wc.validators;class So{constructor(t){this.defaults=t,this.interceptors={request:new Wp,response:new Wp}}async request(t,n){try{return await this._request(t,n)}catch(r){if(r instanceof Error){let a;Error.captureStackTrace?Error.captureStackTrace(a={}):a=new Error;const l=a.stack?a.stack.replace(/^.+\n/,""):"";try{r.stack?l&&!String(r.stack).endsWith(l.replace(/^.+\n.+\n/,""))&&(r.stack+=`
`+l):r.stack=l}catch{}}throw r}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=si(this.defaults,n);const{transitional:r,paramsSerializer:a,headers:l}=n;r!==void 0&&wc.assertOptions(r,{silentJSONParsing:hr.transitional(hr.boolean),forcedJSONParsing:hr.transitional(hr.boolean),clarifyTimeoutError:hr.transitional(hr.boolean)},!1),a!=null&&(B.isFunction(a)?n.paramsSerializer={serialize:a}:wc.assertOptions(a,{encode:hr.function,serialize:hr.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let c=l&&B.merge(l.common,l[n.method]);l&&B.forEach(["delete","get","head","post","put","patch","common"],T=>{delete l[T]}),n.headers=dn.concat(c,l);const d=[];let v=!0;this.interceptors.request.forEach(function(L){typeof L.runWhen=="function"&&L.runWhen(n)===!1||(v=v&&L.synchronous,d.unshift(L.fulfilled,L.rejected))});const y=[];this.interceptors.response.forEach(function(L){y.push(L.fulfilled,L.rejected)});let _,k=0,$;if(!v){const T=[Kp.bind(this),void 0];for(T.unshift.apply(T,d),T.push.apply(T,y),$=T.length,_=Promise.resolve(n);k<$;)_=_.then(T[k++],T[k++]);return _}$=d.length;let M=n;for(k=0;k<$;){const T=d[k++],L=d[k++];try{M=T(M)}catch(D){L.call(this,D);break}}try{_=Kp.call(this,M)}catch(T){return Promise.reject(T)}for(k=0,$=y.length;k<$;)_=_.then(y[k++],y[k++]);return _}getUri(t){t=si(this.defaults,t);const n=yy(t.baseURL,t.url);return dy(n,t.params,t.paramsSerializer)}}B.forEach(["delete","get","head","options"],function(t){So.prototype[t]=function(n,r){return this.request(si(r||{},{method:t,url:n,data:(r||{}).data}))}});B.forEach(["post","put","patch"],function(t){function n(r){return function(l,c,d){return this.request(si(d||{},{method:t,headers:r?{"Content-Type":"multipart/form-data"}:{},url:l,data:c}))}}So.prototype[t]=n(),So.prototype[t+"Form"]=n(!0)});const Us=So;class Eh{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(l){n=l});const r=this;this.promise.then(a=>{if(!r._listeners)return;let l=r._listeners.length;for(;l-- >0;)r._listeners[l](a);r._listeners=null}),this.promise.then=a=>{let l;const c=new Promise(d=>{r.subscribe(d),l=d}).then(a);return c.cancel=function(){r.unsubscribe(l)},c},t(function(l,c,d){r.reason||(r.reason=new Gi(l,c,d),n(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}static source(){let t;return{token:new Eh(function(a){t=a}),cancel:t}}}const uT=Eh;function cT(e){return function(n){return e.apply(null,n)}}function hT(e){return B.isObject(e)&&e.isAxiosError===!0}const Sc={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(Sc).forEach(([e,t])=>{Sc[t]=e});const fT=Sc;function ky(e){const t=new Us(e),n=ty(Us.prototype.request,t);return B.extend(n,Us.prototype,t,{allOwnKeys:!0}),B.extend(n,t,null,{allOwnKeys:!0}),n.create=function(a){return ky(si(e,a))},n}const tt=ky(Ih);tt.Axios=Us;tt.CanceledError=Gi;tt.CancelToken=uT;tt.isCancel=vy;tt.VERSION=Sy;tt.toFormData=hl;tt.AxiosError=ye;tt.Cancel=tt.CanceledError;tt.all=function(t){return Promise.all(t)};tt.spread=cT;tt.isAxiosError=hT;tt.mergeConfig=si;tt.AxiosHeaders=dn;tt.formToJSON=e=>my(B.isHTMLForm(e)?new FormData(e):e);tt.getAdapter=wy.getAdapter;tt.HttpStatusCode=fT;tt.default=tt;const dT=tt,pT="modulepreload",mT=function(e){return"/"+e},Jp={},kn=function(t,n,r){if(!n||n.length===0)return t();const a=document.getElementsByTagName("link");return Promise.all(n.map(l=>{if(l=mT(l),l in Jp)return;Jp[l]=!0;const c=l.endsWith(".css"),d=c?'[rel="stylesheet"]':"";if(!!r)for(let _=a.length-1;_>=0;_--){const k=a[_];if(k.href===l&&(!c||k.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${l}"]${d}`))return;const y=document.createElement("link");if(y.rel=c?"stylesheet":pT,c||(y.as="script",y.crossOrigin=""),y.href=l,document.head.appendChild(y),c)return new Promise((_,k)=>{y.addEventListener("load",_),y.addEventListener("error",()=>k(new Error(`Unable to preload CSS for ${l}`)))})})).then(()=>t()).catch(l=>{const c=new Event("vite:preloadError",{cancelable:!0});if(c.payload=l,window.dispatchEvent(c),!c.defaultPrevented)throw l})};//! moment.js
//! version : 2.30.1
//! authors : Tim Wood, Iskren Chernev, Moment.js contributors
//! license : MIT
//! momentjs.com
var Cy;function Y(){return Cy.apply(null,arguments)}function vT(e){Cy=e}function pn(e){return e instanceof Array||Object.prototype.toString.call(e)==="[object Array]"}function Jr(e){return e!=null&&Object.prototype.toString.call(e)==="[object Object]"}function Ie(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function Ph(e){if(Object.getOwnPropertyNames)return Object.getOwnPropertyNames(e).length===0;var t;for(t in e)if(Ie(e,t))return!1;return!0}function Ot(e){return e===void 0}function tr(e){return typeof e=="number"||Object.prototype.toString.call(e)==="[object Number]"}function ts(e){return e instanceof Date||Object.prototype.toString.call(e)==="[object Date]"}function $y(e,t){var n=[],r,a=e.length;for(r=0;r<a;++r)n.push(t(e[r],r));return n}function yr(e,t){for(var n in t)Ie(t,n)&&(e[n]=t[n]);return Ie(t,"toString")&&(e.toString=t.toString),Ie(t,"valueOf")&&(e.valueOf=t.valueOf),e}function Ln(e,t,n,r){return Zy(e,t,n,r,!0).utc()}function gT(){return{empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}}function _e(e){return e._pf==null&&(e._pf=gT()),e._pf}var kc;Array.prototype.some?kc=Array.prototype.some:kc=function(e){var t=Object(this),n=t.length>>>0,r;for(r=0;r<n;r++)if(r in t&&e.call(this,t[r],r,t))return!0;return!1};function Rh(e){var t=null,n=!1,r=e._d&&!isNaN(e._d.getTime());if(r&&(t=_e(e),n=kc.call(t.parsedDateParts,function(a){return a!=null}),r=t.overflow<0&&!t.empty&&!t.invalidEra&&!t.invalidMonth&&!t.invalidWeekday&&!t.weekdayMismatch&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&n),e._strict&&(r=r&&t.charsLeftOver===0&&t.unusedTokens.length===0&&t.bigHour===void 0)),Object.isFrozen==null||!Object.isFrozen(e))e._isValid=r;else return r;return e._isValid}function pl(e){var t=Ln(NaN);return e!=null?yr(_e(t),e):_e(t).userInvalidated=!0,t}var Qp=Y.momentProperties=[],Au=!1;function Fh(e,t){var n,r,a,l=Qp.length;if(Ot(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),Ot(t._i)||(e._i=t._i),Ot(t._f)||(e._f=t._f),Ot(t._l)||(e._l=t._l),Ot(t._strict)||(e._strict=t._strict),Ot(t._tzm)||(e._tzm=t._tzm),Ot(t._isUTC)||(e._isUTC=t._isUTC),Ot(t._offset)||(e._offset=t._offset),Ot(t._pf)||(e._pf=_e(t)),Ot(t._locale)||(e._locale=t._locale),l>0)for(n=0;n<l;n++)r=Qp[n],a=t[r],Ot(a)||(e[r]=a);return e}function ns(e){Fh(this,e),this._d=new Date(e._d!=null?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),Au===!1&&(Au=!0,Y.updateOffset(this),Au=!1)}function mn(e){return e instanceof ns||e!=null&&e._isAMomentObject!=null}function My(e){Y.suppressDeprecationWarnings===!1&&typeof console<"u"&&console.warn&&console.warn("Deprecation warning: "+e)}function an(e,t){var n=!0;return yr(function(){if(Y.deprecationHandler!=null&&Y.deprecationHandler(null,e),n){var r=[],a,l,c,d=arguments.length;for(l=0;l<d;l++){if(a="",typeof arguments[l]=="object"){a+=`
[`+l+"] ";for(c in arguments[0])Ie(arguments[0],c)&&(a+=c+": "+arguments[0][c]+", ");a=a.slice(0,-2)}else a=arguments[l];r.push(a)}My(e+`
Arguments: `+Array.prototype.slice.call(r).join("")+`
`+new Error().stack),n=!1}return t.apply(this,arguments)},t)}var em={};function Ty(e,t){Y.deprecationHandler!=null&&Y.deprecationHandler(e,t),em[e]||(My(t),em[e]=!0)}Y.suppressDeprecationWarnings=!1;Y.deprecationHandler=null;function En(e){return typeof Function<"u"&&e instanceof Function||Object.prototype.toString.call(e)==="[object Function]"}function yT(e){var t,n;for(n in e)Ie(e,n)&&(t=e[n],En(t)?this[n]=t:this["_"+n]=t);this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function Cc(e,t){var n=yr({},e),r;for(r in t)Ie(t,r)&&(Jr(e[r])&&Jr(t[r])?(n[r]={},yr(n[r],e[r]),yr(n[r],t[r])):t[r]!=null?n[r]=t[r]:delete n[r]);for(r in e)Ie(e,r)&&!Ie(t,r)&&Jr(e[r])&&(n[r]=yr({},n[r]));return n}function Nh(e){e!=null&&this.set(e)}var $c;Object.keys?$c=Object.keys:$c=function(e){var t,n=[];for(t in e)Ie(e,t)&&n.push(t);return n};var bT={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function _T(e,t,n){var r=this._calendar[e]||this._calendar.sameElse;return En(r)?r.call(t,n):r}function Dn(e,t,n){var r=""+Math.abs(e),a=t-r.length,l=e>=0;return(l?n?"+":"":"-")+Math.pow(10,Math.max(0,a)).toString().substr(1)+r}var Bh=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,As=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,Du={},Ei={};function ae(e,t,n,r){var a=r;typeof r=="string"&&(a=function(){return this[r]()}),e&&(Ei[e]=a),t&&(Ei[t[0]]=function(){return Dn(a.apply(this,arguments),t[1],t[2])}),n&&(Ei[n]=function(){return this.localeData().ordinal(a.apply(this,arguments),e)})}function xT(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function wT(e){var t=e.match(Bh),n,r;for(n=0,r=t.length;n<r;n++)Ei[t[n]]?t[n]=Ei[t[n]]:t[n]=xT(t[n]);return function(a){var l="",c;for(c=0;c<r;c++)l+=En(t[c])?t[c].call(a,e):t[c];return l}}function Ys(e,t){return e.isValid()?(t=Oy(t,e.localeData()),Du[t]=Du[t]||wT(t),Du[t](e)):e.localeData().invalidDate()}function Oy(e,t){var n=5;function r(a){return t.longDateFormat(a)||a}for(As.lastIndex=0;n>=0&&As.test(e);)e=e.replace(As,r),As.lastIndex=0,n-=1;return e}var ST={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};function kT(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.match(Bh).map(function(r){return r==="MMMM"||r==="MM"||r==="DD"||r==="dddd"?r.slice(1):r}).join(""),this._longDateFormat[e])}var CT="Invalid date";function $T(){return this._invalidDate}var MT="%d",TT=/\d{1,2}/;function OT(e){return this._ordinal.replace("%d",e)}var AT={future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function DT(e,t,n,r){var a=this._relativeTime[n];return En(a)?a(e,t,n,r):a.replace(/%d/i,e)}function IT(e,t){var n=this._relativeTime[e>0?"future":"past"];return En(n)?n(t):n.replace(/%s/i,t)}var tm={D:"date",dates:"date",date:"date",d:"day",days:"day",day:"day",e:"weekday",weekdays:"weekday",weekday:"weekday",E:"isoWeekday",isoweekdays:"isoWeekday",isoweekday:"isoWeekday",DDD:"dayOfYear",dayofyears:"dayOfYear",dayofyear:"dayOfYear",h:"hour",hours:"hour",hour:"hour",ms:"millisecond",milliseconds:"millisecond",millisecond:"millisecond",m:"minute",minutes:"minute",minute:"minute",M:"month",months:"month",month:"month",Q:"quarter",quarters:"quarter",quarter:"quarter",s:"second",seconds:"second",second:"second",gg:"weekYear",weekyears:"weekYear",weekyear:"weekYear",GG:"isoWeekYear",isoweekyears:"isoWeekYear",isoweekyear:"isoWeekYear",w:"week",weeks:"week",week:"week",W:"isoWeek",isoweeks:"isoWeek",isoweek:"isoWeek",y:"year",years:"year",year:"year"};function sn(e){return typeof e=="string"?tm[e]||tm[e.toLowerCase()]:void 0}function zh(e){var t={},n,r;for(r in e)Ie(e,r)&&(n=sn(r),n&&(t[n]=e[r]));return t}var LT={date:9,day:11,weekday:11,isoWeekday:11,dayOfYear:4,hour:13,millisecond:16,minute:14,month:8,quarter:7,second:15,weekYear:1,isoWeekYear:1,week:5,isoWeek:5,year:1};function ET(e){var t=[],n;for(n in e)Ie(e,n)&&t.push({unit:n,priority:LT[n]});return t.sort(function(r,a){return r.priority-a.priority}),t}var Ay=/\d/,qt=/\d\d/,Dy=/\d{3}/,Hh=/\d{4}/,ml=/[+-]?\d{6}/,Ve=/\d\d?/,Iy=/\d\d\d\d?/,Ly=/\d\d\d\d\d\d?/,vl=/\d{1,3}/,Wh=/\d{1,4}/,gl=/[+-]?\d{1,6}/,Zi=/\d+/,yl=/[+-]?\d+/,PT=/Z|[+-]\d\d:?\d\d/gi,bl=/Z|[+-]\d\d(?::?\d\d)?/gi,RT=/[+-]?\d+(\.\d{1,3})?/,rs=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i,Ki=/^[1-9]\d?/,Vh=/^([1-9]\d|\d)/,ko;ko={};function Z(e,t,n){ko[e]=En(t)?t:function(r,a){return r&&n?n:t}}function FT(e,t){return Ie(ko,e)?ko[e](t._strict,t._locale):new RegExp(NT(e))}function NT(e){return Zn(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(t,n,r,a,l){return n||r||a||l}))}function Zn(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function Xt(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function Ce(e){var t=+e,n=0;return t!==0&&isFinite(t)&&(n=Xt(t)),n}var Mc={};function Re(e,t){var n,r=t,a;for(typeof e=="string"&&(e=[e]),tr(t)&&(r=function(l,c){c[t]=Ce(l)}),a=e.length,n=0;n<a;n++)Mc[e[n]]=r}function is(e,t){Re(e,function(n,r,a,l){a._w=a._w||{},t(n,a._w,a,l)})}function BT(e,t,n){t!=null&&Ie(Mc,e)&&Mc[e](t,n._a,n,e)}function _l(e){return e%4===0&&e%100!==0||e%400===0}var vt=0,Yn=1,Cn=2,rt=3,ln=4,qn=5,qr=6,zT=7,HT=8;ae("Y",0,0,function(){var e=this.year();return e<=9999?Dn(e,4):"+"+e});ae(0,["YY",2],0,function(){return this.year()%100});ae(0,["YYYY",4],0,"year");ae(0,["YYYYY",5],0,"year");ae(0,["YYYYYY",6,!0],0,"year");Z("Y",yl);Z("YY",Ve,qt);Z("YYYY",Wh,Hh);Z("YYYYY",gl,ml);Z("YYYYYY",gl,ml);Re(["YYYYY","YYYYYY"],vt);Re("YYYY",function(e,t){t[vt]=e.length===2?Y.parseTwoDigitYear(e):Ce(e)});Re("YY",function(e,t){t[vt]=Y.parseTwoDigitYear(e)});Re("Y",function(e,t){t[vt]=parseInt(e,10)});function Ca(e){return _l(e)?366:365}Y.parseTwoDigitYear=function(e){return Ce(e)+(Ce(e)>68?1900:2e3)};var Ey=Xi("FullYear",!0);function WT(){return _l(this.year())}function Xi(e,t){return function(n){return n!=null?(Py(this,e,n),Y.updateOffset(this,t),this):Na(this,e)}}function Na(e,t){if(!e.isValid())return NaN;var n=e._d,r=e._isUTC;switch(t){case"Milliseconds":return r?n.getUTCMilliseconds():n.getMilliseconds();case"Seconds":return r?n.getUTCSeconds():n.getSeconds();case"Minutes":return r?n.getUTCMinutes():n.getMinutes();case"Hours":return r?n.getUTCHours():n.getHours();case"Date":return r?n.getUTCDate():n.getDate();case"Day":return r?n.getUTCDay():n.getDay();case"Month":return r?n.getUTCMonth():n.getMonth();case"FullYear":return r?n.getUTCFullYear():n.getFullYear();default:return NaN}}function Py(e,t,n){var r,a,l,c,d;if(!(!e.isValid()||isNaN(n))){switch(r=e._d,a=e._isUTC,t){case"Milliseconds":return void(a?r.setUTCMilliseconds(n):r.setMilliseconds(n));case"Seconds":return void(a?r.setUTCSeconds(n):r.setSeconds(n));case"Minutes":return void(a?r.setUTCMinutes(n):r.setMinutes(n));case"Hours":return void(a?r.setUTCHours(n):r.setHours(n));case"Date":return void(a?r.setUTCDate(n):r.setDate(n));case"FullYear":break;default:return}l=n,c=e.month(),d=e.date(),d=d===29&&c===1&&!_l(l)?28:d,a?r.setUTCFullYear(l,c,d):r.setFullYear(l,c,d)}}function VT(e){return e=sn(e),En(this[e])?this[e]():this}function jT(e,t){if(typeof e=="object"){e=zh(e);var n=ET(e),r,a=n.length;for(r=0;r<a;r++)this[n[r].unit](e[n[r].unit])}else if(e=sn(e),En(this[e]))return this[e](t);return this}function UT(e,t){return(e%t+t)%t}var Xe;Array.prototype.indexOf?Xe=Array.prototype.indexOf:Xe=function(e){var t;for(t=0;t<this.length;++t)if(this[t]===e)return t;return-1};function jh(e,t){if(isNaN(e)||isNaN(t))return NaN;var n=UT(t,12);return e+=(t-n)/12,n===1?_l(e)?29:28:31-n%7%2}ae("M",["MM",2],"Mo",function(){return this.month()+1});ae("MMM",0,0,function(e){return this.localeData().monthsShort(this,e)});ae("MMMM",0,0,function(e){return this.localeData().months(this,e)});Z("M",Ve,Ki);Z("MM",Ve,qt);Z("MMM",function(e,t){return t.monthsShortRegex(e)});Z("MMMM",function(e,t){return t.monthsRegex(e)});Re(["M","MM"],function(e,t){t[Yn]=Ce(e)-1});Re(["MMM","MMMM"],function(e,t,n,r){var a=n._locale.monthsParse(e,r,n._strict);a!=null?t[Yn]=a:_e(n).invalidMonth=e});var YT="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),Ry="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),Fy=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,qT=rs,GT=rs;function ZT(e,t){return e?pn(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||Fy).test(t)?"format":"standalone"][e.month()]:pn(this._months)?this._months:this._months.standalone}function KT(e,t){return e?pn(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[Fy.test(t)?"format":"standalone"][e.month()]:pn(this._monthsShort)?this._monthsShort:this._monthsShort.standalone}function XT(e,t,n){var r,a,l,c=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],r=0;r<12;++r)l=Ln([2e3,r]),this._shortMonthsParse[r]=this.monthsShort(l,"").toLocaleLowerCase(),this._longMonthsParse[r]=this.months(l,"").toLocaleLowerCase();return n?t==="MMM"?(a=Xe.call(this._shortMonthsParse,c),a!==-1?a:null):(a=Xe.call(this._longMonthsParse,c),a!==-1?a:null):t==="MMM"?(a=Xe.call(this._shortMonthsParse,c),a!==-1?a:(a=Xe.call(this._longMonthsParse,c),a!==-1?a:null)):(a=Xe.call(this._longMonthsParse,c),a!==-1?a:(a=Xe.call(this._shortMonthsParse,c),a!==-1?a:null))}function JT(e,t,n){var r,a,l;if(this._monthsParseExact)return XT.call(this,e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),r=0;r<12;r++){if(a=Ln([2e3,r]),n&&!this._longMonthsParse[r]&&(this._longMonthsParse[r]=new RegExp("^"+this.months(a,"").replace(".","")+"$","i"),this._shortMonthsParse[r]=new RegExp("^"+this.monthsShort(a,"").replace(".","")+"$","i")),!n&&!this._monthsParse[r]&&(l="^"+this.months(a,"")+"|^"+this.monthsShort(a,""),this._monthsParse[r]=new RegExp(l.replace(".",""),"i")),n&&t==="MMMM"&&this._longMonthsParse[r].test(e))return r;if(n&&t==="MMM"&&this._shortMonthsParse[r].test(e))return r;if(!n&&this._monthsParse[r].test(e))return r}}function Ny(e,t){if(!e.isValid())return e;if(typeof t=="string"){if(/^\d+$/.test(t))t=Ce(t);else if(t=e.localeData().monthsParse(t),!tr(t))return e}var n=t,r=e.date();return r=r<29?r:Math.min(r,jh(e.year(),n)),e._isUTC?e._d.setUTCMonth(n,r):e._d.setMonth(n,r),e}function By(e){return e!=null?(Ny(this,e),Y.updateOffset(this,!0),this):Na(this,"Month")}function QT(){return jh(this.year(),this.month())}function eO(e){return this._monthsParseExact?(Ie(this,"_monthsRegex")||zy.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(Ie(this,"_monthsShortRegex")||(this._monthsShortRegex=qT),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)}function tO(e){return this._monthsParseExact?(Ie(this,"_monthsRegex")||zy.call(this),e?this._monthsStrictRegex:this._monthsRegex):(Ie(this,"_monthsRegex")||(this._monthsRegex=GT),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)}function zy(){function e(v,y){return y.length-v.length}var t=[],n=[],r=[],a,l,c,d;for(a=0;a<12;a++)l=Ln([2e3,a]),c=Zn(this.monthsShort(l,"")),d=Zn(this.months(l,"")),t.push(c),n.push(d),r.push(d),r.push(c);t.sort(e),n.sort(e),r.sort(e),this._monthsRegex=new RegExp("^("+r.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+n.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+t.join("|")+")","i")}function nO(e,t,n,r,a,l,c){var d;return e<100&&e>=0?(d=new Date(e+400,t,n,r,a,l,c),isFinite(d.getFullYear())&&d.setFullYear(e)):d=new Date(e,t,n,r,a,l,c),d}function Ba(e){var t,n;return e<100&&e>=0?(n=Array.prototype.slice.call(arguments),n[0]=e+400,t=new Date(Date.UTC.apply(null,n)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function Co(e,t,n){var r=7+t-n,a=(7+Ba(e,0,r).getUTCDay()-t)%7;return-a+r-1}function Hy(e,t,n,r,a){var l=(7+n-r)%7,c=Co(e,r,a),d=1+7*(t-1)+l+c,v,y;return d<=0?(v=e-1,y=Ca(v)+d):d>Ca(e)?(v=e+1,y=d-Ca(e)):(v=e,y=d),{year:v,dayOfYear:y}}function za(e,t,n){var r=Co(e.year(),t,n),a=Math.floor((e.dayOfYear()-r-1)/7)+1,l,c;return a<1?(c=e.year()-1,l=a+Kn(c,t,n)):a>Kn(e.year(),t,n)?(l=a-Kn(e.year(),t,n),c=e.year()+1):(c=e.year(),l=a),{week:l,year:c}}function Kn(e,t,n){var r=Co(e,t,n),a=Co(e+1,t,n);return(Ca(e)-r+a)/7}ae("w",["ww",2],"wo","week");ae("W",["WW",2],"Wo","isoWeek");Z("w",Ve,Ki);Z("ww",Ve,qt);Z("W",Ve,Ki);Z("WW",Ve,qt);is(["w","ww","W","WW"],function(e,t,n,r){t[r.substr(0,1)]=Ce(e)});function rO(e){return za(e,this._week.dow,this._week.doy).week}var iO={dow:0,doy:6};function aO(){return this._week.dow}function sO(){return this._week.doy}function oO(e){var t=this.localeData().week(this);return e==null?t:this.add((e-t)*7,"d")}function lO(e){var t=za(this,1,4).week;return e==null?t:this.add((e-t)*7,"d")}ae("d",0,"do","day");ae("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)});ae("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)});ae("dddd",0,0,function(e){return this.localeData().weekdays(this,e)});ae("e",0,0,"weekday");ae("E",0,0,"isoWeekday");Z("d",Ve);Z("e",Ve);Z("E",Ve);Z("dd",function(e,t){return t.weekdaysMinRegex(e)});Z("ddd",function(e,t){return t.weekdaysShortRegex(e)});Z("dddd",function(e,t){return t.weekdaysRegex(e)});is(["dd","ddd","dddd"],function(e,t,n,r){var a=n._locale.weekdaysParse(e,r,n._strict);a!=null?t.d=a:_e(n).invalidWeekday=e});is(["d","e","E"],function(e,t,n,r){t[r]=Ce(e)});function uO(e,t){return typeof e!="string"?e:isNaN(e)?(e=t.weekdaysParse(e),typeof e=="number"?e:null):parseInt(e,10)}function cO(e,t){return typeof e=="string"?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}function Uh(e,t){return e.slice(t,7).concat(e.slice(0,t))}var hO="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Wy="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),fO="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),dO=rs,pO=rs,mO=rs;function vO(e,t){var n=pn(this._weekdays)?this._weekdays:this._weekdays[e&&e!==!0&&this._weekdays.isFormat.test(t)?"format":"standalone"];return e===!0?Uh(n,this._week.dow):e?n[e.day()]:n}function gO(e){return e===!0?Uh(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort}function yO(e){return e===!0?Uh(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin}function bO(e,t,n){var r,a,l,c=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)l=Ln([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(l,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(l,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(l,"").toLocaleLowerCase();return n?t==="dddd"?(a=Xe.call(this._weekdaysParse,c),a!==-1?a:null):t==="ddd"?(a=Xe.call(this._shortWeekdaysParse,c),a!==-1?a:null):(a=Xe.call(this._minWeekdaysParse,c),a!==-1?a:null):t==="dddd"?(a=Xe.call(this._weekdaysParse,c),a!==-1||(a=Xe.call(this._shortWeekdaysParse,c),a!==-1)?a:(a=Xe.call(this._minWeekdaysParse,c),a!==-1?a:null)):t==="ddd"?(a=Xe.call(this._shortWeekdaysParse,c),a!==-1||(a=Xe.call(this._weekdaysParse,c),a!==-1)?a:(a=Xe.call(this._minWeekdaysParse,c),a!==-1?a:null)):(a=Xe.call(this._minWeekdaysParse,c),a!==-1||(a=Xe.call(this._weekdaysParse,c),a!==-1)?a:(a=Xe.call(this._shortWeekdaysParse,c),a!==-1?a:null))}function _O(e,t,n){var r,a,l;if(this._weekdaysParseExact)return bO.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){if(a=Ln([2e3,1]).day(r),n&&!this._fullWeekdaysParse[r]&&(this._fullWeekdaysParse[r]=new RegExp("^"+this.weekdays(a,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[r]=new RegExp("^"+this.weekdaysShort(a,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[r]=new RegExp("^"+this.weekdaysMin(a,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[r]||(l="^"+this.weekdays(a,"")+"|^"+this.weekdaysShort(a,"")+"|^"+this.weekdaysMin(a,""),this._weekdaysParse[r]=new RegExp(l.replace(".",""),"i")),n&&t==="dddd"&&this._fullWeekdaysParse[r].test(e))return r;if(n&&t==="ddd"&&this._shortWeekdaysParse[r].test(e))return r;if(n&&t==="dd"&&this._minWeekdaysParse[r].test(e))return r;if(!n&&this._weekdaysParse[r].test(e))return r}}function xO(e){if(!this.isValid())return e!=null?this:NaN;var t=Na(this,"Day");return e!=null?(e=uO(e,this.localeData()),this.add(e-t,"d")):t}function wO(e){if(!this.isValid())return e!=null?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return e==null?t:this.add(e-t,"d")}function SO(e){if(!this.isValid())return e!=null?this:NaN;if(e!=null){var t=cO(e,this.localeData());return this.day(this.day()%7?t:t-7)}else return this.day()||7}function kO(e){return this._weekdaysParseExact?(Ie(this,"_weekdaysRegex")||Yh.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(Ie(this,"_weekdaysRegex")||(this._weekdaysRegex=dO),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}function CO(e){return this._weekdaysParseExact?(Ie(this,"_weekdaysRegex")||Yh.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(Ie(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=pO),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function $O(e){return this._weekdaysParseExact?(Ie(this,"_weekdaysRegex")||Yh.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(Ie(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=mO),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function Yh(){function e(_,k){return k.length-_.length}var t=[],n=[],r=[],a=[],l,c,d,v,y;for(l=0;l<7;l++)c=Ln([2e3,1]).day(l),d=Zn(this.weekdaysMin(c,"")),v=Zn(this.weekdaysShort(c,"")),y=Zn(this.weekdays(c,"")),t.push(d),n.push(v),r.push(y),a.push(d),a.push(v),a.push(y);t.sort(e),n.sort(e),r.sort(e),a.sort(e),this._weekdaysRegex=new RegExp("^("+a.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+n.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+t.join("|")+")","i")}function qh(){return this.hours()%12||12}function MO(){return this.hours()||24}ae("H",["HH",2],0,"hour");ae("h",["hh",2],0,qh);ae("k",["kk",2],0,MO);ae("hmm",0,0,function(){return""+qh.apply(this)+Dn(this.minutes(),2)});ae("hmmss",0,0,function(){return""+qh.apply(this)+Dn(this.minutes(),2)+Dn(this.seconds(),2)});ae("Hmm",0,0,function(){return""+this.hours()+Dn(this.minutes(),2)});ae("Hmmss",0,0,function(){return""+this.hours()+Dn(this.minutes(),2)+Dn(this.seconds(),2)});function Vy(e,t){ae(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}Vy("a",!0);Vy("A",!1);function jy(e,t){return t._meridiemParse}Z("a",jy);Z("A",jy);Z("H",Ve,Vh);Z("h",Ve,Ki);Z("k",Ve,Ki);Z("HH",Ve,qt);Z("hh",Ve,qt);Z("kk",Ve,qt);Z("hmm",Iy);Z("hmmss",Ly);Z("Hmm",Iy);Z("Hmmss",Ly);Re(["H","HH"],rt);Re(["k","kk"],function(e,t,n){var r=Ce(e);t[rt]=r===24?0:r});Re(["a","A"],function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e});Re(["h","hh"],function(e,t,n){t[rt]=Ce(e),_e(n).bigHour=!0});Re("hmm",function(e,t,n){var r=e.length-2;t[rt]=Ce(e.substr(0,r)),t[ln]=Ce(e.substr(r)),_e(n).bigHour=!0});Re("hmmss",function(e,t,n){var r=e.length-4,a=e.length-2;t[rt]=Ce(e.substr(0,r)),t[ln]=Ce(e.substr(r,2)),t[qn]=Ce(e.substr(a)),_e(n).bigHour=!0});Re("Hmm",function(e,t,n){var r=e.length-2;t[rt]=Ce(e.substr(0,r)),t[ln]=Ce(e.substr(r))});Re("Hmmss",function(e,t,n){var r=e.length-4,a=e.length-2;t[rt]=Ce(e.substr(0,r)),t[ln]=Ce(e.substr(r,2)),t[qn]=Ce(e.substr(a))});function TO(e){return(e+"").toLowerCase().charAt(0)==="p"}var OO=/[ap]\.?m?\.?/i,AO=Xi("Hours",!0);function DO(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"}var Uy={calendar:bT,longDateFormat:ST,invalidDate:CT,ordinal:MT,dayOfMonthOrdinalParse:TT,relativeTime:AT,months:YT,monthsShort:Ry,week:iO,weekdays:hO,weekdaysMin:fO,weekdaysShort:Wy,meridiemParse:OO},Ye={},ma={},Ha;function IO(e,t){var n,r=Math.min(e.length,t.length);for(n=0;n<r;n+=1)if(e[n]!==t[n])return n;return r}function nm(e){return e&&e.toLowerCase().replace("_","-")}function LO(e){for(var t=0,n,r,a,l;t<e.length;){for(l=nm(e[t]).split("-"),n=l.length,r=nm(e[t+1]),r=r?r.split("-"):null;n>0;){if(a=xl(l.slice(0,n).join("-")),a)return a;if(r&&r.length>=n&&IO(l,r)>=n-1)break;n--}t++}return Ha}function EO(e){return!!(e&&e.match("^[^/\\\\]*$"))}function xl(e){var t=null,n;if(Ye[e]===void 0&&typeof module<"u"&&module&&module.exports&&EO(e))try{t=Ha._abbr,n=require,n("./locale/"+e),xr(t)}catch{Ye[e]=null}return Ye[e]}function xr(e,t){var n;return e&&(Ot(t)?n=ir(e):n=Gh(e,t),n?Ha=n:typeof console<"u"&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),Ha._abbr}function Gh(e,t){if(t!==null){var n,r=Uy;if(t.abbr=e,Ye[e]!=null)Ty("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),r=Ye[e]._config;else if(t.parentLocale!=null)if(Ye[t.parentLocale]!=null)r=Ye[t.parentLocale]._config;else if(n=xl(t.parentLocale),n!=null)r=n._config;else return ma[t.parentLocale]||(ma[t.parentLocale]=[]),ma[t.parentLocale].push({name:e,config:t}),null;return Ye[e]=new Nh(Cc(r,t)),ma[e]&&ma[e].forEach(function(a){Gh(a.name,a.config)}),xr(e),Ye[e]}else return delete Ye[e],null}function PO(e,t){if(t!=null){var n,r,a=Uy;Ye[e]!=null&&Ye[e].parentLocale!=null?Ye[e].set(Cc(Ye[e]._config,t)):(r=xl(e),r!=null&&(a=r._config),t=Cc(a,t),r==null&&(t.abbr=e),n=new Nh(t),n.parentLocale=Ye[e],Ye[e]=n),xr(e)}else Ye[e]!=null&&(Ye[e].parentLocale!=null?(Ye[e]=Ye[e].parentLocale,e===xr()&&xr(e)):Ye[e]!=null&&delete Ye[e]);return Ye[e]}function ir(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return Ha;if(!pn(e)){if(t=xl(e),t)return t;e=[e]}return LO(e)}function RO(){return $c(Ye)}function Zh(e){var t,n=e._a;return n&&_e(e).overflow===-2&&(t=n[Yn]<0||n[Yn]>11?Yn:n[Cn]<1||n[Cn]>jh(n[vt],n[Yn])?Cn:n[rt]<0||n[rt]>24||n[rt]===24&&(n[ln]!==0||n[qn]!==0||n[qr]!==0)?rt:n[ln]<0||n[ln]>59?ln:n[qn]<0||n[qn]>59?qn:n[qr]<0||n[qr]>999?qr:-1,_e(e)._overflowDayOfYear&&(t<vt||t>Cn)&&(t=Cn),_e(e)._overflowWeeks&&t===-1&&(t=zT),_e(e)._overflowWeekday&&t===-1&&(t=HT),_e(e).overflow=t),e}var FO=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,NO=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,BO=/Z|[+-]\d\d(?::?\d\d)?/,Ds=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],Iu=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],zO=/^\/?Date\((-?\d+)/i,HO=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,WO={UT:0,GMT:0,EDT:-4*60,EST:-5*60,CDT:-5*60,CST:-6*60,MDT:-6*60,MST:-7*60,PDT:-7*60,PST:-8*60};function Yy(e){var t,n,r=e._i,a=FO.exec(r)||NO.exec(r),l,c,d,v,y=Ds.length,_=Iu.length;if(a){for(_e(e).iso=!0,t=0,n=y;t<n;t++)if(Ds[t][1].exec(a[1])){c=Ds[t][0],l=Ds[t][2]!==!1;break}if(c==null){e._isValid=!1;return}if(a[3]){for(t=0,n=_;t<n;t++)if(Iu[t][1].exec(a[3])){d=(a[2]||" ")+Iu[t][0];break}if(d==null){e._isValid=!1;return}}if(!l&&d!=null){e._isValid=!1;return}if(a[4])if(BO.exec(a[4]))v="Z";else{e._isValid=!1;return}e._f=c+(d||"")+(v||""),Xh(e)}else e._isValid=!1}function VO(e,t,n,r,a,l){var c=[jO(e),Ry.indexOf(t),parseInt(n,10),parseInt(r,10),parseInt(a,10)];return l&&c.push(parseInt(l,10)),c}function jO(e){var t=parseInt(e,10);return t<=49?2e3+t:t<=999?1900+t:t}function UO(e){return e.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function YO(e,t,n){if(e){var r=Wy.indexOf(e),a=new Date(t[0],t[1],t[2]).getDay();if(r!==a)return _e(n).weekdayMismatch=!0,n._isValid=!1,!1}return!0}function qO(e,t,n){if(e)return WO[e];if(t)return 0;var r=parseInt(n,10),a=r%100,l=(r-a)/100;return l*60+a}function qy(e){var t=HO.exec(UO(e._i)),n;if(t){if(n=VO(t[4],t[3],t[2],t[5],t[6],t[7]),!YO(t[1],n,e))return;e._a=n,e._tzm=qO(t[8],t[9],t[10]),e._d=Ba.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),_e(e).rfc2822=!0}else e._isValid=!1}function GO(e){var t=zO.exec(e._i);if(t!==null){e._d=new Date(+t[1]);return}if(Yy(e),e._isValid===!1)delete e._isValid;else return;if(qy(e),e._isValid===!1)delete e._isValid;else return;e._strict?e._isValid=!1:Y.createFromInputFallback(e)}Y.createFromInputFallback=an("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))});function Mi(e,t,n){return e??t??n}function ZO(e){var t=new Date(Y.now());return e._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}function Kh(e){var t,n,r=[],a,l,c;if(!e._d){for(a=ZO(e),e._w&&e._a[Cn]==null&&e._a[Yn]==null&&KO(e),e._dayOfYear!=null&&(c=Mi(e._a[vt],a[vt]),(e._dayOfYear>Ca(c)||e._dayOfYear===0)&&(_e(e)._overflowDayOfYear=!0),n=Ba(c,0,e._dayOfYear),e._a[Yn]=n.getUTCMonth(),e._a[Cn]=n.getUTCDate()),t=0;t<3&&e._a[t]==null;++t)e._a[t]=r[t]=a[t];for(;t<7;t++)e._a[t]=r[t]=e._a[t]==null?t===2?1:0:e._a[t];e._a[rt]===24&&e._a[ln]===0&&e._a[qn]===0&&e._a[qr]===0&&(e._nextDay=!0,e._a[rt]=0),e._d=(e._useUTC?Ba:nO).apply(null,r),l=e._useUTC?e._d.getUTCDay():e._d.getDay(),e._tzm!=null&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[rt]=24),e._w&&typeof e._w.d<"u"&&e._w.d!==l&&(_e(e).weekdayMismatch=!0)}}function KO(e){var t,n,r,a,l,c,d,v,y;t=e._w,t.GG!=null||t.W!=null||t.E!=null?(l=1,c=4,n=Mi(t.GG,e._a[vt],za(We(),1,4).year),r=Mi(t.W,1),a=Mi(t.E,1),(a<1||a>7)&&(v=!0)):(l=e._locale._week.dow,c=e._locale._week.doy,y=za(We(),l,c),n=Mi(t.gg,e._a[vt],y.year),r=Mi(t.w,y.week),t.d!=null?(a=t.d,(a<0||a>6)&&(v=!0)):t.e!=null?(a=t.e+l,(t.e<0||t.e>6)&&(v=!0)):a=l),r<1||r>Kn(n,l,c)?_e(e)._overflowWeeks=!0:v!=null?_e(e)._overflowWeekday=!0:(d=Hy(n,r,a,l,c),e._a[vt]=d.year,e._dayOfYear=d.dayOfYear)}Y.ISO_8601=function(){};Y.RFC_2822=function(){};function Xh(e){if(e._f===Y.ISO_8601){Yy(e);return}if(e._f===Y.RFC_2822){qy(e);return}e._a=[],_e(e).empty=!0;var t=""+e._i,n,r,a,l,c,d=t.length,v=0,y,_;for(a=Oy(e._f,e._locale).match(Bh)||[],_=a.length,n=0;n<_;n++)l=a[n],r=(t.match(FT(l,e))||[])[0],r&&(c=t.substr(0,t.indexOf(r)),c.length>0&&_e(e).unusedInput.push(c),t=t.slice(t.indexOf(r)+r.length),v+=r.length),Ei[l]?(r?_e(e).empty=!1:_e(e).unusedTokens.push(l),BT(l,r,e)):e._strict&&!r&&_e(e).unusedTokens.push(l);_e(e).charsLeftOver=d-v,t.length>0&&_e(e).unusedInput.push(t),e._a[rt]<=12&&_e(e).bigHour===!0&&e._a[rt]>0&&(_e(e).bigHour=void 0),_e(e).parsedDateParts=e._a.slice(0),_e(e).meridiem=e._meridiem,e._a[rt]=XO(e._locale,e._a[rt],e._meridiem),y=_e(e).era,y!==null&&(e._a[vt]=e._locale.erasConvertYear(y,e._a[vt])),Kh(e),Zh(e)}function XO(e,t,n){var r;return n==null?t:e.meridiemHour!=null?e.meridiemHour(t,n):(e.isPM!=null&&(r=e.isPM(n),r&&t<12&&(t+=12),!r&&t===12&&(t=0)),t)}function JO(e){var t,n,r,a,l,c,d=!1,v=e._f.length;if(v===0){_e(e).invalidFormat=!0,e._d=new Date(NaN);return}for(a=0;a<v;a++)l=0,c=!1,t=Fh({},e),e._useUTC!=null&&(t._useUTC=e._useUTC),t._f=e._f[a],Xh(t),Rh(t)&&(c=!0),l+=_e(t).charsLeftOver,l+=_e(t).unusedTokens.length*10,_e(t).score=l,d?l<r&&(r=l,n=t):(r==null||l<r||c)&&(r=l,n=t,c&&(d=!0));yr(e,n||t)}function QO(e){if(!e._d){var t=zh(e._i),n=t.day===void 0?t.date:t.day;e._a=$y([t.year,t.month,n,t.hour,t.minute,t.second,t.millisecond],function(r){return r&&parseInt(r,10)}),Kh(e)}}function eA(e){var t=new ns(Zh(Gy(e)));return t._nextDay&&(t.add(1,"d"),t._nextDay=void 0),t}function Gy(e){var t=e._i,n=e._f;return e._locale=e._locale||ir(e._l),t===null||n===void 0&&t===""?pl({nullInput:!0}):(typeof t=="string"&&(e._i=t=e._locale.preparse(t)),mn(t)?new ns(Zh(t)):(ts(t)?e._d=t:pn(n)?JO(e):n?Xh(e):tA(e),Rh(e)||(e._d=null),e))}function tA(e){var t=e._i;Ot(t)?e._d=new Date(Y.now()):ts(t)?e._d=new Date(t.valueOf()):typeof t=="string"?GO(e):pn(t)?(e._a=$y(t.slice(0),function(n){return parseInt(n,10)}),Kh(e)):Jr(t)?QO(e):tr(t)?e._d=new Date(t):Y.createFromInputFallback(e)}function Zy(e,t,n,r,a){var l={};return(t===!0||t===!1)&&(r=t,t=void 0),(n===!0||n===!1)&&(r=n,n=void 0),(Jr(e)&&Ph(e)||pn(e)&&e.length===0)&&(e=void 0),l._isAMomentObject=!0,l._useUTC=l._isUTC=a,l._l=n,l._i=e,l._f=t,l._strict=r,eA(l)}function We(e,t,n,r){return Zy(e,t,n,r,!1)}var nA=an("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=We.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:pl()}),rA=an("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=We.apply(null,arguments);return this.isValid()&&e.isValid()?e>this?this:e:pl()});function Ky(e,t){var n,r;if(t.length===1&&pn(t[0])&&(t=t[0]),!t.length)return We();for(n=t[0],r=1;r<t.length;++r)(!t[r].isValid()||t[r][e](n))&&(n=t[r]);return n}function iA(){var e=[].slice.call(arguments,0);return Ky("isBefore",e)}function aA(){var e=[].slice.call(arguments,0);return Ky("isAfter",e)}var sA=function(){return Date.now?Date.now():+new Date},va=["year","quarter","month","week","day","hour","minute","second","millisecond"];function oA(e){var t,n=!1,r,a=va.length;for(t in e)if(Ie(e,t)&&!(Xe.call(va,t)!==-1&&(e[t]==null||!isNaN(e[t]))))return!1;for(r=0;r<a;++r)if(e[va[r]]){if(n)return!1;parseFloat(e[va[r]])!==Ce(e[va[r]])&&(n=!0)}return!0}function lA(){return this._isValid}function uA(){return bn(NaN)}function wl(e){var t=zh(e),n=t.year||0,r=t.quarter||0,a=t.month||0,l=t.week||t.isoWeek||0,c=t.day||0,d=t.hour||0,v=t.minute||0,y=t.second||0,_=t.millisecond||0;this._isValid=oA(t),this._milliseconds=+_+y*1e3+v*6e4+d*1e3*60*60,this._days=+c+l*7,this._months=+a+r*3+n*12,this._data={},this._locale=ir(),this._bubble()}function qs(e){return e instanceof wl}function Tc(e){return e<0?Math.round(-1*e)*-1:Math.round(e)}function cA(e,t,n){var r=Math.min(e.length,t.length),a=Math.abs(e.length-t.length),l=0,c;for(c=0;c<r;c++)(n&&e[c]!==t[c]||!n&&Ce(e[c])!==Ce(t[c]))&&l++;return l+a}function Xy(e,t){ae(e,0,0,function(){var n=this.utcOffset(),r="+";return n<0&&(n=-n,r="-"),r+Dn(~~(n/60),2)+t+Dn(~~n%60,2)})}Xy("Z",":");Xy("ZZ","");Z("Z",bl);Z("ZZ",bl);Re(["Z","ZZ"],function(e,t,n){n._useUTC=!0,n._tzm=Jh(bl,e)});var hA=/([\+\-]|\d\d)/gi;function Jh(e,t){var n=(t||"").match(e),r,a,l;return n===null?null:(r=n[n.length-1]||[],a=(r+"").match(hA)||["-",0,0],l=+(a[1]*60)+Ce(a[2]),l===0?0:a[0]==="+"?l:-l)}function Qh(e,t){var n,r;return t._isUTC?(n=t.clone(),r=(mn(e)||ts(e)?e.valueOf():We(e).valueOf())-n.valueOf(),n._d.setTime(n._d.valueOf()+r),Y.updateOffset(n,!1),n):We(e).local()}function Oc(e){return-Math.round(e._d.getTimezoneOffset())}Y.updateOffset=function(){};function fA(e,t,n){var r=this._offset||0,a;if(!this.isValid())return e!=null?this:NaN;if(e!=null){if(typeof e=="string"){if(e=Jh(bl,e),e===null)return this}else Math.abs(e)<16&&!n&&(e=e*60);return!this._isUTC&&t&&(a=Oc(this)),this._offset=e,this._isUTC=!0,a!=null&&this.add(a,"m"),r!==e&&(!t||this._changeInProgress?eb(this,bn(e-r,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,Y.updateOffset(this,!0),this._changeInProgress=null)),this}else return this._isUTC?r:Oc(this)}function dA(e,t){return e!=null?(typeof e!="string"&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()}function pA(e){return this.utcOffset(0,e)}function mA(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(Oc(this),"m")),this}function vA(){if(this._tzm!=null)this.utcOffset(this._tzm,!1,!0);else if(typeof this._i=="string"){var e=Jh(PT,this._i);e!=null?this.utcOffset(e):this.utcOffset(0,!0)}return this}function gA(e){return this.isValid()?(e=e?We(e).utcOffset():0,(this.utcOffset()-e)%60===0):!1}function yA(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function bA(){if(!Ot(this._isDSTShifted))return this._isDSTShifted;var e={},t;return Fh(e,this),e=Gy(e),e._a?(t=e._isUTC?Ln(e._a):We(e._a),this._isDSTShifted=this.isValid()&&cA(e._a,t.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function _A(){return this.isValid()?!this._isUTC:!1}function xA(){return this.isValid()?this._isUTC:!1}function Jy(){return this.isValid()?this._isUTC&&this._offset===0:!1}var wA=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,SA=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function bn(e,t){var n=e,r=null,a,l,c;return qs(e)?n={ms:e._milliseconds,d:e._days,M:e._months}:tr(e)||!isNaN(+e)?(n={},t?n[t]=+e:n.milliseconds=+e):(r=wA.exec(e))?(a=r[1]==="-"?-1:1,n={y:0,d:Ce(r[Cn])*a,h:Ce(r[rt])*a,m:Ce(r[ln])*a,s:Ce(r[qn])*a,ms:Ce(Tc(r[qr]*1e3))*a}):(r=SA.exec(e))?(a=r[1]==="-"?-1:1,n={y:Ur(r[2],a),M:Ur(r[3],a),w:Ur(r[4],a),d:Ur(r[5],a),h:Ur(r[6],a),m:Ur(r[7],a),s:Ur(r[8],a)}):n==null?n={}:typeof n=="object"&&("from"in n||"to"in n)&&(c=kA(We(n.from),We(n.to)),n={},n.ms=c.milliseconds,n.M=c.months),l=new wl(n),qs(e)&&Ie(e,"_locale")&&(l._locale=e._locale),qs(e)&&Ie(e,"_isValid")&&(l._isValid=e._isValid),l}bn.fn=wl.prototype;bn.invalid=uA;function Ur(e,t){var n=e&&parseFloat(e.replace(",","."));return(isNaN(n)?0:n)*t}function rm(e,t){var n={};return n.months=t.month()-e.month()+(t.year()-e.year())*12,e.clone().add(n.months,"M").isAfter(t)&&--n.months,n.milliseconds=+t-+e.clone().add(n.months,"M"),n}function kA(e,t){var n;return e.isValid()&&t.isValid()?(t=Qh(t,e),e.isBefore(t)?n=rm(e,t):(n=rm(t,e),n.milliseconds=-n.milliseconds,n.months=-n.months),n):{milliseconds:0,months:0}}function Qy(e,t){return function(n,r){var a,l;return r!==null&&!isNaN(+r)&&(Ty(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),l=n,n=r,r=l),a=bn(n,r),eb(this,a,e),this}}function eb(e,t,n,r){var a=t._milliseconds,l=Tc(t._days),c=Tc(t._months);e.isValid()&&(r=r??!0,c&&Ny(e,Na(e,"Month")+c*n),l&&Py(e,"Date",Na(e,"Date")+l*n),a&&e._d.setTime(e._d.valueOf()+a*n),r&&Y.updateOffset(e,l||c))}var CA=Qy(1,"add"),$A=Qy(-1,"subtract");function tb(e){return typeof e=="string"||e instanceof String}function MA(e){return mn(e)||ts(e)||tb(e)||tr(e)||OA(e)||TA(e)||e===null||e===void 0}function TA(e){var t=Jr(e)&&!Ph(e),n=!1,r=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],a,l,c=r.length;for(a=0;a<c;a+=1)l=r[a],n=n||Ie(e,l);return t&&n}function OA(e){var t=pn(e),n=!1;return t&&(n=e.filter(function(r){return!tr(r)&&tb(e)}).length===0),t&&n}function AA(e){var t=Jr(e)&&!Ph(e),n=!1,r=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"],a,l;for(a=0;a<r.length;a+=1)l=r[a],n=n||Ie(e,l);return t&&n}function DA(e,t){var n=e.diff(t,"days",!0);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"}function IA(e,t){arguments.length===1&&(arguments[0]?MA(arguments[0])?(e=arguments[0],t=void 0):AA(arguments[0])&&(t=arguments[0],e=void 0):(e=void 0,t=void 0));var n=e||We(),r=Qh(n,this).startOf("day"),a=Y.calendarFormat(this,r)||"sameElse",l=t&&(En(t[a])?t[a].call(this,n):t[a]);return this.format(l||this.localeData().calendar(a,this,We(n)))}function LA(){return new ns(this)}function EA(e,t){var n=mn(e)?e:We(e);return this.isValid()&&n.isValid()?(t=sn(t)||"millisecond",t==="millisecond"?this.valueOf()>n.valueOf():n.valueOf()<this.clone().startOf(t).valueOf()):!1}function PA(e,t){var n=mn(e)?e:We(e);return this.isValid()&&n.isValid()?(t=sn(t)||"millisecond",t==="millisecond"?this.valueOf()<n.valueOf():this.clone().endOf(t).valueOf()<n.valueOf()):!1}function RA(e,t,n,r){var a=mn(e)?e:We(e),l=mn(t)?t:We(t);return this.isValid()&&a.isValid()&&l.isValid()?(r=r||"()",(r[0]==="("?this.isAfter(a,n):!this.isBefore(a,n))&&(r[1]===")"?this.isBefore(l,n):!this.isAfter(l,n))):!1}function FA(e,t){var n=mn(e)?e:We(e),r;return this.isValid()&&n.isValid()?(t=sn(t)||"millisecond",t==="millisecond"?this.valueOf()===n.valueOf():(r=n.valueOf(),this.clone().startOf(t).valueOf()<=r&&r<=this.clone().endOf(t).valueOf())):!1}function NA(e,t){return this.isSame(e,t)||this.isAfter(e,t)}function BA(e,t){return this.isSame(e,t)||this.isBefore(e,t)}function zA(e,t,n){var r,a,l;if(!this.isValid())return NaN;if(r=Qh(e,this),!r.isValid())return NaN;switch(a=(r.utcOffset()-this.utcOffset())*6e4,t=sn(t),t){case"year":l=Gs(this,r)/12;break;case"month":l=Gs(this,r);break;case"quarter":l=Gs(this,r)/3;break;case"second":l=(this-r)/1e3;break;case"minute":l=(this-r)/6e4;break;case"hour":l=(this-r)/36e5;break;case"day":l=(this-r-a)/864e5;break;case"week":l=(this-r-a)/6048e5;break;default:l=this-r}return n?l:Xt(l)}function Gs(e,t){if(e.date()<t.date())return-Gs(t,e);var n=(t.year()-e.year())*12+(t.month()-e.month()),r=e.clone().add(n,"months"),a,l;return t-r<0?(a=e.clone().add(n-1,"months"),l=(t-r)/(r-a)):(a=e.clone().add(n+1,"months"),l=(t-r)/(a-r)),-(n+l)||0}Y.defaultFormat="YYYY-MM-DDTHH:mm:ssZ";Y.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";function HA(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function WA(e){if(!this.isValid())return null;var t=e!==!0,n=t?this.clone().utc():this;return n.year()<0||n.year()>9999?Ys(n,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):En(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+this.utcOffset()*60*1e3).toISOString().replace("Z",Ys(n,"Z")):Ys(n,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function VA(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e="moment",t="",n,r,a,l;return this.isLocal()||(e=this.utcOffset()===0?"moment.utc":"moment.parseZone",t="Z"),n="["+e+'("]',r=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",a="-MM-DD[T]HH:mm:ss.SSS",l=t+'[")]',this.format(n+r+a+l)}function jA(e){e||(e=this.isUtc()?Y.defaultFormatUtc:Y.defaultFormat);var t=Ys(this,e);return this.localeData().postformat(t)}function UA(e,t){return this.isValid()&&(mn(e)&&e.isValid()||We(e).isValid())?bn({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function YA(e){return this.from(We(),e)}function qA(e,t){return this.isValid()&&(mn(e)&&e.isValid()||We(e).isValid())?bn({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function GA(e){return this.to(We(),e)}function nb(e){var t;return e===void 0?this._locale._abbr:(t=ir(e),t!=null&&(this._locale=t),this)}var rb=an("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(e){return e===void 0?this.localeData():this.locale(e)});function ib(){return this._locale}var $o=1e3,Pi=60*$o,Mo=60*Pi,ab=(365*400+97)*24*Mo;function Ri(e,t){return(e%t+t)%t}function sb(e,t,n){return e<100&&e>=0?new Date(e+400,t,n)-ab:new Date(e,t,n).valueOf()}function ob(e,t,n){return e<100&&e>=0?Date.UTC(e+400,t,n)-ab:Date.UTC(e,t,n)}function ZA(e){var t,n;if(e=sn(e),e===void 0||e==="millisecond"||!this.isValid())return this;switch(n=this._isUTC?ob:sb,e){case"year":t=n(this.year(),0,1);break;case"quarter":t=n(this.year(),this.month()-this.month()%3,1);break;case"month":t=n(this.year(),this.month(),1);break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":t=n(this.year(),this.month(),this.date());break;case"hour":t=this._d.valueOf(),t-=Ri(t+(this._isUTC?0:this.utcOffset()*Pi),Mo);break;case"minute":t=this._d.valueOf(),t-=Ri(t,Pi);break;case"second":t=this._d.valueOf(),t-=Ri(t,$o);break}return this._d.setTime(t),Y.updateOffset(this,!0),this}function KA(e){var t,n;if(e=sn(e),e===void 0||e==="millisecond"||!this.isValid())return this;switch(n=this._isUTC?ob:sb,e){case"year":t=n(this.year()+1,0,1)-1;break;case"quarter":t=n(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=n(this.year(),this.month()+1,1)-1;break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=n(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=Mo-Ri(t+(this._isUTC?0:this.utcOffset()*Pi),Mo)-1;break;case"minute":t=this._d.valueOf(),t+=Pi-Ri(t,Pi)-1;break;case"second":t=this._d.valueOf(),t+=$o-Ri(t,$o)-1;break}return this._d.setTime(t),Y.updateOffset(this,!0),this}function XA(){return this._d.valueOf()-(this._offset||0)*6e4}function JA(){return Math.floor(this.valueOf()/1e3)}function QA(){return new Date(this.valueOf())}function eD(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]}function tD(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}}function nD(){return this.isValid()?this.toISOString():null}function rD(){return Rh(this)}function iD(){return yr({},_e(this))}function aD(){return _e(this).overflow}function sD(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}ae("N",0,0,"eraAbbr");ae("NN",0,0,"eraAbbr");ae("NNN",0,0,"eraAbbr");ae("NNNN",0,0,"eraName");ae("NNNNN",0,0,"eraNarrow");ae("y",["y",1],"yo","eraYear");ae("y",["yy",2],0,"eraYear");ae("y",["yyy",3],0,"eraYear");ae("y",["yyyy",4],0,"eraYear");Z("N",ef);Z("NN",ef);Z("NNN",ef);Z("NNNN",gD);Z("NNNNN",yD);Re(["N","NN","NNN","NNNN","NNNNN"],function(e,t,n,r){var a=n._locale.erasParse(e,r,n._strict);a?_e(n).era=a:_e(n).invalidEra=e});Z("y",Zi);Z("yy",Zi);Z("yyy",Zi);Z("yyyy",Zi);Z("yo",bD);Re(["y","yy","yyy","yyyy"],vt);Re(["yo"],function(e,t,n,r){var a;n._locale._eraYearOrdinalRegex&&(a=e.match(n._locale._eraYearOrdinalRegex)),n._locale.eraYearOrdinalParse?t[vt]=n._locale.eraYearOrdinalParse(e,a):t[vt]=parseInt(e,10)});function oD(e,t){var n,r,a,l=this._eras||ir("en")._eras;for(n=0,r=l.length;n<r;++n){switch(typeof l[n].since){case"string":a=Y(l[n].since).startOf("day"),l[n].since=a.valueOf();break}switch(typeof l[n].until){case"undefined":l[n].until=1/0;break;case"string":a=Y(l[n].until).startOf("day").valueOf(),l[n].until=a.valueOf();break}}return l}function lD(e,t,n){var r,a,l=this.eras(),c,d,v;for(e=e.toUpperCase(),r=0,a=l.length;r<a;++r)if(c=l[r].name.toUpperCase(),d=l[r].abbr.toUpperCase(),v=l[r].narrow.toUpperCase(),n)switch(t){case"N":case"NN":case"NNN":if(d===e)return l[r];break;case"NNNN":if(c===e)return l[r];break;case"NNNNN":if(v===e)return l[r];break}else if([c,d,v].indexOf(e)>=0)return l[r]}function uD(e,t){var n=e.since<=e.until?1:-1;return t===void 0?Y(e.since).year():Y(e.since).year()+(t-e.offset)*n}function cD(){var e,t,n,r=this.localeData().eras();for(e=0,t=r.length;e<t;++e)if(n=this.clone().startOf("day").valueOf(),r[e].since<=n&&n<=r[e].until||r[e].until<=n&&n<=r[e].since)return r[e].name;return""}function hD(){var e,t,n,r=this.localeData().eras();for(e=0,t=r.length;e<t;++e)if(n=this.clone().startOf("day").valueOf(),r[e].since<=n&&n<=r[e].until||r[e].until<=n&&n<=r[e].since)return r[e].narrow;return""}function fD(){var e,t,n,r=this.localeData().eras();for(e=0,t=r.length;e<t;++e)if(n=this.clone().startOf("day").valueOf(),r[e].since<=n&&n<=r[e].until||r[e].until<=n&&n<=r[e].since)return r[e].abbr;return""}function dD(){var e,t,n,r,a=this.localeData().eras();for(e=0,t=a.length;e<t;++e)if(n=a[e].since<=a[e].until?1:-1,r=this.clone().startOf("day").valueOf(),a[e].since<=r&&r<=a[e].until||a[e].until<=r&&r<=a[e].since)return(this.year()-Y(a[e].since).year())*n+a[e].offset;return this.year()}function pD(e){return Ie(this,"_erasNameRegex")||tf.call(this),e?this._erasNameRegex:this._erasRegex}function mD(e){return Ie(this,"_erasAbbrRegex")||tf.call(this),e?this._erasAbbrRegex:this._erasRegex}function vD(e){return Ie(this,"_erasNarrowRegex")||tf.call(this),e?this._erasNarrowRegex:this._erasRegex}function ef(e,t){return t.erasAbbrRegex(e)}function gD(e,t){return t.erasNameRegex(e)}function yD(e,t){return t.erasNarrowRegex(e)}function bD(e,t){return t._eraYearOrdinalRegex||Zi}function tf(){var e=[],t=[],n=[],r=[],a,l,c,d,v,y=this.eras();for(a=0,l=y.length;a<l;++a)c=Zn(y[a].name),d=Zn(y[a].abbr),v=Zn(y[a].narrow),t.push(c),e.push(d),n.push(v),r.push(c),r.push(d),r.push(v);this._erasRegex=new RegExp("^("+r.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+t.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+e.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+n.join("|")+")","i")}ae(0,["gg",2],0,function(){return this.weekYear()%100});ae(0,["GG",2],0,function(){return this.isoWeekYear()%100});function Sl(e,t){ae(0,[e,e.length],0,t)}Sl("gggg","weekYear");Sl("ggggg","weekYear");Sl("GGGG","isoWeekYear");Sl("GGGGG","isoWeekYear");Z("G",yl);Z("g",yl);Z("GG",Ve,qt);Z("gg",Ve,qt);Z("GGGG",Wh,Hh);Z("gggg",Wh,Hh);Z("GGGGG",gl,ml);Z("ggggg",gl,ml);is(["gggg","ggggg","GGGG","GGGGG"],function(e,t,n,r){t[r.substr(0,2)]=Ce(e)});is(["gg","GG"],function(e,t,n,r){t[r]=Y.parseTwoDigitYear(e)});function _D(e){return lb.call(this,e,this.week(),this.weekday()+this.localeData()._week.dow,this.localeData()._week.dow,this.localeData()._week.doy)}function xD(e){return lb.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)}function wD(){return Kn(this.year(),1,4)}function SD(){return Kn(this.isoWeekYear(),1,4)}function kD(){var e=this.localeData()._week;return Kn(this.year(),e.dow,e.doy)}function CD(){var e=this.localeData()._week;return Kn(this.weekYear(),e.dow,e.doy)}function lb(e,t,n,r,a){var l;return e==null?za(this,r,a).year:(l=Kn(e,r,a),t>l&&(t=l),$D.call(this,e,t,n,r,a))}function $D(e,t,n,r,a){var l=Hy(e,t,n,r,a),c=Ba(l.year,0,l.dayOfYear);return this.year(c.getUTCFullYear()),this.month(c.getUTCMonth()),this.date(c.getUTCDate()),this}ae("Q",0,"Qo","quarter");Z("Q",Ay);Re("Q",function(e,t){t[Yn]=(Ce(e)-1)*3});function MD(e){return e==null?Math.ceil((this.month()+1)/3):this.month((e-1)*3+this.month()%3)}ae("D",["DD",2],"Do","date");Z("D",Ve,Ki);Z("DD",Ve,qt);Z("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient});Re(["D","DD"],Cn);Re("Do",function(e,t){t[Cn]=Ce(e.match(Ve)[0])});var ub=Xi("Date",!0);ae("DDD",["DDDD",3],"DDDo","dayOfYear");Z("DDD",vl);Z("DDDD",Dy);Re(["DDD","DDDD"],function(e,t,n){n._dayOfYear=Ce(e)});function TD(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return e==null?t:this.add(e-t,"d")}ae("m",["mm",2],0,"minute");Z("m",Ve,Vh);Z("mm",Ve,qt);Re(["m","mm"],ln);var OD=Xi("Minutes",!1);ae("s",["ss",2],0,"second");Z("s",Ve,Vh);Z("ss",Ve,qt);Re(["s","ss"],qn);var AD=Xi("Seconds",!1);ae("S",0,0,function(){return~~(this.millisecond()/100)});ae(0,["SS",2],0,function(){return~~(this.millisecond()/10)});ae(0,["SSS",3],0,"millisecond");ae(0,["SSSS",4],0,function(){return this.millisecond()*10});ae(0,["SSSSS",5],0,function(){return this.millisecond()*100});ae(0,["SSSSSS",6],0,function(){return this.millisecond()*1e3});ae(0,["SSSSSSS",7],0,function(){return this.millisecond()*1e4});ae(0,["SSSSSSSS",8],0,function(){return this.millisecond()*1e5});ae(0,["SSSSSSSSS",9],0,function(){return this.millisecond()*1e6});Z("S",vl,Ay);Z("SS",vl,qt);Z("SSS",vl,Dy);var br,cb;for(br="SSSS";br.length<=9;br+="S")Z(br,Zi);function DD(e,t){t[qr]=Ce(("0."+e)*1e3)}for(br="S";br.length<=9;br+="S")Re(br,DD);cb=Xi("Milliseconds",!1);ae("z",0,0,"zoneAbbr");ae("zz",0,0,"zoneName");function ID(){return this._isUTC?"UTC":""}function LD(){return this._isUTC?"Coordinated Universal Time":""}var V=ns.prototype;V.add=CA;V.calendar=IA;V.clone=LA;V.diff=zA;V.endOf=KA;V.format=jA;V.from=UA;V.fromNow=YA;V.to=qA;V.toNow=GA;V.get=VT;V.invalidAt=aD;V.isAfter=EA;V.isBefore=PA;V.isBetween=RA;V.isSame=FA;V.isSameOrAfter=NA;V.isSameOrBefore=BA;V.isValid=rD;V.lang=rb;V.locale=nb;V.localeData=ib;V.max=rA;V.min=nA;V.parsingFlags=iD;V.set=jT;V.startOf=ZA;V.subtract=$A;V.toArray=eD;V.toObject=tD;V.toDate=QA;V.toISOString=WA;V.inspect=VA;typeof Symbol<"u"&&Symbol.for!=null&&(V[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"});V.toJSON=nD;V.toString=HA;V.unix=JA;V.valueOf=XA;V.creationData=sD;V.eraName=cD;V.eraNarrow=hD;V.eraAbbr=fD;V.eraYear=dD;V.year=Ey;V.isLeapYear=WT;V.weekYear=_D;V.isoWeekYear=xD;V.quarter=V.quarters=MD;V.month=By;V.daysInMonth=QT;V.week=V.weeks=oO;V.isoWeek=V.isoWeeks=lO;V.weeksInYear=kD;V.weeksInWeekYear=CD;V.isoWeeksInYear=wD;V.isoWeeksInISOWeekYear=SD;V.date=ub;V.day=V.days=xO;V.weekday=wO;V.isoWeekday=SO;V.dayOfYear=TD;V.hour=V.hours=AO;V.minute=V.minutes=OD;V.second=V.seconds=AD;V.millisecond=V.milliseconds=cb;V.utcOffset=fA;V.utc=pA;V.local=mA;V.parseZone=vA;V.hasAlignedHourOffset=gA;V.isDST=yA;V.isLocal=_A;V.isUtcOffset=xA;V.isUtc=Jy;V.isUTC=Jy;V.zoneAbbr=ID;V.zoneName=LD;V.dates=an("dates accessor is deprecated. Use date instead.",ub);V.months=an("months accessor is deprecated. Use month instead",By);V.years=an("years accessor is deprecated. Use year instead",Ey);V.zone=an("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",dA);V.isDSTShifted=an("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",bA);function ED(e){return We(e*1e3)}function PD(){return We.apply(null,arguments).parseZone()}function hb(e){return e}var Le=Nh.prototype;Le.calendar=_T;Le.longDateFormat=kT;Le.invalidDate=$T;Le.ordinal=OT;Le.preparse=hb;Le.postformat=hb;Le.relativeTime=DT;Le.pastFuture=IT;Le.set=yT;Le.eras=oD;Le.erasParse=lD;Le.erasConvertYear=uD;Le.erasAbbrRegex=mD;Le.erasNameRegex=pD;Le.erasNarrowRegex=vD;Le.months=ZT;Le.monthsShort=KT;Le.monthsParse=JT;Le.monthsRegex=tO;Le.monthsShortRegex=eO;Le.week=rO;Le.firstDayOfYear=sO;Le.firstDayOfWeek=aO;Le.weekdays=vO;Le.weekdaysMin=yO;Le.weekdaysShort=gO;Le.weekdaysParse=_O;Le.weekdaysRegex=kO;Le.weekdaysShortRegex=CO;Le.weekdaysMinRegex=$O;Le.isPM=TO;Le.meridiem=DO;function To(e,t,n,r){var a=ir(),l=Ln().set(r,t);return a[n](l,e)}function fb(e,t,n){if(tr(e)&&(t=e,e=void 0),e=e||"",t!=null)return To(e,t,n,"month");var r,a=[];for(r=0;r<12;r++)a[r]=To(e,r,n,"month");return a}function nf(e,t,n,r){typeof e=="boolean"?(tr(t)&&(n=t,t=void 0),t=t||""):(t=e,n=t,e=!1,tr(t)&&(n=t,t=void 0),t=t||"");var a=ir(),l=e?a._week.dow:0,c,d=[];if(n!=null)return To(t,(n+l)%7,r,"day");for(c=0;c<7;c++)d[c]=To(t,(c+l)%7,r,"day");return d}function RD(e,t){return fb(e,t,"months")}function FD(e,t){return fb(e,t,"monthsShort")}function ND(e,t,n){return nf(e,t,n,"weekdays")}function BD(e,t,n){return nf(e,t,n,"weekdaysShort")}function zD(e,t,n){return nf(e,t,n,"weekdaysMin")}xr("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10,n=Ce(e%100/10)===1?"th":t===1?"st":t===2?"nd":t===3?"rd":"th";return e+n}});Y.lang=an("moment.lang is deprecated. Use moment.locale instead.",xr);Y.langData=an("moment.langData is deprecated. Use moment.localeData instead.",ir);var zn=Math.abs;function HD(){var e=this._data;return this._milliseconds=zn(this._milliseconds),this._days=zn(this._days),this._months=zn(this._months),e.milliseconds=zn(e.milliseconds),e.seconds=zn(e.seconds),e.minutes=zn(e.minutes),e.hours=zn(e.hours),e.months=zn(e.months),e.years=zn(e.years),this}function db(e,t,n,r){var a=bn(t,n);return e._milliseconds+=r*a._milliseconds,e._days+=r*a._days,e._months+=r*a._months,e._bubble()}function WD(e,t){return db(this,e,t,1)}function VD(e,t){return db(this,e,t,-1)}function im(e){return e<0?Math.floor(e):Math.ceil(e)}function jD(){var e=this._milliseconds,t=this._days,n=this._months,r=this._data,a,l,c,d,v;return e>=0&&t>=0&&n>=0||e<=0&&t<=0&&n<=0||(e+=im(Ac(n)+t)*864e5,t=0,n=0),r.milliseconds=e%1e3,a=Xt(e/1e3),r.seconds=a%60,l=Xt(a/60),r.minutes=l%60,c=Xt(l/60),r.hours=c%24,t+=Xt(c/24),v=Xt(pb(t)),n+=v,t-=im(Ac(v)),d=Xt(n/12),n%=12,r.days=t,r.months=n,r.years=d,this}function pb(e){return e*4800/146097}function Ac(e){return e*146097/4800}function UD(e){if(!this.isValid())return NaN;var t,n,r=this._milliseconds;if(e=sn(e),e==="month"||e==="quarter"||e==="year")switch(t=this._days+r/864e5,n=this._months+pb(t),e){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(t=this._days+Math.round(Ac(this._months)),e){case"week":return t/7+r/6048e5;case"day":return t+r/864e5;case"hour":return t*24+r/36e5;case"minute":return t*1440+r/6e4;case"second":return t*86400+r/1e3;case"millisecond":return Math.floor(t*864e5)+r;default:throw new Error("Unknown unit "+e)}}function ar(e){return function(){return this.as(e)}}var mb=ar("ms"),YD=ar("s"),qD=ar("m"),GD=ar("h"),ZD=ar("d"),KD=ar("w"),XD=ar("M"),JD=ar("Q"),QD=ar("y"),eI=mb;function tI(){return bn(this)}function nI(e){return e=sn(e),this.isValid()?this[e+"s"]():NaN}function hi(e){return function(){return this.isValid()?this._data[e]:NaN}}var rI=hi("milliseconds"),iI=hi("seconds"),aI=hi("minutes"),sI=hi("hours"),oI=hi("days"),lI=hi("months"),uI=hi("years");function cI(){return Xt(this.days()/7)}var Vn=Math.round,Di={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function hI(e,t,n,r,a){return a.relativeTime(t||1,!!n,e,r)}function fI(e,t,n,r){var a=bn(e).abs(),l=Vn(a.as("s")),c=Vn(a.as("m")),d=Vn(a.as("h")),v=Vn(a.as("d")),y=Vn(a.as("M")),_=Vn(a.as("w")),k=Vn(a.as("y")),$=l<=n.ss&&["s",l]||l<n.s&&["ss",l]||c<=1&&["m"]||c<n.m&&["mm",c]||d<=1&&["h"]||d<n.h&&["hh",d]||v<=1&&["d"]||v<n.d&&["dd",v];return n.w!=null&&($=$||_<=1&&["w"]||_<n.w&&["ww",_]),$=$||y<=1&&["M"]||y<n.M&&["MM",y]||k<=1&&["y"]||["yy",k],$[2]=t,$[3]=+e>0,$[4]=r,hI.apply(null,$)}function dI(e){return e===void 0?Vn:typeof e=="function"?(Vn=e,!0):!1}function pI(e,t){return Di[e]===void 0?!1:t===void 0?Di[e]:(Di[e]=t,e==="s"&&(Di.ss=t-1),!0)}function mI(e,t){if(!this.isValid())return this.localeData().invalidDate();var n=!1,r=Di,a,l;return typeof e=="object"&&(t=e,e=!1),typeof e=="boolean"&&(n=e),typeof t=="object"&&(r=Object.assign({},Di,t),t.s!=null&&t.ss==null&&(r.ss=t.s-1)),a=this.localeData(),l=fI(this,!n,r,a),n&&(l=a.pastFuture(+this,l)),a.postformat(l)}var Lu=Math.abs;function ki(e){return(e>0)-(e<0)||+e}function kl(){if(!this.isValid())return this.localeData().invalidDate();var e=Lu(this._milliseconds)/1e3,t=Lu(this._days),n=Lu(this._months),r,a,l,c,d=this.asSeconds(),v,y,_,k;return d?(r=Xt(e/60),a=Xt(r/60),e%=60,r%=60,l=Xt(n/12),n%=12,c=e?e.toFixed(3).replace(/\.?0+$/,""):"",v=d<0?"-":"",y=ki(this._months)!==ki(d)?"-":"",_=ki(this._days)!==ki(d)?"-":"",k=ki(this._milliseconds)!==ki(d)?"-":"",v+"P"+(l?y+l+"Y":"")+(n?y+n+"M":"")+(t?_+t+"D":"")+(a||r||e?"T":"")+(a?k+a+"H":"")+(r?k+r+"M":"")+(e?k+c+"S":"")):"P0D"}var Te=wl.prototype;Te.isValid=lA;Te.abs=HD;Te.add=WD;Te.subtract=VD;Te.as=UD;Te.asMilliseconds=mb;Te.asSeconds=YD;Te.asMinutes=qD;Te.asHours=GD;Te.asDays=ZD;Te.asWeeks=KD;Te.asMonths=XD;Te.asQuarters=JD;Te.asYears=QD;Te.valueOf=eI;Te._bubble=jD;Te.clone=tI;Te.get=nI;Te.milliseconds=rI;Te.seconds=iI;Te.minutes=aI;Te.hours=sI;Te.days=oI;Te.weeks=cI;Te.months=lI;Te.years=uI;Te.humanize=mI;Te.toISOString=kl;Te.toString=kl;Te.toJSON=kl;Te.locale=nb;Te.localeData=ib;Te.toIsoString=an("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",kl);Te.lang=rb;ae("X",0,0,"unix");ae("x",0,0,"valueOf");Z("x",yl);Z("X",RT);Re("X",function(e,t,n){n._d=new Date(parseFloat(e)*1e3)});Re("x",function(e,t,n){n._d=new Date(Ce(e))});//! moment.js
Y.version="2.30.1";vT(We);Y.fn=V;Y.min=iA;Y.max=aA;Y.now=sA;Y.utc=Ln;Y.unix=ED;Y.months=RD;Y.isDate=ts;Y.locale=xr;Y.invalid=pl;Y.duration=bn;Y.isMoment=mn;Y.weekdays=ND;Y.parseZone=PD;Y.localeData=ir;Y.isDuration=qs;Y.monthsShort=FD;Y.weekdaysMin=zD;Y.defineLocale=Gh;Y.updateLocale=PO;Y.locales=RO;Y.weekdaysShort=BD;Y.normalizeUnits=sn;Y.relativeTimeRounding=dI;Y.relativeTimeThreshold=pI;Y.calendarFormat=DA;Y.prototype=V;Y.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"};const vI=Object.freeze(Object.defineProperty({__proto__:null,default:Y},Symbol.toStringTag,{value:"Module"}));/*!
 * vue-i18n v8.28.2 
 * (c) 2022 kazuya kawaguchi
 * Released under the MIT License.
 */var vb=["compactDisplay","currency","currencyDisplay","currencySign","localeMatcher","notation","numberingSystem","signDisplay","style","unit","unitDisplay","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits"],gI=["dateStyle","timeStyle","calendar","localeMatcher","hour12","hourCycle","timeZone","formatMatcher","weekday","era","year","month","day","hour","minute","second","timeZoneName"];function zi(e,t){typeof console<"u"&&(console.warn("[vue-i18n] "+e),t&&console.warn(t.stack))}function yI(e,t){typeof console<"u"&&(console.error("[vue-i18n] "+e),t&&console.error(t.stack))}var In=Array.isArray;function rn(e){return e!==null&&typeof e=="object"}function bI(e){return typeof e=="boolean"}function lt(e){return typeof e=="string"}var _I=Object.prototype.toString,xI="[object Object]";function On(e){return _I.call(e)===xI}function Lt(e){return e==null}function Dc(e){return typeof e=="function"}function Cl(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var n=null,r=null;return e.length===1?rn(e[0])||In(e[0])?r=e[0]:typeof e[0]=="string"&&(n=e[0]):e.length===2&&(typeof e[0]=="string"&&(n=e[0]),(rn(e[1])||In(e[1]))&&(r=e[1])),{locale:n,params:r}}function Ji(e){return JSON.parse(JSON.stringify(e))}function wI(e,t){if(e.delete(t))return e}function SI(e){var t=[];return e.forEach(function(n){return t.push(n)}),t}function as(e,t){return!!~e.indexOf(t)}var kI=Object.prototype.hasOwnProperty;function CI(e,t){return kI.call(e,t)}function Qr(e){for(var t=arguments,n=Object(e),r=1;r<arguments.length;r++){var a=t[r];if(a!=null){var l=void 0;for(l in a)CI(a,l)&&(rn(a[l])?n[l]=Qr(n[l],a[l]):n[l]=a[l])}}return n}function Oo(e,t){if(e===t)return!0;var n=rn(e),r=rn(t);if(n&&r)try{var a=In(e),l=In(t);if(a&&l)return e.length===t.length&&e.every(function(v,y){return Oo(v,t[y])});if(!a&&!l){var c=Object.keys(e),d=Object.keys(t);return c.length===d.length&&c.every(function(v){return Oo(e[v],t[v])})}else return!1}catch{return!1}else return!n&&!r?String(e)===String(t):!1}function $I(e){return e.replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&apos;")}function MI(e){return e!=null&&Object.keys(e).forEach(function(t){typeof e[t]=="string"&&(e[t]=$I(e[t]))}),e}function TI(e){e.prototype.hasOwnProperty("$i18n")||Object.defineProperty(e.prototype,"$i18n",{get:function(){return this._i18n}}),e.prototype.$t=function(t){for(var n=[],r=arguments.length-1;r-- >0;)n[r]=arguments[r+1];var a=this.$i18n;return a._t.apply(a,[t,a.locale,a._getMessages(),this].concat(n))},e.prototype.$tc=function(t,n){for(var r=[],a=arguments.length-2;a-- >0;)r[a]=arguments[a+2];var l=this.$i18n;return l._tc.apply(l,[t,l.locale,l._getMessages(),this,n].concat(r))},e.prototype.$te=function(t,n){var r=this.$i18n;return r._te(t,r.locale,r._getMessages(),n)},e.prototype.$d=function(t){for(var n,r=[],a=arguments.length-1;a-- >0;)r[a]=arguments[a+1];return(n=this.$i18n).d.apply(n,[t].concat(r))},e.prototype.$n=function(t){for(var n,r=[],a=arguments.length-1;a-- >0;)r[a]=arguments[a+1];return(n=this.$i18n).n.apply(n,[t].concat(r))}}function OI(e){e===void 0&&(e=!1);function t(){this!==this.$root&&this.$options.__INTLIFY_META__&&this.$el&&this.$el.setAttribute("data-intlify",this.$options.__INTLIFY_META__)}return e?{mounted:t}:{beforeCreate:function(){var r=this.$options;if(r.i18n=r.i18n||(r.__i18nBridge||r.__i18n?{}:null),r.i18n){if(r.i18n instanceof G){if(r.__i18nBridge||r.__i18n)try{var a=r.i18n&&r.i18n.messages?r.i18n.messages:{},l=r.__i18nBridge||r.__i18n;l.forEach(function(k){a=Qr(a,JSON.parse(k))}),Object.keys(a).forEach(function(k){r.i18n.mergeLocaleMessage(k,a[k])})}catch{}this._i18n=r.i18n,this._i18nWatcher=this._i18n.watchI18nData()}else if(On(r.i18n)){var c=this.$root&&this.$root.$i18n&&this.$root.$i18n instanceof G?this.$root.$i18n:null;if(c&&(r.i18n.root=this.$root,r.i18n.formatter=c.formatter,r.i18n.fallbackLocale=c.fallbackLocale,r.i18n.formatFallbackMessages=c.formatFallbackMessages,r.i18n.silentTranslationWarn=c.silentTranslationWarn,r.i18n.silentFallbackWarn=c.silentFallbackWarn,r.i18n.pluralizationRules=c.pluralizationRules,r.i18n.preserveDirectiveContent=c.preserveDirectiveContent),r.__i18nBridge||r.__i18n)try{var d=r.i18n&&r.i18n.messages?r.i18n.messages:{},v=r.__i18nBridge||r.__i18n;v.forEach(function(k){d=Qr(d,JSON.parse(k))}),r.i18n.messages=d}catch{}var y=r.i18n,_=y.sharedMessages;_&&On(_)&&(r.i18n.messages=Qr(r.i18n.messages,_)),this._i18n=new G(r.i18n),this._i18nWatcher=this._i18n.watchI18nData(),(r.i18n.sync===void 0||r.i18n.sync)&&(this._localeWatcher=this.$i18n.watchLocale()),c&&c.onComponentInstanceCreated(this._i18n)}}else this.$root&&this.$root.$i18n&&this.$root.$i18n instanceof G?this._i18n=this.$root.$i18n:r.parent&&r.parent.$i18n&&r.parent.$i18n instanceof G&&(this._i18n=r.parent.$i18n)},beforeMount:function(){var r=this.$options;r.i18n=r.i18n||(r.__i18nBridge||r.__i18n?{}:null),r.i18n?r.i18n instanceof G?(this._i18n.subscribeDataChanging(this),this._subscribing=!0):On(r.i18n)&&(this._i18n.subscribeDataChanging(this),this._subscribing=!0):this.$root&&this.$root.$i18n&&this.$root.$i18n instanceof G?(this._i18n.subscribeDataChanging(this),this._subscribing=!0):r.parent&&r.parent.$i18n&&r.parent.$i18n instanceof G&&(this._i18n.subscribeDataChanging(this),this._subscribing=!0)},mounted:t,beforeDestroy:function(){if(this._i18n){var r=this;this.$nextTick(function(){r._subscribing&&(r._i18n.unsubscribeDataChanging(r),delete r._subscribing),r._i18nWatcher&&(r._i18nWatcher(),r._i18n.destroyVM(),delete r._i18nWatcher),r._localeWatcher&&(r._localeWatcher(),delete r._localeWatcher)})}}}}var am={name:"i18n",functional:!0,props:{tag:{type:[String,Boolean,Object],default:"span"},path:{type:String,required:!0},locale:{type:String},places:{type:[Array,Object]}},render:function(t,n){var r=n.data,a=n.parent,l=n.props,c=n.slots,d=a.$i18n;if(d){var v=l.path,y=l.locale,_=l.places,k=c(),$=d.i(v,y,AI(k)||_?DI(k.default,_):k),M=l.tag&&l.tag!==!0||l.tag===!1?l.tag:"span";return M?t(M,r,$):$}}};function AI(e){var t;for(t in e)if(t!=="default")return!1;return!!t}function DI(e,t){var n=t?II(t):{};if(!e)return n;e=e.filter(function(a){return a.tag||a.text.trim()!==""});var r=e.every(EI);return e.reduce(r?LI:gb,n)}function II(e){return Array.isArray(e)?e.reduce(gb,{}):Object.assign({},e)}function LI(e,t){return t.data&&t.data.attrs&&t.data.attrs.place&&(e[t.data.attrs.place]=t),e}function gb(e,t,n){return e[n]=t,e}function EI(e){return!!(e.data&&e.data.attrs&&e.data.attrs.place)}var sm={name:"i18n-n",functional:!0,props:{tag:{type:[String,Boolean,Object],default:"span"},value:{type:Number,required:!0},format:{type:[String,Object]},locale:{type:String}},render:function(t,n){var r=n.props,a=n.parent,l=n.data,c=a.$i18n;if(!c)return null;var d=null,v=null;lt(r.format)?d=r.format:rn(r.format)&&(r.format.key&&(d=r.format.key),v=Object.keys(r.format).reduce(function(M,T){var L;return as(vb,T)?Object.assign({},M,(L={},L[T]=r.format[T],L)):M},null));var y=r.locale||c.locale,_=c._ntp(r.value,y,d,v),k=_.map(function(M,T){var L,D=l.scopedSlots&&l.scopedSlots[M.type];return D?D((L={},L[M.type]=M.value,L.index=T,L.parts=_,L)):M.value}),$=r.tag&&r.tag!==!0||r.tag===!1?r.tag:"span";return $?t($,{attrs:l.attrs,class:l.class,staticClass:l.staticClass},k):k}};function PI(e,t,n){yb(e,n)&&bb(e,t,n)}function RI(e,t,n,r){if(yb(e,n)){var a=n.context.$i18n;NI(e,n)&&Oo(t.value,t.oldValue)&&Oo(e._localeMessage,a.getLocaleMessage(a.locale))||bb(e,t,n)}}function FI(e,t,n,r){var a=n.context;if(!a){zi("Vue instance does not exists in VNode context");return}var l=n.context.$i18n||{};!t.modifiers.preserve&&!l.preserveDirectiveContent&&(e.textContent=""),e._vt=void 0,delete e._vt,e._locale=void 0,delete e._locale,e._localeMessage=void 0,delete e._localeMessage}function yb(e,t){var n=t.context;return n?n.$i18n?!0:(zi("VueI18n instance does not exists in Vue instance"),!1):(zi("Vue instance does not exists in VNode context"),!1)}function NI(e,t){var n=t.context;return e._locale===n.$i18n.locale}function bb(e,t,n){var r,a,l=t.value,c=BI(l),d=c.path,v=c.locale,y=c.args,_=c.choice;if(!d&&!v&&!y){zi("value type not supported");return}if(!d){zi("`path` is required in v-t directive");return}var k=n.context;_!=null?e._vt=e.textContent=(r=k.$i18n).tc.apply(r,[d,_].concat(om(v,y))):e._vt=e.textContent=(a=k.$i18n).t.apply(a,[d].concat(om(v,y))),e._locale=k.$i18n.locale,e._localeMessage=k.$i18n.getLocaleMessage(k.$i18n.locale)}function BI(e){var t,n,r,a;return lt(e)?t=e:On(e)&&(t=e.path,n=e.locale,r=e.args,a=e.choice),{path:t,locale:n,args:r,choice:a}}function om(e,t){var n=[];return e&&n.push(e),t&&(Array.isArray(t)||On(t))&&n.push(t),n}var xt;function rf(e,t){t===void 0&&(t={bridge:!1}),rf.installed=!0,xt=e,xt.version&&Number(xt.version.split(".")[0]),TI(xt),xt.mixin(OI(t.bridge)),xt.directive("t",{bind:PI,update:RI,unbind:FI}),xt.component(am.name,am),xt.component(sm.name,sm);var n=xt.config.optionMergeStrategies;n.i18n=function(r,a){return a===void 0?r:a}}var _b=function(){this._caches=Object.create(null)};_b.prototype.interpolate=function(t,n){if(!n)return[t];var r=this._caches[t];return r||(r=WI(t),this._caches[t]=r),VI(r,n)};var zI=/^(?:\d)+/,HI=/^(?:\w)+/;function WI(e){for(var t=[],n=0,r="";n<e.length;){var a=e[n++];if(a==="{"){r&&t.push({type:"text",value:r}),r="";var l="";for(a=e[n++];a!==void 0&&a!=="}";)l+=a,a=e[n++];var c=a==="}",d=zI.test(l)?"list":c&&HI.test(l)?"named":"unknown";t.push({value:l,type:d})}else a==="%"?e[n]!=="{"&&(r+=a):r+=a}return r&&t.push({type:"text",value:r}),t}function VI(e,t){var n=[],r=0,a=Array.isArray(t)?"list":rn(t)?"named":"unknown";if(a==="unknown")return n;for(;r<e.length;){var l=e[r];switch(l.type){case"text":n.push(l.value);break;case"list":n.push(t[parseInt(l.value,10)]);break;case"named":a==="named"&&n.push(t[l.value]);break}r++}return n}var ot=0,Ii=1,xb=2,wb=3,Ic=0,Ao=1,Do=2,_r=3,Xn=4,Io=5,Lo=6,$l=7,Wa=8,Ir=[];Ir[Ic]={ws:[Ic],ident:[_r,ot],"[":[Xn],eof:[$l]};Ir[Ao]={ws:[Ao],".":[Do],"[":[Xn],eof:[$l]};Ir[Do]={ws:[Do],ident:[_r,ot],0:[_r,ot],number:[_r,ot]};Ir[_r]={ident:[_r,ot],0:[_r,ot],number:[_r,ot],ws:[Ao,Ii],".":[Do,Ii],"[":[Xn,Ii],eof:[$l,Ii]};Ir[Xn]={"'":[Io,ot],'"':[Lo,ot],"[":[Xn,xb],"]":[Ao,wb],eof:Wa,else:[Xn,ot]};Ir[Io]={"'":[Xn,ot],eof:Wa,else:[Io,ot]};Ir[Lo]={'"':[Xn,ot],eof:Wa,else:[Lo,ot]};var jI=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function UI(e){return jI.test(e)}function YI(e){var t=e.charCodeAt(0),n=e.charCodeAt(e.length-1);return t===n&&(t===34||t===39)?e.slice(1,-1):e}function qI(e){if(e==null)return"eof";var t=e.charCodeAt(0);switch(t){case 91:case 93:case 46:case 34:case 39:return e;case 95:case 36:case 45:return"ident";case 9:case 10:case 13:case 160:case 65279:case 8232:case 8233:return"ws"}return"ident"}function GI(e){var t=e.trim();return e.charAt(0)==="0"&&isNaN(e)?!1:UI(t)?YI(t):"*"+t}function ZI(e){var t=[],n=-1,r=Ic,a=0,l,c,d,v,y,_,k,$=[];$[Ii]=function(){c!==void 0&&(t.push(c),c=void 0)},$[ot]=function(){c===void 0?c=d:c+=d},$[xb]=function(){$[ot](),a++},$[wb]=function(){if(a>0)a--,r=Xn,$[ot]();else{if(a=0,c===void 0||(c=GI(c),c===!1))return!1;$[Ii]()}};function M(){var T=e[n+1];if(r===Io&&T==="'"||r===Lo&&T==='"')return n++,d="\\"+T,$[ot](),!0}for(;r!==null;)if(n++,l=e[n],!(l==="\\"&&M())){if(v=qI(l),k=Ir[r],y=k[v]||k.else||Wa,y===Wa||(r=y[0],_=$[y[1]],_&&(d=y[2],d=d===void 0?l:d,_()===!1)))return;if(r===$l)return t}}var af=function(){this._cache=Object.create(null)};af.prototype.parsePath=function(t){var n=this._cache[t];return n||(n=ZI(t),n&&(this._cache[t]=n)),n||[]};af.prototype.getPathValue=function(t,n){if(!rn(t))return null;var r=this.parsePath(n);if(r.length===0)return null;for(var a=r.length,l=t,c=0;c<a;){var d=l[r[c]];if(d==null)return null;l=d,c++}return l};var KI=/<\/?[\w\s="/.':;#-\/]+>/,XI=/(?:@(?:\.[a-zA-Z]+)?:(?:[\w\-_|./]+|\([\w\-_:|./]+\)))/g,JI=/^@(?:\.([a-zA-Z]+))?:/,QI=/[()]/g,lm={upper:function(e){return e.toLocaleUpperCase()},lower:function(e){return e.toLocaleLowerCase()},capitalize:function(e){return""+e.charAt(0).toLocaleUpperCase()+e.substr(1)}},Lc=new _b,G=function(t){var n=this;t===void 0&&(t={}),!xt&&typeof window<"u"&&window.Vue&&rf(window.Vue);var r=t.locale||"en-US",a=t.fallbackLocale===!1?!1:t.fallbackLocale||"en-US",l=t.messages||{},c=t.dateTimeFormats||t.datetimeFormats||{},d=t.numberFormats||{};this._vm=null,this._formatter=t.formatter||Lc,this._modifiers=t.modifiers||{},this._missing=t.missing||null,this._root=t.root||null,this._sync=t.sync===void 0?!0:!!t.sync,this._fallbackRoot=t.fallbackRoot===void 0?!0:!!t.fallbackRoot,this._fallbackRootWithEmptyString=t.fallbackRootWithEmptyString===void 0?!0:!!t.fallbackRootWithEmptyString,this._formatFallbackMessages=t.formatFallbackMessages===void 0?!1:!!t.formatFallbackMessages,this._silentTranslationWarn=t.silentTranslationWarn===void 0?!1:t.silentTranslationWarn,this._silentFallbackWarn=t.silentFallbackWarn===void 0?!1:!!t.silentFallbackWarn,this._dateTimeFormatters={},this._numberFormatters={},this._path=new af,this._dataListeners=new Set,this._componentInstanceCreatedListener=t.componentInstanceCreatedListener||null,this._preserveDirectiveContent=t.preserveDirectiveContent===void 0?!1:!!t.preserveDirectiveContent,this.pluralizationRules=t.pluralizationRules||{},this._warnHtmlInMessage=t.warnHtmlInMessage||"off",this._postTranslation=t.postTranslation||null,this._escapeParameterHtml=t.escapeParameterHtml||!1,"__VUE_I18N_BRIDGE__"in t&&(this.__VUE_I18N_BRIDGE__=t.__VUE_I18N_BRIDGE__),this.getChoiceIndex=function(v,y){var _=Object.getPrototypeOf(n);if(_&&_.getChoiceIndex){var k=_.getChoiceIndex;return k.call(n,v,y)}var $=function(M,T){return M=Math.abs(M),T===2?M?M>1?1:0:1:M?Math.min(M,2):0};return n.locale in n.pluralizationRules?n.pluralizationRules[n.locale].apply(n,[v,y]):$(v,y)},this._exist=function(v,y){return!v||!y?!1:!!(!Lt(n._path.getPathValue(v,y))||v[y])},(this._warnHtmlInMessage==="warn"||this._warnHtmlInMessage==="error")&&Object.keys(l).forEach(function(v){n._checkLocaleMessage(v,n._warnHtmlInMessage,l[v])}),this._initVM({locale:r,fallbackLocale:a,messages:l,dateTimeFormats:c,numberFormats:d})},Fe={vm:{configurable:!0},messages:{configurable:!0},dateTimeFormats:{configurable:!0},numberFormats:{configurable:!0},availableLocales:{configurable:!0},locale:{configurable:!0},fallbackLocale:{configurable:!0},formatFallbackMessages:{configurable:!0},missing:{configurable:!0},formatter:{configurable:!0},silentTranslationWarn:{configurable:!0},silentFallbackWarn:{configurable:!0},preserveDirectiveContent:{configurable:!0},warnHtmlInMessage:{configurable:!0},postTranslation:{configurable:!0},sync:{configurable:!0}};G.prototype._checkLocaleMessage=function(t,n,r){var a=[],l=function(c,d,v,y){if(On(v))Object.keys(v).forEach(function($){var M=v[$];On(M)?(y.push($),y.push("."),l(c,d,M,y),y.pop(),y.pop()):(y.push($),l(c,d,M,y),y.pop())});else if(In(v))v.forEach(function($,M){On($)?(y.push("["+M+"]"),y.push("."),l(c,d,$,y),y.pop(),y.pop()):(y.push("["+M+"]"),l(c,d,$,y),y.pop())});else if(lt(v)){var _=KI.test(v);if(_){var k="Detected HTML in message '"+v+"' of keypath '"+y.join("")+"' at '"+d+"'. Consider component interpolation with '<i18n>' to avoid XSS. See https://bit.ly/2ZqJzkp";c==="warn"?zi(k):c==="error"&&yI(k)}}};l(n,t,r,a)};G.prototype._initVM=function(t){var n=xt.config.silent;xt.config.silent=!0,this._vm=new xt({data:t,__VUE18N__INSTANCE__:!0}),xt.config.silent=n};G.prototype.destroyVM=function(){this._vm.$destroy()};G.prototype.subscribeDataChanging=function(t){this._dataListeners.add(t)};G.prototype.unsubscribeDataChanging=function(t){wI(this._dataListeners,t)};G.prototype.watchI18nData=function(){var t=this;return this._vm.$watch("$data",function(){for(var n=SI(t._dataListeners),r=n.length;r--;)xt.nextTick(function(){n[r]&&n[r].$forceUpdate()})},{deep:!0})};G.prototype.watchLocale=function(t){if(t){if(!this.__VUE_I18N_BRIDGE__)return null;var r=this,a=this._vm;return this.vm.$watch("locale",function(l){a.$set(a,"locale",l),r.__VUE_I18N_BRIDGE__&&t&&(t.locale.value=l),a.$forceUpdate()},{immediate:!0})}else{if(!this._sync||!this._root)return null;var n=this._vm;return this._root.$i18n.vm.$watch("locale",function(l){n.$set(n,"locale",l),n.$forceUpdate()},{immediate:!0})}};G.prototype.onComponentInstanceCreated=function(t){this._componentInstanceCreatedListener&&this._componentInstanceCreatedListener(t,this)};Fe.vm.get=function(){return this._vm};Fe.messages.get=function(){return Ji(this._getMessages())};Fe.dateTimeFormats.get=function(){return Ji(this._getDateTimeFormats())};Fe.numberFormats.get=function(){return Ji(this._getNumberFormats())};Fe.availableLocales.get=function(){return Object.keys(this.messages).sort()};Fe.locale.get=function(){return this._vm.locale};Fe.locale.set=function(e){this._vm.$set(this._vm,"locale",e)};Fe.fallbackLocale.get=function(){return this._vm.fallbackLocale};Fe.fallbackLocale.set=function(e){this._localeChainCache={},this._vm.$set(this._vm,"fallbackLocale",e)};Fe.formatFallbackMessages.get=function(){return this._formatFallbackMessages};Fe.formatFallbackMessages.set=function(e){this._formatFallbackMessages=e};Fe.missing.get=function(){return this._missing};Fe.missing.set=function(e){this._missing=e};Fe.formatter.get=function(){return this._formatter};Fe.formatter.set=function(e){this._formatter=e};Fe.silentTranslationWarn.get=function(){return this._silentTranslationWarn};Fe.silentTranslationWarn.set=function(e){this._silentTranslationWarn=e};Fe.silentFallbackWarn.get=function(){return this._silentFallbackWarn};Fe.silentFallbackWarn.set=function(e){this._silentFallbackWarn=e};Fe.preserveDirectiveContent.get=function(){return this._preserveDirectiveContent};Fe.preserveDirectiveContent.set=function(e){this._preserveDirectiveContent=e};Fe.warnHtmlInMessage.get=function(){return this._warnHtmlInMessage};Fe.warnHtmlInMessage.set=function(e){var t=this,n=this._warnHtmlInMessage;if(this._warnHtmlInMessage=e,n!==e&&(e==="warn"||e==="error")){var r=this._getMessages();Object.keys(r).forEach(function(a){t._checkLocaleMessage(a,t._warnHtmlInMessage,r[a])})}};Fe.postTranslation.get=function(){return this._postTranslation};Fe.postTranslation.set=function(e){this._postTranslation=e};Fe.sync.get=function(){return this._sync};Fe.sync.set=function(e){this._sync=e};G.prototype._getMessages=function(){return this._vm.messages};G.prototype._getDateTimeFormats=function(){return this._vm.dateTimeFormats};G.prototype._getNumberFormats=function(){return this._vm.numberFormats};G.prototype._warnDefault=function(t,n,r,a,l,c){if(!Lt(r))return r;if(this._missing){var d=this._missing.apply(null,[t,n,a,l]);if(lt(d))return d}if(this._formatFallbackMessages){var v=Cl.apply(void 0,l);return this._render(n,c,v.params,n)}else return n};G.prototype._isFallbackRoot=function(t){return(this._fallbackRootWithEmptyString?!t:Lt(t))&&!Lt(this._root)&&this._fallbackRoot};G.prototype._isSilentFallbackWarn=function(t){return this._silentFallbackWarn instanceof RegExp?this._silentFallbackWarn.test(t):this._silentFallbackWarn};G.prototype._isSilentFallback=function(t,n){return this._isSilentFallbackWarn(n)&&(this._isFallbackRoot()||t!==this.fallbackLocale)};G.prototype._isSilentTranslationWarn=function(t){return this._silentTranslationWarn instanceof RegExp?this._silentTranslationWarn.test(t):this._silentTranslationWarn};G.prototype._interpolate=function(t,n,r,a,l,c,d){if(!n)return null;var v=this._path.getPathValue(n,r);if(In(v)||On(v))return v;var y;if(Lt(v))if(On(n)){if(y=n[r],!(lt(y)||Dc(y)))return null}else return null;else if(lt(v)||Dc(v))y=v;else return null;return lt(y)&&(y.indexOf("@:")>=0||y.indexOf("@.")>=0)&&(y=this._link(t,n,y,a,"raw",c,d)),this._render(y,l,c,r)};G.prototype._link=function(t,n,r,a,l,c,d){var v=r,y=v.match(XI);for(var _ in y)if(y.hasOwnProperty(_)){var k=y[_],$=k.match(JI),M=$[0],T=$[1],L=k.replace(M,"").replace(QI,"");if(as(d,L))return v;d.push(L);var D=this._interpolate(t,n,L,a,l==="raw"?"string":l,l==="raw"?void 0:c,d);if(this._isFallbackRoot(D)){if(!this._root)throw Error("unexpected error");var N=this._root.$i18n;D=N._translate(N._getMessages(),N.locale,N.fallbackLocale,L,a,l,c)}D=this._warnDefault(t,L,D,a,In(c)?c:[c],l),this._modifiers.hasOwnProperty(T)?D=this._modifiers[T](D):lm.hasOwnProperty(T)&&(D=lm[T](D)),d.pop(),v=D?v.replace(k,D):v}return v};G.prototype._createMessageContext=function(t,n,r,a){var l=this,c=In(t)?t:[],d=rn(t)?t:{},v=function($){return c[$]},y=function($){return d[$]},_=this._getMessages(),k=this.locale;return{list:v,named:y,values:t,formatter:n,path:r,messages:_,locale:k,linked:function($){return l._interpolate(k,_[k]||{},$,null,a,void 0,[$])}}};G.prototype._render=function(t,n,r,a){if(Dc(t))return t(this._createMessageContext(r,this._formatter||Lc,a,n));var l=this._formatter.interpolate(t,r,a);return l||(l=Lc.interpolate(t,r,a)),n==="string"&&!lt(l)?l.join(""):l};G.prototype._appendItemToChain=function(t,n,r){var a=!1;return as(t,n)||(a=!0,n&&(a=n[n.length-1]!=="!",n=n.replace(/!/g,""),t.push(n),r&&r[n]&&(a=r[n]))),a};G.prototype._appendLocaleToChain=function(t,n,r){var a,l=n.split("-");do{var c=l.join("-");a=this._appendItemToChain(t,c,r),l.splice(-1,1)}while(l.length&&a===!0);return a};G.prototype._appendBlockToChain=function(t,n,r){for(var a=!0,l=0;l<n.length&&bI(a);l++){var c=n[l];lt(c)&&(a=this._appendLocaleToChain(t,c,r))}return a};G.prototype._getLocaleChain=function(t,n){if(t==="")return[];this._localeChainCache||(this._localeChainCache={});var r=this._localeChainCache[t];if(!r){n||(n=this.fallbackLocale),r=[];for(var a=[t];In(a);)a=this._appendBlockToChain(r,a,n);var l;In(n)?l=n:rn(n)?n.default?l=n.default:l=null:l=n,lt(l)?a=[l]:a=l,a&&this._appendBlockToChain(r,a,null),this._localeChainCache[t]=r}return r};G.prototype._translate=function(t,n,r,a,l,c,d){for(var v=this._getLocaleChain(n,r),y,_=0;_<v.length;_++){var k=v[_];if(y=this._interpolate(k,t[k],a,l,c,d,[a]),!Lt(y))return y}return null};G.prototype._t=function(t,n,r,a){for(var l,c=[],d=arguments.length-4;d-- >0;)c[d]=arguments[d+4];if(!t)return"";var v=Cl.apply(void 0,c);this._escapeParameterHtml&&(v.params=MI(v.params));var y=v.locale||n,_=this._translate(r,y,this.fallbackLocale,t,a,"string",v.params);if(this._isFallbackRoot(_)){if(!this._root)throw Error("unexpected error");return(l=this._root).$t.apply(l,[t].concat(c))}else return _=this._warnDefault(y,t,_,a,c,"string"),this._postTranslation&&_!==null&&_!==void 0&&(_=this._postTranslation(_,t)),_};G.prototype.t=function(t){for(var n,r=[],a=arguments.length-1;a-- >0;)r[a]=arguments[a+1];return(n=this)._t.apply(n,[t,this.locale,this._getMessages(),null].concat(r))};G.prototype._i=function(t,n,r,a,l){var c=this._translate(r,n,this.fallbackLocale,t,a,"raw",l);if(this._isFallbackRoot(c)){if(!this._root)throw Error("unexpected error");return this._root.$i18n.i(t,n,l)}else return this._warnDefault(n,t,c,a,[l],"raw")};G.prototype.i=function(t,n,r){return t?(lt(n)||(n=this.locale),this._i(t,n,this._getMessages(),null,r)):""};G.prototype._tc=function(t,n,r,a,l){for(var c,d=[],v=arguments.length-5;v-- >0;)d[v]=arguments[v+5];if(!t)return"";l===void 0&&(l=1);var y={count:l,n:l},_=Cl.apply(void 0,d);return _.params=Object.assign(y,_.params),d=_.locale===null?[_.params]:[_.locale,_.params],this.fetchChoice((c=this)._t.apply(c,[t,n,r,a].concat(d)),l)};G.prototype.fetchChoice=function(t,n){if(!t||!lt(t))return null;var r=t.split("|");return n=this.getChoiceIndex(n,r.length),r[n]?r[n].trim():t};G.prototype.tc=function(t,n){for(var r,a=[],l=arguments.length-2;l-- >0;)a[l]=arguments[l+2];return(r=this)._tc.apply(r,[t,this.locale,this._getMessages(),null,n].concat(a))};G.prototype._te=function(t,n,r){for(var a=[],l=arguments.length-3;l-- >0;)a[l]=arguments[l+3];var c=Cl.apply(void 0,a).locale||n;return this._exist(r[c],t)};G.prototype.te=function(t,n){return this._te(t,this.locale,this._getMessages(),n)};G.prototype.getLocaleMessage=function(t){return Ji(this._vm.messages[t]||{})};G.prototype.setLocaleMessage=function(t,n){(this._warnHtmlInMessage==="warn"||this._warnHtmlInMessage==="error")&&this._checkLocaleMessage(t,this._warnHtmlInMessage,n),this._vm.$set(this._vm.messages,t,n)};G.prototype.mergeLocaleMessage=function(t,n){(this._warnHtmlInMessage==="warn"||this._warnHtmlInMessage==="error")&&this._checkLocaleMessage(t,this._warnHtmlInMessage,n),this._vm.$set(this._vm.messages,t,Qr(typeof this._vm.messages[t]<"u"&&Object.keys(this._vm.messages[t]).length?Object.assign({},this._vm.messages[t]):{},n))};G.prototype.getDateTimeFormat=function(t){return Ji(this._vm.dateTimeFormats[t]||{})};G.prototype.setDateTimeFormat=function(t,n){this._vm.$set(this._vm.dateTimeFormats,t,n),this._clearDateTimeFormat(t,n)};G.prototype.mergeDateTimeFormat=function(t,n){this._vm.$set(this._vm.dateTimeFormats,t,Qr(this._vm.dateTimeFormats[t]||{},n)),this._clearDateTimeFormat(t,n)};G.prototype._clearDateTimeFormat=function(t,n){for(var r in n){var a=t+"__"+r;this._dateTimeFormatters.hasOwnProperty(a)&&delete this._dateTimeFormatters[a]}};G.prototype._localizeDateTime=function(t,n,r,a,l,c){for(var d=n,v=a[d],y=this._getLocaleChain(n,r),_=0;_<y.length;_++){var k=d,$=y[_];if(v=a[$],d=$,!(Lt(v)||Lt(v[l])))break}if(Lt(v)||Lt(v[l]))return null;var M=v[l],T;if(c)T=new Intl.DateTimeFormat(d,Object.assign({},M,c));else{var L=d+"__"+l;T=this._dateTimeFormatters[L],T||(T=this._dateTimeFormatters[L]=new Intl.DateTimeFormat(d,M))}return T.format(t)};G.prototype._d=function(t,n,r,a){if(!r){var l=a?new Intl.DateTimeFormat(n,a):new Intl.DateTimeFormat(n);return l.format(t)}var c=this._localizeDateTime(t,n,this.fallbackLocale,this._getDateTimeFormats(),r,a);if(this._isFallbackRoot(c)){if(!this._root)throw Error("unexpected error");return this._root.$i18n.d(t,r,n)}else return c||""};G.prototype.d=function(t){for(var n=[],r=arguments.length-1;r-- >0;)n[r]=arguments[r+1];var a=this.locale,l=null,c=null;return n.length===1?(lt(n[0])?l=n[0]:rn(n[0])&&(n[0].locale&&(a=n[0].locale),n[0].key&&(l=n[0].key)),c=Object.keys(n[0]).reduce(function(d,v){var y;return as(gI,v)?Object.assign({},d,(y={},y[v]=n[0][v],y)):d},null)):n.length===2&&(lt(n[0])&&(l=n[0]),lt(n[1])&&(a=n[1])),this._d(t,a,l,c)};G.prototype.getNumberFormat=function(t){return Ji(this._vm.numberFormats[t]||{})};G.prototype.setNumberFormat=function(t,n){this._vm.$set(this._vm.numberFormats,t,n),this._clearNumberFormat(t,n)};G.prototype.mergeNumberFormat=function(t,n){this._vm.$set(this._vm.numberFormats,t,Qr(this._vm.numberFormats[t]||{},n)),this._clearNumberFormat(t,n)};G.prototype._clearNumberFormat=function(t,n){for(var r in n){var a=t+"__"+r;this._numberFormatters.hasOwnProperty(a)&&delete this._numberFormatters[a]}};G.prototype._getNumberFormatter=function(t,n,r,a,l,c){for(var d=n,v=a[d],y=this._getLocaleChain(n,r),_=0;_<y.length;_++){var k=d,$=y[_];if(v=a[$],d=$,!(Lt(v)||Lt(v[l])))break}if(Lt(v)||Lt(v[l]))return null;var M=v[l],T;if(c)T=new Intl.NumberFormat(d,Object.assign({},M,c));else{var L=d+"__"+l;T=this._numberFormatters[L],T||(T=this._numberFormatters[L]=new Intl.NumberFormat(d,M))}return T};G.prototype._n=function(t,n,r,a){if(!G.availabilities.numberFormat)return"";if(!r){var l=a?new Intl.NumberFormat(n,a):new Intl.NumberFormat(n);return l.format(t)}var c=this._getNumberFormatter(t,n,this.fallbackLocale,this._getNumberFormats(),r,a),d=c&&c.format(t);if(this._isFallbackRoot(d)){if(!this._root)throw Error("unexpected error");return this._root.$i18n.n(t,Object.assign({},{key:r,locale:n},a))}else return d||""};G.prototype.n=function(t){for(var n=[],r=arguments.length-1;r-- >0;)n[r]=arguments[r+1];var a=this.locale,l=null,c=null;return n.length===1?lt(n[0])?l=n[0]:rn(n[0])&&(n[0].locale&&(a=n[0].locale),n[0].key&&(l=n[0].key),c=Object.keys(n[0]).reduce(function(d,v){var y;return as(vb,v)?Object.assign({},d,(y={},y[v]=n[0][v],y)):d},null)):n.length===2&&(lt(n[0])&&(l=n[0]),lt(n[1])&&(a=n[1])),this._n(t,a,l,c)};G.prototype._ntp=function(t,n,r,a){if(!G.availabilities.numberFormat)return[];if(!r){var l=a?new Intl.NumberFormat(n,a):new Intl.NumberFormat(n);return l.formatToParts(t)}var c=this._getNumberFormatter(t,n,this.fallbackLocale,this._getNumberFormats(),r,a),d=c&&c.formatToParts(t);if(this._isFallbackRoot(d)){if(!this._root)throw Error("unexpected error");return this._root.$i18n._ntp(t,n,r,a)}else return d||[]};Object.defineProperties(G.prototype,Fe);var Eu;Object.defineProperty(G,"availabilities",{get:function(){if(!Eu){var t=typeof Intl<"u";Eu={dateTimeFormat:t&&typeof Intl.DateTimeFormat<"u",numberFormat:t&&typeof Intl.NumberFormat<"u"}}return Eu}});G.install=rf;G.version="8.28.2";const Sb=G;ee.use(Sb);Y.locale("de");const Va=new Sb({locale:"de",fallbackLocale:"en"});async function eL(){const e=Object.assign({"/src/lang/de.json":()=>kn(()=>import("./de-90a0c956.js"),[])});for(const t in e){const n=await e[t](),r=t.match(/([A-Za-z0-9-_]+)\./i);if(r&&r.length>1){const a=r[1],l={};for(const c in n)l[c]=n[c];Va.setLocaleMessage(a,l)}}}await eL();/*!
  * vue-router v3.6.5
  * (c) 2022 Evan You
  * @license MIT
  */function on(e,t){for(var n in t)e[n]=t[n];return e}var tL=/[!'()*]/g,nL=function(e){return"%"+e.charCodeAt(0).toString(16)},rL=/%2C/g,Ci=function(e){return encodeURIComponent(e).replace(tL,nL).replace(rL,",")};function Ec(e){try{return decodeURIComponent(e)}catch{}return e}function iL(e,t,n){t===void 0&&(t={});var r=n||aL,a;try{a=r(e||"")}catch{a={}}for(var l in t){var c=t[l];a[l]=Array.isArray(c)?c.map(um):um(c)}return a}var um=function(e){return e==null||typeof e=="object"?e:String(e)};function aL(e){var t={};return e=e.trim().replace(/^(\?|#|&)/,""),e&&e.split("&").forEach(function(n){var r=n.replace(/\+/g," ").split("="),a=Ec(r.shift()),l=r.length>0?Ec(r.join("=")):null;t[a]===void 0?t[a]=l:Array.isArray(t[a])?t[a].push(l):t[a]=[t[a],l]}),t}function sL(e){var t=e?Object.keys(e).map(function(n){var r=e[n];if(r===void 0)return"";if(r===null)return Ci(n);if(Array.isArray(r)){var a=[];return r.forEach(function(l){l!==void 0&&(l===null?a.push(Ci(n)):a.push(Ci(n)+"="+Ci(l)))}),a.join("&")}return Ci(n)+"="+Ci(r)}).filter(function(n){return n.length>0}).join("&"):null;return t?"?"+t:""}var Eo=/\/?$/;function Po(e,t,n,r){var a=r&&r.options.stringifyQuery,l=t.query||{};try{l=Pc(l)}catch{}var c={name:t.name||e&&e.name,meta:e&&e.meta||{},path:t.path||"/",hash:t.hash||"",query:l,params:t.params||{},fullPath:cm(t,a),matched:e?oL(e):[]};return n&&(c.redirectedFrom=cm(n,a)),Object.freeze(c)}function Pc(e){if(Array.isArray(e))return e.map(Pc);if(e&&typeof e=="object"){var t={};for(var n in e)t[n]=Pc(e[n]);return t}else return e}var Lr=Po(null,{path:"/"});function oL(e){for(var t=[];e;)t.unshift(e),e=e.parent;return t}function cm(e,t){var n=e.path,r=e.query;r===void 0&&(r={});var a=e.hash;a===void 0&&(a="");var l=t||sL;return(n||"/")+l(r)+a}function kb(e,t,n){return t===Lr?e===t:t?e.path&&t.path?e.path.replace(Eo,"")===t.path.replace(Eo,"")&&(n||e.hash===t.hash&&Zs(e.query,t.query)):e.name&&t.name?e.name===t.name&&(n||e.hash===t.hash&&Zs(e.query,t.query)&&Zs(e.params,t.params)):!1:!1}function Zs(e,t){if(e===void 0&&(e={}),t===void 0&&(t={}),!e||!t)return e===t;var n=Object.keys(e).sort(),r=Object.keys(t).sort();return n.length!==r.length?!1:n.every(function(a,l){var c=e[a],d=r[l];if(d!==a)return!1;var v=t[a];return c==null||v==null?c===v:typeof c=="object"&&typeof v=="object"?Zs(c,v):String(c)===String(v)})}function lL(e,t){return e.path.replace(Eo,"/").indexOf(t.path.replace(Eo,"/"))===0&&(!t.hash||e.hash===t.hash)&&uL(e.query,t.query)}function uL(e,t){for(var n in t)if(!(n in e))return!1;return!0}function Cb(e){for(var t=0;t<e.matched.length;t++){var n=e.matched[t];for(var r in n.instances){var a=n.instances[r],l=n.enteredCbs[r];if(!(!a||!l)){delete n.enteredCbs[r];for(var c=0;c<l.length;c++)a._isBeingDestroyed||l[c](a)}}}}var cL={name:"RouterView",functional:!0,props:{name:{type:String,default:"default"}},render:function(t,n){var r=n.props,a=n.children,l=n.parent,c=n.data;c.routerView=!0;for(var d=l.$createElement,v=r.name,y=l.$route,_=l._routerViewCache||(l._routerViewCache={}),k=0,$=!1;l&&l._routerRoot!==l;){var M=l.$vnode?l.$vnode.data:{};M.routerView&&k++,M.keepAlive&&l._directInactive&&l._inactive&&($=!0),l=l.$parent}if(c.routerViewDepth=k,$){var T=_[v],L=T&&T.component;return L?(T.configProps&&hm(L,c,T.route,T.configProps),d(L,c,a)):d()}var D=y.matched[k],N=D&&D.components[v];if(!D||!N)return _[v]=null,d();_[v]={component:N},c.registerRouteInstance=function(j,U){var Q=D.instances[v];(U&&Q!==j||!U&&Q===j)&&(D.instances[v]=U)},(c.hook||(c.hook={})).prepatch=function(j,U){D.instances[v]=U.componentInstance},c.hook.init=function(j){j.data.keepAlive&&j.componentInstance&&j.componentInstance!==D.instances[v]&&(D.instances[v]=j.componentInstance),Cb(y)};var z=D.props&&D.props[v];return z&&(on(_[v],{route:y,configProps:z}),hm(N,c,y,z)),d(N,c,a)}};function hm(e,t,n,r){var a=t.props=hL(n,r);if(a){a=t.props=on({},a);var l=t.attrs=t.attrs||{};for(var c in a)(!e.props||!(c in e.props))&&(l[c]=a[c],delete a[c])}}function hL(e,t){switch(typeof t){case"undefined":return;case"object":return t;case"function":return t(e);case"boolean":return t?e.params:void 0}}function $b(e,t,n){var r=e.charAt(0);if(r==="/")return e;if(r==="?"||r==="#")return t+e;var a=t.split("/");(!n||!a[a.length-1])&&a.pop();for(var l=e.replace(/^\//,"").split("/"),c=0;c<l.length;c++){var d=l[c];d===".."?a.pop():d!=="."&&a.push(d)}return a[0]!==""&&a.unshift(""),a.join("/")}function fL(e){var t="",n="",r=e.indexOf("#");r>=0&&(t=e.slice(r),e=e.slice(0,r));var a=e.indexOf("?");return a>=0&&(n=e.slice(a+1),e=e.slice(0,a)),{path:e,query:n,hash:t}}function wr(e){return e.replace(/\/(?:\s*\/)+/g,"/")}var Ro=Array.isArray||function(e){return Object.prototype.toString.call(e)=="[object Array]"},Qi=Ob,dL=sf,pL=yL,mL=Mb,vL=Tb,gL=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"].join("|"),"g");function sf(e,t){for(var n=[],r=0,a=0,l="",c=t&&t.delimiter||"/",d;(d=gL.exec(e))!=null;){var v=d[0],y=d[1],_=d.index;if(l+=e.slice(a,_),a=_+v.length,y){l+=y[1];continue}var k=e[a],$=d[2],M=d[3],T=d[4],L=d[5],D=d[6],N=d[7];l&&(n.push(l),l="");var z=$!=null&&k!=null&&k!==$,j=D==="+"||D==="*",U=D==="?"||D==="*",Q=d[2]||c,ne=T||L;n.push({name:M||r++,prefix:$||"",delimiter:Q,optional:U,repeat:j,partial:z,asterisk:!!N,pattern:ne?xL(ne):N?".*":"[^"+Ks(Q)+"]+?"})}return a<e.length&&(l+=e.substr(a)),l&&n.push(l),n}function yL(e,t){return Mb(sf(e,t),t)}function bL(e){return encodeURI(e).replace(/[\/?#]/g,function(t){return"%"+t.charCodeAt(0).toString(16).toUpperCase()})}function _L(e){return encodeURI(e).replace(/[?#]/g,function(t){return"%"+t.charCodeAt(0).toString(16).toUpperCase()})}function Mb(e,t){for(var n=new Array(e.length),r=0;r<e.length;r++)typeof e[r]=="object"&&(n[r]=new RegExp("^(?:"+e[r].pattern+")$",lf(t)));return function(a,l){for(var c="",d=a||{},v=l||{},y=v.pretty?bL:encodeURIComponent,_=0;_<e.length;_++){var k=e[_];if(typeof k=="string"){c+=k;continue}var $=d[k.name],M;if($==null)if(k.optional){k.partial&&(c+=k.prefix);continue}else throw new TypeError('Expected "'+k.name+'" to be defined');if(Ro($)){if(!k.repeat)throw new TypeError('Expected "'+k.name+'" to not repeat, but received `'+JSON.stringify($)+"`");if($.length===0){if(k.optional)continue;throw new TypeError('Expected "'+k.name+'" to not be empty')}for(var T=0;T<$.length;T++){if(M=y($[T]),!n[_].test(M))throw new TypeError('Expected all "'+k.name+'" to match "'+k.pattern+'", but received `'+JSON.stringify(M)+"`");c+=(T===0?k.prefix:k.delimiter)+M}continue}if(M=k.asterisk?_L($):y($),!n[_].test(M))throw new TypeError('Expected "'+k.name+'" to match "'+k.pattern+'", but received "'+M+'"');c+=k.prefix+M}return c}}function Ks(e){return e.replace(/([.+*?=^!:${}()[\]|\/\\])/g,"\\$1")}function xL(e){return e.replace(/([=!:$\/()])/g,"\\$1")}function of(e,t){return e.keys=t,e}function lf(e){return e&&e.sensitive?"":"i"}function wL(e,t){var n=e.source.match(/\((?!\?)/g);if(n)for(var r=0;r<n.length;r++)t.push({name:r,prefix:null,delimiter:null,optional:!1,repeat:!1,partial:!1,asterisk:!1,pattern:null});return of(e,t)}function SL(e,t,n){for(var r=[],a=0;a<e.length;a++)r.push(Ob(e[a],t,n).source);var l=new RegExp("(?:"+r.join("|")+")",lf(n));return of(l,t)}function kL(e,t,n){return Tb(sf(e,n),t,n)}function Tb(e,t,n){Ro(t)||(n=t||n,t=[]),n=n||{};for(var r=n.strict,a=n.end!==!1,l="",c=0;c<e.length;c++){var d=e[c];if(typeof d=="string")l+=Ks(d);else{var v=Ks(d.prefix),y="(?:"+d.pattern+")";t.push(d),d.repeat&&(y+="(?:"+v+y+")*"),d.optional?d.partial?y=v+"("+y+")?":y="(?:"+v+"("+y+"))?":y=v+"("+y+")",l+=y}}var _=Ks(n.delimiter||"/"),k=l.slice(-_.length)===_;return r||(l=(k?l.slice(0,-_.length):l)+"(?:"+_+"(?=$))?"),a?l+="$":l+=r&&k?"":"(?="+_+"|$)",of(new RegExp("^"+l,lf(n)),t)}function Ob(e,t,n){return Ro(t)||(n=t||n,t=[]),n=n||{},e instanceof RegExp?wL(e,t):Ro(e)?SL(e,t,n):kL(e,t,n)}Qi.parse=dL;Qi.compile=pL;Qi.tokensToFunction=mL;Qi.tokensToRegExp=vL;var fm=Object.create(null);function Xs(e,t,n){t=t||{};try{var r=fm[e]||(fm[e]=Qi.compile(e));return typeof t.pathMatch=="string"&&(t[0]=t.pathMatch),r(t,{pretty:!0})}catch{return""}finally{delete t[0]}}function uf(e,t,n,r){var a=typeof e=="string"?{path:e}:e;if(a._normalized)return a;if(a.name){a=on({},e);var l=a.params;return l&&typeof l=="object"&&(a.params=on({},l)),a}if(!a.path&&a.params&&t){a=on({},a),a._normalized=!0;var c=on(on({},t.params),a.params);if(t.name)a.name=t.name,a.params=c;else if(t.matched.length){var d=t.matched[t.matched.length-1].path;a.path=Xs(d,c,"path "+t.path)}return a}var v=fL(a.path||""),y=t&&t.path||"/",_=v.path?$b(v.path,y,n||a.append):y,k=iL(v.query,a.query,r&&r.options.parseQuery),$=a.hash||v.hash;return $&&$.charAt(0)!=="#"&&($="#"+$),{_normalized:!0,path:_,query:k,hash:$}}var CL=[String,Object],$L=[String,Array],dm=function(){},ML={name:"RouterLink",props:{to:{type:CL,required:!0},tag:{type:String,default:"a"},custom:Boolean,exact:Boolean,exactPath:Boolean,append:Boolean,replace:Boolean,activeClass:String,exactActiveClass:String,ariaCurrentValue:{type:String,default:"page"},event:{type:$L,default:"click"}},render:function(t){var n=this,r=this.$router,a=this.$route,l=r.resolve(this.to,a,this.append),c=l.location,d=l.route,v=l.href,y={},_=r.options.linkActiveClass,k=r.options.linkExactActiveClass,$=_??"router-link-active",M=k??"router-link-exact-active",T=this.activeClass==null?$:this.activeClass,L=this.exactActiveClass==null?M:this.exactActiveClass,D=d.redirectedFrom?Po(null,uf(d.redirectedFrom),null,r):d;y[L]=kb(a,D,this.exactPath),y[T]=this.exact||this.exactPath?y[L]:lL(a,D);var N=y[L]?this.ariaCurrentValue:null,z=function(R){pm(R)&&(n.replace?r.replace(c,dm):r.push(c,dm))},j={click:pm};Array.isArray(this.event)?this.event.forEach(function(R){j[R]=z}):j[this.event]=z;var U={class:y},Q=!this.$scopedSlots.$hasNormal&&this.$scopedSlots.default&&this.$scopedSlots.default({href:v,route:d,navigate:z,isActive:y[T],isExactActive:y[L]});if(Q){if(Q.length===1)return Q[0];if(Q.length>1||!Q.length)return Q.length===0?t():t("span",{},Q)}if(this.tag==="a")U.on=j,U.attrs={href:v,"aria-current":N};else{var ne=Ab(this.$slots.default);if(ne){ne.isStatic=!1;var ce=ne.data=on({},ne.data);ce.on=ce.on||{};for(var Oe in ce.on){var it=ce.on[Oe];Oe in j&&(ce.on[Oe]=Array.isArray(it)?it:[it])}for(var ht in j)ht in ce.on?ce.on[ht].push(j[ht]):ce.on[ht]=z;var ft=ne.data.attrs=on({},ne.data.attrs);ft.href=v,ft["aria-current"]=N}else U.on=j}return t(this.tag,U,this.$slots.default)}};function pm(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){var t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function Ab(e){if(e){for(var t,n=0;n<e.length;n++)if(t=e[n],t.tag==="a"||t.children&&(t=Ab(t.children)))return t}}var Fo;function Rc(e){if(!(Rc.installed&&Fo===e)){Rc.installed=!0,Fo=e;var t=function(a){return a!==void 0},n=function(a,l){var c=a.$options._parentVnode;t(c)&&t(c=c.data)&&t(c=c.registerRouteInstance)&&c(a,l)};e.mixin({beforeCreate:function(){t(this.$options.router)?(this._routerRoot=this,this._router=this.$options.router,this._router.init(this),e.util.defineReactive(this,"_route",this._router.history.current)):this._routerRoot=this.$parent&&this.$parent._routerRoot||this,n(this,this)},destroyed:function(){n(this)}}),Object.defineProperty(e.prototype,"$router",{get:function(){return this._routerRoot._router}}),Object.defineProperty(e.prototype,"$route",{get:function(){return this._routerRoot._route}}),e.component("RouterView",cL),e.component("RouterLink",ML);var r=e.config.optionMergeStrategies;r.beforeRouteEnter=r.beforeRouteLeave=r.beforeRouteUpdate=r.created}}var ss=typeof window<"u";function Is(e,t,n,r,a){var l=t||[],c=n||Object.create(null),d=r||Object.create(null);e.forEach(function(_){Fc(l,c,d,_,a)});for(var v=0,y=l.length;v<y;v++)l[v]==="*"&&(l.push(l.splice(v,1)[0]),y--,v--);return{pathList:l,pathMap:c,nameMap:d}}function Fc(e,t,n,r,a,l){var c=r.path,d=r.name,v=r.pathToRegexpOptions||{},y=OL(c,a,v.strict);typeof r.caseSensitive=="boolean"&&(v.sensitive=r.caseSensitive);var _={path:y,regex:TL(y,v),components:r.components||{default:r.component},alias:r.alias?typeof r.alias=="string"?[r.alias]:r.alias:[],instances:{},enteredCbs:{},name:d,parent:a,matchAs:l,redirect:r.redirect,beforeEnter:r.beforeEnter,meta:r.meta||{},props:r.props==null?{}:r.components?r.props:{default:r.props}};if(r.children&&r.children.forEach(function(L){var D=l?wr(l+"/"+L.path):void 0;Fc(e,t,n,L,_,D)}),t[_.path]||(e.push(_.path),t[_.path]=_),r.alias!==void 0)for(var k=Array.isArray(r.alias)?r.alias:[r.alias],$=0;$<k.length;++$){var M=k[$],T={path:M,children:r.children};Fc(e,t,n,T,a,_.path||"/")}d&&(n[d]||(n[d]=_))}function TL(e,t){var n=Qi(e,[],t);return n}function OL(e,t,n){return n||(e=e.replace(/\/$/,"")),e[0]==="/"||t==null?e:wr(t.path+"/"+e)}function AL(e,t){var n=Is(e),r=n.pathList,a=n.pathMap,l=n.nameMap;function c(M){Is(M,r,a,l)}function d(M,T){var L=typeof M!="object"?l[M]:void 0;Is([T||M],r,a,l,L),L&&L.alias.length&&Is(L.alias.map(function(D){return{path:D,children:[T]}}),r,a,l,L)}function v(){return r.map(function(M){return a[M]})}function y(M,T,L){var D=uf(M,T,!1,t),N=D.name;if(N){var z=l[N];if(!z)return $(null,D);var j=z.regex.keys.filter(function(Oe){return!Oe.optional}).map(function(Oe){return Oe.name});if(typeof D.params!="object"&&(D.params={}),T&&typeof T.params=="object")for(var U in T.params)!(U in D.params)&&j.indexOf(U)>-1&&(D.params[U]=T.params[U]);return D.path=Xs(z.path,D.params),$(z,D,L)}else if(D.path){D.params={};for(var Q=0;Q<r.length;Q++){var ne=r[Q],ce=a[ne];if(DL(ce.regex,D.path,D.params))return $(ce,D,L)}}return $(null,D)}function _(M,T){var L=M.redirect,D=typeof L=="function"?L(Po(M,T,null,t)):L;if(typeof D=="string"&&(D={path:D}),!D||typeof D!="object")return $(null,T);var N=D,z=N.name,j=N.path,U=T.query,Q=T.hash,ne=T.params;if(U=N.hasOwnProperty("query")?N.query:U,Q=N.hasOwnProperty("hash")?N.hash:Q,ne=N.hasOwnProperty("params")?N.params:ne,z)return l[z],y({_normalized:!0,name:z,query:U,hash:Q,params:ne},void 0,T);if(j){var ce=IL(j,M),Oe=Xs(ce,ne);return y({_normalized:!0,path:Oe,query:U,hash:Q},void 0,T)}else return $(null,T)}function k(M,T,L){var D=Xs(L,T.params),N=y({_normalized:!0,path:D});if(N){var z=N.matched,j=z[z.length-1];return T.params=N.params,$(j,T)}return $(null,T)}function $(M,T,L){return M&&M.redirect?_(M,L||T):M&&M.matchAs?k(M,T,M.matchAs):Po(M,T,L,t)}return{match:y,addRoute:d,getRoutes:v,addRoutes:c}}function DL(e,t,n){var r=t.match(e);if(r){if(!n)return!0}else return!1;for(var a=1,l=r.length;a<l;++a){var c=e.keys[a-1];c&&(n[c.name||"pathMatch"]=typeof r[a]=="string"?Ec(r[a]):r[a])}return!0}function IL(e,t){return $b(e,t.parent?t.parent.path:"/",!0)}var LL=ss&&window.performance&&window.performance.now?window.performance:Date;function Db(){return LL.now().toFixed(3)}var Ib=Db();function Ml(){return Ib}function Lb(e){return Ib=e}var Eb=Object.create(null);function Pb(){"scrollRestoration"in window.history&&(window.history.scrollRestoration="manual");var e=window.location.protocol+"//"+window.location.host,t=window.location.href.replace(e,""),n=on({},window.history.state);return n.key=Ml(),window.history.replaceState(n,"",t),window.addEventListener("popstate",mm),function(){window.removeEventListener("popstate",mm)}}function Sr(e,t,n,r){if(e.app){var a=e.options.scrollBehavior;a&&e.app.$nextTick(function(){var l=EL(),c=a.call(e,t,n,r?l:null);c&&(typeof c.then=="function"?c.then(function(d){ym(d,l)}).catch(function(d){}):ym(c,l))})}}function Rb(){var e=Ml();e&&(Eb[e]={x:window.pageXOffset,y:window.pageYOffset})}function mm(e){Rb(),e.state&&e.state.key&&Lb(e.state.key)}function EL(){var e=Ml();if(e)return Eb[e]}function PL(e,t){var n=document.documentElement,r=n.getBoundingClientRect(),a=e.getBoundingClientRect();return{x:a.left-r.left-t.x,y:a.top-r.top-t.y}}function vm(e){return Hi(e.x)||Hi(e.y)}function gm(e){return{x:Hi(e.x)?e.x:window.pageXOffset,y:Hi(e.y)?e.y:window.pageYOffset}}function RL(e){return{x:Hi(e.x)?e.x:0,y:Hi(e.y)?e.y:0}}function Hi(e){return typeof e=="number"}var FL=/^#\d/;function ym(e,t){var n=typeof e=="object";if(n&&typeof e.selector=="string"){var r=FL.test(e.selector)?document.getElementById(e.selector.slice(1)):document.querySelector(e.selector);if(r){var a=e.offset&&typeof e.offset=="object"?e.offset:{};a=RL(a),t=PL(r,a)}else vm(e)&&(t=gm(e))}else n&&vm(e)&&(t=gm(e));t&&("scrollBehavior"in document.documentElement.style?window.scrollTo({left:t.x,top:t.y,behavior:e.behavior}):window.scrollTo(t.x,t.y))}var kr=ss&&function(){var e=window.navigator.userAgent;return(e.indexOf("Android 2.")!==-1||e.indexOf("Android 4.0")!==-1)&&e.indexOf("Mobile Safari")!==-1&&e.indexOf("Chrome")===-1&&e.indexOf("Windows Phone")===-1?!1:window.history&&typeof window.history.pushState=="function"}();function No(e,t){Rb();var n=window.history;try{if(t){var r=on({},n.state);r.key=Ml(),n.replaceState(r,"",e)}else n.pushState({key:Lb(Db())},"",e)}catch{window.location[t?"replace":"assign"](e)}}function Nc(e){No(e,!0)}var fi={redirected:2,aborted:4,cancelled:8,duplicated:16};function NL(e,t){return Tl(e,t,fi.redirected,'Redirected when going from "'+e.fullPath+'" to "'+WL(t)+'" via a navigation guard.')}function BL(e,t){var n=Tl(e,t,fi.duplicated,'Avoided redundant navigation to current location: "'+e.fullPath+'".');return n.name="NavigationDuplicated",n}function bm(e,t){return Tl(e,t,fi.cancelled,'Navigation cancelled from "'+e.fullPath+'" to "'+t.fullPath+'" with a new navigation.')}function zL(e,t){return Tl(e,t,fi.aborted,'Navigation aborted from "'+e.fullPath+'" to "'+t.fullPath+'" via a navigation guard.')}function Tl(e,t,n,r){var a=new Error(r);return a._isRouter=!0,a.from=e,a.to=t,a.type=n,a}var HL=["params","query","hash"];function WL(e){if(typeof e=="string")return e;if("path"in e)return e.path;var t={};return HL.forEach(function(n){n in e&&(t[n]=e[n])}),JSON.stringify(t,null,2)}function Bo(e){return Object.prototype.toString.call(e).indexOf("Error")>-1}function Ol(e,t){return Bo(e)&&e._isRouter&&(t==null||e.type===t)}function _m(e,t,n){var r=function(a){a>=e.length?n():e[a]?t(e[a],function(){r(a+1)}):r(a+1)};r(0)}function VL(e){return function(t,n,r){var a=!1,l=0,c=null;Fb(e,function(d,v,y,_){if(typeof d=="function"&&d.cid===void 0){a=!0,l++;var k=xm(function(L){UL(L)&&(L=L.default),d.resolved=typeof L=="function"?L:Fo.extend(L),y.components[_]=L,l--,l<=0&&r()}),$=xm(function(L){var D="Failed to resolve async component "+_+": "+L;c||(c=Bo(L)?L:new Error(D),r(c))}),M;try{M=d(k,$)}catch(L){$(L)}if(M)if(typeof M.then=="function")M.then(k,$);else{var T=M.component;T&&typeof T.then=="function"&&T.then(k,$)}}}),a||r()}}function Fb(e,t){return Nb(e.map(function(n){return Object.keys(n.components).map(function(r){return t(n.components[r],n.instances[r],n,r)})}))}function Nb(e){return Array.prototype.concat.apply([],e)}var jL=typeof Symbol=="function"&&typeof Symbol.toStringTag=="symbol";function UL(e){return e.__esModule||jL&&e[Symbol.toStringTag]==="Module"}function xm(e){var t=!1;return function(){for(var n=[],r=arguments.length;r--;)n[r]=arguments[r];if(!t)return t=!0,e.apply(this,n)}}var _n=function(t,n){this.router=t,this.base=YL(n),this.current=Lr,this.pending=null,this.ready=!1,this.readyCbs=[],this.readyErrorCbs=[],this.errorCbs=[],this.listeners=[]};_n.prototype.listen=function(t){this.cb=t};_n.prototype.onReady=function(t,n){this.ready?t():(this.readyCbs.push(t),n&&this.readyErrorCbs.push(n))};_n.prototype.onError=function(t){this.errorCbs.push(t)};_n.prototype.transitionTo=function(t,n,r){var a=this,l;try{l=this.router.match(t,this.current)}catch(d){throw this.errorCbs.forEach(function(v){v(d)}),d}var c=this.current;this.confirmTransition(l,function(){a.updateRoute(l),n&&n(l),a.ensureURL(),a.router.afterHooks.forEach(function(d){d&&d(l,c)}),a.ready||(a.ready=!0,a.readyCbs.forEach(function(d){d(l)}))},function(d){r&&r(d),d&&!a.ready&&(!Ol(d,fi.redirected)||c!==Lr)&&(a.ready=!0,a.readyErrorCbs.forEach(function(v){v(d)}))})};_n.prototype.confirmTransition=function(t,n,r){var a=this,l=this.current;this.pending=t;var c=function(L){!Ol(L)&&Bo(L)&&(a.errorCbs.length?a.errorCbs.forEach(function(D){D(L)}):console.error(L)),r&&r(L)},d=t.matched.length-1,v=l.matched.length-1;if(kb(t,l)&&d===v&&t.matched[d]===l.matched[v])return this.ensureURL(),t.hash&&Sr(this.router,l,t,!1),c(BL(l,t));var y=qL(this.current.matched,t.matched),_=y.updated,k=y.deactivated,$=y.activated,M=[].concat(ZL(k),this.router.beforeHooks,KL(_),$.map(function(L){return L.beforeEnter}),VL($)),T=function(L,D){if(a.pending!==t)return c(bm(l,t));try{L(t,l,function(N){N===!1?(a.ensureURL(!0),c(zL(l,t))):Bo(N)?(a.ensureURL(!0),c(N)):typeof N=="string"||typeof N=="object"&&(typeof N.path=="string"||typeof N.name=="string")?(c(NL(l,t)),typeof N=="object"&&N.replace?a.replace(N):a.push(N)):D(N)})}catch(N){c(N)}};_m(M,T,function(){var L=XL($),D=L.concat(a.router.resolveHooks);_m(D,T,function(){if(a.pending!==t)return c(bm(l,t));a.pending=null,n(t),a.router.app&&a.router.app.$nextTick(function(){Cb(t)})})})};_n.prototype.updateRoute=function(t){this.current=t,this.cb&&this.cb(t)};_n.prototype.setupListeners=function(){};_n.prototype.teardown=function(){this.listeners.forEach(function(t){t()}),this.listeners=[],this.current=Lr,this.pending=null};function YL(e){if(!e)if(ss){var t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^https?:\/\/[^\/]+/,"")}else e="/";return e.charAt(0)!=="/"&&(e="/"+e),e.replace(/\/$/,"")}function qL(e,t){var n,r=Math.max(e.length,t.length);for(n=0;n<r&&e[n]===t[n];n++);return{updated:t.slice(0,n),activated:t.slice(n),deactivated:e.slice(n)}}function cf(e,t,n,r){var a=Fb(e,function(l,c,d,v){var y=GL(l,t);if(y)return Array.isArray(y)?y.map(function(_){return n(_,c,d,v)}):n(y,c,d,v)});return Nb(r?a.reverse():a)}function GL(e,t){return typeof e!="function"&&(e=Fo.extend(e)),e.options[t]}function ZL(e){return cf(e,"beforeRouteLeave",Bb,!0)}function KL(e){return cf(e,"beforeRouteUpdate",Bb)}function Bb(e,t){if(t)return function(){return e.apply(t,arguments)}}function XL(e){return cf(e,"beforeRouteEnter",function(t,n,r,a){return JL(t,r,a)})}function JL(e,t,n){return function(a,l,c){return e(a,l,function(d){typeof d=="function"&&(t.enteredCbs[n]||(t.enteredCbs[n]=[]),t.enteredCbs[n].push(d)),c(d)})}}var zb=function(e){function t(n,r){e.call(this,n,r),this._startLocation=ya(this.base)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.setupListeners=function(){var r=this;if(!(this.listeners.length>0)){var a=this.router,l=a.options.scrollBehavior,c=kr&&l;c&&this.listeners.push(Pb());var d=function(){var v=r.current,y=ya(r.base);r.current===Lr&&y===r._startLocation||r.transitionTo(y,function(_){c&&Sr(a,_,v,!0)})};window.addEventListener("popstate",d),this.listeners.push(function(){window.removeEventListener("popstate",d)})}},t.prototype.go=function(r){window.history.go(r)},t.prototype.push=function(r,a,l){var c=this,d=this,v=d.current;this.transitionTo(r,function(y){No(wr(c.base+y.fullPath)),Sr(c.router,y,v,!1),a&&a(y)},l)},t.prototype.replace=function(r,a,l){var c=this,d=this,v=d.current;this.transitionTo(r,function(y){Nc(wr(c.base+y.fullPath)),Sr(c.router,y,v,!1),a&&a(y)},l)},t.prototype.ensureURL=function(r){if(ya(this.base)!==this.current.fullPath){var a=wr(this.base+this.current.fullPath);r?No(a):Nc(a)}},t.prototype.getCurrentLocation=function(){return ya(this.base)},t}(_n);function ya(e){var t=window.location.pathname,n=t.toLowerCase(),r=e.toLowerCase();return e&&(n===r||n.indexOf(wr(r+"/"))===0)&&(t=t.slice(e.length)),(t||"/")+window.location.search+window.location.hash}var Hb=function(e){function t(n,r,a){e.call(this,n,r),!(a&&QL(this.base))&&wm()}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.setupListeners=function(){var r=this;if(!(this.listeners.length>0)){var a=this.router,l=a.options.scrollBehavior,c=kr&&l;c&&this.listeners.push(Pb());var d=function(){var y=r.current;wm()&&r.transitionTo(Js(),function(_){c&&Sr(r.router,_,y,!0),kr||Qs(_.fullPath)})},v=kr?"popstate":"hashchange";window.addEventListener(v,d),this.listeners.push(function(){window.removeEventListener(v,d)})}},t.prototype.push=function(r,a,l){var c=this,d=this,v=d.current;this.transitionTo(r,function(y){Sm(y.fullPath),Sr(c.router,y,v,!1),a&&a(y)},l)},t.prototype.replace=function(r,a,l){var c=this,d=this,v=d.current;this.transitionTo(r,function(y){Qs(y.fullPath),Sr(c.router,y,v,!1),a&&a(y)},l)},t.prototype.go=function(r){window.history.go(r)},t.prototype.ensureURL=function(r){var a=this.current.fullPath;Js()!==a&&(r?Sm(a):Qs(a))},t.prototype.getCurrentLocation=function(){return Js()},t}(_n);function QL(e){var t=ya(e);if(!/^\/#/.test(t))return window.location.replace(wr(e+"/#"+t)),!0}function wm(){var e=Js();return e.charAt(0)==="/"?!0:(Qs("/"+e),!1)}function Js(){var e=window.location.href,t=e.indexOf("#");return t<0?"":(e=e.slice(t+1),e)}function Bc(e){var t=window.location.href,n=t.indexOf("#"),r=n>=0?t.slice(0,n):t;return r+"#"+e}function Sm(e){kr?No(Bc(e)):window.location.hash=e}function Qs(e){kr?Nc(Bc(e)):window.location.replace(Bc(e))}var eE=function(e){function t(n,r){e.call(this,n,r),this.stack=[],this.index=-1}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.push=function(r,a,l){var c=this;this.transitionTo(r,function(d){c.stack=c.stack.slice(0,c.index+1).concat(d),c.index++,a&&a(d)},l)},t.prototype.replace=function(r,a,l){var c=this;this.transitionTo(r,function(d){c.stack=c.stack.slice(0,c.index).concat(d),a&&a(d)},l)},t.prototype.go=function(r){var a=this,l=this.index+r;if(!(l<0||l>=this.stack.length)){var c=this.stack[l];this.confirmTransition(c,function(){var d=a.current;a.index=l,a.updateRoute(c),a.router.afterHooks.forEach(function(v){v&&v(c,d)})},function(d){Ol(d,fi.duplicated)&&(a.index=l)})}},t.prototype.getCurrentLocation=function(){var r=this.stack[this.stack.length-1];return r?r.fullPath:"/"},t.prototype.ensureURL=function(){},t}(_n),je=function(t){t===void 0&&(t={}),this.app=null,this.apps=[],this.options=t,this.beforeHooks=[],this.resolveHooks=[],this.afterHooks=[],this.matcher=AL(t.routes||[],this);var n=t.mode||"hash";switch(this.fallback=n==="history"&&!kr&&t.fallback!==!1,this.fallback&&(n="hash"),ss||(n="abstract"),this.mode=n,n){case"history":this.history=new zb(this,t.base);break;case"hash":this.history=new Hb(this,t.base,this.fallback);break;case"abstract":this.history=new eE(this,t.base);break}},Wb={currentRoute:{configurable:!0}};je.prototype.match=function(t,n,r){return this.matcher.match(t,n,r)};Wb.currentRoute.get=function(){return this.history&&this.history.current};je.prototype.init=function(t){var n=this;if(this.apps.push(t),t.$once("hook:destroyed",function(){var c=n.apps.indexOf(t);c>-1&&n.apps.splice(c,1),n.app===t&&(n.app=n.apps[0]||null),n.app||n.history.teardown()}),!this.app){this.app=t;var r=this.history;if(r instanceof zb||r instanceof Hb){var a=function(c){var d=r.current,v=n.options.scrollBehavior,y=kr&&v;y&&"fullPath"in c&&Sr(n,c,d,!1)},l=function(c){r.setupListeners(),a(c)};r.transitionTo(r.getCurrentLocation(),l,l)}r.listen(function(c){n.apps.forEach(function(d){d._route=c})})}};je.prototype.beforeEach=function(t){return hf(this.beforeHooks,t)};je.prototype.beforeResolve=function(t){return hf(this.resolveHooks,t)};je.prototype.afterEach=function(t){return hf(this.afterHooks,t)};je.prototype.onReady=function(t,n){this.history.onReady(t,n)};je.prototype.onError=function(t){this.history.onError(t)};je.prototype.push=function(t,n,r){var a=this;if(!n&&!r&&typeof Promise<"u")return new Promise(function(l,c){a.history.push(t,l,c)});this.history.push(t,n,r)};je.prototype.replace=function(t,n,r){var a=this;if(!n&&!r&&typeof Promise<"u")return new Promise(function(l,c){a.history.replace(t,l,c)});this.history.replace(t,n,r)};je.prototype.go=function(t){this.history.go(t)};je.prototype.back=function(){this.go(-1)};je.prototype.forward=function(){this.go(1)};je.prototype.getMatchedComponents=function(t){var n=t?t.matched?t:this.resolve(t).route:this.currentRoute;return n?[].concat.apply([],n.matched.map(function(r){return Object.keys(r.components).map(function(a){return r.components[a]})})):[]};je.prototype.resolve=function(t,n,r){n=n||this.history.current;var a=uf(t,n,r,this),l=this.match(a,n),c=l.redirectedFrom||l.fullPath,d=this.history.base,v=tE(d,c,this.mode);return{location:a,route:l,href:v,normalizedTo:a,resolved:l}};je.prototype.getRoutes=function(){return this.matcher.getRoutes()};je.prototype.addRoute=function(t,n){this.matcher.addRoute(t,n),this.history.current!==Lr&&this.history.transitionTo(this.history.getCurrentLocation())};je.prototype.addRoutes=function(t){this.matcher.addRoutes(t),this.history.current!==Lr&&this.history.transitionTo(this.history.getCurrentLocation())};Object.defineProperties(je.prototype,Wb);var Vb=je;function hf(e,t){return e.push(t),function(){var n=e.indexOf(t);n>-1&&e.splice(n,1)}}function tE(e,t,n){var r=n==="hash"?"#"+t:t;return e?wr(e+"/"+r):r}je.install=Rc;je.version="3.6.5";je.isNavigationFailure=Ol;je.NavigationFailureType=fi;je.START_LOCATION=Lr;ss&&window.Vue&&window.Vue.use(je);function jb(e,t){if(t){var n=this.$data._chart,r=e.datasets.map(function(d){return d.label}),a=t.datasets.map(function(d){return d.label}),l=JSON.stringify(a),c=JSON.stringify(r);c===l&&t.datasets.length===e.datasets.length?(e.datasets.forEach(function(d,v){var y=Object.keys(t.datasets[v]),_=Object.keys(d),k=y.filter(function(M){return M!=="_meta"&&_.indexOf(M)===-1});k.forEach(function(M){delete n.data.datasets[v][M]});for(var $ in d)d.hasOwnProperty($)&&(n.data.datasets[v][$]=d[$])}),e.hasOwnProperty("labels")&&(n.data.labels=e.labels,this.$emit("labels:update")),e.hasOwnProperty("xLabels")&&(n.data.xLabels=e.xLabels,this.$emit("xlabels:update")),e.hasOwnProperty("yLabels")&&(n.data.yLabels=e.yLabels,this.$emit("ylabels:update")),n.update(),this.$emit("chart:update")):(n&&(n.destroy(),this.$emit("chart:destroy")),this.renderChart(this.chartData,this.options),this.$emit("chart:render"))}else this.$data._chart&&(this.$data._chart.destroy(),this.$emit("chart:destroy")),this.renderChart(this.chartData,this.options),this.$emit("chart:render")}var nE={data:function(){return{chartData:null}},watch:{chartData:jb}},rE={props:{chartData:{type:Object,required:!0,default:function(){}}},watch:{chartData:jb}};const iE={reactiveData:nE,reactiveProp:rE};var aE=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function sE(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function oE(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var n=function r(){return this instanceof r?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(r){var a=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(n,r,a.get?a:{enumerable:!0,get:function(){return e[r]}})}),n}var Ub={exports:{}};const lE=oE(vI);/*!
 * Chart.js v2.9.4
 * https://www.chartjs.org
 * (c) 2020 Chart.js Contributors
 * Released under the MIT License
 */(function(e,t){(function(n,r){e.exports=r(function(){try{return lE}catch{}}())})(aE,function(n){n=n&&n.hasOwnProperty("default")?n.default:n;function r(i,s){return s={exports:{}},i(s,s.exports),s.exports}function a(i){return i&&i.default||i}var l={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]},c=r(function(i){var s={};for(var o in l)l.hasOwnProperty(o)&&(s[l[o]]=o);var u=i.exports={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};for(var h in u)if(u.hasOwnProperty(h)){if(!("channels"in u[h]))throw new Error("missing channels property: "+h);if(!("labels"in u[h]))throw new Error("missing channel labels property: "+h);if(u[h].labels.length!==u[h].channels)throw new Error("channel and label counts mismatch: "+h);var f=u[h].channels,p=u[h].labels;delete u[h].channels,delete u[h].labels,Object.defineProperty(u[h],"channels",{value:f}),Object.defineProperty(u[h],"labels",{value:p})}u.rgb.hsl=function(m){var b=m[0]/255,x=m[1]/255,w=m[2]/255,C=Math.min(b,x,w),O=Math.max(b,x,w),A=O-C,I,E,H;return O===C?I=0:b===O?I=(x-w)/A:x===O?I=2+(w-b)/A:w===O&&(I=4+(b-x)/A),I=Math.min(I*60,360),I<0&&(I+=360),H=(C+O)/2,O===C?E=0:H<=.5?E=A/(O+C):E=A/(2-O-C),[I,E*100,H*100]},u.rgb.hsv=function(m){var b,x,w,C,O,A=m[0]/255,I=m[1]/255,E=m[2]/255,H=Math.max(A,I,E),q=H-Math.min(A,I,E),J=function(ge){return(H-ge)/6/q+1/2};return q===0?C=O=0:(O=q/H,b=J(A),x=J(I),w=J(E),A===H?C=w-x:I===H?C=1/3+b-w:E===H&&(C=2/3+x-b),C<0?C+=1:C>1&&(C-=1)),[C*360,O*100,H*100]},u.rgb.hwb=function(m){var b=m[0],x=m[1],w=m[2],C=u.rgb.hsl(m)[0],O=1/255*Math.min(b,Math.min(x,w));return w=1-1/255*Math.max(b,Math.max(x,w)),[C,O*100,w*100]},u.rgb.cmyk=function(m){var b=m[0]/255,x=m[1]/255,w=m[2]/255,C,O,A,I;return I=Math.min(1-b,1-x,1-w),C=(1-b-I)/(1-I)||0,O=(1-x-I)/(1-I)||0,A=(1-w-I)/(1-I)||0,[C*100,O*100,A*100,I*100]};function g(m,b){return Math.pow(m[0]-b[0],2)+Math.pow(m[1]-b[1],2)+Math.pow(m[2]-b[2],2)}u.rgb.keyword=function(m){var b=s[m];if(b)return b;var x=1/0,w;for(var C in l)if(l.hasOwnProperty(C)){var O=l[C],A=g(m,O);A<x&&(x=A,w=C)}return w},u.keyword.rgb=function(m){return l[m]},u.rgb.xyz=function(m){var b=m[0]/255,x=m[1]/255,w=m[2]/255;b=b>.04045?Math.pow((b+.055)/1.055,2.4):b/12.92,x=x>.04045?Math.pow((x+.055)/1.055,2.4):x/12.92,w=w>.04045?Math.pow((w+.055)/1.055,2.4):w/12.92;var C=b*.4124+x*.3576+w*.1805,O=b*.2126+x*.7152+w*.0722,A=b*.0193+x*.1192+w*.9505;return[C*100,O*100,A*100]},u.rgb.lab=function(m){var b=u.rgb.xyz(m),x=b[0],w=b[1],C=b[2],O,A,I;return x/=95.047,w/=100,C/=108.883,x=x>.008856?Math.pow(x,1/3):7.787*x+16/116,w=w>.008856?Math.pow(w,1/3):7.787*w+16/116,C=C>.008856?Math.pow(C,1/3):7.787*C+16/116,O=116*w-16,A=500*(x-w),I=200*(w-C),[O,A,I]},u.hsl.rgb=function(m){var b=m[0]/360,x=m[1]/100,w=m[2]/100,C,O,A,I,E;if(x===0)return E=w*255,[E,E,E];w<.5?O=w*(1+x):O=w+x-w*x,C=2*w-O,I=[0,0,0];for(var H=0;H<3;H++)A=b+1/3*-(H-1),A<0&&A++,A>1&&A--,6*A<1?E=C+(O-C)*6*A:2*A<1?E=O:3*A<2?E=C+(O-C)*(2/3-A)*6:E=C,I[H]=E*255;return I},u.hsl.hsv=function(m){var b=m[0],x=m[1]/100,w=m[2]/100,C=x,O=Math.max(w,.01),A,I;return w*=2,x*=w<=1?w:2-w,C*=O<=1?O:2-O,I=(w+x)/2,A=w===0?2*C/(O+C):2*x/(w+x),[b,A*100,I*100]},u.hsv.rgb=function(m){var b=m[0]/60,x=m[1]/100,w=m[2]/100,C=Math.floor(b)%6,O=b-Math.floor(b),A=255*w*(1-x),I=255*w*(1-x*O),E=255*w*(1-x*(1-O));switch(w*=255,C){case 0:return[w,E,A];case 1:return[I,w,A];case 2:return[A,w,E];case 3:return[A,I,w];case 4:return[E,A,w];case 5:return[w,A,I]}},u.hsv.hsl=function(m){var b=m[0],x=m[1]/100,w=m[2]/100,C=Math.max(w,.01),O,A,I;return I=(2-x)*w,O=(2-x)*C,A=x*C,A/=O<=1?O:2-O,A=A||0,I/=2,[b,A*100,I*100]},u.hwb.rgb=function(m){var b=m[0]/360,x=m[1]/100,w=m[2]/100,C=x+w,O,A,I,E;C>1&&(x/=C,w/=C),O=Math.floor(6*b),A=1-w,I=6*b-O,O&1&&(I=1-I),E=x+I*(A-x);var H,q,J;switch(O){default:case 6:case 0:H=A,q=E,J=x;break;case 1:H=E,q=A,J=x;break;case 2:H=x,q=A,J=E;break;case 3:H=x,q=E,J=A;break;case 4:H=E,q=x,J=A;break;case 5:H=A,q=x,J=E;break}return[H*255,q*255,J*255]},u.cmyk.rgb=function(m){var b=m[0]/100,x=m[1]/100,w=m[2]/100,C=m[3]/100,O,A,I;return O=1-Math.min(1,b*(1-C)+C),A=1-Math.min(1,x*(1-C)+C),I=1-Math.min(1,w*(1-C)+C),[O*255,A*255,I*255]},u.xyz.rgb=function(m){var b=m[0]/100,x=m[1]/100,w=m[2]/100,C,O,A;return C=b*3.2406+x*-1.5372+w*-.4986,O=b*-.9689+x*1.8758+w*.0415,A=b*.0557+x*-.204+w*1.057,C=C>.0031308?1.055*Math.pow(C,1/2.4)-.055:C*12.92,O=O>.0031308?1.055*Math.pow(O,1/2.4)-.055:O*12.92,A=A>.0031308?1.055*Math.pow(A,1/2.4)-.055:A*12.92,C=Math.min(Math.max(0,C),1),O=Math.min(Math.max(0,O),1),A=Math.min(Math.max(0,A),1),[C*255,O*255,A*255]},u.xyz.lab=function(m){var b=m[0],x=m[1],w=m[2],C,O,A;return b/=95.047,x/=100,w/=108.883,b=b>.008856?Math.pow(b,1/3):7.787*b+16/116,x=x>.008856?Math.pow(x,1/3):7.787*x+16/116,w=w>.008856?Math.pow(w,1/3):7.787*w+16/116,C=116*x-16,O=500*(b-x),A=200*(x-w),[C,O,A]},u.lab.xyz=function(m){var b=m[0],x=m[1],w=m[2],C,O,A;O=(b+16)/116,C=x/500+O,A=O-w/200;var I=Math.pow(O,3),E=Math.pow(C,3),H=Math.pow(A,3);return O=I>.008856?I:(O-16/116)/7.787,C=E>.008856?E:(C-16/116)/7.787,A=H>.008856?H:(A-16/116)/7.787,C*=95.047,O*=100,A*=108.883,[C,O,A]},u.lab.lch=function(m){var b=m[0],x=m[1],w=m[2],C,O,A;return C=Math.atan2(w,x),O=C*360/2/Math.PI,O<0&&(O+=360),A=Math.sqrt(x*x+w*w),[b,A,O]},u.lch.lab=function(m){var b=m[0],x=m[1],w=m[2],C,O,A;return A=w/360*2*Math.PI,C=x*Math.cos(A),O=x*Math.sin(A),[b,C,O]},u.rgb.ansi16=function(m){var b=m[0],x=m[1],w=m[2],C=1 in arguments?arguments[1]:u.rgb.hsv(m)[2];if(C=Math.round(C/50),C===0)return 30;var O=30+(Math.round(w/255)<<2|Math.round(x/255)<<1|Math.round(b/255));return C===2&&(O+=60),O},u.hsv.ansi16=function(m){return u.rgb.ansi16(u.hsv.rgb(m),m[2])},u.rgb.ansi256=function(m){var b=m[0],x=m[1],w=m[2];if(b===x&&x===w)return b<8?16:b>248?231:Math.round((b-8)/247*24)+232;var C=16+36*Math.round(b/255*5)+6*Math.round(x/255*5)+Math.round(w/255*5);return C},u.ansi16.rgb=function(m){var b=m%10;if(b===0||b===7)return m>50&&(b+=3.5),b=b/10.5*255,[b,b,b];var x=(~~(m>50)+1)*.5,w=(b&1)*x*255,C=(b>>1&1)*x*255,O=(b>>2&1)*x*255;return[w,C,O]},u.ansi256.rgb=function(m){if(m>=232){var b=(m-232)*10+8;return[b,b,b]}m-=16;var x,w=Math.floor(m/36)/5*255,C=Math.floor((x=m%36)/6)/5*255,O=x%6/5*255;return[w,C,O]},u.rgb.hex=function(m){var b=((Math.round(m[0])&255)<<16)+((Math.round(m[1])&255)<<8)+(Math.round(m[2])&255),x=b.toString(16).toUpperCase();return"000000".substring(x.length)+x},u.hex.rgb=function(m){var b=m.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!b)return[0,0,0];var x=b[0];b[0].length===3&&(x=x.split("").map(function(I){return I+I}).join(""));var w=parseInt(x,16),C=w>>16&255,O=w>>8&255,A=w&255;return[C,O,A]},u.rgb.hcg=function(m){var b=m[0]/255,x=m[1]/255,w=m[2]/255,C=Math.max(Math.max(b,x),w),O=Math.min(Math.min(b,x),w),A=C-O,I,E;return A<1?I=O/(1-A):I=0,A<=0?E=0:C===b?E=(x-w)/A%6:C===x?E=2+(w-b)/A:E=4+(b-x)/A+4,E/=6,E%=1,[E*360,A*100,I*100]},u.hsl.hcg=function(m){var b=m[1]/100,x=m[2]/100,w=1,C=0;return x<.5?w=2*b*x:w=2*b*(1-x),w<1&&(C=(x-.5*w)/(1-w)),[m[0],w*100,C*100]},u.hsv.hcg=function(m){var b=m[1]/100,x=m[2]/100,w=b*x,C=0;return w<1&&(C=(x-w)/(1-w)),[m[0],w*100,C*100]},u.hcg.rgb=function(m){var b=m[0]/360,x=m[1]/100,w=m[2]/100;if(x===0)return[w*255,w*255,w*255];var C=[0,0,0],O=b%1*6,A=O%1,I=1-A,E=0;switch(Math.floor(O)){case 0:C[0]=1,C[1]=A,C[2]=0;break;case 1:C[0]=I,C[1]=1,C[2]=0;break;case 2:C[0]=0,C[1]=1,C[2]=A;break;case 3:C[0]=0,C[1]=I,C[2]=1;break;case 4:C[0]=A,C[1]=0,C[2]=1;break;default:C[0]=1,C[1]=0,C[2]=I}return E=(1-x)*w,[(x*C[0]+E)*255,(x*C[1]+E)*255,(x*C[2]+E)*255]},u.hcg.hsv=function(m){var b=m[1]/100,x=m[2]/100,w=b+x*(1-b),C=0;return w>0&&(C=b/w),[m[0],C*100,w*100]},u.hcg.hsl=function(m){var b=m[1]/100,x=m[2]/100,w=x*(1-b)+.5*b,C=0;return w>0&&w<.5?C=b/(2*w):w>=.5&&w<1&&(C=b/(2*(1-w))),[m[0],C*100,w*100]},u.hcg.hwb=function(m){var b=m[1]/100,x=m[2]/100,w=b+x*(1-b);return[m[0],(w-b)*100,(1-w)*100]},u.hwb.hcg=function(m){var b=m[1]/100,x=m[2]/100,w=1-x,C=w-b,O=0;return C<1&&(O=(w-C)/(1-C)),[m[0],C*100,O*100]},u.apple.rgb=function(m){return[m[0]/65535*255,m[1]/65535*255,m[2]/65535*255]},u.rgb.apple=function(m){return[m[0]/255*65535,m[1]/255*65535,m[2]/255*65535]},u.gray.rgb=function(m){return[m[0]/100*255,m[0]/100*255,m[0]/100*255]},u.gray.hsl=u.gray.hsv=function(m){return[0,0,m[0]]},u.gray.hwb=function(m){return[0,100,m[0]]},u.gray.cmyk=function(m){return[0,0,0,m[0]]},u.gray.lab=function(m){return[m[0],0,0]},u.gray.hex=function(m){var b=Math.round(m[0]/100*255)&255,x=(b<<16)+(b<<8)+b,w=x.toString(16).toUpperCase();return"000000".substring(w.length)+w},u.rgb.gray=function(m){var b=(m[0]+m[1]+m[2])/3;return[b/255*100]}});c.rgb,c.hsl,c.hsv,c.hwb,c.cmyk,c.xyz,c.lab,c.lch,c.hex,c.keyword,c.ansi16,c.ansi256,c.hcg,c.apple,c.gray;function d(){for(var i={},s=Object.keys(c),o=s.length,u=0;u<o;u++)i[s[u]]={distance:-1,parent:null};return i}function v(i){var s=d(),o=[i];for(s[i].distance=0;o.length;)for(var u=o.pop(),h=Object.keys(c[u]),f=h.length,p=0;p<f;p++){var g=h[p],m=s[g];m.distance===-1&&(m.distance=s[u].distance+1,m.parent=u,o.unshift(g))}return s}function y(i,s){return function(o){return s(i(o))}}function _(i,s){for(var o=[s[i].parent,i],u=c[s[i].parent][i],h=s[i].parent;s[h].parent;)o.unshift(s[h].parent),u=y(c[s[h].parent][h],u),h=s[h].parent;return u.conversion=o,u}var k=function(i){for(var s=v(i),o={},u=Object.keys(s),h=u.length,f=0;f<h;f++){var p=u[f],g=s[p];g.parent!==null&&(o[p]=_(p,s))}return o},$={},M=Object.keys(c);function T(i){var s=function(o){return o==null?o:(arguments.length>1&&(o=Array.prototype.slice.call(arguments)),i(o))};return"conversion"in i&&(s.conversion=i.conversion),s}function L(i){var s=function(o){if(o==null)return o;arguments.length>1&&(o=Array.prototype.slice.call(arguments));var u=i(o);if(typeof u=="object")for(var h=u.length,f=0;f<h;f++)u[f]=Math.round(u[f]);return u};return"conversion"in i&&(s.conversion=i.conversion),s}M.forEach(function(i){$[i]={},Object.defineProperty($[i],"channels",{value:c[i].channels}),Object.defineProperty($[i],"labels",{value:c[i].labels});var s=k(i),o=Object.keys(s);o.forEach(function(u){var h=s[u];$[i][u]=L(h),$[i][u].raw=T(h)})});var D=$,N={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]},z={getRgba:j,getHsla:U,getRgb:ne,getHsl:ce,getHwb:Q,getAlpha:Oe,hexString:it,rgbString:ht,rgbaString:ft,percentString:R,percentaString:P,hslString:W,hslaString:K,hwbString:ue,keyword:we};function j(i){if(i){var s=/^#([a-fA-F0-9]{3,4})$/i,o=/^#([a-fA-F0-9]{6}([a-fA-F0-9]{2})?)$/i,u=/^rgba?\(\s*([+-]?\d+)\s*,\s*([+-]?\d+)\s*,\s*([+-]?\d+)\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/i,h=/^rgba?\(\s*([+-]?[\d\.]+)\%\s*,\s*([+-]?[\d\.]+)\%\s*,\s*([+-]?[\d\.]+)\%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/i,f=/(\w+)/,p=[0,0,0],g=1,m=i.match(s),b="";if(m){m=m[1],b=m[3];for(var x=0;x<p.length;x++)p[x]=parseInt(m[x]+m[x],16);b&&(g=Math.round(parseInt(b+b,16)/255*100)/100)}else if(m=i.match(o)){b=m[2],m=m[1];for(var x=0;x<p.length;x++)p[x]=parseInt(m.slice(x*2,x*2+2),16);b&&(g=Math.round(parseInt(b,16)/255*100)/100)}else if(m=i.match(u)){for(var x=0;x<p.length;x++)p[x]=parseInt(m[x+1]);g=parseFloat(m[4])}else if(m=i.match(h)){for(var x=0;x<p.length;x++)p[x]=Math.round(parseFloat(m[x+1])*2.55);g=parseFloat(m[4])}else if(m=i.match(f)){if(m[1]=="transparent")return[0,0,0,0];if(p=N[m[1]],!p)return}for(var x=0;x<p.length;x++)p[x]=re(p[x],0,255);return!g&&g!=0?g=1:g=re(g,0,1),p[3]=g,p}}function U(i){if(i){var s=/^hsla?\(\s*([+-]?\d+)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)/,o=i.match(s);if(o){var u=parseFloat(o[4]),h=re(parseInt(o[1]),0,360),f=re(parseFloat(o[2]),0,100),p=re(parseFloat(o[3]),0,100),g=re(isNaN(u)?1:u,0,1);return[h,f,p,g]}}}function Q(i){if(i){var s=/^hwb\(\s*([+-]?\d+)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)/,o=i.match(s);if(o){var u=parseFloat(o[4]),h=re(parseInt(o[1]),0,360),f=re(parseFloat(o[2]),0,100),p=re(parseFloat(o[3]),0,100),g=re(isNaN(u)?1:u,0,1);return[h,f,p,g]}}}function ne(i){var s=j(i);return s&&s.slice(0,3)}function ce(i){var s=U(i);return s&&s.slice(0,3)}function Oe(i){var s=j(i);if(s)return s[3];if(s=U(i))return s[3];if(s=Q(i))return s[3]}function it(i,o){var o=o!==void 0&&i.length===3?o:i[3];return"#"+he(i[0])+he(i[1])+he(i[2])+(o>=0&&o<1?he(Math.round(o*255)):"")}function ht(i,s){return s<1||i[3]&&i[3]<1?ft(i,s):"rgb("+i[0]+", "+i[1]+", "+i[2]+")"}function ft(i,s){return s===void 0&&(s=i[3]!==void 0?i[3]:1),"rgba("+i[0]+", "+i[1]+", "+i[2]+", "+s+")"}function R(i,s){if(s<1||i[3]&&i[3]<1)return P(i,s);var o=Math.round(i[0]/255*100),u=Math.round(i[1]/255*100),h=Math.round(i[2]/255*100);return"rgb("+o+"%, "+u+"%, "+h+"%)"}function P(i,s){var o=Math.round(i[0]/255*100),u=Math.round(i[1]/255*100),h=Math.round(i[2]/255*100);return"rgba("+o+"%, "+u+"%, "+h+"%, "+(s||i[3]||1)+")"}function W(i,s){return s<1||i[3]&&i[3]<1?K(i,s):"hsl("+i[0]+", "+i[1]+"%, "+i[2]+"%)"}function K(i,s){return s===void 0&&(s=i[3]!==void 0?i[3]:1),"hsla("+i[0]+", "+i[1]+"%, "+i[2]+"%, "+s+")"}function ue(i,s){return s===void 0&&(s=i[3]!==void 0?i[3]:1),"hwb("+i[0]+", "+i[1]+"%, "+i[2]+"%"+(s!==void 0&&s!==1?", "+s:"")+")"}function we(i){return te[i.slice(0,3)]}function re(i,s,o){return Math.min(Math.max(s,i),o)}function he(i){var s=i.toString(16).toUpperCase();return s.length<2?"0"+s:s}var te={};for(var be in N)te[N[be]]=be;var oe=function(i){if(i instanceof oe)return i;if(!(this instanceof oe))return new oe(i);this.valid=!1,this.values={rgb:[0,0,0],hsl:[0,0,0],hsv:[0,0,0],hwb:[0,0,0],cmyk:[0,0,0,0],alpha:1};var s;typeof i=="string"?(s=z.getRgba(i),s?this.setValues("rgb",s):(s=z.getHsla(i))?this.setValues("hsl",s):(s=z.getHwb(i))&&this.setValues("hwb",s)):typeof i=="object"&&(s=i,s.r!==void 0||s.red!==void 0?this.setValues("rgb",s):s.l!==void 0||s.lightness!==void 0?this.setValues("hsl",s):s.v!==void 0||s.value!==void 0?this.setValues("hsv",s):s.w!==void 0||s.whiteness!==void 0?this.setValues("hwb",s):(s.c!==void 0||s.cyan!==void 0)&&this.setValues("cmyk",s))};oe.prototype={isValid:function(){return this.valid},rgb:function(){return this.setSpace("rgb",arguments)},hsl:function(){return this.setSpace("hsl",arguments)},hsv:function(){return this.setSpace("hsv",arguments)},hwb:function(){return this.setSpace("hwb",arguments)},cmyk:function(){return this.setSpace("cmyk",arguments)},rgbArray:function(){return this.values.rgb},hslArray:function(){return this.values.hsl},hsvArray:function(){return this.values.hsv},hwbArray:function(){var i=this.values;return i.alpha!==1?i.hwb.concat([i.alpha]):i.hwb},cmykArray:function(){return this.values.cmyk},rgbaArray:function(){var i=this.values;return i.rgb.concat([i.alpha])},hslaArray:function(){var i=this.values;return i.hsl.concat([i.alpha])},alpha:function(i){return i===void 0?this.values.alpha:(this.setValues("alpha",i),this)},red:function(i){return this.setChannel("rgb",0,i)},green:function(i){return this.setChannel("rgb",1,i)},blue:function(i){return this.setChannel("rgb",2,i)},hue:function(i){return i&&(i%=360,i=i<0?360+i:i),this.setChannel("hsl",0,i)},saturation:function(i){return this.setChannel("hsl",1,i)},lightness:function(i){return this.setChannel("hsl",2,i)},saturationv:function(i){return this.setChannel("hsv",1,i)},whiteness:function(i){return this.setChannel("hwb",1,i)},blackness:function(i){return this.setChannel("hwb",2,i)},value:function(i){return this.setChannel("hsv",2,i)},cyan:function(i){return this.setChannel("cmyk",0,i)},magenta:function(i){return this.setChannel("cmyk",1,i)},yellow:function(i){return this.setChannel("cmyk",2,i)},black:function(i){return this.setChannel("cmyk",3,i)},hexString:function(){return z.hexString(this.values.rgb)},rgbString:function(){return z.rgbString(this.values.rgb,this.values.alpha)},rgbaString:function(){return z.rgbaString(this.values.rgb,this.values.alpha)},percentString:function(){return z.percentString(this.values.rgb,this.values.alpha)},hslString:function(){return z.hslString(this.values.hsl,this.values.alpha)},hslaString:function(){return z.hslaString(this.values.hsl,this.values.alpha)},hwbString:function(){return z.hwbString(this.values.hwb,this.values.alpha)},keyword:function(){return z.keyword(this.values.rgb,this.values.alpha)},rgbNumber:function(){var i=this.values.rgb;return i[0]<<16|i[1]<<8|i[2]},luminosity:function(){for(var i=this.values.rgb,s=[],o=0;o<i.length;o++){var u=i[o]/255;s[o]=u<=.03928?u/12.92:Math.pow((u+.055)/1.055,2.4)}return .2126*s[0]+.7152*s[1]+.0722*s[2]},contrast:function(i){var s=this.luminosity(),o=i.luminosity();return s>o?(s+.05)/(o+.05):(o+.05)/(s+.05)},level:function(i){var s=this.contrast(i);return s>=7.1?"AAA":s>=4.5?"AA":""},dark:function(){var i=this.values.rgb,s=(i[0]*299+i[1]*587+i[2]*114)/1e3;return s<128},light:function(){return!this.dark()},negate:function(){for(var i=[],s=0;s<3;s++)i[s]=255-this.values.rgb[s];return this.setValues("rgb",i),this},lighten:function(i){var s=this.values.hsl;return s[2]+=s[2]*i,this.setValues("hsl",s),this},darken:function(i){var s=this.values.hsl;return s[2]-=s[2]*i,this.setValues("hsl",s),this},saturate:function(i){var s=this.values.hsl;return s[1]+=s[1]*i,this.setValues("hsl",s),this},desaturate:function(i){var s=this.values.hsl;return s[1]-=s[1]*i,this.setValues("hsl",s),this},whiten:function(i){var s=this.values.hwb;return s[1]+=s[1]*i,this.setValues("hwb",s),this},blacken:function(i){var s=this.values.hwb;return s[2]+=s[2]*i,this.setValues("hwb",s),this},greyscale:function(){var i=this.values.rgb,s=i[0]*.3+i[1]*.59+i[2]*.11;return this.setValues("rgb",[s,s,s]),this},clearer:function(i){var s=this.values.alpha;return this.setValues("alpha",s-s*i),this},opaquer:function(i){var s=this.values.alpha;return this.setValues("alpha",s+s*i),this},rotate:function(i){var s=this.values.hsl,o=(s[0]+i)%360;return s[0]=o<0?360+o:o,this.setValues("hsl",s),this},mix:function(i,s){var o=this,u=i,h=s===void 0?.5:s,f=2*h-1,p=o.alpha()-u.alpha(),g=((f*p===-1?f:(f+p)/(1+f*p))+1)/2,m=1-g;return this.rgb(g*o.red()+m*u.red(),g*o.green()+m*u.green(),g*o.blue()+m*u.blue()).alpha(o.alpha()*h+u.alpha()*(1-h))},toJSON:function(){return this.rgb()},clone:function(){var i=new oe,s=this.values,o=i.values,u,h;for(var f in s)s.hasOwnProperty(f)&&(u=s[f],h={}.toString.call(u),h==="[object Array]"?o[f]=u.slice(0):h==="[object Number]"?o[f]=u:console.error("unexpected color value:",u));return i}},oe.prototype.spaces={rgb:["red","green","blue"],hsl:["hue","saturation","lightness"],hsv:["hue","saturation","value"],hwb:["hue","whiteness","blackness"],cmyk:["cyan","magenta","yellow","black"]},oe.prototype.maxes={rgb:[255,255,255],hsl:[360,100,100],hsv:[360,100,100],hwb:[360,100,100],cmyk:[100,100,100,100]},oe.prototype.getValues=function(i){for(var s=this.values,o={},u=0;u<i.length;u++)o[i.charAt(u)]=s[i][u];return s.alpha!==1&&(o.a=s.alpha),o},oe.prototype.setValues=function(i,s){var o=this.values,u=this.spaces,h=this.maxes,f=1,p;if(this.valid=!0,i==="alpha")f=s;else if(s.length)o[i]=s.slice(0,i.length),f=s[i.length];else if(s[i.charAt(0)]!==void 0){for(p=0;p<i.length;p++)o[i][p]=s[i.charAt(p)];f=s.a}else if(s[u[i][0]]!==void 0){var g=u[i];for(p=0;p<i.length;p++)o[i][p]=s[g[p]];f=s.alpha}if(o.alpha=Math.max(0,Math.min(1,f===void 0?o.alpha:f)),i==="alpha")return!1;var m;for(p=0;p<i.length;p++)m=Math.max(0,Math.min(h[i][p],o[i][p])),o[i][p]=Math.round(m);for(var b in u)b!==i&&(o[b]=D[i][b](o[i]));return!0},oe.prototype.setSpace=function(i,s){var o=s[0];return o===void 0?this.getValues(i):(typeof o=="number"&&(o=Array.prototype.slice.call(s)),this.setValues(i,o),this)},oe.prototype.setChannel=function(i,s,o){var u=this.values[i];return o===void 0?u[s]:o===u[s]?this:(u[s]=o,this.setValues(i,u),this)},typeof window<"u"&&(window.Color=oe);var Ue=oe;function bt(i){return["__proto__","prototype","constructor"].indexOf(i)===-1}var ve={noop:function(){},uid:function(){var i=0;return function(){return i++}}(),isNullOrUndef:function(i){return i===null||typeof i>"u"},isArray:function(i){if(Array.isArray&&Array.isArray(i))return!0;var s=Object.prototype.toString.call(i);return s.substr(0,7)==="[object"&&s.substr(-6)==="Array]"},isObject:function(i){return i!==null&&Object.prototype.toString.call(i)==="[object Object]"},isFinite:function(i){return(typeof i=="number"||i instanceof Number)&&isFinite(i)},valueOrDefault:function(i,s){return typeof i>"u"?s:i},valueAtIndexOrDefault:function(i,s,o){return ve.valueOrDefault(ve.isArray(i)?i[s]:i,o)},callback:function(i,s,o){if(i&&typeof i.call=="function")return i.apply(o,s)},each:function(i,s,o,u){var h,f,p;if(ve.isArray(i))if(f=i.length,u)for(h=f-1;h>=0;h--)s.call(o,i[h],h);else for(h=0;h<f;h++)s.call(o,i[h],h);else if(ve.isObject(i))for(p=Object.keys(i),f=p.length,h=0;h<f;h++)s.call(o,i[p[h]],p[h])},arrayEquals:function(i,s){var o,u,h,f;if(!i||!s||i.length!==s.length)return!1;for(o=0,u=i.length;o<u;++o)if(h=i[o],f=s[o],h instanceof Array&&f instanceof Array){if(!ve.arrayEquals(h,f))return!1}else if(h!==f)return!1;return!0},clone:function(i){if(ve.isArray(i))return i.map(ve.clone);if(ve.isObject(i)){for(var s=Object.create(i),o=Object.keys(i),u=o.length,h=0;h<u;++h)s[o[h]]=ve.clone(i[o[h]]);return s}return i},_merger:function(i,s,o,u){if(bt(i)){var h=s[i],f=o[i];ve.isObject(h)&&ve.isObject(f)?ve.merge(h,f,u):s[i]=ve.clone(f)}},_mergerIf:function(i,s,o){if(bt(i)){var u=s[i],h=o[i];ve.isObject(u)&&ve.isObject(h)?ve.mergeIf(u,h):s.hasOwnProperty(i)||(s[i]=ve.clone(h))}},merge:function(i,s,o){var u=ve.isArray(s)?s:[s],h=u.length,f,p,g,m,b;if(!ve.isObject(i))return i;for(o=o||{},f=o.merger||ve._merger,p=0;p<h;++p)if(s=u[p],!!ve.isObject(s))for(g=Object.keys(s),b=0,m=g.length;b<m;++b)f(g[b],i,s,o);return i},mergeIf:function(i,s){return ve.merge(i,s,{merger:ve._mergerIf})},extend:Object.assign||function(i){return ve.merge(i,[].slice.call(arguments,1),{merger:function(s,o,u){o[s]=u[s]}})},inherits:function(i){var s=this,o=i&&i.hasOwnProperty("constructor")?i.constructor:function(){return s.apply(this,arguments)},u=function(){this.constructor=o};return u.prototype=s.prototype,o.prototype=new u,o.extend=ve.inherits,i&&ve.extend(o.prototype,i),o.__super__=s.prototype,o},_deprecated:function(i,s,o,u){s!==void 0&&console.warn(i+': "'+o+'" is deprecated. Please use "'+u+'" instead')}},Je=ve;ve.callCallback=ve.callback,ve.indexOf=function(i,s,o){return Array.prototype.indexOf.call(i,s,o)},ve.getValueOrDefault=ve.valueOrDefault,ve.getValueAtIndexOrDefault=ve.valueAtIndexOrDefault;var Pt={linear:function(i){return i},easeInQuad:function(i){return i*i},easeOutQuad:function(i){return-i*(i-2)},easeInOutQuad:function(i){return(i/=.5)<1?.5*i*i:-.5*(--i*(i-2)-1)},easeInCubic:function(i){return i*i*i},easeOutCubic:function(i){return(i=i-1)*i*i+1},easeInOutCubic:function(i){return(i/=.5)<1?.5*i*i*i:.5*((i-=2)*i*i+2)},easeInQuart:function(i){return i*i*i*i},easeOutQuart:function(i){return-((i=i-1)*i*i*i-1)},easeInOutQuart:function(i){return(i/=.5)<1?.5*i*i*i*i:-.5*((i-=2)*i*i*i-2)},easeInQuint:function(i){return i*i*i*i*i},easeOutQuint:function(i){return(i=i-1)*i*i*i*i+1},easeInOutQuint:function(i){return(i/=.5)<1?.5*i*i*i*i*i:.5*((i-=2)*i*i*i*i+2)},easeInSine:function(i){return-Math.cos(i*(Math.PI/2))+1},easeOutSine:function(i){return Math.sin(i*(Math.PI/2))},easeInOutSine:function(i){return-.5*(Math.cos(Math.PI*i)-1)},easeInExpo:function(i){return i===0?0:Math.pow(2,10*(i-1))},easeOutExpo:function(i){return i===1?1:-Math.pow(2,-10*i)+1},easeInOutExpo:function(i){return i===0?0:i===1?1:(i/=.5)<1?.5*Math.pow(2,10*(i-1)):.5*(-Math.pow(2,-10*--i)+2)},easeInCirc:function(i){return i>=1?i:-(Math.sqrt(1-i*i)-1)},easeOutCirc:function(i){return Math.sqrt(1-(i=i-1)*i)},easeInOutCirc:function(i){return(i/=.5)<1?-.5*(Math.sqrt(1-i*i)-1):.5*(Math.sqrt(1-(i-=2)*i)+1)},easeInElastic:function(i){var s=1.70158,o=0,u=1;return i===0?0:i===1?1:(o||(o=.3),s=o/(2*Math.PI)*Math.asin(1/u),-(u*Math.pow(2,10*(i-=1))*Math.sin((i-s)*(2*Math.PI)/o)))},easeOutElastic:function(i){var s=1.70158,o=0,u=1;return i===0?0:i===1?1:(o||(o=.3),s=o/(2*Math.PI)*Math.asin(1/u),u*Math.pow(2,-10*i)*Math.sin((i-s)*(2*Math.PI)/o)+1)},easeInOutElastic:function(i){var s=1.70158,o=0,u=1;return i===0?0:(i/=.5)===2?1:(o||(o=.45),s=o/(2*Math.PI)*Math.asin(1/u),i<1?-.5*(u*Math.pow(2,10*(i-=1))*Math.sin((i-s)*(2*Math.PI)/o)):u*Math.pow(2,-10*(i-=1))*Math.sin((i-s)*(2*Math.PI)/o)*.5+1)},easeInBack:function(i){var s=1.70158;return i*i*((s+1)*i-s)},easeOutBack:function(i){var s=1.70158;return(i=i-1)*i*((s+1)*i+s)+1},easeInOutBack:function(i){var s=1.70158;return(i/=.5)<1?.5*(i*i*(((s*=1.525)+1)*i-s)):.5*((i-=2)*i*(((s*=1.525)+1)*i+s)+2)},easeInBounce:function(i){return 1-Pt.easeOutBounce(1-i)},easeOutBounce:function(i){return i<1/2.75?7.5625*i*i:i<2/2.75?7.5625*(i-=1.5/2.75)*i+.75:i<2.5/2.75?7.5625*(i-=2.25/2.75)*i+.9375:7.5625*(i-=2.625/2.75)*i+.984375},easeInOutBounce:function(i){return i<.5?Pt.easeInBounce(i*2)*.5:Pt.easeOutBounce(i*2-1)*.5+.5}},sr={effects:Pt};Je.easingEffects=Pt;var at=Math.PI,b0=at/180,_0=at*2,Gt=at/2,ea=at/4,vf=at*2/3,os={clear:function(i){i.ctx.clearRect(0,0,i.width,i.height)},roundedRect:function(i,s,o,u,h,f){if(f){var p=Math.min(f,h/2,u/2),g=s+p,m=o+p,b=s+u-p,x=o+h-p;i.moveTo(s,m),g<b&&m<x?(i.arc(g,m,p,-at,-Gt),i.arc(b,m,p,-Gt,0),i.arc(b,x,p,0,Gt),i.arc(g,x,p,Gt,at)):g<b?(i.moveTo(g,o),i.arc(b,m,p,-Gt,Gt),i.arc(g,m,p,Gt,at+Gt)):m<x?(i.arc(g,m,p,-at,0),i.arc(g,x,p,0,at)):i.arc(g,m,p,-at,at),i.closePath(),i.moveTo(s,o)}else i.rect(s,o,u,h)},drawPoint:function(i,s,o,u,h,f){var p,g,m,b,x,w=(f||0)*b0;if(s&&typeof s=="object"&&(p=s.toString(),p==="[object HTMLImageElement]"||p==="[object HTMLCanvasElement]")){i.save(),i.translate(u,h),i.rotate(w),i.drawImage(s,-s.width/2,-s.height/2,s.width,s.height),i.restore();return}if(!(isNaN(o)||o<=0)){switch(i.beginPath(),s){default:i.arc(u,h,o,0,_0),i.closePath();break;case"triangle":i.moveTo(u+Math.sin(w)*o,h-Math.cos(w)*o),w+=vf,i.lineTo(u+Math.sin(w)*o,h-Math.cos(w)*o),w+=vf,i.lineTo(u+Math.sin(w)*o,h-Math.cos(w)*o),i.closePath();break;case"rectRounded":x=o*.516,b=o-x,g=Math.cos(w+ea)*b,m=Math.sin(w+ea)*b,i.arc(u-g,h-m,x,w-at,w-Gt),i.arc(u+m,h-g,x,w-Gt,w),i.arc(u+g,h+m,x,w,w+Gt),i.arc(u-m,h+g,x,w+Gt,w+at),i.closePath();break;case"rect":if(!f){b=Math.SQRT1_2*o,i.rect(u-b,h-b,2*b,2*b);break}w+=ea;case"rectRot":g=Math.cos(w)*o,m=Math.sin(w)*o,i.moveTo(u-g,h-m),i.lineTo(u+m,h-g),i.lineTo(u+g,h+m),i.lineTo(u-m,h+g),i.closePath();break;case"crossRot":w+=ea;case"cross":g=Math.cos(w)*o,m=Math.sin(w)*o,i.moveTo(u-g,h-m),i.lineTo(u+g,h+m),i.moveTo(u+m,h-g),i.lineTo(u-m,h+g);break;case"star":g=Math.cos(w)*o,m=Math.sin(w)*o,i.moveTo(u-g,h-m),i.lineTo(u+g,h+m),i.moveTo(u+m,h-g),i.lineTo(u-m,h+g),w+=ea,g=Math.cos(w)*o,m=Math.sin(w)*o,i.moveTo(u-g,h-m),i.lineTo(u+g,h+m),i.moveTo(u+m,h-g),i.lineTo(u-m,h+g);break;case"line":g=Math.cos(w)*o,m=Math.sin(w)*o,i.moveTo(u-g,h-m),i.lineTo(u+g,h+m);break;case"dash":i.moveTo(u,h),i.lineTo(u+Math.cos(w)*o,h+Math.sin(w)*o);break}i.fill(),i.stroke()}},_isPointInArea:function(i,s){var o=1e-6;return i.x>s.left-o&&i.x<s.right+o&&i.y>s.top-o&&i.y<s.bottom+o},clipArea:function(i,s){i.save(),i.beginPath(),i.rect(s.left,s.top,s.right-s.left,s.bottom-s.top),i.clip()},unclipArea:function(i){i.restore()},lineTo:function(i,s,o,u){var h=o.steppedLine;if(h){if(h==="middle"){var f=(s.x+o.x)/2;i.lineTo(f,u?o.y:s.y),i.lineTo(f,u?s.y:o.y)}else h==="after"&&!u||h!=="after"&&u?i.lineTo(s.x,o.y):i.lineTo(o.x,s.y);i.lineTo(o.x,o.y);return}if(!o.tension){i.lineTo(o.x,o.y);return}i.bezierCurveTo(u?s.controlPointPreviousX:s.controlPointNextX,u?s.controlPointPreviousY:s.controlPointNextY,u?o.controlPointNextX:o.controlPointPreviousX,u?o.controlPointNextY:o.controlPointPreviousY,o.x,o.y)}},x0=os;Je.clear=os.clear,Je.drawRoundedRectangle=function(i){i.beginPath(),os.roundedRect.apply(os,arguments)};var gf={_set:function(i,s){return Je.merge(this[i]||(this[i]={}),s)}};gf._set("global",{defaultColor:"rgba(0,0,0,0.1)",defaultFontColor:"#666",defaultFontFamily:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",defaultFontSize:12,defaultFontStyle:"normal",defaultLineHeight:1.2,showLines:!0});var ie=gf,ls=Je.valueOrDefault;function w0(i){return!i||Je.isNullOrUndef(i.size)||Je.isNullOrUndef(i.family)?null:(i.style?i.style+" ":"")+(i.weight?i.weight+" ":"")+i.size+"px "+i.family}var S0={toLineHeight:function(i,s){var o=(""+i).match(/^(normal|(\d+(?:\.\d+)?)(px|em|%)?)$/);if(!o||o[1]==="normal")return s*1.2;switch(i=+o[2],o[3]){case"px":return i;case"%":i/=100;break}return s*i},toPadding:function(i){var s,o,u,h;return Je.isObject(i)?(s=+i.top||0,o=+i.right||0,u=+i.bottom||0,h=+i.left||0):s=o=u=h=+i||0,{top:s,right:o,bottom:u,left:h,height:s+u,width:h+o}},_parseFont:function(i){var s=ie.global,o=ls(i.fontSize,s.defaultFontSize),u={family:ls(i.fontFamily,s.defaultFontFamily),lineHeight:Je.options.toLineHeight(ls(i.lineHeight,s.defaultLineHeight),o),size:o,style:ls(i.fontStyle,s.defaultFontStyle),weight:null,string:""};return u.string=w0(u),u},resolve:function(i,s,o,u){var h=!0,f,p,g;for(f=0,p=i.length;f<p;++f)if(g=i[f],g!==void 0&&(s!==void 0&&typeof g=="function"&&(g=g(s),h=!1),o!==void 0&&Je.isArray(g)&&(g=g[o],h=!1),g!==void 0))return u&&!h&&(u.cacheable=!1),g}},yf={_factorize:function(i){var s=[],o=Math.sqrt(i),u;for(u=1;u<o;u++)i%u===0&&(s.push(u),s.push(i/u));return o===(o|0)&&s.push(o),s.sort(function(h,f){return h-f}).pop(),s},log10:Math.log10||function(i){var s=Math.log(i)*Math.LOG10E,o=Math.round(s),u=i===Math.pow(10,o);return u?o:s}},k0=yf;Je.log10=yf.log10;var C0=function(i,s){return{x:function(o){return i+i+s-o},setWidth:function(o){s=o},textAlign:function(o){return o==="center"?o:o==="right"?"left":"right"},xPlus:function(o,u){return o-u},leftForLtr:function(o,u){return o-u}}},$0=function(){return{x:function(i){return i},setWidth:function(i){},textAlign:function(i){return i},xPlus:function(i,s){return i+s},leftForLtr:function(i,s){return i}}},M0=function(i,s,o){return i?C0(s,o):$0()},T0=function(i,s){var o,u;(s==="ltr"||s==="rtl")&&(o=i.canvas.style,u=[o.getPropertyValue("direction"),o.getPropertyPriority("direction")],o.setProperty("direction",s,"important"),i.prevTextDirection=u)},O0=function(i){var s=i.prevTextDirection;s!==void 0&&(delete i.prevTextDirection,i.canvas.style.setProperty("direction",s[0],s[1]))},A0={getRtlAdapter:M0,overrideTextDirection:T0,restoreTextDirection:O0},S=Je,D0=sr,I0=x0,L0=S0,E0=k0,P0=A0;S.easing=D0,S.canvas=I0,S.options=L0,S.math=E0,S.rtl=P0;function R0(i,s,o,u){var h=Object.keys(o),f,p,g,m,b,x,w,C,O;for(f=0,p=h.length;f<p;++f)if(g=h[f],x=o[g],s.hasOwnProperty(g)||(s[g]=x),m=s[g],!(m===x||g[0]==="_")){if(i.hasOwnProperty(g)||(i[g]=m),b=i[g],w=typeof x,w===typeof b){if(w==="string"){if(C=Ue(b),C.valid&&(O=Ue(x),O.valid)){s[g]=O.mix(C,u).rgbString();continue}}else if(S.isFinite(b)&&S.isFinite(x)){s[g]=b+(x-b)*u;continue}}s[g]=x}}var Il=function(i){S.extend(this,i),this.initialize.apply(this,arguments)};S.extend(Il.prototype,{_type:void 0,initialize:function(){this.hidden=!1},pivot:function(){var i=this;return i._view||(i._view=S.extend({},i._model)),i._start={},i},transition:function(i){var s=this,o=s._model,u=s._start,h=s._view;return!o||i===1?(s._view=S.extend({},o),s._start=null,s):(h||(h=s._view={}),u||(u=s._start={}),R0(u,h,o,i),s)},tooltipPosition:function(){return{x:this._model.x,y:this._model.y}},hasValue:function(){return S.isNumber(this._model.x)&&S.isNumber(this._model.y)}}),Il.extend=S.inherits;var xn=Il,Ll=xn.extend({chart:null,currentStep:0,numSteps:60,easing:"",render:null,onAnimationProgress:null,onAnimationComplete:null}),El=Ll;Object.defineProperty(Ll.prototype,"animationObject",{get:function(){return this}}),Object.defineProperty(Ll.prototype,"chartInstance",{get:function(){return this.chart},set:function(i){this.chart=i}}),ie._set("global",{animation:{duration:1e3,easing:"easeOutQuart",onProgress:S.noop,onComplete:S.noop}});var Pl={animations:[],request:null,addAnimation:function(i,s,o,u){var h=this.animations,f,p;for(s.chart=i,s.startTime=Date.now(),s.duration=o,u||(i.animating=!0),f=0,p=h.length;f<p;++f)if(h[f].chart===i){h[f]=s;return}h.push(s),h.length===1&&this.requestAnimationFrame()},cancelAnimation:function(i){var s=S.findIndex(this.animations,function(o){return o.chart===i});s!==-1&&(this.animations.splice(s,1),i.animating=!1)},requestAnimationFrame:function(){var i=this;i.request===null&&(i.request=S.requestAnimFrame.call(window,function(){i.request=null,i.startDigest()}))},startDigest:function(){var i=this;i.advance(),i.animations.length>0&&i.requestAnimationFrame()},advance:function(){for(var i=this.animations,s,o,u,h,f=0;f<i.length;)s=i[f],o=s.chart,u=s.numSteps,h=Math.floor((Date.now()-s.startTime)/s.duration*u)+1,s.currentStep=Math.min(h,u),S.callback(s.render,[o,s],o),S.callback(s.onAnimationProgress,[s],o),s.currentStep>=u?(S.callback(s.onAnimationComplete,[s],o),o.animating=!1,i.splice(f,1)):++f}},mi=S.options.resolve,bf=["push","pop","shift","splice","unshift"];function F0(i,s){if(i._chartjs){i._chartjs.listeners.push(s);return}Object.defineProperty(i,"_chartjs",{configurable:!0,enumerable:!1,value:{listeners:[s]}}),bf.forEach(function(o){var u="onData"+o.charAt(0).toUpperCase()+o.slice(1),h=i[o];Object.defineProperty(i,o,{configurable:!0,enumerable:!1,value:function(){var f=Array.prototype.slice.call(arguments),p=h.apply(this,f);return S.each(i._chartjs.listeners,function(g){typeof g[u]=="function"&&g[u].apply(g,f)}),p}})})}function _f(i,s){var o=i._chartjs;if(o){var u=o.listeners,h=u.indexOf(s);h!==-1&&u.splice(h,1),!(u.length>0)&&(bf.forEach(function(f){delete i[f]}),delete i._chartjs)}}var Rl=function(i,s){this.initialize(i,s)};S.extend(Rl.prototype,{datasetElementType:null,dataElementType:null,_datasetElementOptions:["backgroundColor","borderCapStyle","borderColor","borderDash","borderDashOffset","borderJoinStyle","borderWidth"],_dataElementOptions:["backgroundColor","borderColor","borderWidth","pointStyle"],initialize:function(i,s){var o=this;o.chart=i,o.index=s,o.linkScales(),o.addElements(),o._type=o.getMeta().type},updateIndex:function(i){this.index=i},linkScales:function(){var i=this,s=i.getMeta(),o=i.chart,u=o.scales,h=i.getDataset(),f=o.options.scales;(s.xAxisID===null||!(s.xAxisID in u)||h.xAxisID)&&(s.xAxisID=h.xAxisID||f.xAxes[0].id),(s.yAxisID===null||!(s.yAxisID in u)||h.yAxisID)&&(s.yAxisID=h.yAxisID||f.yAxes[0].id)},getDataset:function(){return this.chart.data.datasets[this.index]},getMeta:function(){return this.chart.getDatasetMeta(this.index)},getScaleForId:function(i){return this.chart.scales[i]},_getValueScaleId:function(){return this.getMeta().yAxisID},_getIndexScaleId:function(){return this.getMeta().xAxisID},_getValueScale:function(){return this.getScaleForId(this._getValueScaleId())},_getIndexScale:function(){return this.getScaleForId(this._getIndexScaleId())},reset:function(){this._update(!0)},destroy:function(){this._data&&_f(this._data,this)},createMetaDataset:function(){var i=this,s=i.datasetElementType;return s&&new s({_chart:i.chart,_datasetIndex:i.index})},createMetaData:function(i){var s=this,o=s.dataElementType;return o&&new o({_chart:s.chart,_datasetIndex:s.index,_index:i})},addElements:function(){var i=this,s=i.getMeta(),o=i.getDataset().data||[],u=s.data,h,f;for(h=0,f=o.length;h<f;++h)u[h]=u[h]||i.createMetaData(h);s.dataset=s.dataset||i.createMetaDataset()},addElementAndReset:function(i){var s=this.createMetaData(i);this.getMeta().data.splice(i,0,s),this.updateElement(s,i,!0)},buildOrUpdateElements:function(){var i=this,s=i.getDataset(),o=s.data||(s.data=[]);i._data!==o&&(i._data&&_f(i._data,i),o&&Object.isExtensible(o)&&F0(o,i),i._data=o),i.resyncElements()},_configure:function(){var i=this;i._config=S.merge(Object.create(null),[i.chart.options.datasets[i._type],i.getDataset()],{merger:function(s,o,u){s!=="_meta"&&s!=="data"&&S._merger(s,o,u)}})},_update:function(i){var s=this;s._configure(),s._cachedDataOpts=null,s.update(i)},update:S.noop,transition:function(i){for(var s=this.getMeta(),o=s.data||[],u=o.length,h=0;h<u;++h)o[h].transition(i);s.dataset&&s.dataset.transition(i)},draw:function(){var i=this.getMeta(),s=i.data||[],o=s.length,u=0;for(i.dataset&&i.dataset.draw();u<o;++u)s[u].draw()},getStyle:function(i){var s=this,o=s.getMeta(),u=o.dataset,h;return s._configure(),u&&i===void 0?h=s._resolveDatasetElementOptions(u||{}):(i=i||0,h=s._resolveDataElementOptions(o.data[i]||{},i)),(h.fill===!1||h.fill===null)&&(h.backgroundColor=h.borderColor),h},_resolveDatasetElementOptions:function(i,s){var o=this,u=o.chart,h=o._config,f=i.custom||{},p=u.options.elements[o.datasetElementType.prototype._type]||{},g=o._datasetElementOptions,m={},b,x,w,C,O={chart:u,dataset:o.getDataset(),datasetIndex:o.index,hover:s};for(b=0,x=g.length;b<x;++b)w=g[b],C=s?"hover"+w.charAt(0).toUpperCase()+w.slice(1):w,m[w]=mi([f[C],h[C],p[C]],O);return m},_resolveDataElementOptions:function(i,s){var o=this,u=i&&i.custom,h=o._cachedDataOpts;if(h&&!u)return h;var f=o.chart,p=o._config,g=f.options.elements[o.dataElementType.prototype._type]||{},m=o._dataElementOptions,b={},x={chart:f,dataIndex:s,dataset:o.getDataset(),datasetIndex:o.index},w={cacheable:!u},C,O,A,I;if(u=u||{},S.isArray(m))for(O=0,A=m.length;O<A;++O)I=m[O],b[I]=mi([u[I],p[I],g[I]],x,s,w);else for(C=Object.keys(m),O=0,A=C.length;O<A;++O)I=C[O],b[I]=mi([u[I],p[m[I]],p[I],g[I]],x,s,w);return w.cacheable&&(o._cachedDataOpts=Object.freeze(b)),b},removeHoverStyle:function(i){S.merge(i._model,i.$previousStyle||{}),delete i.$previousStyle},setHoverStyle:function(i){var s=this.chart.data.datasets[i._datasetIndex],o=i._index,u=i.custom||{},h=i._model,f=S.getHoverColor;i.$previousStyle={backgroundColor:h.backgroundColor,borderColor:h.borderColor,borderWidth:h.borderWidth},h.backgroundColor=mi([u.hoverBackgroundColor,s.hoverBackgroundColor,f(h.backgroundColor)],void 0,o),h.borderColor=mi([u.hoverBorderColor,s.hoverBorderColor,f(h.borderColor)],void 0,o),h.borderWidth=mi([u.hoverBorderWidth,s.hoverBorderWidth,h.borderWidth],void 0,o)},_removeDatasetHoverStyle:function(){var i=this.getMeta().dataset;i&&this.removeHoverStyle(i)},_setDatasetHoverStyle:function(){var i=this.getMeta().dataset,s={},o,u,h,f,p,g;if(i){for(g=i._model,p=this._resolveDatasetElementOptions(i,!0),f=Object.keys(p),o=0,u=f.length;o<u;++o)h=f[o],s[h]=g[h],g[h]=p[h];i.$previousStyle=s}},resyncElements:function(){var i=this,s=i.getMeta(),o=i.getDataset().data,u=s.data.length,h=o.length;h<u?s.data.splice(h,u-h):h>u&&i.insertElements(u,h-u)},insertElements:function(i,s){for(var o=0;o<s;++o)this.addElementAndReset(i+o)},onDataPush:function(){var i=arguments.length;this.insertElements(this.getDataset().data.length-i,i)},onDataPop:function(){this.getMeta().data.pop()},onDataShift:function(){this.getMeta().data.shift()},onDataSplice:function(i,s){this.getMeta().data.splice(i,s),this.insertElements(i,arguments.length-2)},onDataUnshift:function(){this.insertElements(0,arguments.length)}}),Rl.extend=S.inherits;var Zt=Rl,wn=Math.PI*2;ie._set("global",{elements:{arc:{backgroundColor:ie.global.defaultColor,borderColor:"#fff",borderWidth:2,borderAlign:"center"}}});function xf(i,s){var o=s.startAngle,u=s.endAngle,h=s.pixelMargin,f=h/s.outerRadius,p=s.x,g=s.y;i.beginPath(),i.arc(p,g,s.outerRadius,o-f,u+f),s.innerRadius>h?(f=h/s.innerRadius,i.arc(p,g,s.innerRadius-h,u+f,o-f,!0)):i.arc(p,g,h,u+Math.PI/2,o-Math.PI/2),i.closePath(),i.clip()}function N0(i,s,o,u){var h=o.endAngle,f;for(u&&(o.endAngle=o.startAngle+wn,xf(i,o),o.endAngle=h,o.endAngle===o.startAngle&&o.fullCircles&&(o.endAngle+=wn,o.fullCircles--)),i.beginPath(),i.arc(o.x,o.y,o.innerRadius,o.startAngle+wn,o.startAngle,!0),f=0;f<o.fullCircles;++f)i.stroke();for(i.beginPath(),i.arc(o.x,o.y,s.outerRadius,o.startAngle,o.startAngle+wn),f=0;f<o.fullCircles;++f)i.stroke()}function B0(i,s,o){var u=s.borderAlign==="inner";u?(i.lineWidth=s.borderWidth*2,i.lineJoin="round"):(i.lineWidth=s.borderWidth,i.lineJoin="bevel"),o.fullCircles&&N0(i,s,o,u),u&&xf(i,o),i.beginPath(),i.arc(o.x,o.y,s.outerRadius,o.startAngle,o.endAngle),i.arc(o.x,o.y,o.innerRadius,o.endAngle,o.startAngle,!0),i.closePath(),i.stroke()}var z0=xn.extend({_type:"arc",inLabelRange:function(i){var s=this._view;return s?Math.pow(i-s.x,2)<Math.pow(s.radius+s.hoverRadius,2):!1},inRange:function(i,s){var o=this._view;if(o){for(var u=S.getAngleFromPoint(o,{x:i,y:s}),h=u.angle,f=u.distance,p=o.startAngle,g=o.endAngle;g<p;)g+=wn;for(;h>g;)h-=wn;for(;h<p;)h+=wn;var m=h>=p&&h<=g,b=f>=o.innerRadius&&f<=o.outerRadius;return m&&b}return!1},getCenterPoint:function(){var i=this._view,s=(i.startAngle+i.endAngle)/2,o=(i.innerRadius+i.outerRadius)/2;return{x:i.x+Math.cos(s)*o,y:i.y+Math.sin(s)*o}},getArea:function(){var i=this._view;return Math.PI*((i.endAngle-i.startAngle)/(2*Math.PI))*(Math.pow(i.outerRadius,2)-Math.pow(i.innerRadius,2))},tooltipPosition:function(){var i=this._view,s=i.startAngle+(i.endAngle-i.startAngle)/2,o=(i.outerRadius-i.innerRadius)/2+i.innerRadius;return{x:i.x+Math.cos(s)*o,y:i.y+Math.sin(s)*o}},draw:function(){var i=this._chart.ctx,s=this._view,o=s.borderAlign==="inner"?.33:0,u={x:s.x,y:s.y,innerRadius:s.innerRadius,outerRadius:Math.max(s.outerRadius-o,0),pixelMargin:o,startAngle:s.startAngle,endAngle:s.endAngle,fullCircles:Math.floor(s.circumference/wn)},h;if(i.save(),i.fillStyle=s.backgroundColor,i.strokeStyle=s.borderColor,u.fullCircles){for(u.endAngle=u.startAngle+wn,i.beginPath(),i.arc(u.x,u.y,u.outerRadius,u.startAngle,u.endAngle),i.arc(u.x,u.y,u.innerRadius,u.endAngle,u.startAngle,!0),i.closePath(),h=0;h<u.fullCircles;++h)i.fill();u.endAngle=u.startAngle+s.circumference%wn}i.beginPath(),i.arc(u.x,u.y,u.outerRadius,u.startAngle,u.endAngle),i.arc(u.x,u.y,u.innerRadius,u.endAngle,u.startAngle,!0),i.closePath(),i.fill(),s.borderWidth&&B0(i,s,u),i.restore()}}),wf=S.valueOrDefault,Sf=ie.global.defaultColor;ie._set("global",{elements:{line:{tension:.4,backgroundColor:Sf,borderWidth:3,borderColor:Sf,borderCapStyle:"butt",borderDash:[],borderDashOffset:0,borderJoinStyle:"miter",capBezierPoints:!0,fill:!0}}});var H0=xn.extend({_type:"line",draw:function(){var i=this,s=i._view,o=i._chart.ctx,u=s.spanGaps,h=i._children.slice(),f=ie.global,p=f.elements.line,g=-1,m=i._loop,b,x,w;if(h.length){if(i._loop){for(b=0;b<h.length;++b)if(x=S.previousItem(h,b),!h[b]._view.skip&&x._view.skip){h=h.slice(b).concat(h.slice(0,b)),m=u;break}m&&h.push(h[0])}for(o.save(),o.lineCap=s.borderCapStyle||p.borderCapStyle,o.setLineDash&&o.setLineDash(s.borderDash||p.borderDash),o.lineDashOffset=wf(s.borderDashOffset,p.borderDashOffset),o.lineJoin=s.borderJoinStyle||p.borderJoinStyle,o.lineWidth=wf(s.borderWidth,p.borderWidth),o.strokeStyle=s.borderColor||f.defaultColor,o.beginPath(),w=h[0]._view,w.skip||(o.moveTo(w.x,w.y),g=0),b=1;b<h.length;++b)w=h[b]._view,x=g===-1?S.previousItem(h,b):h[g],w.skip||(g!==b-1&&!u||g===-1?o.moveTo(w.x,w.y):S.canvas.lineTo(o,x._view,w),g=b);m&&o.closePath(),o.stroke(),o.restore()}}}),W0=S.valueOrDefault,kf=ie.global.defaultColor;ie._set("global",{elements:{point:{radius:3,pointStyle:"circle",backgroundColor:kf,borderColor:kf,borderWidth:1,hitRadius:1,hoverRadius:4,hoverBorderWidth:1}}});function Cf(i){var s=this._view;return s?Math.abs(i-s.x)<s.radius+s.hitRadius:!1}function V0(i){var s=this._view;return s?Math.abs(i-s.y)<s.radius+s.hitRadius:!1}var j0=xn.extend({_type:"point",inRange:function(i,s){var o=this._view;return o?Math.pow(i-o.x,2)+Math.pow(s-o.y,2)<Math.pow(o.hitRadius+o.radius,2):!1},inLabelRange:Cf,inXRange:Cf,inYRange:V0,getCenterPoint:function(){var i=this._view;return{x:i.x,y:i.y}},getArea:function(){return Math.PI*Math.pow(this._view.radius,2)},tooltipPosition:function(){var i=this._view;return{x:i.x,y:i.y,padding:i.radius+i.borderWidth}},draw:function(i){var s=this._view,o=this._chart.ctx,u=s.pointStyle,h=s.rotation,f=s.radius,p=s.x,g=s.y,m=ie.global,b=m.defaultColor;s.skip||(i===void 0||S.canvas._isPointInArea(s,i))&&(o.strokeStyle=s.borderColor||b,o.lineWidth=W0(s.borderWidth,m.elements.point.borderWidth),o.fillStyle=s.backgroundColor||b,S.canvas.drawPoint(o,u,f,p,g,h))}}),$f=ie.global.defaultColor;ie._set("global",{elements:{rectangle:{backgroundColor:$f,borderColor:$f,borderSkipped:"bottom",borderWidth:0}}});function us(i){return i&&i.width!==void 0}function Mf(i){var s,o,u,h,f;return us(i)?(f=i.width/2,s=i.x-f,o=i.x+f,u=Math.min(i.y,i.base),h=Math.max(i.y,i.base)):(f=i.height/2,s=Math.min(i.x,i.base),o=Math.max(i.x,i.base),u=i.y-f,h=i.y+f),{left:s,top:u,right:o,bottom:h}}function Tf(i,s,o){return i===s?o:i===o?s:i}function U0(i){var s=i.borderSkipped,o={};return s&&(i.horizontal?i.base>i.x&&(s=Tf(s,"left","right")):i.base<i.y&&(s=Tf(s,"bottom","top")),o[s]=!0),o}function Y0(i,s,o){var u=i.borderWidth,h=U0(i),f,p,g,m;return S.isObject(u)?(f=+u.top||0,p=+u.right||0,g=+u.bottom||0,m=+u.left||0):f=p=g=m=+u||0,{t:h.top||f<0?0:f>o?o:f,r:h.right||p<0?0:p>s?s:p,b:h.bottom||g<0?0:g>o?o:g,l:h.left||m<0?0:m>s?s:m}}function q0(i){var s=Mf(i),o=s.right-s.left,u=s.bottom-s.top,h=Y0(i,o/2,u/2);return{outer:{x:s.left,y:s.top,w:o,h:u},inner:{x:s.left+h.l,y:s.top+h.t,w:o-h.l-h.r,h:u-h.t-h.b}}}function ta(i,s,o){var u=s===null,h=o===null,f=!i||u&&h?!1:Mf(i);return f&&(u||s>=f.left&&s<=f.right)&&(h||o>=f.top&&o<=f.bottom)}var G0=xn.extend({_type:"rectangle",draw:function(){var i=this._chart.ctx,s=this._view,o=q0(s),u=o.outer,h=o.inner;i.fillStyle=s.backgroundColor,i.fillRect(u.x,u.y,u.w,u.h),!(u.w===h.w&&u.h===h.h)&&(i.save(),i.beginPath(),i.rect(u.x,u.y,u.w,u.h),i.clip(),i.fillStyle=s.borderColor,i.rect(h.x,h.y,h.w,h.h),i.fill("evenodd"),i.restore())},height:function(){var i=this._view;return i.base-i.y},inRange:function(i,s){return ta(this._view,i,s)},inLabelRange:function(i,s){var o=this._view;return us(o)?ta(o,i,null):ta(o,null,s)},inXRange:function(i){return ta(this._view,i,null)},inYRange:function(i){return ta(this._view,null,i)},getCenterPoint:function(){var i=this._view,s,o;return us(i)?(s=i.x,o=(i.y+i.base)/2):(s=(i.x+i.base)/2,o=i.y),{x:s,y:o}},getArea:function(){var i=this._view;return us(i)?i.width*Math.abs(i.y-i.base):i.height*Math.abs(i.x-i.base)},tooltipPosition:function(){var i=this._view;return{x:i.x,y:i.y}}}),Ct={},Z0=z0,K0=H0,X0=j0,J0=G0;Ct.Arc=Z0,Ct.Line=K0,Ct.Point=X0,Ct.Rectangle=J0;var na=S._deprecated,vi=S.valueOrDefault;ie._set("bar",{hover:{mode:"label"},scales:{xAxes:[{type:"category",offset:!0,gridLines:{offsetGridLines:!0}}],yAxes:[{type:"linear"}]}}),ie._set("global",{datasets:{bar:{categoryPercentage:.8,barPercentage:.9}}});function Q0(i,s){var o=i._length,u,h,f,p;for(f=1,p=s.length;f<p;++f)o=Math.min(o,Math.abs(s[f]-s[f-1]));for(f=0,p=i.getTicks().length;f<p;++f)h=i.getPixelForTick(f),o=f>0?Math.min(o,Math.abs(h-u)):o,u=h;return o}function e_(i,s,o){var u=o.barThickness,h=s.stackCount,f=s.pixels[i],p=S.isNullOrUndef(u)?Q0(s.scale,s.pixels):-1,g,m;return S.isNullOrUndef(u)?(g=p*o.categoryPercentage,m=o.barPercentage):(g=u*h,m=1),{chunk:g/h,ratio:m,start:f-g/2}}function t_(i,s,o){var u=s.pixels,h=u[i],f=i>0?u[i-1]:null,p=i<u.length-1?u[i+1]:null,g=o.categoryPercentage,m,b;return f===null&&(f=h-(p===null?s.end-s.start:p-h)),p===null&&(p=h+h-f),m=h-(h-Math.min(f,p))/2*g,b=Math.abs(p-f)/2*g,{chunk:b/s.stackCount,ratio:o.barPercentage,start:m}}var Of=Zt.extend({dataElementType:Ct.Rectangle,_dataElementOptions:["backgroundColor","borderColor","borderSkipped","borderWidth","barPercentage","barThickness","categoryPercentage","maxBarThickness","minBarLength"],initialize:function(){var i=this,s,o;Zt.prototype.initialize.apply(i,arguments),s=i.getMeta(),s.stack=i.getDataset().stack,s.bar=!0,o=i._getIndexScale().options,na("bar chart",o.barPercentage,"scales.[x/y]Axes.barPercentage","dataset.barPercentage"),na("bar chart",o.barThickness,"scales.[x/y]Axes.barThickness","dataset.barThickness"),na("bar chart",o.categoryPercentage,"scales.[x/y]Axes.categoryPercentage","dataset.categoryPercentage"),na("bar chart",i._getValueScale().options.minBarLength,"scales.[x/y]Axes.minBarLength","dataset.minBarLength"),na("bar chart",o.maxBarThickness,"scales.[x/y]Axes.maxBarThickness","dataset.maxBarThickness")},update:function(i){var s=this,o=s.getMeta().data,u,h;for(s._ruler=s.getRuler(),u=0,h=o.length;u<h;++u)s.updateElement(o[u],u,i)},updateElement:function(i,s,o){var u=this,h=u.getMeta(),f=u.getDataset(),p=u._resolveDataElementOptions(i,s);i._xScale=u.getScaleForId(h.xAxisID),i._yScale=u.getScaleForId(h.yAxisID),i._datasetIndex=u.index,i._index=s,i._model={backgroundColor:p.backgroundColor,borderColor:p.borderColor,borderSkipped:p.borderSkipped,borderWidth:p.borderWidth,datasetLabel:f.label,label:u.chart.data.labels[s]},S.isArray(f.data[s])&&(i._model.borderSkipped=null),u._updateElementGeometry(i,s,o,p),i.pivot()},_updateElementGeometry:function(i,s,o,u){var h=this,f=i._model,p=h._getValueScale(),g=p.getBasePixel(),m=p.isHorizontal(),b=h._ruler||h.getRuler(),x=h.calculateBarValuePixels(h.index,s,u),w=h.calculateBarIndexPixels(h.index,s,b,u);f.horizontal=m,f.base=o?g:x.base,f.x=m?o?g:x.head:w.center,f.y=m?w.center:o?g:x.head,f.height=m?w.size:void 0,f.width=m?void 0:w.size},_getStacks:function(i){var s=this,o=s._getIndexScale(),u=o._getMatchingVisibleMetas(s._type),h=o.options.stacked,f=u.length,p=[],g,m;for(g=0;g<f&&(m=u[g],(h===!1||p.indexOf(m.stack)===-1||h===void 0&&m.stack===void 0)&&p.push(m.stack),m.index!==i);++g);return p},getStackCount:function(){return this._getStacks().length},getStackIndex:function(i,s){var o=this._getStacks(i),u=s!==void 0?o.indexOf(s):-1;return u===-1?o.length-1:u},getRuler:function(){var i=this,s=i._getIndexScale(),o=[],u,h;for(u=0,h=i.getMeta().data.length;u<h;++u)o.push(s.getPixelForValue(null,u,i.index));return{pixels:o,start:s._startPixel,end:s._endPixel,stackCount:i.getStackCount(),scale:s}},calculateBarValuePixels:function(i,s,o){var u=this,h=u.chart,f=u._getValueScale(),p=f.isHorizontal(),g=h.data.datasets,m=f._getMatchingVisibleMetas(u._type),b=f._parseValue(g[i].data[s]),x=o.minBarLength,w=f.options.stacked,C=u.getMeta().stack,O=b.start===void 0?0:b.max>=0&&b.min>=0?b.min:b.max,A=b.start===void 0?b.end:b.max>=0&&b.min>=0?b.max-b.min:b.min-b.max,I=m.length,E,H,q,J,ge,pe,De;if(w||w===void 0&&C!==void 0)for(E=0;E<I&&(H=m[E],H.index!==i);++E)H.stack===C&&(De=f._parseValue(g[H.index].data[s]),q=De.start===void 0?De.end:De.min>=0&&De.max>=0?De.max:De.min,(b.min<0&&q<0||b.max>=0&&q>0)&&(O+=q));return J=f.getPixelForValue(O),ge=f.getPixelForValue(O+A),pe=ge-J,x!==void 0&&Math.abs(pe)<x&&(pe=x,A>=0&&!p||A<0&&p?ge=J-x:ge=J+x),{size:pe,base:J,head:ge,center:ge+pe/2}},calculateBarIndexPixels:function(i,s,o,u){var h=this,f=u.barThickness==="flex"?t_(s,o,u):e_(s,o,u),p=h.getStackIndex(i,h.getMeta().stack),g=f.start+f.chunk*p+f.chunk/2,m=Math.min(vi(u.maxBarThickness,1/0),f.chunk*f.ratio);return{base:g-m/2,head:g+m/2,center:g,size:m}},draw:function(){var i=this,s=i.chart,o=i._getValueScale(),u=i.getMeta().data,h=i.getDataset(),f=u.length,p=0;for(S.canvas.clipArea(s.ctx,s.chartArea);p<f;++p){var g=o._parseValue(h.data[p]);!isNaN(g.min)&&!isNaN(g.max)&&u[p].draw()}S.canvas.unclipArea(s.ctx)},_resolveDataElementOptions:function(){var i=this,s=S.extend({},Zt.prototype._resolveDataElementOptions.apply(i,arguments)),o=i._getIndexScale().options,u=i._getValueScale().options;return s.barPercentage=vi(o.barPercentage,s.barPercentage),s.barThickness=vi(o.barThickness,s.barThickness),s.categoryPercentage=vi(o.categoryPercentage,s.categoryPercentage),s.maxBarThickness=vi(o.maxBarThickness,s.maxBarThickness),s.minBarLength=vi(u.minBarLength,s.minBarLength),s}}),Fl=S.valueOrDefault,n_=S.options.resolve;ie._set("bubble",{hover:{mode:"single"},scales:{xAxes:[{type:"linear",position:"bottom",id:"x-axis-0"}],yAxes:[{type:"linear",position:"left",id:"y-axis-0"}]},tooltips:{callbacks:{title:function(){return""},label:function(i,s){var o=s.datasets[i.datasetIndex].label||"",u=s.datasets[i.datasetIndex].data[i.index];return o+": ("+i.xLabel+", "+i.yLabel+", "+u.r+")"}}}});var r_=Zt.extend({dataElementType:Ct.Point,_dataElementOptions:["backgroundColor","borderColor","borderWidth","hoverBackgroundColor","hoverBorderColor","hoverBorderWidth","hoverRadius","hitRadius","pointStyle","rotation"],update:function(i){var s=this,o=s.getMeta(),u=o.data;S.each(u,function(h,f){s.updateElement(h,f,i)})},updateElement:function(i,s,o){var u=this,h=u.getMeta(),f=i.custom||{},p=u.getScaleForId(h.xAxisID),g=u.getScaleForId(h.yAxisID),m=u._resolveDataElementOptions(i,s),b=u.getDataset().data[s],x=u.index,w=o?p.getPixelForDecimal(.5):p.getPixelForValue(typeof b=="object"?b:NaN,s,x),C=o?g.getBasePixel():g.getPixelForValue(b,s,x);i._xScale=p,i._yScale=g,i._options=m,i._datasetIndex=x,i._index=s,i._model={backgroundColor:m.backgroundColor,borderColor:m.borderColor,borderWidth:m.borderWidth,hitRadius:m.hitRadius,pointStyle:m.pointStyle,rotation:m.rotation,radius:o?0:m.radius,skip:f.skip||isNaN(w)||isNaN(C),x:w,y:C},i.pivot()},setHoverStyle:function(i){var s=i._model,o=i._options,u=S.getHoverColor;i.$previousStyle={backgroundColor:s.backgroundColor,borderColor:s.borderColor,borderWidth:s.borderWidth,radius:s.radius},s.backgroundColor=Fl(o.hoverBackgroundColor,u(o.backgroundColor)),s.borderColor=Fl(o.hoverBorderColor,u(o.borderColor)),s.borderWidth=Fl(o.hoverBorderWidth,o.borderWidth),s.radius=o.radius+o.hoverRadius},_resolveDataElementOptions:function(i,s){var o=this,u=o.chart,h=o.getDataset(),f=i.custom||{},p=h.data[s]||{},g=Zt.prototype._resolveDataElementOptions.apply(o,arguments),m={chart:u,dataIndex:s,dataset:h,datasetIndex:o.index};return o._cachedDataOpts===g&&(g=S.extend({},g)),g.radius=n_([f.radius,p.r,o._config.radius,u.options.elements.point.radius],m,s),g}}),cs=S.valueOrDefault,Pr=Math.PI,Pn=Pr*2,Rr=Pr/2;ie._set("doughnut",{animation:{animateRotate:!0,animateScale:!1},hover:{mode:"single"},legendCallback:function(i){var s=document.createElement("ul"),o=i.data,u=o.datasets,h=o.labels,f,p,g,m;if(s.setAttribute("class",i.id+"-legend"),u.length)for(f=0,p=u[0].data.length;f<p;++f)g=s.appendChild(document.createElement("li")),m=g.appendChild(document.createElement("span")),m.style.backgroundColor=u[0].backgroundColor[f],h[f]&&g.appendChild(document.createTextNode(h[f]));return s.outerHTML},legend:{labels:{generateLabels:function(i){var s=i.data;return s.labels.length&&s.datasets.length?s.labels.map(function(o,u){var h=i.getDatasetMeta(0),f=h.controller.getStyle(u);return{text:o,fillStyle:f.backgroundColor,strokeStyle:f.borderColor,lineWidth:f.borderWidth,hidden:isNaN(s.datasets[0].data[u])||h.data[u].hidden,index:u}}):[]}},onClick:function(i,s){var o=s.index,u=this.chart,h,f,p;for(h=0,f=(u.data.datasets||[]).length;h<f;++h)p=u.getDatasetMeta(h),p.data[o]&&(p.data[o].hidden=!p.data[o].hidden);u.update()}},cutoutPercentage:50,rotation:-Rr,circumference:Pn,tooltips:{callbacks:{title:function(){return""},label:function(i,s){var o=s.labels[i.index],u=": "+s.datasets[i.datasetIndex].data[i.index];return S.isArray(o)?(o=o.slice(),o[0]+=u):o+=u,o}}}});var Af=Zt.extend({dataElementType:Ct.Arc,linkScales:S.noop,_dataElementOptions:["backgroundColor","borderColor","borderWidth","borderAlign","hoverBackgroundColor","hoverBorderColor","hoverBorderWidth"],getRingIndex:function(i){for(var s=0,o=0;o<i;++o)this.chart.isDatasetVisible(o)&&++s;return s},update:function(i){var s=this,o=s.chart,u=o.chartArea,h=o.options,f=1,p=1,g=0,m=0,b=s.getMeta(),x=b.data,w=h.cutoutPercentage/100||0,C=h.circumference,O=s._getRingWeight(s.index),A,I,E,H;if(C<Pn){var q=h.rotation%Pn;q+=q>=Pr?-Pn:q<-Pr?Pn:0;var J=q+C,ge=Math.cos(q),pe=Math.sin(q),De=Math.cos(J),$e=Math.sin(J),Ee=q<=0&&J>=0||J>=Pn,ze=q<=Rr&&J>=Rr||J>=Pn+Rr,st=q===-Pr||J>=Pr,nt=q<=-Rr&&J>=-Rr||J>=Pr+Rr,Qe=st?-1:Math.min(ge,ge*w,De,De*w),ut=nt?-1:Math.min(pe,pe*w,$e,$e*w),xi=Ee?1:Math.max(ge,ge*w,De,De*w),wi=ze?1:Math.max(pe,pe*w,$e,$e*w);f=(xi-Qe)/2,p=(wi-ut)/2,g=-(xi+Qe)/2,m=-(wi+ut)/2}for(E=0,H=x.length;E<H;++E)x[E]._options=s._resolveDataElementOptions(x[E],E);for(o.borderWidth=s.getMaxBorderWidth(),A=(u.right-u.left-o.borderWidth)/f,I=(u.bottom-u.top-o.borderWidth)/p,o.outerRadius=Math.max(Math.min(A,I)/2,0),o.innerRadius=Math.max(o.outerRadius*w,0),o.radiusLength=(o.outerRadius-o.innerRadius)/(s._getVisibleDatasetWeightTotal()||1),o.offsetX=g*o.outerRadius,o.offsetY=m*o.outerRadius,b.total=s.calculateTotal(),s.outerRadius=o.outerRadius-o.radiusLength*s._getRingWeightOffset(s.index),s.innerRadius=Math.max(s.outerRadius-o.radiusLength*O,0),E=0,H=x.length;E<H;++E)s.updateElement(x[E],E,i)},updateElement:function(i,s,o){var u=this,h=u.chart,f=h.chartArea,p=h.options,g=p.animation,m=(f.left+f.right)/2,b=(f.top+f.bottom)/2,x=p.rotation,w=p.rotation,C=u.getDataset(),O=o&&g.animateRotate||i.hidden?0:u.calculateCircumference(C.data[s])*(p.circumference/Pn),A=o&&g.animateScale?0:u.innerRadius,I=o&&g.animateScale?0:u.outerRadius,E=i._options||{};S.extend(i,{_datasetIndex:u.index,_index:s,_model:{backgroundColor:E.backgroundColor,borderColor:E.borderColor,borderWidth:E.borderWidth,borderAlign:E.borderAlign,x:m+h.offsetX,y:b+h.offsetY,startAngle:x,endAngle:w,circumference:O,outerRadius:I,innerRadius:A,label:S.valueAtIndexOrDefault(C.label,s,h.data.labels[s])}});var H=i._model;(!o||!g.animateRotate)&&(s===0?H.startAngle=p.rotation:H.startAngle=u.getMeta().data[s-1]._model.endAngle,H.endAngle=H.startAngle+H.circumference),i.pivot()},calculateTotal:function(){var i=this.getDataset(),s=this.getMeta(),o=0,u;return S.each(s.data,function(h,f){u=i.data[f],!isNaN(u)&&!h.hidden&&(o+=Math.abs(u))}),o},calculateCircumference:function(i){var s=this.getMeta().total;return s>0&&!isNaN(i)?Pn*(Math.abs(i)/s):0},getMaxBorderWidth:function(i){var s=this,o=0,u=s.chart,h,f,p,g,m,b,x,w;if(!i){for(h=0,f=u.data.datasets.length;h<f;++h)if(u.isDatasetVisible(h)){p=u.getDatasetMeta(h),i=p.data,h!==s.index&&(m=p.controller);break}}if(!i)return 0;for(h=0,f=i.length;h<f;++h)g=i[h],m?(m._configure(),b=m._resolveDataElementOptions(g,h)):b=g._options,b.borderAlign!=="inner"&&(x=b.borderWidth,w=b.hoverBorderWidth,o=x>o?x:o,o=w>o?w:o);return o},setHoverStyle:function(i){var s=i._model,o=i._options,u=S.getHoverColor;i.$previousStyle={backgroundColor:s.backgroundColor,borderColor:s.borderColor,borderWidth:s.borderWidth},s.backgroundColor=cs(o.hoverBackgroundColor,u(o.backgroundColor)),s.borderColor=cs(o.hoverBorderColor,u(o.borderColor)),s.borderWidth=cs(o.hoverBorderWidth,o.borderWidth)},_getRingWeightOffset:function(i){for(var s=0,o=0;o<i;++o)this.chart.isDatasetVisible(o)&&(s+=this._getRingWeight(o));return s},_getRingWeight:function(i){return Math.max(cs(this.chart.data.datasets[i].weight,1),0)},_getVisibleDatasetWeightTotal:function(){return this._getRingWeightOffset(this.chart.data.datasets.length)}});ie._set("horizontalBar",{hover:{mode:"index",axis:"y"},scales:{xAxes:[{type:"linear",position:"bottom"}],yAxes:[{type:"category",position:"left",offset:!0,gridLines:{offsetGridLines:!0}}]},elements:{rectangle:{borderSkipped:"left"}},tooltips:{mode:"index",axis:"y"}}),ie._set("global",{datasets:{horizontalBar:{categoryPercentage:.8,barPercentage:.9}}});var i_=Of.extend({_getValueScaleId:function(){return this.getMeta().xAxisID},_getIndexScaleId:function(){return this.getMeta().yAxisID}}),Rn=S.valueOrDefault,a_=S.options.resolve,Nl=S.canvas._isPointInArea;ie._set("line",{showLines:!0,spanGaps:!1,hover:{mode:"label"},scales:{xAxes:[{type:"category",id:"x-axis-0"}],yAxes:[{type:"linear",id:"y-axis-0"}]}});function Df(i,s){var o=i&&i.options.ticks||{},u=o.reverse,h=o.min===void 0?s:0,f=o.max===void 0?s:0;return{start:u?f:h,end:u?h:f}}function s_(i,s,o){var u=o/2,h=Df(i,u),f=Df(s,u);return{top:f.end,right:h.end,bottom:f.start,left:h.start}}function o_(i){var s,o,u,h;return S.isObject(i)?(s=i.top,o=i.right,u=i.bottom,h=i.left):s=o=u=h=i,{top:s,right:o,bottom:u,left:h}}var If=Zt.extend({datasetElementType:Ct.Line,dataElementType:Ct.Point,_datasetElementOptions:["backgroundColor","borderCapStyle","borderColor","borderDash","borderDashOffset","borderJoinStyle","borderWidth","cubicInterpolationMode","fill"],_dataElementOptions:{backgroundColor:"pointBackgroundColor",borderColor:"pointBorderColor",borderWidth:"pointBorderWidth",hitRadius:"pointHitRadius",hoverBackgroundColor:"pointHoverBackgroundColor",hoverBorderColor:"pointHoverBorderColor",hoverBorderWidth:"pointHoverBorderWidth",hoverRadius:"pointHoverRadius",pointStyle:"pointStyle",radius:"pointRadius",rotation:"pointRotation"},update:function(i){var s=this,o=s.getMeta(),u=o.dataset,h=o.data||[],f=s.chart.options,p=s._config,g=s._showLine=Rn(p.showLine,f.showLines),m,b;for(s._xScale=s.getScaleForId(o.xAxisID),s._yScale=s.getScaleForId(o.yAxisID),g&&(p.tension!==void 0&&p.lineTension===void 0&&(p.lineTension=p.tension),u._scale=s._yScale,u._datasetIndex=s.index,u._children=h,u._model=s._resolveDatasetElementOptions(u),u.pivot()),m=0,b=h.length;m<b;++m)s.updateElement(h[m],m,i);for(g&&u._model.tension!==0&&s.updateBezierControlPoints(),m=0,b=h.length;m<b;++m)h[m].pivot()},updateElement:function(i,s,o){var u=this,h=u.getMeta(),f=i.custom||{},p=u.getDataset(),g=u.index,m=p.data[s],b=u._xScale,x=u._yScale,w=h.dataset._model,C,O,A=u._resolveDataElementOptions(i,s);C=b.getPixelForValue(typeof m=="object"?m:NaN,s,g),O=o?x.getBasePixel():u.calculatePointY(m,s,g),i._xScale=b,i._yScale=x,i._options=A,i._datasetIndex=g,i._index=s,i._model={x:C,y:O,skip:f.skip||isNaN(C)||isNaN(O),radius:A.radius,pointStyle:A.pointStyle,rotation:A.rotation,backgroundColor:A.backgroundColor,borderColor:A.borderColor,borderWidth:A.borderWidth,tension:Rn(f.tension,w?w.tension:0),steppedLine:w?w.steppedLine:!1,hitRadius:A.hitRadius}},_resolveDatasetElementOptions:function(i){var s=this,o=s._config,u=i.custom||{},h=s.chart.options,f=h.elements.line,p=Zt.prototype._resolveDatasetElementOptions.apply(s,arguments);return p.spanGaps=Rn(o.spanGaps,h.spanGaps),p.tension=Rn(o.lineTension,f.tension),p.steppedLine=a_([u.steppedLine,o.steppedLine,f.stepped]),p.clip=o_(Rn(o.clip,s_(s._xScale,s._yScale,p.borderWidth))),p},calculatePointY:function(i,s,o){var u=this,h=u.chart,f=u._yScale,p=0,g=0,m,b,x,w,C,O,A;if(f.options.stacked){for(C=+f.getRightValue(i),O=h._getSortedVisibleDatasetMetas(),A=O.length,m=0;m<A&&(x=O[m],x.index!==o);++m)b=h.data.datasets[x.index],x.type==="line"&&x.yAxisID===f.id&&(w=+f.getRightValue(b.data[s]),w<0?g+=w||0:p+=w||0);return C<0?f.getPixelForValue(g+C):f.getPixelForValue(p+C)}return f.getPixelForValue(i)},updateBezierControlPoints:function(){var i=this,s=i.chart,o=i.getMeta(),u=o.dataset._model,h=s.chartArea,f=o.data||[],p,g,m,b;u.spanGaps&&(f=f.filter(function(w){return!w._model.skip}));function x(w,C,O){return Math.max(Math.min(w,O),C)}if(u.cubicInterpolationMode==="monotone")S.splineCurveMonotone(f);else for(p=0,g=f.length;p<g;++p)m=f[p]._model,b=S.splineCurve(S.previousItem(f,p)._model,m,S.nextItem(f,p)._model,u.tension),m.controlPointPreviousX=b.previous.x,m.controlPointPreviousY=b.previous.y,m.controlPointNextX=b.next.x,m.controlPointNextY=b.next.y;if(s.options.elements.line.capBezierPoints)for(p=0,g=f.length;p<g;++p)m=f[p]._model,Nl(m,h)&&(p>0&&Nl(f[p-1]._model,h)&&(m.controlPointPreviousX=x(m.controlPointPreviousX,h.left,h.right),m.controlPointPreviousY=x(m.controlPointPreviousY,h.top,h.bottom)),p<f.length-1&&Nl(f[p+1]._model,h)&&(m.controlPointNextX=x(m.controlPointNextX,h.left,h.right),m.controlPointNextY=x(m.controlPointNextY,h.top,h.bottom)))},draw:function(){var i=this,s=i.chart,o=i.getMeta(),u=o.data||[],h=s.chartArea,f=s.canvas,p=0,g=u.length,m;for(i._showLine&&(m=o.dataset._model.clip,S.canvas.clipArea(s.ctx,{left:m.left===!1?0:h.left-m.left,right:m.right===!1?f.width:h.right+m.right,top:m.top===!1?0:h.top-m.top,bottom:m.bottom===!1?f.height:h.bottom+m.bottom}),o.dataset.draw(),S.canvas.unclipArea(s.ctx));p<g;++p)u[p].draw(h)},setHoverStyle:function(i){var s=i._model,o=i._options,u=S.getHoverColor;i.$previousStyle={backgroundColor:s.backgroundColor,borderColor:s.borderColor,borderWidth:s.borderWidth,radius:s.radius},s.backgroundColor=Rn(o.hoverBackgroundColor,u(o.backgroundColor)),s.borderColor=Rn(o.hoverBorderColor,u(o.borderColor)),s.borderWidth=Rn(o.hoverBorderWidth,o.borderWidth),s.radius=Rn(o.hoverRadius,o.radius)}}),l_=S.options.resolve;ie._set("polarArea",{scale:{type:"radialLinear",angleLines:{display:!1},gridLines:{circular:!0},pointLabels:{display:!1},ticks:{beginAtZero:!0}},animation:{animateRotate:!0,animateScale:!0},startAngle:-.5*Math.PI,legendCallback:function(i){var s=document.createElement("ul"),o=i.data,u=o.datasets,h=o.labels,f,p,g,m;if(s.setAttribute("class",i.id+"-legend"),u.length)for(f=0,p=u[0].data.length;f<p;++f)g=s.appendChild(document.createElement("li")),m=g.appendChild(document.createElement("span")),m.style.backgroundColor=u[0].backgroundColor[f],h[f]&&g.appendChild(document.createTextNode(h[f]));return s.outerHTML},legend:{labels:{generateLabels:function(i){var s=i.data;return s.labels.length&&s.datasets.length?s.labels.map(function(o,u){var h=i.getDatasetMeta(0),f=h.controller.getStyle(u);return{text:o,fillStyle:f.backgroundColor,strokeStyle:f.borderColor,lineWidth:f.borderWidth,hidden:isNaN(s.datasets[0].data[u])||h.data[u].hidden,index:u}}):[]}},onClick:function(i,s){var o=s.index,u=this.chart,h,f,p;for(h=0,f=(u.data.datasets||[]).length;h<f;++h)p=u.getDatasetMeta(h),p.data[o].hidden=!p.data[o].hidden;u.update()}},tooltips:{callbacks:{title:function(){return""},label:function(i,s){return s.labels[i.index]+": "+i.yLabel}}}});var u_=Zt.extend({dataElementType:Ct.Arc,linkScales:S.noop,_dataElementOptions:["backgroundColor","borderColor","borderWidth","borderAlign","hoverBackgroundColor","hoverBorderColor","hoverBorderWidth"],_getIndexScaleId:function(){return this.chart.scale.id},_getValueScaleId:function(){return this.chart.scale.id},update:function(i){var s=this,o=s.getDataset(),u=s.getMeta(),h=s.chart.options.startAngle||0,f=s._starts=[],p=s._angles=[],g=u.data,m,b,x;for(s._updateRadius(),u.count=s.countVisibleElements(),m=0,b=o.data.length;m<b;m++)f[m]=h,x=s._computeAngle(m),p[m]=x,h+=x;for(m=0,b=g.length;m<b;++m)g[m]._options=s._resolveDataElementOptions(g[m],m),s.updateElement(g[m],m,i)},_updateRadius:function(){var i=this,s=i.chart,o=s.chartArea,u=s.options,h=Math.min(o.right-o.left,o.bottom-o.top);s.outerRadius=Math.max(h/2,0),s.innerRadius=Math.max(u.cutoutPercentage?s.outerRadius/100*u.cutoutPercentage:1,0),s.radiusLength=(s.outerRadius-s.innerRadius)/s.getVisibleDatasetCount(),i.outerRadius=s.outerRadius-s.radiusLength*i.index,i.innerRadius=i.outerRadius-s.radiusLength},updateElement:function(i,s,o){var u=this,h=u.chart,f=u.getDataset(),p=h.options,g=p.animation,m=h.scale,b=h.data.labels,x=m.xCenter,w=m.yCenter,C=p.startAngle,O=i.hidden?0:m.getDistanceFromCenterForValue(f.data[s]),A=u._starts[s],I=A+(i.hidden?0:u._angles[s]),E=g.animateScale?0:m.getDistanceFromCenterForValue(f.data[s]),H=i._options||{};S.extend(i,{_datasetIndex:u.index,_index:s,_scale:m,_model:{backgroundColor:H.backgroundColor,borderColor:H.borderColor,borderWidth:H.borderWidth,borderAlign:H.borderAlign,x,y:w,innerRadius:0,outerRadius:o?E:O,startAngle:o&&g.animateRotate?C:A,endAngle:o&&g.animateRotate?C:I,label:S.valueAtIndexOrDefault(b,s,b[s])}}),i.pivot()},countVisibleElements:function(){var i=this.getDataset(),s=this.getMeta(),o=0;return S.each(s.data,function(u,h){!isNaN(i.data[h])&&!u.hidden&&o++}),o},setHoverStyle:function(i){var s=i._model,o=i._options,u=S.getHoverColor,h=S.valueOrDefault;i.$previousStyle={backgroundColor:s.backgroundColor,borderColor:s.borderColor,borderWidth:s.borderWidth},s.backgroundColor=h(o.hoverBackgroundColor,u(o.backgroundColor)),s.borderColor=h(o.hoverBorderColor,u(o.borderColor)),s.borderWidth=h(o.hoverBorderWidth,o.borderWidth)},_computeAngle:function(i){var s=this,o=this.getMeta().count,u=s.getDataset(),h=s.getMeta();if(isNaN(u.data[i])||h.data[i].hidden)return 0;var f={chart:s.chart,dataIndex:i,dataset:u,datasetIndex:s.index};return l_([s.chart.options.elements.arc.angle,2*Math.PI/o],f,i)}});ie._set("pie",S.clone(ie.doughnut)),ie._set("pie",{cutoutPercentage:0});var c_=Af,Fr=S.valueOrDefault;ie._set("radar",{spanGaps:!1,scale:{type:"radialLinear"},elements:{line:{fill:"start",tension:0}}});var h_=Zt.extend({datasetElementType:Ct.Line,dataElementType:Ct.Point,linkScales:S.noop,_datasetElementOptions:["backgroundColor","borderWidth","borderColor","borderCapStyle","borderDash","borderDashOffset","borderJoinStyle","fill"],_dataElementOptions:{backgroundColor:"pointBackgroundColor",borderColor:"pointBorderColor",borderWidth:"pointBorderWidth",hitRadius:"pointHitRadius",hoverBackgroundColor:"pointHoverBackgroundColor",hoverBorderColor:"pointHoverBorderColor",hoverBorderWidth:"pointHoverBorderWidth",hoverRadius:"pointHoverRadius",pointStyle:"pointStyle",radius:"pointRadius",rotation:"pointRotation"},_getIndexScaleId:function(){return this.chart.scale.id},_getValueScaleId:function(){return this.chart.scale.id},update:function(i){var s=this,o=s.getMeta(),u=o.dataset,h=o.data||[],f=s.chart.scale,p=s._config,g,m;for(p.tension!==void 0&&p.lineTension===void 0&&(p.lineTension=p.tension),u._scale=f,u._datasetIndex=s.index,u._children=h,u._loop=!0,u._model=s._resolveDatasetElementOptions(u),u.pivot(),g=0,m=h.length;g<m;++g)s.updateElement(h[g],g,i);for(s.updateBezierControlPoints(),g=0,m=h.length;g<m;++g)h[g].pivot()},updateElement:function(i,s,o){var u=this,h=i.custom||{},f=u.getDataset(),p=u.chart.scale,g=p.getPointPositionForValue(s,f.data[s]),m=u._resolveDataElementOptions(i,s),b=u.getMeta().dataset._model,x=o?p.xCenter:g.x,w=o?p.yCenter:g.y;i._scale=p,i._options=m,i._datasetIndex=u.index,i._index=s,i._model={x,y:w,skip:h.skip||isNaN(x)||isNaN(w),radius:m.radius,pointStyle:m.pointStyle,rotation:m.rotation,backgroundColor:m.backgroundColor,borderColor:m.borderColor,borderWidth:m.borderWidth,tension:Fr(h.tension,b?b.tension:0),hitRadius:m.hitRadius}},_resolveDatasetElementOptions:function(){var i=this,s=i._config,o=i.chart.options,u=Zt.prototype._resolveDatasetElementOptions.apply(i,arguments);return u.spanGaps=Fr(s.spanGaps,o.spanGaps),u.tension=Fr(s.lineTension,o.elements.line.tension),u},updateBezierControlPoints:function(){var i=this,s=i.getMeta(),o=i.chart.chartArea,u=s.data||[],h,f,p,g;s.dataset._model.spanGaps&&(u=u.filter(function(b){return!b._model.skip}));function m(b,x,w){return Math.max(Math.min(b,w),x)}for(h=0,f=u.length;h<f;++h)p=u[h]._model,g=S.splineCurve(S.previousItem(u,h,!0)._model,p,S.nextItem(u,h,!0)._model,p.tension),p.controlPointPreviousX=m(g.previous.x,o.left,o.right),p.controlPointPreviousY=m(g.previous.y,o.top,o.bottom),p.controlPointNextX=m(g.next.x,o.left,o.right),p.controlPointNextY=m(g.next.y,o.top,o.bottom)},setHoverStyle:function(i){var s=i._model,o=i._options,u=S.getHoverColor;i.$previousStyle={backgroundColor:s.backgroundColor,borderColor:s.borderColor,borderWidth:s.borderWidth,radius:s.radius},s.backgroundColor=Fr(o.hoverBackgroundColor,u(o.backgroundColor)),s.borderColor=Fr(o.hoverBorderColor,u(o.borderColor)),s.borderWidth=Fr(o.hoverBorderWidth,o.borderWidth),s.radius=Fr(o.hoverRadius,o.radius)}});ie._set("scatter",{hover:{mode:"single"},scales:{xAxes:[{id:"x-axis-1",type:"linear",position:"bottom"}],yAxes:[{id:"y-axis-1",type:"linear",position:"left"}]},tooltips:{callbacks:{title:function(){return""},label:function(i){return"("+i.xLabel+", "+i.yLabel+")"}}}}),ie._set("global",{datasets:{scatter:{showLine:!1}}});var f_=If,Lf={bar:Of,bubble:r_,doughnut:Af,horizontalBar:i_,line:If,polarArea:u_,pie:c_,radar:h_,scatter:f_};function Nr(i,s){return i.native?{x:i.x,y:i.y}:S.getRelativePosition(i,s)}function ra(i,s){var o=i._getSortedVisibleDatasetMetas(),u,h,f,p,g,m;for(h=0,p=o.length;h<p;++h)for(u=o[h].data,f=0,g=u.length;f<g;++f)m=u[f],m._view.skip||s(m)}function Bl(i,s){var o=[];return ra(i,function(u){u.inRange(s.x,s.y)&&o.push(u)}),o}function zl(i,s,o,u){var h=Number.POSITIVE_INFINITY,f=[];return ra(i,function(p){if(!(o&&!p.inRange(s.x,s.y))){var g=p.getCenterPoint(),m=u(s,g);m<h?(f=[p],h=m):m===h&&f.push(p)}}),f}function Hl(i){var s=i.indexOf("x")!==-1,o=i.indexOf("y")!==-1;return function(u,h){var f=s?Math.abs(u.x-h.x):0,p=o?Math.abs(u.y-h.y):0;return Math.sqrt(Math.pow(f,2)+Math.pow(p,2))}}function Wl(i,s,o){var u=Nr(s,i);o.axis=o.axis||"x";var h=Hl(o.axis),f=o.intersect?Bl(i,u):zl(i,u,!1,h),p=[];return f.length?(i._getSortedVisibleDatasetMetas().forEach(function(g){var m=g.data[f[0]._index];m&&!m._view.skip&&p.push(m)}),p):[]}var gi={modes:{single:function(i,s){var o=Nr(s,i),u=[];return ra(i,function(h){if(h.inRange(o.x,o.y))return u.push(h),u}),u.slice(0,1)},label:Wl,index:Wl,dataset:function(i,s,o){var u=Nr(s,i);o.axis=o.axis||"xy";var h=Hl(o.axis),f=o.intersect?Bl(i,u):zl(i,u,!1,h);return f.length>0&&(f=i.getDatasetMeta(f[0]._datasetIndex).data),f},"x-axis":function(i,s){return Wl(i,s,{intersect:!1})},point:function(i,s){var o=Nr(s,i);return Bl(i,o)},nearest:function(i,s,o){var u=Nr(s,i);o.axis=o.axis||"xy";var h=Hl(o.axis);return zl(i,u,o.intersect,h)},x:function(i,s,o){var u=Nr(s,i),h=[],f=!1;return ra(i,function(p){p.inXRange(u.x)&&h.push(p),p.inRange(u.x,u.y)&&(f=!0)}),o.intersect&&!f&&(h=[]),h},y:function(i,s,o){var u=Nr(s,i),h=[],f=!1;return ra(i,function(p){p.inYRange(u.y)&&h.push(p),p.inRange(u.x,u.y)&&(f=!0)}),o.intersect&&!f&&(h=[]),h}}},Vl=S.extend;function ia(i,s){return S.where(i,function(o){return o.pos===s})}function hs(i,s){return i.sort(function(o,u){var h=s?u:o,f=s?o:u;return h.weight===f.weight?h.index-f.index:h.weight-f.weight})}function d_(i){var s=[],o,u,h;for(o=0,u=(i||[]).length;o<u;++o)h=i[o],s.push({index:o,box:h,pos:h.position,horizontal:h.isHorizontal(),weight:h.weight});return s}function p_(i,s){var o,u,h;for(o=0,u=i.length;o<u;++o)h=i[o],h.width=h.horizontal?h.box.fullWidth&&s.availableWidth:s.vBoxMaxWidth,h.height=h.horizontal&&s.hBoxMaxHeight}function m_(i){var s=d_(i),o=hs(ia(s,"left"),!0),u=hs(ia(s,"right")),h=hs(ia(s,"top"),!0),f=hs(ia(s,"bottom"));return{leftAndTop:o.concat(h),rightAndBottom:u.concat(f),chartArea:ia(s,"chartArea"),vertical:o.concat(u),horizontal:h.concat(f)}}function Ef(i,s,o,u){return Math.max(i[o],s[o])+Math.max(i[u],s[u])}function v_(i,s,o){var u=o.box,h=i.maxPadding,f,p;if(o.size&&(i[o.pos]-=o.size),o.size=o.horizontal?u.height:u.width,i[o.pos]+=o.size,u.getPadding){var g=u.getPadding();h.top=Math.max(h.top,g.top),h.left=Math.max(h.left,g.left),h.bottom=Math.max(h.bottom,g.bottom),h.right=Math.max(h.right,g.right)}if(f=s.outerWidth-Ef(h,i,"left","right"),p=s.outerHeight-Ef(h,i,"top","bottom"),f!==i.w||p!==i.h){i.w=f,i.h=p;var m=o.horizontal?[f,i.w]:[p,i.h];return m[0]!==m[1]&&(!isNaN(m[0])||!isNaN(m[1]))}}function g_(i){var s=i.maxPadding;function o(u){var h=Math.max(s[u]-i[u],0);return i[u]+=h,h}i.y+=o("top"),i.x+=o("left"),o("right"),o("bottom")}function y_(i,s){var o=s.maxPadding;function u(h){var f={left:0,top:0,right:0,bottom:0};return h.forEach(function(p){f[p]=Math.max(s[p],o[p])}),f}return u(i?["left","right"]:["top","bottom"])}function fs(i,s,o){var u=[],h,f,p,g,m,b;for(h=0,f=i.length;h<f;++h)p=i[h],g=p.box,g.update(p.width||s.w,p.height||s.h,y_(p.horizontal,s)),v_(s,o,p)&&(b=!0,u.length&&(m=!0)),g.fullWidth||u.push(p);return m&&fs(u,s,o)||b}function Pf(i,s,o){var u=o.padding,h=s.x,f=s.y,p,g,m,b;for(p=0,g=i.length;p<g;++p)m=i[p],b=m.box,m.horizontal?(b.left=b.fullWidth?u.left:s.left,b.right=b.fullWidth?o.outerWidth-u.right:s.left+s.w,b.top=f,b.bottom=f+b.height,b.width=b.right-b.left,f=b.bottom):(b.left=h,b.right=h+b.width,b.top=s.top,b.bottom=s.top+s.h,b.height=b.bottom-b.top,h=b.right);s.x=h,s.y=f}ie._set("global",{layout:{padding:{top:0,right:0,bottom:0,left:0}}});var Kt={defaults:{},addBox:function(i,s){i.boxes||(i.boxes=[]),s.fullWidth=s.fullWidth||!1,s.position=s.position||"top",s.weight=s.weight||0,s._layers=s._layers||function(){return[{z:0,draw:function(){s.draw.apply(s,arguments)}}]},i.boxes.push(s)},removeBox:function(i,s){var o=i.boxes?i.boxes.indexOf(s):-1;o!==-1&&i.boxes.splice(o,1)},configure:function(i,s,o){for(var u=["fullWidth","position","weight"],h=u.length,f=0,p;f<h;++f)p=u[f],o.hasOwnProperty(p)&&(s[p]=o[p])},update:function(i,s,o){if(i){var u=i.options.layout||{},h=S.options.toPadding(u.padding),f=s-h.width,p=o-h.height,g=m_(i.boxes),m=g.vertical,b=g.horizontal,x=Object.freeze({outerWidth:s,outerHeight:o,padding:h,availableWidth:f,vBoxMaxWidth:f/2/m.length,hBoxMaxHeight:p/2}),w=Vl({maxPadding:Vl({},h),w:f,h:p,x:h.left,y:h.top},h);p_(m.concat(b),x),fs(m,w,x),fs(b,w,x)&&fs(m,w,x),g_(w),Pf(g.leftAndTop,w,x),w.x+=w.w,w.y+=w.h,Pf(g.rightAndBottom,w,x),i.chartArea={left:w.left,top:w.top,right:w.left+w.w,bottom:w.top+w.h},S.each(g.chartArea,function(C){var O=C.box;Vl(O,i.chartArea),O.update(w.w,w.h)})}}},b_={acquireContext:function(i){return i&&i.canvas&&(i=i.canvas),i&&i.getContext("2d")||null}},__=`/*\r
 * DOM element rendering detection\r
 * https://davidwalsh.name/detect-node-insertion\r
 */\r
@keyframes chartjs-render-animation {\r
	from { opacity: 0.99; }\r
	to { opacity: 1; }\r
}\r
\r
.chartjs-render-monitor {\r
	animation: chartjs-render-animation 0.001s;\r
}\r
\r
/*\r
 * DOM element resizing detection\r
 * https://github.com/marcj/css-element-queries\r
 */\r
.chartjs-size-monitor,\r
.chartjs-size-monitor-expand,\r
.chartjs-size-monitor-shrink {\r
	position: absolute;\r
	direction: ltr;\r
	left: 0;\r
	top: 0;\r
	right: 0;\r
	bottom: 0;\r
	overflow: hidden;\r
	pointer-events: none;\r
	visibility: hidden;\r
	z-index: -1;\r
}\r
\r
.chartjs-size-monitor-expand > div {\r
	position: absolute;\r
	width: 1000000px;\r
	height: 1000000px;\r
	left: 0;\r
	top: 0;\r
}\r
\r
.chartjs-size-monitor-shrink > div {\r
	position: absolute;\r
	width: 200%;\r
	height: 200%;\r
	left: 0;\r
	top: 0;\r
}\r
`,x_=Object.freeze({__proto__:null,default:__}),w_=a(x_),_t="$chartjs",jl="chartjs-",Ul=jl+"size-monitor",Rf=jl+"render-monitor",S_=jl+"render-animation",Ff=["animationstart","webkitAnimationStart"],k_={touchstart:"mousedown",touchmove:"mousemove",touchend:"mouseup",pointerenter:"mouseenter",pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointerleave:"mouseout",pointerout:"mouseout"};function Nf(i,s){var o=S.getStyle(i,s),u=o&&o.match(/^(\d+)(\.\d+)?px$/);return u?Number(u[1]):void 0}function C_(i,s){var o=i.style,u=i.getAttribute("height"),h=i.getAttribute("width");if(i[_t]={initial:{height:u,width:h,style:{display:o.display,height:o.height,width:o.width}}},o.display=o.display||"block",h===null||h===""){var f=Nf(i,"width");f!==void 0&&(i.width=f)}if(u===null||u==="")if(i.style.height==="")i.height=i.width/(s.options.aspectRatio||2);else{var p=Nf(i,"height");f!==void 0&&(i.height=p)}return i}var $_=function(){var i=!1;try{var s=Object.defineProperty({},"passive",{get:function(){i=!0}});window.addEventListener("e",null,s)}catch{}return i}(),Bf=$_?{passive:!0}:!1;function aa(i,s,o){i.addEventListener(s,o,Bf)}function Yl(i,s,o){i.removeEventListener(s,o,Bf)}function ql(i,s,o,u,h){return{type:i,chart:s,native:h||null,x:o!==void 0?o:null,y:u!==void 0?u:null}}function M_(i,s){var o=k_[i.type]||i.type,u=S.getRelativePosition(i,s);return ql(o,s,u.x,u.y,i)}function T_(i,s){var o=!1,u=[];return function(){u=Array.prototype.slice.call(arguments),s=s||this,o||(o=!0,S.requestAnimFrame.call(window,function(){o=!1,i.apply(s,u)}))}}function sa(i){var s=document.createElement("div");return s.className=i||"",s}function O_(i){var s=1e6,o=sa(Ul),u=sa(Ul+"-expand"),h=sa(Ul+"-shrink");u.appendChild(sa()),h.appendChild(sa()),o.appendChild(u),o.appendChild(h),o._reset=function(){u.scrollLeft=s,u.scrollTop=s,h.scrollLeft=s,h.scrollTop=s};var f=function(){o._reset(),i()};return aa(u,"scroll",f.bind(u,"expand")),aa(h,"scroll",f.bind(h,"shrink")),o}function A_(i,s){var o=i[_t]||(i[_t]={}),u=o.renderProxy=function(h){h.animationName===S_&&s()};S.each(Ff,function(h){aa(i,h,u)}),o.reflow=!!i.offsetParent,i.classList.add(Rf)}function D_(i){var s=i[_t]||{},o=s.renderProxy;o&&(S.each(Ff,function(u){Yl(i,u,o)}),delete s.renderProxy),i.classList.remove(Rf)}function I_(i,s,o){var u=i[_t]||(i[_t]={}),h=u.resizer=O_(T_(function(){if(u.resizer){var f=o.options.maintainAspectRatio&&i.parentNode,p=f?f.clientWidth:0;s(ql("resize",o)),f&&f.clientWidth<p&&o.canvas&&s(ql("resize",o))}}));A_(i,function(){if(u.resizer){var f=i.parentNode;f&&f!==h.parentNode&&f.insertBefore(h,f.firstChild),h._reset()}})}function L_(i){var s=i[_t]||{},o=s.resizer;delete s.resizer,D_(i),o&&o.parentNode&&o.parentNode.removeChild(o)}function E_(i,s){var o=i[_t]||(i[_t]={});if(!o.containsStyles){o.containsStyles=!0,s=`/* Chart.js */
`+s;var u=document.createElement("style");u.setAttribute("type","text/css"),u.appendChild(document.createTextNode(s)),i.appendChild(u)}}var zf={disableCSSInjection:!1,_enabled:typeof window<"u"&&typeof document<"u",_ensureLoaded:function(i){if(!this.disableCSSInjection){var s=i.getRootNode?i.getRootNode():document,o=s.host?s:document.head;E_(o,w_)}},acquireContext:function(i,s){typeof i=="string"?i=document.getElementById(i):i.length&&(i=i[0]),i&&i.canvas&&(i=i.canvas);var o=i&&i.getContext&&i.getContext("2d");return o&&o.canvas===i?(this._ensureLoaded(i),C_(i,s),o):null},releaseContext:function(i){var s=i.canvas;if(s[_t]){var o=s[_t].initial;["height","width"].forEach(function(u){var h=o[u];S.isNullOrUndef(h)?s.removeAttribute(u):s.setAttribute(u,h)}),S.each(o.style||{},function(u,h){s.style[h]=u}),s.width=s.width,delete s[_t]}},addEventListener:function(i,s,o){var u=i.canvas;if(s==="resize"){I_(u,o,i);return}var h=o[_t]||(o[_t]={}),f=h.proxies||(h.proxies={}),p=f[i.id+"_"+s]=function(g){o(M_(g,i))};aa(u,s,p)},removeEventListener:function(i,s,o){var u=i.canvas;if(s==="resize"){L_(u);return}var h=o[_t]||{},f=h.proxies||{},p=f[i.id+"_"+s];p&&Yl(u,s,p)}};S.addEvent=aa,S.removeEvent=Yl;var P_=zf._enabled?zf:b_,yi=S.extend({initialize:function(){},acquireContext:function(){},releaseContext:function(){},addEventListener:function(){},removeEventListener:function(){}},P_);ie._set("global",{plugins:{}});var Ne={_plugins:[],_cacheId:0,register:function(i){var s=this._plugins;[].concat(i).forEach(function(o){s.indexOf(o)===-1&&s.push(o)}),this._cacheId++},unregister:function(i){var s=this._plugins;[].concat(i).forEach(function(o){var u=s.indexOf(o);u!==-1&&s.splice(u,1)}),this._cacheId++},clear:function(){this._plugins=[],this._cacheId++},count:function(){return this._plugins.length},getAll:function(){return this._plugins},notify:function(i,s,o){var u=this.descriptors(i),h=u.length,f,p,g,m,b;for(f=0;f<h;++f)if(p=u[f],g=p.plugin,b=g[s],typeof b=="function"&&(m=[i].concat(o||[]),m.push(p.options),b.apply(g,m)===!1))return!1;return!0},descriptors:function(i){var s=i.$plugins||(i.$plugins={});if(s.id===this._cacheId)return s.descriptors;var o=[],u=[],h=i&&i.config||{},f=h.options&&h.options.plugins||{};return this._plugins.concat(h.plugins||[]).forEach(function(p){var g=o.indexOf(p);if(g===-1){var m=p.id,b=f[m];b!==!1&&(b===!0&&(b=S.clone(ie.global.plugins[m])),o.push(p),u.push({plugin:p,options:b||{}}))}}),s.descriptors=u,s.id=this._cacheId,u},_invalidate:function(i){delete i.$plugins}},oa={constructors:{},defaults:{},registerScaleType:function(i,s,o){this.constructors[i]=s,this.defaults[i]=S.clone(o)},getScaleConstructor:function(i){return this.constructors.hasOwnProperty(i)?this.constructors[i]:void 0},getScaleDefaults:function(i){return this.defaults.hasOwnProperty(i)?S.merge(Object.create(null),[ie.scale,this.defaults[i]]):{}},updateScaleDefaults:function(i,s){var o=this;o.defaults.hasOwnProperty(i)&&(o.defaults[i]=S.extend(o.defaults[i],s))},addScalesToLayout:function(i){S.each(i.scales,function(s){s.fullWidth=s.options.fullWidth,s.position=s.options.position,s.weight=s.options.weight,Kt.addBox(i,s)})}},Fn=S.valueOrDefault,Gl=S.rtl.getRtlAdapter;ie._set("global",{tooltips:{enabled:!0,custom:null,mode:"nearest",position:"average",intersect:!0,backgroundColor:"rgba(0,0,0,0.8)",titleFontStyle:"bold",titleSpacing:2,titleMarginBottom:6,titleFontColor:"#fff",titleAlign:"left",bodySpacing:2,bodyFontColor:"#fff",bodyAlign:"left",footerFontStyle:"bold",footerSpacing:2,footerMarginTop:6,footerFontColor:"#fff",footerAlign:"left",yPadding:6,xPadding:6,caretPadding:2,caretSize:5,cornerRadius:6,multiKeyBackground:"#fff",displayColors:!0,borderColor:"rgba(0,0,0,0)",borderWidth:0,callbacks:{beforeTitle:S.noop,title:function(i,s){var o="",u=s.labels,h=u?u.length:0;if(i.length>0){var f=i[0];f.label?o=f.label:f.xLabel?o=f.xLabel:h>0&&f.index<h&&(o=u[f.index])}return o},afterTitle:S.noop,beforeBody:S.noop,beforeLabel:S.noop,label:function(i,s){var o=s.datasets[i.datasetIndex].label||"";return o&&(o+=": "),S.isNullOrUndef(i.value)?o+=i.yLabel:o+=i.value,o},labelColor:function(i,s){var o=s.getDatasetMeta(i.datasetIndex),u=o.data[i.index],h=u._view;return{borderColor:h.borderColor,backgroundColor:h.backgroundColor}},labelTextColor:function(){return this._options.bodyFontColor},afterLabel:S.noop,afterBody:S.noop,beforeFooter:S.noop,footer:S.noop,afterFooter:S.noop}}});var Hf={average:function(i){if(!i.length)return!1;var s,o,u=0,h=0,f=0;for(s=0,o=i.length;s<o;++s){var p=i[s];if(p&&p.hasValue()){var g=p.tooltipPosition();u+=g.x,h+=g.y,++f}}return{x:u/f,y:h/f}},nearest:function(i,s){var o=s.x,u=s.y,h=Number.POSITIVE_INFINITY,f,p,g;for(f=0,p=i.length;f<p;++f){var m=i[f];if(m&&m.hasValue()){var b=m.getCenterPoint(),x=S.distanceBetweenPoints(s,b);x<h&&(h=x,g=m)}}if(g){var w=g.tooltipPosition();o=w.x,u=w.y}return{x:o,y:u}}};function Sn(i,s){return s&&(S.isArray(s)?Array.prototype.push.apply(i,s):i.push(s)),i}function Nn(i){return(typeof i=="string"||i instanceof String)&&i.indexOf(`
`)>-1?i.split(`
`):i}function R_(i){var s=i._xScale,o=i._yScale||i._scale,u=i._index,h=i._datasetIndex,f=i._chart.getDatasetMeta(h).controller,p=f._getIndexScale(),g=f._getValueScale();return{xLabel:s?s.getLabelForIndex(u,h):"",yLabel:o?o.getLabelForIndex(u,h):"",label:p?""+p.getLabelForIndex(u,h):"",value:g?""+g.getLabelForIndex(u,h):"",index:u,datasetIndex:h,x:i._model.x,y:i._model.y}}function Wf(i){var s=ie.global;return{xPadding:i.xPadding,yPadding:i.yPadding,xAlign:i.xAlign,yAlign:i.yAlign,rtl:i.rtl,textDirection:i.textDirection,bodyFontColor:i.bodyFontColor,_bodyFontFamily:Fn(i.bodyFontFamily,s.defaultFontFamily),_bodyFontStyle:Fn(i.bodyFontStyle,s.defaultFontStyle),_bodyAlign:i.bodyAlign,bodyFontSize:Fn(i.bodyFontSize,s.defaultFontSize),bodySpacing:i.bodySpacing,titleFontColor:i.titleFontColor,_titleFontFamily:Fn(i.titleFontFamily,s.defaultFontFamily),_titleFontStyle:Fn(i.titleFontStyle,s.defaultFontStyle),titleFontSize:Fn(i.titleFontSize,s.defaultFontSize),_titleAlign:i.titleAlign,titleSpacing:i.titleSpacing,titleMarginBottom:i.titleMarginBottom,footerFontColor:i.footerFontColor,_footerFontFamily:Fn(i.footerFontFamily,s.defaultFontFamily),_footerFontStyle:Fn(i.footerFontStyle,s.defaultFontStyle),footerFontSize:Fn(i.footerFontSize,s.defaultFontSize),_footerAlign:i.footerAlign,footerSpacing:i.footerSpacing,footerMarginTop:i.footerMarginTop,caretSize:i.caretSize,cornerRadius:i.cornerRadius,backgroundColor:i.backgroundColor,opacity:0,legendColorBackground:i.multiKeyBackground,displayColors:i.displayColors,borderColor:i.borderColor,borderWidth:i.borderWidth}}function F_(i,s){var o=i._chart.ctx,u=s.yPadding*2,h=0,f=s.body,p=f.reduce(function(A,I){return A+I.before.length+I.lines.length+I.after.length},0);p+=s.beforeBody.length+s.afterBody.length;var g=s.title.length,m=s.footer.length,b=s.titleFontSize,x=s.bodyFontSize,w=s.footerFontSize;u+=g*b,u+=g?(g-1)*s.titleSpacing:0,u+=g?s.titleMarginBottom:0,u+=p*x,u+=p?(p-1)*s.bodySpacing:0,u+=m?s.footerMarginTop:0,u+=m*w,u+=m?(m-1)*s.footerSpacing:0;var C=0,O=function(A){h=Math.max(h,o.measureText(A).width+C)};return o.font=S.fontString(b,s._titleFontStyle,s._titleFontFamily),S.each(s.title,O),o.font=S.fontString(x,s._bodyFontStyle,s._bodyFontFamily),S.each(s.beforeBody.concat(s.afterBody),O),C=s.displayColors?x+2:0,S.each(f,function(A){S.each(A.before,O),S.each(A.lines,O),S.each(A.after,O)}),C=0,o.font=S.fontString(w,s._footerFontStyle,s._footerFontFamily),S.each(s.footer,O),h+=2*s.xPadding,{width:h,height:u}}function N_(i,s){var o=i._model,u=i._chart,h=i._chart.chartArea,f="center",p="center";o.y<s.height?p="top":o.y>u.height-s.height&&(p="bottom");var g,m,b,x,w,C=(h.left+h.right)/2,O=(h.top+h.bottom)/2;p==="center"?(g=function(I){return I<=C},m=function(I){return I>C}):(g=function(I){return I<=s.width/2},m=function(I){return I>=u.width-s.width/2}),b=function(I){return I+s.width+o.caretSize+o.caretPadding>u.width},x=function(I){return I-s.width-o.caretSize-o.caretPadding<0},w=function(I){return I<=O?"top":"bottom"},g(o.x)?(f="left",b(o.x)&&(f="center",p=w(o.y))):m(o.x)&&(f="right",x(o.x)&&(f="center",p=w(o.y)));var A=i._options;return{xAlign:A.xAlign?A.xAlign:f,yAlign:A.yAlign?A.yAlign:p}}function B_(i,s,o,u){var h=i.x,f=i.y,p=i.caretSize,g=i.caretPadding,m=i.cornerRadius,b=o.xAlign,x=o.yAlign,w=p+g,C=m+g;return b==="right"?h-=s.width:b==="center"&&(h-=s.width/2,h+s.width>u.width&&(h=u.width-s.width),h<0&&(h=0)),x==="top"?f+=w:x==="bottom"?f-=s.height+w:f-=s.height/2,x==="center"?b==="left"?h+=w:b==="right"&&(h-=w):b==="left"?h-=C:b==="right"&&(h+=C),{x:h,y:f}}function ds(i,s){return s==="center"?i.x+i.width/2:s==="right"?i.x+i.width-i.xPadding:i.x+i.xPadding}function Vf(i){return Sn([],Nn(i))}var z_=xn.extend({initialize:function(){this._model=Wf(this._options),this._lastActive=[]},getTitle:function(){var i=this,s=i._options,o=s.callbacks,u=o.beforeTitle.apply(i,arguments),h=o.title.apply(i,arguments),f=o.afterTitle.apply(i,arguments),p=[];return p=Sn(p,Nn(u)),p=Sn(p,Nn(h)),p=Sn(p,Nn(f)),p},getBeforeBody:function(){return Vf(this._options.callbacks.beforeBody.apply(this,arguments))},getBody:function(i,s){var o=this,u=o._options.callbacks,h=[];return S.each(i,function(f){var p={before:[],lines:[],after:[]};Sn(p.before,Nn(u.beforeLabel.call(o,f,s))),Sn(p.lines,u.label.call(o,f,s)),Sn(p.after,Nn(u.afterLabel.call(o,f,s))),h.push(p)}),h},getAfterBody:function(){return Vf(this._options.callbacks.afterBody.apply(this,arguments))},getFooter:function(){var i=this,s=i._options.callbacks,o=s.beforeFooter.apply(i,arguments),u=s.footer.apply(i,arguments),h=s.afterFooter.apply(i,arguments),f=[];return f=Sn(f,Nn(o)),f=Sn(f,Nn(u)),f=Sn(f,Nn(h)),f},update:function(i){var s=this,o=s._options,u=s._model,h=s._model=Wf(o),f=s._active,p=s._data,g={xAlign:u.xAlign,yAlign:u.yAlign},m={x:u.x,y:u.y},b={width:u.width,height:u.height},x={x:u.caretX,y:u.caretY},w,C;if(f.length){h.opacity=1;var O=[],A=[];x=Hf[o.position].call(s,f,s._eventPosition);var I=[];for(w=0,C=f.length;w<C;++w)I.push(R_(f[w]));o.filter&&(I=I.filter(function(E){return o.filter(E,p)})),o.itemSort&&(I=I.sort(function(E,H){return o.itemSort(E,H,p)})),S.each(I,function(E){O.push(o.callbacks.labelColor.call(s,E,s._chart)),A.push(o.callbacks.labelTextColor.call(s,E,s._chart))}),h.title=s.getTitle(I,p),h.beforeBody=s.getBeforeBody(I,p),h.body=s.getBody(I,p),h.afterBody=s.getAfterBody(I,p),h.footer=s.getFooter(I,p),h.x=x.x,h.y=x.y,h.caretPadding=o.caretPadding,h.labelColors=O,h.labelTextColors=A,h.dataPoints=I,b=F_(this,h),g=N_(this,b),m=B_(h,b,g,s._chart)}else h.opacity=0;return h.xAlign=g.xAlign,h.yAlign=g.yAlign,h.x=m.x,h.y=m.y,h.width=b.width,h.height=b.height,h.caretX=x.x,h.caretY=x.y,s._model=h,i&&o.custom&&o.custom.call(s,h),s},drawCaret:function(i,s){var o=this._chart.ctx,u=this._view,h=this.getCaretPosition(i,s,u);o.lineTo(h.x1,h.y1),o.lineTo(h.x2,h.y2),o.lineTo(h.x3,h.y3)},getCaretPosition:function(i,s,o){var u,h,f,p,g,m,b=o.caretSize,x=o.cornerRadius,w=o.xAlign,C=o.yAlign,O=i.x,A=i.y,I=s.width,E=s.height;if(C==="center")g=A+E/2,w==="left"?(u=O,h=u-b,f=u,p=g+b,m=g-b):(u=O+I,h=u+b,f=u,p=g-b,m=g+b);else if(w==="left"?(h=O+x+b,u=h-b,f=h+b):w==="right"?(h=O+I-x-b,u=h-b,f=h+b):(h=o.caretX,u=h-b,f=h+b),C==="top")p=A,g=p-b,m=p;else{p=A+E,g=p+b,m=p;var H=f;f=u,u=H}return{x1:u,x2:h,x3:f,y1:p,y2:g,y3:m}},drawTitle:function(i,s,o){var u=s.title,h=u.length,f,p,g;if(h){var m=Gl(s.rtl,s.x,s.width);for(i.x=ds(s,s._titleAlign),o.textAlign=m.textAlign(s._titleAlign),o.textBaseline="middle",f=s.titleFontSize,p=s.titleSpacing,o.fillStyle=s.titleFontColor,o.font=S.fontString(f,s._titleFontStyle,s._titleFontFamily),g=0;g<h;++g)o.fillText(u[g],m.x(i.x),i.y+f/2),i.y+=f+p,g+1===h&&(i.y+=s.titleMarginBottom-p)}},drawBody:function(i,s,o){var u=s.bodyFontSize,h=s.bodySpacing,f=s._bodyAlign,p=s.body,g=s.displayColors,m=0,b=g?ds(s,"left"):0,x=Gl(s.rtl,s.x,s.width),w=function(De){o.fillText(De,x.x(i.x+m),i.y+u/2),i.y+=u+h},C,O,A,I,E,H,q,J,ge=x.textAlign(f);for(o.textAlign=f,o.textBaseline="middle",o.font=S.fontString(u,s._bodyFontStyle,s._bodyFontFamily),i.x=ds(s,ge),o.fillStyle=s.bodyFontColor,S.each(s.beforeBody,w),m=g&&ge!=="right"?f==="center"?u/2+1:u+2:0,E=0,q=p.length;E<q;++E){for(C=p[E],O=s.labelTextColors[E],A=s.labelColors[E],o.fillStyle=O,S.each(C.before,w),I=C.lines,H=0,J=I.length;H<J;++H){if(g){var pe=x.x(b);o.fillStyle=s.legendColorBackground,o.fillRect(x.leftForLtr(pe,u),i.y,u,u),o.lineWidth=1,o.strokeStyle=A.borderColor,o.strokeRect(x.leftForLtr(pe,u),i.y,u,u),o.fillStyle=A.backgroundColor,o.fillRect(x.leftForLtr(x.xPlus(pe,1),u-2),i.y+1,u-2,u-2),o.fillStyle=O}w(I[H])}S.each(C.after,w)}m=0,S.each(s.afterBody,w),i.y-=h},drawFooter:function(i,s,o){var u=s.footer,h=u.length,f,p;if(h){var g=Gl(s.rtl,s.x,s.width);for(i.x=ds(s,s._footerAlign),i.y+=s.footerMarginTop,o.textAlign=g.textAlign(s._footerAlign),o.textBaseline="middle",f=s.footerFontSize,o.fillStyle=s.footerFontColor,o.font=S.fontString(f,s._footerFontStyle,s._footerFontFamily),p=0;p<h;++p)o.fillText(u[p],g.x(i.x),i.y+f/2),i.y+=f+s.footerSpacing}},drawBackground:function(i,s,o,u){o.fillStyle=s.backgroundColor,o.strokeStyle=s.borderColor,o.lineWidth=s.borderWidth;var h=s.xAlign,f=s.yAlign,p=i.x,g=i.y,m=u.width,b=u.height,x=s.cornerRadius;o.beginPath(),o.moveTo(p+x,g),f==="top"&&this.drawCaret(i,u),o.lineTo(p+m-x,g),o.quadraticCurveTo(p+m,g,p+m,g+x),f==="center"&&h==="right"&&this.drawCaret(i,u),o.lineTo(p+m,g+b-x),o.quadraticCurveTo(p+m,g+b,p+m-x,g+b),f==="bottom"&&this.drawCaret(i,u),o.lineTo(p+x,g+b),o.quadraticCurveTo(p,g+b,p,g+b-x),f==="center"&&h==="left"&&this.drawCaret(i,u),o.lineTo(p,g+x),o.quadraticCurveTo(p,g,p+x,g),o.closePath(),o.fill(),s.borderWidth>0&&o.stroke()},draw:function(){var i=this._chart.ctx,s=this._view;if(s.opacity!==0){var o={width:s.width,height:s.height},u={x:s.x,y:s.y},h=Math.abs(s.opacity<.001)?0:s.opacity,f=s.title.length||s.beforeBody.length||s.body.length||s.afterBody.length||s.footer.length;this._options.enabled&&f&&(i.save(),i.globalAlpha=h,this.drawBackground(u,s,i,o),u.y+=s.yPadding,S.rtl.overrideTextDirection(i,s.textDirection),this.drawTitle(u,s,i),this.drawBody(u,s,i),this.drawFooter(u,s,i),S.rtl.restoreTextDirection(i,s.textDirection),i.restore())}},handleEvent:function(i){var s=this,o=s._options,u=!1;return s._lastActive=s._lastActive||[],i.type==="mouseout"?s._active=[]:(s._active=s._chart.getElementsAtEventForMode(i,o.mode,o),o.reverse&&s._active.reverse()),u=!S.arrayEquals(s._active,s._lastActive),u&&(s._lastActive=s._active,(o.enabled||o.custom)&&(s._eventPosition={x:i.x,y:i.y},s.update(!0),s.pivot())),u}}),H_=Hf,Zl=z_;Zl.positioners=H_;var Kl=S.valueOrDefault;ie._set("global",{elements:{},events:["mousemove","mouseout","click","touchstart","touchmove"],hover:{onHover:null,mode:"nearest",intersect:!0,animationDuration:400},onClick:null,maintainAspectRatio:!0,responsive:!0,responsiveAnimationDuration:0});function jf(){return S.merge(Object.create(null),[].slice.call(arguments),{merger:function(i,s,o,u){if(i==="xAxes"||i==="yAxes"){var h=o[i].length,f,p,g;for(s[i]||(s[i]=[]),f=0;f<h;++f)g=o[i][f],p=Kl(g.type,i==="xAxes"?"category":"linear"),f>=s[i].length&&s[i].push({}),!s[i][f].type||g.type&&g.type!==s[i][f].type?S.merge(s[i][f],[oa.getScaleDefaults(p),g]):S.merge(s[i][f],g)}else S._merger(i,s,o,u)}})}function Xl(){return S.merge(Object.create(null),[].slice.call(arguments),{merger:function(i,s,o,u){var h=s[i]||Object.create(null),f=o[i];i==="scales"?s[i]=jf(h,f):i==="scale"?s[i]=S.merge(h,[oa.getScaleDefaults(f.type),f]):S._merger(i,s,o,u)}})}function W_(i){i=i||Object.create(null);var s=i.data=i.data||{};return s.datasets=s.datasets||[],s.labels=s.labels||[],i.options=Xl(ie.global,ie[i.type],i.options||{}),i}function V_(i){var s=i.options;S.each(i.scales,function(o){Kt.removeBox(i,o)}),s=Xl(ie.global,ie[i.config.type],s),i.options=i.config.options=s,i.ensureScalesHaveIDs(),i.buildOrUpdateScales(),i.tooltip._options=s.tooltips,i.tooltip.initialize()}function Uf(i,s,o){var u,h=function(f){return f.id===u};do u=s+o++;while(S.findIndex(i,h)>=0);return u}function Yf(i){return i==="top"||i==="bottom"}function qf(i,s){return function(o,u){return o[i]===u[i]?o[s]-u[s]:o[i]-u[i]}}var or=function(i,s){return this.construct(i,s),this};S.extend(or.prototype,{construct:function(i,s){var o=this;s=W_(s);var u=yi.acquireContext(i,s),h=u&&u.canvas,f=h&&h.height,p=h&&h.width;if(o.id=S.uid(),o.ctx=u,o.canvas=h,o.config=s,o.width=p,o.height=f,o.aspectRatio=f?p/f:null,o.options=s.options,o._bufferedRender=!1,o._layers=[],o.chart=o,o.controller=o,or.instances[o.id]=o,Object.defineProperty(o,"data",{get:function(){return o.config.data},set:function(g){o.config.data=g}}),!u||!h){console.error("Failed to create chart: can't acquire context from the given item");return}o.initialize(),o.update()},initialize:function(){var i=this;return Ne.notify(i,"beforeInit"),S.retinaScale(i,i.options.devicePixelRatio),i.bindEvents(),i.options.responsive&&i.resize(!0),i.initToolTip(),Ne.notify(i,"afterInit"),i},clear:function(){return S.canvas.clear(this),this},stop:function(){return Pl.cancelAnimation(this),this},resize:function(i){var s=this,o=s.options,u=s.canvas,h=o.maintainAspectRatio&&s.aspectRatio||null,f=Math.max(0,Math.floor(S.getMaximumWidth(u))),p=Math.max(0,Math.floor(h?f/h:S.getMaximumHeight(u)));if(!(s.width===f&&s.height===p)&&(u.width=s.width=f,u.height=s.height=p,u.style.width=f+"px",u.style.height=p+"px",S.retinaScale(s,o.devicePixelRatio),!i)){var g={width:f,height:p};Ne.notify(s,"resize",[g]),o.onResize&&o.onResize(s,g),s.stop(),s.update({duration:o.responsiveAnimationDuration})}},ensureScalesHaveIDs:function(){var i=this.options,s=i.scales||{},o=i.scale;S.each(s.xAxes,function(u,h){u.id||(u.id=Uf(s.xAxes,"x-axis-",h))}),S.each(s.yAxes,function(u,h){u.id||(u.id=Uf(s.yAxes,"y-axis-",h))}),o&&(o.id=o.id||"scale")},buildOrUpdateScales:function(){var i=this,s=i.options,o=i.scales||{},u=[],h=Object.keys(o).reduce(function(f,p){return f[p]=!1,f},{});s.scales&&(u=u.concat((s.scales.xAxes||[]).map(function(f){return{options:f,dtype:"category",dposition:"bottom"}}),(s.scales.yAxes||[]).map(function(f){return{options:f,dtype:"linear",dposition:"left"}}))),s.scale&&u.push({options:s.scale,dtype:"radialLinear",isDefault:!0,dposition:"chartArea"}),S.each(u,function(f){var p=f.options,g=p.id,m=Kl(p.type,f.dtype);Yf(p.position)!==Yf(f.dposition)&&(p.position=f.dposition),h[g]=!0;var b=null;if(g in o&&o[g].type===m)b=o[g],b.options=p,b.ctx=i.ctx,b.chart=i;else{var x=oa.getScaleConstructor(m);if(!x)return;b=new x({id:g,type:m,options:p,ctx:i.ctx,chart:i}),o[b.id]=b}b.mergeTicksOptions(),f.isDefault&&(i.scale=b)}),S.each(h,function(f,p){f||delete o[p]}),i.scales=o,oa.addScalesToLayout(this)},buildOrUpdateControllers:function(){var i=this,s=[],o=i.data.datasets,u,h;for(u=0,h=o.length;u<h;u++){var f=o[u],p=i.getDatasetMeta(u),g=f.type||i.config.type;if(p.type&&p.type!==g&&(i.destroyDatasetMeta(u),p=i.getDatasetMeta(u)),p.type=g,p.order=f.order||0,p.index=u,p.controller)p.controller.updateIndex(u),p.controller.linkScales();else{var m=Lf[p.type];if(m===void 0)throw new Error('"'+p.type+'" is not a chart type.');p.controller=new m(i,u),s.push(p.controller)}}return s},resetElements:function(){var i=this;S.each(i.data.datasets,function(s,o){i.getDatasetMeta(o).controller.reset()},i)},reset:function(){this.resetElements(),this.tooltip.initialize()},update:function(i){var s=this,o,u;if((!i||typeof i!="object")&&(i={duration:i,lazy:arguments[1]}),V_(s),Ne._invalidate(s),Ne.notify(s,"beforeUpdate")!==!1){s.tooltip._data=s.data;var h=s.buildOrUpdateControllers();for(o=0,u=s.data.datasets.length;o<u;o++)s.getDatasetMeta(o).controller.buildOrUpdateElements();s.updateLayout(),s.options.animation&&s.options.animation.duration&&S.each(h,function(f){f.reset()}),s.updateDatasets(),s.tooltip.initialize(),s.lastActive=[],Ne.notify(s,"afterUpdate"),s._layers.sort(qf("z","_idx")),s._bufferedRender?s._bufferedRequest={duration:i.duration,easing:i.easing,lazy:i.lazy}:s.render(i)}},updateLayout:function(){var i=this;Ne.notify(i,"beforeLayout")!==!1&&(Kt.update(this,this.width,this.height),i._layers=[],S.each(i.boxes,function(s){s._configure&&s._configure(),i._layers.push.apply(i._layers,s._layers())},i),i._layers.forEach(function(s,o){s._idx=o}),Ne.notify(i,"afterScaleUpdate"),Ne.notify(i,"afterLayout"))},updateDatasets:function(){var i=this;if(Ne.notify(i,"beforeDatasetsUpdate")!==!1){for(var s=0,o=i.data.datasets.length;s<o;++s)i.updateDataset(s);Ne.notify(i,"afterDatasetsUpdate")}},updateDataset:function(i){var s=this,o=s.getDatasetMeta(i),u={meta:o,index:i};Ne.notify(s,"beforeDatasetUpdate",[u])!==!1&&(o.controller._update(),Ne.notify(s,"afterDatasetUpdate",[u]))},render:function(i){var s=this;(!i||typeof i!="object")&&(i={duration:i,lazy:arguments[1]});var o=s.options.animation,u=Kl(i.duration,o&&o.duration),h=i.lazy;if(Ne.notify(s,"beforeRender")!==!1){var f=function(g){Ne.notify(s,"afterRender"),S.callback(o&&o.onComplete,[g],s)};if(o&&u){var p=new El({numSteps:u/16.66,easing:i.easing||o.easing,render:function(g,m){var b=S.easing.effects[m.easing],x=m.currentStep,w=x/m.numSteps;g.draw(b(w),w,x)},onAnimationProgress:o.onProgress,onAnimationComplete:f});Pl.addAnimation(s,p,u,h)}else s.draw(),f(new El({numSteps:0,chart:s}));return s}},draw:function(i){var s=this,o,u;if(s.clear(),S.isNullOrUndef(i)&&(i=1),s.transition(i),!(s.width<=0||s.height<=0)&&Ne.notify(s,"beforeDraw",[i])!==!1){for(u=s._layers,o=0;o<u.length&&u[o].z<=0;++o)u[o].draw(s.chartArea);for(s.drawDatasets(i);o<u.length;++o)u[o].draw(s.chartArea);s._drawTooltip(i),Ne.notify(s,"afterDraw",[i])}},transition:function(i){for(var s=this,o=0,u=(s.data.datasets||[]).length;o<u;++o)s.isDatasetVisible(o)&&s.getDatasetMeta(o).controller.transition(i);s.tooltip.transition(i)},_getSortedDatasetMetas:function(i){var s=this,o=s.data.datasets||[],u=[],h,f;for(h=0,f=o.length;h<f;++h)(!i||s.isDatasetVisible(h))&&u.push(s.getDatasetMeta(h));return u.sort(qf("order","index")),u},_getSortedVisibleDatasetMetas:function(){return this._getSortedDatasetMetas(!0)},drawDatasets:function(i){var s=this,o,u;if(Ne.notify(s,"beforeDatasetsDraw",[i])!==!1){for(o=s._getSortedVisibleDatasetMetas(),u=o.length-1;u>=0;--u)s.drawDataset(o[u],i);Ne.notify(s,"afterDatasetsDraw",[i])}},drawDataset:function(i,s){var o=this,u={meta:i,index:i.index,easingValue:s};Ne.notify(o,"beforeDatasetDraw",[u])!==!1&&(i.controller.draw(s),Ne.notify(o,"afterDatasetDraw",[u]))},_drawTooltip:function(i){var s=this,o=s.tooltip,u={tooltip:o,easingValue:i};Ne.notify(s,"beforeTooltipDraw",[u])!==!1&&(o.draw(),Ne.notify(s,"afterTooltipDraw",[u]))},getElementAtEvent:function(i){return gi.modes.single(this,i)},getElementsAtEvent:function(i){return gi.modes.label(this,i,{intersect:!0})},getElementsAtXAxis:function(i){return gi.modes["x-axis"](this,i,{intersect:!0})},getElementsAtEventForMode:function(i,s,o){var u=gi.modes[s];return typeof u=="function"?u(this,i,o):[]},getDatasetAtEvent:function(i){return gi.modes.dataset(this,i,{intersect:!0})},getDatasetMeta:function(i){var s=this,o=s.data.datasets[i];o._meta||(o._meta={});var u=o._meta[s.id];return u||(u=o._meta[s.id]={type:null,data:[],dataset:null,controller:null,hidden:null,xAxisID:null,yAxisID:null,order:o.order||0,index:i}),u},getVisibleDatasetCount:function(){for(var i=0,s=0,o=this.data.datasets.length;s<o;++s)this.isDatasetVisible(s)&&i++;return i},isDatasetVisible:function(i){var s=this.getDatasetMeta(i);return typeof s.hidden=="boolean"?!s.hidden:!this.data.datasets[i].hidden},generateLegend:function(){return this.options.legendCallback(this)},destroyDatasetMeta:function(i){var s=this.id,o=this.data.datasets[i],u=o._meta&&o._meta[s];u&&(u.controller.destroy(),delete o._meta[s])},destroy:function(){var i=this,s=i.canvas,o,u;for(i.stop(),o=0,u=i.data.datasets.length;o<u;++o)i.destroyDatasetMeta(o);s&&(i.unbindEvents(),S.canvas.clear(i),yi.releaseContext(i.ctx),i.canvas=null,i.ctx=null),Ne.notify(i,"destroy"),delete or.instances[i.id]},toBase64Image:function(){return this.canvas.toDataURL.apply(this.canvas,arguments)},initToolTip:function(){var i=this;i.tooltip=new Zl({_chart:i,_chartInstance:i,_data:i.data,_options:i.options.tooltips},i)},bindEvents:function(){var i=this,s=i._listeners={},o=function(){i.eventHandler.apply(i,arguments)};S.each(i.options.events,function(u){yi.addEventListener(i,u,o),s[u]=o}),i.options.responsive&&(o=function(){i.resize()},yi.addEventListener(i,"resize",o),s.resize=o)},unbindEvents:function(){var i=this,s=i._listeners;s&&(delete i._listeners,S.each(s,function(o,u){yi.removeEventListener(i,u,o)}))},updateHoverStyle:function(i,s,o){var u=o?"set":"remove",h,f,p;for(f=0,p=i.length;f<p;++f)h=i[f],h&&this.getDatasetMeta(h._datasetIndex).controller[u+"HoverStyle"](h);s==="dataset"&&this.getDatasetMeta(i[0]._datasetIndex).controller["_"+u+"DatasetHoverStyle"]()},eventHandler:function(i){var s=this,o=s.tooltip;if(Ne.notify(s,"beforeEvent",[i])!==!1){s._bufferedRender=!0,s._bufferedRequest=null;var u=s.handleEvent(i);o&&(u=o._start?o.handleEvent(i):u|o.handleEvent(i)),Ne.notify(s,"afterEvent",[i]);var h=s._bufferedRequest;return h?s.render(h):u&&!s.animating&&(s.stop(),s.render({duration:s.options.hover.animationDuration,lazy:!0})),s._bufferedRender=!1,s._bufferedRequest=null,s}},handleEvent:function(i){var s=this,o=s.options||{},u=o.hover,h=!1;return s.lastActive=s.lastActive||[],i.type==="mouseout"?s.active=[]:s.active=s.getElementsAtEventForMode(i,u.mode,u),S.callback(o.onHover||o.hover.onHover,[i.native,s.active],s),(i.type==="mouseup"||i.type==="click")&&o.onClick&&o.onClick.call(s,i.native,s.active),s.lastActive.length&&s.updateHoverStyle(s.lastActive,u.mode,!1),s.active.length&&u.mode&&s.updateHoverStyle(s.active,u.mode,!0),h=!S.arrayEquals(s.active,s.lastActive),s.lastActive=s.active,h}}),or.instances={};var xe=or;or.Controller=or,or.types={},S.configMerge=Xl,S.scaleMerge=jf;var j_=function(){S.where=function(u,h){if(S.isArray(u)&&Array.prototype.filter)return u.filter(h);var f=[];return S.each(u,function(p){h(p)&&f.push(p)}),f},S.findIndex=Array.prototype.findIndex?function(u,h,f){return u.findIndex(h,f)}:function(u,h,f){f=f===void 0?u:f;for(var p=0,g=u.length;p<g;++p)if(h.call(f,u[p],p,u))return p;return-1},S.findNextWhere=function(u,h,f){S.isNullOrUndef(f)&&(f=-1);for(var p=f+1;p<u.length;p++){var g=u[p];if(h(g))return g}},S.findPreviousWhere=function(u,h,f){S.isNullOrUndef(f)&&(f=u.length);for(var p=f-1;p>=0;p--){var g=u[p];if(h(g))return g}},S.isNumber=function(u){return!isNaN(parseFloat(u))&&isFinite(u)},S.almostEquals=function(u,h,f){return Math.abs(u-h)<f},S.almostWhole=function(u,h){var f=Math.round(u);return f-h<=u&&f+h>=u},S.max=function(u){return u.reduce(function(h,f){return isNaN(f)?h:Math.max(h,f)},Number.NEGATIVE_INFINITY)},S.min=function(u){return u.reduce(function(h,f){return isNaN(f)?h:Math.min(h,f)},Number.POSITIVE_INFINITY)},S.sign=Math.sign?function(u){return Math.sign(u)}:function(u){return u=+u,u===0||isNaN(u)?u:u>0?1:-1},S.toRadians=function(u){return u*(Math.PI/180)},S.toDegrees=function(u){return u*(180/Math.PI)},S._decimalPlaces=function(u){if(S.isFinite(u)){for(var h=1,f=0;Math.round(u*h)/h!==u;)h*=10,f++;return f}},S.getAngleFromPoint=function(u,h){var f=h.x-u.x,p=h.y-u.y,g=Math.sqrt(f*f+p*p),m=Math.atan2(p,f);return m<-.5*Math.PI&&(m+=2*Math.PI),{angle:m,distance:g}},S.distanceBetweenPoints=function(u,h){return Math.sqrt(Math.pow(h.x-u.x,2)+Math.pow(h.y-u.y,2))},S.aliasPixel=function(u){return u%2===0?0:.5},S._alignPixel=function(u,h,f){var p=u.currentDevicePixelRatio,g=f/2;return Math.round((h-g)*p)/p+g},S.splineCurve=function(u,h,f,p){var g=u.skip?h:u,m=h,b=f.skip?h:f,x=Math.sqrt(Math.pow(m.x-g.x,2)+Math.pow(m.y-g.y,2)),w=Math.sqrt(Math.pow(b.x-m.x,2)+Math.pow(b.y-m.y,2)),C=x/(x+w),O=w/(x+w);C=isNaN(C)?0:C,O=isNaN(O)?0:O;var A=p*C,I=p*O;return{previous:{x:m.x-A*(b.x-g.x),y:m.y-A*(b.y-g.y)},next:{x:m.x+I*(b.x-g.x),y:m.y+I*(b.y-g.y)}}},S.EPSILON=Number.EPSILON||1e-14,S.splineCurveMonotone=function(u){var h=(u||[]).map(function(E){return{model:E._model,deltaK:0,mK:0}}),f=h.length,p,g,m,b;for(p=0;p<f;++p)if(m=h[p],!m.model.skip){if(g=p>0?h[p-1]:null,b=p<f-1?h[p+1]:null,b&&!b.model.skip){var x=b.model.x-m.model.x;m.deltaK=x!==0?(b.model.y-m.model.y)/x:0}!g||g.model.skip?m.mK=m.deltaK:!b||b.model.skip?m.mK=g.deltaK:this.sign(g.deltaK)!==this.sign(m.deltaK)?m.mK=0:m.mK=(g.deltaK+m.deltaK)/2}var w,C,O,A;for(p=0;p<f-1;++p)if(m=h[p],b=h[p+1],!(m.model.skip||b.model.skip)){if(S.almostEquals(m.deltaK,0,this.EPSILON)){m.mK=b.mK=0;continue}w=m.mK/m.deltaK,C=b.mK/m.deltaK,A=Math.pow(w,2)+Math.pow(C,2),!(A<=9)&&(O=3/Math.sqrt(A),m.mK=w*O*m.deltaK,b.mK=C*O*m.deltaK)}var I;for(p=0;p<f;++p)m=h[p],!m.model.skip&&(g=p>0?h[p-1]:null,b=p<f-1?h[p+1]:null,g&&!g.model.skip&&(I=(m.model.x-g.model.x)/3,m.model.controlPointPreviousX=m.model.x-I,m.model.controlPointPreviousY=m.model.y-I*m.mK),b&&!b.model.skip&&(I=(b.model.x-m.model.x)/3,m.model.controlPointNextX=m.model.x+I,m.model.controlPointNextY=m.model.y+I*m.mK))},S.nextItem=function(u,h,f){return f?h>=u.length-1?u[0]:u[h+1]:h>=u.length-1?u[u.length-1]:u[h+1]},S.previousItem=function(u,h,f){return f?h<=0?u[u.length-1]:u[h-1]:h<=0?u[0]:u[h-1]},S.niceNum=function(u,h){var f=Math.floor(S.log10(u)),p=u/Math.pow(10,f),g;return h?p<1.5?g=1:p<3?g=2:p<7?g=5:g=10:p<=1?g=1:p<=2?g=2:p<=5?g=5:g=10,g*Math.pow(10,f)},S.requestAnimFrame=function(){return typeof window>"u"?function(u){u()}:window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(u){return window.setTimeout(u,1e3/60)}}(),S.getRelativePosition=function(u,h){var f,p,g=u.originalEvent||u,m=u.target||u.srcElement,b=m.getBoundingClientRect(),x=g.touches;x&&x.length>0?(f=x[0].clientX,p=x[0].clientY):(f=g.clientX,p=g.clientY);var w=parseFloat(S.getStyle(m,"padding-left")),C=parseFloat(S.getStyle(m,"padding-top")),O=parseFloat(S.getStyle(m,"padding-right")),A=parseFloat(S.getStyle(m,"padding-bottom")),I=b.right-b.left-w-O,E=b.bottom-b.top-C-A;return f=Math.round((f-b.left-w)/I*m.width/h.currentDevicePixelRatio),p=Math.round((p-b.top-C)/E*m.height/h.currentDevicePixelRatio),{x:f,y:p}};function i(u,h,f){var p;return typeof u=="string"?(p=parseInt(u,10),u.indexOf("%")!==-1&&(p=p/100*h.parentNode[f])):p=u,p}function s(u){return u!=null&&u!=="none"}function o(u,h,f){var p=document.defaultView,g=S._getParentNode(u),m=p.getComputedStyle(u)[h],b=p.getComputedStyle(g)[h],x=s(m),w=s(b),C=Number.POSITIVE_INFINITY;return x||w?Math.min(x?i(m,u,f):C,w?i(b,g,f):C):"none"}S.getConstraintWidth=function(u){return o(u,"max-width","clientWidth")},S.getConstraintHeight=function(u){return o(u,"max-height","clientHeight")},S._calculatePadding=function(u,h,f){return h=S.getStyle(u,h),h.indexOf("%")>-1?f*parseInt(h,10)/100:parseInt(h,10)},S._getParentNode=function(u){var h=u.parentNode;return h&&h.toString()==="[object ShadowRoot]"&&(h=h.host),h},S.getMaximumWidth=function(u){var h=S._getParentNode(u);if(!h)return u.clientWidth;var f=h.clientWidth,p=S._calculatePadding(h,"padding-left",f),g=S._calculatePadding(h,"padding-right",f),m=f-p-g,b=S.getConstraintWidth(u);return isNaN(b)?m:Math.min(m,b)},S.getMaximumHeight=function(u){var h=S._getParentNode(u);if(!h)return u.clientHeight;var f=h.clientHeight,p=S._calculatePadding(h,"padding-top",f),g=S._calculatePadding(h,"padding-bottom",f),m=f-p-g,b=S.getConstraintHeight(u);return isNaN(b)?m:Math.min(m,b)},S.getStyle=function(u,h){return u.currentStyle?u.currentStyle[h]:document.defaultView.getComputedStyle(u,null).getPropertyValue(h)},S.retinaScale=function(u,h){var f=u.currentDevicePixelRatio=h||typeof window<"u"&&window.devicePixelRatio||1;if(f!==1){var p=u.canvas,g=u.height,m=u.width;p.height=g*f,p.width=m*f,u.ctx.scale(f,f),!p.style.height&&!p.style.width&&(p.style.height=g+"px",p.style.width=m+"px")}},S.fontString=function(u,h,f){return h+" "+u+"px "+f},S.longestText=function(u,h,f,p){p=p||{};var g=p.data=p.data||{},m=p.garbageCollect=p.garbageCollect||[];p.font!==h&&(g=p.data={},m=p.garbageCollect=[],p.font=h),u.font=h;var b=0,x=f.length,w,C,O,A,I;for(w=0;w<x;w++)if(A=f[w],A!=null&&S.isArray(A)!==!0)b=S.measureText(u,g,m,b,A);else if(S.isArray(A))for(C=0,O=A.length;C<O;C++)I=A[C],I!=null&&!S.isArray(I)&&(b=S.measureText(u,g,m,b,I));var E=m.length/2;if(E>f.length){for(w=0;w<E;w++)delete g[m[w]];m.splice(0,E)}return b},S.measureText=function(u,h,f,p,g){var m=h[g];return m||(m=h[g]=u.measureText(g).width,f.push(g)),m>p&&(p=m),p},S.numberOfLabelLines=function(u){var h=1;return S.each(u,function(f){S.isArray(f)&&f.length>h&&(h=f.length)}),h},S.color=Ue?function(u){return u instanceof CanvasGradient&&(u=ie.global.defaultColor),Ue(u)}:function(u){return console.error("Color.js not found!"),u},S.getHoverColor=function(u){return u instanceof CanvasPattern||u instanceof CanvasGradient?u:S.color(u).saturate(.5).darken(.1).rgbString()}};function Br(){throw new Error("This method is not implemented: either no adapter can be found or an incomplete integration was provided.")}function ps(i){this.options=i||{}}S.extend(ps.prototype,{formats:Br,parse:Br,format:Br,add:Br,diff:Br,startOf:Br,endOf:Br,_create:function(i){return i}}),ps.override=function(i){S.extend(ps.prototype,i)};var U_=ps,Jl={_date:U_},la={formatters:{values:function(i){return S.isArray(i)?i:""+i},linear:function(i,s,o){var u=o.length>3?o[2]-o[1]:o[1]-o[0];Math.abs(u)>1&&i!==Math.floor(i)&&(u=i-Math.floor(i));var h=S.log10(Math.abs(u)),f="";if(i!==0){var p=Math.max(Math.abs(o[0]),Math.abs(o[o.length-1]));if(p<1e-4){var g=S.log10(Math.abs(i)),m=Math.floor(g)-Math.floor(h);m=Math.max(Math.min(m,20),0),f=i.toExponential(m)}else{var b=-1*Math.floor(h);b=Math.max(Math.min(b,20),0),f=i.toFixed(b)}}else f="0";return f},logarithmic:function(i,s,o){var u=i/Math.pow(10,Math.floor(S.log10(i)));return i===0?"0":u===1||u===2||u===5||s===0||s===o.length-1?i.toExponential():""}}},zr=S.isArray,ua=S.isNullOrUndef,Hr=S.valueOrDefault,bi=S.valueAtIndexOrDefault;ie._set("scale",{display:!0,position:"left",offset:!1,gridLines:{display:!0,color:"rgba(0,0,0,0.1)",lineWidth:1,drawBorder:!0,drawOnChartArea:!0,drawTicks:!0,tickMarkLength:10,zeroLineWidth:1,zeroLineColor:"rgba(0,0,0,0.25)",zeroLineBorderDash:[],zeroLineBorderDashOffset:0,offsetGridLines:!1,borderDash:[],borderDashOffset:0},scaleLabel:{display:!1,labelString:"",padding:{top:4,bottom:4}},ticks:{beginAtZero:!1,minRotation:0,maxRotation:50,mirror:!1,padding:0,reverse:!1,display:!0,autoSkip:!0,autoSkipPadding:0,labelOffset:0,callback:la.formatters.values,minor:{},major:{}}});function Y_(i,s){for(var o=[],u=i.length/s,h=0,f=i.length;h<f;h+=u)o.push(i[Math.floor(h)]);return o}function q_(i,s,o){var u=i.getTicks().length,h=Math.min(s,u-1),f=i.getPixelForTick(h),p=i._startPixel,g=i._endPixel,m=1e-6,b;if(!(o&&(u===1?b=Math.max(f-p,g-f):s===0?b=(i.getPixelForTick(1)-f)/2:b=(f-i.getPixelForTick(h-1))/2,f+=h<s?b:-b,f<p-m||f>g+m)))return f}function G_(i,s){S.each(i,function(o){var u=o.gc,h=u.length/2,f;if(h>s){for(f=0;f<h;++f)delete o.data[u[f]];u.splice(0,h)}})}function Z_(i,s,o,u){var h=o.length,f=[],p=[],g=[],m=0,b=0,x,w,C,O,A,I,E,H,q,J,ge,pe,De;for(x=0;x<h;++x){if(O=o[x].label,A=o[x].major?s.major:s.minor,i.font=I=A.string,E=u[I]=u[I]||{data:{},gc:[]},H=A.lineHeight,q=J=0,!ua(O)&&!zr(O))q=S.measureText(i,E.data,E.gc,q,O),J=H;else if(zr(O))for(w=0,C=O.length;w<C;++w)ge=O[w],!ua(ge)&&!zr(ge)&&(q=S.measureText(i,E.data,E.gc,q,ge),J+=H);f.push(q),p.push(J),g.push(H/2),m=Math.max(q,m),b=Math.max(J,b)}G_(u,h),pe=f.indexOf(m),De=p.indexOf(b);function $e(Ee){return{width:f[Ee]||0,height:p[Ee]||0,offset:g[Ee]||0}}return{first:$e(0),last:$e(h-1),widest:$e(pe),highest:$e(De)}}function ca(i){return i.drawTicks?i.tickMarkLength:0}function Ql(i){var s,o;return i.display?(s=S.options._parseFont(i),o=S.options.toPadding(i.padding),s.lineHeight+o.height):0}function Gf(i,s){return S.extend(S.options._parseFont({fontFamily:Hr(s.fontFamily,i.fontFamily),fontSize:Hr(s.fontSize,i.fontSize),fontStyle:Hr(s.fontStyle,i.fontStyle),lineHeight:Hr(s.lineHeight,i.lineHeight)}),{color:S.options.resolve([s.fontColor,i.fontColor,ie.global.defaultFontColor])})}function eu(i){var s=Gf(i,i.minor),o=i.major.enabled?Gf(i,i.major):s;return{minor:s,major:o}}function tu(i){var s=[],o,u,h;for(u=0,h=i.length;u<h;++u)o=i[u],typeof o._index<"u"&&s.push(o);return s}function K_(i){var s=i.length,o,u;if(s<2)return!1;for(u=i[0],o=1;o<s;++o)if(i[o]-i[o-1]!==u)return!1;return u}function X_(i,s,o,u){var h=K_(i),f=(s.length-1)/u,p,g,m,b;if(!h)return Math.max(f,1);for(p=S.math._factorize(h),m=0,b=p.length-1;m<b;m++)if(g=p[m],g>f)return g;return Math.max(f,1)}function J_(i){var s=[],o,u;for(o=0,u=i.length;o<u;o++)i[o].major&&s.push(o);return s}function Q_(i,s,o){var u=0,h=s[0],f,p;for(o=Math.ceil(o),f=0;f<i.length;f++)p=i[f],f===h?(p._index=f,u++,h=s[u*o]):delete p.label}function ms(i,s,o,u){var h=Hr(o,0),f=Math.min(Hr(u,i.length),i.length),p=0,g,m,b,x;for(s=Math.ceil(s),u&&(g=u-o,s=g/Math.floor(g/s)),x=h;x<0;)p++,x=Math.round(h+p*s);for(m=Math.max(h,0);m<f;m++)b=i[m],m===x?(b._index=m,p++,x=Math.round(h+p*s)):delete b.label}var nu=xn.extend({zeroLineIndex:0,getPadding:function(){var i=this;return{left:i.paddingLeft||0,top:i.paddingTop||0,right:i.paddingRight||0,bottom:i.paddingBottom||0}},getTicks:function(){return this._ticks},_getLabels:function(){var i=this.chart.data;return this.options.labels||(this.isHorizontal()?i.xLabels:i.yLabels)||i.labels||[]},mergeTicksOptions:function(){},beforeUpdate:function(){S.callback(this.options.beforeUpdate,[this])},update:function(i,s,o){var u=this,h=u.options.ticks,f=h.sampleSize,p,g,m,b,x;if(u.beforeUpdate(),u.maxWidth=i,u.maxHeight=s,u.margins=S.extend({left:0,right:0,top:0,bottom:0},o),u._ticks=null,u.ticks=null,u._labelSizes=null,u._maxLabelLines=0,u.longestLabelWidth=0,u.longestTextCache=u.longestTextCache||{},u._gridLineItems=null,u._labelItems=null,u.beforeSetDimensions(),u.setDimensions(),u.afterSetDimensions(),u.beforeDataLimits(),u.determineDataLimits(),u.afterDataLimits(),u.beforeBuildTicks(),b=u.buildTicks()||[],b=u.afterBuildTicks(b)||b,(!b||!b.length)&&u.ticks)for(b=[],p=0,g=u.ticks.length;p<g;++p)b.push({value:u.ticks[p],major:!1});return u._ticks=b,x=f<b.length,m=u._convertTicksToLabels(x?Y_(b,f):b),u._configure(),u.beforeCalculateTickRotation(),u.calculateTickRotation(),u.afterCalculateTickRotation(),u.beforeFit(),u.fit(),u.afterFit(),u._ticksToDraw=h.display&&(h.autoSkip||h.source==="auto")?u._autoSkip(b):b,x&&(m=u._convertTicksToLabels(u._ticksToDraw)),u.ticks=m,u.afterUpdate(),u.minSize},_configure:function(){var i=this,s=i.options.ticks.reverse,o,u;i.isHorizontal()?(o=i.left,u=i.right):(o=i.top,u=i.bottom,s=!s),i._startPixel=o,i._endPixel=u,i._reversePixels=s,i._length=u-o},afterUpdate:function(){S.callback(this.options.afterUpdate,[this])},beforeSetDimensions:function(){S.callback(this.options.beforeSetDimensions,[this])},setDimensions:function(){var i=this;i.isHorizontal()?(i.width=i.maxWidth,i.left=0,i.right=i.width):(i.height=i.maxHeight,i.top=0,i.bottom=i.height),i.paddingLeft=0,i.paddingTop=0,i.paddingRight=0,i.paddingBottom=0},afterSetDimensions:function(){S.callback(this.options.afterSetDimensions,[this])},beforeDataLimits:function(){S.callback(this.options.beforeDataLimits,[this])},determineDataLimits:S.noop,afterDataLimits:function(){S.callback(this.options.afterDataLimits,[this])},beforeBuildTicks:function(){S.callback(this.options.beforeBuildTicks,[this])},buildTicks:S.noop,afterBuildTicks:function(i){var s=this;return zr(i)&&i.length?S.callback(s.options.afterBuildTicks,[s,i]):(s.ticks=S.callback(s.options.afterBuildTicks,[s,s.ticks])||s.ticks,i)},beforeTickToLabelConversion:function(){S.callback(this.options.beforeTickToLabelConversion,[this])},convertTicksToLabels:function(){var i=this,s=i.options.ticks;i.ticks=i.ticks.map(s.userCallback||s.callback,this)},afterTickToLabelConversion:function(){S.callback(this.options.afterTickToLabelConversion,[this])},beforeCalculateTickRotation:function(){S.callback(this.options.beforeCalculateTickRotation,[this])},calculateTickRotation:function(){var i=this,s=i.options,o=s.ticks,u=i.getTicks().length,h=o.minRotation||0,f=o.maxRotation,p=h,g,m,b,x,w,C,O;if(!i._isVisible()||!o.display||h>=f||u<=1||!i.isHorizontal()){i.labelRotation=h;return}g=i._getLabelSizes(),m=g.widest.width,b=g.highest.height-g.highest.offset,x=Math.min(i.maxWidth,i.chart.width-m),w=s.offset?i.maxWidth/u:x/(u-1),m+6>w&&(w=x/(u-(s.offset?.5:1)),C=i.maxHeight-ca(s.gridLines)-o.padding-Ql(s.scaleLabel),O=Math.sqrt(m*m+b*b),p=S.toDegrees(Math.min(Math.asin(Math.min((g.highest.height+6)/w,1)),Math.asin(Math.min(C/O,1))-Math.asin(b/O))),p=Math.max(h,Math.min(f,p))),i.labelRotation=p},afterCalculateTickRotation:function(){S.callback(this.options.afterCalculateTickRotation,[this])},beforeFit:function(){S.callback(this.options.beforeFit,[this])},fit:function(){var i=this,s=i.minSize={width:0,height:0},o=i.chart,u=i.options,h=u.ticks,f=u.scaleLabel,p=u.gridLines,g=i._isVisible(),m=u.position==="bottom",b=i.isHorizontal();if(b?s.width=i.maxWidth:g&&(s.width=ca(p)+Ql(f)),b?g&&(s.height=ca(p)+Ql(f)):s.height=i.maxHeight,h.display&&g){var x=eu(h),w=i._getLabelSizes(),C=w.first,O=w.last,A=w.widest,I=w.highest,E=x.minor.lineHeight*.4,H=h.padding;if(b){var q=i.labelRotation!==0,J=S.toRadians(i.labelRotation),ge=Math.cos(J),pe=Math.sin(J),De=pe*A.width+ge*(I.height-(q?I.offset:0))+(q?0:E);s.height=Math.min(i.maxHeight,s.height+De+H);var $e=i.getPixelForTick(0)-i.left,Ee=i.right-i.getPixelForTick(i.getTicks().length-1),ze,st;q?(ze=m?ge*C.width+pe*C.offset:pe*(C.height-C.offset),st=m?pe*(O.height-O.offset):ge*O.width+pe*O.offset):(ze=C.width/2,st=O.width/2),i.paddingLeft=Math.max((ze-$e)*i.width/(i.width-$e),0)+3,i.paddingRight=Math.max((st-Ee)*i.width/(i.width-Ee),0)+3}else{var nt=h.mirror?0:A.width+H+E;s.width=Math.min(i.maxWidth,s.width+nt),i.paddingTop=C.height/2,i.paddingBottom=O.height/2}}i.handleMargins(),b?(i.width=i._length=o.width-i.margins.left-i.margins.right,i.height=s.height):(i.width=s.width,i.height=i._length=o.height-i.margins.top-i.margins.bottom)},handleMargins:function(){var i=this;i.margins&&(i.margins.left=Math.max(i.paddingLeft,i.margins.left),i.margins.top=Math.max(i.paddingTop,i.margins.top),i.margins.right=Math.max(i.paddingRight,i.margins.right),i.margins.bottom=Math.max(i.paddingBottom,i.margins.bottom))},afterFit:function(){S.callback(this.options.afterFit,[this])},isHorizontal:function(){var i=this.options.position;return i==="top"||i==="bottom"},isFullWidth:function(){return this.options.fullWidth},getRightValue:function(i){if(ua(i))return NaN;if((typeof i=="number"||i instanceof Number)&&!isFinite(i))return NaN;if(i){if(this.isHorizontal()){if(i.x!==void 0)return this.getRightValue(i.x)}else if(i.y!==void 0)return this.getRightValue(i.y)}return i},_convertTicksToLabels:function(i){var s=this,o,u,h;for(s.ticks=i.map(function(f){return f.value}),s.beforeTickToLabelConversion(),o=s.convertTicksToLabels(i)||s.ticks,s.afterTickToLabelConversion(),u=0,h=i.length;u<h;++u)i[u].label=o[u];return o},_getLabelSizes:function(){var i=this,s=i._labelSizes;return s||(i._labelSizes=s=Z_(i.ctx,eu(i.options.ticks),i.getTicks(),i.longestTextCache),i.longestLabelWidth=s.widest.width),s},_parseValue:function(i){var s,o,u,h;return zr(i)?(s=+this.getRightValue(i[0]),o=+this.getRightValue(i[1]),u=Math.min(s,o),h=Math.max(s,o)):(i=+this.getRightValue(i),s=void 0,o=i,u=i,h=i),{min:u,max:h,start:s,end:o}},_getScaleLabel:function(i){var s=this._parseValue(i);return s.start!==void 0?"["+s.start+", "+s.end+"]":+this.getRightValue(i)},getLabelForIndex:S.noop,getPixelForValue:S.noop,getValueForPixel:S.noop,getPixelForTick:function(i){var s=this,o=s.options.offset,u=s._ticks.length,h=1/Math.max(u-(o?0:1),1);return i<0||i>u-1?null:s.getPixelForDecimal(i*h+(o?h/2:0))},getPixelForDecimal:function(i){var s=this;return s._reversePixels&&(i=1-i),s._startPixel+i*s._length},getDecimalForPixel:function(i){var s=(i-this._startPixel)/this._length;return this._reversePixels?1-s:s},getBasePixel:function(){return this.getPixelForValue(this.getBaseValue())},getBaseValue:function(){var i=this,s=i.min,o=i.max;return i.beginAtZero?0:s<0&&o<0?o:s>0&&o>0?s:0},_autoSkip:function(i){var s=this,o=s.options.ticks,u=s._length,h=o.maxTicksLimit||u/s._tickSize()+1,f=o.major.enabled?J_(i):[],p=f.length,g=f[0],m=f[p-1],b,x,w,C;if(p>h)return Q_(i,f,p/h),tu(i);if(w=X_(f,i,u,h),p>0){for(b=0,x=p-1;b<x;b++)ms(i,w,f[b],f[b+1]);return C=p>1?(m-g)/(p-1):null,ms(i,w,S.isNullOrUndef(C)?0:g-C,g),ms(i,w,m,S.isNullOrUndef(C)?i.length:m+C),tu(i)}return ms(i,w),tu(i)},_tickSize:function(){var i=this,s=i.options.ticks,o=S.toRadians(i.labelRotation),u=Math.abs(Math.cos(o)),h=Math.abs(Math.sin(o)),f=i._getLabelSizes(),p=s.autoSkipPadding||0,g=f?f.widest.width+p:0,m=f?f.highest.height+p:0;return i.isHorizontal()?m*u>g*h?g/u:m/h:m*h<g*u?m/u:g/h},_isVisible:function(){var i=this,s=i.chart,o=i.options.display,u,h,f;if(o!=="auto")return!!o;for(u=0,h=s.data.datasets.length;u<h;++u)if(s.isDatasetVisible(u)&&(f=s.getDatasetMeta(u),f.xAxisID===i.id||f.yAxisID===i.id))return!0;return!1},_computeGridLineItems:function(i){var s=this,o=s.chart,u=s.options,h=u.gridLines,f=u.position,p=h.offsetGridLines,g=s.isHorizontal(),m=s._ticksToDraw,b=m.length+(p?1:0),x=ca(h),w=[],C=h.drawBorder?bi(h.lineWidth,0,0):0,O=C/2,A=S._alignPixel,I=function(J1){return A(o,J1,C)},E,H,q,J,ge,pe,De,$e,Ee,ze,st,nt,Qe,ut,xi,wi,hu;for(f==="top"?(E=I(s.bottom),De=s.bottom-x,Ee=E-O,st=I(i.top)+O,Qe=i.bottom):f==="bottom"?(E=I(s.top),st=i.top,Qe=I(i.bottom)-O,De=E+O,Ee=s.top+x):f==="left"?(E=I(s.right),pe=s.right-x,$e=E-O,ze=I(i.left)+O,nt=i.right):(E=I(s.left),ze=i.left,nt=I(i.right)-O,pe=E+O,$e=s.left+x),H=0;H<b;++H)q=m[H]||{},!(ua(q.label)&&H<m.length)&&(H===s.zeroLineIndex&&u.offset===p?(ut=h.zeroLineWidth,xi=h.zeroLineColor,wi=h.zeroLineBorderDash||[],hu=h.zeroLineBorderDashOffset||0):(ut=bi(h.lineWidth,H,1),xi=bi(h.color,H,"rgba(0,0,0,0.1)"),wi=h.borderDash||[],hu=h.borderDashOffset||0),J=q_(s,q._index||H,p),J!==void 0&&(ge=A(o,J,ut),g?pe=$e=ze=nt=ge:De=Ee=st=Qe=ge,w.push({tx1:pe,ty1:De,tx2:$e,ty2:Ee,x1:ze,y1:st,x2:nt,y2:Qe,width:ut,color:xi,borderDash:wi,borderDashOffset:hu})));return w.ticksLength=b,w.borderValue=E,w},_computeLabelItems:function(){var i=this,s=i.options,o=s.ticks,u=s.position,h=o.mirror,f=i.isHorizontal(),p=i._ticksToDraw,g=eu(o),m=o.padding,b=ca(s.gridLines),x=-S.toRadians(i.labelRotation),w=[],C,O,A,I,E,H,q,J,ge,pe,De,$e;for(u==="top"?(H=i.bottom-b-m,q=x?"left":"center"):u==="bottom"?(H=i.top+b+m,q=x?"right":"center"):u==="left"?(E=i.right-(h?0:b)-m,q=h?"left":"right"):(E=i.left+(h?0:b)+m,q=h?"right":"left"),C=0,O=p.length;C<O;++C)A=p[C],I=A.label,!ua(I)&&(J=i.getPixelForTick(A._index||C)+o.labelOffset,ge=A.major?g.major:g.minor,pe=ge.lineHeight,De=zr(I)?I.length:1,f?(E=J,$e=u==="top"?((x?1:.5)-De)*pe:(x?0:.5)*pe):(H=J,$e=(1-De)*pe/2),w.push({x:E,y:H,rotation:x,label:I,font:ge,textOffset:$e,textAlign:q}));return w},_drawGrid:function(i){var s=this,o=s.options.gridLines;if(o.display){var u=s.ctx,h=s.chart,f=S._alignPixel,p=o.drawBorder?bi(o.lineWidth,0,0):0,g=s._gridLineItems||(s._gridLineItems=s._computeGridLineItems(i)),m,b,x,w,C;for(x=0,w=g.length;x<w;++x)C=g[x],m=C.width,b=C.color,m&&b&&(u.save(),u.lineWidth=m,u.strokeStyle=b,u.setLineDash&&(u.setLineDash(C.borderDash),u.lineDashOffset=C.borderDashOffset),u.beginPath(),o.drawTicks&&(u.moveTo(C.tx1,C.ty1),u.lineTo(C.tx2,C.ty2)),o.drawOnChartArea&&(u.moveTo(C.x1,C.y1),u.lineTo(C.x2,C.y2)),u.stroke(),u.restore());if(p){var O=p,A=bi(o.lineWidth,g.ticksLength-1,1),I=g.borderValue,E,H,q,J;s.isHorizontal()?(E=f(h,s.left,O)-O/2,H=f(h,s.right,A)+A/2,q=J=I):(q=f(h,s.top,O)-O/2,J=f(h,s.bottom,A)+A/2,E=H=I),u.lineWidth=p,u.strokeStyle=bi(o.color,0),u.beginPath(),u.moveTo(E,q),u.lineTo(H,J),u.stroke()}}},_drawLabels:function(){var i=this,s=i.options.ticks;if(s.display){var o=i.ctx,u=i._labelItems||(i._labelItems=i._computeLabelItems()),h,f,p,g,m,b,x,w;for(h=0,p=u.length;h<p;++h){if(m=u[h],b=m.font,o.save(),o.translate(m.x,m.y),o.rotate(m.rotation),o.font=b.string,o.fillStyle=b.color,o.textBaseline="middle",o.textAlign=m.textAlign,x=m.label,w=m.textOffset,zr(x))for(f=0,g=x.length;f<g;++f)o.fillText(""+x[f],0,w),w+=b.lineHeight;else o.fillText(x,0,w);o.restore()}}},_drawTitle:function(){var i=this,s=i.ctx,o=i.options,u=o.scaleLabel;if(u.display){var h=Hr(u.fontColor,ie.global.defaultFontColor),f=S.options._parseFont(u),p=S.options.toPadding(u.padding),g=f.lineHeight/2,m=o.position,b=0,x,w;if(i.isHorizontal())x=i.left+i.width/2,w=m==="bottom"?i.bottom-g-p.bottom:i.top+g+p.top;else{var C=m==="left";x=C?i.left+g+p.top:i.right-g-p.top,w=i.top+i.height/2,b=C?-.5*Math.PI:.5*Math.PI}s.save(),s.translate(x,w),s.rotate(b),s.textAlign="center",s.textBaseline="middle",s.fillStyle=h,s.font=f.string,s.fillText(u.labelString,0,0),s.restore()}},draw:function(i){var s=this;s._isVisible()&&(s._drawGrid(i),s._drawTitle(),s._drawLabels())},_layers:function(){var i=this,s=i.options,o=s.ticks&&s.ticks.z||0,u=s.gridLines&&s.gridLines.z||0;return!i._isVisible()||o===u||i.draw!==i._draw?[{z:o,draw:function(){i.draw.apply(i,arguments)}}]:[{z:u,draw:function(){i._drawGrid.apply(i,arguments),i._drawTitle.apply(i,arguments)}},{z:o,draw:function(){i._drawLabels.apply(i,arguments)}}]},_getMatchingVisibleMetas:function(i){var s=this,o=s.isHorizontal();return s.chart._getSortedVisibleDatasetMetas().filter(function(u){return(!i||u.type===i)&&(o?u.xAxisID===s.id:u.yAxisID===s.id)})}});nu.prototype._draw=nu.prototype.draw;var $t=nu,ru=S.isNullOrUndef,e1={position:"bottom"},Zf=$t.extend({determineDataLimits:function(){var i=this,s=i._getLabels(),o=i.options.ticks,u=o.min,h=o.max,f=0,p=s.length-1,g;u!==void 0&&(g=s.indexOf(u),g>=0&&(f=g)),h!==void 0&&(g=s.indexOf(h),g>=0&&(p=g)),i.minIndex=f,i.maxIndex=p,i.min=s[f],i.max=s[p]},buildTicks:function(){var i=this,s=i._getLabels(),o=i.minIndex,u=i.maxIndex;i.ticks=o===0&&u===s.length-1?s:s.slice(o,u+1)},getLabelForIndex:function(i,s){var o=this,u=o.chart;return u.getDatasetMeta(s).controller._getValueScaleId()===o.id?o.getRightValue(u.data.datasets[s].data[i]):o._getLabels()[i]},_configure:function(){var i=this,s=i.options.offset,o=i.ticks;$t.prototype._configure.call(i),i.isHorizontal()||(i._reversePixels=!i._reversePixels),o&&(i._startValue=i.minIndex-(s?.5:0),i._valueRange=Math.max(o.length-(s?0:1),1))},getPixelForValue:function(i,s,o){var u=this,h,f,p;return!ru(s)&&!ru(o)&&(i=u.chart.data.datasets[o].data[s]),ru(i)||(h=u.isHorizontal()?i.x:i.y),(h!==void 0||i!==void 0&&isNaN(s))&&(f=u._getLabels(),i=S.valueOrDefault(h,i),p=f.indexOf(i),s=p!==-1?p:s,isNaN(s)&&(s=i)),u.getPixelForDecimal((s-u._startValue)/u._valueRange)},getPixelForTick:function(i){var s=this.ticks;return i<0||i>s.length-1?null:this.getPixelForValue(s[i],i+this.minIndex)},getValueForPixel:function(i){var s=this,o=Math.round(s._startValue+s.getDecimalForPixel(i)*s._valueRange);return Math.min(Math.max(o,0),s.ticks.length-1)},getBasePixel:function(){return this.bottom}}),t1=e1;Zf._defaults=t1;var n1=S.noop,Wr=S.isNullOrUndef;function r1(i,s){var o=[],u=1e-14,h=i.stepSize,f=h||1,p=i.maxTicks-1,g=i.min,m=i.max,b=i.precision,x=s.min,w=s.max,C=S.niceNum((w-x)/p/f)*f,O,A,I,E;if(C<u&&Wr(g)&&Wr(m))return[x,w];E=Math.ceil(w/C)-Math.floor(x/C),E>p&&(C=S.niceNum(E*C/p/f)*f),h||Wr(b)?O=Math.pow(10,S._decimalPlaces(C)):(O=Math.pow(10,b),C=Math.ceil(C*O)/O),A=Math.floor(x/C)*C,I=Math.ceil(w/C)*C,h&&(!Wr(g)&&S.almostWhole(g/C,C/1e3)&&(A=g),!Wr(m)&&S.almostWhole(m/C,C/1e3)&&(I=m)),E=(I-A)/C,S.almostEquals(E,Math.round(E),C/1e3)?E=Math.round(E):E=Math.ceil(E),A=Math.round(A*O)/O,I=Math.round(I*O)/O,o.push(Wr(g)?A:g);for(var H=1;H<E;++H)o.push(Math.round((A+H*C)*O)/O);return o.push(Wr(m)?I:m),o}var vs=$t.extend({getRightValue:function(i){return typeof i=="string"?+i:$t.prototype.getRightValue.call(this,i)},handleTickRangeOptions:function(){var i=this,s=i.options,o=s.ticks;if(o.beginAtZero){var u=S.sign(i.min),h=S.sign(i.max);u<0&&h<0?i.max=0:u>0&&h>0&&(i.min=0)}var f=o.min!==void 0||o.suggestedMin!==void 0,p=o.max!==void 0||o.suggestedMax!==void 0;o.min!==void 0?i.min=o.min:o.suggestedMin!==void 0&&(i.min===null?i.min=o.suggestedMin:i.min=Math.min(i.min,o.suggestedMin)),o.max!==void 0?i.max=o.max:o.suggestedMax!==void 0&&(i.max===null?i.max=o.suggestedMax:i.max=Math.max(i.max,o.suggestedMax)),f!==p&&i.min>=i.max&&(f?i.max=i.min+1:i.min=i.max-1),i.min===i.max&&(i.max++,o.beginAtZero||i.min--)},getTickLimit:function(){var i=this,s=i.options.ticks,o=s.stepSize,u=s.maxTicksLimit,h;return o?h=Math.ceil(i.max/o)-Math.floor(i.min/o)+1:(h=i._computeTickLimit(),u=u||11),u&&(h=Math.min(u,h)),h},_computeTickLimit:function(){return Number.POSITIVE_INFINITY},handleDirectionalChanges:n1,buildTicks:function(){var i=this,s=i.options,o=s.ticks,u=i.getTickLimit();u=Math.max(2,u);var h={maxTicks:u,min:o.min,max:o.max,precision:o.precision,stepSize:S.valueOrDefault(o.fixedStepSize,o.stepSize)},f=i.ticks=r1(h,i);i.handleDirectionalChanges(),i.max=S.max(f),i.min=S.min(f),o.reverse?(f.reverse(),i.start=i.max,i.end=i.min):(i.start=i.min,i.end=i.max)},convertTicksToLabels:function(){var i=this;i.ticksAsNumbers=i.ticks.slice(),i.zeroLineIndex=i.ticks.indexOf(0),$t.prototype.convertTicksToLabels.call(i)},_configure:function(){var i=this,s=i.getTicks(),o=i.min,u=i.max,h;$t.prototype._configure.call(i),i.options.offset&&s.length&&(h=(u-o)/Math.max(s.length-1,1)/2,o-=h,u+=h),i._startValue=o,i._endValue=u,i._valueRange=u-o}}),i1={position:"left",ticks:{callback:la.formatters.linear}},a1=0,s1=1;function o1(i,s,o){var u=[o.type,s===void 0&&o.stack===void 0?o.index:"",o.stack].join(".");return i[u]===void 0&&(i[u]={pos:[],neg:[]}),i[u]}function l1(i,s,o,u){var h=i.options,f=h.stacked,p=o1(s,f,o),g=p.pos,m=p.neg,b=u.length,x,w;for(x=0;x<b;++x)w=i._parseValue(u[x]),!(isNaN(w.min)||isNaN(w.max)||o.data[x].hidden)&&(g[x]=g[x]||0,m[x]=m[x]||0,h.relativePoints?g[x]=100:w.min<0||w.max<0?m[x]+=w.min:g[x]+=w.max)}function u1(i,s,o){var u=o.length,h,f;for(h=0;h<u;++h)f=i._parseValue(o[h]),!(isNaN(f.min)||isNaN(f.max)||s.data[h].hidden)&&(i.min=Math.min(i.min,f.min),i.max=Math.max(i.max,f.max))}var Kf=vs.extend({determineDataLimits:function(){var i=this,s=i.options,o=i.chart,u=o.data.datasets,h=i._getMatchingVisibleMetas(),f=s.stacked,p={},g=h.length,m,b,x,w;if(i.min=Number.POSITIVE_INFINITY,i.max=Number.NEGATIVE_INFINITY,f===void 0)for(m=0;!f&&m<g;++m)b=h[m],f=b.stack!==void 0;for(m=0;m<g;++m)b=h[m],x=u[b.index].data,f?l1(i,p,b,x):u1(i,b,x);S.each(p,function(C){w=C.pos.concat(C.neg),i.min=Math.min(i.min,S.min(w)),i.max=Math.max(i.max,S.max(w))}),i.min=S.isFinite(i.min)&&!isNaN(i.min)?i.min:a1,i.max=S.isFinite(i.max)&&!isNaN(i.max)?i.max:s1,i.handleTickRangeOptions()},_computeTickLimit:function(){var i=this,s;return i.isHorizontal()?Math.ceil(i.width/40):(s=S.options._parseFont(i.options.ticks),Math.ceil(i.height/s.lineHeight))},handleDirectionalChanges:function(){this.isHorizontal()||this.ticks.reverse()},getLabelForIndex:function(i,s){return this._getScaleLabel(this.chart.data.datasets[s].data[i])},getPixelForValue:function(i){var s=this;return s.getPixelForDecimal((+s.getRightValue(i)-s._startValue)/s._valueRange)},getValueForPixel:function(i){return this._startValue+this.getDecimalForPixel(i)*this._valueRange},getPixelForTick:function(i){var s=this.ticksAsNumbers;return i<0||i>s.length-1?null:this.getPixelForValue(s[i])}}),c1=i1;Kf._defaults=c1;var iu=S.valueOrDefault,Mt=S.math.log10;function h1(i,s){var o=[],u=iu(i.min,Math.pow(10,Math.floor(Mt(s.min)))),h=Math.floor(Mt(s.max)),f=Math.ceil(s.max/Math.pow(10,h)),p,g;u===0?(p=Math.floor(Mt(s.minNotZero)),g=Math.floor(s.minNotZero/Math.pow(10,p)),o.push(u),u=g*Math.pow(10,p)):(p=Math.floor(Mt(u)),g=Math.floor(u/Math.pow(10,p)));var m=p<0?Math.pow(10,Math.abs(p)):1;do o.push(u),++g,g===10&&(g=1,++p,m=p>=0?1:m),u=Math.round(g*Math.pow(10,p)*m)/m;while(p<h||p===h&&g<f);var b=iu(i.max,u);return o.push(b),o}var f1={position:"left",ticks:{callback:la.formatters.logarithmic}};function gs(i,s){return S.isFinite(i)&&i>=0?i:s}var Xf=$t.extend({determineDataLimits:function(){var i=this,s=i.options,o=i.chart,u=o.data.datasets,h=i.isHorizontal();function f(E){return h?E.xAxisID===i.id:E.yAxisID===i.id}var p,g,m,b,x,w;i.min=Number.POSITIVE_INFINITY,i.max=Number.NEGATIVE_INFINITY,i.minNotZero=Number.POSITIVE_INFINITY;var C=s.stacked;if(C===void 0){for(p=0;p<u.length;p++)if(g=o.getDatasetMeta(p),o.isDatasetVisible(p)&&f(g)&&g.stack!==void 0){C=!0;break}}if(s.stacked||C){var O={};for(p=0;p<u.length;p++){g=o.getDatasetMeta(p);var A=[g.type,s.stacked===void 0&&g.stack===void 0?p:"",g.stack].join(".");if(o.isDatasetVisible(p)&&f(g))for(O[A]===void 0&&(O[A]=[]),b=u[p].data,x=0,w=b.length;x<w;x++){var I=O[A];m=i._parseValue(b[x]),!(isNaN(m.min)||isNaN(m.max)||g.data[x].hidden||m.min<0||m.max<0)&&(I[x]=I[x]||0,I[x]+=m.max)}}S.each(O,function(E){if(E.length>0){var H=S.min(E),q=S.max(E);i.min=Math.min(i.min,H),i.max=Math.max(i.max,q)}})}else for(p=0;p<u.length;p++)if(g=o.getDatasetMeta(p),o.isDatasetVisible(p)&&f(g))for(b=u[p].data,x=0,w=b.length;x<w;x++)m=i._parseValue(b[x]),!(isNaN(m.min)||isNaN(m.max)||g.data[x].hidden||m.min<0||m.max<0)&&(i.min=Math.min(m.min,i.min),i.max=Math.max(m.max,i.max),m.min!==0&&(i.minNotZero=Math.min(m.min,i.minNotZero)));i.min=S.isFinite(i.min)?i.min:null,i.max=S.isFinite(i.max)?i.max:null,i.minNotZero=S.isFinite(i.minNotZero)?i.minNotZero:null,this.handleTickRangeOptions()},handleTickRangeOptions:function(){var i=this,s=i.options.ticks,o=1,u=10;i.min=gs(s.min,i.min),i.max=gs(s.max,i.max),i.min===i.max&&(i.min!==0&&i.min!==null?(i.min=Math.pow(10,Math.floor(Mt(i.min))-1),i.max=Math.pow(10,Math.floor(Mt(i.max))+1)):(i.min=o,i.max=u)),i.min===null&&(i.min=Math.pow(10,Math.floor(Mt(i.max))-1)),i.max===null&&(i.max=i.min!==0?Math.pow(10,Math.floor(Mt(i.min))+1):u),i.minNotZero===null&&(i.min>0?i.minNotZero=i.min:i.max<1?i.minNotZero=Math.pow(10,Math.floor(Mt(i.max))):i.minNotZero=o)},buildTicks:function(){var i=this,s=i.options.ticks,o=!i.isHorizontal(),u={min:gs(s.min),max:gs(s.max)},h=i.ticks=h1(u,i);i.max=S.max(h),i.min=S.min(h),s.reverse?(o=!o,i.start=i.max,i.end=i.min):(i.start=i.min,i.end=i.max),o&&h.reverse()},convertTicksToLabels:function(){this.tickValues=this.ticks.slice(),$t.prototype.convertTicksToLabels.call(this)},getLabelForIndex:function(i,s){return this._getScaleLabel(this.chart.data.datasets[s].data[i])},getPixelForTick:function(i){var s=this.tickValues;return i<0||i>s.length-1?null:this.getPixelForValue(s[i])},_getFirstTickValue:function(i){var s=Math.floor(Mt(i)),o=Math.floor(i/Math.pow(10,s));return o*Math.pow(10,s)},_configure:function(){var i=this,s=i.min,o=0;$t.prototype._configure.call(i),s===0&&(s=i._getFirstTickValue(i.minNotZero),o=iu(i.options.ticks.fontSize,ie.global.defaultFontSize)/i._length),i._startValue=Mt(s),i._valueOffset=o,i._valueRange=(Mt(i.max)-Mt(s))/(1-o)},getPixelForValue:function(i){var s=this,o=0;return i=+s.getRightValue(i),i>s.min&&i>0&&(o=(Mt(i)-s._startValue)/s._valueRange+s._valueOffset),s.getPixelForDecimal(o)},getValueForPixel:function(i){var s=this,o=s.getDecimalForPixel(i);return o===0&&s.min===0?0:Math.pow(10,s._startValue+(o-s._valueOffset)*s._valueRange)}}),d1=f1;Xf._defaults=d1;var ys=S.valueOrDefault,au=S.valueAtIndexOrDefault,Jf=S.options.resolve,p1={display:!0,animate:!0,position:"chartArea",angleLines:{display:!0,color:"rgba(0,0,0,0.1)",lineWidth:1,borderDash:[],borderDashOffset:0},gridLines:{circular:!1},ticks:{showLabelBackdrop:!0,backdropColor:"rgba(255,255,255,0.75)",backdropPaddingY:2,backdropPaddingX:2,callback:la.formatters.linear},pointLabels:{display:!0,fontSize:10,callback:function(i){return i}}};function su(i){var s=i.ticks;return s.display&&i.display?ys(s.fontSize,ie.global.defaultFontSize)+s.backdropPaddingY*2:0}function m1(i,s,o){return S.isArray(o)?{w:S.longestText(i,i.font,o),h:o.length*s}:{w:i.measureText(o).width,h:s}}function Qf(i,s,o,u,h){return i===u||i===h?{start:s-o/2,end:s+o/2}:i<u||i>h?{start:s-o,end:s}:{start:s,end:s+o}}function v1(i){var s=S.options._parseFont(i.options.pointLabels),o={l:0,r:i.width,t:0,b:i.height-i.paddingTop},u={},h,f,p;i.ctx.font=s.string,i._pointLabelSizes=[];var g=i.chart.data.labels.length;for(h=0;h<g;h++){p=i.getPointPosition(h,i.drawingArea+5),f=m1(i.ctx,s.lineHeight,i.pointLabels[h]),i._pointLabelSizes[h]=f;var m=i.getIndexAngle(h),b=S.toDegrees(m)%360,x=Qf(b,p.x,f.w,0,180),w=Qf(b,p.y,f.h,90,270);x.start<o.l&&(o.l=x.start,u.l=m),x.end>o.r&&(o.r=x.end,u.r=m),w.start<o.t&&(o.t=w.start,u.t=m),w.end>o.b&&(o.b=w.end,u.b=m)}i.setReductions(i.drawingArea,o,u)}function g1(i){return i===0||i===180?"center":i<180?"left":"right"}function y1(i,s,o,u){var h=o.y+u/2,f,p;if(S.isArray(s))for(f=0,p=s.length;f<p;++f)i.fillText(s[f],o.x,h),h+=u;else i.fillText(s,o.x,h)}function b1(i,s,o){i===90||i===270?o.y-=s.h/2:(i>270||i<90)&&(o.y-=s.h)}function _1(i){var s=i.ctx,o=i.options,u=o.pointLabels,h=su(o),f=i.getDistanceFromCenterForValue(o.ticks.reverse?i.min:i.max),p=S.options._parseFont(u);s.save(),s.font=p.string,s.textBaseline="middle";for(var g=i.chart.data.labels.length-1;g>=0;g--){var m=g===0?h/2:0,b=i.getPointPosition(g,f+m+5),x=au(u.fontColor,g,ie.global.defaultFontColor);s.fillStyle=x;var w=i.getIndexAngle(g),C=S.toDegrees(w);s.textAlign=g1(C),b1(C,i._pointLabelSizes[g],b),y1(s,i.pointLabels[g],b,p.lineHeight)}s.restore()}function x1(i,s,o,u){var h=i.ctx,f=s.circular,p=i.chart.data.labels.length,g=au(s.color,u-1),m=au(s.lineWidth,u-1),b;if(!(!f&&!p||!g||!m)){if(h.save(),h.strokeStyle=g,h.lineWidth=m,h.setLineDash&&(h.setLineDash(s.borderDash||[]),h.lineDashOffset=s.borderDashOffset||0),h.beginPath(),f)h.arc(i.xCenter,i.yCenter,o,0,Math.PI*2);else{b=i.getPointPosition(0,o),h.moveTo(b.x,b.y);for(var x=1;x<p;x++)b=i.getPointPosition(x,o),h.lineTo(b.x,b.y)}h.closePath(),h.stroke(),h.restore()}}function bs(i){return S.isNumber(i)?i:0}var ed=vs.extend({setDimensions:function(){var i=this;i.width=i.maxWidth,i.height=i.maxHeight,i.paddingTop=su(i.options)/2,i.xCenter=Math.floor(i.width/2),i.yCenter=Math.floor((i.height-i.paddingTop)/2),i.drawingArea=Math.min(i.height-i.paddingTop,i.width)/2},determineDataLimits:function(){var i=this,s=i.chart,o=Number.POSITIVE_INFINITY,u=Number.NEGATIVE_INFINITY;S.each(s.data.datasets,function(h,f){if(s.isDatasetVisible(f)){var p=s.getDatasetMeta(f);S.each(h.data,function(g,m){var b=+i.getRightValue(g);isNaN(b)||p.data[m].hidden||(o=Math.min(b,o),u=Math.max(b,u))})}}),i.min=o===Number.POSITIVE_INFINITY?0:o,i.max=u===Number.NEGATIVE_INFINITY?0:u,i.handleTickRangeOptions()},_computeTickLimit:function(){return Math.ceil(this.drawingArea/su(this.options))},convertTicksToLabels:function(){var i=this;vs.prototype.convertTicksToLabels.call(i),i.pointLabels=i.chart.data.labels.map(function(){var s=S.callback(i.options.pointLabels.callback,arguments,i);return s||s===0?s:""})},getLabelForIndex:function(i,s){return+this.getRightValue(this.chart.data.datasets[s].data[i])},fit:function(){var i=this,s=i.options;s.display&&s.pointLabels.display?v1(i):i.setCenterPoint(0,0,0,0)},setReductions:function(i,s,o){var u=this,h=s.l/Math.sin(o.l),f=Math.max(s.r-u.width,0)/Math.sin(o.r),p=-s.t/Math.cos(o.t),g=-Math.max(s.b-(u.height-u.paddingTop),0)/Math.cos(o.b);h=bs(h),f=bs(f),p=bs(p),g=bs(g),u.drawingArea=Math.min(Math.floor(i-(h+f)/2),Math.floor(i-(p+g)/2)),u.setCenterPoint(h,f,p,g)},setCenterPoint:function(i,s,o,u){var h=this,f=h.width-s-h.drawingArea,p=i+h.drawingArea,g=o+h.drawingArea,m=h.height-h.paddingTop-u-h.drawingArea;h.xCenter=Math.floor((p+f)/2+h.left),h.yCenter=Math.floor((g+m)/2+h.top+h.paddingTop)},getIndexAngle:function(i){var s=this.chart,o=360/s.data.labels.length,u=s.options||{},h=u.startAngle||0,f=(i*o+h)%360;return(f<0?f+360:f)*Math.PI*2/360},getDistanceFromCenterForValue:function(i){var s=this;if(S.isNullOrUndef(i))return NaN;var o=s.drawingArea/(s.max-s.min);return s.options.ticks.reverse?(s.max-i)*o:(i-s.min)*o},getPointPosition:function(i,s){var o=this,u=o.getIndexAngle(i)-Math.PI/2;return{x:Math.cos(u)*s+o.xCenter,y:Math.sin(u)*s+o.yCenter}},getPointPositionForValue:function(i,s){return this.getPointPosition(i,this.getDistanceFromCenterForValue(s))},getBasePosition:function(i){var s=this,o=s.min,u=s.max;return s.getPointPositionForValue(i||0,s.beginAtZero?0:o<0&&u<0?u:o>0&&u>0?o:0)},_drawGrid:function(){var i=this,s=i.ctx,o=i.options,u=o.gridLines,h=o.angleLines,f=ys(h.lineWidth,u.lineWidth),p=ys(h.color,u.color),g,m,b;if(o.pointLabels.display&&_1(i),u.display&&S.each(i.ticks,function(x,w){w!==0&&(m=i.getDistanceFromCenterForValue(i.ticksAsNumbers[w]),x1(i,u,m,w))}),h.display&&f&&p){for(s.save(),s.lineWidth=f,s.strokeStyle=p,s.setLineDash&&(s.setLineDash(Jf([h.borderDash,u.borderDash,[]])),s.lineDashOffset=Jf([h.borderDashOffset,u.borderDashOffset,0])),g=i.chart.data.labels.length-1;g>=0;g--)m=i.getDistanceFromCenterForValue(o.ticks.reverse?i.min:i.max),b=i.getPointPosition(g,m),s.beginPath(),s.moveTo(i.xCenter,i.yCenter),s.lineTo(b.x,b.y),s.stroke();s.restore()}},_drawLabels:function(){var i=this,s=i.ctx,o=i.options,u=o.ticks;if(u.display){var h=i.getIndexAngle(0),f=S.options._parseFont(u),p=ys(u.fontColor,ie.global.defaultFontColor),g,m;s.save(),s.font=f.string,s.translate(i.xCenter,i.yCenter),s.rotate(h),s.textAlign="center",s.textBaseline="middle",S.each(i.ticks,function(b,x){x===0&&!u.reverse||(g=i.getDistanceFromCenterForValue(i.ticksAsNumbers[x]),u.showLabelBackdrop&&(m=s.measureText(b).width,s.fillStyle=u.backdropColor,s.fillRect(-m/2-u.backdropPaddingX,-g-f.size/2-u.backdropPaddingY,m+u.backdropPaddingX*2,f.size+u.backdropPaddingY*2)),s.fillStyle=p,s.fillText(b,0,-g))}),s.restore()}},_drawTitle:S.noop}),w1=p1;ed._defaults=w1;var ou=S._deprecated,td=S.options.resolve,S1=S.valueOrDefault,nd=Number.MIN_SAFE_INTEGER||-9007199254740991,lu=Number.MAX_SAFE_INTEGER||9007199254740991,_s={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}},Tt=Object.keys(_s);function rd(i,s){return i-s}function k1(i){var s={},o=[],u,h,f;for(u=0,h=i.length;u<h;++u)f=i[u],s[f]||(s[f]=!0,o.push(f));return o}function id(i){return S.valueOrDefault(i.time.min,i.ticks.min)}function ad(i){return S.valueOrDefault(i.time.max,i.ticks.max)}function C1(i,s,o,u){if(u==="linear"||!i.length)return[{time:s,pos:0},{time:o,pos:1}];var h=[],f=[s],p,g,m,b,x;for(p=0,g=i.length;p<g;++p)b=i[p],b>s&&b<o&&f.push(b);for(f.push(o),p=0,g=f.length;p<g;++p)x=f[p+1],m=f[p-1],b=f[p],(m===void 0||x===void 0||Math.round((x+m)/2)!==b)&&h.push({time:b,pos:p/(g-1)});return h}function $1(i,s,o){for(var u=0,h=i.length-1,f,p,g;u>=0&&u<=h;)if(f=u+h>>1,p=i[f-1]||null,g=i[f],p)if(g[s]<o)u=f+1;else if(p[s]>o)h=f-1;else return{lo:p,hi:g};else return{lo:null,hi:g};return{lo:g,hi:null}}function _i(i,s,o,u){var h=$1(i,s,o),f=h.lo?h.hi?h.lo:i[i.length-2]:i[0],p=h.lo?h.hi?h.hi:i[i.length-1]:i[1],g=p[s]-f[s],m=g?(o-f[s])/g:0,b=(p[u]-f[u])*m;return f[u]+b}function uu(i,s){var o=i._adapter,u=i.options.time,h=u.parser,f=h||u.format,p=s;return typeof h=="function"&&(p=h(p)),S.isFinite(p)||(p=typeof f=="string"?o.parse(p,f):o.parse(p)),p!==null?+p:(!h&&typeof f=="function"&&(p=f(s),S.isFinite(p)||(p=o.parse(p))),p)}function Vr(i,s){if(S.isNullOrUndef(s))return null;var o=i.options.time,u=uu(i,i.getRightValue(s));return u===null||o.round&&(u=+i._adapter.startOf(u,o.round)),u}function sd(i,s,o,u){var h=Tt.length,f,p,g;for(f=Tt.indexOf(i);f<h-1;++f)if(p=_s[Tt[f]],g=p.steps?p.steps:lu,p.common&&Math.ceil((o-s)/(g*p.size))<=u)return Tt[f];return Tt[h-1]}function M1(i,s,o,u,h){var f,p;for(f=Tt.length-1;f>=Tt.indexOf(o);f--)if(p=Tt[f],_s[p].common&&i._adapter.diff(h,u,p)>=s-1)return p;return Tt[o?Tt.indexOf(o):0]}function T1(i){for(var s=Tt.indexOf(i)+1,o=Tt.length;s<o;++s)if(_s[Tt[s]].common)return Tt[s]}function O1(i,s,o,u){var h=i._adapter,f=i.options,p=f.time,g=p.unit||sd(p.minUnit,s,o,u),m=td([p.stepSize,p.unitStepSize,1]),b=g==="week"?p.isoWeekday:!1,x=s,w=[],C;if(b&&(x=+h.startOf(x,"isoWeek",b)),x=+h.startOf(x,b?"day":g),h.diff(o,s,g)>1e5*m)throw s+" and "+o+" are too far apart with stepSize of "+m+" "+g;for(C=x;C<o;C=+h.add(C,m,g))w.push(C);return(C===o||f.bounds==="ticks")&&w.push(C),w}function A1(i,s,o,u,h){var f=0,p=0,g,m;return h.offset&&s.length&&(g=_i(i,"time",s[0],"pos"),s.length===1?f=1-g:f=(_i(i,"time",s[1],"pos")-g)/2,m=_i(i,"time",s[s.length-1],"pos"),s.length===1?p=m:p=(m-_i(i,"time",s[s.length-2],"pos"))/2),{start:f,end:p,factor:1/(f+1+p)}}function D1(i,s,o,u){var h=i._adapter,f=+h.startOf(s[0].value,u),p=s[s.length-1].value,g,m;for(g=f;g<=p;g=+h.add(g,1,u))m=o[g],m>=0&&(s[m].major=!0);return s}function od(i,s,o){var u=[],h={},f=s.length,p,g;for(p=0;p<f;++p)g=s[p],h[g]=p,u.push({value:g,major:!1});return f===0||!o?u:D1(i,u,h,o)}var I1={position:"bottom",distribution:"linear",bounds:"data",adapters:{},time:{parser:!1,unit:!1,round:!1,displayFormat:!1,isoWeekday:!1,minUnit:"millisecond",displayFormats:{}},ticks:{autoSkip:!1,source:"auto",major:{enabled:!1}}},ld=$t.extend({initialize:function(){this.mergeTicksOptions(),$t.prototype.initialize.call(this)},update:function(){var i=this,s=i.options,o=s.time||(s.time={}),u=i._adapter=new Jl._date(s.adapters.date);return ou("time scale",o.format,"time.format","time.parser"),ou("time scale",o.min,"time.min","ticks.min"),ou("time scale",o.max,"time.max","ticks.max"),S.mergeIf(o.displayFormats,u.formats()),$t.prototype.update.apply(i,arguments)},getRightValue:function(i){return i&&i.t!==void 0&&(i=i.t),$t.prototype.getRightValue.call(this,i)},determineDataLimits:function(){var i=this,s=i.chart,o=i._adapter,u=i.options,h=u.time.unit||"day",f=lu,p=nd,g=[],m=[],b=[],x,w,C,O,A,I,E,H=i._getLabels();for(x=0,C=H.length;x<C;++x)b.push(Vr(i,H[x]));for(x=0,C=(s.data.datasets||[]).length;x<C;++x)if(s.isDatasetVisible(x))if(A=s.data.datasets[x].data,S.isObject(A[0]))for(m[x]=[],w=0,O=A.length;w<O;++w)I=Vr(i,A[w]),g.push(I),m[x][w]=I;else m[x]=b.slice(0),E||(g=g.concat(b),E=!0);else m[x]=[];b.length&&(f=Math.min(f,b[0]),p=Math.max(p,b[b.length-1])),g.length&&(g=C>1?k1(g).sort(rd):g.sort(rd),f=Math.min(f,g[0]),p=Math.max(p,g[g.length-1])),f=Vr(i,id(u))||f,p=Vr(i,ad(u))||p,f=f===lu?+o.startOf(Date.now(),h):f,p=p===nd?+o.endOf(Date.now(),h)+1:p,i.min=Math.min(f,p),i.max=Math.max(f+1,p),i._table=[],i._timestamps={data:g,datasets:m,labels:b}},buildTicks:function(){var i=this,s=i.min,o=i.max,u=i.options,h=u.ticks,f=u.time,p=i._timestamps,g=[],m=i.getLabelCapacity(s),b=h.source,x=u.distribution,w,C,O;for(b==="data"||b==="auto"&&x==="series"?p=p.data:b==="labels"?p=p.labels:p=O1(i,s,o,m),u.bounds==="ticks"&&p.length&&(s=p[0],o=p[p.length-1]),s=Vr(i,id(u))||s,o=Vr(i,ad(u))||o,w=0,C=p.length;w<C;++w)O=p[w],O>=s&&O<=o&&g.push(O);return i.min=s,i.max=o,i._unit=f.unit||(h.autoSkip?sd(f.minUnit,i.min,i.max,m):M1(i,g.length,f.minUnit,i.min,i.max)),i._majorUnit=!h.major.enabled||i._unit==="year"?void 0:T1(i._unit),i._table=C1(i._timestamps.data,s,o,x),i._offsets=A1(i._table,g,s,o,u),h.reverse&&g.reverse(),od(i,g,i._majorUnit)},getLabelForIndex:function(i,s){var o=this,u=o._adapter,h=o.chart.data,f=o.options.time,p=h.labels&&i<h.labels.length?h.labels[i]:"",g=h.datasets[s].data[i];return S.isObject(g)&&(p=o.getRightValue(g)),f.tooltipFormat?u.format(uu(o,p),f.tooltipFormat):typeof p=="string"?p:u.format(uu(o,p),f.displayFormats.datetime)},tickFormatFunction:function(i,s,o,u){var h=this,f=h._adapter,p=h.options,g=p.time.displayFormats,m=g[h._unit],b=h._majorUnit,x=g[b],w=o[s],C=p.ticks,O=b&&x&&w&&w.major,A=f.format(i,u||(O?x:m)),I=O?C.major:C.minor,E=td([I.callback,I.userCallback,C.callback,C.userCallback]);return E?E(A,s,o):A},convertTicksToLabels:function(i){var s=[],o,u;for(o=0,u=i.length;o<u;++o)s.push(this.tickFormatFunction(i[o].value,o,i));return s},getPixelForOffset:function(i){var s=this,o=s._offsets,u=_i(s._table,"time",i,"pos");return s.getPixelForDecimal((o.start+u)*o.factor)},getPixelForValue:function(i,s,o){var u=this,h=null;if(s!==void 0&&o!==void 0&&(h=u._timestamps.datasets[o][s]),h===null&&(h=Vr(u,i)),h!==null)return u.getPixelForOffset(h)},getPixelForTick:function(i){var s=this.getTicks();return i>=0&&i<s.length?this.getPixelForOffset(s[i].value):null},getValueForPixel:function(i){var s=this,o=s._offsets,u=s.getDecimalForPixel(i)/o.factor-o.end,h=_i(s._table,"pos",u,"time");return s._adapter._create(h)},_getLabelSize:function(i){var s=this,o=s.options.ticks,u=s.ctx.measureText(i).width,h=S.toRadians(s.isHorizontal()?o.maxRotation:o.minRotation),f=Math.cos(h),p=Math.sin(h),g=S1(o.fontSize,ie.global.defaultFontSize);return{w:u*f+g*p,h:u*p+g*f}},getLabelWidth:function(i){return this._getLabelSize(i).w},getLabelCapacity:function(i){var s=this,o=s.options.time,u=o.displayFormats,h=u[o.unit]||u.millisecond,f=s.tickFormatFunction(i,0,od(s,[i],s._majorUnit),h),p=s._getLabelSize(f),g=Math.floor(s.isHorizontal()?s.width/p.w:s.height/p.h);return s.options.offset&&g--,g>0?g:1}}),L1=I1;ld._defaults=L1;var E1={category:Zf,linear:Kf,logarithmic:Xf,radialLinear:ed,time:ld},P1={datetime:"MMM D, YYYY, h:mm:ss a",millisecond:"h:mm:ss.SSS a",second:"h:mm:ss a",minute:"h:mm a",hour:"hA",day:"MMM D",week:"ll",month:"MMM YYYY",quarter:"[Q]Q - YYYY",year:"YYYY"};Jl._date.override(typeof n=="function"?{_id:"moment",formats:function(){return P1},parse:function(i,s){return typeof i=="string"&&typeof s=="string"?i=n(i,s):i instanceof n||(i=n(i)),i.isValid()?i.valueOf():null},format:function(i,s){return n(i).format(s)},add:function(i,s,o){return n(i).add(s,o).valueOf()},diff:function(i,s,o){return n(i).diff(n(s),o)},startOf:function(i,s,o){return i=n(i),s==="isoWeek"?i.isoWeekday(o).valueOf():i.startOf(s).valueOf()},endOf:function(i,s){return n(i).endOf(s).valueOf()},_create:function(i){return n(i)}}:{}),ie._set("global",{plugins:{filler:{propagate:!0}}});var R1={dataset:function(i){var s=i.fill,o=i.chart,u=o.getDatasetMeta(s),h=u&&o.isDatasetVisible(s),f=h&&u.dataset._children||[],p=f.length||0;return p?function(g,m){return m<p&&f[m]._view||null}:null},boundary:function(i){var s=i.boundary,o=s?s.x:null,u=s?s.y:null;return S.isArray(s)?function(h,f){return s[f]}:function(h){return{x:o===null?h.x:o,y:u===null?h.y:u}}}};function F1(i,s,o){var u=i._model||{},h=u.fill,f;if(h===void 0&&(h=!!u.backgroundColor),h===!1||h===null)return!1;if(h===!0)return"origin";if(f=parseFloat(h,10),isFinite(f)&&Math.floor(f)===f)return(h[0]==="-"||h[0]==="+")&&(f=s+f),f===s||f<0||f>=o?!1:f;switch(h){case"bottom":return"start";case"top":return"end";case"zero":return"origin";case"origin":case"start":case"end":return h;default:return!1}}function N1(i){var s=i.el._model||{},o=i.el._scale||{},u=i.fill,h=null,f;if(isFinite(u))return null;if(u==="start"?h=s.scaleBottom===void 0?o.bottom:s.scaleBottom:u==="end"?h=s.scaleTop===void 0?o.top:s.scaleTop:s.scaleZero!==void 0?h=s.scaleZero:o.getBasePixel&&(h=o.getBasePixel()),h!=null){if(h.x!==void 0&&h.y!==void 0)return h;if(S.isFinite(h))return f=o.isHorizontal(),{x:f?h:null,y:f?null:h}}return null}function B1(i){var s=i.el._scale,o=s.options,u=s.chart.data.labels.length,h=i.fill,f=[],p,g,m,b,x;if(!u)return null;for(p=o.ticks.reverse?s.max:s.min,g=o.ticks.reverse?s.min:s.max,m=s.getPointPositionForValue(0,p),b=0;b<u;++b)x=h==="start"||h==="end"?s.getPointPositionForValue(b,h==="start"?p:g):s.getBasePosition(b),o.gridLines.circular&&(x.cx=m.x,x.cy=m.y,x.angle=s.getIndexAngle(b)-Math.PI/2),f.push(x);return f}function z1(i){var s=i.el._scale||{};return s.getPointPositionForValue?B1(i):N1(i)}function H1(i,s,o){var u=i[s],h=u.fill,f=[s],p;if(!o)return h;for(;h!==!1&&f.indexOf(h)===-1;){if(!isFinite(h))return h;if(p=i[h],!p)return!1;if(p.visible)return h;f.push(h),h=p.fill}return!1}function W1(i){var s=i.fill,o="dataset";return s===!1?null:(isFinite(s)||(o="boundary"),R1[o](i))}function ud(i){return i&&!i.skip}function cd(i,s,o,u,h){var f,p,g,m;if(!(!u||!h)){for(i.moveTo(s[0].x,s[0].y),f=1;f<u;++f)S.canvas.lineTo(i,s[f-1],s[f]);if(o[0].angle!==void 0){for(p=o[0].cx,g=o[0].cy,m=Math.sqrt(Math.pow(o[0].x-p,2)+Math.pow(o[0].y-g,2)),f=h-1;f>0;--f)i.arc(p,g,m,o[f].angle,o[f-1].angle,!0);return}for(i.lineTo(o[h-1].x,o[h-1].y),f=h-1;f>0;--f)S.canvas.lineTo(i,o[f],o[f-1],!0)}}function V1(i,s,o,u,h,f){var p=s.length,g=u.spanGaps,m=[],b=[],x=0,w=0,C,O,A,I,E,H,q,J;for(i.beginPath(),C=0,O=p;C<O;++C)A=C%p,I=s[A]._view,E=o(I,A,u),H=ud(I),q=ud(E),f&&J===void 0&&H&&(J=C+1,O=p+J),H&&q?(x=m.push(I),w=b.push(E)):x&&w&&(g?(H&&m.push(I),q&&b.push(E)):(cd(i,m,b,x,w),x=w=0,m=[],b=[]));cd(i,m,b,x,w),i.closePath(),i.fillStyle=h,i.fill()}var j1={id:"filler",afterDatasetsUpdate:function(i,s){var o=(i.data.datasets||[]).length,u=s.propagate,h=[],f,p,g,m;for(p=0;p<o;++p)f=i.getDatasetMeta(p),g=f.dataset,m=null,g&&g._model&&g instanceof Ct.Line&&(m={visible:i.isDatasetVisible(p),fill:F1(g,p,o),chart:i,el:g}),f.$filler=m,h.push(m);for(p=0;p<o;++p)m=h[p],m&&(m.fill=H1(h,p,u),m.boundary=z1(m),m.mapper=W1(m))},beforeDatasetsDraw:function(i){var s=i._getSortedVisibleDatasetMetas(),o=i.ctx,u,h,f,p,g,m,b;for(h=s.length-1;h>=0;--h)u=s[h].$filler,!(!u||!u.visible)&&(f=u.el,p=f._view,g=f._children||[],m=u.mapper,b=p.backgroundColor||ie.global.defaultColor,m&&b&&g.length&&(S.canvas.clipArea(o,i.chartArea),V1(o,g,m,p,b,f._loop),S.canvas.unclipArea(o)))}},U1=S.rtl.getRtlAdapter,lr=S.noop,ur=S.valueOrDefault;ie._set("global",{legend:{display:!0,position:"top",align:"center",fullWidth:!0,reverse:!1,weight:1e3,onClick:function(i,s){var o=s.datasetIndex,u=this.chart,h=u.getDatasetMeta(o);h.hidden=h.hidden===null?!u.data.datasets[o].hidden:null,u.update()},onHover:null,onLeave:null,labels:{boxWidth:40,padding:10,generateLabels:function(i){var s=i.data.datasets,o=i.options.legend||{},u=o.labels&&o.labels.usePointStyle;return i._getSortedDatasetMetas().map(function(h){var f=h.controller.getStyle(u?0:void 0);return{text:s[h.index].label,fillStyle:f.backgroundColor,hidden:!i.isDatasetVisible(h.index),lineCap:f.borderCapStyle,lineDash:f.borderDash,lineDashOffset:f.borderDashOffset,lineJoin:f.borderJoinStyle,lineWidth:f.borderWidth,strokeStyle:f.borderColor,pointStyle:f.pointStyle,rotation:f.rotation,datasetIndex:h.index}},this)}}},legendCallback:function(i){var s=document.createElement("ul"),o=i.data.datasets,u,h,f,p;for(s.setAttribute("class",i.id+"-legend"),u=0,h=o.length;u<h;u++)f=s.appendChild(document.createElement("li")),p=f.appendChild(document.createElement("span")),p.style.backgroundColor=o[u].backgroundColor,o[u].label&&f.appendChild(document.createTextNode(o[u].label));return s.outerHTML}});function cu(i,s){return i.usePointStyle&&i.boxWidth>s?s:i.boxWidth}var hd=xn.extend({initialize:function(i){var s=this;S.extend(s,i),s.legendHitBoxes=[],s._hoveredItem=null,s.doughnutMode=!1},beforeUpdate:lr,update:function(i,s,o){var u=this;return u.beforeUpdate(),u.maxWidth=i,u.maxHeight=s,u.margins=o,u.beforeSetDimensions(),u.setDimensions(),u.afterSetDimensions(),u.beforeBuildLabels(),u.buildLabels(),u.afterBuildLabels(),u.beforeFit(),u.fit(),u.afterFit(),u.afterUpdate(),u.minSize},afterUpdate:lr,beforeSetDimensions:lr,setDimensions:function(){var i=this;i.isHorizontal()?(i.width=i.maxWidth,i.left=0,i.right=i.width):(i.height=i.maxHeight,i.top=0,i.bottom=i.height),i.paddingLeft=0,i.paddingTop=0,i.paddingRight=0,i.paddingBottom=0,i.minSize={width:0,height:0}},afterSetDimensions:lr,beforeBuildLabels:lr,buildLabels:function(){var i=this,s=i.options.labels||{},o=S.callback(s.generateLabels,[i.chart],i)||[];s.filter&&(o=o.filter(function(u){return s.filter(u,i.chart.data)})),i.options.reverse&&o.reverse(),i.legendItems=o},afterBuildLabels:lr,beforeFit:lr,fit:function(){var i=this,s=i.options,o=s.labels,u=s.display,h=i.ctx,f=S.options._parseFont(o),p=f.size,g=i.legendHitBoxes=[],m=i.minSize,b=i.isHorizontal();if(b?(m.width=i.maxWidth,m.height=u?10:0):(m.width=u?10:0,m.height=i.maxHeight),!u){i.width=m.width=i.height=m.height=0;return}if(h.font=f.string,b){var x=i.lineWidths=[0],w=0;h.textAlign="left",h.textBaseline="middle",S.each(i.legendItems,function(q,J){var ge=cu(o,p),pe=ge+p/2+h.measureText(q.text).width;(J===0||x[x.length-1]+pe+2*o.padding>m.width)&&(w+=p+o.padding,x[x.length-(J>0?0:1)]=0),g[J]={left:0,top:0,width:pe,height:p},x[x.length-1]+=pe+o.padding}),m.height+=w}else{var C=o.padding,O=i.columnWidths=[],A=i.columnHeights=[],I=o.padding,E=0,H=0;S.each(i.legendItems,function(q,J){var ge=cu(o,p),pe=ge+p/2+h.measureText(q.text).width;J>0&&H+p+2*C>m.height&&(I+=E+o.padding,O.push(E),A.push(H),E=0,H=0),E=Math.max(E,pe),H+=p+C,g[J]={left:0,top:0,width:pe,height:p}}),I+=E,O.push(E),A.push(H),m.width+=I}i.width=m.width,i.height=m.height},afterFit:lr,isHorizontal:function(){return this.options.position==="top"||this.options.position==="bottom"},draw:function(){var i=this,s=i.options,o=s.labels,u=ie.global,h=u.defaultColor,f=u.elements.line,p=i.height,g=i.columnHeights,m=i.width,b=i.lineWidths;if(s.display){var x=U1(s.rtl,i.left,i.minSize.width),w=i.ctx,C=ur(o.fontColor,u.defaultFontColor),O=S.options._parseFont(o),A=O.size,I;w.textAlign=x.textAlign("left"),w.textBaseline="middle",w.lineWidth=.5,w.strokeStyle=C,w.fillStyle=C,w.font=O.string;var E=cu(o,A),H=i.legendHitBoxes,q=function($e,Ee,ze){if(!(isNaN(E)||E<=0)){w.save();var st=ur(ze.lineWidth,f.borderWidth);if(w.fillStyle=ur(ze.fillStyle,h),w.lineCap=ur(ze.lineCap,f.borderCapStyle),w.lineDashOffset=ur(ze.lineDashOffset,f.borderDashOffset),w.lineJoin=ur(ze.lineJoin,f.borderJoinStyle),w.lineWidth=st,w.strokeStyle=ur(ze.strokeStyle,h),w.setLineDash&&w.setLineDash(ur(ze.lineDash,f.borderDash)),o&&o.usePointStyle){var nt=E*Math.SQRT2/2,Qe=x.xPlus($e,E/2),ut=Ee+A/2;S.canvas.drawPoint(w,ze.pointStyle,nt,Qe,ut,ze.rotation)}else w.fillRect(x.leftForLtr($e,E),Ee,E,A),st!==0&&w.strokeRect(x.leftForLtr($e,E),Ee,E,A);w.restore()}},J=function($e,Ee,ze,st){var nt=A/2,Qe=x.xPlus($e,E+nt),ut=Ee+nt;w.fillText(ze.text,Qe,ut),ze.hidden&&(w.beginPath(),w.lineWidth=2,w.moveTo(Qe,ut),w.lineTo(x.xPlus(Qe,st),ut),w.stroke())},ge=function($e,Ee){switch(s.align){case"start":return o.padding;case"end":return $e-Ee;default:return($e-Ee+o.padding)/2}},pe=i.isHorizontal();pe?I={x:i.left+ge(m,b[0]),y:i.top+o.padding,line:0}:I={x:i.left+o.padding,y:i.top+ge(p,g[0]),line:0},S.rtl.overrideTextDirection(i.ctx,s.textDirection);var De=A+o.padding;S.each(i.legendItems,function($e,Ee){var ze=w.measureText($e.text).width,st=E+A/2+ze,nt=I.x,Qe=I.y;x.setWidth(i.minSize.width),pe?Ee>0&&nt+st+o.padding>i.left+i.minSize.width&&(Qe=I.y+=De,I.line++,nt=I.x=i.left+ge(m,b[I.line])):Ee>0&&Qe+De>i.top+i.minSize.height&&(nt=I.x=nt+i.columnWidths[I.line]+o.padding,I.line++,Qe=I.y=i.top+ge(p,g[I.line]));var ut=x.x(nt);q(ut,Qe,$e),H[Ee].left=x.leftForLtr(ut,H[Ee].width),H[Ee].top=Qe,J(ut,Qe,$e,ze),pe?I.x+=st+o.padding:I.y+=De}),S.rtl.restoreTextDirection(i.ctx,s.textDirection)}},_getLegendItemAt:function(i,s){var o=this,u,h,f;if(i>=o.left&&i<=o.right&&s>=o.top&&s<=o.bottom){for(f=o.legendHitBoxes,u=0;u<f.length;++u)if(h=f[u],i>=h.left&&i<=h.left+h.width&&s>=h.top&&s<=h.top+h.height)return o.legendItems[u]}return null},handleEvent:function(i){var s=this,o=s.options,u=i.type==="mouseup"?"click":i.type,h;if(u==="mousemove"){if(!o.onHover&&!o.onLeave)return}else if(u==="click"){if(!o.onClick)return}else return;h=s._getLegendItemAt(i.x,i.y),u==="click"?h&&o.onClick&&o.onClick.call(s,i.native,h):(o.onLeave&&h!==s._hoveredItem&&(s._hoveredItem&&o.onLeave.call(s,i.native,s._hoveredItem),s._hoveredItem=h),o.onHover&&h&&o.onHover.call(s,i.native,h))}});function fd(i,s){var o=new hd({ctx:i.ctx,options:s,chart:i});Kt.configure(i,o,s),Kt.addBox(i,o),i.legend=o}var Y1={id:"legend",_element:hd,beforeInit:function(i){var s=i.options.legend;s&&fd(i,s)},beforeUpdate:function(i){var s=i.options.legend,o=i.legend;s?(S.mergeIf(s,ie.global.legend),o?(Kt.configure(i,o,s),o.options=s):fd(i,s)):o&&(Kt.removeBox(i,o),delete i.legend)},afterEvent:function(i,s){var o=i.legend;o&&o.handleEvent(s)}},Bn=S.noop;ie._set("global",{title:{display:!1,fontStyle:"bold",fullWidth:!0,padding:10,position:"top",text:"",weight:2e3}});var dd=xn.extend({initialize:function(i){var s=this;S.extend(s,i),s.legendHitBoxes=[]},beforeUpdate:Bn,update:function(i,s,o){var u=this;return u.beforeUpdate(),u.maxWidth=i,u.maxHeight=s,u.margins=o,u.beforeSetDimensions(),u.setDimensions(),u.afterSetDimensions(),u.beforeBuildLabels(),u.buildLabels(),u.afterBuildLabels(),u.beforeFit(),u.fit(),u.afterFit(),u.afterUpdate(),u.minSize},afterUpdate:Bn,beforeSetDimensions:Bn,setDimensions:function(){var i=this;i.isHorizontal()?(i.width=i.maxWidth,i.left=0,i.right=i.width):(i.height=i.maxHeight,i.top=0,i.bottom=i.height),i.paddingLeft=0,i.paddingTop=0,i.paddingRight=0,i.paddingBottom=0,i.minSize={width:0,height:0}},afterSetDimensions:Bn,beforeBuildLabels:Bn,buildLabels:Bn,afterBuildLabels:Bn,beforeFit:Bn,fit:function(){var i=this,s=i.options,o=i.minSize={},u=i.isHorizontal(),h,f;if(!s.display){i.width=o.width=i.height=o.height=0;return}h=S.isArray(s.text)?s.text.length:1,f=h*S.options._parseFont(s).lineHeight+s.padding*2,i.width=o.width=u?i.maxWidth:f,i.height=o.height=u?f:i.maxHeight},afterFit:Bn,isHorizontal:function(){var i=this.options.position;return i==="top"||i==="bottom"},draw:function(){var i=this,s=i.ctx,o=i.options;if(o.display){var u=S.options._parseFont(o),h=u.lineHeight,f=h/2+o.padding,p=0,g=i.top,m=i.left,b=i.bottom,x=i.right,w,C,O;s.fillStyle=S.valueOrDefault(o.fontColor,ie.global.defaultFontColor),s.font=u.string,i.isHorizontal()?(C=m+(x-m)/2,O=g+f,w=x-m):(C=o.position==="left"?m+f:x-f,O=g+(b-g)/2,w=b-g,p=Math.PI*(o.position==="left"?-.5:.5)),s.save(),s.translate(C,O),s.rotate(p),s.textAlign="center",s.textBaseline="middle";var A=o.text;if(S.isArray(A))for(var I=0,E=0;E<A.length;++E)s.fillText(A[E],0,I,w),I+=h;else s.fillText(A,0,0,w);s.restore()}}});function pd(i,s){var o=new dd({ctx:i.ctx,options:s,chart:i});Kt.configure(i,o,s),Kt.addBox(i,o),i.titleBlock=o}var q1={id:"title",_element:dd,beforeInit:function(i){var s=i.options.title;s&&pd(i,s)},beforeUpdate:function(i){var s=i.options.title,o=i.titleBlock;s?(S.mergeIf(s,ie.global.title),o?(Kt.configure(i,o,s),o.options=s):pd(i,s)):o&&(Kt.removeBox(i,o),delete i.titleBlock)}},cr={},G1=j1,Z1=Y1,K1=q1;cr.filler=G1,cr.legend=Z1,cr.title=K1,xe.helpers=S,j_(),xe._adapters=Jl,xe.Animation=El,xe.animationService=Pl,xe.controllers=Lf,xe.DatasetController=Zt,xe.defaults=ie,xe.Element=xn,xe.elements=Ct,xe.Interaction=gi,xe.layouts=Kt,xe.platform=yi,xe.plugins=Ne,xe.Scale=$t,xe.scaleService=oa,xe.Ticks=la,xe.Tooltip=Zl,xe.helpers.each(E1,function(i,s){xe.scaleService.registerScaleType(s,i,i._defaults)});for(var md in cr)cr.hasOwnProperty(md)&&xe.plugins.register(cr[md]);xe.platform.initialize();var X1=xe;return typeof window<"u"&&(window.Chart=xe),xe.Chart=xe,xe.Legend=cr.legend._element,xe.Title=cr.title._element,xe.pluginService=xe.plugins,xe.PluginBase=xe.Element.extend({}),xe.canvasHelpers=xe.helpers.canvas,xe.layoutService=xe.layouts,xe.LinearScaleBase=vs,xe.helpers.each(["Bar","Bubble","Doughnut","Line","PolarArea","Radar","Scatter"],function(i){xe[i]=function(s,o){return new xe(s,xe.helpers.merge(o||{},{type:i.charAt(0).toLowerCase()+i.slice(1)}))}}),X1})})(Ub);var uE=Ub.exports;const cE=sE(uE);function Yb(e,t){return{render:function(r){return r("div",{style:this.styles,class:this.cssClasses},[r("canvas",{attrs:{id:this.chartId,width:this.width,height:this.height},ref:"canvas"})])},props:{chartId:{default:e,type:String},width:{default:400,type:Number},height:{default:400,type:Number},cssClasses:{type:String,default:""},styles:{type:Object},plugins:{type:Array,default:function(){return[]}}},data:function(){return{_chart:null,_plugins:this.plugins}},methods:{addPlugin:function(r){this.$data._plugins.push(r)},generateLegend:function(){if(this.$data._chart)return this.$data._chart.generateLegend()},renderChart:function(r,a){if(this.$data._chart&&this.$data._chart.destroy(),!this.$refs.canvas)throw new Error("Please remove the <template></template> tags from your chart component. See https://vue-chartjs.org/guide/#vue-single-file-components");this.$data._chart=new cE(this.$refs.canvas.getContext("2d"),{type:t,data:r,options:a,plugins:this.$data._plugins})}},beforeDestroy:function(){this.$data._chart&&this.$data._chart.destroy()}}}var E5=Yb("doughnut-chart","doughnut"),hE=Yb("line-chart","line");function kt(e,t,n,r,a,l,c,d){var v=typeof e=="function"?e.options:e;t&&(v.render=t,v.staticRenderFns=n,v._compiled=!0),r&&(v.functional=!0),l&&(v._scopeId="data-v-"+l);var y;if(c?(y=function($){$=$||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,!$&&typeof __VUE_SSR_CONTEXT__<"u"&&($=__VUE_SSR_CONTEXT__),a&&a.call(this,$),$&&$._registeredComponents&&$._registeredComponents.add(c)},v._ssrRegister=y):a&&(y=d?function(){a.call(this,(v.functional?this.parent:this).$root.$options.shadowRoot)}:a),y)if(v.functional){v._injectStyles=y;var _=v.render;v.render=function(M,T){return y.call(T),_(M,T)}}else{var k=v.beforeCreate;v.beforeCreate=k?[].concat(k,y):[y]}return{exports:e,options:v}}const{reactiveProp:fE}=iE,dE={extends:hE,mixins:[fE],props:["options"],mounted(){this.renderChart(this.chartData,this.options)}},pE=null,mE=null;var vE=kt(dE,pE,mE,!1,null,null,null,null);const qb=vE.exports;class Gb{static toMoney(t){return t.toLocaleString("de-DE",{style:"currency",currency:"EUR",minimumFractionDigits:2})}static multi(t,n){return t.map(r=>n(r))}}const gE={props:{title:String,value:[String,Number],subtitle:String,icon:String,loading:Boolean,format:String,threshold:Array},computed:{money(){return Gb.toMoney(this.value)},percent(){return`${this.value}%`},color(){return this.$vuetify.theme.dark?"grey darken-4":"grey lighten-4"},highlightColor(){let e="";return this.threshold?(this.value<this.threshold[0]&&(e="red--text"),this.value>=this.threshold[0]&&(e="orange--text"),this.value>=this.threshold[1]&&(e="green--text"),e):""},hasPrependSlot(){return!!this.$slots.prepend}}};var yE=function(){var t=this,n=t._self._c;return t.loading?n(r$,{attrs:{type:"card-heading, list-item-avatar, list-item-title"}}):n(An,{staticClass:"shadow pa-3"},[n(Xa,[n(en,[n(dC,{attrs:{rounded:""}},[n(et,{staticClass:"icon",attrs:{light:""}},[t._v(t._s(t.icon))])],1),t._t("prepend"),n(Gn,{class:t.highlightColor},[n("h3",{class:t.hasPrependSlot?"ml-2":""},[t._v(t._s(t.title))]),t.subtitle?n("h5",{staticClass:"font-weight-light"},[t._v(t._s(t.subtitle))]):t._e()]),n(wt,{class:t.highlightColor},[t.format==="money"?n("h2",[t._v(t._s(t.money))]):t.format==="percent"?n("h2",[t._v(t._s(t.percent))]):n("h2",[t._v(t._s(t.value))])])],2)],1)],1)},bE=[],_E=kt(gE,yE,bE,!1,null,"d86346e5",null,null);const ba=_E.exports,xE="/assets/lead4car_banner-183af11a.webp",wE={name:"Home",components:{ValueWidget:ba,SalesOverviewChart:qb},data(){return{lead4carBanner:xE,loading:!0,data:{buyed_leads:0,costs:0,sold_leads:0,sales:0,graph:[]},chart:{data:{},options:{responsive:!0,maintainAspectRatio:!1,legend:{display:!1},scales:{yAxes:[{ticks:{beginAtZero:!0,callback:e=>Gb.toMoney(e)}}]}}}}},computed:{locale(){return"de"},account(){return this.$store.state.auth.account||{firstName:"",lastName:""}},noData(){return this.data.graph.filter(e=>e.sales>0).length===0},graphData(){return this.data.graph.map(e=>e.sales)},graphLabels(){return this.data.graph.map(e=>new Date(`${e.year}-${e.month}-1`).toLocaleString(this.locale,{month:"long"}))}},mounted(){yt.index.dashboardData().then(e=>{this.data=e,this.chart.data={labels:this.graphLabels,datasets:[{label:"Umsatz",borderColor:ZC.blue.base,backgroundColor:"rgba(33, 150, 243, 0.2)",data:this.graphData}]}}).finally(()=>{this.loading=!1})}};var SE=function(){var t=this,n=t._self._c;return n(xh,[n(mr,{attrs:{justify:"center"}},[n(wt,{attrs:{cols:"12",md:"10"}},[n(ig,{staticClass:"rounded shadow",attrs:{src:t.lead4carBanner,height:"20vh"}})],1)],1),n(mr,{attrs:{justify:"center"}},[n(wt,{attrs:{cols:"12",md:"10"}},[n("h1",{staticClass:"font-weight-light"},[t._v(t._s(t.$t("home.welcome",{name:`${t.account.firstName} ${t.account.lastName}`})))])]),n(wt,{attrs:{cols:"12",md:"10"}},[n(mr,[n(wt,{attrs:{cols:"12",sm:"6"}},[n(ba,{attrs:{title:t.$t("home.soldLeads"),subtitle:t.$t("home.widgetSubtitle"),value:t.data.sold_leads,icon:"mdi-chart-line",loading:t.loading}})],1),n(wt,{attrs:{cols:"12",sm:"6"}},[n(ba,{attrs:{title:t.$t("home.buyedLeads"),subtitle:t.$t("home.widgetSubtitle"),value:t.data.buyed_leads,icon:"mdi-car",loading:t.loading}})],1)],1),n(mr,[n(wt,{attrs:{cols:"12",sm:"6"}},[n(ba,{attrs:{title:t.$t("home.sales"),subtitle:t.$t("home.widgetSubtitle"),value:t.data.sales,icon:"mdi-hand-coin",loading:t.loading,format:"money"}})],1),n(wt,{attrs:{cols:"12",sm:"6"}},[n(ba,{attrs:{title:t.$t("home.costs"),subtitle:t.$t("home.widgetSubtitle"),value:t.data.costs,icon:"mdi-cash-register",loading:t.loading,format:"money"}})],1)],1),n(mr,[n(wt,{attrs:{cols:"12"}},[n(An,{staticClass:"shadow"},[n(ai,[t._v(t._s(t.$t("home.salesOverviewTitle")))]),t.noData?t._e():n(rl,[t._v(t._s(t.$t("home.salesOverviewSubtitle")))]),n(hn,[t.noData?n("h1",{staticClass:"mt-14 mb-14 text-center",staticStyle:{color:"#c2c2c2"}},[t._v(t._s(t.$t("home.salesOverviewNoData")))]):n(qb,{staticStyle:{height:"20rem"},attrs:{"chart-data":t.chart.data,options:t.chart.options}})],1)],1)],1)],1)],1)],1)],1)},kE=[],CE=kt(wE,SE,kE,!1,null,null,null,null);const $E=CE.exports;ee.use(Vb);const ME=[{path:"/",name:"Home",component:$E,meta:{hideAppBar:!1,requiresAuth:!0}},{path:"/searchServicePartner",name:"SearchServicePartner",component:()=>kn(()=>import("./SearchServicePartner-79cd1f2b.js"),["assets/SearchServicePartner-79cd1f2b.js","assets/VDatePicker-c27f8250.js","assets/index-f7d53317.js","assets/VDatePicker-e966cabc.css","assets/Matrix.helper-667a6fbe.js","assets/Validators-c4ae7805.js","assets/VCheckbox-c4e62285.js","assets/VCheckbox-b693f2c6.css","assets/SearchServicePartner-7094d9fa.css"]),meta:{hideAppBar:!1,requiresAuth:!0,reload:!0}},{path:"/myConveyedLeads",name:"MyConveyedLeads",component:()=>kn(()=>import("./MyConveyedLeads-3cf81332.js"),["assets/MyConveyedLeads-3cf81332.js","assets/Validators-c4ae7805.js","assets/VDataTable-7feceb3e.js","assets/index-60d0e70e.js","assets/VDataTable-d676ab1c.css","assets/index-376ce3eb.js","assets/VTooltip-adc9b375.js","assets/VTooltip-6701f8f4.css","assets/MyConveyedLeads-4b886855.css"]),meta:{hideAppBar:!1,requiresAuth:!0}},{path:"/matrixManagement",name:"MatrixManagement",component:()=>kn(()=>import("./MatrixManagement-b7f619cd.js"),["assets/MatrixManagement-b7f619cd.js","assets/VCheckbox-c4e62285.js","assets/VCheckbox-b693f2c6.css","assets/VSlideGroup-83d121d2.js","assets/index-60d0e70e.js","assets/index-f7d53317.js","assets/VSlideGroup-e48c73cd.css","assets/MatrixManagement-6441140e.css"]),meta:{hideAppBar:!1,requiresAuth:!0,serviceStore:!0}},{path:"/management",name:"Management",component:()=>kn(()=>import("./Management-393898c6.js"),["assets/Management-393898c6.js","assets/VTabItem-839e7af9.js","assets/VSlideGroup-83d121d2.js","assets/index-60d0e70e.js","assets/index-f7d53317.js","assets/VSlideGroup-e48c73cd.css","assets/VTabItem-e54f5f2d.css","assets/VDataTable-7feceb3e.js","assets/VDataTable-d676ab1c.css","assets/index-376ce3eb.js","assets/VTooltip-adc9b375.js","assets/VTooltip-6701f8f4.css","assets/VCheckbox-c4e62285.js","assets/VCheckbox-b693f2c6.css","assets/Management-237ecd51.css"]),meta:{hideAppBar:!1,requiresAuth:!0}},{path:"/leadOverview",name:"LeadOverview",component:()=>kn(()=>import("./LeadOverview-69d1013e.js"),["assets/LeadOverview-69d1013e.js","assets/Matrix.helper-667a6fbe.js","assets/VTabItem-839e7af9.js","assets/VSlideGroup-83d121d2.js","assets/index-60d0e70e.js","assets/index-f7d53317.js","assets/VSlideGroup-e48c73cd.css","assets/VTabItem-e54f5f2d.css","assets/VDataTable-7feceb3e.js","assets/VDataTable-d676ab1c.css","assets/TimeRangePicker-53be67a3.js","assets/VDatePicker-c27f8250.js","assets/VDatePicker-e966cabc.css","assets/LeadOverview-b8a143d7.css"]),meta:{hideAppBar:!1,requiresAuth:!0}},{path:"/login",name:"Login",component:()=>kn(()=>import("./Login-bd1c2a09.js"),["assets/Login-bd1c2a09.js","assets/AuthTemplate-e1828dff.js"]),meta:{hideAppBar:!0,requiresAuth:!1}},{path:"/setPassword",name:"SetPassword",component:()=>kn(()=>import("./SetPassword-84249b71.js"),["assets/SetPassword-84249b71.js","assets/AuthTemplate-e1828dff.js"]),meta:{hideAppBar:!0,requiresAuth:!1}},{path:"/resetPassword",name:"ResetPassword",component:()=>kn(()=>import("./ResetPassword-de202a37.js"),["assets/ResetPassword-de202a37.js","assets/AuthTemplate-e1828dff.js"]),meta:{hideAppBar:!0,requiresAuth:!1}},{path:"/controlling",name:"Controlling",component:()=>kn(()=>import("./Controlling-3fbf256f.js"),["assets/Controlling-3fbf256f.js","assets/TimeRangePicker-53be67a3.js","assets/VDatePicker-c27f8250.js","assets/index-f7d53317.js","assets/VDatePicker-e966cabc.css","assets/VTooltip-adc9b375.js","assets/VTooltip-6701f8f4.css","assets/VDataTable-7feceb3e.js","assets/index-60d0e70e.js","assets/VDataTable-d676ab1c.css"]),meta:{hideAppBar:!1,requiresAuth:!0}}],ja=new Vb({routes:ME});ja.beforeEach((e,t,n)=>{if(e.meta.requiresAuth&&!jt.getCurrentUser()&&e.name!=="Login")return n({path:"/login",query:{to:e.name}});n()});ja.beforeEach((e,t,n)=>{const r=jt.getCurrentUser();if(r){if(r.setPasswordNextLogin&&e.name!=="SetPassword")return n({name:"SetPassword"});r.expire&&new Date>new Date(r.expire)&&jt.refreshToken(),n()}else n()});class TE{constructor({config:t}){this.config=t,this.index={dashboardData:async()=>this.call("/dashboard")},this.auth={login:async(n,r)=>this.call("/auth/login",{method:"POST",data:{email:n,password:r}}),setPassword:async n=>this.call("/auth/setPassword",{method:"POST",data:{password:n}}),resetPassword:async n=>this.call("/auth/resetPassword",{method:"POST",data:{email:n}}),refreshToken:async()=>this.call("/auth/refreshToken")},this.zip={validate:async n=>this.call(`/zip/validate/${n}`)},this.vin={validate:async(n,r=null)=>this.call(`/vin/validate/${n}`,{parameters:{brand:r}})},this.brands={all:async()=>this.call("/brands/all")},this.stores={findAll:async()=>this.call("/stores"),create:async n=>this.call("/stores/manage",{method:"POST",data:{data:n}}),edit:async n=>this.call("/stores/manage",{method:"PATCH",data:{data:n}}),searchServicePartner:async n=>this.call("/stores/searchServicePartner",{method:"POST",data:n}),choosable:async n=>this.call("/stores/choosable"),current:async()=>this.call("/stores/current"),updateMatrix:async n=>this.call("/stores/updateMatrix",{method:"PATCH",data:n})},this.mandants={choosable:async()=>this.call("/mandants/choosable"),current:async()=>this.call("/mandants/current"),updateLimit:async n=>this.call("/mandants/updateLimit",{method:"PATCH",data:{limits:n}})},this.auctions={byUser:async()=>this.call("/auctions/byUser"),convey:async n=>this.call("/auctions/convey",{method:"POST",data:n}),getLeadOverviewCalculations:async(n,r)=>this.call("/auctions/getLeadOverviewCalculations",{parameters:{timespan:n,matrixTypes:JSON.stringify(r)}}),resendDSE:async n=>this.call("/auctions/resendDSE",{method:"POST",data:{id:n}}),delete:async n=>this.call("/auctions/delete",{method:"POST",data:{id:n}}),edit:async n=>this.call("/auctions/edit",{method:"POST",data:n}),editNote:async(n,r)=>this.call("/auctions/editNote",{method:"POST",data:{note:r},parameters:{id:n}})},this.user={findAll:async()=>this.call("/users"),getChoosable:async()=>this.call("/users/choosable"),create:async n=>this.call("/users/manage",{method:"POST",data:{data:n}}),edit:async n=>this.call("/users/manage",{method:"PATCH",data:{data:n}}),delete:async n=>this.call("/users/manage",{method:"DELETE",data:{data:n}}),switchStore:async n=>this.call("/users/switchStore",{method:"POST",parameters:{storeId:n}}),switchMandant:async n=>this.call("/users/switchMandant",{method:"POST",parameters:{mandantId:n}})},this.matrixTypes={all:async()=>this.call("/matrixTypes/all")},this.notices={byUser:async()=>this.call("/notices/byUser"),getDefault:async()=>this.call("/notices/default"),setSeen:async n=>this.call("/notices/setSeen",{method:"POST",data:{notice:n._id}})},this.managements={getAll:async()=>this.call("/managements/all"),remove:async n=>this.call("/managements/remove",{method:"POST",data:{_id:n}})},this.controlling={getAll:async n=>this.call("/controlling/all",{parameters:n})},this.validations={phoneNumber:async n=>this.call("/validation/validatePhoneNumber",{parameters:{phoneNumber:n}})},this.apiKeys={getAll:async()=>this.call("/apikeys/all",{method:"GET"}),remove:async n=>this.call(`/apikeys/${n}`,{method:"DELETE"}),create:async n=>this.call("/apikeys/create",{method:"POST",data:n})}}async call(t,{method:n="get",data:r,parameters:a={},baseUrlOverride:l=null,withCredentials:c=!0,headers:d={}}={}){const v=Object.keys(a).map(_=>`${_}=${encodeURIComponent(a[_])}`).join("&"),y=`${l||this.config.basePath}${t}?${v}`;try{const _=await dT.request(y,{method:n,data:r,withCredentials:c,headers:{...d,Authorization:`Bearer ${jt.getToken()}`}});return _.data.showAlert&&_o.dispatch("alert/create",{type:_.data.type||"success",message:_.data.translate?Va.t(_.data.message):_.data.message}),_.data}catch(_){throw _.response&&_.response.data.showAlert===!0&&_o.dispatch("alert/create",{type:_.response.data.type||"error",message:_.response.data.translate?Va.t(_.response.data.message):_.response.data.message}),_.response?.status===401&&(window.location.hash.includes("#/login")||ja.push({path:"/login",query:{to:ja.currentRoute.name}})),console.error(_),_}}}const OE=new TE({config:{basePath:window.location.hostname.includes("localhost")?"http://localhost:3030":"/api"}}),yt=OE;const AE={data(){return{loading:!1}},methods:{clickHandler(e){switch(this.switchModal.mode){case"mandant":this.loading=!0,yt.user.switchMandant(e._id).finally(()=>{this.loading=!1,this.closeDialog(),jt.refreshToken()});break;case"store":this.loading=!0,yt.user.switchStore(e._id).finally(()=>{this.loading=!1,this.closeDialog(),jt.refreshToken()});break}},closeDialog(){this.$store.dispatch("app/closeModal","switchModal")}},computed:{switchModal(){return this.$store.state.app.modals.switchModal},account(){return this.$store.state.auth.account},current(){return{mandant:this.account?.currentMandant,store:this.account?.currentStore}},currentIndex(){switch(this.switchModal.mode){case"mandant":return this.account.choosableMandants.findIndex(e=>e._id===this.current._id);case"store":return this.account.choosableStores.findIndex(e=>e._id===this.current._id)}return-1},items(){switch(this.switchModal.mode){case"mandant":return this.account.choosableMandants;case"store":return this.account.choosableStores.filter(e=>e.mandant===this.current.mandant._id)}return[]},...rr({currentMandant:"auth/currentMandant",currentStore:"auth/currentStore"})}};var DE=function(){var t=this,n=t._self._c;return n(Ja,{attrs:{value:t.switchModal.open,width:"60vw"},on:{input:t.closeDialog}},[n(An,{staticClass:"pa-4"},[n(ai,[t._v(t._s(t.$t("app.modals.switchModal.title",{title:t.switchModal.title})))]),t.loading?n(hn,[n(bg,{attrs:{color:"primary",indeterminate:""}})],1):t._e(),t.items.length>0&&!t.loading?n(Xa,{attrs:{dense:""}},[t.switchModal.mode==="store"?n(hc,{attrs:{value:t.currentIndex,color:"primary"}},t._l(t.items,function(r){return n(en,{key:`mi-${r._id}`,on:{click:function(a){return t.clickHandler(r)}}},[n(fc,[n(Gn,[n(mr,{attrs:{align:"center"}},[n(wt,{attrs:{cols:"4"}},[t._v(" "+t._s(r.name.full)+" ")]),n(wt,{attrs:{cols:"8"}},[r.isServiceStore?n(zs,{staticClass:"ml-2",attrs:{color:"blue",label:"",dark:"",small:""}},[t._v(t._s(t.$t("app.typical.serviceStore")))]):t._e(),r._id===t.currentStore._id?n(zs,{staticClass:"ml-2",attrs:{color:"grey",label:"",small:"",light:""}},[t._v(t._s(t.$t("app.typical.current")))]):t._e()],1)],1)],1)],1)],1)}),1):t._e(),t.switchModal.mode==="mandant"?n(hc,{attrs:{value:t.currentIndex,color:"primary"}},t._l(t.items,function(r){return n(en,{key:`mi-${r._id}`,on:{click:function(a){return t.clickHandler(r)}}},[n(fc,[n(Gn,[t._v(" "+t._s(r.name)+" "),r._id===t.currentMandant._id?n(zs,{staticClass:"ml-2",attrs:{color:"grey",label:"",small:"",light:""}},[t._v(t._s(t.$t("app.typical.current")))]):t._e()],1)],1)],1)}),1):t._e()],1):t._e(),t.items.length<1?n(hn,[t.switchModal.mode==="mandant"?n("p",[t._v(t._s(t.$t("app.modals.switchModal.noMandants")))]):t._e(),t.switchModal.mode==="store"?n("p",[t._v(t._s(t.$t("app.modals.switchModal.noStores")))]):t._e()]):t._e(),n(Qa,[n(Qt,{attrs:{color:"grey",light:""},on:{click:t.closeDialog}},[t._v(t._s(t.$t("app.typical.abort")))])],1)],1)],1)},IE=[],LE=kt(AE,DE,IE,!1,null,null,null,null);const Zb=LE.exports,EE={data(){return{links:[{name:"LinkedIn",href:"https://www.linkedin.com/company/lead4-gmbh/?viewAsMember=true"},{name:this.$t("footer.aboutUs"),href:"https://lead4car.de/ueber-uns-2"},{name:this.$t("footer.contact"),href:"https://lead4car.de/home#kontakt"},{name:this.$t("footer.imprint"),href:"https://lead4car.de/impressum"},{name:this.$t("footer.privacy"),href:"https://lead4car.de/datenschutz"}]}}};var PE=function(){var t=this,n=t._self._c;return n(XC,{attrs:{dark:""}},[n(wt,{staticClass:"text-md-right pr-5",attrs:{cols:"12",md:"6"}},t._l(t.links,function(r){return n("a",{key:r.name,staticClass:"ma-1 white--text text-decoration-none text-caption text-md-body-2",staticStyle:{"white-space":"nowrap"},attrs:{href:r.href}},[t._v(t._s(r.name))])}),0),n(wt,{staticClass:"text-md-left pl-5",attrs:{cols:"12",md:"6"}},[t._v(" "+t._s(t.$t("footer.copyright",{year:new Date().getFullYear()}))+" ")])],1)},RE=[],FE=kt(EE,PE,RE,!1,null,null,null,null);const Kb=FE.exports;const NE={computed:{alerts:function(){return this.$store.state.alert.alerts}}};var BE=function(){var t=this,n=t._self._c;return n(xh,{attrs:{id:"alert-container"}},t._l(t.alerts,function(r){return n(X2,{key:r.key,attrs:{dismissible:"",elevation:"3",type:r.type}},[t._v(" "+t._s(r.message)+" ")])}),1)},zE=[],HE=kt(NE,BE,zE,!1,null,"ca75af62",null,null);const Xb=HE.exports;ee.util.warn;function km(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),n.push.apply(n,r)}return n}function fr(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?km(Object(n),!0).forEach(function(r){WE(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):km(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function WE(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Cm(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];return Object.keys(e).reduce((n,r)=>(t.includes(r)||(n[r]=Se(e[r])),n),{})}function zo(e){return typeof e=="function"}function VE(e){return _a(e)||Za(e)}function Jb(e,t,n){let r=e;const a=t.split(".");for(let l=0;l<a.length;l++){if(!r[a[l]])return n;r=r[a[l]]}return r}function Pu(e,t,n){return qe(()=>e.some(r=>Jb(t,r,{[n]:!1})[n]))}function $m(e,t,n){return qe(()=>e.reduce((r,a)=>{const l=Jb(t,a,{[n]:!1})[n]||[];return r.concat(l)},[]))}function Qb(e,t,n,r){return e.call(r,Se(t),Se(n),r)}function e0(e){return e.$valid!==void 0?!e.$valid:!e}function jE(e,t,n,r,a,l,c){let{$lazy:d,$rewardEarly:v}=a,y=arguments.length>7&&arguments[7]!==void 0?arguments[7]:[],_=arguments.length>8?arguments[8]:void 0,k=arguments.length>9?arguments[9]:void 0,$=arguments.length>10?arguments[10]:void 0;const M=un(!!r.value),T=un(0);n.value=!1;const L=Ta([t,r].concat(y,$),()=>{if(d&&!r.value||v&&!k.value&&!n.value)return;let D;try{D=Qb(e,t,_,c)}catch(N){D=Promise.reject(N)}T.value++,n.value=!!T.value,M.value=!1,Promise.resolve(D).then(N=>{T.value--,n.value=!!T.value,l.value=N,M.value=e0(N)}).catch(N=>{T.value--,n.value=!!T.value,l.value=N,M.value=!0})},{immediate:!0,deep:typeof t=="object"});return{$invalid:M,$unwatch:L}}function UE(e,t,n,r,a,l,c,d){let{$lazy:v,$rewardEarly:y}=r;const _=()=>({}),k=qe(()=>{if(v&&!n.value||y&&!d.value)return!1;let $=!0;try{const M=Qb(e,t,c,l);a.value=M,$=e0(M)}catch(M){a.value=M}return $});return{$unwatch:_,$invalid:k}}function YE(e,t,n,r,a,l,c,d,v,y,_){const k=un(!1),$=e.$params||{},M=un(null);let T,L;e.$async?{$invalid:T,$unwatch:L}=jE(e.$validator,t,k,n,r,M,a,e.$watchTargets,v,y,_):{$invalid:T,$unwatch:L}=UE(e.$validator,t,n,r,M,a,v,y);const D=e.$message;return{$message:zo(D)?qe(()=>D(Cm({$pending:k,$invalid:T,$params:Cm($),$model:t,$response:M,$validator:l,$propertyPath:d,$property:c}))):D||"",$params:$,$pending:k,$invalid:T,$response:M,$unwatch:L}}function qE(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const t=Se(e),n=Object.keys(t),r={},a={},l={};let c=null;return n.forEach(d=>{const v=t[d];switch(!0){case zo(v.$validator):r[d]=v;break;case zo(v):r[d]={$validator:v};break;case d==="$validationGroups":c=v;break;case d.startsWith("$"):l[d]=v;break;default:a[d]=v}}),{rules:r,nestedValidators:a,config:l,validationGroups:c}}const GE="__root";function ZE(e,t,n,r,a,l,c,d,v){const y=Object.keys(e),_=r.get(a,e),k=un(!1),$=un(!1),M=un(0);if(_){if(!_.$partial)return _;_.$unwatch(),k.value=_.$dirty.value}const T={$dirty:k,$path:a,$touch:()=>{k.value||(k.value=!0)},$reset:()=>{k.value&&(k.value=!1)},$commit:()=>{}};return y.length?(y.forEach(L=>{T[L]=YE(e[L],t,T.$dirty,l,c,L,n,a,v,$,M)}),T.$externalResults=qe(()=>d.value?[].concat(d.value).map((L,D)=>({$propertyPath:a,$property:n,$validator:"$externalResults",$uid:`${a}-externalResult-${D}`,$message:L,$params:{},$response:null,$pending:!1})):[]),T.$invalid=qe(()=>{const L=y.some(D=>Se(T[D].$invalid));return $.value=L,!!T.$externalResults.value.length||L}),T.$pending=qe(()=>y.some(L=>Se(T[L].$pending))),T.$error=qe(()=>T.$dirty.value?T.$pending.value||T.$invalid.value:!1),T.$silentErrors=qe(()=>y.filter(L=>Se(T[L].$invalid)).map(L=>{const D=T[L];return Yc({$propertyPath:a,$property:n,$validator:L,$uid:`${a}-${L}`,$message:D.$message,$params:D.$params,$response:D.$response,$pending:D.$pending})}).concat(T.$externalResults.value)),T.$errors=qe(()=>T.$dirty.value?T.$silentErrors.value:[]),T.$unwatch=()=>y.forEach(L=>{T[L].$unwatch()}),T.$commit=()=>{$.value=!0,M.value=Date.now()},r.set(a,e,T),T):(_&&r.set(a,e,T),T)}function KE(e,t,n,r,a,l,c){const d=Object.keys(e);return d.length?d.reduce((v,y)=>(v[y]=zc({validations:e[y],state:t,key:y,parentKey:n,resultsCache:r,globalConfig:a,instance:l,externalResults:c}),v),{}):{}}function XE(e,t,n){const r=qe(()=>[t,n].filter(T=>T).reduce((T,L)=>T.concat(Object.values(Se(L))),[])),a=qe({get(){return e.$dirty.value||(r.value.length?r.value.every(T=>T.$dirty):!1)},set(T){e.$dirty.value=T}}),l=qe(()=>{const T=Se(e.$silentErrors)||[],L=r.value.filter(D=>(Se(D).$silentErrors||[]).length).reduce((D,N)=>D.concat(...N.$silentErrors),[]);return T.concat(L)}),c=qe(()=>{const T=Se(e.$errors)||[],L=r.value.filter(D=>(Se(D).$errors||[]).length).reduce((D,N)=>D.concat(...N.$errors),[]);return T.concat(L)}),d=qe(()=>r.value.some(T=>T.$invalid)||Se(e.$invalid)||!1),v=qe(()=>r.value.some(T=>Se(T.$pending))||Se(e.$pending)||!1),y=qe(()=>r.value.some(T=>T.$dirty)||r.value.some(T=>T.$anyDirty)||a.value),_=qe(()=>a.value?v.value||d.value:!1),k=()=>{e.$touch(),r.value.forEach(T=>{T.$touch()})},$=()=>{e.$commit(),r.value.forEach(T=>{T.$commit()})},M=()=>{e.$reset(),r.value.forEach(T=>{T.$reset()})};return r.value.length&&r.value.every(T=>T.$dirty)&&k(),{$dirty:a,$errors:c,$invalid:d,$anyDirty:y,$error:_,$pending:v,$touch:k,$reset:M,$silentErrors:l,$commit:$}}function zc(e){let{validations:t,state:n,key:r,parentKey:a,childResults:l,resultsCache:c,globalConfig:d={},instance:v,externalResults:y}=e;const _=a?`${a}.${r}`:r,{rules:k,nestedValidators:$,config:M,validationGroups:T}=qE(t),L=fr(fr({},d),M),D=r?qe(()=>{const te=Se(n);return te?Se(te[r]):void 0}):n,N=fr({},Se(y)||{}),z=qe(()=>{const te=Se(y);return r?te?Se(te[r]):void 0:te}),j=ZE(k,D,r,c,_,L,v,z,n),U=KE($,D,_,c,L,v,z),Q={};T&&Object.entries(T).forEach(te=>{let[be,oe]=te;Q[be]={$invalid:Pu(oe,U,"$invalid"),$error:Pu(oe,U,"$error"),$pending:Pu(oe,U,"$pending"),$errors:$m(oe,U,"$errors"),$silentErrors:$m(oe,U,"$silentErrors")}});const{$dirty:ne,$errors:ce,$invalid:Oe,$anyDirty:it,$error:ht,$pending:ft,$touch:R,$reset:P,$silentErrors:W,$commit:K}=XE(j,U,l),ue=r?qe({get:()=>Se(D),set:te=>{ne.value=!0;const be=Se(n),oe=Se(y);oe&&(oe[r]=N[r]),ct(be[r])?be[r].value=te:be[r]=te}}):null;r&&L.$autoDirty&&Ta(D,()=>{ne.value||R();const te=Se(y);te&&(te[r]=N[r])},{flush:"sync"});async function we(){return R(),L.$rewardEarly&&(K(),await Aa()),await Aa(),new Promise(te=>{if(!ft.value)return te(!Oe.value);const be=Ta(ft,()=>{te(!Oe.value),be()})})}function re(te){return(l.value||{})[te]}function he(){ct(y)?y.value=N:Object.keys(N).length===0?Object.keys(y).forEach(te=>{delete y[te]}):Object.assign(y,N)}return Yc(fr(fr(fr({},j),{},{$model:ue,$dirty:ne,$error:ht,$errors:ce,$invalid:Oe,$anyDirty:it,$pending:ft,$touch:R,$reset:P,$path:_||GE,$silentErrors:W,$validate:we,$commit:K},l&&{$getResultsForChild:re,$clearExternalResults:he,$validationGroups:Q}),U))}class JE{constructor(){this.storage=new Map}set(t,n,r){this.storage.set(t,{rules:n,result:r})}checkRulesValidity(t,n,r){const a=Object.keys(r),l=Object.keys(n);return l.length!==a.length||!l.every(d=>a.includes(d))?!1:l.every(d=>n[d].$params?Object.keys(n[d].$params).every(v=>Se(r[d].$params[v])===Se(n[d].$params[v])):!0)}get(t,n){const r=this.storage.get(t);if(!r)return;const{rules:a,result:l}=r,c=this.checkRulesValidity(t,n,a),d=l.$unwatch?l.$unwatch:()=>({});return c?l:{$dirty:l.$dirty,$partial:!0,$unwatch:d}}}const eo={COLLECT_ALL:!0,COLLECT_NONE:!1},Mm=Symbol("vuelidate#injectChildResults"),Tm=Symbol("vuelidate#removeChildResults");function QE(e){let{$scope:t,instance:n}=e;const r={},a=un([]),l=qe(()=>a.value.reduce((_,k)=>(_[k]=Se(r[k]),_),{}));function c(_,k){let{$registerAs:$,$scope:M,$stopPropagation:T}=k;T||t===eo.COLLECT_NONE||M===eo.COLLECT_NONE||t!==eo.COLLECT_ALL&&t!==M||(r[$]=_,a.value.push($))}n.__vuelidateInjectInstances=[].concat(n.__vuelidateInjectInstances||[],c);function d(_){a.value=a.value.filter(k=>k!==_),delete r[_]}n.__vuelidateRemoveInstances=[].concat(n.__vuelidateRemoveInstances||[],d);const v=$d(Mm,[]);Cd(Mm,n.__vuelidateInjectInstances);const y=$d(Tm,[]);return Cd(Tm,n.__vuelidateRemoveInstances),{childResults:l,sendValidationResultsToParent:v,removeValidationResultsFromParent:y}}function t0(e){return new Proxy(e,{get(t,n){return typeof t[n]=="object"?t0(t[n]):qe(()=>t[n])}})}let Om=0;function eP(e,t){var n;let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};arguments.length===1&&(r=e,e=void 0,t=void 0);let{$registerAs:a,$scope:l=eo.COLLECT_ALL,$stopPropagation:c,$externalResults:d,currentVueInstance:v}=r;const y=v||((n=mx())===null||n===void 0?void 0:n.proxy),_=y?y.$options:{};a||(Om+=1,a=`_vuelidate_${Om}`);const k=un({}),$=new JE,{childResults:M,sendValidationResultsToParent:T,removeValidationResultsFromParent:L}=y?QE({$scope:l,instance:y}):{childResults:un({})};if(!e&&_.validations){const D=_.validations;t=un({}),tw(()=>{t.value=y,Ta(()=>zo(D)?D.call(t.value,new t0(t.value)):D,N=>{k.value=zc({validations:N,state:t,childResults:M,resultsCache:$,globalConfig:r,instance:y,externalResults:d||y.vuelidateExternalResults})},{immediate:!0})}),r=_.validationsConfig||r}else{const D=ct(e)||VE(e)?e:Yc(e||{});Ta(D,N=>{k.value=zc({validations:N,state:t,childResults:M,resultsCache:$,globalConfig:r,instance:y??{},externalResults:d})},{immediate:!0})}return y&&(T.forEach(D=>D(k,{$registerAs:a,$scope:l,$stopPropagation:c})),nw(()=>L.forEach(D=>D(a)))),qe(()=>fr(fr({},Se(k.value)),M.value))}function Am(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),n.push.apply(n,r)}return n}function Ua(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Am(Object(n),!0).forEach(function(r){tP(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Am(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function tP(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ho(e){return typeof e=="function"}function Hc(e){return e!==null&&typeof e=="object"&&!Array.isArray(e)}function Al(e){return Ho(e.$validator)?Ua({},e):{$validator:e}}function n0(e){return typeof e=="object"?e.$valid:e}function r0(e){return e.$validator||e}function nP(e,t){if(!Hc(e))throw new Error(`[@vuelidate/validators]: First parameter to "withParams" should be an object, provided ${typeof e}`);if(!Hc(t)&&!Ho(t))throw new Error("[@vuelidate/validators]: Validator must be a function or object with $validator parameter");const n=Al(t);return n.$params=Ua(Ua({},n.$params||{}),e),n}function rP(e,t){if(!Ho(e)&&typeof Se(e)!="string")throw new Error(`[@vuelidate/validators]: First parameter to "withMessage" should be string or a function returning a string, provided ${typeof e}`);if(!Hc(t)&&!Ho(t))throw new Error("[@vuelidate/validators]: Validator must be a function or object with $validator parameter");const n=Al(t);return n.$message=e,n}function iP(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];const n=Al(e);return Ua(Ua({},n),{},{$async:!0,$watchTargets:t})}function aP(e){return{$validator(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),a=1;a<n;a++)r[a-1]=arguments[a];return Se(t).reduce((l,c,d)=>{const v=Object.entries(c).reduce((y,_)=>{let[k,$]=_;const M=e[k]||{},T=Object.entries(M).reduce((L,D)=>{let[N,z]=D;const U=r0(z).call(this,$,c,d,...r),Q=n0(U);if(L.$data[N]=U,L.$data.$invalid=!Q||!!L.$data.$invalid,L.$data.$error=L.$data.$invalid,!Q){let ne=z.$message||"";const ce=z.$params||{};typeof ne=="function"&&(ne=ne({$pending:!1,$invalid:!Q,$params:ce,$model:$,$response:U})),L.$errors.push({$property:k,$message:ne,$params:ce,$response:U,$model:$,$pending:!1,$validator:N})}return{$valid:L.$valid&&Q,$data:L.$data,$errors:L.$errors}},{$valid:!0,$data:{},$errors:[]});return y.$data[k]=T.$data,y.$errors[k]=T.$errors,{$valid:y.$valid&&T.$valid,$data:y.$data,$errors:y.$errors}},{$valid:!0,$data:{},$errors:{}});return{$valid:l.$valid&&v.$valid,$data:l.$data.concat(v.$data),$errors:l.$errors.concat(v.$errors)}},{$valid:!0,$data:[],$errors:[]})},$message:t=>{let{$response:n}=t;return n?n.$errors.map(r=>Object.values(r).map(a=>a.map(l=>l.$message)).reduce((a,l)=>a.concat(l),[])):[]}}}const di=e=>{if(e=Se(e),Array.isArray(e))return!!e.length;if(e==null)return!1;if(e===!1)return!0;if(e instanceof Date)return!isNaN(e.getTime());if(typeof e=="object"){for(let t in e)return!0;return!1}return!!String(e).length},ff=e=>(e=Se(e),Array.isArray(e)?e.length:typeof e=="object"?Object.keys(e).length:String(e).length);function Er(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return r=>(r=Se(r),!di(r)||t.every(a=>(a.lastIndex=0,a.test(r))))}var P5=Object.freeze({__proto__:null,forEach:aP,len:ff,normalizeValidatorObject:Al,regex:Er,req:di,unwrap:Se,unwrapNormalizedValidator:r0,unwrapValidatorResponse:n0,withAsync:iP,withMessage:rP,withParams:nP});Er(/^[a-zA-Z]*$/);Er(/^[a-zA-Z0-9]*$/);var sP=Er(/^\d*(\.\d+)?$/),R5={$validator:sP,$message:"Value must be numeric",$params:{type:"numeric"}};function oP(e,t){return n=>!di(n)||(!/\s/.test(n)||n instanceof Date)&&+Se(e)<=+n&&+Se(t)>=+n}function F5(e,t){return{$validator:oP(e,t),$message:n=>{let{$params:r}=n;return`The value must be between ${r.min} and ${r.max}`},$params:{min:e,max:t,type:"between"}}}const lP=/^(?:[A-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[A-z0-9!#$%&'*+/=?^_`{|}~-]+)*|"(?:[\x01-\x08\x0b\x0c\x0e-\x1f\x21\x23-\x5b\x5d-\x7f]|[\x01-\x09\x0b\x0c\x0e-\x7f])*")@(?:(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9]{2,}(?:[a-z0-9-]*[a-z0-9])?|\[(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?|[a-z0-9-]*[a-z0-9]:(?:[\x01-\x08\x0b\x0c\x0e-\x1f\x21-\x5a\x53-\x7f]|\\[\x01-\x09\x0b\x0c\x0e-\x7f])+)\])$/i;var uP=Er(lP),N5={$validator:uP,$message:"Value is not a valid email address",$params:{type:"email"}};function cP(e){return t=>!di(t)||ff(t)<=Se(e)}function B5(e){return{$validator:cP(e),$message:t=>{let{$params:n}=t;return`The maximum length allowed is ${n.max}`},$params:{max:e,type:"maxLength"}}}function hP(e){return t=>!di(t)||ff(t)>=Se(e)}function z5(e){return{$validator:hP(e),$message:t=>{let{$params:n}=t;return`This field should be at least ${n.min} characters long`},$params:{min:e,type:"minLength"}}}function fP(e){return typeof e=="string"&&(e=e.trim()),di(e)}var Ru={$validator:fP,$message:"Value is required",$params:{type:"required"}};const dP=/^(?:(?:(?:https?|ftp):)?\/\/)(?:\S+(?::\S*)?@)?(?:(?!(?:10|127)(?:\.\d{1,3}){3})(?!(?:169\.254|192\.168)(?:\.\d{1,3}){2})(?!172\.(?:1[6-9]|2\d|3[0-1])(?:\.\d{1,3}){2})(?:[1-9]\d?|1\d\d|2[01]\d|22[0-3])(?:\.(?:1?\d{1,2}|2[0-4]\d|25[0-5])){2}(?:\.(?:[1-9]\d?|1\d\d|2[0-4]\d|25[0-4]))|(?:(?:[a-z0-9\u00a1-\uffff][a-z0-9\u00a1-\uffff_-]{0,62})?[a-z0-9\u00a1-\uffff]\.)+(?:[a-z\u00a1-\uffff]{2,}\.?))(?::\d{2,5})?(?:[/?#]\S*)?$/i;Er(dP);function pP(e){return t=>!di(t)||(!/\s/.test(t)||t instanceof Date)&&+t>=+Se(e)}function H5(e){return{$validator:pP(e),$message:t=>{let{$params:n}=t;return`The minimum value allowed is ${n.min}`},$params:{min:e,type:"minValue"}}}Er(/(^[0-9]*$)|(^-[0-9]+$)/);var mP=Er(/^[-]?\d*(\.\d+)?$/),W5={$validator:mP,$message:"Value must be decimal",$params:{type:"decimal"}};const vP={setup(){return{v$:eP()}},data(){return{loading:!1,selectedSegment:null,selectedBrand:null,modelName:"",modelHint:"",disabled:!0,autoFilled:!1,modelData:null}},mounted(){this.$store.dispatch("brands/load")},validations(){return{selectedBrand:{required:Ru},selectedSegment:{required:Ru},modelName:{required:Ru}}},methods:{async tryAutoFill(){this.autoFillBrand&&(this.autoFilled=!0,this.selectedBrand=this.autoFillBrand,this.v$.selectedBrand.$touch())},reset(){this.$store.dispatch("ssp/chooseModel",null),this.selectedSegment=null,this.selectedBrand=null,this.modelName="",this.modelHint="",this.modelData=null,this.autoFilled=!1},async onSelectBrand(e){this.setModelHint(),this.modelData=await yt.vin.validate(this.vin,e),this.modelName=this.modelData.name,this.selectedSegment=this.modelData.classId,this.v$.$touch()},setModelHint(){const e=`segments.hints.${this.selectedBrand}.${this.selectedSegment}`;if(this.$te(e)){const t=this.$t(e);t.includes("undefined")||(this.modelHint=this.$t("app.typical.example",{example:t}))}},saveDialog(){if(this.modelData)this.$store.dispatch("ssp/chooseModel",{...this.modelData,newWmi:!0});else{const e={series:"",classId:this.selectedSegment,name:this.modelName,brand:this.allBrands.find(t=>t._id===this.selectedBrand),new:!0};this.autoFilled||(e.newBrand=this.allBrands.find(t=>t._id===this.selectedBrand)),this.$store.dispatch("ssp/chooseModel",e)}this.closeDialog()},closeDialog(){this.$store.dispatch("app/closeModal","missingVinModal")},success(e){const t=this.v$[e];return t.$dirty&&!t.$error&&t!==""&&t!==null},error(e){const t=[];return this.v$[e].$dirty&&(this.v$[e].required.$invalid&&t.push(this.$t("formErrors.required")),this.disabled=this.v$.$anyError||!this.v$.$dirty),t}},computed:{segmentItems(){const e=[];for(let t=1;t<15;t++)e.push({value:t,text:this.$t(`segmentNumbers.${t}`)});return e},brands(){return this.allBrands.filter(e=>e.public)},...rr({vin:"ssp/vin",modal:"app/missingVinModal",autoFillBrand:"brands/selected",allBrands:"brands/getAll"})},watch:{modal:{handler(e){e.open&&(this.reset(),this.v$.$reset(),this.tryAutoFill())},deep:!0}}};var gP=function(){var t=this,n=t._self._c;return n(Ja,{attrs:{value:t.modal.open,width:"60vw"},on:{input:t.closeDialog}},[n(An,{staticClass:"pa-4"},[t.modelData?n(ai,{staticClass:"green--text"},[n(et,{staticClass:"mr-2",attrs:{color:"green"}},[t._v("mdi-check")]),t._v(" "+t._s(t.$t("app.modals.missingVinModal.titleNewWMI")))],1):n(ai,{staticClass:"orange--text"},[n(et,{staticClass:"mr-2",attrs:{color:"orange"}},[t._v("mdi-alert")]),t._v(" "+t._s(t.$t("app.modals.missingVinModal.title")))],1),n(hn,{staticClass:"black--text"},[n("strong",[t._v(t._s(t.$t("app.modals.missingVinModal.text1")))]),n("br"),n("p",[t._v(t._s(t.$t("app.modals.missingVinModal.text2")))]),n(mr,[n(wt,[n("h2",[t._v("Modelldaten")])])],1),n(mr,[n(wt,{attrs:{cols:"12",lg:"6",xl:"4"}},[n($C,{attrs:{label:"Marke",readonly:t.autoFilled,"append-icon":t.autoFilled?"":"$dropdown","item-text":"name","item-value":"_id",items:t.brands,"error-messages":t.error("selectedBrand"),success:t.success("selectedBrand"),outlined:""},on:{blur:function(r){return t.v$.selectedBrand.$touch()},input:t.onSelectBrand},model:{value:t.selectedBrand,callback:function(r){t.selectedBrand=r},expression:"selectedBrand"}}),n(go),n(Rt,{attrs:{label:"Segment",items:t.segmentItems,"error-messages":t.error("selectedSegment"),success:t.success("selectedSegment"),"append-icon":t.modelData?"":"$dropdown",readonly:!!t.modelData,outlined:""},on:{input:t.setModelHint,blur:function(r){return t.v$.selectedSegment.$touch()}},model:{value:t.selectedSegment,callback:function(r){t.selectedSegment=r},expression:"selectedSegment"}}),n(go),n(pr,{attrs:{label:"Modell Name",hint:t.modelHint,"persistent-hint":"","error-messages":t.error("modelName"),success:t.success("modelName"),readonly:!!t.modelData,outlined:""},on:{input:function(r){return t.v$.modelName.$touch()}},model:{value:t.modelName,callback:function(r){t.modelName=r},expression:"modelName"}})],1)],1)],1),n(Qa,[n(Qt,{attrs:{color:"grey",light:""},on:{click:t.closeDialog}},[t._v(t._s(t.$t("app.typical.abort")))]),n(Qt,{staticClass:"ml-auto",attrs:{color:"primary",light:"",disabled:t.disabled},on:{click:t.saveDialog}},[t._v(t._s(t.$t("app.typical.save")))])],1)],1)],1)},yP=[],bP=kt(vP,gP,yP,!1,null,null,null,null);const i0=bP.exports;function a0(){return{async:!1,baseUrl:null,breaks:!1,extensions:null,gfm:!0,headerIds:!0,headerPrefix:"",highlight:null,hooks:null,langPrefix:"language-",mangle:!0,pedantic:!1,renderer:null,sanitize:!1,sanitizer:null,silent:!1,smartypants:!1,tokenizer:null,walkTokens:null,xhtml:!1}}let pi=a0();function _P(e){pi=e}const s0=/[&<>"']/,xP=new RegExp(s0.source,"g"),o0=/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,wP=new RegExp(o0.source,"g"),SP={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},Dm=e=>SP[e];function dt(e,t){if(t){if(s0.test(e))return e.replace(xP,Dm)}else if(o0.test(e))return e.replace(wP,Dm);return e}const kP=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig;function l0(e){return e.replace(kP,(t,n)=>(n=n.toLowerCase(),n==="colon"?":":n.charAt(0)==="#"?n.charAt(1)==="x"?String.fromCharCode(parseInt(n.substring(2),16)):String.fromCharCode(+n.substring(1)):""))}const CP=/(^|[^\[])\^/g;function Be(e,t){e=typeof e=="string"?e:e.source,t=t||"";const n={replace:(r,a)=>(a=a.source||a,a=a.replace(CP,"$1"),e=e.replace(r,a),n),getRegex:()=>new RegExp(e,t)};return n}const $P=/[^\w:]/g,MP=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;function Im(e,t,n){if(e){let r;try{r=decodeURIComponent(l0(n)).replace($P,"").toLowerCase()}catch{return null}if(r.indexOf("javascript:")===0||r.indexOf("vbscript:")===0||r.indexOf("data:")===0)return null}t&&!MP.test(n)&&(n=DP(t,n));try{n=encodeURI(n).replace(/%25/g,"%")}catch{return null}return n}const Ls={},TP=/^[^:]+:\/*[^/]*$/,OP=/^([^:]+:)[\s\S]*$/,AP=/^([^:]+:\/*[^/]*)[\s\S]*$/;function DP(e,t){Ls[" "+e]||(TP.test(e)?Ls[" "+e]=e+"/":Ls[" "+e]=to(e,"/",!0)),e=Ls[" "+e];const n=e.indexOf(":")===-1;return t.substring(0,2)==="//"?n?t:e.replace(OP,"$1")+t:t.charAt(0)==="/"?n?t:e.replace(AP,"$1")+t:e+t}const Wo={exec:function(){}};function Lm(e,t){const n=e.replace(/\|/g,(l,c,d)=>{let v=!1,y=c;for(;--y>=0&&d[y]==="\\";)v=!v;return v?"|":" |"}),r=n.split(/ \|/);let a=0;if(r[0].trim()||r.shift(),r.length>0&&!r[r.length-1].trim()&&r.pop(),r.length>t)r.splice(t);else for(;r.length<t;)r.push("");for(;a<r.length;a++)r[a]=r[a].trim().replace(/\\\|/g,"|");return r}function to(e,t,n){const r=e.length;if(r===0)return"";let a=0;for(;a<r;){const l=e.charAt(r-a-1);if(l===t&&!n)a++;else if(l!==t&&n)a++;else break}return e.slice(0,r-a)}function IP(e,t){if(e.indexOf(t[1])===-1)return-1;const n=e.length;let r=0,a=0;for(;a<n;a++)if(e[a]==="\\")a++;else if(e[a]===t[0])r++;else if(e[a]===t[1]&&(r--,r<0))return a;return-1}function LP(e){e&&e.sanitize&&!e.silent&&console.warn("marked(): sanitize and sanitizer parameters are deprecated since version 0.7.0, should not be used and will be removed in the future. Read more here: https://marked.js.org/#/USING_ADVANCED.md#options")}function Em(e,t){if(t<1)return"";let n="";for(;t>1;)t&1&&(n+=e),t>>=1,e+=e;return n+e}function Pm(e,t,n,r){const a=t.href,l=t.title?dt(t.title):null,c=e[1].replace(/\\([\[\]])/g,"$1");if(e[0].charAt(0)!=="!"){r.state.inLink=!0;const d={type:"link",raw:n,href:a,title:l,text:c,tokens:r.inlineTokens(c)};return r.state.inLink=!1,d}return{type:"image",raw:n,href:a,title:l,text:dt(c)}}function EP(e,t){const n=e.match(/^(\s+)(?:```)/);if(n===null)return t;const r=n[1];return t.split(`
`).map(a=>{const l=a.match(/^\s+/);if(l===null)return a;const[c]=l;return c.length>=r.length?a.slice(r.length):a}).join(`
`)}class df{constructor(t){this.options=t||pi}space(t){const n=this.rules.block.newline.exec(t);if(n&&n[0].length>0)return{type:"space",raw:n[0]}}code(t){const n=this.rules.block.code.exec(t);if(n){const r=n[0].replace(/^ {1,4}/gm,"");return{type:"code",raw:n[0],codeBlockStyle:"indented",text:this.options.pedantic?r:to(r,`
`)}}}fences(t){const n=this.rules.block.fences.exec(t);if(n){const r=n[0],a=EP(r,n[3]||"");return{type:"code",raw:r,lang:n[2]?n[2].trim().replace(this.rules.inline._escapes,"$1"):n[2],text:a}}}heading(t){const n=this.rules.block.heading.exec(t);if(n){let r=n[2].trim();if(/#$/.test(r)){const a=to(r,"#");(this.options.pedantic||!a||/ $/.test(a))&&(r=a.trim())}return{type:"heading",raw:n[0],depth:n[1].length,text:r,tokens:this.lexer.inline(r)}}}hr(t){const n=this.rules.block.hr.exec(t);if(n)return{type:"hr",raw:n[0]}}blockquote(t){const n=this.rules.block.blockquote.exec(t);if(n){const r=n[0].replace(/^ *>[ \t]?/gm,""),a=this.lexer.state.top;this.lexer.state.top=!0;const l=this.lexer.blockTokens(r);return this.lexer.state.top=a,{type:"blockquote",raw:n[0],tokens:l,text:r}}}list(t){let n=this.rules.block.list.exec(t);if(n){let r,a,l,c,d,v,y,_,k,$,M,T,L=n[1].trim();const D=L.length>1,N={type:"list",raw:"",ordered:D,start:D?+L.slice(0,-1):"",loose:!1,items:[]};L=D?`\\d{1,9}\\${L.slice(-1)}`:`\\${L}`,this.options.pedantic&&(L=D?L:"[*+-]");const z=new RegExp(`^( {0,3}${L})((?:[	 ][^\\n]*)?(?:\\n|$))`);for(;t&&(T=!1,!(!(n=z.exec(t))||this.rules.block.hr.test(t)));){if(r=n[0],t=t.substring(r.length),_=n[2].split(`
`,1)[0].replace(/^\t+/,U=>" ".repeat(3*U.length)),k=t.split(`
`,1)[0],this.options.pedantic?(c=2,M=_.trimLeft()):(c=n[2].search(/[^ ]/),c=c>4?1:c,M=_.slice(c),c+=n[1].length),v=!1,!_&&/^ *$/.test(k)&&(r+=k+`
`,t=t.substring(k.length+1),T=!0),!T){const U=new RegExp(`^ {0,${Math.min(3,c-1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ 	][^\\n]*)?(?:\\n|$))`),Q=new RegExp(`^ {0,${Math.min(3,c-1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`),ne=new RegExp(`^ {0,${Math.min(3,c-1)}}(?:\`\`\`|~~~)`),ce=new RegExp(`^ {0,${Math.min(3,c-1)}}#`);for(;t&&($=t.split(`
`,1)[0],k=$,this.options.pedantic&&(k=k.replace(/^ {1,4}(?=( {4})*[^ ])/g,"  ")),!(ne.test(k)||ce.test(k)||U.test(k)||Q.test(t)));){if(k.search(/[^ ]/)>=c||!k.trim())M+=`
`+k.slice(c);else{if(v||_.search(/[^ ]/)>=4||ne.test(_)||ce.test(_)||Q.test(_))break;M+=`
`+k}!v&&!k.trim()&&(v=!0),r+=$+`
`,t=t.substring($.length+1),_=k.slice(c)}}N.loose||(y?N.loose=!0:/\n *\n *$/.test(r)&&(y=!0)),this.options.gfm&&(a=/^\[[ xX]\] /.exec(M),a&&(l=a[0]!=="[ ] ",M=M.replace(/^\[[ xX]\] +/,""))),N.items.push({type:"list_item",raw:r,task:!!a,checked:l,loose:!1,text:M}),N.raw+=r}N.items[N.items.length-1].raw=r.trimRight(),N.items[N.items.length-1].text=M.trimRight(),N.raw=N.raw.trimRight();const j=N.items.length;for(d=0;d<j;d++)if(this.lexer.state.top=!1,N.items[d].tokens=this.lexer.blockTokens(N.items[d].text,[]),!N.loose){const U=N.items[d].tokens.filter(ne=>ne.type==="space"),Q=U.length>0&&U.some(ne=>/\n.*\n/.test(ne.raw));N.loose=Q}if(N.loose)for(d=0;d<j;d++)N.items[d].loose=!0;return N}}html(t){const n=this.rules.block.html.exec(t);if(n){const r={type:"html",raw:n[0],pre:!this.options.sanitizer&&(n[1]==="pre"||n[1]==="script"||n[1]==="style"),text:n[0]};if(this.options.sanitize){const a=this.options.sanitizer?this.options.sanitizer(n[0]):dt(n[0]);r.type="paragraph",r.text=a,r.tokens=this.lexer.inline(a)}return r}}def(t){const n=this.rules.block.def.exec(t);if(n){const r=n[1].toLowerCase().replace(/\s+/g," "),a=n[2]?n[2].replace(/^<(.*)>$/,"$1").replace(this.rules.inline._escapes,"$1"):"",l=n[3]?n[3].substring(1,n[3].length-1).replace(this.rules.inline._escapes,"$1"):n[3];return{type:"def",tag:r,raw:n[0],href:a,title:l}}}table(t){const n=this.rules.block.table.exec(t);if(n){const r={type:"table",header:Lm(n[1]).map(a=>({text:a})),align:n[2].replace(/^ *|\| *$/g,"").split(/ *\| */),rows:n[3]&&n[3].trim()?n[3].replace(/\n[ \t]*$/,"").split(`
`):[]};if(r.header.length===r.align.length){r.raw=n[0];let a=r.align.length,l,c,d,v;for(l=0;l<a;l++)/^ *-+: *$/.test(r.align[l])?r.align[l]="right":/^ *:-+: *$/.test(r.align[l])?r.align[l]="center":/^ *:-+ *$/.test(r.align[l])?r.align[l]="left":r.align[l]=null;for(a=r.rows.length,l=0;l<a;l++)r.rows[l]=Lm(r.rows[l],r.header.length).map(y=>({text:y}));for(a=r.header.length,c=0;c<a;c++)r.header[c].tokens=this.lexer.inline(r.header[c].text);for(a=r.rows.length,c=0;c<a;c++)for(v=r.rows[c],d=0;d<v.length;d++)v[d].tokens=this.lexer.inline(v[d].text);return r}}}lheading(t){const n=this.rules.block.lheading.exec(t);if(n)return{type:"heading",raw:n[0],depth:n[2].charAt(0)==="="?1:2,text:n[1],tokens:this.lexer.inline(n[1])}}paragraph(t){const n=this.rules.block.paragraph.exec(t);if(n){const r=n[1].charAt(n[1].length-1)===`
`?n[1].slice(0,-1):n[1];return{type:"paragraph",raw:n[0],text:r,tokens:this.lexer.inline(r)}}}text(t){const n=this.rules.block.text.exec(t);if(n)return{type:"text",raw:n[0],text:n[0],tokens:this.lexer.inline(n[0])}}escape(t){const n=this.rules.inline.escape.exec(t);if(n)return{type:"escape",raw:n[0],text:dt(n[1])}}tag(t){const n=this.rules.inline.tag.exec(t);if(n)return!this.lexer.state.inLink&&/^<a /i.test(n[0])?this.lexer.state.inLink=!0:this.lexer.state.inLink&&/^<\/a>/i.test(n[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&/^<(pre|code|kbd|script)(\s|>)/i.test(n[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(n[0])&&(this.lexer.state.inRawBlock=!1),{type:this.options.sanitize?"text":"html",raw:n[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(n[0]):dt(n[0]):n[0]}}link(t){const n=this.rules.inline.link.exec(t);if(n){const r=n[2].trim();if(!this.options.pedantic&&/^</.test(r)){if(!/>$/.test(r))return;const c=to(r.slice(0,-1),"\\");if((r.length-c.length)%2===0)return}else{const c=IP(n[2],"()");if(c>-1){const v=(n[0].indexOf("!")===0?5:4)+n[1].length+c;n[2]=n[2].substring(0,c),n[0]=n[0].substring(0,v).trim(),n[3]=""}}let a=n[2],l="";if(this.options.pedantic){const c=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(a);c&&(a=c[1],l=c[3])}else l=n[3]?n[3].slice(1,-1):"";return a=a.trim(),/^</.test(a)&&(this.options.pedantic&&!/>$/.test(r)?a=a.slice(1):a=a.slice(1,-1)),Pm(n,{href:a&&a.replace(this.rules.inline._escapes,"$1"),title:l&&l.replace(this.rules.inline._escapes,"$1")},n[0],this.lexer)}}reflink(t,n){let r;if((r=this.rules.inline.reflink.exec(t))||(r=this.rules.inline.nolink.exec(t))){let a=(r[2]||r[1]).replace(/\s+/g," ");if(a=n[a.toLowerCase()],!a){const l=r[0].charAt(0);return{type:"text",raw:l,text:l}}return Pm(r,a,r[0],this.lexer)}}emStrong(t,n,r=""){let a=this.rules.inline.emStrong.lDelim.exec(t);if(!a||a[3]&&r.match(/[\p{L}\p{N}]/u))return;const l=a[1]||a[2]||"";if(!l||l&&(r===""||this.rules.inline.punctuation.exec(r))){const c=a[0].length-1;let d,v,y=c,_=0;const k=a[0][0]==="*"?this.rules.inline.emStrong.rDelimAst:this.rules.inline.emStrong.rDelimUnd;for(k.lastIndex=0,n=n.slice(-1*t.length+c);(a=k.exec(n))!=null;){if(d=a[1]||a[2]||a[3]||a[4]||a[5]||a[6],!d)continue;if(v=d.length,a[3]||a[4]){y+=v;continue}else if((a[5]||a[6])&&c%3&&!((c+v)%3)){_+=v;continue}if(y-=v,y>0)continue;v=Math.min(v,v+y+_);const $=t.slice(0,c+a.index+(a[0].length-d.length)+v);if(Math.min(c,v)%2){const T=$.slice(1,-1);return{type:"em",raw:$,text:T,tokens:this.lexer.inlineTokens(T)}}const M=$.slice(2,-2);return{type:"strong",raw:$,text:M,tokens:this.lexer.inlineTokens(M)}}}}codespan(t){const n=this.rules.inline.code.exec(t);if(n){let r=n[2].replace(/\n/g," ");const a=/[^ ]/.test(r),l=/^ /.test(r)&&/ $/.test(r);return a&&l&&(r=r.substring(1,r.length-1)),r=dt(r,!0),{type:"codespan",raw:n[0],text:r}}}br(t){const n=this.rules.inline.br.exec(t);if(n)return{type:"br",raw:n[0]}}del(t){const n=this.rules.inline.del.exec(t);if(n)return{type:"del",raw:n[0],text:n[2],tokens:this.lexer.inlineTokens(n[2])}}autolink(t,n){const r=this.rules.inline.autolink.exec(t);if(r){let a,l;return r[2]==="@"?(a=dt(this.options.mangle?n(r[1]):r[1]),l="mailto:"+a):(a=dt(r[1]),l=a),{type:"link",raw:r[0],text:a,href:l,tokens:[{type:"text",raw:a,text:a}]}}}url(t,n){let r;if(r=this.rules.inline.url.exec(t)){let a,l;if(r[2]==="@")a=dt(this.options.mangle?n(r[0]):r[0]),l="mailto:"+a;else{let c;do c=r[0],r[0]=this.rules.inline._backpedal.exec(r[0])[0];while(c!==r[0]);a=dt(r[0]),r[1]==="www."?l="http://"+r[0]:l=r[0]}return{type:"link",raw:r[0],text:a,href:l,tokens:[{type:"text",raw:a,text:a}]}}}inlineText(t,n){const r=this.rules.inline.text.exec(t);if(r){let a;return this.lexer.state.inRawBlock?a=this.options.sanitize?this.options.sanitizer?this.options.sanitizer(r[0]):dt(r[0]):r[0]:a=dt(this.options.smartypants?n(r[0]):r[0]),{type:"text",raw:r[0],text:a}}}}const le={newline:/^(?: *(?:\n|$))+/,code:/^( {4}[^\n]+(?:\n(?: *(?:\n|$))*)?)+/,fences:/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,hr:/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,heading:/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,blockquote:/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/,list:/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/,html:"^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|<![A-Z][\\s\\S]*?(?:>\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n *)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$))",def:/^ {0,3}\[(label)\]: *(?:\n *)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n *)?| *\n *)(title))? *(?:\n+|$)/,table:Wo,lheading:/^((?:.|\n(?!\n))+?)\n {0,3}(=+|-+) *(?:\n+|$)/,_paragraph:/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,text:/^[^\n]+/};le._label=/(?!\s*\])(?:\\.|[^\[\]\\])+/;le._title=/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/;le.def=Be(le.def).replace("label",le._label).replace("title",le._title).getRegex();le.bullet=/(?:[*+-]|\d{1,9}[.)])/;le.listItemStart=Be(/^( *)(bull) */).replace("bull",le.bullet).getRegex();le.list=Be(le.list).replace(/bull/g,le.bullet).replace("hr","\\n+(?=\\1?(?:(?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$))").replace("def","\\n+(?="+le.def.source+")").getRegex();le._tag="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|section|source|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul";le._comment=/<!--(?!-?>)[\s\S]*?(?:-->|$)/;le.html=Be(le.html,"i").replace("comment",le._comment).replace("tag",le._tag).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex();le.paragraph=Be(le._paragraph).replace("hr",le.hr).replace("heading"," {0,3}#{1,6} ").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",le._tag).getRegex();le.blockquote=Be(le.blockquote).replace("paragraph",le.paragraph).getRegex();le.normal={...le};le.gfm={...le.normal,table:"^ *([^\\n ].*\\|.*)\\n {0,3}(?:\\| *)?(:?-+:? *(?:\\| *:?-+:? *)*)(?:\\| *)?(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)"};le.gfm.table=Be(le.gfm.table).replace("hr",le.hr).replace("heading"," {0,3}#{1,6} ").replace("blockquote"," {0,3}>").replace("code"," {4}[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",le._tag).getRegex();le.gfm.paragraph=Be(le._paragraph).replace("hr",le.hr).replace("heading"," {0,3}#{1,6} ").replace("|lheading","").replace("table",le.gfm.table).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",le._tag).getRegex();le.pedantic={...le.normal,html:Be(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment",le._comment).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:Wo,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:Be(le.normal._paragraph).replace("hr",le.hr).replace("heading",` *#{1,6} *[^
]`).replace("lheading",le.lheading).replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").getRegex()};const X={escape:/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,autolink:/^<(scheme:[^\s\x00-\x1f<>]*|email)>/,url:Wo,tag:"^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>",link:/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/,reflink:/^!?\[(label)\]\[(ref)\]/,nolink:/^!?\[(ref)\](?:\[\])?/,reflinkSearch:"reflink|nolink(?!\\()",emStrong:{lDelim:/^(?:\*+(?:([punct_])|[^\s*]))|^_+(?:([punct*])|([^\s_]))/,rDelimAst:/^(?:[^_*\\]|\\.)*?\_\_(?:[^_*\\]|\\.)*?\*(?:[^_*\\]|\\.)*?(?=\_\_)|(?:[^*\\]|\\.)+(?=[^*])|[punct_](\*+)(?=[\s]|$)|(?:[^punct*_\s\\]|\\.)(\*+)(?=[punct_\s]|$)|[punct_\s](\*+)(?=[^punct*_\s])|[\s](\*+)(?=[punct_])|[punct_](\*+)(?=[punct_])|(?:[^punct*_\s\\]|\\.)(\*+)(?=[^punct*_\s])/,rDelimUnd:/^(?:[^_*\\]|\\.)*?\*\*(?:[^_*\\]|\\.)*?\_(?:[^_*\\]|\\.)*?(?=\*\*)|(?:[^_\\]|\\.)+(?=[^_])|[punct*](\_+)(?=[\s]|$)|(?:[^punct*_\s\\]|\\.)(\_+)(?=[punct*\s]|$)|[punct*\s](\_+)(?=[^punct*_\s])|[\s](\_+)(?=[punct*])|[punct*](\_+)(?=[punct*])/},code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,br:/^( {2,}|\\)\n(?!\s*$)/,del:Wo,text:/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/,punctuation:/^([\spunctuation])/};X._punctuation="!\"#$%&'()+\\-.,/:;<=>?@\\[\\]`^{|}~";X.punctuation=Be(X.punctuation).replace(/punctuation/g,X._punctuation).getRegex();X.blockSkip=/\[[^\]]*?\]\([^\)]*?\)|`[^`]*?`|<[^>]*?>/g;X.escapedEmSt=/(?:^|[^\\])(?:\\\\)*\\[*_]/g;X._comment=Be(le._comment).replace("(?:-->|$)","-->").getRegex();X.emStrong.lDelim=Be(X.emStrong.lDelim).replace(/punct/g,X._punctuation).getRegex();X.emStrong.rDelimAst=Be(X.emStrong.rDelimAst,"g").replace(/punct/g,X._punctuation).getRegex();X.emStrong.rDelimUnd=Be(X.emStrong.rDelimUnd,"g").replace(/punct/g,X._punctuation).getRegex();X._escapes=/\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/g;X._scheme=/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/;X._email=/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/;X.autolink=Be(X.autolink).replace("scheme",X._scheme).replace("email",X._email).getRegex();X._attribute=/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/;X.tag=Be(X.tag).replace("comment",X._comment).replace("attribute",X._attribute).getRegex();X._label=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/;X._href=/<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/;X._title=/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/;X.link=Be(X.link).replace("label",X._label).replace("href",X._href).replace("title",X._title).getRegex();X.reflink=Be(X.reflink).replace("label",X._label).replace("ref",le._label).getRegex();X.nolink=Be(X.nolink).replace("ref",le._label).getRegex();X.reflinkSearch=Be(X.reflinkSearch,"g").replace("reflink",X.reflink).replace("nolink",X.nolink).getRegex();X.normal={...X};X.pedantic={...X.normal,strong:{start:/^__|\*\*/,middle:/^__(?=\S)([\s\S]*?\S)__(?!_)|^\*\*(?=\S)([\s\S]*?\S)\*\*(?!\*)/,endAst:/\*\*(?!\*)/g,endUnd:/__(?!_)/g},em:{start:/^_|\*/,middle:/^()\*(?=\S)([\s\S]*?\S)\*(?!\*)|^_(?=\S)([\s\S]*?\S)_(?!_)/,endAst:/\*(?!\*)/g,endUnd:/_(?!_)/g},link:Be(/^!?\[(label)\]\((.*?)\)/).replace("label",X._label).getRegex(),reflink:Be(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",X._label).getRegex()};X.gfm={...X.normal,escape:Be(X.escape).replace("])","~|])").getRegex(),_extended_email:/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/,url:/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,_backpedal:/(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])([\s\S]*?[^\s~])\1(?=[^~]|$)/,text:/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|https?:\/\/|ftp:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/};X.gfm.url=Be(X.gfm.url,"i").replace("email",X.gfm._extended_email).getRegex();X.breaks={...X.gfm,br:Be(X.br).replace("{2,}","*").getRegex(),text:Be(X.gfm.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()};function PP(e){return e.replace(/---/g,"—").replace(/--/g,"–").replace(/(^|[-\u2014/(\[{"\s])'/g,"$1‘").replace(/'/g,"’").replace(/(^|[-\u2014/(\[{\u2018\s])"/g,"$1“").replace(/"/g,"”").replace(/\.{3}/g,"…")}function Rm(e){let t="",n,r;const a=e.length;for(n=0;n<a;n++)r=e.charCodeAt(n),Math.random()>.5&&(r="x"+r.toString(16)),t+="&#"+r+";";return t}class Tr{constructor(t){this.tokens=[],this.tokens.links=Object.create(null),this.options=t||pi,this.options.tokenizer=this.options.tokenizer||new df,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options,this.tokenizer.lexer=this,this.inlineQueue=[],this.state={inLink:!1,inRawBlock:!1,top:!0};const n={block:le.normal,inline:X.normal};this.options.pedantic?(n.block=le.pedantic,n.inline=X.pedantic):this.options.gfm&&(n.block=le.gfm,this.options.breaks?n.inline=X.breaks:n.inline=X.gfm),this.tokenizer.rules=n}static get rules(){return{block:le,inline:X}}static lex(t,n){return new Tr(n).lex(t)}static lexInline(t,n){return new Tr(n).inlineTokens(t)}lex(t){t=t.replace(/\r\n|\r/g,`
`),this.blockTokens(t,this.tokens);let n;for(;n=this.inlineQueue.shift();)this.inlineTokens(n.src,n.tokens);return this.tokens}blockTokens(t,n=[]){this.options.pedantic?t=t.replace(/\t/g,"    ").replace(/^ +$/gm,""):t=t.replace(/^( *)(\t+)/gm,(d,v,y)=>v+"    ".repeat(y.length));let r,a,l,c;for(;t;)if(!(this.options.extensions&&this.options.extensions.block&&this.options.extensions.block.some(d=>(r=d.call({lexer:this},t,n))?(t=t.substring(r.raw.length),n.push(r),!0):!1))){if(r=this.tokenizer.space(t)){t=t.substring(r.raw.length),r.raw.length===1&&n.length>0?n[n.length-1].raw+=`
`:n.push(r);continue}if(r=this.tokenizer.code(t)){t=t.substring(r.raw.length),a=n[n.length-1],a&&(a.type==="paragraph"||a.type==="text")?(a.raw+=`
`+r.raw,a.text+=`
`+r.text,this.inlineQueue[this.inlineQueue.length-1].src=a.text):n.push(r);continue}if(r=this.tokenizer.fences(t)){t=t.substring(r.raw.length),n.push(r);continue}if(r=this.tokenizer.heading(t)){t=t.substring(r.raw.length),n.push(r);continue}if(r=this.tokenizer.hr(t)){t=t.substring(r.raw.length),n.push(r);continue}if(r=this.tokenizer.blockquote(t)){t=t.substring(r.raw.length),n.push(r);continue}if(r=this.tokenizer.list(t)){t=t.substring(r.raw.length),n.push(r);continue}if(r=this.tokenizer.html(t)){t=t.substring(r.raw.length),n.push(r);continue}if(r=this.tokenizer.def(t)){t=t.substring(r.raw.length),a=n[n.length-1],a&&(a.type==="paragraph"||a.type==="text")?(a.raw+=`
`+r.raw,a.text+=`
`+r.raw,this.inlineQueue[this.inlineQueue.length-1].src=a.text):this.tokens.links[r.tag]||(this.tokens.links[r.tag]={href:r.href,title:r.title});continue}if(r=this.tokenizer.table(t)){t=t.substring(r.raw.length),n.push(r);continue}if(r=this.tokenizer.lheading(t)){t=t.substring(r.raw.length),n.push(r);continue}if(l=t,this.options.extensions&&this.options.extensions.startBlock){let d=1/0;const v=t.slice(1);let y;this.options.extensions.startBlock.forEach(function(_){y=_.call({lexer:this},v),typeof y=="number"&&y>=0&&(d=Math.min(d,y))}),d<1/0&&d>=0&&(l=t.substring(0,d+1))}if(this.state.top&&(r=this.tokenizer.paragraph(l))){a=n[n.length-1],c&&a.type==="paragraph"?(a.raw+=`
`+r.raw,a.text+=`
`+r.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=a.text):n.push(r),c=l.length!==t.length,t=t.substring(r.raw.length);continue}if(r=this.tokenizer.text(t)){t=t.substring(r.raw.length),a=n[n.length-1],a&&a.type==="text"?(a.raw+=`
`+r.raw,a.text+=`
`+r.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=a.text):n.push(r);continue}if(t){const d="Infinite loop on byte: "+t.charCodeAt(0);if(this.options.silent){console.error(d);break}else throw new Error(d)}}return this.state.top=!0,n}inline(t,n=[]){return this.inlineQueue.push({src:t,tokens:n}),n}inlineTokens(t,n=[]){let r,a,l,c=t,d,v,y;if(this.tokens.links){const _=Object.keys(this.tokens.links);if(_.length>0)for(;(d=this.tokenizer.rules.inline.reflinkSearch.exec(c))!=null;)_.includes(d[0].slice(d[0].lastIndexOf("[")+1,-1))&&(c=c.slice(0,d.index)+"["+Em("a",d[0].length-2)+"]"+c.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;(d=this.tokenizer.rules.inline.blockSkip.exec(c))!=null;)c=c.slice(0,d.index)+"["+Em("a",d[0].length-2)+"]"+c.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);for(;(d=this.tokenizer.rules.inline.escapedEmSt.exec(c))!=null;)c=c.slice(0,d.index+d[0].length-2)+"++"+c.slice(this.tokenizer.rules.inline.escapedEmSt.lastIndex),this.tokenizer.rules.inline.escapedEmSt.lastIndex--;for(;t;)if(v||(y=""),v=!1,!(this.options.extensions&&this.options.extensions.inline&&this.options.extensions.inline.some(_=>(r=_.call({lexer:this},t,n))?(t=t.substring(r.raw.length),n.push(r),!0):!1))){if(r=this.tokenizer.escape(t)){t=t.substring(r.raw.length),n.push(r);continue}if(r=this.tokenizer.tag(t)){t=t.substring(r.raw.length),a=n[n.length-1],a&&r.type==="text"&&a.type==="text"?(a.raw+=r.raw,a.text+=r.text):n.push(r);continue}if(r=this.tokenizer.link(t)){t=t.substring(r.raw.length),n.push(r);continue}if(r=this.tokenizer.reflink(t,this.tokens.links)){t=t.substring(r.raw.length),a=n[n.length-1],a&&r.type==="text"&&a.type==="text"?(a.raw+=r.raw,a.text+=r.text):n.push(r);continue}if(r=this.tokenizer.emStrong(t,c,y)){t=t.substring(r.raw.length),n.push(r);continue}if(r=this.tokenizer.codespan(t)){t=t.substring(r.raw.length),n.push(r);continue}if(r=this.tokenizer.br(t)){t=t.substring(r.raw.length),n.push(r);continue}if(r=this.tokenizer.del(t)){t=t.substring(r.raw.length),n.push(r);continue}if(r=this.tokenizer.autolink(t,Rm)){t=t.substring(r.raw.length),n.push(r);continue}if(!this.state.inLink&&(r=this.tokenizer.url(t,Rm))){t=t.substring(r.raw.length),n.push(r);continue}if(l=t,this.options.extensions&&this.options.extensions.startInline){let _=1/0;const k=t.slice(1);let $;this.options.extensions.startInline.forEach(function(M){$=M.call({lexer:this},k),typeof $=="number"&&$>=0&&(_=Math.min(_,$))}),_<1/0&&_>=0&&(l=t.substring(0,_+1))}if(r=this.tokenizer.inlineText(l,PP)){t=t.substring(r.raw.length),r.raw.slice(-1)!=="_"&&(y=r.raw.slice(-1)),v=!0,a=n[n.length-1],a&&a.type==="text"?(a.raw+=r.raw,a.text+=r.text):n.push(r);continue}if(t){const _="Infinite loop on byte: "+t.charCodeAt(0);if(this.options.silent){console.error(_);break}else throw new Error(_)}}return n}}class pf{constructor(t){this.options=t||pi}code(t,n,r){const a=(n||"").match(/\S*/)[0];if(this.options.highlight){const l=this.options.highlight(t,a);l!=null&&l!==t&&(r=!0,t=l)}return t=t.replace(/\n$/,"")+`
`,a?'<pre><code class="'+this.options.langPrefix+dt(a)+'">'+(r?t:dt(t,!0))+`</code></pre>
`:"<pre><code>"+(r?t:dt(t,!0))+`</code></pre>
`}blockquote(t){return`<blockquote>
${t}</blockquote>
`}html(t){return t}heading(t,n,r,a){if(this.options.headerIds){const l=this.options.headerPrefix+a.slug(r);return`<h${n} id="${l}">${t}</h${n}>
`}return`<h${n}>${t}</h${n}>
`}hr(){return this.options.xhtml?`<hr/>
`:`<hr>
`}list(t,n,r){const a=n?"ol":"ul",l=n&&r!==1?' start="'+r+'"':"";return"<"+a+l+`>
`+t+"</"+a+`>
`}listitem(t){return`<li>${t}</li>
`}checkbox(t){return"<input "+(t?'checked="" ':"")+'disabled="" type="checkbox"'+(this.options.xhtml?" /":"")+"> "}paragraph(t){return`<p>${t}</p>
`}table(t,n){return n&&(n=`<tbody>${n}</tbody>`),`<table>
<thead>
`+t+`</thead>
`+n+`</table>
`}tablerow(t){return`<tr>
${t}</tr>
`}tablecell(t,n){const r=n.header?"th":"td";return(n.align?`<${r} align="${n.align}">`:`<${r}>`)+t+`</${r}>
`}strong(t){return`<strong>${t}</strong>`}em(t){return`<em>${t}</em>`}codespan(t){return`<code>${t}</code>`}br(){return this.options.xhtml?"<br/>":"<br>"}del(t){return`<del>${t}</del>`}link(t,n,r){if(t=Im(this.options.sanitize,this.options.baseUrl,t),t===null)return r;let a='<a href="'+t+'"';return n&&(a+=' title="'+n+'"'),a+=">"+r+"</a>",a}image(t,n,r){if(t=Im(this.options.sanitize,this.options.baseUrl,t),t===null)return r;let a=`<img src="${t}" alt="${r}"`;return n&&(a+=` title="${n}"`),a+=this.options.xhtml?"/>":">",a}text(t){return t}}class u0{strong(t){return t}em(t){return t}codespan(t){return t}del(t){return t}html(t){return t}text(t){return t}link(t,n,r){return""+r}image(t,n,r){return""+r}br(){return""}}class c0{constructor(){this.seen={}}serialize(t){return t.toLowerCase().trim().replace(/<[!\/a-z].*?>/ig,"").replace(/[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&()*+,./:;<=>?@[\]^`{|}~]/g,"").replace(/\s/g,"-")}getNextSafeSlug(t,n){let r=t,a=0;if(this.seen.hasOwnProperty(r)){a=this.seen[t];do a++,r=t+"-"+a;while(this.seen.hasOwnProperty(r))}return n||(this.seen[t]=a,this.seen[r]=0),r}slug(t,n={}){const r=this.serialize(t);return this.getNextSafeSlug(r,n.dryrun)}}class Or{constructor(t){this.options=t||pi,this.options.renderer=this.options.renderer||new pf,this.renderer=this.options.renderer,this.renderer.options=this.options,this.textRenderer=new u0,this.slugger=new c0}static parse(t,n){return new Or(n).parse(t)}static parseInline(t,n){return new Or(n).parseInline(t)}parse(t,n=!0){let r="",a,l,c,d,v,y,_,k,$,M,T,L,D,N,z,j,U,Q,ne;const ce=t.length;for(a=0;a<ce;a++){if(M=t[a],this.options.extensions&&this.options.extensions.renderers&&this.options.extensions.renderers[M.type]&&(ne=this.options.extensions.renderers[M.type].call({parser:this},M),ne!==!1||!["space","hr","heading","code","table","blockquote","list","html","paragraph","text"].includes(M.type))){r+=ne||"";continue}switch(M.type){case"space":continue;case"hr":{r+=this.renderer.hr();continue}case"heading":{r+=this.renderer.heading(this.parseInline(M.tokens),M.depth,l0(this.parseInline(M.tokens,this.textRenderer)),this.slugger);continue}case"code":{r+=this.renderer.code(M.text,M.lang,M.escaped);continue}case"table":{for(k="",_="",d=M.header.length,l=0;l<d;l++)_+=this.renderer.tablecell(this.parseInline(M.header[l].tokens),{header:!0,align:M.align[l]});for(k+=this.renderer.tablerow(_),$="",d=M.rows.length,l=0;l<d;l++){for(y=M.rows[l],_="",v=y.length,c=0;c<v;c++)_+=this.renderer.tablecell(this.parseInline(y[c].tokens),{header:!1,align:M.align[c]});$+=this.renderer.tablerow(_)}r+=this.renderer.table(k,$);continue}case"blockquote":{$=this.parse(M.tokens),r+=this.renderer.blockquote($);continue}case"list":{for(T=M.ordered,L=M.start,D=M.loose,d=M.items.length,$="",l=0;l<d;l++)z=M.items[l],j=z.checked,U=z.task,N="",z.task&&(Q=this.renderer.checkbox(j),D?z.tokens.length>0&&z.tokens[0].type==="paragraph"?(z.tokens[0].text=Q+" "+z.tokens[0].text,z.tokens[0].tokens&&z.tokens[0].tokens.length>0&&z.tokens[0].tokens[0].type==="text"&&(z.tokens[0].tokens[0].text=Q+" "+z.tokens[0].tokens[0].text)):z.tokens.unshift({type:"text",text:Q}):N+=Q),N+=this.parse(z.tokens,D),$+=this.renderer.listitem(N,U,j);r+=this.renderer.list($,T,L);continue}case"html":{r+=this.renderer.html(M.text);continue}case"paragraph":{r+=this.renderer.paragraph(this.parseInline(M.tokens));continue}case"text":{for($=M.tokens?this.parseInline(M.tokens):M.text;a+1<ce&&t[a+1].type==="text";)M=t[++a],$+=`
`+(M.tokens?this.parseInline(M.tokens):M.text);r+=n?this.renderer.paragraph($):$;continue}default:{const Oe='Token with "'+M.type+'" type was not found.';if(this.options.silent){console.error(Oe);return}else throw new Error(Oe)}}}return r}parseInline(t,n){n=n||this.renderer;let r="",a,l,c;const d=t.length;for(a=0;a<d;a++){if(l=t[a],this.options.extensions&&this.options.extensions.renderers&&this.options.extensions.renderers[l.type]&&(c=this.options.extensions.renderers[l.type].call({parser:this},l),c!==!1||!["escape","html","link","image","strong","em","codespan","br","del","text"].includes(l.type))){r+=c||"";continue}switch(l.type){case"escape":{r+=n.text(l.text);break}case"html":{r+=n.html(l.text);break}case"link":{r+=n.link(l.href,l.title,this.parseInline(l.tokens,n));break}case"image":{r+=n.image(l.href,l.title,l.text);break}case"strong":{r+=n.strong(this.parseInline(l.tokens,n));break}case"em":{r+=n.em(this.parseInline(l.tokens,n));break}case"codespan":{r+=n.codespan(l.text);break}case"br":{r+=n.br();break}case"del":{r+=n.del(this.parseInline(l.tokens,n));break}case"text":{r+=n.text(l.text);break}default:{const v='Token with "'+l.type+'" type was not found.';if(this.options.silent){console.error(v);return}else throw new Error(v)}}}return r}}class Wc{constructor(t){this.options=t||pi}static passThroughHooks=new Set(["preprocess","postprocess"]);preprocess(t){return t}postprocess(t){return t}}function RP(e,t,n){return r=>{if(r.message+=`
Please report this to https://github.com/markedjs/marked.`,e){const a="<p>An error occurred:</p><pre>"+dt(r.message+"",!0)+"</pre>";if(t)return Promise.resolve(a);if(n){n(null,a);return}return a}if(t)return Promise.reject(r);if(n){n(r);return}throw r}}function h0(e,t){return(n,r,a)=>{typeof r=="function"&&(a=r,r=null);const l={...r};r={...se.defaults,...l};const c=RP(r.silent,r.async,a);if(typeof n>"u"||n===null)return c(new Error("marked(): input parameter is undefined or null"));if(typeof n!="string")return c(new Error("marked(): input parameter is of type "+Object.prototype.toString.call(n)+", string expected"));if(LP(r),r.hooks&&(r.hooks.options=r),a){const d=r.highlight;let v;try{r.hooks&&(n=r.hooks.preprocess(n)),v=e(n,r)}catch(k){return c(k)}const y=function(k){let $;if(!k)try{r.walkTokens&&se.walkTokens(v,r.walkTokens),$=t(v,r),r.hooks&&($=r.hooks.postprocess($))}catch(M){k=M}return r.highlight=d,k?c(k):a(null,$)};if(!d||d.length<3||(delete r.highlight,!v.length))return y();let _=0;se.walkTokens(v,function(k){k.type==="code"&&(_++,setTimeout(()=>{d(k.text,k.lang,function($,M){if($)return y($);M!=null&&M!==k.text&&(k.text=M,k.escaped=!0),_--,_===0&&y()})},0))}),_===0&&y();return}if(r.async)return Promise.resolve(r.hooks?r.hooks.preprocess(n):n).then(d=>e(d,r)).then(d=>r.walkTokens?Promise.all(se.walkTokens(d,r.walkTokens)).then(()=>d):d).then(d=>t(d,r)).then(d=>r.hooks?r.hooks.postprocess(d):d).catch(c);try{r.hooks&&(n=r.hooks.preprocess(n));const d=e(n,r);r.walkTokens&&se.walkTokens(d,r.walkTokens);let v=t(d,r);return r.hooks&&(v=r.hooks.postprocess(v)),v}catch(d){return c(d)}}}function se(e,t,n){return h0(Tr.lex,Or.parse)(e,t,n)}se.options=se.setOptions=function(e){return se.defaults={...se.defaults,...e},_P(se.defaults),se};se.getDefaults=a0;se.defaults=pi;se.use=function(...e){const t=se.defaults.extensions||{renderers:{},childTokens:{}};e.forEach(n=>{const r={...n};if(r.async=se.defaults.async||r.async||!1,n.extensions&&(n.extensions.forEach(a=>{if(!a.name)throw new Error("extension name required");if(a.renderer){const l=t.renderers[a.name];l?t.renderers[a.name]=function(...c){let d=a.renderer.apply(this,c);return d===!1&&(d=l.apply(this,c)),d}:t.renderers[a.name]=a.renderer}if(a.tokenizer){if(!a.level||a.level!=="block"&&a.level!=="inline")throw new Error("extension level must be 'block' or 'inline'");t[a.level]?t[a.level].unshift(a.tokenizer):t[a.level]=[a.tokenizer],a.start&&(a.level==="block"?t.startBlock?t.startBlock.push(a.start):t.startBlock=[a.start]:a.level==="inline"&&(t.startInline?t.startInline.push(a.start):t.startInline=[a.start]))}a.childTokens&&(t.childTokens[a.name]=a.childTokens)}),r.extensions=t),n.renderer){const a=se.defaults.renderer||new pf;for(const l in n.renderer){const c=a[l];a[l]=(...d)=>{let v=n.renderer[l].apply(a,d);return v===!1&&(v=c.apply(a,d)),v}}r.renderer=a}if(n.tokenizer){const a=se.defaults.tokenizer||new df;for(const l in n.tokenizer){const c=a[l];a[l]=(...d)=>{let v=n.tokenizer[l].apply(a,d);return v===!1&&(v=c.apply(a,d)),v}}r.tokenizer=a}if(n.hooks){const a=se.defaults.hooks||new Wc;for(const l in n.hooks){const c=a[l];Wc.passThroughHooks.has(l)?a[l]=d=>{if(se.defaults.async)return Promise.resolve(n.hooks[l].call(a,d)).then(y=>c.call(a,y));const v=n.hooks[l].call(a,d);return c.call(a,v)}:a[l]=(...d)=>{let v=n.hooks[l].apply(a,d);return v===!1&&(v=c.apply(a,d)),v}}r.hooks=a}if(n.walkTokens){const a=se.defaults.walkTokens;r.walkTokens=function(l){let c=[];return c.push(n.walkTokens.call(this,l)),a&&(c=c.concat(a.call(this,l))),c}}se.setOptions(r)})};se.walkTokens=function(e,t){let n=[];for(const r of e)switch(n=n.concat(t.call(se,r)),r.type){case"table":{for(const a of r.header)n=n.concat(se.walkTokens(a.tokens,t));for(const a of r.rows)for(const l of a)n=n.concat(se.walkTokens(l.tokens,t));break}case"list":{n=n.concat(se.walkTokens(r.items,t));break}default:se.defaults.extensions&&se.defaults.extensions.childTokens&&se.defaults.extensions.childTokens[r.type]?se.defaults.extensions.childTokens[r.type].forEach(function(a){n=n.concat(se.walkTokens(r[a],t))}):r.tokens&&(n=n.concat(se.walkTokens(r.tokens,t)))}return n};se.parseInline=h0(Tr.lexInline,Or.parseInline);se.Parser=Or;se.parser=Or.parse;se.Renderer=pf;se.TextRenderer=u0;se.Lexer=Tr;se.lexer=Tr.lex;se.Tokenizer=df;se.Slugger=c0;se.Hooks=Wc;se.parse=se;se.options;se.setOptions;se.use;se.walkTokens;se.parseInline;Or.parse;Tr.lex;const f0=new se.Renderer;f0.link=function(e,t,n){return se.Renderer.prototype.link.call(this,e,t,n).replace("<a","<a target='_blank' ")};se.setOptions({renderer:f0,sanitize:!1});const mf={getRenderer:()=>se};const FP={methods:{async close(){await yt.notices.setSeen(this.currentNotice.notice),this.$store.dispatch("notice/load")},getDate(e){const t=new Date(e);return t?t.toLocaleString(this.locale):""},markdownRenderer:mf.getRenderer()},async mounted(){await this.$store.dispatch("notice/load")},computed:{locale(){return"de"},...rr({currentNotice:"notice/getCurrent",open:"notice/isCurrentOpen"})}};var NP=function(){var t=this,n=t._self._c;return n(Ja,{attrs:{value:t.open,width:"60vw",persistent:""},on:{input:t.close}},[n(An,{staticClass:"pa-4"},[n(ai,[n(et,[t._v("mdi-bell")]),t._v(" "+t._s(t.$t("app.modals.currentNotice.title")))],1),t.currentNotice&&t.currentNotice.notice.text!==""?n(hn,[n(An,{staticClass:"border mb-2",attrs:{elevation:"0"}},[n(rl,[t._v(t._s(t.getDate(t.currentNotice.notice.createdAt)))]),n(hn,{domProps:{innerHTML:t._s(t.markdownRenderer(t.currentNotice.notice.text))}})],1)],1):t._e(),n(Qa,[n(Qt,{staticClass:"ml-auto",attrs:{color:"green",dark:""},on:{click:t.close}},[t._v(t._s(t.$t("app.typical.confirm")))])],1)],1)],1)},BP=[],zP=kt(FP,NP,BP,!1,null,"3a81466f",null,null);const d0=zP.exports;const HP={methods:{close(){this.$store.dispatch("notice/closeModal","recentNoticeModal")},markdownRenderer:mf.getRenderer()},mounted(){this.$store.dispatch("notice/load")},computed:{locale(){return"de"},...rr({notices:"notice/getAll",open:"notice/isRecentOpen"})}};var WP=function(){var t=this,n=t._self._c;return n(Ja,{attrs:{value:t.open,width:"60vw"},on:{input:t.close}},[n(An,{staticClass:"pa-4"},[n(ai,[n(et,[t._v("mdi-bell")]),t._v(" "+t._s(t.$t("app.modals.recentNotice.title")))],1),t.notices.length>0?n(hn,t._l(t.notices,function(r){return n(An,{key:r._id,staticClass:"border mb-2",attrs:{elevation:"0"}},[n(rl,[t._v(t._s(new Date(r.createdAt).toLocaleString(t.locale)))]),n(hn,{domProps:{innerHTML:t._s(t.markdownRenderer(r.text))}})],1)}),1):n(hn,[n("h4",{staticClass:"text-center pt-4"},[t._v(t._s(t.$t("app.noNotice")))])]),n(Qa,[n(Qt,{staticClass:"ml-auto",attrs:{color:"grey darken-1",dark:""},on:{click:t.close}},[t._v(t._s(t.$t("app.typical.close")))])],1)],1)],1)},VP=[],jP=kt(HP,WP,VP,!1,null,"79da0de2",null,null);const p0=jP.exports,UP={props:{accountInfos:Array,darkMode:Function,mode:Object},methods:{logout(){jt.removeToken(),this.$router.push("/login")}}};var YP=function(){var t=this,n=t._self._c;return n(Xa,[t._l(t.accountInfos,function(r){return n(en,{key:`user-dropdown-${r.title}`,on:{click:r.click}},[n(Hs,[n(et,[t._v(t._s(r.icon))])],1),n(Gn,[t._v(t._s(r.title))])],1)}),n(en,{on:{click:t.darkMode}},[n(Hs,[n(et,[t._v(t._s(t.mode.icon))])],1),n(Gn,[t._v(t._s(t.mode.text)+" Modus")])],1),n(en,{on:{click:t.logout}},[n(Hs,[n(et,[t._v("mdi-logout")])],1),n(Gn,[t._v(t._s(t.$t("app.typical.logout")))])],1)],2)},qP=[],GP=kt(UP,YP,qP,!1,null,null,null,null);const Dl=GP.exports,ZP={components:{UserDropdownList:Dl},props:{accountInfos:Array,user:Object,darkMode:Function,mode:Object}};var KP=function(){var t=this,n=t._self._c;return n(_h,{attrs:{"offset-y":""},scopedSlots:t._u([{key:"activator",fn:function({on:r,attrs:a}){return[n(Qt,t._g(t._b({staticStyle:{"align-self":"center"},attrs:{text:""}},"v-btn",a,!1),r),[n(et,{attrs:{left:"",dark:""}},[t._v("mdi-account-circle")]),t._v(" "+t._s(`${t.user.firstName} ${t.user.lastName}`)+" ")],1)]}}])},[n(Dl,{attrs:{accountInfos:t.accountInfos,darkMode:t.darkMode,mode:t.mode}})],1)},XP=[],JP=kt(ZP,KP,XP,!1,null,null,null,null);const m0=JP.exports,QP={components:{UserDropdownList:Dl},props:{routes:Array,accountInfos:Array,user:Object,darkMode:Function,mode:Object}};var e5=function(){var t=this,n=t._self._c;return n(_h,{attrs:{"offset-x":""},scopedSlots:t._u([{key:"activator",fn:function({on:r,attrs:a}){return[n(Qt,t._g(t._b({staticClass:"ml-4",attrs:{outlined:""}},"v-btn",a,!1),r),[n(et,[t._v("mdi-menu")])],1)]}}])},[n(Xa,[n(en,{staticClass:"ma-1",attrs:{text:""},on:{click:r=>t.$emit("ssp")}},[t._v(" "+t._s(this.$t("nav.searchServicePartner"))+" ")]),t._l(t.routes,function(r){return n(en,{key:`mobile-${r.label}`,attrs:{to:r.to}},[n(Gn,[t._v(t._s(r.label))])],1)}),n(en,[n(Hs,[n(et,[t._v("mdi-account-circle")])],1),n(Gn,[t._v(t._s(`${t.user.firstName} ${t.user.lastName}`))]),n(pC,[n(et,[t._v("mdi-chevron-down")])],1)],1),n(hc,[n(Dl,{attrs:{accountInfos:t.accountInfos,darkMode:t.darkMode,mode:t.mode}})],1)],2)],1)},t5=[],n5=kt(QP,e5,t5,!1,null,null,null,null);const v0=n5.exports,r5="/assets/lead4car_logo-0d5ee6a9.png",i5="/assets/lead4car_logo_white-ddf23f76.png",a5="/assets/lead4car_small-7484e21b.png",g0={theme:{set(e){this.$vuetify.theme.dark=e==="dark",localStorage.setItem("dark",e==="dark")},get(){return this.$vuetify.theme.dark?"dark":"light"}}};const s5={data:()=>({lead4carLogo:r5,lead4carLogoWhite:i5,lead4carSmall:a5}),components:{UserDropdown:m0,SmallMenu:v0},methods:{toggleSideBar(){this.$store.dispatch("setSideBar",!this.$store.state.sideBarOpen)},darkMode(){this.mode.isLight?this.theme="dark":this.theme="light"},switchMandant(){this.$store.dispatch("app/openModal",{name:"switchModal",title:this.$t("app.typical.mandant"),mode:"mandant",items:this.$store.state.app.mandants})},switchStore(){this.$store.dispatch("app/openModal",{name:"switchModal",title:this.$t("app.typical.store"),mode:"store",items:this.$store.state.app.stores})},showLastNotices(){this.$store.dispatch("notice/openModal","recentNoticeModal")},openControlling(){this.$router.push("/controlling")},openManagement(){this.$router.push("/management")},ssp(){this.$route.name==="SearchServicePartner"?window.location.reload():this.$router.push("SearchServicePartner")},routes(){const e=[{label:this.$t("nav.myConveyedLeads"),to:"myConveyedLeads"}],t=[{label:this.$t("nav.leadOverview"),to:"leadOverview"}];return this.currentStore?.isServiceStore&&t.push({label:this.$t("nav.storeManagement"),to:"matrixManagement"}),this.account.role!=="User"?e.concat(t):e}},computed:{theme:g0.theme,mode(){return this.$vuetify.theme.dark?{isLight:!1,icon:"mdi-brightness-5",text:"Heller"}:{isLight:!0,icon:"mdi-brightness-3",text:"Dunkler"}},accountInfos(){return[{icon:"mdi-account",title:this.account?.jobTitle,click:!1},{icon:"mdi-store",title:this.currentStore?.name?.full,click:!1},{icon:"mdi-office-building",title:this.currentMandant?.name,click:!1},{icon:"mdi-bell",title:"Vergangene Kundeninformationen",roles:["User","SManager","Admin"],click:this.showLastNotices},{icon:"mdi-swap-horizontal",title:"Mandant wechseln",roles:["User","SManager","Admin"],click:this.switchMandant},{icon:"mdi-swap-horizontal",title:"Standort wechseln",roles:["User","SManager","Admin"],click:this.switchStore},{icon:"mdi-account-cog",title:"Verwaltung",roles:["Admin"],click:this.openManagement},{icon:"mdi-hand-coin",title:"Controlling",roles:["SManager","Admin"],click:this.openControlling}]},window(){return window},smallMenu(){return this.$vuetify.breakpoint.mdAndDown},smallIcon(){return this.$vuetify.breakpoint.lg},storeInfo(){return this.$vuetify.breakpoint.xlOnly},account(){return this.$store.state.auth.account},filteredInfos(){return this.accountInfos.filter(e=>e.roles?e.roles.includes(this.currentUser.role):!0)},...rr({currentUser:"auth/currentUser",currentMandant:"auth/currentMandant",currentStore:"auth/currentStore"})}};var o5=function(){var t=this,n=t._self._c;return n(j2,{attrs:{app:"",elevation:"0"}},[n(xh,{staticClass:"d-flex",staticStyle:{"max-width":"none"}},[n(Z2,[n("router-link",{attrs:{to:"/"}},[!t.smallIcon&&t.mode.isLight?n("img",{staticClass:"image",attrs:{src:t.lead4carLogo,height:"40",width:"180"}}):t._e(),t.mode.isLight?t._e():n("img",{staticClass:"image",attrs:{src:t.lead4carLogoWhite,height:"40",width:"180"}}),t.smallIcon?n("img",{staticClass:"image",attrs:{src:t.lead4carSmall,height:"40",width:"40"}}):t._e()])],1),n(go),t.smallMenu?n(v0,{attrs:{routes:t.routes(),accountInfos:t.filteredInfos,user:t.account,darkMode:t.darkMode,mode:t.mode},on:{ssp:t.ssp}}):[n(Qt,{staticClass:"ma-1",attrs:{text:""},on:{click:t.ssp}},[t._v(" "+t._s(this.$t("nav.searchServicePartner"))+" ")]),t._l(t.routes(),function(r){return n(Qt,{key:`desktop-${r.label}`,staticClass:"ma-1",attrs:{text:"",to:r.to}},[t._v(" "+t._s(r.label)+" ")])}),n(go),!t.smallIcon&&t.account.currentStore?n(Qt,{staticStyle:{"align-self":"center"},attrs:{text:""},on:{click:t.switchStore}},[n(et,{attrs:{left:"",dark:""}},[t._v("mdi-store")]),t._v(" "+t._s(t.account.currentStore.name.full)+" ")],1):t._e(),n(m0,{attrs:{accountInfos:t.filteredInfos,user:t.account,darkMode:t.darkMode,mode:t.mode}})]],2)],1)},l5=[],u5=kt(s5,o5,l5,!1,null,"e5f374fc",null,null);const y0=u5.exports;const c5={data(){return{currentNotice:{text:"",createdAt:""}}},methods:{async close(){await yt.notices.setSeen(this.currentNotice),await this.$store.dispatch("notice/load"),await jt.refreshToken(),this.$store.dispatch("notice/closeModal","defaultNoticeModal")},getDate(e){const t=e;return t?t.toLocaleString(this.locale):""},markdownRenderer:mf.getRenderer()},async mounted(){jt.getCurrentUser()?.hasSeenDefaultNotice||(await this.$store.dispatch("notice/load"),this.currentNotice=this.defaultNotice,this.$store.dispatch("notice/openModal","defaultNoticeModal"))},computed:{locale(){return"de"},...rr({defaultNotice:"notice/getDefault",open:"notice/isDefaultOpen",user:"auth/currentUser"})}};var h5=function(){var t=this,n=t._self._c;return n(Ja,{attrs:{value:t.open,width:"60vw",persistent:""},on:{input:t.close}},[n(An,{staticClass:"pa-4"},[n(ai,[n(et,[t._v("mdi-bell")]),t._v(" "+t._s(t.$t("app.modals.currentNotice.title")))],1),n(hn,[n(An,{staticClass:"border mb-2",attrs:{elevation:"0"}},[n(rl,[t._v(t._s(t.getDate(t.currentNotice.createdAt)))]),n(hn,{domProps:{innerHTML:t._s(t.markdownRenderer(t.currentNotice.text))}})],1)],1),n(Qa,[n(Qt,{staticClass:"ml-auto",attrs:{color:"green",dark:""},on:{click:t.close}},[t._v(t._s(t.$t("app.typical.confirm")))])],1)],1)],1)},f5=[],d5=kt(c5,h5,f5,!1,null,"5c88b233",null,null);const p5=d5.exports;const m5={name:"App",components:{AppBar:y0,AlertManager:Xb,SwitchModal:Zb,AppFooter:Kb,RecentNoticesModal:p0,DefaultNoticesModal:p5,CurrentNoticeModal:d0,MissingVinModal:i0},mounted(){this.$store.dispatch("auth/loadAccount"),setTimeout(()=>{this.$vuetify.theme.dark=localStorage.getItem("dark")==="true"},200)},computed:{theme:g0.theme,...rr({currentUser:"auth/currentUser"})}};var v5=function(){var t=this,n=t._self._c;return n(Ak,{style:{background:t.$vuetify.theme.themes[t.theme].background}},[t.$route.meta.hideAppBar===!1?n(y0):t._e(),n(KC,{staticClass:"main"},[n("default-notices-modal"),n(p0),n(d0),n(i0),n(Xb),n("router-view")],1),n(Kb),n(Zb)],1)},g5=[],y5=kt(m5,v5,g5,!1,null,"effa9039",null,null);const b5=y5.exports;typeof window<"u"&&typeof Promise<"u"&&new Promise(function(e){return window.addEventListener("load",e)});function _5(e,t){navigator.onLine||e("offline"),e("error",t)}function x5(){"serviceWorker"in navigator&&navigator.serviceWorker.ready.then(function(e){e.unregister()}).catch(function(e){return _5(emit,e)})}x5();ee.use(ui);const w5=new ui({lang:{t:(e,...t)=>Va.t(e,t)},theme:{themes:{light:{primary:"#00B9F2",background:"#f5f8fb"},dark:{primary:"#00B9F2"}}}});ee.config.productionTip=!1;new ee({router:ja,store:_o,vuetify:w5,i18n:Va,render:e=>e(b5)}).$mount("#app");export{dC as $,zs as A,fh as B,bg as C,ee as D,Et as E,Gb as F,tl as G,R5 as H,H5 as I,W5 as J,Bt as K,en as L,fC as M,fc as N,Gn as O,oC as P,Hn as Q,F5 as R,nr as S,Bi as T,Ag as U,ai as V,Wn as W,E5 as X,iE as Y,dT as Z,_h as _,pr as a,L5 as a0,ba as a1,r$ as a2,aE as a3,sE as a4,Ws as a5,de as a6,nC as a7,Ke as a8,vh as a9,k5 as aA,$5 as aB,A5 as aC,ch as aD,O5 as aE,Vt as aF,Ni as aG,Ko as aH,T5 as aI,sC as aJ,nn as aK,dc as aL,$k as aM,k2 as aN,Xr as aO,S2 as aP,zv as aQ,D5 as aR,mt as aa,ug as ab,Dg as ac,Tn as ad,me as ae,Ok as af,J2 as ag,P5 as ah,r5 as ai,i5 as aj,xE as ak,ig as al,Y as am,Tg as an,bh as ao,kg as ap,Mk as aq,Mn as ar,nl as as,sc as at,M5 as au,C2 as av,S5 as aw,dh as ax,hh as ay,C5 as az,go as b,Qt as c,z5 as d,yt as e,Qg as f,Ae as g,rr as h,B5 as i,et as j,mr as k,wt as l,Me as m,kt as n,An as o,I5 as p,hn as q,Ru as r,X2 as s,Rt as t,eP as u,N5 as v,xh as w,Ja as x,Qa as y,jt as z};
