music-assistant-frontend 2.14.7__py3-none-any.whl → 2.14.8__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/{AddManualLink.vue_vue_type_script_setup_true_lang-D_guwvQb.js → AddManualLink.vue_vue_type_script_setup_true_lang-hsz3yl1O.js} +1 -1
- music_assistant_frontend/assets/{AddPlayerGroup-DuDOLCFk.js → AddPlayerGroup-BOFxKdmk.js} +1 -1
- music_assistant_frontend/assets/{AddProvider-DkX4eCfm.js → AddProvider-Bk_BXOY6.js} +1 -1
- music_assistant_frontend/assets/{AlbumDetails-BsdgrAYJ.js → AlbumDetails-DfcrlRJC.js} +1 -1
- music_assistant_frontend/assets/{ArtistDetails-CsUAphBR.js → ArtistDetails-Cp5TEF00.js} +1 -1
- music_assistant_frontend/assets/{AudiobookDetails-BIb5s8Zv.js → AudiobookDetails-BklI0n-g.js} +1 -1
- music_assistant_frontend/assets/BrowseView-CQFO5Hsm.js +1 -0
- music_assistant_frontend/assets/{Button-DuBRDZ5H.js → Button-Dgn90_wu.js} +1 -1
- music_assistant_frontend/assets/{Container-Ba9zpxYD.js → Container-Df6fHx0a.js} +1 -1
- music_assistant_frontend/assets/{CoreConfigs-CkzOTNIn.js → CoreConfigs-DM94xAIj.js} +1 -1
- music_assistant_frontend/assets/{Default-D6TP3Jm-.js → Default-BGgohgt4.js} +1 -1
- music_assistant_frontend/assets/EditConfig-Bq4smwVK.js +1 -0
- music_assistant_frontend/assets/{EditConfig-YcUdPJwu.css → EditConfig-wfh7oeMm.css} +1 -1
- music_assistant_frontend/assets/{EditCoreConfig-C-Y2wa-F.js → EditCoreConfig-BrcupdDY.js} +1 -1
- music_assistant_frontend/assets/{EditPlayer-BnxmbRHK.js → EditPlayer-D39Dt_JR.js} +1 -1
- music_assistant_frontend/assets/{EditPlayerDsp-BEQVfGVO.js → EditPlayerDsp-CbEf2YNk.js} +1 -1
- music_assistant_frontend/assets/{EditProvider-CNXAIJtI.js → EditProvider-cGeRrZqj.js} +1 -1
- music_assistant_frontend/assets/{FrontendConfig-nI-iZiYF.js → FrontendConfig-CHr1I1Il.js} +1 -1
- music_assistant_frontend/assets/{HomeView-Ce92ayyq.js → HomeView-CnzTr0FW.js} +1 -1
- music_assistant_frontend/assets/{ItemsListing-BiUuV7xH.js → ItemsListing-w00UZyUV.js} +1 -1
- music_assistant_frontend/assets/{LibraryAlbums-BXL_C8SP.js → LibraryAlbums-BBs_xIgi.js} +1 -1
- music_assistant_frontend/assets/{LibraryArtists-AQpKovH-.js → LibraryArtists-BeuP2Psy.js} +1 -1
- music_assistant_frontend/assets/{LibraryAudiobooks-DXBp77eB.js → LibraryAudiobooks-BgL5qpIP.js} +1 -1
- music_assistant_frontend/assets/{LibraryPlaylists-B7CqLFrM.js → LibraryPlaylists-DIJFdjQ-.js} +1 -1
- music_assistant_frontend/assets/{LibraryPodcasts-BrBHm2E_.js → LibraryPodcasts-CesVf0Kz.js} +1 -1
- music_assistant_frontend/assets/{LibraryRadios-6zX7mbrf.js → LibraryRadios-yn4GEj2i.js} +1 -1
- music_assistant_frontend/assets/{LibraryTracks-DwwwDc4G.js → LibraryTracks-DOJ0Hzam.js} +1 -1
- music_assistant_frontend/assets/{ListItem-C9oN3n5B.js → ListItem-D82xkCoP.js} +1 -1
- music_assistant_frontend/assets/{MediaItemImages-BcAtpi-0.js → MediaItemImages-C6D6ZZNw.js} +1 -1
- music_assistant_frontend/assets/{MediaItemThumb-DlU5A0Xk.js → MediaItemThumb-BgnQJnC4.js} +1 -1
- music_assistant_frontend/assets/{PanelviewItemCompact-C02MzKrB.js → PanelviewItemCompact-776c11Dw.js} +1 -1
- music_assistant_frontend/assets/{PlayerCard-xwOMlwyO.js → PlayerCard-DnZtb2lD.js} +1 -1
- music_assistant_frontend/assets/{Players-Cwd3tLNd.js → Players-DjkYBHB2.js} +1 -1
- music_assistant_frontend/assets/{PlaylistDetails-D5xWtEb3.js → PlaylistDetails-C4DOse-D.js} +1 -1
- music_assistant_frontend/assets/{PodcastDetails-BeS-c5UX.js → PodcastDetails-DaGCkWSt.js} +1 -1
- music_assistant_frontend/assets/{ProviderDetails.vue_vue_type_script_setup_true_lang-B8-Y1EsQ.js → ProviderDetails.vue_vue_type_script_setup_true_lang-CO2s0dkN.js} +1 -1
- music_assistant_frontend/assets/{Providers-qU-O6ipT.js → Providers-BByWPDY8.js} +1 -1
- music_assistant_frontend/assets/RadioDetails-Bs6chlh0.js +1 -0
- music_assistant_frontend/assets/{Search-CfWWRYM8.js → Search-CVJP5jfP.js} +1 -1
- music_assistant_frontend/assets/{Settings-BoxpC-AY.js → Settings-ChnUKqvF.js} +1 -1
- music_assistant_frontend/assets/{Toolbar-DY-xmIgb.js → Toolbar-D2EfoAlR.js} +1 -1
- music_assistant_frontend/assets/{TrackDetails-CxCr9zVk.js → TrackDetails-C8K3i9HV.js} +1 -1
- music_assistant_frontend/assets/{VAlert-D5iykf6m.js → VAlert-D2DA3ZFe.js} +1 -1
- music_assistant_frontend/assets/{VBtn-DdOAtIy7.js → VBtn-DqyIv1Wk.js} +1 -1
- music_assistant_frontend/assets/{VCheckbox-vj2hwdng.js → VCheckbox-eVQCWG3M.js} +1 -1
- music_assistant_frontend/assets/{VCheckboxBtn-MD5B80pm.js → VCheckboxBtn-DLxQu9yw.js} +1 -1
- music_assistant_frontend/assets/{VContainer-DyrD2LWZ.js → VContainer-BPmvVR0-.js} +1 -1
- music_assistant_frontend/assets/{VDialog-B9rDngSY.js → VDialog-DrY7Fpem.js} +1 -1
- music_assistant_frontend/assets/{VExpansionPanels-RkuO9FTF.js → VExpansionPanels-CfDPGNKc.js} +1 -1
- music_assistant_frontend/assets/{VForm-B7CGpgWF.js → VForm-DHVz3Xn1.js} +1 -1
- music_assistant_frontend/assets/{VInfiniteScroll-C5dQ98z-.js → VInfiniteScroll-B0eycroE.js} +1 -1
- music_assistant_frontend/assets/{VRow-DWz5pLij.js → VRow-CwPnZM2-.js} +1 -1
- music_assistant_frontend/assets/{VSlider-DK886mis.js → VSlider-BRnj1pQr.js} +1 -1
- music_assistant_frontend/assets/VSpacer-BkXa9hHi.js +1 -0
- music_assistant_frontend/assets/{VSwitch-GBJVKpGw.js → VSwitch-CSNhHdCI.js} +1 -1
- music_assistant_frontend/assets/{VTextField-CIE0T_gg.js → VTextField-ClaYK-kH.js} +1 -1
- music_assistant_frontend/assets/{VToolbar-jC3nc5g5.js → VToolbar-DgW7y8TG.js} +1 -1
- music_assistant_frontend/assets/{VVirtualScroll-DSDdQvbo.js → VVirtualScroll-HiNSn0b7.js} +1 -1
- music_assistant_frontend/assets/{WidgetRow-BzQUsRNo.js → WidgetRow-Cpz4kZyo.js} +1 -1
- music_assistant_frontend/assets/{index-DZ2nbxun.js → index-DHdZ3kUo.js} +7 -7
- music_assistant_frontend/assets/{layout-DfAygLWg.js → layout-CyoFEFNl.js} +1 -1
- music_assistant_frontend/assets/{marquee_text_sync-DWPXXev4.js → marquee_text_sync-CWCQ9aST.js} +1 -1
- music_assistant_frontend/index.html +1 -1
- music_assistant_frontend/sw.js +1 -1
- {music_assistant_frontend-2.14.7.dist-info → music_assistant_frontend-2.14.8.dist-info}/METADATA +1 -1
- {music_assistant_frontend-2.14.7.dist-info → music_assistant_frontend-2.14.8.dist-info}/RECORD +69 -69
- music_assistant_frontend/assets/BrowseView-CpLQHtyX.js +0 -1
- music_assistant_frontend/assets/EditConfig-C_jvJeOb.js +0 -1
- music_assistant_frontend/assets/RadioDetails-C2ZrBD_O.js +0 -1
- music_assistant_frontend/assets/VSpacer-DHfFgY3V.js +0 -1
- {music_assistant_frontend-2.14.7.dist-info → music_assistant_frontend-2.14.8.dist-info}/LICENSE +0 -0
- {music_assistant_frontend-2.14.7.dist-info → music_assistant_frontend-2.14.8.dist-info}/WHEEL +0 -0
- {music_assistant_frontend-2.14.7.dist-info → music_assistant_frontend-2.14.8.dist-info}/top_level.txt +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
/* empty css */import{g as C,p as S,c as b,cj as k,I as N,N as j,ck as i,cl as u}from"./index-
|
|
1
|
+
/* empty css */import{g as C,p as S,c as b,cj as k,I as N,N as j,ck as i,cl as u}from"./index-DHdZ3kUo.js";const V=i.reduce((t,a)=>(t[a]={type:[Boolean,String,Number],default:!1},t),{}),v=i.reduce((t,a)=>{const e="offset"+u(a);return t[e]={type:[String,Number],default:null},t},{}),L=i.reduce((t,a)=>{const e="order"+u(a);return t[e]={type:[String,Number],default:null},t},{}),y={col:Object.keys(V),offset:Object.keys(v),order:Object.keys(L)};function G(t,a,e){let s=t;if(!(e==null||e===!1)){if(a){const n=a.replace(t,"");s+=`-${n}`}return t==="col"&&(s="v-"+s),t==="col"&&(e===""||e===!0)||(s+=`-${e}`),s.toLowerCase()}}const I=["auto","start","end","center","baseline","stretch"],_=S({cols:{type:[Boolean,String,Number],default:!1},...V,offset:{type:[String,Number],default:null},...v,order:{type:[String,Number],default:null},...L,alignSelf:{type:String,default:null,validator:t=>I.includes(t)},...j(),...N()},"VCol"),z=C()({name:"VCol",props:_(),setup(t,a){let{slots:e}=a;const s=b(()=>{const n=[];let l;for(l in y)y[l].forEach(o=>{const c=t[o],g=G(l,o,c);g&&n.push(g)});const r=n.some(o=>o.startsWith("v-col-"));return n.push({"v-col":!r||!t.cols,[`v-col-${t.cols}`]:t.cols,[`offset-${t.offset}`]:t.offset,[`order-${t.order}`]:t.order,[`align-self-${t.alignSelf}`]:t.alignSelf}),n});return()=>{var n;return k(t.tag,{class:[s.value,t.class],style:t.style},(n=e.default)==null?void 0:n.call(e))}}}),f=["start","end","center"],$=["space-between","space-around","space-evenly"];function d(t,a){return i.reduce((e,s)=>{const n=t+u(s);return e[n]=a(),e},{})}const R=[...f,"baseline","stretch"],h=t=>R.includes(t),w=d("align",()=>({type:String,default:null,validator:h})),T=[...f,...$],P=t=>T.includes(t),E=d("justify",()=>({type:String,default:null,validator:P})),U=[...f,...$,"stretch"],A=t=>U.includes(t),O=d("alignContent",()=>({type:String,default:null,validator:A})),m={align:Object.keys(w),justify:Object.keys(E),alignContent:Object.keys(O)},B={align:"align",justify:"justify",alignContent:"align-content"};function M(t,a,e){let s=B[t];if(e!=null){if(a){const n=a.replace(t,"");s+=`-${n}`}return s+=`-${e}`,s.toLowerCase()}}const F=S({dense:Boolean,noGutters:Boolean,align:{type:String,default:null,validator:h},...w,justify:{type:String,default:null,validator:P},...E,alignContent:{type:String,default:null,validator:A},...O,...j(),...N()},"VRow"),J=C()({name:"VRow",props:F(),setup(t,a){let{slots:e}=a;const s=b(()=>{const n=[];let l;for(l in m)m[l].forEach(r=>{const o=t[r],c=M(l,r,o);c&&n.push(c)});return n.push({"v-row--no-gutters":t.noGutters,"v-row--dense":t.dense,[`align-${t.align}`]:t.align,[`justify-${t.justify}`]:t.justify,[`align-content-${t.alignContent}`]:t.alignContent}),n});return()=>{var n;return k(t.tag,{class:["v-row",s.value,t.class],style:t.style},(n=e.default)==null?void 0:n.call(e))}}});export{J as V,z as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as X,c as s,cz as ae,f as Q,t as z,s as ne,x as W,cA as ke,K as ye,J as Se,cB as ue,P as pe,aI as ge,g as Z,cy as Ve,aJ as oe,k as we,az as Ce,cC as _e,A as ee,a as A,B as i,aG as se,aH as xe,cD as Te,aP as Fe,N as ce,m as Pe,j as re,q as ze,D as Me,G as Ne}from"./index-DZ2nbxun.js";import{u as Re,V as ie,m as Ee,e as Le,d as Be}from"./VCheckboxBtn-MD5B80pm.js";const te=Symbol.for("vuetify:v-slider");function De(e,t,a){const o=a==="vertical",c=t.getBoundingClientRect(),k="touches"in e?e.touches[0]:e;return o?k.clientY-(c.top+c.height/2):k.clientX-(c.left+c.width/2)}function Ie(e,t){return"touches"in e&&e.touches.length?e.touches[0][t]:"changedTouches"in e&&e.changedTouches.length?e.changedTouches[0][t]:e[t]}const qe=X({disabled:{type:Boolean,default:null},error:Boolean,readonly:{type:Boolean,default:null},max:{type:[Number,String],default:100},min:{type:[Number,String],default:0},step:{type:[Number,String],default:0},thumbColor:String,thumbLabel:{type:[Boolean,String],default:void 0,validator:e=>typeof e=="boolean"||e==="always"},thumbSize:{type:[Number,String],default:20},showTicks:{type:[Boolean,String],default:!1,validator:e=>typeof e=="boolean"||e==="always"},ticks:{type:[Array,Object]},tickSize:{type:[Number,String],default:2},color:String,trackColor:String,trackFillColor:String,trackSize:{type:[Number,String],default:4},direction:{type:String,default:"horizontal",validator:e=>["vertical","horizontal"].includes(e)},reverse:Boolean,...Se(),...ye({elevation:2}),ripple:{type:Boolean,default:!0}},"Slider"),Ae=e=>{const t=s(()=>parseFloat(e.min)),a=s(()=>parseFloat(e.max)),o=s(()=>Number(e.step)>0?parseFloat(e.step):0),c=s(()=>Math.max(ae(o.value),ae(t.value)));function k(y){if(y=parseFloat(y),o.value<=0)return y;const v=ue(y,t.value,a.value),S=t.value%o.value,_=Math.round((v-S)/o.value)*o.value+S;return parseFloat(Math.min(_,a.value).toFixed(c.value))}return{min:t,max:a,step:o,decimals:c,roundValue:k}},Ke=e=>{let{props:t,steps:a,onSliderStart:o,onSliderMove:c,onSliderEnd:k,getActiveThumb:y}=e;const{isRtl:v}=Q(),S=z(t,"reverse"),_=s(()=>t.direction==="vertical"),x=s(()=>_.value!==S.value),{min:b,max:g,step:T,decimals:E,roundValue:M}=a,D=s(()=>parseInt(t.thumbSize,10)),L=s(()=>parseInt(t.tickSize,10)),N=s(()=>parseInt(t.trackSize,10)),F=s(()=>(g.value-b.value)/T.value),I=z(t,"disabled"),P=s(()=>t.error||t.disabled?void 0:t.thumbColor??t.color),u=s(()=>t.error||t.disabled?void 0:t.trackColor??t.color),V=s(()=>t.error||t.disabled?void 0:t.trackFillColor??t.color),m=ne(!1),f=ne(0),w=W(),C=W();function r(l){var le;const n=(le=w.value)==null?void 0:le.$el;if(!n)return;const q=t.direction==="vertical",de=q?"top":"left",ve=q?"height":"width",me=q?"clientY":"clientX",{[de]:fe,[ve]:be}=n.getBoundingClientRect(),he=Ie(l,me);let H=Math.min(Math.max((he-fe-f.value)/be,0),1)||0;return(q?x.value:x.value!==v.value)&&(H=1-H),M(b.value+H*(g.value-b.value))}const R=l=>{const n=r(l);n!=null&&k({value:n}),m.value=!1,f.value=0},B=l=>{const n=r(l);C.value=y(l),C.value&&(m.value=!0,C.value.contains(l.target)?f.value=De(l,C.value,t.direction):(f.value=0,n!=null&&c({value:n})),n!=null&&o({value:n}),pe(()=>{var q;return(q=C.value)==null?void 0:q.focus()}))},p={passive:!0,capture:!0};function K(l){const n=r(l);n!=null&&c({value:n})}function $(l){l.stopPropagation(),l.preventDefault(),R(l),window.removeEventListener("mousemove",K,p),window.removeEventListener("mouseup",$)}function U(l){var n;R(l),window.removeEventListener("touchmove",K,p),(n=l.target)==null||n.removeEventListener("touchend",U)}function Y(l){var n;B(l),window.addEventListener("touchmove",K,p),(n=l.target)==null||n.addEventListener("touchend",U,{passive:!1})}function h(l){l.button===0&&(l.preventDefault(),B(l),window.addEventListener("mousemove",K,p),window.addEventListener("mouseup",$,{passive:!1}))}const d=l=>{const n=(l-b.value)/(g.value-b.value)*100;return ue(isNaN(n)?0:n,0,100)},O=z(t,"showTicks"),j=s(()=>O.value?t.ticks?Array.isArray(t.ticks)?t.ticks.map(l=>({value:l,position:d(l),label:l.toString()})):Object.keys(t.ticks).map(l=>({value:parseFloat(l),position:d(parseFloat(l)),label:t.ticks[l]})):F.value!==1/0?ke(F.value+1).map(l=>{const n=b.value+l*T.value;return{value:n,position:d(n)}}):[]:[]),G=s(()=>j.value.some(l=>{let{label:n}=l;return!!n})),J={activeThumbRef:C,color:z(t,"color"),decimals:E,disabled:I,direction:z(t,"direction"),elevation:z(t,"elevation"),hasLabels:G,isReversed:S,indexFromEnd:x,min:b,max:g,mousePressed:m,numTicks:F,onSliderMousedown:h,onSliderTouchstart:Y,parsedTicks:j,parseMouseMove:r,position:d,readonly:z(t,"readonly"),rounded:z(t,"rounded"),roundValue:M,showTicks:O,startOffset:f,step:T,thumbSize:D,thumbColor:P,thumbLabel:z(t,"thumbLabel"),ticks:z(t,"ticks"),tickSize:L,trackColor:u,trackContainerRef:w,trackFillColor:V,trackSize:N,vertical:_};return ge(te,J),J},Oe=X({focused:Boolean,max:{type:Number,required:!0},min:{type:Number,required:!0},modelValue:{type:Number,required:!0},position:{type:Number,required:!0},ripple:{type:[Boolean,Object],default:!0},name:String,...ce()},"VSliderThumb"),je=Z()({name:"VSliderThumb",directives:{Ripple:Ve},props:Oe(),emits:{"update:modelValue":e=>!0},setup(e,t){let{slots:a,emit:o}=t;const c=oe(te),{isRtl:k,rtlClasses:y}=Q();if(!c)throw new Error("[Vuetify] v-slider-thumb must be used inside v-slider or v-range-slider");const{thumbColor:v,step:S,disabled:_,thumbSize:x,thumbLabel:b,direction:g,isReversed:T,vertical:E,readonly:M,elevation:D,mousePressed:L,decimals:N,indexFromEnd:F}=c,I=s(()=>_.value?void 0:D.value),{elevationClasses:P}=we(I),{textColorClasses:u,textColorStyles:V}=Ce(v),{pageup:m,pagedown:f,end:w,home:C,left:r,right:R,down:B,up:p}=_e,K=[m,f,w,C,r,R,B,p],$=s(()=>S.value?[1,2,3]:[1,5,10]);function U(h,d){if(!K.includes(h.key))return;h.preventDefault();const O=S.value||.1,j=(e.max-e.min)/O;if([r,R,B,p].includes(h.key)){const J=(E.value?[k.value?r:R,T.value?B:p]:F.value!==k.value?[r,p]:[R,p]).includes(h.key)?1:-1,l=h.shiftKey?2:h.ctrlKey?1:0;d=d+J*O*$.value[l]}else if(h.key===C)d=e.min;else if(h.key===w)d=e.max;else{const G=h.key===f?1:-1;d=d-G*O*(j>100?j/10:10)}return Math.max(e.min,Math.min(e.max,d))}function Y(h){const d=U(h,e.modelValue);d!=null&&o("update:modelValue",d)}return ee(()=>{const h=A(F.value?100-e.position:e.position,"%");return i("div",{class:["v-slider-thumb",{"v-slider-thumb--focused":e.focused,"v-slider-thumb--pressed":e.focused&&L.value},e.class,y.value],style:[{"--v-slider-thumb-position":h,"--v-slider-thumb-size":A(x.value)},e.style],role:"slider",tabindex:_.value?-1:0,"aria-label":e.name,"aria-valuemin":e.min,"aria-valuemax":e.max,"aria-valuenow":e.modelValue,"aria-readonly":!!M.value,"aria-orientation":g.value,onKeydown:M.value?void 0:Y},[i("div",{class:["v-slider-thumb__surface",u.value,P.value],style:{...V.value}},null),se(i("div",{class:["v-slider-thumb__ripple",u.value],style:V.value},null),[[xe("ripple"),e.ripple,null,{circle:!0,center:!0}]]),i(Te,{origin:"bottom center"},{default:()=>{var d;return[se(i("div",{class:"v-slider-thumb__label-container"},[i("div",{class:["v-slider-thumb__label"]},[i("div",null,[((d=a["thumb-label"])==null?void 0:d.call(a,{modelValue:e.modelValue}))??e.modelValue.toFixed(S.value?N.value:1)])])]),[[Fe,b.value&&e.focused||b.value==="always"]])]}})])}),{}}}),$e=X({start:{type:Number,required:!0},stop:{type:Number,required:!0},...ce()},"VSliderTrack"),Ue=Z()({name:"VSliderTrack",props:$e(),emits:{},setup(e,t){let{slots:a}=t;const o=oe(te);if(!o)throw new Error("[Vuetify] v-slider-track must be inside v-slider or v-range-slider");const{color:c,parsedTicks:k,rounded:y,showTicks:v,tickSize:S,trackColor:_,trackFillColor:x,trackSize:b,vertical:g,min:T,max:E,indexFromEnd:M}=o,{roundedClasses:D}=Pe(y),{backgroundColorClasses:L,backgroundColorStyles:N}=re(x),{backgroundColorClasses:F,backgroundColorStyles:I}=re(_),P=s(()=>`inset-${g.value?"block":"inline"}-${M.value?"end":"start"}`),u=s(()=>g.value?"height":"width"),V=s(()=>({[P.value]:"0%",[u.value]:"100%"})),m=s(()=>e.stop-e.start),f=s(()=>({[P.value]:A(e.start,"%"),[u.value]:A(m.value,"%")})),w=s(()=>v.value?(g.value?k.value.slice().reverse():k.value).map((r,R)=>{var p;const B=r.value!==T.value&&r.value!==E.value?A(r.position,"%"):void 0;return i("div",{key:r.value,class:["v-slider-track__tick",{"v-slider-track__tick--filled":r.position>=e.start&&r.position<=e.stop,"v-slider-track__tick--first":r.value===T.value,"v-slider-track__tick--last":r.value===E.value}],style:{[P.value]:B}},[(r.label||a["tick-label"])&&i("div",{class:"v-slider-track__tick-label"},[((p=a["tick-label"])==null?void 0:p.call(a,{tick:r,index:R}))??r.label])])}):[]);return ee(()=>i("div",{class:["v-slider-track",D.value,e.class],style:[{"--v-slider-track-size":A(b.value),"--v-slider-tick-size":A(S.value)},e.style]},[i("div",{class:["v-slider-track__background",F.value,{"v-slider-track__background--opacity":!!c.value||!x.value}],style:{...V.value,...I.value}},null),i("div",{class:["v-slider-track__fill",L.value],style:{...f.value,...N.value}},null),v.value&&i("div",{class:["v-slider-track__ticks",{"v-slider-track__ticks--always-show":v.value==="always"}]},[w.value])])),{}}}),Ge=X({...Le(),...qe(),...Ee(),modelValue:{type:[Number,String],default:0}},"VSlider"),Ye=Z()({name:"VSlider",props:Ge(),emits:{"update:focused":e=>!0,"update:modelValue":e=>!0,start:e=>!0,end:e=>!0},setup(e,t){let{slots:a,emit:o}=t;const c=W(),{rtlClasses:k}=Q(),y=Ae(e),v=ze(e,"modelValue",void 0,u=>y.roundValue(u??y.min.value)),{min:S,max:_,mousePressed:x,roundValue:b,onSliderMousedown:g,onSliderTouchstart:T,trackContainerRef:E,position:M,hasLabels:D,readonly:L}=Ke({props:e,steps:y,onSliderStart:()=>{o("start",v.value)},onSliderEnd:u=>{let{value:V}=u;const m=b(V);v.value=m,o("end",m)},onSliderMove:u=>{let{value:V}=u;return v.value=b(V)},getActiveThumb:()=>{var u;return(u=c.value)==null?void 0:u.$el}}),{isFocused:N,focus:F,blur:I}=Re(e),P=s(()=>M(v.value));return ee(()=>{const u=ie.filterProps(e),V=!!(e.label||a.label||a.prepend);return i(ie,Me({class:["v-slider",{"v-slider--has-labels":!!a["tick-label"]||D.value,"v-slider--focused":N.value,"v-slider--pressed":x.value,"v-slider--disabled":e.disabled},k.value,e.class],style:e.style},u,{focused:N.value}),{...a,prepend:V?m=>{var f,w;return i(Ne,null,[((f=a.label)==null?void 0:f.call(a,m))??(e.label?i(Be,{id:m.id.value,class:"v-slider__label",text:e.label},null):void 0),(w=a.prepend)==null?void 0:w.call(a,m)])}:void 0,default:m=>{let{id:f,messagesId:w}=m;return i("div",{class:"v-slider__container",onMousedown:L.value?void 0:g,onTouchstartPassive:L.value?void 0:T},[i("input",{id:f.value,name:e.name||f.value,disabled:!!e.disabled,readonly:!!e.readonly,tabindex:"-1",value:v.value},null),i(Ue,{ref:E,start:0,stop:P.value},{"tick-label":a["tick-label"]}),i(je,{ref:c,"aria-describedby":w.value,focused:N.value,min:S.value,max:_.value,modelValue:v.value,"onUpdate:modelValue":C=>v.value=C,position:P.value,elevation:e.elevation,onFocus:F,onBlur:I,ripple:e.ripple,name:e.name},{"thumb-label":a["thumb-label"]})])}})}),{}}});export{Ye as V};
|
|
1
|
+
import{p as X,c as s,cz as ae,f as Q,t as z,s as ne,x as W,cA as ke,K as ye,J as Se,cB as ue,P as pe,aI as ge,g as Z,cy as Ve,aJ as oe,k as we,az as Ce,cC as _e,A as ee,a as A,B as i,aG as se,aH as xe,cD as Te,aP as Fe,N as ce,m as Pe,j as re,q as ze,D as Me,G as Ne}from"./index-DHdZ3kUo.js";import{u as Re,V as ie,m as Ee,e as Le,d as Be}from"./VCheckboxBtn-DLxQu9yw.js";const te=Symbol.for("vuetify:v-slider");function De(e,t,a){const o=a==="vertical",c=t.getBoundingClientRect(),k="touches"in e?e.touches[0]:e;return o?k.clientY-(c.top+c.height/2):k.clientX-(c.left+c.width/2)}function Ie(e,t){return"touches"in e&&e.touches.length?e.touches[0][t]:"changedTouches"in e&&e.changedTouches.length?e.changedTouches[0][t]:e[t]}const qe=X({disabled:{type:Boolean,default:null},error:Boolean,readonly:{type:Boolean,default:null},max:{type:[Number,String],default:100},min:{type:[Number,String],default:0},step:{type:[Number,String],default:0},thumbColor:String,thumbLabel:{type:[Boolean,String],default:void 0,validator:e=>typeof e=="boolean"||e==="always"},thumbSize:{type:[Number,String],default:20},showTicks:{type:[Boolean,String],default:!1,validator:e=>typeof e=="boolean"||e==="always"},ticks:{type:[Array,Object]},tickSize:{type:[Number,String],default:2},color:String,trackColor:String,trackFillColor:String,trackSize:{type:[Number,String],default:4},direction:{type:String,default:"horizontal",validator:e=>["vertical","horizontal"].includes(e)},reverse:Boolean,...Se(),...ye({elevation:2}),ripple:{type:Boolean,default:!0}},"Slider"),Ae=e=>{const t=s(()=>parseFloat(e.min)),a=s(()=>parseFloat(e.max)),o=s(()=>Number(e.step)>0?parseFloat(e.step):0),c=s(()=>Math.max(ae(o.value),ae(t.value)));function k(y){if(y=parseFloat(y),o.value<=0)return y;const v=ue(y,t.value,a.value),S=t.value%o.value,_=Math.round((v-S)/o.value)*o.value+S;return parseFloat(Math.min(_,a.value).toFixed(c.value))}return{min:t,max:a,step:o,decimals:c,roundValue:k}},Ke=e=>{let{props:t,steps:a,onSliderStart:o,onSliderMove:c,onSliderEnd:k,getActiveThumb:y}=e;const{isRtl:v}=Q(),S=z(t,"reverse"),_=s(()=>t.direction==="vertical"),x=s(()=>_.value!==S.value),{min:b,max:g,step:T,decimals:E,roundValue:M}=a,D=s(()=>parseInt(t.thumbSize,10)),L=s(()=>parseInt(t.tickSize,10)),N=s(()=>parseInt(t.trackSize,10)),F=s(()=>(g.value-b.value)/T.value),I=z(t,"disabled"),P=s(()=>t.error||t.disabled?void 0:t.thumbColor??t.color),u=s(()=>t.error||t.disabled?void 0:t.trackColor??t.color),V=s(()=>t.error||t.disabled?void 0:t.trackFillColor??t.color),m=ne(!1),f=ne(0),w=W(),C=W();function r(l){var le;const n=(le=w.value)==null?void 0:le.$el;if(!n)return;const q=t.direction==="vertical",de=q?"top":"left",ve=q?"height":"width",me=q?"clientY":"clientX",{[de]:fe,[ve]:be}=n.getBoundingClientRect(),he=Ie(l,me);let H=Math.min(Math.max((he-fe-f.value)/be,0),1)||0;return(q?x.value:x.value!==v.value)&&(H=1-H),M(b.value+H*(g.value-b.value))}const R=l=>{const n=r(l);n!=null&&k({value:n}),m.value=!1,f.value=0},B=l=>{const n=r(l);C.value=y(l),C.value&&(m.value=!0,C.value.contains(l.target)?f.value=De(l,C.value,t.direction):(f.value=0,n!=null&&c({value:n})),n!=null&&o({value:n}),pe(()=>{var q;return(q=C.value)==null?void 0:q.focus()}))},p={passive:!0,capture:!0};function K(l){const n=r(l);n!=null&&c({value:n})}function $(l){l.stopPropagation(),l.preventDefault(),R(l),window.removeEventListener("mousemove",K,p),window.removeEventListener("mouseup",$)}function U(l){var n;R(l),window.removeEventListener("touchmove",K,p),(n=l.target)==null||n.removeEventListener("touchend",U)}function Y(l){var n;B(l),window.addEventListener("touchmove",K,p),(n=l.target)==null||n.addEventListener("touchend",U,{passive:!1})}function h(l){l.button===0&&(l.preventDefault(),B(l),window.addEventListener("mousemove",K,p),window.addEventListener("mouseup",$,{passive:!1}))}const d=l=>{const n=(l-b.value)/(g.value-b.value)*100;return ue(isNaN(n)?0:n,0,100)},O=z(t,"showTicks"),j=s(()=>O.value?t.ticks?Array.isArray(t.ticks)?t.ticks.map(l=>({value:l,position:d(l),label:l.toString()})):Object.keys(t.ticks).map(l=>({value:parseFloat(l),position:d(parseFloat(l)),label:t.ticks[l]})):F.value!==1/0?ke(F.value+1).map(l=>{const n=b.value+l*T.value;return{value:n,position:d(n)}}):[]:[]),G=s(()=>j.value.some(l=>{let{label:n}=l;return!!n})),J={activeThumbRef:C,color:z(t,"color"),decimals:E,disabled:I,direction:z(t,"direction"),elevation:z(t,"elevation"),hasLabels:G,isReversed:S,indexFromEnd:x,min:b,max:g,mousePressed:m,numTicks:F,onSliderMousedown:h,onSliderTouchstart:Y,parsedTicks:j,parseMouseMove:r,position:d,readonly:z(t,"readonly"),rounded:z(t,"rounded"),roundValue:M,showTicks:O,startOffset:f,step:T,thumbSize:D,thumbColor:P,thumbLabel:z(t,"thumbLabel"),ticks:z(t,"ticks"),tickSize:L,trackColor:u,trackContainerRef:w,trackFillColor:V,trackSize:N,vertical:_};return ge(te,J),J},Oe=X({focused:Boolean,max:{type:Number,required:!0},min:{type:Number,required:!0},modelValue:{type:Number,required:!0},position:{type:Number,required:!0},ripple:{type:[Boolean,Object],default:!0},name:String,...ce()},"VSliderThumb"),je=Z()({name:"VSliderThumb",directives:{Ripple:Ve},props:Oe(),emits:{"update:modelValue":e=>!0},setup(e,t){let{slots:a,emit:o}=t;const c=oe(te),{isRtl:k,rtlClasses:y}=Q();if(!c)throw new Error("[Vuetify] v-slider-thumb must be used inside v-slider or v-range-slider");const{thumbColor:v,step:S,disabled:_,thumbSize:x,thumbLabel:b,direction:g,isReversed:T,vertical:E,readonly:M,elevation:D,mousePressed:L,decimals:N,indexFromEnd:F}=c,I=s(()=>_.value?void 0:D.value),{elevationClasses:P}=we(I),{textColorClasses:u,textColorStyles:V}=Ce(v),{pageup:m,pagedown:f,end:w,home:C,left:r,right:R,down:B,up:p}=_e,K=[m,f,w,C,r,R,B,p],$=s(()=>S.value?[1,2,3]:[1,5,10]);function U(h,d){if(!K.includes(h.key))return;h.preventDefault();const O=S.value||.1,j=(e.max-e.min)/O;if([r,R,B,p].includes(h.key)){const J=(E.value?[k.value?r:R,T.value?B:p]:F.value!==k.value?[r,p]:[R,p]).includes(h.key)?1:-1,l=h.shiftKey?2:h.ctrlKey?1:0;d=d+J*O*$.value[l]}else if(h.key===C)d=e.min;else if(h.key===w)d=e.max;else{const G=h.key===f?1:-1;d=d-G*O*(j>100?j/10:10)}return Math.max(e.min,Math.min(e.max,d))}function Y(h){const d=U(h,e.modelValue);d!=null&&o("update:modelValue",d)}return ee(()=>{const h=A(F.value?100-e.position:e.position,"%");return i("div",{class:["v-slider-thumb",{"v-slider-thumb--focused":e.focused,"v-slider-thumb--pressed":e.focused&&L.value},e.class,y.value],style:[{"--v-slider-thumb-position":h,"--v-slider-thumb-size":A(x.value)},e.style],role:"slider",tabindex:_.value?-1:0,"aria-label":e.name,"aria-valuemin":e.min,"aria-valuemax":e.max,"aria-valuenow":e.modelValue,"aria-readonly":!!M.value,"aria-orientation":g.value,onKeydown:M.value?void 0:Y},[i("div",{class:["v-slider-thumb__surface",u.value,P.value],style:{...V.value}},null),se(i("div",{class:["v-slider-thumb__ripple",u.value],style:V.value},null),[[xe("ripple"),e.ripple,null,{circle:!0,center:!0}]]),i(Te,{origin:"bottom center"},{default:()=>{var d;return[se(i("div",{class:"v-slider-thumb__label-container"},[i("div",{class:["v-slider-thumb__label"]},[i("div",null,[((d=a["thumb-label"])==null?void 0:d.call(a,{modelValue:e.modelValue}))??e.modelValue.toFixed(S.value?N.value:1)])])]),[[Fe,b.value&&e.focused||b.value==="always"]])]}})])}),{}}}),$e=X({start:{type:Number,required:!0},stop:{type:Number,required:!0},...ce()},"VSliderTrack"),Ue=Z()({name:"VSliderTrack",props:$e(),emits:{},setup(e,t){let{slots:a}=t;const o=oe(te);if(!o)throw new Error("[Vuetify] v-slider-track must be inside v-slider or v-range-slider");const{color:c,parsedTicks:k,rounded:y,showTicks:v,tickSize:S,trackColor:_,trackFillColor:x,trackSize:b,vertical:g,min:T,max:E,indexFromEnd:M}=o,{roundedClasses:D}=Pe(y),{backgroundColorClasses:L,backgroundColorStyles:N}=re(x),{backgroundColorClasses:F,backgroundColorStyles:I}=re(_),P=s(()=>`inset-${g.value?"block":"inline"}-${M.value?"end":"start"}`),u=s(()=>g.value?"height":"width"),V=s(()=>({[P.value]:"0%",[u.value]:"100%"})),m=s(()=>e.stop-e.start),f=s(()=>({[P.value]:A(e.start,"%"),[u.value]:A(m.value,"%")})),w=s(()=>v.value?(g.value?k.value.slice().reverse():k.value).map((r,R)=>{var p;const B=r.value!==T.value&&r.value!==E.value?A(r.position,"%"):void 0;return i("div",{key:r.value,class:["v-slider-track__tick",{"v-slider-track__tick--filled":r.position>=e.start&&r.position<=e.stop,"v-slider-track__tick--first":r.value===T.value,"v-slider-track__tick--last":r.value===E.value}],style:{[P.value]:B}},[(r.label||a["tick-label"])&&i("div",{class:"v-slider-track__tick-label"},[((p=a["tick-label"])==null?void 0:p.call(a,{tick:r,index:R}))??r.label])])}):[]);return ee(()=>i("div",{class:["v-slider-track",D.value,e.class],style:[{"--v-slider-track-size":A(b.value),"--v-slider-tick-size":A(S.value)},e.style]},[i("div",{class:["v-slider-track__background",F.value,{"v-slider-track__background--opacity":!!c.value||!x.value}],style:{...V.value,...I.value}},null),i("div",{class:["v-slider-track__fill",L.value],style:{...f.value,...N.value}},null),v.value&&i("div",{class:["v-slider-track__ticks",{"v-slider-track__ticks--always-show":v.value==="always"}]},[w.value])])),{}}}),Ge=X({...Le(),...qe(),...Ee(),modelValue:{type:[Number,String],default:0}},"VSlider"),Ye=Z()({name:"VSlider",props:Ge(),emits:{"update:focused":e=>!0,"update:modelValue":e=>!0,start:e=>!0,end:e=>!0},setup(e,t){let{slots:a,emit:o}=t;const c=W(),{rtlClasses:k}=Q(),y=Ae(e),v=ze(e,"modelValue",void 0,u=>y.roundValue(u??y.min.value)),{min:S,max:_,mousePressed:x,roundValue:b,onSliderMousedown:g,onSliderTouchstart:T,trackContainerRef:E,position:M,hasLabels:D,readonly:L}=Ke({props:e,steps:y,onSliderStart:()=>{o("start",v.value)},onSliderEnd:u=>{let{value:V}=u;const m=b(V);v.value=m,o("end",m)},onSliderMove:u=>{let{value:V}=u;return v.value=b(V)},getActiveThumb:()=>{var u;return(u=c.value)==null?void 0:u.$el}}),{isFocused:N,focus:F,blur:I}=Re(e),P=s(()=>M(v.value));return ee(()=>{const u=ie.filterProps(e),V=!!(e.label||a.label||a.prepend);return i(ie,Me({class:["v-slider",{"v-slider--has-labels":!!a["tick-label"]||D.value,"v-slider--focused":N.value,"v-slider--pressed":x.value,"v-slider--disabled":e.disabled},k.value,e.class],style:e.style},u,{focused:N.value}),{...a,prepend:V?m=>{var f,w;return i(Ne,null,[((f=a.label)==null?void 0:f.call(a,m))??(e.label?i(Be,{id:m.id.value,class:"v-slider__label",text:e.label},null):void 0),(w=a.prepend)==null?void 0:w.call(a,m)])}:void 0,default:m=>{let{id:f,messagesId:w}=m;return i("div",{class:"v-slider__container",onMousedown:L.value?void 0:g,onTouchstartPassive:L.value?void 0:T},[i("input",{id:f.value,name:e.name||f.value,disabled:!!e.disabled,readonly:!!e.readonly,tabindex:"-1",value:v.value},null),i(Ue,{ref:E,start:0,stop:P.value},{"tick-label":a["tick-label"]}),i(je,{ref:c,"aria-describedby":w.value,focused:N.value,min:S.value,max:_.value,modelValue:v.value,"onUpdate:modelValue":C=>v.value=C,position:P.value,elevation:e.elevation,onFocus:F,onBlur:I,ripple:e.ripple,name:e.name},{"thumb-label":a["thumb-label"]})])}})}),{}}});export{Ye as V};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
/* empty css */import{cE as r}from"./index-DHdZ3kUo.js";const e=r("v-spacer","div","VSpacer");export{e as V};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{V as oe,m as ye}from"./VTextField-CIE0T_gg.js";import{s as de,w as Q,g as fe,p as le,aF as Ve,x as K,q as z,c as b,cp as ke,cn as we,cr as Z,A as ve,B as a,D as I,aA as be,c6 as Ce,aB as Pe,cF as Se,ct as ue,cu as ee,cH as ie,P as xe,cI as Ae,c7 as De,G as $,an as te,ap as Ie,a1 as Fe,X as se,bA as Te,cw as Be,bo as _e,F as me,ao as Re,cJ as Le,bZ as Ee,b_ as Oe,cD as He,cK as Me}from"./index-DZ2nbxun.js";import{c as Ue,a as qe,u as Ke,V as ce,h as re,i as Ne,m as $e}from"./VCheckboxBtn-MD5B80pm.js";import{V as ze}from"./VVirtualScroll-DSDdQvbo.js";import{b as je}from"./VBtn-DdOAtIy7.js";function We(e,O){const l=de(!1);let c;function r(s){cancelAnimationFrame(c),l.value=!0,c=requestAnimationFrame(()=>{c=requestAnimationFrame(()=>{l.value=!1})})}async function p(){await new Promise(s=>requestAnimationFrame(s)),await new Promise(s=>requestAnimationFrame(s)),await new Promise(s=>requestAnimationFrame(s)),await new Promise(s=>{if(l.value){const o=Q(l,()=>{o(),s()})}else s()})}async function C(s){var F,T;if(s.key==="Tab"&&((F=O.value)==null||F.focus()),!["PageDown","PageUp","Home","End"].includes(s.key))return;const o=(T=e.value)==null?void 0:T.$el;if(!o)return;(s.key==="Home"||s.key==="End")&&o.scrollTo({top:s.key==="Home"?0:o.scrollHeight,behavior:"smooth"}),await p();const y=o.querySelectorAll(":scope > :not(.v-virtual-scroll__spacer)");if(s.key==="PageDown"||s.key==="Home"){const u=o.getBoundingClientRect().top;for(const V of y)if(V.getBoundingClientRect().top>=u){V.focus();break}}else{const u=o.getBoundingClientRect().bottom;for(const V of[...y].reverse())if(V.getBoundingClientRect().bottom<=u){V.focus();break}}}return{onScrollPassive:r,onKeydown:C}}const Ge=le({chips:Boolean,closableChips:Boolean,closeText:{type:String,default:"$vuetify.close"},openText:{type:String,default:"$vuetify.open"},eager:Boolean,hideNoData:Boolean,hideSelected:Boolean,listProps:{type:Object},menu:Boolean,menuIcon:{type:De,default:"$dropdown"},menuProps:{type:Object},multiple:Boolean,noDataText:{type:String,default:"$vuetify.noDataText"},openOnClear:Boolean,itemColor:String,...Ae({itemChildren:!1})},"Select"),Je=le({...Ge(),...Pe(ye({modelValue:null,role:"combobox"}),["validationValue","dirty","appendInnerIcon"]),...Ce({transition:{component:Se}})},"VSelect"),lt=fe()({name:"VSelect",props:Je(),emits:{"update:focused":e=>!0,"update:modelValue":e=>!0,"update:menu":e=>!0},setup(e,O){let{slots:l}=O;const{t:c}=Ve(),r=K(),p=K(),C=K(),s=z(e,"menu"),o=b({get:()=>s.value,set:t=>{var n;s.value&&!t&&((n=p.value)!=null&&n.ΨopenChildren.size)||(s.value=t)}}),{items:y,transformIn:F,transformOut:T}=ke(e),u=z(e,"modelValue",[],t=>F(t===null?[null]:we(t)),t=>{const n=T(t);return e.multiple?n:n[0]??null}),V=b(()=>typeof e.counterValue=="function"?e.counterValue(u.value):typeof e.counterValue=="number"?e.counterValue:u.value.length),H=Ue(e),j=b(()=>u.value.map(t=>t.value)),k=de(!1),B=b(()=>o.value?e.closeText:e.openText);let P="",_;const S=b(()=>e.hideSelected?y.value.filter(t=>!u.value.some(n=>(e.valueComparator||Z)(n,t))):y.value),E=b(()=>e.hideNoData&&!S.value.length||H.isReadonly.value||H.isDisabled.value),W=b(()=>{var t;return{...e.menuProps,activatorProps:{...((t=e.menuProps)==null?void 0:t.activatorProps)||{},"aria-haspopup":"listbox"}}}),R=K(),G=We(R,r);function J(t){e.openOnClear&&(o.value=!0)}function N(){E.value||(o.value=!o.value)}function M(t){ue(t)&&x(t)}function x(t){var w,i;if(!t.key||H.isReadonly.value)return;["Enter"," ","ArrowDown","ArrowUp","Home","End"].includes(t.key)&&t.preventDefault(),["Enter","ArrowDown"," "].includes(t.key)&&(o.value=!0),["Escape","Tab"].includes(t.key)&&(o.value=!1),t.key==="Home"?(w=R.value)==null||w.focus("first"):t.key==="End"&&((i=R.value)==null||i.focus("last"));const n=1e3;if(!ue(t))return;const d=performance.now();d-_>n&&(P=""),P+=t.key.toLowerCase(),_=d;const D=y.value.find(f=>f.title.toLowerCase().startsWith(P));if(D!==void 0){u.value=[D];const f=S.value.indexOf(D);ee&&window.requestAnimationFrame(()=>{var v;f>=0&&((v=C.value)==null||v.scrollToIndex(f))})}}function A(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;if(!t.props.disabled)if(e.multiple){const d=u.value.findIndex(w=>(e.valueComparator||Z)(w.value,t.value)),D=n??!~d;if(~d){const w=D?[...u.value,t]:[...u.value];w.splice(d,1),u.value=w}else D&&(u.value=[...u.value,t])}else{const d=n!==!1;u.value=d?[t]:[],xe(()=>{o.value=!1})}}function g(t){var n;(n=R.value)!=null&&n.$el.contains(t.relatedTarget)||(o.value=!1)}function X(){var t;e.eager&&((t=C.value)==null||t.calculateVisibleItems())}function Y(){var t;k.value&&((t=r.value)==null||t.focus())}function U(t){k.value=!0}function he(t){if(t==null)u.value=[];else if(ie(r.value,":autofill")||ie(r.value,":-webkit-autofill")){const n=y.value.find(d=>d.title===t);n&&A(n)}else r.value&&(r.value.value="")}return Q(o,()=>{if(!e.hideSelected&&o.value&&u.value.length){const t=S.value.findIndex(n=>u.value.some(d=>(e.valueComparator||Z)(d.value,n.value)));ee&&window.requestAnimationFrame(()=>{var n;t>=0&&((n=C.value)==null||n.scrollToIndex(t))})}}),Q(()=>e.items,(t,n)=>{o.value||k.value&&!n.length&&t.length&&(o.value=!0)}),ve(()=>{const t=!!(e.chips||l.chip),n=!!(!e.hideNoData||S.value.length||l["prepend-item"]||l["append-item"]||l["no-data"]),d=u.value.length>0,D=oe.filterProps(e),w=d||!k.value&&e.label&&!e.persistentPlaceholder?void 0:e.placeholder;return a(oe,I({ref:r},D,{modelValue:u.value.map(i=>i.props.value).join(", "),"onUpdate:modelValue":he,focused:k.value,"onUpdate:focused":i=>k.value=i,validationValue:u.externalValue,counterValue:V.value,dirty:d,class:["v-select",{"v-select--active-menu":o.value,"v-select--chips":!!e.chips,[`v-select--${e.multiple?"multiple":"single"}`]:!0,"v-select--selected":u.value.length,"v-select--selection-slot":!!l.selection},e.class],style:e.style,inputmode:"none",placeholder:w,"onClick:clear":J,"onMousedown:control":N,onBlur:g,onKeydown:x,"aria-label":c(B.value),title:c(B.value)}),{...l,default:()=>a($,null,[a(Ie,I({ref:p,modelValue:o.value,"onUpdate:modelValue":i=>o.value=i,activator:"parent",contentClass:"v-select__content",disabled:E.value,eager:e.eager,maxHeight:310,openOnClick:!1,closeOnContentClick:!1,transition:e.transition,onAfterEnter:X,onAfterLeave:Y},W.value),{default:()=>[n&&a(Fe,I({ref:R,selected:j.value,selectStrategy:e.multiple?"independent":"single-independent",onMousedown:i=>i.preventDefault(),onKeydown:M,onFocusin:U,tabindex:"-1","aria-live":"polite",color:e.itemColor??e.color},G,e.listProps),{default:()=>{var i,f,v;return[(i=l["prepend-item"])==null?void 0:i.call(l),!S.value.length&&!e.hideNoData&&(((f=l["no-data"])==null?void 0:f.call(l))??a(se,{key:"no-data",title:c(e.noDataText)},null)),a(ze,{ref:C,renderless:!0,items:S.value},{default:L=>{var ne;let{item:h,index:q,itemRef:m}=L;const ae=I(h.props,{ref:m,key:h.value,onClick:()=>A(h,null)});return((ne=l.item)==null?void 0:ne.call(l,{item:h,index:q,props:ae}))??a(se,I(ae,{role:"option"}),{prepend:pe=>{let{isSelected:ge}=pe;return a($,null,[e.multiple&&!e.hideSelected?a(qe,{key:h.value,modelValue:ge,ripple:!1,tabindex:"-1"},null):void 0,h.props.prependAvatar&&a(Te,{image:h.props.prependAvatar},null),h.props.prependIcon&&a(te,{icon:h.props.prependIcon},null)])}})}}),(v=l["append-item"])==null?void 0:v.call(l)]}})]}),u.value.map((i,f)=>{function v(m){m.stopPropagation(),m.preventDefault(),A(i,!1)}const L={"onClick:close":v,onKeydown(m){m.key!=="Enter"&&m.key!==" "||(m.preventDefault(),m.stopPropagation(),v(m))},onMousedown(m){m.preventDefault(),m.stopPropagation()},modelValue:!0,"onUpdate:modelValue":void 0},h=t?!!l.chip:!!l.selection,q=h?Be(t?l.chip({item:i,index:f,props:L}):l.selection({item:i,index:f})):void 0;if(!(h&&!q))return a("div",{key:i.value,class:"v-select__selection"},[t?l.chip?a(me,{key:"chip-defaults",defaults:{VChip:{closable:e.closableChips,size:"small",text:i.title}}},{default:()=>[q]}):a(_e,I({key:"chip",closable:e.closableChips,size:"small",text:i.title,disabled:i.props.disabled},L),null):q??a("span",{class:"v-select__selection-text"},[i.title,e.multiple&&f<u.value.length-1&&a("span",{class:"v-select__selection-comma"},[Re(",")])])])})]),"append-inner":function(){var L;for(var i=arguments.length,f=new Array(i),v=0;v<i;v++)f[v]=arguments[v];return a($,null,[(L=l["append-inner"])==null?void 0:L.call(l,...f),e.menuIcon?a(te,{class:"v-select__menu-icon",icon:e.menuIcon},null):void 0])}})}),be({isFocused:k,menu:o,select:A},r)}}),Xe=le({indeterminate:Boolean,inset:Boolean,flat:Boolean,loading:{type:[Boolean,String],default:!1},...$e(),...Ne()},"VSwitch"),at=fe()({name:"VSwitch",inheritAttrs:!1,props:Xe(),emits:{"update:focused":e=>!0,"update:modelValue":e=>!0,"update:indeterminate":e=>!0},setup(e,O){let{attrs:l,slots:c}=O;const r=z(e,"indeterminate"),p=z(e,"modelValue"),{loaderClasses:C}=Le(e),{isFocused:s,focus:o,blur:y}=Ke(e),F=K(),T=ee&&window.matchMedia("(forced-colors: active)").matches,u=b(()=>typeof e.loading=="string"&&e.loading!==""?e.loading:e.color),V=Ee(),H=b(()=>e.id||`switch-${V}`);function j(){r.value&&(r.value=!1)}function k(B){var P,_;B.stopPropagation(),B.preventDefault(),(_=(P=F.value)==null?void 0:P.input)==null||_.click()}return ve(()=>{const[B,P]=Oe(l),_=ce.filterProps(e),S=re.filterProps(e);return a(ce,I({class:["v-switch",{"v-switch--flat":e.flat},{"v-switch--inset":e.inset},{"v-switch--indeterminate":r.value},C.value,e.class]},B,_,{modelValue:p.value,"onUpdate:modelValue":E=>p.value=E,id:H.value,focused:s.value,style:e.style}),{...c,default:E=>{let{id:W,messagesId:R,isDisabled:G,isReadonly:J,isValid:N}=E;const M={model:p,isValid:N};return a(re,I({ref:F},S,{modelValue:p.value,"onUpdate:modelValue":[x=>p.value=x,j],id:W.value,"aria-describedby":R.value,type:"checkbox","aria-checked":r.value?"mixed":void 0,disabled:G.value,readonly:J.value,onFocus:o,onBlur:y},P),{...c,default:x=>{let{backgroundColorClasses:A,backgroundColorStyles:g}=x;return a("div",{class:["v-switch__track",T?void 0:A.value],style:g.value,onClick:k},[c["track-true"]&&a("div",{key:"prepend",class:"v-switch__track-true"},[c["track-true"](M)]),c["track-false"]&&a("div",{key:"append",class:"v-switch__track-false"},[c["track-false"](M)])])},input:x=>{let{inputNode:A,icon:g,backgroundColorClasses:X,backgroundColorStyles:Y}=x;return a($,null,[A,a("div",{class:["v-switch__thumb",{"v-switch__thumb--filled":g||e.loading},e.inset||T?void 0:X.value],style:e.inset?void 0:Y.value},[c.thumb?a(me,{defaults:{VIcon:{icon:g,size:"x-small"}}},{default:()=>[c.thumb({...M,icon:g})]}):a(He,null,{default:()=>[e.loading?a(Me,{name:"v-switch",active:!0,color:N.value===!1?void 0:u.value},{default:U=>c.loader?c.loader(U):a(je,{active:U.isActive,color:U.color,indeterminate:!0,size:"16",width:"2"},null)}):g&&a(te,{key:String(g),icon:g,size:"x-small"},null)]})])])}})}})}),{}}});export{at as V,lt as a,Ge as m,We as u};
|
|
1
|
+
import{V as oe,m as ye}from"./VTextField-ClaYK-kH.js";import{s as de,w as Q,g as fe,p as le,aF as Ve,x as K,q as z,c as b,cp as ke,cn as we,cr as Z,A as ve,B as a,D as I,aA as be,c6 as Ce,aB as Pe,cF as Se,ct as ue,cu as ee,cH as ie,P as xe,cI as Ae,c7 as De,G as $,an as te,ap as Ie,a1 as Fe,X as se,bA as Te,cw as Be,bo as _e,F as me,ao as Re,cJ as Le,bZ as Ee,b_ as Oe,cD as He,cK as Me}from"./index-DHdZ3kUo.js";import{c as Ue,a as qe,u as Ke,V as ce,h as re,i as Ne,m as $e}from"./VCheckboxBtn-DLxQu9yw.js";import{V as ze}from"./VVirtualScroll-HiNSn0b7.js";import{b as je}from"./VBtn-DqyIv1Wk.js";function We(e,O){const l=de(!1);let c;function r(s){cancelAnimationFrame(c),l.value=!0,c=requestAnimationFrame(()=>{c=requestAnimationFrame(()=>{l.value=!1})})}async function p(){await new Promise(s=>requestAnimationFrame(s)),await new Promise(s=>requestAnimationFrame(s)),await new Promise(s=>requestAnimationFrame(s)),await new Promise(s=>{if(l.value){const o=Q(l,()=>{o(),s()})}else s()})}async function C(s){var F,T;if(s.key==="Tab"&&((F=O.value)==null||F.focus()),!["PageDown","PageUp","Home","End"].includes(s.key))return;const o=(T=e.value)==null?void 0:T.$el;if(!o)return;(s.key==="Home"||s.key==="End")&&o.scrollTo({top:s.key==="Home"?0:o.scrollHeight,behavior:"smooth"}),await p();const y=o.querySelectorAll(":scope > :not(.v-virtual-scroll__spacer)");if(s.key==="PageDown"||s.key==="Home"){const u=o.getBoundingClientRect().top;for(const V of y)if(V.getBoundingClientRect().top>=u){V.focus();break}}else{const u=o.getBoundingClientRect().bottom;for(const V of[...y].reverse())if(V.getBoundingClientRect().bottom<=u){V.focus();break}}}return{onScrollPassive:r,onKeydown:C}}const Ge=le({chips:Boolean,closableChips:Boolean,closeText:{type:String,default:"$vuetify.close"},openText:{type:String,default:"$vuetify.open"},eager:Boolean,hideNoData:Boolean,hideSelected:Boolean,listProps:{type:Object},menu:Boolean,menuIcon:{type:De,default:"$dropdown"},menuProps:{type:Object},multiple:Boolean,noDataText:{type:String,default:"$vuetify.noDataText"},openOnClear:Boolean,itemColor:String,...Ae({itemChildren:!1})},"Select"),Je=le({...Ge(),...Pe(ye({modelValue:null,role:"combobox"}),["validationValue","dirty","appendInnerIcon"]),...Ce({transition:{component:Se}})},"VSelect"),lt=fe()({name:"VSelect",props:Je(),emits:{"update:focused":e=>!0,"update:modelValue":e=>!0,"update:menu":e=>!0},setup(e,O){let{slots:l}=O;const{t:c}=Ve(),r=K(),p=K(),C=K(),s=z(e,"menu"),o=b({get:()=>s.value,set:t=>{var n;s.value&&!t&&((n=p.value)!=null&&n.ΨopenChildren.size)||(s.value=t)}}),{items:y,transformIn:F,transformOut:T}=ke(e),u=z(e,"modelValue",[],t=>F(t===null?[null]:we(t)),t=>{const n=T(t);return e.multiple?n:n[0]??null}),V=b(()=>typeof e.counterValue=="function"?e.counterValue(u.value):typeof e.counterValue=="number"?e.counterValue:u.value.length),H=Ue(e),j=b(()=>u.value.map(t=>t.value)),k=de(!1),B=b(()=>o.value?e.closeText:e.openText);let P="",_;const S=b(()=>e.hideSelected?y.value.filter(t=>!u.value.some(n=>(e.valueComparator||Z)(n,t))):y.value),E=b(()=>e.hideNoData&&!S.value.length||H.isReadonly.value||H.isDisabled.value),W=b(()=>{var t;return{...e.menuProps,activatorProps:{...((t=e.menuProps)==null?void 0:t.activatorProps)||{},"aria-haspopup":"listbox"}}}),R=K(),G=We(R,r);function J(t){e.openOnClear&&(o.value=!0)}function N(){E.value||(o.value=!o.value)}function M(t){ue(t)&&x(t)}function x(t){var w,i;if(!t.key||H.isReadonly.value)return;["Enter"," ","ArrowDown","ArrowUp","Home","End"].includes(t.key)&&t.preventDefault(),["Enter","ArrowDown"," "].includes(t.key)&&(o.value=!0),["Escape","Tab"].includes(t.key)&&(o.value=!1),t.key==="Home"?(w=R.value)==null||w.focus("first"):t.key==="End"&&((i=R.value)==null||i.focus("last"));const n=1e3;if(!ue(t))return;const d=performance.now();d-_>n&&(P=""),P+=t.key.toLowerCase(),_=d;const D=y.value.find(f=>f.title.toLowerCase().startsWith(P));if(D!==void 0){u.value=[D];const f=S.value.indexOf(D);ee&&window.requestAnimationFrame(()=>{var v;f>=0&&((v=C.value)==null||v.scrollToIndex(f))})}}function A(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;if(!t.props.disabled)if(e.multiple){const d=u.value.findIndex(w=>(e.valueComparator||Z)(w.value,t.value)),D=n??!~d;if(~d){const w=D?[...u.value,t]:[...u.value];w.splice(d,1),u.value=w}else D&&(u.value=[...u.value,t])}else{const d=n!==!1;u.value=d?[t]:[],xe(()=>{o.value=!1})}}function g(t){var n;(n=R.value)!=null&&n.$el.contains(t.relatedTarget)||(o.value=!1)}function X(){var t;e.eager&&((t=C.value)==null||t.calculateVisibleItems())}function Y(){var t;k.value&&((t=r.value)==null||t.focus())}function U(t){k.value=!0}function he(t){if(t==null)u.value=[];else if(ie(r.value,":autofill")||ie(r.value,":-webkit-autofill")){const n=y.value.find(d=>d.title===t);n&&A(n)}else r.value&&(r.value.value="")}return Q(o,()=>{if(!e.hideSelected&&o.value&&u.value.length){const t=S.value.findIndex(n=>u.value.some(d=>(e.valueComparator||Z)(d.value,n.value)));ee&&window.requestAnimationFrame(()=>{var n;t>=0&&((n=C.value)==null||n.scrollToIndex(t))})}}),Q(()=>e.items,(t,n)=>{o.value||k.value&&!n.length&&t.length&&(o.value=!0)}),ve(()=>{const t=!!(e.chips||l.chip),n=!!(!e.hideNoData||S.value.length||l["prepend-item"]||l["append-item"]||l["no-data"]),d=u.value.length>0,D=oe.filterProps(e),w=d||!k.value&&e.label&&!e.persistentPlaceholder?void 0:e.placeholder;return a(oe,I({ref:r},D,{modelValue:u.value.map(i=>i.props.value).join(", "),"onUpdate:modelValue":he,focused:k.value,"onUpdate:focused":i=>k.value=i,validationValue:u.externalValue,counterValue:V.value,dirty:d,class:["v-select",{"v-select--active-menu":o.value,"v-select--chips":!!e.chips,[`v-select--${e.multiple?"multiple":"single"}`]:!0,"v-select--selected":u.value.length,"v-select--selection-slot":!!l.selection},e.class],style:e.style,inputmode:"none",placeholder:w,"onClick:clear":J,"onMousedown:control":N,onBlur:g,onKeydown:x,"aria-label":c(B.value),title:c(B.value)}),{...l,default:()=>a($,null,[a(Ie,I({ref:p,modelValue:o.value,"onUpdate:modelValue":i=>o.value=i,activator:"parent",contentClass:"v-select__content",disabled:E.value,eager:e.eager,maxHeight:310,openOnClick:!1,closeOnContentClick:!1,transition:e.transition,onAfterEnter:X,onAfterLeave:Y},W.value),{default:()=>[n&&a(Fe,I({ref:R,selected:j.value,selectStrategy:e.multiple?"independent":"single-independent",onMousedown:i=>i.preventDefault(),onKeydown:M,onFocusin:U,tabindex:"-1","aria-live":"polite",color:e.itemColor??e.color},G,e.listProps),{default:()=>{var i,f,v;return[(i=l["prepend-item"])==null?void 0:i.call(l),!S.value.length&&!e.hideNoData&&(((f=l["no-data"])==null?void 0:f.call(l))??a(se,{key:"no-data",title:c(e.noDataText)},null)),a(ze,{ref:C,renderless:!0,items:S.value},{default:L=>{var ne;let{item:h,index:q,itemRef:m}=L;const ae=I(h.props,{ref:m,key:h.value,onClick:()=>A(h,null)});return((ne=l.item)==null?void 0:ne.call(l,{item:h,index:q,props:ae}))??a(se,I(ae,{role:"option"}),{prepend:pe=>{let{isSelected:ge}=pe;return a($,null,[e.multiple&&!e.hideSelected?a(qe,{key:h.value,modelValue:ge,ripple:!1,tabindex:"-1"},null):void 0,h.props.prependAvatar&&a(Te,{image:h.props.prependAvatar},null),h.props.prependIcon&&a(te,{icon:h.props.prependIcon},null)])}})}}),(v=l["append-item"])==null?void 0:v.call(l)]}})]}),u.value.map((i,f)=>{function v(m){m.stopPropagation(),m.preventDefault(),A(i,!1)}const L={"onClick:close":v,onKeydown(m){m.key!=="Enter"&&m.key!==" "||(m.preventDefault(),m.stopPropagation(),v(m))},onMousedown(m){m.preventDefault(),m.stopPropagation()},modelValue:!0,"onUpdate:modelValue":void 0},h=t?!!l.chip:!!l.selection,q=h?Be(t?l.chip({item:i,index:f,props:L}):l.selection({item:i,index:f})):void 0;if(!(h&&!q))return a("div",{key:i.value,class:"v-select__selection"},[t?l.chip?a(me,{key:"chip-defaults",defaults:{VChip:{closable:e.closableChips,size:"small",text:i.title}}},{default:()=>[q]}):a(_e,I({key:"chip",closable:e.closableChips,size:"small",text:i.title,disabled:i.props.disabled},L),null):q??a("span",{class:"v-select__selection-text"},[i.title,e.multiple&&f<u.value.length-1&&a("span",{class:"v-select__selection-comma"},[Re(",")])])])})]),"append-inner":function(){var L;for(var i=arguments.length,f=new Array(i),v=0;v<i;v++)f[v]=arguments[v];return a($,null,[(L=l["append-inner"])==null?void 0:L.call(l,...f),e.menuIcon?a(te,{class:"v-select__menu-icon",icon:e.menuIcon},null):void 0])}})}),be({isFocused:k,menu:o,select:A},r)}}),Xe=le({indeterminate:Boolean,inset:Boolean,flat:Boolean,loading:{type:[Boolean,String],default:!1},...$e(),...Ne()},"VSwitch"),at=fe()({name:"VSwitch",inheritAttrs:!1,props:Xe(),emits:{"update:focused":e=>!0,"update:modelValue":e=>!0,"update:indeterminate":e=>!0},setup(e,O){let{attrs:l,slots:c}=O;const r=z(e,"indeterminate"),p=z(e,"modelValue"),{loaderClasses:C}=Le(e),{isFocused:s,focus:o,blur:y}=Ke(e),F=K(),T=ee&&window.matchMedia("(forced-colors: active)").matches,u=b(()=>typeof e.loading=="string"&&e.loading!==""?e.loading:e.color),V=Ee(),H=b(()=>e.id||`switch-${V}`);function j(){r.value&&(r.value=!1)}function k(B){var P,_;B.stopPropagation(),B.preventDefault(),(_=(P=F.value)==null?void 0:P.input)==null||_.click()}return ve(()=>{const[B,P]=Oe(l),_=ce.filterProps(e),S=re.filterProps(e);return a(ce,I({class:["v-switch",{"v-switch--flat":e.flat},{"v-switch--inset":e.inset},{"v-switch--indeterminate":r.value},C.value,e.class]},B,_,{modelValue:p.value,"onUpdate:modelValue":E=>p.value=E,id:H.value,focused:s.value,style:e.style}),{...c,default:E=>{let{id:W,messagesId:R,isDisabled:G,isReadonly:J,isValid:N}=E;const M={model:p,isValid:N};return a(re,I({ref:F},S,{modelValue:p.value,"onUpdate:modelValue":[x=>p.value=x,j],id:W.value,"aria-describedby":R.value,type:"checkbox","aria-checked":r.value?"mixed":void 0,disabled:G.value,readonly:J.value,onFocus:o,onBlur:y},P),{...c,default:x=>{let{backgroundColorClasses:A,backgroundColorStyles:g}=x;return a("div",{class:["v-switch__track",T?void 0:A.value],style:g.value,onClick:k},[c["track-true"]&&a("div",{key:"prepend",class:"v-switch__track-true"},[c["track-true"](M)]),c["track-false"]&&a("div",{key:"append",class:"v-switch__track-false"},[c["track-false"](M)])])},input:x=>{let{inputNode:A,icon:g,backgroundColorClasses:X,backgroundColorStyles:Y}=x;return a($,null,[A,a("div",{class:["v-switch__thumb",{"v-switch__thumb--filled":g||e.loading},e.inset||T?void 0:X.value],style:e.inset?void 0:Y.value},[c.thumb?a(me,{defaults:{VIcon:{icon:g,size:"x-small"}}},{default:()=>[c.thumb({...M,icon:g})]}):a(He,null,{default:()=>[e.loading?a(Me,{name:"v-switch",active:!0,color:N.value===!1?void 0:u.value},{default:U=>c.loader?c.loader(U):a(je,{active:U.isActive,color:U.color,indeterminate:!0,size:"16",width:"2"},null)}):g&&a(te,{key:String(g),icon:g,size:"x-small"},null)]})])])}})}})}),{}}});export{at as V,lt as a,Ge as m,We as u};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{g as j,p as q,c as n,A as z,B as l,aG as X,aP as te,aM as re,c6 as de,N as Y,cL as ce,H as fe,J as ve,cM as me,cN as K,c7 as Q,h as ge,cJ as ye,m as be,f as xe,bZ as Ce,x as A,j as he,t as Ve,az as ke,w as _e,cK as Ie,cO as Pe,F as Fe,G as O,D as U,cP as Se,aC as Be,aD as we,a as Re,cQ as Le,q as Te,aA as Ae,b_ as De,aH as $e,cR as Me,P as p,cS as Ee}from"./index-
|
|
1
|
+
import{g as j,p as q,c as n,A as z,B as l,aG as X,aP as te,aM as re,c6 as de,N as Y,cL as ce,H as fe,J as ve,cM as me,cN as K,c7 as Q,h as ge,cJ as ye,m as be,f as xe,bZ as Ce,x as A,j as he,t as Ve,az as ke,w as _e,cK as Ie,cO as Pe,F as Fe,G as O,D as U,cP as Se,aC as Be,aD as we,a as Re,cQ as Le,q as Te,aA as Ae,b_ as De,aH as $e,cR as Me,P as p,cS as Ee}from"./index-DHdZ3kUo.js";import{d as Ne,e as Oe,u as ae,j as Ue,m as je,V as ee}from"./VCheckboxBtn-DLxQu9yw.js";const qe=q({active:Boolean,disabled:Boolean,max:[Number,String],value:{type:[Number,String],default:0},...Y(),...de({transition:{component:ce}})},"VCounter"),ze=j()({name:"VCounter",functional:!0,props:qe(),setup(e,b){let{slots:d}=b;const P=n(()=>e.max?`${e.value} / ${e.max}`:String(e.value));return z(()=>l(re,{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},[d.default?d.default({counter:P.value,max:e.max,value:e.value}):P.value]),[[te,e.active]])]})),{}}}),Ge=q({floating:Boolean,...Y()},"VFieldLabel"),N=j()({name:"VFieldLabel",props:Ge(),setup(e,b){let{slots:d}=b;return z(()=>l(Ne,{class:["v-field-label",{"v-field-label--floating":e.floating},e.class],style:e.style,"aria-hidden":e.floating||void 0},d)),{}}}),He=["underlined","outlined","filled","solo","solo-inverted","solo-filled","plain"],ne=q({appendInnerIcon:Q,bgColor:String,clearable:Boolean,clearIcon:{type:Q,default:"$clear"},active:Boolean,centerAffix:{type:Boolean,default:void 0},color:String,baseColor:String,dirty:Boolean,disabled:{type:Boolean,default:null},error:Boolean,flat:Boolean,label:String,persistentClear:Boolean,prependInnerIcon:Q,reverse:Boolean,singleLine:Boolean,variant:{type:String,default:"filled",validator:e=>He.includes(e)},"onClick:clear":K(),"onClick:appendInner":K(),"onClick:prependInner":K(),...Y(),...me(),...ve(),...fe()},"VField"),le=j()({name:"VField",inheritAttrs:!1,props:{id:String,...Oe(),...ne()},emits:{"update:focused":e=>!0,"update:modelValue":e=>!0},setup(e,b){let{attrs:d,emit:P,slots:t}=b;const{themeClasses:f}=ge(e),{loaderClasses:x}=ye(e),{focusClasses:G,isFocused:D,focus:F,blur:S}=ae(e),{InputIcon:B}=Ue(e),{roundedClasses:H}=be(e),{rtlClasses:$}=xe(),C=n(()=>e.dirty||e.active),y=n(()=>!!(e.label||t.label)),w=n(()=>!e.singleLine&&y.value),R=Ce(),v=n(()=>e.id||`input-${R}`),J=n(()=>`${v.value}-messages`),M=A(),L=A(),a=A(),i=n(()=>["plain","underlined"].includes(e.variant)),{backgroundColorClasses:s,backgroundColorStyles:m}=he(Ve(e,"bgColor")),{textColorClasses:W,textColorStyles:E}=ke(n(()=>e.error||e.disabled?void 0:C.value&&D.value?e.color:e.baseColor));_e(C,u=>{if(w.value){const r=M.value.$el,c=L.value.$el;requestAnimationFrame(()=>{const g=Se(r),o=c.getBoundingClientRect(),T=o.x-g.x,k=o.y-g.y-(g.height/2-o.height/2),_=o.width/.75,I=Math.abs(_-g.width)>1?{maxWidth:Re(_)}:void 0,ie=getComputedStyle(r),Z=getComputedStyle(c),oe=parseFloat(ie.transitionDuration)*1e3||150,se=parseFloat(Z.getPropertyValue("--v-field-label-scale")),ue=Z.getPropertyValue("color");r.style.visibility="visible",c.style.visibility="hidden",Be(r,{transform:`translate(${T}px, ${k}px) scale(${se})`,color:ue,...I},{duration:oe,easing:we,direction:u?"normal":"reverse"}).finished.then(()=>{r.style.removeProperty("visibility"),c.style.removeProperty("visibility")})})}},{flush:"post"});const h=n(()=>({isActive:C,isFocused:D,controlRef:a,blur:S,focus:F}));function V(u){u.target!==document.activeElement&&u.preventDefault()}return z(()=>{var T,k,_;const u=e.variant==="outlined",r=!!(t["prepend-inner"]||e.prependInnerIcon),c=!!(e.clearable||t.clear)&&!e.disabled,g=!!(t["append-inner"]||e.appendInnerIcon||c),o=()=>t.label?t.label({...h.value,label:e.label,props:{for:v.value}}):e.label;return l("div",U({class:["v-field",{"v-field--active":C.value,"v-field--appended":g,"v-field--center-affix":e.centerAffix??!i.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":r,"v-field--reverse":e.reverse,"v-field--single-line":e.singleLine,"v-field--no-label":!o(),[`v-field--variant-${e.variant}`]:!0},f.value,s.value,G.value,x.value,H.value,$.value,e.class],style:[m.value,e.style],onClick:V},d),[l("div",{class:"v-field__overlay"},null),l(Ie,{name:"v-field",active:!!e.loading,color:e.error?"error":typeof e.loading=="string"?e.loading:e.color},{default:t.loader}),r&&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,h.value)]),l("div",{class:"v-field__field","data-no-activator":""},[["filled","solo","solo-inverted","solo-filled"].includes(e.variant)&&w.value&&l(N,{key:"floating-label",ref:L,class:[W.value],floating:!0,for:v.value,style:E.value},{default:()=>[o()]}),y.value&&l(N,{key:"label",ref:M,for:v.value},{default:()=>[o()]}),(k=t.default)==null?void 0:k.call(t,{...h.value,props:{id:v.value,class:"v-field__input","aria-describedby":J.value},focus:F,blur:S})]),c&&l(Pe,{key:"clear"},{default:()=>[X(l("div",{class:"v-field__clearable",onMousedown:I=>{I.preventDefault(),I.stopPropagation()}},[l(Fe,{defaults:{VIcon:{icon:e.clearIcon}}},{default:()=>[t.clear?t.clear({...h.value,props:{onFocus:F,onBlur:S,onClick:e["onClick:clear"]}}):l(B,{name:"clear",onFocus:F,onBlur:S},null)]})]),[[te,e.dirty]])]}),g&&l("div",{key:"append",class:"v-field__append-inner"},[(_=t["append-inner"])==null?void 0:_.call(t,h.value),e.appendInnerIcon&&l(B,{key:"append-icon",name:"appendInner"},null)]),l("div",{class:["v-field__outline",W.value],style:E.value},[u&&l(O,null,[l("div",{class:"v-field__outline__start"},null),w.value&&l("div",{class:"v-field__outline__notch"},[l(N,{ref:L,floating:!0,for:v.value},{default:()=>[o()]})]),l("div",{class:"v-field__outline__end"},null)]),i.value&&w.value&&l(N,{ref:L,floating:!0,for:v.value},{default:()=>[o()]})])])}),{controlRef:a}}}),Je=["color","file","time","date","datetime-local","week","month"],We=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,...je(),...ne()},"VTextField"),Xe=j()({name:"VTextField",directives:{Intersect:Le},inheritAttrs:!1,props:We(),emits:{"click:control":e=>!0,"mousedown:control":e=>!0,"update:focused":e=>!0,"update:modelValue":e=>!0},setup(e,b){let{attrs:d,emit:P,slots:t}=b;const f=Te(e,"modelValue"),{isFocused:x,focus:G,blur:D}=ae(e),F=n(()=>typeof e.counterValue=="function"?e.counterValue(f.value):typeof e.counterValue=="number"?e.counterValue:(f.value??"").toString().length),S=n(()=>{if(d.maxlength)return d.maxlength;if(!(!e.counter||typeof e.counter!="number"&&typeof e.counter!="string"))return e.counter}),B=n(()=>["plain","underlined"].includes(e.variant));function H(a,i){var s,m;!e.autofocus||!a||(m=(s=i[0].target)==null?void 0:s.focus)==null||m.call(s)}const $=A(),C=A(),y=A(),w=n(()=>Je.includes(e.type)||e.persistentPlaceholder||x.value||e.active);function R(){var a;y.value!==document.activeElement&&((a=y.value)==null||a.focus()),x.value||G()}function v(a){P("mousedown:control",a),a.target!==y.value&&(R(),a.preventDefault())}function J(a){R(),P("click:control",a)}function M(a){a.stopPropagation(),R(),p(()=>{f.value=null,Ee(e["onClick:clear"],a)})}function L(a){var s;const i=a.target;if(f.value=i.value,(s=e.modelModifiers)!=null&&s.trim&&["text","search","password","tel","url"].includes(e.type)){const m=[i.selectionStart,i.selectionEnd];p(()=>{i.selectionStart=m[0],i.selectionEnd=m[1]})}}return z(()=>{const a=!!(t.counter||e.counter!==!1&&e.counter!=null),i=!!(a||t.details),[s,m]=De(d),{modelValue:W,...E}=ee.filterProps(e),h=le.filterProps(e);return l(ee,U({ref:$,modelValue:f.value,"onUpdate:modelValue":V=>f.value=V,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},s,E,{centerAffix:!B.value,focused:x.value}),{...t,default:V=>{let{id:u,isDisabled:r,isDirty:c,isReadonly:g,isValid:o}=V;return l(le,U({ref:C,onMousedown:v,onClick:J,"onClick:clear":M,"onClick:prependInner":e["onClick:prependInner"],"onClick:appendInner":e["onClick:appendInner"],role:e.role},h,{id:u.value,active:w.value||c.value,dirty:c.value||e.dirty,disabled:r.value,focused:x.value,error:o.value===!1}),{...t,default:T=>{let{props:{class:k,..._}}=T;const I=X(l("input",U({ref:y,value:f.value,onInput:L,autofocus:e.autofocus,readonly:g.value,disabled:r.value,name:e.name,placeholder:e.placeholder,size:1,type:e.type,onFocus:R,onBlur:D},_,m),null),[[$e("intersect"),{handler:H},null,{once:!0}]]);return l(O,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:k,"data-no-activator":""},[t.default(),I]):Me(I,{class:k}),e.suffix&&l("span",{class:"v-text-field__suffix"},[l("span",{class:"v-text-field__suffix__text"},[e.suffix])])])}})},details:i?V=>{var u;return l(O,null,[(u=t.details)==null?void 0:u.call(t,V),a&&l(O,null,[l("span",null,null),l(ze,{active:e.persistentCounter||x.value,value:F.value,max:S.value,disabled:e.disabled},t.counter)])])}:void 0})}),Ae({},$,C,y)}});export{Xe as V,We as m};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{g as x,p as y,A as T,B as a,I as V,N as k,j as I,t as R,i as E,k as D,m as w,h as F,f as j,s as z,c as h,z as A,H as J,J as K,K as O,O as U,V as $,F as u,a as n,cm as q}from"./index-
|
|
1
|
+
import{g as x,p as y,A as T,B as a,I as V,N as k,j as I,t as R,i as E,k as D,m as w,h as F,f as j,s as z,c as h,z as A,H as J,J as K,K as O,O as U,V as $,F as u,a as n,cm as q}from"./index-DHdZ3kUo.js";const G=y({text:String,...k(),...V()},"VToolbarTitle"),L=x()({name:"VToolbarTitle",props:G(),setup(e,o){let{slots:t}=o;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)])]}})}),{}}}),M=[null,"prominent","default","comfortable","compact"],Q=y({absolute:Boolean,collapse:Boolean,color:String,density:{type:String,default:"default",validator:e=>M.includes(e)},extended:Boolean,extensionHeight:{type:[Number,String],default:48},flat:Boolean,floating:Boolean,height:{type:[Number,String],default:64},image:String,title:String,...U(),...k(),...O(),...K(),...V({tag:"header"}),...J()},"VToolbar"),X=x()({name:"VToolbar",props:Q(),setup(e,o){var c;let{slots:t}=o;const{backgroundColorClasses:s,backgroundColorStyles:l}=I(R(e,"color")),{borderClasses:_}=E(e),{elevationClasses:C}=D(e),{roundedClasses:B}=w(e),{themeClasses:P}=F(e),{rtlClasses:N}=j(),i=z(!!(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 A({VBtn:{variant:"text"}}),T(()=>{var g;const S=!!(e.title||t.title),H=!!(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,_.value,C.value,B.value,P.value,N.value,e.class],style:[l.value,e.style]},{default:()=>[H&&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($,{key:"image-img",cover:!0,src:e.image},null)]),a(u,{defaults:{VTabs:{height:n(d.value)}}},{default:()=>{var v,b,f;return[a("div",{class:"v-toolbar__content",style:{height:n(d.value)}},[t.prepend&&a("div",{class:"v-toolbar__prepend"},[(v=t.prepend)==null?void 0:v.call(t)]),S&&a(L,{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:n(r.value)}}},{default:()=>[a(q,null,{default:()=>[i.value&&a("div",{class:"v-toolbar__extension",style:{height:n(r.value)}},[m])]})]})]})}),{contentHeight:d,extensionHeight:r}}});export{X as V,L as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{g as G,p as N,bd as X,w as x,A as $,B as T,G as J,D as se,N as K,l as oe,s as y,d as W,x as j,c as z,e as Q,cT as ue,aS as ce,cB as E,P as ie,cu as ve,b$ as de,ad as fe,t as me,u as he,a as _,ae as ge,o as pe,cU as Se}from"./index-
|
|
1
|
+
import{g as G,p as N,bd as X,w as x,A as $,B as T,G as J,D as se,N as K,l as oe,s as y,d as W,x as j,c as z,e as Q,cT as ue,aS as ce,cB as E,P as ie,cu as ve,b$ as de,ad as fe,t as me,u as he,a as _,ae as ge,o as pe,cU as Se}from"./index-DHdZ3kUo.js";const Te=N({renderless:Boolean,...K()},"VVirtualScrollItem"),we=G()({name:"VVirtualScrollItem",inheritAttrs:!1,props:Te(),emits:{"update:height":l=>!0},setup(l,a){let{attrs:u,emit:r,slots:t}=a;const{resizeRef:o,contentRect:i}=X(void 0,"border");x(()=>{var c;return(c=i.value)==null?void 0:c.height},c=>{c!=null&&r("update:height",c)}),$(()=>{var c,s;return l.renderless?T(J,null,[(c=t.default)==null?void 0:c.call(t,{itemRef:o})]):T("div",se({ref:o,class:["v-virtual-scroll__item",l.class],style:l.style},u),[(s=t.default)==null?void 0:s.call(t)])})}}),Ve=-1,ye=1,H=100,Ie=N({itemHeight:{type:[Number,String],default:null},height:[Number,String]},"virtual");function Re(l,a){const u=oe(),r=y(0);W(()=>{r.value=parseFloat(l.itemHeight||0)});const t=y(0),o=y(Math.ceil((parseInt(l.height)||u.height.value)/(r.value||16))||1),i=y(0),c=y(0),s=j(),f=j();let I=0;const{resizeRef:B,contentRect:P}=X();W(()=>{B.value=s.value});const w=z(()=>{var e;return s.value===document.documentElement?u.height.value:((e=P.value)==null?void 0:e.height)||parseInt(l.height)||0}),F=z(()=>!!(s.value&&f.value&&w.value&&r.value));let m=Array.from({length:a.value.length}),v=Array.from({length:a.value.length});const d=y(0);let h=-1;function k(e){return m[e]||r.value}const A=ue(()=>{const e=performance.now();v[0]=0;const n=a.value.length;for(let g=1;g<=n-1;g++)v[g]=(v[g-1]||0)+k(g-1);d.value=Math.max(d.value,performance.now()-e)},d),Y=x(F,e=>{e&&(Y(),I=f.value.offsetTop,A.immediate(),V(),~h&&ie(()=>{ve&&window.requestAnimationFrame(()=>{L(h),h=-1})}))});Q(()=>{A.clear()});function Z(e,n){const g=m[e],p=r.value;r.value=p?Math.min(r.value,n):n,(g!==n||p!==r.value)&&(m[e]=n,A())}function S(e){return e=E(e,0,a.value.length-1),v[e]||0}function U(e){return be(v,e)}let O=0,R=0,M=0;x(w,(e,n)=>{n&&(V(),e<n&&requestAnimationFrame(()=>{R=0,V()}))});let D=-1;function ee(){if(!s.value||!f.value)return;const e=s.value.scrollTop,n=performance.now();n-M>500?(R=Math.sign(e-O),I=f.value.offsetTop):R=e-O,O=e,M=n,window.clearTimeout(D),D=window.setTimeout(C,500),V()}function C(){!s.value||!f.value||(R=0,M=0,window.clearTimeout(D),V())}let q=-1;function V(){cancelAnimationFrame(q),q=requestAnimationFrame(te)}function te(){if(!s.value||!w.value)return;const e=O-I,n=Math.sign(R),g=Math.max(0,e-H),p=E(U(g),0,a.value.length),ae=e+w.value+H,b=E(U(ae)+1,p+1,a.value.length);if((n!==Ve||p<t.value)&&(n!==ye||b>o.value)){const ne=S(t.value)-S(p),re=S(b)-S(o.value);Math.max(ne,re)>H?(t.value=p,o.value=b):(p<=0&&(t.value=p),b>=a.value.length&&(o.value=b))}i.value=S(t.value),c.value=S(a.value.length)-S(o.value)}function L(e){const n=S(e);!s.value||e&&!n?h=e:s.value.scrollTop=n}const le=z(()=>a.value.slice(t.value,o.value).map((e,n)=>({raw:e,index:n+t.value,key:ce(e)&&"value"in e?e.value:n+t.value})));return x(a,()=>{m=Array.from({length:a.value.length}),v=Array.from({length:a.value.length}),A.immediate(),V()},{deep:!0}),{calculateVisibleItems:V,containerRef:s,markerRef:f,computedItems:le,paddingTop:i,paddingBottom:c,scrollToIndex:L,handleScroll:ee,handleScrollend:C,handleItemResize:Z}}function be(l,a){let u=l.length-1,r=0,t=0,o=null,i=-1;if(l[u]<a)return u;for(;r<=u;)if(t=r+u>>1,o=l[t],o>a)u=t-1;else if(o<a)i=t,r=t+1;else return o===a?t:r;return i}const Pe=N({items:{type:Array,default:()=>[]},renderless:Boolean,...Ie(),...K(),...ge()},"VVirtualScroll"),Oe=G()({name:"VVirtualScroll",props:Pe(),setup(l,a){let{slots:u}=a;const r=de("VVirtualScroll"),{dimensionStyles:t}=fe(l),{calculateVisibleItems:o,containerRef:i,markerRef:c,handleScroll:s,handleScrollend:f,handleItemResize:I,scrollToIndex:B,paddingTop:P,paddingBottom:w,computedItems:F}=Re(l,me(l,"items"));return he(()=>l.renderless,()=>{function m(){var h,k;const d=(arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1)?"addEventListener":"removeEventListener";i.value===document.documentElement?(document[d]("scroll",s,{passive:!0}),document[d]("scrollend",f)):((h=i.value)==null||h[d]("scroll",s,{passive:!0}),(k=i.value)==null||k[d]("scrollend",f))}pe(()=>{i.value=Se(r.vnode.el,!0),m(!0)}),Q(m)}),$(()=>{const m=F.value.map(v=>T(we,{key:v.key,renderless:l.renderless,"onUpdate:height":d=>I(v.index,d)},{default:d=>{var h;return(h=u.default)==null?void 0:h.call(u,{item:v.raw,index:v.index,...d})}}));return l.renderless?T(J,null,[T("div",{ref:c,class:"v-virtual-scroll__spacer",style:{paddingTop:_(P.value)}},null),m,T("div",{class:"v-virtual-scroll__spacer",style:{paddingBottom:_(w.value)}},null)]):T("div",{ref:i,class:["v-virtual-scroll",l.class],onScrollPassive:s,onScrollend:f,style:[t.value,l.style]},[T("div",{ref:c,class:"v-virtual-scroll__container",style:{paddingTop:_(P.value),paddingBottom:_(w.value)}},[m])])}),{calculateVisibleItems:o,scrollToIndex:B}}});export{Oe as V};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{Q as c,o as k,R as s,S as t,ag as R,a0 as n,am as b,bp as y,U as o,au as V,Z as p,as as C,B as d,a9 as w,aa as $,W as B,ab as u,bo as _,an as h,G as A,$ as I,ao as M,bq as T,a5 as m}from"./index-
|
|
1
|
+
import{Q as c,o as k,R as s,S as t,ag as R,a0 as n,am as b,bp as y,U as o,au as V,Z as p,as as C,B as d,a9 as w,aa as $,W as B,ab as u,bo as _,an as h,G as A,$ as I,ao as M,bq as T,a5 as m}from"./index-DHdZ3kUo.js";import{P as N}from"./PanelviewItemCompact-776c11Dw.js";import{V as W}from"./VToolbar-DgW7y8TG.js";import{a as g}from"./VBtn-DqyIv1Wk.js";import{V as z}from"./VAlert-D2DA3ZFe.js";import{_ as E}from"./_plugin-vue_export-helper-DlAUqK2U.js";const P=c({__name:"Carousel",setup(v){return k(()=>{document.documentElement.style.setProperty("--swiper-navigation-color","primary")}),(r,l)=>{const e=R("swiper");return t(),s(e,{"slides-per-view":n(y)(r.$vuetify.display.width)+.5,"space-between":24,"free-mode":!0,navigation:!n(b)({breakpoint:"mobile"}),mousewheel:{forceToAxis:!0,releaseOnEdges:!0}},{default:o(()=>[V(r.$slots,"default")]),_:3},8,["slides-per-view","navigation"])}}}),S={class:"mr-3"},D={key:0},L=c({__name:"WidgetRow",props:{widgetRow:{},editMode:{type:Boolean}},emits:["update:settings"],setup(v,{emit:r}){const l=r;return(e,a)=>{const f=R("swiper-slide");return t(),p("div",{class:C(`widget-row ${e.widgetRow.settings&&!e.widgetRow.settings.enabled?"disabled":""}`)},[d(W,{class:"header",color:"transparent"},{prepend:o(()=>[d(h,{icon:e.widgetRow.icon},null,8,["icon"])]),title:o(()=>[B("span",S,u(e.widgetRow.title),1),e.widgetRow.subtitle&&n(b)("bp6")?(t(),s(_,{key:0,inline:"",outlined:"",text:e.widgetRow.subtitle,density:"compact",size:"small"},null,8,["text"])):w("",!0)]),append:o(()=>[e.editMode&&e.widgetRow.settings?(t(),p("div",D,[e.widgetRow.settings.position!==0?(t(),s(g,{key:0,icon:"mdi-chevron-up",class:"enabled",onClick:a[0]||(a[0]=i=>l("update:settings",{...e.widgetRow.settings,position:e.widgetRow.settings.position-1}))})):w("",!0),d(g,{icon:"mdi-chevron-down",onClick:a[1]||(a[1]=i=>l("update:settings",{...e.widgetRow.settings,position:e.widgetRow.settings.position+1}))}),d(g,{icon:e.widgetRow.settings.enabled?"mdi-checkbox-marked":"mdi-checkbox-blank-outline",onClick:a[2]||(a[2]=i=>l("update:settings",{...e.widgetRow.settings,enabled:!e.widgetRow.settings.enabled}))},null,8,["icon"])])):e.widgetRow.provider?(t(),s($,{key:1,domain:e.widgetRow.provider,size:24},null,8,["domain"])):w("",!0)]),_:1}),e.widgetRow.items.length>0?(t(),s(P,{key:0},{default:o(()=>[(t(!0),p(A,null,I(e.widgetRow.items,i=>(t(),s(f,{key:i.uri},{default:o(()=>[d(N,{item:i,"permanent-overlay":![n(m).ALBUM,n(m).TRACK,n(m).RADIO].includes(i.media_type),"is-available":n(T)(i),disabled:e.editMode},null,8,["item","permanent-overlay","is-available","disabled"])]),_:2},1024))),128))]),_:1})):(t(),s(z,{key:1},{default:o(()=>[M(u(e.$t("no_content")),1)]),_:1}))],2)}}}),Q=E(L,[["__scopeId","data-v-d3794258"]]);export{Q as W};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./Default-
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./Default-BGgohgt4.js","./Button-Dgn90_wu.js","./_plugin-vue_export-helper-DlAUqK2U.js","./VBtn-DqyIv1Wk.js","./VBtn-Br4CDULP.css","./Button-CRAg4tRb.css","./constants-BXWEQHoz.js","./layout-CyoFEFNl.js","./MediaItemThumb-BgnQJnC4.js","./MediaItemThumb-CeZD-3jZ.css","./Toolbar-D2EfoAlR.js","./VToolbar-DgW7y8TG.js","./VToolbar-BxjAEfSk.css","./Toolbar-BKVgbOaa.css","./VDialog-DrY7Fpem.js","./VDialog-DwTSAOeg.css","./VInfiniteScroll-B0eycroE.js","./VInfiniteScroll-D0kk3vnw.css","./VSlider-BRnj1pQr.js","./VCheckboxBtn-DLxQu9yw.js","./VCheckboxBtn-C9rj_pss.css","./VSlider-CAqSVbOA.css","./ListItem-D82xkCoP.js","./ListItem-DpWDFkBq.css","./PlayerCard-DnZtb2lD.js","./VCheckbox-eVQCWG3M.js","./VCheckbox-CvH8ekHL.css","./PlayerCard-MkO8KJHb.css","./marquee_text_sync-CWCQ9aST.js","./marquee_text_sync-CWCHA3k2.css","./VVirtualScroll-HiNSn0b7.js","./VVirtualScroll-BNcY_ygg.css","./VExpansionPanels-CfDPGNKc.js","./VExpansionPanels-RsCANmDP.css","./Default-2hwSjVba.css","./HomeView-CnzTr0FW.js","./Container-Df6fHx0a.js","./VContainer-BPmvVR0-.js","./VGrid-Cb7FdSrp.css","./Container-CHYbHwxO.css","./WidgetRow-Cpz4kZyo.js","./PanelviewItemCompact-776c11Dw.js","./PanelviewItemCompact-B20Sn5Cj.css","./VAlert-D2DA3ZFe.js","./VAlert-iGJ3gOzk.css","./WidgetRow-DZUQiDrc.css","./HomeView-CNjFYW3F.css","./Search-CVJP5jfP.js","./ItemsListing-w00UZyUV.js","./VSpacer-BkXa9hHi.js","./VTextField-ClaYK-kH.js","./VTextField-BIH_AWWP.css","./VRow-CwPnZM2-.js","./ItemsListing-DskXycLg.css","./BrowseView-CQFO5Hsm.js","./LibraryArtists-BeuP2Psy.js","./ArtistDetails-Cp5TEF00.js","./ProviderDetails.vue_vue_type_script_setup_true_lang-CO2s0dkN.js","./ProviderDetails-DIoxLJlY.css","./MediaItemImages-C6D6ZZNw.js","./MediaItemImages-BGTTukXI.css","./LibraryAlbums-BBs_xIgi.js","./AlbumDetails-DfcrlRJC.js","./LibraryTracks-DOJ0Hzam.js","./AddManualLink.vue_vue_type_script_setup_true_lang-hsz3yl1O.js","./TrackDetails-C8K3i9HV.js","./LibraryPlaylists-DIJFdjQ-.js","./PlaylistDetails-C4DOse-D.js","./LibraryPodcasts-CesVf0Kz.js","./PodcastDetails-DaGCkWSt.js","./LibraryAudiobooks-BgL5qpIP.js","./AudiobookDetails-BklI0n-g.js","./LibraryRadios-yn4GEj2i.js","./RadioDetails-Bs6chlh0.js","./Settings-ChnUKqvF.js","./Providers-BByWPDY8.js","./Providers-fY2RGD7t.css","./Players-DjkYBHB2.js","./CoreConfigs-DM94xAIj.js","./CoreConfigs-BnxSZ_W5.css","./FrontendConfig-CHr1I1Il.js","./EditConfig-Bq4smwVK.js","./VForm-DHVz3Xn1.js","./VSwitch-CSNhHdCI.js","./VSwitch-DX1zkotx.css","./EditConfig-wfh7oeMm.css","./AddProvider-Bk_BXOY6.js","./index.browser-OxPLOBIU.js","./EditProvider-cGeRrZqj.js","./EditPlayer-D39Dt_JR.js","./EditPlayerDsp-CbEf2YNk.js","./EditPlayerDsp-Bk-DbWKS.css","./EditCoreConfig-BrcupdDY.js","./AddPlayerGroup-BOFxKdmk.js"])))=>i.map(i=>d[i]);
|
|
2
2
|
var j2=Object.defineProperty;var x2=(t,e,s)=>e in t?j2(t,e,{enumerable:!0,configurable:!0,writable:!0,value:s}):t[e]=s;var zt=(t,e,s)=>x2(t,typeof e!="symbol"?e+"":e,s);(function(){const e=document.createElement("link").relList;if(e&&e.supports&&e.supports("modulepreload"))return;for(const a of document.querySelectorAll('link[rel="modulepreload"]'))n(a);new MutationObserver(a=>{for(const r of a)if(r.type==="childList")for(const o of r.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&n(o)}).observe(document,{childList:!0,subtree:!0});function s(a){const r={};return a.integrity&&(r.integrity=a.integrity),a.referrerPolicy&&(r.referrerPolicy=a.referrerPolicy),a.crossOrigin==="use-credentials"?r.credentials="include":a.crossOrigin==="anonymous"?r.credentials="omit":r.credentials="same-origin",r}function n(a){if(a.ep)return;a.ep=!0;const r=s(a);fetch(a.href,r)}})();/**
|
|
3
3
|
* @vue/shared v3.5.13
|
|
4
4
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
@@ -74,7 +74,7 @@ Please report this to https://github.com/markedjs/marked.`,e){const a="<p>An err
|
|
|
74
74
|
* vue-router v4.5.0
|
|
75
75
|
* (c) 2024 Eduardo San Martin Morote
|
|
76
76
|
* @license MIT
|
|
77
|
-
*/const tn=typeof document<"u";function mm(t){return typeof t=="object"||"displayName"in t||"props"in t||"__vccOpts"in t}function __(t){return t.__esModule||t[Symbol.toStringTag]==="Module"||t.default&&mm(t.default)}const Bt=Object.assign;function Vo(t,e){const s={};for(const n in e){const a=e[n];s[n]=zi(a)?a.map(t):t(a)}return s}const na=()=>{},zi=Array.isArray,fm=/#/g,h_=/&/g,y_=/\//g,k_=/=/g,w_=/\?/g,vm=/\+/g,S_=/%5B/g,z_=/%5D/g,gm=/%5E/g,A_=/%60/g,_m=/%7B/g,T_=/%7C/g,hm=/%7D/g,P_=/%20/g;function Yu(t){return encodeURI(""+t).replace(T_,"|").replace(S_,"[").replace(z_,"]")}function E_(t){return Yu(t).replace(_m,"{").replace(hm,"}").replace(gm,"^")}function Bl(t){return Yu(t).replace(vm,"%2B").replace(P_,"+").replace(fm,"%23").replace(h_,"%26").replace(A_,"`").replace(_m,"{").replace(hm,"}").replace(gm,"^")}function C_(t){return Bl(t).replace(k_,"%3D")}function M_(t){return Yu(t).replace(fm,"%23").replace(w_,"%3F")}function j_(t){return t==null?"":M_(t).replace(y_,"%2F")}function va(t){try{return decodeURIComponent(""+t)}catch{}return""+t}const x_=/\/$/,I_=t=>t.replace(x_,"");function Wo(t,e,s="/"){let n,a={},r="",o="";const l=e.indexOf("#");let u=e.indexOf("?");return l<u&&l>=0&&(u=-1),u>-1&&(n=e.slice(0,u),r=e.slice(u+1,l>-1?l:e.length),a=t(r)),l>-1&&(n=n||e.slice(0,l),o=e.slice(l,e.length)),n=O_(n??e,s),{fullPath:n+(r&&"?")+r+o,path:n,query:a,hash:va(o)}}function L_(t,e){const s=e.query?t(e.query):"";return e.path+(s&&"?")+s+(e.hash||"")}function wc(t,e){return!e||!t.toLowerCase().startsWith(e.toLowerCase())?t:t.slice(e.length)||"/"}function D_(t,e,s){const n=e.matched.length-1,a=s.matched.length-1;return n>-1&&n===a&&_n(e.matched[n],s.matched[a])&&ym(e.params,s.params)&&t(e.query)===t(s.query)&&e.hash===s.hash}function _n(t,e){return(t.aliasOf||t)===(e.aliasOf||e)}function ym(t,e){if(Object.keys(t).length!==Object.keys(e).length)return!1;for(const s in t)if(!R_(t[s],e[s]))return!1;return!0}function R_(t,e){return zi(t)?Sc(t,e):zi(e)?Sc(e,t):t===e}function Sc(t,e){return zi(e)?t.length===e.length&&t.every((s,n)=>s===e[n]):t.length===1&&t[0]===e}function O_(t,e){if(t.startsWith("/"))return t;if(!t)return e;const s=e.split("/"),n=t.split("/"),a=n[n.length-1];(a===".."||a===".")&&n.push("");let r=s.length-1,o,l;for(o=0;o<n.length;o++)if(l=n[o],l!==".")if(l==="..")r>1&&r--;else break;return s.slice(0,r).join("/")+"/"+n.slice(o).join("/")}const ns={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};var ga;(function(t){t.pop="pop",t.push="push"})(ga||(ga={}));var aa;(function(t){t.back="back",t.forward="forward",t.unknown=""})(aa||(aa={}));function N_(t){if(!t)if(tn){const e=document.querySelector("base");t=e&&e.getAttribute("href")||"/",t=t.replace(/^\w+:\/\/[^\/]+/,"")}else t="/";return t[0]!=="/"&&t[0]!=="#"&&(t="/"+t),I_(t)}const B_=/^[^#]+#/;function G_(t,e){return t.replace(B_,"#")+e}function F_(t,e){const s=document.documentElement.getBoundingClientRect(),n=t.getBoundingClientRect();return{behavior:e.behavior,left:n.left-s.left-(e.left||0),top:n.top-s.top-(e.top||0)}}const vo=()=>({left:window.scrollX,top:window.scrollY});function q_(t){let e;if("el"in t){const s=t.el,n=typeof s=="string"&&s.startsWith("#"),a=typeof s=="string"?n?document.getElementById(s.slice(1)):document.querySelector(s):s;if(!a)return;e=F_(a,t)}else e=t;"scrollBehavior"in document.documentElement.style?window.scrollTo(e):window.scrollTo(e.left!=null?e.left:window.scrollX,e.top!=null?e.top:window.scrollY)}function zc(t,e){return(history.state?history.state.position-e:-1)+t}const Gl=new Map;function H_(t,e){Gl.set(t,e)}function U_(t){const e=Gl.get(t);return Gl.delete(t),e}let V_=()=>location.protocol+"//"+location.host;function km(t,e){const{pathname:s,search:n,hash:a}=e,r=t.indexOf("#");if(r>-1){let l=a.includes(t.slice(r))?t.slice(r).length:1,u=a.slice(l);return u[0]!=="/"&&(u="/"+u),wc(u,"")}return wc(s,t)+n+a}function W_(t,e,s,n){let a=[],r=[],o=null;const l=({state:p})=>{const m=km(t,location),f=s.value,v=e.value;let y=0;if(p){if(s.value=m,e.value=p,o&&o===f){o=null;return}y=v?p.position-v.position:0}else n(m);a.forEach(g=>{g(s.value,f,{delta:y,type:ga.pop,direction:y?y>0?aa.forward:aa.back:aa.unknown})})};function u(){o=s.value}function c(p){a.push(p);const m=()=>{const f=a.indexOf(p);f>-1&&a.splice(f,1)};return r.push(m),m}function d(){const{history:p}=window;p.state&&p.replaceState(Bt({},p.state,{scroll:vo()}),"")}function b(){for(const p of r)p();r=[],window.removeEventListener("popstate",l),window.removeEventListener("beforeunload",d)}return window.addEventListener("popstate",l),window.addEventListener("beforeunload",d,{passive:!0}),{pauseListeners:u,listen:c,destroy:b}}function Ac(t,e,s,n=!1,a=!1){return{back:t,current:e,forward:s,replaced:n,position:window.history.length,scroll:a?vo():null}}function K_(t){const{history:e,location:s}=window,n={value:km(t,s)},a={value:e.state};a.value||r(n.value,{back:null,current:n.value,forward:null,position:e.length-1,replaced:!0,scroll:null},!0);function r(u,c,d){const b=t.indexOf("#"),p=b>-1?(s.host&&document.querySelector("base")?t:t.slice(b))+u:V_()+t+u;try{e[d?"replaceState":"pushState"](c,"",p),a.value=c}catch(m){console.error(m),s[d?"replace":"assign"](p)}}function o(u,c){const d=Bt({},e.state,Ac(a.value.back,u,a.value.forward,!0),c,{position:a.value.position});r(u,d,!0),n.value=u}function l(u,c){const d=Bt({},a.value,e.state,{forward:u,scroll:vo()});r(d.current,d,!0);const b=Bt({},Ac(n.value,u,null),{position:d.position+1},c);r(u,b,!1),n.value=u}return{location:n,state:a,push:l,replace:o}}function Y_(t){t=N_(t);const e=K_(t),s=W_(t,e.state,e.location,e.replace);function n(r,o=!0){o||s.pauseListeners(),history.go(r)}const a=Bt({location:"",base:t,go:n,createHref:G_.bind(null,t)},e,s);return Object.defineProperty(a,"location",{enumerable:!0,get:()=>e.location.value}),Object.defineProperty(a,"state",{enumerable:!0,get:()=>e.state.value}),a}function X_(t){return t=location.host?t||location.pathname+location.search:"",t.includes("#")||(t+="#"),Y_(t)}function $_(t){return typeof t=="string"||t&&typeof t=="object"}function wm(t){return typeof t=="string"||typeof t=="symbol"}const Sm=Symbol("");var Tc;(function(t){t[t.aborted=4]="aborted",t[t.cancelled=8]="cancelled",t[t.duplicated=16]="duplicated"})(Tc||(Tc={}));function hn(t,e){return Bt(new Error,{type:t,[Sm]:!0},e)}function Hi(t,e){return t instanceof Error&&Sm in t&&(e==null||!!(t.type&e))}const Pc="[^/]+?",Z_={sensitive:!1,strict:!1,start:!0,end:!0},Q_=/[.+*?^${}()[\]/\\]/g;function J_(t,e){const s=Bt({},Z_,e),n=[];let a=s.start?"^":"";const r=[];for(const c of t){const d=c.length?[]:[90];s.strict&&!c.length&&(a+="/");for(let b=0;b<c.length;b++){const p=c[b];let m=40+(s.sensitive?.25:0);if(p.type===0)b||(a+="/"),a+=p.value.replace(Q_,"\\$&"),m+=40;else if(p.type===1){const{value:f,repeatable:v,optional:y,regexp:g}=p;r.push({name:f,repeatable:v,optional:y});const _=g||Pc;if(_!==Pc){m+=10;try{new RegExp(`(${_})`)}catch(k){throw new Error(`Invalid custom RegExp for param "${f}" (${_}): `+k.message)}}let h=v?`((?:${_})(?:/(?:${_}))*)`:`(${_})`;b||(h=y&&c.length<2?`(?:/${h})`:"/"+h),y&&(h+="?"),a+=h,m+=20,y&&(m+=-8),v&&(m+=-20),_===".*"&&(m+=-50)}d.push(m)}n.push(d)}if(s.strict&&s.end){const c=n.length-1;n[c][n[c].length-1]+=.7000000000000001}s.strict||(a+="/?"),s.end?a+="$":s.strict&&!a.endsWith("/")&&(a+="(?:/|$)");const o=new RegExp(a,s.sensitive?"":"i");function l(c){const d=c.match(o),b={};if(!d)return null;for(let p=1;p<d.length;p++){const m=d[p]||"",f=r[p-1];b[f.name]=m&&f.repeatable?m.split("/"):m}return b}function u(c){let d="",b=!1;for(const p of t){(!b||!d.endsWith("/"))&&(d+="/"),b=!1;for(const m of p)if(m.type===0)d+=m.value;else if(m.type===1){const{value:f,repeatable:v,optional:y}=m,g=f in c?c[f]:"";if(zi(g)&&!v)throw new Error(`Provided param "${f}" is an array but it is not repeatable (* or + modifiers)`);const _=zi(g)?g.join("/"):g;if(!_)if(y)p.length<2&&(d.endsWith("/")?d=d.slice(0,-1):b=!0);else throw new Error(`Missing required param "${f}"`);d+=_}}return d||"/"}return{re:o,score:n,keys:r,parse:l,stringify:u}}function th(t,e){let s=0;for(;s<t.length&&s<e.length;){const n=e[s]-t[s];if(n)return n;s++}return t.length<e.length?t.length===1&&t[0]===80?-1:1:t.length>e.length?e.length===1&&e[0]===80?1:-1:0}function zm(t,e){let s=0;const n=t.score,a=e.score;for(;s<n.length&&s<a.length;){const r=th(n[s],a[s]);if(r)return r;s++}if(Math.abs(a.length-n.length)===1){if(Ec(n))return 1;if(Ec(a))return-1}return a.length-n.length}function Ec(t){const e=t[t.length-1];return t.length>0&&e[e.length-1]<0}const eh={type:0,value:""},ih=/[a-zA-Z0-9_]/;function sh(t){if(!t)return[[]];if(t==="/")return[[eh]];if(!t.startsWith("/"))throw new Error(`Invalid path "${t}"`);function e(m){throw new Error(`ERR (${s})/"${c}": ${m}`)}let s=0,n=s;const a=[];let r;function o(){r&&a.push(r),r=[]}let l=0,u,c="",d="";function b(){c&&(s===0?r.push({type:0,value:c}):s===1||s===2||s===3?(r.length>1&&(u==="*"||u==="+")&&e(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),r.push({type:1,value:c,regexp:d,repeatable:u==="*"||u==="+",optional:u==="*"||u==="?"})):e("Invalid state to consume buffer"),c="")}function p(){c+=u}for(;l<t.length;){if(u=t[l++],u==="\\"&&s!==2){n=s,s=4;continue}switch(s){case 0:u==="/"?(c&&b(),o()):u===":"?(b(),s=1):p();break;case 4:p(),s=n;break;case 1:u==="("?s=2:ih.test(u)?p():(b(),s=0,u!=="*"&&u!=="?"&&u!=="+"&&l--);break;case 2:u===")"?d[d.length-1]=="\\"?d=d.slice(0,-1)+u:s=3:d+=u;break;case 3:b(),s=0,u!=="*"&&u!=="?"&&u!=="+"&&l--,d="";break;default:e("Unknown state");break}}return s===2&&e(`Unfinished custom RegExp for param "${c}"`),b(),o(),a}function nh(t,e,s){const n=J_(sh(t.path),s),a=Bt(n,{record:t,parent:e,children:[],alias:[]});return e&&!a.record.aliasOf==!e.record.aliasOf&&e.children.push(a),a}function ah(t,e){const s=[],n=new Map;e=xc({strict:!1,end:!0,sensitive:!1},e);function a(b){return n.get(b)}function r(b,p,m){const f=!m,v=Mc(b);v.aliasOf=m&&m.record;const y=xc(e,b),g=[v];if("alias"in b){const k=typeof b.alias=="string"?[b.alias]:b.alias;for(const w of k)g.push(Mc(Bt({},v,{components:m?m.record.components:v.components,path:w,aliasOf:m?m.record:v})))}let _,h;for(const k of g){const{path:w}=k;if(p&&w[0]!=="/"){const T=p.record.path,A=T[T.length-1]==="/"?"":"/";k.path=p.record.path+(w&&A+w)}if(_=nh(k,p,y),m?m.alias.push(_):(h=h||_,h!==_&&h.alias.push(_),f&&b.name&&!jc(_)&&o(b.name)),Am(_)&&u(_),v.children){const T=v.children;for(let A=0;A<T.length;A++)r(T[A],_,m&&m.children[A])}m=m||_}return h?()=>{o(h)}:na}function o(b){if(wm(b)){const p=n.get(b);p&&(n.delete(b),s.splice(s.indexOf(p),1),p.children.forEach(o),p.alias.forEach(o))}else{const p=s.indexOf(b);p>-1&&(s.splice(p,1),b.record.name&&n.delete(b.record.name),b.children.forEach(o),b.alias.forEach(o))}}function l(){return s}function u(b){const p=lh(b,s);s.splice(p,0,b),b.record.name&&!jc(b)&&n.set(b.record.name,b)}function c(b,p){let m,f={},v,y;if("name"in b&&b.name){if(m=n.get(b.name),!m)throw hn(1,{location:b});y=m.record.name,f=Bt(Cc(p.params,m.keys.filter(h=>!h.optional).concat(m.parent?m.parent.keys.filter(h=>h.optional):[]).map(h=>h.name)),b.params&&Cc(b.params,m.keys.map(h=>h.name))),v=m.stringify(f)}else if(b.path!=null)v=b.path,m=s.find(h=>h.re.test(v)),m&&(f=m.parse(v),y=m.record.name);else{if(m=p.name?n.get(p.name):s.find(h=>h.re.test(p.path)),!m)throw hn(1,{location:b,currentLocation:p});y=m.record.name,f=Bt({},p.params,b.params),v=m.stringify(f)}const g=[];let _=m;for(;_;)g.unshift(_.record),_=_.parent;return{name:y,path:v,params:f,matched:g,meta:oh(g)}}t.forEach(b=>r(b));function d(){s.length=0,n.clear()}return{addRoute:r,resolve:c,removeRoute:o,clearRoutes:d,getRoutes:l,getRecordMatcher:a}}function Cc(t,e){const s={};for(const n of e)n in t&&(s[n]=t[n]);return s}function Mc(t){const e={path:t.path,redirect:t.redirect,name:t.name,meta:t.meta||{},aliasOf:t.aliasOf,beforeEnter:t.beforeEnter,props:rh(t),children:t.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in t?t.components||null:t.component&&{default:t.component}};return Object.defineProperty(e,"mods",{value:{}}),e}function rh(t){const e={},s=t.props||!1;if("component"in t)e.default=s;else for(const n in t.components)e[n]=typeof s=="object"?s[n]:s;return e}function jc(t){for(;t;){if(t.record.aliasOf)return!0;t=t.parent}return!1}function oh(t){return t.reduce((e,s)=>Bt(e,s.meta),{})}function xc(t,e){const s={};for(const n in t)s[n]=n in e?e[n]:t[n];return s}function lh(t,e){let s=0,n=e.length;for(;s!==n;){const r=s+n>>1;zm(t,e[r])<0?n=r:s=r+1}const a=uh(t);return a&&(n=e.lastIndexOf(a,n-1)),n}function uh(t){let e=t;for(;e=e.parent;)if(Am(e)&&zm(t,e)===0)return e}function Am({record:t}){return!!(t.name||t.components&&Object.keys(t.components).length||t.redirect)}function dh(t){const e={};if(t===""||t==="?")return e;const n=(t[0]==="?"?t.slice(1):t).split("&");for(let a=0;a<n.length;++a){const r=n[a].replace(vm," "),o=r.indexOf("="),l=va(o<0?r:r.slice(0,o)),u=o<0?null:va(r.slice(o+1));if(l in e){let c=e[l];zi(c)||(c=e[l]=[c]),c.push(u)}else e[l]=u}return e}function Ic(t){let e="";for(let s in t){const n=t[s];if(s=C_(s),n==null){n!==void 0&&(e+=(e.length?"&":"")+s);continue}(zi(n)?n.map(r=>r&&Bl(r)):[n&&Bl(n)]).forEach(r=>{r!==void 0&&(e+=(e.length?"&":"")+s,r!=null&&(e+="="+r))})}return e}function ch(t){const e={};for(const s in t){const n=t[s];n!==void 0&&(e[s]=zi(n)?n.map(a=>a==null?null:""+a):n==null?n:""+n)}return e}const bh=Symbol(""),Lc=Symbol(""),go=Symbol(""),Xu=Symbol(""),Fl=Symbol("");function Nn(){let t=[];function e(n){return t.push(n),()=>{const a=t.indexOf(n);a>-1&&t.splice(a,1)}}function s(){t=[]}return{add:e,list:()=>t.slice(),reset:s}}function ds(t,e,s,n,a,r=o=>o()){const o=n&&(n.enterCallbacks[a]=n.enterCallbacks[a]||[]);return()=>new Promise((l,u)=>{const c=p=>{p===!1?u(hn(4,{from:s,to:e})):p instanceof Error?u(p):$_(p)?u(hn(2,{from:e,to:p})):(o&&n.enterCallbacks[a]===o&&typeof p=="function"&&o.push(p),l())},d=r(()=>t.call(n&&n.instances[a],e,s,c));let b=Promise.resolve(d);t.length<3&&(b=b.then(c)),b.catch(p=>u(p))})}function Ko(t,e,s,n,a=r=>r()){const r=[];for(const o of t)for(const l in o.components){let u=o.components[l];if(!(e!=="beforeRouteEnter"&&!o.instances[l]))if(mm(u)){const d=(u.__vccOpts||u)[e];d&&r.push(ds(d,s,n,o,l,a))}else{let c=u();r.push(()=>c.then(d=>{if(!d)throw new Error(`Couldn't resolve component "${l}" at "${o.path}"`);const b=__(d)?d.default:d;o.mods[l]=d,o.components[l]=b;const m=(b.__vccOpts||b)[e];return m&&ds(m,s,n,o,l,a)()}))}}return r}function Dc(t){const e=Zt(go),s=Zt(Xu),n=B(()=>{const u=Z(t.to);return e.resolve(u)}),a=B(()=>{const{matched:u}=n.value,{length:c}=u,d=u[c-1],b=s.matched;if(!d||!b.length)return-1;const p=b.findIndex(_n.bind(null,d));if(p>-1)return p;const m=Rc(u[c-2]);return c>1&&Rc(d)===m&&b[b.length-1].path!==m?b.findIndex(_n.bind(null,u[c-2])):p}),r=B(()=>a.value>-1&&gh(s.params,n.value.params)),o=B(()=>a.value>-1&&a.value===s.matched.length-1&&ym(s.params,n.value.params));function l(u={}){if(vh(u)){const c=e[Z(t.replace)?"replace":"push"](Z(t.to)).catch(na);return t.viewTransition&&typeof document<"u"&&"startViewTransition"in document&&document.startViewTransition(()=>c),c}return Promise.resolve()}return{route:n,href:B(()=>n.value.href),isActive:r,isExactActive:o,navigate:l}}function ph(t){return t.length===1?t[0]:t}const mh=ii({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:Dc,setup(t,{slots:e}){const s=ge(Dc(t)),{options:n}=Zt(go),a=B(()=>({[Oc(t.activeClass,n.linkActiveClass,"router-link-active")]:s.isActive,[Oc(t.exactActiveClass,n.linkExactActiveClass,"router-link-exact-active")]:s.isExactActive}));return()=>{const r=e.default&&ph(e.default(s));return t.custom?r:oe("a",{"aria-current":s.isExactActive?t.ariaCurrentValue:null,href:s.href,onClick:s.navigate,class:a.value},r)}}}),fh=mh;function vh(t){if(!(t.metaKey||t.altKey||t.ctrlKey||t.shiftKey)&&!t.defaultPrevented&&!(t.button!==void 0&&t.button!==0)){if(t.currentTarget&&t.currentTarget.getAttribute){const e=t.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(e))return}return t.preventDefault&&t.preventDefault(),!0}}function gh(t,e){for(const s in e){const n=e[s],a=t[s];if(typeof n=="string"){if(n!==a)return!1}else if(!zi(a)||a.length!==n.length||n.some((r,o)=>r!==a[o]))return!1}return!0}function Rc(t){return t?t.aliasOf?t.aliasOf.path:t.path:""}const Oc=(t,e,s)=>t??e??s,_h=ii({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(t,{attrs:e,slots:s}){const n=Zt(Fl),a=B(()=>t.route||n.value),r=Zt(Lc,0),o=B(()=>{let c=Z(r);const{matched:d}=a.value;let b;for(;(b=d[c])&&!b.components;)c++;return c}),l=B(()=>a.value.matched[o.value]);Ie(Lc,B(()=>o.value+1)),Ie(bh,l),Ie(Fl,a);const u=dt();return At(()=>[u.value,l.value,t.name],([c,d,b],[p,m,f])=>{d&&(d.instances[b]=c,m&&m!==d&&c&&c===p&&(d.leaveGuards.size||(d.leaveGuards=m.leaveGuards),d.updateGuards.size||(d.updateGuards=m.updateGuards))),c&&d&&(!m||!_n(d,m)||!p)&&(d.enterCallbacks[b]||[]).forEach(v=>v(c))},{flush:"post"}),()=>{const c=a.value,d=t.name,b=l.value,p=b&&b.components[d];if(!p)return Nc(s.default,{Component:p,route:c});const m=b.props[d],f=m?m===!0?c.params:typeof m=="function"?m(c):m:null,y=oe(p,Bt({},f,e,{onVnodeUnmounted:g=>{g.component.isUnmounted&&(b.instances[d]=null)},ref:u}));return Nc(s.default,{Component:y,route:c})||y}}});function Nc(t,e){if(!t)return null;const s=t(e);return s.length===1?s[0]:s}const hh=_h;function yh(t){const e=ah(t.routes,t),s=t.parseQuery||dh,n=t.stringifyQuery||Ic,a=t.history,r=Nn(),o=Nn(),l=Nn(),u=xt(ns);let c=ns;tn&&t.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const d=Vo.bind(null,G=>""+G),b=Vo.bind(null,j_),p=Vo.bind(null,va);function m(G,Q){let J,rt;return wm(G)?(J=e.getRecordMatcher(G),rt=Q):rt=G,e.addRoute(rt,J)}function f(G){const Q=e.getRecordMatcher(G);Q&&e.removeRoute(Q)}function v(){return e.getRoutes().map(G=>G.record)}function y(G){return!!e.getRecordMatcher(G)}function g(G,Q){if(Q=Bt({},Q||u.value),typeof G=="string"){const O=Wo(s,G,Q.path),H=e.resolve({path:O.path},Q),W=a.createHref(O.fullPath);return Bt(O,H,{params:p(H.params),hash:va(O.hash),redirectedFrom:void 0,href:W})}let J;if(G.path!=null)J=Bt({},G,{path:Wo(s,G.path,Q.path).path});else{const O=Bt({},G.params);for(const H in O)O[H]==null&&delete O[H];J=Bt({},G,{params:b(O)}),Q.params=b(Q.params)}const rt=e.resolve(J,Q),Et=G.hash||"";rt.params=d(p(rt.params));const C=L_(n,Bt({},G,{hash:E_(Et),path:rt.path})),M=a.createHref(C);return Bt({fullPath:C,hash:Et,query:n===Ic?ch(G.query):G.query||{}},rt,{redirectedFrom:void 0,href:M})}function _(G){return typeof G=="string"?Wo(s,G,u.value.path):Bt({},G)}function h(G,Q){if(c!==G)return hn(8,{from:Q,to:G})}function k(G){return A(G)}function w(G){return k(Bt(_(G),{replace:!0}))}function T(G){const Q=G.matched[G.matched.length-1];if(Q&&Q.redirect){const{redirect:J}=Q;let rt=typeof J=="function"?J(G):J;return typeof rt=="string"&&(rt=rt.includes("?")||rt.includes("#")?rt=_(rt):{path:rt},rt.params={}),Bt({query:G.query,hash:G.hash,params:rt.path!=null?{}:G.params},rt)}}function A(G,Q){const J=c=g(G),rt=u.value,Et=G.state,C=G.force,M=G.replace===!0,O=T(J);if(O)return A(Bt(_(O),{state:typeof O=="object"?Bt({},Et,O.state):Et,force:C,replace:M}),Q||J);const H=J;H.redirectedFrom=Q;let W;return!C&&D_(n,rt,J)&&(W=hn(16,{to:H,from:rt}),et(rt,rt,!0,!1)),(W?Promise.resolve(W):I(H,rt)).catch(V=>Hi(V)?Hi(V,2)?V:Dt(V):nt(V,H,rt)).then(V=>{if(V){if(Hi(V,2))return A(Bt({replace:M},_(V.to),{state:typeof V.to=="object"?Bt({},Et,V.to.state):Et,force:C}),Q||H)}else V=j(H,rt,!0,M,Et);return N(H,rt,V),V})}function E(G,Q){const J=h(G,Q);return J?Promise.reject(J):Promise.resolve()}function S(G){const Q=wt.values().next().value;return Q&&typeof Q.runWithContext=="function"?Q.runWithContext(G):G()}function I(G,Q){let J;const[rt,Et,C]=kh(G,Q);J=Ko(rt.reverse(),"beforeRouteLeave",G,Q);for(const O of rt)O.leaveGuards.forEach(H=>{J.push(ds(H,G,Q))});const M=E.bind(null,G,Q);return J.push(M),se(J).then(()=>{J=[];for(const O of r.list())J.push(ds(O,G,Q));return J.push(M),se(J)}).then(()=>{J=Ko(Et,"beforeRouteUpdate",G,Q);for(const O of Et)O.updateGuards.forEach(H=>{J.push(ds(H,G,Q))});return J.push(M),se(J)}).then(()=>{J=[];for(const O of C)if(O.beforeEnter)if(zi(O.beforeEnter))for(const H of O.beforeEnter)J.push(ds(H,G,Q));else J.push(ds(O.beforeEnter,G,Q));return J.push(M),se(J)}).then(()=>(G.matched.forEach(O=>O.enterCallbacks={}),J=Ko(C,"beforeRouteEnter",G,Q,S),J.push(M),se(J))).then(()=>{J=[];for(const O of o.list())J.push(ds(O,G,Q));return J.push(M),se(J)}).catch(O=>Hi(O,8)?O:Promise.reject(O))}function N(G,Q,J){l.list().forEach(rt=>S(()=>rt(G,Q,J)))}function j(G,Q,J,rt,Et){const C=h(G,Q);if(C)return C;const M=Q===ns,O=tn?history.state:{};J&&(rt||M?a.replace(G.fullPath,Bt({scroll:M&&O&&O.scroll},Et)):a.push(G.fullPath,Et)),u.value=G,et(G,Q,J,M),Dt()}let R;function U(){R||(R=a.listen((G,Q,J)=>{if(!me.listening)return;const rt=g(G),Et=T(rt);if(Et){A(Bt(Et,{replace:!0,force:!0}),rt).catch(na);return}c=rt;const C=u.value;tn&&H_(zc(C.fullPath,J.delta),vo()),I(rt,C).catch(M=>Hi(M,12)?M:Hi(M,2)?(A(Bt(_(M.to),{force:!0}),rt).then(O=>{Hi(O,20)&&!J.delta&&J.type===ga.pop&&a.go(-1,!1)}).catch(na),Promise.reject()):(J.delta&&a.go(-J.delta,!1),nt(M,rt,C))).then(M=>{M=M||j(rt,C,!1),M&&(J.delta&&!Hi(M,8)?a.go(-J.delta,!1):J.type===ga.pop&&Hi(M,20)&&a.go(-1,!1)),N(rt,C,M)}).catch(na)}))}let tt=Nn(),X=Nn(),lt;function nt(G,Q,J){Dt(G);const rt=X.list();return rt.length?rt.forEach(Et=>Et(G,Q,J)):console.error(G),Promise.reject(G)}function yt(){return lt&&u.value!==ns?Promise.resolve():new Promise((G,Q)=>{tt.add([G,Q])})}function Dt(G){return lt||(lt=!G,U(),tt.list().forEach(([Q,J])=>G?J(G):Q()),tt.reset()),G}function et(G,Q,J,rt){const{scrollBehavior:Et}=t;if(!tn||!Et)return Promise.resolve();const C=!J&&U_(zc(G.fullPath,0))||(rt||!J)&&history.state&&history.state.scroll||null;return Pi().then(()=>Et(G,Q,C)).then(M=>M&&q_(M)).catch(M=>nt(M,G,Q))}const it=G=>a.go(G);let St;const wt=new Set,me={currentRoute:u,listening:!0,addRoute:m,removeRoute:f,clearRoutes:e.clearRoutes,hasRoute:y,getRoutes:v,resolve:g,options:t,push:k,replace:w,go:it,back:()=>it(-1),forward:()=>it(1),beforeEach:r.add,beforeResolve:o.add,afterEach:l.add,onError:X.add,isReady:yt,install(G){const Q=this;G.component("RouterLink",fh),G.component("RouterView",hh),G.config.globalProperties.$router=Q,Object.defineProperty(G.config.globalProperties,"$route",{enumerable:!0,get:()=>Z(u)}),tn&&!St&&u.value===ns&&(St=!0,k(a.location).catch(Et=>{}));const J={};for(const Et in ns)Object.defineProperty(J,Et,{get:()=>u.value[Et],enumerable:!0});G.provide(go,Q),G.provide(Xu,Xp(J)),G.provide(Fl,u);const rt=G.unmount;wt.add(G),G.unmount=function(){wt.delete(G),wt.size<1&&(c=ns,R&&R(),R=null,u.value=ns,St=!1,lt=!1),rt()}}};function se(G){return G.reduce((Q,J)=>Q.then(()=>S(J)),Promise.resolve())}return me}function kh(t,e){const s=[],n=[],a=[],r=Math.max(e.matched.length,t.matched.length);for(let o=0;o<r;o++){const l=e.matched[o];l&&(t.matched.find(c=>_n(c,l))?n.push(l):s.push(l));const u=t.matched[o];u&&(e.matched.find(c=>_n(c,u))||a.push(u))}return[s,n,a]}function TE(){return Zt(go)}function PE(t){return Zt(Xu)}const wh=[{path:"/",component:()=>Ht(()=>import("./Default-D6TP3Jm-.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34]),import.meta.url),children:[{path:"",redirect:"/home"},{path:"/home",name:"home",component:()=>Ht(()=>import("./HomeView-Ce92ayyq.js"),__vite__mapDeps([35,36,2,37,38,39,40,41,8,9,25,19,20,26,3,4,42,11,12,43,44,45,24,1,5,18,21,27,10,13,46]),import.meta.url)},{path:"/search",name:"search",component:()=>Ht(()=>import("./Search-CfWWRYM8.js"),__vite__mapDeps([47,40,41,8,2,9,25,19,20,26,3,4,42,11,12,43,44,45,48,22,1,5,23,49,38,36,37,39,10,13,50,51,16,7,17,52,30,31,53]),import.meta.url),props:!0},{path:"/browse",name:"browse",component:()=>Ht(()=>import("./BrowseView-CpLQHtyX.js"),__vite__mapDeps([54,48,8,2,9,22,1,3,4,5,23,25,19,20,26,41,42,49,38,36,37,39,10,11,12,13,50,51,16,7,17,52,30,31,43,44,53]),import.meta.url),props:t=>({...t.query})},{path:"/artists",children:[{path:"",name:"artists",component:()=>Ht(()=>import("./LibraryArtists-AQpKovH-.js"),__vite__mapDeps([55,48,8,2,9,22,1,3,4,5,23,25,19,20,26,41,42,49,38,36,37,39,10,11,12,13,50,51,16,7,17,52,30,31,43,44,53]),import.meta.url),props:!0},{path:":provider/:itemId",name:"artist",component:()=>Ht(()=>import("./ArtistDetails-CsUAphBR.js"),__vite__mapDeps([56,48,8,2,9,22,1,3,4,5,23,25,19,20,26,41,42,49,38,36,37,39,10,11,12,13,50,51,16,7,17,52,30,31,43,44,53,57,28,29,14,15,58,59,60]),import.meta.url),props:!0}]},{path:"/albums",children:[{path:"",name:"albums",component:()=>Ht(()=>import("./LibraryAlbums-BXL_C8SP.js"),__vite__mapDeps([61,48,8,2,9,22,1,3,4,5,23,25,19,20,26,41,42,49,38,36,37,39,10,11,12,13,50,51,16,7,17,52,30,31,43,44,53]),import.meta.url),props:!0},{path:":provider/:itemId",name:"album",component:()=>Ht(()=>import("./AlbumDetails-BsdgrAYJ.js"),__vite__mapDeps([62,48,8,2,9,22,1,3,4,5,23,25,19,20,26,41,42,49,38,36,37,39,10,11,12,13,50,51,16,7,17,52,30,31,43,44,53,57,28,29,14,15,58,59,60]),import.meta.url),props:!0}]},{path:"/tracks",children:[{path:"",name:"tracks",component:()=>Ht(()=>import("./LibraryTracks-DwwwDc4G.js"),__vite__mapDeps([63,48,8,2,9,22,1,3,4,5,23,25,19,20,26,41,42,49,38,36,37,39,10,11,12,13,50,51,16,7,17,52,30,31,43,44,53,64,14,15]),import.meta.url),props:!0},{path:":provider/:itemId",name:"track",component:()=>Ht(()=>import("./TrackDetails-CxCr9zVk.js"),__vite__mapDeps([65,48,8,2,9,22,1,3,4,5,23,25,19,20,26,41,42,49,38,36,37,39,10,11,12,13,50,51,16,7,17,52,30,31,43,44,53,57,28,29,14,15,58]),import.meta.url),props:t=>({...t.params,...t.query})}]},{path:"/playlists",children:[{path:"",name:"playlists",component:()=>Ht(()=>import("./LibraryPlaylists-B7CqLFrM.js"),__vite__mapDeps([66,48,8,2,9,22,1,3,4,5,23,25,19,20,26,41,42,49,38,36,37,39,10,11,12,13,50,51,16,7,17,52,30,31,43,44,53]),import.meta.url),props:!0},{path:":provider/:itemId",name:"playlist",component:()=>Ht(()=>import("./PlaylistDetails-D5xWtEb3.js"),__vite__mapDeps([67,48,8,2,9,22,1,3,4,5,23,25,19,20,26,41,42,49,38,36,37,39,10,11,12,13,50,51,16,7,17,52,30,31,43,44,53,57,28,29,14,15,58]),import.meta.url),props:!0}]},{path:"/podcasts",children:[{path:"",name:"podcasts",component:()=>Ht(()=>import("./LibraryPodcasts-BrBHm2E_.js"),__vite__mapDeps([68,48,8,2,9,22,1,3,4,5,23,25,19,20,26,41,42,49,38,36,37,39,10,11,12,13,50,51,16,7,17,52,30,31,43,44,53]),import.meta.url),props:!0},{path:":provider/:itemId",name:"podcast",component:()=>Ht(()=>import("./PodcastDetails-BeS-c5UX.js"),__vite__mapDeps([69,57,8,2,9,10,11,12,3,4,13,28,29,14,15,7,22,1,5,23,36,37,38,39,58,48,25,19,20,26,41,42,49,50,51,16,17,52,30,31,43,44,53]),import.meta.url),props:!0}]},{path:"/audiobooks",children:[{path:"",name:"audiobooks",component:()=>Ht(()=>import("./LibraryAudiobooks-DXBp77eB.js"),__vite__mapDeps([70,48,8,2,9,22,1,3,4,5,23,25,19,20,26,41,42,49,38,36,37,39,10,11,12,13,50,51,16,7,17,52,30,31,43,44,53]),import.meta.url),props:!0},{path:":provider/:itemId",name:"audiobook",component:()=>Ht(()=>import("./AudiobookDetails-BIb5s8Zv.js"),__vite__mapDeps([71,57,8,2,9,10,11,12,3,4,13,28,29,14,15,7,22,1,5,23,36,37,38,39,58]),import.meta.url),props:!0}]},{path:"/radios",children:[{path:"",name:"radios",component:()=>Ht(()=>import("./LibraryRadios-6zX7mbrf.js"),__vite__mapDeps([72,48,8,2,9,22,1,3,4,5,23,25,19,20,26,41,42,49,38,36,37,39,10,11,12,13,50,51,16,7,17,52,30,31,43,44,53,64,14,15]),import.meta.url),props:!0},{path:":provider/:itemId",name:"radio",component:()=>Ht(()=>import("./RadioDetails-C2ZrBD_O.js"),__vite__mapDeps([73,48,8,2,9,22,1,3,4,5,23,25,19,20,26,41,42,49,38,36,37,39,10,11,12,13,50,51,16,7,17,52,30,31,43,44,53,57,28,29,14,15,58]),import.meta.url),props:!0}]},{path:"/settings",name:"settings",component:()=>Ht(()=>import("./Settings-BoxpC-AY.js"),__vite__mapDeps([74,10,11,12,3,4,2,13]),import.meta.url),props:!0,children:[{path:"providers",name:"providersettings",component:()=>Ht(()=>import("./Providers-qU-O6ipT.js"),__vite__mapDeps([75,1,2,3,4,5,22,23,36,37,38,39,11,12,43,44,76]),import.meta.url),props:!0},{path:"players",name:"playersettings",component:()=>Ht(()=>import("./Players-Cwd3tLNd.js"),__vite__mapDeps([77,1,2,3,4,5,22,23,36,37,38,39,11,12]),import.meta.url),props:!0},{path:"core",name:"coresettings",component:()=>Ht(()=>import("./CoreConfigs-CkzOTNIn.js"),__vite__mapDeps([78,22,1,2,3,4,5,23,36,37,38,39,11,12,79]),import.meta.url),props:!0},{path:"frontend",name:"frontendsettings",component:()=>Ht(()=>import("./FrontendConfig-nI-iZiYF.js"),__vite__mapDeps([80,81,82,19,20,32,33,43,3,4,44,83,50,51,30,31,84,18,21,14,15,49,38,2,85,6,11,12]),import.meta.url),props:!0},{path:"addprovider/:domain",name:"addprovider",component:()=>Ht(()=>import("./AddProvider-DkX4eCfm.js"),__vite__mapDeps([86,87,81,82,19,20,32,33,43,3,4,44,83,50,51,30,31,84,18,21,14,15,49,38,2,85]),import.meta.url),props:!0},{path:"editprovider/:instanceId",name:"editprovider",component:()=>Ht(()=>import("./EditProvider-CNXAIJtI.js"),__vite__mapDeps([88,81,82,19,20,32,33,43,3,4,44,83,50,51,30,31,84,18,21,14,15,49,38,2,85,87]),import.meta.url),props:!0},{path:"editplayer/:playerId",name:"editplayer",component:()=>Ht(()=>import("./EditPlayer-BnxmbRHK.js"),__vite__mapDeps([89,81,82,19,20,32,33,43,3,4,44,83,50,51,30,31,84,18,21,14,15,49,38,2,85]),import.meta.url),props:!0},{path:"editplayer/:playerId/dsp",name:"editplayerdsp",component:()=>Ht(()=>import("./EditPlayerDsp-BEQVfGVO.js"),__vite__mapDeps([90,3,4,2,18,19,20,21,50,51,37,38,83,30,31,84,52,49,11,12,14,15,43,44,91]),import.meta.url),props:!0},{path:"editcore/:domain",name:"editcore",component:()=>Ht(()=>import("./EditCoreConfig-C-Y2wa-F.js"),__vite__mapDeps([92,81,82,19,20,32,33,43,3,4,44,83,50,51,30,31,84,18,21,14,15,49,38,2,85,87]),import.meta.url),props:!0},{path:"addgroup",name:"addgroup",component:()=>Ht(()=>import("./AddPlayerGroup-DuDOLCFk.js"),__vite__mapDeps([93,82,19,20,83,50,51,30,31,3,4,84]),import.meta.url),props:!0},{path:"",redirect:"/settings/providers"}]}]}],Ri=yh({history:X_(),routes:wh});Ri.afterEach((t,e)=>{e!=null&&e.path&&(console.debug("navigating from ",e.path," to ",t.path),at.prevRoute=e.path)});/*!
|
|
77
|
+
*/const tn=typeof document<"u";function mm(t){return typeof t=="object"||"displayName"in t||"props"in t||"__vccOpts"in t}function __(t){return t.__esModule||t[Symbol.toStringTag]==="Module"||t.default&&mm(t.default)}const Bt=Object.assign;function Vo(t,e){const s={};for(const n in e){const a=e[n];s[n]=zi(a)?a.map(t):t(a)}return s}const na=()=>{},zi=Array.isArray,fm=/#/g,h_=/&/g,y_=/\//g,k_=/=/g,w_=/\?/g,vm=/\+/g,S_=/%5B/g,z_=/%5D/g,gm=/%5E/g,A_=/%60/g,_m=/%7B/g,T_=/%7C/g,hm=/%7D/g,P_=/%20/g;function Yu(t){return encodeURI(""+t).replace(T_,"|").replace(S_,"[").replace(z_,"]")}function E_(t){return Yu(t).replace(_m,"{").replace(hm,"}").replace(gm,"^")}function Bl(t){return Yu(t).replace(vm,"%2B").replace(P_,"+").replace(fm,"%23").replace(h_,"%26").replace(A_,"`").replace(_m,"{").replace(hm,"}").replace(gm,"^")}function C_(t){return Bl(t).replace(k_,"%3D")}function M_(t){return Yu(t).replace(fm,"%23").replace(w_,"%3F")}function j_(t){return t==null?"":M_(t).replace(y_,"%2F")}function va(t){try{return decodeURIComponent(""+t)}catch{}return""+t}const x_=/\/$/,I_=t=>t.replace(x_,"");function Wo(t,e,s="/"){let n,a={},r="",o="";const l=e.indexOf("#");let u=e.indexOf("?");return l<u&&l>=0&&(u=-1),u>-1&&(n=e.slice(0,u),r=e.slice(u+1,l>-1?l:e.length),a=t(r)),l>-1&&(n=n||e.slice(0,l),o=e.slice(l,e.length)),n=O_(n??e,s),{fullPath:n+(r&&"?")+r+o,path:n,query:a,hash:va(o)}}function L_(t,e){const s=e.query?t(e.query):"";return e.path+(s&&"?")+s+(e.hash||"")}function wc(t,e){return!e||!t.toLowerCase().startsWith(e.toLowerCase())?t:t.slice(e.length)||"/"}function D_(t,e,s){const n=e.matched.length-1,a=s.matched.length-1;return n>-1&&n===a&&_n(e.matched[n],s.matched[a])&&ym(e.params,s.params)&&t(e.query)===t(s.query)&&e.hash===s.hash}function _n(t,e){return(t.aliasOf||t)===(e.aliasOf||e)}function ym(t,e){if(Object.keys(t).length!==Object.keys(e).length)return!1;for(const s in t)if(!R_(t[s],e[s]))return!1;return!0}function R_(t,e){return zi(t)?Sc(t,e):zi(e)?Sc(e,t):t===e}function Sc(t,e){return zi(e)?t.length===e.length&&t.every((s,n)=>s===e[n]):t.length===1&&t[0]===e}function O_(t,e){if(t.startsWith("/"))return t;if(!t)return e;const s=e.split("/"),n=t.split("/"),a=n[n.length-1];(a===".."||a===".")&&n.push("");let r=s.length-1,o,l;for(o=0;o<n.length;o++)if(l=n[o],l!==".")if(l==="..")r>1&&r--;else break;return s.slice(0,r).join("/")+"/"+n.slice(o).join("/")}const ns={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};var ga;(function(t){t.pop="pop",t.push="push"})(ga||(ga={}));var aa;(function(t){t.back="back",t.forward="forward",t.unknown=""})(aa||(aa={}));function N_(t){if(!t)if(tn){const e=document.querySelector("base");t=e&&e.getAttribute("href")||"/",t=t.replace(/^\w+:\/\/[^\/]+/,"")}else t="/";return t[0]!=="/"&&t[0]!=="#"&&(t="/"+t),I_(t)}const B_=/^[^#]+#/;function G_(t,e){return t.replace(B_,"#")+e}function F_(t,e){const s=document.documentElement.getBoundingClientRect(),n=t.getBoundingClientRect();return{behavior:e.behavior,left:n.left-s.left-(e.left||0),top:n.top-s.top-(e.top||0)}}const vo=()=>({left:window.scrollX,top:window.scrollY});function q_(t){let e;if("el"in t){const s=t.el,n=typeof s=="string"&&s.startsWith("#"),a=typeof s=="string"?n?document.getElementById(s.slice(1)):document.querySelector(s):s;if(!a)return;e=F_(a,t)}else e=t;"scrollBehavior"in document.documentElement.style?window.scrollTo(e):window.scrollTo(e.left!=null?e.left:window.scrollX,e.top!=null?e.top:window.scrollY)}function zc(t,e){return(history.state?history.state.position-e:-1)+t}const Gl=new Map;function H_(t,e){Gl.set(t,e)}function U_(t){const e=Gl.get(t);return Gl.delete(t),e}let V_=()=>location.protocol+"//"+location.host;function km(t,e){const{pathname:s,search:n,hash:a}=e,r=t.indexOf("#");if(r>-1){let l=a.includes(t.slice(r))?t.slice(r).length:1,u=a.slice(l);return u[0]!=="/"&&(u="/"+u),wc(u,"")}return wc(s,t)+n+a}function W_(t,e,s,n){let a=[],r=[],o=null;const l=({state:p})=>{const m=km(t,location),f=s.value,v=e.value;let y=0;if(p){if(s.value=m,e.value=p,o&&o===f){o=null;return}y=v?p.position-v.position:0}else n(m);a.forEach(g=>{g(s.value,f,{delta:y,type:ga.pop,direction:y?y>0?aa.forward:aa.back:aa.unknown})})};function u(){o=s.value}function c(p){a.push(p);const m=()=>{const f=a.indexOf(p);f>-1&&a.splice(f,1)};return r.push(m),m}function d(){const{history:p}=window;p.state&&p.replaceState(Bt({},p.state,{scroll:vo()}),"")}function b(){for(const p of r)p();r=[],window.removeEventListener("popstate",l),window.removeEventListener("beforeunload",d)}return window.addEventListener("popstate",l),window.addEventListener("beforeunload",d,{passive:!0}),{pauseListeners:u,listen:c,destroy:b}}function Ac(t,e,s,n=!1,a=!1){return{back:t,current:e,forward:s,replaced:n,position:window.history.length,scroll:a?vo():null}}function K_(t){const{history:e,location:s}=window,n={value:km(t,s)},a={value:e.state};a.value||r(n.value,{back:null,current:n.value,forward:null,position:e.length-1,replaced:!0,scroll:null},!0);function r(u,c,d){const b=t.indexOf("#"),p=b>-1?(s.host&&document.querySelector("base")?t:t.slice(b))+u:V_()+t+u;try{e[d?"replaceState":"pushState"](c,"",p),a.value=c}catch(m){console.error(m),s[d?"replace":"assign"](p)}}function o(u,c){const d=Bt({},e.state,Ac(a.value.back,u,a.value.forward,!0),c,{position:a.value.position});r(u,d,!0),n.value=u}function l(u,c){const d=Bt({},a.value,e.state,{forward:u,scroll:vo()});r(d.current,d,!0);const b=Bt({},Ac(n.value,u,null),{position:d.position+1},c);r(u,b,!1),n.value=u}return{location:n,state:a,push:l,replace:o}}function Y_(t){t=N_(t);const e=K_(t),s=W_(t,e.state,e.location,e.replace);function n(r,o=!0){o||s.pauseListeners(),history.go(r)}const a=Bt({location:"",base:t,go:n,createHref:G_.bind(null,t)},e,s);return Object.defineProperty(a,"location",{enumerable:!0,get:()=>e.location.value}),Object.defineProperty(a,"state",{enumerable:!0,get:()=>e.state.value}),a}function X_(t){return t=location.host?t||location.pathname+location.search:"",t.includes("#")||(t+="#"),Y_(t)}function $_(t){return typeof t=="string"||t&&typeof t=="object"}function wm(t){return typeof t=="string"||typeof t=="symbol"}const Sm=Symbol("");var Tc;(function(t){t[t.aborted=4]="aborted",t[t.cancelled=8]="cancelled",t[t.duplicated=16]="duplicated"})(Tc||(Tc={}));function hn(t,e){return Bt(new Error,{type:t,[Sm]:!0},e)}function Hi(t,e){return t instanceof Error&&Sm in t&&(e==null||!!(t.type&e))}const Pc="[^/]+?",Z_={sensitive:!1,strict:!1,start:!0,end:!0},Q_=/[.+*?^${}()[\]/\\]/g;function J_(t,e){const s=Bt({},Z_,e),n=[];let a=s.start?"^":"";const r=[];for(const c of t){const d=c.length?[]:[90];s.strict&&!c.length&&(a+="/");for(let b=0;b<c.length;b++){const p=c[b];let m=40+(s.sensitive?.25:0);if(p.type===0)b||(a+="/"),a+=p.value.replace(Q_,"\\$&"),m+=40;else if(p.type===1){const{value:f,repeatable:v,optional:y,regexp:g}=p;r.push({name:f,repeatable:v,optional:y});const _=g||Pc;if(_!==Pc){m+=10;try{new RegExp(`(${_})`)}catch(k){throw new Error(`Invalid custom RegExp for param "${f}" (${_}): `+k.message)}}let h=v?`((?:${_})(?:/(?:${_}))*)`:`(${_})`;b||(h=y&&c.length<2?`(?:/${h})`:"/"+h),y&&(h+="?"),a+=h,m+=20,y&&(m+=-8),v&&(m+=-20),_===".*"&&(m+=-50)}d.push(m)}n.push(d)}if(s.strict&&s.end){const c=n.length-1;n[c][n[c].length-1]+=.7000000000000001}s.strict||(a+="/?"),s.end?a+="$":s.strict&&!a.endsWith("/")&&(a+="(?:/|$)");const o=new RegExp(a,s.sensitive?"":"i");function l(c){const d=c.match(o),b={};if(!d)return null;for(let p=1;p<d.length;p++){const m=d[p]||"",f=r[p-1];b[f.name]=m&&f.repeatable?m.split("/"):m}return b}function u(c){let d="",b=!1;for(const p of t){(!b||!d.endsWith("/"))&&(d+="/"),b=!1;for(const m of p)if(m.type===0)d+=m.value;else if(m.type===1){const{value:f,repeatable:v,optional:y}=m,g=f in c?c[f]:"";if(zi(g)&&!v)throw new Error(`Provided param "${f}" is an array but it is not repeatable (* or + modifiers)`);const _=zi(g)?g.join("/"):g;if(!_)if(y)p.length<2&&(d.endsWith("/")?d=d.slice(0,-1):b=!0);else throw new Error(`Missing required param "${f}"`);d+=_}}return d||"/"}return{re:o,score:n,keys:r,parse:l,stringify:u}}function th(t,e){let s=0;for(;s<t.length&&s<e.length;){const n=e[s]-t[s];if(n)return n;s++}return t.length<e.length?t.length===1&&t[0]===80?-1:1:t.length>e.length?e.length===1&&e[0]===80?1:-1:0}function zm(t,e){let s=0;const n=t.score,a=e.score;for(;s<n.length&&s<a.length;){const r=th(n[s],a[s]);if(r)return r;s++}if(Math.abs(a.length-n.length)===1){if(Ec(n))return 1;if(Ec(a))return-1}return a.length-n.length}function Ec(t){const e=t[t.length-1];return t.length>0&&e[e.length-1]<0}const eh={type:0,value:""},ih=/[a-zA-Z0-9_]/;function sh(t){if(!t)return[[]];if(t==="/")return[[eh]];if(!t.startsWith("/"))throw new Error(`Invalid path "${t}"`);function e(m){throw new Error(`ERR (${s})/"${c}": ${m}`)}let s=0,n=s;const a=[];let r;function o(){r&&a.push(r),r=[]}let l=0,u,c="",d="";function b(){c&&(s===0?r.push({type:0,value:c}):s===1||s===2||s===3?(r.length>1&&(u==="*"||u==="+")&&e(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),r.push({type:1,value:c,regexp:d,repeatable:u==="*"||u==="+",optional:u==="*"||u==="?"})):e("Invalid state to consume buffer"),c="")}function p(){c+=u}for(;l<t.length;){if(u=t[l++],u==="\\"&&s!==2){n=s,s=4;continue}switch(s){case 0:u==="/"?(c&&b(),o()):u===":"?(b(),s=1):p();break;case 4:p(),s=n;break;case 1:u==="("?s=2:ih.test(u)?p():(b(),s=0,u!=="*"&&u!=="?"&&u!=="+"&&l--);break;case 2:u===")"?d[d.length-1]=="\\"?d=d.slice(0,-1)+u:s=3:d+=u;break;case 3:b(),s=0,u!=="*"&&u!=="?"&&u!=="+"&&l--,d="";break;default:e("Unknown state");break}}return s===2&&e(`Unfinished custom RegExp for param "${c}"`),b(),o(),a}function nh(t,e,s){const n=J_(sh(t.path),s),a=Bt(n,{record:t,parent:e,children:[],alias:[]});return e&&!a.record.aliasOf==!e.record.aliasOf&&e.children.push(a),a}function ah(t,e){const s=[],n=new Map;e=xc({strict:!1,end:!0,sensitive:!1},e);function a(b){return n.get(b)}function r(b,p,m){const f=!m,v=Mc(b);v.aliasOf=m&&m.record;const y=xc(e,b),g=[v];if("alias"in b){const k=typeof b.alias=="string"?[b.alias]:b.alias;for(const w of k)g.push(Mc(Bt({},v,{components:m?m.record.components:v.components,path:w,aliasOf:m?m.record:v})))}let _,h;for(const k of g){const{path:w}=k;if(p&&w[0]!=="/"){const T=p.record.path,A=T[T.length-1]==="/"?"":"/";k.path=p.record.path+(w&&A+w)}if(_=nh(k,p,y),m?m.alias.push(_):(h=h||_,h!==_&&h.alias.push(_),f&&b.name&&!jc(_)&&o(b.name)),Am(_)&&u(_),v.children){const T=v.children;for(let A=0;A<T.length;A++)r(T[A],_,m&&m.children[A])}m=m||_}return h?()=>{o(h)}:na}function o(b){if(wm(b)){const p=n.get(b);p&&(n.delete(b),s.splice(s.indexOf(p),1),p.children.forEach(o),p.alias.forEach(o))}else{const p=s.indexOf(b);p>-1&&(s.splice(p,1),b.record.name&&n.delete(b.record.name),b.children.forEach(o),b.alias.forEach(o))}}function l(){return s}function u(b){const p=lh(b,s);s.splice(p,0,b),b.record.name&&!jc(b)&&n.set(b.record.name,b)}function c(b,p){let m,f={},v,y;if("name"in b&&b.name){if(m=n.get(b.name),!m)throw hn(1,{location:b});y=m.record.name,f=Bt(Cc(p.params,m.keys.filter(h=>!h.optional).concat(m.parent?m.parent.keys.filter(h=>h.optional):[]).map(h=>h.name)),b.params&&Cc(b.params,m.keys.map(h=>h.name))),v=m.stringify(f)}else if(b.path!=null)v=b.path,m=s.find(h=>h.re.test(v)),m&&(f=m.parse(v),y=m.record.name);else{if(m=p.name?n.get(p.name):s.find(h=>h.re.test(p.path)),!m)throw hn(1,{location:b,currentLocation:p});y=m.record.name,f=Bt({},p.params,b.params),v=m.stringify(f)}const g=[];let _=m;for(;_;)g.unshift(_.record),_=_.parent;return{name:y,path:v,params:f,matched:g,meta:oh(g)}}t.forEach(b=>r(b));function d(){s.length=0,n.clear()}return{addRoute:r,resolve:c,removeRoute:o,clearRoutes:d,getRoutes:l,getRecordMatcher:a}}function Cc(t,e){const s={};for(const n of e)n in t&&(s[n]=t[n]);return s}function Mc(t){const e={path:t.path,redirect:t.redirect,name:t.name,meta:t.meta||{},aliasOf:t.aliasOf,beforeEnter:t.beforeEnter,props:rh(t),children:t.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in t?t.components||null:t.component&&{default:t.component}};return Object.defineProperty(e,"mods",{value:{}}),e}function rh(t){const e={},s=t.props||!1;if("component"in t)e.default=s;else for(const n in t.components)e[n]=typeof s=="object"?s[n]:s;return e}function jc(t){for(;t;){if(t.record.aliasOf)return!0;t=t.parent}return!1}function oh(t){return t.reduce((e,s)=>Bt(e,s.meta),{})}function xc(t,e){const s={};for(const n in t)s[n]=n in e?e[n]:t[n];return s}function lh(t,e){let s=0,n=e.length;for(;s!==n;){const r=s+n>>1;zm(t,e[r])<0?n=r:s=r+1}const a=uh(t);return a&&(n=e.lastIndexOf(a,n-1)),n}function uh(t){let e=t;for(;e=e.parent;)if(Am(e)&&zm(t,e)===0)return e}function Am({record:t}){return!!(t.name||t.components&&Object.keys(t.components).length||t.redirect)}function dh(t){const e={};if(t===""||t==="?")return e;const n=(t[0]==="?"?t.slice(1):t).split("&");for(let a=0;a<n.length;++a){const r=n[a].replace(vm," "),o=r.indexOf("="),l=va(o<0?r:r.slice(0,o)),u=o<0?null:va(r.slice(o+1));if(l in e){let c=e[l];zi(c)||(c=e[l]=[c]),c.push(u)}else e[l]=u}return e}function Ic(t){let e="";for(let s in t){const n=t[s];if(s=C_(s),n==null){n!==void 0&&(e+=(e.length?"&":"")+s);continue}(zi(n)?n.map(r=>r&&Bl(r)):[n&&Bl(n)]).forEach(r=>{r!==void 0&&(e+=(e.length?"&":"")+s,r!=null&&(e+="="+r))})}return e}function ch(t){const e={};for(const s in t){const n=t[s];n!==void 0&&(e[s]=zi(n)?n.map(a=>a==null?null:""+a):n==null?n:""+n)}return e}const bh=Symbol(""),Lc=Symbol(""),go=Symbol(""),Xu=Symbol(""),Fl=Symbol("");function Nn(){let t=[];function e(n){return t.push(n),()=>{const a=t.indexOf(n);a>-1&&t.splice(a,1)}}function s(){t=[]}return{add:e,list:()=>t.slice(),reset:s}}function ds(t,e,s,n,a,r=o=>o()){const o=n&&(n.enterCallbacks[a]=n.enterCallbacks[a]||[]);return()=>new Promise((l,u)=>{const c=p=>{p===!1?u(hn(4,{from:s,to:e})):p instanceof Error?u(p):$_(p)?u(hn(2,{from:e,to:p})):(o&&n.enterCallbacks[a]===o&&typeof p=="function"&&o.push(p),l())},d=r(()=>t.call(n&&n.instances[a],e,s,c));let b=Promise.resolve(d);t.length<3&&(b=b.then(c)),b.catch(p=>u(p))})}function Ko(t,e,s,n,a=r=>r()){const r=[];for(const o of t)for(const l in o.components){let u=o.components[l];if(!(e!=="beforeRouteEnter"&&!o.instances[l]))if(mm(u)){const d=(u.__vccOpts||u)[e];d&&r.push(ds(d,s,n,o,l,a))}else{let c=u();r.push(()=>c.then(d=>{if(!d)throw new Error(`Couldn't resolve component "${l}" at "${o.path}"`);const b=__(d)?d.default:d;o.mods[l]=d,o.components[l]=b;const m=(b.__vccOpts||b)[e];return m&&ds(m,s,n,o,l,a)()}))}}return r}function Dc(t){const e=Zt(go),s=Zt(Xu),n=B(()=>{const u=Z(t.to);return e.resolve(u)}),a=B(()=>{const{matched:u}=n.value,{length:c}=u,d=u[c-1],b=s.matched;if(!d||!b.length)return-1;const p=b.findIndex(_n.bind(null,d));if(p>-1)return p;const m=Rc(u[c-2]);return c>1&&Rc(d)===m&&b[b.length-1].path!==m?b.findIndex(_n.bind(null,u[c-2])):p}),r=B(()=>a.value>-1&&gh(s.params,n.value.params)),o=B(()=>a.value>-1&&a.value===s.matched.length-1&&ym(s.params,n.value.params));function l(u={}){if(vh(u)){const c=e[Z(t.replace)?"replace":"push"](Z(t.to)).catch(na);return t.viewTransition&&typeof document<"u"&&"startViewTransition"in document&&document.startViewTransition(()=>c),c}return Promise.resolve()}return{route:n,href:B(()=>n.value.href),isActive:r,isExactActive:o,navigate:l}}function ph(t){return t.length===1?t[0]:t}const mh=ii({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:Dc,setup(t,{slots:e}){const s=ge(Dc(t)),{options:n}=Zt(go),a=B(()=>({[Oc(t.activeClass,n.linkActiveClass,"router-link-active")]:s.isActive,[Oc(t.exactActiveClass,n.linkExactActiveClass,"router-link-exact-active")]:s.isExactActive}));return()=>{const r=e.default&&ph(e.default(s));return t.custom?r:oe("a",{"aria-current":s.isExactActive?t.ariaCurrentValue:null,href:s.href,onClick:s.navigate,class:a.value},r)}}}),fh=mh;function vh(t){if(!(t.metaKey||t.altKey||t.ctrlKey||t.shiftKey)&&!t.defaultPrevented&&!(t.button!==void 0&&t.button!==0)){if(t.currentTarget&&t.currentTarget.getAttribute){const e=t.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(e))return}return t.preventDefault&&t.preventDefault(),!0}}function gh(t,e){for(const s in e){const n=e[s],a=t[s];if(typeof n=="string"){if(n!==a)return!1}else if(!zi(a)||a.length!==n.length||n.some((r,o)=>r!==a[o]))return!1}return!0}function Rc(t){return t?t.aliasOf?t.aliasOf.path:t.path:""}const Oc=(t,e,s)=>t??e??s,_h=ii({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(t,{attrs:e,slots:s}){const n=Zt(Fl),a=B(()=>t.route||n.value),r=Zt(Lc,0),o=B(()=>{let c=Z(r);const{matched:d}=a.value;let b;for(;(b=d[c])&&!b.components;)c++;return c}),l=B(()=>a.value.matched[o.value]);Ie(Lc,B(()=>o.value+1)),Ie(bh,l),Ie(Fl,a);const u=dt();return At(()=>[u.value,l.value,t.name],([c,d,b],[p,m,f])=>{d&&(d.instances[b]=c,m&&m!==d&&c&&c===p&&(d.leaveGuards.size||(d.leaveGuards=m.leaveGuards),d.updateGuards.size||(d.updateGuards=m.updateGuards))),c&&d&&(!m||!_n(d,m)||!p)&&(d.enterCallbacks[b]||[]).forEach(v=>v(c))},{flush:"post"}),()=>{const c=a.value,d=t.name,b=l.value,p=b&&b.components[d];if(!p)return Nc(s.default,{Component:p,route:c});const m=b.props[d],f=m?m===!0?c.params:typeof m=="function"?m(c):m:null,y=oe(p,Bt({},f,e,{onVnodeUnmounted:g=>{g.component.isUnmounted&&(b.instances[d]=null)},ref:u}));return Nc(s.default,{Component:y,route:c})||y}}});function Nc(t,e){if(!t)return null;const s=t(e);return s.length===1?s[0]:s}const hh=_h;function yh(t){const e=ah(t.routes,t),s=t.parseQuery||dh,n=t.stringifyQuery||Ic,a=t.history,r=Nn(),o=Nn(),l=Nn(),u=xt(ns);let c=ns;tn&&t.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const d=Vo.bind(null,G=>""+G),b=Vo.bind(null,j_),p=Vo.bind(null,va);function m(G,Q){let J,rt;return wm(G)?(J=e.getRecordMatcher(G),rt=Q):rt=G,e.addRoute(rt,J)}function f(G){const Q=e.getRecordMatcher(G);Q&&e.removeRoute(Q)}function v(){return e.getRoutes().map(G=>G.record)}function y(G){return!!e.getRecordMatcher(G)}function g(G,Q){if(Q=Bt({},Q||u.value),typeof G=="string"){const O=Wo(s,G,Q.path),H=e.resolve({path:O.path},Q),W=a.createHref(O.fullPath);return Bt(O,H,{params:p(H.params),hash:va(O.hash),redirectedFrom:void 0,href:W})}let J;if(G.path!=null)J=Bt({},G,{path:Wo(s,G.path,Q.path).path});else{const O=Bt({},G.params);for(const H in O)O[H]==null&&delete O[H];J=Bt({},G,{params:b(O)}),Q.params=b(Q.params)}const rt=e.resolve(J,Q),Et=G.hash||"";rt.params=d(p(rt.params));const C=L_(n,Bt({},G,{hash:E_(Et),path:rt.path})),M=a.createHref(C);return Bt({fullPath:C,hash:Et,query:n===Ic?ch(G.query):G.query||{}},rt,{redirectedFrom:void 0,href:M})}function _(G){return typeof G=="string"?Wo(s,G,u.value.path):Bt({},G)}function h(G,Q){if(c!==G)return hn(8,{from:Q,to:G})}function k(G){return A(G)}function w(G){return k(Bt(_(G),{replace:!0}))}function T(G){const Q=G.matched[G.matched.length-1];if(Q&&Q.redirect){const{redirect:J}=Q;let rt=typeof J=="function"?J(G):J;return typeof rt=="string"&&(rt=rt.includes("?")||rt.includes("#")?rt=_(rt):{path:rt},rt.params={}),Bt({query:G.query,hash:G.hash,params:rt.path!=null?{}:G.params},rt)}}function A(G,Q){const J=c=g(G),rt=u.value,Et=G.state,C=G.force,M=G.replace===!0,O=T(J);if(O)return A(Bt(_(O),{state:typeof O=="object"?Bt({},Et,O.state):Et,force:C,replace:M}),Q||J);const H=J;H.redirectedFrom=Q;let W;return!C&&D_(n,rt,J)&&(W=hn(16,{to:H,from:rt}),et(rt,rt,!0,!1)),(W?Promise.resolve(W):I(H,rt)).catch(V=>Hi(V)?Hi(V,2)?V:Dt(V):nt(V,H,rt)).then(V=>{if(V){if(Hi(V,2))return A(Bt({replace:M},_(V.to),{state:typeof V.to=="object"?Bt({},Et,V.to.state):Et,force:C}),Q||H)}else V=j(H,rt,!0,M,Et);return N(H,rt,V),V})}function E(G,Q){const J=h(G,Q);return J?Promise.reject(J):Promise.resolve()}function S(G){const Q=wt.values().next().value;return Q&&typeof Q.runWithContext=="function"?Q.runWithContext(G):G()}function I(G,Q){let J;const[rt,Et,C]=kh(G,Q);J=Ko(rt.reverse(),"beforeRouteLeave",G,Q);for(const O of rt)O.leaveGuards.forEach(H=>{J.push(ds(H,G,Q))});const M=E.bind(null,G,Q);return J.push(M),se(J).then(()=>{J=[];for(const O of r.list())J.push(ds(O,G,Q));return J.push(M),se(J)}).then(()=>{J=Ko(Et,"beforeRouteUpdate",G,Q);for(const O of Et)O.updateGuards.forEach(H=>{J.push(ds(H,G,Q))});return J.push(M),se(J)}).then(()=>{J=[];for(const O of C)if(O.beforeEnter)if(zi(O.beforeEnter))for(const H of O.beforeEnter)J.push(ds(H,G,Q));else J.push(ds(O.beforeEnter,G,Q));return J.push(M),se(J)}).then(()=>(G.matched.forEach(O=>O.enterCallbacks={}),J=Ko(C,"beforeRouteEnter",G,Q,S),J.push(M),se(J))).then(()=>{J=[];for(const O of o.list())J.push(ds(O,G,Q));return J.push(M),se(J)}).catch(O=>Hi(O,8)?O:Promise.reject(O))}function N(G,Q,J){l.list().forEach(rt=>S(()=>rt(G,Q,J)))}function j(G,Q,J,rt,Et){const C=h(G,Q);if(C)return C;const M=Q===ns,O=tn?history.state:{};J&&(rt||M?a.replace(G.fullPath,Bt({scroll:M&&O&&O.scroll},Et)):a.push(G.fullPath,Et)),u.value=G,et(G,Q,J,M),Dt()}let R;function U(){R||(R=a.listen((G,Q,J)=>{if(!me.listening)return;const rt=g(G),Et=T(rt);if(Et){A(Bt(Et,{replace:!0,force:!0}),rt).catch(na);return}c=rt;const C=u.value;tn&&H_(zc(C.fullPath,J.delta),vo()),I(rt,C).catch(M=>Hi(M,12)?M:Hi(M,2)?(A(Bt(_(M.to),{force:!0}),rt).then(O=>{Hi(O,20)&&!J.delta&&J.type===ga.pop&&a.go(-1,!1)}).catch(na),Promise.reject()):(J.delta&&a.go(-J.delta,!1),nt(M,rt,C))).then(M=>{M=M||j(rt,C,!1),M&&(J.delta&&!Hi(M,8)?a.go(-J.delta,!1):J.type===ga.pop&&Hi(M,20)&&a.go(-1,!1)),N(rt,C,M)}).catch(na)}))}let tt=Nn(),X=Nn(),lt;function nt(G,Q,J){Dt(G);const rt=X.list();return rt.length?rt.forEach(Et=>Et(G,Q,J)):console.error(G),Promise.reject(G)}function yt(){return lt&&u.value!==ns?Promise.resolve():new Promise((G,Q)=>{tt.add([G,Q])})}function Dt(G){return lt||(lt=!G,U(),tt.list().forEach(([Q,J])=>G?J(G):Q()),tt.reset()),G}function et(G,Q,J,rt){const{scrollBehavior:Et}=t;if(!tn||!Et)return Promise.resolve();const C=!J&&U_(zc(G.fullPath,0))||(rt||!J)&&history.state&&history.state.scroll||null;return Pi().then(()=>Et(G,Q,C)).then(M=>M&&q_(M)).catch(M=>nt(M,G,Q))}const it=G=>a.go(G);let St;const wt=new Set,me={currentRoute:u,listening:!0,addRoute:m,removeRoute:f,clearRoutes:e.clearRoutes,hasRoute:y,getRoutes:v,resolve:g,options:t,push:k,replace:w,go:it,back:()=>it(-1),forward:()=>it(1),beforeEach:r.add,beforeResolve:o.add,afterEach:l.add,onError:X.add,isReady:yt,install(G){const Q=this;G.component("RouterLink",fh),G.component("RouterView",hh),G.config.globalProperties.$router=Q,Object.defineProperty(G.config.globalProperties,"$route",{enumerable:!0,get:()=>Z(u)}),tn&&!St&&u.value===ns&&(St=!0,k(a.location).catch(Et=>{}));const J={};for(const Et in ns)Object.defineProperty(J,Et,{get:()=>u.value[Et],enumerable:!0});G.provide(go,Q),G.provide(Xu,Xp(J)),G.provide(Fl,u);const rt=G.unmount;wt.add(G),G.unmount=function(){wt.delete(G),wt.size<1&&(c=ns,R&&R(),R=null,u.value=ns,St=!1,lt=!1),rt()}}};function se(G){return G.reduce((Q,J)=>Q.then(()=>S(J)),Promise.resolve())}return me}function kh(t,e){const s=[],n=[],a=[],r=Math.max(e.matched.length,t.matched.length);for(let o=0;o<r;o++){const l=e.matched[o];l&&(t.matched.find(c=>_n(c,l))?n.push(l):s.push(l));const u=t.matched[o];u&&(e.matched.find(c=>_n(c,u))||a.push(u))}return[s,n,a]}function TE(){return Zt(go)}function PE(t){return Zt(Xu)}const wh=[{path:"/",component:()=>Ht(()=>import("./Default-BGgohgt4.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34]),import.meta.url),children:[{path:"",redirect:"/home"},{path:"/home",name:"home",component:()=>Ht(()=>import("./HomeView-CnzTr0FW.js"),__vite__mapDeps([35,36,2,37,38,39,40,41,8,9,25,19,20,26,3,4,42,11,12,43,44,45,24,1,5,18,21,27,10,13,46]),import.meta.url)},{path:"/search",name:"search",component:()=>Ht(()=>import("./Search-CVJP5jfP.js"),__vite__mapDeps([47,40,41,8,2,9,25,19,20,26,3,4,42,11,12,43,44,45,48,22,1,5,23,49,38,36,37,39,10,13,50,51,16,7,17,52,30,31,53]),import.meta.url),props:!0},{path:"/browse",name:"browse",component:()=>Ht(()=>import("./BrowseView-CQFO5Hsm.js"),__vite__mapDeps([54,48,8,2,9,22,1,3,4,5,23,25,19,20,26,41,42,49,38,36,37,39,10,11,12,13,50,51,16,7,17,52,30,31,43,44,53]),import.meta.url),props:t=>({...t.query})},{path:"/artists",children:[{path:"",name:"artists",component:()=>Ht(()=>import("./LibraryArtists-BeuP2Psy.js"),__vite__mapDeps([55,48,8,2,9,22,1,3,4,5,23,25,19,20,26,41,42,49,38,36,37,39,10,11,12,13,50,51,16,7,17,52,30,31,43,44,53]),import.meta.url),props:!0},{path:":provider/:itemId",name:"artist",component:()=>Ht(()=>import("./ArtistDetails-Cp5TEF00.js"),__vite__mapDeps([56,48,8,2,9,22,1,3,4,5,23,25,19,20,26,41,42,49,38,36,37,39,10,11,12,13,50,51,16,7,17,52,30,31,43,44,53,57,28,29,14,15,58,59,60]),import.meta.url),props:!0}]},{path:"/albums",children:[{path:"",name:"albums",component:()=>Ht(()=>import("./LibraryAlbums-BBs_xIgi.js"),__vite__mapDeps([61,48,8,2,9,22,1,3,4,5,23,25,19,20,26,41,42,49,38,36,37,39,10,11,12,13,50,51,16,7,17,52,30,31,43,44,53]),import.meta.url),props:!0},{path:":provider/:itemId",name:"album",component:()=>Ht(()=>import("./AlbumDetails-DfcrlRJC.js"),__vite__mapDeps([62,48,8,2,9,22,1,3,4,5,23,25,19,20,26,41,42,49,38,36,37,39,10,11,12,13,50,51,16,7,17,52,30,31,43,44,53,57,28,29,14,15,58,59,60]),import.meta.url),props:!0}]},{path:"/tracks",children:[{path:"",name:"tracks",component:()=>Ht(()=>import("./LibraryTracks-DOJ0Hzam.js"),__vite__mapDeps([63,48,8,2,9,22,1,3,4,5,23,25,19,20,26,41,42,49,38,36,37,39,10,11,12,13,50,51,16,7,17,52,30,31,43,44,53,64,14,15]),import.meta.url),props:!0},{path:":provider/:itemId",name:"track",component:()=>Ht(()=>import("./TrackDetails-C8K3i9HV.js"),__vite__mapDeps([65,48,8,2,9,22,1,3,4,5,23,25,19,20,26,41,42,49,38,36,37,39,10,11,12,13,50,51,16,7,17,52,30,31,43,44,53,57,28,29,14,15,58]),import.meta.url),props:t=>({...t.params,...t.query})}]},{path:"/playlists",children:[{path:"",name:"playlists",component:()=>Ht(()=>import("./LibraryPlaylists-DIJFdjQ-.js"),__vite__mapDeps([66,48,8,2,9,22,1,3,4,5,23,25,19,20,26,41,42,49,38,36,37,39,10,11,12,13,50,51,16,7,17,52,30,31,43,44,53]),import.meta.url),props:!0},{path:":provider/:itemId",name:"playlist",component:()=>Ht(()=>import("./PlaylistDetails-C4DOse-D.js"),__vite__mapDeps([67,48,8,2,9,22,1,3,4,5,23,25,19,20,26,41,42,49,38,36,37,39,10,11,12,13,50,51,16,7,17,52,30,31,43,44,53,57,28,29,14,15,58]),import.meta.url),props:!0}]},{path:"/podcasts",children:[{path:"",name:"podcasts",component:()=>Ht(()=>import("./LibraryPodcasts-CesVf0Kz.js"),__vite__mapDeps([68,48,8,2,9,22,1,3,4,5,23,25,19,20,26,41,42,49,38,36,37,39,10,11,12,13,50,51,16,7,17,52,30,31,43,44,53]),import.meta.url),props:!0},{path:":provider/:itemId",name:"podcast",component:()=>Ht(()=>import("./PodcastDetails-DaGCkWSt.js"),__vite__mapDeps([69,57,8,2,9,10,11,12,3,4,13,28,29,14,15,7,22,1,5,23,36,37,38,39,58,48,25,19,20,26,41,42,49,50,51,16,17,52,30,31,43,44,53]),import.meta.url),props:!0}]},{path:"/audiobooks",children:[{path:"",name:"audiobooks",component:()=>Ht(()=>import("./LibraryAudiobooks-BgL5qpIP.js"),__vite__mapDeps([70,48,8,2,9,22,1,3,4,5,23,25,19,20,26,41,42,49,38,36,37,39,10,11,12,13,50,51,16,7,17,52,30,31,43,44,53]),import.meta.url),props:!0},{path:":provider/:itemId",name:"audiobook",component:()=>Ht(()=>import("./AudiobookDetails-BklI0n-g.js"),__vite__mapDeps([71,57,8,2,9,10,11,12,3,4,13,28,29,14,15,7,22,1,5,23,36,37,38,39,58]),import.meta.url),props:!0}]},{path:"/radios",children:[{path:"",name:"radios",component:()=>Ht(()=>import("./LibraryRadios-yn4GEj2i.js"),__vite__mapDeps([72,48,8,2,9,22,1,3,4,5,23,25,19,20,26,41,42,49,38,36,37,39,10,11,12,13,50,51,16,7,17,52,30,31,43,44,53,64,14,15]),import.meta.url),props:!0},{path:":provider/:itemId",name:"radio",component:()=>Ht(()=>import("./RadioDetails-Bs6chlh0.js"),__vite__mapDeps([73,48,8,2,9,22,1,3,4,5,23,25,19,20,26,41,42,49,38,36,37,39,10,11,12,13,50,51,16,7,17,52,30,31,43,44,53,57,28,29,14,15,58]),import.meta.url),props:!0}]},{path:"/settings",name:"settings",component:()=>Ht(()=>import("./Settings-ChnUKqvF.js"),__vite__mapDeps([74,10,11,12,3,4,2,13]),import.meta.url),props:!0,children:[{path:"providers",name:"providersettings",component:()=>Ht(()=>import("./Providers-BByWPDY8.js"),__vite__mapDeps([75,1,2,3,4,5,22,23,36,37,38,39,11,12,43,44,76]),import.meta.url),props:!0},{path:"players",name:"playersettings",component:()=>Ht(()=>import("./Players-DjkYBHB2.js"),__vite__mapDeps([77,1,2,3,4,5,22,23,36,37,38,39,11,12]),import.meta.url),props:!0},{path:"core",name:"coresettings",component:()=>Ht(()=>import("./CoreConfigs-DM94xAIj.js"),__vite__mapDeps([78,22,1,2,3,4,5,23,36,37,38,39,11,12,79]),import.meta.url),props:!0},{path:"frontend",name:"frontendsettings",component:()=>Ht(()=>import("./FrontendConfig-CHr1I1Il.js"),__vite__mapDeps([80,81,82,19,20,32,33,43,3,4,44,83,50,51,30,31,84,18,21,14,15,49,38,2,85,6,11,12]),import.meta.url),props:!0},{path:"addprovider/:domain",name:"addprovider",component:()=>Ht(()=>import("./AddProvider-Bk_BXOY6.js"),__vite__mapDeps([86,87,81,82,19,20,32,33,43,3,4,44,83,50,51,30,31,84,18,21,14,15,49,38,2,85]),import.meta.url),props:!0},{path:"editprovider/:instanceId",name:"editprovider",component:()=>Ht(()=>import("./EditProvider-cGeRrZqj.js"),__vite__mapDeps([88,81,82,19,20,32,33,43,3,4,44,83,50,51,30,31,84,18,21,14,15,49,38,2,85,87]),import.meta.url),props:!0},{path:"editplayer/:playerId",name:"editplayer",component:()=>Ht(()=>import("./EditPlayer-D39Dt_JR.js"),__vite__mapDeps([89,81,82,19,20,32,33,43,3,4,44,83,50,51,30,31,84,18,21,14,15,49,38,2,85]),import.meta.url),props:!0},{path:"editplayer/:playerId/dsp",name:"editplayerdsp",component:()=>Ht(()=>import("./EditPlayerDsp-CbEf2YNk.js"),__vite__mapDeps([90,3,4,2,18,19,20,21,50,51,37,38,83,30,31,84,52,49,11,12,14,15,43,44,91]),import.meta.url),props:!0},{path:"editcore/:domain",name:"editcore",component:()=>Ht(()=>import("./EditCoreConfig-BrcupdDY.js"),__vite__mapDeps([92,81,82,19,20,32,33,43,3,4,44,83,50,51,30,31,84,18,21,14,15,49,38,2,85,87]),import.meta.url),props:!0},{path:"addgroup",name:"addgroup",component:()=>Ht(()=>import("./AddPlayerGroup-BOFxKdmk.js"),__vite__mapDeps([93,82,19,20,83,50,51,30,31,3,4,84]),import.meta.url),props:!0},{path:"",redirect:"/settings/providers"}]}]}],Ri=yh({history:X_(),routes:wh});Ri.afterEach((t,e)=>{e!=null&&e.path&&(console.debug("navigating from ",e.path," to ",t.path),at.prevRoute=e.path)});/*!
|
|
78
78
|
* shared v11.1.2
|
|
79
79
|
* (c) 2025 kazuya kawaguchi
|
|
80
80
|
* Released under the MIT License.
|
|
@@ -252,17 +252,17 @@ Use for players that do not natively support gapless and/or crossfading or if th
|
|
|
252
252
|
|
|
253
253
|
**WARNING:** Setting the level too high may result in clipping!`}}},eq_bass:{label:{t:0,b:{t:2,i:[{t:3}],s:"Equalizer: bass"}},description:{t:0,b:{t:2,i:[{t:3}],s:"Use the built-in basic equalizer to adjust the bass (low tones) level of the audio."}}},eq_mid:{label:{t:0,b:{t:2,i:[{t:3}],s:"Equalizer: mid"}},description:{t:0,b:{t:2,i:[{t:3}],s:"Use the built-in basic equalizer to adjust the mid level of audio."}}},eq_treble:{label:{t:0,b:{t:2,i:[{t:3}],s:"Equalizer: treble"}},description:{t:0,b:{t:2,i:[{t:3}],s:"Use the built-in basic equalizer to adjust the treble (high tones) level of audio."}}},crossfade:{label:{t:0,b:{t:2,i:[{t:3}],s:"Enable crossfade"}},description:{t:0,b:{t:2,i:[{t:3}],s:"Enable a crossfade transition between (queue) tracks."}}},crossfade_duration:{label:{t:0,b:{t:2,i:[{t:3}],s:"Crossfade duration"}},description:{t:0,b:{t:2,i:[{t:3}],s:"Duration in seconds of the crossfade between tracks (if enabled)"}}},hide_player:{label:{t:0,b:{t:2,i:[{t:3}],s:"Hide this player in the user interface"}},description:{t:0,b:{t:2,i:[{t:3}],s:`Hide this player in the user interface.
|
|
254
254
|
|
|
255
|
-
Note that it can still be controlled and it will also show up in any sync groups the player belongs to.`}}},default_enqueue_select_artist:{label:{t:0,b:{t:2,i:[{t:3}],s:"Items to select when you play an (in-library) artist."}},description:{t:0,b:{t:2,i:[{t:3}],s:"If you want to play an artist, what items should be enqueued?"}},options:{library_tracks:{t:0,b:{t:2,i:[{t:3}],s:"Only in-library tracks"}},library_album_tracks:{t:0,b:{t:2,i:[{t:3}],s:"All tracks from all albums in the library"}},all_tracks:{t:0,b:{t:2,i:[{t:3}],s:"All (top) tracks from (all) provider(s)"}},all_album_tracks:{t:0,b:{t:2,i:[{t:3}],s:"All tracks from all albums from (all) provider(s)"}}}},default_enqueue_select_album:{label:{t:0,b:{t:2,i:[{t:3}],s:"Items to select when you play an (in-library) album."}},description:{t:0,b:{t:2,i:[{t:3}],s:"If you want to play an album, what items should be enqueued?"}},options:{library_tracks:{t:0,b:{t:2,i:[{t:3}],s:"Only in-library tracks"}},all_tracks:{t:0,b:{t:2,i:[{t:3}],s:"All tracks for album on provider"}}}},default_enqueue_action_artist:{label:{t:0,b:{t:2,i:[{t:3}],s:"Default enqueue option for Artist item(s)."}},description:{t:0,b:{t:2,i:[{t:3}],s:"Define the default enqueue action for this media type (if you did not specify an action)."}},options:{play:{t:0,b:{t:2,i:[{t:3}],s:"Play artist track(s) now and keep the remaining queue item(s)."}},replace:{t:0,b:{t:2,i:[{t:3}],s:"Clear the queue and play the artist track(s)"}},next:{t:0,b:{t:2,i:[{t:3}],s:"Play the item(s) right after the currently played/buffered item."}},replace_next:{t:0,b:{t:2,i:[{t:3}],s:"Clear the queue and play the artist track(s) right after the currently played/buffered item."}},add:{t:0,b:{t:2,i:[{t:3}],s:"Add the artist track(s) at the end of the queue."}}}},default_enqueue_action_album:{label:{t:0,b:{t:2,i:[{t:3}],s:"Default enqueue option for Album item(s)."}},description:{t:0,b:{t:2,i:[{t:3}],s:"Define the default enqueue action for this media type (if you did not specify an action)."}},options:{play:{t:0,b:{t:2,i:[{t:3}],s:"Play album track(s) now and keep the remaining queue item(s)."}},replace:{t:0,b:{t:2,i:[{t:3}],s:"Clear the queue and play the album track(s)"}},next:{t:0,b:{t:2,i:[{t:3}],s:"Play the item(s) right after the currently played/buffered item."}},replace_next:{t:0,b:{t:2,i:[{t:3}],s:"Clear the queue and play the album track(s) right after the currently played/buffered item."}},add:{t:0,b:{t:2,i:[{t:3}],s:"Add the album track(s) at the end of the queue."}}}},default_enqueue_action_track:{label:{t:0,b:{t:2,i:[{t:3}],s:"Default enqueue option for Track item(s)."}},description:{t:0,b:{t:2,i:[{t:3}],s:"Define the default enqueue action for this media type (if you did not specify an action)."}},options:{play:{t:0,b:{t:2,i:[{t:3}],s:"Play track(s) now and keep the remaining queue item(s)."}},replace:{t:0,b:{t:2,i:[{t:3}],s:"Clear the queue and play the track(s)."}},next:{t:0,b:{t:2,i:[{t:3}],s:"Play the track(s) right after the currently played/buffered item."}},replace_next:{t:0,b:{t:2,i:[{t:3}],s:"Clear the queue and play the track(s) right after the currently played/buffered item."}},add:{t:0,b:{t:2,i:[{t:3}],s:"Add the track(s) at the end of the queue."}}}},default_enqueue_action_playlist:{label:{t:0,b:{t:2,i:[{t:3}],s:"Default enqueue option for Playlist item(s)."}},description:{t:0,b:{t:2,i:[{t:3}],s:"Define the default enqueue action for this media type (if you did not specify an action)."}},options:{play:{t:0,b:{t:2,i:[{t:3}],s:"Play playlist track(s) now and keep the remaining queue item(s)."}},replace:{t:0,b:{t:2,i:[{t:3}],s:"Clear the queue and play the playlist track(s)"}},next:{t:0,b:{t:2,i:[{t:3}],s:"Play the item(s) right after the currently played/buffered item."}},replace_next:{t:0,b:{t:2,i:[{t:3}],s:"Clear the queue and play the playlist track(s) right after the currently played/buffered item."}},add:{t:0,b:{t:2,i:[{t:3}],s:"Add the playlist track(s) at the end of the queue."}}}},default_enqueue_action_radio:{label:{t:0,b:{t:2,i:[{t:3}],s:"Default enqueue option for Radio item(s)."}},description:{t:0,b:{t:2,i:[{t:3}],s:"Define the default enqueue action for this media type (if you did not specify an action)."}},options:{play:{t:0,b:{t:2,i:[{t:3}],s:"Play radio station now and keep the remaining queue item(s)."}},replace:{t:0,b:{t:2,i:[{t:3}],s:"Clear the queue and play the radio station"}},next:{t:0,b:{t:2,i:[{t:3}],s:"Play the item(s) right after the currently played/buffered item."}},replace_next:{t:0,b:{t:2,i:[{t:3}],s:"Clear the queue and play the radio station(s) right after the currently played/buffered item."}},add:{t:0,b:{t:2,i:[{t:3}],s:"Add the radio station(s) at the end of the queue."}}}},default:{t:0,b:{t:2,i:[{t:3}],s:"default"}},provider_depends_on_confirm:{t:0,b:{t:2,i:[{t:3,v:"Before you can set up "},{t:5,i:0},{t:3,v:", you need to have the "},{t:5,i:1},{t:3,v:" provider configured, do you want to do that now?"}]}},category:{audio:{t:0,b:{t:2,i:[{t:3}],s:"Audio"}},advanced:{t:0,b:{t:2,i:[{t:3}],s:"Advanced settings"}},generic:{t:0,b:{t:2,i:[{t:3}],s:"Generic settings"}},announcements:{t:0,b:{t:2,i:[{t:3}],s:"Announcements configuration"}},airplay:{t:0,b:{t:2,i:[{t:3}],s:"
|
|
255
|
+
Note that it can still be controlled and it will also show up in any sync groups the player belongs to.`}}},default_enqueue_select_artist:{label:{t:0,b:{t:2,i:[{t:3}],s:"Items to select when you play an (in-library) artist."}},description:{t:0,b:{t:2,i:[{t:3}],s:"If you want to play an artist, what items should be enqueued?"}},options:{library_tracks:{t:0,b:{t:2,i:[{t:3}],s:"Only in-library tracks"}},library_album_tracks:{t:0,b:{t:2,i:[{t:3}],s:"All tracks from all albums in the library"}},all_tracks:{t:0,b:{t:2,i:[{t:3}],s:"All (top) tracks from (all) provider(s)"}},all_album_tracks:{t:0,b:{t:2,i:[{t:3}],s:"All tracks from all albums from (all) provider(s)"}}}},default_enqueue_select_album:{label:{t:0,b:{t:2,i:[{t:3}],s:"Items to select when you play an (in-library) album."}},description:{t:0,b:{t:2,i:[{t:3}],s:"If you want to play an album, what items should be enqueued?"}},options:{library_tracks:{t:0,b:{t:2,i:[{t:3}],s:"Only in-library tracks"}},all_tracks:{t:0,b:{t:2,i:[{t:3}],s:"All tracks for album on provider"}}}},default_enqueue_action_artist:{label:{t:0,b:{t:2,i:[{t:3}],s:"Default enqueue option for Artist item(s)."}},description:{t:0,b:{t:2,i:[{t:3}],s:"Define the default enqueue action for this media type (if you did not specify an action)."}},options:{play:{t:0,b:{t:2,i:[{t:3}],s:"Play artist track(s) now and keep the remaining queue item(s)."}},replace:{t:0,b:{t:2,i:[{t:3}],s:"Clear the queue and play the artist track(s)"}},next:{t:0,b:{t:2,i:[{t:3}],s:"Play the item(s) right after the currently played/buffered item."}},replace_next:{t:0,b:{t:2,i:[{t:3}],s:"Clear the queue and play the artist track(s) right after the currently played/buffered item."}},add:{t:0,b:{t:2,i:[{t:3}],s:"Add the artist track(s) at the end of the queue."}}}},default_enqueue_action_album:{label:{t:0,b:{t:2,i:[{t:3}],s:"Default enqueue option for Album item(s)."}},description:{t:0,b:{t:2,i:[{t:3}],s:"Define the default enqueue action for this media type (if you did not specify an action)."}},options:{play:{t:0,b:{t:2,i:[{t:3}],s:"Play album track(s) now and keep the remaining queue item(s)."}},replace:{t:0,b:{t:2,i:[{t:3}],s:"Clear the queue and play the album track(s)"}},next:{t:0,b:{t:2,i:[{t:3}],s:"Play the item(s) right after the currently played/buffered item."}},replace_next:{t:0,b:{t:2,i:[{t:3}],s:"Clear the queue and play the album track(s) right after the currently played/buffered item."}},add:{t:0,b:{t:2,i:[{t:3}],s:"Add the album track(s) at the end of the queue."}}}},default_enqueue_action_track:{label:{t:0,b:{t:2,i:[{t:3}],s:"Default enqueue option for Track item(s)."}},description:{t:0,b:{t:2,i:[{t:3}],s:"Define the default enqueue action for this media type (if you did not specify an action)."}},options:{play:{t:0,b:{t:2,i:[{t:3}],s:"Play track(s) now and keep the remaining queue item(s)."}},replace:{t:0,b:{t:2,i:[{t:3}],s:"Clear the queue and play the track(s)."}},next:{t:0,b:{t:2,i:[{t:3}],s:"Play the track(s) right after the currently played/buffered item."}},replace_next:{t:0,b:{t:2,i:[{t:3}],s:"Clear the queue and play the track(s) right after the currently played/buffered item."}},add:{t:0,b:{t:2,i:[{t:3}],s:"Add the track(s) at the end of the queue."}}}},default_enqueue_action_playlist:{label:{t:0,b:{t:2,i:[{t:3}],s:"Default enqueue option for Playlist item(s)."}},description:{t:0,b:{t:2,i:[{t:3}],s:"Define the default enqueue action for this media type (if you did not specify an action)."}},options:{play:{t:0,b:{t:2,i:[{t:3}],s:"Play playlist track(s) now and keep the remaining queue item(s)."}},replace:{t:0,b:{t:2,i:[{t:3}],s:"Clear the queue and play the playlist track(s)"}},next:{t:0,b:{t:2,i:[{t:3}],s:"Play the item(s) right after the currently played/buffered item."}},replace_next:{t:0,b:{t:2,i:[{t:3}],s:"Clear the queue and play the playlist track(s) right after the currently played/buffered item."}},add:{t:0,b:{t:2,i:[{t:3}],s:"Add the playlist track(s) at the end of the queue."}}}},default_enqueue_action_radio:{label:{t:0,b:{t:2,i:[{t:3}],s:"Default enqueue option for Radio item(s)."}},description:{t:0,b:{t:2,i:[{t:3}],s:"Define the default enqueue action for this media type (if you did not specify an action)."}},options:{play:{t:0,b:{t:2,i:[{t:3}],s:"Play radio station now and keep the remaining queue item(s)."}},replace:{t:0,b:{t:2,i:[{t:3}],s:"Clear the queue and play the radio station"}},next:{t:0,b:{t:2,i:[{t:3}],s:"Play the item(s) right after the currently played/buffered item."}},replace_next:{t:0,b:{t:2,i:[{t:3}],s:"Clear the queue and play the radio station(s) right after the currently played/buffered item."}},add:{t:0,b:{t:2,i:[{t:3}],s:"Add the radio station(s) at the end of the queue."}}}},default:{t:0,b:{t:2,i:[{t:3}],s:"default"}},provider_depends_on_confirm:{t:0,b:{t:2,i:[{t:3,v:"Before you can set up "},{t:5,i:0},{t:3,v:", you need to have the "},{t:5,i:1},{t:3,v:" provider configured, do you want to do that now?"}]}},category:{audio:{t:0,b:{t:2,i:[{t:3}],s:"Audio"}},advanced:{t:0,b:{t:2,i:[{t:3}],s:"Advanced settings"}},generic:{t:0,b:{t:2,i:[{t:3}],s:"Generic settings"}},announcements:{t:0,b:{t:2,i:[{t:3}],s:"Announcements configuration"}},airplay:{t:0,b:{t:2,i:[{t:3}],s:"AirPlay specific settings"}},player_controls:{t:0,b:{t:2,i:[{t:3}],s:"Player controls"}},presets:{t:0,b:{t:2,i:[{t:3}],s:"Presets"}}},tts_pre_announce:{label:{t:0,b:{t:2,i:[{t:3}],s:"Pre-announce TTS announcements"}},description:{t:0,b:{t:2,i:[{t:3}],s:"When a TTS (text-to-speech) message is sent to the Announce feature, prepend the announcement with a short pre-announcement sound (bell whistle)."}}},announce_volume_strategy:{label:{t:0,b:{t:2,i:[{t:3}],s:"Volume strategy for Announcements"}},description:{t:0,b:{t:2,i:[{t:3}],s:"When an announcement is being broadcast to this player, how should the volume be adjusted temporarily (use in combination with the volume value below)?"}},options:{absolute:{t:0,b:{t:2,i:[{t:3}],s:"Absolute volume"}},relative:{t:0,b:{t:2,i:[{t:3}],s:"Relative volume increase"}},percentual:{t:0,b:{t:2,i:[{t:3}],s:"Volume increase by fixed percentage"}},none:{t:0,b:{t:2,i:[{t:3}],s:"Do not adjust volume"}}}},announce_volume:{label:{t:0,b:{t:2,i:[{t:3}],s:"Volume for Announcements"}},description:{t:0,b:{t:2,i:[{t:3}],s:"The percentual, relative or absolute volume level, used with the strategy for announcements."}}},announce_volume_min:{label:{t:0,b:{t:2,i:[{t:3}],s:"Minimum Volume level for Announcements"}},description:{t:0,b:{t:2,i:[{t:3}],s:"The volume (adjustment) of announcements should not go below this level."}}},announce_volume_max:{label:{t:0,b:{t:2,i:[{t:3}],s:"Maximum Volume level for Announcements"}},description:{t:0,b:{t:2,i:[{t:3}],s:"The volume (adjustment) of announcements should not go above this level."}}},icon:{label:{t:0,b:{t:2,i:[{t:3}],s:"Icon"}},description:{t:0,b:{t:2,i:[{t:3}],s:`Material design icon for this player.
|
|
256
256
|
|
|
257
257
|
See https://pictogrammers.com/library/mdi/.`}}},frontend:{t:0,b:{t:2,i:[{t:3}],s:"User Interface"}},frontend_desc:{t:0,b:{t:2,i:[{t:3}],s:"Configuration settings for the Music Assistant User Interface (frontend). Note that these settings are stored at a device level."}},theme:{label:{t:0,b:{t:2,i:[{t:3}],s:"Theme"}},options:{auto:{t:0,b:{t:2,i:[{t:3}],s:"Auto (follow system configuration)"}},light:{t:0,b:{t:2,i:[{t:3}],s:"Light"}},dark:{t:0,b:{t:2,i:[{t:3}],s:"Dark"}}}},menu_style:{label:{t:0,b:{t:2,i:[{t:3}],s:"Menu style"}},options:{horizontal:{t:0,b:{t:2,i:[{t:3}],s:"Horizontal"}},vertical:{t:0,b:{t:2,i:[{t:3}],s:"Vertical"}}}},menu_items:{label:{t:0,b:{t:2,i:[{t:3}],s:"Enabled menu items"}},description:{t:0,b:{t:2,i:[{t:3}],s:`Configure which items to show in the menu.
|
|
258
258
|
|
|
259
|
-
Note that if you disable settings you may lock yourself out.
|
|
259
|
+
Note that if you disable the settings you may lock yourself out.
|
|
260
260
|
|
|
261
|
-
|
|
261
|
+
To gain access again, you will need to manually enter the path to the settings or clear the browser cookies. Use at your own risk!`}}},language:{label:{t:0,b:{t:2,i:[{t:3}],s:"Language"}},options:{auto:{t:0,b:{t:2,i:[{t:3}],s:"Auto (follow system configuration)"}},cs:{t:0,b:{t:2,i:[{t:3}],s:"Czech"}},da:{t:0,b:{t:2,i:[{t:3}],s:"Danish"}},de:{t:0,b:{t:2,i:[{t:3}],s:"German"}},en:{t:0,b:{t:2,i:[{t:3}],s:"English"}},fr:{t:0,b:{t:2,i:[{t:3}],s:"French"}},nl:{t:0,b:{t:2,i:[{t:3}],s:"Dutch"}},pl:{t:0,b:{t:2,i:[{t:3}],s:"Polish"}},uk_UA:{t:0,b:{t:2,i:[{t:3}],s:"Ukrainian"}},zh_CN:{t:0,b:{t:2,i:[{t:3}],s:"Chinese (Simplified)"}},en_AU:{t:0,b:{t:2,i:[{t:3}],s:"English (Australian)"}},sr:{t:0,b:{t:2,i:[{t:3}],s:"Serbian"}},sr_Latn:{t:0,b:{t:2,i:[{t:3}],s:"Serbian (Latin)"}},sv_SE:{t:0,b:{t:2,i:[{t:3}],s:"Swedish"}},en_GB:{t:0,b:{t:2,i:[{t:3}],s:"English (United Kingdom)"}},es:{t:0,b:{t:2,i:[{t:3}],s:"Spanish"}},pt_PT:{t:0,b:{t:2,i:[{t:3}],s:"Portuguese"}},ko_KR:{t:0,b:{t:2,i:[{t:3}],s:"Korean"}},nb:{t:0,b:{t:2,i:[{t:3}],s:"Norwegian"}},ru_RU:{t:0,b:{t:2,i:[{t:3}],s:"Russian"}},pt_BR:{t:0,b:{t:2,i:[{t:3}],s:"Portuguese (Brazil)"}},sl_SI:{t:0,b:{t:2,i:[{t:3}],s:"Slovenian"}},hu_HU:{t:0,b:{t:2,i:[{t:3}],s:"Hungarian"}},it:{t:0,b:{t:2,i:[{t:3}],s:"Italian"}}}},hide_settings:{label:{t:0,b:{t:2,i:[{t:3}],s:"Hide settings button"}},description:{t:0,b:{t:2,i:[{t:3}],s:`Hide the settings button on the home screen.
|
|
262
262
|
|
|
263
|
-
Note that if you disable settings on the home screen and in the menu you may lock yourself out.
|
|
263
|
+
Note that if you disable the settings on the home screen and in the menu you may lock yourself out.
|
|
264
264
|
|
|
265
|
-
|
|
265
|
+
To gain access again, you will need to manually enter the path to the settings or clear the browser cookies. Use at your own risk!`}}},no_music_providers:{t:0,b:{t:2,i:[{t:3}],s:"No Music Providers configured"}},no_music_providers_detail:{t:0,b:{t:2,i:[{t:3}],s:"Start your Music Assistant experience by adding your Music providers."}},no_player_providers:{t:0,b:{t:2,i:[{t:3}],s:"No Player Providers configured"}},no_player_providers_detail:{t:0,b:{t:2,i:[{t:3}],s:"Configure player providers to select devices where Music Assistant can output your music."}},volume_normalization_radio:{label:{t:0,b:{t:2,i:[{t:3}],s:"Volume normalization method to use for radio streams"}},description:{t:0,b:{t:2,i:[{t:3}],s:`Set the preferred volume normalization strategy for radio streams.
|
|
266
266
|
By default Music Assistant collects a measurement of the radio station's (average perceived) loudness according to the EBU-R128 specification and then adjusts the overall gain/volume of the stream according to that measurement so the dynamic range of the audio is not affected. When no measurement (yet) exists for a radio station, Music Assistant will fallback to a dynamic (but less accurate) loudness levelling filter.
|
|
267
267
|
|
|
268
268
|
TIP: Radio streams often have varying loudness levels, especially during announcements and commercials.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as U,aJ as E,c as s,x as oe,bH as L,bd as ne,a as R,b$ as k,s as D,o as ae,bZ as se,c0 as ue,c1 as le,b as ie,aI as X,c2 as re}from"./index-
|
|
1
|
+
import{p as U,aJ as E,c as s,x as oe,bH as L,bd as ne,a as R,b$ as k,s as D,o as ae,bZ as se,c0 as ue,c1 as le,b as ie,aI as X,c2 as re}from"./index-DHdZ3kUo.js";const M=Symbol.for("vuetify:layout"),q=Symbol.for("vuetify:layout-item"),N=1e3,ye=U({overlaps:{type:Array,default:()=>[]},fullHeight:Boolean},"layout"),fe=U({name:{type:String},order:{type:[Number,String],default:0},absolute:Boolean},"layout-item");function pe(){const u=E(M);if(!u)throw new Error("[Vuetify] Could not find injected layout");return{getLayoutItem:u.getLayoutItem,mainRect:u.mainRect,mainStyles:u.mainStyles}}function me(u){const l=E(M);if(!l)throw new Error("[Vuetify] Could not find injected layout");const d=u.id??`layout-item-${se()}`,r=k("useLayoutItem");X(q,{id:d});const n=D(!1);ue(()=>n.value=!0),le(()=>n.value=!1);const{layoutItemStyles:c,layoutItemScrimStyles:v}=l.register(r,{...u,active:s(()=>n.value?!1:u.active.value),id:d});return ie(()=>l.unregister(d)),{layoutItemStyles:c,layoutRect:l.layoutRect,layoutItemScrimStyles:v}}const ce=(u,l,d,r)=>{let n={top:0,left:0,right:0,bottom:0};const c=[{id:"",layer:{...n}}];for(const v of u){const m=l.get(v),g=d.get(v),z=r.get(v);if(!m||!g||!z)continue;const b={...n,[m.value]:parseInt(n[m.value],10)+(z.value?parseInt(g.value,10):0)};c.push({id:v,layer:b}),n=b}return c};function ge(u){const l=E(M,null),d=s(()=>l?l.rootZIndex.value-100:N),r=oe([]),n=L(new Map),c=L(new Map),v=L(new Map),m=L(new Map),g=L(new Map),{resizeRef:z,contentRect:b}=ne(),F=s(()=>{const t=new Map,i=u.overlaps??[];for(const e of i.filter(a=>a.includes(":"))){const[a,o]=e.split(":");if(!r.value.includes(a)||!r.value.includes(o))continue;const y=n.get(a),p=n.get(o),S=c.get(a),w=c.get(o);!y||!p||!S||!w||(t.set(o,{position:y.value,amount:parseInt(S.value,10)}),t.set(a,{position:p.value,amount:-parseInt(w.value,10)}))}return t}),h=s(()=>{const t=[...new Set([...v.values()].map(e=>e.value))].sort((e,a)=>e-a),i=[];for(const e of t){const a=r.value.filter(o=>{var y;return((y=v.get(o))==null?void 0:y.value)===e});i.push(...a)}return ce(i,n,c,m)}),H=s(()=>!Array.from(g.values()).some(t=>t.value)),I=s(()=>h.value[h.value.length-1].layer),J=s(()=>({"--v-layout-left":R(I.value.left),"--v-layout-right":R(I.value.right),"--v-layout-top":R(I.value.top),"--v-layout-bottom":R(I.value.bottom),...H.value?void 0:{transition:"none"}})),x=s(()=>h.value.slice(1).map((t,i)=>{let{id:e}=t;const{layer:a}=h.value[i],o=c.get(e),y=n.get(e);return{id:e,...a,size:Number(o.value),position:y.value}})),T=t=>x.value.find(i=>i.id===t),O=k("createLayout"),Z=D(!1);ae(()=>{Z.value=!0}),X(M,{register:(t,i)=>{let{id:e,order:a,position:o,layoutSize:y,elementSize:p,active:S,disableTransitions:w,absolute:_}=i;v.set(e,a),n.set(e,o),c.set(e,y),m.set(e,S),w&&g.set(e,w);const j=re(q,O==null?void 0:O.vnode).indexOf(t);j>-1?r.value.splice(j,0,e):r.value.push(e);const B=s(()=>x.value.findIndex($=>$.id===e)),A=s(()=>d.value+h.value.length*2-B.value*2),G=s(()=>{const $=o.value==="left"||o.value==="right",C=o.value==="right",ee=o.value==="bottom",P=p.value??y.value,te=P===0?"%":"px",K={[o.value]:0,zIndex:A.value,transform:`translate${$?"X":"Y"}(${(S.value?0:-(P===0?100:P))*(C||ee?-1:1)}${te})`,position:_.value||d.value!==N?"absolute":"fixed",...H.value?void 0:{transition:"none"}};if(!Z.value)return K;const f=x.value[B.value];if(!f)throw new Error(`[Vuetify] Could not find layout item "${e}"`);const V=F.value.get(e);return V&&(f[V.position]+=V.amount),{...K,height:$?`calc(100% - ${f.top}px - ${f.bottom}px)`:p.value?`${p.value}px`:void 0,left:C?void 0:`${f.left}px`,right:C?`${f.right}px`:void 0,top:o.value!=="bottom"?`${f.top}px`:void 0,bottom:o.value!=="top"?`${f.bottom}px`:void 0,width:$?p.value?`${p.value}px`:void 0:`calc(100% - ${f.left}px - ${f.right}px)`}}),Q=s(()=>({zIndex:A.value-1}));return{layoutItemStyles:G,layoutItemScrimStyles:Q,zIndex:A}},unregister:t=>{v.delete(t),n.delete(t),c.delete(t),m.delete(t),g.delete(t),r.value=r.value.filter(i=>i!==t)},mainRect:I,mainStyles:J,getLayoutItem:T,items:x,layoutRect:b,rootZIndex:d});const W=s(()=>["v-layout",{"v-layout--full-height":u.fullHeight}]),Y=s(()=>({zIndex:l?d.value:void 0,position:l?"relative":void 0,overflow:l?"hidden":void 0}));return{layoutClasses:W,layoutStyles:Y,getLayoutItem:T,items:x,layoutRect:b,layoutRef:z}}export{M as V,pe as a,ye as b,ge as c,fe as m,me as u};
|