vuetify
Version:
Vue Material Component Framework
309 lines • 570 kB
JavaScript
/*!
* Vuetify v4.0.4
* Forged by John Leider
* Released under the MIT License.
*/
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("vue")):"function"==typeof define&&define.amd?define(["exports","vue"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).Vuetify={},e.Vue)}(this,function(e,t){"use strict"
function a(e){t.warn(`Vuetify: ${e}`)}function l(e){t.warn(`Vuetify error: ${e}`)}function n(e,a){a=Array.isArray(a)?a.slice(0,-1).map(e=>`'${e}'`).join(", ")+` or '${a.at(-1)}'`:`'${a}'`,t.warn(`[Vuetify UPGRADE] '${e}' is deprecated, use ${a} instead.`)}const o="undefined"!=typeof window,r=o&&"IntersectionObserver"in window,i=o&&("ontouchstart"in window||window.navigator.maxTouchPoints>0),s=o&&"EyeDropper"in window,u=o&&"matchMedia"in window&&"function"==typeof window.matchMedia,c=()=>u&&window.matchMedia("(prefers-reduced-motion: reduce)").matches
function d(e,t,a){const l=t.length-1
if(l<0)return void 0===e?a:e
for(let n=0;n<l;n++){if(null==e)return a
e=e[t[n]]}return null==e||void 0===e[t[l]]?a:e[t[l]]}function v(e,t,a){return null!=e&&t&&"string"==typeof t?void 0!==e[t]?e[t]:d(e,(t=(t=t.replace(/\[(\w+)\]/g,".$1")).replace(/^\./,"")).split("."),a):a}function p(e,t,a){if(!0===t)return void 0===e?a:e
if(null==t||"boolean"==typeof t)return a
if(e!==Object(e)){if("function"!=typeof t)return a
const l=t(e,a)
return void 0===l?a:l}if("string"==typeof t)return v(e,t,a)
if(Array.isArray(t))return d(e,t,a)
if("function"!=typeof t)return a
const l=t(e,a)
return void 0===l?a:l}function m(e,t=0){return Array.from({length:e},(e,a)=>t+a)}function f(e,t="px"){if(null==e||""===e)return
const a=Number(e)
return isNaN(a)?String(e):isFinite(a)?`${a}${t}`:void 0}function g(e){return null!==e&&"object"==typeof e&&!Array.isArray(e)}function h(e){let t
return null!==e&&"object"==typeof e&&((t=Object.getPrototypeOf(e))===Object.prototype||null===t)}function y(e){if(e&&"$el"in e){const t=e.$el
return t?.nodeType===Node.TEXT_NODE?t.nextElementSibling:t}return e}const b=Object.freeze({enter:"Enter",tab:"Tab",delete:"Delete",esc:"Escape",space:"Space",up:"ArrowUp",down:"ArrowDown",left:"ArrowLeft",right:"ArrowRight",end:"End",home:"Home",del:"Delete",backspace:"Backspace",insert:"Insert",pageup:"PageUp",pagedown:"PageDown",shift:"Shift"})
function V(e){return Object.keys(e)}function w(e,t){return t.every(t=>e.hasOwnProperty(t))}function S(e,t){const a={}
for(const l of t)Object.prototype.hasOwnProperty.call(e,l)&&(a[l]=e[l])
return a}function k(e,t,a){const l=Object.create(null),n=Object.create(null)
for(const a in e)t.some(e=>e instanceof RegExp?e.test(a):e===a)?l[a]=e[a]:n[a]=e[a]
return[l,n]}function x(e,t){const a={...e}
return t.forEach(e=>delete a[e]),a}const N=/^on[^a-z]/,C=e=>N.test(e),E=["onAfterscriptexecute","onAnimationcancel","onAnimationend","onAnimationiteration","onAnimationstart","onAuxclick","onBeforeinput","onBeforescriptexecute","onChange","onClick","onCompositionend","onCompositionstart","onCompositionupdate","onContextmenu","onCopy","onCut","onDblclick","onFocusin","onFocusout","onFullscreenchange","onFullscreenerror","onGesturechange","onGestureend","onGesturestart","onGotpointercapture","onInput","onKeydown","onKeypress","onKeyup","onLostpointercapture","onMousedown","onMousemove","onMouseout","onMouseover","onMouseup","onMousewheel","onPaste","onPointercancel","onPointerdown","onPointerenter","onPointerleave","onPointermove","onPointerout","onPointerover","onPointerup","onReset","onSelect","onSubmit","onTouchcancel","onTouchend","onTouchmove","onTouchstart","onTransitioncancel","onTransitionend","onTransitionrun","onTransitionstart","onWheel"],I=["ArrowUp","ArrowDown","ArrowRight","ArrowLeft","Enter","Escape","Tab"," "]
function _(e){const[t,a]=k(e,[N]),l=x(t,E),[n,o]=k(a,["class","style","id","inert",/^data-/])
return Object.assign(n,t),Object.assign(o,l),[n,o]}function P(e){return null==e?[]:Array.isArray(e)?e:[e]}function R(e,a){let l=0
const n=(...n)=>{clearTimeout(l),l=setTimeout(()=>e(...n),t.unref(a))}
return n.clear=()=>{clearTimeout(l)},n.immediate=e,n}function A(e,t=0,a=1){return Math.max(t,Math.min(a,e))}function T(e){const t=e.toString().trim()
return t.includes(".")?t.length-t.indexOf(".")-1:0}function D(e,t,a="0"){return e+a.repeat(Math.max(0,t-e.length))}function B(e,t,a="0"){return a.repeat(Math.max(0,t-e.length))+e}function F(e,t=1e3){if(e<t)return`${e} B`
const a=1024===t?["Ki","Mi","Gi"]:["k","M","G"]
let l=-1
for(;Math.abs(e)>=t&&l<a.length-1;)e/=t,++l
return`${e.toFixed(1)} ${a[l]}B`}function $(e={},t={},a,l){const n={}
for(const t in e)n[t]=e[t]
for(const o in t){const r=t[o]
if(l&&!l(o,r))continue
const i=e[o]
h(i)&&h(r)?n[o]=$(i,r,a,l):n[o]=r}return n}function M(e){return e.map(e=>e.type===t.Fragment?M(e.children):e).flat()}function z(e=""){if(z.cache.has(e))return z.cache.get(e)
const t=e.replace(/[^a-z]/gi,"-").replace(/\B([A-Z])/g,"-$1").toLowerCase()
return z.cache.set(e,t),t}function L(e,t){if(!t||"object"!=typeof t)return[]
if(Array.isArray(t))return t.map(t=>L(e,t)).flat(1)
if(t.suspense)return L(e,t.ssContent)
if(Array.isArray(t.children))return t.children.map(t=>L(e,t)).flat(1)
if(t.component){if(Object.getOwnPropertyDescriptor(t.component.provides,e))return[t.component]
if(t.component.subTree)return L(e,t.component.subTree).flat(1)}return[]}z.cache=new Map
class O{#e=[]
#t=0
constructor(e){this.size=e}get isFull(){return this.#e.length===this.size}push(e){this.#e[this.#t]=e,this.#t=(this.#t+1)%this.size}values(){return this.#e.slice(this.#t).concat(this.#e.slice(0,this.#t))}clear(){this.#e.length=0,this.#t=0}}function j(e){const a=t.reactive({})
t.watchEffect(()=>{const t=e()
for(const e in t)a[e]=t[e]},{flush:"sync"})
const l={}
for(const e in a)l[e]=t.toRef(()=>a[e])
return l}function H(e,t){return e.includes(t)}function W(e){return e[2].toLowerCase()+e.slice(3)}const U=()=>[Function,Array]
function Y(e,a){return!!(e[a="on"+t.capitalize(a)]||e[`${a}Once`]||e[`${a}Capture`]||e[`${a}OnceCapture`]||e[`${a}CaptureOnce`])}function G(e,...t){if(Array.isArray(e))for(const a of e)a(...t)
else"function"==typeof e&&e(...t)}function K(e,t=!0){const a=["button","[href]",'input:not([type="hidden"])',"select","textarea","details:not(:has(> summary))","details > summary","[tabindex]",'[contenteditable]:not([contenteditable="false"])',"audio[controls]","video[controls]"].map(e=>`${e}${t?':not([tabindex="-1"])':""}:not([disabled], [inert])`).join(", ")
let n
try{n=[...e.querySelectorAll(a)]}catch(e){return l(String(e)),[]}return n.filter(e=>!e.closest("[inert]")).filter(e=>!!e.offsetParent||e.getClientRects().length>0).filter(e=>!e.parentElement?.closest("details:not([open])")||"SUMMARY"===e.tagName&&"DETAILS"===e.parentElement?.tagName)}function q(e,t,a){let l,n=e.indexOf(document.activeElement)
const o="next"===t?1:-1
do{n+=o,l=e[n]}while((!l||null==l.offsetParent||!(a?.(l)??1))&&n<e.length&&n>=0)
return l}function X(e,t){const a=K(e)
if(null==t)e!==document.activeElement&&e.contains(document.activeElement)||a[0]?.focus()
else if("first"===t)a[0]?.focus()
else if("last"===t)a.at(-1)?.focus()
else if("number"==typeof t)a[t]?.focus()
else{const l=q(a,t)
l?l.focus():X(e,"next"===t?"first":"last")}}function Z(e){return null==e||"string"==typeof e&&""===e.trim()}function Q(){}function J(e,t){if(!(o&&"undefined"!=typeof CSS&&void 0!==CSS.supports&&CSS.supports(`selector(${t})`)))return null
try{return!!e&&e.matches(t)}catch(e){return null}}function ee(e){return e.some(e=>!t.isVNode(e)||e.type!==t.Comment&&(e.type!==t.Fragment||ee(e.children)))?e:null}function te(e,t,a){return e?.(t)??a?.(t)}function ae(){const e=t.shallowRef(),a=t=>{e.value=t}
return Object.defineProperty(a,"value",{enumerable:!0,get:()=>e.value,set:t=>e.value=t}),Object.defineProperty(a,"el",{enumerable:!0,get:()=>y(e.value)}),a}function le(e){const t=1===e.key.length,a=!e.ctrlKey&&!e.metaKey&&!e.altKey
return t&&a}function ne(e){return"string"==typeof e||"number"==typeof e||"boolean"==typeof e||"bigint"==typeof e}function oe(e){return"\\^$*+?.()|{}[]".includes(e)?`\\${e}`:e}function re(e){const a=e=>Array.isArray(e)?e.map(e=>a(e)):t.isRef(e)||t.isReactive(e)||t.isProxy(e)?a(t.toRaw(e)):h(e)?Object.keys(e).reduce((t,l)=>(t[l]=a(e[l]),t),{}):e
return a(e)}const ie=["top","bottom"],se=["start","end","left","right"]
function ue(e,t){let[a,l]=e.split(" ")
return l||(l=H(ie,a)?"start":H(se,a)?"top":"center"),{side:ce(a,t),align:ce(l,t)}}function ce(e,t){return"start"===e?t?"right":"left":"end"===e?t?"left":"right":e}function de(e){return{side:{center:"center",top:"bottom",bottom:"top",left:"right",right:"left"}[e.side],align:e.align}}function ve(e){return{side:e.side,align:{center:"center",top:"bottom",bottom:"top",left:"right",right:"left"}[e.align]}}function pe(e){return{side:e.align,align:e.side}}function me(e){return H(ie,e.side)?"y":"x"}class fe{constructor(e){const t=document.body.currentCSSZoom??1,a=e instanceof Element,l=a?1+(1-t)/t:1,{x:n,y:o,width:r,height:i}=a?e.getBoundingClientRect():e
this.x=n*l,this.y=o*l,this.width=r*l,this.height=i*l}get top(){return this.y}get bottom(){return this.y+this.height}get left(){return this.x}get right(){return this.x+this.width}}function ge(e,t){return{x:{before:Math.max(0,t.left-e.left),after:Math.max(0,e.right-t.right)},y:{before:Math.max(0,t.top-e.top),after:Math.max(0,e.bottom-t.bottom)}}}function he(e){if(Array.isArray(e)){const t=document.body.currentCSSZoom??1,a=1+(1-t)/t
return new fe({x:e[0]*a,y:e[1]*a,width:0*a,height:0*a})}return new fe(e)}function ye(e){const t=new fe(e),a=getComputedStyle(e),l=a.transform
if(l){let n,o,r,i,s
if(l.startsWith("matrix3d("))n=l.slice(9,-1).split(/, /),o=Number(n[0]),r=Number(n[5]),i=Number(n[12]),s=Number(n[13])
else{if(!l.startsWith("matrix("))return new fe(t)
n=l.slice(7,-1).split(/, /),o=Number(n[0]),r=Number(n[3]),i=Number(n[4]),s=Number(n[5])}const u=a.transformOrigin,c=t.x-i-(1-o)*parseFloat(u),d=t.y-s-(1-r)*parseFloat(u.slice(u.indexOf(" ")+1)),v=o?t.width/o:e.offsetWidth+1,p=r?t.height/r:e.offsetHeight+1
return new fe({x:c,y:d,width:v,height:p})}return new fe(t)}function be(e,t,a){if(void 0===e.animate)return{finished:Promise.resolve()}
let l
try{l=e.animate(t,a)}catch(e){return{finished:Promise.resolve()}}return void 0===l.finished&&(l.finished=new Promise(e=>{l.onfinish=()=>{e(l)}})),l}const Ve=new WeakMap
const we=2.4,Se=.2126729,ke=.7151522,xe=.072175,Ne=.03,Ce=12.82051282051282,Ee=.06
function Ie(e,t){const a=(e.r/255)**we,l=(e.g/255)**we,n=(e.b/255)**we,o=(t.r/255)**we,r=(t.g/255)**we,i=(t.b/255)**we
let s,u=a*Se+l*ke+n*xe,c=o*Se+r*ke+i*xe
if(u<=Ne&&(u+=(Ne-u)**1.45),c<=Ne&&(c+=(Ne-c)**1.45),Math.abs(c-u)<5e-4)return 0
if(c>u){const e=1.25*(c**.55-u**.58)
s=e<.001?0:e<.078?e-e*Ce*Ee:e-Ee}else{const e=1.25*(c**.62-u**.57)
s=e>-.001?0:e>-.078?e-e*Ce*Ee:e+Ee}return 100*s}const _e=.20689655172413793,Pe=e=>e>_e**3?Math.cbrt(e):e/(3*_e**2)+4/29,Re=e=>e>_e?e**3:3*_e**2*(e-4/29)
function Ae(e){const t=Pe,a=t(e[1])
return[116*a-16,500*(t(e[0]/.95047)-a),200*(a-t(e[2]/1.08883))]}function Te(e){const t=Re,a=(e[0]+16)/116
return[.95047*t(a+e[1]/500),t(a),1.08883*t(a-e[2]/200)]}const De=[[3.2406,-1.5372,-.4986],[-.9689,1.8758,.0415],[.0557,-.204,1.057]],Be=e=>e<=.0031308?12.92*e:1.055*e**(1/2.4)-.055,Fe=[[.4124,.3576,.1805],[.2126,.7152,.0722],[.0193,.1192,.9505]],$e=e=>e<=.04045?e/12.92:((e+.055)/1.055)**2.4
function Me(e){const t=Array(3),a=Be,l=De
for(let n=0;n<3;++n)t[n]=Math.round(255*A(a(l[n][0]*e[0]+l[n][1]*e[1]+l[n][2]*e[2])))
return{r:t[0],g:t[1],b:t[2]}}function ze({r:e,g:t,b:a}){const l=[0,0,0],n=$e,o=Fe
e=n(e/255),t=n(t/255),a=n(a/255)
for(let n=0;n<3;++n)l[n]=o[n][0]*e+o[n][1]*t+o[n][2]*a
return l}function Le(e){return!!e&&/^(#|var\(--|(rgb|hsl)a?\()/.test(e)}const Oe=/^(?<fn>(?:rgb|hsl)a?)\((?<values>.+)\)/,je={rgb:(e,t,a,l)=>({r:e,g:t,b:a,a:l}),rgba:(e,t,a,l)=>({r:e,g:t,b:a,a:l}),hsl:(e,t,a,l)=>Ue({h:e,s:t,l:a,a:l}),hsla:(e,t,a,l)=>Ue({h:e,s:t,l:a,a:l}),hsv:(e,t,a,l)=>We({h:e,s:t,v:a,a:l}),hsva:(e,t,a,l)=>We({h:e,s:t,v:a,a:l})}
function He(e){if("number"==typeof e)return(isNaN(e)||e<0||e>16777215)&&a(`'${e}' is not a valid hex color`),{r:(16711680&e)>>16,g:(65280&e)>>8,b:255&e}
if("string"==typeof e&&Oe.test(e)){const{groups:t}=e.match(Oe),{fn:a,values:l}=t,n=l.split(/,\s*|\s*\/\s*|\s+/).map((e,t)=>e.endsWith("%")||t>0&&t<3&&["hsl","hsla","hsv","hsva"].includes(a)?parseFloat(e)/100:parseFloat(e))
return je[a](...n)}if("string"==typeof e){let t=e.startsWith("#")?e.slice(1):e;[3,4].includes(t.length)?t=t.split("").map(e=>e+e).join(""):[6,8].includes(t.length)||a(`'${e}' is not a valid hex(a) color`)
const l=parseInt(t,16)
return(isNaN(l)||l<0||l>4294967295)&&a(`'${e}' is not a valid hex(a) color`),Je(t)}if("object"==typeof e){if(w(e,["r","g","b"]))return e
if(w(e,["h","s","l"]))return We(Ke(e))
if(w(e,["h","s","v"]))return We(e)}throw new TypeError(`Invalid color: ${null==e?e:String(e)||e.constructor.name}\nExpected #hex, #hexa, rgb(), rgba(), hsl(), hsla(), object or number`)}function We(e){const{h:t,s:a,v:l,a:n}=e,o=e=>{const n=(e+t/60)%6
return l-l*a*Math.max(Math.min(n,4-n,1),0)},r=[o(5),o(3),o(1)].map(e=>Math.round(255*e))
return{r:r[0],g:r[1],b:r[2],a:n}}function Ue(e){return We(Ke(e))}function Ye(e){if(!e)return{h:0,s:1,v:1,a:1}
const t=e.r/255,a=e.g/255,l=e.b/255,n=Math.max(t,a,l),o=Math.min(t,a,l)
let r=0
n!==o&&(n===t?r=60*(0+(a-l)/(n-o)):n===a?r=60*(2+(l-t)/(n-o)):n===l&&(r=60*(4+(t-a)/(n-o)))),r<0&&(r+=360)
const i=[r,0===n?0:(n-o)/n,n]
return{h:i[0],s:i[1],v:i[2],a:e.a}}function Ge(e){const{h:t,s:a,v:l,a:n}=e,o=l-l*a/2
return{h:t,s:1===o||0===o?0:(l-o)/Math.min(o,1-o),l:o,a:n}}function Ke(e){const{h:t,s:a,l,a:n}=e,o=l+a*Math.min(l,1-l)
return{h:t,s:0===o?0:2-2*l/o,v:o,a:n}}function qe({r:e,g:t,b:a,a:l}){return void 0===l?`rgb(${e}, ${t}, ${a})`:`rgba(${e}, ${t}, ${a}, ${l})`}function Xe(e){return qe(We(e))}function Ze(e){const t=Math.round(e).toString(16)
return("00".substr(0,2-t.length)+t).toUpperCase()}function Qe({r:e,g:t,b:a,a:l}){return`#${[Ze(e),Ze(t),Ze(a),void 0!==l?Ze(Math.round(255*l)):""].join("")}`}function Je(e){e=function(e){e.startsWith("#")&&(e=e.slice(1))
e=e.replace(/([^0-9a-f])/gi,"F"),(3===e.length||4===e.length)&&(e=e.split("").map(e=>e+e).join(""))
6!==e.length&&(e=D(D(e,6),8,"F"))
return e}(e)
let[t,a,l,n]=function(e,t=1){const a=[]
let l=0
for(;l<e.length;)a.push(e.substr(l,t)),l+=t
return a}(e,2).map(e=>parseInt(e,16))
return n=void 0===n?n:n/255,{r:t,g:a,b:l,a:n}}function et(e){return Qe(We(e))}function tt(e,t){const a=Ae(ze(e))
return a[0]=a[0]+10*t,Me(Te(a))}function at(e,t){const a=Ae(ze(e))
return a[0]=a[0]-10*t,Me(Te(a))}function lt(e){return ze(He(e))[1]}function nt(e,t){const a=lt(e),l=lt(t)
return(Math.max(a,l)+.05)/(Math.min(a,l)+.05)}function ot(e){const t=Math.abs(Ie(He(0),He(e)))
return Math.abs(Ie(He(16777215),He(e)))>Math.min(t,50)}function rt(e,t){return a=>Object.keys(e).reduce((l,n)=>{const o="object"==typeof e[n]&&null!=e[n]&&!Array.isArray(e[n])?e[n]:{type:e[n]}
return l[n]=a&&n in a?{...o,default:a[n]}:o,t&&!l[n].source&&(l[n].source=t),l},{})}const it=rt({class:[String,Array,Object],style:{type:[String,Array,Object],default:null}},"component")
function st(e,a){const l=t.getCurrentInstance()
if(!l)throw new Error(`[Vuetify] ${e} must be called from inside a setup function`)
return l}function ut(e="composables"){const t=st(e).type
return z(t?.aliasName||t?.name)}const ct=Symbol.for("vuetify:defaults")
function dt(){const e=t.inject(ct)
if(!e)throw new Error("[Vuetify] Could not find defaults instance")
return e}function vt(e,a){const l=dt(),n=t.ref(e),o=t.computed(()=>{if(t.unref(a?.disabled))return l.value
const e=t.unref(a?.scoped),o=t.unref(a?.reset),r=t.unref(a?.root)
if(null==n.value&&!(e||o||r))return l.value
let i=$(n.value,{prev:l.value})
if(e)return i
if(o||r){const e=Number(o||1/0)
for(let t=0;t<=e&&(i&&"prev"in i);t++)i=i.prev
return i&&"string"==typeof r&&r in i&&(i=$($(i,{prev:i}),i[r])),i}return i.prev?$(i.prev,i,void 0,(e,t)=>void 0!==t):i})
return t.provide(ct,o),o}function pt(e={},a,l=dt()){const n=st("useDefaults")
if(!(a=a??n.type.name??n.type.__name))throw new Error("[Vuetify] Could not determine component name")
const o=t.computed(()=>l.value?.[e._as??a]),r=new Proxy(e,{get(e,t){const a=Reflect.get(e,t)
if("class"===t||"style"===t)return[o.value?.[t],a].filter(e=>null!=e)
if(function(e,t){return e.props&&(void 0!==e.props[t]||void 0!==e.props[z(t)])}(n.vnode,t))return a
const r=o.value?.[t]
if(void 0!==r)return r
const i=l.value?.global?.[t]
return void 0!==i?i:a}}),i=t.shallowRef()
return t.watchEffect(()=>{if(o.value){const e=Object.entries(o.value).filter(([e])=>e.startsWith(e[0].toUpperCase()))
i.value=e.length?Object.fromEntries(e):void 0}else i.value=void 0}),{props:r,provideSubDefaults:function(){const e=function(e,t=st("injectSelf")){const{provides:a}=t
if(a&&e in a)return a[e]}(ct,n)
t.provide(ct,t.computed(()=>i.value?$(e?.value??{},i.value):e?.value))}}}function mt(e){if(e._setup=e._setup??e.setup,!e.name)return a("The component is missing an explicit name, unable to generate default prop value"),e
if(e._setup){e.props=rt(e.props??{},e.name)()
const t=Object.keys(e.props).filter(e=>"class"!==e&&"style"!==e)
e.filterProps=function(e){return S(e,t)},e.props._as=String,e.setup=function(t,a){const l=dt()
if(!l.value)return e._setup(t,a)
const{props:n,provideSubDefaults:o}=pt(t,t._as??e.name,l),r=e._setup(n,a)
return o(),r}}return e}function ft(e=!0){return a=>(e?mt:t.defineComponent)(a)}function gt(e,a="div",l){return ft()({name:l??t.capitalize(t.camelize(e.replace(/__/g,"-"))),props:{tag:{type:String,default:a},...it()},setup:(a,{slots:l})=>()=>t.h(a.tag,{class:[e,a.class],style:a.style},l.default?.())})}function ht(e,t,a=new WeakMap){if(e===t)return!0
if(e instanceof Date&&t instanceof Date&&e.getTime()!==t.getTime())return!1
if(e!==Object(e)||t!==Object(t))return!1
const l=Object.keys(e)
if(l.length!==Object.keys(t).length)return!1
const n=function(e,t,a){if(!a||ne(e)||ne(t))return null
const l=a.get(e)?.get(t)
if("boolean"==typeof l)return l
const n=a.get(t)?.get(e)
return"boolean"==typeof n?n:null}(e,t,a)
return n||(function(e,t,a,l){if(!a||ne(e)||ne(t))return
const n=a.get(e)
if(n)n.set(t,l)
else{const n=new WeakMap
n.set(t,l),a.set(e,n)}}(e,t,a,!0),l.every(l=>ht(e[l],t[l],a)))}function yt(e){if("function"!=typeof e.getRootNode){for(;e.parentNode;)e=e.parentNode
return e!==document?null:document}const t=e.getRootNode()
return t!==document&&t.getRootNode({composed:!0})!==document?null:t}const bt="cubic-bezier(0.4, 0, 0.2, 1)",Vt="cubic-bezier(0.0, 0, 0.2, 1)",wt="cubic-bezier(0.4, 0, 1, 1)",St={linear:e=>e,easeInQuad:e=>e**2,easeOutQuad:e=>e*(2-e),easeInOutQuad:e=>e<.5?2*e**2:(4-2*e)*e-1,easeInCubic:e=>e**3,easeOutCubic:e=>--e**3+1,easeInOutCubic:e=>e<.5?4*e**3:(e-1)*(2*e-2)*(2*e-2)+1,easeInQuart:e=>e**4,easeOutQuart:e=>1- --e**4,easeInOutQuart:e=>e<.5?8*e**4:1-8*--e**4,easeInQuint:e=>e**5,easeOutQuint:e=>1+--e**5,easeInOutQuint:e=>e<.5?16*e**5:1+16*--e**5,instant:e=>1}
function kt(e,t,a){return Object.keys(e).filter(e=>C(e)&&e.endsWith(t)).reduce((l,n)=>(l[n.slice(0,-t.length)]=t=>G(e[n],t,a(t)),l),{})}function xt(e,t=!1){for(;e;){if(t?Et(e):Ct(e))return e
e=e.parentElement}return document.scrollingElement}function Nt(e,t){const a=[]
if(t&&e&&!t.contains(e))return a
for(;e&&(Ct(e)&&a.push(e),e!==t);)e=e.parentElement
return a}function Ct(e){if(!e||e.nodeType!==Node.ELEMENT_NODE)return!1
const t=window.getComputedStyle(e),a="scroll"===t.overflowY||"auto"===t.overflowY&&e.scrollHeight>e.clientHeight,l="scroll"===t.overflowX||"auto"===t.overflowX&&e.scrollWidth>e.clientWidth
return a||l}function Et(e){if(!e||e.nodeType!==Node.ELEMENT_NODE)return!1
const t=window.getComputedStyle(e)
return["scroll","auto"].includes(t.overflowY)}function It(e){st("useRender").render=e}const _t=[String,Function,Object,Array],Pt=Symbol.for("vuetify:icons"),Rt=rt({icon:{type:_t},tag:{type:[String,Object,Function],required:!0}},"icon"),At=ft()({name:"VComponentIcon",props:Rt(),setup:(e,{slots:a})=>()=>{const l=e.icon
return t.createVNode(e.tag,null,{default:()=>[e.icon?t.createVNode(l,null,null):a.default?.()]})}}),Tt=mt({name:"VSvgIcon",inheritAttrs:!1,props:Rt(),setup:(e,{attrs:a})=>()=>t.createVNode(e.tag,t.mergeProps(a,{style:null}),{default:()=>[t.createElementVNode("svg",{class:"v-icon__svg",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",role:"img","aria-hidden":"true"},[Array.isArray(e.icon)?e.icon.map(e=>Array.isArray(e)?t.createElementVNode("path",{d:e[0],"fill-opacity":e[1]},null):t.createElementVNode("path",{d:e},null)):t.createElementVNode("path",{d:e.icon},null)])]})}),Dt=mt({name:"VLigatureIcon",props:Rt(),setup:e=>()=>t.createVNode(e.tag,null,{default:()=>[e.icon]})}),Bt=mt({name:"VClassIcon",props:Rt(),setup:e=>()=>t.createVNode(e.tag,{class:t.normalizeClass(e.icon)},null)}),Ft={collapse:"mdi-chevron-up",complete:"mdi-check",cancel:"mdi-close-circle",close:"mdi-close",delete:"mdi-close-circle",clear:"mdi-close-circle",success:"mdi-check-circle",info:"mdi-information",warning:"mdi-alert-circle",error:"mdi-close-circle",prev:"mdi-chevron-left",next:"mdi-chevron-right",checkboxOn:"mdi-checkbox-marked",checkboxOff:"mdi-checkbox-blank-outline",checkboxIndeterminate:"mdi-minus-box",delimiter:"mdi-circle",sortAsc:"mdi-arrow-up",sortDesc:"mdi-arrow-down",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",calendar:"mdi-calendar",treeviewCollapse:"mdi-menu-down",treeviewExpand:"mdi-menu-right",tableGroupCollapse:"mdi-chevron-down",tableGroupExpand:"mdi-chevron-right",eyeDropper:"mdi-eyedropper",upload:"mdi-cloud-upload",color:"mdi-palette",command:"mdi-apple-keyboard-command",ctrl:"mdi-apple-keyboard-control",space:"mdi-keyboard-space",shift:"mdi-apple-keyboard-shift",alt:"mdi-apple-keyboard-option",enter:"mdi-keyboard-return",arrowup:"mdi-arrow-up",arrowdown:"mdi-arrow-down",arrowleft:"mdi-arrow-left",arrowright:"mdi-arrow-right",backspace:"mdi-backspace",play:"mdi-play",pause:"mdi-pause",fullscreen:"mdi-fullscreen",fullscreenExit:"mdi-fullscreen-exit",volumeHigh:"mdi-volume-high",volumeMedium:"mdi-volume-medium",volumeLow:"mdi-volume-low",volumeOff:"mdi-volume-variant-off",search:"mdi-magnify"},$t={component:e=>t.h(Bt,{...e,class:"mdi"})},Mt={defaults:{global:{rounded:"sm"},VAvatar:{rounded:"circle"},VAutocomplete:{variant:"underlined"},VBanner:{color:"primary"},VBtn:{class:"text-uppercase",color:"primary",rounded:0},VCheckbox:{color:"secondary",indentDetails:!1},VCombobox:{variant:"underlined"},VDatePicker:{color:"primary",controlHeight:44,elevation:1,rounded:0,controlVariant:"modal",VBtn:{color:"high-emphasis",rounded:"circle"}},VSelect:{variant:"underlined"},VSlider:{color:"primary",indentDetails:!1},VSwitch:{indentDetails:!1},VRadioGroup:{indentDetails:!1},VRangeSlider:{indentDetails:!1},VTabs:{color:"primary"},VTextarea:{variant:"underlined"},VTextField:{variant:"underlined"},VToolbar:{VBtn:{color:null}}},icons:{defaultSet:"mdi",sets:{mdi:$t}},theme:{themes:{light:{colors:{primary:"#3F51B5","primary-darken-1":"#303F9F","primary-lighten-1":"#C5CAE9",secondary:"#FF4081","secondary-darken-1":"#F50057","secondary-lighten-1":"#FF80AB",accent:"#009688"}}}}},zt={defaults:{VAvatar:{rounded:"circle"},VAutocomplete:{variant:"filled"},VBanner:{color:"primary"},VBtn:{class:"text-uppercase",color:"primary"},VCheckbox:{color:"secondary",indentDetails:!0},VCombobox:{variant:"filled"},VDatePicker:{color:"primary",controlHeight:56,elevation:2,rounded:"md",controlVariant:"modal",VBtn:{color:"high-emphasis",rounded:"circle"}},VRadioGroup:{indentDetails:!0},VSelect:{variant:"filled"},VSlider:{color:"primary",indentDetails:!0},VRangeSlider:{indentDetails:!0},VSwitch:{indentDetails:!0},VTabs:{color:"primary"},VTextarea:{variant:"filled"},VTextField:{variant:"filled"},VToolbar:{VBtn:{color:null}}},icons:{defaultSet:"mdi",sets:{mdi:$t}},theme:{themes:{light:{colors:{primary:"#6200EE","primary-darken-1":"#3700B3",secondary:"#03DAC6","secondary-darken-1":"#018786",error:"#B00020"}}}}},Lt={defaults:{VAppBar:{flat:!0},VAutocomplete:{variant:"outlined"},VBanner:{color:"primary"},VBottomSheet:{contentClass:"rounded-t-xl overflow-hidden"},VBtn:{color:"primary",rounded:"xl"},VBtnGroup:{rounded:"xl",VBtn:{rounded:null}},VCard:{rounded:"lg"},VCheckbox:{color:"secondary",inset:!0,indentDetails:!0},VChip:{rounded:"sm"},VCombobox:{variant:"outlined"},VDateInput:{variant:"outlined"},VDatePicker:{controlHeight:48,color:"primary",divided:!0,headerColor:"",elevation:1,rounded:"xl",VBtn:{color:"high-emphasis",rounded:"circle"}},VFileInput:{variant:"outlined"},VList:{prependGap:16},VNavigationDrawer:{},VNumberInput:{variant:"outlined",VBtn:{color:void 0,rounded:void 0}},VRadioGroup:{indentDetails:!0},VSelect:{variant:"outlined"},VSlider:{color:"primary",indentDetails:!0},VRangeSlider:{indentDetails:!0},VSwitch:{indentDetails:!0},VTabs:{color:"primary"},VTextarea:{variant:"outlined"},VTextField:{variant:"outlined"},VToolbar:{VBtn:{color:null}}},icons:{defaultSet:"mdi",sets:{mdi:$t}},theme:{themes:{light:{colors:{primary:"#6750a4",secondary:"#b4b0bb",tertiary:"#7d5260",error:"#b3261e",surface:"#fffbfe"}}}}}
var Ot=Object.freeze({__proto__:null,md1:Mt,md2:zt,md3:Lt})
function jt(e,a="content"){const l=ae(),n=t.ref()
if(o){const o=new ResizeObserver(t=>{e?.(t,o),t.length&&(n.value="content"===a?t[0].contentRect:t[0].target.getBoundingClientRect())})
t.onBeforeUnmount(()=>{o.disconnect()}),t.watch(()=>l.el,(e,t)=>{t&&(o.unobserve(t),n.value=void 0),e&&o.observe(e)},{flush:"post"})}return{resizeRef:l,contentRect:t.readonly(n)}}const Ht=Symbol.for("vuetify:layout"),Wt=Symbol.for("vuetify:layout-item"),Ut=rt({overlaps:{type:Array,default:()=>[]},fullHeight:Boolean},"layout"),Yt=rt({name:{type:String},order:{type:[Number,String],default:0},absolute:Boolean},"layout-item")
function Gt(){const e=t.inject(Ht)
if(!e)throw new Error("[Vuetify] Could not find injected layout")
return{getLayoutItem:e.getLayoutItem,mainRect:e.mainRect,mainStyles:e.mainStyles}}function Kt(e){const a=t.inject(Ht)
if(!a)throw new Error("[Vuetify] Could not find injected layout")
const l=e.id??`layout-item-${t.useId()}`,n=st("useLayoutItem")
t.provide(Wt,{id:l})
const o=t.shallowRef(!1)
t.onDeactivated(()=>o.value=!0),t.onActivated(()=>o.value=!1)
const{layoutItemStyles:r,layoutItemScrimStyles:i}=a.register(n,{...e,active:t.computed(()=>!o.value&&e.active.value),id:l})
return t.onBeforeUnmount(()=>a.unregister(l)),{layoutItemStyles:r,layoutRect:a.layoutRect,layoutItemScrimStyles:i}}function qt(e){const l=t.inject(Ht,null),n=t.computed(()=>l?l.rootZIndex.value-100:1e3),o=t.ref([]),r=t.reactive(new Map),i=t.reactive(new Map),s=t.reactive(new Map),u=t.reactive(new Map),c=t.reactive(new Map),{resizeRef:d,contentRect:v}=jt(),p=t.computed(()=>{const t=new Map,a=e.overlaps??[]
for(const e of a.filter(e=>e.includes(":"))){const[a,l]=e.split(":")
if(!o.value.includes(a)||!o.value.includes(l))continue
const n=r.get(a),s=r.get(l),u=i.get(a),c=i.get(l)
n&&s&&u&&c&&(t.set(l,{position:n.value,amount:parseInt(u.value,10)}),t.set(a,{position:s.value,amount:-parseInt(c.value,10)}))}return t}),m=t.computed(()=>{const e=[...new Set([...s.values()].map(e=>e.value))].sort((e,t)=>e-t),t=[]
for(const a of e){const e=o.value.filter(e=>s.get(e)?.value===a)
t.push(...e)}return((e,t,a,l)=>{let n={top:0,left:0,right:0,bottom:0}
const o=[{id:"",layer:{...n}}]
for(const r of e){const e=t.get(r),i=a.get(r),s=l.get(r)
if(!e||!i||!s)continue
const u={...n,[e.value]:parseInt(n[e.value],10)+(s.value?parseInt(i.value,10):0)}
o.push({id:r,layer:u}),n=u}return o})(t,r,i,u)}),g=t.computed(()=>!Array.from(c.values()).some(e=>e.value)),h=t.computed(()=>m.value[m.value.length-1].layer),y=t.toRef(()=>({"--v-layout-left":f(h.value.left),"--v-layout-right":f(h.value.right),"--v-layout-top":f(h.value.top),"--v-layout-bottom":f(h.value.bottom),...g.value?void 0:{transition:"none"}})),b=t.computed(()=>m.value.slice(1).map(({id:e},t)=>{const{layer:a}=m.value[t],l=i.get(e),n=r.get(e)
return{id:e,...a,size:Number(l.value),position:n.value}})),V=e=>b.value.find(t=>t.id===e),w=st("createLayout"),S=t.shallowRef(!1)
t.onMounted(()=>{S.value=!0}),t.provide(Ht,{register:(e,{id:l,order:d,position:v,layoutSize:f,elementSize:h,active:y,disableTransitions:V,absolute:k})=>{s.set(l,d),r.set(l,v),i.set(l,f),u.set(l,y),V&&c.set(l,V)
const x=L(Wt,w?.vnode).indexOf(e)
x>-1?o.value.splice(x,0,l):o.value.push(l)
const N=t.computed(()=>b.value.findIndex(e=>e.id===l)),C=t.computed(()=>n.value+2*m.value.length-2*N.value)
return{layoutItemStyles:t.computed(()=>{const e="left"===v.value||"right"===v.value,t="right"===v.value,o="bottom"===v.value,r=Number(h.value??f.value),i="translate"+(e?"X":"Y"),s=y.value?0:(0===r?100:r+1)*(t||o?1:-1),u=0===r?"%":"px",c={[v.value]:0,zIndex:C.value,transform:`${i}(${s}${u})`,position:k.value||1e3!==n.value?"absolute":"fixed",...g.value?void 0:{transition:"none"}}
if(!S.value)return c
const d=b.value[N.value]
d||a(`[Vuetify] Could not find layout item "${l}"`)
const m=p.value.get(l)
return m&&(d[m.position]+=m.amount),{...c,height:e?`calc(100% - ${d.top}px - ${d.bottom}px)`:h.value?`${h.value}px`:void 0,left:t?void 0:`${d.left}px`,right:t?`${d.right}px`:void 0,top:"bottom"!==v.value?`${d.top}px`:void 0,bottom:"top"!==v.value?`${d.bottom}px`:void 0,width:e?h.value?`${h.value}px`:void 0:`calc(100% - ${d.left}px - ${d.right}px)`}}),layoutItemScrimStyles:t.computed(()=>({zIndex:C.value-1})),zIndex:C}},unregister:e=>{s.delete(e),r.delete(e),i.delete(e),u.delete(e),c.delete(e),o.value=o.value.filter(t=>t!==e)},mainRect:h,mainStyles:y,getLayoutItem:V,items:b,layoutRect:v,rootZIndex:n})
return{layoutClasses:t.toRef(()=>["v-layout",{"v-layout--full-height":e.fullHeight}]),layoutStyles:t.toRef(()=>({zIndex:l?n.value:void 0,position:l?"relative":void 0,overflow:l?"hidden":void 0})),getLayoutItem:V,items:b,layoutRect:v,layoutRef:d}}function Xt(e,a){let l
function n(){l=t.effectScope(),l.run(()=>a.length?a(()=>{l?.stop(),n()}):a())}t.watch(e,e=>{e&&!l?n():e||(l?.stop(),l=void 0)},{immediate:!0}),t.onScopeDispose(()=>{l?.stop()})}function Zt(e,a,l,n=e=>e,o=e=>e){const r=st("useProxiedModel"),i=t.ref(void 0!==e[a]?e[a]:l),s=z(a),u=s!==a?t.computed(()=>(e[a],!(!r.vnode.props?.hasOwnProperty(a)&&!r.vnode.props?.hasOwnProperty(s)||!r.vnode.props?.hasOwnProperty(`onUpdate:${a}`)&&!r.vnode.props?.hasOwnProperty(`onUpdate:${s}`)))):t.computed(()=>(e[a],!(!r.vnode.props?.hasOwnProperty(a)||!r.vnode.props?.hasOwnProperty(`onUpdate:${a}`))))
Xt(()=>!u.value,()=>{t.watch(()=>e[a],e=>{i.value=e})})
const c=t.computed({get(){const t=e[a]
return n(u.value?t:i.value)},set(l){const s=o(l),c=t.toRaw(u.value?e[a]:i.value)
c!==s&&n(c)!==l&&(i.value=s,r?.emit(`update:${a}`,s))}})
return Object.defineProperty(c,"externalValue",{get:()=>u.value?e[a]:i.value}),c}var Qt={badge:"Badge",open:"Open",close:"Close",dismiss:"Dismiss",confirmEdit:{ok:"OK",cancel:"Cancel"},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}"},dateRangeInput:{divider:"to"},datePicker:{itemsSelected:"{0} selected",range:{title:"Select dates",header:"Enter dates"},title:"Select date",header:"Enter date",input:{placeholder:"Enter date"},ariaLabel:{previousMonth:"Previous month",nextMonth:"Next month",selectYear:"Select year",previousYear:"Previous year",nextYear:"Next year",selectMonth:"Select month",selectDate:"{0}",currentDate:"Today, {0}"}},noDataText:"No data available",carousel:{prev:"Previous visual",next:"Next visual",ariaLabel:{delimiter:"Carousel slide {0} of {1}"}},calendar:{moreEvents:"{0} more",today:"Today"},input:{clear:"Clear {0}",prependAction:"{0} prepended action",appendAction:"{0} appended action",otp:"Please enter OTP character {0}"},fileInput:{counter:"{0} files",counterSize:"{0} files ({1} in total)"},fileUpload:{title:"Drag and drop files here",divider:"or",browse:"Browse Files"},timePicker:{am:"AM",pm:"PM",title:"Select Time",hour:"Hour",minute:"Minute",second:"Second",notAllowed:"Value is not allowed"},pagination:{ariaLabel:{root:"Pagination Navigation",next:"Next page",previous:"Previous page",page:"Go to page {0}",currentPage:"Page {0}, Current page",first:"First page",last:"Last page"}},stepper:{next:"Next",prev:"Previous"},rating:{ariaLabel:{item:"Rating {0} of {1}"}},loading:"Loading...",infiniteScroll:{loadMore:"Load more",empty:"No more"},rules:{required:"This field is required",email:"Please enter a valid email",number:"This field can only contain numbers",integer:"This field can only contain integer values",capital:"This field can only contain uppercase letters",maxLength:"You must enter a maximum of {0} characters",minLength:"You must enter a minimum of {0} characters",strictLength:"The length of the entered field is invalid",exclude:"The {0} character is not allowed",notEmpty:"Please choose at least one value",pattern:"Invalid format"},command:{search:"Type a command or search..."},hotkey:{then:"then",ctrl:"Ctrl",command:"Command",space:"Space",shift:"Shift",alt:"Alt",enter:"Enter",escape:"Escape",upArrow:"Up Arrow",downArrow:"Down Arrow",leftArrow:"Left Arrow",rightArrow:"Right Arrow",backspace:"Backspace",option:"Option",plus:"plus",shortcut:"Keyboard shortcut: {0}",or:"or"},video:{play:"Play",pause:"Pause",seek:"Seek",volume:"Volume",showVolume:"Show volume control",mute:"Mute",unmute:"Unmute",enterFullscreen:"Full screen",exitFullscreen:"Exit full screen"},colorPicker:{ariaLabel:{eyedropper:"Select color with eyedropper",hueSlider:"Hue",alphaSlider:"Alpha",redInput:"Red value",greenInput:"Green value",blueInput:"Blue value",alphaInput:"Alpha value",hueInput:"Hue value",saturationInput:"Saturation value",lightnessInput:"Lightness value",hexInput:"HEX value",hexaInput:"HEX with alpha value",changeFormat:"Change color format"}}}
const Jt="$vuetify.",ea=(e,t)=>e.replace(/\{(\d+)\}/g,(e,a)=>String(t[Number(a)])),ta=(e,t,n)=>(o,...r)=>{if(!o.startsWith(Jt))return ea(o,r)
const i=o.replace(Jt,""),s=e.value&&n.value[e.value],u=t.value&&n.value[t.value]
let c=v(s,i,null)
return c||(a(`Translation key "${o}" not found in "${e.value}", trying fallback locale`),c=v(u,i,null)),c||(l(`Translation key "${o}" not found in fallback`),c=o),"string"!=typeof c&&(l(`Translation key "${o}" has a non-string value`),c=o),ea(c,r)}
function aa(e,t){return(a,l)=>new Intl.NumberFormat([e.value,t.value],l).format(a)}function la(e,t){return aa(e,t)(.1).includes(",")?",":"."}function na(e,a,l){const n=Zt(e,a,e[a]??l.value)
return n.value=e[a]??l.value,t.watch(l,t=>{null==e[a]&&(n.value=l.value)}),n}function oa(e){return a=>{const l=na(a,"locale",e.current),n=na(a,"fallback",e.fallback),o=na(a,"messages",e.messages)
return{name:"vuetify",current:l,fallback:n,messages:o,decimalSeparator:t.toRef(()=>la(l,n)),t:ta(l,n,o),n:aa(l,n),provide:oa({current:l,fallback:n,messages:o})}}}const ra=Symbol.for("vuetify:locale")
function ia(e){const a=e?.adapter&&(l=e?.adapter,null!=l.name)?e?.adapter:function(e){const a=t.shallowRef(e?.locale??"en"),l=t.shallowRef(e?.fallback??"en"),n=t.ref({en:Qt,...e?.messages})
return{name:"vuetify",current:a,fallback:l,messages:n,decimalSeparator:t.toRef(()=>e?.decimalSeparator??la(a,l)),t:ta(a,l,n),n:aa(a,l),provide:oa({current:a,fallback:l,messages:n})}}(e)
var l
const n=function(e,a){const l=t.ref(a?.rtl??{af:!1,ar:!0,bg:!1,ca:!1,ckb:!1,cs:!1,de:!1,el:!1,en:!1,es:!1,et:!1,fa:!0,fi:!1,fr:!1,hr:!1,hu:!1,he:!0,id:!1,it:!1,ja:!1,km:!1,ko:!1,lv:!1,lt:!1,nl:!1,no:!1,pl:!1,pt:!1,ro:!1,ru:!1,sk:!1,sl:!1,srCyrl:!1,srLatn:!1,sv:!1,th:!1,tr:!1,az:!1,uk:!1,vi:!1,zhHans:!1,zhHant:!1}),n=t.computed(()=>l.value[e.current.value]??!1)
return{isRtl:n,rtl:l,rtlClasses:t.toRef(()=>"v-locale--is-"+(n.value?"rtl":"ltr"))}}(a,e)
return{...a,...n}}function sa(){const e=t.inject(ra)
if(!e)throw new Error("[Vuetify] Could not find injected locale instance")
return e}function ua(e){const a=t.inject(ra)
if(!a)throw new Error("[Vuetify] Could not find injected locale instance")
const l=a.provide(e),n=function(e,a,l){const n=t.computed(()=>l.rtl??a.value[e.current.value]??!1)
return{isRtl:n,rtl:a,rtlClasses:t.toRef(()=>"v-locale--is-"+(n.value?"rtl":"ltr"))}}(l,a.rtl,e),o={...l,...n}
return t.provide(ra,o),o}function ca(){const e=t.inject(ra)
if(!e)throw new Error("[Vuetify] Could not find injected rtl instance")
return{isRtl:e.isRtl,rtlClasses:e.rtlClasses}}const da=Symbol.for("vuetify:theme"),va=rt({theme:String},"theme")
function pa(e,t,a,l){e.push(`${function(e,t){if(!t)return e
const a=`:where(${t})`
return":root"===e?a:`${a} ${e}`}(t,l)} {\n`,...a.map(e=>` ${e};\n`),"}\n")}function ma(e,t){const a=e.dark?2:1,l=e.dark?1:2,n=[]
for(const[o,r]of Object.entries(e.colors)){const e=He(r)
n.push(`--${t}theme-${o}: ${e.r},${e.g},${e.b}`+(null==e.a?"":`,${e.a}`)),o.startsWith("on-")||n.push(`--${t}theme-${o}-overlay-multiplier: ${lt(r)>.18?a:l}`)}for(const[a,l]of Object.entries(e.variables)){const e="string"==typeof l&&l.startsWith("#")?He(l):void 0,o=e?`${e.r}, ${e.g}, ${e.b}`:void 0
n.push(`--${t}${a}: ${o??l}`)}return n}function fa(e,t,a){const l={}
if(a)for(const n of["lighten","darken"]){const o="lighten"===n?tt:at
for(const r of m(a[n],1))l[`${e}-${n}-${r}`]=Qe(o(He(t),r))}return l}function ga(e,t){if(!t)return{}
let a={}
for(const l of t.colors){const n=e[l]
n&&(a={...a,...fa(l,n,t)})}return a}function ha(e,t){const a={}
for(const l of Object.keys(e)){if(l.startsWith("on-")||e[`on-${l}`])continue
const n=`on-${l}`,o=He(e[l])
a[n]=ot(o)?t["theme-on-dark"]:t["theme-on-light"]}return a}function ya(e,t,a){const l=function(e,t){if(!o)return null
let a=document.getElementById(e)
a||(a=document.createElement("style"),a.id=e,a.type="text/css",t&&a.setAttribute("nonce",t),document.head.appendChild(a))
return a}(e,t)
l&&(l.innerHTML=a)}function ba(e){const l=function(e={defaultTheme:"system",prefix:"v-",variations:{colors:[],lighten:0,darken:0},themes:{light:{dark:!1,colors:{background:"#FFFFFF",surface:"#FFFFFF","surface-bright":"#FFFFFF","surface-light":"#EEEEEE","surface-variant":"#424242","on-surface-variant":"#EEEEEE",primary:"#1867C0","primary-darken-1":"#1F5592",secondary:"#48A9A6","secondary-darken-1":"#018786",error:"#B00020",info:"#2196F3",success:"#4CAF50",warning:"#FB8C00"},variables:{"border-color":"#000000","border-opacity":.12,"shadow-color":"#000000","high-emphasis-opacity":.87,"medium-emphasis-opacity":.6,"disabled-opacity":.38,"idle-opacity":.04,"hover-opacity":.04,"focus-opacity":.12,"selected-opacity":.08,"activated-opacity":.12,"pressed-opacity":.12,"dragged-opacity":.08,"theme-kbd":"#EEEEEE","theme-on-kbd":"#000000","theme-code":"#F5F5F5","theme-on-code":"#000000","theme-on-dark":"#FFF","theme-on-light":"#000","elevation-overlay-color":"black","elevation-overlay-opacity-step":"2%"}},dark:{dark:!0,colors:{background:"#121212",surface:"#212121","surface-bright":"#ccbfd6","surface-light":"#424242","surface-variant":"#c8c8c8","on-surface-variant":"#000000",primary:"#2196F3","primary-darken-1":"#277CC1",secondary:"#54B6B2","secondary-darken-1":"#48A9A6",error:"#CF6679",info:"#2196F3",success:"#4CAF50",warning:"#FB8C00"},variables:{"border-color":"#FFFFFF","border-opacity":.12,"shadow-color":"#000000","high-emphasis-opacity":1,"medium-emphasis-opacity":.7,"disabled-opacity":.5,"idle-opacity":.1,"hover-opacity":.04,"focus-opacity":.12,"selected-opacity":.08,"activated-opacity":.12,"pressed-opacity":.16,"dragged-opacity":.08,"theme-kbd":"#424242","theme-on-kbd":"#FFFFFF","theme-code":"#343434","theme-on-code":"#CCCCCC","theme-on-dark":"#FFF","theme-on-light":"#000","elevation-overlay-color":"white","elevation-overlay-opacity-step":"2%"}}},stylesheetId:"vuetify-theme-stylesheet",scoped:!1,utilities:!0}){const t={defaultTheme:"system",prefix:"v-",variations:{colors:[],lighten:0,darken:0},themes:{light:{dark:!1,colors:{background:"#FFFFFF",surface:"#FFFFFF","surface-bright":"#FFFFFF","surface-light":"#EEEEEE","surface-variant":"#424242","on-surface-variant":"#EEEEEE",primary:"#1867C0","primary-darken-1":"#1F5592",secondary:"#48A9A6","secondary-darken-1":"#018786",error:"#B00020",info:"#2196F3",success:"#4CAF50",warning:"#FB8C00"},variables:{"border-color":"#000000","border-opacity":.12,"shadow-color":"#000000","high-emphasis-opacity":.87,"medium-emphasis-opacity":.6,"disabled-opacity":.38,"idle-opacity":.04,"hover-opacity":.04,"focus-opacity":.12,"selected-opacity":.08,"activated-opacity":.12,"pressed-opacity":.12,"dragged-opacity":.08,"theme-kbd":"#EEEEEE","theme-on-kbd":"#000000","theme-code":"#F5F5F5","theme-on-code":"#000000","theme-on-dark":"#FFF","theme-on-light":"#000","elevation-overlay-color":"black","elevation-overlay-opacity-step":"2%"}},dark:{dark:!0,colors:{background:"#121212",surface:"#212121","surface-bright":"#ccbfd6","surface-light":"#424242","surface-variant":"#c8c8c8","on-surface-variant":"#000000",primary:"#2196F3","primary-darken-1":"#277CC1",secondary:"#54B6B2","secondary-darken-1":"#48A9A6",error:"#CF6679",info:"#2196F3",success:"#4CAF50",warning:"#FB8C00"},variables:{"border-color":"#FFFFFF","border-opacity":.12,"shadow-color":"#000000","high-emphasis-opacity":1,"medium-emphasis-opacity":.7,"disabled-opacity":.5,"idle-opacity":.1,"hover-opacity":.04,"focus-opacity":.12,"selected-opacity":.08,"activated-opacity":.12,"pressed-opacity":.16,"dragged-opacity":.08,"theme-kbd":"#424242","theme-on-kbd":"#FFFFFF","theme-code":"#343434","theme-on-code":"#CCCCCC","theme-on-dark":"#FFF","theme-on-light":"#000","elevation-overlay-color":"white","elevation-overlay-opacity-step":"2%"}}},stylesheetId:"vuetify-theme-stylesheet",scoped:!1,utilities:!0}
return e?$(t,e):{...t,isDisabled:!0}}(e),r=t.shallowRef(l.defaultTheme),i=t.ref(l.themes),s=t.shallowRef("light"),c=t.computed({get:()=>"system"===r.value?s.value:r.value,set(e){r.value=e}}),d=t.computed(()=>{const e={}
for(const[t,a]of Object.entries(i.value)){const n=$(a.dark||"dark"===t?i.value.dark:i.value.light,a),o={...n.colors,...ga(n.colors,l.variations)}
e[t]={...n,colors:{...o,...ha(o,n.variables)}}}return e}),v=t.toRef(()=>d.value[c.value]),p=t.toRef(()=>"system"===r.value),m=t.computed(()=>{const e=[],t=l.scoped?l.prefix:""
e.push("@layer theme-base {\n"),v.value?.dark&&pa(e,":root",["color-scheme: dark"],l.scope),pa(e,":root",ma(v.value,l.prefix),l.scope)
for(const[t,a]of Object.entries(d.value))pa(e,`.${l.prefix}theme--${t}`,["color-scheme: "+(a.dark?"dark":"normal"),...ma(a,l.prefix)],l.scope)
if(e.push("}\n"),l.utilities){const a=[],n=[],o=new Set(Object.values(d.value).flatMap(e=>Object.keys(e.colors)))
for(const e of o)e.startsWith("on-")?pa(n,`.${e}`,[`color: rgb(var(--${l.prefix}theme-${e}))`],l.scope):(pa(a,`.${t}bg-${e}`,[`--${l.prefix}theme-overlay-multiplier: var(--${l.prefix}theme-${e}-overlay-multiplier)`,`background-color: rgb(var(--${l.prefix}theme-${e}))`,`color: rgb(var(--${l.prefix}theme-on-${e}))`],l.scope),pa(n,`.${t}text-${e}`,[`color: rgb(var(--${l.prefix}theme-${e}))`],l.scope),pa(n,`.${t}border-${e}`,[`--${l.prefix}border-color: var(--${l.prefix}theme-${e})`],l.scope))
e.push("@layer theme-background {\n",...a.map(e=>` ${e}`),"}\n","@layer theme-foreground {\n",...n.map(e=>` ${e}`),"}\n")}return"@layer vuetify-utilities {\n"+e.map(e=>` ${e}`).join("")+"\n}"}),f=t.toRef(()=>l.isDisabled?void 0:`${l.prefix}theme--${c.value}`),g=t.toRef(()=>Object.keys(d.value))
if(u){const V=window.matchMedia("(prefers-color-scheme: dark)")
function w(){s.value=V.matches?"dark":"light"}w(),V.addEventListener("change",w,{passive:!0}),t.getCurrentScope()&&t.onScopeDispose(()=>{V.removeEventListener("change",w)})}function h(e){"system"===e||g.value.includes(e)?c.value=e:a(`Theme "${e}" not found on the Vuetify theme instance`)}function y(e=g.value){const t=e.indexOf(c.value)
h(e[-1===t?0:(t+1)%e.length])}const b=new Proxy(c,{get:(e,t)=>Reflect.get(e,t),set:(e,t,a)=>("value"===t&&n(`theme.global.name.value = ${a}`,`theme.change('${a}')`),Reflect.set(e,t,a))})
return{install:function(e){if(l.isDisabled)return
const a=e._context.provides.usehead
if(a){function n(){return{style:[{textContent:m.value,id:l.stylesheetId,nonce:l.cspNonce||!1,tagPosition:"bodyOpen"}]}}if(a.push){const r=a.push(n)
o&&t.watch(m,()=>{r.patch(n)})}else o?(a.addHeadObjs(t.toRef(n)),t.watchEffect(()=>a.updateDOM())):a.addHeadObjs(n())}else{function i(){ya(l.stylesheetId,l.cspNonce,m.value)}o?t.watch(m,i,{immediate:!0}):i()}},change:h,cycle:y,toggle:function(e=["light","dark"]){y(e)},isDisabled:l.isDisabled,isSystem:p,name:c,themes:i,current:v,computedThemes:d,prefix:l.prefix,themeClasses:f,styles:m,global:{name:b,current:v}}}function Va(e){st("provideTheme")
const a=t.inject(da,null)
if(!a)throw new Error("Could not find Vuetify theme injection")
const l=t.toRef(()=>e.theme??a.name.value),n=t.toRef(()=>a.themes.value[l.value]),o=t.toRef(()=>a.isDisabled?void 0:`${a.prefix}theme--${l.value}`),r={...a,name:l,current:n,themeClasses:o}
return t.provide(da,r),r}function wa(){st("useTheme")
const e=t.inject(da,null)
if(!e)throw new Error("Could not find Vuetify theme injection")
return e}const Sa=rt({...it(),...x(Ut(),["fullHeight"]),...va()},"VApp"),ka=ft()({name:"VApp",props:Sa(),setup(e,{slots:a}){const l=Va(e),{layoutClasses:n,getLayoutItem:o,items:r,layoutRef:i}=qt({...e,fullHeight:!0}),{rtlClasses:s}=ca()
return It(()=>t.createElementVNode("div",{ref:i,class:t.normalizeClass(["v-application",l.themeClasses.value,n.value,s.value,e.class]),style:t.normalizeStyle([e.style])},[t.createElementVNode("div",{class:"v-application__wrap"},[a.default?.()])])),{getLayoutItem:o,items:r,theme:l}}}),xa=rt({tag:{type:[String,Object,Function],default:"div"}},"tag"),Na=rt({text:String,...it(),...xa()},"VToolbarTitle"),Ca=ft()({name:"VToolbarTitle",props:Na(),setup:(e,{slots:a})=>(It(()=>{const l=!!(a.default||a.text||e.text)
return t.createVNode(e.tag,{class:t.normalizeClass(["v-toolbar-title",e.class]),style:t.normalizeStyle(e.style)},{default:()=>[l&&t.createElementVNode("div",{class:"v-toolbar-title__placeholder"},[a.text?a.text():e.text,a.default?.()])]})}),{})}),Ea=rt({disabled:Boolean,group:Boolean,hideOnLeave:Boolean,leaveAbsolute:Boolean,mode:String,origin:String},"transition")
function Ia(e,a,l){return ft()({name:e,props:Ea({mode:l,origin:a}),setup(a,{slots:l}){const n={onBeforeEnter(e){a.origin&&(e.style.transformOrigin=a.origin)},onLeave(e){if(a.leaveAbsolute){const{offsetTop:t,offsetLeft:a,offsetWidth:l,offsetHeight:n}=e
e._transitionInitialStyles={position:e.style.position,top:e.style.top,left:e.style.left,width:e.style.width,height:e.style.height},e.style.position="absolute",e.style.top=`${t}px`,e.style.left=`${a}px`,e.style.width=`${l}px`,e.style.height=`${n}px`}a.hideOnLeave&&e.style.setProperty("display","none","important")},onAfterLeave(e){if(a.leaveAbsolute&&e?._transitionInitialStyles){const{position:t,top:a,left:l,width:n,height:o}=e._transitionInitialStyles
delete e._transitionInitialStyles,e.style.position=t||"",e.style.top=a||"",e.style.left=l||"",e.style.width=n||"",e.style.height=o||""}}}
return()=>{const o=a.group?t.TransitionGroup:t.Transition
return t.h(o,{name:a.disabled?"":e,css:!a.disabled,...a.group?void 0:{mode:a.mode},...a.disabled?{}:n},l.default)}}})}function _a(e,a,l="in-out"){return ft()({name:e,props:{mode:{type:String,default:l},disabled:{type:Boolean,default:c()},group:Boolean,hideOnLeave:Boolean},setup(l,{slots:n}){const o=l.group?t.TransitionGroup:t.Transition
return()=>t.h(o,{name:l.disabled?"":e,css:!l.disabled,...l.disabled?{}:{...a,onLeave:e=>{l.hideOnLeave?e.style.setProperty("display","none","important"):a.onLeave?.(e)}}},n.default)}})}function Pa(e="",t="y"){return{onBeforeEnter(e){e._parent=e.parentNode,e._initialStyle={transition:e.style.transition,overflow:e.style.overflow,width:e.style.width,height:e.style.height}},onEnter(a){const l=a._initialStyle
if(!l)return
a.style.setProperty("transition","none","important"),a.style.overflow="hidden"
const n=`${a.offsetWidth}px`,o=`${a.offsetHeight}px`;["x","both"].includes(t)&&(a.style.width="0"),["y","both"].includes(t)&&(a.style.height="0"),a.offsetHeight,a.style.transition=l.transition,e&&a._parent&&a._parent.classList.add(e),requestAnimationFrame(()=>{["x","both"].includes(t)&&(a.style.width=n),["y","both"].includes(t)&&(a.style.height=o)})},onAfterEnter:l,onEnterCancelled:l,onLeave(e){e._initialStyle={transition:"",overflow:e.style.overflow,width:e.style.width,height:e.style.height},e.style.overflow="hidden",["x","both"].includes(t)&&(e.style.width=`${e.offsetWidth}px`),["y","both"].includes(t)&&(e.style.height=`${e.offsetHeight}px`),e.offsetHeight,requestAnimationFrame(()=>{["x","both"].includes(t)&&(e.style.width="0"),["y","both"].includes(t)&&(e.style.height="0")})},onAfterLeave:a,onLeaveCancelled:a}
function a(t){e&&t._parent&&t._parent.classList.remove(e),l(t)}function l(e){if(!e._initialStyle)return
const{width:a,height:l}=e._initialStyle
e.style.overflow=e._initialStyle.overflow,null!=a&&["x","both"].includes(t)&&(e.style.width=a),null!=l&&["y","both"].includes(t)&&(e.style.height=l),delete e._initialStyle}}const Ra=rt({target:[Object,Array]},"v-dialog-transition"),Aa=new WeakMap,Ta=ft()({name:"VDialogTransition",props:Ra(),setup(e,{slots:a}){const l={onBeforeEnter(e){e.style.pointerEvents="none",e.style.visibility="hidden"},async onEnter(t,a){await new Promise(e=>requestAnimationFrame(e)),