music-assistant-frontend 2.9.15__py3-none-any.whl → 2.9.16__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-BkZUSa8D.js → AddManualLink.vue_vue_type_script_setup_true_lang-DtsYf7VR.js} +1 -1
- music_assistant_frontend/assets/AddPlayerGroup-D2GVAYOo.js +1 -0
- music_assistant_frontend/assets/AddProvider-DA3SixKl.js +1 -0
- music_assistant_frontend/assets/{AlbumDetails-tzDokz1K.js → AlbumDetails-8wajBVVa.js} +1 -1
- music_assistant_frontend/assets/{ArtistDetails-DxVHWwHX.js → ArtistDetails-DEYb0YNt.js} +1 -1
- music_assistant_frontend/assets/BrowseView-CpLWTEro.js +1 -0
- music_assistant_frontend/assets/{Button-uBTEHpd0.js → Button-3km1d1Og.js} +1 -1
- music_assistant_frontend/assets/{Container-CJnP1AXv.js → Container-DzPH7nZE.js} +1 -1
- music_assistant_frontend/assets/{CoreConfigs-Bj6btv9K.js → CoreConfigs-DIfGkhiW.js} +1 -1
- music_assistant_frontend/assets/{Default-394Y_waZ.css → Default-m9bUWaMu.css} +1 -1
- music_assistant_frontend/assets/Default-s_I5hkfc.js +7 -0
- music_assistant_frontend/assets/{DrawerNavigation.vue_vue_type_style_index_0_scoped_42f910eb_lang-DwQhOjNL.js → DrawerNavigation.vue_vue_type_style_index_0_scoped_42f910eb_lang-Cb1MuTPH.js} +1 -1
- music_assistant_frontend/assets/EditConfig-CChBcU9p.js +57 -0
- music_assistant_frontend/assets/EditConfig-r-Y6ZD_i.css +1 -0
- music_assistant_frontend/assets/EditCoreConfig-C9gRz_gl.js +1 -0
- music_assistant_frontend/assets/EditPlayer-ClJfZ0DG.js +1 -0
- music_assistant_frontend/assets/EditProvider-CBxTyw_s.js +1 -0
- music_assistant_frontend/assets/FrontendConfig-QtTtMppO.js +1 -0
- music_assistant_frontend/assets/{HomeView-CrGkTnTj.js → HomeView-DVEydvFr.js} +1 -1
- music_assistant_frontend/assets/{ItemsListing-D0_QSUgh.js → ItemsListing-Dl4AIHip.js} +1 -1
- music_assistant_frontend/assets/{LibraryAlbums-0ObeilXj.js → LibraryAlbums-Cdm_HP9T.js} +1 -1
- music_assistant_frontend/assets/{LibraryArtists-IXP9zgj3.js → LibraryArtists-DI1O3ThU.js} +1 -1
- music_assistant_frontend/assets/{LibraryPlaylists-C5KBsTm8.js → LibraryPlaylists-Dv2BLPcg.js} +1 -1
- music_assistant_frontend/assets/{LibraryRadios-BVdCs2Gz.js → LibraryRadios-BwQJXkSk.js} +1 -1
- music_assistant_frontend/assets/{LibraryTracks-DdBe9pvh.js → LibraryTracks-YkaZ0pfE.js} +1 -1
- music_assistant_frontend/assets/{ListItem-BrzlQzsJ.js → ListItem-CGGJfPGv.js} +1 -1
- music_assistant_frontend/assets/{MediaItemImages-BmWEwMuZ.js → MediaItemImages-Dx8IVwM7.js} +1 -1
- music_assistant_frontend/assets/{PanelviewItemCompact-Dp_kpJNm.js → PanelviewItemCompact-beLhgDv9.js} +1 -1
- music_assistant_frontend/assets/{Players-B7qYTsFm.js → Players-CwNuBNR_.js} +1 -1
- music_assistant_frontend/assets/{PlaylistDetails-B6TK-WYx.js → PlaylistDetails-FQbQpym5.js} +1 -1
- music_assistant_frontend/assets/{ProviderDetails.vue_vue_type_script_setup_true_lang-CX4QbKkz.js → ProviderDetails.vue_vue_type_script_setup_true_lang-Ctx4Xa-f.js} +1 -1
- music_assistant_frontend/assets/{Providers-CfF2beOy.js → Providers-CQHq1G7k.js} +1 -1
- music_assistant_frontend/assets/{RadioDetails-C3VhqPVS.js → RadioDetails-CogHJ2ys.js} +1 -1
- music_assistant_frontend/assets/{Search-BAczNxIG.js → Search-audJ81r1.js} +1 -1
- music_assistant_frontend/assets/{Settings-CMj2amXA.js → Settings-CM0HvLkl.js} +1 -1
- music_assistant_frontend/assets/{Toolbar-DtRA5hwR.js → Toolbar-Dhk3Ksr9.js} +1 -1
- music_assistant_frontend/assets/{TrackDetails-ExRTU6qB.js → TrackDetails-D3PDSomF.js} +1 -1
- music_assistant_frontend/assets/{VAlert-6B6_WW_o.js → VAlert-C6AULF_N.js} +1 -1
- music_assistant_frontend/assets/VCard-mAz7Y-VQ.js +1 -0
- music_assistant_frontend/assets/{VCardText-BRzAu4nY.js → VCardText-Ci9lya7y.js} +1 -1
- music_assistant_frontend/assets/{VCheckbox-BHLOyC9w.js → VCheckbox-09hulYIT.js} +1 -1
- music_assistant_frontend/assets/{VCheckboxBtn-CNxrFD70.js → VCheckboxBtn-jt6ftUKR.js} +1 -1
- music_assistant_frontend/assets/VDialog-BINLdENu.js +1 -0
- music_assistant_frontend/assets/VDialog-C_A19P2m.css +1 -0
- music_assistant_frontend/assets/{VExpansionPanels-BFw4b3rC.js → VExpansionPanels-DLFDVb_x.js} +1 -1
- music_assistant_frontend/assets/{VInfiniteScroll-BuVahgbA.js → VInfiniteScroll-BkimMVps.js} +1 -1
- music_assistant_frontend/assets/{VList-3zZGcDKM.js → VList-8n21ZlQT.js} +1 -1
- music_assistant_frontend/assets/VListItem-0QPLZtJs.css +1 -0
- music_assistant_frontend/assets/{VListItem-BiYBTZ39.js → VListItem-pK5S0aIW.js} +1 -1
- music_assistant_frontend/assets/{VMenu-bkp9FdIZ.js → VMenu-DVqF3YlC.js} +1 -1
- music_assistant_frontend/assets/VSpacer-BAmmTpaS.js +1 -0
- music_assistant_frontend/assets/VSwitch-Bnh1q7sv.js +1 -0
- music_assistant_frontend/assets/VSwitch-DX1zkotx.css +1 -0
- music_assistant_frontend/assets/{VTextField-Dm45LZPf.js → VTextField-CWjbQzLW.js} +1 -1
- music_assistant_frontend/assets/{VToolbar-BUh6HJIk.js → VToolbar-Cf2te3zf.js} +1 -1
- music_assistant_frontend/assets/{VVirtualScroll-BqfdfU30.js → VVirtualScroll-DtUUxTLt.js} +1 -1
- music_assistant_frontend/assets/{eventbus-Bx0SmCX1.js → eventbus-B1FqU8Ma.js} +1 -1
- music_assistant_frontend/assets/index-daC-2ZJk.js +97 -0
- music_assistant_frontend/assets/{layout-Dlul22en.js → layout-Duih1ET2.js} +1 -1
- music_assistant_frontend/index.html +1 -1
- music_assistant_frontend/sw.js +1 -1
- {music_assistant_frontend-2.9.15.dist-info → music_assistant_frontend-2.9.16.dist-info}/METADATA +1 -1
- {music_assistant_frontend-2.9.15.dist-info → music_assistant_frontend-2.9.16.dist-info}/RECORD +66 -66
- music_assistant_frontend/assets/AddPlayerGroup-eO3vSrvB.js +0 -1
- music_assistant_frontend/assets/AddProvider-_jzZ32gP.js +0 -1
- music_assistant_frontend/assets/BrowseView-CgIfxG29.js +0 -1
- music_assistant_frontend/assets/Default-CrTgLzKZ.js +0 -7
- music_assistant_frontend/assets/EditConfig-C_LkqtOb.js +0 -57
- music_assistant_frontend/assets/EditConfig-DzX0klUv.css +0 -1
- music_assistant_frontend/assets/EditCoreConfig-CiaIUBfB.js +0 -1
- music_assistant_frontend/assets/EditPlayer-N5Tq1C0v.js +0 -1
- music_assistant_frontend/assets/EditProvider-nMZJsykL.js +0 -1
- music_assistant_frontend/assets/FrontendConfig-B3oSZFbD.js +0 -1
- music_assistant_frontend/assets/VCard-DBrKNDRb.js +0 -1
- music_assistant_frontend/assets/VDialog-Bqzs1FN_.js +0 -1
- music_assistant_frontend/assets/VDialog-DSiwUaN0.css +0 -1
- music_assistant_frontend/assets/VForm-By1tViDH.css +0 -1
- music_assistant_frontend/assets/VForm-EEtwtPI2.js +0 -1
- music_assistant_frontend/assets/VListItem-Cb-okpiA.css +0 -1
- music_assistant_frontend/assets/VSpacer-ByaMfX_d.js +0 -1
- music_assistant_frontend/assets/index-Dh8vTPrL.js +0 -97
- {music_assistant_frontend-2.9.15.dist-info → music_assistant_frontend-2.9.16.dist-info}/LICENSE +0 -0
- {music_assistant_frontend-2.9.15.dist-info → music_assistant_frontend-2.9.16.dist-info}/WHEEL +0 -0
- {music_assistant_frontend-2.9.15.dist-info → music_assistant_frontend-2.9.16.dist-info}/top_level.txt +0 -0
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
var Pt=Object.defineProperty;var Ft=(a,e,t)=>e in a?Pt(a,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):a[e]=t;var I=(a,e,t)=>Ft(a,typeof e!="symbol"?e+"":e,t);import{p as Ue,r as Q,x as O,u as x,ak as qt,aV as Me,aW as Mt,C as Bt,k as ut,I as Dt,J as me,y as Re,K as ge,S as Je,aX as ct,f as b,F as re,D as ae,aY as Ut,W as se,aZ as Ot,a_ as Nt,a$ as Zt,aA as jt,aJ as Kt,d as Qt,au as Ht,aN as M,b0 as qe,c as F,h as ie,e as J,w as B,i as Ye,g as U,t as te,$ as A,j as Ce}from"./index-Dh8vTPrL.js";import{b as Gt,d as Wt,c as Xt,V as Jt,a as Yt}from"./VExpansionPanels-BFw4b3rC.js";import{b as _t,t as ke,a as el,V as tl}from"./VList-3zZGcDKM.js";import{f as ll,e as nl,a as il,b as sl,g as al,u as rl,d as _e,h as et,i as ol}from"./VCheckboxBtn-CNxrFD70.js";import{V as tt}from"./VAlert-6B6_WW_o.js";import{N as ul,r as cl,c as dt,V as lt,D as dl,w as Be,K as ht,S as hl,T as pl,U as fl,z as gl,s as fe}from"./VListItem-BiYBTZ39.js";import{m as ml,V as de}from"./VTextField-Dm45LZPf.js";import{m as kl,u as bl,V as vl,a as xl}from"./VForm-EEtwtPI2.js";import{V as wl,f as yl}from"./VMenu-bkp9FdIZ.js";import{V as $l}from"./VVirtualScroll-BqfdfU30.js";import{V as Vl,a as Tl}from"./VCard-DBrKNDRb.js";import{b as nt}from"./VCardText-BRzAu4nY.js";import{V as Cl}from"./VSpacer-ByaMfX_d.js";import{V as Sl}from"./VDialog-Bqzs1FN_.js";import{_ as Rl}from"./_plugin-vue_export-helper-DlAUqK2U.js";const Il=(a,e,t)=>a==null||e==null?-1:a.toString().toLocaleLowerCase().indexOf(e.toString().toLocaleLowerCase()),Al=Ue({customFilter:Function,customKeyFilter:Object,filterKeys:[Array,String],filterMode:{type:String,default:"intersection"},noFilter:Boolean},"filter");function El(a,e,t){var o;const l=[],n=(t==null?void 0:t.default)??Il,i=t!=null&&t.filterKeys?Me(t.filterKeys):!1,s=Object.keys((t==null?void 0:t.customKeyFilter)??{}).length;if(!(a!=null&&a.length))return l;e:for(let u=0;u<a.length;u++){const[h,d=h]=Me(a[u]),m={},g={};let f=-1;if((e||s>0)&&!(t!=null&&t.noFilter)){if(typeof h=="object"){const L=i||Object.keys(d);for(const P of L){const D=Mt(d,P),z=(o=t==null?void 0:t.customKeyFilter)==null?void 0:o[P];if(f=z?z(D,e,h):n(D,e,h),f!==-1&&f!==!1)z?m[P]=f:g[P]=f;else if((t==null?void 0:t.filterMode)==="every")continue e}}else f=n(h,e,h),f!==-1&&f!==!1&&(g.title=f);const w=Object.keys(g).length,E=Object.keys(m).length;if(!w&&!E||(t==null?void 0:t.filterMode)==="union"&&E!==s&&!w||(t==null?void 0:t.filterMode)==="intersection"&&(E!==s||!w))continue}l.push({index:u,matches:{...g,...m}})}return l}function zl(a,e,t,l){const n=Q([]),i=Q(new Map),s=O(()=>x(e));qt(()=>{const u=typeof t=="function"?t():x(t),h=typeof u!="string"&&typeof u!="number"?"":String(u),d=El(s.value,h,{customKeyFilter:{...a.customKeyFilter,...x(l==null?void 0:l.customKeyFilter)},default:a.customFilter,filterKeys:a.filterKeys,filterMode:a.filterMode,noFilter:a.noFilter}),m=x(e),g=[],f=new Map;d.forEach(w=>{let{index:E,matches:L}=w;const P=m[E];g.push(P),f.set(P.value,L)}),n.value=g,i.value=f});function o(u){return i.value.get(u.value)}return{filteredItems:n,filteredMatches:i,getMatches:o}}function Ll(a,e,t){if(e==null)return a;if(Array.isArray(e))throw new Error("Multiple matches is not implemented");return typeof e=="number"&&~e?b(re,null,[b("span",{class:"v-combobox__unmask"},[a.substr(0,e)]),b("span",{class:"v-combobox__mask"},[a.substr(e,t)]),b("span",{class:"v-combobox__unmask"},[a.substr(e+t)])]):a}const Pl=Ue({autoSelectFirst:{type:[Boolean,String]},clearOnSelect:{type:Boolean,default:!0},delimiters:Array,...Al({filterKeys:["title"]}),...kl({hideNoData:!0,returnObject:!0}),...Bt(ml({modelValue:null,role:"combobox"}),["validationValue","dirty","appendInnerIcon"]),...ul({transition:!1})},"VCombobox"),Fl=ut()({name:"VCombobox",props:Pl(),emits:{"update:focused":a=>!0,"update:modelValue":a=>!0,"update:search":a=>!0,"update:menu":a=>!0},setup(a,e){var Ge;let{emit:t,slots:l}=e;const{t:n}=Dt(),i=Q(),s=me(!1),o=me(!0),u=me(!1),h=Q(),d=Q(),m=Re(a,"menu"),g=O({get:()=>m.value,set:p=>{var V;m.value&&!p&&((V=h.value)!=null&&V.ΨopenChildren.size)||(m.value=p)}}),f=me(-1);let w=!1;const E=O(()=>{var p;return(p=i.value)==null?void 0:p.color}),L=O(()=>g.value?a.closeText:a.openText),{items:P,transformIn:D,transformOut:z}=_t(a),{textColorClasses:le,textColorStyles:ne}=cl(E),y=Re(a,"modelValue",[],p=>D(Me(p)),p=>{const V=z(p);return a.multiple?V:V[0]??null}),N=ll(),k=O(()=>!!(a.chips||l.chip)),c=O(()=>k.value||!!l.selection),$=me(!a.multiple&&!c.value?((Ge=y.value[0])==null?void 0:Ge.title)??"":""),r=O({get:()=>$.value,set:p=>{var V;if($.value=p??"",!a.multiple&&!c.value&&(y.value=[ke(a,p)]),p&&a.multiple&&((V=a.delimiters)!=null&&V.length)){const q=p.split(new RegExp(`(?:${a.delimiters.join("|")})+`));q.length>1&&(q.forEach(T=>{T=T.trim(),T&&ee(ke(a,T))}),$.value="")}p||(f.value=-1),o.value=!p}}),Z=O(()=>typeof a.counterValue=="function"?a.counterValue(y.value):typeof a.counterValue=="number"?a.counterValue:a.multiple?y.value.length:r.value.length);ge($,p=>{w?Je(()=>w=!1):s.value&&!g.value&&(g.value=!0),t("update:search",p)}),ge(y,p=>{var V;!a.multiple&&!c.value&&($.value=((V=p[0])==null?void 0:V.title)??"")});const{filteredItems:j,getMatches:H}=zl(a,P,()=>o.value?"":r.value),v=O(()=>a.hideSelected?j.value.filter(p=>!y.value.some(V=>V.value===p.value)):j.value),Le=O(()=>y.value.map(p=>p.value)),oe=O(()=>{var V;return(a.autoSelectFirst===!0||a.autoSelectFirst==="exact"&&r.value===((V=v.value[0])==null?void 0:V.title))&&v.value.length>0&&!o.value&&!u.value}),Pe=O(()=>a.hideNoData&&!v.value.length||a.readonly||(N==null?void 0:N.isReadonly.value)),Fe=Q(),$t=bl(Fe,i);function Vt(p){w=!0,a.openOnClear&&(g.value=!0)}function Tt(){Pe.value||(g.value=!0)}function Ct(p){Pe.value||(s.value&&(p.preventDefault(),p.stopPropagation()),g.value=!g.value)}function St(p){var V;Nt(p)&&((V=i.value)==null||V.focus())}function Rt(p){var T;if(Zt(p)||a.readonly||N!=null&&N.isReadonly.value)return;const V=i.value.selectionStart,q=y.value.length;if((f.value>-1||["Enter","ArrowDown","ArrowUp"].includes(p.key))&&p.preventDefault(),["Enter","ArrowDown"].includes(p.key)&&(g.value=!0),["Escape"].includes(p.key)&&(g.value=!1),["Enter","Escape","Tab"].includes(p.key)&&(oe.value&&["Enter","Tab"].includes(p.key)&&!y.value.some(R=>{let{value:X}=R;return X===v.value[0].value})&&ee(j.value[0]),o.value=!0),p.key==="ArrowDown"&&oe.value&&((T=Fe.value)==null||T.focus("next")),p.key==="Enter"&&r.value&&(ee(ke(a,r.value)),c.value&&($.value="")),["Backspace","Delete"].includes(p.key)){if(!a.multiple&&c.value&&y.value.length>0&&!r.value)return ee(y.value[0],!1);if(~f.value){const R=f.value;ee(y.value[f.value],!1),f.value=R>=q-1?q-2:R}else p.key==="Backspace"&&!r.value&&(f.value=q-1)}if(a.multiple){if(p.key==="ArrowLeft"){if(f.value<0&&V>0)return;const R=f.value>-1?f.value-1:q-1;y.value[R]?f.value=R:(f.value=-1,i.value.setSelectionRange(r.value.length,r.value.length))}if(p.key==="ArrowRight"){if(f.value<0)return;const R=f.value+1;y.value[R]?f.value=R:(f.value=-1,i.value.setSelectionRange(0,0))}}}function It(){var p;a.eager&&((p=d.value)==null||p.calculateVisibleItems())}function At(){var p;s.value&&(o.value=!0,(p=i.value)==null||p.focus())}function ee(p){let V=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;if(!(!p||p.props.disabled))if(a.multiple){const q=y.value.findIndex(R=>a.valueComparator(R.value,p.value)),T=V??!~q;if(~q){const R=T?[...y.value,p]:[...y.value];R.splice(q,1),y.value=R}else T&&(y.value=[...y.value,p]);a.clearOnSelect&&(r.value="")}else{const q=V!==!1;y.value=q?[p]:[],$.value=q&&!c.value?p.title:"",Je(()=>{g.value=!1,o.value=!0})}}function Et(p){s.value=!0,setTimeout(()=>{u.value=!0})}function zt(p){u.value=!1}function Lt(p){(p==null||p===""&&!a.multiple&&!c.value)&&(y.value=[])}return ge(s,(p,V)=>{if(!(p||p===V)&&(f.value=-1,g.value=!1,r.value)){if(a.multiple){ee(ke(a,r.value));return}if(!c.value)return;y.value.some(q=>{let{title:T}=q;return T===r.value})?$.value="":ee(ke(a,r.value))}}),ge(g,()=>{if(!a.hideSelected&&g.value&&y.value.length){const p=v.value.findIndex(V=>y.value.some(q=>a.valueComparator(q.value,V.value)));ct&&window.requestAnimationFrame(()=>{var V;p>=0&&((V=d.value)==null||V.scrollToIndex(p))})}}),ge(()=>a.items,(p,V)=>{g.value||s.value&&!V.length&&p.length&&(g.value=!0)}),dt(()=>{const p=!!(!a.hideNoData||v.value.length||l["prepend-item"]||l["append-item"]||l["no-data"]),V=y.value.length>0,q=de.filterProps(a);return b(de,ae({ref:i},q,{modelValue:r.value,"onUpdate:modelValue":[T=>r.value=T,Lt],focused:s.value,"onUpdate:focused":T=>s.value=T,validationValue:y.externalValue,counterValue:Z.value,dirty:V,class:["v-combobox",{"v-combobox--active-menu":g.value,"v-combobox--chips":!!a.chips,"v-combobox--selection-slot":!!c.value,"v-combobox--selecting-index":f.value>-1,[`v-combobox--${a.multiple?"multiple":"single"}`]:!0},a.class],style:a.style,readonly:a.readonly,placeholder:V?void 0:a.placeholder,"onClick:clear":Vt,"onMousedown:control":Tt,onKeydown:Rt}),{...l,default:()=>b(re,null,[b(wl,ae({ref:h,modelValue:g.value,"onUpdate:modelValue":T=>g.value=T,activator:"parent",contentClass:"v-combobox__content",disabled:Pe.value,eager:a.eager,maxHeight:310,openOnClick:!1,closeOnContentClick:!1,transition:a.transition,onAfterEnter:It,onAfterLeave:At},a.menuProps),{default:()=>[p&&b(el,ae({ref:Fe,selected:Le.value,selectStrategy:a.multiple?"independent":"single-independent",onMousedown:T=>T.preventDefault(),onKeydown:St,onFocusin:Et,onFocusout:zt,tabindex:"-1","aria-live":"polite",color:a.itemColor??a.color},$t,a.listProps),{default:()=>{var T,R,X;return[(T=l["prepend-item"])==null?void 0:T.call(l),!v.value.length&&!a.hideNoData&&(((R=l["no-data"])==null?void 0:R.call(l))??b(lt,{title:n(a.noDataText)},null)),b($l,{ref:d,renderless:!0,items:v.value},{default:ue=>{var Xe;let{item:K,index:ce,itemRef:G}=ue;const We=ae(K.props,{ref:G,key:ce,active:oe.value&&ce===0?!0:void 0,onClick:()=>ee(K,null)});return((Xe=l.item)==null?void 0:Xe.call(l,{item:K,index:ce,props:We}))??b(lt,ae(We,{role:"option"}),{prepend:Ve=>{let{isSelected:Te}=Ve;return b(re,null,[a.multiple&&!a.hideSelected?b(nl,{key:K.value,modelValue:Te,ripple:!1,tabindex:"-1"},null):void 0,K.props.prependAvatar&&b(dl,{image:K.props.prependAvatar},null),K.props.prependIcon&&b(Be,{icon:K.props.prependIcon},null)])},title:()=>{var Ve,Te;return o.value?K.title:Ll(K.title,(Ve=H(K))==null?void 0:Ve.title,((Te=r.value)==null?void 0:Te.length)??0)}})}}),(X=l["append-item"])==null?void 0:X.call(l)]}})]}),y.value.map((T,R)=>{function X(G){G.stopPropagation(),G.preventDefault(),ee(T,!1)}const ue={"onClick:close":X,onKeydown(G){G.key!=="Enter"&&G.key!==" "||(G.preventDefault(),G.stopPropagation(),X(G))},onMousedown(G){G.preventDefault(),G.stopPropagation()},modelValue:!0,"onUpdate:modelValue":void 0},K=k.value?!!l.chip:!!l.selection,ce=K?Ut(k.value?l.chip({item:T,index:R,props:ue}):l.selection({item:T,index:R})):void 0;if(!(K&&!ce))return b("div",{key:T.value,class:["v-combobox__selection",R===f.value&&["v-combobox__selection--selected",le.value]],style:R===f.value?ne.value:{}},[k.value?l.chip?b(ht,{key:"chip-defaults",defaults:{VChip:{closable:a.closableChips,size:"small",text:T.title}}},{default:()=>[ce]}):b(il,ae({key:"chip",closable:a.closableChips,size:"small",text:T.title,disabled:T.props.disabled},ue),null):ce??b("span",{class:"v-combobox__selection-text"},[T.title,a.multiple&&R<y.value.length-1&&b("span",{class:"v-combobox__selection-comma"},[se(",")])])])})]),"append-inner":function(){var ue;for(var T=arguments.length,R=new Array(T),X=0;X<T;X++)R[X]=arguments[X];return b(re,null,[(ue=l["append-inner"])==null?void 0:ue.call(l,...R),(!a.hideNoData||a.items.length)&&a.menuIcon?b(Be,{class:"v-combobox__menu-icon",icon:a.menuIcon,onMousedown:Ct,onClick:Ot,"aria-label":n(L.value),title:n(L.value),tabindex:"-1"},null):void 0])}})}),yl({isFocused:s,isPristine:o,menu:g,search:r,selectionIndex:f,filteredItems:j,select:ee},i)}}),ql=Ue({indeterminate:Boolean,inset:Boolean,flat:Boolean,loading:{type:[Boolean,String],default:!1},...sl(),...al()},"VSwitch"),Ml=ut()({name:"VSwitch",inheritAttrs:!1,props:ql(),emits:{"update:focused":a=>!0,"update:modelValue":a=>!0,"update:indeterminate":a=>!0},setup(a,e){let{attrs:t,slots:l}=e;const n=Re(a,"indeterminate"),i=Re(a,"modelValue"),{loaderClasses:s}=hl(a),{isFocused:o,focus:u,blur:h}=rl(a),d=Q(),m=ct&&window.matchMedia("(forced-colors: active)").matches,g=O(()=>typeof a.loading=="string"&&a.loading!==""?a.loading:a.color),f=jt(),w=O(()=>a.id||`switch-${f}`);function E(){n.value&&(n.value=!1)}function L(P){var D,z;P.stopPropagation(),P.preventDefault(),(z=(D=d.value)==null?void 0:D.input)==null||z.click()}return dt(()=>{const[P,D]=Kt(t),z=_e.filterProps(a),le=et.filterProps(a);return b(_e,ae({class:["v-switch",{"v-switch--flat":a.flat},{"v-switch--inset":a.inset},{"v-switch--indeterminate":n.value},s.value,a.class]},P,z,{modelValue:i.value,"onUpdate:modelValue":ne=>i.value=ne,id:w.value,focused:o.value,style:a.style}),{...l,default:ne=>{let{id:y,messagesId:N,isDisabled:k,isReadonly:c,isValid:$}=ne;const r={model:i,isValid:$};return b(et,ae({ref:d},le,{modelValue:i.value,"onUpdate:modelValue":[Z=>i.value=Z,E],id:y.value,"aria-describedby":N.value,type:"checkbox","aria-checked":n.value?"mixed":void 0,disabled:k.value,readonly:c.value,onFocus:u,onBlur:h},D),{...l,default:Z=>{let{backgroundColorClasses:j,backgroundColorStyles:H}=Z;return b("div",{class:["v-switch__track",m?void 0:j.value],style:H.value,onClick:L},[l["track-true"]&&b("div",{key:"prepend",class:"v-switch__track-true"},[l["track-true"](r)]),l["track-false"]&&b("div",{key:"append",class:"v-switch__track-false"},[l["track-false"](r)])])},input:Z=>{let{inputNode:j,icon:H,backgroundColorClasses:v,backgroundColorStyles:Le}=Z;return b(re,null,[j,b("div",{class:["v-switch__thumb",{"v-switch__thumb--filled":H||a.loading},a.inset||m?void 0:v.value],style:a.inset?void 0:Le.value},[l.thumb?b(ht,{defaults:{VIcon:{icon:H,size:"x-small"}}},{default:()=>[l.thumb({...r,icon:H})]}):b(pl,null,{default:()=>[a.loading?b(fl,{name:"v-switch",active:!0,color:$.value===!1?void 0:g.value},{default:oe=>l.loader?l.loader(oe):b(gl,{active:oe.isActive,color:oe.color,indeterminate:!0,size:"16",width:"2"},null)}):H&&b(Be,{key:String(H),icon:H,size:"x-small"},null)]})])])}})}})}),{}}});function Oe(){return{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}}let pe=Oe();function pt(a){pe=a}const ft=/[&<>"']/,Bl=new RegExp(ft.source,"g"),gt=/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,Dl=new RegExp(gt.source,"g"),Ul={"&":"&","<":"<",">":">",'"':""","'":"'"},it=a=>Ul[a];function W(a,e){if(e){if(ft.test(a))return a.replace(Bl,it)}else if(gt.test(a))return a.replace(Dl,it);return a}const Ol=/(^|[^\[])\^/g;function S(a,e){let t=typeof a=="string"?a:a.source;e=e||"";const l={replace:(n,i)=>{let s=typeof i=="string"?i:i.source;return s=s.replace(Ol,"$1"),t=t.replace(n,s),l},getRegex:()=>new RegExp(t,e)};return l}function st(a){try{a=encodeURI(a).replace(/%25/g,"%")}catch{return null}return a}const xe={exec:()=>null};function at(a,e){const t=a.replace(/\|/g,(i,s,o)=>{let u=!1,h=s;for(;--h>=0&&o[h]==="\\";)u=!u;return u?"|":" |"}),l=t.split(/ \|/);let n=0;if(l[0].trim()||l.shift(),l.length>0&&!l[l.length-1].trim()&&l.pop(),e)if(l.length>e)l.splice(e);else for(;l.length<e;)l.push("");for(;n<l.length;n++)l[n]=l[n].trim().replace(/\\\|/g,"|");return l}function be(a,e,t){const l=a.length;if(l===0)return"";let n=0;for(;n<l;){const i=a.charAt(l-n-1);if(i===e&&!t)n++;else if(i!==e&&t)n++;else break}return a.slice(0,l-n)}function Nl(a,e){if(a.indexOf(e[1])===-1)return-1;let t=0;for(let l=0;l<a.length;l++)if(a[l]==="\\")l++;else if(a[l]===e[0])t++;else if(a[l]===e[1]&&(t--,t<0))return l;return-1}function rt(a,e,t,l){const n=e.href,i=e.title?W(e.title):null,s=a[1].replace(/\\([\[\]])/g,"$1");if(a[0].charAt(0)!=="!"){l.state.inLink=!0;const o={type:"link",raw:t,href:n,title:i,text:s,tokens:l.inlineTokens(s)};return l.state.inLink=!1,o}return{type:"image",raw:t,href:n,title:i,text:W(s)}}function Zl(a,e){const t=a.match(/^(\s+)(?:```)/);if(t===null)return e;const l=t[1];return e.split(`
|
|
2
|
-
`).map(n=>{const i=n.match(/^\s+/);if(i===null)return n;const[s]=i;return s.length>=l.length?n.slice(l.length):n}).join(`
|
|
3
|
-
`)}class Ie{constructor(e){I(this,"options");I(this,"rules");I(this,"lexer");this.options=e||pe}space(e){const t=this.rules.block.newline.exec(e);if(t&&t[0].length>0)return{type:"space",raw:t[0]}}code(e){const t=this.rules.block.code.exec(e);if(t){const l=t[0].replace(/^(?: {1,4}| {0,3}\t)/gm,"");return{type:"code",raw:t[0],codeBlockStyle:"indented",text:this.options.pedantic?l:be(l,`
|
|
4
|
-
`)}}}fences(e){const t=this.rules.block.fences.exec(e);if(t){const l=t[0],n=Zl(l,t[3]||"");return{type:"code",raw:l,lang:t[2]?t[2].trim().replace(this.rules.inline.anyPunctuation,"$1"):t[2],text:n}}}heading(e){const t=this.rules.block.heading.exec(e);if(t){let l=t[2].trim();if(/#$/.test(l)){const n=be(l,"#");(this.options.pedantic||!n||/ $/.test(n))&&(l=n.trim())}return{type:"heading",raw:t[0],depth:t[1].length,text:l,tokens:this.lexer.inline(l)}}}hr(e){const t=this.rules.block.hr.exec(e);if(t)return{type:"hr",raw:be(t[0],`
|
|
5
|
-
`)}}blockquote(e){const t=this.rules.block.blockquote.exec(e);if(t){let l=be(t[0],`
|
|
6
|
-
`).split(`
|
|
7
|
-
`),n="",i="";const s=[];for(;l.length>0;){let o=!1;const u=[];let h;for(h=0;h<l.length;h++)if(/^ {0,3}>/.test(l[h]))u.push(l[h]),o=!0;else if(!o)u.push(l[h]);else break;l=l.slice(h);const d=u.join(`
|
|
8
|
-
`),m=d.replace(/\n {0,3}((?:=+|-+) *)(?=\n|$)/g,`
|
|
9
|
-
$1`).replace(/^ {0,3}>[ \t]?/gm,"");n=n?`${n}
|
|
10
|
-
${d}`:d,i=i?`${i}
|
|
11
|
-
${m}`:m;const g=this.lexer.state.top;if(this.lexer.state.top=!0,this.lexer.blockTokens(m,s,!0),this.lexer.state.top=g,l.length===0)break;const f=s[s.length-1];if((f==null?void 0:f.type)==="code")break;if((f==null?void 0:f.type)==="blockquote"){const w=f,E=w.raw+`
|
|
12
|
-
`+l.join(`
|
|
13
|
-
`),L=this.blockquote(E);s[s.length-1]=L,n=n.substring(0,n.length-w.raw.length)+L.raw,i=i.substring(0,i.length-w.text.length)+L.text;break}else if((f==null?void 0:f.type)==="list"){const w=f,E=w.raw+`
|
|
14
|
-
`+l.join(`
|
|
15
|
-
`),L=this.list(E);s[s.length-1]=L,n=n.substring(0,n.length-f.raw.length)+L.raw,i=i.substring(0,i.length-w.raw.length)+L.raw,l=E.substring(s[s.length-1].raw.length).split(`
|
|
16
|
-
`);continue}}return{type:"blockquote",raw:n,tokens:s,text:i}}}list(e){let t=this.rules.block.list.exec(e);if(t){let l=t[1].trim();const n=l.length>1,i={type:"list",raw:"",ordered:n,start:n?+l.slice(0,-1):"",loose:!1,items:[]};l=n?`\\d{1,9}\\${l.slice(-1)}`:`\\${l}`,this.options.pedantic&&(l=n?l:"[*+-]");const s=new RegExp(`^( {0,3}${l})((?:[ ][^\\n]*)?(?:\\n|$))`);let o=!1;for(;e;){let u=!1,h="",d="";if(!(t=s.exec(e))||this.rules.block.hr.test(e))break;h=t[0],e=e.substring(h.length);let m=t[2].split(`
|
|
17
|
-
`,1)[0].replace(/^\t+/,P=>" ".repeat(3*P.length)),g=e.split(`
|
|
18
|
-
`,1)[0],f=!m.trim(),w=0;if(this.options.pedantic?(w=2,d=m.trimStart()):f?w=t[1].length+1:(w=t[2].search(/[^ ]/),w=w>4?1:w,d=m.slice(w),w+=t[1].length),f&&/^[ \t]*$/.test(g)&&(h+=g+`
|
|
19
|
-
`,e=e.substring(g.length+1),u=!0),!u){const P=new RegExp(`^ {0,${Math.min(3,w-1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ ][^\\n]*)?(?:\\n|$))`),D=new RegExp(`^ {0,${Math.min(3,w-1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`),z=new RegExp(`^ {0,${Math.min(3,w-1)}}(?:\`\`\`|~~~)`),le=new RegExp(`^ {0,${Math.min(3,w-1)}}#`),ne=new RegExp(`^ {0,${Math.min(3,w-1)}}<[a-z].*>`,"i");for(;e;){const y=e.split(`
|
|
20
|
-
`,1)[0];let N;if(g=y,this.options.pedantic?(g=g.replace(/^ {1,4}(?=( {4})*[^ ])/g," "),N=g):N=g.replace(/\t/g," "),z.test(g)||le.test(g)||ne.test(g)||P.test(g)||D.test(g))break;if(N.search(/[^ ]/)>=w||!g.trim())d+=`
|
|
21
|
-
`+N.slice(w);else{if(f||m.replace(/\t/g," ").search(/[^ ]/)>=4||z.test(m)||le.test(m)||D.test(m))break;d+=`
|
|
22
|
-
`+g}!f&&!g.trim()&&(f=!0),h+=y+`
|
|
23
|
-
`,e=e.substring(y.length+1),m=N.slice(w)}}i.loose||(o?i.loose=!0:/\n[ \t]*\n[ \t]*$/.test(h)&&(o=!0));let E=null,L;this.options.gfm&&(E=/^\[[ xX]\] /.exec(d),E&&(L=E[0]!=="[ ] ",d=d.replace(/^\[[ xX]\] +/,""))),i.items.push({type:"list_item",raw:h,task:!!E,checked:L,loose:!1,text:d,tokens:[]}),i.raw+=h}i.items[i.items.length-1].raw=i.items[i.items.length-1].raw.trimEnd(),i.items[i.items.length-1].text=i.items[i.items.length-1].text.trimEnd(),i.raw=i.raw.trimEnd();for(let u=0;u<i.items.length;u++)if(this.lexer.state.top=!1,i.items[u].tokens=this.lexer.blockTokens(i.items[u].text,[]),!i.loose){const h=i.items[u].tokens.filter(m=>m.type==="space"),d=h.length>0&&h.some(m=>/\n.*\n/.test(m.raw));i.loose=d}if(i.loose)for(let u=0;u<i.items.length;u++)i.items[u].loose=!0;return i}}html(e){const t=this.rules.block.html.exec(e);if(t)return{type:"html",block:!0,raw:t[0],pre:t[1]==="pre"||t[1]==="script"||t[1]==="style",text:t[0]}}def(e){const t=this.rules.block.def.exec(e);if(t){const l=t[1].toLowerCase().replace(/\s+/g," "),n=t[2]?t[2].replace(/^<(.*)>$/,"$1").replace(this.rules.inline.anyPunctuation,"$1"):"",i=t[3]?t[3].substring(1,t[3].length-1).replace(this.rules.inline.anyPunctuation,"$1"):t[3];return{type:"def",tag:l,raw:t[0],href:n,title:i}}}table(e){const t=this.rules.block.table.exec(e);if(!t||!/[:|]/.test(t[2]))return;const l=at(t[1]),n=t[2].replace(/^\||\| *$/g,"").split("|"),i=t[3]&&t[3].trim()?t[3].replace(/\n[ \t]*$/,"").split(`
|
|
24
|
-
`):[],s={type:"table",raw:t[0],header:[],align:[],rows:[]};if(l.length===n.length){for(const o of n)/^ *-+: *$/.test(o)?s.align.push("right"):/^ *:-+: *$/.test(o)?s.align.push("center"):/^ *:-+ *$/.test(o)?s.align.push("left"):s.align.push(null);for(let o=0;o<l.length;o++)s.header.push({text:l[o],tokens:this.lexer.inline(l[o]),header:!0,align:s.align[o]});for(const o of i)s.rows.push(at(o,s.header.length).map((u,h)=>({text:u,tokens:this.lexer.inline(u),header:!1,align:s.align[h]})));return s}}lheading(e){const t=this.rules.block.lheading.exec(e);if(t)return{type:"heading",raw:t[0],depth:t[2].charAt(0)==="="?1:2,text:t[1],tokens:this.lexer.inline(t[1])}}paragraph(e){const t=this.rules.block.paragraph.exec(e);if(t){const l=t[1].charAt(t[1].length-1)===`
|
|
25
|
-
`?t[1].slice(0,-1):t[1];return{type:"paragraph",raw:t[0],text:l,tokens:this.lexer.inline(l)}}}text(e){const t=this.rules.block.text.exec(e);if(t)return{type:"text",raw:t[0],text:t[0],tokens:this.lexer.inline(t[0])}}escape(e){const t=this.rules.inline.escape.exec(e);if(t)return{type:"escape",raw:t[0],text:W(t[1])}}tag(e){const t=this.rules.inline.tag.exec(e);if(t)return!this.lexer.state.inLink&&/^<a /i.test(t[0])?this.lexer.state.inLink=!0:this.lexer.state.inLink&&/^<\/a>/i.test(t[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&/^<(pre|code|kbd|script)(\s|>)/i.test(t[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(t[0])&&(this.lexer.state.inRawBlock=!1),{type:"html",raw:t[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,block:!1,text:t[0]}}link(e){const t=this.rules.inline.link.exec(e);if(t){const l=t[2].trim();if(!this.options.pedantic&&/^</.test(l)){if(!/>$/.test(l))return;const s=be(l.slice(0,-1),"\\");if((l.length-s.length)%2===0)return}else{const s=Nl(t[2],"()");if(s>-1){const u=(t[0].indexOf("!")===0?5:4)+t[1].length+s;t[2]=t[2].substring(0,s),t[0]=t[0].substring(0,u).trim(),t[3]=""}}let n=t[2],i="";if(this.options.pedantic){const s=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(n);s&&(n=s[1],i=s[3])}else i=t[3]?t[3].slice(1,-1):"";return n=n.trim(),/^</.test(n)&&(this.options.pedantic&&!/>$/.test(l)?n=n.slice(1):n=n.slice(1,-1)),rt(t,{href:n&&n.replace(this.rules.inline.anyPunctuation,"$1"),title:i&&i.replace(this.rules.inline.anyPunctuation,"$1")},t[0],this.lexer)}}reflink(e,t){let l;if((l=this.rules.inline.reflink.exec(e))||(l=this.rules.inline.nolink.exec(e))){const n=(l[2]||l[1]).replace(/\s+/g," "),i=t[n.toLowerCase()];if(!i){const s=l[0].charAt(0);return{type:"text",raw:s,text:s}}return rt(l,i,l[0],this.lexer)}}emStrong(e,t,l=""){let n=this.rules.inline.emStrongLDelim.exec(e);if(!n||n[3]&&l.match(/[\p{L}\p{N}]/u))return;if(!(n[1]||n[2]||"")||!l||this.rules.inline.punctuation.exec(l)){const s=[...n[0]].length-1;let o,u,h=s,d=0;const m=n[0][0]==="*"?this.rules.inline.emStrongRDelimAst:this.rules.inline.emStrongRDelimUnd;for(m.lastIndex=0,t=t.slice(-1*e.length+s);(n=m.exec(t))!=null;){if(o=n[1]||n[2]||n[3]||n[4]||n[5]||n[6],!o)continue;if(u=[...o].length,n[3]||n[4]){h+=u;continue}else if((n[5]||n[6])&&s%3&&!((s+u)%3)){d+=u;continue}if(h-=u,h>0)continue;u=Math.min(u,u+h+d);const g=[...n[0]][0].length,f=e.slice(0,s+n.index+g+u);if(Math.min(s,u)%2){const E=f.slice(1,-1);return{type:"em",raw:f,text:E,tokens:this.lexer.inlineTokens(E)}}const w=f.slice(2,-2);return{type:"strong",raw:f,text:w,tokens:this.lexer.inlineTokens(w)}}}}codespan(e){const t=this.rules.inline.code.exec(e);if(t){let l=t[2].replace(/\n/g," ");const n=/[^ ]/.test(l),i=/^ /.test(l)&&/ $/.test(l);return n&&i&&(l=l.substring(1,l.length-1)),l=W(l,!0),{type:"codespan",raw:t[0],text:l}}}br(e){const t=this.rules.inline.br.exec(e);if(t)return{type:"br",raw:t[0]}}del(e){const t=this.rules.inline.del.exec(e);if(t)return{type:"del",raw:t[0],text:t[2],tokens:this.lexer.inlineTokens(t[2])}}autolink(e){const t=this.rules.inline.autolink.exec(e);if(t){let l,n;return t[2]==="@"?(l=W(t[1]),n="mailto:"+l):(l=W(t[1]),n=l),{type:"link",raw:t[0],text:l,href:n,tokens:[{type:"text",raw:l,text:l}]}}}url(e){var l;let t;if(t=this.rules.inline.url.exec(e)){let n,i;if(t[2]==="@")n=W(t[0]),i="mailto:"+n;else{let s;do s=t[0],t[0]=((l=this.rules.inline._backpedal.exec(t[0]))==null?void 0:l[0])??"";while(s!==t[0]);n=W(t[0]),t[1]==="www."?i="http://"+t[0]:i=t[0]}return{type:"link",raw:t[0],text:n,href:i,tokens:[{type:"text",raw:n,text:n}]}}}inlineText(e){const t=this.rules.inline.text.exec(e);if(t){let l;return this.lexer.state.inRawBlock?l=t[0]:l=W(t[0]),{type:"text",raw:t[0],text:l}}}}const jl=/^(?:[ \t]*(?:\n|$))+/,Kl=/^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/,Ql=/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,ye=/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,Hl=/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,mt=/(?:[*+-]|\d{1,9}[.)])/,kt=S(/^(?!bull |blockCode|fences|blockquote|heading|html)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html))+?)\n {0,3}(=+|-+) *(?:\n+|$)/).replace(/bull/g,mt).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).getRegex(),Ne=/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,Gl=/^[^\n]+/,Ze=/(?!\s*\])(?:\\.|[^\[\]\\])+/,Wl=S(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label",Ze).replace("title",/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(),Xl=S(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g,mt).getRegex(),ze="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",je=/<!--(?:-?>|[\s\S]*?(?:-->|$))/,Jl=S("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|<![A-Z][\\s\\S]*?(?:>\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$))","i").replace("comment",je).replace("tag",ze).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),bt=S(Ne).replace("hr",ye).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",ze).getRegex(),Yl=S(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph",bt).getRegex(),Ke={blockquote:Yl,code:Kl,def:Wl,fences:Ql,heading:Hl,hr:ye,html:Jl,lheading:kt,list:Xl,newline:jl,paragraph:bt,table:xe,text:Gl},ot=S("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr",ye).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("blockquote"," {0,3}>").replace("code","(?: {4}| {0,3} )[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",ze).getRegex(),_l={...Ke,table:ot,paragraph:S(Ne).replace("hr",ye).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("table",ot).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",ze).getRegex()},en={...Ke,html:S(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment",je).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:xe,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:S(Ne).replace("hr",ye).replace("heading",` *#{1,6} *[^
|
|
26
|
-
]`).replace("lheading",kt).replace("|table","").replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").replace("|tag","").getRegex()},vt=/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,tn=/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,xt=/^( {2,}|\\)\n(?!\s*$)/,ln=/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/,$e="\\p{P}\\p{S}",nn=S(/^((?![*_])[\spunctuation])/,"u").replace(/punctuation/g,$e).getRegex(),sn=/\[[^[\]]*?\]\((?:\\.|[^\\\(\)]|\((?:\\.|[^\\\(\)])*\))*\)|`[^`]*?`|<[^<>]*?>/g,an=S(/^(?:\*+(?:((?!\*)[punct])|[^\s*]))|^_+(?:((?!_)[punct])|([^\s_]))/,"u").replace(/punct/g,$e).getRegex(),rn=S("^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)[punct](\\*+)(?=[\\s]|$)|[^punct\\s](\\*+)(?!\\*)(?=[punct\\s]|$)|(?!\\*)[punct\\s](\\*+)(?=[^punct\\s])|[\\s](\\*+)(?!\\*)(?=[punct])|(?!\\*)[punct](\\*+)(?!\\*)(?=[punct])|[^punct\\s](\\*+)(?=[^punct\\s])","gu").replace(/punct/g,$e).getRegex(),on=S("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)[punct](_+)(?=[\\s]|$)|[^punct\\s](_+)(?!_)(?=[punct\\s]|$)|(?!_)[punct\\s](_+)(?=[^punct\\s])|[\\s](_+)(?!_)(?=[punct])|(?!_)[punct](_+)(?!_)(?=[punct])","gu").replace(/punct/g,$e).getRegex(),un=S(/\\([punct])/,"gu").replace(/punct/g,$e).getRegex(),cn=S(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace("scheme",/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace("email",/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/).getRegex(),dn=S(je).replace("(?:-->|$)","-->").getRegex(),hn=S("^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>").replace("comment",dn).replace("attribute",/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(),Ae=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,pn=S(/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/).replace("label",Ae).replace("href",/<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/).replace("title",/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(),wt=S(/^!?\[(label)\]\[(ref)\]/).replace("label",Ae).replace("ref",Ze).getRegex(),yt=S(/^!?\[(ref)\](?:\[\])?/).replace("ref",Ze).getRegex(),fn=S("reflink|nolink(?!\\()","g").replace("reflink",wt).replace("nolink",yt).getRegex(),Qe={_backpedal:xe,anyPunctuation:un,autolink:cn,blockSkip:sn,br:xt,code:tn,del:xe,emStrongLDelim:an,emStrongRDelimAst:rn,emStrongRDelimUnd:on,escape:vt,link:pn,nolink:yt,punctuation:nn,reflink:wt,reflinkSearch:fn,tag:hn,text:ln,url:xe},gn={...Qe,link:S(/^!?\[(label)\]\((.*?)\)/).replace("label",Ae).getRegex(),reflink:S(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",Ae).getRegex()},De={...Qe,escape:S(vt).replace("])","~|])").getRegex(),url:S(/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,"i").replace("email",/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/).getRegex(),_backpedal:/(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])([\s\S]*?[^\s~])\1(?=[^~]|$)/,text:/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|https?:\/\/|ftp:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/},mn={...De,br:S(xt).replace("{2,}","*").getRegex(),text:S(De.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()},Se={normal:Ke,gfm:_l,pedantic:en},ve={normal:Qe,gfm:De,breaks:mn,pedantic:gn};class Y{constructor(e){I(this,"tokens");I(this,"options");I(this,"state");I(this,"tokenizer");I(this,"inlineQueue");this.tokens=[],this.tokens.links=Object.create(null),this.options=e||pe,this.options.tokenizer=this.options.tokenizer||new Ie,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options,this.tokenizer.lexer=this,this.inlineQueue=[],this.state={inLink:!1,inRawBlock:!1,top:!0};const t={block:Se.normal,inline:ve.normal};this.options.pedantic?(t.block=Se.pedantic,t.inline=ve.pedantic):this.options.gfm&&(t.block=Se.gfm,this.options.breaks?t.inline=ve.breaks:t.inline=ve.gfm),this.tokenizer.rules=t}static get rules(){return{block:Se,inline:ve}}static lex(e,t){return new Y(t).lex(e)}static lexInline(e,t){return new Y(t).inlineTokens(e)}lex(e){e=e.replace(/\r\n|\r/g,`
|
|
27
|
-
`),this.blockTokens(e,this.tokens);for(let t=0;t<this.inlineQueue.length;t++){const l=this.inlineQueue[t];this.inlineTokens(l.src,l.tokens)}return this.inlineQueue=[],this.tokens}blockTokens(e,t=[],l=!1){this.options.pedantic&&(e=e.replace(/\t/g," ").replace(/^ +$/gm,""));let n,i,s;for(;e;)if(!(this.options.extensions&&this.options.extensions.block&&this.options.extensions.block.some(o=>(n=o.call({lexer:this},e,t))?(e=e.substring(n.raw.length),t.push(n),!0):!1))){if(n=this.tokenizer.space(e)){e=e.substring(n.raw.length),n.raw.length===1&&t.length>0?t[t.length-1].raw+=`
|
|
28
|
-
`:t.push(n);continue}if(n=this.tokenizer.code(e)){e=e.substring(n.raw.length),i=t[t.length-1],i&&(i.type==="paragraph"||i.type==="text")?(i.raw+=`
|
|
29
|
-
`+n.raw,i.text+=`
|
|
30
|
-
`+n.text,this.inlineQueue[this.inlineQueue.length-1].src=i.text):t.push(n);continue}if(n=this.tokenizer.fences(e)){e=e.substring(n.raw.length),t.push(n);continue}if(n=this.tokenizer.heading(e)){e=e.substring(n.raw.length),t.push(n);continue}if(n=this.tokenizer.hr(e)){e=e.substring(n.raw.length),t.push(n);continue}if(n=this.tokenizer.blockquote(e)){e=e.substring(n.raw.length),t.push(n);continue}if(n=this.tokenizer.list(e)){e=e.substring(n.raw.length),t.push(n);continue}if(n=this.tokenizer.html(e)){e=e.substring(n.raw.length),t.push(n);continue}if(n=this.tokenizer.def(e)){e=e.substring(n.raw.length),i=t[t.length-1],i&&(i.type==="paragraph"||i.type==="text")?(i.raw+=`
|
|
31
|
-
`+n.raw,i.text+=`
|
|
32
|
-
`+n.raw,this.inlineQueue[this.inlineQueue.length-1].src=i.text):this.tokens.links[n.tag]||(this.tokens.links[n.tag]={href:n.href,title:n.title});continue}if(n=this.tokenizer.table(e)){e=e.substring(n.raw.length),t.push(n);continue}if(n=this.tokenizer.lheading(e)){e=e.substring(n.raw.length),t.push(n);continue}if(s=e,this.options.extensions&&this.options.extensions.startBlock){let o=1/0;const u=e.slice(1);let h;this.options.extensions.startBlock.forEach(d=>{h=d.call({lexer:this},u),typeof h=="number"&&h>=0&&(o=Math.min(o,h))}),o<1/0&&o>=0&&(s=e.substring(0,o+1))}if(this.state.top&&(n=this.tokenizer.paragraph(s))){i=t[t.length-1],l&&(i==null?void 0:i.type)==="paragraph"?(i.raw+=`
|
|
33
|
-
`+n.raw,i.text+=`
|
|
34
|
-
`+n.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=i.text):t.push(n),l=s.length!==e.length,e=e.substring(n.raw.length);continue}if(n=this.tokenizer.text(e)){e=e.substring(n.raw.length),i=t[t.length-1],i&&i.type==="text"?(i.raw+=`
|
|
35
|
-
`+n.raw,i.text+=`
|
|
36
|
-
`+n.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=i.text):t.push(n);continue}if(e){const o="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(o);break}else throw new Error(o)}}return this.state.top=!0,t}inline(e,t=[]){return this.inlineQueue.push({src:e,tokens:t}),t}inlineTokens(e,t=[]){let l,n,i,s=e,o,u,h;if(this.tokens.links){const d=Object.keys(this.tokens.links);if(d.length>0)for(;(o=this.tokenizer.rules.inline.reflinkSearch.exec(s))!=null;)d.includes(o[0].slice(o[0].lastIndexOf("[")+1,-1))&&(s=s.slice(0,o.index)+"["+"a".repeat(o[0].length-2)+"]"+s.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;(o=this.tokenizer.rules.inline.blockSkip.exec(s))!=null;)s=s.slice(0,o.index)+"["+"a".repeat(o[0].length-2)+"]"+s.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);for(;(o=this.tokenizer.rules.inline.anyPunctuation.exec(s))!=null;)s=s.slice(0,o.index)+"++"+s.slice(this.tokenizer.rules.inline.anyPunctuation.lastIndex);for(;e;)if(u||(h=""),u=!1,!(this.options.extensions&&this.options.extensions.inline&&this.options.extensions.inline.some(d=>(l=d.call({lexer:this},e,t))?(e=e.substring(l.raw.length),t.push(l),!0):!1))){if(l=this.tokenizer.escape(e)){e=e.substring(l.raw.length),t.push(l);continue}if(l=this.tokenizer.tag(e)){e=e.substring(l.raw.length),n=t[t.length-1],n&&l.type==="text"&&n.type==="text"?(n.raw+=l.raw,n.text+=l.text):t.push(l);continue}if(l=this.tokenizer.link(e)){e=e.substring(l.raw.length),t.push(l);continue}if(l=this.tokenizer.reflink(e,this.tokens.links)){e=e.substring(l.raw.length),n=t[t.length-1],n&&l.type==="text"&&n.type==="text"?(n.raw+=l.raw,n.text+=l.text):t.push(l);continue}if(l=this.tokenizer.emStrong(e,s,h)){e=e.substring(l.raw.length),t.push(l);continue}if(l=this.tokenizer.codespan(e)){e=e.substring(l.raw.length),t.push(l);continue}if(l=this.tokenizer.br(e)){e=e.substring(l.raw.length),t.push(l);continue}if(l=this.tokenizer.del(e)){e=e.substring(l.raw.length),t.push(l);continue}if(l=this.tokenizer.autolink(e)){e=e.substring(l.raw.length),t.push(l);continue}if(!this.state.inLink&&(l=this.tokenizer.url(e))){e=e.substring(l.raw.length),t.push(l);continue}if(i=e,this.options.extensions&&this.options.extensions.startInline){let d=1/0;const m=e.slice(1);let g;this.options.extensions.startInline.forEach(f=>{g=f.call({lexer:this},m),typeof g=="number"&&g>=0&&(d=Math.min(d,g))}),d<1/0&&d>=0&&(i=e.substring(0,d+1))}if(l=this.tokenizer.inlineText(i)){e=e.substring(l.raw.length),l.raw.slice(-1)!=="_"&&(h=l.raw.slice(-1)),u=!0,n=t[t.length-1],n&&n.type==="text"?(n.raw+=l.raw,n.text+=l.text):t.push(l);continue}if(e){const d="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(d);break}else throw new Error(d)}}return t}}class Ee{constructor(e){I(this,"options");I(this,"parser");this.options=e||pe}space(e){return""}code({text:e,lang:t,escaped:l}){var s;const n=(s=(t||"").match(/^\S*/))==null?void 0:s[0],i=e.replace(/\n$/,"")+`
|
|
37
|
-
`;return n?'<pre><code class="language-'+W(n)+'">'+(l?i:W(i,!0))+`</code></pre>
|
|
38
|
-
`:"<pre><code>"+(l?i:W(i,!0))+`</code></pre>
|
|
39
|
-
`}blockquote({tokens:e}){return`<blockquote>
|
|
40
|
-
${this.parser.parse(e)}</blockquote>
|
|
41
|
-
`}html({text:e}){return e}heading({tokens:e,depth:t}){return`<h${t}>${this.parser.parseInline(e)}</h${t}>
|
|
42
|
-
`}hr(e){return`<hr>
|
|
43
|
-
`}list(e){const t=e.ordered,l=e.start;let n="";for(let o=0;o<e.items.length;o++){const u=e.items[o];n+=this.listitem(u)}const i=t?"ol":"ul",s=t&&l!==1?' start="'+l+'"':"";return"<"+i+s+`>
|
|
44
|
-
`+n+"</"+i+`>
|
|
45
|
-
`}listitem(e){let t="";if(e.task){const l=this.checkbox({checked:!!e.checked});e.loose?e.tokens.length>0&&e.tokens[0].type==="paragraph"?(e.tokens[0].text=l+" "+e.tokens[0].text,e.tokens[0].tokens&&e.tokens[0].tokens.length>0&&e.tokens[0].tokens[0].type==="text"&&(e.tokens[0].tokens[0].text=l+" "+e.tokens[0].tokens[0].text)):e.tokens.unshift({type:"text",raw:l+" ",text:l+" "}):t+=l+" "}return t+=this.parser.parse(e.tokens,!!e.loose),`<li>${t}</li>
|
|
46
|
-
`}checkbox({checked:e}){return"<input "+(e?'checked="" ':"")+'disabled="" type="checkbox">'}paragraph({tokens:e}){return`<p>${this.parser.parseInline(e)}</p>
|
|
47
|
-
`}table(e){let t="",l="";for(let i=0;i<e.header.length;i++)l+=this.tablecell(e.header[i]);t+=this.tablerow({text:l});let n="";for(let i=0;i<e.rows.length;i++){const s=e.rows[i];l="";for(let o=0;o<s.length;o++)l+=this.tablecell(s[o]);n+=this.tablerow({text:l})}return n&&(n=`<tbody>${n}</tbody>`),`<table>
|
|
48
|
-
<thead>
|
|
49
|
-
`+t+`</thead>
|
|
50
|
-
`+n+`</table>
|
|
51
|
-
`}tablerow({text:e}){return`<tr>
|
|
52
|
-
${e}</tr>
|
|
53
|
-
`}tablecell(e){const t=this.parser.parseInline(e.tokens),l=e.header?"th":"td";return(e.align?`<${l} align="${e.align}">`:`<${l}>`)+t+`</${l}>
|
|
54
|
-
`}strong({tokens:e}){return`<strong>${this.parser.parseInline(e)}</strong>`}em({tokens:e}){return`<em>${this.parser.parseInline(e)}</em>`}codespan({text:e}){return`<code>${e}</code>`}br(e){return"<br>"}del({tokens:e}){return`<del>${this.parser.parseInline(e)}</del>`}link({href:e,title:t,tokens:l}){const n=this.parser.parseInline(l),i=st(e);if(i===null)return n;e=i;let s='<a href="'+e+'"';return t&&(s+=' title="'+t+'"'),s+=">"+n+"</a>",s}image({href:e,title:t,text:l}){const n=st(e);if(n===null)return l;e=n;let i=`<img src="${e}" alt="${l}"`;return t&&(i+=` title="${t}"`),i+=">",i}text(e){return"tokens"in e&&e.tokens?this.parser.parseInline(e.tokens):e.text}}class He{strong({text:e}){return e}em({text:e}){return e}codespan({text:e}){return e}del({text:e}){return e}html({text:e}){return e}text({text:e}){return e}link({text:e}){return""+e}image({text:e}){return""+e}br(){return""}}class _{constructor(e){I(this,"options");I(this,"renderer");I(this,"textRenderer");this.options=e||pe,this.options.renderer=this.options.renderer||new Ee,this.renderer=this.options.renderer,this.renderer.options=this.options,this.renderer.parser=this,this.textRenderer=new He}static parse(e,t){return new _(t).parse(e)}static parseInline(e,t){return new _(t).parseInline(e)}parse(e,t=!0){let l="";for(let n=0;n<e.length;n++){const i=e[n];if(this.options.extensions&&this.options.extensions.renderers&&this.options.extensions.renderers[i.type]){const o=i,u=this.options.extensions.renderers[o.type].call({parser:this},o);if(u!==!1||!["space","hr","heading","code","table","blockquote","list","html","paragraph","text"].includes(o.type)){l+=u||"";continue}}const s=i;switch(s.type){case"space":{l+=this.renderer.space(s);continue}case"hr":{l+=this.renderer.hr(s);continue}case"heading":{l+=this.renderer.heading(s);continue}case"code":{l+=this.renderer.code(s);continue}case"table":{l+=this.renderer.table(s);continue}case"blockquote":{l+=this.renderer.blockquote(s);continue}case"list":{l+=this.renderer.list(s);continue}case"html":{l+=this.renderer.html(s);continue}case"paragraph":{l+=this.renderer.paragraph(s);continue}case"text":{let o=s,u=this.renderer.text(o);for(;n+1<e.length&&e[n+1].type==="text";)o=e[++n],u+=`
|
|
55
|
-
`+this.renderer.text(o);t?l+=this.renderer.paragraph({type:"paragraph",raw:u,text:u,tokens:[{type:"text",raw:u,text:u}]}):l+=u;continue}default:{const o='Token with "'+s.type+'" type was not found.';if(this.options.silent)return console.error(o),"";throw new Error(o)}}}return l}parseInline(e,t){t=t||this.renderer;let l="";for(let n=0;n<e.length;n++){const i=e[n];if(this.options.extensions&&this.options.extensions.renderers&&this.options.extensions.renderers[i.type]){const o=this.options.extensions.renderers[i.type].call({parser:this},i);if(o!==!1||!["escape","html","link","image","strong","em","codespan","br","del","text"].includes(i.type)){l+=o||"";continue}}const s=i;switch(s.type){case"escape":{l+=t.text(s);break}case"html":{l+=t.html(s);break}case"link":{l+=t.link(s);break}case"image":{l+=t.image(s);break}case"strong":{l+=t.strong(s);break}case"em":{l+=t.em(s);break}case"codespan":{l+=t.codespan(s);break}case"br":{l+=t.br(s);break}case"del":{l+=t.del(s);break}case"text":{l+=t.text(s);break}default:{const o='Token with "'+s.type+'" type was not found.';if(this.options.silent)return console.error(o),"";throw new Error(o)}}}return l}}class we{constructor(e){I(this,"options");I(this,"block");this.options=e||pe}preprocess(e){return e}postprocess(e){return e}processAllTokens(e){return e}provideLexer(){return this.block?Y.lex:Y.lexInline}provideParser(){return this.block?_.parse:_.parseInline}}I(we,"passThroughHooks",new Set(["preprocess","postprocess","processAllTokens"]));class kn{constructor(...e){I(this,"defaults",Oe());I(this,"options",this.setOptions);I(this,"parse",this.parseMarkdown(!0));I(this,"parseInline",this.parseMarkdown(!1));I(this,"Parser",_);I(this,"Renderer",Ee);I(this,"TextRenderer",He);I(this,"Lexer",Y);I(this,"Tokenizer",Ie);I(this,"Hooks",we);this.use(...e)}walkTokens(e,t){var n,i;let l=[];for(const s of e)switch(l=l.concat(t.call(this,s)),s.type){case"table":{const o=s;for(const u of o.header)l=l.concat(this.walkTokens(u.tokens,t));for(const u of o.rows)for(const h of u)l=l.concat(this.walkTokens(h.tokens,t));break}case"list":{const o=s;l=l.concat(this.walkTokens(o.items,t));break}default:{const o=s;(i=(n=this.defaults.extensions)==null?void 0:n.childTokens)!=null&&i[o.type]?this.defaults.extensions.childTokens[o.type].forEach(u=>{const h=o[u].flat(1/0);l=l.concat(this.walkTokens(h,t))}):o.tokens&&(l=l.concat(this.walkTokens(o.tokens,t)))}}return l}use(...e){const t=this.defaults.extensions||{renderers:{},childTokens:{}};return e.forEach(l=>{const n={...l};if(n.async=this.defaults.async||n.async||!1,l.extensions&&(l.extensions.forEach(i=>{if(!i.name)throw new Error("extension name required");if("renderer"in i){const s=t.renderers[i.name];s?t.renderers[i.name]=function(...o){let u=i.renderer.apply(this,o);return u===!1&&(u=s.apply(this,o)),u}:t.renderers[i.name]=i.renderer}if("tokenizer"in i){if(!i.level||i.level!=="block"&&i.level!=="inline")throw new Error("extension level must be 'block' or 'inline'");const s=t[i.level];s?s.unshift(i.tokenizer):t[i.level]=[i.tokenizer],i.start&&(i.level==="block"?t.startBlock?t.startBlock.push(i.start):t.startBlock=[i.start]:i.level==="inline"&&(t.startInline?t.startInline.push(i.start):t.startInline=[i.start]))}"childTokens"in i&&i.childTokens&&(t.childTokens[i.name]=i.childTokens)}),n.extensions=t),l.renderer){const i=this.defaults.renderer||new Ee(this.defaults);for(const s in l.renderer){if(!(s in i))throw new Error(`renderer '${s}' does not exist`);if(["options","parser"].includes(s))continue;const o=s,u=l.renderer[o],h=i[o];i[o]=(...d)=>{let m=u.apply(i,d);return m===!1&&(m=h.apply(i,d)),m||""}}n.renderer=i}if(l.tokenizer){const i=this.defaults.tokenizer||new Ie(this.defaults);for(const s in l.tokenizer){if(!(s in i))throw new Error(`tokenizer '${s}' does not exist`);if(["options","rules","lexer"].includes(s))continue;const o=s,u=l.tokenizer[o],h=i[o];i[o]=(...d)=>{let m=u.apply(i,d);return m===!1&&(m=h.apply(i,d)),m}}n.tokenizer=i}if(l.hooks){const i=this.defaults.hooks||new we;for(const s in l.hooks){if(!(s in i))throw new Error(`hook '${s}' does not exist`);if(["options","block"].includes(s))continue;const o=s,u=l.hooks[o],h=i[o];we.passThroughHooks.has(s)?i[o]=d=>{if(this.defaults.async)return Promise.resolve(u.call(i,d)).then(g=>h.call(i,g));const m=u.call(i,d);return h.call(i,m)}:i[o]=(...d)=>{let m=u.apply(i,d);return m===!1&&(m=h.apply(i,d)),m}}n.hooks=i}if(l.walkTokens){const i=this.defaults.walkTokens,s=l.walkTokens;n.walkTokens=function(o){let u=[];return u.push(s.call(this,o)),i&&(u=u.concat(i.call(this,o))),u}}this.defaults={...this.defaults,...n}}),this}setOptions(e){return this.defaults={...this.defaults,...e},this}lexer(e,t){return Y.lex(e,t??this.defaults)}parser(e,t){return _.parse(e,t??this.defaults)}parseMarkdown(e){return(l,n)=>{const i={...n},s={...this.defaults,...i},o=this.onError(!!s.silent,!!s.async);if(this.defaults.async===!0&&i.async===!1)return o(new Error("marked(): The async option was set to true by an extension. Remove async: false from the parse options object to return a Promise."));if(typeof l>"u"||l===null)return o(new Error("marked(): input parameter is undefined or null"));if(typeof l!="string")return o(new Error("marked(): input parameter is of type "+Object.prototype.toString.call(l)+", string expected"));s.hooks&&(s.hooks.options=s,s.hooks.block=e);const u=s.hooks?s.hooks.provideLexer():e?Y.lex:Y.lexInline,h=s.hooks?s.hooks.provideParser():e?_.parse:_.parseInline;if(s.async)return Promise.resolve(s.hooks?s.hooks.preprocess(l):l).then(d=>u(d,s)).then(d=>s.hooks?s.hooks.processAllTokens(d):d).then(d=>s.walkTokens?Promise.all(this.walkTokens(d,s.walkTokens)).then(()=>d):d).then(d=>h(d,s)).then(d=>s.hooks?s.hooks.postprocess(d):d).catch(o);try{s.hooks&&(l=s.hooks.preprocess(l));let d=u(l,s);s.hooks&&(d=s.hooks.processAllTokens(d)),s.walkTokens&&this.walkTokens(d,s.walkTokens);let m=h(d,s);return s.hooks&&(m=s.hooks.postprocess(m)),m}catch(d){return o(d)}}}onError(e,t){return l=>{if(l.message+=`
|
|
56
|
-
Please report this to https://github.com/markedjs/marked.`,e){const n="<p>An error occurred:</p><pre>"+W(l.message+"",!0)+"</pre>";return t?Promise.resolve(n):n}if(t)return Promise.reject(l);throw l}}}const he=new kn;function C(a,e){return he.parse(a,e)}C.options=C.setOptions=function(a){return he.setOptions(a),C.defaults=he.defaults,pt(C.defaults),C};C.getDefaults=Oe;C.defaults=pe;C.use=function(...a){return he.use(...a),C.defaults=he.defaults,pt(C.defaults),C};C.walkTokens=function(a,e){return he.walkTokens(a,e)};C.parseInline=he.parseInline;C.Parser=_;C.parser=_.parse;C.Renderer=Ee;C.TextRenderer=He;C.Lexer=Y;C.lexer=Y.lex;C.Tokenizer=Ie;C.Hooks=we;C.parse=C;C.options;C.setOptions;C.use;C.walkTokens;C.parseInline;_.parse;Y.lex;const bn={class:"configcolumnleft"},vn={key:0},xn={key:1},wn={key:2},yn={key:3},$n={key:0,class:"configcolumnright"},Vn=Qt({__name:"EditConfig",props:{configEntries:{},disabled:{type:Boolean}},emits:["submit","action"],setup(a,{emit:e}){const t=Ht(),l=e,n=Q(),i=Q(!1),s=Q(),o=Q("generic"),u=Q(!1),h=Q(),d=Q({}),m=a,g=O(()=>{const k=n.value.map(c=>c.category);return k.filter(c=>c=="generic").length?new Set(["generic",...k]):new Set(k)}),f=O(()=>{if(n.value){for(const k of n.value)if(k.required&&!(!D(k.value)||!D(k.default_value)||k.type==M.DIVIDER||k.type==M.LABEL||k.type==M.ALERT||k.type==M.ACTION))return!1;return!0}return!1});O(()=>{const k={};for(const c of m.configEntries)c.value!=null&&(c.type==M.SECURE_STRING&&c.value==qe||(k[c.key]=c.value));return k}),ge(()=>m.configEntries,k=>{n.value=[];for(const c of k||[])c.value!==void 0&&c.value!==null&&(d.value[c.key]=c.value),(c.value==null||c.value==null)&&(c.value=c.default_value),n.value.push(c)},{immediate:!0});const w=async function(){const{valid:k}=await s.value.validate();return k},E=async function(){await w()&&l("submit",le())},L=async function(k){l("action",k,le())},P=function(k){const c=document.createElement("a");c.setAttribute("href",k),c.setAttribute("target","_blank"),c.click()},D=function(k){return k==null},z=function(k){var c;if(!D(k.depends_on)){const $=(c=n.value)==null?void 0:c.find(r=>r.key==k.depends_on);if($&&$.required&&D($)||$&&$.type==M.BOOLEAN&&!$.value)return!0}return!1},le=function(){const k={};for(const c of m.configEntries)c.value==null&&(c.value=null),!(c.type==M.SECURE_STRING&&c.value==qe)&&(k[c.key]=c.value);return k},ne=function(k){if(!k.options)return[];const c=[];for(const $ of k.options){const r={title:A(`settings.${k.key}.options.${$.value}`,$.title),value:$.value};r.value==k.default_value&&(r.title+=` [${A("settings.default")}]`),c.push(r)}return c},y=function(k){return k=k.replaceAll(/\\n/g,"<br />").replaceAll(`
|
|
57
|
-
`,"<br />").replaceAll(" \\","<br />"),C(k)},N=function(k){var c;return((c=A(`settings.${k==null?void 0:k.key}.description`,k.description||" ")||k.help_link||" ")==null?void 0:c.length)>1};return(k,c)=>(F(),ie(re,null,[n.value?(F(),J(xl,{key:0,ref_key:"form",ref:s,modelValue:i.value,"onUpdate:modelValue":c[2]||(c[2]=$=>i.value=$),disabled:k.disabled},{default:B(()=>[b(Yt,{modelValue:o.value,"onUpdate:modelValue":c[1]||(c[1]=$=>o.value=$),variant:"accordion",multiple:"",flat:""},{default:B(()=>[(F(!0),ie(re,null,Ye(g.value,$=>(F(),J(Gt,{key:$,value:$,flat:"",accordion:"",class:"configrowpanel"},{default:B(()=>[b(Wt,null,{default:B(()=>[U("h3",null,te(x(A)("settings.category."+$,$)),1)]),_:2},1024),c[17]||(c[17]=U("br",null,null,-1)),b(Xt,null,{default:B(()=>[(F(!0),ie(re,null,Ye(n.value.filter(r=>r.category==$&&!r.hidden),r=>{var Z,j,H;return F(),ie("div",{key:r.key,class:"configrow"},[U("div",bn,[r.type==x(M).DIVIDER?(F(),ie("div",vn,[c[7]||(c[7]=U("br",null,null,-1)),b(tl),r.label?(F(),J(ol,{key:0,style:{"margin-left":"8px","margin-top":"10px","margin-bottom":"10px"}},{default:B(()=>[U("b",null,te(r.label),1)]),_:2},1024)):Ce("",!0),c[8]||(c[8]=U("br",null,null,-1)),c[9]||(c[9]=U("br",null,null,-1))])):r.type==x(M).LABEL?(F(),ie("div",xn,[c[10]||(c[10]=U("br",null,null,-1)),b(tt,{variant:"outlined",type:"info"},{default:B(()=>[se(te(x(A)(`settings.${r.key}.label`,r.label)),1)]),_:2},1024),c[11]||(c[11]=U("br",null,null,-1)),c[12]||(c[12]=U("br",null,null,-1))])):r.type==x(M).ALERT?(F(),ie("div",wn,[c[13]||(c[13]=U("br",null,null,-1)),b(tt,{density:"compact",type:"warning"},{default:B(()=>[se(te(x(A)(`settings.${r.key}.label`,r.label)),1)]),_:2},1024),c[14]||(c[14]=U("br",null,null,-1)),c[15]||(c[15]=U("br",null,null,-1))])):r.type==x(M).ACTION||r.action&&!r.value?(F(),ie("div",yn,[c[16]||(c[16]=U("br",null,null,-1)),b(fe,{class:"actionbutton",disabled:z(r),onClick:v=>{L(r.action||r.key),r.value=r.action?null:r.key}},{default:B(()=>[se(te(x(A)(`settings.${r.action||r.key}.label`,r.action_label||r.label)),1)]),_:2},1032,["disabled","onClick"])])):r.type==x(M).BOOLEAN?(F(),J(Ml,{key:4,modelValue:r.value,"onUpdate:modelValue":v=>r.value=v,label:x(A)(`settings.${r.key}.label`,r.label),color:"primary",disabled:z(r)},null,8,["modelValue","onUpdate:modelValue","label","disabled"])):(r.type==x(M).INTEGER||r.type==x(M).FLOAT)&&r.range&&r.range.length==2?(F(),J(Jt,{key:5,modelValue:r.value,"onUpdate:modelValue":v=>r.value=v,disabled:z(r),label:x(A)(`settings.${r.key}.label`,r.label),required:r.required,class:"align-center",min:r.range[0],max:r.range[1],step:r.type==x(M).FLOAT?.5:1,"hide-details":"",style:{"margin-top":"10px","margin-bottom":"25px"},color:"primary"},{append:B(()=>[b(de,{modelValue:r.value,"onUpdate:modelValue":v=>r.value=v,"hide-details":"","single-line":"",density:"compact",type:"number",style:{width:"70px"}},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1032,["modelValue","onUpdate:modelValue","disabled","label","required","min","max","step"])):r.type==x(M).SECURE_STRING?(F(),J(de,{key:6,modelValue:r.value,"onUpdate:modelValue":v=>r.value=v,label:x(A)(`settings.${r.key}.label`,r.label),required:r.required,disabled:z(r),rules:[v=>!(!v&&r.required)||x(A)("settings.invalid_input")],type:u.value?"text":"password","append-inner-icon":u.value?"mdi-eye":typeof r.value=="string"&&r.value.includes(x(qe))?"":"mdi-eye-off",variant:"outlined",clearable:"",readonly:!!r.action,"onClick:appendInner":c[0]||(c[0]=v=>u.value=!u.value),"onClick:clear":v=>r.value="#CLEAR#"},null,8,["modelValue","onUpdate:modelValue","label","required","disabled","rules","type","append-inner-icon","readonly","onClick:clear"])):r.options&&r.options.length>0?(F(),J(vl,{key:7,modelValue:r.value,"onUpdate:modelValue":v=>r.value=v,chips:r.multi_value,clearable:!0,multiple:r.multi_value,items:ne(r),disabled:z(r),label:x(A)(`settings.${r.key}.label`,r.label),required:r.required,rules:[v=>!(!v&&r.required)||x(A)("settings.invalid_input")],variant:"outlined","onClick:clear":v=>r.value=null},null,8,["modelValue","onUpdate:modelValue","chips","multiple","items","disabled","label","required","rules","onClick:clear"])):r.type==x(M).INTEGER||r.type==x(M).FLOAT?(F(),J(de,{key:8,modelValue:r.value,"onUpdate:modelValue":v=>r.value=v,placeholder:(Z=r.default_value)==null?void 0:Z.toString(),disabled:z(r),label:x(A)(`settings.${r.key}.label`,r.label),required:r.required,rules:[v=>!(!v&&r.required)||x(A)("settings.invalid_input")],variant:"outlined",clearable:!r.required,type:"number","onClick:clear":v=>r.value=null},null,8,["modelValue","onUpdate:modelValue","placeholder","disabled","label","required","rules","clearable","onClick:clear"])):r.type==x(M).ICON?(F(),J(de,{key:9,modelValue:r.value,"onUpdate:modelValue":v=>r.value=v,placeholder:(j=r.default_value)==null?void 0:j.toString(),clearable:"",disabled:z(r),label:x(A)(`settings.${r.key}.label`,r.label),"prepend-inner-icon":r.value,variant:"outlined","onClick:clear":v=>r.value=r.default_value},null,8,["modelValue","onUpdate:modelValue","placeholder","disabled","label","prepend-inner-icon","onClick:clear"])):r.type==x(M).STRING&&r.multi_value?(F(),J(Fl,{key:10,modelValue:r.value,"onUpdate:modelValue":v=>r.value=v,multiple:"",chips:"",clearable:!0,disabled:z(r),label:x(A)(`settings.${r.key}.label`,r.label),required:r.required,rules:[v=>!(!v&&r.required)||x(A)("settings.invalid_input")],variant:"outlined","onClick:clear":v=>r.value=[]},null,8,["modelValue","onUpdate:modelValue","disabled","label","required","rules","onClick:clear"])):(F(),J(de,{key:11,modelValue:r.value,"onUpdate:modelValue":v=>r.value=v,placeholder:(H=r.default_value)==null?void 0:H.toString(),clearable:"",disabled:z(r),label:x(A)(`settings.${r.key}.label`,r.label),required:r.required,rules:[v=>!(!v&&r.required)||x(A)("settings.invalid_input")],variant:"outlined",readonly:!!r.action,"onClick:clear":v=>r.value=null},null,8,["modelValue","onUpdate:modelValue","placeholder","disabled","label","required","rules","readonly","onClick:clear"]))]),N(r)?(F(),ie("div",$n,[b(fe,{icon:"mdi-help-box",variant:"plain",class:"helpicon",size:"x-large",onClick:v=>x(A)(`settings.${r==null?void 0:r.key}.description`,r.description||"")?h.value=r:P(r.help_link)},null,8,["onClick"])])):Ce("",!0)])}),128))]),_:2},1024)]),_:2},1032,["value"]))),128))]),_:1},8,["modelValue"]),c[18]||(c[18]=U("br",null,null,-1)),b(fe,{block:"",color:"primary",disabled:!f.value,onClick:E},{default:B(()=>[se(te(x(A)("settings.save")),1)]),_:1},8,["disabled"])]),_:1},8,["modelValue","disabled"])):Ce("",!0),c[19]||(c[19]=U("br",null,null,-1)),b(fe,{block:"",onClick:c[3]||(c[3]=$=>x(t).back())},{default:B(()=>[se(te(x(A)("close")),1)]),_:1}),b(Sl,{"model-value":h.value!==void 0,width:"auto","onUpdate:modelValue":c[6]||(c[6]=$=>h.value=void 0)},{default:B(()=>[b(Vl,null,{default:B(()=>{var $,r;return[b(nt,null,{default:B(()=>{var Z,j;return[U("h2",null,te(x(A)(`settings.${(Z=h.value)==null?void 0:Z.key}.label`,((j=h.value)==null?void 0:j.label)||"")),1)]}),_:1}),b(nt,{innerHTML:y(x(A)(`settings.${($=h.value)==null?void 0:$.key}.description`,((r=h.value)==null?void 0:r.description)||""))},null,8,["innerHTML"]),b(Tl,null,{default:B(()=>{var Z;return[(Z=h.value)!=null&&Z.help_link?(F(),J(fe,{key:0,onClick:c[4]||(c[4]=j=>P(h.value.help_link))},{default:B(()=>[se(te(x(A)("read_more")),1)]),_:1})):Ce("",!0),b(Cl),b(fe,{color:"primary",onClick:c[5]||(c[5]=j=>h.value=void 0)},{default:B(()=>[se(te(x(A)("close")),1)]),_:1})]}),_:1})]}),_:1})]),_:1},8,["model-value"])],64))}}),On=Rl(Vn,[["__scopeId","data-v-d9444835"]]);export{On as E,Ml as V};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.v-combobox .v-field .v-text-field__prefix,.v-combobox .v-field .v-text-field__suffix,.v-combobox .v-field .v-field__input,.v-combobox .v-field.v-field{cursor:text}.v-combobox .v-field .v-field__input>input{flex:1 1}.v-combobox .v-field input{min-width:64px}.v-combobox .v-field:not(.v-field--focused) input{min-width:0}.v-combobox .v-field--dirty .v-combobox__selection{margin-inline-end:2px}.v-combobox .v-combobox__selection-text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.v-combobox__content{overflow:hidden}.v-combobox__content{box-shadow:0 2px 4px -1px var(--v-shadow-key-umbra-opacity, rgba(0, 0, 0, .2)),0 4px 5px 0 var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .14)),0 1px 10px 0 var(--v-shadow-key-ambient-opacity, rgba(0, 0, 0, .12))}.v-combobox__content{border-radius:4px}.v-combobox__mask{background:rgb(var(--v-theme-surface-light))}.v-combobox__selection{display:inline-flex;align-items:center;height:1.5rem;letter-spacing:inherit;line-height:inherit;max-width:calc(100% - 4px)}.v-combobox__selection:first-child{margin-inline-start:0}.v-combobox--chips.v-input--density-compact .v-field--variant-solo .v-label.v-field-label--floating,.v-combobox--chips.v-input--density-compact .v-field--variant-solo-inverted .v-label.v-field-label--floating,.v-combobox--chips.v-input--density-compact .v-field--variant-filled .v-label.v-field-label--floating,.v-combobox--chips.v-input--density-compact .v-field--variant-solo-filled .v-label.v-field-label--floating{top:0}.v-combobox--selecting-index .v-combobox__selection{opacity:var(--v-medium-emphasis-opacity)}.v-combobox--selecting-index .v-combobox__selection--selected{opacity:1}.v-combobox--selecting-index .v-field__input>input{caret-color:transparent}.v-combobox--single:not(.v-combobox--selection-slot).v-text-field input{flex:1 1;position:absolute;left:0;right:0;width:100%;padding-inline:inherit}.v-combobox--single:not(.v-combobox--selection-slot) .v-field--active input{transition:none}.v-combobox--single:not(.v-combobox--selection-slot) .v-field--dirty:not(.v-field--focused) input{opacity:0}.v-combobox--single:not(.v-combobox--selection-slot) .v-field--focused .v-combobox__selection{opacity:0}.v-combobox__menu-icon{margin-inline-start:4px;transition:.2s cubic-bezier(.4,0,.2,1)}.v-combobox--active-menu .v-combobox__menu-icon{opacity:var(--v-high-emphasis-opacity);transform:rotate(180deg)}.v-switch .v-label{padding-inline-start:10px}.v-switch__loader{display:flex}.v-switch__loader .v-progress-circular{color:rgb(var(--v-theme-surface))}.v-switch__track,.v-switch__thumb{transition:none}.v-selection-control--error:not(.v-selection-control--disabled) .v-switch__track,.v-selection-control--error:not(.v-selection-control--disabled) .v-switch__thumb{background-color:rgb(var(--v-theme-error));color:rgb(var(--v-theme-on-error))}.v-switch__track-true{margin-inline-end:auto}.v-selection-control:not(.v-selection-control--dirty) .v-switch__track-true{opacity:0}.v-switch__track-false{margin-inline-start:auto}.v-selection-control--dirty .v-switch__track-false{opacity:0}.v-switch__track{display:inline-flex;align-items:center;font-size:.5rem;padding:0 5px;background-color:rgb(var(--v-theme-surface-variant));border-radius:9999px;height:14px;opacity:.6;min-width:36px;cursor:pointer;transition:.2s background-color cubic-bezier(.4,0,.2,1)}.v-switch--inset .v-switch__track{border-radius:9999px;font-size:.75rem;height:32px;min-width:52px}.v-switch__thumb{align-items:center;background-color:rgb(var(--v-theme-surface-bright));color:rgb(var(--v-theme-on-surface-bright));border-radius:50%;display:flex;font-size:.75rem;height:20px;justify-content:center;width:20px;pointer-events:none;transition:.15s .05s transform cubic-bezier(0,0,.2,1),.2s color cubic-bezier(.4,0,.2,1),.2s background-color cubic-bezier(.4,0,.2,1);position:relative;overflow:hidden}.v-switch:not(.v-switch--inset) .v-switch__thumb{box-shadow:0 2px 4px -1px var(--v-shadow-key-umbra-opacity, rgba(0, 0, 0, .2)),0 4px 5px 0 var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .14)),0 1px 10px 0 var(--v-shadow-key-ambient-opacity, rgba(0, 0, 0, .12))}.v-switch.v-switch--flat:not(.v-switch--inset) .v-switch__thumb{background:rgb(var(--v-theme-surface-variant));color:rgb(var(--v-theme-on-surface-variant))}.v-switch.v-switch--flat:not(.v-switch--inset) .v-switch__thumb{box-shadow:0 0 0 0 var(--v-shadow-key-umbra-opacity, rgba(0, 0, 0, .2)),0 0 0 0 var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .14)),0 0 0 0 var(--v-shadow-key-ambient-opacity, rgba(0, 0, 0, .12))}.v-switch--inset .v-switch__thumb{height:24px;width:24px;transform:scale(.6666666667)}.v-switch--inset .v-switch__thumb--filled{transform:none}.v-switch--inset .v-selection-control--dirty .v-switch__thumb{transform:none;transition:.15s .05s transform cubic-bezier(0,0,.2,1)}.v-switch.v-input{flex:0 1 auto}.v-switch .v-selection-control{min-height:var(--v-input-control-height)}.v-switch .v-selection-control__input{border-radius:50%;transition:.2s transform cubic-bezier(.4,0,.2,1);position:absolute}.v-locale--is-ltr.v-switch .v-selection-control__input,.v-locale--is-ltr .v-switch .v-selection-control__input{transform:translate(-10px)}.v-locale--is-rtl.v-switch .v-selection-control__input,.v-locale--is-rtl .v-switch .v-selection-control__input{transform:translate(10px)}.v-switch .v-selection-control__input .v-icon{position:absolute}.v-locale--is-ltr.v-switch .v-selection-control--dirty .v-selection-control__input,.v-locale--is-ltr .v-switch .v-selection-control--dirty .v-selection-control__input{transform:translate(10px)}.v-locale--is-rtl.v-switch .v-selection-control--dirty .v-selection-control__input,.v-locale--is-rtl .v-switch .v-selection-control--dirty .v-selection-control__input{transform:translate(-10px)}.v-switch.v-switch--indeterminate .v-selection-control__input{transform:scale(.8)}.v-switch.v-switch--indeterminate .v-switch__thumb{transform:scale(.75);box-shadow:none}.v-switch.v-switch--inset .v-selection-control__wrapper{width:auto}.v-switch.v-input--vertical .v-label{min-width:max-content}.v-switch.v-input--vertical .v-selection-control__wrapper{transform:rotate(-90deg)}@media (forced-colors: active){.v-switch .v-switch__loader .v-progress-circular{color:currentColor}.v-switch .v-switch__thumb{background-color:buttontext}.v-switch .v-switch__track,.v-switch .v-switch__thumb{border:1px solid;color:buttontext}.v-switch:not(.v-switch--loading):not(.v-input--disabled) .v-selection-control--dirty .v-switch__thumb{background-color:highlight}.v-switch:not(.v-input--disabled) .v-selection-control--dirty .v-switch__track{background-color:highlight}.v-switch:not(.v-input--disabled) .v-selection-control--dirty .v-switch__track,.v-switch:not(.v-input--disabled) .v-selection-control--dirty .v-switch__thumb{color:highlight}.v-switch.v-switch--inset .v-switch__track{border-width:2px}.v-switch.v-switch--inset:not(.v-switch--loading):not(.v-input--disabled) .v-selection-control--dirty .v-switch__thumb{background-color:highlighttext;color:highlighttext}.v-switch.v-input--disabled .v-switch__thumb{background-color:graytext}.v-switch.v-input--disabled .v-switch__track,.v-switch.v-input--disabled .v-switch__thumb{color:graytext}.v-switch.v-switch--loading .v-switch__thumb{background-color:canvas}.v-switch.v-switch--loading.v-switch--inset .v-switch__thumb,.v-switch.v-switch--loading.v-switch--indeterminate .v-switch__thumb{border-width:0}}.configrow[data-v-d9444835]{display:flex;width:100%;padding:0}.configcolumnleft[data-v-d9444835]{flex:90%}.configcolumnright[data-v-d9444835]{align-content:flex-end;vertical-align:middle}.helpicon[data-v-d9444835]{margin-top:0;margin-right:-10px}.actionbutton.v-btn.v-btn--density-default[data-v-d9444835]{height:50px;width:100%;margin-top:0;margin-bottom:10px}div.v-expansion-panel[data-v-d9444835]{background-color:transparent}.configrowpanel[data-v-d9444835] .v-expansion-panel-title{padding:0 5px 0 0}.configrowpanel[data-v-d9444835] .v-expansion-panel-text__wrapper{padding:0}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{d as j,au as E,r as y,K as x,c as m,h as C,f as i,w as l,b as n,W as f,t as u,u as d,g as s,e as v,j as p}from"./index-Dh8vTPrL.js";import{E as B}from"./EditConfig-C_LkqtOb.js";import{n as N}from"./index.browser-DP16PUbO.js";import{b as $,V as O,a as c}from"./VCardText-BRzAu4nY.js";import{c as S}from"./VMenu-bkp9FdIZ.js";import{V}from"./VList-3zZGcDKM.js";import{z as T}from"./VListItem-BiYBTZ39.js";import"./VExpansionPanels-BFw4b3rC.js";import"./VCheckboxBtn-CNxrFD70.js";import"./VAlert-6B6_WW_o.js";import"./VTextField-Dm45LZPf.js";import"./VForm-EEtwtPI2.js";import"./VVirtualScroll-BqfdfU30.js";import"./VCard-DBrKNDRb.js";import"./VSpacer-ByaMfX_d.js";/* empty css */import"./VDialog-Bqzs1FN_.js";import"./_plugin-vue_export-helper-DlAUqK2U.js";const z={key:0,style:{"margin-left":"-5px","margin-right":"-5px"}},D=["href"],te=j({__name:"EditCoreConfig",props:{domain:{}},setup(b){const k=E(),t=y(),w=N(11),r=y(!1),_=b;x(()=>_.domain,async o=>{o&&(t.value=await n.getCoreConfig(o))},{immediate:!0});const M=async function(o){r.value=!0,n.saveCoreConfig(t.value.domain,o).then(()=>{r.value=!1,k.push({name:"providersettings"})}).catch(e=>{alert(e),r.value=!1})},h=async function(o,e){r.value=!0;for(const a of Object.values(t.value.values))a.value!==void 0&&e[a.key]==null&&(e[a.key]=a.value);e.session_id=w,n.getCoreConfigEntries(t.value.domain,o,e).then(a=>{t.value.values={};for(const g of a)t.value.values[g.key]=g;r.value=!1}).catch(a=>{alert(a),r.value=!1})};return(o,e)=>(m(),C("section",null,[i($,null,{default:l(()=>[t.value?(m(),C("div",z,[i(O,null,{default:l(()=>[f(u(o.$t("settings.setup_provider",[d(n).providerManifests[t.value.domain].name])),1)]),_:1}),i(c,null,{default:l(()=>[f(u(d(n).providerManifests[t.value.domain].description),1)]),_:1}),e[2]||(e[2]=s("br",null,null,-1)),d(n).providerManifests[t.value.domain].codeowners.length?(m(),v(c,{key:0},{default:l(()=>[s("b",null,u(o.$t("settings.codeowners"))+": ",1),f(u(d(n).providerManifests[t.value.domain].codeowners.join(" / ")),1)]),_:1})):p("",!0),d(n).providerManifests[t.value.domain].documentation?(m(),v(c,{key:1},{default:l(()=>[s("b",null,u(o.$t("settings.need_help_setup_provider")),1),e[1]||(e[1]=f(" ")),s("a",{href:d(n).providerManifests[t.value.domain].documentation,target:"_blank"},u(o.$t("settings.check_docs")),9,D)]),_:1})):p("",!0),e[3]||(e[3]=s("br",null,null,-1)),i(V),e[4]||(e[4]=s("br",null,null,-1)),e[5]||(e[5]=s("br",null,null,-1))])):p("",!0),i(V),t.value?(m(),v(B,{key:1,"config-entries":Object.values(t.value.values),disabled:!1,onSubmit:M,onAction:h},null,8,["config-entries"])):p("",!0)]),_:1}),i(S,{modelValue:r.value,"onUpdate:modelValue":e[0]||(e[0]=a=>r.value=a),scrim:"true",persistent:"",style:{display:"flex","align-items":"center","justify-content":"center"}},{default:l(()=>[i(T,{indeterminate:"",size:"64",color:"primary"})]),_:1},8,["modelValue"])]))}});export{te as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{d as w,au as B,r as E,K as N,c as o,h as f,f as p,w as d,b as a,u as r,W as m,t,g as s,j as u,e as y}from"./index-Dh8vTPrL.js";import{V as S,E as T}from"./EditConfig-C_LkqtOb.js";import{b as h,V as I,a as v}from"./VCardText-BRzAu4nY.js";import{V as $}from"./VList-3zZGcDKM.js";import{V as j}from"./VTextField-Dm45LZPf.js";import"./VExpansionPanels-BFw4b3rC.js";import"./VListItem-BiYBTZ39.js";import"./VCheckboxBtn-CNxrFD70.js";import"./VMenu-bkp9FdIZ.js";import"./VAlert-6B6_WW_o.js";import"./VForm-EEtwtPI2.js";import"./VVirtualScroll-BqfdfU30.js";import"./VCard-DBrKNDRb.js";import"./VSpacer-ByaMfX_d.js";/* empty css */import"./VDialog-Bqzs1FN_.js";import"./_plugin-vue_export-helper-DlAUqK2U.js";const D={key:0,style:{"margin-left":"-5px","margin-right":"-5px"}},U=["href"],ee=w({__name:"EditPlayer",props:{playerId:{}},setup(C){const P=B(),e=E(),b=C;N(()=>b.playerId,async l=>{l&&(e.value=await a.getPlayerConfig(l))},{immediate:!0});const M=async function(l){l.enabled=e.value.enabled,l.name=e.value.name||null,a.savePlayerConfig(b.playerId,l),P.push({name:"playersettings"})};return(l,i)=>(o(),f("section",null,[p(h,null,{default:d(()=>{var g,_,V;return[e.value&&r(a).getProviderManifest(e.value.provider).domain in r(a).providerManifests?(o(),f("div",D,[p(I,null,{default:d(()=>{var n;return[m(t(l.$t("settings.config_player",[e.value.name||((n=r(a).players[e.value.player_id])==null?void 0:n.name)||e.value.default_name])),1)]}),_:1}),p(v,null,{default:d(()=>[s("b",null,t(l.$t("settings.player_id"))+": ",1),m(t(e.value.player_id),1)]),_:1}),p(v,null,{default:d(()=>{var n,c,k;return[s("b",null,t(l.$t("settings.player_provider"))+": ",1),m(t((n=r(a).getProviderManifest(e.value.provider))==null?void 0:n.name)+" ",1),(c=r(a).getProviderManifest(e.value.provider))!=null&&c.documentation?(o(),f("a",{key:0,href:(k=r(a).getProviderManifest(e.value.provider))==null?void 0:k.documentation,target:"_blank"}," ["+t(l.$t("settings.check_docs"))+"]",9,U)):u("",!0)]}),_:1}),r(a).players[e.value.player_id]?(o(),y(v,{key:0},{default:d(()=>[s("b",null,t(l.$t("settings.player_model"))+": ",1),m(t(r(a).players[e.value.player_id].device_info.manufacturer)+" / "+t(r(a).players[e.value.player_id].device_info.model),1)]),_:1})):u("",!0),(g=r(a).players[e.value.player_id])!=null&&g.device_info.address?(o(),y(v,{key:1},{default:d(()=>[s("b",null,t(l.$t("settings.player_address"))+": ",1),m(t(r(a).players[e.value.player_id].device_info.address),1)]),_:1})):u("",!0),r(a).players[e.value.player_id]?(o(),y(v,{key:2},{default:d(()=>[s("b",null,t(l.$t("settings.player_type_label"))+": ",1),m(t(l.$t(`player_type.${r(a).players[e.value.player_id].type}`)),1)]),_:1})):u("",!0),i[2]||(i[2]=s("br",null,null,-1)),p($),i[3]||(i[3]=s("br",null,null,-1)),i[4]||(i[4]=s("br",null,null,-1)),"name"in e.value?(o(),y(j,{key:3,modelValue:e.value.name,"onUpdate:modelValue":i[0]||(i[0]=n=>e.value.name=n),placeholder:(_=e.value)==null?void 0:_.name,label:l.$t("settings.player_name"),variant:"outlined",clearable:"",class:"configcolumnleft",style:{"margin-right":"25px"}},null,8,["modelValue","placeholder","label"])):u("",!0),"enabled"in e.value?(o(),y(S,{key:4,modelValue:e.value.enabled,"onUpdate:modelValue":i[1]||(i[1]=n=>e.value.enabled=n),label:l.$t("settings.enable_player"),color:"primary",disabled:(V=r(a).getProviderManifest(e.value.provider))==null?void 0:V.builtin},null,8,["modelValue","label","disabled"])):u("",!0)])):u("",!0),i[5]||(i[5]=s("br",null,null,-1)),p($),e.value?(o(),y(T,{key:1,disabled:!e.value.enabled,"config-entries":Object.values(e.value.values),onSubmit:M},null,8,["disabled","config-entries"])):u("",!0)]}),_:1})]))}});export{ee as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{d as P,au as S,r as V,o as T,b as l,a9 as j,a as $,K as I,c as r,h as w,f as i,w as o,u as s,W as m,t as b,g as d,e as v,j as c}from"./index-Dh8vTPrL.js";import{V as N,E as U}from"./EditConfig-C_LkqtOb.js";import{n as O}from"./index.browser-DP16PUbO.js";import{b as z,V as C,a as g}from"./VCardText-BRzAu4nY.js";import{c as D}from"./VMenu-bkp9FdIZ.js";import{V as h}from"./VList-3zZGcDKM.js";import{V as x}from"./VTextField-Dm45LZPf.js";import{a as F,V as H}from"./VCard-DBrKNDRb.js";import{s as K,z as L}from"./VListItem-BiYBTZ39.js";import"./VExpansionPanels-BFw4b3rC.js";import"./VCheckboxBtn-CNxrFD70.js";import"./VAlert-6B6_WW_o.js";import"./VForm-EEtwtPI2.js";import"./VVirtualScroll-BqfdfU30.js";import"./VSpacer-ByaMfX_d.js";/* empty css */import"./VDialog-Bqzs1FN_.js";import"./_plugin-vue_export-helper-DlAUqK2U.js";const R={key:0},W=["href"],q={id:"auth",href:"",target:"_blank"},ve=P({__name:"EditProvider",props:{instanceId:{}},setup(_){const E=S(),a=V(),k=O(11),f=V(!1),y=V(!1),M=_;T(()=>{const t=l.subscribe(j.AUTH_SESSION,e=>{if(e.object_id!==k)return;const n=e.data;y.value=!0,window.setTimeout(()=>{const u=document.getElementById("auth");u.setAttribute("href",n),u.click()},100)});$(t)}),I(()=>M.instanceId,async t=>{t&&(a.value=await l.getProviderConfig(t))},{immediate:!0});const A=async function(t){f.value=!0,t.enabled=a.value.enabled,t.name=a.value.name||null,l.saveProviderConfig(a.value.domain,t,a.value.instance_id).then(()=>{E.push({name:"providersettings"})}).catch(e=>{alert(e)}).finally(()=>{f.value=!1,y.value=!1})},B=async function(t,e){f.value=!0;for(const n of Object.values(a.value.values))n.value!==void 0&&e[n.key]==null&&(e[n.key]=n.value);e.session_id=k,l.getProviderConfigEntries(a.value.domain,a.value.instance_id,t,e).then(n=>{a.value.values={};for(const u of n)a.value.values[u.key]=u}).catch(n=>{alert(n)}).finally(()=>{f.value=!1,y.value=!1})};return(t,e)=>(r(),w("section",null,[i(z,null,{default:o(()=>{var n,u;return[a.value&&s(l).providerManifests[a.value.domain]?(r(),w("div",R,[i(C,null,{default:o(()=>{var p;return[m(b(t.$t("settings.setup_provider",[a.value.name||((p=s(l).getProvider(a.value.instance_id))==null?void 0:p.name)])),1)]}),_:1}),i(g,{style:{"white-space":"normal"}},{default:o(()=>[m(b(s(l).providerManifests[a.value.domain].description),1)]),_:1}),e[4]||(e[4]=d("br",null,null,-1)),s(l).providerManifests[a.value.domain].codeowners.length?(r(),v(g,{key:0},{default:o(()=>[d("b",null,b(t.$t("settings.codeowners"))+": ",1),m(b(s(l).providerManifests[a.value.domain].codeowners.join(" / ")),1)]),_:1})):c("",!0),s(l).providerManifests[a.value.domain].documentation?(r(),v(g,{key:1},{default:o(()=>[d("b",null,b(t.$t("settings.need_help_setup_provider")),1),e[3]||(e[3]=m(" ")),d("a",{href:s(l).providerManifests[a.value.domain].documentation,target:"_blank"},b(t.$t("settings.check_docs")),9,W)]),_:1})):c("",!0),e[5]||(e[5]=d("br",null,null,-1)),i(h),e[6]||(e[6]=d("br",null,null,-1)),e[7]||(e[7]=d("br",null,null,-1)),"name"in a.value?(r(),v(x,{key:2,modelValue:a.value.name,"onUpdate:modelValue":e[0]||(e[0]=p=>a.value.name=p),placeholder:(n=s(l).getProvider(a.value.instance_id))==null?void 0:n.name,label:t.$t("settings.provider_name"),variant:"outlined",clearable:""},null,8,["modelValue","placeholder","label"])):c("",!0),"enabled"in a.value?(r(),v(N,{key:3,modelValue:a.value.enabled,"onUpdate:modelValue":e[1]||(e[1]=p=>a.value.enabled=p),label:t.$t("settings.enable_provider"),color:"primary",disabled:!((u=s(l).providerManifests[a.value.domain])!=null&&u.allow_disable)},null,8,["modelValue","label","disabled"])):c("",!0)])):c("",!0),i(h),a.value?(r(),v(U,{key:1,"config-entries":Object.values(a.value.values),disabled:!a.value.enabled,onSubmit:A,onAction:B},null,8,["config-entries","disabled"])):c("",!0)]}),_:1}),i(D,{modelValue:f.value,"onUpdate:modelValue":e[2]||(e[2]=n=>f.value=n),scrim:"true",persistent:"",style:{display:"flex","align-items":"center","justify-content":"center"}},{default:o(()=>[y.value?(r(),v(H,{key:0,style:{"background-color":"white"}},{default:o(()=>[i(C,null,{default:o(()=>e[8]||(e[8]=[m("Authenticating...")])),_:1}),i(g,null,{default:o(()=>e[9]||(e[9]=[m("A new tab/popup should be opened where you can authenticate")])),_:1}),i(F,null,{default:o(()=>[d("a",q,[i(K,null,{default:o(()=>e[10]||(e[10]=[m("Click here if the popup did not open")])),_:1})])]),_:1})]),_:1})):(r(),v(L,{key:1,indeterminate:"",size:"64",color:"primary"}))]),_:1},8,["modelValue"])]))}});export{ve as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{d as h,au as S,r as m,o as V,aN as r,aO as k,$ as t,c as g,h as I,f as o,w as s,W as c,t as d,u as f,g as p,e as N,j as C}from"./index-Dh8vTPrL.js";import{E as T}from"./EditConfig-C_LkqtOb.js";import{D as v}from"./DrawerNavigation.vue_vue_type_style_index_0_scoped_42f910eb_lang-DwQhOjNL.js";import{V as E}from"./VToolbar-BUh6HJIk.js";import{b as x,a as w}from"./VCardText-BRzAu4nY.js";import{c as q}from"./VMenu-bkp9FdIZ.js";import{V as z}from"./VList-3zZGcDKM.js";import{z as B}from"./VListItem-BiYBTZ39.js";import"./VExpansionPanels-BFw4b3rC.js";import"./VCheckboxBtn-CNxrFD70.js";import"./VAlert-6B6_WW_o.js";import"./VTextField-Dm45LZPf.js";import"./VForm-EEtwtPI2.js";import"./VVirtualScroll-BqfdfU30.js";import"./VCard-DBrKNDRb.js";import"./VSpacer-ByaMfX_d.js";/* empty css */import"./VDialog-Bqzs1FN_.js";import"./_plugin-vue_export-helper-DlAUqK2U.js";import"./Button-uBTEHpd0.js";import"./layout-Dlul22en.js";const ae=h({__name:"FrontendConfig",setup(M){const y=S(),i=m([]),n=m(!1);V(()=>{const a=localStorage.getItem("frontend.settings.menu_items"),e=a?a.split(","):v;i.value=[{key:"theme",type:r.STRING,label:"theme",default_value:"auto",required:!1,options:[{title:"auto",value:"auto"},{title:"dark",value:"dark"},{title:"light",value:"light"}],multi_value:!1,category:"generic",value:localStorage.getItem("frontend.settings.theme")},{key:"language",type:r.STRING,label:"language",default_value:"auto",required:!1,options:[{title:"auto",value:"auto"},...k.global.availableLocales.map(l=>({title:l,value:l}))],multi_value:!1,category:"generic",value:localStorage.getItem("frontend.settings.language")},{key:"menu_style",type:r.STRING,label:"menu_style",default_value:"horizontal",required:!1,options:[{title:"horizontal",value:"horizontal"},{title:"vertical",value:"vertical"}],multi_value:!1,category:"generic",value:localStorage.getItem("frontend.settings.menu_style")},{key:"menu_items",type:r.STRING,label:"menu_items",default_value:v,required:!1,options:[{title:t("home"),value:"home"},{title:t("search"),value:"search"},{title:t("artists"),value:"artists"},{title:t("albums"),value:"albums"},{title:t("tracks"),value:"tracks"},{title:t("playlists"),value:"playlists"},{title:t("radios"),value:"radios"},{title:t("browse"),value:"browse"},{title:t("settings.settings"),value:"settings"}],multi_value:!0,category:"generic",value:e},{key:"hide_settings",type:r.BOOLEAN,label:"hide_settings",default_value:!1,required:!1,multi_value:!1,category:"advanced",value:localStorage.getItem("frontend.settings.hide_settings")=="true"}]});const _=async function(a){for(const e in a){const l=`frontend.settings.${e}`,u=a[e];u?localStorage.setItem(l,u.toString()):localStorage.removeItem(l)}y.push({name:"home"}).then(()=>{window.location.reload()})},b=async function(a,e){};return(a,e)=>(g(),I("section",null,[o(E,{color:"transparent"},{title:s(()=>[c(d(f(t)("settings.frontend")),1)]),_:1}),o(x,{style:{"margin-left":"-5px","margin-right":"-5px"}},{default:s(()=>[o(w,null,{default:s(()=>[c(d(f(t)("settings.frontend_desc")),1)]),_:1}),e[1]||(e[1]=p("br",null,null,-1)),e[2]||(e[2]=p("br",null,null,-1)),o(z),i.value?(g(),N(T,{key:0,"config-entries":i.value,disabled:!1,onSubmit:_,onAction:b},null,8,["config-entries"])):C("",!0)]),_:1}),o(q,{modelValue:n.value,"onUpdate:modelValue":e[0]||(e[0]=l=>n.value=l),scrim:"true",persistent:"",style:{display:"flex","align-items":"center","justify-content":"center"}},{default:s(()=>[o(B,{indeterminate:"",size:"64",color:"primary"})]),_:1},8,["modelValue"])]))}});export{ae as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{m as g,c as b,e as h,D as V,w as A,K as k,d as M,a as j,f as z,Y as J,E as U,F as W,g as Y,Z,b as q,G as Q,W as X,i as $,I as ee,k as ae,u as te,l as ne,S as de,O as ie,H as le,n as se,_ as ce,x as re,U as ue,J as ve}from"./VListItem-BiYBTZ39.js";import{k as f,z as oe,f as n,p as S,aK as u,F as p,n as me,G as ye,x as P,N as ke,O as ge,D as be}from"./index-Dh8vTPrL.js";import{V as fe,a as Ie,b as Ce}from"./VCardText-BRzAu4nY.js";const Ve=f()({name:"VCardActions",props:g(),setup(e,i){let{slots:t}=i;return oe({VBtn:{slim:!0,variant:"text"}}),b(()=>{var a;return n("div",{class:["v-card-actions",e.class],style:e.style},[(a=t.default)==null?void 0:a.call(t)])}),{}}}),Ae=S({appendAvatar:String,appendIcon:u,prependAvatar:String,prependIcon:u,subtitle:[String,Number],title:[String,Number],...g(),...h()},"VCardItem"),pe=f()({name:"VCardItem",props:Ae(),setup(e,i){let{slots:t}=i;return b(()=>{var s;const a=!!(e.prependAvatar||e.prependIcon),v=!!(a||t.prepend),l=!!(e.appendAvatar||e.appendIcon),o=!!(l||t.append),m=!!(e.title!=null||t.title),y=!!(e.subtitle!=null||t.subtitle);return n("div",{class:["v-card-item",e.class],style:e.style},[v&&n("div",{key:"prepend",class:"v-card-item__prepend"},[t.prepend?n(k,{key:"prepend-defaults",disabled:!a,defaults:{VAvatar:{density:e.density,image:e.prependAvatar},VIcon:{density:e.density,icon:e.prependIcon}}},t.prepend):n(p,null,[e.prependAvatar&&n(V,{key:"prepend-avatar",density:e.density,image:e.prependAvatar},null),e.prependIcon&&n(A,{key:"prepend-icon",density:e.density,icon:e.prependIcon},null)])]),n("div",{class:"v-card-item__content"},[m&&n(fe,{key:"title"},{default:()=>{var d;return[((d=t.title)==null?void 0:d.call(t))??e.title]}}),y&&n(Ie,{key:"subtitle"},{default:()=>{var d;return[((d=t.subtitle)==null?void 0:d.call(t))??e.subtitle]}}),(s=t.default)==null?void 0:s.call(t)]),o&&n("div",{key:"append",class:"v-card-item__append"},[t.append?n(k,{key:"append-defaults",disabled:!l,defaults:{VAvatar:{density:e.density,image:e.appendAvatar},VIcon:{density:e.density,icon:e.appendIcon}}},t.append):n(p,null,[e.appendIcon&&n(A,{key:"append-icon",density:e.density,icon:e.appendIcon},null),e.appendAvatar&&n(V,{key:"append-avatar",density:e.density,image:e.appendAvatar},null)])])])}),{}}}),Pe=S({appendAvatar:String,appendIcon:u,disabled:Boolean,flat:Boolean,hover:Boolean,image:String,link:{type:Boolean,default:void 0},prependAvatar:String,prependIcon:u,ripple:{type:[Boolean,Object],default:!0},subtitle:[String,Number],text:[String,Number],title:[String,Number],...M(),...g(),...h(),...j(),...z(),...J(),...U(),...W(),...Y(),...Z(),...q(),...me(),...Q({variant:"elevated"})},"VCard"),De=f()({name:"VCard",directives:{Ripple:X},props:Pe(),setup(e,i){let{attrs:t,slots:a}=i;const{themeClasses:v}=ye(e),{borderClasses:l}=$(e),{colorClasses:o,colorStyles:m,variantClasses:y}=ee(e),{densityClasses:s}=ae(e),{dimensionStyles:d}=te(e),{elevationClasses:x}=ne(e),{loaderClasses:D}=de(e),{locationStyles:T}=ie(e),{positionClasses:_}=le(e),{roundedClasses:B}=se(e),c=ce(e,t),L=P(()=>e.link!==!1&&c.isLink.value),r=P(()=>!e.disabled&&e.link!==!1&&(e.link||c.isClickable.value));return b(()=>{const N=L.value?"a":e.tag,R=!!(a.title||e.title!=null),F=!!(a.subtitle||e.subtitle!=null),O=R||F,E=!!(a.append||e.appendAvatar||e.appendIcon),w=!!(a.prepend||e.prependAvatar||e.prependIcon),G=!!(a.image||e.image),H=O||w||E,K=!!(a.text||e.text!=null);return ke(n(N,be({class:["v-card",{"v-card--disabled":e.disabled,"v-card--flat":e.flat,"v-card--hover":e.hover&&!(e.disabled||e.flat),"v-card--link":r.value},v.value,l.value,o.value,s.value,x.value,D.value,_.value,B.value,y.value,e.class],style:[m.value,d.value,T.value,e.style],onClick:r.value&&c.navigate,tabindex:e.disabled?-1:void 0},c.linkProps),{default:()=>{var I;return[G&&n("div",{key:"image",class:"v-card__image"},[a.image?n(k,{key:"image-defaults",disabled:!e.image,defaults:{VImg:{cover:!0,src:e.image}}},a.image):n(re,{key:"image-img",cover:!0,src:e.image},null)]),n(ue,{name:"v-card",active:!!e.loading,color:typeof e.loading=="boolean"?void 0:e.loading},{default:a.loader}),H&&n(pe,{key:"item",prependAvatar:e.prependAvatar,prependIcon:e.prependIcon,title:e.title,subtitle:e.subtitle,appendAvatar:e.appendAvatar,appendIcon:e.appendIcon},{default:a.item,prepend:a.prepend,title:a.title,subtitle:a.subtitle,append:a.append}),K&&n(Ce,{key:"text"},{default:()=>{var C;return[((C=a.text)==null?void 0:C.call(a))??e.text]}}),(I=a.default)==null?void 0:I.call(a),a.actions&&n(Ve,null,{default:a.actions}),ve(r.value,"v-card")]}}),[[ge("ripple"),r.value&&e.ripple]])}),{}}});export{De as V,Ve as a};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{d as D,h,b as A,c as m,f as L}from"./VMenu-bkp9FdIZ.js";import{p as S,k as x,y as w,r as B,aX as F,K as g,S as I,D as f,f as p,b6 as R}from"./index-Dh8vTPrL.js";import{c as T,K as O}from"./VListItem-BiYBTZ39.js";const k=S({fullscreen:Boolean,retainFocus:{type:Boolean,default:!0},scrollable:Boolean,...D({origin:"center center",scrollStrategy:"block",transition:{component:h},zIndex:2400})},"VDialog"),z=x()({name:"VDialog",props:k(),emits:{"update:modelValue":a=>!0,afterEnter:()=>!0,afterLeave:()=>!0},setup(a,E){let{emit:v,slots:u}=E;const i=w(a,"modelValue"),{scopeId:V}=A(),e=B();function d(t){var r,s;const n=t.relatedTarget,l=t.target;if(n!==l&&((r=e.value)!=null&&r.contentEl)&&((s=e.value)!=null&&s.globalTop)&&![document,e.value.contentEl].includes(l)&&!e.value.contentEl.contains(l)){const o=R(e.value.contentEl);if(!o.length)return;const c=o[0],y=o[o.length-1];n===c?y.focus():c.focus()}}F&&g(()=>i.value&&a.retainFocus,t=>{t?document.addEventListener("focusin",d):document.removeEventListener("focusin",d)},{immediate:!0});function P(){var t;v("afterEnter"),(t=e.value)!=null&&t.contentEl&&!e.value.contentEl.contains(document.activeElement)&&e.value.contentEl.focus({preventScroll:!0})}function b(){v("afterLeave")}return g(i,async t=>{var n;t||(await I(),(n=e.value.activatorEl)==null||n.focus({preventScroll:!0}))}),T(()=>{const t=m.filterProps(a),n=f({"aria-haspopup":"dialog"},a.activatorProps),l=f({tabindex:-1},a.contentProps);return p(m,f({ref:e,class:["v-dialog",{"v-dialog--fullscreen":a.fullscreen,"v-dialog--scrollable":a.scrollable},a.class],style:a.style},t,{modelValue:i.value,"onUpdate:modelValue":r=>i.value=r,"aria-modal":"true",activatorProps:n,contentProps:l,role:"dialog",onAfterEnter:P,onAfterLeave:b},V),{activator:u.activator,default:function(){for(var r=arguments.length,s=new Array(r),o=0;o<r;o++)s[o]=arguments[o];return p(O,{root:"VDialog"},{default:()=>{var c;return[(c=u.default)==null?void 0:c.call(u,...s)]}})}})}),L({},e)}});export{z as V};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.v-dialog{align-items:center;justify-content:center;margin:auto}.v-dialog>.v-overlay__content{max-height:calc(100% - 48px);width:calc(100% - 48px);max-width:calc(100% - 48px);margin:24px}.v-dialog>.v-overlay__content,.v-dialog>.v-overlay__content>form{display:flex;flex-direction:column;min-height:0}.v-dialog>.v-overlay__content>.v-card,.v-dialog>.v-overlay__content>.v-sheet,.v-dialog>.v-overlay__content>form>.v-card,.v-dialog>.v-overlay__content>form>.v-sheet{--v-scrollbar-offset: 0px;border-radius:4px;overflow-y:auto}.v-dialog>.v-overlay__content>.v-card,.v-dialog>.v-overlay__content>.v-sheet,.v-dialog>.v-overlay__content>form>.v-card,.v-dialog>.v-overlay__content>form>.v-sheet{box-shadow:0 11px 15px -7px var(--v-shadow-key-umbra-opacity, rgba(0, 0, 0, .2)),0 24px 38px 3px var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .14)),0 9px 46px 8px var(--v-shadow-key-ambient-opacity, rgba(0, 0, 0, .12))}.v-dialog>.v-overlay__content>.v-card,.v-dialog>.v-overlay__content>form>.v-card{display:flex;flex-direction:column}.v-dialog>.v-overlay__content>.v-card>.v-card-item,.v-dialog>.v-overlay__content>form>.v-card>.v-card-item{padding:16px 24px}.v-dialog>.v-overlay__content>.v-card>.v-card-item+.v-card-text,.v-dialog>.v-overlay__content>form>.v-card>.v-card-item+.v-card-text{padding-top:0}.v-dialog>.v-overlay__content>.v-card>.v-card-text,.v-dialog>.v-overlay__content>form>.v-card>.v-card-text{font-size:inherit;letter-spacing:.03125em;line-height:inherit;padding:16px 24px 24px}.v-dialog>.v-overlay__content>.v-card>.v-card-actions,.v-dialog>.v-overlay__content>form>.v-card>.v-card-actions{justify-content:flex-end}.v-dialog--fullscreen{--v-scrollbar-offset: 0px}.v-dialog--fullscreen>.v-overlay__content{border-radius:0;margin:0;padding:0;width:100%;max-width:100%;max-height:100%;overflow-y:auto;top:0;left:0}.v-dialog--fullscreen>.v-overlay__content,.v-dialog--fullscreen>.v-overlay__content>form{height:100%}.v-dialog--fullscreen>.v-overlay__content>.v-card,.v-dialog--fullscreen>.v-overlay__content>.v-sheet,.v-dialog--fullscreen>.v-overlay__content>form>.v-card,.v-dialog--fullscreen>.v-overlay__content>form>.v-sheet{min-height:100%;min-width:100%;border-radius:0}.v-dialog--scrollable>.v-overlay__content,.v-dialog--scrollable>.v-overlay__content>form{display:flex}.v-dialog--scrollable>.v-overlay__content>.v-card,.v-dialog--scrollable>.v-overlay__content>form>.v-card{display:flex;flex:1 1 100%;flex-direction:column;max-height:100%;max-width:100%}.v-dialog--scrollable>.v-overlay__content>.v-card>.v-card-text,.v-dialog--scrollable>.v-overlay__content>form>.v-card>.v-card-text{backface-visibility:hidden;overflow-y:auto}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.v-select .v-field .v-text-field__prefix,.v-select .v-field .v-text-field__suffix,.v-select .v-field .v-field__input,.v-select .v-field.v-field{cursor:pointer}.v-select .v-field .v-field__input>input{align-self:flex-start;opacity:1;flex:0 0;position:absolute;width:100%;transition:none;pointer-events:none;caret-color:transparent}.v-select .v-field--dirty .v-select__selection{margin-inline-end:2px}.v-select .v-select__selection-text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.v-select__content{overflow:hidden}.v-select__content{box-shadow:0 2px 4px -1px var(--v-shadow-key-umbra-opacity, rgba(0, 0, 0, .2)),0 4px 5px 0 var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .14)),0 1px 10px 0 var(--v-shadow-key-ambient-opacity, rgba(0, 0, 0, .12))}.v-select__content{border-radius:4px}.v-select__selection{display:inline-flex;align-items:center;letter-spacing:inherit;line-height:inherit;max-width:100%}.v-select .v-select__selection:first-child{margin-inline-start:0}.v-select--selected .v-field .v-field__input>input{opacity:0}.v-select__menu-icon{margin-inline-start:4px;transition:.2s cubic-bezier(.4,0,.2,1)}.v-select--active-menu .v-select__menu-icon{opacity:var(--v-high-emphasis-opacity);transform:rotate(180deg)}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{m as pe,V as j}from"./VTextField-Dm45LZPf.js";import{J as Q,K as _,p as K,aK as he,C as ye,k as Z,I as Ve,r as B,y as z,x,aV as ge,aX as W,f as s,F as O,D as A,aY as be,W as ke,a_ as Y,S as we,b7 as J}from"./index-Dh8vTPrL.js";import{f as Pe,e as Ce,a as xe,k as Se,l as De}from"./VCheckboxBtn-CNxrFD70.js";import{h as Fe,V as Te,f as ee}from"./VMenu-bkp9FdIZ.js";import{m as Ae,b as Ie,a as Re}from"./VList-3zZGcDKM.js";import{N as Be,c as te,V as X,D as Le,w as G,K as Ee,m as Oe}from"./VListItem-BiYBTZ39.js";import{V as _e}from"./VVirtualScroll-BqfdfU30.js";function Ke(e,I){const n=Q(!1);let V;function r(i){cancelAnimationFrame(V),n.value=!0,V=requestAnimationFrame(()=>{V=requestAnimationFrame(()=>{n.value=!1})})}async function b(){await new Promise(i=>requestAnimationFrame(i)),await new Promise(i=>requestAnimationFrame(i)),await new Promise(i=>requestAnimationFrame(i)),await new Promise(i=>{if(n.value){const l=_(n,()=>{l(),i()})}else i()})}async function k(i){var p,S;if(i.key==="Tab"&&((p=I.value)==null||p.focus()),!["PageDown","PageUp","Home","End"].includes(i.key))return;const l=(S=e.value)==null?void 0:S.$el;if(!l)return;(i.key==="Home"||i.key==="End")&&l.scrollTo({top:i.key==="Home"?0:l.scrollHeight,behavior:"smooth"}),await b();const d=l.querySelectorAll(":scope > :not(.v-virtual-scroll__spacer)");if(i.key==="PageDown"||i.key==="Home"){const o=l.getBoundingClientRect().top;for(const y of d)if(y.getBoundingClientRect().top>=o){y.focus();break}}else{const o=l.getBoundingClientRect().bottom;for(const y of[...d].reverse())if(y.getBoundingClientRect().bottom<=o){y.focus();break}}}return{onScrollPassive:r,onKeydown:k}}const He=K({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:he,default:"$dropdown"},menuProps:{type:Object},multiple:Boolean,noDataText:{type:String,default:"$vuetify.noDataText"},openOnClear:Boolean,itemColor:String,...Ae({itemChildren:!1})},"Select"),Me=K({...He(),...ye(pe({modelValue:null,role:"combobox"}),["validationValue","dirty","appendInnerIcon"]),...Be({transition:{component:Fe}})},"VSelect"),Je=Z()({name:"VSelect",props:Me(),emits:{"update:focused":e=>!0,"update:modelValue":e=>!0,"update:menu":e=>!0},setup(e,I){let{slots:n}=I;const{t:V}=Ve(),r=B(),b=B(),k=B(),i=z(e,"menu"),l=x({get:()=>i.value,set:t=>{var a;i.value&&!t&&((a=b.value)!=null&&a.ΨopenChildren.size)||(i.value=t)}}),{items:d,transformIn:p,transformOut:S}=Ie(e),o=z(e,"modelValue",[],t=>p(t===null?[null]:ge(t)),t=>{const a=S(t);return e.multiple?a:a[0]??null}),y=x(()=>typeof e.counterValue=="function"?e.counterValue(o.value):typeof e.counterValue=="number"?e.counterValue:o.value.length),D=Pe(),ne=x(()=>o.value.map(t=>t.value)),P=Q(!1),H=x(()=>l.value?e.closeText:e.openText);let E="",M;const F=x(()=>e.hideSelected?d.value.filter(t=>!o.value.some(a=>e.valueComparator(a,t))):d.value),N=x(()=>e.hideNoData&&!F.value.length||e.readonly||(D==null?void 0:D.isReadonly.value)),le=x(()=>{var t;return{...e.menuProps,activatorProps:{...((t=e.menuProps)==null?void 0:t.activatorProps)||{},"aria-haspopup":"listbox"}}}),R=B(),ae=Ke(R,r);function oe(t){e.openOnClear&&(l.value=!0)}function ue(){N.value||(l.value=!l.value)}function ie(t){Y(t)&&q(t)}function q(t){var g,u;if(!t.key||e.readonly||D!=null&&D.isReadonly.value)return;["Enter"," ","ArrowDown","ArrowUp","Home","End"].includes(t.key)&&t.preventDefault(),["Enter","ArrowDown"," "].includes(t.key)&&(l.value=!0),["Escape","Tab"].includes(t.key)&&(l.value=!1),t.key==="Home"?(g=R.value)==null||g.focus("first"):t.key==="End"&&((u=R.value)==null||u.focus("last"));const a=1e3;if(e.multiple||!Y(t))return;const c=performance.now();c-M>a&&(E=""),E+=t.key.toLowerCase(),M=c;const w=d.value.find(f=>f.title.toLowerCase().startsWith(E));if(w!==void 0){o.value=[w];const f=F.value.indexOf(w);W&&window.requestAnimationFrame(()=>{var m;f>=0&&((m=k.value)==null||m.scrollToIndex(f))})}}function L(t){let a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;if(!t.props.disabled)if(e.multiple){const c=o.value.findIndex(g=>e.valueComparator(g.value,t.value)),w=a??!~c;if(~c){const g=w?[...o.value,t]:[...o.value];g.splice(c,1),o.value=g}else w&&(o.value=[...o.value,t])}else{const c=a!==!1;o.value=c?[t]:[],we(()=>{l.value=!1})}}function se(t){var a;(a=R.value)!=null&&a.$el.contains(t.relatedTarget)||(l.value=!1)}function re(){var t;e.eager&&((t=k.value)==null||t.calculateVisibleItems())}function ce(){var t;P.value&&((t=r.value)==null||t.focus())}function de(t){P.value=!0}function fe(t){if(t==null)o.value=[];else if(J(r.value,":autofill")||J(r.value,":-webkit-autofill")){const a=d.value.find(c=>c.title===t);a&&L(a)}else r.value&&(r.value.value="")}return _(l,()=>{if(!e.hideSelected&&l.value&&o.value.length){const t=F.value.findIndex(a=>o.value.some(c=>e.valueComparator(c.value,a.value)));W&&window.requestAnimationFrame(()=>{var a;t>=0&&((a=k.value)==null||a.scrollToIndex(t))})}}),_(()=>e.items,(t,a)=>{l.value||P.value&&!a.length&&t.length&&(l.value=!0)}),te(()=>{const t=!!(e.chips||n.chip),a=!!(!e.hideNoData||F.value.length||n["prepend-item"]||n["append-item"]||n["no-data"]),c=o.value.length>0,w=j.filterProps(e),g=c||!P.value&&e.label&&!e.persistentPlaceholder?void 0:e.placeholder;return s(j,A({ref:r},w,{modelValue:o.value.map(u=>u.props.value).join(", "),"onUpdate:modelValue":fe,focused:P.value,"onUpdate:focused":u=>P.value=u,validationValue:o.externalValue,counterValue:y.value,dirty:c,class:["v-select",{"v-select--active-menu":l.value,"v-select--chips":!!e.chips,[`v-select--${e.multiple?"multiple":"single"}`]:!0,"v-select--selected":o.value.length,"v-select--selection-slot":!!n.selection},e.class],style:e.style,inputmode:"none",placeholder:g,"onClick:clear":oe,"onMousedown:control":ue,onBlur:se,onKeydown:q,"aria-label":V(H.value),title:V(H.value)}),{...n,default:()=>s(O,null,[s(Te,A({ref:b,modelValue:l.value,"onUpdate:modelValue":u=>l.value=u,activator:"parent",contentClass:"v-select__content",disabled:N.value,eager:e.eager,maxHeight:310,openOnClick:!1,closeOnContentClick:!1,transition:e.transition,onAfterEnter:re,onAfterLeave:ce},le.value),{default:()=>[a&&s(Re,A({ref:R,selected:ne.value,selectStrategy:e.multiple?"independent":"single-independent",onMousedown:u=>u.preventDefault(),onKeydown:ie,onFocusin:de,tabindex:"-1","aria-live":"polite",color:e.itemColor??e.color},ae,e.listProps),{default:()=>{var u,f,m;return[(u=n["prepend-item"])==null?void 0:u.call(n),!F.value.length&&!e.hideNoData&&(((f=n["no-data"])==null?void 0:f.call(n))??s(X,{title:V(e.noDataText)},null)),s(_e,{ref:k,renderless:!0,items:F.value},{default:C=>{var $;let{item:h,index:T,itemRef:v}=C;const U=A(h.props,{ref:v,key:T,onClick:()=>L(h,null)});return(($=n.item)==null?void 0:$.call(n,{item:h,index:T,props:U}))??s(X,A(U,{role:"option"}),{prepend:me=>{let{isSelected:ve}=me;return s(O,null,[e.multiple&&!e.hideSelected?s(Ce,{key:h.value,modelValue:ve,ripple:!1,tabindex:"-1"},null):void 0,h.props.prependAvatar&&s(Le,{image:h.props.prependAvatar},null),h.props.prependIcon&&s(G,{icon:h.props.prependIcon},null)])}})}}),(m=n["append-item"])==null?void 0:m.call(n)]}})]}),o.value.map((u,f)=>{function m(v){v.stopPropagation(),v.preventDefault(),L(u,!1)}const C={"onClick:close":m,onKeydown(v){v.key!=="Enter"&&v.key!==" "||(v.preventDefault(),v.stopPropagation(),m(v))},onMousedown(v){v.preventDefault(),v.stopPropagation()},modelValue:!0,"onUpdate:modelValue":void 0},h=t?!!n.chip:!!n.selection,T=h?be(t?n.chip({item:u,index:f,props:C}):n.selection({item:u,index:f})):void 0;if(!(h&&!T))return s("div",{key:u.value,class:"v-select__selection"},[t?n.chip?s(Ee,{key:"chip-defaults",defaults:{VChip:{closable:e.closableChips,size:"small",text:u.title}}},{default:()=>[T]}):s(xe,A({key:"chip",closable:e.closableChips,size:"small",text:u.title,disabled:u.props.disabled},C),null):T??s("span",{class:"v-select__selection-text"},[u.title,e.multiple&&f<o.value.length-1&&s("span",{class:"v-select__selection-comma"},[ke(",")])])])})]),"append-inner":function(){var C;for(var u=arguments.length,f=new Array(u),m=0;m<u;m++)f[m]=arguments[m];return s(O,null,[(C=n["append-inner"])==null?void 0:C.call(n,...f),e.menuIcon?s(G,{class:"v-select__menu-icon",icon:e.menuIcon},null):void 0])}})}),ee({isFocused:P,menu:l,select:L},r)}}),Ne=K({...Oe(),...Se()},"VForm"),Xe=Z()({name:"VForm",props:Ne(),emits:{"update:modelValue":e=>!0,submit:e=>!0},setup(e,I){let{slots:n,emit:V}=I;const r=De(e),b=B();function k(l){l.preventDefault(),r.reset()}function i(l){const d=l,p=r.validate();d.then=p.then.bind(p),d.catch=p.catch.bind(p),d.finally=p.finally.bind(p),V("submit",d),d.defaultPrevented||p.then(S=>{var y;let{valid:o}=S;o&&((y=b.value)==null||y.submit())}),d.preventDefault()}return te(()=>{var l;return s("form",{ref:b,class:["v-form",e.class],style:e.style,novalidate:!0,onReset:k,onSubmit:i},[(l=n.default)==null?void 0:l.call(n,r)])}),ee(r,b)}});export{Je as V,Xe as a,He as m,Ke as u};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.v-btn{align-items:center;border-radius:4px;display:inline-grid;grid-template-areas:"prepend content append";grid-template-columns:max-content auto max-content;font-weight:500;justify-content:center;letter-spacing:.0892857143em;line-height:normal;max-width:100%;outline:none;position:relative;text-decoration:none;text-indent:.0892857143em;text-transform:uppercase;transition-property:box-shadow,transform,opacity,background;transition-duration:.28s;transition-timing-function:cubic-bezier(.4,0,.2,1);-webkit-user-select:none;user-select:none;vertical-align:middle;flex-shrink:0}.v-btn--size-x-small{--v-btn-size: .625rem;--v-btn-height: 20px;font-size:var(--v-btn-size);min-width:36px;padding:0 8px}.v-btn--size-small{--v-btn-size: .75rem;--v-btn-height: 28px;font-size:var(--v-btn-size);min-width:50px;padding:0 12px}.v-btn--size-default{--v-btn-size: .875rem;--v-btn-height: 36px;font-size:var(--v-btn-size);min-width:64px;padding:0 16px}.v-btn--size-large{--v-btn-size: 1rem;--v-btn-height: 44px;font-size:var(--v-btn-size);min-width:78px;padding:0 20px}.v-btn--size-x-large{--v-btn-size: 1.125rem;--v-btn-height: 52px;font-size:var(--v-btn-size);min-width:92px;padding:0 24px}.v-btn.v-btn--density-default{height:calc(var(--v-btn-height) + 0px)}.v-btn.v-btn--density-comfortable{height:calc(var(--v-btn-height) + -8px)}.v-btn.v-btn--density-compact{height:calc(var(--v-btn-height) + -12px)}.v-btn{border-color:rgba(var(--v-border-color),var(--v-border-opacity));border-style:solid;border-width:0}.v-btn--border{border-width:thin;box-shadow:none}.v-btn--absolute{position:absolute}.v-btn--fixed{position:fixed}.v-btn:hover>.v-btn__overlay{opacity:calc(var(--v-hover-opacity) * var(--v-theme-overlay-multiplier))}.v-btn:focus-visible>.v-btn__overlay{opacity:calc(var(--v-focus-opacity) * var(--v-theme-overlay-multiplier))}@supports not selector(:focus-visible){.v-btn:focus>.v-btn__overlay{opacity:calc(var(--v-focus-opacity) * var(--v-theme-overlay-multiplier))}}.v-btn--active>.v-btn__overlay,.v-btn[aria-haspopup=menu][aria-expanded=true]>.v-btn__overlay{opacity:calc(var(--v-activated-opacity) * var(--v-theme-overlay-multiplier))}.v-btn--active:hover>.v-btn__overlay,.v-btn[aria-haspopup=menu][aria-expanded=true]:hover>.v-btn__overlay{opacity:calc((var(--v-activated-opacity) + var(--v-hover-opacity)) * var(--v-theme-overlay-multiplier))}.v-btn--active:focus-visible>.v-btn__overlay,.v-btn[aria-haspopup=menu][aria-expanded=true]:focus-visible>.v-btn__overlay{opacity:calc((var(--v-activated-opacity) + var(--v-focus-opacity)) * var(--v-theme-overlay-multiplier))}@supports not selector(:focus-visible){.v-btn--active:focus>.v-btn__overlay,.v-btn[aria-haspopup=menu][aria-expanded=true]:focus>.v-btn__overlay{opacity:calc((var(--v-activated-opacity) + var(--v-focus-opacity)) * var(--v-theme-overlay-multiplier))}}.v-btn--variant-plain,.v-btn--variant-outlined,.v-btn--variant-text,.v-btn--variant-tonal{background:transparent;color:inherit}.v-btn--variant-plain{opacity:.62}.v-btn--variant-plain:focus,.v-btn--variant-plain:hover{opacity:1}.v-btn--variant-plain .v-btn__overlay{display:none}.v-btn--variant-elevated,.v-btn--variant-flat{background:rgb(var(--v-theme-surface));color:rgba(var(--v-theme-on-surface),var(--v-high-emphasis-opacity))}.v-btn--variant-elevated{box-shadow:0 3px 1px -2px var(--v-shadow-key-umbra-opacity, rgba(0, 0, 0, .2)),0 2px 2px 0 var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .14)),0 1px 5px 0 var(--v-shadow-key-ambient-opacity, rgba(0, 0, 0, .12))}.v-btn--variant-flat{box-shadow:0 0 0 0 var(--v-shadow-key-umbra-opacity, rgba(0, 0, 0, .2)),0 0 0 0 var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .14)),0 0 0 0 var(--v-shadow-key-ambient-opacity, rgba(0, 0, 0, .12))}.v-btn--variant-outlined{border:thin solid currentColor}.v-btn--variant-text .v-btn__overlay{background:currentColor}.v-btn--variant-tonal .v-btn__underlay{background:currentColor;opacity:var(--v-activated-opacity);border-radius:inherit;top:0;right:0;bottom:0;left:0;pointer-events:none}.v-btn .v-btn__underlay{position:absolute}@supports selector(:focus-visible){.v-btn:after{pointer-events:none;border:2px solid currentColor;border-radius:inherit;opacity:0;transition:opacity .2s ease-in-out}.v-btn:after{content:"";position:absolute;top:0;left:0;width:100%;height:100%}.v-btn:focus-visible:after{opacity:calc(.25 * var(--v-theme-overlay-multiplier))}}.v-btn--icon{border-radius:50%;min-width:0;padding:0}.v-btn--icon.v-btn--size-default{--v-btn-size: 1rem}.v-btn--icon.v-btn--density-default{width:calc(var(--v-btn-height) + 12px);height:calc(var(--v-btn-height) + 12px)}.v-btn--icon.v-btn--density-comfortable{width:calc(var(--v-btn-height) + 0px);height:calc(var(--v-btn-height) + 0px)}.v-btn--icon.v-btn--density-compact{width:calc(var(--v-btn-height) + -8px);height:calc(var(--v-btn-height) + -8px)}.v-btn--elevated:hover,.v-btn--elevated:focus{box-shadow:0 2px 4px -1px var(--v-shadow-key-umbra-opacity, rgba(0, 0, 0, .2)),0 4px 5px 0 var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .14)),0 1px 10px 0 var(--v-shadow-key-ambient-opacity, rgba(0, 0, 0, .12))}.v-btn--elevated:active{box-shadow:0 5px 5px -3px var(--v-shadow-key-umbra-opacity, rgba(0, 0, 0, .2)),0 8px 10px 1px var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .14)),0 3px 14px 2px var(--v-shadow-key-ambient-opacity, rgba(0, 0, 0, .12))}.v-btn--flat{box-shadow:none}.v-btn--block{display:flex;flex:1 0 auto;min-width:100%}.v-btn--disabled{pointer-events:none;opacity:.26}.v-btn--disabled:hover{opacity:.26}.v-btn--disabled.v-btn--variant-elevated,.v-btn--disabled.v-btn--variant-flat{box-shadow:none;opacity:1;color:rgba(var(--v-theme-on-surface),.26);background:rgb(var(--v-theme-surface))}.v-btn--disabled.v-btn--variant-elevated .v-btn__overlay,.v-btn--disabled.v-btn--variant-flat .v-btn__overlay{opacity:.4615384615}.v-btn--loading{pointer-events:none}.v-btn--loading .v-btn__content,.v-btn--loading .v-btn__prepend,.v-btn--loading .v-btn__append{opacity:0}.v-btn--stacked{grid-template-areas:"prepend" "content" "append";grid-template-columns:auto;grid-template-rows:max-content max-content max-content;justify-items:center;align-content:center}.v-btn--stacked .v-btn__content{flex-direction:column;line-height:1.25}.v-btn--stacked .v-btn__prepend,.v-btn--stacked .v-btn__append,.v-btn--stacked .v-btn__content>.v-icon--start,.v-btn--stacked .v-btn__content>.v-icon--end{margin-inline:0}.v-btn--stacked .v-btn__prepend,.v-btn--stacked .v-btn__content>.v-icon--start{margin-bottom:4px}.v-btn--stacked .v-btn__append,.v-btn--stacked .v-btn__content>.v-icon--end{margin-top:4px}.v-btn--stacked.v-btn--size-x-small{--v-btn-size: .625rem;--v-btn-height: 56px;font-size:var(--v-btn-size);min-width:56px;padding:0 12px}.v-btn--stacked.v-btn--size-small{--v-btn-size: .75rem;--v-btn-height: 64px;font-size:var(--v-btn-size);min-width:64px;padding:0 14px}.v-btn--stacked.v-btn--size-default{--v-btn-size: .875rem;--v-btn-height: 72px;font-size:var(--v-btn-size);min-width:72px;padding:0 16px}.v-btn--stacked.v-btn--size-large{--v-btn-size: 1rem;--v-btn-height: 80px;font-size:var(--v-btn-size);min-width:80px;padding:0 18px}.v-btn--stacked.v-btn--size-x-large{--v-btn-size: 1.125rem;--v-btn-height: 88px;font-size:var(--v-btn-size);min-width:88px;padding:0 20px}.v-btn--stacked.v-btn--density-default{height:calc(var(--v-btn-height) + 0px)}.v-btn--stacked.v-btn--density-comfortable{height:calc(var(--v-btn-height) + -16px)}.v-btn--stacked.v-btn--density-compact{height:calc(var(--v-btn-height) + -24px)}.v-btn--slim{padding:0 8px}.v-btn--readonly{pointer-events:none}.v-btn--rounded{border-radius:24px}.v-btn--rounded.v-btn--icon{border-radius:4px}.v-btn .v-icon{--v-icon-size-multiplier: .8571428571}.v-btn--icon .v-icon{--v-icon-size-multiplier: 1}.v-btn--stacked .v-icon{--v-icon-size-multiplier: 1.1428571429}.v-btn--stacked.v-btn--block{min-width:100%}.v-btn__loader{align-items:center;display:flex;height:100%;justify-content:center;left:0;position:absolute;top:0;width:100%}.v-btn__loader>.v-progress-circular{width:1.5em;height:1.5em}.v-btn__content,.v-btn__prepend,.v-btn__append{align-items:center;display:flex;transition:transform,opacity .2s cubic-bezier(.4,0,.2,1)}.v-btn__prepend{grid-area:prepend;margin-inline:calc(var(--v-btn-height) / -9) calc(var(--v-btn-height) / 4.5)}.v-btn--slim .v-btn__prepend{margin-inline-start:0}.v-btn__append{grid-area:append;margin-inline:calc(var(--v-btn-height) / 4.5) calc(var(--v-btn-height) / -9)}.v-btn--slim .v-btn__append{margin-inline-end:0}.v-btn__content{grid-area:content;justify-content:center;white-space:nowrap}.v-btn__content>.v-icon--start{margin-inline:calc(var(--v-btn-height) / -9) calc(var(--v-btn-height) / 4.5)}.v-btn__content>.v-icon--end{margin-inline:calc(var(--v-btn-height) / 4.5) calc(var(--v-btn-height) / -9)}.v-btn--stacked .v-btn__content{white-space:normal}.v-btn__overlay{background-color:currentColor;border-radius:inherit;opacity:0;transition:opacity .2s ease-in-out}.v-btn__overlay,.v-btn__underlay{pointer-events:none}.v-btn__overlay,.v-btn__underlay{position:absolute;top:0;left:0;width:100%;height:100%}.v-pagination .v-btn{border-radius:4px}.v-pagination .v-btn--rounded{border-radius:50%}.v-btn__overlay{transition:none}.v-pagination__item--is-active .v-btn__overlay{opacity:var(--v-border-opacity)}.v-btn-toggle>.v-btn.v-btn--active:not(.v-btn--disabled)>.v-btn__overlay{opacity:calc(var(--v-activated-opacity) * var(--v-theme-overlay-multiplier))}.v-btn-toggle>.v-btn.v-btn--active:not(.v-btn--disabled):hover>.v-btn__overlay{opacity:calc((var(--v-activated-opacity) + var(--v-hover-opacity)) * var(--v-theme-overlay-multiplier))}.v-btn-toggle>.v-btn.v-btn--active:not(.v-btn--disabled):focus-visible>.v-btn__overlay{opacity:calc((var(--v-activated-opacity) + var(--v-focus-opacity)) * var(--v-theme-overlay-multiplier))}@supports not selector(:focus-visible){.v-btn-toggle>.v-btn.v-btn--active:not(.v-btn--disabled):focus>.v-btn__overlay{opacity:calc((var(--v-activated-opacity) + var(--v-focus-opacity)) * var(--v-theme-overlay-multiplier))}}.v-btn-group{display:inline-flex;flex-wrap:nowrap;max-width:100%;min-width:0;overflow:hidden;vertical-align:middle}.v-btn-group{border-color:rgba(var(--v-border-color),var(--v-border-opacity));border-style:solid;border-width:0}.v-btn-group--border{border-width:thin;box-shadow:none}.v-btn-group{box-shadow:0 0 0 0 var(--v-shadow-key-umbra-opacity, rgba(0, 0, 0, .2)),0 0 0 0 var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .14)),0 0 0 0 var(--v-shadow-key-ambient-opacity, rgba(0, 0, 0, .12))}.v-btn-group{border-radius:4px}.v-btn-group{background:transparent;color:rgba(var(--v-theme-on-surface),var(--v-high-emphasis-opacity))}.v-btn-group--density-default.v-btn-group{height:48px}.v-btn-group--density-comfortable.v-btn-group{height:40px}.v-btn-group--density-compact.v-btn-group{height:36px}.v-btn-group .v-btn{border-radius:0;border-color:inherit}.v-btn-group .v-btn:not(:last-child){border-inline-end:none}.v-btn-group .v-btn:not(:first-child){border-inline-start:none}.v-btn-group .v-btn:first-child{border-start-start-radius:inherit;border-end-start-radius:inherit}.v-btn-group .v-btn:last-child{border-start-end-radius:inherit;border-end-end-radius:inherit}.v-btn-group--divided .v-btn:not(:last-child){border-inline-end-width:thin;border-inline-end-style:solid;border-inline-end-color:rgba(var(--v-border-color),var(--v-border-opacity))}.v-btn-group--tile{border-radius:0}.v-icon{--v-icon-size-multiplier: 1;align-items:center;display:inline-flex;font-feature-settings:"liga";height:1em;justify-content:center;letter-spacing:normal;line-height:1;position:relative;text-indent:0;text-align:center;-webkit-user-select:none;user-select:none;vertical-align:middle;width:1em;min-width:1em}.v-icon--clickable{cursor:pointer}.v-icon--disabled{pointer-events:none;opacity:.38}.v-icon--size-x-small{font-size:calc(var(--v-icon-size-multiplier) * 1em)}.v-icon--size-small{font-size:calc(var(--v-icon-size-multiplier) * 1.25em)}.v-icon--size-default{font-size:calc(var(--v-icon-size-multiplier) * 1.5em)}.v-icon--size-large{font-size:calc(var(--v-icon-size-multiplier) * 1.75em)}.v-icon--size-x-large{font-size:calc(var(--v-icon-size-multiplier) * 2em)}.v-icon__svg{fill:currentColor;width:100%;height:100%}.v-icon--start{margin-inline-end:8px}.v-icon--end{margin-inline-start:8px}.v-progress-circular{align-items:center;display:inline-flex;justify-content:center;position:relative;vertical-align:middle}.v-progress-circular>svg{width:100%;height:100%;margin:auto;position:absolute;top:0;bottom:0;left:0;right:0;z-index:0}.v-progress-circular__content{align-items:center;display:flex;justify-content:center}.v-progress-circular__underlay{color:rgba(var(--v-border-color),var(--v-border-opacity));stroke:currentColor;z-index:1}.v-progress-circular__overlay{stroke:currentColor;transition:all .2s ease-in-out,stroke-width 0s;z-index:2}.v-progress-circular--size-x-small{height:16px;width:16px}.v-progress-circular--size-small{height:24px;width:24px}.v-progress-circular--size-default{height:32px;width:32px}.v-progress-circular--size-large{height:48px;width:48px}.v-progress-circular--size-x-large{height:64px;width:64px}.v-progress-circular--indeterminate>svg{animation:progress-circular-rotate 1.4s linear infinite;transform-origin:center center;transition:all .2s ease-in-out}.v-progress-circular--indeterminate .v-progress-circular__overlay{animation:progress-circular-dash 1.4s ease-in-out infinite,progress-circular-rotate 1.4s linear infinite;stroke-dasharray:25,200;stroke-dashoffset:0;stroke-linecap:round;transform-origin:center center;transform:rotate(-90deg)}.v-progress-circular--disable-shrink>svg{animation-duration:.7s}.v-progress-circular--disable-shrink .v-progress-circular__overlay{animation:none}.v-progress-circular--indeterminate:not(.v-progress-circular--visible)>svg,.v-progress-circular--indeterminate:not(.v-progress-circular--visible) .v-progress-circular__overlay{animation-play-state:paused!important}@keyframes progress-circular-dash{0%{stroke-dasharray:1,200;stroke-dashoffset:0px}50%{stroke-dasharray:100,200;stroke-dashoffset:-15px}to{stroke-dasharray:100,200;stroke-dashoffset:-124px}}@keyframes progress-circular-rotate{to{transform:rotate(270deg)}}.v-progress-linear{background:transparent;overflow:hidden;position:relative;transition:.2s cubic-bezier(.4,0,.2,1);width:100%}@media (forced-colors: active){.v-progress-linear{border:thin solid buttontext}}.v-progress-linear__background,.v-progress-linear__buffer{background:currentColor;bottom:0;left:0;opacity:var(--v-border-opacity);position:absolute;top:0;width:100%;transition-property:width,left,right;transition:inherit}@media (forced-colors: active){.v-progress-linear__buffer{background-color:highlight;opacity:.3}}.v-progress-linear__content{align-items:center;display:flex;height:100%;justify-content:center;left:0;pointer-events:none;position:absolute;top:0;width:100%}.v-progress-linear__determinate,.v-progress-linear__indeterminate{background:currentColor}@media (forced-colors: active){.v-progress-linear__determinate,.v-progress-linear__indeterminate{background-color:highlight}}.v-progress-linear__determinate{height:inherit;left:0;position:absolute;transition:inherit;transition-property:width,left,right}.v-progress-linear__indeterminate .long,.v-progress-linear__indeterminate .short{animation-play-state:paused;animation-duration:2.2s;animation-iteration-count:infinite;bottom:0;height:inherit;left:0;position:absolute;right:auto;top:0;width:auto}.v-progress-linear__indeterminate .long{animation-name:indeterminate-ltr}.v-progress-linear__indeterminate .short{animation-name:indeterminate-short-ltr}.v-progress-linear__stream{animation:stream .25s infinite linear;animation-play-state:paused;bottom:0;left:auto;opacity:.3;pointer-events:none;position:absolute;transition:inherit;transition-property:width,left,right}.v-progress-linear--reverse .v-progress-linear__background,.v-progress-linear--reverse .v-progress-linear__determinate,.v-progress-linear--reverse .v-progress-linear__content,.v-progress-linear--reverse .v-progress-linear__indeterminate .long,.v-progress-linear--reverse .v-progress-linear__indeterminate .short{left:auto;right:0}.v-progress-linear--reverse .v-progress-linear__indeterminate .long{animation-name:indeterminate-rtl}.v-progress-linear--reverse .v-progress-linear__indeterminate .short{animation-name:indeterminate-short-rtl}.v-progress-linear--reverse .v-progress-linear__stream{right:auto}.v-progress-linear--absolute,.v-progress-linear--fixed{left:0;z-index:1}.v-progress-linear--absolute{position:absolute}.v-progress-linear--fixed{position:fixed}.v-progress-linear--rounded{border-radius:9999px}.v-progress-linear--rounded.v-progress-linear--rounded-bar .v-progress-linear__determinate,.v-progress-linear--rounded.v-progress-linear--rounded-bar .v-progress-linear__indeterminate{border-radius:inherit}.v-progress-linear--striped .v-progress-linear__determinate{animation:progress-linear-stripes 1s infinite linear;background-image:linear-gradient(135deg,hsla(0,0%,100%,.25) 25%,transparent 0,transparent 50%,hsla(0,0%,100%,.25) 0,hsla(0,0%,100%,.25) 75%,transparent 0,transparent);background-repeat:repeat;background-size:var(--v-progress-linear-height)}.v-progress-linear--active .v-progress-linear__indeterminate .long,.v-progress-linear--active .v-progress-linear__indeterminate .short,.v-progress-linear--active .v-progress-linear__stream{animation-play-state:running}.v-progress-linear--rounded-bar .v-progress-linear__determinate,.v-progress-linear--rounded-bar .v-progress-linear__indeterminate,.v-progress-linear--rounded-bar .v-progress-linear__stream+.v-progress-linear__background{border-radius:9999px}.v-progress-linear--rounded-bar .v-progress-linear__determinate{border-start-start-radius:0;border-end-start-radius:0}@keyframes indeterminate-ltr{0%{left:-90%;right:100%}60%{left:-90%;right:100%}to{left:100%;right:-35%}}@keyframes indeterminate-rtl{0%{left:100%;right:-90%}60%{left:100%;right:-90%}to{left:-35%;right:100%}}@keyframes indeterminate-short-ltr{0%{left:-200%;right:100%}60%{left:107%;right:-8%}to{left:107%;right:-8%}}@keyframes indeterminate-short-rtl{0%{left:100%;right:-200%}60%{left:-8%;right:107%}to{left:-8%;right:107%}}@keyframes stream{to{transform:translate(var(--v-progress-linear-stream-to))}}@keyframes progress-linear-stripes{0%{background-position-x:var(--v-progress-linear-height)}}.v-ripple__container{color:inherit;border-radius:inherit;position:absolute;width:100%;height:100%;left:0;top:0;overflow:hidden;z-index:0;pointer-events:none;contain:strict}.v-ripple__animation{color:inherit;position:absolute;top:0;left:0;border-radius:50%;background:currentColor;opacity:0;pointer-events:none;overflow:hidden;will-change:transform,opacity}.v-ripple__animation--enter{transition:none;opacity:0}.v-ripple__animation--in{transition:transform .25s cubic-bezier(0,0,.2,1),opacity .1s cubic-bezier(0,0,.2,1);opacity:calc(.25 * var(--v-theme-overlay-multiplier))}.v-ripple__animation--out{transition:opacity .3s cubic-bezier(0,0,.2,1);opacity:0}.v-list-item{align-items:center;display:grid;flex:none;grid-template-areas:"prepend content append";grid-template-columns:max-content 1fr auto;outline:none;max-width:100%;padding:4px 16px;position:relative;text-decoration:none}.v-list-item{border-color:rgba(var(--v-border-color),var(--v-border-opacity));border-style:solid;border-width:0}.v-list-item--border{border-width:thin;box-shadow:none}.v-list-item:hover>.v-list-item__overlay{opacity:calc(var(--v-hover-opacity) * var(--v-theme-overlay-multiplier))}.v-list-item:focus-visible>.v-list-item__overlay{opacity:calc(var(--v-focus-opacity) * var(--v-theme-overlay-multiplier))}@supports not selector(:focus-visible){.v-list-item:focus>.v-list-item__overlay{opacity:calc(var(--v-focus-opacity) * var(--v-theme-overlay-multiplier))}}.v-list-item--active>.v-list-item__overlay,.v-list-item[aria-haspopup=menu][aria-expanded=true]>.v-list-item__overlay{opacity:calc(var(--v-activated-opacity) * var(--v-theme-overlay-multiplier))}.v-list-item--active:hover>.v-list-item__overlay,.v-list-item[aria-haspopup=menu][aria-expanded=true]:hover>.v-list-item__overlay{opacity:calc((var(--v-activated-opacity) + var(--v-hover-opacity)) * var(--v-theme-overlay-multiplier))}.v-list-item--active:focus-visible>.v-list-item__overlay,.v-list-item[aria-haspopup=menu][aria-expanded=true]:focus-visible>.v-list-item__overlay{opacity:calc((var(--v-activated-opacity) + var(--v-focus-opacity)) * var(--v-theme-overlay-multiplier))}@supports not selector(:focus-visible){.v-list-item--active:focus>.v-list-item__overlay,.v-list-item[aria-haspopup=menu][aria-expanded=true]:focus>.v-list-item__overlay{opacity:calc((var(--v-activated-opacity) + var(--v-focus-opacity)) * var(--v-theme-overlay-multiplier))}}.v-list-item{border-radius:0}.v-list-item--variant-plain,.v-list-item--variant-outlined,.v-list-item--variant-text,.v-list-item--variant-tonal{background:transparent;color:inherit}.v-list-item--variant-plain{opacity:.62}.v-list-item--variant-plain:focus,.v-list-item--variant-plain:hover{opacity:1}.v-list-item--variant-plain .v-list-item__overlay{display:none}.v-list-item--variant-elevated,.v-list-item--variant-flat{background:rgba(var(--v-theme-surface));color:rgba(var(--v-theme-on-surface),var(--v-high-emphasis-opacity))}.v-list-item--variant-elevated{box-shadow:0 2px 1px -1px var(--v-shadow-key-umbra-opacity, rgba(0, 0, 0, .2)),0 1px 1px 0 var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .14)),0 1px 3px 0 var(--v-shadow-key-ambient-opacity, rgba(0, 0, 0, .12))}.v-list-item--variant-flat{box-shadow:0 0 0 0 var(--v-shadow-key-umbra-opacity, rgba(0, 0, 0, .2)),0 0 0 0 var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .14)),0 0 0 0 var(--v-shadow-key-ambient-opacity, rgba(0, 0, 0, .12))}.v-list-item--variant-outlined{border:thin solid currentColor}.v-list-item--variant-text .v-list-item__overlay{background:currentColor}.v-list-item--variant-tonal .v-list-item__underlay{background:currentColor;opacity:var(--v-activated-opacity);border-radius:inherit;top:0;right:0;bottom:0;left:0;pointer-events:none}.v-list-item .v-list-item__underlay{position:absolute}@supports selector(:focus-visible){.v-list-item:after{pointer-events:none;border:2px solid currentColor;border-radius:4px;opacity:0;transition:opacity .2s ease-in-out}.v-list-item:after{content:"";position:absolute;top:0;left:0;width:100%;height:100%}.v-list-item:focus-visible:after{opacity:calc(.15 * var(--v-theme-overlay-multiplier))}}.v-list-item__prepend>.v-badge .v-icon,.v-list-item__prepend>.v-icon,.v-list-item__append>.v-badge .v-icon,.v-list-item__append>.v-icon{opacity:var(--v-medium-emphasis-opacity)}.v-list-item--active .v-list-item__prepend>.v-badge .v-icon,.v-list-item--active .v-list-item__prepend>.v-icon,.v-list-item--active .v-list-item__append>.v-badge .v-icon,.v-list-item--active .v-list-item__append>.v-icon{opacity:1}.v-list-item--active:not(.v-list-item--link) .v-list-item__overlay{opacity:calc(var(--v-activated-opacity) * var(--v-theme-overlay-multiplier))}.v-list-item--rounded{border-radius:4px}.v-list-item--disabled{pointer-events:none;-webkit-user-select:none;user-select:none;opacity:.6}.v-list-item--link{cursor:pointer}.v-navigation-drawer--rail:not(.v-navigation-drawer--expand-on-hover) .v-list-item .v-avatar,.v-navigation-drawer--rail.v-navigation-drawer--expand-on-hover:not(.v-navigation-drawer--is-hovering) .v-list-item .v-avatar{--v-avatar-height: 24px}.v-list-item__prepend{align-items:center;align-self:center;display:flex;grid-area:prepend}.v-list-item__prepend>.v-badge~.v-list-item__spacer,.v-list-item__prepend>.v-icon~.v-list-item__spacer,.v-list-item__prepend>.v-tooltip~.v-list-item__spacer{width:32px}.v-list-item__prepend>.v-avatar~.v-list-item__spacer{width:16px}.v-list-item__prepend>.v-list-item-action~.v-list-item__spacer{width:16px}.v-list-item--slim .v-list-item__prepend>.v-badge~.v-list-item__spacer,.v-list-item--slim .v-list-item__prepend>.v-icon~.v-list-item__spacer,.v-list-item--slim .v-list-item__prepend>.v-tooltip~.v-list-item__spacer{width:20px}.v-list-item--slim .v-list-item__prepend>.v-avatar~.v-list-item__spacer{width:4px}.v-list-item--slim .v-list-item__prepend>.v-list-item-action~.v-list-item__spacer{width:4px}.v-list-item--three-line .v-list-item__prepend{align-self:start}.v-list-item__append{align-self:center;display:flex;align-items:center;grid-area:append}.v-list-item__append .v-list-item__spacer{order:-1;transition:.15s width cubic-bezier(.4,0,.2,1)}.v-list-item__append>.v-badge~.v-list-item__spacer,.v-list-item__append>.v-icon~.v-list-item__spacer,.v-list-item__append>.v-tooltip~.v-list-item__spacer{width:32px}.v-list-item__append>.v-avatar~.v-list-item__spacer{width:16px}.v-list-item__append>.v-list-item-action~.v-list-item__spacer{width:16px}.v-list-item--slim .v-list-item__append>.v-badge~.v-list-item__spacer,.v-list-item--slim .v-list-item__append>.v-icon~.v-list-item__spacer,.v-list-item--slim .v-list-item__append>.v-tooltip~.v-list-item__spacer{width:20px}.v-list-item--slim .v-list-item__append>.v-avatar~.v-list-item__spacer{width:4px}.v-list-item--slim .v-list-item__append>.v-list-item-action~.v-list-item__spacer{width:4px}.v-list-item--three-line .v-list-item__append{align-self:start}.v-list-item__content{align-self:center;grid-area:content;overflow:hidden}.v-list-item-action{align-self:center;display:flex;align-items:center;flex:none;transition:inherit;transition-property:height,width}.v-list-item-action--start{margin-inline-end:8px;margin-inline-start:-8px}.v-list-item-action--end{margin-inline-start:8px;margin-inline-end:-8px}.v-list-item-media{margin-top:0;margin-bottom:0}.v-list-item-media--start{margin-inline-end:16px}.v-list-item-media--end{margin-inline-start:16px}.v-list-item--two-line .v-list-item-media{margin-top:-4px;margin-bottom:-4px}.v-list-item--three-line .v-list-item-media{margin-top:0;margin-bottom:0}.v-list-item-subtitle{-webkit-box-orient:vertical;display:-webkit-box;opacity:var(--v-list-item-subtitle-opacity, var(--v-medium-emphasis-opacity));overflow:hidden;padding:0;text-overflow:ellipsis;overflow-wrap:break-word;word-break:initial}.v-list-item--one-line .v-list-item-subtitle{-webkit-line-clamp:1}.v-list-item--two-line .v-list-item-subtitle{-webkit-line-clamp:2}.v-list-item--three-line .v-list-item-subtitle{-webkit-line-clamp:3}.v-list-item-subtitle{font-size:.75rem;font-weight:400;letter-spacing:.0178571429em;line-height:1rem;text-transform:none}.v-list-item--nav .v-list-item-subtitle{font-size:.75rem;font-weight:400;letter-spacing:.0178571429em;line-height:1rem}.v-list-item-title{-webkit-hyphens:auto;hyphens:auto;overflow-wrap:normal;overflow:hidden;padding:0;white-space:nowrap;text-overflow:ellipsis;word-break:normal;word-wrap:break-word}.v-list-item-title{font-size:.875rem;font-weight:500;letter-spacing:.009375em;line-height:1.25rem;text-transform:none}.v-list-item--nav .v-list-item-title{font-size:.8125rem;font-weight:500;letter-spacing:normal;line-height:1rem}.v-list-item--density-default{min-height:40px}.v-list-item--density-default.v-list-item--one-line{min-height:48px;padding-top:4px;padding-bottom:4px}.v-list-item--density-default.v-list-item--two-line{min-height:64px;padding-top:12px;padding-bottom:12px}.v-list-item--density-default.v-list-item--three-line{min-height:88px;padding-top:16px;padding-bottom:16px}.v-list-item--density-default.v-list-item--three-line .v-list-item__prepend,.v-list-item--density-default.v-list-item--three-line .v-list-item__append{padding-top:8px}.v-list-item--density-default:not(.v-list-item--nav).v-list-item--one-line{padding-inline:16px}.v-list-item--density-default:not(.v-list-item--nav).v-list-item--two-line{padding-inline:16px}.v-list-item--density-default:not(.v-list-item--nav).v-list-item--three-line{padding-inline:16px}.v-list-item--density-comfortable{min-height:36px}.v-list-item--density-comfortable.v-list-item--one-line{min-height:44px}.v-list-item--density-comfortable.v-list-item--two-line{min-height:60px;padding-top:8px;padding-bottom:8px}.v-list-item--density-comfortable.v-list-item--three-line{min-height:84px;padding-top:12px;padding-bottom:12px}.v-list-item--density-comfortable.v-list-item--three-line .v-list-item__prepend,.v-list-item--density-comfortable.v-list-item--three-line .v-list-item__append{padding-top:6px}.v-list-item--density-comfortable:not(.v-list-item--nav).v-list-item--one-line{padding-inline:16px}.v-list-item--density-comfortable:not(.v-list-item--nav).v-list-item--two-line{padding-inline:16px}.v-list-item--density-comfortable:not(.v-list-item--nav).v-list-item--three-line{padding-inline:16px}.v-list-item--density-compact{min-height:32px}.v-list-item--density-compact.v-list-item--one-line{min-height:40px}.v-list-item--density-compact.v-list-item--two-line{min-height:56px;padding-top:4px;padding-bottom:4px}.v-list-item--density-compact.v-list-item--three-line{min-height:80px;padding-top:8px;padding-bottom:8px}.v-list-item--density-compact.v-list-item--three-line .v-list-item__prepend,.v-list-item--density-compact.v-list-item--three-line .v-list-item__append{padding-top:4px}.v-list-item--density-compact:not(.v-list-item--nav).v-list-item--one-line{padding-inline:16px}.v-list-item--density-compact:not(.v-list-item--nav).v-list-item--two-line{padding-inline:16px}.v-list-item--density-compact:not(.v-list-item--nav).v-list-item--three-line{padding-inline:16px}.v-list-item--nav{padding-inline:8px}.v-list .v-list-item--nav:not(:only-child){margin-bottom:4px}.v-list-item__underlay{position:absolute}.v-list-item__overlay{background-color:currentColor;border-radius:inherit;bottom:0;left:0;opacity:0;pointer-events:none;position:absolute;right:0;top:0;transition:opacity .2s ease-in-out}.v-list-item--active.v-list-item--variant-elevated .v-list-item__overlay{--v-theme-overlay-multiplier: 0}.v-list{--indent-padding: 0px}.v-list--nav{--indent-padding: -8px}.v-list-group{--list-indent-size: 16px;--parent-padding: var(--indent-padding);--prepend-width: 40px}.v-list--slim .v-list-group{--prepend-width: 28px}.v-list-group--fluid{--list-indent-size: 0px}.v-list-group--prepend{--parent-padding: calc(var(--indent-padding) + var(--prepend-width))}.v-list-group--fluid.v-list-group--prepend{--parent-padding: var(--indent-padding)}.v-list-group__items{--indent-padding: calc(var(--parent-padding) + var(--list-indent-size))}.v-list-group__items .v-list-item{padding-inline-start:calc(16px + var(--indent-padding))!important}.v-list-group__header:not(.v-treeview-item--activatable-group-activator).v-list-item--active:not(:focus-visible) .v-list-item__overlay{opacity:0}.v-list-group__header:not(.v-treeview-item--activatable-group-activator).v-list-item--active:hover .v-list-item__overlay{opacity:calc(var(--v-hover-opacity) * var(--v-theme-overlay-multiplier))}.v-avatar{flex:none;align-items:center;display:inline-flex;justify-content:center;line-height:normal;overflow:hidden;position:relative;text-align:center;transition:.2s cubic-bezier(.4,0,.2,1);transition-property:width,height;vertical-align:middle}.v-avatar.v-avatar--size-x-small{--v-avatar-height: 24px}.v-avatar.v-avatar--size-small{--v-avatar-height: 32px}.v-avatar.v-avatar--size-default{--v-avatar-height: 40px}.v-avatar.v-avatar--size-large{--v-avatar-height: 48px}.v-avatar.v-avatar--size-x-large{--v-avatar-height: 56px}.v-avatar.v-avatar--density-default{height:calc(var(--v-avatar-height) + 0px);width:calc(var(--v-avatar-height) + 0px)}.v-avatar.v-avatar--density-comfortable{height:calc(var(--v-avatar-height) + -4px);width:calc(var(--v-avatar-height) + -4px)}.v-avatar.v-avatar--density-compact{height:calc(var(--v-avatar-height) + -8px);width:calc(var(--v-avatar-height) + -8px)}.v-avatar{border-color:rgba(var(--v-border-color),var(--v-border-opacity));border-style:solid;border-width:0}.v-avatar--border{border-width:thin;box-shadow:none}.v-avatar{border-radius:50%}.v-avatar--variant-plain,.v-avatar--variant-outlined,.v-avatar--variant-text,.v-avatar--variant-tonal{background:transparent;color:inherit}.v-avatar--variant-plain{opacity:.62}.v-avatar--variant-plain:focus,.v-avatar--variant-plain:hover{opacity:1}.v-avatar--variant-plain .v-avatar__overlay{display:none}.v-avatar--variant-elevated,.v-avatar--variant-flat{background:var(--v-theme-surface);color:rgba(var(--v-theme-on-surface),var(--v-medium-emphasis-opacity))}.v-avatar--variant-elevated{box-shadow:0 2px 1px -1px var(--v-shadow-key-umbra-opacity, rgba(0, 0, 0, .2)),0 1px 1px 0 var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .14)),0 1px 3px 0 var(--v-shadow-key-ambient-opacity, rgba(0, 0, 0, .12))}.v-avatar--variant-flat{box-shadow:0 0 0 0 var(--v-shadow-key-umbra-opacity, rgba(0, 0, 0, .2)),0 0 0 0 var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .14)),0 0 0 0 var(--v-shadow-key-ambient-opacity, rgba(0, 0, 0, .12))}.v-avatar--variant-outlined{border:thin solid currentColor}.v-avatar--variant-text .v-avatar__overlay{background:currentColor}.v-avatar--variant-tonal .v-avatar__underlay{background:currentColor;opacity:var(--v-activated-opacity);border-radius:inherit;top:0;right:0;bottom:0;left:0;pointer-events:none}.v-avatar .v-avatar__underlay{position:absolute}.v-avatar--rounded{border-radius:4px}.v-avatar--start{margin-inline-end:8px}.v-avatar--end{margin-inline-start:8px}.v-avatar .v-img{height:100%;width:100%}.v-img{--v-theme-overlay-multiplier: 3;z-index:0}.v-img.v-img--absolute{height:100%;left:0;overflow:hidden;position:absolute;top:0;width:100%;z-index:-1}.v-img--booting .v-responsive__sizer{transition:none}.v-img--rounded{border-radius:4px}.v-img__img,.v-img__picture,.v-img__gradient,.v-img__placeholder,.v-img__error{z-index:-1}.v-img__img,.v-img__picture,.v-img__gradient,.v-img__placeholder,.v-img__error{position:absolute;top:0;left:0;width:100%;height:100%}.v-img__img--preload{filter:blur(4px)}.v-img__img--contain{object-fit:contain}.v-img__img--cover{object-fit:cover}.v-img__gradient{background-repeat:no-repeat}.v-responsive{display:flex;flex:1 0 auto;max-height:100%;max-width:100%;overflow:hidden;position:relative}.v-responsive--inline{display:inline-flex;flex:0 0 auto}.v-responsive__content{flex:1 0 0px;max-width:100%}.v-responsive__sizer~.v-responsive__content{margin-inline-start:-100%}.v-responsive__sizer{flex:1 0 0px;transition:padding-bottom .2s cubic-bezier(.4,0,.2,1);pointer-events:none}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
/* empty css */import{X as r}from"./VListItem-BiYBTZ39.js";const p=r("v-spacer","div","VSpacer");export{p as V};
|