music-assistant-frontend 2.5.15__py3-none-any.whl → 2.6.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of music-assistant-frontend might be problematic. Click here for more details.
- music_assistant_frontend/assets/{AddGroupPlayer-53686e97.js → AddGroupPlayer-ae687906.js} +1 -1
- music_assistant_frontend/assets/{AddProvider-aa121f3b.js → AddProvider-0774e2a8.js} +1 -1
- music_assistant_frontend/assets/AlbumDetails-6905ed22.js +1 -0
- music_assistant_frontend/assets/ArtistDetails-c95597fd.js +1 -0
- music_assistant_frontend/assets/BrowseView-c7f5b3a5.js +1 -0
- music_assistant_frontend/assets/{Button-64160646.js → Button-784539f4.js} +1 -1
- music_assistant_frontend/assets/{Container-1fa5169e.js → Container-ff473259.js} +1 -1
- music_assistant_frontend/assets/{CoreConfigs-abbf72d5.js → CoreConfigs-a4dac5a3.js} +1 -1
- music_assistant_frontend/assets/{Default-fadf2788.js → Default-93441321.js} +1 -1
- music_assistant_frontend/assets/{DrawerNavigation.vue_vue_type_style_index_0_scoped_2862bff2_lang-6fba246e.js → DrawerNavigation.vue_vue_type_style_index_0_scoped_2862bff2_lang-55ac50c6.js} +1 -1
- music_assistant_frontend/assets/{EditConfig-199306bc.js → EditConfig-aaa7e50b.js} +2 -2
- music_assistant_frontend/assets/{EditCoreConfig-95c44ca7.js → EditCoreConfig-3a739fd0.js} +1 -1
- music_assistant_frontend/assets/{EditPlayer-c0a383c9.js → EditPlayer-0de7ad54.js} +1 -1
- music_assistant_frontend/assets/{EditProvider-8192274f.js → EditProvider-a81c1988.js} +1 -1
- music_assistant_frontend/assets/{FrontendConfig-d29f05e3.js → FrontendConfig-f3cc32de.js} +1 -1
- music_assistant_frontend/assets/{HomeView-80bf48d5.js → HomeView-4d03d7a1.js} +1 -1
- music_assistant_frontend/assets/ItemsListing-9a3a53ae.js +1 -0
- music_assistant_frontend/assets/{ItemsListing-11600386.css → ItemsListing-a385a20f.css} +1 -1
- music_assistant_frontend/assets/{LibraryAlbums-fb98323f.js → LibraryAlbums-0ae23d40.js} +1 -1
- music_assistant_frontend/assets/{LibraryArtists-b3536e19.js → LibraryArtists-8c36ae22.js} +1 -1
- music_assistant_frontend/assets/{LibraryPlaylists-7c51d010.js → LibraryPlaylists-d2a5a3da.js} +1 -1
- music_assistant_frontend/assets/{LibraryRadios-f2ffe2c7.js → LibraryRadios-fcee9c2f.js} +1 -1
- music_assistant_frontend/assets/{LibraryTracks-f043f858.js → LibraryTracks-aca60c23.js} +1 -1
- music_assistant_frontend/assets/{ListItem-7b05ebf9.js → ListItem-50af6ebb.js} +1 -1
- music_assistant_frontend/assets/{PanelviewItemCompact-4dc20236.js → PanelviewItemCompact-c5d1faef.js} +1 -1
- music_assistant_frontend/assets/{Players-49afda74.js → Players-cc8886e8.js} +1 -1
- music_assistant_frontend/assets/{PlaylistDetails-e78947df.js → PlaylistDetails-3f15fbc6.js} +1 -1
- music_assistant_frontend/assets/ProviderDetails-b22fcc55.css +1 -0
- music_assistant_frontend/assets/ProviderDetails.vue_vue_type_script_setup_true_lang-a5edd4c3.js +8 -0
- music_assistant_frontend/assets/{Providers-c1e797dd.js → Providers-740e4a62.js} +1 -1
- music_assistant_frontend/assets/RadioDetails-c8598a88.js +1 -0
- music_assistant_frontend/assets/{Search-f41cf8df.js → Search-13c9d2ca.js} +1 -1
- music_assistant_frontend/assets/{Settings-772d38e1.js → Settings-1a0adb7f.js} +1 -1
- music_assistant_frontend/assets/{Toolbar-6cac4d7d.js → Toolbar-eb89f7db.js} +1 -1
- music_assistant_frontend/assets/TrackDetails-92ddb47e.js +1 -0
- music_assistant_frontend/assets/{VAlert-12c553a2.js → VAlert-708f5408.js} +1 -1
- music_assistant_frontend/assets/{VCard-cb863c33.js → VCard-6d87d169.js} +1 -1
- music_assistant_frontend/assets/{VCardText-1810bf8a.js → VCardText-7bb4efb6.js} +1 -1
- music_assistant_frontend/assets/{VCheckbox-87d4f6c8.css → VCheckbox-346d69e1.css} +1 -1
- music_assistant_frontend/assets/{VCheckbox-2a28a1cd.js → VCheckbox-75b4c12a.js} +1 -1
- music_assistant_frontend/assets/{VCheckboxBtn-cb68b622.js → VCheckboxBtn-ad9d405a.js} +1 -1
- music_assistant_frontend/assets/{VDialog-480c2f48.js → VDialog-bec8ba32.js} +1 -1
- music_assistant_frontend/assets/VExpansionPanels-f3532f6e.js +1 -0
- music_assistant_frontend/assets/{VForm-9944c6a5.js → VForm-e201bdc8.js} +1 -1
- music_assistant_frontend/assets/{VInfiniteScroll-61b7ed02.js → VInfiniteScroll-dfad6ac1.js} +1 -1
- music_assistant_frontend/assets/{VList-13fa461d.js → VList-6d58de6a.js} +1 -1
- music_assistant_frontend/assets/{VListItem-b9a4cfb8.js → VListItem-748fc7af.js} +1 -1
- music_assistant_frontend/assets/{VMenu-4088b2e7.js → VMenu-02b91385.js} +1 -1
- music_assistant_frontend/assets/VSpacer-caa12be4.js +1 -0
- music_assistant_frontend/assets/{VTextField-574f2a77.js → VTextField-9151d790.js} +1 -1
- music_assistant_frontend/assets/{VToolbar-77830c55.js → VToolbar-2949cae0.js} +1 -1
- music_assistant_frontend/assets/{VVirtualScroll-5ee5768d.js → VVirtualScroll-1c00b40c.js} +1 -1
- music_assistant_frontend/assets/{eventbus-4894d390.js → eventbus-fb52ce0b.js} +1 -1
- music_assistant_frontend/assets/{index-5eb5c9ac.js → index-9299e1c1.js} +30 -30
- music_assistant_frontend/assets/{layout-2c007cef.js → layout-0bba43de.js} +1 -1
- music_assistant_frontend/index.html +1 -2
- music_assistant_frontend/sw.js +1 -1
- {music_assistant_frontend-2.5.15.dist-info → music_assistant_frontend-2.6.0.dist-info}/METADATA +1 -1
- {music_assistant_frontend-2.5.15.dist-info → music_assistant_frontend-2.6.0.dist-info}/RECORD +62 -62
- music_assistant_frontend/assets/AlbumDetails-731b34e1.js +0 -1
- music_assistant_frontend/assets/ArtistDetails-a0737215.js +0 -1
- music_assistant_frontend/assets/BrowseView-e4fdb0fb.js +0 -1
- music_assistant_frontend/assets/ItemsListing-4e050c6c.js +0 -1
- music_assistant_frontend/assets/ProviderDetails-896fd6c2.css +0 -1
- music_assistant_frontend/assets/ProviderDetails.vue_vue_type_script_setup_true_lang-89045d01.js +0 -8
- music_assistant_frontend/assets/RadioDetails-599cc18a.js +0 -1
- music_assistant_frontend/assets/TrackDetails-d141d89f.js +0 -1
- music_assistant_frontend/assets/VExpansionPanels-9f4a093e.js +0 -1
- music_assistant_frontend/assets/VSpacer-81b0afbb.js +0 -1
- {music_assistant_frontend-2.5.15.dist-info → music_assistant_frontend-2.6.0.dist-info}/LICENSE +0 -0
- {music_assistant_frontend-2.5.15.dist-info → music_assistant_frontend-2.6.0.dist-info}/WHEEL +0 -0
- {music_assistant_frontend-2.5.15.dist-info → music_assistant_frontend-2.6.0.dist-info}/top_level.txt +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
import{b5 as Ie,bj as _e,m as he,f as F,E as N,aR as fe,l as $,bk as rt,aS as ye,r as H,aW as z,aD as we,L,aF as I,bl as it,z as P,T as oe,C as V,a_ as Oe,aG as be,bm as $e,R as Ee,bn as Pe,b3 as st,K as q,a7 as lt,o as ct,au as qe,N as je,bg as ut,bo as ft,v as dt,A as ze,H as vt,I as mt,y as gt,a as ht,bp as yt,O as wt,S as bt,Q as Et,F as xt,D as pt,ay as St,bq as Ot,b0 as Ce,br as Pt,bi as Ae}from"./index-5eb5c9ac.js";import{ab as Te,ac as re,ad as ie,ae as ke,af as Re,m as Ct,a as At,N as Tt,j as kt,u as Rt,P as Mt,c as Ke,M as Lt,ag as Ft,K as Bt}from"./VListItem-b9a4cfb8.js";class j{constructor(n){let{x:t,y:o,width:a,height:r}=n;this.x=t,this.y=o,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 Me(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 Ye(e){return Array.isArray(e)?new j({x:e[0],y:e[1],width:0,height:0}):e.getBoundingClientRect()}function Ue(e){const n=e.getBoundingClientRect(),t=getComputedStyle(e),o=t.transform;if(o){let a,r,s,i,c;if(o.startsWith("matrix3d("))a=o.slice(9,-1).split(/, /),r=+a[0],s=+a[5],i=+a[12],c=+a[13];else if(o.startsWith("matrix("))a=o.slice(7,-1).split(/, /),r=+a[0],s=+a[3],i=+a[4],c=+a[5];else return new j(n);const f=t.transformOrigin,d=n.x-i-(1-r)*parseFloat(f),m=n.y-c-(1-s)*parseFloat(f.slice(f.indexOf(" ")+1)),y=r?n.width/r:e.offsetWidth+1,v=s?n.height/s:e.offsetHeight+1;return new j({x:d,y:m,width:y,height:v})}else return new j(n)}function Q(e,n,t){if(typeof e.animate>"u")return{finished:Promise.resolve()};let o;try{o=e.animate(n,t)}catch{return{finished:Promise.resolve()}}return typeof o.finished>"u"&&(o.finished=new Promise(a=>{o.onfinish=()=>{a(o)}})),o}const J=new WeakMap;function Dt(e,n){Object.keys(n).forEach(t=>{if(Ie(t)){const o=_e(t),a=J.get(e);if(n[t]==null)a==null||a.forEach(r=>{const[s,i]=r;s===o&&(e.removeEventListener(o,i),a.delete(r))});else if(!a||![...a].some(r=>r[0]===o&&r[1]===n[t])){e.addEventListener(o,n[t]);const r=a||new Set;r.add([o,n[t]]),J.has(e)||J.set(e,r)}}else n[t]==null?e.removeAttribute(t):e.setAttribute(t,n[t])})}function Vt(e,n){Object.keys(n).forEach(t=>{if(Ie(t)){const o=_e(t),a=J.get(e);a==null||a.forEach(r=>{const[s,i]=r;s===o&&(e.removeEventListener(o,i),a.delete(r))})}else e.removeAttribute(t)})}function Xe(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 de="cubic-bezier(0.4, 0, 0.2, 1)",Nt="cubic-bezier(0.0, 0, 0.2, 1)",Wt="cubic-bezier(0.4, 0, 1, 1)";function Ht(e){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;for(;e;){if(n?It(e):xe(e))return e;e=e.parentElement}return document.scrollingElement}function te(e,n){const t=[];if(n&&e&&!n.contains(e))return t;for(;e&&(xe(e)&&t.push(e),e!==n);)e=e.parentElement;return t}function xe(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}function It(e){if(!e||e.nodeType!==Node.ELEMENT_NODE)return!1;const n=window.getComputedStyle(e);return["scroll","auto"].includes(n.overflowY)}function _t(e){for(;e;){if(window.getComputedStyle(e).position==="fixed")return!0;e=e.offsetParent}return!1}const $t=$({target:[Object,Array]},"v-dialog-transition"),qt=he()({name:"VDialogTransition",props:$t(),setup(e,n){let{slots:t}=n;const o={onBeforeEnter(a){a.style.pointerEvents="none",a.style.visibility="hidden"},async onEnter(a,r){var y;await new Promise(v=>requestAnimationFrame(v)),await new Promise(v=>requestAnimationFrame(v)),a.style.visibility="";const{x:s,y:i,sx:c,sy:f,speed:d}=Fe(e.target,a),m=Q(a,[{transform:`translate(${s}px, ${i}px) scale(${c}, ${f})`,opacity:0},{}],{duration:225*d,easing:Nt});(y=Le(a))==null||y.forEach(v=>{Q(v,[{opacity:0},{opacity:0,offset:.33},{}],{duration:225*2*d,easing:de})}),m.finished.then(()=>r())},onAfterEnter(a){a.style.removeProperty("pointer-events")},onBeforeLeave(a){a.style.pointerEvents="none"},async onLeave(a,r){var y;await new Promise(v=>requestAnimationFrame(v));const{x:s,y:i,sx:c,sy:f,speed:d}=Fe(e.target,a);Q(a,[{},{transform:`translate(${s}px, ${i}px) scale(${c}, ${f})`,opacity:0}],{duration:125*d,easing:Wt}).finished.then(()=>r()),(y=Le(a))==null||y.forEach(v=>{Q(v,[{},{opacity:0,offset:.2},{opacity:0}],{duration:125*2*d,easing:de})})},onAfterLeave(a){a.style.removeProperty("pointer-events")}};return()=>e.target?F(fe,N({name:"dialog-transition"},o,{css:!1}),t):F(fe,{name:"dialog-transition"},t)}});function Le(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 Fe(e,n){const t=Ye(e),o=Ue(n),[a,r]=getComputedStyle(n).transformOrigin.split(" ").map(E=>parseFloat(E)),[s,i]=getComputedStyle(n).getPropertyValue("--v-overlay-anchor-origin").split(" ");let c=t.left+t.width/2;s==="left"||i==="left"?c-=t.width/2:(s==="right"||i==="right")&&(c+=t.width/2);let f=t.top+t.height/2;s==="top"||i==="top"?f-=t.height/2:(s==="bottom"||i==="bottom")&&(f+=t.height/2);const d=t.width/o.width,m=t.height/o.height,y=Math.max(1,d,m),v=d/y||0,h=m/y||0,l=o.width*o.height/(window.innerWidth*window.innerHeight),g=l>.12?Math.min(1.5,(l-.12)*10+1):1;return{x:c-(a+o.left),y:f-(r+o.top),sx:v,sy:h,speed:g}}const jt=$({closeDelay:[Number,String],openDelay:[Number,String]},"delay");function zt(e,n){let t=()=>{};function o(s){t==null||t();const i=Number(s?e.openDelay:e.closeDelay);return new Promise(c=>{t=rt(i,()=>{n==null||n(s),c(s)})})}function a(){return o(!0)}function r(){return o(!1)}return{clearDelay:t,runOpenDelay:a,runCloseDelay:r}}function Ge(){const n=ye("useScopeId").vnode.scopeId;return{scopeId:n?{[n]:""}:void 0}}function se(e,n){return{x:e.x+n.x,y:e.y+n.y}}function Kt(e,n){return{x:e.x-n.x,y:e.y-n.y}}function Be(e,n){if(e.side==="top"||e.side==="bottom"){const{side:t,align:o}=e,a=o==="left"?0:o==="center"?n.width/2:o==="right"?n.width:o,r=t==="top"?0:t==="bottom"?n.height:t;return se({x:a,y:r},n)}else if(e.side==="left"||e.side==="right"){const{side:t,align:o}=e,a=t==="left"?0:t==="right"?n.width:t,r=o==="top"?0:o==="center"?n.height/2:o==="bottom"?n.height:o;return se({x:a,y:r},n)}return se({x:n.width/2,y:n.height/2},n)}const Qe={static:Xt,connected:Qt},Yt=$({locationStrategy:{type:[String,Function],default:"static",validator:e=>typeof e=="function"||e in Qe},location:{type:String,default:"bottom"},origin:{type:String,default:"auto"},offset:[Number,String,Array]},"VOverlay-location-strategies");function Ut(e,n){const t=H({}),o=H();z&&we(()=>!!(n.isActive.value&&e.locationStrategy),r=>{var s,i;L(()=>e.locationStrategy,r),I(()=>{window.removeEventListener("resize",a),o.value=void 0}),window.addEventListener("resize",a,{passive:!0}),typeof e.locationStrategy=="function"?o.value=(s=e.locationStrategy(n,e,t))==null?void 0:s.updateLocation:o.value=(i=Qe[e.locationStrategy](n,e,t))==null?void 0:i.updateLocation});function a(r){var s;(s=o.value)==null||s.call(o,r)}return{contentStyles:t,updateLocation:o}}function Xt(){}function Gt(e,n){n?e.style.removeProperty("left"):e.style.removeProperty("right");const t=Ue(e);return n?t.x+=parseFloat(e.style.right||0):t.x-=parseFloat(e.style.left||0),t.y-=parseFloat(e.style.top||0),t}function Qt(e,n,t){(Array.isArray(e.target.value)||_t(e.target.value))&&Object.assign(t.value,{position:"fixed",top:0,[e.isRtl.value?"right":"left"]:0});const{preferredAnchor:a,preferredOrigin:r}=it(()=>{const h=Te(n.location,e.isRtl.value),l=n.origin==="overlap"?h:n.origin==="auto"?re(h):Te(n.origin,e.isRtl.value);return h.side===l.side&&h.align===ie(l).align?{preferredAnchor:ke(h),preferredOrigin:ke(l)}:{preferredAnchor:h,preferredOrigin:l}}),[s,i,c,f]=["minWidth","minHeight","maxWidth","maxHeight"].map(h=>P(()=>{const l=parseFloat(n[h]);return isNaN(l)?1/0:l})),d=P(()=>{if(Array.isArray(n.offset))return n.offset;if(typeof n.offset=="string"){const h=n.offset.split(" ").map(parseFloat);return h.length<2&&h.push(0),h}return typeof n.offset=="number"?[n.offset,0]:[0,0]});let m=!1;const y=new ResizeObserver(()=>{m&&v()});L([e.target,e.contentEl],(h,l)=>{let[g,E]=h,[w,x]=l;w&&!Array.isArray(w)&&y.unobserve(w),g&&!Array.isArray(g)&&y.observe(g),x&&y.unobserve(x),E&&y.observe(E)},{immediate:!0}),I(()=>{y.disconnect()});function v(){if(m=!1,requestAnimationFrame(()=>m=!0),!e.target.value||!e.contentEl.value)return;const h=Ye(e.target.value),l=Gt(e.contentEl.value,e.isRtl.value),g=te(e.contentEl.value),E=12;g.length||(g.push(document.documentElement),e.contentEl.value.style.top&&e.contentEl.value.style.left||(l.x-=parseFloat(document.documentElement.style.getPropertyValue("--v-body-scroll-x")||0),l.y-=parseFloat(document.documentElement.style.getPropertyValue("--v-body-scroll-y")||0)));const w=g.reduce((C,O)=>{const b=O.getBoundingClientRect(),p=new j({x:O===document.documentElement?0:b.x,y:O===document.documentElement?0:b.y,width:O.clientWidth,height:O.clientHeight});return C?new j({x:Math.max(C.left,p.left),y:Math.max(C.top,p.top),width:Math.min(C.right,p.right)-Math.max(C.left,p.left),height:Math.min(C.bottom,p.bottom)-Math.max(C.top,p.top)}):p},void 0);w.x+=E,w.y+=E,w.width-=E*2,w.height-=E*2;let x={anchor:a.value,origin:r.value};function R(C){const O=new j(l),b=Be(C.anchor,h),p=Be(C.origin,O);let{x:A,y:D}=Kt(b,p);switch(C.anchor.side){case"top":D-=d.value[0];break;case"bottom":D+=d.value[0];break;case"left":A-=d.value[0];break;case"right":A+=d.value[0];break}switch(C.anchor.align){case"top":D-=d.value[1];break;case"bottom":D+=d.value[1];break;case"left":A-=d.value[1];break;case"right":A+=d.value[1];break}return O.x+=A,O.y+=D,O.width=Math.min(O.width,c.value),O.height=Math.min(O.height,f.value),{overflows:Me(O,w),x:A,y:D}}let B=0,T=0;const u={x:0,y:0},M={x:!1,y:!1};let X=-1;for(;!(X++>10);){const{x:C,y:O,overflows:b}=R(x);B+=C,T+=O,l.x+=C,l.y+=O;{const p=Re(x.anchor),A=b.x.before||b.x.after,D=b.y.before||b.y.after;let K=!1;if(["x","y"].forEach(k=>{if(k==="x"&&A&&!M.x||k==="y"&&D&&!M.y){const _={anchor:{...x.anchor},origin:{...x.origin}},Y=k==="x"?p==="y"?ie:re:p==="y"?re:ie;_.anchor=Y(_.anchor),_.origin=Y(_.origin);const{overflows:U}=R(_);(U[k].before<=b[k].before&&U[k].after<=b[k].after||U[k].before+U[k].after<(b[k].before+b[k].after)/2)&&(x=_,K=M[k]=!0)}}),K)continue}b.x.before&&(B+=b.x.before,l.x+=b.x.before),b.x.after&&(B-=b.x.after,l.x-=b.x.after),b.y.before&&(T+=b.y.before,l.y+=b.y.before),b.y.after&&(T-=b.y.after,l.y-=b.y.after);{const p=Me(l,w);u.x=w.width-p.x.before-p.x.after,u.y=w.height-p.y.before-p.y.after,B+=p.x.before,l.x+=p.x.before,T+=p.y.before,l.y+=p.y.before}break}const ae=Re(x.anchor);return Object.assign(t.value,{"--v-overlay-anchor-origin":`${x.anchor.side} ${x.anchor.align}`,transformOrigin:`${x.origin.side} ${x.origin.align}`,top:V(le(T)),left:e.isRtl.value?void 0:V(le(B)),right:e.isRtl.value?V(le(-B)):void 0,minWidth:V(ae==="y"?Math.min(s.value,h.width):s.value),maxWidth:V(De(Oe(u.x,s.value===1/0?0:s.value,c.value))),maxHeight:V(De(Oe(u.y,i.value===1/0?0:i.value,f.value)))}),{available:u,contentBox:l}}return L(()=>[a.value,r.value,n.offset,n.minWidth,n.minHeight,n.maxWidth,n.maxHeight],()=>v()),oe(()=>{const h=v();if(!h)return;const{available:l,contentBox:g}=h;g.height>l.y&&requestAnimationFrame(()=>{v(),requestAnimationFrame(()=>{v()})})}),{updateLocation:v}}function le(e){return Math.round(e*devicePixelRatio)/devicePixelRatio}function De(e){return Math.ceil(e*devicePixelRatio)/devicePixelRatio}let ve=!0;const ne=[];function Zt(e){!ve||ne.length?(ne.push(e),me()):(ve=!1,e(),me())}let Ve=-1;function me(){cancelAnimationFrame(Ve),Ve=requestAnimationFrame(()=>{const e=ne.shift();e&&e(),ne.length?me():ve=!0})}const ee={none:null,close:tn,block:nn,reposition:on},Jt=$({scrollStrategy:{type:[String,Function],default:"block",validator:e=>typeof e=="function"||e in ee}},"VOverlay-scroll-strategies");function en(e,n){if(!z)return;let t;be(async()=>{t==null||t.stop(),n.isActive.value&&e.scrollStrategy&&(t=$e(),await new Promise(o=>setTimeout(o)),t.active&&t.run(()=>{var o;typeof e.scrollStrategy=="function"?e.scrollStrategy(n,e,t):(o=ee[e.scrollStrategy])==null||o.call(ee,n,e,t)}))}),I(()=>{t==null||t.stop()})}function tn(e){function n(t){e.isActive.value=!1}Ze(e.targetEl.value??e.contentEl.value,n)}function nn(e,n){var s;const t=(s=e.root.value)==null?void 0:s.offsetParent,o=[...new Set([...te(e.targetEl.value,n.contained?t:void 0),...te(e.contentEl.value,n.contained?t:void 0)])].filter(i=>!i.classList.contains("v-overlay-scroll-blocked")),a=window.innerWidth-document.documentElement.offsetWidth,r=(i=>xe(i)&&i)(t||document.documentElement);r&&e.root.value.classList.add("v-overlay--scroll-blocked"),o.forEach((i,c)=>{i.style.setProperty("--v-body-scroll-x",V(-i.scrollLeft)),i.style.setProperty("--v-body-scroll-y",V(-i.scrollTop)),i!==document.documentElement&&i.style.setProperty("--v-scrollbar-offset",V(a)),i.classList.add("v-overlay-scroll-blocked")}),I(()=>{o.forEach((i,c)=>{const f=parseFloat(i.style.getPropertyValue("--v-body-scroll-x")),d=parseFloat(i.style.getPropertyValue("--v-body-scroll-y")),m=i.style.scrollBehavior;i.style.scrollBehavior="auto",i.style.removeProperty("--v-body-scroll-x"),i.style.removeProperty("--v-body-scroll-y"),i.style.removeProperty("--v-scrollbar-offset"),i.classList.remove("v-overlay-scroll-blocked"),i.scrollLeft=-f,i.scrollTop=-d,i.style.scrollBehavior=m}),r&&e.root.value.classList.remove("v-overlay--scroll-blocked")})}function on(e,n,t){let o=!1,a=-1,r=-1;function s(i){Zt(()=>{var d,m;const c=performance.now();(m=(d=e.updateLocation).value)==null||m.call(d,i),o=(performance.now()-c)/(1e3/60)>2})}r=(typeof requestIdleCallback>"u"?i=>i():requestIdleCallback)(()=>{t.run(()=>{Ze(e.targetEl.value??e.contentEl.value,i=>{o?(cancelAnimationFrame(a),a=requestAnimationFrame(()=>{a=requestAnimationFrame(()=>{s(i)})})):s(i)})})}),I(()=>{typeof cancelIdleCallback<"u"&&cancelIdleCallback(r),cancelAnimationFrame(a)})}function Ze(e,n){const t=[document,...te(e)];t.forEach(o=>{o.addEventListener("scroll",n,{passive:!0})}),I(()=>{t.forEach(o=>{o.removeEventListener("scroll",n)})})}const ge=Symbol.for("vuetify:v-menu"),an=$({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,...jt()},"VOverlay-activator");function rn(e,n){let{isActive:t,isTop:o}=n;const a=ye("useActivator"),r=H();let s=!1,i=!1,c=!0;const f=P(()=>e.openOnFocus||e.openOnFocus==null&&e.openOnHover),d=P(()=>e.openOnClick||e.openOnClick==null&&!e.openOnHover&&!f.value),{runOpenDelay:m,runCloseDelay:y}=zt(e,u=>{u===(e.openOnHover&&s||f.value&&i)&&!(e.openOnHover&&t.value&&!o.value)&&(t.value!==u&&(c=!0),t.value=u)}),v=H(),h={onClick:u=>{u.stopPropagation(),r.value=u.currentTarget||u.target,t.value||(v.value=[u.clientX,u.clientY]),t.value=!t.value},onMouseenter:u=>{var M;(M=u.sourceCapabilities)!=null&&M.firesTouchEvents||(s=!0,r.value=u.currentTarget||u.target,m())},onMouseleave:u=>{s=!1,y()},onFocus:u=>{st(u.target,":focus-visible")!==!1&&(i=!0,u.stopPropagation(),r.value=u.currentTarget||u.target,m())},onBlur:u=>{i=!1,u.stopPropagation(),y()}},l=P(()=>{const u={};return d.value&&(u.onClick=h.onClick),e.openOnHover&&(u.onMouseenter=h.onMouseenter,u.onMouseleave=h.onMouseleave),f.value&&(u.onFocus=h.onFocus,u.onBlur=h.onBlur),u}),g=P(()=>{const u={};if(e.openOnHover&&(u.onMouseenter=()=>{s=!0,m()},u.onMouseleave=()=>{s=!1,y()}),f.value&&(u.onFocusin=()=>{i=!0,m()},u.onFocusout=()=>{i=!1,y()}),e.closeOnContentClick){const M=Ee(ge,null);u.onClick=()=>{t.value=!1,M==null||M.closeParents()}}return u}),E=P(()=>{const u={};return e.openOnHover&&(u.onMouseenter=()=>{c&&(s=!0,c=!1,m())},u.onMouseleave=()=>{s=!1,y()}),u});L(o,u=>{u&&(e.openOnHover&&!s&&(!f.value||!i)||f.value&&!i&&(!e.openOnHover||!s))&&(t.value=!1)}),L(t,u=>{u||setTimeout(()=>{v.value=void 0})},{flush:"post"});const w=Pe();be(()=>{w.value&&oe(()=>{r.value=w.el})});const x=Pe(),R=P(()=>e.target==="cursor"&&v.value?v.value:x.value?x.el:Je(e.target,a)||r.value),B=P(()=>Array.isArray(R.value)?void 0:R.value);let T;return L(()=>!!e.activator,u=>{u&&z?(T=$e(),T.run(()=>{sn(e,a,{activatorEl:r,activatorEvents:l})})):T&&T.stop()},{flush:"post",immediate:!0}),I(()=>{T==null||T.stop()}),{activatorEl:r,activatorRef:w,target:R,targetEl:B,targetRef:x,activatorEvents:l,contentEvents:g,scrimEvents:E}}function sn(e,n,t){let{activatorEl:o,activatorEvents:a}=t;L(()=>e.activator,(c,f)=>{if(f&&c!==f){const d=i(f);d&&s(d)}c&&oe(()=>r())},{immediate:!0}),L(()=>e.activatorProps,()=>{r()}),I(()=>{s()});function r(){let c=arguments.length>0&&arguments[0]!==void 0?arguments[0]:i(),f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:e.activatorProps;c&&Dt(c,N(a.value,f))}function s(){let c=arguments.length>0&&arguments[0]!==void 0?arguments[0]:i(),f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:e.activatorProps;c&&Vt(c,N(a.value,f))}function i(){let c=arguments.length>0&&arguments[0]!==void 0?arguments[0]:e.activator;const f=Je(c,n);return o.value=(f==null?void 0:f.nodeType)===Node.ELEMENT_NODE?f:void 0,o.value}}function Je(e,n){var o,a;if(!e)return;let t;if(e==="parent"){let r=(a=(o=n==null?void 0:n.proxy)==null?void 0:o.$el)==null?void 0:a.parentNode;for(;r!=null&&r.hasAttribute("data-no-activator");)r=r.parentNode;t=r}else typeof e=="string"?t=document.querySelector(e):"$el"in e?t=e.$el:t=e;return t}function ln(){if(!z)return q(!1);const{ssr:e}=lt();if(e){const n=q(!1);return ct(()=>{n.value=!0}),n}else return q(!0)}const cn=$({eager:Boolean},"lazy");function un(e,n){const t=q(!1),o=P(()=>t.value||e.eager||n.value);L(n,()=>t.value=!0);function a(){e.eager||(t.value=!1)}return{isBooted:t,hasContent:o,onAfterLeave:a}}const Ne=Symbol.for("vuetify:stack"),G=qe([]);function fn(e,n,t){const o=ye("useStack"),a=!t,r=Ee(Ne,void 0),s=qe({activeChildren:new Set});je(Ne,s);const i=q(+n.value);we(e,()=>{var m;const d=(m=G.at(-1))==null?void 0:m[1];i.value=d?d+10:+n.value,a&&G.push([o.uid,i.value]),r==null||r.activeChildren.add(o.uid),I(()=>{if(a){const y=ft(G).findIndex(v=>v[0]===o.uid);G.splice(y,1)}r==null||r.activeChildren.delete(o.uid)})});const c=q(!0);a&&be(()=>{var m;const d=((m=G.at(-1))==null?void 0:m[0])===o.uid;setTimeout(()=>c.value=d)});const f=P(()=>!s.activeChildren.size);return{globalTop:ut(c),localTop:f,stackStyles:P(()=>({zIndex:i.value}))}}function dn(e){return{teleportTarget:P(()=>{const t=e.value;if(t===!0||!z)return;const o=t===!1?document.body:typeof t=="string"?document.querySelector(t):t;if(o==null)return;let a=o.querySelector(":scope > .v-overlay-container");return a||(a=document.createElement("div"),a.className="v-overlay-container",o.appendChild(a)),a})}}function vn(){return!0}function et(e,n,t){if(!e||tt(e,t)===!1)return!1;const o=Xe(n);if(typeof ShadowRoot<"u"&&o instanceof ShadowRoot&&o.host===e.target)return!1;const a=(typeof t.value=="object"&&t.value.include||(()=>[]))();return a.push(n),!a.some(r=>r==null?void 0:r.contains(e.target))}function tt(e,n){return(typeof n.value=="object"&&n.value.closeConditional||vn)(e)}function mn(e,n,t){const o=typeof t.value=="function"?t.value:t.value.handler;n._clickOutside.lastMousedownWasOutside&&et(e,n,t)&&setTimeout(()=>{tt(e,t)&&o&&o(e)},0)}function We(e,n){const t=Xe(e);n(document),typeof ShadowRoot<"u"&&t instanceof ShadowRoot&&n(t)}const gn={mounted(e,n){const t=a=>mn(a,e,n),o=a=>{e._clickOutside.lastMousedownWasOutside=et(a,e,n)};We(e,a=>{a.addEventListener("click",t,!0),a.addEventListener("mousedown",o,!0)}),e._clickOutside||(e._clickOutside={lastMousedownWasOutside:!1}),e._clickOutside[n.instance.$.uid]={onClick:t,onMousedown:o}},unmounted(e,n){e._clickOutside&&(We(e,t=>{var r;if(!t||!((r=e._clickOutside)!=null&&r[n.instance.$.uid]))return;const{onClick:o,onMousedown:a}=e._clickOutside[n.instance.$.uid];t.removeEventListener("click",o,!0),t.removeEventListener("mousedown",a,!0)}),delete e._clickOutside[n.instance.$.uid])}};function hn(e){const{modelValue:n,color:t,...o}=e;return F(fe,{name:"fade-transition",appear:!0},{default:()=>[e.modelValue&&F("div",N({class:["v-overlay__scrim",e.color.backgroundColorClasses.value],style:e.color.backgroundColorStyles.value},o),null)]})}const nt=$({absolute:Boolean,attach:[Boolean,String,Object],closeOnBack:{type:Boolean,default:!0},contained:Boolean,contentClass:null,contentProps:null,disabled:Boolean,opacity:[Number,String],noClickAnimation:Boolean,modelValue:Boolean,persistent:Boolean,scrim:{type:[Boolean,String],default:!0},zIndex:{type:[Number,String],default:2e3},...an(),...Ct(),...At(),...cn(),...Yt(),...Jt(),...dt(),...Tt()},"VOverlay"),He=he()({name:"VOverlay",directives:{ClickOutside:gn},inheritAttrs:!1,props:{_disableGlobalStack:Boolean,...nt()},emits:{"click:outside":e=>!0,"update:modelValue":e=>!0,afterEnter:()=>!0,afterLeave:()=>!0},setup(e,n){let{slots:t,attrs:o,emit:a}=n;const r=ze(e,"modelValue"),s=P({get:()=>r.value,set:S=>{S&&e.disabled||(r.value=S)}}),{themeClasses:i}=vt(e),{rtlClasses:c,isRtl:f}=mt(),{hasContent:d,onAfterLeave:m}=un(e,s),y=kt(P(()=>typeof e.scrim=="string"?e.scrim:null)),{globalTop:v,localTop:h,stackStyles:l}=fn(s,gt(e,"zIndex"),e._disableGlobalStack),{activatorEl:g,activatorRef:E,target:w,targetEl:x,targetRef:R,activatorEvents:B,contentEvents:T,scrimEvents:u}=rn(e,{isActive:s,isTop:h}),M=P(()=>{var S;return(S=g==null?void 0:g.value)==null?void 0:S.getRootNode()}),{teleportTarget:X}=dn(P(()=>e.attach||e.contained||M.value instanceof ShadowRoot?M.value:!1)),{dimensionStyles:ae}=Rt(e),C=ln(),{scopeId:O}=Ge();L(()=>e.disabled,S=>{S&&(s.value=!1)});const b=H(),p=H(),A=H(),{contentStyles:D,updateLocation:K}=Ut(e,{isRtl:f,contentEl:A,target:w,isActive:s});en(e,{root:b,contentEl:A,targetEl:x,isActive:s,updateLocation:K});function k(S){a("click:outside",S),e.persistent?Z():s.value=!1}function _(S){return s.value&&v.value&&(!e.scrim||S.target===p.value)}z&&L(s,S=>{S?window.addEventListener("keydown",Y):window.removeEventListener("keydown",Y)},{immediate:!0}),ht(()=>{z&&window.removeEventListener("keydown",Y)});function Y(S){var W,Se;S.key==="Escape"&&v.value&&(e.persistent?Z():(s.value=!1,(W=A.value)!=null&&W.contains(document.activeElement)&&((Se=g.value)==null||Se.focus())))}const U=Mt();we(()=>e.closeOnBack,()=>{Ft(U,S=>{v.value&&s.value?(S(!1),e.persistent?Z():s.value=!1):S()})});const pe=H();L(()=>s.value&&(e.absolute||e.contained)&&X.value==null,S=>{if(S){const W=Ht(b.value);W&&W!==document.scrollingElement&&(pe.value=W.scrollTop)}});function Z(){e.noClickAnimation||A.value&&Q(A.value,[{transformOrigin:"center"},{transform:"scale(1.03)"},{transformOrigin:"center"}],{duration:150,easing:de})}function ot(){a("afterEnter")}function at(){m(),a("afterLeave")}return Ke(()=>{var S;return F(xt,null,[(S=t.activator)==null?void 0:S.call(t,{isActive:s.value,targetRef:R,props:N({ref:E},B.value,e.activatorProps)}),C.value&&d.value&&F(yt,{disabled:!X.value,to:X.value},{default:()=>[F("div",N({class:["v-overlay",{"v-overlay--absolute":e.absolute||e.contained,"v-overlay--active":s.value,"v-overlay--contained":e.contained},i.value,c.value,e.class],style:[l.value,{"--v-overlay-opacity":e.opacity,top:V(pe.value)},e.style],ref:b},O,o),[F(hn,N({color:y,modelValue:s.value&&!!e.scrim,ref:p},u.value),null),F(Lt,{appear:!0,persisted:!0,transition:e.transition,target:w.value,onAfterEnter:ot,onAfterLeave:at},{default:()=>{var W;return[wt(F("div",N({ref:A,class:["v-overlay__content",e.contentClass],style:[ae.value,D.value]},T.value,e.contentProps),[(W=t.default)==null?void 0:W.call(t,{isActive:s})]),[[bt,s.value],[Et("click-outside"),{handler:k,closeConditional:_,include:()=>[g.value]}]])]}})])]})])}),{activatorEl:g,scrimEl:p,target:w,animateClick:Z,contentEl:A,globalTop:v,localTop:h,updateLocation:K}}}),ce=Symbol("Forwarded refs");function ue(e,n){let t=e;for(;t;){const o=Reflect.getOwnPropertyDescriptor(t,n);if(o)return o;t=Object.getPrototypeOf(t)}}function yn(e){for(var n=arguments.length,t=new Array(n>1?n-1:0),o=1;o<n;o++)t[o-1]=arguments[o];return e[ce]=t,new Proxy(e,{get(a,r){if(Reflect.has(a,r))return Reflect.get(a,r);if(!(typeof r=="symbol"||r.startsWith("$")||r.startsWith("__"))){for(const s of t)if(s.value&&Reflect.has(s.value,r)){const i=Reflect.get(s.value,r);return typeof i=="function"?i.bind(s.value):i}}},has(a,r){if(Reflect.has(a,r))return!0;if(typeof r=="symbol"||r.startsWith("$")||r.startsWith("__"))return!1;for(const s of t)if(s.value&&Reflect.has(s.value,r))return!0;return!1},set(a,r,s){if(Reflect.has(a,r))return Reflect.set(a,r,s);if(typeof r=="symbol"||r.startsWith("$")||r.startsWith("__"))return!1;for(const i of t)if(i.value&&Reflect.has(i.value,r))return Reflect.set(i.value,r,s);return!1},getOwnPropertyDescriptor(a,r){var i;const s=Reflect.getOwnPropertyDescriptor(a,r);if(s)return s;if(!(typeof r=="symbol"||r.startsWith("$")||r.startsWith("__"))){for(const c of t){if(!c.value)continue;const f=ue(c.value,r)??("_"in c.value?ue((i=c.value._)==null?void 0:i.setupState,r):void 0);if(f)return f}for(const c of t){const f=c.value&&c.value[ce];if(!f)continue;const d=f.slice();for(;d.length;){const m=d.shift(),y=ue(m.value,r);if(y)return y;const v=m.value&&m.value[ce];v&&d.push(...v)}}}}})}const wn=$({id:String,...pt(nt({closeDelay:250,closeOnContentClick:!0,locationStrategy:"connected",openDelay:300,scrim:!1,scrollStrategy:"reposition",transition:{component:qt}}),["absolute"])},"VMenu"),xn=he()({name:"VMenu",props:wn(),emits:{"update:modelValue":e=>!0},setup(e,n){let{slots:t}=n;const o=ze(e,"modelValue"),{scopeId:a}=Ge(),r=St(),s=P(()=>e.id||`v-menu-${r}`),i=H(),c=Ee(ge,null),f=q(0);je(ge,{register(){++f.value},unregister(){--f.value},closeParents(l){setTimeout(()=>{!f.value&&!e.persistent&&(l==null||l&&!Ot(l,i.value.contentEl))&&(o.value=!1,c==null||c.closeParents())},40)}});async function d(l){var w,x,R;const g=l.relatedTarget,E=l.target;await oe(),o.value&&g!==E&&((w=i.value)!=null&&w.contentEl)&&((x=i.value)!=null&&x.globalTop)&&![document,i.value.contentEl].includes(E)&&!i.value.contentEl.contains(E)&&((R=Ce(i.value.contentEl)[0])==null||R.focus())}L(o,l=>{l?(c==null||c.register(),document.addEventListener("focusin",d,{once:!0})):(c==null||c.unregister(),document.removeEventListener("focusin",d))});function m(l){c==null||c.closeParents(l)}function y(l){var g,E,w;if(!e.disabled)if(l.key==="Tab"||l.key==="Enter"&&!e.closeOnContentClick){if(l.key==="Enter"&&(l.target instanceof HTMLTextAreaElement||l.target instanceof HTMLInputElement&&l.target.closest("form")))return;l.key==="Enter"&&l.preventDefault(),Pt(Ce((g=i.value)==null?void 0:g.contentEl,!1),l.shiftKey?"prev":"next",R=>R.tabIndex>=0)||(o.value=!1,(w=(E=i.value)==null?void 0:E.activatorEl)==null||w.focus())}else["Enter"," "].includes(l.key)&&e.closeOnContentClick&&(o.value=!1,c==null||c.closeParents())}function v(l){var E;if(e.disabled)return;const g=(E=i.value)==null?void 0:E.contentEl;g&&o.value?l.key==="ArrowDown"?(l.preventDefault(),Ae(g,"next")):l.key==="ArrowUp"&&(l.preventDefault(),Ae(g,"prev")):["ArrowDown","ArrowUp"].includes(l.key)&&(o.value=!0,l.preventDefault(),setTimeout(()=>setTimeout(()=>v(l))))}const h=P(()=>N({"aria-haspopup":"menu","aria-expanded":String(o.value),"aria-owns":s.value,onKeydown:v},e.activatorProps));return Ke(()=>{const l=He.filterProps(e);return F(He,N({ref:i,id:s.value,class:["v-menu",e.class],style:e.style},l,{modelValue:o.value,"onUpdate:modelValue":g=>o.value=g,absolute:!0,activatorProps:h.value,"onClick:outside":m,onKeydown:y},a),{activator:t.activator,default:function(){for(var g=arguments.length,E=new Array(g),w=0;w<g;w++)E[w]=arguments[w];return F(Bt,{root:"VMenu"},{default:()=>{var x;return[(x=t.default)==null?void 0:x.call(t,...E)]}})}})}),yn({id:s,ΨopenChildren:f},i)}});export{xn as V,Q as a,Ge as b,He as c,nt as d,jt as e,yn as f,zt as g,qt as h,Ht as i,cn as m,Ue as n,de as s,un as u};
|
|
1
|
+
import{b5 as Ie,bj as _e,m as he,f as F,E as N,aR as fe,l as $,bk as rt,aS as ye,r as H,aW as z,aD as we,L,aF as I,bl as it,z as P,T as oe,C as V,a_ as Oe,aG as be,bm as $e,R as Ee,bn as Pe,b3 as st,K as q,a7 as lt,o as ct,au as qe,N as je,bg as ut,bo as ft,v as dt,A as ze,H as vt,I as mt,y as gt,a as ht,bp as yt,O as wt,S as bt,Q as Et,F as xt,D as pt,ay as St,bq as Ot,b0 as Ce,br as Pt,bi as Ae}from"./index-9299e1c1.js";import{ab as Te,ac as re,ad as ie,ae as ke,af as Re,m as Ct,a as At,N as Tt,j as kt,u as Rt,P as Mt,c as Ke,M as Lt,ag as Ft,K as Bt}from"./VListItem-748fc7af.js";class j{constructor(n){let{x:t,y:o,width:a,height:r}=n;this.x=t,this.y=o,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 Me(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 Ye(e){return Array.isArray(e)?new j({x:e[0],y:e[1],width:0,height:0}):e.getBoundingClientRect()}function Ue(e){const n=e.getBoundingClientRect(),t=getComputedStyle(e),o=t.transform;if(o){let a,r,s,i,c;if(o.startsWith("matrix3d("))a=o.slice(9,-1).split(/, /),r=+a[0],s=+a[5],i=+a[12],c=+a[13];else if(o.startsWith("matrix("))a=o.slice(7,-1).split(/, /),r=+a[0],s=+a[3],i=+a[4],c=+a[5];else return new j(n);const f=t.transformOrigin,d=n.x-i-(1-r)*parseFloat(f),m=n.y-c-(1-s)*parseFloat(f.slice(f.indexOf(" ")+1)),y=r?n.width/r:e.offsetWidth+1,v=s?n.height/s:e.offsetHeight+1;return new j({x:d,y:m,width:y,height:v})}else return new j(n)}function Q(e,n,t){if(typeof e.animate>"u")return{finished:Promise.resolve()};let o;try{o=e.animate(n,t)}catch{return{finished:Promise.resolve()}}return typeof o.finished>"u"&&(o.finished=new Promise(a=>{o.onfinish=()=>{a(o)}})),o}const J=new WeakMap;function Dt(e,n){Object.keys(n).forEach(t=>{if(Ie(t)){const o=_e(t),a=J.get(e);if(n[t]==null)a==null||a.forEach(r=>{const[s,i]=r;s===o&&(e.removeEventListener(o,i),a.delete(r))});else if(!a||![...a].some(r=>r[0]===o&&r[1]===n[t])){e.addEventListener(o,n[t]);const r=a||new Set;r.add([o,n[t]]),J.has(e)||J.set(e,r)}}else n[t]==null?e.removeAttribute(t):e.setAttribute(t,n[t])})}function Vt(e,n){Object.keys(n).forEach(t=>{if(Ie(t)){const o=_e(t),a=J.get(e);a==null||a.forEach(r=>{const[s,i]=r;s===o&&(e.removeEventListener(o,i),a.delete(r))})}else e.removeAttribute(t)})}function Xe(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 de="cubic-bezier(0.4, 0, 0.2, 1)",Nt="cubic-bezier(0.0, 0, 0.2, 1)",Wt="cubic-bezier(0.4, 0, 1, 1)";function Ht(e){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;for(;e;){if(n?It(e):xe(e))return e;e=e.parentElement}return document.scrollingElement}function te(e,n){const t=[];if(n&&e&&!n.contains(e))return t;for(;e&&(xe(e)&&t.push(e),e!==n);)e=e.parentElement;return t}function xe(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}function It(e){if(!e||e.nodeType!==Node.ELEMENT_NODE)return!1;const n=window.getComputedStyle(e);return["scroll","auto"].includes(n.overflowY)}function _t(e){for(;e;){if(window.getComputedStyle(e).position==="fixed")return!0;e=e.offsetParent}return!1}const $t=$({target:[Object,Array]},"v-dialog-transition"),qt=he()({name:"VDialogTransition",props:$t(),setup(e,n){let{slots:t}=n;const o={onBeforeEnter(a){a.style.pointerEvents="none",a.style.visibility="hidden"},async onEnter(a,r){var y;await new Promise(v=>requestAnimationFrame(v)),await new Promise(v=>requestAnimationFrame(v)),a.style.visibility="";const{x:s,y:i,sx:c,sy:f,speed:d}=Fe(e.target,a),m=Q(a,[{transform:`translate(${s}px, ${i}px) scale(${c}, ${f})`,opacity:0},{}],{duration:225*d,easing:Nt});(y=Le(a))==null||y.forEach(v=>{Q(v,[{opacity:0},{opacity:0,offset:.33},{}],{duration:225*2*d,easing:de})}),m.finished.then(()=>r())},onAfterEnter(a){a.style.removeProperty("pointer-events")},onBeforeLeave(a){a.style.pointerEvents="none"},async onLeave(a,r){var y;await new Promise(v=>requestAnimationFrame(v));const{x:s,y:i,sx:c,sy:f,speed:d}=Fe(e.target,a);Q(a,[{},{transform:`translate(${s}px, ${i}px) scale(${c}, ${f})`,opacity:0}],{duration:125*d,easing:Wt}).finished.then(()=>r()),(y=Le(a))==null||y.forEach(v=>{Q(v,[{},{opacity:0,offset:.2},{opacity:0}],{duration:125*2*d,easing:de})})},onAfterLeave(a){a.style.removeProperty("pointer-events")}};return()=>e.target?F(fe,N({name:"dialog-transition"},o,{css:!1}),t):F(fe,{name:"dialog-transition"},t)}});function Le(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 Fe(e,n){const t=Ye(e),o=Ue(n),[a,r]=getComputedStyle(n).transformOrigin.split(" ").map(E=>parseFloat(E)),[s,i]=getComputedStyle(n).getPropertyValue("--v-overlay-anchor-origin").split(" ");let c=t.left+t.width/2;s==="left"||i==="left"?c-=t.width/2:(s==="right"||i==="right")&&(c+=t.width/2);let f=t.top+t.height/2;s==="top"||i==="top"?f-=t.height/2:(s==="bottom"||i==="bottom")&&(f+=t.height/2);const d=t.width/o.width,m=t.height/o.height,y=Math.max(1,d,m),v=d/y||0,h=m/y||0,l=o.width*o.height/(window.innerWidth*window.innerHeight),g=l>.12?Math.min(1.5,(l-.12)*10+1):1;return{x:c-(a+o.left),y:f-(r+o.top),sx:v,sy:h,speed:g}}const jt=$({closeDelay:[Number,String],openDelay:[Number,String]},"delay");function zt(e,n){let t=()=>{};function o(s){t==null||t();const i=Number(s?e.openDelay:e.closeDelay);return new Promise(c=>{t=rt(i,()=>{n==null||n(s),c(s)})})}function a(){return o(!0)}function r(){return o(!1)}return{clearDelay:t,runOpenDelay:a,runCloseDelay:r}}function Ge(){const n=ye("useScopeId").vnode.scopeId;return{scopeId:n?{[n]:""}:void 0}}function se(e,n){return{x:e.x+n.x,y:e.y+n.y}}function Kt(e,n){return{x:e.x-n.x,y:e.y-n.y}}function Be(e,n){if(e.side==="top"||e.side==="bottom"){const{side:t,align:o}=e,a=o==="left"?0:o==="center"?n.width/2:o==="right"?n.width:o,r=t==="top"?0:t==="bottom"?n.height:t;return se({x:a,y:r},n)}else if(e.side==="left"||e.side==="right"){const{side:t,align:o}=e,a=t==="left"?0:t==="right"?n.width:t,r=o==="top"?0:o==="center"?n.height/2:o==="bottom"?n.height:o;return se({x:a,y:r},n)}return se({x:n.width/2,y:n.height/2},n)}const Qe={static:Xt,connected:Qt},Yt=$({locationStrategy:{type:[String,Function],default:"static",validator:e=>typeof e=="function"||e in Qe},location:{type:String,default:"bottom"},origin:{type:String,default:"auto"},offset:[Number,String,Array]},"VOverlay-location-strategies");function Ut(e,n){const t=H({}),o=H();z&&we(()=>!!(n.isActive.value&&e.locationStrategy),r=>{var s,i;L(()=>e.locationStrategy,r),I(()=>{window.removeEventListener("resize",a),o.value=void 0}),window.addEventListener("resize",a,{passive:!0}),typeof e.locationStrategy=="function"?o.value=(s=e.locationStrategy(n,e,t))==null?void 0:s.updateLocation:o.value=(i=Qe[e.locationStrategy](n,e,t))==null?void 0:i.updateLocation});function a(r){var s;(s=o.value)==null||s.call(o,r)}return{contentStyles:t,updateLocation:o}}function Xt(){}function Gt(e,n){n?e.style.removeProperty("left"):e.style.removeProperty("right");const t=Ue(e);return n?t.x+=parseFloat(e.style.right||0):t.x-=parseFloat(e.style.left||0),t.y-=parseFloat(e.style.top||0),t}function Qt(e,n,t){(Array.isArray(e.target.value)||_t(e.target.value))&&Object.assign(t.value,{position:"fixed",top:0,[e.isRtl.value?"right":"left"]:0});const{preferredAnchor:a,preferredOrigin:r}=it(()=>{const h=Te(n.location,e.isRtl.value),l=n.origin==="overlap"?h:n.origin==="auto"?re(h):Te(n.origin,e.isRtl.value);return h.side===l.side&&h.align===ie(l).align?{preferredAnchor:ke(h),preferredOrigin:ke(l)}:{preferredAnchor:h,preferredOrigin:l}}),[s,i,c,f]=["minWidth","minHeight","maxWidth","maxHeight"].map(h=>P(()=>{const l=parseFloat(n[h]);return isNaN(l)?1/0:l})),d=P(()=>{if(Array.isArray(n.offset))return n.offset;if(typeof n.offset=="string"){const h=n.offset.split(" ").map(parseFloat);return h.length<2&&h.push(0),h}return typeof n.offset=="number"?[n.offset,0]:[0,0]});let m=!1;const y=new ResizeObserver(()=>{m&&v()});L([e.target,e.contentEl],(h,l)=>{let[g,E]=h,[w,x]=l;w&&!Array.isArray(w)&&y.unobserve(w),g&&!Array.isArray(g)&&y.observe(g),x&&y.unobserve(x),E&&y.observe(E)},{immediate:!0}),I(()=>{y.disconnect()});function v(){if(m=!1,requestAnimationFrame(()=>m=!0),!e.target.value||!e.contentEl.value)return;const h=Ye(e.target.value),l=Gt(e.contentEl.value,e.isRtl.value),g=te(e.contentEl.value),E=12;g.length||(g.push(document.documentElement),e.contentEl.value.style.top&&e.contentEl.value.style.left||(l.x-=parseFloat(document.documentElement.style.getPropertyValue("--v-body-scroll-x")||0),l.y-=parseFloat(document.documentElement.style.getPropertyValue("--v-body-scroll-y")||0)));const w=g.reduce((C,O)=>{const b=O.getBoundingClientRect(),p=new j({x:O===document.documentElement?0:b.x,y:O===document.documentElement?0:b.y,width:O.clientWidth,height:O.clientHeight});return C?new j({x:Math.max(C.left,p.left),y:Math.max(C.top,p.top),width:Math.min(C.right,p.right)-Math.max(C.left,p.left),height:Math.min(C.bottom,p.bottom)-Math.max(C.top,p.top)}):p},void 0);w.x+=E,w.y+=E,w.width-=E*2,w.height-=E*2;let x={anchor:a.value,origin:r.value};function R(C){const O=new j(l),b=Be(C.anchor,h),p=Be(C.origin,O);let{x:A,y:D}=Kt(b,p);switch(C.anchor.side){case"top":D-=d.value[0];break;case"bottom":D+=d.value[0];break;case"left":A-=d.value[0];break;case"right":A+=d.value[0];break}switch(C.anchor.align){case"top":D-=d.value[1];break;case"bottom":D+=d.value[1];break;case"left":A-=d.value[1];break;case"right":A+=d.value[1];break}return O.x+=A,O.y+=D,O.width=Math.min(O.width,c.value),O.height=Math.min(O.height,f.value),{overflows:Me(O,w),x:A,y:D}}let B=0,T=0;const u={x:0,y:0},M={x:!1,y:!1};let X=-1;for(;!(X++>10);){const{x:C,y:O,overflows:b}=R(x);B+=C,T+=O,l.x+=C,l.y+=O;{const p=Re(x.anchor),A=b.x.before||b.x.after,D=b.y.before||b.y.after;let K=!1;if(["x","y"].forEach(k=>{if(k==="x"&&A&&!M.x||k==="y"&&D&&!M.y){const _={anchor:{...x.anchor},origin:{...x.origin}},Y=k==="x"?p==="y"?ie:re:p==="y"?re:ie;_.anchor=Y(_.anchor),_.origin=Y(_.origin);const{overflows:U}=R(_);(U[k].before<=b[k].before&&U[k].after<=b[k].after||U[k].before+U[k].after<(b[k].before+b[k].after)/2)&&(x=_,K=M[k]=!0)}}),K)continue}b.x.before&&(B+=b.x.before,l.x+=b.x.before),b.x.after&&(B-=b.x.after,l.x-=b.x.after),b.y.before&&(T+=b.y.before,l.y+=b.y.before),b.y.after&&(T-=b.y.after,l.y-=b.y.after);{const p=Me(l,w);u.x=w.width-p.x.before-p.x.after,u.y=w.height-p.y.before-p.y.after,B+=p.x.before,l.x+=p.x.before,T+=p.y.before,l.y+=p.y.before}break}const ae=Re(x.anchor);return Object.assign(t.value,{"--v-overlay-anchor-origin":`${x.anchor.side} ${x.anchor.align}`,transformOrigin:`${x.origin.side} ${x.origin.align}`,top:V(le(T)),left:e.isRtl.value?void 0:V(le(B)),right:e.isRtl.value?V(le(-B)):void 0,minWidth:V(ae==="y"?Math.min(s.value,h.width):s.value),maxWidth:V(De(Oe(u.x,s.value===1/0?0:s.value,c.value))),maxHeight:V(De(Oe(u.y,i.value===1/0?0:i.value,f.value)))}),{available:u,contentBox:l}}return L(()=>[a.value,r.value,n.offset,n.minWidth,n.minHeight,n.maxWidth,n.maxHeight],()=>v()),oe(()=>{const h=v();if(!h)return;const{available:l,contentBox:g}=h;g.height>l.y&&requestAnimationFrame(()=>{v(),requestAnimationFrame(()=>{v()})})}),{updateLocation:v}}function le(e){return Math.round(e*devicePixelRatio)/devicePixelRatio}function De(e){return Math.ceil(e*devicePixelRatio)/devicePixelRatio}let ve=!0;const ne=[];function Zt(e){!ve||ne.length?(ne.push(e),me()):(ve=!1,e(),me())}let Ve=-1;function me(){cancelAnimationFrame(Ve),Ve=requestAnimationFrame(()=>{const e=ne.shift();e&&e(),ne.length?me():ve=!0})}const ee={none:null,close:tn,block:nn,reposition:on},Jt=$({scrollStrategy:{type:[String,Function],default:"block",validator:e=>typeof e=="function"||e in ee}},"VOverlay-scroll-strategies");function en(e,n){if(!z)return;let t;be(async()=>{t==null||t.stop(),n.isActive.value&&e.scrollStrategy&&(t=$e(),await new Promise(o=>setTimeout(o)),t.active&&t.run(()=>{var o;typeof e.scrollStrategy=="function"?e.scrollStrategy(n,e,t):(o=ee[e.scrollStrategy])==null||o.call(ee,n,e,t)}))}),I(()=>{t==null||t.stop()})}function tn(e){function n(t){e.isActive.value=!1}Ze(e.targetEl.value??e.contentEl.value,n)}function nn(e,n){var s;const t=(s=e.root.value)==null?void 0:s.offsetParent,o=[...new Set([...te(e.targetEl.value,n.contained?t:void 0),...te(e.contentEl.value,n.contained?t:void 0)])].filter(i=>!i.classList.contains("v-overlay-scroll-blocked")),a=window.innerWidth-document.documentElement.offsetWidth,r=(i=>xe(i)&&i)(t||document.documentElement);r&&e.root.value.classList.add("v-overlay--scroll-blocked"),o.forEach((i,c)=>{i.style.setProperty("--v-body-scroll-x",V(-i.scrollLeft)),i.style.setProperty("--v-body-scroll-y",V(-i.scrollTop)),i!==document.documentElement&&i.style.setProperty("--v-scrollbar-offset",V(a)),i.classList.add("v-overlay-scroll-blocked")}),I(()=>{o.forEach((i,c)=>{const f=parseFloat(i.style.getPropertyValue("--v-body-scroll-x")),d=parseFloat(i.style.getPropertyValue("--v-body-scroll-y")),m=i.style.scrollBehavior;i.style.scrollBehavior="auto",i.style.removeProperty("--v-body-scroll-x"),i.style.removeProperty("--v-body-scroll-y"),i.style.removeProperty("--v-scrollbar-offset"),i.classList.remove("v-overlay-scroll-blocked"),i.scrollLeft=-f,i.scrollTop=-d,i.style.scrollBehavior=m}),r&&e.root.value.classList.remove("v-overlay--scroll-blocked")})}function on(e,n,t){let o=!1,a=-1,r=-1;function s(i){Zt(()=>{var d,m;const c=performance.now();(m=(d=e.updateLocation).value)==null||m.call(d,i),o=(performance.now()-c)/(1e3/60)>2})}r=(typeof requestIdleCallback>"u"?i=>i():requestIdleCallback)(()=>{t.run(()=>{Ze(e.targetEl.value??e.contentEl.value,i=>{o?(cancelAnimationFrame(a),a=requestAnimationFrame(()=>{a=requestAnimationFrame(()=>{s(i)})})):s(i)})})}),I(()=>{typeof cancelIdleCallback<"u"&&cancelIdleCallback(r),cancelAnimationFrame(a)})}function Ze(e,n){const t=[document,...te(e)];t.forEach(o=>{o.addEventListener("scroll",n,{passive:!0})}),I(()=>{t.forEach(o=>{o.removeEventListener("scroll",n)})})}const ge=Symbol.for("vuetify:v-menu"),an=$({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,...jt()},"VOverlay-activator");function rn(e,n){let{isActive:t,isTop:o}=n;const a=ye("useActivator"),r=H();let s=!1,i=!1,c=!0;const f=P(()=>e.openOnFocus||e.openOnFocus==null&&e.openOnHover),d=P(()=>e.openOnClick||e.openOnClick==null&&!e.openOnHover&&!f.value),{runOpenDelay:m,runCloseDelay:y}=zt(e,u=>{u===(e.openOnHover&&s||f.value&&i)&&!(e.openOnHover&&t.value&&!o.value)&&(t.value!==u&&(c=!0),t.value=u)}),v=H(),h={onClick:u=>{u.stopPropagation(),r.value=u.currentTarget||u.target,t.value||(v.value=[u.clientX,u.clientY]),t.value=!t.value},onMouseenter:u=>{var M;(M=u.sourceCapabilities)!=null&&M.firesTouchEvents||(s=!0,r.value=u.currentTarget||u.target,m())},onMouseleave:u=>{s=!1,y()},onFocus:u=>{st(u.target,":focus-visible")!==!1&&(i=!0,u.stopPropagation(),r.value=u.currentTarget||u.target,m())},onBlur:u=>{i=!1,u.stopPropagation(),y()}},l=P(()=>{const u={};return d.value&&(u.onClick=h.onClick),e.openOnHover&&(u.onMouseenter=h.onMouseenter,u.onMouseleave=h.onMouseleave),f.value&&(u.onFocus=h.onFocus,u.onBlur=h.onBlur),u}),g=P(()=>{const u={};if(e.openOnHover&&(u.onMouseenter=()=>{s=!0,m()},u.onMouseleave=()=>{s=!1,y()}),f.value&&(u.onFocusin=()=>{i=!0,m()},u.onFocusout=()=>{i=!1,y()}),e.closeOnContentClick){const M=Ee(ge,null);u.onClick=()=>{t.value=!1,M==null||M.closeParents()}}return u}),E=P(()=>{const u={};return e.openOnHover&&(u.onMouseenter=()=>{c&&(s=!0,c=!1,m())},u.onMouseleave=()=>{s=!1,y()}),u});L(o,u=>{u&&(e.openOnHover&&!s&&(!f.value||!i)||f.value&&!i&&(!e.openOnHover||!s))&&(t.value=!1)}),L(t,u=>{u||setTimeout(()=>{v.value=void 0})},{flush:"post"});const w=Pe();be(()=>{w.value&&oe(()=>{r.value=w.el})});const x=Pe(),R=P(()=>e.target==="cursor"&&v.value?v.value:x.value?x.el:Je(e.target,a)||r.value),B=P(()=>Array.isArray(R.value)?void 0:R.value);let T;return L(()=>!!e.activator,u=>{u&&z?(T=$e(),T.run(()=>{sn(e,a,{activatorEl:r,activatorEvents:l})})):T&&T.stop()},{flush:"post",immediate:!0}),I(()=>{T==null||T.stop()}),{activatorEl:r,activatorRef:w,target:R,targetEl:B,targetRef:x,activatorEvents:l,contentEvents:g,scrimEvents:E}}function sn(e,n,t){let{activatorEl:o,activatorEvents:a}=t;L(()=>e.activator,(c,f)=>{if(f&&c!==f){const d=i(f);d&&s(d)}c&&oe(()=>r())},{immediate:!0}),L(()=>e.activatorProps,()=>{r()}),I(()=>{s()});function r(){let c=arguments.length>0&&arguments[0]!==void 0?arguments[0]:i(),f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:e.activatorProps;c&&Dt(c,N(a.value,f))}function s(){let c=arguments.length>0&&arguments[0]!==void 0?arguments[0]:i(),f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:e.activatorProps;c&&Vt(c,N(a.value,f))}function i(){let c=arguments.length>0&&arguments[0]!==void 0?arguments[0]:e.activator;const f=Je(c,n);return o.value=(f==null?void 0:f.nodeType)===Node.ELEMENT_NODE?f:void 0,o.value}}function Je(e,n){var o,a;if(!e)return;let t;if(e==="parent"){let r=(a=(o=n==null?void 0:n.proxy)==null?void 0:o.$el)==null?void 0:a.parentNode;for(;r!=null&&r.hasAttribute("data-no-activator");)r=r.parentNode;t=r}else typeof e=="string"?t=document.querySelector(e):"$el"in e?t=e.$el:t=e;return t}function ln(){if(!z)return q(!1);const{ssr:e}=lt();if(e){const n=q(!1);return ct(()=>{n.value=!0}),n}else return q(!0)}const cn=$({eager:Boolean},"lazy");function un(e,n){const t=q(!1),o=P(()=>t.value||e.eager||n.value);L(n,()=>t.value=!0);function a(){e.eager||(t.value=!1)}return{isBooted:t,hasContent:o,onAfterLeave:a}}const Ne=Symbol.for("vuetify:stack"),G=qe([]);function fn(e,n,t){const o=ye("useStack"),a=!t,r=Ee(Ne,void 0),s=qe({activeChildren:new Set});je(Ne,s);const i=q(+n.value);we(e,()=>{var m;const d=(m=G.at(-1))==null?void 0:m[1];i.value=d?d+10:+n.value,a&&G.push([o.uid,i.value]),r==null||r.activeChildren.add(o.uid),I(()=>{if(a){const y=ft(G).findIndex(v=>v[0]===o.uid);G.splice(y,1)}r==null||r.activeChildren.delete(o.uid)})});const c=q(!0);a&&be(()=>{var m;const d=((m=G.at(-1))==null?void 0:m[0])===o.uid;setTimeout(()=>c.value=d)});const f=P(()=>!s.activeChildren.size);return{globalTop:ut(c),localTop:f,stackStyles:P(()=>({zIndex:i.value}))}}function dn(e){return{teleportTarget:P(()=>{const t=e.value;if(t===!0||!z)return;const o=t===!1?document.body:typeof t=="string"?document.querySelector(t):t;if(o==null)return;let a=o.querySelector(":scope > .v-overlay-container");return a||(a=document.createElement("div"),a.className="v-overlay-container",o.appendChild(a)),a})}}function vn(){return!0}function et(e,n,t){if(!e||tt(e,t)===!1)return!1;const o=Xe(n);if(typeof ShadowRoot<"u"&&o instanceof ShadowRoot&&o.host===e.target)return!1;const a=(typeof t.value=="object"&&t.value.include||(()=>[]))();return a.push(n),!a.some(r=>r==null?void 0:r.contains(e.target))}function tt(e,n){return(typeof n.value=="object"&&n.value.closeConditional||vn)(e)}function mn(e,n,t){const o=typeof t.value=="function"?t.value:t.value.handler;n._clickOutside.lastMousedownWasOutside&&et(e,n,t)&&setTimeout(()=>{tt(e,t)&&o&&o(e)},0)}function We(e,n){const t=Xe(e);n(document),typeof ShadowRoot<"u"&&t instanceof ShadowRoot&&n(t)}const gn={mounted(e,n){const t=a=>mn(a,e,n),o=a=>{e._clickOutside.lastMousedownWasOutside=et(a,e,n)};We(e,a=>{a.addEventListener("click",t,!0),a.addEventListener("mousedown",o,!0)}),e._clickOutside||(e._clickOutside={lastMousedownWasOutside:!1}),e._clickOutside[n.instance.$.uid]={onClick:t,onMousedown:o}},unmounted(e,n){e._clickOutside&&(We(e,t=>{var r;if(!t||!((r=e._clickOutside)!=null&&r[n.instance.$.uid]))return;const{onClick:o,onMousedown:a}=e._clickOutside[n.instance.$.uid];t.removeEventListener("click",o,!0),t.removeEventListener("mousedown",a,!0)}),delete e._clickOutside[n.instance.$.uid])}};function hn(e){const{modelValue:n,color:t,...o}=e;return F(fe,{name:"fade-transition",appear:!0},{default:()=>[e.modelValue&&F("div",N({class:["v-overlay__scrim",e.color.backgroundColorClasses.value],style:e.color.backgroundColorStyles.value},o),null)]})}const nt=$({absolute:Boolean,attach:[Boolean,String,Object],closeOnBack:{type:Boolean,default:!0},contained:Boolean,contentClass:null,contentProps:null,disabled:Boolean,opacity:[Number,String],noClickAnimation:Boolean,modelValue:Boolean,persistent:Boolean,scrim:{type:[Boolean,String],default:!0},zIndex:{type:[Number,String],default:2e3},...an(),...Ct(),...At(),...cn(),...Yt(),...Jt(),...dt(),...Tt()},"VOverlay"),He=he()({name:"VOverlay",directives:{ClickOutside:gn},inheritAttrs:!1,props:{_disableGlobalStack:Boolean,...nt()},emits:{"click:outside":e=>!0,"update:modelValue":e=>!0,afterEnter:()=>!0,afterLeave:()=>!0},setup(e,n){let{slots:t,attrs:o,emit:a}=n;const r=ze(e,"modelValue"),s=P({get:()=>r.value,set:S=>{S&&e.disabled||(r.value=S)}}),{themeClasses:i}=vt(e),{rtlClasses:c,isRtl:f}=mt(),{hasContent:d,onAfterLeave:m}=un(e,s),y=kt(P(()=>typeof e.scrim=="string"?e.scrim:null)),{globalTop:v,localTop:h,stackStyles:l}=fn(s,gt(e,"zIndex"),e._disableGlobalStack),{activatorEl:g,activatorRef:E,target:w,targetEl:x,targetRef:R,activatorEvents:B,contentEvents:T,scrimEvents:u}=rn(e,{isActive:s,isTop:h}),M=P(()=>{var S;return(S=g==null?void 0:g.value)==null?void 0:S.getRootNode()}),{teleportTarget:X}=dn(P(()=>e.attach||e.contained||M.value instanceof ShadowRoot?M.value:!1)),{dimensionStyles:ae}=Rt(e),C=ln(),{scopeId:O}=Ge();L(()=>e.disabled,S=>{S&&(s.value=!1)});const b=H(),p=H(),A=H(),{contentStyles:D,updateLocation:K}=Ut(e,{isRtl:f,contentEl:A,target:w,isActive:s});en(e,{root:b,contentEl:A,targetEl:x,isActive:s,updateLocation:K});function k(S){a("click:outside",S),e.persistent?Z():s.value=!1}function _(S){return s.value&&v.value&&(!e.scrim||S.target===p.value)}z&&L(s,S=>{S?window.addEventListener("keydown",Y):window.removeEventListener("keydown",Y)},{immediate:!0}),ht(()=>{z&&window.removeEventListener("keydown",Y)});function Y(S){var W,Se;S.key==="Escape"&&v.value&&(e.persistent?Z():(s.value=!1,(W=A.value)!=null&&W.contains(document.activeElement)&&((Se=g.value)==null||Se.focus())))}const U=Mt();we(()=>e.closeOnBack,()=>{Ft(U,S=>{v.value&&s.value?(S(!1),e.persistent?Z():s.value=!1):S()})});const pe=H();L(()=>s.value&&(e.absolute||e.contained)&&X.value==null,S=>{if(S){const W=Ht(b.value);W&&W!==document.scrollingElement&&(pe.value=W.scrollTop)}});function Z(){e.noClickAnimation||A.value&&Q(A.value,[{transformOrigin:"center"},{transform:"scale(1.03)"},{transformOrigin:"center"}],{duration:150,easing:de})}function ot(){a("afterEnter")}function at(){m(),a("afterLeave")}return Ke(()=>{var S;return F(xt,null,[(S=t.activator)==null?void 0:S.call(t,{isActive:s.value,targetRef:R,props:N({ref:E},B.value,e.activatorProps)}),C.value&&d.value&&F(yt,{disabled:!X.value,to:X.value},{default:()=>[F("div",N({class:["v-overlay",{"v-overlay--absolute":e.absolute||e.contained,"v-overlay--active":s.value,"v-overlay--contained":e.contained},i.value,c.value,e.class],style:[l.value,{"--v-overlay-opacity":e.opacity,top:V(pe.value)},e.style],ref:b},O,o),[F(hn,N({color:y,modelValue:s.value&&!!e.scrim,ref:p},u.value),null),F(Lt,{appear:!0,persisted:!0,transition:e.transition,target:w.value,onAfterEnter:ot,onAfterLeave:at},{default:()=>{var W;return[wt(F("div",N({ref:A,class:["v-overlay__content",e.contentClass],style:[ae.value,D.value]},T.value,e.contentProps),[(W=t.default)==null?void 0:W.call(t,{isActive:s})]),[[bt,s.value],[Et("click-outside"),{handler:k,closeConditional:_,include:()=>[g.value]}]])]}})])]})])}),{activatorEl:g,scrimEl:p,target:w,animateClick:Z,contentEl:A,globalTop:v,localTop:h,updateLocation:K}}}),ce=Symbol("Forwarded refs");function ue(e,n){let t=e;for(;t;){const o=Reflect.getOwnPropertyDescriptor(t,n);if(o)return o;t=Object.getPrototypeOf(t)}}function yn(e){for(var n=arguments.length,t=new Array(n>1?n-1:0),o=1;o<n;o++)t[o-1]=arguments[o];return e[ce]=t,new Proxy(e,{get(a,r){if(Reflect.has(a,r))return Reflect.get(a,r);if(!(typeof r=="symbol"||r.startsWith("$")||r.startsWith("__"))){for(const s of t)if(s.value&&Reflect.has(s.value,r)){const i=Reflect.get(s.value,r);return typeof i=="function"?i.bind(s.value):i}}},has(a,r){if(Reflect.has(a,r))return!0;if(typeof r=="symbol"||r.startsWith("$")||r.startsWith("__"))return!1;for(const s of t)if(s.value&&Reflect.has(s.value,r))return!0;return!1},set(a,r,s){if(Reflect.has(a,r))return Reflect.set(a,r,s);if(typeof r=="symbol"||r.startsWith("$")||r.startsWith("__"))return!1;for(const i of t)if(i.value&&Reflect.has(i.value,r))return Reflect.set(i.value,r,s);return!1},getOwnPropertyDescriptor(a,r){var i;const s=Reflect.getOwnPropertyDescriptor(a,r);if(s)return s;if(!(typeof r=="symbol"||r.startsWith("$")||r.startsWith("__"))){for(const c of t){if(!c.value)continue;const f=ue(c.value,r)??("_"in c.value?ue((i=c.value._)==null?void 0:i.setupState,r):void 0);if(f)return f}for(const c of t){const f=c.value&&c.value[ce];if(!f)continue;const d=f.slice();for(;d.length;){const m=d.shift(),y=ue(m.value,r);if(y)return y;const v=m.value&&m.value[ce];v&&d.push(...v)}}}}})}const wn=$({id:String,...pt(nt({closeDelay:250,closeOnContentClick:!0,locationStrategy:"connected",openDelay:300,scrim:!1,scrollStrategy:"reposition",transition:{component:qt}}),["absolute"])},"VMenu"),xn=he()({name:"VMenu",props:wn(),emits:{"update:modelValue":e=>!0},setup(e,n){let{slots:t}=n;const o=ze(e,"modelValue"),{scopeId:a}=Ge(),r=St(),s=P(()=>e.id||`v-menu-${r}`),i=H(),c=Ee(ge,null),f=q(0);je(ge,{register(){++f.value},unregister(){--f.value},closeParents(l){setTimeout(()=>{!f.value&&!e.persistent&&(l==null||l&&!Ot(l,i.value.contentEl))&&(o.value=!1,c==null||c.closeParents())},40)}});async function d(l){var w,x,R;const g=l.relatedTarget,E=l.target;await oe(),o.value&&g!==E&&((w=i.value)!=null&&w.contentEl)&&((x=i.value)!=null&&x.globalTop)&&![document,i.value.contentEl].includes(E)&&!i.value.contentEl.contains(E)&&((R=Ce(i.value.contentEl)[0])==null||R.focus())}L(o,l=>{l?(c==null||c.register(),document.addEventListener("focusin",d,{once:!0})):(c==null||c.unregister(),document.removeEventListener("focusin",d))});function m(l){c==null||c.closeParents(l)}function y(l){var g,E,w;if(!e.disabled)if(l.key==="Tab"||l.key==="Enter"&&!e.closeOnContentClick){if(l.key==="Enter"&&(l.target instanceof HTMLTextAreaElement||l.target instanceof HTMLInputElement&&l.target.closest("form")))return;l.key==="Enter"&&l.preventDefault(),Pt(Ce((g=i.value)==null?void 0:g.contentEl,!1),l.shiftKey?"prev":"next",R=>R.tabIndex>=0)||(o.value=!1,(w=(E=i.value)==null?void 0:E.activatorEl)==null||w.focus())}else["Enter"," "].includes(l.key)&&e.closeOnContentClick&&(o.value=!1,c==null||c.closeParents())}function v(l){var E;if(e.disabled)return;const g=(E=i.value)==null?void 0:E.contentEl;g&&o.value?l.key==="ArrowDown"?(l.preventDefault(),Ae(g,"next")):l.key==="ArrowUp"&&(l.preventDefault(),Ae(g,"prev")):["ArrowDown","ArrowUp"].includes(l.key)&&(o.value=!0,l.preventDefault(),setTimeout(()=>setTimeout(()=>v(l))))}const h=P(()=>N({"aria-haspopup":"menu","aria-expanded":String(o.value),"aria-owns":s.value,onKeydown:v},e.activatorProps));return Ke(()=>{const l=He.filterProps(e);return F(He,N({ref:i,id:s.value,class:["v-menu",e.class],style:e.style},l,{modelValue:o.value,"onUpdate:modelValue":g=>o.value=g,absolute:!0,activatorProps:h.value,"onClick:outside":m,onKeydown:y},a),{activator:t.activator,default:function(){for(var g=arguments.length,E=new Array(g),w=0;w<g;w++)E[w]=arguments[w];return F(Bt,{root:"VMenu"},{default:()=>{var x;return[(x=t.default)==null?void 0:x.call(t,...E)]}})}})}),yn({id:s,ΨopenChildren:f},i)}});export{xn as V,Q as a,Ge as b,He as c,nt as d,jt as e,yn as f,zt as g,qt as h,Ht as i,cn as m,Ue as n,de as s,un as u};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
/* empty css */import{X as r}from"./VListItem-748fc7af.js";const p=r("v-spacer","div","VSpacer");export{p as V};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{l as O,m as U,z as u,f as l,O as X,S as le,aK as J,b4 as Q,v as ue,H as de,I as ce,ay as fe,r as R,y as ve,L as me,C as ye,F as M,E as N,b5 as ge,b6 as be,A as xe,aJ as Ce,Q as Ve,b7 as ke,T as p,b8 as he}from"./index-
|
|
1
|
+
import{l as O,m as U,z as u,f as l,O as X,S as le,aK as J,b4 as Q,v as ue,H as de,I as ce,ay as fe,r as R,y as ve,L as me,C as ye,F as M,E as N,b5 as ge,b6 as be,A as xe,aJ as Ce,Q as Ve,b7 as ke,T as p,b8 as he}from"./index-9299e1c1.js";import{m as G,N as _e,$ as Ie,c as K,M as Pe,Y as Fe,g as Se,S as Be,n as we,j as Te,r as Re,U as $e,a0 as Le,K as Ae,a1 as Ee}from"./VListItem-748fc7af.js";import{h as De,i as Me,u as te,n as Ne,b as Oe,d as ee}from"./VCheckboxBtn-ad9d405a.js";import{n as Ue,a as Ke,s as je,f as ze}from"./VMenu-02b91385.js";const We=O({active:Boolean,disabled:Boolean,max:[Number,String],value:{type:[Number,String],default:0},...G(),..._e({transition:{component:Ie}})},"VCounter"),Ye=U()({name:"VCounter",functional:!0,props:We(),setup(e,y){let{slots:i}=y;const P=u(()=>e.max?`${e.value} / ${e.max}`:String(e.value));return K(()=>l(Pe,{transition:e.transition},{default:()=>[X(l("div",{class:["v-counter",{"text-error":e.max&&!e.disabled&&parseFloat(e.value)>parseFloat(e.max)},e.class],style:e.style},[i.default?i.default({counter:P.value,max:e.max,value:e.value}):P.value]),[[le,e.active]])]})),{}}});const qe=O({floating:Boolean,...G()},"VFieldLabel"),D=U()({name:"VFieldLabel",props:qe(),setup(e,y){let{slots:i}=y;return K(()=>l(De,{class:["v-field-label",{"v-field-label--floating":e.floating},e.class],style:e.style,"aria-hidden":e.floating||void 0},i)),{}}}),He=["underlined","outlined","filled","solo","solo-inverted","solo-filled","plain"],ne=O({appendInnerIcon:J,bgColor:String,clearable:Boolean,clearIcon:{type:J,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:J,reverse:Boolean,singleLine:Boolean,variant:{type:String,default:"filled",validator:e=>He.includes(e)},"onClick:clear":Q(),"onClick:appendInner":Q(),"onClick:prependInner":Q(),...G(),...Fe(),...Se(),...ue()},"VField"),ae=U()({name:"VField",inheritAttrs:!1,props:{id:String,...Me(),...ne()},emits:{"update:focused":e=>!0,"update:modelValue":e=>!0},setup(e,y){let{attrs:i,emit:P,slots:t}=y;const{themeClasses:g}=de(e),{loaderClasses:C}=Be(e),{focusClasses:j,isFocused:$,focus:F,blur:S}=te(e),{InputIcon:B}=Ne(e),{roundedClasses:z}=we(e),{rtlClasses:L}=ce(),V=u(()=>e.dirty||e.active),f=u(()=>!e.singleLine&&!!(e.label||t.label)),W=fe(),s=u(()=>e.id||`input-${W}`),Y=u(()=>`${s.value}-messages`),A=R(),w=R(),E=R(),n=u(()=>["plain","underlined"].includes(e.variant)),{backgroundColorClasses:d,backgroundColorStyles:c}=Te(ve(e,"bgColor")),{textColorClasses:v,textColorStyles:q}=Re(u(()=>e.error||e.disabled?void 0:V.value&&$.value?e.color:e.baseColor));me(V,a=>{if(f.value){const o=A.value.$el,m=w.value.$el;requestAnimationFrame(()=>{const b=Ue(o),r=m.getBoundingClientRect(),T=r.x-b.x,h=r.y-b.y-(b.height/2-r.height/2),_=r.width/.75,I=Math.abs(_-b.width)>1?{maxWidth:ye(_)}:void 0,ie=getComputedStyle(o),Z=getComputedStyle(m),oe=parseFloat(ie.transitionDuration)*1e3||150,se=parseFloat(Z.getPropertyValue("--v-field-label-scale")),re=Z.getPropertyValue("color");o.style.visibility="visible",m.style.visibility="hidden",Ke(o,{transform:`translate(${T}px, ${h}px) scale(${se})`,color:re,...I},{duration:oe,easing:je,direction:a?"normal":"reverse"}).finished.then(()=>{o.style.removeProperty("visibility"),m.style.removeProperty("visibility")})})}},{flush:"post"});const k=u(()=>({isActive:V,isFocused:$,controlRef:E,blur:S,focus:F}));function H(a){a.target!==document.activeElement&&a.preventDefault()}function x(a){var o;a.key!=="Enter"&&a.key!==" "||(a.preventDefault(),a.stopPropagation(),(o=e["onClick:clear"])==null||o.call(e,new MouseEvent("click")))}return K(()=>{var T,h,_;const a=e.variant==="outlined",o=!!(t["prepend-inner"]||e.prependInnerIcon),m=!!(e.clearable||t.clear),b=!!(t["append-inner"]||e.appendInnerIcon||m),r=()=>t.label?t.label({...k.value,label:e.label,props:{for:s.value}}):e.label;return l("div",N({class:["v-field",{"v-field--active":V.value,"v-field--appended":b,"v-field--center-affix":e.centerAffix??!n.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":o,"v-field--reverse":e.reverse,"v-field--single-line":e.singleLine,"v-field--no-label":!r(),[`v-field--variant-${e.variant}`]:!0},g.value,d.value,j.value,C.value,z.value,L.value,e.class],style:[c.value,e.style],onClick:H},i),[l("div",{class:"v-field__overlay"},null),l($e,{name:"v-field",active:!!e.loading,color:e.error?"error":typeof e.loading=="string"?e.loading:e.color},{default:t.loader}),o&&l("div",{key:"prepend",class:"v-field__prepend-inner"},[e.prependInnerIcon&&l(B,{key:"prepend-icon",name:"prependInner"},null),(T=t["prepend-inner"])==null?void 0:T.call(t,k.value)]),l("div",{class:"v-field__field","data-no-activator":""},[["filled","solo","solo-inverted","solo-filled"].includes(e.variant)&&f.value&&l(D,{key:"floating-label",ref:w,class:[v.value],floating:!0,for:s.value,style:q.value},{default:()=>[r()]}),l(D,{ref:A,for:s.value},{default:()=>[r()]}),(h=t.default)==null?void 0:h.call(t,{...k.value,props:{id:s.value,class:"v-field__input","aria-describedby":Y.value},focus:F,blur:S})]),m&&l(Le,{key:"clear"},{default:()=>[X(l("div",{class:"v-field__clearable",onMousedown:I=>{I.preventDefault(),I.stopPropagation()}},[l(Ae,{defaults:{VIcon:{icon:e.clearIcon}}},{default:()=>[t.clear?t.clear({...k.value,props:{onKeydown:x,onFocus:F,onBlur:S,onClick:e["onClick:clear"]}}):l(B,{name:"clear",onKeydown:x,onFocus:F,onBlur:S},null)]})]),[[le,e.dirty]])]}),b&&l("div",{key:"append",class:"v-field__append-inner"},[(_=t["append-inner"])==null?void 0:_.call(t,k.value),e.appendInnerIcon&&l(B,{key:"append-icon",name:"appendInner"},null)]),l("div",{class:["v-field__outline",v.value],style:q.value},[a&&l(M,null,[l("div",{class:"v-field__outline__start"},null),f.value&&l("div",{class:"v-field__outline__notch"},[l(D,{ref:w,floating:!0,for:s.value},{default:()=>[r()]})]),l("div",{class:"v-field__outline__end"},null)]),n.value&&f.value&&l(D,{ref:w,floating:!0,for:s.value},{default:()=>[r()]})])])}),{controlRef:E}}});function Je(e){const y=Object.keys(ae.props).filter(i=>!ge(i)&&i!=="class"&&i!=="style");return be(e,y)}const Qe=["color","file","time","date","datetime-local","week","month"],Xe=O({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,...Oe(),...ne()},"VTextField"),ll=U()({name:"VTextField",directives:{Intersect:Ee},inheritAttrs:!1,props:Xe(),emits:{"click:control":e=>!0,"mousedown:control":e=>!0,"update:focused":e=>!0,"update:modelValue":e=>!0},setup(e,y){let{attrs:i,emit:P,slots:t}=y;const g=xe(e,"modelValue"),{isFocused:C,focus:j,blur:$}=te(e),F=u(()=>typeof e.counterValue=="function"?e.counterValue(g.value):typeof e.counterValue=="number"?e.counterValue:(g.value??"").toString().length),S=u(()=>{if(i.maxlength)return i.maxlength;if(!(!e.counter||typeof e.counter!="number"&&typeof e.counter!="string"))return e.counter}),B=u(()=>["plain","underlined"].includes(e.variant));function z(n,d){var c,v;!e.autofocus||!n||(v=(c=d[0].target)==null?void 0:c.focus)==null||v.call(c)}const L=R(),V=R(),f=R(),W=u(()=>Qe.includes(e.type)||e.persistentPlaceholder||C.value||e.active);function s(){var n;f.value!==document.activeElement&&((n=f.value)==null||n.focus()),C.value||j()}function Y(n){P("mousedown:control",n),n.target!==f.value&&(s(),n.preventDefault())}function A(n){s(),P("click:control",n)}function w(n){n.stopPropagation(),s(),p(()=>{g.value=null,he(e["onClick:clear"],n)})}function E(n){var c;const d=n.target;if(g.value=d.value,(c=e.modelModifiers)!=null&&c.trim&&["text","search","password","tel","url"].includes(e.type)){const v=[d.selectionStart,d.selectionEnd];p(()=>{d.selectionStart=v[0],d.selectionEnd=v[1]})}}return K(()=>{const n=!!(t.counter||e.counter!==!1&&e.counter!=null),d=!!(n||t.details),[c,v]=Ce(i),{modelValue:q,...k}=ee.filterProps(e),H=Je(e);return l(ee,N({ref:L,modelValue:g.value,"onUpdate:modelValue":x=>g.value=x,class:["v-text-field",{"v-text-field--prefixed":e.prefix,"v-text-field--suffixed":e.suffix,"v-input--plain-underlined":B.value},e.class],style:e.style},c,k,{centerAffix:!B.value,focused:C.value}),{...t,default:x=>{let{id:a,isDisabled:o,isDirty:m,isReadonly:b,isValid:r}=x;return l(ae,N({ref:V,onMousedown:Y,onClick:A,"onClick:clear":w,"onClick:prependInner":e["onClick:prependInner"],"onClick:appendInner":e["onClick:appendInner"],role:e.role},H,{id:a.value,active:W.value||m.value,dirty:m.value||e.dirty,disabled:o.value,focused:C.value,error:r.value===!1}),{...t,default:T=>{let{props:{class:h,..._}}=T;const I=X(l("input",N({ref:f,value:g.value,onInput:E,autofocus:e.autofocus,readonly:b.value,disabled:o.value,name:e.name,placeholder:e.placeholder,size:1,type:e.type,onFocus:s,onBlur:$},_,v),null),[[Ve("intersect"),{handler:z},null,{once:!0}]]);return l(M,null,[e.prefix&&l("span",{class:"v-text-field__prefix"},[l("span",{class:"v-text-field__prefix__text"},[e.prefix])]),t.default?l("div",{class:h,"data-no-activator":""},[t.default(),I]):ke(I,{class:h}),e.suffix&&l("span",{class:"v-text-field__suffix"},[l("span",{class:"v-text-field__suffix__text"},[e.suffix])])])}})},details:d?x=>{var a;return l(M,null,[(a=t.details)==null?void 0:a.call(t,x),n&&l(M,null,[l("span",null,null),l(Ye,{active:e.persistentCounter||C.value,value:F.value,max:S.value,disabled:e.disabled},t.counter)])])}:void 0})}),ze({},L,V,f)}});export{ll as V,Xe as m};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{m as y,b as x,c as T,d as H,f as I,g as E,j as D,i as w,l as K,n as $,A as j,K as u,R as z}from"./VListItem-
|
|
1
|
+
import{m as y,b as x,c as T,d as H,f as I,g as E,j as D,i as w,l as K,n as $,A as j,K as u,R as z}from"./VListItem-748fc7af.js";import{l as V,m as k,f as a,v as A,y as F,H as U,I as q,K as G,z as h,B as J,C as o}from"./index-9299e1c1.js";const L=V({text:String,...y(),...x()},"VToolbarTitle"),M=k()({name:"VToolbarTitle",props:L(),setup(e,n){let{slots:t}=n;return T(()=>{const s=!!(t.default||t.text||e.text);return a(e.tag,{class:["v-toolbar-title",e.class],style:e.style},{default:()=>{var l;return[s&&a("div",{class:"v-toolbar-title__placeholder"},[t.text?t.text():e.text,(l=t.default)==null?void 0:l.call(t)])]}})}),{}}}),O=[null,"prominent","default","comfortable","compact"],Q=V({absolute:Boolean,collapse:Boolean,color:String,density:{type:String,default:"default",validator:e=>O.includes(e)},extended:Boolean,extensionHeight:{type:[Number,String],default:48},flat:Boolean,floating:Boolean,height:{type:[Number,String],default:64},image:String,title:String,...H(),...y(),...I(),...E(),...x({tag:"header"}),...A()},"VToolbar"),Y=k()({name:"VToolbar",props:Q(),setup(e,n){var c;let{slots:t}=n;const{backgroundColorClasses:s,backgroundColorStyles:l}=D(F(e,"color")),{borderClasses:C}=w(e),{elevationClasses:_}=K(e),{roundedClasses:B}=$(e),{themeClasses:P}=U(e),{rtlClasses:S}=q(),i=G(!!(e.extended||(c=t.extension)!=null&&c.call(t))),d=h(()=>parseInt(Number(e.height)+(e.density==="prominent"?Number(e.height):0)-(e.density==="comfortable"?8:0)-(e.density==="compact"?16:0),10)),r=h(()=>i.value?parseInt(Number(e.extensionHeight)+(e.density==="prominent"?Number(e.extensionHeight):0)-(e.density==="comfortable"?4:0)-(e.density==="compact"?8:0),10):0);return J({VBtn:{variant:"text"}}),T(()=>{var g;const N=!!(e.title||t.title),R=!!(t.image||e.image),m=(g=t.extension)==null?void 0:g.call(t);return i.value=!!(e.extended||m),a(e.tag,{class:["v-toolbar",{"v-toolbar--absolute":e.absolute,"v-toolbar--collapse":e.collapse,"v-toolbar--flat":e.flat,"v-toolbar--floating":e.floating,[`v-toolbar--density-${e.density}`]:!0},s.value,C.value,_.value,B.value,P.value,S.value,e.class],style:[l.value,e.style]},{default:()=>[R&&a("div",{key:"image",class:"v-toolbar__image"},[t.image?a(u,{key:"image-defaults",disabled:!e.image,defaults:{VImg:{cover:!0,src:e.image}}},t.image):a(j,{key:"image-img",cover:!0,src:e.image},null)]),a(u,{defaults:{VTabs:{height:o(d.value)}}},{default:()=>{var v,b,f;return[a("div",{class:"v-toolbar__content",style:{height:o(d.value)}},[t.prepend&&a("div",{class:"v-toolbar__prepend"},[(v=t.prepend)==null?void 0:v.call(t)]),N&&a(M,{key:"title",text:e.title},{text:t.title}),(b=t.default)==null?void 0:b.call(t),t.append&&a("div",{class:"v-toolbar__append"},[(f=t.append)==null?void 0:f.call(t)])])]}}),a(u,{defaults:{VTabs:{height:o(r.value)}}},{default:()=>[a(z,null,{default:()=>[i.value&&a("div",{class:"v-toolbar__extension",style:{height:o(r.value)}},[m])]})]})]})}),{contentHeight:d,extensionHeight:r}}});export{Y as V};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{m as q,x as W,c as G,a as re,u as oe}from"./VListItem-
|
|
1
|
+
import{m as q,x as W,c as G,a as re,u as oe}from"./VListItem-748fc7af.js";import{l as E,m as K,L as O,f as S,F as X,E as se,a7 as ue,K as R,aG as L,r as U,z,aF as $,a_ as B,b9 as ce,T as ie,aW as ve,aS as fe,y as de,aD as me,C as A,o as he}from"./index-9299e1c1.js";import{i as ge}from"./VMenu-02b91385.js";const pe=E({renderless:Boolean,...q()},"VVirtualScrollItem"),Se=K()({name:"VVirtualScrollItem",inheritAttrs:!1,props:pe(),emits:{"update:height":l=>!0},setup(l,a){let{attrs:i,emit:o,slots:t}=a;const{resizeRef:n,contentRect:v}=W(void 0,"border");O(()=>{var u;return(u=v.value)==null?void 0:u.height},u=>{u!=null&&o("update:height",u)}),G(()=>{var u,s;return l.renderless?S(X,null,[(u=t.default)==null?void 0:u.call(t,{itemRef:n})]):S("div",se({ref:n,class:["v-virtual-scroll__item",l.class],style:l.style},i),[(s=t.default)==null?void 0:s.call(t)])})}}),Ve=-1,ye=1,D=100,Te=E({itemHeight:{type:[Number,String],default:null},height:[Number,String]},"virtual");function Ie(l,a){const i=ue(),o=R(0);L(()=>{o.value=parseFloat(l.itemHeight||0)});const t=R(0),n=R(Math.ceil((parseInt(l.height)||i.height.value)/(o.value||16))||1),v=R(0),u=R(0),s=U(),g=U();let w=0;const{resizeRef:P,contentRect:_}=W();L(()=>{P.value=s.value});const T=z(()=>{var e;return s.value===document.documentElement?i.height.value:((e=_.value)==null?void 0:e.height)||parseInt(l.height)||0}),V=z(()=>!!(s.value&&g.value&&T.value&&o.value));let f=Array.from({length:a.value.length}),c=Array.from({length:a.value.length});const m=R(0);let y=-1;function j(e){return f[e]||o.value}const F=ce(()=>{const e=performance.now();c[0]=0;const r=a.value.length;for(let d=1;d<=r-1;d++)c[d]=(c[d-1]||0)+j(d-1);m.value=Math.max(m.value,performance.now()-e)},m),J=O(V,e=>{e&&(J(),w=g.value.offsetTop,F.immediate(),I(),~y&&ie(()=>{ve&&window.requestAnimationFrame(()=>{N(y),y=-1})}))});$(()=>{F.clear()});function Q(e,r){const d=f[e],h=o.value;o.value=h?Math.min(o.value,r):r,(d!==r||h!==o.value)&&(f[e]=r,F())}function p(e){return e=B(e,0,a.value.length-1),c[e]||0}function H(e){return Re(c,e)}let k=0,b=0,M=0;O(T,(e,r)=>{r&&(I(),e<r&&requestAnimationFrame(()=>{b=0,I()}))});function Y(){if(!s.value||!g.value)return;const e=s.value.scrollTop,r=performance.now();r-M>500?(b=Math.sign(e-k),w=g.value.offsetTop):b=e-k,k=e,M=r,I()}function Z(){!s.value||!g.value||(b=0,M=0,I())}let C=-1;function I(){cancelAnimationFrame(C),C=requestAnimationFrame(ee)}function ee(){if(!s.value||!T.value)return;const e=k-w,r=Math.sign(b),d=Math.max(0,e-D),h=B(H(d),0,a.value.length),le=e+T.value+D,x=B(H(le)+1,h+1,a.value.length);if((r!==Ve||h<t.value)&&(r!==ye||x>n.value)){const ae=p(t.value)-p(h),ne=p(x)-p(n.value);Math.max(ae,ne)>D?(t.value=h,n.value=x):(h<=0&&(t.value=h),x>=a.value.length&&(n.value=x))}v.value=p(t.value),u.value=p(a.value.length)-p(n.value)}function N(e){const r=p(e);!s.value||e&&!r?y=e:s.value.scrollTop=r}const te=z(()=>a.value.slice(t.value,n.value).map((e,r)=>({raw:e,index:r+t.value})));return O(a,()=>{f=Array.from({length:a.value.length}),c=Array.from({length:a.value.length}),F.immediate(),I()},{deep:!0}),{containerRef:s,markerRef:g,computedItems:te,paddingTop:v,paddingBottom:u,scrollToIndex:N,handleScroll:Y,handleScrollend:Z,handleItemResize:Q}}function Re(l,a){let i=l.length-1,o=0,t=0,n=null,v=-1;if(l[i]<a)return i;for(;o<=i;)if(t=o+i>>1,n=l[t],n>a)i=t-1;else if(n<a)v=t,o=t+1;else return n===a?t:o;return v}const we=E({items:{type:Array,default:()=>[]},renderless:Boolean,...Te(),...q(),...re()},"VVirtualScroll"),Fe=K()({name:"VVirtualScroll",props:we(),setup(l,a){let{slots:i}=a;const o=fe("VVirtualScroll"),{dimensionStyles:t}=oe(l),{containerRef:n,markerRef:v,handleScroll:u,handleScrollend:s,handleItemResize:g,scrollToIndex:w,paddingTop:P,paddingBottom:_,computedItems:T}=Ie(l,de(l,"items"));return me(()=>l.renderless,()=>{function V(){var m,y;const c=(arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1)?"addEventListener":"removeEventListener";n.value===document.documentElement?(document[c]("scroll",u,{passive:!0}),document[c]("scrollend",s)):((m=n.value)==null||m[c]("scroll",u,{passive:!0}),(y=n.value)==null||y[c]("scrollend",s))}he(()=>{n.value=ge(o.vnode.el,!0),V(!0)}),$(V)}),G(()=>{const V=T.value.map(f=>S(Se,{key:f.index,renderless:l.renderless,"onUpdate:height":c=>g(f.index,c)},{default:c=>{var m;return(m=i.default)==null?void 0:m.call(i,{item:f.raw,index:f.index,...c})}}));return l.renderless?S(X,null,[S("div",{ref:v,class:"v-virtual-scroll__spacer",style:{paddingTop:A(P.value)}},null),V,S("div",{class:"v-virtual-scroll__spacer",style:{paddingBottom:A(_.value)}},null)]):S("div",{ref:n,class:["v-virtual-scroll",l.class],onScrollPassive:u,onScrollend:s,style:[t.value,l.style]},[S("div",{ref:v,class:"v-virtual-scroll__container",style:{paddingTop:A(P.value),paddingBottom:A(_.value)}},[V])])}),{scrollToIndex:w}}});export{Fe as V};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{d as p,z as m,b as r,c as t,g as l,e as d,u as s,a0 as u}from"./index-
|
|
1
|
+
import{d as p,z as m,b as r,c as t,g as l,e as d,u as s,a0 as u}from"./index-9299e1c1.js";import{w as v}from"./VListItem-748fc7af.js";const f=["title","innerHTML"],c=["title","innerHTML"],M=p({__name:"ProviderIcon",props:{domain:{},size:{},dark:{type:Boolean}},setup(a){const n=a,i=m(()=>{if(n.domain in r.providers)return r.providers[n.domain].domain;if(n.domain in r.providerManifests)return n.domain});return(e,o)=>(t(),l("div",{style:u(`width:${e.size}px;margin-left:10px;margin-right:10px`)},[e.domain&&e.domain=="library"?(t(),d(v,{key:0,size:e.size,icon:"mdi-bookshelf",title:e.$t("item_in_library")},null,8,["size","title"])):e.$vuetify.theme.current.dark&&i.value&&s(r).providerManifests[i.value].icon_svg_dark?(t(),l("div",{key:1,style:u(`width: ${e.size}px`),title:s(r).providerManifests[i.value].name,innerHTML:s(r).providerManifests[i.value].icon_svg_dark},null,12,f)):i.value&&s(r).providerManifests[i.value].icon_svg?(t(),l("div",{key:2,style:u(`width: ${e.size}px;height: ${e.size}px`),title:s(r).providerManifests[i.value].name,innerHTML:s(r).providerManifests[i.value].icon_svg},null,12,c)):i.value&&s(r).providerManifests[i.value].icon?(t(),d(v,{key:3,size:e.size,icon:"mdi-"+s(r).providerManifests[i.value].icon,title:s(r).providerManifests[i.value].name,dark:e.$vuetify.theme.current.dark},null,8,["size","icon","title","dark"])):(t(),d(v,{key:4,size:e.size,dark:e.$vuetify.theme.current.dark,icon:"mdi-playlist-play"},null,8,["size","dark"]))],4))}});function k(a){return{all:a=a||new Map,on:function(n,i){var e=a.get(n);e?e.push(i):a.set(n,[i])},off:function(n,i){var e=a.get(n);e&&(i?e.splice(e.indexOf(i)>>>0,1):a.set(n,[]))},emit:function(n,i){var e=a.get(n);e&&e.slice().map(function(o){o(i)}),(e=a.get("*"))&&e.slice().map(function(o){o(n,i)})}}}const h=k();export{M as _,h as e};
|