diff --git a/dist/vuetify-inline-fields.cjs.js b/dist/vuetify-inline-fields.cjs.js index 73ee8e8..7619117 100644 --- a/dist/vuetify-inline-fields.cjs.js +++ b/dist/vuetify-inline-fields.cjs.js @@ -1,4 +1,4 @@ -"use strict";var Bo=Object.create;var pl=Object.defineProperty;var wo=Object.getOwnPropertyDescriptor;var ko=Object.getOwnPropertyNames;var xo=Object.getPrototypeOf,Fo=Object.prototype.hasOwnProperty;var Po=(t,l,n,a)=>{if(l&&typeof l=="object"||typeof l=="function")for(let o of ko(l))!Fo.call(t,o)&&o!==n&&pl(t,o,{get:()=>l[o],enumerable:!(a=wo(l,o))||a.enumerable});return t};var et=(t,l,n)=>(n=t!=null?Bo(xo(t)):{},Po(l||!t||!t.__esModule?pl(n,"default",{value:t,enumerable:!0}):n,t));/** +"use strict";var Ba=Object.create;var ho=Object.defineProperty;var wa=Object.getOwnPropertyDescriptor;var ka=Object.getOwnPropertyNames;var xa=Object.getPrototypeOf,Fa=Object.prototype.hasOwnProperty;var Na=(n,o,t,l)=>{if(o&&typeof o=="object"||typeof o=="function")for(let a of ka(o))!Fa.call(n,a)&&a!==t&&ho(n,a,{get:()=>o[a],enumerable:!(l=wa(o,a))||l.enumerable});return n};var en=(n,o,t)=>(t=n!=null?Ba(xa(n)):{},Na(o||!n||!n.__esModule?ho(t,"default",{value:n,enumerable:!0}):t,n));/** * @name @wdns/vuetify-inline-fields * @version 1.0.2 * @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. @@ -7,6 +7,6 @@ * @homepage https://webdevnerdstuff.github.io/vuetify-inline-fields/ * @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"),Kn=require("vuetify"),Ao=require("@vueuse/core"),rt=Symbol("identifier"),st={elevation:5,variant:"flat"},Et={cancelButtonColor:"default",cancelButtonSize:"x-small",cancelButtonTitle:"Cancel",cancelButtonVariant:"text",cancelIcon:void 0,cancelIconColor:"default",cardField:!1,cardOffsetX:0,cardOffsetY:0,cardProps:()=>({}),cell:!1,cellUnderlineFullWidth:!0,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,hideCancelIcon:!1,hideDetails:!0,label:"",loading:!1,loadingWait:!0,name:"",tableField:!0,underlineColor:"primary",underlineStyle:"dotted",underlineWidth:"2px",underlined:!0,valueColor:"default"},Jn={autofocus:!0},Ot={hideCancelIcon:!1,hideSaveIcon:!1,loadingIcon:void 0,loadingIconColor:"primary",saveButtonColor:"primary",saveButtonSize:"x-small",saveButtonTitle:"Save",saveButtonVariant:"text",saveIcon:void 0,saveIconColor:"primary"},ua={falseValue:!1,iconFalse:void 0,iconFalseColor:"danger",iconFalseTitle:"No",iconTrue:void 0,iconTrueColor:"success",iconTrueTitle:"Yes",icons:!0,trueValue:!0},No={...Et,...ua,...Ot,falseIcon:void 0,icons:!0,trueIcon:void 0},To={...Et,...Jn,...Ot,clearIcon:void 0,clearable:!1,hideSelected:!0,itemTitle:"title",itemValue:"value",items:()=>[],menu:!0,variant:"underlined"},Eo={...Et,...ua,...Ot,icons:!0,falseIcon:""},Oo={...Jn,...Ot,...Et,autoGrow:!0,rows:1,truncateLength:void 0,truncateSuffix:"...",variant:"underlined"},da={...Et,...Jn,...Ot,truncateLength:void 0,truncateSuffix:"...",variant:"underlined"},_o={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"}},Te=t=>{const{icon:l,iconOptions:n,name:a}=t;if(l)return l;const o=_o[n==null?void 0:n.defaultSet];if(!o)throw new Error(`VInlineFields: No VInlineFields default ${n==null?void 0:n.defaultSet} icon set found for ${a}. Please set the icon prop.`);const i=o[a];if(!i)throw new Error(`VInlineFields: No ${a} icon found. Please set the icon prop, or set the default icon set to 'mdi' or 'fa'`);return i};function G(t,l){return n=>Object.keys(t).reduce((a,o)=>{const i=typeof t[o]=="object"&&t[o]!=null&&!Array.isArray(t[o])?t[o]:{type:t[o]};return a[o]=n&&o in n?{...i,default:n[o]}:i,l&&!a[o].source&&(a[o].source=l),a},{})}const oe=G({class:[String,Array],style:{type:[String,Array,Object],default:null}},"component"),xe=typeof window<"u",Zn=xe&&"IntersectionObserver"in window;function hl(t,l,n){const a=l.length-1;if(a<0)return t===void 0?n:t;for(let o=0;oct(t[a],l[a]))}function ze(t,l,n){if(l===!0)return t===void 0?n:t;if(l==null||typeof l=="boolean")return n;if(t!==Object(t)){if(typeof l!="function")return n;const o=l(t,n);return o===void 0?n:o}if(typeof l=="string")return function(o,i,u){return o!=null&&i&&typeof i=="string"?o[i]!==void 0?o[i]:hl(o,(i=(i=i.replace(/\[(\w+)\]/g,".$1")).replace(/^\./,"")).split("."),u):u}(t,l,n);if(Array.isArray(l))return hl(t,l,n);if(typeof l!="function")return n;const a=l(t,n);return a===void 0?n:a}function J(t){let l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"px";return t==null||t===""?void 0:isNaN(+t)?String(t):isFinite(+t)?`${Number(t)}${l}`:void 0}function An(t){return t!==null&&typeof t=="object"&&!Array.isArray(t)}function en(t){if(t&&"$el"in t){const l=t.$el;return(l==null?void 0:l.nodeType)===Node.TEXT_NODE?l.nextElementSibling:l}return t}const Cl=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 Sn(t,l){return l.every(n=>t.hasOwnProperty(n))}function va(t,l){const n={},a=new Set(Object.keys(t));for(const o of l)a.has(o)&&(n[o]=t[o]);return n}function bl(t,l,n){const a=Object.create(null),o=Object.create(null);for(const i in t)l.some(u=>u instanceof RegExp?u.test(i):u===i)&&!(n!=null&&n.some(u=>u===i))?a[i]=t[i]:o[i]=t[i];return[a,o]}function Ke(t,l){const n={...t};return l.forEach(a=>delete n[a]),n}const fa=/^on[^a-z]/,Nn=t=>fa.test(t),zo=["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 _t(t){const[l,n]=bl(t,[fa]),a=Ke(l,zo),[o,i]=bl(n,["class","style","id",/^data-/]);return Object.assign(o,l),Object.assign(i,a),[o,i]}function Re(t){return t==null?[]:Array.isArray(t)?t:[t]}function at(t){let l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1;return Math.max(l,Math.min(n,t))}function Sl(t,l){return t+(arguments.length>2&&arguments[2]!==void 0?arguments[2]:"0").repeat(Math.max(0,l-t.length))}function nt(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0;const a={};for(const o in t)a[o]=t[o];for(const o in l){const i=t[o],u=l[o];An(i)&&An(u)?a[o]=nt(i,u,n):Array.isArray(i)&&Array.isArray(u)&&n?a[o]=n(i,u):a[o]=u}return a}function ma(t){return t.map(l=>l.type===e.Fragment?ma(l.children):l).flat()}function He(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";if(He.cache.has(t))return He.cache.get(t);const l=t.replace(/[^a-z]/gi,"-").replace(/\B([A-Z])/g,"-$1").toLowerCase();return He.cache.set(t,l),l}function Jt(t,l){if(!l||typeof l!="object")return[];if(Array.isArray(l))return l.map(n=>Jt(t,n)).flat(1);if(Array.isArray(l.children))return l.children.map(n=>Jt(t,n)).flat(1);if(l.component){if(Object.getOwnPropertySymbols(l.component.provides).includes(t))return[l.component];if(l.component.subTree)return Jt(t,l.component.subTree).flat(1)}return[]}function Qn(t){const l=e.reactive({}),n=e.computed(t);return e.watchEffect(()=>{for(const a in n.value)l[a]=n.value[a]},{flush:"sync"}),e.toRefs(l)}function tn(t,l){return t.includes(l)}function Vl(t){return t[2].toLowerCase()+t.slice(3)}He.cache=new Map;const Ee=()=>[Function,Array];function Il(t,l){return!!(t[l="on"+e.capitalize(l)]||t[`${l}Once`]||t[`${l}Capture`]||t[`${l}OnceCapture`]||t[`${l}CaptureOnce`])}function ya(t){for(var l=arguments.length,n=new Array(l>1?l-1:0),a=1;a1&&arguments[1]!==void 0)||arguments[1];const n=["button","[href]",'input:not([type="hidden"])',"select","textarea","[tabindex]"].map(a=>`${a}${l?':not([tabindex="-1"])':""}:not([disabled])`).join(", ");return[...t.querySelectorAll(n)]}function ga(t,l,n){let a,o=t.indexOf(document.activeElement);const i=l==="next"?1:-1;do o+=i,a=t[o];while((!a||a.offsetParent==null||!((n==null?void 0:n(a))??1))&&o=0);return a}function nn(t,l){var a,o,i,u;const n=Tn(t);if(l)if(l==="first")(a=n[0])==null||a.focus();else if(l==="last")(o=n.at(-1))==null||o.focus();else if(typeof l=="number")(i=n[l])==null||i.focus();else{const c=ga(n,l);c?c.focus():nn(t,l==="next"?"first":"last")}else t!==document.activeElement&&t.contains(document.activeElement)||((u=n[0])==null||u.focus())}function ln(t,l){if(!(xe&&typeof CSS<"u"&&CSS.supports!==void 0&&CSS.supports(`selector(${l})`)))return null;try{return!!t&&t.matches(l)}catch{return null}}function pa(t){return t.some(l=>!e.isVNode(l)||l.type!==e.Comment&&(l.type!==e.Fragment||pa(l.children)))?t:null}const ha=["top","bottom"],Ro=["start","end","left","right"];function En(t,l){let[n,a]=t.split(" ");return a||(a=tn(ha,n)?"start":tn(Ro,n)?"top":"center"),{side:Bl(n,l),align:Bl(a,l)}}function Bl(t,l){return t==="start"?l?"right":"left":t==="end"?l?"left":"right":t}function Vn(t){return{side:{center:"center",top:"bottom",bottom:"top",left:"right",right:"left"}[t.side],align:t.align}}function In(t){return{side:t.side,align:{center:"center",top:"bottom",bottom:"top",left:"right",right:"left"}[t.align]}}function wl(t){return{side:t.align,align:t.side}}function kl(t){return tn(ha,t.side)?"y":"x"}class qe{constructor(l){let{x:n,y:a,width:o,height:i}=l;this.x=n,this.y=a,this.width=o,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 xl(t,l){return{x:{before:Math.max(0,l.left-t.left),after:Math.max(0,t.right-l.right)},y:{before:Math.max(0,l.top-t.top),after:Math.max(0,t.bottom-l.bottom)}}}function Ca(t){return Array.isArray(t)?new qe({x:t[0],y:t[1],width:0,height:0}):t.getBoundingClientRect()}function el(t){const l=t.getBoundingClientRect(),n=getComputedStyle(t),a=n.transform;if(a){let o,i,u,c,s;if(a.startsWith("matrix3d("))o=a.slice(9,-1).split(/, /),i=+o[0],u=+o[5],c=+o[12],s=+o[13];else{if(!a.startsWith("matrix("))return new qe(l);o=a.slice(7,-1).split(/, /),i=+o[0],u=+o[3],c=+o[4],s=+o[5]}const r=n.transformOrigin,d=l.x-c-(1-i)*parseFloat(r),f=l.y-s-(1-u)*parseFloat(r.slice(r.indexOf(" ")+1)),v=i?l.width/i:t.offsetWidth+1,m=u?l.height/u:t.offsetHeight+1;return new qe({x:d,y:f,width:v,height:m})}return new qe(l)}function lt(t,l,n){if(t.animate===void 0)return{finished:Promise.resolve()};let a;try{a=t.animate(l,n)}catch{return{finished:Promise.resolve()}}return a.finished===void 0&&(a.finished=new Promise(o=>{a.onfinish=()=>{o(a)}})),a}const qt=new WeakMap,tt=2.4,Fl=.2126729,Pl=.7151522,Al=.072175,Do=.55,$o=.58,Lo=.57,Mo=.62,Yt=.03,Nl=1.45,Wo=5e-4,jo=1.25,Go=1.25,Tl=.078,El=12.82051282051282,Xt=.06,Ol=.001;function _l(t,l){const n=(t.r/255)**tt,a=(t.g/255)**tt,o=(t.b/255)**tt,i=(l.r/255)**tt,u=(l.g/255)**tt,c=(l.b/255)**tt;let s,r=n*Fl+a*Pl+o*Al,d=i*Fl+u*Pl+c*Al;if(r<=Yt&&(r+=(Yt-r)**Nl),d<=Yt&&(d+=(Yt-d)**Nl),Math.abs(d-r)r){const f=(d**Do-r**$o)*jo;s=f-Ol?0:f>-Tl?f-f*El*Xt:f+Xt}return 100*s}function xt(t){e.warn(`Vuetify: ${t}`)}function Bn(t){return!!t&&/^(#|var\(--|(rgb|hsl)a?\()/.test(t)}const zl=/^(?(?:rgb|hsl)a?)\((?.+)\)/,Uo={rgb:(t,l,n,a)=>({r:t,g:l,b:n,a}),rgba:(t,l,n,a)=>({r:t,g:l,b:n,a}),hsl:(t,l,n,a)=>Rl({h:t,s:l,l:n,a}),hsla:(t,l,n,a)=>Rl({h:t,s:l,l:n,a}),hsv:(t,l,n,a)=>Ft({h:t,s:l,v:n,a}),hsva:(t,l,n,a)=>Ft({h:t,s:l,v:n,a})};function Bt(t){if(typeof t=="number")return(isNaN(t)||t<0||t>16777215)&&xt(`'${t}' is not a valid hex color`),{r:(16711680&t)>>16,g:(65280&t)>>8,b:255&t};if(typeof t=="string"&&zl.test(t)){const{groups:l}=t.match(zl),{fn:n,values:a}=l,o=a.split(/,\s*/).map(i=>i.endsWith("%")&&["hsl","hsla","hsv","hsva"].includes(n)?parseFloat(i)/100:parseFloat(i));return Uo[n](...o)}if(typeof t=="string"){let l=t.startsWith("#")?t.slice(1):t;[3,4].includes(l.length)?l=l.split("").map(a=>a+a).join(""):[6,8].includes(l.length)||xt(`'${t}' is not a valid hex(a) color`);const n=parseInt(l,16);return(isNaN(n)||n<0||n>4294967295)&&xt(`'${t}' is not a valid hex(a) color`),function(a){a=function(s){return s.startsWith("#")&&(s=s.slice(1)),s=s.replace(/([^0-9a-f])/gi,"F"),(s.length===3||s.length===4)&&(s=s.split("").map(r=>r+r).join("")),s.length!==6&&(s=Sl(Sl(s,6),8,"F")),s}(a);let[o,i,u,c]=function(s){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;const d=[];let f=0;for(;fparseInt(s,16));return c=c===void 0?c:c/255,{r:o,g:i,b:u,a:c}}(l)}if(typeof t=="object"){if(Sn(t,["r","g","b"]))return t;if(Sn(t,["h","s","l"]))return Ft(ba(t));if(Sn(t,["h","s","v"]))return Ft(t)}throw new TypeError(`Invalid color: ${t==null?t:String(t)||t.constructor.name} -Expected #hex, #hexa, rgb(), rgba(), hsl(), hsla(), object or number`)}function Ft(t){const{h:l,s:n,v:a,a:o}=t,i=c=>{const s=(c+l/60)%6;return a-a*n*Math.max(Math.min(s,4-s,1),0)},u=[i(5),i(3),i(1)].map(c=>Math.round(255*c));return{r:u[0],g:u[1],b:u[2],a:o}}function Rl(t){return Ft(ba(t))}function ba(t){const{h:l,s:n,l:a,a:o}=t,i=a+n*Math.min(a,1-a);return{h:l,s:i===0?0:2-2*a/i,v:i,a:o}}const an=Symbol.for("vuetify:defaults");function tl(){const t=e.inject(an);if(!t)throw new Error("[Vuetify] Could not find defaults instance");return t}function ut(t,l){const n=tl(),a=e.ref(t),o=e.computed(()=>{if(e.unref(l==null?void 0:l.disabled))return n.value;const i=e.unref(l==null?void 0:l.scoped),u=e.unref(l==null?void 0:l.reset),c=e.unref(l==null?void 0:l.root);if(a.value==null&&!(i||u||c))return n.value;let s=nt(a.value,{prev:n.value});if(i)return s;if(u||c){const r=Number(u||1/0);for(let d=0;d<=r&&s&&"prev"in s;d++)s=s.prev;return s&&typeof c=="string"&&c in s&&(s=nt(nt(s,{prev:s}),s[c])),s}return s.prev?nt(s.prev,s):s});return e.provide(an,o),o}function Ho(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},l=arguments.length>1?arguments[1]:void 0,n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:tl();const a=Se("useDefaults");if(l=l??a.type.name??a.type.__name,!l)throw new Error("[Vuetify] Could not determine component name");const o=e.computed(()=>{var c;return(c=n.value)==null?void 0:c[t._as??l]}),i=new Proxy(t,{get(c,s){var d,f,v,m;const r=Reflect.get(c,s);return s==="class"||s==="style"?[(d=o.value)==null?void 0:d[s],r].filter(g=>g!=null):typeof s!="string"||function(g,p){var y,C;return((y=g.props)==null?void 0:y[p])!==void 0||((C=g.props)==null?void 0:C[He(p)])!==void 0}(a.vnode,s)?r:((f=o.value)==null?void 0:f[s])??((m=(v=n.value)==null?void 0:v.global)==null?void 0:m[s])??r}}),u=e.shallowRef();return e.watchEffect(()=>{if(o.value){const c=Object.entries(o.value).filter(s=>{let[r]=s;return r.startsWith(r[0].toUpperCase())});u.value=c.length?Object.fromEntries(c):void 0}else u.value=void 0}),{props:i,provideSubDefaults:function(){const c=function(s){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Se("injectSelf");const{provides:d}=r;if(d&&s in d)return d[s]}(an,a);e.provide(an,e.computed(()=>u.value?nt((c==null?void 0:c.value)??{},u.value):c==null?void 0:c.value))}}}function Pt(t){if(t._setup=t._setup??t.setup,!t.name)return xt("The component is missing an explicit name, unable to generate default prop value"),t;if(t._setup){t.props=G(t.props??{},t.name)();const l=Object.keys(t.props).filter(n=>n!=="class"&&n!=="style");t.filterProps=function(n){return va(n,l)},t.props._as=String,t.setup=function(n,a){const o=tl();if(!o.value)return t._setup(n,a);const{props:i,provideSubDefaults:u}=Ho(n,n._as??t.name,o),c=t._setup(i,a);return u(),c}}return t}function X(){let t=!(arguments.length>0&&arguments[0]!==void 0)||arguments[0];return l=>(t?Pt:e.defineComponent)(l)}function zt(t){let l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"div",n=arguments.length>2?arguments[2]:void 0;return X()({name:n??e.capitalize(e.camelize(t.replace(/__/g,"-"))),props:{tag:{type:String,default:l},...oe()},setup(a,o){let{slots:i}=o;return()=>{var u;return e.h(a.tag,{class:[t,a.class],style:a.style},(u=i.default)==null?void 0:u.call(i))}}})}function Sa(t){if(typeof t.getRootNode!="function"){for(;t.parentNode;)t=t.parentNode;return t!==document?null:document}const l=t.getRootNode();return l!==document&&l.getRootNode({composed:!0})!==document?null:l}const on="cubic-bezier(0.4, 0, 0.2, 1)";function Se(t,l){const n=e.getCurrentInstance();if(!n)throw new Error(`[Vuetify] ${t} ${l||"must be called from inside a setup function"}`);return n}function Oe(){const t=Se(arguments.length>0&&arguments[0]!==void 0?arguments[0]:"composables").type;return He((t==null?void 0:t.aliasName)||(t==null?void 0:t.name))}let Va=0,Zt=new WeakMap;function Ne(){const t=Se("getUid");if(Zt.has(t))return Zt.get(t);{const l=Va++;return Zt.set(t,l),l}}function Ia(t){let l=arguments.length>1&&arguments[1]!==void 0&&arguments[1];for(;t;){if(l?qo(t):nl(t))return t;t=t.parentElement}return document.scrollingElement}function rn(t,l){const n=[];if(l&&t&&!l.contains(t))return n;for(;t&&(nl(t)&&n.push(t),t!==l);)t=t.parentElement;return n}function nl(t){if(!t||t.nodeType!==Node.ELEMENT_NODE)return!1;const l=window.getComputedStyle(t);return l.overflowY==="scroll"||l.overflowY==="auto"&&t.scrollHeight>t.clientHeight}function qo(t){if(!t||t.nodeType!==Node.ELEMENT_NODE)return!1;const l=window.getComputedStyle(t);return["scroll","auto"].includes(l.overflowY)}function ee(t){Se("useRender").render=t}function ll(t){let l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"content";const n=e.ref(),a=e.ref();if(xe){const o=new ResizeObserver(i=>{t==null||t(i,o),i.length&&(a.value=l==="content"?i[0].contentRect:i[0].target.getBoundingClientRect())});e.onBeforeUnmount(()=>{o.disconnect()}),e.watch(n,(i,u)=>{u&&(o.unobserve(en(u)),a.value=void 0),i&&o.observe(en(i))},{flush:"post"})}return{resizeRef:n,contentRect:e.readonly(a)}}function Ye(t,l){let n;function a(){n=e.effectScope(),n.run(()=>l.length?l(()=>{n==null||n.stop(),a()}):l())}e.watch(t,o=>{o&&!n?a():o||(n==null||n.stop(),n=void 0)},{immediate:!0}),e.onScopeDispose(()=>{n==null||n.stop()})}function he(t,l,n){let a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:d=>d,o=arguments.length>4&&arguments[4]!==void 0?arguments[4]:d=>d;const i=Se("useProxiedModel"),u=e.ref(t[l]!==void 0?t[l]:n),c=He(l),s=c!==l?e.computed(()=>{var d,f,v,m;return t[l],!(!((d=i.vnode.props)!=null&&d.hasOwnProperty(l))&&!((f=i.vnode.props)!=null&&f.hasOwnProperty(c))||!((v=i.vnode.props)!=null&&v.hasOwnProperty(`onUpdate:${l}`))&&!((m=i.vnode.props)!=null&&m.hasOwnProperty(`onUpdate:${c}`)))}):e.computed(()=>{var d,f;return t[l],!(!((d=i.vnode.props)!=null&&d.hasOwnProperty(l))||!((f=i.vnode.props)!=null&&f.hasOwnProperty(`onUpdate:${l}`)))});Ye(()=>!s.value,()=>{e.watch(()=>t[l],d=>{u.value=d})});const r=e.computed({get(){const d=t[l];return a(s.value?d:u.value)},set(d){const f=o(d),v=e.toRaw(s.value?t[l]:u.value);v!==f&&a(v)!==d&&(u.value=f,i==null||i.emit(`update:${l}`,f))}});return Object.defineProperty(r,"externalValue",{get:()=>s.value?t[l]:u.value}),r}Ne.reset=()=>{Va=0,Zt=new WeakMap};const Ba=Symbol.for("vuetify:locale");function al(){const t=e.inject(Ba);if(!t)throw new Error("[Vuetify] Could not find injected locale instance");return t}function Rt(){const t=e.inject(Ba);if(!t)throw new Error("[Vuetify] Could not find injected rtl instance");return{isRtl:t.isRtl,rtlClasses:t.rtlClasses}}const Dl=Symbol.for("vuetify:theme"),Ie=G({theme:String},"theme");function ke(t){Se("provideTheme");const l=e.inject(Dl,null);if(!l)throw new Error("Could not find Vuetify theme injection");const n=e.computed(()=>t.theme??l.name.value),a=e.computed(()=>l.themes.value[n.value]),o=e.computed(()=>l.isDisabled?void 0:`v-theme--${n.value}`),i={...l,name:n,current:a,themeClasses:o};return e.provide(Dl,i),i}const Ae=G({tag:{type:String,default:"div"}},"tag"),Yo=G({disabled:Boolean,group:Boolean,hideOnLeave:Boolean,leaveAbsolute:Boolean,mode:String,origin:String},"transition");function Fe(t,l,n){return X()({name:t,props:Yo({mode:n,origin:l}),setup(a,o){let{slots:i}=o;const u={onBeforeEnter(c){a.origin&&(c.style.transformOrigin=a.origin)},onLeave(c){if(a.leaveAbsolute){const{offsetTop:s,offsetLeft:r,offsetWidth:d,offsetHeight:f}=c;c._transitionInitialStyles={position:c.style.position,top:c.style.top,left:c.style.left,width:c.style.width,height:c.style.height},c.style.position="absolute",c.style.top=`${s}px`,c.style.left=`${r}px`,c.style.width=`${d}px`,c.style.height=`${f}px`}a.hideOnLeave&&c.style.setProperty("display","none","important")},onAfterLeave(c){if(a.leaveAbsolute&&(c!=null&&c._transitionInitialStyles)){const{position:s,top:r,left:d,width:f,height:v}=c._transitionInitialStyles;delete c._transitionInitialStyles,c.style.position=s||"",c.style.top=r||"",c.style.left=d||"",c.style.width=f||"",c.style.height=v||""}}};return()=>{const c=a.group?e.TransitionGroup:e.Transition;return e.h(c,{name:a.disabled?"":t,css:!a.disabled,...a.group?void 0:{mode:a.mode},...a.disabled?{}:u},i.default)}}})}function wa(t,l){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"in-out";return X()({name:t,props:{mode:{type:String,default:n},disabled:Boolean},setup(a,o){let{slots:i}=o;return()=>e.h(e.Transition,{name:a.disabled?"":t,css:!a.disabled,...a.disabled?{}:l},i.default)}})}function ka(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";const l=arguments.length>1&&arguments[1]!==void 0&&arguments[1]?"width":"height",n=e.camelize(`offset-${l}`);return{onBeforeEnter(i){i._parent=i.parentNode,i._initialStyle={transition:i.style.transition,overflow:i.style.overflow,[l]:i.style[l]}},onEnter(i){const u=i._initialStyle;i.style.setProperty("transition","none","important"),i.style.overflow="hidden";const c=`${i[n]}px`;i.style[l]="0",i.offsetHeight,i.style.transition=u.transition,t&&i._parent&&i._parent.classList.add(t),requestAnimationFrame(()=>{i.style[l]=c})},onAfterEnter:o,onEnterCancelled:o,onLeave(i){i._initialStyle={transition:"",overflow:i.style.overflow,[l]:i.style[l]},i.style.overflow="hidden",i.style[l]=`${i[n]}px`,i.offsetHeight,requestAnimationFrame(()=>i.style[l]="0")},onAfterLeave:a,onLeaveCancelled:a};function a(i){t&&i._parent&&i._parent.classList.remove(t),o(i)}function o(i){const u=i._initialStyle[l];i.style.overflow=i._initialStyle.overflow,u!=null&&(i.style[l]=u),delete i._initialStyle}}const Xo=G({target:[Object,Array]},"v-dialog-transition"),xa=X()({name:"VDialogTransition",props:Xo(),setup(t,l){let{slots:n}=l;const a={onBeforeEnter(o){o.style.pointerEvents="none",o.style.visibility="hidden"},async onEnter(o,i){var v;await new Promise(m=>requestAnimationFrame(m)),await new Promise(m=>requestAnimationFrame(m)),o.style.visibility="";const{x:u,y:c,sx:s,sy:r,speed:d}=Ll(t.target,o),f=lt(o,[{transform:`translate(${u}px, ${c}px) scale(${s}, ${r})`,opacity:0},{}],{duration:225*d,easing:"cubic-bezier(0.0, 0, 0.2, 1)"});(v=$l(o))==null||v.forEach(m=>{lt(m,[{opacity:0},{opacity:0,offset:.33},{}],{duration:450*d,easing:on})}),f.finished.then(()=>i())},onAfterEnter(o){o.style.removeProperty("pointer-events")},onBeforeLeave(o){o.style.pointerEvents="none"},async onLeave(o,i){var f;await new Promise(v=>requestAnimationFrame(v));const{x:u,y:c,sx:s,sy:r,speed:d}=Ll(t.target,o);lt(o,[{},{transform:`translate(${u}px, ${c}px) scale(${s}, ${r})`,opacity:0}],{duration:125*d,easing:"cubic-bezier(0.4, 0, 1, 1)"}).finished.then(()=>i()),(f=$l(o))==null||f.forEach(v=>{lt(v,[{},{opacity:0,offset:.2},{opacity:0}],{duration:250*d,easing:on})})},onAfterLeave(o){o.style.removeProperty("pointer-events")}};return()=>t.target?e.createVNode(e.Transition,e.mergeProps({name:"dialog-transition"},a,{css:!1}),n):e.createVNode(e.Transition,{name:"dialog-transition"},n)}});function $l(t){var n;const l=(n=t.querySelector(":scope > .v-card, :scope > .v-sheet, :scope > .v-list"))==null?void 0:n.children;return l&&[...l]}function Ll(t,l){const n=Ca(t),a=el(l),[o,i]=getComputedStyle(l).transformOrigin.split(" ").map(C=>parseFloat(C)),[u,c]=getComputedStyle(l).getPropertyValue("--v-overlay-anchor-origin").split(" ");let s=n.left+n.width/2;u==="left"||c==="left"?s-=n.width/2:u!=="right"&&c!=="right"||(s+=n.width/2);let r=n.top+n.height/2;u==="top"||c==="top"?r-=n.height/2:u!=="bottom"&&c!=="bottom"||(r+=n.height/2);const d=n.width/a.width,f=n.height/a.height,v=Math.max(1,d,f),m=d/v||0,g=f/v||0,p=a.width*a.height/(window.innerWidth*window.innerHeight),y=p>.12?Math.min(1.5,10*(p-.12)+1):1;return{x:s-(o+a.left),y:r-(i+a.top),sx:m,sy:g,speed:y}}Fe("fab-transition","center center","out-in"),Fe("dialog-bottom-transition"),Fe("dialog-top-transition"),Fe("fade-transition");const Ko=Fe("scale-transition");Fe("scroll-x-transition"),Fe("scroll-x-reverse-transition"),Fe("scroll-y-transition"),Fe("scroll-y-reverse-transition"),Fe("slide-x-transition"),Fe("slide-x-reverse-transition");const Fa=Fe("slide-y-transition");Fe("slide-y-reverse-transition");const Jo=wa("expand-transition",ka()),Pa=wa("expand-x-transition",ka("",!0)),Zo=G({defaults:Object,disabled:Boolean,reset:[Number,String],root:[Boolean,String],scoped:Boolean},"VDefaultsProvider"),Be=X(!1)({name:"VDefaultsProvider",props:Zo(),setup(t,l){let{slots:n}=l;const{defaults:a,disabled:o,reset:i,root:u,scoped:c}=e.toRefs(t);return ut(a,{reset:i,root:u,scoped:c,disabled:o}),()=>{var s;return(s=n.default)==null?void 0:s.call(n)}}}),Je=G({height:[Number,String],maxHeight:[Number,String],maxWidth:[Number,String],minHeight:[Number,String],minWidth:[Number,String],width:[Number,String]},"dimension");function Ze(t){return{dimensionStyles:e.computed(()=>({height:J(t.height),maxHeight:J(t.maxHeight),maxWidth:J(t.maxWidth),minHeight:J(t.minHeight),minWidth:J(t.minWidth),width:J(t.width)}))}}const Aa=G({aspectRatio:[String,Number],contentClass:String,inline:Boolean,...oe(),...Je()},"VResponsive"),Ml=X()({name:"VResponsive",props:Aa(),setup(t,l){let{slots:n}=l;const{aspectStyles:a}=function(i){return{aspectStyles:e.computed(()=>{const u=Number(i.aspectRatio);return u?{paddingBottom:String(1/u*100)+"%"}:void 0})}}(t),{dimensionStyles:o}=Ze(t);return ee(()=>{var i;return e.createVNode("div",{class:["v-responsive",{"v-responsive--inline":t.inline},t.class],style:[o.value,t.style]},[e.createVNode("div",{class:"v-responsive__sizer",style:a.value},null),(i=n.additional)==null?void 0:i.call(n),n.default&&e.createVNode("div",{class:["v-responsive__content",t.contentClass]},[n.default()])])}),{}}}),Dt=G({transition:{type:[Boolean,String,Object],default:"fade-transition",validator:t=>t!==!0}},"transition"),We=(t,l)=>{let{slots:n}=l;const{transition:a,disabled:o,...i}=t,{component:u=e.Transition,...c}=typeof a=="object"?a:{};return e.h(u,e.mergeProps(typeof a=="string"?{name:o?"":a}:c,i,{disabled:o}),n)};function Wl(t,l){var a;const n=(a=t._observe)==null?void 0:a[l.instance.$.uid];n&&(n.observer.unobserve(t),delete t._observe[l.instance.$.uid])}const ol={mounted:function(t,l){if(!Zn)return;const n=l.modifiers||{},a=l.value,{handler:o,options:i}=typeof a=="object"?a:{handler:a,options:{}},u=new IntersectionObserver(function(){var f;let c=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],s=arguments.length>1?arguments[1]:void 0;const r=(f=t._observe)==null?void 0:f[l.instance.$.uid];if(!r)return;const d=c.some(v=>v.isIntersecting);!o||n.quiet&&!r.init||n.once&&!d&&!r.init||o(d,c,s),d&&n.once?Wl(t,l):r.init=!0},i);t._observe=Object(t._observe),t._observe[l.instance.$.uid]={init:!1,observer:u},u.observe(t)},unmounted:Wl},Qo=G({alt:String,cover:Boolean,draggable:{type:[Boolean,String],default:void 0},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:""},crossorigin:String,referrerpolicy:String,srcset:String,position:String,...Aa(),...oe(),...Dt()},"VImg"),Na=X()({name:"VImg",directives:{intersect:ol},props:Qo(),emits:{loadstart:t=>!0,load:t=>!0,error:t=>!0},setup(t,l){let{emit:n,slots:a}=l;const o=Se("VImg"),i=e.shallowRef(""),u=e.ref(),c=e.shallowRef(t.eager?"loading":"idle"),s=e.shallowRef(),r=e.shallowRef(),d=e.computed(()=>t.src&&typeof t.src=="object"?{src:t.src.src,srcset:t.srcset||t.src.srcset,lazySrc:t.lazySrc||t.src.lazySrc,aspect:Number(t.aspectRatio||t.src.aspect||0)}:{src:t.src,srcset:t.srcset,lazySrc:t.lazySrc,aspect:Number(t.aspectRatio||0)}),f=e.computed(()=>d.value.aspect||s.value/r.value||0);function v(V){if((!t.eager||!V)&&(!Zn||V||t.eager)){if(c.value="loading",d.value.lazySrc){const k=new Image;k.src=d.value.lazySrc,C(k,null)}d.value.src&&e.nextTick(()=>{var k;n("loadstart",((k=u.value)==null?void 0:k.currentSrc)||d.value.src),setTimeout(()=>{var b;if(!o.isUnmounted)if((b=u.value)!=null&&b.complete){if(u.value.naturalWidth||g(),c.value==="error")return;f.value||C(u.value,null),c.value==="loading"&&m()}else f.value||C(u.value),p()})})}}function m(){var V;o.isUnmounted||(p(),C(u.value),c.value="loaded",n("load",((V=u.value)==null?void 0:V.currentSrc)||d.value.src))}function g(){var V;o.isUnmounted||(c.value="error",n("error",((V=u.value)==null?void 0:V.currentSrc)||d.value.src))}function p(){const V=u.value;V&&(i.value=V.currentSrc||V.src)}e.watch(()=>t.src,()=>{v(c.value!=="idle")}),e.watch(f,(V,k)=>{!V&&k&&u.value&&C(u.value)}),e.onBeforeMount(()=>v());let y=-1;function C(V){let k=arguments.length>1&&arguments[1]!==void 0?arguments[1]:100;const b=()=>{if(clearTimeout(y),o.isUnmounted)return;const{naturalHeight:I,naturalWidth:B}=V;I||B?(s.value=B,r.value=I):V.complete||c.value!=="loading"||k==null?(V.currentSrc.endsWith(".svg")||V.currentSrc.startsWith("data:image/svg+xml"))&&(s.value=1,r.value=1):y=window.setTimeout(b,k)};b()}e.onBeforeUnmount(()=>{clearTimeout(y)});const w=e.computed(()=>({"v-img__img--cover":t.cover,"v-img__img--contain":!t.cover})),P=()=>{var b;if(!d.value.src||c.value==="idle")return null;const V=e.createVNode("img",{class:["v-img__img",w.value],style:{objectPosition:t.position},src:d.value.src,srcset:d.value.srcset,alt:t.alt,crossorigin:t.crossorigin,referrerpolicy:t.referrerpolicy,draggable:t.draggable,sizes:t.sizes,ref:u,onLoad:m,onError:g},null),k=(b=a.sources)==null?void 0:b.call(a);return e.createVNode(We,{transition:t.transition,appear:!0},{default:()=>[e.withDirectives(k?e.createVNode("picture",{class:"v-img__picture"},[k,V]):V,[[e.vShow,c.value==="loaded"]])]})},M=()=>e.createVNode(We,{transition:t.transition},{default:()=>[d.value.lazySrc&&c.value!=="loaded"&&e.createVNode("img",{class:["v-img__img","v-img__img--preload",w.value],style:{objectPosition:t.position},src:d.value.lazySrc,alt:t.alt,crossorigin:t.crossorigin,referrerpolicy:t.referrerpolicy,draggable:t.draggable},null)]}),E=()=>a.placeholder?e.createVNode(We,{transition:t.transition,appear:!0},{default:()=>[(c.value==="loading"||c.value==="error"&&!a.error)&&e.createVNode("div",{class:"v-img__placeholder"},[a.placeholder()])]}):null,N=()=>a.error?e.createVNode(We,{transition:t.transition,appear:!0},{default:()=>[c.value==="error"&&e.createVNode("div",{class:"v-img__error"},[a.error()])]}):null,L=()=>t.gradient?e.createVNode("div",{class:"v-img__gradient",style:{backgroundImage:`linear-gradient(${t.gradient})`}},null):null,A=e.shallowRef(!1);{const V=e.watch(f,k=>{k&&(requestAnimationFrame(()=>{requestAnimationFrame(()=>{A.value=!0})}),V())})}return ee(()=>{const V=Ml.filterProps(t);return e.withDirectives(e.createVNode(Ml,e.mergeProps({class:["v-img",{"v-img--booting":!A.value},t.class],style:[{width:J(t.width==="auto"?s.value:t.width)},t.style]},V,{aspectRatio:f.value,"aria-label":t.alt,role:t.alt?"img":void 0}),{additional:()=>e.createVNode(e.Fragment,null,[e.createVNode(P,null,null),e.createVNode(M,null,null),e.createVNode(L,null,null),e.createVNode(E,null,null),e.createVNode(N,null,null)]),default:a.default}),[[e.resolveDirective("intersect"),{handler:v,options:t.options},null,{once:!0}]])}),{currentSrc:i,image:u,state:c,naturalWidth:s,naturalHeight:r}}}),dt=G({border:[Boolean,Number,String]},"border");function vt(t){let l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Oe();return{borderClasses:e.computed(()=>{const n=e.isRef(t)?t.value:t.border,a=[];if(n===!0||n==="")a.push(`${l}--border`);else if(typeof n=="string"||n===0)for(const o of String(n).split(" "))a.push(`border-${o}`);return a})}}function il(t){return Qn(()=>{const l=[],n={};if(t.value.background)if(Bn(t.value.background)){if(n.backgroundColor=t.value.background,!t.value.text&&Bn(a=t.value.background)&&!/^((rgb|hsl)a?\()?var\(--/.test(a)){const o=Bt(t.value.background);if(o.a==null||o.a===1){const i=function(u){const c=Math.abs(_l(Bt(0),Bt(u)));return Math.abs(_l(Bt(16777215),Bt(u)))>Math.min(c,50)?"#fff":"#000"}(o);n.color=i,n.caretColor=i}}}else l.push(`bg-${t.value.background}`);var a;return t.value.text&&(Bn(t.value.text)?(n.color=t.value.text,n.caretColor=t.value.text):l.push(`text-${t.value.text}`)),{colorClasses:l,colorStyles:n}})}function De(t,l){const n=e.computed(()=>({text:e.isRef(t)?t.value:l?t[l]:null})),{colorClasses:a,colorStyles:o}=il(n);return{textColorClasses:a,textColorStyles:o}}function ot(t,l){const n=e.computed(()=>({background:e.isRef(t)?t.value:l?t[l]:null})),{colorClasses:a,colorStyles:o}=il(n);return{backgroundColorClasses:a,backgroundColorStyles:o}}const ft=G({elevation:{type:[Number,String],validator(t){const l=parseInt(t);return!isNaN(l)&&l>=0&&l<=24}}},"elevation");function mt(t){return{elevationClasses:e.computed(()=>{const l=e.isRef(t)?t.value:t.elevation,n=[];return l==null||n.push(`elevation-${l}`),n})}}const $e=G({rounded:{type:[Boolean,Number,String],default:void 0}},"rounded");function Le(t){let l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Oe();return{roundedClasses:e.computed(()=>{const n=e.isRef(t)?t.value:t.rounded,a=[];if(n===!0||n==="")a.push(`${l}--rounded`);else if(typeof n=="string"||n===0)for(const o of String(n).split(" "))a.push(`rounded-${o}`);return a})}}const ei=[null,"default","comfortable","compact"],_e=G({density:{type:String,default:"default",validator:t=>ei.includes(t)}},"density");function Me(t){let l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Oe();return{densityClasses:e.computed(()=>`${l}--density-${t.density}`)}}const ti=["elevated","flat","tonal","outlined","text","plain"];function $t(t,l){return e.createVNode(e.Fragment,null,[t&&e.createVNode("span",{key:"overlay",class:`${l}__overlay`},null),e.createVNode("span",{key:"underlay",class:`${l}__underlay`},null)])}const Ue=G({color:String,variant:{type:String,default:"elevated",validator:t=>ti.includes(t)}},"variant");function Lt(t){let l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Oe();const n=e.computed(()=>{const{variant:i}=e.unref(t);return`${l}--variant-${i}`}),{colorClasses:a,colorStyles:o}=il(e.computed(()=>{const{variant:i,color:u}=e.unref(t);return{[["elevated","flat"].includes(i)?"background":"text"]:u}}));return{colorClasses:a,colorStyles:o,variantClasses:n}}const Ta=G({divided:Boolean,...dt(),...oe(),..._e(),...ft(),...$e(),...Ae(),...Ie(),...Ue()},"VBtnGroup"),jl=X()({name:"VBtnGroup",props:Ta(),setup(t,l){let{slots:n}=l;const{themeClasses:a}=ke(t),{densityClasses:o}=Me(t),{borderClasses:i}=vt(t),{elevationClasses:u}=mt(t),{roundedClasses:c}=Le(t);ut({VBtn:{height:"auto",color:e.toRef(t,"color"),density:e.toRef(t,"density"),flat:!0,variant:e.toRef(t,"variant")}}),ee(()=>e.createVNode(t.tag,{class:["v-btn-group",{"v-btn-group--divided":t.divided},a.value,i.value,o.value,u.value,c.value,t.class],style:t.style},n))}}),Ea=G({modelValue:{type:null,default:void 0},multiple:Boolean,mandatory:[Boolean,String],max:Number,selectedClass:String,disabled:Boolean},"group"),Oa=G({value:null,disabled:Boolean,selectedClass:String},"group-item");function _a(t,l){let n=!(arguments.length>2&&arguments[2]!==void 0)||arguments[2];const a=Se("useGroupItem");if(!a)throw new Error("[Vuetify] useGroupItem composable must be used inside a component setup function");const o=Ne();e.provide(Symbol.for(`${l.description}:id`),o);const i=e.inject(l,null);if(!i){if(!n)return i;throw new Error(`[Vuetify] Could not find useGroup injection with symbol ${l.description}`)}const u=e.toRef(t,"value"),c=e.computed(()=>!(!i.disabled.value&&!t.disabled));i.register({id:o,value:u,disabled:c},a),e.onBeforeUnmount(()=>{i.unregister(o)});const s=e.computed(()=>i.isSelected(o)),r=e.computed(()=>s.value&&[i.selectedClass.value,t.selectedClass]);return e.watch(s,d=>{a.emit("group:selected",{value:d})}),{id:o,isSelected:s,toggle:()=>i.select(o,!s.value),select:d=>i.select(o,d),selectedClass:r,value:u,disabled:c,group:i}}function za(t,l){let n=!1;const a=e.reactive([]),o=he(t,"modelValue",[],r=>r==null?[]:Gl(a,Re(r)),r=>{const d=function(f,v){const m=[];return v.forEach(g=>{const p=f.findIndex(y=>y.id===g);if(~p){const y=f[p];m.push(y.value!=null?y.value:p)}}),m}(a,r);return t.multiple?d:d[0]}),i=Se("useGroup");function u(){const r=a.find(d=>!d.disabled);r&&t.mandatory==="force"&&!o.value.length&&(o.value=[r.id])}function c(r){if(t.multiple&&xt('This method is not supported when using "multiple" prop'),o.value.length){const d=o.value[0],f=a.findIndex(g=>g.id===d);let v=(f+r)%a.length,m=a[v];for(;m.disabled&&v!==f;)v=(v+r)%a.length,m=a[v];if(m.disabled)return;o.value=[a[v].id]}else{const d=a.find(f=>!f.disabled);d&&(o.value=[d.id])}}e.onMounted(()=>{u()}),e.onBeforeUnmount(()=>{n=!0});const s={register:function(r,d){const f=r,v=Jt(Symbol.for(`${l.description}:id`),i==null?void 0:i.vnode).indexOf(d);v>-1?a.splice(v,0,f):a.push(f)},unregister:function(r){if(n)return;u();const d=a.findIndex(f=>f.id===r);a.splice(d,1)},selected:o,select:function(r,d){const f=a.find(v=>v.id===r);if(!d||!(f!=null&&f.disabled))if(t.multiple){const v=o.value.slice(),m=v.findIndex(p=>p===r),g=~m;if(d=d??!g,g&&t.mandatory&&v.length<=1||!g&&t.max!=null&&v.length+1>t.max)return;m<0&&d?v.push(r):m>=0&&!d&&v.splice(m,1),o.value=v}else{const v=o.value.includes(r);if(t.mandatory&&v)return;o.value=d??!v?[r]:[]}},disabled:e.toRef(t,"disabled"),prev:()=>c(a.length-1),next:()=>c(1),isSelected:r=>o.value.includes(r),selectedClass:e.computed(()=>t.selectedClass),items:e.computed(()=>a),getItemIndex:r=>function(d,f){const v=Gl(d,[f]);return v.length?d.findIndex(m=>m.id===v[0]):-1}(a,r)};return e.provide(l,s),s}function Gl(t,l){const n=[];return l.forEach(a=>{const o=t.find(u=>ct(a,u.value)),i=t[a];(o==null?void 0:o.value)!=null?n.push(o.id):i!=null&&n.push(i.id)}),n}const Ra=Symbol.for("vuetify:v-btn-toggle"),ni=G({...Ta(),...Ea()},"VBtnToggle");X()({name:"VBtnToggle",props:ni(),emits:{"update:modelValue":t=>!0},setup(t,l){let{slots:n}=l;const{isSelected:a,next:o,prev:i,select:u,selected:c}=za(t,Ra);return ee(()=>{const s=jl.filterProps(t);return e.createVNode(jl,e.mergeProps({class:["v-btn-toggle",t.class]},s,{style:t.style}),{default:()=>{var r;return[(r=n.default)==null?void 0:r.call(n,{isSelected:a,next:o,prev:i,select:u,selected:c})]}})}),{next:o,prev:i,select:u}}});const se=[String,Function,Object,Array],li=Symbol.for("vuetify:icons"),sn=G({icon:{type:se},tag:{type:String,required:!0}},"icon"),Ul=X()({name:"VComponentIcon",props:sn(),setup(t,l){let{slots:n}=l;return()=>{const a=t.icon;return e.createVNode(t.tag,null,{default:()=>{var o;return[t.icon?e.createVNode(a,null,null):(o=n.default)==null?void 0:o.call(n)]}})}}}),ai=Pt({name:"VSvgIcon",inheritAttrs:!1,props:sn(),setup(t,l){let{attrs:n}=l;return()=>e.createVNode(t.tag,e.mergeProps(n,{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(t.icon)?t.icon.map(a=>Array.isArray(a)?e.createVNode("path",{d:a[0],"fill-opacity":a[1]},null):e.createVNode("path",{d:a},null)):e.createVNode("path",{d:t.icon},null)])]})}});Pt({name:"VLigatureIcon",props:sn(),setup:t=>()=>e.createVNode(t.tag,null,{default:()=>[t.icon]})}),Pt({name:"VClassIcon",props:sn(),setup:t=>()=>e.createVNode(t.tag,{class:t.icon},null)});const oi=["x-small","small","default","large","x-large"],Mt=G({size:{type:[String,Number],default:"default"}},"size");function Wt(t){let l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Oe();return Qn(()=>{let n,a;return tn(oi,t.size)?n=`${l}--size-${t.size}`:t.size&&(a={width:J(t.size),height:J(t.size)}),{sizeClasses:n,sizeStyles:a}})}const ii=G({color:String,start:Boolean,end:Boolean,icon:se,...oe(),...Mt(),...Ae({tag:"i"}),...Ie()},"VIcon"),ue=X()({name:"VIcon",props:ii(),setup(t,l){let{attrs:n,slots:a}=l;const o=e.ref(),{themeClasses:i}=ke(t),{iconData:u}=(d=>{const f=e.inject(li);if(!f)throw new Error("Missing Vuetify Icons provide!");return{iconData:e.computed(()=>{var y;const v=e.unref(d);if(!v)return{component:Ul};let m=v;if(typeof m=="string"&&(m=m.trim(),m.startsWith("$")&&(m=(y=f.aliases)==null?void 0:y[m.slice(1)])),!m)throw new Error(`Could not find aliased icon "${v}"`);if(Array.isArray(m))return{component:ai,icon:m};if(typeof m!="string")return{component:Ul,icon:m};const g=Object.keys(f.sets).find(C=>typeof m=="string"&&m.startsWith(`${C}:`)),p=g?m.slice(g.length+1):m;return{component:f.sets[g??f.defaultSet].component,icon:p}})}})(e.computed(()=>o.value||t.icon)),{sizeClasses:c}=Wt(t),{textColorClasses:s,textColorStyles:r}=De(e.toRef(t,"color"));return ee(()=>{var f,v;const d=(f=a.default)==null?void 0:f.call(a);return d&&(o.value=(v=ma(d).filter(m=>m.type===e.Text&&m.children&&typeof m.children=="string")[0])==null?void 0:v.children),e.createVNode(u.value.component,{tag:t.tag,icon:u.value.icon,class:["v-icon","notranslate",i.value,c.value,s.value,{"v-icon--clickable":!!n.onClick,"v-icon--start":t.start,"v-icon--end":t.end},t.class],style:[c.value?void 0:{fontSize:J(t.size),height:J(t.size),width:J(t.size)},r.value,t.style],role:n.onClick?"button":void 0,"aria-hidden":!n.onClick},{default:()=>[d]})}),{}}});function Da(t,l){const n=e.ref(),a=e.shallowRef(!1);if(Zn){const o=new IntersectionObserver(i=>{t==null||t(i,o),a.value=!!i.find(u=>u.isIntersecting)},l);e.onBeforeUnmount(()=>{o.disconnect()}),e.watch(n,(i,u)=>{u&&(o.unobserve(u),a.value=!1),i&&o.observe(i)},{flush:"post"})}return{intersectionRef:n,isIntersecting:a}}const ri=G({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},...oe(),...Mt(),...Ae({tag:"div"}),...Ie()},"VProgressCircular"),$a=X()({name:"VProgressCircular",props:ri(),setup(t,l){let{slots:n}=l;const a=2*Math.PI*20,o=e.ref(),{themeClasses:i}=ke(t),{sizeClasses:u,sizeStyles:c}=Wt(t),{textColorClasses:s,textColorStyles:r}=De(e.toRef(t,"color")),{textColorClasses:d,textColorStyles:f}=De(e.toRef(t,"bgColor")),{intersectionRef:v,isIntersecting:m}=Da(),{resizeRef:g,contentRect:p}=ll(),y=e.computed(()=>Math.max(0,Math.min(100,parseFloat(t.modelValue)))),C=e.computed(()=>Number(t.width)),w=e.computed(()=>c.value?Number(t.size):p.value?p.value.width:Math.max(C.value,32)),P=e.computed(()=>20/(1-C.value/w.value)*2),M=e.computed(()=>C.value/w.value*P.value),E=e.computed(()=>J((100-y.value)/100*a));return e.watchEffect(()=>{v.value=o.value,g.value=o.value}),ee(()=>e.createVNode(t.tag,{ref:o,class:["v-progress-circular",{"v-progress-circular--indeterminate":!!t.indeterminate,"v-progress-circular--visible":m.value,"v-progress-circular--disable-shrink":t.indeterminate==="disable-shrink"},i.value,u.value,s.value,t.class],style:[c.value,r.value,t.style],role:"progressbar","aria-valuemin":"0","aria-valuemax":"100","aria-valuenow":t.indeterminate?void 0:y.value},{default:()=>[e.createVNode("svg",{style:{transform:`rotate(calc(-90deg + ${Number(t.rotate)}deg))`},xmlns:"http://www.w3.org/2000/svg",viewBox:`0 0 ${P.value} ${P.value}`},[e.createVNode("circle",{class:["v-progress-circular__underlay",d.value],style:f.value,fill:"transparent",cx:"50%",cy:"50%",r:20,"stroke-width":M.value,"stroke-dasharray":a,"stroke-dashoffset":0},null),e.createVNode("circle",{class:"v-progress-circular__overlay",fill:"transparent",cx:"50%",cy:"50%",r:20,"stroke-width":M.value,"stroke-dasharray":a,"stroke-dashoffset":E.value},null)]),n.default&&e.createVNode("div",{class:"v-progress-circular__content"},[n.default({value:y.value})])]})),{}}}),Hl={center:"center",top:"bottom",bottom:"top",left:"right",right:"left"},rl=G({location:String},"location");function sl(t){let l=arguments.length>1&&arguments[1]!==void 0&&arguments[1],n=arguments.length>2?arguments[2]:void 0;const{isRtl:a}=Rt();return{locationStyles:e.computed(()=>{if(!t.location)return{};const{side:i,align:u}=En(t.location.split(" ").length>1?t.location:`${t.location} center`,a.value);function c(r){return n?n(r):0}const s={};return i!=="center"&&(l?s[Hl[i]]=`calc(100% - ${c(i)}px)`:s[i]=0),u!=="center"?l?s[Hl[u]]=`calc(100% - ${c(u)}px)`:s[u]=0:(i==="center"?s.top=s.left="50%":s[{top:"left",bottom:"left",left:"top",right:"top"}[i]]="50%",s.transform={top:"translateX(-50%)",bottom:"translateX(-50%)",left:"translateY(-50%)",right:"translateY(-50%)",center:"translate(-50%, -50%)"}[i]),s})}}const si=G({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,...oe(),...rl({location:"top"}),...$e(),...Ae(),...Ie()},"VProgressLinear"),ci=X()({name:"VProgressLinear",props:si(),emits:{"update:modelValue":t=>!0},setup(t,l){let{slots:n}=l;const a=he(t,"modelValue"),{isRtl:o,rtlClasses:i}=Rt(),{themeClasses:u}=ke(t),{locationStyles:c}=sl(t),{textColorClasses:s,textColorStyles:r}=De(t,"color"),{backgroundColorClasses:d,backgroundColorStyles:f}=ot(e.computed(()=>t.bgColor||t.color)),{backgroundColorClasses:v,backgroundColorStyles:m}=ot(t,"color"),{roundedClasses:g}=Le(t),{intersectionRef:p,isIntersecting:y}=Da(),C=e.computed(()=>parseInt(t.max,10)),w=e.computed(()=>parseInt(t.height,10)),P=e.computed(()=>parseFloat(t.bufferValue)/C.value*100),M=e.computed(()=>parseFloat(a.value)/C.value*100),E=e.computed(()=>o.value!==t.reverse),N=e.computed(()=>t.indeterminate?"fade-transition":"slide-x-transition"),L=e.computed(()=>t.bgOpacity==null?t.bgOpacity:parseFloat(t.bgOpacity));function A(V){if(!p.value)return;const{left:k,right:b,width:I}=p.value.getBoundingClientRect(),B=E.value?I-V.clientX+(b-I):V.clientX-k;a.value=Math.round(B/I*C.value)}return ee(()=>e.createVNode(t.tag,{ref:p,class:["v-progress-linear",{"v-progress-linear--absolute":t.absolute,"v-progress-linear--active":t.active&&y.value,"v-progress-linear--reverse":E.value,"v-progress-linear--rounded":t.rounded,"v-progress-linear--rounded-bar":t.roundedBar,"v-progress-linear--striped":t.striped},g.value,u.value,i.value,t.class],style:[{bottom:t.location==="bottom"?0:void 0,top:t.location==="top"?0:void 0,height:t.active?J(w.value):0,"--v-progress-linear-height":J(w.value),...c.value},t.style],role:"progressbar","aria-hidden":t.active?"false":"true","aria-valuemin":"0","aria-valuemax":t.max,"aria-valuenow":t.indeterminate?void 0:M.value,onClick:t.clickable&&A},{default:()=>[t.stream&&e.createVNode("div",{key:"stream",class:["v-progress-linear__stream",s.value],style:{...r.value,[E.value?"left":"right"]:J(-w.value),borderTop:`${J(w.value/2)} dotted`,opacity:L.value,top:`calc(50% - ${J(w.value/4)})`,width:J(100-P.value,"%"),"--v-progress-linear-stream-to":J(w.value*(E.value?1:-1))}},null),e.createVNode("div",{class:["v-progress-linear__background",d.value],style:[f.value,{opacity:L.value,width:J(t.stream?P.value:100,"%")}]},null),e.createVNode(e.Transition,{name:N.value},{default:()=>[t.indeterminate?e.createVNode("div",{class:"v-progress-linear__indeterminate"},[["long","short"].map(V=>e.createVNode("div",{key:V,class:["v-progress-linear__indeterminate",V,v.value],style:m.value},null))]):e.createVNode("div",{class:["v-progress-linear__determinate",v.value],style:[m.value,{width:J(M.value,"%")}]},null)]}),n.default&&e.createVNode("div",{class:"v-progress-linear__content"},[n.default({value:M.value,buffer:P.value})])]})),{}}}),cl=G({loading:[Boolean,String]},"loader");function fn(t){let l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Oe();return{loaderClasses:e.computed(()=>({[`${l}--loading`]:t.loading}))}}function ul(t,l){var a;let{slots:n}=l;return e.createVNode("div",{class:`${t.name}__loader`},[((a=n.default)==null?void 0:a.call(n,{color:t.color,isActive:t.active}))||e.createVNode(ci,{absolute:t.absolute,active:t.active,color:t.color,height:"2",indeterminate:!0},null)])}const ui=["static","relative","fixed","absolute","sticky"],La=G({position:{type:String,validator:t=>ui.includes(t)}},"position");function Ma(t){let l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Oe();return{positionClasses:e.computed(()=>t.position?`${l}--${t.position}`:void 0)}}function mn(t,l){const n=e.resolveDynamicComponent("RouterLink"),a=e.computed(()=>!(!t.href&&!t.to)),o=e.computed(()=>(a==null?void 0:a.value)||Il(l,"click")||Il(t,"click"));if(typeof n=="string")return{isLink:a,isClickable:o,href:e.toRef(t,"href")};const i=t.to?n.useLink(t):void 0,u=function(){const c=Se("useRoute");return e.computed(()=>{var s;return(s=c==null?void 0:c.proxy)==null?void 0:s.$route})}();return{isLink:a,isClickable:o,route:i==null?void 0:i.route,navigate:i==null?void 0:i.navigate,isActive:i&&e.computed(()=>{var c,s,r;return t.exact?u.value?((c=i.isExactActive)==null?void 0:c.value)&&ct(i.route.value.query,u.value.query):(s=i.isExactActive)==null?void 0:s.value:(r=i.isActive)==null?void 0:r.value}),href:e.computed(()=>t.to?i==null?void 0:i.route.value.href:t.href)}}const yn=G({href:String,replace:Boolean,to:[String,Object],exact:Boolean},"router");let wn=!1;const On=Symbol("rippleStop"),di=80;function ql(t,l){t.style.transform=l,t.style.webkitTransform=l}function _n(t){return t.constructor.name==="TouchEvent"}function Wa(t){return t.constructor.name==="KeyboardEvent"}const cn={show(t,l){var m;let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(!((m=l==null?void 0:l._ripple)!=null&&m.enabled))return;const a=document.createElement("span"),o=document.createElement("span");a.appendChild(o),a.className="v-ripple__container",n.class&&(a.className+=` ${n.class}`);const{radius:i,scale:u,x:c,y:s,centerX:r,centerY:d}=function(g,p){var L;let y=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},C=0,w=0;if(!Wa(g)){const A=p.getBoundingClientRect(),V=_n(g)?g.touches[g.touches.length-1]:g;C=V.clientX-A.left,w=V.clientY-A.top}let P=0,M=.3;(L=p._ripple)!=null&&L.circle?(M=.15,P=p.clientWidth/2,P=y.center?P:P+Math.sqrt((C-P)**2+(w-P)**2)/4):P=Math.sqrt(p.clientWidth**2+p.clientHeight**2)/2;const E=(p.clientWidth-2*P)/2+"px",N=(p.clientHeight-2*P)/2+"px";return{radius:P,scale:M,x:y.center?E:C-P+"px",y:y.center?N:w-P+"px",centerX:E,centerY:N}}(t,l,n),f=2*i+"px";o.className="v-ripple__animation",o.style.width=f,o.style.height=f,l.appendChild(a);const v=window.getComputedStyle(l);v&&v.position==="static"&&(l.style.position="relative",l.dataset.previousPosition="static"),o.classList.add("v-ripple__animation--enter"),o.classList.add("v-ripple__animation--visible"),ql(o,`translate(${c}, ${s}) scale3d(${u},${u},${u})`),o.dataset.activated=String(performance.now()),setTimeout(()=>{o.classList.remove("v-ripple__animation--enter"),o.classList.add("v-ripple__animation--in"),ql(o,`translate(${r}, ${d}) scale3d(1,1,1)`)},0)},hide(t){var i;if(!((i=t==null?void 0:t._ripple)!=null&&i.enabled))return;const l=t.getElementsByClassName("v-ripple__animation");if(l.length===0)return;const n=l[l.length-1];if(n.dataset.isHiding)return;n.dataset.isHiding="true";const a=performance.now()-Number(n.dataset.activated),o=Math.max(250-a,0);setTimeout(()=>{n.classList.remove("v-ripple__animation--in"),n.classList.add("v-ripple__animation--out"),setTimeout(()=>{var u;t.getElementsByClassName("v-ripple__animation").length===1&&t.dataset.previousPosition&&(t.style.position=t.dataset.previousPosition,delete t.dataset.previousPosition),((u=n.parentNode)==null?void 0:u.parentNode)===t&&t.removeChild(n.parentNode)},300)},o)}};function ja(t){return t===void 0||!!t}function At(t){const l={},n=t.currentTarget;if(n!=null&&n._ripple&&!n._ripple.touched&&!t[On]){if(t[On]=!0,_n(t))n._ripple.touched=!0,n._ripple.isTouch=!0;else if(n._ripple.isTouch)return;if(l.center=n._ripple.centered||Wa(t),n._ripple.class&&(l.class=n._ripple.class),_n(t)){if(n._ripple.showTimerCommit)return;n._ripple.showTimerCommit=()=>{cn.show(t,n,l)},n._ripple.showTimer=window.setTimeout(()=>{var a;(a=n==null?void 0:n._ripple)!=null&&a.showTimerCommit&&(n._ripple.showTimerCommit(),n._ripple.showTimerCommit=null)},di)}else cn.show(t,n,l)}}function Yl(t){t[On]=!0}function Pe(t){const l=t.currentTarget;if(l!=null&&l._ripple){if(window.clearTimeout(l._ripple.showTimer),t.type==="touchend"&&l._ripple.showTimerCommit)return l._ripple.showTimerCommit(),l._ripple.showTimerCommit=null,void(l._ripple.showTimer=window.setTimeout(()=>{Pe(t)}));window.setTimeout(()=>{l._ripple&&(l._ripple.touched=!1)}),cn.hide(l)}}function Ga(t){const l=t.currentTarget;l!=null&&l._ripple&&(l._ripple.showTimerCommit&&(l._ripple.showTimerCommit=null),window.clearTimeout(l._ripple.showTimer))}let Nt=!1;function Ua(t){Nt||t.keyCode!==Cl.enter&&t.keyCode!==Cl.space||(Nt=!0,At(t))}function Ha(t){Nt=!1,Pe(t)}function qa(t){Nt&&(Nt=!1,Pe(t))}function Xl(t,l,n){const{value:a,modifiers:o}=l,i=ja(a);if(i||cn.hide(t),t._ripple=t._ripple??{},t._ripple.enabled=i,t._ripple.centered=o.center,t._ripple.circle=o.circle,An(a)&&a.class&&(t._ripple.class=a.class),i&&!n){if(o.stop)return t.addEventListener("touchstart",Yl,{passive:!0}),void t.addEventListener("mousedown",Yl);t.addEventListener("touchstart",At,{passive:!0}),t.addEventListener("touchend",Pe,{passive:!0}),t.addEventListener("touchmove",Ga,{passive:!0}),t.addEventListener("touchcancel",Pe),t.addEventListener("mousedown",At),t.addEventListener("mouseup",Pe),t.addEventListener("mouseleave",Pe),t.addEventListener("keydown",Ua),t.addEventListener("keyup",Ha),t.addEventListener("blur",qa),t.addEventListener("dragstart",Pe,{passive:!0})}else!i&&n&&Ya(t)}function Ya(t){t.removeEventListener("mousedown",At),t.removeEventListener("touchstart",At),t.removeEventListener("touchend",Pe),t.removeEventListener("touchmove",Ga),t.removeEventListener("touchcancel",Pe),t.removeEventListener("mouseup",Pe),t.removeEventListener("mouseleave",Pe),t.removeEventListener("keydown",Ua),t.removeEventListener("keyup",Ha),t.removeEventListener("dragstart",Pe),t.removeEventListener("blur",qa)}const jt={mounted:function(t,l){Xl(t,l,!1)},unmounted:function(t){delete t._ripple,Ya(t)},updated:function(t,l){l.value!==l.oldValue&&Xl(t,l,ja(l.oldValue))}},vi=G({active:{type:Boolean,default:void 0},symbol:{type:null,default:Ra},flat:Boolean,icon:[Boolean,String,Function,Object],prependIcon:se,appendIcon:se,block:Boolean,slim:Boolean,stacked:Boolean,ripple:{type:[Boolean,Object],default:!0},text:String,...dt(),...oe(),..._e(),...Je(),...ft(),...Oa(),...cl(),...rl(),...La(),...$e(),...yn(),...Mt(),...Ae({tag:"button"}),...Ie(),...Ue({variant:"elevated"})},"VBtn"),Kl=X()({name:"VBtn",directives:{Ripple:jt},props:vi(),emits:{"group:selected":t=>!0},setup(t,l){let{attrs:n,slots:a}=l;const{themeClasses:o}=ke(t),{borderClasses:i}=vt(t),{colorClasses:u,colorStyles:c,variantClasses:s}=Lt(t),{densityClasses:r}=Me(t),{dimensionStyles:d}=Ze(t),{elevationClasses:f}=mt(t),{loaderClasses:v}=fn(t),{locationStyles:m}=sl(t),{positionClasses:g}=Ma(t),{roundedClasses:p}=Le(t),{sizeClasses:y,sizeStyles:C}=Wt(t),w=_a(t,t.symbol,!1),P=mn(t,n),M=e.computed(()=>{var V;return t.active!==void 0?t.active:P.isLink.value?(V=P.isActive)==null?void 0:V.value:w==null?void 0:w.isSelected.value}),E=e.computed(()=>(w==null?void 0:w.disabled.value)||t.disabled),N=e.computed(()=>t.variant==="elevated"&&!(t.disabled||t.flat||t.border)),L=e.computed(()=>{if(t.value!==void 0&&typeof t.value!="symbol")return Object(t.value)===t.value?JSON.stringify(t.value,null,0):t.value});function A(V){var k;E.value||P.isLink.value&&(V.metaKey||V.ctrlKey||V.shiftKey||V.button!==0||n.target==="_blank")||((k=P.navigate)==null||k.call(P,V),w==null||w.toggle())}return function(V,k){e.watch(()=>{var b;return(b=V.isActive)==null?void 0:b.value},b=>{V.isLink.value&&b&&k&&e.nextTick(()=>{k(!0)})},{immediate:!0})}(P,w==null?void 0:w.select),ee(()=>{var $,R;const V=P.isLink.value?"a":t.tag,k=!(!t.prependIcon&&!a.prepend),b=!(!t.appendIcon&&!a.append),I=!(!t.icon||t.icon===!0),B=(w==null?void 0:w.isSelected.value)&&(!P.isLink.value||(($=P.isActive)==null?void 0:$.value))||!w||((R=P.isActive)==null?void 0:R.value);return e.withDirectives(e.createVNode(V,{type:V==="a"?void 0:"button",class:["v-btn",w==null?void 0:w.selectedClass.value,{"v-btn--active":M.value,"v-btn--block":t.block,"v-btn--disabled":E.value,"v-btn--elevated":N.value,"v-btn--flat":t.flat,"v-btn--icon":!!t.icon,"v-btn--loading":t.loading,"v-btn--slim":t.slim,"v-btn--stacked":t.stacked},o.value,i.value,B?u.value:void 0,r.value,f.value,v.value,g.value,p.value,y.value,s.value,t.class],style:[B?c.value:void 0,d.value,m.value,C.value,t.style],disabled:E.value||void 0,href:P.href.value,onClick:A,value:L.value},{default:()=>{var F;return[$t(!0,"v-btn"),!t.icon&&k&&e.createVNode("span",{key:"prepend",class:"v-btn__prepend"},[a.prepend?e.createVNode(Be,{key:"prepend-defaults",disabled:!t.prependIcon,defaults:{VIcon:{icon:t.prependIcon}}},a.prepend):e.createVNode(ue,{key:"prepend-icon",icon:t.prependIcon},null)]),e.createVNode("span",{class:"v-btn__content","data-no-activator":""},[!a.default&&I?e.createVNode(ue,{key:"content-icon",icon:t.icon},null):e.createVNode(Be,{key:"content-defaults",disabled:!I,defaults:{VIcon:{icon:t.icon}}},{default:()=>{var h;return[((h=a.default)==null?void 0:h.call(a))??t.text]}})]),!t.icon&&b&&e.createVNode("span",{key:"append",class:"v-btn__append"},[a.append?e.createVNode(Be,{key:"append-defaults",disabled:!t.appendIcon,defaults:{VIcon:{icon:t.appendIcon}}},a.append):e.createVNode(ue,{key:"append-icon",icon:t.appendIcon},null)]),!!t.loading&&e.createVNode("span",{key:"loader",class:"v-btn__loader"},[((F=a.loader)==null?void 0:F.call(a))??e.createVNode($a,{color:typeof t.loading=="boolean"?void 0:t.loading,indeterminate:!0,size:"23",width:"2"},null)])]}}),[[e.resolveDirective("ripple"),!E.value&&t.ripple,null]])}),{}}}),fi=G({text:String,clickable:Boolean,...oe(),...Ie()},"VLabel"),Xa=X()({name:"VLabel",props:fi(),setup(t,l){let{slots:n}=l;return ee(()=>{var a;return e.createVNode("label",{class:["v-label",{"v-label--clickable":t.clickable},t.class],style:t.style},[t.text,(a=n.default)==null?void 0:a.call(n)])}),{}}}),Ka=Symbol.for("vuetify:selection-control-group"),Ja=G({color:String,disabled:{type:Boolean,default:null},defaultsTarget:String,error:Boolean,id:String,inline:Boolean,falseIcon:se,trueIcon:se,ripple:{type:Boolean,default:!0},multiple:{type:Boolean,default:null},name:String,readonly:{type:Boolean,default:null},modelValue:null,type:String,valueComparator:{type:Function,default:ct},...oe(),..._e(),...Ie()},"SelectionControlGroup"),mi=G({...Ja({defaultsTarget:"VSelectionControl"})},"VSelectionControlGroup");X()({name:"VSelectionControlGroup",props:mi(),emits:{"update:modelValue":t=>!0},setup(t,l){let{slots:n}=l;const a=he(t,"modelValue"),o=Ne(),i=e.computed(()=>t.id||`v-selection-control-group-${o}`),u=e.computed(()=>t.name||i.value),c=new Set;return e.provide(Ka,{modelValue:a,forceUpdate:()=>{c.forEach(s=>s())},onForceUpdate:s=>{c.add(s),e.onScopeDispose(()=>{c.delete(s)})}}),ut({[t.defaultsTarget]:{color:e.toRef(t,"color"),disabled:e.toRef(t,"disabled"),density:e.toRef(t,"density"),error:e.toRef(t,"error"),inline:e.toRef(t,"inline"),modelValue:a,multiple:e.computed(()=>!!t.multiple||t.multiple==null&&Array.isArray(a.value)),name:u,falseIcon:e.toRef(t,"falseIcon"),trueIcon:e.toRef(t,"trueIcon"),readonly:e.toRef(t,"readonly"),ripple:e.toRef(t,"ripple"),type:e.toRef(t,"type"),valueComparator:e.toRef(t,"valueComparator")}}),ee(()=>{var s;return e.createVNode("div",{class:["v-selection-control-group",{"v-selection-control-group--inline":t.inline},t.class],style:t.style,role:t.type==="radio"?"radiogroup":void 0},[(s=n.default)==null?void 0:s.call(n)])}),{}}});const dl=G({label:String,baseColor:String,trueValue:null,falseValue:null,value:null,...oe(),...Ja()},"VSelectionControl"),un=X()({name:"VSelectionControl",directives:{Ripple:jt},inheritAttrs:!1,props:dl(),emits:{"update:modelValue":t=>!0},setup(t,l){let{attrs:n,slots:a}=l;const{group:o,densityClasses:i,icon:u,model:c,textColorClasses:s,textColorStyles:r,backgroundColorClasses:d,backgroundColorStyles:f,trueValue:v}=function(E){const N=e.inject(Ka,void 0),{densityClasses:L}=Me(E),A=he(E,"modelValue"),V=e.computed(()=>E.trueValue!==void 0?E.trueValue:E.value===void 0||E.value),k=e.computed(()=>E.falseValue!==void 0&&E.falseValue),b=e.computed(()=>!!E.multiple||E.multiple==null&&Array.isArray(A.value)),I=e.computed({get(){const S=N?N.modelValue.value:A.value;return b.value?Re(S).some(x=>E.valueComparator(x,V.value)):E.valueComparator(S,V.value)},set(S){if(E.readonly)return;const x=S?V.value:k.value;let _=x;b.value&&(_=S?[...Re(A.value),x]:Re(A.value).filter(z=>!E.valueComparator(z,V.value))),N?N.modelValue.value=_:A.value=_}}),{textColorClasses:B,textColorStyles:$}=De(e.computed(()=>{if(!E.error&&!E.disabled)return I.value?E.color:E.baseColor})),{backgroundColorClasses:R,backgroundColorStyles:F}=ot(e.computed(()=>!I.value||E.error||E.disabled?void 0:E.color)),h=e.computed(()=>I.value?E.trueIcon:E.falseIcon);return{group:N,densityClasses:L,trueValue:V,falseValue:k,model:I,textColorClasses:B,textColorStyles:$,backgroundColorClasses:R,backgroundColorStyles:F,icon:h}}(t),m=Ne(),g=e.computed(()=>t.id||`input-${m}`),p=e.shallowRef(!1),y=e.shallowRef(!1),C=e.ref();function w(E){p.value=!0,ln(E.target,":focus-visible")!==!1&&(y.value=!0)}function P(){p.value=!1,y.value=!1}function M(E){t.readonly&&o&&e.nextTick(()=>o.forceUpdate()),c.value=E.target.checked}return o==null||o.onForceUpdate(()=>{C.value&&(C.value.checked=c.value)}),ee(()=>{var V,k;const E=a.label?a.label({label:t.label,props:{for:g.value}}):t.label,[N,L]=_t(n),A=e.createVNode("input",e.mergeProps({ref:C,checked:c.value,disabled:!(!t.readonly&&!t.disabled),id:g.value,onBlur:P,onFocus:w,onInput:M,"aria-disabled":!(!t.readonly&&!t.disabled),type:t.type,value:v.value,name:t.name,"aria-checked":t.type==="checkbox"?c.value:void 0},L),null);return e.createVNode("div",e.mergeProps({class:["v-selection-control",{"v-selection-control--dirty":c.value,"v-selection-control--disabled":t.disabled,"v-selection-control--error":t.error,"v-selection-control--focused":p.value,"v-selection-control--focus-visible":y.value,"v-selection-control--inline":t.inline},i.value,t.class]},N,{style:t.style}),[e.createVNode("div",{class:["v-selection-control__wrapper",s.value],style:r.value},[(V=a.default)==null?void 0:V.call(a,{backgroundColorClasses:d,backgroundColorStyles:f}),e.withDirectives(e.createVNode("div",{class:["v-selection-control__input"]},[((k=a.input)==null?void 0:k.call(a,{model:c,textColorClasses:s,textColorStyles:r,backgroundColorClasses:d,backgroundColorStyles:f,inputNode:A,icon:u.value,props:{onFocus:w,onBlur:P,id:g.value}}))??e.createVNode(e.Fragment,null,[u.value&&e.createVNode(ue,{key:"icon",icon:u.value},null),A])]),[[e.resolveDirective("ripple"),t.ripple&&[!t.disabled&&!t.readonly,null,["center","circle"]]]])]),E&&e.createVNode(Xa,{for:g.value,clickable:!0,onClick:b=>b.stopPropagation()},{default:()=>[E]})])}),{isFocused:p,input:C}}}),Za=G({indeterminate:Boolean,indeterminateIcon:{type:se,default:"$checkboxIndeterminate"},...dl({falseIcon:"$checkboxOff",trueIcon:"$checkboxOn"})},"VCheckboxBtn"),zn=X()({name:"VCheckboxBtn",props:Za(),emits:{"update:modelValue":t=>!0,"update:indeterminate":t=>!0},setup(t,l){let{slots:n}=l;const a=he(t,"indeterminate"),o=he(t,"modelValue");function i(s){a.value&&(a.value=!1)}const u=e.computed(()=>a.value?t.indeterminateIcon:t.falseIcon),c=e.computed(()=>a.value?t.indeterminateIcon:t.trueIcon);return ee(()=>{const s=Ke(un.filterProps(t),["modelValue"]);return e.createVNode(un,e.mergeProps(s,{modelValue:o.value,"onUpdate:modelValue":[r=>o.value=r,i],class:["v-checkbox-btn",t.class],style:t.style,type:"checkbox",falseIcon:u.value,trueIcon:c.value,"aria-checked":a.value?"mixed":void 0}),n)}),{}}});function Qa(t){const{t:l}=al();return{InputIcon:function(n){let{name:a}=n;const o={prepend:"prependAction",prependInner:"prependAction",append:"appendAction",appendInner:"appendAction",clear:"clear"}[a],i=t[`onClick:${a}`],u=i&&o?l(`$vuetify.input.${o}`,t.label??""):void 0;return e.createVNode(ue,{icon:t[`${a}Icon`],"aria-label":u,onClick:i},null)}}}const yi=G({active:Boolean,color:String,messages:{type:[Array,String],default:()=>[]},...oe(),...Dt({transition:{component:Fa,leaveAbsolute:!0,group:!0}})},"VMessages"),gi=X()({name:"VMessages",props:yi(),setup(t,l){let{slots:n}=l;const a=e.computed(()=>Re(t.messages)),{textColorClasses:o,textColorStyles:i}=De(e.computed(()=>t.color));return ee(()=>e.createVNode(We,{transition:t.transition,tag:"div",class:["v-messages",o.value,t.class],style:[i.value,t.style],role:"alert","aria-live":"polite"},{default:()=>[t.active&&a.value.map((u,c)=>e.createVNode("div",{class:"v-messages__message",key:`${c}-${a.value}`},[n.message?n.message({message:u}):u]))]})),{}}}),eo=G({focused:Boolean,"onUpdate:focused":Ee()},"focus");function Gt(t){let l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Oe();const n=he(t,"focused");return{focusClasses:e.computed(()=>({[`${l}--focused`]:n.value})),isFocused:n,focus:function(){n.value=!0},blur:function(){n.value=!1}}}const pi=Symbol.for("vuetify:form");function to(){return e.inject(pi,null)}const hi=G({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,...eo()},"validation"),Ut=G({id:String,appendIcon:se,centerAffix:{type:Boolean,default:!0},prependIcon:se,hideDetails:[Boolean,String],hideSpinButtons:Boolean,hint:String,persistentHint:Boolean,messages:{type:[Array,String],default:()=>[]},direction:{type:String,default:"horizontal",validator:t=>["horizontal","vertical"].includes(t)},"onClick:prepend":Ee(),"onClick:append":Ee(),...oe(),..._e(),...hi()},"VInput"),je=X()({name:"VInput",props:{...Ut()},emits:{"update:modelValue":t=>!0},setup(t,l){let{attrs:n,slots:a,emit:o}=l;const{densityClasses:i}=Me(t),{rtlClasses:u}=Rt(),{InputIcon:c}=Qa(t),s=Ne(),r=e.computed(()=>t.id||`input-${s}`),d=e.computed(()=>`${r.value}-messages`),{errorMessages:f,isDirty:v,isDisabled:m,isReadonly:g,isPristine:p,isValid:y,isValidating:C,reset:w,resetValidation:P,validate:M,validationClasses:E}=function(A){let V=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Oe(),k=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Ne();const b=he(A,"modelValue"),I=e.computed(()=>A.validationValue===void 0?b.value:A.validationValue),B=to(),$=e.ref([]),R=e.shallowRef(!0),F=e.computed(()=>!(!Re(b.value===""?null:b.value).length&&!Re(I.value===""?null:I.value).length)),h=e.computed(()=>!!(A.disabled??(B==null?void 0:B.isDisabled.value))),S=e.computed(()=>!!(A.readonly??(B==null?void 0:B.isReadonly.value))),x=e.computed(()=>{var U;return(U=A.errorMessages)!=null&&U.length?Re(A.errorMessages).concat($.value).slice(0,Math.max(0,+A.maxErrors)):$.value}),_=e.computed(()=>{let U=(A.validateOn??(B==null?void 0:B.validateOn.value))||"input";U==="lazy"&&(U="input lazy");const Y=new Set((U==null?void 0:U.split(" "))??[]);return{blur:Y.has("blur")||Y.has("input"),input:Y.has("input"),submit:Y.has("submit"),lazy:Y.has("lazy")}}),z=e.computed(()=>{var U;return!A.error&&!((U=A.errorMessages)!=null&&U.length)&&(!A.rules.length||(R.value?!$.value.length&&!_.value.lazy||null:!$.value.length))}),O=e.shallowRef(!1),q=e.computed(()=>({[`${V}--error`]:z.value===!1,[`${V}--dirty`]:F.value,[`${V}--disabled`]:h.value,[`${V}--readonly`]:S.value})),T=e.computed(()=>A.name??e.unref(k));function W(){b.value=null,e.nextTick(D)}function D(){R.value=!0,_.value.lazy?$.value=[]:j(!0)}async function j(){let U=arguments.length>0&&arguments[0]!==void 0&&arguments[0];const Y=[];O.value=!0;for(const ne of A.rules){if(Y.length>=+(A.maxErrors??1))break;const re=typeof ne=="function"?ne:()=>ne,ie=await re(I.value);ie!==!0&&(ie===!1||typeof ie=="string"?Y.push(ie||""):console.warn(`${ie} is not a valid value. Rule functions must return boolean true or a string.`))}return $.value=Y,O.value=!1,R.value=U,$.value}return e.onBeforeMount(()=>{B==null||B.register({id:T.value,validate:j,reset:W,resetValidation:D})}),e.onBeforeUnmount(()=>{B==null||B.unregister(T.value)}),e.onMounted(async()=>{_.value.lazy||await j(!0),B==null||B.update(T.value,z.value,x.value)}),Ye(()=>_.value.input,()=>{e.watch(I,()=>{if(I.value!=null)j();else if(A.focused){const U=e.watch(()=>A.focused,Y=>{Y||j(),U()})}})}),Ye(()=>_.value.blur,()=>{e.watch(()=>A.focused,U=>{U||j()})}),e.watch(z,()=>{B==null||B.update(T.value,z.value,x.value)}),{errorMessages:x,isDirty:F,isDisabled:h,isReadonly:S,isPristine:R,isValid:z,isValidating:O,reset:W,resetValidation:D,validate:j,validationClasses:q}}(t,"v-input",r),N=e.computed(()=>({id:r,messagesId:d,isDirty:v,isDisabled:m,isReadonly:g,isPristine:p,isValid:y,isValidating:C,reset:w,resetValidation:P,validate:M})),L=e.computed(()=>{var A;return(A=t.errorMessages)!=null&&A.length||!p.value&&f.value.length?f.value:t.hint&&(t.persistentHint||t.focused)?t.hint:t.messages});return ee(()=>{var I,B,$,R;const A=!(!a.prepend&&!t.prependIcon),V=!(!a.append&&!t.appendIcon),k=L.value.length>0,b=!t.hideDetails||t.hideDetails==="auto"&&(k||!!a.details);return e.createVNode("div",{class:["v-input",`v-input--${t.direction}`,{"v-input--center-affix":t.centerAffix,"v-input--hide-spin-buttons":t.hideSpinButtons},i.value,u.value,E.value,t.class],style:t.style},[A&&e.createVNode("div",{key:"prepend",class:"v-input__prepend"},[(I=a.prepend)==null?void 0:I.call(a,N.value),t.prependIcon&&e.createVNode(c,{key:"prepend-icon",name:"prepend"},null)]),a.default&&e.createVNode("div",{class:"v-input__control"},[(B=a.default)==null?void 0:B.call(a,N.value)]),V&&e.createVNode("div",{key:"append",class:"v-input__append"},[t.appendIcon&&e.createVNode(c,{key:"append-icon",name:"append"},null),($=a.append)==null?void 0:$.call(a,N.value)]),b&&e.createVNode("div",{class:"v-input__details"},[e.createVNode(gi,{id:d.value,active:k,messages:L.value},{message:a.message}),(R=a.details)==null?void 0:R.call(a,N.value)])])}),{reset:w,resetValidation:P,validate:M,isValid:y,errorMessages:f}}}),Ci=G({...Ut(),...Ke(Za(),["inline"])},"VCheckbox"),bi=X()({name:"VCheckbox",inheritAttrs:!1,props:Ci(),emits:{"update:modelValue":t=>!0,"update:focused":t=>!0},setup(t,l){let{attrs:n,slots:a}=l;const o=he(t,"modelValue"),{isFocused:i,focus:u,blur:c}=Gt(t),s=Ne(),r=e.computed(()=>t.id||`checkbox-${s}`);return ee(()=>{const[d,f]=_t(n),v=je.filterProps(t),m=zn.filterProps(t);return e.createVNode(je,e.mergeProps({class:["v-checkbox",t.class]},d,v,{modelValue:o.value,"onUpdate:modelValue":g=>o.value=g,id:r.value,focused:i.value,style:t.style}),{...a,default:g=>{let{id:p,messagesId:y,isDisabled:C,isReadonly:w}=g;return e.createVNode(zn,e.mergeProps(m,{id:p.value,"aria-describedby":y.value,disabled:C.value,readonly:w.value},f,{modelValue:o.value,"onUpdate:modelValue":P=>o.value=P,onFocus:u,onBlur:c}),a)}})}),{}}}),Si=G({start:Boolean,end:Boolean,icon:se,image:String,text:String,...oe(),..._e(),...$e(),...Mt(),...Ae(),...Ie(),...Ue({variant:"flat"})},"VAvatar"),it=X()({name:"VAvatar",props:Si(),setup(t,l){let{slots:n}=l;const{themeClasses:a}=ke(t),{colorClasses:o,colorStyles:i,variantClasses:u}=Lt(t),{densityClasses:c}=Me(t),{roundedClasses:s}=Le(t),{sizeClasses:r,sizeStyles:d}=Wt(t);return ee(()=>e.createVNode(t.tag,{class:["v-avatar",{"v-avatar--start":t.start,"v-avatar--end":t.end},a.value,o.value,c.value,s.value,r.value,u.value,t.class],style:[i.value,d.value,t.style]},{default:()=>{var f;return[t.image?e.createVNode(Na,{key:"image",src:t.image,alt:"",cover:!0},null):t.icon?e.createVNode(ue,{key:"icon",icon:t.icon},null):((f=n.default)==null?void 0:f.call(n))??t.text,$t(!1,"v-avatar")]}})),{}}}),no=Symbol.for("vuetify:v-chip-group"),Vi=G({column:Boolean,filter:Boolean,valueComparator:{type:Function,default:ct},...oe(),...Ea({selectedClass:"v-chip--selected"}),...Ae(),...Ie(),...Ue({variant:"tonal"})},"VChipGroup");X()({name:"VChipGroup",props:Vi(),emits:{"update:modelValue":t=>!0},setup(t,l){let{slots:n}=l;const{themeClasses:a}=ke(t),{isSelected:o,select:i,next:u,prev:c,selected:s}=za(t,no);return ut({VChip:{color:e.toRef(t,"color"),disabled:e.toRef(t,"disabled"),filter:e.toRef(t,"filter"),variant:e.toRef(t,"variant")}}),ee(()=>e.createVNode(t.tag,{class:["v-chip-group",{"v-chip-group--column":t.column},a.value,t.class],style:t.style},{default:()=>{var r;return[(r=n.default)==null?void 0:r.call(n,{isSelected:o,select:i,next:u,prev:c,selected:s.value})]}})),{}}});const Ii=G({activeClass:String,appendAvatar:String,appendIcon:se,closable:Boolean,closeIcon:{type:se,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:se,ripple:{type:[Boolean,Object],default:!0},text:String,modelValue:{type:Boolean,default:!0},onClick:Ee(),onClickOnce:Ee(),...dt(),...oe(),..._e(),...ft(),...Oa(),...$e(),...yn(),...Mt(),...Ae({tag:"span"}),...Ie(),...Ue({variant:"tonal"})},"VChip"),Bi=X()({name:"VChip",directives:{Ripple:jt},props:Ii(),emits:{"click:close":t=>!0,"update:modelValue":t=>!0,"group:selected":t=>!0,click:t=>!0},setup(t,l){let{attrs:n,emit:a,slots:o}=l;const{t:i}=al(),{borderClasses:u}=vt(t),{colorClasses:c,colorStyles:s,variantClasses:r}=Lt(t),{densityClasses:d}=Me(t),{elevationClasses:f}=mt(t),{roundedClasses:v}=Le(t),{sizeClasses:m}=Wt(t),{themeClasses:g}=ke(t),p=he(t,"modelValue"),y=_a(t,no,!1),C=mn(t,n),w=e.computed(()=>t.link!==!1&&C.isLink.value),P=e.computed(()=>!t.disabled&&t.link!==!1&&(!!y||t.link||C.isClickable.value)),M=e.computed(()=>({"aria-label":i(t.closeLabel),onClick(L){L.stopPropagation(),p.value=!1,a("click:close",L)}}));function E(L){var A;a("click",L),P.value&&((A=C.navigate)==null||A.call(C,L),y==null||y.toggle())}function N(L){L.key!=="Enter"&&L.key!==" "||(L.preventDefault(),E(L))}return()=>{const L=C.isLink.value?"a":t.tag,A=!(!t.appendIcon&&!t.appendAvatar),V=!(!A&&!o.append),k=!(!o.close&&!t.closable),b=!(!o.filter&&!t.filter)&&y,I=!(!t.prependIcon&&!t.prependAvatar),B=!(!I&&!o.prepend),$=!y||y.isSelected.value;return p.value&&e.withDirectives(e.createVNode(L,{class:["v-chip",{"v-chip--disabled":t.disabled,"v-chip--label":t.label,"v-chip--link":P.value,"v-chip--filter":b,"v-chip--pill":t.pill},g.value,u.value,$?c.value:void 0,d.value,f.value,v.value,m.value,r.value,y==null?void 0:y.selectedClass.value,t.class],style:[$?s.value:void 0,t.style],disabled:t.disabled||void 0,draggable:t.draggable,href:C.href.value,tabindex:P.value?0:void 0,onClick:E,onKeydown:P.value&&!w.value&&N},{default:()=>{var R;return[$t(P.value,"v-chip"),b&&e.createVNode(Pa,{key:"filter"},{default:()=>[e.withDirectives(e.createVNode("div",{class:"v-chip__filter"},[o.filter?e.createVNode(Be,{key:"filter-defaults",disabled:!t.filterIcon,defaults:{VIcon:{icon:t.filterIcon}}},o.filter):e.createVNode(ue,{key:"filter-icon",icon:t.filterIcon},null)]),[[e.vShow,y.isSelected.value]])]}),B&&e.createVNode("div",{key:"prepend",class:"v-chip__prepend"},[o.prepend?e.createVNode(Be,{key:"prepend-defaults",disabled:!I,defaults:{VAvatar:{image:t.prependAvatar,start:!0},VIcon:{icon:t.prependIcon,start:!0}}},o.prepend):e.createVNode(e.Fragment,null,[t.prependIcon&&e.createVNode(ue,{key:"prepend-icon",icon:t.prependIcon,start:!0},null),t.prependAvatar&&e.createVNode(it,{key:"prepend-avatar",image:t.prependAvatar,start:!0},null)])]),e.createVNode("div",{class:"v-chip__content"},[((R=o.default)==null?void 0:R.call(o,{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:t.disabled}))??t.text]),V&&e.createVNode("div",{key:"append",class:"v-chip__append"},[o.append?e.createVNode(Be,{key:"append-defaults",disabled:!A,defaults:{VAvatar:{end:!0,image:t.appendAvatar},VIcon:{end:!0,icon:t.appendIcon}}},o.append):e.createVNode(e.Fragment,null,[t.appendIcon&&e.createVNode(ue,{key:"append-icon",end:!0,icon:t.appendIcon},null),t.appendAvatar&&e.createVNode(it,{key:"append-avatar",end:!0,image:t.appendAvatar},null)])]),k&&e.createVNode("div",e.mergeProps({key:"close",class:"v-chip__close"},M.value),[o.close?e.createVNode(Be,{key:"close-defaults",defaults:{VIcon:{icon:t.closeIcon,size:"x-small"}}},o.close):e.createVNode(ue,{key:"close-icon",icon:t.closeIcon,size:"x-small"},null)])]}}),[[e.resolveDirective("ripple"),P.value&&t.ripple,null]])}}}),Rn=Symbol.for("vuetify:list");function lo(){const t=e.inject(Rn,{hasPrepend:e.shallowRef(!1),updateHasPrepend:()=>null}),l={hasPrepend:e.shallowRef(!1),updateHasPrepend:n=>{n&&(l.hasPrepend.value=n)}};return e.provide(Rn,l),t}function ao(){return e.inject(Rn,null)}const wi={open:t=>{let{id:l,value:n,opened:a,parents:o}=t;if(n){const i=new Set;i.add(l);let u=o.get(l);for(;u!=null;)i.add(u),u=o.get(u);return i}return a.delete(l),a},select:()=>null},oo={open:t=>{let{id:l,value:n,opened:a,parents:o}=t;if(n){let i=o.get(l);for(a.add(l);i!=null&&i!==l;)a.add(i),i=o.get(i);return a}return a.delete(l),a},select:()=>null},ki={open:oo.open,select:t=>{let{id:l,value:n,opened:a,parents:o}=t;if(!n)return a;const i=[];let u=o.get(l);for(;u!=null;)i.push(u),u=o.get(u);return new Set(i)}},Dn=t=>{const l={select:n=>{let{id:a,value:o,selected:i}=n;if(a=e.toRaw(a),t&&!o){const u=Array.from(i.entries()).reduce((c,s)=>{let[r,d]=s;return d==="on"?[...c,r]:c},[]);if(u.length===1&&u[0]===a)return i}return i.set(a,o?"on":"off"),i},in:(n,a,o)=>{let i=new Map;for(const u of n||[])i=l.select({id:u,value:!0,selected:new Map(i),children:a,parents:o});return i},out:n=>{const a=[];for(const[o,i]of n.entries())i==="on"&&a.push(o);return a}};return l},Jl=t=>{const l=Dn(t);return{select:n=>{let{selected:a,id:o,...i}=n;o=e.toRaw(o);const u=a.has(o)?new Map([[o,a.get(o)]]):new Map;return l.select({...i,id:o,selected:u})},in:(n,a,o)=>{let i=new Map;return n!=null&&n.length&&(i=l.in(n.slice(0,1),a,o)),i},out:(n,a,o)=>l.out(n,a,o)}},Tt=Symbol.for("vuetify:nested"),io={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([])}},xi=G({selectStrategy:[String,Function],openStrategy:[String,Object],opened:Array,selected:Array,mandatory:Boolean},"nested"),Fi=t=>{let l=!1;const n=e.ref(new Map),a=e.ref(new Map),o=he(t,"opened",t.opened,f=>new Set(f),f=>[...f.values()]),i=e.computed(()=>{if(typeof t.selectStrategy=="object")return t.selectStrategy;switch(t.selectStrategy){case"single-leaf":return(f=>{const v=Jl(f);return{select:m=>{let{id:g,selected:p,children:y,...C}=m;return g=e.toRaw(g),y.has(g)?p:v.select({id:g,selected:p,children:y,...C})},in:v.in,out:v.out}})(t.mandatory);case"leaf":return(f=>{const v=Dn(f);return{select:m=>{let{id:g,selected:p,children:y,...C}=m;return g=e.toRaw(g),y.has(g)?p:v.select({id:g,selected:p,children:y,...C})},in:v.in,out:v.out}})(t.mandatory);case"independent":return Dn(t.mandatory);case"single-independent":return Jl(t.mandatory);default:return(f=>{const v={select:m=>{let{id:g,value:p,selected:y,children:C,parents:w}=m;g=e.toRaw(g);const P=new Map(y),M=[g];for(;M.length;){const N=M.shift();y.set(N,p?"on":"off"),C.has(N)&&M.push(...C.get(N))}let E=w.get(g);for(;E;){const N=C.get(E),L=N.every(V=>y.get(V)==="on"),A=N.every(V=>!y.has(V)||y.get(V)==="off");y.set(E,L?"on":A?"off":"indeterminate"),E=w.get(E)}return f&&!p&&Array.from(y.entries()).reduce((L,A)=>{let[V,k]=A;return k==="on"?[...L,V]:L},[]).length===0?P:y},in:(m,g,p)=>{let y=new Map;for(const C of m||[])y=v.select({id:C,value:!0,selected:new Map(y),children:g,parents:p});return y},out:(m,g)=>{const p=[];for(const[y,C]of m.entries())C!=="on"||g.has(y)||p.push(y);return p}};return v})(t.mandatory)}}),u=e.computed(()=>{if(typeof t.openStrategy=="object")return t.openStrategy;switch(t.openStrategy){case"list":return ki;case"single":return wi;default:return oo}}),c=he(t,"selected",t.selected,f=>i.value.in(f,n.value,a.value),f=>i.value.out(f,n.value,a.value));function s(f){const v=[];let m=f;for(;m!=null;)v.unshift(m),m=a.value.get(m);return v}e.onBeforeUnmount(()=>{l=!0});const r=Se("nested"),d={id:e.shallowRef(),root:{opened:o,selected:c,selectedValues:e.computed(()=>{const f=[];for(const[v,m]of c.value.entries())m==="on"&&f.push(v);return f}),register:(f,v,m)=>{v&&f!==v&&a.value.set(f,v),m&&n.value.set(f,[]),v!=null&&n.value.set(v,[...n.value.get(v)||[],f])},unregister:f=>{if(l)return;n.value.delete(f);const v=a.value.get(f);if(v){const m=n.value.get(v)??[];n.value.set(v,m.filter(g=>g!==f))}a.value.delete(f),o.value.delete(f)},open:(f,v,m)=>{r.emit("click:open",{id:f,value:v,path:s(f),event:m});const g=u.value.open({id:f,value:v,opened:new Set(o.value),children:n.value,parents:a.value,event:m});g&&(o.value=g)},openOnSelect:(f,v,m)=>{const g=u.value.select({id:f,value:v,selected:new Map(c.value),opened:new Set(o.value),children:n.value,parents:a.value,event:m});g&&(o.value=g)},select:(f,v,m)=>{r.emit("click:select",{id:f,value:v,path:s(f),event:m});const g=i.value.select({id:f,value:v,selected:new Map(c.value),children:n.value,parents:a.value,event:m});g&&(c.value=g),d.root.openOnSelect(f,v,m)},children:n,parents:a}};return e.provide(Tt,d),d.root},ro=(t,l)=>{const n=e.inject(Tt,io),a=Symbol(Ne()),o=e.computed(()=>t.value!==void 0?t.value:a),i={...n,id:o,open:(u,c)=>n.root.open(o.value,u,c),openOnSelect:(u,c)=>n.root.openOnSelect(o.value,u,c),isOpen:e.computed(()=>n.root.opened.value.has(o.value)),parent:e.computed(()=>n.root.parents.value.get(o.value)),select:(u,c)=>n.root.select(o.value,u,c),isSelected:e.computed(()=>n.root.selected.value.get(e.toRaw(o.value))==="on"),isIndeterminate:e.computed(()=>n.root.selected.value.get(o.value)==="indeterminate"),isLeaf:e.computed(()=>!n.root.children.value.get(o.value)),isGroupActivator:n.isGroupActivator};return!n.isGroupActivator&&n.root.register(o.value,n.id.value,l),e.onBeforeUnmount(()=>{!n.isGroupActivator&&n.root.unregister(o.value)}),l&&e.provide(Tt,i),i},Pi=Pt({name:"VListGroupActivator",setup(t,l){let{slots:n}=l;return(()=>{const a=e.inject(Tt,io);e.provide(Tt,{...a,isGroupActivator:!0})})(),()=>{var a;return(a=n.default)==null?void 0:a.call(n)}}}),Ai=G({activeColor:String,baseColor:String,color:String,collapseIcon:{type:se,default:"$collapse"},expandIcon:{type:se,default:"$expand"},prependIcon:se,appendIcon:se,fluid:Boolean,subgroup:Boolean,title:String,value:null,...oe(),...Ae()},"VListGroup"),Zl=X()({name:"VListGroup",props:Ai(),setup(t,l){let{slots:n}=l;const{isOpen:a,open:o,id:i}=ro(e.toRef(t,"value"),!0),u=e.computed(()=>`v-list-group--id-${String(i.value)}`),c=ao(),{isBooted:s}=function(){const m=e.shallowRef(!1);return e.onMounted(()=>{window.requestAnimationFrame(()=>{m.value=!0})}),{ssrBootStyles:e.computed(()=>m.value?void 0:{transition:"none !important"}),isBooted:e.readonly(m)}}();function r(m){o(!a.value,m)}const d=e.computed(()=>({onClick:r,class:"v-list-group__header",id:u.value})),f=e.computed(()=>a.value?t.collapseIcon:t.expandIcon),v=e.computed(()=>({VListItem:{active:a.value,activeColor:t.activeColor,baseColor:t.baseColor,color:t.color,prependIcon:t.prependIcon||t.subgroup&&f.value,appendIcon:t.appendIcon||!t.subgroup&&f.value,title:t.title,value:t.value}}));return ee(()=>e.createVNode(t.tag,{class:["v-list-group",{"v-list-group--prepend":c==null?void 0:c.hasPrepend.value,"v-list-group--fluid":t.fluid,"v-list-group--subgroup":t.subgroup,"v-list-group--open":a.value},t.class],style:t.style},{default:()=>[n.activator&&e.createVNode(Be,{defaults:v.value},{default:()=>[e.createVNode(Pi,null,{default:()=>[n.activator({props:d.value,isOpen:a.value})]})]}),e.createVNode(We,{transition:{component:Jo},disabled:!s.value},{default:()=>{var m;return[e.withDirectives(e.createVNode("div",{class:"v-list-group__items",role:"group","aria-labelledby":u.value},[(m=n.default)==null?void 0:m.call(n)]),[[e.vShow,a.value]])]}})]})),{}}}),Ni=zt("v-list-item-subtitle"),Ti=zt("v-list-item-title"),Ei=G({active:{type:Boolean,default:void 0},activeClass:String,activeColor:String,appendAvatar:String,appendIcon:se,baseColor:String,disabled:Boolean,lines:String,link:{type:Boolean,default:void 0},nav:Boolean,prependAvatar:String,prependIcon:se,ripple:{type:[Boolean,Object],default:!0},slim:Boolean,subtitle:[String,Number],title:[String,Number],value:null,onClick:Ee(),onClickOnce:Ee(),...dt(),...oe(),..._e(),...Je(),...ft(),...$e(),...yn(),...Ae(),...Ie(),...Ue({variant:"text"})},"VListItem"),dn=X()({name:"VListItem",directives:{Ripple:jt},props:Ei(),emits:{click:t=>!0},setup(t,l){let{attrs:n,slots:a,emit:o}=l;const i=mn(t,n),u=e.computed(()=>t.value===void 0?i.href.value:t.value),{select:c,isSelected:s,isIndeterminate:r,isGroupActivator:d,root:f,parent:v,openOnSelect:m}=ro(u,!1),g=ao(),p=e.computed(()=>{var S;return t.active!==!1&&(t.active||((S=i.isActive)==null?void 0:S.value)||s.value)}),y=e.computed(()=>t.link!==!1&&i.isLink.value),C=e.computed(()=>!t.disabled&&t.link!==!1&&(t.link||i.isClickable.value||t.value!=null&&!!g)),w=e.computed(()=>t.rounded||t.nav),P=e.computed(()=>t.color??t.activeColor),M=e.computed(()=>({color:p.value?P.value??t.baseColor:t.baseColor,variant:t.variant}));e.watch(()=>{var S;return(S=i.isActive)==null?void 0:S.value},S=>{S&&v.value!=null&&f.open(v.value,!0),S&&m(S)},{immediate:!0});const{themeClasses:E}=ke(t),{borderClasses:N}=vt(t),{colorClasses:L,colorStyles:A,variantClasses:V}=Lt(M),{densityClasses:k}=Me(t),{dimensionStyles:b}=Ze(t),{elevationClasses:I}=mt(t),{roundedClasses:B}=Le(w),$=e.computed(()=>t.lines?`v-list-item--${t.lines}-line`:void 0),R=e.computed(()=>({isActive:p.value,select:c,isSelected:s.value,isIndeterminate:r.value}));function F(S){var x;o("click",S),!d&&C.value&&((x=i.navigate)==null||x.call(i,S),t.value!=null&&c(!s.value,S))}function h(S){S.key!=="Enter"&&S.key!==" "||(S.preventDefault(),F(S))}return ee(()=>{const S=y.value?"a":t.tag,x=a.title||t.title!=null,_=a.subtitle||t.subtitle!=null,z=!(!t.appendAvatar&&!t.appendIcon),O=!(!z&&!a.append),q=!(!t.prependAvatar&&!t.prependIcon),T=!(!q&&!a.prepend);var W,D;return g==null||g.updateHasPrepend(T),t.activeColor&&(W="active-color",D=["color","base-color"],D=Array.isArray(D)?D.slice(0,-1).map(j=>`'${j}'`).join(", ")+` or '${D.at(-1)}'`:`'${D}'`,e.warn(`[Vuetify UPGRADE] '${W}' is deprecated, use ${D} instead.`)),e.withDirectives(e.createVNode(S,{class:["v-list-item",{"v-list-item--active":p.value,"v-list-item--disabled":t.disabled,"v-list-item--link":C.value,"v-list-item--nav":t.nav,"v-list-item--prepend":!T&&(g==null?void 0:g.hasPrepend.value),"v-list-item--slim":t.slim,[`${t.activeClass}`]:t.activeClass&&p.value},E.value,N.value,L.value,k.value,I.value,$.value,B.value,V.value,t.class],style:[A.value,b.value,t.style],href:i.href.value,tabindex:C.value?g?-2:0:void 0,onClick:F,onKeydown:C.value&&!y.value&&h},{default:()=>{var j;return[$t(C.value||p.value,"v-list-item"),T&&e.createVNode("div",{key:"prepend",class:"v-list-item__prepend"},[a.prepend?e.createVNode(Be,{key:"prepend-defaults",disabled:!q,defaults:{VAvatar:{density:t.density,image:t.prependAvatar},VIcon:{density:t.density,icon:t.prependIcon},VListItemAction:{start:!0}}},{default:()=>{var U;return[(U=a.prepend)==null?void 0:U.call(a,R.value)]}}):e.createVNode(e.Fragment,null,[t.prependAvatar&&e.createVNode(it,{key:"prepend-avatar",density:t.density,image:t.prependAvatar},null),t.prependIcon&&e.createVNode(ue,{key:"prepend-icon",density:t.density,icon:t.prependIcon},null)]),e.createVNode("div",{class:"v-list-item__spacer"},null)]),e.createVNode("div",{class:"v-list-item__content","data-no-activator":""},[x&&e.createVNode(Ti,{key:"title"},{default:()=>{var U;return[((U=a.title)==null?void 0:U.call(a,{title:t.title}))??t.title]}}),_&&e.createVNode(Ni,{key:"subtitle"},{default:()=>{var U;return[((U=a.subtitle)==null?void 0:U.call(a,{subtitle:t.subtitle}))??t.subtitle]}}),(j=a.default)==null?void 0:j.call(a,R.value)]),O&&e.createVNode("div",{key:"append",class:"v-list-item__append"},[a.append?e.createVNode(Be,{key:"append-defaults",disabled:!z,defaults:{VAvatar:{density:t.density,image:t.appendAvatar},VIcon:{density:t.density,icon:t.appendIcon},VListItemAction:{end:!0}}},{default:()=>{var U;return[(U=a.append)==null?void 0:U.call(a,R.value)]}}):e.createVNode(e.Fragment,null,[t.appendIcon&&e.createVNode(ue,{key:"append-icon",density:t.density,icon:t.appendIcon},null),t.appendAvatar&&e.createVNode(it,{key:"append-avatar",density:t.density,image:t.appendAvatar},null)]),e.createVNode("div",{class:"v-list-item__spacer"},null)])]}}),[[e.resolveDirective("ripple"),C.value&&t.ripple]])}),{}}}),Oi=G({color:String,inset:Boolean,sticky:Boolean,title:String,...oe(),...Ae()},"VListSubheader"),_i=X()({name:"VListSubheader",props:Oi(),setup(t,l){let{slots:n}=l;const{textColorClasses:a,textColorStyles:o}=De(e.toRef(t,"color"));return ee(()=>{const i=!(!n.default&&!t.title);return e.createVNode(t.tag,{class:["v-list-subheader",{"v-list-subheader--inset":t.inset,"v-list-subheader--sticky":t.sticky},a.value,t.class],style:[{textColorStyles:o},t.style]},{default:()=>{var u;return[i&&e.createVNode("div",{class:"v-list-subheader__text"},[((u=n.default)==null?void 0:u.call(n))??t.title])]}})}),{}}}),zi=G({color:String,inset:Boolean,length:[Number,String],thickness:[Number,String],vertical:Boolean,...oe(),...Ie()},"VDivider"),Ri=X()({name:"VDivider",props:zi(),setup(t,l){let{attrs:n}=l;const{themeClasses:a}=ke(t),{textColorClasses:o,textColorStyles:i}=De(e.toRef(t,"color")),u=e.computed(()=>{const c={};return t.length&&(c[t.vertical?"maxHeight":"maxWidth"]=J(t.length)),t.thickness&&(c[t.vertical?"borderRightWidth":"borderTopWidth"]=J(t.thickness)),c});return ee(()=>e.createVNode("hr",{class:[{"v-divider":!0,"v-divider--inset":t.inset,"v-divider--vertical":t.vertical},a.value,o.value,t.class],style:[u.value,i.value,t.style],"aria-orientation":n.role&&n.role!=="separator"?void 0:t.vertical?"vertical":"horizontal",role:`${n.role||"separator"}`},null)),{}}}),Di=G({items:Array,returnObject:Boolean},"VListChildren"),so=X()({name:"VListChildren",props:Di(),setup(t,l){let{slots:n}=l;return lo(),()=>{var a,o;return((a=n.default)==null?void 0:a.call(n))??((o=t.items)==null?void 0:o.map(i=>{var v,m;let{children:u,props:c,type:s,raw:r}=i;if(s==="divider")return((v=n.divider)==null?void 0:v.call(n,{props:c}))??e.createVNode(Ri,c,null);if(s==="subheader")return((m=n.subheader)==null?void 0:m.call(n,{props:c}))??e.createVNode(_i,c,null);const d={subtitle:n.subtitle?g=>{var p;return(p=n.subtitle)==null?void 0:p.call(n,{...g,item:r})}:void 0,prepend:n.prepend?g=>{var p;return(p=n.prepend)==null?void 0:p.call(n,{...g,item:r})}:void 0,append:n.append?g=>{var p;return(p=n.append)==null?void 0:p.call(n,{...g,item:r})}:void 0,title:n.title?g=>{var p;return(p=n.title)==null?void 0:p.call(n,{...g,item:r})}:void 0},f=Zl.filterProps(c);return u?e.createVNode(Zl,e.mergeProps({value:c==null?void 0:c.value},f),{activator:g=>{let{props:p}=g;const y={...c,...p,value:t.returnObject?r:c.value};return n.header?n.header({props:y}):e.createVNode(dn,y,d)},default:()=>e.createVNode(so,{items:u},n)}):n.item?n.item({props:c}):e.createVNode(dn,e.mergeProps(c,{value:t.returnObject?r:c.value}),d)}))}}}),co=G({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:ct}},"list-items");function $n(t,l){const n=ze(l,t.itemTitle,l),a=ze(l,t.itemValue,n),o=ze(l,t.itemChildren),i={title:n,value:a,...t.itemProps===!0?typeof l!="object"||l==null||Array.isArray(l)?void 0:"children"in l?Ke(l,["children"]):l:ze(l,t.itemProps)};return{title:String(i.title??""),value:i.value,props:i,children:Array.isArray(o)?uo(t,o):void 0,raw:l}}function uo(t,l){const n=[];for(const a of l)n.push($n(t,a));return n}function $i(t,l){const n=ze(l,t.itemType,"item"),a=function(c){return typeof c=="string"||typeof c=="number"||typeof c=="boolean"}(l)?l:ze(l,t.itemTitle),o=ze(l,t.itemValue,void 0),i=ze(l,t.itemChildren),u={title:a,value:o,...t.itemProps===!0?Ke(l,["children"]):ze(l,t.itemProps)};return{type:n,title:u.title,value:u.value,props:u,children:n==="item"&&i?vo(t,i):void 0,raw:l}}function vo(t,l){const n=[];for(const a of l)n.push($i(t,a));return n}const Li=G({baseColor:String,activeColor:String,activeClass:String,bgColor:String,disabled:Boolean,lines:{type:[Boolean,String],default:"one"},slim:Boolean,nav:Boolean,...xi({selectStrategy:"single-leaf",openStrategy:"list"}),...dt(),...oe(),..._e(),...Je(),...ft(),itemType:{type:String,default:"type"},...co(),...$e(),...Ae(),...Ie(),...Ue({variant:"text"})},"VList"),Mi=X()({name:"VList",props:Li(),emits:{"update:selected":t=>!0,"update:opened":t=>!0,"click:open":t=>!0,"click:select":t=>!0},setup(t,l){let{slots:n}=l;const{items:a}=function(V){return{items:e.computed(()=>vo(V,V.items))}}(t),{themeClasses:o}=ke(t),{backgroundColorClasses:i,backgroundColorStyles:u}=ot(e.toRef(t,"bgColor")),{borderClasses:c}=vt(t),{densityClasses:s}=Me(t),{dimensionStyles:r}=Ze(t),{elevationClasses:d}=mt(t),{roundedClasses:f}=Le(t),{open:v,select:m}=Fi(t),g=e.computed(()=>t.lines?`v-list--${t.lines}-line`:void 0),p=e.toRef(t,"activeColor"),y=e.toRef(t,"baseColor"),C=e.toRef(t,"color");lo(),ut({VListGroup:{activeColor:p,baseColor:y,color:C},VListItem:{activeClass:e.toRef(t,"activeClass"),activeColor:p,baseColor:y,color:C,density:e.toRef(t,"density"),disabled:e.toRef(t,"disabled"),lines:e.toRef(t,"lines"),nav:e.toRef(t,"nav"),slim:e.toRef(t,"slim"),variant:e.toRef(t,"variant")}});const w=e.shallowRef(!1),P=e.ref();function M(V){w.value=!0}function E(V){w.value=!1}function N(V){var k;w.value||V.relatedTarget&&((k=P.value)!=null&&k.contains(V.relatedTarget))||A()}function L(V){if(P.value){if(V.key==="ArrowDown")A("next");else if(V.key==="ArrowUp")A("prev");else if(V.key==="Home")A("first");else{if(V.key!=="End")return;A("last")}V.preventDefault()}}function A(V){if(P.value)return nn(P.value,V)}return ee(()=>e.createVNode(t.tag,{ref:P,class:["v-list",{"v-list--disabled":t.disabled,"v-list--nav":t.nav},o.value,i.value,c.value,s.value,d.value,g.value,f.value,t.class],style:[u.value,r.value,t.style],tabindex:t.disabled||w.value?-1:0,role:"listbox","aria-activedescendant":void 0,onFocusin:M,onFocusout:E,onFocus:N,onKeydown:L},{default:()=>[e.createVNode(so,{items:a.value,returnObject:t.returnObject},n)]})),{open:v,select:m,focus:A}}});function kn(t,l){return{x:t.x+l.x,y:t.y+l.y}}function Ql(t,l){if(t.side==="top"||t.side==="bottom"){const{side:n,align:a}=t;return kn({x:a==="left"?0:a==="center"?l.width/2:a==="right"?l.width:a,y:n==="top"?0:n==="bottom"?l.height:n},l)}if(t.side==="left"||t.side==="right"){const{side:n,align:a}=t;return kn({x:n==="left"?0:n==="right"?l.width:n,y:a==="top"?0:a==="center"?l.height/2:a==="bottom"?l.height:a},l)}return kn({x:l.width/2,y:l.height/2},l)}const fo={static:function(){},connected:function(t,l,n){(Array.isArray(t.target.value)||function(m){for(;m;){if(window.getComputedStyle(m).position==="fixed")return!0;m=m.offsetParent}return!1}(t.target.value))&&Object.assign(n.value,{position:"fixed",top:0,[t.isRtl.value?"right":"left"]:0});const{preferredAnchor:a,preferredOrigin:o}=Qn(()=>{const m=En(l.location,t.isRtl.value),g=l.origin==="overlap"?m:l.origin==="auto"?Vn(m):En(l.origin,t.isRtl.value);return m.side===g.side&&m.align===In(g).align?{preferredAnchor:wl(m),preferredOrigin:wl(g)}:{preferredAnchor:m,preferredOrigin:g}}),[i,u,c,s]=["minWidth","minHeight","maxWidth","maxHeight"].map(m=>e.computed(()=>{const g=parseFloat(l[m]);return isNaN(g)?1/0:g})),r=e.computed(()=>{if(Array.isArray(l.offset))return l.offset;if(typeof l.offset=="string"){const m=l.offset.split(" ").map(parseFloat);return m.length<2&&m.push(0),m}return typeof l.offset=="number"?[l.offset,0]:[0,0]});let d=!1;const f=new ResizeObserver(()=>{d&&v()});function v(){if(d=!1,requestAnimationFrame(()=>{requestAnimationFrame(()=>d=!0)}),!t.target.value||!t.contentEl.value)return;const m=Ca(t.target.value),g=function(k,b){b?k.style.removeProperty("left"):k.style.removeProperty("right");const I=el(k);return b?I.x+=parseFloat(k.style.right||0):I.x-=parseFloat(k.style.left||0),I.y-=parseFloat(k.style.top||0),I}(t.contentEl.value,t.isRtl.value),p=rn(t.contentEl.value);p.length||(p.push(document.documentElement),t.contentEl.value.style.top&&t.contentEl.value.style.left||(g.x-=parseFloat(document.documentElement.style.getPropertyValue("--v-body-scroll-x")||0),g.y-=parseFloat(document.documentElement.style.getPropertyValue("--v-body-scroll-y")||0)));const y=p.reduce((k,b)=>{const I=b.getBoundingClientRect(),B=new qe({x:b===document.documentElement?0:I.x,y:b===document.documentElement?0:I.y,width:b.clientWidth,height:b.clientHeight});return k?new qe({x:Math.max(k.left,B.left),y:Math.max(k.top,B.top),width:Math.min(k.right,B.right)-Math.max(k.left,B.left),height:Math.min(k.bottom,B.bottom)-Math.max(k.top,B.top)}):B},void 0);y.x+=12,y.y+=12,y.width-=24,y.height-=24;let C={anchor:a.value,origin:o.value};function w(k){const b=new qe(g),I=Ql(k.anchor,m),B=Ql(k.origin,b);let{x:$,y:R}=(h=B,{x:(F=I).x-h.x,y:F.y-h.y});var F,h;switch(k.anchor.side){case"top":R-=r.value[0];break;case"bottom":R+=r.value[0];break;case"left":$-=r.value[0];break;case"right":$+=r.value[0]}switch(k.anchor.align){case"top":R-=r.value[1];break;case"bottom":R+=r.value[1];break;case"left":$-=r.value[1];break;case"right":$+=r.value[1]}return b.x+=$,b.y+=R,b.width=Math.min(b.width,c.value),b.height=Math.min(b.height,s.value),{overflows:xl(b,y),x:$,y:R}}let P=0,M=0;const E={x:0,y:0},N={x:!1,y:!1};let L=-1;for(;;){if(L++>10){A="Infinite loop detected in connectedLocationStrategy",e.warn(`Vuetify error: ${A}`);break}const{x:k,y:b,overflows:I}=w(C);P+=k,M+=b,g.x+=k,g.y+=b;{const B=kl(C.anchor),$=I.x.before||I.x.after,R=I.y.before||I.y.after;let F=!1;if(["x","y"].forEach(h=>{if(h==="x"&&$&&!N.x||h==="y"&&R&&!N.y){const S={anchor:{...C.anchor},origin:{...C.origin}},x=h==="x"?B==="y"?In:Vn:B==="y"?Vn:In;S.anchor=x(S.anchor),S.origin=x(S.origin);const{overflows:_}=w(S);(_[h].before<=I[h].before&&_[h].after<=I[h].after||_[h].before+_[h].after<(I[h].before+I[h].after)/2)&&(C=S,F=N[h]=!0)}}),F)continue}I.x.before&&(P+=I.x.before,g.x+=I.x.before),I.x.after&&(P-=I.x.after,g.x-=I.x.after),I.y.before&&(M+=I.y.before,g.y+=I.y.before),I.y.after&&(M-=I.y.after,g.y-=I.y.after);{const B=xl(g,y);E.x=y.width-B.x.before-B.x.after,E.y=y.height-B.y.before-B.y.after,P+=B.x.before,g.x+=B.x.before,M+=B.y.before,g.y+=B.y.before}break}var A;const V=kl(C.anchor);return Object.assign(n.value,{"--v-overlay-anchor-origin":`${C.anchor.side} ${C.anchor.align}`,transformOrigin:`${C.origin.side} ${C.origin.align}`,top:J(xn(M)),left:t.isRtl.value?void 0:J(xn(P)),right:t.isRtl.value?J(xn(-P)):void 0,minWidth:J(V==="y"?Math.min(i.value,m.width):i.value),maxWidth:J(ea(at(E.x,i.value===1/0?0:i.value,c.value))),maxHeight:J(ea(at(E.y,u.value===1/0?0:u.value,s.value)))}),{available:E,contentBox:g}}return e.watch([t.target,t.contentEl],(m,g)=>{let[p,y]=m,[C,w]=g;C&&!Array.isArray(C)&&f.unobserve(C),p&&!Array.isArray(p)&&f.observe(p),w&&f.unobserve(w),y&&f.observe(y)},{immediate:!0}),e.onScopeDispose(()=>{f.disconnect()}),e.watch(()=>[a.value,o.value,l.offset,l.minWidth,l.minHeight,l.maxWidth,l.maxHeight],()=>v()),e.nextTick(()=>{const m=v();if(!m)return;const{available:g,contentBox:p}=m;p.height>g.y&&requestAnimationFrame(()=>{v(),requestAnimationFrame(()=>{v()})})}),{updateLocation:v}}},Wi=G({locationStrategy:{type:[String,Function],default:"static",validator:t=>typeof t=="function"||t in fo},location:{type:String,default:"bottom"},origin:{type:String,default:"auto"},offset:[Number,String,Array]},"VOverlay-location-strategies");function xn(t){return Math.round(t*devicePixelRatio)/devicePixelRatio}function ea(t){return Math.ceil(t*devicePixelRatio)/devicePixelRatio}let Ln=!0;const vn=[];let ta=-1;function Mn(){cancelAnimationFrame(ta),ta=requestAnimationFrame(()=>{const t=vn.shift();t&&t(),vn.length?Mn():Ln=!0})}const Qt={none:null,close:function(t){na(t.targetEl.value??t.contentEl.value,function(l){t.isActive.value=!1})},block:function(t,l){var c;const n=(c=t.root.value)==null?void 0:c.offsetParent,a=[...new Set([...rn(t.targetEl.value,l.contained?n:void 0),...rn(t.contentEl.value,l.contained?n:void 0)])].filter(s=>!s.classList.contains("v-overlay-scroll-blocked")),o=window.innerWidth-document.documentElement.offsetWidth,i=(u=n||document.documentElement,nl(u)&&u);var u;i&&t.root.value.classList.add("v-overlay--scroll-blocked"),a.forEach((s,r)=>{s.style.setProperty("--v-body-scroll-x",J(-s.scrollLeft)),s.style.setProperty("--v-body-scroll-y",J(-s.scrollTop)),s!==document.documentElement&&s.style.setProperty("--v-scrollbar-offset",J(o)),s.classList.add("v-overlay-scroll-blocked")}),e.onScopeDispose(()=>{a.forEach((s,r)=>{const d=parseFloat(s.style.getPropertyValue("--v-body-scroll-x")),f=parseFloat(s.style.getPropertyValue("--v-body-scroll-y"));s.style.removeProperty("--v-body-scroll-x"),s.style.removeProperty("--v-body-scroll-y"),s.style.removeProperty("--v-scrollbar-offset"),s.classList.remove("v-overlay-scroll-blocked"),s.scrollLeft=-d,s.scrollTop=-f}),i&&t.root.value.classList.remove("v-overlay--scroll-blocked")})},reposition:function(t,l,n){let a=!1,o=-1,i=-1;function u(c){var s;s=()=>{var f,v;const r=performance.now();(v=(f=t.updateLocation).value)==null||v.call(f,c),a=(performance.now()-r)/(1e3/60)>2},!Ln||vn.length?(vn.push(s),Mn()):(Ln=!1,s(),Mn())}i=(typeof requestIdleCallback>"u"?c=>c():requestIdleCallback)(()=>{n.run(()=>{na(t.targetEl.value??t.contentEl.value,c=>{a?(cancelAnimationFrame(o),o=requestAnimationFrame(()=>{o=requestAnimationFrame(()=>{u(c)})})):u(c)})})}),e.onScopeDispose(()=>{typeof cancelIdleCallback<"u"&&cancelIdleCallback(i),cancelAnimationFrame(o)})}},ji=G({scrollStrategy:{type:[String,Function],default:"block",validator:t=>typeof t=="function"||t in Qt}},"VOverlay-scroll-strategies");function na(t,l){const n=[document,...rn(t)];n.forEach(a=>{a.addEventListener("scroll",l,{passive:!0})}),e.onScopeDispose(()=>{n.forEach(a=>{a.removeEventListener("scroll",l)})})}const Wn=Symbol.for("vuetify:v-menu"),Gi=G({closeDelay:[Number,String],openDelay:[Number,String]},"delay"),Ui=G({target:[String,Object],activator:[String,Object],activatorProps:{type:Object,default:()=>({})},openOnClick:{type:Boolean,default:void 0},openOnHover:Boolean,openOnFocus:{type:Boolean,default:void 0},closeOnContentClick:Boolean,...Gi()},"VOverlay-activator");function Hi(t,l){let{isActive:n,isTop:a}=l;const o=Se("useActivator"),i=e.ref();let u=!1,c=!1,s=!0;const r=e.computed(()=>t.openOnFocus||t.openOnFocus==null&&t.openOnHover),d=e.computed(()=>t.openOnClick||t.openOnClick==null&&!t.openOnHover&&!r.value),{runOpenDelay:f,runCloseDelay:v}=function(b,I){const B={},$=R=>()=>{if(!xe)return Promise.resolve(!0);const F=R==="openDelay";return B.closeDelay&&window.clearTimeout(B.closeDelay),delete B.closeDelay,B.openDelay&&window.clearTimeout(B.openDelay),delete B.openDelay,new Promise(h=>{const S=parseInt(b[R]??0,10);B[R]=window.setTimeout(()=>{I==null||I(F),h(F)},S)})};return{runCloseDelay:$("closeDelay"),runOpenDelay:$("openDelay")}}(t,b=>{b!==(t.openOnHover&&u||r.value&&c)||t.openOnHover&&n.value&&!a.value||(n.value!==b&&(s=!0),n.value=b)}),m=e.ref(),g=b=>{b.stopPropagation(),i.value=b.currentTarget||b.target,n.value||(m.value=[b.clientX,b.clientY]),n.value=!n.value},p=b=>{var I;(I=b.sourceCapabilities)!=null&&I.firesTouchEvents||(u=!0,i.value=b.currentTarget||b.target,f())},y=b=>{u=!1,v()},C=b=>{ln(b.target,":focus-visible")!==!1&&(c=!0,b.stopPropagation(),i.value=b.currentTarget||b.target,f())},w=b=>{c=!1,b.stopPropagation(),v()},P=e.computed(()=>{const b={};return d.value&&(b.onClick=g),t.openOnHover&&(b.onMouseenter=p,b.onMouseleave=y),r.value&&(b.onFocus=C,b.onBlur=w),b}),M=e.computed(()=>{const b={};if(t.openOnHover&&(b.onMouseenter=()=>{u=!0,f()},b.onMouseleave=()=>{u=!1,v()}),r.value&&(b.onFocusin=()=>{c=!0,f()},b.onFocusout=()=>{c=!1,v()}),t.closeOnContentClick){const I=e.inject(Wn,null);b.onClick=()=>{n.value=!1,I==null||I.closeParents()}}return b}),E=e.computed(()=>{const b={};return t.openOnHover&&(b.onMouseenter=()=>{s&&(u=!0,s=!1,f())},b.onMouseleave=()=>{u=!1,v()}),b});e.watch(a,b=>{!b||(!t.openOnHover||u||r.value&&c)&&(!r.value||c||t.openOnHover&&u)||(n.value=!1)}),e.watch(n,b=>{b||setTimeout(()=>{m.value=void 0})},{flush:"post"});const N=e.ref();e.watchEffect(()=>{N.value&&e.nextTick(()=>{i.value=en(N.value)})});const L=e.ref(),A=e.computed(()=>t.target==="cursor"&&m.value?m.value:L.value?en(L.value):la(t.target,o)||i.value),V=e.computed(()=>Array.isArray(A.value)?void 0:A.value);let k;return e.watch(()=>!!t.activator,b=>{b&&xe?(k=e.effectScope(),k.run(()=>{(function(I,B,$){let{activatorEl:R,activatorEvents:F}=$;function h(){let _=arguments.length>0&&arguments[0]!==void 0?arguments[0]:x(),z=arguments.length>1&&arguments[1]!==void 0?arguments[1]:I.activatorProps;_&&function(O,q){Object.keys(q).forEach(T=>{if(Nn(T)){const W=Vl(T),D=qt.get(O);if(q[T]==null)D==null||D.forEach(j=>{const[U,Y]=j;U===W&&(O.removeEventListener(W,Y),D.delete(j))});else if(!D||![...D].some(j=>j[0]===W&&j[1]===q[T])){O.addEventListener(W,q[T]);const j=D||new Set;j.add([W,q[T]]),qt.has(O)||qt.set(O,j)}}else q[T]==null?O.removeAttribute(T):O.setAttribute(T,q[T])})}(_,e.mergeProps(F.value,z))}function S(){let _=arguments.length>0&&arguments[0]!==void 0?arguments[0]:x(),z=arguments.length>1&&arguments[1]!==void 0?arguments[1]:I.activatorProps;_&&function(O,q){Object.keys(q).forEach(T=>{if(Nn(T)){const W=Vl(T),D=qt.get(O);D==null||D.forEach(j=>{const[U,Y]=j;U===W&&(O.removeEventListener(W,Y),D.delete(j))})}else O.removeAttribute(T)})}(_,e.mergeProps(F.value,z))}function x(){const _=la(arguments.length>0&&arguments[0]!==void 0?arguments[0]:I.activator,B);return R.value=(_==null?void 0:_.nodeType)===Node.ELEMENT_NODE?_:void 0,R.value}e.watch(()=>I.activator,(_,z)=>{if(z&&_!==z){const O=x(z);O&&S(O)}_&&e.nextTick(()=>h())},{immediate:!0}),e.watch(()=>I.activatorProps,()=>{h()}),e.onScopeDispose(()=>{S()})})(t,o,{activatorEl:i,activatorEvents:P})})):k&&k.stop()},{flush:"post",immediate:!0}),e.onScopeDispose(()=>{k==null||k.stop()}),{activatorEl:i,activatorRef:N,target:A,targetEl:V,targetRef:L,activatorEvents:P,contentEvents:M,scrimEvents:E}}function la(t,l){var a,o;if(!t)return;let n;if(t==="parent"){let i=(o=(a=l==null?void 0:l.proxy)==null?void 0:a.$el)==null?void 0:o.parentNode;for(;i!=null&&i.hasAttribute("data-no-activator");)i=i.parentNode;n=i}else n=typeof t=="string"?document.querySelector(t):"$el"in t?t.$el:t;return n}const qi=Symbol.for("vuetify:display");function mo(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Oe();const n=e.inject(qi);if(!n)throw new Error("Could not find Vuetify display injection");const a=e.computed(()=>{if(!t.mobileBreakpoint)return n.mobile.value;const i=typeof t.mobileBreakpoint=="number"?t.mobileBreakpoint:n.thresholds.value[t.mobileBreakpoint];return n.width.valuel?{[`${l}--mobile`]:a.value}:{});return{...n,displayClasses:o,mobile:a}}const Yi=G({eager:Boolean},"lazy");function yo(){const t=Se("useScopeId").vnode.scopeId;return{scopeId:t?{[t]:""}:void 0}}const aa=Symbol.for("vuetify:stack"),wt=e.reactive([]);function Xi(){return!0}function oa(t,l,n){if(!t||go(t,n)===!1)return!1;const a=Sa(l);if(typeof ShadowRoot<"u"&&a instanceof ShadowRoot&&a.host===t.target)return!1;const o=(typeof n.value=="object"&&n.value.include||(()=>[]))();return o.push(l),!o.some(i=>i==null?void 0:i.contains(t.target))}function go(t,l){return(typeof l.value=="object"&&l.value.closeConditional||Xi)(t)}function ia(t,l){const n=Sa(t);l(document),typeof ShadowRoot<"u"&&n instanceof ShadowRoot&&l(n)}const Ki={mounted(t,l){const n=o=>function(i,u,c){const s=typeof c.value=="function"?c.value:c.value.handler;u._clickOutside.lastMousedownWasOutside&&oa(i,u,c)&&setTimeout(()=>{go(i,c)&&s&&s(i)},0)}(o,t,l),a=o=>{t._clickOutside.lastMousedownWasOutside=oa(o,t,l)};ia(t,o=>{o.addEventListener("click",n,!0),o.addEventListener("mousedown",a,!0)}),t._clickOutside||(t._clickOutside={lastMousedownWasOutside:!1}),t._clickOutside[l.instance.$.uid]={onClick:n,onMousedown:a}},unmounted(t,l){t._clickOutside&&(ia(t,n=>{var i;if(!n||!((i=t._clickOutside)!=null&&i[l.instance.$.uid]))return;const{onClick:a,onMousedown:o}=t._clickOutside[l.instance.$.uid];n.removeEventListener("click",a,!0),n.removeEventListener("mousedown",o,!0)}),delete t._clickOutside[l.instance.$.uid])}};function Ji(t){const{modelValue:l,color:n,...a}=t;return e.createVNode(e.Transition,{name:"fade-transition",appear:!0},{default:()=>[t.modelValue&&e.createVNode("div",e.mergeProps({class:["v-overlay__scrim",t.color.backgroundColorClasses.value],style:t.color.backgroundColorStyles.value},a),null)]})}const po=G({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},...Ui(),...oe(),...Je(),...Yi(),...Wi(),...ji(),...Ie(),...Dt()},"VOverlay"),ra=X()({name:"VOverlay",directives:{ClickOutside:Ki},inheritAttrs:!1,props:{_disableGlobalStack:Boolean,...po()},emits:{"click:outside":t=>!0,"update:modelValue":t=>!0,afterLeave:()=>!0},setup(t,l){var O,q;let{slots:n,attrs:a,emit:o}=l;const i=he(t,"modelValue"),u=e.computed({get:()=>i.value,set:T=>{T&&t.disabled||(i.value=T)}}),{teleportTarget:c}=function(T){return{teleportTarget:e.computed(()=>{const W=T.value;if(W===!0||!xe)return;const D=W===!1?document.body:typeof W=="string"?document.querySelector(W):W;if(D==null)return void e.warn(`Unable to locate target ${W}`);let j=D.querySelector(":scope > .v-overlay-container");return j||(j=document.createElement("div"),j.className="v-overlay-container",D.appendChild(j)),j})}}(e.computed(()=>t.attach||t.contained)),{themeClasses:s}=ke(t),{rtlClasses:r,isRtl:d}=Rt(),{hasContent:f,onAfterLeave:v}=function(T,W){const D=e.shallowRef(!1),j=e.computed(()=>D.value||T.eager||W.value);return e.watch(W,()=>D.value=!0),{isBooted:D,hasContent:j,onAfterLeave:function(){T.eager||(D.value=!1)}}}(t,u),m=ot(e.computed(()=>typeof t.scrim=="string"?t.scrim:null)),{globalTop:g,localTop:p,stackStyles:y}=function(T,W,D){const j=Se("useStack"),U=!D,Y=e.inject(aa,void 0),ne=e.reactive({activeChildren:new Set});e.provide(aa,ne);const re=e.shallowRef(+W.value);Ye(T,()=>{var ve;const me=(ve=wt.at(-1))==null?void 0:ve[1];re.value=me?me+10:+W.value,U&&wt.push([j.uid,re.value]),Y==null||Y.activeChildren.add(j.uid),e.onScopeDispose(()=>{if(U){const de=e.toRaw(wt).findIndex(pe=>pe[0]===j.uid);wt.splice(de,1)}Y==null||Y.activeChildren.delete(j.uid)})});const ie=e.shallowRef(!0);U&&e.watchEffect(()=>{var ve;const me=((ve=wt.at(-1))==null?void 0:ve[0])===j.uid;setTimeout(()=>ie.value=me)});const Ve=e.computed(()=>!ne.activeChildren.size);return{globalTop:e.readonly(ie),localTop:Ve,stackStyles:e.computed(()=>({zIndex:re.value}))}}(u,e.toRef(t,"zIndex"),t._disableGlobalStack),{activatorEl:C,activatorRef:w,target:P,targetEl:M,targetRef:E,activatorEvents:N,contentEvents:L,scrimEvents:A}=Hi(t,{isActive:u,isTop:p}),{dimensionStyles:V}=Ze(t),k=function(){if(!xe)return e.shallowRef(!1);const{ssr:T}=mo();if(T){const W=e.shallowRef(!1);return e.onMounted(()=>{W.value=!0}),W}return e.shallowRef(!0)}(),{scopeId:b}=yo();e.watch(()=>t.disabled,T=>{T&&(u.value=!1)});const I=e.ref(),B=e.ref(),{contentStyles:$,updateLocation:R}=function(T,W){const D=e.ref({}),j=e.ref();function U(Y){var ne;(ne=j.value)==null||ne.call(j,Y)}return xe&&Ye(()=>!(!W.isActive.value||!T.locationStrategy),Y=>{var ne,re;e.watch(()=>T.locationStrategy,Y),e.onScopeDispose(()=>{window.removeEventListener("resize",U),j.value=void 0}),window.addEventListener("resize",U,{passive:!0}),typeof T.locationStrategy=="function"?j.value=(ne=T.locationStrategy(W,T,D))==null?void 0:ne.updateLocation:j.value=(re=fo[T.locationStrategy](W,T,D))==null?void 0:re.updateLocation}),{contentStyles:D,updateLocation:j}}(t,{isRtl:d,contentEl:B,target:P,isActive:u});function F(T){o("click:outside",T),t.persistent?z():u.value=!1}function h(){return u.value&&g.value}function S(T){var W,D;T.key==="Escape"&&g.value&&(t.persistent?z():(u.value=!1,(W=B.value)!=null&&W.contains(document.activeElement)&&((D=C.value)==null||D.focus())))}(function(T,W){if(!xe)return;let D;e.watchEffect(async()=>{D==null||D.stop(),W.isActive.value&&T.scrollStrategy&&(D=e.effectScope(),await e.nextTick(),D.active&&D.run(()=>{var j;typeof T.scrollStrategy=="function"?T.scrollStrategy(W,T,D):(j=Qt[T.scrollStrategy])==null||j.call(Qt,W,T,D)}))}),e.onScopeDispose(()=>{D==null||D.stop()})})(t,{root:I,contentEl:B,targetEl:M,isActive:u,updateLocation:R}),xe&&e.watch(u,T=>{T?window.addEventListener("keydown",S):window.removeEventListener("keydown",S)},{immediate:!0});const x=(q=(O=Se("useRouter"))==null?void 0:O.proxy)==null?void 0:q.$router;Ye(()=>t.closeOnBack,()=>{(function(T,W){let D,j,U=!1;function Y(ne){var re;(re=ne.state)!=null&&re.replaced||(U=!0,setTimeout(()=>U=!1))}xe&&(e.nextTick(()=>{window.addEventListener("popstate",Y),D=T==null?void 0:T.beforeEach((ne,re,ie)=>{wn?U?W(ie):ie():setTimeout(()=>U?W(ie):ie()),wn=!0}),j=T==null?void 0:T.afterEach(()=>{wn=!1})}),e.onScopeDispose(()=>{window.removeEventListener("popstate",Y),D==null||D(),j==null||j()}))})(x,T=>{g.value&&u.value?(T(!1),t.persistent?z():u.value=!1):T()})});const _=e.ref();function z(){t.noClickAnimation||B.value&<(B.value,[{transformOrigin:"center"},{transform:"scale(1.03)"},{transformOrigin:"center"}],{duration:150,easing:on})}return e.watch(()=>u.value&&(t.absolute||t.contained)&&c.value==null,T=>{if(T){const W=Ia(I.value);W&&W!==document.scrollingElement&&(_.value=W.scrollTop)}}),ee(()=>{var T;return e.createVNode(e.Fragment,null,[(T=n.activator)==null?void 0:T.call(n,{isActive:u.value,props:e.mergeProps({ref:w,targetRef:E},N.value,t.activatorProps)}),k.value&&f.value&&e.createVNode(e.Teleport,{disabled:!c.value,to:c.value},{default:()=>[e.createVNode("div",e.mergeProps({class:["v-overlay",{"v-overlay--absolute":t.absolute||t.contained,"v-overlay--active":u.value,"v-overlay--contained":t.contained},s.value,r.value,t.class],style:[y.value,{top:J(_.value)},t.style],ref:I},b,a),[e.createVNode(Ji,e.mergeProps({color:m,modelValue:u.value&&!!t.scrim},A.value),null),e.createVNode(We,{appear:!0,persisted:!0,transition:t.transition,target:P.value,onAfterLeave:()=>{v(),o("afterLeave")}},{default:()=>{var W;return[e.withDirectives(e.createVNode("div",e.mergeProps({ref:B,class:["v-overlay__content",t.contentClass],style:[V.value,$.value]},L.value,t.contentProps),[(W=n.default)==null?void 0:W.call(n,{isActive:u})]),[[e.vShow,u.value],[e.resolveDirective("click-outside"),{handler:F,closeConditional:h,include:()=>[C.value]}]])]}})])]})])}),{activatorEl:C,target:P,animateClick:z,contentEl:B,globalTop:g,localTop:p,updateLocation:R}}}),Fn=Symbol("Forwarded refs");function Pn(t,l){let n=t;for(;n;){const a=Reflect.getOwnPropertyDescriptor(n,l);if(a)return a;n=Object.getPrototypeOf(n)}}function gn(t){for(var l=arguments.length,n=new Array(l>1?l-1:0),a=1;a!0},setup(t,l){let{slots:n}=l;const a=he(t,"modelValue"),{scopeId:o}=yo(),i=Ne(),u=e.computed(()=>t.id||`v-menu-${i}`),c=e.ref(),s=e.inject(Wn,null),r=e.shallowRef(0);async function d(p){var w,P,M;const y=p.relatedTarget,C=p.target;await e.nextTick(),a.value&&y!==C&&((w=c.value)!=null&&w.contentEl)&&((P=c.value)!=null&&P.globalTop)&&![document,c.value.contentEl].includes(C)&&!c.value.contentEl.contains(C)&&((M=Tn(c.value.contentEl)[0])==null||M.focus())}function f(){s==null||s.closeParents()}function v(p){var y,C,w;!t.disabled&&p.key==="Tab"&&(ga(Tn((y=c.value)==null?void 0:y.contentEl,!1),p.shiftKey?"prev":"next",P=>P.tabIndex>=0)||(a.value=!1,(w=(C=c.value)==null?void 0:C.activatorEl)==null||w.focus()))}function m(p){var C;if(t.disabled)return;const y=(C=c.value)==null?void 0:C.contentEl;y&&a.value?p.key==="ArrowDown"?(p.preventDefault(),nn(y,"next")):p.key==="ArrowUp"&&(p.preventDefault(),nn(y,"prev")):["ArrowDown","ArrowUp"].includes(p.key)&&(a.value=!0,p.preventDefault(),setTimeout(()=>setTimeout(()=>m(p))))}e.provide(Wn,{register(){++r.value},unregister(){--r.value},closeParents(){setTimeout(()=>{r.value||(a.value=!1,s==null||s.closeParents())},40)}}),e.watch(a,p=>{p?(s==null||s.register(),document.addEventListener("focusin",d,{once:!0})):(s==null||s.unregister(),document.removeEventListener("focusin",d))});const g=e.computed(()=>e.mergeProps({"aria-haspopup":"menu","aria-expanded":String(a.value),"aria-owns":u.value,onKeydown:m},t.activatorProps));return ee(()=>{const p=ra.filterProps(t);return e.createVNode(ra,e.mergeProps({ref:c,class:["v-menu",t.class],style:t.style},p,{modelValue:a.value,"onUpdate:modelValue":y=>a.value=y,absolute:!0,activatorProps:g.value,"onClick:outside":f,onKeydown:v},o),{activator:n.activator,default:function(){for(var y=arguments.length,C=new Array(y),w=0;w{var P;return[(P=n.default)==null?void 0:P.call(n,...C)]}})}})}),gn({id:u,ΨopenChildren:r},c)}}),er=G({active:Boolean,max:[Number,String],value:{type:[Number,String],default:0},...oe(),...Dt({transition:{component:Fa}})},"VCounter"),ho=X()({name:"VCounter",functional:!0,props:er(),setup(t,l){let{slots:n}=l;const a=e.computed(()=>t.max?`${t.value} / ${t.max}`:String(t.value));return ee(()=>e.createVNode(We,{transition:t.transition},{default:()=>[e.withDirectives(e.createVNode("div",{class:["v-counter",t.class],style:t.style},[n.default?n.default({counter:a.value,max:t.max,value:t.value}):a.value]),[[e.vShow,t.active]])]})),{}}}),tr=G({floating:Boolean,...oe()},"VFieldLabel"),Kt=X()({name:"VFieldLabel",props:tr(),setup(t,l){let{slots:n}=l;return ee(()=>e.createVNode(Xa,{class:["v-field-label",{"v-field-label--floating":t.floating},t.class],style:t.style,"aria-hidden":t.floating||void 0},n)),{}}}),nr=["underlined","outlined","filled","solo","solo-inverted","solo-filled","plain"],vl=G({appendInnerIcon:se,bgColor:String,clearable:Boolean,clearIcon:{type:se,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:se,reverse:Boolean,singleLine:Boolean,variant:{type:String,default:"filled",validator:t=>nr.includes(t)},"onClick:clear":Ee(),"onClick:appendInner":Ee(),"onClick:prependInner":Ee(),...oe(),...cl(),...$e(),...Ie()},"VField"),fl=X()({name:"VField",inheritAttrs:!1,props:{id:String,...eo(),...vl()},emits:{"update:focused":t=>!0,"update:modelValue":t=>!0},setup(t,l){let{attrs:n,emit:a,slots:o}=l;const{themeClasses:i}=ke(t),{loaderClasses:u}=fn(t),{focusClasses:c,isFocused:s,focus:r,blur:d}=Gt(t),{InputIcon:f}=Qa(t),{roundedClasses:v}=Le(t),{rtlClasses:m}=Rt(),g=e.computed(()=>t.dirty||t.active),p=e.computed(()=>!(t.singleLine||!t.label&&!o.label)),y=Ne(),C=e.computed(()=>t.id||`input-${y}`),w=e.computed(()=>`${C.value}-messages`),P=e.ref(),M=e.ref(),E=e.ref(),N=e.computed(()=>["plain","underlined"].includes(t.variant)),{backgroundColorClasses:L,backgroundColorStyles:A}=ot(e.toRef(t,"bgColor")),{textColorClasses:V,textColorStyles:k}=De(e.computed(()=>t.error||t.disabled?void 0:g.value&&s.value?t.color:t.baseColor));e.watch(g,B=>{if(p.value){const $=P.value.$el,R=M.value.$el;requestAnimationFrame(()=>{const F=el($),h=R.getBoundingClientRect(),S=h.x-F.x,x=h.y-F.y-(F.height/2-h.height/2),_=h.width/.75,z=Math.abs(_-F.width)>1?{maxWidth:J(_)}:void 0,O=getComputedStyle($),q=getComputedStyle(R),T=1e3*parseFloat(O.transitionDuration)||150,W=parseFloat(q.getPropertyValue("--v-field-label-scale")),D=q.getPropertyValue("color");$.style.visibility="visible",R.style.visibility="hidden",lt($,{transform:`translate(${S}px, ${x}px) scale(${W})`,color:D,...z},{duration:T,easing:on,direction:B?"normal":"reverse"}).finished.then(()=>{$.style.removeProperty("visibility"),R.style.removeProperty("visibility")})})}},{flush:"post"});const b=e.computed(()=>({isActive:g,isFocused:s,controlRef:E,blur:d,focus:r}));function I(B){B.target!==document.activeElement&&B.preventDefault()}return ee(()=>{var S,x,_;const B=t.variant==="outlined",$=o["prepend-inner"]||t.prependInnerIcon,R=!(!t.clearable&&!o.clear),F=!!(o["append-inner"]||t.appendInnerIcon||R),h=()=>o.label?o.label({...b.value,label:t.label,props:{for:C.value}}):t.label;return e.createVNode("div",e.mergeProps({class:["v-field",{"v-field--active":g.value,"v-field--appended":F,"v-field--center-affix":t.centerAffix??!N.value,"v-field--disabled":t.disabled,"v-field--dirty":t.dirty,"v-field--error":t.error,"v-field--flat":t.flat,"v-field--has-background":!!t.bgColor,"v-field--persistent-clear":t.persistentClear,"v-field--prepended":$,"v-field--reverse":t.reverse,"v-field--single-line":t.singleLine,"v-field--no-label":!h(),[`v-field--variant-${t.variant}`]:!0},i.value,L.value,c.value,u.value,v.value,m.value,t.class],style:[A.value,t.style],onClick:I},n),[e.createVNode("div",{class:"v-field__overlay"},null),e.createVNode(ul,{name:"v-field",active:!!t.loading,color:t.error?"error":typeof t.loading=="string"?t.loading:t.color},{default:o.loader}),$&&e.createVNode("div",{key:"prepend",class:"v-field__prepend-inner"},[t.prependInnerIcon&&e.createVNode(f,{key:"prepend-icon",name:"prependInner"},null),(S=o["prepend-inner"])==null?void 0:S.call(o,b.value)]),e.createVNode("div",{class:"v-field__field","data-no-activator":""},[["filled","solo","solo-inverted","solo-filled"].includes(t.variant)&&p.value&&e.createVNode(Kt,{key:"floating-label",ref:M,class:[V.value],floating:!0,for:C.value,style:k.value},{default:()=>[h()]}),e.createVNode(Kt,{ref:P,for:C.value},{default:()=>[h()]}),(x=o.default)==null?void 0:x.call(o,{...b.value,props:{id:C.value,class:"v-field__input","aria-describedby":w.value},focus:r,blur:d})]),R&&e.createVNode(Pa,{key:"clear"},{default:()=>[e.withDirectives(e.createVNode("div",{class:"v-field__clearable",onMousedown:z=>{z.preventDefault(),z.stopPropagation()}},[o.clear?o.clear():e.createVNode(f,{name:"clear"},null)]),[[e.vShow,t.dirty]])]}),F&&e.createVNode("div",{key:"append",class:"v-field__append-inner"},[(_=o["append-inner"])==null?void 0:_.call(o,b.value),t.appendInnerIcon&&e.createVNode(f,{key:"append-icon",name:"appendInner"},null)]),e.createVNode("div",{class:["v-field__outline",V.value],style:k.value},[B&&e.createVNode(e.Fragment,null,[e.createVNode("div",{class:"v-field__outline__start"},null),p.value&&e.createVNode("div",{class:"v-field__outline__notch"},[e.createVNode(Kt,{ref:M,floating:!0,for:C.value},{default:()=>[h()]})]),e.createVNode("div",{class:"v-field__outline__end"},null)]),N.value&&p.value&&e.createVNode(Kt,{ref:M,floating:!0,for:C.value},{default:()=>[h()]})])])}),{controlRef:E}}});function Co(t){return va(t,Object.keys(fl.props).filter(l=>!Nn(l)&&l!=="class"&&l!=="style"))}const lr=["color","file","time","date","datetime-local","week","month"],bo=G({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,...Ut(),...vl()},"VTextField"),jn=X()({name:"VTextField",directives:{Intersect:ol},inheritAttrs:!1,props:bo(),emits:{"click:control":t=>!0,"mousedown:control":t=>!0,"update:focused":t=>!0,"update:modelValue":t=>!0},setup(t,l){let{attrs:n,emit:a,slots:o}=l;const i=he(t,"modelValue"),{isFocused:u,focus:c,blur:s}=Gt(t),r=e.computed(()=>typeof t.counterValue=="function"?t.counterValue(i.value):typeof t.counterValue=="number"?t.counterValue:(i.value??"").toString().length),d=e.computed(()=>n.maxlength?n.maxlength:!t.counter||typeof t.counter!="number"&&typeof t.counter!="string"?void 0:t.counter),f=e.computed(()=>["plain","underlined"].includes(t.variant));function v(N,L){var A,V;t.autofocus&&N&&((V=(A=L[0].target)==null?void 0:A.focus)==null||V.call(A))}const m=e.ref(),g=e.ref(),p=e.ref(),y=e.computed(()=>lr.includes(t.type)||t.persistentPlaceholder||u.value||t.active);function C(){var N;p.value!==document.activeElement&&((N=p.value)==null||N.focus()),u.value||c()}function w(N){a("mousedown:control",N),N.target!==p.value&&(C(),N.preventDefault())}function P(N){C(),a("click:control",N)}function M(N){N.stopPropagation(),C(),e.nextTick(()=>{i.value=null,ya(t["onClick:clear"],N)})}function E(N){var A;const L=N.target;if(i.value=L.value,((A=t.modelModifiers)==null?void 0:A.trim)&&["text","search","password","tel","url"].includes(t.type)){const V=[L.selectionStart,L.selectionEnd];e.nextTick(()=>{L.selectionStart=V[0],L.selectionEnd=V[1]})}}return ee(()=>{const N=!!(o.counter||t.counter!==!1&&t.counter!=null),L=!(!N&&!o.details),[A,V]=_t(n),{modelValue:k,...b}=je.filterProps(t),I=Co(t);return e.createVNode(je,e.mergeProps({ref:m,modelValue:i.value,"onUpdate:modelValue":B=>i.value=B,class:["v-text-field",{"v-text-field--prefixed":t.prefix,"v-text-field--suffixed":t.suffix,"v-input--plain-underlined":f.value},t.class],style:t.style},A,b,{centerAffix:!f.value,focused:u.value}),{...o,default:B=>{let{id:$,isDisabled:R,isDirty:F,isReadonly:h,isValid:S}=B;return e.createVNode(fl,e.mergeProps({ref:g,onMousedown:w,onClick:P,"onClick:clear":M,"onClick:prependInner":t["onClick:prependInner"],"onClick:appendInner":t["onClick:appendInner"],role:t.role},I,{id:$.value,active:y.value||F.value,dirty:F.value||t.dirty,disabled:R.value,focused:u.value,error:S.value===!1}),{...o,default:x=>{let{props:{class:_,...z}}=x;const O=e.withDirectives(e.createVNode("input",e.mergeProps({ref:p,value:i.value,onInput:E,autofocus:t.autofocus,readonly:h.value,disabled:R.value,name:t.name,placeholder:t.placeholder,size:1,type:t.type,onFocus:C,onBlur:s},z,V),null),[[e.resolveDirective("intersect"),{handler:v},null,{once:!0}]]);return e.createVNode(e.Fragment,null,[t.prefix&&e.createVNode("span",{class:"v-text-field__prefix"},[e.createVNode("span",{class:"v-text-field__prefix__text"},[t.prefix])]),o.default?e.createVNode("div",{class:_,"data-no-activator":""},[o.default(),O]):e.cloneVNode(O,{class:_}),t.suffix&&e.createVNode("span",{class:"v-text-field__suffix"},[e.createVNode("span",{class:"v-text-field__suffix__text"},[t.suffix])])])}})},details:L?B=>{var $;return e.createVNode(e.Fragment,null,[($=o.details)==null?void 0:$.call(o,B),N&&e.createVNode(e.Fragment,null,[e.createVNode("span",null,null),e.createVNode(ho,{active:t.persistentCounter||u.value,value:r.value,max:d.value},o.counter)])])}:void 0})}),gn({},m,g,p)}}),ar=G({renderless:Boolean,...oe()},"VVirtualScrollItem"),or=X()({name:"VVirtualScrollItem",inheritAttrs:!1,props:ar(),emits:{"update:height":t=>!0},setup(t,l){let{attrs:n,emit:a,slots:o}=l;const{resizeRef:i,contentRect:u}=ll(void 0,"border");e.watch(()=>{var c;return(c=u.value)==null?void 0:c.height},c=>{c!=null&&a("update:height",c)}),ee(()=>{var c,s;return t.renderless?e.createVNode(e.Fragment,null,[(c=o.default)==null?void 0:c.call(o,{itemRef:i})]):e.createVNode("div",e.mergeProps({ref:i,class:["v-virtual-scroll__item",t.class],style:t.style},n),[(s=o.default)==null?void 0:s.call(o)])})}}),ir=G({itemHeight:{type:[Number,String],default:null},height:[Number,String]},"virtual");function rr(t,l){const n=mo(),a=e.shallowRef(0);e.watchEffect(()=>{a.value=parseFloat(t.itemHeight||0)});const o=e.shallowRef(0),i=e.shallowRef(Math.ceil((parseInt(t.height)||n.height.value)/(a.value||16))||1),u=e.shallowRef(0),c=e.shallowRef(0),s=e.ref(),r=e.ref();let d=0;const{resizeRef:f,contentRect:v}=ll();e.watchEffect(()=>{f.value=s.value});const m=e.computed(()=>{var F;return s.value===document.documentElement?n.height.value:((F=v.value)==null?void 0:F.height)||parseInt(t.height)||0}),g=e.computed(()=>!!(s.value&&r.value&&m.value&&a.value));let p=Array.from({length:l.value.length}),y=Array.from({length:l.value.length});const C=e.shallowRef(0);let w=-1;function P(F){return p[F]||a.value}const M=function(F,h){let S=0;const x=function(){for(var _=arguments.length,z=new Array(_),O=0;O<_;O++)z[O]=arguments[O];clearTimeout(S),S=setTimeout(()=>F(...z),e.unref(h))};return x.clear=()=>{clearTimeout(S)},x.immediate=F,x}(()=>{const F=performance.now();y[0]=0;const h=l.value.length;for(let S=1;S<=h-1;S++)y[S]=(y[S-1]||0)+P(S-1);C.value=Math.max(C.value,performance.now()-F)},C),E=e.watch(g,F=>{F&&(E(),d=r.value.offsetTop,M.immediate(),I(),~w&&e.nextTick(()=>{xe&&window.requestAnimationFrame(()=>{$(w),w=-1})}))});function N(F){return F=at(F,0,l.value.length-1),y[F]||0}function L(F){return function(h,S){let x=h.length-1,_=0,z=0,O=null,q=-1;if(h[x]>1,O=h[z],O>S)x=z-1;else{if(!(O{h&&I()}),e.onScopeDispose(()=>{M.clear()});let A=0,V=0,k=0,b=-1;function I(){cancelAnimationFrame(b),b=requestAnimationFrame(B)}function B(){if(!s.value||!m.value)return;const F=A-d,h=Math.sign(V),S=at(L(Math.max(0,F-100)),0,l.value.length),x=at(L(F+m.value+100)+1,S+1,l.value.length);if((h!==-1||Si.value)){const _=N(o.value)-N(S),z=N(x)-N(i.value);Math.max(_,z)>100?(o.value=S,i.value=x):(S<=0&&(o.value=S),x>=l.value.length&&(i.value=x))}u.value=N(o.value),c.value=N(l.value.length)-N(i.value)}function $(F){const h=N(F);!s.value||F&&!h?w=F:s.value.scrollTop=h}const R=e.computed(()=>l.value.slice(o.value,i.value).map((F,h)=>({raw:F,index:h+o.value})));return e.watch(l,()=>{p=Array.from({length:l.value.length}),y=Array.from({length:l.value.length}),M.immediate(),I()},{deep:!0}),{containerRef:s,markerRef:r,computedItems:R,paddingTop:u,paddingBottom:c,scrollToIndex:$,handleScroll:function(){if(!s.value||!r.value)return;const F=s.value.scrollTop,h=performance.now();h-k>500?(V=Math.sign(F-A),d=r.value.offsetTop):V=F-A,A=F,k=h,I()},handleScrollend:function(){s.value&&r.value&&(V=0,k=0,I())},handleItemResize:function(F,h){const S=p[F],x=a.value;a.value=x?Math.min(a.value,h):h,S===h&&x===a.value||(p[F]=h,M())}}}const sr=G({items:{type:Array,default:()=>[]},renderless:Boolean,...ir(),...oe(),...Je()},"VVirtualScroll"),cr=X()({name:"VVirtualScroll",props:sr(),setup(t,l){let{slots:n}=l;const a=Se("VVirtualScroll"),{dimensionStyles:o}=Ze(t),{containerRef:i,markerRef:u,handleScroll:c,handleScrollend:s,handleItemResize:r,scrollToIndex:d,paddingTop:f,paddingBottom:v,computedItems:m}=rr(t,e.toRef(t,"items"));return Ye(()=>t.renderless,()=>{function g(){var y,C;const p=arguments.length>0&&arguments[0]!==void 0&&arguments[0]?"addEventListener":"removeEventListener";i.value===document.documentElement?(document[p]("scroll",c,{passive:!0}),document[p]("scrollend",s)):((y=i.value)==null||y[p]("scroll",c,{passive:!0}),(C=i.value)==null||C[p]("scrollend",s))}e.onMounted(()=>{i.value=Ia(a.vnode.el,!0),g(!0)}),e.onScopeDispose(g)}),ee(()=>{const g=m.value.map(p=>e.createVNode(or,{key:p.index,renderless:t.renderless,"onUpdate:height":y=>r(p.index,y)},{default:y=>{var C;return(C=n.default)==null?void 0:C.call(n,{item:p.raw,index:p.index,...y})}}));return t.renderless?e.createVNode(e.Fragment,null,[e.createVNode("div",{ref:u,class:"v-virtual-scroll__spacer",style:{paddingTop:J(f.value)}},null),g,e.createVNode("div",{class:"v-virtual-scroll__spacer",style:{paddingBottom:J(v.value)}},null)]):e.createVNode("div",{ref:i,class:["v-virtual-scroll",t.class],onScrollPassive:c,onScrollend:s,style:[o.value,t.style]},[e.createVNode("div",{ref:u,class:"v-virtual-scroll__container",style:{paddingTop:J(f.value),paddingBottom:J(v.value)}},[g])])}),{scrollToIndex:d}}});function ur(t,l){const n=e.shallowRef(!1);let a;return{onListScroll:function(o){cancelAnimationFrame(a),n.value=!0,a=requestAnimationFrame(()=>{a=requestAnimationFrame(()=>{n.value=!1})})},onListKeydown:async function(o){var c,s;if(o.key==="Tab"&&((c=l.value)==null||c.focus()),!["PageDown","PageUp","Home","End"].includes(o.key))return;const i=(s=t.value)==null?void 0:s.$el;if(!i)return;o.key!=="Home"&&o.key!=="End"||i.scrollTo({top:o.key==="Home"?0:i.scrollHeight,behavior:"smooth"}),await async function(){await new Promise(r=>requestAnimationFrame(r)),await new Promise(r=>requestAnimationFrame(r)),await new Promise(r=>requestAnimationFrame(r)),await new Promise(r=>{if(n.value){const d=e.watch(n,()=>{d(),r()})}else r()})}();const u=i.querySelectorAll(":scope > :not(.v-virtual-scroll__spacer)");if(o.key==="PageDown"||o.key==="Home"){const r=i.getBoundingClientRect().top;for(const d of u)if(d.getBoundingClientRect().top>=r){d.focus();break}}else{const r=i.getBoundingClientRect().bottom;for(const d of[...u].reverse())if(d.getBoundingClientRect().bottom<=r){d.focus();break}}}}}const dr=G({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:se,default:"$dropdown"},menuProps:{type:Object},multiple:Boolean,noDataText:{type:String,default:"$vuetify.noDataText"},openOnClear:Boolean,itemColor:String,...co({itemChildren:!1})},"Select"),vr=G({...dr(),...Ke(bo({modelValue:null,role:"button"}),["validationValue","dirty","appendInnerIcon"]),...Dt({transition:{component:xa}})},"VSelect"),fr=X()({name:"VSelect",props:vr(),emits:{"update:focused":t=>!0,"update:modelValue":t=>!0,"update:menu":t=>!0},setup(t,l){let{slots:n}=l;const{t:a}=al(),o=e.ref(),i=e.ref(),u=e.ref(),c=he(t,"menu"),s=e.computed({get:()=>c.value,set:h=>{var S;c.value&&!h&&((S=i.value)!=null&&S.ΨopenChildren)||(c.value=h)}}),{items:r,transformIn:d,transformOut:f}=function(h){const S=e.computed(()=>uo(h,h.items)),x=e.computed(()=>S.value.some(_=>_.value===null));return{items:S,transformIn:function(_){return x.value||(_=_.filter(z=>z!==null)),_.map(z=>h.returnObject&&typeof z=="string"?$n(h,z):S.value.find(O=>h.valueComparator(z,O.value))||$n(h,z))},transformOut:function(_){return h.returnObject?_.map(z=>{let{raw:O}=z;return O}):_.map(z=>{let{value:O}=z;return O})}}}(t),v=he(t,"modelValue",[],h=>d(h===null?[null]:Re(h)),h=>{const S=f(h);return t.multiple?S:S[0]??null}),m=e.computed(()=>typeof t.counterValue=="function"?t.counterValue(v.value):typeof t.counterValue=="number"?t.counterValue:v.value.length),g=to(),p=e.computed(()=>v.value.map(h=>h.value)),y=e.shallowRef(!1),C=e.computed(()=>s.value?t.closeText:t.openText);let w,P="";const M=e.computed(()=>t.hideSelected?r.value.filter(h=>!v.value.some(S=>S===h)):r.value),E=e.computed(()=>t.hideNoData&&!r.value.length||t.readonly||(g==null?void 0:g.isReadonly.value)),N=e.ref(),{onListScroll:L,onListKeydown:A}=ur(N,o);function V(h){t.openOnClear&&(s.value=!0)}function k(){E.value||(s.value=!s.value)}function b(h){var _,z;if(!h.key||t.readonly||g!=null&&g.isReadonly.value||(["Enter"," ","ArrowDown","ArrowUp","Home","End"].includes(h.key)&&h.preventDefault(),["Enter","ArrowDown"," "].includes(h.key)&&(s.value=!0),["Escape","Tab"].includes(h.key)&&(s.value=!1),h.key==="Home"?(_=N.value)==null||_.focus("first"):h.key==="End"&&((z=N.value)==null||z.focus("last")),t.multiple||!function(O){const q=O.key.length===1,T=!O.ctrlKey&&!O.metaKey&&!O.altKey;return q&&T}(h)))return;const S=performance.now();S-w>1e3&&(P=""),P+=h.key.toLowerCase(),w=S;const x=r.value.find(O=>O.title.toLowerCase().startsWith(P));x!==void 0&&(v.value=[x])}function I(h){if(t.multiple){const S=v.value.findIndex(x=>t.valueComparator(x.value,h.value));if(S===-1)v.value=[...v.value,h];else{const x=[...v.value];x.splice(S,1),v.value=x}}else v.value=[h],s.value=!1}function B(h){var S;(S=N.value)!=null&&S.$el.contains(h.relatedTarget)||(s.value=!1)}function $(){var h;y.value&&((h=o.value)==null||h.focus())}function R(h){y.value=!0}function F(h){if(h==null)v.value=[];else if(ln(o.value,":autofill")||ln(o.value,":-webkit-autofill")){const S=r.value.find(x=>x.title===h);S&&I(S)}else o.value&&(o.value.value="")}return e.watch(s,()=>{if(!t.hideSelected&&s.value&&v.value.length){const h=M.value.findIndex(S=>v.value.some(x=>t.valueComparator(x.value,S.value)));xe&&window.requestAnimationFrame(()=>{var S;h>=0&&((S=u.value)==null||S.scrollToIndex(h))})}}),ee(()=>{const h=!(!t.chips&&!n.chip),S=!!(!t.hideNoData||M.value.length||n["prepend-item"]||n["append-item"]||n["no-data"]),x=v.value.length>0,_=jn.filterProps(t),z=x||!y.value&&t.label&&!t.persistentPlaceholder?void 0:t.placeholder;return e.createVNode(jn,e.mergeProps({ref:o},_,{modelValue:v.value.map(O=>O.props.value).join(", "),"onUpdate:modelValue":F,focused:y.value,"onUpdate:focused":O=>y.value=O,validationValue:v.externalValue,counterValue:m.value,dirty:x,class:["v-select",{"v-select--active-menu":s.value,"v-select--chips":!!t.chips,["v-select--"+(t.multiple?"multiple":"single")]:!0,"v-select--selected":v.value.length,"v-select--selection-slot":!!n.selection},t.class],style:t.style,inputmode:"none",placeholder:z,"onClick:clear":V,"onMousedown:control":k,onBlur:B,onKeydown:b,"aria-label":a(C.value),title:a(C.value)}),{...n,default:()=>e.createVNode(e.Fragment,null,[e.createVNode(Qi,e.mergeProps({ref:i,modelValue:s.value,"onUpdate:modelValue":O=>s.value=O,activator:"parent",contentClass:"v-select__content",disabled:E.value,eager:t.eager,maxHeight:310,openOnClick:!1,closeOnContentClick:!1,transition:t.transition,onAfterLeave:$},t.menuProps),{default:()=>[S&&e.createVNode(Mi,{ref:N,selected:p.value,selectStrategy:t.multiple?"independent":"single-independent",onMousedown:O=>O.preventDefault(),onKeydown:A,onFocusin:R,onScrollPassive:L,tabindex:"-1",color:t.itemColor??t.color},{default:()=>{var O,q,T;return[(O=n["prepend-item"])==null?void 0:O.call(n),!M.value.length&&!t.hideNoData&&(((q=n["no-data"])==null?void 0:q.call(n))??e.createVNode(dn,{title:a(t.noDataText)},null)),e.createVNode(cr,{ref:u,renderless:!0,items:M.value},{default:W=>{var ne;let{item:D,index:j,itemRef:U}=W;const Y=e.mergeProps(D.props,{ref:U,key:j,onClick:()=>I(D)});return((ne=n.item)==null?void 0:ne.call(n,{item:D,index:j,props:Y}))??e.createVNode(dn,e.mergeProps(Y,{role:"option"}),{prepend:re=>{let{isSelected:ie}=re;return e.createVNode(e.Fragment,null,[t.multiple&&!t.hideSelected?e.createVNode(zn,{key:D.value,modelValue:ie,ripple:!1,tabindex:"-1"},null):void 0,D.props.prependIcon&&e.createVNode(ue,{icon:D.props.prependIcon},null)])}})}}),(T=n["append-item"])==null?void 0:T.call(n)]}})]}),v.value.map((O,q)=>{const T={"onClick:close":function(j){j.stopPropagation(),j.preventDefault(),I(O)},onMousedown(j){j.preventDefault(),j.stopPropagation()},modelValue:!0,"onUpdate:modelValue":void 0},W=h?!!n.chip:!!n.selection,D=W?pa(h?n.chip({item:O,index:q,props:T}):n.selection({item:O,index:q})):void 0;if(!W||D)return e.createVNode("div",{key:O.value,class:"v-select__selection"},[h?n.chip?e.createVNode(Be,{key:"chip-defaults",defaults:{VChip:{closable:t.closableChips,size:"small",text:O.title}}},{default:()=>[D]}):e.createVNode(Bi,e.mergeProps({key:"chip",closable:t.closableChips,size:"small",text:O.title,disabled:O.props.disabled},T),null):D??e.createVNode("span",{class:"v-select__selection-text"},[O.title,t.multiple&&q{var a;return e.createVNode("div",{class:["v-card-actions",t.class],style:t.style},[(a=n.default)==null?void 0:a.call(n)])}),{}}}),yr=zt("v-card-subtitle"),gr=zt("v-card-title"),pr=G({appendAvatar:String,appendIcon:se,prependAvatar:String,prependIcon:se,subtitle:[String,Number],title:[String,Number],...oe(),..._e()},"VCardItem"),hr=X()({name:"VCardItem",props:pr(),setup(t,l){let{slots:n}=l;return ee(()=>{var r;const a=!(!t.prependAvatar&&!t.prependIcon),o=!(!a&&!n.prepend),i=!(!t.appendAvatar&&!t.appendIcon),u=!(!i&&!n.append),c=!(t.title==null&&!n.title),s=!(t.subtitle==null&&!n.subtitle);return e.createVNode("div",{class:["v-card-item",t.class],style:t.style},[o&&e.createVNode("div",{key:"prepend",class:"v-card-item__prepend"},[n.prepend?e.createVNode(Be,{key:"prepend-defaults",disabled:!a,defaults:{VAvatar:{density:t.density,icon:t.prependIcon,image:t.prependAvatar}}},n.prepend):a&&e.createVNode(it,{key:"prepend-avatar",density:t.density,icon:t.prependIcon,image:t.prependAvatar},null)]),e.createVNode("div",{class:"v-card-item__content"},[c&&e.createVNode(gr,{key:"title"},{default:()=>{var d;return[((d=n.title)==null?void 0:d.call(n))??t.title]}}),s&&e.createVNode(yr,{key:"subtitle"},{default:()=>{var d;return[((d=n.subtitle)==null?void 0:d.call(n))??t.subtitle]}}),(r=n.default)==null?void 0:r.call(n)]),u&&e.createVNode("div",{key:"append",class:"v-card-item__append"},[n.append?e.createVNode(Be,{key:"append-defaults",disabled:!i,defaults:{VAvatar:{density:t.density,icon:t.appendIcon,image:t.appendAvatar}}},n.append):i&&e.createVNode(it,{key:"append-avatar",density:t.density,icon:t.appendIcon,image:t.appendAvatar},null)])])}),{}}}),Qe=zt("v-card-text"),Cr=G({appendAvatar:String,appendIcon:se,disabled:Boolean,flat:Boolean,hover:Boolean,image:String,link:{type:Boolean,default:void 0},prependAvatar:String,prependIcon:se,ripple:{type:[Boolean,Object],default:!0},subtitle:[String,Number],text:[String,Number],title:[String,Number],...dt(),...oe(),..._e(),...Je(),...ft(),...cl(),...rl(),...La(),...$e(),...yn(),...Ae(),...Ie(),...Ue({variant:"elevated"})},"VCard"),yt=X()({name:"VCard",directives:{Ripple:jt},props:Cr(),setup(t,l){let{attrs:n,slots:a}=l;const{themeClasses:o}=ke(t),{borderClasses:i}=vt(t),{colorClasses:u,colorStyles:c,variantClasses:s}=Lt(t),{densityClasses:r}=Me(t),{dimensionStyles:d}=Ze(t),{elevationClasses:f}=mt(t),{loaderClasses:v}=fn(t),{locationStyles:m}=sl(t),{positionClasses:g}=Ma(t),{roundedClasses:p}=Le(t),y=mn(t,n),C=e.computed(()=>t.link!==!1&&y.isLink.value),w=e.computed(()=>!t.disabled&&t.link!==!1&&(t.link||y.isClickable.value));return ee(()=>{const P=C.value?"a":t.tag,M=!(!a.title&&t.title==null),E=!(!a.subtitle&&t.subtitle==null),N=M||E,L=!!(a.append||t.appendAvatar||t.appendIcon),A=!!(a.prepend||t.prependAvatar||t.prependIcon),V=!(!a.image&&!t.image),k=N||A||L,b=!(!a.text&&t.text==null);return e.withDirectives(e.createVNode(P,{class:["v-card",{"v-card--disabled":t.disabled,"v-card--flat":t.flat,"v-card--hover":t.hover&&!(t.disabled||t.flat),"v-card--link":w.value},o.value,i.value,u.value,r.value,f.value,v.value,g.value,p.value,s.value,t.class],style:[c.value,d.value,m.value,t.style],href:y.href.value,onClick:w.value&&y.navigate,tabindex:t.disabled?-1:void 0},{default:()=>{var I;return[V&&e.createVNode("div",{key:"image",class:"v-card__image"},[a.image?e.createVNode(Be,{key:"image-defaults",disabled:!t.image,defaults:{VImg:{cover:!0,src:t.image}}},a.image):e.createVNode(Na,{key:"image-img",cover:!0,src:t.image},null)]),e.createVNode(ul,{name:"v-card",active:!!t.loading,color:typeof t.loading=="boolean"?void 0:t.loading},{default:a.loader}),k&&e.createVNode(hr,{key:"item",prependAvatar:t.prependAvatar,prependIcon:t.prependIcon,title:t.title,subtitle:t.subtitle,appendAvatar:t.appendAvatar,appendIcon:t.appendIcon},{default:a.item,prepend:a.prepend,title:a.title,subtitle:a.subtitle,append:a.append}),b&&e.createVNode(Qe,{key:"text"},{default:()=>{var B;return[((B=a.text)==null?void 0:B.call(a))??t.text]}}),(I=a.default)==null?void 0:I.call(a),a.actions&&e.createVNode(mr,null,{default:a.actions}),$t(w.value,"v-card")]}}),[[e.resolveDirective("ripple"),w.value&&t.ripple]])}),{}}}),br=G({indeterminate:Boolean,inset:Boolean,flat:Boolean,loading:{type:[Boolean,String],default:!1},...Ut(),...dl()},"VSwitch"),Sr=X()({name:"VSwitch",inheritAttrs:!1,props:br(),emits:{"update:focused":t=>!0,"update:modelValue":t=>!0,"update:indeterminate":t=>!0},setup(t,l){let{attrs:n,slots:a}=l;const o=he(t,"indeterminate"),i=he(t,"modelValue"),{loaderClasses:u}=fn(t),{isFocused:c,focus:s,blur:r}=Gt(t),d=e.ref(),f=e.computed(()=>typeof t.loading=="string"&&t.loading!==""?t.loading:t.color),v=Ne(),m=e.computed(()=>t.id||`switch-${v}`);function g(){o.value&&(o.value=!1)}function p(y){var C,w;y.stopPropagation(),y.preventDefault(),(w=(C=d.value)==null?void 0:C.input)==null||w.click()}return ee(()=>{const[y,C]=_t(n),w=je.filterProps(t),P=un.filterProps(t);return e.createVNode(je,e.mergeProps({class:["v-switch",{"v-switch--inset":t.inset},{"v-switch--indeterminate":o.value},u.value,t.class]},y,w,{modelValue:i.value,"onUpdate:modelValue":M=>i.value=M,id:m.value,focused:c.value,style:t.style}),{...a,default:M=>{let{id:E,messagesId:N,isDisabled:L,isReadonly:A,isValid:V}=M;return e.createVNode(un,e.mergeProps({ref:d},P,{modelValue:i.value,"onUpdate:modelValue":[k=>i.value=k,g],id:E.value,"aria-describedby":N.value,type:"checkbox","aria-checked":o.value?"mixed":void 0,disabled:L.value,readonly:A.value,onFocus:s,onBlur:r},C),{...a,default:k=>{let{backgroundColorClasses:b,backgroundColorStyles:I}=k;return e.createVNode("div",{class:["v-switch__track",...b.value],style:I.value,onClick:p},null)},input:k=>{let{inputNode:b,icon:I,backgroundColorClasses:B,backgroundColorStyles:$}=k;return e.createVNode(e.Fragment,null,[b,e.createVNode("div",{class:["v-switch__thumb",{"v-switch__thumb--filled":I||t.loading},t.inset?void 0:B.value],style:t.inset?void 0:$.value},[e.createVNode(Ko,null,{default:()=>[t.loading?e.createVNode(ul,{name:"v-switch",active:!0,color:V.value===!1?void 0:f.value},{default:R=>a.loader?a.loader(R):e.createVNode($a,{active:R.isActive,color:R.color,indeterminate:!0,size:"16",width:"2"},null)}):I&&e.createVNode(ue,{key:I,icon:I,size:"x-small"},null)]})])])}})}})}),{}}}),Vr=G({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:t=>!isNaN(parseFloat(t))},maxRows:{type:[Number,String],validator:t=>!isNaN(parseFloat(t))},suffix:String,modelModifiers:Object,...Ut(),...vl()},"VTextarea"),Ir=X()({name:"VTextarea",directives:{Intersect:ol},inheritAttrs:!1,props:Vr(),emits:{"click:control":t=>!0,"mousedown:control":t=>!0,"update:focused":t=>!0,"update:modelValue":t=>!0},setup(t,l){let{attrs:n,emit:a,slots:o}=l;const i=he(t,"modelValue"),{isFocused:u,focus:c,blur:s}=Gt(t),r=e.computed(()=>typeof t.counterValue=="function"?t.counterValue(i.value):(i.value||"").toString().length),d=e.computed(()=>n.maxlength?n.maxlength:!t.counter||typeof t.counter!="number"&&typeof t.counter!="string"?void 0:t.counter);function f(b,I){var B,$;t.autofocus&&b&&(($=(B=I[0].target)==null?void 0:B.focus)==null||$.call(B))}const v=e.ref(),m=e.ref(),g=e.shallowRef(""),p=e.ref(),y=e.computed(()=>t.persistentPlaceholder||u.value||t.active);function C(){var b;p.value!==document.activeElement&&((b=p.value)==null||b.focus()),u.value||c()}function w(b){C(),a("click:control",b)}function P(b){a("mousedown:control",b)}function M(b){b.stopPropagation(),C(),e.nextTick(()=>{i.value="",ya(t["onClick:clear"],b)})}function E(b){var B;const I=b.target;if(i.value=I.value,(B=t.modelModifiers)==null?void 0:B.trim){const $=[I.selectionStart,I.selectionEnd];e.nextTick(()=>{I.selectionStart=$[0],I.selectionEnd=$[1]})}}const N=e.ref(),L=e.ref(+t.rows),A=e.computed(()=>["plain","underlined"].includes(t.variant));function V(){t.autoGrow&&e.nextTick(()=>{if(!N.value||!m.value)return;const b=getComputedStyle(N.value),I=getComputedStyle(m.value.$el),B=parseFloat(b.getPropertyValue("--v-field-padding-top"))+parseFloat(b.getPropertyValue("--v-input-padding-top"))+parseFloat(b.getPropertyValue("--v-field-padding-bottom")),$=N.value.scrollHeight,R=parseFloat(b.lineHeight),F=at($??0,Math.max(parseFloat(t.rows)*R+B,parseFloat(I.getPropertyValue("--v-input-control-height"))),parseFloat(t.maxRows)*R+B||1/0);L.value=Math.floor((F-B)/R),g.value=J(F)})}let k;return e.watchEffect(()=>{t.autoGrow||(L.value=+t.rows)}),e.onMounted(V),e.watch(i,V),e.watch(()=>t.rows,V),e.watch(()=>t.maxRows,V),e.watch(()=>t.density,V),e.watch(N,b=>{b?(k=new ResizeObserver(V),k.observe(N.value)):k==null||k.disconnect()}),e.onBeforeUnmount(()=>{k==null||k.disconnect()}),ee(()=>{const b=!!(o.counter||t.counter||t.counterValue),I=!(!b&&!o.details),[B,$]=_t(n),{modelValue:R,...F}=je.filterProps(t),h=Co(t);return e.createVNode(je,e.mergeProps({ref:v,modelValue:i.value,"onUpdate:modelValue":S=>i.value=S,class:["v-textarea v-text-field",{"v-textarea--prefixed":t.prefix,"v-textarea--suffixed":t.suffix,"v-text-field--prefixed":t.prefix,"v-text-field--suffixed":t.suffix,"v-textarea--auto-grow":t.autoGrow,"v-textarea--no-resize":t.noResize||t.autoGrow,"v-input--plain-underlined":A.value},t.class],style:t.style},B,F,{centerAffix:L.value===1&&!A.value,focused:u.value}),{...o,default:S=>{let{id:x,isDisabled:_,isDirty:z,isReadonly:O,isValid:q}=S;return e.createVNode(fl,e.mergeProps({ref:m,style:{"--v-textarea-control-height":g.value},onClick:w,onMousedown:P,"onClick:clear":M,"onClick:prependInner":t["onClick:prependInner"],"onClick:appendInner":t["onClick:appendInner"]},h,{id:x.value,active:y.value||z.value,centerAffix:L.value===1&&!A.value,dirty:z.value||t.dirty,disabled:_.value,focused:u.value,error:q.value===!1}),{...o,default:T=>{let{props:{class:W,...D}}=T;return e.createVNode(e.Fragment,null,[t.prefix&&e.createVNode("span",{class:"v-text-field__prefix"},[t.prefix]),e.withDirectives(e.createVNode("textarea",e.mergeProps({ref:p,class:W,value:i.value,onInput:E,autofocus:t.autofocus,readonly:O.value,disabled:_.value,placeholder:t.placeholder,rows:t.rows,name:t.name,onFocus:C,onBlur:s},D,$),null),[[e.resolveDirective("intersect"),{handler:f},null,{once:!0}]]),t.autoGrow&&e.withDirectives(e.createVNode("textarea",{class:[W,"v-textarea__sizer"],id:`${D.id}-sizer`,"onUpdate:modelValue":j=>i.value=j,ref:N,readonly:!0,"aria-hidden":"true"},null),[[e.vModelText,i.value]]),t.suffix&&e.createVNode("span",{class:"v-text-field__suffix"},[t.suffix])])}})},details:I?S=>{var x;return e.createVNode(e.Fragment,null,[(x=o.details)==null?void 0:x.call(o,S),b&&e.createVNode(e.Fragment,null,[e.createVNode("span",null,null),e.createVNode(ho,{active:t.persistentCounter||u.value,value:r.value,max:d.value},o.counter)])])}:void 0})}),gn({},v,m,p)}}),So=e.defineComponent({__name:"BooleanIcons",props:e.mergeModels({iconFalseColor:{},iconFalseTitle:{},iconTrueColor:{},iconTrueTitle:{},iconFalse:{},iconTrue:{}},{modelValue:{}}),emits:["update:modelValue"],setup(t){const l=t,n=e.inject(Symbol.for("vuetify:icons")),a=e.useModel(t,"modelValue"),o=e.computed(()=>Te({icon:l.iconFalse,iconOptions:n,name:"false"})),i=e.computed(()=>Te({icon:l.iconTrue,iconOptions:n,name:"true"}));return(u,c)=>a.value?(e.openBlock(),e.createBlock(e.unref(ue),{key:0,class:"v-inline-fields--boolean-icons fa-fw",color:u.iconTrueColor,icon:e.unref(i),size:"x-small",title:u.iconTrueTitle},null,8,["color","icon","title"])):(e.openBlock(),e.createBlock(e.unref(ue),{key:1,class:"v-inline-fields--boolean-icons fa-fw",color:u.iconFalseColor,icon:e.unref(o),size:"x-small",title:u.iconFalseTitle},null,8,["color","icon","title"]))}}),Z="v-inline-fields",gt=t=>{const{cell:l=!1,field:n="",density:a="",disabled:o=!1,iconSet:i="mdi",loading:u=!1,loadingWait:c,tableField:s=!1,variant:r}=t,d=a&&r;return{[`${Z}`]:!0,[`${Z}--container`]:!0,[`${Z}--container-cell`]:l,[`${Z}--container-disabled`]:e.unref(o),[`${Z}--container-table`]:s,[`${Z}--container-icon-set-${i}`]:!0,[`${Z}--container-loading`]:u&&c,[`${Z}--container-${n}`]:!0,[`${Z}--container-${n}-${a}`]:!0,[`${Z}--container-${n}-${a}-${r}`]:d,[`${Z}--container-${n}-${r}`]:r,[`${Z}--container-${n}-${r}-${a}`]:d,[`${Z}--container-${a}`]:a,[`${Z}--container-${a}-${n}`]:a,[`${Z}--container-${a}-${r}`]:d,[`${Z}--container-${r}`]:r,[`${Z}--container-${r}-${a}`]:d,[`${Z}--container-${r}-${n}`]:r}},pt=t=>{const{cell:l=!1,cellUnderlineFullWidth:n=!0,field:a="",density:o=""}=t;return{[`${Z}--display-container-cell`]:l,[`${Z}--display-container-cell-underline-full-width`]:l&&n,[`${Z}--display-container`]:!0,[`${Z}--display-wrapper-value`]:!0,[`${a}`]:!0,"v-input":!0,[`v-input--density-${o}`]:!0,"v-input--horizontal":!0}},pn=t=>{const{density:l="",variant:n=""}=t;return{"v-input":!0,"v-input--dirty":!0,"v-input--horizontal":!0,"v-text-field":!0,[`v-input--density-${l}`]:!0,[`v-text-field--plain-${n}`]:!0}},Vo=t=>{const{density:l=""}=t;return{[`${Z}--selection-control`]:!0,[`v-selection-control--density-${l}`]:!0}},ml=(t,l,n)=>{const{error:a=!1,empty:o=!1}=n;return{[`${Z}`]:!0,[`${Z}--display-value-${t}`]:!0,[`${Z}--display-value`]:!0,[`${Z}--display-value-empty`]:e.unref(o),[`text-${l}`]:!e.unref(a),"text-danger":e.unref(a)}},ht=t=>{const{name:l,active:n=!1}=t;return{[`${Z}`]:!0,[`${Z}--field`]:!0,[`${Z}--field-${l}`]:!0,[`${Z}--field-active`]:n}},Ct=t=>{const{name:l,showField:n}=t;return{[`${Z}--card-container`]:!0,[`${Z}--card-container-${l}`]:!0,"d-none":!n}};function sa(t){if(!t)return 100;if(t.toString().includes(".")){const l=100*Number(t);return l>=100?100:l}return Number(t)>=100?100:Number(t)}function ca(t){let l=function(f){const v={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 m=f;return Object.entries(v).forEach(([g,p])=>{f.toLowerCase()!=g.toLowerCase()||(m=p)}),m}(t),n=0,a=0,o=0,i=100,u=0,c=0,s=0;if(l.substring(0,1)==="#")l=function(f){let v=f.replace("#","");v.length===3&&(v=v.split("").map(C=>C+C).join(""));const m=parseInt(v.substring(0,2),16),g=parseInt(v.substring(2,4),16),p=parseInt(v.substring(4,6),16);return[m,g,p,100]}(l);else if(l.includes("rgb"))l=[...l.matchAll(/[\d+.\d+]+/g)].map(Number);else if(l.includes("hsl"))return l=[...l.matchAll(/[\d+.\d+]+/g)].map(String),n=l[0],a=l[1],o=l[2],i=sa(l[3]),`${n} ${a}% ${o}% / ${i}%`;[u,c,s,i]=l,u/=255,c/=255,s/=255,i=sa(i);const r=Math.max(u,c,s),d=Math.min(u,c,s);if(r===null||!d===null||isNaN(r)||isNaN(d)){const f="0 0% 100% / 12%";return console.warn(`[VuetifyInlineFields: The "color" prop value using "${l}" doesn't exist. Using the value "hsl(${f})" in it's place.`),f}if(n=(r+d)/2,a=(r+d)/2,o=(r+d)/2,r==d)n=a=0;else{const f=r-d;switch(a=o>.5?f/(2-r-d):f/(r+d),r){case u:n=(c-s)/f+(c{if(function(a){return a==="transparent"||a==="none"||a==="inherit"||a==="currentColor"||a==="initial"||a==="unset"}(t))return t;if(function(a){return a.includes("--v-theme")}(t))return`rgb(var(${t}))`;const n=function(a,o){const i=o.global.current.value.colors;return Object.entries(i).find(([u])=>u===a)}(t,l);return n?`hsl(${ca(n[1])})`:`hsl(${ca(t)})`},kt=t=>{const{str:l,unit:n="px"}=t;if(l!=null&&l!=="")return+l?`${Number(l)}${n}`:String(l)},Io=t=>{var o;const{modelValue:l,trueValue:n}=t,a=e.unref(l);return((o=a==null?void 0:a.toLowerCase)==null?void 0:o.call(a))==="true"||a==="1"||a=="1"||a===!0||a==n||a===n},yl=t=>{const{underlineStyle:l,underlineWidth:n,color:a,error:o,theme:i,underlined:u}=t;let{underlineColor:c}=t;c=c||a;const s={"border-bottom-color":Br(c,i),"border-bottom-style":l,"border-bottom-width":n};return e.unref(o)&&(s["border-bottom-color"]="rgb(var(--v-theme-danger))"),u||(s["border-bottom"]="none"),s},Xe=t=>{const{cardMinWidth:l,cardOffsetX:n,cardOffsetY:a,cardWidth:o,field:i,name:u=""}=t,c=(d=>{const{cardOffsetX:f,cardOffsetY:v,field:m}=d;if(!m)return{bottom:0,height:0,left:0,right:0,top:0,width:0,x:0,y:0};const{x:g,y:p}=m.getBoundingClientRect(),{width:y,height:C}=m.getBoundingClientRect(),{right:w,bottom:P}=m.getBoundingClientRect();return{bottom:kt({str:P+Number(v)}),height:C,left:kt({str:0+Number(f)}),right:kt({str:w+Number(f)}),top:kt({str:2+Number(v)}),width:kt({str:y}),x:g,y:p}})({cardOffsetX:n,cardOffsetY:a,field:i});let s=l,r=o;return r||(r=u==="checkbox"?"fit-content":c.width),s||(s=u==="checkbox"?"fit-content":c.width),{left:c.left,top:c.top,width:r,zIndex:10}},hn=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},valueColor:{}},emits:["toggleField"],setup(t,{emit:l}){const n=l,a=t,o=e.useSlots(),i=Kn.useTheme(),u={displayValue:a.displayValue,empty:a.empty,error:a.error},c=e.computed(()=>ml(a.field,a.valueColor,{empty:a.empty,error:a.error})),s=e.computed(()=>yl({color:a.color,error:a.error,theme:i,underlineColor:a.underlineColor,underlineStyle:a.underlineStyle,underlineWidth:a.underlineWidth,underlined:a.underlined})),r=e.computed(()=>(v=>{const{underlineWidth:m}=v;return{borderBottom:`${m||"0px"} solid transparent`}})({underlineWidth:a.underlineWidth})),d=(v,m=!1)=>(g=>{const{inner:p=!1,position:y}=g;return{[`${Z}--display-icon`]:!p,[`${Z}--display-${y}-icon`]:!p,[`${Z}--display-${y}-inner-icon`]:p,"me-1":y==="prepend","ms-1":y==="append"}})({inner:m,position:v});function f(){n("toggleField")}return(v,m)=>(e.openBlock(),e.createElementBlock("div",{class:"v-inline-fields--display-wrapper",onClick:f},[v.displayPrependIcon||e.unref(o)["display.prepend"]?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(d("prepend")),style:e.normalizeStyle(e.unref(r))},[e.unref(o)["display.prepend"]?e.renderSlot(v.$slots,"display.prepend",e.normalizeProps(e.mergeProps({key:0},u))):(e.openBlock(),e.createBlock(ue,{key:1,color:v.displayPrependIconColor,icon:v.displayPrependIcon,size:"x-small"},null,8,["color","icon"]))],6)):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(["d-inline-flex",e.unref(c)]),style:e.normalizeStyle(e.unref(s))},[v.displayPrependInnerIcon||e.unref(o)["display.prependInner"]?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(d("prepend",!0))},[e.unref(o)["display.prependInner"]?e.renderSlot(v.$slots,"display.prependInner",e.normalizeProps(e.mergeProps({key:0},u))):(e.openBlock(),e.createBlock(ue,{key:1,color:v.displayPrependInnerIconColor,icon:v.displayPrependInnerIcon,size:"x-small"},null,8,["color","icon"]))],2)):e.createCommentVNode("",!0),e.createTextVNode(" "+e.toDisplayString(v.displayValue)+" ",1),v.displayAppendInnerIcon||e.unref(o)["display.appendInner"]?(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(d("append",!0))},[e.unref(o)["display.appendInner"]?e.renderSlot(v.$slots,"display.appendInner",e.normalizeProps(e.mergeProps({key:0},u))):(e.openBlock(),e.createBlock(ue,{key:1,color:v.displayAppendInnerIconColor,icon:v.displayAppendInnerIcon,size:"x-small"},null,8,["color","icon"]))],2)):e.createCommentVNode("",!0)],6),v.displayAppendIcon||e.unref(o)["display.append"]?(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(d("append")),style:e.normalizeStyle(e.unref(r))},[e.unref(o)["display.append"]?e.renderSlot(v.$slots,"display.append",e.normalizeProps(e.mergeProps({key:0},u))):(e.openBlock(),e.createBlock(ue,{key:1,color:v.displayAppendIconColor,icon:v.displayAppendIcon,size:"x-small"},null,8,["color","icon"]))],6)):e.createCommentVNode("",!0)]))}}),bt=e.defineComponent({__name:"SaveFieldButtons",props:{loading:{type:Boolean},cancelButtonColor:{},cancelButtonSize:{},cancelButtonVariant:{},cancelButtonTitle:{},cancelIconColor:{},error:{type:Boolean},fieldOnly:{type:Boolean},hideCancelIcon:{type:Boolean},hideSaveIcon:{type:Boolean},cancelIcon:{},loadingIcon:{},loadingIconColor:{},saveButtonColor:{},saveButtonSize:{},saveButtonTitle:{},saveButtonVariant:{},saveIconColor:{},saveIcon:{}},emits:["close","save"],setup(t,{emit:l}){const n=e.useAttrs(),a=l,o=t,i=e.inject(Symbol.for("vuetify:icons")),u=e.computed(()=>o.error),c=e.computed(()=>({[`${Z}--save-fields-container`]:!0})),s=e.computed(()=>o.loading),r=e.reactive({...n,...o}),d=e.computed(()=>(i==null?void 0:i.defaultSet)==="fa"?"fa-spin":(i==null?void 0:i.defaultSet)==="mdi"?"mdi-spin":""),f=e.computed(()=>(C=>{const{cancelButtonVariant:w}=C;return{"me-1":w==="elevated","ms-1":!0}})({cancelButtonVariant:r.cancelButtonVariant})),v=e.computed(()=>Te({icon:o.cancelIcon,iconOptions:i,name:"false"})),m=e.computed(()=>Te({icon:o.loadingIcon,iconOptions:i,name:"loading"})),g=e.computed(()=>Te({icon:o.saveIcon,iconOptions:i,name:"save"}));function p(){a("close")}function y(){a("save")}return(C,w)=>(e.openBlock(),e.createElementBlock("div",e.mergeProps({class:e.unref(c)},C.$attrs),[e.unref(r).hideSaveIcon?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(Kl,{key:0,class:"ms-1",color:e.unref(r).saveButtonColor,disabled:e.unref(u),icon:"",size:e.unref(r).saveButtonSize,title:e.unref(s)?"Loading":e.unref(r).saveButtonTitle,variant:e.unref(r).saveButtonVariant,onClick:y},{default:e.withCtx(()=>[e.unref(s)?(e.openBlock(),e.createBlock(ue,{key:1,class:e.normalizeClass(e.unref(d)),color:e.unref(r).loadingIconColor,icon:e.unref(m)},null,8,["class","color","icon"])):(e.openBlock(),e.createBlock(ue,{key:0,color:e.unref(u)?"error":e.unref(r).saveIconColor,icon:e.unref(g)},null,8,["color","icon"]))]),_:1},8,["color","disabled","size","title","variant"])),e.unref(r).hideCancelIcon?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(Kl,{key:1,class:e.normalizeClass(e.unref(f)),color:e.unref(r).cancelButtonColor,icon:"",size:e.unref(r).cancelButtonSize,title:e.unref(r).cancelButtonTitle,variant:e.unref(r).cancelButtonVariant,onClick:p},{default:e.withCtx(()=>[e.unref(r).hideSaveIcon&&e.unref(s)?(e.openBlock(),e.createBlock(ue,{key:0,class:e.normalizeClass(e.unref(d)),color:e.unref(r).loadingIconColor,icon:e.unref(m)},null,8,["class","color","icon"])):(e.openBlock(),e.createBlock(ue,{key:1,class:"text-default",color:e.unref(r).cancelIconColor,icon:e.unref(v)},null,8,["color","icon"]))]),_:1},8,["class","color","size","title","variant"]))],16))}}),Cn=t=>{const{required:l,rules:n}=t;let{value:a}=t;a=e.unref(a);const o=[];let i=!1;if(l&&!a)return o.push("Field is required."),{errors:!0,results:o};if(n){for(const u of n){const c=(typeof u=="function"?u:()=>u)(a);c!==!0&&(typeof c=="string"?o.push(c):console.warn(`${c} is not a valid value. Rule functions must return boolean true or a string.`))}i=o.length>0}return{errors:i,results:o}},St=t=>{const{attrs:l,closeSiblings:n,fieldOnly:a,props:o,showField:i,timeOpened:u}=t;let c=u;return n&&!a&&(c=new Date),{settings:{...l,...o},showField:!e.unref(i),timeOpened:c}},gl=t=>{const{length:l=0}=t;let{suffix:n,text:a}=t;return a=a.toString(),n=n||"...",a.length>l?`${a.substring(0,l)}${n}`:a},Vt=["error","update","update:closeSiblingFields","update:model-value"],wr=["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"],Ht=t=>{let l=t;return l=Object.entries(l).filter(([n])=>!wr.includes(n)),Object.fromEntries(l)},kr={class:"v-selection-control__wrapper"},Gn=e.defineComponent({__name:"VInlineCheckbox",props:e.mergeModels(e.mergeDefaults({density:{},falseIcon:{},trueIcon:{},cancelButtonColor:{},cancelButtonSize:{},cancelButtonTitle:{},cancelButtonVariant:{},cancelIcon:{},cancelIconColor:{},cardField:{type:Boolean},cardOffsetX:{},cardOffsetY:{},cardProps:{},cell:{type:Boolean},cellUnderlineFullWidth:{type:Boolean},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},hideCancelIcon:{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:{}},{...No}),{modelValue:{}}),emits:e.mergeModels([...Vt],["update:modelValue"]),setup(t,{emit:l}){const n=e.useModel(t,"modelValue"),a=e.useAttrs(),o=e.useSlots(),i=l,u=e.inject(Ge,{}),c=e.inject(Symbol.for("vuetify:icons")),s=Kn.useTheme(),r=t;let d=e.reactive({...a,...r,...u});const{cancelButtonColor:f,cancelButtonSize:v,cancelButtonTitle:m,cancelButtonVariant:g,cancelIcon:p,cancelIconColor:y,cardField:C,closeSiblings:w,color:P,fieldOnly:M,hideCancelIcon:E,hideDetails:N,loadingIcon:L,loadingIconColor:A,saveButtonColor:V,saveButtonSize:k,saveButtonTitle:b,saveButtonVariant:I,saveIcon:B,saveIconColor:$}=e.toRefs(d),R=e.computed(()=>r.disabled),F=e.computed(()=>r.loading),h=e.ref(!1),S=e.ref(!1),x=e.ref(null),_=e.computed(()=>Ht(d)),z=e.computed(()=>({...st,...r.cardProps}));e.watch(()=>F.value,(Q,H)=>{!Q&&H&&S.value&&ye()});const O=e.computed(()=>Te({icon:r.trueIcon,iconOptions:c,name:"checkboxFalse"})),q=e.computed(()=>Te({icon:r.iconTrue,iconOptions:c,name:"checkboxTrue"})),T=e.computed(()=>n.value==d.trueValue),W=e.computed(()=>Io({modelValue:n,trueValue:d.trueValue})),D=e.computed(()=>gt({cell:d.cell&&!S.value,density:d.density,disabled:R.value,field:"v-checkbox",loading:F.value,loadingWait:d.loadingWait,tableField:d.tableField})),j=e.computed(()=>pt({cell:d.cell,cellUnderlineFullWidth:d.cellUnderlineFullWidth,density:d.density,field:"v-checkbox"})),U=Vo({density:d.density}),Y=e.computed(()=>ht({active:S.value,name:"checkbox"})),ne=e.computed(()=>ml("checkbox",d.valueColor,{error:h})),re=e.computed(()=>Ct({name:"checkbox",showField:S.value})),ie=e.computed(()=>({})),Ve=e.computed(()=>yl({color:d.color,error:h,theme:s,underlineColor:d.underlineColor,underlineStyle:d.underlineStyle,underlineWidth:d.underlineWidth,underlined:d.underlined})),me=e.computed(()=>de.value);function ve(){h.value=!1,ye()}const de=e.ref(),pe=e.ref(null),fe=e.ref("body"),Ce=Ao.useWindowSize();function ye(){var H,ce;if(R.value||d.loadingWait&&F.value)return;de.value=Xe({cardMinWidth:(H=d.cardProps)==null?void 0:H.minWidth,cardOffsetX:d.cardOffsetX,cardOffsetY:d.cardOffsetY,cardWidth:(ce=d.cardProps)==null?void 0:ce.width,field:pe.value,name:"checkbox"});const Q=St({attrs:a,closeSiblings:w.value,fieldOnly:d.fieldOnly,props:r,showField:S,timeOpened:x.value});d={...d,...Q.settings},S.value=Q.showField,x.value=Q.timeOpened,K!==null&&w.value&&S.value&&!d.fieldOnly&&K.emit(Q.timeOpened)}function le(Q){n.value=Q,i("update",Q),d.loadingWait||ye()}let K,ae;function be(Q){i("update:closeSiblingFields",x),S.value&&x.value!==Q&&ye()}return e.watch(()=>Ce,()=>{var Q,H;de.value=Xe({cardMinWidth:(Q=d.cardProps)==null?void 0:Q.minWidth,cardOffsetX:d.cardOffsetX,cardOffsetY:d.cardOffsetY,cardWidth:(H=d.cardProps)==null?void 0:H.width,field:pe.value,name:"checkbox"})},{deep:!0}),w.value&&import("@vueuse/core").then(({useEventBus:Q})=>{K=Q(rt),ae=K.on(be)}),e.onUnmounted(()=>{ae!==void 0&&K.off(be)}),(Q,H)=>(e.openBlock(),e.createElementBlock("div",{ref_key:"inlineFieldsContainer",ref:pe,class:e.normalizeClass(e.unref(D)),style:e.normalizeStyle(e.unref(ie))},[!e.unref(S)&&!e.unref(d).fieldOnly||e.unref(C)?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(e.unref(j)),onClick:H[2]||(H[2]=ce=>e.unref(d).cell?ye():void 0)},[e.createElementVNode("div",{class:e.normalizeClass(e.unref(U)),onClick:H[1]||(H[1]=ce=>e.unref(d).cell?void 0:ye())},[e.createElementVNode("div",kr,[Q.icons?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["v-inline-fields--boolean-icons-container",e.unref(ne)]),style:e.normalizeStyle(e.unref(Ve))},[e.createVNode(e.unref(So),{modelValue:e.unref(W),"onUpdate:modelValue":H[0]||(H[0]=ce=>e.isRef(W)?W.value=ce:null),"icon-false":e.unref(d).iconFalse,"icon-false-color":e.unref(d).iconFalseColor,"icon-false-title":e.unref(d).iconFalseTitle,"icon-true":e.unref(d).iconTrue,"icon-true-color":e.unref(d).iconTrueColor,"icon-true-title":e.unref(d).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(ne)]),style:e.normalizeStyle(e.unref(Ve))},e.toDisplayString(e.unref(T)),7))])],2)],2)):e.createCommentVNode("",!0),e.unref(S)||e.unref(M)||e.unref(C)?(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(e.unref(Y))},[(e.openBlock(),e.createBlock(e.Teleport,{disabled:!e.unref(C),to:e.unref(fe)},[e.createVNode(bi,e.mergeProps(e.unref(_),{color:e.unref(P),density:e.unref(d).density,disabled:e.unref(F)||e.unref(R),error:e.unref(h),"false-icon":e.unref(O),"false-value":e.unref(d).falseValue,"hide-details":e.unref(N),label:e.unref(d).label,"model-value":e.unref(W),"true-icon":e.unref(q),"true-value":e.unref(d).trueValue,"onUpdate:modelValue":le}),e.createSlots({_:2},[e.renderList(e.unref(o),(ce,te)=>({name:te,fn:e.withCtx(ge=>[e.renderSlot(Q.$slots,te,e.normalizeProps(e.guardReactiveProps({...ge})))])})),e.unref(o).append?void 0:{name:"append",fn:e.withCtx(()=>[e.createVNode(e.unref(bt),{"cancel-button-color":e.unref(f),"cancel-button-size":e.unref(v),"cancel-button-title":e.unref(m),"cancel-button-variant":e.unref(g),"cancel-icon":e.unref(p),"cancel-icon-color":e.unref(y),error:e.unref(h),"field-only":e.unref(M),"hide-cancel-icon":e.unref(E),"hide-save-icon":!0,loading:e.unref(F),"loading-icon":e.unref(L),"loading-icon-color":e.unref(A),"save-button-color":e.unref(V),"save-button-size":e.unref(k),"save-button-title":e.unref(b),"save-button-variant":e.unref(I),"save-icon":e.unref(B),"save-icon-color":e.unref($),onClose:ve,onSave:le},null,8,["cancel-button-color","cancel-button-size","cancel-button-title","cancel-button-variant","cancel-icon","cancel-icon-color","error","field-only","hide-cancel-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,["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(C)?(e.openBlock(),e.createElementBlock("div",{key:2,class:e.normalizeClass(e.unref(re)),style:e.normalizeStyle(e.unref(me))},[e.createVNode(yt,e.normalizeProps(e.guardReactiveProps(e.unref(z))),{default:e.withCtx(()=>[e.createVNode(Qe,null,{default:e.withCtx(()=>[e.createElementVNode("div",{ref_key:"cardFieldRef",ref:fe},null,512)]),_:1})]),_:1},16)],6)):e.createCommentVNode("",!0)],6))}}),Un=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:{},cell:{type:Boolean},cellUnderlineFullWidth:{type:Boolean},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},hideCancelIcon:{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:{}},{...da}),{modelValue:{}}),emits:e.mergeModels([...Vt],["update:modelValue"]),setup(t,{emit:l}){const n=e.useModel(t,"modelValue"),a=e.useAttrs(),o=e.useSlots(),i=l,u=e.inject(Ge,{}),c=e.inject(Symbol.for("vuetify:icons")),s=t;let r=e.reactive({...a,...s,...u});const{cancelButtonColor:d,cancelButtonSize:f,cancelButtonTitle:v,cancelButtonVariant:m,cancelIcon:g,cancelIconColor:p,cardField:y,closeSiblings:C,fieldOnly:w,hideCancelIcon:P,hideSaveIcon:M,loadingIcon:E,loadingIconColor:N,saveButtonColor:L,saveButtonSize:A,saveButtonTitle:V,saveButtonVariant:k,saveIcon:b,saveIconColor:I}=e.toRefs(r),B=e.computed(()=>s.disabled),$=e.computed(()=>s.loading),R=e.ref(!1),F=e.ref(!1),h=e.ref(!1),S=e.ref(null);let x=n.value;e.watch(()=>$.value,(K,ae)=>{!K&&ae&&h.value&&ve()});const _=e.computed(()=>n.value?(R.value=!1,r.truncateLength?gl({length:r.truncateLength,suffix:r.truncateSuffix,text:n.value}):n.value):(R.value=!0,r.emptyText)),z=e.computed(()=>({...r,loading:$.value,modelValue:n.value,originalValue:x})),O=e.computed(()=>({color:r.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:_.value,empty:R.value,error:F.value,field:"v-text-field",underlineColor:r.underlineColor,underlineStyle:r.underlineStyle,underlineWidth:r.underlineWidth,underlined:r.underlined,valueColor:r.valueColor})),q=e.computed(()=>({...st,...s.cardProps})),T=e.computed(()=>gt({cell:r.cell&&!h.value,density:r.density,disabled:B.value,field:"v-text-field",iconSet:c==null?void 0:c.defaultSet,loading:$.value,loadingWait:r.loadingWait,tableField:r.tableField,variant:r.variant})),W=e.computed(()=>pt({cell:r.cell,cellUnderlineFullWidth:r.cellUnderlineFullWidth,density:r.density,field:"v-text-field"})),D=pn({density:r.density,variant:r.variant}),j=e.computed(()=>ht({active:h.value,name:"text-field"})),U=e.computed(()=>Ct({name:"custom-field",showField:h.value})),Y=e.computed(()=>({})),ne=e.computed(()=>ie.value);function re(){F.value=!1,n.value=x,ve()}const ie=e.ref(),Ve=e.ref(null),me=e.ref("body");function ve(){var ae,be;if(B.value||r.loadingWait&&$.value)return;ie.value=Xe({cardMinWidth:(ae=r.cardProps)==null?void 0:ae.minWidth,cardOffsetX:r.cardOffsetX,cardOffsetY:r.cardOffsetY,cardWidth:(be=r.cardProps)==null?void 0:be.width,field:Ve.value});const K=St({attrs:a,closeSiblings:C.value,fieldOnly:r.fieldOnly,props:s,showField:h,timeOpened:S.value});r={...r,...K.settings},h.value=K.showField,S.value=K.timeOpened,Ce!==null&&C.value&&h.value&&!r.fieldOnly&&Ce.emit(K.timeOpened)}const de=e.ref();function pe(){const K=Cn({required:r.required,rules:r.rules,value:n});return F.value=K.errors,de.value=K.results,K.results}function fe(){F.value?F.value=!0:(x=n.value,i("update",n.value),r.loadingWait||ve())}let Ce,ye;function le(K){i("update:closeSiblingFields",S),h.value&&S.value!==K&&re()}return e.watch(()=>h.value,()=>{h.value&&pe()}),e.watch(()=>n.value,()=>{h.value&&pe()}),C.value&&import("@vueuse/core").then(({useEventBus:K})=>{Ce=K(rt),ye=Ce.on(le)}),e.onUnmounted(()=>{ye!==void 0&&Ce.off(le)}),(K,ae)=>(e.openBlock(),e.createElementBlock("div",{ref_key:"inlineFieldsContainer",ref:Ve,class:e.normalizeClass(e.unref(T)),style:e.normalizeStyle(e.unref(Y))},[!e.unref(h)&&!e.unref(r).fieldOnly||e.unref(y)?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(e.unref(W))},[e.createElementVNode("div",{class:e.normalizeClass(e.unref(D))},[e.createVNode(e.unref(hn),e.mergeProps(e.unref(O),{onToggleField:ve}),e.createSlots({_:2},[e.renderList(e.unref(o),(be,Q)=>({name:Q,fn:e.withCtx(H=>[e.renderSlot(K.$slots,Q,e.normalizeProps(e.guardReactiveProps({...H})))])}))]),1040)],2)],2)):e.createCommentVNode("",!0),e.unref(h)||e.unref(r).fieldOnly||e.unref(y)?(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(["d-flex align-center py-2",e.unref(j)])},[(e.openBlock(),e.createBlock(e.Teleport,{disabled:!e.unref(y),to:e.unref(me)},[e.renderSlot(K.$slots,"default",e.normalizeProps(e.guardReactiveProps(e.unref(z)))),e.createVNode(e.unref(bt),{"cancel-button-color":e.unref(d),"cancel-button-size":e.unref(f),"cancel-button-title":e.unref(v),"cancel-button-variant":e.unref(m),"cancel-icon":e.unref(g),"cancel-icon-color":e.unref(p),error:e.unref(F),"field-only":e.unref(w),"hide-cancel-icon":e.unref(P),"hide-save-icon":e.unref(M),loading:e.unref($),"loading-icon":e.unref(E),"loading-icon-color":e.unref(N),"save-button-color":e.unref(L),"save-button-size":e.unref(A),"save-button-title":e.unref(V),"save-button-variant":e.unref(k),"save-icon":e.unref(b),"save-icon-color":e.unref(I),onClose:re,onSave:fe},null,8,["cancel-button-color","cancel-button-size","cancel-button-title","cancel-button-variant","cancel-icon","cancel-icon-color","error","field-only","hide-cancel-icon","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"])],8,["disabled","to"]))],2)):e.createCommentVNode("",!0),e.unref(y)?(e.openBlock(),e.createElementBlock("div",{key:2,class:e.normalizeClass(e.unref(U)),style:e.normalizeStyle(e.unref(ne))},[e.createVNode(yt,e.normalizeProps(e.guardReactiveProps(e.unref(q))),{default:e.withCtx(()=>[e.createVNode(Qe,null,{default:e.withCtx(()=>[e.createElementVNode("div",{ref_key:"cardFieldRef",ref:me},null,512)]),_:1})]),_:1},16)],6)):e.createCommentVNode("",!0)],6))}}),Hn=((t,l)=>{const n=t.__vccOpts||t;for(const[a,o]of l)n[a]=o;return n})(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:{},cell:{type:Boolean},cellUnderlineFullWidth:{type:Boolean},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},hideCancelIcon:{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:{}},{...To}),{modelValue:{}}),emits:e.mergeModels([...Vt],["update:modelValue"]),setup(t,{emit:l}){const n=e.useModel(t,"modelValue"),a=e.useAttrs(),o=e.useSlots(),i=l,u=e.inject(Ge,{}),c=e.inject(Symbol.for("vuetify:icons")),s=t;let r=e.reactive({...a,...s,...u});const{cancelButtonColor:d,cancelButtonSize:f,cancelButtonTitle:v,cancelButtonVariant:m,cancelIcon:g,cancelIconColor:p,cardField:y,closeSiblings:C,color:w,fieldOnly:P,hideCancelIcon:M,hideDetails:E,hideSaveIcon:N,loadingIcon:L,loadingIconColor:A,saveButtonColor:V,saveButtonSize:k,saveButtonTitle:b,saveButtonVariant:I,saveIcon:B,saveIconColor:$,valueColor:R}=e.toRefs(r),F=e.computed(()=>s.disabled),h=e.computed(()=>s.loading),S=e.ref(!1),x=e.ref(!1),_=e.ref(),z=e.ref(!1),O=e.ref(null);let q=n.value;e.watch(()=>h.value,(te,ge)=>{!te&&ge&&z.value&&ye()});const T=e.computed(()=>Te({icon:s.clearIcon,iconOptions:c,name:"clear"})),W=e.computed(()=>n.value&&n.value[r.itemTitle]?(S.value=!1,n.value[r.itemTitle]):n.value?n.value:(S.value=!0,r.emptyText)),D=e.computed(()=>Ht(r)),j=e.computed(()=>({color:r.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:W.value,empty:S.value,error:x.value,field:"v-text-field",underlineColor:r.underlineColor,underlineStyle:r.underlineStyle,underlineWidth:r.underlineWidth,underlined:r.underlined,valueColor:R.value})),U=e.computed(()=>({...st,...s.cardProps}));e.watchEffect(()=>{_.value=r.items||[]});const Y=e.computed(()=>gt({cell:r.cell&&!z.value,density:r.density,disabled:F.value,field:"v-select",iconSet:c==null?void 0:c.defaultSet,loading:h.value,loadingWait:r.loadingWait,tableField:r.tableField,variant:r.variant})),ne=e.computed(()=>pt({cell:r.cell,cellUnderlineFullWidth:r.cellUnderlineFullWidth,density:r.density,field:"v-select"})),re=pn({density:r.density,variant:r.variant}),ie=e.computed(()=>ht({active:z.value,name:"select"})),Ve=e.computed(()=>Ct({name:"select",showField:z.value})),me=e.computed(()=>({})),ve=e.computed(()=>pe.value);function de(){x.value=!1,n.value=q,ye()}const pe=e.ref(),fe=e.ref(null),Ce=e.ref("body");function ye(){var ge,we;if(F.value||r.loadingWait&&h.value)return;pe.value=Xe({cardMinWidth:(ge=r.cardProps)==null?void 0:ge.minWidth,cardOffsetX:r.cardOffsetX,cardOffsetY:r.cardOffsetY,cardWidth:(we=r.cardProps)==null?void 0:we.width,field:fe.value});const te=St({attrs:a,closeSiblings:C.value,fieldOnly:r.fieldOnly,props:s,showField:z,timeOpened:O.value});r={...r,...te.settings},z.value=te.showField,O.value=te.timeOpened,Q!==null&&C.value&&z.value&&!r.fieldOnly&&Q.emit(te.timeOpened)}const le=e.ref(),K=e.computed(()=>le.value);function ae(){const te=Cn({required:r.required,rules:r.rules,value:n});return x.value=te.errors,le.value=te.results,te.results}function be(){q=n.value,i("update",n.value),r.loadingWait||ye()}let Q,H;function ce(te){i("update:closeSiblingFields",O),z.value&&O.value!==te&&de()}return e.watch(()=>z.value,()=>{z.value&&ae()}),e.watch(()=>n.value,()=>{z.value&&ae()}),C.value&&import("@vueuse/core").then(({useEventBus:te})=>{Q=te(rt),H=Q.on(ce)}),e.onUnmounted(()=>{H!==void 0&&Q.off(ce)}),(te,ge)=>(e.openBlock(),e.createElementBlock("div",{ref_key:"inlineFieldsContainer",ref:fe,class:e.normalizeClass(e.unref(Y)),style:e.normalizeStyle(e.unref(me))},[!e.unref(z)&&!e.unref(r).fieldOnly||e.unref(y)?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(e.unref(ne))},[e.createElementVNode("div",{class:e.normalizeClass(e.unref(re))},[e.createVNode(e.unref(hn),e.mergeProps(e.unref(j),{onToggleField:ye}),e.createSlots({_:2},[e.renderList(e.unref(o),(we,It)=>({name:It,fn:e.withCtx(bn=>[e.renderSlot(te.$slots,It,e.normalizeProps(e.guardReactiveProps({...bn})),void 0,!0)])}))]),1040)],2)],2)):e.createCommentVNode("",!0),e.unref(z)||e.unref(r).fieldOnly||e.unref(y)?(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(e.unref(ie))},[(e.openBlock(),e.createBlock(e.Teleport,{disabled:!e.unref(y),to:e.unref(Ce)},[e.createVNode(fr,e.mergeProps(e.unref(D),{modelValue:n.value,"onUpdate:modelValue":ge[0]||(ge[0]=we=>n.value=we),autofocus:!e.unref(r).fieldOnly||e.unref(r).autofocus,"clear-icon":e.unref(T),clearable:e.unref(r).clearable,color:e.unref(w),density:e.unref(r).density,disabled:e.unref(h)||e.unref(F),error:e.unref(x),"error-messages":e.unref(K),"hide-details":e.unref(E),"hide-selected":e.unref(r).hideSelected,"item-title":e.unref(r).itemTitle,"item-value":e.unref(r).itemValue,items:e.unref(_),label:e.unref(r).label,loading:e.unref(h),menu:e.unref(r).menu&&!e.unref(r).fieldOnly&&e.unref(z),variant:e.unref(r).variant,width:"100%",onKeyup:e.withKeys(de,["esc"])}),e.createSlots({_:2},[e.renderList(e.unref(o),(we,It)=>({name:It,fn:e.withCtx(bn=>[e.renderSlot(te.$slots,It,e.normalizeProps(e.guardReactiveProps({...bn})),void 0,!0)])})),e.unref(o).append?void 0:{name:"append",fn:e.withCtx(()=>[e.createVNode(e.unref(bt),{"cancel-button-color":e.unref(d),"cancel-button-size":e.unref(f),"cancel-button-title":e.unref(v),"cancel-button-variant":e.unref(m),"cancel-icon":e.unref(g),"cancel-icon-color":e.unref(p),error:e.unref(x),"field-only":e.unref(P),"hide-cancel-icon":e.unref(M),"hide-save-icon":e.unref(N),loading:e.unref(h),"loading-icon":e.unref(L),"loading-icon-color":e.unref(A),"save-button-color":e.unref(V),"save-button-size":e.unref(k),"save-button-title":e.unref(b),"save-button-variant":e.unref(I),"save-icon":e.unref(B),"save-icon-color":e.unref($),onClose:de,onSave:be},null,8,["cancel-button-color","cancel-button-size","cancel-button-title","cancel-button-variant","cancel-icon","cancel-icon-color","error","field-only","hide-cancel-icon","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"])],8,["disabled","to"]))],2)):e.createCommentVNode("",!0),e.unref(y)?(e.openBlock(),e.createElementBlock("div",{key:2,class:e.normalizeClass(e.unref(Ve)),style:e.normalizeStyle(e.unref(ve))},[e.createVNode(yt,e.normalizeProps(e.guardReactiveProps(e.unref(U))),{default:e.withCtx(()=>[e.createVNode(Qe,null,{default:e.withCtx(()=>[e.createElementVNode("div",{ref_key:"cardFieldRef",ref:Ce},null,512)]),_:1})]),_:1},16)],6)):e.createCommentVNode("",!0)],6))}}),[["__scopeId","data-v-0716e076"]]),xr={class:"v-selection-control__wrapper"},qn=e.defineComponent({__name:"VInlineSwitch",props:e.mergeModels(e.mergeDefaults({density:{},falseIcon:{},cancelButtonColor:{},cancelButtonSize:{},cancelButtonTitle:{},cancelButtonVariant:{},cancelIcon:{},cancelIconColor:{},cardField:{type:Boolean},cardOffsetX:{},cardOffsetY:{},cardProps:{},cell:{type:Boolean},cellUnderlineFullWidth:{type:Boolean},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},hideCancelIcon:{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:{}},{...Eo}),{modelValue:{}}),emits:e.mergeModels([...Vt],["update:modelValue"]),setup(t,{emit:l}){const n=e.useModel(t,"modelValue"),a=e.useAttrs(),o=e.useSlots(),i=l,u=e.inject(Ge,{}),c=Kn.useTheme(),s=t;let r=e.reactive({...a,...s,...u});const{cancelButtonColor:d,cancelButtonSize:f,cancelButtonTitle:v,cancelButtonVariant:m,cancelIcon:g,cancelIconColor:p,cardField:y,closeSiblings:C,color:w,fieldOnly:P,hideCancelIcon:M,hideDetails:E,loadingIcon:N,loadingIconColor:L,saveButtonColor:A,saveButtonSize:V,saveButtonTitle:k,saveButtonVariant:b,saveIcon:I,saveIconColor:B}=e.toRefs(r),$=e.computed(()=>s.disabled),R=e.computed(()=>s.loading),F=e.ref(!1),h=e.ref(!1),S=e.ref(null),x=e.computed(()=>Ht(r)),_=e.computed(()=>({...st,...s.cardProps}));e.watch(()=>R.value,(le,K)=>{!le&&K&&h.value&&de()});const z=e.computed(()=>n.value==r.trueValue),O=e.computed(()=>Io({modelValue:n,trueValue:r.trueValue})),q=e.computed(()=>gt({cell:r.cell&&!h.value,density:r.density,disabled:$.value,field:"v-switch",loading:R.value,loadingWait:r.loadingWait,tableField:r.tableField})),T=e.computed(()=>pt({cell:r.cell,cellUnderlineFullWidth:r.cellUnderlineFullWidth,density:r.density,field:"v-switch"})),W=Vo({density:r.density}),D=e.computed(()=>ht({active:h.value,name:"switch"})),j=e.computed(()=>ml("switch",r.valueColor,{error:F})),U=e.computed(()=>Ct({name:"switch",showField:h.value})),Y=e.computed(()=>({})),ne=e.computed(()=>yl({color:r.color,error:F,theme:c,underlineColor:r.underlineColor,underlineStyle:r.underlineStyle,underlineWidth:r.underlineWidth,underlined:r.underlined})),re=e.computed(()=>Ve.value);function ie(){F.value=!1,de()}const Ve=e.ref(),me=e.ref(null),ve=e.ref("body");function de(){var K,ae;if($.value||r.loadingWait&&R.value)return;Ve.value=Xe({cardMinWidth:(K=r.cardProps)==null?void 0:K.minWidth,cardOffsetX:r.cardOffsetX,cardOffsetY:r.cardOffsetY,cardWidth:(ae=r.cardProps)==null?void 0:ae.width,field:me.value});const le=St({attrs:a,closeSiblings:C.value,fieldOnly:r.fieldOnly,props:s,showField:h.value,timeOpened:S.value});r={...r,...le.settings},h.value=le.showField,S.value=le.timeOpened,fe!==null&&C.value&&h.value&&!r.fieldOnly&&fe.emit(le.timeOpened)}function pe(le){n.value=le,i("update",le),r.loadingWait||de()}let fe,Ce;function ye(le){i("update:closeSiblingFields",S),h.value&&S.value!==le&&de()}return C.value&&import("@vueuse/core").then(({useEventBus:le})=>{fe=le(rt),Ce=fe.on(ye)}),e.onUnmounted(()=>{Ce!==void 0&&fe.off(ye)}),(le,K)=>(e.openBlock(),e.createElementBlock("div",{ref_key:"inlineFieldsContainer",ref:me,class:e.normalizeClass(e.unref(q)),style:e.normalizeStyle(e.unref(Y))},[!e.unref(h)&&!e.unref(r).fieldOnly||e.unref(r).cardField?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(e.unref(T)),onClick:K[2]||(K[2]=ae=>e.unref(r).cell?de():void 0)},[e.createElementVNode("div",{class:e.normalizeClass(e.unref(W)),onClick:K[1]||(K[1]=ae=>e.unref(r).cell?void 0:de())},[e.createElementVNode("div",xr,[le.icons?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["v-inline-fields--boolean-icons-container",e.unref(j)]),style:e.normalizeStyle(e.unref(ne))},[e.createVNode(e.unref(So),{modelValue:e.unref(O),"onUpdate:modelValue":K[0]||(K[0]=ae=>e.isRef(O)?O.value=ae:null),"icon-false":e.unref(r).iconFalse,"icon-false-color":e.unref(r).iconFalseColor,"icon-false-title":e.unref(r).iconFalseTitle,"icon-true":e.unref(r).iconTrue,"icon-true-color":e.unref(r).iconTrueColor,"icon-true-title":e.unref(r).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(j)]),style:e.normalizeStyle(e.unref(ne))},e.toDisplayString(e.unref(z)),7))])],2)],2)):e.createCommentVNode("",!0),e.unref(h)||e.unref(r).fieldOnly||e.unref(y)?(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(e.unref(D))},[(e.openBlock(),e.createBlock(e.Teleport,{disabled:!e.unref(y),to:e.unref(ve)},[e.createVNode(Sr,e.mergeProps(e.unref(x),{color:e.unref(w),density:e.unref(r).density,disabled:e.unref(R)||e.unref($),error:e.unref(F),"false-icon":e.unref(r).falseIcon,"false-value":e.unref(r).falseValue,"hide-details":e.unref(E),label:e.unref(r).label,loading:e.unref(R),"model-value":e.unref(O),"true-value":e.unref(r).trueValue,"onUpdate:modelValue":pe}),e.createSlots({_:2},[e.renderList(e.unref(o),(ae,be)=>({name:be,fn:e.withCtx(Q=>[e.renderSlot(le.$slots,be,e.normalizeProps(e.guardReactiveProps({...Q})))])})),e.unref(o).append?void 0:{name:"append",fn:e.withCtx(()=>[e.createVNode(e.unref(bt),{"cancel-button-color":e.unref(d),"cancel-button-size":e.unref(f),"cancel-button-title":e.unref(v),"cancel-button-variant":e.unref(m),"cancel-icon":e.unref(g),"cancel-icon-color":e.unref(p),class:"ms-3",error:e.unref(F),"field-only":e.unref(P),"hide-cancel-icon":e.unref(M),"hide-save-icon":!0,loading:e.unref(R),"loading-icon":e.unref(N),"loading-icon-color":e.unref(L),"save-button-color":e.unref(A),"save-button-size":e.unref(V),"save-button-title":e.unref(k),"save-button-variant":e.unref(b),"save-icon":e.unref(I),"save-icon-color":e.unref(B),onClose:ie,onSave:pe},null,8,["cancel-button-color","cancel-button-size","cancel-button-title","cancel-button-variant","cancel-icon","cancel-icon-color","error","field-only","hide-cancel-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,["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(y)?(e.openBlock(),e.createElementBlock("div",{key:2,class:e.normalizeClass(e.unref(U)),style:e.normalizeStyle(e.unref(re))},[e.createVNode(yt,e.normalizeProps(e.guardReactiveProps(e.unref(_))),{default:e.withCtx(()=>[e.createVNode(Qe,null,{default:e.withCtx(()=>[e.createElementVNode("div",{ref_key:"cardFieldRef",ref:ve},null,512)]),_:1})]),_:1},16)],6)):e.createCommentVNode("",!0)],6))}}),Yn=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:{},cell:{type:Boolean},cellUnderlineFullWidth:{type:Boolean},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},hideCancelIcon:{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:{}},{...da}),{modelValue:{}}),emits:e.mergeModels([...Vt],["update:modelValue"]),setup(t,{emit:l}){const n=e.useModel(t,"modelValue"),a=e.useAttrs(),o=e.useSlots(),i=l,u=e.inject(Ge,{}),c=e.inject(Symbol.for("vuetify:icons")),s=t;let r=e.reactive({...a,...s,...u});const{cancelButtonColor:d,cancelButtonSize:f,cancelButtonTitle:v,cancelButtonVariant:m,cancelIcon:g,cancelIconColor:p,cardField:y,closeSiblings:C,color:w,fieldOnly:P,hideCancelIcon:M,hideDetails:E,hideSaveIcon:N,loadingIcon:L,loadingIconColor:A,saveButtonColor:V,saveButtonSize:k,saveButtonTitle:b,saveButtonVariant:I,saveIcon:B,saveIconColor:$}=e.toRefs(r),R=e.computed(()=>s.disabled),F=e.computed(()=>s.loading),h=e.ref(!1),S=e.ref(!1),x=e.ref(!1),_=e.ref(null);let z=n.value;e.watch(()=>F.value,(H,ce)=>{!H&&ce&&x.value&&fe()});const O=e.computed(()=>Te({icon:s.clearIcon,iconOptions:c,name:"clear"})),q=e.computed(()=>n.value?(h.value=!1,r.truncateLength?gl({length:r.truncateLength,suffix:r.truncateSuffix,text:n.value}):n.value):(h.value=!0,r.emptyText)),T=e.computed(()=>Ht(r)),W=e.computed(()=>({color:r.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:q.value,empty:h.value,error:S.value,field:"v-text-field",underlineColor:r.underlineColor,underlineStyle:r.underlineStyle,underlineWidth:r.underlineWidth,underlined:r.underlined,valueColor:r.valueColor})),D=e.computed(()=>({...st,...s.cardProps})),j=e.computed(()=>gt({cell:r.cell&&!x.value,density:r.density,disabled:R.value,field:"v-text-field",iconSet:c==null?void 0:c.defaultSet,loading:F.value,loadingWait:r.loadingWait,tableField:r.tableField,variant:r.variant})),U=e.computed(()=>pt({cell:r.cell,cellUnderlineFullWidth:r.cellUnderlineFullWidth,density:r.density,field:"v-text-field"})),Y=pn({density:r.density,variant:r.variant}),ne=e.computed(()=>ht({active:x.value,name:"text-field"})),re=e.computed(()=>Ct({name:"text-field",showField:x.value})),ie=e.computed(()=>({})),Ve=e.computed(()=>ve.value);function me(){S.value=!1,n.value=z,fe()}const ve=e.ref(),de=e.ref(null),pe=e.ref("body");function fe(){var ce,te;if(R.value||r.loadingWait&&F.value)return;ve.value=Xe({cardMinWidth:(ce=r.cardProps)==null?void 0:ce.minWidth,cardOffsetX:r.cardOffsetX,cardOffsetY:r.cardOffsetY,cardWidth:(te=r.cardProps)==null?void 0:te.width,field:de.value});const H=St({attrs:a,closeSiblings:C.value,fieldOnly:r.fieldOnly,props:s,showField:x,timeOpened:_.value});r={...r,...H.settings},x.value=H.showField,_.value=H.timeOpened,ae!==null&&C.value&&x.value&&!r.fieldOnly&&ae.emit(H.timeOpened)}const Ce=e.ref(),ye=e.computed(()=>Ce.value);function le(){const H=Cn({required:r.required,rules:r.rules,value:n});return S.value=H.errors,Ce.value=H.results,H.results}function K(){S.value?S.value=!0:(z=n.value,i("update",n.value),r.loadingWait||fe())}let ae,be;function Q(H){i("update:closeSiblingFields",_),x.value&&_.value!==H&&me()}return e.watch(()=>x.value,()=>{x.value&&le()}),e.watch(()=>n.value,()=>{x.value&&le()}),C.value&&import("@vueuse/core").then(({useEventBus:H})=>{ae=H(rt),be=ae.on(Q)}),e.onUnmounted(()=>{be!==void 0&&ae.off(Q)}),(H,ce)=>(e.openBlock(),e.createElementBlock("div",{ref_key:"inlineFieldsContainer",ref:de,class:e.normalizeClass(e.unref(j)),style:e.normalizeStyle(e.unref(ie))},[!e.unref(x)&&!e.unref(r).fieldOnly||e.unref(y)?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(e.unref(U))},[e.createElementVNode("div",{class:e.normalizeClass(e.unref(Y))},[e.createVNode(e.unref(hn),e.mergeProps(e.unref(W),{onToggleField:fe}),e.createSlots({_:2},[e.renderList(e.unref(o),(te,ge)=>({name:ge,fn:e.withCtx(we=>[e.renderSlot(H.$slots,ge,e.normalizeProps(e.guardReactiveProps({...we})))])}))]),1040)],2)],2)):e.createCommentVNode("",!0),e.unref(x)||e.unref(r).fieldOnly||e.unref(y)?(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(e.unref(ne))},[(e.openBlock(),e.createBlock(e.Teleport,{disabled:!e.unref(y),to:e.unref(pe)},[e.createVNode(jn,e.mergeProps(e.unref(T),{modelValue:n.value,"onUpdate:modelValue":ce[0]||(ce[0]=te=>n.value=te),autofocus:!e.unref(r).fieldOnly||e.unref(r).autofocus,"clear-icon":e.unref(O),color:e.unref(w),density:e.unref(r).density,disabled:e.unref(F)||e.unref(R),error:e.unref(S),"error-messages":e.unref(ye),"hide-details":e.unref(E),label:e.unref(r).label,loading:e.unref(F),variant:e.unref(r).variant,width:"100%",onKeyup:[e.withKeys(K,["enter"]),e.withKeys(me,["esc"])]}),e.createSlots({_:2},[e.renderList(e.unref(o),(te,ge)=>({name:ge,fn:e.withCtx(we=>[e.renderSlot(H.$slots,ge,e.normalizeProps(e.guardReactiveProps({...we})))])})),e.unref(o).append?void 0:{name:"append",fn:e.withCtx(()=>[e.createVNode(e.unref(bt),{"cancel-button-color":e.unref(d),"cancel-button-size":e.unref(f),"cancel-button-title":e.unref(v),"cancel-button-variant":e.unref(m),"cancel-icon":e.unref(g),"cancel-icon-color":e.unref(p),error:e.unref(S),"field-only":e.unref(P),"hide-cancel-icon":e.unref(M),"hide-save-icon":e.unref(N),loading:e.unref(F),"loading-icon":e.unref(L),"loading-icon-color":e.unref(A),"save-button-color":e.unref(V),"save-button-size":e.unref(k),"save-button-title":e.unref(b),"save-button-variant":e.unref(I),"save-icon":e.unref(B),"save-icon-color":e.unref($),onClose:me,onSave:K},null,8,["cancel-button-color","cancel-button-size","cancel-button-title","cancel-button-variant","cancel-icon","cancel-icon-color","error","field-only","hide-cancel-icon","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","color","density","disabled","error","error-messages","hide-details","label","loading","variant"])],8,["disabled","to"]))],2)):e.createCommentVNode("",!0),e.unref(y)?(e.openBlock(),e.createElementBlock("div",{key:2,class:e.normalizeClass(e.unref(re)),style:e.normalizeStyle(e.unref(Ve))},[e.createVNode(yt,e.normalizeProps(e.guardReactiveProps(e.unref(D))),{default:e.withCtx(()=>[e.createVNode(Qe,null,{default:e.withCtx(()=>[e.createElementVNode("div",{ref_key:"cardFieldRef",ref:pe},null,512)]),_:1})]),_:1},16)],6)):e.createCommentVNode("",!0)],6))}}),Xn=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:{},cell:{type:Boolean},cellUnderlineFullWidth:{type:Boolean},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},hideCancelIcon:{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:{}},{...Oo}),{modelValue:{}}),emits:e.mergeModels([...Vt],["update:modelValue"]),setup(t,{emit:l}){const n=e.useModel(t,"modelValue"),a=e.useAttrs(),o=e.useSlots(),i=l,u=e.inject(Ge,{}),c=e.inject(Symbol.for("vuetify:icons")),s=t;let r=e.reactive({...a,...s,...u});const{cancelButtonColor:d,cancelButtonSize:f,cancelButtonTitle:v,cancelButtonVariant:m,cancelIcon:g,cancelIconColor:p,cardField:y,closeSiblings:C,color:w,fieldOnly:P,hideCancelIcon:M,hideDetails:E,hideSaveIcon:N,loadingIcon:L,loadingIconColor:A,saveButtonColor:V,saveButtonSize:k,saveButtonTitle:b,saveButtonVariant:I,saveIcon:B,saveIconColor:$}=e.toRefs(r),R=e.computed(()=>s.disabled),F=e.computed(()=>s.loading),h=e.ref(!1),S=e.ref(!1),x=e.ref(!1),_=e.ref(null);let z=n.value;e.watch(()=>F.value,(H,ce)=>{!H&&ce&&x.value&&fe()});const O=e.computed(()=>Te({icon:s.clearIcon,iconOptions:c,name:"clear"})),q=e.computed(()=>n.value?(h.value=!1,r.truncateLength?gl({length:r.truncateLength,suffix:r.truncateSuffix,text:n.value}):n.value):(h.value=!0,r.emptyText)),T=e.computed(()=>Ht(r)),W=e.computed(()=>({color:r.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:q.value,empty:h.value,error:S.value,field:"v-text-field",underlineColor:r.underlineColor,underlineStyle:r.underlineStyle,underlineWidth:r.underlineWidth,underlined:r.underlined,valueColor:r.valueColor})),D=e.computed(()=>({...st,...s.cardProps})),j=e.computed(()=>gt({cell:r.cell&&!x.value,density:r.density,disabled:R.value,field:"v-textarea",iconSet:c==null?void 0:c.defaultSet,loading:F.value,loadingWait:r.loadingWait,tableField:r.tableField,variant:r.variant})),U=e.computed(()=>pt({cell:r.cell,cellUnderlineFullWidth:r.cellUnderlineFullWidth,density:r.density,field:"v-textarea"})),Y=pn({density:r.density,variant:r.variant}),ne=e.computed(()=>ht({active:x.value,name:"textarea"})),re=e.computed(()=>Ct({name:"textarea",showField:x.value})),ie=e.computed(()=>({})),Ve=e.computed(()=>ve.value);function me(){S.value=!1,n.value=z,fe()}const ve=e.ref(),de=e.ref(null),pe=e.ref("body");function fe(){var ce,te;if(R.value||r.loadingWait&&F.value)return;ve.value=Xe({cardMinWidth:(ce=r.cardProps)==null?void 0:ce.minWidth,cardOffsetX:r.cardOffsetX,cardOffsetY:r.cardOffsetY,cardWidth:(te=r.cardProps)==null?void 0:te.width,field:de.value});const H=St({attrs:a,closeSiblings:C.value,fieldOnly:r.fieldOnly,props:s,showField:x,timeOpened:_.value});r={...r,...H.settings},x.value=H.showField,_.value=H.timeOpened,ae!==null&&C.value&&x.value&&!r.fieldOnly&&ae.emit(H.timeOpened)}const Ce=e.ref(),ye=e.computed(()=>Ce.value);function le(){const H=Cn({required:r.required,rules:r.rules,value:n});return S.value=H.errors,Ce.value=H.results,H.results}function K(){z=n.value,i("update",n.value),r.loadingWait||fe()}let ae,be;function Q(H){i("update:closeSiblingFields",_),x.value&&_.value!==H&&me()}return e.watch(()=>x.value,()=>{x.value&&le()}),e.watch(()=>n.value,()=>{x.value&&le()}),C.value&&import("@vueuse/core").then(({useEventBus:H})=>{ae=H(rt),be=ae.on(Q)}),e.onUnmounted(()=>{be!==void 0&&ae.off(Q)}),(H,ce)=>(e.openBlock(),e.createElementBlock("div",{ref_key:"inlineFieldsContainer",ref:de,class:e.normalizeClass(e.unref(j)),style:e.normalizeStyle(e.unref(ie))},[!e.unref(x)&&!e.unref(r).fieldOnly||e.unref(y)?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(e.unref(U))},[e.createElementVNode("div",{class:e.normalizeClass(e.unref(Y))},[e.createVNode(e.unref(hn),e.mergeProps(e.unref(W),{onToggleField:fe}),e.createSlots({_:2},[e.renderList(e.unref(o),(te,ge)=>({name:ge,fn:e.withCtx(we=>[e.renderSlot(H.$slots,ge,e.normalizeProps(e.guardReactiveProps({...we})))])}))]),1040)],2)],2)):e.createCommentVNode("",!0),e.unref(x)||e.unref(r).fieldOnly||e.unref(y)?(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(e.unref(ne))},[(e.openBlock(),e.createBlock(e.Teleport,{disabled:!e.unref(y),to:e.unref(pe)},[e.createVNode(Ir,e.mergeProps(e.unref(T),{modelValue:n.value,"onUpdate:modelValue":ce[0]||(ce[0]=te=>n.value=te),"auto-grow":e.unref(r).autoGrow,autofocus:!e.unref(r).fieldOnly||e.unref(r).autofocus,"clear-icon":e.unref(O),color:e.unref(w),density:e.unref(r).density,disabled:e.unref(F)||e.unref(R),error:e.unref(S),"error-messages":e.unref(ye),"hide-details":e.unref(E),label:e.unref(r).label,loading:e.unref(F),rows:e.unref(r).rows,variant:e.unref(r).variant,width:"100%",onKeyup:e.withKeys(me,["esc"])}),e.createSlots({_:2},[e.renderList(e.unref(o),(te,ge)=>({name:ge,fn:e.withCtx(we=>[e.renderSlot(H.$slots,ge,e.normalizeProps(e.guardReactiveProps({...we})))])})),e.unref(o).append?void 0:{name:"append",fn:e.withCtx(()=>[e.createVNode(e.unref(bt),{"cancel-button-color":e.unref(d),"cancel-button-size":e.unref(f),"cancel-button-title":e.unref(v),"cancel-button-variant":e.unref(m),"cancel-icon":e.unref(g),"cancel-icon-color":e.unref(p),error:e.unref(S),"field-only":e.unref(P),"hide-cancel-icon":e.unref(M),"hide-save-icon":e.unref(N),loading:e.unref(F),"loading-icon":e.unref(L),"loading-icon-color":e.unref(A),"save-button-color":e.unref(V),"save-button-size":e.unref(k),"save-button-title":e.unref(b),"save-button-variant":e.unref(I),"save-icon":e.unref(B),"save-icon-color":e.unref($),onClose:me,onSave:K},null,8,["cancel-button-color","cancel-button-size","cancel-button-title","cancel-button-variant","cancel-icon","cancel-icon-color","error","field-only","hide-cancel-icon","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"])],8,["disabled","to"]))],2)):e.createCommentVNode("",!0),e.unref(y)?(e.openBlock(),e.createElementBlock("div",{key:2,class:e.normalizeClass(e.unref(re)),style:e.normalizeStyle(e.unref(Ve))},[e.createVNode(yt,e.normalizeProps(e.guardReactiveProps(e.unref(D))),{default:e.withCtx(()=>[e.createVNode(Qe,null,{default:e.withCtx(()=>[e.createElementVNode("div",{ref_key:"cardFieldRef",ref:pe},null,512)]),_:1})]),_:1},16)],6)):e.createCommentVNode("",!0)],6))}}),Ge=Symbol(),Fr={VInlineCheckbox:Gn,VInlineCustomField:Un,VInlineSelect:Hn,VInlineSwitch:qn,VInlineTextField:Yn,VInlineTextarea:Xn};exports.VInlineCheckbox=Gn,exports.VInlineCustomField=Un,exports.VInlineSelect=Hn,exports.VInlineSwitch=qn,exports.VInlineTextField=Yn,exports.VInlineTextarea=Xn,exports.createVInlineFields=function(t={}){return l=>{l.provide(Ge,t),l.component("VInlineCheckbox",Gn),l.component("VInlineCustomField",Un),l.component("VInlineSelect",Hn),l.component("VInlineSwitch",qn),l.component("VInlineTextField",Yn),l.component("VInlineTextarea",Xn)}},exports.default=Fr,exports.globalOptions=Ge; + */Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),Kt=require("vuetify"),Aa=require("@vueuse/core"),sn=Symbol("identifier"),un={elevation:5,variant:"flat"},On={cancelButtonColor:"default",cancelButtonSize:"x-small",cancelButtonTitle:"Cancel",cancelButtonVariant:"text",cancelIcon:void 0,cancelIconColor:"default",cardField:!1,cardOffsetX:0,cardOffsetY:0,cardProps:()=>({}),cell:!1,cellUnderlineFullWidth:!0,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,hideCancelIcon:!1,hideDetails:!0,label:"",loading:!1,loadingWait:!0,name:"",tableField:!0,underlineColor:"primary",underlineStyle:"dotted",underlineWidth:"2px",underlined:!0,valueColor:"default"},Jt={autofocus:!0},zn={hideCancelIcon:!1,hideSaveIcon:!1,loadingIcon:void 0,loadingIconColor:"primary",saveButtonColor:"primary",saveButtonSize:"x-small",saveButtonTitle:"Save",saveButtonVariant:"text",saveIcon:void 0,saveIconColor:"primary"},dl={falseValue:!1,iconFalse:void 0,iconFalseColor:"danger",iconFalseTitle:"No",iconTrue:void 0,iconTrueColor:"success",iconTrueTitle:"Yes",icons:!0,trueValue:!0},Pa={...On,...dl,...zn,falseIcon:void 0,icons:!0,trueIcon:void 0},_a={...On,...Jt,...zn,clearIcon:void 0,clearable:!1,hideSelected:!0,itemTitle:"title",itemValue:"value",items:()=>[],menu:!0,variant:"underlined"},Ea={...On,...dl,...zn,icons:!0,falseIcon:""},Oa={...Jt,...zn,...On,autoGrow:!0,rows:1,truncateLength:void 0,truncateSuffix:"...",variant:"underlined"},pl={...On,...Jt,...zn,truncateLength:void 0,truncateSuffix:"...",variant:"underlined"},za={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"}},_e=n=>{const{icon:o,iconOptions:t,name:l}=n;if(o)return o;const a=za[t==null?void 0:t.defaultSet];if(!a)throw new Error(`VInlineFields: No VInlineFields default ${t==null?void 0:t.defaultSet} icon set found for ${l}. Please set the icon prop.`);const r=a[l];if(!r)throw new Error(`VInlineFields: No ${l} icon found. Please set the icon prop, or set the default icon set to 'mdi' or 'fa'`);return r};function U(n,o){return t=>Object.keys(n).reduce((l,a)=>{const r=typeof n[a]=="object"&&n[a]!=null&&!Array.isArray(n[a])?n[a]:{type:n[a]};return l[a]=t&&a in t?{...r,default:t[a]}:r,o&&!l[a].source&&(l[a].source=o),l},{})}const ae=U({class:[String,Array],style:{type:[String,Array,Object],default:null}},"component"),xe=typeof window<"u",Zt=xe&&"IntersectionObserver"in window;function bo(n,o,t){const l=o.length-1;if(l<0)return n===void 0?t:n;for(let a=0;acn(n[l],o[l]))}function Te(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 a=o(n,t);return a===void 0?t:a}if(typeof o=="string")return function(a,r,c){return a!=null&&r&&typeof r=="string"?a[r]!==void 0?a[r]:bo(a,(r=(r=r.replace(/\[(\w+)\]/g,".$1")).replace(/^\./,"")).split("."),c):c}(n,o,t);if(Array.isArray(o))return bo(n,o,t);if(typeof o!="function")return t;const l=o(n,t);return l===void 0?t:l}function J(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 At(n){return n!==null&&typeof n=="object"&&!Array.isArray(n)}function nt(n){if(n&&"$el"in n){const o=n.$el;return(o==null?void 0:o.nodeType)===Node.TEXT_NODE?o.nextElementSibling:o}return n}const Co=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 St(n,o){return o.every(t=>n.hasOwnProperty(t))}function vl(n,o){const t={},l=new Set(Object.keys(n));for(const a of o)l.has(a)&&(t[a]=n[a]);return t}function So(n,o,t){const l=Object.create(null),a=Object.create(null);for(const r in n)o.some(c=>c instanceof RegExp?c.test(r):c===r)&&!(t!=null&&t.some(c=>c===r))?l[r]=n[r]:a[r]=n[r];return[l,a]}function Ke(n,o){const t={...n};return o.forEach(l=>delete t[l]),t}const fl=/^on[^a-z]/,Pt=n=>fl.test(n),Ta=["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 Tn(n){const[o,t]=So(n,[fl]),l=Ke(o,Ta),[a,r]=So(t,["class","style","id",/^data-/]);return Object.assign(a,o),Object.assign(r,l),[a,r]}function $e(n){return n==null?[]:Array.isArray(n)?n:[n]}function ln(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 Io(n,o){return n+(arguments.length>2&&arguments[2]!==void 0?arguments[2]:"0").repeat(Math.max(0,o-n.length))}function tn(){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 a in n)l[a]=n[a];for(const a in o){const r=n[a],c=o[a];At(r)&&At(c)?l[a]=tn(r,c,t):Array.isArray(r)&&Array.isArray(c)&&t?l[a]=t(r,c):l[a]=c}return l}function ml(n){return n.map(o=>o.type===e.Fragment?ml(o.children):o).flat()}function qe(){let n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";if(qe.cache.has(n))return qe.cache.get(n);const o=n.replace(/[^a-z]/gi,"-").replace(/\B([A-Z])/g,"-$1").toLowerCase();return qe.cache.set(n,o),o}function Zn(n,o){if(!o||typeof o!="object")return[];if(Array.isArray(o))return o.map(t=>Zn(n,t)).flat(1);if(Array.isArray(o.children))return o.children.map(t=>Zn(n,t)).flat(1);if(o.component){if(Object.getOwnPropertySymbols(o.component.provides).includes(n))return[o.component];if(o.component.subTree)return Zn(n,o.component.subTree).flat(1)}return[]}function Qt(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 tt(n,o){return n.includes(o)}function Vo(n){return n[2].toLowerCase()+n.slice(3)}qe.cache=new Map;const Ee=()=>[Function,Array];function Bo(n,o){return!!(n[o="on"+e.capitalize(o)]||n[`${o}Once`]||n[`${o}Capture`]||n[`${o}OnceCapture`]||n[`${o}CaptureOnce`])}function yl(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 gl(n,o,t){let l,a=n.indexOf(document.activeElement);const r=o==="next"?1:-1;do a+=r,l=n[a];while((!l||l.offsetParent==null||!((t==null?void 0:t(l))??1))&&a=0);return l}function ot(n,o){var l,a,r,c;const t=_t(n);if(o)if(o==="first")(l=t[0])==null||l.focus();else if(o==="last")(a=t.at(-1))==null||a.focus();else if(typeof o=="number")(r=t[o])==null||r.focus();else{const u=gl(t,o);u?u.focus():ot(n,o==="next"?"first":"last")}else n!==document.activeElement&&n.contains(document.activeElement)||((c=t[0])==null||c.focus())}function lt(n,o){if(!(xe&&typeof CSS<"u"&&CSS.supports!==void 0&&CSS.supports(`selector(${o})`)))return null;try{return!!n&&n.matches(o)}catch{return null}}function hl(n){return n.some(o=>!e.isVNode(o)||o.type!==e.Comment&&(o.type!==e.Fragment||hl(o.children)))?n:null}const bl=["top","bottom"],$a=["start","end","left","right"];function Et(n,o){let[t,l]=n.split(" ");return l||(l=tt(bl,t)?"start":tt($a,t)?"top":"center"),{side:wo(t,o),align:wo(l,o)}}function wo(n,o){return n==="start"?o?"right":"left":n==="end"?o?"left":"right":n}function It(n){return{side:{center:"center",top:"bottom",bottom:"top",left:"right",right:"left"}[n.side],align:n.align}}function Vt(n){return{side:n.side,align:{center:"center",top:"bottom",bottom:"top",left:"right",right:"left"}[n.align]}}function ko(n){return{side:n.align,align:n.side}}function xo(n){return tt(bl,n.side)?"y":"x"}class He{constructor(o){let{x:t,y:l,width:a,height:r}=o;this.x=t,this.y=l,this.width=a,this.height=r}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 Fo(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 Cl(n){return Array.isArray(n)?new He({x:n[0],y:n[1],width:0,height:0}):n.getBoundingClientRect()}function eo(n){const o=n.getBoundingClientRect(),t=getComputedStyle(n),l=t.transform;if(l){let a,r,c,u,s;if(l.startsWith("matrix3d("))a=l.slice(9,-1).split(/, /),r=+a[0],c=+a[5],u=+a[12],s=+a[13];else{if(!l.startsWith("matrix("))return new He(o);a=l.slice(7,-1).split(/, /),r=+a[0],c=+a[3],u=+a[4],s=+a[5]}const i=t.transformOrigin,d=o.x-u-(1-r)*parseFloat(i),v=o.y-s-(1-c)*parseFloat(i.slice(i.indexOf(" ")+1)),p=r?o.width/r:n.offsetWidth+1,f=c?o.height/c:n.offsetHeight+1;return new He({x:d,y:v,width:p,height:f})}return new He(o)}function on(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(a=>{l.onfinish=()=>{a(l)}})),l}const Yn=new WeakMap,nn=2.4,No=.2126729,Ao=.7151522,Po=.072175,Ra=.55,Da=.58,La=.57,Ma=.62,Xn=.03,_o=1.45,Wa=5e-4,ja=1.25,Ua=1.25,Eo=.078,Oo=12.82051282051282,Kn=.06,zo=.001;function To(n,o){const t=(n.r/255)**nn,l=(n.g/255)**nn,a=(n.b/255)**nn,r=(o.r/255)**nn,c=(o.g/255)**nn,u=(o.b/255)**nn;let s,i=t*No+l*Ao+a*Po,d=r*No+c*Ao+u*Po;if(i<=Xn&&(i+=(Xn-i)**_o),d<=Xn&&(d+=(Xn-d)**_o),Math.abs(d-i)i){const v=(d**Ra-i**Da)*ja;s=v-zo?0:v>-Eo?v-v*Oo*Kn:v+Kn}return 100*s}function Fn(n){e.warn(`Vuetify: ${n}`)}function Bt(n){return!!n&&/^(#|var\(--|(rgb|hsl)a?\()/.test(n)}const $o=/^(?(?:rgb|hsl)a?)\((?.+)\)/,Ga={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)=>Ro({h:n,s:o,l:t,a:l}),hsla:(n,o,t,l)=>Ro({h:n,s:o,l:t,a:l}),hsv:(n,o,t,l)=>Nn({h:n,s:o,v:t,a:l}),hsva:(n,o,t,l)=>Nn({h:n,s:o,v:t,a:l})};function wn(n){if(typeof n=="number")return(isNaN(n)||n<0||n>16777215)&&Fn(`'${n}' is not a valid hex color`),{r:(16711680&n)>>16,g:(65280&n)>>8,b:255&n};if(typeof n=="string"&&$o.test(n)){const{groups:o}=n.match($o),{fn:t,values:l}=o,a=l.split(/,\s*/).map(r=>r.endsWith("%")&&["hsl","hsla","hsv","hsva"].includes(t)?parseFloat(r)/100:parseFloat(r));return Ga[t](...a)}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)||Fn(`'${n}' is not a valid hex(a) color`);const t=parseInt(o,16);return(isNaN(t)||t<0||t>4294967295)&&Fn(`'${n}' is not a valid hex(a) color`),function(l){l=function(s){return s.startsWith("#")&&(s=s.slice(1)),s=s.replace(/([^0-9a-f])/gi,"F"),(s.length===3||s.length===4)&&(s=s.split("").map(i=>i+i).join("")),s.length!==6&&(s=Io(Io(s,6),8,"F")),s}(l);let[a,r,c,u]=function(s){let i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;const d=[];let v=0;for(;vparseInt(s,16));return u=u===void 0?u:u/255,{r:a,g:r,b:c,a:u}}(o)}if(typeof n=="object"){if(St(n,["r","g","b"]))return n;if(St(n,["h","s","l"]))return Nn(Sl(n));if(St(n,["h","s","v"]))return Nn(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 Nn(n){const{h:o,s:t,v:l,a}=n,r=u=>{const s=(u+o/60)%6;return l-l*t*Math.max(Math.min(s,4-s,1),0)},c=[r(5),r(3),r(1)].map(u=>Math.round(255*u));return{r:c[0],g:c[1],b:c[2],a}}function Ro(n){return Nn(Sl(n))}function Sl(n){const{h:o,s:t,l,a}=n,r=l+t*Math.min(l,1-l);return{h:o,s:r===0?0:2-2*l/r,v:r,a}}const at=Symbol.for("vuetify:defaults");function no(){const n=e.inject(at);if(!n)throw new Error("[Vuetify] Could not find defaults instance");return n}function dn(n,o){const t=no(),l=e.ref(n),a=e.computed(()=>{if(e.unref(o==null?void 0:o.disabled))return t.value;const r=e.unref(o==null?void 0:o.scoped),c=e.unref(o==null?void 0:o.reset),u=e.unref(o==null?void 0:o.root);if(l.value==null&&!(r||c||u))return t.value;let s=tn(l.value,{prev:t.value});if(r)return s;if(c||u){const i=Number(c||1/0);for(let d=0;d<=i&&s&&"prev"in s;d++)s=s.prev;return s&&typeof u=="string"&&u in s&&(s=tn(tn(s,{prev:s}),s[u])),s}return s.prev?tn(s.prev,s):s});return e.provide(at,a),a}function qa(){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]:no();const l=Se("useDefaults");if(o=o??l.type.name??l.type.__name,!o)throw new Error("[Vuetify] Could not determine component name");const a=e.computed(()=>{var u;return(u=t.value)==null?void 0:u[n._as??o]}),r=new Proxy(n,{get(u,s){var d,v,p,f;const i=Reflect.get(u,s);return s==="class"||s==="style"?[(d=a.value)==null?void 0:d[s],i].filter(y=>y!=null):typeof s!="string"||function(y,g){var m,b;return((m=y.props)==null?void 0:m[g])!==void 0||((b=y.props)==null?void 0:b[qe(g)])!==void 0}(l.vnode,s)?i:((v=a.value)==null?void 0:v[s])??((f=(p=t.value)==null?void 0:p.global)==null?void 0:f[s])??i}}),c=e.shallowRef();return e.watchEffect(()=>{if(a.value){const u=Object.entries(a.value).filter(s=>{let[i]=s;return i.startsWith(i[0].toUpperCase())});c.value=u.length?Object.fromEntries(u):void 0}else c.value=void 0}),{props:r,provideSubDefaults:function(){const u=function(s){let i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Se("injectSelf");const{provides:d}=i;if(d&&s in d)return d[s]}(at,l);e.provide(at,e.computed(()=>c.value?tn((u==null?void 0:u.value)??{},c.value):u==null?void 0:u.value))}}}function An(n){if(n._setup=n._setup??n.setup,!n.name)return Fn("The component is missing an explicit name, unable to generate default prop value"),n;if(n._setup){n.props=U(n.props??{},n.name)();const o=Object.keys(n.props).filter(t=>t!=="class"&&t!=="style");n.filterProps=function(t){return vl(t,o)},n.props._as=String,n.setup=function(t,l){const a=no();if(!a.value)return n._setup(t,l);const{props:r,provideSubDefaults:c}=qa(t,t._as??n.name,a),u=n._setup(r,l);return c(),u}}return n}function X(){let n=!(arguments.length>0&&arguments[0]!==void 0)||arguments[0];return o=>(n?An:e.defineComponent)(o)}function $n(n){let o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"div",t=arguments.length>2?arguments[2]:void 0;return X()({name:t??e.capitalize(e.camelize(n.replace(/__/g,"-"))),props:{tag:{type:String,default:o},...ae()},setup(l,a){let{slots:r}=a;return()=>{var c;return e.h(l.tag,{class:[n,l.class],style:l.style},(c=r.default)==null?void 0:c.call(r))}}})}function Il(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 rt="cubic-bezier(0.4, 0, 0.2, 1)";function Se(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 Oe(){const n=Se(arguments.length>0&&arguments[0]!==void 0?arguments[0]:"composables").type;return qe((n==null?void 0:n.aliasName)||(n==null?void 0:n.name))}let Vl=0,Qn=new WeakMap;function Pe(){const n=Se("getUid");if(Qn.has(n))return Qn.get(n);{const o=Vl++;return Qn.set(n,o),o}}function Bl(n){let o=arguments.length>1&&arguments[1]!==void 0&&arguments[1];for(;n;){if(o?Ha(n):to(n))return n;n=n.parentElement}return document.scrollingElement}function it(n,o){const t=[];if(o&&n&&!o.contains(n))return t;for(;n&&(to(n)&&t.push(n),n!==o);)n=n.parentElement;return t}function to(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 Ha(n){if(!n||n.nodeType!==Node.ELEMENT_NODE)return!1;const o=window.getComputedStyle(n);return["scroll","auto"].includes(o.overflowY)}function ee(n){Se("useRender").render=n}function oo(n){let o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"content";const t=e.ref(),l=e.ref();if(xe){const a=new ResizeObserver(r=>{n==null||n(r,a),r.length&&(l.value=o==="content"?r[0].contentRect:r[0].target.getBoundingClientRect())});e.onBeforeUnmount(()=>{a.disconnect()}),e.watch(t,(r,c)=>{c&&(a.unobserve(nt(c)),l.value=void 0),r&&a.observe(nt(r))},{flush:"post"})}return{resizeRef:t,contentRect:e.readonly(l)}}function Ye(n,o){let t;function l(){t=e.effectScope(),t.run(()=>o.length?o(()=>{t==null||t.stop(),l()}):o())}e.watch(n,a=>{a&&!t?l():a||(t==null||t.stop(),t=void 0)},{immediate:!0}),e.onScopeDispose(()=>{t==null||t.stop()})}function he(n,o,t){let l=arguments.length>3&&arguments[3]!==void 0?arguments[3]:d=>d,a=arguments.length>4&&arguments[4]!==void 0?arguments[4]:d=>d;const r=Se("useProxiedModel"),c=e.ref(n[o]!==void 0?n[o]:t),u=qe(o),s=u!==o?e.computed(()=>{var d,v,p,f;return n[o],!(!((d=r.vnode.props)!=null&&d.hasOwnProperty(o))&&!((v=r.vnode.props)!=null&&v.hasOwnProperty(u))||!((p=r.vnode.props)!=null&&p.hasOwnProperty(`onUpdate:${o}`))&&!((f=r.vnode.props)!=null&&f.hasOwnProperty(`onUpdate:${u}`)))}):e.computed(()=>{var d,v;return n[o],!(!((d=r.vnode.props)!=null&&d.hasOwnProperty(o))||!((v=r.vnode.props)!=null&&v.hasOwnProperty(`onUpdate:${o}`)))});Ye(()=>!s.value,()=>{e.watch(()=>n[o],d=>{c.value=d})});const i=e.computed({get(){const d=n[o];return l(s.value?d:c.value)},set(d){const v=a(d),p=e.toRaw(s.value?n[o]:c.value);p!==v&&l(p)!==d&&(c.value=v,r==null||r.emit(`update:${o}`,v))}});return Object.defineProperty(i,"externalValue",{get:()=>s.value?n[o]:c.value}),i}Pe.reset=()=>{Vl=0,Qn=new WeakMap};const wl=Symbol.for("vuetify:locale");function lo(){const n=e.inject(wl);if(!n)throw new Error("[Vuetify] Could not find injected locale instance");return n}function Rn(){const n=e.inject(wl);if(!n)throw new Error("[Vuetify] Could not find injected rtl instance");return{isRtl:n.isRtl,rtlClasses:n.rtlClasses}}const Do=Symbol.for("vuetify:theme"),Ve=U({theme:String},"theme");function ke(n){Se("provideTheme");const o=e.inject(Do,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]),a=e.computed(()=>o.isDisabled?void 0:`v-theme--${t.value}`),r={...o,name:t,current:l,themeClasses:a};return e.provide(Do,r),r}const Ae=U({tag:{type:String,default:"div"}},"tag"),Ya=U({disabled:Boolean,group:Boolean,hideOnLeave:Boolean,leaveAbsolute:Boolean,mode:String,origin:String},"transition");function Fe(n,o,t){return X()({name:n,props:Ya({mode:t,origin:o}),setup(l,a){let{slots:r}=a;const c={onBeforeEnter(u){l.origin&&(u.style.transformOrigin=l.origin)},onLeave(u){if(l.leaveAbsolute){const{offsetTop:s,offsetLeft:i,offsetWidth:d,offsetHeight:v}=u;u._transitionInitialStyles={position:u.style.position,top:u.style.top,left:u.style.left,width:u.style.width,height:u.style.height},u.style.position="absolute",u.style.top=`${s}px`,u.style.left=`${i}px`,u.style.width=`${d}px`,u.style.height=`${v}px`}l.hideOnLeave&&u.style.setProperty("display","none","important")},onAfterLeave(u){if(l.leaveAbsolute&&(u!=null&&u._transitionInitialStyles)){const{position:s,top:i,left:d,width:v,height:p}=u._transitionInitialStyles;delete u._transitionInitialStyles,u.style.position=s||"",u.style.top=i||"",u.style.left=d||"",u.style.width=v||"",u.style.height=p||""}}};return()=>{const u=l.group?e.TransitionGroup:e.Transition;return e.h(u,{name:l.disabled?"":n,css:!l.disabled,...l.group?void 0:{mode:l.mode},...l.disabled?{}:c},r.default)}}})}function kl(n,o){let t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"in-out";return X()({name:n,props:{mode:{type:String,default:t},disabled:Boolean},setup(l,a){let{slots:r}=a;return()=>e.h(e.Transition,{name:l.disabled?"":n,css:!l.disabled,...l.disabled?{}:o},r.default)}})}function xl(){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(r){r._parent=r.parentNode,r._initialStyle={transition:r.style.transition,overflow:r.style.overflow,[o]:r.style[o]}},onEnter(r){const c=r._initialStyle;r.style.setProperty("transition","none","important"),r.style.overflow="hidden";const u=`${r[t]}px`;r.style[o]="0",r.offsetHeight,r.style.transition=c.transition,n&&r._parent&&r._parent.classList.add(n),requestAnimationFrame(()=>{r.style[o]=u})},onAfterEnter:a,onEnterCancelled:a,onLeave(r){r._initialStyle={transition:"",overflow:r.style.overflow,[o]:r.style[o]},r.style.overflow="hidden",r.style[o]=`${r[t]}px`,r.offsetHeight,requestAnimationFrame(()=>r.style[o]="0")},onAfterLeave:l,onLeaveCancelled:l};function l(r){n&&r._parent&&r._parent.classList.remove(n),a(r)}function a(r){const c=r._initialStyle[o];r.style.overflow=r._initialStyle.overflow,c!=null&&(r.style[o]=c),delete r._initialStyle}}const Xa=U({target:[Object,Array]},"v-dialog-transition"),Fl=X()({name:"VDialogTransition",props:Xa(),setup(n,o){let{slots:t}=o;const l={onBeforeEnter(a){a.style.pointerEvents="none",a.style.visibility="hidden"},async onEnter(a,r){var p;await new Promise(f=>requestAnimationFrame(f)),await new Promise(f=>requestAnimationFrame(f)),a.style.visibility="";const{x:c,y:u,sx:s,sy:i,speed:d}=Mo(n.target,a),v=on(a,[{transform:`translate(${c}px, ${u}px) scale(${s}, ${i})`,opacity:0},{}],{duration:225*d,easing:"cubic-bezier(0.0, 0, 0.2, 1)"});(p=Lo(a))==null||p.forEach(f=>{on(f,[{opacity:0},{opacity:0,offset:.33},{}],{duration:450*d,easing:rt})}),v.finished.then(()=>r())},onAfterEnter(a){a.style.removeProperty("pointer-events")},onBeforeLeave(a){a.style.pointerEvents="none"},async onLeave(a,r){var v;await new Promise(p=>requestAnimationFrame(p));const{x:c,y:u,sx:s,sy:i,speed:d}=Mo(n.target,a);on(a,[{},{transform:`translate(${c}px, ${u}px) scale(${s}, ${i})`,opacity:0}],{duration:125*d,easing:"cubic-bezier(0.4, 0, 1, 1)"}).finished.then(()=>r()),(v=Lo(a))==null||v.forEach(p=>{on(p,[{},{opacity:0,offset:.2},{opacity:0}],{duration:250*d,easing:rt})})},onAfterLeave(a){a.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 Lo(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 Mo(n,o){const t=Cl(n),l=eo(o),[a,r]=getComputedStyle(o).transformOrigin.split(" ").map(b=>parseFloat(b)),[c,u]=getComputedStyle(o).getPropertyValue("--v-overlay-anchor-origin").split(" ");let s=t.left+t.width/2;c==="left"||u==="left"?s-=t.width/2:c!=="right"&&u!=="right"||(s+=t.width/2);let i=t.top+t.height/2;c==="top"||u==="top"?i-=t.height/2:c!=="bottom"&&u!=="bottom"||(i+=t.height/2);const d=t.width/l.width,v=t.height/l.height,p=Math.max(1,d,v),f=d/p||0,y=v/p||0,g=l.width*l.height/(window.innerWidth*window.innerHeight),m=g>.12?Math.min(1.5,10*(g-.12)+1):1;return{x:s-(a+l.left),y:i-(r+l.top),sx:f,sy:y,speed:m}}Fe("fab-transition","center center","out-in"),Fe("dialog-bottom-transition"),Fe("dialog-top-transition"),Fe("fade-transition");const Ka=Fe("scale-transition");Fe("scroll-x-transition"),Fe("scroll-x-reverse-transition"),Fe("scroll-y-transition"),Fe("scroll-y-reverse-transition"),Fe("slide-x-transition"),Fe("slide-x-reverse-transition");const Nl=Fe("slide-y-transition");Fe("slide-y-reverse-transition");const Ja=kl("expand-transition",xl()),Al=kl("expand-x-transition",xl("",!0)),Za=U({defaults:Object,disabled:Boolean,reset:[Number,String],root:[Boolean,String],scoped:Boolean},"VDefaultsProvider"),Be=X(!1)({name:"VDefaultsProvider",props:Za(),setup(n,o){let{slots:t}=o;const{defaults:l,disabled:a,reset:r,root:c,scoped:u}=e.toRefs(n);return dn(l,{reset:r,root:c,scoped:u,disabled:a}),()=>{var s;return(s=t.default)==null?void 0:s.call(t)}}}),Je=U({height:[Number,String],maxHeight:[Number,String],maxWidth:[Number,String],minHeight:[Number,String],minWidth:[Number,String],width:[Number,String]},"dimension");function Ze(n){return{dimensionStyles:e.computed(()=>({height:J(n.height),maxHeight:J(n.maxHeight),maxWidth:J(n.maxWidth),minHeight:J(n.minHeight),minWidth:J(n.minWidth),width:J(n.width)}))}}const Pl=U({aspectRatio:[String,Number],contentClass:String,inline:Boolean,...ae(),...Je()},"VResponsive"),Wo=X()({name:"VResponsive",props:Pl(),setup(n,o){let{slots:t}=o;const{aspectStyles:l}=function(r){return{aspectStyles:e.computed(()=>{const c=Number(r.aspectRatio);return c?{paddingBottom:String(1/c*100)+"%"}:void 0})}}(n),{dimensionStyles:a}=Ze(n);return ee(()=>{var r;return e.createVNode("div",{class:["v-responsive",{"v-responsive--inline":n.inline},n.class],style:[a.value,n.style]},[e.createVNode("div",{class:"v-responsive__sizer",style:l.value},null),(r=t.additional)==null?void 0:r.call(t),t.default&&e.createVNode("div",{class:["v-responsive__content",n.contentClass]},[t.default()])])}),{}}}),Dn=U({transition:{type:[Boolean,String,Object],default:"fade-transition",validator:n=>n!==!0}},"transition"),We=(n,o)=>{let{slots:t}=o;const{transition:l,disabled:a,...r}=n,{component:c=e.Transition,...u}=typeof l=="object"?l:{};return e.h(c,e.mergeProps(typeof l=="string"?{name:a?"":l}:u,r,{disabled:a}),t)};function jo(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 ao={mounted:function(n,o){if(!Zt)return;const t=o.modifiers||{},l=o.value,{handler:a,options:r}=typeof l=="object"?l:{handler:l,options:{}},c=new IntersectionObserver(function(){var v;let u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],s=arguments.length>1?arguments[1]:void 0;const i=(v=n._observe)==null?void 0:v[o.instance.$.uid];if(!i)return;const d=u.some(p=>p.isIntersecting);!a||t.quiet&&!i.init||t.once&&!d&&!i.init||a(d,u,s),d&&t.once?jo(n,o):i.init=!0},r);n._observe=Object(n._observe),n._observe[o.instance.$.uid]={init:!1,observer:c},c.observe(n)},unmounted:jo},Qa=U({alt:String,cover:Boolean,draggable:{type:[Boolean,String],default:void 0},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:""},crossorigin:String,referrerpolicy:String,srcset:String,position:String,...Pl(),...ae(),...Dn()},"VImg"),_l=X()({name:"VImg",directives:{intersect:ao},props:Qa(),emits:{loadstart:n=>!0,load:n=>!0,error:n=>!0},setup(n,o){let{emit:t,slots:l}=o;const a=Se("VImg"),r=e.shallowRef(""),c=e.ref(),u=e.shallowRef(n.eager?"loading":"idle"),s=e.shallowRef(),i=e.shallowRef(),d=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)}),v=e.computed(()=>d.value.aspect||s.value/i.value||0);function p(I){if((!n.eager||!I)&&(!Zt||I||n.eager)){if(u.value="loading",d.value.lazySrc){const k=new Image;k.src=d.value.lazySrc,b(k,null)}d.value.src&&e.nextTick(()=>{var k;t("loadstart",((k=c.value)==null?void 0:k.currentSrc)||d.value.src),setTimeout(()=>{var C;if(!a.isUnmounted)if((C=c.value)!=null&&C.complete){if(c.value.naturalWidth||y(),u.value==="error")return;v.value||b(c.value,null),u.value==="loading"&&f()}else v.value||b(c.value),g()})})}}function f(){var I;a.isUnmounted||(g(),b(c.value),u.value="loaded",t("load",((I=c.value)==null?void 0:I.currentSrc)||d.value.src))}function y(){var I;a.isUnmounted||(u.value="error",t("error",((I=c.value)==null?void 0:I.currentSrc)||d.value.src))}function g(){const I=c.value;I&&(r.value=I.currentSrc||I.src)}e.watch(()=>n.src,()=>{p(u.value!=="idle")}),e.watch(v,(I,k)=>{!I&&k&&c.value&&b(c.value)}),e.onBeforeMount(()=>p());let m=-1;function b(I){let k=arguments.length>1&&arguments[1]!==void 0?arguments[1]:100;const C=()=>{if(clearTimeout(m),a.isUnmounted)return;const{naturalHeight:V,naturalWidth:B}=I;V||B?(s.value=B,i.value=V):I.complete||u.value!=="loading"||k==null?(I.currentSrc.endsWith(".svg")||I.currentSrc.startsWith("data:image/svg+xml"))&&(s.value=1,i.value=1):m=window.setTimeout(C,k)};C()}e.onBeforeUnmount(()=>{clearTimeout(m)});const w=e.computed(()=>({"v-img__img--cover":n.cover,"v-img__img--contain":!n.cover})),N=()=>{var C;if(!d.value.src||u.value==="idle")return null;const I=e.createVNode("img",{class:["v-img__img",w.value],style:{objectPosition:n.position},src:d.value.src,srcset:d.value.srcset,alt:n.alt,crossorigin:n.crossorigin,referrerpolicy:n.referrerpolicy,draggable:n.draggable,sizes:n.sizes,ref:c,onLoad:f,onError:y},null),k=(C=l.sources)==null?void 0:C.call(l);return e.createVNode(We,{transition:n.transition,appear:!0},{default:()=>[e.withDirectives(k?e.createVNode("picture",{class:"v-img__picture"},[k,I]):I,[[e.vShow,u.value==="loaded"]])]})},M=()=>e.createVNode(We,{transition:n.transition},{default:()=>[d.value.lazySrc&&u.value!=="loaded"&&e.createVNode("img",{class:["v-img__img","v-img__img--preload",w.value],style:{objectPosition:n.position},src:d.value.lazySrc,alt:n.alt,crossorigin:n.crossorigin,referrerpolicy:n.referrerpolicy,draggable:n.draggable},null)]}),E=()=>l.placeholder?e.createVNode(We,{transition:n.transition,appear:!0},{default:()=>[(u.value==="loading"||u.value==="error"&&!l.error)&&e.createVNode("div",{class:"v-img__placeholder"},[l.placeholder()])]}):null,P=()=>l.error?e.createVNode(We,{transition:n.transition,appear:!0},{default:()=>[u.value==="error"&&e.createVNode("div",{class:"v-img__error"},[l.error()])]}):null,L=()=>n.gradient?e.createVNode("div",{class:"v-img__gradient",style:{backgroundImage:`linear-gradient(${n.gradient})`}},null):null,A=e.shallowRef(!1);{const I=e.watch(v,k=>{k&&(requestAnimationFrame(()=>{requestAnimationFrame(()=>{A.value=!0})}),I())})}return ee(()=>{const I=Wo.filterProps(n);return e.withDirectives(e.createVNode(Wo,e.mergeProps({class:["v-img",{"v-img--booting":!A.value},n.class],style:[{width:J(n.width==="auto"?s.value:n.width)},n.style]},I,{aspectRatio:v.value,"aria-label":n.alt,role:n.alt?"img":void 0}),{additional:()=>e.createVNode(e.Fragment,null,[e.createVNode(N,null,null),e.createVNode(M,null,null),e.createVNode(L,null,null),e.createVNode(E,null,null),e.createVNode(P,null,null)]),default:l.default}),[[e.resolveDirective("intersect"),{handler:p,options:n.options},null,{once:!0}]])}),{currentSrc:r,image:c,state:u,naturalWidth:s,naturalHeight:i}}}),pn=U({border:[Boolean,Number,String]},"border");function vn(n){let o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Oe();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 a of String(t).split(" "))l.push(`border-${a}`);return l})}}function ro(n){return Qt(()=>{const o=[],t={};if(n.value.background)if(Bt(n.value.background)){if(t.backgroundColor=n.value.background,!n.value.text&&Bt(l=n.value.background)&&!/^((rgb|hsl)a?\()?var\(--/.test(l)){const a=wn(n.value.background);if(a.a==null||a.a===1){const r=function(c){const u=Math.abs(To(wn(0),wn(c)));return Math.abs(To(wn(16777215),wn(c)))>Math.min(u,50)?"#fff":"#000"}(a);t.color=r,t.caretColor=r}}}else o.push(`bg-${n.value.background}`);var l;return n.value.text&&(Bt(n.value.text)?(t.color=n.value.text,t.caretColor=n.value.text):o.push(`text-${n.value.text}`)),{colorClasses:o,colorStyles:t}})}function Re(n,o){const t=e.computed(()=>({text:e.isRef(n)?n.value:o?n[o]:null})),{colorClasses:l,colorStyles:a}=ro(t);return{textColorClasses:l,textColorStyles:a}}function an(n,o){const t=e.computed(()=>({background:e.isRef(n)?n.value:o?n[o]:null})),{colorClasses:l,colorStyles:a}=ro(t);return{backgroundColorClasses:l,backgroundColorStyles:a}}const fn=U({elevation:{type:[Number,String],validator(n){const o=parseInt(n);return!isNaN(o)&&o>=0&&o<=24}}},"elevation");function mn(n){return{elevationClasses:e.computed(()=>{const o=e.isRef(n)?n.value:n.elevation,t=[];return o==null||t.push(`elevation-${o}`),t})}}const De=U({rounded:{type:[Boolean,Number,String],default:void 0}},"rounded");function Le(n){let o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Oe();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 a of String(t).split(" "))l.push(`rounded-${a}`);return l})}}const er=[null,"default","comfortable","compact"],ze=U({density:{type:String,default:"default",validator:n=>er.includes(n)}},"density");function Me(n){let o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Oe();return{densityClasses:e.computed(()=>`${o}--density-${n.density}`)}}const nr=["elevated","flat","tonal","outlined","text","plain"];function Ln(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 Ge=U({color:String,variant:{type:String,default:"elevated",validator:n=>nr.includes(n)}},"variant");function Mn(n){let o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Oe();const t=e.computed(()=>{const{variant:r}=e.unref(n);return`${o}--variant-${r}`}),{colorClasses:l,colorStyles:a}=ro(e.computed(()=>{const{variant:r,color:c}=e.unref(n);return{[["elevated","flat"].includes(r)?"background":"text"]:c}}));return{colorClasses:l,colorStyles:a,variantClasses:t}}const El=U({divided:Boolean,...pn(),...ae(),...ze(),...fn(),...De(),...Ae(),...Ve(),...Ge()},"VBtnGroup"),Uo=X()({name:"VBtnGroup",props:El(),setup(n,o){let{slots:t}=o;const{themeClasses:l}=ke(n),{densityClasses:a}=Me(n),{borderClasses:r}=vn(n),{elevationClasses:c}=mn(n),{roundedClasses:u}=Le(n);dn({VBtn:{height:"auto",color:e.toRef(n,"color"),density:e.toRef(n,"density"),flat:!0,variant:e.toRef(n,"variant")}}),ee(()=>e.createVNode(n.tag,{class:["v-btn-group",{"v-btn-group--divided":n.divided},l.value,r.value,a.value,c.value,u.value,n.class],style:n.style},t))}}),Ol=U({modelValue:{type:null,default:void 0},multiple:Boolean,mandatory:[Boolean,String],max:Number,selectedClass:String,disabled:Boolean},"group"),zl=U({value:null,disabled:Boolean,selectedClass:String},"group-item");function Tl(n,o){let t=!(arguments.length>2&&arguments[2]!==void 0)||arguments[2];const l=Se("useGroupItem");if(!l)throw new Error("[Vuetify] useGroupItem composable must be used inside a component setup function");const a=Pe();e.provide(Symbol.for(`${o.description}:id`),a);const r=e.inject(o,null);if(!r){if(!t)return r;throw new Error(`[Vuetify] Could not find useGroup injection with symbol ${o.description}`)}const c=e.toRef(n,"value"),u=e.computed(()=>!(!r.disabled.value&&!n.disabled));r.register({id:a,value:c,disabled:u},l),e.onBeforeUnmount(()=>{r.unregister(a)});const s=e.computed(()=>r.isSelected(a)),i=e.computed(()=>s.value&&[r.selectedClass.value,n.selectedClass]);return e.watch(s,d=>{l.emit("group:selected",{value:d})}),{id:a,isSelected:s,toggle:()=>r.select(a,!s.value),select:d=>r.select(a,d),selectedClass:i,value:c,disabled:u,group:r}}function $l(n,o){let t=!1;const l=e.reactive([]),a=he(n,"modelValue",[],i=>i==null?[]:Go(l,$e(i)),i=>{const d=function(v,p){const f=[];return p.forEach(y=>{const g=v.findIndex(m=>m.id===y);if(~g){const m=v[g];f.push(m.value!=null?m.value:g)}}),f}(l,i);return n.multiple?d:d[0]}),r=Se("useGroup");function c(){const i=l.find(d=>!d.disabled);i&&n.mandatory==="force"&&!a.value.length&&(a.value=[i.id])}function u(i){if(n.multiple&&Fn('This method is not supported when using "multiple" prop'),a.value.length){const d=a.value[0],v=l.findIndex(y=>y.id===d);let p=(v+i)%l.length,f=l[p];for(;f.disabled&&p!==v;)p=(p+i)%l.length,f=l[p];if(f.disabled)return;a.value=[l[p].id]}else{const d=l.find(v=>!v.disabled);d&&(a.value=[d.id])}}e.onMounted(()=>{c()}),e.onBeforeUnmount(()=>{t=!0});const s={register:function(i,d){const v=i,p=Zn(Symbol.for(`${o.description}:id`),r==null?void 0:r.vnode).indexOf(d);p>-1?l.splice(p,0,v):l.push(v)},unregister:function(i){if(t)return;c();const d=l.findIndex(v=>v.id===i);l.splice(d,1)},selected:a,select:function(i,d){const v=l.find(p=>p.id===i);if(!d||!(v!=null&&v.disabled))if(n.multiple){const p=a.value.slice(),f=p.findIndex(g=>g===i),y=~f;if(d=d??!y,y&&n.mandatory&&p.length<=1||!y&&n.max!=null&&p.length+1>n.max)return;f<0&&d?p.push(i):f>=0&&!d&&p.splice(f,1),a.value=p}else{const p=a.value.includes(i);if(n.mandatory&&p)return;a.value=d??!p?[i]:[]}},disabled:e.toRef(n,"disabled"),prev:()=>u(l.length-1),next:()=>u(1),isSelected:i=>a.value.includes(i),selectedClass:e.computed(()=>n.selectedClass),items:e.computed(()=>l),getItemIndex:i=>function(d,v){const p=Go(d,[v]);return p.length?d.findIndex(f=>f.id===p[0]):-1}(l,i)};return e.provide(o,s),s}function Go(n,o){const t=[];return o.forEach(l=>{const a=n.find(c=>cn(l,c.value)),r=n[l];(a==null?void 0:a.value)!=null?t.push(a.id):r!=null&&t.push(r.id)}),t}const Rl=Symbol.for("vuetify:v-btn-toggle"),tr=U({...El(),...Ol()},"VBtnToggle");X()({name:"VBtnToggle",props:tr(),emits:{"update:modelValue":n=>!0},setup(n,o){let{slots:t}=o;const{isSelected:l,next:a,prev:r,select:c,selected:u}=$l(n,Rl);return ee(()=>{const s=Uo.filterProps(n);return e.createVNode(Uo,e.mergeProps({class:["v-btn-toggle",n.class]},s,{style:n.style}),{default:()=>{var i;return[(i=t.default)==null?void 0:i.call(t,{isSelected:l,next:a,prev:r,select:c,selected:u})]}})}),{next:a,prev:r,select:c}}});const se=[String,Function,Object,Array],or=Symbol.for("vuetify:icons"),st=U({icon:{type:se},tag:{type:String,required:!0}},"icon"),qo=X()({name:"VComponentIcon",props:st(),setup(n,o){let{slots:t}=o;return()=>{const l=n.icon;return e.createVNode(n.tag,null,{default:()=>{var a;return[n.icon?e.createVNode(l,null,null):(a=t.default)==null?void 0:a.call(t)]}})}}}),lr=An({name:"VSvgIcon",inheritAttrs:!1,props:st(),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)])]})}});An({name:"VLigatureIcon",props:st(),setup:n=>()=>e.createVNode(n.tag,null,{default:()=>[n.icon]})}),An({name:"VClassIcon",props:st(),setup:n=>()=>e.createVNode(n.tag,{class:n.icon},null)});const ar=["x-small","small","default","large","x-large"],Wn=U({size:{type:[String,Number],default:"default"}},"size");function jn(n){let o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Oe();return Qt(()=>{let t,l;return tt(ar,n.size)?t=`${o}--size-${n.size}`:n.size&&(l={width:J(n.size),height:J(n.size)}),{sizeClasses:t,sizeStyles:l}})}const rr=U({color:String,start:Boolean,end:Boolean,icon:se,...ae(),...Wn(),...Ae({tag:"i"}),...Ve()},"VIcon"),ce=X()({name:"VIcon",props:rr(),setup(n,o){let{attrs:t,slots:l}=o;const a=e.ref(),{themeClasses:r}=ke(n),{iconData:c}=(d=>{const v=e.inject(or);if(!v)throw new Error("Missing Vuetify Icons provide!");return{iconData:e.computed(()=>{var m;const p=e.unref(d);if(!p)return{component:qo};let f=p;if(typeof f=="string"&&(f=f.trim(),f.startsWith("$")&&(f=(m=v.aliases)==null?void 0:m[f.slice(1)])),!f)throw new Error(`Could not find aliased icon "${p}"`);if(Array.isArray(f))return{component:lr,icon:f};if(typeof f!="string")return{component:qo,icon:f};const y=Object.keys(v.sets).find(b=>typeof f=="string"&&f.startsWith(`${b}:`)),g=y?f.slice(y.length+1):f;return{component:v.sets[y??v.defaultSet].component,icon:g}})}})(e.computed(()=>a.value||n.icon)),{sizeClasses:u}=jn(n),{textColorClasses:s,textColorStyles:i}=Re(e.toRef(n,"color"));return ee(()=>{var v,p;const d=(v=l.default)==null?void 0:v.call(l);return d&&(a.value=(p=ml(d).filter(f=>f.type===e.Text&&f.children&&typeof f.children=="string")[0])==null?void 0:p.children),e.createVNode(c.value.component,{tag:n.tag,icon:c.value.icon,class:["v-icon","notranslate",r.value,u.value,s.value,{"v-icon--clickable":!!t.onClick,"v-icon--start":n.start,"v-icon--end":n.end},n.class],style:[u.value?void 0:{fontSize:J(n.size),height:J(n.size),width:J(n.size)},i.value,n.style],role:t.onClick?"button":void 0,"aria-hidden":!t.onClick},{default:()=>[d]})}),{}}});function Dl(n,o){const t=e.ref(),l=e.shallowRef(!1);if(Zt){const a=new IntersectionObserver(r=>{n==null||n(r,a),l.value=!!r.find(c=>c.isIntersecting)},o);e.onBeforeUnmount(()=>{a.disconnect()}),e.watch(t,(r,c)=>{c&&(a.unobserve(c),l.value=!1),r&&a.observe(r)},{flush:"post"})}return{intersectionRef:t,isIntersecting:l}}const ir=U({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},...ae(),...Wn(),...Ae({tag:"div"}),...Ve()},"VProgressCircular"),Ll=X()({name:"VProgressCircular",props:ir(),setup(n,o){let{slots:t}=o;const l=2*Math.PI*20,a=e.ref(),{themeClasses:r}=ke(n),{sizeClasses:c,sizeStyles:u}=jn(n),{textColorClasses:s,textColorStyles:i}=Re(e.toRef(n,"color")),{textColorClasses:d,textColorStyles:v}=Re(e.toRef(n,"bgColor")),{intersectionRef:p,isIntersecting:f}=Dl(),{resizeRef:y,contentRect:g}=oo(),m=e.computed(()=>Math.max(0,Math.min(100,parseFloat(n.modelValue)))),b=e.computed(()=>Number(n.width)),w=e.computed(()=>u.value?Number(n.size):g.value?g.value.width:Math.max(b.value,32)),N=e.computed(()=>20/(1-b.value/w.value)*2),M=e.computed(()=>b.value/w.value*N.value),E=e.computed(()=>J((100-m.value)/100*l));return e.watchEffect(()=>{p.value=a.value,y.value=a.value}),ee(()=>e.createVNode(n.tag,{ref:a,class:["v-progress-circular",{"v-progress-circular--indeterminate":!!n.indeterminate,"v-progress-circular--visible":f.value,"v-progress-circular--disable-shrink":n.indeterminate==="disable-shrink"},r.value,c.value,s.value,n.class],style:[u.value,i.value,n.style],role:"progressbar","aria-valuemin":"0","aria-valuemax":"100","aria-valuenow":n.indeterminate?void 0:m.value},{default:()=>[e.createVNode("svg",{style:{transform:`rotate(calc(-90deg + ${Number(n.rotate)}deg))`},xmlns:"http://www.w3.org/2000/svg",viewBox:`0 0 ${N.value} ${N.value}`},[e.createVNode("circle",{class:["v-progress-circular__underlay",d.value],style:v.value,fill:"transparent",cx:"50%",cy:"50%",r:20,"stroke-width":M.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":M.value,"stroke-dasharray":l,"stroke-dashoffset":E.value},null)]),t.default&&e.createVNode("div",{class:"v-progress-circular__content"},[t.default({value:m.value})])]})),{}}}),Ho={center:"center",top:"bottom",bottom:"top",left:"right",right:"left"},io=U({location:String},"location");function so(n){let o=arguments.length>1&&arguments[1]!==void 0&&arguments[1],t=arguments.length>2?arguments[2]:void 0;const{isRtl:l}=Rn();return{locationStyles:e.computed(()=>{if(!n.location)return{};const{side:r,align:c}=Et(n.location.split(" ").length>1?n.location:`${n.location} center`,l.value);function u(i){return t?t(i):0}const s={};return r!=="center"&&(o?s[Ho[r]]=`calc(100% - ${u(r)}px)`:s[r]=0),c!=="center"?o?s[Ho[c]]=`calc(100% - ${u(c)}px)`:s[c]=0:(r==="center"?s.top=s.left="50%":s[{top:"left",bottom:"left",left:"top",right:"top"}[r]]="50%",s.transform={top:"translateX(-50%)",bottom:"translateX(-50%)",left:"translateY(-50%)",right:"translateY(-50%)",center:"translate(-50%, -50%)"}[r]),s})}}const sr=U({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,...ae(),...io({location:"top"}),...De(),...Ae(),...Ve()},"VProgressLinear"),ur=X()({name:"VProgressLinear",props:sr(),emits:{"update:modelValue":n=>!0},setup(n,o){let{slots:t}=o;const l=he(n,"modelValue"),{isRtl:a,rtlClasses:r}=Rn(),{themeClasses:c}=ke(n),{locationStyles:u}=so(n),{textColorClasses:s,textColorStyles:i}=Re(n,"color"),{backgroundColorClasses:d,backgroundColorStyles:v}=an(e.computed(()=>n.bgColor||n.color)),{backgroundColorClasses:p,backgroundColorStyles:f}=an(n,"color"),{roundedClasses:y}=Le(n),{intersectionRef:g,isIntersecting:m}=Dl(),b=e.computed(()=>parseInt(n.max,10)),w=e.computed(()=>parseInt(n.height,10)),N=e.computed(()=>parseFloat(n.bufferValue)/b.value*100),M=e.computed(()=>parseFloat(l.value)/b.value*100),E=e.computed(()=>a.value!==n.reverse),P=e.computed(()=>n.indeterminate?"fade-transition":"slide-x-transition"),L=e.computed(()=>n.bgOpacity==null?n.bgOpacity:parseFloat(n.bgOpacity));function A(I){if(!g.value)return;const{left:k,right:C,width:V}=g.value.getBoundingClientRect(),B=E.value?V-I.clientX+(C-V):I.clientX-k;l.value=Math.round(B/V*b.value)}return ee(()=>e.createVNode(n.tag,{ref:g,class:["v-progress-linear",{"v-progress-linear--absolute":n.absolute,"v-progress-linear--active":n.active&&m.value,"v-progress-linear--reverse":E.value,"v-progress-linear--rounded":n.rounded,"v-progress-linear--rounded-bar":n.roundedBar,"v-progress-linear--striped":n.striped},y.value,c.value,r.value,n.class],style:[{bottom:n.location==="bottom"?0:void 0,top:n.location==="top"?0:void 0,height:n.active?J(w.value):0,"--v-progress-linear-height":J(w.value),...u.value},n.style],role:"progressbar","aria-hidden":n.active?"false":"true","aria-valuemin":"0","aria-valuemax":n.max,"aria-valuenow":n.indeterminate?void 0:M.value,onClick:n.clickable&&A},{default:()=>[n.stream&&e.createVNode("div",{key:"stream",class:["v-progress-linear__stream",s.value],style:{...i.value,[E.value?"left":"right"]:J(-w.value),borderTop:`${J(w.value/2)} dotted`,opacity:L.value,top:`calc(50% - ${J(w.value/4)})`,width:J(100-N.value,"%"),"--v-progress-linear-stream-to":J(w.value*(E.value?1:-1))}},null),e.createVNode("div",{class:["v-progress-linear__background",d.value],style:[v.value,{opacity:L.value,width:J(n.stream?N.value:100,"%")}]},null),e.createVNode(e.Transition,{name:P.value},{default:()=>[n.indeterminate?e.createVNode("div",{class:"v-progress-linear__indeterminate"},[["long","short"].map(I=>e.createVNode("div",{key:I,class:["v-progress-linear__indeterminate",I,p.value],style:f.value},null))]):e.createVNode("div",{class:["v-progress-linear__determinate",p.value],style:[f.value,{width:J(M.value,"%")}]},null)]}),t.default&&e.createVNode("div",{class:"v-progress-linear__content"},[t.default({value:M.value,buffer:N.value})])]})),{}}}),uo=U({loading:[Boolean,String]},"loader");function vt(n){let o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Oe();return{loaderClasses:e.computed(()=>({[`${o}--loading`]:n.loading}))}}function co(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(ur,{absolute:n.absolute,active:n.active,color:n.color,height:"2",indeterminate:!0},null)])}const cr=["static","relative","fixed","absolute","sticky"],Ml=U({position:{type:String,validator:n=>cr.includes(n)}},"position");function Wl(n){let o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Oe();return{positionClasses:e.computed(()=>n.position?`${o}--${n.position}`:void 0)}}function ft(n,o){const t=e.resolveDynamicComponent("RouterLink"),l=e.computed(()=>!(!n.href&&!n.to)),a=e.computed(()=>(l==null?void 0:l.value)||Bo(o,"click")||Bo(n,"click"));if(typeof t=="string")return{isLink:l,isClickable:a,href:e.toRef(n,"href")};const r=n.to?t.useLink(n):void 0,c=function(){const u=Se("useRoute");return e.computed(()=>{var s;return(s=u==null?void 0:u.proxy)==null?void 0:s.$route})}();return{isLink:l,isClickable:a,route:r==null?void 0:r.route,navigate:r==null?void 0:r.navigate,isActive:r&&e.computed(()=>{var u,s,i;return n.exact?c.value?((u=r.isExactActive)==null?void 0:u.value)&&cn(r.route.value.query,c.value.query):(s=r.isExactActive)==null?void 0:s.value:(i=r.isActive)==null?void 0:i.value}),href:e.computed(()=>n.to?r==null?void 0:r.route.value.href:n.href)}}const mt=U({href:String,replace:Boolean,to:[String,Object],exact:Boolean},"router");let wt=!1;const Ot=Symbol("rippleStop"),dr=80;function Yo(n,o){n.style.transform=o,n.style.webkitTransform=o}function zt(n){return n.constructor.name==="TouchEvent"}function jl(n){return n.constructor.name==="KeyboardEvent"}const ut={show(n,o){var f;let t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(!((f=o==null?void 0:o._ripple)!=null&&f.enabled))return;const l=document.createElement("span"),a=document.createElement("span");l.appendChild(a),l.className="v-ripple__container",t.class&&(l.className+=` ${t.class}`);const{radius:r,scale:c,x:u,y:s,centerX:i,centerY:d}=function(y,g){var L;let m=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},b=0,w=0;if(!jl(y)){const A=g.getBoundingClientRect(),I=zt(y)?y.touches[y.touches.length-1]:y;b=I.clientX-A.left,w=I.clientY-A.top}let N=0,M=.3;(L=g._ripple)!=null&&L.circle?(M=.15,N=g.clientWidth/2,N=m.center?N:N+Math.sqrt((b-N)**2+(w-N)**2)/4):N=Math.sqrt(g.clientWidth**2+g.clientHeight**2)/2;const E=(g.clientWidth-2*N)/2+"px",P=(g.clientHeight-2*N)/2+"px";return{radius:N,scale:M,x:m.center?E:b-N+"px",y:m.center?P:w-N+"px",centerX:E,centerY:P}}(n,o,t),v=2*r+"px";a.className="v-ripple__animation",a.style.width=v,a.style.height=v,o.appendChild(l);const p=window.getComputedStyle(o);p&&p.position==="static"&&(o.style.position="relative",o.dataset.previousPosition="static"),a.classList.add("v-ripple__animation--enter"),a.classList.add("v-ripple__animation--visible"),Yo(a,`translate(${u}, ${s}) 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"),Yo(a,`translate(${i}, ${d}) scale3d(1,1,1)`)},0)},hide(n){var r;if(!((r=n==null?void 0:n._ripple)!=null&&r.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),a=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)},a)}};function Ul(n){return n===void 0||!!n}function Pn(n){const o={},t=n.currentTarget;if(t!=null&&t._ripple&&!t._ripple.touched&&!n[Ot]){if(n[Ot]=!0,zt(n))t._ripple.touched=!0,t._ripple.isTouch=!0;else if(t._ripple.isTouch)return;if(o.center=t._ripple.centered||jl(n),t._ripple.class&&(o.class=t._ripple.class),zt(n)){if(t._ripple.showTimerCommit)return;t._ripple.showTimerCommit=()=>{ut.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)},dr)}else ut.show(n,t,o)}}function Xo(n){n[Ot]=!0}function Ne(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(()=>{Ne(n)}));window.setTimeout(()=>{o._ripple&&(o._ripple.touched=!1)}),ut.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 _n=!1;function ql(n){_n||n.keyCode!==Co.enter&&n.keyCode!==Co.space||(_n=!0,Pn(n))}function Hl(n){_n=!1,Ne(n)}function Yl(n){_n&&(_n=!1,Ne(n))}function Ko(n,o,t){const{value:l,modifiers:a}=o,r=Ul(l);if(r||ut.hide(n),n._ripple=n._ripple??{},n._ripple.enabled=r,n._ripple.centered=a.center,n._ripple.circle=a.circle,At(l)&&l.class&&(n._ripple.class=l.class),r&&!t){if(a.stop)return n.addEventListener("touchstart",Xo,{passive:!0}),void n.addEventListener("mousedown",Xo);n.addEventListener("touchstart",Pn,{passive:!0}),n.addEventListener("touchend",Ne,{passive:!0}),n.addEventListener("touchmove",Gl,{passive:!0}),n.addEventListener("touchcancel",Ne),n.addEventListener("mousedown",Pn),n.addEventListener("mouseup",Ne),n.addEventListener("mouseleave",Ne),n.addEventListener("keydown",ql),n.addEventListener("keyup",Hl),n.addEventListener("blur",Yl),n.addEventListener("dragstart",Ne,{passive:!0})}else!r&&t&&Xl(n)}function Xl(n){n.removeEventListener("mousedown",Pn),n.removeEventListener("touchstart",Pn),n.removeEventListener("touchend",Ne),n.removeEventListener("touchmove",Gl),n.removeEventListener("touchcancel",Ne),n.removeEventListener("mouseup",Ne),n.removeEventListener("mouseleave",Ne),n.removeEventListener("keydown",ql),n.removeEventListener("keyup",Hl),n.removeEventListener("dragstart",Ne),n.removeEventListener("blur",Yl)}const Un={mounted:function(n,o){Ko(n,o,!1)},unmounted:function(n){delete n._ripple,Xl(n)},updated:function(n,o){o.value!==o.oldValue&&Ko(n,o,Ul(o.oldValue))}},pr=U({active:{type:Boolean,default:void 0},symbol:{type:null,default:Rl},flat:Boolean,icon:[Boolean,String,Function,Object],prependIcon:se,appendIcon:se,block:Boolean,slim:Boolean,stacked:Boolean,ripple:{type:[Boolean,Object],default:!0},text:String,...pn(),...ae(),...ze(),...Je(),...fn(),...zl(),...uo(),...io(),...Ml(),...De(),...mt(),...Wn(),...Ae({tag:"button"}),...Ve(),...Ge({variant:"elevated"})},"VBtn"),Jo=X()({name:"VBtn",directives:{Ripple:Un},props:pr(),emits:{"group:selected":n=>!0},setup(n,o){let{attrs:t,slots:l}=o;const{themeClasses:a}=ke(n),{borderClasses:r}=vn(n),{colorClasses:c,colorStyles:u,variantClasses:s}=Mn(n),{densityClasses:i}=Me(n),{dimensionStyles:d}=Ze(n),{elevationClasses:v}=mn(n),{loaderClasses:p}=vt(n),{locationStyles:f}=so(n),{positionClasses:y}=Wl(n),{roundedClasses:g}=Le(n),{sizeClasses:m,sizeStyles:b}=jn(n),w=Tl(n,n.symbol,!1),N=ft(n,t),M=e.computed(()=>{var I;return n.active!==void 0?n.active:N.isLink.value?(I=N.isActive)==null?void 0:I.value:w==null?void 0:w.isSelected.value}),E=e.computed(()=>(w==null?void 0:w.disabled.value)||n.disabled),P=e.computed(()=>n.variant==="elevated"&&!(n.disabled||n.flat||n.border)),L=e.computed(()=>{if(n.value!==void 0&&typeof n.value!="symbol")return Object(n.value)===n.value?JSON.stringify(n.value,null,0):n.value});function A(I){var k;E.value||N.isLink.value&&(I.metaKey||I.ctrlKey||I.shiftKey||I.button!==0||t.target==="_blank")||((k=N.navigate)==null||k.call(N,I),w==null||w.toggle())}return function(I,k){e.watch(()=>{var C;return(C=I.isActive)==null?void 0:C.value},C=>{I.isLink.value&&C&&k&&e.nextTick(()=>{k(!0)})},{immediate:!0})}(N,w==null?void 0:w.select),ee(()=>{var D,$;const I=N.isLink.value?"a":n.tag,k=!(!n.prependIcon&&!l.prepend),C=!(!n.appendIcon&&!l.append),V=!(!n.icon||n.icon===!0),B=(w==null?void 0:w.isSelected.value)&&(!N.isLink.value||((D=N.isActive)==null?void 0:D.value))||!w||(($=N.isActive)==null?void 0:$.value);return e.withDirectives(e.createVNode(I,{type:I==="a"?void 0:"button",class:["v-btn",w==null?void 0:w.selectedClass.value,{"v-btn--active":M.value,"v-btn--block":n.block,"v-btn--disabled":E.value,"v-btn--elevated":P.value,"v-btn--flat":n.flat,"v-btn--icon":!!n.icon,"v-btn--loading":n.loading,"v-btn--slim":n.slim,"v-btn--stacked":n.stacked},a.value,r.value,B?c.value:void 0,i.value,v.value,p.value,y.value,g.value,m.value,s.value,n.class],style:[B?u.value:void 0,d.value,f.value,b.value,n.style],disabled:E.value||void 0,href:N.href.value,onClick:A,value:L.value},{default:()=>{var F;return[Ln(!0,"v-btn"),!n.icon&&k&&e.createVNode("span",{key:"prepend",class:"v-btn__prepend"},[l.prepend?e.createVNode(Be,{key:"prepend-defaults",disabled:!n.prependIcon,defaults:{VIcon:{icon:n.prependIcon}}},l.prepend):e.createVNode(ce,{key:"prepend-icon",icon:n.prependIcon},null)]),e.createVNode("span",{class:"v-btn__content","data-no-activator":""},[!l.default&&V?e.createVNode(ce,{key:"content-icon",icon:n.icon},null):e.createVNode(Be,{key:"content-defaults",disabled:!V,defaults:{VIcon:{icon:n.icon}}},{default:()=>{var h;return[((h=l.default)==null?void 0:h.call(l))??n.text]}})]),!n.icon&&C&&e.createVNode("span",{key:"append",class:"v-btn__append"},[l.append?e.createVNode(Be,{key:"append-defaults",disabled:!n.appendIcon,defaults:{VIcon:{icon:n.appendIcon}}},l.append):e.createVNode(ce,{key:"append-icon",icon:n.appendIcon},null)]),!!n.loading&&e.createVNode("span",{key:"loader",class:"v-btn__loader"},[((F=l.loader)==null?void 0:F.call(l))??e.createVNode(Ll,{color:typeof n.loading=="boolean"?void 0:n.loading,indeterminate:!0,size:"23",width:"2"},null)])]}}),[[e.resolveDirective("ripple"),!E.value&&n.ripple,null]])}),{}}}),vr=U({text:String,clickable:Boolean,...ae(),...Ve()},"VLabel"),Kl=X()({name:"VLabel",props:vr(),setup(n,o){let{slots:t}=o;return ee(()=>{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)])}),{}}}),Jl=Symbol.for("vuetify:selection-control-group"),Zl=U({color:String,disabled:{type:Boolean,default:null},defaultsTarget:String,error:Boolean,id:String,inline:Boolean,falseIcon:se,trueIcon:se,ripple:{type:Boolean,default:!0},multiple:{type:Boolean,default:null},name:String,readonly:{type:Boolean,default:null},modelValue:null,type:String,valueComparator:{type:Function,default:cn},...ae(),...ze(),...Ve()},"SelectionControlGroup"),fr=U({...Zl({defaultsTarget:"VSelectionControl"})},"VSelectionControlGroup");X()({name:"VSelectionControlGroup",props:fr(),emits:{"update:modelValue":n=>!0},setup(n,o){let{slots:t}=o;const l=he(n,"modelValue"),a=Pe(),r=e.computed(()=>n.id||`v-selection-control-group-${a}`),c=e.computed(()=>n.name||r.value),u=new Set;return e.provide(Jl,{modelValue:l,forceUpdate:()=>{u.forEach(s=>s())},onForceUpdate:s=>{u.add(s),e.onScopeDispose(()=>{u.delete(s)})}}),dn({[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")}}),ee(()=>{var s;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},[(s=t.default)==null?void 0:s.call(t)])}),{}}});const po=U({label:String,baseColor:String,trueValue:null,falseValue:null,value:null,...ae(),...Zl()},"VSelectionControl"),ct=X()({name:"VSelectionControl",directives:{Ripple:Un},inheritAttrs:!1,props:po(),emits:{"update:modelValue":n=>!0},setup(n,o){let{attrs:t,slots:l}=o;const{group:a,densityClasses:r,icon:c,model:u,textColorClasses:s,textColorStyles:i,backgroundColorClasses:d,backgroundColorStyles:v,trueValue:p}=function(E){const P=e.inject(Jl,void 0),{densityClasses:L}=Me(E),A=he(E,"modelValue"),I=e.computed(()=>E.trueValue!==void 0?E.trueValue:E.value===void 0||E.value),k=e.computed(()=>E.falseValue!==void 0&&E.falseValue),C=e.computed(()=>!!E.multiple||E.multiple==null&&Array.isArray(A.value)),V=e.computed({get(){const S=P?P.modelValue.value:A.value;return C.value?$e(S).some(x=>E.valueComparator(x,I.value)):E.valueComparator(S,I.value)},set(S){if(E.readonly)return;const x=S?I.value:k.value;let z=x;C.value&&(z=S?[...$e(A.value),x]:$e(A.value).filter(T=>!E.valueComparator(T,I.value))),P?P.modelValue.value=z:A.value=z}}),{textColorClasses:B,textColorStyles:D}=Re(e.computed(()=>{if(!E.error&&!E.disabled)return V.value?E.color:E.baseColor})),{backgroundColorClasses:$,backgroundColorStyles:F}=an(e.computed(()=>!V.value||E.error||E.disabled?void 0:E.color)),h=e.computed(()=>V.value?E.trueIcon:E.falseIcon);return{group:P,densityClasses:L,trueValue:I,falseValue:k,model:V,textColorClasses:B,textColorStyles:D,backgroundColorClasses:$,backgroundColorStyles:F,icon:h}}(n),f=Pe(),y=e.computed(()=>n.id||`input-${f}`),g=e.shallowRef(!1),m=e.shallowRef(!1),b=e.ref();function w(E){g.value=!0,lt(E.target,":focus-visible")!==!1&&(m.value=!0)}function N(){g.value=!1,m.value=!1}function M(E){n.readonly&&a&&e.nextTick(()=>a.forceUpdate()),u.value=E.target.checked}return a==null||a.onForceUpdate(()=>{b.value&&(b.value.checked=u.value)}),ee(()=>{var I,k;const E=l.label?l.label({label:n.label,props:{for:y.value}}):n.label,[P,L]=Tn(t),A=e.createVNode("input",e.mergeProps({ref:b,checked:u.value,disabled:!(!n.readonly&&!n.disabled),id:y.value,onBlur:N,onFocus:w,onInput:M,"aria-disabled":!(!n.readonly&&!n.disabled),type:n.type,value:p.value,name:n.name,"aria-checked":n.type==="checkbox"?u.value:void 0},L),null);return e.createVNode("div",e.mergeProps({class:["v-selection-control",{"v-selection-control--dirty":u.value,"v-selection-control--disabled":n.disabled,"v-selection-control--error":n.error,"v-selection-control--focused":g.value,"v-selection-control--focus-visible":m.value,"v-selection-control--inline":n.inline},r.value,n.class]},P,{style:n.style}),[e.createVNode("div",{class:["v-selection-control__wrapper",s.value],style:i.value},[(I=l.default)==null?void 0:I.call(l,{backgroundColorClasses:d,backgroundColorStyles:v}),e.withDirectives(e.createVNode("div",{class:["v-selection-control__input"]},[((k=l.input)==null?void 0:k.call(l,{model:u,textColorClasses:s,textColorStyles:i,backgroundColorClasses:d,backgroundColorStyles:v,inputNode:A,icon:c.value,props:{onFocus:w,onBlur:N,id:y.value}}))??e.createVNode(e.Fragment,null,[c.value&&e.createVNode(ce,{key:"icon",icon:c.value},null),A])]),[[e.resolveDirective("ripple"),n.ripple&&[!n.disabled&&!n.readonly,null,["center","circle"]]]])]),E&&e.createVNode(Kl,{for:y.value,clickable:!0,onClick:C=>C.stopPropagation()},{default:()=>[E]})])}),{isFocused:g,input:b}}}),Ql=U({indeterminate:Boolean,indeterminateIcon:{type:se,default:"$checkboxIndeterminate"},...po({falseIcon:"$checkboxOff",trueIcon:"$checkboxOn"})},"VCheckboxBtn"),Tt=X()({name:"VCheckboxBtn",props:Ql(),emits:{"update:modelValue":n=>!0,"update:indeterminate":n=>!0},setup(n,o){let{slots:t}=o;const l=he(n,"indeterminate"),a=he(n,"modelValue");function r(s){l.value&&(l.value=!1)}const c=e.computed(()=>l.value?n.indeterminateIcon:n.falseIcon),u=e.computed(()=>l.value?n.indeterminateIcon:n.trueIcon);return ee(()=>{const s=Ke(ct.filterProps(n),["modelValue"]);return e.createVNode(ct,e.mergeProps(s,{modelValue:a.value,"onUpdate:modelValue":[i=>a.value=i,r],class:["v-checkbox-btn",n.class],style:n.style,type:"checkbox",falseIcon:c.value,trueIcon:u.value,"aria-checked":l.value?"mixed":void 0}),t)}),{}}});function ea(n){const{t:o}=lo();return{InputIcon:function(t){let{name:l}=t;const a={prepend:"prependAction",prependInner:"prependAction",append:"appendAction",appendInner:"appendAction",clear:"clear"}[l],r=n[`onClick:${l}`],c=r&&a?o(`$vuetify.input.${a}`,n.label??""):void 0;return e.createVNode(ce,{icon:n[`${l}Icon`],"aria-label":c,onClick:r},null)}}}const mr=U({active:Boolean,color:String,messages:{type:[Array,String],default:()=>[]},...ae(),...Dn({transition:{component:Nl,leaveAbsolute:!0,group:!0}})},"VMessages"),yr=X()({name:"VMessages",props:mr(),setup(n,o){let{slots:t}=o;const l=e.computed(()=>$e(n.messages)),{textColorClasses:a,textColorStyles:r}=Re(e.computed(()=>n.color));return ee(()=>e.createVNode(We,{transition:n.transition,tag:"div",class:["v-messages",a.value,n.class],style:[r.value,n.style],role:"alert","aria-live":"polite"},{default:()=>[n.active&&l.value.map((c,u)=>e.createVNode("div",{class:"v-messages__message",key:`${u}-${l.value}`},[t.message?t.message({message:c}):c]))]})),{}}}),na=U({focused:Boolean,"onUpdate:focused":Ee()},"focus");function Gn(n){let o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Oe();const t=he(n,"focused");return{focusClasses:e.computed(()=>({[`${o}--focused`]:t.value})),isFocused:t,focus:function(){t.value=!0},blur:function(){t.value=!1}}}const gr=Symbol.for("vuetify:form");function ta(){return e.inject(gr,null)}const hr=U({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,...na()},"validation"),qn=U({id:String,appendIcon:se,centerAffix:{type:Boolean,default:!0},prependIcon:se,hideDetails:[Boolean,String],hideSpinButtons:Boolean,hint:String,persistentHint:Boolean,messages:{type:[Array,String],default:()=>[]},direction:{type:String,default:"horizontal",validator:n=>["horizontal","vertical"].includes(n)},"onClick:prepend":Ee(),"onClick:append":Ee(),...ae(),...ze(),...hr()},"VInput"),je=X()({name:"VInput",props:{...qn()},emits:{"update:modelValue":n=>!0},setup(n,o){let{attrs:t,slots:l,emit:a}=o;const{densityClasses:r}=Me(n),{rtlClasses:c}=Rn(),{InputIcon:u}=ea(n),s=Pe(),i=e.computed(()=>n.id||`input-${s}`),d=e.computed(()=>`${i.value}-messages`),{errorMessages:v,isDirty:p,isDisabled:f,isReadonly:y,isPristine:g,isValid:m,isValidating:b,reset:w,resetValidation:N,validate:M,validationClasses:E}=function(A){let I=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Oe(),k=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Pe();const C=he(A,"modelValue"),V=e.computed(()=>A.validationValue===void 0?C.value:A.validationValue),B=ta(),D=e.ref([]),$=e.shallowRef(!0),F=e.computed(()=>!(!$e(C.value===""?null:C.value).length&&!$e(V.value===""?null:V.value).length)),h=e.computed(()=>!!(A.disabled??(B==null?void 0:B.isDisabled.value))),S=e.computed(()=>!!(A.readonly??(B==null?void 0:B.isReadonly.value))),x=e.computed(()=>{var G;return(G=A.errorMessages)!=null&&G.length?$e(A.errorMessages).concat(D.value).slice(0,Math.max(0,+A.maxErrors)):D.value}),z=e.computed(()=>{let G=(A.validateOn??(B==null?void 0:B.validateOn.value))||"input";G==="lazy"&&(G="input lazy");const Y=new Set((G==null?void 0:G.split(" "))??[]);return{blur:Y.has("blur")||Y.has("input"),input:Y.has("input"),submit:Y.has("submit"),lazy:Y.has("lazy")}}),T=e.computed(()=>{var G;return!A.error&&!((G=A.errorMessages)!=null&&G.length)&&(!A.rules.length||($.value?!D.value.length&&!z.value.lazy||null:!D.value.length))}),O=e.shallowRef(!1),H=e.computed(()=>({[`${I}--error`]:T.value===!1,[`${I}--dirty`]:F.value,[`${I}--disabled`]:h.value,[`${I}--readonly`]:S.value})),_=e.computed(()=>A.name??e.unref(k));function W(){C.value=null,e.nextTick(R)}function R(){$.value=!0,z.value.lazy?D.value=[]:j(!0)}async function j(){let G=arguments.length>0&&arguments[0]!==void 0&&arguments[0];const Y=[];O.value=!0;for(const te of A.rules){if(Y.length>=+(A.maxErrors??1))break;const ie=typeof te=="function"?te:()=>te,re=await ie(V.value);re!==!0&&(re===!1||typeof re=="string"?Y.push(re||""):console.warn(`${re} is not a valid value. Rule functions must return boolean true or a string.`))}return D.value=Y,O.value=!1,$.value=G,D.value}return e.onBeforeMount(()=>{B==null||B.register({id:_.value,validate:j,reset:W,resetValidation:R})}),e.onBeforeUnmount(()=>{B==null||B.unregister(_.value)}),e.onMounted(async()=>{z.value.lazy||await j(!0),B==null||B.update(_.value,T.value,x.value)}),Ye(()=>z.value.input,()=>{e.watch(V,()=>{if(V.value!=null)j();else if(A.focused){const G=e.watch(()=>A.focused,Y=>{Y||j(),G()})}})}),Ye(()=>z.value.blur,()=>{e.watch(()=>A.focused,G=>{G||j()})}),e.watch(T,()=>{B==null||B.update(_.value,T.value,x.value)}),{errorMessages:x,isDirty:F,isDisabled:h,isReadonly:S,isPristine:$,isValid:T,isValidating:O,reset:W,resetValidation:R,validate:j,validationClasses:H}}(n,"v-input",i),P=e.computed(()=>({id:i,messagesId:d,isDirty:p,isDisabled:f,isReadonly:y,isPristine:g,isValid:m,isValidating:b,reset:w,resetValidation:N,validate:M})),L=e.computed(()=>{var A;return(A=n.errorMessages)!=null&&A.length||!g.value&&v.value.length?v.value:n.hint&&(n.persistentHint||n.focused)?n.hint:n.messages});return ee(()=>{var V,B,D,$;const A=!(!l.prepend&&!n.prependIcon),I=!(!l.append&&!n.appendIcon),k=L.value.length>0,C=!n.hideDetails||n.hideDetails==="auto"&&(k||!!l.details);return e.createVNode("div",{class:["v-input",`v-input--${n.direction}`,{"v-input--center-affix":n.centerAffix,"v-input--hide-spin-buttons":n.hideSpinButtons},r.value,c.value,E.value,n.class],style:n.style},[A&&e.createVNode("div",{key:"prepend",class:"v-input__prepend"},[(V=l.prepend)==null?void 0:V.call(l,P.value),n.prependIcon&&e.createVNode(u,{key:"prepend-icon",name:"prepend"},null)]),l.default&&e.createVNode("div",{class:"v-input__control"},[(B=l.default)==null?void 0:B.call(l,P.value)]),I&&e.createVNode("div",{key:"append",class:"v-input__append"},[n.appendIcon&&e.createVNode(u,{key:"append-icon",name:"append"},null),(D=l.append)==null?void 0:D.call(l,P.value)]),C&&e.createVNode("div",{class:"v-input__details"},[e.createVNode(yr,{id:d.value,active:k,messages:L.value},{message:l.message}),($=l.details)==null?void 0:$.call(l,P.value)])])}),{reset:w,resetValidation:N,validate:M,isValid:m,errorMessages:v}}}),br=U({...qn(),...Ke(Ql(),["inline"])},"VCheckbox"),Cr=X()({name:"VCheckbox",inheritAttrs:!1,props:br(),emits:{"update:modelValue":n=>!0,"update:focused":n=>!0},setup(n,o){let{attrs:t,slots:l}=o;const a=he(n,"modelValue"),{isFocused:r,focus:c,blur:u}=Gn(n),s=Pe(),i=e.computed(()=>n.id||`checkbox-${s}`);return ee(()=>{const[d,v]=Tn(t),p=je.filterProps(n),f=Tt.filterProps(n);return e.createVNode(je,e.mergeProps({class:["v-checkbox",n.class]},d,p,{modelValue:a.value,"onUpdate:modelValue":y=>a.value=y,id:i.value,focused:r.value,style:n.style}),{...l,default:y=>{let{id:g,messagesId:m,isDisabled:b,isReadonly:w}=y;return e.createVNode(Tt,e.mergeProps(f,{id:g.value,"aria-describedby":m.value,disabled:b.value,readonly:w.value},v,{modelValue:a.value,"onUpdate:modelValue":N=>a.value=N,onFocus:c,onBlur:u}),l)}})}),{}}}),Sr=U({start:Boolean,end:Boolean,icon:se,image:String,text:String,...ae(),...ze(),...De(),...Wn(),...Ae(),...Ve(),...Ge({variant:"flat"})},"VAvatar"),rn=X()({name:"VAvatar",props:Sr(),setup(n,o){let{slots:t}=o;const{themeClasses:l}=ke(n),{colorClasses:a,colorStyles:r,variantClasses:c}=Mn(n),{densityClasses:u}=Me(n),{roundedClasses:s}=Le(n),{sizeClasses:i,sizeStyles:d}=jn(n);return ee(()=>e.createVNode(n.tag,{class:["v-avatar",{"v-avatar--start":n.start,"v-avatar--end":n.end},l.value,a.value,u.value,s.value,i.value,c.value,n.class],style:[r.value,d.value,n.style]},{default:()=>{var v;return[n.image?e.createVNode(_l,{key:"image",src:n.image,alt:"",cover:!0},null):n.icon?e.createVNode(ce,{key:"icon",icon:n.icon},null):((v=t.default)==null?void 0:v.call(t))??n.text,Ln(!1,"v-avatar")]}})),{}}}),oa=Symbol.for("vuetify:v-chip-group"),Ir=U({column:Boolean,filter:Boolean,valueComparator:{type:Function,default:cn},...ae(),...Ol({selectedClass:"v-chip--selected"}),...Ae(),...Ve(),...Ge({variant:"tonal"})},"VChipGroup");X()({name:"VChipGroup",props:Ir(),emits:{"update:modelValue":n=>!0},setup(n,o){let{slots:t}=o;const{themeClasses:l}=ke(n),{isSelected:a,select:r,next:c,prev:u,selected:s}=$l(n,oa);return dn({VChip:{color:e.toRef(n,"color"),disabled:e.toRef(n,"disabled"),filter:e.toRef(n,"filter"),variant:e.toRef(n,"variant")}}),ee(()=>e.createVNode(n.tag,{class:["v-chip-group",{"v-chip-group--column":n.column},l.value,n.class],style:n.style},{default:()=>{var i;return[(i=t.default)==null?void 0:i.call(t,{isSelected:a,select:r,next:c,prev:u,selected:s.value})]}})),{}}});const Vr=U({activeClass:String,appendAvatar:String,appendIcon:se,closable:Boolean,closeIcon:{type:se,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:se,ripple:{type:[Boolean,Object],default:!0},text:String,modelValue:{type:Boolean,default:!0},onClick:Ee(),onClickOnce:Ee(),...pn(),...ae(),...ze(),...fn(),...zl(),...De(),...mt(),...Wn(),...Ae({tag:"span"}),...Ve(),...Ge({variant:"tonal"})},"VChip"),Br=X()({name:"VChip",directives:{Ripple:Un},props:Vr(),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:a}=o;const{t:r}=lo(),{borderClasses:c}=vn(n),{colorClasses:u,colorStyles:s,variantClasses:i}=Mn(n),{densityClasses:d}=Me(n),{elevationClasses:v}=mn(n),{roundedClasses:p}=Le(n),{sizeClasses:f}=jn(n),{themeClasses:y}=ke(n),g=he(n,"modelValue"),m=Tl(n,oa,!1),b=ft(n,t),w=e.computed(()=>n.link!==!1&&b.isLink.value),N=e.computed(()=>!n.disabled&&n.link!==!1&&(!!m||n.link||b.isClickable.value)),M=e.computed(()=>({"aria-label":r(n.closeLabel),onClick(L){L.stopPropagation(),g.value=!1,l("click:close",L)}}));function E(L){var A;l("click",L),N.value&&((A=b.navigate)==null||A.call(b,L),m==null||m.toggle())}function P(L){L.key!=="Enter"&&L.key!==" "||(L.preventDefault(),E(L))}return()=>{const L=b.isLink.value?"a":n.tag,A=!(!n.appendIcon&&!n.appendAvatar),I=!(!A&&!a.append),k=!(!a.close&&!n.closable),C=!(!a.filter&&!n.filter)&&m,V=!(!n.prependIcon&&!n.prependAvatar),B=!(!V&&!a.prepend),D=!m||m.isSelected.value;return g.value&&e.withDirectives(e.createVNode(L,{class:["v-chip",{"v-chip--disabled":n.disabled,"v-chip--label":n.label,"v-chip--link":N.value,"v-chip--filter":C,"v-chip--pill":n.pill},y.value,c.value,D?u.value:void 0,d.value,v.value,p.value,f.value,i.value,m==null?void 0:m.selectedClass.value,n.class],style:[D?s.value:void 0,n.style],disabled:n.disabled||void 0,draggable:n.draggable,href:b.href.value,tabindex:N.value?0:void 0,onClick:E,onKeydown:N.value&&!w.value&&P},{default:()=>{var $;return[Ln(N.value,"v-chip"),C&&e.createVNode(Al,{key:"filter"},{default:()=>[e.withDirectives(e.createVNode("div",{class:"v-chip__filter"},[a.filter?e.createVNode(Be,{key:"filter-defaults",disabled:!n.filterIcon,defaults:{VIcon:{icon:n.filterIcon}}},a.filter):e.createVNode(ce,{key:"filter-icon",icon:n.filterIcon},null)]),[[e.vShow,m.isSelected.value]])]}),B&&e.createVNode("div",{key:"prepend",class:"v-chip__prepend"},[a.prepend?e.createVNode(Be,{key:"prepend-defaults",disabled:!V,defaults:{VAvatar:{image:n.prependAvatar,start:!0},VIcon:{icon:n.prependIcon,start:!0}}},a.prepend):e.createVNode(e.Fragment,null,[n.prependIcon&&e.createVNode(ce,{key:"prepend-icon",icon:n.prependIcon,start:!0},null),n.prependAvatar&&e.createVNode(rn,{key:"prepend-avatar",image:n.prependAvatar,start:!0},null)])]),e.createVNode("div",{class:"v-chip__content"},[(($=a.default)==null?void 0:$.call(a,{isSelected:m==null?void 0:m.isSelected.value,selectedClass:m==null?void 0:m.selectedClass.value,select:m==null?void 0:m.select,toggle:m==null?void 0:m.toggle,value:m==null?void 0:m.value.value,disabled:n.disabled}))??n.text]),I&&e.createVNode("div",{key:"append",class:"v-chip__append"},[a.append?e.createVNode(Be,{key:"append-defaults",disabled:!A,defaults:{VAvatar:{end:!0,image:n.appendAvatar},VIcon:{end:!0,icon:n.appendIcon}}},a.append):e.createVNode(e.Fragment,null,[n.appendIcon&&e.createVNode(ce,{key:"append-icon",end:!0,icon:n.appendIcon},null),n.appendAvatar&&e.createVNode(rn,{key:"append-avatar",end:!0,image:n.appendAvatar},null)])]),k&&e.createVNode("div",e.mergeProps({key:"close",class:"v-chip__close"},M.value),[a.close?e.createVNode(Be,{key:"close-defaults",defaults:{VIcon:{icon:n.closeIcon,size:"x-small"}}},a.close):e.createVNode(ce,{key:"close-icon",icon:n.closeIcon,size:"x-small"},null)])]}}),[[e.resolveDirective("ripple"),N.value&&n.ripple,null]])}}}),$t=Symbol.for("vuetify:list");function la(){const n=e.inject($t,{hasPrepend:e.shallowRef(!1),updateHasPrepend:()=>null}),o={hasPrepend:e.shallowRef(!1),updateHasPrepend:t=>{t&&(o.hasPrepend.value=t)}};return e.provide($t,o),n}function aa(){return e.inject($t,null)}const wr={open:n=>{let{id:o,value:t,opened:l,parents:a}=n;if(t){const r=new Set;r.add(o);let c=a.get(o);for(;c!=null;)r.add(c),c=a.get(c);return r}return l.delete(o),l},select:()=>null},ra={open:n=>{let{id:o,value:t,opened:l,parents:a}=n;if(t){let r=a.get(o);for(l.add(o);r!=null&&r!==o;)l.add(r),r=a.get(r);return l}return l.delete(o),l},select:()=>null},kr={open:ra.open,select:n=>{let{id:o,value:t,opened:l,parents:a}=n;if(!t)return l;const r=[];let c=a.get(o);for(;c!=null;)r.push(c),c=a.get(c);return new Set(r)}},Rt=n=>{const o={select:t=>{let{id:l,value:a,selected:r}=t;if(l=e.toRaw(l),n&&!a){const c=Array.from(r.entries()).reduce((u,s)=>{let[i,d]=s;return d==="on"?[...u,i]:u},[]);if(c.length===1&&c[0]===l)return r}return r.set(l,a?"on":"off"),r},in:(t,l,a)=>{let r=new Map;for(const c of t||[])r=o.select({id:c,value:!0,selected:new Map(r),children:l,parents:a});return r},out:t=>{const l=[];for(const[a,r]of t.entries())r==="on"&&l.push(a);return l}};return o},Zo=n=>{const o=Rt(n);return{select:t=>{let{selected:l,id:a,...r}=t;a=e.toRaw(a);const c=l.has(a)?new Map([[a,l.get(a)]]):new Map;return o.select({...r,id:a,selected:c})},in:(t,l,a)=>{let r=new Map;return t!=null&&t.length&&(r=o.in(t.slice(0,1),l,a)),r},out:(t,l,a)=>o.out(t,l,a)}},En=Symbol.for("vuetify:nested"),ia={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([])}},xr=U({selectStrategy:[String,Function],openStrategy:[String,Object],opened:Array,selected:Array,mandatory:Boolean},"nested"),Fr=n=>{let o=!1;const t=e.ref(new Map),l=e.ref(new Map),a=he(n,"opened",n.opened,v=>new Set(v),v=>[...v.values()]),r=e.computed(()=>{if(typeof n.selectStrategy=="object")return n.selectStrategy;switch(n.selectStrategy){case"single-leaf":return(v=>{const p=Zo(v);return{select:f=>{let{id:y,selected:g,children:m,...b}=f;return y=e.toRaw(y),m.has(y)?g:p.select({id:y,selected:g,children:m,...b})},in:p.in,out:p.out}})(n.mandatory);case"leaf":return(v=>{const p=Rt(v);return{select:f=>{let{id:y,selected:g,children:m,...b}=f;return y=e.toRaw(y),m.has(y)?g:p.select({id:y,selected:g,children:m,...b})},in:p.in,out:p.out}})(n.mandatory);case"independent":return Rt(n.mandatory);case"single-independent":return Zo(n.mandatory);default:return(v=>{const p={select:f=>{let{id:y,value:g,selected:m,children:b,parents:w}=f;y=e.toRaw(y);const N=new Map(m),M=[y];for(;M.length;){const P=M.shift();m.set(P,g?"on":"off"),b.has(P)&&M.push(...b.get(P))}let E=w.get(y);for(;E;){const P=b.get(E),L=P.every(I=>m.get(I)==="on"),A=P.every(I=>!m.has(I)||m.get(I)==="off");m.set(E,L?"on":A?"off":"indeterminate"),E=w.get(E)}return v&&!g&&Array.from(m.entries()).reduce((L,A)=>{let[I,k]=A;return k==="on"?[...L,I]:L},[]).length===0?N:m},in:(f,y,g)=>{let m=new Map;for(const b of f||[])m=p.select({id:b,value:!0,selected:new Map(m),children:y,parents:g});return m},out:(f,y)=>{const g=[];for(const[m,b]of f.entries())b!=="on"||y.has(m)||g.push(m);return g}};return p})(n.mandatory)}}),c=e.computed(()=>{if(typeof n.openStrategy=="object")return n.openStrategy;switch(n.openStrategy){case"list":return kr;case"single":return wr;default:return ra}}),u=he(n,"selected",n.selected,v=>r.value.in(v,t.value,l.value),v=>r.value.out(v,t.value,l.value));function s(v){const p=[];let f=v;for(;f!=null;)p.unshift(f),f=l.value.get(f);return p}e.onBeforeUnmount(()=>{o=!0});const i=Se("nested"),d={id:e.shallowRef(),root:{opened:a,selected:u,selectedValues:e.computed(()=>{const v=[];for(const[p,f]of u.value.entries())f==="on"&&v.push(p);return v}),register:(v,p,f)=>{p&&v!==p&&l.value.set(v,p),f&&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 f=t.value.get(p)??[];t.value.set(p,f.filter(y=>y!==v))}l.value.delete(v),a.value.delete(v)},open:(v,p,f)=>{i.emit("click:open",{id:v,value:p,path:s(v),event:f});const y=c.value.open({id:v,value:p,opened:new Set(a.value),children:t.value,parents:l.value,event:f});y&&(a.value=y)},openOnSelect:(v,p,f)=>{const y=c.value.select({id:v,value:p,selected:new Map(u.value),opened:new Set(a.value),children:t.value,parents:l.value,event:f});y&&(a.value=y)},select:(v,p,f)=>{i.emit("click:select",{id:v,value:p,path:s(v),event:f});const y=r.value.select({id:v,value:p,selected:new Map(u.value),children:t.value,parents:l.value,event:f});y&&(u.value=y),d.root.openOnSelect(v,p,f)},children:t,parents:l}};return e.provide(En,d),d.root},sa=(n,o)=>{const t=e.inject(En,ia),l=Symbol(Pe()),a=e.computed(()=>n.value!==void 0?n.value:l),r={...t,id:a,open:(c,u)=>t.root.open(a.value,c,u),openOnSelect:(c,u)=>t.root.openOnSelect(a.value,c,u),isOpen:e.computed(()=>t.root.opened.value.has(a.value)),parent:e.computed(()=>t.root.parents.value.get(a.value)),select:(c,u)=>t.root.select(a.value,c,u),isSelected:e.computed(()=>t.root.selected.value.get(e.toRaw(a.value))==="on"),isIndeterminate:e.computed(()=>t.root.selected.value.get(a.value)==="indeterminate"),isLeaf:e.computed(()=>!t.root.children.value.get(a.value)),isGroupActivator:t.isGroupActivator};return!t.isGroupActivator&&t.root.register(a.value,t.id.value,o),e.onBeforeUnmount(()=>{!t.isGroupActivator&&t.root.unregister(a.value)}),o&&e.provide(En,r),r},Nr=An({name:"VListGroupActivator",setup(n,o){let{slots:t}=o;return(()=>{const l=e.inject(En,ia);e.provide(En,{...l,isGroupActivator:!0})})(),()=>{var l;return(l=t.default)==null?void 0:l.call(t)}}}),Ar=U({activeColor:String,baseColor:String,color:String,collapseIcon:{type:se,default:"$collapse"},expandIcon:{type:se,default:"$expand"},prependIcon:se,appendIcon:se,fluid:Boolean,subgroup:Boolean,title:String,value:null,...ae(),...Ae()},"VListGroup"),Qo=X()({name:"VListGroup",props:Ar(),setup(n,o){let{slots:t}=o;const{isOpen:l,open:a,id:r}=sa(e.toRef(n,"value"),!0),c=e.computed(()=>`v-list-group--id-${String(r.value)}`),u=aa(),{isBooted:s}=function(){const f=e.shallowRef(!1);return e.onMounted(()=>{window.requestAnimationFrame(()=>{f.value=!0})}),{ssrBootStyles:e.computed(()=>f.value?void 0:{transition:"none !important"}),isBooted:e.readonly(f)}}();function i(f){a(!l.value,f)}const d=e.computed(()=>({onClick:i,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 ee(()=>e.createVNode(n.tag,{class:["v-list-group",{"v-list-group--prepend":u==null?void 0:u.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(Be,{defaults:p.value},{default:()=>[e.createVNode(Nr,null,{default:()=>[t.activator({props:d.value,isOpen:l.value})]})]}),e.createVNode(We,{transition:{component:Ja},disabled:!s.value},{default:()=>{var f;return[e.withDirectives(e.createVNode("div",{class:"v-list-group__items",role:"group","aria-labelledby":c.value},[(f=t.default)==null?void 0:f.call(t)]),[[e.vShow,l.value]])]}})]})),{}}}),Pr=$n("v-list-item-subtitle"),_r=$n("v-list-item-title"),Er=U({active:{type:Boolean,default:void 0},activeClass:String,activeColor:String,appendAvatar:String,appendIcon:se,baseColor:String,disabled:Boolean,lines:String,link:{type:Boolean,default:void 0},nav:Boolean,prependAvatar:String,prependIcon:se,ripple:{type:[Boolean,Object],default:!0},slim:Boolean,subtitle:[String,Number],title:[String,Number],value:null,onClick:Ee(),onClickOnce:Ee(),...pn(),...ae(),...ze(),...Je(),...fn(),...De(),...mt(),...Ae(),...Ve(),...Ge({variant:"text"})},"VListItem"),dt=X()({name:"VListItem",directives:{Ripple:Un},props:Er(),emits:{click:n=>!0},setup(n,o){let{attrs:t,slots:l,emit:a}=o;const r=ft(n,t),c=e.computed(()=>n.value===void 0?r.href.value:n.value),{select:u,isSelected:s,isIndeterminate:i,isGroupActivator:d,root:v,parent:p,openOnSelect:f}=sa(c,!1),y=aa(),g=e.computed(()=>{var S;return n.active!==!1&&(n.active||((S=r.isActive)==null?void 0:S.value)||s.value)}),m=e.computed(()=>n.link!==!1&&r.isLink.value),b=e.computed(()=>!n.disabled&&n.link!==!1&&(n.link||r.isClickable.value||n.value!=null&&!!y)),w=e.computed(()=>n.rounded||n.nav),N=e.computed(()=>n.color??n.activeColor),M=e.computed(()=>({color:g.value?N.value??n.baseColor:n.baseColor,variant:n.variant}));e.watch(()=>{var S;return(S=r.isActive)==null?void 0:S.value},S=>{S&&p.value!=null&&v.open(p.value,!0),S&&f(S)},{immediate:!0});const{themeClasses:E}=ke(n),{borderClasses:P}=vn(n),{colorClasses:L,colorStyles:A,variantClasses:I}=Mn(M),{densityClasses:k}=Me(n),{dimensionStyles:C}=Ze(n),{elevationClasses:V}=mn(n),{roundedClasses:B}=Le(w),D=e.computed(()=>n.lines?`v-list-item--${n.lines}-line`:void 0),$=e.computed(()=>({isActive:g.value,select:u,isSelected:s.value,isIndeterminate:i.value}));function F(S){var x;a("click",S),!d&&b.value&&((x=r.navigate)==null||x.call(r,S),n.value!=null&&u(!s.value,S))}function h(S){S.key!=="Enter"&&S.key!==" "||(S.preventDefault(),F(S))}return ee(()=>{const S=m.value?"a":n.tag,x=l.title||n.title!=null,z=l.subtitle||n.subtitle!=null,T=!(!n.appendAvatar&&!n.appendIcon),O=!(!T&&!l.append),H=!(!n.prependAvatar&&!n.prependIcon),_=!(!H&&!l.prepend);var W,R;return y==null||y.updateHasPrepend(_),n.activeColor&&(W="active-color",R=["color","base-color"],R=Array.isArray(R)?R.slice(0,-1).map(j=>`'${j}'`).join(", ")+` or '${R.at(-1)}'`:`'${R}'`,e.warn(`[Vuetify UPGRADE] '${W}' is deprecated, use ${R} instead.`)),e.withDirectives(e.createVNode(S,{class:["v-list-item",{"v-list-item--active":g.value,"v-list-item--disabled":n.disabled,"v-list-item--link":b.value,"v-list-item--nav":n.nav,"v-list-item--prepend":!_&&(y==null?void 0:y.hasPrepend.value),"v-list-item--slim":n.slim,[`${n.activeClass}`]:n.activeClass&&g.value},E.value,P.value,L.value,k.value,V.value,D.value,B.value,I.value,n.class],style:[A.value,C.value,n.style],href:r.href.value,tabindex:b.value?y?-2:0:void 0,onClick:F,onKeydown:b.value&&!m.value&&h},{default:()=>{var j;return[Ln(b.value||g.value,"v-list-item"),_&&e.createVNode("div",{key:"prepend",class:"v-list-item__prepend"},[l.prepend?e.createVNode(Be,{key:"prepend-defaults",disabled:!H,defaults:{VAvatar:{density:n.density,image:n.prependAvatar},VIcon:{density:n.density,icon:n.prependIcon},VListItemAction:{start:!0}}},{default:()=>{var G;return[(G=l.prepend)==null?void 0:G.call(l,$.value)]}}):e.createVNode(e.Fragment,null,[n.prependAvatar&&e.createVNode(rn,{key:"prepend-avatar",density:n.density,image:n.prependAvatar},null),n.prependIcon&&e.createVNode(ce,{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":""},[x&&e.createVNode(_r,{key:"title"},{default:()=>{var G;return[((G=l.title)==null?void 0:G.call(l,{title:n.title}))??n.title]}}),z&&e.createVNode(Pr,{key:"subtitle"},{default:()=>{var G;return[((G=l.subtitle)==null?void 0:G.call(l,{subtitle:n.subtitle}))??n.subtitle]}}),(j=l.default)==null?void 0:j.call(l,$.value)]),O&&e.createVNode("div",{key:"append",class:"v-list-item__append"},[l.append?e.createVNode(Be,{key:"append-defaults",disabled:!T,defaults:{VAvatar:{density:n.density,image:n.appendAvatar},VIcon:{density:n.density,icon:n.appendIcon},VListItemAction:{end:!0}}},{default:()=>{var G;return[(G=l.append)==null?void 0:G.call(l,$.value)]}}):e.createVNode(e.Fragment,null,[n.appendIcon&&e.createVNode(ce,{key:"append-icon",density:n.density,icon:n.appendIcon},null),n.appendAvatar&&e.createVNode(rn,{key:"append-avatar",density:n.density,image:n.appendAvatar},null)]),e.createVNode("div",{class:"v-list-item__spacer"},null)])]}}),[[e.resolveDirective("ripple"),b.value&&n.ripple]])}),{}}}),Or=U({color:String,inset:Boolean,sticky:Boolean,title:String,...ae(),...Ae()},"VListSubheader"),zr=X()({name:"VListSubheader",props:Or(),setup(n,o){let{slots:t}=o;const{textColorClasses:l,textColorStyles:a}=Re(e.toRef(n,"color"));return ee(()=>{const r=!(!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:a},n.style]},{default:()=>{var c;return[r&&e.createVNode("div",{class:"v-list-subheader__text"},[((c=t.default)==null?void 0:c.call(t))??n.title])]}})}),{}}}),Tr=U({color:String,inset:Boolean,length:[Number,String],thickness:[Number,String],vertical:Boolean,...ae(),...Ve()},"VDivider"),$r=X()({name:"VDivider",props:Tr(),setup(n,o){let{attrs:t}=o;const{themeClasses:l}=ke(n),{textColorClasses:a,textColorStyles:r}=Re(e.toRef(n,"color")),c=e.computed(()=>{const u={};return n.length&&(u[n.vertical?"maxHeight":"maxWidth"]=J(n.length)),n.thickness&&(u[n.vertical?"borderRightWidth":"borderTopWidth"]=J(n.thickness)),u});return ee(()=>e.createVNode("hr",{class:[{"v-divider":!0,"v-divider--inset":n.inset,"v-divider--vertical":n.vertical},l.value,a.value,n.class],style:[c.value,r.value,n.style],"aria-orientation":t.role&&t.role!=="separator"?void 0:n.vertical?"vertical":"horizontal",role:`${t.role||"separator"}`},null)),{}}}),Rr=U({items:Array,returnObject:Boolean},"VListChildren"),ua=X()({name:"VListChildren",props:Rr(),setup(n,o){let{slots:t}=o;return la(),()=>{var l,a;return((l=t.default)==null?void 0:l.call(t))??((a=n.items)==null?void 0:a.map(r=>{var p,f;let{children:c,props:u,type:s,raw:i}=r;if(s==="divider")return((p=t.divider)==null?void 0:p.call(t,{props:u}))??e.createVNode($r,u,null);if(s==="subheader")return((f=t.subheader)==null?void 0:f.call(t,{props:u}))??e.createVNode(zr,u,null);const d={subtitle:t.subtitle?y=>{var g;return(g=t.subtitle)==null?void 0:g.call(t,{...y,item:i})}:void 0,prepend:t.prepend?y=>{var g;return(g=t.prepend)==null?void 0:g.call(t,{...y,item:i})}:void 0,append:t.append?y=>{var g;return(g=t.append)==null?void 0:g.call(t,{...y,item:i})}:void 0,title:t.title?y=>{var g;return(g=t.title)==null?void 0:g.call(t,{...y,item:i})}:void 0},v=Qo.filterProps(u);return c?e.createVNode(Qo,e.mergeProps({value:u==null?void 0:u.value},v),{activator:y=>{let{props:g}=y;const m={...u,...g,value:n.returnObject?i:u.value};return t.header?t.header({props:m}):e.createVNode(dt,m,d)},default:()=>e.createVNode(ua,{items:c},t)}):t.item?t.item({props:u}):e.createVNode(dt,e.mergeProps(u,{value:n.returnObject?i:u.value}),d)}))}}}),ca=U({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:cn}},"list-items");function Dt(n,o){const t=Te(o,n.itemTitle,o),l=Te(o,n.itemValue,t),a=Te(o,n.itemChildren),r={title:t,value:l,...n.itemProps===!0?typeof o!="object"||o==null||Array.isArray(o)?void 0:"children"in o?Ke(o,["children"]):o:Te(o,n.itemProps)};return{title:String(r.title??""),value:r.value,props:r,children:Array.isArray(a)?da(n,a):void 0,raw:o}}function da(n,o){const t=[];for(const l of o)t.push(Dt(n,l));return t}function Dr(n,o){const t=Te(o,n.itemType,"item"),l=function(u){return typeof u=="string"||typeof u=="number"||typeof u=="boolean"}(o)?o:Te(o,n.itemTitle),a=Te(o,n.itemValue,void 0),r=Te(o,n.itemChildren),c={title:l,value:a,...n.itemProps===!0?Ke(o,["children"]):Te(o,n.itemProps)};return{type:t,title:c.title,value:c.value,props:c,children:t==="item"&&r?pa(n,r):void 0,raw:o}}function pa(n,o){const t=[];for(const l of o)t.push(Dr(n,l));return t}const Lr=U({baseColor:String,activeColor:String,activeClass:String,bgColor:String,disabled:Boolean,lines:{type:[Boolean,String],default:"one"},slim:Boolean,nav:Boolean,...xr({selectStrategy:"single-leaf",openStrategy:"list"}),...pn(),...ae(),...ze(),...Je(),...fn(),itemType:{type:String,default:"type"},...ca(),...De(),...Ae(),...Ve(),...Ge({variant:"text"})},"VList"),Mr=X()({name:"VList",props:Lr(),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(I){return{items:e.computed(()=>pa(I,I.items))}}(n),{themeClasses:a}=ke(n),{backgroundColorClasses:r,backgroundColorStyles:c}=an(e.toRef(n,"bgColor")),{borderClasses:u}=vn(n),{densityClasses:s}=Me(n),{dimensionStyles:i}=Ze(n),{elevationClasses:d}=mn(n),{roundedClasses:v}=Le(n),{open:p,select:f}=Fr(n),y=e.computed(()=>n.lines?`v-list--${n.lines}-line`:void 0),g=e.toRef(n,"activeColor"),m=e.toRef(n,"baseColor"),b=e.toRef(n,"color");la(),dn({VListGroup:{activeColor:g,baseColor:m,color:b},VListItem:{activeClass:e.toRef(n,"activeClass"),activeColor:g,baseColor:m,color:b,density:e.toRef(n,"density"),disabled:e.toRef(n,"disabled"),lines:e.toRef(n,"lines"),nav:e.toRef(n,"nav"),slim:e.toRef(n,"slim"),variant:e.toRef(n,"variant")}});const w=e.shallowRef(!1),N=e.ref();function M(I){w.value=!0}function E(I){w.value=!1}function P(I){var k;w.value||I.relatedTarget&&((k=N.value)!=null&&k.contains(I.relatedTarget))||A()}function L(I){if(N.value){if(I.key==="ArrowDown")A("next");else if(I.key==="ArrowUp")A("prev");else if(I.key==="Home")A("first");else{if(I.key!=="End")return;A("last")}I.preventDefault()}}function A(I){if(N.value)return ot(N.value,I)}return ee(()=>e.createVNode(n.tag,{ref:N,class:["v-list",{"v-list--disabled":n.disabled,"v-list--nav":n.nav},a.value,r.value,u.value,s.value,d.value,y.value,v.value,n.class],style:[c.value,i.value,n.style],tabindex:n.disabled||w.value?-1:0,role:"listbox","aria-activedescendant":void 0,onFocusin:M,onFocusout:E,onFocus:P,onKeydown:L},{default:()=>[e.createVNode(ua,{items:l.value,returnObject:n.returnObject},t)]})),{open:p,select:f,focus:A}}});function kt(n,o){return{x:n.x+o.x,y:n.y+o.y}}function el(n,o){if(n.side==="top"||n.side==="bottom"){const{side:t,align:l}=n;return kt({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 kt({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 kt({x:o.width/2,y:o.height/2},o)}const va={static:function(){},connected:function(n,o,t){(Array.isArray(n.target.value)||function(f){for(;f;){if(window.getComputedStyle(f).position==="fixed")return!0;f=f.offsetParent}return!1}(n.target.value))&&Object.assign(t.value,{position:"fixed",top:0,[n.isRtl.value?"right":"left"]:0});const{preferredAnchor:l,preferredOrigin:a}=Qt(()=>{const f=Et(o.location,n.isRtl.value),y=o.origin==="overlap"?f:o.origin==="auto"?It(f):Et(o.origin,n.isRtl.value);return f.side===y.side&&f.align===Vt(y).align?{preferredAnchor:ko(f),preferredOrigin:ko(y)}:{preferredAnchor:f,preferredOrigin:y}}),[r,c,u,s]=["minWidth","minHeight","maxWidth","maxHeight"].map(f=>e.computed(()=>{const y=parseFloat(o[f]);return isNaN(y)?1/0:y})),i=e.computed(()=>{if(Array.isArray(o.offset))return o.offset;if(typeof o.offset=="string"){const f=o.offset.split(" ").map(parseFloat);return f.length<2&&f.push(0),f}return typeof o.offset=="number"?[o.offset,0]:[0,0]});let d=!1;const v=new ResizeObserver(()=>{d&&p()});function p(){if(d=!1,requestAnimationFrame(()=>{requestAnimationFrame(()=>d=!0)}),!n.target.value||!n.contentEl.value)return;const f=Cl(n.target.value),y=function(k,C){C?k.style.removeProperty("left"):k.style.removeProperty("right");const V=eo(k);return C?V.x+=parseFloat(k.style.right||0):V.x-=parseFloat(k.style.left||0),V.y-=parseFloat(k.style.top||0),V}(n.contentEl.value,n.isRtl.value),g=it(n.contentEl.value);g.length||(g.push(document.documentElement),n.contentEl.value.style.top&&n.contentEl.value.style.left||(y.x-=parseFloat(document.documentElement.style.getPropertyValue("--v-body-scroll-x")||0),y.y-=parseFloat(document.documentElement.style.getPropertyValue("--v-body-scroll-y")||0)));const m=g.reduce((k,C)=>{const V=C.getBoundingClientRect(),B=new He({x:C===document.documentElement?0:V.x,y:C===document.documentElement?0:V.y,width:C.clientWidth,height:C.clientHeight});return k?new He({x:Math.max(k.left,B.left),y:Math.max(k.top,B.top),width:Math.min(k.right,B.right)-Math.max(k.left,B.left),height:Math.min(k.bottom,B.bottom)-Math.max(k.top,B.top)}):B},void 0);m.x+=12,m.y+=12,m.width-=24,m.height-=24;let b={anchor:l.value,origin:a.value};function w(k){const C=new He(y),V=el(k.anchor,f),B=el(k.origin,C);let{x:D,y:$}=(h=B,{x:(F=V).x-h.x,y:F.y-h.y});var F,h;switch(k.anchor.side){case"top":$-=i.value[0];break;case"bottom":$+=i.value[0];break;case"left":D-=i.value[0];break;case"right":D+=i.value[0]}switch(k.anchor.align){case"top":$-=i.value[1];break;case"bottom":$+=i.value[1];break;case"left":D-=i.value[1];break;case"right":D+=i.value[1]}return C.x+=D,C.y+=$,C.width=Math.min(C.width,u.value),C.height=Math.min(C.height,s.value),{overflows:Fo(C,m),x:D,y:$}}let N=0,M=0;const E={x:0,y:0},P={x:!1,y:!1};let L=-1;for(;;){if(L++>10){A="Infinite loop detected in connectedLocationStrategy",e.warn(`Vuetify error: ${A}`);break}const{x:k,y:C,overflows:V}=w(b);N+=k,M+=C,y.x+=k,y.y+=C;{const B=xo(b.anchor),D=V.x.before||V.x.after,$=V.y.before||V.y.after;let F=!1;if(["x","y"].forEach(h=>{if(h==="x"&&D&&!P.x||h==="y"&&$&&!P.y){const S={anchor:{...b.anchor},origin:{...b.origin}},x=h==="x"?B==="y"?Vt:It:B==="y"?It:Vt;S.anchor=x(S.anchor),S.origin=x(S.origin);const{overflows:z}=w(S);(z[h].before<=V[h].before&&z[h].after<=V[h].after||z[h].before+z[h].after<(V[h].before+V[h].after)/2)&&(b=S,F=P[h]=!0)}}),F)continue}V.x.before&&(N+=V.x.before,y.x+=V.x.before),V.x.after&&(N-=V.x.after,y.x-=V.x.after),V.y.before&&(M+=V.y.before,y.y+=V.y.before),V.y.after&&(M-=V.y.after,y.y-=V.y.after);{const B=Fo(y,m);E.x=m.width-B.x.before-B.x.after,E.y=m.height-B.y.before-B.y.after,N+=B.x.before,y.x+=B.x.before,M+=B.y.before,y.y+=B.y.before}break}var A;const I=xo(b.anchor);return Object.assign(t.value,{"--v-overlay-anchor-origin":`${b.anchor.side} ${b.anchor.align}`,transformOrigin:`${b.origin.side} ${b.origin.align}`,top:J(xt(M)),left:n.isRtl.value?void 0:J(xt(N)),right:n.isRtl.value?J(xt(-N)):void 0,minWidth:J(I==="y"?Math.min(r.value,f.width):r.value),maxWidth:J(nl(ln(E.x,r.value===1/0?0:r.value,u.value))),maxHeight:J(nl(ln(E.y,c.value===1/0?0:c.value,s.value)))}),{available:E,contentBox:y}}return e.watch([n.target,n.contentEl],(f,y)=>{let[g,m]=f,[b,w]=y;b&&!Array.isArray(b)&&v.unobserve(b),g&&!Array.isArray(g)&&v.observe(g),w&&v.unobserve(w),m&&v.observe(m)},{immediate:!0}),e.onScopeDispose(()=>{v.disconnect()}),e.watch(()=>[l.value,a.value,o.offset,o.minWidth,o.minHeight,o.maxWidth,o.maxHeight],()=>p()),e.nextTick(()=>{const f=p();if(!f)return;const{available:y,contentBox:g}=f;g.height>y.y&&requestAnimationFrame(()=>{p(),requestAnimationFrame(()=>{p()})})}),{updateLocation:p}}},Wr=U({locationStrategy:{type:[String,Function],default:"static",validator:n=>typeof n=="function"||n in va},location:{type:String,default:"bottom"},origin:{type:String,default:"auto"},offset:[Number,String,Array]},"VOverlay-location-strategies");function xt(n){return Math.round(n*devicePixelRatio)/devicePixelRatio}function nl(n){return Math.ceil(n*devicePixelRatio)/devicePixelRatio}let Lt=!0;const pt=[];let tl=-1;function Mt(){cancelAnimationFrame(tl),tl=requestAnimationFrame(()=>{const n=pt.shift();n&&n(),pt.length?Mt():Lt=!0})}const et={none:null,close:function(n){ol(n.targetEl.value??n.contentEl.value,function(o){n.isActive.value=!1})},block:function(n,o){var u;const t=(u=n.root.value)==null?void 0:u.offsetParent,l=[...new Set([...it(n.targetEl.value,o.contained?t:void 0),...it(n.contentEl.value,o.contained?t:void 0)])].filter(s=>!s.classList.contains("v-overlay-scroll-blocked")),a=window.innerWidth-document.documentElement.offsetWidth,r=(c=t||document.documentElement,to(c)&&c);var c;r&&n.root.value.classList.add("v-overlay--scroll-blocked"),l.forEach((s,i)=>{s.style.setProperty("--v-body-scroll-x",J(-s.scrollLeft)),s.style.setProperty("--v-body-scroll-y",J(-s.scrollTop)),s!==document.documentElement&&s.style.setProperty("--v-scrollbar-offset",J(a)),s.classList.add("v-overlay-scroll-blocked")}),e.onScopeDispose(()=>{l.forEach((s,i)=>{const d=parseFloat(s.style.getPropertyValue("--v-body-scroll-x")),v=parseFloat(s.style.getPropertyValue("--v-body-scroll-y"));s.style.removeProperty("--v-body-scroll-x"),s.style.removeProperty("--v-body-scroll-y"),s.style.removeProperty("--v-scrollbar-offset"),s.classList.remove("v-overlay-scroll-blocked"),s.scrollLeft=-d,s.scrollTop=-v}),r&&n.root.value.classList.remove("v-overlay--scroll-blocked")})},reposition:function(n,o,t){let l=!1,a=-1,r=-1;function c(u){var s;s=()=>{var v,p;const i=performance.now();(p=(v=n.updateLocation).value)==null||p.call(v,u),l=(performance.now()-i)/(1e3/60)>2},!Lt||pt.length?(pt.push(s),Mt()):(Lt=!1,s(),Mt())}r=(typeof requestIdleCallback>"u"?u=>u():requestIdleCallback)(()=>{t.run(()=>{ol(n.targetEl.value??n.contentEl.value,u=>{l?(cancelAnimationFrame(a),a=requestAnimationFrame(()=>{a=requestAnimationFrame(()=>{c(u)})})):c(u)})})}),e.onScopeDispose(()=>{typeof cancelIdleCallback<"u"&&cancelIdleCallback(r),cancelAnimationFrame(a)})}},jr=U({scrollStrategy:{type:[String,Function],default:"block",validator:n=>typeof n=="function"||n in et}},"VOverlay-scroll-strategies");function ol(n,o){const t=[document,...it(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"),Ur=U({closeDelay:[Number,String],openDelay:[Number,String]},"delay"),Gr=U({target:[String,Object],activator:[String,Object],activatorProps:{type:Object,default:()=>({})},openOnClick:{type:Boolean,default:void 0},openOnHover:Boolean,openOnFocus:{type:Boolean,default:void 0},closeOnContentClick:Boolean,...Ur()},"VOverlay-activator");function qr(n,o){let{isActive:t,isTop:l}=o;const a=Se("useActivator"),r=e.ref();let c=!1,u=!1,s=!0;const i=e.computed(()=>n.openOnFocus||n.openOnFocus==null&&n.openOnHover),d=e.computed(()=>n.openOnClick||n.openOnClick==null&&!n.openOnHover&&!i.value),{runOpenDelay:v,runCloseDelay:p}=function(C,V){const B={},D=$=>()=>{if(!xe)return Promise.resolve(!0);const F=$==="openDelay";return B.closeDelay&&window.clearTimeout(B.closeDelay),delete B.closeDelay,B.openDelay&&window.clearTimeout(B.openDelay),delete B.openDelay,new Promise(h=>{const S=parseInt(C[$]??0,10);B[$]=window.setTimeout(()=>{V==null||V(F),h(F)},S)})};return{runCloseDelay:D("closeDelay"),runOpenDelay:D("openDelay")}}(n,C=>{C!==(n.openOnHover&&c||i.value&&u)||n.openOnHover&&t.value&&!l.value||(t.value!==C&&(s=!0),t.value=C)}),f=e.ref(),y=C=>{C.stopPropagation(),r.value=C.currentTarget||C.target,t.value||(f.value=[C.clientX,C.clientY]),t.value=!t.value},g=C=>{var V;(V=C.sourceCapabilities)!=null&&V.firesTouchEvents||(c=!0,r.value=C.currentTarget||C.target,v())},m=C=>{c=!1,p()},b=C=>{lt(C.target,":focus-visible")!==!1&&(u=!0,C.stopPropagation(),r.value=C.currentTarget||C.target,v())},w=C=>{u=!1,C.stopPropagation(),p()},N=e.computed(()=>{const C={};return d.value&&(C.onClick=y),n.openOnHover&&(C.onMouseenter=g,C.onMouseleave=m),i.value&&(C.onFocus=b,C.onBlur=w),C}),M=e.computed(()=>{const C={};if(n.openOnHover&&(C.onMouseenter=()=>{c=!0,v()},C.onMouseleave=()=>{c=!1,p()}),i.value&&(C.onFocusin=()=>{u=!0,v()},C.onFocusout=()=>{u=!1,p()}),n.closeOnContentClick){const V=e.inject(Wt,null);C.onClick=()=>{t.value=!1,V==null||V.closeParents()}}return C}),E=e.computed(()=>{const C={};return n.openOnHover&&(C.onMouseenter=()=>{s&&(c=!0,s=!1,v())},C.onMouseleave=()=>{c=!1,p()}),C});e.watch(l,C=>{!C||(!n.openOnHover||c||i.value&&u)&&(!i.value||u||n.openOnHover&&c)||(t.value=!1)}),e.watch(t,C=>{C||setTimeout(()=>{f.value=void 0})},{flush:"post"});const P=e.ref();e.watchEffect(()=>{P.value&&e.nextTick(()=>{r.value=nt(P.value)})});const L=e.ref(),A=e.computed(()=>n.target==="cursor"&&f.value?f.value:L.value?nt(L.value):ll(n.target,a)||r.value),I=e.computed(()=>Array.isArray(A.value)?void 0:A.value);let k;return e.watch(()=>!!n.activator,C=>{C&&xe?(k=e.effectScope(),k.run(()=>{(function(V,B,D){let{activatorEl:$,activatorEvents:F}=D;function h(){let z=arguments.length>0&&arguments[0]!==void 0?arguments[0]:x(),T=arguments.length>1&&arguments[1]!==void 0?arguments[1]:V.activatorProps;z&&function(O,H){Object.keys(H).forEach(_=>{if(Pt(_)){const W=Vo(_),R=Yn.get(O);if(H[_]==null)R==null||R.forEach(j=>{const[G,Y]=j;G===W&&(O.removeEventListener(W,Y),R.delete(j))});else if(!R||![...R].some(j=>j[0]===W&&j[1]===H[_])){O.addEventListener(W,H[_]);const j=R||new Set;j.add([W,H[_]]),Yn.has(O)||Yn.set(O,j)}}else H[_]==null?O.removeAttribute(_):O.setAttribute(_,H[_])})}(z,e.mergeProps(F.value,T))}function S(){let z=arguments.length>0&&arguments[0]!==void 0?arguments[0]:x(),T=arguments.length>1&&arguments[1]!==void 0?arguments[1]:V.activatorProps;z&&function(O,H){Object.keys(H).forEach(_=>{if(Pt(_)){const W=Vo(_),R=Yn.get(O);R==null||R.forEach(j=>{const[G,Y]=j;G===W&&(O.removeEventListener(W,Y),R.delete(j))})}else O.removeAttribute(_)})}(z,e.mergeProps(F.value,T))}function x(){const z=ll(arguments.length>0&&arguments[0]!==void 0?arguments[0]:V.activator,B);return $.value=(z==null?void 0:z.nodeType)===Node.ELEMENT_NODE?z:void 0,$.value}e.watch(()=>V.activator,(z,T)=>{if(T&&z!==T){const O=x(T);O&&S(O)}z&&e.nextTick(()=>h())},{immediate:!0}),e.watch(()=>V.activatorProps,()=>{h()}),e.onScopeDispose(()=>{S()})})(n,a,{activatorEl:r,activatorEvents:N})})):k&&k.stop()},{flush:"post",immediate:!0}),e.onScopeDispose(()=>{k==null||k.stop()}),{activatorEl:r,activatorRef:P,target:A,targetEl:I,targetRef:L,activatorEvents:N,contentEvents:M,scrimEvents:E}}function ll(n,o){var l,a;if(!n)return;let t;if(n==="parent"){let r=(a=(l=o==null?void 0:o.proxy)==null?void 0:l.$el)==null?void 0:a.parentNode;for(;r!=null&&r.hasAttribute("data-no-activator");)r=r.parentNode;t=r}else t=typeof n=="string"?document.querySelector(n):"$el"in n?n.$el:n;return t}const Hr=Symbol.for("vuetify:display");function fa(){let n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Oe();const t=e.inject(Hr);if(!t)throw new Error("Could not find Vuetify display injection");const l=e.computed(()=>{if(!n.mobileBreakpoint)return t.mobile.value;const r=typeof n.mobileBreakpoint=="number"?n.mobileBreakpoint:t.thresholds.value[n.mobileBreakpoint];return t.width.valueo?{[`${o}--mobile`]:l.value}:{});return{...t,displayClasses:a,mobile:l}}const Yr=U({eager:Boolean},"lazy");function ma(){const n=Se("useScopeId").vnode.scopeId;return{scopeId:n?{[n]:""}:void 0}}const al=Symbol.for("vuetify:stack"),kn=e.reactive([]);function Xr(){return!0}function rl(n,o,t){if(!n||ya(n,t)===!1)return!1;const l=Il(o);if(typeof ShadowRoot<"u"&&l instanceof ShadowRoot&&l.host===n.target)return!1;const a=(typeof t.value=="object"&&t.value.include||(()=>[]))();return a.push(o),!a.some(r=>r==null?void 0:r.contains(n.target))}function ya(n,o){return(typeof o.value=="object"&&o.value.closeConditional||Xr)(n)}function il(n,o){const t=Il(n);o(document),typeof ShadowRoot<"u"&&t instanceof ShadowRoot&&o(t)}const Kr={mounted(n,o){const t=a=>function(r,c,u){const s=typeof u.value=="function"?u.value:u.value.handler;c._clickOutside.lastMousedownWasOutside&&rl(r,c,u)&&setTimeout(()=>{ya(r,u)&&s&&s(r)},0)}(a,n,o),l=a=>{n._clickOutside.lastMousedownWasOutside=rl(a,n,o)};il(n,a=>{a.addEventListener("click",t,!0),a.addEventListener("mousedown",l,!0)}),n._clickOutside||(n._clickOutside={lastMousedownWasOutside:!1}),n._clickOutside[o.instance.$.uid]={onClick:t,onMousedown:l}},unmounted(n,o){n._clickOutside&&(il(n,t=>{var r;if(!t||!((r=n._clickOutside)!=null&&r[o.instance.$.uid]))return;const{onClick:l,onMousedown:a}=n._clickOutside[o.instance.$.uid];t.removeEventListener("click",l,!0),t.removeEventListener("mousedown",a,!0)}),delete n._clickOutside[o.instance.$.uid])}};function Jr(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 ga=U({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},...Gr(),...ae(),...Je(),...Yr(),...Wr(),...jr(),...Ve(),...Dn()},"VOverlay"),sl=X()({name:"VOverlay",directives:{ClickOutside:Kr},inheritAttrs:!1,props:{_disableGlobalStack:Boolean,...ga()},emits:{"click:outside":n=>!0,"update:modelValue":n=>!0,afterLeave:()=>!0},setup(n,o){var O,H;let{slots:t,attrs:l,emit:a}=o;const r=he(n,"modelValue"),c=e.computed({get:()=>r.value,set:_=>{_&&n.disabled||(r.value=_)}}),{teleportTarget:u}=function(_){return{teleportTarget:e.computed(()=>{const W=_.value;if(W===!0||!xe)return;const R=W===!1?document.body:typeof W=="string"?document.querySelector(W):W;if(R==null)return void e.warn(`Unable to locate target ${W}`);let j=R.querySelector(":scope > .v-overlay-container");return j||(j=document.createElement("div"),j.className="v-overlay-container",R.appendChild(j)),j})}}(e.computed(()=>n.attach||n.contained)),{themeClasses:s}=ke(n),{rtlClasses:i,isRtl:d}=Rn(),{hasContent:v,onAfterLeave:p}=function(_,W){const R=e.shallowRef(!1),j=e.computed(()=>R.value||_.eager||W.value);return e.watch(W,()=>R.value=!0),{isBooted:R,hasContent:j,onAfterLeave:function(){_.eager||(R.value=!1)}}}(n,c),f=an(e.computed(()=>typeof n.scrim=="string"?n.scrim:null)),{globalTop:y,localTop:g,stackStyles:m}=function(_,W,R){const j=Se("useStack"),G=!R,Y=e.inject(al,void 0),te=e.reactive({activeChildren:new Set});e.provide(al,te);const ie=e.shallowRef(+W.value);Ye(_,()=>{var pe;const fe=(pe=kn.at(-1))==null?void 0:pe[1];ie.value=fe?fe+10:+W.value,G&&kn.push([j.uid,ie.value]),Y==null||Y.activeChildren.add(j.uid),e.onScopeDispose(()=>{if(G){const de=e.toRaw(kn).findIndex(ge=>ge[0]===j.uid);kn.splice(de,1)}Y==null||Y.activeChildren.delete(j.uid)})});const re=e.shallowRef(!0);G&&e.watchEffect(()=>{var pe;const fe=((pe=kn.at(-1))==null?void 0:pe[0])===j.uid;setTimeout(()=>re.value=fe)});const Ie=e.computed(()=>!te.activeChildren.size);return{globalTop:e.readonly(re),localTop:Ie,stackStyles:e.computed(()=>({zIndex:ie.value}))}}(c,e.toRef(n,"zIndex"),n._disableGlobalStack),{activatorEl:b,activatorRef:w,target:N,targetEl:M,targetRef:E,activatorEvents:P,contentEvents:L,scrimEvents:A}=qr(n,{isActive:c,isTop:g}),{dimensionStyles:I}=Ze(n),k=function(){if(!xe)return e.shallowRef(!1);const{ssr:_}=fa();if(_){const W=e.shallowRef(!1);return e.onMounted(()=>{W.value=!0}),W}return e.shallowRef(!0)}(),{scopeId:C}=ma();e.watch(()=>n.disabled,_=>{_&&(c.value=!1)});const V=e.ref(),B=e.ref(),{contentStyles:D,updateLocation:$}=function(_,W){const R=e.ref({}),j=e.ref();function G(Y){var te;(te=j.value)==null||te.call(j,Y)}return xe&&Ye(()=>!(!W.isActive.value||!_.locationStrategy),Y=>{var te,ie;e.watch(()=>_.locationStrategy,Y),e.onScopeDispose(()=>{window.removeEventListener("resize",G),j.value=void 0}),window.addEventListener("resize",G,{passive:!0}),typeof _.locationStrategy=="function"?j.value=(te=_.locationStrategy(W,_,R))==null?void 0:te.updateLocation:j.value=(ie=va[_.locationStrategy](W,_,R))==null?void 0:ie.updateLocation}),{contentStyles:R,updateLocation:j}}(n,{isRtl:d,contentEl:B,target:N,isActive:c});function F(_){a("click:outside",_),n.persistent?T():c.value=!1}function h(){return c.value&&y.value}function S(_){var W,R;_.key==="Escape"&&y.value&&(n.persistent?T():(c.value=!1,(W=B.value)!=null&&W.contains(document.activeElement)&&((R=b.value)==null||R.focus())))}(function(_,W){if(!xe)return;let R;e.watchEffect(async()=>{R==null||R.stop(),W.isActive.value&&_.scrollStrategy&&(R=e.effectScope(),await e.nextTick(),R.active&&R.run(()=>{var j;typeof _.scrollStrategy=="function"?_.scrollStrategy(W,_,R):(j=et[_.scrollStrategy])==null||j.call(et,W,_,R)}))}),e.onScopeDispose(()=>{R==null||R.stop()})})(n,{root:V,contentEl:B,targetEl:M,isActive:c,updateLocation:$}),xe&&e.watch(c,_=>{_?window.addEventListener("keydown",S):window.removeEventListener("keydown",S)},{immediate:!0});const x=(H=(O=Se("useRouter"))==null?void 0:O.proxy)==null?void 0:H.$router;Ye(()=>n.closeOnBack,()=>{(function(_,W){let R,j,G=!1;function Y(te){var ie;(ie=te.state)!=null&&ie.replaced||(G=!0,setTimeout(()=>G=!1))}xe&&(e.nextTick(()=>{window.addEventListener("popstate",Y),R=_==null?void 0:_.beforeEach((te,ie,re)=>{wt?G?W(re):re():setTimeout(()=>G?W(re):re()),wt=!0}),j=_==null?void 0:_.afterEach(()=>{wt=!1})}),e.onScopeDispose(()=>{window.removeEventListener("popstate",Y),R==null||R(),j==null||j()}))})(x,_=>{y.value&&c.value?(_(!1),n.persistent?T():c.value=!1):_()})});const z=e.ref();function T(){n.noClickAnimation||B.value&&on(B.value,[{transformOrigin:"center"},{transform:"scale(1.03)"},{transformOrigin:"center"}],{duration:150,easing:rt})}return e.watch(()=>c.value&&(n.absolute||n.contained)&&u.value==null,_=>{if(_){const W=Bl(V.value);W&&W!==document.scrollingElement&&(z.value=W.scrollTop)}}),ee(()=>{var _;return e.createVNode(e.Fragment,null,[(_=t.activator)==null?void 0:_.call(t,{isActive:c.value,props:e.mergeProps({ref:w,targetRef:E},P.value,n.activatorProps)}),k.value&&v.value&&e.createVNode(e.Teleport,{disabled:!u.value,to:u.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},s.value,i.value,n.class],style:[m.value,{top:J(z.value)},n.style],ref:V},C,l),[e.createVNode(Jr,e.mergeProps({color:f,modelValue:c.value&&!!n.scrim},A.value),null),e.createVNode(We,{appear:!0,persisted:!0,transition:n.transition,target:N.value,onAfterLeave:()=>{p(),a("afterLeave")}},{default:()=>{var W;return[e.withDirectives(e.createVNode("div",e.mergeProps({ref:B,class:["v-overlay__content",n.contentClass],style:[I.value,D.value]},L.value,n.contentProps),[(W=t.default)==null?void 0:W.call(t,{isActive:c})]),[[e.vShow,c.value],[e.resolveDirective("click-outside"),{handler:F,closeConditional:h,include:()=>[b.value]}]])]}})])]})])}),{activatorEl:b,target:N,animateClick:T,contentEl:B,globalTop:y,localTop:g,updateLocation:$}}}),Ft=Symbol("Forwarded refs");function Nt(n,o){let t=n;for(;t;){const l=Reflect.getOwnPropertyDescriptor(t,o);if(l)return l;t=Object.getPrototypeOf(t)}}function yt(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=he(n,"modelValue"),{scopeId:a}=ma(),r=Pe(),c=e.computed(()=>n.id||`v-menu-${r}`),u=e.ref(),s=e.inject(Wt,null),i=e.shallowRef(0);async function d(g){var w,N,M;const m=g.relatedTarget,b=g.target;await e.nextTick(),l.value&&m!==b&&((w=u.value)!=null&&w.contentEl)&&((N=u.value)!=null&&N.globalTop)&&![document,u.value.contentEl].includes(b)&&!u.value.contentEl.contains(b)&&((M=_t(u.value.contentEl)[0])==null||M.focus())}function v(){s==null||s.closeParents()}function p(g){var m,b,w;!n.disabled&&g.key==="Tab"&&(gl(_t((m=u.value)==null?void 0:m.contentEl,!1),g.shiftKey?"prev":"next",N=>N.tabIndex>=0)||(l.value=!1,(w=(b=u.value)==null?void 0:b.activatorEl)==null||w.focus()))}function f(g){var b;if(n.disabled)return;const m=(b=u.value)==null?void 0:b.contentEl;m&&l.value?g.key==="ArrowDown"?(g.preventDefault(),ot(m,"next")):g.key==="ArrowUp"&&(g.preventDefault(),ot(m,"prev")):["ArrowDown","ArrowUp"].includes(g.key)&&(l.value=!0,g.preventDefault(),setTimeout(()=>setTimeout(()=>f(g))))}e.provide(Wt,{register(){++i.value},unregister(){--i.value},closeParents(){setTimeout(()=>{i.value||(l.value=!1,s==null||s.closeParents())},40)}}),e.watch(l,g=>{g?(s==null||s.register(),document.addEventListener("focusin",d,{once:!0})):(s==null||s.unregister(),document.removeEventListener("focusin",d))});const y=e.computed(()=>e.mergeProps({"aria-haspopup":"menu","aria-expanded":String(l.value),"aria-owns":c.value,onKeydown:f},n.activatorProps));return ee(()=>{const g=sl.filterProps(n);return e.createVNode(sl,e.mergeProps({ref:u,class:["v-menu",n.class],style:n.style},g,{modelValue:l.value,"onUpdate:modelValue":m=>l.value=m,absolute:!0,activatorProps:y.value,"onClick:outside":v,onKeydown:p},a),{activator:t.activator,default:function(){for(var m=arguments.length,b=new Array(m),w=0;w{var N;return[(N=t.default)==null?void 0:N.call(t,...b)]}})}})}),yt({id:c,ΨopenChildren:i},u)}}),ei=U({active:Boolean,max:[Number,String],value:{type:[Number,String],default:0},...ae(),...Dn({transition:{component:Nl}})},"VCounter"),ha=X()({name:"VCounter",functional:!0,props:ei(),setup(n,o){let{slots:t}=o;const l=e.computed(()=>n.max?`${n.value} / ${n.max}`:String(n.value));return ee(()=>e.createVNode(We,{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]])]})),{}}}),ni=U({floating:Boolean,...ae()},"VFieldLabel"),Jn=X()({name:"VFieldLabel",props:ni(),setup(n,o){let{slots:t}=o;return ee(()=>e.createVNode(Kl,{class:["v-field-label",{"v-field-label--floating":n.floating},n.class],style:n.style,"aria-hidden":n.floating||void 0},t)),{}}}),ti=["underlined","outlined","filled","solo","solo-inverted","solo-filled","plain"],vo=U({appendInnerIcon:se,bgColor:String,clearable:Boolean,clearIcon:{type:se,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:se,reverse:Boolean,singleLine:Boolean,variant:{type:String,default:"filled",validator:n=>ti.includes(n)},"onClick:clear":Ee(),"onClick:appendInner":Ee(),"onClick:prependInner":Ee(),...ae(),...uo(),...De(),...Ve()},"VField"),fo=X()({name:"VField",inheritAttrs:!1,props:{id:String,...na(),...vo()},emits:{"update:focused":n=>!0,"update:modelValue":n=>!0},setup(n,o){let{attrs:t,emit:l,slots:a}=o;const{themeClasses:r}=ke(n),{loaderClasses:c}=vt(n),{focusClasses:u,isFocused:s,focus:i,blur:d}=Gn(n),{InputIcon:v}=ea(n),{roundedClasses:p}=Le(n),{rtlClasses:f}=Rn(),y=e.computed(()=>n.dirty||n.active),g=e.computed(()=>!(n.singleLine||!n.label&&!a.label)),m=Pe(),b=e.computed(()=>n.id||`input-${m}`),w=e.computed(()=>`${b.value}-messages`),N=e.ref(),M=e.ref(),E=e.ref(),P=e.computed(()=>["plain","underlined"].includes(n.variant)),{backgroundColorClasses:L,backgroundColorStyles:A}=an(e.toRef(n,"bgColor")),{textColorClasses:I,textColorStyles:k}=Re(e.computed(()=>n.error||n.disabled?void 0:y.value&&s.value?n.color:n.baseColor));e.watch(y,B=>{if(g.value){const D=N.value.$el,$=M.value.$el;requestAnimationFrame(()=>{const F=eo(D),h=$.getBoundingClientRect(),S=h.x-F.x,x=h.y-F.y-(F.height/2-h.height/2),z=h.width/.75,T=Math.abs(z-F.width)>1?{maxWidth:J(z)}:void 0,O=getComputedStyle(D),H=getComputedStyle($),_=1e3*parseFloat(O.transitionDuration)||150,W=parseFloat(H.getPropertyValue("--v-field-label-scale")),R=H.getPropertyValue("color");D.style.visibility="visible",$.style.visibility="hidden",on(D,{transform:`translate(${S}px, ${x}px) scale(${W})`,color:R,...T},{duration:_,easing:rt,direction:B?"normal":"reverse"}).finished.then(()=>{D.style.removeProperty("visibility"),$.style.removeProperty("visibility")})})}},{flush:"post"});const C=e.computed(()=>({isActive:y,isFocused:s,controlRef:E,blur:d,focus:i}));function V(B){B.target!==document.activeElement&&B.preventDefault()}return ee(()=>{var S,x,z;const B=n.variant==="outlined",D=a["prepend-inner"]||n.prependInnerIcon,$=!(!n.clearable&&!a.clear),F=!!(a["append-inner"]||n.appendInnerIcon||$),h=()=>a.label?a.label({...C.value,label:n.label,props:{for:b.value}}):n.label;return e.createVNode("div",e.mergeProps({class:["v-field",{"v-field--active":y.value,"v-field--appended":F,"v-field--center-affix":n.centerAffix??!P.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":D,"v-field--reverse":n.reverse,"v-field--single-line":n.singleLine,"v-field--no-label":!h(),[`v-field--variant-${n.variant}`]:!0},r.value,L.value,u.value,c.value,p.value,f.value,n.class],style:[A.value,n.style],onClick:V},t),[e.createVNode("div",{class:"v-field__overlay"},null),e.createVNode(co,{name:"v-field",active:!!n.loading,color:n.error?"error":typeof n.loading=="string"?n.loading:n.color},{default:a.loader}),D&&e.createVNode("div",{key:"prepend",class:"v-field__prepend-inner"},[n.prependInnerIcon&&e.createVNode(v,{key:"prepend-icon",name:"prependInner"},null),(S=a["prepend-inner"])==null?void 0:S.call(a,C.value)]),e.createVNode("div",{class:"v-field__field","data-no-activator":""},[["filled","solo","solo-inverted","solo-filled"].includes(n.variant)&&g.value&&e.createVNode(Jn,{key:"floating-label",ref:M,class:[I.value],floating:!0,for:b.value,style:k.value},{default:()=>[h()]}),e.createVNode(Jn,{ref:N,for:b.value},{default:()=>[h()]}),(x=a.default)==null?void 0:x.call(a,{...C.value,props:{id:b.value,class:"v-field__input","aria-describedby":w.value},focus:i,blur:d})]),$&&e.createVNode(Al,{key:"clear"},{default:()=>[e.withDirectives(e.createVNode("div",{class:"v-field__clearable",onMousedown:T=>{T.preventDefault(),T.stopPropagation()}},[a.clear?a.clear():e.createVNode(v,{name:"clear"},null)]),[[e.vShow,n.dirty]])]}),F&&e.createVNode("div",{key:"append",class:"v-field__append-inner"},[(z=a["append-inner"])==null?void 0:z.call(a,C.value),n.appendInnerIcon&&e.createVNode(v,{key:"append-icon",name:"appendInner"},null)]),e.createVNode("div",{class:["v-field__outline",I.value],style:k.value},[B&&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(Jn,{ref:M,floating:!0,for:b.value},{default:()=>[h()]})]),e.createVNode("div",{class:"v-field__outline__end"},null)]),P.value&&g.value&&e.createVNode(Jn,{ref:M,floating:!0,for:b.value},{default:()=>[h()]})])])}),{controlRef:E}}});function ba(n){return vl(n,Object.keys(fo.props).filter(o=>!Pt(o)&&o!=="class"&&o!=="style"))}const oi=["color","file","time","date","datetime-local","week","month"],Ca=U({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,...qn(),...vo()},"VTextField"),jt=X()({name:"VTextField",directives:{Intersect:ao},inheritAttrs:!1,props:Ca(),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:a}=o;const r=he(n,"modelValue"),{isFocused:c,focus:u,blur:s}=Gn(n),i=e.computed(()=>typeof n.counterValue=="function"?n.counterValue(r.value):typeof n.counterValue=="number"?n.counterValue:(r.value??"").toString().length),d=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(P,L){var A,I;n.autofocus&&P&&((I=(A=L[0].target)==null?void 0:A.focus)==null||I.call(A))}const f=e.ref(),y=e.ref(),g=e.ref(),m=e.computed(()=>oi.includes(n.type)||n.persistentPlaceholder||c.value||n.active);function b(){var P;g.value!==document.activeElement&&((P=g.value)==null||P.focus()),c.value||u()}function w(P){l("mousedown:control",P),P.target!==g.value&&(b(),P.preventDefault())}function N(P){b(),l("click:control",P)}function M(P){P.stopPropagation(),b(),e.nextTick(()=>{r.value=null,yl(n["onClick:clear"],P)})}function E(P){var A;const L=P.target;if(r.value=L.value,((A=n.modelModifiers)==null?void 0:A.trim)&&["text","search","password","tel","url"].includes(n.type)){const I=[L.selectionStart,L.selectionEnd];e.nextTick(()=>{L.selectionStart=I[0],L.selectionEnd=I[1]})}}return ee(()=>{const P=!!(a.counter||n.counter!==!1&&n.counter!=null),L=!(!P&&!a.details),[A,I]=Tn(t),{modelValue:k,...C}=je.filterProps(n),V=ba(n);return e.createVNode(je,e.mergeProps({ref:f,modelValue:r.value,"onUpdate:modelValue":B=>r.value=B,class:["v-text-field",{"v-text-field--prefixed":n.prefix,"v-text-field--suffixed":n.suffix,"v-input--plain-underlined":v.value},n.class],style:n.style},A,C,{centerAffix:!v.value,focused:c.value}),{...a,default:B=>{let{id:D,isDisabled:$,isDirty:F,isReadonly:h,isValid:S}=B;return e.createVNode(fo,e.mergeProps({ref:y,onMousedown:w,onClick:N,"onClick:clear":M,"onClick:prependInner":n["onClick:prependInner"],"onClick:appendInner":n["onClick:appendInner"],role:n.role},V,{id:D.value,active:m.value||F.value,dirty:F.value||n.dirty,disabled:$.value,focused:c.value,error:S.value===!1}),{...a,default:x=>{let{props:{class:z,...T}}=x;const O=e.withDirectives(e.createVNode("input",e.mergeProps({ref:g,value:r.value,onInput:E,autofocus:n.autofocus,readonly:h.value,disabled:$.value,name:n.name,placeholder:n.placeholder,size:1,type:n.type,onFocus:b,onBlur:s},T,I),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])]),a.default?e.createVNode("div",{class:z,"data-no-activator":""},[a.default(),O]):e.cloneVNode(O,{class:z}),n.suffix&&e.createVNode("span",{class:"v-text-field__suffix"},[e.createVNode("span",{class:"v-text-field__suffix__text"},[n.suffix])])])}})},details:L?B=>{var D;return e.createVNode(e.Fragment,null,[(D=a.details)==null?void 0:D.call(a,B),P&&e.createVNode(e.Fragment,null,[e.createVNode("span",null,null),e.createVNode(ha,{active:n.persistentCounter||c.value,value:i.value,max:d.value},a.counter)])])}:void 0})}),yt({},f,y,g)}}),li=U({renderless:Boolean,...ae()},"VVirtualScrollItem"),ai=X()({name:"VVirtualScrollItem",inheritAttrs:!1,props:li(),emits:{"update:height":n=>!0},setup(n,o){let{attrs:t,emit:l,slots:a}=o;const{resizeRef:r,contentRect:c}=oo(void 0,"border");e.watch(()=>{var u;return(u=c.value)==null?void 0:u.height},u=>{u!=null&&l("update:height",u)}),ee(()=>{var u,s;return n.renderless?e.createVNode(e.Fragment,null,[(u=a.default)==null?void 0:u.call(a,{itemRef:r})]):e.createVNode("div",e.mergeProps({ref:r,class:["v-virtual-scroll__item",n.class],style:n.style},t),[(s=a.default)==null?void 0:s.call(a)])})}}),ri=U({itemHeight:{type:[Number,String],default:null},height:[Number,String]},"virtual");function ii(n,o){const t=fa(),l=e.shallowRef(0);e.watchEffect(()=>{l.value=parseFloat(n.itemHeight||0)});const a=e.shallowRef(0),r=e.shallowRef(Math.ceil((parseInt(n.height)||t.height.value)/(l.value||16))||1),c=e.shallowRef(0),u=e.shallowRef(0),s=e.ref(),i=e.ref();let d=0;const{resizeRef:v,contentRect:p}=oo();e.watchEffect(()=>{v.value=s.value});const f=e.computed(()=>{var F;return s.value===document.documentElement?t.height.value:((F=p.value)==null?void 0:F.height)||parseInt(n.height)||0}),y=e.computed(()=>!!(s.value&&i.value&&f.value&&l.value));let g=Array.from({length:o.value.length}),m=Array.from({length:o.value.length});const b=e.shallowRef(0);let w=-1;function N(F){return g[F]||l.value}const M=function(F,h){let S=0;const x=function(){for(var z=arguments.length,T=new Array(z),O=0;OF(...T),e.unref(h))};return x.clear=()=>{clearTimeout(S)},x.immediate=F,x}(()=>{const F=performance.now();m[0]=0;const h=o.value.length;for(let S=1;S<=h-1;S++)m[S]=(m[S-1]||0)+N(S-1);b.value=Math.max(b.value,performance.now()-F)},b),E=e.watch(y,F=>{F&&(E(),d=i.value.offsetTop,M.immediate(),V(),~w&&e.nextTick(()=>{xe&&window.requestAnimationFrame(()=>{D(w),w=-1})}))});function P(F){return F=ln(F,0,o.value.length-1),m[F]||0}function L(F){return function(h,S){let x=h.length-1,z=0,T=0,O=null,H=-1;if(h[x]>1,O=h[T],O>S)x=T-1;else{if(!(O{h&&V()}),e.onScopeDispose(()=>{M.clear()});let A=0,I=0,k=0,C=-1;function V(){cancelAnimationFrame(C),C=requestAnimationFrame(B)}function B(){if(!s.value||!f.value)return;const F=A-d,h=Math.sign(I),S=ln(L(Math.max(0,F-100)),0,o.value.length),x=ln(L(F+f.value+100)+1,S+1,o.value.length);if((h!==-1||Sr.value)){const z=P(a.value)-P(S),T=P(x)-P(r.value);Math.max(z,T)>100?(a.value=S,r.value=x):(S<=0&&(a.value=S),x>=o.value.length&&(r.value=x))}c.value=P(a.value),u.value=P(o.value.length)-P(r.value)}function D(F){const h=P(F);!s.value||F&&!h?w=F:s.value.scrollTop=h}const $=e.computed(()=>o.value.slice(a.value,r.value).map((F,h)=>({raw:F,index:h+a.value})));return e.watch(o,()=>{g=Array.from({length:o.value.length}),m=Array.from({length:o.value.length}),M.immediate(),V()},{deep:!0}),{containerRef:s,markerRef:i,computedItems:$,paddingTop:c,paddingBottom:u,scrollToIndex:D,handleScroll:function(){if(!s.value||!i.value)return;const F=s.value.scrollTop,h=performance.now();h-k>500?(I=Math.sign(F-A),d=i.value.offsetTop):I=F-A,A=F,k=h,V()},handleScrollend:function(){s.value&&i.value&&(I=0,k=0,V())},handleItemResize:function(F,h){const S=g[F],x=l.value;l.value=x?Math.min(l.value,h):h,S===h&&x===l.value||(g[F]=h,M())}}}const si=U({items:{type:Array,default:()=>[]},renderless:Boolean,...ri(),...ae(),...Je()},"VVirtualScroll"),ui=X()({name:"VVirtualScroll",props:si(),setup(n,o){let{slots:t}=o;const l=Se("VVirtualScroll"),{dimensionStyles:a}=Ze(n),{containerRef:r,markerRef:c,handleScroll:u,handleScrollend:s,handleItemResize:i,scrollToIndex:d,paddingTop:v,paddingBottom:p,computedItems:f}=ii(n,e.toRef(n,"items"));return Ye(()=>n.renderless,()=>{function y(){var m,b;const g=arguments.length>0&&arguments[0]!==void 0&&arguments[0]?"addEventListener":"removeEventListener";r.value===document.documentElement?(document[g]("scroll",u,{passive:!0}),document[g]("scrollend",s)):((m=r.value)==null||m[g]("scroll",u,{passive:!0}),(b=r.value)==null||b[g]("scrollend",s))}e.onMounted(()=>{r.value=Bl(l.vnode.el,!0),y(!0)}),e.onScopeDispose(y)}),ee(()=>{const y=f.value.map(g=>e.createVNode(ai,{key:g.index,renderless:n.renderless,"onUpdate:height":m=>i(g.index,m)},{default:m=>{var b;return(b=t.default)==null?void 0:b.call(t,{item:g.raw,index:g.index,...m})}}));return n.renderless?e.createVNode(e.Fragment,null,[e.createVNode("div",{ref:c,class:"v-virtual-scroll__spacer",style:{paddingTop:J(v.value)}},null),y,e.createVNode("div",{class:"v-virtual-scroll__spacer",style:{paddingBottom:J(p.value)}},null)]):e.createVNode("div",{ref:r,class:["v-virtual-scroll",n.class],onScrollPassive:u,onScrollend:s,style:[a.value,n.style]},[e.createVNode("div",{ref:c,class:"v-virtual-scroll__container",style:{paddingTop:J(v.value),paddingBottom:J(p.value)}},[y])])}),{scrollToIndex:d}}});function ci(n,o){const t=e.shallowRef(!1);let l;return{onListScroll:function(a){cancelAnimationFrame(l),t.value=!0,l=requestAnimationFrame(()=>{l=requestAnimationFrame(()=>{t.value=!1})})},onListKeydown:async function(a){var u,s;if(a.key==="Tab"&&((u=o.value)==null||u.focus()),!["PageDown","PageUp","Home","End"].includes(a.key))return;const r=(s=n.value)==null?void 0:s.$el;if(!r)return;a.key!=="Home"&&a.key!=="End"||r.scrollTo({top:a.key==="Home"?0:r.scrollHeight,behavior:"smooth"}),await async function(){await new Promise(i=>requestAnimationFrame(i)),await new Promise(i=>requestAnimationFrame(i)),await new Promise(i=>requestAnimationFrame(i)),await new Promise(i=>{if(t.value){const d=e.watch(t,()=>{d(),i()})}else i()})}();const c=r.querySelectorAll(":scope > :not(.v-virtual-scroll__spacer)");if(a.key==="PageDown"||a.key==="Home"){const i=r.getBoundingClientRect().top;for(const d of c)if(d.getBoundingClientRect().top>=i){d.focus();break}}else{const i=r.getBoundingClientRect().bottom;for(const d of[...c].reverse())if(d.getBoundingClientRect().bottom<=i){d.focus();break}}}}}const di=U({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:se,default:"$dropdown"},menuProps:{type:Object},multiple:Boolean,noDataText:{type:String,default:"$vuetify.noDataText"},openOnClear:Boolean,itemColor:String,...ca({itemChildren:!1})},"Select"),pi=U({...di(),...Ke(Ca({modelValue:null,role:"button"}),["validationValue","dirty","appendInnerIcon"]),...Dn({transition:{component:Fl}})},"VSelect"),vi=X()({name:"VSelect",props:pi(),emits:{"update:focused":n=>!0,"update:modelValue":n=>!0,"update:menu":n=>!0},setup(n,o){let{slots:t}=o;const{t:l}=lo(),a=e.ref(),r=e.ref(),c=e.ref(),u=he(n,"menu"),s=e.computed({get:()=>u.value,set:h=>{var S;u.value&&!h&&((S=r.value)!=null&&S.ΨopenChildren)||(u.value=h)}}),{items:i,transformIn:d,transformOut:v}=function(h){const S=e.computed(()=>da(h,h.items)),x=e.computed(()=>S.value.some(z=>z.value===null));return{items:S,transformIn:function(z){return x.value||(z=z.filter(T=>T!==null)),z.map(T=>h.returnObject&&typeof T=="string"?Dt(h,T):S.value.find(O=>h.valueComparator(T,O.value))||Dt(h,T))},transformOut:function(z){return h.returnObject?z.map(T=>{let{raw:O}=T;return O}):z.map(T=>{let{value:O}=T;return O})}}}(n),p=he(n,"modelValue",[],h=>d(h===null?[null]:$e(h)),h=>{const S=v(h);return n.multiple?S:S[0]??null}),f=e.computed(()=>typeof n.counterValue=="function"?n.counterValue(p.value):typeof n.counterValue=="number"?n.counterValue:p.value.length),y=ta(),g=e.computed(()=>p.value.map(h=>h.value)),m=e.shallowRef(!1),b=e.computed(()=>s.value?n.closeText:n.openText);let w,N="";const M=e.computed(()=>n.hideSelected?i.value.filter(h=>!p.value.some(S=>S===h)):i.value),E=e.computed(()=>n.hideNoData&&!i.value.length||n.readonly||(y==null?void 0:y.isReadonly.value)),P=e.ref(),{onListScroll:L,onListKeydown:A}=ci(P,a);function I(h){n.openOnClear&&(s.value=!0)}function k(){E.value||(s.value=!s.value)}function C(h){var z,T;if(!h.key||n.readonly||y!=null&&y.isReadonly.value||(["Enter"," ","ArrowDown","ArrowUp","Home","End"].includes(h.key)&&h.preventDefault(),["Enter","ArrowDown"," "].includes(h.key)&&(s.value=!0),["Escape","Tab"].includes(h.key)&&(s.value=!1),h.key==="Home"?(z=P.value)==null||z.focus("first"):h.key==="End"&&((T=P.value)==null||T.focus("last")),n.multiple||!function(O){const H=O.key.length===1,_=!O.ctrlKey&&!O.metaKey&&!O.altKey;return H&&_}(h)))return;const S=performance.now();S-w>1e3&&(N=""),N+=h.key.toLowerCase(),w=S;const x=i.value.find(O=>O.title.toLowerCase().startsWith(N));x!==void 0&&(p.value=[x])}function V(h){if(n.multiple){const S=p.value.findIndex(x=>n.valueComparator(x.value,h.value));if(S===-1)p.value=[...p.value,h];else{const x=[...p.value];x.splice(S,1),p.value=x}}else p.value=[h],s.value=!1}function B(h){var S;(S=P.value)!=null&&S.$el.contains(h.relatedTarget)||(s.value=!1)}function D(){var h;m.value&&((h=a.value)==null||h.focus())}function $(h){m.value=!0}function F(h){if(h==null)p.value=[];else if(lt(a.value,":autofill")||lt(a.value,":-webkit-autofill")){const S=i.value.find(x=>x.title===h);S&&V(S)}else a.value&&(a.value.value="")}return e.watch(s,()=>{if(!n.hideSelected&&s.value&&p.value.length){const h=M.value.findIndex(S=>p.value.some(x=>n.valueComparator(x.value,S.value)));xe&&window.requestAnimationFrame(()=>{var S;h>=0&&((S=c.value)==null||S.scrollToIndex(h))})}}),ee(()=>{const h=!(!n.chips&&!t.chip),S=!!(!n.hideNoData||M.value.length||t["prepend-item"]||t["append-item"]||t["no-data"]),x=p.value.length>0,z=jt.filterProps(n),T=x||!m.value&&n.label&&!n.persistentPlaceholder?void 0:n.placeholder;return e.createVNode(jt,e.mergeProps({ref:a},z,{modelValue:p.value.map(O=>O.props.value).join(", "),"onUpdate:modelValue":F,focused:m.value,"onUpdate:focused":O=>m.value=O,validationValue:p.externalValue,counterValue:f.value,dirty:x,class:["v-select",{"v-select--active-menu":s.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:T,"onClick:clear":I,"onMousedown:control":k,onBlur:B,onKeydown:C,"aria-label":l(b.value),title:l(b.value)}),{...t,default:()=>e.createVNode(e.Fragment,null,[e.createVNode(Qr,e.mergeProps({ref:r,modelValue:s.value,"onUpdate:modelValue":O=>s.value=O,activator:"parent",contentClass:"v-select__content",disabled:E.value,eager:n.eager,maxHeight:310,openOnClick:!1,closeOnContentClick:!1,transition:n.transition,onAfterLeave:D},n.menuProps),{default:()=>[S&&e.createVNode(Mr,{ref:P,selected:g.value,selectStrategy:n.multiple?"independent":"single-independent",onMousedown:O=>O.preventDefault(),onKeydown:A,onFocusin:$,onScrollPassive:L,tabindex:"-1",color:n.itemColor??n.color},{default:()=>{var O,H,_;return[(O=t["prepend-item"])==null?void 0:O.call(t),!M.value.length&&!n.hideNoData&&(((H=t["no-data"])==null?void 0:H.call(t))??e.createVNode(dt,{title:l(n.noDataText)},null)),e.createVNode(ui,{ref:c,renderless:!0,items:M.value},{default:W=>{var te;let{item:R,index:j,itemRef:G}=W;const Y=e.mergeProps(R.props,{ref:G,key:j,onClick:()=>V(R)});return((te=t.item)==null?void 0:te.call(t,{item:R,index:j,props:Y}))??e.createVNode(dt,e.mergeProps(Y,{role:"option"}),{prepend:ie=>{let{isSelected:re}=ie;return e.createVNode(e.Fragment,null,[n.multiple&&!n.hideSelected?e.createVNode(Tt,{key:R.value,modelValue:re,ripple:!1,tabindex:"-1"},null):void 0,R.props.prependIcon&&e.createVNode(ce,{icon:R.props.prependIcon},null)])}})}}),(_=t["append-item"])==null?void 0:_.call(t)]}})]}),p.value.map((O,H)=>{const _={"onClick:close":function(j){j.stopPropagation(),j.preventDefault(),V(O)},onMousedown(j){j.preventDefault(),j.stopPropagation()},modelValue:!0,"onUpdate:modelValue":void 0},W=h?!!t.chip:!!t.selection,R=W?hl(h?t.chip({item:O,index:H,props:_}):t.selection({item:O,index:H})):void 0;if(!W||R)return e.createVNode("div",{key:O.value,class:"v-select__selection"},[h?t.chip?e.createVNode(Be,{key:"chip-defaults",defaults:{VChip:{closable:n.closableChips,size:"small",text:O.title}}},{default:()=>[R]}):e.createVNode(Br,e.mergeProps({key:"chip",closable:n.closableChips,size:"small",text:O.title,disabled:O.props.disabled},_),null):R??e.createVNode("span",{class:"v-select__selection-text"},[O.title,n.multiple&&H{var l;return e.createVNode("div",{class:["v-card-actions",n.class],style:n.style},[(l=t.default)==null?void 0:l.call(t)])}),{}}}),mi=$n("v-card-subtitle"),yi=$n("v-card-title"),gi=U({appendAvatar:String,appendIcon:se,prependAvatar:String,prependIcon:se,subtitle:[String,Number],title:[String,Number],...ae(),...ze()},"VCardItem"),hi=X()({name:"VCardItem",props:gi(),setup(n,o){let{slots:t}=o;return ee(()=>{var i;const l=!(!n.prependAvatar&&!n.prependIcon),a=!(!l&&!t.prepend),r=!(!n.appendAvatar&&!n.appendIcon),c=!(!r&&!t.append),u=!(n.title==null&&!t.title),s=!(n.subtitle==null&&!t.subtitle);return e.createVNode("div",{class:["v-card-item",n.class],style:n.style},[a&&e.createVNode("div",{key:"prepend",class:"v-card-item__prepend"},[t.prepend?e.createVNode(Be,{key:"prepend-defaults",disabled:!l,defaults:{VAvatar:{density:n.density,icon:n.prependIcon,image:n.prependAvatar}}},t.prepend):l&&e.createVNode(rn,{key:"prepend-avatar",density:n.density,icon:n.prependIcon,image:n.prependAvatar},null)]),e.createVNode("div",{class:"v-card-item__content"},[u&&e.createVNode(yi,{key:"title"},{default:()=>{var d;return[((d=t.title)==null?void 0:d.call(t))??n.title]}}),s&&e.createVNode(mi,{key:"subtitle"},{default:()=>{var d;return[((d=t.subtitle)==null?void 0:d.call(t))??n.subtitle]}}),(i=t.default)==null?void 0:i.call(t)]),c&&e.createVNode("div",{key:"append",class:"v-card-item__append"},[t.append?e.createVNode(Be,{key:"append-defaults",disabled:!r,defaults:{VAvatar:{density:n.density,icon:n.appendIcon,image:n.appendAvatar}}},t.append):r&&e.createVNode(rn,{key:"append-avatar",density:n.density,icon:n.appendIcon,image:n.appendAvatar},null)])])}),{}}}),Qe=$n("v-card-text"),bi=U({appendAvatar:String,appendIcon:se,disabled:Boolean,flat:Boolean,hover:Boolean,image:String,link:{type:Boolean,default:void 0},prependAvatar:String,prependIcon:se,ripple:{type:[Boolean,Object],default:!0},subtitle:[String,Number],text:[String,Number],title:[String,Number],...pn(),...ae(),...ze(),...Je(),...fn(),...uo(),...io(),...Ml(),...De(),...mt(),...Ae(),...Ve(),...Ge({variant:"elevated"})},"VCard"),yn=X()({name:"VCard",directives:{Ripple:Un},props:bi(),setup(n,o){let{attrs:t,slots:l}=o;const{themeClasses:a}=ke(n),{borderClasses:r}=vn(n),{colorClasses:c,colorStyles:u,variantClasses:s}=Mn(n),{densityClasses:i}=Me(n),{dimensionStyles:d}=Ze(n),{elevationClasses:v}=mn(n),{loaderClasses:p}=vt(n),{locationStyles:f}=so(n),{positionClasses:y}=Wl(n),{roundedClasses:g}=Le(n),m=ft(n,t),b=e.computed(()=>n.link!==!1&&m.isLink.value),w=e.computed(()=>!n.disabled&&n.link!==!1&&(n.link||m.isClickable.value));return ee(()=>{const N=b.value?"a":n.tag,M=!(!l.title&&n.title==null),E=!(!l.subtitle&&n.subtitle==null),P=M||E,L=!!(l.append||n.appendAvatar||n.appendIcon),A=!!(l.prepend||n.prependAvatar||n.prependIcon),I=!(!l.image&&!n.image),k=P||A||L,C=!(!l.text&&n.text==null);return e.withDirectives(e.createVNode(N,{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":w.value},a.value,r.value,c.value,i.value,v.value,p.value,y.value,g.value,s.value,n.class],style:[u.value,d.value,f.value,n.style],href:m.href.value,onClick:w.value&&m.navigate,tabindex:n.disabled?-1:void 0},{default:()=>{var V;return[I&&e.createVNode("div",{key:"image",class:"v-card__image"},[l.image?e.createVNode(Be,{key:"image-defaults",disabled:!n.image,defaults:{VImg:{cover:!0,src:n.image}}},l.image):e.createVNode(_l,{key:"image-img",cover:!0,src:n.image},null)]),e.createVNode(co,{name:"v-card",active:!!n.loading,color:typeof n.loading=="boolean"?void 0:n.loading},{default:l.loader}),k&&e.createVNode(hi,{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}),C&&e.createVNode(Qe,{key:"text"},{default:()=>{var B;return[((B=l.text)==null?void 0:B.call(l))??n.text]}}),(V=l.default)==null?void 0:V.call(l),l.actions&&e.createVNode(fi,null,{default:l.actions}),Ln(w.value,"v-card")]}}),[[e.resolveDirective("ripple"),w.value&&n.ripple]])}),{}}}),Ci=U({indeterminate:Boolean,inset:Boolean,flat:Boolean,loading:{type:[Boolean,String],default:!1},...qn(),...po()},"VSwitch"),Si=X()({name:"VSwitch",inheritAttrs:!1,props:Ci(),emits:{"update:focused":n=>!0,"update:modelValue":n=>!0,"update:indeterminate":n=>!0},setup(n,o){let{attrs:t,slots:l}=o;const a=he(n,"indeterminate"),r=he(n,"modelValue"),{loaderClasses:c}=vt(n),{isFocused:u,focus:s,blur:i}=Gn(n),d=e.ref(),v=e.computed(()=>typeof n.loading=="string"&&n.loading!==""?n.loading:n.color),p=Pe(),f=e.computed(()=>n.id||`switch-${p}`);function y(){a.value&&(a.value=!1)}function g(m){var b,w;m.stopPropagation(),m.preventDefault(),(w=(b=d.value)==null?void 0:b.input)==null||w.click()}return ee(()=>{const[m,b]=Tn(t),w=je.filterProps(n),N=ct.filterProps(n);return e.createVNode(je,e.mergeProps({class:["v-switch",{"v-switch--inset":n.inset},{"v-switch--indeterminate":a.value},c.value,n.class]},m,w,{modelValue:r.value,"onUpdate:modelValue":M=>r.value=M,id:f.value,focused:u.value,style:n.style}),{...l,default:M=>{let{id:E,messagesId:P,isDisabled:L,isReadonly:A,isValid:I}=M;return e.createVNode(ct,e.mergeProps({ref:d},N,{modelValue:r.value,"onUpdate:modelValue":[k=>r.value=k,y],id:E.value,"aria-describedby":P.value,type:"checkbox","aria-checked":a.value?"mixed":void 0,disabled:L.value,readonly:A.value,onFocus:s,onBlur:i},b),{...l,default:k=>{let{backgroundColorClasses:C,backgroundColorStyles:V}=k;return e.createVNode("div",{class:["v-switch__track",...C.value],style:V.value,onClick:g},null)},input:k=>{let{inputNode:C,icon:V,backgroundColorClasses:B,backgroundColorStyles:D}=k;return e.createVNode(e.Fragment,null,[C,e.createVNode("div",{class:["v-switch__thumb",{"v-switch__thumb--filled":V||n.loading},n.inset?void 0:B.value],style:n.inset?void 0:D.value},[e.createVNode(Ka,null,{default:()=>[n.loading?e.createVNode(co,{name:"v-switch",active:!0,color:I.value===!1?void 0:v.value},{default:$=>l.loader?l.loader($):e.createVNode(Ll,{active:$.isActive,color:$.color,indeterminate:!0,size:"16",width:"2"},null)}):V&&e.createVNode(ce,{key:V,icon:V,size:"x-small"},null)]})])])}})}})}),{}}}),Ii=U({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,...qn(),...vo()},"VTextarea"),Vi=X()({name:"VTextarea",directives:{Intersect:ao},inheritAttrs:!1,props:Ii(),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:a}=o;const r=he(n,"modelValue"),{isFocused:c,focus:u,blur:s}=Gn(n),i=e.computed(()=>typeof n.counterValue=="function"?n.counterValue(r.value):(r.value||"").toString().length),d=e.computed(()=>t.maxlength?t.maxlength:!n.counter||typeof n.counter!="number"&&typeof n.counter!="string"?void 0:n.counter);function v(C,V){var B,D;n.autofocus&&C&&((D=(B=V[0].target)==null?void 0:B.focus)==null||D.call(B))}const p=e.ref(),f=e.ref(),y=e.shallowRef(""),g=e.ref(),m=e.computed(()=>n.persistentPlaceholder||c.value||n.active);function b(){var C;g.value!==document.activeElement&&((C=g.value)==null||C.focus()),c.value||u()}function w(C){b(),l("click:control",C)}function N(C){l("mousedown:control",C)}function M(C){C.stopPropagation(),b(),e.nextTick(()=>{r.value="",yl(n["onClick:clear"],C)})}function E(C){var B;const V=C.target;if(r.value=V.value,(B=n.modelModifiers)==null?void 0:B.trim){const D=[V.selectionStart,V.selectionEnd];e.nextTick(()=>{V.selectionStart=D[0],V.selectionEnd=D[1]})}}const P=e.ref(),L=e.ref(+n.rows),A=e.computed(()=>["plain","underlined"].includes(n.variant));function I(){n.autoGrow&&e.nextTick(()=>{if(!P.value||!f.value)return;const C=getComputedStyle(P.value),V=getComputedStyle(f.value.$el),B=parseFloat(C.getPropertyValue("--v-field-padding-top"))+parseFloat(C.getPropertyValue("--v-input-padding-top"))+parseFloat(C.getPropertyValue("--v-field-padding-bottom")),D=P.value.scrollHeight,$=parseFloat(C.lineHeight),F=ln(D??0,Math.max(parseFloat(n.rows)*$+B,parseFloat(V.getPropertyValue("--v-input-control-height"))),parseFloat(n.maxRows)*$+B||1/0);L.value=Math.floor((F-B)/$),y.value=J(F)})}let k;return e.watchEffect(()=>{n.autoGrow||(L.value=+n.rows)}),e.onMounted(I),e.watch(r,I),e.watch(()=>n.rows,I),e.watch(()=>n.maxRows,I),e.watch(()=>n.density,I),e.watch(P,C=>{C?(k=new ResizeObserver(I),k.observe(P.value)):k==null||k.disconnect()}),e.onBeforeUnmount(()=>{k==null||k.disconnect()}),ee(()=>{const C=!!(a.counter||n.counter||n.counterValue),V=!(!C&&!a.details),[B,D]=Tn(t),{modelValue:$,...F}=je.filterProps(n),h=ba(n);return e.createVNode(je,e.mergeProps({ref:p,modelValue:r.value,"onUpdate:modelValue":S=>r.value=S,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-input--plain-underlined":A.value},n.class],style:n.style},B,F,{centerAffix:L.value===1&&!A.value,focused:c.value}),{...a,default:S=>{let{id:x,isDisabled:z,isDirty:T,isReadonly:O,isValid:H}=S;return e.createVNode(fo,e.mergeProps({ref:f,style:{"--v-textarea-control-height":y.value},onClick:w,onMousedown:N,"onClick:clear":M,"onClick:prependInner":n["onClick:prependInner"],"onClick:appendInner":n["onClick:appendInner"]},h,{id:x.value,active:m.value||T.value,centerAffix:L.value===1&&!A.value,dirty:T.value||n.dirty,disabled:z.value,focused:c.value,error:H.value===!1}),{...a,default:_=>{let{props:{class:W,...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:W,value:r.value,onInput:E,autofocus:n.autofocus,readonly:O.value,disabled:z.value,placeholder:n.placeholder,rows:n.rows,name:n.name,onFocus:b,onBlur:s},R,D),null),[[e.resolveDirective("intersect"),{handler:v},null,{once:!0}]]),n.autoGrow&&e.withDirectives(e.createVNode("textarea",{class:[W,"v-textarea__sizer"],id:`${R.id}-sizer`,"onUpdate:modelValue":j=>r.value=j,ref:P,readonly:!0,"aria-hidden":"true"},null),[[e.vModelText,r.value]]),n.suffix&&e.createVNode("span",{class:"v-text-field__suffix"},[n.suffix])])}})},details:V?S=>{var x;return e.createVNode(e.Fragment,null,[(x=a.details)==null?void 0:x.call(a,S),C&&e.createVNode(e.Fragment,null,[e.createVNode("span",null,null),e.createVNode(ha,{active:n.persistentCounter||c.value,value:i.value,max:d.value},a.counter)])])}:void 0})}),yt({},p,f,g)}}),Sa=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"),a=e.computed(()=>_e({icon:o.iconFalse,iconOptions:t,name:"false"})),r=e.computed(()=>_e({icon:o.iconTrue,iconOptions:t,name:"true"}));return(c,u)=>l.value?(e.openBlock(),e.createBlock(e.unref(ce),{key:0,class:"v-inline-fields--boolean-icons fa-fw",color:c.iconTrueColor,icon:e.unref(r),size:"x-small",title:c.iconTrueTitle},null,8,["color","icon","title"])):(e.openBlock(),e.createBlock(e.unref(ce),{key:1,class:"v-inline-fields--boolean-icons fa-fw",color:c.iconFalseColor,icon:e.unref(a),size:"x-small",title:c.iconFalseTitle},null,8,["color","icon","title"]))}}),Z="v-inline-fields",gn=n=>{const{cell:o=!1,field:t="",density:l="",disabled:a=!1,iconSet:r="mdi",loading:c=!1,loadingWait:u,tableField:s=!1,variant:i}=n,d=l&&i;return{[`${Z}`]:!0,[`${Z}--container`]:!0,[`${Z}--container-cell`]:o,[`${Z}--container-disabled`]:e.unref(a),[`${Z}--container-table`]:s,[`${Z}--container-icon-set-${r}`]:!0,[`${Z}--container-loading`]:c&&u,[`${Z}--container-${t}`]:!0,[`${Z}--container-${t}-${l}`]:!0,[`${Z}--container-${t}-${l}-${i}`]:d,[`${Z}--container-${t}-${i}`]:i,[`${Z}--container-${t}-${i}-${l}`]:d,[`${Z}--container-${l}`]:l,[`${Z}--container-${l}-${t}`]:l,[`${Z}--container-${l}-${i}`]:d,[`${Z}--container-${i}`]:i,[`${Z}--container-${i}-${l}`]:d,[`${Z}--container-${i}-${t}`]:i}},hn=n=>{const{cell:o=!1,cellUnderlineFullWidth:t=!0,field:l="",density:a=""}=n;return{[`${Z}--display-container-cell`]:o,[`${Z}--display-container-cell-underline-full-width`]:o&&t,[`${Z}--display-container`]:!0,[`${Z}--display-wrapper-value`]:!0,[`${l}`]:!0,"v-input":!0,[`v-input--density-${a}`]:!0,"v-input--horizontal":!0}},gt=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}},Ia=n=>{const{density:o=""}=n;return{[`${Z}--selection-control`]:!0,[`v-selection-control--density-${o}`]:!0}},mo=(n,o,t)=>{const{error:l=!1,empty:a=!1}=t;return{[`${Z}`]:!0,[`${Z}--display-value-${n}`]:!0,[`${Z}--display-value`]:!0,[`${Z}--display-value-empty`]:e.unref(a),[`text-${o}`]:!e.unref(l),"text-danger":e.unref(l)}},bn=n=>{const{name:o,active:t=!1}=n;return{[`${Z}`]:!0,[`${Z}--field`]:!0,[`${Z}--field-${o}`]:!0,[`${Z}--field-active`]:t}},Cn=n=>{const{name:o,showField:t}=n;return{[`${Z}--card-container`]:!0,[`${Z}--card-container-${o}`]:!0,"d-none":!t}};function ul(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 cl(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 f=v;return Object.entries(p).forEach(([y,g])=>{v.toLowerCase()!=y.toLowerCase()||(f=g)}),f}(n),t=0,l=0,a=0,r=100,c=0,u=0,s=0;if(o.substring(0,1)==="#")o=function(v){let p=v.replace("#","");p.length===3&&(p=p.split("").map(b=>b+b).join(""));const f=parseInt(p.substring(0,2),16),y=parseInt(p.substring(2,4),16),g=parseInt(p.substring(4,6),16);return[f,y,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],a=o[2],r=ul(o[3]),`${t} ${l}% ${a}% / ${r}%`;[c,u,s,r]=o,c/=255,u/=255,s/=255,r=ul(r);const i=Math.max(c,u,s),d=Math.min(c,u,s);if(i===null||!d===null||isNaN(i)||isNaN(d)){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=(i+d)/2,l=(i+d)/2,a=(i+d)/2,i==d)t=l=0;else{const v=i-d;switch(l=a>.5?v/(2-i-d):v/(i+d),i){case c:t=(u-s)/v+(u{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,a){const r=a.global.current.value.colors;return Object.entries(r).find(([c])=>c===l)}(n,o);return t?`hsl(${cl(t[1])})`:`hsl(${cl(n)})`},xn=n=>{const{str:o,unit:t="px"}=n;if(o!=null&&o!=="")return+o?`${Number(o)}${t}`:String(o)},Va=n=>{var a;const{modelValue:o,trueValue:t}=n,l=e.unref(o);return((a=l==null?void 0:l.toLowerCase)==null?void 0:a.call(l))==="true"||l==="1"||l=="1"||l===!0||l==t||l===t},yo=n=>{const{underlineStyle:o,underlineWidth:t,color:l,error:a,theme:r,underlined:c}=n;let{underlineColor:u}=n;u=u||l;const s={"border-bottom-color":Bi(u,r),"border-bottom-style":o,"border-bottom-width":t};return e.unref(a)&&(s["border-bottom-color"]="rgb(var(--v-theme-danger))"),c||(s["border-bottom"]="none"),s},Xe=n=>{const{cardMinWidth:o,cardOffsetX:t,cardOffsetY:l,cardWidth:a,field:r,name:c=""}=n,u=(d=>{const{cardOffsetX:v,cardOffsetY:p,field:f}=d;if(!f)return{bottom:0,height:0,left:0,right:0,top:0,width:0,x:0,y:0};const{x:y,y:g}=f.getBoundingClientRect(),{width:m,height:b}=f.getBoundingClientRect(),{right:w,bottom:N}=f.getBoundingClientRect();return{bottom:xn({str:N+Number(p)}),height:b,left:xn({str:0+Number(v)}),right:xn({str:w+Number(v)}),top:xn({str:2+Number(p)}),width:xn({str:m}),x:y,y:g}})({cardOffsetX:t,cardOffsetY:l,field:r});let s=o,i=a;return i||(i=c==="checkbox"?"fit-content":u.width),s||(s=c==="checkbox"?"fit-content":u.width),{left:u.left,top:u.top,width:i,zIndex:10}},ht=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},valueColor:{}},emits:["toggleField"],setup(n,{emit:o}){const t=o,l=n,a=e.useSlots(),r=Kt.useTheme(),c={displayValue:l.displayValue,empty:l.empty,error:l.error},u=e.computed(()=>mo(l.field,l.valueColor,{empty:l.empty,error:l.error})),s=e.computed(()=>yo({color:l.color,error:l.error,theme:r,underlineColor:l.underlineColor,underlineStyle:l.underlineStyle,underlineWidth:l.underlineWidth,underlined:l.underlined})),i=e.computed(()=>(p=>{const{underlineWidth:f}=p;return{borderBottom:`${f||"0px"} solid transparent`}})({underlineWidth:l.underlineWidth})),d=(p,f=!1)=>(y=>{const{inner:g=!1,position:m}=y;return{[`${Z}--display-icon`]:!g,[`${Z}--display-${m}-icon`]:!g,[`${Z}--display-${m}-inner-icon`]:g,"me-1":m==="prepend","ms-1":m==="append"}})({inner:f,position:p});function v(){t("toggleField")}return(p,f)=>(e.openBlock(),e.createElementBlock("div",{class:"v-inline-fields--display-wrapper",onClick:v},[p.displayPrependIcon||e.unref(a)["display.prepend"]?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(d("prepend")),style:e.normalizeStyle(e.unref(i))},[e.unref(a)["display.prepend"]?e.renderSlot(p.$slots,"display.prepend",e.normalizeProps(e.mergeProps({key:0},c))):(e.openBlock(),e.createBlock(ce,{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(u)]),style:e.normalizeStyle(e.unref(s))},[p.displayPrependInnerIcon||e.unref(a)["display.prependInner"]?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(d("prepend",!0))},[e.unref(a)["display.prependInner"]?e.renderSlot(p.$slots,"display.prependInner",e.normalizeProps(e.mergeProps({key:0},c))):(e.openBlock(),e.createBlock(ce,{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(a)["display.appendInner"]?(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(d("append",!0))},[e.unref(a)["display.appendInner"]?e.renderSlot(p.$slots,"display.appendInner",e.normalizeProps(e.mergeProps({key:0},c))):(e.openBlock(),e.createBlock(ce,{key:1,color:p.displayAppendInnerIconColor,icon:p.displayAppendInnerIcon,size:"x-small"},null,8,["color","icon"]))],2)):e.createCommentVNode("",!0)],6),p.displayAppendIcon||e.unref(a)["display.append"]?(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(d("append")),style:e.normalizeStyle(e.unref(i))},[e.unref(a)["display.append"]?e.renderSlot(p.$slots,"display.append",e.normalizeProps(e.mergeProps({key:0},c))):(e.openBlock(),e.createBlock(ce,{key:1,color:p.displayAppendIconColor,icon:p.displayAppendIcon,size:"x-small"},null,8,["color","icon"]))],6)):e.createCommentVNode("",!0)]))}}),Sn=e.defineComponent({__name:"SaveFieldButtons",props:{loading:{type:Boolean},cancelButtonColor:{},cancelButtonSize:{},cancelButtonVariant:{},cancelButtonTitle:{},cancelIconColor:{},error:{type:Boolean},fieldOnly:{type:Boolean},hideCancelIcon:{type:Boolean},hideSaveIcon:{type:Boolean},cancelIcon:{},loadingIcon:{},loadingIconColor:{},saveButtonColor:{},saveButtonSize:{},saveButtonTitle:{},saveButtonVariant:{},saveIconColor:{},saveIcon:{}},emits:["close","save"],setup(n,{emit:o}){const t=e.useAttrs(),l=o,a=n,r=e.inject(Symbol.for("vuetify:icons")),c=e.computed(()=>a.error),u=e.computed(()=>({[`${Z}--save-fields-container`]:!0})),s=e.computed(()=>a.loading),i=e.reactive({...t,...a}),d=e.computed(()=>(r==null?void 0:r.defaultSet)==="fa"?"fa-spin":(r==null?void 0:r.defaultSet)==="mdi"?"mdi-spin":""),v=e.computed(()=>(b=>{const{cancelButtonVariant:w}=b;return{"me-1":w==="elevated","ms-1":!0}})({cancelButtonVariant:i.cancelButtonVariant})),p=e.computed(()=>_e({icon:a.cancelIcon,iconOptions:r,name:"false"})),f=e.computed(()=>_e({icon:a.loadingIcon,iconOptions:r,name:"loading"})),y=e.computed(()=>_e({icon:a.saveIcon,iconOptions:r,name:"save"}));function g(){l("close")}function m(){l("save")}return(b,w)=>(e.openBlock(),e.createElementBlock("div",e.mergeProps({class:e.unref(u)},b.$attrs),[e.unref(i).hideSaveIcon?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(Jo,{key:0,class:"ms-1",color:e.unref(i).saveButtonColor,disabled:e.unref(c),icon:"",size:e.unref(i).saveButtonSize,title:e.unref(s)?"Loading":e.unref(i).saveButtonTitle,variant:e.unref(i).saveButtonVariant,onClick:m},{default:e.withCtx(()=>[e.unref(s)?(e.openBlock(),e.createBlock(ce,{key:1,class:e.normalizeClass(e.unref(d)),color:e.unref(i).loadingIconColor,icon:e.unref(f)},null,8,["class","color","icon"])):(e.openBlock(),e.createBlock(ce,{key:0,color:e.unref(c)?"error":e.unref(i).saveIconColor,icon:e.unref(y)},null,8,["color","icon"]))]),_:1},8,["color","disabled","size","title","variant"])),e.unref(i).hideCancelIcon?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(Jo,{key:1,class:e.normalizeClass(e.unref(v)),color:e.unref(i).cancelButtonColor,icon:"",size:e.unref(i).cancelButtonSize,title:e.unref(i).cancelButtonTitle,variant:e.unref(i).cancelButtonVariant,onClick:g},{default:e.withCtx(()=>[e.unref(i).hideSaveIcon&&e.unref(s)?(e.openBlock(),e.createBlock(ce,{key:0,class:e.normalizeClass(e.unref(d)),color:e.unref(i).loadingIconColor,icon:e.unref(f)},null,8,["class","color","icon"])):(e.openBlock(),e.createBlock(ce,{key:1,class:"text-default",color:e.unref(i).cancelIconColor,icon:e.unref(p)},null,8,["color","icon"]))]),_:1},8,["class","color","size","title","variant"]))],16))}}),bt=n=>{const{required:o,rules:t}=n;let{value:l}=n;l=e.unref(l);const a=[];let r=!1;if(o&&!l)return a.push("Field is required."),{errors:!0,results:a};if(t){for(const c of t){const u=(typeof c=="function"?c:()=>c)(l);u!==!0&&(typeof u=="string"?a.push(u):console.warn(`${u} is not a valid value. Rule functions must return boolean true or a string.`))}r=a.length>0}return{errors:r,results:a}},In=n=>{const{attrs:o,closeSiblings:t,fieldOnly:l,props:a,showField:r,timeOpened:c}=n;let u=c;return t&&!l&&(u=new Date),{settings:{...o,...a},showField:!e.unref(r),timeOpened:u}},go=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},Vn=["error","update","update:closeSiblingFields","update:model-value"],wi=["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"],Hn=n=>{let o=n;return o=Object.entries(o).filter(([t])=>!wi.includes(t)),Object.fromEntries(o)},ki={class:"v-selection-control__wrapper"},Ut=e.defineComponent({__name:"VInlineCheckbox",props:e.mergeModels(e.mergeDefaults({density:{},falseIcon:{},trueIcon:{},cancelButtonColor:{},cancelButtonSize:{},cancelButtonTitle:{},cancelButtonVariant:{},cancelIcon:{},cancelIconColor:{},cardField:{type:Boolean},cardOffsetX:{},cardOffsetY:{},cardProps:{},cell:{type:Boolean},cellUnderlineFullWidth:{type:Boolean},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},hideCancelIcon:{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:{}},{...Pa}),{modelValue:{}}),emits:e.mergeModels([...Vn],["update:modelValue"]),setup(n,{emit:o}){const t=e.useModel(n,"modelValue"),l=e.useAttrs(),a=e.useSlots(),r=o,c=e.inject(Ue,{}),u=e.inject(Symbol.for("vuetify:icons")),s=Kt.useTheme(),i=n;let d=e.reactive({...l,...i,...c});const{cancelButtonColor:v,cancelButtonSize:p,cancelButtonTitle:f,cancelButtonVariant:y,cancelIcon:g,cancelIconColor:m,cardField:b,closeSiblings:w,color:N,fieldOnly:M,hideCancelIcon:E,hideDetails:P,loadingIcon:L,loadingIconColor:A,saveButtonColor:I,saveButtonSize:k,saveButtonTitle:C,saveButtonVariant:V,saveIcon:B,saveIconColor:D}=e.toRefs(d),$=e.computed(()=>i.disabled),F=e.computed(()=>i.loading),h=e.ref(!1),S=e.ref(!1),x=e.ref(null),z=e.computed(()=>Hn(d)),T=e.computed(()=>({...un,...i.cardProps}));e.watch(()=>F.value,(Q,q)=>{!Q&&q&&S.value&&me()});const O=e.computed(()=>_e({icon:i.trueIcon,iconOptions:u,name:"checkboxFalse"})),H=e.computed(()=>_e({icon:i.iconTrue,iconOptions:u,name:"checkboxTrue"})),_=e.computed(()=>t.value==d.trueValue),W=e.computed(()=>Va({modelValue:t,trueValue:d.trueValue})),R=e.computed(()=>gn({cell:d.cell&&!S.value,density:d.density,disabled:$.value,field:"v-checkbox",loading:F.value,loadingWait:d.loadingWait,tableField:d.tableField})),j=e.computed(()=>hn({cell:d.cell,cellUnderlineFullWidth:d.cellUnderlineFullWidth,density:d.density,field:"v-checkbox"})),G=Ia({density:d.density}),Y=e.computed(()=>bn({active:S.value,name:"checkbox"})),te=e.computed(()=>mo("checkbox",d.valueColor,{error:h})),ie=e.computed(()=>Cn({name:"checkbox",showField:S.value})),re=e.computed(()=>({})),Ie=e.computed(()=>yo({color:d.color,error:h,theme:s,underlineColor:d.underlineColor,underlineStyle:d.underlineStyle,underlineWidth:d.underlineWidth,underlined:d.underlined})),fe=e.computed(()=>de.value);function pe(){h.value=!1,me()}const de=e.ref(),ge=e.ref(null),ve=e.ref("body"),be=Aa.useWindowSize();function me(){var q,ue;if($.value||d.loadingWait&&F.value)return;de.value=Xe({cardMinWidth:(q=d.cardProps)==null?void 0:q.minWidth,cardOffsetX:d.cardOffsetX,cardOffsetY:d.cardOffsetY,cardWidth:(ue=d.cardProps)==null?void 0:ue.width,field:ge.value,name:"checkbox"});const Q=In({attrs:l,closeSiblings:w.value,fieldOnly:d.fieldOnly,props:i,showField:S,timeOpened:x.value});d={...d,...Q.settings},S.value=Q.showField,x.value=Q.timeOpened,K!==null&&w.value&&S.value&&!d.fieldOnly&&K.emit(Q.timeOpened)}function oe(Q){t.value=Q,r("update",Q),d.loadingWait||me()}let K,le;function Ce(Q){r("update:closeSiblingFields",x),S.value&&x.value!==Q&&me()}return e.watch(()=>be,()=>{var Q,q;de.value=Xe({cardMinWidth:(Q=d.cardProps)==null?void 0:Q.minWidth,cardOffsetX:d.cardOffsetX,cardOffsetY:d.cardOffsetY,cardWidth:(q=d.cardProps)==null?void 0:q.width,field:ge.value,name:"checkbox"})},{deep:!0}),w.value&&import("@vueuse/core").then(({useEventBus:Q})=>{K=Q(sn),le=K.on(Ce)}),e.onUnmounted(()=>{le!==void 0&&K.off(Ce)}),(Q,q)=>(e.openBlock(),e.createElementBlock("div",{ref_key:"inlineFieldsContainer",ref:ge,class:e.normalizeClass(e.unref(R)),style:e.normalizeStyle(e.unref(re))},[!e.unref(S)&&!e.unref(d).fieldOnly||e.unref(b)?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(e.unref(j)),onClick:q[2]||(q[2]=ue=>e.unref(d).cell?me():void 0)},[e.createElementVNode("div",{class:e.normalizeClass(e.unref(G)),onClick:q[1]||(q[1]=ue=>e.unref(d).cell?void 0:me())},[e.createElementVNode("div",ki,[Q.icons?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["v-inline-fields--boolean-icons-container",e.unref(te)]),style:e.normalizeStyle(e.unref(Ie))},[e.createVNode(e.unref(Sa),{modelValue:e.unref(W),"onUpdate:modelValue":q[0]||(q[0]=ue=>e.isRef(W)?W.value=ue:null),"icon-false":e.unref(d).iconFalse,"icon-false-color":e.unref(d).iconFalseColor,"icon-false-title":e.unref(d).iconFalseTitle,"icon-true":e.unref(d).iconTrue,"icon-true-color":e.unref(d).iconTrueColor,"icon-true-title":e.unref(d).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(te)]),style:e.normalizeStyle(e.unref(Ie))},e.toDisplayString(e.unref(_)),7))])],2)],2)):e.createCommentVNode("",!0),e.unref(S)||e.unref(M)||e.unref(b)?(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(e.unref(Y))},[(e.openBlock(),e.createBlock(e.Teleport,{disabled:!e.unref(b),to:e.unref(ve)},[e.createVNode(Cr,e.mergeProps(e.unref(z),{color:e.unref(N),density:e.unref(d).density,disabled:e.unref(F)||e.unref($),error:e.unref(h),"false-icon":e.unref(O),"false-value":e.unref(d).falseValue,"hide-details":e.unref(P),label:e.unref(d).label,"model-value":e.unref(W),"true-icon":e.unref(H),"true-value":e.unref(d).trueValue,"onUpdate:modelValue":oe}),e.createSlots({_:2},[e.renderList(e.unref(a),(ue,ne)=>({name:ne,fn:e.withCtx(ye=>[e.renderSlot(Q.$slots,ne,e.normalizeProps(e.guardReactiveProps({...ye})))])})),e.unref(a).append?void 0:{name:"append",fn:e.withCtx(()=>[e.createVNode(e.unref(Sn),{"cancel-button-color":e.unref(v),"cancel-button-size":e.unref(p),"cancel-button-title":e.unref(f),"cancel-button-variant":e.unref(y),"cancel-icon":e.unref(g),"cancel-icon-color":e.unref(m),error:e.unref(h),"field-only":e.unref(M),"hide-cancel-icon":e.unref(E),"hide-save-icon":!0,loading:e.unref(F),"loading-icon":e.unref(L),"loading-icon-color":e.unref(A),"save-button-color":e.unref(I),"save-button-size":e.unref(k),"save-button-title":e.unref(C),"save-button-variant":e.unref(V),"save-icon":e.unref(B),"save-icon-color":e.unref(D),onClose:pe,onSave:oe},null,8,["cancel-button-color","cancel-button-size","cancel-button-title","cancel-button-variant","cancel-icon","cancel-icon-color","error","field-only","hide-cancel-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,["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(b)?(e.openBlock(),e.createElementBlock("div",{key:2,class:e.normalizeClass(e.unref(ie)),style:e.normalizeStyle(e.unref(fe))},[e.createVNode(yn,e.normalizeProps(e.guardReactiveProps(e.unref(T))),{default:e.withCtx(()=>[e.createVNode(Qe,null,{default:e.withCtx(()=>[e.createElementVNode("div",{ref_key:"cardFieldRef",ref:ve},null,512)]),_:1})]),_:1},16)],6)):e.createCommentVNode("",!0)],6))}}),Gt=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:{},cell:{type:Boolean},cellUnderlineFullWidth:{type:Boolean},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},hideCancelIcon:{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:{}},{...pl}),{modelValue:{}}),emits:e.mergeModels([...Vn],["update:modelValue"]),setup(n,{emit:o}){const t=e.useModel(n,"modelValue"),l=e.useAttrs(),a=e.useSlots(),r=o,c=e.inject(Ue,{}),u=e.inject(Symbol.for("vuetify:icons")),s=n;let i=e.reactive({...l,...s,...c});const{cancelButtonColor:d,cancelButtonSize:v,cancelButtonTitle:p,cancelButtonVariant:f,cancelIcon:y,cancelIconColor:g,cardField:m,closeSiblings:b,fieldOnly:w,hideCancelIcon:N,hideSaveIcon:M,loadingIcon:E,loadingIconColor:P,saveButtonColor:L,saveButtonSize:A,saveButtonTitle:I,saveButtonVariant:k,saveIcon:C,saveIconColor:V}=e.toRefs(i),B=e.computed(()=>s.disabled),D=e.computed(()=>s.loading),$=e.ref(!1),F=e.ref(!1),h=e.ref(!1),S=e.ref(null);let x=t.value;e.watch(()=>D.value,(K,le)=>{!K&&le&&h.value&&pe()});const z=e.computed(()=>t.value?($.value=!1,i.truncateLength?go({length:i.truncateLength,suffix:i.truncateSuffix,text:t.value}):t.value):($.value=!0,i.emptyText)),T=e.computed(()=>({...i,loading:D.value,modelValue:t.value,originalValue:x})),O=e.computed(()=>({color:i.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:z.value,empty:$.value,error:F.value,field:"v-text-field",underlineColor:i.underlineColor,underlineStyle:i.underlineStyle,underlineWidth:i.underlineWidth,underlined:i.underlined,valueColor:i.valueColor})),H=e.computed(()=>({...un,...s.cardProps})),_=e.computed(()=>gn({cell:i.cell&&!h.value,density:i.density,disabled:B.value,field:"v-text-field",iconSet:u==null?void 0:u.defaultSet,loading:D.value,loadingWait:i.loadingWait,tableField:i.tableField,variant:i.variant})),W=e.computed(()=>hn({cell:i.cell,cellUnderlineFullWidth:i.cellUnderlineFullWidth,density:i.density,field:"v-text-field"})),R=gt({density:i.density,variant:i.variant}),j=e.computed(()=>bn({active:h.value,name:"text-field"})),G=e.computed(()=>Cn({name:"custom-field",showField:h.value})),Y=e.computed(()=>({})),te=e.computed(()=>re.value);function ie(){F.value=!1,t.value=x,pe()}const re=e.ref(),Ie=e.ref(null),fe=e.ref("body");function pe(){var le,Ce;if(B.value||i.loadingWait&&D.value)return;re.value=Xe({cardMinWidth:(le=i.cardProps)==null?void 0:le.minWidth,cardOffsetX:i.cardOffsetX,cardOffsetY:i.cardOffsetY,cardWidth:(Ce=i.cardProps)==null?void 0:Ce.width,field:Ie.value});const K=In({attrs:l,closeSiblings:b.value,fieldOnly:i.fieldOnly,props:s,showField:h,timeOpened:S.value});i={...i,...K.settings},h.value=K.showField,S.value=K.timeOpened,be!==null&&b.value&&h.value&&!i.fieldOnly&&be.emit(K.timeOpened)}const de=e.ref();function ge(){const K=bt({required:i.required,rules:i.rules,value:t});return F.value=K.errors,de.value=K.results,K.results}function ve(){F.value?F.value=!0:(x=t.value,r("update",t.value),i.loadingWait||pe())}let be,me;function oe(K){r("update:closeSiblingFields",S),h.value&&S.value!==K&&ie()}return e.watch(()=>h.value,()=>{h.value&&ge()}),e.watch(()=>t.value,()=>{h.value&&ge()}),b.value&&import("@vueuse/core").then(({useEventBus:K})=>{be=K(sn),me=be.on(oe)}),e.onUnmounted(()=>{me!==void 0&&be.off(oe)}),(K,le)=>(e.openBlock(),e.createElementBlock("div",{ref_key:"inlineFieldsContainer",ref:Ie,class:e.normalizeClass(e.unref(_)),style:e.normalizeStyle(e.unref(Y))},[!e.unref(h)&&!e.unref(i).fieldOnly||e.unref(m)?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(e.unref(W))},[e.createElementVNode("div",{class:e.normalizeClass(e.unref(R))},[e.createVNode(e.unref(ht),e.mergeProps(e.unref(O),{onToggleField:pe}),e.createSlots({_:2},[e.renderList(e.unref(a),(Ce,Q)=>({name:Q,fn:e.withCtx(q=>[e.renderSlot(K.$slots,Q,e.normalizeProps(e.guardReactiveProps({...q})))])}))]),1040)],2)],2)):e.createCommentVNode("",!0),e.unref(h)||e.unref(i).fieldOnly||e.unref(m)?(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(["d-flex align-center py-2",e.unref(j)])},[(e.openBlock(),e.createBlock(e.Teleport,{disabled:!e.unref(m),to:e.unref(fe)},[e.renderSlot(K.$slots,"default",e.normalizeProps(e.guardReactiveProps(e.unref(T)))),e.createVNode(e.unref(Sn),{"cancel-button-color":e.unref(d),"cancel-button-size":e.unref(v),"cancel-button-title":e.unref(p),"cancel-button-variant":e.unref(f),"cancel-icon":e.unref(y),"cancel-icon-color":e.unref(g),error:e.unref(F),"field-only":e.unref(w),"hide-cancel-icon":e.unref(N),"hide-save-icon":e.unref(M),loading:e.unref(D),"loading-icon":e.unref(E),"loading-icon-color":e.unref(P),"save-button-color":e.unref(L),"save-button-size":e.unref(A),"save-button-title":e.unref(I),"save-button-variant":e.unref(k),"save-icon":e.unref(C),"save-icon-color":e.unref(V),onClose:ie,onSave:ve},null,8,["cancel-button-color","cancel-button-size","cancel-button-title","cancel-button-variant","cancel-icon","cancel-icon-color","error","field-only","hide-cancel-icon","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"])],8,["disabled","to"]))],2)):e.createCommentVNode("",!0),e.unref(m)?(e.openBlock(),e.createElementBlock("div",{key:2,class:e.normalizeClass(e.unref(G)),style:e.normalizeStyle(e.unref(te))},[e.createVNode(yn,e.normalizeProps(e.guardReactiveProps(e.unref(H))),{default:e.withCtx(()=>[e.createVNode(Qe,null,{default:e.withCtx(()=>[e.createElementVNode("div",{ref_key:"cardFieldRef",ref:fe},null,512)]),_:1})]),_:1},16)],6)):e.createCommentVNode("",!0)],6))}}),qt=((n,o)=>{const t=n.__vccOpts||n;for(const[l,a]of o)t[l]=a;return t})(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:{},cell:{type:Boolean},cellUnderlineFullWidth:{type:Boolean},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},hideCancelIcon:{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:{}},{..._a}),{modelValue:{}}),emits:e.mergeModels([...Vn],["update:modelValue"]),setup(n,{emit:o}){const t=e.useModel(n,"modelValue"),l=e.useAttrs(),a=e.useSlots(),r=o,c=e.inject(Ue,{}),u=e.inject(Symbol.for("vuetify:icons")),s=n;let i=e.reactive({...l,...s,...c});const{cancelButtonColor:d,cancelButtonSize:v,cancelButtonTitle:p,cancelButtonVariant:f,cancelIcon:y,cancelIconColor:g,cardField:m,closeSiblings:b,color:w,fieldOnly:N,hideCancelIcon:M,hideDetails:E,hideSaveIcon:P,loadingIcon:L,loadingIconColor:A,saveButtonColor:I,saveButtonSize:k,saveButtonTitle:C,saveButtonVariant:V,saveIcon:B,saveIconColor:D,valueColor:$}=e.toRefs(i),F=e.computed(()=>s.disabled),h=e.computed(()=>s.loading),S=e.ref(!1),x=e.ref(!1),z=e.ref(),T=e.ref(!1),O=e.ref(null);let H=t.value;e.watch(()=>h.value,(ne,ye)=>{!ne&&ye&&T.value&&me()});const _=e.computed(()=>_e({icon:s.clearIcon,iconOptions:u,name:"clear"})),W=e.computed(()=>t.value&&t.value[i.itemTitle]?(S.value=!1,t.value[i.itemTitle]):t.value?t.value:(S.value=!0,i.emptyText)),R=e.computed(()=>Hn(i)),j=e.computed(()=>({color:i.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:W.value,empty:S.value,error:x.value,field:"v-text-field",underlineColor:i.underlineColor,underlineStyle:i.underlineStyle,underlineWidth:i.underlineWidth,underlined:i.underlined,valueColor:$.value})),G=e.computed(()=>({...un,...s.cardProps}));e.watchEffect(()=>{z.value=i.items||[]});const Y=e.computed(()=>gn({cell:i.cell&&!T.value,density:i.density,disabled:F.value,field:"v-select",iconSet:u==null?void 0:u.defaultSet,loading:h.value,loadingWait:i.loadingWait,tableField:i.tableField,variant:i.variant})),te=e.computed(()=>hn({cell:i.cell,cellUnderlineFullWidth:i.cellUnderlineFullWidth,density:i.density,field:"v-select"})),ie=gt({density:i.density,variant:i.variant}),re=e.computed(()=>bn({active:T.value,name:"select"})),Ie=e.computed(()=>Cn({name:"select",showField:T.value})),fe=e.computed(()=>({})),pe=e.computed(()=>ge.value);function de(){x.value=!1,t.value=H,me()}const ge=e.ref(),ve=e.ref(null),be=e.ref("body");function me(){var ye,we;if(F.value||i.loadingWait&&h.value)return;ge.value=Xe({cardMinWidth:(ye=i.cardProps)==null?void 0:ye.minWidth,cardOffsetX:i.cardOffsetX,cardOffsetY:i.cardOffsetY,cardWidth:(we=i.cardProps)==null?void 0:we.width,field:ve.value});const ne=In({attrs:l,closeSiblings:b.value,fieldOnly:i.fieldOnly,props:s,showField:T,timeOpened:O.value});i={...i,...ne.settings},T.value=ne.showField,O.value=ne.timeOpened,Q!==null&&b.value&&T.value&&!i.fieldOnly&&Q.emit(ne.timeOpened)}const oe=e.ref(),K=e.computed(()=>oe.value);function le(){const ne=bt({required:i.required,rules:i.rules,value:t});return x.value=ne.errors,oe.value=ne.results,ne.results}function Ce(){H=t.value,r("update",t.value),i.loadingWait||me()}let Q,q;function ue(ne){r("update:closeSiblingFields",O),T.value&&O.value!==ne&&de()}return e.watch(()=>T.value,()=>{T.value&&le()}),e.watch(()=>t.value,()=>{T.value&&le()}),b.value&&import("@vueuse/core").then(({useEventBus:ne})=>{Q=ne(sn),q=Q.on(ue)}),e.onUnmounted(()=>{q!==void 0&&Q.off(ue)}),(ne,ye)=>(e.openBlock(),e.createElementBlock("div",{ref_key:"inlineFieldsContainer",ref:ve,class:e.normalizeClass(e.unref(Y)),style:e.normalizeStyle(e.unref(fe))},[!e.unref(T)&&!e.unref(i).fieldOnly||e.unref(m)?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(e.unref(te))},[e.createElementVNode("div",{class:e.normalizeClass(e.unref(ie))},[e.createVNode(e.unref(ht),e.mergeProps(e.unref(j),{onToggleField:me}),e.createSlots({_:2},[e.renderList(e.unref(a),(we,Bn)=>({name:Bn,fn:e.withCtx(Ct=>[e.renderSlot(ne.$slots,Bn,e.normalizeProps(e.guardReactiveProps({...Ct})),void 0,!0)])}))]),1040)],2)],2)):e.createCommentVNode("",!0),e.unref(T)||e.unref(i).fieldOnly||e.unref(m)?(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(e.unref(re))},[(e.openBlock(),e.createBlock(e.Teleport,{disabled:!e.unref(m),to:e.unref(be)},[e.createVNode(vi,e.mergeProps(e.unref(R),{modelValue:t.value,"onUpdate:modelValue":ye[0]||(ye[0]=we=>t.value=we),autofocus:!e.unref(i).fieldOnly||e.unref(i).autofocus,"clear-icon":e.unref(_),clearable:e.unref(i).clearable,color:e.unref(w),density:e.unref(i).density,disabled:e.unref(h)||e.unref(F),error:e.unref(x),"error-messages":e.unref(K),"hide-details":e.unref(E),"hide-selected":e.unref(i).hideSelected,"item-title":e.unref(i).itemTitle,"item-value":e.unref(i).itemValue,items:e.unref(z),label:e.unref(i).label,loading:e.unref(h),menu:e.unref(i).menu&&!e.unref(i).fieldOnly&&e.unref(T),variant:e.unref(i).variant,width:"100%",onKeyup:e.withKeys(de,["esc"])}),e.createSlots({_:2},[e.renderList(e.unref(a),(we,Bn)=>({name:Bn,fn:e.withCtx(Ct=>[e.renderSlot(ne.$slots,Bn,e.normalizeProps(e.guardReactiveProps({...Ct})),void 0,!0)])})),e.unref(a).append?void 0:{name:"append",fn:e.withCtx(()=>[e.createVNode(e.unref(Sn),{"cancel-button-color":e.unref(d),"cancel-button-size":e.unref(v),"cancel-button-title":e.unref(p),"cancel-button-variant":e.unref(f),"cancel-icon":e.unref(y),"cancel-icon-color":e.unref(g),error:e.unref(x),"field-only":e.unref(N),"hide-cancel-icon":e.unref(M),"hide-save-icon":e.unref(P),loading:e.unref(h),"loading-icon":e.unref(L),"loading-icon-color":e.unref(A),"save-button-color":e.unref(I),"save-button-size":e.unref(k),"save-button-title":e.unref(C),"save-button-variant":e.unref(V),"save-icon":e.unref(B),"save-icon-color":e.unref(D),onClose:de,onSave:Ce},null,8,["cancel-button-color","cancel-button-size","cancel-button-title","cancel-button-variant","cancel-icon","cancel-icon-color","error","field-only","hide-cancel-icon","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"])],8,["disabled","to"]))],2)):e.createCommentVNode("",!0),e.unref(m)?(e.openBlock(),e.createElementBlock("div",{key:2,class:e.normalizeClass(e.unref(Ie)),style:e.normalizeStyle(e.unref(pe))},[e.createVNode(yn,e.normalizeProps(e.guardReactiveProps(e.unref(G))),{default:e.withCtx(()=>[e.createVNode(Qe,null,{default:e.withCtx(()=>[e.createElementVNode("div",{ref_key:"cardFieldRef",ref:be},null,512)]),_:1})]),_:1},16)],6)):e.createCommentVNode("",!0)],6))}}),[["__scopeId","data-v-0716e076"]]),xi={class:"v-selection-control__wrapper"},Ht=e.defineComponent({__name:"VInlineSwitch",props:e.mergeModels(e.mergeDefaults({density:{},falseIcon:{},cancelButtonColor:{},cancelButtonSize:{},cancelButtonTitle:{},cancelButtonVariant:{},cancelIcon:{},cancelIconColor:{},cardField:{type:Boolean},cardOffsetX:{},cardOffsetY:{},cardProps:{},cell:{type:Boolean},cellUnderlineFullWidth:{type:Boolean},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},hideCancelIcon:{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:{}},{...Ea}),{modelValue:{}}),emits:e.mergeModels([...Vn],["update:modelValue"]),setup(n,{emit:o}){const t=e.useModel(n,"modelValue"),l=e.useAttrs(),a=e.useSlots(),r=o,c=e.inject(Ue,{}),u=Kt.useTheme(),s=n;let i=e.reactive({...l,...s,...c});const{cancelButtonColor:d,cancelButtonSize:v,cancelButtonTitle:p,cancelButtonVariant:f,cancelIcon:y,cancelIconColor:g,cardField:m,closeSiblings:b,color:w,fieldOnly:N,hideCancelIcon:M,hideDetails:E,loadingIcon:P,loadingIconColor:L,saveButtonColor:A,saveButtonSize:I,saveButtonTitle:k,saveButtonVariant:C,saveIcon:V,saveIconColor:B}=e.toRefs(i),D=e.computed(()=>s.disabled),$=e.computed(()=>s.loading),F=e.ref(!1),h=e.ref(!1),S=e.ref(null),x=e.computed(()=>Hn(i)),z=e.computed(()=>({...un,...s.cardProps}));e.watch(()=>$.value,(oe,K)=>{!oe&&K&&h.value&&de()});const T=e.computed(()=>t.value==i.trueValue),O=e.computed(()=>Va({modelValue:t,trueValue:i.trueValue})),H=e.computed(()=>gn({cell:i.cell&&!h.value,density:i.density,disabled:D.value,field:"v-switch",loading:$.value,loadingWait:i.loadingWait,tableField:i.tableField})),_=e.computed(()=>hn({cell:i.cell,cellUnderlineFullWidth:i.cellUnderlineFullWidth,density:i.density,field:"v-switch"})),W=Ia({density:i.density}),R=e.computed(()=>bn({active:h.value,name:"switch"})),j=e.computed(()=>mo("switch",i.valueColor,{error:F})),G=e.computed(()=>Cn({name:"switch",showField:h.value})),Y=e.computed(()=>({})),te=e.computed(()=>yo({color:i.color,error:F,theme:u,underlineColor:i.underlineColor,underlineStyle:i.underlineStyle,underlineWidth:i.underlineWidth,underlined:i.underlined})),ie=e.computed(()=>Ie.value);function re(){F.value=!1,de()}const Ie=e.ref(),fe=e.ref(null),pe=e.ref("body");function de(){var K,le;if(D.value||i.loadingWait&&$.value)return;Ie.value=Xe({cardMinWidth:(K=i.cardProps)==null?void 0:K.minWidth,cardOffsetX:i.cardOffsetX,cardOffsetY:i.cardOffsetY,cardWidth:(le=i.cardProps)==null?void 0:le.width,field:fe.value});const oe=In({attrs:l,closeSiblings:b.value,fieldOnly:i.fieldOnly,props:s,showField:h.value,timeOpened:S.value});i={...i,...oe.settings},h.value=oe.showField,S.value=oe.timeOpened,ve!==null&&b.value&&h.value&&!i.fieldOnly&&ve.emit(oe.timeOpened)}function ge(oe){t.value=oe,r("update",oe),i.loadingWait||de()}let ve,be;function me(oe){r("update:closeSiblingFields",S),h.value&&S.value!==oe&&de()}return b.value&&import("@vueuse/core").then(({useEventBus:oe})=>{ve=oe(sn),be=ve.on(me)}),e.onUnmounted(()=>{be!==void 0&&ve.off(me)}),(oe,K)=>(e.openBlock(),e.createElementBlock("div",{ref_key:"inlineFieldsContainer",ref:fe,class:e.normalizeClass(e.unref(H)),style:e.normalizeStyle(e.unref(Y))},[!e.unref(h)&&!e.unref(i).fieldOnly||e.unref(i).cardField?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(e.unref(_)),onClick:K[2]||(K[2]=le=>e.unref(i).cell?de():void 0)},[e.createElementVNode("div",{class:e.normalizeClass(e.unref(W)),onClick:K[1]||(K[1]=le=>e.unref(i).cell?void 0:de())},[e.createElementVNode("div",xi,[oe.icons?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["v-inline-fields--boolean-icons-container",e.unref(j)]),style:e.normalizeStyle(e.unref(te))},[e.createVNode(e.unref(Sa),{modelValue:e.unref(O),"onUpdate:modelValue":K[0]||(K[0]=le=>e.isRef(O)?O.value=le:null),"icon-false":e.unref(i).iconFalse,"icon-false-color":e.unref(i).iconFalseColor,"icon-false-title":e.unref(i).iconFalseTitle,"icon-true":e.unref(i).iconTrue,"icon-true-color":e.unref(i).iconTrueColor,"icon-true-title":e.unref(i).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(j)]),style:e.normalizeStyle(e.unref(te))},e.toDisplayString(e.unref(T)),7))])],2)],2)):e.createCommentVNode("",!0),e.unref(h)||e.unref(i).fieldOnly||e.unref(m)?(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(e.unref(R))},[(e.openBlock(),e.createBlock(e.Teleport,{disabled:!e.unref(m),to:e.unref(pe)},[e.createVNode(Si,e.mergeProps(e.unref(x),{color:e.unref(w),density:e.unref(i).density,disabled:e.unref($)||e.unref(D),error:e.unref(F),"false-icon":e.unref(i).falseIcon,"false-value":e.unref(i).falseValue,"hide-details":e.unref(E),label:e.unref(i).label,loading:e.unref($),"model-value":e.unref(O),"true-value":e.unref(i).trueValue,"onUpdate:modelValue":ge}),e.createSlots({_:2},[e.renderList(e.unref(a),(le,Ce)=>({name:Ce,fn:e.withCtx(Q=>[e.renderSlot(oe.$slots,Ce,e.normalizeProps(e.guardReactiveProps({...Q})))])})),e.unref(a).append?void 0:{name:"append",fn:e.withCtx(()=>[e.createVNode(e.unref(Sn),{"cancel-button-color":e.unref(d),"cancel-button-size":e.unref(v),"cancel-button-title":e.unref(p),"cancel-button-variant":e.unref(f),"cancel-icon":e.unref(y),"cancel-icon-color":e.unref(g),class:"ms-3",error:e.unref(F),"field-only":e.unref(N),"hide-cancel-icon":e.unref(M),"hide-save-icon":!0,loading:e.unref($),"loading-icon":e.unref(P),"loading-icon-color":e.unref(L),"save-button-color":e.unref(A),"save-button-size":e.unref(I),"save-button-title":e.unref(k),"save-button-variant":e.unref(C),"save-icon":e.unref(V),"save-icon-color":e.unref(B),onClose:re,onSave:ge},null,8,["cancel-button-color","cancel-button-size","cancel-button-title","cancel-button-variant","cancel-icon","cancel-icon-color","error","field-only","hide-cancel-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,["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(m)?(e.openBlock(),e.createElementBlock("div",{key:2,class:e.normalizeClass(e.unref(G)),style:e.normalizeStyle(e.unref(ie))},[e.createVNode(yn,e.normalizeProps(e.guardReactiveProps(e.unref(z))),{default:e.withCtx(()=>[e.createVNode(Qe,null,{default:e.withCtx(()=>[e.createElementVNode("div",{ref_key:"cardFieldRef",ref:pe},null,512)]),_:1})]),_:1},16)],6)):e.createCommentVNode("",!0)],6))}}),Yt=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:{},cell:{type:Boolean},cellUnderlineFullWidth:{type:Boolean},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},hideCancelIcon:{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:{}},{...pl}),{modelValue:{}}),emits:e.mergeModels([...Vn],["update:modelValue"]),setup(n,{emit:o}){const t=e.useModel(n,"modelValue"),l=e.useAttrs(),a=e.useSlots(),r=o,c=e.inject(Ue,{}),u=e.inject(Symbol.for("vuetify:icons")),s=n;let i=e.reactive({...l,...s,...c});const{cancelButtonColor:d,cancelButtonSize:v,cancelButtonTitle:p,cancelButtonVariant:f,cancelIcon:y,cancelIconColor:g,cardField:m,closeSiblings:b,color:w,fieldOnly:N,hideCancelIcon:M,hideDetails:E,hideSaveIcon:P,loadingIcon:L,loadingIconColor:A,saveButtonColor:I,saveButtonSize:k,saveButtonTitle:C,saveButtonVariant:V,saveIcon:B,saveIconColor:D}=e.toRefs(i),$=e.computed(()=>s.disabled),F=e.computed(()=>s.loading),h=e.ref(!1),S=e.ref(!1),x=e.ref(!1),z=e.ref(null);let T=t.value;e.watch(()=>F.value,(q,ue)=>{!q&&ue&&x.value&&ve()});const O=e.computed(()=>_e({icon:s.clearIcon,iconOptions:u,name:"clear"})),H=e.computed(()=>t.value?(h.value=!1,i.truncateLength?go({length:i.truncateLength,suffix:i.truncateSuffix,text:t.value}):t.value):(h.value=!0,i.emptyText)),_=e.computed(()=>Hn(i)),W=e.computed(()=>({color:i.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:h.value,error:S.value,field:"v-text-field",underlineColor:i.underlineColor,underlineStyle:i.underlineStyle,underlineWidth:i.underlineWidth,underlined:i.underlined,valueColor:i.valueColor})),R=e.computed(()=>({...un,...s.cardProps})),j=e.computed(()=>gn({cell:i.cell&&!x.value,density:i.density,disabled:$.value,field:"v-text-field",iconSet:u==null?void 0:u.defaultSet,loading:F.value,loadingWait:i.loadingWait,tableField:i.tableField,variant:i.variant})),G=e.computed(()=>hn({cell:i.cell,cellUnderlineFullWidth:i.cellUnderlineFullWidth,density:i.density,field:"v-text-field"})),Y=gt({density:i.density,variant:i.variant}),te=e.computed(()=>bn({active:x.value,name:"text-field"})),ie=e.computed(()=>Cn({name:"text-field",showField:x.value})),re=e.computed(()=>({})),Ie=e.computed(()=>pe.value);function fe(){S.value=!1,t.value=T,ve()}const pe=e.ref(),de=e.ref(null),ge=e.ref("body");function ve(){var ue,ne;if($.value||i.loadingWait&&F.value)return;pe.value=Xe({cardMinWidth:(ue=i.cardProps)==null?void 0:ue.minWidth,cardOffsetX:i.cardOffsetX,cardOffsetY:i.cardOffsetY,cardWidth:(ne=i.cardProps)==null?void 0:ne.width,field:de.value});const q=In({attrs:l,closeSiblings:b.value,fieldOnly:i.fieldOnly,props:s,showField:x,timeOpened:z.value});i={...i,...q.settings},x.value=q.showField,z.value=q.timeOpened,le!==null&&b.value&&x.value&&!i.fieldOnly&&le.emit(q.timeOpened)}const be=e.ref(),me=e.computed(()=>be.value);function oe(){const q=bt({required:i.required,rules:i.rules,value:t});return S.value=q.errors,be.value=q.results,q.results}function K(){S.value?S.value=!0:(T=t.value,r("update",t.value),i.loadingWait||ve())}let le,Ce;function Q(q){r("update:closeSiblingFields",z),x.value&&z.value!==q&&fe()}return e.watch(()=>x.value,()=>{x.value&&oe()}),e.watch(()=>t.value,()=>{x.value&&oe()}),b.value&&import("@vueuse/core").then(({useEventBus:q})=>{le=q(sn),Ce=le.on(Q)}),e.onUnmounted(()=>{Ce!==void 0&&le.off(Q)}),(q,ue)=>(e.openBlock(),e.createElementBlock("div",{ref_key:"inlineFieldsContainer",ref:de,class:e.normalizeClass(e.unref(j)),style:e.normalizeStyle(e.unref(re))},[!e.unref(x)&&!e.unref(i).fieldOnly||e.unref(m)?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(e.unref(G))},[e.createElementVNode("div",{class:e.normalizeClass(e.unref(Y))},[e.createVNode(e.unref(ht),e.mergeProps(e.unref(W),{onToggleField:ve}),e.createSlots({_:2},[e.renderList(e.unref(a),(ne,ye)=>({name:ye,fn:e.withCtx(we=>[e.renderSlot(q.$slots,ye,e.normalizeProps(e.guardReactiveProps({...we})))])}))]),1040)],2)],2)):e.createCommentVNode("",!0),e.unref(x)||e.unref(i).fieldOnly||e.unref(m)?(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(e.unref(te))},[(e.openBlock(),e.createBlock(e.Teleport,{disabled:!e.unref(m),to:e.unref(ge)},[e.createVNode(jt,e.mergeProps(e.unref(_),{modelValue:t.value,"onUpdate:modelValue":ue[0]||(ue[0]=ne=>t.value=ne),autofocus:!e.unref(i).fieldOnly||e.unref(i).autofocus,"clear-icon":e.unref(O),color:e.unref(w),density:e.unref(i).density,disabled:e.unref(F)||e.unref($),error:e.unref(S),"error-messages":e.unref(me),"hide-details":e.unref(E),label:e.unref(i).label,loading:e.unref(F),variant:e.unref(i).variant,width:"100%",onKeyup:[e.withKeys(K,["enter"]),e.withKeys(fe,["esc"])]}),e.createSlots({_:2},[e.renderList(e.unref(a),(ne,ye)=>({name:ye,fn:e.withCtx(we=>[e.renderSlot(q.$slots,ye,e.normalizeProps(e.guardReactiveProps({...we})))])})),e.unref(a).append?void 0:{name:"append",fn:e.withCtx(()=>[e.createVNode(e.unref(Sn),{"cancel-button-color":e.unref(d),"cancel-button-size":e.unref(v),"cancel-button-title":e.unref(p),"cancel-button-variant":e.unref(f),"cancel-icon":e.unref(y),"cancel-icon-color":e.unref(g),error:e.unref(S),"field-only":e.unref(N),"hide-cancel-icon":e.unref(M),"hide-save-icon":e.unref(P),loading:e.unref(F),"loading-icon":e.unref(L),"loading-icon-color":e.unref(A),"save-button-color":e.unref(I),"save-button-size":e.unref(k),"save-button-title":e.unref(C),"save-button-variant":e.unref(V),"save-icon":e.unref(B),"save-icon-color":e.unref(D),onClose:fe,onSave:K},null,8,["cancel-button-color","cancel-button-size","cancel-button-title","cancel-button-variant","cancel-icon","cancel-icon-color","error","field-only","hide-cancel-icon","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","color","density","disabled","error","error-messages","hide-details","label","loading","variant"])],8,["disabled","to"]))],2)):e.createCommentVNode("",!0),e.unref(m)?(e.openBlock(),e.createElementBlock("div",{key:2,class:e.normalizeClass(e.unref(ie)),style:e.normalizeStyle(e.unref(Ie))},[e.createVNode(yn,e.normalizeProps(e.guardReactiveProps(e.unref(R))),{default:e.withCtx(()=>[e.createVNode(Qe,null,{default:e.withCtx(()=>[e.createElementVNode("div",{ref_key:"cardFieldRef",ref:ge},null,512)]),_:1})]),_:1},16)],6)):e.createCommentVNode("",!0)],6))}}),Xt=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:{},cell:{type:Boolean},cellUnderlineFullWidth:{type:Boolean},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},hideCancelIcon:{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:{}},{...Oa}),{modelValue:{}}),emits:e.mergeModels([...Vn],["update:modelValue"]),setup(n,{emit:o}){const t=e.useModel(n,"modelValue"),l=e.useAttrs(),a=e.useSlots(),r=o,c=e.inject(Ue,{}),u=e.inject(Symbol.for("vuetify:icons")),s=n;let i=e.reactive({...l,...s,...c});const{cancelButtonColor:d,cancelButtonSize:v,cancelButtonTitle:p,cancelButtonVariant:f,cancelIcon:y,cancelIconColor:g,cardField:m,closeSiblings:b,color:w,fieldOnly:N,hideCancelIcon:M,hideDetails:E,hideSaveIcon:P,loadingIcon:L,loadingIconColor:A,saveButtonColor:I,saveButtonSize:k,saveButtonTitle:C,saveButtonVariant:V,saveIcon:B,saveIconColor:D}=e.toRefs(i),$=e.computed(()=>s.disabled),F=e.computed(()=>s.loading),h=e.ref(!1),S=e.ref(!1),x=e.ref(!1),z=e.ref(null);let T=t.value;e.watch(()=>F.value,(q,ue)=>{!q&&ue&&x.value&&ve()});const O=e.computed(()=>_e({icon:s.clearIcon,iconOptions:u,name:"clear"})),H=e.computed(()=>t.value?(h.value=!1,i.truncateLength?go({length:i.truncateLength,suffix:i.truncateSuffix,text:t.value}):t.value):(h.value=!0,i.emptyText)),_=e.computed(()=>Hn(i)),W=e.computed(()=>({color:i.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:h.value,error:S.value,field:"v-text-field",underlineColor:i.underlineColor,underlineStyle:i.underlineStyle,underlineWidth:i.underlineWidth,underlined:i.underlined,valueColor:i.valueColor})),R=e.computed(()=>({...un,...s.cardProps})),j=e.computed(()=>gn({cell:i.cell&&!x.value,density:i.density,disabled:$.value,field:"v-textarea",iconSet:u==null?void 0:u.defaultSet,loading:F.value,loadingWait:i.loadingWait,tableField:i.tableField,variant:i.variant})),G=e.computed(()=>hn({cell:i.cell,cellUnderlineFullWidth:i.cellUnderlineFullWidth,density:i.density,field:"v-textarea"})),Y=gt({density:i.density,variant:i.variant}),te=e.computed(()=>bn({active:x.value,name:"textarea"})),ie=e.computed(()=>Cn({name:"textarea",showField:x.value})),re=e.computed(()=>({})),Ie=e.computed(()=>pe.value);function fe(){S.value=!1,t.value=T,ve()}const pe=e.ref(),de=e.ref(null),ge=e.ref("body");function ve(){var ue,ne;if($.value||i.loadingWait&&F.value)return;pe.value=Xe({cardMinWidth:(ue=i.cardProps)==null?void 0:ue.minWidth,cardOffsetX:i.cardOffsetX,cardOffsetY:i.cardOffsetY,cardWidth:(ne=i.cardProps)==null?void 0:ne.width,field:de.value});const q=In({attrs:l,closeSiblings:b.value,fieldOnly:i.fieldOnly,props:s,showField:x,timeOpened:z.value});i={...i,...q.settings},x.value=q.showField,z.value=q.timeOpened,le!==null&&b.value&&x.value&&!i.fieldOnly&&le.emit(q.timeOpened)}const be=e.ref(),me=e.computed(()=>be.value);function oe(){const q=bt({required:i.required,rules:i.rules,value:t});return S.value=q.errors,be.value=q.results,q.results}function K(){T=t.value,r("update",t.value),i.loadingWait||ve()}let le,Ce;function Q(q){r("update:closeSiblingFields",z),x.value&&z.value!==q&&fe()}return e.watch(()=>x.value,()=>{x.value&&oe()}),e.watch(()=>t.value,()=>{x.value&&oe()}),b.value&&import("@vueuse/core").then(({useEventBus:q})=>{le=q(sn),Ce=le.on(Q)}),e.onUnmounted(()=>{Ce!==void 0&&le.off(Q)}),(q,ue)=>(e.openBlock(),e.createElementBlock("div",{ref_key:"inlineFieldsContainer",ref:de,class:e.normalizeClass(e.unref(j)),style:e.normalizeStyle(e.unref(re))},[!e.unref(x)&&!e.unref(i).fieldOnly||e.unref(m)?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(e.unref(G))},[e.createElementVNode("div",{class:e.normalizeClass(e.unref(Y))},[e.createVNode(e.unref(ht),e.mergeProps(e.unref(W),{onToggleField:ve}),e.createSlots({_:2},[e.renderList(e.unref(a),(ne,ye)=>({name:ye,fn:e.withCtx(we=>[e.renderSlot(q.$slots,ye,e.normalizeProps(e.guardReactiveProps({...we})))])}))]),1040)],2)],2)):e.createCommentVNode("",!0),e.unref(x)||e.unref(i).fieldOnly||e.unref(m)?(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(e.unref(te))},[(e.openBlock(),e.createBlock(e.Teleport,{disabled:!e.unref(m),to:e.unref(ge)},[e.createVNode(Vi,e.mergeProps(e.unref(_),{modelValue:t.value,"onUpdate:modelValue":ue[0]||(ue[0]=ne=>t.value=ne),"auto-grow":e.unref(i).autoGrow,autofocus:!e.unref(i).fieldOnly||e.unref(i).autofocus,"clear-icon":e.unref(O),color:e.unref(w),density:e.unref(i).density,disabled:e.unref(F)||e.unref($),error:e.unref(S),"error-messages":e.unref(me),"hide-details":e.unref(E),label:e.unref(i).label,loading:e.unref(F),rows:e.unref(i).rows,variant:e.unref(i).variant,width:"100%",onKeyup:e.withKeys(fe,["esc"])}),e.createSlots({_:2},[e.renderList(e.unref(a),(ne,ye)=>({name:ye,fn:e.withCtx(we=>[e.renderSlot(q.$slots,ye,e.normalizeProps(e.guardReactiveProps({...we})))])})),e.unref(a).append?void 0:{name:"append",fn:e.withCtx(()=>[e.createVNode(e.unref(Sn),{"cancel-button-color":e.unref(d),"cancel-button-size":e.unref(v),"cancel-button-title":e.unref(p),"cancel-button-variant":e.unref(f),"cancel-icon":e.unref(y),"cancel-icon-color":e.unref(g),error:e.unref(S),"field-only":e.unref(N),"hide-cancel-icon":e.unref(M),"hide-save-icon":e.unref(P),loading:e.unref(F),"loading-icon":e.unref(L),"loading-icon-color":e.unref(A),"save-button-color":e.unref(I),"save-button-size":e.unref(k),"save-button-title":e.unref(C),"save-button-variant":e.unref(V),"save-icon":e.unref(B),"save-icon-color":e.unref(D),onClose:fe,onSave:K},null,8,["cancel-button-color","cancel-button-size","cancel-button-title","cancel-button-variant","cancel-icon","cancel-icon-color","error","field-only","hide-cancel-icon","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"])],8,["disabled","to"]))],2)):e.createCommentVNode("",!0),e.unref(m)?(e.openBlock(),e.createElementBlock("div",{key:2,class:e.normalizeClass(e.unref(ie)),style:e.normalizeStyle(e.unref(Ie))},[e.createVNode(yn,e.normalizeProps(e.guardReactiveProps(e.unref(R))),{default:e.withCtx(()=>[e.createVNode(Qe,null,{default:e.withCtx(()=>[e.createElementVNode("div",{ref_key:"cardFieldRef",ref:ge},null,512)]),_:1})]),_:1},16)],6)):e.createCommentVNode("",!0)],6))}}),Ue=Symbol(),Fi={VInlineCheckbox:Ut,VInlineCustomField:Gt,VInlineSelect:qt,VInlineSwitch:Ht,VInlineTextField:Yt,VInlineTextarea:Xt};exports.VInlineCheckbox=Ut,exports.VInlineCustomField=Gt,exports.VInlineSelect=qt,exports.VInlineSwitch=Ht,exports.VInlineTextField=Yt,exports.VInlineTextarea=Xt,exports.createVInlineFields=function(n={}){return o=>{o.provide(Ue,n),o.component("VInlineCheckbox",Ut),o.component("VInlineCustomField",Gt),o.component("VInlineSelect",qt),o.component("VInlineSwitch",Ht),o.component("VInlineTextField",Yt),o.component("VInlineTextarea",Xt)}},exports.default=Fi,exports.globalOptions=Ue; (function(){"use strict";try{if(typeof document<"u"){var i=document.createElement("style");i.appendChild(document.createTextNode(":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-container-cell{cursor:pointer;display:block;max-height:unset!important}.v-inline-fields--display-container-cell>div{width:100%}.v-inline-fields--display-container-cell-underline-full-width .v-inline-fields--display-value{width:100%}.v-inline-fields--display-container-cell .v-inline-fields--selection-control .v-inline-fields--display-value{justify-content:center}.v-inline-fields--display-container-cell,.v-inline-fields--display-container-cell .v-input,.v-inline-fields--display-container-cell .v-inline-fields--display-wrapper,.v-inline-fields--display-container-cell .v-selection-control__wrapper{height:100%!important;width:100%}.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-cell{height:100%;width:100%}.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}[data-v-0716e076] .v-field__field{align-items:flex-end!important}")),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 9959697..5eced08 100644 --- a/dist/vuetify-inline-fields.es.js +++ b/dist/vuetify-inline-fields.es.js @@ -1,6 +1,6 @@ -import { Fragment as we, reactive as lt, computed as f, watchEffect as ot, toRefs as Bt, capitalize as Za, isVNode as Io, Comment as Bo, unref as r, warn as ll, inject as ge, ref as D, provide as tt, shallowRef as de, defineComponent as rt, camelize as Qa, h as al, getCurrentInstance as Vo, onBeforeUnmount as yt, watch as K, readonly as zl, onScopeDispose as qe, effectScope as Dl, toRaw as St, TransitionGroup as ko, Transition as Ft, createVNode as d, mergeProps as Z, onBeforeMount as ei, nextTick as Me, withDirectives as Ue, resolveDirective as gt, vShow as jt, isRef as At, onMounted as qt, toRef as ae, Text as xo, resolveDynamicComponent as wo, Teleport as Ot, cloneVNode as Fo, createTextVNode as ti, vModelText as Po, mergeModels as Qe, useModel as Tt, openBlock as J, createBlock as ze, useSlots as _t, createElementBlock as ce, normalizeClass as le, normalizeStyle as $e, renderSlot as Ye, normalizeProps as Te, createCommentVNode as Ve, createElementVNode as He, toDisplayString as Ll, useAttrs as Et, withCtx as pe, mergeDefaults as Yt, onUnmounted as Xt, createSlots as vt, renderList as ft, guardReactiveProps as We, withKeys as Hn } from "vue"; -import { useTheme as Rl } from "vuetify"; -import { useWindowSize as Ao } from "@vueuse/core"; +import { Fragment as Fe, reactive as ln, computed as v, watchEffect as rn, toRefs as xn, capitalize as Qo, isVNode as Si, Comment as Bi, unref as r, warn as ll, inject as me, ref as D, provide as nn, shallowRef as de, defineComponent as sn, camelize as ea, h as ol, getCurrentInstance as xi, onBeforeUnmount as mn, watch as K, readonly as zl, onScopeDispose as He, effectScope as Dl, toRaw as Sn, TransitionGroup as ki, Transition as An, createVNode as d, mergeProps as Z, onBeforeMount as na, nextTick as Me, withDirectives as Ue, resolveDirective as gn, vShow as Hn, isRef as On, onMounted as Yn, toRef as oe, Text as wi, resolveDynamicComponent as Fi, Teleport as Pn, cloneVNode as Vi, createTextVNode as ta, vModelText as Ai, mergeModels as Qe, useModel as $n, openBlock as J, createBlock as ze, useSlots as En, createElementBlock as ce, normalizeClass as le, normalizeStyle as Te, renderSlot as Ye, normalizeProps as Pe, createCommentVNode as xe, createElementVNode as Ge, toDisplayString as Ll, useAttrs as Tn, withCtx as he, mergeDefaults as Xn, onUnmounted as Kn, createSlots as vn, renderList as fn, guardReactiveProps as Re, withKeys as Gt } from "vue"; +import { useTheme as Wl } from "vuetify"; +import { useWindowSize as _i } from "@vueuse/core"; /** * @name @wdns/vuetify-inline-fields * @version 1.0.2 @@ -11,244 +11,244 @@ import { useWindowSize as Ao } from "@vueuse/core"; * @repository https://github.com/webdevnerdstuff/vuetify-inline-fields * @license MIT License */ -const Kt = Symbol("identifier"), Jt = { elevation: 5, variant: "flat" }, Bn = { cancelButtonColor: "default", cancelButtonSize: "x-small", cancelButtonTitle: "Cancel", cancelButtonVariant: "text", cancelIcon: void 0, cancelIconColor: "default", cardField: !1, cardOffsetX: 0, cardOffsetY: 0, cardProps: () => ({}), cell: !1, cellUnderlineFullWidth: !0, 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, hideCancelIcon: !1, hideDetails: !0, label: "", loading: !1, loadingWait: !0, name: "", tableField: !0, underlineColor: "primary", underlineStyle: "dotted", underlineWidth: "2px", underlined: !0, valueColor: "default" }, Ml = { autofocus: !0 }, Vn = { hideCancelIcon: !1, hideSaveIcon: !1, loadingIcon: void 0, loadingIconColor: "primary", saveButtonColor: "primary", saveButtonSize: "x-small", saveButtonTitle: "Save", saveButtonVariant: "text", saveIcon: void 0, saveIconColor: "primary" }, ni = { falseValue: !1, iconFalse: void 0, iconFalseColor: "danger", iconFalseTitle: "No", iconTrue: void 0, iconTrueColor: "success", iconTrueTitle: "Yes", icons: !0, trueValue: !0 }, Oo = { ...Bn, ...ni, ...Vn, falseIcon: void 0, icons: !0, trueIcon: void 0 }, To = { ...Bn, ...Ml, ...Vn, clearIcon: void 0, clearable: !1, hideSelected: !0, itemTitle: "title", itemValue: "value", items: () => [], menu: !0, variant: "underlined" }, _o = { ...Bn, ...ni, ...Vn, icons: !0, falseIcon: "" }, Eo = { ...Ml, ...Vn, ...Bn, autoGrow: !0, rows: 1, truncateLength: void 0, truncateSuffix: "...", variant: "underlined" }, li = { ...Bn, ...Ml, ...Vn, truncateLength: void 0, truncateSuffix: "...", variant: "underlined" }, $o = { 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" } }, at = (e) => { - const { icon: n, iconOptions: t, name: l } = e; - if (n) - return n; - const a = $o[t == null ? void 0 : t.defaultSet]; +const Jn = Symbol("identifier"), Zn = { elevation: 5, variant: "flat" }, Bt = { cancelButtonColor: "default", cancelButtonSize: "x-small", cancelButtonTitle: "Cancel", cancelButtonVariant: "text", cancelIcon: void 0, cancelIconColor: "default", cardField: !1, cardOffsetX: 0, cardOffsetY: 0, cardProps: () => ({}), cell: !1, cellUnderlineFullWidth: !0, 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, hideCancelIcon: !1, hideDetails: !0, label: "", loading: !1, loadingWait: !0, name: "", tableField: !0, underlineColor: "primary", underlineStyle: "dotted", underlineWidth: "2px", underlined: !0, valueColor: "default" }, Ml = { autofocus: !0 }, xt = { hideCancelIcon: !1, hideSaveIcon: !1, loadingIcon: void 0, loadingIconColor: "primary", saveButtonColor: "primary", saveButtonSize: "x-small", saveButtonTitle: "Save", saveButtonVariant: "text", saveIcon: void 0, saveIconColor: "primary" }, la = { falseValue: !1, iconFalse: void 0, iconFalseColor: "danger", iconFalseTitle: "No", iconTrue: void 0, iconTrueColor: "success", iconTrueTitle: "Yes", icons: !0, trueValue: !0 }, Oi = { ...Bt, ...la, ...xt, falseIcon: void 0, icons: !0, trueIcon: void 0 }, Pi = { ...Bt, ...Ml, ...xt, clearIcon: void 0, clearable: !1, hideSelected: !0, itemTitle: "title", itemValue: "value", items: () => [], menu: !0, variant: "underlined" }, $i = { ...Bt, ...la, ...xt, icons: !0, falseIcon: "" }, Ei = { ...Ml, ...xt, ...Bt, autoGrow: !0, rows: 1, truncateLength: void 0, truncateSuffix: "...", variant: "underlined" }, oa = { ...Bt, ...Ml, ...xt, truncateLength: void 0, truncateSuffix: "...", variant: "underlined" }, Ti = { 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" } }, on = (e) => { + const { icon: t, iconOptions: n, name: l } = e; + if (t) + return t; + const o = Ti[n == null ? void 0 : n.defaultSet]; + if (!o) + throw new Error(`VInlineFields: No VInlineFields default ${n == null ? void 0 : n.defaultSet} icon set found for ${l}. Please set the icon prop.`); + const a = o[l]; if (!a) - 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 = a[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; + return a; }; -function q(e, n) { - return (t) => Object.keys(e).reduce((l, a) => { - const i = typeof e[a] == "object" && e[a] != null && !Array.isArray(e[a]) ? e[a] : { type: e[a] }; - return l[a] = t && a in t ? { ...i, default: t[a] } : i, n && !l[a].source && (l[a].source = n), l; +function H(e, t) { + return (n) => Object.keys(e).reduce((l, o) => { + const a = typeof e[o] == "object" && e[o] != null && !Array.isArray(e[o]) ? e[o] : { type: e[o] }; + return l[o] = n && o in n ? { ...a, default: n[o] } : a, t && !l[o].source && (l[o].source = t), l; }, {}); } -const ye = q({ class: [String, Array], style: { type: [String, Array, Object], default: null } }, "component"), Ke = typeof window < "u", Wl = Ke && "IntersectionObserver" in window; -function oa(e, n, t) { - const l = n.length - 1; +const ye = H({ class: [String, Array], style: { type: [String, Array, Object], default: null } }, "component"), Ke = typeof window < "u", Rl = Ke && "IntersectionObserver" in window; +function io(e, t, n) { + const l = t.length - 1; if (l < 0) - return e === void 0 ? t : e; - for (let a = 0; a < l; a++) { + return e === void 0 ? n : e; + for (let o = 0; o < l; o++) { if (e == null) - return t; - e = e[n[a]]; + return n; + e = e[t[o]]; } - return e == null || e[n[l]] === void 0 ? t : e[n[l]]; + return e == null || e[t[l]] === void 0 ? n : e[t[l]]; } -function Zt(e, n) { - if (e === n) +function Qn(e, t) { + if (e === t) return !0; - if (e instanceof Date && n instanceof Date && e.getTime() !== n.getTime() || e !== Object(e) || n !== Object(n)) + if (e instanceof Date && t instanceof Date && e.getTime() !== t.getTime() || e !== Object(e) || t !== Object(t)) return !1; - const t = Object.keys(e); - return t.length === Object.keys(n).length && t.every((l) => Zt(e[l], n[l])); + const n = Object.keys(e); + return n.length === Object.keys(t).length && n.every((l) => Qn(e[l], t[l])); } -function ct(e, n, t) { - if (n === !0) - return e === void 0 ? t : e; - if (n == null || typeof n == "boolean") - return t; +function dn(e, t, n) { + if (t === !0) + return e === void 0 ? n : e; + if (t == null || typeof t == "boolean") + return n; if (e !== Object(e)) { - if (typeof n != "function") - return t; - const a = n(e, t); - return a === void 0 ? t : a; + if (typeof t != "function") + return n; + const o = t(e, n); + return o === void 0 ? n : o; } - if (typeof n == "string") - return function(a, i, c) { - return a != null && i && typeof i == "string" ? a[i] !== void 0 ? a[i] : oa(a, (i = (i = i.replace(/\[(\w+)\]/g, ".$1")).replace(/^\./, "")).split("."), c) : c; - }(e, n, t); - if (Array.isArray(n)) - return oa(e, n, t); - if (typeof n != "function") - return t; - const l = n(e, t); - return l === void 0 ? t : l; + if (typeof t == "string") + return function(o, a, c) { + return o != null && a && typeof a == "string" ? o[a] !== void 0 ? o[a] : io(o, (a = (a = a.replace(/\[(\w+)\]/g, ".$1")).replace(/^\./, "")).split("."), c) : c; + }(e, t, n); + if (Array.isArray(t)) + return io(e, t, n); + if (typeof t != "function") + return n; + const l = t(e, n); + return l === void 0 ? n : l; } -function ie(e) { - let n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "px"; - return e == null || e === "" ? void 0 : isNaN(+e) ? String(e) : isFinite(+e) ? `${Number(e)}${n}` : void 0; +function ae(e) { + let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "px"; + return e == null || e === "" ? void 0 : isNaN(+e) ? String(e) : isFinite(+e) ? `${Number(e)}${t}` : void 0; } -function Il(e) { +function Sl(e) { return e !== null && typeof e == "object" && !Array.isArray(e); } -function Un(e) { +function Ut(e) { if (e && "$el" in e) { - const n = e.$el; - return (n == null ? void 0 : n.nodeType) === Node.TEXT_NODE ? n.nextElementSibling : n; + const t = e.$el; + return (t == null ? void 0 : t.nodeType) === Node.TEXT_NODE ? t.nextElementSibling : t; } return e; } -const ra = 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 fl(e, n) { - return n.every((t) => e.hasOwnProperty(t)); +const ro = 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 vl(e, t) { + return t.every((n) => e.hasOwnProperty(n)); } -function ai(e, n) { - const t = {}, l = new Set(Object.keys(e)); - for (const a of n) - l.has(a) && (t[a] = e[a]); - return t; +function aa(e, t) { + const n = {}, l = new Set(Object.keys(e)); + for (const o of t) + l.has(o) && (n[o] = e[o]); + return n; } -function sa(e, n, t) { - const l = /* @__PURE__ */ Object.create(null), a = /* @__PURE__ */ Object.create(null); - for (const i in e) - n.some((c) => c instanceof RegExp ? c.test(i) : c === i) && !(t != null && t.some((c) => c === i)) ? l[i] = e[i] : a[i] = e[i]; - return [l, a]; +function so(e, t, n) { + const l = /* @__PURE__ */ Object.create(null), o = /* @__PURE__ */ Object.create(null); + for (const a in e) + t.some((c) => c instanceof RegExp ? c.test(a) : c === a) && !(n != null && n.some((c) => c === a)) ? l[a] = e[a] : o[a] = e[a]; + return [l, o]; } -function $t(e, n) { - const t = { ...e }; - return n.forEach((l) => delete t[l]), t; +function zn(e, t) { + const n = { ...e }; + return t.forEach((l) => delete n[l]), n; } -const ii = /^on[^a-z]/, Bl = (e) => ii.test(e), zo = ["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 kn(e) { - const [n, t] = sa(e, [ii]), l = $t(n, zo), [a, i] = sa(t, ["class", "style", "id", /^data-/]); - return Object.assign(a, n), Object.assign(i, l), [a, i]; +const ia = /^on[^a-z]/, Bl = (e) => ia.test(e), zi = ["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 kt(e) { + const [t, n] = so(e, [ia]), l = zn(t, zi), [o, a] = so(n, ["class", "style", "id", /^data-/]); + return Object.assign(o, t), Object.assign(a, l), [o, a]; } -function dt(e) { +function pn(e) { return e == null ? [] : Array.isArray(e) ? e : [e]; } -function Gt(e) { - let n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 0, t = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : 1; - return Math.max(n, Math.min(t, e)); +function Gn(e) { + let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 0, n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : 1; + return Math.max(t, Math.min(n, e)); } -function ua(e, n) { - return e + (arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : "0").repeat(Math.max(0, n - e.length)); +function uo(e, t) { + return e + (arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : "0").repeat(Math.max(0, t - e.length)); } -function Wt() { - let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, t = arguments.length > 2 ? arguments[2] : void 0; +function Nn() { + let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n = arguments.length > 2 ? arguments[2] : void 0; const l = {}; - for (const a in e) - l[a] = e[a]; - for (const a in n) { - const i = e[a], c = n[a]; - Il(i) && Il(c) ? l[a] = Wt(i, c, t) : Array.isArray(i) && Array.isArray(c) && t ? l[a] = t(i, c) : l[a] = c; + for (const o in e) + l[o] = e[o]; + for (const o in t) { + const a = e[o], c = t[o]; + Sl(a) && Sl(c) ? l[o] = Nn(a, c, n) : Array.isArray(a) && Array.isArray(c) && n ? l[o] = n(a, c) : l[o] = c; } return l; } -function oi(e) { - return e.map((n) => n.type === we ? oi(n.children) : n).flat(); +function ra(e) { + return e.map((t) => t.type === Fe ? ra(t.children) : t).flat(); } -function kt() { +function wn() { let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : ""; - if (kt.cache.has(e)) - return kt.cache.get(e); - const n = e.replace(/[^a-z]/gi, "-").replace(/\B([A-Z])/g, "-$1").toLowerCase(); - return kt.cache.set(e, n), n; + if (wn.cache.has(e)) + return wn.cache.get(e); + const t = e.replace(/[^a-z]/gi, "-").replace(/\B([A-Z])/g, "-$1").toLowerCase(); + return wn.cache.set(e, t), t; } -function Wn(e, n) { - if (!n || typeof n != "object") +function Rt(e, t) { + if (!t || typeof t != "object") return []; - if (Array.isArray(n)) - return n.map((t) => Wn(e, t)).flat(1); - if (Array.isArray(n.children)) - return n.children.map((t) => Wn(e, t)).flat(1); - if (n.component) { - if (Object.getOwnPropertySymbols(n.component.provides).includes(e)) - return [n.component]; - if (n.component.subTree) - return Wn(e, n.component.subTree).flat(1); + if (Array.isArray(t)) + return t.map((n) => Rt(e, n)).flat(1); + if (Array.isArray(t.children)) + return t.children.map((n) => Rt(e, n)).flat(1); + if (t.component) { + if (Object.getOwnPropertySymbols(t.component.provides).includes(e)) + return [t.component]; + if (t.component.subTree) + return Rt(e, t.component.subTree).flat(1); } return []; } function Nl(e) { - const n = lt({}), t = f(e); - return ot(() => { - for (const l in t.value) - n[l] = t.value[l]; - }, { flush: "sync" }), Bt(n); + const t = ln({}), n = v(e); + return rn(() => { + for (const l in n.value) + t[l] = n.value[l]; + }, { flush: "sync" }), xn(t); } -function jn(e, n) { - return e.includes(n); +function qt(e, t) { + return e.includes(t); } -function ca(e) { +function co(e) { return e[2].toLowerCase() + e.slice(3); } -kt.cache = /* @__PURE__ */ new Map(); -const it = () => [Function, Array]; -function da(e, n) { - return !!(e[n = "on" + Za(n)] || e[`${n}Once`] || e[`${n}Capture`] || e[`${n}OnceCapture`] || e[`${n}CaptureOnce`]); +wn.cache = /* @__PURE__ */ new Map(); +const an = () => [Function, Array]; +function po(e, t) { + return !!(e[t = "on" + Qo(t)] || e[`${t}Once`] || e[`${t}Capture`] || e[`${t}OnceCapture`] || e[`${t}CaptureOnce`]); } -function ri(e) { - for (var n = arguments.length, t = new Array(n > 1 ? n - 1 : 0), l = 1; l < n; l++) - t[l - 1] = arguments[l]; +function sa(e) { + for (var t = arguments.length, n = new Array(t > 1 ? t - 1 : 0), l = 1; l < t; l++) + n[l - 1] = arguments[l]; if (Array.isArray(e)) - for (const a of e) - a(...t); + for (const o of e) + o(...n); else - typeof e == "function" && e(...t); + typeof e == "function" && e(...n); } -function Vl(e) { - let n = !(arguments.length > 1 && arguments[1] !== void 0) || arguments[1]; - const t = ["button", "[href]", 'input:not([type="hidden"])', "select", "textarea", "[tabindex]"].map((l) => `${l}${n ? ':not([tabindex="-1"])' : ""}:not([disabled])`).join(", "); - return [...e.querySelectorAll(t)]; +function xl(e) { + let t = !(arguments.length > 1 && arguments[1] !== void 0) || arguments[1]; + const n = ["button", "[href]", 'input:not([type="hidden"])', "select", "textarea", "[tabindex]"].map((l) => `${l}${t ? ':not([tabindex="-1"])' : ""}:not([disabled])`).join(", "); + return [...e.querySelectorAll(n)]; } -function si(e, n, t) { - let l, a = e.indexOf(document.activeElement); - const i = n === "next" ? 1 : -1; +function ua(e, t, n) { + let l, o = e.indexOf(document.activeElement); + const a = t === "next" ? 1 : -1; do - a += i, l = e[a]; - while ((!l || l.offsetParent == null || !((t == null ? void 0 : t(l)) ?? 1)) && a < e.length && a >= 0); + o += a, l = e[o]; + while ((!l || l.offsetParent == null || !((n == null ? void 0 : n(l)) ?? 1)) && o < e.length && o >= 0); return l; } -function qn(e, n) { - var l, a, i, c; - const t = Vl(e); - if (n) - if (n === "first") - (l = t[0]) == null || l.focus(); - else if (n === "last") - (a = t.at(-1)) == null || a.focus(); - else if (typeof n == "number") - (i = t[n]) == null || i.focus(); +function Ht(e, t) { + var l, o, a, c; + const n = xl(e); + if (t) + if (t === "first") + (l = n[0]) == null || l.focus(); + else if (t === "last") + (o = n.at(-1)) == null || o.focus(); + else if (typeof t == "number") + (a = n[t]) == null || a.focus(); else { - const u = si(t, n); - u ? u.focus() : qn(e, n === "next" ? "first" : "last"); + const u = ua(n, t); + u ? u.focus() : Ht(e, t === "next" ? "first" : "last"); } else - e !== document.activeElement && e.contains(document.activeElement) || ((c = t[0]) == null || c.focus()); + e !== document.activeElement && e.contains(document.activeElement) || ((c = n[0]) == null || c.focus()); } -function Yn(e, n) { - if (!(Ke && typeof CSS < "u" && CSS.supports !== void 0 && CSS.supports(`selector(${n})`))) +function Yt(e, t) { + if (!(Ke && typeof CSS < "u" && CSS.supports !== void 0 && CSS.supports(`selector(${t})`))) return null; try { - return !!e && e.matches(n); + return !!e && e.matches(t); } catch { return null; } } -function ui(e) { - return e.some((n) => !Io(n) || n.type !== Bo && (n.type !== we || ui(n.children))) ? e : null; +function ca(e) { + return e.some((t) => !Si(t) || t.type !== Bi && (t.type !== Fe || ca(t.children))) ? e : null; } -const ci = ["top", "bottom"], Do = ["start", "end", "left", "right"]; -function kl(e, n) { - let [t, l] = e.split(" "); - return l || (l = jn(ci, t) ? "start" : jn(Do, t) ? "top" : "center"), { side: va(t, n), align: va(l, n) }; +const da = ["top", "bottom"], Di = ["start", "end", "left", "right"]; +function kl(e, t) { + let [n, l] = e.split(" "); + return l || (l = qt(da, n) ? "start" : qt(Di, n) ? "top" : "center"), { side: vo(n, t), align: vo(l, t) }; } -function va(e, n) { - return e === "start" ? n ? "right" : "left" : e === "end" ? n ? "left" : "right" : e; +function vo(e, t) { + return e === "start" ? t ? "right" : "left" : e === "end" ? t ? "left" : "right" : e; } -function ml(e) { +function fl(e) { return { side: { center: "center", top: "bottom", bottom: "top", left: "right", right: "left" }[e.side], align: e.align }; } function yl(e) { return { side: e.side, align: { center: "center", top: "bottom", bottom: "top", left: "right", right: "left" }[e.align] }; } -function fa(e) { +function fo(e) { return { side: e.align, align: e.side }; } -function ma(e) { - return jn(ci, e.side) ? "y" : "x"; +function yo(e) { + return qt(da, e.side) ? "y" : "x"; } -class xt { - constructor(n) { - let { x: t, y: l, width: a, height: i } = n; - this.x = t, this.y = l, this.width = a, this.height = i; +class Fn { + constructor(t) { + let { x: n, y: l, width: o, height: a } = t; + this.x = n, this.y = l, this.width = o, this.height = a; } get top() { return this.y; @@ -263,2380 +263,2380 @@ class xt { return this.x + this.width; } } -function ya(e, n) { - return { x: { before: Math.max(0, n.left - e.left), after: Math.max(0, e.right - n.right) }, y: { before: Math.max(0, n.top - e.top), after: Math.max(0, e.bottom - n.bottom) } }; +function mo(e, t) { + return { x: { before: Math.max(0, t.left - e.left), after: Math.max(0, e.right - t.right) }, y: { before: Math.max(0, t.top - e.top), after: Math.max(0, e.bottom - t.bottom) } }; } -function di(e) { - return Array.isArray(e) ? new xt({ x: e[0], y: e[1], width: 0, height: 0 }) : e.getBoundingClientRect(); +function pa(e) { + return Array.isArray(e) ? new Fn({ x: e[0], y: e[1], width: 0, height: 0 }) : e.getBoundingClientRect(); } -function Gl(e) { - const n = e.getBoundingClientRect(), t = getComputedStyle(e), l = t.transform; +function jl(e) { + const t = e.getBoundingClientRect(), n = getComputedStyle(e), l = n.transform; if (l) { - let a, i, c, u, s; + let o, a, c, u, s; if (l.startsWith("matrix3d(")) - a = l.slice(9, -1).split(/, /), i = +a[0], c = +a[5], u = +a[12], s = +a[13]; + o = l.slice(9, -1).split(/, /), a = +o[0], c = +o[5], u = +o[12], s = +o[13]; else { if (!l.startsWith("matrix(")) - return new xt(n); - a = l.slice(7, -1).split(/, /), i = +a[0], c = +a[3], u = +a[4], s = +a[5]; + return new Fn(t); + o = l.slice(7, -1).split(/, /), a = +o[0], c = +o[3], u = +o[4], s = +o[5]; } - const o = t.transformOrigin, v = n.x - u - (1 - i) * parseFloat(o), y = n.y - s - (1 - c) * parseFloat(o.slice(o.indexOf(" ") + 1)), m = i ? n.width / i : e.offsetWidth + 1, g = c ? n.height / c : e.offsetHeight + 1; - return new xt({ x: v, y, width: m, height: g }); + const i = n.transformOrigin, p = t.x - u - (1 - a) * parseFloat(i), y = t.y - s - (1 - c) * parseFloat(i.slice(i.indexOf(" ") + 1)), f = a ? t.width / a : e.offsetWidth + 1, m = c ? t.height / c : e.offsetHeight + 1; + return new Fn({ x: p, y, width: f, height: m }); } - return new xt(n); + return new Fn(t); } -function Nt(e, n, t) { +function jn(e, t, n) { if (e.animate === void 0) return { finished: Promise.resolve() }; let l; try { - l = e.animate(n, t); + l = e.animate(t, n); } catch { return { finished: Promise.resolve() }; } - return l.finished === void 0 && (l.finished = new Promise((a) => { + return l.finished === void 0 && (l.finished = new Promise((o) => { l.onfinish = () => { - a(l); + o(l); }; })), l; } -const Dn = /* @__PURE__ */ new WeakMap(), Mt = 2.4, ga = 0.2126729, ha = 0.7151522, pa = 0.072175, Lo = 0.55, Ro = 0.58, Mo = 0.57, Wo = 0.62, Ln = 0.03, Ca = 1.45, No = 5e-4, Go = 1.25, Ho = 1.25, ba = 0.078, Sa = 12.82051282051282, Rn = 0.06, Ia = 1e-3; -function Ba(e, n) { - const t = (e.r / 255) ** Mt, l = (e.g / 255) ** Mt, a = (e.b / 255) ** Mt, i = (n.r / 255) ** Mt, c = (n.g / 255) ** Mt, u = (n.b / 255) ** Mt; - let s, o = t * ga + l * ha + a * pa, v = i * ga + c * ha + u * pa; - if (o <= Ln && (o += (Ln - o) ** Ca), v <= Ln && (v += (Ln - v) ** Ca), Math.abs(v - o) < No) +const Dt = /* @__PURE__ */ new WeakMap(), Rn = 2.4, go = 0.2126729, ho = 0.7151522, bo = 0.072175, Li = 0.55, Wi = 0.58, Mi = 0.57, Ri = 0.62, Lt = 0.03, Co = 1.45, Ni = 5e-4, ji = 1.25, Gi = 1.25, Io = 0.078, So = 12.82051282051282, Wt = 0.06, Bo = 1e-3; +function xo(e, t) { + const n = (e.r / 255) ** Rn, l = (e.g / 255) ** Rn, o = (e.b / 255) ** Rn, a = (t.r / 255) ** Rn, c = (t.g / 255) ** Rn, u = (t.b / 255) ** Rn; + let s, i = n * go + l * ho + o * bo, p = a * go + c * ho + u * bo; + if (i <= Lt && (i += (Lt - i) ** Co), p <= Lt && (p += (Lt - p) ** Co), Math.abs(p - i) < Ni) return 0; - if (v > o) { - const y = (v ** Lo - o ** Ro) * Go; - s = y < Ia ? 0 : y < ba ? y - y * Sa * Rn : y - Rn; + if (p > i) { + const y = (p ** Li - i ** Wi) * ji; + s = y < Bo ? 0 : y < Io ? y - y * So * Wt : y - Wt; } else { - const y = (v ** Wo - o ** Mo) * Ho; - s = y > -Ia ? 0 : y > -ba ? y - y * Sa * Rn : y + Rn; + const y = (p ** Ri - i ** Mi) * Gi; + s = y > -Bo ? 0 : y > -Io ? y - y * So * Wt : y + Wt; } return 100 * s; } -function hn(e) { +function gt(e) { ll(`Vuetify: ${e}`); } -function gl(e) { +function ml(e) { return !!e && /^(#|var\(--|(rgb|hsl)a?\()/.test(e); } -const Va = /^(?(?:rgb|hsl)a?)\((?.+)\)/, Uo = { rgb: (e, n, t, l) => ({ r: e, g: n, b: t, a: l }), rgba: (e, n, t, l) => ({ r: e, g: n, b: t, a: l }), hsl: (e, n, t, l) => ka({ h: e, s: n, l: t, a: l }), hsla: (e, n, t, l) => ka({ h: e, s: n, l: t, a: l }), hsv: (e, n, t, l) => pn({ h: e, s: n, v: t, a: l }), hsva: (e, n, t, l) => pn({ h: e, s: n, v: t, a: l }) }; -function mn(e) { +const ko = /^(?(?:rgb|hsl)a?)\((?.+)\)/, Ui = { rgb: (e, t, n, l) => ({ r: e, g: t, b: n, a: l }), rgba: (e, t, n, l) => ({ r: e, g: t, b: n, a: l }), hsl: (e, t, n, l) => wo({ h: e, s: t, l: n, a: l }), hsla: (e, t, n, l) => wo({ h: e, s: t, l: n, a: l }), hsv: (e, t, n, l) => ht({ h: e, s: t, v: n, a: l }), hsva: (e, t, n, l) => ht({ h: e, s: t, v: n, a: l }) }; +function ft(e) { if (typeof e == "number") - return (isNaN(e) || e < 0 || e > 16777215) && hn(`'${e}' is not a valid hex color`), { r: (16711680 & e) >> 16, g: (65280 & e) >> 8, b: 255 & e }; - if (typeof e == "string" && Va.test(e)) { - const { groups: n } = e.match(Va), { fn: t, values: l } = n, a = l.split(/,\s*/).map((i) => i.endsWith("%") && ["hsl", "hsla", "hsv", "hsva"].includes(t) ? parseFloat(i) / 100 : parseFloat(i)); - return Uo[t](...a); + return (isNaN(e) || e < 0 || e > 16777215) && gt(`'${e}' is not a valid hex color`), { r: (16711680 & e) >> 16, g: (65280 & e) >> 8, b: 255 & e }; + if (typeof e == "string" && ko.test(e)) { + const { groups: t } = e.match(ko), { fn: n, values: l } = t, o = l.split(/,\s*/).map((a) => a.endsWith("%") && ["hsl", "hsla", "hsv", "hsva"].includes(n) ? parseFloat(a) / 100 : parseFloat(a)); + return Ui[n](...o); } if (typeof e == "string") { - let n = e.startsWith("#") ? e.slice(1) : e; - [3, 4].includes(n.length) ? n = n.split("").map((l) => l + l).join("") : [6, 8].includes(n.length) || hn(`'${e}' is not a valid hex(a) color`); - const t = parseInt(n, 16); - return (isNaN(t) || t < 0 || t > 4294967295) && hn(`'${e}' is not a valid hex(a) color`), function(l) { + let t = e.startsWith("#") ? e.slice(1) : e; + [3, 4].includes(t.length) ? t = t.split("").map((l) => l + l).join("") : [6, 8].includes(t.length) || gt(`'${e}' is not a valid hex(a) color`); + const n = parseInt(t, 16); + return (isNaN(n) || n < 0 || n > 4294967295) && gt(`'${e}' is not a valid hex(a) color`), function(l) { l = function(s) { - return s.startsWith("#") && (s = s.slice(1)), s = s.replace(/([^0-9a-f])/gi, "F"), (s.length === 3 || s.length === 4) && (s = s.split("").map((o) => o + o).join("")), s.length !== 6 && (s = ua(ua(s, 6), 8, "F")), s; + return s.startsWith("#") && (s = s.slice(1)), s = s.replace(/([^0-9a-f])/gi, "F"), (s.length === 3 || s.length === 4) && (s = s.split("").map((i) => i + i).join("")), s.length !== 6 && (s = uo(uo(s, 6), 8, "F")), s; }(l); - let [a, i, c, u] = function(s) { - let o = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 1; - const v = []; + let [o, a, c, u] = function(s) { + let i = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 1; + const p = []; let y = 0; for (; y < s.length; ) - v.push(s.substr(y, o)), y += o; - return v; + p.push(s.substr(y, i)), y += i; + return p; }(l, 2).map((s) => parseInt(s, 16)); - return u = u === void 0 ? u : u / 255, { r: a, g: i, b: c, a: u }; - }(n); + return u = u === void 0 ? u : u / 255, { r: o, g: a, b: c, a: u }; + }(t); } if (typeof e == "object") { - if (fl(e, ["r", "g", "b"])) + if (vl(e, ["r", "g", "b"])) return e; - if (fl(e, ["h", "s", "l"])) - return pn(vi(e)); - if (fl(e, ["h", "s", "v"])) - return pn(e); + if (vl(e, ["h", "s", "l"])) + return ht(va(e)); + if (vl(e, ["h", "s", "v"])) + return ht(e); } throw new TypeError(`Invalid color: ${e == null ? e : String(e) || e.constructor.name} Expected #hex, #hexa, rgb(), rgba(), hsl(), hsla(), object or number`); } -function pn(e) { - const { h: n, s: t, v: l, a } = e, i = (u) => { - const s = (u + n / 60) % 6; - return l - l * t * Math.max(Math.min(s, 4 - s, 1), 0); - }, c = [i(5), i(3), i(1)].map((u) => Math.round(255 * u)); - return { r: c[0], g: c[1], b: c[2], a }; +function ht(e) { + const { h: t, s: n, v: l, a: o } = e, a = (u) => { + const s = (u + t / 60) % 6; + return l - l * n * Math.max(Math.min(s, 4 - s, 1), 0); + }, c = [a(5), a(3), a(1)].map((u) => Math.round(255 * u)); + return { r: c[0], g: c[1], b: c[2], a: o }; } -function ka(e) { - return pn(vi(e)); +function wo(e) { + return ht(va(e)); } -function vi(e) { - const { h: n, s: t, l, a } = e, i = l + t * Math.min(l, 1 - l); - return { h: n, s: i === 0 ? 0 : 2 - 2 * l / i, v: i, a }; +function va(e) { + const { h: t, s: n, l, a: o } = e, a = l + n * Math.min(l, 1 - l); + return { h: t, s: a === 0 ? 0 : 2 - 2 * l / a, v: a, a: o }; } -const Xn = Symbol.for("vuetify:defaults"); -function Hl() { - const e = ge(Xn); +const Xt = Symbol.for("vuetify:defaults"); +function Gl() { + const e = me(Xt); if (!e) throw new Error("[Vuetify] Could not find defaults instance"); return e; } -function Qt(e, n) { - const t = Hl(), l = D(e), a = f(() => { - if (r(n == null ? void 0 : n.disabled)) - return t.value; - const i = r(n == null ? void 0 : n.scoped), c = r(n == null ? void 0 : n.reset), u = r(n == null ? void 0 : n.root); - if (l.value == null && !(i || c || u)) - return t.value; - let s = Wt(l.value, { prev: t.value }); - if (i) +function et(e, t) { + const n = Gl(), l = D(e), o = v(() => { + if (r(t == null ? void 0 : t.disabled)) + return n.value; + const a = r(t == null ? void 0 : t.scoped), c = r(t == null ? void 0 : t.reset), u = r(t == null ? void 0 : t.root); + if (l.value == null && !(a || c || u)) + return n.value; + let s = Nn(l.value, { prev: n.value }); + if (a) return s; if (c || u) { - const o = Number(c || 1 / 0); - for (let v = 0; v <= o && s && "prev" in s; v++) + const i = Number(c || 1 / 0); + for (let p = 0; p <= i && s && "prev" in s; p++) s = s.prev; - return s && typeof u == "string" && u in s && (s = Wt(Wt(s, { prev: s }), s[u])), s; + return s && typeof u == "string" && u in s && (s = Nn(Nn(s, { prev: s }), s[u])), s; } - return s.prev ? Wt(s.prev, s) : s; + return s.prev ? Nn(s.prev, s) : s; }); - return tt(Xn, a), a; + return nn(Xt, o), o; } -function jo() { - let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, n = arguments.length > 1 ? arguments[1] : void 0, t = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : Hl(); +function qi() { + let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = arguments.length > 1 ? arguments[1] : void 0, n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : Gl(); const l = Le("useDefaults"); - if (n = n ?? l.type.name ?? l.type.__name, !n) + if (t = t ?? l.type.name ?? l.type.__name, !t) throw new Error("[Vuetify] Could not determine component name"); - const a = f(() => { + const o = v(() => { var u; - return (u = t.value) == null ? void 0 : u[e._as ?? n]; - }), i = new Proxy(e, { get(u, s) { - var v, y, m, g; - const o = Reflect.get(u, s); - return s === "class" || s === "style" ? [(v = a.value) == null ? void 0 : v[s], o].filter((p) => p != null) : typeof s != "string" || function(p, C) { - var h, b; - return ((h = p.props) == null ? void 0 : h[C]) !== void 0 || ((b = p.props) == null ? void 0 : b[kt(C)]) !== void 0; - }(l.vnode, s) ? o : ((y = a.value) == null ? void 0 : y[s]) ?? ((g = (m = t.value) == null ? void 0 : m.global) == null ? void 0 : g[s]) ?? o; + return (u = n.value) == null ? void 0 : u[e._as ?? t]; + }), a = new Proxy(e, { get(u, s) { + var p, y, f, m; + const i = Reflect.get(u, s); + return s === "class" || s === "style" ? [(p = o.value) == null ? void 0 : p[s], i].filter((h) => h != null) : typeof s != "string" || function(h, b) { + var g, C; + return ((g = h.props) == null ? void 0 : g[b]) !== void 0 || ((C = h.props) == null ? void 0 : C[wn(b)]) !== void 0; + }(l.vnode, s) ? i : ((y = o.value) == null ? void 0 : y[s]) ?? ((m = (f = n.value) == null ? void 0 : f.global) == null ? void 0 : m[s]) ?? i; } }), c = de(); - return ot(() => { - if (a.value) { - const u = Object.entries(a.value).filter((s) => { - let [o] = s; - return o.startsWith(o[0].toUpperCase()); + return rn(() => { + if (o.value) { + const u = Object.entries(o.value).filter((s) => { + let [i] = s; + return i.startsWith(i[0].toUpperCase()); }); c.value = u.length ? Object.fromEntries(u) : void 0; } else c.value = void 0; - }), { props: i, provideSubDefaults: function() { + }), { props: a, provideSubDefaults: function() { const u = function(s) { - let o = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : Le("injectSelf"); - const { provides: v } = o; - if (v && s in v) - return v[s]; - }(Xn, l); - tt(Xn, f(() => c.value ? Wt((u == null ? void 0 : u.value) ?? {}, c.value) : u == null ? void 0 : u.value)); + let i = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : Le("injectSelf"); + const { provides: p } = i; + if (p && s in p) + return p[s]; + }(Xt, l); + nn(Xt, v(() => c.value ? Nn((u == null ? void 0 : u.value) ?? {}, c.value) : u == null ? void 0 : u.value)); } }; } -function Cn(e) { +function bt(e) { if (e._setup = e._setup ?? e.setup, !e.name) - return hn("The component is missing an explicit name, unable to generate default prop value"), e; + return gt("The component is missing an explicit name, unable to generate default prop value"), e; if (e._setup) { - e.props = q(e.props ?? {}, e.name)(); - const n = Object.keys(e.props).filter((t) => t !== "class" && t !== "style"); - e.filterProps = function(t) { - return ai(t, n); - }, e.props._as = String, e.setup = function(t, l) { - const a = Hl(); - if (!a.value) - return e._setup(t, l); - const { props: i, provideSubDefaults: c } = jo(t, t._as ?? e.name, a), u = e._setup(i, l); + e.props = H(e.props ?? {}, e.name)(); + const t = Object.keys(e.props).filter((n) => n !== "class" && n !== "style"); + e.filterProps = function(n) { + return aa(n, t); + }, e.props._as = String, e.setup = function(n, l) { + const o = Gl(); + if (!o.value) + return e._setup(n, l); + const { props: a, provideSubDefaults: c } = qi(n, n._as ?? e.name, o), u = e._setup(a, l); return c(), u; }; } return e; } -function te() { +function ne() { let e = !(arguments.length > 0 && arguments[0] !== void 0) || arguments[0]; - return (n) => (e ? Cn : rt)(n); + return (t) => (e ? bt : sn)(t); } -function xn(e) { - let n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "div", t = arguments.length > 2 ? arguments[2] : void 0; - return te()({ name: t ?? Za(Qa(e.replace(/__/g, "-"))), props: { tag: { type: String, default: n }, ...ye() }, setup(l, a) { - let { slots: i } = a; +function wt(e) { + let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "div", n = arguments.length > 2 ? arguments[2] : void 0; + return ne()({ name: n ?? Qo(ea(e.replace(/__/g, "-"))), props: { tag: { type: String, default: t }, ...ye() }, setup(l, o) { + let { slots: a } = o; return () => { var c; - return al(l.tag, { class: [e, l.class], style: l.style }, (c = i.default) == null ? void 0 : c.call(i)); + return ol(l.tag, { class: [e, l.class], style: l.style }, (c = a.default) == null ? void 0 : c.call(a)); }; } }); } -function fi(e) { +function fa(e) { if (typeof e.getRootNode != "function") { for (; e.parentNode; ) e = e.parentNode; return e !== document ? null : document; } - const n = e.getRootNode(); - return n !== document && n.getRootNode({ composed: !0 }) !== document ? null : n; + const t = e.getRootNode(); + return t !== document && t.getRootNode({ composed: !0 }) !== document ? null : t; } -const Kn = "cubic-bezier(0.4, 0, 0.2, 1)"; -function Le(e, n) { - const t = Vo(); - if (!t) - throw new Error(`[Vuetify] ${e} ${n || "must be called from inside a setup function"}`); - return t; +const Kt = "cubic-bezier(0.4, 0, 0.2, 1)"; +function Le(e, t) { + const n = xi(); + if (!n) + throw new Error(`[Vuetify] ${e} ${t || "must be called from inside a setup function"}`); + return n; } -function st() { +function un() { const e = Le(arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "composables").type; - return kt((e == null ? void 0 : e.aliasName) || (e == null ? void 0 : e.name)); + return wn((e == null ? void 0 : e.aliasName) || (e == null ? void 0 : e.name)); } -let mi = 0, Nn = /* @__PURE__ */ new WeakMap(); -function nt() { +let ya = 0, Nt = /* @__PURE__ */ new WeakMap(); +function tn() { const e = Le("getUid"); - if (Nn.has(e)) - return Nn.get(e); + if (Nt.has(e)) + return Nt.get(e); { - const n = mi++; - return Nn.set(e, n), n; + const t = ya++; + return Nt.set(e, t), t; } } -function yi(e) { - let n = arguments.length > 1 && arguments[1] !== void 0 && arguments[1]; +function ma(e) { + let t = arguments.length > 1 && arguments[1] !== void 0 && arguments[1]; for (; e; ) { - if (n ? qo(e) : Ul(e)) + if (t ? Hi(e) : Ul(e)) return e; e = e.parentElement; } return document.scrollingElement; } -function Jn(e, n) { - const t = []; - if (n && e && !n.contains(e)) - return t; - for (; e && (Ul(e) && t.push(e), e !== n); ) +function Jt(e, t) { + const n = []; + if (t && e && !t.contains(e)) + return n; + for (; e && (Ul(e) && n.push(e), e !== t); ) e = e.parentElement; - return t; + return n; } function Ul(e) { if (!e || e.nodeType !== Node.ELEMENT_NODE) return !1; - const n = window.getComputedStyle(e); - return n.overflowY === "scroll" || n.overflowY === "auto" && e.scrollHeight > e.clientHeight; + const t = window.getComputedStyle(e); + return t.overflowY === "scroll" || t.overflowY === "auto" && e.scrollHeight > e.clientHeight; } -function qo(e) { +function Hi(e) { if (!e || e.nodeType !== Node.ELEMENT_NODE) return !1; - const n = window.getComputedStyle(e); - return ["scroll", "auto"].includes(n.overflowY); + const t = window.getComputedStyle(e); + return ["scroll", "auto"].includes(t.overflowY); } function se(e) { Le("useRender").render = e; } -function jl(e) { - let n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "content"; - const t = D(), l = D(); +function ql(e) { + let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "content"; + const n = D(), l = D(); if (Ke) { - const a = new ResizeObserver((i) => { - e == null || e(i, a), i.length && (l.value = n === "content" ? i[0].contentRect : i[0].target.getBoundingClientRect()); + const o = new ResizeObserver((a) => { + e == null || e(a, o), a.length && (l.value = t === "content" ? a[0].contentRect : a[0].target.getBoundingClientRect()); }); - yt(() => { - a.disconnect(); - }), K(t, (i, c) => { - c && (a.unobserve(Un(c)), l.value = void 0), i && a.observe(Un(i)); + mn(() => { + o.disconnect(); + }), K(n, (a, c) => { + c && (o.unobserve(Ut(c)), l.value = void 0), a && o.observe(Ut(a)); }, { flush: "post" }); } - return { resizeRef: t, contentRect: zl(l) }; + return { resizeRef: n, contentRect: zl(l) }; } -function wt(e, n) { - let t; +function Vn(e, t) { + let n; function l() { - t = Dl(), t.run(() => n.length ? n(() => { - t == null || t.stop(), l(); - }) : n()); - } - K(e, (a) => { - a && !t ? l() : a || (t == null || t.stop(), t = void 0); - }, { immediate: !0 }), qe(() => { - t == null || t.stop(); + n = Dl(), n.run(() => t.length ? t(() => { + n == null || n.stop(), l(); + }) : t()); + } + K(e, (o) => { + o && !n ? l() : o || (n == null || n.stop(), n = void 0); + }, { immediate: !0 }), He(() => { + n == null || n.stop(); }); } -function _e(e, n, t) { - let l = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : (v) => v, a = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : (v) => v; - const i = Le("useProxiedModel"), c = D(e[n] !== void 0 ? e[n] : t), u = kt(n), s = f(u !== n ? () => { - var v, y, m, g; - return e[n], !(!((v = i.vnode.props) != null && v.hasOwnProperty(n)) && !((y = i.vnode.props) != null && y.hasOwnProperty(u)) || !((m = i.vnode.props) != null && m.hasOwnProperty(`onUpdate:${n}`)) && !((g = i.vnode.props) != null && g.hasOwnProperty(`onUpdate:${u}`))); +function $e(e, t, n) { + let l = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : (p) => p, o = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : (p) => p; + const a = Le("useProxiedModel"), c = D(e[t] !== void 0 ? e[t] : n), u = wn(t), s = v(u !== t ? () => { + var p, y, f, m; + return e[t], !(!((p = a.vnode.props) != null && p.hasOwnProperty(t)) && !((y = a.vnode.props) != null && y.hasOwnProperty(u)) || !((f = a.vnode.props) != null && f.hasOwnProperty(`onUpdate:${t}`)) && !((m = a.vnode.props) != null && m.hasOwnProperty(`onUpdate:${u}`))); } : () => { - var v, y; - return e[n], !(!((v = i.vnode.props) != null && v.hasOwnProperty(n)) || !((y = i.vnode.props) != null && y.hasOwnProperty(`onUpdate:${n}`))); + var p, y; + return e[t], !(!((p = a.vnode.props) != null && p.hasOwnProperty(t)) || !((y = a.vnode.props) != null && y.hasOwnProperty(`onUpdate:${t}`))); }); - wt(() => !s.value, () => { - K(() => e[n], (v) => { - c.value = v; + Vn(() => !s.value, () => { + K(() => e[t], (p) => { + c.value = p; }); }); - const o = f({ get() { - const v = e[n]; - return l(s.value ? v : c.value); - }, set(v) { - const y = a(v), m = St(s.value ? e[n] : c.value); - m !== y && l(m) !== v && (c.value = y, i == null || i.emit(`update:${n}`, y)); + const i = v({ get() { + const p = e[t]; + return l(s.value ? p : c.value); + }, set(p) { + const y = o(p), f = Sn(s.value ? e[t] : c.value); + f !== y && l(f) !== p && (c.value = y, a == null || a.emit(`update:${t}`, y)); } }); - return Object.defineProperty(o, "externalValue", { get: () => s.value ? e[n] : c.value }), o; + return Object.defineProperty(i, "externalValue", { get: () => s.value ? e[t] : c.value }), i; } -nt.reset = () => { - mi = 0, Nn = /* @__PURE__ */ new WeakMap(); +tn.reset = () => { + ya = 0, Nt = /* @__PURE__ */ new WeakMap(); }; -const gi = Symbol.for("vuetify:locale"); -function ql() { - const e = ge(gi); +const ga = Symbol.for("vuetify:locale"); +function Hl() { + const e = me(ga); if (!e) throw new Error("[Vuetify] Could not find injected locale instance"); return e; } -function wn() { - const e = ge(gi); +function Ft() { + const e = me(ga); if (!e) throw new Error("[Vuetify] Could not find injected rtl instance"); return { isRtl: e.isRtl, rtlClasses: e.rtlClasses }; } -const xa = Symbol.for("vuetify:theme"), Ne = q({ theme: String }, "theme"); +const Fo = Symbol.for("vuetify:theme"), Ne = H({ theme: String }, "theme"); function Xe(e) { Le("provideTheme"); - const n = ge(xa, null); - if (!n) + const t = me(Fo, null); + if (!t) throw new Error("Could not find Vuetify theme injection"); - const t = f(() => e.theme ?? n.name.value), l = f(() => n.themes.value[t.value]), a = f(() => n.isDisabled ? void 0 : `v-theme--${t.value}`), i = { ...n, name: t, current: l, themeClasses: a }; - return tt(xa, i), i; + const n = v(() => e.theme ?? t.name.value), l = v(() => t.themes.value[n.value]), o = v(() => t.isDisabled ? void 0 : `v-theme--${n.value}`), a = { ...t, name: n, current: l, themeClasses: o }; + return nn(Fo, a), a; } -const et = q({ tag: { type: String, default: "div" } }, "tag"), Yo = q({ disabled: Boolean, group: Boolean, hideOnLeave: Boolean, leaveAbsolute: Boolean, mode: String, origin: String }, "transition"); -function Je(e, n, t) { - return te()({ name: e, props: Yo({ mode: t, origin: n }), setup(l, a) { - let { slots: i } = a; +const en = H({ tag: { type: String, default: "div" } }, "tag"), Yi = H({ disabled: Boolean, group: Boolean, hideOnLeave: Boolean, leaveAbsolute: Boolean, mode: String, origin: String }, "transition"); +function Je(e, t, n) { + return ne()({ name: e, props: Yi({ mode: n, origin: t }), setup(l, o) { + let { slots: a } = o; const c = { onBeforeEnter(u) { l.origin && (u.style.transformOrigin = l.origin); }, onLeave(u) { if (l.leaveAbsolute) { - const { offsetTop: s, offsetLeft: o, offsetWidth: v, offsetHeight: y } = u; - u._transitionInitialStyles = { position: u.style.position, top: u.style.top, left: u.style.left, width: u.style.width, height: u.style.height }, u.style.position = "absolute", u.style.top = `${s}px`, u.style.left = `${o}px`, u.style.width = `${v}px`, u.style.height = `${y}px`; + const { offsetTop: s, offsetLeft: i, offsetWidth: p, offsetHeight: y } = u; + u._transitionInitialStyles = { position: u.style.position, top: u.style.top, left: u.style.left, width: u.style.width, height: u.style.height }, u.style.position = "absolute", u.style.top = `${s}px`, u.style.left = `${i}px`, u.style.width = `${p}px`, u.style.height = `${y}px`; } l.hideOnLeave && u.style.setProperty("display", "none", "important"); }, onAfterLeave(u) { if (l.leaveAbsolute && (u != null && u._transitionInitialStyles)) { - const { position: s, top: o, left: v, width: y, height: m } = u._transitionInitialStyles; - delete u._transitionInitialStyles, u.style.position = s || "", u.style.top = o || "", u.style.left = v || "", u.style.width = y || "", u.style.height = m || ""; + const { position: s, top: i, left: p, width: y, height: f } = u._transitionInitialStyles; + delete u._transitionInitialStyles, u.style.position = s || "", u.style.top = i || "", u.style.left = p || "", u.style.width = y || "", u.style.height = f || ""; } } }; return () => { - const u = l.group ? ko : Ft; - return al(u, { name: l.disabled ? "" : e, css: !l.disabled, ...l.group ? void 0 : { mode: l.mode }, ...l.disabled ? {} : c }, i.default); + const u = l.group ? ki : An; + return ol(u, { name: l.disabled ? "" : e, css: !l.disabled, ...l.group ? void 0 : { mode: l.mode }, ...l.disabled ? {} : c }, a.default); }; } }); } -function hi(e, n) { - let t = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : "in-out"; - return te()({ name: e, props: { mode: { type: String, default: t }, disabled: Boolean }, setup(l, a) { - let { slots: i } = a; - return () => al(Ft, { name: l.disabled ? "" : e, css: !l.disabled, ...l.disabled ? {} : n }, i.default); +function ha(e, t) { + let n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : "in-out"; + return ne()({ name: e, props: { mode: { type: String, default: n }, disabled: Boolean }, setup(l, o) { + let { slots: a } = o; + return () => ol(An, { name: l.disabled ? "" : e, css: !l.disabled, ...l.disabled ? {} : t }, a.default); } }); } -function pi() { +function ba() { let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : ""; - const n = arguments.length > 1 && arguments[1] !== void 0 && arguments[1] ? "width" : "height", t = Qa(`offset-${n}`); - return { onBeforeEnter(i) { - i._parent = i.parentNode, i._initialStyle = { transition: i.style.transition, overflow: i.style.overflow, [n]: i.style[n] }; - }, onEnter(i) { - const c = i._initialStyle; - i.style.setProperty("transition", "none", "important"), i.style.overflow = "hidden"; - const u = `${i[t]}px`; - i.style[n] = "0", i.offsetHeight, i.style.transition = c.transition, e && i._parent && i._parent.classList.add(e), requestAnimationFrame(() => { - i.style[n] = u; + const t = arguments.length > 1 && arguments[1] !== void 0 && arguments[1] ? "width" : "height", n = ea(`offset-${t}`); + return { onBeforeEnter(a) { + a._parent = a.parentNode, a._initialStyle = { transition: a.style.transition, overflow: a.style.overflow, [t]: a.style[t] }; + }, onEnter(a) { + const c = a._initialStyle; + a.style.setProperty("transition", "none", "important"), a.style.overflow = "hidden"; + const u = `${a[n]}px`; + a.style[t] = "0", a.offsetHeight, a.style.transition = c.transition, e && a._parent && a._parent.classList.add(e), requestAnimationFrame(() => { + a.style[t] = u; }); - }, onAfterEnter: a, onEnterCancelled: a, onLeave(i) { - i._initialStyle = { transition: "", overflow: i.style.overflow, [n]: i.style[n] }, i.style.overflow = "hidden", i.style[n] = `${i[t]}px`, i.offsetHeight, requestAnimationFrame(() => i.style[n] = "0"); + }, onAfterEnter: o, onEnterCancelled: o, onLeave(a) { + a._initialStyle = { transition: "", overflow: a.style.overflow, [t]: a.style[t] }, a.style.overflow = "hidden", a.style[t] = `${a[n]}px`, a.offsetHeight, requestAnimationFrame(() => a.style[t] = "0"); }, onAfterLeave: l, onLeaveCancelled: l }; - function l(i) { - e && i._parent && i._parent.classList.remove(e), a(i); - } - function a(i) { - const c = i._initialStyle[n]; - i.style.overflow = i._initialStyle.overflow, c != null && (i.style[n] = c), delete i._initialStyle; - } -} -const Xo = q({ target: [Object, Array] }, "v-dialog-transition"), Ci = te()({ name: "VDialogTransition", props: Xo(), setup(e, n) { - let { slots: t } = n; - const l = { onBeforeEnter(a) { - a.style.pointerEvents = "none", a.style.visibility = "hidden"; - }, async onEnter(a, i) { - var m; - await new Promise((g) => requestAnimationFrame(g)), await new Promise((g) => requestAnimationFrame(g)), a.style.visibility = ""; - const { x: c, y: u, sx: s, sy: o, speed: v } = Fa(e.target, a), y = Nt(a, [{ transform: `translate(${c}px, ${u}px) scale(${s}, ${o})`, opacity: 0 }, {}], { duration: 225 * v, easing: "cubic-bezier(0.0, 0, 0.2, 1)" }); - (m = wa(a)) == null || m.forEach((g) => { - Nt(g, [{ opacity: 0 }, { opacity: 0, offset: 0.33 }, {}], { duration: 450 * v, easing: Kn }); - }), y.finished.then(() => i()); - }, onAfterEnter(a) { - a.style.removeProperty("pointer-events"); - }, onBeforeLeave(a) { - a.style.pointerEvents = "none"; - }, async onLeave(a, i) { + function l(a) { + e && a._parent && a._parent.classList.remove(e), o(a); + } + function o(a) { + const c = a._initialStyle[t]; + a.style.overflow = a._initialStyle.overflow, c != null && (a.style[t] = c), delete a._initialStyle; + } +} +const Xi = H({ target: [Object, Array] }, "v-dialog-transition"), Ca = ne()({ name: "VDialogTransition", props: Xi(), setup(e, t) { + let { slots: n } = t; + const l = { onBeforeEnter(o) { + o.style.pointerEvents = "none", o.style.visibility = "hidden"; + }, async onEnter(o, a) { + var f; + await new Promise((m) => requestAnimationFrame(m)), await new Promise((m) => requestAnimationFrame(m)), o.style.visibility = ""; + const { x: c, y: u, sx: s, sy: i, speed: p } = Ao(e.target, o), y = jn(o, [{ transform: `translate(${c}px, ${u}px) scale(${s}, ${i})`, opacity: 0 }, {}], { duration: 225 * p, easing: "cubic-bezier(0.0, 0, 0.2, 1)" }); + (f = Vo(o)) == null || f.forEach((m) => { + jn(m, [{ opacity: 0 }, { opacity: 0, offset: 0.33 }, {}], { duration: 450 * p, easing: Kt }); + }), y.finished.then(() => a()); + }, onAfterEnter(o) { + o.style.removeProperty("pointer-events"); + }, onBeforeLeave(o) { + o.style.pointerEvents = "none"; + }, async onLeave(o, a) { var y; - await new Promise((m) => requestAnimationFrame(m)); - const { x: c, y: u, sx: s, sy: o, speed: v } = Fa(e.target, a); - Nt(a, [{}, { transform: `translate(${c}px, ${u}px) scale(${s}, ${o})`, opacity: 0 }], { duration: 125 * v, easing: "cubic-bezier(0.4, 0, 1, 1)" }).finished.then(() => i()), (y = wa(a)) == null || y.forEach((m) => { - Nt(m, [{}, { opacity: 0, offset: 0.2 }, { opacity: 0 }], { duration: 250 * v, easing: Kn }); + await new Promise((f) => requestAnimationFrame(f)); + const { x: c, y: u, sx: s, sy: i, speed: p } = Ao(e.target, o); + jn(o, [{}, { transform: `translate(${c}px, ${u}px) scale(${s}, ${i})`, opacity: 0 }], { duration: 125 * p, easing: "cubic-bezier(0.4, 0, 1, 1)" }).finished.then(() => a()), (y = Vo(o)) == null || y.forEach((f) => { + jn(f, [{}, { opacity: 0, offset: 0.2 }, { opacity: 0 }], { duration: 250 * p, easing: Kt }); }); - }, onAfterLeave(a) { - a.style.removeProperty("pointer-events"); + }, onAfterLeave(o) { + o.style.removeProperty("pointer-events"); } }; - return () => e.target ? d(Ft, Z({ name: "dialog-transition" }, l, { css: !1 }), t) : d(Ft, { name: "dialog-transition" }, t); + return () => e.target ? d(An, Z({ name: "dialog-transition" }, l, { css: !1 }), n) : d(An, { name: "dialog-transition" }, n); } }); -function wa(e) { - var t; - const n = (t = e.querySelector(":scope > .v-card, :scope > .v-sheet, :scope > .v-list")) == null ? void 0 : t.children; - return n && [...n]; -} -function Fa(e, n) { - const t = di(e), l = Gl(n), [a, i] = getComputedStyle(n).transformOrigin.split(" ").map((b) => parseFloat(b)), [c, u] = getComputedStyle(n).getPropertyValue("--v-overlay-anchor-origin").split(" "); - let s = t.left + t.width / 2; - c === "left" || u === "left" ? s -= t.width / 2 : c !== "right" && u !== "right" || (s += t.width / 2); - let o = t.top + t.height / 2; - c === "top" || u === "top" ? o -= t.height / 2 : c !== "bottom" && u !== "bottom" || (o += t.height / 2); - const v = t.width / l.width, y = t.height / l.height, m = Math.max(1, v, y), g = v / m || 0, p = y / m || 0, C = l.width * l.height / (window.innerWidth * window.innerHeight), h = C > 0.12 ? Math.min(1.5, 10 * (C - 0.12) + 1) : 1; - return { x: s - (a + l.left), y: o - (i + l.top), sx: g, sy: p, speed: h }; +function Vo(e) { + var n; + const t = (n = e.querySelector(":scope > .v-card, :scope > .v-sheet, :scope > .v-list")) == null ? void 0 : n.children; + return t && [...t]; +} +function Ao(e, t) { + const n = pa(e), l = jl(t), [o, a] = getComputedStyle(t).transformOrigin.split(" ").map((C) => parseFloat(C)), [c, u] = getComputedStyle(t).getPropertyValue("--v-overlay-anchor-origin").split(" "); + let s = n.left + n.width / 2; + c === "left" || u === "left" ? s -= n.width / 2 : c !== "right" && u !== "right" || (s += n.width / 2); + let i = n.top + n.height / 2; + c === "top" || u === "top" ? i -= n.height / 2 : c !== "bottom" && u !== "bottom" || (i += n.height / 2); + const p = n.width / l.width, y = n.height / l.height, f = Math.max(1, p, y), m = p / f || 0, h = y / f || 0, b = l.width * l.height / (window.innerWidth * window.innerHeight), g = b > 0.12 ? Math.min(1.5, 10 * (b - 0.12) + 1) : 1; + return { x: s - (o + l.left), y: i - (a + l.top), sx: m, sy: h, speed: g }; } Je("fab-transition", "center center", "out-in"), Je("dialog-bottom-transition"), Je("dialog-top-transition"), Je("fade-transition"); -const Ko = Je("scale-transition"); +const Ki = Je("scale-transition"); Je("scroll-x-transition"), Je("scroll-x-reverse-transition"), Je("scroll-y-transition"), Je("scroll-y-reverse-transition"), Je("slide-x-transition"), Je("slide-x-reverse-transition"); -const bi = Je("slide-y-transition"); +const Ia = Je("slide-y-transition"); Je("slide-y-reverse-transition"); -const Jo = hi("expand-transition", pi()), Si = hi("expand-x-transition", pi("", !0)), Zo = q({ defaults: Object, disabled: Boolean, reset: [Number, String], root: [Boolean, String], scoped: Boolean }, "VDefaultsProvider"), Ge = te(!1)({ name: "VDefaultsProvider", props: Zo(), setup(e, n) { - let { slots: t } = n; - const { defaults: l, disabled: a, reset: i, root: c, scoped: u } = Bt(e); - return Qt(l, { reset: i, root: c, scoped: u, disabled: a }), () => { +const Ji = ha("expand-transition", ba()), Sa = ha("expand-x-transition", ba("", !0)), Zi = H({ defaults: Object, disabled: Boolean, reset: [Number, String], root: [Boolean, String], scoped: Boolean }, "VDefaultsProvider"), je = ne(!1)({ name: "VDefaultsProvider", props: Zi(), setup(e, t) { + let { slots: n } = t; + const { defaults: l, disabled: o, reset: a, root: c, scoped: u } = xn(e); + return et(l, { reset: a, root: c, scoped: u, disabled: o }), () => { var s; - return (s = t.default) == null ? void 0 : s.call(t); + return (s = n.default) == null ? void 0 : s.call(n); }; -} }), zt = q({ height: [Number, String], maxHeight: [Number, String], maxWidth: [Number, String], minHeight: [Number, String], minWidth: [Number, String], width: [Number, String] }, "dimension"); -function Dt(e) { - return { dimensionStyles: f(() => ({ height: ie(e.height), maxHeight: ie(e.maxHeight), maxWidth: ie(e.maxWidth), minHeight: ie(e.minHeight), minWidth: ie(e.minWidth), width: ie(e.width) })) }; -} -const Ii = q({ aspectRatio: [String, Number], contentClass: String, inline: Boolean, ...ye(), ...zt() }, "VResponsive"), Pa = te()({ name: "VResponsive", props: Ii(), setup(e, n) { - let { slots: t } = n; - const { aspectStyles: l } = function(i) { - return { aspectStyles: f(() => { - const c = Number(i.aspectRatio); +} }), Dn = H({ height: [Number, String], maxHeight: [Number, String], maxWidth: [Number, String], minHeight: [Number, String], minWidth: [Number, String], width: [Number, String] }, "dimension"); +function Ln(e) { + return { dimensionStyles: v(() => ({ height: ae(e.height), maxHeight: ae(e.maxHeight), maxWidth: ae(e.maxWidth), minHeight: ae(e.minHeight), minWidth: ae(e.minWidth), width: ae(e.width) })) }; +} +const Ba = H({ aspectRatio: [String, Number], contentClass: String, inline: Boolean, ...ye(), ...Dn() }, "VResponsive"), _o = ne()({ name: "VResponsive", props: Ba(), setup(e, t) { + let { slots: n } = t; + const { aspectStyles: l } = function(a) { + return { aspectStyles: v(() => { + const c = Number(a.aspectRatio); return c ? { paddingBottom: String(1 / c * 100) + "%" } : void 0; }) }; - }(e), { dimensionStyles: a } = Dt(e); + }(e), { dimensionStyles: o } = Ln(e); return se(() => { - var i; - return d("div", { class: ["v-responsive", { "v-responsive--inline": e.inline }, e.class], style: [a.value, e.style] }, [d("div", { class: "v-responsive__sizer", style: l.value }, null), (i = t.additional) == null ? void 0 : i.call(t), t.default && d("div", { class: ["v-responsive__content", e.contentClass] }, [t.default()])]); + var a; + return d("div", { class: ["v-responsive", { "v-responsive--inline": e.inline }, e.class], style: [o.value, e.style] }, [d("div", { class: "v-responsive__sizer", style: l.value }, null), (a = n.additional) == null ? void 0 : a.call(n), n.default && d("div", { class: ["v-responsive__content", e.contentClass] }, [n.default()])]); }), {}; -} }), Fn = q({ transition: { type: [Boolean, String, Object], default: "fade-transition", validator: (e) => e !== !0 } }, "transition"), bt = (e, n) => { - let { slots: t } = n; - const { transition: l, disabled: a, ...i } = e, { component: c = Ft, ...u } = typeof l == "object" ? l : {}; - return al(c, Z(typeof l == "string" ? { name: a ? "" : l } : u, i, { disabled: a }), t); +} }), Vt = H({ transition: { type: [Boolean, String, Object], default: "fade-transition", validator: (e) => e !== !0 } }, "transition"), In = (e, t) => { + let { slots: n } = t; + const { transition: l, disabled: o, ...a } = e, { component: c = An, ...u } = typeof l == "object" ? l : {}; + return ol(c, Z(typeof l == "string" ? { name: o ? "" : l } : u, a, { disabled: o }), n); }; -function Aa(e, n) { +function Oo(e, t) { var l; - const t = (l = e._observe) == null ? void 0 : l[n.instance.$.uid]; - t && (t.observer.unobserve(e), delete e._observe[n.instance.$.uid]); + const n = (l = e._observe) == null ? void 0 : l[t.instance.$.uid]; + n && (n.observer.unobserve(e), delete e._observe[t.instance.$.uid]); } -const Yl = { mounted: function(e, n) { - if (!Wl) +const Yl = { mounted: function(e, t) { + if (!Rl) return; - const t = n.modifiers || {}, l = n.value, { handler: a, options: i } = typeof l == "object" ? l : { handler: l, options: {} }, c = new IntersectionObserver(function() { + const n = t.modifiers || {}, l = t.value, { handler: o, options: a } = typeof l == "object" ? l : { handler: l, options: {} }, c = new IntersectionObserver(function() { var y; let u = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : [], s = arguments.length > 1 ? arguments[1] : void 0; - const o = (y = e._observe) == null ? void 0 : y[n.instance.$.uid]; - if (!o) + const i = (y = e._observe) == null ? void 0 : y[t.instance.$.uid]; + if (!i) return; - const v = u.some((m) => m.isIntersecting); - !a || t.quiet && !o.init || t.once && !v && !o.init || a(v, u, s), v && t.once ? Aa(e, n) : o.init = !0; - }, i); - e._observe = Object(e._observe), e._observe[n.instance.$.uid] = { init: !1, observer: c }, c.observe(e); -}, unmounted: Aa }, Qo = q({ alt: String, cover: Boolean, draggable: { type: [Boolean, String], default: void 0 }, 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: "" }, crossorigin: String, referrerpolicy: String, srcset: String, position: String, ...Ii(), ...ye(), ...Fn() }, "VImg"), Bi = te()({ name: "VImg", directives: { intersect: Yl }, props: Qo(), emits: { loadstart: (e) => !0, load: (e) => !0, error: (e) => !0 }, setup(e, n) { - let { emit: t, slots: l } = n; - const a = Le("VImg"), i = de(""), c = D(), u = de(e.eager ? "loading" : "idle"), s = de(), o = de(), v = f(() => 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) }), y = f(() => v.value.aspect || s.value / o.value || 0); - function m(I) { - if ((!e.eager || !I) && (!Wl || I || e.eager)) { - if (u.value = "loading", v.value.lazySrc) { - const P = new Image(); - P.src = v.value.lazySrc, b(P, null); + const p = u.some((f) => f.isIntersecting); + !o || n.quiet && !i.init || n.once && !p && !i.init || o(p, u, s), p && n.once ? Oo(e, t) : i.init = !0; + }, a); + e._observe = Object(e._observe), e._observe[t.instance.$.uid] = { init: !1, observer: c }, c.observe(e); +}, unmounted: Oo }, Qi = H({ alt: String, cover: Boolean, draggable: { type: [Boolean, String], default: void 0 }, 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: "" }, crossorigin: String, referrerpolicy: String, srcset: String, position: String, ...Ba(), ...ye(), ...Vt() }, "VImg"), xa = ne()({ name: "VImg", directives: { intersect: Yl }, props: Qi(), emits: { loadstart: (e) => !0, load: (e) => !0, error: (e) => !0 }, setup(e, t) { + let { emit: n, slots: l } = t; + const o = Le("VImg"), a = de(""), c = D(), u = de(e.eager ? "loading" : "idle"), s = de(), i = de(), p = 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) }), y = v(() => p.value.aspect || s.value / i.value || 0); + function f(S) { + if ((!e.eager || !S) && (!Rl || S || e.eager)) { + if (u.value = "loading", p.value.lazySrc) { + const A = new Image(); + A.src = p.value.lazySrc, C(A, null); } - v.value.src && Me(() => { - var P; - t("loadstart", ((P = c.value) == null ? void 0 : P.currentSrc) || v.value.src), setTimeout(() => { - var S; - if (!a.isUnmounted) - if ((S = c.value) != null && S.complete) { - if (c.value.naturalWidth || p(), u.value === "error") + p.value.src && Me(() => { + var A; + n("loadstart", ((A = c.value) == null ? void 0 : A.currentSrc) || p.value.src), setTimeout(() => { + var I; + if (!o.isUnmounted) + if ((I = c.value) != null && I.complete) { + if (c.value.naturalWidth || h(), u.value === "error") return; - y.value || b(c.value, null), u.value === "loading" && g(); + y.value || C(c.value, null), u.value === "loading" && m(); } else - y.value || b(c.value), C(); + y.value || C(c.value), b(); }); }); } } - function g() { - var I; - a.isUnmounted || (C(), b(c.value), u.value = "loaded", t("load", ((I = c.value) == null ? void 0 : I.currentSrc) || v.value.src)); + function m() { + var S; + o.isUnmounted || (b(), C(c.value), u.value = "loaded", n("load", ((S = c.value) == null ? void 0 : S.currentSrc) || p.value.src)); } - function p() { - var I; - a.isUnmounted || (u.value = "error", t("error", ((I = c.value) == null ? void 0 : I.currentSrc) || v.value.src)); + function h() { + var S; + o.isUnmounted || (u.value = "error", n("error", ((S = c.value) == null ? void 0 : S.currentSrc) || p.value.src)); } - function C() { - const I = c.value; - I && (i.value = I.currentSrc || I.src); + function b() { + const S = c.value; + S && (a.value = S.currentSrc || S.src); } K(() => e.src, () => { - m(u.value !== "idle"); - }), K(y, (I, P) => { - !I && P && c.value && b(c.value); - }), ei(() => m()); - let h = -1; - function b(I) { - let P = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 100; - const S = () => { - if (clearTimeout(h), a.isUnmounted) + f(u.value !== "idle"); + }), K(y, (S, A) => { + !S && A && c.value && C(c.value); + }), na(() => f()); + let g = -1; + function C(S) { + let A = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 100; + const I = () => { + if (clearTimeout(g), o.isUnmounted) return; - const { naturalHeight: w, naturalWidth: A } = I; - w || A ? (s.value = A, o.value = w) : I.complete || u.value !== "loading" || P == null ? (I.currentSrc.endsWith(".svg") || I.currentSrc.startsWith("data:image/svg+xml")) && (s.value = 1, o.value = 1) : h = window.setTimeout(S, P); + const { naturalHeight: F, naturalWidth: _ } = S; + F || _ ? (s.value = _, i.value = F) : S.complete || u.value !== "loading" || A == null ? (S.currentSrc.endsWith(".svg") || S.currentSrc.startsWith("data:image/svg+xml")) && (s.value = 1, i.value = 1) : g = window.setTimeout(I, A); }; - S(); + I(); } - yt(() => { - clearTimeout(h); + mn(() => { + clearTimeout(g); }); - const x = f(() => ({ "v-img__img--cover": e.cover, "v-img__img--contain": !e.cover })), O = () => { - var S; - if (!v.value.src || u.value === "idle") + const w = v(() => ({ "v-img__img--cover": e.cover, "v-img__img--contain": !e.cover })), O = () => { + var I; + if (!p.value.src || u.value === "idle") return null; - const I = d("img", { class: ["v-img__img", x.value], style: { objectPosition: e.position }, src: v.value.src, srcset: v.value.srcset, alt: e.alt, crossorigin: e.crossorigin, referrerpolicy: e.referrerpolicy, draggable: e.draggable, sizes: e.sizes, ref: c, onLoad: g, onError: p }, null), P = (S = l.sources) == null ? void 0 : S.call(l); - return d(bt, { transition: e.transition, appear: !0 }, { default: () => [Ue(P ? d("picture", { class: "v-img__picture" }, [P, I]) : I, [[jt, u.value === "loaded"]])] }); - }, H = () => d(bt, { transition: e.transition }, { default: () => [v.value.lazySrc && u.value !== "loaded" && d("img", { class: ["v-img__img", "v-img__img--preload", x.value], style: { objectPosition: e.position }, src: v.value.lazySrc, alt: e.alt, crossorigin: e.crossorigin, referrerpolicy: e.referrerpolicy, draggable: e.draggable }, null)] }), $ = () => l.placeholder ? d(bt, { transition: e.transition, appear: !0 }, { default: () => [(u.value === "loading" || u.value === "error" && !l.error) && d("div", { class: "v-img__placeholder" }, [l.placeholder()])] }) : null, _ = () => l.error ? d(bt, { transition: e.transition, appear: !0 }, { default: () => [u.value === "error" && d("div", { class: "v-img__error" }, [l.error()])] }) : null, W = () => e.gradient ? d("div", { class: "v-img__gradient", style: { backgroundImage: `linear-gradient(${e.gradient})` } }, null) : null, T = de(!1); + const S = d("img", { class: ["v-img__img", w.value], style: { objectPosition: e.position }, src: p.value.src, srcset: p.value.srcset, alt: e.alt, crossorigin: e.crossorigin, referrerpolicy: e.referrerpolicy, draggable: e.draggable, sizes: e.sizes, ref: c, onLoad: m, onError: h }, null), A = (I = l.sources) == null ? void 0 : I.call(l); + return d(In, { transition: e.transition, appear: !0 }, { default: () => [Ue(A ? d("picture", { class: "v-img__picture" }, [A, S]) : S, [[Hn, u.value === "loaded"]])] }); + }, G = () => d(In, { transition: e.transition }, { default: () => [p.value.lazySrc && u.value !== "loaded" && d("img", { class: ["v-img__img", "v-img__img--preload", w.value], style: { objectPosition: e.position }, src: p.value.lazySrc, alt: e.alt, crossorigin: e.crossorigin, referrerpolicy: e.referrerpolicy, draggable: e.draggable }, null)] }), T = () => l.placeholder ? d(In, { transition: e.transition, appear: !0 }, { default: () => [(u.value === "loading" || u.value === "error" && !l.error) && d("div", { class: "v-img__placeholder" }, [l.placeholder()])] }) : null, $ = () => l.error ? d(In, { transition: e.transition, appear: !0 }, { default: () => [u.value === "error" && d("div", { class: "v-img__error" }, [l.error()])] }) : null, R = () => e.gradient ? d("div", { class: "v-img__gradient", style: { backgroundImage: `linear-gradient(${e.gradient})` } }, null) : null, P = de(!1); { - const I = K(y, (P) => { - P && (requestAnimationFrame(() => { + const S = K(y, (A) => { + A && (requestAnimationFrame(() => { requestAnimationFrame(() => { - T.value = !0; + P.value = !0; }); - }), I()); + }), S()); }); } return se(() => { - const I = Pa.filterProps(e); - return Ue(d(Pa, Z({ class: ["v-img", { "v-img--booting": !T.value }, e.class], style: [{ width: ie(e.width === "auto" ? s.value : e.width) }, e.style] }, I, { aspectRatio: y.value, "aria-label": e.alt, role: e.alt ? "img" : void 0 }), { additional: () => d(we, null, [d(O, null, null), d(H, null, null), d(W, null, null), d($, null, null), d(_, null, null)]), default: l.default }), [[gt("intersect"), { handler: m, options: e.options }, null, { once: !0 }]]); - }), { currentSrc: i, image: c, state: u, naturalWidth: s, naturalHeight: o }; -} }), en = q({ border: [Boolean, Number, String] }, "border"); -function tn(e) { - let n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : st(); - return { borderClasses: f(() => { - const t = At(e) ? e.value : e.border, l = []; - if (t === !0 || t === "") - l.push(`${n}--border`); - else if (typeof t == "string" || t === 0) - for (const a of String(t).split(" ")) - l.push(`border-${a}`); + const S = _o.filterProps(e); + return Ue(d(_o, Z({ class: ["v-img", { "v-img--booting": !P.value }, e.class], style: [{ width: ae(e.width === "auto" ? s.value : e.width) }, e.style] }, S, { aspectRatio: y.value, "aria-label": e.alt, role: e.alt ? "img" : void 0 }), { additional: () => d(Fe, null, [d(O, null, null), d(G, null, null), d(R, null, null), d(T, null, null), d($, null, null)]), default: l.default }), [[gn("intersect"), { handler: f, options: e.options }, null, { once: !0 }]]); + }), { currentSrc: a, image: c, state: u, naturalWidth: s, naturalHeight: i }; +} }), nt = H({ border: [Boolean, Number, String] }, "border"); +function tt(e) { + let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : un(); + return { borderClasses: v(() => { + const n = On(e) ? e.value : e.border, l = []; + if (n === !0 || n === "") + l.push(`${t}--border`); + else if (typeof n == "string" || n === 0) + for (const o of String(n).split(" ")) + l.push(`border-${o}`); return l; }) }; } function Xl(e) { return Nl(() => { - const n = [], t = {}; + const t = [], n = {}; if (e.value.background) - if (gl(e.value.background)) { - if (t.backgroundColor = e.value.background, !e.value.text && gl(l = e.value.background) && !/^((rgb|hsl)a?\()?var\(--/.test(l)) { - const a = mn(e.value.background); - if (a.a == null || a.a === 1) { - const i = function(c) { - const u = Math.abs(Ba(mn(0), mn(c))); - return Math.abs(Ba(mn(16777215), mn(c))) > Math.min(u, 50) ? "#fff" : "#000"; - }(a); - t.color = i, t.caretColor = i; + if (ml(e.value.background)) { + if (n.backgroundColor = e.value.background, !e.value.text && ml(l = e.value.background) && !/^((rgb|hsl)a?\()?var\(--/.test(l)) { + const o = ft(e.value.background); + if (o.a == null || o.a === 1) { + const a = function(c) { + const u = Math.abs(xo(ft(0), ft(c))); + return Math.abs(xo(ft(16777215), ft(c))) > Math.min(u, 50) ? "#fff" : "#000"; + }(o); + n.color = a, n.caretColor = a; } } } else - n.push(`bg-${e.value.background}`); + t.push(`bg-${e.value.background}`); var l; - return e.value.text && (gl(e.value.text) ? (t.color = e.value.text, t.caretColor = e.value.text) : n.push(`text-${e.value.text}`)), { colorClasses: n, colorStyles: t }; + return e.value.text && (ml(e.value.text) ? (n.color = e.value.text, n.caretColor = e.value.text) : t.push(`text-${e.value.text}`)), { colorClasses: t, colorStyles: n }; }); } -function mt(e, n) { - const t = f(() => ({ text: At(e) ? e.value : n ? e[n] : null })), { colorClasses: l, colorStyles: a } = Xl(t); - return { textColorClasses: l, textColorStyles: a }; +function yn(e, t) { + const n = v(() => ({ text: On(e) ? e.value : t ? e[t] : null })), { colorClasses: l, colorStyles: o } = Xl(n); + return { textColorClasses: l, textColorStyles: o }; } -function Ht(e, n) { - const t = f(() => ({ background: At(e) ? e.value : n ? e[n] : null })), { colorClasses: l, colorStyles: a } = Xl(t); - return { backgroundColorClasses: l, backgroundColorStyles: a }; +function Un(e, t) { + const n = v(() => ({ background: On(e) ? e.value : t ? e[t] : null })), { colorClasses: l, colorStyles: o } = Xl(n); + return { backgroundColorClasses: l, backgroundColorStyles: o }; } -const nn = q({ elevation: { type: [Number, String], validator(e) { - const n = parseInt(e); - return !isNaN(n) && n >= 0 && n <= 24; +const lt = H({ elevation: { type: [Number, String], validator(e) { + const t = parseInt(e); + return !isNaN(t) && t >= 0 && t <= 24; } } }, "elevation"); -function ln(e) { - return { elevationClasses: f(() => { - const n = At(e) ? e.value : e.elevation, t = []; - return n == null || t.push(`elevation-${n}`), t; +function ot(e) { + return { elevationClasses: v(() => { + const t = On(e) ? e.value : e.elevation, n = []; + return t == null || n.push(`elevation-${t}`), n; }) }; } -const ht = q({ rounded: { type: [Boolean, Number, String], default: void 0 } }, "rounded"); -function pt(e) { - let n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : st(); - return { roundedClasses: f(() => { - const t = At(e) ? e.value : e.rounded, l = []; - if (t === !0 || t === "") - l.push(`${n}--rounded`); - else if (typeof t == "string" || t === 0) - for (const a of String(t).split(" ")) - l.push(`rounded-${a}`); +const hn = H({ rounded: { type: [Boolean, Number, String], default: void 0 } }, "rounded"); +function bn(e) { + let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : un(); + return { roundedClasses: v(() => { + const n = On(e) ? e.value : e.rounded, l = []; + if (n === !0 || n === "") + l.push(`${t}--rounded`); + else if (typeof n == "string" || n === 0) + for (const o of String(n).split(" ")) + l.push(`rounded-${o}`); return l; }) }; } -const er = [null, "default", "comfortable", "compact"], ut = q({ density: { type: String, default: "default", validator: (e) => er.includes(e) } }, "density"); -function Ct(e) { - let n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : st(); - return { densityClasses: f(() => `${n}--density-${e.density}`) }; -} -const tr = ["elevated", "flat", "tonal", "outlined", "text", "plain"]; -function Pn(e, n) { - return d(we, null, [e && d("span", { key: "overlay", class: `${n}__overlay` }, null), d("span", { key: "underlay", class: `${n}__underlay` }, null)]); -} -const Vt = q({ color: String, variant: { type: String, default: "elevated", validator: (e) => tr.includes(e) } }, "variant"); -function An(e) { - let n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : st(); - const t = f(() => { - const { variant: i } = r(e); - return `${n}--variant-${i}`; - }), { colorClasses: l, colorStyles: a } = Xl(f(() => { - const { variant: i, color: c } = r(e); - return { [["elevated", "flat"].includes(i) ? "background" : "text"]: c }; +const er = [null, "default", "comfortable", "compact"], cn = H({ density: { type: String, default: "default", validator: (e) => er.includes(e) } }, "density"); +function Cn(e) { + let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : un(); + return { densityClasses: v(() => `${t}--density-${e.density}`) }; +} +const nr = ["elevated", "flat", "tonal", "outlined", "text", "plain"]; +function At(e, t) { + return d(Fe, null, [e && d("span", { key: "overlay", class: `${t}__overlay` }, null), d("span", { key: "underlay", class: `${t}__underlay` }, null)]); +} +const kn = H({ color: String, variant: { type: String, default: "elevated", validator: (e) => nr.includes(e) } }, "variant"); +function _t(e) { + let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : un(); + const n = v(() => { + const { variant: a } = r(e); + return `${t}--variant-${a}`; + }), { colorClasses: l, colorStyles: o } = Xl(v(() => { + const { variant: a, color: c } = r(e); + return { [["elevated", "flat"].includes(a) ? "background" : "text"]: c }; })); - return { colorClasses: l, colorStyles: a, variantClasses: t }; -} -const Vi = q({ divided: Boolean, ...en(), ...ye(), ...ut(), ...nn(), ...ht(), ...et(), ...Ne(), ...Vt() }, "VBtnGroup"), Oa = te()({ name: "VBtnGroup", props: Vi(), setup(e, n) { - let { slots: t } = n; - const { themeClasses: l } = Xe(e), { densityClasses: a } = Ct(e), { borderClasses: i } = tn(e), { elevationClasses: c } = ln(e), { roundedClasses: u } = pt(e); - Qt({ VBtn: { height: "auto", color: ae(e, "color"), density: ae(e, "density"), flat: !0, variant: ae(e, "variant") } }), se(() => d(e.tag, { class: ["v-btn-group", { "v-btn-group--divided": e.divided }, l.value, i.value, a.value, c.value, u.value, e.class], style: e.style }, t)); -} }), ki = q({ modelValue: { type: null, default: void 0 }, multiple: Boolean, mandatory: [Boolean, String], max: Number, selectedClass: String, disabled: Boolean }, "group"), xi = q({ value: null, disabled: Boolean, selectedClass: String }, "group-item"); -function wi(e, n) { - let t = !(arguments.length > 2 && arguments[2] !== void 0) || arguments[2]; + return { colorClasses: l, colorStyles: o, variantClasses: n }; +} +const ka = H({ divided: Boolean, ...nt(), ...ye(), ...cn(), ...lt(), ...hn(), ...en(), ...Ne(), ...kn() }, "VBtnGroup"), Po = ne()({ name: "VBtnGroup", props: ka(), setup(e, t) { + let { slots: n } = t; + const { themeClasses: l } = Xe(e), { densityClasses: o } = Cn(e), { borderClasses: a } = tt(e), { elevationClasses: c } = ot(e), { roundedClasses: u } = bn(e); + et({ VBtn: { height: "auto", color: oe(e, "color"), density: oe(e, "density"), flat: !0, variant: oe(e, "variant") } }), se(() => d(e.tag, { class: ["v-btn-group", { "v-btn-group--divided": e.divided }, l.value, a.value, o.value, c.value, u.value, e.class], style: e.style }, n)); +} }), wa = H({ modelValue: { type: null, default: void 0 }, multiple: Boolean, mandatory: [Boolean, String], max: Number, selectedClass: String, disabled: Boolean }, "group"), Fa = H({ value: null, disabled: Boolean, selectedClass: String }, "group-item"); +function Va(e, t) { + let n = !(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 a = nt(); - tt(Symbol.for(`${n.description}:id`), a); - const i = ge(n, null); - if (!i) { - if (!t) - return i; - throw new Error(`[Vuetify] Could not find useGroup injection with symbol ${n.description}`); - } - const c = ae(e, "value"), u = f(() => !(!i.disabled.value && !e.disabled)); - i.register({ id: a, value: c, disabled: u }, l), yt(() => { - i.unregister(a); + const o = tn(); + nn(Symbol.for(`${t.description}:id`), o); + const a = me(t, null); + if (!a) { + if (!n) + return a; + throw new Error(`[Vuetify] Could not find useGroup injection with symbol ${t.description}`); + } + const c = oe(e, "value"), u = v(() => !(!a.disabled.value && !e.disabled)); + a.register({ id: o, value: c, disabled: u }, l), mn(() => { + a.unregister(o); }); - const s = f(() => i.isSelected(a)), o = f(() => s.value && [i.selectedClass.value, e.selectedClass]); - return K(s, (v) => { - l.emit("group:selected", { value: v }); - }), { id: a, isSelected: s, toggle: () => i.select(a, !s.value), select: (v) => i.select(a, v), selectedClass: o, value: c, disabled: u, group: i }; + const s = v(() => a.isSelected(o)), i = v(() => s.value && [a.selectedClass.value, e.selectedClass]); + return K(s, (p) => { + l.emit("group:selected", { value: p }); + }), { id: o, isSelected: s, toggle: () => a.select(o, !s.value), select: (p) => a.select(o, p), selectedClass: i, value: c, disabled: u, group: a }; } -function Fi(e, n) { - let t = !1; - const l = lt([]), a = _e(e, "modelValue", [], (o) => o == null ? [] : Ta(l, dt(o)), (o) => { - const v = function(y, m) { - const g = []; - return m.forEach((p) => { - const C = y.findIndex((h) => h.id === p); - if (~C) { - const h = y[C]; - g.push(h.value != null ? h.value : C); +function Aa(e, t) { + let n = !1; + const l = ln([]), o = $e(e, "modelValue", [], (i) => i == null ? [] : $o(l, pn(i)), (i) => { + const p = function(y, f) { + const m = []; + return f.forEach((h) => { + const b = y.findIndex((g) => g.id === h); + if (~b) { + const g = y[b]; + m.push(g.value != null ? g.value : b); } - }), g; - }(l, o); - return e.multiple ? v : v[0]; - }), i = Le("useGroup"); + }), m; + }(l, i); + return e.multiple ? p : p[0]; + }), a = Le("useGroup"); function c() { - const o = l.find((v) => !v.disabled); - o && e.mandatory === "force" && !a.value.length && (a.value = [o.id]); - } - function u(o) { - if (e.multiple && hn('This method is not supported when using "multiple" prop'), a.value.length) { - const v = a.value[0], y = l.findIndex((p) => p.id === v); - let m = (y + o) % l.length, g = l[m]; - for (; g.disabled && m !== y; ) - m = (m + o) % l.length, g = l[m]; - if (g.disabled) + const i = l.find((p) => !p.disabled); + i && e.mandatory === "force" && !o.value.length && (o.value = [i.id]); + } + function u(i) { + if (e.multiple && gt('This method is not supported when using "multiple" prop'), o.value.length) { + const p = o.value[0], y = l.findIndex((h) => h.id === p); + let f = (y + i) % l.length, m = l[f]; + for (; m.disabled && f !== y; ) + f = (f + i) % l.length, m = l[f]; + if (m.disabled) return; - a.value = [l[m].id]; + o.value = [l[f].id]; } else { - const v = l.find((y) => !y.disabled); - v && (a.value = [v.id]); + const p = l.find((y) => !y.disabled); + p && (o.value = [p.id]); } } - qt(() => { + Yn(() => { c(); - }), yt(() => { - t = !0; + }), mn(() => { + n = !0; }); - const s = { register: function(o, v) { - const y = o, m = Wn(Symbol.for(`${n.description}:id`), i == null ? void 0 : i.vnode).indexOf(v); - m > -1 ? l.splice(m, 0, y) : l.push(y); - }, unregister: function(o) { - if (t) + const s = { register: function(i, p) { + const y = i, f = Rt(Symbol.for(`${t.description}:id`), a == null ? void 0 : a.vnode).indexOf(p); + f > -1 ? l.splice(f, 0, y) : l.push(y); + }, unregister: function(i) { + if (n) return; c(); - const v = l.findIndex((y) => y.id === o); - l.splice(v, 1); - }, selected: a, select: function(o, v) { - const y = l.find((m) => m.id === o); - if (!v || !(y != null && y.disabled)) + const p = l.findIndex((y) => y.id === i); + l.splice(p, 1); + }, selected: o, select: function(i, p) { + const y = l.find((f) => f.id === i); + if (!p || !(y != null && y.disabled)) if (e.multiple) { - const m = a.value.slice(), g = m.findIndex((C) => C === o), p = ~g; - if (v = v ?? !p, p && e.mandatory && m.length <= 1 || !p && e.max != null && m.length + 1 > e.max) + const f = o.value.slice(), m = f.findIndex((b) => b === i), h = ~m; + if (p = p ?? !h, h && e.mandatory && f.length <= 1 || !h && e.max != null && f.length + 1 > e.max) return; - g < 0 && v ? m.push(o) : g >= 0 && !v && m.splice(g, 1), a.value = m; + m < 0 && p ? f.push(i) : m >= 0 && !p && f.splice(m, 1), o.value = f; } else { - const m = a.value.includes(o); - if (e.mandatory && m) + const f = o.value.includes(i); + if (e.mandatory && f) return; - a.value = v ?? !m ? [o] : []; + o.value = p ?? !f ? [i] : []; } - }, disabled: ae(e, "disabled"), prev: () => u(l.length - 1), next: () => u(1), isSelected: (o) => a.value.includes(o), selectedClass: f(() => e.selectedClass), items: f(() => l), getItemIndex: (o) => function(v, y) { - const m = Ta(v, [y]); - return m.length ? v.findIndex((g) => g.id === m[0]) : -1; - }(l, o) }; - return tt(n, s), s; -} -function Ta(e, n) { - const t = []; - return n.forEach((l) => { - const a = e.find((c) => Zt(l, c.value)), i = e[l]; - (a == null ? void 0 : a.value) != null ? t.push(a.id) : i != null && t.push(i.id); - }), t; -} -const Pi = Symbol.for("vuetify:v-btn-toggle"), nr = q({ ...Vi(), ...ki() }, "VBtnToggle"); -te()({ name: "VBtnToggle", props: nr(), emits: { "update:modelValue": (e) => !0 }, setup(e, n) { - let { slots: t } = n; - const { isSelected: l, next: a, prev: i, select: c, selected: u } = Fi(e, Pi); + }, disabled: oe(e, "disabled"), prev: () => u(l.length - 1), next: () => u(1), isSelected: (i) => o.value.includes(i), selectedClass: v(() => e.selectedClass), items: v(() => l), getItemIndex: (i) => function(p, y) { + const f = $o(p, [y]); + return f.length ? p.findIndex((m) => m.id === f[0]) : -1; + }(l, i) }; + return nn(t, s), s; +} +function $o(e, t) { + const n = []; + return t.forEach((l) => { + const o = e.find((c) => Qn(l, c.value)), a = e[l]; + (o == null ? void 0 : o.value) != null ? n.push(o.id) : a != null && n.push(a.id); + }), n; +} +const _a = Symbol.for("vuetify:v-btn-toggle"), tr = H({ ...ka(), ...wa() }, "VBtnToggle"); +ne()({ name: "VBtnToggle", props: tr(), emits: { "update:modelValue": (e) => !0 }, setup(e, t) { + let { slots: n } = t; + const { isSelected: l, next: o, prev: a, select: c, selected: u } = Aa(e, _a); return se(() => { - const s = Oa.filterProps(e); - return d(Oa, Z({ class: ["v-btn-toggle", e.class] }, s, { style: e.style }), { default: () => { - var o; - return [(o = t.default) == null ? void 0 : o.call(t, { isSelected: l, next: a, prev: i, select: c, selected: u })]; + const s = Po.filterProps(e); + return d(Po, Z({ class: ["v-btn-toggle", e.class] }, s, { style: e.style }), { default: () => { + var i; + return [(i = n.default) == null ? void 0 : i.call(n, { isSelected: l, next: o, prev: a, select: c, selected: u })]; } }); - }), { next: a, prev: i, select: c }; + }), { next: o, prev: a, select: c }; } }); -const be = [String, Function, Object, Array], lr = Symbol.for("vuetify:icons"), Zn = q({ icon: { type: be }, tag: { type: String, required: !0 } }, "icon"), _a = te()({ name: "VComponentIcon", props: Zn(), setup(e, n) { - let { slots: t } = n; +const Ce = [String, Function, Object, Array], lr = Symbol.for("vuetify:icons"), Zt = H({ icon: { type: Ce }, tag: { type: String, required: !0 } }, "icon"), Eo = ne()({ name: "VComponentIcon", props: Zt(), setup(e, t) { + let { slots: n } = t; return () => { const l = e.icon; return d(e.tag, null, { default: () => { - var a; - return [e.icon ? d(l, null, null) : (a = t.default) == null ? void 0 : a.call(t)]; + var o; + return [e.icon ? d(l, null, null) : (o = n.default) == null ? void 0 : o.call(n)]; } }); }; -} }), ar = Cn({ name: "VSvgIcon", inheritAttrs: !1, props: Zn(), setup(e, n) { - let { attrs: t } = n; - return () => d(e.tag, Z(t, { style: null }), { default: () => [d("svg", { class: "v-icon__svg", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", role: "img", "aria-hidden": "true" }, [Array.isArray(e.icon) ? e.icon.map((l) => Array.isArray(l) ? d("path", { d: l[0], "fill-opacity": l[1] }, null) : d("path", { d: l }, null)) : d("path", { d: e.icon }, null)])] }); +} }), or = bt({ name: "VSvgIcon", inheritAttrs: !1, props: Zt(), setup(e, t) { + let { attrs: n } = t; + return () => d(e.tag, Z(n, { style: null }), { default: () => [d("svg", { class: "v-icon__svg", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", role: "img", "aria-hidden": "true" }, [Array.isArray(e.icon) ? e.icon.map((l) => Array.isArray(l) ? d("path", { d: l[0], "fill-opacity": l[1] }, null) : d("path", { d: l }, null)) : d("path", { d: e.icon }, null)])] }); } }); -Cn({ name: "VLigatureIcon", props: Zn(), setup: (e) => () => d(e.tag, null, { default: () => [e.icon] }) }), Cn({ name: "VClassIcon", props: Zn(), setup: (e) => () => d(e.tag, { class: e.icon }, null) }); -const ir = ["x-small", "small", "default", "large", "x-large"], On = q({ size: { type: [String, Number], default: "default" } }, "size"); -function Tn(e) { - let n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : st(); +bt({ name: "VLigatureIcon", props: Zt(), setup: (e) => () => d(e.tag, null, { default: () => [e.icon] }) }), bt({ name: "VClassIcon", props: Zt(), setup: (e) => () => d(e.tag, { class: e.icon }, null) }); +const ar = ["x-small", "small", "default", "large", "x-large"], Ot = H({ size: { type: [String, Number], default: "default" } }, "size"); +function Pt(e) { + let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : un(); return Nl(() => { - let t, l; - return jn(ir, e.size) ? t = `${n}--size-${e.size}` : e.size && (l = { width: ie(e.size), height: ie(e.size) }), { sizeClasses: t, sizeStyles: l }; + let n, l; + return qt(ar, e.size) ? n = `${t}--size-${e.size}` : e.size && (l = { width: ae(e.size), height: ae(e.size) }), { sizeClasses: n, sizeStyles: l }; }); } -const or = q({ color: String, start: Boolean, end: Boolean, icon: be, ...ye(), ...On(), ...et({ tag: "i" }), ...Ne() }, "VIcon"), Ie = te()({ name: "VIcon", props: or(), setup(e, n) { - let { attrs: t, slots: l } = n; - const a = D(), { themeClasses: i } = Xe(e), { iconData: c } = ((v) => { - const y = ge(lr); +const ir = H({ color: String, start: Boolean, end: Boolean, icon: Ce, ...ye(), ...Ot(), ...en({ tag: "i" }), ...Ne() }, "VIcon"), Se = ne()({ name: "VIcon", props: ir(), setup(e, t) { + let { attrs: n, slots: l } = t; + const o = D(), { themeClasses: a } = Xe(e), { iconData: c } = ((p) => { + const y = me(lr); if (!y) throw new Error("Missing Vuetify Icons provide!"); - return { iconData: f(() => { - var h; - const m = r(v); - if (!m) - return { component: _a }; - let g = m; - if (typeof g == "string" && (g = g.trim(), g.startsWith("$") && (g = (h = y.aliases) == null ? void 0 : h[g.slice(1)])), !g) - throw new Error(`Could not find aliased icon "${m}"`); - if (Array.isArray(g)) - return { component: ar, icon: g }; - if (typeof g != "string") - return { component: _a, icon: g }; - const p = Object.keys(y.sets).find((b) => typeof g == "string" && g.startsWith(`${b}:`)), C = p ? g.slice(p.length + 1) : g; - return { component: y.sets[p ?? y.defaultSet].component, icon: C }; + return { iconData: v(() => { + var g; + const f = r(p); + if (!f) + return { component: Eo }; + let m = f; + if (typeof m == "string" && (m = m.trim(), m.startsWith("$") && (m = (g = y.aliases) == null ? void 0 : g[m.slice(1)])), !m) + throw new Error(`Could not find aliased icon "${f}"`); + if (Array.isArray(m)) + return { component: or, icon: m }; + if (typeof m != "string") + return { component: Eo, icon: m }; + const h = Object.keys(y.sets).find((C) => typeof m == "string" && m.startsWith(`${C}:`)), b = h ? m.slice(h.length + 1) : m; + return { component: y.sets[h ?? y.defaultSet].component, icon: b }; }) }; - })(f(() => a.value || e.icon)), { sizeClasses: u } = Tn(e), { textColorClasses: s, textColorStyles: o } = mt(ae(e, "color")); + })(v(() => o.value || e.icon)), { sizeClasses: u } = Pt(e), { textColorClasses: s, textColorStyles: i } = yn(oe(e, "color")); return se(() => { - var y, m; - const v = (y = l.default) == null ? void 0 : y.call(l); - return v && (a.value = (m = oi(v).filter((g) => g.type === xo && g.children && typeof g.children == "string")[0]) == null ? void 0 : m.children), d(c.value.component, { tag: e.tag, icon: c.value.icon, class: ["v-icon", "notranslate", i.value, u.value, s.value, { "v-icon--clickable": !!t.onClick, "v-icon--start": e.start, "v-icon--end": e.end }, e.class], style: [u.value ? void 0 : { fontSize: ie(e.size), height: ie(e.size), width: ie(e.size) }, o.value, e.style], role: t.onClick ? "button" : void 0, "aria-hidden": !t.onClick }, { default: () => [v] }); + var y, f; + const p = (y = l.default) == null ? void 0 : y.call(l); + return p && (o.value = (f = ra(p).filter((m) => m.type === wi && m.children && typeof m.children == "string")[0]) == null ? void 0 : f.children), d(c.value.component, { tag: e.tag, icon: c.value.icon, class: ["v-icon", "notranslate", a.value, u.value, s.value, { "v-icon--clickable": !!n.onClick, "v-icon--start": e.start, "v-icon--end": e.end }, e.class], style: [u.value ? void 0 : { fontSize: ae(e.size), height: ae(e.size), width: ae(e.size) }, i.value, e.style], role: n.onClick ? "button" : void 0, "aria-hidden": !n.onClick }, { default: () => [p] }); }), {}; } }); -function Ai(e, n) { - const t = D(), l = de(!1); - if (Wl) { - const a = new IntersectionObserver((i) => { - e == null || e(i, a), l.value = !!i.find((c) => c.isIntersecting); - }, n); - yt(() => { - a.disconnect(); - }), K(t, (i, c) => { - c && (a.unobserve(c), l.value = !1), i && a.observe(i); +function Oa(e, t) { + const n = D(), l = de(!1); + if (Rl) { + const o = new IntersectionObserver((a) => { + e == null || e(a, o), l.value = !!a.find((c) => c.isIntersecting); + }, t); + mn(() => { + o.disconnect(); + }), K(n, (a, c) => { + c && (o.unobserve(c), l.value = !1), a && o.observe(a); }, { flush: "post" }); } - return { intersectionRef: t, isIntersecting: l }; + return { intersectionRef: n, isIntersecting: l }; } -const rr = q({ 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 }, ...ye(), ...On(), ...et({ tag: "div" }), ...Ne() }, "VProgressCircular"), Oi = te()({ name: "VProgressCircular", props: rr(), setup(e, n) { - let { slots: t } = n; - const l = 2 * Math.PI * 20, a = D(), { themeClasses: i } = Xe(e), { sizeClasses: c, sizeStyles: u } = Tn(e), { textColorClasses: s, textColorStyles: o } = mt(ae(e, "color")), { textColorClasses: v, textColorStyles: y } = mt(ae(e, "bgColor")), { intersectionRef: m, isIntersecting: g } = Ai(), { resizeRef: p, contentRect: C } = jl(), h = f(() => Math.max(0, Math.min(100, parseFloat(e.modelValue)))), b = f(() => Number(e.width)), x = f(() => u.value ? Number(e.size) : C.value ? C.value.width : Math.max(b.value, 32)), O = f(() => 20 / (1 - b.value / x.value) * 2), H = f(() => b.value / x.value * O.value), $ = f(() => ie((100 - h.value) / 100 * l)); - return ot(() => { - m.value = a.value, p.value = a.value; - }), se(() => d(e.tag, { ref: a, class: ["v-progress-circular", { "v-progress-circular--indeterminate": !!e.indeterminate, "v-progress-circular--visible": g.value, "v-progress-circular--disable-shrink": e.indeterminate === "disable-shrink" }, i.value, c.value, s.value, e.class], style: [u.value, o.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 ${O.value} ${O.value}` }, [d("circle", { class: ["v-progress-circular__underlay", v.value], style: y.value, fill: "transparent", cx: "50%", cy: "50%", r: 20, "stroke-width": H.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": H.value, "stroke-dasharray": l, "stroke-dashoffset": $.value }, null)]), t.default && d("div", { class: "v-progress-circular__content" }, [t.default({ value: h.value })])] })), {}; -} }), Ea = { center: "center", top: "bottom", bottom: "top", left: "right", right: "left" }, Kl = q({ location: String }, "location"); +const rr = 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 }, ...ye(), ...Ot(), ...en({ tag: "div" }), ...Ne() }, "VProgressCircular"), Pa = ne()({ name: "VProgressCircular", props: rr(), setup(e, t) { + let { slots: n } = t; + const l = 2 * Math.PI * 20, o = D(), { themeClasses: a } = Xe(e), { sizeClasses: c, sizeStyles: u } = Pt(e), { textColorClasses: s, textColorStyles: i } = yn(oe(e, "color")), { textColorClasses: p, textColorStyles: y } = yn(oe(e, "bgColor")), { intersectionRef: f, isIntersecting: m } = Oa(), { resizeRef: h, contentRect: b } = ql(), g = v(() => Math.max(0, Math.min(100, parseFloat(e.modelValue)))), C = v(() => Number(e.width)), w = v(() => u.value ? Number(e.size) : b.value ? b.value.width : Math.max(C.value, 32)), O = v(() => 20 / (1 - C.value / w.value) * 2), G = v(() => C.value / w.value * O.value), T = v(() => ae((100 - g.value) / 100 * l)); + return rn(() => { + f.value = o.value, h.value = o.value; + }), se(() => d(e.tag, { ref: o, class: ["v-progress-circular", { "v-progress-circular--indeterminate": !!e.indeterminate, "v-progress-circular--visible": m.value, "v-progress-circular--disable-shrink": e.indeterminate === "disable-shrink" }, a.value, c.value, s.value, e.class], style: [u.value, i.value, e.style], role: "progressbar", "aria-valuemin": "0", "aria-valuemax": "100", "aria-valuenow": e.indeterminate ? void 0 : g.value }, { default: () => [d("svg", { style: { transform: `rotate(calc(-90deg + ${Number(e.rotate)}deg))` }, xmlns: "http://www.w3.org/2000/svg", viewBox: `0 0 ${O.value} ${O.value}` }, [d("circle", { class: ["v-progress-circular__underlay", p.value], style: y.value, fill: "transparent", cx: "50%", cy: "50%", r: 20, "stroke-width": G.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": G.value, "stroke-dasharray": l, "stroke-dashoffset": T.value }, null)]), n.default && d("div", { class: "v-progress-circular__content" }, [n.default({ value: g.value })])] })), {}; +} }), To = { center: "center", top: "bottom", bottom: "top", left: "right", right: "left" }, Kl = H({ location: String }, "location"); function Jl(e) { - let n = arguments.length > 1 && arguments[1] !== void 0 && arguments[1], t = arguments.length > 2 ? arguments[2] : void 0; - const { isRtl: l } = wn(); - return { locationStyles: f(() => { + let t = arguments.length > 1 && arguments[1] !== void 0 && arguments[1], n = arguments.length > 2 ? arguments[2] : void 0; + const { isRtl: l } = Ft(); + return { locationStyles: v(() => { if (!e.location) return {}; - const { side: i, align: c } = kl(e.location.split(" ").length > 1 ? e.location : `${e.location} center`, l.value); - function u(o) { - return t ? t(o) : 0; + const { side: a, align: c } = kl(e.location.split(" ").length > 1 ? e.location : `${e.location} center`, l.value); + function u(i) { + return n ? n(i) : 0; } const s = {}; - return i !== "center" && (n ? s[Ea[i]] = `calc(100% - ${u(i)}px)` : s[i] = 0), c !== "center" ? n ? s[Ea[c]] = `calc(100% - ${u(c)}px)` : s[c] = 0 : (i === "center" ? s.top = s.left = "50%" : s[{ top: "left", bottom: "left", left: "top", right: "top" }[i]] = "50%", s.transform = { top: "translateX(-50%)", bottom: "translateX(-50%)", left: "translateY(-50%)", right: "translateY(-50%)", center: "translate(-50%, -50%)" }[i]), s; + return a !== "center" && (t ? s[To[a]] = `calc(100% - ${u(a)}px)` : s[a] = 0), c !== "center" ? t ? s[To[c]] = `calc(100% - ${u(c)}px)` : s[c] = 0 : (a === "center" ? s.top = s.left = "50%" : s[{ top: "left", bottom: "left", left: "top", right: "top" }[a]] = "50%", s.transform = { top: "translateX(-50%)", bottom: "translateX(-50%)", left: "translateY(-50%)", right: "translateY(-50%)", center: "translate(-50%, -50%)" }[a]), s; }) }; } -const sr = q({ 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, ...ye(), ...Kl({ location: "top" }), ...ht(), ...et(), ...Ne() }, "VProgressLinear"), ur = te()({ name: "VProgressLinear", props: sr(), emits: { "update:modelValue": (e) => !0 }, setup(e, n) { - let { slots: t } = n; - const l = _e(e, "modelValue"), { isRtl: a, rtlClasses: i } = wn(), { themeClasses: c } = Xe(e), { locationStyles: u } = Jl(e), { textColorClasses: s, textColorStyles: o } = mt(e, "color"), { backgroundColorClasses: v, backgroundColorStyles: y } = Ht(f(() => e.bgColor || e.color)), { backgroundColorClasses: m, backgroundColorStyles: g } = Ht(e, "color"), { roundedClasses: p } = pt(e), { intersectionRef: C, isIntersecting: h } = Ai(), b = f(() => parseInt(e.max, 10)), x = f(() => parseInt(e.height, 10)), O = f(() => parseFloat(e.bufferValue) / b.value * 100), H = f(() => parseFloat(l.value) / b.value * 100), $ = f(() => a.value !== e.reverse), _ = f(() => e.indeterminate ? "fade-transition" : "slide-x-transition"), W = f(() => e.bgOpacity == null ? e.bgOpacity : parseFloat(e.bgOpacity)); - function T(I) { - if (!C.value) +const sr = 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, ...ye(), ...Kl({ location: "top" }), ...hn(), ...en(), ...Ne() }, "VProgressLinear"), ur = ne()({ name: "VProgressLinear", props: sr(), emits: { "update:modelValue": (e) => !0 }, setup(e, t) { + let { slots: n } = t; + const l = $e(e, "modelValue"), { isRtl: o, rtlClasses: a } = Ft(), { themeClasses: c } = Xe(e), { locationStyles: u } = Jl(e), { textColorClasses: s, textColorStyles: i } = yn(e, "color"), { backgroundColorClasses: p, backgroundColorStyles: y } = Un(v(() => e.bgColor || e.color)), { backgroundColorClasses: f, backgroundColorStyles: m } = Un(e, "color"), { roundedClasses: h } = bn(e), { intersectionRef: b, isIntersecting: g } = Oa(), C = v(() => parseInt(e.max, 10)), w = v(() => parseInt(e.height, 10)), O = v(() => parseFloat(e.bufferValue) / C.value * 100), G = v(() => parseFloat(l.value) / C.value * 100), T = v(() => o.value !== e.reverse), $ = v(() => e.indeterminate ? "fade-transition" : "slide-x-transition"), R = v(() => e.bgOpacity == null ? e.bgOpacity : parseFloat(e.bgOpacity)); + function P(S) { + if (!b.value) return; - const { left: P, right: S, width: w } = C.value.getBoundingClientRect(), A = $.value ? w - I.clientX + (S - w) : I.clientX - P; - l.value = Math.round(A / w * b.value); + const { left: A, right: I, width: F } = b.value.getBoundingClientRect(), _ = T.value ? F - S.clientX + (I - F) : S.clientX - A; + l.value = Math.round(_ / F * C.value); } - return se(() => d(e.tag, { ref: C, 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 }, p.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 ? ie(x.value) : 0, "--v-progress-linear-height": ie(x.value), ...u.value }, e.style], role: "progressbar", "aria-hidden": e.active ? "false" : "true", "aria-valuemin": "0", "aria-valuemax": e.max, "aria-valuenow": e.indeterminate ? void 0 : H.value, onClick: e.clickable && T }, { default: () => [e.stream && d("div", { key: "stream", class: ["v-progress-linear__stream", s.value], style: { ...o.value, [$.value ? "left" : "right"]: ie(-x.value), borderTop: `${ie(x.value / 2)} dotted`, opacity: W.value, top: `calc(50% - ${ie(x.value / 4)})`, width: ie(100 - O.value, "%"), "--v-progress-linear-stream-to": ie(x.value * ($.value ? 1 : -1)) } }, null), d("div", { class: ["v-progress-linear__background", v.value], style: [y.value, { opacity: W.value, width: ie(e.stream ? O.value : 100, "%") }] }, null), d(Ft, { name: _.value }, { default: () => [e.indeterminate ? d("div", { class: "v-progress-linear__indeterminate" }, [["long", "short"].map((I) => d("div", { key: I, class: ["v-progress-linear__indeterminate", I, m.value], style: g.value }, null))]) : d("div", { class: ["v-progress-linear__determinate", m.value], style: [g.value, { width: ie(H.value, "%") }] }, null)] }), t.default && d("div", { class: "v-progress-linear__content" }, [t.default({ value: H.value, buffer: O.value })])] })), {}; -} }), Zl = q({ loading: [Boolean, String] }, "loader"); -function il(e) { - let n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : st(); - return { loaderClasses: f(() => ({ [`${n}--loading`]: e.loading })) }; + return se(() => d(e.tag, { ref: b, class: ["v-progress-linear", { "v-progress-linear--absolute": e.absolute, "v-progress-linear--active": e.active && g.value, "v-progress-linear--reverse": T.value, "v-progress-linear--rounded": e.rounded, "v-progress-linear--rounded-bar": e.roundedBar, "v-progress-linear--striped": e.striped }, h.value, c.value, a.value, e.class], style: [{ bottom: e.location === "bottom" ? 0 : void 0, top: e.location === "top" ? 0 : void 0, height: e.active ? ae(w.value) : 0, "--v-progress-linear-height": ae(w.value), ...u.value }, e.style], role: "progressbar", "aria-hidden": e.active ? "false" : "true", "aria-valuemin": "0", "aria-valuemax": e.max, "aria-valuenow": e.indeterminate ? void 0 : G.value, onClick: e.clickable && P }, { default: () => [e.stream && d("div", { key: "stream", class: ["v-progress-linear__stream", s.value], style: { ...i.value, [T.value ? "left" : "right"]: ae(-w.value), borderTop: `${ae(w.value / 2)} dotted`, opacity: R.value, top: `calc(50% - ${ae(w.value / 4)})`, width: ae(100 - O.value, "%"), "--v-progress-linear-stream-to": ae(w.value * (T.value ? 1 : -1)) } }, null), d("div", { class: ["v-progress-linear__background", p.value], style: [y.value, { opacity: R.value, width: ae(e.stream ? O.value : 100, "%") }] }, null), d(An, { name: $.value }, { default: () => [e.indeterminate ? d("div", { class: "v-progress-linear__indeterminate" }, [["long", "short"].map((S) => d("div", { key: S, class: ["v-progress-linear__indeterminate", S, f.value], style: m.value }, null))]) : d("div", { class: ["v-progress-linear__determinate", f.value], style: [m.value, { width: ae(G.value, "%") }] }, null)] }), n.default && d("div", { class: "v-progress-linear__content" }, [n.default({ value: G.value, buffer: O.value })])] })), {}; +} }), Zl = H({ loading: [Boolean, String] }, "loader"); +function al(e) { + let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : un(); + return { loaderClasses: v(() => ({ [`${t}--loading`]: e.loading })) }; } -function Ql(e, n) { +function Ql(e, t) { var l; - let { slots: t } = n; - return d("div", { class: `${e.name}__loader` }, [((l = t.default) == null ? void 0 : l.call(t, { color: e.color, isActive: e.active })) || d(ur, { absolute: e.absolute, active: e.active, color: e.color, height: "2", indeterminate: !0 }, null)]); + let { slots: n } = t; + return d("div", { class: `${e.name}__loader` }, [((l = n.default) == null ? void 0 : l.call(n, { color: e.color, isActive: e.active })) || d(ur, { absolute: e.absolute, active: e.active, color: e.color, height: "2", indeterminate: !0 }, null)]); } -const cr = ["static", "relative", "fixed", "absolute", "sticky"], Ti = q({ position: { type: String, validator: (e) => cr.includes(e) } }, "position"); -function _i(e) { - let n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : st(); - return { positionClasses: f(() => e.position ? `${n}--${e.position}` : void 0) }; +const cr = ["static", "relative", "fixed", "absolute", "sticky"], $a = H({ position: { type: String, validator: (e) => cr.includes(e) } }, "position"); +function Ea(e) { + let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : un(); + return { positionClasses: v(() => e.position ? `${t}--${e.position}` : void 0) }; } -function ol(e, n) { - const t = wo("RouterLink"), l = f(() => !(!e.href && !e.to)), a = f(() => (l == null ? void 0 : l.value) || da(n, "click") || da(e, "click")); - if (typeof t == "string") - return { isLink: l, isClickable: a, href: ae(e, "href") }; - const i = e.to ? t.useLink(e) : void 0, c = function() { +function il(e, t) { + const n = Fi("RouterLink"), l = v(() => !(!e.href && !e.to)), o = v(() => (l == null ? void 0 : l.value) || po(t, "click") || po(e, "click")); + if (typeof n == "string") + return { isLink: l, isClickable: o, href: oe(e, "href") }; + const a = e.to ? n.useLink(e) : void 0, c = function() { const u = Le("useRoute"); - return f(() => { + return v(() => { var s; return (s = u == null ? void 0 : u.proxy) == null ? void 0 : s.$route; }); }(); - return { isLink: l, isClickable: a, route: i == null ? void 0 : i.route, navigate: i == null ? void 0 : i.navigate, isActive: i && f(() => { - var u, s, o; - return e.exact ? c.value ? ((u = i.isExactActive) == null ? void 0 : u.value) && Zt(i.route.value.query, c.value.query) : (s = i.isExactActive) == null ? void 0 : s.value : (o = i.isActive) == null ? void 0 : o.value; - }), href: f(() => e.to ? i == null ? void 0 : i.route.value.href : e.href) }; -} -const rl = q({ href: String, replace: Boolean, to: [String, Object], exact: Boolean }, "router"); -let hl = !1; -const xl = Symbol("rippleStop"), dr = 80; -function $a(e, n) { - e.style.transform = n, e.style.webkitTransform = n; -} -function wl(e) { + return { isLink: l, isClickable: o, route: a == null ? void 0 : a.route, navigate: a == null ? void 0 : a.navigate, isActive: a && v(() => { + var u, s, i; + return e.exact ? c.value ? ((u = a.isExactActive) == null ? void 0 : u.value) && Qn(a.route.value.query, c.value.query) : (s = a.isExactActive) == null ? void 0 : s.value : (i = a.isActive) == null ? void 0 : i.value; + }), href: v(() => e.to ? a == null ? void 0 : a.route.value.href : e.href) }; +} +const rl = H({ href: String, replace: Boolean, to: [String, Object], exact: Boolean }, "router"); +let gl = !1; +const wl = Symbol("rippleStop"), dr = 80; +function zo(e, t) { + e.style.transform = t, e.style.webkitTransform = t; +} +function Fl(e) { return e.constructor.name === "TouchEvent"; } -function Ei(e) { +function Ta(e) { return e.constructor.name === "KeyboardEvent"; } -const Qn = { show(e, n) { - var g; - let t = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}; - if (!((g = n == null ? void 0 : n._ripple) != null && g.enabled)) +const Qt = { show(e, t) { + var m; + let n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}; + if (!((m = t == null ? void 0 : t._ripple) != null && m.enabled)) return; - const l = document.createElement("span"), a = document.createElement("span"); - l.appendChild(a), l.className = "v-ripple__container", t.class && (l.className += ` ${t.class}`); - const { radius: i, scale: c, x: u, y: s, centerX: o, centerY: v } = function(p, C) { - var W; - let h = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, b = 0, x = 0; - if (!Ei(p)) { - const T = C.getBoundingClientRect(), I = wl(p) ? p.touches[p.touches.length - 1] : p; - b = I.clientX - T.left, x = I.clientY - T.top; + const l = document.createElement("span"), o = document.createElement("span"); + l.appendChild(o), l.className = "v-ripple__container", n.class && (l.className += ` ${n.class}`); + const { radius: a, scale: c, x: u, y: s, centerX: i, centerY: p } = function(h, b) { + var R; + let g = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, C = 0, w = 0; + if (!Ta(h)) { + const P = b.getBoundingClientRect(), S = Fl(h) ? h.touches[h.touches.length - 1] : h; + C = S.clientX - P.left, w = S.clientY - P.top; } - let O = 0, H = 0.3; - (W = C._ripple) != null && W.circle ? (H = 0.15, O = C.clientWidth / 2, O = h.center ? O : O + Math.sqrt((b - O) ** 2 + (x - O) ** 2) / 4) : O = Math.sqrt(C.clientWidth ** 2 + C.clientHeight ** 2) / 2; - const $ = (C.clientWidth - 2 * O) / 2 + "px", _ = (C.clientHeight - 2 * O) / 2 + "px"; - return { radius: O, scale: H, x: h.center ? $ : b - O + "px", y: h.center ? _ : x - O + "px", centerX: $, centerY: _ }; - }(e, n, t), y = 2 * i + "px"; - a.className = "v-ripple__animation", a.style.width = y, a.style.height = y, n.appendChild(l); - const m = window.getComputedStyle(n); - m && m.position === "static" && (n.style.position = "relative", n.dataset.previousPosition = "static"), a.classList.add("v-ripple__animation--enter"), a.classList.add("v-ripple__animation--visible"), $a(a, `translate(${u}, ${s}) 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"), $a(a, `translate(${o}, ${v}) scale3d(1,1,1)`); + let O = 0, G = 0.3; + (R = b._ripple) != null && R.circle ? (G = 0.15, O = b.clientWidth / 2, O = g.center ? O : O + Math.sqrt((C - O) ** 2 + (w - O) ** 2) / 4) : O = Math.sqrt(b.clientWidth ** 2 + b.clientHeight ** 2) / 2; + const T = (b.clientWidth - 2 * O) / 2 + "px", $ = (b.clientHeight - 2 * O) / 2 + "px"; + return { radius: O, scale: G, x: g.center ? T : C - O + "px", y: g.center ? $ : w - O + "px", centerX: T, centerY: $ }; + }(e, t, n), y = 2 * a + "px"; + o.className = "v-ripple__animation", o.style.width = y, o.style.height = y, t.appendChild(l); + const f = window.getComputedStyle(t); + f && f.position === "static" && (t.style.position = "relative", t.dataset.previousPosition = "static"), o.classList.add("v-ripple__animation--enter"), o.classList.add("v-ripple__animation--visible"), zo(o, `translate(${u}, ${s}) scale3d(${c},${c},${c})`), o.dataset.activated = String(performance.now()), setTimeout(() => { + o.classList.remove("v-ripple__animation--enter"), o.classList.add("v-ripple__animation--in"), zo(o, `translate(${i}, ${p}) scale3d(1,1,1)`); }, 0); }, hide(e) { - var i; - if (!((i = e == null ? void 0 : e._ripple) != null && i.enabled)) + var a; + if (!((a = e == null ? void 0 : e._ripple) != null && a.enabled)) return; - const n = e.getElementsByClassName("v-ripple__animation"); - if (n.length === 0) + const t = e.getElementsByClassName("v-ripple__animation"); + if (t.length === 0) return; - const t = n[n.length - 1]; - if (t.dataset.isHiding) + const n = t[t.length - 1]; + if (n.dataset.isHiding) return; - t.dataset.isHiding = "true"; - const l = performance.now() - Number(t.dataset.activated), a = Math.max(250 - l, 0); + n.dataset.isHiding = "true"; + const l = performance.now() - Number(n.dataset.activated), o = Math.max(250 - l, 0); setTimeout(() => { - t.classList.remove("v-ripple__animation--in"), t.classList.add("v-ripple__animation--out"), setTimeout(() => { + n.classList.remove("v-ripple__animation--in"), n.classList.add("v-ripple__animation--out"), setTimeout(() => { var c; - e.getElementsByClassName("v-ripple__animation").length === 1 && e.dataset.previousPosition && (e.style.position = e.dataset.previousPosition, delete e.dataset.previousPosition), ((c = t.parentNode) == null ? void 0 : c.parentNode) === e && e.removeChild(t.parentNode); + e.getElementsByClassName("v-ripple__animation").length === 1 && e.dataset.previousPosition && (e.style.position = e.dataset.previousPosition, delete e.dataset.previousPosition), ((c = n.parentNode) == null ? void 0 : c.parentNode) === e && e.removeChild(n.parentNode); }, 300); - }, a); + }, o); } }; -function $i(e) { +function za(e) { return e === void 0 || !!e; } -function bn(e) { - const n = {}, t = e.currentTarget; - if (t != null && t._ripple && !t._ripple.touched && !e[xl]) { - if (e[xl] = !0, wl(e)) - t._ripple.touched = !0, t._ripple.isTouch = !0; - else if (t._ripple.isTouch) +function Ct(e) { + const t = {}, n = e.currentTarget; + if (n != null && n._ripple && !n._ripple.touched && !e[wl]) { + if (e[wl] = !0, Fl(e)) + n._ripple.touched = !0, n._ripple.isTouch = !0; + else if (n._ripple.isTouch) return; - if (n.center = t._ripple.centered || Ei(e), t._ripple.class && (n.class = t._ripple.class), wl(e)) { - if (t._ripple.showTimerCommit) + if (t.center = n._ripple.centered || Ta(e), n._ripple.class && (t.class = n._ripple.class), Fl(e)) { + if (n._ripple.showTimerCommit) return; - t._ripple.showTimerCommit = () => { - Qn.show(e, t, n); - }, t._ripple.showTimer = window.setTimeout(() => { + n._ripple.showTimerCommit = () => { + Qt.show(e, n, t); + }, n._ripple.showTimer = window.setTimeout(() => { var l; - (l = t == null ? void 0 : t._ripple) != null && l.showTimerCommit && (t._ripple.showTimerCommit(), t._ripple.showTimerCommit = null); + (l = n == null ? void 0 : n._ripple) != null && l.showTimerCommit && (n._ripple.showTimerCommit(), n._ripple.showTimerCommit = null); }, dr); } else - Qn.show(e, t, n); + Qt.show(e, n, t); } } -function za(e) { - e[xl] = !0; +function Do(e) { + e[wl] = !0; } function Ze(e) { - const n = e.currentTarget; - if (n != null && n._ripple) { - if (window.clearTimeout(n._ripple.showTimer), e.type === "touchend" && n._ripple.showTimerCommit) - return n._ripple.showTimerCommit(), n._ripple.showTimerCommit = null, void (n._ripple.showTimer = window.setTimeout(() => { + const t = e.currentTarget; + if (t != null && t._ripple) { + if (window.clearTimeout(t._ripple.showTimer), e.type === "touchend" && t._ripple.showTimerCommit) + return t._ripple.showTimerCommit(), t._ripple.showTimerCommit = null, void (t._ripple.showTimer = window.setTimeout(() => { Ze(e); })); window.setTimeout(() => { - n._ripple && (n._ripple.touched = !1); - }), Qn.hide(n); + t._ripple && (t._ripple.touched = !1); + }), Qt.hide(t); } } -function zi(e) { - const n = e.currentTarget; - n != null && n._ripple && (n._ripple.showTimerCommit && (n._ripple.showTimerCommit = null), window.clearTimeout(n._ripple.showTimer)); +function Da(e) { + const t = e.currentTarget; + t != null && t._ripple && (t._ripple.showTimerCommit && (t._ripple.showTimerCommit = null), window.clearTimeout(t._ripple.showTimer)); } -let Sn = !1; -function Di(e) { - Sn || e.keyCode !== ra.enter && e.keyCode !== ra.space || (Sn = !0, bn(e)); +let It = !1; +function La(e) { + It || e.keyCode !== ro.enter && e.keyCode !== ro.space || (It = !0, Ct(e)); } -function Li(e) { - Sn = !1, Ze(e); +function Wa(e) { + It = !1, Ze(e); } -function Ri(e) { - Sn && (Sn = !1, Ze(e)); +function Ma(e) { + It && (It = !1, Ze(e)); } -function Da(e, n, t) { - const { value: l, modifiers: a } = n, i = $i(l); - if (i || Qn.hide(e), e._ripple = e._ripple ?? {}, e._ripple.enabled = i, e._ripple.centered = a.center, e._ripple.circle = a.circle, Il(l) && l.class && (e._ripple.class = l.class), i && !t) { - if (a.stop) - return e.addEventListener("touchstart", za, { passive: !0 }), void e.addEventListener("mousedown", za); - e.addEventListener("touchstart", bn, { passive: !0 }), e.addEventListener("touchend", Ze, { passive: !0 }), e.addEventListener("touchmove", zi, { passive: !0 }), e.addEventListener("touchcancel", Ze), e.addEventListener("mousedown", bn), e.addEventListener("mouseup", Ze), e.addEventListener("mouseleave", Ze), e.addEventListener("keydown", Di), e.addEventListener("keyup", Li), e.addEventListener("blur", Ri), e.addEventListener("dragstart", Ze, { passive: !0 }); +function Lo(e, t, n) { + const { value: l, modifiers: o } = t, a = za(l); + if (a || Qt.hide(e), e._ripple = e._ripple ?? {}, e._ripple.enabled = a, e._ripple.centered = o.center, e._ripple.circle = o.circle, Sl(l) && l.class && (e._ripple.class = l.class), a && !n) { + if (o.stop) + return e.addEventListener("touchstart", Do, { passive: !0 }), void e.addEventListener("mousedown", Do); + e.addEventListener("touchstart", Ct, { passive: !0 }), e.addEventListener("touchend", Ze, { passive: !0 }), e.addEventListener("touchmove", Da, { passive: !0 }), e.addEventListener("touchcancel", Ze), e.addEventListener("mousedown", Ct), e.addEventListener("mouseup", Ze), e.addEventListener("mouseleave", Ze), e.addEventListener("keydown", La), e.addEventListener("keyup", Wa), e.addEventListener("blur", Ma), e.addEventListener("dragstart", Ze, { passive: !0 }); } else - !i && t && Mi(e); + !a && n && Ra(e); } -function Mi(e) { - e.removeEventListener("mousedown", bn), e.removeEventListener("touchstart", bn), e.removeEventListener("touchend", Ze), e.removeEventListener("touchmove", zi), e.removeEventListener("touchcancel", Ze), e.removeEventListener("mouseup", Ze), e.removeEventListener("mouseleave", Ze), e.removeEventListener("keydown", Di), e.removeEventListener("keyup", Li), e.removeEventListener("dragstart", Ze), e.removeEventListener("blur", Ri); +function Ra(e) { + e.removeEventListener("mousedown", Ct), e.removeEventListener("touchstart", Ct), e.removeEventListener("touchend", Ze), e.removeEventListener("touchmove", Da), e.removeEventListener("touchcancel", Ze), e.removeEventListener("mouseup", Ze), e.removeEventListener("mouseleave", Ze), e.removeEventListener("keydown", La), e.removeEventListener("keyup", Wa), e.removeEventListener("dragstart", Ze), e.removeEventListener("blur", Ma); } -const _n = { mounted: function(e, n) { - Da(e, n, !1); +const $t = { mounted: function(e, t) { + Lo(e, t, !1); }, unmounted: function(e) { - delete e._ripple, Mi(e); -}, updated: function(e, n) { - n.value !== n.oldValue && Da(e, n, $i(n.oldValue)); -} }, vr = q({ active: { type: Boolean, default: void 0 }, symbol: { type: null, default: Pi }, flat: Boolean, icon: [Boolean, String, Function, Object], prependIcon: be, appendIcon: be, block: Boolean, slim: Boolean, stacked: Boolean, ripple: { type: [Boolean, Object], default: !0 }, text: String, ...en(), ...ye(), ...ut(), ...zt(), ...nn(), ...xi(), ...Zl(), ...Kl(), ...Ti(), ...ht(), ...rl(), ...On(), ...et({ tag: "button" }), ...Ne(), ...Vt({ variant: "elevated" }) }, "VBtn"), La = te()({ name: "VBtn", directives: { Ripple: _n }, props: vr(), emits: { "group:selected": (e) => !0 }, setup(e, n) { - let { attrs: t, slots: l } = n; - const { themeClasses: a } = Xe(e), { borderClasses: i } = tn(e), { colorClasses: c, colorStyles: u, variantClasses: s } = An(e), { densityClasses: o } = Ct(e), { dimensionStyles: v } = Dt(e), { elevationClasses: y } = ln(e), { loaderClasses: m } = il(e), { locationStyles: g } = Jl(e), { positionClasses: p } = _i(e), { roundedClasses: C } = pt(e), { sizeClasses: h, sizeStyles: b } = Tn(e), x = wi(e, e.symbol, !1), O = ol(e, t), H = f(() => { - var I; - return e.active !== void 0 ? e.active : O.isLink.value ? (I = O.isActive) == null ? void 0 : I.value : x == null ? void 0 : x.isSelected.value; - }), $ = f(() => (x == null ? void 0 : x.disabled.value) || e.disabled), _ = f(() => e.variant === "elevated" && !(e.disabled || e.flat || e.border)), W = f(() => { + delete e._ripple, Ra(e); +}, updated: function(e, t) { + t.value !== t.oldValue && Lo(e, t, za(t.oldValue)); +} }, pr = H({ active: { type: Boolean, default: void 0 }, symbol: { type: null, default: _a }, flat: Boolean, icon: [Boolean, String, Function, Object], prependIcon: Ce, appendIcon: Ce, block: Boolean, slim: Boolean, stacked: Boolean, ripple: { type: [Boolean, Object], default: !0 }, text: String, ...nt(), ...ye(), ...cn(), ...Dn(), ...lt(), ...Fa(), ...Zl(), ...Kl(), ...$a(), ...hn(), ...rl(), ...Ot(), ...en({ tag: "button" }), ...Ne(), ...kn({ variant: "elevated" }) }, "VBtn"), Wo = ne()({ name: "VBtn", directives: { Ripple: $t }, props: pr(), emits: { "group:selected": (e) => !0 }, setup(e, t) { + let { attrs: n, slots: l } = t; + const { themeClasses: o } = Xe(e), { borderClasses: a } = tt(e), { colorClasses: c, colorStyles: u, variantClasses: s } = _t(e), { densityClasses: i } = Cn(e), { dimensionStyles: p } = Ln(e), { elevationClasses: y } = ot(e), { loaderClasses: f } = al(e), { locationStyles: m } = Jl(e), { positionClasses: h } = Ea(e), { roundedClasses: b } = bn(e), { sizeClasses: g, sizeStyles: C } = Pt(e), w = Va(e, e.symbol, !1), O = il(e, n), G = v(() => { + var S; + return e.active !== void 0 ? e.active : O.isLink.value ? (S = O.isActive) == null ? void 0 : S.value : w == null ? void 0 : w.isSelected.value; + }), T = v(() => (w == null ? void 0 : w.disabled.value) || e.disabled), $ = v(() => e.variant === "elevated" && !(e.disabled || e.flat || e.border)), R = v(() => { if (e.value !== void 0 && typeof e.value != "symbol") return Object(e.value) === e.value ? JSON.stringify(e.value, null, 0) : e.value; }); - function T(I) { - var P; - $.value || O.isLink.value && (I.metaKey || I.ctrlKey || I.shiftKey || I.button !== 0 || t.target === "_blank") || ((P = O.navigate) == null || P.call(O, I), x == null || x.toggle()); + function P(S) { + var A; + T.value || O.isLink.value && (S.metaKey || S.ctrlKey || S.shiftKey || S.button !== 0 || n.target === "_blank") || ((A = O.navigate) == null || A.call(O, S), w == null || w.toggle()); } - return function(I, P) { + return function(S, A) { K(() => { - var S; - return (S = I.isActive) == null ? void 0 : S.value; - }, (S) => { - I.isLink.value && S && P && Me(() => { - P(!0); + var I; + return (I = S.isActive) == null ? void 0 : I.value; + }, (I) => { + S.isLink.value && I && A && Me(() => { + A(!0); }); }, { immediate: !0 }); - }(O, x == null ? void 0 : x.select), se(() => { + }(O, w == null ? void 0 : w.select), se(() => { var M, N; - const I = O.isLink.value ? "a" : e.tag, P = !(!e.prependIcon && !l.prepend), S = !(!e.appendIcon && !l.append), w = !(!e.icon || e.icon === !0), A = (x == null ? void 0 : x.isSelected.value) && (!O.isLink.value || ((M = O.isActive) == null ? void 0 : M.value)) || !x || ((N = O.isActive) == null ? void 0 : N.value); - return Ue(d(I, { type: I === "a" ? void 0 : "button", class: ["v-btn", x == null ? void 0 : x.selectedClass.value, { "v-btn--active": H.value, "v-btn--block": e.block, "v-btn--disabled": $.value, "v-btn--elevated": _.value, "v-btn--flat": e.flat, "v-btn--icon": !!e.icon, "v-btn--loading": e.loading, "v-btn--slim": e.slim, "v-btn--stacked": e.stacked }, a.value, i.value, A ? c.value : void 0, o.value, y.value, m.value, p.value, C.value, h.value, s.value, e.class], style: [A ? u.value : void 0, v.value, g.value, b.value, e.style], disabled: $.value || void 0, href: O.href.value, onClick: T, value: W.value }, { default: () => { + const S = O.isLink.value ? "a" : e.tag, A = !(!e.prependIcon && !l.prepend), I = !(!e.appendIcon && !l.append), F = !(!e.icon || e.icon === !0), _ = (w == null ? void 0 : w.isSelected.value) && (!O.isLink.value || ((M = O.isActive) == null ? void 0 : M.value)) || !w || ((N = O.isActive) == null ? void 0 : N.value); + return Ue(d(S, { type: S === "a" ? void 0 : "button", class: ["v-btn", w == null ? void 0 : w.selectedClass.value, { "v-btn--active": G.value, "v-btn--block": e.block, "v-btn--disabled": T.value, "v-btn--elevated": $.value, "v-btn--flat": e.flat, "v-btn--icon": !!e.icon, "v-btn--loading": e.loading, "v-btn--slim": e.slim, "v-btn--stacked": e.stacked }, o.value, a.value, _ ? c.value : void 0, i.value, y.value, f.value, h.value, b.value, g.value, s.value, e.class], style: [_ ? u.value : void 0, p.value, m.value, C.value, e.style], disabled: T.value || void 0, href: O.href.value, onClick: P, value: R.value }, { default: () => { var k; - return [Pn(!0, "v-btn"), !e.icon && P && d("span", { key: "prepend", class: "v-btn__prepend" }, [l.prepend ? d(Ge, { key: "prepend-defaults", disabled: !e.prependIcon, defaults: { VIcon: { icon: e.prependIcon } } }, l.prepend) : d(Ie, { key: "prepend-icon", icon: e.prependIcon }, null)]), d("span", { class: "v-btn__content", "data-no-activator": "" }, [!l.default && w ? d(Ie, { key: "content-icon", icon: e.icon }, null) : d(Ge, { key: "content-defaults", disabled: !w, defaults: { VIcon: { icon: e.icon } } }, { default: () => { + return [At(!0, "v-btn"), !e.icon && A && d("span", { key: "prepend", class: "v-btn__prepend" }, [l.prepend ? d(je, { key: "prepend-defaults", disabled: !e.prependIcon, defaults: { VIcon: { icon: e.prependIcon } } }, l.prepend) : d(Se, { key: "prepend-icon", icon: e.prependIcon }, null)]), d("span", { class: "v-btn__content", "data-no-activator": "" }, [!l.default && F ? d(Se, { key: "content-icon", icon: e.icon }, null) : d(je, { key: "content-defaults", disabled: !F, defaults: { VIcon: { icon: e.icon } } }, { default: () => { var B; return [((B = l.default) == null ? void 0 : B.call(l)) ?? e.text]; - } })]), !e.icon && S && d("span", { key: "append", class: "v-btn__append" }, [l.append ? d(Ge, { key: "append-defaults", disabled: !e.appendIcon, defaults: { VIcon: { icon: e.appendIcon } } }, l.append) : d(Ie, { key: "append-icon", icon: e.appendIcon }, null)]), !!e.loading && d("span", { key: "loader", class: "v-btn__loader" }, [((k = l.loader) == null ? void 0 : k.call(l)) ?? d(Oi, { color: typeof e.loading == "boolean" ? void 0 : e.loading, indeterminate: !0, size: "23", width: "2" }, null)])]; - } }), [[gt("ripple"), !$.value && e.ripple, null]]); + } })]), !e.icon && I && d("span", { key: "append", class: "v-btn__append" }, [l.append ? d(je, { key: "append-defaults", disabled: !e.appendIcon, defaults: { VIcon: { icon: e.appendIcon } } }, l.append) : d(Se, { key: "append-icon", icon: e.appendIcon }, null)]), !!e.loading && d("span", { key: "loader", class: "v-btn__loader" }, [((k = l.loader) == null ? void 0 : k.call(l)) ?? d(Pa, { color: typeof e.loading == "boolean" ? void 0 : e.loading, indeterminate: !0, size: "23", width: "2" }, null)])]; + } }), [[gn("ripple"), !T.value && e.ripple, null]]); }), {}; -} }), fr = q({ text: String, clickable: Boolean, ...ye(), ...Ne() }, "VLabel"), Wi = te()({ name: "VLabel", props: fr(), setup(e, n) { - let { slots: t } = n; +} }), vr = H({ text: String, clickable: Boolean, ...ye(), ...Ne() }, "VLabel"), Na = ne()({ name: "VLabel", props: vr(), setup(e, t) { + let { slots: n } = t; return se(() => { var l; - return d("label", { class: ["v-label", { "v-label--clickable": e.clickable }, e.class], style: e.style }, [e.text, (l = t.default) == null ? void 0 : l.call(t)]); + return d("label", { class: ["v-label", { "v-label--clickable": e.clickable }, e.class], style: e.style }, [e.text, (l = n.default) == null ? void 0 : l.call(n)]); }), {}; -} }), Ni = Symbol.for("vuetify:selection-control-group"), Gi = q({ color: String, disabled: { type: Boolean, default: null }, defaultsTarget: String, error: Boolean, id: String, inline: Boolean, falseIcon: be, trueIcon: be, ripple: { type: Boolean, default: !0 }, multiple: { type: Boolean, default: null }, name: String, readonly: { type: Boolean, default: null }, modelValue: null, type: String, valueComparator: { type: Function, default: Zt }, ...ye(), ...ut(), ...Ne() }, "SelectionControlGroup"), mr = q({ ...Gi({ defaultsTarget: "VSelectionControl" }) }, "VSelectionControlGroup"); -te()({ name: "VSelectionControlGroup", props: mr(), emits: { "update:modelValue": (e) => !0 }, setup(e, n) { - let { slots: t } = n; - const l = _e(e, "modelValue"), a = nt(), i = f(() => e.id || `v-selection-control-group-${a}`), c = f(() => e.name || i.value), u = /* @__PURE__ */ new Set(); - return tt(Ni, { modelValue: l, forceUpdate: () => { +} }), ja = Symbol.for("vuetify:selection-control-group"), Ga = H({ color: String, disabled: { type: Boolean, default: null }, defaultsTarget: String, error: Boolean, id: String, inline: Boolean, falseIcon: Ce, trueIcon: Ce, ripple: { type: Boolean, default: !0 }, multiple: { type: Boolean, default: null }, name: String, readonly: { type: Boolean, default: null }, modelValue: null, type: String, valueComparator: { type: Function, default: Qn }, ...ye(), ...cn(), ...Ne() }, "SelectionControlGroup"), fr = H({ ...Ga({ defaultsTarget: "VSelectionControl" }) }, "VSelectionControlGroup"); +ne()({ name: "VSelectionControlGroup", props: fr(), emits: { "update:modelValue": (e) => !0 }, setup(e, t) { + let { slots: n } = t; + const l = $e(e, "modelValue"), o = tn(), a = v(() => e.id || `v-selection-control-group-${o}`), c = v(() => e.name || a.value), u = /* @__PURE__ */ new Set(); + return nn(ja, { modelValue: l, forceUpdate: () => { u.forEach((s) => s()); }, onForceUpdate: (s) => { - u.add(s), qe(() => { + u.add(s), He(() => { u.delete(s); }); - } }), Qt({ [e.defaultsTarget]: { color: ae(e, "color"), disabled: ae(e, "disabled"), density: ae(e, "density"), error: ae(e, "error"), inline: ae(e, "inline"), modelValue: l, multiple: f(() => !!e.multiple || e.multiple == null && Array.isArray(l.value)), name: c, falseIcon: ae(e, "falseIcon"), trueIcon: ae(e, "trueIcon"), readonly: ae(e, "readonly"), ripple: ae(e, "ripple"), type: ae(e, "type"), valueComparator: ae(e, "valueComparator") } }), se(() => { + } }), et({ [e.defaultsTarget]: { color: oe(e, "color"), disabled: oe(e, "disabled"), density: oe(e, "density"), error: oe(e, "error"), inline: oe(e, "inline"), modelValue: l, multiple: v(() => !!e.multiple || e.multiple == null && Array.isArray(l.value)), name: c, falseIcon: oe(e, "falseIcon"), trueIcon: oe(e, "trueIcon"), readonly: oe(e, "readonly"), ripple: oe(e, "ripple"), type: oe(e, "type"), valueComparator: oe(e, "valueComparator") } }), se(() => { var s; - return d("div", { class: ["v-selection-control-group", { "v-selection-control-group--inline": e.inline }, e.class], style: e.style, role: e.type === "radio" ? "radiogroup" : void 0 }, [(s = t.default) == null ? void 0 : s.call(t)]); + return d("div", { class: ["v-selection-control-group", { "v-selection-control-group--inline": e.inline }, e.class], style: e.style, role: e.type === "radio" ? "radiogroup" : void 0 }, [(s = n.default) == null ? void 0 : s.call(n)]); }), {}; } }); -const ea = q({ label: String, baseColor: String, trueValue: null, falseValue: null, value: null, ...ye(), ...Gi() }, "VSelectionControl"), el = te()({ name: "VSelectionControl", directives: { Ripple: _n }, inheritAttrs: !1, props: ea(), emits: { "update:modelValue": (e) => !0 }, setup(e, n) { - let { attrs: t, slots: l } = n; - const { group: a, densityClasses: i, icon: c, model: u, textColorClasses: s, textColorStyles: o, backgroundColorClasses: v, backgroundColorStyles: y, trueValue: m } = function($) { - const _ = ge(Ni, void 0), { densityClasses: W } = Ct($), T = _e($, "modelValue"), I = f(() => $.trueValue !== void 0 ? $.trueValue : $.value === void 0 || $.value), P = f(() => $.falseValue !== void 0 && $.falseValue), S = f(() => !!$.multiple || $.multiple == null && Array.isArray(T.value)), w = f({ get() { - const V = _ ? _.modelValue.value : T.value; - return S.value ? dt(V).some((F) => $.valueComparator(F, I.value)) : $.valueComparator(V, I.value); - }, set(V) { - if ($.readonly) +const eo = H({ label: String, baseColor: String, trueValue: null, falseValue: null, value: null, ...ye(), ...Ga() }, "VSelectionControl"), el = ne()({ name: "VSelectionControl", directives: { Ripple: $t }, inheritAttrs: !1, props: eo(), emits: { "update:modelValue": (e) => !0 }, setup(e, t) { + let { attrs: n, slots: l } = t; + const { group: o, densityClasses: a, icon: c, model: u, textColorClasses: s, textColorStyles: i, backgroundColorClasses: p, backgroundColorStyles: y, trueValue: f } = function(T) { + const $ = me(ja, void 0), { densityClasses: R } = Cn(T), P = $e(T, "modelValue"), S = v(() => T.trueValue !== void 0 ? T.trueValue : T.value === void 0 || T.value), A = v(() => T.falseValue !== void 0 && T.falseValue), I = v(() => !!T.multiple || T.multiple == null && Array.isArray(P.value)), F = v({ get() { + const x = $ ? $.modelValue.value : P.value; + return I.value ? pn(x).some((V) => T.valueComparator(V, S.value)) : T.valueComparator(x, S.value); + }, set(x) { + if (T.readonly) return; - const F = V ? I.value : P.value; - let G = F; - S.value && (G = V ? [...dt(T.value), F] : dt(T.value).filter((L) => !$.valueComparator(L, I.value))), _ ? _.modelValue.value = G : T.value = G; - } }), { textColorClasses: A, textColorStyles: M } = mt(f(() => { - if (!$.error && !$.disabled) - return w.value ? $.color : $.baseColor; - })), { backgroundColorClasses: N, backgroundColorStyles: k } = Ht(f(() => !w.value || $.error || $.disabled ? void 0 : $.color)), B = f(() => w.value ? $.trueIcon : $.falseIcon); - return { group: _, densityClasses: W, trueValue: I, falseValue: P, model: w, textColorClasses: A, textColorStyles: M, backgroundColorClasses: N, backgroundColorStyles: k, icon: B }; - }(e), g = nt(), p = f(() => e.id || `input-${g}`), C = de(!1), h = de(!1), b = D(); - function x($) { - C.value = !0, Yn($.target, ":focus-visible") !== !1 && (h.value = !0); + const V = x ? S.value : A.value; + let j = V; + I.value && (j = x ? [...pn(P.value), V] : pn(P.value).filter((L) => !T.valueComparator(L, S.value))), $ ? $.modelValue.value = j : P.value = j; + } }), { textColorClasses: _, textColorStyles: M } = yn(v(() => { + if (!T.error && !T.disabled) + return F.value ? T.color : T.baseColor; + })), { backgroundColorClasses: N, backgroundColorStyles: k } = Un(v(() => !F.value || T.error || T.disabled ? void 0 : T.color)), B = v(() => F.value ? T.trueIcon : T.falseIcon); + return { group: $, densityClasses: R, trueValue: S, falseValue: A, model: F, textColorClasses: _, textColorStyles: M, backgroundColorClasses: N, backgroundColorStyles: k, icon: B }; + }(e), m = tn(), h = v(() => e.id || `input-${m}`), b = de(!1), g = de(!1), C = D(); + function w(T) { + b.value = !0, Yt(T.target, ":focus-visible") !== !1 && (g.value = !0); } function O() { - C.value = !1, h.value = !1; + b.value = !1, g.value = !1; } - function H($) { - e.readonly && a && Me(() => a.forceUpdate()), u.value = $.target.checked; + function G(T) { + e.readonly && o && Me(() => o.forceUpdate()), u.value = T.target.checked; } - return a == null || a.onForceUpdate(() => { - b.value && (b.value.checked = u.value); + return o == null || o.onForceUpdate(() => { + C.value && (C.value.checked = u.value); }), se(() => { - var I, P; - const $ = l.label ? l.label({ label: e.label, props: { for: p.value } }) : e.label, [_, W] = kn(t), T = d("input", Z({ ref: b, checked: u.value, disabled: !(!e.readonly && !e.disabled), id: p.value, onBlur: O, onFocus: x, onInput: H, "aria-disabled": !(!e.readonly && !e.disabled), type: e.type, value: m.value, name: e.name, "aria-checked": e.type === "checkbox" ? u.value : void 0 }, W), null); - return d("div", Z({ class: ["v-selection-control", { "v-selection-control--dirty": u.value, "v-selection-control--disabled": e.disabled, "v-selection-control--error": e.error, "v-selection-control--focused": C.value, "v-selection-control--focus-visible": h.value, "v-selection-control--inline": e.inline }, i.value, e.class] }, _, { style: e.style }), [d("div", { class: ["v-selection-control__wrapper", s.value], style: o.value }, [(I = l.default) == null ? void 0 : I.call(l, { backgroundColorClasses: v, backgroundColorStyles: y }), Ue(d("div", { class: ["v-selection-control__input"] }, [((P = l.input) == null ? void 0 : P.call(l, { model: u, textColorClasses: s, textColorStyles: o, backgroundColorClasses: v, backgroundColorStyles: y, inputNode: T, icon: c.value, props: { onFocus: x, onBlur: O, id: p.value } })) ?? d(we, null, [c.value && d(Ie, { key: "icon", icon: c.value }, null), T])]), [[gt("ripple"), e.ripple && [!e.disabled && !e.readonly, null, ["center", "circle"]]]])]), $ && d(Wi, { for: p.value, clickable: !0, onClick: (S) => S.stopPropagation() }, { default: () => [$] })]); - }), { isFocused: C, input: b }; -} }), Hi = q({ indeterminate: Boolean, indeterminateIcon: { type: be, default: "$checkboxIndeterminate" }, ...ea({ falseIcon: "$checkboxOff", trueIcon: "$checkboxOn" }) }, "VCheckboxBtn"), Fl = te()({ name: "VCheckboxBtn", props: Hi(), emits: { "update:modelValue": (e) => !0, "update:indeterminate": (e) => !0 }, setup(e, n) { - let { slots: t } = n; - const l = _e(e, "indeterminate"), a = _e(e, "modelValue"); - function i(s) { + var S, A; + const T = l.label ? l.label({ label: e.label, props: { for: h.value } }) : e.label, [$, R] = kt(n), P = d("input", Z({ ref: C, checked: u.value, disabled: !(!e.readonly && !e.disabled), id: h.value, onBlur: O, onFocus: w, onInput: G, "aria-disabled": !(!e.readonly && !e.disabled), type: e.type, value: f.value, name: e.name, "aria-checked": e.type === "checkbox" ? u.value : void 0 }, R), null); + return d("div", Z({ class: ["v-selection-control", { "v-selection-control--dirty": u.value, "v-selection-control--disabled": e.disabled, "v-selection-control--error": e.error, "v-selection-control--focused": b.value, "v-selection-control--focus-visible": g.value, "v-selection-control--inline": e.inline }, a.value, e.class] }, $, { style: e.style }), [d("div", { class: ["v-selection-control__wrapper", s.value], style: i.value }, [(S = l.default) == null ? void 0 : S.call(l, { backgroundColorClasses: p, backgroundColorStyles: y }), Ue(d("div", { class: ["v-selection-control__input"] }, [((A = l.input) == null ? void 0 : A.call(l, { model: u, textColorClasses: s, textColorStyles: i, backgroundColorClasses: p, backgroundColorStyles: y, inputNode: P, icon: c.value, props: { onFocus: w, onBlur: O, id: h.value } })) ?? d(Fe, null, [c.value && d(Se, { key: "icon", icon: c.value }, null), P])]), [[gn("ripple"), e.ripple && [!e.disabled && !e.readonly, null, ["center", "circle"]]]])]), T && d(Na, { for: h.value, clickable: !0, onClick: (I) => I.stopPropagation() }, { default: () => [T] })]); + }), { isFocused: b, input: C }; +} }), Ua = H({ indeterminate: Boolean, indeterminateIcon: { type: Ce, default: "$checkboxIndeterminate" }, ...eo({ falseIcon: "$checkboxOff", trueIcon: "$checkboxOn" }) }, "VCheckboxBtn"), Vl = ne()({ name: "VCheckboxBtn", props: Ua(), emits: { "update:modelValue": (e) => !0, "update:indeterminate": (e) => !0 }, setup(e, t) { + let { slots: n } = t; + const l = $e(e, "indeterminate"), o = $e(e, "modelValue"); + function a(s) { l.value && (l.value = !1); } - const c = f(() => l.value ? e.indeterminateIcon : e.falseIcon), u = f(() => l.value ? e.indeterminateIcon : e.trueIcon); + const c = v(() => l.value ? e.indeterminateIcon : e.falseIcon), u = v(() => l.value ? e.indeterminateIcon : e.trueIcon); return se(() => { - const s = $t(el.filterProps(e), ["modelValue"]); - return d(el, Z(s, { modelValue: a.value, "onUpdate:modelValue": [(o) => a.value = o, i], class: ["v-checkbox-btn", e.class], style: e.style, type: "checkbox", falseIcon: c.value, trueIcon: u.value, "aria-checked": l.value ? "mixed" : void 0 }), t); + const s = zn(el.filterProps(e), ["modelValue"]); + return d(el, Z(s, { modelValue: o.value, "onUpdate:modelValue": [(i) => o.value = i, a], class: ["v-checkbox-btn", e.class], style: e.style, type: "checkbox", falseIcon: c.value, trueIcon: u.value, "aria-checked": l.value ? "mixed" : void 0 }), n); }), {}; } }); -function Ui(e) { - const { t: n } = ql(); - return { InputIcon: function(t) { - let { name: l } = t; - const a = { prepend: "prependAction", prependInner: "prependAction", append: "appendAction", appendInner: "appendAction", clear: "clear" }[l], i = e[`onClick:${l}`], c = i && a ? n(`$vuetify.input.${a}`, e.label ?? "") : void 0; - return d(Ie, { icon: e[`${l}Icon`], "aria-label": c, onClick: i }, null); +function qa(e) { + const { t } = Hl(); + return { InputIcon: function(n) { + let { name: l } = n; + const o = { prepend: "prependAction", prependInner: "prependAction", append: "appendAction", appendInner: "appendAction", clear: "clear" }[l], a = e[`onClick:${l}`], c = a && o ? t(`$vuetify.input.${o}`, e.label ?? "") : void 0; + return d(Se, { icon: e[`${l}Icon`], "aria-label": c, onClick: a }, null); } }; } -const yr = q({ active: Boolean, color: String, messages: { type: [Array, String], default: () => [] }, ...ye(), ...Fn({ transition: { component: bi, leaveAbsolute: !0, group: !0 } }) }, "VMessages"), gr = te()({ name: "VMessages", props: yr(), setup(e, n) { - let { slots: t } = n; - const l = f(() => dt(e.messages)), { textColorClasses: a, textColorStyles: i } = mt(f(() => e.color)); - return se(() => d(bt, { transition: e.transition, tag: "div", class: ["v-messages", a.value, e.class], style: [i.value, e.style], role: "alert", "aria-live": "polite" }, { default: () => [e.active && l.value.map((c, u) => d("div", { class: "v-messages__message", key: `${u}-${l.value}` }, [t.message ? t.message({ message: c }) : c]))] })), {}; -} }), ji = q({ focused: Boolean, "onUpdate:focused": it() }, "focus"); -function En(e) { - let n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : st(); - const t = _e(e, "focused"); - return { focusClasses: f(() => ({ [`${n}--focused`]: t.value })), isFocused: t, focus: function() { - t.value = !0; +const yr = H({ active: Boolean, color: String, messages: { type: [Array, String], default: () => [] }, ...ye(), ...Vt({ transition: { component: Ia, leaveAbsolute: !0, group: !0 } }) }, "VMessages"), mr = ne()({ name: "VMessages", props: yr(), setup(e, t) { + let { slots: n } = t; + const l = v(() => pn(e.messages)), { textColorClasses: o, textColorStyles: a } = yn(v(() => e.color)); + return se(() => d(In, { transition: e.transition, tag: "div", class: ["v-messages", o.value, e.class], style: [a.value, e.style], role: "alert", "aria-live": "polite" }, { default: () => [e.active && l.value.map((c, u) => d("div", { class: "v-messages__message", key: `${u}-${l.value}` }, [n.message ? n.message({ message: c }) : c]))] })), {}; +} }), Ha = H({ focused: Boolean, "onUpdate:focused": an() }, "focus"); +function Et(e) { + let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : un(); + const n = $e(e, "focused"); + return { focusClasses: v(() => ({ [`${t}--focused`]: n.value })), isFocused: n, focus: function() { + n.value = !0; }, blur: function() { - t.value = !1; + n.value = !1; } }; } -const hr = Symbol.for("vuetify:form"); -function qi() { - return ge(hr, null); +const gr = Symbol.for("vuetify:form"); +function Ya() { + return me(gr, null); } -const pr = q({ 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, ...ji() }, "validation"), $n = q({ id: String, appendIcon: be, centerAffix: { type: Boolean, default: !0 }, prependIcon: be, hideDetails: [Boolean, String], hideSpinButtons: Boolean, hint: String, persistentHint: Boolean, messages: { type: [Array, String], default: () => [] }, direction: { type: String, default: "horizontal", validator: (e) => ["horizontal", "vertical"].includes(e) }, "onClick:prepend": it(), "onClick:append": it(), ...ye(), ...ut(), ...pr() }, "VInput"), It = te()({ name: "VInput", props: { ...$n() }, emits: { "update:modelValue": (e) => !0 }, setup(e, n) { - let { attrs: t, slots: l, emit: a } = n; - const { densityClasses: i } = Ct(e), { rtlClasses: c } = wn(), { InputIcon: u } = Ui(e), s = nt(), o = f(() => e.id || `input-${s}`), v = f(() => `${o.value}-messages`), { errorMessages: y, isDirty: m, isDisabled: g, isReadonly: p, isPristine: C, isValid: h, isValidating: b, reset: x, resetValidation: O, validate: H, validationClasses: $ } = function(T) { - let I = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : st(), P = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : nt(); - const S = _e(T, "modelValue"), w = f(() => T.validationValue === void 0 ? S.value : T.validationValue), A = qi(), M = D([]), N = de(!0), k = f(() => !(!dt(S.value === "" ? null : S.value).length && !dt(w.value === "" ? null : w.value).length)), B = f(() => !!(T.disabled ?? (A == null ? void 0 : A.isDisabled.value))), V = f(() => !!(T.readonly ?? (A == null ? void 0 : A.isReadonly.value))), F = f(() => { +const hr = 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, ...Ha() }, "validation"), Tt = H({ id: String, appendIcon: Ce, centerAffix: { type: Boolean, default: !0 }, prependIcon: Ce, hideDetails: [Boolean, String], hideSpinButtons: Boolean, hint: String, persistentHint: Boolean, messages: { type: [Array, String], default: () => [] }, direction: { type: String, default: "horizontal", validator: (e) => ["horizontal", "vertical"].includes(e) }, "onClick:prepend": an(), "onClick:append": an(), ...ye(), ...cn(), ...hr() }, "VInput"), Bn = ne()({ name: "VInput", props: { ...Tt() }, emits: { "update:modelValue": (e) => !0 }, setup(e, t) { + let { attrs: n, slots: l, emit: o } = t; + const { densityClasses: a } = Cn(e), { rtlClasses: c } = Ft(), { InputIcon: u } = qa(e), s = tn(), i = v(() => e.id || `input-${s}`), p = v(() => `${i.value}-messages`), { errorMessages: y, isDirty: f, isDisabled: m, isReadonly: h, isPristine: b, isValid: g, isValidating: C, reset: w, resetValidation: O, validate: G, validationClasses: T } = function(P) { + let S = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : un(), A = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : tn(); + const I = $e(P, "modelValue"), F = v(() => P.validationValue === void 0 ? I.value : P.validationValue), _ = Ya(), M = D([]), N = de(!0), k = v(() => !(!pn(I.value === "" ? null : I.value).length && !pn(F.value === "" ? null : F.value).length)), B = v(() => !!(P.disabled ?? (_ == null ? void 0 : _.isDisabled.value))), x = v(() => !!(P.readonly ?? (_ == null ? void 0 : _.isReadonly.value))), V = v(() => { var Y; - return (Y = T.errorMessages) != null && Y.length ? dt(T.errorMessages).concat(M.value).slice(0, Math.max(0, +T.maxErrors)) : M.value; - }), G = f(() => { - let Y = (T.validateOn ?? (A == null ? void 0 : A.validateOn.value)) || "input"; + return (Y = P.errorMessages) != null && Y.length ? pn(P.errorMessages).concat(M.value).slice(0, Math.max(0, +P.maxErrors)) : M.value; + }), j = v(() => { + let Y = (P.validateOn ?? (_ == null ? void 0 : _.validateOn.value)) || "input"; Y === "lazy" && (Y = "input lazy"); const ee = new Set((Y == null ? void 0 : Y.split(" ")) ?? []); return { blur: ee.has("blur") || ee.has("input"), input: ee.has("input"), submit: ee.has("submit"), lazy: ee.has("lazy") }; - }), L = f(() => { + }), L = v(() => { var Y; - return !T.error && !((Y = T.errorMessages) != null && Y.length) && (!T.rules.length || (N.value ? !M.value.length && !G.value.lazy || null : !M.value.length)); - }), z = de(!1), Q = f(() => ({ [`${I}--error`]: L.value === !1, [`${I}--dirty`]: k.value, [`${I}--disabled`]: B.value, [`${I}--readonly`]: V.value })), E = f(() => T.name ?? r(P)); + return !P.error && !((Y = P.errorMessages) != null && Y.length) && (!P.rules.length || (N.value ? !M.value.length && !j.value.lazy || null : !M.value.length)); + }), z = de(!1), Q = v(() => ({ [`${S}--error`]: L.value === !1, [`${S}--dirty`]: k.value, [`${S}--disabled`]: B.value, [`${S}--readonly`]: x.value })), E = v(() => P.name ?? r(A)); function U() { - S.value = null, Me(R); + I.value = null, Me(W); } - function R() { - N.value = !0, G.value.lazy ? M.value = [] : j(!0); + function W() { + N.value = !0, j.value.lazy ? M.value = [] : q(!0); } - async function j() { + async function q() { let Y = arguments.length > 0 && arguments[0] !== void 0 && arguments[0]; const ee = []; z.value = !0; - for (const ve of T.rules) { - if (ee.length >= +(T.maxErrors ?? 1)) + for (const pe of P.rules) { + if (ee.length >= +(P.maxErrors ?? 1)) break; - const Ce = typeof ve == "function" ? ve : () => ve, he = await Ce(w.value); - he !== !0 && (he === !1 || typeof he == "string" ? ee.push(he || "") : console.warn(`${he} is not a valid value. Rule functions must return boolean true or a string.`)); + const be = typeof pe == "function" ? pe : () => pe, ge = await be(F.value); + ge !== !0 && (ge === !1 || typeof ge == "string" ? ee.push(ge || "") : console.warn(`${ge} is not a valid value. Rule functions must return boolean true or a string.`)); } return M.value = ee, z.value = !1, N.value = Y, M.value; } - return ei(() => { - A == null || A.register({ id: E.value, validate: j, reset: U, resetValidation: R }); - }), yt(() => { - A == null || A.unregister(E.value); - }), qt(async () => { - G.value.lazy || await j(!0), A == null || A.update(E.value, L.value, F.value); - }), wt(() => G.value.input, () => { - K(w, () => { - if (w.value != null) - j(); - else if (T.focused) { - const Y = K(() => T.focused, (ee) => { - ee || j(), Y(); + return na(() => { + _ == null || _.register({ id: E.value, validate: q, reset: U, resetValidation: W }); + }), mn(() => { + _ == null || _.unregister(E.value); + }), Yn(async () => { + j.value.lazy || await q(!0), _ == null || _.update(E.value, L.value, V.value); + }), Vn(() => j.value.input, () => { + K(F, () => { + if (F.value != null) + q(); + else if (P.focused) { + const Y = K(() => P.focused, (ee) => { + ee || q(), Y(); }); } }); - }), wt(() => G.value.blur, () => { - K(() => T.focused, (Y) => { - Y || j(); + }), Vn(() => j.value.blur, () => { + K(() => P.focused, (Y) => { + Y || q(); }); }), K(L, () => { - A == null || A.update(E.value, L.value, F.value); - }), { errorMessages: F, isDirty: k, isDisabled: B, isReadonly: V, isPristine: N, isValid: L, isValidating: z, reset: U, resetValidation: R, validate: j, validationClasses: Q }; - }(e, "v-input", o), _ = f(() => ({ id: o, messagesId: v, isDirty: m, isDisabled: g, isReadonly: p, isPristine: C, isValid: h, isValidating: b, reset: x, resetValidation: O, validate: H })), W = f(() => { - var T; - return (T = e.errorMessages) != null && T.length || !C.value && y.value.length ? y.value : e.hint && (e.persistentHint || e.focused) ? e.hint : e.messages; + _ == null || _.update(E.value, L.value, V.value); + }), { errorMessages: V, isDirty: k, isDisabled: B, isReadonly: x, isPristine: N, isValid: L, isValidating: z, reset: U, resetValidation: W, validate: q, validationClasses: Q }; + }(e, "v-input", i), $ = v(() => ({ id: i, messagesId: p, isDirty: f, isDisabled: m, isReadonly: h, isPristine: b, isValid: g, isValidating: C, reset: w, resetValidation: O, validate: G })), R = v(() => { + var P; + return (P = e.errorMessages) != null && P.length || !b.value && y.value.length ? y.value : e.hint && (e.persistentHint || e.focused) ? e.hint : e.messages; }); return se(() => { - var w, A, M, N; - const T = !(!l.prepend && !e.prependIcon), I = !(!l.append && !e.appendIcon), P = W.value.length > 0, S = !e.hideDetails || e.hideDetails === "auto" && (P || !!l.details); - return d("div", { class: ["v-input", `v-input--${e.direction}`, { "v-input--center-affix": e.centerAffix, "v-input--hide-spin-buttons": e.hideSpinButtons }, i.value, c.value, $.value, e.class], style: e.style }, [T && d("div", { key: "prepend", class: "v-input__prepend" }, [(w = l.prepend) == null ? void 0 : w.call(l, _.value), e.prependIcon && d(u, { key: "prepend-icon", name: "prepend" }, null)]), l.default && d("div", { class: "v-input__control" }, [(A = l.default) == null ? void 0 : A.call(l, _.value)]), I && d("div", { key: "append", class: "v-input__append" }, [e.appendIcon && d(u, { key: "append-icon", name: "append" }, null), (M = l.append) == null ? void 0 : M.call(l, _.value)]), S && d("div", { class: "v-input__details" }, [d(gr, { id: v.value, active: P, messages: W.value }, { message: l.message }), (N = l.details) == null ? void 0 : N.call(l, _.value)])]); - }), { reset: x, resetValidation: O, validate: H, isValid: h, errorMessages: y }; -} }), Cr = q({ ...$n(), ...$t(Hi(), ["inline"]) }, "VCheckbox"), br = te()({ name: "VCheckbox", inheritAttrs: !1, props: Cr(), emits: { "update:modelValue": (e) => !0, "update:focused": (e) => !0 }, setup(e, n) { - let { attrs: t, slots: l } = n; - const a = _e(e, "modelValue"), { isFocused: i, focus: c, blur: u } = En(e), s = nt(), o = f(() => e.id || `checkbox-${s}`); + var F, _, M, N; + const P = !(!l.prepend && !e.prependIcon), S = !(!l.append && !e.appendIcon), A = R.value.length > 0, I = !e.hideDetails || e.hideDetails === "auto" && (A || !!l.details); + return d("div", { class: ["v-input", `v-input--${e.direction}`, { "v-input--center-affix": e.centerAffix, "v-input--hide-spin-buttons": e.hideSpinButtons }, a.value, c.value, T.value, e.class], style: e.style }, [P && d("div", { key: "prepend", class: "v-input__prepend" }, [(F = l.prepend) == null ? void 0 : F.call(l, $.value), e.prependIcon && d(u, { key: "prepend-icon", name: "prepend" }, null)]), l.default && d("div", { class: "v-input__control" }, [(_ = l.default) == null ? void 0 : _.call(l, $.value)]), S && d("div", { key: "append", class: "v-input__append" }, [e.appendIcon && d(u, { key: "append-icon", name: "append" }, null), (M = l.append) == null ? void 0 : M.call(l, $.value)]), I && d("div", { class: "v-input__details" }, [d(mr, { id: p.value, active: A, messages: R.value }, { message: l.message }), (N = l.details) == null ? void 0 : N.call(l, $.value)])]); + }), { reset: w, resetValidation: O, validate: G, isValid: g, errorMessages: y }; +} }), br = H({ ...Tt(), ...zn(Ua(), ["inline"]) }, "VCheckbox"), Cr = ne()({ name: "VCheckbox", inheritAttrs: !1, props: br(), emits: { "update:modelValue": (e) => !0, "update:focused": (e) => !0 }, setup(e, t) { + let { attrs: n, slots: l } = t; + const o = $e(e, "modelValue"), { isFocused: a, focus: c, blur: u } = Et(e), s = tn(), i = v(() => e.id || `checkbox-${s}`); return se(() => { - const [v, y] = kn(t), m = It.filterProps(e), g = Fl.filterProps(e); - return d(It, Z({ class: ["v-checkbox", e.class] }, v, m, { modelValue: a.value, "onUpdate:modelValue": (p) => a.value = p, id: o.value, focused: i.value, style: e.style }), { ...l, default: (p) => { - let { id: C, messagesId: h, isDisabled: b, isReadonly: x } = p; - return d(Fl, Z(g, { id: C.value, "aria-describedby": h.value, disabled: b.value, readonly: x.value }, y, { modelValue: a.value, "onUpdate:modelValue": (O) => a.value = O, onFocus: c, onBlur: u }), l); + const [p, y] = kt(n), f = Bn.filterProps(e), m = Vl.filterProps(e); + return d(Bn, Z({ class: ["v-checkbox", e.class] }, p, f, { modelValue: o.value, "onUpdate:modelValue": (h) => o.value = h, id: i.value, focused: a.value, style: e.style }), { ...l, default: (h) => { + let { id: b, messagesId: g, isDisabled: C, isReadonly: w } = h; + return d(Vl, Z(m, { id: b.value, "aria-describedby": g.value, disabled: C.value, readonly: w.value }, y, { modelValue: o.value, "onUpdate:modelValue": (O) => o.value = O, onFocus: c, onBlur: u }), l); } }); }), {}; -} }), Sr = q({ start: Boolean, end: Boolean, icon: be, image: String, text: String, ...ye(), ...ut(), ...ht(), ...On(), ...et(), ...Ne(), ...Vt({ variant: "flat" }) }, "VAvatar"), Ut = te()({ name: "VAvatar", props: Sr(), setup(e, n) { - let { slots: t } = n; - const { themeClasses: l } = Xe(e), { colorClasses: a, colorStyles: i, variantClasses: c } = An(e), { densityClasses: u } = Ct(e), { roundedClasses: s } = pt(e), { sizeClasses: o, sizeStyles: v } = Tn(e); - return se(() => d(e.tag, { class: ["v-avatar", { "v-avatar--start": e.start, "v-avatar--end": e.end }, l.value, a.value, u.value, s.value, o.value, c.value, e.class], style: [i.value, v.value, e.style] }, { default: () => { +} }), Ir = H({ start: Boolean, end: Boolean, icon: Ce, image: String, text: String, ...ye(), ...cn(), ...hn(), ...Ot(), ...en(), ...Ne(), ...kn({ variant: "flat" }) }, "VAvatar"), qn = ne()({ name: "VAvatar", props: Ir(), setup(e, t) { + let { slots: n } = t; + const { themeClasses: l } = Xe(e), { colorClasses: o, colorStyles: a, variantClasses: c } = _t(e), { densityClasses: u } = Cn(e), { roundedClasses: s } = bn(e), { sizeClasses: i, sizeStyles: p } = Pt(e); + return se(() => d(e.tag, { class: ["v-avatar", { "v-avatar--start": e.start, "v-avatar--end": e.end }, l.value, o.value, u.value, s.value, i.value, c.value, e.class], style: [a.value, p.value, e.style] }, { default: () => { var y; - return [e.image ? d(Bi, { key: "image", src: e.image, alt: "", cover: !0 }, null) : e.icon ? d(Ie, { key: "icon", icon: e.icon }, null) : ((y = t.default) == null ? void 0 : y.call(t)) ?? e.text, Pn(!1, "v-avatar")]; + return [e.image ? d(xa, { key: "image", src: e.image, alt: "", cover: !0 }, null) : e.icon ? d(Se, { key: "icon", icon: e.icon }, null) : ((y = n.default) == null ? void 0 : y.call(n)) ?? e.text, At(!1, "v-avatar")]; } })), {}; -} }), Yi = Symbol.for("vuetify:v-chip-group"), Ir = q({ column: Boolean, filter: Boolean, valueComparator: { type: Function, default: Zt }, ...ye(), ...ki({ selectedClass: "v-chip--selected" }), ...et(), ...Ne(), ...Vt({ variant: "tonal" }) }, "VChipGroup"); -te()({ name: "VChipGroup", props: Ir(), emits: { "update:modelValue": (e) => !0 }, setup(e, n) { - let { slots: t } = n; - const { themeClasses: l } = Xe(e), { isSelected: a, select: i, next: c, prev: u, selected: s } = Fi(e, Yi); - return Qt({ VChip: { color: ae(e, "color"), disabled: ae(e, "disabled"), filter: ae(e, "filter"), variant: ae(e, "variant") } }), se(() => d(e.tag, { class: ["v-chip-group", { "v-chip-group--column": e.column }, l.value, e.class], style: e.style }, { default: () => { - var o; - return [(o = t.default) == null ? void 0 : o.call(t, { isSelected: a, select: i, next: c, prev: u, selected: s.value })]; +} }), Xa = Symbol.for("vuetify:v-chip-group"), Sr = H({ column: Boolean, filter: Boolean, valueComparator: { type: Function, default: Qn }, ...ye(), ...wa({ selectedClass: "v-chip--selected" }), ...en(), ...Ne(), ...kn({ variant: "tonal" }) }, "VChipGroup"); +ne()({ name: "VChipGroup", props: Sr(), emits: { "update:modelValue": (e) => !0 }, setup(e, t) { + let { slots: n } = t; + const { themeClasses: l } = Xe(e), { isSelected: o, select: a, next: c, prev: u, selected: s } = Aa(e, Xa); + return et({ VChip: { color: oe(e, "color"), disabled: oe(e, "disabled"), filter: oe(e, "filter"), variant: oe(e, "variant") } }), se(() => d(e.tag, { class: ["v-chip-group", { "v-chip-group--column": e.column }, l.value, e.class], style: e.style }, { default: () => { + var i; + return [(i = n.default) == null ? void 0 : i.call(n, { isSelected: o, select: a, next: c, prev: u, selected: s.value })]; } })), {}; } }); -const Br = q({ activeClass: String, appendAvatar: String, appendIcon: be, closable: Boolean, closeIcon: { type: be, 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: be, ripple: { type: [Boolean, Object], default: !0 }, text: String, modelValue: { type: Boolean, default: !0 }, onClick: it(), onClickOnce: it(), ...en(), ...ye(), ...ut(), ...nn(), ...xi(), ...ht(), ...rl(), ...On(), ...et({ tag: "span" }), ...Ne(), ...Vt({ variant: "tonal" }) }, "VChip"), Vr = te()({ name: "VChip", directives: { Ripple: _n }, props: Br(), emits: { "click:close": (e) => !0, "update:modelValue": (e) => !0, "group:selected": (e) => !0, click: (e) => !0 }, setup(e, n) { - let { attrs: t, emit: l, slots: a } = n; - const { t: i } = ql(), { borderClasses: c } = tn(e), { colorClasses: u, colorStyles: s, variantClasses: o } = An(e), { densityClasses: v } = Ct(e), { elevationClasses: y } = ln(e), { roundedClasses: m } = pt(e), { sizeClasses: g } = Tn(e), { themeClasses: p } = Xe(e), C = _e(e, "modelValue"), h = wi(e, Yi, !1), b = ol(e, t), x = f(() => e.link !== !1 && b.isLink.value), O = f(() => !e.disabled && e.link !== !1 && (!!h || e.link || b.isClickable.value)), H = f(() => ({ "aria-label": i(e.closeLabel), onClick(W) { - W.stopPropagation(), C.value = !1, l("click:close", W); +const Br = 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: an(), onClickOnce: an(), ...nt(), ...ye(), ...cn(), ...lt(), ...Fa(), ...hn(), ...rl(), ...Ot(), ...en({ tag: "span" }), ...Ne(), ...kn({ variant: "tonal" }) }, "VChip"), xr = ne()({ name: "VChip", directives: { Ripple: $t }, props: Br(), 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: o } = t; + const { t: a } = Hl(), { borderClasses: c } = tt(e), { colorClasses: u, colorStyles: s, variantClasses: i } = _t(e), { densityClasses: p } = Cn(e), { elevationClasses: y } = ot(e), { roundedClasses: f } = bn(e), { sizeClasses: m } = Pt(e), { themeClasses: h } = Xe(e), b = $e(e, "modelValue"), g = Va(e, Xa, !1), C = il(e, n), w = v(() => e.link !== !1 && C.isLink.value), O = v(() => !e.disabled && e.link !== !1 && (!!g || e.link || C.isClickable.value)), G = v(() => ({ "aria-label": a(e.closeLabel), onClick(R) { + R.stopPropagation(), b.value = !1, l("click:close", R); } })); - function $(W) { - var T; - l("click", W), O.value && ((T = b.navigate) == null || T.call(b, W), h == null || h.toggle()); + function T(R) { + var P; + l("click", R), O.value && ((P = C.navigate) == null || P.call(C, R), g == null || g.toggle()); } - function _(W) { - W.key !== "Enter" && W.key !== " " || (W.preventDefault(), $(W)); + function $(R) { + R.key !== "Enter" && R.key !== " " || (R.preventDefault(), T(R)); } return () => { - const W = b.isLink.value ? "a" : e.tag, T = !(!e.appendIcon && !e.appendAvatar), I = !(!T && !a.append), P = !(!a.close && !e.closable), S = !(!a.filter && !e.filter) && h, w = !(!e.prependIcon && !e.prependAvatar), A = !(!w && !a.prepend), M = !h || h.isSelected.value; - return C.value && Ue(d(W, { class: ["v-chip", { "v-chip--disabled": e.disabled, "v-chip--label": e.label, "v-chip--link": O.value, "v-chip--filter": S, "v-chip--pill": e.pill }, p.value, c.value, M ? u.value : void 0, v.value, y.value, m.value, g.value, o.value, h == null ? void 0 : h.selectedClass.value, e.class], style: [M ? s.value : void 0, e.style], disabled: e.disabled || void 0, draggable: e.draggable, href: b.href.value, tabindex: O.value ? 0 : void 0, onClick: $, onKeydown: O.value && !x.value && _ }, { default: () => { + const R = C.isLink.value ? "a" : e.tag, P = !(!e.appendIcon && !e.appendAvatar), S = !(!P && !o.append), A = !(!o.close && !e.closable), I = !(!o.filter && !e.filter) && g, F = !(!e.prependIcon && !e.prependAvatar), _ = !(!F && !o.prepend), M = !g || g.isSelected.value; + return b.value && Ue(d(R, { class: ["v-chip", { "v-chip--disabled": e.disabled, "v-chip--label": e.label, "v-chip--link": O.value, "v-chip--filter": I, "v-chip--pill": e.pill }, h.value, c.value, M ? u.value : void 0, p.value, y.value, f.value, m.value, i.value, g == null ? void 0 : g.selectedClass.value, e.class], style: [M ? s.value : void 0, e.style], disabled: e.disabled || void 0, draggable: e.draggable, href: C.href.value, tabindex: O.value ? 0 : void 0, onClick: T, onKeydown: O.value && !w.value && $ }, { default: () => { var N; - return [Pn(O.value, "v-chip"), S && d(Si, { key: "filter" }, { default: () => [Ue(d("div", { class: "v-chip__filter" }, [a.filter ? d(Ge, { key: "filter-defaults", disabled: !e.filterIcon, defaults: { VIcon: { icon: e.filterIcon } } }, a.filter) : d(Ie, { key: "filter-icon", icon: e.filterIcon }, null)]), [[jt, h.isSelected.value]])] }), A && d("div", { key: "prepend", class: "v-chip__prepend" }, [a.prepend ? d(Ge, { key: "prepend-defaults", disabled: !w, defaults: { VAvatar: { image: e.prependAvatar, start: !0 }, VIcon: { icon: e.prependIcon, start: !0 } } }, a.prepend) : d(we, null, [e.prependIcon && d(Ie, { key: "prepend-icon", icon: e.prependIcon, start: !0 }, null), e.prependAvatar && d(Ut, { key: "prepend-avatar", image: e.prependAvatar, start: !0 }, null)])]), d("div", { class: "v-chip__content" }, [((N = a.default) == null ? void 0 : N.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]), I && d("div", { key: "append", class: "v-chip__append" }, [a.append ? d(Ge, { key: "append-defaults", disabled: !T, defaults: { VAvatar: { end: !0, image: e.appendAvatar }, VIcon: { end: !0, icon: e.appendIcon } } }, a.append) : d(we, null, [e.appendIcon && d(Ie, { key: "append-icon", end: !0, icon: e.appendIcon }, null), e.appendAvatar && d(Ut, { key: "append-avatar", end: !0, image: e.appendAvatar }, null)])]), P && d("div", Z({ key: "close", class: "v-chip__close" }, H.value), [a.close ? d(Ge, { key: "close-defaults", defaults: { VIcon: { icon: e.closeIcon, size: "x-small" } } }, a.close) : d(Ie, { key: "close-icon", icon: e.closeIcon, size: "x-small" }, null)])]; - } }), [[gt("ripple"), O.value && e.ripple, null]]); + return [At(O.value, "v-chip"), I && d(Sa, { key: "filter" }, { default: () => [Ue(d("div", { class: "v-chip__filter" }, [o.filter ? d(je, { key: "filter-defaults", disabled: !e.filterIcon, defaults: { VIcon: { icon: e.filterIcon } } }, o.filter) : d(Se, { key: "filter-icon", icon: e.filterIcon }, null)]), [[Hn, g.isSelected.value]])] }), _ && d("div", { key: "prepend", class: "v-chip__prepend" }, [o.prepend ? d(je, { key: "prepend-defaults", disabled: !F, defaults: { VAvatar: { image: e.prependAvatar, start: !0 }, VIcon: { icon: e.prependIcon, start: !0 } } }, o.prepend) : d(Fe, null, [e.prependIcon && d(Se, { key: "prepend-icon", icon: e.prependIcon, start: !0 }, null), e.prependAvatar && d(qn, { key: "prepend-avatar", image: e.prependAvatar, start: !0 }, null)])]), d("div", { class: "v-chip__content" }, [((N = o.default) == null ? void 0 : N.call(o, { isSelected: g == null ? void 0 : g.isSelected.value, selectedClass: g == null ? void 0 : g.selectedClass.value, select: g == null ? void 0 : g.select, toggle: g == null ? void 0 : g.toggle, value: g == null ? void 0 : g.value.value, disabled: e.disabled })) ?? e.text]), S && d("div", { key: "append", class: "v-chip__append" }, [o.append ? d(je, { key: "append-defaults", disabled: !P, defaults: { VAvatar: { end: !0, image: e.appendAvatar }, VIcon: { end: !0, icon: e.appendIcon } } }, o.append) : d(Fe, null, [e.appendIcon && d(Se, { key: "append-icon", end: !0, icon: e.appendIcon }, null), e.appendAvatar && d(qn, { key: "append-avatar", end: !0, image: e.appendAvatar }, null)])]), A && d("div", Z({ key: "close", class: "v-chip__close" }, G.value), [o.close ? d(je, { key: "close-defaults", defaults: { VIcon: { icon: e.closeIcon, size: "x-small" } } }, o.close) : d(Se, { key: "close-icon", icon: e.closeIcon, size: "x-small" }, null)])]; + } }), [[gn("ripple"), O.value && e.ripple, null]]); }; -} }), Pl = Symbol.for("vuetify:list"); -function Xi() { - const e = ge(Pl, { hasPrepend: de(!1), updateHasPrepend: () => null }), n = { hasPrepend: de(!1), updateHasPrepend: (t) => { - t && (n.hasPrepend.value = t); +} }), Al = Symbol.for("vuetify:list"); +function Ka() { + const e = me(Al, { hasPrepend: de(!1), updateHasPrepend: () => null }), t = { hasPrepend: de(!1), updateHasPrepend: (n) => { + n && (t.hasPrepend.value = n); } }; - return tt(Pl, n), e; + return nn(Al, t), e; } -function Ki() { - return ge(Pl, null); +function Ja() { + return me(Al, null); } const kr = { open: (e) => { - let { id: n, value: t, opened: l, parents: a } = e; - if (t) { - const i = /* @__PURE__ */ new Set(); - i.add(n); - let c = a.get(n); + let { id: t, value: n, opened: l, parents: o } = e; + if (n) { + const a = /* @__PURE__ */ new Set(); + a.add(t); + let c = o.get(t); for (; c != null; ) - i.add(c), c = a.get(c); - return i; - } - return l.delete(n), l; -}, select: () => null }, Ji = { open: (e) => { - let { id: n, value: t, opened: l, parents: a } = e; - if (t) { - let i = a.get(n); - for (l.add(n); i != null && i !== n; ) - l.add(i), i = a.get(i); + a.add(c), c = o.get(c); + return a; + } + return l.delete(t), l; +}, select: () => null }, Za = { open: (e) => { + let { id: t, value: n, opened: l, parents: o } = e; + if (n) { + let a = o.get(t); + for (l.add(t); a != null && a !== t; ) + l.add(a), a = o.get(a); return l; } - return l.delete(n), l; -}, select: () => null }, xr = { open: Ji.open, select: (e) => { - let { id: n, value: t, opened: l, parents: a } = e; - if (!t) + return l.delete(t), l; +}, select: () => null }, wr = { open: Za.open, select: (e) => { + let { id: t, value: n, opened: l, parents: o } = e; + if (!n) return l; - const i = []; - let c = a.get(n); + const a = []; + let c = o.get(t); for (; c != null; ) - i.push(c), c = a.get(c); - return new Set(i); -} }, Al = (e) => { - const n = { select: (t) => { - let { id: l, value: a, selected: i } = t; - if (l = St(l), e && !a) { - const c = Array.from(i.entries()).reduce((u, s) => { - let [o, v] = s; - return v === "on" ? [...u, o] : u; + a.push(c), c = o.get(c); + return new Set(a); +} }, _l = (e) => { + const t = { select: (n) => { + let { id: l, value: o, selected: a } = n; + if (l = Sn(l), e && !o) { + const c = Array.from(a.entries()).reduce((u, s) => { + let [i, p] = s; + return p === "on" ? [...u, i] : u; }, []); if (c.length === 1 && c[0] === l) - return i; + return a; } - return i.set(l, a ? "on" : "off"), i; - }, in: (t, l, a) => { - let i = /* @__PURE__ */ new Map(); - for (const c of t || []) - i = n.select({ id: c, value: !0, selected: new Map(i), children: l, parents: a }); - return i; - }, out: (t) => { + return a.set(l, o ? "on" : "off"), a; + }, in: (n, l, o) => { + let a = /* @__PURE__ */ new Map(); + for (const c of n || []) + a = t.select({ id: c, value: !0, selected: new Map(a), children: l, parents: o }); + return a; + }, out: (n) => { const l = []; - for (const [a, i] of t.entries()) - i === "on" && l.push(a); + for (const [o, a] of n.entries()) + a === "on" && l.push(o); return l; } }; - return n; -}, Ra = (e) => { - const n = Al(e); - return { select: (t) => { - let { selected: l, id: a, ...i } = t; - a = St(a); - const c = l.has(a) ? /* @__PURE__ */ new Map([[a, l.get(a)]]) : /* @__PURE__ */ new Map(); - return n.select({ ...i, id: a, selected: c }); - }, in: (t, l, a) => { - let i = /* @__PURE__ */ new Map(); - return t != null && t.length && (i = n.in(t.slice(0, 1), l, a)), i; - }, out: (t, l, a) => n.out(t, l, a) }; -}, In = Symbol.for("vuetify:nested"), Zi = { id: de(), root: { register: () => null, unregister: () => null, parents: D(/* @__PURE__ */ new Map()), children: D(/* @__PURE__ */ new Map()), open: () => null, openOnSelect: () => null, select: () => null, opened: D(/* @__PURE__ */ new Set()), selected: D(/* @__PURE__ */ new Map()), selectedValues: D([]) } }, wr = q({ selectStrategy: [String, Function], openStrategy: [String, Object], opened: Array, selected: Array, mandatory: Boolean }, "nested"), Fr = (e) => { - let n = !1; - const t = D(/* @__PURE__ */ new Map()), l = D(/* @__PURE__ */ new Map()), a = _e(e, "opened", e.opened, (y) => new Set(y), (y) => [...y.values()]), i = f(() => { + return t; +}, Mo = (e) => { + const t = _l(e); + return { select: (n) => { + let { selected: l, id: o, ...a } = n; + o = Sn(o); + const c = l.has(o) ? /* @__PURE__ */ new Map([[o, l.get(o)]]) : /* @__PURE__ */ new Map(); + return t.select({ ...a, id: o, selected: c }); + }, in: (n, l, o) => { + let a = /* @__PURE__ */ new Map(); + return n != null && n.length && (a = t.in(n.slice(0, 1), l, o)), a; + }, out: (n, l, o) => t.out(n, l, o) }; +}, St = Symbol.for("vuetify:nested"), Qa = { id: de(), root: { register: () => null, unregister: () => null, parents: D(/* @__PURE__ */ new Map()), children: D(/* @__PURE__ */ new Map()), open: () => null, openOnSelect: () => null, select: () => null, opened: D(/* @__PURE__ */ new Set()), selected: D(/* @__PURE__ */ new Map()), selectedValues: D([]) } }, Fr = H({ selectStrategy: [String, Function], openStrategy: [String, Object], opened: Array, selected: Array, mandatory: Boolean }, "nested"), Vr = (e) => { + let t = !1; + const n = D(/* @__PURE__ */ new Map()), l = D(/* @__PURE__ */ new Map()), o = $e(e, "opened", e.opened, (y) => new Set(y), (y) => [...y.values()]), a = v(() => { if (typeof e.selectStrategy == "object") return e.selectStrategy; switch (e.selectStrategy) { case "single-leaf": return ((y) => { - const m = Ra(y); - return { select: (g) => { - let { id: p, selected: C, children: h, ...b } = g; - return p = St(p), h.has(p) ? C : m.select({ id: p, selected: C, children: h, ...b }); - }, in: m.in, out: m.out }; + const f = Mo(y); + return { select: (m) => { + let { id: h, selected: b, children: g, ...C } = m; + return h = Sn(h), g.has(h) ? b : f.select({ id: h, selected: b, children: g, ...C }); + }, in: f.in, out: f.out }; })(e.mandatory); case "leaf": return ((y) => { - const m = Al(y); - return { select: (g) => { - let { id: p, selected: C, children: h, ...b } = g; - return p = St(p), h.has(p) ? C : m.select({ id: p, selected: C, children: h, ...b }); - }, in: m.in, out: m.out }; + const f = _l(y); + return { select: (m) => { + let { id: h, selected: b, children: g, ...C } = m; + return h = Sn(h), g.has(h) ? b : f.select({ id: h, selected: b, children: g, ...C }); + }, in: f.in, out: f.out }; })(e.mandatory); case "independent": - return Al(e.mandatory); + return _l(e.mandatory); case "single-independent": - return Ra(e.mandatory); + return Mo(e.mandatory); default: return ((y) => { - const m = { select: (g) => { - let { id: p, value: C, selected: h, children: b, parents: x } = g; - p = St(p); - const O = new Map(h), H = [p]; - for (; H.length; ) { - const _ = H.shift(); - h.set(_, C ? "on" : "off"), b.has(_) && H.push(...b.get(_)); + const f = { select: (m) => { + let { id: h, value: b, selected: g, children: C, parents: w } = m; + h = Sn(h); + const O = new Map(g), G = [h]; + for (; G.length; ) { + const $ = G.shift(); + g.set($, b ? "on" : "off"), C.has($) && G.push(...C.get($)); } - let $ = x.get(p); - for (; $; ) { - const _ = b.get($), W = _.every((I) => h.get(I) === "on"), T = _.every((I) => !h.has(I) || h.get(I) === "off"); - h.set($, W ? "on" : T ? "off" : "indeterminate"), $ = x.get($); + let T = w.get(h); + for (; T; ) { + const $ = C.get(T), R = $.every((S) => g.get(S) === "on"), P = $.every((S) => !g.has(S) || g.get(S) === "off"); + g.set(T, R ? "on" : P ? "off" : "indeterminate"), T = w.get(T); } - return y && !C && Array.from(h.entries()).reduce((W, T) => { - let [I, P] = T; - return P === "on" ? [...W, I] : W; - }, []).length === 0 ? O : h; - }, in: (g, p, C) => { - let h = /* @__PURE__ */ new Map(); - for (const b of g || []) - h = m.select({ id: b, value: !0, selected: new Map(h), children: p, parents: C }); - return h; - }, out: (g, p) => { - const C = []; - for (const [h, b] of g.entries()) - b !== "on" || p.has(h) || C.push(h); - return C; + return y && !b && Array.from(g.entries()).reduce((R, P) => { + let [S, A] = P; + return A === "on" ? [...R, S] : R; + }, []).length === 0 ? O : g; + }, in: (m, h, b) => { + let g = /* @__PURE__ */ new Map(); + for (const C of m || []) + g = f.select({ id: C, value: !0, selected: new Map(g), children: h, parents: b }); + return g; + }, out: (m, h) => { + const b = []; + for (const [g, C] of m.entries()) + C !== "on" || h.has(g) || b.push(g); + return b; } }; - return m; + return f; })(e.mandatory); } - }), c = f(() => { + }), c = v(() => { if (typeof e.openStrategy == "object") return e.openStrategy; switch (e.openStrategy) { case "list": - return xr; + return wr; case "single": return kr; default: - return Ji; + return Za; } - }), u = _e(e, "selected", e.selected, (y) => i.value.in(y, t.value, l.value), (y) => i.value.out(y, t.value, l.value)); + }), u = $e(e, "selected", e.selected, (y) => a.value.in(y, n.value, l.value), (y) => a.value.out(y, n.value, l.value)); function s(y) { - const m = []; - let g = y; - for (; g != null; ) - m.unshift(g), g = l.value.get(g); - return m; + const f = []; + let m = y; + for (; m != null; ) + f.unshift(m), m = l.value.get(m); + return f; } - yt(() => { - n = !0; + mn(() => { + t = !0; }); - const o = Le("nested"), v = { id: de(), root: { opened: a, selected: u, selectedValues: f(() => { + const i = Le("nested"), p = { id: de(), root: { opened: o, selected: u, selectedValues: v(() => { const y = []; - for (const [m, g] of u.value.entries()) - g === "on" && y.push(m); + for (const [f, m] of u.value.entries()) + m === "on" && y.push(f); return y; - }), register: (y, m, g) => { - m && y !== m && l.value.set(y, m), g && t.value.set(y, []), m != null && t.value.set(m, [...t.value.get(m) || [], y]); + }), register: (y, f, m) => { + f && y !== f && l.value.set(y, f), m && n.value.set(y, []), f != null && n.value.set(f, [...n.value.get(f) || [], y]); }, unregister: (y) => { - if (n) + if (t) return; - t.value.delete(y); - const m = l.value.get(y); - if (m) { - const g = t.value.get(m) ?? []; - t.value.set(m, g.filter((p) => p !== y)); + n.value.delete(y); + const f = l.value.get(y); + if (f) { + const m = n.value.get(f) ?? []; + n.value.set(f, m.filter((h) => h !== y)); } - l.value.delete(y), a.value.delete(y); - }, open: (y, m, g) => { - o.emit("click:open", { id: y, value: m, path: s(y), event: g }); - const p = c.value.open({ id: y, value: m, opened: new Set(a.value), children: t.value, parents: l.value, event: g }); - p && (a.value = p); - }, openOnSelect: (y, m, g) => { - const p = c.value.select({ id: y, value: m, selected: new Map(u.value), opened: new Set(a.value), children: t.value, parents: l.value, event: g }); - p && (a.value = p); - }, select: (y, m, g) => { - o.emit("click:select", { id: y, value: m, path: s(y), event: g }); - const p = i.value.select({ id: y, value: m, selected: new Map(u.value), children: t.value, parents: l.value, event: g }); - p && (u.value = p), v.root.openOnSelect(y, m, g); - }, children: t, parents: l } }; - return tt(In, v), v.root; -}, Qi = (e, n) => { - const t = ge(In, Zi), l = Symbol(nt()), a = f(() => e.value !== void 0 ? e.value : l), i = { ...t, id: a, open: (c, u) => t.root.open(a.value, c, u), openOnSelect: (c, u) => t.root.openOnSelect(a.value, c, u), isOpen: f(() => t.root.opened.value.has(a.value)), parent: f(() => t.root.parents.value.get(a.value)), select: (c, u) => t.root.select(a.value, c, u), isSelected: f(() => t.root.selected.value.get(St(a.value)) === "on"), isIndeterminate: f(() => t.root.selected.value.get(a.value) === "indeterminate"), isLeaf: f(() => !t.root.children.value.get(a.value)), isGroupActivator: t.isGroupActivator }; - return !t.isGroupActivator && t.root.register(a.value, t.id.value, n), yt(() => { - !t.isGroupActivator && t.root.unregister(a.value); - }), n && tt(In, i), i; -}, Pr = Cn({ name: "VListGroupActivator", setup(e, n) { - let { slots: t } = n; + l.value.delete(y), o.value.delete(y); + }, open: (y, f, m) => { + i.emit("click:open", { id: y, value: f, path: s(y), event: m }); + const h = c.value.open({ id: y, value: f, opened: new Set(o.value), children: n.value, parents: l.value, event: m }); + h && (o.value = h); + }, openOnSelect: (y, f, m) => { + const h = c.value.select({ id: y, value: f, selected: new Map(u.value), opened: new Set(o.value), children: n.value, parents: l.value, event: m }); + h && (o.value = h); + }, select: (y, f, m) => { + i.emit("click:select", { id: y, value: f, path: s(y), event: m }); + const h = a.value.select({ id: y, value: f, selected: new Map(u.value), children: n.value, parents: l.value, event: m }); + h && (u.value = h), p.root.openOnSelect(y, f, m); + }, children: n, parents: l } }; + return nn(St, p), p.root; +}, ei = (e, t) => { + const n = me(St, Qa), l = Symbol(tn()), o = v(() => e.value !== void 0 ? e.value : l), a = { ...n, id: o, open: (c, u) => n.root.open(o.value, c, u), openOnSelect: (c, u) => n.root.openOnSelect(o.value, c, u), isOpen: v(() => n.root.opened.value.has(o.value)), parent: v(() => n.root.parents.value.get(o.value)), select: (c, u) => n.root.select(o.value, c, u), isSelected: v(() => n.root.selected.value.get(Sn(o.value)) === "on"), isIndeterminate: v(() => n.root.selected.value.get(o.value) === "indeterminate"), isLeaf: v(() => !n.root.children.value.get(o.value)), isGroupActivator: n.isGroupActivator }; + return !n.isGroupActivator && n.root.register(o.value, n.id.value, t), mn(() => { + !n.isGroupActivator && n.root.unregister(o.value); + }), t && nn(St, a), a; +}, Ar = bt({ name: "VListGroupActivator", setup(e, t) { + let { slots: n } = t; return (() => { - const l = ge(In, Zi); - tt(In, { ...l, isGroupActivator: !0 }); + const l = me(St, Qa); + nn(St, { ...l, isGroupActivator: !0 }); })(), () => { var l; - return (l = t.default) == null ? void 0 : l.call(t); + return (l = n.default) == null ? void 0 : l.call(n); }; -} }), Ar = q({ activeColor: String, baseColor: String, color: String, collapseIcon: { type: be, default: "$collapse" }, expandIcon: { type: be, default: "$expand" }, prependIcon: be, appendIcon: be, fluid: Boolean, subgroup: Boolean, title: String, value: null, ...ye(), ...et() }, "VListGroup"), Ma = te()({ name: "VListGroup", props: Ar(), setup(e, n) { - let { slots: t } = n; - const { isOpen: l, open: a, id: i } = Qi(ae(e, "value"), !0), c = f(() => `v-list-group--id-${String(i.value)}`), u = Ki(), { isBooted: s } = function() { - const g = de(!1); - return qt(() => { +} }), _r = H({ activeColor: String, baseColor: String, color: String, collapseIcon: { type: Ce, default: "$collapse" }, expandIcon: { type: Ce, default: "$expand" }, prependIcon: Ce, appendIcon: Ce, fluid: Boolean, subgroup: Boolean, title: String, value: null, ...ye(), ...en() }, "VListGroup"), Ro = ne()({ name: "VListGroup", props: _r(), setup(e, t) { + let { slots: n } = t; + const { isOpen: l, open: o, id: a } = ei(oe(e, "value"), !0), c = v(() => `v-list-group--id-${String(a.value)}`), u = Ja(), { isBooted: s } = function() { + const m = de(!1); + return Yn(() => { window.requestAnimationFrame(() => { - g.value = !0; + m.value = !0; }); - }), { ssrBootStyles: f(() => g.value ? void 0 : { transition: "none !important" }), isBooted: zl(g) }; + }), { ssrBootStyles: v(() => m.value ? void 0 : { transition: "none !important" }), isBooted: zl(m) }; }(); - function o(g) { - a(!l.value, g); + function i(m) { + o(!l.value, m); } - const v = f(() => ({ onClick: o, class: "v-list-group__header", id: c.value })), y = f(() => l.value ? e.collapseIcon : e.expandIcon), m = f(() => ({ 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 se(() => d(e.tag, { class: ["v-list-group", { "v-list-group--prepend": u == null ? void 0 : u.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: () => [t.activator && d(Ge, { defaults: m.value }, { default: () => [d(Pr, null, { default: () => [t.activator({ props: v.value, isOpen: l.value })] })] }), d(bt, { transition: { component: Jo }, disabled: !s.value }, { default: () => { - var g; - return [Ue(d("div", { class: "v-list-group__items", role: "group", "aria-labelledby": c.value }, [(g = t.default) == null ? void 0 : g.call(t)]), [[jt, l.value]])]; + const p = v(() => ({ onClick: i, 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 se(() => d(e.tag, { class: ["v-list-group", { "v-list-group--prepend": u == null ? void 0 : u.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(je, { defaults: f.value }, { default: () => [d(Ar, null, { default: () => [n.activator({ props: p.value, isOpen: l.value })] })] }), d(In, { transition: { component: Ji }, disabled: !s.value }, { default: () => { + var m; + return [Ue(d("div", { class: "v-list-group__items", role: "group", "aria-labelledby": c.value }, [(m = n.default) == null ? void 0 : m.call(n)]), [[Hn, l.value]])]; } })] })), {}; -} }), Or = xn("v-list-item-subtitle"), Tr = xn("v-list-item-title"), _r = q({ active: { type: Boolean, default: void 0 }, activeClass: String, activeColor: String, appendAvatar: String, appendIcon: be, baseColor: String, disabled: Boolean, lines: String, link: { type: Boolean, default: void 0 }, nav: Boolean, prependAvatar: String, prependIcon: be, ripple: { type: [Boolean, Object], default: !0 }, slim: Boolean, subtitle: [String, Number], title: [String, Number], value: null, onClick: it(), onClickOnce: it(), ...en(), ...ye(), ...ut(), ...zt(), ...nn(), ...ht(), ...rl(), ...et(), ...Ne(), ...Vt({ variant: "text" }) }, "VListItem"), tl = te()({ name: "VListItem", directives: { Ripple: _n }, props: _r(), emits: { click: (e) => !0 }, setup(e, n) { - let { attrs: t, slots: l, emit: a } = n; - const i = ol(e, t), c = f(() => e.value === void 0 ? i.href.value : e.value), { select: u, isSelected: s, isIndeterminate: o, isGroupActivator: v, root: y, parent: m, openOnSelect: g } = Qi(c, !1), p = Ki(), C = f(() => { - var V; - return e.active !== !1 && (e.active || ((V = i.isActive) == null ? void 0 : V.value) || s.value); - }), h = f(() => e.link !== !1 && i.isLink.value), b = f(() => !e.disabled && e.link !== !1 && (e.link || i.isClickable.value || e.value != null && !!p)), x = f(() => e.rounded || e.nav), O = f(() => e.color ?? e.activeColor), H = f(() => ({ color: C.value ? O.value ?? e.baseColor : e.baseColor, variant: e.variant })); +} }), Or = wt("v-list-item-subtitle"), Pr = wt("v-list-item-title"), $r = 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 }, slim: Boolean, subtitle: [String, Number], title: [String, Number], value: null, onClick: an(), onClickOnce: an(), ...nt(), ...ye(), ...cn(), ...Dn(), ...lt(), ...hn(), ...rl(), ...en(), ...Ne(), ...kn({ variant: "text" }) }, "VListItem"), nl = ne()({ name: "VListItem", directives: { Ripple: $t }, props: $r(), emits: { click: (e) => !0 }, setup(e, t) { + let { attrs: n, slots: l, emit: o } = t; + const a = il(e, n), c = v(() => e.value === void 0 ? a.href.value : e.value), { select: u, isSelected: s, isIndeterminate: i, isGroupActivator: p, root: y, parent: f, openOnSelect: m } = ei(c, !1), h = Ja(), b = v(() => { + var x; + return e.active !== !1 && (e.active || ((x = a.isActive) == null ? void 0 : x.value) || s.value); + }), g = v(() => e.link !== !1 && a.isLink.value), C = v(() => !e.disabled && e.link !== !1 && (e.link || a.isClickable.value || e.value != null && !!h)), w = v(() => e.rounded || e.nav), O = v(() => e.color ?? e.activeColor), G = v(() => ({ color: b.value ? O.value ?? e.baseColor : e.baseColor, variant: e.variant })); K(() => { - var V; - return (V = i.isActive) == null ? void 0 : V.value; - }, (V) => { - V && m.value != null && y.open(m.value, !0), V && g(V); + var x; + return (x = a.isActive) == null ? void 0 : x.value; + }, (x) => { + x && f.value != null && y.open(f.value, !0), x && m(x); }, { immediate: !0 }); - const { themeClasses: $ } = Xe(e), { borderClasses: _ } = tn(e), { colorClasses: W, colorStyles: T, variantClasses: I } = An(H), { densityClasses: P } = Ct(e), { dimensionStyles: S } = Dt(e), { elevationClasses: w } = ln(e), { roundedClasses: A } = pt(x), M = f(() => e.lines ? `v-list-item--${e.lines}-line` : void 0), N = f(() => ({ isActive: C.value, select: u, isSelected: s.value, isIndeterminate: o.value })); - function k(V) { - var F; - a("click", V), !v && b.value && ((F = i.navigate) == null || F.call(i, V), e.value != null && u(!s.value, V)); + const { themeClasses: T } = Xe(e), { borderClasses: $ } = tt(e), { colorClasses: R, colorStyles: P, variantClasses: S } = _t(G), { densityClasses: A } = Cn(e), { dimensionStyles: I } = Ln(e), { elevationClasses: F } = ot(e), { roundedClasses: _ } = bn(w), M = v(() => e.lines ? `v-list-item--${e.lines}-line` : void 0), N = v(() => ({ isActive: b.value, select: u, isSelected: s.value, isIndeterminate: i.value })); + function k(x) { + var V; + o("click", x), !p && C.value && ((V = a.navigate) == null || V.call(a, x), e.value != null && u(!s.value, x)); } - function B(V) { - V.key !== "Enter" && V.key !== " " || (V.preventDefault(), k(V)); + function B(x) { + x.key !== "Enter" && x.key !== " " || (x.preventDefault(), k(x)); } return se(() => { - const V = h.value ? "a" : e.tag, F = l.title || e.title != null, G = l.subtitle || e.subtitle != null, L = !(!e.appendAvatar && !e.appendIcon), z = !(!L && !l.append), Q = !(!e.prependAvatar && !e.prependIcon), E = !(!Q && !l.prepend); - var U, R; - return p == null || p.updateHasPrepend(E), e.activeColor && (U = "active-color", R = ["color", "base-color"], R = Array.isArray(R) ? R.slice(0, -1).map((j) => `'${j}'`).join(", ") + ` or '${R.at(-1)}'` : `'${R}'`, ll(`[Vuetify UPGRADE] '${U}' is deprecated, use ${R} instead.`)), Ue(d(V, { class: ["v-list-item", { "v-list-item--active": C.value, "v-list-item--disabled": e.disabled, "v-list-item--link": b.value, "v-list-item--nav": e.nav, "v-list-item--prepend": !E && (p == null ? void 0 : p.hasPrepend.value), "v-list-item--slim": e.slim, [`${e.activeClass}`]: e.activeClass && C.value }, $.value, _.value, W.value, P.value, w.value, M.value, A.value, I.value, e.class], style: [T.value, S.value, e.style], href: i.href.value, tabindex: b.value ? p ? -2 : 0 : void 0, onClick: k, onKeydown: b.value && !h.value && B }, { default: () => { - var j; - return [Pn(b.value || C.value, "v-list-item"), E && d("div", { key: "prepend", class: "v-list-item__prepend" }, [l.prepend ? d(Ge, { key: "prepend-defaults", disabled: !Q, defaults: { VAvatar: { density: e.density, image: e.prependAvatar }, VIcon: { density: e.density, icon: e.prependIcon }, VListItemAction: { start: !0 } } }, { default: () => { + const x = g.value ? "a" : e.tag, V = l.title || e.title != null, j = l.subtitle || e.subtitle != null, L = !(!e.appendAvatar && !e.appendIcon), z = !(!L && !l.append), Q = !(!e.prependAvatar && !e.prependIcon), E = !(!Q && !l.prepend); + var U, W; + return h == null || h.updateHasPrepend(E), e.activeColor && (U = "active-color", W = ["color", "base-color"], W = Array.isArray(W) ? W.slice(0, -1).map((q) => `'${q}'`).join(", ") + ` or '${W.at(-1)}'` : `'${W}'`, ll(`[Vuetify UPGRADE] '${U}' is deprecated, use ${W} instead.`)), Ue(d(x, { class: ["v-list-item", { "v-list-item--active": b.value, "v-list-item--disabled": e.disabled, "v-list-item--link": C.value, "v-list-item--nav": e.nav, "v-list-item--prepend": !E && (h == null ? void 0 : h.hasPrepend.value), "v-list-item--slim": e.slim, [`${e.activeClass}`]: e.activeClass && b.value }, T.value, $.value, R.value, A.value, F.value, M.value, _.value, S.value, e.class], style: [P.value, I.value, e.style], href: a.href.value, tabindex: C.value ? h ? -2 : 0 : void 0, onClick: k, onKeydown: C.value && !g.value && B }, { default: () => { + var q; + return [At(C.value || b.value, "v-list-item"), E && d("div", { key: "prepend", class: "v-list-item__prepend" }, [l.prepend ? d(je, { key: "prepend-defaults", disabled: !Q, defaults: { VAvatar: { density: e.density, image: e.prependAvatar }, VIcon: { density: e.density, icon: e.prependIcon }, VListItemAction: { start: !0 } } }, { default: () => { var Y; return [(Y = l.prepend) == null ? void 0 : Y.call(l, N.value)]; - } }) : d(we, null, [e.prependAvatar && d(Ut, { key: "prepend-avatar", density: e.density, image: e.prependAvatar }, null), e.prependIcon && d(Ie, { key: "prepend-icon", density: e.density, icon: e.prependIcon }, null)]), d("div", { class: "v-list-item__spacer" }, null)]), d("div", { class: "v-list-item__content", "data-no-activator": "" }, [F && d(Tr, { key: "title" }, { default: () => { + } }) : d(Fe, null, [e.prependAvatar && d(qn, { key: "prepend-avatar", density: e.density, image: e.prependAvatar }, null), e.prependIcon && d(Se, { key: "prepend-icon", density: e.density, icon: e.prependIcon }, null)]), d("div", { class: "v-list-item__spacer" }, null)]), d("div", { class: "v-list-item__content", "data-no-activator": "" }, [V && d(Pr, { key: "title" }, { default: () => { var Y; return [((Y = l.title) == null ? void 0 : Y.call(l, { title: e.title })) ?? e.title]; - } }), G && d(Or, { key: "subtitle" }, { default: () => { + } }), j && d(Or, { key: "subtitle" }, { default: () => { var Y; return [((Y = l.subtitle) == null ? void 0 : Y.call(l, { subtitle: e.subtitle })) ?? e.subtitle]; - } }), (j = l.default) == null ? void 0 : j.call(l, N.value)]), z && d("div", { key: "append", class: "v-list-item__append" }, [l.append ? d(Ge, { key: "append-defaults", disabled: !L, defaults: { VAvatar: { density: e.density, image: e.appendAvatar }, VIcon: { density: e.density, icon: e.appendIcon }, VListItemAction: { end: !0 } } }, { default: () => { + } }), (q = l.default) == null ? void 0 : q.call(l, N.value)]), z && d("div", { key: "append", class: "v-list-item__append" }, [l.append ? d(je, { key: "append-defaults", disabled: !L, defaults: { VAvatar: { density: e.density, image: e.appendAvatar }, VIcon: { density: e.density, icon: e.appendIcon }, VListItemAction: { end: !0 } } }, { default: () => { var Y; return [(Y = l.append) == null ? void 0 : Y.call(l, N.value)]; - } }) : d(we, null, [e.appendIcon && d(Ie, { key: "append-icon", density: e.density, icon: e.appendIcon }, null), e.appendAvatar && d(Ut, { key: "append-avatar", density: e.density, image: e.appendAvatar }, null)]), d("div", { class: "v-list-item__spacer" }, null)])]; - } }), [[gt("ripple"), b.value && e.ripple]]); + } }) : d(Fe, null, [e.appendIcon && d(Se, { key: "append-icon", density: e.density, icon: e.appendIcon }, null), e.appendAvatar && d(qn, { key: "append-avatar", density: e.density, image: e.appendAvatar }, null)]), d("div", { class: "v-list-item__spacer" }, null)])]; + } }), [[gn("ripple"), C.value && e.ripple]]); }), {}; -} }), Er = q({ color: String, inset: Boolean, sticky: Boolean, title: String, ...ye(), ...et() }, "VListSubheader"), $r = te()({ name: "VListSubheader", props: Er(), setup(e, n) { - let { slots: t } = n; - const { textColorClasses: l, textColorStyles: a } = mt(ae(e, "color")); +} }), Er = H({ color: String, inset: Boolean, sticky: Boolean, title: String, ...ye(), ...en() }, "VListSubheader"), Tr = ne()({ name: "VListSubheader", props: Er(), setup(e, t) { + let { slots: n } = t; + const { textColorClasses: l, textColorStyles: o } = yn(oe(e, "color")); return se(() => { - const i = !(!t.default && !e.title); - return d(e.tag, { class: ["v-list-subheader", { "v-list-subheader--inset": e.inset, "v-list-subheader--sticky": e.sticky }, l.value, e.class], style: [{ textColorStyles: a }, e.style] }, { default: () => { + const a = !(!n.default && !e.title); + return d(e.tag, { class: ["v-list-subheader", { "v-list-subheader--inset": e.inset, "v-list-subheader--sticky": e.sticky }, l.value, e.class], style: [{ textColorStyles: o }, e.style] }, { default: () => { var c; - return [i && d("div", { class: "v-list-subheader__text" }, [((c = t.default) == null ? void 0 : c.call(t)) ?? e.title])]; + return [a && d("div", { class: "v-list-subheader__text" }, [((c = n.default) == null ? void 0 : c.call(n)) ?? e.title])]; } }); }), {}; -} }), zr = q({ color: String, inset: Boolean, length: [Number, String], thickness: [Number, String], vertical: Boolean, ...ye(), ...Ne() }, "VDivider"), Dr = te()({ name: "VDivider", props: zr(), setup(e, n) { - let { attrs: t } = n; - const { themeClasses: l } = Xe(e), { textColorClasses: a, textColorStyles: i } = mt(ae(e, "color")), c = f(() => { +} }), zr = H({ color: String, inset: Boolean, length: [Number, String], thickness: [Number, String], vertical: Boolean, ...ye(), ...Ne() }, "VDivider"), Dr = ne()({ name: "VDivider", props: zr(), setup(e, t) { + let { attrs: n } = t; + const { themeClasses: l } = Xe(e), { textColorClasses: o, textColorStyles: a } = yn(oe(e, "color")), c = v(() => { const u = {}; - return e.length && (u[e.vertical ? "maxHeight" : "maxWidth"] = ie(e.length)), e.thickness && (u[e.vertical ? "borderRightWidth" : "borderTopWidth"] = ie(e.thickness)), u; + return e.length && (u[e.vertical ? "maxHeight" : "maxWidth"] = ae(e.length)), e.thickness && (u[e.vertical ? "borderRightWidth" : "borderTopWidth"] = ae(e.thickness)), u; }); - return se(() => d("hr", { class: [{ "v-divider": !0, "v-divider--inset": e.inset, "v-divider--vertical": e.vertical }, l.value, a.value, e.class], style: [c.value, i.value, e.style], "aria-orientation": t.role && t.role !== "separator" ? void 0 : e.vertical ? "vertical" : "horizontal", role: `${t.role || "separator"}` }, null)), {}; -} }), Lr = q({ items: Array, returnObject: Boolean }, "VListChildren"), eo = te()({ name: "VListChildren", props: Lr(), setup(e, n) { - let { slots: t } = n; - return Xi(), () => { - var l, a; - return ((l = t.default) == null ? void 0 : l.call(t)) ?? ((a = e.items) == null ? void 0 : a.map((i) => { - var m, g; - let { children: c, props: u, type: s, raw: o } = i; + return se(() => d("hr", { class: [{ "v-divider": !0, "v-divider--inset": e.inset, "v-divider--vertical": e.vertical }, l.value, o.value, e.class], style: [c.value, a.value, e.style], "aria-orientation": n.role && n.role !== "separator" ? void 0 : e.vertical ? "vertical" : "horizontal", role: `${n.role || "separator"}` }, null)), {}; +} }), Lr = H({ items: Array, returnObject: Boolean }, "VListChildren"), ni = ne()({ name: "VListChildren", props: Lr(), setup(e, t) { + let { slots: n } = t; + return Ka(), () => { + var l, o; + return ((l = n.default) == null ? void 0 : l.call(n)) ?? ((o = e.items) == null ? void 0 : o.map((a) => { + var f, m; + let { children: c, props: u, type: s, raw: i } = a; if (s === "divider") - return ((m = t.divider) == null ? void 0 : m.call(t, { props: u })) ?? d(Dr, u, null); + return ((f = n.divider) == null ? void 0 : f.call(n, { props: u })) ?? d(Dr, u, null); if (s === "subheader") - return ((g = t.subheader) == null ? void 0 : g.call(t, { props: u })) ?? d($r, u, null); - const v = { subtitle: t.subtitle ? (p) => { - var C; - return (C = t.subtitle) == null ? void 0 : C.call(t, { ...p, item: o }); - } : void 0, prepend: t.prepend ? (p) => { - var C; - return (C = t.prepend) == null ? void 0 : C.call(t, { ...p, item: o }); - } : void 0, append: t.append ? (p) => { - var C; - return (C = t.append) == null ? void 0 : C.call(t, { ...p, item: o }); - } : void 0, title: t.title ? (p) => { - var C; - return (C = t.title) == null ? void 0 : C.call(t, { ...p, item: o }); - } : void 0 }, y = Ma.filterProps(u); - return c ? d(Ma, Z({ value: u == null ? void 0 : u.value }, y), { activator: (p) => { - let { props: C } = p; - const h = { ...u, ...C, value: e.returnObject ? o : u.value }; - return t.header ? t.header({ props: h }) : d(tl, h, v); - }, default: () => d(eo, { items: c }, t) }) : t.item ? t.item({ props: u }) : d(tl, Z(u, { value: e.returnObject ? o : u.value }), v); + return ((m = n.subheader) == null ? void 0 : m.call(n, { props: u })) ?? d(Tr, u, null); + const p = { subtitle: n.subtitle ? (h) => { + var b; + return (b = n.subtitle) == null ? void 0 : b.call(n, { ...h, item: i }); + } : void 0, prepend: n.prepend ? (h) => { + var b; + return (b = n.prepend) == null ? void 0 : b.call(n, { ...h, item: i }); + } : void 0, append: n.append ? (h) => { + var b; + return (b = n.append) == null ? void 0 : b.call(n, { ...h, item: i }); + } : void 0, title: n.title ? (h) => { + var b; + return (b = n.title) == null ? void 0 : b.call(n, { ...h, item: i }); + } : void 0 }, y = Ro.filterProps(u); + return c ? d(Ro, Z({ value: u == null ? void 0 : u.value }, y), { activator: (h) => { + let { props: b } = h; + const g = { ...u, ...b, value: e.returnObject ? i : u.value }; + return n.header ? n.header({ props: g }) : d(nl, g, p); + }, default: () => d(ni, { items: c }, n) }) : n.item ? n.item({ props: u }) : d(nl, Z(u, { value: e.returnObject ? i : u.value }), p); })); }; -} }), to = q({ 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: Zt } }, "list-items"); -function Ol(e, n) { - const t = ct(n, e.itemTitle, n), l = ct(n, e.itemValue, t), a = ct(n, e.itemChildren), i = { title: t, value: l, ...e.itemProps === !0 ? typeof n != "object" || n == null || Array.isArray(n) ? void 0 : "children" in n ? $t(n, ["children"]) : n : ct(n, e.itemProps) }; - return { title: String(i.title ?? ""), value: i.value, props: i, children: Array.isArray(a) ? no(e, a) : void 0, raw: n }; -} -function no(e, n) { - const t = []; - for (const l of n) - t.push(Ol(e, l)); - return t; +} }), ti = 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: Qn } }, "list-items"); +function Ol(e, t) { + const n = dn(t, e.itemTitle, t), l = dn(t, e.itemValue, n), o = dn(t, e.itemChildren), a = { title: n, value: l, ...e.itemProps === !0 ? typeof t != "object" || t == null || Array.isArray(t) ? void 0 : "children" in t ? zn(t, ["children"]) : t : dn(t, e.itemProps) }; + return { title: String(a.title ?? ""), value: a.value, props: a, children: Array.isArray(o) ? li(e, o) : void 0, raw: t }; +} +function li(e, t) { + const n = []; + for (const l of t) + n.push(Ol(e, l)); + return n; } -function Rr(e, n) { - const t = ct(n, e.itemType, "item"), l = function(u) { +function Wr(e, t) { + const n = dn(t, e.itemType, "item"), l = function(u) { return typeof u == "string" || typeof u == "number" || typeof u == "boolean"; - }(n) ? n : ct(n, e.itemTitle), a = ct(n, e.itemValue, void 0), i = ct(n, e.itemChildren), c = { title: l, value: a, ...e.itemProps === !0 ? $t(n, ["children"]) : ct(n, e.itemProps) }; - return { type: t, title: c.title, value: c.value, props: c, children: t === "item" && i ? lo(e, i) : void 0, raw: n }; + }(t) ? t : dn(t, e.itemTitle), o = dn(t, e.itemValue, void 0), a = dn(t, e.itemChildren), c = { title: l, value: o, ...e.itemProps === !0 ? zn(t, ["children"]) : dn(t, e.itemProps) }; + return { type: n, title: c.title, value: c.value, props: c, children: n === "item" && a ? oi(e, a) : void 0, raw: t }; } -function lo(e, n) { - const t = []; - for (const l of n) - t.push(Rr(e, l)); - return t; +function oi(e, t) { + const n = []; + for (const l of t) + n.push(Wr(e, l)); + return n; } -const Mr = q({ baseColor: String, activeColor: String, activeClass: String, bgColor: String, disabled: Boolean, lines: { type: [Boolean, String], default: "one" }, slim: Boolean, nav: Boolean, ...wr({ selectStrategy: "single-leaf", openStrategy: "list" }), ...en(), ...ye(), ...ut(), ...zt(), ...nn(), itemType: { type: String, default: "type" }, ...to(), ...ht(), ...et(), ...Ne(), ...Vt({ variant: "text" }) }, "VList"), Wr = te()({ name: "VList", props: Mr(), emits: { "update:selected": (e) => !0, "update:opened": (e) => !0, "click:open": (e) => !0, "click:select": (e) => !0 }, setup(e, n) { - let { slots: t } = n; - const { items: l } = function(I) { - return { items: f(() => lo(I, I.items)) }; - }(e), { themeClasses: a } = Xe(e), { backgroundColorClasses: i, backgroundColorStyles: c } = Ht(ae(e, "bgColor")), { borderClasses: u } = tn(e), { densityClasses: s } = Ct(e), { dimensionStyles: o } = Dt(e), { elevationClasses: v } = ln(e), { roundedClasses: y } = pt(e), { open: m, select: g } = Fr(e), p = f(() => e.lines ? `v-list--${e.lines}-line` : void 0), C = ae(e, "activeColor"), h = ae(e, "baseColor"), b = ae(e, "color"); - Xi(), Qt({ VListGroup: { activeColor: C, baseColor: h, color: b }, VListItem: { activeClass: ae(e, "activeClass"), activeColor: C, baseColor: h, color: b, density: ae(e, "density"), disabled: ae(e, "disabled"), lines: ae(e, "lines"), nav: ae(e, "nav"), slim: ae(e, "slim"), variant: ae(e, "variant") } }); - const x = de(!1), O = D(); - function H(I) { - x.value = !0; +const Mr = H({ baseColor: String, activeColor: String, activeClass: String, bgColor: String, disabled: Boolean, lines: { type: [Boolean, String], default: "one" }, slim: Boolean, nav: Boolean, ...Fr({ selectStrategy: "single-leaf", openStrategy: "list" }), ...nt(), ...ye(), ...cn(), ...Dn(), ...lt(), itemType: { type: String, default: "type" }, ...ti(), ...hn(), ...en(), ...Ne(), ...kn({ variant: "text" }) }, "VList"), Rr = ne()({ name: "VList", props: Mr(), emits: { "update:selected": (e) => !0, "update:opened": (e) => !0, "click:open": (e) => !0, "click:select": (e) => !0 }, setup(e, t) { + let { slots: n } = t; + const { items: l } = function(S) { + return { items: v(() => oi(S, S.items)) }; + }(e), { themeClasses: o } = Xe(e), { backgroundColorClasses: a, backgroundColorStyles: c } = Un(oe(e, "bgColor")), { borderClasses: u } = tt(e), { densityClasses: s } = Cn(e), { dimensionStyles: i } = Ln(e), { elevationClasses: p } = ot(e), { roundedClasses: y } = bn(e), { open: f, select: m } = Vr(e), h = v(() => e.lines ? `v-list--${e.lines}-line` : void 0), b = oe(e, "activeColor"), g = oe(e, "baseColor"), C = oe(e, "color"); + Ka(), et({ VListGroup: { activeColor: b, baseColor: g, color: C }, VListItem: { activeClass: oe(e, "activeClass"), activeColor: b, baseColor: g, color: C, density: oe(e, "density"), disabled: oe(e, "disabled"), lines: oe(e, "lines"), nav: oe(e, "nav"), slim: oe(e, "slim"), variant: oe(e, "variant") } }); + const w = de(!1), O = D(); + function G(S) { + w.value = !0; } - function $(I) { - x.value = !1; + function T(S) { + w.value = !1; } - function _(I) { - var P; - x.value || I.relatedTarget && ((P = O.value) != null && P.contains(I.relatedTarget)) || T(); + function $(S) { + var A; + w.value || S.relatedTarget && ((A = O.value) != null && A.contains(S.relatedTarget)) || P(); } - function W(I) { + function R(S) { if (O.value) { - if (I.key === "ArrowDown") - T("next"); - else if (I.key === "ArrowUp") - T("prev"); - else if (I.key === "Home") - T("first"); + if (S.key === "ArrowDown") + P("next"); + else if (S.key === "ArrowUp") + P("prev"); + else if (S.key === "Home") + P("first"); else { - if (I.key !== "End") + if (S.key !== "End") return; - T("last"); + P("last"); } - I.preventDefault(); + S.preventDefault(); } } - function T(I) { + function P(S) { if (O.value) - return qn(O.value, I); + return Ht(O.value, S); } - return se(() => d(e.tag, { ref: O, class: ["v-list", { "v-list--disabled": e.disabled, "v-list--nav": e.nav }, a.value, i.value, u.value, s.value, v.value, p.value, y.value, e.class], style: [c.value, o.value, e.style], tabindex: e.disabled || x.value ? -1 : 0, role: "listbox", "aria-activedescendant": void 0, onFocusin: H, onFocusout: $, onFocus: _, onKeydown: W }, { default: () => [d(eo, { items: l.value, returnObject: e.returnObject }, t)] })), { open: m, select: g, focus: T }; + return se(() => d(e.tag, { ref: O, class: ["v-list", { "v-list--disabled": e.disabled, "v-list--nav": e.nav }, o.value, a.value, u.value, s.value, p.value, h.value, y.value, e.class], style: [c.value, i.value, e.style], tabindex: e.disabled || w.value ? -1 : 0, role: "listbox", "aria-activedescendant": void 0, onFocusin: G, onFocusout: T, onFocus: $, onKeydown: R }, { default: () => [d(ni, { items: l.value, returnObject: e.returnObject }, n)] })), { open: f, select: m, focus: P }; } }); -function pl(e, n) { - return { x: e.x + n.x, y: e.y + n.y }; +function hl(e, t) { + return { x: e.x + t.x, y: e.y + t.y }; } -function Wa(e, n) { +function No(e, t) { if (e.side === "top" || e.side === "bottom") { - const { side: t, align: l } = e; - return pl({ x: l === "left" ? 0 : l === "center" ? n.width / 2 : l === "right" ? n.width : l, y: t === "top" ? 0 : t === "bottom" ? n.height : t }, n); + const { side: n, align: l } = e; + return hl({ x: l === "left" ? 0 : l === "center" ? t.width / 2 : l === "right" ? t.width : l, y: n === "top" ? 0 : n === "bottom" ? t.height : n }, t); } if (e.side === "left" || e.side === "right") { - const { side: t, align: l } = e; - return pl({ x: t === "left" ? 0 : t === "right" ? n.width : t, y: l === "top" ? 0 : l === "center" ? n.height / 2 : l === "bottom" ? n.height : l }, n); + const { side: n, align: l } = e; + return hl({ x: n === "left" ? 0 : n === "right" ? t.width : n, y: l === "top" ? 0 : l === "center" ? t.height / 2 : l === "bottom" ? t.height : l }, t); } - return pl({ x: n.width / 2, y: n.height / 2 }, n); + return hl({ x: t.width / 2, y: t.height / 2 }, t); } -const ao = { static: function() { -}, connected: function(e, n, t) { - (Array.isArray(e.target.value) || function(g) { - for (; g; ) { - if (window.getComputedStyle(g).position === "fixed") +const ai = { static: function() { +}, connected: function(e, t, n) { + (Array.isArray(e.target.value) || function(m) { + for (; m; ) { + if (window.getComputedStyle(m).position === "fixed") return !0; - g = g.offsetParent; + m = m.offsetParent; } return !1; - }(e.target.value)) && Object.assign(t.value, { position: "fixed", top: 0, [e.isRtl.value ? "right" : "left"]: 0 }); - const { preferredAnchor: l, preferredOrigin: a } = Nl(() => { - const g = kl(n.location, e.isRtl.value), p = n.origin === "overlap" ? g : n.origin === "auto" ? ml(g) : kl(n.origin, e.isRtl.value); - return g.side === p.side && g.align === yl(p).align ? { preferredAnchor: fa(g), preferredOrigin: fa(p) } : { preferredAnchor: g, preferredOrigin: p }; - }), [i, c, u, s] = ["minWidth", "minHeight", "maxWidth", "maxHeight"].map((g) => f(() => { - const p = parseFloat(n[g]); - return isNaN(p) ? 1 / 0 : p; - })), o = f(() => { - if (Array.isArray(n.offset)) - return n.offset; - if (typeof n.offset == "string") { - const g = n.offset.split(" ").map(parseFloat); - return g.length < 2 && g.push(0), g; + }(e.target.value)) && Object.assign(n.value, { position: "fixed", top: 0, [e.isRtl.value ? "right" : "left"]: 0 }); + const { preferredAnchor: l, preferredOrigin: o } = Nl(() => { + const m = kl(t.location, e.isRtl.value), h = t.origin === "overlap" ? m : t.origin === "auto" ? fl(m) : kl(t.origin, e.isRtl.value); + return m.side === h.side && m.align === yl(h).align ? { preferredAnchor: fo(m), preferredOrigin: fo(h) } : { preferredAnchor: m, preferredOrigin: h }; + }), [a, c, u, s] = ["minWidth", "minHeight", "maxWidth", "maxHeight"].map((m) => v(() => { + const h = parseFloat(t[m]); + return isNaN(h) ? 1 / 0 : h; + })), i = v(() => { + if (Array.isArray(t.offset)) + return t.offset; + if (typeof t.offset == "string") { + const m = t.offset.split(" ").map(parseFloat); + return m.length < 2 && m.push(0), m; } - return typeof n.offset == "number" ? [n.offset, 0] : [0, 0]; + return typeof t.offset == "number" ? [t.offset, 0] : [0, 0]; }); - let v = !1; + let p = !1; const y = new ResizeObserver(() => { - v && m(); + p && f(); }); - function m() { - if (v = !1, requestAnimationFrame(() => { - requestAnimationFrame(() => v = !0); + function f() { + if (p = !1, requestAnimationFrame(() => { + requestAnimationFrame(() => p = !0); }), !e.target.value || !e.contentEl.value) return; - const g = di(e.target.value), p = function(I, P) { - P ? I.style.removeProperty("left") : I.style.removeProperty("right"); - const S = Gl(I); - return P ? S.x += parseFloat(I.style.right || 0) : S.x -= parseFloat(I.style.left || 0), S.y -= parseFloat(I.style.top || 0), S; - }(e.contentEl.value, e.isRtl.value), C = Jn(e.contentEl.value); - C.length || (C.push(document.documentElement), e.contentEl.value.style.top && e.contentEl.value.style.left || (p.x -= parseFloat(document.documentElement.style.getPropertyValue("--v-body-scroll-x") || 0), p.y -= parseFloat(document.documentElement.style.getPropertyValue("--v-body-scroll-y") || 0))); - const h = C.reduce((I, P) => { - const S = P.getBoundingClientRect(), w = new xt({ x: P === document.documentElement ? 0 : S.x, y: P === document.documentElement ? 0 : S.y, width: P.clientWidth, height: P.clientHeight }); - return I ? new xt({ x: Math.max(I.left, w.left), y: Math.max(I.top, w.top), width: Math.min(I.right, w.right) - Math.max(I.left, w.left), height: Math.min(I.bottom, w.bottom) - Math.max(I.top, w.top) }) : w; + const m = pa(e.target.value), h = function(S, A) { + A ? S.style.removeProperty("left") : S.style.removeProperty("right"); + const I = jl(S); + return A ? I.x += parseFloat(S.style.right || 0) : I.x -= parseFloat(S.style.left || 0), I.y -= parseFloat(S.style.top || 0), I; + }(e.contentEl.value, e.isRtl.value), b = Jt(e.contentEl.value); + b.length || (b.push(document.documentElement), e.contentEl.value.style.top && e.contentEl.value.style.left || (h.x -= parseFloat(document.documentElement.style.getPropertyValue("--v-body-scroll-x") || 0), h.y -= parseFloat(document.documentElement.style.getPropertyValue("--v-body-scroll-y") || 0))); + const g = b.reduce((S, A) => { + const I = A.getBoundingClientRect(), F = new Fn({ x: A === document.documentElement ? 0 : I.x, y: A === document.documentElement ? 0 : I.y, width: A.clientWidth, height: A.clientHeight }); + return S ? new Fn({ x: Math.max(S.left, F.left), y: Math.max(S.top, F.top), width: Math.min(S.right, F.right) - Math.max(S.left, F.left), height: Math.min(S.bottom, F.bottom) - Math.max(S.top, F.top) }) : F; }, void 0); - h.x += 12, h.y += 12, h.width -= 24, h.height -= 24; - let b = { anchor: l.value, origin: a.value }; - function x(I) { - const P = new xt(p), S = Wa(I.anchor, g), w = Wa(I.origin, P); - let { x: A, y: M } = (k = w, { x: (N = S).x - k.x, y: N.y - k.y }); + g.x += 12, g.y += 12, g.width -= 24, g.height -= 24; + let C = { anchor: l.value, origin: o.value }; + function w(S) { + const A = new Fn(h), I = No(S.anchor, m), F = No(S.origin, A); + let { x: _, y: M } = (k = F, { x: (N = I).x - k.x, y: N.y - k.y }); var N, k; - switch (I.anchor.side) { + switch (S.anchor.side) { case "top": - M -= o.value[0]; + M -= i.value[0]; break; case "bottom": - M += o.value[0]; + M += i.value[0]; break; case "left": - A -= o.value[0]; + _ -= i.value[0]; break; case "right": - A += o.value[0]; + _ += i.value[0]; } - switch (I.anchor.align) { + switch (S.anchor.align) { case "top": - M -= o.value[1]; + M -= i.value[1]; break; case "bottom": - M += o.value[1]; + M += i.value[1]; break; case "left": - A -= o.value[1]; + _ -= i.value[1]; break; case "right": - A += o.value[1]; + _ += i.value[1]; } - return P.x += A, P.y += M, P.width = Math.min(P.width, u.value), P.height = Math.min(P.height, s.value), { overflows: ya(P, h), x: A, y: M }; + return A.x += _, A.y += M, A.width = Math.min(A.width, u.value), A.height = Math.min(A.height, s.value), { overflows: mo(A, g), x: _, y: M }; } - let O = 0, H = 0; - const $ = { x: 0, y: 0 }, _ = { x: !1, y: !1 }; - let W = -1; + let O = 0, G = 0; + const T = { x: 0, y: 0 }, $ = { x: !1, y: !1 }; + let R = -1; for (; ; ) { - if (W++ > 10) { + if (R++ > 10) { ll("Vuetify error: Infinite loop detected in connectedLocationStrategy"); break; } - const { x: I, y: P, overflows: S } = x(b); - O += I, H += P, p.x += I, p.y += P; + const { x: S, y: A, overflows: I } = w(C); + O += S, G += A, h.x += S, h.y += A; { - const w = ma(b.anchor), A = S.x.before || S.x.after, M = S.y.before || S.y.after; + const F = yo(C.anchor), _ = I.x.before || I.x.after, M = I.y.before || I.y.after; let N = !1; if (["x", "y"].forEach((k) => { - if (k === "x" && A && !_.x || k === "y" && M && !_.y) { - const B = { anchor: { ...b.anchor }, origin: { ...b.origin } }, V = k === "x" ? w === "y" ? yl : ml : w === "y" ? ml : yl; - B.anchor = V(B.anchor), B.origin = V(B.origin); - const { overflows: F } = x(B); - (F[k].before <= S[k].before && F[k].after <= S[k].after || F[k].before + F[k].after < (S[k].before + S[k].after) / 2) && (b = B, N = _[k] = !0); + if (k === "x" && _ && !$.x || k === "y" && M && !$.y) { + const B = { anchor: { ...C.anchor }, origin: { ...C.origin } }, x = k === "x" ? F === "y" ? yl : fl : F === "y" ? fl : yl; + B.anchor = x(B.anchor), B.origin = x(B.origin); + const { overflows: V } = w(B); + (V[k].before <= I[k].before && V[k].after <= I[k].after || V[k].before + V[k].after < (I[k].before + I[k].after) / 2) && (C = B, N = $[k] = !0); } }), N) continue; } - S.x.before && (O += S.x.before, p.x += S.x.before), S.x.after && (O -= S.x.after, p.x -= S.x.after), S.y.before && (H += S.y.before, p.y += S.y.before), S.y.after && (H -= S.y.after, p.y -= S.y.after); + I.x.before && (O += I.x.before, h.x += I.x.before), I.x.after && (O -= I.x.after, h.x -= I.x.after), I.y.before && (G += I.y.before, h.y += I.y.before), I.y.after && (G -= I.y.after, h.y -= I.y.after); { - const w = ya(p, h); - $.x = h.width - w.x.before - w.x.after, $.y = h.height - w.y.before - w.y.after, O += w.x.before, p.x += w.x.before, H += w.y.before, p.y += w.y.before; + const F = mo(h, g); + T.x = g.width - F.x.before - F.x.after, T.y = g.height - F.y.before - F.y.after, O += F.x.before, h.x += F.x.before, G += F.y.before, h.y += F.y.before; } break; } - const T = ma(b.anchor); - return Object.assign(t.value, { "--v-overlay-anchor-origin": `${b.anchor.side} ${b.anchor.align}`, transformOrigin: `${b.origin.side} ${b.origin.align}`, top: ie(Cl(H)), left: e.isRtl.value ? void 0 : ie(Cl(O)), right: e.isRtl.value ? ie(Cl(-O)) : void 0, minWidth: ie(T === "y" ? Math.min(i.value, g.width) : i.value), maxWidth: ie(Na(Gt($.x, i.value === 1 / 0 ? 0 : i.value, u.value))), maxHeight: ie(Na(Gt($.y, c.value === 1 / 0 ? 0 : c.value, s.value))) }), { available: $, contentBox: p }; + const P = yo(C.anchor); + return Object.assign(n.value, { "--v-overlay-anchor-origin": `${C.anchor.side} ${C.anchor.align}`, transformOrigin: `${C.origin.side} ${C.origin.align}`, top: ae(bl(G)), left: e.isRtl.value ? void 0 : ae(bl(O)), right: e.isRtl.value ? ae(bl(-O)) : void 0, minWidth: ae(P === "y" ? Math.min(a.value, m.width) : a.value), maxWidth: ae(jo(Gn(T.x, a.value === 1 / 0 ? 0 : a.value, u.value))), maxHeight: ae(jo(Gn(T.y, c.value === 1 / 0 ? 0 : c.value, s.value))) }), { available: T, contentBox: h }; } - return K([e.target, e.contentEl], (g, p) => { - let [C, h] = g, [b, x] = p; - b && !Array.isArray(b) && y.unobserve(b), C && !Array.isArray(C) && y.observe(C), x && y.unobserve(x), h && y.observe(h); - }, { immediate: !0 }), qe(() => { + return K([e.target, e.contentEl], (m, h) => { + let [b, g] = m, [C, w] = h; + C && !Array.isArray(C) && y.unobserve(C), b && !Array.isArray(b) && y.observe(b), w && y.unobserve(w), g && y.observe(g); + }, { immediate: !0 }), He(() => { y.disconnect(); - }), K(() => [l.value, a.value, n.offset, n.minWidth, n.minHeight, n.maxWidth, n.maxHeight], () => m()), Me(() => { - const g = m(); - if (!g) + }), K(() => [l.value, o.value, t.offset, t.minWidth, t.minHeight, t.maxWidth, t.maxHeight], () => f()), Me(() => { + const m = f(); + if (!m) return; - const { available: p, contentBox: C } = g; - C.height > p.y && requestAnimationFrame(() => { - m(), requestAnimationFrame(() => { - m(); + const { available: h, contentBox: b } = m; + b.height > h.y && requestAnimationFrame(() => { + f(), requestAnimationFrame(() => { + f(); }); }); - }), { updateLocation: m }; -} }, Nr = q({ locationStrategy: { type: [String, Function], default: "static", validator: (e) => typeof e == "function" || e in ao }, location: { type: String, default: "bottom" }, origin: { type: String, default: "auto" }, offset: [Number, String, Array] }, "VOverlay-location-strategies"); -function Cl(e) { + }), { updateLocation: f }; +} }, Nr = H({ locationStrategy: { type: [String, Function], default: "static", validator: (e) => typeof e == "function" || e in ai }, location: { type: String, default: "bottom" }, origin: { type: String, default: "auto" }, offset: [Number, String, Array] }, "VOverlay-location-strategies"); +function bl(e) { return Math.round(e * devicePixelRatio) / devicePixelRatio; } -function Na(e) { +function jo(e) { return Math.ceil(e * devicePixelRatio) / devicePixelRatio; } -let Tl = !0; -const nl = []; -let Ga = -1; -function _l() { - cancelAnimationFrame(Ga), Ga = requestAnimationFrame(() => { - const e = nl.shift(); - e && e(), nl.length ? _l() : Tl = !0; +let Pl = !0; +const tl = []; +let Go = -1; +function $l() { + cancelAnimationFrame(Go), Go = requestAnimationFrame(() => { + const e = tl.shift(); + e && e(), tl.length ? $l() : Pl = !0; }); } -const Gn = { none: null, close: function(e) { - Ha(e.targetEl.value ?? e.contentEl.value, function(n) { +const jt = { none: null, close: function(e) { + Uo(e.targetEl.value ?? e.contentEl.value, function(t) { e.isActive.value = !1; }); -}, block: function(e, n) { +}, block: function(e, t) { var u; - const t = (u = e.root.value) == null ? void 0 : u.offsetParent, l = [.../* @__PURE__ */ new Set([...Jn(e.targetEl.value, n.contained ? t : void 0), ...Jn(e.contentEl.value, n.contained ? t : void 0)])].filter((s) => !s.classList.contains("v-overlay-scroll-blocked")), a = window.innerWidth - document.documentElement.offsetWidth, i = (c = t || document.documentElement, Ul(c) && c); + const n = (u = e.root.value) == null ? void 0 : u.offsetParent, l = [.../* @__PURE__ */ new Set([...Jt(e.targetEl.value, t.contained ? n : void 0), ...Jt(e.contentEl.value, t.contained ? n : void 0)])].filter((s) => !s.classList.contains("v-overlay-scroll-blocked")), o = window.innerWidth - document.documentElement.offsetWidth, a = (c = n || document.documentElement, Ul(c) && c); var c; - i && e.root.value.classList.add("v-overlay--scroll-blocked"), l.forEach((s, o) => { - s.style.setProperty("--v-body-scroll-x", ie(-s.scrollLeft)), s.style.setProperty("--v-body-scroll-y", ie(-s.scrollTop)), s !== document.documentElement && s.style.setProperty("--v-scrollbar-offset", ie(a)), s.classList.add("v-overlay-scroll-blocked"); - }), qe(() => { - l.forEach((s, o) => { - const v = parseFloat(s.style.getPropertyValue("--v-body-scroll-x")), y = parseFloat(s.style.getPropertyValue("--v-body-scroll-y")); - s.style.removeProperty("--v-body-scroll-x"), s.style.removeProperty("--v-body-scroll-y"), s.style.removeProperty("--v-scrollbar-offset"), s.classList.remove("v-overlay-scroll-blocked"), s.scrollLeft = -v, s.scrollTop = -y; - }), i && e.root.value.classList.remove("v-overlay--scroll-blocked"); + a && e.root.value.classList.add("v-overlay--scroll-blocked"), l.forEach((s, i) => { + s.style.setProperty("--v-body-scroll-x", ae(-s.scrollLeft)), s.style.setProperty("--v-body-scroll-y", ae(-s.scrollTop)), s !== document.documentElement && s.style.setProperty("--v-scrollbar-offset", ae(o)), s.classList.add("v-overlay-scroll-blocked"); + }), He(() => { + l.forEach((s, i) => { + const p = parseFloat(s.style.getPropertyValue("--v-body-scroll-x")), y = parseFloat(s.style.getPropertyValue("--v-body-scroll-y")); + s.style.removeProperty("--v-body-scroll-x"), s.style.removeProperty("--v-body-scroll-y"), s.style.removeProperty("--v-scrollbar-offset"), s.classList.remove("v-overlay-scroll-blocked"), s.scrollLeft = -p, s.scrollTop = -y; + }), a && e.root.value.classList.remove("v-overlay--scroll-blocked"); }); -}, reposition: function(e, n, t) { - let l = !1, a = -1, i = -1; +}, reposition: function(e, t, n) { + let l = !1, o = -1, a = -1; function c(u) { var s; s = () => { - var y, m; - const o = performance.now(); - (m = (y = e.updateLocation).value) == null || m.call(y, u), l = (performance.now() - o) / (1e3 / 60) > 2; - }, !Tl || nl.length ? (nl.push(s), _l()) : (Tl = !1, s(), _l()); - } - i = (typeof requestIdleCallback > "u" ? (u) => u() : requestIdleCallback)(() => { - t.run(() => { - Ha(e.targetEl.value ?? e.contentEl.value, (u) => { - l ? (cancelAnimationFrame(a), a = requestAnimationFrame(() => { - a = requestAnimationFrame(() => { + var y, f; + const i = performance.now(); + (f = (y = e.updateLocation).value) == null || f.call(y, u), l = (performance.now() - i) / (1e3 / 60) > 2; + }, !Pl || tl.length ? (tl.push(s), $l()) : (Pl = !1, s(), $l()); + } + a = (typeof requestIdleCallback > "u" ? (u) => u() : requestIdleCallback)(() => { + n.run(() => { + Uo(e.targetEl.value ?? e.contentEl.value, (u) => { + l ? (cancelAnimationFrame(o), o = requestAnimationFrame(() => { + o = requestAnimationFrame(() => { c(u); }); })) : c(u); }); }); - }), qe(() => { - typeof cancelIdleCallback < "u" && cancelIdleCallback(i), cancelAnimationFrame(a); + }), He(() => { + typeof cancelIdleCallback < "u" && cancelIdleCallback(a), cancelAnimationFrame(o); }); -} }, Gr = q({ scrollStrategy: { type: [String, Function], default: "block", validator: (e) => typeof e == "function" || e in Gn } }, "VOverlay-scroll-strategies"); -function Ha(e, n) { - const t = [document, ...Jn(e)]; - t.forEach((l) => { - l.addEventListener("scroll", n, { passive: !0 }); - }), qe(() => { - t.forEach((l) => { - l.removeEventListener("scroll", n); +} }, jr = H({ scrollStrategy: { type: [String, Function], default: "block", validator: (e) => typeof e == "function" || e in jt } }, "VOverlay-scroll-strategies"); +function Uo(e, t) { + const n = [document, ...Jt(e)]; + n.forEach((l) => { + l.addEventListener("scroll", t, { passive: !0 }); + }), He(() => { + n.forEach((l) => { + l.removeEventListener("scroll", t); }); }); } -const El = Symbol.for("vuetify:v-menu"), Hr = q({ closeDelay: [Number, String], openDelay: [Number, String] }, "delay"), Ur = q({ target: [String, Object], 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 jr(e, n) { - let { isActive: t, isTop: l } = n; - const a = Le("useActivator"), i = D(); +const El = Symbol.for("vuetify:v-menu"), Gr = H({ closeDelay: [Number, String], openDelay: [Number, String] }, "delay"), Ur = H({ target: [String, Object], activator: [String, Object], activatorProps: { type: Object, default: () => ({}) }, openOnClick: { type: Boolean, default: void 0 }, openOnHover: Boolean, openOnFocus: { type: Boolean, default: void 0 }, closeOnContentClick: Boolean, ...Gr() }, "VOverlay-activator"); +function qr(e, t) { + let { isActive: n, isTop: l } = t; + const o = Le("useActivator"), a = D(); let c = !1, u = !1, s = !0; - const o = f(() => e.openOnFocus || e.openOnFocus == null && e.openOnHover), v = f(() => e.openOnClick || e.openOnClick == null && !e.openOnHover && !o.value), { runOpenDelay: y, runCloseDelay: m } = function(S, w) { - const A = {}, M = (N) => () => { + const i = v(() => e.openOnFocus || e.openOnFocus == null && e.openOnHover), p = v(() => e.openOnClick || e.openOnClick == null && !e.openOnHover && !i.value), { runOpenDelay: y, runCloseDelay: f } = function(I, F) { + const _ = {}, M = (N) => () => { if (!Ke) return Promise.resolve(!0); const k = N === "openDelay"; - return A.closeDelay && window.clearTimeout(A.closeDelay), delete A.closeDelay, A.openDelay && window.clearTimeout(A.openDelay), delete A.openDelay, new Promise((B) => { - const V = parseInt(S[N] ?? 0, 10); - A[N] = window.setTimeout(() => { - w == null || w(k), B(k); - }, V); + return _.closeDelay && window.clearTimeout(_.closeDelay), delete _.closeDelay, _.openDelay && window.clearTimeout(_.openDelay), delete _.openDelay, new Promise((B) => { + const x = parseInt(I[N] ?? 0, 10); + _[N] = window.setTimeout(() => { + F == null || F(k), B(k); + }, x); }); }; return { runCloseDelay: M("closeDelay"), runOpenDelay: M("openDelay") }; - }(e, (S) => { - S !== (e.openOnHover && c || o.value && u) || e.openOnHover && t.value && !l.value || (t.value !== S && (s = !0), t.value = S); - }), g = D(), p = (S) => { - S.stopPropagation(), i.value = S.currentTarget || S.target, t.value || (g.value = [S.clientX, S.clientY]), t.value = !t.value; - }, C = (S) => { - var w; - (w = S.sourceCapabilities) != null && w.firesTouchEvents || (c = !0, i.value = S.currentTarget || S.target, y()); - }, h = (S) => { - c = !1, m(); - }, b = (S) => { - Yn(S.target, ":focus-visible") !== !1 && (u = !0, S.stopPropagation(), i.value = S.currentTarget || S.target, y()); - }, x = (S) => { - u = !1, S.stopPropagation(), m(); - }, O = f(() => { - const S = {}; - return v.value && (S.onClick = p), e.openOnHover && (S.onMouseenter = C, S.onMouseleave = h), o.value && (S.onFocus = b, S.onBlur = x), S; - }), H = f(() => { - const S = {}; - if (e.openOnHover && (S.onMouseenter = () => { + }(e, (I) => { + I !== (e.openOnHover && c || i.value && u) || e.openOnHover && n.value && !l.value || (n.value !== I && (s = !0), n.value = I); + }), m = D(), h = (I) => { + I.stopPropagation(), a.value = I.currentTarget || I.target, n.value || (m.value = [I.clientX, I.clientY]), n.value = !n.value; + }, b = (I) => { + var F; + (F = I.sourceCapabilities) != null && F.firesTouchEvents || (c = !0, a.value = I.currentTarget || I.target, y()); + }, g = (I) => { + c = !1, f(); + }, C = (I) => { + Yt(I.target, ":focus-visible") !== !1 && (u = !0, I.stopPropagation(), a.value = I.currentTarget || I.target, y()); + }, w = (I) => { + u = !1, I.stopPropagation(), f(); + }, O = v(() => { + const I = {}; + return p.value && (I.onClick = h), e.openOnHover && (I.onMouseenter = b, I.onMouseleave = g), i.value && (I.onFocus = C, I.onBlur = w), I; + }), G = v(() => { + const I = {}; + if (e.openOnHover && (I.onMouseenter = () => { c = !0, y(); - }, S.onMouseleave = () => { - c = !1, m(); - }), o.value && (S.onFocusin = () => { + }, I.onMouseleave = () => { + c = !1, f(); + }), i.value && (I.onFocusin = () => { u = !0, y(); - }, S.onFocusout = () => { - u = !1, m(); + }, I.onFocusout = () => { + u = !1, f(); }), e.closeOnContentClick) { - const w = ge(El, null); - S.onClick = () => { - t.value = !1, w == null || w.closeParents(); + const F = me(El, null); + I.onClick = () => { + n.value = !1, F == null || F.closeParents(); }; } - return S; - }), $ = f(() => { - const S = {}; - return e.openOnHover && (S.onMouseenter = () => { + return I; + }), T = v(() => { + const I = {}; + return e.openOnHover && (I.onMouseenter = () => { s && (c = !0, s = !1, y()); - }, S.onMouseleave = () => { - c = !1, m(); - }), S; + }, I.onMouseleave = () => { + c = !1, f(); + }), I; }); - K(l, (S) => { - !S || (!e.openOnHover || c || o.value && u) && (!o.value || u || e.openOnHover && c) || (t.value = !1); - }), K(t, (S) => { - S || setTimeout(() => { - g.value = void 0; + K(l, (I) => { + !I || (!e.openOnHover || c || i.value && u) && (!i.value || u || e.openOnHover && c) || (n.value = !1); + }), K(n, (I) => { + I || setTimeout(() => { + m.value = void 0; }); }, { flush: "post" }); - const _ = D(); - ot(() => { - _.value && Me(() => { - i.value = Un(_.value); + const $ = D(); + rn(() => { + $.value && Me(() => { + a.value = Ut($.value); }); }); - const W = D(), T = f(() => e.target === "cursor" && g.value ? g.value : W.value ? Un(W.value) : Ua(e.target, a) || i.value), I = f(() => Array.isArray(T.value) ? void 0 : T.value); - let P; - return K(() => !!e.activator, (S) => { - S && Ke ? (P = Dl(), P.run(() => { - (function(w, A, M) { + const R = D(), P = v(() => e.target === "cursor" && m.value ? m.value : R.value ? Ut(R.value) : qo(e.target, o) || a.value), S = v(() => Array.isArray(P.value) ? void 0 : P.value); + let A; + return K(() => !!e.activator, (I) => { + I && Ke ? (A = Dl(), A.run(() => { + (function(F, _, M) { let { activatorEl: N, activatorEvents: k } = M; function B() { - let G = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : F(), L = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : w.activatorProps; - G && function(z, Q) { + let j = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : V(), L = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : F.activatorProps; + j && function(z, Q) { Object.keys(Q).forEach((E) => { if (Bl(E)) { - const U = ca(E), R = Dn.get(z); + const U = co(E), W = Dt.get(z); if (Q[E] == null) - R == null || R.forEach((j) => { - const [Y, ee] = j; - Y === U && (z.removeEventListener(U, ee), R.delete(j)); + W == null || W.forEach((q) => { + const [Y, ee] = q; + Y === U && (z.removeEventListener(U, ee), W.delete(q)); }); - else if (!R || ![...R].some((j) => j[0] === U && j[1] === Q[E])) { + else if (!W || ![...W].some((q) => q[0] === U && q[1] === Q[E])) { z.addEventListener(U, Q[E]); - const j = R || /* @__PURE__ */ new Set(); - j.add([U, Q[E]]), Dn.has(z) || Dn.set(z, j); + const q = W || /* @__PURE__ */ new Set(); + q.add([U, Q[E]]), Dt.has(z) || Dt.set(z, q); } } else Q[E] == null ? z.removeAttribute(E) : z.setAttribute(E, Q[E]); }); - }(G, Z(k.value, L)); + }(j, Z(k.value, L)); } - function V() { - let G = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : F(), L = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : w.activatorProps; - G && function(z, Q) { + function x() { + let j = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : V(), L = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : F.activatorProps; + j && function(z, Q) { Object.keys(Q).forEach((E) => { if (Bl(E)) { - const U = ca(E), R = Dn.get(z); - R == null || R.forEach((j) => { - const [Y, ee] = j; - Y === U && (z.removeEventListener(U, ee), R.delete(j)); + const U = co(E), W = Dt.get(z); + W == null || W.forEach((q) => { + const [Y, ee] = q; + Y === U && (z.removeEventListener(U, ee), W.delete(q)); }); } else z.removeAttribute(E); }); - }(G, Z(k.value, L)); + }(j, Z(k.value, L)); } - function F() { - const G = Ua(arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : w.activator, A); - return N.value = (G == null ? void 0 : G.nodeType) === Node.ELEMENT_NODE ? G : void 0, N.value; + function V() { + const j = qo(arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : F.activator, _); + return N.value = (j == null ? void 0 : j.nodeType) === Node.ELEMENT_NODE ? j : void 0, N.value; } - K(() => w.activator, (G, L) => { - if (L && G !== L) { - const z = F(L); - z && V(z); + K(() => F.activator, (j, L) => { + if (L && j !== L) { + const z = V(L); + z && x(z); } - G && Me(() => B()); - }, { immediate: !0 }), K(() => w.activatorProps, () => { + j && Me(() => B()); + }, { immediate: !0 }), K(() => F.activatorProps, () => { B(); - }), qe(() => { - V(); + }), He(() => { + x(); }); - })(e, a, { activatorEl: i, activatorEvents: O }); - })) : P && P.stop(); - }, { flush: "post", immediate: !0 }), qe(() => { - P == null || P.stop(); - }), { activatorEl: i, activatorRef: _, target: T, targetEl: I, targetRef: W, activatorEvents: O, contentEvents: H, scrimEvents: $ }; -} -function Ua(e, n) { - var l, a; + })(e, o, { activatorEl: a, activatorEvents: O }); + })) : A && A.stop(); + }, { flush: "post", immediate: !0 }), He(() => { + A == null || A.stop(); + }), { activatorEl: a, activatorRef: $, target: P, targetEl: S, targetRef: R, activatorEvents: O, contentEvents: G, scrimEvents: T }; +} +function qo(e, t) { + var l, o; if (!e) return; - let t; + let n; if (e === "parent") { - let i = (a = (l = n == null ? void 0 : n.proxy) == null ? void 0 : l.$el) == null ? void 0 : a.parentNode; - for (; i != null && i.hasAttribute("data-no-activator"); ) - i = i.parentNode; - t = i; + let a = (o = (l = t == null ? void 0 : t.proxy) == null ? void 0 : l.$el) == null ? void 0 : o.parentNode; + for (; a != null && a.hasAttribute("data-no-activator"); ) + a = a.parentNode; + n = a; } else - t = typeof e == "string" ? document.querySelector(e) : "$el" in e ? e.$el : e; - return t; + n = typeof e == "string" ? document.querySelector(e) : "$el" in e ? e.$el : e; + return n; } -const qr = Symbol.for("vuetify:display"); -function io() { - let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : st(); - const t = ge(qr); - if (!t) +const Hr = Symbol.for("vuetify:display"); +function ii() { + let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : un(); + const n = me(Hr); + if (!n) throw new Error("Could not find Vuetify display injection"); - const l = f(() => { + const l = v(() => { if (!e.mobileBreakpoint) - return t.mobile.value; - const i = typeof e.mobileBreakpoint == "number" ? e.mobileBreakpoint : t.thresholds.value[e.mobileBreakpoint]; - return t.width.value < i; - }), a = f(() => n ? { [`${n}--mobile`]: l.value } : {}); - return { ...t, displayClasses: a, mobile: l }; -} -const Yr = q({ eager: Boolean }, "lazy"); -function oo() { + return n.mobile.value; + const a = typeof e.mobileBreakpoint == "number" ? e.mobileBreakpoint : n.thresholds.value[e.mobileBreakpoint]; + return n.width.value < a; + }), o = v(() => t ? { [`${t}--mobile`]: l.value } : {}); + return { ...n, displayClasses: o, mobile: l }; +} +const Yr = H({ eager: Boolean }, "lazy"); +function ri() { const e = Le("useScopeId").vnode.scopeId; return { scopeId: e ? { [e]: "" } : void 0 }; } -const ja = Symbol.for("vuetify:stack"), yn = lt([]); +const Ho = Symbol.for("vuetify:stack"), yt = ln([]); function Xr() { return !0; } -function qa(e, n, t) { - if (!e || ro(e, t) === !1) +function Yo(e, t, n) { + if (!e || si(e, n) === !1) return !1; - const l = fi(n); + const l = fa(t); if (typeof ShadowRoot < "u" && l instanceof ShadowRoot && l.host === e.target) return !1; - const a = (typeof t.value == "object" && t.value.include || (() => []))(); - return a.push(n), !a.some((i) => i == null ? void 0 : i.contains(e.target)); + const o = (typeof n.value == "object" && n.value.include || (() => []))(); + return o.push(t), !o.some((a) => a == null ? void 0 : a.contains(e.target)); } -function ro(e, n) { - return (typeof n.value == "object" && n.value.closeConditional || Xr)(e); +function si(e, t) { + return (typeof t.value == "object" && t.value.closeConditional || Xr)(e); } -function Ya(e, n) { - const t = fi(e); - n(document), typeof ShadowRoot < "u" && t instanceof ShadowRoot && n(t); +function Xo(e, t) { + const n = fa(e); + t(document), typeof ShadowRoot < "u" && n instanceof ShadowRoot && t(n); } -const Kr = { mounted(e, n) { - const t = (a) => function(i, c, u) { +const Kr = { mounted(e, t) { + const n = (o) => function(a, c, u) { const s = typeof u.value == "function" ? u.value : u.value.handler; - c._clickOutside.lastMousedownWasOutside && qa(i, c, u) && setTimeout(() => { - ro(i, u) && s && s(i); + c._clickOutside.lastMousedownWasOutside && Yo(a, c, u) && setTimeout(() => { + si(a, u) && s && s(a); }, 0); - }(a, e, n), l = (a) => { - e._clickOutside.lastMousedownWasOutside = qa(a, e, n); + }(o, e, t), l = (o) => { + e._clickOutside.lastMousedownWasOutside = Yo(o, e, t); }; - Ya(e, (a) => { - a.addEventListener("click", t, !0), a.addEventListener("mousedown", l, !0); - }), e._clickOutside || (e._clickOutside = { lastMousedownWasOutside: !1 }), e._clickOutside[n.instance.$.uid] = { onClick: t, onMousedown: l }; -}, unmounted(e, n) { - e._clickOutside && (Ya(e, (t) => { - var i; - if (!t || !((i = e._clickOutside) != null && i[n.instance.$.uid])) + Xo(e, (o) => { + o.addEventListener("click", n, !0), o.addEventListener("mousedown", l, !0); + }), e._clickOutside || (e._clickOutside = { lastMousedownWasOutside: !1 }), e._clickOutside[t.instance.$.uid] = { onClick: n, onMousedown: l }; +}, unmounted(e, t) { + e._clickOutside && (Xo(e, (n) => { + var a; + if (!n || !((a = e._clickOutside) != null && a[t.instance.$.uid])) return; - const { onClick: l, onMousedown: a } = e._clickOutside[n.instance.$.uid]; - t.removeEventListener("click", l, !0), t.removeEventListener("mousedown", a, !0); - }), delete e._clickOutside[n.instance.$.uid]); + const { onClick: l, onMousedown: o } = e._clickOutside[t.instance.$.uid]; + n.removeEventListener("click", l, !0), n.removeEventListener("mousedown", o, !0); + }), delete e._clickOutside[t.instance.$.uid]); } }; function Jr(e) { - const { modelValue: n, color: t, ...l } = e; - return d(Ft, { name: "fade-transition", appear: !0 }, { default: () => [e.modelValue && d("div", Z({ class: ["v-overlay__scrim", e.color.backgroundColorClasses.value], style: e.color.backgroundColorStyles.value }, l), null)] }); + const { modelValue: t, color: n, ...l } = e; + return d(An, { name: "fade-transition", appear: !0 }, { default: () => [e.modelValue && d("div", Z({ class: ["v-overlay__scrim", e.color.backgroundColorClasses.value], style: e.color.backgroundColorStyles.value }, l), null)] }); } -const so = q({ 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 }, ...Ur(), ...ye(), ...zt(), ...Yr(), ...Nr(), ...Gr(), ...Ne(), ...Fn() }, "VOverlay"), Xa = te()({ name: "VOverlay", directives: { ClickOutside: Kr }, inheritAttrs: !1, props: { _disableGlobalStack: Boolean, ...so() }, emits: { "click:outside": (e) => !0, "update:modelValue": (e) => !0, afterLeave: () => !0 }, setup(e, n) { +const ui = H({ 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 }, ...Ur(), ...ye(), ...Dn(), ...Yr(), ...Nr(), ...jr(), ...Ne(), ...Vt() }, "VOverlay"), Ko = ne()({ name: "VOverlay", directives: { ClickOutside: Kr }, inheritAttrs: !1, props: { _disableGlobalStack: Boolean, ...ui() }, emits: { "click:outside": (e) => !0, "update:modelValue": (e) => !0, afterLeave: () => !0 }, setup(e, t) { var z, Q; - let { slots: t, attrs: l, emit: a } = n; - const i = _e(e, "modelValue"), c = f({ get: () => i.value, set: (E) => { - E && e.disabled || (i.value = E); + let { slots: n, attrs: l, emit: o } = t; + const a = $e(e, "modelValue"), c = v({ get: () => a.value, set: (E) => { + E && e.disabled || (a.value = E); } }), { teleportTarget: u } = function(E) { - return { teleportTarget: f(() => { + return { teleportTarget: v(() => { const U = E.value; if (U === !0 || !Ke) return; - const R = U === !1 ? document.body : typeof U == "string" ? document.querySelector(U) : U; - if (R == null) + const W = U === !1 ? document.body : typeof U == "string" ? document.querySelector(U) : U; + if (W == null) return void ll(`Unable to locate target ${U}`); - let j = R.querySelector(":scope > .v-overlay-container"); - return j || (j = document.createElement("div"), j.className = "v-overlay-container", R.appendChild(j)), j; + let q = W.querySelector(":scope > .v-overlay-container"); + return q || (q = document.createElement("div"), q.className = "v-overlay-container", W.appendChild(q)), q; }) }; - }(f(() => e.attach || e.contained)), { themeClasses: s } = Xe(e), { rtlClasses: o, isRtl: v } = wn(), { hasContent: y, onAfterLeave: m } = function(E, U) { - const R = de(!1), j = f(() => R.value || E.eager || U.value); - return K(U, () => R.value = !0), { isBooted: R, hasContent: j, onAfterLeave: function() { - E.eager || (R.value = !1); + }(v(() => e.attach || e.contained)), { themeClasses: s } = Xe(e), { rtlClasses: i, isRtl: p } = Ft(), { hasContent: y, onAfterLeave: f } = function(E, U) { + const W = de(!1), q = v(() => W.value || E.eager || U.value); + return K(U, () => W.value = !0), { isBooted: W, hasContent: q, onAfterLeave: function() { + E.eager || (W.value = !1); } }; - }(e, c), g = Ht(f(() => typeof e.scrim == "string" ? e.scrim : null)), { globalTop: p, localTop: C, stackStyles: h } = function(E, U, R) { - const j = Le("useStack"), Y = !R, ee = ge(ja, void 0), ve = lt({ activeChildren: /* @__PURE__ */ new Set() }); - tt(ja, ve); - const Ce = de(+U.value); - wt(E, () => { + }(e, c), m = Un(v(() => typeof e.scrim == "string" ? e.scrim : null)), { globalTop: h, localTop: b, stackStyles: g } = function(E, U, W) { + const q = Le("useStack"), Y = !W, ee = me(Ho, void 0), pe = ln({ activeChildren: /* @__PURE__ */ new Set() }); + nn(Ho, pe); + const be = de(+U.value); + Vn(E, () => { var ke; - const Fe = (ke = yn.at(-1)) == null ? void 0 : ke[1]; - Ce.value = Fe ? Fe + 10 : +U.value, Y && yn.push([j.uid, Ce.value]), ee == null || ee.activeChildren.add(j.uid), qe(() => { + const Ve = (ke = yt.at(-1)) == null ? void 0 : ke[1]; + be.value = Ve ? Ve + 10 : +U.value, Y && yt.push([q.uid, be.value]), ee == null || ee.activeChildren.add(q.uid), He(() => { if (Y) { - const Be = St(yn).findIndex((Oe) => Oe[0] === j.uid); - yn.splice(Be, 1); + const Be = Sn(yt).findIndex((Oe) => Oe[0] === q.uid); + yt.splice(Be, 1); } - ee == null || ee.activeChildren.delete(j.uid); + ee == null || ee.activeChildren.delete(q.uid); }); }); - const he = de(!0); - Y && ot(() => { + const ge = de(!0); + Y && rn(() => { var ke; - const Fe = ((ke = yn.at(-1)) == null ? void 0 : ke[0]) === j.uid; - setTimeout(() => he.value = Fe); + const Ve = ((ke = yt.at(-1)) == null ? void 0 : ke[0]) === q.uid; + setTimeout(() => ge.value = Ve); }); - const Re = f(() => !ve.activeChildren.size); - return { globalTop: zl(he), localTop: Re, stackStyles: f(() => ({ zIndex: Ce.value })) }; - }(c, ae(e, "zIndex"), e._disableGlobalStack), { activatorEl: b, activatorRef: x, target: O, targetEl: H, targetRef: $, activatorEvents: _, contentEvents: W, scrimEvents: T } = jr(e, { isActive: c, isTop: C }), { dimensionStyles: I } = Dt(e), P = function() { + const We = v(() => !pe.activeChildren.size); + return { globalTop: zl(ge), localTop: We, stackStyles: v(() => ({ zIndex: be.value })) }; + }(c, oe(e, "zIndex"), e._disableGlobalStack), { activatorEl: C, activatorRef: w, target: O, targetEl: G, targetRef: T, activatorEvents: $, contentEvents: R, scrimEvents: P } = qr(e, { isActive: c, isTop: b }), { dimensionStyles: S } = Ln(e), A = function() { if (!Ke) return de(!1); - const { ssr: E } = io(); + const { ssr: E } = ii(); if (E) { const U = de(!1); - return qt(() => { + return Yn(() => { U.value = !0; }), U; } return de(!0); - }(), { scopeId: S } = oo(); + }(), { scopeId: I } = ri(); K(() => e.disabled, (E) => { E && (c.value = !1); }); - const w = D(), A = D(), { contentStyles: M, updateLocation: N } = function(E, U) { - const R = D({}), j = D(); + const F = D(), _ = D(), { contentStyles: M, updateLocation: N } = function(E, U) { + const W = D({}), q = D(); function Y(ee) { - var ve; - (ve = j.value) == null || ve.call(j, ee); + var pe; + (pe = q.value) == null || pe.call(q, ee); } - return Ke && wt(() => !(!U.isActive.value || !E.locationStrategy), (ee) => { - var ve, Ce; - K(() => E.locationStrategy, ee), qe(() => { - window.removeEventListener("resize", Y), j.value = void 0; - }), window.addEventListener("resize", Y, { passive: !0 }), typeof E.locationStrategy == "function" ? j.value = (ve = E.locationStrategy(U, E, R)) == null ? void 0 : ve.updateLocation : j.value = (Ce = ao[E.locationStrategy](U, E, R)) == null ? void 0 : Ce.updateLocation; - }), { contentStyles: R, updateLocation: j }; - }(e, { isRtl: v, contentEl: A, target: O, isActive: c }); + return Ke && Vn(() => !(!U.isActive.value || !E.locationStrategy), (ee) => { + var pe, be; + K(() => E.locationStrategy, ee), He(() => { + window.removeEventListener("resize", Y), q.value = void 0; + }), window.addEventListener("resize", Y, { passive: !0 }), typeof E.locationStrategy == "function" ? q.value = (pe = E.locationStrategy(U, E, W)) == null ? void 0 : pe.updateLocation : q.value = (be = ai[E.locationStrategy](U, E, W)) == null ? void 0 : be.updateLocation; + }), { contentStyles: W, updateLocation: q }; + }(e, { isRtl: p, contentEl: _, target: O, isActive: c }); function k(E) { - a("click:outside", E), e.persistent ? L() : c.value = !1; + o("click:outside", E), e.persistent ? L() : c.value = !1; } function B() { - return c.value && p.value; + return c.value && h.value; } - function V(E) { - var U, R; - E.key === "Escape" && p.value && (e.persistent ? L() : (c.value = !1, (U = A.value) != null && U.contains(document.activeElement) && ((R = b.value) == null || R.focus()))); + function x(E) { + var U, W; + E.key === "Escape" && h.value && (e.persistent ? L() : (c.value = !1, (U = _.value) != null && U.contains(document.activeElement) && ((W = C.value) == null || W.focus()))); } (function(E, U) { if (!Ke) return; - let R; - ot(async () => { - R == null || R.stop(), U.isActive.value && E.scrollStrategy && (R = Dl(), await Me(), R.active && R.run(() => { - var j; - typeof E.scrollStrategy == "function" ? E.scrollStrategy(U, E, R) : (j = Gn[E.scrollStrategy]) == null || j.call(Gn, U, E, R); + let W; + rn(async () => { + W == null || W.stop(), U.isActive.value && E.scrollStrategy && (W = Dl(), await Me(), W.active && W.run(() => { + var q; + typeof E.scrollStrategy == "function" ? E.scrollStrategy(U, E, W) : (q = jt[E.scrollStrategy]) == null || q.call(jt, U, E, W); })); - }), qe(() => { - R == null || R.stop(); + }), He(() => { + W == null || W.stop(); }); - })(e, { root: w, contentEl: A, targetEl: H, isActive: c, updateLocation: N }), Ke && K(c, (E) => { - E ? window.addEventListener("keydown", V) : window.removeEventListener("keydown", V); + })(e, { root: F, contentEl: _, targetEl: G, isActive: c, updateLocation: N }), Ke && K(c, (E) => { + E ? window.addEventListener("keydown", x) : window.removeEventListener("keydown", x); }, { immediate: !0 }); - const F = (Q = (z = Le("useRouter")) == null ? void 0 : z.proxy) == null ? void 0 : Q.$router; - wt(() => e.closeOnBack, () => { + const V = (Q = (z = Le("useRouter")) == null ? void 0 : z.proxy) == null ? void 0 : Q.$router; + Vn(() => e.closeOnBack, () => { (function(E, U) { - let R, j, Y = !1; - function ee(ve) { - var Ce; - (Ce = ve.state) != null && Ce.replaced || (Y = !0, setTimeout(() => Y = !1)); + let W, q, Y = !1; + function ee(pe) { + var be; + (be = pe.state) != null && be.replaced || (Y = !0, setTimeout(() => Y = !1)); } Ke && (Me(() => { - window.addEventListener("popstate", ee), R = E == null ? void 0 : E.beforeEach((ve, Ce, he) => { - hl ? Y ? U(he) : he() : setTimeout(() => Y ? U(he) : he()), hl = !0; - }), j = E == null ? void 0 : E.afterEach(() => { - hl = !1; + window.addEventListener("popstate", ee), W = E == null ? void 0 : E.beforeEach((pe, be, ge) => { + gl ? Y ? U(ge) : ge() : setTimeout(() => Y ? U(ge) : ge()), gl = !0; + }), q = E == null ? void 0 : E.afterEach(() => { + gl = !1; }); - }), qe(() => { - window.removeEventListener("popstate", ee), R == null || R(), j == null || j(); + }), He(() => { + window.removeEventListener("popstate", ee), W == null || W(), q == null || q(); })); - })(F, (E) => { - p.value && c.value ? (E(!1), e.persistent ? L() : c.value = !1) : E(); + })(V, (E) => { + h.value && c.value ? (E(!1), e.persistent ? L() : c.value = !1) : E(); }); }); - const G = D(); + const j = D(); function L() { - e.noClickAnimation || A.value && Nt(A.value, [{ transformOrigin: "center" }, { transform: "scale(1.03)" }, { transformOrigin: "center" }], { duration: 150, easing: Kn }); + e.noClickAnimation || _.value && jn(_.value, [{ transformOrigin: "center" }, { transform: "scale(1.03)" }, { transformOrigin: "center" }], { duration: 150, easing: Kt }); } return K(() => c.value && (e.absolute || e.contained) && u.value == null, (E) => { if (E) { - const U = yi(w.value); - U && U !== document.scrollingElement && (G.value = U.scrollTop); + const U = ma(F.value); + U && U !== document.scrollingElement && (j.value = U.scrollTop); } }), se(() => { var E; - return d(we, null, [(E = t.activator) == null ? void 0 : E.call(t, { isActive: c.value, props: Z({ ref: x, targetRef: $ }, _.value, e.activatorProps) }), P.value && y.value && d(Ot, { disabled: !u.value, to: u.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, o.value, e.class], style: [h.value, { top: ie(G.value) }, e.style], ref: w }, S, l), [d(Jr, Z({ color: g, modelValue: c.value && !!e.scrim }, T.value), null), d(bt, { appear: !0, persisted: !0, transition: e.transition, target: O.value, onAfterLeave: () => { - m(), a("afterLeave"); + return d(Fe, null, [(E = n.activator) == null ? void 0 : E.call(n, { isActive: c.value, props: Z({ ref: w, targetRef: T }, $.value, e.activatorProps) }), A.value && y.value && d(Pn, { disabled: !u.value, to: u.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, i.value, e.class], style: [g.value, { top: ae(j.value) }, e.style], ref: F }, I, l), [d(Jr, Z({ color: m, modelValue: c.value && !!e.scrim }, P.value), null), d(In, { appear: !0, persisted: !0, transition: e.transition, target: O.value, onAfterLeave: () => { + f(), o("afterLeave"); } }, { default: () => { var U; - return [Ue(d("div", Z({ ref: A, class: ["v-overlay__content", e.contentClass], style: [I.value, M.value] }, W.value, e.contentProps), [(U = t.default) == null ? void 0 : U.call(t, { isActive: c })]), [[jt, c.value], [gt("click-outside"), { handler: k, closeConditional: B, include: () => [b.value] }]])]; + return [Ue(d("div", Z({ ref: _, class: ["v-overlay__content", e.contentClass], style: [S.value, M.value] }, R.value, e.contentProps), [(U = n.default) == null ? void 0 : U.call(n, { isActive: c })]), [[Hn, c.value], [gn("click-outside"), { handler: k, closeConditional: B, include: () => [C.value] }]])]; } })])] })]); - }), { activatorEl: b, target: O, animateClick: L, contentEl: A, globalTop: p, localTop: C, updateLocation: N }; -} }), bl = Symbol("Forwarded refs"); -function Sl(e, n) { - let t = e; - for (; t; ) { - const l = Reflect.getOwnPropertyDescriptor(t, n); + }), { activatorEl: C, target: O, animateClick: L, contentEl: _, globalTop: h, localTop: b, updateLocation: N }; +} }), Cl = Symbol("Forwarded refs"); +function Il(e, t) { + let n = e; + for (; n; ) { + const l = Reflect.getOwnPropertyDescriptor(n, t); if (l) return l; - t = Object.getPrototypeOf(t); + n = Object.getPrototypeOf(n); } } function sl(e) { - for (var n = arguments.length, t = new Array(n > 1 ? n - 1 : 0), l = 1; l < n; l++) - t[l - 1] = arguments[l]; - return e[bl] = t, new Proxy(e, { get(a, i) { - if (Reflect.has(a, i)) - return Reflect.get(a, i); - if (typeof i != "symbol" && !i.startsWith("$") && !i.startsWith("__")) { - for (const c of t) - if (c.value && Reflect.has(c.value, i)) { - const u = Reflect.get(c.value, i); + for (var t = arguments.length, n = new Array(t > 1 ? t - 1 : 0), l = 1; l < t; l++) + n[l - 1] = arguments[l]; + return e[Cl] = n, new Proxy(e, { get(o, a) { + if (Reflect.has(o, a)) + return Reflect.get(o, a); + if (typeof a != "symbol" && !a.startsWith("$") && !a.startsWith("__")) { + for (const c of n) + if (c.value && Reflect.has(c.value, a)) { + const u = Reflect.get(c.value, a); return typeof u == "function" ? u.bind(c.value) : u; } } - }, has(a, i) { - if (Reflect.has(a, i)) + }, has(o, a) { + if (Reflect.has(o, a)) return !0; - if (typeof i == "symbol" || i.startsWith("$") || i.startsWith("__")) + if (typeof a == "symbol" || a.startsWith("$") || a.startsWith("__")) return !1; - for (const c of t) - if (c.value && Reflect.has(c.value, i)) + for (const c of n) + if (c.value && Reflect.has(c.value, a)) return !0; return !1; - }, set(a, i, c) { - if (Reflect.has(a, i)) - return Reflect.set(a, i, c); - if (typeof i == "symbol" || i.startsWith("$") || i.startsWith("__")) + }, set(o, a, c) { + if (Reflect.has(o, a)) + return Reflect.set(o, a, c); + if (typeof a == "symbol" || a.startsWith("$") || a.startsWith("__")) return !1; - for (const u of t) - if (u.value && Reflect.has(u.value, i)) - return Reflect.set(u.value, i, c); + for (const u of n) + if (u.value && Reflect.has(u.value, a)) + return Reflect.set(u.value, a, c); return !1; - }, getOwnPropertyDescriptor(a, i) { + }, getOwnPropertyDescriptor(o, a) { var u; - const c = Reflect.getOwnPropertyDescriptor(a, i); + const c = Reflect.getOwnPropertyDescriptor(o, a); if (c) return c; - if (typeof i != "symbol" && !i.startsWith("$") && !i.startsWith("__")) { - for (const s of t) { + if (typeof a != "symbol" && !a.startsWith("$") && !a.startsWith("__")) { + for (const s of n) { if (!s.value) continue; - const o = Sl(s.value, i) ?? ("_" in s.value ? Sl((u = s.value._) == null ? void 0 : u.setupState, i) : void 0); - if (o) - return o; + const i = Il(s.value, a) ?? ("_" in s.value ? Il((u = s.value._) == null ? void 0 : u.setupState, a) : void 0); + if (i) + return i; } - for (const s of t) { - const o = s.value && s.value[bl]; - if (!o) + for (const s of n) { + const i = s.value && s.value[Cl]; + if (!i) continue; - const v = o.slice(); - for (; v.length; ) { - const y = v.shift(), m = Sl(y.value, i); - if (m) - return m; - const g = y.value && y.value[bl]; - g && v.push(...g); + const p = i.slice(); + for (; p.length; ) { + const y = p.shift(), f = Il(y.value, a); + if (f) + return f; + const m = y.value && y.value[Cl]; + m && p.push(...m); } } } } }); } -const Zr = q({ id: String, ...$t(so({ closeDelay: 250, closeOnContentClick: !0, locationStrategy: "connected", openDelay: 300, scrim: !1, scrollStrategy: "reposition", transition: { component: Ci } }), ["absolute"]) }, "VMenu"), Qr = te()({ name: "VMenu", props: Zr(), emits: { "update:modelValue": (e) => !0 }, setup(e, n) { - let { slots: t } = n; - const l = _e(e, "modelValue"), { scopeId: a } = oo(), i = nt(), c = f(() => e.id || `v-menu-${i}`), u = D(), s = ge(El, null), o = de(0); - async function v(C) { - var x, O, H; - const h = C.relatedTarget, b = C.target; - await Me(), l.value && h !== b && ((x = u.value) != null && x.contentEl) && ((O = u.value) != null && O.globalTop) && ![document, u.value.contentEl].includes(b) && !u.value.contentEl.contains(b) && ((H = Vl(u.value.contentEl)[0]) == null || H.focus()); +const Zr = H({ id: String, ...zn(ui({ closeDelay: 250, closeOnContentClick: !0, locationStrategy: "connected", openDelay: 300, scrim: !1, scrollStrategy: "reposition", transition: { component: Ca } }), ["absolute"]) }, "VMenu"), Qr = ne()({ name: "VMenu", props: Zr(), emits: { "update:modelValue": (e) => !0 }, setup(e, t) { + let { slots: n } = t; + const l = $e(e, "modelValue"), { scopeId: o } = ri(), a = tn(), c = v(() => e.id || `v-menu-${a}`), u = D(), s = me(El, null), i = de(0); + async function p(b) { + var w, O, G; + const g = b.relatedTarget, C = b.target; + await Me(), l.value && g !== C && ((w = u.value) != null && w.contentEl) && ((O = u.value) != null && O.globalTop) && ![document, u.value.contentEl].includes(C) && !u.value.contentEl.contains(C) && ((G = xl(u.value.contentEl)[0]) == null || G.focus()); } function y() { s == null || s.closeParents(); } - function m(C) { - var h, b, x; - !e.disabled && C.key === "Tab" && (si(Vl((h = u.value) == null ? void 0 : h.contentEl, !1), C.shiftKey ? "prev" : "next", (O) => O.tabIndex >= 0) || (l.value = !1, (x = (b = u.value) == null ? void 0 : b.activatorEl) == null || x.focus())); + function f(b) { + var g, C, w; + !e.disabled && b.key === "Tab" && (ua(xl((g = u.value) == null ? void 0 : g.contentEl, !1), b.shiftKey ? "prev" : "next", (O) => O.tabIndex >= 0) || (l.value = !1, (w = (C = u.value) == null ? void 0 : C.activatorEl) == null || w.focus())); } - function g(C) { - var b; + function m(b) { + var C; if (e.disabled) return; - const h = (b = u.value) == null ? void 0 : b.contentEl; - h && l.value ? C.key === "ArrowDown" ? (C.preventDefault(), qn(h, "next")) : C.key === "ArrowUp" && (C.preventDefault(), qn(h, "prev")) : ["ArrowDown", "ArrowUp"].includes(C.key) && (l.value = !0, C.preventDefault(), setTimeout(() => setTimeout(() => g(C)))); + const g = (C = u.value) == null ? void 0 : C.contentEl; + g && l.value ? b.key === "ArrowDown" ? (b.preventDefault(), Ht(g, "next")) : b.key === "ArrowUp" && (b.preventDefault(), Ht(g, "prev")) : ["ArrowDown", "ArrowUp"].includes(b.key) && (l.value = !0, b.preventDefault(), setTimeout(() => setTimeout(() => m(b)))); } - tt(El, { register() { - ++o.value; + nn(El, { register() { + ++i.value; }, unregister() { - --o.value; + --i.value; }, closeParents() { setTimeout(() => { - o.value || (l.value = !1, s == null || s.closeParents()); + i.value || (l.value = !1, s == null || s.closeParents()); }, 40); - } }), K(l, (C) => { - C ? (s == null || s.register(), document.addEventListener("focusin", v, { once: !0 })) : (s == null || s.unregister(), document.removeEventListener("focusin", v)); + } }), K(l, (b) => { + b ? (s == null || s.register(), document.addEventListener("focusin", p, { once: !0 })) : (s == null || s.unregister(), document.removeEventListener("focusin", p)); }); - const p = f(() => Z({ "aria-haspopup": "menu", "aria-expanded": String(l.value), "aria-owns": c.value, onKeydown: g }, e.activatorProps)); + const h = v(() => Z({ "aria-haspopup": "menu", "aria-expanded": String(l.value), "aria-owns": c.value, onKeydown: m }, e.activatorProps)); return se(() => { - const C = Xa.filterProps(e); - return d(Xa, Z({ ref: u, class: ["v-menu", e.class], style: e.style }, C, { modelValue: l.value, "onUpdate:modelValue": (h) => l.value = h, absolute: !0, activatorProps: p.value, "onClick:outside": y, onKeydown: m }, a), { activator: t.activator, default: function() { - for (var h = arguments.length, b = new Array(h), x = 0; x < h; x++) - b[x] = arguments[x]; - return d(Ge, { root: "VMenu" }, { default: () => { + const b = Ko.filterProps(e); + return d(Ko, Z({ ref: u, class: ["v-menu", e.class], style: e.style }, b, { modelValue: l.value, "onUpdate:modelValue": (g) => l.value = g, absolute: !0, activatorProps: h.value, "onClick:outside": y, onKeydown: f }, o), { activator: n.activator, default: function() { + for (var g = arguments.length, C = new Array(g), w = 0; w < g; w++) + C[w] = arguments[w]; + return d(je, { root: "VMenu" }, { default: () => { var O; - return [(O = t.default) == null ? void 0 : O.call(t, ...b)]; + return [(O = n.default) == null ? void 0 : O.call(n, ...C)]; } }); } }); - }), sl({ id: c, ΨopenChildren: o }, u); -} }), es = q({ active: Boolean, max: [Number, String], value: { type: [Number, String], default: 0 }, ...ye(), ...Fn({ transition: { component: bi } }) }, "VCounter"), uo = te()({ name: "VCounter", functional: !0, props: es(), setup(e, n) { - let { slots: t } = n; - const l = f(() => e.max ? `${e.value} / ${e.max}` : String(e.value)); - return se(() => d(bt, { transition: e.transition }, { default: () => [Ue(d("div", { class: ["v-counter", e.class], style: e.style }, [t.default ? t.default({ counter: l.value, max: e.max, value: e.value }) : l.value]), [[jt, e.active]])] })), {}; -} }), ts = q({ floating: Boolean, ...ye() }, "VFieldLabel"), Mn = te()({ name: "VFieldLabel", props: ts(), setup(e, n) { - let { slots: t } = n; - return se(() => d(Wi, { class: ["v-field-label", { "v-field-label--floating": e.floating }, e.class], style: e.style, "aria-hidden": e.floating || void 0 }, t)), {}; -} }), ns = ["underlined", "outlined", "filled", "solo", "solo-inverted", "solo-filled", "plain"], ta = q({ appendInnerIcon: be, bgColor: String, clearable: Boolean, clearIcon: { type: be, 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: be, reverse: Boolean, singleLine: Boolean, variant: { type: String, default: "filled", validator: (e) => ns.includes(e) }, "onClick:clear": it(), "onClick:appendInner": it(), "onClick:prependInner": it(), ...ye(), ...Zl(), ...ht(), ...Ne() }, "VField"), na = te()({ name: "VField", inheritAttrs: !1, props: { id: String, ...ji(), ...ta() }, emits: { "update:focused": (e) => !0, "update:modelValue": (e) => !0 }, setup(e, n) { - let { attrs: t, emit: l, slots: a } = n; - const { themeClasses: i } = Xe(e), { loaderClasses: c } = il(e), { focusClasses: u, isFocused: s, focus: o, blur: v } = En(e), { InputIcon: y } = Ui(e), { roundedClasses: m } = pt(e), { rtlClasses: g } = wn(), p = f(() => e.dirty || e.active), C = f(() => !(e.singleLine || !e.label && !a.label)), h = nt(), b = f(() => e.id || `input-${h}`), x = f(() => `${b.value}-messages`), O = D(), H = D(), $ = D(), _ = f(() => ["plain", "underlined"].includes(e.variant)), { backgroundColorClasses: W, backgroundColorStyles: T } = Ht(ae(e, "bgColor")), { textColorClasses: I, textColorStyles: P } = mt(f(() => e.error || e.disabled ? void 0 : p.value && s.value ? e.color : e.baseColor)); - K(p, (A) => { - if (C.value) { - const M = O.value.$el, N = H.value.$el; + }), sl({ id: c, ΨopenChildren: i }, u); +} }), es = H({ active: Boolean, max: [Number, String], value: { type: [Number, String], default: 0 }, ...ye(), ...Vt({ transition: { component: Ia } }) }, "VCounter"), ci = ne()({ name: "VCounter", functional: !0, props: es(), setup(e, t) { + let { slots: n } = t; + const l = v(() => e.max ? `${e.value} / ${e.max}` : String(e.value)); + return se(() => d(In, { transition: e.transition }, { default: () => [Ue(d("div", { class: ["v-counter", e.class], style: e.style }, [n.default ? n.default({ counter: l.value, max: e.max, value: e.value }) : l.value]), [[Hn, e.active]])] })), {}; +} }), ns = H({ floating: Boolean, ...ye() }, "VFieldLabel"), Mt = ne()({ name: "VFieldLabel", props: ns(), setup(e, t) { + let { slots: n } = t; + return se(() => d(Na, { class: ["v-field-label", { "v-field-label--floating": e.floating }, e.class], style: e.style, "aria-hidden": e.floating || void 0 }, n)), {}; +} }), ts = ["underlined", "outlined", "filled", "solo", "solo-inverted", "solo-filled", "plain"], no = 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) => ts.includes(e) }, "onClick:clear": an(), "onClick:appendInner": an(), "onClick:prependInner": an(), ...ye(), ...Zl(), ...hn(), ...Ne() }, "VField"), to = ne()({ name: "VField", inheritAttrs: !1, props: { id: String, ...Ha(), ...no() }, emits: { "update:focused": (e) => !0, "update:modelValue": (e) => !0 }, setup(e, t) { + let { attrs: n, emit: l, slots: o } = t; + const { themeClasses: a } = Xe(e), { loaderClasses: c } = al(e), { focusClasses: u, isFocused: s, focus: i, blur: p } = Et(e), { InputIcon: y } = qa(e), { roundedClasses: f } = bn(e), { rtlClasses: m } = Ft(), h = v(() => e.dirty || e.active), b = v(() => !(e.singleLine || !e.label && !o.label)), g = tn(), C = v(() => e.id || `input-${g}`), w = v(() => `${C.value}-messages`), O = D(), G = D(), T = D(), $ = v(() => ["plain", "underlined"].includes(e.variant)), { backgroundColorClasses: R, backgroundColorStyles: P } = Un(oe(e, "bgColor")), { textColorClasses: S, textColorStyles: A } = yn(v(() => e.error || e.disabled ? void 0 : h.value && s.value ? e.color : e.baseColor)); + K(h, (_) => { + if (b.value) { + const M = O.value.$el, N = G.value.$el; requestAnimationFrame(() => { - const k = Gl(M), B = N.getBoundingClientRect(), V = B.x - k.x, F = B.y - k.y - (k.height / 2 - B.height / 2), G = B.width / 0.75, L = Math.abs(G - k.width) > 1 ? { maxWidth: ie(G) } : void 0, z = getComputedStyle(M), Q = getComputedStyle(N), E = 1e3 * parseFloat(z.transitionDuration) || 150, U = parseFloat(Q.getPropertyValue("--v-field-label-scale")), R = Q.getPropertyValue("color"); - M.style.visibility = "visible", N.style.visibility = "hidden", Nt(M, { transform: `translate(${V}px, ${F}px) scale(${U})`, color: R, ...L }, { duration: E, easing: Kn, direction: A ? "normal" : "reverse" }).finished.then(() => { + const k = jl(M), B = N.getBoundingClientRect(), x = B.x - k.x, V = B.y - k.y - (k.height / 2 - B.height / 2), j = B.width / 0.75, L = Math.abs(j - k.width) > 1 ? { maxWidth: ae(j) } : void 0, z = getComputedStyle(M), Q = getComputedStyle(N), E = 1e3 * parseFloat(z.transitionDuration) || 150, U = parseFloat(Q.getPropertyValue("--v-field-label-scale")), W = Q.getPropertyValue("color"); + M.style.visibility = "visible", N.style.visibility = "hidden", jn(M, { transform: `translate(${x}px, ${V}px) scale(${U})`, color: W, ...L }, { duration: E, easing: Kt, direction: _ ? "normal" : "reverse" }).finished.then(() => { M.style.removeProperty("visibility"), N.style.removeProperty("visibility"); }); }); } }, { flush: "post" }); - const S = f(() => ({ isActive: p, isFocused: s, controlRef: $, blur: v, focus: o })); - function w(A) { - A.target !== document.activeElement && A.preventDefault(); + const I = v(() => ({ isActive: h, isFocused: s, controlRef: T, blur: p, focus: i })); + function F(_) { + _.target !== document.activeElement && _.preventDefault(); } return se(() => { - var V, F, G; - const A = e.variant === "outlined", M = a["prepend-inner"] || e.prependInnerIcon, N = !(!e.clearable && !a.clear), k = !!(a["append-inner"] || e.appendInnerIcon || N), B = () => a.label ? a.label({ ...S.value, label: e.label, props: { for: b.value } }) : e.label; - return d("div", Z({ class: ["v-field", { "v-field--active": p.value, "v-field--appended": k, "v-field--center-affix": e.centerAffix ?? !_.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": M, "v-field--reverse": e.reverse, "v-field--single-line": e.singleLine, "v-field--no-label": !B(), [`v-field--variant-${e.variant}`]: !0 }, i.value, W.value, u.value, c.value, m.value, g.value, e.class], style: [T.value, e.style], onClick: w }, t), [d("div", { class: "v-field__overlay" }, null), d(Ql, { name: "v-field", active: !!e.loading, color: e.error ? "error" : typeof e.loading == "string" ? e.loading : e.color }, { default: a.loader }), M && d("div", { key: "prepend", class: "v-field__prepend-inner" }, [e.prependInnerIcon && d(y, { key: "prepend-icon", name: "prependInner" }, null), (V = a["prepend-inner"]) == null ? void 0 : V.call(a, S.value)]), d("div", { class: "v-field__field", "data-no-activator": "" }, [["filled", "solo", "solo-inverted", "solo-filled"].includes(e.variant) && C.value && d(Mn, { key: "floating-label", ref: H, class: [I.value], floating: !0, for: b.value, style: P.value }, { default: () => [B()] }), d(Mn, { ref: O, for: b.value }, { default: () => [B()] }), (F = a.default) == null ? void 0 : F.call(a, { ...S.value, props: { id: b.value, class: "v-field__input", "aria-describedby": x.value }, focus: o, blur: v })]), N && d(Si, { key: "clear" }, { default: () => [Ue(d("div", { class: "v-field__clearable", onMousedown: (L) => { + var x, V, j; + const _ = e.variant === "outlined", M = o["prepend-inner"] || e.prependInnerIcon, N = !(!e.clearable && !o.clear), k = !!(o["append-inner"] || e.appendInnerIcon || N), B = () => o.label ? o.label({ ...I.value, label: e.label, props: { for: C.value } }) : e.label; + return d("div", Z({ class: ["v-field", { "v-field--active": h.value, "v-field--appended": k, "v-field--center-affix": e.centerAffix ?? !$.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": M, "v-field--reverse": e.reverse, "v-field--single-line": e.singleLine, "v-field--no-label": !B(), [`v-field--variant-${e.variant}`]: !0 }, a.value, R.value, u.value, c.value, f.value, m.value, e.class], style: [P.value, e.style], onClick: F }, n), [d("div", { class: "v-field__overlay" }, null), d(Ql, { name: "v-field", active: !!e.loading, color: e.error ? "error" : typeof e.loading == "string" ? e.loading : e.color }, { default: o.loader }), M && d("div", { key: "prepend", class: "v-field__prepend-inner" }, [e.prependInnerIcon && d(y, { key: "prepend-icon", name: "prependInner" }, null), (x = o["prepend-inner"]) == null ? void 0 : x.call(o, I.value)]), d("div", { class: "v-field__field", "data-no-activator": "" }, [["filled", "solo", "solo-inverted", "solo-filled"].includes(e.variant) && b.value && d(Mt, { key: "floating-label", ref: G, class: [S.value], floating: !0, for: C.value, style: A.value }, { default: () => [B()] }), d(Mt, { ref: O, for: C.value }, { default: () => [B()] }), (V = o.default) == null ? void 0 : V.call(o, { ...I.value, props: { id: C.value, class: "v-field__input", "aria-describedby": w.value }, focus: i, blur: p })]), N && d(Sa, { key: "clear" }, { default: () => [Ue(d("div", { class: "v-field__clearable", onMousedown: (L) => { L.preventDefault(), L.stopPropagation(); - } }, [a.clear ? a.clear() : d(y, { name: "clear" }, null)]), [[jt, e.dirty]])] }), k && d("div", { key: "append", class: "v-field__append-inner" }, [(G = a["append-inner"]) == null ? void 0 : G.call(a, S.value), e.appendInnerIcon && d(y, { key: "append-icon", name: "appendInner" }, null)]), d("div", { class: ["v-field__outline", I.value], style: P.value }, [A && d(we, null, [d("div", { class: "v-field__outline__start" }, null), C.value && d("div", { class: "v-field__outline__notch" }, [d(Mn, { ref: H, floating: !0, for: b.value }, { default: () => [B()] })]), d("div", { class: "v-field__outline__end" }, null)]), _.value && C.value && d(Mn, { ref: H, floating: !0, for: b.value }, { default: () => [B()] })])]); - }), { controlRef: $ }; + } }, [o.clear ? o.clear() : d(y, { name: "clear" }, null)]), [[Hn, e.dirty]])] }), k && d("div", { key: "append", class: "v-field__append-inner" }, [(j = o["append-inner"]) == null ? void 0 : j.call(o, I.value), e.appendInnerIcon && d(y, { key: "append-icon", name: "appendInner" }, null)]), d("div", { class: ["v-field__outline", S.value], style: A.value }, [_ && d(Fe, null, [d("div", { class: "v-field__outline__start" }, null), b.value && d("div", { class: "v-field__outline__notch" }, [d(Mt, { ref: G, floating: !0, for: C.value }, { default: () => [B()] })]), d("div", { class: "v-field__outline__end" }, null)]), $.value && b.value && d(Mt, { ref: G, floating: !0, for: C.value }, { default: () => [B()] })])]); + }), { controlRef: T }; } }); -function co(e) { - return ai(e, Object.keys(na.props).filter((n) => !Bl(n) && n !== "class" && n !== "style")); +function di(e) { + return aa(e, Object.keys(to.props).filter((t) => !Bl(t) && t !== "class" && t !== "style")); } -const ls = ["color", "file", "time", "date", "datetime-local", "week", "month"], vo = q({ 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, ...$n(), ...ta() }, "VTextField"), $l = te()({ name: "VTextField", directives: { Intersect: Yl }, inheritAttrs: !1, props: vo(), emits: { "click:control": (e) => !0, "mousedown:control": (e) => !0, "update:focused": (e) => !0, "update:modelValue": (e) => !0 }, setup(e, n) { - let { attrs: t, emit: l, slots: a } = n; - const i = _e(e, "modelValue"), { isFocused: c, focus: u, blur: s } = En(e), o = f(() => typeof e.counterValue == "function" ? e.counterValue(i.value) : typeof e.counterValue == "number" ? e.counterValue : (i.value ?? "").toString().length), v = f(() => t.maxlength ? t.maxlength : !e.counter || typeof e.counter != "number" && typeof e.counter != "string" ? void 0 : e.counter), y = f(() => ["plain", "underlined"].includes(e.variant)); - function m(_, W) { - var T, I; - e.autofocus && _ && ((I = (T = W[0].target) == null ? void 0 : T.focus) == null || I.call(T)); +const ls = ["color", "file", "time", "date", "datetime-local", "week", "month"], pi = 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, ...Tt(), ...no() }, "VTextField"), Tl = ne()({ name: "VTextField", directives: { Intersect: Yl }, inheritAttrs: !1, props: pi(), 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: o } = t; + const a = $e(e, "modelValue"), { isFocused: c, focus: u, blur: s } = Et(e), i = v(() => typeof e.counterValue == "function" ? e.counterValue(a.value) : typeof e.counterValue == "number" ? e.counterValue : (a.value ?? "").toString().length), p = 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($, R) { + var P, S; + e.autofocus && $ && ((S = (P = R[0].target) == null ? void 0 : P.focus) == null || S.call(P)); } - const g = D(), p = D(), C = D(), h = f(() => ls.includes(e.type) || e.persistentPlaceholder || c.value || e.active); - function b() { - var _; - C.value !== document.activeElement && ((_ = C.value) == null || _.focus()), c.value || u(); + const m = D(), h = D(), b = D(), g = v(() => ls.includes(e.type) || e.persistentPlaceholder || c.value || e.active); + function C() { + var $; + b.value !== document.activeElement && (($ = b.value) == null || $.focus()), c.value || u(); } - function x(_) { - l("mousedown:control", _), _.target !== C.value && (b(), _.preventDefault()); + function w($) { + l("mousedown:control", $), $.target !== b.value && (C(), $.preventDefault()); } - function O(_) { - b(), l("click:control", _); + function O($) { + C(), l("click:control", $); } - function H(_) { - _.stopPropagation(), b(), Me(() => { - i.value = null, ri(e["onClick:clear"], _); + function G($) { + $.stopPropagation(), C(), Me(() => { + a.value = null, sa(e["onClick:clear"], $); }); } - function $(_) { - var T; - const W = _.target; - if (i.value = W.value, ((T = e.modelModifiers) == null ? void 0 : T.trim) && ["text", "search", "password", "tel", "url"].includes(e.type)) { - const I = [W.selectionStart, W.selectionEnd]; + function T($) { + var P; + const R = $.target; + if (a.value = R.value, ((P = e.modelModifiers) == null ? void 0 : P.trim) && ["text", "search", "password", "tel", "url"].includes(e.type)) { + const S = [R.selectionStart, R.selectionEnd]; Me(() => { - W.selectionStart = I[0], W.selectionEnd = I[1]; + R.selectionStart = S[0], R.selectionEnd = S[1]; }); } } return se(() => { - const _ = !!(a.counter || e.counter !== !1 && e.counter != null), W = !(!_ && !a.details), [T, I] = kn(t), { modelValue: P, ...S } = It.filterProps(e), w = co(e); - return d(It, Z({ ref: g, modelValue: i.value, "onUpdate:modelValue": (A) => i.value = A, class: ["v-text-field", { "v-text-field--prefixed": e.prefix, "v-text-field--suffixed": e.suffix, "v-input--plain-underlined": y.value }, e.class], style: e.style }, T, S, { centerAffix: !y.value, focused: c.value }), { ...a, default: (A) => { - let { id: M, isDisabled: N, isDirty: k, isReadonly: B, isValid: V } = A; - return d(na, Z({ ref: p, onMousedown: x, onClick: O, "onClick:clear": H, "onClick:prependInner": e["onClick:prependInner"], "onClick:appendInner": e["onClick:appendInner"], role: e.role }, w, { id: M.value, active: h.value || k.value, dirty: k.value || e.dirty, disabled: N.value, focused: c.value, error: V.value === !1 }), { ...a, default: (F) => { - let { props: { class: G, ...L } } = F; - const z = Ue(d("input", Z({ ref: C, value: i.value, onInput: $, autofocus: e.autofocus, readonly: B.value, disabled: N.value, name: e.name, placeholder: e.placeholder, size: 1, type: e.type, onFocus: b, onBlur: s }, L, I), null), [[gt("intersect"), { handler: m }, null, { once: !0 }]]); - return d(we, null, [e.prefix && d("span", { class: "v-text-field__prefix" }, [d("span", { class: "v-text-field__prefix__text" }, [e.prefix])]), a.default ? d("div", { class: G, "data-no-activator": "" }, [a.default(), z]) : Fo(z, { class: G }), e.suffix && d("span", { class: "v-text-field__suffix" }, [d("span", { class: "v-text-field__suffix__text" }, [e.suffix])])]); + const $ = !!(o.counter || e.counter !== !1 && e.counter != null), R = !(!$ && !o.details), [P, S] = kt(n), { modelValue: A, ...I } = Bn.filterProps(e), F = di(e); + return d(Bn, Z({ ref: m, modelValue: a.value, "onUpdate:modelValue": (_) => a.value = _, class: ["v-text-field", { "v-text-field--prefixed": e.prefix, "v-text-field--suffixed": e.suffix, "v-input--plain-underlined": y.value }, e.class], style: e.style }, P, I, { centerAffix: !y.value, focused: c.value }), { ...o, default: (_) => { + let { id: M, isDisabled: N, isDirty: k, isReadonly: B, isValid: x } = _; + return d(to, Z({ ref: h, onMousedown: w, onClick: O, "onClick:clear": G, "onClick:prependInner": e["onClick:prependInner"], "onClick:appendInner": e["onClick:appendInner"], role: e.role }, F, { id: M.value, active: g.value || k.value, dirty: k.value || e.dirty, disabled: N.value, focused: c.value, error: x.value === !1 }), { ...o, default: (V) => { + let { props: { class: j, ...L } } = V; + const z = Ue(d("input", Z({ ref: b, value: a.value, onInput: T, autofocus: e.autofocus, readonly: B.value, disabled: N.value, name: e.name, placeholder: e.placeholder, size: 1, type: e.type, onFocus: C, onBlur: s }, L, S), null), [[gn("intersect"), { handler: f }, null, { once: !0 }]]); + return d(Fe, null, [e.prefix && d("span", { class: "v-text-field__prefix" }, [d("span", { class: "v-text-field__prefix__text" }, [e.prefix])]), o.default ? d("div", { class: j, "data-no-activator": "" }, [o.default(), z]) : Vi(z, { class: j }), e.suffix && d("span", { class: "v-text-field__suffix" }, [d("span", { class: "v-text-field__suffix__text" }, [e.suffix])])]); } }); - }, details: W ? (A) => { + }, details: R ? (_) => { var M; - return d(we, null, [(M = a.details) == null ? void 0 : M.call(a, A), _ && d(we, null, [d("span", null, null), d(uo, { active: e.persistentCounter || c.value, value: o.value, max: v.value }, a.counter)])]); + return d(Fe, null, [(M = o.details) == null ? void 0 : M.call(o, _), $ && d(Fe, null, [d("span", null, null), d(ci, { active: e.persistentCounter || c.value, value: i.value, max: p.value }, o.counter)])]); } : void 0 }); - }), sl({}, g, p, C); -} }), as = q({ renderless: Boolean, ...ye() }, "VVirtualScrollItem"), is = te()({ name: "VVirtualScrollItem", inheritAttrs: !1, props: as(), emits: { "update:height": (e) => !0 }, setup(e, n) { - let { attrs: t, emit: l, slots: a } = n; - const { resizeRef: i, contentRect: c } = jl(void 0, "border"); + }), sl({}, m, h, b); +} }), os = H({ renderless: Boolean, ...ye() }, "VVirtualScrollItem"), as = ne()({ name: "VVirtualScrollItem", inheritAttrs: !1, props: os(), emits: { "update:height": (e) => !0 }, setup(e, t) { + let { attrs: n, emit: l, slots: o } = t; + const { resizeRef: a, contentRect: c } = ql(void 0, "border"); K(() => { var u; return (u = c.value) == null ? void 0 : u.height; @@ -2644,480 +2644,480 @@ const ls = ["color", "file", "time", "date", "datetime-local", "week", "month"], u != null && l("update:height", u); }), se(() => { var u, s; - return e.renderless ? d(we, null, [(u = a.default) == null ? void 0 : u.call(a, { itemRef: i })]) : d("div", Z({ ref: i, class: ["v-virtual-scroll__item", e.class], style: e.style }, t), [(s = a.default) == null ? void 0 : s.call(a)]); + return e.renderless ? d(Fe, null, [(u = o.default) == null ? void 0 : u.call(o, { itemRef: a })]) : d("div", Z({ ref: a, class: ["v-virtual-scroll__item", e.class], style: e.style }, n), [(s = o.default) == null ? void 0 : s.call(o)]); }); -} }), os = q({ itemHeight: { type: [Number, String], default: null }, height: [Number, String] }, "virtual"); -function rs(e, n) { - const t = io(), l = de(0); - ot(() => { +} }), is = H({ itemHeight: { type: [Number, String], default: null }, height: [Number, String] }, "virtual"); +function rs(e, t) { + const n = ii(), l = de(0); + rn(() => { l.value = parseFloat(e.itemHeight || 0); }); - const a = de(0), i = de(Math.ceil((parseInt(e.height) || t.height.value) / (l.value || 16)) || 1), c = de(0), u = de(0), s = D(), o = D(); - let v = 0; - const { resizeRef: y, contentRect: m } = jl(); - ot(() => { + const o = de(0), a = de(Math.ceil((parseInt(e.height) || n.height.value) / (l.value || 16)) || 1), c = de(0), u = de(0), s = D(), i = D(); + let p = 0; + const { resizeRef: y, contentRect: f } = ql(); + rn(() => { y.value = s.value; }); - const g = f(() => { + const m = v(() => { var k; - return s.value === document.documentElement ? t.height.value : ((k = m.value) == null ? void 0 : k.height) || parseInt(e.height) || 0; - }), p = f(() => !!(s.value && o.value && g.value && l.value)); - let C = Array.from({ length: n.value.length }), h = Array.from({ length: n.value.length }); - const b = de(0); - let x = -1; + return s.value === document.documentElement ? n.height.value : ((k = f.value) == null ? void 0 : k.height) || parseInt(e.height) || 0; + }), h = v(() => !!(s.value && i.value && m.value && l.value)); + let b = Array.from({ length: t.value.length }), g = Array.from({ length: t.value.length }); + const C = de(0); + let w = -1; function O(k) { - return C[k] || l.value; + return b[k] || l.value; } - const H = function(k, B) { - let V = 0; - const F = function() { - for (var G = arguments.length, L = new Array(G), z = 0; z < G; z++) + const G = function(k, B) { + let x = 0; + const V = function() { + for (var j = arguments.length, L = new Array(j), z = 0; z < j; z++) L[z] = arguments[z]; - clearTimeout(V), V = setTimeout(() => k(...L), r(B)); + clearTimeout(x), x = setTimeout(() => k(...L), r(B)); }; - return F.clear = () => { - clearTimeout(V); - }, F.immediate = k, F; + return V.clear = () => { + clearTimeout(x); + }, V.immediate = k, V; }(() => { const k = performance.now(); - h[0] = 0; - const B = n.value.length; - for (let V = 1; V <= B - 1; V++) - h[V] = (h[V - 1] || 0) + O(V - 1); - b.value = Math.max(b.value, performance.now() - k); - }, b), $ = K(p, (k) => { - k && ($(), v = o.value.offsetTop, H.immediate(), w(), ~x && Me(() => { + g[0] = 0; + const B = t.value.length; + for (let x = 1; x <= B - 1; x++) + g[x] = (g[x - 1] || 0) + O(x - 1); + C.value = Math.max(C.value, performance.now() - k); + }, C), T = K(h, (k) => { + k && (T(), p = i.value.offsetTop, G.immediate(), F(), ~w && Me(() => { Ke && window.requestAnimationFrame(() => { - M(x), x = -1; + M(w), w = -1; }); })); }); - function _(k) { - return k = Gt(k, 0, n.value.length - 1), h[k] || 0; - } - function W(k) { - return function(B, V) { - let F = B.length - 1, G = 0, L = 0, z = null, Q = -1; - if (B[F] < V) - return F; - for (; G <= F; ) - if (L = G + F >> 1, z = B[L], z > V) - F = L - 1; + function $(k) { + return k = Gn(k, 0, t.value.length - 1), g[k] || 0; + } + function R(k) { + return function(B, x) { + let V = B.length - 1, j = 0, L = 0, z = null, Q = -1; + if (B[V] < x) + return V; + for (; j <= V; ) + if (L = j + V >> 1, z = B[L], z > x) + V = L - 1; else { - if (!(z < V)) - return z === V ? L : G; - Q = L, G = L + 1; + if (!(z < x)) + return z === x ? L : j; + Q = L, j = L + 1; } return Q; - }(h, k); + }(g, k); } - K(g, (k, B) => { - B && w(); - }), qe(() => { - H.clear(); + K(m, (k, B) => { + B && F(); + }), He(() => { + G.clear(); }); - let T = 0, I = 0, P = 0, S = -1; - function w() { - cancelAnimationFrame(S), S = requestAnimationFrame(A); + let P = 0, S = 0, A = 0, I = -1; + function F() { + cancelAnimationFrame(I), I = requestAnimationFrame(_); } - function A() { - if (!s.value || !g.value) + function _() { + if (!s.value || !m.value) return; - const k = T - v, B = Math.sign(I), V = Gt(W(Math.max(0, k - 100)), 0, n.value.length), F = Gt(W(k + g.value + 100) + 1, V + 1, n.value.length); - if ((B !== -1 || V < a.value) && (B !== 1 || F > i.value)) { - const G = _(a.value) - _(V), L = _(F) - _(i.value); - Math.max(G, L) > 100 ? (a.value = V, i.value = F) : (V <= 0 && (a.value = V), F >= n.value.length && (i.value = F)); + const k = P - p, B = Math.sign(S), x = Gn(R(Math.max(0, k - 100)), 0, t.value.length), V = Gn(R(k + m.value + 100) + 1, x + 1, t.value.length); + if ((B !== -1 || x < o.value) && (B !== 1 || V > a.value)) { + const j = $(o.value) - $(x), L = $(V) - $(a.value); + Math.max(j, L) > 100 ? (o.value = x, a.value = V) : (x <= 0 && (o.value = x), V >= t.value.length && (a.value = V)); } - c.value = _(a.value), u.value = _(n.value.length) - _(i.value); + c.value = $(o.value), u.value = $(t.value.length) - $(a.value); } function M(k) { - const B = _(k); - !s.value || k && !B ? x = k : s.value.scrollTop = B; - } - const N = f(() => n.value.slice(a.value, i.value).map((k, B) => ({ raw: k, index: B + a.value }))); - return K(n, () => { - C = Array.from({ length: n.value.length }), h = Array.from({ length: n.value.length }), H.immediate(), w(); - }, { deep: !0 }), { containerRef: s, markerRef: o, computedItems: N, paddingTop: c, paddingBottom: u, scrollToIndex: M, handleScroll: function() { - if (!s.value || !o.value) + const B = $(k); + !s.value || k && !B ? w = k : s.value.scrollTop = B; + } + const N = v(() => t.value.slice(o.value, a.value).map((k, B) => ({ raw: k, index: B + o.value }))); + return K(t, () => { + b = Array.from({ length: t.value.length }), g = Array.from({ length: t.value.length }), G.immediate(), F(); + }, { deep: !0 }), { containerRef: s, markerRef: i, computedItems: N, paddingTop: c, paddingBottom: u, scrollToIndex: M, handleScroll: function() { + if (!s.value || !i.value) return; const k = s.value.scrollTop, B = performance.now(); - B - P > 500 ? (I = Math.sign(k - T), v = o.value.offsetTop) : I = k - T, T = k, P = B, w(); + B - A > 500 ? (S = Math.sign(k - P), p = i.value.offsetTop) : S = k - P, P = k, A = B, F(); }, handleScrollend: function() { - s.value && o.value && (I = 0, P = 0, w()); + s.value && i.value && (S = 0, A = 0, F()); }, handleItemResize: function(k, B) { - const V = C[k], F = l.value; - l.value = F ? Math.min(l.value, B) : B, V === B && F === l.value || (C[k] = B, H()); + const x = b[k], V = l.value; + l.value = V ? Math.min(l.value, B) : B, x === B && V === l.value || (b[k] = B, G()); } }; } -const ss = q({ items: { type: Array, default: () => [] }, renderless: Boolean, ...os(), ...ye(), ...zt() }, "VVirtualScroll"), us = te()({ name: "VVirtualScroll", props: ss(), setup(e, n) { - let { slots: t } = n; - const l = Le("VVirtualScroll"), { dimensionStyles: a } = Dt(e), { containerRef: i, markerRef: c, handleScroll: u, handleScrollend: s, handleItemResize: o, scrollToIndex: v, paddingTop: y, paddingBottom: m, computedItems: g } = rs(e, ae(e, "items")); - return wt(() => e.renderless, () => { - function p() { - var h, b; - const C = arguments.length > 0 && arguments[0] !== void 0 && arguments[0] ? "addEventListener" : "removeEventListener"; - i.value === document.documentElement ? (document[C]("scroll", u, { passive: !0 }), document[C]("scrollend", s)) : ((h = i.value) == null || h[C]("scroll", u, { passive: !0 }), (b = i.value) == null || b[C]("scrollend", s)); +const ss = H({ items: { type: Array, default: () => [] }, renderless: Boolean, ...is(), ...ye(), ...Dn() }, "VVirtualScroll"), us = ne()({ name: "VVirtualScroll", props: ss(), setup(e, t) { + let { slots: n } = t; + const l = Le("VVirtualScroll"), { dimensionStyles: o } = Ln(e), { containerRef: a, markerRef: c, handleScroll: u, handleScrollend: s, handleItemResize: i, scrollToIndex: p, paddingTop: y, paddingBottom: f, computedItems: m } = rs(e, oe(e, "items")); + return Vn(() => e.renderless, () => { + function h() { + var g, C; + const b = arguments.length > 0 && arguments[0] !== void 0 && arguments[0] ? "addEventListener" : "removeEventListener"; + a.value === document.documentElement ? (document[b]("scroll", u, { passive: !0 }), document[b]("scrollend", s)) : ((g = a.value) == null || g[b]("scroll", u, { passive: !0 }), (C = a.value) == null || C[b]("scrollend", s)); } - qt(() => { - i.value = yi(l.vnode.el, !0), p(!0); - }), qe(p); + Yn(() => { + a.value = ma(l.vnode.el, !0), h(!0); + }), He(h); }), se(() => { - const p = g.value.map((C) => d(is, { key: C.index, renderless: e.renderless, "onUpdate:height": (h) => o(C.index, h) }, { default: (h) => { - var b; - return (b = t.default) == null ? void 0 : b.call(t, { item: C.raw, index: C.index, ...h }); + const h = m.value.map((b) => d(as, { key: b.index, renderless: e.renderless, "onUpdate:height": (g) => i(b.index, g) }, { default: (g) => { + var C; + return (C = n.default) == null ? void 0 : C.call(n, { item: b.raw, index: b.index, ...g }); } })); - return e.renderless ? d(we, null, [d("div", { ref: c, class: "v-virtual-scroll__spacer", style: { paddingTop: ie(y.value) } }, null), p, d("div", { class: "v-virtual-scroll__spacer", style: { paddingBottom: ie(m.value) } }, null)]) : d("div", { ref: i, class: ["v-virtual-scroll", e.class], onScrollPassive: u, onScrollend: s, style: [a.value, e.style] }, [d("div", { ref: c, class: "v-virtual-scroll__container", style: { paddingTop: ie(y.value), paddingBottom: ie(m.value) } }, [p])]); - }), { scrollToIndex: v }; + return e.renderless ? d(Fe, null, [d("div", { ref: c, class: "v-virtual-scroll__spacer", style: { paddingTop: ae(y.value) } }, null), h, d("div", { class: "v-virtual-scroll__spacer", style: { paddingBottom: ae(f.value) } }, null)]) : d("div", { ref: a, class: ["v-virtual-scroll", e.class], onScrollPassive: u, onScrollend: s, style: [o.value, e.style] }, [d("div", { ref: c, class: "v-virtual-scroll__container", style: { paddingTop: ae(y.value), paddingBottom: ae(f.value) } }, [h])]); + }), { scrollToIndex: p }; } }); -function cs(e, n) { - const t = de(!1); +function cs(e, t) { + const n = de(!1); let l; - return { onListScroll: function(a) { - cancelAnimationFrame(l), t.value = !0, l = requestAnimationFrame(() => { + return { onListScroll: function(o) { + cancelAnimationFrame(l), n.value = !0, l = requestAnimationFrame(() => { l = requestAnimationFrame(() => { - t.value = !1; + n.value = !1; }); }); - }, onListKeydown: async function(a) { + }, onListKeydown: async function(o) { var u, s; - if (a.key === "Tab" && ((u = n.value) == null || u.focus()), !["PageDown", "PageUp", "Home", "End"].includes(a.key)) + if (o.key === "Tab" && ((u = t.value) == null || u.focus()), !["PageDown", "PageUp", "Home", "End"].includes(o.key)) return; - const i = (s = e.value) == null ? void 0 : s.$el; - if (!i) + const a = (s = e.value) == null ? void 0 : s.$el; + if (!a) return; - a.key !== "Home" && a.key !== "End" || i.scrollTo({ top: a.key === "Home" ? 0 : i.scrollHeight, behavior: "smooth" }), await async function() { - await new Promise((o) => requestAnimationFrame(o)), await new Promise((o) => requestAnimationFrame(o)), await new Promise((o) => requestAnimationFrame(o)), await new Promise((o) => { - if (t.value) { - const v = K(t, () => { - v(), o(); + o.key !== "Home" && o.key !== "End" || a.scrollTo({ top: o.key === "Home" ? 0 : a.scrollHeight, behavior: "smooth" }), await async function() { + await new Promise((i) => requestAnimationFrame(i)), await new Promise((i) => requestAnimationFrame(i)), await new Promise((i) => requestAnimationFrame(i)), await new Promise((i) => { + if (n.value) { + const p = K(n, () => { + p(), i(); }); } else - o(); + i(); }); }(); - const c = i.querySelectorAll(":scope > :not(.v-virtual-scroll__spacer)"); - if (a.key === "PageDown" || a.key === "Home") { - const o = i.getBoundingClientRect().top; - for (const v of c) - if (v.getBoundingClientRect().top >= o) { - v.focus(); + const c = a.querySelectorAll(":scope > :not(.v-virtual-scroll__spacer)"); + if (o.key === "PageDown" || o.key === "Home") { + const i = a.getBoundingClientRect().top; + for (const p of c) + if (p.getBoundingClientRect().top >= i) { + p.focus(); break; } } else { - const o = i.getBoundingClientRect().bottom; - for (const v of [...c].reverse()) - if (v.getBoundingClientRect().bottom <= o) { - v.focus(); + const i = a.getBoundingClientRect().bottom; + for (const p of [...c].reverse()) + if (p.getBoundingClientRect().bottom <= i) { + p.focus(); break; } } } }; } -const ds = q({ 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: be, default: "$dropdown" }, menuProps: { type: Object }, multiple: Boolean, noDataText: { type: String, default: "$vuetify.noDataText" }, openOnClear: Boolean, itemColor: String, ...to({ itemChildren: !1 }) }, "Select"), vs = q({ ...ds(), ...$t(vo({ modelValue: null, role: "button" }), ["validationValue", "dirty", "appendInnerIcon"]), ...Fn({ transition: { component: Ci } }) }, "VSelect"), fs = te()({ name: "VSelect", props: vs(), emits: { "update:focused": (e) => !0, "update:modelValue": (e) => !0, "update:menu": (e) => !0 }, setup(e, n) { - let { slots: t } = n; - const { t: l } = ql(), a = D(), i = D(), c = D(), u = _e(e, "menu"), s = f({ get: () => u.value, set: (B) => { - var V; - u.value && !B && ((V = i.value) != null && V.ΨopenChildren) || (u.value = B); - } }), { items: o, transformIn: v, transformOut: y } = function(B) { - const V = f(() => no(B, B.items)), F = f(() => V.value.some((G) => G.value === null)); - return { items: V, transformIn: function(G) { - return F.value || (G = G.filter((L) => L !== null)), G.map((L) => B.returnObject && typeof L == "string" ? Ol(B, L) : V.value.find((z) => B.valueComparator(L, z.value)) || Ol(B, L)); - }, transformOut: function(G) { - return B.returnObject ? G.map((L) => { +const ds = H({ 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: Ce, default: "$dropdown" }, menuProps: { type: Object }, multiple: Boolean, noDataText: { type: String, default: "$vuetify.noDataText" }, openOnClear: Boolean, itemColor: String, ...ti({ itemChildren: !1 }) }, "Select"), ps = H({ ...ds(), ...zn(pi({ modelValue: null, role: "button" }), ["validationValue", "dirty", "appendInnerIcon"]), ...Vt({ transition: { component: Ca } }) }, "VSelect"), vs = ne()({ name: "VSelect", props: ps(), emits: { "update:focused": (e) => !0, "update:modelValue": (e) => !0, "update:menu": (e) => !0 }, setup(e, t) { + let { slots: n } = t; + const { t: l } = Hl(), o = D(), a = D(), c = D(), u = $e(e, "menu"), s = v({ get: () => u.value, set: (B) => { + var x; + u.value && !B && ((x = a.value) != null && x.ΨopenChildren) || (u.value = B); + } }), { items: i, transformIn: p, transformOut: y } = function(B) { + const x = v(() => li(B, B.items)), V = v(() => x.value.some((j) => j.value === null)); + return { items: x, transformIn: function(j) { + return V.value || (j = j.filter((L) => L !== null)), j.map((L) => B.returnObject && typeof L == "string" ? Ol(B, L) : x.value.find((z) => B.valueComparator(L, z.value)) || Ol(B, L)); + }, transformOut: function(j) { + return B.returnObject ? j.map((L) => { let { raw: z } = L; return z; - }) : G.map((L) => { + }) : j.map((L) => { let { value: z } = L; return z; }); } }; - }(e), m = _e(e, "modelValue", [], (B) => v(B === null ? [null] : dt(B)), (B) => { - const V = y(B); - return e.multiple ? V : V[0] ?? null; - }), g = f(() => typeof e.counterValue == "function" ? e.counterValue(m.value) : typeof e.counterValue == "number" ? e.counterValue : m.value.length), p = qi(), C = f(() => m.value.map((B) => B.value)), h = de(!1), b = f(() => s.value ? e.closeText : e.openText); - let x, O = ""; - const H = f(() => e.hideSelected ? o.value.filter((B) => !m.value.some((V) => V === B)) : o.value), $ = f(() => e.hideNoData && !o.value.length || e.readonly || (p == null ? void 0 : p.isReadonly.value)), _ = D(), { onListScroll: W, onListKeydown: T } = cs(_, a); - function I(B) { + }(e), f = $e(e, "modelValue", [], (B) => p(B === null ? [null] : pn(B)), (B) => { + const x = y(B); + return e.multiple ? x : x[0] ?? null; + }), m = v(() => typeof e.counterValue == "function" ? e.counterValue(f.value) : typeof e.counterValue == "number" ? e.counterValue : f.value.length), h = Ya(), b = v(() => f.value.map((B) => B.value)), g = de(!1), C = v(() => s.value ? e.closeText : e.openText); + let w, O = ""; + const G = v(() => e.hideSelected ? i.value.filter((B) => !f.value.some((x) => x === B)) : i.value), T = v(() => e.hideNoData && !i.value.length || e.readonly || (h == null ? void 0 : h.isReadonly.value)), $ = D(), { onListScroll: R, onListKeydown: P } = cs($, o); + function S(B) { e.openOnClear && (s.value = !0); } - function P() { - $.value || (s.value = !s.value); + function A() { + T.value || (s.value = !s.value); } - function S(B) { - var G, L; - if (!B.key || e.readonly || p != null && p.isReadonly.value || (["Enter", " ", "ArrowDown", "ArrowUp", "Home", "End"].includes(B.key) && B.preventDefault(), ["Enter", "ArrowDown", " "].includes(B.key) && (s.value = !0), ["Escape", "Tab"].includes(B.key) && (s.value = !1), B.key === "Home" ? (G = _.value) == null || G.focus("first") : B.key === "End" && ((L = _.value) == null || L.focus("last")), e.multiple || !function(z) { + function I(B) { + var j, L; + if (!B.key || e.readonly || h != null && h.isReadonly.value || (["Enter", " ", "ArrowDown", "ArrowUp", "Home", "End"].includes(B.key) && B.preventDefault(), ["Enter", "ArrowDown", " "].includes(B.key) && (s.value = !0), ["Escape", "Tab"].includes(B.key) && (s.value = !1), B.key === "Home" ? (j = $.value) == null || j.focus("first") : B.key === "End" && ((L = $.value) == null || L.focus("last")), e.multiple || !function(z) { const Q = z.key.length === 1, E = !z.ctrlKey && !z.metaKey && !z.altKey; return Q && E; }(B))) return; - const V = performance.now(); - V - x > 1e3 && (O = ""), O += B.key.toLowerCase(), x = V; - const F = o.value.find((z) => z.title.toLowerCase().startsWith(O)); - F !== void 0 && (m.value = [F]); + const x = performance.now(); + x - w > 1e3 && (O = ""), O += B.key.toLowerCase(), w = x; + const V = i.value.find((z) => z.title.toLowerCase().startsWith(O)); + V !== void 0 && (f.value = [V]); } - function w(B) { + function F(B) { if (e.multiple) { - const V = m.value.findIndex((F) => e.valueComparator(F.value, B.value)); - if (V === -1) - m.value = [...m.value, B]; + const x = f.value.findIndex((V) => e.valueComparator(V.value, B.value)); + if (x === -1) + f.value = [...f.value, B]; else { - const F = [...m.value]; - F.splice(V, 1), m.value = F; + const V = [...f.value]; + V.splice(x, 1), f.value = V; } } else - m.value = [B], s.value = !1; + f.value = [B], s.value = !1; } - function A(B) { - var V; - (V = _.value) != null && V.$el.contains(B.relatedTarget) || (s.value = !1); + function _(B) { + var x; + (x = $.value) != null && x.$el.contains(B.relatedTarget) || (s.value = !1); } function M() { var B; - h.value && ((B = a.value) == null || B.focus()); + g.value && ((B = o.value) == null || B.focus()); } function N(B) { - h.value = !0; + g.value = !0; } function k(B) { if (B == null) - m.value = []; - else if (Yn(a.value, ":autofill") || Yn(a.value, ":-webkit-autofill")) { - const V = o.value.find((F) => F.title === B); - V && w(V); + f.value = []; + else if (Yt(o.value, ":autofill") || Yt(o.value, ":-webkit-autofill")) { + const x = i.value.find((V) => V.title === B); + x && F(x); } else - a.value && (a.value.value = ""); + o.value && (o.value.value = ""); } return K(s, () => { - if (!e.hideSelected && s.value && m.value.length) { - const B = H.value.findIndex((V) => m.value.some((F) => e.valueComparator(F.value, V.value))); + if (!e.hideSelected && s.value && f.value.length) { + const B = G.value.findIndex((x) => f.value.some((V) => e.valueComparator(V.value, x.value))); Ke && window.requestAnimationFrame(() => { - var V; - B >= 0 && ((V = c.value) == null || V.scrollToIndex(B)); + var x; + B >= 0 && ((x = c.value) == null || x.scrollToIndex(B)); }); } }), se(() => { - const B = !(!e.chips && !t.chip), V = !!(!e.hideNoData || H.value.length || t["prepend-item"] || t["append-item"] || t["no-data"]), F = m.value.length > 0, G = $l.filterProps(e), L = F || !h.value && e.label && !e.persistentPlaceholder ? void 0 : e.placeholder; - return d($l, Z({ ref: a }, G, { modelValue: m.value.map((z) => z.props.value).join(", "), "onUpdate:modelValue": k, focused: h.value, "onUpdate:focused": (z) => h.value = z, validationValue: m.externalValue, counterValue: g.value, dirty: F, class: ["v-select", { "v-select--active-menu": s.value, "v-select--chips": !!e.chips, ["v-select--" + (e.multiple ? "multiple" : "single")]: !0, "v-select--selected": m.value.length, "v-select--selection-slot": !!t.selection }, e.class], style: e.style, inputmode: "none", placeholder: L, "onClick:clear": I, "onMousedown:control": P, onBlur: A, onKeydown: S, "aria-label": l(b.value), title: l(b.value) }), { ...t, default: () => d(we, null, [d(Qr, Z({ ref: i, modelValue: s.value, "onUpdate:modelValue": (z) => s.value = z, activator: "parent", contentClass: "v-select__content", disabled: $.value, eager: e.eager, maxHeight: 310, openOnClick: !1, closeOnContentClick: !1, transition: e.transition, onAfterLeave: M }, e.menuProps), { default: () => [V && d(Wr, { ref: _, selected: C.value, selectStrategy: e.multiple ? "independent" : "single-independent", onMousedown: (z) => z.preventDefault(), onKeydown: T, onFocusin: N, onScrollPassive: W, tabindex: "-1", color: e.itemColor ?? e.color }, { default: () => { + const B = !(!e.chips && !n.chip), x = !!(!e.hideNoData || G.value.length || n["prepend-item"] || n["append-item"] || n["no-data"]), V = f.value.length > 0, j = Tl.filterProps(e), L = V || !g.value && e.label && !e.persistentPlaceholder ? void 0 : e.placeholder; + return d(Tl, Z({ ref: o }, j, { modelValue: f.value.map((z) => z.props.value).join(", "), "onUpdate:modelValue": k, focused: g.value, "onUpdate:focused": (z) => g.value = z, validationValue: f.externalValue, counterValue: m.value, dirty: V, class: ["v-select", { "v-select--active-menu": s.value, "v-select--chips": !!e.chips, ["v-select--" + (e.multiple ? "multiple" : "single")]: !0, "v-select--selected": f.value.length, "v-select--selection-slot": !!n.selection }, e.class], style: e.style, inputmode: "none", placeholder: L, "onClick:clear": S, "onMousedown:control": A, onBlur: _, onKeydown: I, "aria-label": l(C.value), title: l(C.value) }), { ...n, default: () => d(Fe, null, [d(Qr, Z({ ref: a, modelValue: s.value, "onUpdate:modelValue": (z) => s.value = z, activator: "parent", contentClass: "v-select__content", disabled: T.value, eager: e.eager, maxHeight: 310, openOnClick: !1, closeOnContentClick: !1, transition: e.transition, onAfterLeave: M }, e.menuProps), { default: () => [x && d(Rr, { ref: $, selected: b.value, selectStrategy: e.multiple ? "independent" : "single-independent", onMousedown: (z) => z.preventDefault(), onKeydown: P, onFocusin: N, onScrollPassive: R, tabindex: "-1", color: e.itemColor ?? e.color }, { default: () => { var z, Q, E; - return [(z = t["prepend-item"]) == null ? void 0 : z.call(t), !H.value.length && !e.hideNoData && (((Q = t["no-data"]) == null ? void 0 : Q.call(t)) ?? d(tl, { title: l(e.noDataText) }, null)), d(us, { ref: c, renderless: !0, items: H.value }, { default: (U) => { - var ve; - let { item: R, index: j, itemRef: Y } = U; - const ee = Z(R.props, { ref: Y, key: j, onClick: () => w(R) }); - return ((ve = t.item) == null ? void 0 : ve.call(t, { item: R, index: j, props: ee })) ?? d(tl, Z(ee, { role: "option" }), { prepend: (Ce) => { - let { isSelected: he } = Ce; - return d(we, null, [e.multiple && !e.hideSelected ? d(Fl, { key: R.value, modelValue: he, ripple: !1, tabindex: "-1" }, null) : void 0, R.props.prependIcon && d(Ie, { icon: R.props.prependIcon }, null)]); + return [(z = n["prepend-item"]) == null ? void 0 : z.call(n), !G.value.length && !e.hideNoData && (((Q = n["no-data"]) == null ? void 0 : Q.call(n)) ?? d(nl, { title: l(e.noDataText) }, null)), d(us, { ref: c, renderless: !0, items: G.value }, { default: (U) => { + var pe; + let { item: W, index: q, itemRef: Y } = U; + const ee = Z(W.props, { ref: Y, key: q, onClick: () => F(W) }); + return ((pe = n.item) == null ? void 0 : pe.call(n, { item: W, index: q, props: ee })) ?? d(nl, Z(ee, { role: "option" }), { prepend: (be) => { + let { isSelected: ge } = be; + return d(Fe, null, [e.multiple && !e.hideSelected ? d(Vl, { key: W.value, modelValue: ge, ripple: !1, tabindex: "-1" }, null) : void 0, W.props.prependIcon && d(Se, { icon: W.props.prependIcon }, null)]); } }); - } }), (E = t["append-item"]) == null ? void 0 : E.call(t)]; - } })] }), m.value.map((z, Q) => { - const E = { "onClick:close": function(j) { - j.stopPropagation(), j.preventDefault(), w(z); - }, onMousedown(j) { - j.preventDefault(), j.stopPropagation(); - }, modelValue: !0, "onUpdate:modelValue": void 0 }, U = B ? !!t.chip : !!t.selection, R = U ? ui(B ? t.chip({ item: z, index: Q, props: E }) : t.selection({ item: z, index: Q })) : void 0; - if (!U || R) - return d("div", { key: z.value, class: "v-select__selection" }, [B ? t.chip ? d(Ge, { key: "chip-defaults", defaults: { VChip: { closable: e.closableChips, size: "small", text: z.title } } }, { default: () => [R] }) : d(Vr, Z({ key: "chip", closable: e.closableChips, size: "small", text: z.title, disabled: z.props.disabled }, E), null) : R ?? d("span", { class: "v-select__selection-text" }, [z.title, e.multiple && Q < m.value.length - 1 && d("span", { class: "v-select__selection-comma" }, [ti(",")])])]); + } }), (E = n["append-item"]) == null ? void 0 : E.call(n)]; + } })] }), f.value.map((z, Q) => { + const E = { "onClick:close": function(q) { + q.stopPropagation(), q.preventDefault(), F(z); + }, onMousedown(q) { + q.preventDefault(), q.stopPropagation(); + }, modelValue: !0, "onUpdate:modelValue": void 0 }, U = B ? !!n.chip : !!n.selection, W = U ? ca(B ? n.chip({ item: z, index: Q, props: E }) : n.selection({ item: z, index: Q })) : void 0; + if (!U || W) + return d("div", { key: z.value, class: "v-select__selection" }, [B ? n.chip ? d(je, { key: "chip-defaults", defaults: { VChip: { closable: e.closableChips, size: "small", text: z.title } } }, { default: () => [W] }) : d(xr, Z({ key: "chip", closable: e.closableChips, size: "small", text: z.title, disabled: z.props.disabled }, E), null) : W ?? d("span", { class: "v-select__selection-text" }, [z.title, e.multiple && Q < f.value.length - 1 && d("span", { class: "v-select__selection-comma" }, [ta(",")])])]); })]), "append-inner": function() { var U; for (var z = arguments.length, Q = new Array(z), E = 0; E < z; E++) Q[E] = arguments[E]; - return d(we, null, [(U = t["append-inner"]) == null ? void 0 : U.call(t, ...Q), e.menuIcon ? d(Ie, { class: "v-select__menu-icon", icon: e.menuIcon }, null) : void 0]); + return d(Fe, null, [(U = n["append-inner"]) == null ? void 0 : U.call(n, ...Q), e.menuIcon ? d(Se, { class: "v-select__menu-icon", icon: e.menuIcon }, null) : void 0]); } }); - }), sl({ isFocused: h, menu: s, select: w }, a); -} }), ms = te()({ name: "VCardActions", props: ye(), setup(e, n) { - let { slots: t } = n; - return Qt({ VBtn: { slim: !0, variant: "text" } }), se(() => { + }), sl({ isFocused: g, menu: s, select: F }, o); +} }), fs = ne()({ name: "VCardActions", props: ye(), setup(e, t) { + let { slots: n } = t; + return et({ VBtn: { slim: !0, variant: "text" } }), se(() => { var l; - return d("div", { class: ["v-card-actions", e.class], style: e.style }, [(l = t.default) == null ? void 0 : l.call(t)]); + return d("div", { class: ["v-card-actions", e.class], style: e.style }, [(l = n.default) == null ? void 0 : l.call(n)]); }), {}; -} }), ys = xn("v-card-subtitle"), gs = xn("v-card-title"), hs = q({ appendAvatar: String, appendIcon: be, prependAvatar: String, prependIcon: be, subtitle: [String, Number], title: [String, Number], ...ye(), ...ut() }, "VCardItem"), ps = te()({ name: "VCardItem", props: hs(), setup(e, n) { - let { slots: t } = n; +} }), ys = wt("v-card-subtitle"), ms = wt("v-card-title"), gs = H({ appendAvatar: String, appendIcon: Ce, prependAvatar: String, prependIcon: Ce, subtitle: [String, Number], title: [String, Number], ...ye(), ...cn() }, "VCardItem"), hs = ne()({ name: "VCardItem", props: gs(), setup(e, t) { + let { slots: n } = t; return se(() => { - var o; - const l = !(!e.prependAvatar && !e.prependIcon), a = !(!l && !t.prepend), i = !(!e.appendAvatar && !e.appendIcon), c = !(!i && !t.append), u = !(e.title == null && !t.title), s = !(e.subtitle == null && !t.subtitle); - return d("div", { class: ["v-card-item", e.class], style: e.style }, [a && d("div", { key: "prepend", class: "v-card-item__prepend" }, [t.prepend ? d(Ge, { key: "prepend-defaults", disabled: !l, defaults: { VAvatar: { density: e.density, icon: e.prependIcon, image: e.prependAvatar } } }, t.prepend) : l && d(Ut, { key: "prepend-avatar", density: e.density, icon: e.prependIcon, image: e.prependAvatar }, null)]), d("div", { class: "v-card-item__content" }, [u && d(gs, { key: "title" }, { default: () => { - var v; - return [((v = t.title) == null ? void 0 : v.call(t)) ?? e.title]; + var i; + const l = !(!e.prependAvatar && !e.prependIcon), o = !(!l && !n.prepend), a = !(!e.appendAvatar && !e.appendIcon), c = !(!a && !n.append), u = !(e.title == null && !n.title), s = !(e.subtitle == null && !n.subtitle); + return d("div", { class: ["v-card-item", e.class], style: e.style }, [o && d("div", { key: "prepend", class: "v-card-item__prepend" }, [n.prepend ? d(je, { key: "prepend-defaults", disabled: !l, defaults: { VAvatar: { density: e.density, icon: e.prependIcon, image: e.prependAvatar } } }, n.prepend) : l && d(qn, { key: "prepend-avatar", density: e.density, icon: e.prependIcon, image: e.prependAvatar }, null)]), d("div", { class: "v-card-item__content" }, [u && d(ms, { key: "title" }, { default: () => { + var p; + return [((p = n.title) == null ? void 0 : p.call(n)) ?? e.title]; } }), s && d(ys, { key: "subtitle" }, { default: () => { - var v; - return [((v = t.subtitle) == null ? void 0 : v.call(t)) ?? e.subtitle]; - } }), (o = t.default) == null ? void 0 : o.call(t)]), c && d("div", { key: "append", class: "v-card-item__append" }, [t.append ? d(Ge, { key: "append-defaults", disabled: !i, defaults: { VAvatar: { density: e.density, icon: e.appendIcon, image: e.appendAvatar } } }, t.append) : i && d(Ut, { key: "append-avatar", density: e.density, icon: e.appendIcon, image: e.appendAvatar }, null)])]); + var p; + return [((p = n.subtitle) == null ? void 0 : p.call(n)) ?? e.subtitle]; + } }), (i = n.default) == null ? void 0 : i.call(n)]), c && d("div", { key: "append", class: "v-card-item__append" }, [n.append ? d(je, { key: "append-defaults", disabled: !a, defaults: { VAvatar: { density: e.density, icon: e.appendIcon, image: e.appendAvatar } } }, n.append) : a && d(qn, { key: "append-avatar", density: e.density, icon: e.appendIcon, image: e.appendAvatar }, null)])]); }), {}; -} }), Lt = xn("v-card-text"), Cs = q({ appendAvatar: String, appendIcon: be, disabled: Boolean, flat: Boolean, hover: Boolean, image: String, link: { type: Boolean, default: void 0 }, prependAvatar: String, prependIcon: be, ripple: { type: [Boolean, Object], default: !0 }, subtitle: [String, Number], text: [String, Number], title: [String, Number], ...en(), ...ye(), ...ut(), ...zt(), ...nn(), ...Zl(), ...Kl(), ...Ti(), ...ht(), ...rl(), ...et(), ...Ne(), ...Vt({ variant: "elevated" }) }, "VCard"), an = te()({ name: "VCard", directives: { Ripple: _n }, props: Cs(), setup(e, n) { - let { attrs: t, slots: l } = n; - const { themeClasses: a } = Xe(e), { borderClasses: i } = tn(e), { colorClasses: c, colorStyles: u, variantClasses: s } = An(e), { densityClasses: o } = Ct(e), { dimensionStyles: v } = Dt(e), { elevationClasses: y } = ln(e), { loaderClasses: m } = il(e), { locationStyles: g } = Jl(e), { positionClasses: p } = _i(e), { roundedClasses: C } = pt(e), h = ol(e, t), b = f(() => e.link !== !1 && h.isLink.value), x = f(() => !e.disabled && e.link !== !1 && (e.link || h.isClickable.value)); +} }), Wn = wt("v-card-text"), bs = 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, Number], text: [String, Number], title: [String, Number], ...nt(), ...ye(), ...cn(), ...Dn(), ...lt(), ...Zl(), ...Kl(), ...$a(), ...hn(), ...rl(), ...en(), ...Ne(), ...kn({ variant: "elevated" }) }, "VCard"), at = ne()({ name: "VCard", directives: { Ripple: $t }, props: bs(), setup(e, t) { + let { attrs: n, slots: l } = t; + const { themeClasses: o } = Xe(e), { borderClasses: a } = tt(e), { colorClasses: c, colorStyles: u, variantClasses: s } = _t(e), { densityClasses: i } = Cn(e), { dimensionStyles: p } = Ln(e), { elevationClasses: y } = ot(e), { loaderClasses: f } = al(e), { locationStyles: m } = Jl(e), { positionClasses: h } = Ea(e), { roundedClasses: b } = bn(e), g = il(e, n), C = v(() => e.link !== !1 && g.isLink.value), w = v(() => !e.disabled && e.link !== !1 && (e.link || g.isClickable.value)); return se(() => { - const O = b.value ? "a" : e.tag, H = !(!l.title && e.title == null), $ = !(!l.subtitle && e.subtitle == null), _ = H || $, W = !!(l.append || e.appendAvatar || e.appendIcon), T = !!(l.prepend || e.prependAvatar || e.prependIcon), I = !(!l.image && !e.image), P = _ || T || W, S = !(!l.text && e.text == null); - return Ue(d(O, { 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": x.value }, a.value, i.value, c.value, o.value, y.value, m.value, p.value, C.value, s.value, e.class], style: [u.value, v.value, g.value, e.style], href: h.href.value, onClick: x.value && h.navigate, tabindex: e.disabled ? -1 : void 0 }, { default: () => { - var w; - return [I && d("div", { key: "image", class: "v-card__image" }, [l.image ? d(Ge, { key: "image-defaults", disabled: !e.image, defaults: { VImg: { cover: !0, src: e.image } } }, l.image) : d(Bi, { key: "image-img", cover: !0, src: e.image }, null)]), d(Ql, { name: "v-card", active: !!e.loading, color: typeof e.loading == "boolean" ? void 0 : e.loading }, { default: l.loader }), P && d(ps, { 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 }), S && d(Lt, { key: "text" }, { default: () => { - var A; - return [((A = l.text) == null ? void 0 : A.call(l)) ?? e.text]; - } }), (w = l.default) == null ? void 0 : w.call(l), l.actions && d(ms, null, { default: l.actions }), Pn(x.value, "v-card")]; - } }), [[gt("ripple"), x.value && e.ripple]]); + const O = C.value ? "a" : e.tag, G = !(!l.title && e.title == null), T = !(!l.subtitle && e.subtitle == null), $ = G || T, R = !!(l.append || e.appendAvatar || e.appendIcon), P = !!(l.prepend || e.prependAvatar || e.prependIcon), S = !(!l.image && !e.image), A = $ || P || R, I = !(!l.text && e.text == null); + return Ue(d(O, { 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": w.value }, o.value, a.value, c.value, i.value, y.value, f.value, h.value, b.value, s.value, e.class], style: [u.value, p.value, m.value, e.style], href: g.href.value, onClick: w.value && g.navigate, tabindex: e.disabled ? -1 : void 0 }, { default: () => { + var F; + return [S && d("div", { key: "image", class: "v-card__image" }, [l.image ? d(je, { key: "image-defaults", disabled: !e.image, defaults: { VImg: { cover: !0, src: e.image } } }, l.image) : d(xa, { key: "image-img", cover: !0, src: e.image }, null)]), d(Ql, { name: "v-card", active: !!e.loading, color: typeof e.loading == "boolean" ? void 0 : e.loading }, { default: l.loader }), A && d(hs, { 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 }), I && d(Wn, { key: "text" }, { default: () => { + var _; + return [((_ = l.text) == null ? void 0 : _.call(l)) ?? e.text]; + } }), (F = l.default) == null ? void 0 : F.call(l), l.actions && d(fs, null, { default: l.actions }), At(w.value, "v-card")]; + } }), [[gn("ripple"), w.value && e.ripple]]); }), {}; -} }), bs = q({ indeterminate: Boolean, inset: Boolean, flat: Boolean, loading: { type: [Boolean, String], default: !1 }, ...$n(), ...ea() }, "VSwitch"), Ss = te()({ name: "VSwitch", inheritAttrs: !1, props: bs(), emits: { "update:focused": (e) => !0, "update:modelValue": (e) => !0, "update:indeterminate": (e) => !0 }, setup(e, n) { - let { attrs: t, slots: l } = n; - const a = _e(e, "indeterminate"), i = _e(e, "modelValue"), { loaderClasses: c } = il(e), { isFocused: u, focus: s, blur: o } = En(e), v = D(), y = f(() => typeof e.loading == "string" && e.loading !== "" ? e.loading : e.color), m = nt(), g = f(() => e.id || `switch-${m}`); - function p() { - a.value && (a.value = !1); +} }), Cs = H({ indeterminate: Boolean, inset: Boolean, flat: Boolean, loading: { type: [Boolean, String], default: !1 }, ...Tt(), ...eo() }, "VSwitch"), Is = ne()({ name: "VSwitch", inheritAttrs: !1, props: Cs(), emits: { "update:focused": (e) => !0, "update:modelValue": (e) => !0, "update:indeterminate": (e) => !0 }, setup(e, t) { + let { attrs: n, slots: l } = t; + const o = $e(e, "indeterminate"), a = $e(e, "modelValue"), { loaderClasses: c } = al(e), { isFocused: u, focus: s, blur: i } = Et(e), p = D(), y = v(() => typeof e.loading == "string" && e.loading !== "" ? e.loading : e.color), f = tn(), m = v(() => e.id || `switch-${f}`); + function h() { + o.value && (o.value = !1); } - function C(h) { - var b, x; - h.stopPropagation(), h.preventDefault(), (x = (b = v.value) == null ? void 0 : b.input) == null || x.click(); + function b(g) { + var C, w; + g.stopPropagation(), g.preventDefault(), (w = (C = p.value) == null ? void 0 : C.input) == null || w.click(); } return se(() => { - const [h, b] = kn(t), x = It.filterProps(e), O = el.filterProps(e); - return d(It, Z({ class: ["v-switch", { "v-switch--inset": e.inset }, { "v-switch--indeterminate": a.value }, c.value, e.class] }, h, x, { modelValue: i.value, "onUpdate:modelValue": (H) => i.value = H, id: g.value, focused: u.value, style: e.style }), { ...l, default: (H) => { - let { id: $, messagesId: _, isDisabled: W, isReadonly: T, isValid: I } = H; - return d(el, Z({ ref: v }, O, { modelValue: i.value, "onUpdate:modelValue": [(P) => i.value = P, p], id: $.value, "aria-describedby": _.value, type: "checkbox", "aria-checked": a.value ? "mixed" : void 0, disabled: W.value, readonly: T.value, onFocus: s, onBlur: o }, b), { ...l, default: (P) => { - let { backgroundColorClasses: S, backgroundColorStyles: w } = P; - return d("div", { class: ["v-switch__track", ...S.value], style: w.value, onClick: C }, null); - }, input: (P) => { - let { inputNode: S, icon: w, backgroundColorClasses: A, backgroundColorStyles: M } = P; - return d(we, null, [S, d("div", { class: ["v-switch__thumb", { "v-switch__thumb--filled": w || e.loading }, e.inset ? void 0 : A.value], style: e.inset ? void 0 : M.value }, [d(Ko, null, { default: () => [e.loading ? d(Ql, { name: "v-switch", active: !0, color: I.value === !1 ? void 0 : y.value }, { default: (N) => l.loader ? l.loader(N) : d(Oi, { active: N.isActive, color: N.color, indeterminate: !0, size: "16", width: "2" }, null) }) : w && d(Ie, { key: w, icon: w, size: "x-small" }, null)] })])]); + const [g, C] = kt(n), w = Bn.filterProps(e), O = el.filterProps(e); + return d(Bn, Z({ class: ["v-switch", { "v-switch--inset": e.inset }, { "v-switch--indeterminate": o.value }, c.value, e.class] }, g, w, { modelValue: a.value, "onUpdate:modelValue": (G) => a.value = G, id: m.value, focused: u.value, style: e.style }), { ...l, default: (G) => { + let { id: T, messagesId: $, isDisabled: R, isReadonly: P, isValid: S } = G; + return d(el, Z({ ref: p }, O, { modelValue: a.value, "onUpdate:modelValue": [(A) => a.value = A, h], id: T.value, "aria-describedby": $.value, type: "checkbox", "aria-checked": o.value ? "mixed" : void 0, disabled: R.value, readonly: P.value, onFocus: s, onBlur: i }, C), { ...l, default: (A) => { + let { backgroundColorClasses: I, backgroundColorStyles: F } = A; + return d("div", { class: ["v-switch__track", ...I.value], style: F.value, onClick: b }, null); + }, input: (A) => { + let { inputNode: I, icon: F, backgroundColorClasses: _, backgroundColorStyles: M } = A; + return d(Fe, null, [I, d("div", { class: ["v-switch__thumb", { "v-switch__thumb--filled": F || e.loading }, e.inset ? void 0 : _.value], style: e.inset ? void 0 : M.value }, [d(Ki, null, { default: () => [e.loading ? d(Ql, { name: "v-switch", active: !0, color: S.value === !1 ? void 0 : y.value }, { default: (N) => l.loader ? l.loader(N) : d(Pa, { active: N.isActive, color: N.color, indeterminate: !0, size: "16", width: "2" }, null) }) : F && d(Se, { key: F, icon: F, size: "x-small" }, null)] })])]); } }); } }); }), {}; -} }), Is = q({ 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, ...$n(), ...ta() }, "VTextarea"), Bs = te()({ name: "VTextarea", directives: { Intersect: Yl }, inheritAttrs: !1, props: Is(), emits: { "click:control": (e) => !0, "mousedown:control": (e) => !0, "update:focused": (e) => !0, "update:modelValue": (e) => !0 }, setup(e, n) { - let { attrs: t, emit: l, slots: a } = n; - const i = _e(e, "modelValue"), { isFocused: c, focus: u, blur: s } = En(e), o = f(() => typeof e.counterValue == "function" ? e.counterValue(i.value) : (i.value || "").toString().length), v = f(() => t.maxlength ? t.maxlength : !e.counter || typeof e.counter != "number" && typeof e.counter != "string" ? void 0 : e.counter); - function y(S, w) { - var A, M; - e.autofocus && S && ((M = (A = w[0].target) == null ? void 0 : A.focus) == null || M.call(A)); - } - const m = D(), g = D(), p = de(""), C = D(), h = f(() => e.persistentPlaceholder || c.value || e.active); - function b() { - var S; - C.value !== document.activeElement && ((S = C.value) == null || S.focus()), c.value || u(); +} }), Ss = 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, ...Tt(), ...no() }, "VTextarea"), Bs = ne()({ name: "VTextarea", directives: { Intersect: Yl }, inheritAttrs: !1, props: Ss(), 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: o } = t; + const a = $e(e, "modelValue"), { isFocused: c, focus: u, blur: s } = Et(e), i = v(() => typeof e.counterValue == "function" ? e.counterValue(a.value) : (a.value || "").toString().length), p = v(() => n.maxlength ? n.maxlength : !e.counter || typeof e.counter != "number" && typeof e.counter != "string" ? void 0 : e.counter); + function y(I, F) { + var _, M; + e.autofocus && I && ((M = (_ = F[0].target) == null ? void 0 : _.focus) == null || M.call(_)); + } + const f = D(), m = D(), h = de(""), b = D(), g = v(() => e.persistentPlaceholder || c.value || e.active); + function C() { + var I; + b.value !== document.activeElement && ((I = b.value) == null || I.focus()), c.value || u(); } - function x(S) { - b(), l("click:control", S); + function w(I) { + C(), l("click:control", I); } - function O(S) { - l("mousedown:control", S); + function O(I) { + l("mousedown:control", I); } - function H(S) { - S.stopPropagation(), b(), Me(() => { - i.value = "", ri(e["onClick:clear"], S); + function G(I) { + I.stopPropagation(), C(), Me(() => { + a.value = "", sa(e["onClick:clear"], I); }); } - function $(S) { - var A; - const w = S.target; - if (i.value = w.value, (A = e.modelModifiers) == null ? void 0 : A.trim) { - const M = [w.selectionStart, w.selectionEnd]; + function T(I) { + var _; + const F = I.target; + if (a.value = F.value, (_ = e.modelModifiers) == null ? void 0 : _.trim) { + const M = [F.selectionStart, F.selectionEnd]; Me(() => { - w.selectionStart = M[0], w.selectionEnd = M[1]; + F.selectionStart = M[0], F.selectionEnd = M[1]; }); } } - const _ = D(), W = D(+e.rows), T = f(() => ["plain", "underlined"].includes(e.variant)); - function I() { + const $ = D(), R = D(+e.rows), P = v(() => ["plain", "underlined"].includes(e.variant)); + function S() { e.autoGrow && Me(() => { - if (!_.value || !g.value) + if (!$.value || !m.value) return; - const S = getComputedStyle(_.value), w = getComputedStyle(g.value.$el), A = parseFloat(S.getPropertyValue("--v-field-padding-top")) + parseFloat(S.getPropertyValue("--v-input-padding-top")) + parseFloat(S.getPropertyValue("--v-field-padding-bottom")), M = _.value.scrollHeight, N = parseFloat(S.lineHeight), k = Gt(M ?? 0, Math.max(parseFloat(e.rows) * N + A, parseFloat(w.getPropertyValue("--v-input-control-height"))), parseFloat(e.maxRows) * N + A || 1 / 0); - W.value = Math.floor((k - A) / N), p.value = ie(k); + const I = getComputedStyle($.value), F = getComputedStyle(m.value.$el), _ = parseFloat(I.getPropertyValue("--v-field-padding-top")) + parseFloat(I.getPropertyValue("--v-input-padding-top")) + parseFloat(I.getPropertyValue("--v-field-padding-bottom")), M = $.value.scrollHeight, N = parseFloat(I.lineHeight), k = Gn(M ?? 0, Math.max(parseFloat(e.rows) * N + _, parseFloat(F.getPropertyValue("--v-input-control-height"))), parseFloat(e.maxRows) * N + _ || 1 / 0); + R.value = Math.floor((k - _) / N), h.value = ae(k); }); } - let P; - return ot(() => { - e.autoGrow || (W.value = +e.rows); - }), qt(I), K(i, I), K(() => e.rows, I), K(() => e.maxRows, I), K(() => e.density, I), K(_, (S) => { - S ? (P = new ResizeObserver(I), P.observe(_.value)) : P == null || P.disconnect(); - }), yt(() => { - P == null || P.disconnect(); + let A; + return rn(() => { + e.autoGrow || (R.value = +e.rows); + }), Yn(S), K(a, S), K(() => e.rows, S), K(() => e.maxRows, S), K(() => e.density, S), K($, (I) => { + I ? (A = new ResizeObserver(S), A.observe($.value)) : A == null || A.disconnect(); + }), mn(() => { + A == null || A.disconnect(); }), se(() => { - const S = !!(a.counter || e.counter || e.counterValue), w = !(!S && !a.details), [A, M] = kn(t), { modelValue: N, ...k } = It.filterProps(e), B = co(e); - return d(It, Z({ ref: m, modelValue: i.value, "onUpdate:modelValue": (V) => i.value = V, class: ["v-textarea v-text-field", { "v-textarea--prefixed": e.prefix, "v-textarea--suffixed": e.suffix, "v-text-field--prefixed": e.prefix, "v-text-field--suffixed": e.suffix, "v-textarea--auto-grow": e.autoGrow, "v-textarea--no-resize": e.noResize || e.autoGrow, "v-input--plain-underlined": T.value }, e.class], style: e.style }, A, k, { centerAffix: W.value === 1 && !T.value, focused: c.value }), { ...a, default: (V) => { - let { id: F, isDisabled: G, isDirty: L, isReadonly: z, isValid: Q } = V; - return d(na, Z({ ref: g, style: { "--v-textarea-control-height": p.value }, onClick: x, onMousedown: O, "onClick:clear": H, "onClick:prependInner": e["onClick:prependInner"], "onClick:appendInner": e["onClick:appendInner"] }, B, { id: F.value, active: h.value || L.value, centerAffix: W.value === 1 && !T.value, dirty: L.value || e.dirty, disabled: G.value, focused: c.value, error: Q.value === !1 }), { ...a, default: (E) => { - let { props: { class: U, ...R } } = E; - return d(we, null, [e.prefix && d("span", { class: "v-text-field__prefix" }, [e.prefix]), Ue(d("textarea", Z({ ref: C, class: U, value: i.value, onInput: $, autofocus: e.autofocus, readonly: z.value, disabled: G.value, placeholder: e.placeholder, rows: e.rows, name: e.name, onFocus: b, onBlur: s }, R, M), null), [[gt("intersect"), { handler: y }, null, { once: !0 }]]), e.autoGrow && Ue(d("textarea", { class: [U, "v-textarea__sizer"], id: `${R.id}-sizer`, "onUpdate:modelValue": (j) => i.value = j, ref: _, readonly: !0, "aria-hidden": "true" }, null), [[Po, i.value]]), e.suffix && d("span", { class: "v-text-field__suffix" }, [e.suffix])]); + const I = !!(o.counter || e.counter || e.counterValue), F = !(!I && !o.details), [_, M] = kt(n), { modelValue: N, ...k } = Bn.filterProps(e), B = di(e); + return d(Bn, Z({ ref: f, modelValue: a.value, "onUpdate:modelValue": (x) => a.value = x, class: ["v-textarea v-text-field", { "v-textarea--prefixed": e.prefix, "v-textarea--suffixed": e.suffix, "v-text-field--prefixed": e.prefix, "v-text-field--suffixed": e.suffix, "v-textarea--auto-grow": e.autoGrow, "v-textarea--no-resize": e.noResize || e.autoGrow, "v-input--plain-underlined": P.value }, e.class], style: e.style }, _, k, { centerAffix: R.value === 1 && !P.value, focused: c.value }), { ...o, default: (x) => { + let { id: V, isDisabled: j, isDirty: L, isReadonly: z, isValid: Q } = x; + return d(to, Z({ ref: m, style: { "--v-textarea-control-height": h.value }, onClick: w, onMousedown: O, "onClick:clear": G, "onClick:prependInner": e["onClick:prependInner"], "onClick:appendInner": e["onClick:appendInner"] }, B, { id: V.value, active: g.value || L.value, centerAffix: R.value === 1 && !P.value, dirty: L.value || e.dirty, disabled: j.value, focused: c.value, error: Q.value === !1 }), { ...o, default: (E) => { + let { props: { class: U, ...W } } = E; + return d(Fe, null, [e.prefix && d("span", { class: "v-text-field__prefix" }, [e.prefix]), Ue(d("textarea", Z({ ref: b, class: U, value: a.value, onInput: T, autofocus: e.autofocus, readonly: z.value, disabled: j.value, placeholder: e.placeholder, rows: e.rows, name: e.name, onFocus: C, onBlur: s }, W, M), null), [[gn("intersect"), { handler: y }, null, { once: !0 }]]), e.autoGrow && Ue(d("textarea", { class: [U, "v-textarea__sizer"], id: `${W.id}-sizer`, "onUpdate:modelValue": (q) => a.value = q, ref: $, readonly: !0, "aria-hidden": "true" }, null), [[Ai, a.value]]), e.suffix && d("span", { class: "v-text-field__suffix" }, [e.suffix])]); } }); - }, details: w ? (V) => { - var F; - return d(we, null, [(F = a.details) == null ? void 0 : F.call(a, V), S && d(we, null, [d("span", null, null), d(uo, { active: e.persistentCounter || c.value, value: o.value, max: v.value }, a.counter)])]); + }, details: F ? (x) => { + var V; + return d(Fe, null, [(V = o.details) == null ? void 0 : V.call(o, x), I && d(Fe, null, [d("span", null, null), d(ci, { active: e.persistentCounter || c.value, value: i.value, max: p.value }, o.counter)])]); } : void 0 }); - }), sl({}, m, g, C); -} }), fo = rt({ __name: "BooleanIcons", props: Qe({ iconFalseColor: {}, iconFalseTitle: {}, iconTrueColor: {}, iconTrueTitle: {}, iconFalse: {}, iconTrue: {} }, { modelValue: {} }), emits: ["update:modelValue"], setup(e) { - const n = e, t = ge(Symbol.for("vuetify:icons")), l = Tt(e, "modelValue"), a = f(() => at({ icon: n.iconFalse, iconOptions: t, name: "false" })), i = f(() => at({ icon: n.iconTrue, iconOptions: t, name: "true" })); - return (c, u) => l.value ? (J(), ze(r(Ie), { key: 0, class: "v-inline-fields--boolean-icons fa-fw", color: c.iconTrueColor, icon: r(i), size: "x-small", title: c.iconTrueTitle }, null, 8, ["color", "icon", "title"])) : (J(), ze(r(Ie), { key: 1, class: "v-inline-fields--boolean-icons fa-fw", color: c.iconFalseColor, icon: r(a), size: "x-small", title: c.iconFalseTitle }, null, 8, ["color", "icon", "title"])); -} }), oe = "v-inline-fields", on = (e) => { - const { cell: n = !1, field: t = "", density: l = "", disabled: a = !1, iconSet: i = "mdi", loading: c = !1, loadingWait: u, tableField: s = !1, variant: o } = e, v = l && o; - return { [`${oe}`]: !0, [`${oe}--container`]: !0, [`${oe}--container-cell`]: n, [`${oe}--container-disabled`]: r(a), [`${oe}--container-table`]: s, [`${oe}--container-icon-set-${i}`]: !0, [`${oe}--container-loading`]: c && u, [`${oe}--container-${t}`]: !0, [`${oe}--container-${t}-${l}`]: !0, [`${oe}--container-${t}-${l}-${o}`]: v, [`${oe}--container-${t}-${o}`]: o, [`${oe}--container-${t}-${o}-${l}`]: v, [`${oe}--container-${l}`]: l, [`${oe}--container-${l}-${t}`]: l, [`${oe}--container-${l}-${o}`]: v, [`${oe}--container-${o}`]: o, [`${oe}--container-${o}-${l}`]: v, [`${oe}--container-${o}-${t}`]: o }; -}, rn = (e) => { - const { cell: n = !1, cellUnderlineFullWidth: t = !0, field: l = "", density: a = "" } = e; - return { [`${oe}--display-container-cell`]: n, [`${oe}--display-container-cell-underline-full-width`]: n && t, [`${oe}--display-container`]: !0, [`${oe}--display-wrapper-value`]: !0, [`${l}`]: !0, "v-input": !0, [`v-input--density-${a}`]: !0, "v-input--horizontal": !0 }; + }), sl({}, f, m, b); +} }), vi = sn({ __name: "BooleanIcons", props: Qe({ iconFalseColor: {}, iconFalseTitle: {}, iconTrueColor: {}, iconTrueTitle: {}, iconFalse: {}, iconTrue: {} }, { modelValue: {} }), emits: ["update:modelValue"], setup(e) { + const t = e, n = me(Symbol.for("vuetify:icons")), l = $n(e, "modelValue"), o = v(() => on({ icon: t.iconFalse, iconOptions: n, name: "false" })), a = v(() => on({ icon: t.iconTrue, iconOptions: n, name: "true" })); + return (c, u) => l.value ? (J(), ze(r(Se), { key: 0, class: "v-inline-fields--boolean-icons fa-fw", color: c.iconTrueColor, icon: r(a), size: "x-small", title: c.iconTrueTitle }, null, 8, ["color", "icon", "title"])) : (J(), ze(r(Se), { key: 1, class: "v-inline-fields--boolean-icons fa-fw", color: c.iconFalseColor, icon: r(o), size: "x-small", title: c.iconFalseTitle }, null, 8, ["color", "icon", "title"])); +} }), ie = "v-inline-fields", it = (e) => { + const { cell: t = !1, field: n = "", density: l = "", disabled: o = !1, iconSet: a = "mdi", loading: c = !1, loadingWait: u, tableField: s = !1, variant: i } = e, p = l && i; + return { [`${ie}`]: !0, [`${ie}--container`]: !0, [`${ie}--container-cell`]: t, [`${ie}--container-disabled`]: r(o), [`${ie}--container-table`]: s, [`${ie}--container-icon-set-${a}`]: !0, [`${ie}--container-loading`]: c && u, [`${ie}--container-${n}`]: !0, [`${ie}--container-${n}-${l}`]: !0, [`${ie}--container-${n}-${l}-${i}`]: p, [`${ie}--container-${n}-${i}`]: i, [`${ie}--container-${n}-${i}-${l}`]: p, [`${ie}--container-${l}`]: l, [`${ie}--container-${l}-${n}`]: l, [`${ie}--container-${l}-${i}`]: p, [`${ie}--container-${i}`]: i, [`${ie}--container-${i}-${l}`]: p, [`${ie}--container-${i}-${n}`]: i }; +}, rt = (e) => { + const { cell: t = !1, cellUnderlineFullWidth: n = !0, field: l = "", density: o = "" } = e; + return { [`${ie}--display-container-cell`]: t, [`${ie}--display-container-cell-underline-full-width`]: t && n, [`${ie}--display-container`]: !0, [`${ie}--display-wrapper-value`]: !0, [`${l}`]: !0, "v-input": !0, [`v-input--density-${o}`]: !0, "v-input--horizontal": !0 }; }, ul = (e) => { - const { density: n = "", variant: t = "" } = e; - return { "v-input": !0, "v-input--dirty": !0, "v-input--horizontal": !0, "v-text-field": !0, [`v-input--density-${n}`]: !0, [`v-text-field--plain-${t}`]: !0 }; -}, mo = (e) => { - const { density: n = "" } = e; - return { [`${oe}--selection-control`]: !0, [`v-selection-control--density-${n}`]: !0 }; -}, la = (e, n, t) => { - const { error: l = !1, empty: a = !1 } = t; - return { [`${oe}`]: !0, [`${oe}--display-value-${e}`]: !0, [`${oe}--display-value`]: !0, [`${oe}--display-value-empty`]: r(a), [`text-${n}`]: !r(l), "text-danger": r(l) }; -}, sn = (e) => { - const { name: n, active: t = !1 } = e; - return { [`${oe}`]: !0, [`${oe}--field`]: !0, [`${oe}--field-${n}`]: !0, [`${oe}--field-active`]: t }; -}, un = (e) => { - const { name: n, showField: t } = e; - return { [`${oe}--card-container`]: !0, [`${oe}--card-container-${n}`]: !0, "d-none": !t }; + const { density: t = "", variant: n = "" } = e; + return { "v-input": !0, "v-input--dirty": !0, "v-input--horizontal": !0, "v-text-field": !0, [`v-input--density-${t}`]: !0, [`v-text-field--plain-${n}`]: !0 }; +}, fi = (e) => { + const { density: t = "" } = e; + return { [`${ie}--selection-control`]: !0, [`v-selection-control--density-${t}`]: !0 }; +}, lo = (e, t, n) => { + const { error: l = !1, empty: o = !1 } = n; + return { [`${ie}`]: !0, [`${ie}--display-value-${e}`]: !0, [`${ie}--display-value`]: !0, [`${ie}--display-value-empty`]: r(o), [`text-${t}`]: !r(l), "text-danger": r(l) }; +}, st = (e) => { + const { name: t, active: n = !1 } = e; + return { [`${ie}`]: !0, [`${ie}--field`]: !0, [`${ie}--field-${t}`]: !0, [`${ie}--field-active`]: n }; +}, ut = (e) => { + const { name: t, showField: n } = e; + return { [`${ie}--card-container`]: !0, [`${ie}--card-container-${t}`]: !0, "d-none": !n }; }; -function Ka(e) { +function Jo(e) { if (!e) return 100; if (e.toString().includes(".")) { - const n = 100 * Number(e); - return n >= 100 ? 100 : n; + const t = 100 * Number(e); + return t >= 100 ? 100 : t; } return Number(e) >= 100 ? 100 : Number(e); } -function Ja(e) { - let n = function(y) { - const m = { 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 g = y; - return Object.entries(m).forEach(([p, C]) => { - y.toLowerCase() != p.toLowerCase() || (g = C); - }), g; - }(e), t = 0, l = 0, a = 0, i = 100, c = 0, u = 0, s = 0; - if (n.substring(0, 1) === "#") - n = function(y) { - let m = y.replace("#", ""); - m.length === 3 && (m = m.split("").map((b) => b + b).join("")); - const g = parseInt(m.substring(0, 2), 16), p = parseInt(m.substring(2, 4), 16), C = parseInt(m.substring(4, 6), 16); - return [g, p, C, 100]; - }(n); - else if (n.includes("rgb")) - n = [...n.matchAll(/[\d+.\d+]+/g)].map(Number); - else if (n.includes("hsl")) - return n = [...n.matchAll(/[\d+.\d+]+/g)].map(String), t = n[0], l = n[1], a = n[2], i = Ka(n[3]), `${t} ${l}% ${a}% / ${i}%`; - [c, u, s, i] = n, c /= 255, u /= 255, s /= 255, i = Ka(i); - const o = Math.max(c, u, s), v = Math.min(c, u, s); - if (o === null || !v === null || isNaN(o) || isNaN(v)) { +function Zo(e) { + let t = function(y) { + const f = { 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 m = y; + return Object.entries(f).forEach(([h, b]) => { + y.toLowerCase() != h.toLowerCase() || (m = b); + }), m; + }(e), n = 0, l = 0, o = 0, a = 100, c = 0, u = 0, s = 0; + if (t.substring(0, 1) === "#") + t = function(y) { + let f = y.replace("#", ""); + f.length === 3 && (f = f.split("").map((C) => C + C).join("")); + const m = parseInt(f.substring(0, 2), 16), h = parseInt(f.substring(2, 4), 16), b = parseInt(f.substring(4, 6), 16); + return [m, h, b, 100]; + }(t); + else if (t.includes("rgb")) + t = [...t.matchAll(/[\d+.\d+]+/g)].map(Number); + else if (t.includes("hsl")) + return t = [...t.matchAll(/[\d+.\d+]+/g)].map(String), n = t[0], l = t[1], o = t[2], a = Jo(t[3]), `${n} ${l}% ${o}% / ${a}%`; + [c, u, s, a] = t, c /= 255, u /= 255, s /= 255, a = Jo(a); + const i = Math.max(c, u, s), p = Math.min(c, u, s); + if (i === null || !p === null || isNaN(i) || isNaN(p)) { const y = "0 0% 100% / 12%"; - return console.warn(`[VuetifyInlineFields: The "color" prop value using "${n}" doesn't exist. Using the value "hsl(${y})" in it's place.`), y; + return console.warn(`[VuetifyInlineFields: The "color" prop value using "${t}" doesn't exist. Using the value "hsl(${y})" in it's place.`), y; } - if (t = (o + v) / 2, l = (o + v) / 2, a = (o + v) / 2, o == v) - t = l = 0; + if (n = (i + p) / 2, l = (i + p) / 2, o = (i + p) / 2, i == p) + n = l = 0; else { - const y = o - v; - switch (l = a > 0.5 ? y / (2 - o - v) : y / (o + v), o) { + const y = i - p; + switch (l = o > 0.5 ? y / (2 - i - p) : y / (i + p), i) { case c: - t = (u - s) / y + (u < s ? 6 : 0); + n = (u - s) / y + (u < s ? 6 : 0); break; case u: - t = (s - c) / y + 2; + n = (s - c) / y + 2; break; case s: - t = (c - u) / y + 4; + n = (c - u) / y + 4; } - t /= 6; + n /= 6; } - return t = Math.round(360 * t), l = Math.round(100 * l), a = Math.round(100 * a), `${t} ${l}% ${a}% / ${i}%`; + return n = Math.round(360 * n), l = Math.round(100 * l), o = Math.round(100 * o), `${n} ${l}% ${o}% / ${a}%`; } -const Vs = (e, n) => { +const xs = (e, t) => { if (function(l) { return l === "transparent" || l === "none" || l === "inherit" || l === "currentColor" || l === "initial" || l === "unset"; }(e)) @@ -3126,346 +3126,346 @@ const Vs = (e, n) => { return l.includes("--v-theme"); }(e)) return `rgb(var(${e}))`; - const t = function(l, a) { - const i = a.global.current.value.colors; - return Object.entries(i).find(([c]) => c === l); - }(e, n); - return t ? `hsl(${Ja(t[1])})` : `hsl(${Ja(e)})`; -}, gn = (e) => { - const { str: n, unit: t = "px" } = e; - if (n != null && n !== "") - return +n ? `${Number(n)}${t}` : String(n); -}, yo = (e) => { - var a; - const { modelValue: n, trueValue: t } = e, l = r(n); - return ((a = l == null ? void 0 : l.toLowerCase) == null ? void 0 : a.call(l)) === "true" || l === "1" || l == "1" || l === !0 || l == t || l === t; -}, aa = (e) => { - const { underlineStyle: n, underlineWidth: t, color: l, error: a, theme: i, underlined: c } = e; + const n = function(l, o) { + const a = o.global.current.value.colors; + return Object.entries(a).find(([c]) => c === l); + }(e, t); + return n ? `hsl(${Zo(n[1])})` : `hsl(${Zo(e)})`; +}, mt = (e) => { + const { str: t, unit: n = "px" } = e; + if (t != null && t !== "") + return +t ? `${Number(t)}${n}` : String(t); +}, yi = (e) => { + var o; + const { modelValue: t, trueValue: n } = e, l = r(t); + return ((o = l == null ? void 0 : l.toLowerCase) == null ? void 0 : o.call(l)) === "true" || l === "1" || l == "1" || l === !0 || l == n || l === n; +}, oo = (e) => { + const { underlineStyle: t, underlineWidth: n, color: l, error: o, theme: a, underlined: c } = e; let { underlineColor: u } = e; u = u || l; - const s = { "border-bottom-color": Vs(u, i), "border-bottom-style": n, "border-bottom-width": t }; - return r(a) && (s["border-bottom-color"] = "rgb(var(--v-theme-danger))"), c || (s["border-bottom"] = "none"), s; -}, Pt = (e) => { - const { cardMinWidth: n, cardOffsetX: t, cardOffsetY: l, cardWidth: a, field: i, name: c = "" } = e, u = ((v) => { - const { cardOffsetX: y, cardOffsetY: m, field: g } = v; - if (!g) + const s = { "border-bottom-color": xs(u, a), "border-bottom-style": t, "border-bottom-width": n }; + return r(o) && (s["border-bottom-color"] = "rgb(var(--v-theme-danger))"), c || (s["border-bottom"] = "none"), s; +}, _n = (e) => { + const { cardMinWidth: t, cardOffsetX: n, cardOffsetY: l, cardWidth: o, field: a, name: c = "" } = e, u = ((p) => { + const { cardOffsetX: y, cardOffsetY: f, field: m } = p; + if (!m) return { bottom: 0, height: 0, left: 0, right: 0, top: 0, width: 0, x: 0, y: 0 }; - const { x: p, y: C } = g.getBoundingClientRect(), { width: h, height: b } = g.getBoundingClientRect(), { right: x, bottom: O } = g.getBoundingClientRect(); - return { bottom: gn({ str: O + Number(m) }), height: b, left: gn({ str: 0 + Number(y) }), right: gn({ str: x + Number(y) }), top: gn({ str: 2 + Number(m) }), width: gn({ str: h }), x: p, y: C }; - })({ cardOffsetX: t, cardOffsetY: l, field: i }); - let s = n, o = a; - return o || (o = c === "checkbox" ? "fit-content" : u.width), s || (s = c === "checkbox" ? "fit-content" : u.width), { left: u.left, top: u.top, width: o, zIndex: 10 }; -}, cl = rt({ __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 }, valueColor: {} }, emits: ["toggleField"], setup(e, { emit: n }) { - const t = n, l = e, a = _t(), i = Rl(), c = { displayValue: l.displayValue, empty: l.empty, error: l.error }, u = f(() => la(l.field, l.valueColor, { empty: l.empty, error: l.error })), s = f(() => aa({ color: l.color, error: l.error, theme: i, underlineColor: l.underlineColor, underlineStyle: l.underlineStyle, underlineWidth: l.underlineWidth, underlined: l.underlined })), o = f(() => ((m) => { - const { underlineWidth: g } = m; - return { borderBottom: `${g || "0px"} solid transparent` }; - })({ underlineWidth: l.underlineWidth })), v = (m, g = !1) => ((p) => { - const { inner: C = !1, position: h } = p; - return { [`${oe}--display-icon`]: !C, [`${oe}--display-${h}-icon`]: !C, [`${oe}--display-${h}-inner-icon`]: C, "me-1": h === "prepend", "ms-1": h === "append" }; - })({ inner: g, position: m }); + const { x: h, y: b } = m.getBoundingClientRect(), { width: g, height: C } = m.getBoundingClientRect(), { right: w, bottom: O } = m.getBoundingClientRect(); + return { bottom: mt({ str: O + Number(f) }), height: C, left: mt({ str: 0 + Number(y) }), right: mt({ str: w + Number(y) }), top: mt({ str: 2 + Number(f) }), width: mt({ str: g }), x: h, y: b }; + })({ cardOffsetX: n, cardOffsetY: l, field: a }); + let s = t, i = o; + return i || (i = c === "checkbox" ? "fit-content" : u.width), s || (s = c === "checkbox" ? "fit-content" : u.width), { left: u.left, top: u.top, width: i, zIndex: 10 }; +}, cl = sn({ __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 }, valueColor: {} }, emits: ["toggleField"], setup(e, { emit: t }) { + const n = t, l = e, o = En(), a = Wl(), c = { displayValue: l.displayValue, empty: l.empty, error: l.error }, u = v(() => lo(l.field, l.valueColor, { empty: l.empty, error: l.error })), s = v(() => oo({ color: l.color, error: l.error, theme: a, underlineColor: l.underlineColor, underlineStyle: l.underlineStyle, underlineWidth: l.underlineWidth, underlined: l.underlined })), i = v(() => ((f) => { + const { underlineWidth: m } = f; + return { borderBottom: `${m || "0px"} solid transparent` }; + })({ underlineWidth: l.underlineWidth })), p = (f, m = !1) => ((h) => { + const { inner: b = !1, position: g } = h; + return { [`${ie}--display-icon`]: !b, [`${ie}--display-${g}-icon`]: !b, [`${ie}--display-${g}-inner-icon`]: b, "me-1": g === "prepend", "ms-1": g === "append" }; + })({ inner: m, position: f }); function y() { - t("toggleField"); - } - return (m, g) => (J(), ce("div", { class: "v-inline-fields--display-wrapper", onClick: y }, [m.displayPrependIcon || r(a)["display.prepend"] ? (J(), ce("div", { key: 0, class: le(v("prepend")), style: $e(r(o)) }, [r(a)["display.prepend"] ? Ye(m.$slots, "display.prepend", Te(Z({ key: 0 }, c))) : (J(), ze(Ie, { key: 1, color: m.displayPrependIconColor, icon: m.displayPrependIcon, size: "x-small" }, null, 8, ["color", "icon"]))], 6)) : Ve("", !0), He("div", { class: le(["d-inline-flex", r(u)]), style: $e(r(s)) }, [m.displayPrependInnerIcon || r(a)["display.prependInner"] ? (J(), ce("div", { key: 0, class: le(v("prepend", !0)) }, [r(a)["display.prependInner"] ? Ye(m.$slots, "display.prependInner", Te(Z({ key: 0 }, c))) : (J(), ze(Ie, { key: 1, color: m.displayPrependInnerIconColor, icon: m.displayPrependInnerIcon, size: "x-small" }, null, 8, ["color", "icon"]))], 2)) : Ve("", !0), ti(" " + Ll(m.displayValue) + " ", 1), m.displayAppendInnerIcon || r(a)["display.appendInner"] ? (J(), ce("div", { key: 1, class: le(v("append", !0)) }, [r(a)["display.appendInner"] ? Ye(m.$slots, "display.appendInner", Te(Z({ key: 0 }, c))) : (J(), ze(Ie, { key: 1, color: m.displayAppendInnerIconColor, icon: m.displayAppendInnerIcon, size: "x-small" }, null, 8, ["color", "icon"]))], 2)) : Ve("", !0)], 6), m.displayAppendIcon || r(a)["display.append"] ? (J(), ce("div", { key: 1, class: le(v("append")), style: $e(r(o)) }, [r(a)["display.append"] ? Ye(m.$slots, "display.append", Te(Z({ key: 0 }, c))) : (J(), ze(Ie, { key: 1, color: m.displayAppendIconColor, icon: m.displayAppendIcon, size: "x-small" }, null, 8, ["color", "icon"]))], 6)) : Ve("", !0)])); -} }), cn = rt({ __name: "SaveFieldButtons", props: { loading: { type: Boolean }, cancelButtonColor: {}, cancelButtonSize: {}, cancelButtonVariant: {}, cancelButtonTitle: {}, cancelIconColor: {}, error: { type: Boolean }, fieldOnly: { type: Boolean }, hideCancelIcon: { type: Boolean }, hideSaveIcon: { type: Boolean }, cancelIcon: {}, loadingIcon: {}, loadingIconColor: {}, saveButtonColor: {}, saveButtonSize: {}, saveButtonTitle: {}, saveButtonVariant: {}, saveIconColor: {}, saveIcon: {} }, emits: ["close", "save"], setup(e, { emit: n }) { - const t = Et(), l = n, a = e, i = ge(Symbol.for("vuetify:icons")), c = f(() => a.error), u = f(() => ({ [`${oe}--save-fields-container`]: !0 })), s = f(() => a.loading), o = lt({ ...t, ...a }), v = f(() => (i == null ? void 0 : i.defaultSet) === "fa" ? "fa-spin" : (i == null ? void 0 : i.defaultSet) === "mdi" ? "mdi-spin" : ""), y = f(() => ((b) => { - const { cancelButtonVariant: x } = b; - return { "me-1": x === "elevated", "ms-1": !0 }; - })({ cancelButtonVariant: o.cancelButtonVariant })), m = f(() => at({ icon: a.cancelIcon, iconOptions: i, name: "false" })), g = f(() => at({ icon: a.loadingIcon, iconOptions: i, name: "loading" })), p = f(() => at({ icon: a.saveIcon, iconOptions: i, name: "save" })); - function C() { + n("toggleField"); + } + return (f, m) => (J(), ce("div", { class: "v-inline-fields--display-wrapper", onClick: y }, [f.displayPrependIcon || r(o)["display.prepend"] ? (J(), ce("div", { key: 0, class: le(p("prepend")), style: Te(r(i)) }, [r(o)["display.prepend"] ? Ye(f.$slots, "display.prepend", Pe(Z({ key: 0 }, c))) : (J(), ze(Se, { key: 1, color: f.displayPrependIconColor, icon: f.displayPrependIcon, size: "x-small" }, null, 8, ["color", "icon"]))], 6)) : xe("", !0), Ge("div", { class: le(["d-inline-flex", r(u)]), style: Te(r(s)) }, [f.displayPrependInnerIcon || r(o)["display.prependInner"] ? (J(), ce("div", { key: 0, class: le(p("prepend", !0)) }, [r(o)["display.prependInner"] ? Ye(f.$slots, "display.prependInner", Pe(Z({ key: 0 }, c))) : (J(), ze(Se, { key: 1, color: f.displayPrependInnerIconColor, icon: f.displayPrependInnerIcon, size: "x-small" }, null, 8, ["color", "icon"]))], 2)) : xe("", !0), ta(" " + Ll(f.displayValue) + " ", 1), f.displayAppendInnerIcon || r(o)["display.appendInner"] ? (J(), ce("div", { key: 1, class: le(p("append", !0)) }, [r(o)["display.appendInner"] ? Ye(f.$slots, "display.appendInner", Pe(Z({ key: 0 }, c))) : (J(), ze(Se, { key: 1, color: f.displayAppendInnerIconColor, icon: f.displayAppendInnerIcon, size: "x-small" }, null, 8, ["color", "icon"]))], 2)) : xe("", !0)], 6), f.displayAppendIcon || r(o)["display.append"] ? (J(), ce("div", { key: 1, class: le(p("append")), style: Te(r(i)) }, [r(o)["display.append"] ? Ye(f.$slots, "display.append", Pe(Z({ key: 0 }, c))) : (J(), ze(Se, { key: 1, color: f.displayAppendIconColor, icon: f.displayAppendIcon, size: "x-small" }, null, 8, ["color", "icon"]))], 6)) : xe("", !0)])); +} }), ct = sn({ __name: "SaveFieldButtons", props: { loading: { type: Boolean }, cancelButtonColor: {}, cancelButtonSize: {}, cancelButtonVariant: {}, cancelButtonTitle: {}, cancelIconColor: {}, error: { type: Boolean }, fieldOnly: { type: Boolean }, hideCancelIcon: { type: Boolean }, hideSaveIcon: { type: Boolean }, cancelIcon: {}, loadingIcon: {}, loadingIconColor: {}, saveButtonColor: {}, saveButtonSize: {}, saveButtonTitle: {}, saveButtonVariant: {}, saveIconColor: {}, saveIcon: {} }, emits: ["close", "save"], setup(e, { emit: t }) { + const n = Tn(), l = t, o = e, a = me(Symbol.for("vuetify:icons")), c = v(() => o.error), u = v(() => ({ [`${ie}--save-fields-container`]: !0 })), s = v(() => o.loading), i = ln({ ...n, ...o }), p = v(() => (a == null ? void 0 : a.defaultSet) === "fa" ? "fa-spin" : (a == null ? void 0 : a.defaultSet) === "mdi" ? "mdi-spin" : ""), y = v(() => ((C) => { + const { cancelButtonVariant: w } = C; + return { "me-1": w === "elevated", "ms-1": !0 }; + })({ cancelButtonVariant: i.cancelButtonVariant })), f = v(() => on({ icon: o.cancelIcon, iconOptions: a, name: "false" })), m = v(() => on({ icon: o.loadingIcon, iconOptions: a, name: "loading" })), h = v(() => on({ icon: o.saveIcon, iconOptions: a, name: "save" })); + function b() { l("close"); } - function h() { + function g() { l("save"); } - return (b, x) => (J(), ce("div", Z({ class: r(u) }, b.$attrs), [r(o).hideSaveIcon ? Ve("", !0) : (J(), ze(La, { key: 0, class: "ms-1", color: r(o).saveButtonColor, disabled: r(c), icon: "", size: r(o).saveButtonSize, title: r(s) ? "Loading" : r(o).saveButtonTitle, variant: r(o).saveButtonVariant, onClick: h }, { default: pe(() => [r(s) ? (J(), ze(Ie, { key: 1, class: le(r(v)), color: r(o).loadingIconColor, icon: r(g) }, null, 8, ["class", "color", "icon"])) : (J(), ze(Ie, { key: 0, color: r(c) ? "error" : r(o).saveIconColor, icon: r(p) }, null, 8, ["color", "icon"]))]), _: 1 }, 8, ["color", "disabled", "size", "title", "variant"])), r(o).hideCancelIcon ? Ve("", !0) : (J(), ze(La, { key: 1, class: le(r(y)), color: r(o).cancelButtonColor, icon: "", size: r(o).cancelButtonSize, title: r(o).cancelButtonTitle, variant: r(o).cancelButtonVariant, onClick: C }, { default: pe(() => [r(o).hideSaveIcon && r(s) ? (J(), ze(Ie, { key: 0, class: le(r(v)), color: r(o).loadingIconColor, icon: r(g) }, null, 8, ["class", "color", "icon"])) : (J(), ze(Ie, { key: 1, class: "text-default", color: r(o).cancelIconColor, icon: r(m) }, null, 8, ["color", "icon"]))]), _: 1 }, 8, ["class", "color", "size", "title", "variant"]))], 16)); + return (C, w) => (J(), ce("div", Z({ class: r(u) }, C.$attrs), [r(i).hideSaveIcon ? xe("", !0) : (J(), ze(Wo, { key: 0, class: "ms-1", color: r(i).saveButtonColor, disabled: r(c), icon: "", size: r(i).saveButtonSize, title: r(s) ? "Loading" : r(i).saveButtonTitle, variant: r(i).saveButtonVariant, onClick: g }, { default: he(() => [r(s) ? (J(), ze(Se, { key: 1, class: le(r(p)), color: r(i).loadingIconColor, icon: r(m) }, null, 8, ["class", "color", "icon"])) : (J(), ze(Se, { key: 0, color: r(c) ? "error" : r(i).saveIconColor, icon: r(h) }, null, 8, ["color", "icon"]))]), _: 1 }, 8, ["color", "disabled", "size", "title", "variant"])), r(i).hideCancelIcon ? xe("", !0) : (J(), ze(Wo, { key: 1, class: le(r(y)), color: r(i).cancelButtonColor, icon: "", size: r(i).cancelButtonSize, title: r(i).cancelButtonTitle, variant: r(i).cancelButtonVariant, onClick: b }, { default: he(() => [r(i).hideSaveIcon && r(s) ? (J(), ze(Se, { key: 0, class: le(r(p)), color: r(i).loadingIconColor, icon: r(m) }, null, 8, ["class", "color", "icon"])) : (J(), ze(Se, { key: 1, class: "text-default", color: r(i).cancelIconColor, icon: r(f) }, null, 8, ["color", "icon"]))]), _: 1 }, 8, ["class", "color", "size", "title", "variant"]))], 16)); } }), dl = (e) => { - const { required: n, rules: t } = e; + const { required: t, rules: n } = e; let { value: l } = e; l = r(l); - const a = []; - let i = !1; - if (n && !l) - return a.push("Field is required."), { errors: !0, results: a }; - if (t) { - for (const c of t) { + const o = []; + let a = !1; + if (t && !l) + return o.push("Field is required."), { errors: !0, results: o }; + if (n) { + for (const c of n) { const u = (typeof c == "function" ? c : () => c)(l); - u !== !0 && (typeof u == "string" ? a.push(u) : console.warn(`${u} is not a valid value. Rule functions must return boolean true or a string.`)); + u !== !0 && (typeof u == "string" ? o.push(u) : console.warn(`${u} is not a valid value. Rule functions must return boolean true or a string.`)); } - i = a.length > 0; + a = o.length > 0; } - return { errors: i, results: a }; -}, dn = (e) => { - const { attrs: n, closeSiblings: t, fieldOnly: l, props: a, showField: i, timeOpened: c } = e; + return { errors: a, results: o }; +}, dt = (e) => { + const { attrs: t, closeSiblings: n, fieldOnly: l, props: o, showField: a, timeOpened: c } = e; let u = c; - return t && !l && (u = /* @__PURE__ */ new Date()), { settings: { ...n, ...a }, showField: !r(i), timeOpened: u }; -}, ia = (e) => { - const { length: n = 0 } = e; - let { suffix: t, text: l } = e; - return l = l.toString(), t = t || "...", l.length > n ? `${l.substring(0, n)}${t}` : l; -}, vn = ["error", "update", "update:closeSiblingFields", "update:model-value"], ks = ["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"], zn = (e) => { - let n = e; - return n = Object.entries(n).filter(([t]) => !ks.includes(t)), Object.fromEntries(n); -}, xs = { class: "v-selection-control__wrapper" }, go = rt({ __name: "VInlineCheckbox", props: Qe(Yt({ density: {}, falseIcon: {}, trueIcon: {}, cancelButtonColor: {}, cancelButtonSize: {}, cancelButtonTitle: {}, cancelButtonVariant: {}, cancelIcon: {}, cancelIconColor: {}, cardField: { type: Boolean }, cardOffsetX: {}, cardOffsetY: {}, cardProps: {}, cell: { type: Boolean }, cellUnderlineFullWidth: { type: Boolean }, 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 }, hideCancelIcon: { 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: {} }, { ...Oo }), { modelValue: {} }), emits: Qe([...vn], ["update:modelValue"]), setup(e, { emit: n }) { - const t = Tt(e, "modelValue"), l = Et(), a = _t(), i = n, c = ge(Rt, {}), u = ge(Symbol.for("vuetify:icons")), s = Rl(), o = e; - let v = lt({ ...l, ...o, ...c }); - const { cancelButtonColor: y, cancelButtonSize: m, cancelButtonTitle: g, cancelButtonVariant: p, cancelIcon: C, cancelIconColor: h, cardField: b, closeSiblings: x, color: O, fieldOnly: H, hideCancelIcon: $, hideDetails: _, loadingIcon: W, loadingIconColor: T, saveButtonColor: I, saveButtonSize: P, saveButtonTitle: S, saveButtonVariant: w, saveIcon: A, saveIconColor: M } = Bt(v), N = f(() => o.disabled), k = f(() => o.loading), B = D(!1), V = D(!1), F = D(null), G = f(() => zn(v)), L = f(() => ({ ...Jt, ...o.cardProps })); + return n && !l && (u = /* @__PURE__ */ new Date()), { settings: { ...t, ...o }, showField: !r(a), timeOpened: u }; +}, ao = (e) => { + const { length: t = 0 } = e; + let { suffix: n, text: l } = e; + return l = l.toString(), n = n || "...", l.length > t ? `${l.substring(0, t)}${n}` : l; +}, pt = ["error", "update", "update:closeSiblingFields", "update:model-value"], ks = ["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"], zt = (e) => { + let t = e; + return t = Object.entries(t).filter(([n]) => !ks.includes(n)), Object.fromEntries(t); +}, ws = { class: "v-selection-control__wrapper" }, mi = sn({ __name: "VInlineCheckbox", props: Qe(Xn({ density: {}, falseIcon: {}, trueIcon: {}, cancelButtonColor: {}, cancelButtonSize: {}, cancelButtonTitle: {}, cancelButtonVariant: {}, cancelIcon: {}, cancelIconColor: {}, cardField: { type: Boolean }, cardOffsetX: {}, cardOffsetY: {}, cardProps: {}, cell: { type: Boolean }, cellUnderlineFullWidth: { type: Boolean }, 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 }, hideCancelIcon: { 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: {} }, { ...Oi }), { modelValue: {} }), emits: Qe([...pt], ["update:modelValue"]), setup(e, { emit: t }) { + const n = $n(e, "modelValue"), l = Tn(), o = En(), a = t, c = me(Mn, {}), u = me(Symbol.for("vuetify:icons")), s = Wl(), i = e; + let p = ln({ ...l, ...i, ...c }); + const { cancelButtonColor: y, cancelButtonSize: f, cancelButtonTitle: m, cancelButtonVariant: h, cancelIcon: b, cancelIconColor: g, cardField: C, closeSiblings: w, color: O, fieldOnly: G, hideCancelIcon: T, hideDetails: $, loadingIcon: R, loadingIconColor: P, saveButtonColor: S, saveButtonSize: A, saveButtonTitle: I, saveButtonVariant: F, saveIcon: _, saveIconColor: M } = xn(p), N = v(() => i.disabled), k = v(() => i.loading), B = D(!1), x = D(!1), V = D(null), j = v(() => zt(p)), L = v(() => ({ ...Zn, ...i.cardProps })); K(() => k.value, (re, X) => { - !re && X && V.value && Pe(); + !re && X && x.value && Ae(); }); - const z = f(() => at({ icon: o.trueIcon, iconOptions: u, name: "checkboxFalse" })), Q = f(() => at({ icon: o.iconTrue, iconOptions: u, name: "checkboxTrue" })), E = f(() => t.value == v.trueValue), U = f(() => yo({ modelValue: t, trueValue: v.trueValue })), R = f(() => on({ cell: v.cell && !V.value, density: v.density, disabled: N.value, field: "v-checkbox", loading: k.value, loadingWait: v.loadingWait, tableField: v.tableField })), j = f(() => rn({ cell: v.cell, cellUnderlineFullWidth: v.cellUnderlineFullWidth, density: v.density, field: "v-checkbox" })), Y = mo({ density: v.density }), ee = f(() => sn({ active: V.value, name: "checkbox" })), ve = f(() => la("checkbox", v.valueColor, { error: B })), Ce = f(() => un({ name: "checkbox", showField: V.value })), he = f(() => ({})), Re = f(() => aa({ color: v.color, error: B, theme: s, underlineColor: v.underlineColor, underlineStyle: v.underlineStyle, underlineWidth: v.underlineWidth, underlined: v.underlined })), Fe = f(() => Be.value); + const z = v(() => on({ icon: i.trueIcon, iconOptions: u, name: "checkboxFalse" })), Q = v(() => on({ icon: i.iconTrue, iconOptions: u, name: "checkboxTrue" })), E = v(() => n.value == p.trueValue), U = v(() => yi({ modelValue: n, trueValue: p.trueValue })), W = v(() => it({ cell: p.cell && !x.value, density: p.density, disabled: N.value, field: "v-checkbox", loading: k.value, loadingWait: p.loadingWait, tableField: p.tableField })), q = v(() => rt({ cell: p.cell, cellUnderlineFullWidth: p.cellUnderlineFullWidth, density: p.density, field: "v-checkbox" })), Y = fi({ density: p.density }), ee = v(() => st({ active: x.value, name: "checkbox" })), pe = v(() => lo("checkbox", p.valueColor, { error: B })), be = v(() => ut({ name: "checkbox", showField: x.value })), ge = v(() => ({})), We = v(() => oo({ color: p.color, error: B, theme: s, underlineColor: p.underlineColor, underlineStyle: p.underlineStyle, underlineWidth: p.underlineWidth, underlined: p.underlined })), Ve = v(() => Be.value); function ke() { - B.value = !1, Pe(); + B.value = !1, Ae(); } - const Be = D(), Oe = D(null), xe = D("body"), Ee = Ao(); - function Pe() { - var X, Se; - if (N.value || v.loadingWait && k.value) + const Be = D(), Oe = D(null), we = D("body"), Ee = _i(); + function Ae() { + var X, Ie; + if (N.value || p.loadingWait && k.value) return; - Be.value = Pt({ cardMinWidth: (X = v.cardProps) == null ? void 0 : X.minWidth, cardOffsetX: v.cardOffsetX, cardOffsetY: v.cardOffsetY, cardWidth: (Se = v.cardProps) == null ? void 0 : Se.width, field: Oe.value, name: "checkbox" }); - const re = dn({ attrs: l, closeSiblings: x.value, fieldOnly: v.fieldOnly, props: o, showField: V, timeOpened: F.value }); - v = { ...v, ...re.settings }, V.value = re.showField, F.value = re.timeOpened, ne !== null && x.value && V.value && !v.fieldOnly && ne.emit(re.timeOpened); + Be.value = _n({ cardMinWidth: (X = p.cardProps) == null ? void 0 : X.minWidth, cardOffsetX: p.cardOffsetX, cardOffsetY: p.cardOffsetY, cardWidth: (Ie = p.cardProps) == null ? void 0 : Ie.width, field: Oe.value, name: "checkbox" }); + const re = dt({ attrs: l, closeSiblings: w.value, fieldOnly: p.fieldOnly, props: i, showField: x, timeOpened: V.value }); + p = { ...p, ...re.settings }, x.value = re.showField, V.value = re.timeOpened, te !== null && w.value && x.value && !p.fieldOnly && te.emit(re.timeOpened); } - function fe(re) { - t.value = re, i("update", re), v.loadingWait || Pe(); + function ve(re) { + n.value = re, a("update", re), p.loadingWait || Ae(); } - let ne, me; + let te, fe; function De(re) { - i("update:closeSiblingFields", F), V.value && F.value !== re && Pe(); + a("update:closeSiblingFields", V), x.value && V.value !== re && Ae(); } return K(() => Ee, () => { var re, X; - Be.value = Pt({ cardMinWidth: (re = v.cardProps) == null ? void 0 : re.minWidth, cardOffsetX: v.cardOffsetX, cardOffsetY: v.cardOffsetY, cardWidth: (X = v.cardProps) == null ? void 0 : X.width, field: Oe.value, name: "checkbox" }); - }, { deep: !0 }), x.value && import("@vueuse/core").then(({ useEventBus: re }) => { - ne = re(Kt), me = ne.on(De); - }), Xt(() => { - me !== void 0 && ne.off(De); - }), (re, X) => (J(), ce("div", { ref_key: "inlineFieldsContainer", ref: Oe, class: le(r(R)), style: $e(r(he)) }, [!r(V) && !r(v).fieldOnly || r(b) ? (J(), ce("div", { key: 0, class: le(r(j)), onClick: X[2] || (X[2] = (Se) => r(v).cell ? Pe() : void 0) }, [He("div", { class: le(r(Y)), onClick: X[1] || (X[1] = (Se) => r(v).cell ? void 0 : Pe()) }, [He("div", xs, [re.icons ? (J(), ce("div", { key: 0, class: le(["v-inline-fields--boolean-icons-container", r(ve)]), style: $e(r(Re)) }, [d(r(fo), { modelValue: r(U), "onUpdate:modelValue": X[0] || (X[0] = (Se) => At(U) ? U.value = Se : null), "icon-false": r(v).iconFalse, "icon-false-color": r(v).iconFalseColor, "icon-false-title": r(v).iconFalseTitle, "icon-true": r(v).iconTrue, "icon-true-color": r(v).iconTrueColor, "icon-true-title": r(v).iconTrueTitle }, null, 8, ["modelValue", "icon-false", "icon-false-color", "icon-false-title", "icon-true", "icon-true-color", "icon-true-title"])], 6)) : (J(), ce("div", { key: 1, class: le(["d-inline-flex align-center justify-center", r(ve)]), style: $e(r(Re)) }, Ll(r(E)), 7))])], 2)], 2)) : Ve("", !0), r(V) || r(H) || r(b) ? (J(), ce("div", { key: 1, class: le(r(ee)) }, [(J(), ze(Ot, { disabled: !r(b), to: r(xe) }, [d(br, Z(r(G), { color: r(O), density: r(v).density, disabled: r(k) || r(N), error: r(B), "false-icon": r(z), "false-value": r(v).falseValue, "hide-details": r(_), label: r(v).label, "model-value": r(U), "true-icon": r(Q), "true-value": r(v).trueValue, "onUpdate:modelValue": fe }), vt({ _: 2 }, [ft(r(a), (Se, ue) => ({ name: ue, fn: pe((Ae) => [Ye(re.$slots, ue, Te(We({ ...Ae })))]) })), r(a).append ? void 0 : { name: "append", fn: pe(() => [d(r(cn), { "cancel-button-color": r(y), "cancel-button-size": r(m), "cancel-button-title": r(g), "cancel-button-variant": r(p), "cancel-icon": r(C), "cancel-icon-color": r(h), error: r(B), "field-only": r(H), "hide-cancel-icon": r($), "hide-save-icon": !0, loading: r(k), "loading-icon": r(W), "loading-icon-color": r(T), "save-button-color": r(I), "save-button-size": r(P), "save-button-title": r(S), "save-button-variant": r(w), "save-icon": r(A), "save-icon-color": r(M), onClose: ke, onSave: fe }, null, 8, ["cancel-button-color", "cancel-button-size", "cancel-button-title", "cancel-button-variant", "cancel-icon", "cancel-icon-color", "error", "field-only", "hide-cancel-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, ["color", "density", "disabled", "error", "false-icon", "false-value", "hide-details", "label", "model-value", "true-icon", "true-value"])], 8, ["disabled", "to"]))], 2)) : Ve("", !0), r(b) ? (J(), ce("div", { key: 2, class: le(r(Ce)), style: $e(r(Fe)) }, [d(an, Te(We(r(L))), { default: pe(() => [d(Lt, null, { default: pe(() => [He("div", { ref_key: "cardFieldRef", ref: xe }, null, 512)]), _: 1 })]), _: 1 }, 16)], 6)) : Ve("", !0)], 6)); -} }), ho = rt({ __name: "VInlineCustomField", props: Qe(Yt({ clearIcon: {}, density: {}, rules: {}, variant: {}, autofocus: { type: Boolean }, cancelButtonColor: {}, cancelButtonSize: {}, cancelButtonTitle: {}, cancelButtonVariant: {}, cancelIcon: {}, cancelIconColor: {}, cardField: { type: Boolean }, cardOffsetX: {}, cardOffsetY: {}, cardProps: {}, cell: { type: Boolean }, cellUnderlineFullWidth: { type: Boolean }, 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 }, hideCancelIcon: { 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: {} }, { ...li }), { modelValue: {} }), emits: Qe([...vn], ["update:modelValue"]), setup(e, { emit: n }) { - const t = Tt(e, "modelValue"), l = Et(), a = _t(), i = n, c = ge(Rt, {}), u = ge(Symbol.for("vuetify:icons")), s = e; - let o = lt({ ...l, ...s, ...c }); - const { cancelButtonColor: v, cancelButtonSize: y, cancelButtonTitle: m, cancelButtonVariant: g, cancelIcon: p, cancelIconColor: C, cardField: h, closeSiblings: b, fieldOnly: x, hideCancelIcon: O, hideSaveIcon: H, loadingIcon: $, loadingIconColor: _, saveButtonColor: W, saveButtonSize: T, saveButtonTitle: I, saveButtonVariant: P, saveIcon: S, saveIconColor: w } = Bt(o), A = f(() => s.disabled), M = f(() => s.loading), N = D(!1), k = D(!1), B = D(!1), V = D(null); - let F = t.value; - K(() => M.value, (ne, me) => { - !ne && me && B.value && ke(); + Be.value = _n({ cardMinWidth: (re = p.cardProps) == null ? void 0 : re.minWidth, cardOffsetX: p.cardOffsetX, cardOffsetY: p.cardOffsetY, cardWidth: (X = p.cardProps) == null ? void 0 : X.width, field: Oe.value, name: "checkbox" }); + }, { deep: !0 }), w.value && import("@vueuse/core").then(({ useEventBus: re }) => { + te = re(Jn), fe = te.on(De); + }), Kn(() => { + fe !== void 0 && te.off(De); + }), (re, X) => (J(), ce("div", { ref_key: "inlineFieldsContainer", ref: Oe, class: le(r(W)), style: Te(r(ge)) }, [!r(x) && !r(p).fieldOnly || r(C) ? (J(), ce("div", { key: 0, class: le(r(q)), onClick: X[2] || (X[2] = (Ie) => r(p).cell ? Ae() : void 0) }, [Ge("div", { class: le(r(Y)), onClick: X[1] || (X[1] = (Ie) => r(p).cell ? void 0 : Ae()) }, [Ge("div", ws, [re.icons ? (J(), ce("div", { key: 0, class: le(["v-inline-fields--boolean-icons-container", r(pe)]), style: Te(r(We)) }, [d(r(vi), { modelValue: r(U), "onUpdate:modelValue": X[0] || (X[0] = (Ie) => On(U) ? U.value = Ie : null), "icon-false": r(p).iconFalse, "icon-false-color": r(p).iconFalseColor, "icon-false-title": r(p).iconFalseTitle, "icon-true": r(p).iconTrue, "icon-true-color": r(p).iconTrueColor, "icon-true-title": r(p).iconTrueTitle }, null, 8, ["modelValue", "icon-false", "icon-false-color", "icon-false-title", "icon-true", "icon-true-color", "icon-true-title"])], 6)) : (J(), ce("div", { key: 1, class: le(["d-inline-flex align-center justify-center", r(pe)]), style: Te(r(We)) }, Ll(r(E)), 7))])], 2)], 2)) : xe("", !0), r(x) || r(G) || r(C) ? (J(), ce("div", { key: 1, class: le(r(ee)) }, [(J(), ze(Pn, { disabled: !r(C), to: r(we) }, [d(Cr, Z(r(j), { color: r(O), density: r(p).density, disabled: r(k) || r(N), error: r(B), "false-icon": r(z), "false-value": r(p).falseValue, "hide-details": r($), label: r(p).label, "model-value": r(U), "true-icon": r(Q), "true-value": r(p).trueValue, "onUpdate:modelValue": ve }), vn({ _: 2 }, [fn(r(o), (Ie, ue) => ({ name: ue, fn: he((_e) => [Ye(re.$slots, ue, Pe(Re({ ..._e })))]) })), r(o).append ? void 0 : { name: "append", fn: he(() => [d(r(ct), { "cancel-button-color": r(y), "cancel-button-size": r(f), "cancel-button-title": r(m), "cancel-button-variant": r(h), "cancel-icon": r(b), "cancel-icon-color": r(g), error: r(B), "field-only": r(G), "hide-cancel-icon": r(T), "hide-save-icon": !0, loading: r(k), "loading-icon": r(R), "loading-icon-color": r(P), "save-button-color": r(S), "save-button-size": r(A), "save-button-title": r(I), "save-button-variant": r(F), "save-icon": r(_), "save-icon-color": r(M), onClose: ke, onSave: ve }, null, 8, ["cancel-button-color", "cancel-button-size", "cancel-button-title", "cancel-button-variant", "cancel-icon", "cancel-icon-color", "error", "field-only", "hide-cancel-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, ["color", "density", "disabled", "error", "false-icon", "false-value", "hide-details", "label", "model-value", "true-icon", "true-value"])], 8, ["disabled", "to"]))], 2)) : xe("", !0), r(C) ? (J(), ce("div", { key: 2, class: le(r(be)), style: Te(r(Ve)) }, [d(at, Pe(Re(r(L))), { default: he(() => [d(Wn, null, { default: he(() => [Ge("div", { ref_key: "cardFieldRef", ref: we }, null, 512)]), _: 1 })]), _: 1 }, 16)], 6)) : xe("", !0)], 6)); +} }), gi = sn({ __name: "VInlineCustomField", props: Qe(Xn({ clearIcon: {}, density: {}, rules: {}, variant: {}, autofocus: { type: Boolean }, cancelButtonColor: {}, cancelButtonSize: {}, cancelButtonTitle: {}, cancelButtonVariant: {}, cancelIcon: {}, cancelIconColor: {}, cardField: { type: Boolean }, cardOffsetX: {}, cardOffsetY: {}, cardProps: {}, cell: { type: Boolean }, cellUnderlineFullWidth: { type: Boolean }, 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 }, hideCancelIcon: { 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: {} }, { ...oa }), { modelValue: {} }), emits: Qe([...pt], ["update:modelValue"]), setup(e, { emit: t }) { + const n = $n(e, "modelValue"), l = Tn(), o = En(), a = t, c = me(Mn, {}), u = me(Symbol.for("vuetify:icons")), s = e; + let i = ln({ ...l, ...s, ...c }); + const { cancelButtonColor: p, cancelButtonSize: y, cancelButtonTitle: f, cancelButtonVariant: m, cancelIcon: h, cancelIconColor: b, cardField: g, closeSiblings: C, fieldOnly: w, hideCancelIcon: O, hideSaveIcon: G, loadingIcon: T, loadingIconColor: $, saveButtonColor: R, saveButtonSize: P, saveButtonTitle: S, saveButtonVariant: A, saveIcon: I, saveIconColor: F } = xn(i), _ = v(() => s.disabled), M = v(() => s.loading), N = D(!1), k = D(!1), B = D(!1), x = D(null); + let V = n.value; + K(() => M.value, (te, fe) => { + !te && fe && B.value && ke(); }); - const G = f(() => t.value ? (N.value = !1, o.truncateLength ? ia({ length: o.truncateLength, suffix: o.truncateSuffix, text: t.value }) : t.value) : (N.value = !0, o.emptyText)), L = f(() => ({ ...o, loading: M.value, modelValue: t.value, originalValue: F })), z = f(() => ({ color: o.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: G.value, empty: N.value, error: k.value, field: "v-text-field", underlineColor: o.underlineColor, underlineStyle: o.underlineStyle, underlineWidth: o.underlineWidth, underlined: o.underlined, valueColor: o.valueColor })), Q = f(() => ({ ...Jt, ...s.cardProps })), E = f(() => on({ cell: o.cell && !B.value, density: o.density, disabled: A.value, field: "v-text-field", iconSet: u == null ? void 0 : u.defaultSet, loading: M.value, loadingWait: o.loadingWait, tableField: o.tableField, variant: o.variant })), U = f(() => rn({ cell: o.cell, cellUnderlineFullWidth: o.cellUnderlineFullWidth, density: o.density, field: "v-text-field" })), R = ul({ density: o.density, variant: o.variant }), j = f(() => sn({ active: B.value, name: "text-field" })), Y = f(() => un({ name: "custom-field", showField: B.value })), ee = f(() => ({})), ve = f(() => he.value); - function Ce() { - k.value = !1, t.value = F, ke(); + const j = v(() => n.value ? (N.value = !1, i.truncateLength ? ao({ length: i.truncateLength, suffix: i.truncateSuffix, text: n.value }) : n.value) : (N.value = !0, i.emptyText)), L = v(() => ({ ...i, loading: M.value, modelValue: n.value, originalValue: V })), z = v(() => ({ color: i.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: j.value, empty: N.value, error: k.value, field: "v-text-field", underlineColor: i.underlineColor, underlineStyle: i.underlineStyle, underlineWidth: i.underlineWidth, underlined: i.underlined, valueColor: i.valueColor })), Q = v(() => ({ ...Zn, ...s.cardProps })), E = v(() => it({ cell: i.cell && !B.value, density: i.density, disabled: _.value, field: "v-text-field", iconSet: u == null ? void 0 : u.defaultSet, loading: M.value, loadingWait: i.loadingWait, tableField: i.tableField, variant: i.variant })), U = v(() => rt({ cell: i.cell, cellUnderlineFullWidth: i.cellUnderlineFullWidth, density: i.density, field: "v-text-field" })), W = ul({ density: i.density, variant: i.variant }), q = v(() => st({ active: B.value, name: "text-field" })), Y = v(() => ut({ name: "custom-field", showField: B.value })), ee = v(() => ({})), pe = v(() => ge.value); + function be() { + k.value = !1, n.value = V, ke(); } - const he = D(), Re = D(null), Fe = D("body"); + const ge = D(), We = D(null), Ve = D("body"); function ke() { - var me, De; - if (A.value || o.loadingWait && M.value) + var fe, De; + if (_.value || i.loadingWait && M.value) return; - he.value = Pt({ cardMinWidth: (me = o.cardProps) == null ? void 0 : me.minWidth, cardOffsetX: o.cardOffsetX, cardOffsetY: o.cardOffsetY, cardWidth: (De = o.cardProps) == null ? void 0 : De.width, field: Re.value }); - const ne = dn({ attrs: l, closeSiblings: b.value, fieldOnly: o.fieldOnly, props: s, showField: B, timeOpened: V.value }); - o = { ...o, ...ne.settings }, B.value = ne.showField, V.value = ne.timeOpened, Ee !== null && b.value && B.value && !o.fieldOnly && Ee.emit(ne.timeOpened); + ge.value = _n({ cardMinWidth: (fe = i.cardProps) == null ? void 0 : fe.minWidth, cardOffsetX: i.cardOffsetX, cardOffsetY: i.cardOffsetY, cardWidth: (De = i.cardProps) == null ? void 0 : De.width, field: We.value }); + const te = dt({ attrs: l, closeSiblings: C.value, fieldOnly: i.fieldOnly, props: s, showField: B, timeOpened: x.value }); + i = { ...i, ...te.settings }, B.value = te.showField, x.value = te.timeOpened, Ee !== null && C.value && B.value && !i.fieldOnly && Ee.emit(te.timeOpened); } const Be = D(); function Oe() { - const ne = dl({ required: o.required, rules: o.rules, value: t }); - return k.value = ne.errors, Be.value = ne.results, ne.results; + const te = dl({ required: i.required, rules: i.rules, value: n }); + return k.value = te.errors, Be.value = te.results, te.results; } - function xe() { - k.value ? k.value = !0 : (F = t.value, i("update", t.value), o.loadingWait || ke()); + function we() { + k.value ? k.value = !0 : (V = n.value, a("update", n.value), i.loadingWait || ke()); } - let Ee, Pe; - function fe(ne) { - i("update:closeSiblingFields", V), B.value && V.value !== ne && Ce(); + let Ee, Ae; + function ve(te) { + a("update:closeSiblingFields", x), B.value && x.value !== te && be(); } return K(() => B.value, () => { B.value && Oe(); - }), K(() => t.value, () => { + }), K(() => n.value, () => { B.value && Oe(); - }), b.value && import("@vueuse/core").then(({ useEventBus: ne }) => { - Ee = ne(Kt), Pe = Ee.on(fe); - }), Xt(() => { - Pe !== void 0 && Ee.off(fe); - }), (ne, me) => (J(), ce("div", { ref_key: "inlineFieldsContainer", ref: Re, class: le(r(E)), style: $e(r(ee)) }, [!r(B) && !r(o).fieldOnly || r(h) ? (J(), ce("div", { key: 0, class: le(r(U)) }, [He("div", { class: le(r(R)) }, [d(r(cl), Z(r(z), { onToggleField: ke }), vt({ _: 2 }, [ft(r(a), (De, re) => ({ name: re, fn: pe((X) => [Ye(ne.$slots, re, Te(We({ ...X })))]) }))]), 1040)], 2)], 2)) : Ve("", !0), r(B) || r(o).fieldOnly || r(h) ? (J(), ce("div", { key: 1, class: le(["d-flex align-center py-2", r(j)]) }, [(J(), ze(Ot, { disabled: !r(h), to: r(Fe) }, [Ye(ne.$slots, "default", Te(We(r(L)))), d(r(cn), { "cancel-button-color": r(v), "cancel-button-size": r(y), "cancel-button-title": r(m), "cancel-button-variant": r(g), "cancel-icon": r(p), "cancel-icon-color": r(C), error: r(k), "field-only": r(x), "hide-cancel-icon": r(O), "hide-save-icon": r(H), loading: r(M), "loading-icon": r($), "loading-icon-color": r(_), "save-button-color": r(W), "save-button-size": r(T), "save-button-title": r(I), "save-button-variant": r(P), "save-icon": r(S), "save-icon-color": r(w), onClose: Ce, onSave: xe }, null, 8, ["cancel-button-color", "cancel-button-size", "cancel-button-title", "cancel-button-variant", "cancel-icon", "cancel-icon-color", "error", "field-only", "hide-cancel-icon", "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"])], 8, ["disabled", "to"]))], 2)) : Ve("", !0), r(h) ? (J(), ce("div", { key: 2, class: le(r(Y)), style: $e(r(ve)) }, [d(an, Te(We(r(Q))), { default: pe(() => [d(Lt, null, { default: pe(() => [He("div", { ref_key: "cardFieldRef", ref: Fe }, null, 512)]), _: 1 })]), _: 1 }, 16)], 6)) : Ve("", !0)], 6)); -} }), po = ((e, n) => { - const t = e.__vccOpts || e; - for (const [l, a] of n) - t[l] = a; - return t; -})(rt({ __name: "VInlineSelect", props: Qe(Yt({ 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: {}, cell: { type: Boolean }, cellUnderlineFullWidth: { type: Boolean }, 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 }, hideCancelIcon: { 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: {} }, { ...To }), { modelValue: {} }), emits: Qe([...vn], ["update:modelValue"]), setup(e, { emit: n }) { - const t = Tt(e, "modelValue"), l = Et(), a = _t(), i = n, c = ge(Rt, {}), u = ge(Symbol.for("vuetify:icons")), s = e; - let o = lt({ ...l, ...s, ...c }); - const { cancelButtonColor: v, cancelButtonSize: y, cancelButtonTitle: m, cancelButtonVariant: g, cancelIcon: p, cancelIconColor: C, cardField: h, closeSiblings: b, color: x, fieldOnly: O, hideCancelIcon: H, hideDetails: $, hideSaveIcon: _, loadingIcon: W, loadingIconColor: T, saveButtonColor: I, saveButtonSize: P, saveButtonTitle: S, saveButtonVariant: w, saveIcon: A, saveIconColor: M, valueColor: N } = Bt(o), k = f(() => s.disabled), B = f(() => s.loading), V = D(!1), F = D(!1), G = D(), L = D(!1), z = D(null); - let Q = t.value; - K(() => B.value, (ue, Ae) => { - !ue && Ae && L.value && Pe(); + }), C.value && import("@vueuse/core").then(({ useEventBus: te }) => { + Ee = te(Jn), Ae = Ee.on(ve); + }), Kn(() => { + Ae !== void 0 && Ee.off(ve); + }), (te, fe) => (J(), ce("div", { ref_key: "inlineFieldsContainer", ref: We, class: le(r(E)), style: Te(r(ee)) }, [!r(B) && !r(i).fieldOnly || r(g) ? (J(), ce("div", { key: 0, class: le(r(U)) }, [Ge("div", { class: le(r(W)) }, [d(r(cl), Z(r(z), { onToggleField: ke }), vn({ _: 2 }, [fn(r(o), (De, re) => ({ name: re, fn: he((X) => [Ye(te.$slots, re, Pe(Re({ ...X })))]) }))]), 1040)], 2)], 2)) : xe("", !0), r(B) || r(i).fieldOnly || r(g) ? (J(), ce("div", { key: 1, class: le(["d-flex align-center py-2", r(q)]) }, [(J(), ze(Pn, { disabled: !r(g), to: r(Ve) }, [Ye(te.$slots, "default", Pe(Re(r(L)))), d(r(ct), { "cancel-button-color": r(p), "cancel-button-size": r(y), "cancel-button-title": r(f), "cancel-button-variant": r(m), "cancel-icon": r(h), "cancel-icon-color": r(b), error: r(k), "field-only": r(w), "hide-cancel-icon": r(O), "hide-save-icon": r(G), loading: r(M), "loading-icon": r(T), "loading-icon-color": r($), "save-button-color": r(R), "save-button-size": r(P), "save-button-title": r(S), "save-button-variant": r(A), "save-icon": r(I), "save-icon-color": r(F), onClose: be, onSave: we }, null, 8, ["cancel-button-color", "cancel-button-size", "cancel-button-title", "cancel-button-variant", "cancel-icon", "cancel-icon-color", "error", "field-only", "hide-cancel-icon", "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"])], 8, ["disabled", "to"]))], 2)) : xe("", !0), r(g) ? (J(), ce("div", { key: 2, class: le(r(Y)), style: Te(r(pe)) }, [d(at, Pe(Re(r(Q))), { default: he(() => [d(Wn, null, { default: he(() => [Ge("div", { ref_key: "cardFieldRef", ref: Ve }, null, 512)]), _: 1 })]), _: 1 }, 16)], 6)) : xe("", !0)], 6)); +} }), hi = ((e, t) => { + const n = e.__vccOpts || e; + for (const [l, o] of t) + n[l] = o; + return n; +})(sn({ __name: "VInlineSelect", props: Qe(Xn({ 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: {}, cell: { type: Boolean }, cellUnderlineFullWidth: { type: Boolean }, 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 }, hideCancelIcon: { 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: {} }, { ...Pi }), { modelValue: {} }), emits: Qe([...pt], ["update:modelValue"]), setup(e, { emit: t }) { + const n = $n(e, "modelValue"), l = Tn(), o = En(), a = t, c = me(Mn, {}), u = me(Symbol.for("vuetify:icons")), s = e; + let i = ln({ ...l, ...s, ...c }); + const { cancelButtonColor: p, cancelButtonSize: y, cancelButtonTitle: f, cancelButtonVariant: m, cancelIcon: h, cancelIconColor: b, cardField: g, closeSiblings: C, color: w, fieldOnly: O, hideCancelIcon: G, hideDetails: T, hideSaveIcon: $, loadingIcon: R, loadingIconColor: P, saveButtonColor: S, saveButtonSize: A, saveButtonTitle: I, saveButtonVariant: F, saveIcon: _, saveIconColor: M, valueColor: N } = xn(i), k = v(() => s.disabled), B = v(() => s.loading), x = D(!1), V = D(!1), j = D(), L = D(!1), z = D(null); + let Q = n.value; + K(() => B.value, (ue, _e) => { + !ue && _e && L.value && Ae(); }); - const E = f(() => at({ icon: s.clearIcon, iconOptions: u, name: "clear" })), U = f(() => t.value && t.value[o.itemTitle] ? (V.value = !1, t.value[o.itemTitle]) : t.value ? t.value : (V.value = !0, o.emptyText)), R = f(() => zn(o)), j = f(() => ({ color: o.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: U.value, empty: V.value, error: F.value, field: "v-text-field", underlineColor: o.underlineColor, underlineStyle: o.underlineStyle, underlineWidth: o.underlineWidth, underlined: o.underlined, valueColor: N.value })), Y = f(() => ({ ...Jt, ...s.cardProps })); - ot(() => { - G.value = o.items || []; + const E = v(() => on({ icon: s.clearIcon, iconOptions: u, name: "clear" })), U = v(() => n.value && n.value[i.itemTitle] ? (x.value = !1, n.value[i.itemTitle]) : n.value ? n.value : (x.value = !0, i.emptyText)), W = v(() => zt(i)), q = v(() => ({ color: i.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: U.value, empty: x.value, error: V.value, field: "v-text-field", underlineColor: i.underlineColor, underlineStyle: i.underlineStyle, underlineWidth: i.underlineWidth, underlined: i.underlined, valueColor: N.value })), Y = v(() => ({ ...Zn, ...s.cardProps })); + rn(() => { + j.value = i.items || []; }); - const ee = f(() => on({ cell: o.cell && !L.value, density: o.density, disabled: k.value, field: "v-select", iconSet: u == null ? void 0 : u.defaultSet, loading: B.value, loadingWait: o.loadingWait, tableField: o.tableField, variant: o.variant })), ve = f(() => rn({ cell: o.cell, cellUnderlineFullWidth: o.cellUnderlineFullWidth, density: o.density, field: "v-select" })), Ce = ul({ density: o.density, variant: o.variant }), he = f(() => sn({ active: L.value, name: "select" })), Re = f(() => un({ name: "select", showField: L.value })), Fe = f(() => ({})), ke = f(() => Oe.value); + const ee = v(() => it({ cell: i.cell && !L.value, density: i.density, disabled: k.value, field: "v-select", iconSet: u == null ? void 0 : u.defaultSet, loading: B.value, loadingWait: i.loadingWait, tableField: i.tableField, variant: i.variant })), pe = v(() => rt({ cell: i.cell, cellUnderlineFullWidth: i.cellUnderlineFullWidth, density: i.density, field: "v-select" })), be = ul({ density: i.density, variant: i.variant }), ge = v(() => st({ active: L.value, name: "select" })), We = v(() => ut({ name: "select", showField: L.value })), Ve = v(() => ({})), ke = v(() => Oe.value); function Be() { - F.value = !1, t.value = Q, Pe(); + V.value = !1, n.value = Q, Ae(); } - const Oe = D(), xe = D(null), Ee = D("body"); - function Pe() { - var Ae, je; - if (k.value || o.loadingWait && B.value) + const Oe = D(), we = D(null), Ee = D("body"); + function Ae() { + var _e, qe; + if (k.value || i.loadingWait && B.value) return; - Oe.value = Pt({ cardMinWidth: (Ae = o.cardProps) == null ? void 0 : Ae.minWidth, cardOffsetX: o.cardOffsetX, cardOffsetY: o.cardOffsetY, cardWidth: (je = o.cardProps) == null ? void 0 : je.width, field: xe.value }); - const ue = dn({ attrs: l, closeSiblings: b.value, fieldOnly: o.fieldOnly, props: s, showField: L, timeOpened: z.value }); - o = { ...o, ...ue.settings }, L.value = ue.showField, z.value = ue.timeOpened, re !== null && b.value && L.value && !o.fieldOnly && re.emit(ue.timeOpened); + Oe.value = _n({ cardMinWidth: (_e = i.cardProps) == null ? void 0 : _e.minWidth, cardOffsetX: i.cardOffsetX, cardOffsetY: i.cardOffsetY, cardWidth: (qe = i.cardProps) == null ? void 0 : qe.width, field: we.value }); + const ue = dt({ attrs: l, closeSiblings: C.value, fieldOnly: i.fieldOnly, props: s, showField: L, timeOpened: z.value }); + i = { ...i, ...ue.settings }, L.value = ue.showField, z.value = ue.timeOpened, re !== null && C.value && L.value && !i.fieldOnly && re.emit(ue.timeOpened); } - const fe = D(), ne = f(() => fe.value); - function me() { - const ue = dl({ required: o.required, rules: o.rules, value: t }); - return F.value = ue.errors, fe.value = ue.results, ue.results; + const ve = D(), te = v(() => ve.value); + function fe() { + const ue = dl({ required: i.required, rules: i.rules, value: n }); + return V.value = ue.errors, ve.value = ue.results, ue.results; } function De() { - Q = t.value, i("update", t.value), o.loadingWait || Pe(); + Q = n.value, a("update", n.value), i.loadingWait || Ae(); } let re, X; - function Se(ue) { - i("update:closeSiblingFields", z), L.value && z.value !== ue && Be(); + function Ie(ue) { + a("update:closeSiblingFields", z), L.value && z.value !== ue && Be(); } return K(() => L.value, () => { - L.value && me(); - }), K(() => t.value, () => { - L.value && me(); - }), b.value && import("@vueuse/core").then(({ useEventBus: ue }) => { - re = ue(Kt), X = re.on(Se); - }), Xt(() => { - X !== void 0 && re.off(Se); - }), (ue, Ae) => (J(), ce("div", { ref_key: "inlineFieldsContainer", ref: xe, class: le(r(ee)), style: $e(r(Fe)) }, [!r(L) && !r(o).fieldOnly || r(h) ? (J(), ce("div", { key: 0, class: le(r(ve)) }, [He("div", { class: le(r(Ce)) }, [d(r(cl), Z(r(j), { onToggleField: Pe }), vt({ _: 2 }, [ft(r(a), (je, fn) => ({ name: fn, fn: pe((vl) => [Ye(ue.$slots, fn, Te(We({ ...vl })), void 0, !0)]) }))]), 1040)], 2)], 2)) : Ve("", !0), r(L) || r(o).fieldOnly || r(h) ? (J(), ce("div", { key: 1, class: le(r(he)) }, [(J(), ze(Ot, { disabled: !r(h), to: r(Ee) }, [d(fs, Z(r(R), { modelValue: t.value, "onUpdate:modelValue": Ae[0] || (Ae[0] = (je) => t.value = je), autofocus: !r(o).fieldOnly || r(o).autofocus, "clear-icon": r(E), clearable: r(o).clearable, color: r(x), density: r(o).density, disabled: r(B) || r(k), error: r(F), "error-messages": r(ne), "hide-details": r($), "hide-selected": r(o).hideSelected, "item-title": r(o).itemTitle, "item-value": r(o).itemValue, items: r(G), label: r(o).label, loading: r(B), menu: r(o).menu && !r(o).fieldOnly && r(L), variant: r(o).variant, width: "100%", onKeyup: Hn(Be, ["esc"]) }), vt({ _: 2 }, [ft(r(a), (je, fn) => ({ name: fn, fn: pe((vl) => [Ye(ue.$slots, fn, Te(We({ ...vl })), void 0, !0)]) })), r(a).append ? void 0 : { name: "append", fn: pe(() => [d(r(cn), { "cancel-button-color": r(v), "cancel-button-size": r(y), "cancel-button-title": r(m), "cancel-button-variant": r(g), "cancel-icon": r(p), "cancel-icon-color": r(C), error: r(F), "field-only": r(O), "hide-cancel-icon": r(H), "hide-save-icon": r(_), loading: r(B), "loading-icon": r(W), "loading-icon-color": r(T), "save-button-color": r(I), "save-button-size": r(P), "save-button-title": r(S), "save-button-variant": r(w), "save-icon": r(A), "save-icon-color": r(M), onClose: Be, onSave: De }, null, 8, ["cancel-button-color", "cancel-button-size", "cancel-button-title", "cancel-button-variant", "cancel-icon", "cancel-icon-color", "error", "field-only", "hide-cancel-icon", "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"])], 8, ["disabled", "to"]))], 2)) : Ve("", !0), r(h) ? (J(), ce("div", { key: 2, class: le(r(Re)), style: $e(r(ke)) }, [d(an, Te(We(r(Y))), { default: pe(() => [d(Lt, null, { default: pe(() => [He("div", { ref_key: "cardFieldRef", ref: Ee }, null, 512)]), _: 1 })]), _: 1 }, 16)], 6)) : Ve("", !0)], 6)); -} }), [["__scopeId", "data-v-0716e076"]]), ws = { class: "v-selection-control__wrapper" }, Co = rt({ __name: "VInlineSwitch", props: Qe(Yt({ density: {}, falseIcon: {}, cancelButtonColor: {}, cancelButtonSize: {}, cancelButtonTitle: {}, cancelButtonVariant: {}, cancelIcon: {}, cancelIconColor: {}, cardField: { type: Boolean }, cardOffsetX: {}, cardOffsetY: {}, cardProps: {}, cell: { type: Boolean }, cellUnderlineFullWidth: { type: Boolean }, 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 }, hideCancelIcon: { 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: {} }, { ..._o }), { modelValue: {} }), emits: Qe([...vn], ["update:modelValue"]), setup(e, { emit: n }) { - const t = Tt(e, "modelValue"), l = Et(), a = _t(), i = n, c = ge(Rt, {}), u = Rl(), s = e; - let o = lt({ ...l, ...s, ...c }); - const { cancelButtonColor: v, cancelButtonSize: y, cancelButtonTitle: m, cancelButtonVariant: g, cancelIcon: p, cancelIconColor: C, cardField: h, closeSiblings: b, color: x, fieldOnly: O, hideCancelIcon: H, hideDetails: $, loadingIcon: _, loadingIconColor: W, saveButtonColor: T, saveButtonSize: I, saveButtonTitle: P, saveButtonVariant: S, saveIcon: w, saveIconColor: A } = Bt(o), M = f(() => s.disabled), N = f(() => s.loading), k = D(!1), B = D(!1), V = D(null), F = f(() => zn(o)), G = f(() => ({ ...Jt, ...s.cardProps })); - K(() => N.value, (fe, ne) => { - !fe && ne && B.value && Be(); + L.value && fe(); + }), K(() => n.value, () => { + L.value && fe(); + }), C.value && import("@vueuse/core").then(({ useEventBus: ue }) => { + re = ue(Jn), X = re.on(Ie); + }), Kn(() => { + X !== void 0 && re.off(Ie); + }), (ue, _e) => (J(), ce("div", { ref_key: "inlineFieldsContainer", ref: we, class: le(r(ee)), style: Te(r(Ve)) }, [!r(L) && !r(i).fieldOnly || r(g) ? (J(), ce("div", { key: 0, class: le(r(pe)) }, [Ge("div", { class: le(r(be)) }, [d(r(cl), Z(r(q), { onToggleField: Ae }), vn({ _: 2 }, [fn(r(o), (qe, vt) => ({ name: vt, fn: he((pl) => [Ye(ue.$slots, vt, Pe(Re({ ...pl })), void 0, !0)]) }))]), 1040)], 2)], 2)) : xe("", !0), r(L) || r(i).fieldOnly || r(g) ? (J(), ce("div", { key: 1, class: le(r(ge)) }, [(J(), ze(Pn, { disabled: !r(g), to: r(Ee) }, [d(vs, Z(r(W), { modelValue: n.value, "onUpdate:modelValue": _e[0] || (_e[0] = (qe) => n.value = qe), autofocus: !r(i).fieldOnly || r(i).autofocus, "clear-icon": r(E), clearable: r(i).clearable, color: r(w), density: r(i).density, disabled: r(B) || r(k), error: r(V), "error-messages": r(te), "hide-details": r(T), "hide-selected": r(i).hideSelected, "item-title": r(i).itemTitle, "item-value": r(i).itemValue, items: r(j), label: r(i).label, loading: r(B), menu: r(i).menu && !r(i).fieldOnly && r(L), variant: r(i).variant, width: "100%", onKeyup: Gt(Be, ["esc"]) }), vn({ _: 2 }, [fn(r(o), (qe, vt) => ({ name: vt, fn: he((pl) => [Ye(ue.$slots, vt, Pe(Re({ ...pl })), void 0, !0)]) })), r(o).append ? void 0 : { name: "append", fn: he(() => [d(r(ct), { "cancel-button-color": r(p), "cancel-button-size": r(y), "cancel-button-title": r(f), "cancel-button-variant": r(m), "cancel-icon": r(h), "cancel-icon-color": r(b), error: r(V), "field-only": r(O), "hide-cancel-icon": r(G), "hide-save-icon": r($), loading: r(B), "loading-icon": r(R), "loading-icon-color": r(P), "save-button-color": r(S), "save-button-size": r(A), "save-button-title": r(I), "save-button-variant": r(F), "save-icon": r(_), "save-icon-color": r(M), onClose: Be, onSave: De }, null, 8, ["cancel-button-color", "cancel-button-size", "cancel-button-title", "cancel-button-variant", "cancel-icon", "cancel-icon-color", "error", "field-only", "hide-cancel-icon", "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"])], 8, ["disabled", "to"]))], 2)) : xe("", !0), r(g) ? (J(), ce("div", { key: 2, class: le(r(We)), style: Te(r(ke)) }, [d(at, Pe(Re(r(Y))), { default: he(() => [d(Wn, null, { default: he(() => [Ge("div", { ref_key: "cardFieldRef", ref: Ee }, null, 512)]), _: 1 })]), _: 1 }, 16)], 6)) : xe("", !0)], 6)); +} }), [["__scopeId", "data-v-0716e076"]]), Fs = { class: "v-selection-control__wrapper" }, bi = sn({ __name: "VInlineSwitch", props: Qe(Xn({ density: {}, falseIcon: {}, cancelButtonColor: {}, cancelButtonSize: {}, cancelButtonTitle: {}, cancelButtonVariant: {}, cancelIcon: {}, cancelIconColor: {}, cardField: { type: Boolean }, cardOffsetX: {}, cardOffsetY: {}, cardProps: {}, cell: { type: Boolean }, cellUnderlineFullWidth: { type: Boolean }, 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 }, hideCancelIcon: { 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: {} }, { ...$i }), { modelValue: {} }), emits: Qe([...pt], ["update:modelValue"]), setup(e, { emit: t }) { + const n = $n(e, "modelValue"), l = Tn(), o = En(), a = t, c = me(Mn, {}), u = Wl(), s = e; + let i = ln({ ...l, ...s, ...c }); + const { cancelButtonColor: p, cancelButtonSize: y, cancelButtonTitle: f, cancelButtonVariant: m, cancelIcon: h, cancelIconColor: b, cardField: g, closeSiblings: C, color: w, fieldOnly: O, hideCancelIcon: G, hideDetails: T, loadingIcon: $, loadingIconColor: R, saveButtonColor: P, saveButtonSize: S, saveButtonTitle: A, saveButtonVariant: I, saveIcon: F, saveIconColor: _ } = xn(i), M = v(() => s.disabled), N = v(() => s.loading), k = D(!1), B = D(!1), x = D(null), V = v(() => zt(i)), j = v(() => ({ ...Zn, ...s.cardProps })); + K(() => N.value, (ve, te) => { + !ve && te && B.value && Be(); }); - const L = f(() => t.value == o.trueValue), z = f(() => yo({ modelValue: t, trueValue: o.trueValue })), Q = f(() => on({ cell: o.cell && !B.value, density: o.density, disabled: M.value, field: "v-switch", loading: N.value, loadingWait: o.loadingWait, tableField: o.tableField })), E = f(() => rn({ cell: o.cell, cellUnderlineFullWidth: o.cellUnderlineFullWidth, density: o.density, field: "v-switch" })), U = mo({ density: o.density }), R = f(() => sn({ active: B.value, name: "switch" })), j = f(() => la("switch", o.valueColor, { error: k })), Y = f(() => un({ name: "switch", showField: B.value })), ee = f(() => ({})), ve = f(() => aa({ color: o.color, error: k, theme: u, underlineColor: o.underlineColor, underlineStyle: o.underlineStyle, underlineWidth: o.underlineWidth, underlined: o.underlined })), Ce = f(() => Re.value); - function he() { + const L = v(() => n.value == i.trueValue), z = v(() => yi({ modelValue: n, trueValue: i.trueValue })), Q = v(() => it({ cell: i.cell && !B.value, density: i.density, disabled: M.value, field: "v-switch", loading: N.value, loadingWait: i.loadingWait, tableField: i.tableField })), E = v(() => rt({ cell: i.cell, cellUnderlineFullWidth: i.cellUnderlineFullWidth, density: i.density, field: "v-switch" })), U = fi({ density: i.density }), W = v(() => st({ active: B.value, name: "switch" })), q = v(() => lo("switch", i.valueColor, { error: k })), Y = v(() => ut({ name: "switch", showField: B.value })), ee = v(() => ({})), pe = v(() => oo({ color: i.color, error: k, theme: u, underlineColor: i.underlineColor, underlineStyle: i.underlineStyle, underlineWidth: i.underlineWidth, underlined: i.underlined })), be = v(() => We.value); + function ge() { k.value = !1, Be(); } - const Re = D(), Fe = D(null), ke = D("body"); + const We = D(), Ve = D(null), ke = D("body"); function Be() { - var ne, me; - if (M.value || o.loadingWait && N.value) + var te, fe; + if (M.value || i.loadingWait && N.value) return; - Re.value = Pt({ cardMinWidth: (ne = o.cardProps) == null ? void 0 : ne.minWidth, cardOffsetX: o.cardOffsetX, cardOffsetY: o.cardOffsetY, cardWidth: (me = o.cardProps) == null ? void 0 : me.width, field: Fe.value }); - const fe = dn({ attrs: l, closeSiblings: b.value, fieldOnly: o.fieldOnly, props: s, showField: B.value, timeOpened: V.value }); - o = { ...o, ...fe.settings }, B.value = fe.showField, V.value = fe.timeOpened, xe !== null && b.value && B.value && !o.fieldOnly && xe.emit(fe.timeOpened); - } - function Oe(fe) { - t.value = fe, i("update", fe), o.loadingWait || Be(); - } - let xe, Ee; - function Pe(fe) { - i("update:closeSiblingFields", V), B.value && V.value !== fe && Be(); - } - return b.value && import("@vueuse/core").then(({ useEventBus: fe }) => { - xe = fe(Kt), Ee = xe.on(Pe); - }), Xt(() => { - Ee !== void 0 && xe.off(Pe); - }), (fe, ne) => (J(), ce("div", { ref_key: "inlineFieldsContainer", ref: Fe, class: le(r(Q)), style: $e(r(ee)) }, [!r(B) && !r(o).fieldOnly || r(o).cardField ? (J(), ce("div", { key: 0, class: le(r(E)), onClick: ne[2] || (ne[2] = (me) => r(o).cell ? Be() : void 0) }, [He("div", { class: le(r(U)), onClick: ne[1] || (ne[1] = (me) => r(o).cell ? void 0 : Be()) }, [He("div", ws, [fe.icons ? (J(), ce("div", { key: 0, class: le(["v-inline-fields--boolean-icons-container", r(j)]), style: $e(r(ve)) }, [d(r(fo), { modelValue: r(z), "onUpdate:modelValue": ne[0] || (ne[0] = (me) => At(z) ? z.value = me : null), "icon-false": r(o).iconFalse, "icon-false-color": r(o).iconFalseColor, "icon-false-title": r(o).iconFalseTitle, "icon-true": r(o).iconTrue, "icon-true-color": r(o).iconTrueColor, "icon-true-title": r(o).iconTrueTitle }, null, 8, ["modelValue", "icon-false", "icon-false-color", "icon-false-title", "icon-true", "icon-true-color", "icon-true-title"])], 6)) : (J(), ce("div", { key: 1, class: le(["d-inline-flex align-center justify-center", r(j)]), style: $e(r(ve)) }, Ll(r(L)), 7))])], 2)], 2)) : Ve("", !0), r(B) || r(o).fieldOnly || r(h) ? (J(), ce("div", { key: 1, class: le(r(R)) }, [(J(), ze(Ot, { disabled: !r(h), to: r(ke) }, [d(Ss, Z(r(F), { color: r(x), density: r(o).density, disabled: r(N) || r(M), error: r(k), "false-icon": r(o).falseIcon, "false-value": r(o).falseValue, "hide-details": r($), label: r(o).label, loading: r(N), "model-value": r(z), "true-value": r(o).trueValue, "onUpdate:modelValue": Oe }), vt({ _: 2 }, [ft(r(a), (me, De) => ({ name: De, fn: pe((re) => [Ye(fe.$slots, De, Te(We({ ...re })))]) })), r(a).append ? void 0 : { name: "append", fn: pe(() => [d(r(cn), { "cancel-button-color": r(v), "cancel-button-size": r(y), "cancel-button-title": r(m), "cancel-button-variant": r(g), "cancel-icon": r(p), "cancel-icon-color": r(C), class: "ms-3", error: r(k), "field-only": r(O), "hide-cancel-icon": r(H), "hide-save-icon": !0, loading: r(N), "loading-icon": r(_), "loading-icon-color": r(W), "save-button-color": r(T), "save-button-size": r(I), "save-button-title": r(P), "save-button-variant": r(S), "save-icon": r(w), "save-icon-color": r(A), onClose: he, onSave: Oe }, null, 8, ["cancel-button-color", "cancel-button-size", "cancel-button-title", "cancel-button-variant", "cancel-icon", "cancel-icon-color", "error", "field-only", "hide-cancel-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, ["color", "density", "disabled", "error", "false-icon", "false-value", "hide-details", "label", "loading", "model-value", "true-value"])], 8, ["disabled", "to"]))], 2)) : Ve("", !0), r(h) ? (J(), ce("div", { key: 2, class: le(r(Y)), style: $e(r(Ce)) }, [d(an, Te(We(r(G))), { default: pe(() => [d(Lt, null, { default: pe(() => [He("div", { ref_key: "cardFieldRef", ref: ke }, null, 512)]), _: 1 })]), _: 1 }, 16)], 6)) : Ve("", !0)], 6)); -} }), bo = rt({ __name: "VInlineTextField", props: Qe(Yt({ clearIcon: {}, density: {}, rules: {}, variant: {}, autofocus: { type: Boolean }, cancelButtonColor: {}, cancelButtonSize: {}, cancelButtonTitle: {}, cancelButtonVariant: {}, cancelIcon: {}, cancelIconColor: {}, cardField: { type: Boolean }, cardOffsetX: {}, cardOffsetY: {}, cardProps: {}, cell: { type: Boolean }, cellUnderlineFullWidth: { type: Boolean }, 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 }, hideCancelIcon: { 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: {} }, { ...li }), { modelValue: {} }), emits: Qe([...vn], ["update:modelValue"]), setup(e, { emit: n }) { - const t = Tt(e, "modelValue"), l = Et(), a = _t(), i = n, c = ge(Rt, {}), u = ge(Symbol.for("vuetify:icons")), s = e; - let o = lt({ ...l, ...s, ...c }); - const { cancelButtonColor: v, cancelButtonSize: y, cancelButtonTitle: m, cancelButtonVariant: g, cancelIcon: p, cancelIconColor: C, cardField: h, closeSiblings: b, color: x, fieldOnly: O, hideCancelIcon: H, hideDetails: $, hideSaveIcon: _, loadingIcon: W, loadingIconColor: T, saveButtonColor: I, saveButtonSize: P, saveButtonTitle: S, saveButtonVariant: w, saveIcon: A, saveIconColor: M } = Bt(o), N = f(() => s.disabled), k = f(() => s.loading), B = D(!1), V = D(!1), F = D(!1), G = D(null); - let L = t.value; - K(() => k.value, (X, Se) => { - !X && Se && F.value && xe(); + We.value = _n({ cardMinWidth: (te = i.cardProps) == null ? void 0 : te.minWidth, cardOffsetX: i.cardOffsetX, cardOffsetY: i.cardOffsetY, cardWidth: (fe = i.cardProps) == null ? void 0 : fe.width, field: Ve.value }); + const ve = dt({ attrs: l, closeSiblings: C.value, fieldOnly: i.fieldOnly, props: s, showField: B.value, timeOpened: x.value }); + i = { ...i, ...ve.settings }, B.value = ve.showField, x.value = ve.timeOpened, we !== null && C.value && B.value && !i.fieldOnly && we.emit(ve.timeOpened); + } + function Oe(ve) { + n.value = ve, a("update", ve), i.loadingWait || Be(); + } + let we, Ee; + function Ae(ve) { + a("update:closeSiblingFields", x), B.value && x.value !== ve && Be(); + } + return C.value && import("@vueuse/core").then(({ useEventBus: ve }) => { + we = ve(Jn), Ee = we.on(Ae); + }), Kn(() => { + Ee !== void 0 && we.off(Ae); + }), (ve, te) => (J(), ce("div", { ref_key: "inlineFieldsContainer", ref: Ve, class: le(r(Q)), style: Te(r(ee)) }, [!r(B) && !r(i).fieldOnly || r(i).cardField ? (J(), ce("div", { key: 0, class: le(r(E)), onClick: te[2] || (te[2] = (fe) => r(i).cell ? Be() : void 0) }, [Ge("div", { class: le(r(U)), onClick: te[1] || (te[1] = (fe) => r(i).cell ? void 0 : Be()) }, [Ge("div", Fs, [ve.icons ? (J(), ce("div", { key: 0, class: le(["v-inline-fields--boolean-icons-container", r(q)]), style: Te(r(pe)) }, [d(r(vi), { modelValue: r(z), "onUpdate:modelValue": te[0] || (te[0] = (fe) => On(z) ? z.value = fe : null), "icon-false": r(i).iconFalse, "icon-false-color": r(i).iconFalseColor, "icon-false-title": r(i).iconFalseTitle, "icon-true": r(i).iconTrue, "icon-true-color": r(i).iconTrueColor, "icon-true-title": r(i).iconTrueTitle }, null, 8, ["modelValue", "icon-false", "icon-false-color", "icon-false-title", "icon-true", "icon-true-color", "icon-true-title"])], 6)) : (J(), ce("div", { key: 1, class: le(["d-inline-flex align-center justify-center", r(q)]), style: Te(r(pe)) }, Ll(r(L)), 7))])], 2)], 2)) : xe("", !0), r(B) || r(i).fieldOnly || r(g) ? (J(), ce("div", { key: 1, class: le(r(W)) }, [(J(), ze(Pn, { disabled: !r(g), to: r(ke) }, [d(Is, Z(r(V), { color: r(w), density: r(i).density, disabled: r(N) || r(M), error: r(k), "false-icon": r(i).falseIcon, "false-value": r(i).falseValue, "hide-details": r(T), label: r(i).label, loading: r(N), "model-value": r(z), "true-value": r(i).trueValue, "onUpdate:modelValue": Oe }), vn({ _: 2 }, [fn(r(o), (fe, De) => ({ name: De, fn: he((re) => [Ye(ve.$slots, De, Pe(Re({ ...re })))]) })), r(o).append ? void 0 : { name: "append", fn: he(() => [d(r(ct), { "cancel-button-color": r(p), "cancel-button-size": r(y), "cancel-button-title": r(f), "cancel-button-variant": r(m), "cancel-icon": r(h), "cancel-icon-color": r(b), class: "ms-3", error: r(k), "field-only": r(O), "hide-cancel-icon": r(G), "hide-save-icon": !0, loading: r(N), "loading-icon": r($), "loading-icon-color": r(R), "save-button-color": r(P), "save-button-size": r(S), "save-button-title": r(A), "save-button-variant": r(I), "save-icon": r(F), "save-icon-color": r(_), onClose: ge, onSave: Oe }, null, 8, ["cancel-button-color", "cancel-button-size", "cancel-button-title", "cancel-button-variant", "cancel-icon", "cancel-icon-color", "error", "field-only", "hide-cancel-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, ["color", "density", "disabled", "error", "false-icon", "false-value", "hide-details", "label", "loading", "model-value", "true-value"])], 8, ["disabled", "to"]))], 2)) : xe("", !0), r(g) ? (J(), ce("div", { key: 2, class: le(r(Y)), style: Te(r(be)) }, [d(at, Pe(Re(r(j))), { default: he(() => [d(Wn, null, { default: he(() => [Ge("div", { ref_key: "cardFieldRef", ref: ke }, null, 512)]), _: 1 })]), _: 1 }, 16)], 6)) : xe("", !0)], 6)); +} }), Ci = sn({ __name: "VInlineTextField", props: Qe(Xn({ clearIcon: {}, density: {}, rules: {}, variant: {}, autofocus: { type: Boolean }, cancelButtonColor: {}, cancelButtonSize: {}, cancelButtonTitle: {}, cancelButtonVariant: {}, cancelIcon: {}, cancelIconColor: {}, cardField: { type: Boolean }, cardOffsetX: {}, cardOffsetY: {}, cardProps: {}, cell: { type: Boolean }, cellUnderlineFullWidth: { type: Boolean }, 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 }, hideCancelIcon: { 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: {} }, { ...oa }), { modelValue: {} }), emits: Qe([...pt], ["update:modelValue"]), setup(e, { emit: t }) { + const n = $n(e, "modelValue"), l = Tn(), o = En(), a = t, c = me(Mn, {}), u = me(Symbol.for("vuetify:icons")), s = e; + let i = ln({ ...l, ...s, ...c }); + const { cancelButtonColor: p, cancelButtonSize: y, cancelButtonTitle: f, cancelButtonVariant: m, cancelIcon: h, cancelIconColor: b, cardField: g, closeSiblings: C, color: w, fieldOnly: O, hideCancelIcon: G, hideDetails: T, hideSaveIcon: $, loadingIcon: R, loadingIconColor: P, saveButtonColor: S, saveButtonSize: A, saveButtonTitle: I, saveButtonVariant: F, saveIcon: _, saveIconColor: M } = xn(i), N = v(() => s.disabled), k = v(() => s.loading), B = D(!1), x = D(!1), V = D(!1), j = D(null); + let L = n.value; + K(() => k.value, (X, Ie) => { + !X && Ie && V.value && we(); }); - const z = f(() => at({ icon: s.clearIcon, iconOptions: u, name: "clear" })), Q = f(() => t.value ? (B.value = !1, o.truncateLength ? ia({ length: o.truncateLength, suffix: o.truncateSuffix, text: t.value }) : t.value) : (B.value = !0, o.emptyText)), E = f(() => zn(o)), U = f(() => ({ color: o.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: Q.value, empty: B.value, error: V.value, field: "v-text-field", underlineColor: o.underlineColor, underlineStyle: o.underlineStyle, underlineWidth: o.underlineWidth, underlined: o.underlined, valueColor: o.valueColor })), R = f(() => ({ ...Jt, ...s.cardProps })), j = f(() => on({ cell: o.cell && !F.value, density: o.density, disabled: N.value, field: "v-text-field", iconSet: u == null ? void 0 : u.defaultSet, loading: k.value, loadingWait: o.loadingWait, tableField: o.tableField, variant: o.variant })), Y = f(() => rn({ cell: o.cell, cellUnderlineFullWidth: o.cellUnderlineFullWidth, density: o.density, field: "v-text-field" })), ee = ul({ density: o.density, variant: o.variant }), ve = f(() => sn({ active: F.value, name: "text-field" })), Ce = f(() => un({ name: "text-field", showField: F.value })), he = f(() => ({})), Re = f(() => ke.value); - function Fe() { - V.value = !1, t.value = L, xe(); + const z = v(() => on({ icon: s.clearIcon, iconOptions: u, name: "clear" })), Q = v(() => n.value ? (B.value = !1, i.truncateLength ? ao({ length: i.truncateLength, suffix: i.truncateSuffix, text: n.value }) : n.value) : (B.value = !0, i.emptyText)), E = v(() => zt(i)), U = v(() => ({ color: i.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: Q.value, empty: B.value, error: x.value, field: "v-text-field", underlineColor: i.underlineColor, underlineStyle: i.underlineStyle, underlineWidth: i.underlineWidth, underlined: i.underlined, valueColor: i.valueColor })), W = v(() => ({ ...Zn, ...s.cardProps })), q = v(() => it({ cell: i.cell && !V.value, density: i.density, disabled: N.value, field: "v-text-field", iconSet: u == null ? void 0 : u.defaultSet, loading: k.value, loadingWait: i.loadingWait, tableField: i.tableField, variant: i.variant })), Y = v(() => rt({ cell: i.cell, cellUnderlineFullWidth: i.cellUnderlineFullWidth, density: i.density, field: "v-text-field" })), ee = ul({ density: i.density, variant: i.variant }), pe = v(() => st({ active: V.value, name: "text-field" })), be = v(() => ut({ name: "text-field", showField: V.value })), ge = v(() => ({})), We = v(() => ke.value); + function Ve() { + x.value = !1, n.value = L, we(); } const ke = D(), Be = D(null), Oe = D("body"); - function xe() { - var Se, ue; - if (N.value || o.loadingWait && k.value) + function we() { + var Ie, ue; + if (N.value || i.loadingWait && k.value) return; - ke.value = Pt({ cardMinWidth: (Se = o.cardProps) == null ? void 0 : Se.minWidth, cardOffsetX: o.cardOffsetX, cardOffsetY: o.cardOffsetY, cardWidth: (ue = o.cardProps) == null ? void 0 : ue.width, field: Be.value }); - const X = dn({ attrs: l, closeSiblings: b.value, fieldOnly: o.fieldOnly, props: s, showField: F, timeOpened: G.value }); - o = { ...o, ...X.settings }, F.value = X.showField, G.value = X.timeOpened, me !== null && b.value && F.value && !o.fieldOnly && me.emit(X.timeOpened); + ke.value = _n({ cardMinWidth: (Ie = i.cardProps) == null ? void 0 : Ie.minWidth, cardOffsetX: i.cardOffsetX, cardOffsetY: i.cardOffsetY, cardWidth: (ue = i.cardProps) == null ? void 0 : ue.width, field: Be.value }); + const X = dt({ attrs: l, closeSiblings: C.value, fieldOnly: i.fieldOnly, props: s, showField: V, timeOpened: j.value }); + i = { ...i, ...X.settings }, V.value = X.showField, j.value = X.timeOpened, fe !== null && C.value && V.value && !i.fieldOnly && fe.emit(X.timeOpened); } - const Ee = D(), Pe = f(() => Ee.value); - function fe() { - const X = dl({ required: o.required, rules: o.rules, value: t }); - return V.value = X.errors, Ee.value = X.results, X.results; + const Ee = D(), Ae = v(() => Ee.value); + function ve() { + const X = dl({ required: i.required, rules: i.rules, value: n }); + return x.value = X.errors, Ee.value = X.results, X.results; } - function ne() { - V.value ? V.value = !0 : (L = t.value, i("update", t.value), o.loadingWait || xe()); + function te() { + x.value ? x.value = !0 : (L = n.value, a("update", n.value), i.loadingWait || we()); } - let me, De; + let fe, De; function re(X) { - i("update:closeSiblingFields", G), F.value && G.value !== X && Fe(); - } - return K(() => F.value, () => { - F.value && fe(); - }), K(() => t.value, () => { - F.value && fe(); - }), b.value && import("@vueuse/core").then(({ useEventBus: X }) => { - me = X(Kt), De = me.on(re); - }), Xt(() => { - De !== void 0 && me.off(re); - }), (X, Se) => (J(), ce("div", { ref_key: "inlineFieldsContainer", ref: Be, class: le(r(j)), style: $e(r(he)) }, [!r(F) && !r(o).fieldOnly || r(h) ? (J(), ce("div", { key: 0, class: le(r(Y)) }, [He("div", { class: le(r(ee)) }, [d(r(cl), Z(r(U), { onToggleField: xe }), vt({ _: 2 }, [ft(r(a), (ue, Ae) => ({ name: Ae, fn: pe((je) => [Ye(X.$slots, Ae, Te(We({ ...je })))]) }))]), 1040)], 2)], 2)) : Ve("", !0), r(F) || r(o).fieldOnly || r(h) ? (J(), ce("div", { key: 1, class: le(r(ve)) }, [(J(), ze(Ot, { disabled: !r(h), to: r(Oe) }, [d($l, Z(r(E), { modelValue: t.value, "onUpdate:modelValue": Se[0] || (Se[0] = (ue) => t.value = ue), autofocus: !r(o).fieldOnly || r(o).autofocus, "clear-icon": r(z), color: r(x), density: r(o).density, disabled: r(k) || r(N), error: r(V), "error-messages": r(Pe), "hide-details": r($), label: r(o).label, loading: r(k), variant: r(o).variant, width: "100%", onKeyup: [Hn(ne, ["enter"]), Hn(Fe, ["esc"])] }), vt({ _: 2 }, [ft(r(a), (ue, Ae) => ({ name: Ae, fn: pe((je) => [Ye(X.$slots, Ae, Te(We({ ...je })))]) })), r(a).append ? void 0 : { name: "append", fn: pe(() => [d(r(cn), { "cancel-button-color": r(v), "cancel-button-size": r(y), "cancel-button-title": r(m), "cancel-button-variant": r(g), "cancel-icon": r(p), "cancel-icon-color": r(C), error: r(V), "field-only": r(O), "hide-cancel-icon": r(H), "hide-save-icon": r(_), loading: r(k), "loading-icon": r(W), "loading-icon-color": r(T), "save-button-color": r(I), "save-button-size": r(P), "save-button-title": r(S), "save-button-variant": r(w), "save-icon": r(A), "save-icon-color": r(M), onClose: Fe, onSave: ne }, null, 8, ["cancel-button-color", "cancel-button-size", "cancel-button-title", "cancel-button-variant", "cancel-icon", "cancel-icon-color", "error", "field-only", "hide-cancel-icon", "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", "color", "density", "disabled", "error", "error-messages", "hide-details", "label", "loading", "variant"])], 8, ["disabled", "to"]))], 2)) : Ve("", !0), r(h) ? (J(), ce("div", { key: 2, class: le(r(Ce)), style: $e(r(Re)) }, [d(an, Te(We(r(R))), { default: pe(() => [d(Lt, null, { default: pe(() => [He("div", { ref_key: "cardFieldRef", ref: Oe }, null, 512)]), _: 1 })]), _: 1 }, 16)], 6)) : Ve("", !0)], 6)); -} }), So = rt({ __name: "VInlineTextarea", props: Qe(Yt({ autoGrow: {}, clearIcon: {}, density: {}, rows: {}, rules: {}, variant: {}, autofocus: { type: Boolean }, cancelButtonColor: {}, cancelButtonSize: {}, cancelButtonTitle: {}, cancelButtonVariant: {}, cancelIcon: {}, cancelIconColor: {}, cardField: { type: Boolean }, cardOffsetX: {}, cardOffsetY: {}, cardProps: {}, cell: { type: Boolean }, cellUnderlineFullWidth: { type: Boolean }, 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 }, hideCancelIcon: { 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: {} }, { ...Eo }), { modelValue: {} }), emits: Qe([...vn], ["update:modelValue"]), setup(e, { emit: n }) { - const t = Tt(e, "modelValue"), l = Et(), a = _t(), i = n, c = ge(Rt, {}), u = ge(Symbol.for("vuetify:icons")), s = e; - let o = lt({ ...l, ...s, ...c }); - const { cancelButtonColor: v, cancelButtonSize: y, cancelButtonTitle: m, cancelButtonVariant: g, cancelIcon: p, cancelIconColor: C, cardField: h, closeSiblings: b, color: x, fieldOnly: O, hideCancelIcon: H, hideDetails: $, hideSaveIcon: _, loadingIcon: W, loadingIconColor: T, saveButtonColor: I, saveButtonSize: P, saveButtonTitle: S, saveButtonVariant: w, saveIcon: A, saveIconColor: M } = Bt(o), N = f(() => s.disabled), k = f(() => s.loading), B = D(!1), V = D(!1), F = D(!1), G = D(null); - let L = t.value; - K(() => k.value, (X, Se) => { - !X && Se && F.value && xe(); + a("update:closeSiblingFields", j), V.value && j.value !== X && Ve(); + } + return K(() => V.value, () => { + V.value && ve(); + }), K(() => n.value, () => { + V.value && ve(); + }), C.value && import("@vueuse/core").then(({ useEventBus: X }) => { + fe = X(Jn), De = fe.on(re); + }), Kn(() => { + De !== void 0 && fe.off(re); + }), (X, Ie) => (J(), ce("div", { ref_key: "inlineFieldsContainer", ref: Be, class: le(r(q)), style: Te(r(ge)) }, [!r(V) && !r(i).fieldOnly || r(g) ? (J(), ce("div", { key: 0, class: le(r(Y)) }, [Ge("div", { class: le(r(ee)) }, [d(r(cl), Z(r(U), { onToggleField: we }), vn({ _: 2 }, [fn(r(o), (ue, _e) => ({ name: _e, fn: he((qe) => [Ye(X.$slots, _e, Pe(Re({ ...qe })))]) }))]), 1040)], 2)], 2)) : xe("", !0), r(V) || r(i).fieldOnly || r(g) ? (J(), ce("div", { key: 1, class: le(r(pe)) }, [(J(), ze(Pn, { disabled: !r(g), to: r(Oe) }, [d(Tl, Z(r(E), { modelValue: n.value, "onUpdate:modelValue": Ie[0] || (Ie[0] = (ue) => n.value = ue), autofocus: !r(i).fieldOnly || r(i).autofocus, "clear-icon": r(z), color: r(w), density: r(i).density, disabled: r(k) || r(N), error: r(x), "error-messages": r(Ae), "hide-details": r(T), label: r(i).label, loading: r(k), variant: r(i).variant, width: "100%", onKeyup: [Gt(te, ["enter"]), Gt(Ve, ["esc"])] }), vn({ _: 2 }, [fn(r(o), (ue, _e) => ({ name: _e, fn: he((qe) => [Ye(X.$slots, _e, Pe(Re({ ...qe })))]) })), r(o).append ? void 0 : { name: "append", fn: he(() => [d(r(ct), { "cancel-button-color": r(p), "cancel-button-size": r(y), "cancel-button-title": r(f), "cancel-button-variant": r(m), "cancel-icon": r(h), "cancel-icon-color": r(b), error: r(x), "field-only": r(O), "hide-cancel-icon": r(G), "hide-save-icon": r($), loading: r(k), "loading-icon": r(R), "loading-icon-color": r(P), "save-button-color": r(S), "save-button-size": r(A), "save-button-title": r(I), "save-button-variant": r(F), "save-icon": r(_), "save-icon-color": r(M), onClose: Ve, onSave: te }, null, 8, ["cancel-button-color", "cancel-button-size", "cancel-button-title", "cancel-button-variant", "cancel-icon", "cancel-icon-color", "error", "field-only", "hide-cancel-icon", "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", "color", "density", "disabled", "error", "error-messages", "hide-details", "label", "loading", "variant"])], 8, ["disabled", "to"]))], 2)) : xe("", !0), r(g) ? (J(), ce("div", { key: 2, class: le(r(be)), style: Te(r(We)) }, [d(at, Pe(Re(r(W))), { default: he(() => [d(Wn, null, { default: he(() => [Ge("div", { ref_key: "cardFieldRef", ref: Oe }, null, 512)]), _: 1 })]), _: 1 }, 16)], 6)) : xe("", !0)], 6)); +} }), Ii = sn({ __name: "VInlineTextarea", props: Qe(Xn({ autoGrow: {}, clearIcon: {}, density: {}, rows: {}, rules: {}, variant: {}, autofocus: { type: Boolean }, cancelButtonColor: {}, cancelButtonSize: {}, cancelButtonTitle: {}, cancelButtonVariant: {}, cancelIcon: {}, cancelIconColor: {}, cardField: { type: Boolean }, cardOffsetX: {}, cardOffsetY: {}, cardProps: {}, cell: { type: Boolean }, cellUnderlineFullWidth: { type: Boolean }, 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 }, hideCancelIcon: { 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: {} }, { ...Ei }), { modelValue: {} }), emits: Qe([...pt], ["update:modelValue"]), setup(e, { emit: t }) { + const n = $n(e, "modelValue"), l = Tn(), o = En(), a = t, c = me(Mn, {}), u = me(Symbol.for("vuetify:icons")), s = e; + let i = ln({ ...l, ...s, ...c }); + const { cancelButtonColor: p, cancelButtonSize: y, cancelButtonTitle: f, cancelButtonVariant: m, cancelIcon: h, cancelIconColor: b, cardField: g, closeSiblings: C, color: w, fieldOnly: O, hideCancelIcon: G, hideDetails: T, hideSaveIcon: $, loadingIcon: R, loadingIconColor: P, saveButtonColor: S, saveButtonSize: A, saveButtonTitle: I, saveButtonVariant: F, saveIcon: _, saveIconColor: M } = xn(i), N = v(() => s.disabled), k = v(() => s.loading), B = D(!1), x = D(!1), V = D(!1), j = D(null); + let L = n.value; + K(() => k.value, (X, Ie) => { + !X && Ie && V.value && we(); }); - const z = f(() => at({ icon: s.clearIcon, iconOptions: u, name: "clear" })), Q = f(() => t.value ? (B.value = !1, o.truncateLength ? ia({ length: o.truncateLength, suffix: o.truncateSuffix, text: t.value }) : t.value) : (B.value = !0, o.emptyText)), E = f(() => zn(o)), U = f(() => ({ color: o.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: Q.value, empty: B.value, error: V.value, field: "v-text-field", underlineColor: o.underlineColor, underlineStyle: o.underlineStyle, underlineWidth: o.underlineWidth, underlined: o.underlined, valueColor: o.valueColor })), R = f(() => ({ ...Jt, ...s.cardProps })), j = f(() => on({ cell: o.cell && !F.value, density: o.density, disabled: N.value, field: "v-textarea", iconSet: u == null ? void 0 : u.defaultSet, loading: k.value, loadingWait: o.loadingWait, tableField: o.tableField, variant: o.variant })), Y = f(() => rn({ cell: o.cell, cellUnderlineFullWidth: o.cellUnderlineFullWidth, density: o.density, field: "v-textarea" })), ee = ul({ density: o.density, variant: o.variant }), ve = f(() => sn({ active: F.value, name: "textarea" })), Ce = f(() => un({ name: "textarea", showField: F.value })), he = f(() => ({})), Re = f(() => ke.value); - function Fe() { - V.value = !1, t.value = L, xe(); + const z = v(() => on({ icon: s.clearIcon, iconOptions: u, name: "clear" })), Q = v(() => n.value ? (B.value = !1, i.truncateLength ? ao({ length: i.truncateLength, suffix: i.truncateSuffix, text: n.value }) : n.value) : (B.value = !0, i.emptyText)), E = v(() => zt(i)), U = v(() => ({ color: i.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: Q.value, empty: B.value, error: x.value, field: "v-text-field", underlineColor: i.underlineColor, underlineStyle: i.underlineStyle, underlineWidth: i.underlineWidth, underlined: i.underlined, valueColor: i.valueColor })), W = v(() => ({ ...Zn, ...s.cardProps })), q = v(() => it({ cell: i.cell && !V.value, density: i.density, disabled: N.value, field: "v-textarea", iconSet: u == null ? void 0 : u.defaultSet, loading: k.value, loadingWait: i.loadingWait, tableField: i.tableField, variant: i.variant })), Y = v(() => rt({ cell: i.cell, cellUnderlineFullWidth: i.cellUnderlineFullWidth, density: i.density, field: "v-textarea" })), ee = ul({ density: i.density, variant: i.variant }), pe = v(() => st({ active: V.value, name: "textarea" })), be = v(() => ut({ name: "textarea", showField: V.value })), ge = v(() => ({})), We = v(() => ke.value); + function Ve() { + x.value = !1, n.value = L, we(); } const ke = D(), Be = D(null), Oe = D("body"); - function xe() { - var Se, ue; - if (N.value || o.loadingWait && k.value) + function we() { + var Ie, ue; + if (N.value || i.loadingWait && k.value) return; - ke.value = Pt({ cardMinWidth: (Se = o.cardProps) == null ? void 0 : Se.minWidth, cardOffsetX: o.cardOffsetX, cardOffsetY: o.cardOffsetY, cardWidth: (ue = o.cardProps) == null ? void 0 : ue.width, field: Be.value }); - const X = dn({ attrs: l, closeSiblings: b.value, fieldOnly: o.fieldOnly, props: s, showField: F, timeOpened: G.value }); - o = { ...o, ...X.settings }, F.value = X.showField, G.value = X.timeOpened, me !== null && b.value && F.value && !o.fieldOnly && me.emit(X.timeOpened); + ke.value = _n({ cardMinWidth: (Ie = i.cardProps) == null ? void 0 : Ie.minWidth, cardOffsetX: i.cardOffsetX, cardOffsetY: i.cardOffsetY, cardWidth: (ue = i.cardProps) == null ? void 0 : ue.width, field: Be.value }); + const X = dt({ attrs: l, closeSiblings: C.value, fieldOnly: i.fieldOnly, props: s, showField: V, timeOpened: j.value }); + i = { ...i, ...X.settings }, V.value = X.showField, j.value = X.timeOpened, fe !== null && C.value && V.value && !i.fieldOnly && fe.emit(X.timeOpened); } - const Ee = D(), Pe = f(() => Ee.value); - function fe() { - const X = dl({ required: o.required, rules: o.rules, value: t }); - return V.value = X.errors, Ee.value = X.results, X.results; + const Ee = D(), Ae = v(() => Ee.value); + function ve() { + const X = dl({ required: i.required, rules: i.rules, value: n }); + return x.value = X.errors, Ee.value = X.results, X.results; } - function ne() { - L = t.value, i("update", t.value), o.loadingWait || xe(); + function te() { + L = n.value, a("update", n.value), i.loadingWait || we(); } - let me, De; + let fe, De; function re(X) { - i("update:closeSiblingFields", G), F.value && G.value !== X && Fe(); - } - return K(() => F.value, () => { - F.value && fe(); - }), K(() => t.value, () => { - F.value && fe(); - }), b.value && import("@vueuse/core").then(({ useEventBus: X }) => { - me = X(Kt), De = me.on(re); - }), Xt(() => { - De !== void 0 && me.off(re); - }), (X, Se) => (J(), ce("div", { ref_key: "inlineFieldsContainer", ref: Be, class: le(r(j)), style: $e(r(he)) }, [!r(F) && !r(o).fieldOnly || r(h) ? (J(), ce("div", { key: 0, class: le(r(Y)) }, [He("div", { class: le(r(ee)) }, [d(r(cl), Z(r(U), { onToggleField: xe }), vt({ _: 2 }, [ft(r(a), (ue, Ae) => ({ name: Ae, fn: pe((je) => [Ye(X.$slots, Ae, Te(We({ ...je })))]) }))]), 1040)], 2)], 2)) : Ve("", !0), r(F) || r(o).fieldOnly || r(h) ? (J(), ce("div", { key: 1, class: le(r(ve)) }, [(J(), ze(Ot, { disabled: !r(h), to: r(Oe) }, [d(Bs, Z(r(E), { modelValue: t.value, "onUpdate:modelValue": Se[0] || (Se[0] = (ue) => t.value = ue), "auto-grow": r(o).autoGrow, autofocus: !r(o).fieldOnly || r(o).autofocus, "clear-icon": r(z), color: r(x), density: r(o).density, disabled: r(k) || r(N), error: r(V), "error-messages": r(Pe), "hide-details": r($), label: r(o).label, loading: r(k), rows: r(o).rows, variant: r(o).variant, width: "100%", onKeyup: Hn(Fe, ["esc"]) }), vt({ _: 2 }, [ft(r(a), (ue, Ae) => ({ name: Ae, fn: pe((je) => [Ye(X.$slots, Ae, Te(We({ ...je })))]) })), r(a).append ? void 0 : { name: "append", fn: pe(() => [d(r(cn), { "cancel-button-color": r(v), "cancel-button-size": r(y), "cancel-button-title": r(m), "cancel-button-variant": r(g), "cancel-icon": r(p), "cancel-icon-color": r(C), error: r(V), "field-only": r(O), "hide-cancel-icon": r(H), "hide-save-icon": r(_), loading: r(k), "loading-icon": r(W), "loading-icon-color": r(T), "save-button-color": r(I), "save-button-size": r(P), "save-button-title": r(S), "save-button-variant": r(w), "save-icon": r(A), "save-icon-color": r(M), onClose: Fe, onSave: ne }, null, 8, ["cancel-button-color", "cancel-button-size", "cancel-button-title", "cancel-button-variant", "cancel-icon", "cancel-icon-color", "error", "field-only", "hide-cancel-icon", "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"])], 8, ["disabled", "to"]))], 2)) : Ve("", !0), r(h) ? (J(), ce("div", { key: 2, class: le(r(Ce)), style: $e(r(Re)) }, [d(an, Te(We(r(R))), { default: pe(() => [d(Lt, null, { default: pe(() => [He("div", { ref_key: "cardFieldRef", ref: Oe }, null, 512)]), _: 1 })]), _: 1 }, 16)], 6)) : Ve("", !0)], 6)); -} }), Rt = Symbol(); + a("update:closeSiblingFields", j), V.value && j.value !== X && Ve(); + } + return K(() => V.value, () => { + V.value && ve(); + }), K(() => n.value, () => { + V.value && ve(); + }), C.value && import("@vueuse/core").then(({ useEventBus: X }) => { + fe = X(Jn), De = fe.on(re); + }), Kn(() => { + De !== void 0 && fe.off(re); + }), (X, Ie) => (J(), ce("div", { ref_key: "inlineFieldsContainer", ref: Be, class: le(r(q)), style: Te(r(ge)) }, [!r(V) && !r(i).fieldOnly || r(g) ? (J(), ce("div", { key: 0, class: le(r(Y)) }, [Ge("div", { class: le(r(ee)) }, [d(r(cl), Z(r(U), { onToggleField: we }), vn({ _: 2 }, [fn(r(o), (ue, _e) => ({ name: _e, fn: he((qe) => [Ye(X.$slots, _e, Pe(Re({ ...qe })))]) }))]), 1040)], 2)], 2)) : xe("", !0), r(V) || r(i).fieldOnly || r(g) ? (J(), ce("div", { key: 1, class: le(r(pe)) }, [(J(), ze(Pn, { disabled: !r(g), to: r(Oe) }, [d(Bs, Z(r(E), { modelValue: n.value, "onUpdate:modelValue": Ie[0] || (Ie[0] = (ue) => n.value = ue), "auto-grow": r(i).autoGrow, autofocus: !r(i).fieldOnly || r(i).autofocus, "clear-icon": r(z), color: r(w), density: r(i).density, disabled: r(k) || r(N), error: r(x), "error-messages": r(Ae), "hide-details": r(T), label: r(i).label, loading: r(k), rows: r(i).rows, variant: r(i).variant, width: "100%", onKeyup: Gt(Ve, ["esc"]) }), vn({ _: 2 }, [fn(r(o), (ue, _e) => ({ name: _e, fn: he((qe) => [Ye(X.$slots, _e, Pe(Re({ ...qe })))]) })), r(o).append ? void 0 : { name: "append", fn: he(() => [d(r(ct), { "cancel-button-color": r(p), "cancel-button-size": r(y), "cancel-button-title": r(f), "cancel-button-variant": r(m), "cancel-icon": r(h), "cancel-icon-color": r(b), error: r(x), "field-only": r(O), "hide-cancel-icon": r(G), "hide-save-icon": r($), loading: r(k), "loading-icon": r(R), "loading-icon-color": r(P), "save-button-color": r(S), "save-button-size": r(A), "save-button-title": r(I), "save-button-variant": r(F), "save-icon": r(_), "save-icon-color": r(M), onClose: Ve, onSave: te }, null, 8, ["cancel-button-color", "cancel-button-size", "cancel-button-title", "cancel-button-variant", "cancel-icon", "cancel-icon-color", "error", "field-only", "hide-cancel-icon", "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"])], 8, ["disabled", "to"]))], 2)) : xe("", !0), r(g) ? (J(), ce("div", { key: 2, class: le(r(be)), style: Te(r(We)) }, [d(at, Pe(Re(r(W))), { default: he(() => [d(Wn, null, { default: he(() => [Ge("div", { ref_key: "cardFieldRef", ref: Oe }, null, 512)]), _: 1 })]), _: 1 }, 16)], 6)) : xe("", !0)], 6)); +} }), Mn = Symbol(); function Os(e = {}) { - return (n) => { - n.provide(Rt, e), n.component("VInlineCheckbox", go), n.component("VInlineCustomField", ho), n.component("VInlineSelect", po), n.component("VInlineSwitch", Co), n.component("VInlineTextField", bo), n.component("VInlineTextarea", So); + return (t) => { + t.provide(Mn, e), t.component("VInlineCheckbox", mi), t.component("VInlineCustomField", gi), t.component("VInlineSelect", hi), t.component("VInlineSwitch", bi), t.component("VInlineTextField", Ci), t.component("VInlineTextarea", Ii); }; } -const Ts = { VInlineCheckbox: go, VInlineCustomField: ho, VInlineSelect: po, VInlineSwitch: Co, VInlineTextField: bo, VInlineTextarea: So }; +const Ps = { VInlineCheckbox: mi, VInlineCustomField: gi, VInlineSelect: hi, VInlineSwitch: bi, VInlineTextField: Ci, VInlineTextarea: Ii }; export { - go as VInlineCheckbox, - ho as VInlineCustomField, - po as VInlineSelect, - Co as VInlineSwitch, - bo as VInlineTextField, - So as VInlineTextarea, + mi as VInlineCheckbox, + gi as VInlineCustomField, + hi as VInlineSelect, + bi as VInlineSwitch, + Ci as VInlineTextField, + Ii as VInlineTextarea, Os as createVInlineFields, - Ts as default, - Rt as globalOptions + Ps as default, + Mn as globalOptions }; (function(){"use strict";try{if(typeof document<"u"){var i=document.createElement("style");i.appendChild(document.createTextNode(":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-container-cell{cursor:pointer;display:block;max-height:unset!important}.v-inline-fields--display-container-cell>div{width:100%}.v-inline-fields--display-container-cell-underline-full-width .v-inline-fields--display-value{width:100%}.v-inline-fields--display-container-cell .v-inline-fields--selection-control .v-inline-fields--display-value{justify-content:center}.v-inline-fields--display-container-cell,.v-inline-fields--display-container-cell .v-input,.v-inline-fields--display-container-cell .v-inline-fields--display-wrapper,.v-inline-fields--display-container-cell .v-selection-control__wrapper{height:100%!important;width:100%}.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-cell{height:100%;width:100%}.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}[data-v-0716e076] .v-field__field{align-items:flex-end!important}")),document.head.appendChild(i)}}catch(n){console.error("vite-plugin-css-injected-by-js",n)}})();