diff --git a/CHANGELOG.md b/CHANGELOG.md index 1635500..57e033a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,11 @@ TBD [main] (@webdevnerdstuff) * Official release depends on when the Vue team decides if they are going to keep experimental `defineModel` feature. [Blog](https://blog.vuejs.org/posts/vue-3-3#definemodel) +## v1.0.0-beta-1.12 +10-30-2023 +[main] (@webdevnerdstuff) +* Fix VTextField missing some props + ## v1.0.0-beta-1.11 10-30-2023 [main] (@webdevnerdstuff) diff --git a/dist/vuetify-inline-fields.cjs.js b/dist/vuetify-inline-fields.cjs.js index 3e92902..0a912c5 100644 --- a/dist/vuetify-inline-fields.cjs.js +++ b/dist/vuetify-inline-fields.cjs.js @@ -1,6 +1,6 @@ "use strict";var Zl=Object.create;var Yt=Object.defineProperty;var Ql=Object.getOwnPropertyDescriptor;var ea=Object.getOwnPropertyNames;var na=Object.getPrototypeOf,ta=Object.prototype.hasOwnProperty;var oa=(n,o,t,l)=>{if(o&&typeof o=="object"||typeof o=="function")for(let r of ea(o))!ta.call(n,r)&&r!==t&&Yt(n,r,{get:()=>o[r],enumerable:!(l=Ql(o,r))||l.enumerable});return n};var Ee=(n,o,t)=>(t=n!=null?Zl(na(n)):{},oa(o||!n||!n.__esModule?Yt(t,"default",{value:n,enumerable:!0}):t,n));/** * @name @wdns/vuetify-inline-fields - * @version 1.0.0-beta-1.11 + * @version 1.0.0-beta-1.12 * @description Vuetify Inline Fields Component Library offers a comprehensive collection of reusable UI components to create elegant and efficient inline form fields within your applications. * @author WebDevNerdStuff & Bunnies... lots and lots of bunnies! (https://webdevnerdstuff.com) * @copyright Copyright 2023, WebDevNerdStuff @@ -8,5 +8,5 @@ * @repository https://github.com/webdevnerdstuff/vuetify-inline-fields * @license MIT License */Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),Ft=require("vuetify"),la=require("@vueuse/core"),Te=Symbol("identifier"),Re={elevation:5,variant:"flat"},yn={cancelButtonColor:"default",cancelButtonSize:"x-small",cancelButtonTitle:"Cancel",cancelButtonVariant:"text",cancelIcon:void 0,cancelIconColor:"default",cardField:!1,cardOffsetX:0,cardOffsetY:0,cardProps:()=>({}),closeSiblings:!1,color:"primary",density:"compact",disabled:!1,displayAppendIcon:void 0,displayAppendIconColor:void 0,displayAppendIconSize:"x-small",displayAppendInnerIcon:void 0,displayAppendInnerIconColor:void 0,displayAppendInnerIconSize:"x-small",displayPrependIcon:void 0,displayPrependIconColor:void 0,displayPrependIconSize:"x-small",displayPrependInnerIcon:void 0,displayPrependInnerIconColor:void 0,displayPrependInnerIconSize:"x-small",emptyText:"empty",fieldOnly:!1,hideDetails:!0,label:"",loading:!1,loadingWait:!0,name:"",tableField:!0,underlineColor:"primary",underlineStyle:"dotted",underlineWidth:"2px",underlined:!0,valueColor:"default"},Nt={autofocus:!0},Jn={hideSaveIcon:!1,loadingIcon:void 0,loadingIconColor:"primary",saveButtonColor:"primary",saveButtonSize:"x-small",saveButtonTitle:"Save",saveButtonVariant:"text",saveIcon:void 0,saveIconColor:"primary"},Do={falseValue:!1,iconFalse:void 0,iconFalseColor:"danger",iconFalseTitle:"No",iconTrue:void 0,iconTrueColor:"success",iconTrueTitle:"Yes",icons:!0,trueValue:!0},aa={...yn,...Do,...Jn,falseIcon:void 0,icons:!0,trueIcon:void 0},ra={...yn,...Nt,...Jn,clearIcon:void 0,clearable:!1,hideSelected:!0,itemTitle:"title",itemValue:"value",items:()=>[],menu:!0,variant:"underlined"},ia={...yn,...Do,icons:!0,falseIcon:""},sa={...Nt,...Jn,...yn,autoGrow:!0,rows:1,truncateLength:void 0,truncateSuffix:"...",variant:"underlined"},Lo={...yn,...Nt,...Jn,truncateLength:void 0,truncateSuffix:"...",variant:"underlined"},ua={fa:{checkboxFalse:"$checkboxOff",checkboxTrue:"far fa-square-check",clear:"$clear",false:"$close",loading:"fa-circle-notch",save:"fa-floppy-disk",true:"$complete"},mdi:{checkboxFalse:"$checkboxOff",checkboxTrue:"mdi:mdi-checkbox-outline",clear:"$clear",false:"$close",loading:"mdi-loading",save:"mdi-content-save",true:"$complete"}},de=n=>{const{icon:o,iconOptions:t,name:l}=n;if(o)return o;const r=ua[t==null?void 0:t.defaultSet];if(!r)throw new Error(`VInlineFields: No VInlineFields default ${t==null?void 0:t.defaultSet} icon set found for ${l}. Please set the icon prop.`);const i=r[l];if(!i)throw new Error(`VInlineFields: No ${l} icon found. Please set the icon prop, or set the default icon set to 'mdi' or 'fa'`);return i};function j(n,o){return t=>Object.keys(n).reduce((l,r)=>{const i=typeof n[r]=="object"&&n[r]!=null&&!Array.isArray(n[r])?n[r]:{type:n[r]};return l[r]=t&&r in t?{...i,default:t[r]}:i,o&&!l[r].source&&(l[r].source=o),l},{})}const J=j({class:[String,Array],style:{type:[String,Array,Object],default:null}},"component"),ce=typeof window<"u",At=ce&&"IntersectionObserver"in window;function Kt(n,o,t){const l=o.length-1;if(l<0)return n===void 0?t:n;for(let r=0;rgn(n[l],o[l]))}function ge(n,o,t){if(o===!0)return n===void 0?t:n;if(o==null||typeof o=="boolean")return t;if(n!==Object(n)){if(typeof o!="function")return t;const r=o(n,t);return r===void 0?t:r}if(typeof o=="string")return function(r,i,c){return r!=null&&i&&typeof i=="string"?r[i]!==void 0?r[i]:Kt(r,(i=(i=i.replace(/\[(\w+)\]/g,".$1")).replace(/^\./,"")).split("."),c):c}(n,o,t);if(Array.isArray(o))return Kt(n,o,t);if(typeof o!="function")return t;const l=o(n,t);return l===void 0?t:l}function Y(n){let o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"px";return n==null||n===""?void 0:isNaN(+n)?String(n):isFinite(+n)?`${Number(n)}${o}`:void 0}function dt(n){return n!==null&&typeof n=="object"&&!Array.isArray(n)}function pt(n){return n&&"$el"in n?n.$el:n}const Xt=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 tt(n,o){return o.every(t=>n.hasOwnProperty(t))}function Ue(n,o,t){const l=Object.create(null),r=Object.create(null);for(const i in n)o.some(c=>c instanceof RegExp?c.test(i):c===i)&&!(t!=null&&t.some(c=>c===i))?l[i]=n[i]:r[i]=n[i];return[l,r]}function hn(n,o){const t={...n};return o.forEach(l=>delete t[l]),t}const Mo=/^on[^a-z]/,vt=n=>Mo.test(n),ca=["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"];function bn(n){const[o,t]=Ue(n,[Mo]),l=hn(o,ca),[r,i]=Ue(t,["class","style","id",/^data-/]);return Object.assign(r,o),Object.assign(i,l),[r,i]}function Be(n){return n==null?[]:Array.isArray(n)?n:[n]}function un(n){let o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1;return Math.max(o,Math.min(t,n))}function Jt(n,o){return n+(arguments.length>2&&arguments[2]!==void 0?arguments[2]:"0").repeat(Math.max(0,o-n.length))}function ze(){let n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},t=arguments.length>2?arguments[2]:void 0;const l={};for(const r in n)l[r]=n[r];for(const r in o){const i=n[r],c=o[r];dt(i)&&dt(c)?l[r]=ze(i,c,t):Array.isArray(i)&&Array.isArray(c)&&t?l[r]=t(i,c):l[r]=c}return l}function Wo(n){return n.map(o=>o.type===e.Fragment?Wo(o.children):o).flat()}function xe(){let n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";if(xe.cache.has(n))return xe.cache.get(n);const o=n.replace(/[^a-z]/gi,"-").replace(/\B([A-Z])/g,"-$1").toLowerCase();return xe.cache.set(n,o),o}function On(n,o){if(!o||typeof o!="object")return[];if(Array.isArray(o))return o.map(t=>On(n,t)).flat(1);if(Array.isArray(o.children))return o.children.map(t=>On(n,t)).flat(1);if(o.component){if(Object.getOwnPropertySymbols(o.component.provides).includes(n))return[o.component];if(o.component.subTree)return On(n,o.component.subTree).flat(1)}return[]}function Pt(n){const o=e.reactive({}),t=e.computed(n);return e.watchEffect(()=>{for(const l in t.value)o[l]=t.value[l]},{flush:"sync"}),e.toRefs(o)}function Tn(n,o){return n.includes(o)}function Zt(n){return n[2].toLowerCase()+n.slice(3)}xe.cache=new Map;const me=()=>[Function,Array];function Qt(n,o){return!!(n[o="on"+e.capitalize(o)]||n[`${o}Once`]||n[`${o}Capture`]||n[`${o}OnceCapture`]||n[`${o}CaptureOnce`])}function jo(n){for(var o=arguments.length,t=new Array(o>1?o-1:0),l=1;l1&&arguments[1]!==void 0)||arguments[1];const t=["button","[href]",'input:not([type="hidden"])',"select","textarea","[tabindex]"].map(l=>`${l}${o?':not([tabindex="-1"])':""}:not([disabled])`).join(", ");return[...n.querySelectorAll(t)]}function Go(n,o,t){let l,r=n.indexOf(document.activeElement);const i=o==="next"?1:-1;do r+=i,l=n[r];while((!l||l.offsetParent==null||!((t==null?void 0:t(l))??1))&&r=0);return l}function Rn(n,o){var l,r,i,c;const t=ft(n);if(o)if(o==="first")(l=t[0])==null||l.focus();else if(o==="last")(r=t.at(-1))==null||r.focus();else if(typeof o=="number")(i=t[o])==null||i.focus();else{const s=Go(t,o);s?s.focus():Rn(n,o==="next"?"first":"last")}else n!==document.activeElement&&n.contains(document.activeElement)||((c=t[0])==null||c.focus())}function Dn(n,o){if(!(ce&&typeof CSS<"u"&&CSS.supports!==void 0&&CSS.supports(`selector(${o})`)))return null;try{return!!n&&n.matches(o)}catch{return null}}function qo(n){return n.some(o=>!e.isVNode(o)||o.type!==e.Comment&&(o.type!==e.Fragment||qo(o.children)))?n:null}const Ho=["top","bottom"],da=["start","end","left","right"];function mt(n,o){let[t,l]=n.split(" ");return l||(l=Tn(Ho,t)?"start":Tn(da,t)?"top":"center"),{side:eo(t,o),align:eo(l,o)}}function eo(n,o){return n==="start"?o?"right":"left":n==="end"?o?"left":"right":n}function ot(n){return{side:{center:"center",top:"bottom",bottom:"top",left:"right",right:"left"}[n.side],align:n.align}}function lt(n){return{side:n.side,align:{center:"center",top:"bottom",bottom:"top",left:"right",right:"left"}[n.align]}}function no(n){return{side:n.align,align:n.side}}function to(n){return Tn(Ho,n.side)?"y":"x"}class De{constructor(o){let{x:t,y:l,width:r,height:i}=o;this.x=t,this.y=l,this.width=r,this.height=i}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 oo(n,o){return{x:{before:Math.max(0,o.left-n.left),after:Math.max(0,n.right-o.right)},y:{before:Math.max(0,o.top-n.top),after:Math.max(0,n.bottom-o.bottom)}}}function _t(n){const o=n.getBoundingClientRect(),t=getComputedStyle(n),l=t.transform;if(l){let r,i,c,s,a;if(l.startsWith("matrix3d("))r=l.slice(9,-1).split(/, /),i=+r[0],c=+r[5],s=+r[12],a=+r[13];else{if(!l.startsWith("matrix("))return new De(o);r=l.slice(7,-1).split(/, /),i=+r[0],c=+r[3],s=+r[4],a=+r[5]}const u=t.transformOrigin,f=o.x-s-(1-i)*parseFloat(u),v=o.y-a-(1-c)*parseFloat(u.slice(u.indexOf(" ")+1)),p=i?o.width/i:n.offsetWidth+1,d=c?o.height/c:n.offsetHeight+1;return new De({x:f,y:v,width:p,height:d})}return new De(o)}function $e(n,o,t){if(n.animate===void 0)return{finished:Promise.resolve()};let l;try{l=n.animate(o,t)}catch{return{finished:Promise.resolve()}}return l.finished===void 0&&(l.finished=new Promise(r=>{l.onfinish=()=>{r(l)}})),l}const An=new WeakMap,Oe=2.4,lo=.2126729,ao=.7151522,ro=.072175,pa=.55,va=.58,fa=.57,ma=.62,Pn=.03,io=1.45,ya=5e-4,ga=1.25,ha=1.25,so=.078,uo=12.82051282051282,_n=.06,co=.001;function po(n,o){const t=(n.r/255)**Oe,l=(n.g/255)**Oe,r=(n.b/255)**Oe,i=(o.r/255)**Oe,c=(o.g/255)**Oe,s=(o.b/255)**Oe;let a,u=t*lo+l*ao+r*ro,f=i*lo+c*ao+s*ro;if(u<=Pn&&(u+=(Pn-u)**io),f<=Pn&&(f+=(Pn-f)**io),Math.abs(f-u)u){const v=(f**pa-u**va)*ga;a=v-co?0:v>-so?v-v*uo*_n:v+_n}return 100*a}function rn(n){e.warn(`Vuetify: ${n}`)}function at(n){return!!n&&/^(#|var\(--|(rgb|hsl)a?\()/.test(n)}const vo=/^(?(?:rgb|hsl)a?)\((?.+)\)/,ba={rgb:(n,o,t,l)=>({r:n,g:o,b:t,a:l}),rgba:(n,o,t,l)=>({r:n,g:o,b:t,a:l}),hsl:(n,o,t,l)=>fo({h:n,s:o,l:t,a:l}),hsla:(n,o,t,l)=>fo({h:n,s:o,l:t,a:l}),hsv:(n,o,t,l)=>cn({h:n,s:o,v:t,a:l}),hsva:(n,o,t,l)=>cn({h:n,s:o,v:t,a:l})};function on(n){if(typeof n=="number")return(isNaN(n)||n<0||n>16777215)&&rn(`'${n}' is not a valid hex color`),{r:(16711680&n)>>16,g:(65280&n)>>8,b:255&n};if(typeof n=="string"&&vo.test(n)){const{groups:o}=n.match(vo),{fn:t,values:l}=o,r=l.split(/,\s*/).map(i=>i.endsWith("%")&&["hsl","hsla","hsv","hsva"].includes(t)?parseFloat(i)/100:parseFloat(i));return ba[t](...r)}if(typeof n=="string"){let o=n.startsWith("#")?n.slice(1):n;[3,4].includes(o.length)?o=o.split("").map(l=>l+l).join(""):[6,8].includes(o.length)||rn(`'${n}' is not a valid hex(a) color`);const t=parseInt(o,16);return(isNaN(t)||t<0||t>4294967295)&&rn(`'${n}' is not a valid hex(a) color`),function(l){l=function(a){return a.startsWith("#")&&(a=a.slice(1)),a=a.replace(/([^0-9a-f])/gi,"F"),(a.length===3||a.length===4)&&(a=a.split("").map(u=>u+u).join("")),a.length!==6&&(a=Jt(Jt(a,6),8,"F")),a}(l);let[r,i,c,s]=function(a){let u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;const f=[];let v=0;for(;vparseInt(a,16));return s=s===void 0?s:s/255,{r,g:i,b:c,a:s}}(o)}if(typeof n=="object"){if(tt(n,["r","g","b"]))return n;if(tt(n,["h","s","l"]))return cn(Uo(n));if(tt(n,["h","s","v"]))return cn(n)}throw new TypeError(`Invalid color: ${n==null?n:String(n)||n.constructor.name} -Expected #hex, #hexa, rgb(), rgba(), hsl(), hsla(), object or number`)}function cn(n){const{h:o,s:t,v:l,a:r}=n,i=s=>{const a=(s+o/60)%6;return l-l*t*Math.max(Math.min(a,4-a,1),0)},c=[i(5),i(3),i(1)].map(s=>Math.round(255*s));return{r:c[0],g:c[1],b:c[2],a:r}}function fo(n){return cn(Uo(n))}function Uo(n){const{h:o,s:t,l,a:r}=n,i=l+t*Math.min(l,1-l);return{h:o,s:i===0?0:2-2*l/i,v:i,a:r}}const Ln=Symbol.for("vuetify:defaults");function Et(){const n=e.inject(Ln);if(!n)throw new Error("[Vuetify] Could not find defaults instance");return n}function Xe(n,o){const t=Et(),l=e.ref(n),r=e.computed(()=>{if(e.unref(o==null?void 0:o.disabled))return t.value;const i=e.unref(o==null?void 0:o.scoped),c=e.unref(o==null?void 0:o.reset),s=e.unref(o==null?void 0:o.root);if(l.value==null&&!(i||c||s))return t.value;let a=ze(l.value,{prev:t.value});if(i)return a;if(c||s){const u=Number(c||1/0);for(let f=0;f<=u&&a&&"prev"in a;f++)a=a.prev;return a&&typeof s=="string"&&s in a&&(a=ze(ze(a,{prev:a}),a[s])),a}return a.prev?ze(a.prev,a):a});return e.provide(Ln,r),r}function Ca(){let n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},o=arguments.length>1?arguments[1]:void 0,t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Et();const l=le("useDefaults");if(o=o??l.type.name??l.type.__name,!o)throw new Error("[Vuetify] Could not determine component name");const r=e.computed(()=>{var s;return(s=t.value)==null?void 0:s[n._as??o]}),i=new Proxy(n,{get(s,a){var f,v,p,d;const u=Reflect.get(s,a);return a==="class"||a==="style"?[(f=r.value)==null?void 0:f[a],u].filter(m=>m!=null):typeof a!="string"||function(m,g){var y,h;return((y=m.props)==null?void 0:y[g])!==void 0||((h=m.props)==null?void 0:h[xe(g)])!==void 0}(l.vnode,a)?u:((v=r.value)==null?void 0:v[a])??((d=(p=t.value)==null?void 0:p.global)==null?void 0:d[a])??u}}),c=e.shallowRef();return e.watchEffect(()=>{if(r.value){const s=Object.entries(r.value).filter(a=>{let[u]=a;return u.startsWith(u[0].toUpperCase())});c.value=s.length?Object.fromEntries(s):void 0}else c.value=void 0}),{props:i,provideSubDefaults:function(){const s=function(a){let u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:le("injectSelf");const{provides:f}=u;if(f&&a in f)return f[a]}(Ln,l);e.provide(Ln,e.computed(()=>c.value?ze((s==null?void 0:s.value)??{},c.value):s==null?void 0:s.value))}}}function dn(n){if(n._setup=n._setup??n.setup,!n.name)return rn("The component is missing an explicit name, unable to generate default prop value"),n;if(n._setup){n.props=j(n.props??{},n.name)();const o=Object.keys(n.props);n.filterProps=function(t){return Ue(t,o,["class","style"])},n.props._as=String,n.setup=function(t,l){const r=Et();if(!r.value)return n._setup(t,l);const{props:i,provideSubDefaults:c}=Ca(t,t._as??n.name,r),s=n._setup(i,l);return c(),s}}return n}function U(){let n=!(arguments.length>0&&arguments[0]!==void 0)||arguments[0];return o=>(n?dn:e.defineComponent)(o)}function Cn(n){let o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"div",t=arguments.length>2?arguments[2]:void 0;return U()({name:t??e.capitalize(e.camelize(n.replace(/__/g,"-"))),props:{tag:{type:String,default:o},...J()},setup(l,r){let{slots:i}=r;return()=>{var c;return e.h(l.tag,{class:[n,l.class],style:l.style},(c=i.default)==null?void 0:c.call(i))}}})}function Yo(n){if(typeof n.getRootNode!="function"){for(;n.parentNode;)n=n.parentNode;return n!==document?null:document}const o=n.getRootNode();return o!==document&&o.getRootNode({composed:!0})!==document?null:o}const Mn="cubic-bezier(0.4, 0, 0.2, 1)";function le(n,o){const t=e.getCurrentInstance();if(!t)throw new Error(`[Vuetify] ${n} ${o||"must be called from inside a setup function"}`);return t}function be(){const n=le(arguments.length>0&&arguments[0]!==void 0?arguments[0]:"composables").type;return xe((n==null?void 0:n.aliasName)||(n==null?void 0:n.name))}let Ko=0,zn=new WeakMap;function pe(){const n=le("getUid");if(zn.has(n))return zn.get(n);{const o=Ko++;return zn.set(n,o),o}}function Xo(n){let o=arguments.length>1&&arguments[1]!==void 0&&arguments[1];for(;n;){if(o?Sa(n):Ot(n))return n;n=n.parentElement}return document.scrollingElement}function Wn(n,o){const t=[];if(o&&n&&!o.contains(n))return t;for(;n&&(Ot(n)&&t.push(n),n!==o);)n=n.parentElement;return t}function Ot(n){if(!n||n.nodeType!==Node.ELEMENT_NODE)return!1;const o=window.getComputedStyle(n);return o.overflowY==="scroll"||o.overflowY==="auto"&&n.scrollHeight>n.clientHeight}function Sa(n){if(!n||n.nodeType!==Node.ELEMENT_NODE)return!1;const o=window.getComputedStyle(n);return["scroll","auto"].includes(o.overflowY)}function K(n){le("useRender").render=n}function zt(n){let o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"content";const t=e.ref(),l=e.ref();if(ce){const r=new ResizeObserver(i=>{n==null||n(i,r),i.length&&(l.value=o==="content"?i[0].contentRect:i[0].target.getBoundingClientRect())});e.onBeforeUnmount(()=>{r.disconnect()}),e.watch(t,(i,c)=>{c&&(r.unobserve(pt(c)),l.value=void 0),i&&r.observe(pt(i))},{flush:"post"})}return{resizeRef:t,contentRect:e.readonly(l)}}function Fe(n,o){let t;function l(){t=e.effectScope(),t.run(()=>o.length?o(()=>{t==null||t.stop(),l()}):o())}e.watch(n,r=>{r&&!t?l():r||(t==null||t.stop(),t=void 0)},{immediate:!0}),e.onScopeDispose(()=>{t==null||t.stop()})}function ne(n,o,t){let l=arguments.length>3&&arguments[3]!==void 0?arguments[3]:f=>f,r=arguments.length>4&&arguments[4]!==void 0?arguments[4]:f=>f;const i=le("useProxiedModel"),c=e.ref(n[o]!==void 0?n[o]:t),s=xe(o),a=s!==o?e.computed(()=>{var f,v,p,d;return n[o],!(!((f=i.vnode.props)!=null&&f.hasOwnProperty(o))&&!((v=i.vnode.props)!=null&&v.hasOwnProperty(s))||!((p=i.vnode.props)!=null&&p.hasOwnProperty(`onUpdate:${o}`))&&!((d=i.vnode.props)!=null&&d.hasOwnProperty(`onUpdate:${s}`)))}):e.computed(()=>{var f,v;return n[o],!(!((f=i.vnode.props)!=null&&f.hasOwnProperty(o))||!((v=i.vnode.props)!=null&&v.hasOwnProperty(`onUpdate:${o}`)))});Fe(()=>!a.value,()=>{e.watch(()=>n[o],f=>{c.value=f})});const u=e.computed({get(){const f=n[o];return l(a.value?f:c.value)},set(f){const v=r(f),p=e.toRaw(a.value?n[o]:c.value);p!==v&&l(p)!==f&&(c.value=v,i==null||i.emit(`update:${o}`,v))}});return Object.defineProperty(u,"externalValue",{get:()=>a.value?n[o]:c.value}),u}pe.reset=()=>{Ko=0,zn=new WeakMap};const Jo=Symbol.for("vuetify:locale");function $t(){const n=e.inject(Jo);if(!n)throw new Error("[Vuetify] Could not find injected locale instance");return n}function Sn(){const n=e.inject(Jo);if(!n)throw new Error("[Vuetify] Could not find injected rtl instance");return{isRtl:n.isRtl,rtlClasses:n.rtlClasses}}const mo=Symbol.for("vuetify:theme"),te=j({theme:String},"theme");function ae(n){le("provideTheme");const o=e.inject(mo,null);if(!o)throw new Error("Could not find Vuetify theme injection");const t=e.computed(()=>n.theme??o.name.value),l=e.computed(()=>o.themes.value[t.value]),r=e.computed(()=>o.isDisabled?void 0:`v-theme--${t.value}`),i={...o,name:t,current:l,themeClasses:r};return e.provide(mo,i),i}const ue=j({tag:{type:String,default:"div"}},"tag"),Va=j({disabled:Boolean,group:Boolean,hideOnLeave:Boolean,leaveAbsolute:Boolean,mode:String,origin:String},"transition");function ie(n,o,t){return U()({name:n,props:Va({mode:t,origin:o}),setup(l,r){let{slots:i}=r;const c={onBeforeEnter(s){l.origin&&(s.style.transformOrigin=l.origin)},onLeave(s){if(l.leaveAbsolute){const{offsetTop:a,offsetLeft:u,offsetWidth:f,offsetHeight:v}=s;s._transitionInitialStyles={position:s.style.position,top:s.style.top,left:s.style.left,width:s.style.width,height:s.style.height},s.style.position="absolute",s.style.top=`${a}px`,s.style.left=`${u}px`,s.style.width=`${f}px`,s.style.height=`${v}px`}l.hideOnLeave&&s.style.setProperty("display","none","important")},onAfterLeave(s){if(l.leaveAbsolute&&(s!=null&&s._transitionInitialStyles)){const{position:a,top:u,left:f,width:v,height:p}=s._transitionInitialStyles;delete s._transitionInitialStyles,s.style.position=a||"",s.style.top=u||"",s.style.left=f||"",s.style.width=v||"",s.style.height=p||""}}};return()=>{const s=l.group?e.TransitionGroup:e.Transition;return e.h(s,{name:l.disabled?"":n,css:!l.disabled,...l.group?void 0:{mode:l.mode},...l.disabled?{}:c},i.default)}}})}function Zo(n,o){let t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"in-out";return U()({name:n,props:{mode:{type:String,default:t},disabled:Boolean},setup(l,r){let{slots:i}=r;return()=>e.h(e.Transition,{name:l.disabled?"":n,css:!l.disabled,...l.disabled?{}:o},i.default)}})}function Qo(){let n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";const o=arguments.length>1&&arguments[1]!==void 0&&arguments[1]?"width":"height",t=e.camelize(`offset-${o}`);return{onBeforeEnter(i){i._parent=i.parentNode,i._initialStyle={transition:i.style.transition,overflow:i.style.overflow,[o]:i.style[o]}},onEnter(i){const c=i._initialStyle;i.style.setProperty("transition","none","important"),i.style.overflow="hidden";const s=`${i[t]}px`;i.style[o]="0",i.offsetHeight,i.style.transition=c.transition,n&&i._parent&&i._parent.classList.add(n),requestAnimationFrame(()=>{i.style[o]=s})},onAfterEnter:r,onEnterCancelled:r,onLeave(i){i._initialStyle={transition:"",overflow:i.style.overflow,[o]:i.style[o]},i.style.overflow="hidden",i.style[o]=`${i[t]}px`,i.offsetHeight,requestAnimationFrame(()=>i.style[o]="0")},onAfterLeave:l,onLeaveCancelled:l};function l(i){n&&i._parent&&i._parent.classList.remove(n),r(i)}function r(i){const c=i._initialStyle[o];i.style.overflow=i._initialStyle.overflow,c!=null&&(i.style[o]=c),delete i._initialStyle}}const Ia=j({target:Object},"v-dialog-transition"),el=U()({name:"VDialogTransition",props:Ia(),setup(n,o){let{slots:t}=o;const l={onBeforeEnter(r){r.style.pointerEvents="none",r.style.visibility="hidden"},async onEnter(r,i){var p;await new Promise(d=>requestAnimationFrame(d)),await new Promise(d=>requestAnimationFrame(d)),r.style.visibility="";const{x:c,y:s,sx:a,sy:u,speed:f}=go(n.target,r),v=$e(r,[{transform:`translate(${c}px, ${s}px) scale(${a}, ${u})`,opacity:0},{}],{duration:225*f,easing:"cubic-bezier(0.0, 0, 0.2, 1)"});(p=yo(r))==null||p.forEach(d=>{$e(d,[{opacity:0},{opacity:0,offset:.33},{}],{duration:450*f,easing:Mn})}),v.finished.then(()=>i())},onAfterEnter(r){r.style.removeProperty("pointer-events")},onBeforeLeave(r){r.style.pointerEvents="none"},async onLeave(r,i){var v;await new Promise(p=>requestAnimationFrame(p));const{x:c,y:s,sx:a,sy:u,speed:f}=go(n.target,r);$e(r,[{},{transform:`translate(${c}px, ${s}px) scale(${a}, ${u})`,opacity:0}],{duration:125*f,easing:"cubic-bezier(0.4, 0, 1, 1)"}).finished.then(()=>i()),(v=yo(r))==null||v.forEach(p=>{$e(p,[{},{opacity:0,offset:.2},{opacity:0}],{duration:250*f,easing:Mn})})},onAfterLeave(r){r.style.removeProperty("pointer-events")}};return()=>n.target?e.createVNode(e.Transition,e.mergeProps({name:"dialog-transition"},l,{css:!1}),t):e.createVNode(e.Transition,{name:"dialog-transition"},t)}});function yo(n){var t;const o=(t=n.querySelector(":scope > .v-card, :scope > .v-sheet, :scope > .v-list"))==null?void 0:t.children;return o&&[...o]}function go(n,o){const t=n.getBoundingClientRect(),l=_t(o),[r,i]=getComputedStyle(o).transformOrigin.split(" ").map(h=>parseFloat(h)),[c,s]=getComputedStyle(o).getPropertyValue("--v-overlay-anchor-origin").split(" ");let a=t.left+t.width/2;c==="left"||s==="left"?a-=t.width/2:c!=="right"&&s!=="right"||(a+=t.width/2);let u=t.top+t.height/2;c==="top"||s==="top"?u-=t.height/2:c!=="bottom"&&s!=="bottom"||(u+=t.height/2);const f=t.width/l.width,v=t.height/l.height,p=Math.max(1,f,v),d=f/p||0,m=v/p||0,g=l.width*l.height/(window.innerWidth*window.innerHeight),y=g>.12?Math.min(1.5,10*(g-.12)+1):1;return{x:a-(r+l.left),y:u-(i+l.top),sx:d,sy:m,speed:y}}ie("fab-transition","center center","out-in"),ie("dialog-bottom-transition"),ie("dialog-top-transition"),ie("fade-transition");const Ba=ie("scale-transition");ie("scroll-x-transition"),ie("scroll-x-reverse-transition"),ie("scroll-y-transition"),ie("scroll-y-reverse-transition"),ie("slide-x-transition"),ie("slide-x-reverse-transition");const nl=ie("slide-y-transition");ie("slide-y-reverse-transition");const wa=Zo("expand-transition",Qo()),tl=Zo("expand-x-transition",Qo("",!0)),ka=j({defaults:Object,disabled:Boolean,reset:[Number,String],root:[Boolean,String],scoped:Boolean},"VDefaultsProvider"),oe=U(!1)({name:"VDefaultsProvider",props:ka(),setup(n,o){let{slots:t}=o;const{defaults:l,disabled:r,reset:i,root:c,scoped:s}=e.toRefs(n);return Xe(l,{reset:i,root:c,scoped:s,disabled:r}),()=>{var a;return(a=t.default)==null?void 0:a.call(t)}}}),Pe=j({height:[Number,String],maxHeight:[Number,String],maxWidth:[Number,String],minHeight:[Number,String],minWidth:[Number,String],width:[Number,String]},"dimension");function _e(n){return{dimensionStyles:e.computed(()=>({height:Y(n.height),maxHeight:Y(n.maxHeight),maxWidth:Y(n.maxWidth),minHeight:Y(n.minHeight),minWidth:Y(n.minWidth),width:Y(n.width)}))}}const ol=j({aspectRatio:[String,Number],contentClass:String,inline:Boolean,...J(),...Pe()},"VResponsive"),ho=U()({name:"VResponsive",props:ol(),setup(n,o){let{slots:t}=o;const{aspectStyles:l}=function(i){return{aspectStyles:e.computed(()=>{const c=Number(i.aspectRatio);return c?{paddingBottom:String(1/c*100)+"%"}:void 0})}}(n),{dimensionStyles:r}=_e(n);return K(()=>{var i;return e.createVNode("div",{class:["v-responsive",{"v-responsive--inline":n.inline},n.class],style:[r.value,n.style]},[e.createVNode("div",{class:"v-responsive__sizer",style:l.value},null),(i=t.additional)==null?void 0:i.call(t),t.default&&e.createVNode("div",{class:["v-responsive__content",n.contentClass]},[t.default()])])}),{}}}),Vn=j({transition:{type:[Boolean,String,Object],default:"fade-transition",validator:n=>n!==!0}},"transition"),Ie=(n,o)=>{let{slots:t}=o;const{transition:l,disabled:r,...i}=n,{component:c=e.Transition,...s}=typeof l=="object"?l:{};return e.h(c,e.mergeProps(typeof l=="string"?{name:r?"":l}:s,i,{disabled:r}),t)};function bo(n,o){var l;const t=(l=n._observe)==null?void 0:l[o.instance.$.uid];t&&(t.observer.unobserve(n),delete n._observe[o.instance.$.uid])}const Tt={mounted:function(n,o){if(!At)return;const t=o.modifiers||{},l=o.value,{handler:r,options:i}=typeof l=="object"?l:{handler:l,options:{}},c=new IntersectionObserver(function(){var v;let s=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],a=arguments.length>1?arguments[1]:void 0;const u=(v=n._observe)==null?void 0:v[o.instance.$.uid];if(!u)return;const f=s.some(p=>p.isIntersecting);!r||t.quiet&&!u.init||t.once&&!f&&!u.init||r(f,s,a),f&&t.once?bo(n,o):u.init=!0},i);n._observe=Object(n._observe),n._observe[o.instance.$.uid]={init:!1,observer:c},c.observe(n)},unmounted:bo},xa=j({alt:String,cover:Boolean,eager:Boolean,gradient:String,lazySrc:String,options:{type:Object,default:()=>({root:void 0,rootMargin:void 0,threshold:void 0})},sizes:String,src:{type:[String,Object],default:""},srcset:String,...ol(),...J(),...Vn()},"VImg"),ll=U()({name:"VImg",directives:{intersect:Tt},props:xa(),emits:{loadstart:n=>!0,load:n=>!0,error:n=>!0},setup(n,o){let{emit:t,slots:l}=o;const r=e.shallowRef(""),i=e.ref(),c=e.shallowRef(n.eager?"loading":"idle"),s=e.shallowRef(),a=e.shallowRef(),u=e.computed(()=>n.src&&typeof n.src=="object"?{src:n.src.src,srcset:n.srcset||n.src.srcset,lazySrc:n.lazySrc||n.src.lazySrc,aspect:Number(n.aspectRatio||n.src.aspect||0)}:{src:n.src,srcset:n.srcset,lazySrc:n.lazySrc,aspect:Number(n.aspectRatio||0)}),f=e.computed(()=>u.value.aspect||s.value/a.value||0);function v(b){if((!n.eager||!b)&&(!At||b||n.eager)){if(c.value="loading",u.value.lazySrc){const C=new Image;C.src=u.value.lazySrc,y(C,null)}u.value.src&&e.nextTick(()=>{var C,O;if(t("loadstart",((C=i.value)==null?void 0:C.currentSrc)||u.value.src),(O=i.value)==null?void 0:O.complete){if(i.value.naturalWidth||d(),c.value==="error")return;f.value||y(i.value,null),p()}else f.value||y(i.value),m()})}}function p(){var b;m(),c.value="loaded",t("load",((b=i.value)==null?void 0:b.currentSrc)||u.value.src)}function d(){var b;c.value="error",t("error",((b=i.value)==null?void 0:b.currentSrc)||u.value.src)}function m(){const b=i.value;b&&(r.value=b.currentSrc||b.src)}e.watch(()=>n.src,()=>{v(c.value!=="idle")}),e.watch(f,(b,C)=>{!b&&C&&i.value&&y(i.value)}),e.onBeforeMount(()=>v());let g=-1;function y(b){let C=arguments.length>1&&arguments[1]!==void 0?arguments[1]:100;const O=()=>{clearTimeout(g);const{naturalHeight:F,naturalWidth:N}=b;F||N?(s.value=N,a.value=F):b.complete||c.value!=="loading"||C==null?(b.currentSrc.endsWith(".svg")||b.currentSrc.startsWith("data:image/svg+xml"))&&(s.value=1,a.value=1):g=window.setTimeout(O,C)};O()}const h=e.computed(()=>({"v-img__img--cover":n.cover,"v-img__img--contain":!n.cover})),x=()=>{var O;if(!u.value.src||c.value==="idle")return null;const b=e.createVNode("img",{class:["v-img__img",h.value],src:u.value.src,srcset:u.value.srcset,alt:n.alt,sizes:n.sizes,ref:i,onLoad:p,onError:d},null),C=(O=l.sources)==null?void 0:O.call(l);return e.createVNode(Ie,{transition:n.transition,appear:!0},{default:()=>[e.withDirectives(C?e.createVNode("picture",{class:"v-img__picture"},[C,b]):b,[[e.vShow,c.value==="loaded"]])]})},V=()=>e.createVNode(Ie,{transition:n.transition},{default:()=>[u.value.lazySrc&&c.value!=="loaded"&&e.createVNode("img",{class:["v-img__img","v-img__img--preload",h.value],src:u.value.lazySrc,alt:n.alt},null)]}),T=()=>l.placeholder?e.createVNode(Ie,{transition:n.transition,appear:!0},{default:()=>[(c.value==="loading"||c.value==="error"&&!l.error)&&e.createVNode("div",{class:"v-img__placeholder"},[l.placeholder()])]}):null,P=()=>l.error?e.createVNode(Ie,{transition:n.transition,appear:!0},{default:()=>[c.value==="error"&&e.createVNode("div",{class:"v-img__error"},[l.error()])]}):null,z=()=>n.gradient?e.createVNode("div",{class:"v-img__gradient",style:{backgroundImage:`linear-gradient(${n.gradient})`}},null):null,w=e.shallowRef(!1);{const b=e.watch(f,C=>{C&&(requestAnimationFrame(()=>{requestAnimationFrame(()=>{w.value=!0})}),b())})}return K(()=>{const[b]=ho.filterProps(n);return e.withDirectives(e.createVNode(ho,e.mergeProps({class:["v-img",{"v-img--booting":!w.value},n.class],style:[{width:Y(n.width==="auto"?s.value:n.width)},n.style]},b,{aspectRatio:f.value,"aria-label":n.alt,role:n.alt?"img":void 0}),{additional:()=>e.createVNode(e.Fragment,null,[e.createVNode(x,null,null),e.createVNode(V,null,null),e.createVNode(z,null,null),e.createVNode(T,null,null),e.createVNode(P,null,null)]),default:l.default}),[[e.resolveDirective("intersect"),{handler:v,options:n.options},null,{once:!0}]])}),{currentSrc:r,image:i,state:c,naturalWidth:s,naturalHeight:a}}}),Je=j({border:[Boolean,Number,String]},"border");function Ze(n){let o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:be();return{borderClasses:e.computed(()=>{const t=e.isRef(n)?n.value:n.border,l=[];if(t===!0||t==="")l.push(`${o}--border`);else if(typeof t=="string"||t===0)for(const r of String(t).split(" "))l.push(`border-${r}`);return l})}}function Rt(n){return Pt(()=>{const o=[],t={};if(n.value.background)if(at(n.value.background)){if(t.backgroundColor=n.value.background,!n.value.text&&at(l=n.value.background)&&!/^((rgb|hsl)a?\()?var\(--/.test(l)){const r=on(n.value.background);if(r.a==null||r.a===1){const i=function(c){const s=Math.abs(po(on(0),on(c)));return Math.abs(po(on(16777215),on(c)))>Math.min(s,50)?"#fff":"#000"}(r);t.color=i,t.caretColor=i}}}else o.push(`bg-${n.value.background}`);var l;return n.value.text&&(at(n.value.text)?(t.color=n.value.text,t.caretColor=n.value.text):o.push(`text-${n.value.text}`)),{colorClasses:o,colorStyles:t}})}function he(n,o){const t=e.computed(()=>({text:e.isRef(n)?n.value:o?n[o]:null})),{colorClasses:l,colorStyles:r}=Rt(t);return{textColorClasses:l,textColorStyles:r}}function Ye(n,o){const t=e.computed(()=>({background:e.isRef(n)?n.value:o?n[o]:null})),{colorClasses:l,colorStyles:r}=Rt(t);return{backgroundColorClasses:l,backgroundColorStyles:r}}const Qe=j({elevation:{type:[Number,String],validator(n){const o=parseInt(n);return!isNaN(o)&&o>=0&&o<=24}}},"elevation");function en(n){return{elevationClasses:e.computed(()=>{const o=e.isRef(n)?n.value:n.elevation,t=[];return o==null||t.push(`elevation-${o}`),t})}}const Ce=j({rounded:{type:[Boolean,Number,String],default:void 0}},"rounded");function Se(n){let o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:be();return{roundedClasses:e.computed(()=>{const t=e.isRef(n)?n.value:n.rounded,l=[];if(t===!0||t==="")l.push(`${o}--rounded`);else if(typeof t=="string"||t===0)for(const r of String(t).split(" "))l.push(`rounded-${r}`);return l})}}const Fa=[null,"default","comfortable","compact"],ye=j({density:{type:String,default:"default",validator:n=>Fa.includes(n)}},"density");function Ve(n){let o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:be();return{densityClasses:e.computed(()=>`${o}--density-${n.density}`)}}const Na=["elevated","flat","tonal","outlined","text","plain"];function In(n,o){return e.createVNode(e.Fragment,null,[n&&e.createVNode("span",{key:"overlay",class:`${o}__overlay`},null),e.createVNode("span",{key:"underlay",class:`${o}__underlay`},null)])}const ke=j({color:String,variant:{type:String,default:"elevated",validator:n=>Na.includes(n)}},"variant");function Bn(n){let o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:be();const t=e.computed(()=>{const{variant:i}=e.unref(n);return`${o}--variant-${i}`}),{colorClasses:l,colorStyles:r}=Rt(e.computed(()=>{const{variant:i,color:c}=e.unref(n);return{[["elevated","flat"].includes(i)?"background":"text"]:c}}));return{colorClasses:l,colorStyles:r,variantClasses:t}}const al=j({divided:Boolean,...Je(),...J(),...ye(),...Qe(),...Ce(),...ue(),...te(),...ke()},"VBtnGroup"),Co=U()({name:"VBtnGroup",props:al(),setup(n,o){let{slots:t}=o;const{themeClasses:l}=ae(n),{densityClasses:r}=Ve(n),{borderClasses:i}=Ze(n),{elevationClasses:c}=en(n),{roundedClasses:s}=Se(n);Xe({VBtn:{height:"auto",color:e.toRef(n,"color"),density:e.toRef(n,"density"),flat:!0,variant:e.toRef(n,"variant")}}),K(()=>e.createVNode(n.tag,{class:["v-btn-group",{"v-btn-group--divided":n.divided},l.value,i.value,r.value,c.value,s.value,n.class],style:n.style},t))}}),rl=j({modelValue:{type:null,default:void 0},multiple:Boolean,mandatory:[Boolean,String],max:Number,selectedClass:String,disabled:Boolean},"group"),il=j({value:null,disabled:Boolean,selectedClass:String},"group-item");function sl(n,o){let t=!(arguments.length>2&&arguments[2]!==void 0)||arguments[2];const l=le("useGroupItem");if(!l)throw new Error("[Vuetify] useGroupItem composable must be used inside a component setup function");const r=pe();e.provide(Symbol.for(`${o.description}:id`),r);const i=e.inject(o,null);if(!i){if(!t)return i;throw new Error(`[Vuetify] Could not find useGroup injection with symbol ${o.description}`)}const c=e.toRef(n,"value"),s=e.computed(()=>!(!i.disabled.value&&!n.disabled));i.register({id:r,value:c,disabled:s},l),e.onBeforeUnmount(()=>{i.unregister(r)});const a=e.computed(()=>i.isSelected(r)),u=e.computed(()=>a.value&&[i.selectedClass.value,n.selectedClass]);return e.watch(a,f=>{l.emit("group:selected",{value:f})}),{id:r,isSelected:a,toggle:()=>i.select(r,!a.value),select:f=>i.select(r,f),selectedClass:u,value:c,disabled:s,group:i}}function ul(n,o){let t=!1;const l=e.reactive([]),r=ne(n,"modelValue",[],u=>u==null?[]:So(l,Be(u)),u=>{const f=function(v,p){const d=[];return p.forEach(m=>{const g=v.findIndex(y=>y.id===m);if(~g){const y=v[g];d.push(y.value!=null?y.value:g)}}),d}(l,u);return n.multiple?f:f[0]}),i=le("useGroup");function c(){const u=l.find(f=>!f.disabled);u&&n.mandatory==="force"&&!r.value.length&&(r.value=[u.id])}function s(u){if(n.multiple&&rn('This method is not supported when using "multiple" prop'),r.value.length){const f=r.value[0],v=l.findIndex(m=>m.id===f);let p=(v+u)%l.length,d=l[p];for(;d.disabled&&p!==v;)p=(p+u)%l.length,d=l[p];if(d.disabled)return;r.value=[l[p].id]}else{const f=l.find(v=>!v.disabled);f&&(r.value=[f.id])}}e.onMounted(()=>{c()}),e.onBeforeUnmount(()=>{t=!0});const a={register:function(u,f){const v=u,p=On(Symbol.for(`${o.description}:id`),i==null?void 0:i.vnode).indexOf(f);p>-1?l.splice(p,0,v):l.push(v)},unregister:function(u){if(t)return;c();const f=l.findIndex(v=>v.id===u);l.splice(f,1)},selected:r,select:function(u,f){const v=l.find(p=>p.id===u);if(!f||!(v!=null&&v.disabled))if(n.multiple){const p=r.value.slice(),d=p.findIndex(g=>g===u),m=~d;if(f=f??!m,m&&n.mandatory&&p.length<=1||!m&&n.max!=null&&p.length+1>n.max)return;d<0&&f?p.push(u):d>=0&&!f&&p.splice(d,1),r.value=p}else{const p=r.value.includes(u);if(n.mandatory&&p)return;r.value=f??!p?[u]:[]}},disabled:e.toRef(n,"disabled"),prev:()=>s(l.length-1),next:()=>s(1),isSelected:u=>r.value.includes(u),selectedClass:e.computed(()=>n.selectedClass),items:e.computed(()=>l),getItemIndex:u=>function(f,v){const p=So(f,[v]);return p.length?f.findIndex(d=>d.id===p[0]):-1}(l,u)};return e.provide(o,a),a}function So(n,o){const t=[];return o.forEach(l=>{const r=n.find(c=>gn(l,c.value)),i=n[l];(r==null?void 0:r.value)!=null?t.push(r.id):i!=null&&t.push(i.id)}),t}const cl=Symbol.for("vuetify:v-btn-toggle"),Aa=j({...al(),...rl()},"VBtnToggle");U()({name:"VBtnToggle",props:Aa(),emits:{"update:modelValue":n=>!0},setup(n,o){let{slots:t}=o;const{isSelected:l,next:r,prev:i,select:c,selected:s}=ul(n,cl);return K(()=>{const[a]=Co.filterProps(n);return e.createVNode(Co,e.mergeProps({class:["v-btn-toggle",n.class]},a,{style:n.style}),{default:()=>{var u;return[(u=t.default)==null?void 0:u.call(t,{isSelected:l,next:r,prev:i,select:c,selected:s})]}})}),{next:r,prev:i,select:c}}});const Q=[String,Function,Object,Array],Pa=Symbol.for("vuetify:icons"),jn=j({icon:{type:Q},tag:{type:String,required:!0}},"icon"),Vo=U()({name:"VComponentIcon",props:jn(),setup(n,o){let{slots:t}=o;return()=>{const l=n.icon;return e.createVNode(n.tag,null,{default:()=>{var r;return[n.icon?e.createVNode(l,null,null):(r=t.default)==null?void 0:r.call(t)]}})}}}),_a=dn({name:"VSvgIcon",inheritAttrs:!1,props:jn(),setup(n,o){let{attrs:t}=o;return()=>e.createVNode(n.tag,e.mergeProps(t,{style:null}),{default:()=>[e.createVNode("svg",{class:"v-icon__svg",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",role:"img","aria-hidden":"true"},[Array.isArray(n.icon)?n.icon.map(l=>Array.isArray(l)?e.createVNode("path",{d:l[0],"fill-opacity":l[1]},null):e.createVNode("path",{d:l},null)):e.createVNode("path",{d:n.icon},null)])]})}});dn({name:"VLigatureIcon",props:jn(),setup:n=>()=>e.createVNode(n.tag,null,{default:()=>[n.icon]})}),dn({name:"VClassIcon",props:jn(),setup:n=>()=>e.createVNode(n.tag,{class:n.icon},null)});const Ea=["x-small","small","default","large","x-large"],wn=j({size:{type:[String,Number],default:"default"}},"size");function kn(n){let o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:be();return Pt(()=>{let t,l;return Tn(Ea,n.size)?t=`${o}--size-${n.size}`:n.size&&(l={width:Y(n.size),height:Y(n.size)}),{sizeClasses:t,sizeStyles:l}})}const Oa=j({color:String,start:Boolean,end:Boolean,icon:Q,...J(),...wn(),...ue({tag:"i"}),...te()},"VIcon"),ee=U()({name:"VIcon",props:Oa(),setup(n,o){let{attrs:t,slots:l}=o;const r=e.ref(),{themeClasses:i}=ae(n),{iconData:c}=(f=>{const v=e.inject(Pa);if(!v)throw new Error("Missing Vuetify Icons provide!");return{iconData:e.computed(()=>{var y;const p=e.unref(f);if(!p)return{component:Vo};let d=p;if(typeof d=="string"&&(d=d.trim(),d.startsWith("$")&&(d=(y=v.aliases)==null?void 0:y[d.slice(1)])),!d)throw new Error(`Could not find aliased icon "${p}"`);if(Array.isArray(d))return{component:_a,icon:d};if(typeof d!="string")return{component:Vo,icon:d};const m=Object.keys(v.sets).find(h=>typeof d=="string"&&d.startsWith(`${h}:`)),g=m?d.slice(m.length+1):d;return{component:v.sets[m??v.defaultSet].component,icon:g}})}})(e.computed(()=>r.value||n.icon)),{sizeClasses:s}=kn(n),{textColorClasses:a,textColorStyles:u}=he(e.toRef(n,"color"));return K(()=>{var v,p;const f=(v=l.default)==null?void 0:v.call(l);return f&&(r.value=(p=Wo(f).filter(d=>d.type===e.Text&&d.children&&typeof d.children=="string")[0])==null?void 0:p.children),e.createVNode(c.value.component,{tag:n.tag,icon:c.value.icon,class:["v-icon","notranslate",i.value,s.value,a.value,{"v-icon--clickable":!!t.onClick,"v-icon--start":n.start,"v-icon--end":n.end},n.class],style:[s.value?void 0:{fontSize:Y(n.size),height:Y(n.size),width:Y(n.size)},u.value,n.style],role:t.onClick?"button":void 0,"aria-hidden":!t.onClick},{default:()=>[f]})}),{}}});function dl(n,o){const t=e.ref(),l=e.shallowRef(!1);if(At){const r=new IntersectionObserver(i=>{n==null||n(i,r),l.value=!!i.find(c=>c.isIntersecting)},o);e.onBeforeUnmount(()=>{r.disconnect()}),e.watch(t,(i,c)=>{c&&(r.unobserve(c),l.value=!1),i&&r.observe(i)},{flush:"post"})}return{intersectionRef:t,isIntersecting:l}}const za=j({bgColor:String,color:String,indeterminate:[Boolean,String],modelValue:{type:[Number,String],default:0},rotate:{type:[Number,String],default:0},width:{type:[Number,String],default:4},...J(),...wn(),...ue({tag:"div"}),...te()},"VProgressCircular"),pl=U()({name:"VProgressCircular",props:za(),setup(n,o){let{slots:t}=o;const l=2*Math.PI*20,r=e.ref(),{themeClasses:i}=ae(n),{sizeClasses:c,sizeStyles:s}=kn(n),{textColorClasses:a,textColorStyles:u}=he(e.toRef(n,"color")),{textColorClasses:f,textColorStyles:v}=he(e.toRef(n,"bgColor")),{intersectionRef:p,isIntersecting:d}=dl(),{resizeRef:m,contentRect:g}=zt(),y=e.computed(()=>Math.max(0,Math.min(100,parseFloat(n.modelValue)))),h=e.computed(()=>Number(n.width)),x=e.computed(()=>s.value?Number(n.size):g.value?g.value.width:Math.max(h.value,32)),V=e.computed(()=>20/(1-h.value/x.value)*2),T=e.computed(()=>h.value/x.value*V.value),P=e.computed(()=>Y((100-y.value)/100*l));return e.watchEffect(()=>{p.value=r.value,m.value=r.value}),K(()=>e.createVNode(n.tag,{ref:r,class:["v-progress-circular",{"v-progress-circular--indeterminate":!!n.indeterminate,"v-progress-circular--visible":d.value,"v-progress-circular--disable-shrink":n.indeterminate==="disable-shrink"},i.value,c.value,a.value,n.class],style:[s.value,u.value,n.style],role:"progressbar","aria-valuemin":"0","aria-valuemax":"100","aria-valuenow":n.indeterminate?void 0:y.value},{default:()=>[e.createVNode("svg",{style:{transform:`rotate(calc(-90deg + ${Number(n.rotate)}deg))`},xmlns:"http://www.w3.org/2000/svg",viewBox:`0 0 ${V.value} ${V.value}`},[e.createVNode("circle",{class:["v-progress-circular__underlay",f.value],style:v.value,fill:"transparent",cx:"50%",cy:"50%",r:20,"stroke-width":T.value,"stroke-dasharray":l,"stroke-dashoffset":0},null),e.createVNode("circle",{class:"v-progress-circular__overlay",fill:"transparent",cx:"50%",cy:"50%",r:20,"stroke-width":T.value,"stroke-dasharray":l,"stroke-dashoffset":P.value},null)]),t.default&&e.createVNode("div",{class:"v-progress-circular__content"},[t.default({value:y.value})])]})),{}}}),Io={center:"center",top:"bottom",bottom:"top",left:"right",right:"left"},Dt=j({location:String},"location");function Lt(n){let o=arguments.length>1&&arguments[1]!==void 0&&arguments[1],t=arguments.length>2?arguments[2]:void 0;const{isRtl:l}=Sn();return{locationStyles:e.computed(()=>{if(!n.location)return{};const{side:i,align:c}=mt(n.location.split(" ").length>1?n.location:`${n.location} center`,l.value);function s(u){return t?t(u):0}const a={};return i!=="center"&&(o?a[Io[i]]=`calc(100% - ${s(i)}px)`:a[i]=0),c!=="center"?o?a[Io[c]]=`calc(100% - ${s(c)}px)`:a[c]=0:(i==="center"?a.top=a.left="50%":a[{top:"left",bottom:"left",left:"top",right:"top"}[i]]="50%",a.transform={top:"translateX(-50%)",bottom:"translateX(-50%)",left:"translateY(-50%)",right:"translateY(-50%)",center:"translate(-50%, -50%)"}[i]),a})}}const $a=j({absolute:Boolean,active:{type:Boolean,default:!0},bgColor:String,bgOpacity:[Number,String],bufferValue:{type:[Number,String],default:0},clickable:Boolean,color:String,height:{type:[Number,String],default:4},indeterminate:Boolean,max:{type:[Number,String],default:100},modelValue:{type:[Number,String],default:0},reverse:Boolean,stream:Boolean,striped:Boolean,roundedBar:Boolean,...J(),...Dt({location:"top"}),...Ce(),...ue(),...te()},"VProgressLinear"),Ta=U()({name:"VProgressLinear",props:$a(),emits:{"update:modelValue":n=>!0},setup(n,o){let{slots:t}=o;const l=ne(n,"modelValue"),{isRtl:r,rtlClasses:i}=Sn(),{themeClasses:c}=ae(n),{locationStyles:s}=Lt(n),{textColorClasses:a,textColorStyles:u}=he(n,"color"),{backgroundColorClasses:f,backgroundColorStyles:v}=Ye(e.computed(()=>n.bgColor||n.color)),{backgroundColorClasses:p,backgroundColorStyles:d}=Ye(n,"color"),{roundedClasses:m}=Se(n),{intersectionRef:g,isIntersecting:y}=dl(),h=e.computed(()=>parseInt(n.max,10)),x=e.computed(()=>parseInt(n.height,10)),V=e.computed(()=>parseFloat(n.bufferValue)/h.value*100),T=e.computed(()=>parseFloat(l.value)/h.value*100),P=e.computed(()=>r.value!==n.reverse),z=e.computed(()=>n.indeterminate?"fade-transition":"slide-x-transition"),w=e.computed(()=>n.bgOpacity==null?n.bgOpacity:parseFloat(n.bgOpacity));function b(C){if(!g.value)return;const{left:O,right:F,width:N}=g.value.getBoundingClientRect(),k=P.value?N-C.clientX+(F-N):C.clientX-O;l.value=Math.round(k/N*h.value)}return K(()=>e.createVNode(n.tag,{ref:g,class:["v-progress-linear",{"v-progress-linear--absolute":n.absolute,"v-progress-linear--active":n.active&&y.value,"v-progress-linear--reverse":P.value,"v-progress-linear--rounded":n.rounded,"v-progress-linear--rounded-bar":n.roundedBar,"v-progress-linear--striped":n.striped},m.value,c.value,i.value,n.class],style:[{bottom:n.location==="bottom"?0:void 0,top:n.location==="top"?0:void 0,height:n.active?Y(x.value):0,"--v-progress-linear-height":Y(x.value),...s.value},n.style],role:"progressbar","aria-hidden":n.active?"false":"true","aria-valuemin":"0","aria-valuemax":n.max,"aria-valuenow":n.indeterminate?void 0:T.value,onClick:n.clickable&&b},{default:()=>[n.stream&&e.createVNode("div",{key:"stream",class:["v-progress-linear__stream",a.value],style:{...u.value,[P.value?"left":"right"]:Y(-x.value),borderTop:`${Y(x.value/2)} dotted`,opacity:w.value,top:`calc(50% - ${Y(x.value/4)})`,width:Y(100-V.value,"%"),"--v-progress-linear-stream-to":Y(x.value*(P.value?1:-1))}},null),e.createVNode("div",{class:["v-progress-linear__background",f.value],style:[v.value,{opacity:w.value,width:Y(n.stream?V.value:100,"%")}]},null),e.createVNode(e.Transition,{name:z.value},{default:()=>[n.indeterminate?e.createVNode("div",{class:"v-progress-linear__indeterminate"},[["long","short"].map(C=>e.createVNode("div",{key:C,class:["v-progress-linear__indeterminate",C,p.value],style:d.value},null))]):e.createVNode("div",{class:["v-progress-linear__determinate",p.value],style:[d.value,{width:Y(T.value,"%")}]},null)]}),t.default&&e.createVNode("div",{class:"v-progress-linear__content"},[t.default({value:T.value,buffer:V.value})])]})),{}}}),Mt=j({loading:[Boolean,String]},"loader");function Zn(n){let o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:be();return{loaderClasses:e.computed(()=>({[`${o}--loading`]:n.loading}))}}function Wt(n,o){var l;let{slots:t}=o;return e.createVNode("div",{class:`${n.name}__loader`},[((l=t.default)==null?void 0:l.call(t,{color:n.color,isActive:n.active}))||e.createVNode(Ta,{active:n.active,color:n.color,height:"2",indeterminate:!0},null)])}const Ra=["static","relative","fixed","absolute","sticky"],vl=j({position:{type:String,validator:n=>Ra.includes(n)}},"position");function fl(n){let o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:be();return{positionClasses:e.computed(()=>n.position?`${o}--${n.position}`:void 0)}}function Qn(n,o){const t=e.resolveDynamicComponent("RouterLink"),l=e.computed(()=>!(!n.href&&!n.to)),r=e.computed(()=>(l==null?void 0:l.value)||Qt(o,"click")||Qt(n,"click"));if(typeof t=="string")return{isLink:l,isClickable:r,href:e.toRef(n,"href")};const i=n.to?t.useLink(n):void 0;return{isLink:l,isClickable:r,route:i==null?void 0:i.route,navigate:i==null?void 0:i.navigate,isActive:i&&e.computed(()=>{var c,s;return n.exact?(c=i.isExactActive)==null?void 0:c.value:(s=i.isActive)==null?void 0:s.value}),href:e.computed(()=>n.to?i==null?void 0:i.route.value.href:n.href)}}const et=j({href:String,replace:Boolean,to:[String,Object],exact:Boolean},"router");let rt=!1;const yt=Symbol("rippleStop"),Da=80;function Bo(n,o){n.style.transform=o,n.style.webkitTransform=o}function gt(n){return n.constructor.name==="TouchEvent"}function ml(n){return n.constructor.name==="KeyboardEvent"}const Gn={show(n,o){var d;let t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(!((d=o==null?void 0:o._ripple)!=null&&d.enabled))return;const l=document.createElement("span"),r=document.createElement("span");l.appendChild(r),l.className="v-ripple__container",t.class&&(l.className+=` ${t.class}`);const{radius:i,scale:c,x:s,y:a,centerX:u,centerY:f}=function(m,g){var w;let y=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},h=0,x=0;if(!ml(m)){const b=g.getBoundingClientRect(),C=gt(m)?m.touches[m.touches.length-1]:m;h=C.clientX-b.left,x=C.clientY-b.top}let V=0,T=.3;(w=g._ripple)!=null&&w.circle?(T=.15,V=g.clientWidth/2,V=y.center?V:V+Math.sqrt((h-V)**2+(x-V)**2)/4):V=Math.sqrt(g.clientWidth**2+g.clientHeight**2)/2;const P=(g.clientWidth-2*V)/2+"px",z=(g.clientHeight-2*V)/2+"px";return{radius:V,scale:T,x:y.center?P:h-V+"px",y:y.center?z:x-V+"px",centerX:P,centerY:z}}(n,o,t),v=2*i+"px";r.className="v-ripple__animation",r.style.width=v,r.style.height=v,o.appendChild(l);const p=window.getComputedStyle(o);p&&p.position==="static"&&(o.style.position="relative",o.dataset.previousPosition="static"),r.classList.add("v-ripple__animation--enter"),r.classList.add("v-ripple__animation--visible"),Bo(r,`translate(${s}, ${a}) scale3d(${c},${c},${c})`),r.dataset.activated=String(performance.now()),setTimeout(()=>{r.classList.remove("v-ripple__animation--enter"),r.classList.add("v-ripple__animation--in"),Bo(r,`translate(${u}, ${f}) scale3d(1,1,1)`)},0)},hide(n){var i;if(!((i=n==null?void 0:n._ripple)!=null&&i.enabled))return;const o=n.getElementsByClassName("v-ripple__animation");if(o.length===0)return;const t=o[o.length-1];if(t.dataset.isHiding)return;t.dataset.isHiding="true";const l=performance.now()-Number(t.dataset.activated),r=Math.max(250-l,0);setTimeout(()=>{t.classList.remove("v-ripple__animation--in"),t.classList.add("v-ripple__animation--out"),setTimeout(()=>{var c;n.getElementsByClassName("v-ripple__animation").length===1&&n.dataset.previousPosition&&(n.style.position=n.dataset.previousPosition,delete n.dataset.previousPosition),((c=t.parentNode)==null?void 0:c.parentNode)===n&&n.removeChild(t.parentNode)},300)},r)}};function yl(n){return n===void 0||!!n}function pn(n){const o={},t=n.currentTarget;if(t!=null&&t._ripple&&!t._ripple.touched&&!n[yt]){if(n[yt]=!0,gt(n))t._ripple.touched=!0,t._ripple.isTouch=!0;else if(t._ripple.isTouch)return;if(o.center=t._ripple.centered||ml(n),t._ripple.class&&(o.class=t._ripple.class),gt(n)){if(t._ripple.showTimerCommit)return;t._ripple.showTimerCommit=()=>{Gn.show(n,t,o)},t._ripple.showTimer=window.setTimeout(()=>{var l;(l=t==null?void 0:t._ripple)!=null&&l.showTimerCommit&&(t._ripple.showTimerCommit(),t._ripple.showTimerCommit=null)},Da)}else Gn.show(n,t,o)}}function wo(n){n[yt]=!0}function se(n){const o=n.currentTarget;if(o!=null&&o._ripple){if(window.clearTimeout(o._ripple.showTimer),n.type==="touchend"&&o._ripple.showTimerCommit)return o._ripple.showTimerCommit(),o._ripple.showTimerCommit=null,void(o._ripple.showTimer=window.setTimeout(()=>{se(n)}));window.setTimeout(()=>{o._ripple&&(o._ripple.touched=!1)}),Gn.hide(o)}}function gl(n){const o=n.currentTarget;o!=null&&o._ripple&&(o._ripple.showTimerCommit&&(o._ripple.showTimerCommit=null),window.clearTimeout(o._ripple.showTimer))}let vn=!1;function hl(n){vn||n.keyCode!==Xt.enter&&n.keyCode!==Xt.space||(vn=!0,pn(n))}function bl(n){vn=!1,se(n)}function Cl(n){vn&&(vn=!1,se(n))}function ko(n,o,t){const{value:l,modifiers:r}=o,i=yl(l);if(i||Gn.hide(n),n._ripple=n._ripple??{},n._ripple.enabled=i,n._ripple.centered=r.center,n._ripple.circle=r.circle,dt(l)&&l.class&&(n._ripple.class=l.class),i&&!t){if(r.stop)return n.addEventListener("touchstart",wo,{passive:!0}),void n.addEventListener("mousedown",wo);n.addEventListener("touchstart",pn,{passive:!0}),n.addEventListener("touchend",se,{passive:!0}),n.addEventListener("touchmove",gl,{passive:!0}),n.addEventListener("touchcancel",se),n.addEventListener("mousedown",pn),n.addEventListener("mouseup",se),n.addEventListener("mouseleave",se),n.addEventListener("keydown",hl),n.addEventListener("keyup",bl),n.addEventListener("blur",Cl),n.addEventListener("dragstart",se,{passive:!0})}else!i&&t&&Sl(n)}function Sl(n){n.removeEventListener("mousedown",pn),n.removeEventListener("touchstart",pn),n.removeEventListener("touchend",se),n.removeEventListener("touchmove",gl),n.removeEventListener("touchcancel",se),n.removeEventListener("mouseup",se),n.removeEventListener("mouseleave",se),n.removeEventListener("keydown",hl),n.removeEventListener("keyup",bl),n.removeEventListener("dragstart",se),n.removeEventListener("blur",Cl)}const xn={mounted:function(n,o){ko(n,o,!1)},unmounted:function(n){delete n._ripple,Sl(n)},updated:function(n,o){o.value!==o.oldValue&&ko(n,o,yl(o.oldValue))}},La=j({active:{type:Boolean,default:void 0},symbol:{type:null,default:cl},flat:Boolean,icon:[Boolean,String,Function,Object],prependIcon:Q,appendIcon:Q,block:Boolean,stacked:Boolean,ripple:{type:[Boolean,Object],default:!0},text:String,...Je(),...J(),...ye(),...Pe(),...Qe(),...il(),...Mt(),...Dt(),...vl(),...Ce(),...et(),...wn(),...ue({tag:"button"}),...te(),...ke({variant:"elevated"})},"VBtn"),ht=U()({name:"VBtn",directives:{Ripple:xn},props:La(),emits:{"group:selected":n=>!0},setup(n,o){let{attrs:t,slots:l}=o;const{themeClasses:r}=ae(n),{borderClasses:i}=Ze(n),{colorClasses:c,colorStyles:s,variantClasses:a}=Bn(n),{densityClasses:u}=Ve(n),{dimensionStyles:f}=_e(n),{elevationClasses:v}=en(n),{loaderClasses:p}=Zn(n),{locationStyles:d}=Lt(n),{positionClasses:m}=fl(n),{roundedClasses:g}=Se(n),{sizeClasses:y,sizeStyles:h}=kn(n),x=sl(n,n.symbol,!1),V=Qn(n,t),T=e.computed(()=>{var C;return n.active!==void 0?n.active:V.isLink.value?(C=V.isActive)==null?void 0:C.value:x==null?void 0:x.isSelected.value}),P=e.computed(()=>(x==null?void 0:x.disabled.value)||n.disabled),z=e.computed(()=>n.variant==="elevated"&&!(n.disabled||n.flat||n.border)),w=e.computed(()=>{if(n.value!==void 0)return Object(n.value)===n.value?JSON.stringify(n.value,null,0):n.value});function b(C){var O;P.value||V.isLink.value&&(C.metaKey||C.ctrlKey||C.shiftKey||C.button!==0||t.target==="_blank")||((O=V.navigate)==null||O.call(V,C),x==null||x.toggle())}return function(C,O){e.watch(()=>{var F;return(F=C.isActive)==null?void 0:F.value},F=>{C.isLink.value&&F&&O&&e.nextTick(()=>{O(!0)})},{immediate:!0})}(V,x==null?void 0:x.select),K(()=>{var L,W;const C=V.isLink.value?"a":n.tag,O=!(!n.prependIcon&&!l.prepend),F=!(!n.appendIcon&&!l.append),N=!(!n.icon||n.icon===!0),k=(x==null?void 0:x.isSelected.value)&&(!V.isLink.value||((L=V.isActive)==null?void 0:L.value))||!x||((W=V.isActive)==null?void 0:W.value);return e.withDirectives(e.createVNode(C,{type:C==="a"?void 0:"button",class:["v-btn",x==null?void 0:x.selectedClass.value,{"v-btn--active":T.value,"v-btn--block":n.block,"v-btn--disabled":P.value,"v-btn--elevated":z.value,"v-btn--flat":n.flat,"v-btn--icon":!!n.icon,"v-btn--loading":n.loading,"v-btn--stacked":n.stacked},r.value,i.value,k?c.value:void 0,u.value,v.value,p.value,m.value,g.value,y.value,a.value,n.class],style:[k?s.value:void 0,f.value,d.value,h.value,n.style],disabled:P.value||void 0,href:V.href.value,onClick:b,value:w.value},{default:()=>{var I;return[In(!0,"v-btn"),!n.icon&&O&&e.createVNode("span",{key:"prepend",class:"v-btn__prepend"},[l.prepend?e.createVNode(oe,{key:"prepend-defaults",disabled:!n.prependIcon,defaults:{VIcon:{icon:n.prependIcon}}},l.prepend):e.createVNode(ee,{key:"prepend-icon",icon:n.prependIcon},null)]),e.createVNode("span",{class:"v-btn__content","data-no-activator":""},[!l.default&&N?e.createVNode(ee,{key:"content-icon",icon:n.icon},null):e.createVNode(oe,{key:"content-defaults",disabled:!N,defaults:{VIcon:{icon:n.icon}}},{default:()=>{var A;return[((A=l.default)==null?void 0:A.call(l))??n.text]}})]),!n.icon&&F&&e.createVNode("span",{key:"append",class:"v-btn__append"},[l.append?e.createVNode(oe,{key:"append-defaults",disabled:!n.appendIcon,defaults:{VIcon:{icon:n.appendIcon}}},l.append):e.createVNode(ee,{key:"append-icon",icon:n.appendIcon},null)]),!!n.loading&&e.createVNode("span",{key:"loader",class:"v-btn__loader"},[((I=l.loader)==null?void 0:I.call(l))??e.createVNode(pl,{color:typeof n.loading=="boolean"?void 0:n.loading,indeterminate:!0,size:"23",width:"2"},null)])]}}),[[e.resolveDirective("ripple"),!P.value&&n.ripple,null]])}),{}}}),Ma=j({text:String,clickable:Boolean,...J(),...te()},"VLabel"),Vl=U()({name:"VLabel",props:Ma(),setup(n,o){let{slots:t}=o;return K(()=>{var l;return e.createVNode("label",{class:["v-label",{"v-label--clickable":n.clickable},n.class],style:n.style},[n.text,(l=t.default)==null?void 0:l.call(t)])}),{}}}),Il=Symbol.for("vuetify:selection-control-group"),Bl=j({color:String,disabled:{type:Boolean,default:null},defaultsTarget:String,error:Boolean,id:String,inline:Boolean,falseIcon:Q,trueIcon:Q,ripple:{type:Boolean,default:!0},multiple:{type:Boolean,default:null},name:String,readonly:Boolean,modelValue:null,type:String,valueComparator:{type:Function,default:gn},...J(),...ye(),...te()},"SelectionControlGroup"),Wa=j({...Bl({defaultsTarget:"VSelectionControl"})},"VSelectionControlGroup");U()({name:"VSelectionControlGroup",props:Wa(),emits:{"update:modelValue":n=>!0},setup(n,o){let{slots:t}=o;const l=ne(n,"modelValue"),r=pe(),i=e.computed(()=>n.id||`v-selection-control-group-${r}`),c=e.computed(()=>n.name||i.value),s=new Set;return e.provide(Il,{modelValue:l,forceUpdate:()=>{s.forEach(a=>a())},onForceUpdate:a=>{s.add(a),e.onScopeDispose(()=>{s.delete(a)})}}),Xe({[n.defaultsTarget]:{color:e.toRef(n,"color"),disabled:e.toRef(n,"disabled"),density:e.toRef(n,"density"),error:e.toRef(n,"error"),inline:e.toRef(n,"inline"),modelValue:l,multiple:e.computed(()=>!!n.multiple||n.multiple==null&&Array.isArray(l.value)),name:c,falseIcon:e.toRef(n,"falseIcon"),trueIcon:e.toRef(n,"trueIcon"),readonly:e.toRef(n,"readonly"),ripple:e.toRef(n,"ripple"),type:e.toRef(n,"type"),valueComparator:e.toRef(n,"valueComparator")}}),K(()=>{var a;return e.createVNode("div",{class:["v-selection-control-group",{"v-selection-control-group--inline":n.inline},n.class],style:n.style,role:n.type==="radio"?"radiogroup":void 0},[(a=t.default)==null?void 0:a.call(t)])}),{}}});const jt=j({label:String,trueValue:null,falseValue:null,value:null,...J(),...Bl()},"VSelectionControl"),qn=U()({name:"VSelectionControl",directives:{Ripple:xn},inheritAttrs:!1,props:jt(),emits:{"update:modelValue":n=>!0},setup(n,o){let{attrs:t,slots:l}=o;const{group:r,densityClasses:i,icon:c,model:s,textColorClasses:a,textColorStyles:u,backgroundColorClasses:f,backgroundColorStyles:v,trueValue:p}=function(P){const z=e.inject(Il,void 0),{densityClasses:w}=Ve(P),b=ne(P,"modelValue"),C=e.computed(()=>P.trueValue!==void 0?P.trueValue:P.value===void 0||P.value),O=e.computed(()=>P.falseValue!==void 0&&P.falseValue),F=e.computed(()=>!!P.multiple||P.multiple==null&&Array.isArray(b.value)),N=e.computed({get(){const E=z?z.modelValue.value:b.value;return F.value?E.some(M=>P.valueComparator(M,C.value)):P.valueComparator(E,C.value)},set(E){if(P.readonly)return;const M=E?C.value:O.value;let D=M;F.value&&(D=E?[...Be(b.value),M]:Be(b.value).filter(_=>!P.valueComparator(_,C.value))),z?z.modelValue.value=D:b.value=D}}),{textColorClasses:k,textColorStyles:L}=he(e.computed(()=>!N.value||P.error||P.disabled?void 0:P.color)),{backgroundColorClasses:W,backgroundColorStyles:I}=Ye(e.computed(()=>!N.value||P.error||P.disabled?void 0:P.color)),A=e.computed(()=>N.value?P.trueIcon:P.falseIcon);return{group:z,densityClasses:w,trueValue:C,falseValue:O,model:N,textColorClasses:k,textColorStyles:L,backgroundColorClasses:W,backgroundColorStyles:I,icon:A}}(n),d=pe(),m=e.computed(()=>n.id||`input-${d}`),g=e.shallowRef(!1),y=e.shallowRef(!1),h=e.ref();function x(P){g.value=!0,Dn(P.target,":focus-visible")!==!1&&(y.value=!0)}function V(){g.value=!1,y.value=!1}function T(P){n.readonly&&r&&e.nextTick(()=>r.forceUpdate()),s.value=P.target.checked}return r==null||r.onForceUpdate(()=>{h.value&&(h.value.checked=s.value)}),K(()=>{var C,O;const P=l.label?l.label({label:n.label,props:{for:m.value}}):n.label,[z,w]=bn(t),b=e.createVNode("input",e.mergeProps({ref:h,checked:s.value,disabled:!(!n.readonly&&!n.disabled),id:m.value,onBlur:V,onFocus:x,onInput:T,"aria-disabled":!(!n.readonly&&!n.disabled),type:n.type,value:p.value,name:n.name,"aria-checked":n.type==="checkbox"?s.value:void 0},w),null);return e.createVNode("div",e.mergeProps({class:["v-selection-control",{"v-selection-control--dirty":s.value,"v-selection-control--disabled":n.disabled,"v-selection-control--error":n.error,"v-selection-control--focused":g.value,"v-selection-control--focus-visible":y.value,"v-selection-control--inline":n.inline},i.value,n.class]},z,{style:n.style}),[e.createVNode("div",{class:["v-selection-control__wrapper",a.value],style:u.value},[(C=l.default)==null?void 0:C.call(l,{backgroundColorClasses:f,backgroundColorStyles:v}),e.withDirectives(e.createVNode("div",{class:["v-selection-control__input"]},[((O=l.input)==null?void 0:O.call(l,{model:s,textColorClasses:a,textColorStyles:u,backgroundColorClasses:f,backgroundColorStyles:v,inputNode:b,icon:c.value,props:{onFocus:x,onBlur:V,id:m.value}}))??e.createVNode(e.Fragment,null,[c.value&&e.createVNode(ee,{key:"icon",icon:c.value},null),b])]),[[e.resolveDirective("ripple"),n.ripple&&[!n.disabled&&!n.readonly,null,["center","circle"]]]])]),P&&e.createVNode(Vl,{for:m.value,clickable:!0,onClick:F=>F.stopPropagation()},{default:()=>[P]})])}),{isFocused:g,input:h}}}),wl=j({indeterminate:Boolean,indeterminateIcon:{type:Q,default:"$checkboxIndeterminate"},...jt({falseIcon:"$checkboxOff",trueIcon:"$checkboxOn"})},"VCheckboxBtn"),bt=U()({name:"VCheckboxBtn",props:wl(),emits:{"update:modelValue":n=>!0,"update:indeterminate":n=>!0},setup(n,o){let{slots:t}=o;const l=ne(n,"indeterminate"),r=ne(n,"modelValue");function i(a){l.value&&(l.value=!1)}const c=e.computed(()=>l.value?n.indeterminateIcon:n.falseIcon),s=e.computed(()=>l.value?n.indeterminateIcon:n.trueIcon);return K(()=>{const a=hn(qn.filterProps(n)[0],["modelValue"]);return e.createVNode(qn,e.mergeProps(a,{modelValue:r.value,"onUpdate:modelValue":[u=>r.value=u,i],class:["v-checkbox-btn",n.class],style:n.style,type:"checkbox",falseIcon:c.value,trueIcon:s.value,"aria-checked":l.value?"mixed":void 0}),t)}),{}}});function kl(n){const{t:o}=$t();return{InputIcon:function(t){let{name:l}=t;const r={prepend:"prependAction",prependInner:"prependAction",append:"appendAction",appendInner:"appendAction",clear:"clear"}[l],i=n[`onClick:${l}`],c=i&&r?o(`$vuetify.input.${r}`,n.label??""):void 0;return e.createVNode(ee,{icon:n[`${l}Icon`],"aria-label":c,onClick:i},null)}}}const ja=j({active:Boolean,color:String,messages:{type:[Array,String],default:()=>[]},...J(),...Vn({transition:{component:nl,leaveAbsolute:!0,group:!0}})},"VMessages"),Ga=U()({name:"VMessages",props:ja(),setup(n,o){let{slots:t}=o;const l=e.computed(()=>Be(n.messages)),{textColorClasses:r,textColorStyles:i}=he(e.computed(()=>n.color));return K(()=>e.createVNode(Ie,{transition:n.transition,tag:"div",class:["v-messages",r.value,n.class],style:[i.value,n.style],role:"alert","aria-live":"polite"},{default:()=>[n.active&&l.value.map((c,s)=>e.createVNode("div",{class:"v-messages__message",key:`${s}-${l.value}`},[t.message?t.message({message:c}):c]))]})),{}}}),xl=j({focused:Boolean,"onUpdate:focused":me()},"focus");function Fn(n){let o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:be();const t=ne(n,"focused");return{focusClasses:e.computed(()=>({[`${o}--focused`]:t.value})),isFocused:t,focus:function(){t.value=!0},blur:function(){t.value=!1}}}const qa=Symbol.for("vuetify:form");function Fl(){return e.inject(qa,null)}const Ha=j({disabled:{type:Boolean,default:null},error:Boolean,errorMessages:{type:[Array,String],default:()=>[]},maxErrors:{type:[Number,String],default:1},name:String,label:String,readonly:{type:Boolean,default:null},rules:{type:Array,default:()=>[]},modelValue:null,validateOn:String,validationValue:null,...xl()},"validation"),Nn=j({id:String,appendIcon:Q,centerAffix:{type:Boolean,default:!0},prependIcon:Q,hideDetails:[Boolean,String],hint:String,persistentHint:Boolean,messages:{type:[Array,String],default:()=>[]},direction:{type:String,default:"horizontal",validator:n=>["horizontal","vertical"].includes(n)},"onClick:prepend":me(),"onClick:append":me(),...J(),...ye(),...Ha()},"VInput"),we=U()({name:"VInput",props:{...Nn()},emits:{"update:modelValue":n=>!0},setup(n,o){let{attrs:t,slots:l,emit:r}=o;const{densityClasses:i}=Ve(n),{rtlClasses:c}=Sn(),{InputIcon:s}=kl(n),a=pe(),u=e.computed(()=>n.id||`input-${a}`),f=e.computed(()=>`${u.value}-messages`),{errorMessages:v,isDirty:p,isDisabled:d,isReadonly:m,isPristine:g,isValid:y,isValidating:h,reset:x,resetValidation:V,validate:T,validationClasses:P}=function(b){let C=arguments.length>1&&arguments[1]!==void 0?arguments[1]:be(),O=arguments.length>2&&arguments[2]!==void 0?arguments[2]:pe();const F=ne(b,"modelValue"),N=e.computed(()=>b.validationValue===void 0?F.value:b.validationValue),k=Fl(),L=e.ref([]),W=e.shallowRef(!0),I=e.computed(()=>!(!Be(F.value===""?null:F.value).length&&!Be(N.value===""?null:N.value).length)),A=e.computed(()=>!!(b.disabled??(k==null?void 0:k.isDisabled.value))),E=e.computed(()=>!!(b.readonly??(k==null?void 0:k.isReadonly.value))),M=e.computed(()=>{var q;return(q=b.errorMessages)!=null&&q.length?Be(b.errorMessages).slice(0,Math.max(0,+b.maxErrors)):L.value}),D=e.computed(()=>{let q=(b.validateOn??(k==null?void 0:k.validateOn.value))||"input";q==="lazy"&&(q="input lazy");const Z=new Set((q==null?void 0:q.split(" "))??[]);return{blur:Z.has("blur")||Z.has("input"),input:Z.has("input"),submit:Z.has("submit"),lazy:Z.has("lazy")}}),_=e.computed(()=>{var q;return!b.error&&!((q=b.errorMessages)!=null&&q.length)&&(!b.rules.length||(W.value?!L.value.length&&!D.value.lazy||null:!L.value.length))}),S=e.shallowRef(!1),R=e.computed(()=>({[`${C}--error`]:_.value===!1,[`${C}--dirty`]:I.value,[`${C}--disabled`]:A.value,[`${C}--readonly`]:E.value})),B=e.computed(()=>b.name??e.unref(O));function $(){F.value=null,e.nextTick(G)}function G(){W.value=!0,D.value.lazy?L.value=[]:H(!0)}async function H(){let q=arguments.length>0&&arguments[0]!==void 0&&arguments[0];const Z=[];S.value=!0;for(const re of b.rules){if(Z.length>=+(b.maxErrors??1))break;const nn=typeof re=="function"?re:()=>re,fe=await nn(N.value);fe!==!0&&(fe===!1||typeof fe=="string"?Z.push(fe||""):console.warn(`${fe} is not a valid value. Rule functions must return boolean true or a string.`))}return L.value=Z,S.value=!1,W.value=q,L.value}return e.onBeforeMount(()=>{k==null||k.register({id:B.value,validate:H,reset:$,resetValidation:G})}),e.onBeforeUnmount(()=>{k==null||k.unregister(B.value)}),e.onMounted(async()=>{D.value.lazy||await H(!0),k==null||k.update(B.value,_.value,M.value)}),Fe(()=>D.value.input,()=>{e.watch(N,()=>{if(N.value!=null)H();else if(b.focused){const q=e.watch(()=>b.focused,Z=>{Z||H(),q()})}})}),Fe(()=>D.value.blur,()=>{e.watch(()=>b.focused,q=>{q||H()})}),e.watch(_,()=>{k==null||k.update(B.value,_.value,M.value)}),{errorMessages:M,isDirty:I,isDisabled:A,isReadonly:E,isPristine:W,isValid:_,isValidating:S,reset:$,resetValidation:G,validate:H,validationClasses:R}}(n,"v-input",u),z=e.computed(()=>({id:u,messagesId:f,isDirty:p,isDisabled:d,isReadonly:m,isPristine:g,isValid:y,isValidating:h,reset:x,resetValidation:V,validate:T})),w=e.computed(()=>{var b;return(b=n.errorMessages)!=null&&b.length||!g.value&&v.value.length?v.value:n.hint&&(n.persistentHint||n.focused)?n.hint:n.messages});return K(()=>{var N,k,L,W;const b=!(!l.prepend&&!n.prependIcon),C=!(!l.append&&!n.appendIcon),O=w.value.length>0,F=!n.hideDetails||n.hideDetails==="auto"&&(O||!!l.details);return e.createVNode("div",{class:["v-input",`v-input--${n.direction}`,{"v-input--center-affix":n.centerAffix},i.value,c.value,P.value,n.class],style:n.style},[b&&e.createVNode("div",{key:"prepend",class:"v-input__prepend"},[(N=l.prepend)==null?void 0:N.call(l,z.value),n.prependIcon&&e.createVNode(s,{key:"prepend-icon",name:"prepend"},null)]),l.default&&e.createVNode("div",{class:"v-input__control"},[(k=l.default)==null?void 0:k.call(l,z.value)]),C&&e.createVNode("div",{key:"append",class:"v-input__append"},[n.appendIcon&&e.createVNode(s,{key:"append-icon",name:"append"},null),(L=l.append)==null?void 0:L.call(l,z.value)]),F&&e.createVNode("div",{class:"v-input__details"},[e.createVNode(Ga,{id:f.value,active:O,messages:w.value},{message:l.message}),(W=l.details)==null?void 0:W.call(l,z.value)])])}),{reset:x,resetValidation:V,validate:T}}}),Ua=j({...Nn(),...hn(wl(),["inline"])},"VCheckbox"),Ya=U()({name:"VCheckbox",inheritAttrs:!1,props:Ua(),emits:{"update:modelValue":n=>!0,"update:focused":n=>!0},setup(n,o){let{attrs:t,slots:l}=o;const r=ne(n,"modelValue"),{isFocused:i,focus:c,blur:s}=Fn(n),a=pe(),u=e.computed(()=>n.id||`checkbox-${a}`);return K(()=>{const[f,v]=bn(t),[p,d]=we.filterProps(n),[m,g]=bt.filterProps(n);return e.createVNode(we,e.mergeProps({class:["v-checkbox",n.class]},f,p,{modelValue:r.value,"onUpdate:modelValue":y=>r.value=y,id:u.value,focused:i.value,style:n.style}),{...l,default:y=>{let{id:h,messagesId:x,isDisabled:V,isReadonly:T}=y;return e.createVNode(bt,e.mergeProps(m,{id:h.value,"aria-describedby":x.value,disabled:V.value,readonly:T.value},v,{modelValue:r.value,"onUpdate:modelValue":P=>r.value=P,onFocus:c,onBlur:s}),l)}})}),{}}}),Ka=j({start:Boolean,end:Boolean,icon:Q,image:String,...J(),...ye(),...Ce(),...wn(),...ue(),...te(),...ke({variant:"flat"})},"VAvatar"),Ke=U()({name:"VAvatar",props:Ka(),setup(n,o){let{slots:t}=o;const{themeClasses:l}=ae(n),{colorClasses:r,colorStyles:i,variantClasses:c}=Bn(n),{densityClasses:s}=Ve(n),{roundedClasses:a}=Se(n),{sizeClasses:u,sizeStyles:f}=kn(n);return K(()=>e.createVNode(n.tag,{class:["v-avatar",{"v-avatar--start":n.start,"v-avatar--end":n.end},l.value,r.value,s.value,a.value,u.value,c.value,n.class],style:[i.value,f.value,n.style]},{default:()=>{var v;return[n.image?e.createVNode(ll,{key:"image",src:n.image,alt:"",cover:!0},null):n.icon?e.createVNode(ee,{key:"icon",icon:n.icon},null):(v=t.default)==null?void 0:v.call(t),In(!1,"v-avatar")]}})),{}}}),Nl=Symbol.for("vuetify:v-chip-group"),Xa=j({column:Boolean,filter:Boolean,valueComparator:{type:Function,default:gn},...J(),...rl({selectedClass:"v-chip--selected"}),...ue(),...te(),...ke({variant:"tonal"})},"VChipGroup");U()({name:"VChipGroup",props:Xa(),emits:{"update:modelValue":n=>!0},setup(n,o){let{slots:t}=o;const{themeClasses:l}=ae(n),{isSelected:r,select:i,next:c,prev:s,selected:a}=ul(n,Nl);return Xe({VChip:{color:e.toRef(n,"color"),disabled:e.toRef(n,"disabled"),filter:e.toRef(n,"filter"),variant:e.toRef(n,"variant")}}),K(()=>e.createVNode(n.tag,{class:["v-chip-group",{"v-chip-group--column":n.column},l.value,n.class],style:n.style},{default:()=>{var u;return[(u=t.default)==null?void 0:u.call(t,{isSelected:r,select:i,next:c,prev:s,selected:a.value})]}})),{}}});const Ja=j({activeClass:String,appendAvatar:String,appendIcon:Q,closable:Boolean,closeIcon:{type:Q,default:"$delete"},closeLabel:{type:String,default:"$vuetify.close"},draggable:Boolean,filter:Boolean,filterIcon:{type:String,default:"$complete"},label:Boolean,link:{type:Boolean,default:void 0},pill:Boolean,prependAvatar:String,prependIcon:Q,ripple:{type:[Boolean,Object],default:!0},text:String,modelValue:{type:Boolean,default:!0},onClick:me(),onClickOnce:me(),...Je(),...J(),...ye(),...Qe(),...il(),...Ce(),...et(),...wn(),...ue({tag:"span"}),...te(),...ke({variant:"tonal"})},"VChip"),Za=U()({name:"VChip",directives:{Ripple:xn},props:Ja(),emits:{"click:close":n=>!0,"update:modelValue":n=>!0,"group:selected":n=>!0,click:n=>!0},setup(n,o){let{attrs:t,emit:l,slots:r}=o;const{t:i}=$t(),{borderClasses:c}=Ze(n),{colorClasses:s,colorStyles:a,variantClasses:u}=Bn(n),{densityClasses:f}=Ve(n),{elevationClasses:v}=en(n),{roundedClasses:p}=Se(n),{sizeClasses:d}=kn(n),{themeClasses:m}=ae(n),g=ne(n,"modelValue"),y=sl(n,Nl,!1),h=Qn(n,t),x=e.computed(()=>n.link!==!1&&h.isLink.value),V=e.computed(()=>!n.disabled&&n.link!==!1&&(!!y||n.link||h.isClickable.value)),T=e.computed(()=>({"aria-label":i(n.closeLabel),onClick(w){w.stopPropagation(),g.value=!1,l("click:close",w)}}));function P(w){var b;l("click",w),V.value&&((b=h.navigate)==null||b.call(h,w),y==null||y.toggle())}function z(w){w.key!=="Enter"&&w.key!==" "||(w.preventDefault(),P(w))}return()=>{const w=h.isLink.value?"a":n.tag,b=!(!n.appendIcon&&!n.appendAvatar),C=!(!b&&!r.append),O=!(!r.close&&!n.closable),F=!(!r.filter&&!n.filter)&&y,N=!(!n.prependIcon&&!n.prependAvatar),k=!(!N&&!r.prepend),L=!y||y.isSelected.value;return g.value&&e.withDirectives(e.createVNode(w,{class:["v-chip",{"v-chip--disabled":n.disabled,"v-chip--label":n.label,"v-chip--link":V.value,"v-chip--filter":F,"v-chip--pill":n.pill},m.value,c.value,L?s.value:void 0,f.value,v.value,p.value,d.value,u.value,y==null?void 0:y.selectedClass.value,n.class],style:[L?a.value:void 0,n.style],disabled:n.disabled||void 0,draggable:n.draggable,href:h.href.value,tabindex:V.value?0:void 0,onClick:P,onKeydown:V.value&&!x.value&&z},{default:()=>{var W;return[In(V.value,"v-chip"),F&&e.createVNode(tl,{key:"filter"},{default:()=>[e.withDirectives(e.createVNode("div",{class:"v-chip__filter"},[r.filter?e.createVNode(oe,{key:"filter-defaults",disabled:!n.filterIcon,defaults:{VIcon:{icon:n.filterIcon}}},r.filter):e.createVNode(ee,{key:"filter-icon",icon:n.filterIcon},null)]),[[e.vShow,y.isSelected.value]])]}),k&&e.createVNode("div",{key:"prepend",class:"v-chip__prepend"},[r.prepend?e.createVNode(oe,{key:"prepend-defaults",disabled:!N,defaults:{VAvatar:{image:n.prependAvatar,start:!0},VIcon:{icon:n.prependIcon,start:!0}}},r.prepend):e.createVNode(e.Fragment,null,[n.prependIcon&&e.createVNode(ee,{key:"prepend-icon",icon:n.prependIcon,start:!0},null),n.prependAvatar&&e.createVNode(Ke,{key:"prepend-avatar",image:n.prependAvatar,start:!0},null)])]),e.createVNode("div",{class:"v-chip__content"},[((W=r.default)==null?void 0:W.call(r,{isSelected:y==null?void 0:y.isSelected.value,selectedClass:y==null?void 0:y.selectedClass.value,select:y==null?void 0:y.select,toggle:y==null?void 0:y.toggle,value:y==null?void 0:y.value.value,disabled:n.disabled}))??n.text]),C&&e.createVNode("div",{key:"append",class:"v-chip__append"},[r.append?e.createVNode(oe,{key:"append-defaults",disabled:!b,defaults:{VAvatar:{end:!0,image:n.appendAvatar},VIcon:{end:!0,icon:n.appendIcon}}},r.append):e.createVNode(e.Fragment,null,[n.appendIcon&&e.createVNode(ee,{key:"append-icon",end:!0,icon:n.appendIcon},null),n.appendAvatar&&e.createVNode(Ke,{key:"append-avatar",end:!0,image:n.appendAvatar},null)])]),O&&e.createVNode("div",e.mergeProps({key:"close",class:"v-chip__close"},T.value),[r.close?e.createVNode(oe,{key:"close-defaults",defaults:{VIcon:{icon:n.closeIcon,size:"x-small"}}},r.close):e.createVNode(ee,{key:"close-icon",icon:n.closeIcon,size:"x-small"},null)])]}}),[[e.resolveDirective("ripple"),V.value&&n.ripple,null]])}}}),Ct=Symbol.for("vuetify:list");function Al(){const n=e.inject(Ct,{hasPrepend:e.shallowRef(!1),updateHasPrepend:()=>null}),o={hasPrepend:e.shallowRef(!1),updateHasPrepend:t=>{t&&(o.hasPrepend.value=t)}};return e.provide(Ct,o),n}function Pl(){return e.inject(Ct,null)}const Qa={open:n=>{let{id:o,value:t,opened:l,parents:r}=n;if(t){const i=new Set;i.add(o);let c=r.get(o);for(;c!=null;)i.add(c),c=r.get(c);return i}return l.delete(o),l},select:()=>null},_l={open:n=>{let{id:o,value:t,opened:l,parents:r}=n;if(t){let i=r.get(o);for(l.add(o);i!=null&&i!==o;)l.add(i),i=r.get(i);return l}return l.delete(o),l},select:()=>null},er={open:_l.open,select:n=>{let{id:o,value:t,opened:l,parents:r}=n;if(!t)return l;const i=[];let c=r.get(o);for(;c!=null;)i.push(c),c=r.get(c);return new Set(i)}},St=n=>{const o={select:t=>{let{id:l,value:r,selected:i}=t;if(l=e.toRaw(l),n&&!r){const c=Array.from(i.entries()).reduce((s,a)=>{let[u,f]=a;return f==="on"?[...s,u]:s},[]);if(c.length===1&&c[0]===l)return i}return i.set(l,r?"on":"off"),i},in:(t,l,r)=>{let i=new Map;for(const c of t||[])i=o.select({id:c,value:!0,selected:new Map(i),children:l,parents:r});return i},out:t=>{const l=[];for(const[r,i]of t.entries())i==="on"&&l.push(r);return l}};return o},xo=n=>{const o=St(n);return{select:t=>{let{selected:l,id:r,...i}=t;r=e.toRaw(r);const c=l.has(r)?new Map([[r,l.get(r)]]):new Map;return o.select({...i,id:r,selected:c})},in:(t,l,r)=>{let i=new Map;return t!=null&&t.length&&(i=o.in(t.slice(0,1),l,r)),i},out:(t,l,r)=>o.out(t,l,r)}},fn=Symbol.for("vuetify:nested"),El={id:e.shallowRef(),root:{register:()=>null,unregister:()=>null,parents:e.ref(new Map),children:e.ref(new Map),open:()=>null,openOnSelect:()=>null,select:()=>null,opened:e.ref(new Set),selected:e.ref(new Map),selectedValues:e.ref([])}},nr=j({selectStrategy:[String,Function],openStrategy:[String,Object],opened:Array,selected:Array,mandatory:Boolean},"nested"),tr=n=>{let o=!1;const t=e.ref(new Map),l=e.ref(new Map),r=ne(n,"opened",n.opened,v=>new Set(v),v=>[...v.values()]),i=e.computed(()=>{if(typeof n.selectStrategy=="object")return n.selectStrategy;switch(n.selectStrategy){case"single-leaf":return(v=>{const p=xo(v);return{select:d=>{let{id:m,selected:g,children:y,...h}=d;return m=e.toRaw(m),y.has(m)?g:p.select({id:m,selected:g,children:y,...h})},in:p.in,out:p.out}})(n.mandatory);case"leaf":return(v=>{const p=St(v);return{select:d=>{let{id:m,selected:g,children:y,...h}=d;return m=e.toRaw(m),y.has(m)?g:p.select({id:m,selected:g,children:y,...h})},in:p.in,out:p.out}})(n.mandatory);case"independent":return St(n.mandatory);case"single-independent":return xo(n.mandatory);default:return(v=>{const p={select:d=>{let{id:m,value:g,selected:y,children:h,parents:x}=d;m=e.toRaw(m);const V=new Map(y),T=[m];for(;T.length;){const z=T.shift();y.set(z,g?"on":"off"),h.has(z)&&T.push(...h.get(z))}let P=x.get(m);for(;P;){const z=h.get(P),w=z.every(C=>y.get(C)==="on"),b=z.every(C=>!y.has(C)||y.get(C)==="off");y.set(P,w?"on":b?"off":"indeterminate"),P=x.get(P)}return v&&!g&&Array.from(y.entries()).reduce((w,b)=>{let[C,O]=b;return O==="on"?[...w,C]:w},[]).length===0?V:y},in:(d,m,g)=>{let y=new Map;for(const h of d||[])y=p.select({id:h,value:!0,selected:new Map(y),children:m,parents:g});return y},out:(d,m)=>{const g=[];for(const[y,h]of d.entries())h!=="on"||m.has(y)||g.push(y);return g}};return p})(n.mandatory)}}),c=e.computed(()=>{if(typeof n.openStrategy=="object")return n.openStrategy;switch(n.openStrategy){case"list":return er;case"single":return Qa;default:return _l}}),s=ne(n,"selected",n.selected,v=>i.value.in(v,t.value,l.value),v=>i.value.out(v,t.value,l.value));function a(v){const p=[];let d=v;for(;d!=null;)p.unshift(d),d=l.value.get(d);return p}e.onBeforeUnmount(()=>{o=!0});const u=le("nested"),f={id:e.shallowRef(),root:{opened:r,selected:s,selectedValues:e.computed(()=>{const v=[];for(const[p,d]of s.value.entries())d==="on"&&v.push(p);return v}),register:(v,p,d)=>{p&&v!==p&&l.value.set(v,p),d&&t.value.set(v,[]),p!=null&&t.value.set(p,[...t.value.get(p)||[],v])},unregister:v=>{if(o)return;t.value.delete(v);const p=l.value.get(v);if(p){const d=t.value.get(p)??[];t.value.set(p,d.filter(m=>m!==v))}l.value.delete(v),r.value.delete(v)},open:(v,p,d)=>{u.emit("click:open",{id:v,value:p,path:a(v),event:d});const m=c.value.open({id:v,value:p,opened:new Set(r.value),children:t.value,parents:l.value,event:d});m&&(r.value=m)},openOnSelect:(v,p,d)=>{const m=c.value.select({id:v,value:p,selected:new Map(s.value),opened:new Set(r.value),children:t.value,parents:l.value,event:d});m&&(r.value=m)},select:(v,p,d)=>{u.emit("click:select",{id:v,value:p,path:a(v),event:d});const m=i.value.select({id:v,value:p,selected:new Map(s.value),children:t.value,parents:l.value,event:d});m&&(s.value=m),f.root.openOnSelect(v,p,d)},children:t,parents:l}};return e.provide(fn,f),f.root},Ol=(n,o)=>{const t=e.inject(fn,El),l=Symbol(pe()),r=e.computed(()=>n.value!==void 0?n.value:l),i={...t,id:r,open:(c,s)=>t.root.open(r.value,c,s),openOnSelect:(c,s)=>t.root.openOnSelect(r.value,c,s),isOpen:e.computed(()=>t.root.opened.value.has(r.value)),parent:e.computed(()=>t.root.parents.value.get(r.value)),select:(c,s)=>t.root.select(r.value,c,s),isSelected:e.computed(()=>t.root.selected.value.get(e.toRaw(r.value))==="on"),isIndeterminate:e.computed(()=>t.root.selected.value.get(r.value)==="indeterminate"),isLeaf:e.computed(()=>!t.root.children.value.get(r.value)),isGroupActivator:t.isGroupActivator};return!t.isGroupActivator&&t.root.register(r.value,t.id.value,o),e.onBeforeUnmount(()=>{!t.isGroupActivator&&t.root.unregister(r.value)}),o&&e.provide(fn,i),i},or=dn({name:"VListGroupActivator",setup(n,o){let{slots:t}=o;return(()=>{const l=e.inject(fn,El);e.provide(fn,{...l,isGroupActivator:!0})})(),()=>{var l;return(l=t.default)==null?void 0:l.call(t)}}}),lr=j({activeColor:String,baseColor:String,color:String,collapseIcon:{type:Q,default:"$collapse"},expandIcon:{type:Q,default:"$expand"},prependIcon:Q,appendIcon:Q,fluid:Boolean,subgroup:Boolean,title:String,value:null,...J(),...ue()},"VListGroup"),Fo=U()({name:"VListGroup",props:lr(),setup(n,o){let{slots:t}=o;const{isOpen:l,open:r,id:i}=Ol(e.toRef(n,"value"),!0),c=e.computed(()=>`v-list-group--id-${String(i.value)}`),s=Pl(),{isBooted:a}=function(){const d=e.shallowRef(!1);return e.onMounted(()=>{window.requestAnimationFrame(()=>{d.value=!0})}),{ssrBootStyles:e.computed(()=>d.value?void 0:{transition:"none !important"}),isBooted:e.readonly(d)}}();function u(d){r(!l.value,d)}const f=e.computed(()=>({onClick:u,class:"v-list-group__header",id:c.value})),v=e.computed(()=>l.value?n.collapseIcon:n.expandIcon),p=e.computed(()=>({VListItem:{active:l.value,activeColor:n.activeColor,baseColor:n.baseColor,color:n.color,prependIcon:n.prependIcon||n.subgroup&&v.value,appendIcon:n.appendIcon||!n.subgroup&&v.value,title:n.title,value:n.value}}));return K(()=>e.createVNode(n.tag,{class:["v-list-group",{"v-list-group--prepend":s==null?void 0:s.hasPrepend.value,"v-list-group--fluid":n.fluid,"v-list-group--subgroup":n.subgroup,"v-list-group--open":l.value},n.class],style:n.style},{default:()=>[t.activator&&e.createVNode(oe,{defaults:p.value},{default:()=>[e.createVNode(or,null,{default:()=>[t.activator({props:f.value,isOpen:l.value})]})]}),e.createVNode(Ie,{transition:{component:wa},disabled:!a.value},{default:()=>{var d;return[e.withDirectives(e.createVNode("div",{class:"v-list-group__items",role:"group","aria-labelledby":c.value},[(d=t.default)==null?void 0:d.call(t)]),[[e.vShow,l.value]])]}})]})),{}}}),ar=Cn("v-list-item-subtitle"),rr=Cn("v-list-item-title"),ir=j({active:{type:Boolean,default:void 0},activeClass:String,activeColor:String,appendAvatar:String,appendIcon:Q,baseColor:String,disabled:Boolean,lines:String,link:{type:Boolean,default:void 0},nav:Boolean,prependAvatar:String,prependIcon:Q,ripple:{type:[Boolean,Object],default:!0},subtitle:[String,Number,Boolean],title:[String,Number,Boolean],value:null,onClick:me(),onClickOnce:me(),...Je(),...J(),...ye(),...Pe(),...Qe(),...Ce(),...et(),...ue(),...te(),...ke({variant:"text"})},"VListItem"),Hn=U()({name:"VListItem",directives:{Ripple:xn},props:ir(),emits:{click:n=>!0},setup(n,o){let{attrs:t,slots:l,emit:r}=o;const i=Qn(n,t),c=e.computed(()=>n.value===void 0?i.href.value:n.value),{select:s,isSelected:a,isIndeterminate:u,isGroupActivator:f,root:v,parent:p,openOnSelect:d}=Ol(c,!1),m=Pl(),g=e.computed(()=>{var E;return n.active!==!1&&(n.active||((E=i.isActive)==null?void 0:E.value)||a.value)}),y=e.computed(()=>n.link!==!1&&i.isLink.value),h=e.computed(()=>!n.disabled&&n.link!==!1&&(n.link||i.isClickable.value||n.value!=null&&!!m)),x=e.computed(()=>n.rounded||n.nav),V=e.computed(()=>n.color??n.activeColor),T=e.computed(()=>({color:g.value?V.value??n.baseColor:n.baseColor,variant:n.variant}));e.watch(()=>{var E;return(E=i.isActive)==null?void 0:E.value},E=>{E&&p.value!=null&&v.open(p.value,!0),E&&d(E)},{immediate:!0});const{themeClasses:P}=ae(n),{borderClasses:z}=Ze(n),{colorClasses:w,colorStyles:b,variantClasses:C}=Bn(T),{densityClasses:O}=Ve(n),{dimensionStyles:F}=_e(n),{elevationClasses:N}=en(n),{roundedClasses:k}=Se(x),L=e.computed(()=>n.lines?`v-list-item--${n.lines}-line`:void 0),W=e.computed(()=>({isActive:g.value,select:s,isSelected:a.value,isIndeterminate:u.value}));function I(E){var M;r("click",E),!f&&h.value&&((M=i.navigate)==null||M.call(i,E),n.value!=null&&s(!a.value,E))}function A(E){E.key!=="Enter"&&E.key!==" "||(E.preventDefault(),I(E))}return K(()=>{const E=y.value?"a":n.tag,M=l.title||n.title,D=l.subtitle||n.subtitle,_=!(!n.appendAvatar&&!n.appendIcon),S=!(!_&&!l.append),R=!(!n.prependAvatar&&!n.prependIcon),B=!(!R&&!l.prepend);var $,G;return m==null||m.updateHasPrepend(B),n.activeColor&&($="active-color",G=["color","base-color"],G=Array.isArray(G)?G.slice(0,-1).map(H=>`'${H}'`).join(", ")+` or '${G.at(-1)}'`:`'${G}'`,e.warn(`[Vuetify UPGRADE] '${$}' is deprecated, use ${G} instead.`)),e.withDirectives(e.createVNode(E,{class:["v-list-item",{"v-list-item--active":g.value,"v-list-item--disabled":n.disabled,"v-list-item--link":h.value,"v-list-item--nav":n.nav,"v-list-item--prepend":!B&&(m==null?void 0:m.hasPrepend.value),[`${n.activeClass}`]:n.activeClass&&g.value},P.value,z.value,w.value,O.value,N.value,L.value,k.value,C.value,n.class],style:[b.value,F.value,n.style],href:i.href.value,tabindex:h.value?m?-2:0:void 0,onClick:I,onKeydown:h.value&&!y.value&&A},{default:()=>{var H;return[In(h.value||g.value,"v-list-item"),B&&e.createVNode("div",{key:"prepend",class:"v-list-item__prepend"},[l.prepend?e.createVNode(oe,{key:"prepend-defaults",disabled:!R,defaults:{VAvatar:{density:n.density,image:n.prependAvatar},VIcon:{density:n.density,icon:n.prependIcon},VListItemAction:{start:!0}}},{default:()=>{var q;return[(q=l.prepend)==null?void 0:q.call(l,W.value)]}}):e.createVNode(e.Fragment,null,[n.prependAvatar&&e.createVNode(Ke,{key:"prepend-avatar",density:n.density,image:n.prependAvatar},null),n.prependIcon&&e.createVNode(ee,{key:"prepend-icon",density:n.density,icon:n.prependIcon},null)]),e.createVNode("div",{class:"v-list-item__spacer"},null)]),e.createVNode("div",{class:"v-list-item__content","data-no-activator":""},[M&&e.createVNode(rr,{key:"title"},{default:()=>{var q;return[((q=l.title)==null?void 0:q.call(l,{title:n.title}))??n.title]}}),D&&e.createVNode(ar,{key:"subtitle"},{default:()=>{var q;return[((q=l.subtitle)==null?void 0:q.call(l,{subtitle:n.subtitle}))??n.subtitle]}}),(H=l.default)==null?void 0:H.call(l,W.value)]),S&&e.createVNode("div",{key:"append",class:"v-list-item__append"},[l.append?e.createVNode(oe,{key:"append-defaults",disabled:!_,defaults:{VAvatar:{density:n.density,image:n.appendAvatar},VIcon:{density:n.density,icon:n.appendIcon},VListItemAction:{end:!0}}},{default:()=>{var q;return[(q=l.append)==null?void 0:q.call(l,W.value)]}}):e.createVNode(e.Fragment,null,[n.appendIcon&&e.createVNode(ee,{key:"append-icon",density:n.density,icon:n.appendIcon},null),n.appendAvatar&&e.createVNode(Ke,{key:"append-avatar",density:n.density,image:n.appendAvatar},null)]),e.createVNode("div",{class:"v-list-item__spacer"},null)])]}}),[[e.resolveDirective("ripple"),h.value&&n.ripple]])}),{}}}),sr=j({color:String,inset:Boolean,sticky:Boolean,title:String,...J(),...ue()},"VListSubheader"),ur=U()({name:"VListSubheader",props:sr(),setup(n,o){let{slots:t}=o;const{textColorClasses:l,textColorStyles:r}=he(e.toRef(n,"color"));return K(()=>{const i=!(!t.default&&!n.title);return e.createVNode(n.tag,{class:["v-list-subheader",{"v-list-subheader--inset":n.inset,"v-list-subheader--sticky":n.sticky},l.value,n.class],style:[{textColorStyles:r},n.style]},{default:()=>{var c;return[i&&e.createVNode("div",{class:"v-list-subheader__text"},[((c=t.default)==null?void 0:c.call(t))??n.title])]}})}),{}}}),cr=j({color:String,inset:Boolean,length:[Number,String],thickness:[Number,String],vertical:Boolean,...J(),...te()},"VDivider"),dr=U()({name:"VDivider",props:cr(),setup(n,o){let{attrs:t}=o;const{themeClasses:l}=ae(n),{textColorClasses:r,textColorStyles:i}=he(e.toRef(n,"color")),c=e.computed(()=>{const s={};return n.length&&(s[n.vertical?"maxHeight":"maxWidth"]=Y(n.length)),n.thickness&&(s[n.vertical?"borderRightWidth":"borderTopWidth"]=Y(n.thickness)),s});return K(()=>e.createVNode("hr",{class:[{"v-divider":!0,"v-divider--inset":n.inset,"v-divider--vertical":n.vertical},l.value,r.value,n.class],style:[c.value,i.value,n.style],"aria-orientation":t.role&&t.role!=="separator"?void 0:n.vertical?"vertical":"horizontal",role:`${t.role||"separator"}`},null)),{}}}),pr=j({items:Array,returnObject:Boolean},"VListChildren"),zl=U()({name:"VListChildren",props:pr(),setup(n,o){let{slots:t}=o;return Al(),()=>{var l,r;return((l=t.default)==null?void 0:l.call(t))??((r=n.items)==null?void 0:r.map(i=>{var d,m;let{children:c,props:s,type:a,raw:u}=i;if(a==="divider")return((d=t.divider)==null?void 0:d.call(t,{props:s}))??e.createVNode(dr,s,null);if(a==="subheader")return((m=t.subheader)==null?void 0:m.call(t,{props:s}))??e.createVNode(ur,s,null);const f={subtitle:t.subtitle?g=>{var y;return(y=t.subtitle)==null?void 0:y.call(t,{...g,item:u})}:void 0,prepend:t.prepend?g=>{var y;return(y=t.prepend)==null?void 0:y.call(t,{...g,item:u})}:void 0,append:t.append?g=>{var y;return(y=t.append)==null?void 0:y.call(t,{...g,item:u})}:void 0,title:t.title?g=>{var y;return(y=t.title)==null?void 0:y.call(t,{...g,item:u})}:void 0},[v,p]=Fo.filterProps(s);return c?e.createVNode(Fo,e.mergeProps({value:s==null?void 0:s.value},v),{activator:g=>{let{props:y}=g;const h={...s,...y,value:n.returnObject?u:s.value};return t.header?t.header({props:h}):e.createVNode(Hn,h,f)},default:()=>e.createVNode(zl,{items:c},t)}):t.item?t.item({props:s}):e.createVNode(Hn,e.mergeProps(s,{value:n.returnObject?u:s.value}),f)}))}}}),$l=j({items:{type:Array,default:()=>[]},itemTitle:{type:[String,Array,Function],default:"title"},itemValue:{type:[String,Array,Function],default:"value"},itemChildren:{type:[Boolean,String,Array,Function],default:"children"},itemProps:{type:[Boolean,String,Array,Function],default:"props"},returnObject:Boolean,valueComparator:{type:Function,default:gn}},"list-items");function Vt(n,o){const t=ge(o,n.itemTitle,o),l=ge(o,n.itemValue,t),r=ge(o,n.itemChildren),i={title:t,value:l,...n.itemProps===!0?typeof o!="object"||o==null||Array.isArray(o)?void 0:"children"in o?Ue(o,["children"])[1]:o:ge(o,n.itemProps)};return{title:String(i.title??""),value:i.value,props:i,children:Array.isArray(r)?Tl(n,r):void 0,raw:o}}function Tl(n,o){const t=[];for(const l of o)t.push(Vt(n,l));return t}function vr(n,o){const t=ge(o,n.itemType,"item"),l=function(s){return typeof s=="string"||typeof s=="number"||typeof s=="boolean"}(o)?o:ge(o,n.itemTitle),r=ge(o,n.itemValue,void 0),i=ge(o,n.itemChildren),c={title:l,value:r,...n.itemProps===!0?Ue(o,["children"])[1]:ge(o,n.itemProps)};return{type:t,title:c.title,value:c.value,props:c,children:t==="item"&&i?Rl(n,i):void 0,raw:o}}function Rl(n,o){const t=[];for(const l of o)t.push(vr(n,l));return t}const fr=j({baseColor:String,activeColor:String,activeClass:String,bgColor:String,disabled:Boolean,lines:{type:[Boolean,String],default:"one"},nav:Boolean,...nr({selectStrategy:"single-leaf",openStrategy:"list"}),...Je(),...J(),...ye(),...Pe(),...Qe(),itemType:{type:String,default:"type"},...$l(),...Ce(),...ue(),...te(),...ke({variant:"text"})},"VList"),mr=U()({name:"VList",props:fr(),emits:{"update:selected":n=>!0,"update:opened":n=>!0,"click:open":n=>!0,"click:select":n=>!0},setup(n,o){let{slots:t}=o;const{items:l}=function(C){return{items:e.computed(()=>Rl(C,C.items))}}(n),{themeClasses:r}=ae(n),{backgroundColorClasses:i,backgroundColorStyles:c}=Ye(e.toRef(n,"bgColor")),{borderClasses:s}=Ze(n),{densityClasses:a}=Ve(n),{dimensionStyles:u}=_e(n),{elevationClasses:f}=en(n),{roundedClasses:v}=Se(n),{open:p,select:d}=tr(n),m=e.computed(()=>n.lines?`v-list--${n.lines}-line`:void 0),g=e.toRef(n,"activeColor"),y=e.toRef(n,"baseColor"),h=e.toRef(n,"color");Al(),Xe({VListGroup:{activeColor:g,baseColor:y,color:h},VListItem:{activeClass:e.toRef(n,"activeClass"),activeColor:g,baseColor:y,color:h,density:e.toRef(n,"density"),disabled:e.toRef(n,"disabled"),lines:e.toRef(n,"lines"),nav:e.toRef(n,"nav"),variant:e.toRef(n,"variant")}});const x=e.shallowRef(!1),V=e.ref();function T(C){x.value=!0}function P(C){x.value=!1}function z(C){var O;x.value||C.relatedTarget&&((O=V.value)!=null&&O.contains(C.relatedTarget))||b()}function w(C){if(V.value){if(C.key==="ArrowDown")b("next");else if(C.key==="ArrowUp")b("prev");else if(C.key==="Home")b("first");else{if(C.key!=="End")return;b("last")}C.preventDefault()}}function b(C){if(V.value)return Rn(V.value,C)}return K(()=>e.createVNode(n.tag,{ref:V,class:["v-list",{"v-list--disabled":n.disabled,"v-list--nav":n.nav},r.value,i.value,s.value,a.value,f.value,m.value,v.value,n.class],style:[c.value,u.value,n.style],tabindex:n.disabled||x.value?-1:0,role:"listbox","aria-activedescendant":void 0,onFocusin:T,onFocusout:P,onFocus:z,onKeydown:w},{default:()=>[e.createVNode(zl,{items:l.value,returnObject:n.returnObject},t)]})),{open:p,select:d,focus:b}}});function it(n,o){return{x:n.x+o.x,y:n.y+o.y}}function No(n,o){if(n.side==="top"||n.side==="bottom"){const{side:t,align:l}=n;return it({x:l==="left"?0:l==="center"?o.width/2:l==="right"?o.width:l,y:t==="top"?0:t==="bottom"?o.height:t},o)}if(n.side==="left"||n.side==="right"){const{side:t,align:l}=n;return it({x:t==="left"?0:t==="right"?o.width:t,y:l==="top"?0:l==="center"?o.height/2:l==="bottom"?o.height:l},o)}return it({x:o.width/2,y:o.height/2},o)}const Dl={static:function(){},connected:function(n,o,t){(function(d){for(;d;){if(window.getComputedStyle(d).position==="fixed")return!0;d=d.offsetParent}return!1})(n.activatorEl.value)&&Object.assign(t.value,{position:"fixed",top:0,[n.isRtl.value?"right":"left"]:0});const{preferredAnchor:l,preferredOrigin:r}=Pt(()=>{const d=mt(o.location,n.isRtl.value),m=o.origin==="overlap"?d:o.origin==="auto"?ot(d):mt(o.origin,n.isRtl.value);return d.side===m.side&&d.align===lt(m).align?{preferredAnchor:no(d),preferredOrigin:no(m)}:{preferredAnchor:d,preferredOrigin:m}}),[i,c,s,a]=["minWidth","minHeight","maxWidth","maxHeight"].map(d=>e.computed(()=>{const m=parseFloat(o[d]);return isNaN(m)?1/0:m})),u=e.computed(()=>{if(Array.isArray(o.offset))return o.offset;if(typeof o.offset=="string"){const d=o.offset.split(" ").map(parseFloat);return d.length<2&&d.push(0),d}return typeof o.offset=="number"?[o.offset,0]:[0,0]});let f=!1;const v=new ResizeObserver(()=>{f&&p()});function p(){if(f=!1,requestAnimationFrame(()=>{requestAnimationFrame(()=>f=!0)}),!n.activatorEl.value||!n.contentEl.value)return;const d=n.activatorEl.value.getBoundingClientRect(),m=function(O,F){F?O.style.removeProperty("left"):O.style.removeProperty("right");const N=_t(O);return F?N.x+=parseFloat(O.style.right||0):N.x-=parseFloat(O.style.left||0),N.y-=parseFloat(O.style.top||0),N}(n.contentEl.value,n.isRtl.value),g=Wn(n.contentEl.value);g.length||(g.push(document.documentElement),n.contentEl.value.style.top&&n.contentEl.value.style.left||(m.x-=parseFloat(document.documentElement.style.getPropertyValue("--v-body-scroll-x")||0),m.y-=parseFloat(document.documentElement.style.getPropertyValue("--v-body-scroll-y")||0)));const y=g.reduce((O,F)=>{const N=F.getBoundingClientRect(),k=new De({x:F===document.documentElement?0:N.x,y:F===document.documentElement?0:N.y,width:F.clientWidth,height:F.clientHeight});return O?new De({x:Math.max(O.left,k.left),y:Math.max(O.top,k.top),width:Math.min(O.right,k.right)-Math.max(O.left,k.left),height:Math.min(O.bottom,k.bottom)-Math.max(O.top,k.top)}):k},void 0);y.x+=12,y.y+=12,y.width-=24,y.height-=24;let h={anchor:l.value,origin:r.value};function x(O){const F=new De(m),N=No(O.anchor,d),k=No(O.origin,F);let{x:L,y:W}=(A=k,{x:(I=N).x-A.x,y:I.y-A.y});var I,A;switch(O.anchor.side){case"top":W-=u.value[0];break;case"bottom":W+=u.value[0];break;case"left":L-=u.value[0];break;case"right":L+=u.value[0]}switch(O.anchor.align){case"top":W-=u.value[1];break;case"bottom":W+=u.value[1];break;case"left":L-=u.value[1];break;case"right":L+=u.value[1]}return F.x+=L,F.y+=W,F.width=Math.min(F.width,s.value),F.height=Math.min(F.height,a.value),{overflows:oo(F,y),x:L,y:W}}let V=0,T=0;const P={x:0,y:0},z={x:!1,y:!1};let w=-1;for(;;){if(w++>10){b="Infinite loop detected in connectedLocationStrategy",e.warn(`Vuetify error: ${b}`);break}const{x:O,y:F,overflows:N}=x(h);V+=O,T+=F,m.x+=O,m.y+=F;{const k=to(h.anchor),L=N.x.before||N.x.after,W=N.y.before||N.y.after;let I=!1;if(["x","y"].forEach(A=>{if(A==="x"&&L&&!z.x||A==="y"&&W&&!z.y){const E={anchor:{...h.anchor},origin:{...h.origin}},M=A==="x"?k==="y"?lt:ot:k==="y"?ot:lt;E.anchor=M(E.anchor),E.origin=M(E.origin);const{overflows:D}=x(E);(D[A].before<=N[A].before&&D[A].after<=N[A].after||D[A].before+D[A].after<(N[A].before+N[A].after)/2)&&(h=E,I=z[A]=!0)}}),I)continue}N.x.before&&(V+=N.x.before,m.x+=N.x.before),N.x.after&&(V-=N.x.after,m.x-=N.x.after),N.y.before&&(T+=N.y.before,m.y+=N.y.before),N.y.after&&(T-=N.y.after,m.y-=N.y.after);{const k=oo(m,y);P.x=y.width-k.x.before-k.x.after,P.y=y.height-k.y.before-k.y.after,V+=k.x.before,m.x+=k.x.before,T+=k.y.before,m.y+=k.y.before}break}var b;const C=to(h.anchor);return Object.assign(t.value,{"--v-overlay-anchor-origin":`${h.anchor.side} ${h.anchor.align}`,transformOrigin:`${h.origin.side} ${h.origin.align}`,top:Y(st(T)),left:n.isRtl.value?void 0:Y(st(V)),right:n.isRtl.value?Y(st(-V)):void 0,minWidth:Y(C==="y"?Math.min(i.value,d.width):i.value),maxWidth:Y(Ao(un(P.x,i.value===1/0?0:i.value,s.value))),maxHeight:Y(Ao(un(P.y,c.value===1/0?0:c.value,a.value)))}),{available:P,contentBox:m}}return e.watch([n.activatorEl,n.contentEl],(d,m)=>{let[g,y]=d,[h,x]=m;h&&v.unobserve(h),g&&v.observe(g),x&&v.unobserve(x),y&&v.observe(y)},{immediate:!0}),e.onScopeDispose(()=>{v.disconnect()}),e.watch(()=>[l.value,r.value,o.offset,o.minWidth,o.minHeight,o.maxWidth,o.maxHeight],()=>p()),e.nextTick(()=>{const d=p();if(!d)return;const{available:m,contentBox:g}=d;g.height>m.y&&requestAnimationFrame(()=>{p(),requestAnimationFrame(()=>{p()})})}),{updateLocation:p}}},yr=j({locationStrategy:{type:[String,Function],default:"static",validator:n=>typeof n=="function"||n in Dl},location:{type:String,default:"bottom"},origin:{type:String,default:"auto"},offset:[Number,String,Array]},"VOverlay-location-strategies");function st(n){return Math.round(n*devicePixelRatio)/devicePixelRatio}function Ao(n){return Math.ceil(n*devicePixelRatio)/devicePixelRatio}let It=!0;const Un=[];let Po=-1;function Bt(){cancelAnimationFrame(Po),Po=requestAnimationFrame(()=>{const n=Un.shift();n&&n(),Un.length?Bt():It=!0})}const $n={none:null,close:function(n){_o(n.activatorEl.value??n.contentEl.value,function(o){n.isActive.value=!1})},block:function(n,o){var s;const t=(s=n.root.value)==null?void 0:s.offsetParent,l=[...new Set([...Wn(n.activatorEl.value,o.contained?t:void 0),...Wn(n.contentEl.value,o.contained?t:void 0)])].filter(a=>!a.classList.contains("v-overlay-scroll-blocked")),r=window.innerWidth-document.documentElement.offsetWidth,i=(c=t||document.documentElement,Ot(c)&&c);var c;i&&n.root.value.classList.add("v-overlay--scroll-blocked"),l.forEach((a,u)=>{a.style.setProperty("--v-body-scroll-x",Y(-a.scrollLeft)),a.style.setProperty("--v-body-scroll-y",Y(-a.scrollTop)),a!==document.documentElement&&a.style.setProperty("--v-scrollbar-offset",Y(r)),a.classList.add("v-overlay-scroll-blocked")}),e.onScopeDispose(()=>{l.forEach((a,u)=>{const f=parseFloat(a.style.getPropertyValue("--v-body-scroll-x")),v=parseFloat(a.style.getPropertyValue("--v-body-scroll-y"));a.style.removeProperty("--v-body-scroll-x"),a.style.removeProperty("--v-body-scroll-y"),a.style.removeProperty("--v-scrollbar-offset"),a.classList.remove("v-overlay-scroll-blocked"),a.scrollLeft=-f,a.scrollTop=-v}),i&&n.root.value.classList.remove("v-overlay--scroll-blocked")})},reposition:function(n,o,t){let l=!1,r=-1,i=-1;function c(s){var a;a=()=>{var v,p;const u=performance.now();(p=(v=n.updateLocation).value)==null||p.call(v,s),l=(performance.now()-u)/(1e3/60)>2},!It||Un.length?(Un.push(a),Bt()):(It=!1,a(),Bt())}i=(typeof requestIdleCallback>"u"?s=>s():requestIdleCallback)(()=>{t.run(()=>{_o(n.activatorEl.value??n.contentEl.value,s=>{l?(cancelAnimationFrame(r),r=requestAnimationFrame(()=>{r=requestAnimationFrame(()=>{c(s)})})):c(s)})})}),e.onScopeDispose(()=>{typeof cancelIdleCallback<"u"&&cancelIdleCallback(i),cancelAnimationFrame(r)})}},gr=j({scrollStrategy:{type:[String,Function],default:"block",validator:n=>typeof n=="function"||n in $n}},"VOverlay-scroll-strategies");function _o(n,o){const t=[document,...Wn(n)];t.forEach(l=>{l.addEventListener("scroll",o,{passive:!0})}),e.onScopeDispose(()=>{t.forEach(l=>{l.removeEventListener("scroll",o)})})}const wt=Symbol.for("vuetify:v-menu"),hr=j({closeDelay:[Number,String],openDelay:[Number,String]},"delay"),br=j({activator:[String,Object],activatorProps:{type:Object,default:()=>({})},openOnClick:{type:Boolean,default:void 0},openOnHover:Boolean,openOnFocus:{type:Boolean,default:void 0},closeOnContentClick:Boolean,...hr()},"VOverlay-activator");function Cr(n,o){let{isActive:t,isTop:l}=o;const r=e.ref();let i=!1,c=!1,s=!0;const a=e.computed(()=>n.openOnFocus||n.openOnFocus==null&&n.openOnHover),u=e.computed(()=>n.openOnClick||n.openOnClick==null&&!n.openOnHover&&!a.value),{runOpenDelay:f,runCloseDelay:v}=function(w,b){const C={},O=F=>()=>{if(!ce)return Promise.resolve(!0);const N=F==="openDelay";return C.closeDelay&&window.clearTimeout(C.closeDelay),delete C.closeDelay,C.openDelay&&window.clearTimeout(C.openDelay),delete C.openDelay,new Promise(k=>{const L=parseInt(w[F]??0,10);C[F]=window.setTimeout(()=>{b==null||b(N),k(N)},L)})};return{runCloseDelay:O("closeDelay"),runOpenDelay:O("openDelay")}}(n,w=>{w!==(n.openOnHover&&i||a.value&&c)||n.openOnHover&&t.value&&!l.value||(t.value!==w&&(s=!0),t.value=w)}),p=w=>{w.stopPropagation(),r.value=w.currentTarget||w.target,t.value=!t.value},d=w=>{var b;(b=w.sourceCapabilities)!=null&&b.firesTouchEvents||(i=!0,r.value=w.currentTarget||w.target,f())},m=w=>{i=!1,v()},g=w=>{Dn(w.target,":focus-visible")!==!1&&(c=!0,w.stopPropagation(),r.value=w.currentTarget||w.target,f())},y=w=>{c=!1,w.stopPropagation(),v()},h=e.computed(()=>{const w={};return u.value&&(w.onClick=p),n.openOnHover&&(w.onMouseenter=d,w.onMouseleave=m),a.value&&(w.onFocus=g,w.onBlur=y),w}),x=e.computed(()=>{const w={};if(n.openOnHover&&(w.onMouseenter=()=>{i=!0,f()},w.onMouseleave=()=>{i=!1,v()}),a.value&&(w.onFocusin=()=>{c=!0,f()},w.onFocusout=()=>{c=!1,v()}),n.closeOnContentClick){const b=e.inject(wt,null);w.onClick=()=>{t.value=!1,b==null||b.closeParents()}}return w}),V=e.computed(()=>{const w={};return n.openOnHover&&(w.onMouseenter=()=>{s&&(i=!0,s=!1,f())},w.onMouseleave=()=>{i=!1,v()}),w});e.watch(l,w=>{!w||(!n.openOnHover||i||a.value&&c)&&(!a.value||c||n.openOnHover&&i)||(t.value=!1)});const T=e.ref();e.watchEffect(()=>{T.value&&e.nextTick(()=>{r.value=pt(T.value)})});const P=le("useActivator");let z;return e.watch(()=>!!n.activator,w=>{w&&ce?(z=e.effectScope(),z.run(()=>{(function(b,C,O){let{activatorEl:F,activatorEvents:N}=O;function k(){let I=arguments.length>0&&arguments[0]!==void 0?arguments[0]:W(),A=arguments.length>1&&arguments[1]!==void 0?arguments[1]:b.activatorProps;I&&function(E,M){Object.keys(M).forEach(D=>{if(vt(D)){const _=Zt(D),S=An.get(E);if(M[D]==null)S==null||S.forEach(R=>{const[B,$]=R;B===_&&(E.removeEventListener(_,$),S.delete(R))});else if(!S||![...S].some(R=>R[0]===_&&R[1]===M[D])){E.addEventListener(_,M[D]);const R=S||new Set;R.add([_,M[D]]),An.has(E)||An.set(E,R)}}else M[D]==null?E.removeAttribute(D):E.setAttribute(D,M[D])})}(I,e.mergeProps(N.value,A))}function L(){let I=arguments.length>0&&arguments[0]!==void 0?arguments[0]:W(),A=arguments.length>1&&arguments[1]!==void 0?arguments[1]:b.activatorProps;I&&function(E,M){Object.keys(M).forEach(D=>{if(vt(D)){const _=Zt(D),S=An.get(E);S==null||S.forEach(R=>{const[B,$]=R;B===_&&(E.removeEventListener(_,$),S.delete(R))})}else E.removeAttribute(D)})}(I,e.mergeProps(N.value,A))}function W(){var E,M;let I,A=arguments.length>0&&arguments[0]!==void 0?arguments[0]:b.activator;if(A)if(A==="parent"){let D=(M=(E=C==null?void 0:C.proxy)==null?void 0:E.$el)==null?void 0:M.parentNode;for(;D!=null&&D.hasAttribute("data-no-activator");)D=D.parentNode;I=D}else I=typeof A=="string"?document.querySelector(A):"$el"in A?A.$el:A;return F.value=(I==null?void 0:I.nodeType)===Node.ELEMENT_NODE?I:null,F.value}e.watch(()=>b.activator,(I,A)=>{if(A&&I!==A){const E=W(A);E&&L(E)}I&&e.nextTick(()=>k())},{immediate:!0}),e.watch(()=>b.activatorProps,()=>{k()}),e.onScopeDispose(()=>{L()})})(n,P,{activatorEl:r,activatorEvents:h})})):z&&z.stop()},{flush:"post",immediate:!0}),e.onScopeDispose(()=>{z==null||z.stop()}),{activatorEl:r,activatorRef:T,activatorEvents:h,contentEvents:x,scrimEvents:V}}const Sr=Symbol.for("vuetify:display");function Ll(){const n=e.inject(Sr);if(!n)throw new Error("Could not find Vuetify display injection");return n}const Vr=j({eager:Boolean},"lazy");function Ml(){const n=le("useScopeId").vnode.scopeId;return{scopeId:n?{[n]:""}:void 0}}const Eo=Symbol.for("vuetify:stack"),ln=e.reactive([]);function Ir(){return!0}function Oo(n,o,t){if(!n||Wl(n,t)===!1)return!1;const l=Yo(o);if(typeof ShadowRoot<"u"&&l instanceof ShadowRoot&&l.host===n.target)return!1;const r=(typeof t.value=="object"&&t.value.include||(()=>[]))();return r.push(o),!r.some(i=>i==null?void 0:i.contains(n.target))}function Wl(n,o){return(typeof o.value=="object"&&o.value.closeConditional||Ir)(n)}function zo(n,o){const t=Yo(n);o(document),typeof ShadowRoot<"u"&&t instanceof ShadowRoot&&o(t)}const Br={mounted(n,o){const t=r=>function(i,c,s){const a=typeof s.value=="function"?s.value:s.value.handler;c._clickOutside.lastMousedownWasOutside&&Oo(i,c,s)&&setTimeout(()=>{Wl(i,s)&&a&&a(i)},0)}(r,n,o),l=r=>{n._clickOutside.lastMousedownWasOutside=Oo(r,n,o)};zo(n,r=>{r.addEventListener("click",t,!0),r.addEventListener("mousedown",l,!0)}),n._clickOutside||(n._clickOutside={lastMousedownWasOutside:!1}),n._clickOutside[o.instance.$.uid]={onClick:t,onMousedown:l}},unmounted(n,o){n._clickOutside&&(zo(n,t=>{var i;if(!t||!((i=n._clickOutside)!=null&&i[o.instance.$.uid]))return;const{onClick:l,onMousedown:r}=n._clickOutside[o.instance.$.uid];t.removeEventListener("click",l,!0),t.removeEventListener("mousedown",r,!0)}),delete n._clickOutside[o.instance.$.uid])}};function wr(n){const{modelValue:o,color:t,...l}=n;return e.createVNode(e.Transition,{name:"fade-transition",appear:!0},{default:()=>[n.modelValue&&e.createVNode("div",e.mergeProps({class:["v-overlay__scrim",n.color.backgroundColorClasses.value],style:n.color.backgroundColorStyles.value},l),null)]})}const jl=j({absolute:Boolean,attach:[Boolean,String,Object],closeOnBack:{type:Boolean,default:!0},contained:Boolean,contentClass:null,contentProps:null,disabled:Boolean,noClickAnimation:Boolean,modelValue:Boolean,persistent:Boolean,scrim:{type:[Boolean,String],default:!0},zIndex:{type:[Number,String],default:2e3},...br(),...J(),...Pe(),...Vr(),...yr(),...gr(),...te(),...Vn()},"VOverlay"),$o=U()({name:"VOverlay",directives:{ClickOutside:Br},inheritAttrs:!1,props:{_disableGlobalStack:Boolean,...jl()},emits:{"click:outside":n=>!0,"update:modelValue":n=>!0,afterLeave:()=>!0},setup(n,o){var D,_;let{slots:t,attrs:l,emit:r}=o;const i=ne(n,"modelValue"),c=e.computed({get:()=>i.value,set:S=>{S&&n.disabled||(i.value=S)}}),{teleportTarget:s}=(a=e.computed(()=>n.attach||n.contained),{teleportTarget:e.computed(()=>{const S=a.value;if(S===!0||!ce)return;const R=S===!1?document.body:typeof S=="string"?document.querySelector(S):S;if(R==null)return void e.warn(`Unable to locate target ${S}`);let B=R.querySelector(":scope > .v-overlay-container");return B||(B=document.createElement("div"),B.className="v-overlay-container",R.appendChild(B)),B})});var a;const{themeClasses:u}=ae(n),{rtlClasses:f,isRtl:v}=Sn(),{hasContent:p,onAfterLeave:d}=function(S,R){const B=e.shallowRef(!1),$=e.computed(()=>B.value||S.eager||R.value);return e.watch(R,()=>B.value=!0),{isBooted:B,hasContent:$,onAfterLeave:function(){S.eager||(B.value=!1)}}}(n,c),m=Ye(e.computed(()=>typeof n.scrim=="string"?n.scrim:null)),{globalTop:g,localTop:y,stackStyles:h}=function(S,R,B){const $=le("useStack"),G=!B,H=e.inject(Eo,void 0),q=e.reactive({activeChildren:new Set});e.provide(Eo,q);const Z=e.shallowRef(+R.value);Fe(S,()=>{var tn;const fe=(tn=ln.at(-1))==null?void 0:tn[1];Z.value=fe?fe+10:+R.value,G&&ln.push([$.uid,Z.value]),H==null||H.activeChildren.add($.uid),e.onScopeDispose(()=>{if(G){const Xl=e.toRaw(ln).findIndex(Jl=>Jl[0]===$.uid);ln.splice(Xl,1)}H==null||H.activeChildren.delete($.uid)})});const re=e.shallowRef(!0);G&&e.watchEffect(()=>{var tn;const fe=((tn=ln.at(-1))==null?void 0:tn[0])===$.uid;setTimeout(()=>re.value=fe)});const nn=e.computed(()=>!q.activeChildren.size);return{globalTop:e.readonly(re),localTop:nn,stackStyles:e.computed(()=>({zIndex:Z.value}))}}(c,e.toRef(n,"zIndex"),n._disableGlobalStack),{activatorEl:x,activatorRef:V,activatorEvents:T,contentEvents:P,scrimEvents:z}=Cr(n,{isActive:c,isTop:y}),{dimensionStyles:w}=_e(n),b=function(){if(!ce)return e.shallowRef(!1);const{ssr:S}=Ll();if(S){const R=e.shallowRef(!1);return e.onMounted(()=>{R.value=!0}),R}return e.shallowRef(!0)}(),{scopeId:C}=Ml();e.watch(()=>n.disabled,S=>{S&&(c.value=!1)});const O=e.ref(),F=e.ref(),{contentStyles:N,updateLocation:k}=function(S,R){const B=e.ref({}),$=e.ref();function G(H){var q;(q=$.value)==null||q.call($,H)}return ce&&(Fe(()=>!(!R.isActive.value||!S.locationStrategy),H=>{var q,Z;e.watch(()=>S.locationStrategy,H),e.onScopeDispose(()=>{$.value=void 0}),typeof S.locationStrategy=="function"?$.value=(q=S.locationStrategy(R,S,B))==null?void 0:q.updateLocation:$.value=(Z=Dl[S.locationStrategy](R,S,B))==null?void 0:Z.updateLocation}),window.addEventListener("resize",G,{passive:!0}),e.onScopeDispose(()=>{window.removeEventListener("resize",G),$.value=void 0})),{contentStyles:B,updateLocation:$}}(n,{isRtl:v,contentEl:F,activatorEl:x,isActive:c});function L(S){r("click:outside",S),n.persistent?M():c.value=!1}function W(){return c.value&&g.value}function I(S){var R,B;S.key==="Escape"&&g.value&&(n.persistent?M():(c.value=!1,(R=F.value)!=null&&R.contains(document.activeElement)&&((B=x.value)==null||B.focus())))}(function(S,R){if(!ce)return;let B;e.watchEffect(async()=>{B==null||B.stop(),R.isActive.value&&S.scrollStrategy&&(B=e.effectScope(),await e.nextTick(),B.active&&B.run(()=>{var $;typeof S.scrollStrategy=="function"?S.scrollStrategy(R,S,B):($=$n[S.scrollStrategy])==null||$.call($n,R,S,B)}))}),e.onScopeDispose(()=>{B==null||B.stop()})})(n,{root:O,contentEl:F,activatorEl:x,isActive:c,updateLocation:k}),ce&&e.watch(c,S=>{S?window.addEventListener("keydown",I):window.removeEventListener("keydown",I)},{immediate:!0});const A=(_=(D=le("useRouter"))==null?void 0:D.proxy)==null?void 0:_.$router;Fe(()=>n.closeOnBack,()=>{(function(S,R){let B,$,G=!1;function H(q){var Z;(Z=q.state)!=null&&Z.replaced||(G=!0,setTimeout(()=>G=!1))}ce&&(e.nextTick(()=>{window.addEventListener("popstate",H),B=S==null?void 0:S.beforeEach((q,Z,re)=>{rt?G?R(re):re():setTimeout(()=>G?R(re):re()),rt=!0}),$=S==null?void 0:S.afterEach(()=>{rt=!1})}),e.onScopeDispose(()=>{window.removeEventListener("popstate",H),B==null||B(),$==null||$()}))})(A,S=>{g.value&&c.value?(S(!1),n.persistent?M():c.value=!1):S()})});const E=e.ref();function M(){n.noClickAnimation||F.value&&$e(F.value,[{transformOrigin:"center"},{transform:"scale(1.03)"},{transformOrigin:"center"}],{duration:150,easing:Mn})}return e.watch(()=>c.value&&(n.absolute||n.contained)&&s.value==null,S=>{if(S){const R=Xo(O.value);R&&R!==document.scrollingElement&&(E.value=R.scrollTop)}}),K(()=>{var S;return e.createVNode(e.Fragment,null,[(S=t.activator)==null?void 0:S.call(t,{isActive:c.value,props:e.mergeProps({ref:V},T.value,n.activatorProps)}),b.value&&p.value&&e.createVNode(e.Teleport,{disabled:!s.value,to:s.value},{default:()=>[e.createVNode("div",e.mergeProps({class:["v-overlay",{"v-overlay--absolute":n.absolute||n.contained,"v-overlay--active":c.value,"v-overlay--contained":n.contained},u.value,f.value,n.class],style:[h.value,{top:Y(E.value)},n.style],ref:O},C,l),[e.createVNode(wr,e.mergeProps({color:m,modelValue:c.value&&!!n.scrim},z.value),null),e.createVNode(Ie,{appear:!0,persisted:!0,transition:n.transition,target:x.value,onAfterLeave:()=>{d(),r("afterLeave")}},{default:()=>{var R;return[e.withDirectives(e.createVNode("div",e.mergeProps({ref:F,class:["v-overlay__content",n.contentClass],style:[w.value,N.value]},P.value,n.contentProps),[(R=t.default)==null?void 0:R.call(t,{isActive:c})]),[[e.vShow,c.value],[e.resolveDirective("click-outside"),{handler:L,closeConditional:W,include:()=>[x.value]}]])]}})])]})])}),{activatorEl:x,animateClick:M,contentEl:F,globalTop:g,localTop:y,updateLocation:k}}}),ut=Symbol("Forwarded refs");function ct(n,o){let t=n;for(;t;){const l=Reflect.getOwnPropertyDescriptor(t,o);if(l)return l;t=Object.getPrototypeOf(t)}}function nt(n){for(var o=arguments.length,t=new Array(o>1?o-1:0),l=1;l!0},setup(n,o){let{slots:t}=o;const l=ne(n,"modelValue"),{scopeId:r}=Ml(),i=pe(),c=e.computed(()=>n.id||`v-menu-${i}`),s=e.ref(),a=e.inject(wt,null),u=e.shallowRef(0);async function f(g){var x,V,T;const y=g.relatedTarget,h=g.target;await e.nextTick(),l.value&&y!==h&&((x=s.value)!=null&&x.contentEl)&&((V=s.value)!=null&&V.globalTop)&&![document,s.value.contentEl].includes(h)&&!s.value.contentEl.contains(h)&&((T=ft(s.value.contentEl)[0])==null||T.focus())}function v(){a==null||a.closeParents()}function p(g){var y,h,x;!n.disabled&&g.key==="Tab"&&(Go(ft((y=s.value)==null?void 0:y.contentEl,!1),g.shiftKey?"prev":"next",V=>V.tabIndex>=0)||(l.value=!1,(x=(h=s.value)==null?void 0:h.activatorEl)==null||x.focus()))}function d(g){var h;if(n.disabled)return;const y=(h=s.value)==null?void 0:h.contentEl;y&&l.value?g.key==="ArrowDown"?(g.preventDefault(),Rn(y,"next")):g.key==="ArrowUp"&&(g.preventDefault(),Rn(y,"prev")):["ArrowDown","ArrowUp"].includes(g.key)&&(l.value=!0,g.preventDefault(),setTimeout(()=>setTimeout(()=>d(g))))}e.provide(wt,{register(){++u.value},unregister(){--u.value},closeParents(){setTimeout(()=>{u.value||(l.value=!1,a==null||a.closeParents())},40)}}),e.watch(l,g=>{g?(a==null||a.register(),document.addEventListener("focusin",f,{once:!0})):(a==null||a.unregister(),document.removeEventListener("focusin",f))});const m=e.computed(()=>e.mergeProps({"aria-haspopup":"menu","aria-expanded":String(l.value),"aria-owns":c.value,onKeydown:d},n.activatorProps));return K(()=>{const[g]=$o.filterProps(n);return e.createVNode($o,e.mergeProps({ref:s,class:["v-menu",n.class],style:n.style},g,{modelValue:l.value,"onUpdate:modelValue":y=>l.value=y,absolute:!0,activatorProps:m.value,"onClick:outside":v,onKeydown:p},r),{activator:t.activator,default:function(){for(var y=arguments.length,h=new Array(y),x=0;x{var V;return[(V=t.default)==null?void 0:V.call(t,...h)]}})}})}),nt({id:c,ΨopenChildren:u},s)}}),Fr=j({active:Boolean,max:[Number,String],value:{type:[Number,String],default:0},...J(),...Vn({transition:{component:nl}})},"VCounter"),Gl=U()({name:"VCounter",functional:!0,props:Fr(),setup(n,o){let{slots:t}=o;const l=e.computed(()=>n.max?`${n.value} / ${n.max}`:String(n.value));return K(()=>e.createVNode(Ie,{transition:n.transition},{default:()=>[e.withDirectives(e.createVNode("div",{class:["v-counter",n.class],style:n.style},[t.default?t.default({counter:l.value,max:n.max,value:n.value}):l.value]),[[e.vShow,n.active]])]})),{}}}),Nr=j({floating:Boolean,...J()},"VFieldLabel"),En=U()({name:"VFieldLabel",props:Nr(),setup(n,o){let{slots:t}=o;return K(()=>e.createVNode(Vl,{class:["v-field-label",{"v-field-label--floating":n.floating},n.class],style:n.style,"aria-hidden":n.floating||void 0},t)),{}}}),Ar=["underlined","outlined","filled","solo","solo-inverted","solo-filled","plain"],Gt=j({appendInnerIcon:Q,bgColor:String,clearable:Boolean,clearIcon:{type:Q,default:"$clear"},active:Boolean,centerAffix:{type:Boolean,default:void 0},color:String,baseColor:String,dirty:Boolean,disabled:{type:Boolean,default:null},error:Boolean,flat:Boolean,label:String,persistentClear:Boolean,prependInnerIcon:Q,reverse:Boolean,singleLine:Boolean,variant:{type:String,default:"filled",validator:n=>Ar.includes(n)},"onClick:clear":me(),"onClick:appendInner":me(),"onClick:prependInner":me(),...J(),...Mt(),...Ce(),...te()},"VField"),qt=U()({name:"VField",inheritAttrs:!1,props:{id:String,...xl(),...Gt()},emits:{"update:focused":n=>!0,"update:modelValue":n=>!0},setup(n,o){let{attrs:t,emit:l,slots:r}=o;const{themeClasses:i}=ae(n),{loaderClasses:c}=Zn(n),{focusClasses:s,isFocused:a,focus:u,blur:f}=Fn(n),{InputIcon:v}=kl(n),{roundedClasses:p}=Se(n),{rtlClasses:d}=Sn(),m=e.computed(()=>n.dirty||n.active),g=e.computed(()=>!(n.singleLine||!n.label&&!r.label)),y=pe(),h=e.computed(()=>n.id||`input-${y}`),x=e.computed(()=>`${h.value}-messages`),V=e.ref(),T=e.ref(),P=e.ref(),z=e.computed(()=>["plain","underlined"].includes(n.variant)),{backgroundColorClasses:w,backgroundColorStyles:b}=Ye(e.toRef(n,"bgColor")),{textColorClasses:C,textColorStyles:O}=he(e.computed(()=>n.error||n.disabled?void 0:m.value&&a.value?n.color:n.baseColor));e.watch(m,k=>{if(g.value){const L=V.value.$el,W=T.value.$el;requestAnimationFrame(()=>{const I=_t(L),A=W.getBoundingClientRect(),E=A.x-I.x,M=A.y-I.y-(I.height/2-A.height/2),D=A.width/.75,_=Math.abs(D-I.width)>1?{maxWidth:Y(D)}:void 0,S=getComputedStyle(L),R=getComputedStyle(W),B=1e3*parseFloat(S.transitionDuration)||150,$=parseFloat(R.getPropertyValue("--v-field-label-scale")),G=R.getPropertyValue("color");L.style.visibility="visible",W.style.visibility="hidden",$e(L,{transform:`translate(${E}px, ${M}px) scale(${$})`,color:G,..._},{duration:B,easing:Mn,direction:k?"normal":"reverse"}).finished.then(()=>{L.style.removeProperty("visibility"),W.style.removeProperty("visibility")})})}},{flush:"post"});const F=e.computed(()=>({isActive:m,isFocused:a,controlRef:P,blur:f,focus:u}));function N(k){k.target!==document.activeElement&&k.preventDefault()}return K(()=>{var E,M,D;const k=n.variant==="outlined",L=r["prepend-inner"]||n.prependInnerIcon,W=!(!n.clearable&&!r.clear),I=!!(r["append-inner"]||n.appendInnerIcon||W),A=r.label?r.label({...F.value,label:n.label,props:{for:h.value}}):n.label;return e.createVNode("div",e.mergeProps({class:["v-field",{"v-field--active":m.value,"v-field--appended":I,"v-field--center-affix":n.centerAffix??!z.value,"v-field--disabled":n.disabled,"v-field--dirty":n.dirty,"v-field--error":n.error,"v-field--flat":n.flat,"v-field--has-background":!!n.bgColor,"v-field--persistent-clear":n.persistentClear,"v-field--prepended":L,"v-field--reverse":n.reverse,"v-field--single-line":n.singleLine,"v-field--no-label":!A,[`v-field--variant-${n.variant}`]:!0},i.value,w.value,s.value,c.value,p.value,d.value,n.class],style:[b.value,n.style],onClick:N},t),[e.createVNode("div",{class:"v-field__overlay"},null),e.createVNode(Wt,{name:"v-field",active:!!n.loading,color:n.error?"error":typeof n.loading=="string"?n.loading:n.color},{default:r.loader}),L&&e.createVNode("div",{key:"prepend",class:"v-field__prepend-inner"},[n.prependInnerIcon&&e.createVNode(v,{key:"prepend-icon",name:"prependInner"},null),(E=r["prepend-inner"])==null?void 0:E.call(r,F.value)]),e.createVNode("div",{class:"v-field__field","data-no-activator":""},[["filled","solo","solo-inverted","solo-filled"].includes(n.variant)&&g.value&&e.createVNode(En,{key:"floating-label",ref:T,class:[C.value],floating:!0,for:h.value,style:O.value},{default:()=>[A]}),e.createVNode(En,{ref:V,for:h.value},{default:()=>[A]}),(M=r.default)==null?void 0:M.call(r,{...F.value,props:{id:h.value,class:"v-field__input","aria-describedby":x.value},focus:u,blur:f})]),W&&e.createVNode(tl,{key:"clear"},{default:()=>[e.withDirectives(e.createVNode("div",{class:"v-field__clearable",onMousedown:_=>{_.preventDefault(),_.stopPropagation()}},[r.clear?r.clear():e.createVNode(v,{name:"clear"},null)]),[[e.vShow,n.dirty]])]}),I&&e.createVNode("div",{key:"append",class:"v-field__append-inner"},[(D=r["append-inner"])==null?void 0:D.call(r,F.value),n.appendInnerIcon&&e.createVNode(v,{key:"append-icon",name:"appendInner"},null)]),e.createVNode("div",{class:["v-field__outline",C.value],style:O.value},[k&&e.createVNode(e.Fragment,null,[e.createVNode("div",{class:"v-field__outline__start"},null),g.value&&e.createVNode("div",{class:"v-field__outline__notch"},[e.createVNode(En,{ref:T,floating:!0,for:h.value},{default:()=>[A]})]),e.createVNode("div",{class:"v-field__outline__end"},null)]),z.value&&g.value&&e.createVNode(En,{ref:T,floating:!0,for:h.value},{default:()=>[A]})])])}),{controlRef:P}}});function ql(n){return Ue(n,Object.keys(qt.props).filter(o=>!vt(o)&&o!=="class"&&o!=="style"))}const Pr=["color","file","time","date","datetime-local","week","month"],Hl=j({autofocus:Boolean,counter:[Boolean,Number,String],counterValue:[Number,Function],prefix:String,placeholder:String,persistentPlaceholder:Boolean,persistentCounter:Boolean,suffix:String,role:String,type:{type:String,default:"text"},modelModifiers:Object,...Nn(),...Gt()},"VTextField"),kt=U()({name:"VTextField",directives:{Intersect:Tt},inheritAttrs:!1,props:Hl(),emits:{"click:control":n=>!0,"mousedown:control":n=>!0,"update:focused":n=>!0,"update:modelValue":n=>!0},setup(n,o){let{attrs:t,emit:l,slots:r}=o;const i=ne(n,"modelValue"),{isFocused:c,focus:s,blur:a}=Fn(n),u=e.computed(()=>typeof n.counterValue=="function"?n.counterValue(i.value):typeof n.counterValue=="number"?n.counterValue:(i.value??"").toString().length),f=e.computed(()=>t.maxlength?t.maxlength:!n.counter||typeof n.counter!="number"&&typeof n.counter!="string"?void 0:n.counter),v=e.computed(()=>["plain","underlined"].includes(n.variant));function p(z,w){var b,C;n.autofocus&&z&&((C=(b=w[0].target)==null?void 0:b.focus)==null||C.call(b))}const d=e.ref(),m=e.ref(),g=e.ref(),y=e.computed(()=>Pr.includes(n.type)||n.persistentPlaceholder||c.value||n.active);function h(){var z;g.value!==document.activeElement&&((z=g.value)==null||z.focus()),c.value||s()}function x(z){l("mousedown:control",z),z.target!==g.value&&(h(),z.preventDefault())}function V(z){h(),l("click:control",z)}function T(z){z.stopPropagation(),h(),e.nextTick(()=>{i.value=null,jo(n["onClick:clear"],z)})}function P(z){var b;const w=z.target;if(i.value=w.value,((b=n.modelModifiers)==null?void 0:b.trim)&&["text","search","password","tel","url"].includes(n.type)){const C=[w.selectionStart,w.selectionEnd];e.nextTick(()=>{w.selectionStart=C[0],w.selectionEnd=C[1]})}}return K(()=>{const z=!!(r.counter||n.counter!==!1&&n.counter!=null),w=!(!z&&!r.details),[b,C]=bn(t),[{modelValue:O,...F}]=we.filterProps(n),[N]=ql(n);return e.createVNode(we,e.mergeProps({ref:d,modelValue:i.value,"onUpdate:modelValue":k=>i.value=k,class:["v-text-field",{"v-text-field--prefixed":n.prefix,"v-text-field--suffixed":n.suffix,"v-text-field--plain-underlined":["plain","underlined"].includes(n.variant)},n.class],style:n.style},b,F,{centerAffix:!v.value,focused:c.value}),{...r,default:k=>{let{id:L,isDisabled:W,isDirty:I,isReadonly:A,isValid:E}=k;return e.createVNode(qt,e.mergeProps({ref:m,onMousedown:x,onClick:V,"onClick:clear":T,"onClick:prependInner":n["onClick:prependInner"],"onClick:appendInner":n["onClick:appendInner"],role:n.role},N,{id:L.value,active:y.value||I.value,dirty:I.value||n.dirty,disabled:W.value,focused:c.value,error:E.value===!1}),{...r,default:M=>{let{props:{class:D,..._}}=M;const S=e.withDirectives(e.createVNode("input",e.mergeProps({ref:g,value:i.value,onInput:P,autofocus:n.autofocus,readonly:A.value,disabled:W.value,name:n.name,placeholder:n.placeholder,size:1,type:n.type,onFocus:h,onBlur:a},_,C),null),[[e.resolveDirective("intersect"),{handler:p},null,{once:!0}]]);return e.createVNode(e.Fragment,null,[n.prefix&&e.createVNode("span",{class:"v-text-field__prefix"},[e.createVNode("span",{class:"v-text-field__prefix__text"},[n.prefix])]),r.default?e.createVNode("div",{class:D,"data-no-activator":""},[r.default(),S]):e.cloneVNode(S,{class:D}),n.suffix&&e.createVNode("span",{class:"v-text-field__suffix"},[e.createVNode("span",{class:"v-text-field__suffix__text"},[n.suffix])])])}})},details:w?k=>{var L;return e.createVNode(e.Fragment,null,[(L=r.details)==null?void 0:L.call(r,k),z&&e.createVNode(e.Fragment,null,[e.createVNode("span",null,null),e.createVNode(Gl,{active:n.persistentCounter||c.value,value:u.value,max:f.value},r.counter)])])}:void 0})}),nt({},d,m,g)}}),_r=j({renderless:Boolean,...J()},"VVirtualScrollItem"),Er=U()({name:"VVirtualScrollItem",inheritAttrs:!1,props:_r(),emits:{"update:height":n=>!0},setup(n,o){let{attrs:t,emit:l,slots:r}=o;const{resizeRef:i,contentRect:c}=zt(void 0,"border");e.watch(()=>{var s;return(s=c.value)==null?void 0:s.height},s=>{s!=null&&l("update:height",s)}),K(()=>{var s,a;return n.renderless?e.createVNode(e.Fragment,null,[(s=r.default)==null?void 0:s.call(r,{itemRef:i})]):e.createVNode("div",e.mergeProps({ref:i,class:["v-virtual-scroll__item",n.class],style:n.style},t),[(a=r.default)==null?void 0:a.call(r)])})}}),Or=j({itemHeight:{type:[Number,String],default:48}},"virtual");function zr(n,o,t){const l=e.shallowRef(0),r=e.shallowRef(n.itemHeight),i=e.computed({get:()=>parseInt(r.value??0,10),set(V){r.value=V}}),c=e.ref(),{resizeRef:s,contentRect:a}=zt();e.watchEffect(()=>{s.value=c.value});const u=Ll(),f=new Map;let v=Array.from({length:o.value.length});const p=e.computed(()=>{const V=(a.value&&c.value!==document.documentElement?a.value.height:u.height.value)-((t==null?void 0:t.value)??0);return Math.ceil(V/i.value*1.7+1)});function d(V){return v.slice(0,V).reduce((T,P)=>T+(P||i.value),0)}let m=0;const g=e.computed(()=>Math.min(o.value.length,l.value+p.value)),y=e.computed(()=>o.value.slice(l.value,g.value).map((V,T)=>({raw:V,index:T+l.value}))),h=e.computed(()=>d(l.value)),x=e.computed(()=>d(o.value.length)-d(g.value));return e.watch(()=>o.value.length,()=>{v=function(V){let T=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return Array.from({length:V},(P,z)=>T+z)}(o.value.length).map(()=>i.value),f.forEach((V,T)=>{const P=o.value.indexOf(T);P===-1?f.delete(T):v[P]=V})}),{containerRef:c,computedItems:y,itemHeight:i,paddingTop:h,paddingBottom:x,scrollToIndex:function(V){if(!c.value)return;const T=d(V);c.value.scrollTop=T},handleScroll:function(){if(!c.value||!a.value)return;const V=a.value.height-56,T=c.value.scrollTop,P=T=C&&(l.value=un(b,0,o.value.length-p.value)),m=T},handleItemResize:function(V,T){i.value=Math.max(i.value,T),v[V]=T,f.set(o.value[V],T)}}}const $r=j({items:{type:Array,default:()=>[]},renderless:Boolean,...Or(),...J(),...Pe()},"VVirtualScroll"),Tr=U()({name:"VVirtualScroll",props:$r(),setup(n,o){let{slots:t}=o;const l=le("VVirtualScroll"),{dimensionStyles:r}=_e(n),{containerRef:i,handleScroll:c,handleItemResize:s,scrollToIndex:a,paddingTop:u,paddingBottom:f,computedItems:v}=zr(n,e.toRef(n,"items"));return Fe(()=>n.renderless,()=>{e.onMounted(()=>{var p;i.value=Xo(l.vnode.el,!0),(p=i.value)==null||p.addEventListener("scroll",c)}),e.onScopeDispose(()=>{var p;(p=i.value)==null||p.removeEventListener("scroll",c)})}),K(()=>{const p=v.value.map(d=>e.createVNode(Er,{key:d.index,renderless:n.renderless,"onUpdate:height":m=>s(d.index,m)},{default:m=>{var g;return(g=t.default)==null?void 0:g.call(t,{item:d.raw,index:d.index,...m})}}));return n.renderless?e.createVNode(e.Fragment,null,[e.createVNode("div",{class:"v-virtual-scroll__spacer",style:{paddingTop:Y(u.value)}},null),p,e.createVNode("div",{class:"v-virtual-scroll__spacer",style:{paddingBottom:Y(f.value)}},null)]):e.createVNode("div",{ref:i,class:["v-virtual-scroll",n.class],onScroll:c,style:[r.value,n.style]},[e.createVNode("div",{class:"v-virtual-scroll__container",style:{paddingTop:Y(u.value),paddingBottom:Y(f.value)}},[p])])}),{scrollToIndex:a}}});function Rr(n,o){const t=e.shallowRef(!1);let l;return{onListScroll:function(r){cancelAnimationFrame(l),t.value=!0,l=requestAnimationFrame(()=>{l=requestAnimationFrame(()=>{t.value=!1})})},onListKeydown:async function(r){var s,a;if(r.key==="Tab"&&((s=o.value)==null||s.focus()),!["PageDown","PageUp","Home","End"].includes(r.key))return;const i=(a=n.value)==null?void 0:a.$el;if(!i)return;r.key!=="Home"&&r.key!=="End"||i.scrollTo({top:r.key==="Home"?0:i.scrollHeight,behavior:"smooth"}),await async function(){await new Promise(u=>requestAnimationFrame(u)),await new Promise(u=>requestAnimationFrame(u)),await new Promise(u=>requestAnimationFrame(u)),await new Promise(u=>{if(t.value){const f=e.watch(t,()=>{f(),u()})}else u()})}();const c=i.querySelectorAll(":scope > :not(.v-virtual-scroll__spacer)");if(r.key==="PageDown"||r.key==="Home"){const u=i.getBoundingClientRect().top;for(const f of c)if(f.getBoundingClientRect().top>=u){f.focus();break}}else{const u=i.getBoundingClientRect().bottom;for(const f of[...c].reverse())if(f.getBoundingClientRect().bottom<=u){f.focus();break}}}}}const Dr=j({chips:Boolean,closableChips:Boolean,closeText:{type:String,default:"$vuetify.close"},openText:{type:String,default:"$vuetify.open"},eager:Boolean,hideNoData:Boolean,hideSelected:Boolean,menu:Boolean,menuIcon:{type:Q,default:"$dropdown"},menuProps:{type:Object},multiple:Boolean,noDataText:{type:String,default:"$vuetify.noDataText"},openOnClear:Boolean,itemColor:String,...$l({itemChildren:!1})},"Select"),Lr=j({...Dr(),...hn(Hl({modelValue:null,role:"button"}),["validationValue","dirty","appendInnerIcon"]),...Vn({transition:{component:el}})},"VSelect"),Mr=U()({name:"VSelect",props:Lr(),emits:{"update:focused":n=>!0,"update:modelValue":n=>!0,"update:menu":n=>!0},setup(n,o){let{slots:t}=o;const{t:l}=$t(),r=e.ref(),i=e.ref(),c=e.ref(),s=ne(n,"menu"),a=e.computed({get:()=>s.value,set:I=>{var A;s.value&&!I&&((A=i.value)!=null&&A.ΨopenChildren)||(s.value=I)}}),{items:u,transformIn:f,transformOut:v}=function(I){const A=e.computed(()=>Tl(I,I.items)),E=e.computed(()=>A.value.some(M=>M.value===null));return{items:A,transformIn:function(M){return E.value||(M=M.filter(D=>D!==null)),M.map(D=>I.returnObject&&typeof D=="string"?Vt(I,D):A.value.find(_=>I.valueComparator(D,_.value))||Vt(I,D))},transformOut:function(M){return I.returnObject?M.map(D=>{let{raw:_}=D;return _}):M.map(D=>{let{value:_}=D;return _})}}}(n),p=ne(n,"modelValue",[],I=>f(I===null?[null]:Be(I)),I=>{const A=v(I);return n.multiple?A:A[0]??null}),d=Fl(),m=e.computed(()=>p.value.map(I=>I.value)),g=e.shallowRef(!1),y=e.computed(()=>a.value?n.closeText:n.openText);let h,x="";const V=e.computed(()=>n.hideSelected?u.value.filter(I=>!p.value.some(A=>A===I)):u.value),T=e.computed(()=>n.hideNoData&&!u.value.length||n.readonly||(d==null?void 0:d.isReadonly.value)),P=e.ref(),{onListScroll:z,onListKeydown:w}=Rr(P,r);function b(I){n.openOnClear&&(a.value=!0)}function C(){T.value||(a.value=!a.value)}function O(I){var M,D;if(!I.key||n.readonly||d!=null&&d.isReadonly.value||(["Enter"," ","ArrowDown","ArrowUp","Home","End"].includes(I.key)&&I.preventDefault(),["Enter","ArrowDown"," "].includes(I.key)&&(a.value=!0),["Escape","Tab"].includes(I.key)&&(a.value=!1),I.key==="Home"?(M=P.value)==null||M.focus("first"):I.key==="End"&&((D=P.value)==null||D.focus("last")),n.multiple||!function(_){const S=_.key.length===1,R=!_.ctrlKey&&!_.metaKey&&!_.altKey;return S&&R}(I)))return;const A=performance.now();A-h>1e3&&(x=""),x+=I.key.toLowerCase(),h=A;const E=u.value.find(_=>_.title.toLowerCase().startsWith(x));E!==void 0&&(p.value=[E])}function F(I){if(n.multiple){const A=p.value.findIndex(E=>n.valueComparator(E.value,I.value));if(A===-1)p.value=[...p.value,I];else{const E=[...p.value];E.splice(A,1),p.value=E}}else p.value=[I],a.value=!1}function N(I){var A;(A=P.value)!=null&&A.$el.contains(I.relatedTarget)||(a.value=!1)}function k(){var I;g.value&&((I=r.value)==null||I.focus())}function L(I){g.value=!0}function W(I){if(I==null)p.value=[];else if(Dn(r.value,":autofill")||Dn(r.value,":-webkit-autofill")){const A=u.value.find(E=>E.title===I);A&&F(A)}else r.value&&(r.value.value="")}return e.watch(a,()=>{if(!n.hideSelected&&a.value&&p.value.length){const I=V.value.findIndex(A=>p.value.some(E=>n.valueComparator(E.value,A.value)));ce&&window.requestAnimationFrame(()=>{var A;I>=0&&((A=c.value)==null||A.scrollToIndex(I))})}}),K(()=>{const I=!(!n.chips&&!t.chip),A=!!(!n.hideNoData||V.value.length||t["prepend-item"]||t["append-item"]||t["no-data"]),E=p.value.length>0,[M]=kt.filterProps(n),D=E||!g.value&&n.label&&!n.persistentPlaceholder?void 0:n.placeholder;return e.createVNode(kt,e.mergeProps({ref:r},M,{modelValue:p.value.map(_=>_.props.value).join(", "),"onUpdate:modelValue":W,focused:g.value,"onUpdate:focused":_=>g.value=_,validationValue:p.externalValue,counterValue:p.value.length,dirty:E,class:["v-select",{"v-select--active-menu":a.value,"v-select--chips":!!n.chips,["v-select--"+(n.multiple?"multiple":"single")]:!0,"v-select--selected":p.value.length,"v-select--selection-slot":!!t.selection},n.class],style:n.style,inputmode:"none",placeholder:D,"onClick:clear":b,"onMousedown:control":C,onBlur:N,onKeydown:O,"aria-label":l(y.value),title:l(y.value)}),{...t,default:()=>e.createVNode(e.Fragment,null,[e.createVNode(xr,e.mergeProps({ref:i,modelValue:a.value,"onUpdate:modelValue":_=>a.value=_,activator:"parent",contentClass:"v-select__content",disabled:T.value,eager:n.eager,maxHeight:310,openOnClick:!1,closeOnContentClick:!1,transition:n.transition,onAfterLeave:k},n.menuProps),{default:()=>[A&&e.createVNode(mr,{ref:P,selected:m.value,selectStrategy:n.multiple?"independent":"single-independent",onMousedown:_=>_.preventDefault(),onKeydown:w,onFocusin:L,onScrollPassive:z,tabindex:"-1",color:n.itemColor??n.color},{default:()=>{var _,S,R;return[(_=t["prepend-item"])==null?void 0:_.call(t),!V.value.length&&!n.hideNoData&&(((S=t["no-data"])==null?void 0:S.call(t))??e.createVNode(Hn,{title:l(n.noDataText)},null)),e.createVNode(Tr,{ref:c,renderless:!0,items:V.value},{default:B=>{var Z;let{item:$,index:G,itemRef:H}=B;const q=e.mergeProps($.props,{ref:H,key:G,onClick:()=>F($)});return((Z=t.item)==null?void 0:Z.call(t,{item:$,index:G,props:q}))??e.createVNode(Hn,q,{prepend:re=>{let{isSelected:nn}=re;return e.createVNode(e.Fragment,null,[n.multiple&&!n.hideSelected?e.createVNode(bt,{key:$.value,modelValue:nn,ripple:!1,tabindex:"-1"},null):void 0,$.props.prependIcon&&e.createVNode(ee,{icon:$.props.prependIcon},null)])}})}}),(R=t["append-item"])==null?void 0:R.call(t)]}})]}),p.value.map((_,S)=>{const R={"onClick:close":function(G){G.stopPropagation(),G.preventDefault(),F(_)},onMousedown(G){G.preventDefault(),G.stopPropagation()},modelValue:!0,"onUpdate:modelValue":void 0},B=I?!!t.chip:!!t.selection,$=B?qo(I?t.chip({item:_,index:S,props:R}):t.selection({item:_,index:S})):void 0;if(!B||$)return e.createVNode("div",{key:_.value,class:"v-select__selection"},[I?t.chip?e.createVNode(oe,{key:"chip-defaults",defaults:{VChip:{closable:n.closableChips,size:"small",text:_.title}}},{default:()=>[$]}):e.createVNode(Za,e.mergeProps({key:"chip",closable:n.closableChips,size:"small",text:_.title,disabled:_.props.disabled},R),null):$??e.createVNode("span",{class:"v-select__selection-text"},[_.title,n.multiple&&S{var l;return e.createVNode("div",{class:["v-card-actions",n.class],style:n.style},[(l=t.default)==null?void 0:l.call(t)])}),{}}}),jr=Cn("v-card-subtitle"),Gr=Cn("v-card-title"),qr=j({appendAvatar:String,appendIcon:Q,prependAvatar:String,prependIcon:Q,subtitle:String,title:String,...J(),...ye()},"VCardItem"),Hr=U()({name:"VCardItem",props:qr(),setup(n,o){let{slots:t}=o;return K(()=>{var u;const l=!(!n.prependAvatar&&!n.prependIcon),r=!(!l&&!t.prepend),i=!(!n.appendAvatar&&!n.appendIcon),c=!(!i&&!t.append),s=!(!n.title&&!t.title),a=!(!n.subtitle&&!t.subtitle);return e.createVNode("div",{class:["v-card-item",n.class],style:n.style},[r&&e.createVNode("div",{key:"prepend",class:"v-card-item__prepend"},[t.prepend?e.createVNode(oe,{key:"prepend-defaults",disabled:!l,defaults:{VAvatar:{density:n.density,icon:n.prependIcon,image:n.prependAvatar}}},t.prepend):l&&e.createVNode(Ke,{key:"prepend-avatar",density:n.density,icon:n.prependIcon,image:n.prependAvatar},null)]),e.createVNode("div",{class:"v-card-item__content"},[s&&e.createVNode(Gr,{key:"title"},{default:()=>{var f;return[((f=t.title)==null?void 0:f.call(t))??n.title]}}),a&&e.createVNode(jr,{key:"subtitle"},{default:()=>{var f;return[((f=t.subtitle)==null?void 0:f.call(t))??n.subtitle]}}),(u=t.default)==null?void 0:u.call(t)]),c&&e.createVNode("div",{key:"append",class:"v-card-item__append"},[t.append?e.createVNode(oe,{key:"append-defaults",disabled:!i,defaults:{VAvatar:{density:n.density,icon:n.appendIcon,image:n.appendAvatar}}},t.append):i&&e.createVNode(Ke,{key:"append-avatar",density:n.density,icon:n.appendIcon,image:n.appendAvatar},null)])])}),{}}}),Ne=Cn("v-card-text"),Ur=j({appendAvatar:String,appendIcon:Q,disabled:Boolean,flat:Boolean,hover:Boolean,image:String,link:{type:Boolean,default:void 0},prependAvatar:String,prependIcon:Q,ripple:{type:[Boolean,Object],default:!0},subtitle:String,text:String,title:String,...Je(),...J(),...ye(),...Pe(),...Qe(),...Mt(),...Dt(),...vl(),...Ce(),...et(),...ue(),...te(),...ke({variant:"elevated"})},"VCard"),Le=U()({name:"VCard",directives:{Ripple:xn},props:Ur(),setup(n,o){let{attrs:t,slots:l}=o;const{themeClasses:r}=ae(n),{borderClasses:i}=Ze(n),{colorClasses:c,colorStyles:s,variantClasses:a}=Bn(n),{densityClasses:u}=Ve(n),{dimensionStyles:f}=_e(n),{elevationClasses:v}=en(n),{loaderClasses:p}=Zn(n),{locationStyles:d}=Lt(n),{positionClasses:m}=fl(n),{roundedClasses:g}=Se(n),y=Qn(n,t),h=e.computed(()=>n.link!==!1&&y.isLink.value),x=e.computed(()=>!n.disabled&&n.link!==!1&&(n.link||y.isClickable.value));return K(()=>{const V=h.value?"a":n.tag,T=!(!l.title&&!n.title),P=!(!l.subtitle&&!n.subtitle),z=T||P,w=!!(l.append||n.appendAvatar||n.appendIcon),b=!!(l.prepend||n.prependAvatar||n.prependIcon),C=!(!l.image&&!n.image),O=z||b||w,F=!(!l.text&&!n.text);return e.withDirectives(e.createVNode(V,{class:["v-card",{"v-card--disabled":n.disabled,"v-card--flat":n.flat,"v-card--hover":n.hover&&!(n.disabled||n.flat),"v-card--link":x.value},r.value,i.value,c.value,u.value,v.value,p.value,m.value,g.value,a.value,n.class],style:[s.value,f.value,d.value,n.style],href:y.href.value,onClick:x.value&&y.navigate,tabindex:n.disabled?-1:void 0},{default:()=>{var N;return[C&&e.createVNode("div",{key:"image",class:"v-card__image"},[l.image?e.createVNode(oe,{key:"image-defaults",disabled:!n.image,defaults:{VImg:{cover:!0,src:n.image}}},l.image):e.createVNode(ll,{key:"image-img",cover:!0,src:n.image},null)]),e.createVNode(Wt,{name:"v-card",active:!!n.loading,color:typeof n.loading=="boolean"?void 0:n.loading},{default:l.loader}),O&&e.createVNode(Hr,{key:"item",prependAvatar:n.prependAvatar,prependIcon:n.prependIcon,title:n.title,subtitle:n.subtitle,appendAvatar:n.appendAvatar,appendIcon:n.appendIcon},{default:l.item,prepend:l.prepend,title:l.title,subtitle:l.subtitle,append:l.append}),F&&e.createVNode(Ne,{key:"text"},{default:()=>{var k;return[((k=l.text)==null?void 0:k.call(l))??n.text]}}),(N=l.default)==null?void 0:N.call(l),l.actions&&e.createVNode(Wr,null,{default:l.actions}),In(x.value,"v-card")]}}),[[e.resolveDirective("ripple"),x.value&&n.ripple]])}),{}}}),Yr=j({indeterminate:Boolean,inset:Boolean,flat:Boolean,loading:{type:[Boolean,String],default:!1},...Nn(),...jt()},"VSwitch"),Kr=U()({name:"VSwitch",inheritAttrs:!1,props:Yr(),emits:{"update:focused":n=>!0,"update:modelValue":()=>!0,"update:indeterminate":n=>!0},setup(n,o){let{attrs:t,slots:l}=o;const r=ne(n,"indeterminate"),i=ne(n,"modelValue"),{loaderClasses:c}=Zn(n),{isFocused:s,focus:a,blur:u}=Fn(n),f=e.ref(),v=e.computed(()=>typeof n.loading=="string"&&n.loading!==""?n.loading:n.color),p=pe(),d=e.computed(()=>n.id||`switch-${p}`);function m(){r.value&&(r.value=!1)}function g(y){var h,x;y.stopPropagation(),y.preventDefault(),(x=(h=f.value)==null?void 0:h.input)==null||x.click()}return K(()=>{const[y,h]=bn(t),[x,V]=we.filterProps(n),[T,P]=qn.filterProps(n);return e.createVNode(we,e.mergeProps({class:["v-switch",{"v-switch--inset":n.inset},{"v-switch--indeterminate":r.value},c.value,n.class],style:n.style},y,x,{id:d.value,focused:s.value}),{...l,default:z=>{let{id:w,messagesId:b,isDisabled:C,isReadonly:O,isValid:F}=z;return e.createVNode(qn,e.mergeProps({ref:f},T,{modelValue:i.value,"onUpdate:modelValue":[N=>i.value=N,m],id:w.value,"aria-describedby":b.value,type:"checkbox","aria-checked":r.value?"mixed":void 0,disabled:C.value,readonly:O.value,onFocus:a,onBlur:u},h),{...l,default:N=>{let{backgroundColorClasses:k,backgroundColorStyles:L}=N;return e.createVNode("div",{class:["v-switch__track",...k.value],style:L.value,onClick:g},null)},input:N=>{let{inputNode:k,icon:L,backgroundColorClasses:W,backgroundColorStyles:I}=N;return e.createVNode(e.Fragment,null,[k,e.createVNode("div",{class:["v-switch__thumb",{"v-switch__thumb--filled":L||n.loading},n.inset?void 0:W.value],style:n.inset?void 0:I.value},[e.createVNode(Ba,null,{default:()=>[n.loading?e.createVNode(Wt,{name:"v-switch",active:!0,color:F.value===!1?void 0:v.value},{default:A=>l.loader?l.loader(A):e.createVNode(pl,{active:A.isActive,color:A.color,indeterminate:!0,size:"16",width:"2"},null)}):L&&e.createVNode(ee,{key:L,icon:L,size:"x-small"},null)]})])])}})}})}),{}}}),Xr=j({autoGrow:Boolean,autofocus:Boolean,counter:[Boolean,Number,String],counterValue:Function,prefix:String,placeholder:String,persistentPlaceholder:Boolean,persistentCounter:Boolean,noResize:Boolean,rows:{type:[Number,String],default:5,validator:n=>!isNaN(parseFloat(n))},maxRows:{type:[Number,String],validator:n=>!isNaN(parseFloat(n))},suffix:String,modelModifiers:Object,...Nn(),...Gt()},"VTextarea"),Jr=U()({name:"VTextarea",directives:{Intersect:Tt},inheritAttrs:!1,props:Xr(),emits:{"click:control":n=>!0,"mousedown:control":n=>!0,"update:focused":n=>!0,"update:modelValue":n=>!0},setup(n,o){let{attrs:t,emit:l,slots:r}=o;const i=ne(n,"modelValue"),{isFocused:c,focus:s,blur:a}=Fn(n),u=e.computed(()=>typeof n.counterValue=="function"?n.counterValue(i.value):(i.value||"").toString().length),f=e.computed(()=>t.maxlength?t.maxlength:!n.counter||typeof n.counter!="number"&&typeof n.counter!="string"?void 0:n.counter);function v(F,N){var k,L;n.autofocus&&F&&((L=(k=N[0].target)==null?void 0:k.focus)==null||L.call(k))}const p=e.ref(),d=e.ref(),m=e.shallowRef(""),g=e.ref(),y=e.computed(()=>n.persistentPlaceholder||c.value||n.active);function h(){var F;g.value!==document.activeElement&&((F=g.value)==null||F.focus()),c.value||s()}function x(F){h(),l("click:control",F)}function V(F){l("mousedown:control",F)}function T(F){F.stopPropagation(),h(),e.nextTick(()=>{i.value="",jo(n["onClick:clear"],F)})}function P(F){var k;const N=F.target;if(i.value=N.value,(k=n.modelModifiers)==null?void 0:k.trim){const L=[N.selectionStart,N.selectionEnd];e.nextTick(()=>{N.selectionStart=L[0],N.selectionEnd=L[1]})}}const z=e.ref(),w=e.ref(+n.rows),b=e.computed(()=>["plain","underlined"].includes(n.variant));function C(){n.autoGrow&&e.nextTick(()=>{if(!z.value||!d.value)return;const F=getComputedStyle(z.value),N=getComputedStyle(d.value.$el),k=parseFloat(F.getPropertyValue("--v-field-padding-top"))+parseFloat(F.getPropertyValue("--v-input-padding-top"))+parseFloat(F.getPropertyValue("--v-field-padding-bottom")),L=z.value.scrollHeight,W=parseFloat(F.lineHeight),I=un(L??0,Math.max(parseFloat(n.rows)*W+k,parseFloat(N.getPropertyValue("--v-input-control-height"))),parseFloat(n.maxRows)*W+k||1/0);w.value=Math.floor((I-k)/W),m.value=Y(I)})}let O;return e.watchEffect(()=>{n.autoGrow||(w.value=+n.rows)}),e.onMounted(C),e.watch(i,C),e.watch(()=>n.rows,C),e.watch(()=>n.maxRows,C),e.watch(()=>n.density,C),e.watch(z,F=>{F?(O=new ResizeObserver(C),O.observe(z.value)):O==null||O.disconnect()}),e.onBeforeUnmount(()=>{O==null||O.disconnect()}),K(()=>{const F=!!(r.counter||n.counter||n.counterValue),N=!(!F&&!r.details),[k,L]=bn(t),[{modelValue:W,...I}]=we.filterProps(n),[A]=ql(n);return e.createVNode(we,e.mergeProps({ref:p,modelValue:i.value,"onUpdate:modelValue":E=>i.value=E,class:["v-textarea v-text-field",{"v-textarea--prefixed":n.prefix,"v-textarea--suffixed":n.suffix,"v-text-field--prefixed":n.prefix,"v-text-field--suffixed":n.suffix,"v-textarea--auto-grow":n.autoGrow,"v-textarea--no-resize":n.noResize||n.autoGrow,"v-text-field--plain-underlined":b.value},n.class],style:n.style},k,I,{centerAffix:w.value===1&&!b.value,focused:c.value}),{...r,default:E=>{let{isDisabled:M,isDirty:D,isReadonly:_,isValid:S}=E;return e.createVNode(qt,e.mergeProps({ref:d,style:{"--v-textarea-control-height":m.value},onClick:x,onMousedown:V,"onClick:clear":T,"onClick:prependInner":n["onClick:prependInner"],"onClick:appendInner":n["onClick:appendInner"]},A,{active:y.value||D.value,centerAffix:w.value===1&&!b.value,dirty:D.value||n.dirty,disabled:M.value,focused:c.value,error:S.value===!1}),{...r,default:R=>{let{props:{class:B,...$}}=R;return e.createVNode(e.Fragment,null,[n.prefix&&e.createVNode("span",{class:"v-text-field__prefix"},[n.prefix]),e.withDirectives(e.createVNode("textarea",e.mergeProps({ref:g,class:B,value:i.value,onInput:P,autofocus:n.autofocus,readonly:_.value,disabled:M.value,placeholder:n.placeholder,rows:n.rows,name:n.name,onFocus:h,onBlur:a},$,L),null),[[e.resolveDirective("intersect"),{handler:v},null,{once:!0}]]),n.autoGrow&&e.withDirectives(e.createVNode("textarea",{class:[B,"v-textarea__sizer"],id:`${$.id}-sizer`,"onUpdate:modelValue":G=>i.value=G,ref:z,readonly:!0,"aria-hidden":"true"},null),[[e.vModelText,i.value]]),n.suffix&&e.createVNode("span",{class:"v-text-field__suffix"},[n.suffix])])}})},details:N?E=>{var M;return e.createVNode(e.Fragment,null,[(M=r.details)==null?void 0:M.call(r,E),F&&e.createVNode(e.Fragment,null,[e.createVNode("span",null,null),e.createVNode(Gl,{active:n.persistentCounter||c.value,value:u.value,max:f.value},r.counter)])])}:void 0})}),nt({},p,d,g)}}),Ul=e.defineComponent({__name:"BooleanIcons",props:e.mergeModels({iconFalseColor:{},iconFalseTitle:{},iconTrueColor:{},iconTrueTitle:{},iconFalse:{},iconTrue:{}},{modelValue:{}}),emits:["update:modelValue"],setup(n){const o=n,t=e.inject(Symbol.for("vuetify:icons")),l=e.useModel(n,"modelValue"),r=e.computed(()=>de({icon:o.iconFalse,iconOptions:t,name:"false"})),i=e.computed(()=>de({icon:o.iconTrue,iconOptions:t,name:"true"}));return(c,s)=>l.value?(e.openBlock(),e.createBlock(e.unref(ee),{key:0,class:"v-inline-fields--boolean-icons fa-fw",color:c.iconTrueColor,icon:e.unref(i),size:"x-small",title:c.iconTrueTitle},null,8,["color","icon","title"])):(e.openBlock(),e.createBlock(e.unref(ee),{key:1,class:"v-inline-fields--boolean-icons fa-fw",color:c.iconFalseColor,icon:e.unref(r),size:"x-small",title:c.iconFalseTitle},null,8,["color","icon","title"]))}}),X="v-inline-fields",Me=n=>{const{field:o="",density:t="",disabled:l=!1,iconSet:r="mdi",loading:i=!1,loadingWait:c,tableField:s=!1,variant:a}=n,u=t&&a;return{[`${X}`]:!0,[`${X}--container`]:!0,[`${X}--container-disabled`]:e.unref(l),[`${X}--container-table`]:s,[`${X}--container-icon-set-${r}`]:!0,[`${X}--container-loading`]:i&&c,[`${X}--container-${o}`]:!0,[`${X}--container-${o}-${t}`]:!0,[`${X}--container-${o}-${t}-${a}`]:u,[`${X}--container-${o}-${a}`]:a,[`${X}--container-${o}-${a}-${t}`]:u,[`${X}--container-${t}`]:t,[`${X}--container-${t}-${o}`]:t,[`${X}--container-${t}-${a}`]:u,[`${X}--container-${a}`]:a,[`${X}--container-${a}-${t}`]:u,[`${X}--container-${a}-${o}`]:a}},We=n=>{const{field:o="",density:t=""}=n;return{[`${X}--display-container`]:!0,[`${X}--display-wrapper-value`]:!0,[`${o}`]:!0,"v-input":!0,[`v-input--density-${t}`]:!0,"v-input--horizontal":!0}},Yn=n=>{const{density:o="",variant:t=""}=n;return{"v-input":!0,"v-input--dirty":!0,"v-input--horizontal":!0,"v-text-field":!0,[`v-input--density-${o}`]:!0,[`v-text-field--plain-${t}`]:!0}},Yl=n=>{const{density:o=""}=n;return{[`v-selection-control--density-${o}`]:!0}},Ht=(n,o,t)=>{const{error:l=!1,empty:r=!1}=t;return{[`${X}`]:!0,[`${X}--display-value-${n}`]:!0,[`${X}--display-value`]:!0,[`${X}--display-value-empty`]:e.unref(r),[`text-${o}`]:!e.unref(l),"text-danger":e.unref(l)}},je=n=>{const{name:o,active:t=!1}=n;return{[`${X}`]:!0,[`${X}--field`]:!0,[`${X}--field-${o}`]:!0,[`${X}--field-active`]:t}},Ge=n=>{const{name:o,showField:t}=n;return{[`${X}--card-container`]:!0,[`${X}--card-container-${o}`]:!0,"d-none":!t}};function To(n){if(!n)return 100;if(n.toString().includes(".")){const o=100*Number(n);return o>=100?100:o}return Number(n)>=100?100:Number(n)}function Ro(n){let o=function(v){const p={AliceBlue:"#F0F8FF",AntiqueWhite:"#FAEBD7",Aqua:"#00FFFF",Aquamarine:"#7FFFD4",Azure:"#F0FFFF",Beige:"#F5F5DC",Bisque:"#FFE4C4",Black:"#000000",BlanchedAlmond:"#FFEBCD",Blue:"#0000FF",BlueViolet:"#8A2BE2",Brown:"#A52A2A",BurlyWood:"#DEB887",CadetBlue:"#5F9EA0",Chartreuse:"#7FFF00",Chocolate:"#D2691E",Coral:"#FF7F50",CornflowerBlue:"#6495ED",Cornsilk:"#FFF8DC",Crimson:"#DC143C",Cyan:"#00FFFF",DarkBlue:"#00008B",DarkCyan:"#008B8B",DarkGoldenRod:"#B8860B",DarkGray:"#A9A9A9",DarkGreen:"#006400",DarkGrey:"#A9A9A9",DarkKhaki:"#BDB76B",DarkMagenta:"#8B008B",DarkOliveGreen:"#556B2F",DarkOrange:"#FF8C00",DarkOrchid:"#9932CC",DarkRed:"#8B0000",DarkSalmon:"#E9967A",DarkSeaGreen:"#8FBC8F",DarkSlateBlue:"#483D8B",DarkSlateGray:"#2F4F4F",DarkSlateGrey:"#2F4F4F",DarkTurquoise:"#00CED1",DarkViolet:"#9400D3",DeepPink:"#FF1493",DeepSkyBlue:"#00BFFF",DimGray:"#696969",DimGrey:"#696969",DodgerBlue:"#1E90FF",FireBrick:"#B22222",FloralWhite:"#FFFAF0",ForestGreen:"#228B22",Fuchsia:"#FF00FF",Gainsboro:"#DCDCDC",GhostWhite:"#F8F8FF",Gold:"#FFD700",GoldenRod:"#DAA520",Gray:"#808080",Green:"#008000",GreenYellow:"#ADFF2F",Grey:"#808080",HoneyDew:"#F0FFF0",HotPink:"#FF69B4",IndianRed:"#CD5C5C",Indigo:"#4B0082",Ivory:"#FFFFF0",Khaki:"#F0E68C",Lavender:"#E6E6FA",LavenderBlush:"#FFF0F5",LawnGreen:"#7CFC00",LemonChiffon:"#FFFACD",LightBlue:"#ADD8E6",LightCoral:"#F08080",LightCyan:"#E0FFFF",LightGoldenRodYellow:"#FAFAD2",LightGray:"#D3D3D3",LightGreen:"#90EE90",LightGrey:"#D3D3D3",LightPink:"#FFB6C1",LightSalmon:"#FFA07A",LightSeaGreen:"#20B2AA",LightSkyBlue:"#87CEFA",LightSlateGray:"#778899",LightSlateGrey:"#778899",LightSteelBlue:"#B0C4DE",LightYellow:"#FFFFE0",Lime:"#00FF00",LimeGreen:"#32CD32",Linen:"#FAF0E6",Magenta:"#FF00FF",Maroon:"#800000",MediumAquaMarine:"#66CDAA",MediumBlue:"#0000CD",MediumOrchid:"#BA55D3",MediumPurple:"#9370DB",MediumSeaGreen:"#3CB371",MediumSlateBlue:"#7B68EE",MediumSpringGreen:"#00FA9A",MediumTurquoise:"#48D1CC",MediumVioletRed:"#C71585",MidnightBlue:"#191970",MintCream:"#F5FFFA",MistyRose:"#FFE4E1",Moccasin:"#FFE4B5",NavajoWhite:"#FFDEAD",Navy:"#000080",OldLace:"#FDF5E6",Olive:"#808000",OliveDrab:"#6B8E23",Orange:"#FFA500",OrangeRed:"#FF4500",Orchid:"#DA70D6",PaleGoldenRod:"#EEE8AA",PaleGreen:"#98FB98",PaleTurquoise:"#AFEEEE",PaleVioletRed:"#DB7093",PapayaWhip:"#FFEFD5",PeachPuff:"#FFDAB9",Peru:"#CD853F",Pink:"#FFC0CB",Plum:"#DDA0DD",PowderBlue:"#B0E0E6",Purple:"#800080",RebeccaPurple:"#663399",Red:"#FF0000",RosyBrown:"#BC8F8F",RoyalBlue:"#4169E1",SaddleBrown:"#8B4513",Salmon:"#FA8072",SandyBrown:"#F4A460",SeaGreen:"#2E8B57",SeaShell:"#FFF5EE",Sienna:"#A0522D",Silver:"#C0C0C0",SkyBlue:"#87CEEB",SlateBlue:"#6A5ACD",SlateGray:"#708090",SlateGrey:"#708090",Snow:"#FFFAFA",SpringGreen:"#00FF7F",SteelBlue:"#4682B4",Tan:"#D2B48C",Teal:"#008080",Thistle:"#D8BFD8",Tomato:"#FF6347",Turquoise:"#40E0D0",Violet:"#EE82EE",Wheat:"#F5DEB3",White:"#FFFFFF",WhiteSmoke:"#F5F5F5",Yellow:"#FFFF00",YellowGreen:"#9ACD32"};let d=v;return Object.entries(p).forEach(([m,g])=>{v.toLowerCase()!=m.toLowerCase()||(d=g)}),d}(n),t=0,l=0,r=0,i=100,c=0,s=0,a=0;if(o.substring(0,1)==="#")o=function(v){let p=v.replace("#","");p.length===3&&(p=p.split("").map(h=>h+h).join(""));const d=parseInt(p.substring(0,2),16),m=parseInt(p.substring(2,4),16),g=parseInt(p.substring(4,6),16);return[d,m,g,100]}(o);else if(o.includes("rgb"))o=[...o.matchAll(/[\d+.\d+]+/g)].map(Number);else if(o.includes("hsl"))return o=[...o.matchAll(/[\d+.\d+]+/g)].map(String),t=o[0],l=o[1],r=o[2],i=To(o[3]),`${t} ${l}% ${r}% / ${i}%`;[c,s,a,i]=o,c/=255,s/=255,a/=255,i=To(i);const u=Math.max(c,s,a),f=Math.min(c,s,a);if(u===null||!f===null||isNaN(u)||isNaN(f)){const v="0 0% 100% / 12%";return console.warn(`[VuetifyInlineFields: The "color" prop value using "${o}" doesn't exist. Using the value "hsl(${v})" in it's place.`),v}if(t=(u+f)/2,l=(u+f)/2,r=(u+f)/2,u==f)t=l=0;else{const v=u-f;switch(l=r>.5?v/(2-u-f):v/(u+f),u){case c:t=(s-a)/v+(s{if(function(l){return l==="transparent"||l==="none"||l==="inherit"||l==="currentColor"||l==="initial"||l==="unset"}(n))return n;if(function(l){return l.includes("--v-theme")}(n))return`rgb(var(${n}))`;const t=function(l,r){const i=r.global.current.value.colors;return Object.entries(i).find(([c])=>c===l)}(n,o);return t?`hsl(${Ro(t[1])})`:`hsl(${Ro(n)})`},an=n=>{const{str:o,unit:t="px"}=n;if(o!=null&&o!=="")return+o?`${Number(o)}${t}`:String(o)},Kl=n=>{var r;const{modelValue:o,trueValue:t}=n,l=e.unref(o);return((r=l==null?void 0:l.toLowerCase)==null?void 0:r.call(l))==="true"||l==="1"||l=="1"||l===!0||l==t||l===t},Ut=n=>{const{underlineStyle:o,underlineWidth:t,color:l,error:r,theme:i,underlined:c}=n;let{underlineColor:s}=n;s=s||l;const a={"border-bottom-color":Zr(s,i),"border-bottom-style":o,"border-bottom-width":t};return e.unref(r)&&(a["border-bottom-color"]="rgb(var(--v-theme-danger))"),c||(a["border-bottom"]="none"),a},Ae=n=>{const{cardMinWidth:o,cardOffsetX:t,cardOffsetY:l,cardWidth:r,field:i,name:c=""}=n,s=(f=>{const{cardOffsetX:v,cardOffsetY:p,field:d}=f;if(!d)return{bottom:0,height:0,left:0,right:0,top:0,width:0,x:0,y:0};const{x:m,y:g}=d.getBoundingClientRect(),{width:y,height:h}=d.getBoundingClientRect(),{right:x,bottom:V}=d.getBoundingClientRect();return{bottom:an({str:V+Number(p)}),height:h,left:an({str:0+Number(v)}),right:an({str:x+Number(v)}),top:an({str:2+Number(p)}),width:an({str:y}),x:m,y:g}})({cardOffsetX:t,cardOffsetY:l,field:i});let a=o,u=r;return u||(u=c==="checkbox"?"fit-content":s.width),a||(a=c==="checkbox"?"fit-content":s.width),{left:s.left,top:s.top,width:u,zIndex:10}},Qr={class:"v-inline-fields--display-wrapper"},Kn=e.defineComponent({__name:"DisplayedValue",props:{color:{},displayAppendIcon:{},displayAppendIconColor:{},displayAppendInnerIcon:{},displayAppendInnerIconColor:{},displayPrependIcon:{},displayPrependIconColor:{},displayPrependInnerIcon:{},displayPrependInnerIconColor:{},displayValue:{},empty:{type:Boolean},error:{type:Boolean},field:{},underlineColor:{},underlineStyle:{},underlineWidth:{},underlined:{type:Boolean}},emits:["toggleField"],setup(n,{emit:o}){const t=o,l=n,r=e.useSlots(),i=Ft.useTheme(),c={displayValue:l.displayValue,empty:l.empty,error:l.error},s=e.computed(()=>Ht(l.field,l.valueColor,{empty:l.empty,error:l.error})),a=e.computed(()=>Ut({color:l.color,error:l.error,theme:i,underlineColor:l.underlineColor,underlineStyle:l.underlineStyle,underlineWidth:l.underlineWidth,underlined:l.underlined})),u=e.computed(()=>(p=>{const{underlineWidth:d}=p;return{borderBottom:`${d||"0px"} solid transparent`}})({underlineWidth:l.underlineWidth})),f=(p,d=!1)=>(m=>{const{inner:g=!1,position:y}=m;return{[`${X}--display-icon`]:!g,[`${X}--display-${y}-icon`]:!g,[`${X}--display-${y}-inner-icon`]:g,"me-1":y==="prepend","ms-1":y==="append"}})({inner:d,position:p});function v(){t("toggleField")}return(p,d)=>(e.openBlock(),e.createElementBlock("div",Qr,[p.displayPrependIcon||e.unref(r)["display.prepend"]?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(f("prepend")),style:e.normalizeStyle(e.unref(u))},[e.unref(r)["display.prepend"]?e.renderSlot(p.$slots,"display.prepend",e.normalizeProps(e.mergeProps({key:0},c))):(e.openBlock(),e.createBlock(ee,{key:1,color:p.displayPrependIconColor,icon:p.displayPrependIcon,size:"x-small"},null,8,["color","icon"]))],6)):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(["d-inline-flex",e.unref(s)]),style:e.normalizeStyle(e.unref(a)),onClick:v},[p.displayPrependInnerIcon||e.unref(r)["display.prependInner"]?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(f("prepend",!0))},[e.unref(r)["display.prependInner"]?e.renderSlot(p.$slots,"display.prependInner",e.normalizeProps(e.mergeProps({key:0},c))):(e.openBlock(),e.createBlock(ee,{key:1,color:p.displayPrependInnerIconColor,icon:p.displayPrependInnerIcon,size:"x-small"},null,8,["color","icon"]))],2)):e.createCommentVNode("",!0),e.createTextVNode(" "+e.toDisplayString(p.displayValue)+" ",1),p.displayAppendInnerIcon||e.unref(r)["display.appendInner"]?(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(f("append",!0))},[e.unref(r)["display.appendInner"]?e.renderSlot(p.$slots,"display.appendInner",e.normalizeProps(e.mergeProps({key:0},c))):(e.openBlock(),e.createBlock(ee,{key:1,color:p.displayAppendInnerIconColor,icon:p.displayAppendInnerIcon,size:"x-small"},null,8,["color","icon"]))],2)):e.createCommentVNode("",!0)],6),p.displayAppendIcon||e.unref(r)["display.append"]?(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(f("append")),style:e.normalizeStyle(e.unref(u))},[e.unref(r)["display.append"]?e.renderSlot(p.$slots,"display.append",e.normalizeProps(e.mergeProps({key:0},c))):(e.openBlock(),e.createBlock(ee,{key:1,color:p.displayAppendIconColor,icon:p.displayAppendIcon,size:"x-small"},null,8,["color","icon"]))],6)):e.createCommentVNode("",!0)]))}}),mn=e.defineComponent({__name:"SaveFieldButtons",props:{loading:{type:Boolean},cancelButtonColor:{},cancelButtonSize:{},cancelButtonVariant:{},cancelButtonTitle:{},cancelIconColor:{},error:{type:Boolean},fieldOnly:{type:Boolean},hideSaveIcon:{type:Boolean},loadingIconColor:{},saveButtonColor:{},saveButtonSize:{},saveButtonTitle:{},saveButtonVariant:{},saveIconColor:{},cancelIcon:{},loadingIcon:{},saveIcon:{}},emits:["close","save"],setup(n,{emit:o}){const t=e.useAttrs(),l=o,r=n,i=e.inject(Symbol.for("vuetify:icons")),c=e.computed(()=>r.error),s=e.computed(()=>({[`${X}--save-fields-container`]:!0})),a=e.computed(()=>r.loading),u=e.reactive({...t,...r}),f=e.computed(()=>(i==null?void 0:i.defaultSet)==="fa"?"fa-spin":(i==null?void 0:i.defaultSet)==="mdi"?"mdi-spin":""),v=e.computed(()=>(h=>{const{cancelButtonVariant:x}=h;return{"me-1":x==="elevated","ms-1":!0}})({cancelButtonVariant:u.cancelButtonVariant})),p=e.computed(()=>de({icon:r.cancelIcon,iconOptions:i,name:"false"})),d=e.computed(()=>de({icon:r.loadingIcon,iconOptions:i,name:"loading"})),m=e.computed(()=>de({icon:r.saveIcon,iconOptions:i,name:"save"}));function g(){l("close")}function y(){l("save")}return(h,x)=>(e.openBlock(),e.createElementBlock("div",e.mergeProps({class:e.unref(s)},h.$attrs),[e.unref(u).hideSaveIcon?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(ht,{key:0,class:"ms-1",color:e.unref(u).saveButtonColor,disabled:e.unref(c),icon:"",size:e.unref(u).saveButtonSize,title:e.unref(a)?"Loading":e.unref(u).saveButtonTitle,variant:e.unref(u).saveButtonVariant,onClick:y},{default:e.withCtx(()=>[e.unref(a)?(e.openBlock(),e.createBlock(ee,{key:1,class:e.normalizeClass(e.unref(f)),color:e.unref(u).loadingIconColor,icon:e.unref(d)},null,8,["class","color","icon"])):(e.openBlock(),e.createBlock(ee,{key:0,color:e.unref(c)?"error":e.unref(u).saveIconColor,icon:e.unref(m)},null,8,["color","icon"]))]),_:1},8,["color","disabled","size","title","variant"])),e.createVNode(ht,{class:e.normalizeClass(e.unref(v)),color:e.unref(u).cancelButtonColor,icon:"",size:e.unref(u).cancelButtonSize,title:e.unref(u).cancelButtonTitle,variant:e.unref(u).cancelButtonVariant,onClick:g},{default:e.withCtx(()=>[e.unref(u).hideSaveIcon&&e.unref(a)?(e.openBlock(),e.createBlock(ee,{key:0,class:e.normalizeClass(e.unref(f)),color:e.unref(u).loadingIconColor,icon:e.unref(d)},null,8,["class","color","icon"])):(e.openBlock(),e.createBlock(ee,{key:1,class:"text-default",color:e.unref(u).cancelIconColor,icon:e.unref(p)},null,8,["color","icon"]))]),_:1},8,["class","color","size","title","variant"])],16))}}),Xn=n=>{const{required:o,rules:t}=n;let{value:l}=n;l=e.unref(l);const r=[];let i=!1;if(o&&!l)return r.push("Field is required."),{errors:!0,results:r};if(t){for(const c of t){const s=(typeof c=="function"?c:()=>c)(l);s!==!0&&(typeof s=="string"?r.push(s):console.warn(`${s} is not a valid value. Rule functions must return boolean true or a string.`))}i=r.length>0}return{errors:i,results:r}},qe=n=>{const{attrs:o,closeSiblings:t,fieldOnly:l,props:r,showField:i,timeOpened:c}=n;let s=c;return t&&!l&&(s=new Date),{settings:{...o,...r},showField:!e.unref(i),timeOpened:s}},xt=n=>{const{length:o=0}=n;let{suffix:t,text:l}=n;return l=l.toString(),t=t||"...",l.length>o?`${l.substring(0,o)}${t}`:l},He=["error","update","update:closeSiblingFields","update:model-value"],ei=["cancelButtonColor","cancelButtonSize","cancelButtonTitle","cancelButtonVariant","cancelIcon","cancelIconColor","closeSiblings","displayAppendIcon","displayAppendIconColor","displayAppendIconSize","displayAppendInnerIcon","displayAppendInnerIconColor","displayAppendInnerIconSize","displayPrependIcon","displayPrependIconColor","displayPrependIconSize","displayPrependInnerIcon","displayPrependInnerIconColor","displayPrependInnerIconSize","emptyText","fieldOnly","hideSaveIcon","item","loadingIcon","loadingIconColor","loadingWait","saveButtonColor","saveButtonSize","saveButtonTitle","saveButtonVariant","saveIcon","saveIconColor","tableField","truncateLength","truncateSuffix","underlineColor","underlineStyle","underlineWidth","underlined","valueColor"],sn=n=>{let o=n;return o=Object.entries(o).filter(([t])=>!ei.includes(t)),Object.fromEntries(o)},ni={class:"v-selection-control__wrapper"},ti=e.defineComponent({__name:"VInlineCheckbox",props:e.mergeModels(e.mergeDefaults({density:{},falseIcon:{},trueIcon:{},cancelButtonColor:{},cancelButtonSize:{},cancelButtonTitle:{},cancelButtonVariant:{},cancelIcon:{},cancelIconColor:{},cardField:{type:Boolean},cardOffsetX:{},cardOffsetY:{},cardProps:{},closeSiblings:{type:Boolean},color:{},disabled:{type:Boolean},displayAppendIcon:{},displayAppendIconColor:{},displayAppendIconSize:{},displayAppendInnerIcon:{},displayAppendInnerIconColor:{},displayAppendInnerIconSize:{},displayPrependIcon:{},displayPrependIconColor:{},displayPrependIconSize:{},displayPrependInnerIcon:{},displayPrependInnerIconColor:{},displayPrependInnerIconSize:{},emptyText:{},error:{type:Boolean},falseValue:{type:[Boolean,String]},fieldOnly:{type:Boolean},hideDetails:{type:Boolean},hideSaveIcon:{type:Boolean},iconFalse:{},iconFalseColor:{},iconFalseTitle:{},iconTrue:{},iconTrueColor:{},iconTrueTitle:{},icons:{type:Boolean},item:{},label:{},loading:{type:Boolean},loadingIcon:{},loadingIconColor:{},loadingWait:{type:Boolean},name:{},required:{type:Boolean},saveButtonColor:{},saveButtonSize:{},saveButtonTitle:{},saveButtonVariant:{},saveIcon:{},saveIconColor:{},tableField:{type:Boolean},trueValue:{type:[Boolean,String]},underlineColor:{},underlineStyle:{},underlineWidth:{},underlined:{type:Boolean},valueColor:{}},{...aa}),{modelValue:{}}),emits:e.mergeModels([...He],["update:modelValue"]),setup(n,{emit:o}){const t=e.useModel(n,"modelValue"),l=e.useAttrs(),r=e.useSlots(),i=o,c=e.inject(Symbol.for("vuetify:icons")),s=Ft.useTheme(),a=n;let u=e.reactive({...l,...a});const f=e.computed(()=>a.loading),v=e.computed(()=>a.disabled),p=e.ref(!1),d=e.ref(!1),m=e.ref(null),g=e.computed(()=>sn(u)),y=e.computed(()=>({...Re,...a.cardProps}));e.watch(()=>f.value,(B,$)=>{!B&&$&&d.value&&M()});const h=e.computed(()=>de({icon:a.trueIcon,iconOptions:c,name:"checkboxFalse"})),x=e.computed(()=>de({icon:a.iconTrue,iconOptions:c,name:"checkboxTrue"})),V=e.computed(()=>t.value==u.trueValue),T=e.computed(()=>Kl({modelValue:t,trueValue:u.trueValue})),P=e.computed(()=>Me({density:u.density,disabled:v.value,field:"v-checkbox",loading:f.value,loadingWait:u.loadingWait,tableField:u.tableField})),z=e.computed(()=>We({density:u.density,field:"v-checkbox"})),w=Yl({density:u.density}),b=e.computed(()=>je({active:d.value,name:"checkbox"})),C=e.computed(()=>Ht("checkbox",u.valueColor,{error:p})),O=e.computed(()=>Ge({name:"checkbox",showField:d.value})),F=e.computed(()=>({})),N=e.computed(()=>Ut({color:u.color,error:p,theme:s,underlineColor:u.underlineColor,underlineStyle:u.underlineStyle,underlineWidth:u.underlineWidth,underlined:u.underlined})),k=e.computed(()=>W.value);function L(){p.value=!1,M()}const W=e.ref(),I=e.ref(null),A=e.ref("body"),E=la.useWindowSize();function M(){var $,G;if(v.value||u.loadingWait&&f.value)return;W.value=Ae({cardMinWidth:($=u.cardProps)==null?void 0:$.minWidth,cardOffsetX:u.cardOffsetX,cardOffsetY:u.cardOffsetY,cardWidth:(G=u.cardProps)==null?void 0:G.width,field:I.value,name:"checkbox"});const B=qe({attrs:l,closeSiblings:u.closeSiblings,fieldOnly:u.fieldOnly,props:a,showField:d,timeOpened:m.value});u={...u,...B.settings},d.value=B.showField,m.value=B.timeOpened,_!==null&&u.closeSiblings&&d.value&&!u.fieldOnly&&_.emit(B.timeOpened)}function D(B){t.value=B,i("update",B),u.loadingWait||M()}let _,S;function R(B){i("update:closeSiblingFields",m),d.value&&m.value!==B&&M()}return e.watch(()=>E,()=>{var B,$;W.value=Ae({cardMinWidth:(B=u.cardProps)==null?void 0:B.minWidth,cardOffsetX:u.cardOffsetX,cardOffsetY:u.cardOffsetY,cardWidth:($=u.cardProps)==null?void 0:$.width,field:I.value,name:"checkbox"})},{deep:!0}),u.closeSiblings&&import("@vueuse/core").then(({useEventBus:B})=>{_=B(Te),S=_.on(R)}),e.onUnmounted(()=>{S!==void 0&&_.off(R)}),(B,$)=>(e.openBlock(),e.createElementBlock("div",{ref_key:"inlineFieldsContainer",ref:I,class:e.normalizeClass(e.unref(P)),style:e.normalizeStyle(e.unref(F))},[!e.unref(d)&&!e.unref(u).fieldOnly||e.unref(u).cardField?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(e.unref(z))},[e.createElementVNode("div",{class:e.normalizeClass(e.unref(w))},[e.createElementVNode("div",ni,[B.icons?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(e.unref(C)),style:e.normalizeStyle(e.unref(N)),onClick:M},[e.createVNode(e.unref(Ul),{modelValue:e.unref(T),"onUpdate:modelValue":$[0]||($[0]=G=>e.isRef(T)?T.value=G:null),"icon-false":e.unref(u).iconFalse,"icon-false-color":e.unref(u).iconFalseColor,"icon-false-title":e.unref(u).iconFalseTitle,"icon-true":e.unref(u).iconTrue,"icon-true-color":e.unref(u).iconTrueColor,"icon-true-title":e.unref(u).iconTrueTitle},null,8,["modelValue","icon-false","icon-false-color","icon-false-title","icon-true","icon-true-color","icon-true-title"])],6)):(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(["d-inline-flex align-center justify-center",e.unref(C)]),style:e.normalizeStyle(e.unref(N)),onClick:M},e.toDisplayString(e.unref(V)),7))])],2)],2)):e.createCommentVNode("",!0),e.unref(d)||e.unref(u).fieldOnly||e.unref(u).cardField?(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(e.unref(b))},[(e.openBlock(),e.createBlock(e.Teleport,{disabled:!e.unref(u).cardField,to:e.unref(A)},[e.createVNode(Ya,e.mergeProps(e.unref(g),{color:e.unref(u).color,density:e.unref(u).density,disabled:e.unref(f)||e.unref(v),error:e.unref(p),"false-icon":e.unref(h),"false-value":e.unref(u).falseValue,"hide-details":e.unref(u).hideDetails,label:e.unref(u).label,"model-value":e.unref(T),"true-icon":e.unref(x),"true-value":e.unref(u).trueValue,"onUpdate:modelValue":D}),e.createSlots({_:2},[e.renderList(e.unref(r),(G,H)=>({name:H,fn:e.withCtx(q=>[e.renderSlot(B.$slots,H,e.normalizeProps(e.guardReactiveProps({...q})))])})),e.unref(r).append?void 0:{name:"append",fn:e.withCtx(()=>[e.createVNode(e.unref(mn),{"cancel-button-color":e.unref(u).cancelButtonColor,"cancel-button-size":e.unref(u).cancelButtonSize,"cancel-button-title":e.unref(u).cancelButtonTitle,"cancel-button-variant":e.unref(u).cancelButtonVariant,"cancel-icon":e.unref(u).cancelIcon,"cancel-icon-color":e.unref(u).cancelIconColor,error:e.unref(p),"field-only":e.unref(u).fieldOnly,"hide-save-icon":!0,loading:e.unref(f),"loading-icon":e.unref(u).loadingIcon,"loading-icon-color":e.unref(u).loadingIconColor,"save-button-color":e.unref(u).saveButtonColor,"save-button-size":e.unref(u).saveButtonSize,"save-button-title":e.unref(u).saveButtonTitle,"save-button-variant":e.unref(u).saveButtonVariant,"save-icon":e.unref(u).saveIcon,"save-icon-color":e.unref(u).saveIconColor,onClose:L,onSave:D},null,8,["cancel-button-color","cancel-button-size","cancel-button-title","cancel-button-variant","cancel-icon","cancel-icon-color","error","field-only","loading","loading-icon","loading-icon-color","save-button-color","save-button-size","save-button-title","save-button-variant","save-icon","save-icon-color"])]),key:"0"}]),1040,["color","density","disabled","error","false-icon","false-value","hide-details","label","model-value","true-icon","true-value"])],8,["disabled","to"]))],2)):e.createCommentVNode("",!0),e.unref(u).cardField?(e.openBlock(),e.createElementBlock("div",{key:2,class:e.normalizeClass(e.unref(O)),style:e.normalizeStyle(e.unref(k))},[e.createVNode(Le,e.normalizeProps(e.guardReactiveProps(e.unref(y))),{default:e.withCtx(()=>[e.createVNode(Ne,null,{default:e.withCtx(()=>[e.createElementVNode("div",{ref_key:"cardFieldRef",ref:A},null,512)]),_:1})]),_:1},16)],6)):e.createCommentVNode("",!0)],6))}}),oi=e.defineComponent({__name:"VInlineCustomField",props:e.mergeModels(e.mergeDefaults({clearIcon:{},density:{},rules:{},variant:{},autofocus:{type:Boolean},cancelButtonColor:{},cancelButtonSize:{},cancelButtonTitle:{},cancelButtonVariant:{},cancelIcon:{},cancelIconColor:{},cardField:{type:Boolean},cardOffsetX:{},cardOffsetY:{},cardProps:{},closeSiblings:{type:Boolean},color:{},disabled:{type:Boolean},displayAppendIcon:{},displayAppendIconColor:{},displayAppendIconSize:{},displayAppendInnerIcon:{},displayAppendInnerIconColor:{},displayAppendInnerIconSize:{},displayPrependIcon:{},displayPrependIconColor:{},displayPrependIconSize:{},displayPrependInnerIcon:{},displayPrependInnerIconColor:{},displayPrependInnerIconSize:{},emptyText:{},error:{type:Boolean},fieldOnly:{type:Boolean},hideDetails:{type:Boolean},hideSaveIcon:{type:Boolean},item:{},label:{},loading:{type:Boolean},loadingIcon:{},loadingIconColor:{},loadingWait:{type:Boolean},name:{},required:{type:Boolean},saveButtonColor:{},saveButtonSize:{},saveButtonTitle:{},saveButtonVariant:{},saveIcon:{},saveIconColor:{},tableField:{type:Boolean},truncateLength:{},truncateSuffix:{},underlineColor:{},underlineStyle:{},underlineWidth:{},underlined:{type:Boolean},valueColor:{}},{...Lo}),{modelValue:{}}),emits:e.mergeModels([...He],["update:modelValue"]),setup(n,{emit:o}){const t=e.useModel(n,"modelValue"),l=e.useAttrs(),r=e.useSlots(),i=o,c=e.inject(Symbol.for("vuetify:icons")),s=n;let a=e.reactive({...l,...s});const u=e.computed(()=>s.loading),f=e.computed(()=>s.disabled),v=e.ref(!1),p=e.ref(!1),d=e.ref(!1),m=e.ref(null);let g=t.value;e.watch(()=>u.value,(S,R)=>{!S&&R&&d.value&&W()});const y=e.computed(()=>t.value?(v.value=!1,a.truncateLength?xt({length:a.truncateLength,suffix:a.truncateSuffix,text:t.value}):t.value):(v.value=!0,a.emptyText)),h=e.computed(()=>({...a,loading:u.value,modelValue:t.value,originalValue:g})),x=e.computed(()=>({color:a.color,displayAppendIcon:s.displayAppendIcon,displayAppendIconColor:s.displayAppendIconColor,displayAppendIconSize:s.displayAppendIconSize,displayAppendInnerIcon:s.displayAppendInnerIcon,displayAppendInnerIconColor:s.displayAppendInnerIconColor,displayAppendInnerIconSize:s.displayAppendInnerIconSize,displayPrependIcon:s.displayPrependIcon,displayPrependIconColor:s.displayPrependIconColor,displayPrependIconSize:s.displayPrependIconSize,displayPrependInnerIcon:s.displayPrependInnerIcon,displayPrependInnerIconColor:s.displayPrependInnerIconColor,displayPrependInnerIconSize:s.displayPrependInnerIconSize,displayValue:y.value,empty:v.value,error:p.value,field:"v-text-field",underlineColor:a.underlineColor,underlineStyle:a.underlineStyle,underlineWidth:a.underlineWidth,underlined:a.underlined,valueColor:a.valueColor})),V=e.computed(()=>({...Re,...s.cardProps})),T=e.computed(()=>Me({density:a.density,disabled:f.value,field:"v-text-field",iconSet:c==null?void 0:c.defaultSet,loading:u.value,loadingWait:a.loadingWait,tableField:a.tableField,variant:a.variant})),P=e.computed(()=>We({density:a.density,field:"v-text-field"})),z=Yn({density:a.density,variant:a.variant}),w=e.computed(()=>je({active:d.value,name:"text-field"})),b=e.computed(()=>Ge({name:"custom-field",showField:d.value})),C=e.computed(()=>({})),O=e.computed(()=>N.value);function F(){p.value=!1,t.value=g,W()}const N=e.ref(),k=e.ref(null),L=e.ref("body");function W(){var R,B;if(f.value||a.loadingWait&&u.value)return;N.value=Ae({cardMinWidth:(R=a.cardProps)==null?void 0:R.minWidth,cardOffsetX:a.cardOffsetX,cardOffsetY:a.cardOffsetY,cardWidth:(B=a.cardProps)==null?void 0:B.width,field:k.value});const S=qe({attrs:l,closeSiblings:a.closeSiblings,fieldOnly:a.fieldOnly,props:s,showField:d,timeOpened:m.value});a={...a,...S.settings},d.value=S.showField,m.value=S.timeOpened,M!==null&&a.closeSiblings&&d.value&&!a.fieldOnly&&M.emit(S.timeOpened)}const I=e.ref();function A(){const S=Xn({required:a.required,rules:a.rules,value:t});return p.value=S.errors,I.value=S.results,S.results}function E(){p.value?p.value=!0:(g=t.value,i("update",t.value),a.loadingWait||W())}let M,D;function _(S){i("update:closeSiblingFields",m),d.value&&m.value!==S&&F()}return e.watch(()=>d.value,()=>{d.value&&A()}),e.watch(()=>t.value,()=>{d.value&&A()}),a.closeSiblings&&import("@vueuse/core").then(({useEventBus:S})=>{M=S(Te),D=M.on(_)}),e.onUnmounted(()=>{D!==void 0&&M.off(_)}),(S,R)=>(e.openBlock(),e.createElementBlock("div",{ref_key:"inlineFieldsContainer",ref:k,class:e.normalizeClass(e.unref(T)),style:e.normalizeStyle(e.unref(C))},[!e.unref(d)&&!e.unref(a).fieldOnly||e.unref(a).cardField?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(e.unref(P))},[e.createElementVNode("div",{class:e.normalizeClass(e.unref(z))},[e.createVNode(e.unref(Kn),e.mergeProps(e.unref(x),{onToggleField:W}),e.createSlots({_:2},[e.renderList(e.unref(r),(B,$)=>({name:$,fn:e.withCtx(G=>[e.renderSlot(S.$slots,$,e.normalizeProps(e.guardReactiveProps({...G})))])}))]),1040)],2)],2)):e.createCommentVNode("",!0),e.unref(d)||e.unref(a).fieldOnly||e.unref(a).cardField?(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(["d-flex align-center py-2",e.unref(w)])},[(e.openBlock(),e.createBlock(e.Teleport,{disabled:!e.unref(a).cardField,to:e.unref(L)},[e.renderSlot(S.$slots,"default",e.normalizeProps(e.guardReactiveProps(e.unref(h)))),e.createVNode(e.unref(mn),{modelValue:t.value,"onUpdate:modelValue":R[0]||(R[0]=B=>t.value=B),"cancel-button-color":e.unref(a).cancelButtonColor,"cancel-button-size":e.unref(a).cancelButtonSize,"cancel-button-title":e.unref(a).cancelButtonTitle,"cancel-button-variant":e.unref(a).cancelButtonVariant,"cancel-icon":e.unref(a).cancelIcon,"cancel-icon-color":e.unref(a).cancelIconColor,error:e.unref(p),"field-only":e.unref(a).fieldOnly,"hide-save-icon":e.unref(a).hideSaveIcon,loading:e.unref(u),"loading-icon":e.unref(a).loadingIcon,"loading-icon-color":e.unref(a).loadingIconColor,required:e.unref(a).required,"save-button-color":e.unref(a).saveButtonColor,"save-button-size":e.unref(a).saveButtonSize,"save-button-title":e.unref(a).saveButtonTitle,"save-button-variant":e.unref(a).saveButtonVariant,"save-icon":e.unref(a).saveIcon,"save-icon-color":e.unref(a).saveIconColor,onClose:F,onSave:E},null,8,["modelValue","cancel-button-color","cancel-button-size","cancel-button-title","cancel-button-variant","cancel-icon","cancel-icon-color","error","field-only","hide-save-icon","loading","loading-icon","loading-icon-color","required","save-button-color","save-button-size","save-button-title","save-button-variant","save-icon","save-icon-color"])],8,["disabled","to"]))],2)):e.createCommentVNode("",!0),e.unref(a).cardField?(e.openBlock(),e.createElementBlock("div",{key:2,class:e.normalizeClass(e.unref(b)),style:e.normalizeStyle(e.unref(O))},[e.createVNode(Le,e.normalizeProps(e.guardReactiveProps(e.unref(V))),{default:e.withCtx(()=>[e.createVNode(Ne,null,{default:e.withCtx(()=>[e.createElementVNode("div",{ref_key:"cardFieldRef",ref:L},null,512)]),_:1})]),_:1},16)],6)):e.createCommentVNode("",!0)],6))}}),li=e.defineComponent({__name:"VInlineSelect",props:e.mergeModels(e.mergeDefaults({clearIcon:{},clearable:{},density:{},hideSelected:{},itemTitle:{},itemValue:{},items:{},menu:{},rules:{},variant:{},autofocus:{type:Boolean},cancelButtonColor:{},cancelButtonSize:{},cancelButtonTitle:{},cancelButtonVariant:{},cancelIcon:{},cancelIconColor:{},cardField:{type:Boolean},cardOffsetX:{},cardOffsetY:{},cardProps:{},closeSiblings:{type:Boolean},color:{},disabled:{type:Boolean},displayAppendIcon:{},displayAppendIconColor:{},displayAppendIconSize:{},displayAppendInnerIcon:{},displayAppendInnerIconColor:{},displayAppendInnerIconSize:{},displayPrependIcon:{},displayPrependIconColor:{},displayPrependIconSize:{},displayPrependInnerIcon:{},displayPrependInnerIconColor:{},displayPrependInnerIconSize:{},emptyText:{},error:{type:Boolean},fieldOnly:{type:Boolean},hideDetails:{type:Boolean},hideSaveIcon:{type:Boolean},item:{},label:{},loading:{type:Boolean},loadingIcon:{},loadingIconColor:{},loadingWait:{type:Boolean},name:{},required:{type:Boolean},saveButtonColor:{},saveButtonSize:{},saveButtonTitle:{},saveButtonVariant:{},saveIcon:{},saveIconColor:{},tableField:{type:Boolean},underlineColor:{},underlineStyle:{},underlineWidth:{},underlined:{type:Boolean},valueColor:{}},{...ra}),{modelValue:{}}),emits:e.mergeModels([...He],["update:modelValue"]),setup(n,{emit:o}){const t=e.useModel(n,"modelValue"),l=e.useAttrs(),r=e.useSlots(),i=o,c=e.inject(Symbol.for("vuetify:icons")),s=n;let a=e.reactive({...l,...s});const u=e.computed(()=>s.loading),f=e.computed(()=>s.disabled),v=e.ref(!1),p=e.ref(!1),d=e.ref(),m=e.ref(!1),g=e.ref(null);let y=t.value;e.watch(()=>u.value,($,G)=>{!$&&G&&m.value&&A()});const h=e.computed(()=>de({icon:s.clearIcon,iconOptions:c,name:"clear"})),x=e.computed(()=>t.value&&t.value[a.itemTitle]?(v.value=!1,t.value[a.itemTitle]):(t.value="",v.value=!0,a.emptyText)),V=e.computed(()=>sn(a)),T=e.computed(()=>({color:a.color,displayAppendIcon:s.displayAppendIcon,displayAppendIconColor:s.displayAppendIconColor,displayAppendIconSize:s.displayAppendIconSize,displayAppendInnerIcon:s.displayAppendInnerIcon,displayAppendInnerIconColor:s.displayAppendInnerIconColor,displayAppendInnerIconSize:s.displayAppendInnerIconSize,displayPrependIcon:s.displayPrependIcon,displayPrependIconColor:s.displayPrependIconColor,displayPrependIconSize:s.displayPrependIconSize,displayPrependInnerIcon:s.displayPrependInnerIcon,displayPrependInnerIconColor:s.displayPrependInnerIconColor,displayPrependInnerIconSize:s.displayPrependInnerIconSize,displayValue:x.value,empty:v.value,error:p.value,field:"v-text-field",underlineColor:a.underlineColor,underlineStyle:a.underlineStyle,underlineWidth:a.underlineWidth,underlined:a.underlined,valueColor:a.valueColor})),P=e.computed(()=>({...Re,...s.cardProps}));e.watchEffect(()=>{d.value=a.items||[]});const z=e.computed(()=>Me({density:a.density,disabled:f.value,field:"v-select",iconSet:c==null?void 0:c.defaultSet,loading:u.value,loadingWait:a.loadingWait,tableField:a.tableField,variant:a.variant})),w=e.computed(()=>We({density:a.density,field:"v-select"})),b=Yn({density:a.density,variant:a.variant}),C=e.computed(()=>je({active:m.value,name:"select"})),O=e.computed(()=>Ge({name:"select",showField:m.value})),F=e.computed(()=>({})),N=e.computed(()=>L.value);function k(){p.value=!1,t.value=y,A()}const L=e.ref(),W=e.ref(null),I=e.ref("body");function A(){var G,H;if(f.value||a.loadingWait&&u.value)return;L.value=Ae({cardMinWidth:(G=a.cardProps)==null?void 0:G.minWidth,cardOffsetX:a.cardOffsetX,cardOffsetY:a.cardOffsetY,cardWidth:(H=a.cardProps)==null?void 0:H.width,field:W.value});const $=qe({attrs:l,closeSiblings:a.closeSiblings,fieldOnly:a.fieldOnly,props:s,showField:m,timeOpened:g.value});a={...a,...$.settings},m.value=$.showField,g.value=$.timeOpened,S!==null&&a.closeSiblings&&m.value&&!a.fieldOnly&&S.emit($.timeOpened)}const E=e.ref(),M=e.computed(()=>E.value);function D(){const $=Xn({required:a.required,rules:a.rules,value:t});return p.value=$.errors,E.value=$.results,$.results}function _(){y=t.value,i("update",t.value),a.loadingWait||A()}let S,R;function B($){i("update:closeSiblingFields",g),m.value&&g.value!==$&&k()}return e.watch(()=>m.value,()=>{m.value&&D()}),e.watch(()=>t.value,()=>{m.value&&D()}),a.closeSiblings&&import("@vueuse/core").then(({useEventBus:$})=>{S=$(Te),R=S.on(B)}),e.onUnmounted(()=>{R!==void 0&&S.off(B)}),($,G)=>(e.openBlock(),e.createElementBlock("div",{ref_key:"inlineFieldsContainer",ref:W,class:e.normalizeClass(e.unref(z)),style:e.normalizeStyle(e.unref(F))},[!e.unref(m)&&!e.unref(a).fieldOnly||e.unref(a).cardField?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(e.unref(w))},[e.createElementVNode("div",{class:e.normalizeClass(e.unref(b))},[e.createVNode(e.unref(Kn),e.mergeProps(e.unref(T),{onToggleField:A}),e.createSlots({_:2},[e.renderList(e.unref(r),(H,q)=>({name:q,fn:e.withCtx(Z=>[e.renderSlot($.$slots,q,e.normalizeProps(e.guardReactiveProps({...Z})),void 0,!0)])}))]),1040)],2)],2)):e.createCommentVNode("",!0),e.unref(m)||e.unref(a).fieldOnly||e.unref(a).cardField?(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(e.unref(C))},[(e.openBlock(),e.createBlock(e.Teleport,{disabled:!e.unref(a).cardField,to:e.unref(I)},[e.createVNode(Mr,e.mergeProps(e.unref(V),{modelValue:t.value,"onUpdate:modelValue":G[0]||(G[0]=H=>t.value=H),autofocus:!e.unref(a).fieldOnly||e.unref(a).autofocus,"clear-icon":e.unref(h),clearable:e.unref(a).clearable,color:e.unref(a).color,density:e.unref(a).density,disabled:e.unref(u)||e.unref(f),error:e.unref(p),"error-messages":e.unref(M),"hide-details":e.unref(a).hideDetails,"hide-selected":e.unref(a).hideSelected,"item-title":e.unref(a).itemTitle,"item-value":e.unref(a).itemValue,items:e.unref(d),label:e.unref(a).label,loading:e.unref(u),menu:e.unref(a).menu&&!e.unref(a).fieldOnly&&e.unref(m),variant:e.unref(a).variant,width:"100%",onKeyup:e.withKeys(k,["esc"])}),e.createSlots({_:2},[e.renderList(e.unref(r),(H,q)=>({name:q,fn:e.withCtx(Z=>[e.renderSlot($.$slots,q,e.normalizeProps(e.guardReactiveProps({...Z})),void 0,!0)])})),e.unref(r).append?void 0:{name:"append",fn:e.withCtx(()=>[e.createVNode(e.unref(mn),{"cancel-button-color":e.unref(a).cancelButtonColor,"cancel-button-size":e.unref(a).cancelButtonSize,"cancel-button-title":e.unref(a).cancelButtonTitle,"cancel-button-variant":e.unref(a).cancelButtonVariant,"cancel-icon":e.unref(a).cancelIcon,"cancel-icon-color":e.unref(a).cancelIconColor,error:e.unref(p),"field-only":e.unref(a).fieldOnly,"hide-save-icon":e.unref(a).hideSaveIcon,loading:e.unref(u),"loading-icon":e.unref(a).loadingIcon,"loading-icon-color":e.unref(a).loadingIconColor,"save-button-color":e.unref(a).saveButtonColor,"save-button-size":e.unref(a).saveButtonSize,"save-button-title":e.unref(a).saveButtonTitle,"save-button-variant":e.unref(a).saveButtonVariant,"save-icon":e.unref(a).saveIcon,"save-icon-color":e.unref(a).saveIconColor,onClose:k,onSave:_},null,8,["cancel-button-color","cancel-button-size","cancel-button-title","cancel-button-variant","cancel-icon","cancel-icon-color","error","field-only","hide-save-icon","loading","loading-icon","loading-icon-color","save-button-color","save-button-size","save-button-title","save-button-variant","save-icon","save-icon-color"])]),key:"0"}]),1040,["modelValue","autofocus","clear-icon","clearable","color","density","disabled","error","error-messages","hide-details","hide-selected","item-title","item-value","items","label","loading","menu","variant","onKeyup"])],8,["disabled","to"]))],2)):e.createCommentVNode("",!0),e.unref(a).cardField?(e.openBlock(),e.createElementBlock("div",{key:2,class:e.normalizeClass(e.unref(O)),style:e.normalizeStyle(e.unref(N))},[e.createVNode(Le,e.normalizeProps(e.guardReactiveProps(e.unref(P))),{default:e.withCtx(()=>[e.createVNode(Ne,null,{default:e.withCtx(()=>[e.createElementVNode("div",{ref_key:"cardFieldRef",ref:I},null,512)]),_:1})]),_:1},16)],6)):e.createCommentVNode("",!0)],6))}}),ai={class:"v-selection-control__wrapper"},ve={VInlineCheckbox:ti,VInlineCustomField:oi,VInlineSelect:((n,o)=>{const t=n.__vccOpts||n;for(const[l,r]of o)t[l]=r;return t})(li,[["__scopeId","data-v-d028b1ff"]]),VInlineSwitch:e.defineComponent({__name:"VInlineSwitch",props:e.mergeModels(e.mergeDefaults({density:{},falseIcon:{},cancelButtonColor:{},cancelButtonSize:{},cancelButtonTitle:{},cancelButtonVariant:{},cancelIcon:{},cancelIconColor:{},cardField:{type:Boolean},cardOffsetX:{},cardOffsetY:{},cardProps:{},closeSiblings:{type:Boolean},color:{},disabled:{type:Boolean},displayAppendIcon:{},displayAppendIconColor:{},displayAppendIconSize:{},displayAppendInnerIcon:{},displayAppendInnerIconColor:{},displayAppendInnerIconSize:{},displayPrependIcon:{},displayPrependIconColor:{},displayPrependIconSize:{},displayPrependInnerIcon:{},displayPrependInnerIconColor:{},displayPrependInnerIconSize:{},emptyText:{},error:{type:Boolean},falseValue:{type:[Boolean,String]},fieldOnly:{type:Boolean},hideDetails:{type:Boolean},iconFalse:{},iconFalseColor:{},iconFalseTitle:{},iconTrue:{},iconTrueColor:{},iconTrueTitle:{},icons:{type:Boolean},item:{},label:{},loading:{type:Boolean},loadingWait:{type:Boolean},name:{},required:{type:Boolean},tableField:{type:Boolean},trueValue:{type:[Boolean,String]},underlineColor:{},underlineStyle:{},underlineWidth:{},underlined:{type:Boolean},valueColor:{}},{...ia}),{modelValue:{}}),emits:e.mergeModels([...He],["update:modelValue"]),setup(n,{emit:o}){const t=e.useModel(n,"modelValue"),l=e.useAttrs(),r=e.useSlots(),i=o,c=e.inject(Symbol.for("vuetify:icons")),s=Ft.useTheme(),a=n;let u=e.reactive({...l,...a});const f=e.computed(()=>a.loading),v=e.computed(()=>a.disabled),p=e.ref(!1),d=e.ref(!1),m=e.ref(null),g=e.computed(()=>sn(u)),y=e.computed(()=>({...Re,...a.cardProps}));e.watch(()=>f.value,(_,S)=>{!_&&S&&d.value&&I()});const h=e.computed(()=>de({icon:u.cancelIcon,iconOptions:c,name:"false"})),x=e.computed(()=>t.value==u.trueValue),V=e.computed(()=>Kl({modelValue:t,trueValue:u.trueValue})),T=e.computed(()=>Me({density:u.density,disabled:v.value,field:"v-switch",loading:f.value,loadingWait:u.loadingWait,tableField:u.tableField})),P=e.computed(()=>We({density:u.density,field:"v-switch"})),z=Yl({density:u.density}),w=e.computed(()=>je({active:d.value,name:"switch"})),b=e.computed(()=>Ht("switch",u.valueColor,{error:p})),C=e.computed(()=>Ge({name:"switch",showField:d.value})),O=e.computed(()=>({})),F=e.computed(()=>Ut({color:u.color,error:p,theme:s,underlineColor:u.underlineColor,underlineStyle:u.underlineStyle,underlineWidth:u.underlineWidth,underlined:u.underlined})),N=e.computed(()=>k.value),k=e.ref(),L=e.ref(null),W=e.ref("body");function I(){var S,R;if(v.value||u.loadingWait&&f.value)return;k.value=Ae({cardMinWidth:(S=u.cardProps)==null?void 0:S.minWidth,cardOffsetX:u.cardOffsetX,cardOffsetY:u.cardOffsetY,cardWidth:(R=u.cardProps)==null?void 0:R.width,field:L.value});const _=qe({attrs:l,closeSiblings:u.closeSiblings,fieldOnly:u.fieldOnly,props:a,showField:d.value,timeOpened:m.value});u={...u,..._.settings},d.value=_.showField,m.value=_.timeOpened,E!==null&&u.closeSiblings&&d.value&&!u.fieldOnly&&E.emit(_.timeOpened)}function A(_){t.value=_,i("update",_),u.loadingWait||I()}let E,M;function D(_){i("update:closeSiblingFields",m),d.value&&m.value!==_&&I()}return u.closeSiblings&&import("@vueuse/core").then(({useEventBus:_})=>{E=_(Te),M=E.on(D)}),e.onUnmounted(()=>{M!==void 0&&E.off(D)}),(_,S)=>(e.openBlock(),e.createElementBlock("div",{ref_key:"inlineFieldsContainer",ref:L,class:e.normalizeClass(e.unref(T)),style:e.normalizeStyle(e.unref(O))},[!e.unref(d)&&!e.unref(u).fieldOnly||e.unref(u).cardField?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(e.unref(P))},[e.createElementVNode("div",{class:e.normalizeClass(e.unref(z))},[e.createElementVNode("div",ai,[_.icons?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(e.unref(b)),style:e.normalizeStyle(e.unref(F)),onClick:I},[e.createVNode(e.unref(Ul),{modelValue:e.unref(V),"onUpdate:modelValue":S[0]||(S[0]=R=>e.isRef(V)?V.value=R:null),"icon-false":e.unref(u).iconFalse,"icon-false-color":e.unref(u).iconFalseColor,"icon-false-title":e.unref(u).iconFalseTitle,"icon-true":e.unref(u).iconTrue,"icon-true-color":e.unref(u).iconTrueColor,"icon-true-title":e.unref(u).iconTrueTitle},null,8,["modelValue","icon-false","icon-false-color","icon-false-title","icon-true","icon-true-color","icon-true-title"])],6)):(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(["d-inline-flex align-center justify-center",e.unref(b)]),style:e.normalizeStyle(e.unref(F)),onClick:I},e.toDisplayString(e.unref(x)),7))])],2)],2)):e.createCommentVNode("",!0),e.unref(d)||e.unref(u).fieldOnly||e.unref(u).cardField?(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(e.unref(w))},[(e.openBlock(),e.createBlock(e.Teleport,{disabled:!e.unref(u).cardField,to:e.unref(W)},[e.createVNode(Kr,e.mergeProps(e.unref(g),{color:e.unref(u).color,density:e.unref(u).density,disabled:e.unref(f)||e.unref(v),error:e.unref(p),"false-icon":e.unref(u).falseIcon,"false-value":e.unref(u).falseValue,"hide-details":e.unref(u).hideDetails,label:e.unref(u).label,loading:e.unref(f),"model-value":e.unref(V),"true-value":e.unref(u).trueValue,"onUpdate:modelValue":A}),e.createSlots({_:2},[e.renderList(e.unref(r),(R,B)=>({name:B,fn:e.withCtx($=>[e.renderSlot(_.$slots,B,e.normalizeProps(e.guardReactiveProps({...$})))])})),e.unref(r).append?void 0:{name:"append",fn:e.withCtx(()=>[!e.unref(u).fieldOnly||e.unref(u).cardField?(e.openBlock(),e.createBlock(ht,{key:0,class:"ms-3",color:e.unref(u).cancelButtonColor,icon:"",size:e.unref(u).cancelButtonSize,title:e.unref(u).cancelButtonTitle,variant:e.unref(u).cancelButtonVariant,onClick:I},{default:e.withCtx(()=>[e.createVNode(ee,{color:e.unref(u).cancelIconColor,icon:e.unref(h)},null,8,["color","icon"])]),_:1},8,["color","size","title","variant"])):e.createCommentVNode("",!0)]),key:"0"}]),1040,["color","density","disabled","error","false-icon","false-value","hide-details","label","loading","model-value","true-value"])],8,["disabled","to"]))],2)):e.createCommentVNode("",!0),e.unref(u).cardField?(e.openBlock(),e.createElementBlock("div",{key:2,class:e.normalizeClass(e.unref(C)),style:e.normalizeStyle(e.unref(N))},[e.createVNode(Le,e.normalizeProps(e.guardReactiveProps(e.unref(y))),{default:e.withCtx(()=>[e.createVNode(Ne,null,{default:e.withCtx(()=>[e.createElementVNode("div",{ref_key:"cardFieldRef",ref:W},null,512)]),_:1})]),_:1},16)],6)):e.createCommentVNode("",!0)],6))}}),VInlineTextField:e.defineComponent({__name:"VInlineTextField",props:e.mergeModels(e.mergeDefaults({clearIcon:{},density:{},rules:{},variant:{},autofocus:{type:Boolean},cancelButtonColor:{},cancelButtonSize:{},cancelButtonTitle:{},cancelButtonVariant:{},cancelIcon:{},cancelIconColor:{},cardField:{type:Boolean},cardOffsetX:{},cardOffsetY:{},cardProps:{},closeSiblings:{type:Boolean},color:{},disabled:{type:Boolean},displayAppendIcon:{},displayAppendIconColor:{},displayAppendIconSize:{},displayAppendInnerIcon:{},displayAppendInnerIconColor:{},displayAppendInnerIconSize:{},displayPrependIcon:{},displayPrependIconColor:{},displayPrependIconSize:{},displayPrependInnerIcon:{},displayPrependInnerIconColor:{},displayPrependInnerIconSize:{},emptyText:{},error:{type:Boolean},fieldOnly:{type:Boolean},hideDetails:{type:Boolean},hideSaveIcon:{type:Boolean},item:{},label:{},loading:{type:Boolean},loadingIcon:{},loadingIconColor:{},loadingWait:{type:Boolean},name:{},required:{type:Boolean},saveButtonColor:{},saveButtonSize:{},saveButtonTitle:{},saveButtonVariant:{},saveIcon:{},saveIconColor:{},tableField:{type:Boolean},truncateLength:{},truncateSuffix:{},underlineColor:{},underlineStyle:{},underlineWidth:{},underlined:{type:Boolean},valueColor:{}},{...Lo}),{modelValue:{}}),emits:e.mergeModels([...He],["update:modelValue"]),setup(n,{emit:o}){const t=e.useModel(n,"modelValue"),l=e.useAttrs(),r=e.useSlots(),i=o,c=e.inject(Symbol.for("vuetify:icons")),s=n;let a=e.reactive({...l,...s});const u=e.computed(()=>s.loading),f=e.computed(()=>s.disabled),v=e.ref(!1),p=e.ref(!1),d=e.ref(!1),m=e.ref(null);let g=t.value;e.watch(()=>u.value,(B,$)=>{!B&&$&&d.value&&I()});const y=e.computed(()=>de({icon:s.clearIcon,iconOptions:c,name:"clear"})),h=e.computed(()=>t.value?(v.value=!1,a.truncateLength?xt({length:a.truncateLength,suffix:a.truncateSuffix,text:t.value}):t.value):(v.value=!0,a.emptyText)),x=e.computed(()=>sn(a)),V=e.computed(()=>({color:a.color,displayAppendIcon:s.displayAppendIcon,displayAppendIconColor:s.displayAppendIconColor,displayAppendIconSize:s.displayAppendIconSize,displayAppendInnerIcon:s.displayAppendInnerIcon,displayAppendInnerIconColor:s.displayAppendInnerIconColor,displayAppendInnerIconSize:s.displayAppendInnerIconSize,displayPrependIcon:s.displayPrependIcon,displayPrependIconColor:s.displayPrependIconColor,displayPrependIconSize:s.displayPrependIconSize,displayPrependInnerIcon:s.displayPrependInnerIcon,displayPrependInnerIconColor:s.displayPrependInnerIconColor,displayPrependInnerIconSize:s.displayPrependInnerIconSize,displayValue:h.value,empty:v.value,error:p.value,field:"v-text-field",underlineColor:a.underlineColor,underlineStyle:a.underlineStyle,underlineWidth:a.underlineWidth,underlined:a.underlined,valueColor:a.valueColor})),T=e.computed(()=>({...Re,...s.cardProps})),P=e.computed(()=>Me({density:a.density,disabled:f.value,field:"v-text-field",iconSet:c==null?void 0:c.defaultSet,loading:u.value,loadingWait:a.loadingWait,tableField:a.tableField,variant:a.variant})),z=e.computed(()=>We({density:a.density,field:"v-text-field"})),w=Yn({density:a.density,variant:a.variant}),b=e.computed(()=>je({active:d.value,name:"text-field"})),C=e.computed(()=>Ge({name:"text-field",showField:d.value})),O=e.computed(()=>({})),F=e.computed(()=>k.value);function N(){p.value=!1,t.value=g,I()}const k=e.ref(),L=e.ref(null),W=e.ref("body");function I(){var $,G;if(f.value||a.loadingWait&&u.value)return;k.value=Ae({cardMinWidth:($=a.cardProps)==null?void 0:$.minWidth,cardOffsetX:a.cardOffsetX,cardOffsetY:a.cardOffsetY,cardWidth:(G=a.cardProps)==null?void 0:G.width,field:L.value});const B=qe({attrs:l,closeSiblings:a.closeSiblings,fieldOnly:a.fieldOnly,props:s,showField:d,timeOpened:m.value});a={...a,...B.settings},d.value=B.showField,m.value=B.timeOpened,_!==null&&a.closeSiblings&&d.value&&!a.fieldOnly&&_.emit(B.timeOpened)}const A=e.ref(),E=e.computed(()=>A.value);function M(){const B=Xn({required:a.required,rules:a.rules,value:t});return p.value=B.errors,A.value=B.results,B.results}function D(){p.value?p.value=!0:(g=t.value,i("update",t.value),a.loadingWait||I())}let _,S;function R(B){i("update:closeSiblingFields",m),d.value&&m.value!==B&&N()}return e.watch(()=>d.value,()=>{d.value&&M()}),e.watch(()=>t.value,()=>{d.value&&M()}),a.closeSiblings&&import("@vueuse/core").then(({useEventBus:B})=>{_=B(Te),S=_.on(R)}),e.onUnmounted(()=>{S!==void 0&&_.off(R)}),(B,$)=>(e.openBlock(),e.createElementBlock("div",{ref_key:"inlineFieldsContainer",ref:L,class:e.normalizeClass(e.unref(P)),style:e.normalizeStyle(e.unref(O))},[!e.unref(d)&&!e.unref(a).fieldOnly||e.unref(a).cardField?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(e.unref(z))},[e.createElementVNode("div",{class:e.normalizeClass(e.unref(w))},[e.createVNode(e.unref(Kn),e.mergeProps(e.unref(V),{onToggleField:I}),e.createSlots({_:2},[e.renderList(e.unref(r),(G,H)=>({name:H,fn:e.withCtx(q=>[e.renderSlot(B.$slots,H,e.normalizeProps(e.guardReactiveProps({...q})))])}))]),1040)],2)],2)):e.createCommentVNode("",!0),e.unref(d)||e.unref(a).fieldOnly||e.unref(a).cardField?(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(e.unref(b))},[(e.openBlock(),e.createBlock(e.Teleport,{disabled:!e.unref(a).cardField,to:e.unref(W)},[e.createVNode(kt,e.mergeProps(e.unref(x),{modelValue:t.value,"onUpdate:modelValue":$[1]||($[1]=G=>t.value=G),autofocus:!e.unref(a).fieldOnly||e.unref(a).autofocus,"clear-icon":e.unref(y),disabled:e.unref(u)||e.unref(f),error:e.unref(p),"error-messages":e.unref(E),label:e.unref(a).label,loading:e.unref(u),width:"100%",onKeyup:[e.withKeys(D,["enter"]),e.withKeys(N,["esc"])]}),e.createSlots({_:2},[e.renderList(e.unref(r),(G,H)=>({name:H,fn:e.withCtx(q=>[e.renderSlot(B.$slots,H,e.normalizeProps(e.guardReactiveProps({...q})))])})),e.unref(r).append?void 0:{name:"append",fn:e.withCtx(()=>[e.createVNode(e.unref(mn),{modelValue:t.value,"onUpdate:modelValue":$[0]||($[0]=G=>t.value=G),"cancel-button-color":e.unref(a).cancelButtonColor,"cancel-button-size":e.unref(a).cancelButtonSize,"cancel-button-title":e.unref(a).cancelButtonTitle,"cancel-button-variant":e.unref(a).cancelButtonVariant,"cancel-icon":e.unref(a).cancelIcon,"cancel-icon-color":e.unref(a).cancelIconColor,error:e.unref(p),"field-only":e.unref(a).fieldOnly,"hide-save-icon":e.unref(a).hideSaveIcon,loading:e.unref(u),"loading-icon":e.unref(a).loadingIcon,"loading-icon-color":e.unref(a).loadingIconColor,required:e.unref(a).required,"save-button-color":e.unref(a).saveButtonColor,"save-button-size":e.unref(a).saveButtonSize,"save-button-title":e.unref(a).saveButtonTitle,"save-button-variant":e.unref(a).saveButtonVariant,"save-icon":e.unref(a).saveIcon,"save-icon-color":e.unref(a).saveIconColor,onClose:N,onSave:D},null,8,["modelValue","cancel-button-color","cancel-button-size","cancel-button-title","cancel-button-variant","cancel-icon","cancel-icon-color","error","field-only","hide-save-icon","loading","loading-icon","loading-icon-color","required","save-button-color","save-button-size","save-button-title","save-button-variant","save-icon","save-icon-color"])]),key:"0"}]),1040,["modelValue","autofocus","clear-icon","disabled","error","error-messages","label","loading","onKeyup"])],8,["disabled","to"]))],2)):e.createCommentVNode("",!0),e.unref(a).cardField?(e.openBlock(),e.createElementBlock("div",{key:2,class:e.normalizeClass(e.unref(C)),style:e.normalizeStyle(e.unref(F))},[e.createVNode(Le,e.normalizeProps(e.guardReactiveProps(e.unref(T))),{default:e.withCtx(()=>[e.createVNode(Ne,null,{default:e.withCtx(()=>[e.createElementVNode("div",{ref_key:"cardFieldRef",ref:W},null,512)]),_:1})]),_:1},16)],6)):e.createCommentVNode("",!0)],6))}}),VInlineTextarea:e.defineComponent({__name:"VInlineTextarea",props:e.mergeModels(e.mergeDefaults({autoGrow:{},clearIcon:{},density:{},rows:{},rules:{},variant:{},autofocus:{type:Boolean},cancelButtonColor:{},cancelButtonSize:{},cancelButtonTitle:{},cancelButtonVariant:{},cancelIcon:{},cancelIconColor:{},cardField:{type:Boolean},cardOffsetX:{},cardOffsetY:{},cardProps:{},closeSiblings:{type:Boolean},color:{},disabled:{type:Boolean},displayAppendIcon:{},displayAppendIconColor:{},displayAppendIconSize:{},displayAppendInnerIcon:{},displayAppendInnerIconColor:{},displayAppendInnerIconSize:{},displayPrependIcon:{},displayPrependIconColor:{},displayPrependIconSize:{},displayPrependInnerIcon:{},displayPrependInnerIconColor:{},displayPrependInnerIconSize:{},emptyText:{},error:{type:Boolean},fieldOnly:{type:Boolean},hideDetails:{type:Boolean},hideSaveIcon:{type:Boolean},item:{},label:{},loading:{type:Boolean},loadingIcon:{},loadingIconColor:{},loadingWait:{type:Boolean},name:{},required:{type:Boolean},saveButtonColor:{},saveButtonSize:{},saveButtonTitle:{},saveButtonVariant:{},saveIcon:{},saveIconColor:{},tableField:{type:Boolean},truncateLength:{},truncateSuffix:{},underlineColor:{},underlineStyle:{},underlineWidth:{},underlined:{type:Boolean},valueColor:{}},{...sa}),{modelValue:{}}),emits:e.mergeModels([...He],["update:modelValue"]),setup(n,{emit:o}){const t=e.useModel(n,"modelValue"),l=e.useAttrs(),r=e.useSlots(),i=o,c=e.inject(Symbol.for("vuetify:icons")),s=n;let a=e.reactive({...l,...s});const u=e.computed(()=>s.loading),f=e.computed(()=>s.disabled),v=e.ref(!1),p=e.ref(!1),d=e.ref(!1),m=e.ref(null);let g=t.value;e.watch(()=>u.value,(B,$)=>{!B&&$&&d.value&&I()});const y=e.computed(()=>de({icon:s.clearIcon,iconOptions:c,name:"clear"})),h=e.computed(()=>t.value?(v.value=!1,a.truncateLength?xt({length:a.truncateLength,suffix:a.truncateSuffix,text:t.value}):t.value):(v.value=!0,a.emptyText)),x=e.computed(()=>sn(a)),V=e.computed(()=>({color:a.color,displayAppendIcon:s.displayAppendIcon,displayAppendIconColor:s.displayAppendIconColor,displayAppendIconSize:s.displayAppendIconSize,displayAppendInnerIcon:s.displayAppendInnerIcon,displayAppendInnerIconColor:s.displayAppendInnerIconColor,displayAppendInnerIconSize:s.displayAppendInnerIconSize,displayPrependIcon:s.displayPrependIcon,displayPrependIconColor:s.displayPrependIconColor,displayPrependIconSize:s.displayPrependIconSize,displayPrependInnerIcon:s.displayPrependInnerIcon,displayPrependInnerIconColor:s.displayPrependInnerIconColor,displayPrependInnerIconSize:s.displayPrependInnerIconSize,displayValue:h.value,empty:v.value,error:p.value,field:"v-text-field",underlineColor:a.underlineColor,underlineStyle:a.underlineStyle,underlineWidth:a.underlineWidth,underlined:a.underlined,valueColor:a.valueColor})),T=e.computed(()=>({...Re,...s.cardProps})),P=e.computed(()=>Me({density:a.density,disabled:f.value,field:"v-textarea",iconSet:c==null?void 0:c.defaultSet,loading:u.value,loadingWait:a.loadingWait,tableField:a.tableField,variant:a.variant})),z=e.computed(()=>We({density:a.density,field:"v-textarea"})),w=Yn({density:a.density,variant:a.variant}),b=e.computed(()=>je({active:d.value,name:"textarea"})),C=e.computed(()=>Ge({name:"textarea",showField:d.value})),O=e.computed(()=>({})),F=e.computed(()=>k.value);function N(){p.value=!1,t.value=g,I()}const k=e.ref(),L=e.ref(null),W=e.ref("body");function I(){var $,G;if(f.value||a.loadingWait&&u.value)return;k.value=Ae({cardMinWidth:($=a.cardProps)==null?void 0:$.minWidth,cardOffsetX:a.cardOffsetX,cardOffsetY:a.cardOffsetY,cardWidth:(G=a.cardProps)==null?void 0:G.width,field:L.value});const B=qe({attrs:l,closeSiblings:a.closeSiblings,fieldOnly:a.fieldOnly,props:s,showField:d,timeOpened:m.value});a={...a,...B.settings},d.value=B.showField,m.value=B.timeOpened,_!==null&&a.closeSiblings&&d.value&&!a.fieldOnly&&_.emit(B.timeOpened)}const A=e.ref(),E=e.computed(()=>A.value);function M(){const B=Xn({required:a.required,rules:a.rules,value:t});return p.value=B.errors,A.value=B.results,B.results}function D(){g=t.value,i("update",t.value),a.loadingWait||I()}let _,S;function R(B){i("update:closeSiblingFields",m),d.value&&m.value!==B&&N()}return e.watch(()=>d.value,()=>{d.value&&M()}),e.watch(()=>t.value,()=>{d.value&&M()}),a.closeSiblings&&import("@vueuse/core").then(({useEventBus:B})=>{_=B(Te),S=_.on(R)}),e.onUnmounted(()=>{S!==void 0&&_.off(R)}),(B,$)=>(e.openBlock(),e.createElementBlock("div",{ref_key:"inlineFieldsContainer",ref:L,class:e.normalizeClass(e.unref(P)),style:e.normalizeStyle(e.unref(O))},[!e.unref(d)&&!e.unref(a).fieldOnly||e.unref(a).cardField?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(e.unref(z))},[e.createElementVNode("div",{class:e.normalizeClass(e.unref(w))},[e.createVNode(e.unref(Kn),e.mergeProps(e.unref(V),{onToggleField:I}),e.createSlots({_:2},[e.renderList(e.unref(r),(G,H)=>({name:H,fn:e.withCtx(q=>[e.renderSlot(B.$slots,H,e.normalizeProps(e.guardReactiveProps({...q})))])}))]),1040)],2)],2)):e.createCommentVNode("",!0),e.unref(d)||e.unref(a).fieldOnly||e.unref(a).cardField?(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(e.unref(b))},[(e.openBlock(),e.createBlock(e.Teleport,{disabled:!e.unref(a).cardField,to:e.unref(W)},[e.createVNode(Jr,e.mergeProps(e.unref(x),{modelValue:t.value,"onUpdate:modelValue":$[0]||($[0]=G=>t.value=G),"auto-grow":e.unref(a).autoGrow,autofocus:!e.unref(a).fieldOnly||e.unref(a).autofocus,"clear-icon":e.unref(y),color:e.unref(a).color,density:e.unref(a).density,disabled:e.unref(u)||e.unref(f),error:e.unref(p),"error-messages":e.unref(E),"hide-details":e.unref(a).hideDetails,label:e.unref(a).label,loading:e.unref(u),rows:e.unref(a).rows,variant:e.unref(a).variant,width:"100%",onKeyup:e.withKeys(N,["esc"])}),e.createSlots({_:2},[e.renderList(e.unref(r),(G,H)=>({name:H,fn:e.withCtx(q=>[e.renderSlot(B.$slots,H,e.normalizeProps(e.guardReactiveProps({...q})))])})),e.unref(r).append?void 0:{name:"append",fn:e.withCtx(()=>[e.createVNode(e.unref(mn),{"cancel-button-color":e.unref(a).cancelButtonColor,"cancel-button-size":e.unref(a).cancelButtonSize,"cancel-button-title":e.unref(a).cancelButtonTitle,"cancel-button-variant":e.unref(a).cancelButtonVariant,"cancel-icon":e.unref(a).cancelIcon,"cancel-icon-color":e.unref(a).cancelIconColor,error:e.unref(p),"field-only":e.unref(a).fieldOnly,"hide-save-icon":e.unref(a).hideSaveIcon,loading:e.unref(u),"loading-icon":e.unref(a).loadingIcon,"loading-icon-color":e.unref(a).loadingIconColor,"save-button-color":e.unref(a).saveButtonColor,"save-button-size":e.unref(a).saveButtonSize,"save-button-title":e.unref(a).saveButtonTitle,"save-button-variant":e.unref(a).saveButtonVariant,"save-icon":e.unref(a).saveIcon,"save-icon-color":e.unref(a).saveIconColor,onClose:N,onSave:D},null,8,["cancel-button-color","cancel-button-size","cancel-button-title","cancel-button-variant","cancel-icon","cancel-icon-color","error","field-only","hide-save-icon","loading","loading-icon","loading-icon-color","save-button-color","save-button-size","save-button-title","save-button-variant","save-icon","save-icon-color"])]),key:"0"}]),1040,["modelValue","auto-grow","autofocus","clear-icon","color","density","disabled","error","error-messages","hide-details","label","loading","rows","variant","onKeyup"])],8,["disabled","to"]))],2)):e.createCommentVNode("",!0),e.unref(a).cardField?(e.openBlock(),e.createElementBlock("div",{key:2,class:e.normalizeClass(e.unref(C)),style:e.normalizeStyle(e.unref(F))},[e.createVNode(Le,e.normalizeProps(e.guardReactiveProps(e.unref(T))),{default:e.withCtx(()=>[e.createVNode(Ne,null,{default:e.withCtx(()=>[e.createElementVNode("div",{ref_key:"cardFieldRef",ref:W},null,512)]),_:1})]),_:1},16)],6)):e.createCommentVNode("",!0)],6))}})},ri=n=>{for(const o in ve){const t=ve[o];n.component(t.name,t)}};for(const n in ve)ve[n].install=ri;const ii=ve.VInlineCheckbox,si=ve.VInlineCustomField,ui=ve.VInlineSelect,ci=ve.VInlineSwitch,di=ve.VInlineTextField,pi=ve.VInlineTextarea,vi={VInlineFields:ve};exports.VInlineCheckbox=ii,exports.VInlineCustomField=si,exports.VInlineSelect=ui,exports.VInlineSwitch=ci,exports.VInlineTextField=di,exports.VInlineTextarea=pi,exports.default=vi; +Expected #hex, #hexa, rgb(), rgba(), hsl(), hsla(), object or number`)}function cn(n){const{h:o,s:t,v:l,a:r}=n,i=s=>{const a=(s+o/60)%6;return l-l*t*Math.max(Math.min(a,4-a,1),0)},c=[i(5),i(3),i(1)].map(s=>Math.round(255*s));return{r:c[0],g:c[1],b:c[2],a:r}}function fo(n){return cn(Uo(n))}function Uo(n){const{h:o,s:t,l,a:r}=n,i=l+t*Math.min(l,1-l);return{h:o,s:i===0?0:2-2*l/i,v:i,a:r}}const Ln=Symbol.for("vuetify:defaults");function Et(){const n=e.inject(Ln);if(!n)throw new Error("[Vuetify] Could not find defaults instance");return n}function Xe(n,o){const t=Et(),l=e.ref(n),r=e.computed(()=>{if(e.unref(o==null?void 0:o.disabled))return t.value;const i=e.unref(o==null?void 0:o.scoped),c=e.unref(o==null?void 0:o.reset),s=e.unref(o==null?void 0:o.root);if(l.value==null&&!(i||c||s))return t.value;let a=ze(l.value,{prev:t.value});if(i)return a;if(c||s){const u=Number(c||1/0);for(let f=0;f<=u&&a&&"prev"in a;f++)a=a.prev;return a&&typeof s=="string"&&s in a&&(a=ze(ze(a,{prev:a}),a[s])),a}return a.prev?ze(a.prev,a):a});return e.provide(Ln,r),r}function Ca(){let n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},o=arguments.length>1?arguments[1]:void 0,t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Et();const l=le("useDefaults");if(o=o??l.type.name??l.type.__name,!o)throw new Error("[Vuetify] Could not determine component name");const r=e.computed(()=>{var s;return(s=t.value)==null?void 0:s[n._as??o]}),i=new Proxy(n,{get(s,a){var f,v,p,d;const u=Reflect.get(s,a);return a==="class"||a==="style"?[(f=r.value)==null?void 0:f[a],u].filter(m=>m!=null):typeof a!="string"||function(m,g){var y,h;return((y=m.props)==null?void 0:y[g])!==void 0||((h=m.props)==null?void 0:h[xe(g)])!==void 0}(l.vnode,a)?u:((v=r.value)==null?void 0:v[a])??((d=(p=t.value)==null?void 0:p.global)==null?void 0:d[a])??u}}),c=e.shallowRef();return e.watchEffect(()=>{if(r.value){const s=Object.entries(r.value).filter(a=>{let[u]=a;return u.startsWith(u[0].toUpperCase())});c.value=s.length?Object.fromEntries(s):void 0}else c.value=void 0}),{props:i,provideSubDefaults:function(){const s=function(a){let u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:le("injectSelf");const{provides:f}=u;if(f&&a in f)return f[a]}(Ln,l);e.provide(Ln,e.computed(()=>c.value?ze((s==null?void 0:s.value)??{},c.value):s==null?void 0:s.value))}}}function dn(n){if(n._setup=n._setup??n.setup,!n.name)return rn("The component is missing an explicit name, unable to generate default prop value"),n;if(n._setup){n.props=j(n.props??{},n.name)();const o=Object.keys(n.props);n.filterProps=function(t){return Ue(t,o,["class","style"])},n.props._as=String,n.setup=function(t,l){const r=Et();if(!r.value)return n._setup(t,l);const{props:i,provideSubDefaults:c}=Ca(t,t._as??n.name,r),s=n._setup(i,l);return c(),s}}return n}function U(){let n=!(arguments.length>0&&arguments[0]!==void 0)||arguments[0];return o=>(n?dn:e.defineComponent)(o)}function Cn(n){let o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"div",t=arguments.length>2?arguments[2]:void 0;return U()({name:t??e.capitalize(e.camelize(n.replace(/__/g,"-"))),props:{tag:{type:String,default:o},...J()},setup(l,r){let{slots:i}=r;return()=>{var c;return e.h(l.tag,{class:[n,l.class],style:l.style},(c=i.default)==null?void 0:c.call(i))}}})}function Yo(n){if(typeof n.getRootNode!="function"){for(;n.parentNode;)n=n.parentNode;return n!==document?null:document}const o=n.getRootNode();return o!==document&&o.getRootNode({composed:!0})!==document?null:o}const Mn="cubic-bezier(0.4, 0, 0.2, 1)";function le(n,o){const t=e.getCurrentInstance();if(!t)throw new Error(`[Vuetify] ${n} ${o||"must be called from inside a setup function"}`);return t}function be(){const n=le(arguments.length>0&&arguments[0]!==void 0?arguments[0]:"composables").type;return xe((n==null?void 0:n.aliasName)||(n==null?void 0:n.name))}let Ko=0,zn=new WeakMap;function pe(){const n=le("getUid");if(zn.has(n))return zn.get(n);{const o=Ko++;return zn.set(n,o),o}}function Xo(n){let o=arguments.length>1&&arguments[1]!==void 0&&arguments[1];for(;n;){if(o?Sa(n):Ot(n))return n;n=n.parentElement}return document.scrollingElement}function Wn(n,o){const t=[];if(o&&n&&!o.contains(n))return t;for(;n&&(Ot(n)&&t.push(n),n!==o);)n=n.parentElement;return t}function Ot(n){if(!n||n.nodeType!==Node.ELEMENT_NODE)return!1;const o=window.getComputedStyle(n);return o.overflowY==="scroll"||o.overflowY==="auto"&&n.scrollHeight>n.clientHeight}function Sa(n){if(!n||n.nodeType!==Node.ELEMENT_NODE)return!1;const o=window.getComputedStyle(n);return["scroll","auto"].includes(o.overflowY)}function K(n){le("useRender").render=n}function zt(n){let o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"content";const t=e.ref(),l=e.ref();if(ce){const r=new ResizeObserver(i=>{n==null||n(i,r),i.length&&(l.value=o==="content"?i[0].contentRect:i[0].target.getBoundingClientRect())});e.onBeforeUnmount(()=>{r.disconnect()}),e.watch(t,(i,c)=>{c&&(r.unobserve(pt(c)),l.value=void 0),i&&r.observe(pt(i))},{flush:"post"})}return{resizeRef:t,contentRect:e.readonly(l)}}function Fe(n,o){let t;function l(){t=e.effectScope(),t.run(()=>o.length?o(()=>{t==null||t.stop(),l()}):o())}e.watch(n,r=>{r&&!t?l():r||(t==null||t.stop(),t=void 0)},{immediate:!0}),e.onScopeDispose(()=>{t==null||t.stop()})}function ne(n,o,t){let l=arguments.length>3&&arguments[3]!==void 0?arguments[3]:f=>f,r=arguments.length>4&&arguments[4]!==void 0?arguments[4]:f=>f;const i=le("useProxiedModel"),c=e.ref(n[o]!==void 0?n[o]:t),s=xe(o),a=s!==o?e.computed(()=>{var f,v,p,d;return n[o],!(!((f=i.vnode.props)!=null&&f.hasOwnProperty(o))&&!((v=i.vnode.props)!=null&&v.hasOwnProperty(s))||!((p=i.vnode.props)!=null&&p.hasOwnProperty(`onUpdate:${o}`))&&!((d=i.vnode.props)!=null&&d.hasOwnProperty(`onUpdate:${s}`)))}):e.computed(()=>{var f,v;return n[o],!(!((f=i.vnode.props)!=null&&f.hasOwnProperty(o))||!((v=i.vnode.props)!=null&&v.hasOwnProperty(`onUpdate:${o}`)))});Fe(()=>!a.value,()=>{e.watch(()=>n[o],f=>{c.value=f})});const u=e.computed({get(){const f=n[o];return l(a.value?f:c.value)},set(f){const v=r(f),p=e.toRaw(a.value?n[o]:c.value);p!==v&&l(p)!==f&&(c.value=v,i==null||i.emit(`update:${o}`,v))}});return Object.defineProperty(u,"externalValue",{get:()=>a.value?n[o]:c.value}),u}pe.reset=()=>{Ko=0,zn=new WeakMap};const Jo=Symbol.for("vuetify:locale");function $t(){const n=e.inject(Jo);if(!n)throw new Error("[Vuetify] Could not find injected locale instance");return n}function Sn(){const n=e.inject(Jo);if(!n)throw new Error("[Vuetify] Could not find injected rtl instance");return{isRtl:n.isRtl,rtlClasses:n.rtlClasses}}const mo=Symbol.for("vuetify:theme"),te=j({theme:String},"theme");function ae(n){le("provideTheme");const o=e.inject(mo,null);if(!o)throw new Error("Could not find Vuetify theme injection");const t=e.computed(()=>n.theme??o.name.value),l=e.computed(()=>o.themes.value[t.value]),r=e.computed(()=>o.isDisabled?void 0:`v-theme--${t.value}`),i={...o,name:t,current:l,themeClasses:r};return e.provide(mo,i),i}const ue=j({tag:{type:String,default:"div"}},"tag"),Va=j({disabled:Boolean,group:Boolean,hideOnLeave:Boolean,leaveAbsolute:Boolean,mode:String,origin:String},"transition");function ie(n,o,t){return U()({name:n,props:Va({mode:t,origin:o}),setup(l,r){let{slots:i}=r;const c={onBeforeEnter(s){l.origin&&(s.style.transformOrigin=l.origin)},onLeave(s){if(l.leaveAbsolute){const{offsetTop:a,offsetLeft:u,offsetWidth:f,offsetHeight:v}=s;s._transitionInitialStyles={position:s.style.position,top:s.style.top,left:s.style.left,width:s.style.width,height:s.style.height},s.style.position="absolute",s.style.top=`${a}px`,s.style.left=`${u}px`,s.style.width=`${f}px`,s.style.height=`${v}px`}l.hideOnLeave&&s.style.setProperty("display","none","important")},onAfterLeave(s){if(l.leaveAbsolute&&(s!=null&&s._transitionInitialStyles)){const{position:a,top:u,left:f,width:v,height:p}=s._transitionInitialStyles;delete s._transitionInitialStyles,s.style.position=a||"",s.style.top=u||"",s.style.left=f||"",s.style.width=v||"",s.style.height=p||""}}};return()=>{const s=l.group?e.TransitionGroup:e.Transition;return e.h(s,{name:l.disabled?"":n,css:!l.disabled,...l.group?void 0:{mode:l.mode},...l.disabled?{}:c},i.default)}}})}function Zo(n,o){let t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"in-out";return U()({name:n,props:{mode:{type:String,default:t},disabled:Boolean},setup(l,r){let{slots:i}=r;return()=>e.h(e.Transition,{name:l.disabled?"":n,css:!l.disabled,...l.disabled?{}:o},i.default)}})}function Qo(){let n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";const o=arguments.length>1&&arguments[1]!==void 0&&arguments[1]?"width":"height",t=e.camelize(`offset-${o}`);return{onBeforeEnter(i){i._parent=i.parentNode,i._initialStyle={transition:i.style.transition,overflow:i.style.overflow,[o]:i.style[o]}},onEnter(i){const c=i._initialStyle;i.style.setProperty("transition","none","important"),i.style.overflow="hidden";const s=`${i[t]}px`;i.style[o]="0",i.offsetHeight,i.style.transition=c.transition,n&&i._parent&&i._parent.classList.add(n),requestAnimationFrame(()=>{i.style[o]=s})},onAfterEnter:r,onEnterCancelled:r,onLeave(i){i._initialStyle={transition:"",overflow:i.style.overflow,[o]:i.style[o]},i.style.overflow="hidden",i.style[o]=`${i[t]}px`,i.offsetHeight,requestAnimationFrame(()=>i.style[o]="0")},onAfterLeave:l,onLeaveCancelled:l};function l(i){n&&i._parent&&i._parent.classList.remove(n),r(i)}function r(i){const c=i._initialStyle[o];i.style.overflow=i._initialStyle.overflow,c!=null&&(i.style[o]=c),delete i._initialStyle}}const Ia=j({target:Object},"v-dialog-transition"),el=U()({name:"VDialogTransition",props:Ia(),setup(n,o){let{slots:t}=o;const l={onBeforeEnter(r){r.style.pointerEvents="none",r.style.visibility="hidden"},async onEnter(r,i){var p;await new Promise(d=>requestAnimationFrame(d)),await new Promise(d=>requestAnimationFrame(d)),r.style.visibility="";const{x:c,y:s,sx:a,sy:u,speed:f}=go(n.target,r),v=$e(r,[{transform:`translate(${c}px, ${s}px) scale(${a}, ${u})`,opacity:0},{}],{duration:225*f,easing:"cubic-bezier(0.0, 0, 0.2, 1)"});(p=yo(r))==null||p.forEach(d=>{$e(d,[{opacity:0},{opacity:0,offset:.33},{}],{duration:450*f,easing:Mn})}),v.finished.then(()=>i())},onAfterEnter(r){r.style.removeProperty("pointer-events")},onBeforeLeave(r){r.style.pointerEvents="none"},async onLeave(r,i){var v;await new Promise(p=>requestAnimationFrame(p));const{x:c,y:s,sx:a,sy:u,speed:f}=go(n.target,r);$e(r,[{},{transform:`translate(${c}px, ${s}px) scale(${a}, ${u})`,opacity:0}],{duration:125*f,easing:"cubic-bezier(0.4, 0, 1, 1)"}).finished.then(()=>i()),(v=yo(r))==null||v.forEach(p=>{$e(p,[{},{opacity:0,offset:.2},{opacity:0}],{duration:250*f,easing:Mn})})},onAfterLeave(r){r.style.removeProperty("pointer-events")}};return()=>n.target?e.createVNode(e.Transition,e.mergeProps({name:"dialog-transition"},l,{css:!1}),t):e.createVNode(e.Transition,{name:"dialog-transition"},t)}});function yo(n){var t;const o=(t=n.querySelector(":scope > .v-card, :scope > .v-sheet, :scope > .v-list"))==null?void 0:t.children;return o&&[...o]}function go(n,o){const t=n.getBoundingClientRect(),l=_t(o),[r,i]=getComputedStyle(o).transformOrigin.split(" ").map(h=>parseFloat(h)),[c,s]=getComputedStyle(o).getPropertyValue("--v-overlay-anchor-origin").split(" ");let a=t.left+t.width/2;c==="left"||s==="left"?a-=t.width/2:c!=="right"&&s!=="right"||(a+=t.width/2);let u=t.top+t.height/2;c==="top"||s==="top"?u-=t.height/2:c!=="bottom"&&s!=="bottom"||(u+=t.height/2);const f=t.width/l.width,v=t.height/l.height,p=Math.max(1,f,v),d=f/p||0,m=v/p||0,g=l.width*l.height/(window.innerWidth*window.innerHeight),y=g>.12?Math.min(1.5,10*(g-.12)+1):1;return{x:a-(r+l.left),y:u-(i+l.top),sx:d,sy:m,speed:y}}ie("fab-transition","center center","out-in"),ie("dialog-bottom-transition"),ie("dialog-top-transition"),ie("fade-transition");const Ba=ie("scale-transition");ie("scroll-x-transition"),ie("scroll-x-reverse-transition"),ie("scroll-y-transition"),ie("scroll-y-reverse-transition"),ie("slide-x-transition"),ie("slide-x-reverse-transition");const nl=ie("slide-y-transition");ie("slide-y-reverse-transition");const wa=Zo("expand-transition",Qo()),tl=Zo("expand-x-transition",Qo("",!0)),ka=j({defaults:Object,disabled:Boolean,reset:[Number,String],root:[Boolean,String],scoped:Boolean},"VDefaultsProvider"),oe=U(!1)({name:"VDefaultsProvider",props:ka(),setup(n,o){let{slots:t}=o;const{defaults:l,disabled:r,reset:i,root:c,scoped:s}=e.toRefs(n);return Xe(l,{reset:i,root:c,scoped:s,disabled:r}),()=>{var a;return(a=t.default)==null?void 0:a.call(t)}}}),Pe=j({height:[Number,String],maxHeight:[Number,String],maxWidth:[Number,String],minHeight:[Number,String],minWidth:[Number,String],width:[Number,String]},"dimension");function _e(n){return{dimensionStyles:e.computed(()=>({height:Y(n.height),maxHeight:Y(n.maxHeight),maxWidth:Y(n.maxWidth),minHeight:Y(n.minHeight),minWidth:Y(n.minWidth),width:Y(n.width)}))}}const ol=j({aspectRatio:[String,Number],contentClass:String,inline:Boolean,...J(),...Pe()},"VResponsive"),ho=U()({name:"VResponsive",props:ol(),setup(n,o){let{slots:t}=o;const{aspectStyles:l}=function(i){return{aspectStyles:e.computed(()=>{const c=Number(i.aspectRatio);return c?{paddingBottom:String(1/c*100)+"%"}:void 0})}}(n),{dimensionStyles:r}=_e(n);return K(()=>{var i;return e.createVNode("div",{class:["v-responsive",{"v-responsive--inline":n.inline},n.class],style:[r.value,n.style]},[e.createVNode("div",{class:"v-responsive__sizer",style:l.value},null),(i=t.additional)==null?void 0:i.call(t),t.default&&e.createVNode("div",{class:["v-responsive__content",n.contentClass]},[t.default()])])}),{}}}),Vn=j({transition:{type:[Boolean,String,Object],default:"fade-transition",validator:n=>n!==!0}},"transition"),Ie=(n,o)=>{let{slots:t}=o;const{transition:l,disabled:r,...i}=n,{component:c=e.Transition,...s}=typeof l=="object"?l:{};return e.h(c,e.mergeProps(typeof l=="string"?{name:r?"":l}:s,i,{disabled:r}),t)};function bo(n,o){var l;const t=(l=n._observe)==null?void 0:l[o.instance.$.uid];t&&(t.observer.unobserve(n),delete n._observe[o.instance.$.uid])}const Tt={mounted:function(n,o){if(!At)return;const t=o.modifiers||{},l=o.value,{handler:r,options:i}=typeof l=="object"?l:{handler:l,options:{}},c=new IntersectionObserver(function(){var v;let s=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],a=arguments.length>1?arguments[1]:void 0;const u=(v=n._observe)==null?void 0:v[o.instance.$.uid];if(!u)return;const f=s.some(p=>p.isIntersecting);!r||t.quiet&&!u.init||t.once&&!f&&!u.init||r(f,s,a),f&&t.once?bo(n,o):u.init=!0},i);n._observe=Object(n._observe),n._observe[o.instance.$.uid]={init:!1,observer:c},c.observe(n)},unmounted:bo},xa=j({alt:String,cover:Boolean,eager:Boolean,gradient:String,lazySrc:String,options:{type:Object,default:()=>({root:void 0,rootMargin:void 0,threshold:void 0})},sizes:String,src:{type:[String,Object],default:""},srcset:String,...ol(),...J(),...Vn()},"VImg"),ll=U()({name:"VImg",directives:{intersect:Tt},props:xa(),emits:{loadstart:n=>!0,load:n=>!0,error:n=>!0},setup(n,o){let{emit:t,slots:l}=o;const r=e.shallowRef(""),i=e.ref(),c=e.shallowRef(n.eager?"loading":"idle"),s=e.shallowRef(),a=e.shallowRef(),u=e.computed(()=>n.src&&typeof n.src=="object"?{src:n.src.src,srcset:n.srcset||n.src.srcset,lazySrc:n.lazySrc||n.src.lazySrc,aspect:Number(n.aspectRatio||n.src.aspect||0)}:{src:n.src,srcset:n.srcset,lazySrc:n.lazySrc,aspect:Number(n.aspectRatio||0)}),f=e.computed(()=>u.value.aspect||s.value/a.value||0);function v(b){if((!n.eager||!b)&&(!At||b||n.eager)){if(c.value="loading",u.value.lazySrc){const C=new Image;C.src=u.value.lazySrc,y(C,null)}u.value.src&&e.nextTick(()=>{var C,O;if(t("loadstart",((C=i.value)==null?void 0:C.currentSrc)||u.value.src),(O=i.value)==null?void 0:O.complete){if(i.value.naturalWidth||d(),c.value==="error")return;f.value||y(i.value,null),p()}else f.value||y(i.value),m()})}}function p(){var b;m(),c.value="loaded",t("load",((b=i.value)==null?void 0:b.currentSrc)||u.value.src)}function d(){var b;c.value="error",t("error",((b=i.value)==null?void 0:b.currentSrc)||u.value.src)}function m(){const b=i.value;b&&(r.value=b.currentSrc||b.src)}e.watch(()=>n.src,()=>{v(c.value!=="idle")}),e.watch(f,(b,C)=>{!b&&C&&i.value&&y(i.value)}),e.onBeforeMount(()=>v());let g=-1;function y(b){let C=arguments.length>1&&arguments[1]!==void 0?arguments[1]:100;const O=()=>{clearTimeout(g);const{naturalHeight:F,naturalWidth:N}=b;F||N?(s.value=N,a.value=F):b.complete||c.value!=="loading"||C==null?(b.currentSrc.endsWith(".svg")||b.currentSrc.startsWith("data:image/svg+xml"))&&(s.value=1,a.value=1):g=window.setTimeout(O,C)};O()}const h=e.computed(()=>({"v-img__img--cover":n.cover,"v-img__img--contain":!n.cover})),x=()=>{var O;if(!u.value.src||c.value==="idle")return null;const b=e.createVNode("img",{class:["v-img__img",h.value],src:u.value.src,srcset:u.value.srcset,alt:n.alt,sizes:n.sizes,ref:i,onLoad:p,onError:d},null),C=(O=l.sources)==null?void 0:O.call(l);return e.createVNode(Ie,{transition:n.transition,appear:!0},{default:()=>[e.withDirectives(C?e.createVNode("picture",{class:"v-img__picture"},[C,b]):b,[[e.vShow,c.value==="loaded"]])]})},V=()=>e.createVNode(Ie,{transition:n.transition},{default:()=>[u.value.lazySrc&&c.value!=="loaded"&&e.createVNode("img",{class:["v-img__img","v-img__img--preload",h.value],src:u.value.lazySrc,alt:n.alt},null)]}),T=()=>l.placeholder?e.createVNode(Ie,{transition:n.transition,appear:!0},{default:()=>[(c.value==="loading"||c.value==="error"&&!l.error)&&e.createVNode("div",{class:"v-img__placeholder"},[l.placeholder()])]}):null,P=()=>l.error?e.createVNode(Ie,{transition:n.transition,appear:!0},{default:()=>[c.value==="error"&&e.createVNode("div",{class:"v-img__error"},[l.error()])]}):null,z=()=>n.gradient?e.createVNode("div",{class:"v-img__gradient",style:{backgroundImage:`linear-gradient(${n.gradient})`}},null):null,w=e.shallowRef(!1);{const b=e.watch(f,C=>{C&&(requestAnimationFrame(()=>{requestAnimationFrame(()=>{w.value=!0})}),b())})}return K(()=>{const[b]=ho.filterProps(n);return e.withDirectives(e.createVNode(ho,e.mergeProps({class:["v-img",{"v-img--booting":!w.value},n.class],style:[{width:Y(n.width==="auto"?s.value:n.width)},n.style]},b,{aspectRatio:f.value,"aria-label":n.alt,role:n.alt?"img":void 0}),{additional:()=>e.createVNode(e.Fragment,null,[e.createVNode(x,null,null),e.createVNode(V,null,null),e.createVNode(z,null,null),e.createVNode(T,null,null),e.createVNode(P,null,null)]),default:l.default}),[[e.resolveDirective("intersect"),{handler:v,options:n.options},null,{once:!0}]])}),{currentSrc:r,image:i,state:c,naturalWidth:s,naturalHeight:a}}}),Je=j({border:[Boolean,Number,String]},"border");function Ze(n){let o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:be();return{borderClasses:e.computed(()=>{const t=e.isRef(n)?n.value:n.border,l=[];if(t===!0||t==="")l.push(`${o}--border`);else if(typeof t=="string"||t===0)for(const r of String(t).split(" "))l.push(`border-${r}`);return l})}}function Rt(n){return Pt(()=>{const o=[],t={};if(n.value.background)if(at(n.value.background)){if(t.backgroundColor=n.value.background,!n.value.text&&at(l=n.value.background)&&!/^((rgb|hsl)a?\()?var\(--/.test(l)){const r=on(n.value.background);if(r.a==null||r.a===1){const i=function(c){const s=Math.abs(po(on(0),on(c)));return Math.abs(po(on(16777215),on(c)))>Math.min(s,50)?"#fff":"#000"}(r);t.color=i,t.caretColor=i}}}else o.push(`bg-${n.value.background}`);var l;return n.value.text&&(at(n.value.text)?(t.color=n.value.text,t.caretColor=n.value.text):o.push(`text-${n.value.text}`)),{colorClasses:o,colorStyles:t}})}function he(n,o){const t=e.computed(()=>({text:e.isRef(n)?n.value:o?n[o]:null})),{colorClasses:l,colorStyles:r}=Rt(t);return{textColorClasses:l,textColorStyles:r}}function Ye(n,o){const t=e.computed(()=>({background:e.isRef(n)?n.value:o?n[o]:null})),{colorClasses:l,colorStyles:r}=Rt(t);return{backgroundColorClasses:l,backgroundColorStyles:r}}const Qe=j({elevation:{type:[Number,String],validator(n){const o=parseInt(n);return!isNaN(o)&&o>=0&&o<=24}}},"elevation");function en(n){return{elevationClasses:e.computed(()=>{const o=e.isRef(n)?n.value:n.elevation,t=[];return o==null||t.push(`elevation-${o}`),t})}}const Ce=j({rounded:{type:[Boolean,Number,String],default:void 0}},"rounded");function Se(n){let o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:be();return{roundedClasses:e.computed(()=>{const t=e.isRef(n)?n.value:n.rounded,l=[];if(t===!0||t==="")l.push(`${o}--rounded`);else if(typeof t=="string"||t===0)for(const r of String(t).split(" "))l.push(`rounded-${r}`);return l})}}const Fa=[null,"default","comfortable","compact"],ye=j({density:{type:String,default:"default",validator:n=>Fa.includes(n)}},"density");function Ve(n){let o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:be();return{densityClasses:e.computed(()=>`${o}--density-${n.density}`)}}const Na=["elevated","flat","tonal","outlined","text","plain"];function In(n,o){return e.createVNode(e.Fragment,null,[n&&e.createVNode("span",{key:"overlay",class:`${o}__overlay`},null),e.createVNode("span",{key:"underlay",class:`${o}__underlay`},null)])}const ke=j({color:String,variant:{type:String,default:"elevated",validator:n=>Na.includes(n)}},"variant");function Bn(n){let o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:be();const t=e.computed(()=>{const{variant:i}=e.unref(n);return`${o}--variant-${i}`}),{colorClasses:l,colorStyles:r}=Rt(e.computed(()=>{const{variant:i,color:c}=e.unref(n);return{[["elevated","flat"].includes(i)?"background":"text"]:c}}));return{colorClasses:l,colorStyles:r,variantClasses:t}}const al=j({divided:Boolean,...Je(),...J(),...ye(),...Qe(),...Ce(),...ue(),...te(),...ke()},"VBtnGroup"),Co=U()({name:"VBtnGroup",props:al(),setup(n,o){let{slots:t}=o;const{themeClasses:l}=ae(n),{densityClasses:r}=Ve(n),{borderClasses:i}=Ze(n),{elevationClasses:c}=en(n),{roundedClasses:s}=Se(n);Xe({VBtn:{height:"auto",color:e.toRef(n,"color"),density:e.toRef(n,"density"),flat:!0,variant:e.toRef(n,"variant")}}),K(()=>e.createVNode(n.tag,{class:["v-btn-group",{"v-btn-group--divided":n.divided},l.value,i.value,r.value,c.value,s.value,n.class],style:n.style},t))}}),rl=j({modelValue:{type:null,default:void 0},multiple:Boolean,mandatory:[Boolean,String],max:Number,selectedClass:String,disabled:Boolean},"group"),il=j({value:null,disabled:Boolean,selectedClass:String},"group-item");function sl(n,o){let t=!(arguments.length>2&&arguments[2]!==void 0)||arguments[2];const l=le("useGroupItem");if(!l)throw new Error("[Vuetify] useGroupItem composable must be used inside a component setup function");const r=pe();e.provide(Symbol.for(`${o.description}:id`),r);const i=e.inject(o,null);if(!i){if(!t)return i;throw new Error(`[Vuetify] Could not find useGroup injection with symbol ${o.description}`)}const c=e.toRef(n,"value"),s=e.computed(()=>!(!i.disabled.value&&!n.disabled));i.register({id:r,value:c,disabled:s},l),e.onBeforeUnmount(()=>{i.unregister(r)});const a=e.computed(()=>i.isSelected(r)),u=e.computed(()=>a.value&&[i.selectedClass.value,n.selectedClass]);return e.watch(a,f=>{l.emit("group:selected",{value:f})}),{id:r,isSelected:a,toggle:()=>i.select(r,!a.value),select:f=>i.select(r,f),selectedClass:u,value:c,disabled:s,group:i}}function ul(n,o){let t=!1;const l=e.reactive([]),r=ne(n,"modelValue",[],u=>u==null?[]:So(l,Be(u)),u=>{const f=function(v,p){const d=[];return p.forEach(m=>{const g=v.findIndex(y=>y.id===m);if(~g){const y=v[g];d.push(y.value!=null?y.value:g)}}),d}(l,u);return n.multiple?f:f[0]}),i=le("useGroup");function c(){const u=l.find(f=>!f.disabled);u&&n.mandatory==="force"&&!r.value.length&&(r.value=[u.id])}function s(u){if(n.multiple&&rn('This method is not supported when using "multiple" prop'),r.value.length){const f=r.value[0],v=l.findIndex(m=>m.id===f);let p=(v+u)%l.length,d=l[p];for(;d.disabled&&p!==v;)p=(p+u)%l.length,d=l[p];if(d.disabled)return;r.value=[l[p].id]}else{const f=l.find(v=>!v.disabled);f&&(r.value=[f.id])}}e.onMounted(()=>{c()}),e.onBeforeUnmount(()=>{t=!0});const a={register:function(u,f){const v=u,p=On(Symbol.for(`${o.description}:id`),i==null?void 0:i.vnode).indexOf(f);p>-1?l.splice(p,0,v):l.push(v)},unregister:function(u){if(t)return;c();const f=l.findIndex(v=>v.id===u);l.splice(f,1)},selected:r,select:function(u,f){const v=l.find(p=>p.id===u);if(!f||!(v!=null&&v.disabled))if(n.multiple){const p=r.value.slice(),d=p.findIndex(g=>g===u),m=~d;if(f=f??!m,m&&n.mandatory&&p.length<=1||!m&&n.max!=null&&p.length+1>n.max)return;d<0&&f?p.push(u):d>=0&&!f&&p.splice(d,1),r.value=p}else{const p=r.value.includes(u);if(n.mandatory&&p)return;r.value=f??!p?[u]:[]}},disabled:e.toRef(n,"disabled"),prev:()=>s(l.length-1),next:()=>s(1),isSelected:u=>r.value.includes(u),selectedClass:e.computed(()=>n.selectedClass),items:e.computed(()=>l),getItemIndex:u=>function(f,v){const p=So(f,[v]);return p.length?f.findIndex(d=>d.id===p[0]):-1}(l,u)};return e.provide(o,a),a}function So(n,o){const t=[];return o.forEach(l=>{const r=n.find(c=>gn(l,c.value)),i=n[l];(r==null?void 0:r.value)!=null?t.push(r.id):i!=null&&t.push(i.id)}),t}const cl=Symbol.for("vuetify:v-btn-toggle"),Aa=j({...al(),...rl()},"VBtnToggle");U()({name:"VBtnToggle",props:Aa(),emits:{"update:modelValue":n=>!0},setup(n,o){let{slots:t}=o;const{isSelected:l,next:r,prev:i,select:c,selected:s}=ul(n,cl);return K(()=>{const[a]=Co.filterProps(n);return e.createVNode(Co,e.mergeProps({class:["v-btn-toggle",n.class]},a,{style:n.style}),{default:()=>{var u;return[(u=t.default)==null?void 0:u.call(t,{isSelected:l,next:r,prev:i,select:c,selected:s})]}})}),{next:r,prev:i,select:c}}});const Q=[String,Function,Object,Array],Pa=Symbol.for("vuetify:icons"),jn=j({icon:{type:Q},tag:{type:String,required:!0}},"icon"),Vo=U()({name:"VComponentIcon",props:jn(),setup(n,o){let{slots:t}=o;return()=>{const l=n.icon;return e.createVNode(n.tag,null,{default:()=>{var r;return[n.icon?e.createVNode(l,null,null):(r=t.default)==null?void 0:r.call(t)]}})}}}),_a=dn({name:"VSvgIcon",inheritAttrs:!1,props:jn(),setup(n,o){let{attrs:t}=o;return()=>e.createVNode(n.tag,e.mergeProps(t,{style:null}),{default:()=>[e.createVNode("svg",{class:"v-icon__svg",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",role:"img","aria-hidden":"true"},[Array.isArray(n.icon)?n.icon.map(l=>Array.isArray(l)?e.createVNode("path",{d:l[0],"fill-opacity":l[1]},null):e.createVNode("path",{d:l},null)):e.createVNode("path",{d:n.icon},null)])]})}});dn({name:"VLigatureIcon",props:jn(),setup:n=>()=>e.createVNode(n.tag,null,{default:()=>[n.icon]})}),dn({name:"VClassIcon",props:jn(),setup:n=>()=>e.createVNode(n.tag,{class:n.icon},null)});const Ea=["x-small","small","default","large","x-large"],wn=j({size:{type:[String,Number],default:"default"}},"size");function kn(n){let o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:be();return Pt(()=>{let t,l;return Tn(Ea,n.size)?t=`${o}--size-${n.size}`:n.size&&(l={width:Y(n.size),height:Y(n.size)}),{sizeClasses:t,sizeStyles:l}})}const Oa=j({color:String,start:Boolean,end:Boolean,icon:Q,...J(),...wn(),...ue({tag:"i"}),...te()},"VIcon"),ee=U()({name:"VIcon",props:Oa(),setup(n,o){let{attrs:t,slots:l}=o;const r=e.ref(),{themeClasses:i}=ae(n),{iconData:c}=(f=>{const v=e.inject(Pa);if(!v)throw new Error("Missing Vuetify Icons provide!");return{iconData:e.computed(()=>{var y;const p=e.unref(f);if(!p)return{component:Vo};let d=p;if(typeof d=="string"&&(d=d.trim(),d.startsWith("$")&&(d=(y=v.aliases)==null?void 0:y[d.slice(1)])),!d)throw new Error(`Could not find aliased icon "${p}"`);if(Array.isArray(d))return{component:_a,icon:d};if(typeof d!="string")return{component:Vo,icon:d};const m=Object.keys(v.sets).find(h=>typeof d=="string"&&d.startsWith(`${h}:`)),g=m?d.slice(m.length+1):d;return{component:v.sets[m??v.defaultSet].component,icon:g}})}})(e.computed(()=>r.value||n.icon)),{sizeClasses:s}=kn(n),{textColorClasses:a,textColorStyles:u}=he(e.toRef(n,"color"));return K(()=>{var v,p;const f=(v=l.default)==null?void 0:v.call(l);return f&&(r.value=(p=Wo(f).filter(d=>d.type===e.Text&&d.children&&typeof d.children=="string")[0])==null?void 0:p.children),e.createVNode(c.value.component,{tag:n.tag,icon:c.value.icon,class:["v-icon","notranslate",i.value,s.value,a.value,{"v-icon--clickable":!!t.onClick,"v-icon--start":n.start,"v-icon--end":n.end},n.class],style:[s.value?void 0:{fontSize:Y(n.size),height:Y(n.size),width:Y(n.size)},u.value,n.style],role:t.onClick?"button":void 0,"aria-hidden":!t.onClick},{default:()=>[f]})}),{}}});function dl(n,o){const t=e.ref(),l=e.shallowRef(!1);if(At){const r=new IntersectionObserver(i=>{n==null||n(i,r),l.value=!!i.find(c=>c.isIntersecting)},o);e.onBeforeUnmount(()=>{r.disconnect()}),e.watch(t,(i,c)=>{c&&(r.unobserve(c),l.value=!1),i&&r.observe(i)},{flush:"post"})}return{intersectionRef:t,isIntersecting:l}}const za=j({bgColor:String,color:String,indeterminate:[Boolean,String],modelValue:{type:[Number,String],default:0},rotate:{type:[Number,String],default:0},width:{type:[Number,String],default:4},...J(),...wn(),...ue({tag:"div"}),...te()},"VProgressCircular"),pl=U()({name:"VProgressCircular",props:za(),setup(n,o){let{slots:t}=o;const l=2*Math.PI*20,r=e.ref(),{themeClasses:i}=ae(n),{sizeClasses:c,sizeStyles:s}=kn(n),{textColorClasses:a,textColorStyles:u}=he(e.toRef(n,"color")),{textColorClasses:f,textColorStyles:v}=he(e.toRef(n,"bgColor")),{intersectionRef:p,isIntersecting:d}=dl(),{resizeRef:m,contentRect:g}=zt(),y=e.computed(()=>Math.max(0,Math.min(100,parseFloat(n.modelValue)))),h=e.computed(()=>Number(n.width)),x=e.computed(()=>s.value?Number(n.size):g.value?g.value.width:Math.max(h.value,32)),V=e.computed(()=>20/(1-h.value/x.value)*2),T=e.computed(()=>h.value/x.value*V.value),P=e.computed(()=>Y((100-y.value)/100*l));return e.watchEffect(()=>{p.value=r.value,m.value=r.value}),K(()=>e.createVNode(n.tag,{ref:r,class:["v-progress-circular",{"v-progress-circular--indeterminate":!!n.indeterminate,"v-progress-circular--visible":d.value,"v-progress-circular--disable-shrink":n.indeterminate==="disable-shrink"},i.value,c.value,a.value,n.class],style:[s.value,u.value,n.style],role:"progressbar","aria-valuemin":"0","aria-valuemax":"100","aria-valuenow":n.indeterminate?void 0:y.value},{default:()=>[e.createVNode("svg",{style:{transform:`rotate(calc(-90deg + ${Number(n.rotate)}deg))`},xmlns:"http://www.w3.org/2000/svg",viewBox:`0 0 ${V.value} ${V.value}`},[e.createVNode("circle",{class:["v-progress-circular__underlay",f.value],style:v.value,fill:"transparent",cx:"50%",cy:"50%",r:20,"stroke-width":T.value,"stroke-dasharray":l,"stroke-dashoffset":0},null),e.createVNode("circle",{class:"v-progress-circular__overlay",fill:"transparent",cx:"50%",cy:"50%",r:20,"stroke-width":T.value,"stroke-dasharray":l,"stroke-dashoffset":P.value},null)]),t.default&&e.createVNode("div",{class:"v-progress-circular__content"},[t.default({value:y.value})])]})),{}}}),Io={center:"center",top:"bottom",bottom:"top",left:"right",right:"left"},Dt=j({location:String},"location");function Lt(n){let o=arguments.length>1&&arguments[1]!==void 0&&arguments[1],t=arguments.length>2?arguments[2]:void 0;const{isRtl:l}=Sn();return{locationStyles:e.computed(()=>{if(!n.location)return{};const{side:i,align:c}=mt(n.location.split(" ").length>1?n.location:`${n.location} center`,l.value);function s(u){return t?t(u):0}const a={};return i!=="center"&&(o?a[Io[i]]=`calc(100% - ${s(i)}px)`:a[i]=0),c!=="center"?o?a[Io[c]]=`calc(100% - ${s(c)}px)`:a[c]=0:(i==="center"?a.top=a.left="50%":a[{top:"left",bottom:"left",left:"top",right:"top"}[i]]="50%",a.transform={top:"translateX(-50%)",bottom:"translateX(-50%)",left:"translateY(-50%)",right:"translateY(-50%)",center:"translate(-50%, -50%)"}[i]),a})}}const $a=j({absolute:Boolean,active:{type:Boolean,default:!0},bgColor:String,bgOpacity:[Number,String],bufferValue:{type:[Number,String],default:0},clickable:Boolean,color:String,height:{type:[Number,String],default:4},indeterminate:Boolean,max:{type:[Number,String],default:100},modelValue:{type:[Number,String],default:0},reverse:Boolean,stream:Boolean,striped:Boolean,roundedBar:Boolean,...J(),...Dt({location:"top"}),...Ce(),...ue(),...te()},"VProgressLinear"),Ta=U()({name:"VProgressLinear",props:$a(),emits:{"update:modelValue":n=>!0},setup(n,o){let{slots:t}=o;const l=ne(n,"modelValue"),{isRtl:r,rtlClasses:i}=Sn(),{themeClasses:c}=ae(n),{locationStyles:s}=Lt(n),{textColorClasses:a,textColorStyles:u}=he(n,"color"),{backgroundColorClasses:f,backgroundColorStyles:v}=Ye(e.computed(()=>n.bgColor||n.color)),{backgroundColorClasses:p,backgroundColorStyles:d}=Ye(n,"color"),{roundedClasses:m}=Se(n),{intersectionRef:g,isIntersecting:y}=dl(),h=e.computed(()=>parseInt(n.max,10)),x=e.computed(()=>parseInt(n.height,10)),V=e.computed(()=>parseFloat(n.bufferValue)/h.value*100),T=e.computed(()=>parseFloat(l.value)/h.value*100),P=e.computed(()=>r.value!==n.reverse),z=e.computed(()=>n.indeterminate?"fade-transition":"slide-x-transition"),w=e.computed(()=>n.bgOpacity==null?n.bgOpacity:parseFloat(n.bgOpacity));function b(C){if(!g.value)return;const{left:O,right:F,width:N}=g.value.getBoundingClientRect(),k=P.value?N-C.clientX+(F-N):C.clientX-O;l.value=Math.round(k/N*h.value)}return K(()=>e.createVNode(n.tag,{ref:g,class:["v-progress-linear",{"v-progress-linear--absolute":n.absolute,"v-progress-linear--active":n.active&&y.value,"v-progress-linear--reverse":P.value,"v-progress-linear--rounded":n.rounded,"v-progress-linear--rounded-bar":n.roundedBar,"v-progress-linear--striped":n.striped},m.value,c.value,i.value,n.class],style:[{bottom:n.location==="bottom"?0:void 0,top:n.location==="top"?0:void 0,height:n.active?Y(x.value):0,"--v-progress-linear-height":Y(x.value),...s.value},n.style],role:"progressbar","aria-hidden":n.active?"false":"true","aria-valuemin":"0","aria-valuemax":n.max,"aria-valuenow":n.indeterminate?void 0:T.value,onClick:n.clickable&&b},{default:()=>[n.stream&&e.createVNode("div",{key:"stream",class:["v-progress-linear__stream",a.value],style:{...u.value,[P.value?"left":"right"]:Y(-x.value),borderTop:`${Y(x.value/2)} dotted`,opacity:w.value,top:`calc(50% - ${Y(x.value/4)})`,width:Y(100-V.value,"%"),"--v-progress-linear-stream-to":Y(x.value*(P.value?1:-1))}},null),e.createVNode("div",{class:["v-progress-linear__background",f.value],style:[v.value,{opacity:w.value,width:Y(n.stream?V.value:100,"%")}]},null),e.createVNode(e.Transition,{name:z.value},{default:()=>[n.indeterminate?e.createVNode("div",{class:"v-progress-linear__indeterminate"},[["long","short"].map(C=>e.createVNode("div",{key:C,class:["v-progress-linear__indeterminate",C,p.value],style:d.value},null))]):e.createVNode("div",{class:["v-progress-linear__determinate",p.value],style:[d.value,{width:Y(T.value,"%")}]},null)]}),t.default&&e.createVNode("div",{class:"v-progress-linear__content"},[t.default({value:T.value,buffer:V.value})])]})),{}}}),Mt=j({loading:[Boolean,String]},"loader");function Zn(n){let o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:be();return{loaderClasses:e.computed(()=>({[`${o}--loading`]:n.loading}))}}function Wt(n,o){var l;let{slots:t}=o;return e.createVNode("div",{class:`${n.name}__loader`},[((l=t.default)==null?void 0:l.call(t,{color:n.color,isActive:n.active}))||e.createVNode(Ta,{active:n.active,color:n.color,height:"2",indeterminate:!0},null)])}const Ra=["static","relative","fixed","absolute","sticky"],vl=j({position:{type:String,validator:n=>Ra.includes(n)}},"position");function fl(n){let o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:be();return{positionClasses:e.computed(()=>n.position?`${o}--${n.position}`:void 0)}}function Qn(n,o){const t=e.resolveDynamicComponent("RouterLink"),l=e.computed(()=>!(!n.href&&!n.to)),r=e.computed(()=>(l==null?void 0:l.value)||Qt(o,"click")||Qt(n,"click"));if(typeof t=="string")return{isLink:l,isClickable:r,href:e.toRef(n,"href")};const i=n.to?t.useLink(n):void 0;return{isLink:l,isClickable:r,route:i==null?void 0:i.route,navigate:i==null?void 0:i.navigate,isActive:i&&e.computed(()=>{var c,s;return n.exact?(c=i.isExactActive)==null?void 0:c.value:(s=i.isActive)==null?void 0:s.value}),href:e.computed(()=>n.to?i==null?void 0:i.route.value.href:n.href)}}const et=j({href:String,replace:Boolean,to:[String,Object],exact:Boolean},"router");let rt=!1;const yt=Symbol("rippleStop"),Da=80;function Bo(n,o){n.style.transform=o,n.style.webkitTransform=o}function gt(n){return n.constructor.name==="TouchEvent"}function ml(n){return n.constructor.name==="KeyboardEvent"}const Gn={show(n,o){var d;let t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(!((d=o==null?void 0:o._ripple)!=null&&d.enabled))return;const l=document.createElement("span"),r=document.createElement("span");l.appendChild(r),l.className="v-ripple__container",t.class&&(l.className+=` ${t.class}`);const{radius:i,scale:c,x:s,y:a,centerX:u,centerY:f}=function(m,g){var w;let y=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},h=0,x=0;if(!ml(m)){const b=g.getBoundingClientRect(),C=gt(m)?m.touches[m.touches.length-1]:m;h=C.clientX-b.left,x=C.clientY-b.top}let V=0,T=.3;(w=g._ripple)!=null&&w.circle?(T=.15,V=g.clientWidth/2,V=y.center?V:V+Math.sqrt((h-V)**2+(x-V)**2)/4):V=Math.sqrt(g.clientWidth**2+g.clientHeight**2)/2;const P=(g.clientWidth-2*V)/2+"px",z=(g.clientHeight-2*V)/2+"px";return{radius:V,scale:T,x:y.center?P:h-V+"px",y:y.center?z:x-V+"px",centerX:P,centerY:z}}(n,o,t),v=2*i+"px";r.className="v-ripple__animation",r.style.width=v,r.style.height=v,o.appendChild(l);const p=window.getComputedStyle(o);p&&p.position==="static"&&(o.style.position="relative",o.dataset.previousPosition="static"),r.classList.add("v-ripple__animation--enter"),r.classList.add("v-ripple__animation--visible"),Bo(r,`translate(${s}, ${a}) scale3d(${c},${c},${c})`),r.dataset.activated=String(performance.now()),setTimeout(()=>{r.classList.remove("v-ripple__animation--enter"),r.classList.add("v-ripple__animation--in"),Bo(r,`translate(${u}, ${f}) scale3d(1,1,1)`)},0)},hide(n){var i;if(!((i=n==null?void 0:n._ripple)!=null&&i.enabled))return;const o=n.getElementsByClassName("v-ripple__animation");if(o.length===0)return;const t=o[o.length-1];if(t.dataset.isHiding)return;t.dataset.isHiding="true";const l=performance.now()-Number(t.dataset.activated),r=Math.max(250-l,0);setTimeout(()=>{t.classList.remove("v-ripple__animation--in"),t.classList.add("v-ripple__animation--out"),setTimeout(()=>{var c;n.getElementsByClassName("v-ripple__animation").length===1&&n.dataset.previousPosition&&(n.style.position=n.dataset.previousPosition,delete n.dataset.previousPosition),((c=t.parentNode)==null?void 0:c.parentNode)===n&&n.removeChild(t.parentNode)},300)},r)}};function yl(n){return n===void 0||!!n}function pn(n){const o={},t=n.currentTarget;if(t!=null&&t._ripple&&!t._ripple.touched&&!n[yt]){if(n[yt]=!0,gt(n))t._ripple.touched=!0,t._ripple.isTouch=!0;else if(t._ripple.isTouch)return;if(o.center=t._ripple.centered||ml(n),t._ripple.class&&(o.class=t._ripple.class),gt(n)){if(t._ripple.showTimerCommit)return;t._ripple.showTimerCommit=()=>{Gn.show(n,t,o)},t._ripple.showTimer=window.setTimeout(()=>{var l;(l=t==null?void 0:t._ripple)!=null&&l.showTimerCommit&&(t._ripple.showTimerCommit(),t._ripple.showTimerCommit=null)},Da)}else Gn.show(n,t,o)}}function wo(n){n[yt]=!0}function se(n){const o=n.currentTarget;if(o!=null&&o._ripple){if(window.clearTimeout(o._ripple.showTimer),n.type==="touchend"&&o._ripple.showTimerCommit)return o._ripple.showTimerCommit(),o._ripple.showTimerCommit=null,void(o._ripple.showTimer=window.setTimeout(()=>{se(n)}));window.setTimeout(()=>{o._ripple&&(o._ripple.touched=!1)}),Gn.hide(o)}}function gl(n){const o=n.currentTarget;o!=null&&o._ripple&&(o._ripple.showTimerCommit&&(o._ripple.showTimerCommit=null),window.clearTimeout(o._ripple.showTimer))}let vn=!1;function hl(n){vn||n.keyCode!==Xt.enter&&n.keyCode!==Xt.space||(vn=!0,pn(n))}function bl(n){vn=!1,se(n)}function Cl(n){vn&&(vn=!1,se(n))}function ko(n,o,t){const{value:l,modifiers:r}=o,i=yl(l);if(i||Gn.hide(n),n._ripple=n._ripple??{},n._ripple.enabled=i,n._ripple.centered=r.center,n._ripple.circle=r.circle,dt(l)&&l.class&&(n._ripple.class=l.class),i&&!t){if(r.stop)return n.addEventListener("touchstart",wo,{passive:!0}),void n.addEventListener("mousedown",wo);n.addEventListener("touchstart",pn,{passive:!0}),n.addEventListener("touchend",se,{passive:!0}),n.addEventListener("touchmove",gl,{passive:!0}),n.addEventListener("touchcancel",se),n.addEventListener("mousedown",pn),n.addEventListener("mouseup",se),n.addEventListener("mouseleave",se),n.addEventListener("keydown",hl),n.addEventListener("keyup",bl),n.addEventListener("blur",Cl),n.addEventListener("dragstart",se,{passive:!0})}else!i&&t&&Sl(n)}function Sl(n){n.removeEventListener("mousedown",pn),n.removeEventListener("touchstart",pn),n.removeEventListener("touchend",se),n.removeEventListener("touchmove",gl),n.removeEventListener("touchcancel",se),n.removeEventListener("mouseup",se),n.removeEventListener("mouseleave",se),n.removeEventListener("keydown",hl),n.removeEventListener("keyup",bl),n.removeEventListener("dragstart",se),n.removeEventListener("blur",Cl)}const xn={mounted:function(n,o){ko(n,o,!1)},unmounted:function(n){delete n._ripple,Sl(n)},updated:function(n,o){o.value!==o.oldValue&&ko(n,o,yl(o.oldValue))}},La=j({active:{type:Boolean,default:void 0},symbol:{type:null,default:cl},flat:Boolean,icon:[Boolean,String,Function,Object],prependIcon:Q,appendIcon:Q,block:Boolean,stacked:Boolean,ripple:{type:[Boolean,Object],default:!0},text:String,...Je(),...J(),...ye(),...Pe(),...Qe(),...il(),...Mt(),...Dt(),...vl(),...Ce(),...et(),...wn(),...ue({tag:"button"}),...te(),...ke({variant:"elevated"})},"VBtn"),ht=U()({name:"VBtn",directives:{Ripple:xn},props:La(),emits:{"group:selected":n=>!0},setup(n,o){let{attrs:t,slots:l}=o;const{themeClasses:r}=ae(n),{borderClasses:i}=Ze(n),{colorClasses:c,colorStyles:s,variantClasses:a}=Bn(n),{densityClasses:u}=Ve(n),{dimensionStyles:f}=_e(n),{elevationClasses:v}=en(n),{loaderClasses:p}=Zn(n),{locationStyles:d}=Lt(n),{positionClasses:m}=fl(n),{roundedClasses:g}=Se(n),{sizeClasses:y,sizeStyles:h}=kn(n),x=sl(n,n.symbol,!1),V=Qn(n,t),T=e.computed(()=>{var C;return n.active!==void 0?n.active:V.isLink.value?(C=V.isActive)==null?void 0:C.value:x==null?void 0:x.isSelected.value}),P=e.computed(()=>(x==null?void 0:x.disabled.value)||n.disabled),z=e.computed(()=>n.variant==="elevated"&&!(n.disabled||n.flat||n.border)),w=e.computed(()=>{if(n.value!==void 0)return Object(n.value)===n.value?JSON.stringify(n.value,null,0):n.value});function b(C){var O;P.value||V.isLink.value&&(C.metaKey||C.ctrlKey||C.shiftKey||C.button!==0||t.target==="_blank")||((O=V.navigate)==null||O.call(V,C),x==null||x.toggle())}return function(C,O){e.watch(()=>{var F;return(F=C.isActive)==null?void 0:F.value},F=>{C.isLink.value&&F&&O&&e.nextTick(()=>{O(!0)})},{immediate:!0})}(V,x==null?void 0:x.select),K(()=>{var L,W;const C=V.isLink.value?"a":n.tag,O=!(!n.prependIcon&&!l.prepend),F=!(!n.appendIcon&&!l.append),N=!(!n.icon||n.icon===!0),k=(x==null?void 0:x.isSelected.value)&&(!V.isLink.value||((L=V.isActive)==null?void 0:L.value))||!x||((W=V.isActive)==null?void 0:W.value);return e.withDirectives(e.createVNode(C,{type:C==="a"?void 0:"button",class:["v-btn",x==null?void 0:x.selectedClass.value,{"v-btn--active":T.value,"v-btn--block":n.block,"v-btn--disabled":P.value,"v-btn--elevated":z.value,"v-btn--flat":n.flat,"v-btn--icon":!!n.icon,"v-btn--loading":n.loading,"v-btn--stacked":n.stacked},r.value,i.value,k?c.value:void 0,u.value,v.value,p.value,m.value,g.value,y.value,a.value,n.class],style:[k?s.value:void 0,f.value,d.value,h.value,n.style],disabled:P.value||void 0,href:V.href.value,onClick:b,value:w.value},{default:()=>{var I;return[In(!0,"v-btn"),!n.icon&&O&&e.createVNode("span",{key:"prepend",class:"v-btn__prepend"},[l.prepend?e.createVNode(oe,{key:"prepend-defaults",disabled:!n.prependIcon,defaults:{VIcon:{icon:n.prependIcon}}},l.prepend):e.createVNode(ee,{key:"prepend-icon",icon:n.prependIcon},null)]),e.createVNode("span",{class:"v-btn__content","data-no-activator":""},[!l.default&&N?e.createVNode(ee,{key:"content-icon",icon:n.icon},null):e.createVNode(oe,{key:"content-defaults",disabled:!N,defaults:{VIcon:{icon:n.icon}}},{default:()=>{var A;return[((A=l.default)==null?void 0:A.call(l))??n.text]}})]),!n.icon&&F&&e.createVNode("span",{key:"append",class:"v-btn__append"},[l.append?e.createVNode(oe,{key:"append-defaults",disabled:!n.appendIcon,defaults:{VIcon:{icon:n.appendIcon}}},l.append):e.createVNode(ee,{key:"append-icon",icon:n.appendIcon},null)]),!!n.loading&&e.createVNode("span",{key:"loader",class:"v-btn__loader"},[((I=l.loader)==null?void 0:I.call(l))??e.createVNode(pl,{color:typeof n.loading=="boolean"?void 0:n.loading,indeterminate:!0,size:"23",width:"2"},null)])]}}),[[e.resolveDirective("ripple"),!P.value&&n.ripple,null]])}),{}}}),Ma=j({text:String,clickable:Boolean,...J(),...te()},"VLabel"),Vl=U()({name:"VLabel",props:Ma(),setup(n,o){let{slots:t}=o;return K(()=>{var l;return e.createVNode("label",{class:["v-label",{"v-label--clickable":n.clickable},n.class],style:n.style},[n.text,(l=t.default)==null?void 0:l.call(t)])}),{}}}),Il=Symbol.for("vuetify:selection-control-group"),Bl=j({color:String,disabled:{type:Boolean,default:null},defaultsTarget:String,error:Boolean,id:String,inline:Boolean,falseIcon:Q,trueIcon:Q,ripple:{type:Boolean,default:!0},multiple:{type:Boolean,default:null},name:String,readonly:Boolean,modelValue:null,type:String,valueComparator:{type:Function,default:gn},...J(),...ye(),...te()},"SelectionControlGroup"),Wa=j({...Bl({defaultsTarget:"VSelectionControl"})},"VSelectionControlGroup");U()({name:"VSelectionControlGroup",props:Wa(),emits:{"update:modelValue":n=>!0},setup(n,o){let{slots:t}=o;const l=ne(n,"modelValue"),r=pe(),i=e.computed(()=>n.id||`v-selection-control-group-${r}`),c=e.computed(()=>n.name||i.value),s=new Set;return e.provide(Il,{modelValue:l,forceUpdate:()=>{s.forEach(a=>a())},onForceUpdate:a=>{s.add(a),e.onScopeDispose(()=>{s.delete(a)})}}),Xe({[n.defaultsTarget]:{color:e.toRef(n,"color"),disabled:e.toRef(n,"disabled"),density:e.toRef(n,"density"),error:e.toRef(n,"error"),inline:e.toRef(n,"inline"),modelValue:l,multiple:e.computed(()=>!!n.multiple||n.multiple==null&&Array.isArray(l.value)),name:c,falseIcon:e.toRef(n,"falseIcon"),trueIcon:e.toRef(n,"trueIcon"),readonly:e.toRef(n,"readonly"),ripple:e.toRef(n,"ripple"),type:e.toRef(n,"type"),valueComparator:e.toRef(n,"valueComparator")}}),K(()=>{var a;return e.createVNode("div",{class:["v-selection-control-group",{"v-selection-control-group--inline":n.inline},n.class],style:n.style,role:n.type==="radio"?"radiogroup":void 0},[(a=t.default)==null?void 0:a.call(t)])}),{}}});const jt=j({label:String,trueValue:null,falseValue:null,value:null,...J(),...Bl()},"VSelectionControl"),qn=U()({name:"VSelectionControl",directives:{Ripple:xn},inheritAttrs:!1,props:jt(),emits:{"update:modelValue":n=>!0},setup(n,o){let{attrs:t,slots:l}=o;const{group:r,densityClasses:i,icon:c,model:s,textColorClasses:a,textColorStyles:u,backgroundColorClasses:f,backgroundColorStyles:v,trueValue:p}=function(P){const z=e.inject(Il,void 0),{densityClasses:w}=Ve(P),b=ne(P,"modelValue"),C=e.computed(()=>P.trueValue!==void 0?P.trueValue:P.value===void 0||P.value),O=e.computed(()=>P.falseValue!==void 0&&P.falseValue),F=e.computed(()=>!!P.multiple||P.multiple==null&&Array.isArray(b.value)),N=e.computed({get(){const E=z?z.modelValue.value:b.value;return F.value?E.some(M=>P.valueComparator(M,C.value)):P.valueComparator(E,C.value)},set(E){if(P.readonly)return;const M=E?C.value:O.value;let D=M;F.value&&(D=E?[...Be(b.value),M]:Be(b.value).filter(_=>!P.valueComparator(_,C.value))),z?z.modelValue.value=D:b.value=D}}),{textColorClasses:k,textColorStyles:L}=he(e.computed(()=>!N.value||P.error||P.disabled?void 0:P.color)),{backgroundColorClasses:W,backgroundColorStyles:I}=Ye(e.computed(()=>!N.value||P.error||P.disabled?void 0:P.color)),A=e.computed(()=>N.value?P.trueIcon:P.falseIcon);return{group:z,densityClasses:w,trueValue:C,falseValue:O,model:N,textColorClasses:k,textColorStyles:L,backgroundColorClasses:W,backgroundColorStyles:I,icon:A}}(n),d=pe(),m=e.computed(()=>n.id||`input-${d}`),g=e.shallowRef(!1),y=e.shallowRef(!1),h=e.ref();function x(P){g.value=!0,Dn(P.target,":focus-visible")!==!1&&(y.value=!0)}function V(){g.value=!1,y.value=!1}function T(P){n.readonly&&r&&e.nextTick(()=>r.forceUpdate()),s.value=P.target.checked}return r==null||r.onForceUpdate(()=>{h.value&&(h.value.checked=s.value)}),K(()=>{var C,O;const P=l.label?l.label({label:n.label,props:{for:m.value}}):n.label,[z,w]=bn(t),b=e.createVNode("input",e.mergeProps({ref:h,checked:s.value,disabled:!(!n.readonly&&!n.disabled),id:m.value,onBlur:V,onFocus:x,onInput:T,"aria-disabled":!(!n.readonly&&!n.disabled),type:n.type,value:p.value,name:n.name,"aria-checked":n.type==="checkbox"?s.value:void 0},w),null);return e.createVNode("div",e.mergeProps({class:["v-selection-control",{"v-selection-control--dirty":s.value,"v-selection-control--disabled":n.disabled,"v-selection-control--error":n.error,"v-selection-control--focused":g.value,"v-selection-control--focus-visible":y.value,"v-selection-control--inline":n.inline},i.value,n.class]},z,{style:n.style}),[e.createVNode("div",{class:["v-selection-control__wrapper",a.value],style:u.value},[(C=l.default)==null?void 0:C.call(l,{backgroundColorClasses:f,backgroundColorStyles:v}),e.withDirectives(e.createVNode("div",{class:["v-selection-control__input"]},[((O=l.input)==null?void 0:O.call(l,{model:s,textColorClasses:a,textColorStyles:u,backgroundColorClasses:f,backgroundColorStyles:v,inputNode:b,icon:c.value,props:{onFocus:x,onBlur:V,id:m.value}}))??e.createVNode(e.Fragment,null,[c.value&&e.createVNode(ee,{key:"icon",icon:c.value},null),b])]),[[e.resolveDirective("ripple"),n.ripple&&[!n.disabled&&!n.readonly,null,["center","circle"]]]])]),P&&e.createVNode(Vl,{for:m.value,clickable:!0,onClick:F=>F.stopPropagation()},{default:()=>[P]})])}),{isFocused:g,input:h}}}),wl=j({indeterminate:Boolean,indeterminateIcon:{type:Q,default:"$checkboxIndeterminate"},...jt({falseIcon:"$checkboxOff",trueIcon:"$checkboxOn"})},"VCheckboxBtn"),bt=U()({name:"VCheckboxBtn",props:wl(),emits:{"update:modelValue":n=>!0,"update:indeterminate":n=>!0},setup(n,o){let{slots:t}=o;const l=ne(n,"indeterminate"),r=ne(n,"modelValue");function i(a){l.value&&(l.value=!1)}const c=e.computed(()=>l.value?n.indeterminateIcon:n.falseIcon),s=e.computed(()=>l.value?n.indeterminateIcon:n.trueIcon);return K(()=>{const a=hn(qn.filterProps(n)[0],["modelValue"]);return e.createVNode(qn,e.mergeProps(a,{modelValue:r.value,"onUpdate:modelValue":[u=>r.value=u,i],class:["v-checkbox-btn",n.class],style:n.style,type:"checkbox",falseIcon:c.value,trueIcon:s.value,"aria-checked":l.value?"mixed":void 0}),t)}),{}}});function kl(n){const{t:o}=$t();return{InputIcon:function(t){let{name:l}=t;const r={prepend:"prependAction",prependInner:"prependAction",append:"appendAction",appendInner:"appendAction",clear:"clear"}[l],i=n[`onClick:${l}`],c=i&&r?o(`$vuetify.input.${r}`,n.label??""):void 0;return e.createVNode(ee,{icon:n[`${l}Icon`],"aria-label":c,onClick:i},null)}}}const ja=j({active:Boolean,color:String,messages:{type:[Array,String],default:()=>[]},...J(),...Vn({transition:{component:nl,leaveAbsolute:!0,group:!0}})},"VMessages"),Ga=U()({name:"VMessages",props:ja(),setup(n,o){let{slots:t}=o;const l=e.computed(()=>Be(n.messages)),{textColorClasses:r,textColorStyles:i}=he(e.computed(()=>n.color));return K(()=>e.createVNode(Ie,{transition:n.transition,tag:"div",class:["v-messages",r.value,n.class],style:[i.value,n.style],role:"alert","aria-live":"polite"},{default:()=>[n.active&&l.value.map((c,s)=>e.createVNode("div",{class:"v-messages__message",key:`${s}-${l.value}`},[t.message?t.message({message:c}):c]))]})),{}}}),xl=j({focused:Boolean,"onUpdate:focused":me()},"focus");function Fn(n){let o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:be();const t=ne(n,"focused");return{focusClasses:e.computed(()=>({[`${o}--focused`]:t.value})),isFocused:t,focus:function(){t.value=!0},blur:function(){t.value=!1}}}const qa=Symbol.for("vuetify:form");function Fl(){return e.inject(qa,null)}const Ha=j({disabled:{type:Boolean,default:null},error:Boolean,errorMessages:{type:[Array,String],default:()=>[]},maxErrors:{type:[Number,String],default:1},name:String,label:String,readonly:{type:Boolean,default:null},rules:{type:Array,default:()=>[]},modelValue:null,validateOn:String,validationValue:null,...xl()},"validation"),Nn=j({id:String,appendIcon:Q,centerAffix:{type:Boolean,default:!0},prependIcon:Q,hideDetails:[Boolean,String],hint:String,persistentHint:Boolean,messages:{type:[Array,String],default:()=>[]},direction:{type:String,default:"horizontal",validator:n=>["horizontal","vertical"].includes(n)},"onClick:prepend":me(),"onClick:append":me(),...J(),...ye(),...Ha()},"VInput"),we=U()({name:"VInput",props:{...Nn()},emits:{"update:modelValue":n=>!0},setup(n,o){let{attrs:t,slots:l,emit:r}=o;const{densityClasses:i}=Ve(n),{rtlClasses:c}=Sn(),{InputIcon:s}=kl(n),a=pe(),u=e.computed(()=>n.id||`input-${a}`),f=e.computed(()=>`${u.value}-messages`),{errorMessages:v,isDirty:p,isDisabled:d,isReadonly:m,isPristine:g,isValid:y,isValidating:h,reset:x,resetValidation:V,validate:T,validationClasses:P}=function(b){let C=arguments.length>1&&arguments[1]!==void 0?arguments[1]:be(),O=arguments.length>2&&arguments[2]!==void 0?arguments[2]:pe();const F=ne(b,"modelValue"),N=e.computed(()=>b.validationValue===void 0?F.value:b.validationValue),k=Fl(),L=e.ref([]),W=e.shallowRef(!0),I=e.computed(()=>!(!Be(F.value===""?null:F.value).length&&!Be(N.value===""?null:N.value).length)),A=e.computed(()=>!!(b.disabled??(k==null?void 0:k.isDisabled.value))),E=e.computed(()=>!!(b.readonly??(k==null?void 0:k.isReadonly.value))),M=e.computed(()=>{var q;return(q=b.errorMessages)!=null&&q.length?Be(b.errorMessages).slice(0,Math.max(0,+b.maxErrors)):L.value}),D=e.computed(()=>{let q=(b.validateOn??(k==null?void 0:k.validateOn.value))||"input";q==="lazy"&&(q="input lazy");const Z=new Set((q==null?void 0:q.split(" "))??[]);return{blur:Z.has("blur")||Z.has("input"),input:Z.has("input"),submit:Z.has("submit"),lazy:Z.has("lazy")}}),_=e.computed(()=>{var q;return!b.error&&!((q=b.errorMessages)!=null&&q.length)&&(!b.rules.length||(W.value?!L.value.length&&!D.value.lazy||null:!L.value.length))}),S=e.shallowRef(!1),R=e.computed(()=>({[`${C}--error`]:_.value===!1,[`${C}--dirty`]:I.value,[`${C}--disabled`]:A.value,[`${C}--readonly`]:E.value})),B=e.computed(()=>b.name??e.unref(O));function $(){F.value=null,e.nextTick(G)}function G(){W.value=!0,D.value.lazy?L.value=[]:H(!0)}async function H(){let q=arguments.length>0&&arguments[0]!==void 0&&arguments[0];const Z=[];S.value=!0;for(const re of b.rules){if(Z.length>=+(b.maxErrors??1))break;const nn=typeof re=="function"?re:()=>re,fe=await nn(N.value);fe!==!0&&(fe===!1||typeof fe=="string"?Z.push(fe||""):console.warn(`${fe} is not a valid value. Rule functions must return boolean true or a string.`))}return L.value=Z,S.value=!1,W.value=q,L.value}return e.onBeforeMount(()=>{k==null||k.register({id:B.value,validate:H,reset:$,resetValidation:G})}),e.onBeforeUnmount(()=>{k==null||k.unregister(B.value)}),e.onMounted(async()=>{D.value.lazy||await H(!0),k==null||k.update(B.value,_.value,M.value)}),Fe(()=>D.value.input,()=>{e.watch(N,()=>{if(N.value!=null)H();else if(b.focused){const q=e.watch(()=>b.focused,Z=>{Z||H(),q()})}})}),Fe(()=>D.value.blur,()=>{e.watch(()=>b.focused,q=>{q||H()})}),e.watch(_,()=>{k==null||k.update(B.value,_.value,M.value)}),{errorMessages:M,isDirty:I,isDisabled:A,isReadonly:E,isPristine:W,isValid:_,isValidating:S,reset:$,resetValidation:G,validate:H,validationClasses:R}}(n,"v-input",u),z=e.computed(()=>({id:u,messagesId:f,isDirty:p,isDisabled:d,isReadonly:m,isPristine:g,isValid:y,isValidating:h,reset:x,resetValidation:V,validate:T})),w=e.computed(()=>{var b;return(b=n.errorMessages)!=null&&b.length||!g.value&&v.value.length?v.value:n.hint&&(n.persistentHint||n.focused)?n.hint:n.messages});return K(()=>{var N,k,L,W;const b=!(!l.prepend&&!n.prependIcon),C=!(!l.append&&!n.appendIcon),O=w.value.length>0,F=!n.hideDetails||n.hideDetails==="auto"&&(O||!!l.details);return e.createVNode("div",{class:["v-input",`v-input--${n.direction}`,{"v-input--center-affix":n.centerAffix},i.value,c.value,P.value,n.class],style:n.style},[b&&e.createVNode("div",{key:"prepend",class:"v-input__prepend"},[(N=l.prepend)==null?void 0:N.call(l,z.value),n.prependIcon&&e.createVNode(s,{key:"prepend-icon",name:"prepend"},null)]),l.default&&e.createVNode("div",{class:"v-input__control"},[(k=l.default)==null?void 0:k.call(l,z.value)]),C&&e.createVNode("div",{key:"append",class:"v-input__append"},[n.appendIcon&&e.createVNode(s,{key:"append-icon",name:"append"},null),(L=l.append)==null?void 0:L.call(l,z.value)]),F&&e.createVNode("div",{class:"v-input__details"},[e.createVNode(Ga,{id:f.value,active:O,messages:w.value},{message:l.message}),(W=l.details)==null?void 0:W.call(l,z.value)])])}),{reset:x,resetValidation:V,validate:T}}}),Ua=j({...Nn(),...hn(wl(),["inline"])},"VCheckbox"),Ya=U()({name:"VCheckbox",inheritAttrs:!1,props:Ua(),emits:{"update:modelValue":n=>!0,"update:focused":n=>!0},setup(n,o){let{attrs:t,slots:l}=o;const r=ne(n,"modelValue"),{isFocused:i,focus:c,blur:s}=Fn(n),a=pe(),u=e.computed(()=>n.id||`checkbox-${a}`);return K(()=>{const[f,v]=bn(t),[p,d]=we.filterProps(n),[m,g]=bt.filterProps(n);return e.createVNode(we,e.mergeProps({class:["v-checkbox",n.class]},f,p,{modelValue:r.value,"onUpdate:modelValue":y=>r.value=y,id:u.value,focused:i.value,style:n.style}),{...l,default:y=>{let{id:h,messagesId:x,isDisabled:V,isReadonly:T}=y;return e.createVNode(bt,e.mergeProps(m,{id:h.value,"aria-describedby":x.value,disabled:V.value,readonly:T.value},v,{modelValue:r.value,"onUpdate:modelValue":P=>r.value=P,onFocus:c,onBlur:s}),l)}})}),{}}}),Ka=j({start:Boolean,end:Boolean,icon:Q,image:String,...J(),...ye(),...Ce(),...wn(),...ue(),...te(),...ke({variant:"flat"})},"VAvatar"),Ke=U()({name:"VAvatar",props:Ka(),setup(n,o){let{slots:t}=o;const{themeClasses:l}=ae(n),{colorClasses:r,colorStyles:i,variantClasses:c}=Bn(n),{densityClasses:s}=Ve(n),{roundedClasses:a}=Se(n),{sizeClasses:u,sizeStyles:f}=kn(n);return K(()=>e.createVNode(n.tag,{class:["v-avatar",{"v-avatar--start":n.start,"v-avatar--end":n.end},l.value,r.value,s.value,a.value,u.value,c.value,n.class],style:[i.value,f.value,n.style]},{default:()=>{var v;return[n.image?e.createVNode(ll,{key:"image",src:n.image,alt:"",cover:!0},null):n.icon?e.createVNode(ee,{key:"icon",icon:n.icon},null):(v=t.default)==null?void 0:v.call(t),In(!1,"v-avatar")]}})),{}}}),Nl=Symbol.for("vuetify:v-chip-group"),Xa=j({column:Boolean,filter:Boolean,valueComparator:{type:Function,default:gn},...J(),...rl({selectedClass:"v-chip--selected"}),...ue(),...te(),...ke({variant:"tonal"})},"VChipGroup");U()({name:"VChipGroup",props:Xa(),emits:{"update:modelValue":n=>!0},setup(n,o){let{slots:t}=o;const{themeClasses:l}=ae(n),{isSelected:r,select:i,next:c,prev:s,selected:a}=ul(n,Nl);return Xe({VChip:{color:e.toRef(n,"color"),disabled:e.toRef(n,"disabled"),filter:e.toRef(n,"filter"),variant:e.toRef(n,"variant")}}),K(()=>e.createVNode(n.tag,{class:["v-chip-group",{"v-chip-group--column":n.column},l.value,n.class],style:n.style},{default:()=>{var u;return[(u=t.default)==null?void 0:u.call(t,{isSelected:r,select:i,next:c,prev:s,selected:a.value})]}})),{}}});const Ja=j({activeClass:String,appendAvatar:String,appendIcon:Q,closable:Boolean,closeIcon:{type:Q,default:"$delete"},closeLabel:{type:String,default:"$vuetify.close"},draggable:Boolean,filter:Boolean,filterIcon:{type:String,default:"$complete"},label:Boolean,link:{type:Boolean,default:void 0},pill:Boolean,prependAvatar:String,prependIcon:Q,ripple:{type:[Boolean,Object],default:!0},text:String,modelValue:{type:Boolean,default:!0},onClick:me(),onClickOnce:me(),...Je(),...J(),...ye(),...Qe(),...il(),...Ce(),...et(),...wn(),...ue({tag:"span"}),...te(),...ke({variant:"tonal"})},"VChip"),Za=U()({name:"VChip",directives:{Ripple:xn},props:Ja(),emits:{"click:close":n=>!0,"update:modelValue":n=>!0,"group:selected":n=>!0,click:n=>!0},setup(n,o){let{attrs:t,emit:l,slots:r}=o;const{t:i}=$t(),{borderClasses:c}=Ze(n),{colorClasses:s,colorStyles:a,variantClasses:u}=Bn(n),{densityClasses:f}=Ve(n),{elevationClasses:v}=en(n),{roundedClasses:p}=Se(n),{sizeClasses:d}=kn(n),{themeClasses:m}=ae(n),g=ne(n,"modelValue"),y=sl(n,Nl,!1),h=Qn(n,t),x=e.computed(()=>n.link!==!1&&h.isLink.value),V=e.computed(()=>!n.disabled&&n.link!==!1&&(!!y||n.link||h.isClickable.value)),T=e.computed(()=>({"aria-label":i(n.closeLabel),onClick(w){w.stopPropagation(),g.value=!1,l("click:close",w)}}));function P(w){var b;l("click",w),V.value&&((b=h.navigate)==null||b.call(h,w),y==null||y.toggle())}function z(w){w.key!=="Enter"&&w.key!==" "||(w.preventDefault(),P(w))}return()=>{const w=h.isLink.value?"a":n.tag,b=!(!n.appendIcon&&!n.appendAvatar),C=!(!b&&!r.append),O=!(!r.close&&!n.closable),F=!(!r.filter&&!n.filter)&&y,N=!(!n.prependIcon&&!n.prependAvatar),k=!(!N&&!r.prepend),L=!y||y.isSelected.value;return g.value&&e.withDirectives(e.createVNode(w,{class:["v-chip",{"v-chip--disabled":n.disabled,"v-chip--label":n.label,"v-chip--link":V.value,"v-chip--filter":F,"v-chip--pill":n.pill},m.value,c.value,L?s.value:void 0,f.value,v.value,p.value,d.value,u.value,y==null?void 0:y.selectedClass.value,n.class],style:[L?a.value:void 0,n.style],disabled:n.disabled||void 0,draggable:n.draggable,href:h.href.value,tabindex:V.value?0:void 0,onClick:P,onKeydown:V.value&&!x.value&&z},{default:()=>{var W;return[In(V.value,"v-chip"),F&&e.createVNode(tl,{key:"filter"},{default:()=>[e.withDirectives(e.createVNode("div",{class:"v-chip__filter"},[r.filter?e.createVNode(oe,{key:"filter-defaults",disabled:!n.filterIcon,defaults:{VIcon:{icon:n.filterIcon}}},r.filter):e.createVNode(ee,{key:"filter-icon",icon:n.filterIcon},null)]),[[e.vShow,y.isSelected.value]])]}),k&&e.createVNode("div",{key:"prepend",class:"v-chip__prepend"},[r.prepend?e.createVNode(oe,{key:"prepend-defaults",disabled:!N,defaults:{VAvatar:{image:n.prependAvatar,start:!0},VIcon:{icon:n.prependIcon,start:!0}}},r.prepend):e.createVNode(e.Fragment,null,[n.prependIcon&&e.createVNode(ee,{key:"prepend-icon",icon:n.prependIcon,start:!0},null),n.prependAvatar&&e.createVNode(Ke,{key:"prepend-avatar",image:n.prependAvatar,start:!0},null)])]),e.createVNode("div",{class:"v-chip__content"},[((W=r.default)==null?void 0:W.call(r,{isSelected:y==null?void 0:y.isSelected.value,selectedClass:y==null?void 0:y.selectedClass.value,select:y==null?void 0:y.select,toggle:y==null?void 0:y.toggle,value:y==null?void 0:y.value.value,disabled:n.disabled}))??n.text]),C&&e.createVNode("div",{key:"append",class:"v-chip__append"},[r.append?e.createVNode(oe,{key:"append-defaults",disabled:!b,defaults:{VAvatar:{end:!0,image:n.appendAvatar},VIcon:{end:!0,icon:n.appendIcon}}},r.append):e.createVNode(e.Fragment,null,[n.appendIcon&&e.createVNode(ee,{key:"append-icon",end:!0,icon:n.appendIcon},null),n.appendAvatar&&e.createVNode(Ke,{key:"append-avatar",end:!0,image:n.appendAvatar},null)])]),O&&e.createVNode("div",e.mergeProps({key:"close",class:"v-chip__close"},T.value),[r.close?e.createVNode(oe,{key:"close-defaults",defaults:{VIcon:{icon:n.closeIcon,size:"x-small"}}},r.close):e.createVNode(ee,{key:"close-icon",icon:n.closeIcon,size:"x-small"},null)])]}}),[[e.resolveDirective("ripple"),V.value&&n.ripple,null]])}}}),Ct=Symbol.for("vuetify:list");function Al(){const n=e.inject(Ct,{hasPrepend:e.shallowRef(!1),updateHasPrepend:()=>null}),o={hasPrepend:e.shallowRef(!1),updateHasPrepend:t=>{t&&(o.hasPrepend.value=t)}};return e.provide(Ct,o),n}function Pl(){return e.inject(Ct,null)}const Qa={open:n=>{let{id:o,value:t,opened:l,parents:r}=n;if(t){const i=new Set;i.add(o);let c=r.get(o);for(;c!=null;)i.add(c),c=r.get(c);return i}return l.delete(o),l},select:()=>null},_l={open:n=>{let{id:o,value:t,opened:l,parents:r}=n;if(t){let i=r.get(o);for(l.add(o);i!=null&&i!==o;)l.add(i),i=r.get(i);return l}return l.delete(o),l},select:()=>null},er={open:_l.open,select:n=>{let{id:o,value:t,opened:l,parents:r}=n;if(!t)return l;const i=[];let c=r.get(o);for(;c!=null;)i.push(c),c=r.get(c);return new Set(i)}},St=n=>{const o={select:t=>{let{id:l,value:r,selected:i}=t;if(l=e.toRaw(l),n&&!r){const c=Array.from(i.entries()).reduce((s,a)=>{let[u,f]=a;return f==="on"?[...s,u]:s},[]);if(c.length===1&&c[0]===l)return i}return i.set(l,r?"on":"off"),i},in:(t,l,r)=>{let i=new Map;for(const c of t||[])i=o.select({id:c,value:!0,selected:new Map(i),children:l,parents:r});return i},out:t=>{const l=[];for(const[r,i]of t.entries())i==="on"&&l.push(r);return l}};return o},xo=n=>{const o=St(n);return{select:t=>{let{selected:l,id:r,...i}=t;r=e.toRaw(r);const c=l.has(r)?new Map([[r,l.get(r)]]):new Map;return o.select({...i,id:r,selected:c})},in:(t,l,r)=>{let i=new Map;return t!=null&&t.length&&(i=o.in(t.slice(0,1),l,r)),i},out:(t,l,r)=>o.out(t,l,r)}},fn=Symbol.for("vuetify:nested"),El={id:e.shallowRef(),root:{register:()=>null,unregister:()=>null,parents:e.ref(new Map),children:e.ref(new Map),open:()=>null,openOnSelect:()=>null,select:()=>null,opened:e.ref(new Set),selected:e.ref(new Map),selectedValues:e.ref([])}},nr=j({selectStrategy:[String,Function],openStrategy:[String,Object],opened:Array,selected:Array,mandatory:Boolean},"nested"),tr=n=>{let o=!1;const t=e.ref(new Map),l=e.ref(new Map),r=ne(n,"opened",n.opened,v=>new Set(v),v=>[...v.values()]),i=e.computed(()=>{if(typeof n.selectStrategy=="object")return n.selectStrategy;switch(n.selectStrategy){case"single-leaf":return(v=>{const p=xo(v);return{select:d=>{let{id:m,selected:g,children:y,...h}=d;return m=e.toRaw(m),y.has(m)?g:p.select({id:m,selected:g,children:y,...h})},in:p.in,out:p.out}})(n.mandatory);case"leaf":return(v=>{const p=St(v);return{select:d=>{let{id:m,selected:g,children:y,...h}=d;return m=e.toRaw(m),y.has(m)?g:p.select({id:m,selected:g,children:y,...h})},in:p.in,out:p.out}})(n.mandatory);case"independent":return St(n.mandatory);case"single-independent":return xo(n.mandatory);default:return(v=>{const p={select:d=>{let{id:m,value:g,selected:y,children:h,parents:x}=d;m=e.toRaw(m);const V=new Map(y),T=[m];for(;T.length;){const z=T.shift();y.set(z,g?"on":"off"),h.has(z)&&T.push(...h.get(z))}let P=x.get(m);for(;P;){const z=h.get(P),w=z.every(C=>y.get(C)==="on"),b=z.every(C=>!y.has(C)||y.get(C)==="off");y.set(P,w?"on":b?"off":"indeterminate"),P=x.get(P)}return v&&!g&&Array.from(y.entries()).reduce((w,b)=>{let[C,O]=b;return O==="on"?[...w,C]:w},[]).length===0?V:y},in:(d,m,g)=>{let y=new Map;for(const h of d||[])y=p.select({id:h,value:!0,selected:new Map(y),children:m,parents:g});return y},out:(d,m)=>{const g=[];for(const[y,h]of d.entries())h!=="on"||m.has(y)||g.push(y);return g}};return p})(n.mandatory)}}),c=e.computed(()=>{if(typeof n.openStrategy=="object")return n.openStrategy;switch(n.openStrategy){case"list":return er;case"single":return Qa;default:return _l}}),s=ne(n,"selected",n.selected,v=>i.value.in(v,t.value,l.value),v=>i.value.out(v,t.value,l.value));function a(v){const p=[];let d=v;for(;d!=null;)p.unshift(d),d=l.value.get(d);return p}e.onBeforeUnmount(()=>{o=!0});const u=le("nested"),f={id:e.shallowRef(),root:{opened:r,selected:s,selectedValues:e.computed(()=>{const v=[];for(const[p,d]of s.value.entries())d==="on"&&v.push(p);return v}),register:(v,p,d)=>{p&&v!==p&&l.value.set(v,p),d&&t.value.set(v,[]),p!=null&&t.value.set(p,[...t.value.get(p)||[],v])},unregister:v=>{if(o)return;t.value.delete(v);const p=l.value.get(v);if(p){const d=t.value.get(p)??[];t.value.set(p,d.filter(m=>m!==v))}l.value.delete(v),r.value.delete(v)},open:(v,p,d)=>{u.emit("click:open",{id:v,value:p,path:a(v),event:d});const m=c.value.open({id:v,value:p,opened:new Set(r.value),children:t.value,parents:l.value,event:d});m&&(r.value=m)},openOnSelect:(v,p,d)=>{const m=c.value.select({id:v,value:p,selected:new Map(s.value),opened:new Set(r.value),children:t.value,parents:l.value,event:d});m&&(r.value=m)},select:(v,p,d)=>{u.emit("click:select",{id:v,value:p,path:a(v),event:d});const m=i.value.select({id:v,value:p,selected:new Map(s.value),children:t.value,parents:l.value,event:d});m&&(s.value=m),f.root.openOnSelect(v,p,d)},children:t,parents:l}};return e.provide(fn,f),f.root},Ol=(n,o)=>{const t=e.inject(fn,El),l=Symbol(pe()),r=e.computed(()=>n.value!==void 0?n.value:l),i={...t,id:r,open:(c,s)=>t.root.open(r.value,c,s),openOnSelect:(c,s)=>t.root.openOnSelect(r.value,c,s),isOpen:e.computed(()=>t.root.opened.value.has(r.value)),parent:e.computed(()=>t.root.parents.value.get(r.value)),select:(c,s)=>t.root.select(r.value,c,s),isSelected:e.computed(()=>t.root.selected.value.get(e.toRaw(r.value))==="on"),isIndeterminate:e.computed(()=>t.root.selected.value.get(r.value)==="indeterminate"),isLeaf:e.computed(()=>!t.root.children.value.get(r.value)),isGroupActivator:t.isGroupActivator};return!t.isGroupActivator&&t.root.register(r.value,t.id.value,o),e.onBeforeUnmount(()=>{!t.isGroupActivator&&t.root.unregister(r.value)}),o&&e.provide(fn,i),i},or=dn({name:"VListGroupActivator",setup(n,o){let{slots:t}=o;return(()=>{const l=e.inject(fn,El);e.provide(fn,{...l,isGroupActivator:!0})})(),()=>{var l;return(l=t.default)==null?void 0:l.call(t)}}}),lr=j({activeColor:String,baseColor:String,color:String,collapseIcon:{type:Q,default:"$collapse"},expandIcon:{type:Q,default:"$expand"},prependIcon:Q,appendIcon:Q,fluid:Boolean,subgroup:Boolean,title:String,value:null,...J(),...ue()},"VListGroup"),Fo=U()({name:"VListGroup",props:lr(),setup(n,o){let{slots:t}=o;const{isOpen:l,open:r,id:i}=Ol(e.toRef(n,"value"),!0),c=e.computed(()=>`v-list-group--id-${String(i.value)}`),s=Pl(),{isBooted:a}=function(){const d=e.shallowRef(!1);return e.onMounted(()=>{window.requestAnimationFrame(()=>{d.value=!0})}),{ssrBootStyles:e.computed(()=>d.value?void 0:{transition:"none !important"}),isBooted:e.readonly(d)}}();function u(d){r(!l.value,d)}const f=e.computed(()=>({onClick:u,class:"v-list-group__header",id:c.value})),v=e.computed(()=>l.value?n.collapseIcon:n.expandIcon),p=e.computed(()=>({VListItem:{active:l.value,activeColor:n.activeColor,baseColor:n.baseColor,color:n.color,prependIcon:n.prependIcon||n.subgroup&&v.value,appendIcon:n.appendIcon||!n.subgroup&&v.value,title:n.title,value:n.value}}));return K(()=>e.createVNode(n.tag,{class:["v-list-group",{"v-list-group--prepend":s==null?void 0:s.hasPrepend.value,"v-list-group--fluid":n.fluid,"v-list-group--subgroup":n.subgroup,"v-list-group--open":l.value},n.class],style:n.style},{default:()=>[t.activator&&e.createVNode(oe,{defaults:p.value},{default:()=>[e.createVNode(or,null,{default:()=>[t.activator({props:f.value,isOpen:l.value})]})]}),e.createVNode(Ie,{transition:{component:wa},disabled:!a.value},{default:()=>{var d;return[e.withDirectives(e.createVNode("div",{class:"v-list-group__items",role:"group","aria-labelledby":c.value},[(d=t.default)==null?void 0:d.call(t)]),[[e.vShow,l.value]])]}})]})),{}}}),ar=Cn("v-list-item-subtitle"),rr=Cn("v-list-item-title"),ir=j({active:{type:Boolean,default:void 0},activeClass:String,activeColor:String,appendAvatar:String,appendIcon:Q,baseColor:String,disabled:Boolean,lines:String,link:{type:Boolean,default:void 0},nav:Boolean,prependAvatar:String,prependIcon:Q,ripple:{type:[Boolean,Object],default:!0},subtitle:[String,Number,Boolean],title:[String,Number,Boolean],value:null,onClick:me(),onClickOnce:me(),...Je(),...J(),...ye(),...Pe(),...Qe(),...Ce(),...et(),...ue(),...te(),...ke({variant:"text"})},"VListItem"),Hn=U()({name:"VListItem",directives:{Ripple:xn},props:ir(),emits:{click:n=>!0},setup(n,o){let{attrs:t,slots:l,emit:r}=o;const i=Qn(n,t),c=e.computed(()=>n.value===void 0?i.href.value:n.value),{select:s,isSelected:a,isIndeterminate:u,isGroupActivator:f,root:v,parent:p,openOnSelect:d}=Ol(c,!1),m=Pl(),g=e.computed(()=>{var E;return n.active!==!1&&(n.active||((E=i.isActive)==null?void 0:E.value)||a.value)}),y=e.computed(()=>n.link!==!1&&i.isLink.value),h=e.computed(()=>!n.disabled&&n.link!==!1&&(n.link||i.isClickable.value||n.value!=null&&!!m)),x=e.computed(()=>n.rounded||n.nav),V=e.computed(()=>n.color??n.activeColor),T=e.computed(()=>({color:g.value?V.value??n.baseColor:n.baseColor,variant:n.variant}));e.watch(()=>{var E;return(E=i.isActive)==null?void 0:E.value},E=>{E&&p.value!=null&&v.open(p.value,!0),E&&d(E)},{immediate:!0});const{themeClasses:P}=ae(n),{borderClasses:z}=Ze(n),{colorClasses:w,colorStyles:b,variantClasses:C}=Bn(T),{densityClasses:O}=Ve(n),{dimensionStyles:F}=_e(n),{elevationClasses:N}=en(n),{roundedClasses:k}=Se(x),L=e.computed(()=>n.lines?`v-list-item--${n.lines}-line`:void 0),W=e.computed(()=>({isActive:g.value,select:s,isSelected:a.value,isIndeterminate:u.value}));function I(E){var M;r("click",E),!f&&h.value&&((M=i.navigate)==null||M.call(i,E),n.value!=null&&s(!a.value,E))}function A(E){E.key!=="Enter"&&E.key!==" "||(E.preventDefault(),I(E))}return K(()=>{const E=y.value?"a":n.tag,M=l.title||n.title,D=l.subtitle||n.subtitle,_=!(!n.appendAvatar&&!n.appendIcon),S=!(!_&&!l.append),R=!(!n.prependAvatar&&!n.prependIcon),B=!(!R&&!l.prepend);var $,G;return m==null||m.updateHasPrepend(B),n.activeColor&&($="active-color",G=["color","base-color"],G=Array.isArray(G)?G.slice(0,-1).map(H=>`'${H}'`).join(", ")+` or '${G.at(-1)}'`:`'${G}'`,e.warn(`[Vuetify UPGRADE] '${$}' is deprecated, use ${G} instead.`)),e.withDirectives(e.createVNode(E,{class:["v-list-item",{"v-list-item--active":g.value,"v-list-item--disabled":n.disabled,"v-list-item--link":h.value,"v-list-item--nav":n.nav,"v-list-item--prepend":!B&&(m==null?void 0:m.hasPrepend.value),[`${n.activeClass}`]:n.activeClass&&g.value},P.value,z.value,w.value,O.value,N.value,L.value,k.value,C.value,n.class],style:[b.value,F.value,n.style],href:i.href.value,tabindex:h.value?m?-2:0:void 0,onClick:I,onKeydown:h.value&&!y.value&&A},{default:()=>{var H;return[In(h.value||g.value,"v-list-item"),B&&e.createVNode("div",{key:"prepend",class:"v-list-item__prepend"},[l.prepend?e.createVNode(oe,{key:"prepend-defaults",disabled:!R,defaults:{VAvatar:{density:n.density,image:n.prependAvatar},VIcon:{density:n.density,icon:n.prependIcon},VListItemAction:{start:!0}}},{default:()=>{var q;return[(q=l.prepend)==null?void 0:q.call(l,W.value)]}}):e.createVNode(e.Fragment,null,[n.prependAvatar&&e.createVNode(Ke,{key:"prepend-avatar",density:n.density,image:n.prependAvatar},null),n.prependIcon&&e.createVNode(ee,{key:"prepend-icon",density:n.density,icon:n.prependIcon},null)]),e.createVNode("div",{class:"v-list-item__spacer"},null)]),e.createVNode("div",{class:"v-list-item__content","data-no-activator":""},[M&&e.createVNode(rr,{key:"title"},{default:()=>{var q;return[((q=l.title)==null?void 0:q.call(l,{title:n.title}))??n.title]}}),D&&e.createVNode(ar,{key:"subtitle"},{default:()=>{var q;return[((q=l.subtitle)==null?void 0:q.call(l,{subtitle:n.subtitle}))??n.subtitle]}}),(H=l.default)==null?void 0:H.call(l,W.value)]),S&&e.createVNode("div",{key:"append",class:"v-list-item__append"},[l.append?e.createVNode(oe,{key:"append-defaults",disabled:!_,defaults:{VAvatar:{density:n.density,image:n.appendAvatar},VIcon:{density:n.density,icon:n.appendIcon},VListItemAction:{end:!0}}},{default:()=>{var q;return[(q=l.append)==null?void 0:q.call(l,W.value)]}}):e.createVNode(e.Fragment,null,[n.appendIcon&&e.createVNode(ee,{key:"append-icon",density:n.density,icon:n.appendIcon},null),n.appendAvatar&&e.createVNode(Ke,{key:"append-avatar",density:n.density,image:n.appendAvatar},null)]),e.createVNode("div",{class:"v-list-item__spacer"},null)])]}}),[[e.resolveDirective("ripple"),h.value&&n.ripple]])}),{}}}),sr=j({color:String,inset:Boolean,sticky:Boolean,title:String,...J(),...ue()},"VListSubheader"),ur=U()({name:"VListSubheader",props:sr(),setup(n,o){let{slots:t}=o;const{textColorClasses:l,textColorStyles:r}=he(e.toRef(n,"color"));return K(()=>{const i=!(!t.default&&!n.title);return e.createVNode(n.tag,{class:["v-list-subheader",{"v-list-subheader--inset":n.inset,"v-list-subheader--sticky":n.sticky},l.value,n.class],style:[{textColorStyles:r},n.style]},{default:()=>{var c;return[i&&e.createVNode("div",{class:"v-list-subheader__text"},[((c=t.default)==null?void 0:c.call(t))??n.title])]}})}),{}}}),cr=j({color:String,inset:Boolean,length:[Number,String],thickness:[Number,String],vertical:Boolean,...J(),...te()},"VDivider"),dr=U()({name:"VDivider",props:cr(),setup(n,o){let{attrs:t}=o;const{themeClasses:l}=ae(n),{textColorClasses:r,textColorStyles:i}=he(e.toRef(n,"color")),c=e.computed(()=>{const s={};return n.length&&(s[n.vertical?"maxHeight":"maxWidth"]=Y(n.length)),n.thickness&&(s[n.vertical?"borderRightWidth":"borderTopWidth"]=Y(n.thickness)),s});return K(()=>e.createVNode("hr",{class:[{"v-divider":!0,"v-divider--inset":n.inset,"v-divider--vertical":n.vertical},l.value,r.value,n.class],style:[c.value,i.value,n.style],"aria-orientation":t.role&&t.role!=="separator"?void 0:n.vertical?"vertical":"horizontal",role:`${t.role||"separator"}`},null)),{}}}),pr=j({items:Array,returnObject:Boolean},"VListChildren"),zl=U()({name:"VListChildren",props:pr(),setup(n,o){let{slots:t}=o;return Al(),()=>{var l,r;return((l=t.default)==null?void 0:l.call(t))??((r=n.items)==null?void 0:r.map(i=>{var d,m;let{children:c,props:s,type:a,raw:u}=i;if(a==="divider")return((d=t.divider)==null?void 0:d.call(t,{props:s}))??e.createVNode(dr,s,null);if(a==="subheader")return((m=t.subheader)==null?void 0:m.call(t,{props:s}))??e.createVNode(ur,s,null);const f={subtitle:t.subtitle?g=>{var y;return(y=t.subtitle)==null?void 0:y.call(t,{...g,item:u})}:void 0,prepend:t.prepend?g=>{var y;return(y=t.prepend)==null?void 0:y.call(t,{...g,item:u})}:void 0,append:t.append?g=>{var y;return(y=t.append)==null?void 0:y.call(t,{...g,item:u})}:void 0,title:t.title?g=>{var y;return(y=t.title)==null?void 0:y.call(t,{...g,item:u})}:void 0},[v,p]=Fo.filterProps(s);return c?e.createVNode(Fo,e.mergeProps({value:s==null?void 0:s.value},v),{activator:g=>{let{props:y}=g;const h={...s,...y,value:n.returnObject?u:s.value};return t.header?t.header({props:h}):e.createVNode(Hn,h,f)},default:()=>e.createVNode(zl,{items:c},t)}):t.item?t.item({props:s}):e.createVNode(Hn,e.mergeProps(s,{value:n.returnObject?u:s.value}),f)}))}}}),$l=j({items:{type:Array,default:()=>[]},itemTitle:{type:[String,Array,Function],default:"title"},itemValue:{type:[String,Array,Function],default:"value"},itemChildren:{type:[Boolean,String,Array,Function],default:"children"},itemProps:{type:[Boolean,String,Array,Function],default:"props"},returnObject:Boolean,valueComparator:{type:Function,default:gn}},"list-items");function Vt(n,o){const t=ge(o,n.itemTitle,o),l=ge(o,n.itemValue,t),r=ge(o,n.itemChildren),i={title:t,value:l,...n.itemProps===!0?typeof o!="object"||o==null||Array.isArray(o)?void 0:"children"in o?Ue(o,["children"])[1]:o:ge(o,n.itemProps)};return{title:String(i.title??""),value:i.value,props:i,children:Array.isArray(r)?Tl(n,r):void 0,raw:o}}function Tl(n,o){const t=[];for(const l of o)t.push(Vt(n,l));return t}function vr(n,o){const t=ge(o,n.itemType,"item"),l=function(s){return typeof s=="string"||typeof s=="number"||typeof s=="boolean"}(o)?o:ge(o,n.itemTitle),r=ge(o,n.itemValue,void 0),i=ge(o,n.itemChildren),c={title:l,value:r,...n.itemProps===!0?Ue(o,["children"])[1]:ge(o,n.itemProps)};return{type:t,title:c.title,value:c.value,props:c,children:t==="item"&&i?Rl(n,i):void 0,raw:o}}function Rl(n,o){const t=[];for(const l of o)t.push(vr(n,l));return t}const fr=j({baseColor:String,activeColor:String,activeClass:String,bgColor:String,disabled:Boolean,lines:{type:[Boolean,String],default:"one"},nav:Boolean,...nr({selectStrategy:"single-leaf",openStrategy:"list"}),...Je(),...J(),...ye(),...Pe(),...Qe(),itemType:{type:String,default:"type"},...$l(),...Ce(),...ue(),...te(),...ke({variant:"text"})},"VList"),mr=U()({name:"VList",props:fr(),emits:{"update:selected":n=>!0,"update:opened":n=>!0,"click:open":n=>!0,"click:select":n=>!0},setup(n,o){let{slots:t}=o;const{items:l}=function(C){return{items:e.computed(()=>Rl(C,C.items))}}(n),{themeClasses:r}=ae(n),{backgroundColorClasses:i,backgroundColorStyles:c}=Ye(e.toRef(n,"bgColor")),{borderClasses:s}=Ze(n),{densityClasses:a}=Ve(n),{dimensionStyles:u}=_e(n),{elevationClasses:f}=en(n),{roundedClasses:v}=Se(n),{open:p,select:d}=tr(n),m=e.computed(()=>n.lines?`v-list--${n.lines}-line`:void 0),g=e.toRef(n,"activeColor"),y=e.toRef(n,"baseColor"),h=e.toRef(n,"color");Al(),Xe({VListGroup:{activeColor:g,baseColor:y,color:h},VListItem:{activeClass:e.toRef(n,"activeClass"),activeColor:g,baseColor:y,color:h,density:e.toRef(n,"density"),disabled:e.toRef(n,"disabled"),lines:e.toRef(n,"lines"),nav:e.toRef(n,"nav"),variant:e.toRef(n,"variant")}});const x=e.shallowRef(!1),V=e.ref();function T(C){x.value=!0}function P(C){x.value=!1}function z(C){var O;x.value||C.relatedTarget&&((O=V.value)!=null&&O.contains(C.relatedTarget))||b()}function w(C){if(V.value){if(C.key==="ArrowDown")b("next");else if(C.key==="ArrowUp")b("prev");else if(C.key==="Home")b("first");else{if(C.key!=="End")return;b("last")}C.preventDefault()}}function b(C){if(V.value)return Rn(V.value,C)}return K(()=>e.createVNode(n.tag,{ref:V,class:["v-list",{"v-list--disabled":n.disabled,"v-list--nav":n.nav},r.value,i.value,s.value,a.value,f.value,m.value,v.value,n.class],style:[c.value,u.value,n.style],tabindex:n.disabled||x.value?-1:0,role:"listbox","aria-activedescendant":void 0,onFocusin:T,onFocusout:P,onFocus:z,onKeydown:w},{default:()=>[e.createVNode(zl,{items:l.value,returnObject:n.returnObject},t)]})),{open:p,select:d,focus:b}}});function it(n,o){return{x:n.x+o.x,y:n.y+o.y}}function No(n,o){if(n.side==="top"||n.side==="bottom"){const{side:t,align:l}=n;return it({x:l==="left"?0:l==="center"?o.width/2:l==="right"?o.width:l,y:t==="top"?0:t==="bottom"?o.height:t},o)}if(n.side==="left"||n.side==="right"){const{side:t,align:l}=n;return it({x:t==="left"?0:t==="right"?o.width:t,y:l==="top"?0:l==="center"?o.height/2:l==="bottom"?o.height:l},o)}return it({x:o.width/2,y:o.height/2},o)}const Dl={static:function(){},connected:function(n,o,t){(function(d){for(;d;){if(window.getComputedStyle(d).position==="fixed")return!0;d=d.offsetParent}return!1})(n.activatorEl.value)&&Object.assign(t.value,{position:"fixed",top:0,[n.isRtl.value?"right":"left"]:0});const{preferredAnchor:l,preferredOrigin:r}=Pt(()=>{const d=mt(o.location,n.isRtl.value),m=o.origin==="overlap"?d:o.origin==="auto"?ot(d):mt(o.origin,n.isRtl.value);return d.side===m.side&&d.align===lt(m).align?{preferredAnchor:no(d),preferredOrigin:no(m)}:{preferredAnchor:d,preferredOrigin:m}}),[i,c,s,a]=["minWidth","minHeight","maxWidth","maxHeight"].map(d=>e.computed(()=>{const m=parseFloat(o[d]);return isNaN(m)?1/0:m})),u=e.computed(()=>{if(Array.isArray(o.offset))return o.offset;if(typeof o.offset=="string"){const d=o.offset.split(" ").map(parseFloat);return d.length<2&&d.push(0),d}return typeof o.offset=="number"?[o.offset,0]:[0,0]});let f=!1;const v=new ResizeObserver(()=>{f&&p()});function p(){if(f=!1,requestAnimationFrame(()=>{requestAnimationFrame(()=>f=!0)}),!n.activatorEl.value||!n.contentEl.value)return;const d=n.activatorEl.value.getBoundingClientRect(),m=function(O,F){F?O.style.removeProperty("left"):O.style.removeProperty("right");const N=_t(O);return F?N.x+=parseFloat(O.style.right||0):N.x-=parseFloat(O.style.left||0),N.y-=parseFloat(O.style.top||0),N}(n.contentEl.value,n.isRtl.value),g=Wn(n.contentEl.value);g.length||(g.push(document.documentElement),n.contentEl.value.style.top&&n.contentEl.value.style.left||(m.x-=parseFloat(document.documentElement.style.getPropertyValue("--v-body-scroll-x")||0),m.y-=parseFloat(document.documentElement.style.getPropertyValue("--v-body-scroll-y")||0)));const y=g.reduce((O,F)=>{const N=F.getBoundingClientRect(),k=new De({x:F===document.documentElement?0:N.x,y:F===document.documentElement?0:N.y,width:F.clientWidth,height:F.clientHeight});return O?new De({x:Math.max(O.left,k.left),y:Math.max(O.top,k.top),width:Math.min(O.right,k.right)-Math.max(O.left,k.left),height:Math.min(O.bottom,k.bottom)-Math.max(O.top,k.top)}):k},void 0);y.x+=12,y.y+=12,y.width-=24,y.height-=24;let h={anchor:l.value,origin:r.value};function x(O){const F=new De(m),N=No(O.anchor,d),k=No(O.origin,F);let{x:L,y:W}=(A=k,{x:(I=N).x-A.x,y:I.y-A.y});var I,A;switch(O.anchor.side){case"top":W-=u.value[0];break;case"bottom":W+=u.value[0];break;case"left":L-=u.value[0];break;case"right":L+=u.value[0]}switch(O.anchor.align){case"top":W-=u.value[1];break;case"bottom":W+=u.value[1];break;case"left":L-=u.value[1];break;case"right":L+=u.value[1]}return F.x+=L,F.y+=W,F.width=Math.min(F.width,s.value),F.height=Math.min(F.height,a.value),{overflows:oo(F,y),x:L,y:W}}let V=0,T=0;const P={x:0,y:0},z={x:!1,y:!1};let w=-1;for(;;){if(w++>10){b="Infinite loop detected in connectedLocationStrategy",e.warn(`Vuetify error: ${b}`);break}const{x:O,y:F,overflows:N}=x(h);V+=O,T+=F,m.x+=O,m.y+=F;{const k=to(h.anchor),L=N.x.before||N.x.after,W=N.y.before||N.y.after;let I=!1;if(["x","y"].forEach(A=>{if(A==="x"&&L&&!z.x||A==="y"&&W&&!z.y){const E={anchor:{...h.anchor},origin:{...h.origin}},M=A==="x"?k==="y"?lt:ot:k==="y"?ot:lt;E.anchor=M(E.anchor),E.origin=M(E.origin);const{overflows:D}=x(E);(D[A].before<=N[A].before&&D[A].after<=N[A].after||D[A].before+D[A].after<(N[A].before+N[A].after)/2)&&(h=E,I=z[A]=!0)}}),I)continue}N.x.before&&(V+=N.x.before,m.x+=N.x.before),N.x.after&&(V-=N.x.after,m.x-=N.x.after),N.y.before&&(T+=N.y.before,m.y+=N.y.before),N.y.after&&(T-=N.y.after,m.y-=N.y.after);{const k=oo(m,y);P.x=y.width-k.x.before-k.x.after,P.y=y.height-k.y.before-k.y.after,V+=k.x.before,m.x+=k.x.before,T+=k.y.before,m.y+=k.y.before}break}var b;const C=to(h.anchor);return Object.assign(t.value,{"--v-overlay-anchor-origin":`${h.anchor.side} ${h.anchor.align}`,transformOrigin:`${h.origin.side} ${h.origin.align}`,top:Y(st(T)),left:n.isRtl.value?void 0:Y(st(V)),right:n.isRtl.value?Y(st(-V)):void 0,minWidth:Y(C==="y"?Math.min(i.value,d.width):i.value),maxWidth:Y(Ao(un(P.x,i.value===1/0?0:i.value,s.value))),maxHeight:Y(Ao(un(P.y,c.value===1/0?0:c.value,a.value)))}),{available:P,contentBox:m}}return e.watch([n.activatorEl,n.contentEl],(d,m)=>{let[g,y]=d,[h,x]=m;h&&v.unobserve(h),g&&v.observe(g),x&&v.unobserve(x),y&&v.observe(y)},{immediate:!0}),e.onScopeDispose(()=>{v.disconnect()}),e.watch(()=>[l.value,r.value,o.offset,o.minWidth,o.minHeight,o.maxWidth,o.maxHeight],()=>p()),e.nextTick(()=>{const d=p();if(!d)return;const{available:m,contentBox:g}=d;g.height>m.y&&requestAnimationFrame(()=>{p(),requestAnimationFrame(()=>{p()})})}),{updateLocation:p}}},yr=j({locationStrategy:{type:[String,Function],default:"static",validator:n=>typeof n=="function"||n in Dl},location:{type:String,default:"bottom"},origin:{type:String,default:"auto"},offset:[Number,String,Array]},"VOverlay-location-strategies");function st(n){return Math.round(n*devicePixelRatio)/devicePixelRatio}function Ao(n){return Math.ceil(n*devicePixelRatio)/devicePixelRatio}let It=!0;const Un=[];let Po=-1;function Bt(){cancelAnimationFrame(Po),Po=requestAnimationFrame(()=>{const n=Un.shift();n&&n(),Un.length?Bt():It=!0})}const $n={none:null,close:function(n){_o(n.activatorEl.value??n.contentEl.value,function(o){n.isActive.value=!1})},block:function(n,o){var s;const t=(s=n.root.value)==null?void 0:s.offsetParent,l=[...new Set([...Wn(n.activatorEl.value,o.contained?t:void 0),...Wn(n.contentEl.value,o.contained?t:void 0)])].filter(a=>!a.classList.contains("v-overlay-scroll-blocked")),r=window.innerWidth-document.documentElement.offsetWidth,i=(c=t||document.documentElement,Ot(c)&&c);var c;i&&n.root.value.classList.add("v-overlay--scroll-blocked"),l.forEach((a,u)=>{a.style.setProperty("--v-body-scroll-x",Y(-a.scrollLeft)),a.style.setProperty("--v-body-scroll-y",Y(-a.scrollTop)),a!==document.documentElement&&a.style.setProperty("--v-scrollbar-offset",Y(r)),a.classList.add("v-overlay-scroll-blocked")}),e.onScopeDispose(()=>{l.forEach((a,u)=>{const f=parseFloat(a.style.getPropertyValue("--v-body-scroll-x")),v=parseFloat(a.style.getPropertyValue("--v-body-scroll-y"));a.style.removeProperty("--v-body-scroll-x"),a.style.removeProperty("--v-body-scroll-y"),a.style.removeProperty("--v-scrollbar-offset"),a.classList.remove("v-overlay-scroll-blocked"),a.scrollLeft=-f,a.scrollTop=-v}),i&&n.root.value.classList.remove("v-overlay--scroll-blocked")})},reposition:function(n,o,t){let l=!1,r=-1,i=-1;function c(s){var a;a=()=>{var v,p;const u=performance.now();(p=(v=n.updateLocation).value)==null||p.call(v,s),l=(performance.now()-u)/(1e3/60)>2},!It||Un.length?(Un.push(a),Bt()):(It=!1,a(),Bt())}i=(typeof requestIdleCallback>"u"?s=>s():requestIdleCallback)(()=>{t.run(()=>{_o(n.activatorEl.value??n.contentEl.value,s=>{l?(cancelAnimationFrame(r),r=requestAnimationFrame(()=>{r=requestAnimationFrame(()=>{c(s)})})):c(s)})})}),e.onScopeDispose(()=>{typeof cancelIdleCallback<"u"&&cancelIdleCallback(i),cancelAnimationFrame(r)})}},gr=j({scrollStrategy:{type:[String,Function],default:"block",validator:n=>typeof n=="function"||n in $n}},"VOverlay-scroll-strategies");function _o(n,o){const t=[document,...Wn(n)];t.forEach(l=>{l.addEventListener("scroll",o,{passive:!0})}),e.onScopeDispose(()=>{t.forEach(l=>{l.removeEventListener("scroll",o)})})}const wt=Symbol.for("vuetify:v-menu"),hr=j({closeDelay:[Number,String],openDelay:[Number,String]},"delay"),br=j({activator:[String,Object],activatorProps:{type:Object,default:()=>({})},openOnClick:{type:Boolean,default:void 0},openOnHover:Boolean,openOnFocus:{type:Boolean,default:void 0},closeOnContentClick:Boolean,...hr()},"VOverlay-activator");function Cr(n,o){let{isActive:t,isTop:l}=o;const r=e.ref();let i=!1,c=!1,s=!0;const a=e.computed(()=>n.openOnFocus||n.openOnFocus==null&&n.openOnHover),u=e.computed(()=>n.openOnClick||n.openOnClick==null&&!n.openOnHover&&!a.value),{runOpenDelay:f,runCloseDelay:v}=function(w,b){const C={},O=F=>()=>{if(!ce)return Promise.resolve(!0);const N=F==="openDelay";return C.closeDelay&&window.clearTimeout(C.closeDelay),delete C.closeDelay,C.openDelay&&window.clearTimeout(C.openDelay),delete C.openDelay,new Promise(k=>{const L=parseInt(w[F]??0,10);C[F]=window.setTimeout(()=>{b==null||b(N),k(N)},L)})};return{runCloseDelay:O("closeDelay"),runOpenDelay:O("openDelay")}}(n,w=>{w!==(n.openOnHover&&i||a.value&&c)||n.openOnHover&&t.value&&!l.value||(t.value!==w&&(s=!0),t.value=w)}),p=w=>{w.stopPropagation(),r.value=w.currentTarget||w.target,t.value=!t.value},d=w=>{var b;(b=w.sourceCapabilities)!=null&&b.firesTouchEvents||(i=!0,r.value=w.currentTarget||w.target,f())},m=w=>{i=!1,v()},g=w=>{Dn(w.target,":focus-visible")!==!1&&(c=!0,w.stopPropagation(),r.value=w.currentTarget||w.target,f())},y=w=>{c=!1,w.stopPropagation(),v()},h=e.computed(()=>{const w={};return u.value&&(w.onClick=p),n.openOnHover&&(w.onMouseenter=d,w.onMouseleave=m),a.value&&(w.onFocus=g,w.onBlur=y),w}),x=e.computed(()=>{const w={};if(n.openOnHover&&(w.onMouseenter=()=>{i=!0,f()},w.onMouseleave=()=>{i=!1,v()}),a.value&&(w.onFocusin=()=>{c=!0,f()},w.onFocusout=()=>{c=!1,v()}),n.closeOnContentClick){const b=e.inject(wt,null);w.onClick=()=>{t.value=!1,b==null||b.closeParents()}}return w}),V=e.computed(()=>{const w={};return n.openOnHover&&(w.onMouseenter=()=>{s&&(i=!0,s=!1,f())},w.onMouseleave=()=>{i=!1,v()}),w});e.watch(l,w=>{!w||(!n.openOnHover||i||a.value&&c)&&(!a.value||c||n.openOnHover&&i)||(t.value=!1)});const T=e.ref();e.watchEffect(()=>{T.value&&e.nextTick(()=>{r.value=pt(T.value)})});const P=le("useActivator");let z;return e.watch(()=>!!n.activator,w=>{w&&ce?(z=e.effectScope(),z.run(()=>{(function(b,C,O){let{activatorEl:F,activatorEvents:N}=O;function k(){let I=arguments.length>0&&arguments[0]!==void 0?arguments[0]:W(),A=arguments.length>1&&arguments[1]!==void 0?arguments[1]:b.activatorProps;I&&function(E,M){Object.keys(M).forEach(D=>{if(vt(D)){const _=Zt(D),S=An.get(E);if(M[D]==null)S==null||S.forEach(R=>{const[B,$]=R;B===_&&(E.removeEventListener(_,$),S.delete(R))});else if(!S||![...S].some(R=>R[0]===_&&R[1]===M[D])){E.addEventListener(_,M[D]);const R=S||new Set;R.add([_,M[D]]),An.has(E)||An.set(E,R)}}else M[D]==null?E.removeAttribute(D):E.setAttribute(D,M[D])})}(I,e.mergeProps(N.value,A))}function L(){let I=arguments.length>0&&arguments[0]!==void 0?arguments[0]:W(),A=arguments.length>1&&arguments[1]!==void 0?arguments[1]:b.activatorProps;I&&function(E,M){Object.keys(M).forEach(D=>{if(vt(D)){const _=Zt(D),S=An.get(E);S==null||S.forEach(R=>{const[B,$]=R;B===_&&(E.removeEventListener(_,$),S.delete(R))})}else E.removeAttribute(D)})}(I,e.mergeProps(N.value,A))}function W(){var E,M;let I,A=arguments.length>0&&arguments[0]!==void 0?arguments[0]:b.activator;if(A)if(A==="parent"){let D=(M=(E=C==null?void 0:C.proxy)==null?void 0:E.$el)==null?void 0:M.parentNode;for(;D!=null&&D.hasAttribute("data-no-activator");)D=D.parentNode;I=D}else I=typeof A=="string"?document.querySelector(A):"$el"in A?A.$el:A;return F.value=(I==null?void 0:I.nodeType)===Node.ELEMENT_NODE?I:null,F.value}e.watch(()=>b.activator,(I,A)=>{if(A&&I!==A){const E=W(A);E&&L(E)}I&&e.nextTick(()=>k())},{immediate:!0}),e.watch(()=>b.activatorProps,()=>{k()}),e.onScopeDispose(()=>{L()})})(n,P,{activatorEl:r,activatorEvents:h})})):z&&z.stop()},{flush:"post",immediate:!0}),e.onScopeDispose(()=>{z==null||z.stop()}),{activatorEl:r,activatorRef:T,activatorEvents:h,contentEvents:x,scrimEvents:V}}const Sr=Symbol.for("vuetify:display");function Ll(){const n=e.inject(Sr);if(!n)throw new Error("Could not find Vuetify display injection");return n}const Vr=j({eager:Boolean},"lazy");function Ml(){const n=le("useScopeId").vnode.scopeId;return{scopeId:n?{[n]:""}:void 0}}const Eo=Symbol.for("vuetify:stack"),ln=e.reactive([]);function Ir(){return!0}function Oo(n,o,t){if(!n||Wl(n,t)===!1)return!1;const l=Yo(o);if(typeof ShadowRoot<"u"&&l instanceof ShadowRoot&&l.host===n.target)return!1;const r=(typeof t.value=="object"&&t.value.include||(()=>[]))();return r.push(o),!r.some(i=>i==null?void 0:i.contains(n.target))}function Wl(n,o){return(typeof o.value=="object"&&o.value.closeConditional||Ir)(n)}function zo(n,o){const t=Yo(n);o(document),typeof ShadowRoot<"u"&&t instanceof ShadowRoot&&o(t)}const Br={mounted(n,o){const t=r=>function(i,c,s){const a=typeof s.value=="function"?s.value:s.value.handler;c._clickOutside.lastMousedownWasOutside&&Oo(i,c,s)&&setTimeout(()=>{Wl(i,s)&&a&&a(i)},0)}(r,n,o),l=r=>{n._clickOutside.lastMousedownWasOutside=Oo(r,n,o)};zo(n,r=>{r.addEventListener("click",t,!0),r.addEventListener("mousedown",l,!0)}),n._clickOutside||(n._clickOutside={lastMousedownWasOutside:!1}),n._clickOutside[o.instance.$.uid]={onClick:t,onMousedown:l}},unmounted(n,o){n._clickOutside&&(zo(n,t=>{var i;if(!t||!((i=n._clickOutside)!=null&&i[o.instance.$.uid]))return;const{onClick:l,onMousedown:r}=n._clickOutside[o.instance.$.uid];t.removeEventListener("click",l,!0),t.removeEventListener("mousedown",r,!0)}),delete n._clickOutside[o.instance.$.uid])}};function wr(n){const{modelValue:o,color:t,...l}=n;return e.createVNode(e.Transition,{name:"fade-transition",appear:!0},{default:()=>[n.modelValue&&e.createVNode("div",e.mergeProps({class:["v-overlay__scrim",n.color.backgroundColorClasses.value],style:n.color.backgroundColorStyles.value},l),null)]})}const jl=j({absolute:Boolean,attach:[Boolean,String,Object],closeOnBack:{type:Boolean,default:!0},contained:Boolean,contentClass:null,contentProps:null,disabled:Boolean,noClickAnimation:Boolean,modelValue:Boolean,persistent:Boolean,scrim:{type:[Boolean,String],default:!0},zIndex:{type:[Number,String],default:2e3},...br(),...J(),...Pe(),...Vr(),...yr(),...gr(),...te(),...Vn()},"VOverlay"),$o=U()({name:"VOverlay",directives:{ClickOutside:Br},inheritAttrs:!1,props:{_disableGlobalStack:Boolean,...jl()},emits:{"click:outside":n=>!0,"update:modelValue":n=>!0,afterLeave:()=>!0},setup(n,o){var D,_;let{slots:t,attrs:l,emit:r}=o;const i=ne(n,"modelValue"),c=e.computed({get:()=>i.value,set:S=>{S&&n.disabled||(i.value=S)}}),{teleportTarget:s}=(a=e.computed(()=>n.attach||n.contained),{teleportTarget:e.computed(()=>{const S=a.value;if(S===!0||!ce)return;const R=S===!1?document.body:typeof S=="string"?document.querySelector(S):S;if(R==null)return void e.warn(`Unable to locate target ${S}`);let B=R.querySelector(":scope > .v-overlay-container");return B||(B=document.createElement("div"),B.className="v-overlay-container",R.appendChild(B)),B})});var a;const{themeClasses:u}=ae(n),{rtlClasses:f,isRtl:v}=Sn(),{hasContent:p,onAfterLeave:d}=function(S,R){const B=e.shallowRef(!1),$=e.computed(()=>B.value||S.eager||R.value);return e.watch(R,()=>B.value=!0),{isBooted:B,hasContent:$,onAfterLeave:function(){S.eager||(B.value=!1)}}}(n,c),m=Ye(e.computed(()=>typeof n.scrim=="string"?n.scrim:null)),{globalTop:g,localTop:y,stackStyles:h}=function(S,R,B){const $=le("useStack"),G=!B,H=e.inject(Eo,void 0),q=e.reactive({activeChildren:new Set});e.provide(Eo,q);const Z=e.shallowRef(+R.value);Fe(S,()=>{var tn;const fe=(tn=ln.at(-1))==null?void 0:tn[1];Z.value=fe?fe+10:+R.value,G&&ln.push([$.uid,Z.value]),H==null||H.activeChildren.add($.uid),e.onScopeDispose(()=>{if(G){const Xl=e.toRaw(ln).findIndex(Jl=>Jl[0]===$.uid);ln.splice(Xl,1)}H==null||H.activeChildren.delete($.uid)})});const re=e.shallowRef(!0);G&&e.watchEffect(()=>{var tn;const fe=((tn=ln.at(-1))==null?void 0:tn[0])===$.uid;setTimeout(()=>re.value=fe)});const nn=e.computed(()=>!q.activeChildren.size);return{globalTop:e.readonly(re),localTop:nn,stackStyles:e.computed(()=>({zIndex:Z.value}))}}(c,e.toRef(n,"zIndex"),n._disableGlobalStack),{activatorEl:x,activatorRef:V,activatorEvents:T,contentEvents:P,scrimEvents:z}=Cr(n,{isActive:c,isTop:y}),{dimensionStyles:w}=_e(n),b=function(){if(!ce)return e.shallowRef(!1);const{ssr:S}=Ll();if(S){const R=e.shallowRef(!1);return e.onMounted(()=>{R.value=!0}),R}return e.shallowRef(!0)}(),{scopeId:C}=Ml();e.watch(()=>n.disabled,S=>{S&&(c.value=!1)});const O=e.ref(),F=e.ref(),{contentStyles:N,updateLocation:k}=function(S,R){const B=e.ref({}),$=e.ref();function G(H){var q;(q=$.value)==null||q.call($,H)}return ce&&(Fe(()=>!(!R.isActive.value||!S.locationStrategy),H=>{var q,Z;e.watch(()=>S.locationStrategy,H),e.onScopeDispose(()=>{$.value=void 0}),typeof S.locationStrategy=="function"?$.value=(q=S.locationStrategy(R,S,B))==null?void 0:q.updateLocation:$.value=(Z=Dl[S.locationStrategy](R,S,B))==null?void 0:Z.updateLocation}),window.addEventListener("resize",G,{passive:!0}),e.onScopeDispose(()=>{window.removeEventListener("resize",G),$.value=void 0})),{contentStyles:B,updateLocation:$}}(n,{isRtl:v,contentEl:F,activatorEl:x,isActive:c});function L(S){r("click:outside",S),n.persistent?M():c.value=!1}function W(){return c.value&&g.value}function I(S){var R,B;S.key==="Escape"&&g.value&&(n.persistent?M():(c.value=!1,(R=F.value)!=null&&R.contains(document.activeElement)&&((B=x.value)==null||B.focus())))}(function(S,R){if(!ce)return;let B;e.watchEffect(async()=>{B==null||B.stop(),R.isActive.value&&S.scrollStrategy&&(B=e.effectScope(),await e.nextTick(),B.active&&B.run(()=>{var $;typeof S.scrollStrategy=="function"?S.scrollStrategy(R,S,B):($=$n[S.scrollStrategy])==null||$.call($n,R,S,B)}))}),e.onScopeDispose(()=>{B==null||B.stop()})})(n,{root:O,contentEl:F,activatorEl:x,isActive:c,updateLocation:k}),ce&&e.watch(c,S=>{S?window.addEventListener("keydown",I):window.removeEventListener("keydown",I)},{immediate:!0});const A=(_=(D=le("useRouter"))==null?void 0:D.proxy)==null?void 0:_.$router;Fe(()=>n.closeOnBack,()=>{(function(S,R){let B,$,G=!1;function H(q){var Z;(Z=q.state)!=null&&Z.replaced||(G=!0,setTimeout(()=>G=!1))}ce&&(e.nextTick(()=>{window.addEventListener("popstate",H),B=S==null?void 0:S.beforeEach((q,Z,re)=>{rt?G?R(re):re():setTimeout(()=>G?R(re):re()),rt=!0}),$=S==null?void 0:S.afterEach(()=>{rt=!1})}),e.onScopeDispose(()=>{window.removeEventListener("popstate",H),B==null||B(),$==null||$()}))})(A,S=>{g.value&&c.value?(S(!1),n.persistent?M():c.value=!1):S()})});const E=e.ref();function M(){n.noClickAnimation||F.value&&$e(F.value,[{transformOrigin:"center"},{transform:"scale(1.03)"},{transformOrigin:"center"}],{duration:150,easing:Mn})}return e.watch(()=>c.value&&(n.absolute||n.contained)&&s.value==null,S=>{if(S){const R=Xo(O.value);R&&R!==document.scrollingElement&&(E.value=R.scrollTop)}}),K(()=>{var S;return e.createVNode(e.Fragment,null,[(S=t.activator)==null?void 0:S.call(t,{isActive:c.value,props:e.mergeProps({ref:V},T.value,n.activatorProps)}),b.value&&p.value&&e.createVNode(e.Teleport,{disabled:!s.value,to:s.value},{default:()=>[e.createVNode("div",e.mergeProps({class:["v-overlay",{"v-overlay--absolute":n.absolute||n.contained,"v-overlay--active":c.value,"v-overlay--contained":n.contained},u.value,f.value,n.class],style:[h.value,{top:Y(E.value)},n.style],ref:O},C,l),[e.createVNode(wr,e.mergeProps({color:m,modelValue:c.value&&!!n.scrim},z.value),null),e.createVNode(Ie,{appear:!0,persisted:!0,transition:n.transition,target:x.value,onAfterLeave:()=>{d(),r("afterLeave")}},{default:()=>{var R;return[e.withDirectives(e.createVNode("div",e.mergeProps({ref:F,class:["v-overlay__content",n.contentClass],style:[w.value,N.value]},P.value,n.contentProps),[(R=t.default)==null?void 0:R.call(t,{isActive:c})]),[[e.vShow,c.value],[e.resolveDirective("click-outside"),{handler:L,closeConditional:W,include:()=>[x.value]}]])]}})])]})])}),{activatorEl:x,animateClick:M,contentEl:F,globalTop:g,localTop:y,updateLocation:k}}}),ut=Symbol("Forwarded refs");function ct(n,o){let t=n;for(;t;){const l=Reflect.getOwnPropertyDescriptor(t,o);if(l)return l;t=Object.getPrototypeOf(t)}}function nt(n){for(var o=arguments.length,t=new Array(o>1?o-1:0),l=1;l!0},setup(n,o){let{slots:t}=o;const l=ne(n,"modelValue"),{scopeId:r}=Ml(),i=pe(),c=e.computed(()=>n.id||`v-menu-${i}`),s=e.ref(),a=e.inject(wt,null),u=e.shallowRef(0);async function f(g){var x,V,T;const y=g.relatedTarget,h=g.target;await e.nextTick(),l.value&&y!==h&&((x=s.value)!=null&&x.contentEl)&&((V=s.value)!=null&&V.globalTop)&&![document,s.value.contentEl].includes(h)&&!s.value.contentEl.contains(h)&&((T=ft(s.value.contentEl)[0])==null||T.focus())}function v(){a==null||a.closeParents()}function p(g){var y,h,x;!n.disabled&&g.key==="Tab"&&(Go(ft((y=s.value)==null?void 0:y.contentEl,!1),g.shiftKey?"prev":"next",V=>V.tabIndex>=0)||(l.value=!1,(x=(h=s.value)==null?void 0:h.activatorEl)==null||x.focus()))}function d(g){var h;if(n.disabled)return;const y=(h=s.value)==null?void 0:h.contentEl;y&&l.value?g.key==="ArrowDown"?(g.preventDefault(),Rn(y,"next")):g.key==="ArrowUp"&&(g.preventDefault(),Rn(y,"prev")):["ArrowDown","ArrowUp"].includes(g.key)&&(l.value=!0,g.preventDefault(),setTimeout(()=>setTimeout(()=>d(g))))}e.provide(wt,{register(){++u.value},unregister(){--u.value},closeParents(){setTimeout(()=>{u.value||(l.value=!1,a==null||a.closeParents())},40)}}),e.watch(l,g=>{g?(a==null||a.register(),document.addEventListener("focusin",f,{once:!0})):(a==null||a.unregister(),document.removeEventListener("focusin",f))});const m=e.computed(()=>e.mergeProps({"aria-haspopup":"menu","aria-expanded":String(l.value),"aria-owns":c.value,onKeydown:d},n.activatorProps));return K(()=>{const[g]=$o.filterProps(n);return e.createVNode($o,e.mergeProps({ref:s,class:["v-menu",n.class],style:n.style},g,{modelValue:l.value,"onUpdate:modelValue":y=>l.value=y,absolute:!0,activatorProps:m.value,"onClick:outside":v,onKeydown:p},r),{activator:t.activator,default:function(){for(var y=arguments.length,h=new Array(y),x=0;x{var V;return[(V=t.default)==null?void 0:V.call(t,...h)]}})}})}),nt({id:c,ΨopenChildren:u},s)}}),Fr=j({active:Boolean,max:[Number,String],value:{type:[Number,String],default:0},...J(),...Vn({transition:{component:nl}})},"VCounter"),Gl=U()({name:"VCounter",functional:!0,props:Fr(),setup(n,o){let{slots:t}=o;const l=e.computed(()=>n.max?`${n.value} / ${n.max}`:String(n.value));return K(()=>e.createVNode(Ie,{transition:n.transition},{default:()=>[e.withDirectives(e.createVNode("div",{class:["v-counter",n.class],style:n.style},[t.default?t.default({counter:l.value,max:n.max,value:n.value}):l.value]),[[e.vShow,n.active]])]})),{}}}),Nr=j({floating:Boolean,...J()},"VFieldLabel"),En=U()({name:"VFieldLabel",props:Nr(),setup(n,o){let{slots:t}=o;return K(()=>e.createVNode(Vl,{class:["v-field-label",{"v-field-label--floating":n.floating},n.class],style:n.style,"aria-hidden":n.floating||void 0},t)),{}}}),Ar=["underlined","outlined","filled","solo","solo-inverted","solo-filled","plain"],Gt=j({appendInnerIcon:Q,bgColor:String,clearable:Boolean,clearIcon:{type:Q,default:"$clear"},active:Boolean,centerAffix:{type:Boolean,default:void 0},color:String,baseColor:String,dirty:Boolean,disabled:{type:Boolean,default:null},error:Boolean,flat:Boolean,label:String,persistentClear:Boolean,prependInnerIcon:Q,reverse:Boolean,singleLine:Boolean,variant:{type:String,default:"filled",validator:n=>Ar.includes(n)},"onClick:clear":me(),"onClick:appendInner":me(),"onClick:prependInner":me(),...J(),...Mt(),...Ce(),...te()},"VField"),qt=U()({name:"VField",inheritAttrs:!1,props:{id:String,...xl(),...Gt()},emits:{"update:focused":n=>!0,"update:modelValue":n=>!0},setup(n,o){let{attrs:t,emit:l,slots:r}=o;const{themeClasses:i}=ae(n),{loaderClasses:c}=Zn(n),{focusClasses:s,isFocused:a,focus:u,blur:f}=Fn(n),{InputIcon:v}=kl(n),{roundedClasses:p}=Se(n),{rtlClasses:d}=Sn(),m=e.computed(()=>n.dirty||n.active),g=e.computed(()=>!(n.singleLine||!n.label&&!r.label)),y=pe(),h=e.computed(()=>n.id||`input-${y}`),x=e.computed(()=>`${h.value}-messages`),V=e.ref(),T=e.ref(),P=e.ref(),z=e.computed(()=>["plain","underlined"].includes(n.variant)),{backgroundColorClasses:w,backgroundColorStyles:b}=Ye(e.toRef(n,"bgColor")),{textColorClasses:C,textColorStyles:O}=he(e.computed(()=>n.error||n.disabled?void 0:m.value&&a.value?n.color:n.baseColor));e.watch(m,k=>{if(g.value){const L=V.value.$el,W=T.value.$el;requestAnimationFrame(()=>{const I=_t(L),A=W.getBoundingClientRect(),E=A.x-I.x,M=A.y-I.y-(I.height/2-A.height/2),D=A.width/.75,_=Math.abs(D-I.width)>1?{maxWidth:Y(D)}:void 0,S=getComputedStyle(L),R=getComputedStyle(W),B=1e3*parseFloat(S.transitionDuration)||150,$=parseFloat(R.getPropertyValue("--v-field-label-scale")),G=R.getPropertyValue("color");L.style.visibility="visible",W.style.visibility="hidden",$e(L,{transform:`translate(${E}px, ${M}px) scale(${$})`,color:G,..._},{duration:B,easing:Mn,direction:k?"normal":"reverse"}).finished.then(()=>{L.style.removeProperty("visibility"),W.style.removeProperty("visibility")})})}},{flush:"post"});const F=e.computed(()=>({isActive:m,isFocused:a,controlRef:P,blur:f,focus:u}));function N(k){k.target!==document.activeElement&&k.preventDefault()}return K(()=>{var E,M,D;const k=n.variant==="outlined",L=r["prepend-inner"]||n.prependInnerIcon,W=!(!n.clearable&&!r.clear),I=!!(r["append-inner"]||n.appendInnerIcon||W),A=r.label?r.label({...F.value,label:n.label,props:{for:h.value}}):n.label;return e.createVNode("div",e.mergeProps({class:["v-field",{"v-field--active":m.value,"v-field--appended":I,"v-field--center-affix":n.centerAffix??!z.value,"v-field--disabled":n.disabled,"v-field--dirty":n.dirty,"v-field--error":n.error,"v-field--flat":n.flat,"v-field--has-background":!!n.bgColor,"v-field--persistent-clear":n.persistentClear,"v-field--prepended":L,"v-field--reverse":n.reverse,"v-field--single-line":n.singleLine,"v-field--no-label":!A,[`v-field--variant-${n.variant}`]:!0},i.value,w.value,s.value,c.value,p.value,d.value,n.class],style:[b.value,n.style],onClick:N},t),[e.createVNode("div",{class:"v-field__overlay"},null),e.createVNode(Wt,{name:"v-field",active:!!n.loading,color:n.error?"error":typeof n.loading=="string"?n.loading:n.color},{default:r.loader}),L&&e.createVNode("div",{key:"prepend",class:"v-field__prepend-inner"},[n.prependInnerIcon&&e.createVNode(v,{key:"prepend-icon",name:"prependInner"},null),(E=r["prepend-inner"])==null?void 0:E.call(r,F.value)]),e.createVNode("div",{class:"v-field__field","data-no-activator":""},[["filled","solo","solo-inverted","solo-filled"].includes(n.variant)&&g.value&&e.createVNode(En,{key:"floating-label",ref:T,class:[C.value],floating:!0,for:h.value,style:O.value},{default:()=>[A]}),e.createVNode(En,{ref:V,for:h.value},{default:()=>[A]}),(M=r.default)==null?void 0:M.call(r,{...F.value,props:{id:h.value,class:"v-field__input","aria-describedby":x.value},focus:u,blur:f})]),W&&e.createVNode(tl,{key:"clear"},{default:()=>[e.withDirectives(e.createVNode("div",{class:"v-field__clearable",onMousedown:_=>{_.preventDefault(),_.stopPropagation()}},[r.clear?r.clear():e.createVNode(v,{name:"clear"},null)]),[[e.vShow,n.dirty]])]}),I&&e.createVNode("div",{key:"append",class:"v-field__append-inner"},[(D=r["append-inner"])==null?void 0:D.call(r,F.value),n.appendInnerIcon&&e.createVNode(v,{key:"append-icon",name:"appendInner"},null)]),e.createVNode("div",{class:["v-field__outline",C.value],style:O.value},[k&&e.createVNode(e.Fragment,null,[e.createVNode("div",{class:"v-field__outline__start"},null),g.value&&e.createVNode("div",{class:"v-field__outline__notch"},[e.createVNode(En,{ref:T,floating:!0,for:h.value},{default:()=>[A]})]),e.createVNode("div",{class:"v-field__outline__end"},null)]),z.value&&g.value&&e.createVNode(En,{ref:T,floating:!0,for:h.value},{default:()=>[A]})])])}),{controlRef:P}}});function ql(n){return Ue(n,Object.keys(qt.props).filter(o=>!vt(o)&&o!=="class"&&o!=="style"))}const Pr=["color","file","time","date","datetime-local","week","month"],Hl=j({autofocus:Boolean,counter:[Boolean,Number,String],counterValue:[Number,Function],prefix:String,placeholder:String,persistentPlaceholder:Boolean,persistentCounter:Boolean,suffix:String,role:String,type:{type:String,default:"text"},modelModifiers:Object,...Nn(),...Gt()},"VTextField"),kt=U()({name:"VTextField",directives:{Intersect:Tt},inheritAttrs:!1,props:Hl(),emits:{"click:control":n=>!0,"mousedown:control":n=>!0,"update:focused":n=>!0,"update:modelValue":n=>!0},setup(n,o){let{attrs:t,emit:l,slots:r}=o;const i=ne(n,"modelValue"),{isFocused:c,focus:s,blur:a}=Fn(n),u=e.computed(()=>typeof n.counterValue=="function"?n.counterValue(i.value):typeof n.counterValue=="number"?n.counterValue:(i.value??"").toString().length),f=e.computed(()=>t.maxlength?t.maxlength:!n.counter||typeof n.counter!="number"&&typeof n.counter!="string"?void 0:n.counter),v=e.computed(()=>["plain","underlined"].includes(n.variant));function p(z,w){var b,C;n.autofocus&&z&&((C=(b=w[0].target)==null?void 0:b.focus)==null||C.call(b))}const d=e.ref(),m=e.ref(),g=e.ref(),y=e.computed(()=>Pr.includes(n.type)||n.persistentPlaceholder||c.value||n.active);function h(){var z;g.value!==document.activeElement&&((z=g.value)==null||z.focus()),c.value||s()}function x(z){l("mousedown:control",z),z.target!==g.value&&(h(),z.preventDefault())}function V(z){h(),l("click:control",z)}function T(z){z.stopPropagation(),h(),e.nextTick(()=>{i.value=null,jo(n["onClick:clear"],z)})}function P(z){var b;const w=z.target;if(i.value=w.value,((b=n.modelModifiers)==null?void 0:b.trim)&&["text","search","password","tel","url"].includes(n.type)){const C=[w.selectionStart,w.selectionEnd];e.nextTick(()=>{w.selectionStart=C[0],w.selectionEnd=C[1]})}}return K(()=>{const z=!!(r.counter||n.counter!==!1&&n.counter!=null),w=!(!z&&!r.details),[b,C]=bn(t),[{modelValue:O,...F}]=we.filterProps(n),[N]=ql(n);return e.createVNode(we,e.mergeProps({ref:d,modelValue:i.value,"onUpdate:modelValue":k=>i.value=k,class:["v-text-field",{"v-text-field--prefixed":n.prefix,"v-text-field--suffixed":n.suffix,"v-text-field--plain-underlined":["plain","underlined"].includes(n.variant)},n.class],style:n.style},b,F,{centerAffix:!v.value,focused:c.value}),{...r,default:k=>{let{id:L,isDisabled:W,isDirty:I,isReadonly:A,isValid:E}=k;return e.createVNode(qt,e.mergeProps({ref:m,onMousedown:x,onClick:V,"onClick:clear":T,"onClick:prependInner":n["onClick:prependInner"],"onClick:appendInner":n["onClick:appendInner"],role:n.role},N,{id:L.value,active:y.value||I.value,dirty:I.value||n.dirty,disabled:W.value,focused:c.value,error:E.value===!1}),{...r,default:M=>{let{props:{class:D,..._}}=M;const S=e.withDirectives(e.createVNode("input",e.mergeProps({ref:g,value:i.value,onInput:P,autofocus:n.autofocus,readonly:A.value,disabled:W.value,name:n.name,placeholder:n.placeholder,size:1,type:n.type,onFocus:h,onBlur:a},_,C),null),[[e.resolveDirective("intersect"),{handler:p},null,{once:!0}]]);return e.createVNode(e.Fragment,null,[n.prefix&&e.createVNode("span",{class:"v-text-field__prefix"},[e.createVNode("span",{class:"v-text-field__prefix__text"},[n.prefix])]),r.default?e.createVNode("div",{class:D,"data-no-activator":""},[r.default(),S]):e.cloneVNode(S,{class:D}),n.suffix&&e.createVNode("span",{class:"v-text-field__suffix"},[e.createVNode("span",{class:"v-text-field__suffix__text"},[n.suffix])])])}})},details:w?k=>{var L;return e.createVNode(e.Fragment,null,[(L=r.details)==null?void 0:L.call(r,k),z&&e.createVNode(e.Fragment,null,[e.createVNode("span",null,null),e.createVNode(Gl,{active:n.persistentCounter||c.value,value:u.value,max:f.value},r.counter)])])}:void 0})}),nt({},d,m,g)}}),_r=j({renderless:Boolean,...J()},"VVirtualScrollItem"),Er=U()({name:"VVirtualScrollItem",inheritAttrs:!1,props:_r(),emits:{"update:height":n=>!0},setup(n,o){let{attrs:t,emit:l,slots:r}=o;const{resizeRef:i,contentRect:c}=zt(void 0,"border");e.watch(()=>{var s;return(s=c.value)==null?void 0:s.height},s=>{s!=null&&l("update:height",s)}),K(()=>{var s,a;return n.renderless?e.createVNode(e.Fragment,null,[(s=r.default)==null?void 0:s.call(r,{itemRef:i})]):e.createVNode("div",e.mergeProps({ref:i,class:["v-virtual-scroll__item",n.class],style:n.style},t),[(a=r.default)==null?void 0:a.call(r)])})}}),Or=j({itemHeight:{type:[Number,String],default:48}},"virtual");function zr(n,o,t){const l=e.shallowRef(0),r=e.shallowRef(n.itemHeight),i=e.computed({get:()=>parseInt(r.value??0,10),set(V){r.value=V}}),c=e.ref(),{resizeRef:s,contentRect:a}=zt();e.watchEffect(()=>{s.value=c.value});const u=Ll(),f=new Map;let v=Array.from({length:o.value.length});const p=e.computed(()=>{const V=(a.value&&c.value!==document.documentElement?a.value.height:u.height.value)-((t==null?void 0:t.value)??0);return Math.ceil(V/i.value*1.7+1)});function d(V){return v.slice(0,V).reduce((T,P)=>T+(P||i.value),0)}let m=0;const g=e.computed(()=>Math.min(o.value.length,l.value+p.value)),y=e.computed(()=>o.value.slice(l.value,g.value).map((V,T)=>({raw:V,index:T+l.value}))),h=e.computed(()=>d(l.value)),x=e.computed(()=>d(o.value.length)-d(g.value));return e.watch(()=>o.value.length,()=>{v=function(V){let T=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return Array.from({length:V},(P,z)=>T+z)}(o.value.length).map(()=>i.value),f.forEach((V,T)=>{const P=o.value.indexOf(T);P===-1?f.delete(T):v[P]=V})}),{containerRef:c,computedItems:y,itemHeight:i,paddingTop:h,paddingBottom:x,scrollToIndex:function(V){if(!c.value)return;const T=d(V);c.value.scrollTop=T},handleScroll:function(){if(!c.value||!a.value)return;const V=a.value.height-56,T=c.value.scrollTop,P=T=C&&(l.value=un(b,0,o.value.length-p.value)),m=T},handleItemResize:function(V,T){i.value=Math.max(i.value,T),v[V]=T,f.set(o.value[V],T)}}}const $r=j({items:{type:Array,default:()=>[]},renderless:Boolean,...Or(),...J(),...Pe()},"VVirtualScroll"),Tr=U()({name:"VVirtualScroll",props:$r(),setup(n,o){let{slots:t}=o;const l=le("VVirtualScroll"),{dimensionStyles:r}=_e(n),{containerRef:i,handleScroll:c,handleItemResize:s,scrollToIndex:a,paddingTop:u,paddingBottom:f,computedItems:v}=zr(n,e.toRef(n,"items"));return Fe(()=>n.renderless,()=>{e.onMounted(()=>{var p;i.value=Xo(l.vnode.el,!0),(p=i.value)==null||p.addEventListener("scroll",c)}),e.onScopeDispose(()=>{var p;(p=i.value)==null||p.removeEventListener("scroll",c)})}),K(()=>{const p=v.value.map(d=>e.createVNode(Er,{key:d.index,renderless:n.renderless,"onUpdate:height":m=>s(d.index,m)},{default:m=>{var g;return(g=t.default)==null?void 0:g.call(t,{item:d.raw,index:d.index,...m})}}));return n.renderless?e.createVNode(e.Fragment,null,[e.createVNode("div",{class:"v-virtual-scroll__spacer",style:{paddingTop:Y(u.value)}},null),p,e.createVNode("div",{class:"v-virtual-scroll__spacer",style:{paddingBottom:Y(f.value)}},null)]):e.createVNode("div",{ref:i,class:["v-virtual-scroll",n.class],onScroll:c,style:[r.value,n.style]},[e.createVNode("div",{class:"v-virtual-scroll__container",style:{paddingTop:Y(u.value),paddingBottom:Y(f.value)}},[p])])}),{scrollToIndex:a}}});function Rr(n,o){const t=e.shallowRef(!1);let l;return{onListScroll:function(r){cancelAnimationFrame(l),t.value=!0,l=requestAnimationFrame(()=>{l=requestAnimationFrame(()=>{t.value=!1})})},onListKeydown:async function(r){var s,a;if(r.key==="Tab"&&((s=o.value)==null||s.focus()),!["PageDown","PageUp","Home","End"].includes(r.key))return;const i=(a=n.value)==null?void 0:a.$el;if(!i)return;r.key!=="Home"&&r.key!=="End"||i.scrollTo({top:r.key==="Home"?0:i.scrollHeight,behavior:"smooth"}),await async function(){await new Promise(u=>requestAnimationFrame(u)),await new Promise(u=>requestAnimationFrame(u)),await new Promise(u=>requestAnimationFrame(u)),await new Promise(u=>{if(t.value){const f=e.watch(t,()=>{f(),u()})}else u()})}();const c=i.querySelectorAll(":scope > :not(.v-virtual-scroll__spacer)");if(r.key==="PageDown"||r.key==="Home"){const u=i.getBoundingClientRect().top;for(const f of c)if(f.getBoundingClientRect().top>=u){f.focus();break}}else{const u=i.getBoundingClientRect().bottom;for(const f of[...c].reverse())if(f.getBoundingClientRect().bottom<=u){f.focus();break}}}}}const Dr=j({chips:Boolean,closableChips:Boolean,closeText:{type:String,default:"$vuetify.close"},openText:{type:String,default:"$vuetify.open"},eager:Boolean,hideNoData:Boolean,hideSelected:Boolean,menu:Boolean,menuIcon:{type:Q,default:"$dropdown"},menuProps:{type:Object},multiple:Boolean,noDataText:{type:String,default:"$vuetify.noDataText"},openOnClear:Boolean,itemColor:String,...$l({itemChildren:!1})},"Select"),Lr=j({...Dr(),...hn(Hl({modelValue:null,role:"button"}),["validationValue","dirty","appendInnerIcon"]),...Vn({transition:{component:el}})},"VSelect"),Mr=U()({name:"VSelect",props:Lr(),emits:{"update:focused":n=>!0,"update:modelValue":n=>!0,"update:menu":n=>!0},setup(n,o){let{slots:t}=o;const{t:l}=$t(),r=e.ref(),i=e.ref(),c=e.ref(),s=ne(n,"menu"),a=e.computed({get:()=>s.value,set:I=>{var A;s.value&&!I&&((A=i.value)!=null&&A.ΨopenChildren)||(s.value=I)}}),{items:u,transformIn:f,transformOut:v}=function(I){const A=e.computed(()=>Tl(I,I.items)),E=e.computed(()=>A.value.some(M=>M.value===null));return{items:A,transformIn:function(M){return E.value||(M=M.filter(D=>D!==null)),M.map(D=>I.returnObject&&typeof D=="string"?Vt(I,D):A.value.find(_=>I.valueComparator(D,_.value))||Vt(I,D))},transformOut:function(M){return I.returnObject?M.map(D=>{let{raw:_}=D;return _}):M.map(D=>{let{value:_}=D;return _})}}}(n),p=ne(n,"modelValue",[],I=>f(I===null?[null]:Be(I)),I=>{const A=v(I);return n.multiple?A:A[0]??null}),d=Fl(),m=e.computed(()=>p.value.map(I=>I.value)),g=e.shallowRef(!1),y=e.computed(()=>a.value?n.closeText:n.openText);let h,x="";const V=e.computed(()=>n.hideSelected?u.value.filter(I=>!p.value.some(A=>A===I)):u.value),T=e.computed(()=>n.hideNoData&&!u.value.length||n.readonly||(d==null?void 0:d.isReadonly.value)),P=e.ref(),{onListScroll:z,onListKeydown:w}=Rr(P,r);function b(I){n.openOnClear&&(a.value=!0)}function C(){T.value||(a.value=!a.value)}function O(I){var M,D;if(!I.key||n.readonly||d!=null&&d.isReadonly.value||(["Enter"," ","ArrowDown","ArrowUp","Home","End"].includes(I.key)&&I.preventDefault(),["Enter","ArrowDown"," "].includes(I.key)&&(a.value=!0),["Escape","Tab"].includes(I.key)&&(a.value=!1),I.key==="Home"?(M=P.value)==null||M.focus("first"):I.key==="End"&&((D=P.value)==null||D.focus("last")),n.multiple||!function(_){const S=_.key.length===1,R=!_.ctrlKey&&!_.metaKey&&!_.altKey;return S&&R}(I)))return;const A=performance.now();A-h>1e3&&(x=""),x+=I.key.toLowerCase(),h=A;const E=u.value.find(_=>_.title.toLowerCase().startsWith(x));E!==void 0&&(p.value=[E])}function F(I){if(n.multiple){const A=p.value.findIndex(E=>n.valueComparator(E.value,I.value));if(A===-1)p.value=[...p.value,I];else{const E=[...p.value];E.splice(A,1),p.value=E}}else p.value=[I],a.value=!1}function N(I){var A;(A=P.value)!=null&&A.$el.contains(I.relatedTarget)||(a.value=!1)}function k(){var I;g.value&&((I=r.value)==null||I.focus())}function L(I){g.value=!0}function W(I){if(I==null)p.value=[];else if(Dn(r.value,":autofill")||Dn(r.value,":-webkit-autofill")){const A=u.value.find(E=>E.title===I);A&&F(A)}else r.value&&(r.value.value="")}return e.watch(a,()=>{if(!n.hideSelected&&a.value&&p.value.length){const I=V.value.findIndex(A=>p.value.some(E=>n.valueComparator(E.value,A.value)));ce&&window.requestAnimationFrame(()=>{var A;I>=0&&((A=c.value)==null||A.scrollToIndex(I))})}}),K(()=>{const I=!(!n.chips&&!t.chip),A=!!(!n.hideNoData||V.value.length||t["prepend-item"]||t["append-item"]||t["no-data"]),E=p.value.length>0,[M]=kt.filterProps(n),D=E||!g.value&&n.label&&!n.persistentPlaceholder?void 0:n.placeholder;return e.createVNode(kt,e.mergeProps({ref:r},M,{modelValue:p.value.map(_=>_.props.value).join(", "),"onUpdate:modelValue":W,focused:g.value,"onUpdate:focused":_=>g.value=_,validationValue:p.externalValue,counterValue:p.value.length,dirty:E,class:["v-select",{"v-select--active-menu":a.value,"v-select--chips":!!n.chips,["v-select--"+(n.multiple?"multiple":"single")]:!0,"v-select--selected":p.value.length,"v-select--selection-slot":!!t.selection},n.class],style:n.style,inputmode:"none",placeholder:D,"onClick:clear":b,"onMousedown:control":C,onBlur:N,onKeydown:O,"aria-label":l(y.value),title:l(y.value)}),{...t,default:()=>e.createVNode(e.Fragment,null,[e.createVNode(xr,e.mergeProps({ref:i,modelValue:a.value,"onUpdate:modelValue":_=>a.value=_,activator:"parent",contentClass:"v-select__content",disabled:T.value,eager:n.eager,maxHeight:310,openOnClick:!1,closeOnContentClick:!1,transition:n.transition,onAfterLeave:k},n.menuProps),{default:()=>[A&&e.createVNode(mr,{ref:P,selected:m.value,selectStrategy:n.multiple?"independent":"single-independent",onMousedown:_=>_.preventDefault(),onKeydown:w,onFocusin:L,onScrollPassive:z,tabindex:"-1",color:n.itemColor??n.color},{default:()=>{var _,S,R;return[(_=t["prepend-item"])==null?void 0:_.call(t),!V.value.length&&!n.hideNoData&&(((S=t["no-data"])==null?void 0:S.call(t))??e.createVNode(Hn,{title:l(n.noDataText)},null)),e.createVNode(Tr,{ref:c,renderless:!0,items:V.value},{default:B=>{var Z;let{item:$,index:G,itemRef:H}=B;const q=e.mergeProps($.props,{ref:H,key:G,onClick:()=>F($)});return((Z=t.item)==null?void 0:Z.call(t,{item:$,index:G,props:q}))??e.createVNode(Hn,q,{prepend:re=>{let{isSelected:nn}=re;return e.createVNode(e.Fragment,null,[n.multiple&&!n.hideSelected?e.createVNode(bt,{key:$.value,modelValue:nn,ripple:!1,tabindex:"-1"},null):void 0,$.props.prependIcon&&e.createVNode(ee,{icon:$.props.prependIcon},null)])}})}}),(R=t["append-item"])==null?void 0:R.call(t)]}})]}),p.value.map((_,S)=>{const R={"onClick:close":function(G){G.stopPropagation(),G.preventDefault(),F(_)},onMousedown(G){G.preventDefault(),G.stopPropagation()},modelValue:!0,"onUpdate:modelValue":void 0},B=I?!!t.chip:!!t.selection,$=B?qo(I?t.chip({item:_,index:S,props:R}):t.selection({item:_,index:S})):void 0;if(!B||$)return e.createVNode("div",{key:_.value,class:"v-select__selection"},[I?t.chip?e.createVNode(oe,{key:"chip-defaults",defaults:{VChip:{closable:n.closableChips,size:"small",text:_.title}}},{default:()=>[$]}):e.createVNode(Za,e.mergeProps({key:"chip",closable:n.closableChips,size:"small",text:_.title,disabled:_.props.disabled},R),null):$??e.createVNode("span",{class:"v-select__selection-text"},[_.title,n.multiple&&S{var l;return e.createVNode("div",{class:["v-card-actions",n.class],style:n.style},[(l=t.default)==null?void 0:l.call(t)])}),{}}}),jr=Cn("v-card-subtitle"),Gr=Cn("v-card-title"),qr=j({appendAvatar:String,appendIcon:Q,prependAvatar:String,prependIcon:Q,subtitle:String,title:String,...J(),...ye()},"VCardItem"),Hr=U()({name:"VCardItem",props:qr(),setup(n,o){let{slots:t}=o;return K(()=>{var u;const l=!(!n.prependAvatar&&!n.prependIcon),r=!(!l&&!t.prepend),i=!(!n.appendAvatar&&!n.appendIcon),c=!(!i&&!t.append),s=!(!n.title&&!t.title),a=!(!n.subtitle&&!t.subtitle);return e.createVNode("div",{class:["v-card-item",n.class],style:n.style},[r&&e.createVNode("div",{key:"prepend",class:"v-card-item__prepend"},[t.prepend?e.createVNode(oe,{key:"prepend-defaults",disabled:!l,defaults:{VAvatar:{density:n.density,icon:n.prependIcon,image:n.prependAvatar}}},t.prepend):l&&e.createVNode(Ke,{key:"prepend-avatar",density:n.density,icon:n.prependIcon,image:n.prependAvatar},null)]),e.createVNode("div",{class:"v-card-item__content"},[s&&e.createVNode(Gr,{key:"title"},{default:()=>{var f;return[((f=t.title)==null?void 0:f.call(t))??n.title]}}),a&&e.createVNode(jr,{key:"subtitle"},{default:()=>{var f;return[((f=t.subtitle)==null?void 0:f.call(t))??n.subtitle]}}),(u=t.default)==null?void 0:u.call(t)]),c&&e.createVNode("div",{key:"append",class:"v-card-item__append"},[t.append?e.createVNode(oe,{key:"append-defaults",disabled:!i,defaults:{VAvatar:{density:n.density,icon:n.appendIcon,image:n.appendAvatar}}},t.append):i&&e.createVNode(Ke,{key:"append-avatar",density:n.density,icon:n.appendIcon,image:n.appendAvatar},null)])])}),{}}}),Ne=Cn("v-card-text"),Ur=j({appendAvatar:String,appendIcon:Q,disabled:Boolean,flat:Boolean,hover:Boolean,image:String,link:{type:Boolean,default:void 0},prependAvatar:String,prependIcon:Q,ripple:{type:[Boolean,Object],default:!0},subtitle:String,text:String,title:String,...Je(),...J(),...ye(),...Pe(),...Qe(),...Mt(),...Dt(),...vl(),...Ce(),...et(),...ue(),...te(),...ke({variant:"elevated"})},"VCard"),Le=U()({name:"VCard",directives:{Ripple:xn},props:Ur(),setup(n,o){let{attrs:t,slots:l}=o;const{themeClasses:r}=ae(n),{borderClasses:i}=Ze(n),{colorClasses:c,colorStyles:s,variantClasses:a}=Bn(n),{densityClasses:u}=Ve(n),{dimensionStyles:f}=_e(n),{elevationClasses:v}=en(n),{loaderClasses:p}=Zn(n),{locationStyles:d}=Lt(n),{positionClasses:m}=fl(n),{roundedClasses:g}=Se(n),y=Qn(n,t),h=e.computed(()=>n.link!==!1&&y.isLink.value),x=e.computed(()=>!n.disabled&&n.link!==!1&&(n.link||y.isClickable.value));return K(()=>{const V=h.value?"a":n.tag,T=!(!l.title&&!n.title),P=!(!l.subtitle&&!n.subtitle),z=T||P,w=!!(l.append||n.appendAvatar||n.appendIcon),b=!!(l.prepend||n.prependAvatar||n.prependIcon),C=!(!l.image&&!n.image),O=z||b||w,F=!(!l.text&&!n.text);return e.withDirectives(e.createVNode(V,{class:["v-card",{"v-card--disabled":n.disabled,"v-card--flat":n.flat,"v-card--hover":n.hover&&!(n.disabled||n.flat),"v-card--link":x.value},r.value,i.value,c.value,u.value,v.value,p.value,m.value,g.value,a.value,n.class],style:[s.value,f.value,d.value,n.style],href:y.href.value,onClick:x.value&&y.navigate,tabindex:n.disabled?-1:void 0},{default:()=>{var N;return[C&&e.createVNode("div",{key:"image",class:"v-card__image"},[l.image?e.createVNode(oe,{key:"image-defaults",disabled:!n.image,defaults:{VImg:{cover:!0,src:n.image}}},l.image):e.createVNode(ll,{key:"image-img",cover:!0,src:n.image},null)]),e.createVNode(Wt,{name:"v-card",active:!!n.loading,color:typeof n.loading=="boolean"?void 0:n.loading},{default:l.loader}),O&&e.createVNode(Hr,{key:"item",prependAvatar:n.prependAvatar,prependIcon:n.prependIcon,title:n.title,subtitle:n.subtitle,appendAvatar:n.appendAvatar,appendIcon:n.appendIcon},{default:l.item,prepend:l.prepend,title:l.title,subtitle:l.subtitle,append:l.append}),F&&e.createVNode(Ne,{key:"text"},{default:()=>{var k;return[((k=l.text)==null?void 0:k.call(l))??n.text]}}),(N=l.default)==null?void 0:N.call(l),l.actions&&e.createVNode(Wr,null,{default:l.actions}),In(x.value,"v-card")]}}),[[e.resolveDirective("ripple"),x.value&&n.ripple]])}),{}}}),Yr=j({indeterminate:Boolean,inset:Boolean,flat:Boolean,loading:{type:[Boolean,String],default:!1},...Nn(),...jt()},"VSwitch"),Kr=U()({name:"VSwitch",inheritAttrs:!1,props:Yr(),emits:{"update:focused":n=>!0,"update:modelValue":()=>!0,"update:indeterminate":n=>!0},setup(n,o){let{attrs:t,slots:l}=o;const r=ne(n,"indeterminate"),i=ne(n,"modelValue"),{loaderClasses:c}=Zn(n),{isFocused:s,focus:a,blur:u}=Fn(n),f=e.ref(),v=e.computed(()=>typeof n.loading=="string"&&n.loading!==""?n.loading:n.color),p=pe(),d=e.computed(()=>n.id||`switch-${p}`);function m(){r.value&&(r.value=!1)}function g(y){var h,x;y.stopPropagation(),y.preventDefault(),(x=(h=f.value)==null?void 0:h.input)==null||x.click()}return K(()=>{const[y,h]=bn(t),[x,V]=we.filterProps(n),[T,P]=qn.filterProps(n);return e.createVNode(we,e.mergeProps({class:["v-switch",{"v-switch--inset":n.inset},{"v-switch--indeterminate":r.value},c.value,n.class],style:n.style},y,x,{id:d.value,focused:s.value}),{...l,default:z=>{let{id:w,messagesId:b,isDisabled:C,isReadonly:O,isValid:F}=z;return e.createVNode(qn,e.mergeProps({ref:f},T,{modelValue:i.value,"onUpdate:modelValue":[N=>i.value=N,m],id:w.value,"aria-describedby":b.value,type:"checkbox","aria-checked":r.value?"mixed":void 0,disabled:C.value,readonly:O.value,onFocus:a,onBlur:u},h),{...l,default:N=>{let{backgroundColorClasses:k,backgroundColorStyles:L}=N;return e.createVNode("div",{class:["v-switch__track",...k.value],style:L.value,onClick:g},null)},input:N=>{let{inputNode:k,icon:L,backgroundColorClasses:W,backgroundColorStyles:I}=N;return e.createVNode(e.Fragment,null,[k,e.createVNode("div",{class:["v-switch__thumb",{"v-switch__thumb--filled":L||n.loading},n.inset?void 0:W.value],style:n.inset?void 0:I.value},[e.createVNode(Ba,null,{default:()=>[n.loading?e.createVNode(Wt,{name:"v-switch",active:!0,color:F.value===!1?void 0:v.value},{default:A=>l.loader?l.loader(A):e.createVNode(pl,{active:A.isActive,color:A.color,indeterminate:!0,size:"16",width:"2"},null)}):L&&e.createVNode(ee,{key:L,icon:L,size:"x-small"},null)]})])])}})}})}),{}}}),Xr=j({autoGrow:Boolean,autofocus:Boolean,counter:[Boolean,Number,String],counterValue:Function,prefix:String,placeholder:String,persistentPlaceholder:Boolean,persistentCounter:Boolean,noResize:Boolean,rows:{type:[Number,String],default:5,validator:n=>!isNaN(parseFloat(n))},maxRows:{type:[Number,String],validator:n=>!isNaN(parseFloat(n))},suffix:String,modelModifiers:Object,...Nn(),...Gt()},"VTextarea"),Jr=U()({name:"VTextarea",directives:{Intersect:Tt},inheritAttrs:!1,props:Xr(),emits:{"click:control":n=>!0,"mousedown:control":n=>!0,"update:focused":n=>!0,"update:modelValue":n=>!0},setup(n,o){let{attrs:t,emit:l,slots:r}=o;const i=ne(n,"modelValue"),{isFocused:c,focus:s,blur:a}=Fn(n),u=e.computed(()=>typeof n.counterValue=="function"?n.counterValue(i.value):(i.value||"").toString().length),f=e.computed(()=>t.maxlength?t.maxlength:!n.counter||typeof n.counter!="number"&&typeof n.counter!="string"?void 0:n.counter);function v(F,N){var k,L;n.autofocus&&F&&((L=(k=N[0].target)==null?void 0:k.focus)==null||L.call(k))}const p=e.ref(),d=e.ref(),m=e.shallowRef(""),g=e.ref(),y=e.computed(()=>n.persistentPlaceholder||c.value||n.active);function h(){var F;g.value!==document.activeElement&&((F=g.value)==null||F.focus()),c.value||s()}function x(F){h(),l("click:control",F)}function V(F){l("mousedown:control",F)}function T(F){F.stopPropagation(),h(),e.nextTick(()=>{i.value="",jo(n["onClick:clear"],F)})}function P(F){var k;const N=F.target;if(i.value=N.value,(k=n.modelModifiers)==null?void 0:k.trim){const L=[N.selectionStart,N.selectionEnd];e.nextTick(()=>{N.selectionStart=L[0],N.selectionEnd=L[1]})}}const z=e.ref(),w=e.ref(+n.rows),b=e.computed(()=>["plain","underlined"].includes(n.variant));function C(){n.autoGrow&&e.nextTick(()=>{if(!z.value||!d.value)return;const F=getComputedStyle(z.value),N=getComputedStyle(d.value.$el),k=parseFloat(F.getPropertyValue("--v-field-padding-top"))+parseFloat(F.getPropertyValue("--v-input-padding-top"))+parseFloat(F.getPropertyValue("--v-field-padding-bottom")),L=z.value.scrollHeight,W=parseFloat(F.lineHeight),I=un(L??0,Math.max(parseFloat(n.rows)*W+k,parseFloat(N.getPropertyValue("--v-input-control-height"))),parseFloat(n.maxRows)*W+k||1/0);w.value=Math.floor((I-k)/W),m.value=Y(I)})}let O;return e.watchEffect(()=>{n.autoGrow||(w.value=+n.rows)}),e.onMounted(C),e.watch(i,C),e.watch(()=>n.rows,C),e.watch(()=>n.maxRows,C),e.watch(()=>n.density,C),e.watch(z,F=>{F?(O=new ResizeObserver(C),O.observe(z.value)):O==null||O.disconnect()}),e.onBeforeUnmount(()=>{O==null||O.disconnect()}),K(()=>{const F=!!(r.counter||n.counter||n.counterValue),N=!(!F&&!r.details),[k,L]=bn(t),[{modelValue:W,...I}]=we.filterProps(n),[A]=ql(n);return e.createVNode(we,e.mergeProps({ref:p,modelValue:i.value,"onUpdate:modelValue":E=>i.value=E,class:["v-textarea v-text-field",{"v-textarea--prefixed":n.prefix,"v-textarea--suffixed":n.suffix,"v-text-field--prefixed":n.prefix,"v-text-field--suffixed":n.suffix,"v-textarea--auto-grow":n.autoGrow,"v-textarea--no-resize":n.noResize||n.autoGrow,"v-text-field--plain-underlined":b.value},n.class],style:n.style},k,I,{centerAffix:w.value===1&&!b.value,focused:c.value}),{...r,default:E=>{let{isDisabled:M,isDirty:D,isReadonly:_,isValid:S}=E;return e.createVNode(qt,e.mergeProps({ref:d,style:{"--v-textarea-control-height":m.value},onClick:x,onMousedown:V,"onClick:clear":T,"onClick:prependInner":n["onClick:prependInner"],"onClick:appendInner":n["onClick:appendInner"]},A,{active:y.value||D.value,centerAffix:w.value===1&&!b.value,dirty:D.value||n.dirty,disabled:M.value,focused:c.value,error:S.value===!1}),{...r,default:R=>{let{props:{class:B,...$}}=R;return e.createVNode(e.Fragment,null,[n.prefix&&e.createVNode("span",{class:"v-text-field__prefix"},[n.prefix]),e.withDirectives(e.createVNode("textarea",e.mergeProps({ref:g,class:B,value:i.value,onInput:P,autofocus:n.autofocus,readonly:_.value,disabled:M.value,placeholder:n.placeholder,rows:n.rows,name:n.name,onFocus:h,onBlur:a},$,L),null),[[e.resolveDirective("intersect"),{handler:v},null,{once:!0}]]),n.autoGrow&&e.withDirectives(e.createVNode("textarea",{class:[B,"v-textarea__sizer"],id:`${$.id}-sizer`,"onUpdate:modelValue":G=>i.value=G,ref:z,readonly:!0,"aria-hidden":"true"},null),[[e.vModelText,i.value]]),n.suffix&&e.createVNode("span",{class:"v-text-field__suffix"},[n.suffix])])}})},details:N?E=>{var M;return e.createVNode(e.Fragment,null,[(M=r.details)==null?void 0:M.call(r,E),F&&e.createVNode(e.Fragment,null,[e.createVNode("span",null,null),e.createVNode(Gl,{active:n.persistentCounter||c.value,value:u.value,max:f.value},r.counter)])])}:void 0})}),nt({},p,d,g)}}),Ul=e.defineComponent({__name:"BooleanIcons",props:e.mergeModels({iconFalseColor:{},iconFalseTitle:{},iconTrueColor:{},iconTrueTitle:{},iconFalse:{},iconTrue:{}},{modelValue:{}}),emits:["update:modelValue"],setup(n){const o=n,t=e.inject(Symbol.for("vuetify:icons")),l=e.useModel(n,"modelValue"),r=e.computed(()=>de({icon:o.iconFalse,iconOptions:t,name:"false"})),i=e.computed(()=>de({icon:o.iconTrue,iconOptions:t,name:"true"}));return(c,s)=>l.value?(e.openBlock(),e.createBlock(e.unref(ee),{key:0,class:"v-inline-fields--boolean-icons fa-fw",color:c.iconTrueColor,icon:e.unref(i),size:"x-small",title:c.iconTrueTitle},null,8,["color","icon","title"])):(e.openBlock(),e.createBlock(e.unref(ee),{key:1,class:"v-inline-fields--boolean-icons fa-fw",color:c.iconFalseColor,icon:e.unref(r),size:"x-small",title:c.iconFalseTitle},null,8,["color","icon","title"]))}}),X="v-inline-fields",Me=n=>{const{field:o="",density:t="",disabled:l=!1,iconSet:r="mdi",loading:i=!1,loadingWait:c,tableField:s=!1,variant:a}=n,u=t&&a;return{[`${X}`]:!0,[`${X}--container`]:!0,[`${X}--container-disabled`]:e.unref(l),[`${X}--container-table`]:s,[`${X}--container-icon-set-${r}`]:!0,[`${X}--container-loading`]:i&&c,[`${X}--container-${o}`]:!0,[`${X}--container-${o}-${t}`]:!0,[`${X}--container-${o}-${t}-${a}`]:u,[`${X}--container-${o}-${a}`]:a,[`${X}--container-${o}-${a}-${t}`]:u,[`${X}--container-${t}`]:t,[`${X}--container-${t}-${o}`]:t,[`${X}--container-${t}-${a}`]:u,[`${X}--container-${a}`]:a,[`${X}--container-${a}-${t}`]:u,[`${X}--container-${a}-${o}`]:a}},We=n=>{const{field:o="",density:t=""}=n;return{[`${X}--display-container`]:!0,[`${X}--display-wrapper-value`]:!0,[`${o}`]:!0,"v-input":!0,[`v-input--density-${t}`]:!0,"v-input--horizontal":!0}},Yn=n=>{const{density:o="",variant:t=""}=n;return{"v-input":!0,"v-input--dirty":!0,"v-input--horizontal":!0,"v-text-field":!0,[`v-input--density-${o}`]:!0,[`v-text-field--plain-${t}`]:!0}},Yl=n=>{const{density:o=""}=n;return{[`v-selection-control--density-${o}`]:!0}},Ht=(n,o,t)=>{const{error:l=!1,empty:r=!1}=t;return{[`${X}`]:!0,[`${X}--display-value-${n}`]:!0,[`${X}--display-value`]:!0,[`${X}--display-value-empty`]:e.unref(r),[`text-${o}`]:!e.unref(l),"text-danger":e.unref(l)}},je=n=>{const{name:o,active:t=!1}=n;return{[`${X}`]:!0,[`${X}--field`]:!0,[`${X}--field-${o}`]:!0,[`${X}--field-active`]:t}},Ge=n=>{const{name:o,showField:t}=n;return{[`${X}--card-container`]:!0,[`${X}--card-container-${o}`]:!0,"d-none":!t}};function To(n){if(!n)return 100;if(n.toString().includes(".")){const o=100*Number(n);return o>=100?100:o}return Number(n)>=100?100:Number(n)}function Ro(n){let o=function(v){const p={AliceBlue:"#F0F8FF",AntiqueWhite:"#FAEBD7",Aqua:"#00FFFF",Aquamarine:"#7FFFD4",Azure:"#F0FFFF",Beige:"#F5F5DC",Bisque:"#FFE4C4",Black:"#000000",BlanchedAlmond:"#FFEBCD",Blue:"#0000FF",BlueViolet:"#8A2BE2",Brown:"#A52A2A",BurlyWood:"#DEB887",CadetBlue:"#5F9EA0",Chartreuse:"#7FFF00",Chocolate:"#D2691E",Coral:"#FF7F50",CornflowerBlue:"#6495ED",Cornsilk:"#FFF8DC",Crimson:"#DC143C",Cyan:"#00FFFF",DarkBlue:"#00008B",DarkCyan:"#008B8B",DarkGoldenRod:"#B8860B",DarkGray:"#A9A9A9",DarkGreen:"#006400",DarkGrey:"#A9A9A9",DarkKhaki:"#BDB76B",DarkMagenta:"#8B008B",DarkOliveGreen:"#556B2F",DarkOrange:"#FF8C00",DarkOrchid:"#9932CC",DarkRed:"#8B0000",DarkSalmon:"#E9967A",DarkSeaGreen:"#8FBC8F",DarkSlateBlue:"#483D8B",DarkSlateGray:"#2F4F4F",DarkSlateGrey:"#2F4F4F",DarkTurquoise:"#00CED1",DarkViolet:"#9400D3",DeepPink:"#FF1493",DeepSkyBlue:"#00BFFF",DimGray:"#696969",DimGrey:"#696969",DodgerBlue:"#1E90FF",FireBrick:"#B22222",FloralWhite:"#FFFAF0",ForestGreen:"#228B22",Fuchsia:"#FF00FF",Gainsboro:"#DCDCDC",GhostWhite:"#F8F8FF",Gold:"#FFD700",GoldenRod:"#DAA520",Gray:"#808080",Green:"#008000",GreenYellow:"#ADFF2F",Grey:"#808080",HoneyDew:"#F0FFF0",HotPink:"#FF69B4",IndianRed:"#CD5C5C",Indigo:"#4B0082",Ivory:"#FFFFF0",Khaki:"#F0E68C",Lavender:"#E6E6FA",LavenderBlush:"#FFF0F5",LawnGreen:"#7CFC00",LemonChiffon:"#FFFACD",LightBlue:"#ADD8E6",LightCoral:"#F08080",LightCyan:"#E0FFFF",LightGoldenRodYellow:"#FAFAD2",LightGray:"#D3D3D3",LightGreen:"#90EE90",LightGrey:"#D3D3D3",LightPink:"#FFB6C1",LightSalmon:"#FFA07A",LightSeaGreen:"#20B2AA",LightSkyBlue:"#87CEFA",LightSlateGray:"#778899",LightSlateGrey:"#778899",LightSteelBlue:"#B0C4DE",LightYellow:"#FFFFE0",Lime:"#00FF00",LimeGreen:"#32CD32",Linen:"#FAF0E6",Magenta:"#FF00FF",Maroon:"#800000",MediumAquaMarine:"#66CDAA",MediumBlue:"#0000CD",MediumOrchid:"#BA55D3",MediumPurple:"#9370DB",MediumSeaGreen:"#3CB371",MediumSlateBlue:"#7B68EE",MediumSpringGreen:"#00FA9A",MediumTurquoise:"#48D1CC",MediumVioletRed:"#C71585",MidnightBlue:"#191970",MintCream:"#F5FFFA",MistyRose:"#FFE4E1",Moccasin:"#FFE4B5",NavajoWhite:"#FFDEAD",Navy:"#000080",OldLace:"#FDF5E6",Olive:"#808000",OliveDrab:"#6B8E23",Orange:"#FFA500",OrangeRed:"#FF4500",Orchid:"#DA70D6",PaleGoldenRod:"#EEE8AA",PaleGreen:"#98FB98",PaleTurquoise:"#AFEEEE",PaleVioletRed:"#DB7093",PapayaWhip:"#FFEFD5",PeachPuff:"#FFDAB9",Peru:"#CD853F",Pink:"#FFC0CB",Plum:"#DDA0DD",PowderBlue:"#B0E0E6",Purple:"#800080",RebeccaPurple:"#663399",Red:"#FF0000",RosyBrown:"#BC8F8F",RoyalBlue:"#4169E1",SaddleBrown:"#8B4513",Salmon:"#FA8072",SandyBrown:"#F4A460",SeaGreen:"#2E8B57",SeaShell:"#FFF5EE",Sienna:"#A0522D",Silver:"#C0C0C0",SkyBlue:"#87CEEB",SlateBlue:"#6A5ACD",SlateGray:"#708090",SlateGrey:"#708090",Snow:"#FFFAFA",SpringGreen:"#00FF7F",SteelBlue:"#4682B4",Tan:"#D2B48C",Teal:"#008080",Thistle:"#D8BFD8",Tomato:"#FF6347",Turquoise:"#40E0D0",Violet:"#EE82EE",Wheat:"#F5DEB3",White:"#FFFFFF",WhiteSmoke:"#F5F5F5",Yellow:"#FFFF00",YellowGreen:"#9ACD32"};let d=v;return Object.entries(p).forEach(([m,g])=>{v.toLowerCase()!=m.toLowerCase()||(d=g)}),d}(n),t=0,l=0,r=0,i=100,c=0,s=0,a=0;if(o.substring(0,1)==="#")o=function(v){let p=v.replace("#","");p.length===3&&(p=p.split("").map(h=>h+h).join(""));const d=parseInt(p.substring(0,2),16),m=parseInt(p.substring(2,4),16),g=parseInt(p.substring(4,6),16);return[d,m,g,100]}(o);else if(o.includes("rgb"))o=[...o.matchAll(/[\d+.\d+]+/g)].map(Number);else if(o.includes("hsl"))return o=[...o.matchAll(/[\d+.\d+]+/g)].map(String),t=o[0],l=o[1],r=o[2],i=To(o[3]),`${t} ${l}% ${r}% / ${i}%`;[c,s,a,i]=o,c/=255,s/=255,a/=255,i=To(i);const u=Math.max(c,s,a),f=Math.min(c,s,a);if(u===null||!f===null||isNaN(u)||isNaN(f)){const v="0 0% 100% / 12%";return console.warn(`[VuetifyInlineFields: The "color" prop value using "${o}" doesn't exist. Using the value "hsl(${v})" in it's place.`),v}if(t=(u+f)/2,l=(u+f)/2,r=(u+f)/2,u==f)t=l=0;else{const v=u-f;switch(l=r>.5?v/(2-u-f):v/(u+f),u){case c:t=(s-a)/v+(s{if(function(l){return l==="transparent"||l==="none"||l==="inherit"||l==="currentColor"||l==="initial"||l==="unset"}(n))return n;if(function(l){return l.includes("--v-theme")}(n))return`rgb(var(${n}))`;const t=function(l,r){const i=r.global.current.value.colors;return Object.entries(i).find(([c])=>c===l)}(n,o);return t?`hsl(${Ro(t[1])})`:`hsl(${Ro(n)})`},an=n=>{const{str:o,unit:t="px"}=n;if(o!=null&&o!=="")return+o?`${Number(o)}${t}`:String(o)},Kl=n=>{var r;const{modelValue:o,trueValue:t}=n,l=e.unref(o);return((r=l==null?void 0:l.toLowerCase)==null?void 0:r.call(l))==="true"||l==="1"||l=="1"||l===!0||l==t||l===t},Ut=n=>{const{underlineStyle:o,underlineWidth:t,color:l,error:r,theme:i,underlined:c}=n;let{underlineColor:s}=n;s=s||l;const a={"border-bottom-color":Zr(s,i),"border-bottom-style":o,"border-bottom-width":t};return e.unref(r)&&(a["border-bottom-color"]="rgb(var(--v-theme-danger))"),c||(a["border-bottom"]="none"),a},Ae=n=>{const{cardMinWidth:o,cardOffsetX:t,cardOffsetY:l,cardWidth:r,field:i,name:c=""}=n,s=(f=>{const{cardOffsetX:v,cardOffsetY:p,field:d}=f;if(!d)return{bottom:0,height:0,left:0,right:0,top:0,width:0,x:0,y:0};const{x:m,y:g}=d.getBoundingClientRect(),{width:y,height:h}=d.getBoundingClientRect(),{right:x,bottom:V}=d.getBoundingClientRect();return{bottom:an({str:V+Number(p)}),height:h,left:an({str:0+Number(v)}),right:an({str:x+Number(v)}),top:an({str:2+Number(p)}),width:an({str:y}),x:m,y:g}})({cardOffsetX:t,cardOffsetY:l,field:i});let a=o,u=r;return u||(u=c==="checkbox"?"fit-content":s.width),a||(a=c==="checkbox"?"fit-content":s.width),{left:s.left,top:s.top,width:u,zIndex:10}},Qr={class:"v-inline-fields--display-wrapper"},Kn=e.defineComponent({__name:"DisplayedValue",props:{color:{},displayAppendIcon:{},displayAppendIconColor:{},displayAppendInnerIcon:{},displayAppendInnerIconColor:{},displayPrependIcon:{},displayPrependIconColor:{},displayPrependInnerIcon:{},displayPrependInnerIconColor:{},displayValue:{},empty:{type:Boolean},error:{type:Boolean},field:{},underlineColor:{},underlineStyle:{},underlineWidth:{},underlined:{type:Boolean}},emits:["toggleField"],setup(n,{emit:o}){const t=o,l=n,r=e.useSlots(),i=Ft.useTheme(),c={displayValue:l.displayValue,empty:l.empty,error:l.error},s=e.computed(()=>Ht(l.field,l.valueColor,{empty:l.empty,error:l.error})),a=e.computed(()=>Ut({color:l.color,error:l.error,theme:i,underlineColor:l.underlineColor,underlineStyle:l.underlineStyle,underlineWidth:l.underlineWidth,underlined:l.underlined})),u=e.computed(()=>(p=>{const{underlineWidth:d}=p;return{borderBottom:`${d||"0px"} solid transparent`}})({underlineWidth:l.underlineWidth})),f=(p,d=!1)=>(m=>{const{inner:g=!1,position:y}=m;return{[`${X}--display-icon`]:!g,[`${X}--display-${y}-icon`]:!g,[`${X}--display-${y}-inner-icon`]:g,"me-1":y==="prepend","ms-1":y==="append"}})({inner:d,position:p});function v(){t("toggleField")}return(p,d)=>(e.openBlock(),e.createElementBlock("div",Qr,[p.displayPrependIcon||e.unref(r)["display.prepend"]?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(f("prepend")),style:e.normalizeStyle(e.unref(u))},[e.unref(r)["display.prepend"]?e.renderSlot(p.$slots,"display.prepend",e.normalizeProps(e.mergeProps({key:0},c))):(e.openBlock(),e.createBlock(ee,{key:1,color:p.displayPrependIconColor,icon:p.displayPrependIcon,size:"x-small"},null,8,["color","icon"]))],6)):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(["d-inline-flex",e.unref(s)]),style:e.normalizeStyle(e.unref(a)),onClick:v},[p.displayPrependInnerIcon||e.unref(r)["display.prependInner"]?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(f("prepend",!0))},[e.unref(r)["display.prependInner"]?e.renderSlot(p.$slots,"display.prependInner",e.normalizeProps(e.mergeProps({key:0},c))):(e.openBlock(),e.createBlock(ee,{key:1,color:p.displayPrependInnerIconColor,icon:p.displayPrependInnerIcon,size:"x-small"},null,8,["color","icon"]))],2)):e.createCommentVNode("",!0),e.createTextVNode(" "+e.toDisplayString(p.displayValue)+" ",1),p.displayAppendInnerIcon||e.unref(r)["display.appendInner"]?(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(f("append",!0))},[e.unref(r)["display.appendInner"]?e.renderSlot(p.$slots,"display.appendInner",e.normalizeProps(e.mergeProps({key:0},c))):(e.openBlock(),e.createBlock(ee,{key:1,color:p.displayAppendInnerIconColor,icon:p.displayAppendInnerIcon,size:"x-small"},null,8,["color","icon"]))],2)):e.createCommentVNode("",!0)],6),p.displayAppendIcon||e.unref(r)["display.append"]?(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(f("append")),style:e.normalizeStyle(e.unref(u))},[e.unref(r)["display.append"]?e.renderSlot(p.$slots,"display.append",e.normalizeProps(e.mergeProps({key:0},c))):(e.openBlock(),e.createBlock(ee,{key:1,color:p.displayAppendIconColor,icon:p.displayAppendIcon,size:"x-small"},null,8,["color","icon"]))],6)):e.createCommentVNode("",!0)]))}}),mn=e.defineComponent({__name:"SaveFieldButtons",props:{loading:{type:Boolean},cancelButtonColor:{},cancelButtonSize:{},cancelButtonVariant:{},cancelButtonTitle:{},cancelIconColor:{},error:{type:Boolean},fieldOnly:{type:Boolean},hideSaveIcon:{type:Boolean},loadingIconColor:{},saveButtonColor:{},saveButtonSize:{},saveButtonTitle:{},saveButtonVariant:{},saveIconColor:{},cancelIcon:{},loadingIcon:{},saveIcon:{}},emits:["close","save"],setup(n,{emit:o}){const t=e.useAttrs(),l=o,r=n,i=e.inject(Symbol.for("vuetify:icons")),c=e.computed(()=>r.error),s=e.computed(()=>({[`${X}--save-fields-container`]:!0})),a=e.computed(()=>r.loading),u=e.reactive({...t,...r}),f=e.computed(()=>(i==null?void 0:i.defaultSet)==="fa"?"fa-spin":(i==null?void 0:i.defaultSet)==="mdi"?"mdi-spin":""),v=e.computed(()=>(h=>{const{cancelButtonVariant:x}=h;return{"me-1":x==="elevated","ms-1":!0}})({cancelButtonVariant:u.cancelButtonVariant})),p=e.computed(()=>de({icon:r.cancelIcon,iconOptions:i,name:"false"})),d=e.computed(()=>de({icon:r.loadingIcon,iconOptions:i,name:"loading"})),m=e.computed(()=>de({icon:r.saveIcon,iconOptions:i,name:"save"}));function g(){l("close")}function y(){l("save")}return(h,x)=>(e.openBlock(),e.createElementBlock("div",e.mergeProps({class:e.unref(s)},h.$attrs),[e.unref(u).hideSaveIcon?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(ht,{key:0,class:"ms-1",color:e.unref(u).saveButtonColor,disabled:e.unref(c),icon:"",size:e.unref(u).saveButtonSize,title:e.unref(a)?"Loading":e.unref(u).saveButtonTitle,variant:e.unref(u).saveButtonVariant,onClick:y},{default:e.withCtx(()=>[e.unref(a)?(e.openBlock(),e.createBlock(ee,{key:1,class:e.normalizeClass(e.unref(f)),color:e.unref(u).loadingIconColor,icon:e.unref(d)},null,8,["class","color","icon"])):(e.openBlock(),e.createBlock(ee,{key:0,color:e.unref(c)?"error":e.unref(u).saveIconColor,icon:e.unref(m)},null,8,["color","icon"]))]),_:1},8,["color","disabled","size","title","variant"])),e.createVNode(ht,{class:e.normalizeClass(e.unref(v)),color:e.unref(u).cancelButtonColor,icon:"",size:e.unref(u).cancelButtonSize,title:e.unref(u).cancelButtonTitle,variant:e.unref(u).cancelButtonVariant,onClick:g},{default:e.withCtx(()=>[e.unref(u).hideSaveIcon&&e.unref(a)?(e.openBlock(),e.createBlock(ee,{key:0,class:e.normalizeClass(e.unref(f)),color:e.unref(u).loadingIconColor,icon:e.unref(d)},null,8,["class","color","icon"])):(e.openBlock(),e.createBlock(ee,{key:1,class:"text-default",color:e.unref(u).cancelIconColor,icon:e.unref(p)},null,8,["color","icon"]))]),_:1},8,["class","color","size","title","variant"])],16))}}),Xn=n=>{const{required:o,rules:t}=n;let{value:l}=n;l=e.unref(l);const r=[];let i=!1;if(o&&!l)return r.push("Field is required."),{errors:!0,results:r};if(t){for(const c of t){const s=(typeof c=="function"?c:()=>c)(l);s!==!0&&(typeof s=="string"?r.push(s):console.warn(`${s} is not a valid value. Rule functions must return boolean true or a string.`))}i=r.length>0}return{errors:i,results:r}},qe=n=>{const{attrs:o,closeSiblings:t,fieldOnly:l,props:r,showField:i,timeOpened:c}=n;let s=c;return t&&!l&&(s=new Date),{settings:{...o,...r},showField:!e.unref(i),timeOpened:s}},xt=n=>{const{length:o=0}=n;let{suffix:t,text:l}=n;return l=l.toString(),t=t||"...",l.length>o?`${l.substring(0,o)}${t}`:l},He=["error","update","update:closeSiblingFields","update:model-value"],ei=["cancelButtonColor","cancelButtonSize","cancelButtonTitle","cancelButtonVariant","cancelIcon","cancelIconColor","closeSiblings","displayAppendIcon","displayAppendIconColor","displayAppendIconSize","displayAppendInnerIcon","displayAppendInnerIconColor","displayAppendInnerIconSize","displayPrependIcon","displayPrependIconColor","displayPrependIconSize","displayPrependInnerIcon","displayPrependInnerIconColor","displayPrependInnerIconSize","emptyText","fieldOnly","hideSaveIcon","item","loadingIcon","loadingIconColor","loadingWait","saveButtonColor","saveButtonSize","saveButtonTitle","saveButtonVariant","saveIcon","saveIconColor","tableField","truncateLength","truncateSuffix","underlineColor","underlineStyle","underlineWidth","underlined","valueColor"],sn=n=>{let o=n;return o=Object.entries(o).filter(([t])=>!ei.includes(t)),Object.fromEntries(o)},ni={class:"v-selection-control__wrapper"},ti=e.defineComponent({__name:"VInlineCheckbox",props:e.mergeModels(e.mergeDefaults({density:{},falseIcon:{},trueIcon:{},cancelButtonColor:{},cancelButtonSize:{},cancelButtonTitle:{},cancelButtonVariant:{},cancelIcon:{},cancelIconColor:{},cardField:{type:Boolean},cardOffsetX:{},cardOffsetY:{},cardProps:{},closeSiblings:{type:Boolean},color:{},disabled:{type:Boolean},displayAppendIcon:{},displayAppendIconColor:{},displayAppendIconSize:{},displayAppendInnerIcon:{},displayAppendInnerIconColor:{},displayAppendInnerIconSize:{},displayPrependIcon:{},displayPrependIconColor:{},displayPrependIconSize:{},displayPrependInnerIcon:{},displayPrependInnerIconColor:{},displayPrependInnerIconSize:{},emptyText:{},error:{type:Boolean},falseValue:{type:[Boolean,String]},fieldOnly:{type:Boolean},hideDetails:{type:Boolean},hideSaveIcon:{type:Boolean},iconFalse:{},iconFalseColor:{},iconFalseTitle:{},iconTrue:{},iconTrueColor:{},iconTrueTitle:{},icons:{type:Boolean},item:{},label:{},loading:{type:Boolean},loadingIcon:{},loadingIconColor:{},loadingWait:{type:Boolean},name:{},required:{type:Boolean},saveButtonColor:{},saveButtonSize:{},saveButtonTitle:{},saveButtonVariant:{},saveIcon:{},saveIconColor:{},tableField:{type:Boolean},trueValue:{type:[Boolean,String]},underlineColor:{},underlineStyle:{},underlineWidth:{},underlined:{type:Boolean},valueColor:{}},{...aa}),{modelValue:{}}),emits:e.mergeModels([...He],["update:modelValue"]),setup(n,{emit:o}){const t=e.useModel(n,"modelValue"),l=e.useAttrs(),r=e.useSlots(),i=o,c=e.inject(Symbol.for("vuetify:icons")),s=Ft.useTheme(),a=n;let u=e.reactive({...l,...a});const f=e.computed(()=>a.loading),v=e.computed(()=>a.disabled),p=e.ref(!1),d=e.ref(!1),m=e.ref(null),g=e.computed(()=>sn(u)),y=e.computed(()=>({...Re,...a.cardProps}));e.watch(()=>f.value,(B,$)=>{!B&&$&&d.value&&M()});const h=e.computed(()=>de({icon:a.trueIcon,iconOptions:c,name:"checkboxFalse"})),x=e.computed(()=>de({icon:a.iconTrue,iconOptions:c,name:"checkboxTrue"})),V=e.computed(()=>t.value==u.trueValue),T=e.computed(()=>Kl({modelValue:t,trueValue:u.trueValue})),P=e.computed(()=>Me({density:u.density,disabled:v.value,field:"v-checkbox",loading:f.value,loadingWait:u.loadingWait,tableField:u.tableField})),z=e.computed(()=>We({density:u.density,field:"v-checkbox"})),w=Yl({density:u.density}),b=e.computed(()=>je({active:d.value,name:"checkbox"})),C=e.computed(()=>Ht("checkbox",u.valueColor,{error:p})),O=e.computed(()=>Ge({name:"checkbox",showField:d.value})),F=e.computed(()=>({})),N=e.computed(()=>Ut({color:u.color,error:p,theme:s,underlineColor:u.underlineColor,underlineStyle:u.underlineStyle,underlineWidth:u.underlineWidth,underlined:u.underlined})),k=e.computed(()=>W.value);function L(){p.value=!1,M()}const W=e.ref(),I=e.ref(null),A=e.ref("body"),E=la.useWindowSize();function M(){var $,G;if(v.value||u.loadingWait&&f.value)return;W.value=Ae({cardMinWidth:($=u.cardProps)==null?void 0:$.minWidth,cardOffsetX:u.cardOffsetX,cardOffsetY:u.cardOffsetY,cardWidth:(G=u.cardProps)==null?void 0:G.width,field:I.value,name:"checkbox"});const B=qe({attrs:l,closeSiblings:u.closeSiblings,fieldOnly:u.fieldOnly,props:a,showField:d,timeOpened:m.value});u={...u,...B.settings},d.value=B.showField,m.value=B.timeOpened,_!==null&&u.closeSiblings&&d.value&&!u.fieldOnly&&_.emit(B.timeOpened)}function D(B){t.value=B,i("update",B),u.loadingWait||M()}let _,S;function R(B){i("update:closeSiblingFields",m),d.value&&m.value!==B&&M()}return e.watch(()=>E,()=>{var B,$;W.value=Ae({cardMinWidth:(B=u.cardProps)==null?void 0:B.minWidth,cardOffsetX:u.cardOffsetX,cardOffsetY:u.cardOffsetY,cardWidth:($=u.cardProps)==null?void 0:$.width,field:I.value,name:"checkbox"})},{deep:!0}),u.closeSiblings&&import("@vueuse/core").then(({useEventBus:B})=>{_=B(Te),S=_.on(R)}),e.onUnmounted(()=>{S!==void 0&&_.off(R)}),(B,$)=>(e.openBlock(),e.createElementBlock("div",{ref_key:"inlineFieldsContainer",ref:I,class:e.normalizeClass(e.unref(P)),style:e.normalizeStyle(e.unref(F))},[!e.unref(d)&&!e.unref(u).fieldOnly||e.unref(u).cardField?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(e.unref(z))},[e.createElementVNode("div",{class:e.normalizeClass(e.unref(w))},[e.createElementVNode("div",ni,[B.icons?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(e.unref(C)),style:e.normalizeStyle(e.unref(N)),onClick:M},[e.createVNode(e.unref(Ul),{modelValue:e.unref(T),"onUpdate:modelValue":$[0]||($[0]=G=>e.isRef(T)?T.value=G:null),"icon-false":e.unref(u).iconFalse,"icon-false-color":e.unref(u).iconFalseColor,"icon-false-title":e.unref(u).iconFalseTitle,"icon-true":e.unref(u).iconTrue,"icon-true-color":e.unref(u).iconTrueColor,"icon-true-title":e.unref(u).iconTrueTitle},null,8,["modelValue","icon-false","icon-false-color","icon-false-title","icon-true","icon-true-color","icon-true-title"])],6)):(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(["d-inline-flex align-center justify-center",e.unref(C)]),style:e.normalizeStyle(e.unref(N)),onClick:M},e.toDisplayString(e.unref(V)),7))])],2)],2)):e.createCommentVNode("",!0),e.unref(d)||e.unref(u).fieldOnly||e.unref(u).cardField?(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(e.unref(b))},[(e.openBlock(),e.createBlock(e.Teleport,{disabled:!e.unref(u).cardField,to:e.unref(A)},[e.createVNode(Ya,e.mergeProps(e.unref(g),{color:e.unref(u).color,density:e.unref(u).density,disabled:e.unref(f)||e.unref(v),error:e.unref(p),"false-icon":e.unref(h),"false-value":e.unref(u).falseValue,"hide-details":e.unref(u).hideDetails,label:e.unref(u).label,"model-value":e.unref(T),"true-icon":e.unref(x),"true-value":e.unref(u).trueValue,"onUpdate:modelValue":D}),e.createSlots({_:2},[e.renderList(e.unref(r),(G,H)=>({name:H,fn:e.withCtx(q=>[e.renderSlot(B.$slots,H,e.normalizeProps(e.guardReactiveProps({...q})))])})),e.unref(r).append?void 0:{name:"append",fn:e.withCtx(()=>[e.createVNode(e.unref(mn),{"cancel-button-color":e.unref(u).cancelButtonColor,"cancel-button-size":e.unref(u).cancelButtonSize,"cancel-button-title":e.unref(u).cancelButtonTitle,"cancel-button-variant":e.unref(u).cancelButtonVariant,"cancel-icon":e.unref(u).cancelIcon,"cancel-icon-color":e.unref(u).cancelIconColor,error:e.unref(p),"field-only":e.unref(u).fieldOnly,"hide-save-icon":!0,loading:e.unref(f),"loading-icon":e.unref(u).loadingIcon,"loading-icon-color":e.unref(u).loadingIconColor,"save-button-color":e.unref(u).saveButtonColor,"save-button-size":e.unref(u).saveButtonSize,"save-button-title":e.unref(u).saveButtonTitle,"save-button-variant":e.unref(u).saveButtonVariant,"save-icon":e.unref(u).saveIcon,"save-icon-color":e.unref(u).saveIconColor,onClose:L,onSave:D},null,8,["cancel-button-color","cancel-button-size","cancel-button-title","cancel-button-variant","cancel-icon","cancel-icon-color","error","field-only","loading","loading-icon","loading-icon-color","save-button-color","save-button-size","save-button-title","save-button-variant","save-icon","save-icon-color"])]),key:"0"}]),1040,["color","density","disabled","error","false-icon","false-value","hide-details","label","model-value","true-icon","true-value"])],8,["disabled","to"]))],2)):e.createCommentVNode("",!0),e.unref(u).cardField?(e.openBlock(),e.createElementBlock("div",{key:2,class:e.normalizeClass(e.unref(O)),style:e.normalizeStyle(e.unref(k))},[e.createVNode(Le,e.normalizeProps(e.guardReactiveProps(e.unref(y))),{default:e.withCtx(()=>[e.createVNode(Ne,null,{default:e.withCtx(()=>[e.createElementVNode("div",{ref_key:"cardFieldRef",ref:A},null,512)]),_:1})]),_:1},16)],6)):e.createCommentVNode("",!0)],6))}}),oi=e.defineComponent({__name:"VInlineCustomField",props:e.mergeModels(e.mergeDefaults({clearIcon:{},density:{},rules:{},variant:{},autofocus:{type:Boolean},cancelButtonColor:{},cancelButtonSize:{},cancelButtonTitle:{},cancelButtonVariant:{},cancelIcon:{},cancelIconColor:{},cardField:{type:Boolean},cardOffsetX:{},cardOffsetY:{},cardProps:{},closeSiblings:{type:Boolean},color:{},disabled:{type:Boolean},displayAppendIcon:{},displayAppendIconColor:{},displayAppendIconSize:{},displayAppendInnerIcon:{},displayAppendInnerIconColor:{},displayAppendInnerIconSize:{},displayPrependIcon:{},displayPrependIconColor:{},displayPrependIconSize:{},displayPrependInnerIcon:{},displayPrependInnerIconColor:{},displayPrependInnerIconSize:{},emptyText:{},error:{type:Boolean},fieldOnly:{type:Boolean},hideDetails:{type:Boolean},hideSaveIcon:{type:Boolean},item:{},label:{},loading:{type:Boolean},loadingIcon:{},loadingIconColor:{},loadingWait:{type:Boolean},name:{},required:{type:Boolean},saveButtonColor:{},saveButtonSize:{},saveButtonTitle:{},saveButtonVariant:{},saveIcon:{},saveIconColor:{},tableField:{type:Boolean},truncateLength:{},truncateSuffix:{},underlineColor:{},underlineStyle:{},underlineWidth:{},underlined:{type:Boolean},valueColor:{}},{...Lo}),{modelValue:{}}),emits:e.mergeModels([...He],["update:modelValue"]),setup(n,{emit:o}){const t=e.useModel(n,"modelValue"),l=e.useAttrs(),r=e.useSlots(),i=o,c=e.inject(Symbol.for("vuetify:icons")),s=n;let a=e.reactive({...l,...s});const u=e.computed(()=>s.loading),f=e.computed(()=>s.disabled),v=e.ref(!1),p=e.ref(!1),d=e.ref(!1),m=e.ref(null);let g=t.value;e.watch(()=>u.value,(S,R)=>{!S&&R&&d.value&&W()});const y=e.computed(()=>t.value?(v.value=!1,a.truncateLength?xt({length:a.truncateLength,suffix:a.truncateSuffix,text:t.value}):t.value):(v.value=!0,a.emptyText)),h=e.computed(()=>({...a,loading:u.value,modelValue:t.value,originalValue:g})),x=e.computed(()=>({color:a.color,displayAppendIcon:s.displayAppendIcon,displayAppendIconColor:s.displayAppendIconColor,displayAppendIconSize:s.displayAppendIconSize,displayAppendInnerIcon:s.displayAppendInnerIcon,displayAppendInnerIconColor:s.displayAppendInnerIconColor,displayAppendInnerIconSize:s.displayAppendInnerIconSize,displayPrependIcon:s.displayPrependIcon,displayPrependIconColor:s.displayPrependIconColor,displayPrependIconSize:s.displayPrependIconSize,displayPrependInnerIcon:s.displayPrependInnerIcon,displayPrependInnerIconColor:s.displayPrependInnerIconColor,displayPrependInnerIconSize:s.displayPrependInnerIconSize,displayValue:y.value,empty:v.value,error:p.value,field:"v-text-field",underlineColor:a.underlineColor,underlineStyle:a.underlineStyle,underlineWidth:a.underlineWidth,underlined:a.underlined,valueColor:a.valueColor})),V=e.computed(()=>({...Re,...s.cardProps})),T=e.computed(()=>Me({density:a.density,disabled:f.value,field:"v-text-field",iconSet:c==null?void 0:c.defaultSet,loading:u.value,loadingWait:a.loadingWait,tableField:a.tableField,variant:a.variant})),P=e.computed(()=>We({density:a.density,field:"v-text-field"})),z=Yn({density:a.density,variant:a.variant}),w=e.computed(()=>je({active:d.value,name:"text-field"})),b=e.computed(()=>Ge({name:"custom-field",showField:d.value})),C=e.computed(()=>({})),O=e.computed(()=>N.value);function F(){p.value=!1,t.value=g,W()}const N=e.ref(),k=e.ref(null),L=e.ref("body");function W(){var R,B;if(f.value||a.loadingWait&&u.value)return;N.value=Ae({cardMinWidth:(R=a.cardProps)==null?void 0:R.minWidth,cardOffsetX:a.cardOffsetX,cardOffsetY:a.cardOffsetY,cardWidth:(B=a.cardProps)==null?void 0:B.width,field:k.value});const S=qe({attrs:l,closeSiblings:a.closeSiblings,fieldOnly:a.fieldOnly,props:s,showField:d,timeOpened:m.value});a={...a,...S.settings},d.value=S.showField,m.value=S.timeOpened,M!==null&&a.closeSiblings&&d.value&&!a.fieldOnly&&M.emit(S.timeOpened)}const I=e.ref();function A(){const S=Xn({required:a.required,rules:a.rules,value:t});return p.value=S.errors,I.value=S.results,S.results}function E(){p.value?p.value=!0:(g=t.value,i("update",t.value),a.loadingWait||W())}let M,D;function _(S){i("update:closeSiblingFields",m),d.value&&m.value!==S&&F()}return e.watch(()=>d.value,()=>{d.value&&A()}),e.watch(()=>t.value,()=>{d.value&&A()}),a.closeSiblings&&import("@vueuse/core").then(({useEventBus:S})=>{M=S(Te),D=M.on(_)}),e.onUnmounted(()=>{D!==void 0&&M.off(_)}),(S,R)=>(e.openBlock(),e.createElementBlock("div",{ref_key:"inlineFieldsContainer",ref:k,class:e.normalizeClass(e.unref(T)),style:e.normalizeStyle(e.unref(C))},[!e.unref(d)&&!e.unref(a).fieldOnly||e.unref(a).cardField?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(e.unref(P))},[e.createElementVNode("div",{class:e.normalizeClass(e.unref(z))},[e.createVNode(e.unref(Kn),e.mergeProps(e.unref(x),{onToggleField:W}),e.createSlots({_:2},[e.renderList(e.unref(r),(B,$)=>({name:$,fn:e.withCtx(G=>[e.renderSlot(S.$slots,$,e.normalizeProps(e.guardReactiveProps({...G})))])}))]),1040)],2)],2)):e.createCommentVNode("",!0),e.unref(d)||e.unref(a).fieldOnly||e.unref(a).cardField?(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(["d-flex align-center py-2",e.unref(w)])},[(e.openBlock(),e.createBlock(e.Teleport,{disabled:!e.unref(a).cardField,to:e.unref(L)},[e.renderSlot(S.$slots,"default",e.normalizeProps(e.guardReactiveProps(e.unref(h)))),e.createVNode(e.unref(mn),{modelValue:t.value,"onUpdate:modelValue":R[0]||(R[0]=B=>t.value=B),"cancel-button-color":e.unref(a).cancelButtonColor,"cancel-button-size":e.unref(a).cancelButtonSize,"cancel-button-title":e.unref(a).cancelButtonTitle,"cancel-button-variant":e.unref(a).cancelButtonVariant,"cancel-icon":e.unref(a).cancelIcon,"cancel-icon-color":e.unref(a).cancelIconColor,error:e.unref(p),"field-only":e.unref(a).fieldOnly,"hide-save-icon":e.unref(a).hideSaveIcon,loading:e.unref(u),"loading-icon":e.unref(a).loadingIcon,"loading-icon-color":e.unref(a).loadingIconColor,required:e.unref(a).required,"save-button-color":e.unref(a).saveButtonColor,"save-button-size":e.unref(a).saveButtonSize,"save-button-title":e.unref(a).saveButtonTitle,"save-button-variant":e.unref(a).saveButtonVariant,"save-icon":e.unref(a).saveIcon,"save-icon-color":e.unref(a).saveIconColor,onClose:F,onSave:E},null,8,["modelValue","cancel-button-color","cancel-button-size","cancel-button-title","cancel-button-variant","cancel-icon","cancel-icon-color","error","field-only","hide-save-icon","loading","loading-icon","loading-icon-color","required","save-button-color","save-button-size","save-button-title","save-button-variant","save-icon","save-icon-color"])],8,["disabled","to"]))],2)):e.createCommentVNode("",!0),e.unref(a).cardField?(e.openBlock(),e.createElementBlock("div",{key:2,class:e.normalizeClass(e.unref(b)),style:e.normalizeStyle(e.unref(O))},[e.createVNode(Le,e.normalizeProps(e.guardReactiveProps(e.unref(V))),{default:e.withCtx(()=>[e.createVNode(Ne,null,{default:e.withCtx(()=>[e.createElementVNode("div",{ref_key:"cardFieldRef",ref:L},null,512)]),_:1})]),_:1},16)],6)):e.createCommentVNode("",!0)],6))}}),li=e.defineComponent({__name:"VInlineSelect",props:e.mergeModels(e.mergeDefaults({clearIcon:{},clearable:{},density:{},hideSelected:{},itemTitle:{},itemValue:{},items:{},menu:{},rules:{},variant:{},autofocus:{type:Boolean},cancelButtonColor:{},cancelButtonSize:{},cancelButtonTitle:{},cancelButtonVariant:{},cancelIcon:{},cancelIconColor:{},cardField:{type:Boolean},cardOffsetX:{},cardOffsetY:{},cardProps:{},closeSiblings:{type:Boolean},color:{},disabled:{type:Boolean},displayAppendIcon:{},displayAppendIconColor:{},displayAppendIconSize:{},displayAppendInnerIcon:{},displayAppendInnerIconColor:{},displayAppendInnerIconSize:{},displayPrependIcon:{},displayPrependIconColor:{},displayPrependIconSize:{},displayPrependInnerIcon:{},displayPrependInnerIconColor:{},displayPrependInnerIconSize:{},emptyText:{},error:{type:Boolean},fieldOnly:{type:Boolean},hideDetails:{type:Boolean},hideSaveIcon:{type:Boolean},item:{},label:{},loading:{type:Boolean},loadingIcon:{},loadingIconColor:{},loadingWait:{type:Boolean},name:{},required:{type:Boolean},saveButtonColor:{},saveButtonSize:{},saveButtonTitle:{},saveButtonVariant:{},saveIcon:{},saveIconColor:{},tableField:{type:Boolean},underlineColor:{},underlineStyle:{},underlineWidth:{},underlined:{type:Boolean},valueColor:{}},{...ra}),{modelValue:{}}),emits:e.mergeModels([...He],["update:modelValue"]),setup(n,{emit:o}){const t=e.useModel(n,"modelValue"),l=e.useAttrs(),r=e.useSlots(),i=o,c=e.inject(Symbol.for("vuetify:icons")),s=n;let a=e.reactive({...l,...s});const u=e.computed(()=>s.loading),f=e.computed(()=>s.disabled),v=e.ref(!1),p=e.ref(!1),d=e.ref(),m=e.ref(!1),g=e.ref(null);let y=t.value;e.watch(()=>u.value,($,G)=>{!$&&G&&m.value&&A()});const h=e.computed(()=>de({icon:s.clearIcon,iconOptions:c,name:"clear"})),x=e.computed(()=>t.value&&t.value[a.itemTitle]?(v.value=!1,t.value[a.itemTitle]):(t.value="",v.value=!0,a.emptyText)),V=e.computed(()=>sn(a)),T=e.computed(()=>({color:a.color,displayAppendIcon:s.displayAppendIcon,displayAppendIconColor:s.displayAppendIconColor,displayAppendIconSize:s.displayAppendIconSize,displayAppendInnerIcon:s.displayAppendInnerIcon,displayAppendInnerIconColor:s.displayAppendInnerIconColor,displayAppendInnerIconSize:s.displayAppendInnerIconSize,displayPrependIcon:s.displayPrependIcon,displayPrependIconColor:s.displayPrependIconColor,displayPrependIconSize:s.displayPrependIconSize,displayPrependInnerIcon:s.displayPrependInnerIcon,displayPrependInnerIconColor:s.displayPrependInnerIconColor,displayPrependInnerIconSize:s.displayPrependInnerIconSize,displayValue:x.value,empty:v.value,error:p.value,field:"v-text-field",underlineColor:a.underlineColor,underlineStyle:a.underlineStyle,underlineWidth:a.underlineWidth,underlined:a.underlined,valueColor:a.valueColor})),P=e.computed(()=>({...Re,...s.cardProps}));e.watchEffect(()=>{d.value=a.items||[]});const z=e.computed(()=>Me({density:a.density,disabled:f.value,field:"v-select",iconSet:c==null?void 0:c.defaultSet,loading:u.value,loadingWait:a.loadingWait,tableField:a.tableField,variant:a.variant})),w=e.computed(()=>We({density:a.density,field:"v-select"})),b=Yn({density:a.density,variant:a.variant}),C=e.computed(()=>je({active:m.value,name:"select"})),O=e.computed(()=>Ge({name:"select",showField:m.value})),F=e.computed(()=>({})),N=e.computed(()=>L.value);function k(){p.value=!1,t.value=y,A()}const L=e.ref(),W=e.ref(null),I=e.ref("body");function A(){var G,H;if(f.value||a.loadingWait&&u.value)return;L.value=Ae({cardMinWidth:(G=a.cardProps)==null?void 0:G.minWidth,cardOffsetX:a.cardOffsetX,cardOffsetY:a.cardOffsetY,cardWidth:(H=a.cardProps)==null?void 0:H.width,field:W.value});const $=qe({attrs:l,closeSiblings:a.closeSiblings,fieldOnly:a.fieldOnly,props:s,showField:m,timeOpened:g.value});a={...a,...$.settings},m.value=$.showField,g.value=$.timeOpened,S!==null&&a.closeSiblings&&m.value&&!a.fieldOnly&&S.emit($.timeOpened)}const E=e.ref(),M=e.computed(()=>E.value);function D(){const $=Xn({required:a.required,rules:a.rules,value:t});return p.value=$.errors,E.value=$.results,$.results}function _(){y=t.value,i("update",t.value),a.loadingWait||A()}let S,R;function B($){i("update:closeSiblingFields",g),m.value&&g.value!==$&&k()}return e.watch(()=>m.value,()=>{m.value&&D()}),e.watch(()=>t.value,()=>{m.value&&D()}),a.closeSiblings&&import("@vueuse/core").then(({useEventBus:$})=>{S=$(Te),R=S.on(B)}),e.onUnmounted(()=>{R!==void 0&&S.off(B)}),($,G)=>(e.openBlock(),e.createElementBlock("div",{ref_key:"inlineFieldsContainer",ref:W,class:e.normalizeClass(e.unref(z)),style:e.normalizeStyle(e.unref(F))},[!e.unref(m)&&!e.unref(a).fieldOnly||e.unref(a).cardField?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(e.unref(w))},[e.createElementVNode("div",{class:e.normalizeClass(e.unref(b))},[e.createVNode(e.unref(Kn),e.mergeProps(e.unref(T),{onToggleField:A}),e.createSlots({_:2},[e.renderList(e.unref(r),(H,q)=>({name:q,fn:e.withCtx(Z=>[e.renderSlot($.$slots,q,e.normalizeProps(e.guardReactiveProps({...Z})),void 0,!0)])}))]),1040)],2)],2)):e.createCommentVNode("",!0),e.unref(m)||e.unref(a).fieldOnly||e.unref(a).cardField?(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(e.unref(C))},[(e.openBlock(),e.createBlock(e.Teleport,{disabled:!e.unref(a).cardField,to:e.unref(I)},[e.createVNode(Mr,e.mergeProps(e.unref(V),{modelValue:t.value,"onUpdate:modelValue":G[0]||(G[0]=H=>t.value=H),autofocus:!e.unref(a).fieldOnly||e.unref(a).autofocus,"clear-icon":e.unref(h),clearable:e.unref(a).clearable,color:e.unref(a).color,density:e.unref(a).density,disabled:e.unref(u)||e.unref(f),error:e.unref(p),"error-messages":e.unref(M),"hide-details":e.unref(a).hideDetails,"hide-selected":e.unref(a).hideSelected,"item-title":e.unref(a).itemTitle,"item-value":e.unref(a).itemValue,items:e.unref(d),label:e.unref(a).label,loading:e.unref(u),menu:e.unref(a).menu&&!e.unref(a).fieldOnly&&e.unref(m),variant:e.unref(a).variant,width:"100%",onKeyup:e.withKeys(k,["esc"])}),e.createSlots({_:2},[e.renderList(e.unref(r),(H,q)=>({name:q,fn:e.withCtx(Z=>[e.renderSlot($.$slots,q,e.normalizeProps(e.guardReactiveProps({...Z})),void 0,!0)])})),e.unref(r).append?void 0:{name:"append",fn:e.withCtx(()=>[e.createVNode(e.unref(mn),{"cancel-button-color":e.unref(a).cancelButtonColor,"cancel-button-size":e.unref(a).cancelButtonSize,"cancel-button-title":e.unref(a).cancelButtonTitle,"cancel-button-variant":e.unref(a).cancelButtonVariant,"cancel-icon":e.unref(a).cancelIcon,"cancel-icon-color":e.unref(a).cancelIconColor,error:e.unref(p),"field-only":e.unref(a).fieldOnly,"hide-save-icon":e.unref(a).hideSaveIcon,loading:e.unref(u),"loading-icon":e.unref(a).loadingIcon,"loading-icon-color":e.unref(a).loadingIconColor,"save-button-color":e.unref(a).saveButtonColor,"save-button-size":e.unref(a).saveButtonSize,"save-button-title":e.unref(a).saveButtonTitle,"save-button-variant":e.unref(a).saveButtonVariant,"save-icon":e.unref(a).saveIcon,"save-icon-color":e.unref(a).saveIconColor,onClose:k,onSave:_},null,8,["cancel-button-color","cancel-button-size","cancel-button-title","cancel-button-variant","cancel-icon","cancel-icon-color","error","field-only","hide-save-icon","loading","loading-icon","loading-icon-color","save-button-color","save-button-size","save-button-title","save-button-variant","save-icon","save-icon-color"])]),key:"0"}]),1040,["modelValue","autofocus","clear-icon","clearable","color","density","disabled","error","error-messages","hide-details","hide-selected","item-title","item-value","items","label","loading","menu","variant","onKeyup"])],8,["disabled","to"]))],2)):e.createCommentVNode("",!0),e.unref(a).cardField?(e.openBlock(),e.createElementBlock("div",{key:2,class:e.normalizeClass(e.unref(O)),style:e.normalizeStyle(e.unref(N))},[e.createVNode(Le,e.normalizeProps(e.guardReactiveProps(e.unref(P))),{default:e.withCtx(()=>[e.createVNode(Ne,null,{default:e.withCtx(()=>[e.createElementVNode("div",{ref_key:"cardFieldRef",ref:I},null,512)]),_:1})]),_:1},16)],6)):e.createCommentVNode("",!0)],6))}}),ai={class:"v-selection-control__wrapper"},ve={VInlineCheckbox:ti,VInlineCustomField:oi,VInlineSelect:((n,o)=>{const t=n.__vccOpts||n;for(const[l,r]of o)t[l]=r;return t})(li,[["__scopeId","data-v-d028b1ff"]]),VInlineSwitch:e.defineComponent({__name:"VInlineSwitch",props:e.mergeModels(e.mergeDefaults({density:{},falseIcon:{},cancelButtonColor:{},cancelButtonSize:{},cancelButtonTitle:{},cancelButtonVariant:{},cancelIcon:{},cancelIconColor:{},cardField:{type:Boolean},cardOffsetX:{},cardOffsetY:{},cardProps:{},closeSiblings:{type:Boolean},color:{},disabled:{type:Boolean},displayAppendIcon:{},displayAppendIconColor:{},displayAppendIconSize:{},displayAppendInnerIcon:{},displayAppendInnerIconColor:{},displayAppendInnerIconSize:{},displayPrependIcon:{},displayPrependIconColor:{},displayPrependIconSize:{},displayPrependInnerIcon:{},displayPrependInnerIconColor:{},displayPrependInnerIconSize:{},emptyText:{},error:{type:Boolean},falseValue:{type:[Boolean,String]},fieldOnly:{type:Boolean},hideDetails:{type:Boolean},iconFalse:{},iconFalseColor:{},iconFalseTitle:{},iconTrue:{},iconTrueColor:{},iconTrueTitle:{},icons:{type:Boolean},item:{},label:{},loading:{type:Boolean},loadingWait:{type:Boolean},name:{},required:{type:Boolean},tableField:{type:Boolean},trueValue:{type:[Boolean,String]},underlineColor:{},underlineStyle:{},underlineWidth:{},underlined:{type:Boolean},valueColor:{}},{...ia}),{modelValue:{}}),emits:e.mergeModels([...He],["update:modelValue"]),setup(n,{emit:o}){const t=e.useModel(n,"modelValue"),l=e.useAttrs(),r=e.useSlots(),i=o,c=e.inject(Symbol.for("vuetify:icons")),s=Ft.useTheme(),a=n;let u=e.reactive({...l,...a});const f=e.computed(()=>a.loading),v=e.computed(()=>a.disabled),p=e.ref(!1),d=e.ref(!1),m=e.ref(null),g=e.computed(()=>sn(u)),y=e.computed(()=>({...Re,...a.cardProps}));e.watch(()=>f.value,(_,S)=>{!_&&S&&d.value&&I()});const h=e.computed(()=>de({icon:u.cancelIcon,iconOptions:c,name:"false"})),x=e.computed(()=>t.value==u.trueValue),V=e.computed(()=>Kl({modelValue:t,trueValue:u.trueValue})),T=e.computed(()=>Me({density:u.density,disabled:v.value,field:"v-switch",loading:f.value,loadingWait:u.loadingWait,tableField:u.tableField})),P=e.computed(()=>We({density:u.density,field:"v-switch"})),z=Yl({density:u.density}),w=e.computed(()=>je({active:d.value,name:"switch"})),b=e.computed(()=>Ht("switch",u.valueColor,{error:p})),C=e.computed(()=>Ge({name:"switch",showField:d.value})),O=e.computed(()=>({})),F=e.computed(()=>Ut({color:u.color,error:p,theme:s,underlineColor:u.underlineColor,underlineStyle:u.underlineStyle,underlineWidth:u.underlineWidth,underlined:u.underlined})),N=e.computed(()=>k.value),k=e.ref(),L=e.ref(null),W=e.ref("body");function I(){var S,R;if(v.value||u.loadingWait&&f.value)return;k.value=Ae({cardMinWidth:(S=u.cardProps)==null?void 0:S.minWidth,cardOffsetX:u.cardOffsetX,cardOffsetY:u.cardOffsetY,cardWidth:(R=u.cardProps)==null?void 0:R.width,field:L.value});const _=qe({attrs:l,closeSiblings:u.closeSiblings,fieldOnly:u.fieldOnly,props:a,showField:d.value,timeOpened:m.value});u={...u,..._.settings},d.value=_.showField,m.value=_.timeOpened,E!==null&&u.closeSiblings&&d.value&&!u.fieldOnly&&E.emit(_.timeOpened)}function A(_){t.value=_,i("update",_),u.loadingWait||I()}let E,M;function D(_){i("update:closeSiblingFields",m),d.value&&m.value!==_&&I()}return u.closeSiblings&&import("@vueuse/core").then(({useEventBus:_})=>{E=_(Te),M=E.on(D)}),e.onUnmounted(()=>{M!==void 0&&E.off(D)}),(_,S)=>(e.openBlock(),e.createElementBlock("div",{ref_key:"inlineFieldsContainer",ref:L,class:e.normalizeClass(e.unref(T)),style:e.normalizeStyle(e.unref(O))},[!e.unref(d)&&!e.unref(u).fieldOnly||e.unref(u).cardField?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(e.unref(P))},[e.createElementVNode("div",{class:e.normalizeClass(e.unref(z))},[e.createElementVNode("div",ai,[_.icons?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(e.unref(b)),style:e.normalizeStyle(e.unref(F)),onClick:I},[e.createVNode(e.unref(Ul),{modelValue:e.unref(V),"onUpdate:modelValue":S[0]||(S[0]=R=>e.isRef(V)?V.value=R:null),"icon-false":e.unref(u).iconFalse,"icon-false-color":e.unref(u).iconFalseColor,"icon-false-title":e.unref(u).iconFalseTitle,"icon-true":e.unref(u).iconTrue,"icon-true-color":e.unref(u).iconTrueColor,"icon-true-title":e.unref(u).iconTrueTitle},null,8,["modelValue","icon-false","icon-false-color","icon-false-title","icon-true","icon-true-color","icon-true-title"])],6)):(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(["d-inline-flex align-center justify-center",e.unref(b)]),style:e.normalizeStyle(e.unref(F)),onClick:I},e.toDisplayString(e.unref(x)),7))])],2)],2)):e.createCommentVNode("",!0),e.unref(d)||e.unref(u).fieldOnly||e.unref(u).cardField?(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(e.unref(w))},[(e.openBlock(),e.createBlock(e.Teleport,{disabled:!e.unref(u).cardField,to:e.unref(W)},[e.createVNode(Kr,e.mergeProps(e.unref(g),{color:e.unref(u).color,density:e.unref(u).density,disabled:e.unref(f)||e.unref(v),error:e.unref(p),"false-icon":e.unref(u).falseIcon,"false-value":e.unref(u).falseValue,"hide-details":e.unref(u).hideDetails,label:e.unref(u).label,loading:e.unref(f),"model-value":e.unref(V),"true-value":e.unref(u).trueValue,"onUpdate:modelValue":A}),e.createSlots({_:2},[e.renderList(e.unref(r),(R,B)=>({name:B,fn:e.withCtx($=>[e.renderSlot(_.$slots,B,e.normalizeProps(e.guardReactiveProps({...$})))])})),e.unref(r).append?void 0:{name:"append",fn:e.withCtx(()=>[!e.unref(u).fieldOnly||e.unref(u).cardField?(e.openBlock(),e.createBlock(ht,{key:0,class:"ms-3",color:e.unref(u).cancelButtonColor,icon:"",size:e.unref(u).cancelButtonSize,title:e.unref(u).cancelButtonTitle,variant:e.unref(u).cancelButtonVariant,onClick:I},{default:e.withCtx(()=>[e.createVNode(ee,{color:e.unref(u).cancelIconColor,icon:e.unref(h)},null,8,["color","icon"])]),_:1},8,["color","size","title","variant"])):e.createCommentVNode("",!0)]),key:"0"}]),1040,["color","density","disabled","error","false-icon","false-value","hide-details","label","loading","model-value","true-value"])],8,["disabled","to"]))],2)):e.createCommentVNode("",!0),e.unref(u).cardField?(e.openBlock(),e.createElementBlock("div",{key:2,class:e.normalizeClass(e.unref(C)),style:e.normalizeStyle(e.unref(N))},[e.createVNode(Le,e.normalizeProps(e.guardReactiveProps(e.unref(y))),{default:e.withCtx(()=>[e.createVNode(Ne,null,{default:e.withCtx(()=>[e.createElementVNode("div",{ref_key:"cardFieldRef",ref:W},null,512)]),_:1})]),_:1},16)],6)):e.createCommentVNode("",!0)],6))}}),VInlineTextField:e.defineComponent({__name:"VInlineTextField",props:e.mergeModels(e.mergeDefaults({clearIcon:{},density:{},rules:{},variant:{},autofocus:{type:Boolean},cancelButtonColor:{},cancelButtonSize:{},cancelButtonTitle:{},cancelButtonVariant:{},cancelIcon:{},cancelIconColor:{},cardField:{type:Boolean},cardOffsetX:{},cardOffsetY:{},cardProps:{},closeSiblings:{type:Boolean},color:{},disabled:{type:Boolean},displayAppendIcon:{},displayAppendIconColor:{},displayAppendIconSize:{},displayAppendInnerIcon:{},displayAppendInnerIconColor:{},displayAppendInnerIconSize:{},displayPrependIcon:{},displayPrependIconColor:{},displayPrependIconSize:{},displayPrependInnerIcon:{},displayPrependInnerIconColor:{},displayPrependInnerIconSize:{},emptyText:{},error:{type:Boolean},fieldOnly:{type:Boolean},hideDetails:{type:Boolean},hideSaveIcon:{type:Boolean},item:{},label:{},loading:{type:Boolean},loadingIcon:{},loadingIconColor:{},loadingWait:{type:Boolean},name:{},required:{type:Boolean},saveButtonColor:{},saveButtonSize:{},saveButtonTitle:{},saveButtonVariant:{},saveIcon:{},saveIconColor:{},tableField:{type:Boolean},truncateLength:{},truncateSuffix:{},underlineColor:{},underlineStyle:{},underlineWidth:{},underlined:{type:Boolean},valueColor:{}},{...Lo}),{modelValue:{}}),emits:e.mergeModels([...He],["update:modelValue"]),setup(n,{emit:o}){const t=e.useModel(n,"modelValue"),l=e.useAttrs(),r=e.useSlots(),i=o,c=e.inject(Symbol.for("vuetify:icons")),s=n;let a=e.reactive({...l,...s});const u=e.computed(()=>s.loading),f=e.computed(()=>s.disabled),v=e.ref(!1),p=e.ref(!1),d=e.ref(!1),m=e.ref(null);let g=t.value;e.watch(()=>u.value,(B,$)=>{!B&&$&&d.value&&I()});const y=e.computed(()=>de({icon:s.clearIcon,iconOptions:c,name:"clear"})),h=e.computed(()=>t.value?(v.value=!1,a.truncateLength?xt({length:a.truncateLength,suffix:a.truncateSuffix,text:t.value}):t.value):(v.value=!0,a.emptyText)),x=e.computed(()=>sn(a)),V=e.computed(()=>({color:a.color,displayAppendIcon:s.displayAppendIcon,displayAppendIconColor:s.displayAppendIconColor,displayAppendIconSize:s.displayAppendIconSize,displayAppendInnerIcon:s.displayAppendInnerIcon,displayAppendInnerIconColor:s.displayAppendInnerIconColor,displayAppendInnerIconSize:s.displayAppendInnerIconSize,displayPrependIcon:s.displayPrependIcon,displayPrependIconColor:s.displayPrependIconColor,displayPrependIconSize:s.displayPrependIconSize,displayPrependInnerIcon:s.displayPrependInnerIcon,displayPrependInnerIconColor:s.displayPrependInnerIconColor,displayPrependInnerIconSize:s.displayPrependInnerIconSize,displayValue:h.value,empty:v.value,error:p.value,field:"v-text-field",underlineColor:a.underlineColor,underlineStyle:a.underlineStyle,underlineWidth:a.underlineWidth,underlined:a.underlined,valueColor:a.valueColor})),T=e.computed(()=>({...Re,...s.cardProps})),P=e.computed(()=>Me({density:a.density,disabled:f.value,field:"v-text-field",iconSet:c==null?void 0:c.defaultSet,loading:u.value,loadingWait:a.loadingWait,tableField:a.tableField,variant:a.variant})),z=e.computed(()=>We({density:a.density,field:"v-text-field"})),w=Yn({density:a.density,variant:a.variant}),b=e.computed(()=>je({active:d.value,name:"text-field"})),C=e.computed(()=>Ge({name:"text-field",showField:d.value})),O=e.computed(()=>({})),F=e.computed(()=>k.value);function N(){p.value=!1,t.value=g,I()}const k=e.ref(),L=e.ref(null),W=e.ref("body");function I(){var $,G;if(f.value||a.loadingWait&&u.value)return;k.value=Ae({cardMinWidth:($=a.cardProps)==null?void 0:$.minWidth,cardOffsetX:a.cardOffsetX,cardOffsetY:a.cardOffsetY,cardWidth:(G=a.cardProps)==null?void 0:G.width,field:L.value});const B=qe({attrs:l,closeSiblings:a.closeSiblings,fieldOnly:a.fieldOnly,props:s,showField:d,timeOpened:m.value});a={...a,...B.settings},d.value=B.showField,m.value=B.timeOpened,_!==null&&a.closeSiblings&&d.value&&!a.fieldOnly&&_.emit(B.timeOpened)}const A=e.ref(),E=e.computed(()=>A.value);function M(){const B=Xn({required:a.required,rules:a.rules,value:t});return p.value=B.errors,A.value=B.results,B.results}function D(){p.value?p.value=!0:(g=t.value,i("update",t.value),a.loadingWait||I())}let _,S;function R(B){i("update:closeSiblingFields",m),d.value&&m.value!==B&&N()}return e.watch(()=>d.value,()=>{d.value&&M()}),e.watch(()=>t.value,()=>{d.value&&M()}),a.closeSiblings&&import("@vueuse/core").then(({useEventBus:B})=>{_=B(Te),S=_.on(R)}),e.onUnmounted(()=>{S!==void 0&&_.off(R)}),(B,$)=>(e.openBlock(),e.createElementBlock("div",{ref_key:"inlineFieldsContainer",ref:L,class:e.normalizeClass(e.unref(P)),style:e.normalizeStyle(e.unref(O))},[!e.unref(d)&&!e.unref(a).fieldOnly||e.unref(a).cardField?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(e.unref(z))},[e.createElementVNode("div",{class:e.normalizeClass(e.unref(w))},[e.createVNode(e.unref(Kn),e.mergeProps(e.unref(V),{onToggleField:I}),e.createSlots({_:2},[e.renderList(e.unref(r),(G,H)=>({name:H,fn:e.withCtx(q=>[e.renderSlot(B.$slots,H,e.normalizeProps(e.guardReactiveProps({...q})))])}))]),1040)],2)],2)):e.createCommentVNode("",!0),e.unref(d)||e.unref(a).fieldOnly||e.unref(a).cardField?(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(e.unref(b))},[(e.openBlock(),e.createBlock(e.Teleport,{disabled:!e.unref(a).cardField,to:e.unref(W)},[e.createVNode(kt,e.mergeProps(e.unref(x),{modelValue:t.value,"onUpdate:modelValue":$[1]||($[1]=G=>t.value=G),autofocus:!e.unref(a).fieldOnly||e.unref(a).autofocus,"clear-icon":e.unref(y),color:e.unref(a).color,density:e.unref(a).density,disabled:e.unref(u)||e.unref(f),error:e.unref(p),"error-messages":e.unref(E),"hide-details":e.unref(a).hideDetails,label:e.unref(a).label,loading:e.unref(u),variant:e.unref(a).variant,width:"100%",onKeyup:[e.withKeys(D,["enter"]),e.withKeys(N,["esc"])]}),e.createSlots({_:2},[e.renderList(e.unref(r),(G,H)=>({name:H,fn:e.withCtx(q=>[e.renderSlot(B.$slots,H,e.normalizeProps(e.guardReactiveProps({...q})))])})),e.unref(r).append?void 0:{name:"append",fn:e.withCtx(()=>[e.createVNode(e.unref(mn),{modelValue:t.value,"onUpdate:modelValue":$[0]||($[0]=G=>t.value=G),"cancel-button-color":e.unref(a).cancelButtonColor,"cancel-button-size":e.unref(a).cancelButtonSize,"cancel-button-title":e.unref(a).cancelButtonTitle,"cancel-button-variant":e.unref(a).cancelButtonVariant,"cancel-icon":e.unref(a).cancelIcon,"cancel-icon-color":e.unref(a).cancelIconColor,error:e.unref(p),"field-only":e.unref(a).fieldOnly,"hide-save-icon":e.unref(a).hideSaveIcon,loading:e.unref(u),"loading-icon":e.unref(a).loadingIcon,"loading-icon-color":e.unref(a).loadingIconColor,required:e.unref(a).required,"save-button-color":e.unref(a).saveButtonColor,"save-button-size":e.unref(a).saveButtonSize,"save-button-title":e.unref(a).saveButtonTitle,"save-button-variant":e.unref(a).saveButtonVariant,"save-icon":e.unref(a).saveIcon,"save-icon-color":e.unref(a).saveIconColor,onClose:N,onSave:D},null,8,["modelValue","cancel-button-color","cancel-button-size","cancel-button-title","cancel-button-variant","cancel-icon","cancel-icon-color","error","field-only","hide-save-icon","loading","loading-icon","loading-icon-color","required","save-button-color","save-button-size","save-button-title","save-button-variant","save-icon","save-icon-color"])]),key:"0"}]),1040,["modelValue","autofocus","clear-icon","color","density","disabled","error","error-messages","hide-details","label","loading","variant","onKeyup"])],8,["disabled","to"]))],2)):e.createCommentVNode("",!0),e.unref(a).cardField?(e.openBlock(),e.createElementBlock("div",{key:2,class:e.normalizeClass(e.unref(C)),style:e.normalizeStyle(e.unref(F))},[e.createVNode(Le,e.normalizeProps(e.guardReactiveProps(e.unref(T))),{default:e.withCtx(()=>[e.createVNode(Ne,null,{default:e.withCtx(()=>[e.createElementVNode("div",{ref_key:"cardFieldRef",ref:W},null,512)]),_:1})]),_:1},16)],6)):e.createCommentVNode("",!0)],6))}}),VInlineTextarea:e.defineComponent({__name:"VInlineTextarea",props:e.mergeModels(e.mergeDefaults({autoGrow:{},clearIcon:{},density:{},rows:{},rules:{},variant:{},autofocus:{type:Boolean},cancelButtonColor:{},cancelButtonSize:{},cancelButtonTitle:{},cancelButtonVariant:{},cancelIcon:{},cancelIconColor:{},cardField:{type:Boolean},cardOffsetX:{},cardOffsetY:{},cardProps:{},closeSiblings:{type:Boolean},color:{},disabled:{type:Boolean},displayAppendIcon:{},displayAppendIconColor:{},displayAppendIconSize:{},displayAppendInnerIcon:{},displayAppendInnerIconColor:{},displayAppendInnerIconSize:{},displayPrependIcon:{},displayPrependIconColor:{},displayPrependIconSize:{},displayPrependInnerIcon:{},displayPrependInnerIconColor:{},displayPrependInnerIconSize:{},emptyText:{},error:{type:Boolean},fieldOnly:{type:Boolean},hideDetails:{type:Boolean},hideSaveIcon:{type:Boolean},item:{},label:{},loading:{type:Boolean},loadingIcon:{},loadingIconColor:{},loadingWait:{type:Boolean},name:{},required:{type:Boolean},saveButtonColor:{},saveButtonSize:{},saveButtonTitle:{},saveButtonVariant:{},saveIcon:{},saveIconColor:{},tableField:{type:Boolean},truncateLength:{},truncateSuffix:{},underlineColor:{},underlineStyle:{},underlineWidth:{},underlined:{type:Boolean},valueColor:{}},{...sa}),{modelValue:{}}),emits:e.mergeModels([...He],["update:modelValue"]),setup(n,{emit:o}){const t=e.useModel(n,"modelValue"),l=e.useAttrs(),r=e.useSlots(),i=o,c=e.inject(Symbol.for("vuetify:icons")),s=n;let a=e.reactive({...l,...s});const u=e.computed(()=>s.loading),f=e.computed(()=>s.disabled),v=e.ref(!1),p=e.ref(!1),d=e.ref(!1),m=e.ref(null);let g=t.value;e.watch(()=>u.value,(B,$)=>{!B&&$&&d.value&&I()});const y=e.computed(()=>de({icon:s.clearIcon,iconOptions:c,name:"clear"})),h=e.computed(()=>t.value?(v.value=!1,a.truncateLength?xt({length:a.truncateLength,suffix:a.truncateSuffix,text:t.value}):t.value):(v.value=!0,a.emptyText)),x=e.computed(()=>sn(a)),V=e.computed(()=>({color:a.color,displayAppendIcon:s.displayAppendIcon,displayAppendIconColor:s.displayAppendIconColor,displayAppendIconSize:s.displayAppendIconSize,displayAppendInnerIcon:s.displayAppendInnerIcon,displayAppendInnerIconColor:s.displayAppendInnerIconColor,displayAppendInnerIconSize:s.displayAppendInnerIconSize,displayPrependIcon:s.displayPrependIcon,displayPrependIconColor:s.displayPrependIconColor,displayPrependIconSize:s.displayPrependIconSize,displayPrependInnerIcon:s.displayPrependInnerIcon,displayPrependInnerIconColor:s.displayPrependInnerIconColor,displayPrependInnerIconSize:s.displayPrependInnerIconSize,displayValue:h.value,empty:v.value,error:p.value,field:"v-text-field",underlineColor:a.underlineColor,underlineStyle:a.underlineStyle,underlineWidth:a.underlineWidth,underlined:a.underlined,valueColor:a.valueColor})),T=e.computed(()=>({...Re,...s.cardProps})),P=e.computed(()=>Me({density:a.density,disabled:f.value,field:"v-textarea",iconSet:c==null?void 0:c.defaultSet,loading:u.value,loadingWait:a.loadingWait,tableField:a.tableField,variant:a.variant})),z=e.computed(()=>We({density:a.density,field:"v-textarea"})),w=Yn({density:a.density,variant:a.variant}),b=e.computed(()=>je({active:d.value,name:"textarea"})),C=e.computed(()=>Ge({name:"textarea",showField:d.value})),O=e.computed(()=>({})),F=e.computed(()=>k.value);function N(){p.value=!1,t.value=g,I()}const k=e.ref(),L=e.ref(null),W=e.ref("body");function I(){var $,G;if(f.value||a.loadingWait&&u.value)return;k.value=Ae({cardMinWidth:($=a.cardProps)==null?void 0:$.minWidth,cardOffsetX:a.cardOffsetX,cardOffsetY:a.cardOffsetY,cardWidth:(G=a.cardProps)==null?void 0:G.width,field:L.value});const B=qe({attrs:l,closeSiblings:a.closeSiblings,fieldOnly:a.fieldOnly,props:s,showField:d,timeOpened:m.value});a={...a,...B.settings},d.value=B.showField,m.value=B.timeOpened,_!==null&&a.closeSiblings&&d.value&&!a.fieldOnly&&_.emit(B.timeOpened)}const A=e.ref(),E=e.computed(()=>A.value);function M(){const B=Xn({required:a.required,rules:a.rules,value:t});return p.value=B.errors,A.value=B.results,B.results}function D(){g=t.value,i("update",t.value),a.loadingWait||I()}let _,S;function R(B){i("update:closeSiblingFields",m),d.value&&m.value!==B&&N()}return e.watch(()=>d.value,()=>{d.value&&M()}),e.watch(()=>t.value,()=>{d.value&&M()}),a.closeSiblings&&import("@vueuse/core").then(({useEventBus:B})=>{_=B(Te),S=_.on(R)}),e.onUnmounted(()=>{S!==void 0&&_.off(R)}),(B,$)=>(e.openBlock(),e.createElementBlock("div",{ref_key:"inlineFieldsContainer",ref:L,class:e.normalizeClass(e.unref(P)),style:e.normalizeStyle(e.unref(O))},[!e.unref(d)&&!e.unref(a).fieldOnly||e.unref(a).cardField?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(e.unref(z))},[e.createElementVNode("div",{class:e.normalizeClass(e.unref(w))},[e.createVNode(e.unref(Kn),e.mergeProps(e.unref(V),{onToggleField:I}),e.createSlots({_:2},[e.renderList(e.unref(r),(G,H)=>({name:H,fn:e.withCtx(q=>[e.renderSlot(B.$slots,H,e.normalizeProps(e.guardReactiveProps({...q})))])}))]),1040)],2)],2)):e.createCommentVNode("",!0),e.unref(d)||e.unref(a).fieldOnly||e.unref(a).cardField?(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(e.unref(b))},[(e.openBlock(),e.createBlock(e.Teleport,{disabled:!e.unref(a).cardField,to:e.unref(W)},[e.createVNode(Jr,e.mergeProps(e.unref(x),{modelValue:t.value,"onUpdate:modelValue":$[0]||($[0]=G=>t.value=G),"auto-grow":e.unref(a).autoGrow,autofocus:!e.unref(a).fieldOnly||e.unref(a).autofocus,"clear-icon":e.unref(y),color:e.unref(a).color,density:e.unref(a).density,disabled:e.unref(u)||e.unref(f),error:e.unref(p),"error-messages":e.unref(E),"hide-details":e.unref(a).hideDetails,label:e.unref(a).label,loading:e.unref(u),rows:e.unref(a).rows,variant:e.unref(a).variant,width:"100%",onKeyup:e.withKeys(N,["esc"])}),e.createSlots({_:2},[e.renderList(e.unref(r),(G,H)=>({name:H,fn:e.withCtx(q=>[e.renderSlot(B.$slots,H,e.normalizeProps(e.guardReactiveProps({...q})))])})),e.unref(r).append?void 0:{name:"append",fn:e.withCtx(()=>[e.createVNode(e.unref(mn),{"cancel-button-color":e.unref(a).cancelButtonColor,"cancel-button-size":e.unref(a).cancelButtonSize,"cancel-button-title":e.unref(a).cancelButtonTitle,"cancel-button-variant":e.unref(a).cancelButtonVariant,"cancel-icon":e.unref(a).cancelIcon,"cancel-icon-color":e.unref(a).cancelIconColor,error:e.unref(p),"field-only":e.unref(a).fieldOnly,"hide-save-icon":e.unref(a).hideSaveIcon,loading:e.unref(u),"loading-icon":e.unref(a).loadingIcon,"loading-icon-color":e.unref(a).loadingIconColor,"save-button-color":e.unref(a).saveButtonColor,"save-button-size":e.unref(a).saveButtonSize,"save-button-title":e.unref(a).saveButtonTitle,"save-button-variant":e.unref(a).saveButtonVariant,"save-icon":e.unref(a).saveIcon,"save-icon-color":e.unref(a).saveIconColor,onClose:N,onSave:D},null,8,["cancel-button-color","cancel-button-size","cancel-button-title","cancel-button-variant","cancel-icon","cancel-icon-color","error","field-only","hide-save-icon","loading","loading-icon","loading-icon-color","save-button-color","save-button-size","save-button-title","save-button-variant","save-icon","save-icon-color"])]),key:"0"}]),1040,["modelValue","auto-grow","autofocus","clear-icon","color","density","disabled","error","error-messages","hide-details","label","loading","rows","variant","onKeyup"])],8,["disabled","to"]))],2)):e.createCommentVNode("",!0),e.unref(a).cardField?(e.openBlock(),e.createElementBlock("div",{key:2,class:e.normalizeClass(e.unref(C)),style:e.normalizeStyle(e.unref(F))},[e.createVNode(Le,e.normalizeProps(e.guardReactiveProps(e.unref(T))),{default:e.withCtx(()=>[e.createVNode(Ne,null,{default:e.withCtx(()=>[e.createElementVNode("div",{ref_key:"cardFieldRef",ref:W},null,512)]),_:1})]),_:1},16)],6)):e.createCommentVNode("",!0)],6))}})},ri=n=>{for(const o in ve){const t=ve[o];n.component(t.name,t)}};for(const n in ve)ve[n].install=ri;const ii=ve.VInlineCheckbox,si=ve.VInlineCustomField,ui=ve.VInlineSelect,ci=ve.VInlineSwitch,di=ve.VInlineTextField,pi=ve.VInlineTextarea,vi={VInlineFields:ve};exports.VInlineCheckbox=ii,exports.VInlineCustomField=si,exports.VInlineSelect=ui,exports.VInlineSwitch=ci,exports.VInlineTextField=di,exports.VInlineTextarea=pi,exports.default=vi; (function(){"use strict";try{if(typeof document<"u"){var i=document.createElement("style");i.appendChild(document.createTextNode("[data-v-d028b1ff] .v-field__field{align-items:flex-end!important}:root{--v-inline-fields-top-padding-compact: 13px;--v-inline-fields-top-padding-comfortable: 17px;--v-inline-fields-top-padding-default: 21px;--v-inline-fields-input-height: 24px;--v-inline-fields-density-compact-height: 32px;--v-inline-fields-density-comfortable-height: 40px;--v-inline-fields-grey: #909090}.v-inline-fields--container-v-select-comfortable-plain .v-input__control .v-field__clearable,.v-inline-fields--container-v-select-comfortable-underlined .v-input__control .v-field__clearable,.v-inline-fields--container-v-text-field-comfortable-plain .v-input__control .v-field__clearable,.v-inline-fields--container-v-text-field-comfortable-underlined .v-input__control .v-field__clearable,.v-inline-fields--container-v-select-compact-plain .v-input__control .v-field__clearable,.v-inline-fields--container-v-select-compact-underlined .v-input__control .v-field__clearable,.v-inline-fields--container-v-text-field-compact-plain .v-input__control .v-field__clearable,.v-inline-fields--container-v-text-field-compact-underlined .v-input__control .v-field__clearable,.v-inline-fields--container-v-select-comfortable-plain .v-input__control .v-input__append,.v-inline-fields--container-v-select-comfortable-underlined .v-input__control .v-input__append,.v-inline-fields--container-v-text-field-comfortable-plain .v-input__control .v-input__append,.v-inline-fields--container-v-text-field-comfortable-underlined .v-input__control .v-input__append,.v-inline-fields--container-v-select-compact-plain .v-input__control .v-input__append,.v-inline-fields--container-v-select-compact-underlined .v-input__control .v-input__append,.v-inline-fields--container-v-text-field-compact-plain .v-input__control .v-input__append,.v-inline-fields--container-v-text-field-compact-underlined .v-input__control .v-input__append{padding-top:0!important}.v-inline-fields--container-v-select-comfortable-plain .v-input__control .v-field__clearable .v-icon,.v-inline-fields--container-v-select-comfortable-underlined .v-input__control .v-field__clearable .v-icon,.v-inline-fields--container-v-text-field-comfortable-plain .v-input__control .v-field__clearable .v-icon,.v-inline-fields--container-v-text-field-comfortable-underlined .v-input__control .v-field__clearable .v-icon,.v-inline-fields--container-v-select-compact-plain .v-input__control .v-field__clearable .v-icon,.v-inline-fields--container-v-select-compact-underlined .v-input__control .v-field__clearable .v-icon,.v-inline-fields--container-v-text-field-compact-plain .v-input__control .v-field__clearable .v-icon,.v-inline-fields--container-v-text-field-compact-underlined .v-input__control .v-field__clearable .v-icon,.v-inline-fields--container-v-select-comfortable-plain .v-input__control .v-input__append .v-icon,.v-inline-fields--container-v-select-comfortable-underlined .v-input__control .v-input__append .v-icon,.v-inline-fields--container-v-text-field-comfortable-plain .v-input__control .v-input__append .v-icon,.v-inline-fields--container-v-text-field-comfortable-underlined .v-input__control .v-input__append .v-icon,.v-inline-fields--container-v-select-compact-plain .v-input__control .v-input__append .v-icon,.v-inline-fields--container-v-select-compact-underlined .v-input__control .v-input__append .v-icon,.v-inline-fields--container-v-text-field-compact-plain .v-input__control .v-input__append .v-icon,.v-inline-fields--container-v-text-field-compact-underlined .v-input__control .v-input__append .v-icon{font-size:1rem!important}.v-inline-fields{position:relative}.v-inline-fields--display-container *{align-items:center;display:flex}.v-inline-fields--display-value{cursor:pointer;letter-spacing:.009375em!important}.v-inline-fields--display-value-empty{color:var(--v-inline-fields-grey);font-style:italic}.v-inline-fields--display-value-checkbox,.v-inline-fields--display-value-switch{padding-bottom:2px;padding-top:6px}.v-inline-fields--display-append-icon,.v-inline-fields--display-prepend-icon,.v-inline-fields--display-append-inner-icon,.v-inline-fields--display-prepend-inner-icon{align-items:flex-end;display:inline-flex}.v-inline-fields--container-disabled .v-inline-fields--display-value{cursor:default!important;opacity:var(--v-disabled-opacity)}.v-inline-fields--container-loading .v-inline-fields--display-value{cursor:wait!important}.v-inline-fields--container-icon-set-fa .v-field__clearable{font-size:.8rem}.v-inline-fields--container-icon-set-fa .v-field__append-inner{align-items:flex-end;padding-bottom:0!important}.v-inline-fields--container-v-select-compact-plain .v-input,.v-inline-fields--container-v-select-compact-underlined .v-input,.v-inline-fields--container-v-text-field-compact-plain .v-input,.v-inline-fields--container-v-text-field-compact-underlined .v-input{height:var(--v-inline-fields-density-compact-height);max-height:var(--v-inline-fields-density-compact-height)}.v-inline-fields--container-v-select-compact-plain .v-input__control,.v-inline-fields--container-v-select-compact-underlined .v-input__control,.v-inline-fields--container-v-text-field-compact-plain .v-input__control,.v-inline-fields--container-v-text-field-compact-underlined .v-input__control{padding-bottom:4px}.v-inline-fields--container-v-select-compact-plain .v-input>div,.v-inline-fields--container-v-select-compact-underlined .v-input>div,.v-inline-fields--container-v-text-field-compact-plain .v-input>div,.v-inline-fields--container-v-text-field-compact-underlined .v-input>div{height:inherit!important;max-height:inherit!important}.v-inline-fields--container-v-select-compact-plain .v-input .v-field__input,.v-inline-fields--container-v-select-compact-underlined .v-input .v-field__input,.v-inline-fields--container-v-text-field-compact-plain .v-input .v-field__input,.v-inline-fields--container-v-text-field-compact-underlined .v-input .v-field__input{padding-top:0}.v-inline-fields--container-v-select-compact-plain .v-input .v-field__input input,.v-inline-fields--container-v-select-compact-underlined .v-input .v-field__input input,.v-inline-fields--container-v-text-field-compact-plain .v-input .v-field__input input,.v-inline-fields--container-v-text-field-compact-underlined .v-input .v-field__input input{padding-bottom:10px}.v-inline-fields--container-v-select-compact-plain .v-input .v-select__selection,.v-inline-fields--container-v-select-compact-underlined .v-input .v-select__selection,.v-inline-fields--container-v-text-field-compact-plain .v-input .v-select__selection,.v-inline-fields--container-v-text-field-compact-underlined .v-input .v-select__selection{align-items:center;padding-bottom:10px}.v-inline-fields--container-v-select-comfortable-plain .v-input,.v-inline-fields--container-v-select-comfortable-underlined .v-input,.v-inline-fields--container-v-text-field-comfortable-plain .v-input,.v-inline-fields--container-v-text-field-comfortable-underlined .v-input{height:var(--v-inline-fields-density-comfortable-height);max-height:var(--v-inline-fields-density-comfortable-height)}.v-inline-fields--container-v-select-comfortable-plain .v-input__control,.v-inline-fields--container-v-select-comfortable-underlined .v-input__control,.v-inline-fields--container-v-text-field-comfortable-plain .v-input__control,.v-inline-fields--container-v-text-field-comfortable-underlined .v-input__control{padding-bottom:8px}.v-inline-fields--container-v-select-comfortable-plain .v-input>div,.v-inline-fields--container-v-select-comfortable-underlined .v-input>div,.v-inline-fields--container-v-text-field-comfortable-plain .v-input>div,.v-inline-fields--container-v-text-field-comfortable-underlined .v-input>div{height:inherit!important;max-height:inherit!important}.v-inline-fields--container-v-select-comfortable-plain .v-input .v-field__input,.v-inline-fields--container-v-select-comfortable-underlined .v-input .v-field__input,.v-inline-fields--container-v-text-field-comfortable-plain .v-input .v-field__input,.v-inline-fields--container-v-text-field-comfortable-underlined .v-input .v-field__input{padding-top:0}.v-inline-fields--container-v-select-comfortable-plain .v-input .v-field__input input,.v-inline-fields--container-v-select-comfortable-underlined .v-input .v-field__input input,.v-inline-fields--container-v-text-field-comfortable-plain .v-input .v-field__input input,.v-inline-fields--container-v-text-field-comfortable-underlined .v-input .v-field__input input{padding-bottom:6px}.v-inline-fields--container-v-select-comfortable-plain .v-input .v-select__selection,.v-inline-fields--container-v-select-comfortable-underlined .v-input .v-select__selection,.v-inline-fields--container-v-text-field-comfortable-plain .v-input .v-select__selection,.v-inline-fields--container-v-text-field-comfortable-underlined .v-input .v-select__selection{align-items:center;padding-bottom:6px}.v-inline-fields--container-v-select-compact-plain .v-field__append-inner,.v-inline-fields--container-v-select-compact-underlined .v-field__append-inner{padding-top:4px!important}.v-inline-fields--container-v-select-comfortable-plain .v-field__append-inner,.v-inline-fields--container-v-select-comfortable-underlined .v-field__append-inner{padding-top:8px!important}.v-inline-fields--container-v-textarea .v-inline-fields--save-fields-container{align-items:flex-end}.v-inline-fields--container-v-select,.v-inline-fields--container-v-textarea,.v-inline-fields--container-v-text-field{width:100%}.v-inline-fields--container-v-checkbox .v-input,.v-inline-fields--container-v-switch .v-input{align-items:center;display:flex;padding-bottom:0}.v-inline-fields--container-v-checkbox .v-input__append,.v-inline-fields--container-v-switch .v-input__append{margin-inline-start:0!important;margin-left:0;padding-bottom:0!important}.v-inline-fields--container-v-checkbox .v-selection-control,.v-inline-fields--container-v-switch .v-selection-control{min-height:unset}.v-inline-fields--container-v-checkbox .v-inline-fields--save-fields-container,.v-inline-fields--container-v-switch .v-inline-fields--save-fields-container{align-items:center!important}.v-inline-fields--container .v-input__append,.v-inline-fields--container .v-input__prepend,.v-inline-fields--container .v-field__append-inner,.v-inline-fields--container .v-field__prepend-inner{padding-top:0!important}.v-inline-fields--container .v-input__append .v-icon,.v-inline-fields--container .v-input__prepend .v-icon,.v-inline-fields--container .v-field__append-inner .v-icon,.v-inline-fields--container .v-field__prepend-inner .v-icon{font-size:1rem!important}.v-inline-fields--container .v-field__append-inner,.v-inline-fields--container .v-field__prepend-inner{padding-bottom:10px!important}.v-inline-fields--container-compact .v-input__append,.v-inline-fields--container-compact .v-input__prepend,.v-inline-fields--container-compact .v-field__append-inner,.v-inline-fields--container-compact .v-field__prepend-inner{align-items:center!important}.v-inline-fields--container-compact .v-field__append-inner,.v-inline-fields--container-compact .v-field__prepend-inner{padding-bottom:10px!important}.v-inline-fields--container-comfortable .v-input__append,.v-inline-fields--container-comfortable .v-input__prepend,.v-inline-fields--container-comfortable .v-field__append-inner,.v-inline-fields--container-comfortable .v-field__prepend-inner{align-items:center!important}.v-inline-fields--container-comfortable .v-field__append-inner,.v-inline-fields--container-comfortable .v-field__prepend-inner{padding-bottom:6px!important}.v-inline-fields--container-default .v-input__append,.v-inline-fields--container-default .v-input__prepend,.v-inline-fields--container-default .v-field__append-inner,.v-inline-fields--container-default .v-field__prepend-inner{align-items:flex-end!important;padding-bottom:0!important}.v-inline-fields--container-default .v-input__append .v-icon,.v-inline-fields--container-default .v-input__prepend .v-icon,.v-inline-fields--container-default .v-field__append-inner .v-icon,.v-inline-fields--container-default .v-field__prepend-inner .v-icon{font-size:calc(var(--v-icon-size-multiplier) * 1.5em)!important}.v-inline-fields--container-default .v-inline-fields--save-fields-container{align-items:flex-end!important}.v-inline-fields--card-container{height:fit-content;min-width:fit-content!important;position:absolute}.v-inline-fields--card-container .v-card{border:1px solid hsla(0,0%,50%,.5)}.v-inline-fields--card-container .v-card .v-card-text{padding:5px 10px}.v-inline-fields--card-container .v-card .v-card-text>div{align-items:center;display:flex}.v-inline-fields--card-container-checkbox .v-card .v-card-text .v-input__append{margin-inline-start:0}.v-inline-fields--save-fields-container{align-items:center;display:flex;height:100%;margin-left:.1rem}.v-inline-fields--boolean-icons{font-size:calc(var(--v-icon-size-multiplier) * 1em)}.v-inline-fields .truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:250px}.v-inline-fields .v-input__append{padding-top:0}")),document.head.appendChild(i)}}catch(n){console.error("vite-plugin-css-injected-by-js",n)}})(); diff --git a/dist/vuetify-inline-fields.es.js b/dist/vuetify-inline-fields.es.js index 5b43734..2e637cb 100644 --- a/dist/vuetify-inline-fields.es.js +++ b/dist/vuetify-inline-fields.es.js @@ -1,9 +1,9 @@ -import { Fragment as fe, reactive as ze, computed as v, watchEffect as Ue, toRefs as Po, capitalize as $o, isVNode as Ka, Comment as Ja, warn as Wt, inject as ve, ref as R, unref as u, provide as Te, shallowRef as ue, defineComponent as Re, camelize as Eo, h as Rt, getCurrentInstance as Za, onBeforeUnmount as on, watch as K, readonly as bl, onScopeDispose as we, effectScope as Cl, toRaw as nn, TransitionGroup as Qa, Transition as yn, createVNode as d, mergeProps as Z, onBeforeMount as To, nextTick as xe, withDirectives as Be, resolveDirective as Xe, vShow as Dn, isRef as mn, onMounted as Ln, toRef as ne, Text as ei, resolveDynamicComponent as ni, Teleport as rn, cloneVNode as ti, createTextVNode as zo, vModelText as li, mergeModels as _e, useModel as sn, openBlock as X, createBlock as he, useSlots as un, createElementBlock as oe, normalizeClass as ee, normalizeStyle as ge, renderSlot as Fe, normalizeProps as ye, createCommentVNode as pe, createElementVNode as Ie, toDisplayString as Il, useAttrs as cn, withCtx as se, mergeDefaults as Sn, onUnmounted as xn, createSlots as Ge, renderList as qe, guardReactiveProps as be, withKeys as St } from "vue"; +import { Fragment as fe, reactive as ze, computed as v, watchEffect as Ue, toRefs as Po, capitalize as $o, isVNode as Ka, Comment as Ja, warn as Wt, inject as ve, ref as R, unref as s, provide as Te, shallowRef as ue, defineComponent as Re, camelize as Eo, h as Rt, getCurrentInstance as Za, onBeforeUnmount as on, watch as K, readonly as bl, onScopeDispose as we, effectScope as Cl, toRaw as nn, TransitionGroup as Qa, Transition as yn, createVNode as d, mergeProps as Z, onBeforeMount as To, nextTick as xe, withDirectives as Be, resolveDirective as Xe, vShow as Dn, isRef as mn, onMounted as Ln, toRef as ne, Text as ei, resolveDynamicComponent as ni, Teleport as rn, cloneVNode as ti, createTextVNode as zo, vModelText as li, mergeModels as _e, useModel as sn, openBlock as X, createBlock as he, useSlots as un, createElementBlock as oe, normalizeClass as ee, normalizeStyle as ge, renderSlot as Fe, normalizeProps as ye, createCommentVNode as pe, createElementVNode as Ie, toDisplayString as Il, useAttrs as cn, withCtx as se, mergeDefaults as Sn, onUnmounted as xn, createSlots as Ge, renderList as qe, guardReactiveProps as be, withKeys as St } from "vue"; import { useTheme as Sl } from "vuetify"; import { useWindowSize as oi } from "@vueuse/core"; /** * @name @wdns/vuetify-inline-fields - * @version 1.0.0-beta-1.11 + * @version 1.0.0-beta-1.12 * @description Vuetify Inline Fields Component Library offers a comprehensive collection of reusable UI components to create elegant and efficient inline form fields within your applications. * @author WebDevNerdStuff & Bunnies... lots and lots of bunnies! (https://webdevnerdstuff.com) * @copyright Copyright 2023, WebDevNerdStuff @@ -267,7 +267,7 @@ function wl(e) { return new wn(t); a = l.slice(7, -1).split(/, /), i = +a[0], c = +a[3], r = +a[4], o = +a[5]; } - const s = n.transformOrigin, m = t.x - r - (1 - i) * parseFloat(s), y = t.y - o - (1 - c) * parseFloat(s.slice(s.indexOf(" ") + 1)), f = i ? t.width / i : e.offsetWidth + 1, p = c ? t.height / c : e.offsetHeight + 1; + const u = n.transformOrigin, m = t.x - r - (1 - i) * parseFloat(u), y = t.y - o - (1 - c) * parseFloat(u.slice(u.indexOf(" ") + 1)), f = i ? t.width / i : e.offsetWidth + 1, p = c ? t.height / c : e.offsetHeight + 1; return new wn({ x: m, y, width: f, height: p }); } return new wn(t); @@ -290,14 +290,14 @@ function In(e, t, n) { const ht = /* @__PURE__ */ new WeakMap(), bn = 2.4, Jl = 0.2126729, Zl = 0.7151522, Ql = 0.072175, pi = 0.55, vi = 0.58, fi = 0.57, yi = 0.62, bt = 0.03, eo = 1.45, mi = 5e-4, gi = 1.25, hi = 1.25, no = 0.078, to = 12.82051282051282, Ct = 0.06, lo = 1e-3; function oo(e, t) { const n = (e.r / 255) ** bn, l = (e.g / 255) ** bn, a = (e.b / 255) ** bn, i = (t.r / 255) ** bn, c = (t.g / 255) ** bn, r = (t.b / 255) ** bn; - let o, s = n * Jl + l * Zl + a * Ql, m = i * Jl + c * Zl + r * Ql; - if (s <= bt && (s += (bt - s) ** eo), m <= bt && (m += (bt - m) ** eo), Math.abs(m - s) < mi) + let o, u = n * Jl + l * Zl + a * Ql, m = i * Jl + c * Zl + r * Ql; + if (u <= bt && (u += (bt - u) ** eo), m <= bt && (m += (bt - m) ** eo), Math.abs(m - u) < mi) return 0; - if (m > s) { - const y = (m ** pi - s ** vi) * gi; + if (m > u) { + const y = (m ** pi - u ** vi) * gi; o = y < lo ? 0 : y < no ? y - y * to * Ct : y - Ct; } else { - const y = (m ** yi - s ** fi) * hi; + const y = (m ** yi - u ** fi) * hi; o = y > -lo ? 0 : y > -no ? y - y * to * Ct : y + Ct; } return 100 * o; @@ -322,14 +322,14 @@ function Hn(e) { const n = parseInt(t, 16); return (isNaN(n) || n < 0 || n > 4294967295) && Xn(`'${e}' is not a valid hex(a) color`), function(l) { l = function(o) { - return o.startsWith("#") && (o = o.slice(1)), o = o.replace(/([^0-9a-f])/gi, "F"), (o.length === 3 || o.length === 4) && (o = o.split("").map((s) => s + s).join("")), o.length !== 6 && (o = Gl(Gl(o, 6), 8, "F")), o; + return o.startsWith("#") && (o = o.slice(1)), o = o.replace(/([^0-9a-f])/gi, "F"), (o.length === 3 || o.length === 4) && (o = o.split("").map((u) => u + u).join("")), o.length !== 6 && (o = Gl(Gl(o, 6), 8, "F")), o; }(l); let [a, i, c, r] = function(o) { - let s = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 1; + let u = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 1; const m = []; let y = 0; for (; y < o.length; ) - m.push(o.substr(y, s)), y += s; + m.push(o.substr(y, u)), y += u; return m; }(l, 2).map((o) => parseInt(o, 16)); return r = r === void 0 ? r : r / 255, { r: a, g: i, b: c, a: r }; @@ -369,17 +369,17 @@ function Fl() { } function Mn(e, t) { const n = Fl(), l = R(e), a = v(() => { - if (u(t == null ? void 0 : t.disabled)) + if (s(t == null ? void 0 : t.disabled)) return n.value; - const i = u(t == null ? void 0 : t.scoped), c = u(t == null ? void 0 : t.reset), r = u(t == null ? void 0 : t.root); + const i = s(t == null ? void 0 : t.scoped), c = s(t == null ? void 0 : t.reset), r = s(t == null ? void 0 : t.root); if (l.value == null && !(i || c || r)) return n.value; let o = Cn(l.value, { prev: n.value }); if (i) return o; if (c || r) { - const s = Number(c || 1 / 0); - for (let m = 0; m <= s && o && "prev" in o; m++) + const u = Number(c || 1 / 0); + for (let m = 0; m <= u && o && "prev" in o; m++) o = o.prev; return o && typeof r == "string" && r in o && (o = Cn(Cn(o, { prev: o }), o[r])), o; } @@ -397,25 +397,25 @@ function Ci() { return (r = n.value) == null ? void 0 : r[e._as ?? t]; }), i = new Proxy(e, { get(r, o) { var m, y, f, p; - const s = Reflect.get(r, o); - return o === "class" || o === "style" ? [(m = a.value) == null ? void 0 : m[o], s].filter((g) => g != null) : typeof o != "string" || function(g, b) { + const u = Reflect.get(r, o); + return o === "class" || o === "style" ? [(m = a.value) == null ? void 0 : m[o], u].filter((g) => g != null) : typeof o != "string" || function(g, b) { var h, I; return ((h = g.props) == null ? void 0 : h[b]) !== void 0 || ((I = g.props) == null ? void 0 : I[dn(b)]) !== void 0; - }(l.vnode, o) ? s : ((y = a.value) == null ? void 0 : y[o]) ?? ((p = (f = n.value) == null ? void 0 : f.global) == null ? void 0 : p[o]) ?? s; + }(l.vnode, o) ? u : ((y = a.value) == null ? void 0 : y[o]) ?? ((p = (f = n.value) == null ? void 0 : f.global) == null ? void 0 : p[o]) ?? u; } }), c = ue(); return Ue(() => { if (a.value) { const r = Object.entries(a.value).filter((o) => { - let [s] = o; - return s.startsWith(s[0].toUpperCase()); + let [u] = o; + return u.startsWith(u[0].toUpperCase()); }); c.value = r.length ? Object.fromEntries(r) : void 0; } else c.value = void 0; }), { props: i, provideSubDefaults: function() { const r = function(o) { - let s = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : ke("injectSelf"); - const { provides: m } = s; + let u = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : ke("injectSelf"); + const { provides: m } = u; if (m && o in m) return m[o]; }(At, l); @@ -558,14 +558,14 @@ function me(e, t, n) { c.value = m; }); }); - const s = v({ get() { + const u = v({ get() { const m = e[t]; return l(o.value ? m : c.value); }, set(m) { const y = a(m), f = nn(o.value ? e[t] : c.value); f !== y && l(f) !== m && (c.value = y, i == null || i.emit(`update:${t}`, y)); } }); - return Object.defineProperty(s, "externalValue", { get: () => o.value ? e[t] : c.value }), s; + return Object.defineProperty(u, "externalValue", { get: () => o.value ? e[t] : c.value }), u; } Le.reset = () => { Uo = 0, Bt = /* @__PURE__ */ new WeakMap(); @@ -600,14 +600,14 @@ function Oe(e, t, n) { l.origin && (r.style.transformOrigin = l.origin); }, onLeave(r) { if (l.leaveAbsolute) { - const { offsetTop: o, offsetLeft: s, offsetWidth: m, offsetHeight: y } = r; - r._transitionInitialStyles = { position: r.style.position, top: r.style.top, left: r.style.left, width: r.style.width, height: r.style.height }, r.style.position = "absolute", r.style.top = `${o}px`, r.style.left = `${s}px`, r.style.width = `${m}px`, r.style.height = `${y}px`; + const { offsetTop: o, offsetLeft: u, offsetWidth: m, offsetHeight: y } = r; + r._transitionInitialStyles = { position: r.style.position, top: r.style.top, left: r.style.left, width: r.style.width, height: r.style.height }, r.style.position = "absolute", r.style.top = `${o}px`, r.style.left = `${u}px`, r.style.width = `${m}px`, r.style.height = `${y}px`; } l.hideOnLeave && r.style.setProperty("display", "none", "important"); }, onAfterLeave(r) { if (l.leaveAbsolute && (r != null && r._transitionInitialStyles)) { - const { position: o, top: s, left: m, width: y, height: f } = r._transitionInitialStyles; - delete r._transitionInitialStyles, r.style.position = o || "", r.style.top = s || "", r.style.left = m || "", r.style.width = y || "", r.style.height = f || ""; + const { position: o, top: u, left: m, width: y, height: f } = r._transitionInitialStyles; + delete r._transitionInitialStyles, r.style.position = o || "", r.style.top = u || "", r.style.left = m || "", r.style.width = y || "", r.style.height = f || ""; } } }; return () => { @@ -653,7 +653,7 @@ const xi = H({ target: Object }, "v-dialog-transition"), Zo = Q()({ name: "VDial }, async onEnter(a, i) { var f; await new Promise((p) => requestAnimationFrame(p)), await new Promise((p) => requestAnimationFrame(p)), a.style.visibility = ""; - const { x: c, y: r, sx: o, sy: s, speed: m } = uo(e.target, a), y = In(a, [{ transform: `translate(${c}px, ${r}px) scale(${o}, ${s})`, opacity: 0 }, {}], { duration: 225 * m, easing: "cubic-bezier(0.0, 0, 0.2, 1)" }); + const { x: c, y: r, sx: o, sy: u, speed: m } = uo(e.target, a), y = In(a, [{ transform: `translate(${c}px, ${r}px) scale(${o}, ${u})`, opacity: 0 }, {}], { duration: 225 * m, easing: "cubic-bezier(0.0, 0, 0.2, 1)" }); (f = so(a)) == null || f.forEach((p) => { In(p, [{ opacity: 0 }, { opacity: 0, offset: 0.33 }, {}], { duration: 450 * m, easing: _t }); }), y.finished.then(() => i()); @@ -664,8 +664,8 @@ const xi = H({ target: Object }, "v-dialog-transition"), Zo = Q()({ name: "VDial }, async onLeave(a, i) { var y; await new Promise((f) => requestAnimationFrame(f)); - const { x: c, y: r, sx: o, sy: s, speed: m } = uo(e.target, a); - In(a, [{}, { transform: `translate(${c}px, ${r}px) scale(${o}, ${s})`, opacity: 0 }], { duration: 125 * m, easing: "cubic-bezier(0.4, 0, 1, 1)" }).finished.then(() => i()), (y = so(a)) == null || y.forEach((f) => { + const { x: c, y: r, sx: o, sy: u, speed: m } = uo(e.target, a); + In(a, [{}, { transform: `translate(${c}px, ${r}px) scale(${o}, ${u})`, opacity: 0 }], { duration: 125 * m, easing: "cubic-bezier(0.4, 0, 1, 1)" }).finished.then(() => i()), (y = so(a)) == null || y.forEach((f) => { In(f, [{}, { opacity: 0, offset: 0.2 }, { opacity: 0 }], { duration: 250 * m, easing: _t }); }); }, onAfterLeave(a) { @@ -682,10 +682,10 @@ function uo(e, t) { const n = e.getBoundingClientRect(), l = wl(t), [a, i] = getComputedStyle(t).transformOrigin.split(" ").map((I) => parseFloat(I)), [c, r] = getComputedStyle(t).getPropertyValue("--v-overlay-anchor-origin").split(" "); let o = n.left + n.width / 2; c === "left" || r === "left" ? o -= n.width / 2 : c !== "right" && r !== "right" || (o += n.width / 2); - let s = n.top + n.height / 2; - c === "top" || r === "top" ? s -= n.height / 2 : c !== "bottom" && r !== "bottom" || (s += n.height / 2); + let u = n.top + n.height / 2; + c === "top" || r === "top" ? u -= n.height / 2 : c !== "bottom" && r !== "bottom" || (u += n.height / 2); const m = n.width / l.width, y = n.height / l.height, f = Math.max(1, m, y), p = m / f || 0, g = y / f || 0, b = l.width * l.height / (window.innerWidth * window.innerHeight), h = b > 0.12 ? Math.min(1.5, 10 * (b - 0.12) + 1) : 1; - return { x: o - (a + l.left), y: s - (i + l.top), sx: p, sy: g, speed: h }; + return { x: o - (a + l.left), y: u - (i + l.top), sx: p, sy: g, speed: h }; } Oe("fab-transition", "center center", "out-in"), Oe("dialog-bottom-transition"), Oe("dialog-top-transition"), Oe("fade-transition"); const Bi = Oe("scale-transition"); @@ -731,25 +731,25 @@ const Ol = { mounted: function(e, t) { const n = t.modifiers || {}, l = t.value, { handler: a, options: i } = typeof l == "object" ? l : { handler: l, options: {} }, c = new IntersectionObserver(function() { var y; let r = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : [], o = arguments.length > 1 ? arguments[1] : void 0; - const s = (y = e._observe) == null ? void 0 : y[t.instance.$.uid]; - if (!s) + const u = (y = e._observe) == null ? void 0 : y[t.instance.$.uid]; + if (!u) return; const m = r.some((f) => f.isIntersecting); - !a || n.quiet && !s.init || n.once && !m && !s.init || a(m, r, o), m && n.once ? po(e, t) : s.init = !0; + !a || n.quiet && !u.init || n.once && !m && !u.init || a(m, r, o), m && n.once ? po(e, t) : u.init = !0; }, i); e._observe = Object(e._observe), e._observe[t.instance.$.uid] = { init: !1, observer: c }, c.observe(e); }, unmounted: po }, Fi = H({ alt: String, cover: Boolean, eager: Boolean, gradient: String, lazySrc: String, options: { type: Object, default: () => ({ root: void 0, rootMargin: void 0, threshold: void 0 }) }, sizes: String, src: { type: [String, Object], default: "" }, srcset: String, ...na(), ...ie(), ...ct() }, "VImg"), ta = Q()({ name: "VImg", directives: { intersect: Ol }, props: Fi(), emits: { loadstart: (e) => !0, load: (e) => !0, error: (e) => !0 }, setup(e, t) { let { emit: n, slots: l } = t; - const a = ue(""), i = R(), c = ue(e.eager ? "loading" : "idle"), r = ue(), o = ue(), s = v(() => e.src && typeof e.src == "object" ? { src: e.src.src, srcset: e.srcset || e.src.srcset, lazySrc: e.lazySrc || e.src.lazySrc, aspect: Number(e.aspectRatio || e.src.aspect || 0) } : { src: e.src, srcset: e.srcset, lazySrc: e.lazySrc, aspect: Number(e.aspectRatio || 0) }), m = v(() => s.value.aspect || r.value / o.value || 0); + const a = ue(""), i = R(), c = ue(e.eager ? "loading" : "idle"), r = ue(), o = ue(), u = v(() => e.src && typeof e.src == "object" ? { src: e.src.src, srcset: e.srcset || e.src.srcset, lazySrc: e.lazySrc || e.src.lazySrc, aspect: Number(e.aspectRatio || e.src.aspect || 0) } : { src: e.src, srcset: e.srcset, lazySrc: e.lazySrc, aspect: Number(e.aspectRatio || 0) }), m = v(() => u.value.aspect || r.value / o.value || 0); function y(S) { if ((!e.eager || !S) && (!Bl || S || e.eager)) { - if (c.value = "loading", s.value.lazySrc) { + if (c.value = "loading", u.value.lazySrc) { const C = new Image(); - C.src = s.value.lazySrc, h(C, null); + C.src = u.value.lazySrc, h(C, null); } - s.value.src && xe(() => { + u.value.src && xe(() => { var C, D; - if (n("loadstart", ((C = i.value) == null ? void 0 : C.currentSrc) || s.value.src), (D = i.value) == null ? void 0 : D.complete) { + if (n("loadstart", ((C = i.value) == null ? void 0 : C.currentSrc) || u.value.src), (D = i.value) == null ? void 0 : D.complete) { if (i.value.naturalWidth || p(), c.value === "error") return; m.value || h(i.value, null), f(); @@ -760,11 +760,11 @@ const Ol = { mounted: function(e, t) { } function f() { var S; - g(), c.value = "loaded", n("load", ((S = i.value) == null ? void 0 : S.currentSrc) || s.value.src); + g(), c.value = "loaded", n("load", ((S = i.value) == null ? void 0 : S.currentSrc) || u.value.src); } function p() { var S; - c.value = "error", n("error", ((S = i.value) == null ? void 0 : S.currentSrc) || s.value.src); + c.value = "error", n("error", ((S = i.value) == null ? void 0 : S.currentSrc) || u.value.src); } function g() { const S = i.value; @@ -787,11 +787,11 @@ const Ol = { mounted: function(e, t) { } const I = v(() => ({ "v-img__img--cover": e.cover, "v-img__img--contain": !e.cover })), A = () => { var D; - if (!s.value.src || c.value === "idle") + if (!u.value.src || c.value === "idle") return null; - const S = d("img", { class: ["v-img__img", I.value], src: s.value.src, srcset: s.value.srcset, alt: e.alt, sizes: e.sizes, ref: i, onLoad: f, onError: p }, null), C = (D = l.sources) == null ? void 0 : D.call(l); + const S = d("img", { class: ["v-img__img", I.value], src: u.value.src, srcset: u.value.srcset, alt: e.alt, sizes: e.sizes, ref: i, onLoad: f, onError: p }, null), C = (D = l.sources) == null ? void 0 : D.call(l); return d(en, { transition: e.transition, appear: !0 }, { default: () => [Be(C ? d("picture", { class: "v-img__picture" }, [C, S]) : S, [[Dn, c.value === "loaded"]])] }); - }, k = () => d(en, { transition: e.transition }, { default: () => [s.value.lazySrc && c.value !== "loaded" && d("img", { class: ["v-img__img", "v-img__img--preload", I.value], src: s.value.lazySrc, alt: e.alt }, null)] }), M = () => l.placeholder ? d(en, { transition: e.transition, appear: !0 }, { default: () => [(c.value === "loading" || c.value === "error" && !l.error) && d("div", { class: "v-img__placeholder" }, [l.placeholder()])] }) : null, _ = () => l.error ? d(en, { transition: e.transition, appear: !0 }, { default: () => [c.value === "error" && d("div", { class: "v-img__error" }, [l.error()])] }) : null, T = () => e.gradient ? d("div", { class: "v-img__gradient", style: { backgroundImage: `linear-gradient(${e.gradient})` } }, null) : null, V = ue(!1); + }, k = () => d(en, { transition: e.transition }, { default: () => [u.value.lazySrc && c.value !== "loaded" && d("img", { class: ["v-img__img", "v-img__img--preload", I.value], src: u.value.lazySrc, alt: e.alt }, null)] }), M = () => l.placeholder ? d(en, { transition: e.transition, appear: !0 }, { default: () => [(c.value === "loading" || c.value === "error" && !l.error) && d("div", { class: "v-img__placeholder" }, [l.placeholder()])] }) : null, _ = () => l.error ? d(en, { transition: e.transition, appear: !0 }, { default: () => [c.value === "error" && d("div", { class: "v-img__error" }, [l.error()])] }) : null, T = () => e.gradient ? d("div", { class: "v-img__gradient", style: { backgroundImage: `linear-gradient(${e.gradient})` } }, null) : null, V = ue(!1); { const S = K(m, (C) => { C && (requestAnimationFrame(() => { @@ -883,10 +883,10 @@ const an = H({ color: String, variant: { type: String, default: "elevated", vali function pt(e) { let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : Ke(); const n = v(() => { - const { variant: i } = u(e); + const { variant: i } = s(e); return `${t}--variant-${i}`; }), { colorClasses: l, colorStyles: a } = Pl(v(() => { - const { variant: i, color: c } = u(e); + const { variant: i, color: c } = s(e); return { [["elevated", "flat"].includes(i) ? "background" : "text"]: c }; })); return { colorClasses: l, colorStyles: a, variantClasses: n }; @@ -913,14 +913,14 @@ function ia(e, t) { i.register({ id: a, value: c, disabled: r }, l), on(() => { i.unregister(a); }); - const o = v(() => i.isSelected(a)), s = v(() => o.value && [i.selectedClass.value, e.selectedClass]); + const o = v(() => i.isSelected(a)), u = v(() => o.value && [i.selectedClass.value, e.selectedClass]); return K(o, (m) => { l.emit("group:selected", { value: m }); - }), { id: a, isSelected: o, toggle: () => i.select(a, !o.value), select: (m) => i.select(a, m), selectedClass: s, value: c, disabled: r, group: i }; + }), { id: a, isSelected: o, toggle: () => i.select(a, !o.value), select: (m) => i.select(a, m), selectedClass: u, value: c, disabled: r, group: i }; } function ra(e, t) { let n = !1; - const l = ze([]), a = me(e, "modelValue", [], (s) => s == null ? [] : fo(l, tn(s)), (s) => { + const l = ze([]), a = me(e, "modelValue", [], (u) => u == null ? [] : fo(l, tn(u)), (u) => { const m = function(y, f) { const p = []; return f.forEach((g) => { @@ -930,19 +930,19 @@ function ra(e, t) { p.push(h.value != null ? h.value : b); } }), p; - }(l, s); + }(l, u); return e.multiple ? m : m[0]; }), i = ke("useGroup"); function c() { - const s = l.find((m) => !m.disabled); - s && e.mandatory === "force" && !a.value.length && (a.value = [s.id]); + const u = l.find((m) => !m.disabled); + u && e.mandatory === "force" && !a.value.length && (a.value = [u.id]); } - function r(s) { + function r(u) { if (e.multiple && Xn('This method is not supported when using "multiple" prop'), a.value.length) { const m = a.value[0], y = l.findIndex((g) => g.id === m); - let f = (y + s) % l.length, p = l[f]; + let f = (y + u) % l.length, p = l[f]; for (; p.disabled && f !== y; ) - f = (f + s) % l.length, p = l[f]; + f = (f + u) % l.length, p = l[f]; if (p.disabled) return; a.value = [l[f].id]; @@ -956,33 +956,33 @@ function ra(e, t) { }), on(() => { n = !0; }); - const o = { register: function(s, m) { - const y = s, f = xt(Symbol.for(`${t.description}:id`), i == null ? void 0 : i.vnode).indexOf(m); + const o = { register: function(u, m) { + const y = u, f = xt(Symbol.for(`${t.description}:id`), i == null ? void 0 : i.vnode).indexOf(m); f > -1 ? l.splice(f, 0, y) : l.push(y); - }, unregister: function(s) { + }, unregister: function(u) { if (n) return; c(); - const m = l.findIndex((y) => y.id === s); + const m = l.findIndex((y) => y.id === u); l.splice(m, 1); - }, selected: a, select: function(s, m) { - const y = l.find((f) => f.id === s); + }, selected: a, select: function(u, m) { + const y = l.find((f) => f.id === u); if (!m || !(y != null && y.disabled)) if (e.multiple) { - const f = a.value.slice(), p = f.findIndex((b) => b === s), g = ~p; + const f = a.value.slice(), p = f.findIndex((b) => b === u), g = ~p; if (m = m ?? !g, g && e.mandatory && f.length <= 1 || !g && e.max != null && f.length + 1 > e.max) return; - p < 0 && m ? f.push(s) : p >= 0 && !m && f.splice(p, 1), a.value = f; + p < 0 && m ? f.push(u) : p >= 0 && !m && f.splice(p, 1), a.value = f; } else { - const f = a.value.includes(s); + const f = a.value.includes(u); if (e.mandatory && f) return; - a.value = m ?? !f ? [s] : []; + a.value = m ?? !f ? [u] : []; } - }, disabled: ne(e, "disabled"), prev: () => r(l.length - 1), next: () => r(1), isSelected: (s) => a.value.includes(s), selectedClass: v(() => e.selectedClass), items: v(() => l), getItemIndex: (s) => function(m, y) { + }, disabled: ne(e, "disabled"), prev: () => r(l.length - 1), next: () => r(1), isSelected: (u) => a.value.includes(u), selectedClass: v(() => e.selectedClass), items: v(() => l), getItemIndex: (u) => function(m, y) { const f = fo(m, [y]); return f.length ? m.findIndex((p) => p.id === f[0]) : -1; - }(l, s) }; + }(l, u) }; return Te(t, o), o; } function fo(e, t) { @@ -999,8 +999,8 @@ Q()({ name: "VBtnToggle", props: _i(), emits: { "update:modelValue": (e) => !0 } return le(() => { const [o] = vo.filterProps(e); return d(vo, Z({ class: ["v-btn-toggle", e.class] }, o, { style: e.style }), { default: () => { - var s; - return [(s = n.default) == null ? void 0 : s.call(n, { isSelected: l, next: a, prev: i, select: c, selected: r })]; + var u; + return [(u = n.default) == null ? void 0 : u.call(n, { isSelected: l, next: a, prev: i, select: c, selected: r })]; } }); }), { next: a, prev: i, select: c }; } }); @@ -1034,7 +1034,7 @@ const Ei = H({ color: String, start: Boolean, end: Boolean, icon: ce, ...ie(), . throw new Error("Missing Vuetify Icons provide!"); return { iconData: v(() => { var h; - const f = u(m); + const f = s(m); if (!f) return { component: yo }; let p = f; @@ -1047,11 +1047,11 @@ const Ei = H({ color: String, start: Boolean, end: Boolean, icon: ce, ...ie(), . const g = Object.keys(y.sets).find((I) => typeof p == "string" && p.startsWith(`${I}:`)), b = g ? p.slice(g.length + 1) : p; return { component: y.sets[g ?? y.defaultSet].component, icon: b }; }) }; - })(v(() => a.value || e.icon)), { sizeClasses: r } = ft(e), { textColorClasses: o, textColorStyles: s } = Ye(ne(e, "color")); + })(v(() => a.value || e.icon)), { sizeClasses: r } = ft(e), { textColorClasses: o, textColorStyles: u } = Ye(ne(e, "color")); return le(() => { var y, f; const m = (y = l.default) == null ? void 0 : y.call(l); - return m && (a.value = (f = Wo(m).filter((p) => p.type === ei && p.children && typeof p.children == "string")[0]) == null ? void 0 : f.children), d(c.value.component, { tag: e.tag, icon: c.value.icon, class: ["v-icon", "notranslate", i.value, r.value, o.value, { "v-icon--clickable": !!n.onClick, "v-icon--start": e.start, "v-icon--end": e.end }, e.class], style: [r.value ? void 0 : { fontSize: te(e.size), height: te(e.size), width: te(e.size) }, s.value, e.style], role: n.onClick ? "button" : void 0, "aria-hidden": !n.onClick }, { default: () => [m] }); + return m && (a.value = (f = Wo(m).filter((p) => p.type === ei && p.children && typeof p.children == "string")[0]) == null ? void 0 : f.children), d(c.value.component, { tag: e.tag, icon: c.value.icon, class: ["v-icon", "notranslate", i.value, r.value, o.value, { "v-icon--clickable": !!n.onClick, "v-icon--start": e.start, "v-icon--end": e.end }, e.class], style: [r.value ? void 0 : { fontSize: te(e.size), height: te(e.size), width: te(e.size) }, u.value, e.style], role: n.onClick ? "button" : void 0, "aria-hidden": !n.onClick }, { default: () => [m] }); }), {}; } }); function ua(e, t) { @@ -1070,10 +1070,10 @@ function ua(e, t) { } const Ti = H({ bgColor: String, color: String, indeterminate: [Boolean, String], modelValue: { type: [Number, String], default: 0 }, rotate: { type: [Number, String], default: 0 }, width: { type: [Number, String], default: 4 }, ...ie(), ...vt(), ...$e({ tag: "div" }), ...Ce() }, "VProgressCircular"), ca = Q()({ name: "VProgressCircular", props: Ti(), setup(e, t) { let { slots: n } = t; - const l = 2 * Math.PI * 20, a = R(), { themeClasses: i } = Ve(e), { sizeClasses: c, sizeStyles: r } = ft(e), { textColorClasses: o, textColorStyles: s } = Ye(ne(e, "color")), { textColorClasses: m, textColorStyles: y } = Ye(ne(e, "bgColor")), { intersectionRef: f, isIntersecting: p } = ua(), { resizeRef: g, contentRect: b } = Al(), h = v(() => Math.max(0, Math.min(100, parseFloat(e.modelValue)))), I = v(() => Number(e.width)), A = v(() => r.value ? Number(e.size) : b.value ? b.value.width : Math.max(I.value, 32)), k = v(() => 20 / (1 - I.value / A.value) * 2), M = v(() => I.value / A.value * k.value), _ = v(() => te((100 - h.value) / 100 * l)); + const l = 2 * Math.PI * 20, a = R(), { themeClasses: i } = Ve(e), { sizeClasses: c, sizeStyles: r } = ft(e), { textColorClasses: o, textColorStyles: u } = Ye(ne(e, "color")), { textColorClasses: m, textColorStyles: y } = Ye(ne(e, "bgColor")), { intersectionRef: f, isIntersecting: p } = ua(), { resizeRef: g, contentRect: b } = Al(), h = v(() => Math.max(0, Math.min(100, parseFloat(e.modelValue)))), I = v(() => Number(e.width)), A = v(() => r.value ? Number(e.size) : b.value ? b.value.width : Math.max(I.value, 32)), k = v(() => 20 / (1 - I.value / A.value) * 2), M = v(() => I.value / A.value * k.value), _ = v(() => te((100 - h.value) / 100 * l)); return Ue(() => { f.value = a.value, g.value = a.value; - }), le(() => d(e.tag, { ref: a, class: ["v-progress-circular", { "v-progress-circular--indeterminate": !!e.indeterminate, "v-progress-circular--visible": p.value, "v-progress-circular--disable-shrink": e.indeterminate === "disable-shrink" }, i.value, c.value, o.value, e.class], style: [r.value, s.value, e.style], role: "progressbar", "aria-valuemin": "0", "aria-valuemax": "100", "aria-valuenow": e.indeterminate ? void 0 : h.value }, { default: () => [d("svg", { style: { transform: `rotate(calc(-90deg + ${Number(e.rotate)}deg))` }, xmlns: "http://www.w3.org/2000/svg", viewBox: `0 0 ${k.value} ${k.value}` }, [d("circle", { class: ["v-progress-circular__underlay", m.value], style: y.value, fill: "transparent", cx: "50%", cy: "50%", r: 20, "stroke-width": M.value, "stroke-dasharray": l, "stroke-dashoffset": 0 }, null), d("circle", { class: "v-progress-circular__overlay", fill: "transparent", cx: "50%", cy: "50%", r: 20, "stroke-width": M.value, "stroke-dasharray": l, "stroke-dashoffset": _.value }, null)]), n.default && d("div", { class: "v-progress-circular__content" }, [n.default({ value: h.value })])] })), {}; + }), le(() => d(e.tag, { ref: a, class: ["v-progress-circular", { "v-progress-circular--indeterminate": !!e.indeterminate, "v-progress-circular--visible": p.value, "v-progress-circular--disable-shrink": e.indeterminate === "disable-shrink" }, i.value, c.value, o.value, e.class], style: [r.value, u.value, e.style], role: "progressbar", "aria-valuemin": "0", "aria-valuemax": "100", "aria-valuenow": e.indeterminate ? void 0 : h.value }, { default: () => [d("svg", { style: { transform: `rotate(calc(-90deg + ${Number(e.rotate)}deg))` }, xmlns: "http://www.w3.org/2000/svg", viewBox: `0 0 ${k.value} ${k.value}` }, [d("circle", { class: ["v-progress-circular__underlay", m.value], style: y.value, fill: "transparent", cx: "50%", cy: "50%", r: 20, "stroke-width": M.value, "stroke-dasharray": l, "stroke-dashoffset": 0 }, null), d("circle", { class: "v-progress-circular__overlay", fill: "transparent", cx: "50%", cy: "50%", r: 20, "stroke-width": M.value, "stroke-dasharray": l, "stroke-dashoffset": _.value }, null)]), n.default && d("div", { class: "v-progress-circular__content" }, [n.default({ value: h.value })])] })), {}; } }), mo = { center: "center", top: "bottom", bottom: "top", left: "right", right: "left" }, $l = H({ location: String }, "location"); function El(e) { let t = arguments.length > 1 && arguments[1] !== void 0 && arguments[1], n = arguments.length > 2 ? arguments[2] : void 0; @@ -1082,8 +1082,8 @@ function El(e) { if (!e.location) return {}; const { side: i, align: c } = il(e.location.split(" ").length > 1 ? e.location : `${e.location} center`, l.value); - function r(s) { - return n ? n(s) : 0; + function r(u) { + return n ? n(u) : 0; } const o = {}; return i !== "center" && (t ? o[mo[i]] = `calc(100% - ${r(i)}px)` : o[i] = 0), c !== "center" ? t ? o[mo[c]] = `calc(100% - ${r(c)}px)` : o[c] = 0 : (i === "center" ? o.top = o.left = "50%" : o[{ top: "left", bottom: "left", left: "top", right: "top" }[i]] = "50%", o.transform = { top: "translateX(-50%)", bottom: "translateX(-50%)", left: "translateY(-50%)", right: "translateY(-50%)", center: "translate(-50%, -50%)" }[i]), o; @@ -1091,14 +1091,14 @@ function El(e) { } const zi = H({ absolute: Boolean, active: { type: Boolean, default: !0 }, bgColor: String, bgOpacity: [Number, String], bufferValue: { type: [Number, String], default: 0 }, clickable: Boolean, color: String, height: { type: [Number, String], default: 4 }, indeterminate: Boolean, max: { type: [Number, String], default: 100 }, modelValue: { type: [Number, String], default: 0 }, reverse: Boolean, stream: Boolean, striped: Boolean, roundedBar: Boolean, ...ie(), ...$l({ location: "top" }), ...Je(), ...$e(), ...Ce() }, "VProgressLinear"), Di = Q()({ name: "VProgressLinear", props: zi(), emits: { "update:modelValue": (e) => !0 }, setup(e, t) { let { slots: n } = t; - const l = me(e, "modelValue"), { isRtl: a, rtlClasses: i } = ut(), { themeClasses: c } = Ve(e), { locationStyles: r } = El(e), { textColorClasses: o, textColorStyles: s } = Ye(e, "color"), { backgroundColorClasses: m, backgroundColorStyles: y } = Tn(v(() => e.bgColor || e.color)), { backgroundColorClasses: f, backgroundColorStyles: p } = Tn(e, "color"), { roundedClasses: g } = Ze(e), { intersectionRef: b, isIntersecting: h } = ua(), I = v(() => parseInt(e.max, 10)), A = v(() => parseInt(e.height, 10)), k = v(() => parseFloat(e.bufferValue) / I.value * 100), M = v(() => parseFloat(l.value) / I.value * 100), _ = v(() => a.value !== e.reverse), T = v(() => e.indeterminate ? "fade-transition" : "slide-x-transition"), V = v(() => e.bgOpacity == null ? e.bgOpacity : parseFloat(e.bgOpacity)); + const l = me(e, "modelValue"), { isRtl: a, rtlClasses: i } = ut(), { themeClasses: c } = Ve(e), { locationStyles: r } = El(e), { textColorClasses: o, textColorStyles: u } = Ye(e, "color"), { backgroundColorClasses: m, backgroundColorStyles: y } = Tn(v(() => e.bgColor || e.color)), { backgroundColorClasses: f, backgroundColorStyles: p } = Tn(e, "color"), { roundedClasses: g } = Ze(e), { intersectionRef: b, isIntersecting: h } = ua(), I = v(() => parseInt(e.max, 10)), A = v(() => parseInt(e.height, 10)), k = v(() => parseFloat(e.bufferValue) / I.value * 100), M = v(() => parseFloat(l.value) / I.value * 100), _ = v(() => a.value !== e.reverse), T = v(() => e.indeterminate ? "fade-transition" : "slide-x-transition"), V = v(() => e.bgOpacity == null ? e.bgOpacity : parseFloat(e.bgOpacity)); function S(C) { if (!b.value) return; const { left: D, right: w, width: P } = b.value.getBoundingClientRect(), O = _.value ? P - C.clientX + (w - P) : C.clientX - D; l.value = Math.round(O / P * I.value); } - return le(() => d(e.tag, { ref: b, class: ["v-progress-linear", { "v-progress-linear--absolute": e.absolute, "v-progress-linear--active": e.active && h.value, "v-progress-linear--reverse": _.value, "v-progress-linear--rounded": e.rounded, "v-progress-linear--rounded-bar": e.roundedBar, "v-progress-linear--striped": e.striped }, g.value, c.value, i.value, e.class], style: [{ bottom: e.location === "bottom" ? 0 : void 0, top: e.location === "top" ? 0 : void 0, height: e.active ? te(A.value) : 0, "--v-progress-linear-height": te(A.value), ...r.value }, e.style], role: "progressbar", "aria-hidden": e.active ? "false" : "true", "aria-valuemin": "0", "aria-valuemax": e.max, "aria-valuenow": e.indeterminate ? void 0 : M.value, onClick: e.clickable && S }, { default: () => [e.stream && d("div", { key: "stream", class: ["v-progress-linear__stream", o.value], style: { ...s.value, [_.value ? "left" : "right"]: te(-A.value), borderTop: `${te(A.value / 2)} dotted`, opacity: V.value, top: `calc(50% - ${te(A.value / 4)})`, width: te(100 - k.value, "%"), "--v-progress-linear-stream-to": te(A.value * (_.value ? 1 : -1)) } }, null), d("div", { class: ["v-progress-linear__background", m.value], style: [y.value, { opacity: V.value, width: te(e.stream ? k.value : 100, "%") }] }, null), d(yn, { name: T.value }, { default: () => [e.indeterminate ? d("div", { class: "v-progress-linear__indeterminate" }, [["long", "short"].map((C) => d("div", { key: C, class: ["v-progress-linear__indeterminate", C, f.value], style: p.value }, null))]) : d("div", { class: ["v-progress-linear__determinate", f.value], style: [p.value, { width: te(M.value, "%") }] }, null)] }), n.default && d("div", { class: "v-progress-linear__content" }, [n.default({ value: M.value, buffer: k.value })])] })), {}; + return le(() => d(e.tag, { ref: b, class: ["v-progress-linear", { "v-progress-linear--absolute": e.absolute, "v-progress-linear--active": e.active && h.value, "v-progress-linear--reverse": _.value, "v-progress-linear--rounded": e.rounded, "v-progress-linear--rounded-bar": e.roundedBar, "v-progress-linear--striped": e.striped }, g.value, c.value, i.value, e.class], style: [{ bottom: e.location === "bottom" ? 0 : void 0, top: e.location === "top" ? 0 : void 0, height: e.active ? te(A.value) : 0, "--v-progress-linear-height": te(A.value), ...r.value }, e.style], role: "progressbar", "aria-hidden": e.active ? "false" : "true", "aria-valuemin": "0", "aria-valuemax": e.max, "aria-valuenow": e.indeterminate ? void 0 : M.value, onClick: e.clickable && S }, { default: () => [e.stream && d("div", { key: "stream", class: ["v-progress-linear__stream", o.value], style: { ...u.value, [_.value ? "left" : "right"]: te(-A.value), borderTop: `${te(A.value / 2)} dotted`, opacity: V.value, top: `calc(50% - ${te(A.value / 4)})`, width: te(100 - k.value, "%"), "--v-progress-linear-stream-to": te(A.value * (_.value ? 1 : -1)) } }, null), d("div", { class: ["v-progress-linear__background", m.value], style: [y.value, { opacity: V.value, width: te(e.stream ? k.value : 100, "%") }] }, null), d(yn, { name: T.value }, { default: () => [e.indeterminate ? d("div", { class: "v-progress-linear__indeterminate" }, [["long", "short"].map((C) => d("div", { key: C, class: ["v-progress-linear__indeterminate", C, f.value], style: p.value }, null))]) : d("div", { class: ["v-progress-linear__determinate", f.value], style: [p.value, { width: te(M.value, "%") }] }, null)] }), n.default && d("div", { class: "v-progress-linear__content" }, [n.default({ value: M.value, buffer: k.value })])] })), {}; } }), Tl = H({ loading: [Boolean, String] }, "loader"); function jt(e) { let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : Ke(); @@ -1143,7 +1143,7 @@ const $t = { show(e, t) { return; const l = document.createElement("span"), a = document.createElement("span"); l.appendChild(a), l.className = "v-ripple__container", n.class && (l.className += ` ${n.class}`); - const { radius: i, scale: c, x: r, y: o, centerX: s, centerY: m } = function(g, b) { + const { radius: i, scale: c, x: r, y: o, centerX: u, centerY: m } = function(g, b) { var V; let h = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, I = 0, A = 0; if (!va(g)) { @@ -1158,7 +1158,7 @@ const $t = { show(e, t) { a.className = "v-ripple__animation", a.style.width = y, a.style.height = y, t.appendChild(l); const f = window.getComputedStyle(t); f && f.position === "static" && (t.style.position = "relative", t.dataset.previousPosition = "static"), a.classList.add("v-ripple__animation--enter"), a.classList.add("v-ripple__animation--visible"), go(a, `translate(${r}, ${o}) scale3d(${c},${c},${c})`), a.dataset.activated = String(performance.now()), setTimeout(() => { - a.classList.remove("v-ripple__animation--enter"), a.classList.add("v-ripple__animation--in"), go(a, `translate(${s}, ${m}) scale3d(1,1,1)`); + a.classList.remove("v-ripple__animation--enter"), a.classList.add("v-ripple__animation--in"), go(a, `translate(${u}, ${m}) scale3d(1,1,1)`); }, 0); }, hide(e) { var i; @@ -1251,7 +1251,7 @@ const yt = { mounted: function(e, t) { t.value !== t.oldValue && bo(e, t, fa(t.oldValue)); } }, Wi = H({ active: { type: Boolean, default: void 0 }, symbol: { type: null, default: sa }, flat: Boolean, icon: [Boolean, String, Function, Object], prependIcon: ce, appendIcon: ce, block: Boolean, stacked: Boolean, ripple: { type: [Boolean, Object], default: !0 }, text: String, ...Wn(), ...ie(), ...je(), ...gn(), ...Nn(), ...aa(), ...Tl(), ...$l(), ...da(), ...Je(), ...qt(), ...vt(), ...$e({ tag: "button" }), ...Ce(), ...an({ variant: "elevated" }) }, "VBtn"), ul = Q()({ name: "VBtn", directives: { Ripple: yt }, props: Wi(), emits: { "group:selected": (e) => !0 }, setup(e, t) { let { attrs: n, slots: l } = t; - const { themeClasses: a } = Ve(e), { borderClasses: i } = Rn(e), { colorClasses: c, colorStyles: r, variantClasses: o } = pt(e), { densityClasses: s } = Qe(e), { dimensionStyles: m } = hn(e), { elevationClasses: y } = jn(e), { loaderClasses: f } = jt(e), { locationStyles: p } = El(e), { positionClasses: g } = pa(e), { roundedClasses: b } = Ze(e), { sizeClasses: h, sizeStyles: I } = ft(e), A = ia(e, e.symbol, !1), k = Gt(e, n), M = v(() => { + const { themeClasses: a } = Ve(e), { borderClasses: i } = Rn(e), { colorClasses: c, colorStyles: r, variantClasses: o } = pt(e), { densityClasses: u } = Qe(e), { dimensionStyles: m } = hn(e), { elevationClasses: y } = jn(e), { loaderClasses: f } = jt(e), { locationStyles: p } = El(e), { positionClasses: g } = pa(e), { roundedClasses: b } = Ze(e), { sizeClasses: h, sizeStyles: I } = ft(e), A = ia(e, e.symbol, !1), k = Gt(e, n), M = v(() => { var C; return e.active !== void 0 ? e.active : k.isLink.value ? (C = k.isActive) == null ? void 0 : C.value : A == null ? void 0 : A.isSelected.value; }), _ = v(() => (A == null ? void 0 : A.disabled.value) || e.disabled), T = v(() => e.variant === "elevated" && !(e.disabled || e.flat || e.border)), V = v(() => { @@ -1274,7 +1274,7 @@ const yt = { mounted: function(e, t) { }(k, A == null ? void 0 : A.select), le(() => { var j, q; const C = k.isLink.value ? "a" : e.tag, D = !(!e.prependIcon && !l.prepend), w = !(!e.appendIcon && !l.append), P = !(!e.icon || e.icon === !0), O = (A == null ? void 0 : A.isSelected.value) && (!k.isLink.value || ((j = k.isActive) == null ? void 0 : j.value)) || !A || ((q = k.isActive) == null ? void 0 : q.value); - return Be(d(C, { type: C === "a" ? void 0 : "button", class: ["v-btn", A == null ? void 0 : A.selectedClass.value, { "v-btn--active": M.value, "v-btn--block": e.block, "v-btn--disabled": _.value, "v-btn--elevated": T.value, "v-btn--flat": e.flat, "v-btn--icon": !!e.icon, "v-btn--loading": e.loading, "v-btn--stacked": e.stacked }, a.value, i.value, O ? c.value : void 0, s.value, y.value, f.value, g.value, b.value, h.value, o.value, e.class], style: [O ? r.value : void 0, m.value, p.value, I.value, e.style], disabled: _.value || void 0, href: k.href.value, onClick: S, value: V.value }, { default: () => { + return Be(d(C, { type: C === "a" ? void 0 : "button", class: ["v-btn", A == null ? void 0 : A.selectedClass.value, { "v-btn--active": M.value, "v-btn--block": e.block, "v-btn--disabled": _.value, "v-btn--elevated": T.value, "v-btn--flat": e.flat, "v-btn--icon": !!e.icon, "v-btn--loading": e.loading, "v-btn--stacked": e.stacked }, a.value, i.value, O ? c.value : void 0, u.value, y.value, f.value, g.value, b.value, h.value, o.value, e.class], style: [O ? r.value : void 0, m.value, p.value, I.value, e.style], disabled: _.value || void 0, href: k.href.value, onClick: S, value: V.value }, { default: () => { var x; return [dt(!0, "v-btn"), !e.icon && D && d("span", { key: "prepend", class: "v-btn__prepend" }, [l.prepend ? d(Se, { key: "prepend-defaults", disabled: !e.prependIcon, defaults: { VIcon: { icon: e.prependIcon } } }, l.prepend) : d(de, { key: "prepend-icon", icon: e.prependIcon }, null)]), d("span", { class: "v-btn__content", "data-no-activator": "" }, [!l.default && P ? d(de, { key: "content-icon", icon: e.icon }, null) : d(Se, { key: "content-defaults", disabled: !P, defaults: { VIcon: { icon: e.icon } } }, { default: () => { var E; @@ -1305,7 +1305,7 @@ Q()({ name: "VSelectionControlGroup", props: Ni(), emits: { "update:modelValue": } }); const Dl = H({ label: String, trueValue: null, falseValue: null, value: null, ...ie(), ...Sa() }, "VSelectionControl"), Et = Q()({ name: "VSelectionControl", directives: { Ripple: yt }, inheritAttrs: !1, props: Dl(), emits: { "update:modelValue": (e) => !0 }, setup(e, t) { let { attrs: n, slots: l } = t; - const { group: a, densityClasses: i, icon: c, model: r, textColorClasses: o, textColorStyles: s, backgroundColorClasses: m, backgroundColorStyles: y, trueValue: f } = function(_) { + const { group: a, densityClasses: i, icon: c, model: r, textColorClasses: o, textColorStyles: u, backgroundColorClasses: m, backgroundColorStyles: y, trueValue: f } = function(_) { const T = ve(Ia, void 0), { densityClasses: V } = Qe(_), S = me(_, "modelValue"), C = v(() => _.trueValue !== void 0 ? _.trueValue : _.value === void 0 || _.value), D = v(() => _.falseValue !== void 0 && _.falseValue), w = v(() => !!_.multiple || _.multiple == null && Array.isArray(S.value)), P = v({ get() { const L = T ? T.modelValue.value : S.value; return w.value ? L.some((N) => _.valueComparator(N, C.value)) : _.valueComparator(L, C.value); @@ -1332,7 +1332,7 @@ const Dl = H({ label: String, trueValue: null, falseValue: null, value: null, .. }), le(() => { var C, D; const _ = l.label ? l.label({ label: e.label, props: { for: g.value } }) : e.label, [T, V] = rt(n), S = d("input", Z({ ref: I, checked: r.value, disabled: !(!e.readonly && !e.disabled), id: g.value, onBlur: k, onFocus: A, onInput: M, "aria-disabled": !(!e.readonly && !e.disabled), type: e.type, value: f.value, name: e.name, "aria-checked": e.type === "checkbox" ? r.value : void 0 }, V), null); - return d("div", Z({ class: ["v-selection-control", { "v-selection-control--dirty": r.value, "v-selection-control--disabled": e.disabled, "v-selection-control--error": e.error, "v-selection-control--focused": b.value, "v-selection-control--focus-visible": h.value, "v-selection-control--inline": e.inline }, i.value, e.class] }, T, { style: e.style }), [d("div", { class: ["v-selection-control__wrapper", o.value], style: s.value }, [(C = l.default) == null ? void 0 : C.call(l, { backgroundColorClasses: m, backgroundColorStyles: y }), Be(d("div", { class: ["v-selection-control__input"] }, [((D = l.input) == null ? void 0 : D.call(l, { model: r, textColorClasses: o, textColorStyles: s, backgroundColorClasses: m, backgroundColorStyles: y, inputNode: S, icon: c.value, props: { onFocus: A, onBlur: k, id: g.value } })) ?? d(fe, null, [c.value && d(de, { key: "icon", icon: c.value }, null), S])]), [[Xe("ripple"), e.ripple && [!e.disabled && !e.readonly, null, ["center", "circle"]]]])]), _ && d(Ca, { for: g.value, clickable: !0, onClick: (w) => w.stopPropagation() }, { default: () => [_] })]); + return d("div", Z({ class: ["v-selection-control", { "v-selection-control--dirty": r.value, "v-selection-control--disabled": e.disabled, "v-selection-control--error": e.error, "v-selection-control--focused": b.value, "v-selection-control--focus-visible": h.value, "v-selection-control--inline": e.inline }, i.value, e.class] }, T, { style: e.style }), [d("div", { class: ["v-selection-control__wrapper", o.value], style: u.value }, [(C = l.default) == null ? void 0 : C.call(l, { backgroundColorClasses: m, backgroundColorStyles: y }), Be(d("div", { class: ["v-selection-control__input"] }, [((D = l.input) == null ? void 0 : D.call(l, { model: r, textColorClasses: o, textColorStyles: u, backgroundColorClasses: m, backgroundColorStyles: y, inputNode: S, icon: c.value, props: { onFocus: A, onBlur: k, id: g.value } })) ?? d(fe, null, [c.value && d(de, { key: "icon", icon: c.value }, null), S])]), [[Xe("ripple"), e.ripple && [!e.disabled && !e.readonly, null, ["center", "circle"]]]])]), _ && d(Ca, { for: g.value, clickable: !0, onClick: (w) => w.stopPropagation() }, { default: () => [_] })]); }), { isFocused: b, input: I }; } }), xa = H({ indeterminate: Boolean, indeterminateIcon: { type: ce, default: "$checkboxIndeterminate" }, ...Dl({ falseIcon: "$checkboxOff", trueIcon: "$checkboxOn" }) }, "VCheckboxBtn"), cl = Q()({ name: "VCheckboxBtn", props: xa(), emits: { "update:modelValue": (e) => !0, "update:indeterminate": (e) => !0 }, setup(e, t) { let { slots: n } = t; @@ -1343,7 +1343,7 @@ const Dl = H({ label: String, trueValue: null, falseValue: null, value: null, .. const c = v(() => l.value ? e.indeterminateIcon : e.falseIcon), r = v(() => l.value ? e.indeterminateIcon : e.trueIcon); return le(() => { const o = it(Et.filterProps(e)[0], ["modelValue"]); - return d(Et, Z(o, { modelValue: a.value, "onUpdate:modelValue": [(s) => a.value = s, i], class: ["v-checkbox-btn", e.class], style: e.style, type: "checkbox", falseIcon: c.value, trueIcon: r.value, "aria-checked": l.value ? "mixed" : void 0 }), n); + return d(Et, Z(o, { modelValue: a.value, "onUpdate:modelValue": [(u) => a.value = u, i], class: ["v-checkbox-btn", e.class], style: e.style, type: "checkbox", falseIcon: c.value, trueIcon: r.value, "aria-checked": l.value ? "mixed" : void 0 }), n); }), {}; } }); function Ba(e) { @@ -1374,7 +1374,7 @@ function wa() { } const Hi = H({ disabled: { type: Boolean, default: null }, error: Boolean, errorMessages: { type: [Array, String], default: () => [] }, maxErrors: { type: [Number, String], default: 1 }, name: String, label: String, readonly: { type: Boolean, default: null }, rules: { type: Array, default: () => [] }, modelValue: null, validateOn: String, validationValue: null, ...ka() }, "validation"), gt = H({ id: String, appendIcon: ce, centerAffix: { type: Boolean, default: !0 }, prependIcon: ce, hideDetails: [Boolean, String], hint: String, persistentHint: Boolean, messages: { type: [Array, String], default: () => [] }, direction: { type: String, default: "horizontal", validator: (e) => ["horizontal", "vertical"].includes(e) }, "onClick:prepend": Ne(), "onClick:append": Ne(), ...ie(), ...je(), ...Hi() }, "VInput"), ln = Q()({ name: "VInput", props: { ...gt() }, emits: { "update:modelValue": (e) => !0 }, setup(e, t) { let { attrs: n, slots: l, emit: a } = t; - const { densityClasses: i } = Qe(e), { rtlClasses: c } = ut(), { InputIcon: r } = Ba(e), o = Le(), s = v(() => e.id || `input-${o}`), m = v(() => `${s.value}-messages`), { errorMessages: y, isDirty: f, isDisabled: p, isReadonly: g, isPristine: b, isValid: h, isValidating: I, reset: A, resetValidation: k, validate: M, validationClasses: _ } = function(S) { + const { densityClasses: i } = Qe(e), { rtlClasses: c } = ut(), { InputIcon: r } = Ba(e), o = Le(), u = v(() => e.id || `input-${o}`), m = v(() => `${u.value}-messages`), { errorMessages: y, isDirty: f, isDisabled: p, isReadonly: g, isPristine: b, isValid: h, isValidating: I, reset: A, resetValidation: k, validate: M, validationClasses: _ } = function(S) { let C = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : Ke(), D = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : Le(); const w = me(S, "modelValue"), P = v(() => S.validationValue === void 0 ? w.value : S.validationValue), O = wa(), j = R([]), q = ue(!0), x = v(() => !(!tn(w.value === "" ? null : w.value).length && !tn(P.value === "" ? null : P.value).length)), E = v(() => !!(S.disabled ?? (O == null ? void 0 : O.isDisabled.value))), L = v(() => !!(S.readonly ?? (O == null ? void 0 : O.isReadonly.value))), N = v(() => { var Y; @@ -1387,7 +1387,7 @@ const Hi = H({ disabled: { type: Boolean, default: null }, error: Boolean, error }), $ = v(() => { var Y; return !S.error && !((Y = S.errorMessages) != null && Y.length) && (!S.rules.length || (q.value ? !j.value.length && !G.value.lazy || null : !j.value.length)); - }), B = ue(!1), W = v(() => ({ [`${C}--error`]: $.value === !1, [`${C}--dirty`]: x.value, [`${C}--disabled`]: E.value, [`${C}--readonly`]: L.value })), F = v(() => S.name ?? u(D)); + }), B = ue(!1), W = v(() => ({ [`${C}--error`]: $.value === !1, [`${C}--dirty`]: x.value, [`${C}--disabled`]: E.value, [`${C}--readonly`]: L.value })), F = v(() => S.name ?? s(D)); function z() { w.value = null, xe(U); } @@ -1429,7 +1429,7 @@ const Hi = H({ disabled: { type: Boolean, default: null }, error: Boolean, error }), K($, () => { O == null || O.update(F.value, $.value, N.value); }), { errorMessages: N, isDirty: x, isDisabled: E, isReadonly: L, isPristine: q, isValid: $, isValidating: B, reset: z, resetValidation: U, validate: J, validationClasses: W }; - }(e, "v-input", s), T = v(() => ({ id: s, messagesId: m, isDirty: f, isDisabled: p, isReadonly: g, isPristine: b, isValid: h, isValidating: I, reset: A, resetValidation: k, validate: M })), V = v(() => { + }(e, "v-input", u), T = v(() => ({ id: u, messagesId: m, isDirty: f, isDisabled: p, isReadonly: g, isPristine: b, isValid: h, isValidating: I, reset: A, resetValidation: k, validate: M })), V = v(() => { var S; return (S = e.errorMessages) != null && S.length || !b.value && y.value.length ? y.value : e.hint && (e.persistentHint || e.focused) ? e.hint : e.messages; }); @@ -1440,18 +1440,18 @@ const Hi = H({ disabled: { type: Boolean, default: null }, error: Boolean, error }), { reset: A, resetValidation: k, validate: M }; } }), Ui = H({ ...gt(), ...it(xa(), ["inline"]) }, "VCheckbox"), Yi = Q()({ name: "VCheckbox", inheritAttrs: !1, props: Ui(), emits: { "update:modelValue": (e) => !0, "update:focused": (e) => !0 }, setup(e, t) { let { attrs: n, slots: l } = t; - const a = me(e, "modelValue"), { isFocused: i, focus: c, blur: r } = mt(e), o = Le(), s = v(() => e.id || `checkbox-${o}`); + const a = me(e, "modelValue"), { isFocused: i, focus: c, blur: r } = mt(e), o = Le(), u = v(() => e.id || `checkbox-${o}`); return le(() => { const [m, y] = rt(n), [f, p] = ln.filterProps(e), [g, b] = cl.filterProps(e); - return d(ln, Z({ class: ["v-checkbox", e.class] }, m, f, { modelValue: a.value, "onUpdate:modelValue": (h) => a.value = h, id: s.value, focused: i.value, style: e.style }), { ...l, default: (h) => { + return d(ln, Z({ class: ["v-checkbox", e.class] }, m, f, { modelValue: a.value, "onUpdate:modelValue": (h) => a.value = h, id: u.value, focused: i.value, style: e.style }), { ...l, default: (h) => { let { id: I, messagesId: A, isDisabled: k, isReadonly: M } = h; return d(cl, Z(g, { id: I.value, "aria-describedby": A.value, disabled: k.value, readonly: M.value }, y, { modelValue: a.value, "onUpdate:modelValue": (_) => a.value = _, onFocus: c, onBlur: r }), l); } }); }), {}; } }), Xi = H({ start: Boolean, end: Boolean, icon: ce, image: String, ...ie(), ...je(), ...Je(), ...vt(), ...$e(), ...Ce(), ...an({ variant: "flat" }) }, "VAvatar"), zn = Q()({ name: "VAvatar", props: Xi(), setup(e, t) { let { slots: n } = t; - const { themeClasses: l } = Ve(e), { colorClasses: a, colorStyles: i, variantClasses: c } = pt(e), { densityClasses: r } = Qe(e), { roundedClasses: o } = Ze(e), { sizeClasses: s, sizeStyles: m } = ft(e); - return le(() => d(e.tag, { class: ["v-avatar", { "v-avatar--start": e.start, "v-avatar--end": e.end }, l.value, a.value, r.value, o.value, s.value, c.value, e.class], style: [i.value, m.value, e.style] }, { default: () => { + const { themeClasses: l } = Ve(e), { colorClasses: a, colorStyles: i, variantClasses: c } = pt(e), { densityClasses: r } = Qe(e), { roundedClasses: o } = Ze(e), { sizeClasses: u, sizeStyles: m } = ft(e); + return le(() => d(e.tag, { class: ["v-avatar", { "v-avatar--start": e.start, "v-avatar--end": e.end }, l.value, a.value, r.value, o.value, u.value, c.value, e.class], style: [i.value, m.value, e.style] }, { default: () => { var y; return [e.image ? d(ta, { key: "image", src: e.image, alt: "", cover: !0 }, null) : e.icon ? d(de, { key: "icon", icon: e.icon }, null) : (y = n.default) == null ? void 0 : y.call(n), dt(!1, "v-avatar")]; } })), {}; @@ -1460,13 +1460,13 @@ Q()({ name: "VChipGroup", props: Ki(), emits: { "update:modelValue": (e) => !0 } let { slots: n } = t; const { themeClasses: l } = Ve(e), { isSelected: a, select: i, next: c, prev: r, selected: o } = ra(e, Fa); return Mn({ VChip: { color: ne(e, "color"), disabled: ne(e, "disabled"), filter: ne(e, "filter"), variant: ne(e, "variant") } }), le(() => d(e.tag, { class: ["v-chip-group", { "v-chip-group--column": e.column }, l.value, e.class], style: e.style }, { default: () => { - var s; - return [(s = n.default) == null ? void 0 : s.call(n, { isSelected: a, select: i, next: c, prev: r, selected: o.value })]; + var u; + return [(u = n.default) == null ? void 0 : u.call(n, { isSelected: a, select: i, next: c, prev: r, selected: o.value })]; } })), {}; } }); const Ji = H({ activeClass: String, appendAvatar: String, appendIcon: ce, closable: Boolean, closeIcon: { type: ce, default: "$delete" }, closeLabel: { type: String, default: "$vuetify.close" }, draggable: Boolean, filter: Boolean, filterIcon: { type: String, default: "$complete" }, label: Boolean, link: { type: Boolean, default: void 0 }, pill: Boolean, prependAvatar: String, prependIcon: ce, ripple: { type: [Boolean, Object], default: !0 }, text: String, modelValue: { type: Boolean, default: !0 }, onClick: Ne(), onClickOnce: Ne(), ...Wn(), ...ie(), ...je(), ...Nn(), ...aa(), ...Je(), ...qt(), ...vt(), ...$e({ tag: "span" }), ...Ce(), ...an({ variant: "tonal" }) }, "VChip"), Zi = Q()({ name: "VChip", directives: { Ripple: yt }, props: Ji(), emits: { "click:close": (e) => !0, "update:modelValue": (e) => !0, "group:selected": (e) => !0, click: (e) => !0 }, setup(e, t) { let { attrs: n, emit: l, slots: a } = t; - const { t: i } = _l(), { borderClasses: c } = Rn(e), { colorClasses: r, colorStyles: o, variantClasses: s } = pt(e), { densityClasses: m } = Qe(e), { elevationClasses: y } = jn(e), { roundedClasses: f } = Ze(e), { sizeClasses: p } = ft(e), { themeClasses: g } = Ve(e), b = me(e, "modelValue"), h = ia(e, Fa, !1), I = Gt(e, n), A = v(() => e.link !== !1 && I.isLink.value), k = v(() => !e.disabled && e.link !== !1 && (!!h || e.link || I.isClickable.value)), M = v(() => ({ "aria-label": i(e.closeLabel), onClick(V) { + const { t: i } = _l(), { borderClasses: c } = Rn(e), { colorClasses: r, colorStyles: o, variantClasses: u } = pt(e), { densityClasses: m } = Qe(e), { elevationClasses: y } = jn(e), { roundedClasses: f } = Ze(e), { sizeClasses: p } = ft(e), { themeClasses: g } = Ve(e), b = me(e, "modelValue"), h = ia(e, Fa, !1), I = Gt(e, n), A = v(() => e.link !== !1 && I.isLink.value), k = v(() => !e.disabled && e.link !== !1 && (!!h || e.link || I.isClickable.value)), M = v(() => ({ "aria-label": i(e.closeLabel), onClick(V) { V.stopPropagation(), b.value = !1, l("click:close", V); } })); function _(V) { @@ -1478,7 +1478,7 @@ const Ji = H({ activeClass: String, appendAvatar: String, appendIcon: ce, closab } return () => { const V = I.isLink.value ? "a" : e.tag, S = !(!e.appendIcon && !e.appendAvatar), C = !(!S && !a.append), D = !(!a.close && !e.closable), w = !(!a.filter && !e.filter) && h, P = !(!e.prependIcon && !e.prependAvatar), O = !(!P && !a.prepend), j = !h || h.isSelected.value; - return b.value && Be(d(V, { class: ["v-chip", { "v-chip--disabled": e.disabled, "v-chip--label": e.label, "v-chip--link": k.value, "v-chip--filter": w, "v-chip--pill": e.pill }, g.value, c.value, j ? r.value : void 0, m.value, y.value, f.value, p.value, s.value, h == null ? void 0 : h.selectedClass.value, e.class], style: [j ? o.value : void 0, e.style], disabled: e.disabled || void 0, draggable: e.draggable, href: I.href.value, tabindex: k.value ? 0 : void 0, onClick: _, onKeydown: k.value && !A.value && T }, { default: () => { + return b.value && Be(d(V, { class: ["v-chip", { "v-chip--disabled": e.disabled, "v-chip--label": e.label, "v-chip--link": k.value, "v-chip--filter": w, "v-chip--pill": e.pill }, g.value, c.value, j ? r.value : void 0, m.value, y.value, f.value, p.value, u.value, h == null ? void 0 : h.selectedClass.value, e.class], style: [j ? o.value : void 0, e.style], disabled: e.disabled || void 0, draggable: e.draggable, href: I.href.value, tabindex: k.value ? 0 : void 0, onClick: _, onKeydown: k.value && !A.value && T }, { default: () => { var q; return [dt(k.value, "v-chip"), w && d(ea, { key: "filter" }, { default: () => [Be(d("div", { class: "v-chip__filter" }, [a.filter ? d(Se, { key: "filter-defaults", disabled: !e.filterIcon, defaults: { VIcon: { icon: e.filterIcon } } }, a.filter) : d(de, { key: "filter-icon", icon: e.filterIcon }, null)]), [[Dn, h.isSelected.value]])] }), O && d("div", { key: "prepend", class: "v-chip__prepend" }, [a.prepend ? d(Se, { key: "prepend-defaults", disabled: !P, defaults: { VAvatar: { image: e.prependAvatar, start: !0 }, VIcon: { icon: e.prependIcon, start: !0 } } }, a.prepend) : d(fe, null, [e.prependIcon && d(de, { key: "prepend-icon", icon: e.prependIcon, start: !0 }, null), e.prependAvatar && d(zn, { key: "prepend-avatar", image: e.prependAvatar, start: !0 }, null)])]), d("div", { class: "v-chip__content" }, [((q = a.default) == null ? void 0 : q.call(a, { isSelected: h == null ? void 0 : h.isSelected.value, selectedClass: h == null ? void 0 : h.selectedClass.value, select: h == null ? void 0 : h.select, toggle: h == null ? void 0 : h.toggle, value: h == null ? void 0 : h.value.value, disabled: e.disabled })) ?? e.text]), C && d("div", { key: "append", class: "v-chip__append" }, [a.append ? d(Se, { key: "append-defaults", disabled: !S, defaults: { VAvatar: { end: !0, image: e.appendAvatar }, VIcon: { end: !0, icon: e.appendIcon } } }, a.append) : d(fe, null, [e.appendIcon && d(de, { key: "append-icon", end: !0, icon: e.appendIcon }, null), e.appendAvatar && d(zn, { key: "append-avatar", end: !0, image: e.appendAvatar }, null)])]), D && d("div", Z({ key: "close", class: "v-chip__close" }, M.value), [a.close ? d(Se, { key: "close-defaults", defaults: { VIcon: { icon: e.closeIcon, size: "x-small" } } }, a.close) : d(de, { key: "close-icon", icon: e.closeIcon, size: "x-small" }, null)])]; } }), [[Xe("ripple"), k.value && e.ripple, null]]); @@ -1527,8 +1527,8 @@ const Qi = { open: (e) => { let { id: l, value: a, selected: i } = n; if (l = nn(l), e && !a) { const c = Array.from(i.entries()).reduce((r, o) => { - let [s, m] = o; - return m === "on" ? [...r, s] : r; + let [u, m] = o; + return m === "on" ? [...r, u] : r; }, []); if (c.length === 1 && c[0] === l) return i; @@ -1638,7 +1638,7 @@ const Qi = { open: (e) => { on(() => { t = !0; }); - const s = ke("nested"), m = { id: ue(), root: { opened: a, selected: r, selectedValues: v(() => { + const u = ke("nested"), m = { id: ue(), root: { opened: a, selected: r, selectedValues: v(() => { const y = []; for (const [f, p] of r.value.entries()) p === "on" && y.push(f); @@ -1656,14 +1656,14 @@ const Qi = { open: (e) => { } l.value.delete(y), a.value.delete(y); }, open: (y, f, p) => { - s.emit("click:open", { id: y, value: f, path: o(y), event: p }); + u.emit("click:open", { id: y, value: f, path: o(y), event: p }); const g = c.value.open({ id: y, value: f, opened: new Set(a.value), children: n.value, parents: l.value, event: p }); g && (a.value = g); }, openOnSelect: (y, f, p) => { const g = c.value.select({ id: y, value: f, selected: new Map(r.value), opened: new Set(a.value), children: n.value, parents: l.value, event: p }); g && (a.value = g); }, select: (y, f, p) => { - s.emit("click:select", { id: y, value: f, path: o(y), event: p }); + u.emit("click:select", { id: y, value: f, path: o(y), event: p }); const g = i.value.select({ id: y, value: f, selected: new Map(r.value), children: n.value, parents: l.value, event: p }); g && (r.value = g), m.root.openOnSelect(y, f, p); }, children: n, parents: l } }; @@ -1692,17 +1692,17 @@ const Qi = { open: (e) => { }); }), { ssrBootStyles: v(() => p.value ? void 0 : { transition: "none !important" }), isBooted: bl(p) }; }(); - function s(p) { + function u(p) { a(!l.value, p); } - const m = v(() => ({ onClick: s, class: "v-list-group__header", id: c.value })), y = v(() => l.value ? e.collapseIcon : e.expandIcon), f = v(() => ({ VListItem: { active: l.value, activeColor: e.activeColor, baseColor: e.baseColor, color: e.color, prependIcon: e.prependIcon || e.subgroup && y.value, appendIcon: e.appendIcon || !e.subgroup && y.value, title: e.title, value: e.value } })); + const m = v(() => ({ onClick: u, class: "v-list-group__header", id: c.value })), y = v(() => l.value ? e.collapseIcon : e.expandIcon), f = v(() => ({ VListItem: { active: l.value, activeColor: e.activeColor, baseColor: e.baseColor, color: e.color, prependIcon: e.prependIcon || e.subgroup && y.value, appendIcon: e.appendIcon || !e.subgroup && y.value, title: e.title, value: e.value } })); return le(() => d(e.tag, { class: ["v-list-group", { "v-list-group--prepend": r == null ? void 0 : r.hasPrepend.value, "v-list-group--fluid": e.fluid, "v-list-group--subgroup": e.subgroup, "v-list-group--open": l.value }, e.class], style: e.style }, { default: () => [n.activator && d(Se, { defaults: f.value }, { default: () => [d(lr, null, { default: () => [n.activator({ props: m.value, isOpen: l.value })] })] }), d(en, { transition: { component: ki }, disabled: !o.value }, { default: () => { var p; return [Be(d("div", { class: "v-list-group__items", role: "group", "aria-labelledby": c.value }, [(p = n.default) == null ? void 0 : p.call(n)]), [[Dn, l.value]])]; } })] })), {}; } }), ar = st("v-list-item-subtitle"), ir = st("v-list-item-title"), rr = H({ active: { type: Boolean, default: void 0 }, activeClass: String, activeColor: String, appendAvatar: String, appendIcon: ce, baseColor: String, disabled: Boolean, lines: String, link: { type: Boolean, default: void 0 }, nav: Boolean, prependAvatar: String, prependIcon: ce, ripple: { type: [Boolean, Object], default: !0 }, subtitle: [String, Number, Boolean], title: [String, Number, Boolean], value: null, onClick: Ne(), onClickOnce: Ne(), ...Wn(), ...ie(), ...je(), ...gn(), ...Nn(), ...Je(), ...qt(), ...$e(), ...Ce(), ...an({ variant: "text" }) }, "VListItem"), Tt = Q()({ name: "VListItem", directives: { Ripple: yt }, props: rr(), emits: { click: (e) => !0 }, setup(e, t) { let { attrs: n, slots: l, emit: a } = t; - const i = Gt(e, n), c = v(() => e.value === void 0 ? i.href.value : e.value), { select: r, isSelected: o, isIndeterminate: s, isGroupActivator: m, root: y, parent: f, openOnSelect: p } = Pa(c, !1), g = Aa(), b = v(() => { + const i = Gt(e, n), c = v(() => e.value === void 0 ? i.href.value : e.value), { select: r, isSelected: o, isIndeterminate: u, isGroupActivator: m, root: y, parent: f, openOnSelect: p } = Pa(c, !1), g = Aa(), b = v(() => { var L; return e.active !== !1 && (e.active || ((L = i.isActive) == null ? void 0 : L.value) || o.value); }), h = v(() => e.link !== !1 && i.isLink.value), I = v(() => !e.disabled && e.link !== !1 && (e.link || i.isClickable.value || e.value != null && !!g)), A = v(() => e.rounded || e.nav), k = v(() => e.color ?? e.activeColor), M = v(() => ({ color: b.value ? k.value ?? e.baseColor : e.baseColor, variant: e.variant })); @@ -1712,7 +1712,7 @@ const Qi = { open: (e) => { }, (L) => { L && f.value != null && y.open(f.value, !0), L && p(L); }, { immediate: !0 }); - const { themeClasses: _ } = Ve(e), { borderClasses: T } = Rn(e), { colorClasses: V, colorStyles: S, variantClasses: C } = pt(M), { densityClasses: D } = Qe(e), { dimensionStyles: w } = hn(e), { elevationClasses: P } = jn(e), { roundedClasses: O } = Ze(A), j = v(() => e.lines ? `v-list-item--${e.lines}-line` : void 0), q = v(() => ({ isActive: b.value, select: r, isSelected: o.value, isIndeterminate: s.value })); + const { themeClasses: _ } = Ve(e), { borderClasses: T } = Rn(e), { colorClasses: V, colorStyles: S, variantClasses: C } = pt(M), { densityClasses: D } = Qe(e), { dimensionStyles: w } = hn(e), { elevationClasses: P } = jn(e), { roundedClasses: O } = Ze(A), j = v(() => e.lines ? `v-list-item--${e.lines}-line` : void 0), q = v(() => ({ isActive: b.value, select: r, isSelected: o.value, isIndeterminate: u.value })); function x(L) { var N; a("click", L), !m && I.value && ((N = i.navigate) == null || N.call(i, L), e.value != null && r(!o.value, L)); @@ -1763,29 +1763,29 @@ const Qi = { open: (e) => { var l, a; return ((l = n.default) == null ? void 0 : l.call(n)) ?? ((a = e.items) == null ? void 0 : a.map((i) => { var p, g; - let { children: c, props: r, type: o, raw: s } = i; + let { children: c, props: r, type: o, raw: u } = i; if (o === "divider") return ((p = n.divider) == null ? void 0 : p.call(n, { props: r })) ?? d(dr, r, null); if (o === "subheader") return ((g = n.subheader) == null ? void 0 : g.call(n, { props: r })) ?? d(ur, r, null); const m = { subtitle: n.subtitle ? (b) => { var h; - return (h = n.subtitle) == null ? void 0 : h.call(n, { ...b, item: s }); + return (h = n.subtitle) == null ? void 0 : h.call(n, { ...b, item: u }); } : void 0, prepend: n.prepend ? (b) => { var h; - return (h = n.prepend) == null ? void 0 : h.call(n, { ...b, item: s }); + return (h = n.prepend) == null ? void 0 : h.call(n, { ...b, item: u }); } : void 0, append: n.append ? (b) => { var h; - return (h = n.append) == null ? void 0 : h.call(n, { ...b, item: s }); + return (h = n.append) == null ? void 0 : h.call(n, { ...b, item: u }); } : void 0, title: n.title ? (b) => { var h; - return (h = n.title) == null ? void 0 : h.call(n, { ...b, item: s }); + return (h = n.title) == null ? void 0 : h.call(n, { ...b, item: u }); } : void 0 }, [y, f] = Io.filterProps(r); return c ? d(Io, Z({ value: r == null ? void 0 : r.value }, y), { activator: (b) => { let { props: h } = b; - const I = { ...r, ...h, value: e.returnObject ? s : r.value }; + const I = { ...r, ...h, value: e.returnObject ? u : r.value }; return n.header ? n.header({ props: I }) : d(Tt, I, m); - }, default: () => d($a, { items: c }, n) }) : n.item ? n.item({ props: r }) : d(Tt, Z(r, { value: e.returnObject ? s : r.value }), m); + }, default: () => d($a, { items: c }, n) }) : n.item ? n.item({ props: r }) : d(Tt, Z(r, { value: e.returnObject ? u : r.value }), m); })); }; } }), Ea = H({ items: { type: Array, default: () => [] }, itemTitle: { type: [String, Array, Function], default: "title" }, itemValue: { type: [String, Array, Function], default: "value" }, itemChildren: { type: [Boolean, String, Array, Function], default: "children" }, itemProps: { type: [Boolean, String, Array, Function], default: "props" }, returnObject: Boolean, valueComparator: { type: Function, default: at } }, "list-items"); @@ -1815,7 +1815,7 @@ const fr = H({ baseColor: String, activeColor: String, activeClass: String, bgCo let { slots: n } = t; const { items: l } = function(C) { return { items: v(() => za(C, C.items)) }; - }(e), { themeClasses: a } = Ve(e), { backgroundColorClasses: i, backgroundColorStyles: c } = Tn(ne(e, "bgColor")), { borderClasses: r } = Rn(e), { densityClasses: o } = Qe(e), { dimensionStyles: s } = hn(e), { elevationClasses: m } = jn(e), { roundedClasses: y } = Ze(e), { open: f, select: p } = tr(e), g = v(() => e.lines ? `v-list--${e.lines}-line` : void 0), b = ne(e, "activeColor"), h = ne(e, "baseColor"), I = ne(e, "color"); + }(e), { themeClasses: a } = Ve(e), { backgroundColorClasses: i, backgroundColorStyles: c } = Tn(ne(e, "bgColor")), { borderClasses: r } = Rn(e), { densityClasses: o } = Qe(e), { dimensionStyles: u } = hn(e), { elevationClasses: m } = jn(e), { roundedClasses: y } = Ze(e), { open: f, select: p } = tr(e), g = v(() => e.lines ? `v-list--${e.lines}-line` : void 0), b = ne(e, "activeColor"), h = ne(e, "baseColor"), I = ne(e, "color"); Va(), Mn({ VListGroup: { activeColor: b, baseColor: h, color: I }, VListItem: { activeClass: ne(e, "activeClass"), activeColor: b, baseColor: h, color: I, density: ne(e, "density"), disabled: ne(e, "disabled"), lines: ne(e, "lines"), nav: ne(e, "nav"), variant: ne(e, "variant") } }); const A = ue(!1), k = R(); function M(C) { @@ -1848,7 +1848,7 @@ const fr = H({ baseColor: String, activeColor: String, activeClass: String, bgCo if (k.value) return Ft(k.value, C); } - return le(() => d(e.tag, { ref: k, class: ["v-list", { "v-list--disabled": e.disabled, "v-list--nav": e.nav }, a.value, i.value, r.value, o.value, m.value, g.value, y.value, e.class], style: [c.value, s.value, e.style], tabindex: e.disabled || A.value ? -1 : 0, role: "listbox", "aria-activedescendant": void 0, onFocusin: M, onFocusout: _, onFocus: T, onKeydown: V }, { default: () => [d($a, { items: l.value, returnObject: e.returnObject }, n)] })), { open: f, select: p, focus: S }; + return le(() => d(e.tag, { ref: k, class: ["v-list", { "v-list--disabled": e.disabled, "v-list--nav": e.nav }, a.value, i.value, r.value, o.value, m.value, g.value, y.value, e.class], style: [c.value, u.value, e.style], tabindex: e.disabled || A.value ? -1 : 0, role: "listbox", "aria-activedescendant": void 0, onFocusin: M, onFocusout: _, onFocus: T, onKeydown: V }, { default: () => [d($a, { items: l.value, returnObject: e.returnObject }, n)] })), { open: f, select: p, focus: S }; } }); function Zt(e, t) { return { x: e.x + t.x, y: e.y + t.y }; @@ -1880,7 +1880,7 @@ const Da = { static: function() { }), [i, c, r, o] = ["minWidth", "minHeight", "maxWidth", "maxHeight"].map((p) => v(() => { const g = parseFloat(t[p]); return isNaN(g) ? 1 / 0 : g; - })), s = v(() => { + })), u = v(() => { if (Array.isArray(t.offset)) return t.offset; if (typeof t.offset == "string") { @@ -1916,29 +1916,29 @@ const Da = { static: function() { var q, x; switch (C.anchor.side) { case "top": - j -= s.value[0]; + j -= u.value[0]; break; case "bottom": - j += s.value[0]; + j += u.value[0]; break; case "left": - O -= s.value[0]; + O -= u.value[0]; break; case "right": - O += s.value[0]; + O += u.value[0]; } switch (C.anchor.align) { case "top": - j -= s.value[1]; + j -= u.value[1]; break; case "bottom": - j += s.value[1]; + j += u.value[1]; break; case "left": - O -= s.value[1]; + O -= u.value[1]; break; case "right": - O += s.value[1]; + O += u.value[1]; } return D.x += O, D.y += j, D.width = Math.min(D.width, r.value), D.height = Math.min(D.height, o.value), { overflows: Kl(D, h), x: O, y: j }; } @@ -2015,10 +2015,10 @@ const kt = { none: null, close: function(e) { var r; const n = (r = e.root.value) == null ? void 0 : r.offsetParent, l = [.../* @__PURE__ */ new Set([...Ot(e.activatorEl.value, t.contained ? n : void 0), ...Ot(e.contentEl.value, t.contained ? n : void 0)])].filter((o) => !o.classList.contains("v-overlay-scroll-blocked")), a = window.innerWidth - document.documentElement.offsetWidth, i = (c = n || document.documentElement, Vl(c) && c); var c; - i && e.root.value.classList.add("v-overlay--scroll-blocked"), l.forEach((o, s) => { + i && e.root.value.classList.add("v-overlay--scroll-blocked"), l.forEach((o, u) => { o.style.setProperty("--v-body-scroll-x", te(-o.scrollLeft)), o.style.setProperty("--v-body-scroll-y", te(-o.scrollTop)), o !== document.documentElement && o.style.setProperty("--v-scrollbar-offset", te(a)), o.classList.add("v-overlay-scroll-blocked"); }), we(() => { - l.forEach((o, s) => { + l.forEach((o, u) => { const m = parseFloat(o.style.getPropertyValue("--v-body-scroll-x")), y = parseFloat(o.style.getPropertyValue("--v-body-scroll-y")); o.style.removeProperty("--v-body-scroll-x"), o.style.removeProperty("--v-body-scroll-y"), o.style.removeProperty("--v-scrollbar-offset"), o.classList.remove("v-overlay-scroll-blocked"), o.scrollLeft = -m, o.scrollTop = -y; }), i && e.root.value.classList.remove("v-overlay--scroll-blocked"); @@ -2029,8 +2029,8 @@ const kt = { none: null, close: function(e) { var o; o = () => { var y, f; - const s = performance.now(); - (f = (y = e.updateLocation).value) == null || f.call(y, r), l = (performance.now() - s) / (1e3 / 60) > 2; + const u = performance.now(); + (f = (y = e.updateLocation).value) == null || f.call(y, r), l = (performance.now() - u) / (1e3 / 60) > 2; }, !fl || zt.length ? (zt.push(o), yl()) : (fl = !1, o(), yl()); } i = (typeof requestIdleCallback > "u" ? (r) => r() : requestIdleCallback)(() => { @@ -2062,7 +2062,7 @@ function Cr(e, t) { let { isActive: n, isTop: l } = t; const a = R(); let i = !1, c = !1, r = !0; - const o = v(() => e.openOnFocus || e.openOnFocus == null && e.openOnHover), s = v(() => e.openOnClick || e.openOnClick == null && !e.openOnHover && !o.value), { runOpenDelay: m, runCloseDelay: y } = function(V, S) { + const o = v(() => e.openOnFocus || e.openOnFocus == null && e.openOnHover), u = v(() => e.openOnClick || e.openOnClick == null && !e.openOnHover && !o.value), { runOpenDelay: m, runCloseDelay: y } = function(V, S) { const C = {}, D = (w) => () => { if (!Ee) return Promise.resolve(!0); @@ -2090,7 +2090,7 @@ function Cr(e, t) { c = !1, V.stopPropagation(), y(); }, I = v(() => { const V = {}; - return s.value && (V.onClick = f), e.openOnHover && (V.onMouseenter = p, V.onMouseleave = g), o.value && (V.onFocus = b, V.onBlur = h), V; + return u.value && (V.onClick = f), e.openOnHover && (V.onMouseenter = p, V.onMouseleave = g), o.value && (V.onFocus = b, V.onBlur = h), V; }), A = v(() => { const V = {}; if (e.openOnHover && (V.onMouseenter = () => { @@ -2270,7 +2270,7 @@ const Ra = H({ absolute: Boolean, attach: [Boolean, String, Object], closeOnBack return F || (F = document.createElement("div"), F.className = "v-overlay-container", W.appendChild(F)), F; }) }); var o; - const { themeClasses: s } = Ve(e), { rtlClasses: m, isRtl: y } = ut(), { hasContent: f, onAfterLeave: p } = function(B, W) { + const { themeClasses: u } = Ve(e), { rtlClasses: m, isRtl: y } = ut(), { hasContent: f, onAfterLeave: p } = function(B, W) { const F = ue(!1), z = v(() => F.value || B.eager || W.value); return K(W, () => F.value = !0), { isBooted: F, hasContent: z, onAfterLeave: function() { B.eager || (F.value = !1); @@ -2385,7 +2385,7 @@ const Ra = H({ absolute: Boolean, attach: [Boolean, String, Object], closeOnBack } }), le(() => { var B; - return d(fe, null, [(B = n.activator) == null ? void 0 : B.call(n, { isActive: c.value, props: Z({ ref: k }, M.value, e.activatorProps) }), S.value && f.value && d(rn, { disabled: !r.value, to: r.value }, { default: () => [d("div", Z({ class: ["v-overlay", { "v-overlay--absolute": e.absolute || e.contained, "v-overlay--active": c.value, "v-overlay--contained": e.contained }, s.value, m.value, e.class], style: [I.value, { top: te(L.value) }, e.style], ref: D }, C, l), [d(kr, Z({ color: g, modelValue: c.value && !!e.scrim }, T.value), null), d(en, { appear: !0, persisted: !0, transition: e.transition, target: A.value, onAfterLeave: () => { + return d(fe, null, [(B = n.activator) == null ? void 0 : B.call(n, { isActive: c.value, props: Z({ ref: k }, M.value, e.activatorProps) }), S.value && f.value && d(rn, { disabled: !r.value, to: r.value }, { default: () => [d("div", Z({ class: ["v-overlay", { "v-overlay--absolute": e.absolute || e.contained, "v-overlay--active": c.value, "v-overlay--contained": e.contained }, u.value, m.value, e.class], style: [I.value, { top: te(L.value) }, e.style], ref: D }, C, l), [d(kr, Z({ color: g, modelValue: c.value && !!e.scrim }, T.value), null), d(en, { appear: !0, persisted: !0, transition: e.transition, target: A.value, onAfterLeave: () => { p(), a("afterLeave"); } }, { default: () => { var W; @@ -2442,15 +2442,15 @@ function Ht(e) { for (const o of n) { if (!o.value) continue; - const s = nl(o.value, i) ?? ("_" in o.value ? nl((r = o.value._) == null ? void 0 : r.setupState, i) : void 0); - if (s) - return s; + const u = nl(o.value, i) ?? ("_" in o.value ? nl((r = o.value._) == null ? void 0 : r.setupState, i) : void 0); + if (u) + return u; } for (const o of n) { - const s = o.value && o.value[el]; - if (!s) + const u = o.value && o.value[el]; + if (!u) continue; - const m = s.slice(); + const m = u.slice(); for (; m.length; ) { const y = m.shift(), f = nl(y.value, i); if (f) @@ -2464,7 +2464,7 @@ function Ht(e) { } const wr = H({ id: String, ...it(Ra({ closeDelay: 250, closeOnContentClick: !0, locationStrategy: "connected", openDelay: 300, scrim: !1, scrollStrategy: "reposition", transition: { component: Zo } }), ["absolute"]) }, "VMenu"), Fr = Q()({ name: "VMenu", props: wr(), emits: { "update:modelValue": (e) => !0 }, setup(e, t) { let { slots: n } = t; - const l = me(e, "modelValue"), { scopeId: a } = Ma(), i = Le(), c = v(() => e.id || `v-menu-${i}`), r = R(), o = ve(ml, null), s = ue(0); + const l = me(e, "modelValue"), { scopeId: a } = Ma(), i = Le(), c = v(() => e.id || `v-menu-${i}`), r = R(), o = ve(ml, null), u = ue(0); async function m(b) { var A, k, M; const h = b.relatedTarget, I = b.target; @@ -2485,12 +2485,12 @@ const wr = H({ id: String, ...it(Ra({ closeDelay: 250, closeOnContentClick: !0, h && l.value ? b.key === "ArrowDown" ? (b.preventDefault(), Ft(h, "next")) : b.key === "ArrowUp" && (b.preventDefault(), Ft(h, "prev")) : ["ArrowDown", "ArrowUp"].includes(b.key) && (l.value = !0, b.preventDefault(), setTimeout(() => setTimeout(() => p(b)))); } Te(ml, { register() { - ++s.value; + ++u.value; }, unregister() { - --s.value; + --u.value; }, closeParents() { setTimeout(() => { - s.value || (l.value = !1, o == null || o.closeParents()); + u.value || (l.value = !1, o == null || o.closeParents()); }, 40); } }), K(l, (b) => { b ? (o == null || o.register(), document.addEventListener("focusin", m, { once: !0 })) : (o == null || o.unregister(), document.removeEventListener("focusin", m)); @@ -2506,7 +2506,7 @@ const wr = H({ id: String, ...it(Ra({ closeDelay: 250, closeOnContentClick: !0, return [(k = n.default) == null ? void 0 : k.call(n, ...I)]; } }); } }); - }), Ht({ id: c, ΨopenChildren: s }, r); + }), Ht({ id: c, ΨopenChildren: u }, r); } }), Vr = H({ active: Boolean, max: [Number, String], value: { type: [Number, String], default: 0 }, ...ie(), ...ct({ transition: { component: Qo } }) }, "VCounter"), Na = Q()({ name: "VCounter", functional: !0, props: Vr(), setup(e, t) { let { slots: n } = t; const l = v(() => e.max ? `${e.value} / ${e.max}` : String(e.value)); @@ -2516,7 +2516,7 @@ const wr = H({ id: String, ...it(Ra({ closeDelay: 250, closeOnContentClick: !0, return le(() => d(Ca, { class: ["v-field-label", { "v-field-label--floating": e.floating }, e.class], style: e.style, "aria-hidden": e.floating || void 0 }, n)), {}; } }), _r = ["underlined", "outlined", "filled", "solo", "solo-inverted", "solo-filled", "plain"], Ll = H({ appendInnerIcon: ce, bgColor: String, clearable: Boolean, clearIcon: { type: ce, default: "$clear" }, active: Boolean, centerAffix: { type: Boolean, default: void 0 }, color: String, baseColor: String, dirty: Boolean, disabled: { type: Boolean, default: null }, error: Boolean, flat: Boolean, label: String, persistentClear: Boolean, prependInnerIcon: ce, reverse: Boolean, singleLine: Boolean, variant: { type: String, default: "filled", validator: (e) => _r.includes(e) }, "onClick:clear": Ne(), "onClick:appendInner": Ne(), "onClick:prependInner": Ne(), ...ie(), ...Tl(), ...Je(), ...Ce() }, "VField"), Ml = Q()({ name: "VField", inheritAttrs: !1, props: { id: String, ...ka(), ...Ll() }, emits: { "update:focused": (e) => !0, "update:modelValue": (e) => !0 }, setup(e, t) { let { attrs: n, emit: l, slots: a } = t; - const { themeClasses: i } = Ve(e), { loaderClasses: c } = jt(e), { focusClasses: r, isFocused: o, focus: s, blur: m } = mt(e), { InputIcon: y } = Ba(e), { roundedClasses: f } = Ze(e), { rtlClasses: p } = ut(), g = v(() => e.dirty || e.active), b = v(() => !(e.singleLine || !e.label && !a.label)), h = Le(), I = v(() => e.id || `input-${h}`), A = v(() => `${I.value}-messages`), k = R(), M = R(), _ = R(), T = v(() => ["plain", "underlined"].includes(e.variant)), { backgroundColorClasses: V, backgroundColorStyles: S } = Tn(ne(e, "bgColor")), { textColorClasses: C, textColorStyles: D } = Ye(v(() => e.error || e.disabled ? void 0 : g.value && o.value ? e.color : e.baseColor)); + const { themeClasses: i } = Ve(e), { loaderClasses: c } = jt(e), { focusClasses: r, isFocused: o, focus: u, blur: m } = mt(e), { InputIcon: y } = Ba(e), { roundedClasses: f } = Ze(e), { rtlClasses: p } = ut(), g = v(() => e.dirty || e.active), b = v(() => !(e.singleLine || !e.label && !a.label)), h = Le(), I = v(() => e.id || `input-${h}`), A = v(() => `${I.value}-messages`), k = R(), M = R(), _ = R(), T = v(() => ["plain", "underlined"].includes(e.variant)), { backgroundColorClasses: V, backgroundColorStyles: S } = Tn(ne(e, "bgColor")), { textColorClasses: C, textColorStyles: D } = Ye(v(() => e.error || e.disabled ? void 0 : g.value && o.value ? e.color : e.baseColor)); K(g, (O) => { if (b.value) { const j = k.value.$el, q = M.value.$el; @@ -2528,14 +2528,14 @@ const wr = H({ id: String, ...it(Ra({ closeDelay: 250, closeOnContentClick: !0, }); } }, { flush: "post" }); - const w = v(() => ({ isActive: g, isFocused: o, controlRef: _, blur: m, focus: s })); + const w = v(() => ({ isActive: g, isFocused: o, controlRef: _, blur: m, focus: u })); function P(O) { O.target !== document.activeElement && O.preventDefault(); } return le(() => { var L, N, G; const O = e.variant === "outlined", j = a["prepend-inner"] || e.prependInnerIcon, q = !(!e.clearable && !a.clear), x = !!(a["append-inner"] || e.appendInnerIcon || q), E = a.label ? a.label({ ...w.value, label: e.label, props: { for: I.value } }) : e.label; - return d("div", Z({ class: ["v-field", { "v-field--active": g.value, "v-field--appended": x, "v-field--center-affix": e.centerAffix ?? !T.value, "v-field--disabled": e.disabled, "v-field--dirty": e.dirty, "v-field--error": e.error, "v-field--flat": e.flat, "v-field--has-background": !!e.bgColor, "v-field--persistent-clear": e.persistentClear, "v-field--prepended": j, "v-field--reverse": e.reverse, "v-field--single-line": e.singleLine, "v-field--no-label": !E, [`v-field--variant-${e.variant}`]: !0 }, i.value, V.value, r.value, c.value, f.value, p.value, e.class], style: [S.value, e.style], onClick: P }, n), [d("div", { class: "v-field__overlay" }, null), d(zl, { name: "v-field", active: !!e.loading, color: e.error ? "error" : typeof e.loading == "string" ? e.loading : e.color }, { default: a.loader }), j && d("div", { key: "prepend", class: "v-field__prepend-inner" }, [e.prependInnerIcon && d(y, { key: "prepend-icon", name: "prependInner" }, null), (L = a["prepend-inner"]) == null ? void 0 : L.call(a, w.value)]), d("div", { class: "v-field__field", "data-no-activator": "" }, [["filled", "solo", "solo-inverted", "solo-filled"].includes(e.variant) && b.value && d(It, { key: "floating-label", ref: M, class: [C.value], floating: !0, for: I.value, style: D.value }, { default: () => [E] }), d(It, { ref: k, for: I.value }, { default: () => [E] }), (N = a.default) == null ? void 0 : N.call(a, { ...w.value, props: { id: I.value, class: "v-field__input", "aria-describedby": A.value }, focus: s, blur: m })]), q && d(ea, { key: "clear" }, { default: () => [Be(d("div", { class: "v-field__clearable", onMousedown: ($) => { + return d("div", Z({ class: ["v-field", { "v-field--active": g.value, "v-field--appended": x, "v-field--center-affix": e.centerAffix ?? !T.value, "v-field--disabled": e.disabled, "v-field--dirty": e.dirty, "v-field--error": e.error, "v-field--flat": e.flat, "v-field--has-background": !!e.bgColor, "v-field--persistent-clear": e.persistentClear, "v-field--prepended": j, "v-field--reverse": e.reverse, "v-field--single-line": e.singleLine, "v-field--no-label": !E, [`v-field--variant-${e.variant}`]: !0 }, i.value, V.value, r.value, c.value, f.value, p.value, e.class], style: [S.value, e.style], onClick: P }, n), [d("div", { class: "v-field__overlay" }, null), d(zl, { name: "v-field", active: !!e.loading, color: e.error ? "error" : typeof e.loading == "string" ? e.loading : e.color }, { default: a.loader }), j && d("div", { key: "prepend", class: "v-field__prepend-inner" }, [e.prependInnerIcon && d(y, { key: "prepend-icon", name: "prependInner" }, null), (L = a["prepend-inner"]) == null ? void 0 : L.call(a, w.value)]), d("div", { class: "v-field__field", "data-no-activator": "" }, [["filled", "solo", "solo-inverted", "solo-filled"].includes(e.variant) && b.value && d(It, { key: "floating-label", ref: M, class: [C.value], floating: !0, for: I.value, style: D.value }, { default: () => [E] }), d(It, { ref: k, for: I.value }, { default: () => [E] }), (N = a.default) == null ? void 0 : N.call(a, { ...w.value, props: { id: I.value, class: "v-field__input", "aria-describedby": A.value }, focus: u, blur: m })]), q && d(ea, { key: "clear" }, { default: () => [Be(d("div", { class: "v-field__clearable", onMousedown: ($) => { $.preventDefault(), $.stopPropagation(); } }, [a.clear ? a.clear() : d(y, { name: "clear" }, null)]), [[Dn, e.dirty]])] }), x && d("div", { key: "append", class: "v-field__append-inner" }, [(G = a["append-inner"]) == null ? void 0 : G.call(a, w.value), e.appendInnerIcon && d(y, { key: "append-icon", name: "appendInner" }, null)]), d("div", { class: ["v-field__outline", C.value], style: D.value }, [O && d(fe, null, [d("div", { class: "v-field__outline__start" }, null), b.value && d("div", { class: "v-field__outline__notch" }, [d(It, { ref: M, floating: !0, for: I.value }, { default: () => [E] })]), d("div", { class: "v-field__outline__end" }, null)]), T.value && b.value && d(It, { ref: M, floating: !0, for: I.value }, { default: () => [E] })])]); }), { controlRef: _ }; @@ -2545,7 +2545,7 @@ function ja(e) { } const Or = ["color", "file", "time", "date", "datetime-local", "week", "month"], Ga = H({ autofocus: Boolean, counter: [Boolean, Number, String], counterValue: [Number, Function], prefix: String, placeholder: String, persistentPlaceholder: Boolean, persistentCounter: Boolean, suffix: String, role: String, type: { type: String, default: "text" }, modelModifiers: Object, ...gt(), ...Ll() }, "VTextField"), gl = Q()({ name: "VTextField", directives: { Intersect: Ol }, inheritAttrs: !1, props: Ga(), emits: { "click:control": (e) => !0, "mousedown:control": (e) => !0, "update:focused": (e) => !0, "update:modelValue": (e) => !0 }, setup(e, t) { let { attrs: n, emit: l, slots: a } = t; - const i = me(e, "modelValue"), { isFocused: c, focus: r, blur: o } = mt(e), s = v(() => typeof e.counterValue == "function" ? e.counterValue(i.value) : typeof e.counterValue == "number" ? e.counterValue : (i.value ?? "").toString().length), m = v(() => n.maxlength ? n.maxlength : !e.counter || typeof e.counter != "number" && typeof e.counter != "string" ? void 0 : e.counter), y = v(() => ["plain", "underlined"].includes(e.variant)); + const i = me(e, "modelValue"), { isFocused: c, focus: r, blur: o } = mt(e), u = v(() => typeof e.counterValue == "function" ? e.counterValue(i.value) : typeof e.counterValue == "number" ? e.counterValue : (i.value ?? "").toString().length), m = v(() => n.maxlength ? n.maxlength : !e.counter || typeof e.counter != "number" && typeof e.counter != "string" ? void 0 : e.counter), y = v(() => ["plain", "underlined"].includes(e.variant)); function f(T, V) { var S, C; e.autofocus && T && ((C = (S = V[0].target) == null ? void 0 : S.focus) == null || C.call(S)); @@ -2587,7 +2587,7 @@ const Or = ["color", "file", "time", "date", "datetime-local", "week", "month"], } }); }, details: V ? (O) => { var j; - return d(fe, null, [(j = a.details) == null ? void 0 : j.call(a, O), T && d(fe, null, [d("span", null, null), d(Na, { active: e.persistentCounter || c.value, value: s.value, max: m.value }, a.counter)])]); + return d(fe, null, [(j = a.details) == null ? void 0 : j.call(a, O), T && d(fe, null, [d("span", null, null), d(Na, { active: e.persistentCounter || c.value, value: u.value, max: m.value }, a.counter)])]); } : void 0 }); }), Ht({}, p, g, b); } }), Pr = H({ renderless: Boolean, ...ie() }, "VVirtualScrollItem"), $r = Q()({ name: "VVirtualScrollItem", inheritAttrs: !1, props: Pr(), emits: { "update:height": (e) => !0 }, setup(e, t) { @@ -2610,10 +2610,10 @@ function Tr(e, t, n) { Ue(() => { r.value = c.value; }); - const s = La(), m = /* @__PURE__ */ new Map(); + const u = La(), m = /* @__PURE__ */ new Map(); let y = Array.from({ length: t.value.length }); const f = v(() => { - const k = (o.value && c.value !== document.documentElement ? o.value.height : s.height.value) - ((n == null ? void 0 : n.value) ?? 0); + const k = (o.value && c.value !== document.documentElement ? o.value.height : u.height.value) - ((n == null ? void 0 : n.value) ?? 0); return Math.ceil(k / i.value * 1.7 + 1); }); function p(k) { @@ -2651,7 +2651,7 @@ function Tr(e, t, n) { } const zr = H({ items: { type: Array, default: () => [] }, renderless: Boolean, ...Er(), ...ie(), ...gn() }, "VVirtualScroll"), Dr = Q()({ name: "VVirtualScroll", props: zr(), setup(e, t) { let { slots: n } = t; - const l = ke("VVirtualScroll"), { dimensionStyles: a } = hn(e), { containerRef: i, handleScroll: c, handleItemResize: r, scrollToIndex: o, paddingTop: s, paddingBottom: m, computedItems: y } = Tr(e, ne(e, "items")); + const l = ke("VVirtualScroll"), { dimensionStyles: a } = hn(e), { containerRef: i, handleScroll: c, handleItemResize: r, scrollToIndex: o, paddingTop: u, paddingBottom: m, computedItems: y } = Tr(e, ne(e, "items")); return pn(() => e.renderless, () => { Ln(() => { var f; @@ -2665,7 +2665,7 @@ const zr = H({ items: { type: Array, default: () => [] }, renderless: Boolean, . var b; return (b = n.default) == null ? void 0 : b.call(n, { item: p.raw, index: p.index, ...g }); } })); - return e.renderless ? d(fe, null, [d("div", { class: "v-virtual-scroll__spacer", style: { paddingTop: te(s.value) } }, null), f, d("div", { class: "v-virtual-scroll__spacer", style: { paddingBottom: te(m.value) } }, null)]) : d("div", { ref: i, class: ["v-virtual-scroll", e.class], onScroll: c, style: [a.value, e.style] }, [d("div", { class: "v-virtual-scroll__container", style: { paddingTop: te(s.value), paddingBottom: te(m.value) } }, [f])]); + return e.renderless ? d(fe, null, [d("div", { class: "v-virtual-scroll__spacer", style: { paddingTop: te(u.value) } }, null), f, d("div", { class: "v-virtual-scroll__spacer", style: { paddingBottom: te(m.value) } }, null)]) : d("div", { ref: i, class: ["v-virtual-scroll", e.class], onScroll: c, style: [a.value, e.style] }, [d("div", { class: "v-virtual-scroll__container", style: { paddingTop: te(u.value), paddingBottom: te(m.value) } }, [f])]); }), { scrollToIndex: o }; } }); function Lr(e, t) { @@ -2685,27 +2685,27 @@ function Lr(e, t) { if (!i) return; a.key !== "Home" && a.key !== "End" || i.scrollTo({ top: a.key === "Home" ? 0 : i.scrollHeight, behavior: "smooth" }), await async function() { - await new Promise((s) => requestAnimationFrame(s)), await new Promise((s) => requestAnimationFrame(s)), await new Promise((s) => requestAnimationFrame(s)), await new Promise((s) => { + await new Promise((u) => requestAnimationFrame(u)), await new Promise((u) => requestAnimationFrame(u)), await new Promise((u) => requestAnimationFrame(u)), await new Promise((u) => { if (n.value) { const m = K(n, () => { - m(), s(); + m(), u(); }); } else - s(); + u(); }); }(); const c = i.querySelectorAll(":scope > :not(.v-virtual-scroll__spacer)"); if (a.key === "PageDown" || a.key === "Home") { - const s = i.getBoundingClientRect().top; + const u = i.getBoundingClientRect().top; for (const m of c) - if (m.getBoundingClientRect().top >= s) { + if (m.getBoundingClientRect().top >= u) { m.focus(); break; } } else { - const s = i.getBoundingClientRect().bottom; + const u = i.getBoundingClientRect().bottom; for (const m of [...c].reverse()) - if (m.getBoundingClientRect().bottom <= s) { + if (m.getBoundingClientRect().bottom <= u) { m.focus(); break; } @@ -2717,7 +2717,7 @@ const Mr = H({ chips: Boolean, closableChips: Boolean, closeText: { type: String const { t: l } = _l(), a = R(), i = R(), c = R(), r = me(e, "menu"), o = v({ get: () => r.value, set: (x) => { var E; r.value && !x && ((E = i.value) != null && E.ΨopenChildren) || (r.value = x); - } }), { items: s, transformIn: m, transformOut: y } = function(x) { + } }), { items: u, transformIn: m, transformOut: y } = function(x) { const E = v(() => Ta(x, x.items)), L = v(() => E.value.some((N) => N.value === null)); return { items: E, transformIn: function(N) { return L.value || (N = N.filter((G) => G !== null)), N.map((G) => x.returnObject && typeof G == "string" ? vl(x, G) : E.value.find(($) => x.valueComparator(G, $.value)) || vl(x, G)); @@ -2735,7 +2735,7 @@ const Mr = H({ chips: Boolean, closableChips: Boolean, closeText: { type: String return e.multiple ? E : E[0] ?? null; }), p = wa(), g = v(() => f.value.map((x) => x.value)), b = ue(!1), h = v(() => o.value ? e.closeText : e.openText); let I, A = ""; - const k = v(() => e.hideSelected ? s.value.filter((x) => !f.value.some((E) => E === x)) : s.value), M = v(() => e.hideNoData && !s.value.length || e.readonly || (p == null ? void 0 : p.isReadonly.value)), _ = R(), { onListScroll: T, onListKeydown: V } = Lr(_, a); + const k = v(() => e.hideSelected ? u.value.filter((x) => !f.value.some((E) => E === x)) : u.value), M = v(() => e.hideNoData && !u.value.length || e.readonly || (p == null ? void 0 : p.isReadonly.value)), _ = R(), { onListScroll: T, onListKeydown: V } = Lr(_, a); function S(x) { e.openOnClear && (o.value = !0); } @@ -2751,7 +2751,7 @@ const Mr = H({ chips: Boolean, closableChips: Boolean, closeText: { type: String return; const E = performance.now(); E - I > 1e3 && (A = ""), A += x.key.toLowerCase(), I = E; - const L = s.value.find(($) => $.title.toLowerCase().startsWith(A)); + const L = u.value.find(($) => $.title.toLowerCase().startsWith(A)); L !== void 0 && (f.value = [L]); } function w(x) { @@ -2781,7 +2781,7 @@ const Mr = H({ chips: Boolean, closableChips: Boolean, closeText: { type: String if (x == null) f.value = []; else if (Vt(a.value, ":autofill") || Vt(a.value, ":-webkit-autofill")) { - const E = s.value.find((L) => L.title === x); + const E = u.value.find((L) => L.title === x); E && w(E); } else a.value && (a.value.value = ""); @@ -2831,7 +2831,7 @@ const Mr = H({ chips: Boolean, closableChips: Boolean, closeText: { type: String } }), jr = st("v-card-subtitle"), Gr = st("v-card-title"), qr = H({ appendAvatar: String, appendIcon: ce, prependAvatar: String, prependIcon: ce, subtitle: String, title: String, ...ie(), ...je() }, "VCardItem"), Hr = Q()({ name: "VCardItem", props: qr(), setup(e, t) { let { slots: n } = t; return le(() => { - var s; + var u; const l = !(!e.prependAvatar && !e.prependIcon), a = !(!l && !n.prepend), i = !(!e.appendAvatar && !e.appendIcon), c = !(!i && !n.append), r = !(!e.title && !n.title), o = !(!e.subtitle && !n.subtitle); return d("div", { class: ["v-card-item", e.class], style: e.style }, [a && d("div", { key: "prepend", class: "v-card-item__prepend" }, [n.prepend ? d(Se, { key: "prepend-defaults", disabled: !l, defaults: { VAvatar: { density: e.density, icon: e.prependIcon, image: e.prependAvatar } } }, n.prepend) : l && d(zn, { key: "prepend-avatar", density: e.density, icon: e.prependIcon, image: e.prependAvatar }, null)]), d("div", { class: "v-card-item__content" }, [r && d(Gr, { key: "title" }, { default: () => { var m; @@ -2839,14 +2839,14 @@ const Mr = H({ chips: Boolean, closableChips: Boolean, closeText: { type: String } }), o && d(jr, { key: "subtitle" }, { default: () => { var m; return [((m = n.subtitle) == null ? void 0 : m.call(n)) ?? e.subtitle]; - } }), (s = n.default) == null ? void 0 : s.call(n)]), c && d("div", { key: "append", class: "v-card-item__append" }, [n.append ? d(Se, { key: "append-defaults", disabled: !i, defaults: { VAvatar: { density: e.density, icon: e.appendIcon, image: e.appendAvatar } } }, n.append) : i && d(zn, { key: "append-avatar", density: e.density, icon: e.appendIcon, image: e.appendAvatar }, null)])]); + } }), (u = n.default) == null ? void 0 : u.call(n)]), c && d("div", { key: "append", class: "v-card-item__append" }, [n.append ? d(Se, { key: "append-defaults", disabled: !i, defaults: { VAvatar: { density: e.density, icon: e.appendIcon, image: e.appendAvatar } } }, n.append) : i && d(zn, { key: "append-avatar", density: e.density, icon: e.appendIcon, image: e.appendAvatar }, null)])]); }), {}; } }), vn = st("v-card-text"), Ur = H({ appendAvatar: String, appendIcon: ce, disabled: Boolean, flat: Boolean, hover: Boolean, image: String, link: { type: Boolean, default: void 0 }, prependAvatar: String, prependIcon: ce, ripple: { type: [Boolean, Object], default: !0 }, subtitle: String, text: String, title: String, ...Wn(), ...ie(), ...je(), ...gn(), ...Nn(), ...Tl(), ...$l(), ...da(), ...Je(), ...qt(), ...$e(), ...Ce(), ...an({ variant: "elevated" }) }, "VCard"), Fn = Q()({ name: "VCard", directives: { Ripple: yt }, props: Ur(), setup(e, t) { let { attrs: n, slots: l } = t; - const { themeClasses: a } = Ve(e), { borderClasses: i } = Rn(e), { colorClasses: c, colorStyles: r, variantClasses: o } = pt(e), { densityClasses: s } = Qe(e), { dimensionStyles: m } = hn(e), { elevationClasses: y } = jn(e), { loaderClasses: f } = jt(e), { locationStyles: p } = El(e), { positionClasses: g } = pa(e), { roundedClasses: b } = Ze(e), h = Gt(e, n), I = v(() => e.link !== !1 && h.isLink.value), A = v(() => !e.disabled && e.link !== !1 && (e.link || h.isClickable.value)); + const { themeClasses: a } = Ve(e), { borderClasses: i } = Rn(e), { colorClasses: c, colorStyles: r, variantClasses: o } = pt(e), { densityClasses: u } = Qe(e), { dimensionStyles: m } = hn(e), { elevationClasses: y } = jn(e), { loaderClasses: f } = jt(e), { locationStyles: p } = El(e), { positionClasses: g } = pa(e), { roundedClasses: b } = Ze(e), h = Gt(e, n), I = v(() => e.link !== !1 && h.isLink.value), A = v(() => !e.disabled && e.link !== !1 && (e.link || h.isClickable.value)); return le(() => { const k = I.value ? "a" : e.tag, M = !(!l.title && !e.title), _ = !(!l.subtitle && !e.subtitle), T = M || _, V = !!(l.append || e.appendAvatar || e.appendIcon), S = !!(l.prepend || e.prependAvatar || e.prependIcon), C = !(!l.image && !e.image), D = T || S || V, w = !(!l.text && !e.text); - return Be(d(k, { class: ["v-card", { "v-card--disabled": e.disabled, "v-card--flat": e.flat, "v-card--hover": e.hover && !(e.disabled || e.flat), "v-card--link": A.value }, a.value, i.value, c.value, s.value, y.value, f.value, g.value, b.value, o.value, e.class], style: [r.value, m.value, p.value, e.style], href: h.href.value, onClick: A.value && h.navigate, tabindex: e.disabled ? -1 : void 0 }, { default: () => { + return Be(d(k, { class: ["v-card", { "v-card--disabled": e.disabled, "v-card--flat": e.flat, "v-card--hover": e.hover && !(e.disabled || e.flat), "v-card--link": A.value }, a.value, i.value, c.value, u.value, y.value, f.value, g.value, b.value, o.value, e.class], style: [r.value, m.value, p.value, e.style], href: h.href.value, onClick: A.value && h.navigate, tabindex: e.disabled ? -1 : void 0 }, { default: () => { var P; return [C && d("div", { key: "image", class: "v-card__image" }, [l.image ? d(Se, { key: "image-defaults", disabled: !e.image, defaults: { VImg: { cover: !0, src: e.image } } }, l.image) : d(ta, { key: "image-img", cover: !0, src: e.image }, null)]), d(zl, { name: "v-card", active: !!e.loading, color: typeof e.loading == "boolean" ? void 0 : e.loading }, { default: l.loader }), D && d(Hr, { key: "item", prependAvatar: e.prependAvatar, prependIcon: e.prependIcon, title: e.title, subtitle: e.subtitle, appendAvatar: e.appendAvatar, appendIcon: e.appendIcon }, { default: l.item, prepend: l.prepend, title: l.title, subtitle: l.subtitle, append: l.append }), w && d(vn, { key: "text" }, { default: () => { var O; @@ -2856,7 +2856,7 @@ const Mr = H({ chips: Boolean, closableChips: Boolean, closeText: { type: String }), {}; } }), Yr = H({ indeterminate: Boolean, inset: Boolean, flat: Boolean, loading: { type: [Boolean, String], default: !1 }, ...gt(), ...Dl() }, "VSwitch"), Xr = Q()({ name: "VSwitch", inheritAttrs: !1, props: Yr(), emits: { "update:focused": (e) => !0, "update:modelValue": () => !0, "update:indeterminate": (e) => !0 }, setup(e, t) { let { attrs: n, slots: l } = t; - const a = me(e, "indeterminate"), i = me(e, "modelValue"), { loaderClasses: c } = jt(e), { isFocused: r, focus: o, blur: s } = mt(e), m = R(), y = v(() => typeof e.loading == "string" && e.loading !== "" ? e.loading : e.color), f = Le(), p = v(() => e.id || `switch-${f}`); + const a = me(e, "indeterminate"), i = me(e, "modelValue"), { loaderClasses: c } = jt(e), { isFocused: r, focus: o, blur: u } = mt(e), m = R(), y = v(() => typeof e.loading == "string" && e.loading !== "" ? e.loading : e.color), f = Le(), p = v(() => e.id || `switch-${f}`); function g() { a.value && (a.value = !1); } @@ -2868,7 +2868,7 @@ const Mr = H({ chips: Boolean, closableChips: Boolean, closeText: { type: String const [h, I] = rt(n), [A, k] = ln.filterProps(e), [M, _] = Et.filterProps(e); return d(ln, Z({ class: ["v-switch", { "v-switch--inset": e.inset }, { "v-switch--indeterminate": a.value }, c.value, e.class], style: e.style }, h, A, { id: p.value, focused: r.value }), { ...l, default: (T) => { let { id: V, messagesId: S, isDisabled: C, isReadonly: D, isValid: w } = T; - return d(Et, Z({ ref: m }, M, { modelValue: i.value, "onUpdate:modelValue": [(P) => i.value = P, g], id: V.value, "aria-describedby": S.value, type: "checkbox", "aria-checked": a.value ? "mixed" : void 0, disabled: C.value, readonly: D.value, onFocus: o, onBlur: s }, I), { ...l, default: (P) => { + return d(Et, Z({ ref: m }, M, { modelValue: i.value, "onUpdate:modelValue": [(P) => i.value = P, g], id: V.value, "aria-describedby": S.value, type: "checkbox", "aria-checked": a.value ? "mixed" : void 0, disabled: C.value, readonly: D.value, onFocus: o, onBlur: u }, I), { ...l, default: (P) => { let { backgroundColorClasses: O, backgroundColorStyles: j } = P; return d("div", { class: ["v-switch__track", ...O.value], style: j.value, onClick: b }, null); }, input: (P) => { @@ -2879,7 +2879,7 @@ const Mr = H({ chips: Boolean, closableChips: Boolean, closeText: { type: String }), {}; } }), Kr = H({ autoGrow: Boolean, autofocus: Boolean, counter: [Boolean, Number, String], counterValue: Function, prefix: String, placeholder: String, persistentPlaceholder: Boolean, persistentCounter: Boolean, noResize: Boolean, rows: { type: [Number, String], default: 5, validator: (e) => !isNaN(parseFloat(e)) }, maxRows: { type: [Number, String], validator: (e) => !isNaN(parseFloat(e)) }, suffix: String, modelModifiers: Object, ...gt(), ...Ll() }, "VTextarea"), Jr = Q()({ name: "VTextarea", directives: { Intersect: Ol }, inheritAttrs: !1, props: Kr(), emits: { "click:control": (e) => !0, "mousedown:control": (e) => !0, "update:focused": (e) => !0, "update:modelValue": (e) => !0 }, setup(e, t) { let { attrs: n, emit: l, slots: a } = t; - const i = me(e, "modelValue"), { isFocused: c, focus: r, blur: o } = mt(e), s = v(() => typeof e.counterValue == "function" ? e.counterValue(i.value) : (i.value || "").toString().length), m = v(() => n.maxlength ? n.maxlength : !e.counter || typeof e.counter != "number" && typeof e.counter != "string" ? void 0 : e.counter); + const i = me(e, "modelValue"), { isFocused: c, focus: r, blur: o } = mt(e), u = v(() => typeof e.counterValue == "function" ? e.counterValue(i.value) : (i.value || "").toString().length), m = v(() => n.maxlength ? n.maxlength : !e.counter || typeof e.counter != "number" && typeof e.counter != "string" ? void 0 : e.counter); function y(w, P) { var O, j; e.autofocus && w && ((j = (O = P[0].target) == null ? void 0 : O.focus) == null || j.call(O)); @@ -2936,15 +2936,15 @@ const Mr = H({ chips: Boolean, closableChips: Boolean, closeText: { type: String } }); }, details: P ? (L) => { var N; - return d(fe, null, [(N = a.details) == null ? void 0 : N.call(a, L), w && d(fe, null, [d("span", null, null), d(Na, { active: e.persistentCounter || c.value, value: s.value, max: m.value }, a.counter)])]); + return d(fe, null, [(N = a.details) == null ? void 0 : N.call(a, L), w && d(fe, null, [d("span", null, null), d(Na, { active: e.persistentCounter || c.value, value: u.value, max: m.value }, a.counter)])]); } : void 0 }); }), Ht({}, f, p, b); } }), qa = Re({ __name: "BooleanIcons", props: _e({ iconFalseColor: {}, iconFalseTitle: {}, iconTrueColor: {}, iconTrueTitle: {}, iconFalse: {}, iconTrue: {} }, { modelValue: {} }), emits: ["update:modelValue"], setup(e) { const t = e, n = ve(Symbol.for("vuetify:icons")), l = sn(e, "modelValue"), a = v(() => De({ icon: t.iconFalse, iconOptions: n, name: "false" })), i = v(() => De({ icon: t.iconTrue, iconOptions: n, name: "true" })); - return (c, r) => l.value ? (X(), he(u(de), { key: 0, class: "v-inline-fields--boolean-icons fa-fw", color: c.iconTrueColor, icon: u(i), size: "x-small", title: c.iconTrueTitle }, null, 8, ["color", "icon", "title"])) : (X(), he(u(de), { key: 1, class: "v-inline-fields--boolean-icons fa-fw", color: c.iconFalseColor, icon: u(a), size: "x-small", title: c.iconFalseTitle }, null, 8, ["color", "icon", "title"])); + return (c, r) => l.value ? (X(), he(s(de), { key: 0, class: "v-inline-fields--boolean-icons fa-fw", color: c.iconTrueColor, icon: s(i), size: "x-small", title: c.iconTrueTitle }, null, 8, ["color", "icon", "title"])) : (X(), he(s(de), { key: 1, class: "v-inline-fields--boolean-icons fa-fw", color: c.iconFalseColor, icon: s(a), size: "x-small", title: c.iconFalseTitle }, null, 8, ["color", "icon", "title"])); } }), ae = "v-inline-fields", Vn = (e) => { - const { field: t = "", density: n = "", disabled: l = !1, iconSet: a = "mdi", loading: i = !1, loadingWait: c, tableField: r = !1, variant: o } = e, s = n && o; - return { [`${ae}`]: !0, [`${ae}--container`]: !0, [`${ae}--container-disabled`]: u(l), [`${ae}--container-table`]: r, [`${ae}--container-icon-set-${a}`]: !0, [`${ae}--container-loading`]: i && c, [`${ae}--container-${t}`]: !0, [`${ae}--container-${t}-${n}`]: !0, [`${ae}--container-${t}-${n}-${o}`]: s, [`${ae}--container-${t}-${o}`]: o, [`${ae}--container-${t}-${o}-${n}`]: s, [`${ae}--container-${n}`]: n, [`${ae}--container-${n}-${t}`]: n, [`${ae}--container-${n}-${o}`]: s, [`${ae}--container-${o}`]: o, [`${ae}--container-${o}-${n}`]: s, [`${ae}--container-${o}-${t}`]: o }; + const { field: t = "", density: n = "", disabled: l = !1, iconSet: a = "mdi", loading: i = !1, loadingWait: c, tableField: r = !1, variant: o } = e, u = n && o; + return { [`${ae}`]: !0, [`${ae}--container`]: !0, [`${ae}--container-disabled`]: s(l), [`${ae}--container-table`]: r, [`${ae}--container-icon-set-${a}`]: !0, [`${ae}--container-loading`]: i && c, [`${ae}--container-${t}`]: !0, [`${ae}--container-${t}-${n}`]: !0, [`${ae}--container-${t}-${n}-${o}`]: u, [`${ae}--container-${t}-${o}`]: o, [`${ae}--container-${t}-${o}-${n}`]: u, [`${ae}--container-${n}`]: n, [`${ae}--container-${n}-${t}`]: n, [`${ae}--container-${n}-${o}`]: u, [`${ae}--container-${o}`]: o, [`${ae}--container-${o}-${n}`]: u, [`${ae}--container-${o}-${t}`]: o }; }, An = (e) => { const { field: t = "", density: n = "" } = e; return { [`${ae}--display-container`]: !0, [`${ae}--display-wrapper-value`]: !0, [`${t}`]: !0, "v-input": !0, [`v-input--density-${n}`]: !0, "v-input--horizontal": !0 }; @@ -2956,7 +2956,7 @@ const Mr = H({ chips: Boolean, closableChips: Boolean, closeText: { type: String return { [`v-selection-control--density-${t}`]: !0 }; }, Wl = (e, t, n) => { const { error: l = !1, empty: a = !1 } = n; - return { [`${ae}`]: !0, [`${ae}--display-value-${e}`]: !0, [`${ae}--display-value`]: !0, [`${ae}--display-value-empty`]: u(a), [`text-${t}`]: !u(l), "text-danger": u(l) }; + return { [`${ae}`]: !0, [`${ae}--display-value-${e}`]: !0, [`${ae}--display-value`]: !0, [`${ae}--display-value-empty`]: s(a), [`text-${t}`]: !s(l), "text-danger": s(l) }; }, _n = (e) => { const { name: t, active: n = !1 } = e; return { [`${ae}`]: !0, [`${ae}--field`]: !0, [`${ae}--field-${t}`]: !0, [`${ae}--field-active`]: n }; @@ -2993,16 +2993,16 @@ function Oo(e) { else if (t.includes("hsl")) return t = [...t.matchAll(/[\d+.\d+]+/g)].map(String), n = t[0], l = t[1], a = t[2], i = _o(t[3]), `${n} ${l}% ${a}% / ${i}%`; [c, r, o, i] = t, c /= 255, r /= 255, o /= 255, i = _o(i); - const s = Math.max(c, r, o), m = Math.min(c, r, o); - if (s === null || !m === null || isNaN(s) || isNaN(m)) { + const u = Math.max(c, r, o), m = Math.min(c, r, o); + if (u === null || !m === null || isNaN(u) || isNaN(m)) { const y = "0 0% 100% / 12%"; return console.warn(`[VuetifyInlineFields: The "color" prop value using "${t}" doesn't exist. Using the value "hsl(${y})" in it's place.`), y; } - if (n = (s + m) / 2, l = (s + m) / 2, a = (s + m) / 2, s == m) + if (n = (u + m) / 2, l = (u + m) / 2, a = (u + m) / 2, u == m) n = l = 0; else { - const y = s - m; - switch (l = a > 0.5 ? y / (2 - s - m) : y / (s + m), s) { + const y = u - m; + switch (l = a > 0.5 ? y / (2 - u - m) : y / (u + m), u) { case c: n = (r - o) / y + (r < o ? 6 : 0); break; @@ -3036,14 +3036,14 @@ const Zr = (e, t) => { return +t ? `${Number(t)}${n}` : String(t); }, Ua = (e) => { var a; - const { modelValue: t, trueValue: n } = e, l = u(t); + const { modelValue: t, trueValue: n } = e, l = s(t); return ((a = l == null ? void 0 : l.toLowerCase) == null ? void 0 : a.call(l)) === "true" || l === "1" || l == "1" || l === !0 || l == n || l === n; }, Rl = (e) => { const { underlineStyle: t, underlineWidth: n, color: l, error: a, theme: i, underlined: c } = e; let { underlineColor: r } = e; r = r || l; const o = { "border-bottom-color": Zr(r, i), "border-bottom-style": t, "border-bottom-width": n }; - return u(a) && (o["border-bottom-color"] = "rgb(var(--v-theme-danger))"), c || (o["border-bottom"] = "none"), o; + return s(a) && (o["border-bottom-color"] = "rgb(var(--v-theme-danger))"), c || (o["border-bottom"] = "none"), o; }, fn = (e) => { const { cardMinWidth: t, cardOffsetX: n, cardOffsetY: l, cardWidth: a, field: i, name: c = "" } = e, r = ((m) => { const { cardOffsetX: y, cardOffsetY: f, field: p } = m; @@ -3052,10 +3052,10 @@ const Zr = (e, t) => { const { x: g, y: b } = p.getBoundingClientRect(), { width: h, height: I } = p.getBoundingClientRect(), { right: A, bottom: k } = p.getBoundingClientRect(); return { bottom: Yn({ str: k + Number(f) }), height: I, left: Yn({ str: 0 + Number(y) }), right: Yn({ str: A + Number(y) }), top: Yn({ str: 2 + Number(f) }), width: Yn({ str: h }), x: g, y: b }; })({ cardOffsetX: n, cardOffsetY: l, field: i }); - let o = t, s = a; - return s || (s = c === "checkbox" ? "fit-content" : r.width), o || (o = c === "checkbox" ? "fit-content" : r.width), { left: r.left, top: r.top, width: s, zIndex: 10 }; + let o = t, u = a; + return u || (u = c === "checkbox" ? "fit-content" : r.width), o || (o = c === "checkbox" ? "fit-content" : r.width), { left: r.left, top: r.top, width: u, zIndex: 10 }; }, Qr = { class: "v-inline-fields--display-wrapper" }, Lt = Re({ __name: "DisplayedValue", props: { color: {}, displayAppendIcon: {}, displayAppendIconColor: {}, displayAppendInnerIcon: {}, displayAppendInnerIconColor: {}, displayPrependIcon: {}, displayPrependIconColor: {}, displayPrependInnerIcon: {}, displayPrependInnerIconColor: {}, displayValue: {}, empty: { type: Boolean }, error: { type: Boolean }, field: {}, underlineColor: {}, underlineStyle: {}, underlineWidth: {}, underlined: { type: Boolean } }, emits: ["toggleField"], setup(e, { emit: t }) { - const n = t, l = e, a = un(), i = Sl(), c = { displayValue: l.displayValue, empty: l.empty, error: l.error }, r = v(() => Wl(l.field, l.valueColor, { empty: l.empty, error: l.error })), o = v(() => Rl({ color: l.color, error: l.error, theme: i, underlineColor: l.underlineColor, underlineStyle: l.underlineStyle, underlineWidth: l.underlineWidth, underlined: l.underlined })), s = v(() => ((f) => { + const n = t, l = e, a = un(), i = Sl(), c = { displayValue: l.displayValue, empty: l.empty, error: l.error }, r = v(() => Wl(l.field, l.valueColor, { empty: l.empty, error: l.error })), o = v(() => Rl({ color: l.color, error: l.error, theme: i, underlineColor: l.underlineColor, underlineStyle: l.underlineStyle, underlineWidth: l.underlineWidth, underlined: l.underlined })), u = v(() => ((f) => { const { underlineWidth: p } = f; return { borderBottom: `${p || "0px"} solid transparent` }; })({ underlineWidth: l.underlineWidth })), m = (f, p = !1) => ((g) => { @@ -3065,23 +3065,23 @@ const Zr = (e, t) => { function y() { n("toggleField"); } - return (f, p) => (X(), oe("div", Qr, [f.displayPrependIcon || u(a)["display.prepend"] ? (X(), oe("div", { key: 0, class: ee(m("prepend")), style: ge(u(s)) }, [u(a)["display.prepend"] ? Fe(f.$slots, "display.prepend", ye(Z({ key: 0 }, c))) : (X(), he(de, { key: 1, color: f.displayPrependIconColor, icon: f.displayPrependIcon, size: "x-small" }, null, 8, ["color", "icon"]))], 6)) : pe("", !0), Ie("div", { class: ee(["d-inline-flex", u(r)]), style: ge(u(o)), onClick: y }, [f.displayPrependInnerIcon || u(a)["display.prependInner"] ? (X(), oe("div", { key: 0, class: ee(m("prepend", !0)) }, [u(a)["display.prependInner"] ? Fe(f.$slots, "display.prependInner", ye(Z({ key: 0 }, c))) : (X(), he(de, { key: 1, color: f.displayPrependInnerIconColor, icon: f.displayPrependInnerIcon, size: "x-small" }, null, 8, ["color", "icon"]))], 2)) : pe("", !0), zo(" " + Il(f.displayValue) + " ", 1), f.displayAppendInnerIcon || u(a)["display.appendInner"] ? (X(), oe("div", { key: 1, class: ee(m("append", !0)) }, [u(a)["display.appendInner"] ? Fe(f.$slots, "display.appendInner", ye(Z({ key: 0 }, c))) : (X(), he(de, { key: 1, color: f.displayAppendInnerIconColor, icon: f.displayAppendInnerIcon, size: "x-small" }, null, 8, ["color", "icon"]))], 2)) : pe("", !0)], 6), f.displayAppendIcon || u(a)["display.append"] ? (X(), oe("div", { key: 1, class: ee(m("append")), style: ge(u(s)) }, [u(a)["display.append"] ? Fe(f.$slots, "display.append", ye(Z({ key: 0 }, c))) : (X(), he(de, { key: 1, color: f.displayAppendIconColor, icon: f.displayAppendIcon, size: "x-small" }, null, 8, ["color", "icon"]))], 6)) : pe("", !0)])); + return (f, p) => (X(), oe("div", Qr, [f.displayPrependIcon || s(a)["display.prepend"] ? (X(), oe("div", { key: 0, class: ee(m("prepend")), style: ge(s(u)) }, [s(a)["display.prepend"] ? Fe(f.$slots, "display.prepend", ye(Z({ key: 0 }, c))) : (X(), he(de, { key: 1, color: f.displayPrependIconColor, icon: f.displayPrependIcon, size: "x-small" }, null, 8, ["color", "icon"]))], 6)) : pe("", !0), Ie("div", { class: ee(["d-inline-flex", s(r)]), style: ge(s(o)), onClick: y }, [f.displayPrependInnerIcon || s(a)["display.prependInner"] ? (X(), oe("div", { key: 0, class: ee(m("prepend", !0)) }, [s(a)["display.prependInner"] ? Fe(f.$slots, "display.prependInner", ye(Z({ key: 0 }, c))) : (X(), he(de, { key: 1, color: f.displayPrependInnerIconColor, icon: f.displayPrependInnerIcon, size: "x-small" }, null, 8, ["color", "icon"]))], 2)) : pe("", !0), zo(" " + Il(f.displayValue) + " ", 1), f.displayAppendInnerIcon || s(a)["display.appendInner"] ? (X(), oe("div", { key: 1, class: ee(m("append", !0)) }, [s(a)["display.appendInner"] ? Fe(f.$slots, "display.appendInner", ye(Z({ key: 0 }, c))) : (X(), he(de, { key: 1, color: f.displayAppendInnerIconColor, icon: f.displayAppendInnerIcon, size: "x-small" }, null, 8, ["color", "icon"]))], 2)) : pe("", !0)], 6), f.displayAppendIcon || s(a)["display.append"] ? (X(), oe("div", { key: 1, class: ee(m("append")), style: ge(s(u)) }, [s(a)["display.append"] ? Fe(f.$slots, "display.append", ye(Z({ key: 0 }, c))) : (X(), he(de, { key: 1, color: f.displayAppendIconColor, icon: f.displayAppendIcon, size: "x-small" }, null, 8, ["color", "icon"]))], 6)) : pe("", !0)])); } }), lt = Re({ __name: "SaveFieldButtons", props: { loading: { type: Boolean }, cancelButtonColor: {}, cancelButtonSize: {}, cancelButtonVariant: {}, cancelButtonTitle: {}, cancelIconColor: {}, error: { type: Boolean }, fieldOnly: { type: Boolean }, hideSaveIcon: { type: Boolean }, loadingIconColor: {}, saveButtonColor: {}, saveButtonSize: {}, saveButtonTitle: {}, saveButtonVariant: {}, saveIconColor: {}, cancelIcon: {}, loadingIcon: {}, saveIcon: {} }, emits: ["close", "save"], setup(e, { emit: t }) { - const n = cn(), l = t, a = e, i = ve(Symbol.for("vuetify:icons")), c = v(() => a.error), r = v(() => ({ [`${ae}--save-fields-container`]: !0 })), o = v(() => a.loading), s = ze({ ...n, ...a }), m = v(() => (i == null ? void 0 : i.defaultSet) === "fa" ? "fa-spin" : (i == null ? void 0 : i.defaultSet) === "mdi" ? "mdi-spin" : ""), y = v(() => ((I) => { + const n = cn(), l = t, a = e, i = ve(Symbol.for("vuetify:icons")), c = v(() => a.error), r = v(() => ({ [`${ae}--save-fields-container`]: !0 })), o = v(() => a.loading), u = ze({ ...n, ...a }), m = v(() => (i == null ? void 0 : i.defaultSet) === "fa" ? "fa-spin" : (i == null ? void 0 : i.defaultSet) === "mdi" ? "mdi-spin" : ""), y = v(() => ((I) => { const { cancelButtonVariant: A } = I; return { "me-1": A === "elevated", "ms-1": !0 }; - })({ cancelButtonVariant: s.cancelButtonVariant })), f = v(() => De({ icon: a.cancelIcon, iconOptions: i, name: "false" })), p = v(() => De({ icon: a.loadingIcon, iconOptions: i, name: "loading" })), g = v(() => De({ icon: a.saveIcon, iconOptions: i, name: "save" })); + })({ cancelButtonVariant: u.cancelButtonVariant })), f = v(() => De({ icon: a.cancelIcon, iconOptions: i, name: "false" })), p = v(() => De({ icon: a.loadingIcon, iconOptions: i, name: "loading" })), g = v(() => De({ icon: a.saveIcon, iconOptions: i, name: "save" })); function b() { l("close"); } function h() { l("save"); } - return (I, A) => (X(), oe("div", Z({ class: u(r) }, I.$attrs), [u(s).hideSaveIcon ? pe("", !0) : (X(), he(ul, { key: 0, class: "ms-1", color: u(s).saveButtonColor, disabled: u(c), icon: "", size: u(s).saveButtonSize, title: u(o) ? "Loading" : u(s).saveButtonTitle, variant: u(s).saveButtonVariant, onClick: h }, { default: se(() => [u(o) ? (X(), he(de, { key: 1, class: ee(u(m)), color: u(s).loadingIconColor, icon: u(p) }, null, 8, ["class", "color", "icon"])) : (X(), he(de, { key: 0, color: u(c) ? "error" : u(s).saveIconColor, icon: u(g) }, null, 8, ["color", "icon"]))]), _: 1 }, 8, ["color", "disabled", "size", "title", "variant"])), d(ul, { class: ee(u(y)), color: u(s).cancelButtonColor, icon: "", size: u(s).cancelButtonSize, title: u(s).cancelButtonTitle, variant: u(s).cancelButtonVariant, onClick: b }, { default: se(() => [u(s).hideSaveIcon && u(o) ? (X(), he(de, { key: 0, class: ee(u(m)), color: u(s).loadingIconColor, icon: u(p) }, null, 8, ["class", "color", "icon"])) : (X(), he(de, { key: 1, class: "text-default", color: u(s).cancelIconColor, icon: u(f) }, null, 8, ["color", "icon"]))]), _: 1 }, 8, ["class", "color", "size", "title", "variant"])], 16)); + return (I, A) => (X(), oe("div", Z({ class: s(r) }, I.$attrs), [s(u).hideSaveIcon ? pe("", !0) : (X(), he(ul, { key: 0, class: "ms-1", color: s(u).saveButtonColor, disabled: s(c), icon: "", size: s(u).saveButtonSize, title: s(o) ? "Loading" : s(u).saveButtonTitle, variant: s(u).saveButtonVariant, onClick: h }, { default: se(() => [s(o) ? (X(), he(de, { key: 1, class: ee(s(m)), color: s(u).loadingIconColor, icon: s(p) }, null, 8, ["class", "color", "icon"])) : (X(), he(de, { key: 0, color: s(c) ? "error" : s(u).saveIconColor, icon: s(g) }, null, 8, ["color", "icon"]))]), _: 1 }, 8, ["color", "disabled", "size", "title", "variant"])), d(ul, { class: ee(s(y)), color: s(u).cancelButtonColor, icon: "", size: s(u).cancelButtonSize, title: s(u).cancelButtonTitle, variant: s(u).cancelButtonVariant, onClick: b }, { default: se(() => [s(u).hideSaveIcon && s(o) ? (X(), he(de, { key: 0, class: ee(s(m)), color: s(u).loadingIconColor, icon: s(p) }, null, 8, ["class", "color", "icon"])) : (X(), he(de, { key: 1, class: "text-default", color: s(u).cancelIconColor, icon: s(f) }, null, 8, ["color", "icon"]))]), _: 1 }, 8, ["class", "color", "size", "title", "variant"])], 16)); } }), Mt = (e) => { const { required: t, rules: n } = e; let { value: l } = e; - l = u(l); + l = s(l); const a = []; let i = !1; if (t && !l) @@ -3097,7 +3097,7 @@ const Zr = (e, t) => { }, Pn = (e) => { const { attrs: t, closeSiblings: n, fieldOnly: l, props: a, showField: i, timeOpened: c } = e; let r = c; - return n && !l && (r = /* @__PURE__ */ new Date()), { settings: { ...t, ...a }, showField: !u(i), timeOpened: r }; + return n && !l && (r = /* @__PURE__ */ new Date()), { settings: { ...t, ...a }, showField: !s(i), timeOpened: r }; }, hl = (e) => { const { length: t = 0 } = e; let { suffix: n, text: l } = e; @@ -3107,26 +3107,26 @@ const Zr = (e, t) => { return t = Object.entries(t).filter(([n]) => !es.includes(n)), Object.fromEntries(t); }, ns = { class: "v-selection-control__wrapper" }, ts = Re({ __name: "VInlineCheckbox", props: _e(Sn({ density: {}, falseIcon: {}, trueIcon: {}, cancelButtonColor: {}, cancelButtonSize: {}, cancelButtonTitle: {}, cancelButtonVariant: {}, cancelIcon: {}, cancelIconColor: {}, cardField: { type: Boolean }, cardOffsetX: {}, cardOffsetY: {}, cardProps: {}, closeSiblings: { type: Boolean }, color: {}, disabled: { type: Boolean }, displayAppendIcon: {}, displayAppendIconColor: {}, displayAppendIconSize: {}, displayAppendInnerIcon: {}, displayAppendInnerIconColor: {}, displayAppendInnerIconSize: {}, displayPrependIcon: {}, displayPrependIconColor: {}, displayPrependIconSize: {}, displayPrependInnerIcon: {}, displayPrependInnerIconColor: {}, displayPrependInnerIconSize: {}, emptyText: {}, error: { type: Boolean }, falseValue: { type: [Boolean, String] }, fieldOnly: { type: Boolean }, hideDetails: { type: Boolean }, hideSaveIcon: { type: Boolean }, iconFalse: {}, iconFalseColor: {}, iconFalseTitle: {}, iconTrue: {}, iconTrueColor: {}, iconTrueTitle: {}, icons: { type: Boolean }, item: {}, label: {}, loading: { type: Boolean }, loadingIcon: {}, loadingIconColor: {}, loadingWait: { type: Boolean }, name: {}, required: { type: Boolean }, saveButtonColor: {}, saveButtonSize: {}, saveButtonTitle: {}, saveButtonVariant: {}, saveIcon: {}, saveIconColor: {}, tableField: { type: Boolean }, trueValue: { type: [Boolean, String] }, underlineColor: {}, underlineStyle: {}, underlineWidth: {}, underlined: { type: Boolean }, valueColor: {} }, { ...ai }), { modelValue: {} }), emits: _e([...$n], ["update:modelValue"]), setup(e, { emit: t }) { const n = sn(e, "modelValue"), l = cn(), a = un(), i = t, c = ve(Symbol.for("vuetify:icons")), r = Sl(), o = e; - let s = ze({ ...l, ...o }); - const m = v(() => o.loading), y = v(() => o.disabled), f = R(!1), p = R(!1), g = R(null), b = v(() => Kn(s)), h = v(() => ({ ...kn, ...o.cardProps })); + let u = ze({ ...l, ...o }); + const m = v(() => o.loading), y = v(() => o.disabled), f = R(!1), p = R(!1), g = R(null), b = v(() => Kn(u)), h = v(() => ({ ...kn, ...o.cardProps })); K(() => m.value, (F, z) => { !F && z && p.value && N(); }); - const I = v(() => De({ icon: o.trueIcon, iconOptions: c, name: "checkboxFalse" })), A = v(() => De({ icon: o.iconTrue, iconOptions: c, name: "checkboxTrue" })), k = v(() => n.value == s.trueValue), M = v(() => Ua({ modelValue: n, trueValue: s.trueValue })), _ = v(() => Vn({ density: s.density, disabled: y.value, field: "v-checkbox", loading: m.value, loadingWait: s.loadingWait, tableField: s.tableField })), T = v(() => An({ density: s.density, field: "v-checkbox" })), V = Ha({ density: s.density }), S = v(() => _n({ active: p.value, name: "checkbox" })), C = v(() => Wl("checkbox", s.valueColor, { error: f })), D = v(() => On({ name: "checkbox", showField: p.value })), w = v(() => ({})), P = v(() => Rl({ color: s.color, error: f, theme: r, underlineColor: s.underlineColor, underlineStyle: s.underlineStyle, underlineWidth: s.underlineWidth, underlined: s.underlined })), O = v(() => q.value); + const I = v(() => De({ icon: o.trueIcon, iconOptions: c, name: "checkboxFalse" })), A = v(() => De({ icon: o.iconTrue, iconOptions: c, name: "checkboxTrue" })), k = v(() => n.value == u.trueValue), M = v(() => Ua({ modelValue: n, trueValue: u.trueValue })), _ = v(() => Vn({ density: u.density, disabled: y.value, field: "v-checkbox", loading: m.value, loadingWait: u.loadingWait, tableField: u.tableField })), T = v(() => An({ density: u.density, field: "v-checkbox" })), V = Ha({ density: u.density }), S = v(() => _n({ active: p.value, name: "checkbox" })), C = v(() => Wl("checkbox", u.valueColor, { error: f })), D = v(() => On({ name: "checkbox", showField: p.value })), w = v(() => ({})), P = v(() => Rl({ color: u.color, error: f, theme: r, underlineColor: u.underlineColor, underlineStyle: u.underlineStyle, underlineWidth: u.underlineWidth, underlined: u.underlined })), O = v(() => q.value); function j() { f.value = !1, N(); } const q = R(), x = R(null), E = R("body"), L = oi(); function N() { var z, U; - if (y.value || s.loadingWait && m.value) + if (y.value || u.loadingWait && m.value) return; - q.value = fn({ cardMinWidth: (z = s.cardProps) == null ? void 0 : z.minWidth, cardOffsetX: s.cardOffsetX, cardOffsetY: s.cardOffsetY, cardWidth: (U = s.cardProps) == null ? void 0 : U.width, field: x.value, name: "checkbox" }); - const F = Pn({ attrs: l, closeSiblings: s.closeSiblings, fieldOnly: s.fieldOnly, props: o, showField: p, timeOpened: g.value }); - s = { ...s, ...F.settings }, p.value = F.showField, g.value = F.timeOpened, $ !== null && s.closeSiblings && p.value && !s.fieldOnly && $.emit(F.timeOpened); + q.value = fn({ cardMinWidth: (z = u.cardProps) == null ? void 0 : z.minWidth, cardOffsetX: u.cardOffsetX, cardOffsetY: u.cardOffsetY, cardWidth: (U = u.cardProps) == null ? void 0 : U.width, field: x.value, name: "checkbox" }); + const F = Pn({ attrs: l, closeSiblings: u.closeSiblings, fieldOnly: u.fieldOnly, props: o, showField: p, timeOpened: g.value }); + u = { ...u, ...F.settings }, p.value = F.showField, g.value = F.timeOpened, $ !== null && u.closeSiblings && p.value && !u.fieldOnly && $.emit(F.timeOpened); } function G(F) { - n.value = F, i("update", F), s.loadingWait || N(); + n.value = F, i("update", F), u.loadingWait || N(); } let $, B; function W(F) { @@ -3134,28 +3134,28 @@ const Zr = (e, t) => { } return K(() => L, () => { var F, z; - q.value = fn({ cardMinWidth: (F = s.cardProps) == null ? void 0 : F.minWidth, cardOffsetX: s.cardOffsetX, cardOffsetY: s.cardOffsetY, cardWidth: (z = s.cardProps) == null ? void 0 : z.width, field: x.value, name: "checkbox" }); - }, { deep: !0 }), s.closeSiblings && import("@vueuse/core").then(({ useEventBus: F }) => { + q.value = fn({ cardMinWidth: (F = u.cardProps) == null ? void 0 : F.minWidth, cardOffsetX: u.cardOffsetX, cardOffsetY: u.cardOffsetY, cardWidth: (z = u.cardProps) == null ? void 0 : z.width, field: x.value, name: "checkbox" }); + }, { deep: !0 }), u.closeSiblings && import("@vueuse/core").then(({ useEventBus: F }) => { $ = F(Bn), B = $.on(W); }), xn(() => { B !== void 0 && $.off(W); - }), (F, z) => (X(), oe("div", { ref_key: "inlineFieldsContainer", ref: x, class: ee(u(_)), style: ge(u(w)) }, [!u(p) && !u(s).fieldOnly || u(s).cardField ? (X(), oe("div", { key: 0, class: ee(u(T)) }, [Ie("div", { class: ee(u(V)) }, [Ie("div", ns, [F.icons ? (X(), oe("div", { key: 0, class: ee(u(C)), style: ge(u(P)), onClick: N }, [d(u(qa), { modelValue: u(M), "onUpdate:modelValue": z[0] || (z[0] = (U) => mn(M) ? M.value = U : null), "icon-false": u(s).iconFalse, "icon-false-color": u(s).iconFalseColor, "icon-false-title": u(s).iconFalseTitle, "icon-true": u(s).iconTrue, "icon-true-color": u(s).iconTrueColor, "icon-true-title": u(s).iconTrueTitle }, null, 8, ["modelValue", "icon-false", "icon-false-color", "icon-false-title", "icon-true", "icon-true-color", "icon-true-title"])], 6)) : (X(), oe("div", { key: 1, class: ee(["d-inline-flex align-center justify-center", u(C)]), style: ge(u(P)), onClick: N }, Il(u(k)), 7))])], 2)], 2)) : pe("", !0), u(p) || u(s).fieldOnly || u(s).cardField ? (X(), oe("div", { key: 1, class: ee(u(S)) }, [(X(), he(rn, { disabled: !u(s).cardField, to: u(E) }, [d(Yi, Z(u(b), { color: u(s).color, density: u(s).density, disabled: u(m) || u(y), error: u(f), "false-icon": u(I), "false-value": u(s).falseValue, "hide-details": u(s).hideDetails, label: u(s).label, "model-value": u(M), "true-icon": u(A), "true-value": u(s).trueValue, "onUpdate:modelValue": G }), Ge({ _: 2 }, [qe(u(a), (U, J) => ({ name: J, fn: se((Y) => [Fe(F.$slots, J, ye(be({ ...Y })))]) })), u(a).append ? void 0 : { name: "append", fn: se(() => [d(u(lt), { "cancel-button-color": u(s).cancelButtonColor, "cancel-button-size": u(s).cancelButtonSize, "cancel-button-title": u(s).cancelButtonTitle, "cancel-button-variant": u(s).cancelButtonVariant, "cancel-icon": u(s).cancelIcon, "cancel-icon-color": u(s).cancelIconColor, error: u(f), "field-only": u(s).fieldOnly, "hide-save-icon": !0, loading: u(m), "loading-icon": u(s).loadingIcon, "loading-icon-color": u(s).loadingIconColor, "save-button-color": u(s).saveButtonColor, "save-button-size": u(s).saveButtonSize, "save-button-title": u(s).saveButtonTitle, "save-button-variant": u(s).saveButtonVariant, "save-icon": u(s).saveIcon, "save-icon-color": u(s).saveIconColor, onClose: j, onSave: G }, null, 8, ["cancel-button-color", "cancel-button-size", "cancel-button-title", "cancel-button-variant", "cancel-icon", "cancel-icon-color", "error", "field-only", "loading", "loading-icon", "loading-icon-color", "save-button-color", "save-button-size", "save-button-title", "save-button-variant", "save-icon", "save-icon-color"])]), key: "0" }]), 1040, ["color", "density", "disabled", "error", "false-icon", "false-value", "hide-details", "label", "model-value", "true-icon", "true-value"])], 8, ["disabled", "to"]))], 2)) : pe("", !0), u(s).cardField ? (X(), oe("div", { key: 2, class: ee(u(D)), style: ge(u(O)) }, [d(Fn, ye(be(u(h))), { default: se(() => [d(vn, null, { default: se(() => [Ie("div", { ref_key: "cardFieldRef", ref: E }, null, 512)]), _: 1 })]), _: 1 }, 16)], 6)) : pe("", !0)], 6)); + }), (F, z) => (X(), oe("div", { ref_key: "inlineFieldsContainer", ref: x, class: ee(s(_)), style: ge(s(w)) }, [!s(p) && !s(u).fieldOnly || s(u).cardField ? (X(), oe("div", { key: 0, class: ee(s(T)) }, [Ie("div", { class: ee(s(V)) }, [Ie("div", ns, [F.icons ? (X(), oe("div", { key: 0, class: ee(s(C)), style: ge(s(P)), onClick: N }, [d(s(qa), { modelValue: s(M), "onUpdate:modelValue": z[0] || (z[0] = (U) => mn(M) ? M.value = U : null), "icon-false": s(u).iconFalse, "icon-false-color": s(u).iconFalseColor, "icon-false-title": s(u).iconFalseTitle, "icon-true": s(u).iconTrue, "icon-true-color": s(u).iconTrueColor, "icon-true-title": s(u).iconTrueTitle }, null, 8, ["modelValue", "icon-false", "icon-false-color", "icon-false-title", "icon-true", "icon-true-color", "icon-true-title"])], 6)) : (X(), oe("div", { key: 1, class: ee(["d-inline-flex align-center justify-center", s(C)]), style: ge(s(P)), onClick: N }, Il(s(k)), 7))])], 2)], 2)) : pe("", !0), s(p) || s(u).fieldOnly || s(u).cardField ? (X(), oe("div", { key: 1, class: ee(s(S)) }, [(X(), he(rn, { disabled: !s(u).cardField, to: s(E) }, [d(Yi, Z(s(b), { color: s(u).color, density: s(u).density, disabled: s(m) || s(y), error: s(f), "false-icon": s(I), "false-value": s(u).falseValue, "hide-details": s(u).hideDetails, label: s(u).label, "model-value": s(M), "true-icon": s(A), "true-value": s(u).trueValue, "onUpdate:modelValue": G }), Ge({ _: 2 }, [qe(s(a), (U, J) => ({ name: J, fn: se((Y) => [Fe(F.$slots, J, ye(be({ ...Y })))]) })), s(a).append ? void 0 : { name: "append", fn: se(() => [d(s(lt), { "cancel-button-color": s(u).cancelButtonColor, "cancel-button-size": s(u).cancelButtonSize, "cancel-button-title": s(u).cancelButtonTitle, "cancel-button-variant": s(u).cancelButtonVariant, "cancel-icon": s(u).cancelIcon, "cancel-icon-color": s(u).cancelIconColor, error: s(f), "field-only": s(u).fieldOnly, "hide-save-icon": !0, loading: s(m), "loading-icon": s(u).loadingIcon, "loading-icon-color": s(u).loadingIconColor, "save-button-color": s(u).saveButtonColor, "save-button-size": s(u).saveButtonSize, "save-button-title": s(u).saveButtonTitle, "save-button-variant": s(u).saveButtonVariant, "save-icon": s(u).saveIcon, "save-icon-color": s(u).saveIconColor, onClose: j, onSave: G }, null, 8, ["cancel-button-color", "cancel-button-size", "cancel-button-title", "cancel-button-variant", "cancel-icon", "cancel-icon-color", "error", "field-only", "loading", "loading-icon", "loading-icon-color", "save-button-color", "save-button-size", "save-button-title", "save-button-variant", "save-icon", "save-icon-color"])]), key: "0" }]), 1040, ["color", "density", "disabled", "error", "false-icon", "false-value", "hide-details", "label", "model-value", "true-icon", "true-value"])], 8, ["disabled", "to"]))], 2)) : pe("", !0), s(u).cardField ? (X(), oe("div", { key: 2, class: ee(s(D)), style: ge(s(O)) }, [d(Fn, ye(be(s(h))), { default: se(() => [d(vn, null, { default: se(() => [Ie("div", { ref_key: "cardFieldRef", ref: E }, null, 512)]), _: 1 })]), _: 1 }, 16)], 6)) : pe("", !0)], 6)); } }), ls = Re({ __name: "VInlineCustomField", props: _e(Sn({ clearIcon: {}, density: {}, rules: {}, variant: {}, autofocus: { type: Boolean }, cancelButtonColor: {}, cancelButtonSize: {}, cancelButtonTitle: {}, cancelButtonVariant: {}, cancelIcon: {}, cancelIconColor: {}, cardField: { type: Boolean }, cardOffsetX: {}, cardOffsetY: {}, cardProps: {}, closeSiblings: { type: Boolean }, color: {}, disabled: { type: Boolean }, displayAppendIcon: {}, displayAppendIconColor: {}, displayAppendIconSize: {}, displayAppendInnerIcon: {}, displayAppendInnerIconColor: {}, displayAppendInnerIconSize: {}, displayPrependIcon: {}, displayPrependIconColor: {}, displayPrependIconSize: {}, displayPrependInnerIcon: {}, displayPrependInnerIconColor: {}, displayPrependInnerIconSize: {}, emptyText: {}, error: { type: Boolean }, fieldOnly: { type: Boolean }, hideDetails: { type: Boolean }, hideSaveIcon: { type: Boolean }, item: {}, label: {}, loading: { type: Boolean }, loadingIcon: {}, loadingIconColor: {}, loadingWait: { type: Boolean }, name: {}, required: { type: Boolean }, saveButtonColor: {}, saveButtonSize: {}, saveButtonTitle: {}, saveButtonVariant: {}, saveIcon: {}, saveIconColor: {}, tableField: { type: Boolean }, truncateLength: {}, truncateSuffix: {}, underlineColor: {}, underlineStyle: {}, underlineWidth: {}, underlined: { type: Boolean }, valueColor: {} }, { ...Lo }), { modelValue: {} }), emits: _e([...$n], ["update:modelValue"]), setup(e, { emit: t }) { const n = sn(e, "modelValue"), l = cn(), a = un(), i = t, c = ve(Symbol.for("vuetify:icons")), r = e; let o = ze({ ...l, ...r }); - const s = v(() => r.loading), m = v(() => r.disabled), y = R(!1), f = R(!1), p = R(!1), g = R(null); + const u = v(() => r.loading), m = v(() => r.disabled), y = R(!1), f = R(!1), p = R(!1), g = R(null); let b = n.value; - K(() => s.value, (B, W) => { + K(() => u.value, (B, W) => { !B && W && p.value && q(); }); - const h = v(() => n.value ? (y.value = !1, o.truncateLength ? hl({ length: o.truncateLength, suffix: o.truncateSuffix, text: n.value }) : n.value) : (y.value = !0, o.emptyText)), I = v(() => ({ ...o, loading: s.value, modelValue: n.value, originalValue: b })), A = v(() => ({ color: o.color, displayAppendIcon: r.displayAppendIcon, displayAppendIconColor: r.displayAppendIconColor, displayAppendIconSize: r.displayAppendIconSize, displayAppendInnerIcon: r.displayAppendInnerIcon, displayAppendInnerIconColor: r.displayAppendInnerIconColor, displayAppendInnerIconSize: r.displayAppendInnerIconSize, displayPrependIcon: r.displayPrependIcon, displayPrependIconColor: r.displayPrependIconColor, displayPrependIconSize: r.displayPrependIconSize, displayPrependInnerIcon: r.displayPrependInnerIcon, displayPrependInnerIconColor: r.displayPrependInnerIconColor, displayPrependInnerIconSize: r.displayPrependInnerIconSize, displayValue: h.value, empty: y.value, error: f.value, field: "v-text-field", underlineColor: o.underlineColor, underlineStyle: o.underlineStyle, underlineWidth: o.underlineWidth, underlined: o.underlined, valueColor: o.valueColor })), k = v(() => ({ ...kn, ...r.cardProps })), M = v(() => Vn({ density: o.density, disabled: m.value, field: "v-text-field", iconSet: c == null ? void 0 : c.defaultSet, loading: s.value, loadingWait: o.loadingWait, tableField: o.tableField, variant: o.variant })), _ = v(() => An({ density: o.density, field: "v-text-field" })), T = Dt({ density: o.density, variant: o.variant }), V = v(() => _n({ active: p.value, name: "text-field" })), S = v(() => On({ name: "custom-field", showField: p.value })), C = v(() => ({})), D = v(() => P.value); + const h = v(() => n.value ? (y.value = !1, o.truncateLength ? hl({ length: o.truncateLength, suffix: o.truncateSuffix, text: n.value }) : n.value) : (y.value = !0, o.emptyText)), I = v(() => ({ ...o, loading: u.value, modelValue: n.value, originalValue: b })), A = v(() => ({ color: o.color, displayAppendIcon: r.displayAppendIcon, displayAppendIconColor: r.displayAppendIconColor, displayAppendIconSize: r.displayAppendIconSize, displayAppendInnerIcon: r.displayAppendInnerIcon, displayAppendInnerIconColor: r.displayAppendInnerIconColor, displayAppendInnerIconSize: r.displayAppendInnerIconSize, displayPrependIcon: r.displayPrependIcon, displayPrependIconColor: r.displayPrependIconColor, displayPrependIconSize: r.displayPrependIconSize, displayPrependInnerIcon: r.displayPrependInnerIcon, displayPrependInnerIconColor: r.displayPrependInnerIconColor, displayPrependInnerIconSize: r.displayPrependInnerIconSize, displayValue: h.value, empty: y.value, error: f.value, field: "v-text-field", underlineColor: o.underlineColor, underlineStyle: o.underlineStyle, underlineWidth: o.underlineWidth, underlined: o.underlined, valueColor: o.valueColor })), k = v(() => ({ ...kn, ...r.cardProps })), M = v(() => Vn({ density: o.density, disabled: m.value, field: "v-text-field", iconSet: c == null ? void 0 : c.defaultSet, loading: u.value, loadingWait: o.loadingWait, tableField: o.tableField, variant: o.variant })), _ = v(() => An({ density: o.density, field: "v-text-field" })), T = Dt({ density: o.density, variant: o.variant }), V = v(() => _n({ active: p.value, name: "text-field" })), S = v(() => On({ name: "custom-field", showField: p.value })), C = v(() => ({})), D = v(() => P.value); function w() { f.value = !1, n.value = b, q(); } const P = R(), O = R(null), j = R("body"); function q() { var W, F; - if (m.value || o.loadingWait && s.value) + if (m.value || o.loadingWait && u.value) return; P.value = fn({ cardMinWidth: (W = o.cardProps) == null ? void 0 : W.minWidth, cardOffsetX: o.cardOffsetX, cardOffsetY: o.cardOffsetY, cardWidth: (F = o.cardProps) == null ? void 0 : F.width, field: O.value }); const B = Pn({ attrs: l, closeSiblings: o.closeSiblings, fieldOnly: o.fieldOnly, props: r, showField: p, timeOpened: g.value }); @@ -3181,27 +3181,27 @@ const Zr = (e, t) => { N = B(Bn), G = N.on($); }), xn(() => { G !== void 0 && N.off($); - }), (B, W) => (X(), oe("div", { ref_key: "inlineFieldsContainer", ref: O, class: ee(u(M)), style: ge(u(C)) }, [!u(p) && !u(o).fieldOnly || u(o).cardField ? (X(), oe("div", { key: 0, class: ee(u(_)) }, [Ie("div", { class: ee(u(T)) }, [d(u(Lt), Z(u(A), { onToggleField: q }), Ge({ _: 2 }, [qe(u(a), (F, z) => ({ name: z, fn: se((U) => [Fe(B.$slots, z, ye(be({ ...U })))]) }))]), 1040)], 2)], 2)) : pe("", !0), u(p) || u(o).fieldOnly || u(o).cardField ? (X(), oe("div", { key: 1, class: ee(["d-flex align-center py-2", u(V)]) }, [(X(), he(rn, { disabled: !u(o).cardField, to: u(j) }, [Fe(B.$slots, "default", ye(be(u(I)))), d(u(lt), { modelValue: n.value, "onUpdate:modelValue": W[0] || (W[0] = (F) => n.value = F), "cancel-button-color": u(o).cancelButtonColor, "cancel-button-size": u(o).cancelButtonSize, "cancel-button-title": u(o).cancelButtonTitle, "cancel-button-variant": u(o).cancelButtonVariant, "cancel-icon": u(o).cancelIcon, "cancel-icon-color": u(o).cancelIconColor, error: u(f), "field-only": u(o).fieldOnly, "hide-save-icon": u(o).hideSaveIcon, loading: u(s), "loading-icon": u(o).loadingIcon, "loading-icon-color": u(o).loadingIconColor, required: u(o).required, "save-button-color": u(o).saveButtonColor, "save-button-size": u(o).saveButtonSize, "save-button-title": u(o).saveButtonTitle, "save-button-variant": u(o).saveButtonVariant, "save-icon": u(o).saveIcon, "save-icon-color": u(o).saveIconColor, onClose: w, onSave: L }, null, 8, ["modelValue", "cancel-button-color", "cancel-button-size", "cancel-button-title", "cancel-button-variant", "cancel-icon", "cancel-icon-color", "error", "field-only", "hide-save-icon", "loading", "loading-icon", "loading-icon-color", "required", "save-button-color", "save-button-size", "save-button-title", "save-button-variant", "save-icon", "save-icon-color"])], 8, ["disabled", "to"]))], 2)) : pe("", !0), u(o).cardField ? (X(), oe("div", { key: 2, class: ee(u(S)), style: ge(u(D)) }, [d(Fn, ye(be(u(k))), { default: se(() => [d(vn, null, { default: se(() => [Ie("div", { ref_key: "cardFieldRef", ref: j }, null, 512)]), _: 1 })]), _: 1 }, 16)], 6)) : pe("", !0)], 6)); + }), (B, W) => (X(), oe("div", { ref_key: "inlineFieldsContainer", ref: O, class: ee(s(M)), style: ge(s(C)) }, [!s(p) && !s(o).fieldOnly || s(o).cardField ? (X(), oe("div", { key: 0, class: ee(s(_)) }, [Ie("div", { class: ee(s(T)) }, [d(s(Lt), Z(s(A), { onToggleField: q }), Ge({ _: 2 }, [qe(s(a), (F, z) => ({ name: z, fn: se((U) => [Fe(B.$slots, z, ye(be({ ...U })))]) }))]), 1040)], 2)], 2)) : pe("", !0), s(p) || s(o).fieldOnly || s(o).cardField ? (X(), oe("div", { key: 1, class: ee(["d-flex align-center py-2", s(V)]) }, [(X(), he(rn, { disabled: !s(o).cardField, to: s(j) }, [Fe(B.$slots, "default", ye(be(s(I)))), d(s(lt), { modelValue: n.value, "onUpdate:modelValue": W[0] || (W[0] = (F) => n.value = F), "cancel-button-color": s(o).cancelButtonColor, "cancel-button-size": s(o).cancelButtonSize, "cancel-button-title": s(o).cancelButtonTitle, "cancel-button-variant": s(o).cancelButtonVariant, "cancel-icon": s(o).cancelIcon, "cancel-icon-color": s(o).cancelIconColor, error: s(f), "field-only": s(o).fieldOnly, "hide-save-icon": s(o).hideSaveIcon, loading: s(u), "loading-icon": s(o).loadingIcon, "loading-icon-color": s(o).loadingIconColor, required: s(o).required, "save-button-color": s(o).saveButtonColor, "save-button-size": s(o).saveButtonSize, "save-button-title": s(o).saveButtonTitle, "save-button-variant": s(o).saveButtonVariant, "save-icon": s(o).saveIcon, "save-icon-color": s(o).saveIconColor, onClose: w, onSave: L }, null, 8, ["modelValue", "cancel-button-color", "cancel-button-size", "cancel-button-title", "cancel-button-variant", "cancel-icon", "cancel-icon-color", "error", "field-only", "hide-save-icon", "loading", "loading-icon", "loading-icon-color", "required", "save-button-color", "save-button-size", "save-button-title", "save-button-variant", "save-icon", "save-icon-color"])], 8, ["disabled", "to"]))], 2)) : pe("", !0), s(o).cardField ? (X(), oe("div", { key: 2, class: ee(s(S)), style: ge(s(D)) }, [d(Fn, ye(be(s(k))), { default: se(() => [d(vn, null, { default: se(() => [Ie("div", { ref_key: "cardFieldRef", ref: j }, null, 512)]), _: 1 })]), _: 1 }, 16)], 6)) : pe("", !0)], 6)); } }), os = Re({ __name: "VInlineSelect", props: _e(Sn({ clearIcon: {}, clearable: {}, density: {}, hideSelected: {}, itemTitle: {}, itemValue: {}, items: {}, menu: {}, rules: {}, variant: {}, autofocus: { type: Boolean }, cancelButtonColor: {}, cancelButtonSize: {}, cancelButtonTitle: {}, cancelButtonVariant: {}, cancelIcon: {}, cancelIconColor: {}, cardField: { type: Boolean }, cardOffsetX: {}, cardOffsetY: {}, cardProps: {}, closeSiblings: { type: Boolean }, color: {}, disabled: { type: Boolean }, displayAppendIcon: {}, displayAppendIconColor: {}, displayAppendIconSize: {}, displayAppendInnerIcon: {}, displayAppendInnerIconColor: {}, displayAppendInnerIconSize: {}, displayPrependIcon: {}, displayPrependIconColor: {}, displayPrependIconSize: {}, displayPrependInnerIcon: {}, displayPrependInnerIconColor: {}, displayPrependInnerIconSize: {}, emptyText: {}, error: { type: Boolean }, fieldOnly: { type: Boolean }, hideDetails: { type: Boolean }, hideSaveIcon: { type: Boolean }, item: {}, label: {}, loading: { type: Boolean }, loadingIcon: {}, loadingIconColor: {}, loadingWait: { type: Boolean }, name: {}, required: { type: Boolean }, saveButtonColor: {}, saveButtonSize: {}, saveButtonTitle: {}, saveButtonVariant: {}, saveIcon: {}, saveIconColor: {}, tableField: { type: Boolean }, underlineColor: {}, underlineStyle: {}, underlineWidth: {}, underlined: { type: Boolean }, valueColor: {} }, { ...ii }), { modelValue: {} }), emits: _e([...$n], ["update:modelValue"]), setup(e, { emit: t }) { const n = sn(e, "modelValue"), l = cn(), a = un(), i = t, c = ve(Symbol.for("vuetify:icons")), r = e; let o = ze({ ...l, ...r }); - const s = v(() => r.loading), m = v(() => r.disabled), y = R(!1), f = R(!1), p = R(), g = R(!1), b = R(null); + const u = v(() => r.loading), m = v(() => r.disabled), y = R(!1), f = R(!1), p = R(), g = R(!1), b = R(null); let h = n.value; - K(() => s.value, (z, U) => { + K(() => u.value, (z, U) => { !z && U && g.value && E(); }); const I = v(() => De({ icon: r.clearIcon, iconOptions: c, name: "clear" })), A = v(() => n.value && n.value[o.itemTitle] ? (y.value = !1, n.value[o.itemTitle]) : (n.value = "", y.value = !0, o.emptyText)), k = v(() => Kn(o)), M = v(() => ({ color: o.color, displayAppendIcon: r.displayAppendIcon, displayAppendIconColor: r.displayAppendIconColor, displayAppendIconSize: r.displayAppendIconSize, displayAppendInnerIcon: r.displayAppendInnerIcon, displayAppendInnerIconColor: r.displayAppendInnerIconColor, displayAppendInnerIconSize: r.displayAppendInnerIconSize, displayPrependIcon: r.displayPrependIcon, displayPrependIconColor: r.displayPrependIconColor, displayPrependIconSize: r.displayPrependIconSize, displayPrependInnerIcon: r.displayPrependInnerIcon, displayPrependInnerIconColor: r.displayPrependInnerIconColor, displayPrependInnerIconSize: r.displayPrependInnerIconSize, displayValue: A.value, empty: y.value, error: f.value, field: "v-text-field", underlineColor: o.underlineColor, underlineStyle: o.underlineStyle, underlineWidth: o.underlineWidth, underlined: o.underlined, valueColor: o.valueColor })), _ = v(() => ({ ...kn, ...r.cardProps })); Ue(() => { p.value = o.items || []; }); - const T = v(() => Vn({ density: o.density, disabled: m.value, field: "v-select", iconSet: c == null ? void 0 : c.defaultSet, loading: s.value, loadingWait: o.loadingWait, tableField: o.tableField, variant: o.variant })), V = v(() => An({ density: o.density, field: "v-select" })), S = Dt({ density: o.density, variant: o.variant }), C = v(() => _n({ active: g.value, name: "select" })), D = v(() => On({ name: "select", showField: g.value })), w = v(() => ({})), P = v(() => j.value); + const T = v(() => Vn({ density: o.density, disabled: m.value, field: "v-select", iconSet: c == null ? void 0 : c.defaultSet, loading: u.value, loadingWait: o.loadingWait, tableField: o.tableField, variant: o.variant })), V = v(() => An({ density: o.density, field: "v-select" })), S = Dt({ density: o.density, variant: o.variant }), C = v(() => _n({ active: g.value, name: "select" })), D = v(() => On({ name: "select", showField: g.value })), w = v(() => ({})), P = v(() => j.value); function O() { f.value = !1, n.value = h, E(); } const j = R(), q = R(null), x = R("body"); function E() { var U, J; - if (m.value || o.loadingWait && s.value) + if (m.value || o.loadingWait && u.value) return; j.value = fn({ cardMinWidth: (U = o.cardProps) == null ? void 0 : U.minWidth, cardOffsetX: o.cardOffsetX, cardOffsetY: o.cardOffsetY, cardWidth: (J = o.cardProps) == null ? void 0 : J.width, field: q.value }); const z = Pn({ attrs: l, closeSiblings: o.closeSiblings, fieldOnly: o.fieldOnly, props: r, showField: g, timeOpened: b.value }); @@ -3227,7 +3227,7 @@ const Zr = (e, t) => { B = z(Bn), W = B.on(F); }), xn(() => { W !== void 0 && B.off(F); - }), (z, U) => (X(), oe("div", { ref_key: "inlineFieldsContainer", ref: q, class: ee(u(T)), style: ge(u(w)) }, [!u(g) && !u(o).fieldOnly || u(o).cardField ? (X(), oe("div", { key: 0, class: ee(u(V)) }, [Ie("div", { class: ee(u(S)) }, [d(u(Lt), Z(u(M), { onToggleField: E }), Ge({ _: 2 }, [qe(u(a), (J, Y) => ({ name: Y, fn: se((re) => [Fe(z.$slots, Y, ye(be({ ...re })), void 0, !0)]) }))]), 1040)], 2)], 2)) : pe("", !0), u(g) || u(o).fieldOnly || u(o).cardField ? (X(), oe("div", { key: 1, class: ee(u(C)) }, [(X(), he(rn, { disabled: !u(o).cardField, to: u(x) }, [d(Rr, Z(u(k), { modelValue: n.value, "onUpdate:modelValue": U[0] || (U[0] = (J) => n.value = J), autofocus: !u(o).fieldOnly || u(o).autofocus, "clear-icon": u(I), clearable: u(o).clearable, color: u(o).color, density: u(o).density, disabled: u(s) || u(m), error: u(f), "error-messages": u(N), "hide-details": u(o).hideDetails, "hide-selected": u(o).hideSelected, "item-title": u(o).itemTitle, "item-value": u(o).itemValue, items: u(p), label: u(o).label, loading: u(s), menu: u(o).menu && !u(o).fieldOnly && u(g), variant: u(o).variant, width: "100%", onKeyup: St(O, ["esc"]) }), Ge({ _: 2 }, [qe(u(a), (J, Y) => ({ name: Y, fn: se((re) => [Fe(z.$slots, Y, ye(be({ ...re })), void 0, !0)]) })), u(a).append ? void 0 : { name: "append", fn: se(() => [d(u(lt), { "cancel-button-color": u(o).cancelButtonColor, "cancel-button-size": u(o).cancelButtonSize, "cancel-button-title": u(o).cancelButtonTitle, "cancel-button-variant": u(o).cancelButtonVariant, "cancel-icon": u(o).cancelIcon, "cancel-icon-color": u(o).cancelIconColor, error: u(f), "field-only": u(o).fieldOnly, "hide-save-icon": u(o).hideSaveIcon, loading: u(s), "loading-icon": u(o).loadingIcon, "loading-icon-color": u(o).loadingIconColor, "save-button-color": u(o).saveButtonColor, "save-button-size": u(o).saveButtonSize, "save-button-title": u(o).saveButtonTitle, "save-button-variant": u(o).saveButtonVariant, "save-icon": u(o).saveIcon, "save-icon-color": u(o).saveIconColor, onClose: O, onSave: $ }, null, 8, ["cancel-button-color", "cancel-button-size", "cancel-button-title", "cancel-button-variant", "cancel-icon", "cancel-icon-color", "error", "field-only", "hide-save-icon", "loading", "loading-icon", "loading-icon-color", "save-button-color", "save-button-size", "save-button-title", "save-button-variant", "save-icon", "save-icon-color"])]), key: "0" }]), 1040, ["modelValue", "autofocus", "clear-icon", "clearable", "color", "density", "disabled", "error", "error-messages", "hide-details", "hide-selected", "item-title", "item-value", "items", "label", "loading", "menu", "variant", "onKeyup"])], 8, ["disabled", "to"]))], 2)) : pe("", !0), u(o).cardField ? (X(), oe("div", { key: 2, class: ee(u(D)), style: ge(u(P)) }, [d(Fn, ye(be(u(_))), { default: se(() => [d(vn, null, { default: se(() => [Ie("div", { ref_key: "cardFieldRef", ref: x }, null, 512)]), _: 1 })]), _: 1 }, 16)], 6)) : pe("", !0)], 6)); + }), (z, U) => (X(), oe("div", { ref_key: "inlineFieldsContainer", ref: q, class: ee(s(T)), style: ge(s(w)) }, [!s(g) && !s(o).fieldOnly || s(o).cardField ? (X(), oe("div", { key: 0, class: ee(s(V)) }, [Ie("div", { class: ee(s(S)) }, [d(s(Lt), Z(s(M), { onToggleField: E }), Ge({ _: 2 }, [qe(s(a), (J, Y) => ({ name: Y, fn: se((re) => [Fe(z.$slots, Y, ye(be({ ...re })), void 0, !0)]) }))]), 1040)], 2)], 2)) : pe("", !0), s(g) || s(o).fieldOnly || s(o).cardField ? (X(), oe("div", { key: 1, class: ee(s(C)) }, [(X(), he(rn, { disabled: !s(o).cardField, to: s(x) }, [d(Rr, Z(s(k), { modelValue: n.value, "onUpdate:modelValue": U[0] || (U[0] = (J) => n.value = J), autofocus: !s(o).fieldOnly || s(o).autofocus, "clear-icon": s(I), clearable: s(o).clearable, color: s(o).color, density: s(o).density, disabled: s(u) || s(m), error: s(f), "error-messages": s(N), "hide-details": s(o).hideDetails, "hide-selected": s(o).hideSelected, "item-title": s(o).itemTitle, "item-value": s(o).itemValue, items: s(p), label: s(o).label, loading: s(u), menu: s(o).menu && !s(o).fieldOnly && s(g), variant: s(o).variant, width: "100%", onKeyup: St(O, ["esc"]) }), Ge({ _: 2 }, [qe(s(a), (J, Y) => ({ name: Y, fn: se((re) => [Fe(z.$slots, Y, ye(be({ ...re })), void 0, !0)]) })), s(a).append ? void 0 : { name: "append", fn: se(() => [d(s(lt), { "cancel-button-color": s(o).cancelButtonColor, "cancel-button-size": s(o).cancelButtonSize, "cancel-button-title": s(o).cancelButtonTitle, "cancel-button-variant": s(o).cancelButtonVariant, "cancel-icon": s(o).cancelIcon, "cancel-icon-color": s(o).cancelIconColor, error: s(f), "field-only": s(o).fieldOnly, "hide-save-icon": s(o).hideSaveIcon, loading: s(u), "loading-icon": s(o).loadingIcon, "loading-icon-color": s(o).loadingIconColor, "save-button-color": s(o).saveButtonColor, "save-button-size": s(o).saveButtonSize, "save-button-title": s(o).saveButtonTitle, "save-button-variant": s(o).saveButtonVariant, "save-icon": s(o).saveIcon, "save-icon-color": s(o).saveIconColor, onClose: O, onSave: $ }, null, 8, ["cancel-button-color", "cancel-button-size", "cancel-button-title", "cancel-button-variant", "cancel-icon", "cancel-icon-color", "error", "field-only", "hide-save-icon", "loading", "loading-icon", "loading-icon-color", "save-button-color", "save-button-size", "save-button-title", "save-button-variant", "save-icon", "save-icon-color"])]), key: "0" }]), 1040, ["modelValue", "autofocus", "clear-icon", "clearable", "color", "density", "disabled", "error", "error-messages", "hide-details", "hide-selected", "item-title", "item-value", "items", "label", "loading", "menu", "variant", "onKeyup"])], 8, ["disabled", "to"]))], 2)) : pe("", !0), s(o).cardField ? (X(), oe("div", { key: 2, class: ee(s(D)), style: ge(s(P)) }, [d(Fn, ye(be(s(_))), { default: se(() => [d(vn, null, { default: se(() => [Ie("div", { ref_key: "cardFieldRef", ref: x }, null, 512)]), _: 1 })]), _: 1 }, 16)], 6)) : pe("", !0)], 6)); } }), as = { class: "v-selection-control__wrapper" }, Me = { VInlineCheckbox: ts, VInlineCustomField: ls, VInlineSelect: ((e, t) => { const n = e.__vccOpts || e; for (const [l, a] of t) @@ -3235,48 +3235,48 @@ const Zr = (e, t) => { return n; })(os, [["__scopeId", "data-v-d028b1ff"]]), VInlineSwitch: Re({ __name: "VInlineSwitch", props: _e(Sn({ density: {}, falseIcon: {}, cancelButtonColor: {}, cancelButtonSize: {}, cancelButtonTitle: {}, cancelButtonVariant: {}, cancelIcon: {}, cancelIconColor: {}, cardField: { type: Boolean }, cardOffsetX: {}, cardOffsetY: {}, cardProps: {}, closeSiblings: { type: Boolean }, color: {}, disabled: { type: Boolean }, displayAppendIcon: {}, displayAppendIconColor: {}, displayAppendIconSize: {}, displayAppendInnerIcon: {}, displayAppendInnerIconColor: {}, displayAppendInnerIconSize: {}, displayPrependIcon: {}, displayPrependIconColor: {}, displayPrependIconSize: {}, displayPrependInnerIcon: {}, displayPrependInnerIconColor: {}, displayPrependInnerIconSize: {}, emptyText: {}, error: { type: Boolean }, falseValue: { type: [Boolean, String] }, fieldOnly: { type: Boolean }, hideDetails: { type: Boolean }, iconFalse: {}, iconFalseColor: {}, iconFalseTitle: {}, iconTrue: {}, iconTrueColor: {}, iconTrueTitle: {}, icons: { type: Boolean }, item: {}, label: {}, loading: { type: Boolean }, loadingWait: { type: Boolean }, name: {}, required: { type: Boolean }, tableField: { type: Boolean }, trueValue: { type: [Boolean, String] }, underlineColor: {}, underlineStyle: {}, underlineWidth: {}, underlined: { type: Boolean }, valueColor: {} }, { ...ri }), { modelValue: {} }), emits: _e([...$n], ["update:modelValue"]), setup(e, { emit: t }) { const n = sn(e, "modelValue"), l = cn(), a = un(), i = t, c = ve(Symbol.for("vuetify:icons")), r = Sl(), o = e; - let s = ze({ ...l, ...o }); - const m = v(() => o.loading), y = v(() => o.disabled), f = R(!1), p = R(!1), g = R(null), b = v(() => Kn(s)), h = v(() => ({ ...kn, ...o.cardProps })); + let u = ze({ ...l, ...o }); + const m = v(() => o.loading), y = v(() => o.disabled), f = R(!1), p = R(!1), g = R(null), b = v(() => Kn(u)), h = v(() => ({ ...kn, ...o.cardProps })); K(() => m.value, ($, B) => { !$ && B && p.value && x(); }); - const I = v(() => De({ icon: s.cancelIcon, iconOptions: c, name: "false" })), A = v(() => n.value == s.trueValue), k = v(() => Ua({ modelValue: n, trueValue: s.trueValue })), M = v(() => Vn({ density: s.density, disabled: y.value, field: "v-switch", loading: m.value, loadingWait: s.loadingWait, tableField: s.tableField })), _ = v(() => An({ density: s.density, field: "v-switch" })), T = Ha({ density: s.density }), V = v(() => _n({ active: p.value, name: "switch" })), S = v(() => Wl("switch", s.valueColor, { error: f })), C = v(() => On({ name: "switch", showField: p.value })), D = v(() => ({})), w = v(() => Rl({ color: s.color, error: f, theme: r, underlineColor: s.underlineColor, underlineStyle: s.underlineStyle, underlineWidth: s.underlineWidth, underlined: s.underlined })), P = v(() => O.value), O = R(), j = R(null), q = R("body"); + const I = v(() => De({ icon: u.cancelIcon, iconOptions: c, name: "false" })), A = v(() => n.value == u.trueValue), k = v(() => Ua({ modelValue: n, trueValue: u.trueValue })), M = v(() => Vn({ density: u.density, disabled: y.value, field: "v-switch", loading: m.value, loadingWait: u.loadingWait, tableField: u.tableField })), _ = v(() => An({ density: u.density, field: "v-switch" })), T = Ha({ density: u.density }), V = v(() => _n({ active: p.value, name: "switch" })), S = v(() => Wl("switch", u.valueColor, { error: f })), C = v(() => On({ name: "switch", showField: p.value })), D = v(() => ({})), w = v(() => Rl({ color: u.color, error: f, theme: r, underlineColor: u.underlineColor, underlineStyle: u.underlineStyle, underlineWidth: u.underlineWidth, underlined: u.underlined })), P = v(() => O.value), O = R(), j = R(null), q = R("body"); function x() { var B, W; - if (y.value || s.loadingWait && m.value) + if (y.value || u.loadingWait && m.value) return; - O.value = fn({ cardMinWidth: (B = s.cardProps) == null ? void 0 : B.minWidth, cardOffsetX: s.cardOffsetX, cardOffsetY: s.cardOffsetY, cardWidth: (W = s.cardProps) == null ? void 0 : W.width, field: j.value }); - const $ = Pn({ attrs: l, closeSiblings: s.closeSiblings, fieldOnly: s.fieldOnly, props: o, showField: p.value, timeOpened: g.value }); - s = { ...s, ...$.settings }, p.value = $.showField, g.value = $.timeOpened, L !== null && s.closeSiblings && p.value && !s.fieldOnly && L.emit($.timeOpened); + O.value = fn({ cardMinWidth: (B = u.cardProps) == null ? void 0 : B.minWidth, cardOffsetX: u.cardOffsetX, cardOffsetY: u.cardOffsetY, cardWidth: (W = u.cardProps) == null ? void 0 : W.width, field: j.value }); + const $ = Pn({ attrs: l, closeSiblings: u.closeSiblings, fieldOnly: u.fieldOnly, props: o, showField: p.value, timeOpened: g.value }); + u = { ...u, ...$.settings }, p.value = $.showField, g.value = $.timeOpened, L !== null && u.closeSiblings && p.value && !u.fieldOnly && L.emit($.timeOpened); } function E($) { - n.value = $, i("update", $), s.loadingWait || x(); + n.value = $, i("update", $), u.loadingWait || x(); } let L, N; function G($) { i("update:closeSiblingFields", g), p.value && g.value !== $ && x(); } - return s.closeSiblings && import("@vueuse/core").then(({ useEventBus: $ }) => { + return u.closeSiblings && import("@vueuse/core").then(({ useEventBus: $ }) => { L = $(Bn), N = L.on(G); }), xn(() => { N !== void 0 && L.off(G); - }), ($, B) => (X(), oe("div", { ref_key: "inlineFieldsContainer", ref: j, class: ee(u(M)), style: ge(u(D)) }, [!u(p) && !u(s).fieldOnly || u(s).cardField ? (X(), oe("div", { key: 0, class: ee(u(_)) }, [Ie("div", { class: ee(u(T)) }, [Ie("div", as, [$.icons ? (X(), oe("div", { key: 0, class: ee(u(S)), style: ge(u(w)), onClick: x }, [d(u(qa), { modelValue: u(k), "onUpdate:modelValue": B[0] || (B[0] = (W) => mn(k) ? k.value = W : null), "icon-false": u(s).iconFalse, "icon-false-color": u(s).iconFalseColor, "icon-false-title": u(s).iconFalseTitle, "icon-true": u(s).iconTrue, "icon-true-color": u(s).iconTrueColor, "icon-true-title": u(s).iconTrueTitle }, null, 8, ["modelValue", "icon-false", "icon-false-color", "icon-false-title", "icon-true", "icon-true-color", "icon-true-title"])], 6)) : (X(), oe("div", { key: 1, class: ee(["d-inline-flex align-center justify-center", u(S)]), style: ge(u(w)), onClick: x }, Il(u(A)), 7))])], 2)], 2)) : pe("", !0), u(p) || u(s).fieldOnly || u(s).cardField ? (X(), oe("div", { key: 1, class: ee(u(V)) }, [(X(), he(rn, { disabled: !u(s).cardField, to: u(q) }, [d(Xr, Z(u(b), { color: u(s).color, density: u(s).density, disabled: u(m) || u(y), error: u(f), "false-icon": u(s).falseIcon, "false-value": u(s).falseValue, "hide-details": u(s).hideDetails, label: u(s).label, loading: u(m), "model-value": u(k), "true-value": u(s).trueValue, "onUpdate:modelValue": E }), Ge({ _: 2 }, [qe(u(a), (W, F) => ({ name: F, fn: se((z) => [Fe($.$slots, F, ye(be({ ...z })))]) })), u(a).append ? void 0 : { name: "append", fn: se(() => [!u(s).fieldOnly || u(s).cardField ? (X(), he(ul, { key: 0, class: "ms-3", color: u(s).cancelButtonColor, icon: "", size: u(s).cancelButtonSize, title: u(s).cancelButtonTitle, variant: u(s).cancelButtonVariant, onClick: x }, { default: se(() => [d(de, { color: u(s).cancelIconColor, icon: u(I) }, null, 8, ["color", "icon"])]), _: 1 }, 8, ["color", "size", "title", "variant"])) : pe("", !0)]), key: "0" }]), 1040, ["color", "density", "disabled", "error", "false-icon", "false-value", "hide-details", "label", "loading", "model-value", "true-value"])], 8, ["disabled", "to"]))], 2)) : pe("", !0), u(s).cardField ? (X(), oe("div", { key: 2, class: ee(u(C)), style: ge(u(P)) }, [d(Fn, ye(be(u(h))), { default: se(() => [d(vn, null, { default: se(() => [Ie("div", { ref_key: "cardFieldRef", ref: q }, null, 512)]), _: 1 })]), _: 1 }, 16)], 6)) : pe("", !0)], 6)); + }), ($, B) => (X(), oe("div", { ref_key: "inlineFieldsContainer", ref: j, class: ee(s(M)), style: ge(s(D)) }, [!s(p) && !s(u).fieldOnly || s(u).cardField ? (X(), oe("div", { key: 0, class: ee(s(_)) }, [Ie("div", { class: ee(s(T)) }, [Ie("div", as, [$.icons ? (X(), oe("div", { key: 0, class: ee(s(S)), style: ge(s(w)), onClick: x }, [d(s(qa), { modelValue: s(k), "onUpdate:modelValue": B[0] || (B[0] = (W) => mn(k) ? k.value = W : null), "icon-false": s(u).iconFalse, "icon-false-color": s(u).iconFalseColor, "icon-false-title": s(u).iconFalseTitle, "icon-true": s(u).iconTrue, "icon-true-color": s(u).iconTrueColor, "icon-true-title": s(u).iconTrueTitle }, null, 8, ["modelValue", "icon-false", "icon-false-color", "icon-false-title", "icon-true", "icon-true-color", "icon-true-title"])], 6)) : (X(), oe("div", { key: 1, class: ee(["d-inline-flex align-center justify-center", s(S)]), style: ge(s(w)), onClick: x }, Il(s(A)), 7))])], 2)], 2)) : pe("", !0), s(p) || s(u).fieldOnly || s(u).cardField ? (X(), oe("div", { key: 1, class: ee(s(V)) }, [(X(), he(rn, { disabled: !s(u).cardField, to: s(q) }, [d(Xr, Z(s(b), { color: s(u).color, density: s(u).density, disabled: s(m) || s(y), error: s(f), "false-icon": s(u).falseIcon, "false-value": s(u).falseValue, "hide-details": s(u).hideDetails, label: s(u).label, loading: s(m), "model-value": s(k), "true-value": s(u).trueValue, "onUpdate:modelValue": E }), Ge({ _: 2 }, [qe(s(a), (W, F) => ({ name: F, fn: se((z) => [Fe($.$slots, F, ye(be({ ...z })))]) })), s(a).append ? void 0 : { name: "append", fn: se(() => [!s(u).fieldOnly || s(u).cardField ? (X(), he(ul, { key: 0, class: "ms-3", color: s(u).cancelButtonColor, icon: "", size: s(u).cancelButtonSize, title: s(u).cancelButtonTitle, variant: s(u).cancelButtonVariant, onClick: x }, { default: se(() => [d(de, { color: s(u).cancelIconColor, icon: s(I) }, null, 8, ["color", "icon"])]), _: 1 }, 8, ["color", "size", "title", "variant"])) : pe("", !0)]), key: "0" }]), 1040, ["color", "density", "disabled", "error", "false-icon", "false-value", "hide-details", "label", "loading", "model-value", "true-value"])], 8, ["disabled", "to"]))], 2)) : pe("", !0), s(u).cardField ? (X(), oe("div", { key: 2, class: ee(s(C)), style: ge(s(P)) }, [d(Fn, ye(be(s(h))), { default: se(() => [d(vn, null, { default: se(() => [Ie("div", { ref_key: "cardFieldRef", ref: q }, null, 512)]), _: 1 })]), _: 1 }, 16)], 6)) : pe("", !0)], 6)); } }), VInlineTextField: Re({ __name: "VInlineTextField", props: _e(Sn({ clearIcon: {}, density: {}, rules: {}, variant: {}, autofocus: { type: Boolean }, cancelButtonColor: {}, cancelButtonSize: {}, cancelButtonTitle: {}, cancelButtonVariant: {}, cancelIcon: {}, cancelIconColor: {}, cardField: { type: Boolean }, cardOffsetX: {}, cardOffsetY: {}, cardProps: {}, closeSiblings: { type: Boolean }, color: {}, disabled: { type: Boolean }, displayAppendIcon: {}, displayAppendIconColor: {}, displayAppendIconSize: {}, displayAppendInnerIcon: {}, displayAppendInnerIconColor: {}, displayAppendInnerIconSize: {}, displayPrependIcon: {}, displayPrependIconColor: {}, displayPrependIconSize: {}, displayPrependInnerIcon: {}, displayPrependInnerIconColor: {}, displayPrependInnerIconSize: {}, emptyText: {}, error: { type: Boolean }, fieldOnly: { type: Boolean }, hideDetails: { type: Boolean }, hideSaveIcon: { type: Boolean }, item: {}, label: {}, loading: { type: Boolean }, loadingIcon: {}, loadingIconColor: {}, loadingWait: { type: Boolean }, name: {}, required: { type: Boolean }, saveButtonColor: {}, saveButtonSize: {}, saveButtonTitle: {}, saveButtonVariant: {}, saveIcon: {}, saveIconColor: {}, tableField: { type: Boolean }, truncateLength: {}, truncateSuffix: {}, underlineColor: {}, underlineStyle: {}, underlineWidth: {}, underlined: { type: Boolean }, valueColor: {} }, { ...Lo }), { modelValue: {} }), emits: _e([...$n], ["update:modelValue"]), setup(e, { emit: t }) { const n = sn(e, "modelValue"), l = cn(), a = un(), i = t, c = ve(Symbol.for("vuetify:icons")), r = e; let o = ze({ ...l, ...r }); - const s = v(() => r.loading), m = v(() => r.disabled), y = R(!1), f = R(!1), p = R(!1), g = R(null); + const u = v(() => r.loading), m = v(() => r.disabled), y = R(!1), f = R(!1), p = R(!1), g = R(null); let b = n.value; - K(() => s.value, (F, z) => { + K(() => u.value, (F, z) => { !F && z && p.value && x(); }); - const h = v(() => De({ icon: r.clearIcon, iconOptions: c, name: "clear" })), I = v(() => n.value ? (y.value = !1, o.truncateLength ? hl({ length: o.truncateLength, suffix: o.truncateSuffix, text: n.value }) : n.value) : (y.value = !0, o.emptyText)), A = v(() => Kn(o)), k = v(() => ({ color: o.color, displayAppendIcon: r.displayAppendIcon, displayAppendIconColor: r.displayAppendIconColor, displayAppendIconSize: r.displayAppendIconSize, displayAppendInnerIcon: r.displayAppendInnerIcon, displayAppendInnerIconColor: r.displayAppendInnerIconColor, displayAppendInnerIconSize: r.displayAppendInnerIconSize, displayPrependIcon: r.displayPrependIcon, displayPrependIconColor: r.displayPrependIconColor, displayPrependIconSize: r.displayPrependIconSize, displayPrependInnerIcon: r.displayPrependInnerIcon, displayPrependInnerIconColor: r.displayPrependInnerIconColor, displayPrependInnerIconSize: r.displayPrependInnerIconSize, displayValue: I.value, empty: y.value, error: f.value, field: "v-text-field", underlineColor: o.underlineColor, underlineStyle: o.underlineStyle, underlineWidth: o.underlineWidth, underlined: o.underlined, valueColor: o.valueColor })), M = v(() => ({ ...kn, ...r.cardProps })), _ = v(() => Vn({ density: o.density, disabled: m.value, field: "v-text-field", iconSet: c == null ? void 0 : c.defaultSet, loading: s.value, loadingWait: o.loadingWait, tableField: o.tableField, variant: o.variant })), T = v(() => An({ density: o.density, field: "v-text-field" })), V = Dt({ density: o.density, variant: o.variant }), S = v(() => _n({ active: p.value, name: "text-field" })), C = v(() => On({ name: "text-field", showField: p.value })), D = v(() => ({})), w = v(() => O.value); + const h = v(() => De({ icon: r.clearIcon, iconOptions: c, name: "clear" })), I = v(() => n.value ? (y.value = !1, o.truncateLength ? hl({ length: o.truncateLength, suffix: o.truncateSuffix, text: n.value }) : n.value) : (y.value = !0, o.emptyText)), A = v(() => Kn(o)), k = v(() => ({ color: o.color, displayAppendIcon: r.displayAppendIcon, displayAppendIconColor: r.displayAppendIconColor, displayAppendIconSize: r.displayAppendIconSize, displayAppendInnerIcon: r.displayAppendInnerIcon, displayAppendInnerIconColor: r.displayAppendInnerIconColor, displayAppendInnerIconSize: r.displayAppendInnerIconSize, displayPrependIcon: r.displayPrependIcon, displayPrependIconColor: r.displayPrependIconColor, displayPrependIconSize: r.displayPrependIconSize, displayPrependInnerIcon: r.displayPrependInnerIcon, displayPrependInnerIconColor: r.displayPrependInnerIconColor, displayPrependInnerIconSize: r.displayPrependInnerIconSize, displayValue: I.value, empty: y.value, error: f.value, field: "v-text-field", underlineColor: o.underlineColor, underlineStyle: o.underlineStyle, underlineWidth: o.underlineWidth, underlined: o.underlined, valueColor: o.valueColor })), M = v(() => ({ ...kn, ...r.cardProps })), _ = v(() => Vn({ density: o.density, disabled: m.value, field: "v-text-field", iconSet: c == null ? void 0 : c.defaultSet, loading: u.value, loadingWait: o.loadingWait, tableField: o.tableField, variant: o.variant })), T = v(() => An({ density: o.density, field: "v-text-field" })), V = Dt({ density: o.density, variant: o.variant }), S = v(() => _n({ active: p.value, name: "text-field" })), C = v(() => On({ name: "text-field", showField: p.value })), D = v(() => ({})), w = v(() => O.value); function P() { f.value = !1, n.value = b, x(); } const O = R(), j = R(null), q = R("body"); function x() { var z, U; - if (m.value || o.loadingWait && s.value) + if (m.value || o.loadingWait && u.value) return; O.value = fn({ cardMinWidth: (z = o.cardProps) == null ? void 0 : z.minWidth, cardOffsetX: o.cardOffsetX, cardOffsetY: o.cardOffsetY, cardWidth: (U = o.cardProps) == null ? void 0 : U.width, field: j.value }); const F = Pn({ attrs: l, closeSiblings: o.closeSiblings, fieldOnly: o.fieldOnly, props: r, showField: p, timeOpened: g.value }); @@ -3302,23 +3302,23 @@ const Zr = (e, t) => { $ = F(Bn), B = $.on(W); }), xn(() => { B !== void 0 && $.off(W); - }), (F, z) => (X(), oe("div", { ref_key: "inlineFieldsContainer", ref: j, class: ee(u(_)), style: ge(u(D)) }, [!u(p) && !u(o).fieldOnly || u(o).cardField ? (X(), oe("div", { key: 0, class: ee(u(T)) }, [Ie("div", { class: ee(u(V)) }, [d(u(Lt), Z(u(k), { onToggleField: x }), Ge({ _: 2 }, [qe(u(a), (U, J) => ({ name: J, fn: se((Y) => [Fe(F.$slots, J, ye(be({ ...Y })))]) }))]), 1040)], 2)], 2)) : pe("", !0), u(p) || u(o).fieldOnly || u(o).cardField ? (X(), oe("div", { key: 1, class: ee(u(S)) }, [(X(), he(rn, { disabled: !u(o).cardField, to: u(q) }, [d(gl, Z(u(A), { modelValue: n.value, "onUpdate:modelValue": z[1] || (z[1] = (U) => n.value = U), autofocus: !u(o).fieldOnly || u(o).autofocus, "clear-icon": u(h), disabled: u(s) || u(m), error: u(f), "error-messages": u(L), label: u(o).label, loading: u(s), width: "100%", onKeyup: [St(G, ["enter"]), St(P, ["esc"])] }), Ge({ _: 2 }, [qe(u(a), (U, J) => ({ name: J, fn: se((Y) => [Fe(F.$slots, J, ye(be({ ...Y })))]) })), u(a).append ? void 0 : { name: "append", fn: se(() => [d(u(lt), { modelValue: n.value, "onUpdate:modelValue": z[0] || (z[0] = (U) => n.value = U), "cancel-button-color": u(o).cancelButtonColor, "cancel-button-size": u(o).cancelButtonSize, "cancel-button-title": u(o).cancelButtonTitle, "cancel-button-variant": u(o).cancelButtonVariant, "cancel-icon": u(o).cancelIcon, "cancel-icon-color": u(o).cancelIconColor, error: u(f), "field-only": u(o).fieldOnly, "hide-save-icon": u(o).hideSaveIcon, loading: u(s), "loading-icon": u(o).loadingIcon, "loading-icon-color": u(o).loadingIconColor, required: u(o).required, "save-button-color": u(o).saveButtonColor, "save-button-size": u(o).saveButtonSize, "save-button-title": u(o).saveButtonTitle, "save-button-variant": u(o).saveButtonVariant, "save-icon": u(o).saveIcon, "save-icon-color": u(o).saveIconColor, onClose: P, onSave: G }, null, 8, ["modelValue", "cancel-button-color", "cancel-button-size", "cancel-button-title", "cancel-button-variant", "cancel-icon", "cancel-icon-color", "error", "field-only", "hide-save-icon", "loading", "loading-icon", "loading-icon-color", "required", "save-button-color", "save-button-size", "save-button-title", "save-button-variant", "save-icon", "save-icon-color"])]), key: "0" }]), 1040, ["modelValue", "autofocus", "clear-icon", "disabled", "error", "error-messages", "label", "loading", "onKeyup"])], 8, ["disabled", "to"]))], 2)) : pe("", !0), u(o).cardField ? (X(), oe("div", { key: 2, class: ee(u(C)), style: ge(u(w)) }, [d(Fn, ye(be(u(M))), { default: se(() => [d(vn, null, { default: se(() => [Ie("div", { ref_key: "cardFieldRef", ref: q }, null, 512)]), _: 1 })]), _: 1 }, 16)], 6)) : pe("", !0)], 6)); + }), (F, z) => (X(), oe("div", { ref_key: "inlineFieldsContainer", ref: j, class: ee(s(_)), style: ge(s(D)) }, [!s(p) && !s(o).fieldOnly || s(o).cardField ? (X(), oe("div", { key: 0, class: ee(s(T)) }, [Ie("div", { class: ee(s(V)) }, [d(s(Lt), Z(s(k), { onToggleField: x }), Ge({ _: 2 }, [qe(s(a), (U, J) => ({ name: J, fn: se((Y) => [Fe(F.$slots, J, ye(be({ ...Y })))]) }))]), 1040)], 2)], 2)) : pe("", !0), s(p) || s(o).fieldOnly || s(o).cardField ? (X(), oe("div", { key: 1, class: ee(s(S)) }, [(X(), he(rn, { disabled: !s(o).cardField, to: s(q) }, [d(gl, Z(s(A), { modelValue: n.value, "onUpdate:modelValue": z[1] || (z[1] = (U) => n.value = U), autofocus: !s(o).fieldOnly || s(o).autofocus, "clear-icon": s(h), color: s(o).color, density: s(o).density, disabled: s(u) || s(m), error: s(f), "error-messages": s(L), "hide-details": s(o).hideDetails, label: s(o).label, loading: s(u), variant: s(o).variant, width: "100%", onKeyup: [St(G, ["enter"]), St(P, ["esc"])] }), Ge({ _: 2 }, [qe(s(a), (U, J) => ({ name: J, fn: se((Y) => [Fe(F.$slots, J, ye(be({ ...Y })))]) })), s(a).append ? void 0 : { name: "append", fn: se(() => [d(s(lt), { modelValue: n.value, "onUpdate:modelValue": z[0] || (z[0] = (U) => n.value = U), "cancel-button-color": s(o).cancelButtonColor, "cancel-button-size": s(o).cancelButtonSize, "cancel-button-title": s(o).cancelButtonTitle, "cancel-button-variant": s(o).cancelButtonVariant, "cancel-icon": s(o).cancelIcon, "cancel-icon-color": s(o).cancelIconColor, error: s(f), "field-only": s(o).fieldOnly, "hide-save-icon": s(o).hideSaveIcon, loading: s(u), "loading-icon": s(o).loadingIcon, "loading-icon-color": s(o).loadingIconColor, required: s(o).required, "save-button-color": s(o).saveButtonColor, "save-button-size": s(o).saveButtonSize, "save-button-title": s(o).saveButtonTitle, "save-button-variant": s(o).saveButtonVariant, "save-icon": s(o).saveIcon, "save-icon-color": s(o).saveIconColor, onClose: P, onSave: G }, null, 8, ["modelValue", "cancel-button-color", "cancel-button-size", "cancel-button-title", "cancel-button-variant", "cancel-icon", "cancel-icon-color", "error", "field-only", "hide-save-icon", "loading", "loading-icon", "loading-icon-color", "required", "save-button-color", "save-button-size", "save-button-title", "save-button-variant", "save-icon", "save-icon-color"])]), key: "0" }]), 1040, ["modelValue", "autofocus", "clear-icon", "color", "density", "disabled", "error", "error-messages", "hide-details", "label", "loading", "variant", "onKeyup"])], 8, ["disabled", "to"]))], 2)) : pe("", !0), s(o).cardField ? (X(), oe("div", { key: 2, class: ee(s(C)), style: ge(s(w)) }, [d(Fn, ye(be(s(M))), { default: se(() => [d(vn, null, { default: se(() => [Ie("div", { ref_key: "cardFieldRef", ref: q }, null, 512)]), _: 1 })]), _: 1 }, 16)], 6)) : pe("", !0)], 6)); } }), VInlineTextarea: Re({ __name: "VInlineTextarea", props: _e(Sn({ autoGrow: {}, clearIcon: {}, density: {}, rows: {}, rules: {}, variant: {}, autofocus: { type: Boolean }, cancelButtonColor: {}, cancelButtonSize: {}, cancelButtonTitle: {}, cancelButtonVariant: {}, cancelIcon: {}, cancelIconColor: {}, cardField: { type: Boolean }, cardOffsetX: {}, cardOffsetY: {}, cardProps: {}, closeSiblings: { type: Boolean }, color: {}, disabled: { type: Boolean }, displayAppendIcon: {}, displayAppendIconColor: {}, displayAppendIconSize: {}, displayAppendInnerIcon: {}, displayAppendInnerIconColor: {}, displayAppendInnerIconSize: {}, displayPrependIcon: {}, displayPrependIconColor: {}, displayPrependIconSize: {}, displayPrependInnerIcon: {}, displayPrependInnerIconColor: {}, displayPrependInnerIconSize: {}, emptyText: {}, error: { type: Boolean }, fieldOnly: { type: Boolean }, hideDetails: { type: Boolean }, hideSaveIcon: { type: Boolean }, item: {}, label: {}, loading: { type: Boolean }, loadingIcon: {}, loadingIconColor: {}, loadingWait: { type: Boolean }, name: {}, required: { type: Boolean }, saveButtonColor: {}, saveButtonSize: {}, saveButtonTitle: {}, saveButtonVariant: {}, saveIcon: {}, saveIconColor: {}, tableField: { type: Boolean }, truncateLength: {}, truncateSuffix: {}, underlineColor: {}, underlineStyle: {}, underlineWidth: {}, underlined: { type: Boolean }, valueColor: {} }, { ...si }), { modelValue: {} }), emits: _e([...$n], ["update:modelValue"]), setup(e, { emit: t }) { const n = sn(e, "modelValue"), l = cn(), a = un(), i = t, c = ve(Symbol.for("vuetify:icons")), r = e; let o = ze({ ...l, ...r }); - const s = v(() => r.loading), m = v(() => r.disabled), y = R(!1), f = R(!1), p = R(!1), g = R(null); + const u = v(() => r.loading), m = v(() => r.disabled), y = R(!1), f = R(!1), p = R(!1), g = R(null); let b = n.value; - K(() => s.value, (F, z) => { + K(() => u.value, (F, z) => { !F && z && p.value && x(); }); - const h = v(() => De({ icon: r.clearIcon, iconOptions: c, name: "clear" })), I = v(() => n.value ? (y.value = !1, o.truncateLength ? hl({ length: o.truncateLength, suffix: o.truncateSuffix, text: n.value }) : n.value) : (y.value = !0, o.emptyText)), A = v(() => Kn(o)), k = v(() => ({ color: o.color, displayAppendIcon: r.displayAppendIcon, displayAppendIconColor: r.displayAppendIconColor, displayAppendIconSize: r.displayAppendIconSize, displayAppendInnerIcon: r.displayAppendInnerIcon, displayAppendInnerIconColor: r.displayAppendInnerIconColor, displayAppendInnerIconSize: r.displayAppendInnerIconSize, displayPrependIcon: r.displayPrependIcon, displayPrependIconColor: r.displayPrependIconColor, displayPrependIconSize: r.displayPrependIconSize, displayPrependInnerIcon: r.displayPrependInnerIcon, displayPrependInnerIconColor: r.displayPrependInnerIconColor, displayPrependInnerIconSize: r.displayPrependInnerIconSize, displayValue: I.value, empty: y.value, error: f.value, field: "v-text-field", underlineColor: o.underlineColor, underlineStyle: o.underlineStyle, underlineWidth: o.underlineWidth, underlined: o.underlined, valueColor: o.valueColor })), M = v(() => ({ ...kn, ...r.cardProps })), _ = v(() => Vn({ density: o.density, disabled: m.value, field: "v-textarea", iconSet: c == null ? void 0 : c.defaultSet, loading: s.value, loadingWait: o.loadingWait, tableField: o.tableField, variant: o.variant })), T = v(() => An({ density: o.density, field: "v-textarea" })), V = Dt({ density: o.density, variant: o.variant }), S = v(() => _n({ active: p.value, name: "textarea" })), C = v(() => On({ name: "textarea", showField: p.value })), D = v(() => ({})), w = v(() => O.value); + const h = v(() => De({ icon: r.clearIcon, iconOptions: c, name: "clear" })), I = v(() => n.value ? (y.value = !1, o.truncateLength ? hl({ length: o.truncateLength, suffix: o.truncateSuffix, text: n.value }) : n.value) : (y.value = !0, o.emptyText)), A = v(() => Kn(o)), k = v(() => ({ color: o.color, displayAppendIcon: r.displayAppendIcon, displayAppendIconColor: r.displayAppendIconColor, displayAppendIconSize: r.displayAppendIconSize, displayAppendInnerIcon: r.displayAppendInnerIcon, displayAppendInnerIconColor: r.displayAppendInnerIconColor, displayAppendInnerIconSize: r.displayAppendInnerIconSize, displayPrependIcon: r.displayPrependIcon, displayPrependIconColor: r.displayPrependIconColor, displayPrependIconSize: r.displayPrependIconSize, displayPrependInnerIcon: r.displayPrependInnerIcon, displayPrependInnerIconColor: r.displayPrependInnerIconColor, displayPrependInnerIconSize: r.displayPrependInnerIconSize, displayValue: I.value, empty: y.value, error: f.value, field: "v-text-field", underlineColor: o.underlineColor, underlineStyle: o.underlineStyle, underlineWidth: o.underlineWidth, underlined: o.underlined, valueColor: o.valueColor })), M = v(() => ({ ...kn, ...r.cardProps })), _ = v(() => Vn({ density: o.density, disabled: m.value, field: "v-textarea", iconSet: c == null ? void 0 : c.defaultSet, loading: u.value, loadingWait: o.loadingWait, tableField: o.tableField, variant: o.variant })), T = v(() => An({ density: o.density, field: "v-textarea" })), V = Dt({ density: o.density, variant: o.variant }), S = v(() => _n({ active: p.value, name: "textarea" })), C = v(() => On({ name: "textarea", showField: p.value })), D = v(() => ({})), w = v(() => O.value); function P() { f.value = !1, n.value = b, x(); } const O = R(), j = R(null), q = R("body"); function x() { var z, U; - if (m.value || o.loadingWait && s.value) + if (m.value || o.loadingWait && u.value) return; O.value = fn({ cardMinWidth: (z = o.cardProps) == null ? void 0 : z.minWidth, cardOffsetX: o.cardOffsetX, cardOffsetY: o.cardOffsetY, cardWidth: (U = o.cardProps) == null ? void 0 : U.width, field: j.value }); const F = Pn({ attrs: l, closeSiblings: o.closeSiblings, fieldOnly: o.fieldOnly, props: r, showField: p, timeOpened: g.value }); @@ -3344,7 +3344,7 @@ const Zr = (e, t) => { $ = F(Bn), B = $.on(W); }), xn(() => { B !== void 0 && $.off(W); - }), (F, z) => (X(), oe("div", { ref_key: "inlineFieldsContainer", ref: j, class: ee(u(_)), style: ge(u(D)) }, [!u(p) && !u(o).fieldOnly || u(o).cardField ? (X(), oe("div", { key: 0, class: ee(u(T)) }, [Ie("div", { class: ee(u(V)) }, [d(u(Lt), Z(u(k), { onToggleField: x }), Ge({ _: 2 }, [qe(u(a), (U, J) => ({ name: J, fn: se((Y) => [Fe(F.$slots, J, ye(be({ ...Y })))]) }))]), 1040)], 2)], 2)) : pe("", !0), u(p) || u(o).fieldOnly || u(o).cardField ? (X(), oe("div", { key: 1, class: ee(u(S)) }, [(X(), he(rn, { disabled: !u(o).cardField, to: u(q) }, [d(Jr, Z(u(A), { modelValue: n.value, "onUpdate:modelValue": z[0] || (z[0] = (U) => n.value = U), "auto-grow": u(o).autoGrow, autofocus: !u(o).fieldOnly || u(o).autofocus, "clear-icon": u(h), color: u(o).color, density: u(o).density, disabled: u(s) || u(m), error: u(f), "error-messages": u(L), "hide-details": u(o).hideDetails, label: u(o).label, loading: u(s), rows: u(o).rows, variant: u(o).variant, width: "100%", onKeyup: St(P, ["esc"]) }), Ge({ _: 2 }, [qe(u(a), (U, J) => ({ name: J, fn: se((Y) => [Fe(F.$slots, J, ye(be({ ...Y })))]) })), u(a).append ? void 0 : { name: "append", fn: se(() => [d(u(lt), { "cancel-button-color": u(o).cancelButtonColor, "cancel-button-size": u(o).cancelButtonSize, "cancel-button-title": u(o).cancelButtonTitle, "cancel-button-variant": u(o).cancelButtonVariant, "cancel-icon": u(o).cancelIcon, "cancel-icon-color": u(o).cancelIconColor, error: u(f), "field-only": u(o).fieldOnly, "hide-save-icon": u(o).hideSaveIcon, loading: u(s), "loading-icon": u(o).loadingIcon, "loading-icon-color": u(o).loadingIconColor, "save-button-color": u(o).saveButtonColor, "save-button-size": u(o).saveButtonSize, "save-button-title": u(o).saveButtonTitle, "save-button-variant": u(o).saveButtonVariant, "save-icon": u(o).saveIcon, "save-icon-color": u(o).saveIconColor, onClose: P, onSave: G }, null, 8, ["cancel-button-color", "cancel-button-size", "cancel-button-title", "cancel-button-variant", "cancel-icon", "cancel-icon-color", "error", "field-only", "hide-save-icon", "loading", "loading-icon", "loading-icon-color", "save-button-color", "save-button-size", "save-button-title", "save-button-variant", "save-icon", "save-icon-color"])]), key: "0" }]), 1040, ["modelValue", "auto-grow", "autofocus", "clear-icon", "color", "density", "disabled", "error", "error-messages", "hide-details", "label", "loading", "rows", "variant", "onKeyup"])], 8, ["disabled", "to"]))], 2)) : pe("", !0), u(o).cardField ? (X(), oe("div", { key: 2, class: ee(u(C)), style: ge(u(w)) }, [d(Fn, ye(be(u(M))), { default: se(() => [d(vn, null, { default: se(() => [Ie("div", { ref_key: "cardFieldRef", ref: q }, null, 512)]), _: 1 })]), _: 1 }, 16)], 6)) : pe("", !0)], 6)); + }), (F, z) => (X(), oe("div", { ref_key: "inlineFieldsContainer", ref: j, class: ee(s(_)), style: ge(s(D)) }, [!s(p) && !s(o).fieldOnly || s(o).cardField ? (X(), oe("div", { key: 0, class: ee(s(T)) }, [Ie("div", { class: ee(s(V)) }, [d(s(Lt), Z(s(k), { onToggleField: x }), Ge({ _: 2 }, [qe(s(a), (U, J) => ({ name: J, fn: se((Y) => [Fe(F.$slots, J, ye(be({ ...Y })))]) }))]), 1040)], 2)], 2)) : pe("", !0), s(p) || s(o).fieldOnly || s(o).cardField ? (X(), oe("div", { key: 1, class: ee(s(S)) }, [(X(), he(rn, { disabled: !s(o).cardField, to: s(q) }, [d(Jr, Z(s(A), { modelValue: n.value, "onUpdate:modelValue": z[0] || (z[0] = (U) => n.value = U), "auto-grow": s(o).autoGrow, autofocus: !s(o).fieldOnly || s(o).autofocus, "clear-icon": s(h), color: s(o).color, density: s(o).density, disabled: s(u) || s(m), error: s(f), "error-messages": s(L), "hide-details": s(o).hideDetails, label: s(o).label, loading: s(u), rows: s(o).rows, variant: s(o).variant, width: "100%", onKeyup: St(P, ["esc"]) }), Ge({ _: 2 }, [qe(s(a), (U, J) => ({ name: J, fn: se((Y) => [Fe(F.$slots, J, ye(be({ ...Y })))]) })), s(a).append ? void 0 : { name: "append", fn: se(() => [d(s(lt), { "cancel-button-color": s(o).cancelButtonColor, "cancel-button-size": s(o).cancelButtonSize, "cancel-button-title": s(o).cancelButtonTitle, "cancel-button-variant": s(o).cancelButtonVariant, "cancel-icon": s(o).cancelIcon, "cancel-icon-color": s(o).cancelIconColor, error: s(f), "field-only": s(o).fieldOnly, "hide-save-icon": s(o).hideSaveIcon, loading: s(u), "loading-icon": s(o).loadingIcon, "loading-icon-color": s(o).loadingIconColor, "save-button-color": s(o).saveButtonColor, "save-button-size": s(o).saveButtonSize, "save-button-title": s(o).saveButtonTitle, "save-button-variant": s(o).saveButtonVariant, "save-icon": s(o).saveIcon, "save-icon-color": s(o).saveIconColor, onClose: P, onSave: G }, null, 8, ["cancel-button-color", "cancel-button-size", "cancel-button-title", "cancel-button-variant", "cancel-icon", "cancel-icon-color", "error", "field-only", "hide-save-icon", "loading", "loading-icon", "loading-icon-color", "save-button-color", "save-button-size", "save-button-title", "save-button-variant", "save-icon", "save-icon-color"])]), key: "0" }]), 1040, ["modelValue", "auto-grow", "autofocus", "clear-icon", "color", "density", "disabled", "error", "error-messages", "hide-details", "label", "loading", "rows", "variant", "onKeyup"])], 8, ["disabled", "to"]))], 2)) : pe("", !0), s(o).cardField ? (X(), oe("div", { key: 2, class: ee(s(C)), style: ge(s(w)) }, [d(Fn, ye(be(s(M))), { default: se(() => [d(vn, null, { default: se(() => [Ie("div", { ref_key: "cardFieldRef", ref: q }, null, 512)]), _: 1 })]), _: 1 }, 16)], 6)) : pe("", !0)], 6)); } }) }, is = (e) => { for (const t in Me) { const n = Me[t]; diff --git a/package.json b/package.json index 3d9eb54..3887646 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@wdns/vuetify-inline-fields", - "version": "1.0.0-beta-1.11", + "version": "1.0.0-beta-1.12", "description": "Vuetify Inline Fields Component Library offers a comprehensive collection of reusable UI components to create elegant and efficient inline form fields within your applications.", "private": false, "publishConfig": { diff --git a/src/plugin/VInlineTextField.vue b/src/plugin/VInlineTextField.vue index 18f8684..78980a5 100644 --- a/src/plugin/VInlineTextField.vue +++ b/src/plugin/VInlineTextField.vue @@ -41,11 +41,15 @@ v-model="modelValue" :autofocus="!settings.fieldOnly || settings.autofocus" :clear-icon="theClearIcon" + :color="settings.color" + :density="settings.density" :disabled="loadingProp || disabledProp" :error="error" :error-messages="internalErrorMessages" + :hide-details="settings.hideDetails" :label="settings.label" :loading="loadingProp" + :variant="settings.variant" width="100%" @keyup.enter="saveValue" @keyup.esc="closeField"