vuetify-swatches 0.0.2 → 0.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/style.css +2 -2
- package/dist/v-swatches.es.js +26651 -0
- package/dist/v-swatches.umd.js +23 -0
- package/package.json +36 -23
- package/src/components/VSwatches.vue +90 -69
- package/dist/VSwatches.es.js +0 -3144
- package/dist/VSwatches.umd.js +0 -33
- package/dist/components/VSwatches.vue.d.ts +0 -23
- package/dist/components/VSwatches.vue.d.ts.map +0 -1
- package/dist/index.d.ts +0 -4
- package/dist/index.d.ts.map +0 -1
- package/dist/index.esm.d.ts +0 -6
- package/dist/index.esm.d.ts.map +0 -1
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports,require("vue")):"function"==typeof define&&define.amd?define(["exports","vue"],e):e((t="undefined"!=typeof globalThis?globalThis:t||self).VSwatches={},t.Vue)}(this,(function(t,e){"use strict";
|
|
2
|
+
/*! *****************************************************************************
|
|
3
|
+
Copyright (c) Microsoft Corporation.
|
|
4
|
+
|
|
5
|
+
Permission to use, copy, modify, and/or distribute this software for any
|
|
6
|
+
purpose with or without fee is hereby granted.
|
|
7
|
+
|
|
8
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
9
|
+
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
10
|
+
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
11
|
+
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
12
|
+
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
13
|
+
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
14
|
+
PERFORMANCE OF THIS SOFTWARE.
|
|
15
|
+
***************************************************************************** */var i,s=function(t,e){return(s=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i])})(t,e)};function n(t){var e="function"==typeof Symbol&&Symbol.iterator,i=e&&t[e],s=0;if(i)return i.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&s>=t.length&&(t=void 0),{value:t&&t[s++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}var a=[],r=function(){function t(t){this.active=!0,this.effects=[],this.cleanups=[],this.vm=t}return t.prototype.run=function(t){if(this.active)try{return this.on(),t()}finally{this.off()}},t.prototype.on=function(){this.active&&(a.push(this),i=this)},t.prototype.off=function(){this.active&&(a.pop(),i=a[a.length-1])},t.prototype.stop=function(){this.active&&(this.vm.$destroy(),this.effects.forEach((function(t){return t.stop()})),this.cleanups.forEach((function(t){return t()})),this.active=!1)},t}();!function(t){function e(e){void 0===e&&(e=!1);var s,n=void 0;return function(t){var e=d;d=!1;try{t()}finally{d=e}}((function(){n=B(m())})),s=t.call(this,n)||this,e||function(t,e){var s;if((e=e||i)&&e.active)return void e.effects.push(t);var n=null===(s=v())||void 0===s?void 0:s.proxy;n&&n.$on("hook:destroyed",(function(){return t.stop()}))}(s),s}(function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function i(){this.constructor=t}s(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)})(e,t)}(r);var o=void 0;try{var l=require("vue");l&&p(l)?o=l:l&&"default"in l&&p(l.default)&&(o=l.default)}catch(jo){}var h=null,c=null,d=!0,u="__composition_api_installed__";function p(t){return t&&T(t)&&"Vue"===t.name}function m(){return h}function g(t){if(d){var e=c;null==e||e.scope.off(),null==(c=t)||c.scope.on()}}function v(){return c}var f=new WeakMap;function y(t){if(f.has(t))return f.get(t);var e={proxy:t,update:t.$forceUpdate,type:t.$options,uid:t._uid,emit:t.$emit.bind(t),parent:null,root:null};!function(t){if(!t.scope){var e=new r(t.proxy);t.scope=e,t.proxy.$on("hook:destroyed",(function(){return e.stop()}))}t.scope}(e);return["data","props","attrs","refs","vnode","slots"].forEach((function(i){S(e,i,{get:function(){return t["$".concat(i)]}})})),S(e,"isMounted",{get:function(){return t._isMounted}}),S(e,"isUnmounted",{get:function(){return t._isDestroyed}}),S(e,"isDeactivated",{get:function(){return t._inactive}}),S(e,"emitted",{get:function(){return t._events}}),f.set(t,e),t.$parent&&(e.parent=y(t.$parent)),t.$root&&(e.root=y(t.$root)),e}function b(t){return"function"==typeof t&&/native code/.test(t.toString())}var $="undefined"!=typeof Symbol&&b(Symbol)&&"undefined"!=typeof Reflect&&b(Reflect.ownKeys),x=function(t){return t};function S(t,e,i){var s=i.get,n=i.set;Object.defineProperty(t,e,{enumerable:!0,configurable:!0,get:s||x,set:n||x})}function w(t,e,i,s){Object.defineProperty(t,e,{value:i,enumerable:!!s,writable:!0,configurable:!0})}function C(t,e){return Object.hasOwnProperty.call(t,e)}function k(t){return Array.isArray(t)}function _(t){return null!==t&&"object"==typeof t}function I(t){return"[object Object]"===function(t){return Object.prototype.toString.call(t)}(t)}function T(t){return"function"==typeof t}function B(t,e){void 0===e&&(e={});var i=t.config.silent;t.config.silent=!0;var s=new t(e);return t.config.silent=i,s}function A(t,e){return function(){for(var i=[],s=0;s<arguments.length;s++)i[s]=arguments[s];if(t.$scopedSlots[e])return t.$scopedSlots[e].apply(t,i)}}var E="composition-api.refKey",D=new WeakMap,M=new WeakMap;function O(t,e,i){var s=m().util;s.warn;var n=s.defineReactive,a=t.__ob__;function r(){a&&_(i)&&!C(i,"__ob__")&&Y(i)}if(k(t)){if(function(t){var e=parseFloat(String(t));return e>=0&&Math.floor(e)===e&&isFinite(t)&&e<=4294967295}(e))return t.length=Math.max(t.length,e),t.splice(e,1,i),r(),i;if("length"===e&&i!==t.length)return t.length=i,null==a||a.dep.notify(),i}return e in t&&!(e in Object.prototype)?(t[e]=i,r(),i):t._isVue||a&&a.vmCount?i:a?(n(a.value,e,i),R(t,e,i),r(),a.dep.notify(),i):(t[e]=i,i)}var L=function(t){S(this,"value",{get:t.get,set:t.set})};function V(t,e,i){void 0===e&&(e=!1),void 0===i&&(i=!1);var s=new L(t);i&&(s.effect=!0);var n=Object.seal(s);return e&&M.set(n,!0),n}function P(t){var e;if(H(t))return t;var i=U(((e={})[E]=t,e));return V({get:function(){return i[E]},set:function(t){return i[E]=t}})}function H(t){return t instanceof L}function F(t,e){e in t||O(t,e,void 0);var i=t[e];return H(i)?i:V({get:function(){return t[e]},set:function(i){return t[e]=i}})}function N(t){var e;return Boolean(t&&C(t,"__ob__")&&"object"==typeof t.__ob__&&(null===(e=t.__ob__)||void 0===e?void 0:e.__raw__))}function z(t){var e;return Boolean(t&&C(t,"__ob__")&&"object"==typeof t.__ob__&&!(null===(e=t.__ob__)||void 0===e?void 0:e.__raw__))}function W(t){if(!(!I(t)||N(t)||k(t)||H(t)||(e=t,i=m(),i&&e instanceof i)||D.has(t))){var e,i;D.set(t,!0);for(var s=Object.keys(t),n=0;n<s.length;n++)R(t,s[n])}}function R(t,e,i){if("__ob__"!==e&&!N(t[e])){var s,n,a=Object.getOwnPropertyDescriptor(t,e);if(a){if(!1===a.configurable)return;s=a.get,n=a.set,s&&!n||2!==arguments.length||(i=t[e])}W(i),S(t,e,{get:function(){var n=s?s.call(t):i;return e!==E&&H(n)?n.value:n},set:function(a){s&&!n||(e!==E&&H(i)&&!H(a)?i.value=a:n?(n.call(t,a),i=a):i=a,W(a))}})}}function j(t){var e,i=h||o;i.observable?e=i.observable(t):e=B(i,{data:{$$state:t}})._data.$$state;return C(e,"__ob__")||Y(e),e}function Y(t,e){var i,s;if(void 0===e&&(e=new Set),!e.has(t)&&!C(t,"__ob__")&&Object.isExtensible(t)){w(t,"__ob__",function(t){void 0===t&&(t={});return{value:t,dep:{notify:x,depend:x,addSub:x,removeSub:x}}}(t)),e.add(t);try{for(var a=n(Object.keys(t)),r=a.next();!r.done;r=a.next()){var o=t[r.value];(I(o)||k(o))&&!N(o)&&Object.isExtensible(o)&&Y(o,e)}}catch(l){i={error:l}}finally{try{r&&!r.done&&(s=a.return)&&s.call(a)}finally{if(i)throw i.error}}}}function U(t){if(!_(t))return t;if(!I(t)&&!k(t)||N(t)||!Object.isExtensible(t))return t;var e=j(t);return W(e),e}var G={set:function(t,e,i){(t.__composition_api_state__=t.__composition_api_state__||{})[e]=i},get:function(t,e){return(t.__composition_api_state__||{})[e]}};function K(t){var e=G.get(t,"rawBindings")||{};if(e&&Object.keys(e).length){for(var i=t.$refs,s=G.get(t,"refs")||[],n=0;n<s.length;n++){var a=e[l=s[n]];!i[l]&&a&&H(a)&&(a.value=null)}var r=Object.keys(i),o=[];for(n=0;n<r.length;n++){var l;a=e[l=r[n]];i[l]&&a&&H(a)&&(a.value=i[l],o.push(l))}G.set(t,"refs",o)}}function X(t){for(var e=[t._vnode];e.length;){var i=e.pop();if(i.context&&K(i.context),i.children)for(var s=0;s<i.children.length;++s)e.push(i.children[s])}}function q(t,e){var i,s;if(t){var a=G.get(t,"attrBindings");if(a||e){if(!a){var r=U({});a={ctx:e,data:r},G.set(t,"attrBindings",a),S(e,"attrs",{get:function(){return null==a?void 0:a.data},set:function(){}})}var o=t.$attrs,l=function(e){C(a.data,e)||S(a.data,e,{get:function(){return t.$attrs[e]}})};try{for(var h=n(Object.keys(o)),c=h.next();!c.done;c=h.next()){l(c.value)}}catch(d){i={error:d}}finally{try{c&&!c.done&&(s=h.return)&&s.call(h)}finally{if(i)throw i.error}}}}}function Z(t,e){var i=t.$options._parentVnode;if(i){for(var s=G.get(t,"slots")||[],n=function(t,e){var i;if(t){if(t._normalized)return t._normalized;for(var s in i={},t)t[s]&&"$"!==s[0]&&(i[s]=!0)}else i={};for(var s in e)s in i||(i[s]=!0);return i}(i.data.scopedSlots,t.$slots),a=0;a<s.length;a++){n[o=s[a]]||delete e[o]}var r=Object.keys(n);for(a=0;a<r.length;a++){var o;e[o=r[a]]||(e[o]=A(t,o))}G.set(t,"slots",r)}}function J(t,e,i){var s=v();g(t);try{return e(t)}catch(n){if(!i)throw n;i(n)}finally{g(s)}}function Q(t){function e(t,i){if(void 0===i&&(i=new Set),!i.has(t)&&I(t)&&!H(t)&&!z(t)&&!N(t)){var s=m().util.defineReactive;Object.keys(t).forEach((function(n){var a=t[n];s(t,n,a),a&&(i.add(a),e(a,i))}))}}function i(t,e){return void 0===e&&(e=new Map),e.has(t)?e.get(t):(e.set(t,!1),k(t)&&z(t)?(e.set(t,!0),!0):!(!I(t)||N(t)||H(t))&&Object.keys(t).some((function(s){return i(t[s],e)})))}t.mixin({beforeCreate:function(){var t=this,s=t.$options,n=s.setup,a=s.render;a&&(s.render=function(){for(var e=this,i=[],s=0;s<arguments.length;s++)i[s]=arguments[s];return J(y(t),(function(){return a.apply(e,i)}))});if(!n)return;if(!T(n))return;var r=s.data;s.data=function(){return function(t,s){void 0===s&&(s={});var n,a=t.$options.setup,r=function(t){var e={slots:{}},i=["emit"];return["root","parent","refs","listeners","isServer","ssrContext"].forEach((function(i){var s="$".concat(i);S(e,i,{get:function(){return t[s]},set:function(){}})})),q(t,e),i.forEach((function(i){var s="$".concat(i);S(e,i,{get:function(){return function(){for(var e=[],i=0;i<arguments.length;i++)e[i]=arguments[i];t[s].apply(t,e)}}})})),e}(t),o=y(t);if(o.setupContext=r,w(s,"__ob__",function(){return j({}).__ob__}()),Z(t,r.slots),J(o,(function(){n=a(s,r)})),!n)return;if(T(n)){var l=n;return void(t.$options.render=function(){return Z(t,r.slots),J(o,(function(){return l()}))})}if(_(n)){z(n)&&(n=function(t){if(!I(t))return t;var e={};for(var i in t)e[i]=F(t,i);return e}(n)),G.set(t,"rawBindings",n);var h=n;Object.keys(h).forEach((function(s){var n=h[s];if(!H(n))if(z(n))k(n)&&(n=P(n));else if(T(n)){var a=n;n=n.bind(t),Object.keys(a).forEach((function(t){n[t]=a[t]}))}else _(n)?i(n)&&e(n):n=P(n);!function(t,e,i){var s=t.$options.props;e in t||s&&C(s,e)||(H(i)?S(t,e,{get:function(){return i.value},set:function(t){i.value=t}}):S(t,e,{get:function(){return z(i)&&i.__ob__.dep.depend(),i},set:function(t){i=t}}))}(t,s,n)}))}}(t,t.$props),T(r)?r.call(t,t):r||{}}},mounted:function(){X(this)},beforeUpdate:function(){q(this)},updated:function(){X(this)}})}function tt(t,e){if(!t)return e;if(!e)return t;for(var i,s,n,a=$?Reflect.ownKeys(t):Object.keys(t),r=0;r<a.length;r++)"__ob__"!==(i=a[r])&&(s=e[i],n=t[i],C(e,i)?s!==n&&I(s)&&!H(s)&&I(n)&&!H(n)&&tt(n,s):e[i]=n);return e}function et(t){(function(t){return h&&C(t,u)})(t)||(t.config.optionMergeStrategies.setup=function(t,e){return function(i,s){return tt(T(t)?t(i,s)||{}:void 0,T(e)?e(i,s)||{}:void 0)}},function(t){h=t,Object.defineProperty(t,u,{configurable:!0,writable:!0,value:!0})}(t),Q(t))}var it={install:function(t){return et(t)}};function st(t){(t=t||e.default)&&!t.__composition_api_installed__&&e.default.use(it)}"undefined"!=typeof window&&window.Vue&&window.Vue.use(it),st(e.default),e.default.version;const nt=e.default.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:()=>({themeableProvide:{isDark:!1}}),computed:{appIsDark(){return this.$vuetify.theme.dark||!1},isDark(){return!0===this.dark||!0!==this.light&&this.theme.isDark},themeClasses(){return{"theme--dark":this.isDark,"theme--light":!this.isDark}},rootIsDark(){return!0===this.dark||!0!==this.light&&this.appIsDark},rootThemeClasses(){return{"theme--dark":this.rootIsDark,"theme--light":!this.rootIsDark}}},watch:{isDark:{handler(t,e){t!==e&&(this.themeableProvide.isDark=this.isDark)},immediate:!0}}});function at(t){const e={...t.props,...t.injections},i=nt.options.computed.isDark.call(e);return nt.options.computed.themeClasses.call({isDark:i})}function rt(...t){return e.default.extend({mixins:t})}rt(nt).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://vuetifyjs.com/getting-started/quick-start#bootstrapping-the-vuetify-object")},render(t){const e=t("div",{staticClass:"v-application--wrap"},this.$slots.default);return t("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}},[e])}});function ot(t){return function(e,i){for(const s in i)Object.prototype.hasOwnProperty.call(e,s)||this.$delete(this.$data[t],s);for(const s in e)this.$set(this.$data[t],s,e[s])}}var lt=e.default.extend({data:()=>({attrs$:{},listeners$:{}}),created(){this.$watch("$attrs",ot("attrs$"),{immediate:!0}),this.$watch("$listeners",ot("listeners$"),{immediate:!0})}});class ht{constructor(){this.framework={}}init(t,e){}}class ct extends ht{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,e,i){this.application[e][t]=i,this.update(e)}unregister(t,e){null!=this.application[e][t]&&(delete this.application[e][t],this.update(e))}update(t){this[t]=Object.values(this.application[t]).reduce(((t,e)=>t+e),0)}}ct.property="application";class dt extends ht{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:e,scrollBarWidth:i,thresholds:s}=t[dt.property];this.mobileBreakpoint=e,this.scrollBarWidth=i,this.thresholds=s}init(){this.update(),"undefined"!=typeof window&&window.addEventListener("resize",this.onResize.bind(this),{passive:!0})}update(t=!1){const e=t?0:this.getClientHeight(),i=t?0:this.getClientWidth(),s=i<this.thresholds.xs,n=i<this.thresholds.sm&&!s,a=i<this.thresholds.md-this.scrollBarWidth&&!(n||s),r=i<this.thresholds.lg-this.scrollBarWidth&&!(a||n||s),o=i>=this.thresholds.lg-this.scrollBarWidth;switch(this.height=e,this.width=i,this.xs=s,this.sm=n,this.md=a,this.lg=r,this.xl=o,this.xsOnly=s,this.smOnly=n,this.smAndDown=(s||n)&&!(a||r||o),this.smAndUp=!s&&(n||a||r||o),this.mdOnly=a,this.mdAndDown=(s||n||a)&&!(r||o),this.mdAndUp=!(s||n)&&(a||r||o),this.lgOnly=r,this.lgAndDown=(s||n||a||r)&&!o,this.lgAndUp=!(s||n||a)&&(r||o),this.xlOnly=o,!0){case s:this.name="xs";break;case n:this.name="sm";break;case a:this.name="md";break;case r:this.name="lg";break;default:this.name="xl"}if("number"==typeof this.mobileBreakpoint)return void(this.mobile=i<parseInt(this.mobileBreakpoint,10));const l={xs:0,sm:1,md:2,lg:3,xl:4},h=l[this.name],c=l[this.mobileBreakpoint];this.mobile=h<=c}onResize(){clearTimeout(this.resizeTimeout),this.resizeTimeout=window.setTimeout(this.update.bind(this),200)}getClientWidth(){return"undefined"==typeof document?0:Math.max(document.documentElement.clientWidth,window.innerWidth||0)}getClientHeight(){return"undefined"==typeof document?0:Math.max(document.documentElement.clientHeight,window.innerHeight||0)}}dt.property="breakpoint";const ut=t=>t<.5?4*t**3:(t-1)*(2*t-2)*(2*t-2)+1;var pt=Object.freeze(Object.defineProperty({__proto__:null,linear:t=>t,easeInQuad:t=>t**2,easeOutQuad:t=>t*(2-t),easeInOutQuad:t=>t<.5?2*t**2:(4-2*t)*t-1,easeInCubic:t=>t**3,easeOutCubic:t=>--t**3+1,easeInOutCubic:ut,easeInQuart:t=>t**4,easeOutQuart:t=>1- --t**4,easeInOutQuart:t=>t<.5?8*t*t*t*t:1-8*--t*t*t*t,easeInQuint:t=>t**5,easeOutQuint:t=>1+--t**5,easeInOutQuint:t=>t<.5?16*t**5:1+16*--t**5},Symbol.toStringTag,{value:"Module"}));function mt(t){if("number"==typeof t)return t;let e=vt(t);if(!e)throw"string"==typeof t?new Error(`Target element "${t}" not found.`):new TypeError(`Target must be a Number/Selector/HTMLElement/VueComponent, received ${gt(t)} instead.`);let i=0;for(;e;)i+=e.offsetTop,e=e.offsetParent;return i}function gt(t){return null==t?t:t.constructor.name}function vt(t){return"string"==typeof t?document.querySelector(t):t&&t._isVue?t.$el:t instanceof HTMLElement?t:null}function ft(t,e={}){const i={container:document.scrollingElement||document.body||document.documentElement,duration:500,offset:0,easing:"easeInOutCubic",appOffset:!0,...e},s=function(t){const e=vt(t);if(e)return e;throw"string"==typeof t?new Error(`Container element "${t}" not found.`):new TypeError(`Container must be a Selector/HTMLElement/VueComponent, received ${gt(t)} instead.`)}(i.container);if(i.appOffset&&ft.framework.application){const t=s.classList.contains("v-navigation-drawer"),e=s.classList.contains("v-navigation-drawer--clipped"),{bar:n,top:a}=ft.framework.application;i.offset+=n,t&&!e||(i.offset+=a)}const n=performance.now();let a;a="number"==typeof t?mt(t)-i.offset:mt(t)-mt(s)-i.offset;const r=s.scrollTop;if(a===r)return Promise.resolve(a);const o="function"==typeof i.easing?i.easing:pt[i.easing];if(!o)throw new TypeError(`Easing function "${i.easing}" not found.`);return new Promise((t=>requestAnimationFrame((function e(l){const h=l-n,c=Math.abs(i.duration?Math.min(h/i.duration,1):1);s.scrollTop=Math.floor(r+(a-r)*o(c));const d=(s===document.body?document.documentElement.clientHeight:s.clientHeight)+s.scrollTop>=s.scrollHeight;if(1===c||a>s.scrollTop&&d)return t(a);requestAnimationFrame(e)}))))}ft.framework={},ft.init=()=>{};class yt extends ht{constructor(){return super(),ft}}function bt(t,i="div",s){return e.default.extend({name:s||t.replace(/__/g,"-"),functional:!0,props:{tag:{type:String,default:i}},render:(e,{data:i,props:s,children:n})=>(i.staticClass=`${t} ${i.staticClass||""}`.trim(),e(s.tag,i,n))})}function $t(t,e,i,s=!1){const n=a=>{i(a),t.removeEventListener(e,n,s)};t.addEventListener(e,n,s)}yt.property="goTo";let xt=!1;try{if("undefined"!=typeof window){const t=Object.defineProperty({},"passive",{get:()=>{xt=!0}});window.addEventListener("testListener",t,t),window.removeEventListener("testListener",t,t)}}catch(Yo){}function St(t,e,i){const s=e.length-1;if(s<0)return void 0===t?i:t;for(let n=0;n<s;n++){if(null==t)return i;t=t[e[n]]}return null==t||void 0===t[e[s]]?i:t[e[s]]}function wt(t,e){if(t===e)return!0;if(t instanceof Date&&e instanceof Date&&t.getTime()!==e.getTime())return!1;if(t!==Object(t)||e!==Object(e))return!1;const i=Object.keys(t);return i.length===Object.keys(e).length&&i.every((i=>wt(t[i],e[i])))}function Ct(t,e,i){return null!=t&&e&&"string"==typeof e?void 0!==t[e]?t[e]:St(t,(e=(e=e.replace(/\[(\w+)\]/g,".$1")).replace(/^\./,"")).split("."),i):i}function kt(t,e,i){if(null==e)return void 0===t?i:t;if(t!==Object(t))return void 0===i?t:i;if("string"==typeof e)return Ct(t,e,i);if(Array.isArray(e))return St(t,e,i);if("function"!=typeof e)return i;const s=e(t,i);return void 0===s?i:s}function _t(t){return Array.from({length:t},((t,e)=>e))}function It(t){if(!t||t.nodeType!==Node.ELEMENT_NODE)return 0;const e=+window.getComputedStyle(t).getPropertyValue("z-index");return e||It(t.parentNode)}const Tt={"&":"&","<":"<",">":">"};function Bt(t){return t.replace(/[&<>]/g,(t=>Tt[t]||t))}function At(t,e){const i={};for(let s=0;s<e.length;s++){const n=e[s];void 0!==t[n]&&(i[n]=t[n])}return i}function Et(t,e="px"){return null==t||""===t?void 0:isNaN(+t)?String(t):`${Number(t)}${e}`}function Dt(t){return(t||"").replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function Mt(t){return null!==t&&"object"==typeof t}const Ot=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 Lt(t){return Object.keys(t)}const Vt=/-(\w)/g,Pt=t=>t.replace(Vt,((t,e)=>e?e.toUpperCase():""));function Ht(t){return t.charAt(0).toUpperCase()+t.slice(1)}function Ft(t){return null!=t?Array.isArray(t)?t:[t]:[]}function Nt(t,e,i){return null!=t&&null!=e&&"boolean"!=typeof t&&-1!==t.toString().toLocaleLowerCase().indexOf(e.toLocaleLowerCase())}function zt(t,e,i){return t.$slots.hasOwnProperty(e)&&t.$scopedSlots.hasOwnProperty(e)&&t.$scopedSlots[e].name?i?"v-slot":"scoped":t.$slots.hasOwnProperty(e)?"normal":t.$scopedSlots.hasOwnProperty(e)?"scoped":void 0}function Wt(t,e){return Object.keys(e).filter((e=>e.startsWith(t))).reduce(((i,s)=>(i[s.replace(t,"")]=e[s],i)),{})}function Rt(t,e="default",i,s=!1){return t.$scopedSlots.hasOwnProperty(e)?t.$scopedSlots[e](i instanceof Function?i():i):!t.$slots.hasOwnProperty(e)||i&&!s?void 0:t.$slots[e]}function jt(t,e=0,i=1){return Math.max(e,Math.min(i,t))}function Yt(t,e,i="0"){return t+i.repeat(Math.max(0,e-t.length))}function Ut(t,e=!1){const i=e?1024:1e3;if(t<i)return`${t} B`;const s=e?["Ki","Mi","Gi"]:["k","M","G"];let n=-1;for(;Math.abs(t)>=i&&n<s.length-1;)t/=i,++n;return`${t.toFixed(1)} ${s[n]}B`}function Gt(t){return t?Object.keys(t).reduce(((e,i)=>(e[Pt(i)]=t[i],e)),{}):{}}function Kt(t={},e={}){for(const i in e){const s=t[i],n=e[i];Mt(s)&&Mt(n)?t[i]=Kt(s,n):t[i]=n}return t}function Xt(t,e){return Array(t).fill(e)}function qt(t){if(t.composedPath)return t.composedPath();const e=[];let i=t.target;for(;i;){if(e.push(i),"HTML"===i.tagName)return e.push(document),e.push(window),e;i=i.parentElement}return e}const Zt={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",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"};var Jt=function(t,e){const i={};for(const s in e)i[s]={component:t,props:{icon:e[s].split(" fa-")}};return i}("font-awesome-icon",Zt),Qt=Object.freeze({mdiSvg:{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:"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",success:"M12,2C17.52,2 22,6.48 22,12C22,17.52 17.52,22 12,22C6.48,22 2,17.52 2,12C2,6.48 6.48,2 12,2M11,16.5L18,9.5L16.59,8.09L11,13.67L7.91,10.59L6.5,12L11,16.5Z",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,2Z",warning:"M11,4.5H13V15.5H11V4.5M13,17.5V19.5H11V17.5H13Z",error:"M13,14H11V10H13M13,18H11V16H13M1,21H23L12,2L1,21Z",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"},md:{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"},mdi:{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"},fa:Zt,fa4:{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"},faSvg:Jt});class te extends ht{constructor(t){super();const{iconfont:e,values:i,component:s}=t[te.property];this.component=s,this.iconfont=e,this.values=Kt(Qt[e],i)}}te.property="icons";const ee="$vuetify.",ie=Symbol("Lang fallback");function se(t,e,i=!1,s){const n=e.replace(ee,"");let a=Ct(t,n,ie);return a===ie&&(i?(Re(`Translation key "${n}" not found in fallback`),a=e):(We(`Translation key "${n}" not found, falling back to default`),a=se(s,e,!0,s))),a}class ne extends ht{constructor(t){super(),this.defaultLocale="en";const{current:e,locales:i,t:s}=t[ne.property];this.current=e,this.locales=i,this.translator=s||this.defaultTranslator}currentLocale(t){return se(this.locales[this.current],t,!1,this.locales[this.defaultLocale])}t(t,...e){return t.startsWith(ee)?this.translator(t,...e):this.replace(t,e)}defaultTranslator(t,...e){return this.replace(this.currentLocale(t),e)}replace(t,e){return t.replace(/\{(\d+)\}/g,((t,i)=>String(e[+i])))}}ne.property="lang";const ae={breakpoint:{mobileBreakpoint:1264,scrollBarWidth:16,thresholds:{xs:600,sm:960,md:1280,lg:1920}},icons:{iconfont:"mdi",values:{}},lang:{current:"en",locales:{en:{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"},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}"}}}},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 re extends ht{constructor(t,e){super();const i=Kt({},ae),{userPreset:s}=e,{preset:n={},...a}=s;null!=n.preset&&We("Global presets do not support the **preset** option, it can be safely omitted"),e.preset=Kt(Kt(i,n),a)}}re.property="presets";const oe=[[3.2406,-1.5372,-.4986],[-.9689,1.8758,.0415],[.0557,-.204,1.057]],le=t=>t<=.0031308?12.92*t:1.055*t**(1/2.4)-.055,he=[[.4124,.3576,.1805],[.2126,.7152,.0722],[.0193,.1192,.9505]],ce=t=>t<=.04045?t/12.92:((t+.055)/1.055)**2.4;function de(t){const e=Array(3),i=le,s=oe;for(let n=0;n<3;++n)e[n]=Math.round(255*jt(i(s[n][0]*t[0]+s[n][1]*t[1]+s[n][2]*t[2])));return(e[0]<<16)+(e[1]<<8)+(e[2]<<0)}function ue(t){const e=[0,0,0],i=ce,s=he,n=i((t>>16&255)/255),a=i((t>>8&255)/255),r=i((t>>0&255)/255);for(let o=0;o<3;++o)e[o]=s[o][0]*n+s[o][1]*a+s[o][2]*r;return e}function pe(t){return!!t&&!!t.match(/^(#|var\(--|(rgb|hsl)a?\()/)}function me(t){let e;if("number"==typeof t)e=t;else{if("string"!=typeof t)throw new TypeError(`Colors can only be numbers or strings, recieved ${null==t?t:t.constructor.name} instead`);{let i="#"===t[0]?t.substring(1):t;3===i.length&&(i=i.split("").map((t=>t+t)).join("")),6!==i.length&&We(`'${t}' is not a valid rgb color`),e=parseInt(i,16)}}return e<0?(We(`Colors cannot be negative: '${t}'`),e=0):(e>16777215||isNaN(e))&&(We(`'${t}' is not a valid rgb color`),e=16777215),e}function ge(t){let e=t.toString(16);return e.length<6&&(e="0".repeat(6-e.length)+e),"#"+e}function ve(t){const{h:e,s:i,v:s,a:n}=t,a=t=>{const n=(t+e/60)%6;return s-s*i*Math.max(Math.min(n,4-n,1),0)},r=[a(5),a(3),a(1)].map((t=>Math.round(255*t)));return{r:r[0],g:r[1],b:r[2],a:n}}function fe(t){if(!t)return{h:0,s:1,v:1,a:1};const e=t.r/255,i=t.g/255,s=t.b/255,n=Math.max(e,i,s),a=Math.min(e,i,s);let r=0;n!==a&&(n===e?r=60*(0+(i-s)/(n-a)):n===i?r=60*(2+(s-e)/(n-a)):n===s&&(r=60*(4+(e-i)/(n-a)))),r<0&&(r+=360);const o=[r,0===n?0:(n-a)/n,n];return{h:o[0],s:o[1],v:o[2],a:t.a}}function ye(t){const{h:e,s:i,v:s,a:n}=t,a=s-s*i/2;return{h:e,s:1===a||0===a?0:(s-a)/Math.min(a,1-a),l:a,a:n}}function be(t){return`rgba(${t.r}, ${t.g}, ${t.b}, ${t.a})`}function $e(t){const e=t=>{const e=Math.round(t).toString(16);return("00".substr(0,2-e.length)+e).toUpperCase()};return`#${[e(t.r),e(t.g),e(t.b),e(Math.round(255*t.a))].join("")}`}function xe(t){const e=function(t){const e=function(t,e=1){const i=[];let s=0;for(;s<t.length;)i.push(t.substr(s,e)),s+=e;return i}(t.slice(1),2).map((t=>parseInt(t,16)));return{r:e[0],g:e[1],b:e[2],a:Math.round(e[3]/255*100)/100}}(t);return fe(e)}function Se(t){return $e(ve(t))}function we(t){return t.startsWith("#")&&(t=t.slice(1)),3!==(t=t.replace(/([^0-9a-f])/gi,"F")).length&&4!==t.length||(t=t.split("").map((t=>t+t)).join("")),`#${t=6===t.length?Yt(t,8,"F"):Yt(Yt(t,6),8,"F")}`.toUpperCase().substr(0,9)}function Ce(t){return(t.r<<16)+(t.g<<8)+t.b}function ke(t,e){const[,i]=ue(Ce(t)),[,s]=ue(Ce(e));return(Math.max(i,s)+.05)/(Math.min(i,s)+.05)}const _e=.20689655172413793,Ie=t=>t>_e**3?Math.cbrt(t):t/(3*_e**2)+4/29,Te=t=>t>_e?t**3:3*_e**2*(t-4/29);function Be(t){const e=Ie,i=e(t[1]);return[116*i-16,500*(e(t[0]/.95047)-i),200*(i-e(t[2]/1.08883))]}function Ae(t){const e=Te,i=(t[0]+16)/116;return[.95047*e(i+t[1]/500),e(i),1.08883*e(i-t[2]/200)]}function Ee(t,e=!1,i=!0){const{anchor:s,...n}=t,a=Object.keys(n),r={};for(let o=0;o<a.length;++o){const s=a[o],n=t[s];null!=n&&(i?e?("base"===s||s.startsWith("lighten")||s.startsWith("darken"))&&(r[s]=ge(me(n))):r[s]="object"==typeof n?Ee(n,!0,i):Ve(s,me(n)):r[s]={base:ge(me(n))})}return e||(r.anchor=s||r.base||r.primary.base),r}const De=(t,e)=>`\n.v-application .${t} {\n background-color: ${e} !important;\n border-color: ${e} !important;\n}\n.v-application .${t}--text {\n color: ${e} !important;\n caret-color: ${e} !important;\n}`,Me=(t,e,i)=>{const[s,n]=e.split(/(\d)/,2);return`\n.v-application .${t}.${s}-${n} {\n background-color: ${i} !important;\n border-color: ${i} !important;\n}\n.v-application .${t}--text.text--${s}-${n} {\n color: ${i} !important;\n caret-color: ${i} !important;\n}`},Oe=(t,e="base")=>`--v-${t}-${e}`,Le=(t,e="base")=>`var(${Oe(t,e)})`;function Ve(t,e){const i={base:ge(e)};for(let s=5;s>0;--s)i[`lighten${s}`]=ge(Pe(e,s));for(let s=1;s<=4;++s)i[`darken${s}`]=ge(He(e,s));return i}function Pe(t,e){const i=Be(ue(t));return i[0]=i[0]+10*e,de(Ae(i))}function He(t,e){const i=Be(ue(t));return i[0]=i[0]-10*e,de(Ae(i))}class Fe extends ht{constructor(t){super(),this.disabled=!1,this.isDark=null,this.unwatch=null,this.vueMeta=null;const{dark:e,disable:i,options:s,themes:n}=t[Fe.property];this.dark=Boolean(e),this.defaults=this.themes=n,this.options=s,i?this.disabled=!0:this.themes={dark:this.fillVariant(n.dark,!0),light:this.fillVariant(n.light,!1)}}set css(t){this.vueMeta?this.isVueMeta23&&this.applyVueMeta23():this.checkOrCreateStyleElement()&&(this.styleEl.innerHTML=t)}set dark(t){const e=this.isDark;this.isDark=t,null!=e&&this.applyTheme()}get dark(){return Boolean(this.isDark)}applyTheme(){if(this.disabled)return this.clearCss();this.css=this.generatedStyles}clearCss(){this.css=""}init(t,e){this.disabled||(t.$meta?this.initVueMeta(t):e&&this.initSSR(e),this.initTheme(t))}setTheme(t,e){this.themes[t]=Object.assign(this.themes[t],e),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||(this.genStyleElement(),Boolean(this.styleEl))}fillVariant(t={},e){const i=this.themes[e?"dark":"light"];return Object.assign({},i,t)}genStyleElement(){"undefined"!=typeof document&&(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)return void t.$nextTick((()=>{this.applyVueMeta23()}));const e="function"==typeof this.vueMeta.getOptions?this.vueMeta.getOptions().keyName:"metaInfo",i=t.$options[e]||{};t.$options[e]=()=>{i.style=i.style||[];const t=i.style.find((t=>"vuetify-theme-stylesheet"===t.id));return t?t.cssText=this.generatedStyles:i.style.push({cssText:this.generatedStyles,type:"text/css",id:"vuetify-theme-stylesheet",nonce:(this.options||{}).cspNonce}),i}}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 e=this.options.cspNonce?` nonce="${this.options.cspNonce}"`:"";t.head=t.head||"",t.head+=`<style type="text/css" id="vuetify-theme-stylesheet"${e}>${this.generatedStyles}</style>`}initTheme(t){"undefined"!=typeof document&&(this.unwatch&&(this.unwatch(),this.unwatch=null),t.$once("hook:created",(()=>{const i=e.default.observable({themes:this.themes});this.unwatch=t.$watch((()=>i.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,e=this.options||{};let i;return null!=e.themeCache&&(i=e.themeCache.get(t),null!=i)||(i=function(t,e=!1){const{anchor:i,...s}=t,n=Object.keys(s);if(!n.length)return"";let a="",r="";r+=`.v-application a { color: ${e?Le("anchor"):i}; }`,e&&(a+=` ${Oe("anchor")}: ${i};\n`);for(let o=0;o<n.length;++o){const i=n[o],s=t[i];r+=De(i,e?Le(i):s.base),e&&(a+=` ${Oe(i)}: ${s.base};\n`);const l=Lt(s);for(let t=0;t<l.length;++t){const n=l[t],o=s[n];"base"!==n&&(r+=Me(i,n,e?Le(i,n):o),e&&(a+=` ${Oe(i,n)}: ${o};\n`))}}return e&&(a=`:root {\n${a}}\n\n`),a+r}(t,e.customProperties),null!=e.minifyTheme&&(i=e.minifyTheme(i)),null!=e.themeCache&&e.themeCache.set(t,i)),i}get parsedTheme(){return Ee(this.currentTheme||{},void 0,St(this.options,["variations"],!0))}get isVueMeta23(){return"function"==typeof this.vueMeta.addApp}}Fe.property="theme";class Ne{constructor(t={}){this.framework={isHydrating:!1},this.installed=[],this.preset={},this.userPreset={},this.userPreset=t,this.use(re),this.use(ct),this.use(dt),this.use(yt),this.use(te),this.use(ne),this.use(Fe)}init(t,e){this.installed.forEach((i=>{const s=this.framework[i];s.framework=this.framework,s.init(t,e)})),this.framework.rtl=Boolean(this.preset.rtl)}use(t){const e=t.property;this.installed.includes(e)||(this.framework[e]=new t(this.preset,this),this.installed.push(e))}}function ze(t,e,i){if(!Ne.config.silent){if(i&&(e={_isVue:!0,$parent:i,$options:e}),e){if(e.$_alreadyWarned=e.$_alreadyWarned||[],e.$_alreadyWarned.includes(t))return;e.$_alreadyWarned.push(t)}return`[Vuetify] ${t}`+(e?function(t){if(t._isVue&&t.$parent){const e=[];let i=0;for(;t;){if(e.length>0){const s=e[e.length-1];if(s.constructor===t.constructor){i++,t=t.$parent;continue}i>0&&(e[e.length-1]=[s,i],i=0)}e.push(t),t=t.$parent}return"\n\nfound in\n\n"+e.map(((t,e)=>`${0===e?"---\x3e ":" ".repeat(5+2*e)}${Array.isArray(t)?`${Ke(t[0])}... (${t[1]} recursive calls)`:Ke(t)}`)).join("\n")}return`\n\n(found in ${Ke(t)})`}(e):"")}}function We(t,e,i){ze(t,e,i)}function Re(t,e,i){ze(t,e,i)}function je(t,e,i,s){We(`[UPGRADE] '${t}' is deprecated, use '${e}' instead.`,i,s)}function Ye(t,e,i,s){Re(`[BREAKING] '${t}' has been removed, use '${e}' instead. For more information, see the upgrade guide https://github.com/vuetifyjs/vuetify/releases/tag/v2.0.0#user-content-upgrade-guide`,i,s)}function Ue(t,e,i){We(`[REMOVED] '${t}' has been removed. You can safely omit it.`,e,i)}Ne.install=function t(i,s={}){if(t.installed)return;t.installed=!0,e.default!==i&&Re("Multiple instances of Vue detected\nSee https://github.com/vuetifyjs/vuetify/issues/4068\n\nIf you're seeing \"$attrs is readonly\", it's caused by this");const n=s.components||{},a=s.directives||{};for(const e in a){const t=a[e];i.directive(e,t)}!function t(e){if(e){for(const s in e){const n=e[s];n&&!t(n.$_vuetify_subcomponents)&&i.component(s,n)}return!0}return!1}(n),i.$_vuetify_installed||(i.$_vuetify_installed=!0,i.mixin({beforeCreate(){const t=this.$options;t.vuetify?(t.vuetify.init(this,this.$ssrContext),this.$vuetify=i.observable(t.vuetify.framework)):this.$vuetify=t.parent&&t.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())}}))},Ne.installed=!1,Ne.version="2.6.4",Ne.config={silent:!1};const Ge=/(?:^|[-_])(\w)/g;function Ke(t,e){if(t.$root===t)return"<Root>";const i="function"==typeof t&&null!=t.cid?t.options:t._isVue?t.$options||t.constructor.options:t||{};let s=i.name||i._componentTag;const n=i.__file;if(!s&&n){const t=n.match(/([^/\\]+)\.vue$/);s=t&&t[1]}return(s?`<${a=s,a.replace(Ge,(t=>t.toUpperCase())).replace(/[-_]/g,"")}>`:"<Anonymous>")+(n&&!1!==e?` at ${n}`:"");var a}var Xe=e.default.extend({name:"colorable",props:{color:String},methods:{setBackgroundColor(t,e={}){return"string"==typeof e.style?(Re("style must be an object",this),e):"string"==typeof e.class?(Re("class must be an object",this),e):(pe(t)?e.style={...e.style,"background-color":`${t}`,"border-color":`${t}`}:t&&(e.class={...e.class,[t]:!0}),e)},setTextColor(t,e={}){if("string"==typeof e.style)return Re("style must be an object",this),e;if("string"==typeof e.class)return Re("class must be an object",this),e;if(pe(t))e.style={...e.style,color:`${t}`,"caret-color":`${t}`};else if(t){const[i,s]=t.toString().trim().split(" ",2);e.class={...e.class,[i+"--text"]:!0},s&&(e.class["text--"+s]=!0)}return e}}}),qe=e.default.extend({name:"elevatable",props:{elevation:[Number,String]},computed:{computedElevation(){return this.elevation},elevationClasses(){const t=this.computedElevation;return null==t||isNaN(parseInt(t))?{}:{[`elevation-${this.elevation}`]:!0}}}}),Ze=e.default.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 t={},e=Et(this.height),i=Et(this.minHeight),s=Et(this.minWidth),n=Et(this.maxHeight),a=Et(this.maxWidth),r=Et(this.width);return e&&(t.height=e),i&&(t.minHeight=i),s&&(t.minWidth=s),n&&(t.maxHeight=n),a&&(t.maxWidth=a),r&&(t.width=r),t}}}),Je=e.default.extend({name:"roundable",props:{rounded:[Boolean,String],tile:Boolean},computed:{roundedClasses(){const t=[],e="string"==typeof this.rounded?String(this.rounded):!0===this.rounded;if(this.tile)t.push("rounded-0");else if("string"==typeof e){const i=e.split(" ");for(const e of i)t.push(`rounded-${e}`)}else e&&t.push("rounded");return t.length>0?{[t.join(" ")]:!0}:{}}}}),Qe=rt(lt,Xe,qe,Ze,Je,nt).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(t){const e={class:this.classes,style:this.styles,on:this.listeners$};return t(this.tag,this.setBackgroundColor(this.color,e),this.$slots.default)}});function ti(t,e,i){var s;const n=null==(s=t._observe)?void 0:s[i.context._uid];n&&(n.observer.unobserve(t),delete t._observe[i.context._uid])}const ei={inserted:function(t,e,i){if("undefined"==typeof window||!("IntersectionObserver"in window))return;const s=e.modifiers||{},n=e.value,{handler:a,options:r}="object"==typeof n?n:{handler:n,options:{}},o=new IntersectionObserver(((n=[],r)=>{var o;const l=null==(o=t._observe)?void 0:o[i.context._uid];if(!l)return;const h=n.some((t=>t.isIntersecting));!a||s.quiet&&!l.init||s.once&&!h&&!l.init||a(n,r,h),h&&s.once?ti(t,e,i):l.init=!0}),r);t._observe=Object(t._observe),t._observe[i.context._uid]={init:!1,observer:o},o.observe(t)},unbind:ti};var ii=rt(Ze).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},this.$slots.default)}},render(t){return t("div",{staticClass:"v-responsive",style:this.measurableStyles,on:this.$listeners},[this.__cachedSizer,this.genContent()])}});const si=/;(?![^(]*\))/g,ni=/:(.*)/;function ai(t){const e={};for(const i of t.split(si)){let[t,s]=i.split(ni);t=t.trim(),t&&("string"==typeof s&&(s=s.trim()),e[Pt(t)]=s)}return e}function ri(){const t={};let e,i=arguments.length;for(;i--;)for(e of Object.keys(arguments[i]))switch(e){case"class":case"directives":arguments[i][e]&&(t[e]=li(t[e],arguments[i][e]));break;case"style":arguments[i][e]&&(t[e]=oi(t[e],arguments[i][e]));break;case"staticClass":if(!arguments[i][e])break;void 0===t[e]&&(t[e]=""),t[e]&&(t[e]+=" "),t[e]+=arguments[i][e].trim();break;case"on":case"nativeOn":arguments[i][e]&&(t[e]=hi(t[e],arguments[i][e]));break;case"attrs":case"props":case"domProps":case"scopedSlots":case"staticStyle":case"hook":case"transition":if(!arguments[i][e])break;t[e]||(t[e]={}),t[e]={...arguments[i][e],...t[e]};break;default:t[e]||(t[e]=arguments[i][e])}return t}function oi(t,e){return t?e?(t=Ft("string"==typeof t?ai(t):t)).concat("string"==typeof e?ai(e):e):t:e}function li(t,e){return e?t&&t?Ft(t).concat(e):e:t}function hi(...t){if(!t[0])return t[1];if(!t[1])return t[0];const e={};for(let i=2;i--;){const s=t[i];for(const t in s)s[t]&&(e[t]?e[t]=[].concat(s[t],e[t]):e[t]=s[t])}return e}const ci="undefined"!=typeof window&&"IntersectionObserver"in window;var di=rt(ii,nt).extend({name:"v-img",directives:{intersect:ei},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:()=>({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&&"object"==typeof this.src?{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 t=[],e=this.isLoading?this.normalisedSrc.lazySrc:this.currentSrc;this.gradient&&t.push(`linear-gradient(${this.gradient})`),e&&t.push(`url("${e}")`);const i=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:t.join(", "),backgroundPosition:this.position},key:+this.isLoading});return this.transition?this.$createElement("transition",{attrs:{name:this.transition,mode:"in-out"}},[i]):i}},watch:{src(){this.isLoading?this.loadImage():this.init(void 0,void 0,!0)},"$vuetify.breakpoint.width":"getSrc"},mounted(){this.init()},methods:{init(t,e,i){if(!ci||i||this.eager){if(this.normalisedSrc.lazySrc){const t=new Image;t.src=this.normalisedSrc.lazySrc,this.pollForSize(t,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 t=new Image;this.image=t,t.onload=()=>{t.decode?t.decode().catch((t=>{We(`Failed to decode image, trying to render anyway\n\nsrc: ${this.normalisedSrc.src}`+(t.message?`\nOriginal error: ${t.message}`:""),this)})).then(this.onLoad):this.onLoad()},t.onerror=this.onError,this.hasError=!1,this.sizes&&(t.sizes=this.sizes),this.normalisedSrc.srcset&&(t.srcset=this.normalisedSrc.srcset),t.src=this.normalisedSrc.src,this.$emit("loadstart",this.normalisedSrc.src),this.aspectRatio||this.pollForSize(t),this.getSrc()},pollForSize(t,e=100){const i=()=>{const{naturalHeight:s,naturalWidth:n}=t;s||n?(this.naturalWidth=n,this.calculatedAspectRatio=n/s):t.complete||!this.isLoading||this.hasError||null==e||setTimeout(i,e)};i()},genContent(){const t=ii.options.methods.genContent.call(this);return this.naturalWidth&&this._b(t.data,"div",{style:{width:`${this.naturalWidth}px`}}),t},__genPlaceholder(){if(this.$slots.placeholder){const t=this.isLoading?[this.$createElement("div",{staticClass:"v-image__placeholder"},this.$slots.placeholder)]:[];return this.transition?this.$createElement("transition",{props:{appear:!0,name:this.transition}},t):t[0]}}},render(t){const e=ii.options.render.call(this,t),i=ri(e.data,{staticClass:"v-image",attrs:{"aria-label":this.alt,role:this.alt?"img":void 0},class:this.themeClasses,directives:ci?[{name:"intersect",modifiers:{once:!0},value:{handler:this.init,options:this.options}}]:void 0});return e.children=[this.__cachedSizer,this.__cachedImage,this.__genPlaceholder(),this.genContent()],t(e.tag,i,e.children)}}),ui=Qe.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 t=this.computedContentHeight;if(!this.isExtended)return t;const e=parseInt(this.extensionHeight);return this.isCollapsed?t:t+(isNaN(e)?0:e)},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{...Qe.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:Et(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,e])=>{this.$attrs.hasOwnProperty(t)&&Ye(t,e,this)}))},methods:{genBackground(){const t={height:Et(this.computedHeight),src:this.src},e=this.$scopedSlots.img?this.$scopedSlots.img({props:t}):this.$createElement(di,{props:t});return this.$createElement("div",{staticClass:"v-toolbar__image"},[e])},genContent(){return this.$createElement("div",{staticClass:"v-toolbar__content",style:{height:Et(this.computedContentHeight)}},Rt(this))},genExtension(){return this.$createElement("div",{staticClass:"v-toolbar__extension",style:{height:Et(this.extensionHeight)}},Rt(this,"extension"))}},render(t){this.isExtended=this.extended||!!this.$scopedSlots.extension;const e=[this.genContent()],i=this.setBackgroundColor(this.color,{class:this.classes,style:this.styles,on:this.$listeners});return this.isExtended&&e.push(this.genExtension()),(this.src||this.$scopedSlots.img)&&e.unshift(this.genBackground()),t(this.tag,i,e)}});const pi={inserted:function(t,e,i){const{self:s=!1}=e.modifiers||{},n=e.value,a="object"==typeof n&&n.options||{passive:!0},r="function"==typeof n||"handleEvent"in n?n:n.handler,o=s?t:e.arg?document.querySelector(e.arg):window;o&&(o.addEventListener("scroll",r,a),t._onScroll=Object(t._onScroll),t._onScroll[i.context._uid]={handler:r,options:a,target:s?void 0:o})},unbind:function(t,e,i){var s;if(null==(s=t._onScroll)||!s[i.context._uid])return;const{handler:n,options:a,target:r=t}=t._onScroll[i.context._uid];r.removeEventListener("scroll",n,a),delete t._onScroll[i.context._uid]}},mi={absolute:Boolean,bottom:Boolean,fixed:Boolean,left:Boolean,right:Boolean,top:Boolean};function gi(t=[]){return e.default.extend({name:"positionable",props:t.length?At(mi,t):mi})}var vi=gi();function fi(t,e=[]){return rt(gi(["absolute","fixed"])).extend({name:"applicationable",props:{app:Boolean},computed:{applicationProperty:()=>t},watch:{app(t,e){e?this.removeApplication(!0):this.callUpdate()},applicationProperty(t,e){this.$vuetify.application.unregister(this._uid,e)}},activated(){this.callUpdate()},created(){for(let t=0,i=e.length;t<i;t++)this.$watch(e[t],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(t=!1){(t||this.app)&&this.$vuetify.application.unregister(this._uid,this.applicationProperty)},updateApplication:()=>0}})}function yi(t){if("function"!=typeof t.getRootNode){for(;t.parentNode;)t=t.parentNode;return t!==document?null:document}const e=t.getRootNode();return e!==document&&e.getRootNode({composed:!0})!==document?null:e}function bi(){return!0}function $i(t,e,i){if(!t||!1===xi(t,i))return!1;const s=yi(e);if("undefined"!=typeof ShadowRoot&&s instanceof ShadowRoot&&s.host===t.target)return!1;const n=("object"==typeof i.value&&i.value.include||(()=>[]))();return n.push(e),!n.some((e=>e.contains(t.target)))}function xi(t,e){return("object"==typeof e.value&&e.value.closeConditional||bi)(t)}function Si(t,e){const i=yi(t);e(document),"undefined"!=typeof ShadowRoot&&i instanceof ShadowRoot&&e(i)}const wi={inserted(t,e,i){const s=i=>function(t,e,i,s){const n="function"==typeof i.value?i.value:i.value.handler;e._clickOutside.lastMousedownWasOutside&&$i(t,e,i)&&setTimeout((()=>{xi(t,i)&&n&&n(t)}),0)}(i,t,e),n=i=>{t._clickOutside.lastMousedownWasOutside=$i(i,t,e)};Si(t,(t=>{t.addEventListener("click",s,!0),t.addEventListener("mousedown",n,!0)})),t._clickOutside||(t._clickOutside={lastMousedownWasOutside:!0}),t._clickOutside[i.context._uid]={onClick:s,onMousedown:n}},unbind(t,e,i){t._clickOutside&&(Si(t,(e=>{var s;if(!e||null==(s=t._clickOutside)||!s[i.context._uid])return;const{onClick:n,onMousedown:a}=t._clickOutside[i.context._uid];e.removeEventListener("click",n,!0),e.removeEventListener("mousedown",a,!0)})),delete t._clickOutside[i.context._uid])}};const Ci={inserted:function(t,e,i){const s=e.value,n=e.options||{passive:!0};window.addEventListener("resize",s,n),t._onResize=Object(t._onResize),t._onResize[i.context._uid]={callback:s,options:n},e.modifiers&&e.modifiers.quiet||s()},unbind:function(t,e,i){var s;if(null==(s=t._onResize)||!s[i.context._uid])return;const{callback:n,options:a}=t._onResize[i.context._uid];window.removeEventListener("resize",n,a),delete t._onResize[i.context._uid]}};function ki(t,e){t.style.transform=e,t.style.webkitTransform=e}function _i(t){return"TouchEvent"===t.constructor.name}function Ii(t){return"KeyboardEvent"===t.constructor.name}const Ti={show(t,e,i={}){if(!e._ripple||!e._ripple.enabled)return;const s=document.createElement("span"),n=document.createElement("span");s.appendChild(n),s.className="v-ripple__container",i.class&&(s.className+=` ${i.class}`);const{radius:a,scale:r,x:o,y:l,centerX:h,centerY:c}=((t,e,i={})=>{let s=0,n=0;if(!Ii(t)){const i=e.getBoundingClientRect(),a=_i(t)?t.touches[t.touches.length-1]:t;s=a.clientX-i.left,n=a.clientY-i.top}let a=0,r=.3;e._ripple&&e._ripple.circle?(r=.15,a=e.clientWidth/2,a=i.center?a:a+Math.sqrt((s-a)**2+(n-a)**2)/4):a=Math.sqrt(e.clientWidth**2+e.clientHeight**2)/2;const o=(e.clientWidth-2*a)/2+"px",l=(e.clientHeight-2*a)/2+"px";return{radius:a,scale:r,x:i.center?o:s-a+"px",y:i.center?l:n-a+"px",centerX:o,centerY:l}})(t,e,i),d=2*a+"px";n.className="v-ripple__animation",n.style.width=d,n.style.height=d,e.appendChild(s);const u=window.getComputedStyle(e);u&&"static"===u.position&&(e.style.position="relative",e.dataset.previousPosition="static"),n.classList.add("v-ripple__animation--enter"),n.classList.add("v-ripple__animation--visible"),ki(n,`translate(${o}, ${l}) scale3d(${r},${r},${r})`),n.dataset.activated=String(performance.now()),setTimeout((()=>{n.classList.remove("v-ripple__animation--enter"),n.classList.add("v-ripple__animation--in"),ki(n,`translate(${h}, ${c}) scale3d(1,1,1)`)}),0)},hide(t){if(!t||!t._ripple||!t._ripple.enabled)return;const e=t.getElementsByClassName("v-ripple__animation");if(0===e.length)return;const i=e[e.length-1];if(i.dataset.isHiding)return;i.dataset.isHiding="true";const s=performance.now()-Number(i.dataset.activated),n=Math.max(250-s,0);setTimeout((()=>{i.classList.remove("v-ripple__animation--in"),i.classList.add("v-ripple__animation--out"),setTimeout((()=>{1===t.getElementsByClassName("v-ripple__animation").length&&t.dataset.previousPosition&&(t.style.position=t.dataset.previousPosition,delete t.dataset.previousPosition),i.parentNode&&t.removeChild(i.parentNode)}),300)}),n)}};function Bi(t){return void 0===t||!!t}function Ai(t){const e={},i=t.currentTarget;if(i&&i._ripple&&!i._ripple.touched&&!t.rippleStop){if(t.rippleStop=!0,_i(t))i._ripple.touched=!0,i._ripple.isTouch=!0;else if(i._ripple.isTouch)return;if(e.center=i._ripple.centered||Ii(t),i._ripple.class&&(e.class=i._ripple.class),_i(t)){if(i._ripple.showTimerCommit)return;i._ripple.showTimerCommit=()=>{Ti.show(t,i,e)},i._ripple.showTimer=window.setTimeout((()=>{i&&i._ripple&&i._ripple.showTimerCommit&&(i._ripple.showTimerCommit(),i._ripple.showTimerCommit=null)}),80)}else Ti.show(t,i,e)}}function Ei(t){const e=t.currentTarget;if(e&&e._ripple){if(window.clearTimeout(e._ripple.showTimer),"touchend"===t.type&&e._ripple.showTimerCommit)return e._ripple.showTimerCommit(),e._ripple.showTimerCommit=null,void(e._ripple.showTimer=setTimeout((()=>{Ei(t)})));window.setTimeout((()=>{e._ripple&&(e._ripple.touched=!1)})),Ti.hide(e)}}function Di(t){const e=t.currentTarget;e&&e._ripple&&(e._ripple.showTimerCommit&&(e._ripple.showTimerCommit=null),window.clearTimeout(e._ripple.showTimer))}let Mi=!1;function Oi(t){Mi||t.keyCode!==Ot.enter&&t.keyCode!==Ot.space||(Mi=!0,Ai(t))}function Li(t){Mi=!1,Ei(t)}function Vi(t){!0===Mi&&(Mi=!1,Ei(t))}function Pi(t,e,i){const s=Bi(e.value);s||Ti.hide(t),t._ripple=t._ripple||{},t._ripple.enabled=s;const n=e.value||{};n.center&&(t._ripple.centered=!0),n.class&&(t._ripple.class=e.value.class),n.circle&&(t._ripple.circle=n.circle),s&&!i?(t.addEventListener("touchstart",Ai,{passive:!0}),t.addEventListener("touchend",Ei,{passive:!0}),t.addEventListener("touchmove",Di,{passive:!0}),t.addEventListener("touchcancel",Ei),t.addEventListener("mousedown",Ai),t.addEventListener("mouseup",Ei),t.addEventListener("mouseleave",Ei),t.addEventListener("keydown",Oi),t.addEventListener("keyup",Li),t.addEventListener("blur",Vi),t.addEventListener("dragstart",Ei,{passive:!0})):!s&&i&&Hi(t)}function Hi(t){t.removeEventListener("mousedown",Ai),t.removeEventListener("touchstart",Ai),t.removeEventListener("touchend",Ei),t.removeEventListener("touchmove",Di),t.removeEventListener("touchcancel",Ei),t.removeEventListener("mouseup",Ei),t.removeEventListener("mouseleave",Ei),t.removeEventListener("keydown",Oi),t.removeEventListener("keyup",Li),t.removeEventListener("dragstart",Ei),t.removeEventListener("blur",Vi)}const Fi={bind:function(t,e,i){Pi(t,e,!1)},unbind:function(t){delete t._ripple,Hi(t)},update:function(t,e){if(e.value===e.oldValue)return;Pi(t,e,Bi(e.oldValue))}};function Ni(t,e){const i=t.changedTouches[0];e.touchendX=i.clientX,e.touchendY=i.clientY,e.end&&e.end(Object.assign(t,e)),(t=>{const{touchstartX:e,touchendX:i,touchstartY:s,touchendY:n}=t;t.offsetX=i-e,t.offsetY=n-s,Math.abs(t.offsetY)<.5*Math.abs(t.offsetX)&&(t.left&&i<e-16&&t.left(t),t.right&&i>e+16&&t.right(t)),Math.abs(t.offsetX)<.5*Math.abs(t.offsetY)&&(t.up&&n<s-16&&t.up(t),t.down&&n>s+16&&t.down(t))})(e)}function zi(t){const e={touchstartX:0,touchstartY:0,touchendX:0,touchendY:0,touchmoveX:0,touchmoveY:0,offsetX:0,offsetY:0,left:t.left,right:t.right,up:t.up,down:t.down,start:t.start,move:t.move,end:t.end};return{touchstart:t=>function(t,e){const i=t.changedTouches[0];e.touchstartX=i.clientX,e.touchstartY=i.clientY,e.start&&e.start(Object.assign(t,e))}(t,e),touchend:t=>Ni(t,e),touchmove:t=>function(t,e){const i=t.changedTouches[0];e.touchmoveX=i.clientX,e.touchmoveY=i.clientY,e.move&&e.move(Object.assign(t,e))}(t,e)}}const Wi={inserted:function(t,e,i){const s=e.value,n=s.parent?t.parentElement:t,a=s.options||{passive:!0};if(!n)return;const r=zi(e.value);n._touchHandlers=Object(n._touchHandlers),n._touchHandlers[i.context._uid]=r,Lt(r).forEach((t=>{n.addEventListener(t,r[t],a)}))},unbind:function(t,e,i){const s=e.value.parent?t.parentElement:t;if(!s||!s._touchHandlers)return;const n=s._touchHandlers[i.context._uid];Lt(n).forEach((t=>{s.removeEventListener(t,n[t])})),delete s._touchHandlers[i.context._uid]}};var Ri=e.default.extend({name:"scrollable",directives:{Scroll:pi},props:{scrollTarget:String,scrollThreshold:[String,Number]},data:()=>({currentScroll:0,currentThreshold:0,isActive:!1,isScrollingUp:!1,previousScroll:0,savedScroll:0,target:null}),computed:{canScroll:()=>"undefined"!=typeof window,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||We(`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(){}}}),ji=e.default.extend({name:"ssr-bootable",data:()=>({isBooted:!1}),mounted(){window.requestAnimationFrame((()=>{this.$el.setAttribute("data-booted","true"),this.isBooted=!0}))}});function Yi(t="value",i="input"){return e.default.extend({name:"toggleable",model:{prop:t,event:i},props:{[t]:{required:!1}},data(){return{isActive:!!this[t]}},watch:{[t](t){this.isActive=!!t},isActive(e){!!e!==this[t]&&this.$emit(i,e)}}})}const Ui=Yi();rt(ui,Ri,ji,Ui,fi("top",["clippedLeft","clippedRight","computedHeight","invertedScroll","isExtended","isProminent","value"])).extend({name:"v-app-bar",directives:{Scroll:pi},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 Ri.options.computed.canScroll.call(this)&&(this.invertedScroll||this.elevateOnScroll||this.hideOnScroll||this.collapseOnScroll||this.isBooted||!this.value)},classes(){return{...ui.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 t=this.computedScrollThreshold;return Math.max((t-this.currentScroll)/t,0)},computedContentHeight(){if(!this.shrinkOnScroll)return ui.options.computed.computedContentHeight.call(this);const t=this.dense?48:56;return t+(this.computedOriginalHeight-t)*this.scrollRatio},computedFontSize(){if(!this.isProminent)return;return 1.25+.25*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 t=ui.options.computed.computedContentHeight.call(this);return this.isExtended&&(t+=parseInt(this.extensionHeight)),t},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&&0===this.currentScroll&&this.isActive)return 0;if(this.isActive)return 0;const t=this.scrollOffScreen?this.computedHeight:this.computedContentHeight;return this.bottom?t:-t},hideShadow(){return this.elevateOnScroll&&this.isExtended?this.currentScroll<this.computedScrollThreshold:this.elevateOnScroll?0===this.currentScroll||this.computedTransform<0:(!this.isExtended||this.scrollOffScreen)&&0!==this.computedTransform},isCollapsed(){return this.collapseOnScroll?this.currentScroll>0:ui.options.computed.isCollapsed.call(this)},isProminent(){return ui.options.computed.isProminent.call(this)||this.shrinkOnScroll},styles(){return{...ui.options.computed.styles.call(this),fontSize:Et(this.computedFontSize,"rem"),marginTop:Et(this.computedMarginTop),transform:`translateY(${Et(this.computedTransform)})`,left:Et(this.computedLeft),right:Et(this.computedRight)}}},watch:{canScroll:"onScroll",computedTransform(){this.canScroll&&(this.clippedLeft||this.clippedRight)&&this.callUpdate()},invertedScroll(t){this.isActive=!t||0!==this.currentScroll},hideOnScroll(t){this.isActive=!t||this.currentScroll<this.computedScrollThreshold}},created(){this.invertedScroll&&(this.isActive=!1)},methods:{genBackground(){const t=ui.options.methods.genBackground.call(this);return t.data=this._b(t.data||{},t.tag,{style:{opacity:this.computedOpacity}}),t},updateApplication(){return this.invertedScroll?0:this.computedHeight+this.computedTransform},thresholdMet(){this.invertedScroll?this.isActive=this.currentScroll>this.computedScrollThreshold:(this.hideOnScroll&&(this.isActive=this.isScrollingUp||this.currentScroll<this.computedScrollThreshold),this.currentThreshold<this.computedScrollThreshold||(this.savedScroll=this.currentScroll))}},render(t){const e=ui.options.render.call(this,t);return e.data=e.data||{},this.canScroll&&(e.data.directives=e.data.directives||[],e.data.directives.push({arg:this.scrollTarget,name:"scroll",value:this.onScroll})),e}});var Gi,Ki,Xi=e.default.extend({name:"sizeable",props:{large:Boolean,small:Boolean,xLarge:Boolean,xSmall:Boolean},computed:{medium(){return Boolean(!(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}}}});(Ki=Gi||(Gi={})).xSmall="12px",Ki.small="16px",Ki.default="24px",Ki.medium="28px",Ki.large="36px",Ki.xLarge="40px";const qi=rt(lt,Xe,Xi,nt).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:()=>!1,hasClickListener(){return Boolean(this.listeners$.click||this.listeners$["!click"])}},methods:{getIcon(){let t="";return this.$slots.default&&(t=this.$slots.default[0].text.trim()),function(t,e){const i=t.$vuetify.icons.component;if(e.startsWith("$")){const i=Ct(t,`$vuetify.icons.values.${e.split("$").pop().split(".").pop()}`,e);if("string"!=typeof i)return i;e=i}return null==i?e:{component:i,props:{icon:e}}}(this,t)},getSize(){const t={xSmall:this.xSmall,small:this.small,medium:this.medium,large:this.large,xLarge:this.xLarge},e=Lt(t).find((e=>t[e]));return e&&Gi[e]||Et(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 t=this.getSize(),e={...this.getDefaultData(),style:t?{fontSize:t,height:t,width:t}:void 0};return this.applyColors(e),e},applyColors(t){t.class={...t.class,...this.themeClasses},this.setTextColor(this.color,t)},renderFontIcon(t,e){const i=[],s=this.getDefaultData();let n="material-icons";const a=t.indexOf("-"),r=a<=-1;r?i.push(t):(n=t.slice(0,a),function(t){return["fas","far","fal","fab","fad","fak"].some((e=>t.includes(e)))}(n)&&(n="")),s.class[n]=!0,s.class[t]=!r;const o=this.getSize();return o&&(s.style={fontSize:o}),this.applyColors(s),e(this.hasClickListener?"button":this.tag,s,i)},renderSvgIcon(t,e){const i={class:"v-icon__svg",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",role:"img","aria-hidden":!0}},s=this.getSize();return s&&(i.style={fontSize:s,height:s,width:s}),e(this.hasClickListener?"button":"span",this.getSvgWrapperData(),[e("svg",i,[e("path",{attrs:{d:t}})])])},renderSvgIconComponent(t,e){const i={class:{"v-icon__component":!0}},s=this.getSize();s&&(i.style={fontSize:s,height:s,width:s}),this.applyColors(i);const n=t.component;return i.props=t.props,i.nativeOn=i.on,e(this.hasClickListener?"button":"span",this.getSvgWrapperData(),[e(n,i)])}},render(t){const e=this.getIcon();return"string"==typeof e?function(t){return/^[mzlhvcsqta]\s*[-+.0-9][^mlhvzcsqta]+/i.test(t)&&/[\dz]$/i.test(t)&&t.length>4}(e)?this.renderSvgIcon(e,t):this.renderFontIcon(e,t):this.renderSvgIconComponent(e,t)}});var Zi=e.default.extend({name:"v-icon",$_wrapperFor:qi,functional:!0,render(t,{data:e,children:i}){let s="";return e.domProps&&(s=e.domProps.textContent||e.domProps.innerHTML||s,delete e.domProps.textContent,delete e.domProps.innerHTML),t(qi,e,s?[s]:i)}}),Ji=Xe.extend({name:"v-progress-circular",directives:{intersect:ei},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(1e3*this.circumference)/1e3},strokeDashOffset(){return(100-this.normalizedValue)/100*this.circumference+"px"},strokeWidth(){return Number(this.width)/+this.size*this.viewBoxSize*2},styles(){return{height:Et(this.calculatedSize),width:Et(this.calculatedSize)}},svgStyles(){return{transform:`rotate(${Number(this.rotate)}deg)`}},viewBoxSize(){return this.radius/(1-Number(this.width)/+this.size)}},methods:{genCircle(t,e){return this.$createElement("circle",{class:`v-progress-circular__${t}`,attrs:{fill:"transparent",cx:2*this.viewBoxSize,cy:2*this.viewBoxSize,r:this.radius,"stroke-width":this.strokeWidth,"stroke-dasharray":this.strokeDashArray,"stroke-dashoffset":e}})},genSvg(){const t=[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}`}},t)},genInfo(){return this.$createElement("div",{staticClass:"v-progress-circular__info"},this.$slots.default)},onObserve(t,e,i){this.isVisible=i}},render(t){return t("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 Qi(t,e){return()=>We(`The ${t} component must be used inside a ${e}`)}function ts(t,i,s){const n=i&&s?{register:Qi(i,s),unregister:Qi(i,s)}:null;return e.default.extend({name:"registrable-inject",inject:{[t]:{default:n}}})}function es(t,i=!1){return e.default.extend({name:"registrable-provide",provide(){return{[t]:i?this:{register:this.register,unregister:this.unregister}}}})}function is(t,e,i){return ts(t,e,i).extend({name:"groupable",props:{activeClass:{type:String,default(){if(this[t])return this[t].activeClass}},disabled:Boolean},data:()=>({isActive:!1}),computed:{groupClasses(){return this.activeClass?{[this.activeClass]:this.isActive}:{}}},created(){this[t]&&this[t].register(this)},beforeDestroy(){this[t]&&this[t].unregister(this)},methods:{toggle(){this.$emit("change")}}})}is("itemGroup");var ss=e.default.extend({name:"routable",directives:{Ripple:Fi},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 t={};return this.to||(this.activeClass&&(t[this.activeClass]=this.isActive),this.proxyClass&&(t[this.proxyClass]=this.isActive)),t},computedRipple(){var t;return null!=(t=this.ripple)?t:!this.disabled&&this.isClickable},isClickable(){return!this.disabled&&Boolean(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 t,e=this.exact;const i={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(void 0===this.exact&&(e="/"===this.to||this.to===Object(this.to)&&"/"===this.to.path),this.to){let s=this.activeClass,n=this.exactActiveClass||s;this.proxyClass&&(s=`${s} ${this.proxyClass}`.trim(),n=`${n} ${this.proxyClass}`.trim()),t=this.nuxt?"nuxt-link":"router-link",Object.assign(i.props,{to:this.to,exact:e,exactPath:this.exactPath,activeClass:s,exactActiveClass:n,append:this.append,replace:this.replace})}else t=(this.href?"a":this.tag)||"div","a"===t&&this.href&&(i.attrs.href=this.href);return this.target&&(i.attrs.target=this.target),{tag:t,data:i}},onRouteChange(){if(!this.to||!this.$refs.link||!this.$route)return;const t=`${this.activeClass||""} ${this.proxyClass||""}`.trim(),e=`${this.exactActiveClass||""} ${this.proxyClass||""}`.trim()||t,i="_vnode.data.class."+(this.exact?e:t);this.$nextTick((()=>{!Ct(this.$refs.link,i)===this.isActive&&this.toggle()}))},toggle(){this.isActive=!this.isActive}}});var ns=rt(Qe,ss,vi,Xi,is("btnToggle"),Yi("inputValue")).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,...ss.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 qe.options.computed.computedElevation.call(this)},computedRipple(){var t;const e=!this.icon&&!this.fab||{circle:!0};return!this.disabled&&(null!=(t=this.ripple)?t:e)},hasBg(){return!(this.text||this.plain||this.outlined||this.icon)},isElevated(){return Boolean(!(this.icon||this.text||this.outlined||this.depressed||this.disabled||this.plain||!(null==this.elevation||Number(this.elevation)>0)))},isRound(){return Boolean(this.icon||this.fab)},styles(){return{...this.measurableStyles}}},created(){[["flat","text"],["outline","outlined"],["round","rounded"]].forEach((([t,e])=>{this.$attrs.hasOwnProperty(t)&&Ye(t,e,this)}))},methods:{click(t){!this.retainFocusOnClick&&!this.fab&&t.detail&&this.$el.blur(),this.$emit("click",t),this.btnToggle&&this.toggle()},genContent(){return this.$createElement("span",{staticClass:"v-btn__content"},this.$slots.default)},genLoader(){return this.$createElement("span",{class:"v-btn__loader"},this.$slots.loader||[this.$createElement(Ji,{props:{indeterminate:!0,size:23,width:2}})])}},render(t){const e=[this.genContent(),this.loading&&this.genLoader()],{tag:i,data:s}=this.generateRouteLink(),n=this.hasBg?this.setBackgroundColor:this.setTextColor;return"button"===i&&(s.attrs.type=this.type,s.attrs.disabled=this.disabled),s.attrs.value=["string","number"].includes(typeof this.value)?this.value:JSON.stringify(this.value),t(i,this.disabled?s:n(this.color,s),e)}});e.default.extend({name:"v-app-bar-nav-icon",functional:!0,render(t,{slots:e,listeners:i,props:s,data:n}){const a=Object.assign(n,{staticClass:`v-app-bar__nav-icon ${n.staticClass||""}`.trim(),props:{...s,icon:!0},on:i}),r=e().default;return t(ns,a,r||[t(Zi,"$menu")])}});ts("VAppBar","v-app-bar-title","v-app-bar").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 t=this.width;return{width:Et(t+(this.contentWidth-t)*ut(Math.min(1,1.5*this.VAppBar.scrollRatio))),visibility:this.VAppBar.scrollRatio?"visible":"hidden"}}},mounted(){this.updateDimensions()},methods:{updateDimensions(){const t=this.$refs.placeholder.getBoundingClientRect();this.width=t.width,this.left=t.left,this.contentWidth=this.$refs.content.scrollWidth}},render(t){return t("div",{class:"v-toolbar__title v-app-bar-title"},[t("div",{class:"v-app-bar-title__content",style:this.styles,ref:"content"},[this.$slots.default]),t("div",{class:"v-app-bar-title__placeholder",style:{visibility:this.VAppBar.scrollRatio?"hidden":"visible"},ref:"placeholder"},[this.$slots.default])])}});var as=e.default.extend({name:"transitionable",props:{mode:String,origin:String,transition:String}});rt(Qe,Ui,as).extend({name:"v-alert",props:{border:{type:String,validator:t=>["top","right","bottom","left"].includes(t)},closeLabel:{type:String,default:"$vuetify.close"},coloredBorder:Boolean,dense:Boolean,dismissible:Boolean,closeIcon:{type:String,default:"$cancel"},icon:{default:"",type:[Boolean,String],validator:t=>"string"==typeof t||!1===t},outlined:Boolean,prominent:Boolean,text:Boolean,type:{type:String,validator:t=>["info","error","success","warning"].includes(t)},value:{type:Boolean,default:!0}},computed:{__cachedBorder(){if(!this.border)return null;let t={staticClass:"v-alert__border",class:{[`v-alert__border--${this.border}`]:!0}};return this.coloredBorder&&(t=this.setBackgroundColor(this.computedColor,t),t.class["v-alert__border--has-color"]=!0),this.$createElement("div",t)},__cachedDismissible(){if(!this.dismissible)return null;const t=this.iconColor;return this.$createElement(ns,{staticClass:"v-alert__dismissible",props:{color:t,icon:!0,small:!0},attrs:{"aria-label":this.$vuetify.lang.t(this.closeLabel)},on:{click:()=>this.isActive=!1}},[this.$createElement(Zi,{props:{color:t}},this.closeIcon)])},__cachedIcon(){return this.computedIcon?this.$createElement(Zi,{staticClass:"v-alert__icon",props:{color:this.iconColor}},this.computedIcon):null},classes(){const t={...Qe.options.computed.classes.call(this),"v-alert--border":Boolean(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&&(t[`v-alert--border-${this.border}`]=!0),t},computedColor(){return this.color||this.type},computedIcon(){return!1!==this.icon&&("string"==typeof this.icon&&this.icon?this.icon:!!["error","info","success","warning"].includes(this.type)&&`$${this.type}`)},hasColoredIcon(){return this.hasText||Boolean(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)||nt.options.computed.isDark.call(this)}},created(){this.$attrs.hasOwnProperty("outline")&&Ye("outline","outlined",this)},methods:{genWrapper(){const t=[this.$slots.prepend||this.__cachedIcon,this.genContent(),this.__cachedBorder,this.$slots.append,this.$scopedSlots.close?this.$scopedSlots.close({toggle:this.toggle}):this.__cachedDismissible];return this.$createElement("div",{staticClass:"v-alert__wrapper"},t)},genContent(){return this.$createElement("div",{staticClass:"v-alert__content"},this.$slots.default)},genAlert(){let t={staticClass:"v-alert",attrs:{role:"alert"},on:this.listeners$,class:this.classes,style:this.styles,directives:[{name:"show",value:this.isActive}]};if(!this.coloredBorder){t=(this.hasText?this.setTextColor:this.setBackgroundColor)(this.computedColor,t)}return this.$createElement("div",t,[this.genWrapper()])},toggle(){this.isActive=!this.isActive}},render(t){const e=this.genAlert();return this.transition?t("transition",{props:{name:this.transition,origin:this.origin,mode:this.mode}},[e]):e}});function rs(t=[],...e){return Array().concat(t,...e)}function os(t,e="top center 0",i){return{name:t,functional:!0,props:{group:{type:Boolean,default:!1},hideOnLeave:{type:Boolean,default:!1},leaveAbsolute:{type:Boolean,default:!1},mode:{type:String,default:i},origin:{type:String,default:e}},render(e,i){const s="transition"+(i.props.group?"-group":""),n={props:{name:t,mode:i.props.mode},on:{beforeEnter(t){t.style.transformOrigin=i.props.origin,t.style.webkitTransformOrigin=i.props.origin}}};return i.props.leaveAbsolute&&(n.on.leave=rs(n.on.leave,(t=>{const{offsetTop:e,offsetLeft:i,offsetWidth:s,offsetHeight:n}=t;t._transitionInitialStyles={position:t.style.position,top:t.style.top,left:t.style.left,width:t.style.width,height:t.style.height},t.style.position="absolute",t.style.top=e+"px",t.style.left=i+"px",t.style.width=s+"px",t.style.height=n+"px"})),n.on.afterLeave=rs(n.on.afterLeave,(t=>{if(t&&t._transitionInitialStyles){const{position:e,top:i,left:s,width:n,height:a}=t._transitionInitialStyles;delete t._transitionInitialStyles,t.style.position=e||"",t.style.top=i||"",t.style.left=s||"",t.style.width=n||"",t.style.height=a||""}}))),i.props.hideOnLeave&&(n.on.leave=rs(n.on.leave,(t=>{t.style.setProperty("display","none","important")}))),e(s,ri(i.data,n),i.children)}}}function ls(t,e,i="in-out"){return{name:t,functional:!0,props:{mode:{type:String,default:i}},render:(i,s)=>i("transition",ri(s.data,{props:{name:t},on:e}),s.children)}}function hs(t="",e=!1){const i=e?"width":"height",s=`offset${Ht(i)}`;return{beforeEnter(t){t._parent=t.parentNode,t._initialStyle={transition:t.style.transition,overflow:t.style.overflow,[i]:t.style[i]}},enter(e){const n=e._initialStyle;e.style.setProperty("transition","none","important"),e.style.overflow="hidden";const a=`${e[s]}px`;e.style[i]="0",e.offsetHeight,e.style.transition=n.transition,t&&e._parent&&e._parent.classList.add(t),requestAnimationFrame((()=>{e.style[i]=a}))},afterEnter:a,enterCancelled:a,leave(t){t._initialStyle={transition:"",overflow:t.style.overflow,[i]:t.style[i]},t.style.overflow="hidden",t.style[i]=`${t[s]}px`,t.offsetHeight,requestAnimationFrame((()=>t.style[i]="0"))},afterLeave:n,leaveCancelled:n};function n(e){t&&e._parent&&e._parent.classList.remove(t),a(e)}function a(t){const e=t._initialStyle[i];t.style.overflow=t._initialStyle.overflow,null!=e&&(t.style[i]=e),delete t._initialStyle}}const cs=os("tab-transition"),ds=os("tab-reverse-transition"),us=os("fab-transition","center center","out-in"),ps=os("fade-transition"),ms=os("scale-transition"),gs=os("slide-x-transition"),vs=ls("expand-transition",hs()),fs=ls("expand-x-transition",hs("",!0));var ys=rt(Xe,Xi,ss,nt,is("chipGroup"),Yi("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,...ss.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 Boolean(this.close)},isClickable(){return Boolean(ss.options.computed.isClickable.call(this)||this.chipGroup)}},created(){[["outline","outlined"],["selected","input-value"],["value","active"],["@input","@active.sync"]].forEach((([t,e])=>{this.$attrs.hasOwnProperty(t)&&Ye(t,e,this)}))},methods:{click(t){this.$emit("click",t),this.chipGroup&&this.toggle()},genFilter(){const t=[];return this.isActive&&t.push(this.$createElement(Zi,{staticClass:"v-chip__filter",props:{left:!0}},this.filterIcon)),this.$createElement(fs,t)},genClose(){return this.$createElement(Zi,{staticClass:"v-chip__close",props:{right:!0,size:18},attrs:{"aria-label":this.$vuetify.lang.t(this.closeLabel)},on:{click:t=>{t.stopPropagation(),t.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(),this.$slots.default,this.hasClose&&this.genClose()])}},render(t){const e=[this.genContent()];let{tag:i,data:s}=this.generateRouteLink();s.attrs={...s.attrs,draggable:this.draggable?"true":void 0,tabindex:this.chipGroup&&!this.disabled?0:s.attrs.tabindex},s.directives.push({name:"show",value:this.active}),s=this.setBackgroundColor(this.color,s);const n=this.textColor||this.outlined&&this.color;return t(i,this.setTextColor(n,s),e)}}),bs=nt.extend({name:"v-theme-provider",props:{root:Boolean},computed:{isDark(){return this.root?this.rootIsDark:nt.options.computed.isDark.call(this)}},render(){return this.$slots.default&&this.$slots.default.find((t=>!t.isComment&&" "!==t.text))}}),$s=e.default.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(t,e){this.clearDelay();const i=parseInt(this[`${t}Delay`],10);this[`${t}Timeout`]=setTimeout(e||(()=>{this.isActive={open:!0,close:!1}[t]}),i)}}});var xs=rt($s,Ui).extend({name:"activatable",props:{activator:{default:null,validator:t=>["string","object"].includes(typeof t)},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 t=zt(this,"activator",!0);t&&["v-slot","normal"].includes(t)&&Re('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 t=Object.keys(this.listeners);for(const e of t)this.getActivator().addEventListener(e,this.listeners[e])},genActivator(){const t=Rt(this,"activator",Object.assign(this.getValueProxy(),{on:this.genActivatorListeners(),attrs:this.genActivatorAttributes()}))||[];return this.activatorNode=t,t},genActivatorAttributes(){return{role:this.openOnClick&&!this.openOnHover?"button":void 0,"aria-haspopup":!0,"aria-expanded":String(this.isActive)}},genActivatorListeners(){if(this.disabled)return{};const t={};return this.openOnHover?(t.mouseenter=t=>{this.getActivator(t),this.runDelay("open")},t.mouseleave=t=>{this.getActivator(t),this.runDelay("close")}):this.openOnClick&&(t.click=t=>{const e=this.getActivator(t);e&&e.focus(),t.stopPropagation(),this.isActive=!this.isActive}),this.openOnFocus&&(t.focus=t=>{this.getActivator(t),t.stopPropagation(),this.isActive=!this.isActive}),t},getActivator(t){var e;if(this.activatorElement)return this.activatorElement;let i=null;if(this.activator){const t=this.internalActivator?this.$el:document;i="string"==typeof this.activator?t.querySelector(this.activator):this.activator.$el?this.activator.$el:this.activator}else if(1===this.activatorNode.length||this.activatorNode.length&&!t){const t=this.activatorNode[0].componentInstance;i=t&&t.$options.mixins&&t.$options.mixins.some((t=>t.options&&["activatable","menuable"].includes(t.options.name)))?t.getActivator():this.activatorNode[0].elm}else t&&(i=t.currentTarget||t.target);return this.activatorElement=(null==(e=i)?void 0:e.nodeType)===Node.ELEMENT_NODE?i:null,this.activatorElement},getContentSlot(){return Rt(this,"default",this.getValueProxy(),!0)},getValueProxy(){const t=this;return{get value(){return t.isActive},set value(e){t.isActive=e}}},removeActivatorEvents(){if(!this.activator||!this.activatorElement)return;const t=Object.keys(this.listeners);for(const e of t)this.activatorElement.removeEventListener(e,this.listeners[e]);this.listeners={}},resetActivator(){this.removeActivatorEvents(),this.activatorElement=null,this.getActivator(),this.addActivatorEvents()}}});function Ss(t){const e=[];for(let i=0;i<t.length;i++){const s=t[i];s.isActive&&s.isDependent?e.push(s):e.push(...Ss(s.$children))}return e}var ws=rt().extend({name:"dependent",data:()=>({closeDependents:!0,isActive:!1,isDependent:!0}),watch:{isActive(t){if(t)return;const e=this.getOpenDependents();for(let i=0;i<e.length;i++)e[i].isActive=!1}},methods:{getOpenDependents(){return this.closeDependents?Ss(this.$children):[]},getOpenDependentElements(){const t=[],e=this.getOpenDependents();for(let i=0;i<e.length;i++)t.push(...e[i].getClickableDependentElements());return t},getClickableDependentElements(){const t=[this.$el];return this.$refs.content&&t.push(this.$refs.content),this.overlay&&t.push(this.overlay.$el),t.push(...this.getOpenDependentElements()),t}}}),Cs=e.default.extend().extend({name:"stackable",data:()=>({stackElement:null,stackExclude:null,stackMinZIndex:0,isActive:!1}),computed:{activeZIndex(){if("undefined"==typeof window)return 0;const t=this.stackElement||this.$refs.content,e=this.isActive?this.getMaxZIndex(this.stackExclude||[t])+2:It(t);return null==e?e:parseInt(e)}},methods:{getMaxZIndex(t=[]){const e=this.$el,i=[this.stackMinZIndex,It(e)],s=[...document.getElementsByClassName("v-menu__content--active"),...document.getElementsByClassName("v-dialog__content--active")];for(let n=0;n<s.length;n++)t.includes(s[n])||i.push(It(s[n]));return Math.max(...i)}}}),ks=e.default.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&&Ue("lazy",this)},methods:{showLazyContent(t){return this.hasContent&&t?t():[this.$createElement()]}}});function _s(t){t.forEach((t=>{t.elm&&t.elm.parentNode&&t.elm.parentNode.removeChild(t.elm)}))}var Is=rt(ks).extend({name:"detachable",props:{attach:{default:!1,validator:function(t){const e=typeof t;return"boolean"===e||"string"===e||t.nodeType===Node.ELEMENT_NODE}},contentClass:{type:String,default:""}},data:()=>({activatorNode:null,hasDetached:!1}),watch:{attach(){this.hasDetached=!1,this.initDetach()},hasContent(){this.$nextTick(this.initDetach)}},beforeMount(){this.$nextTick((()=>{if(this.activatorNode){(Array.isArray(this.activatorNode)?this.activatorNode:[this.activatorNode]).forEach((t=>{if(!t.elm)return;if(!this.$el.parentNode)return;const e=this.$el===this.$el.parentNode.firstChild?this.$el:this.$el.nextSibling;this.$el.parentNode.insertBefore(t.elm,e)}))}}))},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 t=Array.isArray(this.activatorNode)?this.activatorNode:[this.activatorNode];if(this.$el.isConnected){const e=new MutationObserver((i=>{i.some((t=>Array.from(t.removedNodes).includes(this.$el)))&&(e.disconnect(),_s(t))}));e.observe(this.$el.parentNode,{subtree:!1,childList:!0})}else _s(t)}},methods:{getScopeIdAttrs(){const t=Ct(this.$vnode,"context.$options._scopeId");return t&&{[t]:""}},initDetach(){if(this._isDestroyed||!this.$refs.content||this.hasDetached||""===this.attach||!0===this.attach||"attach"===this.attach)return;let t;t=!1===this.attach?document.querySelector("[data-app]"):"string"==typeof this.attach?document.querySelector(this.attach):this.attach,t?(t.appendChild(this.$refs.content),this.hasDetached=!0):We(`Unable to locate target ${this.attach||"[data-app]"}`,this)}}});var Ts=rt(Cs,gi(["top","right","bottom","left","absolute"]),xs,Is).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 t=this.dimensions.activator,e=this.dimensions.content,i=(!1!==this.attach?t.offsetLeft:t.left)||0,s=Math.max(t.width,e.width);let n=0;if(n+=i,(this.left||this.$vuetify.rtl&&!this.right)&&(n-=s-t.width),this.offsetX){const e=isNaN(Number(this.maxWidth))?t.width:Math.min(t.width,Number(this.maxWidth));n+=this.left?-e:t.width}return this.nudgeLeft&&(n-=parseInt(this.nudgeLeft)),this.nudgeRight&&(n+=parseInt(this.nudgeRight)),n},computedTop(){const t=this.dimensions.activator,e=this.dimensions.content;let i=0;return this.top&&(i+=t.height-e.height),!1!==this.attach?i+=t.offsetTop:i+=t.top+this.pageYOffset,this.offsetY&&(i+=this.top?-t.height:t.height),this.nudgeTop&&(i-=parseInt(this.nudgeTop)),this.nudgeBottom&&(i+=parseInt(this.nudgeBottom)),i},hasActivator(){return!!(this.$slots.activator||this.$scopedSlots.activator||this.activator||this.inputActivator)},absoluteYOffset(){return this.pageYOffset-this.relativeYOffset}},watch:{disabled(t){t&&this.callDeactivate()},isActive(t){this.disabled||(t?this.callActivate():this.callDeactivate())},positionX:"updateDimensions",positionY:"updateDimensions"},beforeMount(){this.hasWindow="undefined"!=typeof window,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(t){return Et(!1!==this.attach?this.computedLeft:this.calcXOverflow(this.computedLeft,t))},calcTop(){return Et(!1!==this.attach?this.computedTop:this.calcYOverflow(this.computedTop))},calcXOverflow(t,e){const i=t+e-this.pageWidth+12;return(t=(!this.left||this.right)&&i>0?Math.max(t-i,0):Math.max(t,12))+this.getOffsetLeft()},calcYOverflow(t){const e=this.getInnerHeight(),i=this.absoluteYOffset+e,s=this.dimensions.activator,n=this.dimensions.content.height,a=i<t+n;return a&&this.offsetOverflow&&s.top>n?t=this.pageYOffset+(s.top-n):a&&!this.allowOverflow?t=i-n-12:t<this.absoluteYOffset&&!this.allowOverflow&&(t=this.absoluteYOffset+12),t<12?12:t},callActivate(){this.hasWindow&&this.activate()},callDeactivate(){this.isContentActive=!1,this.deactivate()},checkForPageYOffset(){this.hasWindow&&(this.pageYOffset=this.activatorFixed?0:this.getOffsetTop())},checkActivatorFixed(){if(!1!==this.attach)return;let t=this.getActivator();for(;t;){if("fixed"===window.getComputedStyle(t).position)return void(this.activatorFixed=!0);t=t.offsetParent}this.activatorFixed=!1},deactivate(){},genActivatorListeners(){const t=xs.options.methods.genActivatorListeners.call(this),e=t.click;return e&&(t.click=t=>{this.openOnClick&&e&&e(t),this.absoluteX=t.clientX,this.absoluteY=t.clientY}),t},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(t){const e=t.getBoundingClientRect();return{top:Math.round(e.top),left:Math.round(e.left),bottom:Math.round(e.bottom),right:Math.round(e.right),width:Math.round(e.width),height:Math.round(e.height)}},measure(t){if(!t||!this.hasWindow)return null;const e=this.getRoundedBoundedClientRect(t);if(!1!==this.attach){const i=window.getComputedStyle(t);e.left=parseInt(i.marginLeft),e.top=parseInt(i.marginTop)}return e},sneakPeek(t){requestAnimationFrame((()=>{const e=this.$refs.content;e&&"none"===e.style.display?(e.style.display="inline-block",t(),e.style.display="none"):t()}))},startTransition(){return new Promise((t=>requestAnimationFrame((()=>{this.isContentActive=this.hasJustFocused=this.isActive,t()}))))},updateDimensions(){this.hasWindow="undefined"!=typeof window,this.checkActivatorFixed(),this.checkForPageYOffset(),this.pageWidth=document.documentElement.clientWidth;const t={activator:{...this.dimensions.activator},content:{...this.dimensions.content}};if(!this.hasActivator||this.absolute)t.activator=this.absolutePosition();else{const e=this.getActivator();if(!e)return;t.activator=this.measure(e),t.activator.offsetLeft=e.offsetLeft,!1!==this.attach?t.activator.offsetTop=e.offsetTop:t.activator.offsetTop=0}this.sneakPeek((()=>{if(this.$refs.content){if(this.$refs.content.offsetParent){const e=this.getRoundedBoundedClientRect(this.$refs.content.offsetParent);this.relativeYOffset=window.pageYOffset+e.top,t.activator.top-=this.relativeYOffset,t.activator.left-=window.pageXOffset+e.left}t.content=this.measure(this.$refs.content)}this.dimensions=t}))}}}),Bs=e.default.extend({name:"returnable",props:{returnValue:null},data:()=>({isActive:!1,originalValue:null}),watch:{isActive(t){t?this.originalValue=this.returnValue:this.$emit("update:return-value",this.originalValue)}},methods:{save(t){this.originalValue=t,setTimeout((()=>{this.isActive=!1}))}}});var As=rt(ws,$s,Bs,Je,nt,Ts).extend({name:"v-menu",directives:{ClickOutside:wi,Resize:Ci},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"}},data:()=>({calculatedTopAuto:0,defaultOffset:8,hasJustFocused:!1,listIndex:-1,resizeTimeout:0,selectedIndex:null,tiles:[]}),computed:{activeTile(){return this.tiles[this.listIndex]},calculatedLeft(){const t=Math.max(this.dimensions.content.width,parseFloat(this.calculatedMinWidth));return this.auto?Et(this.calcXOverflow(this.calcLeftAuto(),t))||"0":this.calcLeft(t)||"0"},calculatedMaxHeight(){return(this.auto?"200px":Et(this.maxHeight))||"0"},calculatedMaxWidth(){return Et(this.maxWidth)||"0"},calculatedMinWidth(){if(this.minWidth)return Et(this.minWidth)||"0";const t=Math.min(this.dimensions.activator.width+Number(this.nudgeWidth)+(this.auto?16:0),Math.max(this.pageWidth-24,0)),e=isNaN(parseInt(this.calculatedMaxWidth))?t:parseInt(this.calculatedMaxWidth);return Et(Math.min(e,t))||"0"},calculatedTop(){return(this.auto?Et(this.calcYOverflow(this.calculatedTopAuto)):this.calcTop())||"0"},hasClickableTiles(){return Boolean(this.tiles.find((t=>t.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(t){t||(this.listIndex=-1)},isContentActive(t){this.hasJustFocused=t},listIndex(t,e){if(t in this.tiles){const e=this.tiles[t];e.classList.add("v-list-item--highlighted");const i=this.$refs.content.scrollTop,s=this.$refs.content.clientHeight;i>e.offsetTop-8?ft(e.offsetTop-e.clientHeight,{appOffset:!1,duration:300,container:this.$refs.content}):i+s<e.offsetTop+e.clientHeight+8&&ft(e.offsetTop-s+2*e.clientHeight,{appOffset:!1,duration:300,container:this.$refs.content})}e in this.tiles&&this.tiles[e].classList.remove("v-list-item--highlighted")}},created(){this.$attrs.hasOwnProperty("full-width")&&Ue("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 t=this.$refs.content,e=t.querySelector(".v-list-item--active"),i=t.scrollHeight-t.offsetHeight;return e?Math.min(i,Math.max(0,e.offsetTop-t.offsetHeight/2+e.offsetHeight/2)):t.scrollTop},calcLeftAuto(){return parseInt(this.dimensions.activator.left-2*this.defaultOffset)},calcTopAuto(){const t=this.$refs.content,e=t.querySelector(".v-list-item--active");if(e||(this.selectedIndex=null),this.offsetY||!e)return this.computedTop;this.selectedIndex=Array.from(this.tiles).indexOf(e);const i=e.offsetTop-this.calcScrollPosition(),s=t.querySelector(".v-list-item").offsetTop;return this.computedTop-i-s-1},changeListIndex(t){if(this.getTiles(),this.isActive&&this.hasClickableTiles)if(t.keyCode!==Ot.tab){if(t.keyCode===Ot.down)this.nextTile();else if(t.keyCode===Ot.up)this.prevTile();else if(t.keyCode===Ot.end)this.lastTile();else if(t.keyCode===Ot.home)this.firstTile();else{if(t.keyCode!==Ot.enter||-1===this.listIndex)return;this.tiles[this.listIndex].click()}t.preventDefault()}else this.isActive=!1},closeConditional(t){const e=t.target;return this.isActive&&!this._isDestroyed&&this.closeOnClick&&!this.$refs.content.contains(e)},genActivatorAttributes(){const t=xs.options.methods.genActivatorAttributes.call(this);return this.activeTile&&this.activeTile.id?{...t,"aria-activedescendant":this.activeTile.id}:t},genActivatorListeners(){const t=Ts.options.methods.genActivatorListeners.call(this);return this.disableKeys||(t.keydown=this.onKeyDown),t},genTransition(){const t=this.genContent();return this.transition?this.$createElement("transition",{props:{name:this.transition}},[t]):t},genDirectives(){const t=[{name:"show",value:this.isContentActive}];return!this.openOnHover&&this.closeOnClick&&t.push({name:"click-outside",value:{handler:()=>{this.isActive=!1},closeConditional:this.closeConditional,include:()=>[this.$el,...this.getOpenDependentElements()]}}),t},genContent(){const t={attrs:{...this.getScopeIdAttrs(),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&&(t.on=t.on||{},t.on.scroll=this.$listeners.scroll),!this.disabled&&this.openOnHover&&(t.on=t.on||{},t.on.mouseenter=this.mouseEnterHandler),this.openOnHover&&(t.on=t.on||{},t.on.mouseleave=this.mouseLeaveHandler),this.$createElement("div",t,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(t){this.runDelay("close",(()=>{var e;null!=(e=this.$refs.content)&&e.contains(t.relatedTarget)||requestAnimationFrame((()=>{this.isActive=!1,this.callDeactivate()}))}))},nextTile(){const t=this.tiles[this.listIndex+1];if(!t){if(!this.tiles.length)return;return this.listIndex=-1,void this.nextTile()}this.listIndex++,-1===t.tabIndex&&this.nextTile()},prevTile(){const t=this.tiles[this.listIndex-1];if(!t){if(!this.tiles.length)return;return this.listIndex=this.tiles.length,void this.prevTile()}this.listIndex--,-1===t.tabIndex&&this.prevTile()},lastTile(){const t=this.tiles[this.tiles.length-1];t&&(this.listIndex=this.tiles.length-1,-1===t.tabIndex&&this.prevTile())},firstTile(){const t=this.tiles[0];t&&(this.listIndex=0,-1===t.tabIndex&&this.nextTile())},onKeyDown(t){if(t.keyCode===Ot.esc){setTimeout((()=>{this.isActive=!1}));const t=this.getActivator();this.$nextTick((()=>t&&t.focus()))}else!this.isActive&&[Ot.up,Ot.down].includes(t.keyCode)&&(this.isActive=!0);this.$nextTick((()=>this.changeListIndex(t)))},onResize(){this.isActive&&(this.$refs.content.offsetWidth,this.updateDimensions(),clearTimeout(this.resizeTimeout),this.resizeTimeout=window.setTimeout(this.updateDimensions,100))}},render(t){return t("div",{staticClass:"v-menu",class:{"v-menu--attached":""===this.attach||!0===this.attach||"attach"===this.attach},directives:[{arg:"500",name:"resize",value:this.onResize}]},[!this.activator&&this.genActivator(),this.showLazyContent((()=>[this.$createElement(bs,{props:{root:!0,light:this.light,dark:this.dark}},[this.genTransition()])]))])}}),Es=e.default.extend({name:"v-simple-checkbox",functional:!0,directives:{ripple:Fi},props:{...Xe.options.props,...nt.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(t,{props:e,data:i,listeners:s}){const n=[];let a=e.offIcon;if(e.indeterminate?a=e.indeterminateIcon:e.value&&(a=e.onIcon),n.push(t(Zi,Xe.options.methods.setTextColor(e.value&&e.color,{props:{disabled:e.disabled,dark:e.dark,light:e.light}}),a)),e.ripple&&!e.disabled){const i=t("div",Xe.options.methods.setTextColor(e.color,{staticClass:"v-input--selection-controls__ripple",directives:[{name:"ripple",value:{center:!0}}]}));n.push(i)}return t("div",ri(i,{class:{"v-simple-checkbox":!0,"v-simple-checkbox--disabled":e.disabled},on:{click:t=>{t.stopPropagation(),i.on&&i.on.input&&!e.disabled&&Ft(i.on.input).forEach((t=>t(!e.value)))}}}),[t("div",{staticClass:"v-input--selection-controls__input"},n)])}}),Ds=nt.extend({name:"v-divider",props:{inset:Boolean,vertical:Boolean},render(t){let e;return this.$attrs.role&&"separator"!==this.$attrs.role||(e=this.vertical?"vertical":"horizontal"),t("hr",{class:{"v-divider":!0,"v-divider--inset":this.inset,"v-divider--vertical":this.vertical,...this.themeClasses},attrs:{role:"separator","aria-orientation":e,...this.$attrs},on:this.$listeners})}}),Ms=rt(nt).extend({name:"v-subheader",props:{inset:Boolean},render(t){return t("div",{staticClass:"v-subheader",class:{"v-subheader--inset":this.inset,...this.themeClasses},attrs:this.$attrs,on:this.$listeners},this.$slots.default)}}),Os=Qe.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{...Qe.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(t){this.groups.push(t)},unregister(t){const e=this.groups.findIndex((e=>e._uid===t._uid));e>-1&&this.groups.splice(e,1)},listClick(t){if(!this.expand)for(const e of this.groups)e.toggle(t)}},render(t){const e={staticClass:"v-list",class:this.classes,style:this.styles,attrs:{role:this.isInNav||this.isInMenu?void 0:"list",...this.attrs$}};return t(this.tag,this.setBackgroundColor(this.color,e),[this.$slots.default])}});var Ls=rt(Xe,ss,nt,is("listItemGroup"),Yi("inputValue")).extend().extend({name:"v-list-item",directives:{Ripple:Fi},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,...ss.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 Boolean(ss.options.computed.isClickable.call(this)||this.listItemGroup)}},created(){this.$attrs.hasOwnProperty("avatar")&&Ue("avatar",this)},methods:{click(t){t.detail&&this.$el.blur(),this.$emit("click",t),this.to||this.toggle()},genAttrs(){const t={"aria-disabled":!!this.disabled||void 0,tabindex:this.isClickable&&!this.disabled?0:-1,...this.$attrs};return this.$attrs.hasOwnProperty("role")||this.isInNav||(this.isInGroup?(t.role="option",t["aria-selected"]=String(this.isActive)):this.isInMenu?(t.role=this.isClickable?"menuitem":void 0,t.id=t.id||`list-item-${this._uid}`):this.isInList&&(t.role="listitem")),t},toggle(){this.to&&void 0===this.inputValue&&(this.isActive=!this.isActive),this.$emit("change")}},render(t){let{tag:e,data:i}=this.generateRouteLink();i.attrs={...i.attrs,...this.genAttrs()},i[this.to?"nativeOn":"on"]={...i[this.to?"nativeOn":"on"],keydown:t=>{t.keyCode===Ot.enter&&this.click(t),this.$emit("keydown",t)}},this.inactive&&(e="div"),this.inactive&&this.to&&(i.on=i.nativeOn,delete i.nativeOn);const s=this.$scopedSlots.default?this.$scopedSlots.default({active:this.isActive,toggle:this.toggle}):this.$slots.default;return t(e,this.isActive?this.setTextColor(this.color,i):i,s)}}),Vs=e.default.extend({name:"v-list-item-icon",functional:!0,render:(t,{data:e,children:i})=>(e.staticClass=`v-list-item__icon ${e.staticClass||""}`.trim(),t("div",e,i))});rt(lt,ks,Xe,ts("list"),Ui).extend().extend({name:"v-list-group",directives:{ripple:Fi},props:{activeClass:{type:String,default:""},appendIcon:{type:String,default:"$expand"},color:{type:String,default:"primary"},disabled:Boolean,group:[String,RegExp],noAction:Boolean,prependIcon:String,ripple:{type:[Boolean,Object],default:!0},subGroup:Boolean},computed:{classes(){return{"v-list-group--active":this.isActive,"v-list-group--disabled":this.disabled,"v-list-group--no-action":this.noAction,"v-list-group--sub-group":this.subGroup}}},watch:{isActive(t){!this.subGroup&&t&&this.list&&this.list.listClick(this._uid)},$route:"onRouteChange"},created(){this.list&&this.list.register(this),this.group&&this.$route&&null==this.value&&(this.isActive=this.matchRoute(this.$route.path))},beforeDestroy(){this.list&&this.list.unregister(this)},methods:{click(t){this.disabled||(this.isBooted=!0,this.$emit("click",t),this.$nextTick((()=>this.isActive=!this.isActive)))},genIcon(t){return this.$createElement(Zi,t)},genAppendIcon(){const t=!this.subGroup&&this.appendIcon;return t||this.$slots.appendIcon?this.$createElement(Vs,{staticClass:"v-list-group__header__append-icon"},[this.$slots.appendIcon||this.genIcon(t)]):null},genHeader(){return this.$createElement(Ls,{staticClass:"v-list-group__header",attrs:{"aria-expanded":String(this.isActive),role:"button"},class:{[this.activeClass]:this.isActive},props:{inputValue:this.isActive},directives:[{name:"ripple",value:this.ripple}],on:{...this.listeners$,click:this.click}},[this.genPrependIcon(),this.$slots.activator,this.genAppendIcon()])},genItems(){return this.showLazyContent((()=>[this.$createElement("div",{staticClass:"v-list-group__items",directives:[{name:"show",value:this.isActive}]},Rt(this))]))},genPrependIcon(){const t=this.subGroup&&null==this.prependIcon?"$subgroup":this.prependIcon;return t||this.$slots.prependIcon?this.$createElement(Vs,{staticClass:"v-list-group__header__prepend-icon"},[this.$slots.prependIcon||this.genIcon(t)]):null},onRouteChange(t){if(!this.group)return;const e=this.matchRoute(t.path);e&&this.isActive!==e&&this.list&&this.list.listClick(this._uid),this.isActive=e},toggle(t){const e=this._uid===t;e&&(this.isBooted=!0),this.$nextTick((()=>this.isActive=e))},matchRoute(t){return null!==t.match(this.group)}},render(t){return t("div",this.setTextColor(this.isActive&&this.color,{staticClass:"v-list-group",class:this.classes}),[this.genHeader(),t(vs,this.genItems())])}});var Ps=e.default.extend({name:"comparable",props:{valueComparator:{type:Function,default:wt}}});const Hs=function(t="value",i="change"){return e.default.extend({name:"proxyable",model:{prop:t,event:i},props:{[t]:{required:!1}},data(){return{internalLazyValue:this[t]}},computed:{internalValue:{get(){return this.internalLazyValue},set(t){t!==this.internalLazyValue&&(this.internalLazyValue=t,this.$emit(i,t))}}},watch:{[t](t){this.internalLazyValue=t}}})}(),Fs=rt(Ps,Hs,nt).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:void 0!==this.value?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(((t,e)=>this.toggleMethod(this.getValue(t,e))))},selectedValues(){return null==this.internalValue?[]:Array.isArray(this.internalValue)?this.internalValue:[this.internalValue]},toggleMethod(){if(!this.multiple)return t=>this.valueComparator(this.internalValue,t);const t=this.internalValue;return Array.isArray(t)?e=>t.some((t=>this.valueComparator(t,e))):()=>!1}},watch:{internalValue:"updateItemsState",items:"updateItemsState"},created(){this.multiple&&!Array.isArray(this.internalValue)&&We("Model must be bound to an array if the multiple property is true.",this)},methods:{genData(){return{class:this.classes}},getValue:(t,e)=>void 0===t.value?e:t.value,onClick(t){this.updateInternalValue(this.getValue(t,this.items.indexOf(t)))},register(t){const e=this.items.push(t)-1;t.$on("change",(()=>this.onClick(t))),this.mandatory&&!this.selectedValues.length&&this.updateMandatory(),this.updateItem(t,e)},unregister(t){if(this._isDestroyed)return;const e=this.items.indexOf(t),i=this.getValue(t,e);this.items.splice(e,1);if(!(this.selectedValues.indexOf(i)<0)){if(!this.mandatory)return this.updateInternalValue(i);this.multiple&&Array.isArray(this.internalValue)?this.internalValue=this.internalValue.filter((t=>t!==i)):this.internalValue=void 0,this.selectedItems.length||this.updateMandatory(!0)}},updateItem(t,e){const i=this.getValue(t,e);t.isActive=this.toggleMethod(i)},updateItemsState(){this.$nextTick((()=>{if(this.mandatory&&!this.selectedItems.length)return this.updateMandatory();this.items.forEach(this.updateItem)}))},updateInternalValue(t){this.multiple?this.updateMultiple(t):this.updateSingle(t)},updateMandatory(t){if(!this.items.length)return;const e=this.items.slice();t&&e.reverse();const i=e.find((t=>!t.disabled));if(!i)return;const s=this.items.indexOf(i);this.updateInternalValue(this.getValue(i,s))},updateMultiple(t){const e=(Array.isArray(this.internalValue)?this.internalValue:[]).slice(),i=e.findIndex((e=>e===t));this.mandatory&&i>-1&&e.length-1<1||null!=this.max&&i<0&&e.length+1>this.max||(i>-1?e.splice(i,1):e.push(t),this.internalValue=e)},updateSingle(t){const e=t===this.internalValue;this.mandatory&&e||(this.internalValue=e?void 0:t)}},render(t){return t(this.tag,this.genData(),this.$slots.default)}});Fs.extend({name:"v-item-group",provide(){return{itemGroup:this}}}),rt(Fs,Xe).extend({name:"v-list-item-group",provide(){return{isInGroup:!0,listItemGroup:this}},computed:{classes(){return{...Fs.options.computed.classes.call(this),"v-list-item-group":!0}}},methods:{genData(){return this.setTextColor(this.color,{...Fs.options.methods.genData.call(this),attrs:{role:"listbox"}})}}});var Ns=e.default.extend({name:"v-list-item-action",functional:!0,render(t,{data:e,children:i=[]}){e.staticClass=e.staticClass?`v-list-item__action ${e.staticClass}`:"v-list-item__action";return i.filter((t=>!1===t.isComment&&" "!==t.text)).length>1&&(e.staticClass+=" v-list-item__action--stack"),t("div",e,i)}}),zs=rt(Xe,Ze,Je).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:Et(this.size),minWidth:Et(this.size),width:Et(this.size),...this.measurableStyles}}},render(t){const e={staticClass:"v-avatar",class:this.classes,style:this.styles,on:this.$listeners};return t("div",this.setBackgroundColor(this.color,e),this.$slots.default)}});zs.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,...zs.options.computed.classes.call(this),"v-avatar--tile":this.tile||this.horizontal}}},render(t){const e=zs.options.render.call(this,t);return e.data=e.data||{},e.data.staticClass+=" v-list-item__avatar",e}}),bt("v-list-item__action-text","span");const Ws=bt("v-list-item__content","div"),Rs=bt("v-list-item__title","div");bt("v-list-item__subtitle","div");var js=rt(Xe,nt).extend({name:"v-select-list",directives:{ripple:Fi},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((t=>this.getValue(t)))},tileActiveClass(){return Object.keys(this.setTextColor(this.color).class||{}).join(" ")},staticNoDataTile(){return this.$createElement(Ls,{attrs:{role:void 0},on:{mousedown:t=>t.preventDefault()}},[this.genTileContent(this.noDataText)])}},methods:{genAction(t,e){return this.$createElement(Ns,[this.$createElement(Es,{props:{color:this.color,value:e,ripple:!1},on:{input:()=>this.$emit("select",t)}})])},genDivider(t){return this.$createElement(Ds,{props:t})},genFilteredText(t){if(t=t||"",!this.searchInput||this.noFilter)return Bt(t);const{start:e,middle:i,end:s}=this.getMaskedCharacters(t);return`${Bt(e)}${this.genHighlight(i)}${Bt(s)}`},genHeader(t){return this.$createElement(Ms,{props:t},t.header)},genHighlight:t=>`<span class="v-list-item__mask">${Bt(t)}</span>`,getMaskedCharacters(t){const e=(this.searchInput||"").toString().toLocaleLowerCase(),i=t.toLocaleLowerCase().indexOf(e);if(i<0)return{start:t,middle:"",end:""};return{start:t.slice(0,i),middle:t.slice(i,i+e.length),end:t.slice(i+e.length)}},genTile({item:t,index:e,disabled:i=null,value:s=!1}){s||(s=this.hasItem(t)),t===Object(t)&&(i=null!==i?i:this.getDisabled(t));const n={attrs:{"aria-selected":String(s),id:`list-item-${this._uid}-${e}`,role:"option"},on:{mousedown:t=>{t.preventDefault()},click:()=>i||this.$emit("select",t)},props:{activeClass:this.tileActiveClass,disabled:i,ripple:!0,inputValue:s}};if(!this.$scopedSlots.item)return this.$createElement(Ls,n,[this.action&&!this.hideSelected&&this.items.length>0?this.genAction(t,s):null,this.genTileContent(t,e)]);const a=this.$scopedSlots.item({parent:this,item:t,attrs:{...n.attrs,...n.props},on:n.on});return this.needsTile(a)?this.$createElement(Ls,n,a):a},genTileContent(t,e=0){const i=this.genFilteredText(this.getText(t));return this.$createElement(Ws,[this.$createElement(Rs,{domProps:{innerHTML:i}})])},hasItem(t){return this.parsedItems.indexOf(this.getValue(t))>-1},needsTile:t=>1!==t.length||null==t[0].componentOptions||"v-list-item"!==t[0].componentOptions.Ctor.options.name,getDisabled(t){return Boolean(kt(t,this.itemDisabled,!1))},getText(t){return String(kt(t,this.itemText,t))},getValue(t){return kt(t,this.itemValue,this.getText(t))}},render(){const t=[],e=this.items.length;for(let i=0;i<e;i++){const e=this.items[i];this.hideSelected&&this.hasItem(e)||(null==e?t.push(this.genTile({item:e,index:i})):e.header?t.push(this.genHeader(e)):e.divider?t.push(this.genDivider(e)):t.push(this.genTile({item:e,index:i})))}return t.length||t.push(this.$slots["no-data"]||this.staticNoDataTile),this.$slots["prepend-item"]&&t.unshift(this.$slots["prepend-item"]),this.$slots["append-item"]&&t.push(this.$slots["append-item"]),this.$createElement(Os,{staticClass:"v-select-list",class:this.themeClasses,attrs:{role:"listbox",tabindex:-1},props:{dense:this.dense}},t)}}),Ys=rt(nt).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(t,e){const{children:i,listeners:s,props:n}=e,a={staticClass:"v-label",class:{"v-label--active":n.value,"v-label--is-disabled":n.disabled,...at(e)},attrs:{for:n.for,"aria-hidden":!n.for},on:s,style:{left:Et(n.left),right:Et(n.right),position:n.absolute?"absolute":"relative"},ref:"label"};return t("label",Xe.options.methods.setTextColor(n.focused&&n.color,a),i)}}),Us=rt(Xe,nt).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(t,e){return this.$createElement("div",{staticClass:"v-messages__message",key:e},Rt(this,"default",{message:t,key:e})||[t])}},render(t){return t("div",this.setTextColor(this.color,{staticClass:"v-messages",class:this.themeClasses}),[this.genChildren()])}});var Gs=rt(Xe,ts("form"),nt).extend({name:"validatable",props:{disabled:Boolean,error:Boolean,errorCount:{type:[Number,String],default:1},errorMessages:{type:[String,Array],default:()=>[]},messages:{type:[String,Array],default:()=>[]},readonly:Boolean,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&&(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(t){this.lazyValue=t,this.$emit("input",t)}},isDisabled(){return this.disabled||!!this.form&&this.form.disabled},isInteractive(){return!this.isDisabled&&!this.isReadonly},isReadonly(){return this.readonly||!!this.form&&this.form.readonly},shouldValidate(){return!!this.externalError||!this.isResetting&&(this.validateOnBlur?this.hasFocused&&!this.isFocused:this.hasInput||this.hasFocused)},validations(){return this.validationTarget.slice(0,Number(this.errorCount))},validationState(){if(!this.isDisabled)return this.hasError&&this.shouldValidate?"error":this.hasSuccess?"success":this.hasColor?this.computedColor:void 0},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(t,e){wt(t,e)||this.validate()},deep:!0},internalValue(){this.hasInput=!0,this.validateOnBlur||this.$nextTick(this.validate)},isFocused(t){t||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(t){this.shouldValidate&&this.$emit("update:error",t)},value(t){this.lazyValue=t}},beforeMount(){this.validate()},created(){this.form&&this.form.register(this)},beforeDestroy(){this.form&&this.form.unregister(this)},methods:{genInternalMessages:t=>t?Array.isArray(t)?t:[t]:[],reset(){this.isResetting=!0,this.internalValue=Array.isArray(this.internalValue)?[]:null},resetValidation(){this.isResetting=!0},validate(t=!1,e){const i=[];e=e||this.internalValue,t&&(this.hasInput=this.hasFocused=!0);for(let s=0;s<this.rules.length;s++){const t=this.rules[s],n="function"==typeof t?t(e):t;!1===n||"string"==typeof n?i.push(n||""):"boolean"!=typeof n&&Re(`Rules should return a string or boolean, received '${typeof n}' instead`,this)}return this.errorBucket=i,this.valid=0===i.length,this.valid}}});var Ks=rt(lt,Gs).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":!1!==this.loading&&null!=this.loading,"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(t){this.lazyValue=t,this.$emit(this.$_modelEvent,t)}},isDirty(){return!!this.lazyValue},isLabelActive(){return this.isDirty},messagesToDisplay(){return this.hasHint?[this.hint]:this.hasMessages?this.validations.map((t=>{if("string"==typeof t)return t;const e=t(this.internalValue);return"string"==typeof e?e:""})).filter((t=>""!==t)):[]},showDetails(){return!1===this.hideDetails||"auto"===this.hideDetails&&this.hasDetails}},watch:{value(t){this.lazyValue=t}},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(),this.$slots.default]},genIcon(t,e,i={}){const s=this[`${t}Icon`],n=`click:${Dt(t)}`,a=!(!this.listeners$[n]&&!e),r=ri({attrs:{"aria-label":a?Dt(t).split("-")[0]+" icon":void 0,color:this.validationState,dark:this.dark,disabled:this.isDisabled,light:this.light},on:a?{click:t=>{t.preventDefault(),t.stopPropagation(),this.$emit(n,t),e&&e(t)},mouseup:t=>{t.preventDefault(),t.stopPropagation()}}:void 0},i);return this.$createElement("div",{staticClass:"v-input__icon",class:t?`v-input__icon--${Dt(t)}`:void 0},[this.$createElement(Zi,r,s)])},genInputSlot(){return this.$createElement("div",this.setBackgroundColor(this.backgroundColor,{staticClass:"v-input__slot",style:{height:Et(this.height)},on:{click:this.onClick,mousedown:this.onMouseDown,mouseup:this.onMouseUp},ref:"input-slot"}),[this.genDefaultSlot()])},genLabel(){return this.hasLabel?this.$createElement(Ys,{props:{color:this.validationState,dark:this.dark,disabled:this.isDisabled,focused:this.hasState,for:this.computedId,light:this.light}},this.$slots.label||this.label):null},genMessages(){return this.showDetails?this.$createElement(Us,{props:{color:this.hasHint?"":this.validationState,dark:this.dark,light:this.light,value:this.messagesToDisplay},attrs:{role:this.hasMessages?"alert":null},scopedSlots:{default:t=>Rt(this,"message",t)}}):null},genSlot(t,e,i){if(!i.length)return null;const s=`${t}-${e}`;return this.$createElement("div",{staticClass:`v-input__${s}`,ref:s},i)},genPrependSlot(){const t=[];return this.$slots.prepend?t.push(this.$slots.prepend):this.prependIcon&&t.push(this.genIcon("prepend")),this.genSlot("prepend","outer",t)},genAppendSlot(){const t=[];return this.$slots.append?t.push(this.$slots.append):this.appendIcon&&t.push(this.genIcon("append")),this.genSlot("append","outer",t)},onClick(t){this.$emit("click",t)},onMouseDown(t){this.hasMouseDown=!0,this.$emit("mousedown",t)},onMouseUp(t){this.hasMouseDown=!1,this.$emit("mouseup",t)}},render(t){return t("div",this.setTextColor(this.validationState,{staticClass:"v-input",class:this.classes}),this.genContent())}}),Xs=rt(nt).extend({name:"v-counter",functional:!0,props:{value:{type:[Number,String],default:""},max:[Number,String]},render(t,e){const{props:i}=e,s=parseInt(i.max,10),n=parseInt(i.value,10),a=s?`${n} / ${s}`:String(i.value);return t("div",{staticClass:"v-counter",class:{"error--text":s&&n>s,...at(e)}},a)}});function qs(t){return e.default.extend({name:"intersectable",data:()=>({isIntersecting:!1}),mounted(){ei.inserted(this.$el,{name:"intersect",value:this.onObserve},this.$vnode)},destroyed(){ei.unbind(this.$el,{name:"intersect",value:this.onObserve},this.$vnode)},methods:{onObserve(e,i,s){if(this.isIntersecting=s,s)for(let n=0,a=t.onVisible.length;n<a;n++){const e=this[t.onVisible[n]];"function"!=typeof e?We(t.onVisible[n]+" method is not available on the instance but referenced in intersectable mixin options"):e()}}}})}var Zs=rt(Xe,gi(["absolute","fixed","top","bottom"]),Hs,nt).extend({name:"v-progress-linear",directives:{intersect:ei},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:Et(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:Et(100-this.normalizedBuffer,"%")}})):null},backgroundStyle(){return{opacity:null==this.backgroundOpacity?this.backgroundColor?1:.3:parseFloat(this.backgroundOpacity),[this.isReversed?"right":"left"]:Et(this.normalizedValue,"%"),width:Et(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?ps:gs},isReversed(){return this.$vuetify.rtl!==this.reverse},normalizedBuffer(){return this.normalize(this.bufferValue)},normalizedValue(){return this.normalize(this.internalLazyValue)},reactive(){return Boolean(this.$listeners.change)},styles(){const t={};return this.active||(t.height=0),this.indeterminate||100===parseFloat(this.normalizedBuffer)||(t.width=Et(this.normalizedBuffer,"%")),t}},methods:{genContent(){const t=Rt(this,"default",{value:this.internalLazyValue});return t?this.$createElement("div",{staticClass:"v-progress-linear__content"},t):null},genListeners(){const t=this.$listeners;return this.reactive&&(t.click=this.onClick),t},genProgressBar(t){return this.$createElement("div",this.setBackgroundColor(this.color,{staticClass:"v-progress-linear__indeterminate",class:{[t]:!0}}))},onClick(t){if(!this.reactive)return;const{width:e}=this.$el.getBoundingClientRect();this.internalValue=t.offsetX/e*100},onObserve(t,e,i){this.isVisible=i},normalize:t=>t<0?0:t>100?100:parseFloat(t)},render(t){return t("div",{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?Et(this.height):0,top:this.top?0:void 0},on:this.genListeners()},[this.__cachedStream,this.__cachedBackground,this.__cachedBuffer,this.__cachedBar,this.genContent()])}}),Js=e.default.extend().extend({name:"loadable",props:{loading:{type:[Boolean,String],default:!1},loaderHeight:{type:[Number,String],default:2}},methods:{genProgress(){return!1===this.loading?null:this.$slots.progress||this.$createElement(Zs,{props:{absolute:!0,color:!0===this.loading||""===this.loading?this.color||"primary":this.loading,height:this.loaderHeight,indeterminate:!0}})}}});const Qs=rt(Ks,qs({onVisible:["onResize","tryAutofocus"]}),Js),tn=["color","file","time","date","datetime-local","week","month"];var en=Qs.extend().extend({name:"v-text-field",directives:{resize:Ci,ripple:Fi},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{...Ks.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 t=Gs.options.computed.computedColor.call(this);return this.soloInverted&&this.isFocused?this.color||"primary":t},computedCounterValue(){return"function"==typeof this.counterValue?this.counterValue(this.internalValue):[...(this.internalValue||"").toString()].length},hasCounter(){return!1!==this.counter&&null!=this.counter},hasDetails(){return Ks.options.computed.hasDetails.call(this)||this.hasCounter},internalValue:{get(){return this.lazyValue},set(t){this.lazyValue=t,this.$emit("input",this.lazyValue)}},isDirty(){var t;return(null==(t=this.lazyValue)?void 0:t.toString().length)>0||this.badInput},isEnclosed(){return this.filled||this.isSolo||this.outlined},isLabelActive(){return this.isDirty||tn.includes(this.type)},isSingle(){return this.isSolo||this.singleLine||this.fullWidth||this.filled&&!this.hasLabel},isSolo(){return this.solo||this.soloInverted},labelPosition(){let t=this.prefix&&!this.labelValue?this.prefixWidth:0;return this.labelValue&&this.prependWidth&&(t-=this.prependWidth),this.$vuetify.rtl===this.reverse?{left:t,right:"auto"}:{left:"auto",right:t}},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(t){this.lazyValue=t}},created(){this.$attrs.hasOwnProperty("box")&&Ye("box","filled",this),this.$attrs.hasOwnProperty("browser-autocomplete")&&Ye("browser-autocomplete","autocomplete",this),this.shaped&&!(this.filled||this.outlined||this.isSolo)&&We("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(t){window.requestAnimationFrame((()=>{this.$refs.input&&this.$refs.input.blur()}))},clearableCallback(){this.$refs.input&&this.$refs.input.focus(),this.$nextTick((()=>this.internalValue=null))},genAppendSlot(){const t=[];return this.$slots["append-outer"]?t.push(this.$slots["append-outer"]):this.appendOuterIcon&&t.push(this.genIcon("appendOuter")),this.genSlot("append","outer",t)},genPrependInnerSlot(){const t=[];return this.$slots["prepend-inner"]?t.push(this.$slots["prepend-inner"]):this.prependInnerIcon&&t.push(this.genIcon("prependInner")),this.genSlot("prepend","inner",t)},genIconSlot(){const t=[];return this.$slots.append?t.push(this.$slots.append):this.appendIcon&&t.push(this.genIcon("append")),this.genSlot("append","inner",t)},genInputSlot(){const t=Ks.options.methods.genInputSlot.call(this),e=this.genPrependInnerSlot();return e&&(t.children=t.children||[],t.children.unshift(e)),t},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 t,e,i;if(!this.hasCounter)return null;const s=!0===this.counter?this.attrs$.maxlength:this.counter,n={dark:this.dark,light:this.light,max:s,value:this.computedCounterValue};return null!=(t=null==(e=(i=this.$scopedSlots).counter)?void 0:e.call(i,{props:n}))?t:this.$createElement(Xs,{props:n})},genControl(){return Ks.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 t={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(Ys,t,this.$slots.label||this.label)},genLegend(){const t=this.singleLine||!this.labelValue&&!this.isDirty?0:this.labelWidth,e=this.$createElement("span",{domProps:{innerHTML:"​"},staticClass:"notranslate"});return this.$createElement("legend",{style:{width:this.isSingle?void 0:Et(t)}},[e])},genInput(){const t=Object.assign({},this.listeners$);delete t.change;const{title:e,...i}=this.attrs$;return this.$createElement("input",{style:{},domProps:{value:"number"===this.type&&Object.is(this.lazyValue,-0)?"-0":this.lazyValue},attrs:{...i,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(t,{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 t=Ks.options.methods.genMessages.call(this),e=this.genCounter();return this.$createElement("div",{staticClass:"v-text-field__details"},[t,e])},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(t){return this.$createElement("div",{class:`v-text-field__${t}`,ref:t},this[t])},onBlur(t){this.isFocused=!1,t&&this.$nextTick((()=>this.$emit("blur",t)))},onClick(){this.isFocused||this.isDisabled||!this.$refs.input||this.$refs.input.focus()},onFocus(t){if(!this.$refs.input)return;const e=yi(this.$el);return e?e.activeElement!==this.$refs.input?this.$refs.input.focus():void(this.isFocused||(this.isFocused=!0,t&&this.$emit("focus",t))):void 0},onInput(t){const e=t.target;this.internalValue=e.value,this.badInput=e.validity&&e.validity.badInput},onKeyDown(t){t.keyCode===Ot.enter&&this.lazyValue!==this.initialValue&&(this.initialValue=this.lazyValue,this.$emit("change",this.initialValue)),this.$emit("keydown",t)},onMouseDown(t){t.target!==this.$refs.input&&(t.preventDefault(),t.stopPropagation()),Ks.options.methods.onMouseDown.call(this,t)},onMouseUp(t){this.hasMouseDown&&this.focus(),Ks.options.methods.onMouseUp.call(this,t)},setLabelWidth(){this.outlined&&(this.labelWidth=this.$refs.label?Math.min(.75*this.$refs.label.scrollWidth+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||"undefined"==typeof document||!this.$refs.input)return!1;const t=yi(this.$el);return!(!t||t.activeElement===this.$refs.input)&&(this.$refs.input.focus(),!0)},updateValue(t){this.hasColor=t,t?this.initialValue=this.lazyValue:this.initialValue!==this.lazyValue&&this.$emit("change",this.lazyValue)},onResize(){this.setLabelWidth(),this.setPrefixWidth(),this.setPrependWidth()}}}),sn=e.default.extend({name:"filterable",props:{noDataText:{type:String,default:"$vuetify.noDataText"}}});const nn={closeOnClick:!1,closeOnContentClick:!1,disableKeys:!0,openOnClick:!1,maxHeight:304};var an=rt(en,Ps,ws,sn).extend().extend({name:"v-select",directives:{ClickOutside:wi},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:()=>nn},multiple:Boolean,openOnClear:Boolean,returnObject:Boolean,smallChips:Boolean},data(){return{cachedItems:this.cacheItems?this.items:[],menuIsBooted:!1,isMenuActive:!1,lastItem:20,lazyValue:void 0!==this.value?this.value:this.multiple?[]:void 0,selectedIndex:-1,selectedItems:[],keyboardLookupPrefix:"",keyboardLookupLastTime:0}},computed:{allItems(){return this.filterDuplicates(this.cachedItems.concat(this.items))},classes(){return{...en.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(){const t=this.multiple?this.selectedItems:(this.getText(this.selectedItems[0])||"").toString();return"function"==typeof this.counterValue?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:()=>"auto",hasChips(){return this.chips||this.smallChips},hasSlot(){return Boolean(this.hasChips||this.$scopedSlots.selection)},isDirty(){return this.selectedItems.length>0},listData(){const t=this.$vnode&&this.$vnode.context.$options._scopeId;return{attrs:{...t?{[t]:!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"])&&Re("assert: staticList should not be called if slots are used"),this.$createElement(js,this.listData)},virtualizedItems(){return this.$_menuProps.auto?this.computedItems:this.computedItems.slice(0,this.lastItem)},menuCanShow:()=>!0,$_menuProps(){let t="string"==typeof this.menuProps?this.menuProps.split(","):this.menuProps;return Array.isArray(t)&&(t=t.reduce(((t,e)=>(t[e.trim()]=!0,t)),{})),{...nn,eager:this.eager,value:this.menuCanShow&&this.isMenuActive,nudgeBottom:t.offsetY?1:0,...t}}},watch:{internalValue(t){this.initialValue=t,this.setSelectedItems(),this.multiple&&this.$nextTick((()=>{var t;null==(t=this.$refs.menu)||t.updateDimensions()}))},isMenuActive(t){window.setTimeout((()=>this.onMenuActiveChange(t)))},items:{immediate:!0,handler(t){this.cacheItems&&this.$nextTick((()=>{this.cachedItems=this.filterDuplicates(this.cachedItems.concat(t))})),this.setSelectedItems()}}},methods:{blur(t){en.options.methods.blur.call(this,t),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(t){return!this.isMenuActive||!this._isDestroyed&&(!this.getContent()||!this.getContent().contains(t.target))&&this.$el&&!this.$el.contains(t.target)&&t.target!==this.$el},filterDuplicates(t){const e=new Map;for(let i=0;i<t.length;++i){const s=t[i];if(null==s)continue;if(s.header||s.divider){e.set(s,s);continue}const n=this.getValue(s);!e.has(n)&&e.set(n,s)}return Array.from(e.values())},findExistingIndex(t){const e=this.getValue(t);return(this.internalValue||[]).findIndex((t=>this.valueComparator(this.getValue(t),e)))},getContent(){return this.$refs.menu&&this.$refs.menu.$refs.content},genChipSelection(t,e){const i=this.isDisabled||this.getDisabled(t),s=!i&&this.isInteractive;return this.$createElement(ys,{staticClass:"v-chip--select",attrs:{tabindex:-1},props:{close:this.deletableChips&&s,disabled:i,inputValue:e===this.selectedIndex,small:this.smallChips},on:{click:t=>{s&&(t.stopPropagation(),this.selectedIndex=e)},"click:close":()=>this.onChipInput(t)},key:JSON.stringify(this.getValue(t))},this.getText(t))},genCommaSelection(t,e,i){const s=e===this.selectedIndex&&this.computedColor,n=this.isDisabled||this.getDisabled(t);return this.$createElement("div",this.setTextColor(s,{staticClass:"v-select__selection v-select__selection--comma",class:{"v-select__selection--disabled":n},key:JSON.stringify(this.getValue(t))}),`${this.getText(t)}${i?"":", "}`)},genDefaultSlot(){const t=this.genSelections(),e=this.genInput();return Array.isArray(t)?t.push(e):(t.children=t.children||[],t.children.push(e)),[this.genFieldset(),this.$createElement("div",{staticClass:"v-select__slot",directives:this.directives},[this.genLabel(),this.prefix?this.genAffix("prefix"):null,t,this.suffix?this.genAffix("suffix"):null,this.genClearIcon(),this.genIconSlot(),this.genHiddenInput()]),this.genMenu(),this.genProgress()]},genIcon(t,e,i){const s=Ks.options.methods.genIcon.call(this,t,e,i);return"append"===t&&(s.children[0].data=ri(s.children[0].data,{attrs:{tabindex:s.children[0].componentOptions.listeners&&"-1","aria-hidden":"true","aria-label":void 0}})),s},genInput(){const t=en.options.methods.genInput.call(this);return delete t.data.attrs.name,t.data=ri(t.data,{domProps:{value:null},attrs:{readonly:!0,type:"text","aria-readonly":String(this.isReadonly),"aria-activedescendant":Ct(this.$refs.menu,"activeTile.id"),autocomplete:Ct(t.data,"attrs.autocomplete","off"),placeholder:this.isDirty||!this.persistentPlaceholder&&!this.isFocused&&this.hasLabel?void 0:this.placeholder},on:{keypress:this.onKeyPress}}),t},genHiddenInput(){return this.$createElement("input",{domProps:{value:this.lazyValue},attrs:{type:"hidden",name:this.attrs$.name}})},genInputSlot(){const t=en.options.methods.genInputSlot.call(this);return t.data.attrs={...t.data.attrs,role:"button","aria-haspopup":"listbox","aria-expanded":String(this.isMenuActive),"aria-owns":this.computedOwns},t},genList(){return this.$slots["no-data"]||this.$slots["prepend-item"]||this.$slots["append-item"]?this.genListWithSlot():this.staticList},genListWithSlot(){const t=["prepend-item","no-data","append-item"].filter((t=>this.$slots[t])).map((t=>this.$createElement("template",{slot:t},this.$slots[t])));return this.$createElement(js,{...this.listData},t)},genMenu(){const t=this.$_menuProps;return t.activator=this.$refs["input-slot"],""===this.attach||!0===this.attach||"attach"===this.attach?t.attach=this.$el:t.attach=this.attach,this.$createElement(As,{attrs:{role:void 0},props:t,on:{input:t=>{this.isMenuActive=t,this.isFocused=t},scroll:this.onScroll},ref:"menu"},[this.genList()])},genSelections(){let t=this.selectedItems.length;const e=new Array(t);let i;for(i=this.$scopedSlots.selection?this.genSlotSelection:this.hasChips?this.genChipSelection:this.genCommaSelection;t--;)e[t]=i(this.selectedItems[t],t,t===e.length-1);return this.$createElement("div",{staticClass:"v-select__selections"},e)},genSlotSelection(t,e){return this.$scopedSlots.selection({attrs:{class:"v-chip--select"},parent:this,item:t,index:e,select:t=>{t.stopPropagation(),this.selectedIndex=e},selected:e===this.selectedIndex,disabled:!this.isInteractive})},getMenuIndex(){return this.$refs.menu?this.$refs.menu.listIndex:-1},getDisabled(t){return kt(t,this.itemDisabled,!1)},getText(t){return kt(t,this.itemText,t)},getValue(t){return kt(t,this.itemValue,this.getText(t))},onBlur(t){t&&this.$emit("blur",t)},onChipInput(t){this.multiple?this.selectItem(t):this.setValue(null),0===this.selectedItems.length?this.isMenuActive=!0:this.isMenuActive=!1,this.selectedIndex=-1},onClick(t){this.isInteractive&&(this.isAppendInner(t.target)||(this.isMenuActive=!0),this.isFocused||(this.isFocused=!0,this.$emit("focus")),this.$emit("click",t))},onEscDown(t){t.preventDefault(),this.isMenuActive&&(t.stopPropagation(),this.isMenuActive=!1)},onKeyPress(t){if(this.multiple||!this.isInteractive||this.disableLookup)return;const e=performance.now();e-this.keyboardLookupLastTime>1e3&&(this.keyboardLookupPrefix=""),this.keyboardLookupPrefix+=t.key.toLowerCase(),this.keyboardLookupLastTime=e;const i=this.allItems.findIndex((t=>(this.getText(t)||"").toString().toLowerCase().startsWith(this.keyboardLookupPrefix))),s=this.allItems[i];-1!==i&&(this.lastItem=Math.max(this.lastItem,i+5),this.setValue(this.returnObject?s:this.getValue(s)),this.$nextTick((()=>this.$refs.menu.getTiles())),setTimeout((()=>this.setMenuIndex(i))))},onKeyDown(t){if(this.isReadonly&&t.keyCode!==Ot.tab)return;const e=t.keyCode,i=this.$refs.menu;return this.$emit("keydown",t),i?(this.isMenuActive&&[Ot.up,Ot.down,Ot.home,Ot.end,Ot.enter].includes(e)&&this.$nextTick((()=>{i.changeListIndex(t),this.$emit("update:list-index",i.listIndex)})),[Ot.enter,Ot.space].includes(e)&&this.activateMenu(),!this.isMenuActive&&[Ot.up,Ot.down,Ot.home,Ot.end].includes(e)?this.onUpDown(t):e===Ot.esc?this.onEscDown(t):e===Ot.tab?this.onTabDown(t):e===Ot.space?this.onSpaceDown(t):void 0):void 0},onMenuActiveChange(t){if(this.multiple&&!t||this.getMenuIndex()>-1)return;const e=this.$refs.menu;if(e&&this.isDirty){this.$refs.menu.getTiles();for(let t=0;t<e.tiles.length;t++)if("true"===e.tiles[t].getAttribute("aria-selected")){this.setMenuIndex(t);break}}},onMouseUp(t){this.hasMouseDown&&3!==t.which&&this.isInteractive&&this.isAppendInner(t.target)&&this.$nextTick((()=>this.isMenuActive=!this.isMenuActive)),en.options.methods.onMouseUp.call(this,t)},onScroll(){if(this.isMenuActive){if(this.lastItem>this.computedItems.length)return;this.getContent().scrollHeight-(this.getContent().scrollTop+this.getContent().clientHeight)<200&&(this.lastItem+=20)}else requestAnimationFrame((()=>this.getContent().scrollTop=0))},onSpaceDown(t){t.preventDefault()},onTabDown(t){const e=this.$refs.menu;if(!e)return;const i=e.activeTile;!this.multiple&&i&&this.isMenuActive?(t.preventDefault(),t.stopPropagation(),i.click()):this.blur(t)},onUpDown(t){const e=this.$refs.menu;if(!e)return;if(t.preventDefault(),this.multiple)return this.activateMenu();const i=t.keyCode;e.isBooted=!0,window.requestAnimationFrame((()=>{if(e.getTiles(),!e.hasClickableTiles)return this.activateMenu();switch(i){case Ot.up:e.prevTile();break;case Ot.down:e.nextTile();break;case Ot.home:e.firstTile();break;case Ot.end:e.lastTile()}this.selectItem(this.allItems[this.getMenuIndex()])}))},selectItem(t){if(this.multiple){const e=(this.internalValue||[]).slice(),i=this.findExistingIndex(t);if(-1!==i?e.splice(i,1):e.push(t),this.setValue(e.map((t=>this.returnObject?t:this.getValue(t)))),this.hideSelected)this.setMenuIndex(-1);else{const e=this.allItems.indexOf(t);~e&&(this.$nextTick((()=>this.$refs.menu.getTiles())),setTimeout((()=>this.setMenuIndex(e))))}}else this.setValue(this.returnObject?t:this.getValue(t)),this.isMenuActive=!1},setMenuIndex(t){this.$refs.menu&&(this.$refs.menu.listIndex=t)},setSelectedItems(){const t=[],e=this.multiple&&Array.isArray(this.internalValue)?this.internalValue:[this.internalValue];for(const i of e){const e=this.allItems.findIndex((t=>this.valueComparator(this.getValue(t),this.getValue(i))));e>-1&&t.push(this.allItems[e])}this.selectedItems=t},setValue(t){this.valueComparator(t,this.internalValue)||(this.internalValue=t,this.$emit("change",t))},isAppendInner(t){const e=this.$refs["append-inner"];return e&&(e===t||e.contains(t))}}});const rn={...nn,offsetY:!0,offsetOverflow:!0,transition:!1};var on=an.extend({name:"v-autocomplete",props:{allowOverflow:{type:Boolean,default:!0},autoSelectFirst:{type:Boolean,default:!1},filter:{type:Function,default:(t,e,i)=>i.toLocaleLowerCase().indexOf(e.toLocaleLowerCase())>-1},hideNoData:Boolean,menuProps:{type:an.options.props.menuProps.type,default:()=>rn},noFilter:Boolean,searchInput:{type:String}},data(){return{lazySearch:this.searchInput}},computed:{classes(){return{...an.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((t=>this.getValue(t)))},hasDisplayedItems(){return this.hideSelected?this.filteredItems.some((t=>!this.hasItem(t))):this.filteredItems.length>0},currentRange(){return null==this.selectedItem?0:String(this.getText(this.selectedItem)).length},filteredItems(){return!this.isSearching||this.noFilter||null==this.internalSearch?this.allItems:this.allItems.filter((t=>{const e=kt(t,this.itemText),i=null!=e?String(e):"";return this.filter(t,String(this.internalSearch),i)}))},internalSearch:{get(){return this.lazySearch},set(t){this.lazySearch!==t&&(this.lazySearch=t,this.$emit("update:search-input",t))}},isAnyValueAllowed:()=>!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)},$_menuProps(){const t=an.options.computed.$_menuProps.call(this);return t.contentClass=`v-autocomplete__content ${t.contentClass||""}`.trim(),{...rn,...t}},searchIsDirty(){return null!=this.internalSearch&&""!==this.internalSearch},selectedItem(){return this.multiple?null:this.selectedItems.find((t=>this.valueComparator(this.getValue(t),this.getValue(this.internalValue))))},listData(){const t=an.options.computed.listData.call(this);return t.props={...t.props,items:this.virtualizedItems,noFilter:this.noFilter||!this.isSearching||!this.filteredItems.length,searchInput:this.internalSearch},t}},watch:{filteredItems:"onFilteredItemsChanged",internalValue:"setSearch",isFocused(t){t?(document.addEventListener("copy",this.onCopy),this.$refs.input&&this.$refs.input.select()):(document.removeEventListener("copy",this.onCopy),this.blur(),this.updateSelf())},isMenuActive(t){!t&&this.hasSlot&&(this.lazySearch=null)},items(t,e){e&&e.length||!this.hideNoData||!this.isFocused||this.isMenuActive||!t.length||this.activateMenu()},searchInput(t){this.lazySearch=t},internalSearch:"onInternalSearchChanged",itemText:"updateSelf"},created(){this.setSearch()},destroyed(){document.removeEventListener("copy",this.onCopy)},methods:{onFilteredItemsChanged(t,e){if(t!==e){if(!this.autoSelectFirst){const i=e[this.$refs.menu.listIndex];i?this.setMenuIndex(t.findIndex((t=>t===i))):this.setMenuIndex(-1),this.$emit("update:list-index",this.$refs.menu.listIndex)}this.$nextTick((()=>{this.internalSearch&&(1===t.length||this.autoSelectFirst)&&(this.$refs.menu.getTiles(),this.autoSelectFirst&&t.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(t){this.searchIsDirty||(this.multiple&&t===Ot.left?-1===this.selectedIndex?this.selectedIndex=this.selectedItems.length-1:this.selectedIndex--:this.multiple&&t===Ot.right?this.selectedIndex>=this.selectedItems.length-1?this.selectedIndex=-1:this.selectedIndex++:t!==Ot.backspace&&t!==Ot.delete||this.deleteCurrentItem())},deleteCurrentItem(){const t=this.selectedIndex,e=this.selectedItems[t];if(!this.isInteractive||this.getDisabled(e))return;const i=this.selectedItems.length-1;if(-1===this.selectedIndex&&0!==i)return void(this.selectedIndex=i);const s=t!==this.selectedItems.length-1?t:t-1;this.selectedItems[s]?this.selectItem(e):this.setValue(this.multiple?[]:null),this.selectedIndex=s},clearableCallback(){this.internalSearch=null,an.options.methods.clearableCallback.call(this)},genInput(){const t=en.options.methods.genInput.call(this);return t.data=ri(t.data,{attrs:{"aria-activedescendant":Ct(this.$refs.menu,"activeTile.id"),autocomplete:Ct(t.data,"attrs.autocomplete","off")},domProps:{value:this.internalSearch}}),t},genInputSlot(){const t=an.options.methods.genInputSlot.call(this);return t.data.attrs.role="combobox",t},genSelections(){return this.hasSlot||this.multiple?an.options.methods.genSelections.call(this):[]},onClick(t){this.isInteractive&&(this.selectedIndex>-1?this.selectedIndex=-1:this.onFocus(),this.isAppendInner(t.target)||this.activateMenu())},onInput(t){if(this.selectedIndex>-1||!t.target)return;const e=t.target,i=e.value;e.value&&this.activateMenu(),this.multiple||""!==i||this.deleteCurrentItem(),this.internalSearch=i,this.badInput=e.validity&&e.validity.badInput},onKeyDown(t){const e=t.keyCode;!t.ctrlKey&&[Ot.home,Ot.end].includes(e)||an.options.methods.onKeyDown.call(this,t),this.changeSelectedIndex(e)},onSpaceDown(t){},onTabDown(t){an.options.methods.onTabDown.call(this,t),this.updateSelf()},onUpDown(t){t.preventDefault(),this.activateMenu()},selectItem(t){an.options.methods.selectItem.call(this,t),this.setSearch()},setSelectedItems(){an.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(t){return this.selectedValues.indexOf(this.getValue(t))>-1},onCopy(t){var e,i;if(-1===this.selectedIndex)return;const s=this.selectedItems[this.selectedIndex],n=this.getText(s);null==(e=t.clipboardData)||e.setData("text/plain",n),null==(i=t.clipboardData)||i.setData("text/vnd.vuetify.autocomplete.item+plain",n),t.preventDefault()}}});rt(Xe,gi(["left","bottom"]),nt,Ui,as).extend({name:"v-badge",props:{avatar:Boolean,bordered:Boolean,color:{type:String,default:"primary"},content:{required:!1},dot:Boolean,label:{type:String,default:"$vuetify.badge"},icon:String,inline:Boolean,offsetX:[Number,String],offsetY:[Number,String],overlap:Boolean,tile:Boolean,transition:{type:String,default:"scale-rotate-transition"},value:{default:!0}},computed:{classes(){return{"v-badge--avatar":this.avatar,"v-badge--bordered":this.bordered,"v-badge--bottom":this.bottom,"v-badge--dot":this.dot,"v-badge--icon":null!=this.icon,"v-badge--inline":this.inline,"v-badge--left":this.left,"v-badge--overlap":this.overlap,"v-badge--tile":this.tile,...this.themeClasses}},computedBottom(){return this.bottom?"auto":this.computedYOffset},computedLeft(){return this.isRtl?this.left?this.computedXOffset:"auto":this.left?"auto":this.computedXOffset},computedRight(){return this.isRtl?this.left?"auto":this.computedXOffset:this.left?this.computedXOffset:"auto"},computedTop(){return this.bottom?this.computedYOffset:"auto"},computedXOffset(){return this.calcPosition(this.offsetX)},computedYOffset(){return this.calcPosition(this.offsetY)},isRtl(){return this.$vuetify.rtl},offset(){return this.overlap?this.dot?8:12:this.dot?2:4},styles(){return this.inline?{}:{bottom:this.computedBottom,left:this.computedLeft,right:this.computedRight,top:this.computedTop}}},methods:{calcPosition(t){return`calc(100% - ${Et(t||this.offset)})`},genBadge(){const t=this.$vuetify.lang,e=this.$attrs["aria-label"]||t.t(this.label),i=this.setBackgroundColor(this.color,{staticClass:"v-badge__badge",style:this.styles,attrs:{"aria-atomic":this.$attrs["aria-atomic"]||"true","aria-label":e,"aria-live":this.$attrs["aria-live"]||"polite",title:this.$attrs.title,role:this.$attrs.role||"status"},directives:[{name:"show",value:this.isActive}]}),s=this.$createElement("span",i,[this.genBadgeContent()]);return this.transition?this.$createElement("transition",{props:{name:this.transition,origin:this.origin,mode:this.mode}},[s]):s},genBadgeContent(){if(this.dot)return;const t=Rt(this,"badge");return t||(this.content?String(this.content):this.icon?this.$createElement(Zi,this.icon):void 0)},genBadgeWrapper(){return this.$createElement("span",{staticClass:"v-badge__wrapper"},[this.genBadge()])}},render(t){const e=[this.genBadgeWrapper()],i=[Rt(this)],{"aria-atomic":s,"aria-label":n,"aria-live":a,role:r,title:o,...l}=this.$attrs;return this.inline&&this.left?i.unshift(e):i.push(e),t("span",{staticClass:"v-badge",attrs:l,class:this.classes},i)}});var ln=e.default.extend({name:"mobile",props:{mobileBreakpoint:{type:[Number,String],default(){return this.$vuetify?this.$vuetify.breakpoint.mobileBreakpoint:void 0},validator:t=>!isNaN(Number(t))||["xs","sm","md","lg","xl"].includes(String(t))}},computed:{isMobile(){const{mobile:t,width:e,name:i,mobileBreakpoint:s}=this.$vuetify.breakpoint;if(s===this.mobileBreakpoint)return t;const n=parseInt(this.mobileBreakpoint,10);return!isNaN(n)?e<n:i===this.mobileBreakpoint}},created(){this.$attrs.hasOwnProperty("mobile-break-point")&&je("mobile-break-point","mobile-breakpoint",this)}});rt(Qe,ln,Ui).extend({name:"v-banner",inheritAttrs:!1,props:{app:Boolean,icon:String,iconColor:String,singleLine:Boolean,sticky:Boolean,value:{type:Boolean,default:!0}},computed:{classes(){return{...Qe.options.computed.classes.call(this),"v-banner--has-icon":this.hasIcon,"v-banner--is-mobile":this.isMobile,"v-banner--single-line":this.singleLine,"v-banner--sticky":this.isSticky}},hasIcon(){return Boolean(this.icon||this.$slots.icon)},isSticky(){return this.sticky||this.app},styles(){const t={...Qe.options.computed.styles.call(this)};if(this.isSticky){const e=this.app?this.$vuetify.application.bar+this.$vuetify.application.top:0;t.top=Et(e),t.position="sticky",t.zIndex=1}return t}},methods:{toggle(){this.isActive=!this.isActive},iconClick(t){this.$emit("click:icon",t)},genIcon(){if(!this.hasIcon)return;let t;return t=this.icon?this.$createElement(Zi,{props:{color:this.iconColor,size:28}},[this.icon]):this.$slots.icon,this.$createElement(zs,{staticClass:"v-banner__icon",props:{color:this.color,size:40},on:{click:this.iconClick}},[t])},genText(){return this.$createElement("div",{staticClass:"v-banner__text"},this.$slots.default)},genActions(){const t=Rt(this,"actions",{dismiss:()=>this.isActive=!1});if(t)return this.$createElement("div",{staticClass:"v-banner__actions"},t)},genContent(){return this.$createElement("div",{staticClass:"v-banner__content"},[this.genIcon(),this.genText()])},genWrapper(){return this.$createElement("div",{staticClass:"v-banner__wrapper"},[this.genContent(),this.genActions()])}},render(t){const e={staticClass:"v-banner",attrs:this.attrs$,class:this.classes,style:this.styles,directives:[{name:"show",value:this.isActive}]};return t(vs,[t("div",this.outlined?e:this.setBackgroundColor(this.color,e),[this.genWrapper()])])}});var hn=Fs.extend({name:"button-group",provide(){return{btnToggle:this}},computed:{classes(){return Fs.options.computed.classes.call(this)}},methods:{genData:Fs.options.methods.genData}});rt(fi("bottom",["height","inputValue"]),Xe,Ze,Yi("inputValue"),Hs,Ri,nt).extend({name:"v-bottom-navigation",props:{activeClass:{type:String,default:"v-btn--active"},backgroundColor:String,grow:Boolean,height:{type:[Number,String],default:56},hideOnScroll:Boolean,horizontal:Boolean,inputValue:{type:Boolean,default:!0},mandatory:Boolean,shift:Boolean,tag:{type:String,default:"div"}},data(){return{isActive:this.inputValue}},computed:{canScroll(){return Ri.options.computed.canScroll.call(this)&&(this.hideOnScroll||!this.inputValue)},classes(){return{"v-bottom-navigation--absolute":this.absolute,"v-bottom-navigation--grow":this.grow,"v-bottom-navigation--fixed":!this.absolute&&(this.app||this.fixed),"v-bottom-navigation--horizontal":this.horizontal,"v-bottom-navigation--shift":this.shift}},styles(){return{...this.measurableStyles,transform:this.isActive?"none":"translateY(100%)"}}},watch:{canScroll:"onScroll"},created(){this.$attrs.hasOwnProperty("active")&&Ye("active.sync","value or v-model",this)},methods:{thresholdMet(){this.hideOnScroll&&(this.isActive=!this.isScrollingUp||this.currentScroll>this.computedScrollThreshold,this.$emit("update:input-value",this.isActive)),this.currentThreshold<this.computedScrollThreshold||(this.savedScroll=this.currentScroll)},updateApplication(){return this.$el?this.$el.clientHeight:0},updateValue(t){this.$emit("change",t)}},render(t){const e=this.setBackgroundColor(this.backgroundColor,{staticClass:"v-bottom-navigation",class:this.classes,style:this.styles,props:{activeClass:this.activeClass,mandatory:Boolean(this.mandatory||void 0!==this.value),tag:this.tag,value:this.internalValue},on:{change:this.updateValue}});return this.canScroll&&(e.directives=e.directives||[],e.directives.push({arg:this.scrollTarget,name:"scroll",value:this.onScroll})),t(hn,this.setTextColor(this.color,e),this.$slots.default)}});var cn=rt(Xe,nt,Ui).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 t=this.setBackgroundColor(this.color,{staticClass:"v-overlay__scrim",style:{opacity:this.computedOpacity}});return this.$createElement("div",t)},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"},this.$slots.default)}},render(t){const e=[this.__scrim];return this.isActive&&e.push(this.genContent()),t("div",{staticClass:"v-overlay",on:this.$listeners,class:this.classes,style:this.styles},e)}}),dn=e.default.extend().extend({name:"overlayable",props:{hideOverlay:Boolean,overlayColor:String,overlayOpacity:[Number,String]},data:()=>({animationFrame:0,overlay:null}),watch:{hideOverlay(t){this.isActive&&(t?this.removeOverlay():this.genOverlay())}},beforeDestroy(){this.removeOverlay()},methods:{createOverlay(){const t=new cn({propsData:{absolute:this.absolute,value:!1,color:this.overlayColor,opacity:this.overlayOpacity}});t.$mount();const e=this.absolute?this.$el.parentNode:document.querySelector("[data-app]");e&&e.insertBefore(t.$el,e.firstChild),this.overlay=t},genOverlay(){if(this.hideScroll(),!this.hideOverlay)return this.overlay||this.createOverlay(),this.animationFrame=requestAnimationFrame((()=>{this.overlay&&(void 0!==this.activeZIndex?this.overlay.zIndex=String(this.activeZIndex-1):this.$el&&(this.overlay.zIndex=It(this.$el)),this.overlay.value=!0)})),!0},removeOverlay(t=!0){this.overlay&&($t(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),t&&this.showScroll()},scrollListener(t){if("keydown"===t.type){if(["INPUT","TEXTAREA","SELECT"].includes(t.target.tagName)||t.target.isContentEditable)return;const e=[Ot.up,Ot.pageup],i=[Ot.down,Ot.pagedown];if(e.includes(t.keyCode))t.deltaY=-1;else{if(!i.includes(t.keyCode))return;t.deltaY=1}}(t.target===this.overlay||"keydown"!==t.type&&t.target===document.body||this.checkPath(t))&&t.preventDefault()},hasScrollbar(t){if(!t||t.nodeType!==Node.ELEMENT_NODE)return!1;const e=window.getComputedStyle(t);return(["auto","scroll"].includes(e.overflowY)||"SELECT"===t.tagName)&&t.scrollHeight>t.clientHeight||["auto","scroll"].includes(e.overflowX)&&t.scrollWidth>t.clientWidth},shouldScroll(t,e){if(t.hasAttribute("data-app"))return!1;const i=e.shiftKey||e.deltaX?"x":"y",s="y"===i?e.deltaY:e.deltaX||e.deltaY;let n,a;"y"===i?(n=0===t.scrollTop,a=t.scrollTop+t.clientHeight===t.scrollHeight):(n=0===t.scrollLeft,a=t.scrollLeft+t.clientWidth===t.scrollWidth);return!(n||!(s<0))||(!(a||!(s>0))||!(!n&&!a)&&this.shouldScroll(t.parentNode,e))},isInside(t,e){return t===e||null!==t&&t!==document.body&&this.isInside(t.parentNode,e)},checkPath(t){const e=qt(t);if("keydown"===t.type&&e[0]===document.body){const e=this.$refs.dialog,i=window.getSelection().anchorNode;return!(e&&this.hasScrollbar(e)&&this.isInside(i,e))||!this.shouldScroll(e,t)}for(let i=0;i<e.length;i++){const s=e[i];if(s===document)return!0;if(s===document.documentElement)return!0;if(s===this.$refs.content)return!0;if(this.hasScrollbar(s))return!this.shouldScroll(s,t)}return!0},hideScroll(){var t,e,i,s;this.$vuetify.breakpoint.smAndDown?document.documentElement.classList.add("overflow-y-hidden"):(t=window,e="wheel",i=this.scrollListener,s={passive:!1},t.addEventListener(e,i,!!xt&&s),window.addEventListener("keydown",this.scrollListener))},showScroll(){document.documentElement.classList.remove("overflow-y-hidden"),window.removeEventListener("wheel",this.scrollListener),window.removeEventListener("keydown",this.scrollListener)}}});var un=rt(ws,Is,dn,Bs,Cs,xs).extend({name:"v-dialog",directives:{ClickOutside:wi},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:()=>({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 Boolean(!!this.$slots.activator||!!this.$scopedSlots.activator)}},watch:{isActive(t){var e;t?(this.show(),this.hideScroll()):(this.removeOverlay(),this.unbind(),null==(e=this.previousActiveElement)||e.focus())},fullscreen(t){this.isActive&&(t?(this.hideScroll(),this.removeOverlay(!1)):(this.showScroll(),this.genOverlay()))}},created(){this.$attrs.hasOwnProperty("full-width")&&Ue("full-width",this)},beforeMount(){this.$nextTick((()=>{this.isBooted=this.isActive,this.isActive&&this.show()}))},beforeDestroy(){"undefined"!=typeof window&&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(t){const e=t.target;return!(this._isDestroyed||!this.isActive||this.$refs.content.contains(e)||this.overlay&&e&&!this.overlay.$el.contains(e))&&this.activeZIndex>=this.getMaxZIndex()},hideScroll(){this.fullscreen?document.documentElement.classList.add("overflow-y-hidden"):dn.options.methods.hideScroll.call(this)},show(){!this.fullscreen&&!this.hideOverlay&&this.genOverlay(),this.$nextTick((()=>{this.$nextTick((()=>{this.$refs.content.contains(document.activeElement)||(this.previousActiveElement=document.activeElement,this.$refs.content.focus()),this.bind()}))}))},bind(){window.addEventListener("focusin",this.onFocusin)},unbind(){window.removeEventListener("focusin",this.onFocusin)},onClickOutside(t){this.$emit("click:outside",t),this.persistent?this.noClickAnimation||this.animateClick():this.isActive=!1},onKeydown(t){if(t.keyCode===Ot.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",t)},onFocusin(t){if(!t||!this.retainFocus)return;const e=t.target;if(e&&![document,this.$refs.content].includes(e)&&!this.$refs.content.contains(e)&&this.activeZIndex>=this.getMaxZIndex()&&!this.getOpenDependentElements().some((t=>t.contains(e)))){const t=[...this.$refs.content.querySelectorAll('button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"])')].find((t=>!t.hasAttribute("disabled")));t&&t.focus()}},genContent(){return this.showLazyContent((()=>[this.$createElement(bs,{props:{root:!0,light:this.light,dark:this.dark}},[this.$createElement("div",{class:this.contentClasses,attrs:{role:"dialog",tabindex:this.isActive?0:void 0,"aria-modal":this.hideOverlay?void 0:"true",...this.getScopeIdAttrs()},on:{keydown:this.onKeydown},style:{zIndex:this.activeZIndex},ref:"content"},[this.genTransition()])])]))},genTransition(){const t=this.genInnerContent();return this.transition?this.$createElement("transition",{props:{name:this.transition,origin:this.origin,appear:!0}},[t]):t},genInnerContent(){const t={class:this.classes,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||(t.style={...t.style,maxWidth:Et(this.maxWidth),width:Et(this.width)}),this.$createElement("div",t,this.getContentSlot())}},render(t){return t("div",{staticClass:"v-dialog__container",class:{"v-dialog__container--attached":""===this.attach||!0===this.attach||"attach"===this.attach}},[this.genActivator(),this.genContent()])}});un.extend({name:"v-bottom-sheet",props:{inset:Boolean,maxWidth:[String,Number],transition:{type:String,default:"bottom-sheet-transition"}},computed:{classes(){return{...un.options.computed.classes.call(this),"v-bottom-sheet":!0,"v-bottom-sheet--inset":this.inset}}}});var pn=rt(ss).extend({name:"v-breadcrumbs-item",props:{activeClass:{type:String,default:"v-breadcrumbs__item--disabled"},ripple:{type:[Boolean,Object],default:!1}},computed:{classes(){return{"v-breadcrumbs__item":!0,[this.activeClass]:this.disabled}}},render(t){const{tag:e,data:i}=this.generateRouteLink();return t("li",[t(e,{...i,attrs:{...i.attrs,"aria-current":this.isActive&&this.isLink?"page":void 0}},this.$slots.default)])}}),mn=bt("v-breadcrumbs__divider","li");rt(nt).extend({name:"v-breadcrumbs",props:{divider:{type:String,default:"/"},items:{type:Array,default:()=>[]},large:Boolean},computed:{classes(){return{"v-breadcrumbs--large":this.large,...this.themeClasses}}},methods:{genDivider(){return this.$createElement(mn,this.$slots.divider?this.$slots.divider:this.divider)},genItems(){const t=[],e=!!this.$scopedSlots.item,i=[];for(let s=0;s<this.items.length;s++){const n=this.items[s];i.push(n.text),e?t.push(this.$scopedSlots.item({item:n})):t.push(this.$createElement(pn,{key:i.join("."),props:n},[n.text])),s<this.items.length-1&&t.push(this.genDivider())}return t}},render(t){const e=this.$slots.default||this.genItems();return t("ul",{staticClass:"v-breadcrumbs",class:this.classes},e)}});rt(hn,Xe).extend({name:"v-btn-toggle",props:{backgroundColor:String,borderless:Boolean,dense:Boolean,group:Boolean,rounded:Boolean,shaped:Boolean,tile:Boolean},computed:{classes(){return{...hn.options.computed.classes.call(this),"v-btn-toggle":!0,"v-btn-toggle--borderless":this.borderless,"v-btn-toggle--dense":this.dense,"v-btn-toggle--group":this.group,"v-btn-toggle--rounded":this.rounded,"v-btn-toggle--shaped":this.shaped,"v-btn-toggle--tile":this.tile,...this.themeClasses}}},methods:{genData(){const t=this.setTextColor(this.color,{...hn.options.methods.genData.call(this)});return this.group?t:this.setBackgroundColor(this.backgroundColor,t)}}});var gn=e.default.extend({name:"localable",props:{locale:String},computed:{currentLocale(){return this.locale||this.$vuetify.lang.current}}}),vn=e.default.extend({name:"mouse",methods:{getDefaultMouseEventHandlers(t,e){return this.getMouseEventHandlers({["click"+t]:{event:"click"},["contextmenu"+t]:{event:"contextmenu",prevent:!0,result:!1},["mousedown"+t]:{event:"mousedown"},["mousemove"+t]:{event:"mousemove"},["mouseup"+t]:{event:"mouseup"},["mouseenter"+t]:{event:"mouseenter"},["mouseleave"+t]:{event:"mouseleave"},["touchstart"+t]:{event:"touchstart"},["touchmove"+t]:{event:"touchmove"},["touchend"+t]:{event:"touchend"}},e)},getMouseEventHandlers(t,e){const i={};for(const s in t){const n=t[s];if(!this.$listeners[s])continue;const a=(n.passive?"&":(n.once?"~":"")+(n.capture?"!":""))+n.event,r=t=>{const i=t;if(void 0===n.button||i.buttons>0&&i.button===n.button){if(n.prevent&&t.preventDefault(),n.stop&&t.stopPropagation(),t&&"touches"in t){var a,r;const e=" ",i=null==(a=t.currentTarget)?void 0:a.className.split(e),s=document.elementsFromPoint(t.changedTouches[0].clientX,t.changedTouches[0].clientY).find((t=>t.className.split(e).some((t=>i.includes(t)))));if(s&&(null==(r=t.target)||!r.isSameNode(s)))return void s.dispatchEvent(new TouchEvent(t.type,{changedTouches:t.changedTouches,targetTouches:t.targetTouches,touches:t.touches}))}this.$emit(s,e(t),t)}return n.result};a in i?Array.isArray(i[a])?i[a].push(r):i[a]=[i[a],r]:i[a]=r}return i}}});function fn(t,e,i){const s=7+e-i,n=(7+function(t,e=0,i=1){let s;return t<100&&t>=0?(s=new Date(Date.UTC(t,e,i)),isFinite(s.getUTCFullYear())&&s.setUTCFullYear(t)):s=new Date(Date.UTC(t,e,i)),s}(t,0,s).getUTCDay()-e)%7;return-n+s-1}function yn(t,e,i){const s=fn(t,e,i),n=fn(t+1,e,i);return(($n(t)?366:365)-s+n)/7}function bn(t,e,i,s,n){const a=fn(t,s,n),r=Math.ceil((function(t,e,i,s){let n=[0,31,59,90,120,151,181,212,243,273,304,334][e];return e>1&&$n(t)&&n++,n+i}(t,e,i)-a)/7);return r<1?r+yn(t-1,s,n):r>yn(t,s,n)?r-yn(t,s,n):r}function $n(t){return t%4==0&&t%100!=0||t%400==0}const xn=/^(\d{4})-(\d{1,2})(-(\d{1,2}))?([^\d]+(\d{1,2}))?(:(\d{1,2}))?(:(\d{1,2}))?$/,Sn=/(\d\d?)(:(\d\d?)|)(:(\d\d?)|)/,wn=[0,31,28,31,30,31,30,31,31,30,31,30,31],Cn=[0,31,29,31,30,31,30,31,31,30,31,30,31];function kn(t){const e=zn(t);return e.day=1,Hn(e),Fn(e),e}function _n(t){const e=zn(t);return e.day=Nn(e.year,e.month),Hn(e),Fn(e),e}function In(t){if("number"==typeof t)return t;if("string"==typeof t){const e=Sn.exec(t);return!!e&&60*parseInt(e[1])+parseInt(e[3]||0)}return"object"==typeof t&&("number"==typeof t.hour&&"number"==typeof t.minute&&60*t.hour+t.minute)}function Tn(t){return"number"==typeof t&&isFinite(t)||"string"==typeof t&&!!xn.exec(t)||t instanceof Date}function Bn(t,e=!1,i){if("number"==typeof t&&isFinite(t)&&(t=new Date(t)),t instanceof Date){const e=An(t);return i&&On(e,i,e.hasTime),e}if("string"!=typeof t){if(e)throw new Error(`${t} is not a valid timestamp. It must be a Date, number of milliseconds since Epoch, or a string in the format of YYYY-MM-DD or YYYY-MM-DD hh:mm. Zero-padding is optional and seconds are ignored.`);return null}const s=xn.exec(t);if(!s){if(e)throw new Error(`${t} is not a valid timestamp. It must be a Date, number of milliseconds since Epoch, or a string in the format of YYYY-MM-DD or YYYY-MM-DD hh:mm. Zero-padding is optional and seconds are ignored.`);return null}const n={date:t,time:"",year:parseInt(s[1]),month:parseInt(s[2]),day:parseInt(s[4])||1,hour:parseInt(s[6])||0,minute:parseInt(s[8])||0,weekday:0,hasDay:!!s[4],hasTime:!(!s[6]||!s[8]),past:!1,present:!1,future:!1};return Hn(n),Fn(n),i&&On(n,i,n.hasTime),n}function An(t){return Fn({date:"",time:"",year:t.getFullYear(),month:t.getMonth()+1,day:t.getDate(),weekday:t.getDay(),hour:t.getHours(),minute:t.getMinutes(),hasDay:!0,hasTime:!0,past:!1,present:!0,future:!1})}function En(t){return 1e4*t.year+100*t.month+t.day}function Dn(t){return 100*t.hour+t.minute}function Mn(t){return 1e4*En(t)+Dn(t)}function On(t,e,i=!1){let s=En(e),n=En(t),a=s===n;return t.hasTime&&i&&a&&(s=Dn(e),n=Dn(t),a=s===n),t.past=n<s,t.present=a,t.future=n>s,t}function Ln(t){return t instanceof Date||"number"==typeof t&&isFinite(t)}function Vn(t,e,i){return t.hasTime!==e&&(t.hasTime=e,e||(t.hour=23,t.minute=59,t.time=Rn(t)),i&&On(t,i,t.hasTime)),t}function Pn(t,e,i){return t.hasTime=!0,t.hour=Math.floor(e/60),t.minute=e%60,t.time=Rn(t),i&&On(t,i,!0),t}function Hn(t){return t.weekday=function(t){if(t.hasDay){const e=Math.floor,i=t.day,s=(t.month+9)%12+1,n=e(t.year/100),a=t.year%100-(t.month<=2?1:0);return((i+e(2.6*s-.2)-2*n+a+e(a/4)+e(n/4))%7+7)%7}return t.weekday}(t),t}function Fn(t){return t.time=Rn(t),t.date=function(t){let e=`${Wn(t.year,4)}-${Wn(t.month,2)}`;t.hasDay&&(e+=`-${Wn(t.day,2)}`);return e}(t),t}function Nn(t,e){return $n(t)?Cn[e]:wn[e]}function zn(t){const{date:e,time:i,year:s,month:n,day:a,weekday:r,hour:o,minute:l,hasDay:h,hasTime:c,past:d,present:u,future:p}=t;return{date:e,time:i,year:s,month:n,day:a,weekday:r,hour:o,minute:l,hasDay:h,hasTime:c,past:d,present:u,future:p}}function Wn(t,e){let i=String(t);for(;i.length<e;)i="0"+i;return i}function Rn(t){return t.hasTime?`${Wn(t.hour,2)}:${Wn(t.minute,2)}`:""}function jn(t){return t.day++,t.weekday=(t.weekday+1)%7,t.day>28&&t.day>Nn(t.year,t.month)&&(t.day=1,t.month++,t.month>12&&(t.month=1,t.year++)),t}function Yn(t){return t.day--,t.weekday=(t.weekday+6)%7,t.day<1&&(t.month--,t.month<1&&(t.year--,t.month=12),t.day=Nn(t.year,t.month)),t}function Un(t,e=jn,i=1){for(;--i>=0;)e(t);return t}function Gn(t,e,i=jn,s=6){for(;t.weekday!==e&&--s>=0;)i(t);return t}function Kn(t){const e=`${Wn(t.hour,2)}:${Wn(t.minute,2)}`,i=t.date;return new Date(`${i}T${e}:00+00:00`)}function Xn(t,e,i,s,n=42,a=0){const r=En(e),o=[];let l=zn(t),h=0,c=h===r;if(r<En(t))throw new Error("End date is earlier than start date.");for(;(!c||o.length<a)&&o.length<n;){if(h=En(l),c=c||h===r,0===s[l.weekday]){l=jn(l);continue}const t=zn(l);Fn(t),On(t,i),o.push(t),l=Un(l,jn,s[l.weekday])}if(!o.length)throw new Error("No dates found using specified start date, end date, and weekdays.");return o}function qn(t,e){const i=(t,e)=>"";return"undefined"==typeof Intl||void 0===Intl.DateTimeFormat?i:(i,s)=>{try{return new Intl.DateTimeFormat(t||void 0,e(i,s)).format(Kn(i))}catch(Yo){return""}}}var Zn=e.default.extend({name:"times",props:{now:{type:String,validator:Tn}},data:()=>({times:{now:Bn("0000-00-00 00:00",!0),today:Bn("0000-00-00",!0)}}),computed:{parsedNow(){return this.now?Bn(this.now,!0):null}},watch:{parsedNow:"updateTimes"},created(){this.updateTimes(),this.setPresent()},methods:{setPresent(){this.times.now.present=this.times.today.present=!0,this.times.now.past=this.times.today.past=!1,this.times.now.future=this.times.today.future=!1},updateTimes(){const t=this.parsedNow||this.getNow();this.updateDay(t,this.times.now),this.updateTime(t,this.times.now),this.updateDay(t,this.times.today)},getNow:()=>An(new Date),updateDay(t,e){t.date!==e.date&&(e.year=t.year,e.month=t.month,e.day=t.day,e.weekday=t.weekday,e.date=t.date)},updateTime(t,e){t.time!==e.time&&(e.hour=t.hour,e.minute=t.minute,e.time=t.time)}}});function Jn(t,e=0){const i=t.map((t=>({event:t,columnCount:0,column:0,left:0,width:100})));return i.sort(((t,i)=>Math.max(e,t.event.startTimestampIdentifier)-Math.max(e,i.event.startTimestampIdentifier)||i.event.endTimestampIdentifier-t.event.endTimestampIdentifier)),i}function Qn(t,e,i,s,n=!0){return n?!(t>=s||e<=i):!(t>s||e<i)}function ta(t){t.forEach((e=>{e.visuals.forEach((e=>{e.columnCount=t.length}))}))}function ea(t){return[t.startTimestampIdentifier,t.endTimestampIdentifier]}function ia(t){return[t.startIdentifier,t.endIdentifier]}function sa(t,e){return[Math.max(e,t.startTimestampIdentifier),Math.min(e+864e5,t.endTimestampIdentifier)]}function na(t){const e={groups:[],min:-1,max:-1,reset:()=>{e.groups=[],e.min=e.max=-1},getVisuals:(i,s,n,a=!1)=>{(i.weekday===t||a)&&e.reset();const r=Jn(s,Mn(i));return r.forEach((t=>{const[i,s]=n?ea(t.event):ia(t.event);e.groups.length>0&&!Qn(i,s,e.min,e.max,n)&&(ta(e.groups),e.reset());let a=function(t,e,i,s){for(let n=0;n<t.length;n++){const a=t[n];let r=!1;if(Qn(e,i,a.start,a.end,s))for(let t=0;t<a.visuals.length;t++){const n=a.visuals[t],[o,l]=s?ea(n.event):ia(n.event);if(Qn(e,i,o,l,s)){r=!0;break}}if(!r)return n}return-1}(e.groups,i,s,n);-1===a&&(a=e.groups.length,e.groups.push({start:i,end:s,visuals:[]}));const r=e.groups[a];r.visuals.push(t),r.start=Math.min(r.start,i),r.end=Math.max(r.end,s),t.column=a,-1===e.min?(e.min=i,e.max=s):(e.min=Math.min(e.min,i),e.max=Math.max(e.max,s))})),ta(e.groups),n&&e.reset(),r}};return e}const aa=100;function ra(t,e){for(const i of t){const{visual:s,parent:n}=i,a=pa(i)+1,r=n?n.visual.left:0,o=aa-r,l=Math.min(5,aa/a),h=oa(i,t),c=o/(a-i.index+1),d=o/(a-i.index+(i.sibling?1:0))*h;n&&(s.left=i.sibling?r+c:r+l),s.width=da(i,t,e)?aa-s.left:Math.min(aa-s.left,1.7*d)}}function oa(t,e){if(!t.children.length)return 1;const i=t.index+e.length;return t.children.reduce(((t,e)=>Math.min(t,e.index)),i)-t.index}function la(t,e){const i=function(t,e){const i=[];for(const s of e)Qn(t.start,t.end,s.start,s.end)&&i.push(s.index);return i}(t,e);i.sort();for(let s=0;s<i.length;s++)if(s<i[s])return s;return!1}function ha(t,e,i,s,n=!1){const a=[];for(const r of e)r.index>=i&&r.index<=s&&Qn(t.start,t.end,r.start,r.end)&&a.push(r);if(n&&a.length>0){const t=a.reduce(((t,e)=>Math.min(t,e.index)),a[0].index);return a.filter((e=>e.index===t))}return a}function ca(t,e){let i=null;for(const s of e)Qn(t.start,t.end,s.start,s.end)&&(null===i||s.index>i.index)&&(i=s);return i}function da(t,e,i){for(const s of e)if(s!==t&&s.index>t.index&&Qn(t.start,ma(t.start,i),s.start,s.end))return!1;return!0}function ua(t,e){const[i,s]=sa(t.event,e);return{parent:null,sibling:!0,index:0,visual:t,start:i,end:s,children:[]}}function pa(t){let e=t.index;for(const i of t.children){const t=pa(i);t>e&&(e=t)}return e}function ma(t,e){const i=t%100,s=i+e;return t-i+100*Math.floor(s/60)+s%60}const ga={stack:(t,e,i)=>{const s=na(e);return(t,e,n,a)=>{if(!n)return s.getVisuals(t,e,n,a);const r=Mn(t),o=Jn(e,r),l=function(t,e){const i=[];for(const s of t){const[t,n]=sa(s.event,e);let a=!1;for(const e of i)if(Qn(t,n,e.start,e.end)){e.visuals.push(s),e.end=Math.max(e.end,n),a=!0;break}a||i.push({start:t,end:n,visuals:[s]})}return i}(o,r);for(const s of l){const t=[];for(const e of s.visuals){const s=ua(e,r),n=la(s,t);if(!1===n){const e=ca(s,t);e&&(s.parent=e,s.sibling=Qn(s.start,s.end,e.start,ma(e.start,i)),s.index=e.index+1,e.children.push(s))}else{const[e]=ha(s,t,n-1,n-1),a=ha(s,t,n+1,n+t.length,!0);s.children=a,s.index=n,e&&(s.parent=e,s.sibling=Qn(s.start,s.end,e.start,ma(e.start,i)),e.children.push(s));for(const t of a){t.parent===e&&(t.parent=s);t.index-s.index<=1&&s.sibling&&Qn(s.start,ma(s.start,i),t.start,t.end)&&(t.sibling=!0)}}t.push(s)}ra(t,i)}return o.sort(((t,e)=>t.left-e.left||t.event.startTimestampIdentifier-e.event.startTimestampIdentifier)),o}},column:(t,e,i)=>{const s=na(e);return(t,e,i,n)=>{const a=s.getVisuals(t,e,i,n);return i&&a.forEach((t=>{t.left=100*t.column/t.columnCount,t.width=100/t.columnCount})),a}}};var va={base:{start:{type:[String,Number,Date],validate:Tn,default:()=>An(new Date).date},end:{type:[String,Number,Date],validate:Tn},weekdays:{type:[Array,String],default:()=>[0,1,2,3,4,5,6],validate:function(t){"string"==typeof t&&(t=t.split(","));if(Array.isArray(t)){const e=t.map((t=>parseInt(t)));if(e.length>7||0===e.length)return!1;const i={};let s=!1;for(let t=0;t<e.length;t++){const n=e[t];if(!isFinite(n)||n<0||n>=7)return!1;if(t>0){const i=n-e[t-1];if(i<0){if(s)return!1;s=!0}else if(0===i)return!1}if(i[n])return!1;i[n]=!0}return!0}return!1}},hideHeader:{type:Boolean},shortWeekdays:{type:Boolean,default:!0},weekdayFormat:{type:Function,default:null},dayFormat:{type:Function,default:null}},intervals:{maxDays:{type:Number,default:7},shortIntervals:{type:Boolean,default:!0},intervalHeight:{type:[Number,String],default:48,validate:fa},intervalWidth:{type:[Number,String],default:60,validate:fa},intervalMinutes:{type:[Number,String],default:60,validate:fa},firstInterval:{type:[Number,String],default:0,validate:fa},firstTime:{type:[Number,String,Object],validate:function(t){return"number"==typeof t&&isFinite(t)||!!Sn.exec(t)||"object"==typeof t&&isFinite(t.hour)&&isFinite(t.minute)}},intervalCount:{type:[Number,String],default:24,validate:fa},intervalFormat:{type:Function,default:null},intervalStyle:{type:Function,default:null},showIntervalLabel:{type:Function,default:null}},weeks:{localeFirstDayOfYear:{type:[String,Number],default:0},minWeeks:{validate:fa,default:1},shortMonths:{type:Boolean,default:!0},showMonthOnFirst:{type:Boolean,default:!0},showWeek:Boolean,monthFormat:{type:Function,default:null}},calendar:{type:{type:String,default:"month"},value:{type:[String,Number,Date],validate:Tn}},category:{categories:{type:[Array,String],default:""},categoryText:{type:[String,Function]},categoryHideDynamic:{type:Boolean},categoryShowAll:{type:Boolean},categoryForInvalid:{type:String,default:""},categoryDays:{type:[Number,String],default:1,validate:t=>isFinite(parseInt(t))&&parseInt(t)>0}},events:{events:{type:Array,default:()=>[]},eventStart:{type:String,default:"start"},eventEnd:{type:String,default:"end"},eventTimed:{type:[String,Function],default:"timed"},eventCategory:{type:[String,Function],default:"category"},eventHeight:{type:Number,default:20},eventColor:{type:[String,Function],default:"primary"},eventTextColor:{type:[String,Function],default:"white"},eventName:{type:[String,Function],default:"name"},eventOverlapThreshold:{type:[String,Number],default:60},eventOverlapMode:{type:[String,Function],default:"stack",validate:t=>t in ga||"function"==typeof t},eventMore:{type:Boolean,default:!0},eventMoreText:{type:String,default:"$vuetify.calendar.moreEvents"},eventRipple:{type:[Boolean,Object],default:null},eventMarginBottom:{type:Number,default:1}}};function fa(t){return isFinite(parseInt(t))}var ya=rt(Xe,gn,vn,nt,Zn).extend({name:"calendar-base",directives:{Resize:Ci},props:va.base,computed:{parsedWeekdays(){return Array.isArray(this.weekdays)?this.weekdays:(this.weekdays||"").split(",").map((t=>parseInt(t,10)))},weekdaySkips(){return function(t){const e=[1,1,1,1,1,1,1],i=[0,0,0,0,0,0,0];for(let s=0;s<t.length;s++)i[t[s]]=1;for(let s=0;s<7;s++){let t=1;for(let e=1;e<7&&!i[(s+e)%7];e++)t++;e[s]=i[s]*t}return e}(this.parsedWeekdays)},weekdaySkipsReverse(){const t=this.weekdaySkips.slice();return t.reverse(),t},parsedStart(){return Bn(this.start,!0)},parsedEnd(){const t=this.parsedStart,e=this.end&&Bn(this.end)||t;return Mn(e)<Mn(t)?t:e},days(){return Xn(this.parsedStart,this.parsedEnd,this.times.today,this.weekdaySkips)},dayFormatter(){if(this.dayFormat)return this.dayFormat;const t={timeZone:"UTC",day:"numeric"};return qn(this.currentLocale,((e,i)=>t))},weekdayFormatter(){if(this.weekdayFormat)return this.weekdayFormat;const t={timeZone:"UTC",weekday:"long"},e={timeZone:"UTC",weekday:"short"};return qn(this.currentLocale,((i,s)=>s?e:t))}},methods:{getRelativeClasses:(t,e=!1)=>({"v-present":t.present,"v-past":t.past,"v-future":t.future,"v-outside":e}),getStartOfWeek(t){return function(t,e,i){const s=zn(t);return Gn(s,e[0],Yn),Fn(s),i&&On(s,i,s.hasTime),s}(t,this.parsedWeekdays,this.times.today)},getEndOfWeek(t){return function(t,e,i){const s=zn(t);return Gn(s,e[e.length-1]),Fn(s),i&&On(s,i,s.hasTime),s}(t,this.parsedWeekdays,this.times.today)},getFormatter(t){return qn(this.locale,((e,i)=>t))}}});function ba(t,e){return e>=t.startIdentifier&&e<=t.endIdentifier}function $a(t,e,i,s){return i===t.startIdentifier||s===e.weekday&&ba(t,i)}var xa=ya.extend({name:"calendar-with-events",directives:{ripple:Fi},props:{...va.events,...va.calendar,...va.category},computed:{noEvents(){return 0===this.events.length},parsedEvents(){return this.events.map(this.parseEvent)},parsedEventOverlapThreshold(){return parseInt(this.eventOverlapThreshold)},eventTimedFunction(){return"function"==typeof this.eventTimed?this.eventTimed:t=>!!t[this.eventTimed]},eventCategoryFunction(){return"function"==typeof this.eventCategory?this.eventCategory:t=>t[this.eventCategory]},eventTextColorFunction(){return"function"==typeof this.eventTextColor?this.eventTextColor:()=>this.eventTextColor},eventNameFunction(){return"function"==typeof this.eventName?this.eventName:(t,e)=>Bt(t.input[this.eventName]||"")},eventModeFunction(){return"function"==typeof this.eventOverlapMode?this.eventOverlapMode:ga[this.eventOverlapMode]},eventWeekdays(){return this.parsedWeekdays},categoryMode(){return"category"===this.type}},methods:{eventColorFunction(t){return"function"==typeof this.eventColor?this.eventColor(t):t.color||this.eventColor},parseEvent(t,e=0){return function(t,e,i,s,n=!1,a=!1){const r=t[i],o=t[s],l=Bn(r,!0),h=o?Bn(o,!0):l,c=Ln(r)?Vn(l,n):l,d=Ln(o)?Vn(h,n):h,u=En(c),p=Mn(c),m=En(d),g=c.hasTime?0:2359;return{input:t,start:c,startIdentifier:u,startTimestampIdentifier:p,end:d,endIdentifier:m,endTimestampIdentifier:Mn(d)+g,allDay:!c.hasTime,index:e,category:a}}(t,e,this.eventStart,this.eventEnd,this.eventTimedFunction(t),!!this.categoryMode&&this.eventCategoryFunction(t))},formatTime(t,e){return this.getFormatter({timeZone:"UTC",hour:"numeric",minute:t.minute>0?"numeric":void 0})(t,!0)},updateEventVisibility(){if(this.noEvents||!this.eventMore)return;const t=this.eventHeight,e=this.getEventsMap();for(const i in e){const{parent:s,events:n,more:a}=e[i];if(!a)break;const r=s.getBoundingClientRect(),o=n.length-1,l=n.map((t=>({event:t,bottom:t.getBoundingClientRect().bottom}))).sort(((t,e)=>t.bottom-e.bottom));let h=0;for(let e=0;e<=o;e++){const i=l[e].bottom;(e===o?i>r.bottom:i+t>r.bottom)&&(l[e].event.style.display="none",h++)}h?(a.style.display="",a.innerHTML=this.$vuetify.lang.t(this.eventMoreText,h)):a.style.display="none"}},getEventsMap(){const t={},e=this.$refs.events;return e&&e.forEach?(e.forEach((e=>{const i=e.getAttribute("data-date");e.parentElement&&i&&(i in t||(t[i]={parent:e.parentElement,more:null,events:[]}),e.getAttribute("data-more")?t[i].more=e:(t[i].events.push(e),e.style.display=""))})),t):t},genDayEvent({event:t},e){const i=this.eventHeight,s=this.eventMarginBottom,n=En(e),a=e.week,r=n===t.startIdentifier;let o=n===t.endIdentifier,l=95;if(!this.categoryMode)for(let c=e.index+1;c<a.length;c++){const e=En(a[c]);if(!(t.endIdentifier>=e)){o=!0;break}l+=100,o=o||e===t.endIdentifier}const h={eventParsed:t,day:e,start:r,end:o,timed:!1};return this.genEvent(t,h,!1,{staticClass:"v-event",class:{"v-event-start":r,"v-event-end":o},style:{height:`${i}px`,width:`${l}%`,"margin-bottom":`${s}px`},attrs:{"data-date":e.date},key:t.index,ref:"events",refInFor:!0})},genTimedEvent({event:t,left:e,width:i},s){if(s.timeDelta(t.end)<0||s.timeDelta(t.start)>=1||function(t,e){return"00:00"===t.end.time&&t.end.date===e.date&&t.start.date!==e.date}(t,s))return!1;const n=En(s),a=t.startIdentifier>=n,r=t.endIdentifier>n,o=a?s.timeToY(t.start):0,l=r?s.timeToY(1440):s.timeToY(t.end),h=Math.max(this.eventHeight,l-o),c={eventParsed:t,day:s,start:a,end:r,timed:!0};return this.genEvent(t,c,!0,{staticClass:"v-event-timed",style:{top:`${o}px`,height:`${h}px`,left:`${e}%`,width:`${i}%`}})},genEvent(t,e,i,s){var n;const a=this.$scopedSlots.event,r=this.eventTextColorFunction(t.input),o=this.eventColorFunction(t.input),l=t.start.hour<12&&t.end.hour>=12,h=(c=t.start,525600*((d=t.end).year-c.year)+43800*(d.month-c.month)+1440*(d.day-c.day)+60*(d.hour-c.hour)+(d.minute-c.minute)<=this.parsedEventOverlapThreshold);var c,d;const u=this.formatTime,p=()=>u(t.start,l)+" - "+u(t.end,!0),m=()=>{const e=this.eventNameFunction(t,i);if(t.start.hasTime){const s="v-event-summary";if(i){const t=p();return`<span class="${s}"><strong>${e}</strong>${h?", ":"<br>"}${t}</span>`}return`<span class="${s}"><strong>${u(t.start,!0)}</strong> ${e}</span>`}return e},g={...e,event:t.input,outside:e.day.outside,singline:h,overlapsNoon:l,formatTime:u,timeSummary:p,eventSummary:m};return this.$createElement("div",this.setTextColor(r,this.setBackgroundColor(o,{on:this.getDefaultMouseEventHandlers(":event",(t=>({...g,nativeEvent:t}))),directives:[{name:"ripple",value:null==(n=this.eventRipple)||n}],...s})),a?a(g):[this.genName(m)])},genName(t){return this.$createElement("div",{staticClass:"pl-1",domProps:{innerHTML:t()}})},genPlaceholder(t){const e=this.eventHeight+this.eventMarginBottom;return this.$createElement("div",{style:{height:`${e}px`},attrs:{"data-date":t.date},ref:"events",refInFor:!0})},genMore(t){var e;const i=this.eventHeight,s=this.eventMarginBottom;return this.$createElement("div",{staticClass:"v-event-more pl-1",class:{"v-outside":t.outside},attrs:{"data-date":t.date,"data-more":1},directives:[{name:"ripple",value:null==(e=this.eventRipple)||e}],on:this.getDefaultMouseEventHandlers(":more",(e=>({nativeEvent:e,...t}))),style:{display:"none",height:`${i}px`,"margin-bottom":`${s}px`},ref:"events",refInFor:!0})},getVisibleEvents(){const t=En(this.days[0]),e=En(this.days[this.days.length-1]);return this.parsedEvents.filter((i=>function(t,e,i){return e<=t.endIdentifier&&i>=t.startIdentifier}(i,t,e)))},isEventForCategory(t,e){return!this.categoryMode||"object"==typeof e&&e.categoryName&&e.categoryName===t.category||"string"==typeof t.category&&e===t.category||"string"!=typeof t.category&&null===e},getEventsForDay(t){const e=En(t),i=this.eventWeekdays[0];return this.parsedEvents.filter((s=>$a(s,t,e,i)))},getEventsForDayAll(t){const e=En(t),i=this.eventWeekdays[0];return this.parsedEvents.filter((s=>s.allDay&&(this.categoryMode?ba(s,e):$a(s,t,e,i))&&this.isEventForCategory(s,t.category)))},getEventsForDayTimed(t){const e=En(t);return this.parsedEvents.filter((i=>!i.allDay&&ba(i,e)&&this.isEventForCategory(i,t.category)))},getScopedSlots(){if(this.noEvents)return{...this.$scopedSlots};const t=this.eventModeFunction(this.parsedEvents,this.eventWeekdays[0],this.parsedEventOverlapThreshold),e=t=>!!t,i=(i,s,n,a)=>{const r=s(i),o=t(i,r,a,this.categoryMode);if(a)return o.map((t=>n(t,i))).filter(e);const l=[];return o.forEach(((t,e)=>{for(;l.length<t.column;)l.push(this.genPlaceholder(i));const s=n(t,i);s&&l.push(s)})),l},s=this.$scopedSlots,n=s.day,a=s["day-header"],r=s["day-body"];return{...s,day:t=>{let e=i(t,this.getEventsForDay,this.genDayEvent,!1);if(e&&e.length>0&&this.eventMore&&e.push(this.genMore(t)),n){const i=n(t);i&&(e=e?e.concat(i):i)}return e},"day-header":t=>{let e=i(t,this.getEventsForDayAll,this.genDayEvent,!1);if(a){const i=a(t);i&&(e=e?e.concat(i):i)}return e},"day-body":t=>{const e=i(t,this.getEventsForDayTimed,this.genTimedEvent,!0);let s=[this.$createElement("div",{staticClass:"v-event-timed-container"},e)];if(r){const e=r(t);e&&(s=s.concat(e))}return s}}}}}),Sa=ya.extend({name:"v-calendar-weekly",props:va.weeks,computed:{staticClass:()=>"v-calendar-weekly",classes(){return this.themeClasses},parsedMinWeeks(){return parseInt(this.minWeeks)},days(){const t=this.parsedMinWeeks*this.parsedWeekdays.length;return Xn(this.getStartOfWeek(this.parsedStart),this.getEndOfWeek(this.parsedEnd),this.times.today,this.weekdaySkips,Number.MAX_SAFE_INTEGER,t)},todayWeek(){const t=this.times.today;return Xn(this.getStartOfWeek(t),this.getEndOfWeek(t),t,this.weekdaySkips,this.parsedWeekdays.length,this.parsedWeekdays.length)},monthFormatter(){if(this.monthFormat)return this.monthFormat;const t={timeZone:"UTC",month:"long"},e={timeZone:"UTC",month:"short"};return qn(this.currentLocale,((i,s)=>s?e:t))}},methods:{isOutside(t){const e=En(t);return e<En(this.parsedStart)||e>En(this.parsedEnd)},genHead(){return this.$createElement("div",{staticClass:"v-calendar-weekly__head"},this.genHeadDays())},genHeadDays(){const t=this.todayWeek.map(this.genHeadDay);return this.showWeek&&t.unshift(this.$createElement("div",{staticClass:"v-calendar-weekly__head-weeknumber"})),t},genHeadDay(t,e){const i=this.isOutside(this.days[e]),s=t.present?this.color:void 0;return this.$createElement("div",this.setTextColor(s,{key:t.date,staticClass:"v-calendar-weekly__head-weekday",class:this.getRelativeClasses(t,i)}),this.weekdayFormatter(t,this.shortWeekdays))},genWeeks(){const t=this.days,e=this.parsedWeekdays.length,i=[];for(let s=0;s<t.length;s+=e)i.push(this.genWeek(t.slice(s,s+e),this.getWeekNumber(t[s])));return i},genWeek(t,e){const i=t.map(((e,i)=>this.genDay(e,i,t)));return this.showWeek&&i.unshift(this.genWeekNumber(e)),this.$createElement("div",{key:t[0].date,staticClass:"v-calendar-weekly__week"},i)},getWeekNumber(t){return bn(t.year,t.month-1,t.day,this.parsedWeekdays[0],parseInt(this.localeFirstDayOfYear))},genWeekNumber(t){return this.$createElement("div",{staticClass:"v-calendar-weekly__weeknumber"},[this.$createElement("small",String(t))])},genDay(t,e,i){const s=this.isOutside(t);return this.$createElement("div",{key:t.date,staticClass:"v-calendar-weekly__day",class:this.getRelativeClasses(t,s),on:this.getDefaultMouseEventHandlers(":day",(e=>({nativeEvent:e,...t})))},[this.genDayLabel(t),...Rt(this,"day",(()=>({outside:s,index:e,week:i,...t})))||[]])},genDayLabel(t){return this.$createElement("div",{staticClass:"v-calendar-weekly__day-label"},Rt(this,"day-label",t)||[this.genDayLabelButton(t)])},genDayLabelButton(t){const e=t.present?this.color:"transparent",i=1===t.day&&this.showMonthOnFirst;return this.$createElement(ns,{props:{color:e,fab:!0,depressed:!0,small:!0},on:this.getMouseEventHandlers({"click:date":{event:"click",stop:!0},"contextmenu:date":{event:"contextmenu",stop:!0,prevent:!0,result:!1}},(e=>({nativeEvent:e,...t})))},i?this.monthFormatter(t,this.shortMonths)+" "+this.dayFormatter(t,!1):this.dayFormatter(t,!1))},genDayMonth(t){const e=t.present?this.color:void 0;return this.$createElement("div",this.setTextColor(e,{staticClass:"v-calendar-weekly__day-month"}),Rt(this,"day-month",t)||this.monthFormatter(t,this.shortMonths))}},render(t){return t("div",{staticClass:this.staticClass,class:this.classes,on:{dragstart:t=>{t.preventDefault()}}},[this.hideHeader?"":this.genHead(),...this.genWeeks()])}}),wa=Sa.extend({name:"v-calendar-monthly",computed:{staticClass:()=>"v-calendar-monthly v-calendar-weekly",parsedStart(){return kn(Bn(this.start,!0))},parsedEnd(){return _n(Bn(this.end,!0))}}}),Ca=ya.extend({name:"calendar-with-intervals",props:va.intervals,computed:{parsedFirstInterval(){return parseInt(this.firstInterval)},parsedIntervalMinutes(){return parseInt(this.intervalMinutes)},parsedIntervalCount(){return parseInt(this.intervalCount)},parsedIntervalHeight(){return parseFloat(this.intervalHeight)},parsedFirstTime(){return In(this.firstTime)},firstMinute(){const t=this.parsedFirstTime;return!1!==t&&t>=0&&t<=1440?t:this.parsedFirstInterval*this.parsedIntervalMinutes},bodyHeight(){return this.parsedIntervalCount*this.parsedIntervalHeight},days(){return Xn(this.parsedStart,this.parsedEnd,this.times.today,this.weekdaySkips,this.maxDays)},intervals(){const t=this.days,e=this.firstMinute,i=this.parsedIntervalMinutes,s=this.parsedIntervalCount,n=this.times.now;return t.map((t=>function(t,e,i,s,n){const a=[];for(let r=0;r<s;r++){const s=e+r*i,o=zn(t);a.push(Pn(o,s,n))}return a}(t,e,i,s,n)))},intervalFormatter(){if(this.intervalFormat)return this.intervalFormat;const t={timeZone:"UTC",hour:"2-digit",minute:"2-digit"},e={timeZone:"UTC",hour:"numeric",minute:"2-digit"},i={timeZone:"UTC",hour:"numeric"};return qn(this.currentLocale,((s,n)=>n?0===s.minute?i:e:t))}},methods:{showIntervalLabelDefault(t){const e=this.intervals[0][0];return!(e.hour===t.hour&&e.minute===t.minute)},intervalStyleDefault(t){},getTimestampAtEvent(t,e){const i=zn(e),s=t.currentTarget.getBoundingClientRect(),n=this.firstMinute,a=t,r=t,o=a.changedTouches||a.touches,l=((o&&o[0]?o[0].clientY:r.clientY)-s.top)/this.parsedIntervalHeight;return Pn(i,n+Math.floor(l*this.parsedIntervalMinutes),this.times.now)},getSlotScope(t){const e=zn(t);return e.timeToY=this.timeToY,e.timeDelta=this.timeDelta,e.minutesToPixels=this.minutesToPixels,e.week=this.days,e},scrollToTime(t){const e=this.timeToY(t),i=this.$refs.scrollArea;return!(!1===e||!i)&&(i.scrollTop=e,!0)},minutesToPixels(t){return t/this.parsedIntervalMinutes*this.parsedIntervalHeight},timeToY(t,e=!0){let i=this.timeDelta(t);return!1!==i&&(i*=this.bodyHeight,e&&(i<0&&(i=0),i>this.bodyHeight&&(i=this.bodyHeight))),i},timeDelta(t){const e=In(t);if(!1===e)return!1;return(e-this.firstMinute)/(this.parsedIntervalCount*this.parsedIntervalMinutes)}}}).extend({name:"v-calendar-daily",directives:{Resize:Ci},data:()=>({scrollPush:0}),computed:{classes(){return{"v-calendar-daily":!0,...this.themeClasses}}},mounted(){this.init()},methods:{init(){this.$nextTick(this.onResize)},onResize(){this.scrollPush=this.getScrollPush()},getScrollPush(){const t=this.$refs.scrollArea,e=this.$refs.pane;return t&&e?t.offsetWidth-e.offsetWidth:0},genHead(){return this.$createElement("div",{staticClass:"v-calendar-daily__head",style:{marginRight:this.scrollPush+"px"}},[this.genHeadIntervals(),...this.genHeadDays()])},genHeadIntervals(){const t=Et(this.intervalWidth);return this.$createElement("div",{staticClass:"v-calendar-daily__intervals-head",style:{width:t}},Rt(this,"interval-header"))},genHeadDays(){return this.days.map(this.genHeadDay)},genHeadDay(t,e){return this.$createElement("div",{key:t.date,staticClass:"v-calendar-daily_head-day",class:this.getRelativeClasses(t),on:this.getDefaultMouseEventHandlers(":day",(e=>({nativeEvent:e,...this.getSlotScope(t)})))},[this.genHeadWeekday(t),this.genHeadDayLabel(t),...this.genDayHeader(t,e)])},genDayHeader(t,e){return Rt(this,"day-header",(()=>({week:this.days,...t,index:e})))||[]},genHeadWeekday(t){const e=t.present?this.color:void 0;return this.$createElement("div",this.setTextColor(e,{staticClass:"v-calendar-daily_head-weekday"}),this.weekdayFormatter(t,this.shortWeekdays))},genHeadDayLabel(t){return this.$createElement("div",{staticClass:"v-calendar-daily_head-day-label"},Rt(this,"day-label-header",t)||[this.genHeadDayButton(t)])},genHeadDayButton(t){const e=t.present?this.color:"transparent";return this.$createElement(ns,{props:{color:e,fab:!0,depressed:!0},on:this.getMouseEventHandlers({"click:date":{event:"click",stop:!0},"contextmenu:date":{event:"contextmenu",stop:!0,prevent:!0,result:!1}},(e=>({nativeEvent:e,...t})))},this.dayFormatter(t,!1))},genBody(){return this.$createElement("div",{staticClass:"v-calendar-daily__body"},[this.genScrollArea()])},genScrollArea(){return this.$createElement("div",{ref:"scrollArea",staticClass:"v-calendar-daily__scroll-area"},[this.genPane()])},genPane(){return this.$createElement("div",{ref:"pane",staticClass:"v-calendar-daily__pane",style:{height:Et(this.bodyHeight)}},[this.genDayContainer()])},genDayContainer(){return this.$createElement("div",{staticClass:"v-calendar-daily__day-container"},[this.genBodyIntervals(),...this.genDays()])},genDays(){return this.days.map(this.genDay)},genDay(t,e){return this.$createElement("div",{key:t.date,staticClass:"v-calendar-daily__day",class:this.getRelativeClasses(t),on:this.getDefaultMouseEventHandlers(":time",(e=>({nativeEvent:e,...this.getSlotScope(this.getTimestampAtEvent(e,t))})))},[...this.genDayIntervals(e),...this.genDayBody(t)])},genDayBody(t){return Rt(this,"day-body",(()=>this.getSlotScope(t)))||[]},genDayIntervals(t){return this.intervals[t].map(this.genDayInterval)},genDayInterval(t){const e=Et(this.intervalHeight),i=this.intervalStyle||this.intervalStyleDefault,s={key:t.time,staticClass:"v-calendar-daily__day-interval",style:{height:e,...i(t)}},n=Rt(this,"interval",(()=>this.getSlotScope(t)));return this.$createElement("div",s,n)},genBodyIntervals(){const t={staticClass:"v-calendar-daily__intervals-body",style:{width:Et(this.intervalWidth)},on:this.getDefaultMouseEventHandlers(":interval",(t=>({nativeEvent:t,...this.getTimestampAtEvent(t,this.parsedStart)})))};return this.$createElement("div",t,this.genIntervalLabels())},genIntervalLabels(){return this.intervals.length?this.intervals[0].map(this.genIntervalLabel):null},genIntervalLabel(t){const e=Et(this.intervalHeight),i=this.shortIntervals,s=(this.showIntervalLabel||this.showIntervalLabelDefault)(t)?this.intervalFormatter(t,i):void 0;return this.$createElement("div",{key:t.time,staticClass:"v-calendar-daily__interval",style:{height:e}},[this.$createElement("div",{staticClass:"v-calendar-daily__interval-text"},s)])}},render(t){return t("div",{class:this.classes,on:{dragstart:t=>{t.preventDefault()}},directives:[{modifiers:{quiet:!0},name:"resize",value:this.onResize}]},[this.hideHeader?"":this.genHead(),this.genBody()])}});function ka(t,e){return"string"==typeof t?t.split(/\s*,\s/):Array.isArray(t)?t.map((t=>{if("string"==typeof t)return t;const i="string"==typeof t.categoryName?t.categoryName:function(t,e){return"string"==typeof e&&"object"==typeof t&&t?t[e]:"function"==typeof e?e(t):t}(t,e);return{...t,categoryName:i}})):[]}var _a=Ca.extend({name:"v-calendar-category",props:va.category,computed:{classes(){return{"v-calendar-daily":!0,"v-calendar-category":!0,...this.themeClasses}},parsedCategories(){return ka(this.categories,this.categoryText)}},methods:{genDayHeader(t,e){const i={week:this.days,...t,index:e},s=this.parsedCategories.map((e=>this.genDayHeaderCategory(t,this.getCategoryScope(i,e))));return[this.$createElement("div",{staticClass:"v-calendar-category__columns"},s)]},getCategoryScope(t,e){return{...t,category:"object"==typeof e&&e&&e.categoryName===this.categoryForInvalid?null:e}},genDayHeaderCategory(t,e){const i="object"==typeof e.category?e.category.categoryName:e.category;return this.$createElement("div",{staticClass:"v-calendar-category__column-header",on:this.getDefaultMouseEventHandlers(":day-category",(i=>this.getCategoryScope(this.getSlotScope(t),e.category)))},[Rt(this,"category",e)||this.genDayHeaderCategoryTitle(i),Rt(this,"day-header",e)])},genDayHeaderCategoryTitle(t){return this.$createElement("div",{staticClass:"v-calendar-category__category"},null===t?this.categoryForInvalid:t)},genDays(){const t=[];return this.days.forEach(((e,i)=>{const s=new Array(this.parsedCategories.length||1);s.fill(e),t.push(...s.map(((t,e)=>this.genDay(t,i,e))))})),t},genDay(t,e,i){const s=this.parsedCategories[i];return this.$createElement("div",{key:t.date+"-"+i,staticClass:"v-calendar-daily__day",class:this.getRelativeClasses(t),on:this.getDefaultMouseEventHandlers(":time",(e=>this.getSlotScope(this.getTimestampAtEvent(e,t))))},[...this.genDayIntervals(e,s),...this.genDayBody(t,s)])},genDayIntervals(t,e){return this.intervals[t].map((t=>this.genDayInterval(t,e)))},genDayInterval(t,e){const i=Et(this.intervalHeight),s=this.intervalStyle||this.intervalStyleDefault,n={key:t.time,staticClass:"v-calendar-daily__day-interval",style:{height:i,...s({...t,category:e})}},a=Rt(this,"interval",(()=>this.getCategoryScope(this.getSlotScope(t),e)));return this.$createElement("div",n,a)},genDayBody(t,e){const i=[this.genDayBodyCategory(t,e)];return[this.$createElement("div",{staticClass:"v-calendar-category__columns"},i)]},genDayBodyCategory(t,e){const i={staticClass:"v-calendar-category__column",on:this.getDefaultMouseEventHandlers(":time-category",(i=>this.getCategoryScope(this.getSlotScope(this.getTimestampAtEvent(i,t)),e)))},s=Rt(this,"day-body",(()=>this.getCategoryScope(this.getSlotScope(t),e)));return this.$createElement("div",i,s)}}});xa.extend({name:"v-calendar",props:{...va.calendar,...va.weeks,...va.intervals,...va.category},data:()=>({lastStart:null,lastEnd:null}),computed:{parsedValue(){return Tn(this.value)?Bn(this.value,!0):this.parsedStart||this.times.today},parsedCategoryDays(){return parseInt(this.categoryDays)||1},renderProps(){const t=this.parsedValue;let e=null,i=this.maxDays,s=this.parsedWeekdays,n=this.parsedCategories,a=t,r=t;switch(this.type){case"month":e=wa,a=kn(t),r=_n(t);break;case"week":e=Ca,a=this.getStartOfWeek(t),r=this.getEndOfWeek(t),i=7;break;case"day":e=Ca,i=1,s=[a.weekday];break;case"4day":e=Ca,r=Un(zn(r),jn,3),Fn(r),i=4,s=[a.weekday,(a.weekday+1)%7,(a.weekday+2)%7,(a.weekday+3)%7];break;case"custom-weekly":e=Sa,a=this.parsedStart||t,r=this.parsedEnd;break;case"custom-daily":e=Ca,a=this.parsedStart||t,r=this.parsedEnd;break;case"category":const o=this.parsedCategoryDays;e=_a,r=Un(zn(r),jn,o),Fn(r),i=o,s=[];for(let t=0;t<o;t++)s.push((a.weekday+t)%7);n=this.getCategoryList(n);break;default:throw new Error(this.type+" is not a valid Calendar type")}return{component:e,start:a,end:r,maxDays:i,weekdays:s,categories:n}},eventWeekdays(){return this.renderProps.weekdays},categoryMode(){return"category"===this.type},title(){const{start:t,end:e}=this.renderProps,i=t.year!==e.year,s=i||t.month!==e.month;return i?this.monthShortFormatter(t,!0)+" "+t.year+" - "+this.monthShortFormatter(e,!0)+" "+e.year:s?this.monthShortFormatter(t,!0)+" - "+this.monthShortFormatter(e,!0)+" "+e.year:this.monthLongFormatter(t,!1)+" "+t.year},monthLongFormatter(){return this.getFormatter({timeZone:"UTC",month:"long"})},monthShortFormatter(){return this.getFormatter({timeZone:"UTC",month:"short"})},parsedCategories(){return ka(this.categories,this.categoryText)}},watch:{renderProps:"checkChange"},mounted(){this.updateEventVisibility(),this.checkChange()},updated(){window.requestAnimationFrame(this.updateEventVisibility)},methods:{checkChange(){const{lastStart:t,lastEnd:e}=this,{start:i,end:s}=this.renderProps;t&&e&&i.date===t.date&&s.date===e.date||(this.lastStart=i,this.lastEnd=s,this.$emit("change",{start:i,end:s}))},move(t=1){const e=zn(this.parsedValue),i=t>0,s=i?jn:Yn,n=i?31:1;let a=i?t:-t;for(;--a>=0;)switch(this.type){case"month":e.day=n,s(e);break;case"week":Un(e,s,7);break;case"day":Un(e,s,1);break;case"4day":Un(e,s,4);break;case"category":Un(e,s,this.parsedCategoryDays)}Hn(e),Fn(e),On(e,this.times.now),this.value instanceof Date?this.$emit("input",Kn(e)):"number"==typeof this.value?this.$emit("input",Kn(e).getTime()):this.$emit("input",e.date),this.$emit("moved",e)},next(t=1){this.move(t)},prev(t=1){this.move(-t)},timeToY(t,e=!0){const i=this.$children[0];return!(!i||!i.timeToY)&&i.timeToY(t,e)},timeDelta(t){const e=this.$children[0];return!(!e||!e.timeDelta)&&e.timeDelta(t)},minutesToPixels(t){const e=this.$children[0];return e&&e.minutesToPixels?e.minutesToPixels(t):-1},scrollToTime(t){const e=this.$children[0];return!(!e||!e.scrollToTime)&&e.scrollToTime(t)},parseTimestamp(t,e){return Bn(t,e,this.times.now)},timestampToDate:t=>Kn(t),getCategoryList(t){if(!this.noEvents){const e=t.reduce(((t,e,i)=>("object"==typeof e&&e.categoryName?t[e.categoryName]={index:i,count:0}:"string"==typeof e&&(t[e]={index:i,count:0}),t)),{});if(!this.categoryHideDynamic||!this.categoryShowAll){let i=t.length;this.parsedEvents.forEach((t=>{let s=t.category;"string"!=typeof s&&(s=this.categoryForInvalid),s&&(s in e?e[s].count++:this.categoryHideDynamic||(e[s]={index:i++,count:1}))}))}if(!this.categoryShowAll)for(const t in e)0===e[t].count&&delete e[t];t=t.filter((t=>"object"==typeof t&&t.categoryName?e.hasOwnProperty(t.categoryName):"string"==typeof t&&e.hasOwnProperty(t)))}return t}},render(t){const{start:e,end:i,maxDays:s,component:n,weekdays:a,categories:r}=this.renderProps;return t(n,{staticClass:"v-calendar",class:{"v-calendar-events":!this.noEvents},props:{...this.$props,start:e.date,end:i.date,maxDays:s,weekdays:a,categories:r},directives:[{modifiers:{quiet:!0},name:"resize",value:this.updateEventVisibility}],on:{...this.$listeners,"click:date":(t,e)=>{this.$listeners.input&&this.$emit("input",t.date),this.$listeners["click:date"]&&this.$emit("click:date",t,e)}},scopedSlots:this.getScopedSlots()})}});rt(Js,ss,Qe).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,...ss.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,...Qe.options.computed.classes.call(this)}},styles(){const t={...Qe.options.computed.styles.call(this)};return this.img&&(t.background=`url("${this.img}") center center / cover no-repeat`),t}},methods:{genProgress(){const t=Js.options.methods.genProgress.call(this);return t?this.$createElement("div",{staticClass:"v-card__progress",key:"progress"},[t]):null}},render(t){const{tag:e,data:i}=this.generateRouteLink();return i.style=this.styles,this.isClickable&&(i.attrs=i.attrs||{},i.attrs.tabindex=0),t(e,this.setBackgroundColor(this.color,i),[this.genProgress(),this.$slots.default])}}),bt("v-card__actions"),bt("v-card__subtitle"),bt("v-card__text"),bt("v-card__title");var Ia=Fs.extend({name:"v-window",directives:{Touch:Wi},provide(){return{windowGroup:this}},props:{activeClass:{type:String,default:"v-window-item--active"},continuous:Boolean,mandatory:{type:Boolean,default:!0},nextIcon:{type:[Boolean,String],default:"$next"},prevIcon:{type:[Boolean,String],default:"$prev"},reverse:Boolean,showArrows:Boolean,showArrowsOnHover:Boolean,touch:Object,touchless:Boolean,value:{required:!1},vertical:Boolean},data:()=>({changedByDelimiters:!1,internalHeight:void 0,transitionHeight:void 0,transitionCount:0,isBooted:!1,isReverse:!1}),computed:{isActive(){return this.transitionCount>0},classes(){return{...Fs.options.computed.classes.call(this),"v-window--show-arrows-on-hover":this.showArrowsOnHover}},computedTransition(){if(!this.isBooted)return"";return`v-window-${this.vertical?"y":"x"}${(this.internalReverse?!this.isReverse:this.isReverse)?"-reverse":""}-transition`},hasActiveItems(){return Boolean(this.items.find((t=>!t.disabled)))},hasNext(){return this.continuous||this.internalIndex<this.items.length-1},hasPrev(){return this.continuous||this.internalIndex>0},internalIndex(){return this.items.findIndex(((t,e)=>this.internalValue===this.getValue(t,e)))},internalReverse(){return this.$vuetify.rtl?!this.reverse:this.reverse}},watch:{internalIndex(t,e){this.isReverse=this.updateReverse(t,e)}},mounted(){window.requestAnimationFrame((()=>this.isBooted=!0))},methods:{genDefaultSlot(){return this.$slots.default},genContainer(){const t=[this.genDefaultSlot()];return this.showArrows&&t.push(this.genControlIcons()),this.$createElement("div",{staticClass:"v-window__container",class:{"v-window__container--is-active":this.isActive},style:{height:this.internalHeight||this.transitionHeight}},t)},genIcon(t,e,i){var s,n,a;const r={click:t=>{t.stopPropagation(),this.changedByDelimiters=!0,i()}},o={"aria-label":this.$vuetify.lang.t(`$vuetify.carousel.${t}`)},l=null!=(s=null==(n=(a=this.$scopedSlots)[t])?void 0:n.call(a,{on:r,attrs:o}))?s:[this.$createElement(ns,{props:{icon:!0},attrs:o,on:r},[this.$createElement(Zi,{props:{large:!0}},e)])];return this.$createElement("div",{staticClass:`v-window__${t}`},l)},genControlIcons(){const t=[],e=this.$vuetify.rtl?this.nextIcon:this.prevIcon;if(this.hasPrev&&e&&"string"==typeof e){const i=this.genIcon("prev",e,this.prev);i&&t.push(i)}const i=this.$vuetify.rtl?this.prevIcon:this.nextIcon;if(this.hasNext&&i&&"string"==typeof i){const e=this.genIcon("next",i,this.next);e&&t.push(e)}return t},getNextIndex(t){const e=(t+1)%this.items.length;return this.items[e].disabled?this.getNextIndex(e):e},getPrevIndex(t){const e=(t+this.items.length-1)%this.items.length;return this.items[e].disabled?this.getPrevIndex(e):e},next(){if(!this.hasActiveItems||!this.hasNext)return;const t=this.getNextIndex(this.internalIndex),e=this.items[t];this.internalValue=this.getValue(e,t)},prev(){if(!this.hasActiveItems||!this.hasPrev)return;const t=this.getPrevIndex(this.internalIndex),e=this.items[t];this.internalValue=this.getValue(e,t)},updateReverse(t,e){const i=this.items.length,s=i-1;return i<=2?t<e:t===s&&0===e||(0!==t||e!==s)&&t<e}},render(t){const e={staticClass:"v-window",class:this.classes,directives:[]};if(!this.touchless){const t=this.touch||{left:()=>{this.$vuetify.rtl?this.prev():this.next()},right:()=>{this.$vuetify.rtl?this.next():this.prev()},end:t=>{t.stopPropagation()},start:t=>{t.stopPropagation()}};e.directives.push({name:"touch",value:t})}return t("div",e,[this.genContainer()])}});Ia.extend({name:"v-carousel",props:{continuous:{type:Boolean,default:!0},cycle:Boolean,delimiterIcon:{type:String,default:"$delimiter"},height:{type:[Number,String],default:500},hideDelimiters:Boolean,hideDelimiterBackground:Boolean,interval:{type:[Number,String],default:6e3,validator:t=>t>0},mandatory:{type:Boolean,default:!0},progress:Boolean,progressColor:String,showArrows:{type:Boolean,default:!0},verticalDelimiters:{type:String,default:void 0}},provide(){return{parentTheme:this.theme}},data(){return{internalHeight:this.height,slideTimeout:void 0}},computed:{classes(){return{...Ia.options.computed.classes.call(this),"v-carousel":!0,"v-carousel--hide-delimiter-background":this.hideDelimiterBackground,"v-carousel--vertical-delimiters":this.isVertical}},isDark(){return this.dark||!this.light},isVertical(){return null!=this.verticalDelimiters}},watch:{internalValue:"restartTimeout",interval:"restartTimeout",height(t,e){t!==e&&t&&(this.internalHeight=t)},cycle(t){t?this.restartTimeout():(clearTimeout(this.slideTimeout),this.slideTimeout=void 0)}},created(){this.$attrs.hasOwnProperty("hide-controls")&&Ye("hide-controls",':show-arrows="false"',this)},mounted(){this.startTimeout()},methods:{genControlIcons(){return this.isVertical?null:Ia.options.methods.genControlIcons.call(this)},genDelimiters(){return this.$createElement("div",{staticClass:"v-carousel__controls",style:{left:"left"===this.verticalDelimiters&&this.isVertical?0:"auto",right:"right"===this.verticalDelimiters?0:"auto"}},[this.genItems()])},genItems(){const t=this.items.length,e=[];for(let i=0;i<t;i++){const s=this.$createElement(ns,{staticClass:"v-carousel__controls__item",attrs:{"aria-label":this.$vuetify.lang.t("$vuetify.carousel.ariaLabel.delimiter",i+1,t)},props:{icon:!0,small:!0,value:this.getValue(this.items[i],i)}},[this.$createElement(Zi,{props:{size:18}},this.delimiterIcon)]);e.push(s)}return this.$createElement(hn,{props:{value:this.internalValue,mandatory:this.mandatory},on:{change:t=>{this.internalValue=t}}},e)},genProgress(){return this.$createElement(Zs,{staticClass:"v-carousel__progress",props:{color:this.progressColor,value:(this.internalIndex+1)/this.items.length*100}})},restartTimeout(){this.slideTimeout&&clearTimeout(this.slideTimeout),this.slideTimeout=void 0,window.requestAnimationFrame(this.startTimeout)},startTimeout(){this.cycle&&(this.slideTimeout=window.setTimeout(this.next,+this.interval>0?+this.interval:6e3))}},render(t){const e=Ia.options.render.call(this,t);return e.data.style=`height: ${Et(this.height)};`,this.hideDelimiters||e.children.push(this.genDelimiters()),(this.progress||this.progressColor)&&e.children.push(this.genProgress()),e}});var Ta=rt(ks,is("windowGroup","v-window-item","v-window")).extend().extend().extend({name:"v-window-item",directives:{Touch:Wi},props:{disabled:Boolean,reverseTransition:{type:[Boolean,String],default:void 0},transition:{type:[Boolean,String],default:void 0},value:{required:!1}},data:()=>({isActive:!1,inTransition:!1}),computed:{classes(){return this.groupClasses},computedTransition(){return this.windowGroup.internalReverse?void 0!==this.reverseTransition?this.reverseTransition||"":this.windowGroup.computedTransition:void 0!==this.transition?this.transition||"":this.windowGroup.computedTransition}},methods:{genDefaultSlot(){return this.$slots.default},genWindowItem(){return this.$createElement("div",{staticClass:"v-window-item",class:this.classes,directives:[{name:"show",value:this.isActive}],on:this.$listeners},this.genDefaultSlot())},onAfterTransition(){this.inTransition&&(this.inTransition=!1,this.windowGroup.transitionCount>0&&(this.windowGroup.transitionCount--,0===this.windowGroup.transitionCount&&(this.windowGroup.transitionHeight=void 0)))},onBeforeTransition(){this.inTransition||(this.inTransition=!0,0===this.windowGroup.transitionCount&&(this.windowGroup.transitionHeight=Et(this.windowGroup.$el.clientHeight)),this.windowGroup.transitionCount++)},onTransitionCancelled(){this.onAfterTransition()},onEnter(t){this.inTransition&&this.$nextTick((()=>{this.computedTransition&&this.inTransition&&(this.windowGroup.transitionHeight=Et(t.clientHeight))}))}},render(t){return t("transition",{props:{name:this.computedTransition},on:{beforeEnter:this.onBeforeTransition,afterEnter:this.onAfterTransition,enterCancelled:this.onTransitionCancelled,beforeLeave:this.onBeforeTransition,afterLeave:this.onAfterTransition,leaveCancelled:this.onTransitionCancelled,enter:this.onEnter}},this.showLazyContent((()=>[this.genWindowItem()])))}});rt(Ta,ss).extend().extend({name:"v-carousel-item",inject:{parentTheme:{default:{isDark:!1}}},provide(){return{theme:this.parentTheme}},inheritAttrs:!1,methods:{genDefaultSlot(){return[this.$createElement(di,{staticClass:"v-carousel__item",props:{...this.$attrs,height:this.windowGroup.internalHeight},on:this.$listeners,scopedSlots:{placeholder:this.$scopedSlots.placeholder}},Rt(this))]},genWindowItem(){const{tag:t,data:e}=this.generateRouteLink();return e.staticClass="v-window-item",e.directives.push({name:"show",value:this.isActive}),this.$createElement(t,e,this.genDefaultSlot())}}});var Ba=e.default.extend({name:"rippleable",directives:{ripple:Fi},props:{ripple:{type:[Boolean,Object],default:!0}},methods:{genRipple(t={}){return this.ripple?(t.staticClass="v-input--selection-controls__ripple",t.directives=t.directives||[],t.directives.push({name:"ripple",value:{center:!0}}),this.$createElement("div",t)):null}}});function Aa(t){t.preventDefault()}var Ea=rt(Ks,Ba,Ps).extend({name:"selectable",model:{prop:"inputValue",event:"change"},props:{id:String,inputValue:null,falseValue:null,trueValue:null,multiple:{type:Boolean,default:null},label:String},data(){return{hasColor:this.inputValue,lazyValue:this.inputValue}},computed:{computedColor(){if(this.isActive)return this.color?this.color:this.isDark&&!this.appIsDark?"white":"primary"},isMultiple(){return!0===this.multiple||null===this.multiple&&Array.isArray(this.internalValue)},isActive(){const t=this.value,e=this.internalValue;return this.isMultiple?!!Array.isArray(e)&&e.some((e=>this.valueComparator(e,t))):void 0===this.trueValue||void 0===this.falseValue?t?this.valueComparator(t,e):Boolean(e):this.valueComparator(e,this.trueValue)},isDirty(){return this.isActive},rippleState(){return this.isDisabled||this.validationState?this.validationState:void 0}},watch:{inputValue(t){this.lazyValue=t,this.hasColor=t}},methods:{genLabel(){const t=Ks.options.methods.genLabel.call(this);return t?(t.data.on={click:Aa},t):t},genInput(t,e){return this.$createElement("input",{attrs:Object.assign({"aria-checked":this.isActive.toString(),disabled:this.isDisabled,id:this.computedId,role:t,type:t},e),domProps:{value:this.value,checked:this.isActive},on:{blur:this.onBlur,change:this.onChange,focus:this.onFocus,keydown:this.onKeydown,click:Aa},ref:"input"})},onBlur(){this.isFocused=!1},onClick(t){this.onChange(),this.$emit("click",t)},onChange(){if(!this.isInteractive)return;const t=this.value;let e=this.internalValue;if(this.isMultiple){Array.isArray(e)||(e=[]);const i=e.length;e=e.filter((e=>!this.valueComparator(e,t))),e.length===i&&e.push(t)}else e=void 0!==this.trueValue&&void 0!==this.falseValue?this.valueComparator(e,this.trueValue)?this.falseValue:this.trueValue:t?this.valueComparator(e,t)?null:t:!e;this.validate(!0,e),this.internalValue=e,this.hasColor=e},onFocus(){this.isFocused=!0},onKeydown(t){}}});Ea.extend({name:"v-checkbox",props:{indeterminate:Boolean,indeterminateIcon:{type:String,default:"$checkboxIndeterminate"},offIcon:{type:String,default:"$checkboxOff"},onIcon:{type:String,default:"$checkboxOn"}},data(){return{inputIndeterminate:this.indeterminate}},computed:{classes(){return{...Ks.options.computed.classes.call(this),"v-input--selection-controls":!0,"v-input--checkbox":!0,"v-input--indeterminate":this.inputIndeterminate}},computedIcon(){return this.inputIndeterminate?this.indeterminateIcon:this.isActive?this.onIcon:this.offIcon},validationState(){if(!this.isDisabled||this.inputIndeterminate)return this.hasError&&this.shouldValidate?"error":this.hasSuccess?"success":null!==this.hasColor?this.computedColor:void 0}},watch:{indeterminate(t){this.$nextTick((()=>this.inputIndeterminate=t))},inputIndeterminate(t){this.$emit("update:indeterminate",t)},isActive(){this.indeterminate&&(this.inputIndeterminate=!1)}},methods:{genCheckbox(){const{title:t,...e}=this.attrs$;return this.$createElement("div",{staticClass:"v-input--selection-controls__input"},[this.$createElement(Zi,this.setTextColor(this.validationState,{props:{dense:this.dense,dark:this.dark,light:this.light}}),this.computedIcon),this.genInput("checkbox",{...e,"aria-checked":this.inputIndeterminate?"mixed":this.isActive.toString()}),this.genRipple(this.setTextColor(this.rippleState))])},genDefaultSlot(){return[this.genCheckbox(),this.genLabel()]}}});function Da(t){const e=Math.abs(t);return Math.sign(t)*(e/((1/.501-2)*(1-e)+1))}function Ma(t,e,i,s){const n=t.clientWidth,a=i?e.content-t.offsetLeft-n:t.offsetLeft;i&&(s=-s);const r=e.wrapper+s,o=n+a,l=.4*n;return a<=s?s=Math.max(a-l,0):r<=o&&(s=Math.min(s-(r-o-l),e.content-e.wrapper)),i?-s:s}const Oa=rt(Fs,ln).extend({name:"base-slide-group",directives:{Resize:Ci,Touch:Wi},props:{activeClass:{type:String,default:"v-slide-item--active"},centerActive:Boolean,nextIcon:{type:String,default:"$next"},prevIcon:{type:String,default:"$prev"},showArrows:{type:[Boolean,String],validator:t=>"boolean"==typeof t||["always","desktop","mobile"].includes(t)}},data:()=>({internalItemsLength:0,isOverflowing:!1,resizeTimeout:0,startX:0,isSwipingHorizontal:!1,isSwiping:!1,scrollOffset:0,widths:{content:0,wrapper:0}}),computed:{canTouch:()=>"undefined"!=typeof window,__cachedNext(){return this.genTransition("next")},__cachedPrev(){return this.genTransition("prev")},classes(){return{...Fs.options.computed.classes.call(this),"v-slide-group":!0,"v-slide-group--has-affixes":this.hasAffixes,"v-slide-group--is-overflowing":this.isOverflowing}},hasAffixes(){switch(this.showArrows){case"always":return!0;case"desktop":return!this.isMobile;case!0:return this.isOverflowing||Math.abs(this.scrollOffset)>0;case"mobile":return this.isMobile||this.isOverflowing||Math.abs(this.scrollOffset)>0;default:return!this.isMobile&&(this.isOverflowing||Math.abs(this.scrollOffset)>0)}},hasNext(){if(!this.hasAffixes)return!1;const{content:t,wrapper:e}=this.widths;return t>Math.abs(this.scrollOffset)+e},hasPrev(){return this.hasAffixes&&0!==this.scrollOffset}},watch:{internalValue:"setWidths",isOverflowing:"setWidths",scrollOffset(t){this.$vuetify.rtl&&(t=-t);let e=t<=0?Da(-t):t>this.widths.content-this.widths.wrapper?-(this.widths.content-this.widths.wrapper)+Da(this.widths.content-this.widths.wrapper-t):-t;this.$vuetify.rtl&&(e=-e),this.$refs.content.style.transform=`translateX(${e}px)`}},beforeUpdate(){this.internalItemsLength=(this.$children||[]).length},updated(){this.internalItemsLength!==(this.$children||[]).length&&this.setWidths()},methods:{onScroll(){this.$refs.wrapper.scrollLeft=0},onFocusin(t){if(this.isOverflowing)for(const e of qt(t))for(const t of this.items)if(t.$el===e)return void(this.scrollOffset=Ma(t.$el,this.widths,this.$vuetify.rtl,this.scrollOffset))},genNext(){const t=this.$scopedSlots.next?this.$scopedSlots.next({}):this.$slots.next||this.__cachedNext;return this.$createElement("div",{staticClass:"v-slide-group__next",class:{"v-slide-group__next--disabled":!this.hasNext},on:{click:()=>this.onAffixClick("next")},key:"next"},[t])},genContent(){return this.$createElement("div",{staticClass:"v-slide-group__content",ref:"content",on:{focusin:this.onFocusin}},this.$slots.default)},genData(){return{class:this.classes,directives:[{name:"resize",value:this.onResize}]}},genIcon(t){let e=t;this.$vuetify.rtl&&"prev"===t?e="next":this.$vuetify.rtl&&"next"===t&&(e="prev");const i=this[`has${`${t[0].toUpperCase()}${t.slice(1)}`}`];return this.showArrows||i?this.$createElement(Zi,{props:{disabled:!i}},this[`${e}Icon`]):null},genPrev(){const t=this.$scopedSlots.prev?this.$scopedSlots.prev({}):this.$slots.prev||this.__cachedPrev;return this.$createElement("div",{staticClass:"v-slide-group__prev",class:{"v-slide-group__prev--disabled":!this.hasPrev},on:{click:()=>this.onAffixClick("prev")},key:"prev"},[t])},genTransition(t){return this.$createElement(ps,[this.genIcon(t)])},genWrapper(){return this.$createElement("div",{staticClass:"v-slide-group__wrapper",directives:[{name:"touch",value:{start:t=>this.overflowCheck(t,this.onTouchStart),move:t=>this.overflowCheck(t,this.onTouchMove),end:t=>this.overflowCheck(t,this.onTouchEnd)}}],ref:"wrapper",on:{scroll:this.onScroll}},[this.genContent()])},calculateNewOffset(t,e,i,s){const n=i?-1:1,a=n*s+("prev"===t?-1:1)*e.wrapper;return n*Math.max(Math.min(a,e.content-e.wrapper),0)},onAffixClick(t){this.$emit(`click:${t}`),this.scrollTo(t)},onResize(){this._isDestroyed||this.setWidths()},onTouchStart(t){const{content:e}=this.$refs;this.startX=this.scrollOffset+t.touchstartX,e.style.setProperty("transition","none"),e.style.setProperty("willChange","transform")},onTouchMove(t){if(this.canTouch){if(!this.isSwiping){const e=t.touchmoveX-t.touchstartX,i=t.touchmoveY-t.touchstartY;this.isSwipingHorizontal=Math.abs(e)>Math.abs(i),this.isSwiping=!0}this.isSwipingHorizontal&&(this.scrollOffset=this.startX-t.touchmoveX,document.documentElement.style.overflowY="hidden")}},onTouchEnd(){if(!this.canTouch)return;const{content:t,wrapper:e}=this.$refs,i=t.clientWidth-e.clientWidth;t.style.setProperty("transition",null),t.style.setProperty("willChange",null),this.$vuetify.rtl?this.scrollOffset>0||!this.isOverflowing?this.scrollOffset=0:this.scrollOffset<=-i&&(this.scrollOffset=-i):this.scrollOffset<0||!this.isOverflowing?this.scrollOffset=0:this.scrollOffset>=i&&(this.scrollOffset=i),this.isSwiping=!1,document.documentElement.style.removeProperty("overflow-y")},overflowCheck(t,e){t.stopPropagation(),this.isOverflowing&&e(t)},scrollIntoView(){if(!this.selectedItem&&this.items.length){const t=this.items[this.items.length-1].$el.getBoundingClientRect(),e=this.$refs.wrapper.getBoundingClientRect();(this.$vuetify.rtl&&e.right<t.right||!this.$vuetify.rtl&&e.left>t.left)&&this.scrollTo("prev")}this.selectedItem&&(0===this.selectedIndex||!this.centerActive&&!this.isOverflowing?this.scrollOffset=0:this.centerActive?this.scrollOffset=function(t,e,i){const{offsetLeft:s,clientWidth:n}=t;if(i){const t=e.content-s-n/2-e.wrapper/2;return-Math.min(e.content-e.wrapper,Math.max(0,t))}{const t=s+n/2-e.wrapper/2;return Math.min(e.content-e.wrapper,Math.max(0,t))}}(this.selectedItem.$el,this.widths,this.$vuetify.rtl):this.isOverflowing&&(this.scrollOffset=Ma(this.selectedItem.$el,this.widths,this.$vuetify.rtl,this.scrollOffset)))},scrollTo(t){this.scrollOffset=this.calculateNewOffset(t,{content:this.$refs.content?this.$refs.content.clientWidth:0,wrapper:this.$refs.wrapper?this.$refs.wrapper.clientWidth:0},this.$vuetify.rtl,this.scrollOffset)},setWidths(){window.requestAnimationFrame((()=>{if(this._isDestroyed)return;const{content:t,wrapper:e}=this.$refs;this.widths={content:t?t.clientWidth:0,wrapper:e?e.clientWidth:0},this.isOverflowing=this.widths.wrapper+1<this.widths.content,this.scrollIntoView()}))}},render(t){return t("div",this.genData(),[this.genPrev(),this.genWrapper(),this.genNext()])}});Oa.extend({name:"v-slide-group",provide(){return{slideGroup:this}}}),rt(Oa,Xe).extend({name:"v-chip-group",provide(){return{chipGroup:this}},props:{column:Boolean},computed:{classes(){return{...Oa.options.computed.classes.call(this),"v-chip-group":!0,"v-chip-group--column":this.column}}},watch:{column(t){t&&(this.scrollOffset=0),this.$nextTick(this.onResize)}},methods:{genData(){return this.setTextColor(this.color,{...Oa.options.methods.genData.call(this)})}}});var La=rt(Ks,Js).extend({name:"v-slider",directives:{ClickOutside:wi},mixins:[Js],props:{disabled:Boolean,inverseLabel:Boolean,max:{type:[Number,String],default:100},min:{type:[Number,String],default:0},step:{type:[Number,String],default:1},thumbColor:String,thumbLabel:{type:[Boolean,String],default:void 0,validator:t=>"boolean"==typeof t||"always"===t},thumbSize:{type:[Number,String],default:32},tickLabels:{type:Array,default:()=>[]},ticks:{type:[Boolean,String],default:!1,validator:t=>"boolean"==typeof t||"always"===t},tickSize:{type:[Number,String],default:2},trackColor:String,trackFillColor:String,value:[Number,String],vertical:Boolean},data:()=>({app:null,oldValue:null,thumbPressed:!1,mouseTimeout:-1,isFocused:!1,isActive:!1,noClick:!1,startOffset:0}),computed:{classes(){return{...Ks.options.computed.classes.call(this),"v-input__slider":!0,"v-input__slider--vertical":this.vertical,"v-input__slider--inverse-label":this.inverseLabel}},internalValue:{get(){return this.lazyValue},set(t){t=isNaN(t)?this.minValue:t;const e=this.roundValue(Math.min(Math.max(t,this.minValue),this.maxValue));e!==this.lazyValue&&(this.lazyValue=e,this.$emit("input",e))}},trackTransition(){return this.thumbPressed?this.showTicks||this.stepNumeric?"0.1s cubic-bezier(0.25, 0.8, 0.5, 1)":"none":""},minValue(){return parseFloat(this.min)},maxValue(){return parseFloat(this.max)},stepNumeric(){return this.step>0?parseFloat(this.step):0},inputWidth(){const t=(this.roundValue(this.internalValue)-this.minValue)/(this.maxValue-this.minValue)*100;return isNaN(t)?0:t},trackFillStyles(){const t=this.vertical?"bottom":"left",e=this.vertical?"top":"right",i=this.vertical?"height":"width",s=this.$vuetify.rtl?"auto":"0",n=this.$vuetify.rtl?"0":"auto",a=this.isDisabled?`calc(${this.inputWidth}% - 10px)`:`${this.inputWidth}%`;return{transition:this.trackTransition,[t]:s,[e]:n,[i]:a}},trackStyles(){const t=this.vertical?this.$vuetify.rtl?"bottom":"top":this.$vuetify.rtl?"left":"right",e=this.vertical?"height":"width",i=this.isDisabled?`calc(${100-this.inputWidth}% - 10px)`:`calc(${100-this.inputWidth}%)`;return{transition:this.trackTransition,[t]:"0px",[e]:i}},showTicks(){return this.tickLabels.length>0||!(this.isDisabled||!this.stepNumeric||!this.ticks)},numTicks(){return Math.ceil((this.maxValue-this.minValue)/this.stepNumeric)},showThumbLabel(){return!(this.isDisabled||!this.thumbLabel&&!this.$scopedSlots["thumb-label"])},computedTrackColor(){if(!this.isDisabled)return this.trackColor?this.trackColor:this.isDark?this.validationState:this.validationState||"primary lighten-3"},computedTrackFillColor(){if(!this.isDisabled)return this.trackFillColor?this.trackFillColor:this.validationState||this.computedColor},computedThumbColor(){return this.thumbColor?this.thumbColor:this.validationState||this.computedColor}},watch:{min(t){const e=parseFloat(t);e>this.internalValue&&this.$emit("input",e)},max(t){const e=parseFloat(t);e<this.internalValue&&this.$emit("input",e)},value:{handler(t){this.internalValue=t}}},beforeMount(){this.internalValue=this.value},mounted(){this.app=document.querySelector("[data-app]")||We("Missing v-app or a non-body wrapping element with the [data-app] attribute",this)},methods:{genDefaultSlot(){const t=[this.genLabel()],e=this.genSlider();return this.inverseLabel?t.unshift(e):t.push(e),t.push(this.genProgress()),t},genSlider(){return this.$createElement("div",{class:{"v-slider":!0,"v-slider--horizontal":!this.vertical,"v-slider--vertical":this.vertical,"v-slider--focused":this.isFocused,"v-slider--active":this.isActive,"v-slider--disabled":this.isDisabled,"v-slider--readonly":this.isReadonly,...this.themeClasses},directives:[{name:"click-outside",value:this.onBlur}],on:{click:this.onSliderClick,mousedown:this.onSliderMouseDown,touchstart:this.onSliderMouseDown}},this.genChildren())},genChildren(){return[this.genInput(),this.genTrackContainer(),this.genSteps(),this.genThumbContainer(this.internalValue,this.inputWidth,this.isActive,this.isFocused,this.onFocus,this.onBlur)]},genInput(){return this.$createElement("input",{attrs:{value:this.internalValue,id:this.computedId,disabled:!0,readonly:!0,tabindex:-1,...this.$attrs}})},genTrackContainer(){const t=[this.$createElement("div",this.setBackgroundColor(this.computedTrackColor,{staticClass:"v-slider__track-background",style:this.trackStyles})),this.$createElement("div",this.setBackgroundColor(this.computedTrackFillColor,{staticClass:"v-slider__track-fill",style:this.trackFillStyles}))];return this.$createElement("div",{staticClass:"v-slider__track-container",ref:"track"},t)},genSteps(){if(!this.step||!this.showTicks)return null;const t=parseFloat(this.tickSize),e=_t(this.numTicks+1),i=this.vertical?"bottom":this.$vuetify.rtl?"right":"left",s=this.vertical?this.$vuetify.rtl?"left":"right":"top";this.vertical&&e.reverse();const n=e.map((e=>{const n=[];this.tickLabels[e]&&n.push(this.$createElement("div",{staticClass:"v-slider__tick-label"},this.tickLabels[e]));const a=e*(100/this.numTicks),r=this.$vuetify.rtl?100-this.inputWidth<a:a<this.inputWidth;return this.$createElement("span",{key:e,staticClass:"v-slider__tick",class:{"v-slider__tick--filled":r},style:{width:`${t}px`,height:`${t}px`,[i]:`calc(${a}% - ${t/2}px)`,[s]:`calc(50% - ${t/2}px)`}},n)}));return this.$createElement("div",{staticClass:"v-slider__ticks-container",class:{"v-slider__ticks-container--always-show":"always"===this.ticks||this.tickLabels.length>0}},n)},genThumbContainer(t,e,i,s,n,a,r="thumb"){const o=[this.genThumb()],l=this.genThumbLabelContent(t);return this.showThumbLabel&&o.push(this.genThumbLabel(l)),this.$createElement("div",this.setTextColor(this.computedThumbColor,{ref:r,key:r,staticClass:"v-slider__thumb-container",class:{"v-slider__thumb-container--active":i,"v-slider__thumb-container--focused":s,"v-slider__thumb-container--show-label":this.showThumbLabel},style:this.getThumbContainerStyles(e),attrs:{role:"slider",tabindex:this.isDisabled?-1:this.$attrs.tabindex?this.$attrs.tabindex:0,"aria-label":this.$attrs["aria-label"]||this.label,"aria-valuemin":this.min,"aria-valuemax":this.max,"aria-valuenow":this.internalValue,"aria-readonly":String(this.isReadonly),"aria-orientation":this.vertical?"vertical":"horizontal"},on:{focus:n,blur:a,keydown:this.onKeyDown}}),o)},genThumbLabelContent(t){return this.$scopedSlots["thumb-label"]?this.$scopedSlots["thumb-label"]({value:t}):[this.$createElement("span",[String(t)])]},genThumbLabel(t){const e=Et(this.thumbSize),i=this.vertical?`translateY(20%) translateY(${Number(this.thumbSize)/3-1}px) translateX(55%) rotate(135deg)`:"translateY(-20%) translateY(-12px) translateX(-50%) rotate(45deg)";return this.$createElement(ms,{props:{origin:"bottom center"}},[this.$createElement("div",{staticClass:"v-slider__thumb-label-container",directives:[{name:"show",value:this.isFocused||this.isActive||"always"===this.thumbLabel}]},[this.$createElement("div",this.setBackgroundColor(this.computedThumbColor,{staticClass:"v-slider__thumb-label",style:{height:e,width:e,transform:i}}),[this.$createElement("div",t)])])])},genThumb(){return this.$createElement("div",this.setBackgroundColor(this.computedThumbColor,{staticClass:"v-slider__thumb"}))},getThumbContainerStyles(t){const e=this.vertical?"top":"left";let i=this.$vuetify.rtl?100-t:t;return i=this.vertical?100-i:i,{transition:this.trackTransition,[e]:`${i}%`}},onSliderMouseDown(t){var e;if(t.preventDefault(),this.oldValue=this.internalValue,this.isActive=!0,null!=(e=t.target)&&e.matches(".v-slider__thumb-container, .v-slider__thumb-container *")){this.thumbPressed=!0;const e=t.target.getBoundingClientRect(),i="touches"in t?t.touches[0]:t;this.startOffset=this.vertical?i.clientY-(e.top+e.height/2):i.clientX-(e.left+e.width/2)}else this.startOffset=0,window.clearTimeout(this.mouseTimeout),this.mouseTimeout=window.setTimeout((()=>{this.thumbPressed=!0}),300);const i=!xt||{passive:!0,capture:!0},s=!!xt&&{passive:!0},n="touches"in t;this.onMouseMove(t),this.app.addEventListener(n?"touchmove":"mousemove",this.onMouseMove,s),$t(this.app,n?"touchend":"mouseup",this.onSliderMouseUp,i),this.$emit("start",this.internalValue)},onSliderMouseUp(t){t.stopPropagation(),window.clearTimeout(this.mouseTimeout),this.thumbPressed=!1;const e=!!xt&&{passive:!0};this.app.removeEventListener("touchmove",this.onMouseMove,e),this.app.removeEventListener("mousemove",this.onMouseMove,e),this.$emit("mouseup",t),this.$emit("end",this.internalValue),wt(this.oldValue,this.internalValue)||(this.$emit("change",this.internalValue),this.noClick=!0),this.isActive=!1},onMouseMove(t){"mousemove"===t.type&&(this.thumbPressed=!0),this.internalValue=this.parseMouseMove(t)},onKeyDown(t){if(!this.isInteractive)return;const e=this.parseKeyDown(t,this.internalValue);null==e||e<this.minValue||e>this.maxValue||(this.internalValue=e,this.$emit("change",e))},onSliderClick(t){if(this.noClick)return void(this.noClick=!1);this.$refs.thumb.focus(),this.onMouseMove(t),this.$emit("change",this.internalValue)},onBlur(t){this.isFocused=!1,this.$emit("blur",t)},onFocus(t){this.isFocused=!0,this.$emit("focus",t)},parseMouseMove(t){const e=this.vertical?"top":"left",i=this.vertical?"height":"width",s=this.vertical?"clientY":"clientX",{[e]:n,[i]:a}=this.$refs.track.getBoundingClientRect(),r="touches"in t?t.touches[0][s]:t[s];let o=Math.min(Math.max((r-n-this.startOffset)/a,0),1)||0;return this.vertical&&(o=1-o),this.$vuetify.rtl&&(o=1-o),parseFloat(this.min)+o*(this.maxValue-this.minValue)},parseKeyDown(t,e){if(!this.isInteractive)return;const{pageup:i,pagedown:s,end:n,home:a,left:r,right:o,down:l,up:h}=Ot;if(![i,s,n,a,r,o,l,h].includes(t.keyCode))return;t.preventDefault();const c=this.stepNumeric||1,d=(this.maxValue-this.minValue)/c;if([r,o,l,h].includes(t.keyCode)){e+=((this.$vuetify.rtl?[r,h]:[o,h]).includes(t.keyCode)?1:-1)*c*(t.shiftKey?3:t.ctrlKey?2:1)}else if(t.keyCode===a)e=this.minValue;else if(t.keyCode===n)e=this.maxValue;else{e-=(t.keyCode===s?1:-1)*c*(d>100?d/10:10)}return e},roundValue(t){if(!this.stepNumeric)return t;const e=this.step.toString().trim(),i=e.indexOf(".")>-1?e.length-e.indexOf(".")-1:0,s=this.minValue%this.stepNumeric,n=Math.round((t-s)/this.stepNumeric)*this.stepNumeric+s;return parseFloat(Math.min(n,this.maxValue).toFixed(i))}}});function Va(t){const e=Se(t={...t}),i=ye(t),s=ve(t);return{alpha:t.a,hex:e.substr(0,7),hexa:e,hsla:i,hsva:t,hue:t.h,rgba:s}}function Pa(t){const e=function(t){const{h:e,s:i,l:s,a:n}=t,a=s+i*Math.min(s,1-s);return{h:e,s:0===a?0:2-2*s/a,v:a,a:n}}(t),i=Se(e),s=ve(e);return{alpha:e.a,hex:i.substr(0,7),hexa:i,hsla:t,hsva:e,hue:e.h,rgba:s}}function Ha(t){const e=fe(t),i=$e(t),s=ye(e);return{alpha:e.a,hex:i.substr(0,7),hexa:i,hsla:s,hsva:e,hue:e.h,rgba:t}}function Fa(t){const e=xe(t),i=ye(e),s=ve(e);return{alpha:e.a,hex:t.substr(0,7),hexa:t,hsla:i,hsva:e,hue:e.h,rgba:s}}function Na(t){return Fa(we(t))}function za(t,e){return e.every((e=>t.hasOwnProperty(e)))}function Wa(t,e){if(!t)return Ha({r:255,g:0,b:0,a:1});if("string"==typeof t){if("transparent"===t)return Fa("#00000000");const i=we(t);return e&&i===e.hexa?e:Fa(i)}if("object"==typeof t){if(t.hasOwnProperty("alpha"))return t;const i=t.hasOwnProperty("a")?parseFloat(t.a):1;if(za(t,["r","g","b"]))return e&&t===e.rgba?e:Ha({...t,a:i});if(za(t,["h","s","l"]))return e&&t===e.hsla?e:Pa({...t,a:i});if(za(t,["h","s","v"]))return e&&t===e.hsva?e:Va({...t,a:i})}return Ha({r:255,g:0,b:0,a:1})}function Ra(t,e){if(e){const{a:e,...i}=t;return i}return t}var ja=e.default.extend({name:"v-color-picker-preview",props:{color:Object,disabled:Boolean,hideAlpha:Boolean},methods:{genAlpha(){return this.genTrack({staticClass:"v-color-picker__alpha",props:{thumbColor:"grey lighten-2",hideDetails:!0,value:this.color.alpha,step:0,min:0,max:1},style:{backgroundImage:this.disabled?void 0:`linear-gradient(to ${this.$vuetify.rtl?"left":"right"}, transparent, ${t=this.color.rgba,be({...t,a:1})})`},on:{input:t=>this.color.alpha!==t&&this.$emit("update:color",Va({...this.color.hsva,a:t}))}});var t},genSliders(){return this.$createElement("div",{staticClass:"v-color-picker__sliders"},[this.genHue(),!this.hideAlpha&&this.genAlpha()])},genDot(){return this.$createElement("div",{staticClass:"v-color-picker__dot"},[this.$createElement("div",{style:{background:be(this.color.rgba)}})])},genHue(){return this.genTrack({staticClass:"v-color-picker__hue",props:{thumbColor:"grey lighten-2",hideDetails:!0,value:this.color.hue,step:0,min:0,max:360},on:{input:t=>this.color.hue!==t&&this.$emit("update:color",Va({...this.color.hsva,h:t}))}})},genTrack(t){return this.$createElement(La,{class:"v-color-picker__track",...t,props:{disabled:this.disabled,...t.props}})}},render(t){return t("div",{staticClass:"v-color-picker__preview",class:{"v-color-picker__preview--hide-alpha":this.hideAlpha}},[this.genDot(),this.genSliders()])}}),Ya=e.default.extend({name:"v-color-picker-canvas",props:{color:{type:Object,default:()=>Ha({r:255,g:0,b:0,a:1})},disabled:Boolean,dotSize:{type:[Number,String],default:10},height:{type:[Number,String],default:150},width:{type:[Number,String],default:300}},data:()=>({boundingRect:{width:0,height:0,left:0,top:0}}),computed:{dot(){return this.color?{x:this.color.hsva.s*parseInt(this.width,10),y:(1-this.color.hsva.v)*parseInt(this.height,10)}:{x:0,y:0}}},watch:{"color.hue":"updateCanvas"},mounted(){this.updateCanvas()},methods:{emitColor(t,e){const{left:i,top:s,width:n,height:a}=this.boundingRect;this.$emit("update:color",Va({h:this.color.hue,s:jt(t-i,0,n)/n,v:1-jt(e-s,0,a)/a,a:this.color.alpha}))},updateCanvas(){if(!this.color)return;const t=this.$refs.canvas,e=t.getContext("2d");if(!e)return;const i=e.createLinearGradient(0,0,t.width,0);i.addColorStop(0,"hsla(0, 0%, 100%, 1)"),i.addColorStop(1,`hsla(${this.color.hue}, 100%, 50%, 1)`),e.fillStyle=i,e.fillRect(0,0,t.width,t.height);const s=e.createLinearGradient(0,0,0,t.height);s.addColorStop(0,"hsla(0, 0%, 100%, 0)"),s.addColorStop(1,"hsla(0, 0%, 0%, 1)"),e.fillStyle=s,e.fillRect(0,0,t.width,t.height)},handleClick(t){this.disabled||(this.boundingRect=this.$el.getBoundingClientRect(),this.emitColor(t.clientX,t.clientY))},handleMouseDown(t){t.preventDefault(),this.disabled||(this.boundingRect=this.$el.getBoundingClientRect(),window.addEventListener("mousemove",this.handleMouseMove),window.addEventListener("mouseup",this.handleMouseUp))},handleMouseMove(t){this.disabled||this.emitColor(t.clientX,t.clientY)},handleMouseUp(){window.removeEventListener("mousemove",this.handleMouseMove),window.removeEventListener("mouseup",this.handleMouseUp)},genCanvas(){return this.$createElement("canvas",{ref:"canvas",attrs:{width:this.width,height:this.height}})},genDot(){const t=parseInt(this.dotSize,10)/2,e=Et(this.dot.x-t),i=Et(this.dot.y-t);return this.$createElement("div",{staticClass:"v-color-picker__canvas-dot",class:{"v-color-picker__canvas-dot--disabled":this.disabled},style:{width:Et(this.dotSize),height:Et(this.dotSize),transform:`translate(${e}, ${i})`}})}},render(t){return t("div",{staticClass:"v-color-picker__canvas",style:{width:Et(this.width),height:Et(this.height)},on:{click:this.handleClick,mousedown:this.handleMouseDown}},[this.genCanvas(),this.genDot()])}});const Ua={rgba:{inputs:[["r",255,"int"],["g",255,"int"],["b",255,"int"],["a",1,"float"]],from:Ha},hsla:{inputs:[["h",360,"int"],["s",1,"float"],["l",1,"float"],["a",1,"float"]],from:Pa},hexa:{from:Fa}};var Ga=e.default.extend({name:"v-color-picker-edit",props:{color:Object,disabled:Boolean,hideAlpha:Boolean,hideModeSwitch:Boolean,mode:{type:String,default:"rgba",validator:t=>Object.keys(Ua).includes(t)}},data(){return{modes:Ua,internalMode:this.mode}},computed:{currentMode(){return this.modes[this.internalMode]}},watch:{mode(t){this.internalMode=t}},created(){this.internalMode=this.mode},methods:{getValue:(t,e)=>"float"===e?Math.round(100*t)/100:"int"===e?Math.round(t):0,parseValue:(t,e)=>"float"===e?parseFloat(t):"int"===e&&parseInt(t,10)||0,changeMode(){const t=Object.keys(this.modes),e=t.indexOf(this.internalMode),i=t[(e+1)%t.length];this.internalMode=i,this.$emit("update:mode",i)},genInput(t,e,i,s){return this.$createElement("div",{staticClass:"v-color-picker__input"},[this.$createElement("input",{key:t,attrs:e,domProps:{value:i},on:s}),this.$createElement("span",t.toUpperCase())])},genInputs(){if("hexa"===this.internalMode){const t=this.color.hexa,e=this.hideAlpha&&t.endsWith("FF")?t.substr(0,7):t;return this.genInput("hex",{maxlength:this.hideAlpha?7:9,disabled:this.disabled},e,{change:t=>{const e=t.target;this.$emit("update:color",this.currentMode.from(we(e.value)))}})}return(this.hideAlpha?this.currentMode.inputs.slice(0,-1):this.currentMode.inputs).map((([t,e,i])=>{const s=this.color[this.internalMode];return this.genInput(t,{type:"number",min:0,max:e,step:"float"===i?"0.01":"int"===i?"1":void 0,disabled:this.disabled},this.getValue(s[t],i),{input:e=>{const n=e.target,a=this.parseValue(n.value||"0",i);this.$emit("update:color",this.currentMode.from(Object.assign({},s,{[t]:a}),this.color.alpha))}})}))},genSwitch(){return this.$createElement(ns,{props:{small:!0,icon:!0,disabled:this.disabled},on:{click:this.changeMode}},[this.$createElement(Zi,"$unfold")])}},render(t){return t("div",{staticClass:"v-color-picker__edit"},[this.genInputs(),!this.hideModeSwitch&&this.genSwitch()])}});const Ka=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"}),Xa=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"}),qa=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"}),Za=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"}),Ja=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"}),Qa=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"}),tr=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"}),er=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"}),ir=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"}),sr=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"}),nr=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"}),ar=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"}),rr=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"}),or=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"}),lr=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"}),hr=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"}),cr=Object.freeze({base:"#795548",lighten5:"#efebe9",lighten4:"#d7ccc8",lighten3:"#bcaaa4",lighten2:"#a1887f",lighten1:"#8d6e63",darken1:"#6d4c41",darken2:"#5d4037",darken3:"#4e342e",darken4:"#3e2723"}),dr=Object.freeze({base:"#607d8b",lighten5:"#eceff1",lighten4:"#cfd8dc",lighten3:"#b0bec5",lighten2:"#90a4ae",lighten1:"#78909c",darken1:"#546e7a",darken2:"#455a64",darken3:"#37474f",darken4:"#263238"}),ur=Object.freeze({base:"#9e9e9e",lighten5:"#fafafa",lighten4:"#f5f5f5",lighten3:"#eeeeee",lighten2:"#e0e0e0",lighten1:"#bdbdbd",darken1:"#757575",darken2:"#616161",darken3:"#424242",darken4:"#212121"}),pr=Object.freeze({black:"#000000",white:"#ffffff",transparent:"transparent"});var mr=Object.freeze({red:Ka,pink:Xa,purple:qa,deepPurple:Za,indigo:Ja,blue:Qa,lightBlue:tr,cyan:er,teal:ir,green:sr,lightGreen:nr,lime:ar,yellow:rr,amber:or,orange:lr,deepOrange:hr,brown:cr,blueGrey:dr,grey:ur,shades:pr});const gr=Na("#FFFFFF").rgba,vr=Na("#000000").rgba;var fr=rt(nt).extend({name:"v-color-picker-swatches",props:{swatches:{type:Array,default:()=>{return t=mr,Object.keys(t).map((e=>{const i=t[e];return i.base?[i.base,i.darken4,i.darken3,i.darken2,i.darken1,i.lighten1,i.lighten2,i.lighten3,i.lighten4,i.lighten5]:[i.black,i.white,i.transparent]}));var t}},disabled:Boolean,color:Object,maxWidth:[Number,String],maxHeight:[Number,String]},methods:{genColor(t){const e=this.$createElement("div",{style:{background:t}},[wt(this.color,Wa(t,null))&&this.$createElement(Zi,{props:{small:!0,dark:ke(this.color.rgba,gr)>2&&this.color.alpha>.5,light:ke(this.color.rgba,vr)>2&&this.color.alpha>.5}},"$success")]);return this.$createElement("div",{staticClass:"v-color-picker__color",on:{click:()=>this.disabled||this.$emit("update:color",Na("transparent"===t?"#00000000":t))}},[e])},genSwatches(){return this.swatches.map((t=>{const e=t.map(this.genColor);return this.$createElement("div",{staticClass:"v-color-picker__swatch"},e)}))}},render(t){return t("div",{staticClass:"v-color-picker__swatches",style:{maxWidth:Et(this.maxWidth),maxHeight:Et(this.maxHeight)}},[this.$createElement("div",this.genSwatches())])}});rt(qe,nt).extend({name:"v-color-picker",props:{canvasHeight:{type:[String,Number],default:150},disabled:Boolean,dotSize:{type:[Number,String],default:10},flat:Boolean,hideCanvas:Boolean,hideSliders:Boolean,hideInputs:Boolean,hideModeSwitch:Boolean,mode:{type:String,default:"rgba",validator:t=>Object.keys(Ua).includes(t)},showSwatches:Boolean,swatches:Array,swatchesMaxHeight:{type:[Number,String],default:150},value:{type:[Object,String]},width:{type:[Number,String],default:300}},data:()=>({internalValue:Ha({r:255,g:0,b:0,a:1})}),computed:{hideAlpha(){return!!this.value&&!((t=this.value)&&("string"==typeof t?t.length>7:"object"==typeof t&&(za(t,["a"])||za(t,["alpha"]))));var t}},watch:{value:{handler(t){this.updateColor(Wa(t,this.internalValue))},immediate:!0}},methods:{updateColor(t){this.internalValue=t;const e=function(t,e){if(null==e)return t;if("string"==typeof e)return 7===e.length?t.hex:t.hexa;if("object"==typeof e){const i="number"==typeof e.a&&0===e.a?!!e.a:!e.a;if(za(e,["r","g","b"]))return Ra(t.rgba,i);if(za(e,["h","s","l"]))return Ra(t.hsla,i);if(za(e,["h","s","v"]))return Ra(t.hsva,i)}return t}(this.internalValue,this.value);wt(e,this.value)||(this.$emit("input",e),this.$emit("update:color",this.internalValue))},genCanvas(){return this.$createElement(Ya,{props:{color:this.internalValue,disabled:this.disabled,dotSize:this.dotSize,width:this.width,height:this.canvasHeight},on:{"update:color":this.updateColor}})},genControls(){return this.$createElement("div",{staticClass:"v-color-picker__controls"},[!this.hideSliders&&this.genPreview(),!this.hideInputs&&this.genEdit()])},genEdit(){return this.$createElement(Ga,{props:{color:this.internalValue,disabled:this.disabled,hideAlpha:this.hideAlpha,hideModeSwitch:this.hideModeSwitch,mode:this.mode},on:{"update:color":this.updateColor,"update:mode":t=>this.$emit("update:mode",t)}})},genPreview(){return this.$createElement(ja,{props:{color:this.internalValue,disabled:this.disabled,hideAlpha:this.hideAlpha},on:{"update:color":this.updateColor}})},genSwatches(){return this.$createElement(fr,{props:{dark:this.dark,light:this.light,disabled:this.disabled,swatches:this.swatches,color:this.internalValue,maxHeight:this.swatchesMaxHeight},on:{"update:color":this.updateColor}})}},render(t){return t(Qe,{staticClass:"v-color-picker",class:{"v-color-picker--flat":this.flat,...this.themeClasses,...this.elevationClasses},props:{maxWidth:this.width}},[!this.hideCanvas&&this.genCanvas(),(!this.hideSliders||!this.hideInputs)&&this.genControls(),this.showSwatches&&this.genSwatches()])}});var yr=ji.extend({name:"v-main",props:{tag:{type:String,default:"main"}},computed:{styles(){const{bar:t,top:e,right:i,footer:s,insetFooter:n,bottom:a,left:r}=this.$vuetify.application;return{paddingTop:`${e+t}px`,paddingRight:`${i}px`,paddingBottom:`${s+n+a}px`,paddingLeft:`${r}px`}}},render(t){const e={staticClass:"v-main",style:this.styles,ref:"main"};return t(this.tag,e,[t("div",{staticClass:"v-main__wrap"},this.$slots.default)])}});yr.extend({name:"v-main",created(){je("v-content","v-main",this)},render(t){const e=yr.options.render.call(this,t);return e.data.staticClass+=" v-content",e.children[0].data.staticClass+=" v-content__wrap",t(e.tag,e.data,e.children)}}),on.extend({name:"v-combobox",props:{delimiters:{type:Array,default:()=>[]},returnObject:{type:Boolean,default:!0}},data:()=>({editingIndex:-1}),computed:{computedCounterValue(){return this.multiple?this.selectedItems.length:(this.internalSearch||"").toString().length},hasSlot(){return an.options.computed.hasSlot.call(this)||this.multiple},isAnyValueAllowed:()=>!0,menuCanShow(){return!!this.isFocused&&(this.hasDisplayedItems||!!this.$slots["no-data"]&&!this.hideNoData)},searchIsDirty(){return null!=this.internalSearch}},methods:{onInternalSearchChanged(t){if(t&&this.multiple&&this.delimiters.length){const e=this.delimiters.find((e=>t.endsWith(e)));null!=e&&(this.internalSearch=t.slice(0,t.length-e.length),this.updateTags())}this.updateMenuDimensions()},genInput(){const t=on.options.methods.genInput.call(this);return delete t.data.attrs.name,t.data.on.paste=this.onPaste,t},genChipSelection(t,e){const i=an.options.methods.genChipSelection.call(this,t,e);return this.multiple&&(i.componentOptions.listeners={...i.componentOptions.listeners,dblclick:()=>{this.editingIndex=e,this.internalSearch=this.getText(t),this.selectedIndex=-1}}),i},onChipInput(t){an.options.methods.onChipInput.call(this,t),this.editingIndex=-1},onEnterDown(t){t.preventDefault(),this.getMenuIndex()>-1||this.$nextTick(this.updateSelf)},onKeyDown(t){const e=t.keyCode;!t.ctrlKey&&[Ot.home,Ot.end].includes(e)||an.options.methods.onKeyDown.call(this,t),this.multiple&&e===Ot.left&&0===this.$refs.input.selectionStart?this.updateSelf():e===Ot.enter&&this.onEnterDown(t),this.changeSelectedIndex(e)},onTabDown(t){if(this.multiple&&this.internalSearch&&-1===this.getMenuIndex())return t.preventDefault(),t.stopPropagation(),this.updateTags();on.options.methods.onTabDown.call(this,t)},selectItem(t){this.editingIndex>-1?this.updateEditing():(on.options.methods.selectItem.call(this,t),this.internalSearch&&this.multiple&&this.getText(t).toLocaleLowerCase().includes(this.internalSearch.toLocaleLowerCase())&&(this.internalSearch=null))},setSelectedItems(){null==this.internalValue||""===this.internalValue?this.selectedItems=[]:this.selectedItems=this.multiple?this.internalValue:[this.internalValue]},setValue(t){an.options.methods.setValue.call(this,void 0===t?this.internalSearch:t)},updateEditing(){const t=this.internalValue.slice(),e=this.selectedItems.findIndex((t=>this.getText(t)===this.internalSearch));if(e>-1){const i="object"==typeof t[e]?Object.assign({},t[e]):t[e];t.splice(e,1),t.push(i)}else t[this.editingIndex]=this.internalSearch;this.setValue(t),this.editingIndex=-1,this.internalSearch=null},updateCombobox(){if(!this.searchIsDirty)return;this.internalSearch!==this.getText(this.internalValue)&&this.setValue();(Boolean(this.$scopedSlots.selection)||this.hasChips)&&(this.internalSearch=null)},updateSelf(){this.multiple?this.updateTags():this.updateCombobox()},updateTags(){const t=this.getMenuIndex();if(t<0&&!this.searchIsDirty||!this.internalSearch)return;if(this.editingIndex>-1)return this.updateEditing();const e=this.selectedItems.findIndex((t=>this.internalSearch===this.getText(t))),i=e>-1&&"object"==typeof this.selectedItems[e]?Object.assign({},this.selectedItems[e]):this.internalSearch;if(e>-1){const t=this.internalValue.slice();t.splice(e,1),this.setValue(t)}if(t>-1)return this.internalSearch=null;this.selectItem(i),this.internalSearch=null},onPaste(t){var e;if(!this.multiple||this.searchIsDirty)return;const i=null==(e=t.clipboardData)?void 0:e.getData("text/vnd.vuetify.autocomplete.item+plain");i&&-1===this.findExistingIndex(i)&&(t.preventDefault(),an.options.methods.selectItem.call(this,i))},clearableCallback(){this.editingIndex=-1,on.options.methods.clearableCallback.call(this)}}});var br=e.default.extend({name:"v-data",inheritAttrs:!1,props:{items:{type:Array,default:()=>[]},options:{type:Object,default:()=>({})},sortBy:{type:[String,Array]},sortDesc:{type:[Boolean,Array]},customSort:{type:Function,default:function(t,e,i,s,n){if(null===e||!e.length)return t;const a=new Intl.Collator(s,{sensitivity:"accent",usage:"sort"});return t.sort(((t,s)=>{for(let r=0;r<e.length;r++){const o=e[r];let l=Ct(t,o),h=Ct(s,o);if(i[r]&&([l,h]=[h,l]),n&&n[o]){const t=n[o](l,h);if(!t)continue;return t}if(null!==l||null!==h){if(l instanceof Date&&h instanceof Date)return l.getTime()-h.getTime();if([l,h]=[l,h].map((t=>(t||"").toString().toLocaleLowerCase())),l!==h)return isNaN(l)||isNaN(h)?a.compare(l,h):Number(l)-Number(h)}}return 0}))}},mustSort:Boolean,multiSort:Boolean,page:{type:Number,default:1},itemsPerPage:{type:Number,default:10},groupBy:{type:[String,Array],default:()=>[]},groupDesc:{type:[Boolean,Array],default:()=>[]},customGroup:{type:Function,default:function(t,e,i){const s=e[0],n=[];let a;for(let r=0;r<t.length;r++){const e=t[r],i=Ct(e,s,null);a!==i&&(a=i,n.push({name:null!=i?i:"",items:[]})),n[n.length-1].items.push(e)}return n}},locale:{type:String,default:"en-US"},disableSort:Boolean,disablePagination:Boolean,disableFiltering:Boolean,search:String,customFilter:{type:Function,default:function(t,e){return e?""===(e=e.toString().toLowerCase()).trim()?t:t.filter((t=>Object.keys(t).some((i=>Nt(Ct(t,i),e))))):t}},serverItemsLength:{type:Number,default:-1}},data(){let t={page:this.page,itemsPerPage:this.itemsPerPage,sortBy:Ft(this.sortBy),sortDesc:Ft(this.sortDesc),groupBy:Ft(this.groupBy),groupDesc:Ft(this.groupDesc),mustSort:this.mustSort,multiSort:this.multiSort};this.options&&(t=Object.assign(t,this.options));const{sortBy:e,sortDesc:i,groupBy:s,groupDesc:n}=t,a=e.length-i.length,r=s.length-n.length;return a>0&&t.sortDesc.push(...Xt(a,!1)),r>0&&t.groupDesc.push(...Xt(r,!1)),{internalOptions:t}},computed:{itemsLength(){return this.serverItemsLength>=0?this.serverItemsLength:this.filteredItems.length},pageCount(){return this.internalOptions.itemsPerPage<=0?1:Math.ceil(this.itemsLength/this.internalOptions.itemsPerPage)},pageStart(){return-1!==this.internalOptions.itemsPerPage&&this.items.length?(this.internalOptions.page-1)*this.internalOptions.itemsPerPage:0},pageStop(){return-1===this.internalOptions.itemsPerPage?this.itemsLength:this.items.length?Math.min(this.itemsLength,this.internalOptions.page*this.internalOptions.itemsPerPage):0},isGrouped(){return!!this.internalOptions.groupBy.length},pagination(){return{page:this.internalOptions.page,itemsPerPage:this.internalOptions.itemsPerPage,pageStart:this.pageStart,pageStop:this.pageStop,pageCount:this.pageCount,itemsLength:this.itemsLength}},filteredItems(){let t=this.items.slice();return!this.disableFiltering&&this.serverItemsLength<=0&&(t=this.customFilter(t,this.search)),t},computedItems(){let t=this.filteredItems.slice();return(!this.disableSort||this.internalOptions.groupBy.length)&&this.serverItemsLength<=0&&(t=this.sortItems(t)),!this.disablePagination&&this.serverItemsLength<=0&&(t=this.paginateItems(t)),t},groupedItems(){return this.isGrouped?this.groupItems(this.computedItems):null},scopedProps(){return{sort:this.sort,sortArray:this.sortArray,group:this.group,items:this.computedItems,options:this.internalOptions,updateOptions:this.updateOptions,pagination:this.pagination,groupedItems:this.groupedItems,originalItemsLength:this.items.length}},computedOptions(){return{...this.options}}},watch:{computedOptions:{handler(t,e){wt(t,e)||this.updateOptions(t)},deep:!0,immediate:!0},internalOptions:{handler(t,e){wt(t,e)||this.$emit("update:options",t)},deep:!0,immediate:!0},page(t){this.updateOptions({page:t})},"internalOptions.page"(t){this.$emit("update:page",t)},itemsPerPage(t){this.updateOptions({itemsPerPage:t})},"internalOptions.itemsPerPage"(t){this.$emit("update:items-per-page",t)},sortBy(t){this.updateOptions({sortBy:Ft(t)})},"internalOptions.sortBy"(t,e){!wt(t,e)&&this.$emit("update:sort-by",Array.isArray(this.sortBy)?t:t[0])},sortDesc(t){this.updateOptions({sortDesc:Ft(t)})},"internalOptions.sortDesc"(t,e){!wt(t,e)&&this.$emit("update:sort-desc",Array.isArray(this.sortDesc)?t:t[0])},groupBy(t){this.updateOptions({groupBy:Ft(t)})},"internalOptions.groupBy"(t,e){!wt(t,e)&&this.$emit("update:group-by",Array.isArray(this.groupBy)?t:t[0])},groupDesc(t){this.updateOptions({groupDesc:Ft(t)})},"internalOptions.groupDesc"(t,e){!wt(t,e)&&this.$emit("update:group-desc",Array.isArray(this.groupDesc)?t:t[0])},multiSort(t){this.updateOptions({multiSort:t})},"internalOptions.multiSort"(t){this.$emit("update:multi-sort",t)},mustSort(t){this.updateOptions({mustSort:t})},"internalOptions.mustSort"(t){this.$emit("update:must-sort",t)},pageCount:{handler(t){this.$emit("page-count",t)},immediate:!0},computedItems:{handler(t){this.$emit("current-items",t)},immediate:!0},pagination:{handler(t,e){wt(t,e)||this.$emit("pagination",this.pagination)},immediate:!0}},methods:{toggle(t,e,i,s,n,a){let r=e.slice(),o=i.slice();const l=r.findIndex((e=>e===t));return l<0?(a||(r=[],o=[]),r.push(t),o.push(!1)):l>=0&&!o[l]?o[l]=!0:n?o[l]=!1:(r.splice(l,1),o.splice(l,1)),wt(r,e)&&wt(o,i)||(s=1),{by:r,desc:o,page:s}},group(t){const{by:e,desc:i,page:s}=this.toggle(t,this.internalOptions.groupBy,this.internalOptions.groupDesc,this.internalOptions.page,!0,!1);this.updateOptions({groupBy:e,groupDesc:i,page:s})},sort(t){if(Array.isArray(t))return this.sortArray(t);const{by:e,desc:i,page:s}=this.toggle(t,this.internalOptions.sortBy,this.internalOptions.sortDesc,this.internalOptions.page,this.internalOptions.mustSort,this.internalOptions.multiSort);this.updateOptions({sortBy:e,sortDesc:i,page:s})},sortArray(t){const e=t.map((t=>{const e=this.internalOptions.sortBy.findIndex((e=>e===t));return e>-1&&this.internalOptions.sortDesc[e]}));this.updateOptions({sortBy:t,sortDesc:e})},updateOptions(t){this.internalOptions={...this.internalOptions,...t,page:this.serverItemsLength<0?Math.max(1,Math.min(t.page||this.internalOptions.page,this.pageCount)):t.page||this.internalOptions.page}},sortItems(t){let e=[],i=[];return this.disableSort||(e=this.internalOptions.sortBy,i=this.internalOptions.sortDesc),this.internalOptions.groupBy.length&&(e=[...this.internalOptions.groupBy,...e],i=[...this.internalOptions.groupDesc,...i]),this.customSort(t,e,i,this.locale)},groupItems(t){return this.customGroup(t,this.internalOptions.groupBy,this.internalOptions.groupDesc)},paginateItems(t){return-1===this.serverItemsLength&&t.length<=this.pageStart&&(this.internalOptions.page=Math.max(1,Math.ceil(t.length/this.internalOptions.itemsPerPage))||1),t.slice(this.pageStart,this.pageStop)}},render(){return this.$scopedSlots.default&&this.$scopedSlots.default(this.scopedProps)}}),$r=e.default.extend({name:"v-data-footer",props:{options:{type:Object,required:!0},pagination:{type:Object,required:!0},itemsPerPageOptions:{type:Array,default:()=>[5,10,15,-1]},prevIcon:{type:String,default:"$prev"},nextIcon:{type:String,default:"$next"},firstIcon:{type:String,default:"$first"},lastIcon:{type:String,default:"$last"},itemsPerPageText:{type:String,default:"$vuetify.dataFooter.itemsPerPageText"},itemsPerPageAllText:{type:String,default:"$vuetify.dataFooter.itemsPerPageAll"},showFirstLastPage:Boolean,showCurrentPage:Boolean,disablePagination:Boolean,disableItemsPerPage:Boolean,pageText:{type:String,default:"$vuetify.dataFooter.pageText"}},computed:{disableNextPageIcon(){return this.options.itemsPerPage<=0||this.options.page*this.options.itemsPerPage>=this.pagination.itemsLength||this.pagination.pageStop<0},computedDataItemsPerPageOptions(){return this.itemsPerPageOptions.map((t=>"object"==typeof t?t:this.genDataItemsPerPageOption(t)))}},methods:{updateOptions(t){this.$emit("update:options",Object.assign({},this.options,t))},onFirstPage(){this.updateOptions({page:1})},onPreviousPage(){this.updateOptions({page:this.options.page-1})},onNextPage(){this.updateOptions({page:this.options.page+1})},onLastPage(){this.updateOptions({page:this.pagination.pageCount})},onChangeItemsPerPage(t){this.updateOptions({itemsPerPage:t,page:1})},genDataItemsPerPageOption(t){return{text:-1===t?this.$vuetify.lang.t(this.itemsPerPageAllText):String(t),value:t}},genItemsPerPageSelect(){let t=this.options.itemsPerPage;const e=this.computedDataItemsPerPageOptions;return e.length<=1?null:(e.find((e=>e.value===t))||(t=e[0]),this.$createElement("div",{staticClass:"v-data-footer__select"},[this.$vuetify.lang.t(this.itemsPerPageText),this.$createElement(an,{attrs:{"aria-label":this.$vuetify.lang.t(this.itemsPerPageText)},props:{disabled:this.disableItemsPerPage,items:e,value:t,hideDetails:!0,auto:!0,minWidth:"75px"},on:{input:this.onChangeItemsPerPage}})]))},genPaginationInfo(){let t=["–"];const e=this.pagination.itemsLength;let i=this.pagination.pageStart,s=this.pagination.pageStop;return this.pagination.itemsLength&&this.pagination.itemsPerPage?(i=this.pagination.pageStart+1,s=e<this.pagination.pageStop||this.pagination.pageStop<0?e:this.pagination.pageStop,t=this.$scopedSlots["page-text"]?[this.$scopedSlots["page-text"]({pageStart:i,pageStop:s,itemsLength:e})]:[this.$vuetify.lang.t(this.pageText,i,s,e)]):this.$scopedSlots["page-text"]&&(t=[this.$scopedSlots["page-text"]({pageStart:i,pageStop:s,itemsLength:e})]),this.$createElement("div",{class:"v-data-footer__pagination"},t)},genIcon(t,e,i,s){return this.$createElement(ns,{props:{disabled:e||this.disablePagination,icon:!0,text:!0},on:{click:t},attrs:{"aria-label":i}},[this.$createElement(Zi,s)])},genIcons(){const t=[],e=[];return t.push(this.genIcon(this.onPreviousPage,1===this.options.page,this.$vuetify.lang.t("$vuetify.dataFooter.prevPage"),this.$vuetify.rtl?this.nextIcon:this.prevIcon)),e.push(this.genIcon(this.onNextPage,this.disableNextPageIcon,this.$vuetify.lang.t("$vuetify.dataFooter.nextPage"),this.$vuetify.rtl?this.prevIcon:this.nextIcon)),this.showFirstLastPage&&(t.unshift(this.genIcon(this.onFirstPage,1===this.options.page,this.$vuetify.lang.t("$vuetify.dataFooter.firstPage"),this.$vuetify.rtl?this.lastIcon:this.firstIcon)),e.push(this.genIcon(this.onLastPage,this.options.page>=this.pagination.pageCount||-1===this.options.itemsPerPage,this.$vuetify.lang.t("$vuetify.dataFooter.lastPage"),this.$vuetify.rtl?this.firstIcon:this.lastIcon))),[this.$createElement("div",{staticClass:"v-data-footer__icons-before"},t),this.showCurrentPage&&this.$createElement("span",[this.options.page.toString()]),this.$createElement("div",{staticClass:"v-data-footer__icons-after"},e)]}},render(){return this.$createElement("div",{staticClass:"v-data-footer"},[Rt(this,"prepend"),this.genItemsPerPageSelect(),this.genPaginationInfo(),this.genIcons()])}}),xr=rt(ln,nt).extend({name:"v-data-iterator",props:{...br.options.props,itemKey:{type:String,default:"id"},value:{type:Array,default:()=>[]},singleSelect:Boolean,expanded:{type:Array,default:()=>[]},mobileBreakpoint:{...ln.options.props.mobileBreakpoint,default:600},singleExpand:Boolean,loading:[Boolean,String],noResultsText:{type:String,default:"$vuetify.dataIterator.noResultsText"},noDataText:{type:String,default:"$vuetify.noDataText"},loadingText:{type:String,default:"$vuetify.dataIterator.loadingText"},hideDefaultFooter:Boolean,footerProps:Object,selectableKey:{type:String,default:"isSelectable"}},data:()=>({selection:{},expansion:{},internalCurrentItems:[],shiftKeyDown:!1,lastEntry:-1}),computed:{everyItem(){return!!this.selectableItems.length&&this.selectableItems.every((t=>this.isSelected(t)))},someItems(){return this.selectableItems.some((t=>this.isSelected(t)))},sanitizedFooterProps(){return Gt(this.footerProps)},selectableItems(){return this.internalCurrentItems.filter((t=>this.isSelectable(t)))}},watch:{value:{handler(t){this.selection=t.reduce(((t,e)=>(t[Ct(e,this.itemKey)]=e,t)),{})},immediate:!0},selection(t,e){wt(Object.keys(t),Object.keys(e))||this.$emit("input",Object.values(t))},expanded:{handler(t){this.expansion=t.reduce(((t,e)=>(t[Ct(e,this.itemKey)]=!0,t)),{})},immediate:!0},expansion(t,e){if(wt(t,e))return;const i=Object.keys(t).filter((e=>t[e])),s=i.length?this.items.filter((t=>i.includes(String(Ct(t,this.itemKey))))):[];this.$emit("update:expanded",s)}},created(){[["disable-initial-sort","sort-by"],["filter","custom-filter"],["pagination","options"],["total-items","server-items-length"],["hide-actions","hide-default-footer"],["rows-per-page-items","footer-props.items-per-page-options"],["rows-per-page-text","footer-props.items-per-page-text"],["prev-icon","footer-props.prev-icon"],["next-icon","footer-props.next-icon"]].forEach((([t,e])=>{this.$attrs.hasOwnProperty(t)&&Ye(t,e,this)}));["expand","content-class","content-props","content-tag"].forEach((t=>{this.$attrs.hasOwnProperty(t)&&Ue(t)}))},mounted(){window.addEventListener("keydown",this.onKeyDown),window.addEventListener("keyup",this.onKeyUp)},beforeDestroy(){window.removeEventListener("keydown",this.onKeyDown),window.removeEventListener("keyup",this.onKeyUp)},methods:{onKeyDown(t){t.keyCode===Ot.shift&&(this.shiftKeyDown=!0)},onKeyUp(t){t.keyCode===Ot.shift&&(this.shiftKeyDown=!1)},toggleSelectAll(t){const e=Object.assign({},this.selection);for(let i=0;i<this.selectableItems.length;i++){const s=this.selectableItems[i];if(!this.isSelectable(s))continue;const n=Ct(s,this.itemKey);t?e[n]=s:delete e[n]}this.selection=e,this.$emit("toggle-select-all",{items:this.internalCurrentItems,value:t})},isSelectable(t){return!1!==Ct(t,this.selectableKey)},isSelected(t){return!!this.selection[Ct(t,this.itemKey)]||!1},select(t,e=!0,i=!0){if(!this.isSelectable(t))return;const s=this.singleSelect?{}:Object.assign({},this.selection),n=Ct(t,this.itemKey);e?s[n]=t:delete s[n];const a=this.selectableItems.findIndex((t=>Ct(t,this.itemKey)===n));if(-1===this.lastEntry)this.lastEntry=a;else if(this.shiftKeyDown&&!this.singleSelect&&i){const t=Ct(this.selectableItems[this.lastEntry],this.itemKey),e=Object.keys(this.selection).includes(String(t));this.multipleSelect(e,i,s,a)}if(this.lastEntry=a,this.singleSelect&&i){const t=Object.keys(this.selection),e=t.length&&Ct(this.selection[t[0]],this.itemKey);e&&e!==n&&this.$emit("item-selected",{item:this.selection[e],value:!1})}this.selection=s,i&&this.$emit("item-selected",{item:t,value:e})},multipleSelect(t=!0,e=!0,i,s){const n=s<this.lastEntry?s:this.lastEntry,a=s<this.lastEntry?this.lastEntry:s;for(let r=n;r<=a;r++){const s=this.selectableItems[r],n=Ct(s,this.itemKey);t?i[n]=s:delete i[n],e&&this.$emit("item-selected",{currentItem:s,value:t})}},isExpanded(t){return this.expansion[Ct(t,this.itemKey)]||!1},expand(t,e=!0){const i=this.singleExpand?{}:Object.assign({},this.expansion),s=Ct(t,this.itemKey);e?i[s]=!0:delete i[s],this.expansion=i,this.$emit("item-expanded",{item:t,value:e})},createItemProps(t,e){return{item:t,index:e,select:e=>this.select(t,e),isSelected:this.isSelected(t),expand:e=>this.expand(t,e),isExpanded:this.isExpanded(t),isMobile:this.isMobile}},genEmptyWrapper(t){return this.$createElement("div",t)},genEmpty(t,e){if(0===t&&this.loading){const t=this.$slots.loading||this.$vuetify.lang.t(this.loadingText);return this.genEmptyWrapper(t)}if(0===t){const t=this.$slots["no-data"]||this.$vuetify.lang.t(this.noDataText);return this.genEmptyWrapper(t)}if(0===e){const t=this.$slots["no-results"]||this.$vuetify.lang.t(this.noResultsText);return this.genEmptyWrapper(t)}return null},genItems(t){const e=this.genEmpty(t.originalItemsLength,t.pagination.itemsLength);return e?[e]:this.$scopedSlots.default?this.$scopedSlots.default({...t,isSelected:this.isSelected,select:this.select,isExpanded:this.isExpanded,isMobile:this.isMobile,expand:this.expand}):this.$scopedSlots.item?t.items.map(((t,e)=>this.$scopedSlots.item(this.createItemProps(t,e)))):[]},genFooter(t){if(this.hideDefaultFooter)return null;const e={props:{...this.sanitizedFooterProps,options:t.options,pagination:t.pagination},on:{"update:options":e=>t.updateOptions(e)}},i=Wt("footer.",this.$scopedSlots);return this.$createElement($r,{scopedSlots:i,...e})},genDefaultScopedSlot(t){const e={...t,someItems:this.someItems,everyItem:this.everyItem,toggleSelectAll:this.toggleSelectAll};return this.$createElement("div",{staticClass:"v-data-iterator"},[Rt(this,"header",e,!0),this.genItems(t),this.genFooter(t),Rt(this,"footer",e,!0)])}},render(){return this.$createElement(br,{props:this.$props,on:{"update:options":(t,e)=>!wt(t,e)&&this.$emit("update:options",t),"update:page":t=>this.$emit("update:page",t),"update:items-per-page":t=>this.$emit("update:items-per-page",t),"update:sort-by":t=>this.$emit("update:sort-by",t),"update:sort-desc":t=>this.$emit("update:sort-desc",t),"update:group-by":t=>this.$emit("update:group-by",t),"update:group-desc":t=>this.$emit("update:group-desc",t),pagination:(t,e)=>!wt(t,e)&&this.$emit("pagination",t),"current-items":t=>{this.internalCurrentItems=t,this.$emit("current-items",t)},"page-count":t=>this.$emit("page-count",t)},scopedSlots:{default:this.genDefaultScopedSlot}})}}),Sr=rt().extend({directives:{ripple:Fi},props:{headers:{type:Array,default:()=>[]},options:{type:Object,default:()=>({page:1,itemsPerPage:10,sortBy:[],sortDesc:[],groupBy:[],groupDesc:[],multiSort:!1,mustSort:!1})},checkboxColor:String,sortIcon:{type:String,default:"$sort"},everyItem:Boolean,someItems:Boolean,showGroupBy:Boolean,singleSelect:Boolean,disableSort:Boolean},methods:{genSelectAll(){var t;const e={props:{value:this.everyItem,indeterminate:!this.everyItem&&this.someItems,color:null!=(t=this.checkboxColor)?t:""},on:{input:t=>this.$emit("toggle-select-all",t)}};return this.$scopedSlots["data-table-select"]?this.$scopedSlots["data-table-select"](e):this.$createElement(Es,{staticClass:"v-data-table__checkbox",...e})},genSortIcon(){return this.$createElement(Zi,{staticClass:"v-data-table-header__icon",props:{size:18}},[this.sortIcon])}}}),wr=rt(Sr).extend({name:"v-data-table-header-mobile",props:{sortByText:{type:String,default:"$vuetify.dataTable.sortBy"}},methods:{genSortChip(t){const e=[t.item.text],i=this.options.sortBy.findIndex((e=>e===t.item.value)),s=i>=0,n=this.options.sortDesc[i];return e.push(this.$createElement("div",{staticClass:"v-chip__close",class:{sortable:!0,active:s,asc:s&&!n,desc:s&&n}},[this.genSortIcon()])),this.$createElement(ys,{staticClass:"sortable",on:{click:e=>{e.stopPropagation(),this.$emit("sort",t.item.value)}}},e)},genSortSelect(t){return this.$createElement(an,{props:{label:this.$vuetify.lang.t(this.sortByText),items:t,hideDetails:!0,multiple:this.options.multiSort,value:this.options.multiSort?this.options.sortBy:this.options.sortBy[0],menuProps:{closeOnContentClick:!0}},on:{change:t=>this.$emit("sort",t)},scopedSlots:{selection:t=>this.genSortChip(t)}})}},render(t){const e=[],i=this.headers.find((t=>"data-table-select"===t.value));i&&!this.singleSelect&&e.push(this.$createElement("div",{class:["v-data-table-header-mobile__select",...Ft(i.class)],attrs:{width:i.width}},[this.genSelectAll()]));const s=this.headers.filter((t=>!1!==t.sortable&&"data-table-select"!==t.value)).map((t=>({text:t.text,value:t.value})));!this.disableSort&&s.length&&e.push(this.genSortSelect(s));const n=e.length?t("th",[t("div",{staticClass:"v-data-table-header-mobile__wrapper"},e)]):void 0,a=t("tr",[n]);return t("thead",{staticClass:"v-data-table-header v-data-table-header-mobile"},[a])}}),Cr=rt(Sr).extend({name:"v-data-table-header-desktop",methods:{genGroupByToggle(t){return this.$createElement("span",{on:{click:e=>{e.stopPropagation(),this.$emit("group",t.value)}}},["group"])},getAria(t,e){const i=t=>this.$vuetify.lang.t(`$vuetify.dataTable.ariaLabel.${t}`);let s="none",n=[i("sortNone"),i("activateAscending")];return t?(e?(s="descending",n=[i("sortDescending"),i(this.options.mustSort?"activateAscending":"activateNone")]):(s="ascending",n=[i("sortAscending"),i("activateDescending")]),{ariaSort:s,ariaLabel:n.join(" ")}):{ariaSort:s,ariaLabel:n.join(" ")}},genHeader(t){const e={attrs:{role:"columnheader",scope:"col","aria-label":t.text||""},style:{width:Et(t.width),minWidth:Et(t.width)},class:[`text-${t.align||"start"}`,...Ft(t.class),t.divider&&"v-data-table__divider"],on:{}},i=[];if("data-table-select"===t.value&&!this.singleSelect)return this.$createElement("th",e,[this.genSelectAll()]);if(i.push(this.$scopedSlots.hasOwnProperty(t.value)?this.$scopedSlots[t.value]({header:t}):this.$createElement("span",[t.text])),!this.disableSort&&(t.sortable||!t.hasOwnProperty("sortable"))){e.on.click=()=>this.$emit("sort",t.value);const s=this.options.sortBy.findIndex((e=>e===t.value)),n=s>=0,a=this.options.sortDesc[s];e.class.push("sortable");const{ariaLabel:r,ariaSort:o}=this.getAria(n,a);e.attrs["aria-label"]+=`${t.text?": ":""}${r}`,e.attrs["aria-sort"]=o,n&&(e.class.push("active"),e.class.push(a?"desc":"asc")),"end"===t.align?i.unshift(this.genSortIcon()):i.push(this.genSortIcon()),this.options.multiSort&&n&&i.push(this.$createElement("span",{class:"v-data-table-header__sort-badge"},[String(s+1)]))}return this.showGroupBy&&!1!==t.groupable&&i.push(this.genGroupByToggle(t)),this.$createElement("th",e,i)}},render(){return this.$createElement("thead",{staticClass:"v-data-table-header"},[this.$createElement("tr",this.headers.map((t=>this.genHeader(t))))])}});var kr=e.default.extend({name:"v-data-table-header",functional:!0,props:{...Sr.options.props,mobile:Boolean},render(t,{props:e,data:i,slots:s}){!function(t){if(t.model&&t.on&&t.on.input)if(Array.isArray(t.on.input)){const e=t.on.input.indexOf(t.model.callback);e>-1&&t.on.input.splice(e,1)}else delete t.on.input}(i);const n=function(t,e){const i=[];for(const s in t)t.hasOwnProperty(s)&&i.push(e("template",{slot:s},t[s]));return i}(s(),t);return i=ri(i,{props:e}),e.mobile?t(wr,i,n):t(Cr,i,n)}});var _r=e.default.extend({name:"row",functional:!0,props:{headers:Array,index:Number,item:Object,rtl:Boolean},render(t,{props:e,slots:i,data:s}){const n=i(),a=e.headers.map((i=>{const a=[],r=Ct(e.item,i.value),o=i.value,l=s.scopedSlots&&s.scopedSlots.hasOwnProperty(o)&&s.scopedSlots[o],h=n.hasOwnProperty(o)&&n[o];l?a.push(...Ft(l({item:e.item,isMobile:!1,header:i,index:e.index,value:r}))):h?a.push(...Ft(h)):a.push(null==r?r:String(r));const c=`text-${i.align||"start"}`;return 1===(d=a).length&&["td","th"].includes(null==(u=d[0])?void 0:u.tag)?a:t("td",{class:[c,i.cellClass,{"v-data-table__divider":i.divider}]},a);var d,u}));return t("tr",s,a)}}),Ir=e.default.extend({name:"row-group",functional:!0,props:{value:{type:Boolean,default:!0},headerClass:{type:String,default:"v-row-group__header"},contentClass:String,summaryClass:{type:String,default:"v-row-group__summary"}},render(t,{slots:e,props:i}){const s=e(),n=[];return s["column.header"]?n.push(t("tr",{staticClass:i.headerClass},s["column.header"])):s["row.header"]&&n.push(...s["row.header"]),s["row.content"]&&i.value&&n.push(...s["row.content"]),s["column.summary"]?n.push(t("tr",{staticClass:i.summaryClass},s["column.summary"])):s["row.summary"]&&n.push(...s["row.summary"]),n}}),Tr=rt(nt).extend({name:"v-simple-table",props:{dense:Boolean,fixedHeader:Boolean,height:[Number,String]},computed:{classes(){return{"v-data-table--dense":this.dense,"v-data-table--fixed-height":!!this.height&&!this.fixedHeader,"v-data-table--fixed-header":this.fixedHeader,"v-data-table--has-top":!!this.$slots.top,"v-data-table--has-bottom":!!this.$slots.bottom,...this.themeClasses}}},methods:{genWrapper(){return this.$slots.wrapper||this.$createElement("div",{staticClass:"v-data-table__wrapper",style:{height:Et(this.height)}},[this.$createElement("table",this.$slots.default)])}},render(t){return t("div",{staticClass:"v-data-table",class:this.classes},[this.$slots.top,this.genWrapper(),this.$slots.bottom])}}),Br=e.default.extend({name:"row",functional:!0,props:{headers:Array,hideDefaultHeader:Boolean,index:Number,item:Object,rtl:Boolean},render(t,{props:e,slots:i,data:s}){const n=i(),a=e.headers.map((i=>{const a=[],r=Ct(e.item,i.value),o=i.value,l=s.scopedSlots&&s.scopedSlots.hasOwnProperty(o)&&s.scopedSlots[o],h=n.hasOwnProperty(o)&&n[o];l?a.push(l({item:e.item,isMobile:!0,header:i,index:e.index,value:r})):h?a.push(h):a.push(null==r?r:String(r));const c=[t("div",{staticClass:"v-data-table__mobile-row__cell"},a)];return"dataTableSelect"===i.value||e.hideDefaultHeader||c.unshift(t("div",{staticClass:"v-data-table__mobile-row__header"},[i.text])),t("td",{class:{"v-data-table__mobile-row":!0}},c)}));return t("tr",{...s,staticClass:"v-data-table__mobile-table-row"},a)}});function Ar(t,e,i){return s=>{const n=Ct(t,s.value);return s.filter?s.filter(n,e,t):i(n,e,t)}}rt(xr,Js).extend({name:"v-data-table",directives:{ripple:Fi},props:{headers:{type:Array,default:()=>[]},showSelect:Boolean,checkboxColor:String,showExpand:Boolean,showGroupBy:Boolean,height:[Number,String],hideDefaultHeader:Boolean,caption:String,dense:Boolean,headerProps:Object,calculateWidths:Boolean,fixedHeader:Boolean,headersLength:Number,expandIcon:{type:String,default:"$expand"},customFilter:{type:Function,default:Nt},itemClass:{type:[String,Function],default:()=>""},loaderHeight:{type:[Number,String],default:4}},data:()=>({internalGroupBy:[],openCache:{},widths:[]}),computed:{computedHeaders(){if(!this.headers)return[];const t=this.headers.filter((t=>void 0===t.value||!this.internalGroupBy.find((e=>e===t.value)))),e={text:"",sortable:!1,width:"1px"};if(this.showSelect){const i=t.findIndex((t=>"data-table-select"===t.value));i<0?t.unshift({...e,value:"data-table-select"}):t.splice(i,1,{...e,...t[i]})}if(this.showExpand){const i=t.findIndex((t=>"data-table-expand"===t.value));i<0?t.unshift({...e,value:"data-table-expand"}):t.splice(i,1,{...e,...t[i]})}return t},colspanAttrs(){return this.isMobile?void 0:{colspan:this.headersLength||this.computedHeaders.length}},columnSorters(){return this.computedHeaders.reduce(((t,e)=>(e.sort&&(t[e.value]=e.sort),t)),{})},headersWithCustomFilters(){return this.headers.filter((t=>t.filter&&(!t.hasOwnProperty("filterable")||!0===t.filterable)))},headersWithoutCustomFilters(){return this.headers.filter((t=>!(t.filter||t.hasOwnProperty("filterable")&&!0!==t.filterable)))},sanitizedHeaderProps(){return Gt(this.headerProps)},computedItemsPerPage(){const t=this.options&&this.options.itemsPerPage?this.options.itemsPerPage:this.itemsPerPage,e=this.sanitizedFooterProps.itemsPerPageOptions;if(e&&!e.find((e=>"number"==typeof e?e===t:e.value===t))){const t=e[0];return"object"==typeof t?t.value:t}return t}},created(){[["sort-icon","header-props.sort-icon"],["hide-headers","hide-default-header"],["select-all","show-select"]].forEach((([t,e])=>{this.$attrs.hasOwnProperty(t)&&Ye(t,e,this)}))},mounted(){this.calculateWidths&&(window.addEventListener("resize",this.calcWidths),this.calcWidths())},beforeDestroy(){this.calculateWidths&&window.removeEventListener("resize",this.calcWidths)},methods:{calcWidths(){this.widths=Array.from(this.$el.querySelectorAll("th")).map((t=>t.clientWidth))},customFilterWithColumns(t,e){return function(t,e,i,s,n){return e="string"==typeof e?e.trim():null,t.filter((t=>{const a=i.every(Ar(t,e,Nt)),r=!e||s.some(Ar(t,e,n));return a&&r}))}(t,e,this.headersWithCustomFilters,this.headersWithoutCustomFilters,this.customFilter)},customSortWithHeaders(t,e,i,s){return this.customSort(t,e,i,s,this.columnSorters)},createItemProps(t,e){const i=xr.options.methods.createItemProps.call(this,t,e);return Object.assign(i,{headers:this.computedHeaders})},genCaption(t){return this.caption?[this.$createElement("caption",[this.caption])]:Rt(this,"caption",t,!0)},genColgroup(t){return this.$createElement("colgroup",this.computedHeaders.map((t=>this.$createElement("col",{class:{divider:t.divider}}))))},genLoading(){const t=this.$createElement("th",{staticClass:"column",attrs:this.colspanAttrs},[this.genProgress()]),e=this.$createElement("tr",{staticClass:"v-data-table__progress"},[t]);return this.$createElement("thead",[e])},genHeaders(t){const e={props:{...this.sanitizedHeaderProps,headers:this.computedHeaders,options:t.options,mobile:this.isMobile,showGroupBy:this.showGroupBy,checkboxColor:this.checkboxColor,someItems:this.someItems,everyItem:this.everyItem,singleSelect:this.singleSelect,disableSort:this.disableSort},on:{sort:t.sort,group:t.group,"toggle-select-all":this.toggleSelectAll}},i=[Rt(this,"header",{...e,isMobile:this.isMobile})];if(!this.hideDefaultHeader){const t=Wt("header.",this.$scopedSlots);i.push(this.$createElement(kr,{...e,scopedSlots:t}))}return this.loading&&i.push(this.genLoading()),i},genEmptyWrapper(t){return this.$createElement("tr",{staticClass:"v-data-table__empty-wrapper"},[this.$createElement("td",{attrs:this.colspanAttrs},t)])},genItems(t,e){const i=this.genEmpty(e.originalItemsLength,e.pagination.itemsLength);return i?[i]:e.groupedItems?this.genGroupedRows(e.groupedItems,e):this.genRows(t,e)},genGroupedRows(t,e){return t.map((t=>(this.openCache.hasOwnProperty(t.name)||this.$set(this.openCache,t.name,!0),this.$scopedSlots.group?this.$scopedSlots.group({group:t.name,options:e.options,isMobile:this.isMobile,items:t.items,headers:this.computedHeaders}):this.genDefaultGroupedRow(t.name,t.items,e))))},genDefaultGroupedRow(t,e,i){const s=!!this.openCache[t],n=[this.$createElement("template",{slot:"row.content"},this.genRows(e,i))],a=()=>this.$set(this.openCache,t,!this.openCache[t]),r=()=>i.updateOptions({groupBy:[],groupDesc:[]});if(this.$scopedSlots["group.header"])n.unshift(this.$createElement("template",{slot:"column.header"},[this.$scopedSlots["group.header"]({group:t,groupBy:i.options.groupBy,isMobile:this.isMobile,items:e,headers:this.computedHeaders,isOpen:s,toggle:a,remove:r})]));else{const e=this.$createElement(ns,{staticClass:"ma-0",props:{icon:!0,small:!0},on:{click:a}},[this.$createElement(Zi,[s?"$minus":"$plus"])]),o=this.$createElement(ns,{staticClass:"ma-0",props:{icon:!0,small:!0},on:{click:r}},[this.$createElement(Zi,["$close"])]),l=this.$createElement("td",{staticClass:"text-start",attrs:this.colspanAttrs},[e,`${i.options.groupBy[0]}: ${t}`,o]);n.unshift(this.$createElement("template",{slot:"column.header"},[l]))}return this.$scopedSlots["group.summary"]&&n.push(this.$createElement("template",{slot:"column.summary"},[this.$scopedSlots["group.summary"]({group:t,groupBy:i.options.groupBy,isMobile:this.isMobile,items:e,headers:this.computedHeaders,isOpen:s,toggle:a})])),this.$createElement(Ir,{key:t,props:{value:s}},n)},genRows(t,e){return this.$scopedSlots.item?this.genScopedRows(t,e):this.genDefaultRows(t,e)},genScopedRows(t,e){const i=[];for(let s=0;s<t.length;s++){const e=t[s];i.push(this.$scopedSlots.item({...this.createItemProps(e,s),isMobile:this.isMobile})),this.isExpanded(e)&&i.push(this.$scopedSlots["expanded-item"]({headers:this.computedHeaders,isMobile:this.isMobile,index:s,item:e}))}return i},genDefaultRows(t,e){return this.$scopedSlots["expanded-item"]?t.map(((t,e)=>this.genDefaultExpandedRow(t,e))):t.map(((t,e)=>this.genDefaultSimpleRow(t,e)))},genDefaultExpandedRow(t,e){const i=this.isExpanded(t),s={"v-data-table__expanded v-data-table__expanded__row":i},n=this.genDefaultSimpleRow(t,e,s),a=this.$createElement("tr",{staticClass:"v-data-table__expanded v-data-table__expanded__content"},[this.$scopedSlots["expanded-item"]({headers:this.computedHeaders,isMobile:this.isMobile,item:t})]);return this.$createElement(Ir,{props:{value:i}},[this.$createElement("template",{slot:"row.header"},[n]),this.$createElement("template",{slot:"row.content"},[a])])},genDefaultSimpleRow(t,e,i={}){const s=Wt("item.",this.$scopedSlots),n=this.createItemProps(t,e);if(this.showSelect){const e=s["data-table-select"];s["data-table-select"]=e?()=>e({...n,isMobile:this.isMobile}):()=>{var e;return this.$createElement(Es,{staticClass:"v-data-table__checkbox",props:{value:n.isSelected,disabled:!this.isSelectable(t),color:null!=(e=this.checkboxColor)?e:""},on:{input:t=>n.select(t)}})}}if(this.showExpand){const t=s["data-table-expand"];s["data-table-expand"]=t?()=>t(n):()=>this.$createElement(Zi,{staticClass:"v-data-table__expand-icon",class:{"v-data-table__expand-icon--active":n.isExpanded},on:{click:t=>{t.stopPropagation(),n.expand(!n.isExpanded)}}},[this.expandIcon])}return this.$createElement(this.isMobile?Br:_r,{key:Ct(t,this.itemKey),class:li({...i,"v-data-table__selected":n.isSelected},kt(t,this.itemClass)),props:{headers:this.computedHeaders,hideDefaultHeader:this.hideDefaultHeader,index:e,item:t,rtl:this.$vuetify.rtl},scopedSlots:s,on:{click:()=>this.$emit("click:row",t,n),contextmenu:t=>this.$emit("contextmenu:row",t,n),dblclick:t=>this.$emit("dblclick:row",t,n)}})},genBody(t){const e={...t,expand:this.expand,headers:this.computedHeaders,isExpanded:this.isExpanded,isMobile:this.isMobile,isSelected:this.isSelected,select:this.select};return this.$scopedSlots.body?this.$scopedSlots.body(e):this.$createElement("tbody",[Rt(this,"body.prepend",e,!0),this.genItems(t.items,t),Rt(this,"body.append",e,!0)])},genFoot(t){var e,i;return null==(e=(i=this.$scopedSlots).foot)?void 0:e.call(i,t)},genFooters(t){const e={props:{options:t.options,pagination:t.pagination,itemsPerPageText:"$vuetify.dataTable.itemsPerPageText",...this.sanitizedFooterProps},on:{"update:options":e=>t.updateOptions(e)},widths:this.widths,headers:this.computedHeaders},i=[Rt(this,"footer",e,!0)];return this.hideDefaultFooter||i.push(this.$createElement($r,{...e,scopedSlots:Wt("footer.",this.$scopedSlots)})),i},genDefaultScopedSlot(t){const e={height:this.height,fixedHeader:this.fixedHeader,dense:this.dense};return this.$createElement(Tr,{props:e,class:{"v-data-table--mobile":this.isMobile}},[this.proxySlot("top",Rt(this,"top",{...t,isMobile:this.isMobile},!0)),this.genCaption(t),this.genColgroup(t),this.genHeaders(t),this.genBody(t),this.genFoot(t),this.proxySlot("bottom",this.genFooters(t))])},proxySlot(t,e){return this.$createElement("template",{slot:t},e)}},render(){return this.$createElement(br,{props:{...this.$props,customFilter:this.customFilterWithColumns,customSort:this.customSortWithHeaders,itemsPerPage:this.computedItemsPerPage},on:{"update:options":(t,e)=>{this.internalGroupBy=t.groupBy||[],!wt(t,e)&&this.$emit("update:options",t)},"update:page":t=>this.$emit("update:page",t),"update:items-per-page":t=>this.$emit("update:items-per-page",t),"update:sort-by":t=>this.$emit("update:sort-by",t),"update:sort-desc":t=>this.$emit("update:sort-desc",t),"update:group-by":t=>this.$emit("update:group-by",t),"update:group-desc":t=>this.$emit("update:group-desc",t),pagination:(t,e)=>!wt(t,e)&&this.$emit("pagination",t),"current-items":t=>{this.internalCurrentItems=t,this.$emit("current-items",t)},"page-count":t=>this.$emit("page-count",t)},scopedSlots:{default:this.genDefaultScopedSlot}})}});rt(Bs,nt).extend({name:"v-edit-dialog",props:{cancelText:{default:"Cancel"},large:Boolean,eager:Boolean,persistent:Boolean,saveText:{default:"Save"},transition:{type:String,default:"slide-x-reverse-transition"}},data:()=>({isActive:!1}),watch:{isActive(t){t?(this.$emit("open"),setTimeout(this.focus,50)):this.$emit("close")}},methods:{cancel(){this.isActive=!1,this.$emit("cancel")},focus(){const t=this.$refs.content.querySelector("input");t&&t.focus()},genButton(t,e){return this.$createElement(ns,{props:{text:!0,color:"primary",light:!0},on:{click:t}},e)},genActions(){return this.$createElement("div",{class:"v-small-dialog__actions"},[this.genButton(this.cancel,this.cancelText),this.genButton((()=>{this.save(this.returnValue),this.$emit("save")}),this.saveText)])},genContent(){return this.$createElement("div",{staticClass:"v-small-dialog__content",on:{keydown:t=>{t.keyCode===Ot.esc&&this.cancel(),t.keyCode===Ot.enter&&(this.save(this.returnValue),this.$emit("save"))}},ref:"content"},[this.$slots.input])}},render(t){return t(As,{staticClass:"v-small-dialog",class:this.themeClasses,props:{contentClass:"v-small-dialog__menu-content",transition:this.transition,origin:"top right",right:!0,value:this.isActive,closeOnClick:!this.persistent,closeOnContentClick:!1,eager:this.eager,light:this.light,dark:this.dark},on:{input:t=>this.isActive=t},scopedSlots:{activator:({on:e})=>t("div",{staticClass:"v-small-dialog__activator",on:e},[t("span",{staticClass:"v-small-dialog__activator__content"},this.$slots.default)])}},[this.genContent(),this.large?this.genActions():null])}});rt(Tr).extend().extend({name:"v-virtual-table",props:{chunkSize:{type:Number,default:25},headerHeight:{type:Number,default:48},items:{type:Array,default:()=>[]},rowHeight:{type:Number,default:48}},data:()=>({scrollTop:0,oldChunk:0,scrollDebounce:null,invalidateCache:!1}),computed:{itemsLength(){return this.items.length},totalHeight(){return this.itemsLength*this.rowHeight+this.headerHeight},topIndex(){return Math.floor(this.scrollTop/this.rowHeight)},chunkIndex(){return Math.floor(this.topIndex/this.chunkSize)},startIndex(){return Math.max(0,this.chunkIndex*this.chunkSize-this.chunkSize)},offsetTop(){return Math.max(0,this.startIndex*this.rowHeight)},stopIndex(){return Math.min(this.startIndex+3*this.chunkSize,this.itemsLength)},offsetBottom(){return Math.max(0,(this.itemsLength-this.stopIndex-this.startIndex)*this.rowHeight)}},watch:{chunkIndex(t,e){this.oldChunk=e},items(){this.cachedItems=null,this.$refs.table.scrollTop=0}},created(){this.cachedItems=null},mounted(){this.scrollDebounce=function(t,e){let i=0;return(...s)=>{clearTimeout(i),i=setTimeout((()=>t(...s)),e)}}(this.onScroll,50),this.$refs.table.addEventListener("scroll",this.scrollDebounce,{passive:!0})},beforeDestroy(){this.$refs.table.removeEventListener("scroll",this.scrollDebounce)},methods:{createStyleHeight:t=>({height:`${t}px`}),genBody(){return null!==this.cachedItems&&this.chunkIndex===this.oldChunk||(this.cachedItems=this.genItems(),this.oldChunk=this.chunkIndex),this.$createElement("tbody",[this.$createElement("tr",{style:this.createStyleHeight(this.offsetTop)}),this.cachedItems,this.$createElement("tr",{style:this.createStyleHeight(this.offsetBottom)})])},genItems(){return this.$scopedSlots.items({items:this.items.slice(this.startIndex,this.stopIndex)})},onScroll(t){const e=t.target;this.scrollTop=e.scrollTop},genTable(){return this.$createElement("div",{ref:"table",staticClass:"v-virtual-table__table"},[this.$createElement("table",[this.$slots["body.before"],this.genBody(),this.$slots["body.after"]])])},genWrapper(){return this.$createElement("div",{staticClass:"v-virtual-table__wrapper",style:{height:Et(this.height)}},[this.genTable()])}},render(t){return t("div",{staticClass:"v-data-table v-virtual-table",class:this.classes},[this.$slots.top,this.genWrapper(),this.$slots.bottom])}}),bt("v-table__overflow");var Er=rt(Xe).extend({methods:{genPickerButton(t,e,i,s=!1,n=""){const a=this[t]===e;return this.$createElement("div",{staticClass:`v-picker__title__btn ${n}`.trim(),class:{"v-picker__title__btn--active":a,"v-picker__title__btn--readonly":s},on:a||s?void 0:{click:i=>{i.stopPropagation(),this.$emit(`update:${Dt(t)}`,e)}}},Array.isArray(i)?i:[i])}}}),Dr=rt(Er).extend({name:"v-date-picker-title",props:{date:{type:String,default:""},disabled:Boolean,readonly:Boolean,selectingYear:Boolean,value:{type:String},year:{type:[Number,String],default:""},yearIcon:{type:String}},data:()=>({isReversing:!1}),computed:{computedTransition(){return this.isReversing?"picker-reverse-transition":"picker-transition"}},watch:{value(t,e){this.isReversing=t<e}},methods:{genYearIcon(){return this.$createElement(Zi,{props:{dark:!0}},this.yearIcon)},getYearBtn(){return this.genPickerButton("selectingYear",!0,[String(this.year),this.yearIcon?this.genYearIcon():null],!1,"v-date-picker-title__year")},genTitleText(){return this.$createElement("transition",{props:{name:this.computedTransition}},[this.$createElement("div",{domProps:{innerHTML:this.date||" "},key:this.value})])},genTitleDate(){return this.genPickerButton("selectingYear",!1,[this.genTitleText()],!1,"v-date-picker-title__date")}},render(t){return t("div",{staticClass:"v-date-picker-title",class:{"v-date-picker-title--disabled":this.disabled}},[this.getYearBtn(),this.genTitleDate()])}});function Mr(t,e,i){return Object.keys(t.$listeners).reduce(((s,n)=>(n.endsWith(e)&&(s[n.slice(0,-e.length)]=e=>t.$emit(n,i,e)),s)),{})}function Or(t,e){return Object.keys(t.$listeners).reduce(((i,s)=>(s.endsWith(e)&&(i[s]=t.$listeners[s]),i)),{})}var Lr=(t,e=2)=>{return i=t,s=e,n="0",s>>=0,i=String(i),n=String(n),i.length>s?String(i):((s-=i.length)>n.length&&(n+=n.repeat(s/n.length)),n.slice(0,s)+String(i));var i,s,n};function Vr(t,e,i={start:0,length:0}){const s=t=>{const[e,i,s]=t.trim().split(" ")[0].split("-");return[Lr(e,4),Lr(i||1),Lr(s||1)].join("-")};try{const i=new Intl.DateTimeFormat(t||void 0,e);return t=>i.format(new Date(`${s(t)}T00:00:00+00:00`))}catch(Yo){return i.start||i.length?t=>s(t).substr(i.start||0,i.length):void 0}}var Pr=(t,e)=>{const[i,s]=t.split("-").map(Number);return s+e===0?i-1+"-12":s+e===13?`${i+1}-01`:`${i}-${Lr(s+e)}`},Hr=(t,e)=>{const[i,s=1,n=1]=t.split("-");return`${i}-${Lr(s)}-${Lr(n)}`.substr(0,{date:10,month:7,year:4}[e])},Fr=rt(Xe,gn,nt).extend({name:"v-date-picker-header",props:{disabled:Boolean,format:Function,min:String,max:String,nextAriaLabel:String,nextIcon:{type:String,default:"$next"},prevAriaLabel:String,prevIcon:{type:String,default:"$prev"},readonly:Boolean,value:{type:[Number,String],required:!0}},data:()=>({isReversing:!1}),computed:{formatter(){return this.format?this.format:String(this.value).split("-")[1]?Vr(this.currentLocale,{month:"long",year:"numeric",timeZone:"UTC"},{length:7}):Vr(this.currentLocale,{year:"numeric",timeZone:"UTC"},{length:4})}},watch:{value(t,e){this.isReversing=t<e}},methods:{genBtn(t){const e=t>0?this.nextAriaLabel:this.prevAriaLabel,i=e?this.$vuetify.lang.t(e):void 0,s=this.disabled||t<0&&this.min&&this.calculateChange(t)<this.min||t>0&&this.max&&this.calculateChange(t)>this.max;return this.$createElement(ns,{attrs:{"aria-label":i},props:{dark:this.dark,disabled:s,icon:!0,light:this.light},on:{click:e=>{e.stopPropagation(),this.$emit("input",this.calculateChange(t))}}},[this.$createElement(Zi,t<0==!this.$vuetify.rtl?this.prevIcon:this.nextIcon)])},calculateChange(t){const[e,i]=String(this.value).split("-").map(Number);return null==i?`${e+t}`:Pr(String(this.value),t)},genHeader(){const t=!this.disabled&&(this.color||"accent"),e=this.$createElement("div",this.setTextColor(t,{key:String(this.value)}),[this.$createElement("button",{attrs:{type:"button"},on:{click:()=>this.$emit("toggle")}},[this.$slots.default||this.formatter(String(this.value))])]),i=this.$createElement("transition",{props:{name:this.isReversing===!this.$vuetify.rtl?"tab-reverse-transition":"tab-transition"}},[e]);return this.$createElement("div",{staticClass:"v-date-picker-header__value",class:{"v-date-picker-header__value--disabled":this.disabled}},[i])}},render(){return this.$createElement("div",{staticClass:"v-date-picker-header",class:{"v-date-picker-header--disabled":this.disabled,...this.themeClasses}},[this.genBtn(-1),this.genHeader(),this.genBtn(1)])}});function Nr(t,e,i,s){return(!s||s(t))&&(!e||t>=e.substr(0,10))&&(!i||t<=i)}var zr=rt(Xe,gn,nt).extend({directives:{Touch:Wi},props:{allowedDates:Function,current:String,disabled:Boolean,format:Function,events:{type:[Array,Function,Object],default:()=>null},eventColor:{type:[Array,Function,Object,String],default:()=>"warning"},min:String,max:String,range:Boolean,readonly:Boolean,scrollable:Boolean,tableDate:{type:String,required:!0},value:[String,Array]},data:()=>({isReversing:!1,wheelThrottle:null}),computed:{computedTransition(){return this.isReversing===!this.$vuetify.rtl?"tab-reverse-transition":"tab-transition"},displayedMonth(){return Number(this.tableDate.split("-")[1])-1},displayedYear(){return Number(this.tableDate.split("-")[0])}},watch:{tableDate(t,e){this.isReversing=t<e}},mounted(){this.wheelThrottle=function(t,e){let i=!1;return(...s)=>{if(!i)return i=!0,setTimeout((()=>i=!1),e),t(...s)}}(this.wheel,250)},methods:{genButtonClasses(t,e,i,s,n,a){return{"v-size--default":!e,"v-date-picker-table__current":s,"v-btn--active":i,"v-btn--flat":!t||this.disabled,"v-btn--text":i===s,"v-btn--rounded":e,"v-btn--disabled":!t||this.disabled,"v-btn--outlined":s&&!i,"v-date-picker--first-in-range":n,"v-date-picker--last-in-range":a,...this.themeClasses}},genButtonEvents(t,e,i){if(!this.disabled)return hi({click:()=>{e&&!this.readonly&&this.$emit("input",t)}},Mr(this,`:${i}`,t))},genButton(t,e,i,s,n=!1){const a=Nr(t,this.min,this.max,this.allowedDates),r=this.isSelected(t)&&a,o=t===this.current,l=r?this.setBackgroundColor:this.setTextColor,h=(r||o)&&(this.color||"accent");let c=!1,d=!1;return this.range&&this.value&&Array.isArray(this.value)&&(c=t===this.value[0],d=t===this.value[this.value.length-1]),this.$createElement("button",l(h,{staticClass:"v-btn",class:this.genButtonClasses(a&&!n,e,r,o,c,d),attrs:{type:"button"},domProps:{disabled:this.disabled||!a||n},on:this.genButtonEvents(t,a,i)}),[this.$createElement("div",{staticClass:"v-btn__content"},[s(t)]),this.genEvents(t)])},getEventColors(t){const e=t=>Array.isArray(t)?t:[t];let i,s=[];return i=Array.isArray(this.events)?this.events.includes(t):this.events instanceof Function?this.events(t)||!1:this.events&&this.events[t]||!1,i?(s=!0!==i?e(i):"string"==typeof this.eventColor?[this.eventColor]:"function"==typeof this.eventColor?e(this.eventColor(t)):Array.isArray(this.eventColor)?this.eventColor:e(this.eventColor[t]),s.filter((t=>t))):[]},genEvents(t){const e=this.getEventColors(t);return e.length?this.$createElement("div",{staticClass:"v-date-picker-table__events"},e.map((t=>this.$createElement("div",this.setBackgroundColor(t))))):null},isValidScroll(t,e){const i=e(t),s=1===i.split("-").length?"year":"month";return t<0&&(!this.min||i>=Hr(this.min,s))||t>0&&(!this.max||i<=Hr(this.max,s))},wheel(t,e){this.$emit("update:table-date",e(t.deltaY))},touch(t,e){this.$emit("update:table-date",e(t))},genTable(t,e,i){const s=this.$createElement("transition",{props:{name:this.computedTransition}},[this.$createElement("table",{key:this.tableDate},e)]),n={name:"touch",value:{left:t=>t.offsetX<-15&&this.isValidScroll(1,i)&&this.touch(1,i),right:t=>t.offsetX>15&&this.isValidScroll(-1,i)&&this.touch(-1,i)}};return this.$createElement("div",{staticClass:t,class:{"v-date-picker-table--disabled":this.disabled,...this.themeClasses},on:!this.disabled&&this.scrollable?{wheel:t=>{t.preventDefault(),this.isValidScroll(t.deltaY,i)&&this.wheelThrottle(t,i)}}:void 0,directives:[n]},[s])},isSelected(t){if(Array.isArray(this.value)){if(this.range&&2===this.value.length){const[e,i]=[...this.value].sort();return e<=t&&t<=i}return-1!==this.value.indexOf(t)}return t===this.value}}}),Wr=rt(zr).extend({name:"v-date-picker-date-table",props:{firstDayOfWeek:{type:[String,Number],default:0},localeFirstDayOfYear:{type:[String,Number],default:0},showAdjacentMonths:Boolean,showWeek:Boolean,weekdayFormat:Function},computed:{formatter(){return this.format||Vr(this.currentLocale,{day:"numeric",timeZone:"UTC"},{start:8,length:2})},weekdayFormatter(){return this.weekdayFormat||Vr(this.currentLocale,{weekday:"narrow",timeZone:"UTC"})},weekDays(){const t=parseInt(this.firstDayOfWeek,10);return this.weekdayFormatter?_t(7).map((e=>this.weekdayFormatter(`2017-01-${t+e+15}`))):_t(7).map((e=>["S","M","T","W","T","F","S"][(e+t)%7]))}},methods:{calculateTableDate(t){return Pr(this.tableDate,Math.sign(t||1))},genTHead(){const t=this.weekDays.map((t=>this.$createElement("th",t)));return this.showWeek&&t.unshift(this.$createElement("th")),this.$createElement("thead",this.genTR(t))},weekDaysBeforeFirstDayOfTheMonth(){return(new Date(`${this.displayedYear}-${Lr(this.displayedMonth+1)}-01T00:00:00+00:00`).getUTCDay()-parseInt(this.firstDayOfWeek)+7)%7},getWeekNumber(t){return bn(this.displayedYear,this.displayedMonth,t,parseInt(this.firstDayOfWeek),parseInt(this.localeFirstDayOfYear))},genWeekNumber(t){return this.$createElement("td",[this.$createElement("small",{staticClass:"v-date-picker-table--date__week"},String(t).padStart(2,"0"))])},genTBody(){const t=[],e=new Date(this.displayedYear,this.displayedMonth+1,0).getDate();let i=[],s=this.weekDaysBeforeFirstDayOfTheMonth();this.showWeek&&i.push(this.genWeekNumber(this.getWeekNumber(1)));const n=this.displayedMonth?this.displayedYear:this.displayedYear-1,a=(this.displayedMonth+11)%12,r=new Date(this.displayedYear,this.displayedMonth,0).getDate(),o=this.showWeek?8:7;for(;s--;){const t=`${n}-${Lr(a+1)}-${Lr(r-s)}`;i.push(this.$createElement("td",this.showAdjacentMonths?[this.genButton(t,!0,"date",this.formatter,!0)]:[]))}for(s=1;s<=e;s++){const n=`${this.displayedYear}-${Lr(this.displayedMonth+1)}-${Lr(s)}`;i.push(this.$createElement("td",[this.genButton(n,!0,"date",this.formatter)])),i.length%o==0&&(t.push(this.genTR(i)),i=[],this.showWeek&&(s<e||this.showAdjacentMonths)&&i.push(this.genWeekNumber(this.getWeekNumber(s+7))))}const l=11===this.displayedMonth?this.displayedYear+1:this.displayedYear,h=(this.displayedMonth+1)%12;let c=1;for(;i.length<o;){const t=`${l}-${Lr(h+1)}-${Lr(c++)}`;i.push(this.$createElement("td",this.showAdjacentMonths?[this.genButton(t,!0,"date",this.formatter,!0)]:[]))}return i.length&&t.push(this.genTR(i)),this.$createElement("tbody",t)},genTR(t){return[this.$createElement("tr",t)]}},render(){return this.genTable("v-date-picker-table v-date-picker-table--date",[this.genTHead(),this.genTBody()],this.calculateTableDate)}}),Rr=rt(zr).extend({name:"v-date-picker-month-table",computed:{formatter(){return this.format||Vr(this.currentLocale,{month:"short",timeZone:"UTC"},{start:5,length:2})}},methods:{calculateTableDate(t){return`${parseInt(this.tableDate,10)+Math.sign(t||1)}`},genTBody(){const t=[],e=Array(3).fill(null),i=12/e.length;for(let s=0;s<i;s++){const i=e.map(((t,i)=>{const n=s*e.length+i,a=`${this.displayedYear}-${Lr(n+1)}`;return this.$createElement("td",{key:n},[this.genButton(a,!1,"month",this.formatter)])}));t.push(this.$createElement("tr",{key:s},i))}return this.$createElement("tbody",t)}},render(){return this.genTable("v-date-picker-table v-date-picker-table--month",[this.genTBody()],this.calculateTableDate)}}),jr=rt(Xe,gn).extend({name:"v-date-picker-years",props:{format:Function,min:[Number,String],max:[Number,String],readonly:Boolean,value:[Number,String]},data:()=>({defaultColor:"primary"}),computed:{formatter(){return this.format||Vr(this.currentLocale,{year:"numeric",timeZone:"UTC"},{length:4})}},mounted(){setTimeout((()=>{const t=this.$el.getElementsByClassName("active")[0];t?this.$el.scrollTop=t.offsetTop-this.$el.offsetHeight/2+t.offsetHeight/2:this.min&&!this.max?this.$el.scrollTop=this.$el.scrollHeight:!this.min&&this.max?this.$el.scrollTop=0:this.$el.scrollTop=this.$el.scrollHeight/2-this.$el.offsetHeight/2}))},methods:{genYearItem(t){const e=this.formatter(`${t}`),i=parseInt(this.value,10)===t,s=i&&(this.color||"primary");return this.$createElement("li",this.setTextColor(s,{key:t,class:{active:i},on:hi({click:()=>this.$emit("input",t)},Mr(this,":year",t))}),e)},genYearItems(){const t=[],e=this.value?parseInt(this.value,10):(new Date).getFullYear(),i=this.max?parseInt(this.max,10):e+100,s=Math.min(i,this.min?parseInt(this.min,10):e-100);for(let n=i;n>=s;n--)t.push(this.genYearItem(n));return t}},render(){return this.$createElement("ul",{staticClass:"v-date-picker-years",ref:"years"},this.genYearItems())}}),Yr=rt(Xe,qe,nt).extend({name:"v-picker",props:{flat:Boolean,fullWidth:Boolean,landscape:Boolean,noTitle:Boolean,transition:{type:String,default:"fade-transition"},width:{type:[Number,String],default:290}},computed:{computedTitleColor(){const t=!this.isDark&&(this.color||"primary");return this.color||t}},methods:{genTitle(){return this.$createElement("div",this.setBackgroundColor(this.computedTitleColor,{staticClass:"v-picker__title",class:{"v-picker__title--landscape":this.landscape}}),this.$slots.title)},genBodyTransition(){return this.$createElement("transition",{props:{name:this.transition}},this.$slots.default)},genBody(){return this.$createElement("div",{staticClass:"v-picker__body",class:{"v-picker__body--no-title":this.noTitle,...this.themeClasses},style:this.fullWidth?void 0:{width:Et(this.width)}},[this.genBodyTransition()])},genActions(){return this.$createElement("div",{staticClass:"v-picker__actions v-card__actions",class:{"v-picker__actions--no-title":this.noTitle}},this.$slots.actions)}},render(t){return t("div",{staticClass:"v-picker v-card",class:{"v-picker--flat":this.flat,"v-picker--landscape":this.landscape,"v-picker--full-width":this.fullWidth,...this.themeClasses,...this.elevationClasses}},[this.$slots.title?this.genTitle():null,this.genBody(),this.$slots.actions?this.genActions():null])}}),Ur=rt(Xe,qe,nt).extend({name:"picker",props:{flat:Boolean,fullWidth:Boolean,headerColor:String,landscape:Boolean,noTitle:Boolean,width:{type:[Number,String],default:290}},methods:{genPickerTitle:()=>null,genPickerBody:()=>null,genPickerActionsSlot(){return this.$scopedSlots.default?this.$scopedSlots.default({save:this.save,cancel:this.cancel}):this.$slots.default},genPicker(t){const e=[];if(!this.noTitle){const t=this.genPickerTitle();t&&e.push(t)}const i=this.genPickerBody();return i&&e.push(i),e.push(this.$createElement("template",{slot:"actions"},[this.genPickerActionsSlot()])),this.$createElement(Yr,{staticClass:t,props:{color:this.headerColor||this.color,dark:this.dark,elevation:this.elevation,flat:this.flat,fullWidth:this.fullWidth,landscape:this.landscape,light:this.light,width:this.width,noTitle:this.noTitle}},e)}}});rt(gn,Ur).extend({name:"v-date-picker",props:{activePicker:String,allowedDates:Function,dayFormat:Function,disabled:Boolean,events:{type:[Array,Function,Object],default:()=>null},eventColor:{type:[Array,Function,Object,String],default:()=>"warning"},firstDayOfWeek:{type:[String,Number],default:0},headerDateFormat:Function,localeFirstDayOfYear:{type:[String,Number],default:0},max:String,min:String,monthFormat:Function,multiple:Boolean,nextIcon:{type:String,default:"$next"},nextMonthAriaLabel:{type:String,default:"$vuetify.datePicker.nextMonthAriaLabel"},nextYearAriaLabel:{type:String,default:"$vuetify.datePicker.nextYearAriaLabel"},pickerDate:String,prevIcon:{type:String,default:"$prev"},prevMonthAriaLabel:{type:String,default:"$vuetify.datePicker.prevMonthAriaLabel"},prevYearAriaLabel:{type:String,default:"$vuetify.datePicker.prevYearAriaLabel"},range:Boolean,reactive:Boolean,readonly:Boolean,scrollable:Boolean,showCurrent:{type:[Boolean,String],default:!0},selectedItemsText:{type:String,default:"$vuetify.datePicker.itemsSelected"},showAdjacentMonths:Boolean,showWeek:Boolean,titleDateFormat:Function,type:{type:String,default:"date",validator:t=>["date","month"].includes(t)},value:[Array,String],weekdayFormat:Function,yearFormat:Function,yearIcon:String},data(){const t=new Date;return{internalActivePicker:this.type.toUpperCase(),inputDay:null,inputMonth:null,inputYear:null,isReversing:!1,now:t,tableDate:(()=>{if(this.pickerDate)return this.pickerDate;const e=Ft(this.value),i=e[e.length-1]||("string"==typeof this.showCurrent?this.showCurrent:`${t.getFullYear()}-${t.getMonth()+1}`);return Hr(i,"date"===this.type?"month":"year")})()}},computed:{multipleValue(){return Ft(this.value)},isMultiple(){return this.multiple||this.range},lastValue(){return this.isMultiple?this.multipleValue[this.multipleValue.length-1]:this.value},selectedMonths(){return this.value&&"month"!==this.type?this.isMultiple?this.multipleValue.map((t=>t.substr(0,7))):this.value.substr(0,7):this.value},current(){return!0===this.showCurrent?Hr(`${this.now.getFullYear()}-${this.now.getMonth()+1}-${this.now.getDate()}`,this.type):this.showCurrent||null},inputDate(){return"date"===this.type?`${this.inputYear}-${Lr(this.inputMonth+1)}-${Lr(this.inputDay)}`:`${this.inputYear}-${Lr(this.inputMonth+1)}`},tableMonth(){return Number((this.pickerDate||this.tableDate).split("-")[1])-1},tableYear(){return Number((this.pickerDate||this.tableDate).split("-")[0])},minMonth(){return this.min?Hr(this.min,"month"):null},maxMonth(){return this.max?Hr(this.max,"month"):null},minYear(){return this.min?Hr(this.min,"year"):null},maxYear(){return this.max?Hr(this.max,"year"):null},formatters(){return{year:this.yearFormat||Vr(this.currentLocale,{year:"numeric",timeZone:"UTC"},{length:4}),titleDate:this.titleDateFormat||(this.isMultiple?this.defaultTitleMultipleDateFormatter:this.defaultTitleDateFormatter)}},defaultTitleMultipleDateFormatter(){return t=>t.length?1===t.length?this.defaultTitleDateFormatter(t[0]):this.$vuetify.lang.t(this.selectedItemsText,t.length):"-"},defaultTitleDateFormatter(){const t=Vr(this.currentLocale,{year:{year:"numeric",timeZone:"UTC"},month:{month:"long",timeZone:"UTC"},date:{weekday:"short",month:"short",day:"numeric",timeZone:"UTC"}}[this.type],{start:0,length:{date:10,month:7,year:4}[this.type]});return this.landscape?e=>t(e).replace(/([^\d\s])([\d])/g,((t,e,i)=>`${e} ${i}`)).replace(", ",",<br>"):t}},watch:{internalActivePicker:{immediate:!0,handler(t){this.$emit("update:active-picker",t)}},activePicker(t){this.internalActivePicker=t},tableDate(t,e){const i="month"===this.type?"year":"month";this.isReversing=Hr(t,i)<Hr(e,i),this.$emit("update:picker-date",t)},pickerDate(t){t?this.tableDate=t:this.lastValue&&"date"===this.type?this.tableDate=Hr(this.lastValue,"month"):this.lastValue&&"month"===this.type&&(this.tableDate=Hr(this.lastValue,"year"))},value(t,e){this.checkMultipleProp(),this.setInputDate(),(this.isMultiple||!this.value||this.pickerDate)&&(!this.isMultiple||!this.multipleValue.length||e&&e.length||this.pickerDate)||(this.tableDate=Hr(this.inputDate,"month"===this.type?"year":"month"))},type(t){if(this.internalActivePicker=t.toUpperCase(),this.value&&this.value.length){const e=this.multipleValue.map((e=>Hr(e,t))).filter(this.isDateAllowed);this.$emit("input",this.isMultiple?e:e[0])}}},created(){this.checkMultipleProp(),this.pickerDate!==this.tableDate&&this.$emit("update:picker-date",this.tableDate),this.setInputDate()},methods:{emitInput(t){if(this.range){if(1!==this.multipleValue.length)this.$emit("input",[t]);else{const e=[this.multipleValue[0],t];this.$emit("input",e),this.$emit("change",e)}return}const e=this.multiple?-1===this.multipleValue.indexOf(t)?this.multipleValue.concat([t]):this.multipleValue.filter((e=>e!==t)):t;this.$emit("input",e),this.multiple||this.$emit("change",t)},checkMultipleProp(){if(null==this.value)return;const t=this.value.constructor.name,e=this.isMultiple?"Array":"String";t!==e&&We(`Value must be ${this.isMultiple?"an":"a"} ${e}, got ${t}`,this)},isDateAllowed(t){return Nr(t,this.min,this.max,this.allowedDates)},yearClick(t){this.inputYear=t,"month"===this.type?this.tableDate=`${t}`:this.tableDate=`${t}-${Lr((this.tableMonth||0)+1)}`,this.internalActivePicker="MONTH",this.reactive&&!this.readonly&&!this.isMultiple&&this.isDateAllowed(this.inputDate)&&this.$emit("input",this.inputDate)},monthClick(t){this.inputYear=parseInt(t.split("-")[0],10),this.inputMonth=parseInt(t.split("-")[1],10)-1,"date"===this.type?(this.inputDay&&(this.inputDay=Math.min(this.inputDay,Nn(this.inputYear,this.inputMonth+1))),this.tableDate=t,this.internalActivePicker="DATE",this.reactive&&!this.readonly&&!this.isMultiple&&this.isDateAllowed(this.inputDate)&&this.$emit("input",this.inputDate)):this.emitInput(this.inputDate)},dateClick(t){this.inputYear=parseInt(t.split("-")[0],10),this.inputMonth=parseInt(t.split("-")[1],10)-1,this.inputDay=parseInt(t.split("-")[2],10),this.emitInput(this.inputDate)},genPickerTitle(){return this.$createElement(Dr,{props:{date:this.value?this.formatters.titleDate(this.isMultiple?this.multipleValue:this.value):"",disabled:this.disabled,readonly:this.readonly,selectingYear:"YEAR"===this.internalActivePicker,year:this.formatters.year(this.multipleValue.length?`${this.inputYear}`:this.tableDate),yearIcon:this.yearIcon,value:this.multipleValue[0]},slot:"title",on:{"update:selecting-year":t=>this.internalActivePicker=t?"YEAR":this.type.toUpperCase()}})},genTableHeader(){return this.$createElement(Fr,{props:{nextIcon:this.nextIcon,color:this.color,dark:this.dark,disabled:this.disabled,format:this.headerDateFormat,light:this.light,locale:this.locale,min:"DATE"===this.internalActivePicker?this.minMonth:this.minYear,max:"DATE"===this.internalActivePicker?this.maxMonth:this.maxYear,nextAriaLabel:"DATE"===this.internalActivePicker?this.nextMonthAriaLabel:this.nextYearAriaLabel,prevAriaLabel:"DATE"===this.internalActivePicker?this.prevMonthAriaLabel:this.prevYearAriaLabel,prevIcon:this.prevIcon,readonly:this.readonly,value:"DATE"===this.internalActivePicker?`${Lr(this.tableYear,4)}-${Lr(this.tableMonth+1)}`:`${Lr(this.tableYear,4)}`},on:{toggle:()=>this.internalActivePicker="DATE"===this.internalActivePicker?"MONTH":"YEAR",input:t=>this.tableDate=t}})},genDateTable(){return this.$createElement(Wr,{props:{allowedDates:this.allowedDates,color:this.color,current:this.current,dark:this.dark,disabled:this.disabled,events:this.events,eventColor:this.eventColor,firstDayOfWeek:this.firstDayOfWeek,format:this.dayFormat,light:this.light,locale:this.locale,localeFirstDayOfYear:this.localeFirstDayOfYear,min:this.min,max:this.max,range:this.range,readonly:this.readonly,scrollable:this.scrollable,showAdjacentMonths:this.showAdjacentMonths,showWeek:this.showWeek,tableDate:`${Lr(this.tableYear,4)}-${Lr(this.tableMonth+1)}`,value:this.value,weekdayFormat:this.weekdayFormat},ref:"table",on:{input:this.dateClick,"update:table-date":t=>this.tableDate=t,...Or(this,":date")}})},genMonthTable(){return this.$createElement(Rr,{props:{allowedDates:"month"===this.type?this.allowedDates:null,color:this.color,current:this.current?Hr(this.current,"month"):null,dark:this.dark,disabled:this.disabled,events:"month"===this.type?this.events:null,eventColor:"month"===this.type?this.eventColor:null,format:this.monthFormat,light:this.light,locale:this.locale,min:this.minMonth,max:this.maxMonth,range:this.range,readonly:this.readonly&&"month"===this.type,scrollable:this.scrollable,value:this.selectedMonths,tableDate:`${Lr(this.tableYear,4)}`},ref:"table",on:{input:this.monthClick,"update:table-date":t=>this.tableDate=t,...Or(this,":month")}})},genYears(){return this.$createElement(jr,{props:{color:this.color,format:this.yearFormat,locale:this.locale,min:this.minYear,max:this.maxYear,value:this.tableYear},on:{input:this.yearClick,...Or(this,":year")}})},genPickerBody(){const t="YEAR"===this.internalActivePicker?[this.genYears()]:[this.genTableHeader(),"DATE"===this.internalActivePicker?this.genDateTable():this.genMonthTable()];return this.$createElement("div",{key:this.internalActivePicker},t)},setInputDate(){if(this.lastValue){const t=this.lastValue.split("-");this.inputYear=parseInt(t[0],10),this.inputMonth=parseInt(t[1],10)-1,"date"===this.type&&(this.inputDay=parseInt(t[2],10))}else this.inputYear=this.inputYear||this.now.getFullYear(),this.inputMonth=null==this.inputMonth?this.inputMonth:this.now.getMonth(),this.inputDay=this.inputDay||this.now.getDate()}},render(){return this.genPicker("v-picker--date")}});Fs.extend({name:"v-expansion-panels",provide(){return{expansionPanels:this}},props:{accordion:Boolean,disabled:Boolean,flat:Boolean,hover:Boolean,focusable:Boolean,inset:Boolean,popout:Boolean,readonly:Boolean,tile:Boolean},computed:{classes(){return{...Fs.options.computed.classes.call(this),"v-expansion-panels":!0,"v-expansion-panels--accordion":this.accordion,"v-expansion-panels--flat":this.flat,"v-expansion-panels--hover":this.hover,"v-expansion-panels--focusable":this.focusable,"v-expansion-panels--inset":this.inset,"v-expansion-panels--popout":this.popout,"v-expansion-panels--tile":this.tile}}},created(){this.$attrs.hasOwnProperty("expand")&&Ye("expand","multiple",this),Array.isArray(this.value)&&this.value.length>0&&"boolean"==typeof this.value[0]&&Ye(':value="[true, false, true]"',':value="[0, 2]"',this)},methods:{updateItem(t,e){const i=this.getValue(t,e),s=this.getValue(t,e+1);t.isActive=this.toggleMethod(i),t.nextIsActive=this.toggleMethod(s)}}}),rt(is("expansionPanels","v-expansion-panel","v-expansion-panels"),es("expansionPanel",!0)).extend({name:"v-expansion-panel",props:{disabled:Boolean,readonly:Boolean},data:()=>({content:null,header:null,nextIsActive:!1}),computed:{classes(){return{"v-expansion-panel--active":this.isActive,"v-expansion-panel--next-active":this.nextIsActive,"v-expansion-panel--disabled":this.isDisabled,...this.groupClasses}},isDisabled(){return this.expansionPanels.disabled||this.disabled},isReadonly(){return this.expansionPanels.readonly||this.readonly}},methods:{registerContent(t){this.content=t},unregisterContent(){this.content=null},registerHeader(t){this.header=t,t.$on("click",this.onClick)},unregisterHeader(){this.header=null},onClick(t){t.detail&&this.header.$el.blur(),this.$emit("click",t),this.isReadonly||this.isDisabled||this.toggle()},toggle(){this.$nextTick((()=>this.$emit("change")))}},render(t){return t("div",{staticClass:"v-expansion-panel",class:this.classes,attrs:{"aria-expanded":String(this.isActive)}},Rt(this))}});rt(ks,Xe,ts("expansionPanel","v-expansion-panel-content","v-expansion-panel")).extend().extend({name:"v-expansion-panel-content",data:()=>({isActive:!1}),computed:{parentIsActive(){return this.expansionPanel.isActive}},watch:{parentIsActive:{immediate:!0,handler(t,e){t&&(this.isBooted=!0),null==e?this.isActive=t:this.$nextTick((()=>this.isActive=t))}}},created(){this.expansionPanel.registerContent(this)},beforeDestroy(){this.expansionPanel.unregisterContent()},render(t){return t(vs,this.showLazyContent((()=>[t("div",this.setBackgroundColor(this.color,{staticClass:"v-expansion-panel-content",directives:[{name:"show",value:this.isActive}]}),[t("div",{class:"v-expansion-panel-content__wrap"},Rt(this))])])))}});rt(Xe,ts("expansionPanel","v-expansion-panel-header","v-expansion-panel")).extend().extend({name:"v-expansion-panel-header",directives:{ripple:Fi},props:{disableIconRotate:Boolean,expandIcon:{type:String,default:"$expand"},hideActions:Boolean,ripple:{type:[Boolean,Object],default:!1}},data:()=>({hasMousedown:!1}),computed:{classes(){return{"v-expansion-panel-header--active":this.isActive,"v-expansion-panel-header--mousedown":this.hasMousedown}},isActive(){return this.expansionPanel.isActive},isDisabled(){return this.expansionPanel.isDisabled},isReadonly(){return this.expansionPanel.isReadonly}},created(){this.expansionPanel.registerHeader(this)},beforeDestroy(){this.expansionPanel.unregisterHeader()},methods:{onClick(t){this.$emit("click",t)},genIcon(){const t=Rt(this,"actions")||[this.$createElement(Zi,this.expandIcon)];return this.$createElement(ps,[this.$createElement("div",{staticClass:"v-expansion-panel-header__icon",class:{"v-expansion-panel-header__icon--disable-rotate":this.disableIconRotate},directives:[{name:"show",value:!this.isDisabled}]},t)])}},render(t){return t("button",this.setBackgroundColor(this.color,{staticClass:"v-expansion-panel-header",class:this.classes,attrs:{tabindex:this.isDisabled?-1:null,type:"button","aria-expanded":this.isActive},directives:[{name:"ripple",value:this.ripple}],on:{...this.$listeners,click:this.onClick,mousedown:()=>this.hasMousedown=!0,mouseup:()=>this.hasMousedown=!1}}),[Rt(this,"default",{open:this.isActive},!0),this.hideActions||this.genIcon()])}});en.extend({name:"v-file-input",model:{prop:"value",event:"change"},props:{chips:Boolean,clearable:{type:Boolean,default:!0},counterSizeString:{type:String,default:"$vuetify.fileInput.counterSize"},counterString:{type:String,default:"$vuetify.fileInput.counter"},hideInput:Boolean,multiple:Boolean,placeholder:String,prependIcon:{type:String,default:"$file"},readonly:{type:Boolean,default:!1},showSize:{type:[Boolean,Number],default:!1,validator:t=>"boolean"==typeof t||[1e3,1024].includes(t)},smallChips:Boolean,truncateLength:{type:[Number,String],default:22},type:{type:String,default:"file"},value:{default:void 0,validator:t=>Ft(t).every((t=>null!=t&&"object"==typeof t))}},computed:{classes(){return{...en.options.computed.classes.call(this),"v-file-input":!0}},computedCounterValue(){const t=this.multiple&&this.lazyValue?this.lazyValue.length:this.lazyValue instanceof File?1:0;if(!this.showSize)return this.$vuetify.lang.t(this.counterString,t);const e=this.internalArrayValue.reduce(((t,{size:e=0})=>t+e),0);return this.$vuetify.lang.t(this.counterSizeString,t,Ut(e,1024===this.base))},internalArrayValue(){return Ft(this.internalValue)},internalValue:{get(){return this.lazyValue},set(t){this.lazyValue=t,this.$emit("change",this.lazyValue)}},isDirty(){return this.internalArrayValue.length>0},isLabelActive(){return this.isDirty},text(){return this.isDirty||!this.persistentPlaceholder&&!this.isFocused&&this.hasLabel?this.internalArrayValue.map((t=>{const{name:e="",size:i=0}=t,s=this.truncateText(e);return this.showSize?`${s} (${Ut(i,1024===this.base)})`:s})):[this.placeholder]},base(){return"boolean"!=typeof this.showSize?this.showSize:void 0},hasChips(){return this.chips||this.smallChips}},watch:{readonly:{handler(t){!0===t&&Re("readonly is not supported on <v-file-input>",this)},immediate:!0},value(t){wt(this.multiple?t:t?[t]:[],this.$refs.input.files)||(this.$refs.input.value="")}},methods:{clearableCallback(){this.internalValue=this.multiple?[]:null,this.$refs.input.value=""},genChips(){return this.isDirty?this.text.map(((t,e)=>this.$createElement(ys,{props:{small:this.smallChips},on:{"click:close":()=>{const t=this.internalValue;t.splice(e,1),this.internalValue=t}}},[t]))):[]},genControl(){const t=en.options.methods.genControl.call(this);return this.hideInput&&(t.data.style=oi(t.data.style,{display:"none"})),t},genInput(){const t=en.options.methods.genInput.call(this);return t.data.attrs.multiple=this.multiple,delete t.data.domProps.value,delete t.data.on.input,t.data.on.change=this.onInput,[this.genSelections(),t]},genPrependSlot(){if(!this.prependIcon)return null;const t=this.genIcon("prepend",(()=>{this.$refs.input.click()}));return this.genSlot("prepend","outer",[t])},genSelectionText(){const t=this.text.length;return t<2?this.text:this.showSize&&!this.counter?[this.computedCounterValue]:[this.$vuetify.lang.t(this.counterString,t)]},genSelections(){const t=[];return this.isDirty&&this.$scopedSlots.selection?this.internalArrayValue.forEach(((e,i)=>{this.$scopedSlots.selection&&t.push(this.$scopedSlots.selection({text:this.text[i],file:e,index:i}))})):t.push(this.hasChips&&this.isDirty?this.genChips():this.genSelectionText()),this.$createElement("div",{staticClass:"v-file-input__text",class:{"v-file-input__text--placeholder":this.placeholder&&!this.isDirty,"v-file-input__text--chips":this.hasChips&&!this.$scopedSlots.selection}},t)},genTextFieldSlot(){const t=en.options.methods.genTextFieldSlot.call(this);return t.data.on={...t.data.on||{},click:()=>this.$refs.input.click()},t},onInput(t){const e=[...t.target.files||[]];this.internalValue=this.multiple?e:e[0],this.initialValue=this.internalValue},onKeyDown(t){this.$emit("keydown",t)},truncateText(t){if(t.length<Number(this.truncateLength))return t;const e=Math.floor((Number(this.truncateLength)-1)/2);return`${t.slice(0,e)}…${t.slice(t.length-e)}`}}});rt(Qe,fi("footer",["height","inset"]),ji).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{...Qe.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 Boolean(this.absolute||this.fixed||this.app)},styles(){const t=parseInt(this.height);return{...Qe.options.computed.styles.call(this),height:isNaN(t)?t:Et(t),left:Et(this.computedLeft),right:Et(this.computedRight),bottom:Et(this.computedBottom)}}},methods:{updateApplication(){const t=parseInt(this.height);return isNaN(t)?this.$el?this.$el.clientHeight:0:t}},render(t){const e=this.setBackgroundColor(this.color,{staticClass:"v-footer",class:this.classes,style:this.styles});return t(this.tag,e,this.$slots.default)}}),rt(lt,es("form")).extend({name:"v-form",provide(){return{form:this}},inheritAttrs:!1,props:{disabled:Boolean,lazyValidation:Boolean,readonly:Boolean,value:Boolean},data:()=>({inputs:[],watchers:[],errorBag:{}}),watch:{errorBag:{handler(t){const e=Object.values(t).includes(!0);this.$emit("input",!e)},deep:!0,immediate:!0}},methods:{watchInput(t){const e=t=>t.$watch("hasError",(e=>{this.$set(this.errorBag,t._uid,e)}),{immediate:!0}),i={_uid:t._uid,valid:()=>{},shouldValidate:()=>{}};return this.lazyValidation?i.shouldValidate=t.$watch("shouldValidate",(s=>{s&&(this.errorBag.hasOwnProperty(t._uid)||(i.valid=e(t)))})):i.valid=e(t),i},validate(){return 0===this.inputs.filter((t=>!t.validate(!0))).length},reset(){this.inputs.forEach((t=>t.reset())),this.resetErrorBag()},resetErrorBag(){this.lazyValidation&&setTimeout((()=>{this.errorBag={}}),0)},resetValidation(){this.inputs.forEach((t=>t.resetValidation())),this.resetErrorBag()},register(t){this.inputs.push(t),this.watchers.push(this.watchInput(t))},unregister(t){const e=this.inputs.find((e=>e._uid===t._uid));if(!e)return;const i=this.watchers.find((t=>t._uid===e._uid));i&&(i.valid(),i.shouldValidate()),this.watchers=this.watchers.filter((t=>t._uid!==e._uid)),this.inputs=this.inputs.filter((t=>t._uid!==e._uid)),this.$delete(this.errorBag,e._uid)}},render(t){return t("form",{staticClass:"v-form",attrs:{novalidate:!0,...this.attrs$},on:{submit:t=>this.$emit("submit",t)}},this.$slots.default)}});function Gr(t){return e.default.extend({name:`v-${t}`,functional:!0,props:{id:String,tag:{type:String,default:"div"}},render(e,{props:i,data:s,children:n}){s.staticClass=`${t} ${s.staticClass||""}`.trim();const{attrs:a}=s;if(a){s.attrs={};const t=Object.keys(a).filter((t=>{if("slot"===t)return!1;const e=a[t];return t.startsWith("data-")?(s.attrs[t]=e,!1):e||"string"==typeof e}));t.length&&(s.staticClass+=` ${t.join(" ")}`)}return i.id&&(s.domProps=s.domProps||{},s.domProps.id=i.id),e(i.tag,s,n)}})}Gr("container").extend({name:"v-container",functional:!0,props:{id:String,tag:{type:String,default:"div"},fluid:{type:Boolean,default:!1}},render(t,{props:e,data:i,children:s}){let n;const{attrs:a}=i;return a&&(i.attrs={},n=Object.keys(a).filter((t=>{if("slot"===t)return!1;const e=a[t];return t.startsWith("data-")?(i.attrs[t]=e,!1):e||"string"==typeof e}))),e.id&&(i.domProps=i.domProps||{},i.domProps.id=e.id),t(e.tag,ri(i,{staticClass:"container",class:Array({"container--fluid":e.fluid}).concat(n||[])}),s)}});const Kr=["sm","md","lg","xl"],Xr=Kr.reduce(((t,e)=>(t[e]={type:[Boolean,String,Number],default:!1},t)),{}),qr=Kr.reduce(((t,e)=>(t["offset"+Ht(e)]={type:[String,Number],default:null},t)),{}),Zr=Kr.reduce(((t,e)=>(t["order"+Ht(e)]={type:[String,Number],default:null},t)),{}),Jr={col:Object.keys(Xr),offset:Object.keys(qr),order:Object.keys(Zr)};function Qr(t,e,i){let s=t;if(null!=i&&!1!==i){if(e){s+=`-${e.replace(t,"")}`}return"col"!==t||""!==i&&!0!==i?(s+=`-${i}`,s.toLowerCase()):s.toLowerCase()}}const to=new Map;e.default.extend({name:"v-col",functional:!0,props:{cols:{type:[Boolean,String,Number],default:!1},...Xr,offset:{type:[String,Number],default:null},...qr,order:{type:[String,Number],default:null},...Zr,alignSelf:{type:String,default:null,validator:t=>["auto","start","end","center","baseline","stretch"].includes(t)},tag:{type:String,default:"div"}},render(t,{props:e,data:i,children:s,parent:n}){let a="";for(const o in e)a+=String(e[o]);let r=to.get(a);if(!r){let t;for(t in r=[],Jr)Jr[t].forEach((i=>{const s=e[i],n=Qr(t,i,s);n&&r.push(n)}));const i=r.some((t=>t.startsWith("col-")));r.push({col:!i||!e.cols,[`col-${e.cols}`]:e.cols,[`offset-${e.offset}`]:e.offset,[`order-${e.order}`]:e.order,[`align-self-${e.alignSelf}`]:e.alignSelf}),to.set(a,r)}return t(e.tag,ri(i,{class:r}),s)}});const eo=["sm","md","lg","xl"],io=["start","end","center"];function so(t,e){return eo.reduce(((i,s)=>(i[t+Ht(s)]=e(),i)),{})}const no=t=>[...io,"baseline","stretch"].includes(t),ao=so("align",(()=>({type:String,default:null,validator:no}))),ro=t=>[...io,"space-between","space-around"].includes(t),oo=so("justify",(()=>({type:String,default:null,validator:ro}))),lo=t=>[...io,"space-between","space-around","stretch"].includes(t),ho=so("alignContent",(()=>({type:String,default:null,validator:lo}))),co={align:Object.keys(ao),justify:Object.keys(oo),alignContent:Object.keys(ho)},uo={align:"align",justify:"justify",alignContent:"align-content"};function po(t,e,i){let s=uo[t];if(null!=i){if(e){s+=`-${e.replace(t,"")}`}return s+=`-${i}`,s.toLowerCase()}}const mo=new Map;e.default.extend({name:"v-row",functional:!0,props:{tag:{type:String,default:"div"},dense:Boolean,noGutters:Boolean,align:{type:String,default:null,validator:no},...ao,justify:{type:String,default:null,validator:ro},...oo,alignContent:{type:String,default:null,validator:lo},...ho},render(t,{props:e,data:i,children:s}){let n="";for(const r in e)n+=String(e[r]);let a=mo.get(n);if(!a){let t;for(t in a=[],co)co[t].forEach((i=>{const s=e[i],n=po(t,i,s);n&&a.push(n)}));a.push({"no-gutters":e.noGutters,"row--dense":e.dense,[`align-${e.align}`]:e.align,[`justify-${e.justify}`]:e.justify,[`align-content-${e.alignContent}`]:e.alignContent}),mo.set(n,a)}return t(e.tag,ri(i,{staticClass:"row",class:a}),s)}}),bt("spacer","div","v-spacer"),Gr("layout"),Gr("flex"),rt($s,Ui).extend({name:"v-hover",props:{disabled:{type:Boolean,default:!1},value:{type:Boolean,default:void 0}},methods:{onMouseEnter(){this.runDelay("open")},onMouseLeave(){this.runDelay("close")}},render(){if(!this.$scopedSlots.default&&void 0===this.value)return We("v-hover is missing a default scopedSlot or bound value",this),null;let t;return this.$scopedSlots.default&&(t=this.$scopedSlots.default({hover:this.isActive})),Array.isArray(t)&&1===t.length&&(t=t[0]),t&&!Array.isArray(t)&&t.tag?(this.disabled||(t.data=t.data||{},this._g(t.data,{mouseenter:this.onMouseEnter,mouseleave:this.onMouseLeave})),t):(We("v-hover should only contain a single element",this),t)}});const go=e.default.extend({props:{activeClass:String,value:{required:!1}},data:()=>({isActive:!1}),methods:{toggle(){this.isActive=!this.isActive}},render(){if(!this.$scopedSlots.default)return We("v-item is missing a default scopedSlot",this),null;let t;return this.$scopedSlots.default&&(t=this.$scopedSlots.default({active:this.isActive,toggle:this.toggle})),Array.isArray(t)&&1===t.length&&(t=t[0]),t&&!Array.isArray(t)&&t.tag?(t.data=this._b(t.data||{},t.tag,{class:{[this.activeClass]:this.isActive}}),t):(We("v-item should only contain a single element",this),t)}});rt(go,is("itemGroup","v-item","v-item-group")).extend({name:"v-item"}),rt(Ze,Ui).extend({name:"VLazy",directives:{intersect:ei},props:{options:{type:Object,default:()=>({root:void 0,rootMargin:void 0,threshold:void 0})},tag:{type:String,default:"div"},transition:{type:String,default:"fade-transition"}},computed:{styles(){return{...this.measurableStyles}}},methods:{genContent(){const t=this.isActive&&Rt(this);return this.transition?this.$createElement("transition",{props:{name:this.transition}},t):t},onObserve(t,e,i){this.isActive||(this.isActive=i)}},render(t){return t(this.tag,{staticClass:"v-lazy",attrs:this.$attrs,directives:[{name:"intersect",value:{handler:this.onObserve,options:this.options}}],on:this.$listeners,style:this.styles},[this.genContent()])}});rt(fi("left",["isActive","isMobile","miniVariant","expandOnHover","permanent","right","temporary","width"]),Xe,ws,ln,dn,ji,nt).extend({name:"v-navigation-drawer",directives:{ClickOutside:wi,Resize:Ci,Touch:Wi},provide(){return{isInNav:"nav"===this.tag}},props:{bottom:Boolean,clipped:Boolean,disableResizeWatcher:Boolean,disableRouteWatcher:Boolean,expandOnHover:Boolean,floating:Boolean,height:{type:[Number,String],default(){return this.app?"100vh":"100%"}},miniVariant:Boolean,miniVariantWidth:{type:[Number,String],default:56},permanent:Boolean,right:Boolean,src:{type:[String,Object],default:""},stateless:Boolean,tag:{type:String,default(){return this.app?"nav":"aside"}},temporary:Boolean,touchless:Boolean,width:{type:[Number,String],default:256},value:null},data:()=>({isMouseover:!1,touchArea:{left:0,right:0},stackMinZIndex:6}),computed:{applicationProperty(){return this.right?"right":"left"},classes(){return{"v-navigation-drawer":!0,"v-navigation-drawer--absolute":this.absolute,"v-navigation-drawer--bottom":this.bottom,"v-navigation-drawer--clipped":this.clipped,"v-navigation-drawer--close":!this.isActive,"v-navigation-drawer--fixed":!this.absolute&&(this.app||this.fixed),"v-navigation-drawer--floating":this.floating,"v-navigation-drawer--is-mobile":this.isMobile,"v-navigation-drawer--is-mouseover":this.isMouseover,"v-navigation-drawer--mini-variant":this.isMiniVariant,"v-navigation-drawer--custom-mini-variant":56!==Number(this.miniVariantWidth),"v-navigation-drawer--open":this.isActive,"v-navigation-drawer--open-on-hover":this.expandOnHover,"v-navigation-drawer--right":this.right,"v-navigation-drawer--temporary":this.temporary,...this.themeClasses}},computedMaxHeight(){if(!this.hasApp)return null;const t=this.$vuetify.application.bottom+this.$vuetify.application.footer+this.$vuetify.application.bar;return this.clipped?t+this.$vuetify.application.top:t},computedTop(){if(!this.hasApp)return 0;let t=this.$vuetify.application.bar;return t+=this.clipped?this.$vuetify.application.top:0,t},computedTransform(){return this.isActive?0:this.isBottom||this.right?100:-100},computedWidth(){return this.isMiniVariant?this.miniVariantWidth:this.width},hasApp(){return this.app&&!this.isMobile&&!this.temporary},isBottom(){return this.bottom&&this.isMobile},isMiniVariant(){return!this.expandOnHover&&this.miniVariant||this.expandOnHover&&!this.isMouseover},isMobile(){return!this.stateless&&!this.permanent&&ln.options.computed.isMobile.call(this)},reactsToClick(){return!this.stateless&&!this.permanent&&(this.isMobile||this.temporary)},reactsToMobile(){return this.app&&!this.disableResizeWatcher&&!this.permanent&&!this.stateless&&!this.temporary},reactsToResize(){return!this.disableResizeWatcher&&!this.stateless},reactsToRoute(){return!this.disableRouteWatcher&&!this.stateless&&(this.temporary||this.isMobile)},showOverlay(){return!this.hideOverlay&&this.isActive&&(this.isMobile||this.temporary)},styles(){const t=this.isBottom?"translateY":"translateX";return{height:Et(this.height),top:this.isBottom?"auto":Et(this.computedTop),maxHeight:null!=this.computedMaxHeight?`calc(100% - ${Et(this.computedMaxHeight)})`:void 0,transform:`${t}(${Et(this.computedTransform,"%")})`,width:Et(this.computedWidth)}}},watch:{$route:"onRouteChange",isActive(t){this.$emit("input",t)},isMobile(t,e){!t&&this.isActive&&!this.temporary&&this.removeOverlay(),null!=e&&this.reactsToResize&&this.reactsToMobile&&(this.isActive=!t)},permanent(t){t&&(this.isActive=!0)},showOverlay(t){t?this.genOverlay():this.removeOverlay()},value(t){this.permanent||(null!=t?t!==this.isActive&&(this.isActive=t):this.init())},expandOnHover:"updateMiniVariant",isMouseover(t){this.updateMiniVariant(!t)}},beforeMount(){this.init()},methods:{calculateTouchArea(){const t=this.$el.parentNode;if(!t)return;const e=t.getBoundingClientRect();this.touchArea={left:e.left+50,right:e.right-50}},closeConditional(){return this.isActive&&!this._isDestroyed&&this.reactsToClick},genAppend(){return this.genPosition("append")},genBackground(){const t={height:"100%",width:"100%",src:this.src},e=this.$scopedSlots.img?this.$scopedSlots.img(t):this.$createElement(di,{props:t});return this.$createElement("div",{staticClass:"v-navigation-drawer__image"},[e])},genDirectives(){const t=[{name:"click-outside",value:{handler:()=>{this.isActive=!1},closeConditional:this.closeConditional,include:this.getOpenDependentElements}}];return this.touchless||this.stateless||t.push({name:"touch",value:{parent:!0,left:this.swipeLeft,right:this.swipeRight}}),t},genListeners(){const t={mouseenter:()=>this.isMouseover=!0,mouseleave:()=>this.isMouseover=!1,transitionend:t=>{if(t.target!==t.currentTarget)return;this.$emit("transitionend",t);const e=document.createEvent("UIEvents");e.initUIEvent("resize",!0,!1,window,0),window.dispatchEvent(e)}};return this.miniVariant&&(t.click=()=>this.$emit("update:mini-variant",!1)),t},genPosition(t){const e=Rt(this,t);return e?this.$createElement("div",{staticClass:`v-navigation-drawer__${t}`},e):e},genPrepend(){return this.genPosition("prepend")},genContent(){return this.$createElement("div",{staticClass:"v-navigation-drawer__content"},this.$slots.default)},genBorder(){return this.$createElement("div",{staticClass:"v-navigation-drawer__border"})},init(){this.permanent?this.isActive=!0:this.stateless||null!=this.value?this.isActive=this.value:this.temporary||(this.isActive=!this.isMobile)},onRouteChange(){this.reactsToRoute&&this.closeConditional()&&(this.isActive=!1)},swipeLeft(t){this.isActive&&this.right||(this.calculateTouchArea(),Math.abs(t.touchendX-t.touchstartX)<100||(this.right&&t.touchstartX>=this.touchArea.right?this.isActive=!0:!this.right&&this.isActive&&(this.isActive=!1)))},swipeRight(t){this.isActive&&!this.right||(this.calculateTouchArea(),Math.abs(t.touchendX-t.touchstartX)<100||(!this.right&&t.touchstartX<=this.touchArea.left?this.isActive=!0:this.right&&this.isActive&&(this.isActive=!1)))},updateApplication(){if(!this.isActive||this.isMobile||this.temporary||!this.$el)return 0;const t=Number(this.miniVariant?this.miniVariantWidth:this.width);return isNaN(t)?this.$el.clientWidth:t},updateMiniVariant(t){this.expandOnHover&&this.miniVariant!==t&&this.$emit("update:mini-variant",t)}},render(t){const e=[this.genPrepend(),this.genContent(),this.genAppend(),this.genBorder()];return(this.src||Rt(this,"img"))&&e.unshift(this.genBackground()),t(this.tag,this.setBackgroundColor(this.color,{class:this.classes,style:this.styles,directives:this.genDirectives(),on:this.genListeners()}),e)}});rt(Ks).extend().extend({name:"v-otp-input",directives:{ripple:Fi},inheritAttrs:!1,props:{length:{type:[Number,String],default:6},type:{type:String,default:"text"},plain:Boolean},data:()=>({badInput:!1,initialValue:null,isBooted:!1,otp:[]}),computed:{outlined(){return!this.plain},classes(){return{...Ks.options.computed.classes.call(this),...en.options.computed.classes.call(this),"v-otp-input--plain":this.plain}},isDirty(){return Ks.options.computed.isDirty.call(this)||this.badInput}},watch:{isFocused:"updateValue",value(t){this.lazyValue=t,this.otp=(null==t?void 0:t.split(""))||[]}},created(){var t;this.$attrs.hasOwnProperty("browser-autocomplete")&&Ye("browser-autocomplete","autocomplete",this),this.otp=(null==(t=this.internalValue)?void 0:t.split(""))||[]},mounted(){requestAnimationFrame((()=>this.isBooted=!0))},methods:{focus(t,e){this.onFocus(t,e||0)},genInputSlot(t){return this.$createElement("div",this.setBackgroundColor(this.backgroundColor,{staticClass:"v-input__slot",style:{height:Et(this.height)},on:{click:()=>this.onClick(t),mousedown:e=>this.onMouseDown(e,t),mouseup:e=>this.onMouseUp(e,t)}}),[this.genDefaultSlot(t)])},genControl(t){return this.$createElement("div",{staticClass:"v-input__control"},[this.genInputSlot(t)])},genDefaultSlot(t){return[this.genFieldset(),this.genTextFieldSlot(t)]},genContent(){return Array.from({length:+this.length},((t,e)=>this.$createElement("div",this.setTextColor(this.validationState,{staticClass:"v-input",class:this.classes}),[this.genControl(e)])))},genFieldset(){return this.$createElement("fieldset",{attrs:{"aria-hidden":!0}},[this.genLegend()])},genLegend(){const t=this.$createElement("span",{domProps:{innerHTML:"​"}});return this.$createElement("legend",{style:{width:"0px"}},[t])},genInput(t){const e=Object.assign({},this.listeners$);return delete e.change,this.$createElement("input",{style:{},domProps:{value:this.otp[t],min:"number"===this.type?0:null},attrs:{...this.attrs$,disabled:this.isDisabled,readonly:this.isReadonly,type:this.type,id:`${this.computedId}--${t}`,class:`otp-field-box--${t}`,maxlength:1},on:Object.assign(e,{blur:this.onBlur,input:e=>this.onInput(e,t),focus:e=>this.onFocus(e,t),paste:e=>this.onPaste(e,t),keydown:this.onKeyDown,keyup:e=>this.onKeyUp(e,t)}),ref:"input",refInFor:!0})},genTextFieldSlot(t){return this.$createElement("div",{staticClass:"v-text-field__slot"},[this.genInput(t)])},onBlur(t){this.isFocused=!1,t&&this.$nextTick((()=>this.$emit("blur",t)))},onClick(t){this.isFocused||this.isDisabled||!this.$refs.input[t]||this.onFocus(void 0,t)},onFocus(t,e){null==t||t.preventDefault(),null==t||t.stopPropagation();const i=this.$refs.input,s=this.$refs.input&&i[e||0];if(s)return document.activeElement!==s?(s.focus(),s.select()):void(this.isFocused||(this.isFocused=!0,s.select(),t&&this.$emit("focus",t)))},onInput(t,e){const i=t.target,s=i.value;this.applyValue(e,i.value,(()=>{this.internalValue=this.otp.join("")})),this.badInput=i.validity&&i.validity.badInput;const n=e+1;s&&(n<+this.length?this.changeFocus(n):(this.clearFocus(e),this.onCompleted()))},clearFocus(t){this.$refs.input[t].blur()},onKeyDown(t){t.keyCode===Ot.enter&&this.$emit("change",this.internalValue),this.$emit("keydown",t)},onMouseDown(t,e){t.target!==this.$refs.input[e]&&(t.preventDefault(),t.stopPropagation()),Ks.options.methods.onMouseDown.call(this,t)},onMouseUp(t,e){this.hasMouseDown&&this.focus(t,e),Ks.options.methods.onMouseUp.call(this,t)},onPaste(t,e){var i;const s=+this.length-1,n=null==t||null==(i=t.clipboardData)?void 0:i.getData("Text"),a=(null==n?void 0:n.split(""))||[];t.preventDefault();const r=[...this.otp];for(let l=0;l<a.length;l++){const t=e+l;if(t>s)break;r[t]=a[l].toString()}this.otp=r,this.internalValue=this.otp.join("");const o=Math.min(e+a.length,s);this.changeFocus(o),r.length===+this.length&&(this.onCompleted(),this.clearFocus(o))},applyValue(t,e,i){const s=[...this.otp];s[t]=e,this.otp=s,i()},changeFocus(t){this.onFocus(void 0,t||0)},updateValue(t){this.hasColor=t,t?this.initialValue=this.lazyValue:this.initialValue!==this.lazyValue&&this.$emit("change",this.lazyValue)},onKeyUp(t,e){t.preventDefault();const i=t.key;if(!["Tab","Shift","Meta","Control","Alt"].includes(i)&&!["Delete"].includes(i))return"ArrowLeft"===i||"Backspace"===i&&!this.otp[e]?e>0&&this.changeFocus(e-1):"ArrowRight"===i?e+1<+this.length&&this.changeFocus(e+1):void 0},onCompleted(){const t=this.otp.join("");t.length===+this.length&&this.$emit("finish",t)}},render(t){return t("div",{staticClass:"v-otp-input",class:this.themeClasses},this.genContent())}});on.extend({name:"v-overflow-btn",props:{editable:Boolean,segmented:Boolean},computed:{classes(){return{...on.options.computed.classes.call(this),"v-overflow-btn":!0,"v-overflow-btn--segmented":this.segmented,"v-overflow-btn--editable":this.editable}},isAnyValueAllowed(){return this.editable||on.options.computed.isAnyValueAllowed.call(this)},isSingle:()=>!0,computedItems(){return this.segmented?this.allItems:this.filteredItems}},methods:{genSelections(){return this.editable?on.options.methods.genSelections.call(this):an.options.methods.genSelections.call(this)},genCommaSelection(t,e,i){return this.segmented?this.genSegmentedBtn(t):an.options.methods.genCommaSelection.call(this,t,e,i)},genInput(){const t=en.options.methods.genInput.call(this);return t.data=t.data||{},t.data.domProps.value=this.editable?this.internalSearch:"",t.data.attrs.readonly=!this.isAnyValueAllowed,t},genLabel(){if(this.editable&&this.isFocused)return null;const t=en.options.methods.genLabel.call(this);return t?(t.data=t.data||{},t.data.style={},t):t},genSegmentedBtn(t){const e=this.getValue(t),i=this.computedItems.find((t=>this.getValue(t)===e))||t;return i.text&&i.callback?this.$createElement(ns,{props:{text:!0},on:{click(t){t.stopPropagation(),i.callback(t)}}},[i.text]):(We('When using "segmented" prop without a selection slot, items must contain both a text and callback property',this),null)},updateValue(t){t?this.initialValue=this.lazyValue:this.initialValue!==this.lazyValue&&this.$emit("change",this.lazyValue)}}});rt(Xe,qs({onVisible:["init"]}),nt).extend({name:"v-pagination",directives:{Resize:Ci},props:{circle:Boolean,disabled:Boolean,length:{type:Number,default:0,validator:t=>t%1==0},nextIcon:{type:String,default:"$next"},prevIcon:{type:String,default:"$prev"},totalVisible:[Number,String],value:{type:Number,default:0},pageAriaLabel:{type:String,default:"$vuetify.pagination.ariaLabel.page"},currentPageAriaLabel:{type:String,default:"$vuetify.pagination.ariaLabel.currentPage"},previousAriaLabel:{type:String,default:"$vuetify.pagination.ariaLabel.previous"},nextAriaLabel:{type:String,default:"$vuetify.pagination.ariaLabel.next"},wrapperAriaLabel:{type:String,default:"$vuetify.pagination.ariaLabel.wrapper"}},data:()=>({maxButtons:0,selected:null}),computed:{classes(){return{"v-pagination":!0,"v-pagination--circle":this.circle,"v-pagination--disabled":this.disabled,...this.themeClasses}},items(){const t=parseInt(this.totalVisible,10);if(0===t)return[];const e=Math.min(Math.max(0,t)||this.length,Math.max(0,this.maxButtons)||this.length,this.length);if(this.length<=e)return this.range(1,this.length);const i=e%2==0?1:0,s=Math.floor(e/2),n=this.length-s+1+i;if(this.value>s&&this.value<n){const t=1,e=this.length,n=this.value-s+2,a=this.value+s-2-i,r=a+1===e-1?a+1:"...";return[1,n-1===t+1?2:"...",...this.range(n,a),r,this.length]}if(this.value===s){const t=this.value+s-1-i;return[...this.range(1,t),"...",this.length]}if(this.value===n){const t=this.value-s+1;return[1,"...",...this.range(t,this.length)]}return[...this.range(1,s),"...",...this.range(n,this.length)]}},watch:{value(){this.init()}},beforeMount(){this.init()},methods:{init(){this.selected=null,this.onResize(),this.$nextTick(this.onResize),setTimeout((()=>this.selected=this.value),100)},onResize(){const t=this.$el&&this.$el.parentElement?this.$el.parentElement.clientWidth:window.innerWidth;this.maxButtons=Math.floor((t-96)/42)},next(t){t.preventDefault(),this.$emit("input",this.value+1),this.$emit("next")},previous(t){t.preventDefault(),this.$emit("input",this.value-1),this.$emit("previous")},range(t,e){const i=[];for(let s=t=t>0?t:1;s<=e;s++)i.push(s);return i},genIcon:(t,e,i,s,n)=>t("li",[t("button",{staticClass:"v-pagination__navigation",class:{"v-pagination__navigation--disabled":i},attrs:{disabled:i,type:"button","aria-label":n},on:i?{}:{click:s}},[t(Zi,[e])])]),genItem(t,e){const i=e===this.value&&(this.color||"primary"),s=e===this.value,n=s?this.currentPageAriaLabel:this.pageAriaLabel;return t("button",this.setBackgroundColor(i,{staticClass:"v-pagination__item",class:{"v-pagination__item--active":e===this.value},attrs:{type:"button","aria-current":s,"aria-label":this.$vuetify.lang.t(n,e)},on:{click:()=>this.$emit("input",e)}}),[e.toString()])},genItems(t){return this.items.map(((e,i)=>t("li",{key:i},[isNaN(Number(e))?t("span",{class:"v-pagination__more"},[e.toString()]):this.genItem(t,e)])))},genList(t,e){return t("ul",{directives:[{modifiers:{quiet:!0},name:"resize",value:this.onResize}],class:this.classes},e)}},render(t){const e=[this.genIcon(t,this.$vuetify.rtl?this.nextIcon:this.prevIcon,this.value<=1,this.previous,this.$vuetify.lang.t(this.previousAriaLabel)),this.genItems(t),this.genIcon(t,this.$vuetify.rtl?this.prevIcon:this.nextIcon,this.value>=this.length,this.next,this.$vuetify.lang.t(this.nextAriaLabel))];return t("nav",{attrs:{role:"navigation","aria-label":this.$vuetify.lang.t(this.wrapperAriaLabel)}},[this.genList(t,e)])}});rt(e.default.extend({name:"translatable",props:{height:Number},data:()=>({elOffsetTop:0,parallax:0,parallaxDist:0,percentScrolled:0,scrollTop:0,windowHeight:0,windowBottom:0}),computed:{imgHeight(){return this.objHeight()}},beforeDestroy(){window.removeEventListener("scroll",this.translate,!1),window.removeEventListener("resize",this.translate,!1)},methods:{calcDimensions(){const t=this.$el.getBoundingClientRect();this.scrollTop=window.pageYOffset,this.parallaxDist=this.imgHeight-this.height,this.elOffsetTop=t.top+this.scrollTop,this.windowHeight=window.innerHeight,this.windowBottom=this.scrollTop+this.windowHeight},listeners(){window.addEventListener("scroll",this.translate,!1),window.addEventListener("resize",this.translate,!1)},objHeight(){throw new Error("Not implemented !")},translate(){this.calcDimensions(),this.percentScrolled=(this.windowBottom-this.elOffsetTop)/(parseInt(this.height)+this.windowHeight),this.parallax=Math.round(this.parallaxDist*this.percentScrolled)}}})).extend().extend({name:"v-parallax",props:{alt:{type:String,default:""},height:{type:[String,Number],default:500},src:String,srcset:String},data:()=>({isBooted:!1}),computed:{styles(){return{display:"block",opacity:this.isBooted?1:0,transform:`translate(-50%, ${this.parallax}px)`}}},mounted(){this.init()},methods:{init(){const t=this.$refs.img;t&&(t.complete?(this.translate(),this.listeners()):t.addEventListener("load",(()=>{this.translate(),this.listeners()}),!1),this.isBooted=!0)},objHeight(){return this.$refs.img.naturalHeight}},render(t){const e=t("div",{staticClass:"v-parallax__image-container"},[t("img",{staticClass:"v-parallax__image",style:this.styles,attrs:{src:this.src,srcset:this.srcset,alt:this.alt},ref:"img"})]),i=t("div",{staticClass:"v-parallax__content"},this.$slots.default);return t("div",{staticClass:"v-parallax",style:{height:`${this.height}px`},on:this.$listeners},[e,i])}});rt(Fs,Ks).extend({name:"v-radio-group",provide(){return{radioGroup:this}},props:{column:{type:Boolean,default:!0},height:{type:[Number,String],default:"auto"},name:String,row:Boolean,value:null},computed:{classes(){return{...Ks.options.computed.classes.call(this),"v-input--selection-controls v-input--radio-group":!0,"v-input--radio-group--column":this.column&&!this.row,"v-input--radio-group--row":this.row}}},methods:{genDefaultSlot(){return this.$createElement("div",{staticClass:"v-input--radio-group__input",attrs:{id:this.id,role:"radiogroup","aria-labelledby":this.computedId}},Ks.options.methods.genDefaultSlot.call(this))},genInputSlot(){const t=Ks.options.methods.genInputSlot.call(this);return delete t.data.on.click,t},genLabel(){const t=Ks.options.methods.genLabel.call(this);return t?(t.data.attrs.id=this.computedId,delete t.data.attrs.for,t.tag="legend",t):null},onClick:Fs.options.methods.onClick},render(t){const e=Ks.options.render.call(this,t);return this._b(e.data,"div",this.attrs$),e}});rt(lt,Xe,Ba,is("radioGroup"),nt).extend().extend({name:"v-radio",inheritAttrs:!1,props:{disabled:Boolean,id:String,label:String,name:String,offIcon:{type:String,default:"$radioOff"},onIcon:{type:String,default:"$radioOn"},readonly:Boolean,value:{default:null}},data:()=>({isFocused:!1}),computed:{classes(){return{"v-radio--is-disabled":this.isDisabled,"v-radio--is-focused":this.isFocused,...this.themeClasses,...this.groupClasses}},computedColor(){return Ea.options.computed.computedColor.call(this)},computedIcon(){return this.isActive?this.onIcon:this.offIcon},computedId(){return Ks.options.computed.computedId.call(this)},hasLabel:Ks.options.computed.hasLabel,hasState(){return(this.radioGroup||{}).hasState},isDisabled(){return this.disabled||!!this.radioGroup&&this.radioGroup.isDisabled},isReadonly(){return this.readonly||!!this.radioGroup&&this.radioGroup.isReadonly},computedName(){return this.name||!this.radioGroup?this.name:this.radioGroup.name||`radio-${this.radioGroup._uid}`},rippleState(){return Ea.options.computed.rippleState.call(this)},validationState(){return(this.radioGroup||{}).validationState||this.computedColor}},methods:{genInput(t){return Ea.options.methods.genInput.call(this,"radio",t)},genLabel(){return this.hasLabel?this.$createElement(Ys,{on:{click:Aa},attrs:{for:this.computedId},props:{color:this.validationState,focused:this.hasState}},Rt(this,"label")||this.label):null},genRadio(){const{title:t,...e}=this.attrs$;return this.$createElement("div",{staticClass:"v-input--selection-controls__input"},[this.$createElement(Zi,this.setTextColor(this.validationState,{props:{dense:this.radioGroup&&this.radioGroup.dense}}),this.computedIcon),this.genInput({name:this.computedName,value:this.value,...e}),this.genRipple(this.setTextColor(this.rippleState))])},onFocus(t){this.isFocused=!0,this.$emit("focus",t)},onBlur(t){this.isFocused=!1,this.$emit("blur",t)},onChange(){this.isDisabled||this.isReadonly||this.isActive||this.toggle()},onKeydown:()=>{}},render(t){return t("div",{staticClass:"v-radio",class:this.classes,on:hi({click:this.onChange},this.listeners$),attrs:{title:this.attrs$.title}},[this.genRadio(),this.genLabel()])}});La.extend({name:"v-range-slider",props:{value:{type:Array,default:()=>[0,0]}},data(){return{activeThumb:null,lazyValue:this.value}},computed:{classes(){return{...La.options.computed.classes.call(this),"v-input--range-slider":!0}},internalValue:{get(){return this.lazyValue},set(t){let e=t.map(((t=0)=>this.roundValue(Math.min(Math.max(t,this.minValue),this.maxValue))));if(e[0]>e[1]||e[1]<e[0]){if(null!==this.activeThumb){const t=1===this.activeThumb?0:1;this.$refs[`thumb_${t}`].focus()}e=[e[1],e[0]]}this.lazyValue=e,wt(e,this.value)||this.$emit("input",e),this.validate()}},inputWidth(){return this.internalValue.map((t=>(this.roundValue(t)-this.minValue)/(this.maxValue-this.minValue)*100))}},methods:{getTrackStyle(t,e,i=0,s=0){const n=this.vertical?this.$vuetify.rtl?"top":"bottom":this.$vuetify.rtl?"right":"left",a=this.vertical?"height":"width",r=`calc(${t}% + ${i}px)`,o=`calc(${e}% + ${s}px)`;return{transition:this.trackTransition,[n]:r,[a]:o}},getIndexOfClosestValue:(t,e)=>Math.abs(t[0]-e)<Math.abs(t[1]-e)?0:1,genInput(){return _t(2).map((t=>{const e=La.options.methods.genInput.call(this);return e.data=e.data||{},e.data.attrs=e.data.attrs||{},e.data.attrs.value=this.internalValue[t],e.data.attrs.id=`input-${t?"max":"min"}-${this._uid}`,e}))},genTrackContainer(){const t=[],e=this.isDisabled?10:0,i=[{class:"v-slider__track-background",color:this.computedTrackColor,styles:[0,this.inputWidth[0],0,-e]},{class:this.isDisabled?"v-slider__track-background":"v-slider__track-fill",color:this.isDisabled?this.computedTrackColor:this.computedTrackFillColor,styles:[this.inputWidth[0],Math.abs(this.inputWidth[1]-this.inputWidth[0]),e,-2*e]},{class:"v-slider__track-background",color:this.computedTrackColor,styles:[this.inputWidth[1],Math.abs(100-this.inputWidth[1]),e,-e]}];return this.$vuetify.rtl&&i.reverse(),t.push(...i.map((t=>this.$createElement("div",this.setBackgroundColor(t.color,{staticClass:t.class,style:this.getTrackStyle(...t.styles)}))))),this.$createElement("div",{staticClass:"v-slider__track-container",ref:"track"},t)},genChildren(){return[this.genInput(),this.genTrackContainer(),this.genSteps(),_t(2).map((t=>{const e=this.internalValue[t],i=this.inputWidth[t],s=this.isActive&&this.activeThumb===t,n=this.isFocused&&this.activeThumb===t;return this.genThumbContainer(e,i,s,n,(e=>{this.isFocused=!0,this.activeThumb=t,this.$emit("focus",e)}),(t=>{this.isFocused=!1,this.activeThumb=null,this.$emit("blur",t)}),`thumb_${t}`)}))]},reevaluateSelected(t){this.activeThumb=this.getIndexOfClosestValue(this.internalValue,t);const e=`thumb_${this.activeThumb}`;this.$refs[e].focus()},onSliderMouseDown(t){var e;const i=this.parseMouseMove(t);if(this.reevaluateSelected(i),this.oldValue=this.internalValue,this.isActive=!0,null!=(e=t.target)&&e.matches(".v-slider__thumb-container, .v-slider__thumb-container *")){this.thumbPressed=!0;const e=t.target.getBoundingClientRect(),i="touches"in t?t.touches[0]:t;this.startOffset=this.vertical?i.clientY-(e.top+e.height/2):i.clientX-(e.left+e.width/2)}else this.startOffset=0,window.clearTimeout(this.mouseTimeout),this.mouseTimeout=window.setTimeout((()=>{this.thumbPressed=!0}),300);const s=!xt||{passive:!0,capture:!0},n=!!xt&&{passive:!0},a="touches"in t;this.onMouseMove(t),this.app.addEventListener(a?"touchmove":"mousemove",this.onMouseMove,n),$t(this.app,a?"touchend":"mouseup",this.onSliderMouseUp,s),this.$emit("start",this.internalValue)},onSliderClick(t){if(!this.isActive){if(this.noClick)return void(this.noClick=!1);const e=this.parseMouseMove(t);this.reevaluateSelected(e),this.setInternalValue(e),this.$emit("change",this.internalValue)}},onMouseMove(t){const e=this.parseMouseMove(t);"mousemove"===t.type&&(this.thumbPressed=!0),null===this.activeThumb&&(this.activeThumb=this.getIndexOfClosestValue(this.internalValue,e)),this.setInternalValue(e)},onKeyDown(t){if(null===this.activeThumb)return;const e=this.parseKeyDown(t,this.internalValue[this.activeThumb]);null!=e&&(this.setInternalValue(e),this.$emit("change",this.internalValue))},setInternalValue(t){this.internalValue=this.internalValue.map(((e,i)=>i===this.activeThumb?t:Number(e)))}}});rt(Xe,$s,Ba,Xi,nt).extend({name:"v-rating",props:{backgroundColor:{type:String,default:"accent"},color:{type:String,default:"primary"},clearable:Boolean,dense:Boolean,emptyIcon:{type:String,default:"$ratingEmpty"},fullIcon:{type:String,default:"$ratingFull"},halfIcon:{type:String,default:"$ratingHalf"},halfIncrements:Boolean,hover:Boolean,length:{type:[Number,String],default:5},readonly:Boolean,size:[Number,String],value:{type:Number,default:0},iconLabel:{type:String,default:"$vuetify.rating.ariaLabel.icon"}},data(){return{hoverIndex:-1,internalValue:this.value}},computed:{directives(){return this.readonly||!this.ripple?[]:[{name:"ripple",value:{circle:!0}}]},iconProps(){const{dark:t,large:e,light:i,medium:s,small:n,size:a,xLarge:r,xSmall:o}=this.$props;return{dark:t,large:e,light:i,medium:s,size:a,small:n,xLarge:r,xSmall:o}},isHovering(){return this.hover&&this.hoverIndex>=0}},watch:{internalValue(t){t!==this.value&&this.$emit("input",t)},value(t){this.internalValue=t}},methods:{createClickFn(t){return e=>{if(this.readonly)return;const i=this.genHoverIndex(e,t);this.clearable&&this.internalValue===i?this.internalValue=0:this.internalValue=i}},createProps(t){const e={index:t,value:this.internalValue,click:this.createClickFn(t),isFilled:Math.floor(this.internalValue)>t,isHovered:Math.floor(this.hoverIndex)>t};return this.halfIncrements&&(e.isHalfHovered=!e.isHovered&&(this.hoverIndex-t)%1>0,e.isHalfFilled=!e.isFilled&&(this.internalValue-t)%1>0),e},genHoverIndex(t,e){let i=this.isHalfEvent(t);return this.halfIncrements&&this.$vuetify.rtl&&(i=!i),e+(i?.5:1)},getIconName(t){const e=this.isHovering?t.isHovered:t.isFilled,i=this.isHovering?t.isHalfHovered:t.isHalfFilled;return e?this.fullIcon:i?this.halfIcon:this.emptyIcon},getColor(t){if(this.isHovering){if(t.isHovered||t.isHalfHovered)return this.color}else if(t.isFilled||t.isHalfFilled)return this.color;return this.backgroundColor},isHalfEvent(t){if(this.halfIncrements){const e=t.target&&t.target.getBoundingClientRect();if(e&&t.pageX-e.left<e.width/2)return!0}return!1},onMouseEnter(t,e){this.runDelay("open",(()=>{this.hoverIndex=this.genHoverIndex(t,e)}))},onMouseLeave(){this.runDelay("close",(()=>this.hoverIndex=-1))},genItem(t){const e=this.createProps(t);if(this.$scopedSlots.item)return this.$scopedSlots.item(e);const i={click:e.click};return this.hover&&(i.mouseenter=e=>this.onMouseEnter(e,t),i.mouseleave=this.onMouseLeave,this.halfIncrements&&(i.mousemove=e=>this.onMouseEnter(e,t))),this.$createElement(Zi,this.setTextColor(this.getColor(e),{attrs:{"aria-label":this.$vuetify.lang.t(this.iconLabel,t+1,Number(this.length))},directives:this.directives,props:this.iconProps,on:i}),[this.getIconName(e)])}},render(t){const e=_t(Number(this.length)).map((t=>this.genItem(t)));return t("div",{staticClass:"v-rating",class:{"v-rating--readonly":this.readonly,"v-rating--dense":this.dense}},e)}});rt(qe,Ze,nt).extend({name:"VSkeletonLoader",props:{boilerplate:Boolean,loading:Boolean,tile:Boolean,transition:String,type:String,types:{type:Object,default:()=>({})}},computed:{attrs(){return this.isLoading?this.boilerplate?{}:{"aria-busy":!0,"aria-live":"polite",role:"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(t,e){return this.$createElement("div",{staticClass:`v-skeleton-loader__${t} v-skeleton-loader__bone`},e)},genBones(t){const[e,i]=t.split("@");return Array.from({length:i}).map((()=>this.genStructure(e)))},genStructure(t){let e=[];t=t||this.type||"";const i=this.rootTypes[t]||"";if(t===i);else{if(t.indexOf(",")>-1)return this.mapBones(t);if(t.indexOf("@")>-1)return this.genBones(t);i.indexOf(",")>-1?e=this.mapBones(i):i.indexOf("@")>-1?e=this.genBones(i):i&&e.push(this.genStructure(i))}return[this.genBone(t,e)]},genSkeleton(){const t=[];return this.isLoading?t.push(this.genStructure()):t.push(Rt(this)),this.transition?this.$createElement("transition",{props:{name:this.transition},on:{afterEnter:this.resetStyles,beforeEnter:this.onBeforeEnter,beforeLeave:this.onBeforeLeave,leaveCancelled:this.resetStyles}},t):t},mapBones(t){return t.replace(/\s/g,"").split(",").map(this.genStructure)},onBeforeEnter(t){this.resetStyles(t),this.isLoading&&(t._initialStyle={display:t.style.display,transition:t.style.transition},t.style.setProperty("transition","none","important"))},onBeforeLeave(t){t.style.setProperty("display","none","important")},resetStyles(t){t._initialStyle&&(t.style.display=t._initialStyle.display||"",t.style.transition=t._initialStyle.transition,delete t._initialStyle)}},render(t){return t("div",{staticClass:"v-skeleton-loader",attrs:this.attrs,on:this.$listeners,class:this.classes,style:this.isLoading?this.measurableStyles:void 0},[this.genSkeleton()])}}),rt(go,is("slideGroup")).extend({name:"v-slide-item"});function vo(t,e){const{minX:i,maxX:s,minY:n,maxY:a}=e,r=t.length,o=Math.max(...t),l=Math.min(...t),h=(s-i)/(r-1),c=(a-n)/(o-l||1);return t.map(((t,e)=>({x:i+e*h,y:a-(t-l)*c,value:t})))}function fo(t,e){const{minX:i,maxX:s,minY:n,maxY:a}=e,r=t.length;let o=Math.max(...t),l=Math.min(...t);l>0&&(l=0),o<0&&(o=0);const h=s/r,c=(a-n)/(o-l||1),d=a-Math.abs(l*c);return t.map(((t,e)=>{const s=Math.abs(c*t);return{x:i+e*h,y:d-s+ +(t<0)*s,height:s,value:t}}))}function yo(t){return parseInt(t,10)}function bo(t,e){return Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2))}function $o(t,e,i){const s=t.x-e.x,n=t.y-e.y,a=Math.sqrt(s*s+n*n),r=s/a,o=n/a;return{x:e.x+r*i,y:e.y+o*i}}function xo(t,e,i=!1,s=75){const n=t.shift(),a=t[t.length-1];return(i?`M${n.x} ${s-n.x+2} L${n.x} ${n.y}`:`M${n.x} ${n.y}`)+t.map(((i,s)=>{const a=t[s+1],r=t[s-1]||n,o=a&&(h=i,c=r,yo((l=a).x+c.x)===yo(2*h.x)&&yo(l.y+c.y)===yo(2*h.y));var l,h,c;if(!a||o)return`L${i.x} ${i.y}`;const d=Math.min(bo(r,i),bo(a,i)),u=d/2<e?d/2:e,p=$o(r,i,u),m=$o(a,i,u);return`L${p.x} ${p.y}S${i.x} ${i.y} ${m.x} ${m.y}`})).join("")+(i?`L${a.x} ${s-n.x+2} Z`:"")}rt(Qe,Xe,Ui,gi(["absolute","bottom","left","right","top"])).extend({name:"v-snackbar",props:{app:Boolean,centered:Boolean,contentClass:{type:String,default:""},multiLine:Boolean,text:Boolean,timeout:{type:[Number,String],default:5e3},transition:{type:[Boolean,String],default:"v-snack-transition",validator:t=>"string"==typeof t||!1===t},vertical:Boolean},data:()=>({activeTimeout:-1}),computed:{classes(){return{"v-snack--absolute":this.absolute,"v-snack--active":this.isActive,"v-snack--bottom":this.bottom||!this.top,"v-snack--centered":this.centered,"v-snack--has-background":this.hasBackground,"v-snack--left":this.left,"v-snack--multi-line":this.multiLine&&!this.vertical,"v-snack--right":this.right,"v-snack--text":this.text,"v-snack--top":this.top,"v-snack--vertical":this.vertical}},hasBackground(){return!this.text&&!this.outlined},isDark(){return this.hasBackground?!this.light:nt.options.computed.isDark.call(this)},styles(){if(this.absolute||!this.app)return{};const{bar:t,bottom:e,footer:i,insetFooter:s,left:n,right:a,top:r}=this.$vuetify.application;return{paddingBottom:Et(e+i+s),paddingLeft:Et(n),paddingRight:Et(a),paddingTop:Et(t+r)}}},watch:{isActive:"setTimeout",timeout:"setTimeout"},mounted(){this.isActive&&this.setTimeout()},created(){this.$attrs.hasOwnProperty("auto-height")&&Ue("auto-height",this),0==this.timeout&&je('timeout="0"',"-1",this)},methods:{genActions(){return this.$createElement("div",{staticClass:"v-snack__action "},[Rt(this,"action",{attrs:{class:"v-snack__btn"}})])},genContent(){return this.$createElement("div",{staticClass:"v-snack__content",class:{[this.contentClass]:!0},attrs:{role:"status","aria-live":"polite"}},[Rt(this)])},genWrapper(){const t=(this.hasBackground?this.setBackgroundColor:this.setTextColor)(this.color,{staticClass:"v-snack__wrapper",class:Qe.options.computed.classes.call(this),style:Qe.options.computed.styles.call(this),directives:[{name:"show",value:this.isActive}],on:{pointerenter:()=>window.clearTimeout(this.activeTimeout),pointerleave:this.setTimeout}});return this.$createElement("div",t,[this.genContent(),this.genActions()])},genTransition(){return this.$createElement("transition",{props:{name:this.transition}},[this.genWrapper()])},setTimeout(){window.clearTimeout(this.activeTimeout);const t=Number(this.timeout);this.isActive&&![0,-1].includes(t)&&(this.activeTimeout=window.setTimeout((()=>{this.isActive=!1}),t))}},render(t){return t("div",{staticClass:"v-snack",class:this.classes,style:this.styles},[!1!==this.transition?this.genTransition():this.genWrapper()])}}),rt(Xe).extend({name:"VSparkline",inheritAttrs:!1,props:{autoDraw:Boolean,autoDrawDuration:{type:Number,default:2e3},autoDrawEasing:{type:String,default:"ease"},autoLineWidth:{type:Boolean,default:!1},color:{type:String,default:"primary"},fill:{type:Boolean,default:!1},gradient:{type:Array,default:()=>[]},gradientDirection:{type:String,validator:t=>["top","bottom","left","right"].includes(t),default:"top"},height:{type:[String,Number],default:75},labels:{type:Array,default:()=>[]},labelSize:{type:[Number,String],default:7},lineWidth:{type:[String,Number],default:4},padding:{type:[String,Number],default:8},showLabels:Boolean,smooth:{type:[Boolean,Number,String],default:!1},type:{type:String,default:"trend",validator:t=>["trend","bar"].includes(t)},value:{type:Array,default:()=>[]},width:{type:[Number,String],default:300}},data:()=>({lastLength:0}),computed:{parsedPadding(){return Number(this.padding)},parsedWidth(){return Number(this.width)},parsedHeight(){return parseInt(this.height,10)},parsedLabelSize(){return parseInt(this.labelSize,10)||7},totalHeight(){let t=this.parsedHeight;return this.hasLabels&&(t+=1.5*parseInt(this.labelSize,10)),t},totalWidth(){let t=this.parsedWidth;return"bar"===this.type&&(t=Math.max(this.value.length*this._lineWidth,t)),t},totalValues(){return this.value.length},_lineWidth(){if(this.autoLineWidth&&"trend"!==this.type){const t=this.parsedPadding*(this.totalValues+1);return(this.parsedWidth-t)/this.totalValues}return parseFloat(this.lineWidth)||4},boundary(){if("bar"===this.type)return{minX:0,maxX:this.totalWidth,minY:0,maxY:this.parsedHeight};const t=this.parsedPadding;return{minX:t,maxX:this.totalWidth-t,minY:t,maxY:this.parsedHeight-t}},hasLabels(){return Boolean(this.showLabels||this.labels.length>0||this.$scopedSlots.label)},parsedLabels(){const t=[],e=this._values,i=e.length;for(let s=0;t.length<i;s++){const i=e[s];let n=this.labels[s];n||(n="object"==typeof i?i.value:i),t.push({x:i.x,value:String(n)})}return t},normalizedValues(){return this.value.map((t=>"number"==typeof t?t:t.value))},_values(){return"trend"===this.type?vo(this.normalizedValues,this.boundary):fo(this.normalizedValues,this.boundary)},textY(){let t=this.parsedHeight;return"trend"===this.type&&(t-=4),t},_radius(){return!0===this.smooth?8:Number(this.smooth)}},watch:{value:{immediate:!0,handler(){this.$nextTick((()=>{if(!this.autoDraw||"bar"===this.type||!this.$refs.path)return;const t=this.$refs.path,e=t.getTotalLength();this.fill?(t.style.transformOrigin="bottom center",t.style.transition="none",t.style.transform="scaleY(0)",t.getBoundingClientRect(),t.style.transition=`transform ${this.autoDrawDuration}ms ${this.autoDrawEasing}`,t.style.transform="scaleY(1)"):(t.style.transition="none",t.style.strokeDasharray=e+" "+e,t.style.strokeDashoffset=Math.abs(e-(this.lastLength||0)).toString(),t.getBoundingClientRect(),t.style.transition=`stroke-dashoffset ${this.autoDrawDuration}ms ${this.autoDrawEasing}`,t.style.strokeDashoffset="0"),this.lastLength=e}))}}},methods:{genGradient(){const t=this.gradientDirection,e=this.gradient.slice();e.length||e.push("");const i=Math.max(e.length-1,1),s=e.reverse().map(((t,e)=>this.$createElement("stop",{attrs:{offset:e/i,"stop-color":t||"currentColor"}})));return this.$createElement("defs",[this.$createElement("linearGradient",{attrs:{id:this._uid,gradientUnits:"userSpaceOnUse",x1:"left"===t?"100%":"0",y1:"top"===t?"100%":"0",x2:"right"===t?"100%":"0",y2:"bottom"===t?"100%":"0"}},s)])},genG(t){return this.$createElement("g",{style:{fontSize:"8",textAnchor:"middle",dominantBaseline:"mathematical",fill:"currentColor"}},t)},genPath(){const t=vo(this.normalizedValues,this.boundary);return this.$createElement("path",{attrs:{d:xo(t,this._radius,this.fill,this.parsedHeight),fill:this.fill?`url(#${this._uid})`:"none",stroke:this.fill?"none":`url(#${this._uid})`},ref:"path"})},genLabels(t){const e=this.parsedLabels.map(((e,i)=>this.$createElement("text",{attrs:{x:e.x+t+this._lineWidth/2,y:this.textY+.75*this.parsedLabelSize,"font-size":Number(this.labelSize)||7}},[this.genLabel(e,i)])));return this.genG(e)},genLabel(t,e){return this.$scopedSlots.label?this.$scopedSlots.label({index:e,value:t.value}):t.value},genBars(){if(!this.value||this.totalValues<2)return;const t=fo(this.normalizedValues,this.boundary),e=(Math.abs(t[0].x-t[1].x)-this._lineWidth)/2;return this.$createElement("svg",{attrs:{display:"block",viewBox:`0 0 ${this.totalWidth} ${this.totalHeight}`}},[this.genGradient(),this.genClipPath(t,e,this._lineWidth,"sparkline-bar-"+this._uid),this.hasLabels?this.genLabels(e):void 0,this.$createElement("g",{attrs:{"clip-path":`url(#sparkline-bar-${this._uid}-clip)`,fill:`url(#${this._uid})`}},[this.$createElement("rect",{attrs:{x:0,y:0,width:this.totalWidth,height:this.height}})])])},genClipPath(t,e,i,s){const n="number"==typeof this.smooth?this.smooth:this.smooth?2:0;return this.$createElement("clipPath",{attrs:{id:`${s}-clip`}},t.map((t=>this.$createElement("rect",{attrs:{x:t.x+e,y:t.y,width:i,height:t.height,rx:n,ry:n}},[this.autoDraw?this.$createElement("animate",{attrs:{attributeName:"height",from:0,to:t.height,dur:`${this.autoDrawDuration}ms`,fill:"freeze"}}):void 0]))))},genTrend(){return this.$createElement("svg",this.setTextColor(this.color,{attrs:{...this.$attrs,display:"block","stroke-width":this._lineWidth||1,viewBox:`0 0 ${this.width} ${this.totalHeight}`}}),[this.genGradient(),this.hasLabels&&this.genLabels(-this._lineWidth/2),this.genPath()])}},render(t){if(!(this.totalValues<2))return"trend"===this.type?this.genTrend():this.genBars()}});rt(vi,Ui,as).extend({name:"v-speed-dial",directives:{ClickOutside:wi},props:{direction:{type:String,default:"top",validator:t=>["top","right","bottom","left"].includes(t)},openOnHover:Boolean,transition:{type:String,default:"scale-transition"}},computed:{classes(){return{"v-speed-dial":!0,"v-speed-dial--top":this.top,"v-speed-dial--right":this.right,"v-speed-dial--bottom":this.bottom,"v-speed-dial--left":this.left,"v-speed-dial--absolute":this.absolute,"v-speed-dial--fixed":this.fixed,[`v-speed-dial--direction-${this.direction}`]:!0,"v-speed-dial--is-active":this.isActive}}},render(t){let e=[];const i={class:this.classes,directives:[{name:"click-outside",value:()=>this.isActive=!1}],on:{click:()=>this.isActive=!this.isActive}};if(this.openOnHover&&(i.on.mouseenter=()=>this.isActive=!0,i.on.mouseleave=()=>this.isActive=!1),this.isActive){let i=0;e=(this.$slots.default||[]).map(((e,s)=>!e.tag||void 0===e.componentOptions||"v-btn"!==e.componentOptions.Ctor.options.name&&"v-tooltip"!==e.componentOptions.Ctor.options.name?(e.key=s,e):(i++,t("div",{style:{transitionDelay:.05*i+"s"},key:s},[e]))))}const s=t("transition-group",{class:"v-speed-dial__list",props:{name:this.transition,mode:this.mode,origin:this.origin,tag:"div"}},e);return t("div",i,[this.$slots.activator,s])}});rt(Qe,es("stepper"),Hs).extend({name:"v-stepper",provide(){return{stepClick:this.stepClick,isVertical:this.vertical}},props:{altLabels:Boolean,nonLinear:Boolean,flat:Boolean,vertical:Boolean},data(){const t={isBooted:!1,steps:[],content:[],isReverse:!1};return t.internalLazyValue=null!=this.value?this.value:(t[0]||{}).step||1,t},computed:{classes(){return{"v-stepper--flat":this.flat,"v-stepper--is-booted":this.isBooted,"v-stepper--vertical":this.vertical,"v-stepper--alt-labels":this.altLabels,"v-stepper--non-linear":this.nonLinear,...Qe.options.computed.classes.call(this)}},styles(){return{...Qe.options.computed.styles.call(this)}}},watch:{internalValue(t,e){this.isReverse=Number(t)<Number(e),e&&(this.isBooted=!0),this.updateView()}},created(){this.$listeners.input&&Ye("@input","@change",this)},mounted(){this.updateView()},methods:{register(t){"v-stepper-step"===t.$options.name?this.steps.push(t):"v-stepper-content"===t.$options.name&&(t.isVertical=this.vertical,this.content.push(t))},unregister(t){"v-stepper-step"===t.$options.name?this.steps=this.steps.filter((e=>e!==t)):"v-stepper-content"===t.$options.name&&(t.isVertical=this.vertical,this.content=this.content.filter((e=>e!==t)))},stepClick(t){this.$nextTick((()=>this.internalValue=t))},updateView(){for(let t=this.steps.length;--t>=0;)this.steps[t].toggle(this.internalValue);for(let t=this.content.length;--t>=0;)this.content[t].toggle(this.internalValue,this.isReverse)}},render(t){return t(this.tag,{staticClass:"v-stepper",class:this.classes,style:this.styles},this.$slots.default)}});rt(Xe,ts("stepper","v-stepper-step","v-stepper")).extend().extend({name:"v-stepper-step",directives:{ripple:Fi},inject:["stepClick"],props:{color:{type:String,default:"primary"},complete:Boolean,completeIcon:{type:String,default:"$complete"},editable:Boolean,editIcon:{type:String,default:"$edit"},errorIcon:{type:String,default:"$error"},rules:{type:Array,default:()=>[]},step:[Number,String]},data:()=>({isActive:!1,isInactive:!0}),computed:{classes(){return{"v-stepper__step--active":this.isActive,"v-stepper__step--editable":this.editable,"v-stepper__step--inactive":this.isInactive,"v-stepper__step--error error--text":this.hasError,"v-stepper__step--complete":this.complete}},hasError(){return this.rules.some((t=>!0!==t()))}},mounted(){this.stepper&&this.stepper.register(this)},beforeDestroy(){this.stepper&&this.stepper.unregister(this)},methods:{click(t){t.stopPropagation(),this.$emit("click",t),this.editable&&this.stepClick(this.step)},genIcon(t){return this.$createElement(Zi,t)},genLabel(){return this.$createElement("div",{staticClass:"v-stepper__label"},this.$slots.default)},genStep(){const t=!(this.hasError||!this.complete&&!this.isActive)&&this.color;return this.$createElement("span",this.setBackgroundColor(t,{staticClass:"v-stepper__step__step"}),this.genStepContent())},genStepContent(){const t=[];return this.hasError?t.push(this.genIcon(this.errorIcon)):this.complete?this.editable?t.push(this.genIcon(this.editIcon)):t.push(this.genIcon(this.completeIcon)):t.push(String(this.step)),t},keyboardClick(t){t.keyCode===Ot.space&&this.click(t)},toggle(t){this.isActive=t.toString()===this.step.toString(),this.isInactive=Number(t)<Number(this.step)}},render(t){return t("div",{attrs:{tabindex:this.editable?0:-1},staticClass:"v-stepper__step",class:this.classes,directives:[{name:"ripple",value:this.editable}],on:{click:this.click,keydown:this.keyboardClick}},[this.genStep(),this.genLabel()])}});rt(ts("stepper","v-stepper-content","v-stepper")).extend().extend({name:"v-stepper-content",inject:{isVerticalProvided:{from:"isVertical"}},props:{step:{type:[Number,String],required:!0}},data(){return{height:0,isActive:null,isReverse:!1,isVertical:this.isVerticalProvided}},computed:{computedTransition(){return(this.$vuetify.rtl?!this.isReverse:this.isReverse)?ds:cs},styles(){return this.isVertical?{height:Et(this.height)}:{}}},watch:{isActive(t,e){t&&null==e?this.height="auto":this.isVertical&&(this.isActive?this.enter():this.leave())}},mounted(){this.$refs.wrapper.addEventListener("transitionend",this.onTransition,!1),this.stepper&&this.stepper.register(this)},beforeDestroy(){this.$refs.wrapper.removeEventListener("transitionend",this.onTransition,!1),this.stepper&&this.stepper.unregister(this)},methods:{onTransition(t){this.isActive&&"height"===t.propertyName&&(this.height="auto")},enter(){let t=0;requestAnimationFrame((()=>{t=this.$refs.wrapper.scrollHeight})),this.height=0,setTimeout((()=>this.isActive&&(this.height=t||"auto")),450)},leave(){this.height=this.$refs.wrapper.clientHeight,setTimeout((()=>this.height=0),10)},toggle(t,e){this.isActive=t.toString()===this.step.toString(),this.isReverse=e}},render(t){const e={staticClass:"v-stepper__content"},i={staticClass:"v-stepper__wrapper",style:this.styles,ref:"wrapper"};this.isVertical||(e.directives=[{name:"show",value:this.isActive}]);const s=t("div",i,[this.$slots.default]),n=t("div",e,[s]);return t(this.computedTransition,{on:this.$listeners},[n])}}),bt("v-stepper__header"),bt("v-stepper__items");Ea.extend({name:"v-switch",directives:{Touch:Wi},props:{inset:Boolean,loading:{type:[Boolean,String],default:!1},flat:{type:Boolean,default:!1}},computed:{classes(){return{...Ks.options.computed.classes.call(this),"v-input--selection-controls v-input--switch":!0,"v-input--switch--flat":this.flat,"v-input--switch--inset":this.inset}},attrs(){return{"aria-checked":String(this.isActive),"aria-disabled":String(this.isDisabled),role:"switch"}},validationState(){return this.hasError&&this.shouldValidate?"error":this.hasSuccess?"success":null!==this.hasColor?this.computedColor:void 0},switchData(){return this.setTextColor(this.loading?void 0:this.validationState,{class:this.themeClasses})}},methods:{genDefaultSlot(){return[this.genSwitch(),this.genLabel()]},genSwitch(){const{title:t,...e}=this.attrs$;return this.$createElement("div",{staticClass:"v-input--selection-controls__input"},[this.genInput("checkbox",{...this.attrs,...e}),this.genRipple(this.setTextColor(this.validationState,{directives:[{name:"touch",value:{left:this.onSwipeLeft,right:this.onSwipeRight}}]})),this.$createElement("div",{staticClass:"v-input--switch__track",...this.switchData}),this.$createElement("div",{staticClass:"v-input--switch__thumb",...this.switchData},[this.genProgress()])])},genProgress(){return this.$createElement(us,{},[!1===this.loading?null:this.$slots.progress||this.$createElement(Ji,{props:{color:!0===this.loading||""===this.loading?this.color||"primary":this.loading,size:16,width:2,indeterminate:!0}})])},onSwipeLeft(){this.isActive&&this.onChange()},onSwipeRight(){this.isActive||this.onChange()},onKeydown(t){(t.keyCode===Ot.left&&this.isActive||t.keyCode===Ot.right&&!this.isActive)&&this.onChange()}}});rt(fi("bar",["height","window"]),Xe,nt).extend({name:"v-system-bar",props:{height:[Number,String],lightsOut:Boolean,window:Boolean},computed:{classes(){return{"v-system-bar--lights-out":this.lightsOut,"v-system-bar--absolute":this.absolute,"v-system-bar--fixed":!this.absolute&&(this.app||this.fixed),"v-system-bar--window":this.window,...this.themeClasses}},computedHeight(){return this.height?isNaN(parseInt(this.height))?this.height:parseInt(this.height):this.window?32:24},styles(){return{height:Et(this.computedHeight)}}},methods:{updateApplication(){return this.$el?this.$el.clientHeight:this.computedHeight}},render(t){const e={staticClass:"v-system-bar",class:this.classes,style:this.styles,on:this.$listeners};return t("div",this.setBackgroundColor(this.color,e),Rt(this))}});var So=rt(Oa,ji,nt).extend({name:"v-tabs-bar",provide(){return{tabsBar:this}},computed:{classes(){return{...Oa.options.computed.classes.call(this),"v-tabs-bar":!0,"v-tabs-bar--is-mobile":this.isMobile,"v-tabs-bar--show-arrows":this.showArrows,...this.themeClasses}}},watch:{items:"callSlider",internalValue:"callSlider",$route:"onRouteChange"},methods:{callSlider(){this.isBooted&&this.$emit("call:slider")},genContent(){const t=Oa.options.methods.genContent.call(this);return t.data=t.data||{},t.data.staticClass+=" v-tabs-bar__content",t},onRouteChange(t,e){if(this.mandatory)return;const i=this.items,s=t.path,n=e.path;let a=!1,r=!1;for(const o of i)if(o.to===n?r=!0:o.to===s&&(a=!0),a&&r)break;!a&&r&&(this.internalValue=void 0)}},render(t){const e=Oa.options.render.call(this,t);return e.data.attrs={role:"tablist"},e}}),wo=Ia.extend({name:"v-tabs-items",props:{mandatory:{type:Boolean,default:!1}},computed:{classes(){return{...Ia.options.computed.classes.call(this),"v-tabs-items":!0}},isDark(){return this.rootIsDark}},methods:{getValue(t,e){return t.id||Fs.options.methods.getValue.call(this,t,e)}}}),Co=rt(Xe).extend({name:"v-tabs-slider",render(t){return t("div",this.setBackgroundColor(this.color,{staticClass:"v-tabs-slider"}))}});rt(Xe,Hs,nt).extend().extend({name:"v-tabs",directives:{Resize:Ci},props:{activeClass:{type:String,default:""},alignWithTitle:Boolean,backgroundColor:String,centerActive:Boolean,centered:Boolean,fixedTabs:Boolean,grow:Boolean,height:{type:[Number,String],default:void 0},hideSlider:Boolean,iconsAndText:Boolean,mobileBreakpoint:[String,Number],nextIcon:{type:String,default:"$next"},optional:Boolean,prevIcon:{type:String,default:"$prev"},right:Boolean,showArrows:[Boolean,String],sliderColor:String,sliderSize:{type:[Number,String],default:2},vertical:Boolean},data:()=>({resizeTimeout:0,slider:{height:null,left:null,right:null,top:null,width:null},transitionTime:300}),computed:{classes(){return{"v-tabs--align-with-title":this.alignWithTitle,"v-tabs--centered":this.centered,"v-tabs--fixed-tabs":this.fixedTabs,"v-tabs--grow":this.grow,"v-tabs--icons-and-text":this.iconsAndText,"v-tabs--right":this.right,"v-tabs--vertical":this.vertical,...this.themeClasses}},isReversed(){return this.$vuetify.rtl&&this.vertical},sliderStyles(){return{height:Et(this.slider.height),left:this.isReversed?void 0:Et(this.slider.left),right:this.isReversed?Et(this.slider.right):void 0,top:this.vertical?Et(this.slider.top):void 0,transition:null!=this.slider.left?null:"none",width:Et(this.slider.width)}},computedColor(){return this.color?this.color:this.isDark&&!this.appIsDark?"white":"primary"}},watch:{alignWithTitle:"callSlider",centered:"callSlider",centerActive:"callSlider",fixedTabs:"callSlider",grow:"callSlider",iconsAndText:"callSlider",right:"callSlider",showArrows:"callSlider",vertical:"callSlider","$vuetify.application.left":"onResize","$vuetify.application.right":"onResize","$vuetify.rtl":"onResize"},mounted(){this.$nextTick((()=>{window.setTimeout(this.callSlider,30)}))},methods:{callSlider(){return!this.hideSlider&&this.$refs.items&&this.$refs.items.selectedItems.length?(this.$nextTick((()=>{const t=this.$refs.items.selectedItems[0];if(!t||!t.$el)return this.slider.width=0,void(this.slider.left=0);const e=t.$el;this.slider={height:this.vertical?e.scrollHeight:Number(this.sliderSize),left:this.vertical?0:e.offsetLeft,right:this.vertical?0:e.offsetLeft+e.offsetWidth,top:e.offsetTop,width:this.vertical?Number(this.sliderSize):e.scrollWidth}})),!0):(this.slider.width=0,!1)},genBar(t,e){const i={style:{height:Et(this.height)},props:{activeClass:this.activeClass,centerActive:this.centerActive,dark:this.dark,light:this.light,mandatory:!this.optional,mobileBreakpoint:this.mobileBreakpoint,nextIcon:this.nextIcon,prevIcon:this.prevIcon,showArrows:this.showArrows,value:this.internalValue},on:{"call:slider":this.callSlider,change:t=>{this.internalValue=t}},ref:"items"};return this.setTextColor(this.computedColor,i),this.setBackgroundColor(this.backgroundColor,i),this.$createElement(So,i,[this.genSlider(e),t])},genItems(t,e){return t||(e.length?this.$createElement(wo,{props:{value:this.internalValue},on:{change:t=>{this.internalValue=t}}},e):null)},genSlider(t){return this.hideSlider?null:(t||(t=this.$createElement(Co,{props:{color:this.sliderColor}})),this.$createElement("div",{staticClass:"v-tabs-slider-wrapper",style:this.sliderStyles},[t]))},onResize(){this._isDestroyed||(clearTimeout(this.resizeTimeout),this.resizeTimeout=window.setTimeout(this.callSlider,0))},parseNodes(){let t=null,e=null;const i=[],s=[],n=this.$slots.default||[],a=n.length;for(let r=0;r<a;r++){const a=n[r];if(a.componentOptions)switch(a.componentOptions.Ctor.options.name){case"v-tabs-slider":e=a;break;case"v-tabs-items":t=a;break;case"v-tab-item":i.push(a);break;default:s.push(a)}else s.push(a)}return{tab:s,slider:e,items:t,item:i}}},render(t){const{tab:e,slider:i,items:s,item:n}=this.parseNodes();return t("div",{staticClass:"v-tabs",class:this.classes,directives:[{name:"resize",modifiers:{quiet:!0},value:this.onResize}]},[this.genBar(e,i),this.genItems(s,n)])}});rt(ss,is("tabsBar"),nt).extend().extend().extend({name:"v-tab",props:{ripple:{type:[Boolean,Object],default:!0}},data:()=>({proxyClass:"v-tab--active"}),computed:{classes(){return{"v-tab":!0,...ss.options.computed.classes.call(this),"v-tab--disabled":this.disabled,...this.groupClasses}},value(){let t=this.to||this.href;if(null==t)return t;if(this.$router&&this.to===Object(this.to)){t=this.$router.resolve(this.to,this.$route,this.append).href}return t.replace("#","")}},methods:{click(t){this.disabled?t.preventDefault():(this.href&&this.href.indexOf("#")>-1&&t.preventDefault(),t.detail&&this.$el.blur(),this.$emit("click",t),this.to||this.toggle())},toggle(){this.isActive&&(this.tabsBar.mandatory||this.to)||this.$emit("change")}},render(t){const{tag:e,data:i}=this.generateRouteLink();return i.attrs={...i.attrs,"aria-selected":String(this.isActive),role:"tab",tabindex:this.disabled?-1:0},i.on={...i.on,keydown:t=>{t.keyCode===Ot.enter&&this.click(t),this.$emit("keydown",t)}},t(e,i,this.$slots.default)}}),Ta.extend({name:"v-tab-item",props:{id:String},methods:{genWindowItem(){const t=Ta.options.methods.genWindowItem.call(this);return t.data.domProps=t.data.domProps||{},t.data.domProps.id=this.id||this.value,t}}});rt(en).extend({name:"v-textarea",props:{autoGrow:Boolean,noResize:Boolean,rowHeight:{type:[Number,String],default:24,validator:t=>!isNaN(parseFloat(t))},rows:{type:[Number,String],default:5,validator:t=>!isNaN(parseInt(t,10))}},computed:{classes(){return{"v-textarea":!0,"v-textarea--auto-grow":this.autoGrow,"v-textarea--no-resize":this.noResizeHandle,...en.options.computed.classes.call(this)}},noResizeHandle(){return this.noResize||this.autoGrow}},watch:{autoGrow(t){this.$nextTick((()=>{var e;t?this.calculateInputHeight():null==(e=this.$refs.input)||e.style.removeProperty("height")}))},lazyValue(){this.autoGrow&&this.$nextTick(this.calculateInputHeight)},rowHeight(){this.autoGrow&&this.$nextTick(this.calculateInputHeight)}},mounted(){setTimeout((()=>{this.autoGrow&&this.calculateInputHeight()}),0)},methods:{calculateInputHeight(){const t=this.$refs.input;if(!t)return;t.style.height="0";const e=t.scrollHeight,i=parseInt(this.rows,10)*parseFloat(this.rowHeight);t.style.height=Math.max(i,e)+"px"},genInput(){const t=en.options.methods.genInput.call(this);return t.tag="textarea",delete t.data.attrs.type,t.data.attrs.rows=this.rows,t},onInput(t){en.options.methods.onInput.call(this,t),this.autoGrow&&this.calculateInputHeight()},onKeyDown(t){this.isFocused&&13===t.keyCode&&t.stopPropagation(),this.$emit("keydown",t)}}});rt(nt).extend({name:"v-timeline",provide(){return{timeline:this}},props:{alignTop:Boolean,dense:Boolean,reverse:Boolean},computed:{classes(){return{"v-timeline--align-top":this.alignTop,"v-timeline--dense":this.dense,"v-timeline--reverse":this.reverse,...this.themeClasses}}},render(t){return t("div",{staticClass:"v-timeline",class:this.classes},this.$slots.default)}});rt(Xe,nt).extend().extend({name:"v-timeline-item",inject:["timeline"],props:{color:{type:String,default:"primary"},fillDot:Boolean,hideDot:Boolean,icon:String,iconColor:String,large:Boolean,left:Boolean,right:Boolean,small:Boolean},computed:{hasIcon(){return!!this.icon||!!this.$slots.icon}},methods:{genBody(){return this.$createElement("div",{staticClass:"v-timeline-item__body"},this.$slots.default)},genIcon(){return this.$slots.icon?this.$slots.icon:this.$createElement(Zi,{props:{color:this.iconColor,dark:!this.theme.isDark,small:this.small}},this.icon)},genInnerDot(){const t=this.setBackgroundColor(this.color);return this.$createElement("div",{staticClass:"v-timeline-item__inner-dot",...t},[this.hasIcon&&this.genIcon()])},genDot(){return this.$createElement("div",{staticClass:"v-timeline-item__dot",class:{"v-timeline-item__dot--small":this.small,"v-timeline-item__dot--large":this.large}},[this.genInnerDot()])},genDivider(){const t=[];return this.hideDot||t.push(this.genDot()),this.$createElement("div",{staticClass:"v-timeline-item__divider"},t)},genOpposite(){return this.$createElement("div",{staticClass:"v-timeline-item__opposite"},this.$slots.opposite)}},render(t){const e=[this.genBody(),this.genDivider()];return this.$slots.opposite&&e.push(this.genOpposite()),t("div",{staticClass:"v-timeline-item",class:{"v-timeline-item--fill-dot":this.fillDot,"v-timeline-item--before":this.timeline.reverse?this.right:this.left,"v-timeline-item--after":this.timeline.reverse?this.left:this.right,...this.themeClasses}},e)}});var ko,_o;(_o=ko||(ko={}))[_o.Hour=1]="Hour",_o[_o.Minute=2]="Minute",_o[_o.Second=3]="Second";var Io=rt(Er).extend({name:"v-time-picker-title",props:{ampm:Boolean,ampmReadonly:Boolean,disabled:Boolean,hour:Number,minute:Number,second:Number,period:{type:String,validator:t=>"am"===t||"pm"===t},readonly:Boolean,useSeconds:Boolean,selecting:Number},methods:{genTime(){let t=this.hour;this.ampm&&(t=t?(t-1)%12+1:12);const e=null==this.hour?"--":this.ampm?String(t):Lr(t),i=null==this.minute?"--":Lr(this.minute),s=[this.genPickerButton("selecting",ko.Hour,e,this.disabled),this.$createElement("span",":"),this.genPickerButton("selecting",ko.Minute,i,this.disabled)];if(this.useSeconds){const t=null==this.second?"--":Lr(this.second);s.push(this.$createElement("span",":")),s.push(this.genPickerButton("selecting",ko.Second,t,this.disabled))}return this.$createElement("div",{class:"v-time-picker-title__time"},s)},genAmPm(){return this.$createElement("div",{staticClass:"v-time-picker-title__ampm",class:{"v-time-picker-title__ampm--readonly":this.ampmReadonly}},[this.ampmReadonly&&"am"!==this.period?null:this.genPickerButton("period","am",this.$vuetify.lang.t("$vuetify.timePicker.am"),this.disabled||this.readonly),this.ampmReadonly&&"pm"!==this.period?null:this.genPickerButton("period","pm",this.$vuetify.lang.t("$vuetify.timePicker.pm"),this.disabled||this.readonly)])}},render(t){const e=[this.genTime()];return this.ampm&&e.push(this.genAmPm()),t("div",{staticClass:"v-time-picker-title"},e)}}),To=rt(Xe,nt).extend({name:"v-time-picker-clock",props:{allowedValues:Function,ampm:Boolean,disabled:Boolean,double:Boolean,format:{type:Function,default:t=>t},max:{type:Number,required:!0},min:{type:Number,required:!0},scrollable:Boolean,readonly:Boolean,rotate:{type:Number,default:0},step:{type:Number,default:1},value:Number},data(){return{inputValue:this.value,isDragging:!1,valueOnMouseDown:null,valueOnMouseUp:null}},computed:{count(){return this.max-this.min+1},degreesPerUnit(){return 360/this.roundCount},degrees(){return this.degreesPerUnit*Math.PI/180},displayedValue(){return null==this.value?this.min:this.value},innerRadiusScale:()=>.62,roundCount(){return this.double?this.count/2:this.count}},watch:{value(t){this.inputValue=t}},methods:{wheel(t){t.preventDefault();const e=Math.sign(-t.deltaY||1);let i=this.displayedValue;do{i+=e,i=(i-this.min+this.count)%this.count+this.min}while(!this.isAllowed(i)&&i!==this.displayedValue);i!==this.displayedValue&&this.update(i)},isInner(t){return this.double&&t-this.min>=this.roundCount},handScale(t){return this.isInner(t)?this.innerRadiusScale:1},isAllowed(t){return!this.allowedValues||this.allowedValues(t)},genValues(){const t=[];for(let e=this.min;e<=this.max;e+=this.step){const i=e===this.value&&(this.color||"accent");t.push(this.$createElement("span",this.setBackgroundColor(i,{staticClass:"v-time-picker-clock__item",class:{"v-time-picker-clock__item--active":e===this.displayedValue,"v-time-picker-clock__item--disabled":this.disabled||!this.isAllowed(e)},style:this.getTransform(e),domProps:{innerHTML:`<span>${this.format(e)}</span>`}})))}return t},genHand(){const t=`scaleY(${this.handScale(this.displayedValue)})`,e=this.rotate+this.degreesPerUnit*(this.displayedValue-this.min),i=null!=this.value&&(this.color||"accent");return this.$createElement("div",this.setBackgroundColor(i,{staticClass:"v-time-picker-clock__hand",class:{"v-time-picker-clock__hand--inner":this.isInner(this.value)},style:{transform:`rotate(${e}deg) ${t}`}}))},getTransform(t){const{x:e,y:i}=this.getPosition(t);return{left:50+50*e+"%",top:50+50*i+"%"}},getPosition(t){const e=this.rotate*Math.PI/180;return{x:Math.sin((t-this.min)*this.degrees+e)*this.handScale(t),y:-Math.cos((t-this.min)*this.degrees+e)*this.handScale(t)}},onMouseDown(t){t.preventDefault(),this.valueOnMouseDown=null,this.valueOnMouseUp=null,this.isDragging=!0,this.onDragMove(t)},onMouseUp(t){t.stopPropagation(),this.isDragging=!1,null!==this.valueOnMouseUp&&this.isAllowed(this.valueOnMouseUp)&&this.$emit("change",this.valueOnMouseUp)},onDragMove(t){if(t.preventDefault(),!this.isDragging&&"click"!==t.type||!this.$refs.clock)return;const{width:e,top:i,left:s}=this.$refs.clock.getBoundingClientRect(),{width:n}=this.$refs.innerClock.getBoundingClientRect(),{clientX:a,clientY:r}="touches"in t?t.touches[0]:t,o={x:e/2,y:-e/2},l={x:a-s,y:i-r},h=Math.round(this.angle(o,l)-this.rotate+360)%360,c=this.double&&this.euclidean(o,l)<(n+n*this.innerRadiusScale)/4,d=Math.ceil(15/this.degreesPerUnit);let u;for(let p=0;p<d;p++){if(u=this.angleToValue(h+p*this.degreesPerUnit,c),this.isAllowed(u))return this.setMouseDownValue(u);if(u=this.angleToValue(h-p*this.degreesPerUnit,c),this.isAllowed(u))return this.setMouseDownValue(u)}},angleToValue(t,e){const i=(Math.round(t/this.degreesPerUnit)+(e?this.roundCount:0))%this.count+this.min;return t<360-this.degreesPerUnit/2?i:e?this.max-this.roundCount+1:this.min},setMouseDownValue(t){null===this.valueOnMouseDown&&(this.valueOnMouseDown=t),this.valueOnMouseUp=t,this.update(t)},update(t){this.inputValue!==t&&(this.inputValue=t,this.$emit("input",t))},euclidean(t,e){const i=e.x-t.x,s=e.y-t.y;return Math.sqrt(i*i+s*s)},angle(t,e){const i=2*Math.atan2(e.y-t.y-this.euclidean(t,e),e.x-t.x);return Math.abs(180*i/Math.PI)}},render(t){const e={staticClass:"v-time-picker-clock",class:{"v-time-picker-clock--indeterminate":null==this.value,...this.themeClasses},on:this.readonly||this.disabled?void 0:{mousedown:this.onMouseDown,mouseup:this.onMouseUp,mouseleave:t=>this.isDragging&&this.onMouseUp(t),touchstart:this.onMouseDown,touchend:this.onMouseUp,mousemove:this.onDragMove,touchmove:this.onDragMove},ref:"clock"};return this.scrollable&&e.on&&(e.on.wheel=this.wheel),t("div",e,[t("div",{staticClass:"v-time-picker-clock__inner",ref:"innerClock"},[this.genHand(),this.genValues()])])}});const Bo=_t(24),Ao=_t(12),Eo=Ao.map((t=>t+12)),Do=_t(60),Mo={1:"hour",2:"minute",3:"second"};rt(Ur,Er).extend({name:"v-time-picker",props:{allowedHours:[Function,Array],allowedMinutes:[Function,Array],allowedSeconds:[Function,Array],disabled:Boolean,format:{type:String,default:"ampm",validator:t=>["ampm","24hr"].includes(t)},min:String,max:String,readonly:Boolean,scrollable:Boolean,useSeconds:Boolean,value:null,ampmInTitle:Boolean},data:()=>({inputHour:null,inputMinute:null,inputSecond:null,lazyInputHour:null,lazyInputMinute:null,lazyInputSecond:null,period:"am",selecting:ko.Hour}),computed:{selectingHour:{get(){return this.selecting===ko.Hour},set(t){this.selecting=ko.Hour}},selectingMinute:{get(){return this.selecting===ko.Minute},set(t){this.selecting=ko.Minute}},selectingSecond:{get(){return this.selecting===ko.Second},set(t){this.selecting=ko.Second}},isAllowedHourCb(){let t;if(t=this.allowedHours instanceof Array?t=>this.allowedHours.includes(t):this.allowedHours,!this.min&&!this.max)return t;const e=this.min?Number(this.min.split(":")[0]):0,i=this.max?Number(this.max.split(":")[0]):23;return s=>s>=1*e&&s<=1*i&&(!t||t(s))},isAllowedMinuteCb(){let t;const e=!this.isAllowedHourCb||null===this.inputHour||this.isAllowedHourCb(this.inputHour);if(t=this.allowedMinutes instanceof Array?t=>this.allowedMinutes.includes(t):this.allowedMinutes,!this.min&&!this.max)return e?t:()=>!1;const[i,s]=this.min?this.min.split(":").map(Number):[0,0],[n,a]=this.max?this.max.split(":").map(Number):[23,59],r=60*i+1*s,o=60*n+1*a;return i=>{const s=60*this.inputHour+i;return s>=r&&s<=o&&e&&(!t||t(i))}},isAllowedSecondCb(){let t;const e=(!this.isAllowedHourCb||null===this.inputHour||this.isAllowedHourCb(this.inputHour))&&(!this.isAllowedMinuteCb||null===this.inputMinute||this.isAllowedMinuteCb(this.inputMinute));if(t=this.allowedSeconds instanceof Array?t=>this.allowedSeconds.includes(t):this.allowedSeconds,!this.min&&!this.max)return e?t:()=>!1;const[i,s,n]=this.min?this.min.split(":").map(Number):[0,0,0],[a,r,o]=this.max?this.max.split(":").map(Number):[23,59,59],l=3600*i+60*s+1*(n||0),h=3600*a+60*r+1*(o||0);return i=>{const s=3600*this.inputHour+60*this.inputMinute+i;return s>=l&&s<=h&&e&&(!t||t(i))}},isAmPm(){return"ampm"===this.format}},watch:{value:"setInputData"},mounted(){this.setInputData(this.value),this.$on("update:period",this.setPeriod)},methods:{genValue(){return null==this.inputHour||null==this.inputMinute||this.useSeconds&&null==this.inputSecond?null:`${Lr(this.inputHour)}:${Lr(this.inputMinute)}`+(this.useSeconds?`:${Lr(this.inputSecond)}`:"")},emitValue(){const t=this.genValue();null!==t&&this.$emit("input",t)},setPeriod(t){if(this.period=t,null!=this.inputHour){const e=this.inputHour+("am"===t?-12:12);this.inputHour=this.firstAllowed("hour",e),this.emitValue()}},setInputData(t){if(null==t||""===t)this.inputHour=null,this.inputMinute=null,this.inputSecond=null;else if(t instanceof Date)this.inputHour=t.getHours(),this.inputMinute=t.getMinutes(),this.inputSecond=t.getSeconds();else{const[,e,i,,s,n]=t.trim().toLowerCase().match(/^(\d+):(\d+)(:(\d+))?([ap]m)?$/)||new Array(6);this.inputHour=n?this.convert12to24(parseInt(e,10),n):parseInt(e,10),this.inputMinute=parseInt(i,10),this.inputSecond=parseInt(s||0,10)}this.period=null==this.inputHour||this.inputHour<12?"am":"pm"},convert24to12:t=>t?(t-1)%12+1:12,convert12to24:(t,e)=>t%12+("pm"===e?12:0),onInput(t){this.selecting===ko.Hour?this.inputHour=this.isAmPm?this.convert12to24(t,this.period):t:this.selecting===ko.Minute?this.inputMinute=t:this.inputSecond=t,this.emitValue()},onChange(t){this.$emit(`click:${Mo[this.selecting]}`,t);const e=this.selecting===(this.useSeconds?ko.Second:ko.Minute);if(this.selecting===ko.Hour?this.selecting=ko.Minute:this.useSeconds&&this.selecting===ko.Minute&&(this.selecting=ko.Second),this.inputHour===this.lazyInputHour&&this.inputMinute===this.lazyInputMinute&&(!this.useSeconds||this.inputSecond===this.lazyInputSecond))return;const i=this.genValue();null!==i&&(this.lazyInputHour=this.inputHour,this.lazyInputMinute=this.inputMinute,this.useSeconds&&(this.lazyInputSecond=this.inputSecond),e&&this.$emit("change",i))},firstAllowed(t,e){const i="hour"===t?this.isAllowedHourCb:"minute"===t?this.isAllowedMinuteCb:this.isAllowedSecondCb;if(!i)return e;const s="minute"===t||"second"===t?Do:this.isAmPm?e<12?Ao:Eo:Bo;return((s.find((t=>i((t+e)%s.length+s[0])))||0)+e)%s.length+s[0]},genClock(){return this.$createElement(To,{props:{allowedValues:this.selecting===ko.Hour?this.isAllowedHourCb:this.selecting===ko.Minute?this.isAllowedMinuteCb:this.isAllowedSecondCb,color:this.color,dark:this.dark,disabled:this.disabled,double:this.selecting===ko.Hour&&!this.isAmPm,format:this.selecting===ko.Hour?this.isAmPm?this.convert24to12:t=>t:t=>Lr(t,2),light:this.light,max:this.selecting===ko.Hour?this.isAmPm&&"am"===this.period?11:23:59,min:this.selecting===ko.Hour&&this.isAmPm&&"pm"===this.period?12:0,readonly:this.readonly,scrollable:this.scrollable,size:Number(this.width)-(!this.fullWidth&&this.landscape?80:20),step:this.selecting===ko.Hour?1:5,value:this.selecting===ko.Hour?this.inputHour:this.selecting===ko.Minute?this.inputMinute:this.inputSecond},on:{input:this.onInput,change:this.onChange},ref:"clock"})},genClockAmPm(){return this.$createElement("div",this.setTextColor(this.color||"primary",{staticClass:"v-time-picker-clock__ampm"}),[this.genPickerButton("period","am",this.$vuetify.lang.t("$vuetify.timePicker.am"),this.disabled||this.readonly),this.genPickerButton("period","pm",this.$vuetify.lang.t("$vuetify.timePicker.pm"),this.disabled||this.readonly)])},genPickerBody(){return this.$createElement("div",{staticClass:"v-time-picker-clock__container",key:this.selecting},[!this.ampmInTitle&&this.isAmPm&&this.genClockAmPm(),this.genClock()])},genPickerTitle(){return this.$createElement(Io,{props:{ampm:this.isAmPm,ampmReadonly:this.isAmPm&&!this.ampmInTitle,disabled:this.disabled,hour:this.inputHour,minute:this.inputMinute,second:this.inputSecond,period:this.period,readonly:this.readonly,useSeconds:this.useSeconds,selecting:this.selecting},on:{"update:selecting":t=>this.selecting=t,"update:period":t=>this.$emit("update:period",t)},ref:"title",slot:"title"})}},render(){return this.genPicker("v-picker--time")}}),bt("v-toolbar__title"),bt("v-toolbar__items");rt(Xe,$s,ws,Ts).extend({name:"v-tooltip",props:{closeDelay:{type:[Number,String],default:0},disabled:Boolean,openDelay:{type:[Number,String],default:0},openOnHover:{type:Boolean,default:!0},openOnFocus:{type:Boolean,default:!0},tag:{type:String,default:"span"},transition:String},data:()=>({calculatedMinWidth:0,closeDependents:!1}),computed:{calculatedLeft(){const{activator:t,content:e}=this.dimensions,i=!(this.bottom||this.left||this.top||this.right),s=!1!==this.attach?t.offsetLeft:t.left;let n=0;return this.top||this.bottom||i?n=s+t.width/2-e.width/2:(this.left||this.right)&&(n=s+(this.right?t.width:-e.width)+(this.right?10:-10)),this.nudgeLeft&&(n-=parseInt(this.nudgeLeft)),this.nudgeRight&&(n+=parseInt(this.nudgeRight)),`${this.calcXOverflow(n,this.dimensions.content.width)}px`},calculatedTop(){const{activator:t,content:e}=this.dimensions,i=!1!==this.attach?t.offsetTop:t.top;let s=0;return this.top||this.bottom?s=i+(this.bottom?t.height:-e.height)+(this.bottom?10:-10):(this.left||this.right)&&(s=i+t.height/2-e.height/2),this.nudgeTop&&(s-=parseInt(this.nudgeTop)),this.nudgeBottom&&(s+=parseInt(this.nudgeBottom)),!1===this.attach&&(s+=this.pageYOffset),`${this.calcYOverflow(s)}px`},classes(){return{"v-tooltip--top":this.top,"v-tooltip--right":this.right,"v-tooltip--bottom":this.bottom,"v-tooltip--left":this.left,"v-tooltip--attached":""===this.attach||!0===this.attach||"attach"===this.attach}},computedTransition(){return this.transition?this.transition:this.isActive?"scale-transition":"fade-transition"},offsetY(){return this.top||this.bottom},offsetX(){return this.left||this.right},styles(){return{left:this.calculatedLeft,maxWidth:Et(this.maxWidth),minWidth:Et(this.minWidth),top:this.calculatedTop,zIndex:this.zIndex||this.activeZIndex}}},beforeMount(){this.$nextTick((()=>{this.value&&this.callActivate()}))},mounted(){"v-slot"===zt(this,"activator",!0)&&Re("v-tooltip's activator slot must be bound, try '<template #activator=\"data\"><v-btn v-on=\"data.on>'",this)},methods:{activate(){this.updateDimensions(),requestAnimationFrame(this.startTransition)},deactivate(){this.runDelay("close")},genActivatorListeners(){const t=xs.options.methods.genActivatorListeners.call(this);return this.openOnFocus&&(t.focus=t=>{this.getActivator(t),this.runDelay("open")},t.blur=t=>{this.getActivator(t),this.runDelay("close")}),t.keydown=t=>{t.keyCode===Ot.esc&&(this.getActivator(t),this.runDelay("close"))},t},genActivatorAttributes(){return{"aria-haspopup":!0,"aria-expanded":String(this.isActive)}},genTransition(){const t=this.genContent();return this.computedTransition?this.$createElement("transition",{props:{name:this.computedTransition}},[t]):t},genContent(){return this.$createElement("div",this.setBackgroundColor(this.color,{staticClass:"v-tooltip__content",class:{[this.contentClass]:!0,menuable__content__active:this.isActive,"v-tooltip__content--fixed":this.activatorFixed},style:this.styles,attrs:this.getScopeIdAttrs(),directives:[{name:"show",value:this.isContentActive}],ref:"content"}),this.getContentSlot())}},render(t){return t(this.tag,{staticClass:"v-tooltip",class:this.classes},[this.showLazyContent((()=>[this.genTransition()])),this.genActivator()])}});const Oo=rt(Xe,ts("treeview")),Lo={activatable:Boolean,activeClass:{type:String,default:"v-treeview-node--active"},color:{type:String,default:"primary"},disablePerNode:Boolean,expandIcon:{type:String,default:"$subgroup"},indeterminateIcon:{type:String,default:"$checkboxIndeterminate"},itemChildren:{type:String,default:"children"},itemDisabled:{type:String,default:"disabled"},itemKey:{type:String,default:"id"},itemText:{type:String,default:"name"},loadChildren:Function,loadingIcon:{type:String,default:"$loading"},offIcon:{type:String,default:"$checkboxOff"},onIcon:{type:String,default:"$checkboxOn"},openOnClick:Boolean,rounded:Boolean,selectable:Boolean,selectedColor:{type:String,default:"accent"},shaped:Boolean,transition:Boolean,selectionType:{type:String,default:"leaf",validator:t=>["leaf","independent"].includes(t)}},Vo=Oo.extend().extend({name:"v-treeview-node",inject:{treeview:{default:null}},props:{level:Number,item:{type:Object,default:()=>null},parentIsDisabled:Boolean,...Lo},data:()=>({hasLoaded:!1,isActive:!1,isIndeterminate:!1,isLoading:!1,isOpen:!1,isSelected:!1}),computed:{disabled(){return Ct(this.item,this.itemDisabled)||!this.disablePerNode&&this.parentIsDisabled&&"leaf"===this.selectionType},key(){return Ct(this.item,this.itemKey)},children(){const t=Ct(this.item,this.itemChildren);return t&&t.filter((t=>!this.treeview.isExcluded(Ct(t,this.itemKey))))},text(){return Ct(this.item,this.itemText)},scopedProps(){return{item:this.item,leaf:!this.children,selected:this.isSelected,indeterminate:this.isIndeterminate,active:this.isActive,open:this.isOpen}},computedIcon(){return this.isIndeterminate?this.indeterminateIcon:this.isSelected?this.onIcon:this.offIcon},hasChildren(){return!(!this.children||!this.children.length&&!this.loadChildren)}},created(){this.treeview.register(this)},beforeDestroy(){this.treeview.unregister(this)},methods:{checkChildren(){return new Promise((t=>{if(!this.children||this.children.length||!this.loadChildren||this.hasLoaded)return t();this.isLoading=!0,t(this.loadChildren(this.item))})).then((()=>{this.isLoading=!1,this.hasLoaded=!0}))},open(){this.isOpen=!this.isOpen,this.treeview.updateOpen(this.key,this.isOpen),this.treeview.emitOpen()},genLabel(){const t=[];return this.$scopedSlots.label?t.push(this.$scopedSlots.label(this.scopedProps)):t.push(this.text),this.$createElement("div",{slot:"label",staticClass:"v-treeview-node__label"},t)},genPrependSlot(){return this.$scopedSlots.prepend?this.$createElement("div",{staticClass:"v-treeview-node__prepend"},this.$scopedSlots.prepend(this.scopedProps)):null},genAppendSlot(){return this.$scopedSlots.append?this.$createElement("div",{staticClass:"v-treeview-node__append"},this.$scopedSlots.append(this.scopedProps)):null},genContent(){const t=[this.genPrependSlot(),this.genLabel(),this.genAppendSlot()];return this.$createElement("div",{staticClass:"v-treeview-node__content"},t)},genToggle(){return this.$createElement(Zi,{staticClass:"v-treeview-node__toggle",class:{"v-treeview-node__toggle--open":this.isOpen,"v-treeview-node__toggle--loading":this.isLoading},slot:"prepend",on:{click:t=>{t.stopPropagation(),this.isLoading||this.checkChildren().then((()=>this.open()))}}},[this.isLoading?this.loadingIcon:this.expandIcon])},genCheckbox(){return this.$createElement(Zi,{staticClass:"v-treeview-node__checkbox",props:{color:this.isSelected||this.isIndeterminate?this.selectedColor:void 0,disabled:this.disabled},on:{click:t=>{t.stopPropagation(),this.isLoading||this.checkChildren().then((()=>{this.$nextTick((()=>{this.isSelected=!this.isSelected,this.isIndeterminate=!1,this.treeview.updateSelected(this.key,this.isSelected),this.treeview.emitSelected()}))}))}}},[this.computedIcon])},genLevel(t){return _t(t).map((()=>this.$createElement("div",{staticClass:"v-treeview-node__level"})))},genNode(){const t=[this.genContent()];return this.selectable&&t.unshift(this.genCheckbox()),this.hasChildren?t.unshift(this.genToggle()):t.unshift(...this.genLevel(1)),t.unshift(...this.genLevel(this.level)),this.$createElement("div",this.setTextColor(this.isActive&&this.color,{staticClass:"v-treeview-node__root",class:{[this.activeClass]:this.isActive},on:{click:()=>{this.openOnClick&&this.hasChildren?this.checkChildren().then(this.open):this.activatable&&!this.disabled&&(this.isActive=!this.isActive,this.treeview.updateActive(this.key,this.isActive),this.treeview.emitActive())}}}),t)},genChild(t,e){return this.$createElement(Vo,{key:Ct(t,this.itemKey),props:{activatable:this.activatable,activeClass:this.activeClass,item:t,selectable:this.selectable,selectedColor:this.selectedColor,color:this.color,disablePerNode:this.disablePerNode,expandIcon:this.expandIcon,indeterminateIcon:this.indeterminateIcon,offIcon:this.offIcon,onIcon:this.onIcon,loadingIcon:this.loadingIcon,itemKey:this.itemKey,itemText:this.itemText,itemDisabled:this.itemDisabled,itemChildren:this.itemChildren,loadChildren:this.loadChildren,transition:this.transition,openOnClick:this.openOnClick,rounded:this.rounded,shaped:this.shaped,level:this.level+1,selectionType:this.selectionType,parentIsDisabled:e},scopedSlots:this.$scopedSlots})},genChildrenWrapper(){if(!this.isOpen||!this.children)return null;const t=[this.children.map((t=>this.genChild(t,this.disabled)))];return this.$createElement("div",{staticClass:"v-treeview-node__children"},t)},genTransition(){return this.$createElement(vs,[this.genChildrenWrapper()])}},render(t){const e=[this.genNode()];return this.transition?e.push(this.genTransition()):e.push(this.genChildrenWrapper()),t("div",{staticClass:"v-treeview-node",class:{"v-treeview-node--leaf":!this.hasChildren,"v-treeview-node--click":this.openOnClick,"v-treeview-node--disabled":this.disabled,"v-treeview-node--rounded":this.rounded,"v-treeview-node--shaped":this.shaped,"v-treeview-node--selected":this.isSelected},attrs:{"aria-expanded":String(this.isOpen)}},e)}});function Po(t,e,i){return Ct(t,i).toLocaleLowerCase().indexOf(e.toLocaleLowerCase())>-1}function Ho(t,e,i,s,n,a,r){if(t(e,i,n))return!0;const o=Ct(e,a);if(o){let e=!1;for(let l=0;l<o.length;l++)Ho(t,o[l],i,s,n,a,r)&&(e=!0);if(e)return!0}return r.add(Ct(e,s)),!1}rt(es("treeview"),nt).extend({name:"v-treeview",provide(){return{treeview:this}},props:{active:{type:Array,default:()=>[]},dense:Boolean,disabled:Boolean,filter:Function,hoverable:Boolean,items:{type:Array,default:()=>[]},multipleActive:Boolean,open:{type:Array,default:()=>[]},openAll:Boolean,returnObject:{type:Boolean,default:!1},search:String,value:{type:Array,default:()=>[]},...Lo},data:()=>({level:-1,activeCache:new Set,nodes:{},openCache:new Set,selectedCache:new Set}),computed:{excludedItems(){const t=new Set;if(!this.search)return t;for(let e=0;e<this.items.length;e++)Ho(this.filter||Po,this.items[e],this.search,this.itemKey,this.itemText,this.itemChildren,t);return t}},watch:{items:{handler(){const t=Object.keys(this.nodes).map((t=>Ct(this.nodes[t].item,this.itemKey))),e=this.getKeys(this.items),i=function(t,e){const i=[];for(let s=0;s<e.length;s++)t.indexOf(e[s])<0&&i.push(e[s]);return i}(e,t);if(!i.length&&e.length<t.length)return;i.forEach((t=>delete this.nodes[t]));const s=[...this.selectedCache];this.selectedCache=new Set,this.activeCache=new Set,this.openCache=new Set,this.buildTree(this.items),wt(s,[...this.selectedCache])||this.emitSelected()},deep:!0},active(t){this.handleNodeCacheWatcher(t,this.activeCache,this.updateActive,this.emitActive)},value(t){this.handleNodeCacheWatcher(t,this.selectedCache,this.updateSelected,this.emitSelected)},open(t){this.handleNodeCacheWatcher(t,this.openCache,this.updateOpen,this.emitOpen)}},created(){const t=t=>this.returnObject?Ct(t,this.itemKey):t;this.buildTree(this.items);for(const e of this.value.map(t))this.updateSelected(e,!0,!0);for(const e of this.active.map(t))this.updateActive(e,!0)},mounted(){(this.$slots.prepend||this.$slots.append)&&We("The prepend and append slots require a slot-scope attribute",this),this.openAll?this.updateAll(!0):(this.open.forEach((t=>this.updateOpen(this.returnObject?Ct(t,this.itemKey):t,!0))),this.emitOpen())},methods:{updateAll(t){Object.keys(this.nodes).forEach((e=>this.updateOpen(Ct(this.nodes[e].item,this.itemKey),t))),this.emitOpen()},getKeys(t,e=[]){for(let i=0;i<t.length;i++){const s=Ct(t[i],this.itemKey);e.push(s);const n=Ct(t[i],this.itemChildren);n&&e.push(...this.getKeys(n))}return e},buildTree(t,e=null){for(let s=0;s<t.length;s++){var i;const n=t[s],a=Ct(n,this.itemKey),r=null!=(i=Ct(n,this.itemChildren))?i:[],o=this.nodes.hasOwnProperty(a)?this.nodes[a]:{isSelected:!1,isIndeterminate:!1,isActive:!1,isOpen:!1,vnode:null},l={vnode:o.vnode,parent:e,children:r.map((t=>Ct(t,this.itemKey))),item:n};if(this.buildTree(r,a),!this.nodes.hasOwnProperty(a)&&null!==e&&this.nodes.hasOwnProperty(e)?l.isSelected=this.nodes[e].isSelected:(l.isSelected=o.isSelected,l.isIndeterminate=o.isIndeterminate),l.isActive=o.isActive,l.isOpen=o.isOpen,this.nodes[a]=l,r.length&&"independent"!==this.selectionType){const{isSelected:t,isIndeterminate:e}=this.calculateState(a,this.nodes);l.isSelected=t,l.isIndeterminate=e}!this.nodes[a].isSelected||"independent"!==this.selectionType&&0!==l.children.length||this.selectedCache.add(a),this.nodes[a].isActive&&this.activeCache.add(a),this.nodes[a].isOpen&&this.openCache.add(a),this.updateVnodeState(a)}},calculateState(t,e){const i=e[t].children,s=i.reduce(((t,i)=>(t[0]+=+Boolean(e[i].isSelected),t[1]+=+Boolean(e[i].isIndeterminate),t)),[0,0]),n=!!i.length&&s[0]===i.length;return{isSelected:n,isIndeterminate:!n&&(s[0]>0||s[1]>0)}},emitOpen(){this.emitNodeCache("update:open",this.openCache)},emitSelected(){this.emitNodeCache("input",this.selectedCache)},emitActive(){this.emitNodeCache("update:active",this.activeCache)},emitNodeCache(t,e){this.$emit(t,this.returnObject?[...e].map((t=>this.nodes[t].item)):[...e])},handleNodeCacheWatcher(t,e,i,s){const n=[...e];wt(n,t=this.returnObject?t.map((t=>Ct(t,this.itemKey))):t)||(n.forEach((t=>i(t,!1))),t.forEach((t=>i(t,!0))),s())},getDescendants(t,e=[]){const i=this.nodes[t].children;e.push(...i);for(let s=0;s<i.length;s++)e=this.getDescendants(i[s],e);return e},getParents(t){let e=this.nodes[t].parent;const i=[];for(;null!==e;)i.push(e),e=this.nodes[e].parent;return i},register(t){const e=Ct(t.item,this.itemKey);this.nodes[e].vnode=t,this.updateVnodeState(e)},unregister(t){const e=Ct(t.item,this.itemKey);this.nodes[e]&&(this.nodes[e].vnode=null)},isParent(t){return this.nodes[t].children&&this.nodes[t].children.length},updateActive(t,e){if(!this.nodes.hasOwnProperty(t))return;this.multipleActive||this.activeCache.forEach((t=>{this.nodes[t].isActive=!1,this.updateVnodeState(t),this.activeCache.delete(t)}));const i=this.nodes[t];i&&(e?this.activeCache.add(t):this.activeCache.delete(t),i.isActive=e,this.updateVnodeState(t))},updateSelected(t,e,i=!1){if(!this.nodes.hasOwnProperty(t))return;const s=new Map;if("independent"!==this.selectionType){for(const a of this.getDescendants(t))Ct(this.nodes[a].item,this.itemDisabled)&&!i||(this.nodes[a].isSelected=e,this.nodes[a].isIndeterminate=!1,s.set(a,e));const n=this.calculateState(t,this.nodes);this.nodes[t].isSelected=e,this.nodes[t].isIndeterminate=n.isIndeterminate,s.set(t,e);for(const e of this.getParents(t)){const t=this.calculateState(e,this.nodes);this.nodes[e].isSelected=t.isSelected,this.nodes[e].isIndeterminate=t.isIndeterminate,s.set(e,t.isSelected)}}else this.nodes[t].isSelected=e,this.nodes[t].isIndeterminate=!1,s.set(t,e);for(const[n,a]of s.entries())this.updateVnodeState(n),"leaf"===this.selectionType&&this.isParent(n)||(!0===a?this.selectedCache.add(n):this.selectedCache.delete(n))},updateOpen(t,e){if(!this.nodes.hasOwnProperty(t))return;const i=this.nodes[t],s=Ct(i.item,this.itemChildren);s&&!s.length&&i.vnode&&!i.vnode.hasLoaded?i.vnode.checkChildren().then((()=>this.updateOpen(t,e))):s&&s.length&&(i.isOpen=e,i.isOpen?this.openCache.add(t):this.openCache.delete(t),this.updateVnodeState(t))},updateVnodeState(t){const e=this.nodes[t];e&&e.vnode&&(e.vnode.isSelected=e.isSelected,e.vnode.isIndeterminate=e.isIndeterminate,e.vnode.isActive=e.isActive,e.vnode.isOpen=e.isOpen)},isExcluded(t){return!!this.search&&this.excludedItems.has(t)}},render(t){const e=this.items.length?this.items.filter((t=>!this.isExcluded(Ct(t,this.itemKey)))).map((t=>Vo.options.methods.genChild.bind(this)(t,this.disabled||Ct(t,this.itemDisabled)))):this.$slots.default;return t("div",{staticClass:"v-treeview",class:{"v-treeview--hoverable":this.hoverable,"v-treeview--dense":this.dense,...this.themeClasses}},e)}});Ze.extend({name:"v-virtual-scroll",directives:{Scroll:pi},props:{bench:{type:[Number,String],default:0},itemHeight:{type:[Number,String],required:!0},items:{type:Array,default:()=>[]}},data:()=>({first:0,last:0,scrollTop:0}),computed:{__bench(){return parseInt(this.bench,10)},__itemHeight(){return parseInt(this.itemHeight,10)},firstToRender(){return Math.max(0,this.first-this.__bench)},lastToRender(){return Math.min(this.items.length,this.last+this.__bench)}},watch:{height:"onScroll",itemHeight:"onScroll"},mounted(){this.last=this.getLast(0)},methods:{getChildren(){return this.items.slice(this.firstToRender,this.lastToRender).map(this.genChild)},genChild(t,e){const i=Et((e+=this.firstToRender)*this.__itemHeight);return this.$createElement("div",{staticClass:"v-virtual-scroll__item",style:{top:i},key:e},Rt(this,"default",{index:e,item:t}))},getFirst(){return Math.floor(this.scrollTop/this.__itemHeight)},getLast(t){const e=parseInt(this.height||0,10)||this.$el.clientHeight;return t+Math.ceil(e/this.__itemHeight)},onScroll(){this.scrollTop=this.$el.scrollTop,this.first=this.getFirst(),this.last=this.getLast(this.first)}},render(t){const e=t("div",{staticClass:"v-virtual-scroll__container",style:{height:Et(this.items.length*this.__itemHeight)}},this.getChildren());return t("div",{staticClass:"v-virtual-scroll",style:this.measurableStyles,directives:[{name:"scroll",modifiers:{self:!0},value:this.onScroll}],on:this.$listeners},[e])}});function Fo(t,e,i,s,n,a,r,o){var l,h="function"==typeof t?t.options:t;if(e&&(h.render=e,h.staticRenderFns=i,h._compiled=!0),s&&(h.functional=!0),a&&(h._scopeId="data-v-"+a),r?(l=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),n&&n.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(r)},h._ssrRegister=l):n&&(l=o?function(){n.call(this,(h.functional?this.parent:this).$root.$options.shadowRoot)}:n),l)if(h.functional){h._injectStyles=l;var c=h.render;h.render=function(t,e){return l.call(e),c(t,e)}}else{var d=h.beforeCreate;h.beforeCreate=d?[].concat(d,l):[l]}return{exports:t,options:h}}const No={};var zo=Fo({name:"VSwatches",components:{VSheet:Qe,VBtn:ns,VIcon:Zi},model:{prop:"modelValue",event:"update:modelValue"},props:{modelValue:{type:String,required:!0},swatches:{type:Array,default:()=>[[mr.shades.black,mr.shades.white],[mr.red.base,mr.pink.base,mr.purple.base,mr.deepPurple.base,mr.indigo.base,mr.blue.base,mr.lightBlue.base,mr.cyan.base],[mr.teal.base,mr.green.base,mr.lightGreen.base,mr.lime.base,mr.yellow.base,mr.amber.base,mr.orange.base,mr.deepOrange.base],[mr.brown.base,mr.blueGrey.base,mr.grey.base]]},size:{type:String,default:"2rem"},icon:{type:String,default:"mdi-checkbox-marked-circle"},iconSize:{type:String,default:"1rem"}},emits:["update:modelValue"],setup(t,e){const i=P(!1),s=P(t.swatches),n=P(t.modelValue);return{checkedVisibilty:i,palette:s,selected:n,onSwatchClick:t=>{const i=t.target.value;i&&n.value!==i&&(n.value=i,e.emit("update:modelValue",i))}}}},(function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-sheet",{staticClass:"v-swatches"},t._l(t.palette,(function(e,s){return i("div",{key:s},t._l(e,(function(e){return i("v-btn",{key:e,attrs:{elevation:"1",width:t.size,height:t.size,color:e,value:e,"min-width":"auto"},on:{click:t.onSwatchClick}},[e===t.selected?i("v-icon",{attrs:{size:t.iconSize,color:e},domProps:{textContent:t._s(t.icon)}}):t._e()],1)})),1)})),0)}),[],!1,Wo,"8f02b8be",null,null);function Wo(t){for(let e in No)this[e]=No[e]}var Ro=function(){return zo.exports}();
|
|
16
|
+
/**
|
|
17
|
+
* Vuetify Swatches Component
|
|
18
|
+
*
|
|
19
|
+
* @license MIT
|
|
20
|
+
* @author Logue {@link logue@hotmail.co.jp}
|
|
21
|
+
* @copyright 2022 Masashi Yoshikawa {@link https://logue.dev/} All rights reserved.
|
|
22
|
+
* @see {@link https://github.com/logue/vuetify-swatches}
|
|
23
|
+
*/st();t.VSwatches=Ro,t.default=Ro,t.install=t=>{t.component("VSwatches",Ro)},Object.defineProperties(t,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})}));
|