owntone-server/htdocs/assets/index.js
2023-11-21 16:48:24 +01:00

46 lines
819 KiB
JavaScript
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const s of document.querySelectorAll('link[rel="modulepreload"]'))r(s);new MutationObserver(s=>{for(const o of s)if(o.type==="childList")for(const a of o.addedNodes)a.tagName==="LINK"&&a.rel==="modulepreload"&&r(a)}).observe(document,{childList:!0,subtree:!0});function n(s){const o={};return s.integrity&&(o.integrity=s.integrity),s.referrerPolicy&&(o.referrerPolicy=s.referrerPolicy),s.crossOrigin==="use-credentials"?o.credentials="include":s.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function r(s){if(s.ep)return;s.ep=!0;const o=n(s);fetch(s.href,o)}})();const zh="UPDATE_CONFIG",Ch="UPDATE_SETTINGS",wl="UPDATE_SETTINGS_OPTION",wh="UPDATE_LIBRARY_STATS",kh="UPDATE_LIBRARY_AUDIOBOOKS_COUNT",xh="UPDATE_LIBRARY_PODCASTS_COUNT",Eh="UPDATE_LIBRARY_RSS_COUNT",Sh="UPDATE_OUTPUTS",td="UPDATE_PLAYER_STATUS",$h="UPDATE_QUEUE",Ah="UPDATE_LYRICS",Th="UPDATE_LASTFM",Oh="UPDATE_SPOTIFY",Dh="UPDATE_PAIRING",nd="SPOTIFY_NEW_RELEASES",rd="SPOTIFY_FEATURED_PLAYLISTS",Am="ADD_NOTIFICATION",Xu="DELETE_NOTIFICATION",Qu="SEARCH_SOURCE",sd="ADD_RECENT_SEARCH",Ph="COMPOSER_TRACKS_SORT",Ih="GENRE_TRACKS_SORT",kl="HIDE_SINGLES",od="HIDE_SPOTIFY",Fh="ARTISTS_SORT",Rh="ARTIST_ALBUMS_SORT",Lh="ARTIST_TRACKS_SORT",Mh="ALBUMS_SORT",Nh="SHOW_ONLY_NEXT_ITEMS",Gs="SHOW_BURGER_MENU",Ks="SHOW_PLAYER_MENU",va="SHOW_UPDATE_DIALOG",ad="UPDATE_DIALOG_SCAN_KIND";function xl(e,t){const n=Object.create(null),r=e.split(",");for(let s=0;s<r.length;s++)n[r[s]]=!0;return t?s=>!!n[s.toLowerCase()]:s=>!!n[s]}const lt={},Bs=[],Bn=()=>{},G1=()=>!1,K1=/^on[^a-z]/,ba=e=>K1.test(e),id=e=>e.startsWith("onUpdate:"),pt=Object.assign,ld=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Z1=Object.prototype.hasOwnProperty,Qe=(e,t)=>Z1.call(e,t),be=Array.isArray,Hs=e=>so(e)==="[object Map]",ys=e=>so(e)==="[object Set]",Tm=e=>so(e)==="[object Date]",Y1=e=>so(e)==="[object RegExp]",Ae=e=>typeof e=="function",zt=e=>typeof e=="string",sa=e=>typeof e=="symbol",ut=e=>e!==null&&typeof e=="object",ud=e=>ut(e)&&Ae(e.then)&&Ae(e.catch),Vh=Object.prototype.toString,so=e=>Vh.call(e),J1=e=>so(e).slice(8,-1),Bh=e=>so(e)==="[object Object]",cd=e=>zt(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Vo=xl(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),El=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},X1=/-(\w)/g,sn=El(e=>e.replace(X1,(t,n)=>n?n.toUpperCase():"")),Q1=/\B([A-Z])/g,xn=El(e=>e.replace(Q1,"-$1").toLowerCase()),za=El(e=>e.charAt(0).toUpperCase()+e.slice(1)),Bo=El(e=>e?`on${za(e)}`:""),Zs=(e,t)=>!Object.is(e,t),js=(e,t)=>{for(let n=0;n<e.length;n++)e[n](t)},tl=(e,t,n)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},nl=e=>{const t=parseFloat(e);return isNaN(t)?e:t},rl=e=>{const t=zt(e)?Number(e):NaN;return isNaN(t)?e:t};let Om;const ec=()=>Om||(Om=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{}),eb="Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt,console",tb=xl(eb);function ur(e){if(be(e)){const t={};for(let n=0;n<e.length;n++){const r=e[n],s=zt(r)?ob(r):ur(r);if(s)for(const o in s)t[o]=s[o]}return t}else{if(zt(e))return e;if(ut(e))return e}}const nb=/;(?![^(]*\))/g,rb=/:([^]+)/,sb=/\/\*[^]*?\*\//g;function ob(e){const t={};return e.replace(sb,"").split(nb).forEach(n=>{if(n){const r=n.split(rb);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function ke(e){let t="";if(zt(e))t=e;else if(be(e))for(let n=0;n<e.length;n++){const r=ke(e[n]);r&&(t+=r+" ")}else if(ut(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}function To(e){if(!e)return null;let{class:t,style:n}=e;return t&&!zt(t)&&(e.class=ke(t)),n&&(e.style=ur(n)),e}const ab="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",ib=xl(ab);function Hh(e){return!!e||e===""}function lb(e,t){if(e.length!==t.length)return!1;let n=!0;for(let r=0;n&&r<e.length;r++)n=Ur(e[r],t[r]);return n}function Ur(e,t){if(e===t)return!0;let n=Tm(e),r=Tm(t);if(n||r)return n&&r?e.getTime()===t.getTime():!1;if(n=sa(e),r=sa(t),n||r)return e===t;if(n=be(e),r=be(t),n||r)return n&&r?lb(e,t):!1;if(n=ut(e),r=ut(t),n||r){if(!n||!r)return!1;const s=Object.keys(e).length,o=Object.keys(t).length;if(s!==o)return!1;for(const a in e){const i=e.hasOwnProperty(a),l=t.hasOwnProperty(a);if(i&&!l||!i&&l||!Ur(e[a],t[a]))return!1}}return String(e)===String(t)}function Sl(e,t){return e.findIndex(n=>Ur(n,t))}const g=e=>zt(e)?e:e==null?"":be(e)||ut(e)&&(e.toString===Vh||!Ae(e.toString))?JSON.stringify(e,jh,2):String(e),jh=(e,t)=>t&&t.__v_isRef?jh(e,t.value):Hs(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,s])=>(n[`${r} =>`]=s,n),{})}:ys(t)?{[`Set(${t.size})`]:[...t.values()]}:ut(t)&&!be(t)&&!Bh(t)?String(t):t;let dn;class dd{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=dn,!t&&dn&&(this.index=(dn.scopes||(dn.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=dn;try{return dn=this,t()}finally{dn=n}}}on(){dn=this}off(){dn=this.parent}stop(t){if(this._active){let n,r;for(n=0,r=this.effects.length;n<r;n++)this.effects[n].stop();for(n=0,r=this.cleanups.length;n<r;n++)this.cleanups[n]();if(this.scopes)for(n=0,r=this.scopes.length;n<r;n++)this.scopes[n].stop(!0);if(!this.detached&&this.parent&&!t){const s=this.parent.scopes.pop();s&&s!==this&&(this.parent.scopes[this.index]=s,s.index=this.index)}this.parent=void 0,this._active=!1}}}function md(e){return new dd(e)}function Uh(e,t=dn){t&&t.active&&t.effects.push(e)}function qh(){return dn}function ub(e){dn&&dn.cleanups.push(e)}const fd=e=>{const t=new Set(e);return t.w=0,t.n=0,t},Wh=e=>(e.w&qr)>0,Gh=e=>(e.n&qr)>0,cb=({deps:e})=>{if(e.length)for(let t=0;t<e.length;t++)e[t].w|=qr},db=e=>{const{deps:t}=e;if(t.length){let n=0;for(let r=0;r<t.length;r++){const s=t[r];Wh(s)&&!Gh(s)?s.delete(e):t[n++]=s,s.w&=~qr,s.n&=~qr}t.length=n}},sl=new WeakMap;let Oo=0,qr=1;const tc=30;let Mn;const us=Symbol(""),nc=Symbol("");class Ca{constructor(t,n=null,r){this.fn=t,this.scheduler=n,this.active=!0,this.deps=[],this.parent=void 0,Uh(this,r)}run(){if(!this.active)return this.fn();let t=Mn,n=Hr;for(;t;){if(t===this)return;t=t.parent}try{return this.parent=Mn,Mn=this,Hr=!0,qr=1<<++Oo,Oo<=tc?cb(this):Dm(this),this.fn()}finally{Oo<=tc&&db(this),qr=1<<--Oo,Mn=this.parent,Hr=n,this.parent=void 0,this.deferStop&&this.stop()}}stop(){Mn===this?this.deferStop=!0:this.active&&(Dm(this),this.onStop&&this.onStop(),this.active=!1)}}function Dm(e){const{deps:t}=e;if(t.length){for(let n=0;n<t.length;n++)t[n].delete(e);t.length=0}}function mb(e,t){e.effect&&(e=e.effect.fn);const n=new Ca(e);t&&(pt(n,t),t.scope&&Uh(n,t.scope)),(!t||!t.lazy)&&n.run();const r=n.run.bind(n);return r.effect=n,r}function fb(e){e.effect.stop()}let Hr=!0;const Kh=[];function oo(){Kh.push(Hr),Hr=!1}function ao(){const e=Kh.pop();Hr=e===void 0?!0:e}function on(e,t,n){if(Hr&&Mn){let r=sl.get(e);r||sl.set(e,r=new Map);let s=r.get(n);s||r.set(n,s=fd()),Zh(s)}}function Zh(e,t){let n=!1;Oo<=tc?Gh(e)||(e.n|=qr,n=!Wh(e)):n=!e.has(Mn),n&&(e.add(Mn),Mn.deps.push(e))}function zr(e,t,n,r,s,o){const a=sl.get(e);if(!a)return;let i=[];if(t==="clear")i=[...a.values()];else if(n==="length"&&be(e)){const l=Number(r);a.forEach((c,d)=>{(d==="length"||d>=l)&&i.push(c)})}else switch(n!==void 0&&i.push(a.get(n)),t){case"add":be(e)?cd(n)&&i.push(a.get("length")):(i.push(a.get(us)),Hs(e)&&i.push(a.get(nc)));break;case"delete":be(e)||(i.push(a.get(us)),Hs(e)&&i.push(a.get(nc)));break;case"set":Hs(e)&&i.push(a.get(us));break}if(i.length===1)i[0]&&rc(i[0]);else{const l=[];for(const c of i)c&&l.push(...c);rc(fd(l))}}function rc(e,t){const n=be(e)?e:[...e];for(const r of n)r.computed&&Pm(r);for(const r of n)r.computed||Pm(r)}function Pm(e,t){(e!==Mn||e.allowRecurse)&&(e.scheduler?e.scheduler():e.run())}function pb(e,t){var n;return(n=sl.get(e))==null?void 0:n.get(t)}const hb=xl("__proto__,__v_isRef,__isVue"),Yh=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(sa)),_b=$l(),gb=$l(!1,!0),yb=$l(!0),vb=$l(!0,!0),Im=bb();function bb(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const r=Ze(this);for(let o=0,a=this.length;o<a;o++)on(r,"get",o+"");const s=r[t](...n);return s===-1||s===!1?r[t](...n.map(Ze)):s}}),["push","pop","shift","unshift","splice"].forEach(t=>{e[t]=function(...n){oo();const r=Ze(this)[t].apply(this,n);return ao(),r}}),e}function zb(e){const t=Ze(this);return on(t,"has",e),t.hasOwnProperty(e)}function $l(e=!1,t=!1){return function(r,s,o){if(s==="__v_isReactive")return!e;if(s==="__v_isReadonly")return e;if(s==="__v_isShallow")return t;if(s==="__v_raw"&&o===(e?t?r_:n_:t?t_:e_).get(r))return r;const a=be(r);if(!e){if(a&&Qe(Im,s))return Reflect.get(Im,s,o);if(s==="hasOwnProperty")return zb}const i=Reflect.get(r,s,o);return(sa(s)?Yh.has(s):hb(s))||(e||on(r,"get",s),t)?i:Ot(i)?a&&cd(s)?i:i.value:ut(i)?e?_d(i):io(i):i}}const Cb=Jh(),wb=Jh(!0);function Jh(e=!1){return function(n,r,s,o){let a=n[r];if(hs(a)&&Ot(a)&&!Ot(s))return!1;if(!e&&(!oa(s)&&!hs(s)&&(a=Ze(a),s=Ze(s)),!be(n)&&Ot(a)&&!Ot(s)))return a.value=s,!0;const i=be(n)&&cd(r)?Number(r)<n.length:Qe(n,r),l=Reflect.set(n,r,s,o);return n===Ze(o)&&(i?Zs(s,a)&&zr(n,"set",r,s):zr(n,"add",r,s)),l}}function kb(e,t){const n=Qe(e,t);e[t];const r=Reflect.deleteProperty(e,t);return r&&n&&zr(e,"delete",t,void 0),r}function xb(e,t){const n=Reflect.has(e,t);return(!sa(t)||!Yh.has(t))&&on(e,"has",t),n}function Eb(e){return on(e,"iterate",be(e)?"length":us),Reflect.ownKeys(e)}const Xh={get:_b,set:Cb,deleteProperty:kb,has:xb,ownKeys:Eb},Qh={get:yb,set(e,t){return!0},deleteProperty(e,t){return!0}},Sb=pt({},Xh,{get:gb,set:wb}),$b=pt({},Qh,{get:vb}),pd=e=>e,Al=e=>Reflect.getPrototypeOf(e);function Va(e,t,n=!1,r=!1){e=e.__v_raw;const s=Ze(e),o=Ze(t);n||(t!==o&&on(s,"get",t),on(s,"get",o));const{has:a}=Al(s),i=r?pd:n?vd:aa;if(a.call(s,t))return i(e.get(t));if(a.call(s,o))return i(e.get(o));e!==s&&e.get(t)}function Ba(e,t=!1){const n=this.__v_raw,r=Ze(n),s=Ze(e);return t||(e!==s&&on(r,"has",e),on(r,"has",s)),e===s?n.has(e):n.has(e)||n.has(s)}function Ha(e,t=!1){return e=e.__v_raw,!t&&on(Ze(e),"iterate",us),Reflect.get(e,"size",e)}function Fm(e){e=Ze(e);const t=Ze(this);return Al(t).has.call(t,e)||(t.add(e),zr(t,"add",e,e)),this}function Rm(e,t){t=Ze(t);const n=Ze(this),{has:r,get:s}=Al(n);let o=r.call(n,e);o||(e=Ze(e),o=r.call(n,e));const a=s.call(n,e);return n.set(e,t),o?Zs(t,a)&&zr(n,"set",e,t):zr(n,"add",e,t),this}function Lm(e){const t=Ze(this),{has:n,get:r}=Al(t);let s=n.call(t,e);s||(e=Ze(e),s=n.call(t,e)),r&&r.call(t,e);const o=t.delete(e);return s&&zr(t,"delete",e,void 0),o}function Mm(){const e=Ze(this),t=e.size!==0,n=e.clear();return t&&zr(e,"clear",void 0,void 0),n}function ja(e,t){return function(r,s){const o=this,a=o.__v_raw,i=Ze(a),l=t?pd:e?vd:aa;return!e&&on(i,"iterate",us),a.forEach((c,d)=>r.call(s,l(c),l(d),o))}}function Ua(e,t,n){return function(...r){const s=this.__v_raw,o=Ze(s),a=Hs(o),i=e==="entries"||e===Symbol.iterator&&a,l=e==="keys"&&a,c=s[e](...r),d=n?pd:t?vd:aa;return!t&&on(o,"iterate",l?nc:us),{next(){const{value:f,done:m}=c.next();return m?{value:f,done:m}:{value:i?[d(f[0]),d(f[1])]:d(f),done:m}},[Symbol.iterator](){return this}}}}function xr(e){return function(...t){return e==="delete"?!1:this}}function Ab(){const e={get(o){return Va(this,o)},get size(){return Ha(this)},has:Ba,add:Fm,set:Rm,delete:Lm,clear:Mm,forEach:ja(!1,!1)},t={get(o){return Va(this,o,!1,!0)},get size(){return Ha(this)},has:Ba,add:Fm,set:Rm,delete:Lm,clear:Mm,forEach:ja(!1,!0)},n={get(o){return Va(this,o,!0)},get size(){return Ha(this,!0)},has(o){return Ba.call(this,o,!0)},add:xr("add"),set:xr("set"),delete:xr("delete"),clear:xr("clear"),forEach:ja(!0,!1)},r={get(o){return Va(this,o,!0,!0)},get size(){return Ha(this,!0)},has(o){return Ba.call(this,o,!0)},add:xr("add"),set:xr("set"),delete:xr("delete"),clear:xr("clear"),forEach:ja(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(o=>{e[o]=Ua(o,!1,!1),n[o]=Ua(o,!0,!1),t[o]=Ua(o,!1,!0),r[o]=Ua(o,!0,!0)}),[e,n,t,r]}const[Tb,Ob,Db,Pb]=Ab();function Tl(e,t){const n=t?e?Pb:Db:e?Ob:Tb;return(r,s,o)=>s==="__v_isReactive"?!e:s==="__v_isReadonly"?e:s==="__v_raw"?r:Reflect.get(Qe(n,s)&&s in r?n:r,s,o)}const Ib={get:Tl(!1,!1)},Fb={get:Tl(!1,!0)},Rb={get:Tl(!0,!1)},Lb={get:Tl(!0,!0)},e_=new WeakMap,t_=new WeakMap,n_=new WeakMap,r_=new WeakMap;function Mb(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Nb(e){return e.__v_skip||!Object.isExtensible(e)?0:Mb(J1(e))}function io(e){return hs(e)?e:Ol(e,!1,Xh,Ib,e_)}function hd(e){return Ol(e,!1,Sb,Fb,t_)}function _d(e){return Ol(e,!0,Qh,Rb,n_)}function Vb(e){return Ol(e,!0,$b,Lb,r_)}function Ol(e,t,n,r,s){if(!ut(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const o=s.get(e);if(o)return o;const a=Nb(e);if(a===0)return e;const i=new Proxy(e,a===2?r:n);return s.set(e,i),i}function cs(e){return hs(e)?cs(e.__v_raw):!!(e&&e.__v_isReactive)}function hs(e){return!!(e&&e.__v_isReadonly)}function oa(e){return!!(e&&e.__v_isShallow)}function gd(e){return cs(e)||hs(e)}function Ze(e){const t=e&&e.__v_raw;return t?Ze(t):e}function yd(e){return tl(e,"__v_skip",!0),e}const aa=e=>ut(e)?io(e):e,vd=e=>ut(e)?_d(e):e;function bd(e){Hr&&Mn&&(e=Ze(e),Zh(e.dep||(e.dep=fd())))}function Dl(e,t){e=Ze(e);const n=e.dep;n&&rc(n)}function Ot(e){return!!(e&&e.__v_isRef===!0)}function Wt(e){return o_(e,!1)}function s_(e){return o_(e,!0)}function o_(e,t){return Ot(e)?e:new Bb(e,t)}class Bb{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:Ze(t),this._value=n?t:aa(t)}get value(){return bd(this),this._value}set value(t){const n=this.__v_isShallow||oa(t)||hs(t);t=n?t:Ze(t),Zs(t,this._rawValue)&&(this._rawValue=t,this._value=n?t:aa(t),Dl(this))}}function Hb(e){Dl(e)}function pn(e){return Ot(e)?e.value:e}function jb(e){return Ae(e)?e():pn(e)}const Ub={get:(e,t,n)=>pn(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const s=e[t];return Ot(s)&&!Ot(n)?(s.value=n,!0):Reflect.set(e,t,n,r)}};function zd(e){return cs(e)?e:new Proxy(e,Ub)}class qb{constructor(t){this.dep=void 0,this.__v_isRef=!0;const{get:n,set:r}=t(()=>bd(this),()=>Dl(this));this._get=n,this._set=r}get value(){return this._get()}set value(t){this._set(t)}}function Wb(e){return new qb(e)}function Gb(e){const t=be(e)?new Array(e.length):{};for(const n in e)t[n]=a_(e,n);return t}class Kb{constructor(t,n,r){this._object=t,this._key=n,this._defaultValue=r,this.__v_isRef=!0}get value(){const t=this._object[this._key];return t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}get dep(){return pb(Ze(this._object),this._key)}}class Zb{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0}get value(){return this._getter()}}function Yb(e,t,n){return Ot(e)?e:Ae(e)?new Zb(e):ut(e)&&arguments.length>1?a_(e,t,n):Wt(e)}function a_(e,t,n){const r=e[t];return Ot(r)?r:new Kb(e,t,n)}class Jb{constructor(t,n,r,s){this._setter=n,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this._dirty=!0,this.effect=new Ca(t,()=>{this._dirty||(this._dirty=!0,Dl(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!s,this.__v_isReadonly=r}get value(){const t=Ze(this);return bd(t),(t._dirty||!t._cacheable)&&(t._dirty=!1,t._value=t.effect.run()),t._value}set value(t){this._setter(t)}}function Xb(e,t,n=!1){let r,s;const o=Ae(e);return o?(r=e,s=Bn):(r=e.get,s=e.set),new Jb(r,s,o||!s,n)}function Qb(e,...t){}function ez(e,t){}function yr(e,t,n,r){let s;try{s=r?e(...r):e()}catch(o){vs(o,t,n)}return s}function gn(e,t,n,r){if(Ae(e)){const o=yr(e,t,n,r);return o&&ud(o)&&o.catch(a=>{vs(a,t,n)}),o}const s=[];for(let o=0;o<e.length;o++)s.push(gn(e[o],t,n,r));return s}function vs(e,t,n,r=!0){const s=t?t.vnode:null;if(t){let o=t.parent;const a=t.proxy,i=n;for(;o;){const c=o.ec;if(c){for(let d=0;d<c.length;d++)if(c[d](e,a,i)===!1)return}o=o.parent}const l=t.appContext.config.errorHandler;if(l){yr(l,null,10,[e,a,i]);return}}tz(e,n,s,r)}function tz(e,t,n,r=!0){console.error(e)}let ia=!1,sc=!1;const Vt=[];let Qn=0;const Us=[];let hr=null,as=0;const i_=Promise.resolve();let Cd=null;function wa(e){const t=Cd||i_;return e?t.then(this?e.bind(this):e):t}function nz(e){let t=Qn+1,n=Vt.length;for(;t<n;){const r=t+n>>>1;la(Vt[r])<e?t=r+1:n=r}return t}function Pl(e){(!Vt.length||!Vt.includes(e,ia&&e.allowRecurse?Qn+1:Qn))&&(e.id==null?Vt.push(e):Vt.splice(nz(e.id),0,e),l_())}function l_(){!ia&&!sc&&(sc=!0,Cd=i_.then(u_))}function rz(e){const t=Vt.indexOf(e);t>Qn&&Vt.splice(t,1)}function wd(e){be(e)?Us.push(...e):(!hr||!hr.includes(e,e.allowRecurse?as+1:as))&&Us.push(e),l_()}function Nm(e,t=ia?Qn+1:0){for(;t<Vt.length;t++){const n=Vt[t];n&&n.pre&&(Vt.splice(t,1),t--,n())}}function ol(e){if(Us.length){const t=[...new Set(Us)];if(Us.length=0,hr){hr.push(...t);return}for(hr=t,hr.sort((n,r)=>la(n)-la(r)),as=0;as<hr.length;as++)hr[as]();hr=null,as=0}}const la=e=>e.id==null?1/0:e.id,sz=(e,t)=>{const n=la(e)-la(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function u_(e){sc=!1,ia=!0,Vt.sort(sz);const t=Bn;try{for(Qn=0;Qn<Vt.length;Qn++){const n=Vt[Qn];n&&n.active!==!1&&yr(n,null,14)}}finally{Qn=0,Vt.length=0,ol(),ia=!1,Cd=null,(Vt.length||Us.length)&&u_()}}let Ds,qa=[];function c_(e,t){var n,r;Ds=e,Ds?(Ds.enabled=!0,qa.forEach(({event:s,args:o})=>Ds.emit(s,...o)),qa=[]):typeof window<"u"&&window.HTMLElement&&!((r=(n=window.navigator)==null?void 0:n.userAgent)!=null&&r.includes("jsdom"))?((t.__VUE_DEVTOOLS_HOOK_REPLAY__=t.__VUE_DEVTOOLS_HOOK_REPLAY__||[]).push(o=>{c_(o,t)}),setTimeout(()=>{Ds||(t.__VUE_DEVTOOLS_HOOK_REPLAY__=null,qa=[])},3e3)):qa=[]}function oz(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||lt;let s=n;const o=t.startsWith("update:"),a=o&&t.slice(7);if(a&&a in r){const d=`${a==="modelValue"?"model":a}Modifiers`,{number:f,trim:m}=r[d]||lt;m&&(s=n.map(p=>zt(p)?p.trim():p)),f&&(s=n.map(nl))}let i,l=r[i=Bo(t)]||r[i=Bo(sn(t))];!l&&o&&(l=r[i=Bo(xn(t))]),l&&gn(l,e,6,s);const c=r[i+"Once"];if(c){if(!e.emitted)e.emitted={};else if(e.emitted[i])return;e.emitted[i]=!0,gn(c,e,6,s)}}function d_(e,t,n=!1){const r=t.emitsCache,s=r.get(e);if(s!==void 0)return s;const o=e.emits;let a={},i=!1;if(!Ae(e)){const l=c=>{const d=d_(c,t,!0);d&&(i=!0,pt(a,d))};!n&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return!o&&!i?(ut(e)&&r.set(e,null),null):(be(o)?o.forEach(l=>a[l]=null):pt(a,o),ut(e)&&r.set(e,a),a)}function Il(e,t){return!e||!ba(t)?!1:(t=t.slice(2).replace(/Once$/,""),Qe(e,t[0].toLowerCase()+t.slice(1))||Qe(e,xn(t))||Qe(e,t))}let Rt=null,Fl=null;function ua(e){const t=Rt;return Rt=e,Fl=e&&e.type.__scopeId||null,t}function m_(e){Fl=e}function f_(){Fl=null}const az=e=>E;function E(e,t=Rt,n){if(!t||e._n)return e;const r=(...s)=>{r._d&&dc(-1);const o=ua(t);let a;try{a=e(...s)}finally{ua(o),r._d&&dc(1)}return a};return r._n=!0,r._c=!0,r._d=!0,r}function Hi(e){const{type:t,vnode:n,proxy:r,withProxy:s,props:o,propsOptions:[a],slots:i,attrs:l,emit:c,render:d,renderCache:f,data:m,setupState:p,ctx:h,inheritAttrs:_}=e;let z,v;const b=ua(e);try{if(n.shapeFlag&4){const C=s||r;z=mn(d.call(C,C,f,o,p,m,h)),v=l}else{const C=t;z=mn(C.length>1?C(o,{attrs:l,slots:i,emit:c}):C(o,null)),v=t.props?l:lz(l)}}catch(C){qo.length=0,vs(C,e,1),z=y(jt)}let k=z;if(v&&_!==!1){const C=Object.keys(v),{shapeFlag:x}=k;C.length&&x&7&&(a&&C.some(id)&&(v=uz(v,a)),k=ar(k,v))}return n.dirs&&(k=ar(k),k.dirs=k.dirs?k.dirs.concat(n.dirs):n.dirs),n.transition&&(k.transition=n.transition),z=k,ua(b),z}function iz(e){let t;for(let n=0;n<e.length;n++){const r=e[n];if(Gr(r)){if(r.type!==jt||r.children==="v-if"){if(t)return;t=r}}else return}return t}const lz=e=>{let t;for(const n in e)(n==="class"||n==="style"||ba(n))&&((t||(t={}))[n]=e[n]);return t},uz=(e,t)=>{const n={};for(const r in e)(!id(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function cz(e,t,n){const{props:r,children:s,component:o}=e,{props:a,children:i,patchFlag:l}=t,c=o.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&l>=0){if(l&1024)return!0;if(l&16)return r?Vm(r,a,c):!!a;if(l&8){const d=t.dynamicProps;for(let f=0;f<d.length;f++){const m=d[f];if(a[m]!==r[m]&&!Il(c,m))return!0}}}else return(s||i)&&(!i||!i.$stable)?!0:r===a?!1:r?a?Vm(r,a,c):!0:!!a;return!1}function Vm(e,t,n){const r=Object.keys(t);if(r.length!==Object.keys(e).length)return!0;for(let s=0;s<r.length;s++){const o=r[s];if(t[o]!==e[o]&&!Il(n,o))return!0}return!1}function kd({vnode:e,parent:t},n){for(;t&&t.subTree===e;)(e=t.vnode).el=n,t=t.parent}const p_=e=>e.__isSuspense,dz={name:"Suspense",__isSuspense:!0,process(e,t,n,r,s,o,a,i,l,c){e==null?fz(t,n,r,s,o,a,i,l,c):pz(e,t,n,r,s,a,i,l,c)},hydrate:hz,create:xd,normalize:_z},mz=dz;function ca(e,t){const n=e.props&&e.props[t];Ae(n)&&n()}function fz(e,t,n,r,s,o,a,i,l){const{p:c,o:{createElement:d}}=l,f=d("div"),m=e.suspense=xd(e,s,r,t,f,n,o,a,i,l);c(null,m.pendingBranch=e.ssContent,f,null,r,m,o,a),m.deps>0?(ca(e,"onPending"),ca(e,"onFallback"),c(null,e.ssFallback,t,n,r,null,o,a),qs(m,e.ssFallback)):m.resolve(!1,!0)}function pz(e,t,n,r,s,o,a,i,{p:l,um:c,o:{createElement:d}}){const f=t.suspense=e.suspense;f.vnode=t,t.el=e.el;const m=t.ssContent,p=t.ssFallback,{activeBranch:h,pendingBranch:_,isInFallback:z,isHydrating:v}=f;if(_)f.pendingBranch=m,Nn(m,_)?(l(_,m,f.hiddenContainer,null,s,f,o,a,i),f.deps<=0?f.resolve():z&&(l(h,p,n,r,s,null,o,a,i),qs(f,p))):(f.pendingId++,v?(f.isHydrating=!1,f.activeBranch=_):c(_,s,f),f.deps=0,f.effects.length=0,f.hiddenContainer=d("div"),z?(l(null,m,f.hiddenContainer,null,s,f,o,a,i),f.deps<=0?f.resolve():(l(h,p,n,r,s,null,o,a,i),qs(f,p))):h&&Nn(m,h)?(l(h,m,n,r,s,f,o,a,i),f.resolve(!0)):(l(null,m,f.hiddenContainer,null,s,f,o,a,i),f.deps<=0&&f.resolve()));else if(h&&Nn(m,h))l(h,m,n,r,s,f,o,a,i),qs(f,m);else if(ca(t,"onPending"),f.pendingBranch=m,f.pendingId++,l(null,m,f.hiddenContainer,null,s,f,o,a,i),f.deps<=0)f.resolve();else{const{timeout:b,pendingId:k}=f;b>0?setTimeout(()=>{f.pendingId===k&&f.fallback(p)},b):b===0&&f.fallback(p)}}function xd(e,t,n,r,s,o,a,i,l,c,d=!1){const{p:f,m,um:p,n:h,o:{parentNode:_,remove:z}}=c;let v;const b=gz(e);b&&t!=null&&t.pendingBranch&&(v=t.pendingId,t.deps++);const k=e.props?rl(e.props.timeout):void 0,C={vnode:e,parent:t,parentComponent:n,isSVG:a,container:r,hiddenContainer:s,anchor:o,deps:0,pendingId:0,timeout:typeof k=="number"?k:-1,activeBranch:null,pendingBranch:null,isInFallback:!0,isHydrating:d,isUnmounted:!1,effects:[],resolve(x=!1,T=!1){const{vnode:N,activeBranch:D,pendingBranch:I,pendingId:j,effects:K,parentComponent:J,container:U}=C;if(C.isHydrating)C.isHydrating=!1;else if(!x){const ee=D&&I.transition&&I.transition.mode==="out-in";ee&&(D.transition.afterLeave=()=>{j===C.pendingId&&m(I,U,se,0)});let{anchor:se}=C;D&&(se=h(D),p(D,J,C,!0)),ee||m(I,U,se,0)}qs(C,I),C.pendingBranch=null,C.isInFallback=!1;let H=C.parent,he=!1;for(;H;){if(H.pendingBranch){H.effects.push(...K),he=!0;break}H=H.parent}he||wd(K),C.effects=[],b&&t&&t.pendingBranch&&v===t.pendingId&&(t.deps--,t.deps===0&&!T&&t.resolve()),ca(N,"onResolve")},fallback(x){if(!C.pendingBranch)return;const{vnode:T,activeBranch:N,parentComponent:D,container:I,isSVG:j}=C;ca(T,"onFallback");const K=h(N),J=()=>{C.isInFallback&&(f(null,x,I,K,D,null,j,i,l),qs(C,x))},U=x.transition&&x.transition.mode==="out-in";U&&(N.transition.afterLeave=J),C.isInFallback=!0,p(N,D,null,!0),U||J()},move(x,T,N){C.activeBranch&&m(C.activeBranch,x,T,N),C.container=x},next(){return C.activeBranch&&h(C.activeBranch)},registerDep(x,T){const N=!!C.pendingBranch;N&&C.deps++;const D=x.vnode.el;x.asyncDep.catch(I=>{vs(I,x,0)}).then(I=>{if(x.isUnmounted||C.isUnmounted||C.pendingId!==x.suspenseId)return;x.asyncResolved=!0;const{vnode:j}=x;mc(x,I,!1),D&&(j.el=D);const K=!D&&x.subTree.el;T(x,j,_(D||x.subTree.el),D?null:h(x.subTree),C,a,l),K&&z(K),kd(x,j.el),N&&--C.deps===0&&C.resolve()})},unmount(x,T){C.isUnmounted=!0,C.activeBranch&&p(C.activeBranch,n,x,T),C.pendingBranch&&p(C.pendingBranch,n,x,T)}};return C}function hz(e,t,n,r,s,o,a,i,l){const c=t.suspense=xd(t,r,n,e.parentNode,document.createElement("div"),null,s,o,a,i,!0),d=l(e,c.pendingBranch=t.ssContent,n,c,o,a);return c.deps===0&&c.resolve(!1,!0),d}function _z(e){const{shapeFlag:t,children:n}=e,r=t&32;e.ssContent=Bm(r?n.default:n),e.ssFallback=r?Bm(n.fallback):y(jt)}function Bm(e){let t;if(Ae(e)){const n=gs&&e._c;n&&(e._d=!1,w()),e=e(),n&&(e._d=!0,t=nn,q_())}return be(e)&&(e=iz(e)),e=mn(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter(n=>n!==e)),e}function h_(e,t){t&&t.pendingBranch?be(e)?t.effects.push(...e):t.effects.push(e):wd(e)}function qs(e,t){e.activeBranch=t;const{vnode:n,parentComponent:r}=e,s=n.el=t.el;r&&r.subTree===n&&(r.vnode.el=s,kd(r,s))}function gz(e){var t;return((t=e.props)==null?void 0:t.suspensible)!=null&&e.props.suspensible!==!1}function __(e,t){return ka(e,null,t)}function g_(e,t){return ka(e,null,{flush:"post"})}function yz(e,t){return ka(e,null,{flush:"sync"})}const Wa={};function Zt(e,t,n){return ka(e,t,n)}function ka(e,t,{immediate:n,deep:r,flush:s,onTrack:o,onTrigger:a}=lt){var i;const l=qh()===((i=Tt)==null?void 0:i.scope)?Tt:null;let c,d=!1,f=!1;if(Ot(e)?(c=()=>e.value,d=oa(e)):cs(e)?(c=()=>e,r=!0):be(e)?(f=!0,d=e.some(C=>cs(C)||oa(C)),c=()=>e.map(C=>{if(Ot(C))return C.value;if(cs(C))return ls(C);if(Ae(C))return yr(C,l,2)})):Ae(e)?t?c=()=>yr(e,l,2):c=()=>{if(!(l&&l.isUnmounted))return m&&m(),gn(e,l,3,[p])}:c=Bn,t&&r){const C=c;c=()=>ls(C())}let m,p=C=>{m=b.onStop=()=>{yr(C,l,4)}},h;if(Js)if(p=Bn,t?n&&gn(t,l,3,[c(),f?[]:void 0,p]):c(),s==="sync"){const C=tg();h=C.__watcherHandles||(C.__watcherHandles=[])}else return Bn;let _=f?new Array(e.length).fill(Wa):Wa;const z=()=>{if(b.active)if(t){const C=b.run();(r||d||(f?C.some((x,T)=>Zs(x,_[T])):Zs(C,_)))&&(m&&m(),gn(t,l,3,[C,_===Wa?void 0:f&&_[0]===Wa?[]:_,p]),_=C)}else b.run()};z.allowRecurse=!!t;let v;s==="sync"?v=z:s==="post"?v=()=>Mt(z,l&&l.suspense):(z.pre=!0,l&&(z.id=l.uid),v=()=>Pl(z));const b=new Ca(c,v);t?n?z():_=b.run():s==="post"?Mt(b.run.bind(b),l&&l.suspense):b.run();const k=()=>{b.stop(),l&&l.scope&&ld(l.scope.effects,b)};return h&&h.push(k),k}function vz(e,t,n){const r=this.proxy,s=zt(e)?e.includes(".")?y_(r,e):()=>r[e]:e.bind(r,r);let o;Ae(t)?o=t:(o=t.handler,n=t);const a=Tt;Kr(this);const i=ka(s,o.bind(r),n);return a?Kr(a):jr(),i}function y_(e,t){const n=t.split(".");return()=>{let r=e;for(let s=0;s<n.length&&r;s++)r=r[n[s]];return r}}function ls(e,t){if(!ut(e)||e.__v_skip||(t=t||new Set,t.has(e)))return e;if(t.add(e),Ot(e))ls(e.value,t);else if(be(e))for(let n=0;n<e.length;n++)ls(e[n],t);else if(ys(e)||Hs(e))e.forEach(n=>{ls(n,t)});else if(Bh(e))for(const n in e)ls(e[n],t);return e}function bt(e,t){const n=Rt;if(n===null)return e;const r=Bl(n)||n.proxy,s=e.dirs||(e.dirs=[]);for(let o=0;o<t.length;o++){let[a,i,l,c=lt]=t[o];a&&(Ae(a)&&(a={mounted:a,updated:a}),a.deep&&ls(i),s.push({dir:a,instance:r,value:i,oldValue:void 0,arg:l,modifiers:c}))}return e}function Yn(e,t,n,r){const s=e.dirs,o=t&&t.dirs;for(let a=0;a<s.length;a++){const i=s[a];o&&(i.oldValue=o[a].value);let l=i.dir[r];l&&(oo(),gn(l,n,8,[e.el,i,e,t]),ao())}}function Ed(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return uo(()=>{e.isMounted=!0}),Nl(()=>{e.isUnmounting=!0}),e}const zn=[Function,Array],Sd={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:zn,onEnter:zn,onAfterEnter:zn,onEnterCancelled:zn,onBeforeLeave:zn,onLeave:zn,onAfterLeave:zn,onLeaveCancelled:zn,onBeforeAppear:zn,onAppear:zn,onAfterAppear:zn,onAppearCancelled:zn},bz={name:"BaseTransition",props:Sd,setup(e,{slots:t}){const n=Tn(),r=Ed();let s;return()=>{const o=t.default&&Rl(t.default(),!0);if(!o||!o.length)return;let a=o[0];if(o.length>1){for(const _ of o)if(_.type!==jt){a=_;break}}const i=Ze(e),{mode:l}=i;if(r.isLeaving)return mu(a);const c=Hm(a);if(!c)return mu(a);const d=Ys(c,i,r,n);_s(c,d);const f=n.subTree,m=f&&Hm(f);let p=!1;const{getTransitionKey:h}=c.type;if(h){const _=h();s===void 0?s=_:_!==s&&(s=_,p=!0)}if(m&&m.type!==jt&&(!Nn(c,m)||p)){const _=Ys(m,i,r,n);if(_s(m,_),l==="out-in")return r.isLeaving=!0,_.afterLeave=()=>{r.isLeaving=!1,n.update.active!==!1&&n.update()},mu(a);l==="in-out"&&c.type!==jt&&(_.delayLeave=(z,v,b)=>{const k=b_(r,m);k[String(m.key)]=m,z._leaveCb=()=>{v(),z._leaveCb=void 0,delete d.delayedLeave},d.delayedLeave=b})}return a}}},v_=bz;function b_(e,t){const{leavingVNodes:n}=e;let r=n.get(t.type);return r||(r=Object.create(null),n.set(t.type,r)),r}function Ys(e,t,n,r){const{appear:s,mode:o,persisted:a=!1,onBeforeEnter:i,onEnter:l,onAfterEnter:c,onEnterCancelled:d,onBeforeLeave:f,onLeave:m,onAfterLeave:p,onLeaveCancelled:h,onBeforeAppear:_,onAppear:z,onAfterAppear:v,onAppearCancelled:b}=t,k=String(e.key),C=b_(n,e),x=(D,I)=>{D&&gn(D,r,9,I)},T=(D,I)=>{const j=I[1];x(D,I),be(D)?D.every(K=>K.length<=1)&&j():D.length<=1&&j()},N={mode:o,persisted:a,beforeEnter(D){let I=i;if(!n.isMounted)if(s)I=_||i;else return;D._leaveCb&&D._leaveCb(!0);const j=C[k];j&&Nn(e,j)&&j.el._leaveCb&&j.el._leaveCb(),x(I,[D])},enter(D){let I=l,j=c,K=d;if(!n.isMounted)if(s)I=z||l,j=v||c,K=b||d;else return;let J=!1;const U=D._enterCb=H=>{J||(J=!0,H?x(K,[D]):x(j,[D]),N.delayedLeave&&N.delayedLeave(),D._enterCb=void 0)};I?T(I,[D,U]):U()},leave(D,I){const j=String(e.key);if(D._enterCb&&D._enterCb(!0),n.isUnmounting)return I();x(f,[D]);let K=!1;const J=D._leaveCb=U=>{K||(K=!0,I(),U?x(h,[D]):x(p,[D]),D._leaveCb=void 0,C[j]===e&&delete C[j])};C[j]=e,m?T(m,[D,J]):J()},clone(D){return Ys(D,t,n,r)}};return N}function mu(e){if(xa(e))return e=ar(e),e.children=null,e}function Hm(e){return xa(e)?e.children?e.children[0]:void 0:e}function _s(e,t){e.shapeFlag&6&&e.component?_s(e.component.subTree,t):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function Rl(e,t=!1,n){let r=[],s=0;for(let o=0;o<e.length;o++){let a=e[o];const i=n==null?a.key:String(n)+String(a.key!=null?a.key:o);a.type===Ce?(a.patchFlag&128&&s++,r=r.concat(Rl(a.children,t,i))):(t||a.type!==jt)&&r.push(i!=null?ar(a,{key:i}):a)}if(s>1)for(let o=0;o<r.length;o++)r[o].patchFlag=-2;return r}function lo(e,t){return Ae(e)?(()=>pt({name:e.name},t,{setup:e}))():e}const ds=e=>!!e.type.__asyncLoader;function zz(e){Ae(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:r,delay:s=200,timeout:o,suspensible:a=!0,onError:i}=e;let l=null,c,d=0;const f=()=>(d++,l=null,m()),m=()=>{let p;return l||(p=l=t().catch(h=>{if(h=h instanceof Error?h:new Error(String(h)),i)return new Promise((_,z)=>{i(h,()=>_(f()),()=>z(h),d+1)});throw h}).then(h=>p!==l&&l?l:(h&&(h.__esModule||h[Symbol.toStringTag]==="Module")&&(h=h.default),c=h,h)))};return lo({name:"AsyncComponentWrapper",__asyncLoader:m,get __asyncResolved(){return c},setup(){const p=Tt;if(c)return()=>fu(c,p);const h=b=>{l=null,vs(b,p,13,!r)};if(a&&p.suspense||Js)return m().then(b=>()=>fu(b,p)).catch(b=>(h(b),()=>r?y(r,{error:b}):null));const _=Wt(!1),z=Wt(),v=Wt(!!s);return s&&setTimeout(()=>{v.value=!1},s),o!=null&&setTimeout(()=>{if(!_.value&&!z.value){const b=new Error(`Async component timed out after ${o}ms.`);h(b),z.value=b}},o),m().then(()=>{_.value=!0,p.parent&&xa(p.parent.vnode)&&Pl(p.parent.update)}).catch(b=>{h(b),z.value=b}),()=>{if(_.value&&c)return fu(c,p);if(z.value&&r)return y(r,{error:z.value});if(n&&!v.value)return y(n)}}})}function fu(e,t){const{ref:n,props:r,children:s,ce:o}=t.vnode,a=y(e,r,s);return a.ref=n,a.ce=o,delete t.vnode.ce,a}const xa=e=>e.type.__isKeepAlive,Cz={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){const n=Tn(),r=n.ctx;if(!r.renderer)return()=>{const b=t.default&&t.default();return b&&b.length===1?b[0]:b};const s=new Map,o=new Set;let a=null;const i=n.suspense,{renderer:{p:l,m:c,um:d,o:{createElement:f}}}=r,m=f("div");r.activate=(b,k,C,x,T)=>{const N=b.component;c(b,k,C,0,i),l(N.vnode,b,k,C,N,i,x,b.slotScopeIds,T),Mt(()=>{N.isDeactivated=!1,N.a&&js(N.a);const D=b.props&&b.props.onVnodeMounted;D&&en(D,N.parent,b)},i)},r.deactivate=b=>{const k=b.component;c(b,m,null,1,i),Mt(()=>{k.da&&js(k.da);const C=b.props&&b.props.onVnodeUnmounted;C&&en(C,k.parent,b),k.isDeactivated=!0},i)};function p(b){pu(b),d(b,n,i,!0)}function h(b){s.forEach((k,C)=>{const x=pc(k.type);x&&(!b||!b(x))&&_(C)})}function _(b){const k=s.get(b);!a||!Nn(k,a)?p(k):a&&pu(a),s.delete(b),o.delete(b)}Zt(()=>[e.include,e.exclude],([b,k])=>{b&&h(C=>Do(b,C)),k&&h(C=>!Do(k,C))},{flush:"post",deep:!0});let z=null;const v=()=>{z!=null&&s.set(z,hu(n.subTree))};return uo(v),Ml(v),Nl(()=>{s.forEach(b=>{const{subTree:k,suspense:C}=n,x=hu(k);if(b.type===x.type&&b.key===x.key){pu(x);const T=x.component.da;T&&Mt(T,C);return}p(b)})}),()=>{if(z=null,!t.default)return null;const b=t.default(),k=b[0];if(b.length>1)return a=null,b;if(!Gr(k)||!(k.shapeFlag&4)&&!(k.shapeFlag&128))return a=null,k;let C=hu(k);const x=C.type,T=pc(ds(C)?C.type.__asyncResolved||{}:x),{include:N,exclude:D,max:I}=e;if(N&&(!T||!Do(N,T))||D&&T&&Do(D,T))return a=C,k;const j=C.key==null?x:C.key,K=s.get(j);return C.el&&(C=ar(C),k.shapeFlag&128&&(k.ssContent=C)),z=j,K?(C.el=K.el,C.component=K.component,C.transition&&_s(C,C.transition),C.shapeFlag|=512,o.delete(j),o.add(j)):(o.add(j),I&&o.size>parseInt(I,10)&&_(o.values().next().value)),C.shapeFlag|=256,a=C,p_(k.type)?k:C}}},wz=Cz;function Do(e,t){return be(e)?e.some(n=>Do(n,t)):zt(e)?e.split(",").includes(t):Y1(e)?e.test(t):!1}function z_(e,t){w_(e,"a",t)}function C_(e,t){w_(e,"da",t)}function w_(e,t,n=Tt){const r=e.__wdc||(e.__wdc=()=>{let s=n;for(;s;){if(s.isDeactivated)return;s=s.parent}return e()});if(Ll(t,r,n),n){let s=n.parent;for(;s&&s.parent;)xa(s.parent.vnode)&&kz(r,t,n,s),s=s.parent}}function kz(e,t,n,r){const s=Ll(t,e,r,!0);Ea(()=>{ld(r[t],s)},n)}function pu(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function hu(e){return e.shapeFlag&128?e.ssContent:e}function Ll(e,t,n=Tt,r=!1){if(n){const s=n[e]||(n[e]=[]),o=t.__weh||(t.__weh=(...a)=>{if(n.isUnmounted)return;oo(),Kr(n);const i=gn(t,n,e,a);return jr(),ao(),i});return r?s.unshift(o):s.push(o),o}}const wr=e=>(t,n=Tt)=>(!Js||e==="sp")&&Ll(e,(...r)=>t(...r),n),k_=wr("bm"),uo=wr("m"),x_=wr("bu"),Ml=wr("u"),Nl=wr("bum"),Ea=wr("um"),E_=wr("sp"),S_=wr("rtg"),$_=wr("rtc");function A_(e,t=Tt){Ll("ec",e,t)}const $d="components",xz="directives";function S(e,t){return Td($d,e,!0,t)||e}const T_=Symbol.for("v-ndc");function O_(e){return zt(e)?Td($d,e,!1)||e:e||T_}function Ad(e){return Td(xz,e)}function Td(e,t,n=!0,r=!1){const s=Rt||Tt;if(s){const o=s.type;if(e===$d){const i=pc(o,!1);if(i&&(i===t||i===sn(t)||i===za(sn(t))))return o}const a=jm(s[e]||o[e],t)||jm(s.appContext[e],t);return!a&&r?o:a}}function jm(e,t){return e&&(e[t]||e[sn(t)]||e[za(sn(t))])}function at(e,t,n,r){let s;const o=n&&n[r];if(be(e)||zt(e)){s=new Array(e.length);for(let a=0,i=e.length;a<i;a++)s[a]=t(e[a],a,void 0,o&&o[a])}else if(typeof e=="number"){s=new Array(e);for(let a=0;a<e;a++)s[a]=t(a+1,a,void 0,o&&o[a])}else if(ut(e))if(e[Symbol.iterator])s=Array.from(e,(a,i)=>t(a,i,void 0,o&&o[i]));else{const a=Object.keys(e);s=new Array(a.length);for(let i=0,l=a.length;i<l;i++){const c=a[i];s[i]=t(e[c],c,i,o&&o[i])}}else s=[];return n&&(n[r]=s),s}function Sa(e,t){for(let n=0;n<t.length;n++){const r=t[n];if(be(r))for(let s=0;s<r.length;s++)e[r[s].name]=r[s].fn;else r&&(e[r.name]=r.key?(...s)=>{const o=r.fn(...s);return o&&(o.key=r.key),o}:r.fn)}return e}function st(e,t,n={},r,s){if(Rt.isCE||Rt.parent&&ds(Rt.parent)&&Rt.parent.isCE)return t!=="default"&&(n.name=t),y("slot",n,r&&r());let o=e[t];o&&o._c&&(o._d=!1),w();const a=o&&D_(o(n)),i=ce(Ce,{key:n.key||a&&a.key||`_${t}`},a||(r?r():[]),a&&e._===1?64:-2);return!s&&i.scopeId&&(i.slotScopeIds=[i.scopeId+"-s"]),o&&o._c&&(o._d=!0),i}function D_(e){return e.some(t=>Gr(t)?!(t.type===jt||t.type===Ce&&!D_(t.children)):!0)?e:null}function Ez(e,t){const n={};for(const r in e)n[t&&/[A-Z]/.test(r)?`on:${r}`:Bo(r)]=e[r];return n}const oc=e=>e?Y_(e)?Bl(e)||e.proxy:oc(e.parent):null,Ho=pt(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>oc(e.parent),$root:e=>oc(e.root),$emit:e=>e.emit,$options:e=>Od(e),$forceUpdate:e=>e.f||(e.f=()=>Pl(e.update)),$nextTick:e=>e.n||(e.n=wa.bind(e.proxy)),$watch:e=>vz.bind(e)}),_u=(e,t)=>e!==lt&&!e.__isScriptSetup&&Qe(e,t),ac={get({_:e},t){const{ctx:n,setupState:r,data:s,props:o,accessCache:a,type:i,appContext:l}=e;let c;if(t[0]!=="$"){const p=a[t];if(p!==void 0)switch(p){case 1:return r[t];case 2:return s[t];case 4:return n[t];case 3:return o[t]}else{if(_u(r,t))return a[t]=1,r[t];if(s!==lt&&Qe(s,t))return a[t]=2,s[t];if((c=e.propsOptions[0])&&Qe(c,t))return a[t]=3,o[t];if(n!==lt&&Qe(n,t))return a[t]=4,n[t];ic&&(a[t]=0)}}const d=Ho[t];let f,m;if(d)return t==="$attrs"&&on(e,"get",t),d(e);if((f=i.__cssModules)&&(f=f[t]))return f;if(n!==lt&&Qe(n,t))return a[t]=4,n[t];if(m=l.config.globalProperties,Qe(m,t))return m[t]},set({_:e},t,n){const{data:r,setupState:s,ctx:o}=e;return _u(s,t)?(s[t]=n,!0):r!==lt&&Qe(r,t)?(r[t]=n,!0):Qe(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(o[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:s,propsOptions:o}},a){let i;return!!n[a]||e!==lt&&Qe(e,a)||_u(t,a)||(i=o[0])&&Qe(i,a)||Qe(r,a)||Qe(Ho,a)||Qe(s.config.globalProperties,a)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:Qe(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}},Sz=pt({},ac,{get(e,t){if(t!==Symbol.unscopables)return ac.get(e,t,e)},has(e,t){return t[0]!=="_"&&!tb(t)}});function $z(){return null}function Az(){return null}function Tz(e){}function Oz(e){}function Dz(){return null}function Pz(){}function Iz(e,t){return null}function Fz(){return P_().slots}function Rz(){return P_().attrs}function Lz(e,t,n){const r=Tn();if(n&&n.local){const s=Wt(e[t]);return Zt(()=>e[t],o=>s.value=o),Zt(s,o=>{o!==e[t]&&r.emit(`update:${t}`,o)}),s}else return{__v_isRef:!0,get value(){return e[t]},set value(s){r.emit(`update:${t}`,s)}}}function P_(){const e=Tn();return e.setupContext||(e.setupContext=Q_(e))}function da(e){return be(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}function Mz(e,t){const n=da(e);for(const r in t){if(r.startsWith("__skip"))continue;let s=n[r];s?be(s)||Ae(s)?s=n[r]={type:s,default:t[r]}:s.default=t[r]:s===null&&(s=n[r]={default:t[r]}),s&&t[`__skip_${r}`]&&(s.skipFactory=!0)}return n}function Nz(e,t){return!e||!t?e||t:be(e)&&be(t)?e.concat(t):pt({},da(e),da(t))}function Vz(e,t){const n={};for(const r in e)t.includes(r)||Object.defineProperty(n,r,{enumerable:!0,get:()=>e[r]});return n}function Bz(e){const t=Tn();let n=e();return jr(),ud(n)&&(n=n.catch(r=>{throw Kr(t),r})),[n,()=>Kr(t)]}let ic=!0;function Hz(e){const t=Od(e),n=e.proxy,r=e.ctx;ic=!1,t.beforeCreate&&Um(t.beforeCreate,e,"bc");const{data:s,computed:o,methods:a,watch:i,provide:l,inject:c,created:d,beforeMount:f,mounted:m,beforeUpdate:p,updated:h,activated:_,deactivated:z,beforeDestroy:v,beforeUnmount:b,destroyed:k,unmounted:C,render:x,renderTracked:T,renderTriggered:N,errorCaptured:D,serverPrefetch:I,expose:j,inheritAttrs:K,components:J,directives:U,filters:H}=t;if(c&&jz(c,r,null),a)for(const se in a){const ye=a[se];Ae(ye)&&(r[se]=ye.bind(n))}if(s){const se=s.call(n,n);ut(se)&&(e.data=io(se))}if(ic=!0,o)for(const se in o){const ye=o[se],qe=Ae(ye)?ye.bind(n,n):Ae(ye.get)?ye.get.bind(n,n):Bn,it=!Ae(ye)&&Ae(ye.set)?ye.set.bind(n):Bn,Ge=Ft({get:qe,set:it});Object.defineProperty(r,se,{enumerable:!0,configurable:!0,get:()=>Ge.value,set:Be=>Ge.value=Be})}if(i)for(const se in i)I_(i[se],r,n,se);if(l){const se=Ae(l)?l.call(n):l;Reflect.ownKeys(se).forEach(ye=>{jo(ye,se[ye])})}d&&Um(d,e,"c");function ee(se,ye){be(ye)?ye.forEach(qe=>se(qe.bind(n))):ye&&se(ye.bind(n))}if(ee(k_,f),ee(uo,m),ee(x_,p),ee(Ml,h),ee(z_,_),ee(C_,z),ee(A_,D),ee($_,T),ee(S_,N),ee(Nl,b),ee(Ea,C),ee(E_,I),be(j))if(j.length){const se=e.exposed||(e.exposed={});j.forEach(ye=>{Object.defineProperty(se,ye,{get:()=>n[ye],set:qe=>n[ye]=qe})})}else e.exposed||(e.exposed={});x&&e.render===Bn&&(e.render=x),K!=null&&(e.inheritAttrs=K),J&&(e.components=J),U&&(e.directives=U)}function jz(e,t,n=Bn){be(e)&&(e=lc(e));for(const r in e){const s=e[r];let o;ut(s)?"default"in s?o=Hn(s.from||r,s.default,!0):o=Hn(s.from||r):o=Hn(s),Ot(o)?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>o.value,set:a=>o.value=a}):t[r]=o}}function Um(e,t,n){gn(be(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function I_(e,t,n,r){const s=r.includes(".")?y_(n,r):()=>n[r];if(zt(e)){const o=t[e];Ae(o)&&Zt(s,o)}else if(Ae(e))Zt(s,e.bind(n));else if(ut(e))if(be(e))e.forEach(o=>I_(o,t,n,r));else{const o=Ae(e.handler)?e.handler.bind(n):t[e.handler];Ae(o)&&Zt(s,o,e)}}function Od(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:s,optionsCache:o,config:{optionMergeStrategies:a}}=e.appContext,i=o.get(t);let l;return i?l=i:!s.length&&!n&&!r?l=t:(l={},s.length&&s.forEach(c=>al(l,c,a,!0)),al(l,t,a)),ut(t)&&o.set(t,l),l}function al(e,t,n,r=!1){const{mixins:s,extends:o}=t;o&&al(e,o,n,!0),s&&s.forEach(a=>al(e,a,n,!0));for(const a in t)if(!(r&&a==="expose")){const i=Uz[a]||n&&n[a];e[a]=i?i(e[a],t[a]):t[a]}return e}const Uz={data:qm,props:Wm,emits:Wm,methods:Po,computed:Po,beforeCreate:Ut,created:Ut,beforeMount:Ut,mounted:Ut,beforeUpdate:Ut,updated:Ut,beforeDestroy:Ut,beforeUnmount:Ut,destroyed:Ut,unmounted:Ut,activated:Ut,deactivated:Ut,errorCaptured:Ut,serverPrefetch:Ut,components:Po,directives:Po,watch:Wz,provide:qm,inject:qz};function qm(e,t){return t?e?function(){return pt(Ae(e)?e.call(this,this):e,Ae(t)?t.call(this,this):t)}:t:e}function qz(e,t){return Po(lc(e),lc(t))}function lc(e){if(be(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function Ut(e,t){return e?[...new Set([].concat(e,t))]:t}function Po(e,t){return e?pt(Object.create(null),e,t):t}function Wm(e,t){return e?be(e)&&be(t)?[...new Set([...e,...t])]:pt(Object.create(null),da(e),da(t??{})):t}function Wz(e,t){if(!e)return t;if(!t)return e;const n=pt(Object.create(null),e);for(const r in t)n[r]=Ut(e[r],t[r]);return n}function F_(){return{app:null,config:{isNativeTag:G1,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let Gz=0;function Kz(e,t){return function(r,s=null){Ae(r)||(r=pt({},r)),s!=null&&!ut(s)&&(s=null);const o=F_(),a=new Set;let i=!1;const l=o.app={_uid:Gz++,_component:r,_props:s,_container:null,_context:o,_instance:null,version:rg,get config(){return o.config},set config(c){},use(c,...d){return a.has(c)||(c&&Ae(c.install)?(a.add(c),c.install(l,...d)):Ae(c)&&(a.add(c),c(l,...d))),l},mixin(c){return o.mixins.includes(c)||o.mixins.push(c),l},component(c,d){return d?(o.components[c]=d,l):o.components[c]},directive(c,d){return d?(o.directives[c]=d,l):o.directives[c]},mount(c,d,f){if(!i){const m=y(r,s);return m.appContext=o,d&&t?t(m,c):e(m,c,f),i=!0,l._container=c,c.__vue_app__=l,Bl(m.component)||m.component.proxy}},unmount(){i&&(e(null,l._container),delete l._container.__vue_app__)},provide(c,d){return o.provides[c]=d,l},runWithContext(c){ma=l;try{return c()}finally{ma=null}}};return l}}let ma=null;function jo(e,t){if(Tt){let n=Tt.provides;const r=Tt.parent&&Tt.parent.provides;r===n&&(n=Tt.provides=Object.create(r)),n[e]=t}}function Hn(e,t,n=!1){const r=Tt||Rt;if(r||ma){const s=r?r.parent==null?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides:ma._context.provides;if(s&&e in s)return s[e];if(arguments.length>1)return n&&Ae(t)?t.call(r&&r.proxy):t}}function Zz(){return!!(Tt||Rt||ma)}function Yz(e,t,n,r=!1){const s={},o={};tl(o,Vl,1),e.propsDefaults=Object.create(null),R_(e,t,s,o);for(const a in e.propsOptions[0])a in s||(s[a]=void 0);n?e.props=r?s:hd(s):e.type.props?e.props=s:e.props=o,e.attrs=o}function Jz(e,t,n,r){const{props:s,attrs:o,vnode:{patchFlag:a}}=e,i=Ze(s),[l]=e.propsOptions;let c=!1;if((r||a>0)&&!(a&16)){if(a&8){const d=e.vnode.dynamicProps;for(let f=0;f<d.length;f++){let m=d[f];if(Il(e.emitsOptions,m))continue;const p=t[m];if(l)if(Qe(o,m))p!==o[m]&&(o[m]=p,c=!0);else{const h=sn(m);s[h]=uc(l,i,h,p,e,!1)}else p!==o[m]&&(o[m]=p,c=!0)}}}else{R_(e,t,s,o)&&(c=!0);let d;for(const f in i)(!t||!Qe(t,f)&&((d=xn(f))===f||!Qe(t,d)))&&(l?n&&(n[f]!==void 0||n[d]!==void 0)&&(s[f]=uc(l,i,f,void 0,e,!0)):delete s[f]);if(o!==i)for(const f in o)(!t||!Qe(t,f))&&(delete o[f],c=!0)}c&&zr(e,"set","$attrs")}function R_(e,t,n,r){const[s,o]=e.propsOptions;let a=!1,i;if(t)for(let l in t){if(Vo(l))continue;const c=t[l];let d;s&&Qe(s,d=sn(l))?!o||!o.includes(d)?n[d]=c:(i||(i={}))[d]=c:Il(e.emitsOptions,l)||(!(l in r)||c!==r[l])&&(r[l]=c,a=!0)}if(o){const l=Ze(n),c=i||lt;for(let d=0;d<o.length;d++){const f=o[d];n[f]=uc(s,l,f,c[f],e,!Qe(c,f))}}return a}function uc(e,t,n,r,s,o){const a=e[n];if(a!=null){const i=Qe(a,"default");if(i&&r===void 0){const l=a.default;if(a.type!==Function&&!a.skipFactory&&Ae(l)){const{propsDefaults:c}=s;n in c?r=c[n]:(Kr(s),r=c[n]=l.call(null,t),jr())}else r=l}a[0]&&(o&&!i?r=!1:a[1]&&(r===""||r===xn(n))&&(r=!0))}return r}function L_(e,t,n=!1){const r=t.propsCache,s=r.get(e);if(s)return s;const o=e.props,a={},i=[];let l=!1;if(!Ae(e)){const d=f=>{l=!0;const[m,p]=L_(f,t,!0);pt(a,m),p&&i.push(...p)};!n&&t.mixins.length&&t.mixins.forEach(d),e.extends&&d(e.extends),e.mixins&&e.mixins.forEach(d)}if(!o&&!l)return ut(e)&&r.set(e,Bs),Bs;if(be(o))for(let d=0;d<o.length;d++){const f=sn(o[d]);Gm(f)&&(a[f]=lt)}else if(o)for(const d in o){const f=sn(d);if(Gm(f)){const m=o[d],p=a[f]=be(m)||Ae(m)?{type:m}:pt({},m);if(p){const h=Ym(Boolean,p.type),_=Ym(String,p.type);p[0]=h>-1,p[1]=_<0||h<_,(h>-1||Qe(p,"default"))&&i.push(f)}}}const c=[a,i];return ut(e)&&r.set(e,c),c}function Gm(e){return e[0]!=="$"}function Km(e){const t=e&&e.toString().match(/^\s*(function|class) (\w+)/);return t?t[2]:e===null?"null":""}function Zm(e,t){return Km(e)===Km(t)}function Ym(e,t){return be(t)?t.findIndex(n=>Zm(n,e)):Ae(t)&&Zm(t,e)?0:-1}const M_=e=>e[0]==="_"||e==="$stable",Dd=e=>be(e)?e.map(mn):[mn(e)],Xz=(e,t,n)=>{if(t._n)return t;const r=E((...s)=>Dd(t(...s)),n);return r._c=!1,r},N_=(e,t,n)=>{const r=e._ctx;for(const s in e){if(M_(s))continue;const o=e[s];if(Ae(o))t[s]=Xz(s,o,r);else if(o!=null){const a=Dd(o);t[s]=()=>a}}},V_=(e,t)=>{const n=Dd(t);e.slots.default=()=>n},Qz=(e,t)=>{if(e.vnode.shapeFlag&32){const n=t._;n?(e.slots=Ze(t),tl(t,"_",n)):N_(t,e.slots={})}else e.slots={},t&&V_(e,t);tl(e.slots,Vl,1)},e0=(e,t,n)=>{const{vnode:r,slots:s}=e;let o=!0,a=lt;if(r.shapeFlag&32){const i=t._;i?n&&i===1?o=!1:(pt(s,t),!n&&i===1&&delete s._):(o=!t.$stable,N_(t,s)),a=t}else t&&(V_(e,t),a={default:1});if(o)for(const i in s)!M_(i)&&!(i in a)&&delete s[i]};function il(e,t,n,r,s=!1){if(be(e)){e.forEach((m,p)=>il(m,t&&(be(t)?t[p]:t),n,r,s));return}if(ds(r)&&!s)return;const o=r.shapeFlag&4?Bl(r.component)||r.component.proxy:r.el,a=s?null:o,{i,r:l}=e,c=t&&t.r,d=i.refs===lt?i.refs={}:i.refs,f=i.setupState;if(c!=null&&c!==l&&(zt(c)?(d[c]=null,Qe(f,c)&&(f[c]=null)):Ot(c)&&(c.value=null)),Ae(l))yr(l,i,12,[a,d]);else{const m=zt(l),p=Ot(l);if(m||p){const h=()=>{if(e.f){const _=m?Qe(f,l)?f[l]:d[l]:l.value;s?be(_)&&ld(_,o):be(_)?_.includes(o)||_.push(o):m?(d[l]=[o],Qe(f,l)&&(f[l]=d[l])):(l.value=[o],e.k&&(d[e.k]=l.value))}else m?(d[l]=a,Qe(f,l)&&(f[l]=a)):p&&(l.value=a,e.k&&(d[e.k]=a))};a?(h.id=-1,Mt(h,n)):h()}}}let Er=!1;const Ga=e=>/svg/.test(e.namespaceURI)&&e.tagName!=="foreignObject",Ka=e=>e.nodeType===8;function t0(e){const{mt:t,p:n,o:{patchProp:r,createText:s,nextSibling:o,parentNode:a,remove:i,insert:l,createComment:c}}=e,d=(v,b)=>{if(!b.hasChildNodes()){n(null,v,b),ol(),b._vnode=v;return}Er=!1,f(b.firstChild,v,null,null,null),ol(),b._vnode=v,Er&&console.error("Hydration completed but contains mismatches.")},f=(v,b,k,C,x,T=!1)=>{const N=Ka(v)&&v.data==="[",D=()=>_(v,b,k,C,x,N),{type:I,ref:j,shapeFlag:K,patchFlag:J}=b;let U=v.nodeType;b.el=v,J===-2&&(T=!1,b.dynamicChildren=null);let H=null;switch(I){case Wr:U!==3?b.children===""?(l(b.el=s(""),a(v),v),H=v):H=D():(v.data!==b.children&&(Er=!0,v.data=b.children),H=o(v));break;case jt:U!==8||N?H=D():H=o(v);break;case ms:if(N&&(v=o(v),U=v.nodeType),U===1||U===3){H=v;const he=!b.children.length;for(let ee=0;ee<b.staticCount;ee++)he&&(b.children+=H.nodeType===1?H.outerHTML:H.data),ee===b.staticCount-1&&(b.anchor=H),H=o(H);return N?o(H):H}else D();break;case Ce:N?H=h(v,b,k,C,x,T):H=D();break;default:if(K&1)U!==1||b.type.toLowerCase()!==v.tagName.toLowerCase()?H=D():H=m(v,b,k,C,x,T);else if(K&6){b.slotScopeIds=x;const he=a(v);if(t(b,he,null,k,C,Ga(he),T),H=N?z(v):o(v),H&&Ka(H)&&H.data==="teleport end"&&(H=o(H)),ds(b)){let ee;N?(ee=y(Ce),ee.anchor=H?H.previousSibling:he.lastChild):ee=v.nodeType===3?tt(""):y("div"),ee.el=v,b.component.subTree=ee}}else K&64?U!==8?H=D():H=b.type.hydrate(v,b,k,C,x,T,e,p):K&128&&(H=b.type.hydrate(v,b,k,C,Ga(a(v)),x,T,e,f))}return j!=null&&il(j,null,C,b),H},m=(v,b,k,C,x,T)=>{T=T||!!b.dynamicChildren;const{type:N,props:D,patchFlag:I,shapeFlag:j,dirs:K}=b,J=N==="input"&&K||N==="option";if(J||I!==-1){if(K&&Yn(b,null,k,"created"),D)if(J||!T||I&48)for(const H in D)(J&&H.endsWith("value")||ba(H)&&!Vo(H))&&r(v,H,null,D[H],!1,void 0,k);else D.onClick&&r(v,"onClick",null,D.onClick,!1,void 0,k);let U;if((U=D&&D.onVnodeBeforeMount)&&en(U,k,b),K&&Yn(b,null,k,"beforeMount"),((U=D&&D.onVnodeMounted)||K)&&h_(()=>{U&&en(U,k,b),K&&Yn(b,null,k,"mounted")},C),j&16&&!(D&&(D.innerHTML||D.textContent))){let H=p(v.firstChild,b,v,k,C,x,T);for(;H;){Er=!0;const he=H;H=H.nextSibling,i(he)}}else j&8&&v.textContent!==b.children&&(Er=!0,v.textContent=b.children)}return v.nextSibling},p=(v,b,k,C,x,T,N)=>{N=N||!!b.dynamicChildren;const D=b.children,I=D.length;for(let j=0;j<I;j++){const K=N?D[j]:D[j]=mn(D[j]);if(v)v=f(v,K,C,x,T,N);else{if(K.type===Wr&&!K.children)continue;Er=!0,n(null,K,k,null,C,x,Ga(k),T)}}return v},h=(v,b,k,C,x,T)=>{const{slotScopeIds:N}=b;N&&(x=x?x.concat(N):N);const D=a(v),I=p(o(v),b,D,k,C,x,T);return I&&Ka(I)&&I.data==="]"?o(b.anchor=I):(Er=!0,l(b.anchor=c("]"),D,I),I)},_=(v,b,k,C,x,T)=>{if(Er=!0,b.el=null,T){const I=z(v);for(;;){const j=o(v);if(j&&j!==I)i(j);else break}}const N=o(v),D=a(v);return i(v),n(null,b,D,N,k,C,Ga(D),x),N},z=v=>{let b=0;for(;v;)if(v=o(v),v&&Ka(v)&&(v.data==="["&&b++,v.data==="]")){if(b===0)return o(v);b--}return v};return[d,f]}const Mt=h_;function B_(e){return j_(e)}function H_(e){return j_(e,t0)}function j_(e,t){const n=ec();n.__VUE__=!0;const{insert:r,remove:s,patchProp:o,createElement:a,createText:i,createComment:l,setText:c,setElementText:d,parentNode:f,nextSibling:m,setScopeId:p=Bn,insertStaticContent:h}=e,_=(A,O,P,G=null,Y=null,Q=null,ue=!1,ae=null,oe=!!O.dynamicChildren)=>{if(A===O)return;A&&!Nn(A,O)&&(G=q(A),Be(A,Y,Q,!0),A=null),O.patchFlag===-2&&(oe=!1,O.dynamicChildren=null);const{type:Z,ref:R,shapeFlag:B}=O;switch(Z){case Wr:z(A,O,P,G);break;case jt:v(A,O,P,G);break;case ms:A==null&&b(O,P,G,ue);break;case Ce:J(A,O,P,G,Y,Q,ue,ae,oe);break;default:B&1?x(A,O,P,G,Y,Q,ue,ae,oe):B&6?U(A,O,P,G,Y,Q,ue,ae,oe):(B&64||B&128)&&Z.process(A,O,P,G,Y,Q,ue,ae,oe,re)}R!=null&&Y&&il(R,A&&A.ref,Q,O||A,!O)},z=(A,O,P,G)=>{if(A==null)r(O.el=i(O.children),P,G);else{const Y=O.el=A.el;O.children!==A.children&&c(Y,O.children)}},v=(A,O,P,G)=>{A==null?r(O.el=l(O.children||""),P,G):O.el=A.el},b=(A,O,P,G)=>{[A.el,A.anchor]=h(A.children,O,P,G,A.el,A.anchor)},k=({el:A,anchor:O},P,G)=>{let Y;for(;A&&A!==O;)Y=m(A),r(A,P,G),A=Y;r(O,P,G)},C=({el:A,anchor:O})=>{let P;for(;A&&A!==O;)P=m(A),s(A),A=P;s(O)},x=(A,O,P,G,Y,Q,ue,ae,oe)=>{ue=ue||O.type==="svg",A==null?T(O,P,G,Y,Q,ue,ae,oe):I(A,O,Y,Q,ue,ae,oe)},T=(A,O,P,G,Y,Q,ue,ae)=>{let oe,Z;const{type:R,props:B,shapeFlag:fe,transition:ve,dirs:Te}=A;if(oe=A.el=a(A.type,Q,B&&B.is,B),fe&8?d(oe,A.children):fe&16&&D(A.children,oe,null,G,Y,Q&&R!=="foreignObject",ue,ae),Te&&Yn(A,null,G,"created"),N(oe,A,A.scopeId,ue,G),B){for(const Me in B)Me!=="value"&&!Vo(Me)&&o(oe,Me,null,B[Me],Q,A.children,G,Y,Ie);"value"in B&&o(oe,"value",null,B.value),(Z=B.onVnodeBeforeMount)&&en(Z,G,A)}Te&&Yn(A,null,G,"beforeMount");const Ue=(!Y||Y&&!Y.pendingBranch)&&ve&&!ve.persisted;Ue&&ve.beforeEnter(oe),r(oe,O,P),((Z=B&&B.onVnodeMounted)||Ue||Te)&&Mt(()=>{Z&&en(Z,G,A),Ue&&ve.enter(oe),Te&&Yn(A,null,G,"mounted")},Y)},N=(A,O,P,G,Y)=>{if(P&&p(A,P),G)for(let Q=0;Q<G.length;Q++)p(A,G[Q]);if(Y){let Q=Y.subTree;if(O===Q){const ue=Y.vnode;N(A,ue,ue.scopeId,ue.slotScopeIds,Y.parent)}}},D=(A,O,P,G,Y,Q,ue,ae,oe=0)=>{for(let Z=oe;Z<A.length;Z++){const R=A[Z]=ae?Ir(A[Z]):mn(A[Z]);_(null,R,O,P,G,Y,Q,ue,ae)}},I=(A,O,P,G,Y,Q,ue)=>{const ae=O.el=A.el;let{patchFlag:oe,dynamicChildren:Z,dirs:R}=O;oe|=A.patchFlag&16;const B=A.props||lt,fe=O.props||lt;let ve;P&&Qr(P,!1),(ve=fe.onVnodeBeforeUpdate)&&en(ve,P,O,A),R&&Yn(O,A,P,"beforeUpdate"),P&&Qr(P,!0);const Te=Y&&O.type!=="foreignObject";if(Z?j(A.dynamicChildren,Z,ae,P,G,Te,Q):ue||ye(A,O,ae,null,P,G,Te,Q,!1),oe>0){if(oe&16)K(ae,O,B,fe,P,G,Y);else if(oe&2&&B.class!==fe.class&&o(ae,"class",null,fe.class,Y),oe&4&&o(ae,"style",B.style,fe.style,Y),oe&8){const Ue=O.dynamicProps;for(let Me=0;Me<Ue.length;Me++){const F=Ue[Me],L=B[F],W=fe[F];(W!==L||F==="value")&&o(ae,F,L,W,Y,A.children,P,G,Ie)}}oe&1&&A.children!==O.children&&d(ae,O.children)}else!ue&&Z==null&&K(ae,O,B,fe,P,G,Y);((ve=fe.onVnodeUpdated)||R)&&Mt(()=>{ve&&en(ve,P,O,A),R&&Yn(O,A,P,"updated")},G)},j=(A,O,P,G,Y,Q,ue)=>{for(let ae=0;ae<O.length;ae++){const oe=A[ae],Z=O[ae],R=oe.el&&(oe.type===Ce||!Nn(oe,Z)||oe.shapeFlag&70)?f(oe.el):P;_(oe,Z,R,null,G,Y,Q,ue,!0)}},K=(A,O,P,G,Y,Q,ue)=>{if(P!==G){if(P!==lt)for(const ae in P)!Vo(ae)&&!(ae in G)&&o(A,ae,P[ae],null,ue,O.children,Y,Q,Ie);for(const ae in G){if(Vo(ae))continue;const oe=G[ae],Z=P[ae];oe!==Z&&ae!=="value"&&o(A,ae,Z,oe,ue,O.children,Y,Q,Ie)}"value"in G&&o(A,"value",P.value,G.value)}},J=(A,O,P,G,Y,Q,ue,ae,oe)=>{const Z=O.el=A?A.el:i(""),R=O.anchor=A?A.anchor:i("");let{patchFlag:B,dynamicChildren:fe,slotScopeIds:ve}=O;ve&&(ae=ae?ae.concat(ve):ve),A==null?(r(Z,P,G),r(R,P,G),D(O.children,P,R,Y,Q,ue,ae,oe)):B>0&&B&64&&fe&&A.dynamicChildren?(j(A.dynamicChildren,fe,P,Y,Q,ue,ae),(O.key!=null||Y&&O===Y.subTree)&&Pd(A,O,!0)):ye(A,O,P,R,Y,Q,ue,ae,oe)},U=(A,O,P,G,Y,Q,ue,ae,oe)=>{O.slotScopeIds=ae,A==null?O.shapeFlag&512?Y.ctx.activate(O,P,G,ue,oe):H(O,P,G,Y,Q,ue,oe):he(A,O,oe)},H=(A,O,P,G,Y,Q,ue)=>{const ae=A.component=Z_(A,G,Y);if(xa(A)&&(ae.ctx.renderer=re),J_(ae),ae.asyncDep){if(Y&&Y.registerDep(ae,ee),!A.el){const oe=ae.subTree=y(jt);v(null,oe,O,P)}return}ee(ae,A,O,P,Y,Q,ue)},he=(A,O,P)=>{const G=O.component=A.component;if(cz(A,O,P))if(G.asyncDep&&!G.asyncResolved){se(G,O,P);return}else G.next=O,rz(G.update),G.update();else O.el=A.el,G.vnode=O},ee=(A,O,P,G,Y,Q,ue)=>{const ae=()=>{if(A.isMounted){let{next:R,bu:B,u:fe,parent:ve,vnode:Te}=A,Ue=R,Me;Qr(A,!1),R?(R.el=Te.el,se(A,R,ue)):R=Te,B&&js(B),(Me=R.props&&R.props.onVnodeBeforeUpdate)&&en(Me,ve,R,Te),Qr(A,!0);const F=Hi(A),L=A.subTree;A.subTree=F,_(L,F,f(L.el),q(L),A,Y,Q),R.el=F.el,Ue===null&&kd(A,F.el),fe&&Mt(fe,Y),(Me=R.props&&R.props.onVnodeUpdated)&&Mt(()=>en(Me,ve,R,Te),Y)}else{let R;const{el:B,props:fe}=O,{bm:ve,m:Te,parent:Ue}=A,Me=ds(O);if(Qr(A,!1),ve&&js(ve),!Me&&(R=fe&&fe.onVnodeBeforeMount)&&en(R,Ue,O),Qr(A,!0),B&&Ne){const F=()=>{A.subTree=Hi(A),Ne(B,A.subTree,A,Y,null)};Me?O.type.__asyncLoader().then(()=>!A.isUnmounted&&F()):F()}else{const F=A.subTree=Hi(A);_(null,F,P,G,A,Y,Q),O.el=F.el}if(Te&&Mt(Te,Y),!Me&&(R=fe&&fe.onVnodeMounted)){const F=O;Mt(()=>en(R,Ue,F),Y)}(O.shapeFlag&256||Ue&&ds(Ue.vnode)&&Ue.vnode.shapeFlag&256)&&A.a&&Mt(A.a,Y),A.isMounted=!0,O=P=G=null}},oe=A.effect=new Ca(ae,()=>Pl(Z),A.scope),Z=A.update=()=>oe.run();Z.id=A.uid,Qr(A,!0),Z()},se=(A,O,P)=>{O.component=A;const G=A.vnode.props;A.vnode=O,A.next=null,Jz(A,O.props,G,P),e0(A,O.children,P),oo(),Nm(),ao()},ye=(A,O,P,G,Y,Q,ue,ae,oe=!1)=>{const Z=A&&A.children,R=A?A.shapeFlag:0,B=O.children,{patchFlag:fe,shapeFlag:ve}=O;if(fe>0){if(fe&128){it(Z,B,P,G,Y,Q,ue,ae,oe);return}else if(fe&256){qe(Z,B,P,G,Y,Q,ue,ae,oe);return}}ve&8?(R&16&&Ie(Z,Y,Q),B!==Z&&d(P,B)):R&16?ve&16?it(Z,B,P,G,Y,Q,ue,ae,oe):Ie(Z,Y,Q,!0):(R&8&&d(P,""),ve&16&&D(B,P,G,Y,Q,ue,ae,oe))},qe=(A,O,P,G,Y,Q,ue,ae,oe)=>{A=A||Bs,O=O||Bs;const Z=A.length,R=O.length,B=Math.min(Z,R);let fe;for(fe=0;fe<B;fe++){const ve=O[fe]=oe?Ir(O[fe]):mn(O[fe]);_(A[fe],ve,P,null,Y,Q,ue,ae,oe)}Z>R?Ie(A,Y,Q,!0,!1,B):D(O,P,G,Y,Q,ue,ae,oe,B)},it=(A,O,P,G,Y,Q,ue,ae,oe)=>{let Z=0;const R=O.length;let B=A.length-1,fe=R-1;for(;Z<=B&&Z<=fe;){const ve=A[Z],Te=O[Z]=oe?Ir(O[Z]):mn(O[Z]);if(Nn(ve,Te))_(ve,Te,P,null,Y,Q,ue,ae,oe);else break;Z++}for(;Z<=B&&Z<=fe;){const ve=A[B],Te=O[fe]=oe?Ir(O[fe]):mn(O[fe]);if(Nn(ve,Te))_(ve,Te,P,null,Y,Q,ue,ae,oe);else break;B--,fe--}if(Z>B){if(Z<=fe){const ve=fe+1,Te=ve<R?O[ve].el:G;for(;Z<=fe;)_(null,O[Z]=oe?Ir(O[Z]):mn(O[Z]),P,Te,Y,Q,ue,ae,oe),Z++}}else if(Z>fe)for(;Z<=B;)Be(A[Z],Y,Q,!0),Z++;else{const ve=Z,Te=Z,Ue=new Map;for(Z=Te;Z<=fe;Z++){const xe=O[Z]=oe?Ir(O[Z]):mn(O[Z]);xe.key!=null&&Ue.set(xe.key,Z)}let Me,F=0;const L=fe-Te+1;let W=!1,ne=0;const _e=new Array(L);for(Z=0;Z<L;Z++)_e[Z]=0;for(Z=ve;Z<=B;Z++){const xe=A[Z];if(F>=L){Be(xe,Y,Q,!0);continue}let Fe;if(xe.key!=null)Fe=Ue.get(xe.key);else for(Me=Te;Me<=fe;Me++)if(_e[Me-Te]===0&&Nn(xe,O[Me])){Fe=Me;break}Fe===void 0?Be(xe,Y,Q,!0):(_e[Fe-Te]=Z+1,Fe>=ne?ne=Fe:W=!0,_(xe,O[Fe],P,null,Y,Q,ue,ae,oe),F++)}const Ee=W?n0(_e):Bs;for(Me=Ee.length-1,Z=L-1;Z>=0;Z--){const xe=Te+Z,Fe=O[xe],_t=xe+1<R?O[xe+1].el:G;_e[Z]===0?_(null,Fe,P,_t,Y,Q,ue,ae,oe):W&&(Me<0||Z!==Ee[Me]?Ge(Fe,P,_t,2):Me--)}}},Ge=(A,O,P,G,Y=null)=>{const{el:Q,type:ue,transition:ae,children:oe,shapeFlag:Z}=A;if(Z&6){Ge(A.component.subTree,O,P,G);return}if(Z&128){A.suspense.move(O,P,G);return}if(Z&64){ue.move(A,O,P,re);return}if(ue===Ce){r(Q,O,P);for(let B=0;B<oe.length;B++)Ge(oe[B],O,P,G);r(A.anchor,O,P);return}if(ue===ms){k(A,O,P);return}if(G!==2&&Z&1&&ae)if(G===0)ae.beforeEnter(Q),r(Q,O,P),Mt(()=>ae.enter(Q),Y);else{const{leave:B,delayLeave:fe,afterLeave:ve}=ae,Te=()=>r(Q,O,P),Ue=()=>{B(Q,()=>{Te(),ve&&ve()})};fe?fe(Q,Te,Ue):Ue()}else r(Q,O,P)},Be=(A,O,P,G=!1,Y=!1)=>{const{type:Q,props:ue,ref:ae,children:oe,dynamicChildren:Z,shapeFlag:R,patchFlag:B,dirs:fe}=A;if(ae!=null&&il(ae,null,P,A,!0),R&256){O.ctx.deactivate(A);return}const ve=R&1&&fe,Te=!ds(A);let Ue;if(Te&&(Ue=ue&&ue.onVnodeBeforeUnmount)&&en(Ue,O,A),R&6)mt(A.component,P,G);else{if(R&128){A.suspense.unmount(P,G);return}ve&&Yn(A,null,O,"beforeUnmount"),R&64?A.type.remove(A,O,P,Y,re,G):Z&&(Q!==Ce||B>0&&B&64)?Ie(Z,O,P,!1,!0):(Q===Ce&&B&384||!Y&&R&16)&&Ie(oe,O,P),G&&ct(A)}(Te&&(Ue=ue&&ue.onVnodeUnmounted)||ve)&&Mt(()=>{Ue&&en(Ue,O,A),ve&&Yn(A,null,O,"unmounted")},P)},ct=A=>{const{type:O,el:P,anchor:G,transition:Y}=A;if(O===Ce){dt(P,G);return}if(O===ms){C(A);return}const Q=()=>{s(P),Y&&!Y.persisted&&Y.afterLeave&&Y.afterLeave()};if(A.shapeFlag&1&&Y&&!Y.persisted){const{leave:ue,delayLeave:ae}=Y,oe=()=>ue(P,Q);ae?ae(A.el,Q,oe):oe()}else Q()},dt=(A,O)=>{let P;for(;A!==O;)P=m(A),s(A),A=P;s(O)},mt=(A,O,P)=>{const{bum:G,scope:Y,update:Q,subTree:ue,um:ae}=A;G&&js(G),Y.stop(),Q&&(Q.active=!1,Be(ue,A,O,P)),ae&&Mt(ae,O),Mt(()=>{A.isUnmounted=!0},O),O&&O.pendingBranch&&!O.isUnmounted&&A.asyncDep&&!A.asyncResolved&&A.suspenseId===O.pendingId&&(O.deps--,O.deps===0&&O.resolve())},Ie=(A,O,P,G=!1,Y=!1,Q=0)=>{for(let ue=Q;ue<A.length;ue++)Be(A[ue],O,P,G,Y)},q=A=>A.shapeFlag&6?q(A.component.subTree):A.shapeFlag&128?A.suspense.next():m(A.anchor||A.el),ie=(A,O,P)=>{A==null?O._vnode&&Be(O._vnode,null,null,!0):_(O._vnode||null,A,O,null,null,null,P),Nm(),ol(),O._vnode=A},re={p:_,um:Be,m:Ge,r:ct,mt:H,mc:D,pc:ye,pbc:j,n:q,o:e};let ge,Ne;return t&&([ge,Ne]=t(re)),{render:ie,hydrate:ge,createApp:Kz(ie,ge)}}function Qr({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function Pd(e,t,n=!1){const r=e.children,s=t.children;if(be(r)&&be(s))for(let o=0;o<r.length;o++){const a=r[o];let i=s[o];i.shapeFlag&1&&!i.dynamicChildren&&((i.patchFlag<=0||i.patchFlag===32)&&(i=s[o]=Ir(s[o]),i.el=a.el),n||Pd(a,i)),i.type===Wr&&(i.el=a.el)}}function n0(e){const t=e.slice(),n=[0];let r,s,o,a,i;const l=e.length;for(r=0;r<l;r++){const c=e[r];if(c!==0){if(s=n[n.length-1],e[s]<c){t[r]=s,n.push(r);continue}for(o=0,a=n.length-1;o<a;)i=o+a>>1,e[n[i]]<c?o=i+1:a=i;c<e[n[o]]&&(o>0&&(t[r]=n[o-1]),n[o]=r)}}for(o=n.length,a=n[o-1];o-- >0;)n[o]=a,a=t[a];return n}const r0=e=>e.__isTeleport,Uo=e=>e&&(e.disabled||e.disabled===""),Jm=e=>typeof SVGElement<"u"&&e instanceof SVGElement,cc=(e,t)=>{const n=e&&e.to;return zt(n)?t?t(n):null:n},s0={__isTeleport:!0,process(e,t,n,r,s,o,a,i,l,c){const{mc:d,pc:f,pbc:m,o:{insert:p,querySelector:h,createText:_,createComment:z}}=c,v=Uo(t.props);let{shapeFlag:b,children:k,dynamicChildren:C}=t;if(e==null){const x=t.el=_(""),T=t.anchor=_("");p(x,n,r),p(T,n,r);const N=t.target=cc(t.props,h),D=t.targetAnchor=_("");N&&(p(D,N),a=a||Jm(N));const I=(j,K)=>{b&16&&d(k,j,K,s,o,a,i,l)};v?I(n,T):N&&I(N,D)}else{t.el=e.el;const x=t.anchor=e.anchor,T=t.target=e.target,N=t.targetAnchor=e.targetAnchor,D=Uo(e.props),I=D?n:T,j=D?x:N;if(a=a||Jm(T),C?(m(e.dynamicChildren,C,I,s,o,a,i),Pd(e,t,!0)):l||f(e,t,I,j,s,o,a,i,!1),v)D||Za(t,n,x,c,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const K=t.target=cc(t.props,h);K&&Za(t,K,null,c,0)}else D&&Za(t,T,N,c,1)}U_(t)},remove(e,t,n,r,{um:s,o:{remove:o}},a){const{shapeFlag:i,children:l,anchor:c,targetAnchor:d,target:f,props:m}=e;if(f&&o(d),(a||!Uo(m))&&(o(c),i&16))for(let p=0;p<l.length;p++){const h=l[p];s(h,t,n,!0,!!h.dynamicChildren)}},move:Za,hydrate:o0};function Za(e,t,n,{o:{insert:r},m:s},o=2){o===0&&r(e.targetAnchor,t,n);const{el:a,anchor:i,shapeFlag:l,children:c,props:d}=e,f=o===2;if(f&&r(a,t,n),(!f||Uo(d))&&l&16)for(let m=0;m<c.length;m++)s(c[m],t,n,2);f&&r(i,t,n)}function o0(e,t,n,r,s,o,{o:{nextSibling:a,parentNode:i,querySelector:l}},c){const d=t.target=cc(t.props,l);if(d){const f=d._lpa||d.firstChild;if(t.shapeFlag&16)if(Uo(t.props))t.anchor=c(a(e),t,i(e),n,r,s,o),t.targetAnchor=f;else{t.anchor=a(e);let m=f;for(;m;)if(m=a(m),m&&m.nodeType===8&&m.data==="teleport anchor"){t.targetAnchor=m,d._lpa=t.targetAnchor&&a(t.targetAnchor);break}c(f,t,d,n,r,s,o)}U_(t)}return t.anchor&&a(t.anchor)}const Yr=s0;function U_(e){const t=e.ctx;if(t&&t.ut){let n=e.children[0].el;for(;n!==e.targetAnchor;)n.nodeType===1&&n.setAttribute("data-v-owner",t.uid),n=n.nextSibling;t.ut()}}const Ce=Symbol.for("v-fgt"),Wr=Symbol.for("v-txt"),jt=Symbol.for("v-cmt"),ms=Symbol.for("v-stc"),qo=[];let nn=null;function w(e=!1){qo.push(nn=e?null:[])}function q_(){qo.pop(),nn=qo[qo.length-1]||null}let gs=1;function dc(e){gs+=e}function W_(e){return e.dynamicChildren=gs>0?nn||Bs:null,q_(),gs>0&&nn&&nn.push(e),e}function $(e,t,n,r,s,o){return W_(u(e,t,n,r,s,o,!0))}function ce(e,t,n,r,s){return W_(y(e,t,n,r,s,!0))}function Gr(e){return e?e.__v_isVNode===!0:!1}function Nn(e,t){return e.type===t.type&&e.key===t.key}function a0(e){}const Vl="__vInternal",G_=({key:e})=>e??null,ji=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?zt(e)||Ot(e)||Ae(e)?{i:Rt,r:e,k:t,f:!!n}:e:null);function u(e,t=null,n=null,r=0,s=null,o=e===Ce?0:1,a=!1,i=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&G_(t),ref:t&&ji(t),scopeId:Fl,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:o,patchFlag:r,dynamicProps:s,dynamicChildren:null,appContext:null,ctx:Rt};return i?(Id(l,n),o&128&&e.normalize(l)):n&&(l.shapeFlag|=zt(n)?8:16),gs>0&&!a&&nn&&(l.patchFlag>0||o&6)&&l.patchFlag!==32&&nn.push(l),l}const y=i0;function i0(e,t=null,n=null,r=0,s=null,o=!1){if((!e||e===T_)&&(e=jt),Gr(e)){const i=ar(e,t,!0);return n&&Id(i,n),gs>0&&!o&&nn&&(i.shapeFlag&6?nn[nn.indexOf(e)]=i:nn.push(i)),i.patchFlag|=-2,i}if(h0(e)&&(e=e.__vccOpts),t){t=K_(t);let{class:i,style:l}=t;i&&!zt(i)&&(t.class=ke(i)),ut(l)&&(gd(l)&&!be(l)&&(l=pt({},l)),t.style=ur(l))}const a=zt(e)?1:p_(e)?128:r0(e)?64:ut(e)?4:Ae(e)?2:0;return u(e,t,n,r,s,a,o,!0)}function K_(e){return e?gd(e)||Vl in e?pt({},e):e:null}function ar(e,t,n=!1){const{props:r,ref:s,patchFlag:o,children:a}=e,i=t?Ls(r||{},t):r;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:i,key:i&&G_(i),ref:t&&t.ref?n&&s?be(s)?s.concat(ji(t)):[s,ji(t)]:ji(t):s,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:a,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Ce?o===-1?16:o|16:o,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&ar(e.ssContent),ssFallback:e.ssFallback&&ar(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function tt(e=" ",t=0){return y(Wr,null,e,t)}function l0(e,t){const n=y(ms,null,e);return n.staticCount=t,n}function V(e="",t=!1){return t?(w(),ce(jt,null,e)):y(jt,null,e)}function mn(e){return e==null||typeof e=="boolean"?y(jt):be(e)?y(Ce,null,e.slice()):typeof e=="object"?Ir(e):y(Wr,null,String(e))}function Ir(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:ar(e)}function Id(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(be(t))n=16;else if(typeof t=="object")if(r&65){const s=t.default;s&&(s._c&&(s._d=!1),Id(e,s()),s._c&&(s._d=!0));return}else{n=32;const s=t._;!s&&!(Vl in t)?t._ctx=Rt:s===3&&Rt&&(Rt.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else Ae(t)?(t={default:t,_ctx:Rt},n=32):(t=String(t),r&64?(n=16,t=[tt(t)]):n=8);e.children=t,e.shapeFlag|=n}function Ls(...e){const t={};for(let n=0;n<e.length;n++){const r=e[n];for(const s in r)if(s==="class")t.class!==r.class&&(t.class=ke([t.class,r.class]));else if(s==="style")t.style=ur([t.style,r.style]);else if(ba(s)){const o=t[s],a=r[s];a&&o!==a&&!(be(o)&&o.includes(a))&&(t[s]=o?[].concat(o,a):a)}else s!==""&&(t[s]=r[s])}return t}function en(e,t,n,r=null){gn(e,t,7,[n,r])}const u0=F_();let c0=0;function Z_(e,t,n){const r=e.type,s=(t?t.appContext:e.appContext)||u0,o={uid:c0++,vnode:e,type:r,parent:t,appContext:s,root:null,next:null,subTree:null,effect:null,update:null,scope:new dd(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(s.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:L_(r,s),emitsOptions:d_(r,s),emit:null,emitted:null,propsDefaults:lt,inheritAttrs:r.inheritAttrs,ctx:lt,data:lt,props:lt,attrs:lt,slots:lt,refs:lt,setupState:lt,setupContext:null,attrsProxy:null,slotsProxy:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return o.ctx={_:o},o.root=t?t.root:o,o.emit=oz.bind(null,o),e.ce&&e.ce(o),o}let Tt=null;const Tn=()=>Tt||Rt;let Fd,ws,Xm="__VUE_INSTANCE_SETTERS__";(ws=ec()[Xm])||(ws=ec()[Xm]=[]),ws.push(e=>Tt=e),Fd=e=>{ws.length>1?ws.forEach(t=>t(e)):ws[0](e)};const Kr=e=>{Fd(e),e.scope.on()},jr=()=>{Tt&&Tt.scope.off(),Fd(null)};function Y_(e){return e.vnode.shapeFlag&4}let Js=!1;function J_(e,t=!1){Js=t;const{props:n,children:r}=e.vnode,s=Y_(e);Yz(e,n,s,t),Qz(e,r);const o=s?d0(e,t):void 0;return Js=!1,o}function d0(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=yd(new Proxy(e.ctx,ac));const{setup:r}=n;if(r){const s=e.setupContext=r.length>1?Q_(e):null;Kr(e),oo();const o=yr(r,e,0,[e.props,s]);if(ao(),jr(),ud(o)){if(o.then(jr,jr),t)return o.then(a=>{mc(e,a,t)}).catch(a=>{vs(a,e,0)});e.asyncDep=o}else mc(e,o,t)}else X_(e,t)}function mc(e,t,n){Ae(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:ut(t)&&(e.setupState=zd(t)),X_(e,n)}let ll,fc;function m0(e){ll=e,fc=t=>{t.render._rc&&(t.withProxy=new Proxy(t.ctx,Sz))}}const f0=()=>!ll;function X_(e,t,n){const r=e.type;if(!e.render){if(!t&&ll&&!r.render){const s=r.template||Od(e).template;if(s){const{isCustomElement:o,compilerOptions:a}=e.appContext.config,{delimiters:i,compilerOptions:l}=r,c=pt(pt({isCustomElement:o,delimiters:i},a),l);r.render=ll(s,c)}}e.render=r.render||Bn,fc&&fc(e)}Kr(e),oo(),Hz(e),ao(),jr()}function p0(e){return e.attrsProxy||(e.attrsProxy=new Proxy(e.attrs,{get(t,n){return on(e,"get","$attrs"),t[n]}}))}function Q_(e){const t=n=>{e.exposed=n||{}};return{get attrs(){return p0(e)},slots:e.slots,emit:e.emit,expose:t}}function Bl(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(zd(yd(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Ho)return Ho[n](e)},has(t,n){return n in t||n in Ho}}))}function pc(e,t=!0){return Ae(e)?e.displayName||e.name:e.name||t&&e.__name}function h0(e){return Ae(e)&&"__vccOpts"in e}const Ft=(e,t)=>Xb(e,t,Js);function er(e,t,n){const r=arguments.length;return r===2?ut(t)&&!be(t)?Gr(t)?y(e,null,[t]):y(e,t):y(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&Gr(n)&&(n=[n]),y(e,t,n))}const eg=Symbol.for("v-scx"),tg=()=>Hn(eg);function _0(){}function g0(e,t,n,r){const s=n[r];if(s&&ng(s,e))return s;const o=t();return o.memo=e.slice(),n[r]=o}function ng(e,t){const n=e.memo;if(n.length!=t.length)return!1;for(let r=0;r<n.length;r++)if(Zs(n[r],t[r]))return!1;return gs>0&&nn&&nn.push(e),!0}const rg="3.3.4",y0={createComponentInstance:Z_,setupComponent:J_,renderComponentRoot:Hi,setCurrentRenderingInstance:ua,isVNode:Gr,normalizeVNode:mn},v0=y0,b0=null,z0=null,C0="http://www.w3.org/2000/svg",is=typeof document<"u"?document:null,Qm=is&&is.createElement("template"),w0={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,r)=>{const s=t?is.createElementNS(C0,e):is.createElement(e,n?{is:n}:void 0);return e==="select"&&r&&r.multiple!=null&&s.setAttribute("multiple",r.multiple),s},createText:e=>is.createTextNode(e),createComment:e=>is.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>is.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,s,o){const a=n?n.previousSibling:t.lastChild;if(s&&(s===o||s.nextSibling))for(;t.insertBefore(s.cloneNode(!0),n),!(s===o||!(s=s.nextSibling)););else{Qm.innerHTML=r?`<svg>${e}</svg>`:e;const i=Qm.content;if(r){const l=i.firstChild;for(;l.firstChild;)i.appendChild(l.firstChild);i.removeChild(l)}t.insertBefore(i,n)}return[a?a.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}};function k0(e,t,n){const r=e._vtc;r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}function x0(e,t,n){const r=e.style,s=zt(n);if(n&&!s){if(t&&!zt(t))for(const o in t)n[o]==null&&hc(r,o,"");for(const o in n)hc(r,o,n[o])}else{const o=r.display;s?t!==n&&(r.cssText=n):t&&e.removeAttribute("style"),"_vod"in e&&(r.display=o)}}const ef=/\s*!important$/;function hc(e,t,n){if(be(n))n.forEach(r=>hc(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=E0(e,t);ef.test(n)?e.setProperty(xn(r),n.replace(ef,""),"important"):e[r]=n}}const tf=["Webkit","Moz","ms"],gu={};function E0(e,t){const n=gu[t];if(n)return n;let r=sn(t);if(r!=="filter"&&r in e)return gu[t]=r;r=za(r);for(let s=0;s<tf.length;s++){const o=tf[s]+r;if(o in e)return gu[t]=o}return t}const nf="http://www.w3.org/1999/xlink";function S0(e,t,n,r,s){if(r&&t.startsWith("xlink:"))n==null?e.removeAttributeNS(nf,t.slice(6,t.length)):e.setAttributeNS(nf,t,n);else{const o=ib(t);n==null||o&&!Hh(n)?e.removeAttribute(t):e.setAttribute(t,o?"":n)}}function $0(e,t,n,r,s,o,a){if(t==="innerHTML"||t==="textContent"){r&&a(r,s,o),e[t]=n??"";return}const i=e.tagName;if(t==="value"&&i!=="PROGRESS"&&!i.includes("-")){e._value=n;const c=i==="OPTION"?e.getAttribute("value"):e.value,d=n??"";c!==d&&(e.value=d),n==null&&e.removeAttribute(t);return}let l=!1;if(n===""||n==null){const c=typeof e[t];c==="boolean"?n=Hh(n):n==null&&c==="string"?(n="",l=!0):c==="number"&&(n=0,l=!0)}try{e[t]=n}catch{}l&&e.removeAttribute(t)}function _r(e,t,n,r){e.addEventListener(t,n,r)}function A0(e,t,n,r){e.removeEventListener(t,n,r)}function T0(e,t,n,r,s=null){const o=e._vei||(e._vei={}),a=o[t];if(r&&a)a.value=r;else{const[i,l]=O0(t);if(r){const c=o[t]=I0(r,s);_r(e,i,c,l)}else a&&(A0(e,i,a,l),o[t]=void 0)}}const rf=/(?:Once|Passive|Capture)$/;function O0(e){let t;if(rf.test(e)){t={};let r;for(;r=e.match(rf);)e=e.slice(0,e.length-r[0].length),t[r[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):xn(e.slice(2)),t]}let yu=0;const D0=Promise.resolve(),P0=()=>yu||(D0.then(()=>yu=0),yu=Date.now());function I0(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;gn(F0(r,n.value),t,5,[r])};return n.value=e,n.attached=P0(),n}function F0(e,t){if(be(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(r=>s=>!s._stopped&&r&&r(s))}else return t}const sf=/^on[a-z]/,R0=(e,t,n,r,s=!1,o,a,i,l)=>{t==="class"?k0(e,r,s):t==="style"?x0(e,n,r):ba(t)?id(t)||T0(e,t,n,r,a):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):L0(e,t,r,s))?$0(e,t,r,o,a,i,l):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),S0(e,t,r,s))};function L0(e,t,n,r){return r?!!(t==="innerHTML"||t==="textContent"||t in e&&sf.test(t)&&Ae(n)):t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA"||sf.test(t)&&zt(n)?!1:t in e}function sg(e,t){const n=lo(e);class r extends Hl{constructor(o){super(n,o,t)}}return r.def=n,r}const M0=e=>sg(e,yg),N0=typeof HTMLElement<"u"?HTMLElement:class{};class Hl extends N0{constructor(t,n={},r){super(),this._def=t,this._props=n,this._instance=null,this._connected=!1,this._resolved=!1,this._numberProps=null,this.shadowRoot&&r?r(this._createVNode(),this.shadowRoot):(this.attachShadow({mode:"open"}),this._def.__asyncLoader||this._resolveProps(this._def))}connectedCallback(){this._connected=!0,this._instance||(this._resolved?this._update():this._resolveDef())}disconnectedCallback(){this._connected=!1,wa(()=>{this._connected||(yc(null,this.shadowRoot),this._instance=null)})}_resolveDef(){this._resolved=!0;for(let r=0;r<this.attributes.length;r++)this._setAttr(this.attributes[r].name);new MutationObserver(r=>{for(const s of r)this._setAttr(s.attributeName)}).observe(this,{attributes:!0});const t=(r,s=!1)=>{const{props:o,styles:a}=r;let i;if(o&&!be(o))for(const l in o){const c=o[l];(c===Number||c&&c.type===Number)&&(l in this._props&&(this._props[l]=rl(this._props[l])),(i||(i=Object.create(null)))[sn(l)]=!0)}this._numberProps=i,s&&this._resolveProps(r),this._applyStyles(a),this._update()},n=this._def.__asyncLoader;n?n().then(r=>t(r,!0)):t(this._def)}_resolveProps(t){const{props:n}=t,r=be(n)?n:Object.keys(n||{});for(const s of Object.keys(this))s[0]!=="_"&&r.includes(s)&&this._setProp(s,this[s],!0,!1);for(const s of r.map(sn))Object.defineProperty(this,s,{get(){return this._getProp(s)},set(o){this._setProp(s,o)}})}_setAttr(t){let n=this.getAttribute(t);const r=sn(t);this._numberProps&&this._numberProps[r]&&(n=rl(n)),this._setProp(r,n,!1)}_getProp(t){return this._props[t]}_setProp(t,n,r=!0,s=!0){n!==this._props[t]&&(this._props[t]=n,s&&this._instance&&this._update(),r&&(n===!0?this.setAttribute(xn(t),""):typeof n=="string"||typeof n=="number"?this.setAttribute(xn(t),n+""):n||this.removeAttribute(xn(t))))}_update(){yc(this._createVNode(),this.shadowRoot)}_createVNode(){const t=y(this._def,pt({},this._props));return this._instance||(t.ce=n=>{this._instance=n,n.isCE=!0;const r=(o,a)=>{this.dispatchEvent(new CustomEvent(o,{detail:a}))};n.emit=(o,...a)=>{r(o,a),xn(o)!==o&&r(xn(o),a)};let s=this;for(;s=s&&(s.parentNode||s.host);)if(s instanceof Hl){n.parent=s._instance,n.provides=s._instance.provides;break}}),t}_applyStyles(t){t&&t.forEach(n=>{const r=document.createElement("style");r.textContent=n,this.shadowRoot.appendChild(r)})}}function V0(e="$style"){{const t=Tn();if(!t)return lt;const n=t.type.__cssModules;if(!n)return lt;const r=n[e];return r||lt}}function B0(e){const t=Tn();if(!t)return;const n=t.ut=(s=e(t.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${t.uid}"]`)).forEach(o=>gc(o,s))},r=()=>{const s=e(t.proxy);_c(t.subTree,s),n(s)};g_(r),uo(()=>{const s=new MutationObserver(r);s.observe(t.subTree.el.parentNode,{childList:!0}),Ea(()=>s.disconnect())})}function _c(e,t){if(e.shapeFlag&128){const n=e.suspense;e=n.activeBranch,n.pendingBranch&&!n.isHydrating&&n.effects.push(()=>{_c(n.activeBranch,t)})}for(;e.component;)e=e.component.subTree;if(e.shapeFlag&1&&e.el)gc(e.el,t);else if(e.type===Ce)e.children.forEach(n=>_c(n,t));else if(e.type===ms){let{el:n,anchor:r}=e;for(;n&&(gc(n,t),n!==r);)n=n.nextSibling}}function gc(e,t){if(e.nodeType===1){const n=e.style;for(const r in t)n.setProperty(`--${r}`,t[r])}}const Sr="transition",go="animation",Dt=(e,{slots:t})=>er(v_,ag(e),t);Dt.displayName="Transition";const og={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},H0=Dt.props=pt({},Sd,og),es=(e,t=[])=>{be(e)?e.forEach(n=>n(...t)):e&&e(...t)},of=e=>e?be(e)?e.some(t=>t.length>1):e.length>1:!1;function ag(e){const t={};for(const J in e)J in og||(t[J]=e[J]);if(e.css===!1)return t;const{name:n="v",type:r,duration:s,enterFromClass:o=`${n}-enter-from`,enterActiveClass:a=`${n}-enter-active`,enterToClass:i=`${n}-enter-to`,appearFromClass:l=o,appearActiveClass:c=a,appearToClass:d=i,leaveFromClass:f=`${n}-leave-from`,leaveActiveClass:m=`${n}-leave-active`,leaveToClass:p=`${n}-leave-to`}=e,h=j0(s),_=h&&h[0],z=h&&h[1],{onBeforeEnter:v,onEnter:b,onEnterCancelled:k,onLeave:C,onLeaveCancelled:x,onBeforeAppear:T=v,onAppear:N=b,onAppearCancelled:D=k}=t,I=(J,U,H)=>{Pr(J,U?d:i),Pr(J,U?c:a),H&&H()},j=(J,U)=>{J._isLeaving=!1,Pr(J,f),Pr(J,p),Pr(J,m),U&&U()},K=J=>(U,H)=>{const he=J?N:b,ee=()=>I(U,J,H);es(he,[U,ee]),af(()=>{Pr(U,J?l:o),pr(U,J?d:i),of(he)||lf(U,r,_,ee)})};return pt(t,{onBeforeEnter(J){es(v,[J]),pr(J,o),pr(J,a)},onBeforeAppear(J){es(T,[J]),pr(J,l),pr(J,c)},onEnter:K(!1),onAppear:K(!0),onLeave(J,U){J._isLeaving=!0;const H=()=>j(J,U);pr(J,f),lg(),pr(J,m),af(()=>{J._isLeaving&&(Pr(J,f),pr(J,p),of(C)||lf(J,r,z,H))}),es(C,[J,H])},onEnterCancelled(J){I(J,!1),es(k,[J])},onAppearCancelled(J){I(J,!0),es(D,[J])},onLeaveCancelled(J){j(J),es(x,[J])}})}function j0(e){if(e==null)return null;if(ut(e))return[vu(e.enter),vu(e.leave)];{const t=vu(e);return[t,t]}}function vu(e){return rl(e)}function pr(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e._vtc||(e._vtc=new Set)).add(t)}function Pr(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.remove(r));const{_vtc:n}=e;n&&(n.delete(t),n.size||(e._vtc=void 0))}function af(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let U0=0;function lf(e,t,n,r){const s=e._endId=++U0,o=()=>{s===e._endId&&r()};if(n)return setTimeout(o,n);const{type:a,timeout:i,propCount:l}=ig(e,t);if(!a)return r();const c=a+"end";let d=0;const f=()=>{e.removeEventListener(c,m),o()},m=p=>{p.target===e&&++d>=l&&f()};setTimeout(()=>{d<l&&f()},i+1),e.addEventListener(c,m)}function ig(e,t){const n=window.getComputedStyle(e),r=h=>(n[h]||"").split(", "),s=r(`${Sr}Delay`),o=r(`${Sr}Duration`),a=uf(s,o),i=r(`${go}Delay`),l=r(`${go}Duration`),c=uf(i,l);let d=null,f=0,m=0;t===Sr?a>0&&(d=Sr,f=a,m=o.length):t===go?c>0&&(d=go,f=c,m=l.length):(f=Math.max(a,c),d=f>0?a>c?Sr:go:null,m=d?d===Sr?o.length:l.length:0);const p=d===Sr&&/\b(transform|all)(,|$)/.test(r(`${Sr}Property`).toString());return{type:d,timeout:f,propCount:m,hasTransform:p}}function uf(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((n,r)=>cf(n)+cf(e[r])))}function cf(e){return Number(e.slice(0,-1).replace(",","."))*1e3}function lg(){return document.body.offsetHeight}const ug=new WeakMap,cg=new WeakMap,dg={name:"TransitionGroup",props:pt({},H0,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=Tn(),r=Ed();let s,o;return Ml(()=>{if(!s.length)return;const a=e.moveClass||`${e.name||"v"}-move`;if(!Y0(s[0].el,n.vnode.el,a))return;s.forEach(G0),s.forEach(K0);const i=s.filter(Z0);lg(),i.forEach(l=>{const c=l.el,d=c.style;pr(c,a),d.transform=d.webkitTransform=d.transitionDuration="";const f=c._moveCb=m=>{m&&m.target!==c||(!m||/transform$/.test(m.propertyName))&&(c.removeEventListener("transitionend",f),c._moveCb=null,Pr(c,a))};c.addEventListener("transitionend",f)})}),()=>{const a=Ze(e),i=ag(a);let l=a.tag||Ce;s=o,o=t.default?Rl(t.default()):[];for(let c=0;c<o.length;c++){const d=o[c];d.key!=null&&_s(d,Ys(d,i,r,n))}if(s)for(let c=0;c<s.length;c++){const d=s[c];_s(d,Ys(d,i,r,n)),ug.set(d,d.el.getBoundingClientRect())}return y(l,null,o)}}},q0=e=>delete e.mode;dg.props;const W0=dg;function G0(e){const t=e.el;t._moveCb&&t._moveCb(),t._enterCb&&t._enterCb()}function K0(e){cg.set(e,e.el.getBoundingClientRect())}function Z0(e){const t=ug.get(e),n=cg.get(e),r=t.left-n.left,s=t.top-n.top;if(r||s){const o=e.el.style;return o.transform=o.webkitTransform=`translate(${r}px,${s}px)`,o.transitionDuration="0s",e}}function Y0(e,t,n){const r=e.cloneNode();e._vtc&&e._vtc.forEach(a=>{a.split(/\s+/).forEach(i=>i&&r.classList.remove(i))}),n.split(/\s+/).forEach(a=>a&&r.classList.add(a)),r.style.display="none";const s=t.nodeType===1?t:t.parentNode;s.appendChild(r);const{hasTransform:o}=ig(r);return s.removeChild(r),o}const Zr=e=>{const t=e.props["onUpdate:modelValue"]||!1;return be(t)?n=>js(t,n):t};function J0(e){e.target.composing=!0}function df(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const an={created(e,{modifiers:{lazy:t,trim:n,number:r}},s){e._assign=Zr(s);const o=r||s.props&&s.props.type==="number";_r(e,t?"change":"input",a=>{if(a.target.composing)return;let i=e.value;n&&(i=i.trim()),o&&(i=nl(i)),e._assign(i)}),n&&_r(e,"change",()=>{e.value=e.value.trim()}),t||(_r(e,"compositionstart",J0),_r(e,"compositionend",df),_r(e,"change",df))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,modifiers:{lazy:n,trim:r,number:s}},o){if(e._assign=Zr(o),e.composing||document.activeElement===e&&e.type!=="range"&&(n||r&&e.value.trim()===t||(s||e.type==="number")&&nl(e.value)===t))return;const a=t??"";e.value!==a&&(e.value=a)}},ir={deep:!0,created(e,t,n){e._assign=Zr(n),_r(e,"change",()=>{const r=e._modelValue,s=Xs(e),o=e.checked,a=e._assign;if(be(r)){const i=Sl(r,s),l=i!==-1;if(o&&!l)a(r.concat(s));else if(!o&&l){const c=[...r];c.splice(i,1),a(c)}}else if(ys(r)){const i=new Set(r);o?i.add(s):i.delete(s),a(i)}else a(mg(e,o))})},mounted:mf,beforeUpdate(e,t,n){e._assign=Zr(n),mf(e,t,n)}};function mf(e,{value:t,oldValue:n},r){e._modelValue=t,be(t)?e.checked=Sl(t,r.props.value)>-1:ys(t)?e.checked=t.has(r.props.value):t!==n&&(e.checked=Ur(t,mg(e,!0)))}const Rd={created(e,{value:t},n){e.checked=Ur(t,n.props.value),e._assign=Zr(n),_r(e,"change",()=>{e._assign(Xs(e))})},beforeUpdate(e,{value:t,oldValue:n},r){e._assign=Zr(r),t!==n&&(e.checked=Ur(t,r.props.value))}},Ld={deep:!0,created(e,{value:t,modifiers:{number:n}},r){const s=ys(t);_r(e,"change",()=>{const o=Array.prototype.filter.call(e.options,a=>a.selected).map(a=>n?nl(Xs(a)):Xs(a));e._assign(e.multiple?s?new Set(o):o:o[0])}),e._assign=Zr(r)},mounted(e,{value:t}){ff(e,t)},beforeUpdate(e,t,n){e._assign=Zr(n)},updated(e,{value:t}){ff(e,t)}};function ff(e,t){const n=e.multiple;if(!(n&&!be(t)&&!ys(t))){for(let r=0,s=e.options.length;r<s;r++){const o=e.options[r],a=Xs(o);if(n)be(t)?o.selected=Sl(t,a)>-1:o.selected=t.has(a);else if(Ur(Xs(o),t)){e.selectedIndex!==r&&(e.selectedIndex=r);return}}!n&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function Xs(e){return"_value"in e?e._value:e.value}function mg(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const fg={created(e,t,n){Ya(e,t,n,null,"created")},mounted(e,t,n){Ya(e,t,n,null,"mounted")},beforeUpdate(e,t,n,r){Ya(e,t,n,r,"beforeUpdate")},updated(e,t,n,r){Ya(e,t,n,r,"updated")}};function pg(e,t){switch(e){case"SELECT":return Ld;case"TEXTAREA":return an;default:switch(t){case"checkbox":return ir;case"radio":return Rd;default:return an}}}function Ya(e,t,n,r,s){const a=pg(e.tagName,n.props&&n.props.type)[s];a&&a(e,t,n,r)}function X0(){an.getSSRProps=({value:e})=>({value:e}),Rd.getSSRProps=({value:e},t)=>{if(t.props&&Ur(t.props.value,e))return{checked:!0}},ir.getSSRProps=({value:e},t)=>{if(be(e)){if(t.props&&Sl(e,t.props.value)>-1)return{checked:!0}}else if(ys(e)){if(t.props&&e.has(t.props.value))return{checked:!0}}else if(e)return{checked:!0}},fg.getSSRProps=(e,t)=>{if(typeof t.type!="string")return;const n=pg(t.type.toUpperCase(),t.props&&t.props.type);if(n.getSSRProps)return n.getSSRProps(e,t)}}const Q0=["ctrl","shift","alt","meta"],eC={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>Q0.some(n=>e[`${n}Key`]&&!t.includes(n))},nt=(e,t)=>(n,...r)=>{for(let s=0;s<t.length;s++){const o=eC[t[s]];if(o&&o(n,t))return}return e(n,...r)},tC={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},tn=(e,t)=>n=>{if(!("key"in n))return;const r=xn(n.key);if(t.some(s=>s===r||tC[s]===r))return e(n)},fa={beforeMount(e,{value:t},{transition:n}){e._vod=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):yo(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:r}){!t!=!n&&(r?t?(r.beforeEnter(e),yo(e,!0),r.enter(e)):r.leave(e,()=>{yo(e,!1)}):yo(e,t))},beforeUnmount(e,{value:t}){yo(e,t)}};function yo(e,t){e.style.display=t?e._vod:"none"}function nC(){fa.getSSRProps=({value:e})=>{if(!e)return{style:{display:"none"}}}}const hg=pt({patchProp:R0},w0);let Wo,pf=!1;function _g(){return Wo||(Wo=B_(hg))}function gg(){return Wo=pf?Wo:H_(hg),pf=!0,Wo}const yc=(...e)=>{_g().render(...e)},yg=(...e)=>{gg().hydrate(...e)},vg=(...e)=>{const t=_g().createApp(...e),{mount:n}=t;return t.mount=r=>{const s=bg(r);if(!s)return;const o=t._component;!Ae(o)&&!o.render&&!o.template&&(o.template=s.innerHTML),s.innerHTML="";const a=n(s,!1,s instanceof SVGElement);return s instanceof Element&&(s.removeAttribute("v-cloak"),s.setAttribute("data-v-app","")),a},t},rC=(...e)=>{const t=gg().createApp(...e),{mount:n}=t;return t.mount=r=>{const s=bg(r);if(s)return n(s,!0,s instanceof SVGElement)},t};function bg(e){return zt(e)?document.querySelector(e):e}let hf=!1;const sC=()=>{hf||(hf=!0,X0(),nC())},oC=()=>{},aC=Object.freeze(Object.defineProperty({__proto__:null,BaseTransition:v_,BaseTransitionPropsValidators:Sd,Comment:jt,EffectScope:dd,Fragment:Ce,KeepAlive:wz,ReactiveEffect:Ca,Static:ms,Suspense:mz,Teleport:Yr,Text:Wr,Transition:Dt,TransitionGroup:W0,VueElement:Hl,assertNumber:ez,callWithAsyncErrorHandling:gn,callWithErrorHandling:yr,camelize:sn,capitalize:za,cloneVNode:ar,compatUtils:z0,compile:oC,computed:Ft,createApp:vg,createBlock:ce,createCommentVNode:V,createElementBlock:$,createElementVNode:u,createHydrationRenderer:H_,createPropsRestProxy:Vz,createRenderer:B_,createSSRApp:rC,createSlots:Sa,createStaticVNode:l0,createTextVNode:tt,createVNode:y,customRef:Wb,defineAsyncComponent:zz,defineComponent:lo,defineCustomElement:sg,defineEmits:Az,defineExpose:Tz,defineModel:Pz,defineOptions:Oz,defineProps:$z,defineSSRCustomElement:M0,defineSlots:Dz,get devtools(){return Ds},effect:mb,effectScope:md,getCurrentInstance:Tn,getCurrentScope:qh,getTransitionRawChildren:Rl,guardReactiveProps:K_,h:er,handleError:vs,hasInjectionContext:Zz,hydrate:yg,initCustomFormatter:_0,initDirectivesForSSR:sC,inject:Hn,isMemoSame:ng,isProxy:gd,isReactive:cs,isReadonly:hs,isRef:Ot,isRuntimeOnly:f0,isShallow:oa,isVNode:Gr,markRaw:yd,mergeDefaults:Mz,mergeModels:Nz,mergeProps:Ls,nextTick:wa,normalizeClass:ke,normalizeProps:To,normalizeStyle:ur,onActivated:z_,onBeforeMount:k_,onBeforeUnmount:Nl,onBeforeUpdate:x_,onDeactivated:C_,onErrorCaptured:A_,onMounted:uo,onRenderTracked:$_,onRenderTriggered:S_,onScopeDispose:ub,onServerPrefetch:E_,onUnmounted:Ea,onUpdated:Ml,openBlock:w,popScopeId:f_,provide:jo,proxyRefs:zd,pushScopeId:m_,queuePostFlushCb:wd,reactive:io,readonly:_d,ref:Wt,registerRuntimeCompiler:m0,render:yc,renderList:at,renderSlot:st,resolveComponent:S,resolveDirective:Ad,resolveDynamicComponent:O_,resolveFilter:b0,resolveTransitionHooks:Ys,setBlockTracking:dc,setDevtoolsHook:c_,setTransitionHooks:_s,shallowReactive:hd,shallowReadonly:Vb,shallowRef:s_,ssrContextKey:eg,ssrUtils:v0,stop:fb,toDisplayString:g,toHandlerKey:Bo,toHandlers:Ez,toRaw:Ze,toRef:Yb,toRefs:Gb,toValue:jb,transformVNodeArgs:a0,triggerRef:Hb,unref:pn,useAttrs:Rz,useCssModule:V0,useCssVars:B0,useModel:Lz,useSSRContext:tg,useSlots:Fz,useTransitionState:Ed,vModelCheckbox:ir,vModelDynamic:fg,vModelRadio:Rd,vModelSelect:Ld,vModelText:an,vShow:fa,version:rg,warn:Qb,watch:Zt,watchEffect:__,watchPostEffect:g_,watchSyncEffect:yz,withAsyncContext:Bz,withCtx:E,withDefaults:Iz,withDirectives:bt,withKeys:tn,withMemo:g0,withModifiers:nt,withScopeId:az},Symbol.toStringTag,{value:"Module"})),te=(e,t)=>{const n=e.__vccOpts||e;for(const[r,s]of t)n[r]=s;return n},iC={name:"NavbarItemLink",props:{to:Object,exact:Boolean},computed:{is_active(){return this.exact?this.$route.path===this.to:this.$route.path.startsWith(this.to)},show_player_menu:{get(){return this.$store.state.show_player_menu},set(e){this.$store.commit(Ks,e)}},show_burger_menu:{get(){return this.$store.state.show_burger_menu},set(e){this.$store.commit(Gs,e)}}},methods:{open_link(){this.show_burger_menu&&this.$store.commit(Gs,!1),this.show_player_menu&&this.$store.commit(Ks,!1),this.$router.push(this.to)},full_path(){return this.$router.resolve(this.to).href}}},lC=["href"];function uC(e,t,n,r,s,o){return w(),$("a",{class:ke(["navbar-item",{"is-active":o.is_active}]),href:o.full_path(),onClick:t[0]||(t[0]=nt(a=>o.open_link(),["stop","prevent"]))},[st(e.$slots,"default")],10,lC)}const zg=te(iC,[["render",uC]]),cC={name:"NavbarTop",components:{NavbarItemLink:zg},data(){return{show_settings_menu:!1}},computed:{is_visible_playlists(){return this.$store.getters.settings_option("webinterface","show_menu_item_playlists").value},is_visible_music(){return this.$store.getters.settings_option("webinterface","show_menu_item_music").value},is_visible_podcasts(){return this.$store.getters.settings_option("webinterface","show_menu_item_podcasts").value},is_visible_audiobooks(){return this.$store.getters.settings_option("webinterface","show_menu_item_audiobooks").value},is_visible_radio(){return this.$store.getters.settings_option("webinterface","show_menu_item_radio").value},is_visible_files(){return this.$store.getters.settings_option("webinterface","show_menu_item_files").value},is_visible_search(){return this.$store.getters.settings_option("webinterface","show_menu_item_search").value},player(){return this.$store.state.player},config(){return this.$store.state.config},library(){return this.$store.state.library},audiobooks(){return this.$store.state.audiobooks_count},podcasts(){return this.$store.state.podcasts_count},spotify_enabled(){return this.$store.state.spotify.webapi_token_valid},show_burger_menu:{get(){return this.$store.state.show_burger_menu},set(e){this.$store.commit(Gs,e)}},show_player_menu(){return this.$store.state.show_player_menu},show_update_dialog:{get(){return this.$store.state.show_update_dialog},set(e){this.$store.commit(va,e)}},search_name:{get(){return"search-"+this.$store.state.search_source}},zindex(){return this.show_player_menu?"z-index: 20":""}},watch:{$route(e,t){this.show_settings_menu=!1}},methods:{on_click_outside_settings(){this.show_settings_menu=!this.show_settings_menu},open_update_dialog(){this.show_update_dialog=!0,this.show_settings_menu=!1,this.show_burger_menu=!1}}},dC={class:"navbar-brand"},mC=u("span",null,null,-1),fC=u("span",null,null,-1),pC=u("span",null,null,-1),hC=[mC,fC,pC],_C=u("div",{class:"navbar-start"},null,-1),gC={class:"navbar-end"},yC={class:"navbar-link is-arrowless"},vC=["textContent"],bC={class:"navbar-dropdown is-right"},zC=["textContent"],CC=["textContent"],wC=["textContent"],kC=["textContent"],xC=["textContent"],EC=["textContent"],SC=["textContent"],$C=["textContent"],AC=["textContent"],TC=["textContent"],OC=["textContent"],DC=u("hr",{class:"my-3"},null,-1),PC=["textContent"],IC=u("div",{class:"navbar-item is-hidden-desktop"},null,-1);function FC(e,t,n,r,s,o){const a=S("mdicon"),i=S("navbar-item-link");return w(),$("nav",{class:"navbar is-light is-fixed-top",style:ur(o.zindex),role:"navigation","aria-label":"main navigation"},[u("div",dC,[o.is_visible_playlists?(w(),ce(i,{key:0,to:{name:"playlists"}},{default:E(()=>[y(a,{class:"icon",name:"music-box-multiple",size:"16"})]),_:1})):V("",!0),o.is_visible_music?(w(),ce(i,{key:1,to:{name:"music"}},{default:E(()=>[y(a,{class:"icon",name:"music",size:"16"})]),_:1})):V("",!0),o.is_visible_podcasts?(w(),ce(i,{key:2,to:{name:"podcasts"}},{default:E(()=>[y(a,{class:"icon",name:"microphone",size:"16"})]),_:1})):V("",!0),o.is_visible_audiobooks?(w(),ce(i,{key:3,to:{name:"audiobooks"}},{default:E(()=>[y(a,{class:"icon",name:"book-open-variant",size:"16"})]),_:1})):V("",!0),o.is_visible_radio?(w(),ce(i,{key:4,to:{name:"radio"}},{default:E(()=>[y(a,{class:"icon",name:"radio",size:"16"})]),_:1})):V("",!0),o.is_visible_files?(w(),ce(i,{key:5,to:{name:"files"}},{default:E(()=>[y(a,{class:"icon",name:"folder-open",size:"16"})]),_:1})):V("",!0),o.is_visible_search?(w(),ce(i,{key:6,to:{name:o.search_name}},{default:E(()=>[y(a,{class:"icon",name:"magnify",size:"16"})]),_:1},8,["to"])):V("",!0),u("div",{class:ke(["navbar-burger",{"is-active":o.show_burger_menu}]),onClick:t[0]||(t[0]=l=>o.show_burger_menu=!o.show_burger_menu)},hC,2)]),u("div",{class:ke(["navbar-menu",{"is-active":o.show_burger_menu}])},[_C,u("div",gC,[u("div",{class:ke(["navbar-item has-dropdown is-hoverable",{"is-active":s.show_settings_menu}]),onClick:t[2]||(t[2]=(...l)=>o.on_click_outside_settings&&o.on_click_outside_settings(...l))},[u("a",yC,[y(a,{class:"icon is-hidden-touch",name:"menu",size:"24"}),u("span",{class:"is-hidden-desktop has-text-weight-bold",textContent:g(e.$t("navigation.title"))},null,8,vC)]),u("div",bC,[y(i,{to:{name:"playlists"}},{default:E(()=>[y(a,{class:"icon",name:"music-box-multiple",size:"16"}),u("b",{textContent:g(e.$t("navigation.playlists"))},null,8,zC)]),_:1}),y(i,{to:{name:"music"},exact:""},{default:E(()=>[y(a,{class:"icon",name:"music",size:"16"}),u("b",{textContent:g(e.$t("navigation.music"))},null,8,CC)]),_:1}),y(i,{to:{name:"music-artists"}},{default:E(()=>[u("span",{class:"pl-5",textContent:g(e.$t("navigation.artists"))},null,8,wC)]),_:1}),y(i,{to:{name:"music-albums"}},{default:E(()=>[u("span",{class:"pl-5",textContent:g(e.$t("navigation.albums"))},null,8,kC)]),_:1}),y(i,{to:{name:"music-genres"}},{default:E(()=>[u("span",{class:"pl-5",textContent:g(e.$t("navigation.genres"))},null,8,xC)]),_:1}),o.spotify_enabled?(w(),ce(i,{key:0,to:{name:"music-spotify"}},{default:E(()=>[u("span",{class:"pl-5",textContent:g(e.$t("navigation.spotify"))},null,8,EC)]),_:1})):V("",!0),y(i,{to:{name:"podcasts"}},{default:E(()=>[y(a,{class:"icon",name:"microphone",size:"16"}),u("b",{textContent:g(e.$t("navigation.podcasts"))},null,8,SC)]),_:1}),y(i,{to:{name:"audiobooks"}},{default:E(()=>[y(a,{class:"icon",name:"book-open-variant",size:"16"}),u("b",{textContent:g(e.$t("navigation.audiobooks"))},null,8,$C)]),_:1}),y(i,{to:{name:"radio"}},{default:E(()=>[y(a,{class:"icon",name:"radio",size:"16"}),u("b",{textContent:g(e.$t("navigation.radio"))},null,8,AC)]),_:1}),y(i,{to:{name:"files"}},{default:E(()=>[y(a,{class:"icon",name:"folder-open",size:"16"}),u("b",{textContent:g(e.$t("navigation.files"))},null,8,TC)]),_:1}),y(i,{to:{name:o.search_name}},{default:E(()=>[y(a,{class:"icon",name:"magnify",size:"16"}),u("b",{textContent:g(e.$t("navigation.search"))},null,8,OC)]),_:1},8,["to"]),DC,y(i,{to:{name:"settings-webinterface"}},{default:E(()=>[tt(g(e.$t("navigation.settings")),1)]),_:1}),u("a",{class:"navbar-item",onClick:t[1]||(t[1]=nt(l=>o.open_update_dialog(),["stop","prevent"])),textContent:g(e.$t("navigation.update-library"))},null,8,PC),y(i,{to:{name:"about"}},{default:E(()=>[tt(g(e.$t("navigation.about")),1)]),_:1}),IC])],2)])],2),bt(u("div",{class:"is-overlay",onClick:t[3]||(t[3]=l=>s.show_settings_menu=!1)},null,512),[[fa,s.show_settings_menu]])],4)}const RC=te(cC,[["render",FC]]),vo={_audio:new Audio,_context:null,_source:null,_gain:null,setupAudio(){const e=window.AudioContext||window.webkitAudioContext;return this._context=new e,this._source=this._context.createMediaElementSource(this._audio),this._gain=this._context.createGain(),this._source.connect(this._gain),this._gain.connect(this._context.destination),this._audio.addEventListener("canplaythrough",t=>{this._audio.play()}),this._audio.addEventListener("canplay",t=>{this._audio.play()}),this._audio},setVolume(e){this._gain&&(e=parseFloat(e)||0,e=e<0?0:e,e=e>1?1:e,this._gain.gain.value=e)},playSource(e){this.stopAudio(),this._context.resume().then(()=>{this._audio.src=String(e||"")+"?x="+Date.now(),this._audio.crossOrigin="anonymous",this._audio.load()})},stopAudio(){try{this._audio.pause()}catch{}try{this._audio.stop()}catch{}try{this._audio.close()}catch{}}},LC={name:"ControlSlider",props:["value","max","disabled","cursor"],emits:["update:value"],computed:{ratio(){return this.value/this.max}}},MC=["value","disabled","max"];function NC(e,t,n,r,s,o){return w(),$("input",{value:n.value,disabled:n.disabled,class:ke(["slider",{"is-inactive":n.disabled}]),max:n.max,type:"range",style:ur({"--ratio":o.ratio,"--cursor":e.$filters.cursor(n.cursor)}),onInput:t[0]||(t[0]=a=>e.$emit("update:value",a.target.value))},null,46,MC)}const Md=te(LC,[["render",NC]]);var VC="M11,14C12,14 13.05,14.16 14.2,14.44C13.39,15.31 13,16.33 13,17.5C13,18.39 13.25,19.23 13.78,20H3V18C3,16.81 3.91,15.85 5.74,15.12C7.57,14.38 9.33,14 11,14M11,12C9.92,12 9,11.61 8.18,10.83C7.38,10.05 7,9.11 7,8C7,6.92 7.38,6 8.18,5.18C9,4.38 9.92,4 11,4C12.11,4 13.05,4.38 13.83,5.18C14.61,6 15,6.92 15,8C15,9.11 14.61,10.05 13.83,10.83C13.05,11.61 12.11,12 11,12M18.5,10H20L22,10V12H20V17.5A2.5,2.5 0 0,1 17.5,20A2.5,2.5 0 0,1 15,17.5A2.5,2.5 0 0,1 17.5,15C17.86,15 18.19,15.07 18.5,15.21V10Z",BC="M12,11A1,1 0 0,0 11,12A1,1 0 0,0 12,13A1,1 0 0,0 13,12A1,1 0 0,0 12,11M12,16.5C9.5,16.5 7.5,14.5 7.5,12C7.5,9.5 9.5,7.5 12,7.5C14.5,7.5 16.5,9.5 16.5,12C16.5,14.5 14.5,16.5 12,16.5M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2Z",HC="M13 14H11V9H13M13 18H11V16H13M1 21H23L12 2L1 21Z",jC="M19.92,12.08L12,20L4.08,12.08L5.5,10.67L11,16.17V2H13V16.17L18.5,10.66L19.92,12.08M12,20H2V22H22V20H12Z",UC="M19 2L14 6.5V17.5L19 13V2M6.5 5C4.55 5 2.45 5.4 1 6.5V21.16C1 21.41 1.25 21.66 1.5 21.66C1.6 21.66 1.65 21.59 1.75 21.59C3.1 20.94 5.05 20.5 6.5 20.5C8.45 20.5 10.55 20.9 12 22C13.35 21.15 15.8 20.5 17.5 20.5C19.15 20.5 20.85 20.81 22.25 21.56C22.35 21.61 22.4 21.59 22.5 21.59C22.75 21.59 23 21.34 23 21.09V6.5C22.4 6.05 21.75 5.75 21 5.5V19C19.9 18.65 18.7 18.5 17.5 18.5C15.8 18.5 13.35 19.15 12 20V6.5C10.55 5.4 8.45 5 6.5 5Z",qC="M17.5 14.33C18.29 14.33 19.13 14.41 20 14.57V16.07C19.38 15.91 18.54 15.83 17.5 15.83C15.6 15.83 14.11 16.16 13 16.82V15.13C14.17 14.6 15.67 14.33 17.5 14.33M13 12.46C14.29 11.93 15.79 11.67 17.5 11.67C18.29 11.67 19.13 11.74 20 11.9V13.4C19.38 13.24 18.54 13.16 17.5 13.16C15.6 13.16 14.11 13.5 13 14.15M17.5 10.5C15.6 10.5 14.11 10.82 13 11.5V9.84C14.23 9.28 15.73 9 17.5 9C18.29 9 19.13 9.08 20 9.23V10.78C19.26 10.59 18.41 10.5 17.5 10.5M21 18.5V7C19.96 6.67 18.79 6.5 17.5 6.5C15.45 6.5 13.62 7 12 8V19.5C13.62 18.5 15.45 18 17.5 18C18.69 18 19.86 18.16 21 18.5M17.5 4.5C19.85 4.5 21.69 5 23 6V20.56C23 20.68 22.95 20.8 22.84 20.91C22.73 21 22.61 21.08 22.5 21.08C22.39 21.08 22.31 21.06 22.25 21.03C20.97 20.34 19.38 20 17.5 20C15.45 20 13.62 20.5 12 21.5C10.66 20.5 8.83 20 6.5 20C4.84 20 3.25 20.36 1.75 21.07C1.72 21.08 1.68 21.08 1.63 21.1C1.59 21.11 1.55 21.12 1.5 21.12C1.39 21.12 1.27 21.08 1.16 21C1.05 20.89 1 20.78 1 20.65V6C2.34 5 4.18 4.5 6.5 4.5C8.83 4.5 10.66 5 12 6C13.34 5 15.17 4.5 17.5 4.5Z",WC="M9 3V18H12V3H9M12 5L16 18L19 17L15 4L12 5M5 5V18H8V5H5M3 19V21H21V19H3Z",GC="M12 10C10.9 10 10 10.9 10 12S10.9 14 12 14 14 13.1 14 12 13.1 10 12 10M18 12C18 8.7 15.3 6 12 6S6 8.7 6 12C6 14.2 7.2 16.1 9 17.2L10 15.5C8.8 14.8 8 13.5 8 12.1C8 9.9 9.8 8.1 12 8.1S16 9.9 16 12.1C16 13.6 15.2 14.9 14 15.5L15 17.2C16.8 16.2 18 14.2 18 12M12 2C6.5 2 2 6.5 2 12C2 15.7 4 18.9 7 20.6L8 18.9C5.6 17.5 4 14.9 4 12C4 7.6 7.6 4 12 4S20 7.6 20 12C20 15 18.4 17.5 16 18.9L17 20.6C20 18.9 22 15.7 22 12C22 6.5 17.5 2 12 2Z",jl="M12 2C17.5 2 22 6.5 22 12S17.5 22 12 22 2 17.5 2 12 6.5 2 12 2M12 4C10.1 4 8.4 4.6 7.1 5.7L18.3 16.9C19.3 15.5 20 13.8 20 12C20 7.6 16.4 4 12 4M16.9 18.3L5.7 7.1C4.6 8.4 4 10.1 4 12C4 16.4 7.6 20 12 20C13.9 20 15.6 19.4 16.9 18.3Z",KC="M1,10V12A9,9 0 0,1 10,21H12C12,14.92 7.07,10 1,10M1,14V16A5,5 0 0,1 6,21H8A7,7 0 0,0 1,14M1,18V21H4A3,3 0 0,0 1,18M21,3H3C1.89,3 1,3.89 1,5V8H3V5H21V19H14V21H21A2,2 0 0,0 23,19V5C23,3.89 22.1,3 21,3Z",ZC="M6,22H18L12,16M21,3H3A2,2 0 0,0 1,5V17A2,2 0 0,0 3,19H7V17H3V5H21V17H17V19H21A2,2 0 0,0 23,17V5A2,2 0 0,0 21,3Z",YC="M17,19H7V5H17M17,1H7C5.89,1 5,1.89 5,3V21A2,2 0 0,0 7,23H17A2,2 0 0,0 19,21V3C19,1.89 18.1,1 17,1Z",JC="M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z",XC="M7.41,8.58L12,13.17L16.59,8.58L18,10L12,16L6,10L7.41,8.58Z",QC="M7.41,15.41L12,10.83L16.59,15.41L18,14L12,8L6,14L7.41,15.41Z",ew="M15,9H5V5H15M12,19A3,3 0 0,1 9,16A3,3 0 0,1 12,13A3,3 0 0,1 15,16A3,3 0 0,1 12,19M17,3H5C3.89,3 3,3.9 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V7L17,3Z",tw="M19,4H15.5L14.5,3H9.5L8.5,4H5V6H19M6,19A2,2 0 0,0 8,21H16A2,2 0 0,0 18,19V7H6V19Z",nw="M20.37,8.91L19.37,10.64L7.24,3.64L8.24,1.91L11.28,3.66L12.64,3.29L16.97,5.79L17.34,7.16L20.37,8.91M6,19V7H11.07L18,11V19A2,2 0 0,1 16,21H8A2,2 0 0,1 6,19Z",rw="M16,12A2,2 0 0,1 18,10A2,2 0 0,1 20,12A2,2 0 0,1 18,14A2,2 0 0,1 16,12M10,12A2,2 0 0,1 12,10A2,2 0 0,1 14,12A2,2 0 0,1 12,14A2,2 0 0,1 10,12M4,12A2,2 0 0,1 6,10A2,2 0 0,1 8,12A2,2 0 0,1 6,14A2,2 0 0,1 4,12Z",sw="M12,16A2,2 0 0,1 14,18A2,2 0 0,1 12,20A2,2 0 0,1 10,18A2,2 0 0,1 12,16M12,10A2,2 0 0,1 14,12A2,2 0 0,1 12,14A2,2 0 0,1 10,12A2,2 0 0,1 12,10M12,4A2,2 0 0,1 14,6A2,2 0 0,1 12,8A2,2 0 0,1 10,6A2,2 0 0,1 12,4Z",ow="M3,15V13H5V15H3M3,11V9H5V11H3M7,15V13H9V15H7M7,11V9H9V11H7M11,15V13H13V15H11M11,11V9H13V11H11M15,15V13H17V15H15M15,11V9H17V11H15M19,15V13H21V15H19M19,11V9H21V11H19Z",aw="M11.5,3C6.85,3 2.92,6.03 1.53,10.22L3.9,11C4.95,7.81 7.96,5.5 11.5,5.5C13.46,5.5 15.23,6.22 16.62,7.38L14,10H21V3L18.4,5.6C16.55,4 14.15,3 11.5,3M19,14V20C19,21.11 18.11,22 17,22H15A2,2 0 0,1 13,20V14A2,2 0 0,1 15,12H17C18.11,12 19,12.9 19,14M15,14V20H17V14H15M11,20C11,21.11 10.1,22 9,22H5V20H9V18H7V16H9V14H5V12H9A2,2 0 0,1 11,14V15.5A1.5,1.5 0 0,1 9.5,17A1.5,1.5 0 0,1 11,18.5V20Z",iw="M14,2H6A2,2 0 0,0 4,4V20A2,2 0 0,0 6,22H18A2,2 0 0,0 20,20V8L14,2M13,13H11V18A2,2 0 0,1 9,20A2,2 0 0,1 7,18A2,2 0 0,1 9,16C9.4,16 9.7,16.1 10,16.3V11H13V13M13,9V3.5L18.5,9H13Z",lw="M14,2H6A2,2 0 0,0 4,4V20A2,2 0 0,0 6,22H18A2,2 0 0,0 20,20V8L14,2M18,20H6V4H13V9H18V20Z",uw="M17.66 11.2C17.43 10.9 17.15 10.64 16.89 10.38C16.22 9.78 15.46 9.35 14.82 8.72C13.33 7.26 13 4.85 13.95 3C13 3.23 12.17 3.75 11.46 4.32C8.87 6.4 7.85 10.07 9.07 13.22C9.11 13.32 9.15 13.42 9.15 13.55C9.15 13.77 9 13.97 8.8 14.05C8.57 14.15 8.33 14.09 8.14 13.93C8.08 13.88 8.04 13.83 8 13.76C6.87 12.33 6.69 10.28 7.45 8.64C5.78 10 4.87 12.3 5 14.47C5.06 14.97 5.12 15.47 5.29 15.97C5.43 16.57 5.7 17.17 6 17.7C7.08 19.43 8.95 20.67 10.96 20.92C13.1 21.19 15.39 20.8 17.03 19.32C18.86 17.66 19.5 15 18.56 12.72L18.43 12.46C18.22 12 17.66 11.2 17.66 11.2M14.5 17.5C14.22 17.74 13.76 18 13.4 18.1C12.28 18.5 11.16 17.94 10.5 17.28C11.69 17 12.4 16.12 12.61 15.23C12.78 14.43 12.46 13.77 12.33 13C12.21 12.26 12.23 11.63 12.5 10.94C12.69 11.32 12.89 11.7 13.13 12C13.9 13 15.11 13.44 15.37 14.8C15.41 14.94 15.43 15.08 15.43 15.23C15.46 16.05 15.1 16.95 14.5 17.5H14.5Z",cw="M10,4H4C2.89,4 2,4.89 2,6V18A2,2 0 0,0 4,20H20A2,2 0 0,0 22,18V8C22,6.89 21.1,6 20,6H12L10,4Z",dw="M19,20H4C2.89,20 2,19.1 2,18V6C2,4.89 2.89,4 4,4H10L12,6H19A2,2 0 0,1 21,8H21L4,8V18L6.14,10H23.21L20.93,18.5C20.7,19.37 19.92,20 19,20Z",mw="M13.5,8H12V13L16.28,15.54L17,14.33L13.5,12.25V8M13,3A9,9 0 0,0 4,12H1L4.96,16.03L9,12H6A7,7 0 0,1 13,5A7,7 0 0,1 20,12A7,7 0 0,1 13,19C11.07,19 9.32,18.21 8.06,16.94L6.64,18.36C8.27,20 10.5,21 13,21A9,9 0 0,0 22,12A9,9 0 0,0 13,3",fw="M9.5,3A6.5,6.5 0 0,1 16,9.5C16,11.11 15.41,12.59 14.44,13.73L14.71,14H15.5L20.5,19L19,20.5L14,15.5V14.71L13.73,14.44C12.59,15.41 11.11,16 9.5,16A6.5,6.5 0 0,1 3,9.5A6.5,6.5 0 0,1 9.5,3M9.5,5C7,5 5,7 5,9.5C5,12 7,14 9.5,14C12,14 14,12 14,9.5C14,7 12,5 9.5,5Z",pw="M3,6H21V8H3V6M3,11H21V13H3V11M3,16H21V18H3V16Z",hw="M12,2A3,3 0 0,1 15,5V11A3,3 0 0,1 12,14A3,3 0 0,1 9,11V5A3,3 0 0,1 12,2M19,11C19,14.53 16.39,17.44 13,17.93V21H11V17.93C7.61,17.44 5,14.53 5,11H7A5,5 0 0,0 12,16A5,5 0 0,0 17,11H19Z",_w="M21,3V15.5A3.5,3.5 0 0,1 17.5,19A3.5,3.5 0 0,1 14,15.5A3.5,3.5 0 0,1 17.5,12C18.04,12 18.55,12.12 19,12.34V6.47L9,8.6V17.5A3.5,3.5 0 0,1 5.5,21A3.5,3.5 0 0,1 2,17.5A3.5,3.5 0 0,1 5.5,14C6.04,14 6.55,14.12 7,14.34V6L21,3Z",gw="M4,6H2V20A2,2 0 0,0 4,22H18V20H4M18,7H15V12.5A2.5,2.5 0 0,1 12.5,15A2.5,2.5 0 0,1 10,12.5A2.5,2.5 0 0,1 12.5,10C13.07,10 13.58,10.19 14,10.5V5H18M20,2H8A2,2 0 0,0 6,4V16A2,2 0 0,0 8,18H20A2,2 0 0,0 22,16V4A2,2 0 0,0 20,2Z",yw="M14,3V5H17.59L7.76,14.83L9.17,16.24L19,6.41V10H21V3M19,19H5V5H12V3H5C3.89,3 3,3.9 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V12H19V19Z",vw="M14,19H18V5H14M6,19H10V5H6V19Z",bw="M20.71,7.04C21.1,6.65 21.1,6 20.71,5.63L18.37,3.29C18,2.9 17.35,2.9 16.96,3.29L15.12,5.12L18.87,8.87M3,17.25V21H6.75L17.81,9.93L14.06,6.18L3,17.25Z",zw="M22,14H20V16H14V13H16V11H14V6A2,2 0 0,0 12,4H4V2H2V10H4V8H10V11H8V13H10V18A2,2 0 0,0 12,20H20V22H22",Cw="M8,5.14V19.14L19,12.14L8,5.14Z",ww="M3 10H14V12H3V10M3 6H14V8H3V6M3 14H10V16H3V14M16 13V21L22 17L16 13Z",kw="M3 16H10V14H3M18 14V10H16V14H12V16H16V20H18V16H22V14M14 6H3V8H14M14 10H3V12H14V10Z",xw="M20,6A2,2 0 0,1 22,8V20A2,2 0 0,1 20,22H4A2,2 0 0,1 2,20V8C2,7.15 2.53,6.42 3.28,6.13L15.71,1L16.47,2.83L8.83,6H20M20,8H4V12H16V10H18V12H20V8M7,14A3,3 0 0,0 4,17A3,3 0 0,0 7,20A3,3 0 0,0 10,17A3,3 0 0,0 7,14Z",Ew="M12,10A2,2 0 0,1 14,12C14,12.5 13.82,12.94 13.53,13.29L16.7,22H14.57L12,14.93L9.43,22H7.3L10.47,13.29C10.18,12.94 10,12.5 10,12A2,2 0 0,1 12,10M12,8A4,4 0 0,0 8,12C8,12.5 8.1,13 8.28,13.46L7.4,15.86C6.53,14.81 6,13.47 6,12A6,6 0 0,1 12,6A6,6 0 0,1 18,12C18,13.47 17.47,14.81 16.6,15.86L15.72,13.46C15.9,13 16,12.5 16,12A4,4 0 0,0 12,8M12,4A8,8 0 0,0 4,12C4,14.36 5,16.5 6.64,17.94L5.92,19.94C3.54,18.11 2,15.23 2,12A10,10 0 0,1 12,2A10,10 0 0,1 22,12C22,15.23 20.46,18.11 18.08,19.94L17.36,17.94C19,16.5 20,14.36 20,12A8,8 0 0,0 12,4Z",Sw="M17.65,6.35C16.2,4.9 14.21,4 12,4A8,8 0 0,0 4,12A8,8 0 0,0 12,20C15.73,20 18.84,17.45 19.73,14H17.65C16.83,16.33 14.61,18 12,18A6,6 0 0,1 6,12A6,6 0 0,1 12,6C13.66,6 15.14,6.69 16.22,7.78L13,11H20V4L17.65,6.35Z",$w="M17,17H7V14L3,18L7,22V19H19V13H17M7,7H17V10L21,6L17,2V5H5V11H7V7Z",Aw="M2,5.27L3.28,4L20,20.72L18.73,22L15.73,19H7V22L3,18L7,14V17H13.73L7,10.27V11H5V8.27L2,5.27M17,13H19V17.18L17,15.18V13M17,5V2L21,6L17,10V7H8.82L6.82,5H17Z",Tw="M13,15V9H12L10,10V11H11.5V15M17,17H7V14L3,18L7,22V19H19V13H17M7,7H17V10L21,6L17,2V5H5V11H7V7Z",Ow="M12.5,3C17.15,3 21.08,6.03 22.47,10.22L20.1,11C19.05,7.81 16.04,5.5 12.5,5.5C10.54,5.5 8.77,6.22 7.38,7.38L10,10H3V3L5.6,5.6C7.45,4 9.85,3 12.5,3M10,12V22H8V14H6V12H10M18,14V20C18,21.11 17.11,22 16,22H14A2,2 0 0,1 12,20V14A2,2 0 0,1 14,12H16C17.11,12 18,12.9 18,14M14,14V20H16V14H14Z",Dw="M6.18,15.64A2.18,2.18 0 0,1 8.36,17.82C8.36,19 7.38,20 6.18,20C5,20 4,19 4,17.82A2.18,2.18 0 0,1 6.18,15.64M4,4.44A15.56,15.56 0 0,1 19.56,20H16.73A12.73,12.73 0 0,0 4,7.27V4.44M4,10.1A9.9,9.9 0 0,1 13.9,20H11.07A7.07,7.07 0 0,0 4,12.93V10.1Z",Pw="M15,20A1,1 0 0,0 16,19V4H8A1,1 0 0,0 7,5V16H5V5A3,3 0 0,1 8,2H19A3,3 0 0,1 22,5V6H20V5A1,1 0 0,0 19,4A1,1 0 0,0 18,5V9L18,19A3,3 0 0,1 15,22H5A3,3 0 0,1 2,19V18H13A2,2 0 0,0 15,20M9,6H14V8H9V6M9,10H14V12H9V10M9,14H14V16H9V14Z",Iw="M13.8 22H5C3.3 22 2 20.7 2 19V18H13.1C13 18.3 13 18.7 13 19C13 20.1 13.3 21.1 13.8 22M13.8 16H5V5C5 3.3 6.3 2 8 2H19C20.7 2 22 3.3 22 5V6H20V5C20 4.4 19.6 4 19 4S18 4.4 18 5V13.1C16.2 13.4 14.7 14.5 13.8 16M8 8H15V6H8V8M8 12H14V10H8V12M17 16V22L22 19L17 16Z",Fw="M4,1H20A1,1 0 0,1 21,2V6A1,1 0 0,1 20,7H4A1,1 0 0,1 3,6V2A1,1 0 0,1 4,1M4,9H20A1,1 0 0,1 21,10V14A1,1 0 0,1 20,15H4A1,1 0 0,1 3,14V10A1,1 0 0,1 4,9M4,17H20A1,1 0 0,1 21,18V22A1,1 0 0,1 20,23H4A1,1 0 0,1 3,22V18A1,1 0 0,1 4,17M9,5H10V3H9V5M9,13H10V11H9V13M9,21H10V19H9V21M5,3V5H7V3H5M5,11V13H7V11H5M5,19V21H7V19H5Z",Rw="M14.83,13.41L13.42,14.82L16.55,17.95L14.5,20H20V14.5L17.96,16.54L14.83,13.41M14.5,4L16.54,6.04L4,18.59L5.41,20L17.96,7.46L20,9.5V4M10.59,9.17L5.41,4L4,5.41L9.17,10.58L10.59,9.17Z",Lw="M16,4.5V7H5V9H16V11.5L19.5,8M16,12.5V15H5V17H16V19.5L19.5,16",Mw="M20,5V19L13,12M6,5V19H4V5M13,5V19L6,12",Nw="M4,5V19L11,12M18,5V19H20V5M11,5V19L18,12",Vw="M12,12A3,3 0 0,0 9,15A3,3 0 0,0 12,18A3,3 0 0,0 15,15A3,3 0 0,0 12,12M12,20A5,5 0 0,1 7,15A5,5 0 0,1 12,10A5,5 0 0,1 17,15A5,5 0 0,1 12,20M12,4A2,2 0 0,1 14,6A2,2 0 0,1 12,8C10.89,8 10,7.1 10,6C10,4.89 10.89,4 12,4M17,2H7C5.89,2 5,2.89 5,4V20A2,2 0 0,0 7,22H17A2,2 0 0,0 19,20V4C19,2.89 18.1,2 17,2Z",Bw="M17.9,10.9C14.7,9 9.35,8.8 6.3,9.75C5.8,9.9 5.3,9.6 5.15,9.15C5,8.65 5.3,8.15 5.75,8C9.3,6.95 15.15,7.15 18.85,9.35C19.3,9.6 19.45,10.2 19.2,10.65C18.95,11 18.35,11.15 17.9,10.9M17.8,13.7C17.55,14.05 17.1,14.2 16.75,13.95C14.05,12.3 9.95,11.8 6.8,12.8C6.4,12.9 5.95,12.7 5.85,12.3C5.75,11.9 5.95,11.45 6.35,11.35C10,10.25 14.5,10.8 17.6,12.7C17.9,12.85 18.05,13.35 17.8,13.7M16.6,16.45C16.4,16.75 16.05,16.85 15.75,16.65C13.4,15.2 10.45,14.9 6.95,15.7C6.6,15.8 6.3,15.55 6.2,15.25C6.1,14.9 6.35,14.6 6.65,14.5C10.45,13.65 13.75,14 16.35,15.6C16.7,15.75 16.75,16.15 16.6,16.45M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2Z",Hw="M18,18H6V6H18V18Z",jw="M11,9L12.42,10.42L8.83,14H18V4H20V16H8.83L12.42,19.58L11,21L5,15L11,9Z",Uw="M14,3.23V5.29C16.89,6.15 19,8.83 19,12C19,15.17 16.89,17.84 14,18.7V20.77C18,19.86 21,16.28 21,12C21,7.72 18,4.14 14,3.23M16.5,12C16.5,10.23 15.5,8.71 14,7.97V16C15.5,15.29 16.5,13.76 16.5,12M3,9V15H7L12,20V4L7,9H3Z",qw="M12,4L9.91,6.09L12,8.18M4.27,3L3,4.27L7.73,9H3V15H7L12,20V13.27L16.25,17.53C15.58,18.04 14.83,18.46 14,18.7V20.77C15.38,20.45 16.63,19.82 17.68,18.96L19.73,21L21,19.73L12,10.73M19,12C19,12.94 18.8,13.82 18.46,14.64L19.97,16.15C20.62,14.91 21,13.5 21,12C21,7.72 18,4.14 14,3.23V5.29C16.89,6.15 19,8.83 19,12M16.5,12C16.5,10.23 15.5,8.71 14,7.97V10.18L16.45,12.63C16.5,12.43 16.5,12.21 16.5,12Z",Ww="M16.36,14C16.44,13.34 16.5,12.68 16.5,12C16.5,11.32 16.44,10.66 16.36,10H19.74C19.9,10.64 20,11.31 20,12C20,12.69 19.9,13.36 19.74,14M14.59,19.56C15.19,18.45 15.65,17.25 15.97,16H18.92C17.96,17.65 16.43,18.93 14.59,19.56M14.34,14H9.66C9.56,13.34 9.5,12.68 9.5,12C9.5,11.32 9.56,10.65 9.66,10H14.34C14.43,10.65 14.5,11.32 14.5,12C14.5,12.68 14.43,13.34 14.34,14M12,19.96C11.17,18.76 10.5,17.43 10.09,16H13.91C13.5,17.43 12.83,18.76 12,19.96M8,8H5.08C6.03,6.34 7.57,5.06 9.4,4.44C8.8,5.55 8.35,6.75 8,8M5.08,16H8C8.35,17.25 8.8,18.45 9.4,19.56C7.57,18.93 6.03,17.65 5.08,16M4.26,14C4.1,13.36 4,12.69 4,12C4,11.31 4.1,10.64 4.26,10H7.64C7.56,10.66 7.5,11.32 7.5,12C7.5,12.68 7.56,13.34 7.64,14M12,4.03C12.83,5.23 13.5,6.57 13.91,8H10.09C10.5,6.57 11.17,5.23 12,4.03M18.92,8H15.97C15.65,6.75 15.19,5.55 14.59,4.44C16.43,5.07 17.96,6.34 18.92,8M12,2C6.47,2 2,6.5 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2Z";function Cg(e,t){return function(){return e.apply(t,arguments)}}const{toString:Gw}=Object.prototype,{getPrototypeOf:Nd}=Object,Ul=(e=>t=>{const n=Gw.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),cr=e=>(e=e.toLowerCase(),t=>Ul(t)===e),ql=e=>t=>typeof t===e,{isArray:co}=Array,pa=ql("undefined");function Kw(e){return e!==null&&!pa(e)&&e.constructor!==null&&!pa(e.constructor)&&Sn(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const wg=cr("ArrayBuffer");function Zw(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&wg(e.buffer),t}const Yw=ql("string"),Sn=ql("function"),kg=ql("number"),Wl=e=>e!==null&&typeof e=="object",Jw=e=>e===!0||e===!1,Ui=e=>{if(Ul(e)!=="object")return!1;const t=Nd(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},Xw=cr("Date"),Qw=cr("File"),ek=cr("Blob"),tk=cr("FileList"),nk=e=>Wl(e)&&Sn(e.pipe),rk=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||Sn(e.append)&&((t=Ul(e))==="formdata"||t==="object"&&Sn(e.toString)&&e.toString()==="[object FormData]"))},sk=cr("URLSearchParams"),ok=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function $a(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let r,s;if(typeof e!="object"&&(e=[e]),co(e))for(r=0,s=e.length;r<s;r++)t.call(null,e[r],r,e);else{const o=n?Object.getOwnPropertyNames(e):Object.keys(e),a=o.length;let i;for(r=0;r<a;r++)i=o[r],t.call(null,e[i],i,e)}}function xg(e,t){t=t.toLowerCase();const n=Object.keys(e);let r=n.length,s;for(;r-- >0;)if(s=n[r],t===s.toLowerCase())return s;return null}const Eg=(()=>typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global)(),Sg=e=>!pa(e)&&e!==Eg;function vc(){const{caseless:e}=Sg(this)&&this||{},t={},n=(r,s)=>{const o=e&&xg(t,s)||s;Ui(t[o])&&Ui(r)?t[o]=vc(t[o],r):Ui(r)?t[o]=vc({},r):co(r)?t[o]=r.slice():t[o]=r};for(let r=0,s=arguments.length;r<s;r++)arguments[r]&&$a(arguments[r],n);return t}const ak=(e,t,n,{allOwnKeys:r}={})=>($a(t,(s,o)=>{n&&Sn(s)?e[o]=Cg(s,n):e[o]=s},{allOwnKeys:r}),e),ik=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),lk=(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},uk=(e,t,n,r)=>{let s,o,a;const i={};if(t=t||{},e==null)return t;do{for(s=Object.getOwnPropertyNames(e),o=s.length;o-- >0;)a=s[o],(!r||r(a,e,t))&&!i[a]&&(t[a]=e[a],i[a]=!0);e=n!==!1&&Nd(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},ck=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;const r=e.indexOf(t,n);return r!==-1&&r===n},dk=e=>{if(!e)return null;if(co(e))return e;let t=e.length;if(!kg(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},mk=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&Nd(Uint8Array)),fk=(e,t)=>{const r=(e&&e[Symbol.iterator]).call(e);let s;for(;(s=r.next())&&!s.done;){const o=s.value;t.call(e,o[0],o[1])}},pk=(e,t)=>{let n;const r=[];for(;(n=e.exec(t))!==null;)r.push(n);return r},hk=cr("HTMLFormElement"),_k=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,r,s){return r.toUpperCase()+s}),_f=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),gk=cr("RegExp"),$g=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};$a(n,(s,o)=>{t(s,o,e)!==!1&&(r[o]=s)}),Object.defineProperties(e,r)},yk=e=>{$g(e,(t,n)=>{if(Sn(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const r=e[n];if(Sn(r)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},vk=(e,t)=>{const n={},r=s=>{s.forEach(o=>{n[o]=!0})};return co(e)?r(e):r(String(e).split(t)),n},bk=()=>{},zk=(e,t)=>(e=+e,Number.isFinite(e)?e:t),bu="abcdefghijklmnopqrstuvwxyz",gf="0123456789",Ag={DIGIT:gf,ALPHA:bu,ALPHA_DIGIT:bu+bu.toUpperCase()+gf},Ck=(e=16,t=Ag.ALPHA_DIGIT)=>{let n="";const{length:r}=t;for(;e--;)n+=t[Math.random()*r|0];return n};function wk(e){return!!(e&&Sn(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const kk=e=>{const t=new Array(10),n=(r,s)=>{if(Wl(r)){if(t.indexOf(r)>=0)return;if(!("toJSON"in r)){t[s]=r;const o=co(r)?[]:{};return $a(r,(a,i)=>{const l=n(a,s+1);!pa(l)&&(o[i]=l)}),t[s]=void 0,o}}return r};return n(e,0)},xk=cr("AsyncFunction"),Ek=e=>e&&(Wl(e)||Sn(e))&&Sn(e.then)&&Sn(e.catch),X={isArray:co,isArrayBuffer:wg,isBuffer:Kw,isFormData:rk,isArrayBufferView:Zw,isString:Yw,isNumber:kg,isBoolean:Jw,isObject:Wl,isPlainObject:Ui,isUndefined:pa,isDate:Xw,isFile:Qw,isBlob:ek,isRegExp:gk,isFunction:Sn,isStream:nk,isURLSearchParams:sk,isTypedArray:mk,isFileList:tk,forEach:$a,merge:vc,extend:ak,trim:ok,stripBOM:ik,inherits:lk,toFlatObject:uk,kindOf:Ul,kindOfTest:cr,endsWith:ck,toArray:dk,forEachEntry:fk,matchAll:pk,isHTMLForm:hk,hasOwnProperty:_f,hasOwnProp:_f,reduceDescriptors:$g,freezeMethods:yk,toObjectSet:vk,toCamelCase:_k,noop:bk,toFiniteNumber:zk,findKey:xg,global:Eg,isContextDefined:Sg,ALPHABET:Ag,generateString:Ck,isSpecCompliantForm:wk,toJSONObject:kk,isAsyncFn:xk,isThenable:Ek};function et(e,t,n,r,s){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),s&&(this.response=s)}X.inherits(et,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:X.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const Tg=et.prototype,Og={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{Og[e]={value:e}});Object.defineProperties(et,Og);Object.defineProperty(Tg,"isAxiosError",{value:!0});et.from=(e,t,n,r,s,o)=>{const a=Object.create(Tg);return X.toFlatObject(e,a,function(l){return l!==Error.prototype},i=>i!=="isAxiosError"),et.call(a,e.message,t,n,r,s),a.cause=e,a.name=e.name,o&&Object.assign(a,o),a};const Sk=null;function bc(e){return X.isPlainObject(e)||X.isArray(e)}function Dg(e){return X.endsWith(e,"[]")?e.slice(0,-2):e}function yf(e,t,n){return e?e.concat(t).map(function(s,o){return s=Dg(s),!n&&o?"["+s+"]":s}).join(n?".":""):t}function $k(e){return X.isArray(e)&&!e.some(bc)}const Ak=X.toFlatObject(X,{},null,function(t){return/^is[A-Z]/.test(t)});function Gl(e,t,n){if(!X.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=X.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(_,z){return!X.isUndefined(z[_])});const r=n.metaTokens,s=n.visitor||d,o=n.dots,a=n.indexes,l=(n.Blob||typeof Blob<"u"&&Blob)&&X.isSpecCompliantForm(t);if(!X.isFunction(s))throw new TypeError("visitor must be a function");function c(h){if(h===null)return"";if(X.isDate(h))return h.toISOString();if(!l&&X.isBlob(h))throw new et("Blob is not supported. Use a Buffer instead.");return X.isArrayBuffer(h)||X.isTypedArray(h)?l&&typeof Blob=="function"?new Blob([h]):Buffer.from(h):h}function d(h,_,z){let v=h;if(h&&!z&&typeof h=="object"){if(X.endsWith(_,"{}"))_=r?_:_.slice(0,-2),h=JSON.stringify(h);else if(X.isArray(h)&&$k(h)||(X.isFileList(h)||X.endsWith(_,"[]"))&&(v=X.toArray(h)))return _=Dg(_),v.forEach(function(k,C){!(X.isUndefined(k)||k===null)&&t.append(a===!0?yf([_],C,o):a===null?_:_+"[]",c(k))}),!1}return bc(h)?!0:(t.append(yf(z,_,o),c(h)),!1)}const f=[],m=Object.assign(Ak,{defaultVisitor:d,convertValue:c,isVisitable:bc});function p(h,_){if(!X.isUndefined(h)){if(f.indexOf(h)!==-1)throw Error("Circular reference detected in "+_.join("."));f.push(h),X.forEach(h,function(v,b){(!(X.isUndefined(v)||v===null)&&s.call(t,v,X.isString(b)?b.trim():b,_,m))===!0&&p(v,_?_.concat(b):[b])}),f.pop()}}if(!X.isObject(e))throw new TypeError("data must be an object");return p(e),t}function vf(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(r){return t[r]})}function Vd(e,t){this._pairs=[],e&&Gl(e,this,t)}const Pg=Vd.prototype;Pg.append=function(t,n){this._pairs.push([t,n])};Pg.toString=function(t){const n=t?function(r){return t.call(this,r,vf)}:vf;return this._pairs.map(function(s){return n(s[0])+"="+n(s[1])},"").join("&")};function Tk(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function Ig(e,t,n){if(!t)return e;const r=n&&n.encode||Tk,s=n&&n.serialize;let o;if(s?o=s(t,n):o=X.isURLSearchParams(t)?t.toString():new Vd(t,n).toString(r),o){const a=e.indexOf("#");a!==-1&&(e=e.slice(0,a)),e+=(e.indexOf("?")===-1?"?":"&")+o}return e}class Ok{constructor(){this.handlers=[]}use(t,n,r){return this.handlers.push({fulfilled:t,rejected:n,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){X.forEach(this.handlers,function(r){r!==null&&t(r)})}}const bf=Ok,Fg={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},Dk=typeof URLSearchParams<"u"?URLSearchParams:Vd,Pk=typeof FormData<"u"?FormData:null,Ik=typeof Blob<"u"?Blob:null,Fk=(()=>{let e;return typeof navigator<"u"&&((e=navigator.product)==="ReactNative"||e==="NativeScript"||e==="NS")?!1:typeof window<"u"&&typeof document<"u"})(),Rk=(()=>typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function")(),tr={isBrowser:!0,classes:{URLSearchParams:Dk,FormData:Pk,Blob:Ik},isStandardBrowserEnv:Fk,isStandardBrowserWebWorkerEnv:Rk,protocols:["http","https","file","blob","url","data"]};function Lk(e,t){return Gl(e,new tr.classes.URLSearchParams,Object.assign({visitor:function(n,r,s,o){return tr.isNode&&X.isBuffer(n)?(this.append(r,n.toString("base64")),!1):o.defaultVisitor.apply(this,arguments)}},t))}function Mk(e){return X.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function Nk(e){const t={},n=Object.keys(e);let r;const s=n.length;let o;for(r=0;r<s;r++)o=n[r],t[o]=e[o];return t}function Rg(e){function t(n,r,s,o){let a=n[o++];const i=Number.isFinite(+a),l=o>=n.length;return a=!a&&X.isArray(s)?s.length:a,l?(X.hasOwnProp(s,a)?s[a]=[s[a],r]:s[a]=r,!i):((!s[a]||!X.isObject(s[a]))&&(s[a]=[]),t(n,r,s[a],o)&&X.isArray(s[a])&&(s[a]=Nk(s[a])),!i)}if(X.isFormData(e)&&X.isFunction(e.entries)){const n={};return X.forEachEntry(e,(r,s)=>{t(Mk(r),s,n,0)}),n}return null}const Vk={"Content-Type":void 0};function Bk(e,t,n){if(X.isString(e))try{return(t||JSON.parse)(e),X.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(n||JSON.stringify)(e)}const Kl={transitional:Fg,adapter:["xhr","http"],transformRequest:[function(t,n){const r=n.getContentType()||"",s=r.indexOf("application/json")>-1,o=X.isObject(t);if(o&&X.isHTMLForm(t)&&(t=new FormData(t)),X.isFormData(t))return s&&s?JSON.stringify(Rg(t)):t;if(X.isArrayBuffer(t)||X.isBuffer(t)||X.isStream(t)||X.isFile(t)||X.isBlob(t))return t;if(X.isArrayBufferView(t))return t.buffer;if(X.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let i;if(o){if(r.indexOf("application/x-www-form-urlencoded")>-1)return Lk(t,this.formSerializer).toString();if((i=X.isFileList(t))||r.indexOf("multipart/form-data")>-1){const l=this.env&&this.env.FormData;return Gl(i?{"files[]":t}:t,l&&new l,this.formSerializer)}}return o||s?(n.setContentType("application/json",!1),Bk(t)):t}],transformResponse:[function(t){const n=this.transitional||Kl.transitional,r=n&&n.forcedJSONParsing,s=this.responseType==="json";if(t&&X.isString(t)&&(r&&!this.responseType||s)){const a=!(n&&n.silentJSONParsing)&&s;try{return JSON.parse(t)}catch(i){if(a)throw i.name==="SyntaxError"?et.from(i,et.ERR_BAD_RESPONSE,this,null,this.response):i}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:tr.classes.FormData,Blob:tr.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};X.forEach(["delete","get","head"],function(t){Kl.headers[t]={}});X.forEach(["post","put","patch"],function(t){Kl.headers[t]=X.merge(Vk)});const Bd=Kl,Hk=X.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),jk=e=>{const t={};let n,r,s;return e&&e.split(`
`).forEach(function(a){s=a.indexOf(":"),n=a.substring(0,s).trim().toLowerCase(),r=a.substring(s+1).trim(),!(!n||t[n]&&Hk[n])&&(n==="set-cookie"?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t},zf=Symbol("internals");function bo(e){return e&&String(e).trim().toLowerCase()}function qi(e){return e===!1||e==null?e:X.isArray(e)?e.map(qi):String(e)}function Uk(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}const qk=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function zu(e,t,n,r,s){if(X.isFunction(r))return r.call(this,t,n);if(s&&(t=n),!!X.isString(t)){if(X.isString(r))return t.indexOf(r)!==-1;if(X.isRegExp(r))return r.test(t)}}function Wk(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,r)=>n.toUpperCase()+r)}function Gk(e,t){const n=X.toCamelCase(" "+t);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+n,{value:function(s,o,a){return this[r].call(this,t,s,o,a)},configurable:!0})})}class Zl{constructor(t){t&&this.set(t)}set(t,n,r){const s=this;function o(i,l,c){const d=bo(l);if(!d)throw new Error("header name must be a non-empty string");const f=X.findKey(s,d);(!f||s[f]===void 0||c===!0||c===void 0&&s[f]!==!1)&&(s[f||l]=qi(i))}const a=(i,l)=>X.forEach(i,(c,d)=>o(c,d,l));return X.isPlainObject(t)||t instanceof this.constructor?a(t,n):X.isString(t)&&(t=t.trim())&&!qk(t)?a(jk(t),n):t!=null&&o(n,t,r),this}get(t,n){if(t=bo(t),t){const r=X.findKey(this,t);if(r){const s=this[r];if(!n)return s;if(n===!0)return Uk(s);if(X.isFunction(n))return n.call(this,s,r);if(X.isRegExp(n))return n.exec(s);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=bo(t),t){const r=X.findKey(this,t);return!!(r&&this[r]!==void 0&&(!n||zu(this,this[r],r,n)))}return!1}delete(t,n){const r=this;let s=!1;function o(a){if(a=bo(a),a){const i=X.findKey(r,a);i&&(!n||zu(r,r[i],i,n))&&(delete r[i],s=!0)}}return X.isArray(t)?t.forEach(o):o(t),s}clear(t){const n=Object.keys(this);let r=n.length,s=!1;for(;r--;){const o=n[r];(!t||zu(this,this[o],o,t,!0))&&(delete this[o],s=!0)}return s}normalize(t){const n=this,r={};return X.forEach(this,(s,o)=>{const a=X.findKey(r,o);if(a){n[a]=qi(s),delete n[o];return}const i=t?Wk(o):String(o).trim();i!==o&&delete n[o],n[i]=qi(s),r[i]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return X.forEach(this,(r,s)=>{r!=null&&r!==!1&&(n[s]=t&&X.isArray(r)?r.join(", "):r)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n).join(`
`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const r=new this(t);return n.forEach(s=>r.set(s)),r}static accessor(t){const r=(this[zf]=this[zf]={accessors:{}}).accessors,s=this.prototype;function o(a){const i=bo(a);r[i]||(Gk(s,a),r[i]=!0)}return X.isArray(t)?t.forEach(o):o(t),this}}Zl.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);X.freezeMethods(Zl.prototype);X.freezeMethods(Zl);const vr=Zl;function Cu(e,t){const n=this||Bd,r=t||n,s=vr.from(r.headers);let o=r.data;return X.forEach(e,function(i){o=i.call(n,o,s.normalize(),t?t.status:void 0)}),s.normalize(),o}function Lg(e){return!!(e&&e.__CANCEL__)}function Aa(e,t,n){et.call(this,e??"canceled",et.ERR_CANCELED,t,n),this.name="CanceledError"}X.inherits(Aa,et,{__CANCEL__:!0});function Kk(e,t,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new et("Request failed with status code "+n.status,[et.ERR_BAD_REQUEST,et.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}const Zk=tr.isStandardBrowserEnv?function(){return{write:function(n,r,s,o,a,i){const l=[];l.push(n+"="+encodeURIComponent(r)),X.isNumber(s)&&l.push("expires="+new Date(s).toGMTString()),X.isString(o)&&l.push("path="+o),X.isString(a)&&l.push("domain="+a),i===!0&&l.push("secure"),document.cookie=l.join("; ")},read:function(n){const r=document.cookie.match(new RegExp("(^|;\\s*)("+n+")=([^;]*)"));return r?decodeURIComponent(r[3]):null},remove:function(n){this.write(n,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}();function Yk(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function Jk(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}function Mg(e,t){return e&&!Yk(t)?Jk(e,t):t}const Xk=tr.isStandardBrowserEnv?function(){const t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");let r;function s(o){let a=o;return t&&(n.setAttribute("href",a),a=n.href),n.setAttribute("href",a),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:n.pathname.charAt(0)==="/"?n.pathname:"/"+n.pathname}}return r=s(window.location.href),function(a){const i=X.isString(a)?s(a):a;return i.protocol===r.protocol&&i.host===r.host}}():function(){return function(){return!0}}();function Qk(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function ex(e,t){e=e||10;const n=new Array(e),r=new Array(e);let s=0,o=0,a;return t=t!==void 0?t:1e3,function(l){const c=Date.now(),d=r[o];a||(a=c),n[s]=l,r[s]=c;let f=o,m=0;for(;f!==s;)m+=n[f++],f=f%e;if(s=(s+1)%e,s===o&&(o=(o+1)%e),c-a<t)return;const p=d&&c-d;return p?Math.round(m*1e3/p):void 0}}function Cf(e,t){let n=0;const r=ex(50,250);return s=>{const o=s.loaded,a=s.lengthComputable?s.total:void 0,i=o-n,l=r(i),c=o<=a;n=o;const d={loaded:o,total:a,progress:a?o/a:void 0,bytes:i,rate:l||void 0,estimated:l&&a&&c?(a-o)/l:void 0,event:s};d[t?"download":"upload"]=!0,e(d)}}const tx=typeof XMLHttpRequest<"u",nx=tx&&function(e){return new Promise(function(n,r){let s=e.data;const o=vr.from(e.headers).normalize(),a=e.responseType;let i;function l(){e.cancelToken&&e.cancelToken.unsubscribe(i),e.signal&&e.signal.removeEventListener("abort",i)}X.isFormData(s)&&(tr.isStandardBrowserEnv||tr.isStandardBrowserWebWorkerEnv?o.setContentType(!1):o.setContentType("multipart/form-data;",!1));let c=new XMLHttpRequest;if(e.auth){const p=e.auth.username||"",h=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";o.set("Authorization","Basic "+btoa(p+":"+h))}const d=Mg(e.baseURL,e.url);c.open(e.method.toUpperCase(),Ig(d,e.params,e.paramsSerializer),!0),c.timeout=e.timeout;function f(){if(!c)return;const p=vr.from("getAllResponseHeaders"in c&&c.getAllResponseHeaders()),_={data:!a||a==="text"||a==="json"?c.responseText:c.response,status:c.status,statusText:c.statusText,headers:p,config:e,request:c};Kk(function(v){n(v),l()},function(v){r(v),l()},_),c=null}if("onloadend"in c?c.onloadend=f:c.onreadystatechange=function(){!c||c.readyState!==4||c.status===0&&!(c.responseURL&&c.responseURL.indexOf("file:")===0)||setTimeout(f)},c.onabort=function(){c&&(r(new et("Request aborted",et.ECONNABORTED,e,c)),c=null)},c.onerror=function(){r(new et("Network Error",et.ERR_NETWORK,e,c)),c=null},c.ontimeout=function(){let h=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded";const _=e.transitional||Fg;e.timeoutErrorMessage&&(h=e.timeoutErrorMessage),r(new et(h,_.clarifyTimeoutError?et.ETIMEDOUT:et.ECONNABORTED,e,c)),c=null},tr.isStandardBrowserEnv){const p=(e.withCredentials||Xk(d))&&e.xsrfCookieName&&Zk.read(e.xsrfCookieName);p&&o.set(e.xsrfHeaderName,p)}s===void 0&&o.setContentType(null),"setRequestHeader"in c&&X.forEach(o.toJSON(),function(h,_){c.setRequestHeader(_,h)}),X.isUndefined(e.withCredentials)||(c.withCredentials=!!e.withCredentials),a&&a!=="json"&&(c.responseType=e.responseType),typeof e.onDownloadProgress=="function"&&c.addEventListener("progress",Cf(e.onDownloadProgress,!0)),typeof e.onUploadProgress=="function"&&c.upload&&c.upload.addEventListener("progress",Cf(e.onUploadProgress)),(e.cancelToken||e.signal)&&(i=p=>{c&&(r(!p||p.type?new Aa(null,e,c):p),c.abort(),c=null)},e.cancelToken&&e.cancelToken.subscribe(i),e.signal&&(e.signal.aborted?i():e.signal.addEventListener("abort",i)));const m=Qk(d);if(m&&tr.protocols.indexOf(m)===-1){r(new et("Unsupported protocol "+m+":",et.ERR_BAD_REQUEST,e));return}c.send(s||null)})},Wi={http:Sk,xhr:nx};X.forEach(Wi,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const rx={getAdapter:e=>{e=X.isArray(e)?e:[e];const{length:t}=e;let n,r;for(let s=0;s<t&&(n=e[s],!(r=X.isString(n)?Wi[n.toLowerCase()]:n));s++);if(!r)throw r===!1?new et(`Adapter ${n} is not supported by the environment`,"ERR_NOT_SUPPORT"):new Error(X.hasOwnProp(Wi,n)?`Adapter '${n}' is not available in the build`:`Unknown adapter '${n}'`);if(!X.isFunction(r))throw new TypeError("adapter is not a function");return r},adapters:Wi};function wu(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Aa(null,e)}function wf(e){return wu(e),e.headers=vr.from(e.headers),e.data=Cu.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),rx.getAdapter(e.adapter||Bd.adapter)(e).then(function(r){return wu(e),r.data=Cu.call(e,e.transformResponse,r),r.headers=vr.from(r.headers),r},function(r){return Lg(r)||(wu(e),r&&r.response&&(r.response.data=Cu.call(e,e.transformResponse,r.response),r.response.headers=vr.from(r.response.headers))),Promise.reject(r)})}const kf=e=>e instanceof vr?e.toJSON():e;function Qs(e,t){t=t||{};const n={};function r(c,d,f){return X.isPlainObject(c)&&X.isPlainObject(d)?X.merge.call({caseless:f},c,d):X.isPlainObject(d)?X.merge({},d):X.isArray(d)?d.slice():d}function s(c,d,f){if(X.isUndefined(d)){if(!X.isUndefined(c))return r(void 0,c,f)}else return r(c,d,f)}function o(c,d){if(!X.isUndefined(d))return r(void 0,d)}function a(c,d){if(X.isUndefined(d)){if(!X.isUndefined(c))return r(void 0,c)}else return r(void 0,d)}function i(c,d,f){if(f in t)return r(c,d);if(f in e)return r(void 0,c)}const l={url:o,method:o,data:o,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,beforeRedirect:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,responseEncoding:a,validateStatus:i,headers:(c,d)=>s(kf(c),kf(d),!0)};return X.forEach(Object.keys(Object.assign({},e,t)),function(d){const f=l[d]||s,m=f(e[d],t[d],d);X.isUndefined(m)&&f!==i||(n[d]=m)}),n}const Ng="1.4.0",Hd={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{Hd[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});const xf={};Hd.transitional=function(t,n,r){function s(o,a){return"[Axios v"+Ng+"] Transitional option '"+o+"'"+a+(r?". "+r:"")}return(o,a,i)=>{if(t===!1)throw new et(s(a," has been removed"+(n?" in "+n:"")),et.ERR_DEPRECATED);return n&&!xf[a]&&(xf[a]=!0,console.warn(s(a," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(o,a,i):!0}};function sx(e,t,n){if(typeof e!="object")throw new et("options must be an object",et.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let s=r.length;for(;s-- >0;){const o=r[s],a=t[o];if(a){const i=e[o],l=i===void 0||a(i,o,e);if(l!==!0)throw new et("option "+o+" must be "+l,et.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new et("Unknown option "+o,et.ERR_BAD_OPTION)}}const zc={assertOptions:sx,validators:Hd},$r=zc.validators;class ul{constructor(t){this.defaults=t,this.interceptors={request:new bf,response:new bf}}request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=Qs(this.defaults,n);const{transitional:r,paramsSerializer:s,headers:o}=n;r!==void 0&&zc.assertOptions(r,{silentJSONParsing:$r.transitional($r.boolean),forcedJSONParsing:$r.transitional($r.boolean),clarifyTimeoutError:$r.transitional($r.boolean)},!1),s!=null&&(X.isFunction(s)?n.paramsSerializer={serialize:s}:zc.assertOptions(s,{encode:$r.function,serialize:$r.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let a;a=o&&X.merge(o.common,o[n.method]),a&&X.forEach(["delete","get","head","post","put","patch","common"],h=>{delete o[h]}),n.headers=vr.concat(a,o);const i=[];let l=!0;this.interceptors.request.forEach(function(_){typeof _.runWhen=="function"&&_.runWhen(n)===!1||(l=l&&_.synchronous,i.unshift(_.fulfilled,_.rejected))});const c=[];this.interceptors.response.forEach(function(_){c.push(_.fulfilled,_.rejected)});let d,f=0,m;if(!l){const h=[wf.bind(this),void 0];for(h.unshift.apply(h,i),h.push.apply(h,c),m=h.length,d=Promise.resolve(n);f<m;)d=d.then(h[f++],h[f++]);return d}m=i.length;let p=n;for(f=0;f<m;){const h=i[f++],_=i[f++];try{p=h(p)}catch(z){_.call(this,z);break}}try{d=wf.call(this,p)}catch(h){return Promise.reject(h)}for(f=0,m=c.length;f<m;)d=d.then(c[f++],c[f++]);return d}getUri(t){t=Qs(this.defaults,t);const n=Mg(t.baseURL,t.url);return Ig(n,t.params,t.paramsSerializer)}}X.forEach(["delete","get","head","options"],function(t){ul.prototype[t]=function(n,r){return this.request(Qs(r||{},{method:t,url:n,data:(r||{}).data}))}});X.forEach(["post","put","patch"],function(t){function n(r){return function(o,a,i){return this.request(Qs(i||{},{method:t,headers:r?{"Content-Type":"multipart/form-data"}:{},url:o,data:a}))}}ul.prototype[t]=n(),ul.prototype[t+"Form"]=n(!0)});const Gi=ul;class jd{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(o){n=o});const r=this;this.promise.then(s=>{if(!r._listeners)return;let o=r._listeners.length;for(;o-- >0;)r._listeners[o](s);r._listeners=null}),this.promise.then=s=>{let o;const a=new Promise(i=>{r.subscribe(i),o=i}).then(s);return a.cancel=function(){r.unsubscribe(o)},a},t(function(o,a,i){r.reason||(r.reason=new Aa(o,a,i),n(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}static source(){let t;return{token:new jd(function(s){t=s}),cancel:t}}}const ox=jd;function ax(e){return function(n){return e.apply(null,n)}}function ix(e){return X.isObject(e)&&e.isAxiosError===!0}const Cc={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(Cc).forEach(([e,t])=>{Cc[t]=e});const lx=Cc;function Vg(e){const t=new Gi(e),n=Cg(Gi.prototype.request,t);return X.extend(n,Gi.prototype,t,{allOwnKeys:!0}),X.extend(n,t,null,{allOwnKeys:!0}),n.create=function(s){return Vg(Qs(e,s))},n}const It=Vg(Bd);It.Axios=Gi;It.CanceledError=Aa;It.CancelToken=ox;It.isCancel=Lg;It.VERSION=Ng;It.toFormData=Gl;It.AxiosError=et;It.Cancel=It.CanceledError;It.all=function(t){return Promise.all(t)};It.spread=ax;It.isAxiosError=ix;It.mergeConfig=Qs;It.AxiosHeaders=vr;It.formToJSON=e=>Rg(X.isHTMLForm(e)?new FormData(e):e);It.HttpStatusCode=lx;It.default=It;const de=It;function ux(){return Bg().__VUE_DEVTOOLS_GLOBAL_HOOK__}function Bg(){return typeof navigator<"u"&&typeof window<"u"?window:typeof global<"u"?global:{}}const cx=typeof Proxy=="function",dx="devtools-plugin:setup",mx="plugin:settings:set";let ks,wc;function fx(){var e;return ks!==void 0||(typeof window<"u"&&window.performance?(ks=!0,wc=window.performance):typeof global<"u"&&(!((e=global.perf_hooks)===null||e===void 0)&&e.performance)?(ks=!0,wc=global.perf_hooks.performance):ks=!1),ks}function px(){return fx()?wc.now():Date.now()}class hx{constructor(t,n){this.target=null,this.targetQueue=[],this.onQueue=[],this.plugin=t,this.hook=n;const r={};if(t.settings)for(const a in t.settings){const i=t.settings[a];r[a]=i.defaultValue}const s=`__vue-devtools-plugin-settings__${t.id}`;let o=Object.assign({},r);try{const a=localStorage.getItem(s),i=JSON.parse(a);Object.assign(o,i)}catch{}this.fallbacks={getSettings(){return o},setSettings(a){try{localStorage.setItem(s,JSON.stringify(a))}catch{}o=a},now(){return px()}},n&&n.on(mx,(a,i)=>{a===this.plugin.id&&this.fallbacks.setSettings(i)}),this.proxiedOn=new Proxy({},{get:(a,i)=>this.target?this.target.on[i]:(...l)=>{this.onQueue.push({method:i,args:l})}}),this.proxiedTarget=new Proxy({},{get:(a,i)=>this.target?this.target[i]:i==="on"?this.proxiedOn:Object.keys(this.fallbacks).includes(i)?(...l)=>(this.targetQueue.push({method:i,args:l,resolve:()=>{}}),this.fallbacks[i](...l)):(...l)=>new Promise(c=>{this.targetQueue.push({method:i,args:l,resolve:c})})})}async setRealTarget(t){this.target=t;for(const n of this.onQueue)this.target.on[n.method](...n.args);for(const n of this.targetQueue)n.resolve(await this.target[n.method](...n.args))}}function _x(e,t){const n=e,r=Bg(),s=ux(),o=cx&&n.enableEarlyProxy;if(s&&(r.__VUE_DEVTOOLS_PLUGIN_API_AVAILABLE__||!o))s.emit(dx,e,t);else{const a=o?new hx(n,s):null;(r.__VUE_DEVTOOLS_PLUGINS__=r.__VUE_DEVTOOLS_PLUGINS__||[]).push({pluginDescriptor:n,setupFn:t,proxy:a}),a&&t(a.proxiedTarget)}}/*!
* vuex v4.1.0
* (c) 2022 Evan You
* @license MIT
*/var gx="store";function mo(e,t){Object.keys(e).forEach(function(n){return t(e[n],n)})}function yx(e){return e!==null&&typeof e=="object"}function vx(e){return e&&typeof e.then=="function"}function bx(e,t){return function(){return e(t)}}function Hg(e,t,n){return t.indexOf(e)<0&&(n&&n.prepend?t.unshift(e):t.push(e)),function(){var r=t.indexOf(e);r>-1&&t.splice(r,1)}}function jg(e,t){e._actions=Object.create(null),e._mutations=Object.create(null),e._wrappedGetters=Object.create(null),e._modulesNamespaceMap=Object.create(null);var n=e.state;Yl(e,n,[],e._modules.root,!0),Ud(e,n,t)}function Ud(e,t,n){var r=e._state,s=e._scope;e.getters={},e._makeLocalGettersCache=Object.create(null);var o=e._wrappedGetters,a={},i={},l=md(!0);l.run(function(){mo(o,function(c,d){a[d]=bx(c,e),i[d]=Ft(function(){return a[d]()}),Object.defineProperty(e.getters,d,{get:function(){return i[d].value},enumerable:!0})})}),e._state=io({data:t}),e._scope=l,e.strict&&xx(e),r&&n&&e._withCommit(function(){r.data=null}),s&&s.stop()}function Yl(e,t,n,r,s){var o=!n.length,a=e._modules.getNamespace(n);if(r.namespaced&&(e._modulesNamespaceMap[a],e._modulesNamespaceMap[a]=r),!o&&!s){var i=qd(t,n.slice(0,-1)),l=n[n.length-1];e._withCommit(function(){i[l]=r.state})}var c=r.context=zx(e,a,n);r.forEachMutation(function(d,f){var m=a+f;Cx(e,m,d,c)}),r.forEachAction(function(d,f){var m=d.root?f:a+f,p=d.handler||d;wx(e,m,p,c)}),r.forEachGetter(function(d,f){var m=a+f;kx(e,m,d,c)}),r.forEachChild(function(d,f){Yl(e,t,n.concat(f),d,s)})}function zx(e,t,n){var r=t==="",s={dispatch:r?e.dispatch:function(o,a,i){var l=cl(o,a,i),c=l.payload,d=l.options,f=l.type;return(!d||!d.root)&&(f=t+f),e.dispatch(f,c)},commit:r?e.commit:function(o,a,i){var l=cl(o,a,i),c=l.payload,d=l.options,f=l.type;(!d||!d.root)&&(f=t+f),e.commit(f,c,d)}};return Object.defineProperties(s,{getters:{get:r?function(){return e.getters}:function(){return Ug(e,t)}},state:{get:function(){return qd(e.state,n)}}}),s}function Ug(e,t){if(!e._makeLocalGettersCache[t]){var n={},r=t.length;Object.keys(e.getters).forEach(function(s){if(s.slice(0,r)===t){var o=s.slice(r);Object.defineProperty(n,o,{get:function(){return e.getters[s]},enumerable:!0})}}),e._makeLocalGettersCache[t]=n}return e._makeLocalGettersCache[t]}function Cx(e,t,n,r){var s=e._mutations[t]||(e._mutations[t]=[]);s.push(function(a){n.call(e,r.state,a)})}function wx(e,t,n,r){var s=e._actions[t]||(e._actions[t]=[]);s.push(function(a){var i=n.call(e,{dispatch:r.dispatch,commit:r.commit,getters:r.getters,state:r.state,rootGetters:e.getters,rootState:e.state},a);return vx(i)||(i=Promise.resolve(i)),e._devtoolHook?i.catch(function(l){throw e._devtoolHook.emit("vuex:error",l),l}):i})}function kx(e,t,n,r){e._wrappedGetters[t]||(e._wrappedGetters[t]=function(o){return n(r.state,r.getters,o.state,o.getters)})}function xx(e){Zt(function(){return e._state.data},function(){},{deep:!0,flush:"sync"})}function qd(e,t){return t.reduce(function(n,r){return n[r]},e)}function cl(e,t,n){return yx(e)&&e.type&&(n=t,t=e,e=e.type),{type:e,payload:t,options:n}}var Ex="vuex bindings",Ef="vuex:mutations",ku="vuex:actions",xs="vuex",Sx=0;function $x(e,t){_x({id:"org.vuejs.vuex",app:e,label:"Vuex",homepage:"https://next.vuex.vuejs.org/",logo:"https://vuejs.org/images/icons/favicon-96x96.png",packageName:"vuex",componentStateTypes:[Ex]},function(n){n.addTimelineLayer({id:Ef,label:"Vuex Mutations",color:Sf}),n.addTimelineLayer({id:ku,label:"Vuex Actions",color:Sf}),n.addInspector({id:xs,label:"Vuex",icon:"storage",treeFilterPlaceholder:"Filter stores..."}),n.on.getInspectorTree(function(r){if(r.app===e&&r.inspectorId===xs)if(r.filter){var s=[];Kg(s,t._modules.root,r.filter,""),r.rootNodes=s}else r.rootNodes=[Gg(t._modules.root,"")]}),n.on.getInspectorState(function(r){if(r.app===e&&r.inspectorId===xs){var s=r.nodeId;Ug(t,s),r.state=Ox(Px(t._modules,s),s==="root"?t.getters:t._makeLocalGettersCache,s)}}),n.on.editInspectorState(function(r){if(r.app===e&&r.inspectorId===xs){var s=r.nodeId,o=r.path;s!=="root"&&(o=s.split("/").filter(Boolean).concat(o)),t._withCommit(function(){r.set(t._state.data,o,r.state.value)})}}),t.subscribe(function(r,s){var o={};r.payload&&(o.payload=r.payload),o.state=s,n.notifyComponentUpdate(),n.sendInspectorTree(xs),n.sendInspectorState(xs),n.addTimelineEvent({layerId:Ef,event:{time:Date.now(),title:r.type,data:o}})}),t.subscribeAction({before:function(r,s){var o={};r.payload&&(o.payload=r.payload),r._id=Sx++,r._time=Date.now(),o.state=s,n.addTimelineEvent({layerId:ku,event:{time:r._time,title:r.type,groupId:r._id,subtitle:"start",data:o}})},after:function(r,s){var o={},a=Date.now()-r._time;o.duration={_custom:{type:"duration",display:a+"ms",tooltip:"Action duration",value:a}},r.payload&&(o.payload=r.payload),o.state=s,n.addTimelineEvent({layerId:ku,event:{time:Date.now(),title:r.type,groupId:r._id,subtitle:"end",data:o}})}})})}var Sf=8702998,Ax=6710886,Tx=16777215,qg={label:"namespaced",textColor:Tx,backgroundColor:Ax};function Wg(e){return e&&e!=="root"?e.split("/").slice(-2,-1)[0]:"Root"}function Gg(e,t){return{id:t||"root",label:Wg(t),tags:e.namespaced?[qg]:[],children:Object.keys(e._children).map(function(n){return Gg(e._children[n],t+n+"/")})}}function Kg(e,t,n,r){r.includes(n)&&e.push({id:r||"root",label:r.endsWith("/")?r.slice(0,r.length-1):r||"Root",tags:t.namespaced?[qg]:[]}),Object.keys(t._children).forEach(function(s){Kg(e,t._children[s],n,r+s+"/")})}function Ox(e,t,n){t=n==="root"?t:t[n];var r=Object.keys(t),s={state:Object.keys(e.state).map(function(a){return{key:a,editable:!0,value:e.state[a]}})};if(r.length){var o=Dx(t);s.getters=Object.keys(o).map(function(a){return{key:a.endsWith("/")?Wg(a):a,editable:!1,value:kc(function(){return o[a]})}})}return s}function Dx(e){var t={};return Object.keys(e).forEach(function(n){var r=n.split("/");if(r.length>1){var s=t,o=r.pop();r.forEach(function(a){s[a]||(s[a]={_custom:{value:{},display:a,tooltip:"Module",abstract:!0}}),s=s[a]._custom.value}),s[o]=kc(function(){return e[n]})}else t[n]=kc(function(){return e[n]})}),t}function Px(e,t){var n=t.split("/").filter(function(r){return r});return n.reduce(function(r,s,o){var a=r[s];if(!a)throw new Error('Missing module "'+s+'" for path "'+t+'".');return o===n.length-1?a:a._children},t==="root"?e:e.root._children)}function kc(e){try{return e()}catch(t){return t}}var Wn=function(t,n){this.runtime=n,this._children=Object.create(null),this._rawModule=t;var r=t.state;this.state=(typeof r=="function"?r():r)||{}},Zg={namespaced:{configurable:!0}};Zg.namespaced.get=function(){return!!this._rawModule.namespaced};Wn.prototype.addChild=function(t,n){this._children[t]=n};Wn.prototype.removeChild=function(t){delete this._children[t]};Wn.prototype.getChild=function(t){return this._children[t]};Wn.prototype.hasChild=function(t){return t in this._children};Wn.prototype.update=function(t){this._rawModule.namespaced=t.namespaced,t.actions&&(this._rawModule.actions=t.actions),t.mutations&&(this._rawModule.mutations=t.mutations),t.getters&&(this._rawModule.getters=t.getters)};Wn.prototype.forEachChild=function(t){mo(this._children,t)};Wn.prototype.forEachGetter=function(t){this._rawModule.getters&&mo(this._rawModule.getters,t)};Wn.prototype.forEachAction=function(t){this._rawModule.actions&&mo(this._rawModule.actions,t)};Wn.prototype.forEachMutation=function(t){this._rawModule.mutations&&mo(this._rawModule.mutations,t)};Object.defineProperties(Wn.prototype,Zg);var bs=function(t){this.register([],t,!1)};bs.prototype.get=function(t){return t.reduce(function(n,r){return n.getChild(r)},this.root)};bs.prototype.getNamespace=function(t){var n=this.root;return t.reduce(function(r,s){return n=n.getChild(s),r+(n.namespaced?s+"/":"")},"")};bs.prototype.update=function(t){Yg([],this.root,t)};bs.prototype.register=function(t,n,r){var s=this;r===void 0&&(r=!0);var o=new Wn(n,r);if(t.length===0)this.root=o;else{var a=this.get(t.slice(0,-1));a.addChild(t[t.length-1],o)}n.modules&&mo(n.modules,function(i,l){s.register(t.concat(l),i,r)})};bs.prototype.unregister=function(t){var n=this.get(t.slice(0,-1)),r=t[t.length-1],s=n.getChild(r);s&&s.runtime&&n.removeChild(r)};bs.prototype.isRegistered=function(t){var n=this.get(t.slice(0,-1)),r=t[t.length-1];return n?n.hasChild(r):!1};function Yg(e,t,n){if(t.update(n),n.modules)for(var r in n.modules){if(!t.getChild(r))return;Yg(e.concat(r),t.getChild(r),n.modules[r])}}function Ix(e){return new ln(e)}var ln=function(t){var n=this;t===void 0&&(t={});var r=t.plugins;r===void 0&&(r=[]);var s=t.strict;s===void 0&&(s=!1);var o=t.devtools;this._committing=!1,this._actions=Object.create(null),this._actionSubscribers=[],this._mutations=Object.create(null),this._wrappedGetters=Object.create(null),this._modules=new bs(t),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._makeLocalGettersCache=Object.create(null),this._scope=null,this._devtools=o;var a=this,i=this,l=i.dispatch,c=i.commit;this.dispatch=function(m,p){return l.call(a,m,p)},this.commit=function(m,p,h){return c.call(a,m,p,h)},this.strict=s;var d=this._modules.root.state;Yl(this,d,[],this._modules.root),Ud(this,d),r.forEach(function(f){return f(n)})},Wd={state:{configurable:!0}};ln.prototype.install=function(t,n){t.provide(n||gx,this),t.config.globalProperties.$store=this;var r=this._devtools!==void 0?this._devtools:!1;r&&$x(t,this)};Wd.state.get=function(){return this._state.data};Wd.state.set=function(e){};ln.prototype.commit=function(t,n,r){var s=this,o=cl(t,n,r),a=o.type,i=o.payload,l={type:a,payload:i},c=this._mutations[a];c&&(this._withCommit(function(){c.forEach(function(f){f(i)})}),this._subscribers.slice().forEach(function(d){return d(l,s.state)}))};ln.prototype.dispatch=function(t,n){var r=this,s=cl(t,n),o=s.type,a=s.payload,i={type:o,payload:a},l=this._actions[o];if(l){try{this._actionSubscribers.slice().filter(function(d){return d.before}).forEach(function(d){return d.before(i,r.state)})}catch{}var c=l.length>1?Promise.all(l.map(function(d){return d(a)})):l[0](a);return new Promise(function(d,f){c.then(function(m){try{r._actionSubscribers.filter(function(p){return p.after}).forEach(function(p){return p.after(i,r.state)})}catch{}d(m)},function(m){try{r._actionSubscribers.filter(function(p){return p.error}).forEach(function(p){return p.error(i,r.state,m)})}catch{}f(m)})})}};ln.prototype.subscribe=function(t,n){return Hg(t,this._subscribers,n)};ln.prototype.subscribeAction=function(t,n){var r=typeof t=="function"?{before:t}:t;return Hg(r,this._actionSubscribers,n)};ln.prototype.watch=function(t,n,r){var s=this;return Zt(function(){return t(s.state,s.getters)},n,Object.assign({},r))};ln.prototype.replaceState=function(t){var n=this;this._withCommit(function(){n._state.data=t})};ln.prototype.registerModule=function(t,n,r){r===void 0&&(r={}),typeof t=="string"&&(t=[t]),this._modules.register(t,n),Yl(this,this.state,t,this._modules.get(t),r.preserveState),Ud(this,this.state)};ln.prototype.unregisterModule=function(t){var n=this;typeof t=="string"&&(t=[t]),this._modules.unregister(t),this._withCommit(function(){var r=qd(n.state,t.slice(0,-1));delete r[t[t.length-1]]}),jg(this)};ln.prototype.hasModule=function(t){return typeof t=="string"&&(t=[t]),this._modules.isRegistered(t)};ln.prototype.hotUpdate=function(t){this._modules.update(t),jg(this,!0)};ln.prototype._withCommit=function(t){var n=this._committing;this._committing=!0,t(),this._committing=n};Object.defineProperties(ln.prototype,Wd);const Ve=Ix({state(){return{config:{websocket_port:0,version:"",buildoptions:[]},settings:{categories:[]},library:{artists:0,albums:0,songs:0,db_playtime:0,updating:!1},audiobooks_count:{},podcasts_count:{},rss_count:{},outputs:[],player:{state:"stop",repeat:"off",consume:!1,shuffle:!1,volume:0,item_id:0,item_length_ms:0,item_progress_ms:0},lyrics:{found:!1,lyrics_id:-1,lyrics_pane:!1,lyrics:[]},queue:{version:0,count:0,items:[]},lastfm:{},spotify:{},pairing:{},spotify_new_releases:[],spotify_featured_playlists:[],notifications:{next_id:1,list:[]},search_source:"library",recent_searches:[],composer_tracks_sort:1,genre_tracks_sort:1,hide_singles:!1,hide_spotify:!1,artists_sort:1,artist_albums_sort:1,artist_tracks_sort:1,albums_sort:1,show_only_next_items:!1,show_burger_menu:!1,show_player_menu:!1,show_update_dialog:!1,update_dialog_scan_kind:""}},getters:{lyrics:e=>e.lyrics.lyrics,lyrics_found:e=>e.lyrics.found,lyrics_pane:e=>e.lyrics.lyrics_pane,now_playing:e=>{const t=e.queue.items.find(function(n){return n.id===e.player.item_id});return t===void 0?{}:t},settings_webinterface:e=>e.settings?e.settings.categories.find(t=>t.name==="webinterface"):null,settings_option_recently_added_limit:(e,t)=>{if(t.settings_webinterface){const n=t.settings_webinterface.options.find(r=>r.name==="recently_added_limit");if(n)return n.value}return 100},settings_option_show_composer_now_playing:(e,t)=>{if(t.settings_webinterface){const n=t.settings_webinterface.options.find(r=>r.name==="show_composer_now_playing");if(n)return n.value}return!1},settings_option_show_composer_for_genre:(e,t)=>{if(t.settings_webinterface){const n=t.settings_webinterface.options.find(r=>r.name==="show_composer_for_genre");if(n)return n.value}return null},settings_option_show_filepath_now_playing:(e,t)=>{if(t.settings_webinterface){const n=t.settings_webinterface.options.find(r=>r.name==="show_filepath_now_playing");if(n)return n.value}return!1},settings_category:e=>t=>e.settings.categories.find(n=>n.name===t),settings_option:e=>(t,n)=>{const r=e.settings.categories.find(s=>s.name===t);return r?r.options.find(s=>s.name===n):{}}},mutations:{[zh](e,t){e.config=t},[Ch](e,t){e.settings=t},[wl](e,t){const r=e.settings.categories.find(s=>s.name===t.category).options.find(s=>s.name===t.name);r.value=t.value},[wh](e,t){e.library=t},[kh](e,t){e.audiobooks_count=t},[xh](e,t){e.podcasts_count=t},[Eh](e,t){e.rss_count=t},[Sh](e,t){e.outputs=t},[td](e,t){e.player=t},[$h](e,t){e.queue=t},[Ah](e,t){function n(r){let s=[],o=r.split(`
`);const a=/(\[(\d+):(\d+)(?:\.\d+)?\] ?)?(.*)/;return o.forEach(i=>{let l=a.exec(i);if(l!==null&&l[4].length){let c=[l[4]];l[2]!=null&&l[3]!=null&&c.push(parseInt(l[2],10)*60+parseInt(l[3],10)),s.push(c)}}),s}e.lyrics.lyrics="lyrics"in t?n(t.lyrics):"",e.lyrics.found||(e.lyrics.found=e.lyrics.lyrics.length>0)},[Th](e,t){e.lastfm=t},[Oh](e,t){e.spotify=t},[Dh](e,t){e.pairing=t},[nd](e,t){e.spotify_new_releases=t},[rd](e,t){e.spotify_featured_playlists=t},[Am](e,t){if(t.topic){const n=e.notifications.list.findIndex(r=>r.topic===t.topic);if(n>=0){e.notifications.list.splice(n,1,t);return}}e.notifications.list.push(t)},[Xu](e,t){const n=e.notifications.list.indexOf(t);n!==-1&&e.notifications.list.splice(n,1)},[Qu](e,t){e.search_source=t},[sd](e,t){const n=e.recent_searches.findIndex(r=>r===t);n>=0&&e.recent_searches.splice(n,1),e.recent_searches.splice(0,0,t),e.recent_searches.length>5&&e.recent_searches.pop()},[Ph](e,t){e.composer_tracks_sort=t},[Ih](e,t){e.genre_tracks_sort=t},[kl](e,t){e.hide_singles=t},[od](e,t){e.hide_spotify=t},[Fh](e,t){e.artists_sort=t},[Rh](e,t){e.artist_albums_sort=t},[Lh](e,t){e.artist_tracks_sort=t},[Mh](e,t){e.albums_sort=t},[Nh](e,t){e.show_only_next_items=t},[Gs](e,t){e.show_burger_menu=t},[Ks](e,t){e.show_player_menu=t},[va](e,t){e.show_update_dialog=t},[ad](e,t){e.update_dialog_scan_kind=t}},actions:{add_notification({commit:e,state:t},n){const r={id:t.notifications.next_id++,type:n.type,text:n.text,topic:n.topic,timeout:n.timeout};e(Am,r),n.timeout>0&&setTimeout(()=>{e(Xu,r)},n.timeout)}}});/*!
* shared v9.2.2
* (c) 2022 kazuya kawaguchi
* Released under the MIT License.
*/const xc=typeof window<"u",Fx=typeof Symbol=="function"&&typeof Symbol.toStringTag=="symbol",Jr=e=>Fx?Symbol(e):e,ha=e=>typeof e=="number"&&isFinite(e),$f=e=>Xg(e)==="[object RegExp]",Rx=e=>Jn(e)&&Object.keys(e).length===0,rr=Object.assign;let Af;const Jg=()=>Af||(Af=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{}),Lx=Object.prototype.hasOwnProperty;function Gd(e,t){return Lx.call(e,t)}const nr=Array.isArray,Ja=e=>typeof e=="function",Pt=e=>typeof e=="string",Fr=e=>typeof e=="boolean",jn=e=>e!==null&&typeof e=="object",Mx=Object.prototype.toString,Xg=e=>Mx.call(e),Jn=e=>Xg(e)==="[object Object]";/*!
* shared v9.2.2
* (c) 2022 kazuya kawaguchi
* Released under the MIT License.
*/const Nx=(e,t,n)=>Vx({l:e,k:t,s:n}),Vx=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),hn=e=>typeof e=="number"&&isFinite(e),Bx=e=>Zd(e)==="[object Date]",Tf=e=>Zd(e)==="[object RegExp]",Kd=e=>vt(e)&&Object.keys(e).length===0;function Hx(e,t){typeof console<"u"&&(console.warn("[intlify] "+e),t&&console.warn(t.stack))}const Ta=Object.assign;let Of;const jx=()=>Of||(Of=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Df(e){return e.replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&apos;")}const sr=Array.isArray,fn=e=>typeof e=="function",Le=e=>typeof e=="string",_n=e=>typeof e=="boolean",Gt=e=>e!==null&&typeof e=="object",Qg=Object.prototype.toString,Zd=e=>Qg.call(e),vt=e=>Zd(e)==="[object Object]",Ux=e=>e==null?"":sr(e)||vt(e)&&e.toString===Qg?JSON.stringify(e,null,2):String(e);/*!
* message-compiler v9.2.2
* (c) 2022 kazuya kawaguchi
* Released under the MIT License.
*/const ey={EXPECTED_TOKEN:1,INVALID_TOKEN_IN_PLACEHOLDER:2,UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER:3,UNKNOWN_ESCAPE_SEQUENCE:4,INVALID_UNICODE_ESCAPE_SEQUENCE:5,UNBALANCED_CLOSING_BRACE:6,UNTERMINATED_CLOSING_BRACE:7,EMPTY_PLACEHOLDER:8,NOT_ALLOW_NEST_PLACEHOLDER:9,INVALID_LINKED_FORMAT:10,MUST_HAVE_MESSAGES_IN_PLURAL:11,UNEXPECTED_EMPTY_LINKED_MODIFIER:12,UNEXPECTED_EMPTY_LINKED_KEY:13,UNEXPECTED_LEXICAL_ANALYSIS:14,__EXTEND_POINT__:15};function ty(e,t,n={}){const{domain:r,messages:s,args:o}=n,a=e,i=new SyntaxError(String(a));return i.code=e,t&&(i.location=t),i.domain=r,i}/*!
* devtools-if v9.2.2
* (c) 2022 kazuya kawaguchi
* Released under the MIT License.
*/const ny={I18nInit:"i18n:init",FunctionTranslate:"function:translate"};/*!
* core-base v9.2.2
* (c) 2022 kazuya kawaguchi
* Released under the MIT License.
*/const Xr=[];Xr[0]={w:[0],i:[3,0],"[":[4],o:[7]};Xr[1]={w:[1],".":[2],"[":[4],o:[7]};Xr[2]={w:[2],i:[3,0],0:[3,0]};Xr[3]={i:[3,0],0:[3,0],w:[1,1],".":[2,1],"[":[4,1],o:[7,1]};Xr[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],o:8,l:[4,0]};Xr[5]={"'":[4,0],o:8,l:[5,0]};Xr[6]={'"':[4,0],o:8,l:[6,0]};const qx=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function Wx(e){return qx.test(e)}function Gx(e){const t=e.charCodeAt(0),n=e.charCodeAt(e.length-1);return t===n&&(t===34||t===39)?e.slice(1,-1):e}function Kx(e){if(e==null)return"o";switch(e.charCodeAt(0)){case 91:case 93:case 46:case 34:case 39:return e;case 95:case 36:case 45:return"i";case 9:case 10:case 13:case 160:case 65279:case 8232:case 8233:return"w"}return"i"}function Zx(e){const t=e.trim();return e.charAt(0)==="0"&&isNaN(parseInt(e))?!1:Wx(t)?Gx(t):"*"+t}function Yx(e){const t=[];let n=-1,r=0,s=0,o,a,i,l,c,d,f;const m=[];m[0]=()=>{a===void 0?a=i:a+=i},m[1]=()=>{a!==void 0&&(t.push(a),a=void 0)},m[2]=()=>{m[0](),s++},m[3]=()=>{if(s>0)s--,r=4,m[0]();else{if(s=0,a===void 0||(a=Zx(a),a===!1))return!1;m[1]()}};function p(){const h=e[n+1];if(r===5&&h==="'"||r===6&&h==='"')return n++,i="\\"+h,m[0](),!0}for(;r!==null;)if(n++,o=e[n],!(o==="\\"&&p())){if(l=Kx(o),f=Xr[r],c=f[l]||f.l||8,c===8||(r=c[0],c[1]!==void 0&&(d=m[c[1]],d&&(i=o,d()===!1))))return;if(r===7)return t}}const Pf=new Map;function Jx(e,t){return Gt(e)?e[t]:null}function Xx(e,t){if(!Gt(e))return null;let n=Pf.get(t);if(n||(n=Yx(t),n&&Pf.set(t,n)),!n)return null;const r=n.length;let s=e,o=0;for(;o<r;){const a=s[n[o]];if(a===void 0)return null;s=a,o++}return s}const Qx=e=>e,e2=e=>"",t2="text",n2=e=>e.length===0?"":e.join(""),r2=Ux;function If(e,t){return e=Math.abs(e),t===2?e?e>1?1:0:1:e?Math.min(e,2):0}function s2(e){const t=hn(e.pluralIndex)?e.pluralIndex:-1;return e.named&&(hn(e.named.count)||hn(e.named.n))?hn(e.named.count)?e.named.count:hn(e.named.n)?e.named.n:t:t}function o2(e,t){t.count||(t.count=e),t.n||(t.n=e)}function a2(e={}){const t=e.locale,n=s2(e),r=Gt(e.pluralRules)&&Le(t)&&fn(e.pluralRules[t])?e.pluralRules[t]:If,s=Gt(e.pluralRules)&&Le(t)&&fn(e.pluralRules[t])?If:void 0,o=v=>v[r(n,v.length,s)],a=e.list||[],i=v=>a[v],l=e.named||{};hn(e.pluralIndex)&&o2(n,l);const c=v=>l[v];function d(v){const b=fn(e.messages)?e.messages(v):Gt(e.messages)?e.messages[v]:!1;return b||(e.parent?e.parent.message(v):e2)}const f=v=>e.modifiers?e.modifiers[v]:Qx,m=vt(e.processor)&&fn(e.processor.normalize)?e.processor.normalize:n2,p=vt(e.processor)&&fn(e.processor.interpolate)?e.processor.interpolate:r2,h=vt(e.processor)&&Le(e.processor.type)?e.processor.type:t2,z={list:i,named:c,plural:o,linked:(v,...b)=>{const[k,C]=b;let x="text",T="";b.length===1?Gt(k)?(T=k.modifier||T,x=k.type||x):Le(k)&&(T=k||T):b.length===2&&(Le(k)&&(T=k||T),Le(C)&&(x=C||x));let N=d(v)(z);return x==="vnode"&&sr(N)&&T&&(N=N[0]),T?f(T)(N,x):N},message:d,type:h,interpolate:p,normalize:m};return z}let _a=null;function i2(e){_a=e}function l2(e,t,n){_a&&_a.emit(ny.I18nInit,{timestamp:Date.now(),i18n:e,version:t,meta:n})}const u2=c2(ny.FunctionTranslate);function c2(e){return t=>_a&&_a.emit(e,t)}function d2(e,t,n){return[...new Set([n,...sr(t)?t:Gt(t)?Object.keys(t):Le(t)?[t]:[n]])]}function ry(e,t,n){const r=Le(n)?n:Yd,s=e;s.__localeChainCache||(s.__localeChainCache=new Map);let o=s.__localeChainCache.get(r);if(!o){o=[];let a=[n];for(;sr(a);)a=Ff(o,a,t);const i=sr(t)||!vt(t)?t:t.default?t.default:null;a=Le(i)?[i]:i,sr(a)&&Ff(o,a,!1),s.__localeChainCache.set(r,o)}return o}function Ff(e,t,n){let r=!0;for(let s=0;s<t.length&&_n(r);s++){const o=t[s];Le(o)&&(r=m2(e,t[s],n))}return r}function m2(e,t,n){let r;const s=t.split("-");do{const o=s.join("-");r=f2(e,o,n),s.splice(-1,1)}while(s.length&&r===!0);return r}function f2(e,t,n){let r=!1;if(!e.includes(t)&&(r=!0,t)){r=t[t.length-1]!=="!";const s=t.replace(/!/g,"");e.push(s),(sr(n)||vt(n))&&n[s]&&(r=n[s])}return r}const p2="9.2.2",Jl=-1,Yd="en-US",Rf="",Lf=e=>`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;function h2(){return{upper:(e,t)=>t==="text"&&Le(e)?e.toUpperCase():t==="vnode"&&Gt(e)&&"__v_isVNode"in e?e.children.toUpperCase():e,lower:(e,t)=>t==="text"&&Le(e)?e.toLowerCase():t==="vnode"&&Gt(e)&&"__v_isVNode"in e?e.children.toLowerCase():e,capitalize:(e,t)=>t==="text"&&Le(e)?Lf(e):t==="vnode"&&Gt(e)&&"__v_isVNode"in e?Lf(e.children):e}}let _2,sy;function g2(e){sy=e}let oy;function y2(e){oy=e}let ay=null;const Mf=e=>{ay=e},v2=()=>ay;let iy=null;const Nf=e=>{iy=e},b2=()=>iy;let Vf=0;function z2(e={}){const t=Le(e.version)?e.version:p2,n=Le(e.locale)?e.locale:Yd,r=sr(e.fallbackLocale)||vt(e.fallbackLocale)||Le(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:n,s=vt(e.messages)?e.messages:{[n]:{}},o=vt(e.datetimeFormats)?e.datetimeFormats:{[n]:{}},a=vt(e.numberFormats)?e.numberFormats:{[n]:{}},i=Ta({},e.modifiers||{},h2()),l=e.pluralRules||{},c=fn(e.missing)?e.missing:null,d=_n(e.missingWarn)||Tf(e.missingWarn)?e.missingWarn:!0,f=_n(e.fallbackWarn)||Tf(e.fallbackWarn)?e.fallbackWarn:!0,m=!!e.fallbackFormat,p=!!e.unresolving,h=fn(e.postTranslation)?e.postTranslation:null,_=vt(e.processor)?e.processor:null,z=_n(e.warnHtmlMessage)?e.warnHtmlMessage:!0,v=!!e.escapeParameter,b=fn(e.messageCompiler)?e.messageCompiler:_2,k=fn(e.messageResolver)?e.messageResolver:sy||Jx,C=fn(e.localeFallbacker)?e.localeFallbacker:oy||d2,x=Gt(e.fallbackContext)?e.fallbackContext:void 0,T=fn(e.onWarn)?e.onWarn:Hx,N=e,D=Gt(N.__datetimeFormatters)?N.__datetimeFormatters:new Map,I=Gt(N.__numberFormatters)?N.__numberFormatters:new Map,j=Gt(N.__meta)?N.__meta:{};Vf++;const K={version:t,cid:Vf,locale:n,fallbackLocale:r,messages:s,modifiers:i,pluralRules:l,missing:c,missingWarn:d,fallbackWarn:f,fallbackFormat:m,unresolving:p,postTranslation:h,processor:_,warnHtmlMessage:z,escapeParameter:v,messageCompiler:b,messageResolver:k,localeFallbacker:C,fallbackContext:x,onWarn:T,__meta:j};return K.datetimeFormats=o,K.numberFormats=a,K.__datetimeFormatters=D,K.__numberFormatters=I,__INTLIFY_PROD_DEVTOOLS__&&l2(K,t,j),K}function Jd(e,t,n,r,s){const{missing:o,onWarn:a}=e;if(o!==null){const i=o(e,n,t,s);return Le(i)?i:t}else return t}function zo(e,t,n){const r=e;r.__localeChainCache=new Map,e.localeFallbacker(e,n,t)}let ly=ey.__EXTEND_POINT__;const xu=()=>++ly,Ms={INVALID_ARGUMENT:ly,INVALID_DATE_ARGUMENT:xu(),INVALID_ISO_DATE_ARGUMENT:xu(),__EXTEND_POINT__:xu()};function Ns(e){return ty(e,null,void 0)}const Bf=()=>"",Xn=e=>fn(e);function Hf(e,...t){const{fallbackFormat:n,postTranslation:r,unresolving:s,messageCompiler:o,fallbackLocale:a,messages:i}=e,[l,c]=Ec(...t),d=_n(c.missingWarn)?c.missingWarn:e.missingWarn,f=_n(c.fallbackWarn)?c.fallbackWarn:e.fallbackWarn,m=_n(c.escapeParameter)?c.escapeParameter:e.escapeParameter,p=!!c.resolvedMessage,h=Le(c.default)||_n(c.default)?_n(c.default)?o?l:()=>l:c.default:n?o?l:()=>l:"",_=n||h!=="",z=Le(c.locale)?c.locale:e.locale;m&&C2(c);let[v,b,k]=p?[l,z,i[z]||{}]:uy(e,l,z,a,f,d),C=v,x=l;if(!p&&!(Le(C)||Xn(C))&&_&&(C=h,x=C),!p&&(!(Le(C)||Xn(C))||!Le(b)))return s?Jl:l;let T=!1;const N=()=>{T=!0},D=Xn(C)?C:cy(e,l,b,C,x,N);if(T)return C;const I=x2(e,b,k,c),j=a2(I),K=w2(e,D,j),J=r?r(K,l):K;if(__INTLIFY_PROD_DEVTOOLS__){const U={timestamp:Date.now(),key:Le(l)?l:Xn(C)?C.key:"",locale:b||(Xn(C)?C.locale:""),format:Le(C)?C:Xn(C)?C.source:"",message:J};U.meta=Ta({},e.__meta,v2()||{}),u2(U)}return J}function C2(e){sr(e.list)?e.list=e.list.map(t=>Le(t)?Df(t):t):Gt(e.named)&&Object.keys(e.named).forEach(t=>{Le(e.named[t])&&(e.named[t]=Df(e.named[t]))})}function uy(e,t,n,r,s,o){const{messages:a,onWarn:i,messageResolver:l,localeFallbacker:c}=e,d=c(e,r,n);let f={},m,p=null;const h="translate";for(let _=0;_<d.length&&(m=d[_],f=a[m]||{},(p=l(f,t))===null&&(p=f[t]),!(Le(p)||fn(p)));_++){const z=Jd(e,t,m,o,h);z!==t&&(p=z)}return[p,m,f]}function cy(e,t,n,r,s,o){const{messageCompiler:a,warnHtmlMessage:i}=e;if(Xn(r)){const c=r;return c.locale=c.locale||n,c.key=c.key||t,c}if(a==null){const c=()=>r;return c.locale=n,c.key=t,c}const l=a(r,k2(e,n,s,r,i,o));return l.locale=n,l.key=t,l.source=r,l}function w2(e,t,n){return t(n)}function Ec(...e){const[t,n,r]=e,s={};if(!Le(t)&&!hn(t)&&!Xn(t))throw Ns(Ms.INVALID_ARGUMENT);const o=hn(t)?String(t):(Xn(t),t);return hn(n)?s.plural=n:Le(n)?s.default=n:vt(n)&&!Kd(n)?s.named=n:sr(n)&&(s.list=n),hn(r)?s.plural=r:Le(r)?s.default=r:vt(r)&&Ta(s,r),[o,s]}function k2(e,t,n,r,s,o){return{warnHtmlMessage:s,onError:a=>{throw o&&o(a),a},onCacheKey:a=>Nx(t,n,a)}}function x2(e,t,n,r){const{modifiers:s,pluralRules:o,messageResolver:a,fallbackLocale:i,fallbackWarn:l,missingWarn:c,fallbackContext:d}=e,m={locale:t,modifiers:s,pluralRules:o,messages:p=>{let h=a(n,p);if(h==null&&d){const[,,_]=uy(d,p,t,i,l,c);h=a(_,p)}if(Le(h)){let _=!1;const v=cy(e,p,t,h,p,()=>{_=!0});return _?Bf:v}else return Xn(h)?h:Bf}};return e.processor&&(m.processor=e.processor),r.list&&(m.list=r.list),r.named&&(m.named=r.named),hn(r.plural)&&(m.pluralIndex=r.plural),m}function jf(e,...t){const{datetimeFormats:n,unresolving:r,fallbackLocale:s,onWarn:o,localeFallbacker:a}=e,{__datetimeFormatters:i}=e,[l,c,d,f]=Sc(...t),m=_n(d.missingWarn)?d.missingWarn:e.missingWarn;_n(d.fallbackWarn)?d.fallbackWarn:e.fallbackWarn;const p=!!d.part,h=Le(d.locale)?d.locale:e.locale,_=a(e,s,h);if(!Le(l)||l==="")return new Intl.DateTimeFormat(h,f).format(c);let z={},v,b=null;const k="datetime format";for(let T=0;T<_.length&&(v=_[T],z=n[v]||{},b=z[l],!vt(b));T++)Jd(e,l,v,m,k);if(!vt(b)||!Le(v))return r?Jl:l;let C=`${v}__${l}`;Kd(f)||(C=`${C}__${JSON.stringify(f)}`);let x=i.get(C);return x||(x=new Intl.DateTimeFormat(v,Ta({},b,f)),i.set(C,x)),p?x.formatToParts(c):x.format(c)}const dy=["localeMatcher","weekday","era","year","month","day","hour","minute","second","timeZoneName","formatMatcher","hour12","timeZone","dateStyle","timeStyle","calendar","dayPeriod","numberingSystem","hourCycle","fractionalSecondDigits"];function Sc(...e){const[t,n,r,s]=e,o={};let a={},i;if(Le(t)){const l=t.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);if(!l)throw Ns(Ms.INVALID_ISO_DATE_ARGUMENT);const c=l[3]?l[3].trim().startsWith("T")?`${l[1].trim()}${l[3].trim()}`:`${l[1].trim()}T${l[3].trim()}`:l[1].trim();i=new Date(c);try{i.toISOString()}catch{throw Ns(Ms.INVALID_ISO_DATE_ARGUMENT)}}else if(Bx(t)){if(isNaN(t.getTime()))throw Ns(Ms.INVALID_DATE_ARGUMENT);i=t}else if(hn(t))i=t;else throw Ns(Ms.INVALID_ARGUMENT);return Le(n)?o.key=n:vt(n)&&Object.keys(n).forEach(l=>{dy.includes(l)?a[l]=n[l]:o[l]=n[l]}),Le(r)?o.locale=r:vt(r)&&(a=r),vt(s)&&(a=s),[o.key||"",i,o,a]}function Uf(e,t,n){const r=e;for(const s in n){const o=`${t}__${s}`;r.__datetimeFormatters.has(o)&&r.__datetimeFormatters.delete(o)}}function qf(e,...t){const{numberFormats:n,unresolving:r,fallbackLocale:s,onWarn:o,localeFallbacker:a}=e,{__numberFormatters:i}=e,[l,c,d,f]=$c(...t),m=_n(d.missingWarn)?d.missingWarn:e.missingWarn;_n(d.fallbackWarn)?d.fallbackWarn:e.fallbackWarn;const p=!!d.part,h=Le(d.locale)?d.locale:e.locale,_=a(e,s,h);if(!Le(l)||l==="")return new Intl.NumberFormat(h,f).format(c);let z={},v,b=null;const k="number format";for(let T=0;T<_.length&&(v=_[T],z=n[v]||{},b=z[l],!vt(b));T++)Jd(e,l,v,m,k);if(!vt(b)||!Le(v))return r?Jl:l;let C=`${v}__${l}`;Kd(f)||(C=`${C}__${JSON.stringify(f)}`);let x=i.get(C);return x||(x=new Intl.NumberFormat(v,Ta({},b,f)),i.set(C,x)),p?x.formatToParts(c):x.format(c)}const my=["localeMatcher","style","currency","currencyDisplay","currencySign","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","notation","signDisplay","unit","unitDisplay","roundingMode","roundingPriority","roundingIncrement","trailingZeroDisplay"];function $c(...e){const[t,n,r,s]=e,o={};let a={};if(!hn(t))throw Ns(Ms.INVALID_ARGUMENT);const i=t;return Le(n)?o.key=n:vt(n)&&Object.keys(n).forEach(l=>{my.includes(l)?a[l]=n[l]:o[l]=n[l]}),Le(r)?o.locale=r:vt(r)&&(a=r),vt(s)&&(a=s),[o.key||"",i,o,a]}function Wf(e,t,n){const r=e;for(const s in n){const o=`${t}__${s}`;r.__numberFormatters.has(o)&&r.__numberFormatters.delete(o)}}typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(jx().__INTLIFY_PROD_DEVTOOLS__=!1);/*!
* vue-i18n v9.2.2
* (c) 2022 kazuya kawaguchi
* Released under the MIT License.
*/const E2="9.2.2";function S2(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(Jg().__INTLIFY_PROD_DEVTOOLS__=!1)}let fy=ey.__EXTEND_POINT__;const Jt=()=>++fy,vn={UNEXPECTED_RETURN_TYPE:fy,INVALID_ARGUMENT:Jt(),MUST_BE_CALL_SETUP_TOP:Jt(),NOT_INSLALLED:Jt(),NOT_AVAILABLE_IN_LEGACY_MODE:Jt(),REQUIRED_VALUE:Jt(),INVALID_VALUE:Jt(),CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:Jt(),NOT_INSLALLED_WITH_PROVIDE:Jt(),UNEXPECTED_ERROR:Jt(),NOT_COMPATIBLE_LEGACY_VUE_I18N:Jt(),BRIDGE_SUPPORT_VUE_2_ONLY:Jt(),MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION:Jt(),NOT_AVAILABLE_COMPOSITION_IN_LEGACY:Jt(),__EXTEND_POINT__:Jt()};function $n(e,...t){return ty(e,null,void 0)}const Ac=Jr("__transrateVNode"),Tc=Jr("__datetimeParts"),Oc=Jr("__numberParts"),$2=Jr("__setPluralRules");Jr("__intlifyMeta");const A2=Jr("__injectWithOption");function Dc(e){if(!jn(e))return e;for(const t in e)if(Gd(e,t))if(!t.includes("."))jn(e[t])&&Dc(e[t]);else{const n=t.split("."),r=n.length-1;let s=e;for(let o=0;o<r;o++)n[o]in s||(s[n[o]]={}),s=s[n[o]];s[n[r]]=e[t],delete e[t],jn(s[n[r]])&&Dc(s[n[r]])}return e}function py(e,t){const{messages:n,__i18n:r,messageResolver:s,flatJson:o}=t,a=Jn(n)?n:nr(r)?{}:{[e]:{}};if(nr(r)&&r.forEach(i=>{if("locale"in i&&"resource"in i){const{locale:l,resource:c}=i;l?(a[l]=a[l]||{},Go(c,a[l])):Go(c,a)}else Pt(i)&&Go(JSON.parse(i),a)}),s==null&&o)for(const i in a)Gd(a,i)&&Dc(a[i]);return a}const Xa=e=>!jn(e)||nr(e);function Go(e,t){if(Xa(e)||Xa(t))throw $n(vn.INVALID_VALUE);for(const n in e)Gd(e,n)&&(Xa(e[n])||Xa(t[n])?t[n]=e[n]:Go(e[n],t[n]))}function hy(e){return e.type}function T2(e,t,n){let r=jn(t.messages)?t.messages:{};"__i18nGlobal"in n&&(r=py(e.locale.value,{messages:r,__i18n:n.__i18nGlobal}));const s=Object.keys(r);s.length&&s.forEach(o=>{e.mergeLocaleMessage(o,r[o])});{if(jn(t.datetimeFormats)){const o=Object.keys(t.datetimeFormats);o.length&&o.forEach(a=>{e.mergeDateTimeFormat(a,t.datetimeFormats[a])})}if(jn(t.numberFormats)){const o=Object.keys(t.numberFormats);o.length&&o.forEach(a=>{e.mergeNumberFormat(a,t.numberFormats[a])})}}}function Gf(e){return y(Wr,null,e,0)}const Kf="__INTLIFY_META__";let Zf=0;function Yf(e){return(t,n,r,s)=>e(n,r,Tn()||void 0,s)}const O2=()=>{const e=Tn();let t=null;return e&&(t=hy(e)[Kf])?{[Kf]:t}:null};function _y(e={},t){const{__root:n}=e,r=n===void 0;let s=Fr(e.inheritLocale)?e.inheritLocale:!0;const o=Wt(n&&s?n.locale.value:Pt(e.locale)?e.locale:Yd),a=Wt(n&&s?n.fallbackLocale.value:Pt(e.fallbackLocale)||nr(e.fallbackLocale)||Jn(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:o.value),i=Wt(py(o.value,e)),l=Wt(Jn(e.datetimeFormats)?e.datetimeFormats:{[o.value]:{}}),c=Wt(Jn(e.numberFormats)?e.numberFormats:{[o.value]:{}});let d=n?n.missingWarn:Fr(e.missingWarn)||$f(e.missingWarn)?e.missingWarn:!0,f=n?n.fallbackWarn:Fr(e.fallbackWarn)||$f(e.fallbackWarn)?e.fallbackWarn:!0,m=n?n.fallbackRoot:Fr(e.fallbackRoot)?e.fallbackRoot:!0,p=!!e.fallbackFormat,h=Ja(e.missing)?e.missing:null,_=Ja(e.missing)?Yf(e.missing):null,z=Ja(e.postTranslation)?e.postTranslation:null,v=n?n.warnHtmlMessage:Fr(e.warnHtmlMessage)?e.warnHtmlMessage:!0,b=!!e.escapeParameter;const k=n?n.modifiers:Jn(e.modifiers)?e.modifiers:{};let C=e.pluralRules||n&&n.pluralRules,x;x=(()=>{r&&Nf(null);const R={version:E2,locale:o.value,fallbackLocale:a.value,messages:i.value,modifiers:k,pluralRules:C,missing:_===null?void 0:_,missingWarn:d,fallbackWarn:f,fallbackFormat:p,unresolving:!0,postTranslation:z===null?void 0:z,warnHtmlMessage:v,escapeParameter:b,messageResolver:e.messageResolver,__meta:{framework:"vue"}};R.datetimeFormats=l.value,R.numberFormats=c.value,R.__datetimeFormatters=Jn(x)?x.__datetimeFormatters:void 0,R.__numberFormatters=Jn(x)?x.__numberFormatters:void 0;const B=z2(R);return r&&Nf(B),B})(),zo(x,o.value,a.value);function N(){return[o.value,a.value,i.value,l.value,c.value]}const D=Ft({get:()=>o.value,set:R=>{o.value=R,x.locale=o.value}}),I=Ft({get:()=>a.value,set:R=>{a.value=R,x.fallbackLocale=a.value,zo(x,o.value,R)}}),j=Ft(()=>i.value),K=Ft(()=>l.value),J=Ft(()=>c.value);function U(){return Ja(z)?z:null}function H(R){z=R,x.postTranslation=R}function he(){return h}function ee(R){R!==null&&(_=Yf(R)),h=R,x.missing=_}const se=(R,B,fe,ve,Te,Ue)=>{N();let Me;if(__INTLIFY_PROD_DEVTOOLS__)try{Mf(O2()),r||(x.fallbackContext=n?b2():void 0),Me=R(x)}finally{Mf(null),r||(x.fallbackContext=void 0)}else Me=R(x);if(ha(Me)&&Me===Jl){const[F,L]=B();return n&&m?ve(n):Te(F)}else{if(Ue(Me))return Me;throw $n(vn.UNEXPECTED_RETURN_TYPE)}};function ye(...R){return se(B=>Reflect.apply(Hf,null,[B,...R]),()=>Ec(...R),"translate",B=>Reflect.apply(B.t,B,[...R]),B=>B,B=>Pt(B))}function qe(...R){const[B,fe,ve]=R;if(ve&&!jn(ve))throw $n(vn.INVALID_ARGUMENT);return ye(B,fe,rr({resolvedMessage:!0},ve||{}))}function it(...R){return se(B=>Reflect.apply(jf,null,[B,...R]),()=>Sc(...R),"datetime format",B=>Reflect.apply(B.d,B,[...R]),()=>Rf,B=>Pt(B))}function Ge(...R){return se(B=>Reflect.apply(qf,null,[B,...R]),()=>$c(...R),"number format",B=>Reflect.apply(B.n,B,[...R]),()=>Rf,B=>Pt(B))}function Be(R){return R.map(B=>Pt(B)||ha(B)||Fr(B)?Gf(String(B)):B)}const dt={normalize:Be,interpolate:R=>R,type:"vnode"};function mt(...R){return se(B=>{let fe;const ve=B;try{ve.processor=dt,fe=Reflect.apply(Hf,null,[ve,...R])}finally{ve.processor=null}return fe},()=>Ec(...R),"translate",B=>B[Ac](...R),B=>[Gf(B)],B=>nr(B))}function Ie(...R){return se(B=>Reflect.apply(qf,null,[B,...R]),()=>$c(...R),"number format",B=>B[Oc](...R),()=>[],B=>Pt(B)||nr(B))}function q(...R){return se(B=>Reflect.apply(jf,null,[B,...R]),()=>Sc(...R),"datetime format",B=>B[Tc](...R),()=>[],B=>Pt(B)||nr(B))}function ie(R){C=R,x.pluralRules=C}function re(R,B){const fe=Pt(B)?B:o.value,ve=A(fe);return x.messageResolver(ve,R)!==null}function ge(R){let B=null;const fe=ry(x,a.value,o.value);for(let ve=0;ve<fe.length;ve++){const Te=i.value[fe[ve]]||{},Ue=x.messageResolver(Te,R);if(Ue!=null){B=Ue;break}}return B}function Ne(R){const B=ge(R);return B??(n?n.tm(R)||{}:{})}function A(R){return i.value[R]||{}}function O(R,B){i.value[R]=B,x.messages=i.value}function P(R,B){i.value[R]=i.value[R]||{},Go(B,i.value[R]),x.messages=i.value}function G(R){return l.value[R]||{}}function Y(R,B){l.value[R]=B,x.datetimeFormats=l.value,Uf(x,R,B)}function Q(R,B){l.value[R]=rr(l.value[R]||{},B),x.datetimeFormats=l.value,Uf(x,R,B)}function ue(R){return c.value[R]||{}}function ae(R,B){c.value[R]=B,x.numberFormats=c.value,Wf(x,R,B)}function oe(R,B){c.value[R]=rr(c.value[R]||{},B),x.numberFormats=c.value,Wf(x,R,B)}Zf++,n&&xc&&(Zt(n.locale,R=>{s&&(o.value=R,x.locale=R,zo(x,o.value,a.value))}),Zt(n.fallbackLocale,R=>{s&&(a.value=R,x.fallbackLocale=R,zo(x,o.value,a.value))}));const Z={id:Zf,locale:D,fallbackLocale:I,get inheritLocale(){return s},set inheritLocale(R){s=R,R&&n&&(o.value=n.locale.value,a.value=n.fallbackLocale.value,zo(x,o.value,a.value))},get availableLocales(){return Object.keys(i.value).sort()},messages:j,get modifiers(){return k},get pluralRules(){return C||{}},get isGlobal(){return r},get missingWarn(){return d},set missingWarn(R){d=R,x.missingWarn=d},get fallbackWarn(){return f},set fallbackWarn(R){f=R,x.fallbackWarn=f},get fallbackRoot(){return m},set fallbackRoot(R){m=R},get fallbackFormat(){return p},set fallbackFormat(R){p=R,x.fallbackFormat=p},get warnHtmlMessage(){return v},set warnHtmlMessage(R){v=R,x.warnHtmlMessage=R},get escapeParameter(){return b},set escapeParameter(R){b=R,x.escapeParameter=R},t:ye,getLocaleMessage:A,setLocaleMessage:O,mergeLocaleMessage:P,getPostTranslationHandler:U,setPostTranslationHandler:H,getMissingHandler:he,setMissingHandler:ee,[$2]:ie};return Z.datetimeFormats=K,Z.numberFormats=J,Z.rt=qe,Z.te=re,Z.tm=Ne,Z.d=it,Z.n=Ge,Z.getDateTimeFormat=G,Z.setDateTimeFormat=Y,Z.mergeDateTimeFormat=Q,Z.getNumberFormat=ue,Z.setNumberFormat=ae,Z.mergeNumberFormat=oe,Z[A2]=e.__injectWithOption,Z[Ac]=mt,Z[Tc]=q,Z[Oc]=Ie,Z}const Xd={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e==="parent"||e==="global",default:"parent"},i18n:{type:Object}};function D2({slots:e},t){return t.length===1&&t[0]==="default"?(e.default?e.default():[]).reduce((r,s)=>r=[...r,...nr(s.children)?s.children:[s]],[]):t.reduce((n,r)=>{const s=e[r];return s&&(n[r]=s()),n},{})}function gy(e){return Ce}const Jf={name:"i18n-t",props:rr({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>ha(e)||!isNaN(e)}},Xd),setup(e,t){const{slots:n,attrs:r}=t,s=e.i18n||Qd({useScope:e.scope,__useComponent:!0});return()=>{const o=Object.keys(n).filter(f=>f!=="_"),a={};e.locale&&(a.locale=e.locale),e.plural!==void 0&&(a.plural=Pt(e.plural)?+e.plural:e.plural);const i=D2(t,o),l=s[Ac](e.keypath,i,a),c=rr({},r),d=Pt(e.tag)||jn(e.tag)?e.tag:gy();return er(d,c,l)}}};function P2(e){return nr(e)&&!Pt(e[0])}function yy(e,t,n,r){const{slots:s,attrs:o}=t;return()=>{const a={part:!0};let i={};e.locale&&(a.locale=e.locale),Pt(e.format)?a.key=e.format:jn(e.format)&&(Pt(e.format.key)&&(a.key=e.format.key),i=Object.keys(e.format).reduce((m,p)=>n.includes(p)?rr({},m,{[p]:e.format[p]}):m,{}));const l=r(e.value,a,i);let c=[a.key];nr(l)?c=l.map((m,p)=>{const h=s[m.type],_=h?h({[m.type]:m.value,index:p,parts:l}):[m.value];return P2(_)&&(_[0].key=`${m.type}-${p}`),_}):Pt(l)&&(c=[l]);const d=rr({},o),f=Pt(e.tag)||jn(e.tag)?e.tag:gy();return er(f,d,c)}}const Xf={name:"i18n-n",props:rr({value:{type:Number,required:!0},format:{type:[String,Object]}},Xd),setup(e,t){const n=e.i18n||Qd({useScope:"parent",__useComponent:!0});return yy(e,t,my,(...r)=>n[Oc](...r))}},Qf={name:"i18n-d",props:rr({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},Xd),setup(e,t){const n=e.i18n||Qd({useScope:"parent",__useComponent:!0});return yy(e,t,dy,(...r)=>n[Tc](...r))}};function I2(e,t){const n=e;if(e.mode==="composition")return n.__getInstance(t)||e.global;{const r=n.__getInstance(t);return r!=null?r.__composer:e.global.__composer}}function F2(e){const t=a=>{const{instance:i,modifiers:l,value:c}=a;if(!i||!i.$)throw $n(vn.UNEXPECTED_ERROR);const d=I2(e,i.$),f=ep(c);return[Reflect.apply(d.t,d,[...tp(f)]),d]};return{created:(a,i)=>{const[l,c]=t(i);xc&&e.global===c&&(a.__i18nWatcher=Zt(c.locale,()=>{i.instance&&i.instance.$forceUpdate()})),a.__composer=c,a.textContent=l},unmounted:a=>{xc&&a.__i18nWatcher&&(a.__i18nWatcher(),a.__i18nWatcher=void 0,delete a.__i18nWatcher),a.__composer&&(a.__composer=void 0,delete a.__composer)},beforeUpdate:(a,{value:i})=>{if(a.__composer){const l=a.__composer,c=ep(i);a.textContent=Reflect.apply(l.t,l,[...tp(c)])}},getSSRProps:a=>{const[i]=t(a);return{textContent:i}}}}function ep(e){if(Pt(e))return{path:e};if(Jn(e)){if(!("path"in e))throw $n(vn.REQUIRED_VALUE,"path");return e}else throw $n(vn.INVALID_VALUE)}function tp(e){const{path:t,locale:n,args:r,choice:s,plural:o}=e,a={},i=r||{};return Pt(n)&&(a.locale=n),ha(s)&&(a.plural=s),ha(o)&&(a.plural=o),[t,i,a]}function R2(e,t,...n){const r=Jn(n[0])?n[0]:{},s=!!r.useI18nComponentName;(Fr(r.globalInstall)?r.globalInstall:!0)&&(e.component(s?"i18n":Jf.name,Jf),e.component(Xf.name,Xf),e.component(Qf.name,Qf)),e.directive("t",F2(t))}const L2=Jr("global-vue-i18n");function M2(e={},t){const n=Fr(e.globalInjection)?e.globalInjection:!0,r=!0,s=new Map,[o,a]=N2(e),i=Jr("");function l(f){return s.get(f)||null}function c(f,m){s.set(f,m)}function d(f){s.delete(f)}{const f={get mode(){return"composition"},get allowComposition(){return r},async install(m,...p){m.__VUE_I18N_SYMBOL__=i,m.provide(m.__VUE_I18N_SYMBOL__,f),n&&G2(m,f.global),R2(m,f,...p);const h=m.unmount;m.unmount=()=>{f.dispose(),h()}},get global(){return a},dispose(){o.stop()},__instances:s,__getInstance:l,__setInstance:c,__deleteInstance:d};return f}}function Qd(e={}){const t=Tn();if(t==null)throw $n(vn.MUST_BE_CALL_SETUP_TOP);if(!t.isCE&&t.appContext.app!=null&&!t.appContext.app.__VUE_I18N_SYMBOL__)throw $n(vn.NOT_INSLALLED);const n=V2(t),r=H2(n),s=hy(t),o=B2(e,s);if(o==="global")return T2(r,e,s),r;if(o==="parent"){let l=j2(n,t,e.__useComponent);return l==null&&(l=r),l}const a=n;let i=a.__getInstance(t);if(i==null){const l=rr({},e);"__i18n"in s&&(l.__i18n=s.__i18n),r&&(l.__root=r),i=_y(l),U2(a,t),a.__setInstance(t,i)}return i}function N2(e,t,n){const r=md();{const s=r.run(()=>_y(e));if(s==null)throw $n(vn.UNEXPECTED_ERROR);return[r,s]}}function V2(e){{const t=Hn(e.isCE?L2:e.appContext.app.__VUE_I18N_SYMBOL__);if(!t)throw $n(e.isCE?vn.NOT_INSLALLED_WITH_PROVIDE:vn.UNEXPECTED_ERROR);return t}}function B2(e,t){return Rx(e)?"__i18n"in t?"local":"global":e.useScope?e.useScope:"local"}function H2(e){return e.mode==="composition"?e.global:e.global.__composer}function j2(e,t,n=!1){let r=null;const s=t.root;let o=t.parent;for(;o!=null;){const a=e;if(e.mode==="composition"&&(r=a.__getInstance(o)),r!=null||s===o)break;o=o.parent}return r}function U2(e,t,n){uo(()=>{},t),Ea(()=>{e.__deleteInstance(t)},t)}const q2=["locale","fallbackLocale","availableLocales"],W2=["t","rt","d","n","tm"];function G2(e,t){const n=Object.create(null);q2.forEach(r=>{const s=Object.getOwnPropertyDescriptor(t,r);if(!s)throw $n(vn.UNEXPECTED_ERROR);const o=Ot(s.value)?{get(){return s.value.value},set(a){s.value.value=a}}:{get(){return s.get&&s.get()}};Object.defineProperty(n,r,o)}),e.config.globalProperties.$i18n=n,W2.forEach(r=>{const s=Object.getOwnPropertyDescriptor(t,r);if(!s||!s.value)throw $n(vn.UNEXPECTED_ERROR);Object.defineProperty(e.config.globalProperties,`$${r}`,s)})}g2(Xx);y2(ry);S2();if(__INTLIFY_PROD_DEVTOOLS__){const e=Jg();e.__INTLIFY__=!0,i2(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}const K2={de:{data:{kind:{file:e=>{const{normalize:t}=e;return t(["Datei"])},url:e=>{const{normalize:t}=e;return t(["URL"])},spotify:e=>{const{normalize:t}=e;return t(["Spotify"])},pipe:e=>{const{normalize:t}=e;return t(["Stream"])}}},dialog:{cancel:e=>{const{normalize:t}=e;return t(["Abbrechen"])},add:{rss:{add:e=>{const{normalize:t}=e;return t(["Hinzufügen"])},cancel:e=>{const{normalize:t}=e;return t(["Abbrechen"])},help:e=>{const{normalize:t}=e;return t(["Hinzufügen eines Podcasts führt zur Anlage einer RSS-Playlist, so kann Owntone das Podcast-Abo verwalten."])},placeholder:e=>{const{normalize:t}=e;return t(["https://url-to-rss"])},processing:e=>{const{normalize:t}=e;return t(["Verarbeite…"])},title:e=>{const{normalize:t}=e;return t(["Füge Podcast RSS-Feed-Url hinzu"])}},stream:{add:e=>{const{normalize:t}=e;return t(["Hinzufügen"])},cancel:e=>{const{normalize:t}=e;return t(["Abbrechen"])},loading:e=>{const{normalize:t}=e;return t(["Lade…"])},placeholder:e=>{const{normalize:t}=e;return t(["https://url-to-stream"])},play:e=>{const{normalize:t}=e;return t(["Spielen"])},title:e=>{const{normalize:t}=e;return t(["Stream-URL hinzufügen"])}}},album:{"add-next":e=>{const{normalize:t}=e;return t(["Als nächstes hinzufügen"])},add:e=>{const{normalize:t}=e;return t(["Hinzufügen"])},"added-on":e=>{const{normalize:t}=e;return t(["Hinzugefügt am"])},artist:e=>{const{normalize:t}=e;return t(["Album Künstler"])},duration:e=>{const{normalize:t}=e;return t(["Dauer"])},"mark-as-played":e=>{const{normalize:t}=e;return t(["Markiere als gespielt"])},play:e=>{const{normalize:t}=e;return t(["Spielen"])},"release-date":e=>{const{normalize:t}=e;return t(["Veröffentlichungsdatum"])},"remove-podcast":e=>{const{normalize:t}=e;return t(["Entferne podcast"])},tracks:e=>{const{normalize:t}=e;return t(["Track Nummer"])},type:e=>{const{normalize:t}=e;return t(["Art"])},year:e=>{const{normalize:t}=e;return t(["Jahr"])}},artist:{"add-next":e=>{const{normalize:t}=e;return t(["Als nächstes hinzufügen"])},add:e=>{const{normalize:t}=e;return t(["Hinzufügen"])},"added-on":e=>{const{normalize:t}=e;return t(["Hinzugefügt am"])},albums:e=>{const{normalize:t}=e;return t(["Alben"])},play:e=>{const{normalize:t}=e;return t(["Spielen"])},tracks:e=>{const{normalize:t}=e;return t(["Tracks"])},type:e=>{const{normalize:t}=e;return t(["Art"])}},composer:{"add-next":e=>{const{normalize:t}=e;return t(["Als nächstes hinzufügen"])},add:e=>{const{normalize:t}=e;return t(["Hinzufügen"])},albums:e=>{const{normalize:t}=e;return t(["Alben"])},duration:e=>{const{normalize:t}=e;return t(["Dauer"])},play:e=>{const{normalize:t}=e;return t(["Spielen"])},tracks:e=>{const{normalize:t}=e;return t(["Tracks"])}},directory:{"add-next":e=>{const{normalize:t}=e;return t(["Als nächstes hinzufügen"])},add:e=>{const{normalize:t}=e;return t(["Hinzufügen"])},play:e=>{const{normalize:t}=e;return t(["Spielen"])}},genre:{"add-next":e=>{const{normalize:t}=e;return t(["Als nächstes hinzufügen"])},add:e=>{const{normalize:t}=e;return t(["Hinzufügen"])},albums:e=>{const{normalize:t}=e;return t(["Alben"])},duration:e=>{const{normalize:t}=e;return t(["Dauer"])},play:e=>{const{normalize:t}=e;return t(["Spielen"])},tracks:e=>{const{normalize:t}=e;return t(["Tracks"])}},playlist:{"add-next":e=>{const{normalize:t}=e;return t(["Als nächstes hinzufügen"])},add:e=>{const{normalize:t}=e;return t(["Hinzufügen"])},path:e=>{const{normalize:t}=e;return t(["Pfad"])},play:e=>{const{normalize:t}=e;return t(["Spielen"])},"track-count":e=>{const{normalize:t}=e;return t(["Tracknummer"])},type:e=>{const{normalize:t}=e;return t(["Art"])},save:{cancel:e=>{const{normalize:t}=e;return t(["Abbrechen"])},"playlist-name":e=>{const{normalize:t}=e;return t(["Playlistname"])},save:e=>{const{normalize:t}=e;return t(["Speichern"])},saving:e=>{const{normalize:t}=e;return t(["Speichere…"])},title:e=>{const{normalize:t}=e;return t(["Warteschlange als Playlist speichern"])}}},"queue-item":{"album-artist":e=>{const{normalize:t}=e;return t(["Album-Künstler"])},album:e=>{const{normalize:t}=e;return t(["Album"])},bitrate:e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["|"," ",n(r("rate"))," kbit/s"])},channels:e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["|"," ",n(r("channels"))])},composer:e=>{const{normalize:t}=e;return t(["Komponist"])},duration:e=>{const{normalize:t}=e;return t(["Dauer"])},genre:e=>{const{normalize:t}=e;return t(["Genre"])},path:e=>{const{normalize:t}=e;return t(["Pfad"])},play:e=>{const{normalize:t}=e;return t(["Spielen"])},position:e=>{const{normalize:t}=e;return t(["Disc / Track"])},quality:e=>{const{normalize:t}=e;return t(["Qualität"])},remove:e=>{const{normalize:t}=e;return t(["Entfernen"])},samplerate:e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["|"," ",n(r("rate"))," Hz"])},"spotify-album":e=>{const{normalize:t}=e;return t(["Album"])},"spotify-artist":e=>{const{normalize:t}=e;return t(["Künstler"])},type:e=>{const{normalize:t}=e;return t(["Art"])},year:e=>{const{normalize:t}=e;return t(["Jahr"])}},"remote-pairing":{cancel:e=>{const{normalize:t}=e;return t(["Abbrechen"])},pair:e=>{const{normalize:t}=e;return t(["Remote paaren"])},"pairing-code":e=>{const{normalize:t}=e;return t(["Pairing-Code"])},title:e=>{const{normalize:t}=e;return t(["Remote-Paarungs-Anfrage"])}},spotify:{album:{"add-next":e=>{const{normalize:t}=e;return t(["Als nächstes hinzufügen"])},add:e=>{const{normalize:t}=e;return t(["Hinzufügen"])},"album-artist":e=>{const{normalize:t}=e;return t(["Album-Künstler"])},play:e=>{const{normalize:t}=e;return t(["Spielen"])},"release-date":e=>{const{normalize:t}=e;return t(["Veröffentlichungsdatum"])},type:e=>{const{normalize:t}=e;return t(["Art"])}},artist:{"add-next":e=>{const{normalize:t}=e;return t(["Als nächstes hinzufügen"])},add:e=>{const{normalize:t}=e;return t(["Hinzufügen"])},genres:e=>{const{normalize:t}=e;return t(["Genres"])},play:e=>{const{normalize:t}=e;return t(["Spielen"])},popularity:e=>{const{normalize:t}=e;return t(["Popularität / Followers"])}},playlist:{"add-next":e=>{const{normalize:t}=e;return t(["Als nächstes hinzufügen"])},add:e=>{const{normalize:t}=e;return t(["Hinzufügen"])},owner:e=>{const{normalize:t}=e;return t(["Besitzer"])},path:e=>{const{normalize:t}=e;return t(["Pfad"])},play:e=>{const{normalize:t}=e;return t(["Spielen"])},tracks:e=>{const{normalize:t}=e;return t(["Tracks"])}},track:{"add-next":e=>{const{normalize:t}=e;return t(["Als nächstes hinzufügen"])},add:e=>{const{normalize:t}=e;return t(["Hinzufügen"])},"album-artist":e=>{const{normalize:t}=e;return t(["Album-Künstler"])},album:e=>{const{normalize:t}=e;return t(["Album"])},duration:e=>{const{normalize:t}=e;return t(["Dauer"])},path:e=>{const{normalize:t}=e;return t(["Pfad"])},play:e=>{const{normalize:t}=e;return t(["Spielen"])},position:e=>{const{normalize:t}=e;return t(["Disc / Track"])},"release-date":e=>{const{normalize:t}=e;return t(["Veröffentlichungsdatum"])}}},track:{"add-next":e=>{const{normalize:t}=e;return t(["Als nächstes hinzufügen"])},add:e=>{const{normalize:t}=e;return t(["Hinzufügen"])},"added-on":e=>{const{normalize:t}=e;return t(["Hinzugefügt am"])},"album-artist":e=>{const{normalize:t}=e;return t(["Album-Künstler"])},album:e=>{const{normalize:t}=e;return t(["Album"])},bitrate:e=>{const{normalize:t,interpolate:n,named:r}=e;return t([" ","|"," ",n(r("rate"))," Kb/s"])},channels:e=>{const{normalize:t,interpolate:n,named:r}=e;return t([" ","|"," ",n(r("channels"))])},comment:e=>{const{normalize:t}=e;return t(["Kommentar"])},composer:e=>{const{normalize:t}=e;return t(["Komponist"])},duration:e=>{const{normalize:t}=e;return t(["Dauer"])},genre:e=>{const{normalize:t}=e;return t(["Genre"])},"mark-as-new":e=>{const{normalize:t}=e;return t(["Markiere als neu"])},"mark-as-played":e=>{const{normalize:t}=e;return t(["Markiere als gespielt"])},path:e=>{const{normalize:t}=e;return t(["Pfad"])},play:e=>{const{normalize:t}=e;return t(["Spielen"])},position:e=>{const{normalize:t}=e;return t(["Disc / Track"])},quality:e=>{const{normalize:t}=e;return t(["Qualität"])},"rating-value":e=>{const{normalize:t,interpolate:n,named:r}=e;return t([n(r("rating"))," / 10"])},rating:e=>{const{normalize:t}=e;return t(["Bewertung"])},"release-date":e=>{const{normalize:t}=e;return t(["Veröffentlichungsdatum"])},samplerate:e=>{const{normalize:t,interpolate:n,named:r}=e;return t([" ","|"," ",n(r("rate"))," Hz"])},"spotify-album":e=>{const{normalize:t}=e;return t(["Album"])},"spotify-artist":e=>{const{normalize:t}=e;return t(["Künstler"])},type:e=>{const{normalize:t}=e;return t(["Art"])},year:e=>{const{normalize:t}=e;return t(["Jahr"])}},update:{all:e=>{const{normalize:t}=e;return t(["Alles neu einlesen"])},cancel:e=>{const{normalize:t}=e;return t(["Abbrechen"])},feeds:e=>{const{normalize:t}=e;return t(["Nur RSS-Feeds neu einlesen"])},info:e=>{const{normalize:t}=e;return t(["Suche nach neuen, gelöschten und veränderten Dateien"])},local:e=>{const{normalize:t}=e;return t(["Nur lokale Bibliothek neu einlesen"])},progress:e=>{const{normalize:t}=e;return t(["Bibliothek wird neu eingelesen…"])},"rescan-metadata":e=>{const{normalize:t}=e;return t(["Metadata von unveränderten Dateien neu einlesen"])},rescan:e=>{const{normalize:t}=e;return t(["Neu einlesen"])},spotify:e=>{const{normalize:t}=e;return t(["Nur Spotify neu einlesen"])},title:e=>{const{normalize:t}=e;return t(["Bibliothek neu einlesen"])}}},language:{de:e=>{const{normalize:t}=e;return t(["Deutsch"])},en:e=>{const{normalize:t}=e;return t(["Englisch (English)"])},fr:e=>{const{normalize:t}=e;return t(["Französisch (Français)"])},zh:e=>{const{normalize:t}=e;return t(["Chinesisch (中文)"])}},list:{albums:{"info-1":e=>{const{normalize:t}=e;return t(["Diesen Podcast dauerhaft aus der Bibliothek löschen?"])},"info-2":e=>{const{normalize:t}=e;return t(["Dies wir auch RSS-Playlisten löschen "])},remove:e=>{const{normalize:t}=e;return t(["Entfernen"])},"remove-podcast":e=>{const{normalize:t}=e;return t(["Entferne podcast"])}},spotify:{"not-playable-track":e=>{const{normalize:t}=e;return t(["Track kann nicht gespielt werden"])},"restriction-reason":e=>{const{normalize:t,interpolate:n,named:r}=e;return t([", Beschränkungsgrund: ",n(r("reason"))])}}},media:{kind:{album:e=>{const{normalize:t}=e;return t(["Album"])},audiobook:e=>{const{normalize:t}=e;return t(["Hörbuch"])},music:e=>{const{normalize:t}=e;return t(["Musik"])},podcast:e=>{const{normalize:t}=e;return t(["Podcast"])}}},navigation:{about:e=>{const{normalize:t}=e;return t(["Über"])},albums:e=>{const{normalize:t}=e;return t(["Alben"])},artists:e=>{const{normalize:t}=e;return t(["Künstler"])},audiobooks:e=>{const{normalize:t}=e;return t(["Hörbücher"])},"now-playing":e=>{const{normalize:t,interpolate:n,named:r}=e;return t([" - ",n(r("album"))])},"stream-error":e=>{const{normalize:t}=e;return t(["HTTP-stream-Fehler: Stream kann nicht geladen werden oder wurde wg. Netzwerkfehler gestopt"])},stream:e=>{const{normalize:t}=e;return t(["HTTP-stream"])},volume:e=>{const{normalize:t}=e;return t(["Lautstärke"])},files:e=>{const{normalize:t}=e;return t(["Dateien"])},genres:e=>{const{normalize:t}=e;return t(["Genres"])},music:e=>{const{normalize:t}=e;return t(["Musik"])},playlists:e=>{const{normalize:t}=e;return t(["Playlisten"])},podcasts:e=>{const{normalize:t}=e;return t(["Podcasts"])},radio:e=>{const{normalize:t}=e;return t(["Radio"])},search:e=>{const{normalize:t}=e;return t(["Suche"])},settings:e=>{const{normalize:t}=e;return t(["Einstellungen"])},spotify:e=>{const{normalize:t}=e;return t(["Spotify"])},title:e=>{const{normalize:t}=e;return t(["OwnTone"])},"update-library":e=>{const{normalize:t}=e;return t(["Bibliothek neu einlesen"])}},page:{about:{albums:e=>{const{normalize:t}=e;return t(["Albums"])},artists:e=>{const{normalize:t}=e;return t(["Künstler"])},"built-with":e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["Oberfläche erstellt mit ",n(r("bulma")),", ",n(r("mdi")),", ",n(r("vuejs")),", ",n(r("axios"))," und ",n(r("others")),"."])},"compiled-with":e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["Compiliert mit Unterstützung von ",n(r("options")),"."])},library:e=>{const{normalize:t}=e;return t(["Bibliothek"])},more:e=>{const{normalize:t}=e;return t(["mehr"])},"total-playtime":e=>{const{normalize:t}=e;return t(["Gesamte Spielzeit"])},tracks:e=>{const{normalize:t}=e;return t(["Tracks"])},update:e=>{const{normalize:t}=e;return t(["Neu einlesen"])},"updated-on":e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["vor ",n(r("time"))])},updated:e=>{const{normalize:t}=e;return t(["Neu eingelesen"])},uptime:e=>{const{normalize:t}=e;return t(["Laufzeit"])},version:e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["Version ",n(r("version"))])}},album:{shuffle:e=>{const{normalize:t}=e;return t(["Zufallswiedergabe"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t([n(r("count"))," Track"]),t([n(r("count"))," Track"]),t([n(r("count"))," Tracks"])])}},albums:{count:e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t([n(r("count"))," Album"]),t([n(r("count"))," Album"]),t([n(r("count"))," Alben"])])},filter:e=>{const{normalize:t}=e;return t(["Filter"])},"hide-singles-help":e=>{const{normalize:t}=e;return t(["Nach Aktivierung werden keine Singles und Alben angezeigt, die nur in Playlisten enthalten sind."])},"hide-singles":e=>{const{normalize:t}=e;return t(["Nach Aktivierung werden keine Singles angezeigt"])},"hide-spotify-help":e=>{const{normalize:t}=e;return t(["Nach Aktivierung werden keine Alben angezeigt, die nur in der Spotify-Bibliothek enthalten sind."])},"hide-spotify":e=>{const{normalize:t}=e;return t(["Verbirgt Spotify-Alben"])},title:e=>{const{normalize:t}=e;return t(["Alben"])},"sort-by":{title:e=>{const{normalize:t}=e;return t(["Sortieren nach"])},name:e=>{const{normalize:t}=e;return t(["Name"])},"recently-added":e=>{const{normalize:t}=e;return t(["Kürzlich hinzugefügt"])},"recently-released":e=>{const{normalize:t}=e;return t(["Kürzlich erschienen"])}}},artist:{"album-count":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t([n(r("count"))," Album"]),t([n(r("count"))," Album"]),t([n(r("count"))," Alben"])])},shuffle:e=>{const{normalize:t}=e;return t(["Zufallswiedergabe"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t([n(r("count"))," Track"]),t([n(r("count"))," Track"]),t([n(r("count"))," Tracks"])])},"sort-by":{title:e=>{const{normalize:t}=e;return t(["Sortieren nach"])},name:e=>{const{normalize:t}=e;return t(["Name"])},rating:e=>{const{normalize:t}=e;return t(["Bewertung"])},"release-date":e=>{const{normalize:t}=e;return t(["Erscheinungsdatum"])}}},artists:{count:e=>{const{normalize:t,interpolate:n,named:r}=e;return t([n(r("count"))," Künstler"])},filter:e=>{const{normalize:t}=e;return t(["Filter"])},"sort-by":{title:e=>{const{normalize:t}=e;return t(["Sortieren nach"])},name:e=>{const{normalize:t}=e;return t(["Namen"])},"recently-added":e=>{const{normalize:t}=e;return t(["Kürzlich hinzugefügt"])}},"hide-singles-help":e=>{const{normalize:t}=e;return t(["Nach Aktivierung werden keine Singles und Alben angezeigt, die nur in Playlisten enthalten sind."])},"hide-singles":e=>{const{normalize:t}=e;return t(["Nach Aktivierung werden keine Singles angezeigt"])},"hide-spotify-help":e=>{const{normalize:t}=e;return t(["Nach Aktivierung werden keine Alben angezeigt, die nur in der Spotify-Bibliothek enthalten sind."])},"hide-spotify":e=>{const{normalize:t}=e;return t(["Verbirgt Künstler auf Spotify"])},title:e=>{const{normalize:t}=e;return t(["Künstler"])}},audiobooks:{album:{play:e=>{const{normalize:t}=e;return t(["Spielen"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t([n(r("count"))," Track"]),t([n(r("count"))," Track"]),t([n(r("count"))," Tracks"])])}},albums:{count:e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t([n(r("count"))," Hörbuch"]),t([n(r("count"))," Hörbuch"]),t([n(r("count"))," Hörbücher"])])},title:e=>{const{normalize:t}=e;return t(["Hörbücher"])}},artist:{"album-count":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t([n(r("count"))," Album"]),t([n(r("count"))," Album"]),t([n(r("count"))," Alben"])])},play:e=>{const{normalize:t}=e;return t(["Spielen"])}},artists:{count:e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t([n(r("count"))," Autor"]),t([n(r("count"))," Autor"]),t([n(r("count"))," Autoren"])])},title:e=>{const{normalize:t}=e;return t(["Autoren"])}},tabs:{authors:e=>{const{normalize:t}=e;return t(["Autoren"])},audiobooks:e=>{const{normalize:t}=e;return t(["Hörbücher"])},genres:e=>{const{normalize:t}=e;return t(["Genres"])}}},composer:{"album-count":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t([n(r("count"))," Album"]),t([n(r("count"))," Album"]),t([n(r("count"))," Alben"])])},shuffle:e=>{const{normalize:t}=e;return t(["Zufallswiedergabe"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t([n(r("count"))," Track"]),t([n(r("count"))," Track"]),t([n(r("count"))," Tracks"])])},"sort-by":{title:e=>{const{normalize:t}=e;return t(["Sortieren nach"])},name:e=>{const{normalize:t}=e;return t(["Name"])},rating:e=>{const{normalize:t}=e;return t(["Bewertung"])}}},composers:{count:e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t([n(r("count"))," Komponist"]),t([n(r("count"))," Komponist"]),t([n(r("count"))," Komponisten"])])},title:e=>{const{normalize:t}=e;return t(["Komponisten"])}},files:{play:e=>{const{normalize:t}=e;return t(["Spielen"])},title:e=>{const{normalize:t}=e;return t(["Dateien"])}},genre:{"album-count":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t([n(r("count"))," Album"]),t([n(r("count"))," Album"]),t([n(r("count"))," Alben"])])},shuffle:e=>{const{normalize:t}=e;return t(["Zufallswiedergabe"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t([n(r("count"))," Track"]),t([n(r("count"))," Track"]),t([n(r("count"))," Tracks"])])},"sort-by":{title:e=>{const{normalize:t}=e;return t(["Sortieren nach"])},name:e=>{const{normalize:t}=e;return t(["Name"])},rating:e=>{const{normalize:t}=e;return t(["Bewertung"])}}},genres:{count:e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t([n(r("count"))," Genre"]),t([n(r("count"))," Genre"]),t([n(r("count"))," Genres"])])},title:e=>{const{normalize:t}=e;return t(["Genres"])}},music:{"show-more":e=>{const{normalize:t}=e;return t(["Zeige mehr"])},"recently-added":{title:e=>{const{normalize:t}=e;return t(["Kürzlich hinzugefügt"])}},"recently-played":{title:e=>{const{normalize:t}=e;return t(["Kürzlich gespielt"])}},tabs:{albums:e=>{const{normalize:t}=e;return t(["Alben"])},artists:e=>{const{normalize:t}=e;return t(["Künstler"])},composers:e=>{const{normalize:t}=e;return t(["Komponisten"])},genres:e=>{const{normalize:t}=e;return t(["Genres"])},history:e=>{const{normalize:t}=e;return t(["Verlauf"])},spotify:e=>{const{normalize:t}=e;return t(["Spotify"])}}},"now-playing":{info:e=>{const{normalize:t}=e;return t(["Tracks durch Auswählen aus der Bibliothek anfügen"])},live:e=>{const{normalize:t}=e;return t(["Live"])},title:e=>{const{normalize:t}=e;return t(["Deine Playliste ist leer."])}},playlist:{length:e=>{const{normalize:t,interpolate:n,named:r}=e;return t([n(r("length"))," Tracks"])},shuffle:e=>{const{normalize:t}=e;return t(["Zufallswiedergabe"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t([n(r("count"))," Track"]),t([n(r("count"))," Tracks"])])}},playlists:{title:e=>{const{normalize:t}=e;return t(["Playlisten"])},count:e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t([n(r("count"))," Playlist"]),t([n(r("count"))," Playlisten"])])}},podcast:{play:e=>{const{normalize:t}=e;return t(["Spielen"])},remove:e=>{const{normalize:t}=e;return t(["Entfernen"])},"remove-info-1":e=>{const{normalize:t}=e;return t(["Diesen Podcast wirklich dauerhaft aus der Bibliothek löschen?"])},"remove-info-2":e=>{const{normalize:t}=e;return t(["Damit wird auch die RSS-Playliste gelöscht. "])},"remove-podcast":e=>{const{normalize:t}=e;return t(["Entferne podcast"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t([n(r("count"))," Track"]),t([n(r("count"))," Tracks"])])}},podcasts:{add:e=>{const{normalize:t}=e;return t(["Hinzufügen"])},count:e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t([n(r("count"))," Podcast"]),t([n(r("count"))," Podcasts"])])},"mark-all-played":e=>{const{normalize:t}=e;return t(["Alle abgespielten markieren"])},"new-episodes":e=>{const{normalize:t}=e;return t(["Neue Episoden"])},title:e=>{const{normalize:t}=e;return t(["Podcasts"])},update:e=>{const{normalize:t}=e;return t(["Neu einlesen"])}},queue:{"add-stream":e=>{const{normalize:t}=e;return t(["Stream hinzufügen"])},clear:e=>{const{normalize:t}=e;return t(["Alle entfernen"])},count:e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t([n(r("count"))," Track"]),t([n(r("count"))," Track"]),t([n(r("count"))," Tracks"])])},edit:e=>{const{normalize:t}=e;return t(["Bearbeiten"])},"hide-previous":e=>{const{normalize:t}=e;return t(["Vorherige verbergen"])},title:e=>{const{normalize:t}=e;return t(["Warteschlange"])},save:e=>{const{normalize:t}=e;return t(["Speichern"])}},radio:{count:e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t([n(r("count"))," Station"]),t([n(r("count"))," Station"]),t([n(r("count"))," Stationen"])])},title:e=>{const{normalize:t}=e;return t(["Radio"])}},search:{albums:e=>{const{normalize:t}=e;return t(["Alben"])},artists:e=>{const{normalize:t}=e;return t(["Künstler"])},audiobooks:e=>{const{normalize:t}=e;return t(["Hörbücher"])},composers:e=>{const{normalize:t}=e;return t(["Komponisten"])},expression:e=>{const{normalize:t}=e;return t(["Ausdrücken"])},help:e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["Tip: Du kannst mit einer Smart-Playlist-Abfrage-Sprache nach ",n(r("help"))," suchen wenn Du dem Ausdruck ein ",n(r("query"))," voranstellst."])},"no-albums":e=>{const{normalize:t}=e;return t(["Keine Alben gefunden"])},"no-artists":e=>{const{normalize:t}=e;return t(["Keine Künstler gefunden"])},"no-audiobooks":e=>{const{normalize:t}=e;return t(["Keine Hörbücher gefunden"])},"no-composers":e=>{const{normalize:t}=e;return t(["Keine Komponisten gefunden"])},"no-playlists":e=>{const{normalize:t}=e;return t(["Keine Playlisten gefunden"])},"no-podcasts":e=>{const{normalize:t}=e;return t(["Keine Podcasts gefunden"])},"no-tracks":e=>{const{normalize:t}=e;return t(["Keine Tracks gefunden"])},placeholder:e=>{const{normalize:t}=e;return t(["Suche"])},playlists:e=>{const{normalize:t}=e;return t(["Playlisten"])},podcasts:e=>{const{normalize:t}=e;return t(["Podcasts"])},"show-albums":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t(["Zeige das Album"]),t(["Zeige alle ",n(r("count"))," Alben"])])},"show-artists":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t(["Zeige den Künstler"]),t(["Zeige alle ",n(r("count"))," Künstler"])])},"show-audiobooks":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t(["Zeige das Buch"]),t(["Zeige alle ",n(r("count"))," Hörbücher"])])},"show-composers":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t(["Zeige den Komponist"]),t(["Zeige alle ",n(r("count"))," Komponisten"])])},"show-playlists":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t(["Zeige die Playlist"]),t(["Zeige alle ",n(r("count"))," Playlisten"])])},"show-podcasts":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t(["Zeige den Podcast"]),t(["Zeige alle ",n(r("count"))," Podcasts"])])},"show-tracks":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t(["Zeige den Track"]),t(["Zeige alle ",n(r("count"))," Tracks"])])},tracks:e=>{const{normalize:t}=e;return t(["Tracks"])},tabs:{library:e=>{const{normalize:t}=e;return t(["Bibliothek"])},spotify:e=>{const{normalize:t}=e;return t(["Spotify"])}}},settings:{artwork:{artwork:e=>{const{normalize:t}=e;return t(["Artwork"])},coverartarchive:e=>{const{normalize:t}=e;return t(["Cover Art Archive"])},discogs:e=>{const{normalize:t}=e;return t(["Discogs"])},"explanation-1":e=>{const{normalize:t}=e;return t(["OwnTone verarbeitet PNG- und JPEG-Artwork, welches in einer eigenen Datei in der Bibliothek, in die Dateien eingebettet oder online von Radiostationen bereitgestellt werden kann."])},"explanation-2":e=>{const{normalize:t}=e;return t(["Zusätzlich kann auf folgende Artwork-Anbieter zugegriffen werden:"])},spotify:e=>{const{normalize:t}=e;return t(["Spotify"])}},devices:{"no-active-pairing":e=>{const{normalize:t}=e;return t(["Keine aktive Pairing-Anfrage"])},"pairing-code":e=>{const{normalize:t}=e;return t(["Pairing-Code"])},"pairing-request":e=>{const{normalize:t}=e;return t(["Remote-Pairing-Anfrage von "])},pairing:e=>{const{normalize:t}=e;return t(["Pairing Remote"])},send:e=>{const{normalize:t}=e;return t(["Senden"])},"speaker-pairing-info":e=>{const{normalize:t}=e;return t(["Wenn der Laufsprecher PIN-basiertes Pairing verlangt, aktiviere ihn hier und gib dann den hier PIN an, der am Lautsprecher angezeigt wird."])},"speaker-pairing":e=>{const{normalize:t}=e;return t(["Lautsprecher-Pairing und Geräteverifikation"])},"verification-code":e=>{const{normalize:t}=e;return t(["Verifikationscode"])},verify:e=>{const{normalize:t}=e;return t(["Verifizieren"])}},general:{"album-lists":e=>{const{normalize:t}=e;return t(["Album-Listen"])},audiobooks:e=>{const{normalize:t}=e;return t(["Hörbücher"])},files:e=>{const{normalize:t}=e;return t(["Dateien"])},genres:e=>{const{normalize:t}=e;return t(["Genres"])},language:e=>{const{normalize:t}=e;return t(["Sprache"])},music:e=>{const{normalize:t}=e;return t(["Musik"])},"navigation-item-selection-info":e=>{const{normalize:t}=e;return t(["Wenn mehr Dateien ausgewählt werden, als der Bildschirm anzeigen kann, verschwindet das Burger-Menü."])},"navigation-item-selection":e=>{const{normalize:t}=e;return t(["Wähle hier die Einträge des oberen Navigationsmenüs "])},"navigation-items":e=>{const{normalize:t}=e;return t(["Navigationsmenüs"])},"now-playing-page":e=>{const{normalize:t}=e;return t(["Aktuell läuft-Seite"])},playlists:e=>{const{normalize:t}=e;return t(["Playlisten"])},podcasts:e=>{const{normalize:t}=e;return t(["Podcasts"])},radio:e=>{const{normalize:t}=e;return t(["Radio"])},"recently-added-page-info":e=>{const{normalize:t}=e;return t(['Beschränkte die Zahl der Alben auf der "kürzlich hinzugefügt"-Seite'])},"recently-added-page":e=>{const{normalize:t}=e;return t(["Kürzlich hinzugefügt-Seite"])},search:e=>{const{normalize:t}=e;return t(["Suche"])},"show-composer-genres-info-1":e=>{const{normalize:t}=e;return t(['Komma-separierte Liste der Genres, wo der Komponist auf der "Aktuell läuft"-Seite angezeigt werden soll'])},"show-composer-genres-info-2":e=>{const{normalize:t}=e;return t(["Leer lassen, um ihn immer anzuzeigen."])},"show-composer-genres-info-3":e=>{const{normalize:t}=e;return t(['Der Genre-Tag des aktuellen Tracks wird abgeglichen als Teil-String des Genre-Tags. Z.B. "classical, soundtrack" wird den Komponisten beim Genre-Tag "Contemporary Classical" anzeigen'])},"show-composer-genres":e=>{const{normalize:t}=e;return t(["Zeige den Komponisten für die aufgelisteten Genres an"])},"show-composer-info":e=>{const{normalize:t}=e;return t(['Wenn aktiviert, wird der Komponist auf der "Aktuell läuft"-Seite angezeigt.'])},"show-composer":e=>{const{normalize:t}=e;return t(["Komponisten anzeigen"])},"show-coverart":e=>{const{normalize:t}=e;return t(["Zeige Cover-Artwork in der Albumliste"])},"show-path":e=>{const{normalize:t}=e;return t(['Dateipfad auf der "Aktuell läuft"-Seite anzeigen'])}},services:{lastfm:{"grant-access":e=>{const{normalize:t}=e;return t(["Melde Dich mit Deinem Last.fm-Benutzernamen und Passwort an, um Scrobbeln zu aktivieren"])},info:e=>{const{normalize:t}=e;return t(["OwnTone wird den Benutzernamen und das Passwort von last.fm nicht speichern, nur den Sitzungs-Schlüssel. Dieser läuft nicht ab."])},title:e=>{const{normalize:t}=e;return t(["Last.fm"])},"no-support":e=>{const{normalize:t}=e;return t(["OwnTone wurde ohne Unterstützung für Last.fm erstellt."])},"stop-scrobbling":e=>{const{normalize:t}=e;return t(["Stop Scrobbling"])}},spotify:{"no-support":e=>{const{normalize:t}=e;return t(["OwnTone wurde entweder ohne Unterstützung für Spotify erstellt oder libspotify ist nicht installiert."])},"logged-as":e=>{const{normalize:t}=e;return t(["Angemeldet als "])},requirements:e=>{const{normalize:t}=e;return t(["Spotify Premium Abo erforderlich."])},scopes:e=>{const{normalize:t}=e;return t(["Zugriff auf die Spotify Web-Api ermöglicht scannen der Spotify-Blibliothek. Erforderliche scopes sind: "])},user:e=>{const{normalize:t}=e;return t(["Zugriff gestattet für "])},authorize:e=>{const{normalize:t}=e;return t(["Authorisiere Web-API-Zugriff"])},credentials:e=>{const{normalize:t}=e;return t([" - Anmelden mit dem Spotify Benutzername und Passwort"])},"grant-access":e=>{const{normalize:t}=e;return t(["Zugriff auf die Spotify Web-API gestatten"])},"help-1":e=>{const{normalize:t}=e;return t(["libspotify ermöglicht OwnTone, Spotify-Tracks abzuspielen."])},"help-2":e=>{const{normalize:t}=e;return t(["OwnTone speichert das Passwort nicht, aber wird über libspotify dennoch einen automatischen Login über ein Login-Token ermöglichen."])},reauthorize:e=>{const{normalize:t}=e;return t(["Bitte den Zugriff der Web-API durch setzen folgender Zugriffsrechte für Owntone: "])},title:e=>{const{normalize:t}=e;return t(["Spotify"])}},login:e=>{const{normalize:t}=e;return t(["Einloggen"])},logout:e=>{const{normalize:t}=e;return t(["Ausloggen"])},password:e=>{const{normalize:t}=e;return t(["Passwort"])},username:e=>{const{normalize:t}=e;return t(["Benutzername"])}},tabs:{artwork:e=>{const{normalize:t}=e;return t(["Artwork"])},general:e=>{const{normalize:t}=e;return t(["Allgemein"])},"online-services":e=>{const{normalize:t}=e;return t(["Online-Services"])},"remotes-and-outputs":e=>{const{normalize:t}=e;return t(["Fernbedienungen und Ausgänge"])}}},spotify:{album:{shuffle:e=>{const{normalize:t}=e;return t(["Zufallswiedergabe"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t([n(r("count"))," Track"]),t([n(r("count"))," Track"]),t([n(r("count"))," Tracks"])])}},artist:{"album-count":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t([n(r("count"))," Album"]),t([n(r("count"))," Album"]),t([n(r("count"))," Alben"])])},shuffle:e=>{const{normalize:t}=e;return t(["Zufallswiedergabe"])}},music:{"featured-playlists":e=>{const{normalize:t}=e;return t(["Ausgezeichnete Playlisten"])},"new-releases":e=>{const{normalize:t}=e;return t(["Neuvorstellung"])},"show-more":e=>{const{normalize:t}=e;return t(["Zeige mehr"])}},playlist:{count:e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t([n(r("count"))," Track"]),t([n(r("count"))," Track"]),t([n(r("count"))," Tracks"])])},shuffle:e=>{const{normalize:t}=e;return t(["Zufallswiedergabe"])}},search:{albums:e=>{const{normalize:t}=e;return t(["Alben"])},artists:e=>{const{normalize:t}=e;return t(["Künstler"])},"no-albums":e=>{const{normalize:t}=e;return t(["Keine Alben gefunden"])},"no-artists":e=>{const{normalize:t}=e;return t(["Keine Künstler gefunden"])},"no-playlists":e=>{const{normalize:t}=e;return t(["Keine Playlisten gefunden"])},"no-tracks":e=>{const{normalize:t}=e;return t(["Keine Tracks gefunden"])},placeholder:e=>{const{normalize:t}=e;return t(["Suche"])},playlists:e=>{const{normalize:t}=e;return t(["Playlisten"])},"show-all-albums":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t(["Zeige das Album"]),t(["Zeige alle ",n(r("count"))," Alben"])])},"show-all-artists":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t(["Zeige den Künstler"]),t(["Zeige alle ",n(r("count"))," Künstler"])])},"show-all-playlists":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t(["Zeige die Playlist"]),t(["Zeige alle ",n(r("count"))," Playlisten"])])},"show-all-tracks":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t(["Zeige den Track"]),t(["Zeige alle ",n(r("count"))," Tracks"])])},tracks:e=>{const{normalize:t}=e;return t(["Tracks"])}}}},playlist:{type:{plain:e=>{const{normalize:t}=e;return t(["Einfache"])},smart:e=>{const{normalize:t}=e;return t(["Intelligente"])}}},player:{button:{consume:e=>{const{normalize:t}=e;return t(["Verlauf löschen"])},pause:e=>{const{normalize:t}=e;return t(["Wiedergabe anhalten"])},play:e=>{const{normalize:t}=e;return t(["Wiedergeben"])},repeat:e=>{const{normalize:t}=e;return t(["Alle Tracks wiederholen"])},"repeat-off":e=>{const{normalize:t}=e;return t(["Tracks einmal lesen"])},"repeat-once":e=>{const{normalize:t}=e;return t(["Aktuellen Track wiederholen"])},"seek-backward":e=>{const{normalize:t}=e;return t(["Rückwärts im Track suchen"])},"seek-forward":e=>{const{normalize:t}=e;return t(["Vorwärts im Track suchen"])},shuffle:e=>{const{normalize:t}=e;return t(["Tracks zufällig wiedergeben"])},"shuffle-disabled":e=>{const{normalize:t}=e;return t(["Tracks in Reihenfolge wiedergeben"])},"skip-backward":e=>{const{normalize:t}=e;return t(["Zum vorherigen Track springen"])},"skip-forward":e=>{const{normalize:t}=e;return t(["Zum nächsten Track springen"])},stop:e=>{const{normalize:t}=e;return t(["Wiedergabe stoppen"])},"toggle-lyrics":e=>{const{normalize:t}=e;return t(["Liedtexte anzeigen/verbergen"])}}},setting:{"not-saved":e=>{const{normalize:t}=e;return t([" (Fehler beim Speichern der Einstellungen)"])},saved:e=>{const{normalize:t}=e;return t([" (Einstellungen gesichert)"])}},server:{"connection-failed":e=>{const{normalize:t}=e;return t(["Fehler bei Verbindung zum OwnTone-Server"])},"missing-port":e=>{const{normalize:t}=e;return t(["Fehlender Websocket-Port"])},"request-failed":e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["Anfrage gescheitert (Status: ",n(r("status"))," ",n(r("cause"))," ",n(r("url")),")"])},"queue-saved":e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["Warteschlange zu Playlist ",n(r("name"))," gesichert"])},"appended-tracks":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t([n(r("count"))," Track an die Abspielliste angehängt"]),t([n(r("count"))," Tracks an die Abspielliste angehängt"])])},"empty-queue":e=>{const{normalize:t}=e;return t(["Warteschlange ist leer"])}},"group-by-list":{today:e=>{const{normalize:t}=e;return t(["Heute"])},"last-week":e=>{const{normalize:t}=e;return t(["Letzte Woche"])},"last-month":e=>{const{normalize:t}=e;return t(["Letzer Monat"])}},filter:{mono:e=>{const{normalize:t}=e;return t(["Mono"])},stereo:e=>{const{normalize:t}=e;return t(["Stereo"])},channels:e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t([n(r("count"))," Kanal"]),t([n(r("count"))," Kanäle"])])}}},en:{data:{kind:{file:e=>{const{normalize:t}=e;return t(["File"])},url:e=>{const{normalize:t}=e;return t(["URL"])},spotify:e=>{const{normalize:t}=e;return t(["Spotify"])},pipe:e=>{const{normalize:t}=e;return t(["Stream"])}}},dialog:{cancel:e=>{const{normalize:t}=e;return t(["Cancel"])},add:{rss:{add:e=>{const{normalize:t}=e;return t(["Add"])},cancel:e=>{const{normalize:t}=e;return t(["Cancel"])},help:e=>{const{normalize:t}=e;return t(["Adding a podcast includes creating an RSS playlist, that will allow OwnTone to manage the podcast subscription."])},placeholder:e=>{const{normalize:t}=e;return t(["https://url-to-rss"])},processing:e=>{const{normalize:t}=e;return t(["Processing…"])},title:e=>{const{normalize:t}=e;return t(["Add Podcast RSS feed URL"])}},stream:{add:e=>{const{normalize:t}=e;return t(["Add"])},cancel:e=>{const{normalize:t}=e;return t(["Cancel"])},loading:e=>{const{normalize:t}=e;return t(["Loading…"])},placeholder:e=>{const{normalize:t}=e;return t(["https://url-to-stream"])},play:e=>{const{normalize:t}=e;return t(["Play"])},title:e=>{const{normalize:t}=e;return t(["Add Stream URL"])}}},album:{"add-next":e=>{const{normalize:t}=e;return t(["Add Next"])},add:e=>{const{normalize:t}=e;return t(["Add"])},"added-on":e=>{const{normalize:t}=e;return t(["Added on"])},artist:e=>{const{normalize:t}=e;return t(["Album artist"])},duration:e=>{const{normalize:t}=e;return t(["Duration"])},"mark-as-played":e=>{const{normalize:t}=e;return t(["Mark as played"])},play:e=>{const{normalize:t}=e;return t(["Play"])},"release-date":e=>{const{normalize:t}=e;return t(["Release date"])},"remove-podcast":e=>{const{normalize:t}=e;return t(["Remove podcast"])},tracks:e=>{const{normalize:t}=e;return t(["Track count"])},type:e=>{const{normalize:t}=e;return t(["Type"])},year:e=>{const{normalize:t}=e;return t(["Year"])}},artist:{"add-next":e=>{const{normalize:t}=e;return t(["Add Next"])},add:e=>{const{normalize:t}=e;return t(["Add"])},"added-on":e=>{const{normalize:t}=e;return t(["Added On"])},albums:e=>{const{normalize:t}=e;return t(["Albums"])},play:e=>{const{normalize:t}=e;return t(["Play"])},tracks:e=>{const{normalize:t}=e;return t(["Tracks"])},type:e=>{const{normalize:t}=e;return t(["Type"])}},composer:{"add-next":e=>{const{normalize:t}=e;return t(["Add Next"])},add:e=>{const{normalize:t}=e;return t(["Add"])},albums:e=>{const{normalize:t}=e;return t(["Albums"])},duration:e=>{const{normalize:t}=e;return t(["Duration"])},play:e=>{const{normalize:t}=e;return t(["Play"])},tracks:e=>{const{normalize:t}=e;return t(["Tracks"])}},directory:{"add-next":e=>{const{normalize:t}=e;return t(["Add Next"])},add:e=>{const{normalize:t}=e;return t(["Add"])},play:e=>{const{normalize:t}=e;return t(["Play"])}},genre:{"add-next":e=>{const{normalize:t}=e;return t(["Add Next"])},add:e=>{const{normalize:t}=e;return t(["Add"])},albums:e=>{const{normalize:t}=e;return t(["Albums"])},duration:e=>{const{normalize:t}=e;return t(["Duration"])},play:e=>{const{normalize:t}=e;return t(["Play"])},tracks:e=>{const{normalize:t}=e;return t(["Tracks"])}},playlist:{"add-next":e=>{const{normalize:t}=e;return t(["Add Next"])},add:e=>{const{normalize:t}=e;return t(["Add"])},play:e=>{const{normalize:t}=e;return t(["Play"])},path:e=>{const{normalize:t}=e;return t(["Path"])},"track-count":e=>{const{normalize:t}=e;return t(["Track Count"])},type:e=>{const{normalize:t}=e;return t(["Type"])},save:{cancel:e=>{const{normalize:t}=e;return t(["Cancel"])},"playlist-name":e=>{const{normalize:t}=e;return t(["Playlist name"])},save:e=>{const{normalize:t}=e;return t(["Save"])},saving:e=>{const{normalize:t}=e;return t(["Saving…"])},title:e=>{const{normalize:t}=e;return t(["Save queue to playlist"])}}},"queue-item":{"album-artist":e=>{const{normalize:t}=e;return t(["Album Artist"])},album:e=>{const{normalize:t}=e;return t(["Album"])},bitrate:e=>{const{normalize:t,interpolate:n,named:r}=e;return t([" ","|"," ",n(r("rate"))," kbit/s"])},channels:e=>{const{normalize:t,interpolate:n,named:r}=e;return t([" ","|"," ",n(r("channels"))])},composer:e=>{const{normalize:t}=e;return t(["Composer"])},duration:e=>{const{normalize:t}=e;return t(["Duration"])},genre:e=>{const{normalize:t}=e;return t(["Genre"])},path:e=>{const{normalize:t}=e;return t(["Path"])},play:e=>{const{normalize:t}=e;return t(["Play"])},position:e=>{const{normalize:t}=e;return t(["Disc / Track"])},quality:e=>{const{normalize:t}=e;return t(["Quality"])},remove:e=>{const{normalize:t}=e;return t(["Remove"])},samplerate:e=>{const{normalize:t,interpolate:n,named:r}=e;return t([" ","|"," ",n(r("rate"))," Hz"])},"spotify-album":e=>{const{normalize:t}=e;return t(["album"])},"spotify-artist":e=>{const{normalize:t}=e;return t(["artist"])},type:e=>{const{normalize:t}=e;return t(["Type"])},year:e=>{const{normalize:t}=e;return t(["Year"])}},"remote-pairing":{cancel:e=>{const{normalize:t}=e;return t(["Cancel"])},pair:e=>{const{normalize:t}=e;return t(["Pair Remote"])},"pairing-code":e=>{const{normalize:t}=e;return t(["Pairing code"])},title:e=>{const{normalize:t}=e;return t(["Remote pairing request"])}},spotify:{album:{"add-next":e=>{const{normalize:t}=e;return t(["Add Next"])},add:e=>{const{normalize:t}=e;return t(["Add"])},"album-artist":e=>{const{normalize:t}=e;return t(["Album Artist"])},play:e=>{const{normalize:t}=e;return t(["Play"])},"release-date":e=>{const{normalize:t}=e;return t(["Release Date"])},type:e=>{const{normalize:t}=e;return t(["Type"])}},artist:{"add-next":e=>{const{normalize:t}=e;return t(["Add Next"])},add:e=>{const{normalize:t}=e;return t(["Add"])},genres:e=>{const{normalize:t}=e;return t(["Genres"])},play:e=>{const{normalize:t}=e;return t(["Play"])},popularity:e=>{const{normalize:t}=e;return t(["Popularity / Followers"])}},playlist:{"add-next":e=>{const{normalize:t}=e;return t(["Add Next"])},add:e=>{const{normalize:t}=e;return t(["Add"])},owner:e=>{const{normalize:t}=e;return t(["Owner"])},path:e=>{const{normalize:t}=e;return t(["Path"])},play:e=>{const{normalize:t}=e;return t(["Play"])},tracks:e=>{const{normalize:t}=e;return t(["Tracks"])}},track:{"add-next":e=>{const{normalize:t}=e;return t(["Add Next"])},add:e=>{const{normalize:t}=e;return t(["Add"])},"album-artist":e=>{const{normalize:t}=e;return t(["Album Artist"])},album:e=>{const{normalize:t}=e;return t(["Album"])},duration:e=>{const{normalize:t}=e;return t(["Duration"])},path:e=>{const{normalize:t}=e;return t(["Path"])},play:e=>{const{normalize:t}=e;return t(["Play"])},position:e=>{const{normalize:t}=e;return t(["Disc / Track"])},"release-date":e=>{const{normalize:t}=e;return t(["Release Date"])}}},track:{"add-next":e=>{const{normalize:t}=e;return t(["Add Next"])},add:e=>{const{normalize:t}=e;return t(["Add"])},"added-on":e=>{const{normalize:t}=e;return t(["Added On"])},"album-artist":e=>{const{normalize:t}=e;return t(["Album Artist"])},album:e=>{const{normalize:t}=e;return t(["Album"])},bitrate:e=>{const{normalize:t,interpolate:n,named:r}=e;return t([" ","|"," ",n(r("rate"))," kbit/s"])},channels:e=>{const{normalize:t,interpolate:n,named:r}=e;return t([" ","|"," ",n(r("channels"))])},comment:e=>{const{normalize:t}=e;return t(["Comment"])},composer:e=>{const{normalize:t}=e;return t(["Composer"])},duration:e=>{const{normalize:t}=e;return t(["Duration"])},genre:e=>{const{normalize:t}=e;return t(["Genre"])},"mark-as-new":e=>{const{normalize:t}=e;return t(["Mark as new"])},"mark-as-played":e=>{const{normalize:t}=e;return t(["Mark as played"])},path:e=>{const{normalize:t}=e;return t(["Path"])},play:e=>{const{normalize:t}=e;return t(["Play"])},position:e=>{const{normalize:t}=e;return t(["Disc / Track"])},quality:e=>{const{normalize:t}=e;return t(["Quality"])},"rating-value":e=>{const{normalize:t,interpolate:n,named:r}=e;return t([n(r("rating"))," / 10"])},rating:e=>{const{normalize:t}=e;return t(["Rating"])},"release-date":e=>{const{normalize:t}=e;return t(["Release Date"])},samplerate:e=>{const{normalize:t,interpolate:n,named:r}=e;return t([" ","|"," ",n(r("rate"))," Hz"])},"spotify-album":e=>{const{normalize:t}=e;return t(["album"])},"spotify-artist":e=>{const{normalize:t}=e;return t(["artist"])},type:e=>{const{normalize:t}=e;return t(["Type"])},year:e=>{const{normalize:t}=e;return t(["Year"])}},update:{all:e=>{const{normalize:t}=e;return t(["Update everything"])},cancel:e=>{const{normalize:t}=e;return t(["Cancel"])},feeds:e=>{const{normalize:t}=e;return t(["Only update RSS feeds"])},info:e=>{const{normalize:t}=e;return t(["Scan for new, deleted and modified files"])},local:e=>{const{normalize:t}=e;return t(["Only update local library"])},progress:e=>{const{normalize:t}=e;return t(["Library update in progress…"])},"rescan-metadata":e=>{const{normalize:t}=e;return t(["Rescan metadata of unmodified files"])},rescan:e=>{const{normalize:t}=e;return t(["Rescan"])},spotify:e=>{const{normalize:t}=e;return t(["Only update Spotify"])},title:e=>{const{normalize:t}=e;return t(["Library update"])}}},language:{de:e=>{const{normalize:t}=e;return t(["German (Deutsch)"])},en:e=>{const{normalize:t}=e;return t(["English"])},fr:e=>{const{normalize:t}=e;return t(["French (Français)"])},zh:e=>{const{normalize:t}=e;return t(["Chinese (中文)"])}},list:{albums:{"info-1":e=>{const{normalize:t}=e;return t(["Permanently remove this podcast from your library?"])},"info-2":e=>{const{normalize:t}=e;return t(["This will also remove the RSS playlist "])},remove:e=>{const{normalize:t}=e;return t(["Remove"])},"remove-podcast":e=>{const{normalize:t}=e;return t(["Remove podcast"])}},spotify:{"not-playable-track":e=>{const{normalize:t}=e;return t(["Track is not playable"])},"restriction-reason":e=>{const{normalize:t,interpolate:n,named:r}=e;return t([", restriction reason: ",n(r("reason"))])}}},media:{kind:{album:e=>{const{normalize:t}=e;return t(["Album"])},audiobook:e=>{const{normalize:t}=e;return t(["Audiobook"])},music:e=>{const{normalize:t}=e;return t(["Music"])},podcast:e=>{const{normalize:t}=e;return t(["Podcast"])}}},navigation:{about:e=>{const{normalize:t}=e;return t(["About"])},albums:e=>{const{normalize:t}=e;return t(["Albums"])},artists:e=>{const{normalize:t}=e;return t(["Artists"])},audiobooks:e=>{const{normalize:t}=e;return t(["Audiobooks"])},"now-playing":e=>{const{normalize:t,interpolate:n,named:r}=e;return t([" - ",n(r("album"))])},"stream-error":e=>{const{normalize:t}=e;return t(["HTTP stream error: failed to load stream or stopped loading due to network problem"])},stream:e=>{const{normalize:t}=e;return t(["HTTP stream"])},volume:e=>{const{normalize:t}=e;return t(["Volume"])},files:e=>{const{normalize:t}=e;return t(["Files"])},genres:e=>{const{normalize:t}=e;return t(["Genres"])},music:e=>{const{normalize:t}=e;return t(["Music"])},playlists:e=>{const{normalize:t}=e;return t(["Playlists"])},podcasts:e=>{const{normalize:t}=e;return t(["Podcasts"])},radio:e=>{const{normalize:t}=e;return t(["Radio"])},search:e=>{const{normalize:t}=e;return t(["Search"])},settings:e=>{const{normalize:t}=e;return t(["Settings"])},spotify:e=>{const{normalize:t}=e;return t(["Spotify"])},title:e=>{const{normalize:t}=e;return t(["OwnTone"])},"update-library":e=>{const{normalize:t}=e;return t(["Update Library"])}},page:{about:{albums:e=>{const{normalize:t}=e;return t(["Albums"])},artists:e=>{const{normalize:t}=e;return t(["Artists"])},"built-with":e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["Web interface built with ",n(r("bulma")),", ",n(r("mdi")),", ",n(r("vuejs")),", ",n(r("axios"))," and ",n(r("others")),"."])},"compiled-with":e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["Compiled with support for ",n(r("options")),"."])},library:e=>{const{normalize:t}=e;return t(["Library"])},more:e=>{const{normalize:t}=e;return t(["more"])},"total-playtime":e=>{const{normalize:t}=e;return t(["Total playtime"])},tracks:e=>{const{normalize:t}=e;return t(["Tracks"])},update:e=>{const{normalize:t}=e;return t(["Update"])},"updated-on":e=>{const{normalize:t,interpolate:n,named:r}=e;return t([n(r("time"))," ago"])},updated:e=>{const{normalize:t}=e;return t(["Updated"])},uptime:e=>{const{normalize:t}=e;return t(["Uptime"])},version:e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["Version ",n(r("version"))])}},album:{shuffle:e=>{const{normalize:t}=e;return t(["Shuffle"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t([n(r("count"))," track"]),t([n(r("count"))," track"]),t([n(r("count"))," tracks"])])}},albums:{count:e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t([n(r("count"))," album"]),t([n(r("count"))," album"]),t([n(r("count"))," albums"])])},filter:e=>{const{normalize:t}=e;return t(["Filter"])},"hide-singles-help":e=>{const{normalize:t}=e;return t(["If active, hides singles and albums with tracks that only appear in playlists."])},"hide-singles":e=>{const{normalize:t}=e;return t(["Hide singles"])},"hide-spotify-help":e=>{const{normalize:t}=e;return t(["If active, hides albums that only appear in your Spotify library."])},"hide-spotify":e=>{const{normalize:t}=e;return t(["Hide albums from Spotify"])},title:e=>{const{normalize:t}=e;return t(["Albums"])},"sort-by":{title:e=>{const{normalize:t}=e;return t(["Sort by"])},name:e=>{const{normalize:t}=e;return t(["Name"])},"recently-added":e=>{const{normalize:t}=e;return t(["Recently added"])},"recently-released":e=>{const{normalize:t}=e;return t(["Recently released"])}}},artist:{"album-count":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t([n(r("count"))," album"]),t([n(r("count"))," album"]),t([n(r("count"))," albums"])])},shuffle:e=>{const{normalize:t}=e;return t(["Shuffle"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t([n(r("count"))," track"]),t([n(r("count"))," track"]),t([n(r("count"))," tracks"])])},"sort-by":{title:e=>{const{normalize:t}=e;return t(["Sort by"])},name:e=>{const{normalize:t}=e;return t(["Name"])},rating:e=>{const{normalize:t}=e;return t(["Rating"])},"release-date":e=>{const{normalize:t}=e;return t(["Release date"])}}},artists:{count:e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t([n(r("count"))," artist"]),t([n(r("count"))," artist"]),t([n(r("count"))," artists"])])},filter:e=>{const{normalize:t}=e;return t(["Filter"])},"sort-by":{title:e=>{const{normalize:t}=e;return t(["Sort by"])},name:e=>{const{normalize:t}=e;return t(["Name"])},"recently-added":e=>{const{normalize:t}=e;return t(["Recently added"])}},"hide-singles-help":e=>{const{normalize:t}=e;return t(["If active, hides artists that only appear on singles or playlists."])},"hide-singles":e=>{const{normalize:t}=e;return t(["Hide singles"])},"hide-spotify-help":e=>{const{normalize:t}=e;return t(["If active, hides artists that only appear in your Spotify library."])},"hide-spotify":e=>{const{normalize:t}=e;return t(["Hide artists from Spotify"])},title:e=>{const{normalize:t}=e;return t(["Artists"])}},audiobooks:{album:{play:e=>{const{normalize:t}=e;return t(["Play"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t([n(r("count"))," track"]),t([n(r("count"))," track"]),t([n(r("count"))," tracks"])])}},albums:{count:e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t([n(r("count"))," audiobook"]),t([n(r("count"))," audiobook"]),t([n(r("count"))," audiobooks"])])},title:e=>{const{normalize:t}=e;return t(["Audiobooks"])}},artist:{"album-count":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t([n(r("count"))," album"]),t([n(r("count"))," album"]),t([n(r("count"))," albums"])])},play:e=>{const{normalize:t}=e;return t(["Play"])}},artists:{count:e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t([n(r("count"))," author"]),t([n(r("count"))," author"]),t([n(r("count"))," authors"])])},title:e=>{const{normalize:t}=e;return t(["Authors"])}},tabs:{authors:e=>{const{normalize:t}=e;return t(["Authors"])},audiobooks:e=>{const{normalize:t}=e;return t(["Audiobooks"])},genres:e=>{const{normalize:t}=e;return t(["Genres"])}}},composer:{"album-count":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t([n(r("count"))," album"]),t([n(r("count"))," album"]),t([n(r("count"))," albums"])])},shuffle:e=>{const{normalize:t}=e;return t(["Shuffle"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t([n(r("count"))," track"]),t([n(r("count"))," track"]),t([n(r("count"))," tracks"])])},"sort-by":{title:e=>{const{normalize:t}=e;return t(["Sort by"])},name:e=>{const{normalize:t}=e;return t(["Name"])},rating:e=>{const{normalize:t}=e;return t(["Rating"])}}},composers:{count:e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t([n(r("count"))," composer"]),t([n(r("count"))," composer"]),t([n(r("count"))," composers"])])},title:e=>{const{normalize:t}=e;return t(["Composers"])}},files:{play:e=>{const{normalize:t}=e;return t(["Play"])},title:e=>{const{normalize:t}=e;return t(["Files"])}},genre:{"album-count":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t([n(r("count"))," album"]),t([n(r("count"))," album"]),t([n(r("count"))," albums"])])},shuffle:e=>{const{normalize:t}=e;return t(["Shuffle"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t([n(r("count"))," track"]),t([n(r("count"))," track"]),t([n(r("count"))," tracks"])])},"sort-by":{title:e=>{const{normalize:t}=e;return t(["Sort by"])},name:e=>{const{normalize:t}=e;return t(["Name"])},rating:e=>{const{normalize:t}=e;return t(["Rating"])}}},genres:{count:e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t([n(r("count"))," genre"]),t([n(r("count"))," genre"]),t([n(r("count"))," genres"])])},title:e=>{const{normalize:t}=e;return t(["Genres"])}},music:{"show-more":e=>{const{normalize:t}=e;return t(["Show more"])},"recently-added":{title:e=>{const{normalize:t}=e;return t(["Recently added"])}},"recently-played":{title:e=>{const{normalize:t}=e;return t(["Recently played"])}},tabs:{albums:e=>{const{normalize:t}=e;return t(["Albums"])},artists:e=>{const{normalize:t}=e;return t(["Artists"])},composers:e=>{const{normalize:t}=e;return t(["Composers"])},genres:e=>{const{normalize:t}=e;return t(["Genres"])},history:e=>{const{normalize:t}=e;return t(["History"])},spotify:e=>{const{normalize:t}=e;return t(["Spotify"])}}},"now-playing":{info:e=>{const{normalize:t}=e;return t(["Add some tracks by browsing your library"])},live:e=>{const{normalize:t}=e;return t(["Live"])},title:e=>{const{normalize:t}=e;return t(["Your play queue is empty"])}},playlist:{length:e=>{const{normalize:t,interpolate:n,named:r}=e;return t([n(r("length"))," tracks"])},shuffle:e=>{const{normalize:t}=e;return t(["Shuffle"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t([n(r("count"))," track"]),t([n(r("count"))," track"]),t([n(r("count"))," tracks"])])}},playlists:{title:e=>{const{normalize:t}=e;return t(["Playlists"])},count:e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t([n(r("count"))," playlist"]),t([n(r("count"))," playlist"]),t([n(r("count"))," playlists"])])}},podcast:{play:e=>{const{normalize:t}=e;return t(["Play"])},remove:e=>{const{normalize:t}=e;return t(["Remove"])},"remove-info-1":e=>{const{normalize:t}=e;return t(["Permanently remove this podcast from your library?"])},"remove-info-2":e=>{const{normalize:t}=e;return t(["This will also remove the RSS playlist "])},"remove-podcast":e=>{const{normalize:t}=e;return t(["Remove podcast"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t([n(r("count"))," track"]),t([n(r("count"))," track"]),t([n(r("count"))," tracks"])])}},podcasts:{add:e=>{const{normalize:t}=e;return t(["Add"])},count:e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t([n(r("count"))," podcast"]),t([n(r("count"))," podcast"]),t([n(r("count"))," podcasts"])])},"mark-all-played":e=>{const{normalize:t}=e;return t(["Mark All Played"])},"new-episodes":e=>{const{normalize:t}=e;return t(["New Episodes"])},title:e=>{const{normalize:t}=e;return t(["Podcasts"])},update:e=>{const{normalize:t}=e;return t(["Update"])}},queue:{"add-stream":e=>{const{normalize:t}=e;return t(["Add stream"])},clear:e=>{const{normalize:t}=e;return t(["Clear"])},count:e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t([n(r("count"))," track"]),t([n(r("count"))," track"]),t([n(r("count"))," tracks"])])},edit:e=>{const{normalize:t}=e;return t(["Edit"])},"hide-previous":e=>{const{normalize:t}=e;return t(["Hide previous"])},title:e=>{const{normalize:t}=e;return t(["Queue"])},save:e=>{const{normalize:t}=e;return t(["Save"])}},radio:{count:e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t([n(r("count"))," station"]),t([n(r("count"))," station"]),t([n(r("count"))," stations"])])},title:e=>{const{normalize:t}=e;return t(["Radio"])}},search:{albums:e=>{const{normalize:t}=e;return t(["Albums"])},artists:e=>{const{normalize:t}=e;return t(["Artists"])},audiobooks:e=>{const{normalize:t}=e;return t(["Audiobooks"])},composers:e=>{const{normalize:t}=e;return t(["Composers"])},expression:e=>{const{normalize:t}=e;return t(["expression"])},help:e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["Tip: you can search by a smart playlist query language ",n(r("help"))," if you prefix it with ",n(r("query")),"."])},"no-albums":e=>{const{normalize:t}=e;return t(["No albums found"])},"no-artists":e=>{const{normalize:t}=e;return t(["No artists found"])},"no-audiobooks":e=>{const{normalize:t}=e;return t(["No audiobooks found"])},"no-composers":e=>{const{normalize:t}=e;return t(["No composers found"])},"no-playlists":e=>{const{normalize:t}=e;return t(["No playlists found"])},"no-podcasts":e=>{const{normalize:t}=e;return t(["No podcasts found"])},"no-tracks":e=>{const{normalize:t}=e;return t(["No tracks found"])},placeholder:e=>{const{normalize:t}=e;return t(["Search"])},playlists:e=>{const{normalize:t}=e;return t(["Playlists"])},podcasts:e=>{const{normalize:t}=e;return t(["Podcasts"])},"show-albums":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t(["Show the album"]),t(["Show all ",n(r("count"))," albums"])])},"show-artists":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t(["Show the artist"]),t(["Show all ",n(r("count"))," artists"])])},"show-audiobooks":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t(["Show the audiobook"]),t(["Show all ",n(r("count"))," audiobooks"])])},"show-composers":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t(["Show the composer"]),t(["Show all ",n(r("count"))," composers"])])},"show-playlists":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t(["Show the playlist"]),t(["Show all ",n(r("count"))," playlists"])])},"show-podcasts":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t(["Show the podcast"]),t(["Show all ",n(r("count"))," podcasts"])])},"show-tracks":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t(["Show the track"]),t(["Show all ",n(r("count"))," tracks"])])},tracks:e=>{const{normalize:t}=e;return t(["Tracks"])},tabs:{library:e=>{const{normalize:t}=e;return t(["Library"])},spotify:e=>{const{normalize:t}=e;return t(["Spotify"])}}},settings:{artwork:{artwork:e=>{const{normalize:t}=e;return t(["Artwork"])},coverartarchive:e=>{const{normalize:t}=e;return t(["Cover Art Archive"])},discogs:e=>{const{normalize:t}=e;return t(["Discogs"])},"explanation-1":e=>{const{normalize:t}=e;return t(["OwnTone supports PNG and JPEG artwork which is either placed as separate image files in the library, embedded in the media files or made available online by radio stations."])},"explanation-2":e=>{const{normalize:t}=e;return t(["In addition to that, you can enable fetching artwork from the following artwork providers:"])},spotify:e=>{const{normalize:t}=e;return t(["Spotify"])}},devices:{"no-active-pairing":e=>{const{normalize:t}=e;return t(["No active pairing request."])},"pairing-code":e=>{const{normalize:t}=e;return t(["Pairing code"])},"pairing-request":e=>{const{normalize:t}=e;return t(["Remote pairing request from "])},pairing:e=>{const{normalize:t}=e;return t(["Remote Pairing"])},send:e=>{const{normalize:t}=e;return t(["Send"])},"speaker-pairing-info":e=>{const{normalize:t}=e;return t(["If your speaker requires pairing then activate it below and enter the PIN that it displays."])},"speaker-pairing":e=>{const{normalize:t}=e;return t(["Speaker pairing and device verification"])},"verification-code":e=>{const{normalize:t}=e;return t(["Verification code"])},verify:e=>{const{normalize:t}=e;return t(["Verify"])}},general:{"album-lists":e=>{const{normalize:t}=e;return t(["Album Lists"])},audiobooks:e=>{const{normalize:t}=e;return t(["Audiobooks"])},files:e=>{const{normalize:t}=e;return t(["Files"])},genres:e=>{const{normalize:t}=e;return t(["Genres"])},language:e=>{const{normalize:t}=e;return t(["Language"])},music:e=>{const{normalize:t}=e;return t(["Music"])},"navigation-item-selection-info":e=>{const{normalize:t}=e;return t(["If you select more items than can be shown on your screen then the burger menu will disappear."])},"navigation-item-selection":e=>{const{normalize:t}=e;return t(["Select the top navigation bar menu items"])},"navigation-items":e=>{const{normalize:t}=e;return t(["Navigation Bar"])},"now-playing-page":e=>{const{normalize:t}=e;return t(["Now playing page"])},playlists:e=>{const{normalize:t}=e;return t(["Playlists"])},podcasts:e=>{const{normalize:t}=e;return t(["Podcasts"])},radio:e=>{const{normalize:t}=e;return t(["Radio"])},"recently-added-page-info":e=>{const{normalize:t}=e;return t(['Limit the number of albums shown on the "Recently Added" page'])},"recently-added-page":e=>{const{normalize:t}=e;return t(["Recently added page"])},search:e=>{const{normalize:t}=e;return t(["Search"])},"show-composer-genres-info-1":e=>{const{normalize:t}=e;return t(['Comma separated list of genres the composer should be displayed on the "Now playing page"'])},"show-composer-genres-info-2":e=>{const{normalize:t}=e;return t(["Leave empty to always show the composer."])},"show-composer-genres-info-3":e=>{const{normalize:t}=e;return t(['The genre tag of the current track is matched by checking, if one of the defined genres are included. For example setting to "classical, soundtrack" will show the composer for tracks with a genre tag of "Contemporary Classical"'])},"show-composer-genres":e=>{const{normalize:t}=e;return t(["Show composer only for listed genres"])},"show-composer-info":e=>{const{normalize:t}=e;return t(['If enabled the composer of the current playing track is shown on the "Now playing page"'])},"show-composer":e=>{const{normalize:t}=e;return t(["Show composer"])},"show-coverart":e=>{const{normalize:t}=e;return t(["Show cover artwork in album list"])},"show-path":e=>{const{normalize:t}=e;return t(['Show filepath on the "Now playing" page'])}},services:{lastfm:{"grant-access":e=>{const{normalize:t}=e;return t(["Login with your Last.fm username and password to enable scrobbling"])},info:e=>{const{normalize:t}=e;return t(["OwnTone will not store your Last.fm username/password, only the session key. The session key does not expire."])},title:e=>{const{normalize:t}=e;return t(["Last.fm"])},"no-support":e=>{const{normalize:t}=e;return t(["OwnTone was built without support for Last.fm."])},"stop-scrobbling":e=>{const{normalize:t}=e;return t(["Stop scrobbling"])}},spotify:{"no-support":e=>{const{normalize:t}=e;return t(["OwnTone was either built without support for Spotify or libspotify is not installed."])},"logged-as":e=>{const{normalize:t}=e;return t(["Logged in as "])},requirements:e=>{const{normalize:t}=e;return t(["You must have a Spotify premium account."])},scopes:e=>{const{normalize:t}=e;return t(["Access to the Spotify Web API enables scanning of your Spotify library. Required scopes are: "])},user:e=>{const{normalize:t}=e;return t(["Access granted for "])},authorize:e=>{const{normalize:t}=e;return t(["Authorize Web API access"])},credentials:e=>{const{normalize:t}=e;return t([" - Login with your Spotify username and password"])},"grant-access":e=>{const{normalize:t}=e;return t(["Grant access to the Spotify Web API"])},"help-1":e=>{const{normalize:t}=e;return t(["libspotify enables OwnTone to play Spotify tracks."])},"help-2":e=>{const{normalize:t}=e;return t(["OwnTone will not store your password, but will still be able to log you in automatically afterwards, because libspotify saves a login token."])},reauthorize:e=>{const{normalize:t}=e;return t(["Please reauthorize Web API access to grant OwnTone the following additional access rights: "])},title:e=>{const{normalize:t}=e;return t(["Spotify"])}},login:e=>{const{normalize:t}=e;return t(["Login"])},logout:e=>{const{normalize:t}=e;return t(["Logout"])},password:e=>{const{normalize:t}=e;return t(["Password"])},username:e=>{const{normalize:t}=e;return t(["Username"])}},tabs:{artwork:e=>{const{normalize:t}=e;return t(["Artwork"])},general:e=>{const{normalize:t}=e;return t(["General"])},"online-services":e=>{const{normalize:t}=e;return t(["Online Services"])},"remotes-and-outputs":e=>{const{normalize:t}=e;return t(["Remotes and Outputs"])}}},spotify:{album:{shuffle:e=>{const{normalize:t}=e;return t(["Shuffle"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t([n(r("count"))," track"]),t([n(r("count"))," track"]),t([n(r("count"))," tracks"])])}},artist:{"album-count":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t([n(r("count"))," album"]),t([n(r("count"))," album"]),t([n(r("count"))," albums"])])},shuffle:e=>{const{normalize:t}=e;return t(["Shuffle"])}},music:{"featured-playlists":e=>{const{normalize:t}=e;return t(["Featured Playlists"])},"new-releases":e=>{const{normalize:t}=e;return t(["New Releases"])},"show-more":e=>{const{normalize:t}=e;return t(["Show More"])}},playlist:{count:e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t([n(r("count"))," track"]),t([n(r("count"))," track"]),t([n(r("count"))," tracks"])])},shuffle:e=>{const{normalize:t}=e;return t(["Shuffle"])}},search:{albums:e=>{const{normalize:t}=e;return t(["Albums"])},artists:e=>{const{normalize:t}=e;return t(["Artists"])},"no-albums":e=>{const{normalize:t}=e;return t(["No albums found"])},"no-artists":e=>{const{normalize:t}=e;return t(["No artists found"])},"no-playlists":e=>{const{normalize:t}=e;return t(["No playlists found"])},"no-tracks":e=>{const{normalize:t}=e;return t(["No tracks found"])},placeholder:e=>{const{normalize:t}=e;return t(["Search"])},playlists:e=>{const{normalize:t}=e;return t(["Playlists"])},"show-all-albums":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t(["Show the album"]),t(["Show all ",n(r("count"))," albums"])])},"show-all-artists":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t(["Show the artist"]),t(["Show all ",n(r("count"))," artists"])])},"show-all-playlists":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t(["Show the playlist"]),t(["Show all ",n(r("count"))," playlists"])])},"show-all-tracks":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t(["Show the track"]),t(["Show all ",n(r("count"))," tracks"])])},tracks:e=>{const{normalize:t}=e;return t(["Tracks"])}}}},playlist:{type:{plain:e=>{const{normalize:t}=e;return t(["Plain"])},smart:e=>{const{normalize:t}=e;return t(["Smart"])}}},player:{button:{consume:e=>{const{normalize:t}=e;return t(["Clear history"])},pause:e=>{const{normalize:t}=e;return t(["Pause"])},play:e=>{const{normalize:t}=e;return t(["Play"])},repeat:e=>{const{normalize:t}=e;return t(["Repeat all tracks"])},"repeat-off":e=>{const{normalize:t}=e;return t(["Read tracks once"])},"repeat-once":e=>{const{normalize:t}=e;return t(["Repeat current track"])},"seek-backward":e=>{const{normalize:t}=e;return t(["Seek backward in the track"])},"seek-forward":e=>{const{normalize:t}=e;return t(["Seek forward in the track"])},shuffle:e=>{const{normalize:t}=e;return t(["Play tracks randomly"])},"shuffle-disabled":e=>{const{normalize:t}=e;return t(["Play tracks in order"])},"skip-backward":e=>{const{normalize:t}=e;return t(["Skip to previous track"])},"skip-forward":e=>{const{normalize:t}=e;return t(["Skip to next track"])},stop:e=>{const{normalize:t}=e;return t(["Stop"])},"toggle-lyrics":e=>{const{normalize:t}=e;return t(["Toggle lyrics"])}}},setting:{"not-saved":e=>{const{normalize:t}=e;return t([" (error saving setting)"])},saved:e=>{const{normalize:t}=e;return t([" (setting saved)"])}},server:{"connection-failed":e=>{const{normalize:t}=e;return t(["Failed to connect to OwnTone server"])},"missing-port":e=>{const{normalize:t}=e;return t(["Missing websocket port"])},"request-failed":e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["Request failed (status: ",n(r("status"))," ",n(r("cause"))," ",n(r("url")),")"])},"queue-saved":e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["Queue saved to playlist ",n(r("name"))])},"appended-tracks":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t([n(r("count"))," track appended to the queue"]),t([n(r("count"))," tracks appended to the queue"])])},"empty-queue":e=>{const{normalize:t}=e;return t(["Queue is empty"])}},"group-by-list":{today:e=>{const{normalize:t}=e;return t(["Today"])},"last-week":e=>{const{normalize:t}=e;return t(["Last week"])},"last-month":e=>{const{normalize:t}=e;return t(["Last month"])}},filter:{mono:e=>{const{normalize:t}=e;return t(["mono"])},stereo:e=>{const{normalize:t}=e;return t(["stereo"])},channels:e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t([n(r("count"))," channel"]),t([n(r("count"))," channels"])])}}},fr:{data:{kind:{file:e=>{const{normalize:t}=e;return t(["Fichier"])},url:e=>{const{normalize:t}=e;return t(["URL"])},spotify:e=>{const{normalize:t}=e;return t(["Spotify"])},pipe:e=>{const{normalize:t}=e;return t(["Flux"])}}},dialog:{cancel:e=>{const{normalize:t}=e;return t(["Annuler"])},add:{rss:{add:e=>{const{normalize:t}=e;return t(["Ajouter"])},cancel:e=>{const{normalize:t}=e;return t(["Annuler"])},help:e=>{const{normalize:t}=e;return t(["Lajout dun podcast inclut la création dune liste de lecture RSS, qui permettra à OwnTone de gérer labonnement au podcast."])},placeholder:e=>{const{normalize:t}=e;return t(["https://url-du-flux-rss"])},processing:e=>{const{normalize:t}=e;return t(["Traitement en cours…"])},title:e=>{const{normalize:t}=e;return t(["Ajouter lURL du flux RSS du podcast"])}},stream:{add:e=>{const{normalize:t}=e;return t(["Ajouter"])},cancel:e=>{const{normalize:t}=e;return t(["Annuler"])},loading:e=>{const{normalize:t}=e;return t(["Chargement…"])},placeholder:e=>{const{normalize:t}=e;return t(["https://url-du-flux"])},play:e=>{const{normalize:t}=e;return t(["Lire"])},title:e=>{const{normalize:t}=e;return t(["Ajouter lURL du flux"])}}},album:{"add-next":e=>{const{normalize:t}=e;return t(["Ajouter ensuite"])},add:e=>{const{normalize:t}=e;return t(["Ajouter"])},"added-on":e=>{const{normalize:t}=e;return t(["Ajouté le"])},artist:e=>{const{normalize:t}=e;return t(["Artiste de lalbum"])},duration:e=>{const{normalize:t}=e;return t(["Durée"])},"mark-as-played":e=>{const{normalize:t}=e;return t(["Marquer comme lu"])},play:e=>{const{normalize:t}=e;return t(["Lire"])},"release-date":e=>{const{normalize:t}=e;return t(["Date de sortie"])},"remove-podcast":e=>{const{normalize:t}=e;return t(["Supprimer le podcast"])},tracks:e=>{const{normalize:t}=e;return t(["Pistes"])},type:e=>{const{normalize:t}=e;return t(["Type"])},year:e=>{const{normalize:t}=e;return t(["Année"])}},artist:{"add-next":e=>{const{normalize:t}=e;return t(["Ajouter ensuite"])},add:e=>{const{normalize:t}=e;return t(["Ajouter"])},"added-on":e=>{const{normalize:t}=e;return t(["Ajouté le"])},albums:e=>{const{normalize:t}=e;return t(["Albums"])},play:e=>{const{normalize:t}=e;return t(["Lire"])},tracks:e=>{const{normalize:t}=e;return t(["Pistes"])},type:e=>{const{normalize:t}=e;return t(["Type"])}},composer:{"add-next":e=>{const{normalize:t}=e;return t(["Ajouter ensuite"])},add:e=>{const{normalize:t}=e;return t(["Ajouter"])},albums:e=>{const{normalize:t}=e;return t(["Albums"])},duration:e=>{const{normalize:t}=e;return t(["Durée"])},play:e=>{const{normalize:t}=e;return t(["Lire"])},tracks:e=>{const{normalize:t}=e;return t(["Pistes"])}},directory:{"add-next":e=>{const{normalize:t}=e;return t(["Ajouter ensuite"])},add:e=>{const{normalize:t}=e;return t(["Ajouter"])},play:e=>{const{normalize:t}=e;return t(["Lire"])}},genre:{"add-next":e=>{const{normalize:t}=e;return t(["Ajouter ensuite"])},add:e=>{const{normalize:t}=e;return t(["Ajouter"])},albums:e=>{const{normalize:t}=e;return t(["Albums"])},duration:e=>{const{normalize:t}=e;return t(["Durée"])},play:e=>{const{normalize:t}=e;return t(["Lire"])},tracks:e=>{const{normalize:t}=e;return t(["Pistes"])}},playlist:{"add-next":e=>{const{normalize:t}=e;return t(["Ajouter ensuite"])},add:e=>{const{normalize:t}=e;return t(["Ajouter"])},play:e=>{const{normalize:t}=e;return t(["Lire"])},path:e=>{const{normalize:t}=e;return t(["Emplacement"])},"track-count":e=>{const{normalize:t}=e;return t(["Pistes"])},type:e=>{const{normalize:t}=e;return t(["Type"])},save:{cancel:e=>{const{normalize:t}=e;return t(["Annuler"])},"playlist-name":e=>{const{normalize:t}=e;return t(["Nom de la liste de lecture"])},save:e=>{const{normalize:t}=e;return t(["Enregistrer"])},saving:e=>{const{normalize:t}=e;return t(["Enregistrement en cours…"])},title:e=>{const{normalize:t}=e;return t(["Enregistrer la file dattente dans une liste de lecture"])}}},"queue-item":{"album-artist":e=>{const{normalize:t}=e;return t(["Artiste de lalbum"])},album:e=>{const{normalize:t}=e;return t(["Album"])},bitrate:e=>{const{normalize:t,interpolate:n,named:r}=e;return t([" ","|"," ",n(r("rate"))," kbit/s"])},channels:e=>{const{normalize:t,interpolate:n,named:r}=e;return t([" ","|"," ",n(r("channels"))])},composer:e=>{const{normalize:t}=e;return t(["Compositeur"])},duration:e=>{const{normalize:t}=e;return t(["Durée"])},genre:e=>{const{normalize:t}=e;return t(["Genre"])},path:e=>{const{normalize:t}=e;return t(["Emplacement"])},play:e=>{const{normalize:t}=e;return t(["Lire"])},position:e=>{const{normalize:t}=e;return t(["Disque / Piste"])},quality:e=>{const{normalize:t}=e;return t(["Qualité"])},remove:e=>{const{normalize:t}=e;return t(["Supprimer"])},samplerate:e=>{const{normalize:t,interpolate:n,named:r}=e;return t([" ","|"," ",n(r("rate"))," Hz"])},"spotify-album":e=>{const{normalize:t}=e;return t(["album"])},"spotify-artist":e=>{const{normalize:t}=e;return t(["artiste"])},type:e=>{const{normalize:t}=e;return t(["Type"])},year:e=>{const{normalize:t}=e;return t(["Année"])}},"remote-pairing":{cancel:e=>{const{normalize:t}=e;return t(["Annuler"])},pair:e=>{const{normalize:t}=e;return t(["Jumeler la télécommande"])},"pairing-code":e=>{const{normalize:t}=e;return t(["Code de jumelage"])},title:e=>{const{normalize:t}=e;return t(["Demande de jumelage de télécommande"])}},spotify:{album:{"add-next":e=>{const{normalize:t}=e;return t(["Ajouter ensuite"])},add:e=>{const{normalize:t}=e;return t(["Ajouter"])},"album-artist":e=>{const{normalize:t}=e;return t(["Artiste de lalbum"])},play:e=>{const{normalize:t}=e;return t(["Lire"])},"release-date":e=>{const{normalize:t}=e;return t(["Date de sortie"])},type:e=>{const{normalize:t}=e;return t(["Type"])}},artist:{"add-next":e=>{const{normalize:t}=e;return t(["Ajouter ensuite"])},add:e=>{const{normalize:t}=e;return t(["Ajouter"])},genres:e=>{const{normalize:t}=e;return t(["Genres"])},play:e=>{const{normalize:t}=e;return t(["Lire"])},popularity:e=>{const{normalize:t}=e;return t(["Popularité / Abonnements"])}},playlist:{"add-next":e=>{const{normalize:t}=e;return t(["Ajouter ensuite"])},add:e=>{const{normalize:t}=e;return t(["Ajouter"])},owner:e=>{const{normalize:t}=e;return t(["Propriétaire"])},path:e=>{const{normalize:t}=e;return t(["Emplacement"])},play:e=>{const{normalize:t}=e;return t(["Lire"])},tracks:e=>{const{normalize:t}=e;return t(["Pistes"])}},track:{"add-next":e=>{const{normalize:t}=e;return t(["Ajouter ensuite"])},add:e=>{const{normalize:t}=e;return t(["Ajouter"])},"album-artist":e=>{const{normalize:t}=e;return t(["Artiste de lalbum"])},album:e=>{const{normalize:t}=e;return t(["Album"])},duration:e=>{const{normalize:t}=e;return t(["Durée"])},path:e=>{const{normalize:t}=e;return t(["Emplacement"])},play:e=>{const{normalize:t}=e;return t(["Lire"])},position:e=>{const{normalize:t}=e;return t(["Disque / Piste"])},"release-date":e=>{const{normalize:t}=e;return t(["Date de sortie"])}}},track:{"add-next":e=>{const{normalize:t}=e;return t(["Ajouter ensuite"])},add:e=>{const{normalize:t}=e;return t(["Ajouter"])},"added-on":e=>{const{normalize:t}=e;return t(["Ajouté le"])},"album-artist":e=>{const{normalize:t}=e;return t(["Artiste de lalbum"])},album:e=>{const{normalize:t}=e;return t(["Album"])},bitrate:e=>{const{normalize:t,interpolate:n,named:r}=e;return t([" ","|"," ",n(r("rate"))," kbit/s"])},channels:e=>{const{normalize:t,interpolate:n,named:r}=e;return t([" ","|"," ",n(r("channels"))])},comment:e=>{const{normalize:t}=e;return t(["Commentaire"])},composer:e=>{const{normalize:t}=e;return t(["Compositeur"])},duration:e=>{const{normalize:t}=e;return t(["Durée"])},genre:e=>{const{normalize:t}=e;return t(["Genre"])},"mark-as-new":e=>{const{normalize:t}=e;return t(["Marquer comme nouveau"])},"mark-as-played":e=>{const{normalize:t}=e;return t(["Marquer comme lu"])},path:e=>{const{normalize:t}=e;return t(["Emplacement"])},play:e=>{const{normalize:t}=e;return t(["Lire"])},position:e=>{const{normalize:t}=e;return t(["Disque / Piste"])},quality:e=>{const{normalize:t}=e;return t(["Qualité"])},"rating-value":e=>{const{normalize:t,interpolate:n,named:r}=e;return t([n(r("rating"))," / 10"])},rating:e=>{const{normalize:t}=e;return t(["Classement"])},"release-date":e=>{const{normalize:t}=e;return t(["Date de sortie"])},samplerate:e=>{const{normalize:t,interpolate:n,named:r}=e;return t([" ","|"," ",n(r("rate"))," Hz"])},"spotify-album":e=>{const{normalize:t}=e;return t(["album"])},"spotify-artist":e=>{const{normalize:t}=e;return t(["artiste"])},type:e=>{const{normalize:t}=e;return t(["Type"])},year:e=>{const{normalize:t}=e;return t(["Année"])}},update:{all:e=>{const{normalize:t}=e;return t(["Tout actualiser"])},cancel:e=>{const{normalize:t}=e;return t(["Annuler"])},feeds:e=>{const{normalize:t}=e;return t(["Actualiser uniquement les flux RSS"])},info:e=>{const{normalize:t}=e;return t(["Recherche les fichiers ajoutés, supprimés et modifiés"])},local:e=>{const{normalize:t}=e;return t(["Actualiser uniquement la bibliothèque locale"])},progress:e=>{const{normalize:t}=e;return t(["Actualisation de la bibliothèque en cours…"])},"rescan-metadata":e=>{const{normalize:t}=e;return t(["Analyser les métadonnées des fichiers non modifiés"])},rescan:e=>{const{normalize:t}=e;return t(["Analyser"])},spotify:e=>{const{normalize:t}=e;return t(["Actualiser uniquement Spotify"])},title:e=>{const{normalize:t}=e;return t(["Actualisation de la bibliothèque"])}}},language:{de:e=>{const{normalize:t}=e;return t(["Allemand (Deutsch)"])},en:e=>{const{normalize:t}=e;return t(["Anglais (English)"])},fr:e=>{const{normalize:t}=e;return t(["Français"])},zh:e=>{const{normalize:t}=e;return t(["Chinois (中文)"])}},list:{albums:{"info-1":e=>{const{normalize:t}=e;return t(["Supprimer définitivement ce podcast de votre bibliothèque ?"])},"info-2":e=>{const{normalize:t}=e;return t(["Cela supprimera également la liste de lecture RSS "])},remove:e=>{const{normalize:t}=e;return t(["Supprimer"])},"remove-podcast":e=>{const{normalize:t}=e;return t(["Supprimer le podcast"])}},spotify:{"not-playable-track":e=>{const{normalize:t}=e;return t(["La piste ne peut pas être lue"])},"restriction-reason":e=>{const{normalize:t,interpolate:n,named:r}=e;return t([", raison de la restriction : ",n(r("reason"))])}}},media:{kind:{album:e=>{const{normalize:t}=e;return t(["Album"])},audiobook:e=>{const{normalize:t}=e;return t(["Livre audio"])},music:e=>{const{normalize:t}=e;return t(["Musique"])},podcast:e=>{const{normalize:t}=e;return t(["Podcast"])}}},navigation:{about:e=>{const{normalize:t}=e;return t(["À propos"])},albums:e=>{const{normalize:t}=e;return t(["Albums"])},artists:e=>{const{normalize:t}=e;return t(["Artistes"])},audiobooks:e=>{const{normalize:t}=e;return t(["Livres audio"])},"now-playing":e=>{const{normalize:t,interpolate:n,named:r}=e;return t([" - ",n(r("album"))])},"stream-error":e=>{const{normalize:t}=e;return t(["Erreur du flux HTTP : échec du chargement du flux ou arrêt du chargement en raison dun problème réseau"])},stream:e=>{const{normalize:t}=e;return t(["Flux HTTP"])},volume:e=>{const{normalize:t}=e;return t(["Volume"])},files:e=>{const{normalize:t}=e;return t(["Fichiers"])},genres:e=>{const{normalize:t}=e;return t(["Genres"])},music:e=>{const{normalize:t}=e;return t(["Musique"])},playlists:e=>{const{normalize:t}=e;return t(["Listes de lecture"])},podcasts:e=>{const{normalize:t}=e;return t(["Podcasts"])},radio:e=>{const{normalize:t}=e;return t(["Radio"])},search:e=>{const{normalize:t}=e;return t(["Recherche"])},settings:e=>{const{normalize:t}=e;return t(["Réglages"])},spotify:e=>{const{normalize:t}=e;return t(["Spotify"])},title:e=>{const{normalize:t}=e;return t(["OwnTone"])},"update-library":e=>{const{normalize:t}=e;return t(["Actualiser la bibliothèque"])}},page:{about:{albums:e=>{const{normalize:t}=e;return t(["Albums"])},artists:e=>{const{normalize:t}=e;return t(["Artistes"])},"built-with":e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["Interface utilisateur construite avec ",n(r("bulma")),", ",n(r("mdi")),", ",n(r("vuejs")),", ",n(r("axios"))," et ",n(r("others")),"."])},"compiled-with":e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["Compilé avec les options ",n(r("options")),"."])},library:e=>{const{normalize:t}=e;return t(["Bibliothèque"])},more:e=>{const{normalize:t}=e;return t(["plus"])},"total-playtime":e=>{const{normalize:t}=e;return t(["Durée totale de lecture"])},tracks:e=>{const{normalize:t}=e;return t(["Pistes"])},update:e=>{const{normalize:t}=e;return t(["Actualiser"])},"updated-on":e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["il y a ",n(r("time"))])},updated:e=>{const{normalize:t}=e;return t(["Mis à jour"])},uptime:e=>{const{normalize:t}=e;return t(["Temps de fonctionnement"])},version:e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["Version ",n(r("version"))])}},album:{shuffle:e=>{const{normalize:t}=e;return t(["Lecture aléatoire"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t([n(r("count"))," piste"]),t([n(r("count"))," piste"]),t([n(r("count"))," pistes"])])}},albums:{count:e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t([n(r("count"))," album"]),t([n(r("count"))," album"]),t([n(r("count"))," albums"])])},filter:e=>{const{normalize:t}=e;return t(["Filtre"])},"hide-singles-help":e=>{const{normalize:t}=e;return t(["Si actif, masque les singles et les albums dont les pistes napparaissent que dans les listes de lecture."])},"hide-singles":e=>{const{normalize:t}=e;return t(["Masquer les singles"])},"hide-spotify-help":e=>{const{normalize:t}=e;return t(["Si actif, masque les albums qui napparaissent que dans votre bibliothèque Spotify."])},"hide-spotify":e=>{const{normalize:t}=e;return t(["Masquer les albums de Spotify"])},title:e=>{const{normalize:t}=e;return t(["Albums"])},"sort-by":{title:e=>{const{normalize:t}=e;return t(["Trier par"])},name:e=>{const{normalize:t}=e;return t(["Nom"])},"recently-added":e=>{const{normalize:t}=e;return t(["Ajouts récents"])},"recently-released":e=>{const{normalize:t}=e;return t(["Sorties récentes"])}}},artist:{"album-count":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t([n(r("count"))," album"]),t([n(r("count"))," album"]),t([n(r("count"))," albums"])])},shuffle:e=>{const{normalize:t}=e;return t(["Lecture aléatoire"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t([n(r("count"))," piste"]),t([n(r("count"))," piste"]),t([n(r("count"))," pistes"])])},"sort-by":{title:e=>{const{normalize:t}=e;return t(["Trier par"])},name:e=>{const{normalize:t}=e;return t(["Nom"])},rating:e=>{const{normalize:t}=e;return t(["Classement"])},"release-date":e=>{const{normalize:t}=e;return t(["Date de sortie"])}}},artists:{count:e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t([n(r("count"))," artiste"]),t([n(r("count"))," artiste"]),t([n(r("count"))," artistes"])])},filter:e=>{const{normalize:t}=e;return t(["Filtre"])},"sort-by":{title:e=>{const{normalize:t}=e;return t(["Trier par"])},name:e=>{const{normalize:t}=e;return t(["Nom"])},"recently-added":e=>{const{normalize:t}=e;return t(["Ajouts récents"])}},"hide-singles-help":e=>{const{normalize:t}=e;return t(["Si actif, masque les artistes qui napparaissent que dans des singles ou des listes de lecture."])},"hide-singles":e=>{const{normalize:t}=e;return t(["Masquer les singles"])},"hide-spotify-help":e=>{const{normalize:t}=e;return t(["Si actif, masque les artistes qui napparaissent que dans votre bibliothèque Spotify."])},"hide-spotify":e=>{const{normalize:t}=e;return t(["Masquer les artistes de Spotify"])},title:e=>{const{normalize:t}=e;return t(["Artistes"])}},audiobooks:{album:{play:e=>{const{normalize:t}=e;return t(["Lire"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t([n(r("count"))," piste"]),t([n(r("count"))," piste"]),t([n(r("count"))," pistes"])])}},albums:{count:e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t([n(r("count"))," livre audio"]),t([n(r("count"))," livre audio"]),t([n(r("count"))," livres audio"])])},title:e=>{const{normalize:t}=e;return t(["Livres audio"])}},artist:{"album-count":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t([n(r("count"))," album"]),t([n(r("count"))," album"]),t([n(r("count"))," albums"])])},play:e=>{const{normalize:t}=e;return t(["Lire"])}},artists:{count:e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t([n(r("count"))," auteur"]),t([n(r("count"))," auteur"]),t([n(r("count"))," auteurs"])])},title:e=>{const{normalize:t}=e;return t(["Auteurs"])}},tabs:{authors:e=>{const{normalize:t}=e;return t(["Auteurs"])},audiobooks:e=>{const{normalize:t}=e;return t(["Livres audio"])},genres:e=>{const{normalize:t}=e;return t(["Genres"])}}},composer:{"album-count":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t([n(r("count"))," album"]),t([n(r("count"))," album"]),t([n(r("count"))," albums"])])},shuffle:e=>{const{normalize:t}=e;return t(["Lecture aléatoire"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t([n(r("count"))," piste"]),t([n(r("count"))," piste"]),t([n(r("count"))," pistes"])])},"sort-by":{title:e=>{const{normalize:t}=e;return t(["Trier par"])},name:e=>{const{normalize:t}=e;return t(["Nom"])},rating:e=>{const{normalize:t}=e;return t(["Classement"])}}},composers:{count:e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t([n(r("count"))," compositeur"]),t([n(r("count"))," compositeur"]),t([n(r("count"))," compositeurs"])])},title:e=>{const{normalize:t}=e;return t(["Compositeurs"])}},files:{play:e=>{const{normalize:t}=e;return t(["Lire"])},title:e=>{const{normalize:t}=e;return t(["Fichiers"])}},genre:{"album-count":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t([n(r("count"))," album"]),t([n(r("count"))," album"]),t([n(r("count"))," albums"])])},shuffle:e=>{const{normalize:t}=e;return t(["Lecture aléatoire"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t([n(r("count"))," piste"]),t([n(r("count"))," piste"]),t([n(r("count"))," pistes"])])},"sort-by":{title:e=>{const{normalize:t}=e;return t(["Trier par"])},name:e=>{const{normalize:t}=e;return t(["Nom"])},rating:e=>{const{normalize:t}=e;return t(["Classement"])}}},genres:{count:e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t([n(r("count"))," genre"]),t([n(r("count"))," genre"]),t([n(r("count"))," genres"])])},title:e=>{const{normalize:t}=e;return t(["Genres"])}},music:{"show-more":e=>{const{normalize:t}=e;return t(["Afficher plus"])},"recently-added":{title:e=>{const{normalize:t}=e;return t(["Ajouts récents"])}},"recently-played":{title:e=>{const{normalize:t}=e;return t(["Lectures récentes"])}},tabs:{albums:e=>{const{normalize:t}=e;return t(["Albums"])},artists:e=>{const{normalize:t}=e;return t(["Artistes"])},composers:e=>{const{normalize:t}=e;return t(["Compositeurs"])},genres:e=>{const{normalize:t}=e;return t(["Genres"])},history:e=>{const{normalize:t}=e;return t(["Historique"])},spotify:e=>{const{normalize:t}=e;return t(["Spotify"])}}},"now-playing":{info:e=>{const{normalize:t}=e;return t(["Ajoutez des pistes en parcourant votre bibliothèque"])},live:e=>{const{normalize:t}=e;return t(["En direct"])},title:e=>{const{normalize:t}=e;return t(["La file dattente est vide"])}},playlist:{length:e=>{const{normalize:t,interpolate:n,named:r}=e;return t([n(r("length"))," pistes"])},shuffle:e=>{const{normalize:t}=e;return t(["Lecture aléatoire"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t([n(r("count"))," piste"]),t([n(r("count"))," piste"]),t([n(r("count"))," pistes"])])}},playlists:{title:e=>{const{normalize:t}=e;return t(["Listes de lecture"])},count:e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t([n(r("count"))," liste de lecture"]),t([n(r("count"))," liste de lecture"]),t([n(r("count"))," listes de lecture"])])}},podcast:{play:e=>{const{normalize:t}=e;return t(["Lire"])},remove:e=>{const{normalize:t}=e;return t(["Supprimer"])},"remove-info-1":e=>{const{normalize:t}=e;return t(["Supprimer ce podcast de manière permanente de la bibliothèque ?"])},"remove-info-2":e=>{const{normalize:t}=e;return t(["Cela supprimera également la liste de lecture RSS "])},"remove-podcast":e=>{const{normalize:t}=e;return t(["Supprimer le podcast"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t([n(r("count"))," piste"]),t([n(r("count"))," piste"]),t([n(r("count"))," pistes"])])}},podcasts:{add:e=>{const{normalize:t}=e;return t(["Ajouter"])},count:e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t([n(r("count"))," podcast"]),t([n(r("count"))," podcast"]),t([n(r("count"))," podcasts"])])},"mark-all-played":e=>{const{normalize:t}=e;return t(["Marquer comme lus"])},"new-episodes":e=>{const{normalize:t}=e;return t(["Nouveaux épisodes"])},title:e=>{const{normalize:t}=e;return t(["Podcasts"])},update:e=>{const{normalize:t}=e;return t(["Actualiser"])}},queue:{"add-stream":e=>{const{normalize:t}=e;return t(["Ajouter un flux"])},clear:e=>{const{normalize:t}=e;return t(["Effacer"])},count:e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t([n(r("count"))," piste"]),t([n(r("count"))," piste"]),t([n(r("count"))," pistes"])])},edit:e=>{const{normalize:t}=e;return t(["Éditer"])},"hide-previous":e=>{const{normalize:t}=e;return t(["Masquer lhistorique"])},queue:e=>{const{normalize:t}=e;return t(["File dattente"])},save:e=>{const{normalize:t}=e;return t(["Enregistrer"])}},radio:{count:e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t([n(r("count"))," station"]),t([n(r("count"))," station"]),t([n(r("count"))," stations"])])},title:e=>{const{normalize:t}=e;return t(["Radio"])}},search:{albums:e=>{const{normalize:t}=e;return t(["Albums"])},artists:e=>{const{normalize:t}=e;return t(["Artistes"])},audiobooks:e=>{const{normalize:t}=e;return t(["Livres audio"])},composers:e=>{const{normalize:t}=e;return t(["Compositeurs"])},expression:e=>{const{normalize:t}=e;return t(["expression"])},help:e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["Astuce : vous pouvez effectuer une recherche avec une ",n(r("help"))," du langage de requête de liste de lecture intelligente en préfixant votre requête avec ",n(r("query"))])},"no-albums":e=>{const{normalize:t}=e;return t(["Aucun album trouvé"])},"no-artists":e=>{const{normalize:t}=e;return t(["Aucun artiste trouvé"])},"no-audiobooks":e=>{const{normalize:t}=e;return t(["Aucun livre audio trouvé"])},"no-composers":e=>{const{normalize:t}=e;return t(["Aucun compositeur trouvé"])},"no-playlists":e=>{const{normalize:t}=e;return t(["Aucune liste de lecture trouvée"])},"no-podcasts":e=>{const{normalize:t}=e;return t(["Aucune podcast trouvé"])},"no-tracks":e=>{const{normalize:t}=e;return t(["Aucune piste trouvée"])},placeholder:e=>{const{normalize:t}=e;return t(["Recherche"])},playlists:e=>{const{normalize:t}=e;return t(["Listes de lecture"])},podcasts:e=>{const{normalize:t}=e;return t(["Podcasts"])},"show-albums":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t(["Afficher lalbum"]),t(["Afficher les ",n(r("count"))," albums"])])},"show-artists":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t(["Afficher lartiste"]),t(["Afficher les ",n(r("count"))," artistes"])])},"show-audiobooks":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t(["Afficher le livre audio"]),t(["Afficher les ",n(r("count"))," livres audio"])])},"show-composers":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t(["Afficher le compositeur"]),t(["Afficher les ",n(r("count"))," compositeurs"])])},"show-playlists":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t(["Afficher la liste de lecture"]),t(["Afficher les ",n(r("count"))," listes de lecture"])])},"show-podcasts":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t(["Afficher le podcast"]),t(["Afficher les ",n(r("count"))," podcasts"])])},"show-tracks":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t(["Afficher la piste"]),t(["Afficher les ",n(r("n"))," pistes"])])},tracks:e=>{const{normalize:t}=e;return t(["Pistes"])},tabs:{library:e=>{const{normalize:t}=e;return t(["Bibliothèque"])},spotify:e=>{const{normalize:t}=e;return t(["Spotify"])}}},settings:{artwork:{artwork:e=>{const{normalize:t}=e;return t(["Illustrations"])},coverartarchive:e=>{const{normalize:t}=e;return t(["Cover Art Archive"])},discogs:e=>{const{normalize:t}=e;return t(["Discogs"])},"explanation-1":e=>{const{normalize:t}=e;return t(["Prend en charge les illustrations au format PNG et JPEG qui sont soit placées dans la bibliothèque en tant que fichiers image séparés, soit intégrées dans les fichiers média, soit mises à disposition en ligne par les stations de radio."])},"explanation-2":e=>{const{normalize:t}=e;return t(["En outre, vous pouvez activer la récupération des illustrations à partir des fournisseurs dillustrations suivants :"])},spotify:e=>{const{normalize:t}=e;return t(["Spotify"])}},devices:{"no-active-pairing":e=>{const{normalize:t}=e;return t(["Aucune demande de jumelage active."])},"pairing-code":e=>{const{normalize:t}=e;return t(["Code de jumelage"])},"pairing-request":e=>{const{normalize:t}=e;return t(["Demande de jumelage de télécommande "])},pairing:e=>{const{normalize:t}=e;return t(["Jumelage de télécommande"])},send:e=>{const{normalize:t}=e;return t(["Envoyer"])},"speaker-pairing-info":e=>{const{normalize:t}=e;return t(["Si votre enceinte nécessite un jumelage, activez-la ci-dessous et entrez le code PIN quelle affiche."])},"speaker-pairing":e=>{const{normalize:t}=e;return t(["Jumelage denceinte et vérification dappareil"])},"verification-code":e=>{const{normalize:t}=e;return t(["Code de vérification"])},verify:e=>{const{normalize:t}=e;return t(["Vérifier"])}},general:{"album-lists":e=>{const{normalize:t}=e;return t(["Listes dalbum"])},audiobooks:e=>{const{normalize:t}=e;return t(["Livres audio"])},files:e=>{const{normalize:t}=e;return t(["Fichiers"])},genres:e=>{const{normalize:t}=e;return t(["Genres"])},language:e=>{const{normalize:t}=e;return t(["Langue"])},music:e=>{const{normalize:t}=e;return t(["Musique"])},"navigation-item-selection-info":e=>{const{normalize:t}=e;return t(["Si vous sélectionnez plus déléments que ce qui peut être affiché sur votre écran, le menu disparaîtra."])},"navigation-item-selection":e=>{const{normalize:t}=e;return t(["Sélectionnez les éléments de la barre de navigation supérieure"])},"navigation-items":e=>{const{normalize:t}=e;return t(["Barre de navigation"])},"now-playing-page":e=>{const{normalize:t}=e;return t(["Page « En cours de lecture »"])},playlists:e=>{const{normalize:t}=e;return t(["Listes de lecture"])},podcasts:e=>{const{normalize:t}=e;return t(["Podcasts"])},radio:e=>{const{normalize:t}=e;return t(["Radio"])},"recently-added-page-info":e=>{const{normalize:t}=e;return t(["Limiter le nombre dalbum affichés dans la section « Ajouts récents »"])},"recently-added-page":e=>{const{normalize:t}=e;return t(["Page « Ajouts récents »"])},search:e=>{const{normalize:t}=e;return t(["Recherche"])},"show-composer-genres-info-1":e=>{const{normalize:t}=e;return t(["Liste des genres, séparés par des virgules, que le compositeur doit afficher sur la page « En cours de lecture »."])},"show-composer-genres-info-2":e=>{const{normalize:t}=e;return t(["Laissez vide pour toujours afficher le compositeur."])},"show-composer-genres-info-3":e=>{const{normalize:t}=e;return t(['Létiquette de genre de la piste actuelle est comparée en vérifiant si lun des genres définis est inclus. Par exemple, en choisissant "classique, bande sonore", le compositeur pour les pistes dont létiquette de genre est "classique contemporain" sera affiché.'])},"show-composer-genres":e=>{const{normalize:t}=e;return t(["Afficher le compositeur uniquement pour les genres listés"])},"show-composer-info":e=>{const{normalize:t}=e;return t(["Si actif, le compositeur de la piste en cours de lecture est affiché sur la page « En cours de lecture »"])},"show-composer":e=>{const{normalize:t}=e;return t(["Afficher le compositeur"])},"show-coverart":e=>{const{normalize:t}=e;return t(["Afficher les illustration dans la liste dalbums"])},"show-path":e=>{const{normalize:t}=e;return t(["Afficher le chemin du fichier sur la page « En cours de lecture »"])}},services:{lastfm:{"grant-access":e=>{const{normalize:t}=e;return t(["Connectez-vous avec votre nom dutilisateur et votre mot de passe Last.fm pour activer le scrobbling."])},info:e=>{const{normalize:t}=e;return t(["Le nom dutilisateur et le mot de passe Last.fm ne sont pas enregistrés, uniquement la clé de session. La clé de session nexpire pas."])},title:e=>{const{normalize:t}=e;return t(["Last.fm"])},"no-support":e=>{const{normalize:t}=e;return t(["Loption Last.fm nest pas présente."])},"stop-scrobbling":e=>{const{normalize:t}=e;return t(["Arrêter le scrobbling"])}},spotify:{"no-support":e=>{const{normalize:t}=e;return t(["Loption Spotify nest pas présente."])},"logged-as":e=>{const{normalize:t}=e;return t(["Connecté en tant que "])},requirements:e=>{const{normalize:t}=e;return t(["Vous devez posséder un compte Spotify Premium."])},scopes:e=>{const{normalize:t}=e;return t(["Laccès à lAPI de Spotify permet lanalyse de votre bibliothèque Spotify. Les champs dapplication requis sont les suivants :"])},user:e=>{const{normalize:t}=e;return t(["Accès autorisé pour "])},authorize:e=>{const{normalize:t}=e;return t(["Autoriser laccès à lAPI"])},credentials:e=>{const{normalize:t}=e;return t([" - Connectez-vous avec votre nom dutilisateur et mot de passe Spotify"])},"grant-access":e=>{const{normalize:t}=e;return t(["Accordez laccès à lAPI de Spotify"])},"help-1":e=>{const{normalize:t}=e;return t(["La bibliothèque libspotify permet de lire les pistes de Spotify."])},"help-2":e=>{const{normalize:t}=e;return t(["Votre nom dutilisateur et votre mot de passe Spotify ne sont pas enregistrés, uniquement le jeton de connexion."])},reauthorize:e=>{const{normalize:t}=e;return t(["Veuillez autoriser à nouveau laccès à lAPI pour accorder à OwnTone les droits daccès supplémentaires suivants :"])},title:e=>{const{normalize:t}=e;return t(["Spotify"])}},login:e=>{const{normalize:t}=e;return t(["Se connecter"])},logout:e=>{const{normalize:t}=e;return t(["Se déconnecter"])},password:e=>{const{normalize:t}=e;return t(["Mot de passe"])},username:e=>{const{normalize:t}=e;return t(["Nom dutilisateur"])}},tabs:{artwork:e=>{const{normalize:t}=e;return t(["Illustrations"])},general:e=>{const{normalize:t}=e;return t(["Général"])},"online-services":e=>{const{normalize:t}=e;return t(["Services en ligne"])},"remotes-and-outputs":e=>{const{normalize:t}=e;return t(["Télécommandes et sorties"])}}},spotify:{album:{shuffle:e=>{const{normalize:t}=e;return t(["Lecture aléatoire"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t([n(r("count"))," piste"]),t([n(r("count"))," piste"]),t([n(r("count"))," pistes"])])}},artist:{"album-count":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t([n(r("count"))," album"]),t([n(r("count"))," album"]),t([n(r("count"))," albums"])])},shuffle:e=>{const{normalize:t}=e;return t(["Lecture aléatoire"])}},music:{"featured-playlists":e=>{const{normalize:t}=e;return t(["Listes de lecture en vedette"])},"new-releases":e=>{const{normalize:t}=e;return t(["Nouvelle sorties"])},"show-more":e=>{const{normalize:t}=e;return t(["Afficher plus"])}},playlist:{count:e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t([n(r("count"))," piste"]),t([n(r("count"))," piste"]),t([n(r("count"))," pistes"])])},shuffle:e=>{const{normalize:t}=e;return t(["Lecture aléatoire"])}},search:{albums:e=>{const{normalize:t}=e;return t(["Albums"])},artists:e=>{const{normalize:t}=e;return t(["Artistes"])},"no-albums":e=>{const{normalize:t}=e;return t(["Aucun album trouvé"])},"no-artists":e=>{const{normalize:t}=e;return t(["Aucun artiste trouvé"])},"no-playlists":e=>{const{normalize:t}=e;return t(["Aucune liste de lecture trouvée"])},"no-tracks":e=>{const{normalize:t}=e;return t(["Aucune piste trouvée"])},placeholder:e=>{const{normalize:t}=e;return t(["Recherche"])},playlists:e=>{const{normalize:t}=e;return t(["Listes de lecture"])},"show-all-albums":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t(["Afficher lalbum"]),t(["Afficher les ",n(r("count"))," albums"])])},"show-all-artists":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t(["Afficher lartistes"]),t(["Afficher les ",n(r("count"))," artistes"])])},"show-all-playlists":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t(["Afficher la liste de lecture"]),t(["Afficher les ",n(r("count"))," listes de lecture"])])},"show-all-tracks":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t(["Afficher la piste"]),t(["Afficher les ",n(r("count"))," pistes"])])},tracks:e=>{const{normalize:t}=e;return t(["Pistes"])}}}},playlist:{type:{plain:e=>{const{normalize:t}=e;return t(["Simple"])},smart:e=>{const{normalize:t}=e;return t(["Intelligente"])}}},player:{button:{consume:e=>{const{normalize:t}=e;return t(["Effacer lhistorique"])},pause:e=>{const{normalize:t}=e;return t(["Mettre la lecture en pause"])},play:e=>{const{normalize:t}=e;return t(["Lire"])},repeat:e=>{const{normalize:t}=e;return t(["Répéter toutes les pistes"])},"repeat-off":e=>{const{normalize:t}=e;return t(["Lire les pistes une fois"])},"repeat-once":e=>{const{normalize:t}=e;return t(["Répéter la piste en cours"])},"seek-backward":e=>{const{normalize:t}=e;return t(["Reculer dans la piste"])},"seek-forward":e=>{const{normalize:t}=e;return t(["Avancer dans la piste"])},shuffle:e=>{const{normalize:t}=e;return t(["Lire les pistes aléatoirement"])},"shuffle-disabled":e=>{const{normalize:t}=e;return t(["Lire les pistes dans lordre"])},"skip-backward":e=>{const{normalize:t}=e;return t(["Reculer à la piste précédente"])},"skip-forward":e=>{const{normalize:t}=e;return t(["Avancer à la piste suivante"])},stop:e=>{const{normalize:t}=e;return t(["Arrêter la lecture"])},"toggle-lyrics":e=>{const{normalize:t}=e;return t(["Voir/Cacher les paroles"])}}},setting:{"not-saved":e=>{const{normalize:t}=e;return t([" (erreur à lenregistrement du réglage)"])},saved:e=>{const{normalize:t}=e;return t([" (réglage enregistré)"])}},server:{"connection-failed":e=>{const{normalize:t}=e;return t(["Échec de connexion au serveur"])},"missing-port":e=>{const{normalize:t}=e;return t(["Port websocket manquant"])},"request-failed":e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["La requête a échoué (status: ",n(r("status"))," ",n(r("cause"))," ",n(r("url")),")"])},"queue-saved":e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["La file dattente enregistrée dans la liste de lecture ",n(r("name"))])},"appended-tracks":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t([n(r("count"))," piste ajoutée à la file dattente"]),t([n(r("count"))," pistes ajoutées à la file dattente"])])},"empty-queue":e=>{const{normalize:t}=e;return t(["La file dattente est vide"])}},"group-by-list":{today:e=>{const{normalize:t}=e;return t(["Aujourdhui"])},"last-week":e=>{const{normalize:t}=e;return t(["La semaine dernière"])},"last-month":e=>{const{normalize:t}=e;return t(["Le mois dernier"])}},filter:{mono:e=>{const{normalize:t}=e;return t(["mono"])},stereo:e=>{const{normalize:t}=e;return t(["stéréo"])},channels:e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t([n(r("count"))," canal"]),t([n(r("count"))," canaux"])])}}},zh:{data:{kind:{file:e=>{const{normalize:t}=e;return t(["文件"])},url:e=>{const{normalize:t}=e;return t(["链接"])},spotify:e=>{const{normalize:t}=e;return t(["Spotify"])},pipe:e=>{const{normalize:t}=e;return t(["流"])}}},dialog:{cancel:e=>{const{normalize:t}=e;return t(["取消"])},add:{rss:{add:e=>{const{normalize:t}=e;return t(["添加"])},cancel:e=>{const{normalize:t}=e;return t(["取消"])},help:e=>{const{normalize:t}=e;return t(["添加一个可生成播放列表的播客RSS链接这将允许OwnTone管理订阅"])},placeholder:e=>{const{normalize:t}=e;return t(["https://url-to-rss"])},processing:e=>{const{normalize:t}=e;return t(["处理中…"])},title:e=>{const{normalize:t}=e;return t(["添加播客RSS订阅链接"])}},stream:{add:e=>{const{normalize:t}=e;return t(["添加"])},cancel:e=>{const{normalize:t}=e;return t(["取消"])},loading:e=>{const{normalize:t}=e;return t(["加载中…"])},placeholder:e=>{const{normalize:t}=e;return t(["https://url-to-stream"])},play:e=>{const{normalize:t}=e;return t(["播放"])},title:e=>{const{normalize:t}=e;return t(["添加流链接"])}}},album:{"add-next":e=>{const{normalize:t}=e;return t(["插播"])},add:e=>{const{normalize:t}=e;return t(["最后播放"])},"added-on":e=>{const{normalize:t}=e;return t(["添加时间"])},artist:e=>{const{normalize:t}=e;return t(["专辑艺人"])},duration:e=>{const{normalize:t}=e;return t(["时长"])},"mark-as-played":e=>{const{normalize:t}=e;return t(["标记为已播"])},play:e=>{const{normalize:t}=e;return t(["播放"])},"release-date":e=>{const{normalize:t}=e;return t(["发行日期"])},"remove-podcast":e=>{const{normalize:t}=e;return t(["移除播客"])},tracks:e=>{const{normalize:t}=e;return t(["只曲目"])},type:e=>{const{normalize:t}=e;return t(["类型"])},year:e=>{const{normalize:t}=e;return t(["年份"])}},artist:{"add-next":e=>{const{normalize:t}=e;return t(["插播"])},add:e=>{const{normalize:t}=e;return t(["最后播放"])},"added-on":e=>{const{normalize:t}=e;return t(["添加时间"])},albums:e=>{const{normalize:t}=e;return t(["张专辑"])},play:e=>{const{normalize:t}=e;return t(["播放"])},tracks:e=>{const{normalize:t}=e;return t(["只曲目"])},type:e=>{const{normalize:t}=e;return t(["类型"])}},composer:{"add-next":e=>{const{normalize:t}=e;return t(["插播"])},add:e=>{const{normalize:t}=e;return t(["最后播放"])},albums:e=>{const{normalize:t}=e;return t(["张专辑"])},duration:e=>{const{normalize:t}=e;return t(["时长"])},play:e=>{const{normalize:t}=e;return t(["播放"])},tracks:e=>{const{normalize:t}=e;return t(["只曲目"])}},directory:{"add-next":e=>{const{normalize:t}=e;return t(["插播"])},add:e=>{const{normalize:t}=e;return t(["最后播放"])},play:e=>{const{normalize:t}=e;return t(["播放"])}},genre:{"add-next":e=>{const{normalize:t}=e;return t(["插播"])},add:e=>{const{normalize:t}=e;return t(["最后播放"])},albums:e=>{const{normalize:t}=e;return t(["张专辑"])},duration:e=>{const{normalize:t}=e;return t(["时长"])},play:e=>{const{normalize:t}=e;return t(["播放"])},tracks:e=>{const{normalize:t}=e;return t(["只曲目"])}},playlist:{"add-next":e=>{const{normalize:t}=e;return t(["插播"])},add:e=>{const{normalize:t}=e;return t(["最后播放"])},play:e=>{const{normalize:t}=e;return t(["播放"])},path:e=>{const{normalize:t}=e;return t(["路径"])},"track-count":e=>{const{normalize:t}=e;return t(["只曲目"])},type:e=>{const{normalize:t}=e;return t(["类型"])},save:{cancel:e=>{const{normalize:t}=e;return t(["取消"])},"playlist-name":e=>{const{normalize:t}=e;return t(["播放列表名称"])},save:e=>{const{normalize:t}=e;return t(["保存"])},saving:e=>{const{normalize:t}=e;return t(["保存中…"])},title:e=>{const{normalize:t}=e;return t(["保存播放清单到列表"])}}},"queue-item":{"album-artist":e=>{const{normalize:t}=e;return t(["专辑艺人"])},album:e=>{const{normalize:t}=e;return t(["专辑"])},bitrate:e=>{const{normalize:t,interpolate:n,named:r}=e;return t([" ","|"," ",n(r("rate"))," kbit/s"])},channels:e=>{const{normalize:t,interpolate:n,named:r}=e;return t([" ","|"," ",n(r("channels"))])},composer:e=>{const{normalize:t}=e;return t(["作曲家"])},duration:e=>{const{normalize:t}=e;return t(["时长"])},genre:e=>{const{normalize:t}=e;return t(["流派"])},path:e=>{const{normalize:t}=e;return t(["路径"])},play:e=>{const{normalize:t}=e;return t(["播放"])},position:e=>{const{normalize:t}=e;return t(["盘符 / 曲目"])},quality:e=>{const{normalize:t}=e;return t(["质量"])},remove:e=>{const{normalize:t}=e;return t(["移除"])},samplerate:e=>{const{normalize:t,interpolate:n,named:r}=e;return t([" ","|"," ",n(r("rate"))," Hz"])},"spotify-album":e=>{const{normalize:t}=e;return t(["专辑"])},"spotify-artist":e=>{const{normalize:t}=e;return t(["艺人"])},type:e=>{const{normalize:t}=e;return t(["类型"])},year:e=>{const{normalize:t}=e;return t(["年份"])}},"remote-pairing":{cancel:e=>{const{normalize:t}=e;return t(["取消"])},pair:e=>{const{normalize:t}=e;return t(["遥控配对"])},"pairing-code":e=>{const{normalize:t}=e;return t(["配对码"])},title:e=>{const{normalize:t}=e;return t(["请求遥控配对"])}},spotify:{album:{"add-next":e=>{const{normalize:t}=e;return t(["插播"])},add:e=>{const{normalize:t}=e;return t(["最后播放"])},"album-artist":e=>{const{normalize:t}=e;return t(["专辑艺人"])},play:e=>{const{normalize:t}=e;return t(["播放"])},"release-date":e=>{const{normalize:t}=e;return t(["发行日期"])},type:e=>{const{normalize:t}=e;return t(["类型"])}},artist:{"add-next":e=>{const{normalize:t}=e;return t(["插播"])},add:e=>{const{normalize:t}=e;return t(["最后播放"])},genres:e=>{const{normalize:t}=e;return t(["流派"])},play:e=>{const{normalize:t}=e;return t(["播放"])},popularity:e=>{const{normalize:t}=e;return t(["流行度 / 粉丝数"])}},playlist:{"add-next":e=>{const{normalize:t}=e;return t(["插播"])},add:e=>{const{normalize:t}=e;return t(["最后播放"])},owner:e=>{const{normalize:t}=e;return t(["所有者"])},path:e=>{const{normalize:t}=e;return t(["路径"])},play:e=>{const{normalize:t}=e;return t(["播放"])},tracks:e=>{const{normalize:t}=e;return t(["曲目"])}},track:{"add-next":e=>{const{normalize:t}=e;return t(["插播"])},add:e=>{const{normalize:t}=e;return t(["最后播放"])},"album-artist":e=>{const{normalize:t}=e;return t(["专辑艺人"])},album:e=>{const{normalize:t}=e;return t(["专辑"])},duration:e=>{const{normalize:t}=e;return t(["时长"])},path:e=>{const{normalize:t}=e;return t(["路径"])},play:e=>{const{normalize:t}=e;return t(["播放"])},position:e=>{const{normalize:t}=e;return t(["盘符 / 曲目"])},"release-date":e=>{const{normalize:t}=e;return t(["发行日期"])}}},track:{"add-next":e=>{const{normalize:t}=e;return t(["插播"])},add:e=>{const{normalize:t}=e;return t(["最后播放"])},"added-on":e=>{const{normalize:t}=e;return t(["添加时间"])},"album-artist":e=>{const{normalize:t}=e;return t(["专辑艺人"])},album:e=>{const{normalize:t}=e;return t(["专辑"])},bitrate:e=>{const{normalize:t,interpolate:n,named:r}=e;return t([" ","|"," ",n(r("rate"))," kbit/s"])},channels:e=>{const{normalize:t,interpolate:n,named:r}=e;return t([" ","|"," ",n(r("channels"))])},comment:e=>{const{normalize:t}=e;return t(["评论"])},composer:e=>{const{normalize:t}=e;return t(["作曲家"])},duration:e=>{const{normalize:t}=e;return t(["时长"])},genre:e=>{const{normalize:t}=e;return t(["流派"])},"mark-as-new":e=>{const{normalize:t}=e;return t(["标记为最新"])},"mark-as-played":e=>{const{normalize:t}=e;return t(["标记为已播放"])},path:e=>{const{normalize:t}=e;return t(["路径"])},play:e=>{const{normalize:t}=e;return t(["播放"])},position:e=>{const{normalize:t}=e;return t(["盘符 / 曲目"])},quality:e=>{const{normalize:t}=e;return t(["质量"])},"rating-value":e=>{const{normalize:t,interpolate:n,named:r}=e;return t([n(r("rating"))," / 10"])},rating:e=>{const{normalize:t}=e;return t(["评级"])},"release-date":e=>{const{normalize:t}=e;return t(["发行日期"])},samplerate:e=>{const{normalize:t,interpolate:n,named:r}=e;return t([" ","|"," ",n(r("rate"))," Hz"])},"spotify-album":e=>{const{normalize:t}=e;return t(["专辑"])},"spotify-artist":e=>{const{normalize:t}=e;return t(["艺人"])},type:e=>{const{normalize:t}=e;return t(["类型"])},year:e=>{const{normalize:t}=e;return t(["年份"])}},update:{all:e=>{const{normalize:t}=e;return t(["更新所有内容"])},cancel:e=>{const{normalize:t}=e;return t(["取消"])},feeds:e=>{const{normalize:t}=e;return t(["仅更新RSS订阅内容"])},info:e=>{const{normalize:t}=e;return t(["扫描新的、删除的和修改的文件"])},local:e=>{const{normalize:t}=e;return t(["仅更新本地资料库"])},progress:e=>{const{normalize:t}=e;return t(["正在更新本地资料库…"])},"rescan-metadata":e=>{const{normalize:t}=e;return t(["重新扫描未修改文件的元数据"])},rescan:e=>{const{normalize:t}=e;return t(["重新扫描"])},spotify:e=>{const{normalize:t}=e;return t(["仅更新Spotify"])},title:e=>{const{normalize:t}=e;return t(["资料库更新"])}}},language:{de:e=>{const{normalize:t}=e;return t(["德语 (Deutsch)"])},en:e=>{const{normalize:t}=e;return t(["英语 (English)"])},fr:e=>{const{normalize:t}=e;return t(["法语 (Français)"])},zh:e=>{const{normalize:t}=e;return t(["中文"])}},list:{albums:{"info-1":e=>{const{normalize:t}=e;return t(["从资料库中永久移除该播客吗?"])},"info-2":e=>{const{normalize:t}=e;return t(["这也将移除RSS播放列表 "])},remove:e=>{const{normalize:t}=e;return t(["移除"])},"remove-podcast":e=>{const{normalize:t}=e;return t(["移除播客"])}},spotify:{"not-playable-track":e=>{const{normalize:t}=e;return t(["曲目无法播放"])},"restriction-reason":e=>{const{normalize:t,interpolate:n,named:r}=e;return t([", 被限制原因: ",n(r("reason"))])}}},media:{kind:{album:e=>{const{normalize:t}=e;return t(["专辑"])},audiobook:e=>{const{normalize:t}=e;return t(["有声读物"])},music:e=>{const{normalize:t}=e;return t(["音乐"])},podcast:e=>{const{normalize:t}=e;return t(["播客"])}}},navigation:{about:e=>{const{normalize:t}=e;return t(["关于"])},albums:e=>{const{normalize:t}=e;return t(["专辑"])},artists:e=>{const{normalize:t}=e;return t(["艺人"])},audiobooks:e=>{const{normalize:t}=e;return t(["有声读物"])},"now-playing":e=>{const{normalize:t,interpolate:n,named:r}=e;return t([" - ",n(r("album"))])},"stream-error":e=>{const{normalize:t}=e;return t(["HTTP流错误流载入失败或者由于网络原因无法载入"])},stream:e=>{const{normalize:t}=e;return t(["HTTP流"])},volume:e=>{const{normalize:t}=e;return t(["音量"])},files:e=>{const{normalize:t}=e;return t(["文件"])},genres:e=>{const{normalize:t}=e;return t(["流派"])},music:e=>{const{normalize:t}=e;return t(["音乐"])},playlists:e=>{const{normalize:t}=e;return t(["播放列表"])},podcasts:e=>{const{normalize:t}=e;return t(["播客"])},radio:e=>{const{normalize:t}=e;return t(["广播电台"])},search:e=>{const{normalize:t}=e;return t(["搜索"])},settings:e=>{const{normalize:t}=e;return t(["设置"])},spotify:e=>{const{normalize:t}=e;return t(["Spotify"])},title:e=>{const{normalize:t}=e;return t(["OwnTone"])},"update-library":e=>{const{normalize:t}=e;return t(["更新资料库"])}},page:{about:{albums:e=>{const{normalize:t}=e;return t(["专辑"])},artists:e=>{const{normalize:t}=e;return t(["艺人"])},"built-with":e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["界面贡献者包括 ",n(r("bulma")),", ",n(r("mdi")),", ",n(r("vuejs")),", ",n(r("axios"))," 和 ",n(r("others")),"."])},"compiled-with":e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["编译支持来自于 ",n(r("options")),"."])},library:e=>{const{normalize:t}=e;return t(["资料库"])},more:e=>{const{normalize:t}=e;return t(["更多"])},"total-playtime":e=>{const{normalize:t}=e;return t(["总播放时长"])},tracks:e=>{const{normalize:t}=e;return t(["曲目总数"])},update:e=>{const{normalize:t}=e;return t(["更新"])},"updated-on":e=>{const{normalize:t,interpolate:n,named:r}=e;return t([n(r("time"))," 前"])},updated:e=>{const{normalize:t}=e;return t(["更新于"])},uptime:e=>{const{normalize:t}=e;return t(["运行时长"])},version:e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["版本 ",n(r("version"))])}},album:{shuffle:e=>{const{normalize:t}=e;return t(["随机播放"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t([n(r("count"))," 只曲目"]),t([n(r("count"))," 只曲目"])])}},albums:{count:e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t([n(r("count"))," 张专辑"]),t([n(r("count"))," 张专辑"])])},filter:e=>{const{normalize:t}=e;return t(["筛选"])},"hide-singles-help":e=>{const{normalize:t}=e;return t(["如果激活,将隐藏仅在播放列表出现的单曲和专辑"])},"hide-singles":e=>{const{normalize:t}=e;return t(["隐藏单曲"])},"hide-spotify-help":e=>{const{normalize:t}=e;return t(["如果激活将隐藏仅在Spotify资料库出现的专辑"])},"hide-spotify":e=>{const{normalize:t}=e;return t(["隐藏来自Spotify的专辑"])},title:e=>{const{normalize:t}=e;return t(["专辑"])},"sort-by":{title:e=>{const{normalize:t}=e;return t(["排序方式"])},name:e=>{const{normalize:t}=e;return t(["名称"])},"recently-added":e=>{const{normalize:t}=e;return t(["最近添加"])},"recently-released":e=>{const{normalize:t}=e;return t(["最近发行"])}}},artist:{"album-count":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t([n(r("count"))," 张专辑"]),t([n(r("count"))," 张专辑"])])},shuffle:e=>{const{normalize:t}=e;return t(["随机播放"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t([n(r("count"))," 只曲目"]),t([n(r("count"))," 只曲目"])])},"sort-by":{title:e=>{const{normalize:t}=e;return t(["排序方式"])},name:e=>{const{normalize:t}=e;return t(["名称"])},rating:e=>{const{normalize:t}=e;return t(["评级"])},"release-date":e=>{const{normalize:t}=e;return t(["发行日期"])}}},artists:{count:e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t([n(r("count"))," 位艺人"]),t([n(r("count"))," 位艺人"])])},filter:e=>{const{normalize:t}=e;return t(["筛选"])},"sort-by":{title:e=>{const{normalize:t}=e;return t(["排序方式"])},name:e=>{const{normalize:t}=e;return t(["名称"])},"recently-added":e=>{const{normalize:t}=e;return t(["最近添加"])}},"hide-singles-help":e=>{const{normalize:t}=e;return t(["如果激活,将隐藏仅在播放列表出现的单曲和专辑"])},"hide-singles":e=>{const{normalize:t}=e;return t(["隐藏单曲"])},"hide-spotify-help":e=>{const{normalize:t}=e;return t(["如果激活将隐藏仅在Spotify资料库出现的专辑"])},"hide-spotify":e=>{const{normalize:t}=e;return t(["隐藏来自Spotify的艺人"])},title:e=>{const{normalize:t}=e;return t(["艺人"])}},audiobooks:{album:{play:e=>{const{normalize:t}=e;return t(["播放"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t([n(r("count"))," 只曲目"]),t([n(r("count"))," 只曲目"])])}},albums:{count:e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t([n(r("count"))," 个有声读物"]),t([n(r("count"))," 个有声读物"])])},title:e=>{const{normalize:t}=e;return t(["有声读物"])}},artist:{"album-count":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t([n(r("count"))," 张专辑"]),t([n(r("count"))," 张专辑"])])},play:e=>{const{normalize:t}=e;return t(["播放"])}},artists:{count:e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t([n(r("count"))," 位作者"]),t([n(r("count"))," 位作者"])])},title:e=>{const{normalize:t}=e;return t(["作者"])}},tabs:{authors:e=>{const{normalize:t}=e;return t(["作者"])},audiobooks:e=>{const{normalize:t}=e;return t(["有声读物"])},genres:e=>{const{normalize:t}=e;return t(["流派"])}}},composer:{"album-count":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t([n(r("count"))," 张专辑"]),t([n(r("count"))," 张专辑"])])},shuffle:e=>{const{normalize:t}=e;return t(["随机播放"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t([n(r("count"))," 只曲目"]),t([n(r("count"))," 只曲目"])])},"sort-by":{title:e=>{const{normalize:t}=e;return t(["排序方式"])},name:e=>{const{normalize:t}=e;return t(["名称"])},rating:e=>{const{normalize:t}=e;return t(["评级"])}}},composers:{count:e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t([n(r("count"))," 位作曲家"]),t([n(r("count"))," 位作曲家"])])},title:e=>{const{normalize:t}=e;return t(["作曲家"])}},files:{play:e=>{const{normalize:t}=e;return t(["播放"])},title:e=>{const{normalize:t}=e;return t(["文件"])}},genre:{"album-count":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t([n(r("count"))," 张专辑"]),t([n(r("count"))," 张专辑"])])},shuffle:e=>{const{normalize:t}=e;return t(["随机播放"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t([n(r("count"))," 只曲目"]),t([n(r("count"))," 只曲目"])])},"sort-by":{title:e=>{const{normalize:t}=e;return t(["排序方式"])},name:e=>{const{normalize:t}=e;return t(["名称"])},rating:e=>{const{normalize:t}=e;return t(["评级"])}}},genres:{count:e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t([n(r("count"))," 个流派"]),t([n(r("count"))," 个流派"])])},title:e=>{const{normalize:t}=e;return t(["流派"])}},music:{"show-more":e=>{const{normalize:t}=e;return t(["显示更多"])},"recently-added":{title:e=>{const{normalize:t}=e;return t(["最近添加"])}},"recently-played":{title:e=>{const{normalize:t}=e;return t(["最近播放"])}},tabs:{albums:e=>{const{normalize:t}=e;return t(["专辑"])},artists:e=>{const{normalize:t}=e;return t(["艺人"])},composers:e=>{const{normalize:t}=e;return t(["作曲家"])},genres:e=>{const{normalize:t}=e;return t(["流派"])},history:e=>{const{normalize:t}=e;return t(["历史"])},spotify:e=>{const{normalize:t}=e;return t(["Spotify"])}}},"now-playing":{info:e=>{const{normalize:t}=e;return t(["浏览资料库添加曲目"])},live:e=>{const{normalize:t}=e;return t(["直播"])},title:e=>{const{normalize:t}=e;return t(["播放清单是空的"])}},playlist:{length:e=>{const{normalize:t,interpolate:n,named:r}=e;return t([n(r("length"))," 曲目"])},shuffle:e=>{const{normalize:t}=e;return t(["随机播放"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t([n(r("count"))," 只曲目"]),t([n(r("count"))," 只曲目"])])}},playlists:{title:e=>{const{normalize:t}=e;return t(["播放列表"])},count:e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t([n(r("count"))," 个播放列表"]),t([n(r("count"))," 个播放列表"])])}},podcast:{play:e=>{const{normalize:t}=e;return t(["播放"])},remove:e=>{const{normalize:t}=e;return t(["移除"])},"remove-info-1":e=>{const{normalize:t}=e;return t(["从资料库中永久移除该播客?"])},"remove-info-2":e=>{const{normalize:t}=e;return t(["这也将移除该播客RSS列表 "])},"remove-podcast":e=>{const{normalize:t}=e;return t(["移除播客"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t([n(r("count"))," 只曲目"]),t([n(r("count"))," 只曲目"])])}},podcasts:{add:e=>{const{normalize:t}=e;return t(["最后播放"])},count:e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t([n(r("count"))," 个播客"]),t([n(r("count"))," 个播客"])])},"mark-all-played":e=>{const{normalize:t}=e;return t(["全部标记为已播放"])},"new-episodes":e=>{const{normalize:t}=e;return t(["最新单集"])},title:e=>{const{normalize:t}=e;return t(["播客"])},update:e=>{const{normalize:t}=e;return t(["更新"])}},queue:{"add-stream":e=>{const{normalize:t}=e;return t(["添加流"])},clear:e=>{const{normalize:t}=e;return t(["清除"])},count:e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t([n(r("count"))," 只曲目"]),t([n(r("count"))," 只曲目"])])},edit:e=>{const{normalize:t}=e;return t(["编辑"])},"hide-previous":e=>{const{normalize:t}=e;return t(["隐藏历史"])},title:e=>{const{normalize:t}=e;return t(["清单"])},save:e=>{const{normalize:t}=e;return t(["保存"])}},radio:{count:e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t([n(r("count"))," 个电台"]),t([n(r("count"))," 个电台"])])},title:e=>{const{normalize:t}=e;return t(["广播电台"])}},search:{albums:e=>{const{normalize:t}=e;return t(["专辑"])},artists:e=>{const{normalize:t}=e;return t(["艺人"])},audiobooks:e=>{const{normalize:t}=e;return t(["有声读物"])},composers:e=>{const{normalize:t}=e;return t(["作曲家"])},expression:e=>{const{normalize:t}=e;return t(["表达式"])},help:e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["提示:如果您使用 ",n(r("query"))," 前缀,则可以通过智能播放列表查询语言 ",n(r("help"))," 进行搜索"])},"no-albums":e=>{const{normalize:t}=e;return t(["没有发现专辑"])},"no-artists":e=>{const{normalize:t}=e;return t(["没有发现艺人"])},"no-audiobooks":e=>{const{normalize:t}=e;return t(["没有发现有声书"])},"no-composers":e=>{const{normalize:t}=e;return t(["没有发现作曲家"])},"no-playlists":e=>{const{normalize:t}=e;return t(["没有发现播放列表"])},"no-podcasts":e=>{const{normalize:t}=e;return t(["没有发现播客"])},"no-tracks":e=>{const{normalize:t}=e;return t(["没有发现曲目"])},placeholder:e=>{const{normalize:t}=e;return t(["搜索"])},playlists:e=>{const{normalize:t}=e;return t(["播放列表"])},podcasts:e=>{const{normalize:t}=e;return t(["播客"])},"show-albums":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t(["显示专辑"]),t(["显示所有 ",n(r("count"))," 个专辑"])])},"show-artists":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t(["显示艺人"]),t(["显示所有 ",n(r("count"))," 位艺人"])])},"show-audiobooks":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t(["显示有声书"]),t(["显示所有 ",n(r("count"))," 本有声书"])])},"show-composers":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t(["显示作曲家"]),t(["显示所有 ",n(r("count"))," 位作曲家"])])},"show-playlists":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t(["显示播放列表"]),t(["显示所有 ",n(r("count"))," 个播放列表"])])},"show-podcasts":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t(["显示播客"]),t(["显示所有 ",n(r("count"))," 个播客"])])},"show-tracks":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t(["显示曲目"]),t(["显示所有 ",n(r("count"))," 只曲目"])])},tracks:e=>{const{normalize:t}=e;return t(["曲目"])},tabs:{library:e=>{const{normalize:t}=e;return t(["资料库"])},spotify:e=>{const{normalize:t}=e;return t(["Spotify"])}}},settings:{artwork:{artwork:e=>{const{normalize:t}=e;return t(["封面"])},coverartarchive:e=>{const{normalize:t}=e;return t(["Cover Art Archive"])},discogs:e=>{const{normalize:t}=e;return t(["Discogs"])},"explanation-1":e=>{const{normalize:t}=e;return t(["OwnTone支持PNG和 JPEG封面这些封面可以作为单独的图像文件放置在库中或嵌入到媒体文件中也可以通过广播电台在线提供"])},"explanation-2":e=>{const{normalize:t}=e;return t(["除此之外,您还可以从以下素材提供者获取封面:"])},spotify:e=>{const{normalize:t}=e;return t(["Spotify"])}},devices:{"no-active-pairing":e=>{const{normalize:t}=e;return t(["没有活跃的配对请求"])},"pairing-code":e=>{const{normalize:t}=e;return t(["配对代码"])},"pairing-request":e=>{const{normalize:t}=e;return t(["远程配对请求来自于 "])},pairing:e=>{const{normalize:t}=e;return t(["遥控配对"])},send:e=>{const{normalize:t}=e;return t(["发送"])},"speaker-pairing-info":e=>{const{normalize:t}=e;return t(["如果您的扬声器需要配对,请在下面输入它显示的 PIN以激活"])},"speaker-pairing":e=>{const{normalize:t}=e;return t(["扬声器配对和设备验证"])},"verification-code":e=>{const{normalize:t}=e;return t(["验证码"])},verify:e=>{const{normalize:t}=e;return t(["验证"])}},general:{"album-lists":e=>{const{normalize:t}=e;return t(["专辑列表"])},audiobooks:e=>{const{normalize:t}=e;return t(["有声读物"])},files:e=>{const{normalize:t}=e;return t(["文件"])},genres:e=>{const{normalize:t}=e;return t(["流派"])},language:e=>{const{normalize:t}=e;return t(["语言"])},music:e=>{const{normalize:t}=e;return t(["音乐"])},"navigation-item-selection-info":e=>{const{normalize:t}=e;return t(["如果您选择的项目多于屏幕上可以显示的项目,则侧边栏菜单将会消失"])},"navigation-item-selection":e=>{const{normalize:t}=e;return t(["选择顶部导航栏菜单项"])},"navigation-items":e=>{const{normalize:t}=e;return t(["导航条"])},"now-playing-page":e=>{const{normalize:t}=e;return t(["“正在播放”页面"])},playlists:e=>{const{normalize:t}=e;return t(["播放列表"])},podcasts:e=>{const{normalize:t}=e;return t(["播客"])},radio:e=>{const{normalize:t}=e;return t(["广播电台"])},"recently-added-page-info":e=>{const{normalize:t}=e;return t(["限制“最近添加”页面上显示的专辑数量"])},"recently-added-page":e=>{const{normalize:t}=e;return t(["“最近添加”页面"])},search:e=>{const{normalize:t}=e;return t(["搜索"])},"show-composer-genres-info-1":e=>{const{normalize:t}=e;return t(["以逗号分隔流派,作曲家会在“正在播放的页面”上显示"])},"show-composer-genres-info-2":e=>{const{normalize:t}=e;return t(["留空以始终显示作曲家"])},"show-composer-genres-info-3":e=>{const{normalize:t}=e;return t(["通过检查是否包含定义的流派之一来匹配当前曲目的流派标签。例如,设置为“古典、原声带”将显示流派标签为“当代古典”的曲目的作曲家"])},"show-composer-genres":e=>{const{normalize:t}=e;return t(["仅显示列出的流派的作曲家"])},"show-composer-info":e=>{const{normalize:t}=e;return t(["如果启用,当前播放曲目的作曲家将显示在“正在播放页面”上"])},"show-composer":e=>{const{normalize:t}=e;return t(["显示作曲家"])},"show-coverart":e=>{const{normalize:t}=e;return t(["在专辑列表中显示封面艺术作品"])},"show-path":e=>{const{normalize:t}=e;return t(["在“正在播放”页面显示文件路径"])}},services:{lastfm:{"grant-access":e=>{const{normalize:t}=e;return t(["使用您的 Last.fm 用户名和密码登录以启用记录功能"])},info:e=>{const{normalize:t}=e;return t(["OwnTone不会存储您的 Last.fm 用户名/密码,仅存储会话密钥。会话密钥不会过期"])},title:e=>{const{normalize:t}=e;return t(["Last.fm"])},"no-support":e=>{const{normalize:t}=e;return t(["OwnTone的构建没有来自Last.fm的官方支持"])},"stop-scrobbling":e=>{const{normalize:t}=e;return t(["停止记录"])}},spotify:{"no-support":e=>{const{normalize:t}=e;return t(["OwnTone的构建没有来自 Spotify 官方的支持,也未安装 libspotify"])},"logged-as":e=>{const{normalize:t}=e;return t(["登录为 "])},requirements:e=>{const{normalize:t}=e;return t(["您必须拥有 Spotify付费帐户"])},scopes:e=>{const{normalize:t}=e;return t(["访问 Spotify Web API 可以扫描您的 Spotify库。 所需范围是: "])},user:e=>{const{normalize:t}=e;return t(["授予访问权限"])},authorize:e=>{const{normalize:t}=e;return t(["授权 Web API 访问"])},credentials:e=>{const{normalize:t}=e;return t([" - 使用您的 Spotify 用户名和密码登录"])},"grant-access":e=>{const{normalize:t}=e;return t(["授予对 Spotify Web API 的访问权限"])},"help-1":e=>{const{normalize:t}=e;return t(["libspotify 使 OwnTone 能够播放 Spotify 曲目"])},"help-2":e=>{const{normalize:t}=e;return t(["OwnTone 不会存储您的密码,但之后仍然能够自动登录,因为 libspotify 会保存登录令牌"])},reauthorize:e=>{const{normalize:t}=e;return t(["请重新授权 Web API 访问权限,以授予 OwnTone 以下附加访问权限:"])},title:e=>{const{normalize:t}=e;return t(["Spotify"])}},login:e=>{const{normalize:t}=e;return t(["登入"])},logout:e=>{const{normalize:t}=e;return t(["退出"])},password:e=>{const{normalize:t}=e;return t(["密码"])},username:e=>{const{normalize:t}=e;return t(["用户名"])}},tabs:{artwork:e=>{const{normalize:t}=e;return t(["封面"])},general:e=>{const{normalize:t}=e;return t(["概览"])},"online-services":e=>{const{normalize:t}=e;return t(["在线服务"])},"remotes-and-outputs":e=>{const{normalize:t}=e;return t(["遥控和输出"])}}},spotify:{album:{shuffle:e=>{const{normalize:t}=e;return t(["随机播放"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t([n(r("count"))," 只曲目"]),t([n(r("count"))," 只曲目"])])}},artist:{"album-count":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t([n(r("count"))," 张专辑"]),t([n(r("count"))," 张专辑"])])},shuffle:e=>{const{normalize:t}=e;return t(["随机播放"])}},music:{"featured-playlists":e=>{const{normalize:t}=e;return t(["特色列表"])},"new-releases":e=>{const{normalize:t}=e;return t(["最新发行"])},"show-more":e=>{const{normalize:t}=e;return t(["显示更多"])}},playlist:{count:e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t([n(r("count"))," 只曲目"]),t([n(r("count"))," 只曲目"])])},shuffle:e=>{const{normalize:t}=e;return t(["随机播放"])}},search:{albums:e=>{const{normalize:t}=e;return t(["专辑"])},artists:e=>{const{normalize:t}=e;return t(["艺人"])},"no-albums":e=>{const{normalize:t}=e;return t(["没有发现专辑"])},"no-artists":e=>{const{normalize:t}=e;return t(["没有发现艺人"])},"no-playlists":e=>{const{normalize:t}=e;return t(["没有发现播放列表"])},"no-tracks":e=>{const{normalize:t}=e;return t(["没有发现曲目"])},placeholder:e=>{const{normalize:t}=e;return t(["搜索"])},playlists:e=>{const{normalize:t}=e;return t(["播放列表"])},"show-all-albums":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t(["显示专辑"]),t(["显示所有 ",n(r("count"))," 个专辑"])])},"show-all-artists":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t(["显示艺人"]),t(["显示所有 ",n(r("count"))," 位艺人"])])},"show-all-playlists":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t(["显示播放列表"]),t(["显示所有 ",n(r("count"))," 个播放列表"])])},"show-all-tracks":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t(["显示曲目"]),t(["显示所有 ",n(r("count"))," 只曲目"])])},tracks:e=>{const{normalize:t}=e;return t(["曲目"])}}}},playlist:{type:{plain:e=>{const{normalize:t}=e;return t(["简单"])},smart:e=>{const{normalize:t}=e;return t(["智能"])}}},player:{button:{consume:e=>{const{normalize:t}=e;return t(["清除历史"])},pause:e=>{const{normalize:t}=e;return t(["暂停"])},play:e=>{const{normalize:t}=e;return t(["播放"])},repeat:e=>{const{normalize:t}=e;return t(["重复播放所有曲目"])},"repeat-off":e=>{const{normalize:t}=e;return t(["所有曲目仅播放一遍"])},"repeat-once":e=>{const{normalize:t}=e;return t(["重复当前曲目"])},"seek-backward":e=>{const{normalize:t}=e;return t(["在当前曲目后退"])},"seek-forward":e=>{const{normalize:t}=e;return t(["在当前曲目前进"])},shuffle:e=>{const{normalize:t}=e;return t(["随机播放曲目"])},"shuffle-disabled":e=>{const{normalize:t}=e;return t(["按顺序播放曲目"])},"skip-backward":e=>{const{normalize:t}=e;return t(["播放上一首"])},"skip-forward":e=>{const{normalize:t}=e;return t(["播放下一首"])},stop:e=>{const{normalize:t}=e;return t(["停止"])},"toggle-lyrics":e=>{const{normalize:t}=e;return t(["显示/隐藏歌词"])}}},setting:{"not-saved":e=>{const{normalize:t}=e;return t([" (设置保存错误)"])},saved:e=>{const{normalize:t}=e;return t([" (设置已保存)"])}},server:{"connection-failed":e=>{const{normalize:t}=e;return t(["无法连接到 OwnTone 服务器"])},"missing-port":e=>{const{normalize:t}=e;return t(["缺少 websocket 端口"])},"request-failed":e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["请求失败 (状态: ",n(r("status"))," ",n(r("cause"))," ",n(r("url")),")"])},"queue-saved":e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["清单以添加到播放列表 ",n(r("name"))])},"appended-tracks":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t(["已附加到队列的 ",n(r("count"))," 只曲目"]),t(["已附加到队列的 ",n(r("count"))," 只曲目"])])},"empty-queue":e=>{const{normalize:t}=e;return t(["清单是空的"])}},"group-by-list":{today:e=>{const{normalize:t}=e;return t(["今日"])},"last-week":e=>{const{normalize:t}=e;return t(["上周"])},"last-month":e=>{const{normalize:t}=e;return t(["上月"])}},filter:{mono:e=>{const{normalize:t}=e;return t(["单声道"])},stereo:e=>{const{normalize:t}=e;return t(["立体声"])},channels:e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t([n(r("count"))," 信道"]),t([n(r("count"))," 信道"])])}}}},Xl=M2({availableLocales:"zh",fallbackLocale:"en",fallbackWarn:!1,globalInjection:!0,legacy:!1,locale:navigator.language,messages:K2,missingWarn:!1}),{t:Ps}=Xl.global;de.interceptors.response.use(function(e){return e},function(e){return e.request.status&&e.request.responseURL&&Ve.dispatch("add_notification",{text:Ps("server.request-failed",{status:e.request.status,cause:e.request.statusText,url:e.request.responseURL}),type:"danger"}),Promise.reject(e)});const M={config(){return de.get("./api/config")},settings(){return de.get("./api/settings")},settings_update(e,t){return de.put("./api/settings/"+e+"/"+t.name,t)},library_stats(){return de.get("./api/library")},library_update(e){const t={};return e&&(t.scan_kind=e),de.put("./api/update",void 0,{params:t})},library_rescan(e){const t={};return e&&(t.scan_kind=e),de.put("./api/rescan",void 0,{params:t})},library_count(e){return de.get("./api/library/count?expression="+e)},queue(){return de.get("./api/queue")},queue_clear(){return de.put("./api/queue/clear")},queue_remove(e){return de.delete("./api/queue/items/"+e)},queue_move(e,t){return de.put("./api/queue/items/"+e+"?new_position="+t)},queue_add(e){return de.post("./api/queue/items/add?uris="+e).then(t=>(Ve.dispatch("add_notification",{text:Ps("server.appended-tracks",{count:t.data.count}),type:"info",timeout:2e3}),Promise.resolve(t)))},queue_add_next(e){let t=0;return Ve.getters.now_playing&&Ve.getters.now_playing.id&&(t=Ve.getters.now_playing.position+1),de.post("./api/queue/items/add?uris="+e+"&position="+t).then(n=>(Ve.dispatch("add_notification",{text:Ps("server.appended-tracks",{count:n.data.count}),type:"info",timeout:2e3}),Promise.resolve(n)))},queue_expression_add(e){const t={};return t.expression=e,de.post("./api/queue/items/add",void 0,{params:t}).then(n=>(Ve.dispatch("add_notification",{text:Ps("server.appended-tracks",{count:n.data.count}),type:"info",timeout:2e3}),Promise.resolve(n)))},queue_expression_add_next(e){const t={};return t.expression=e,t.position=0,Ve.getters.now_playing&&Ve.getters.now_playing.id&&(t.position=Ve.getters.now_playing.position+1),de.post("./api/queue/items/add",void 0,{params:t}).then(n=>(Ve.dispatch("add_notification",{text:Ps("server.appended-tracks",{count:n.data.count}),type:"info",timeout:2e3}),Promise.resolve(n)))},queue_save_playlist(e){return de.post("./api/queue/save",void 0,{params:{name:e}}).then(t=>(Ve.dispatch("add_notification",{text:Ps("server.queue-saved",{name:e}),type:"info",timeout:2e3}),Promise.resolve(t)))},player_status(){return de.get("./api/player")},player_play_uri(e,t,n=void 0){const r={};return r.uris=e,r.shuffle=t?"true":"false",r.clear="true",r.playback="start",r.playback_from_position=n,de.post("./api/queue/items/add",void 0,{params:r})},player_play_expression(e,t,n=void 0){const r={};return r.expression=e,r.shuffle=t?"true":"false",r.clear="true",r.playback="start",r.playback_from_position=n,de.post("./api/queue/items/add",void 0,{params:r})},player_play(e={}){return de.put("./api/player/play",void 0,{params:e})},player_playpos(e){return de.put("./api/player/play?position="+e)},player_playid(e){return de.put("./api/player/play?item_id="+e)},player_pause(){return de.put("./api/player/pause")},player_stop(){return de.put("./api/player/stop")},player_next(){return de.put("./api/player/next")},player_previous(){return de.put("./api/player/previous")},player_shuffle(e){const t=e?"true":"false";return de.put("./api/player/shuffle?state="+t)},player_consume(e){const t=e?"true":"false";return de.put("./api/player/consume?state="+t)},player_repeat(e){return de.put("./api/player/repeat?state="+e)},player_volume(e){return de.put("./api/player/volume?volume="+e)},player_output_volume(e,t){return de.put("./api/player/volume?volume="+t+"&output_id="+e)},player_seek_to_pos(e){return de.put("./api/player/seek?position_ms="+e)},player_seek(e){return de.put("./api/player/seek?seek_ms="+e)},outputs(){return de.get("./api/outputs")},output_update(e,t){return de.put("./api/outputs/"+e,t)},output_toggle(e){return de.put("./api/outputs/"+e+"/toggle")},library_artists(e=void 0){return de.get("./api/library/artists",{params:{media_kind:e}})},library_artist(e){return de.get("./api/library/artists/"+e)},library_artist_albums(e){return de.get("./api/library/artists/"+e+"/albums")},library_albums(e=void 0){return de.get("./api/library/albums",{params:{media_kind:e}})},library_album(e){return de.get("./api/library/albums/"+e)},library_album_tracks(e,t={limit:-1,offset:0}){return de.get("./api/library/albums/"+e+"/tracks",{params:t})},library_album_track_update(e,t){return de.put("./api/library/albums/"+e+"/tracks",void 0,{params:t})},library_genres(e=void 0){return de.get("./api/library/genres",{params:{media_kind:e}})},library_genre(e,t=void 0){return de.get(`./api/library/genres/${encodeURIComponent(e)}`,{params:{media_kind:t}})},library_genre_albums(e,t){const n={expression:`genre is "${e}" and media_kind is ${t}`,type:"albums"};return de.get("./api/search",{params:n})},library_genre_tracks(e,t){const n={expression:`genre is "${e}" and media_kind is ${t}`,type:"tracks"};return de.get("./api/search",{params:n})},library_radio_streams(){const e={type:"tracks",media_kind:"music",expression:"data_kind is url and song_length = 0"};return de.get("./api/search",{params:e})},library_composers(e=void 0){return de.get("./api/library/composers",{params:{media_kind:e}})},library_composer(e){return de.get(`./api/library/composers/${encodeURIComponent(e)}`)},library_composer_albums(e){const t={type:"albums",expression:`composer is "${e}" and media_kind is music`};return de.get("./api/search",{params:t})},library_composer_tracks(e){const t={type:"tracks",expression:`composer is "${e}" and media_kind is music`};return de.get("./api/search",{params:t})},library_artist_tracks(e){if(e){const t={type:"tracks",expression:'songartistid is "'+e+'"'};return de.get("./api/search",{params:t})}},library_podcasts_new_episodes(){const e={type:"tracks",expression:"media_kind is podcast and play_count = 0 ORDER BY time_added DESC"};return de.get("./api/search",{params:e})},library_podcast_episodes(e){const t={type:"tracks",expression:'media_kind is podcast and songalbumid is "'+e+'" ORDER BY date_released DESC'};return de.get("./api/search",{params:t})},library_add(e){return de.post("./api/library/add",void 0,{params:{url:e}})},library_playlist_delete(e){return de.delete("./api/library/playlists/"+e,void 0)},library_playlists(){return de.get("./api/library/playlists")},library_playlist_folder(e=0){return de.get("./api/library/playlists/"+e+"/playlists")},library_playlist(e){return de.get("./api/library/playlists/"+e)},library_playlist_tracks(e){return de.get("./api/library/playlists/"+e+"/tracks")},library_track(e){return de.get("./api/library/tracks/"+e)},library_track_playlists(e){return de.get("./api/library/tracks/"+e+"/playlists")},library_track_update(e,t={}){return de.put("./api/library/tracks/"+e,void 0,{params:t})},library_files(e=void 0){const t={directory:e};return de.get("./api/library/files",{params:t})},search(e){return de.get("./api/search",{params:e})},spotify(){return de.get("./api/spotify")},spotify_login(e){return de.post("./api/spotify-login",e)},spotify_logout(){return de.get("./api/spotify-logout")},lastfm(){return de.get("./api/lastfm")},lastfm_login(e){return de.post("./api/lastfm-login",e)},lastfm_logout(e){return de.get("./api/lastfm-logout")},pairing(){return de.get("./api/pairing")},pairing_kickoff(e){return de.post("./api/pairing",e)},artwork_url_append_size_params(e,t=600,n=600){return e&&e.startsWith("/")?e.includes("?")?e+"&maxwidth="+t+"&maxheight="+n:e+"?maxwidth="+t+"&maxheight="+n:e}},Z2={name:"NavbarItemOutput",components:{ControlSlider:Md},props:["output"],data(){return{volume:this.output.selected?this.output.volume:0,cursor:jl}},computed:{type_class(){return this.output.type.startsWith("AirPlay")?"cast-variant":this.output.type==="Chromecast"?"cast":this.output.type==="fifo"?"pipe":"server"}},watch:{output(){this.volume=this.output.volume}},methods:{change_volume(){M.player_output_volume(this.output.id,this.volume)},set_enabled(){const e={selected:!this.output.selected};M.output_update(this.output.id,e)}}},Y2={class:"navbar-item"},J2={class:"level is-mobile"},X2={class:"level-left is-flex-grow-1"},Q2={class:"level-item is-flex-grow-0"},eE={class:"level-item"},tE={class:"is-flex-grow-1"},nE=["textContent"];function rE(e,t,n,r,s,o){const a=S("mdicon"),i=S("control-slider");return w(),$("div",Y2,[u("div",J2,[u("div",X2,[u("div",Q2,[u("a",{class:ke(["button is-clickable is-white is-small",{"has-text-grey-light":!n.output.selected}]),onClick:t[0]||(t[0]=(...l)=>o.set_enabled&&o.set_enabled(...l))},[y(a,{class:"icon",name:o.type_class,size:"18",title:n.output.type},null,8,["name","title"])],2)]),u("div",eE,[u("div",tE,[u("p",{class:ke(["heading",{"has-text-grey-light":!n.output.selected}]),textContent:g(n.output.name)},null,10,nE),y(i,{value:s.volume,"onUpdate:value":t[1]||(t[1]=l=>s.volume=l),disabled:!n.output.selected,max:100,cursor:s.cursor,onChange:o.change_volume},null,8,["value","disabled","cursor","onChange"])])])])])])}const sE=te(Z2,[["render",rE]]),oE={name:"PlayerButtonConsume",props:{icon_size:{type:Number,default:16}},computed:{is_consume(){return this.$store.state.player.consume}},methods:{toggle_consume_mode(){M.player_consume(!this.is_consume)}}};function aE(e,t,n,r,s,o){const a=S("mdicon");return w(),$("a",{class:ke({"is-info":o.is_consume}),onClick:t[0]||(t[0]=(...i)=>o.toggle_consume_mode&&o.toggle_consume_mode(...i))},[y(a,{class:"icon",name:"fire",size:n.icon_size,title:e.$t("player.button.consume")},null,8,["size","title"])],2)}const iE=te(oE,[["render",aE]]),lE={name:"PlayerButtonLyrics",props:{icon_size:{type:Number,default:16}},computed:{is_active(){return this.$store.getters.lyrics_pane}},methods:{toggle_lyrics(){this.$store.state.lyrics.lyrics_pane=!this.$store.state.lyrics.lyrics_pane}}};function uE(e,t,n,r,s,o){const a=S("mdicon");return w(),$("a",{class:ke({"is-active":o.is_active}),onClick:t[0]||(t[0]=(...i)=>o.toggle_lyrics&&o.toggle_lyrics(...i))},[o.is_active?V("",!0):(w(),ce(a,{key:0,class:"icon",name:"script-text-outline",size:n.icon_size,title:e.$t("player.button.toggle-lyrics")},null,8,["size","title"])),o.is_active?(w(),ce(a,{key:1,class:"icon",name:"script-text-play",size:n.icon_size,title:e.$t("player.button.toggle-lyrics")},null,8,["size","title"])):V("",!0)],2)}const cE=te(lE,[["render",uE]]),dE={name:"PlayerButtonNext",props:{icon_size:{type:Number,default:16}},computed:{disabled(){return!this.$store.state.queue||this.$store.state.queue.count<=0}},methods:{play_next(){this.disabled||M.player_next()}}},mE=["disabled"];function fE(e,t,n,r,s,o){const a=S("mdicon");return w(),$("a",{disabled:o.disabled,onClick:t[0]||(t[0]=(...i)=>o.play_next&&o.play_next(...i))},[y(a,{name:"skip-forward",size:n.icon_size,title:e.$t("player.button.skip-forward")},null,8,["size","title"])],8,mE)}const pE=te(dE,[["render",fE]]),hE={name:"PlayerButtonPlayPause",props:{icon_size:{type:Number,default:16},show_disabled_message:Boolean},computed:{is_playing(){return this.$store.state.player.state==="play"},is_pause_allowed(){return this.$store.getters.now_playing&&this.$store.getters.now_playing.data_kind!=="pipe"},disabled(){return!this.$store.state.queue||this.$store.state.queue.count<=0},icon_name(){if(this.is_playing){if(this.is_pause_allowed)return"pause"}else return"play";return"stop"}},methods:{toggle_play_pause(){if(this.disabled){this.show_disabled_message&&this.$store.dispatch("add_notification",{text:this.$t("server.empty-queue"),type:"info",topic:"connection",timeout:2e3});return}this.is_playing&&this.is_pause_allowed?M.player_pause():this.is_playing&&!this.is_pause_allowed?M.player_stop():M.player_play()}}},_E=["disabled"];function gE(e,t,n,r,s,o){const a=S("mdicon");return w(),$("a",{disabled:o.disabled,onClick:t[0]||(t[0]=(...i)=>o.toggle_play_pause&&o.toggle_play_pause(...i))},[y(a,{name:o.icon_name,size:n.icon_size,title:e.$t("player.button."+o.icon_name)},null,8,["name","size","title"])],8,_E)}const yE=te(hE,[["render",gE]]),vE={name:"PlayerButtonPrevious",props:{icon_size:{type:Number,default:16}},computed:{disabled(){return!this.$store.state.queue||this.$store.state.queue.count<=0}},methods:{play_previous(){this.disabled||M.player_previous()}}},bE=["disabled"];function zE(e,t,n,r,s,o){const a=S("mdicon");return w(),$("a",{disabled:o.disabled,onClick:t[0]||(t[0]=(...i)=>o.play_previous&&o.play_previous(...i))},[y(a,{name:"skip-backward",size:n.icon_size,title:e.$t("player.button.skip-backward")},null,8,["size","title"])],8,bE)}const CE=te(vE,[["render",zE]]),wE={name:"PlayerButtonRepeat",props:{icon_size:{type:Number,default:16}},computed:{is_repeat_all(){return this.$store.state.player.repeat==="all"},is_repeat_single(){return this.$store.state.player.repeat==="single"},is_repeat_off(){return!this.is_repeat_all&&!this.is_repeat_single},icon_name(){return this.is_repeat_all?"repeat":this.is_repeat_single?"repeat-once":"repeat-off"}},methods:{toggle_repeat_mode(){this.is_repeat_all?M.player_repeat("single"):this.is_repeat_single?M.player_repeat("off"):M.player_repeat("all")}}};function kE(e,t,n,r,s,o){const a=S("mdicon");return w(),$("a",{class:ke({"is-info":!o.is_repeat_off}),onClick:t[0]||(t[0]=(...i)=>o.toggle_repeat_mode&&o.toggle_repeat_mode(...i))},[y(a,{class:"icon",name:o.icon_name,size:n.icon_size,title:e.$t("player.button."+o.icon_name)},null,8,["name","size","title"])],2)}const xE=te(wE,[["render",kE]]),EE={name:"PlayerButtonSeekBack",props:{seek_ms:Number,icon_size:{type:Number,default:16}},computed:{now_playing(){return this.$store.getters.now_playing},is_stopped(){return this.$store.state.player.state==="stop"},disabled(){return!this.$store.state.queue||this.$store.state.queue.count<=0||this.is_stopped||this.now_playing.data_kind==="pipe"},visible(){return["podcast","audiobook"].includes(this.now_playing.media_kind)}},methods:{seek(){this.disabled||M.player_seek(this.seek_ms*-1)}}},SE=["disabled"];function $E(e,t,n,r,s,o){const a=S("mdicon");return o.visible?(w(),$("a",{key:0,disabled:o.disabled,onClick:t[0]||(t[0]=(...i)=>o.seek&&o.seek(...i))},[y(a,{name:"rewind-10",size:n.icon_size,title:e.$t("player.button.seek-backward")},null,8,["size","title"])],8,SE)):V("",!0)}const AE=te(EE,[["render",$E]]),TE={name:"PlayerButtonSeekForward",props:{seek_ms:Number,icon_size:{type:Number,default:16}},computed:{now_playing(){return this.$store.getters.now_playing},is_stopped(){return this.$store.state.player.state==="stop"},disabled(){return!this.$store.state.queue||this.$store.state.queue.count<=0||this.is_stopped||this.now_playing.data_kind==="pipe"},visible(){return["podcast","audiobook"].includes(this.now_playing.media_kind)}},methods:{seek(){this.disabled||M.player_seek(this.seek_ms)}}},OE=["disabled"];function DE(e,t,n,r,s,o){const a=S("mdicon");return o.visible?(w(),$("a",{key:0,disabled:o.disabled,onClick:t[0]||(t[0]=(...i)=>o.seek&&o.seek(...i))},[y(a,{name:"fast-forward-30",size:n.icon_size,title:e.$t("player.button.seek-forward")},null,8,["size","title"])],8,OE)):V("",!0)}const PE=te(TE,[["render",DE]]),IE={name:"PlayerButtonShuffle",props:{icon_size:{type:Number,default:16}},computed:{is_shuffle(){return this.$store.state.player.shuffle},icon_name(){return this.is_shuffle?"shuffle":"shuffle-disabled"}},methods:{toggle_shuffle_mode(){M.player_shuffle(!this.is_shuffle)}}};function FE(e,t,n,r,s,o){const a=S("mdicon");return w(),$("a",{class:ke({"is-info":o.is_shuffle}),onClick:t[0]||(t[0]=(...i)=>o.toggle_shuffle_mode&&o.toggle_shuffle_mode(...i))},[y(a,{class:"icon",name:o.icon_name,size:n.icon_size,title:e.$t("player.button."+o.icon_name)},null,8,["name","size","title"])],2)}const RE=te(IE,[["render",FE]]),LE={name:"NavbarBottom",components:{ControlSlider:Md,NavbarItemLink:zg,NavbarItemOutput:sE,PlayerButtonConsume:iE,PlayerButtonLyrics:cE,PlayerButtonNext:pE,PlayerButtonPlayPause:yE,PlayerButtonPrevious:CE,PlayerButtonRepeat:xE,PlayerButtonSeekBack:AE,PlayerButtonSeekForward:PE,PlayerButtonShuffle:RE},data(){return{cursor:jl,old_volume:0,playing:!1,loading:!1,stream_volume:10,show_outputs_menu:!1,show_desktop_outputs_menu:!1}},computed:{show_player_menu:{get(){return this.$store.state.show_player_menu},set(e){this.$store.commit(Ks,e)}},show_burger_menu(){return this.$store.state.show_burger_menu},zindex(){return this.show_burger_menu?"z-index: 20":""},now_playing(){return this.$store.getters.now_playing},is_now_playing_page(){return this.$route.name==="now-playing"},outputs(){return this.$store.state.outputs},player(){return this.$store.state.player},config(){return this.$store.state.config}},watch:{"$store.state.player.volume"(){this.player.volume>0&&(this.old_volume=this.player.volume)}},mounted(){this.setupAudio()},unmounted(){this.closeAudio()},methods:{on_click_outside_outputs(){this.show_outputs_menu=!1},change_volume(){M.player_volume(this.player.volume)},toggle_mute_volume(){this.player.volume=this.player.volume>0?0:this.old_volume,this.change_volume()},setupAudio(){const e=vo.setupAudio();e.addEventListener("waiting",t=>{this.playing=!1,this.loading=!0}),e.addEventListener("playing",t=>{this.playing=!0,this.loading=!1}),e.addEventListener("ended",t=>{this.playing=!1,this.loading=!1}),e.addEventListener("error",t=>{this.closeAudio(),this.$store.dispatch("add_notification",{text:this.$t("navigation.stream-error"),type:"danger"}),this.playing=!1,this.loading=!1})},closeAudio(){vo.stopAudio(),this.playing=!1},playChannel(){if(this.playing)return;const e="/stream.mp3";this.loading=!0,vo.playSource(e),vo.setVolume(this.stream_volume/100)},togglePlay(){if(!this.loading)return this.playing?this.closeAudio():this.playChannel()},change_stream_volume(){vo.setVolume(this.stream_volume/100)}}},ME={class:"navbar-dropdown is-right fd-width-auto"},NE={class:"navbar-item"},VE={class:"level is-mobile"},BE={class:"level-left is-flex-grow-1"},HE={class:"level-item is-flex-grow-0"},jE={class:"icon"},UE={class:"level-item"},qE=["textContent"],WE=u("hr",{class:"my-3"},null,-1),GE=u("hr",{class:"my-3"},null,-1),KE={class:"navbar-item"},ZE={class:"level is-mobile"},YE={class:"level-left is-flex-grow-1"},JE={class:"level-item is-flex-grow-0"},XE={class:"level-item"},QE={class:"is-flex-grow-1"},eS=["textContent"],tS={href:"stream.mp3",class:"heading ml-2",target:"_blank"},nS=u("hr",{class:"my-3"},null,-1),rS={class:"navbar-item is-justify-content-center"},sS={class:"level"},oS={class:"level-item"},aS={class:"buttons has-addons"},iS={class:"navbar-brand is-flex-grow-1"},lS={class:"fd-is-text-clipped"},uS=["textContent"],cS=u("br",null,null,-1),dS=["textContent"],mS=["textContent"],fS=u("div",{class:"navbar-start"},null,-1),pS={class:"navbar-end"},hS={class:"navbar-item"},_S={class:"buttons has-addons is-centered"},gS=u("hr",{class:"my-3"},null,-1),yS={class:"navbar-item"},vS={class:"level is-mobile"},bS={class:"level-left is-flex-grow-1"},zS={class:"level-item is-flex-grow-0"},CS={class:"level-item"},wS={class:"is-flex-grow-1"},kS=["textContent"],xS=u("hr",{class:"my-3"},null,-1),ES=u("hr",{class:"my-3"},null,-1),SS={class:"navbar-item mb-5"},$S={class:"level is-mobile"},AS={class:"level-left is-flex-grow-1"},TS={class:"level-item is-flex-grow-0"},OS={class:"level-item"},DS={class:"is-flex-grow-1"},PS=["textContent"],IS={href:"stream.mp3",class:"heading ml-2",target:"_blank"};function FS(e,t,n,r,s,o){const a=S("mdicon"),i=S("control-slider"),l=S("navbar-item-output"),c=S("player-button-repeat"),d=S("player-button-shuffle"),f=S("player-button-consume"),m=S("player-button-lyrics"),p=S("navbar-item-link"),h=S("player-button-previous"),_=S("player-button-seek-back"),z=S("player-button-play-pause"),v=S("player-button-seek-forward"),b=S("player-button-next");return w(),$("nav",{class:ke(["navbar is-block is-white is-fixed-bottom fd-bottom-navbar",{"is-transparent":o.is_now_playing_page,"is-dark":!o.is_now_playing_page}]),style:ur(o.zindex),role:"navigation","aria-label":"player controls"},[u("div",{class:ke(["navbar-item has-dropdown has-dropdown-up is-hidden-touch",{"is-active":o.show_player_menu}])},[u("div",ME,[u("div",NE,[u("div",VE,[u("div",BE,[u("div",HE,[u("a",{class:"button is-white is-small",onClick:t[0]||(t[0]=(...k)=>o.toggle_mute_volume&&o.toggle_mute_volume(...k))},[u("span",jE,[y(a,{name:o.player.volume>0?"volume-high":"volume-off",size:"18"},null,8,["name"])])])]),u("div",UE,[u("div",null,[u("p",{class:"heading",textContent:g(e.$t("navigation.volume"))},null,8,qE),y(i,{value:o.player.volume,"onUpdate:value":t[1]||(t[1]=k=>o.player.volume=k),max:100,onChange:o.change_volume},null,8,["value","onChange"])])])])])]),WE,(w(!0),$(Ce,null,at(o.outputs,k=>(w(),ce(l,{key:k.id,output:k},null,8,["output"]))),128)),GE,u("div",KE,[u("div",ZE,[u("div",YE,[u("div",JE,[u("a",{class:ke(["button is-clickable is-white is-small",{"has-text-grey-light":!s.playing&&!s.loading,"is-loading":s.loading}]),onClick:t[2]||(t[2]=(...k)=>o.togglePlay&&o.togglePlay(...k))},[y(a,{class:"icon",name:"broadcast",size:"18"})],2)]),u("div",XE,[u("div",QE,[u("div",{class:ke(["is-flex is-align-content-center",{"has-text-grey-light":!s.playing}])},[u("p",{class:"heading",textContent:g(e.$t("navigation.stream"))},null,8,eS),u("a",tS,[y(a,{class:"icon is-small",name:"open-in-new",size:"16"})])],2),y(i,{value:s.stream_volume,"onUpdate:value":t[3]||(t[3]=k=>s.stream_volume=k),disabled:!s.playing,max:100,cursor:s.cursor,onChange:o.change_stream_volume},null,8,["value","disabled","cursor","onChange"])])])])])]),nS,u("div",rS,[u("div",sS,[u("div",oS,[u("div",aS,[y(c,{class:"button"}),y(d,{class:"button"}),y(f,{class:"button"}),y(m,{class:"button"})])])])])])],2),u("div",iS,[y(p,{to:{name:"queue"},exact:"",class:"mr-auto"},{default:E(()=>[y(a,{class:"icon",name:"playlist-play",size:"24"})]),_:1}),o.is_now_playing_page?V("",!0):(w(),ce(p,{key:0,to:{name:"now-playing"},exact:"",class:"navbar-item fd-is-text-clipped is-expanded is-clipped is-size-7"},{default:E(()=>[u("div",lS,[u("strong",{textContent:g(o.now_playing.title)},null,8,uS),cS,u("span",{textContent:g(o.now_playing.artist)},null,8,dS),o.now_playing.album?(w(),$("span",{key:0,textContent:g(e.$t("navigation.now-playing",{album:o.now_playing.album}))},null,8,mS)):V("",!0)])]),_:1})),o.is_now_playing_page?(w(),ce(h,{key:1,class:"navbar-item px-2",icon_size:24})):V("",!0),o.is_now_playing_page?(w(),ce(_,{key:2,seek_ms:1e4,class:"navbar-item px-2",icon_size:24})):V("",!0),y(z,{class:"navbar-item px-2",icon_size:36,show_disabled_message:""}),o.is_now_playing_page?(w(),ce(v,{key:3,seek_ms:3e4,class:"navbar-item px-2",icon_size:24})):V("",!0),o.is_now_playing_page?(w(),ce(b,{key:4,class:"navbar-item px-2",icon_size:24})):V("",!0),u("a",{class:"navbar-item ml-auto",onClick:t[4]||(t[4]=k=>o.show_player_menu=!o.show_player_menu)},[y(a,{class:"icon",name:o.show_player_menu?"chevron-down":"chevron-up"},null,8,["name"])])]),u("div",{class:ke(["navbar-menu is-hidden-desktop",{"is-active":o.show_player_menu}])},[fS,u("div",pS,[u("div",hS,[u("div",_S,[y(c,{class:"button"}),y(d,{class:"button"}),y(f,{class:"button"}),y(m,{class:"button"})])]),gS,u("div",yS,[u("div",vS,[u("div",bS,[u("div",zS,[u("a",{class:"button is-white is-small",onClick:t[5]||(t[5]=(...k)=>o.toggle_mute_volume&&o.toggle_mute_volume(...k))},[y(a,{class:"icon",name:o.player.volume>0?"volume-high":"volume-off",size:"18"},null,8,["name"])])]),u("div",CS,[u("div",wS,[u("p",{class:"heading",textContent:g(e.$t("navigation.volume"))},null,8,kS),y(i,{value:o.player.volume,"onUpdate:value":t[6]||(t[6]=k=>o.player.volume=k),max:100,onChange:o.change_volume},null,8,["value","onChange"])])])])])]),xS,(w(!0),$(Ce,null,at(o.outputs,k=>(w(),ce(l,{key:k.id,output:k},null,8,["output"]))),128)),ES,u("div",SS,[u("div",$S,[u("div",AS,[u("div",TS,[u("a",{class:ke(["button is-clickable is-white is-small",{"has-text-grey-light":!s.playing&&!s.loading,"is-loading":s.loading}]),onClick:t[7]||(t[7]=(...k)=>o.togglePlay&&o.togglePlay(...k))},[y(a,{class:"icon",name:"radio-tower",size:"16"})],2)]),u("div",OS,[u("div",DS,[u("div",{class:ke(["is-flex is-align-content-center",{"has-text-grey-light":!s.playing}])},[u("p",{class:"heading",textContent:g(e.$t("navigation.stream"))},null,8,PS),u("a",IS,[y(a,{class:"icon is-small",name:"open-in-new",size:"16"})])],2),y(i,{value:s.stream_volume,"onUpdate:value":t[8]||(t[8]=k=>s.stream_volume=k),disabled:!s.playing,max:100,cursor:s.cursor,onChange:o.change_stream_volume},null,8,["value","disabled","cursor","onChange"])])])])])])])],2)],6)}const RS=te(LE,[["render",FS]]);const LS={name:"NotificationList",components:{},data(){return{showNav:!1}},computed:{notifications(){return this.$store.state.notifications.list}},methods:{remove(e){this.$store.commit(Xu,e)}}},MS={key:0,class:"fd-notifications"},NS={class:"columns is-centered"},VS={class:"column is-half"},BS=["onClick"],HS=["textContent"];function jS(e,t,n,r,s,o){return o.notifications.length>0?(w(),$("section",MS,[u("div",NS,[u("div",VS,[(w(!0),$(Ce,null,at(o.notifications,a=>(w(),$("div",{key:a.id,class:ke(["notification has-shadow",["notification",a.type?`is-${a.type}`:""]])},[u("button",{class:"delete",onClick:i=>o.remove(a)},null,8,BS),u("span",{textContent:g(a.text)},null,8,HS)],2))),128))])])])):V("",!0)}const US=te(LS,[["render",jS]]),qS={name:"ModalDialogRemotePairing",props:["show"],emits:["close"],data(){return{pairing_req:{pin:""}}},computed:{pairing(){return this.$store.state.pairing}},watch:{show(){this.show&&(this.loading=!1,setTimeout(()=>{this.$refs.pin_field.focus()},10))}},methods:{kickoff_pairing(){M.pairing_kickoff(this.pairing_req).then(()=>{this.pairing_req.pin=""})}}},WS={key:0,class:"modal is-active"},GS={class:"modal-content fd-modal-card"},KS={class:"card"},ZS={class:"card-content"},YS=["textContent"],JS=["textContent"],XS={class:"field"},QS={class:"control"},e$=["placeholder"],t$={class:"card-footer is-clipped"},n$=["textContent"],r$=["textContent"];function s$(e,t,n,r,s,o){const a=S("mdicon");return w(),$("div",null,[y(Dt,{name:"fade"},{default:E(()=>[n.show?(w(),$("div",WS,[u("div",{class:"modal-background",onClick:t[0]||(t[0]=i=>e.$emit("close"))}),u("div",GS,[u("div",KS,[u("div",ZS,[u("p",{class:"title is-4",textContent:g(e.$t("dialog.remote-pairing.title"))},null,8,YS),u("form",{onSubmit:t[2]||(t[2]=nt((...i)=>o.kickoff_pairing&&o.kickoff_pairing(...i),["prevent"]))},[u("label",{class:"label",textContent:g(o.pairing.remote)},null,8,JS),u("div",XS,[u("div",QS,[bt(u("input",{ref:"pin_field","onUpdate:modelValue":t[1]||(t[1]=i=>s.pairing_req.pin=i),class:"input",type:"text",placeholder:e.$t("dialog.remote-pairing.pairing-code")},null,8,e$),[[an,s.pairing_req.pin]])])])],32)]),u("footer",t$,[u("a",{class:"card-footer-item has-text-danger",onClick:t[3]||(t[3]=i=>e.$emit("close"))},[y(a,{class:"icon",name:"cancel",size:"16"}),u("span",{class:"is-size-7",textContent:g(e.$t("dialog.remote-pairing.cancel"))},null,8,n$)]),u("a",{class:"card-footer-item has-background-info has-text-white has-text-weight-bold",onClick:t[4]||(t[4]=(...i)=>o.kickoff_pairing&&o.kickoff_pairing(...i))},[y(a,{class:"icon",name:"cellphone",size:"16"}),u("span",{class:"is-size-7",textContent:g(e.$t("dialog.remote-pairing.pair"))},null,8,r$)])])])]),u("button",{class:"modal-close is-large","aria-label":"close",onClick:t[5]||(t[5]=i=>e.$emit("close"))})])):V("",!0)]),_:1})])}const o$=te(qS,[["render",s$]]),a$={name:"ModalDialog",props:["show","title","ok_action","delete_action","close_action"],emits:["delete","close","ok"]},i$={key:0,class:"modal is-active"},l$={class:"modal-content fd-modal-card"},u$={class:"card"},c$={class:"card-content"},d$=["textContent"],m$={class:"card-footer is-clipped"},f$=["textContent"],p$=["textContent"],h$=["textContent"];function _$(e,t,n,r,s,o){const a=S("mdicon");return w(),$("div",null,[y(Dt,{name:"fade"},{default:E(()=>[n.show?(w(),$("div",i$,[u("div",{class:"modal-background",onClick:t[0]||(t[0]=i=>e.$emit("close"))}),u("div",l$,[u("div",u$,[u("div",c$,[n.title?(w(),$("p",{key:0,class:"title is-4",textContent:g(n.title)},null,8,d$)):V("",!0),st(e.$slots,"modal-content")]),u("footer",m$,[u("a",{class:"card-footer-item has-text-dark",onClick:t[1]||(t[1]=i=>e.$emit("close"))},[y(a,{class:"icon",name:"cancel",size:"16"}),u("span",{class:"is-size-7",textContent:g(n.close_action?n.close_action:e.$t("dialog.cancel"))},null,8,f$)]),n.delete_action?(w(),$("a",{key:0,class:"card-footer-item has-background-danger has-text-white has-text-weight-bold",onClick:t[2]||(t[2]=i=>e.$emit("delete"))},[y(a,{class:"icon",name:"delete",size:"16"}),u("span",{class:"is-size-7",textContent:g(n.delete_action)},null,8,p$)])):V("",!0),n.ok_action?(w(),$("a",{key:1,class:"card-footer-item has-background-info has-text-white has-text-weight-bold",onClick:t[3]||(t[3]=i=>e.$emit("ok"))},[y(a,{class:"icon",name:"check",size:"16"}),u("span",{class:"is-size-7",textContent:g(n.ok_action)},null,8,h$)])):V("",!0)])])]),u("button",{class:"modal-close is-large","aria-label":"close",onClick:t[4]||(t[4]=i=>e.$emit("close"))})])):V("",!0)]),_:3})])}const em=te(a$,[["render",_$]]),g$={name:"ModalDialogUpdate",components:{ModalDialog:em},props:["show"],emits:["close"],data(){return{rescan_metadata:!1}},computed:{library(){return this.$store.state.library},rss(){return this.$store.state.rss_count},spotify_enabled(){return this.$store.state.spotify.webapi_token_valid},update_dialog_scan_kind:{get(){return this.$store.state.update_dialog_scan_kind},set(e){this.$store.commit(ad,e)}}},methods:{update_library(){this.rescan_metadata?M.library_rescan(this.update_dialog_scan_kind):M.library_update(this.update_dialog_scan_kind)},close(){this.update_dialog_scan_kind="",this.$emit("close")}}},y$={key:0},v$=["textContent"],b$={key:0,class:"field"},z$={class:"control"},C$={class:"select is-small"},w$=["textContent"],k$=["textContent"],x$=["textContent"],E$=["textContent"],S$={class:"field"},$$=["textContent"],A$={key:1},T$=["textContent"];function O$(e,t,n,r,s,o){const a=S("modal-dialog");return w(),ce(a,{show:n.show,title:e.$t("dialog.update.title"),ok_action:o.library.updating?"":e.$t("dialog.update.rescan"),close_action:e.$t("dialog.update.cancel"),onOk:o.update_library,onClose:t[2]||(t[2]=i=>o.close())},{"modal-content":E(()=>[o.library.updating?(w(),$("div",A$,[u("p",{class:"mb-3",textContent:g(e.$t("dialog.update.progress"))},null,8,T$)])):(w(),$("div",y$,[u("p",{class:"mb-3",textContent:g(e.$t("dialog.update.info"))},null,8,v$),o.spotify_enabled||o.rss.tracks>0?(w(),$("div",b$,[u("div",z$,[u("div",C$,[bt(u("select",{"onUpdate:modelValue":t[0]||(t[0]=i=>o.update_dialog_scan_kind=i)},[u("option",{value:"",textContent:g(e.$t("dialog.update.all"))},null,8,w$),u("option",{value:"files",textContent:g(e.$t("dialog.update.local"))},null,8,k$),o.spotify_enabled?(w(),$("option",{key:0,value:"spotify",textContent:g(e.$t("dialog.update.spotify"))},null,8,x$)):V("",!0),o.rss.tracks>0?(w(),$("option",{key:1,value:"rss",textContent:g(e.$t("dialog.update.feeds"))},null,8,E$)):V("",!0)],512),[[Ld,o.update_dialog_scan_kind]])])])])):V("",!0),u("div",S$,[bt(u("input",{id:"rescan","onUpdate:modelValue":t[1]||(t[1]=i=>s.rescan_metadata=i),type:"checkbox",class:"switch is-rounded is-small"},null,512),[[ir,s.rescan_metadata]]),u("label",{for:"rescan",textContent:g(e.$t("dialog.update.rescan-metadata"))},null,8,$$)])]))]),_:1},8,["show","title","ok_action","close_action","onOk"])}const D$=te(g$,[["render",O$]]);var rn=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Oa(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function vy(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var n=function r(){return this instanceof r?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(r){var s=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(n,r,s.get?s:{enumerable:!0,get:function(){return e[r]}})}),n}var by={exports:{}};(function(e){(function(t,n){e.exports?e.exports=n():t.ReconnectingWebSocket=n()})(rn,function(){if(!("WebSocket"in window))return;function t(n,r,s){var o={debug:!1,automaticOpen:!0,reconnectInterval:1e3,maxReconnectInterval:3e4,reconnectDecay:1.5,timeoutInterval:2e3,maxReconnectAttempts:null};s||(s={});for(var a in o)typeof s[a]<"u"?this[a]=s[a]:this[a]=o[a];this.url=n,this.reconnectAttempts=0,this.readyState=WebSocket.CONNECTING,this.protocol=null;var i=this,l,c=!1,d=!1,f=document.createElement("div");f.addEventListener("open",function(p){i.onopen(p)}),f.addEventListener("close",function(p){i.onclose(p)}),f.addEventListener("connecting",function(p){i.onconnecting(p)}),f.addEventListener("message",function(p){i.onmessage(p)}),f.addEventListener("error",function(p){i.onerror(p)}),this.addEventListener=f.addEventListener.bind(f),this.removeEventListener=f.removeEventListener.bind(f),this.dispatchEvent=f.dispatchEvent.bind(f);function m(p,h){var _=document.createEvent("CustomEvent");return _.initCustomEvent(p,!1,!1,h),_}this.open=function(p){if(l=new WebSocket(i.url,r||[]),p){if(this.maxReconnectAttempts&&this.reconnectAttempts>this.maxReconnectAttempts)return}else f.dispatchEvent(m("connecting")),this.reconnectAttempts=0;(i.debug||t.debugAll)&&console.debug("ReconnectingWebSocket","attempt-connect",i.url);var h=l,_=setTimeout(function(){(i.debug||t.debugAll)&&console.debug("ReconnectingWebSocket","connection-timeout",i.url),d=!0,h.close(),d=!1},i.timeoutInterval);l.onopen=function(z){clearTimeout(_),(i.debug||t.debugAll)&&console.debug("ReconnectingWebSocket","onopen",i.url),i.protocol=l.protocol,i.readyState=WebSocket.OPEN,i.reconnectAttempts=0;var v=m("open");v.isReconnect=p,p=!1,f.dispatchEvent(v)},l.onclose=function(z){if(clearTimeout(b),l=null,c)i.readyState=WebSocket.CLOSED,f.dispatchEvent(m("close"));else{i.readyState=WebSocket.CONNECTING;var v=m("connecting");v.code=z.code,v.reason=z.reason,v.wasClean=z.wasClean,f.dispatchEvent(v),!p&&!d&&((i.debug||t.debugAll)&&console.debug("ReconnectingWebSocket","onclose",i.url),f.dispatchEvent(m("close")));var b=i.reconnectInterval*Math.pow(i.reconnectDecay,i.reconnectAttempts);setTimeout(function(){i.reconnectAttempts++,i.open(!0)},b>i.maxReconnectInterval?i.maxReconnectInterval:b)}},l.onmessage=function(z){(i.debug||t.debugAll)&&console.debug("ReconnectingWebSocket","onmessage",i.url,z.data);var v=m("message");v.data=z.data,f.dispatchEvent(v)},l.onerror=function(z){(i.debug||t.debugAll)&&console.debug("ReconnectingWebSocket","onerror",i.url,z),f.dispatchEvent(m("error"))}},this.automaticOpen==!0&&this.open(!1),this.send=function(p){if(l)return(i.debug||t.debugAll)&&console.debug("ReconnectingWebSocket","send",i.url,p),l.send(p);throw"INVALID_STATE_ERR : Pausing to reconnect websocket"},this.close=function(p,h){typeof p>"u"&&(p=1e3),c=!0,l&&l.close(p,h)},this.refresh=function(){l&&l.close()}}return t.prototype.onopen=function(n){},t.prototype.onclose=function(n){},t.prototype.onconnecting=function(n){},t.prototype.onmessage=function(n){},t.prototype.onerror=function(n){},t.debugAll=!1,t.CONNECTING=WebSocket.CONNECTING,t.OPEN=WebSocket.OPEN,t.CLOSING=WebSocket.CLOSING,t.CLOSED=WebSocket.CLOSED,t})})(by);var P$=by.exports;const I$=Oa(P$),F$={name:"App",components:{NavbarTop:RC,NavbarBottom:RS,NotificationList:US,ModalDialogRemotePairing:o$,ModalDialogUpdate:D$},data(){return{token_timer_id:0,reconnect_attempts:0,pairing_active:!1}},computed:{show_burger_menu:{get(){return this.$store.state.show_burger_menu},set(e){this.$store.commit(Gs,e)}},show_player_menu:{get(){return this.$store.state.show_player_menu},set(e){this.$store.commit(Ks,e)}},show_update_dialog:{get(){return this.$store.state.show_update_dialog},set(e){this.$store.commit(va,e)}}},watch:{show_burger_menu(){this.update_is_clipped()},show_player_menu(){this.update_is_clipped()}},created(){this.connect(),this.$Progress.start(),this.$router.beforeEach((e,t,n)=>{if(e.meta.show_progress&&!(e.path===t.path&&e.hash)){if(e.meta.progress!==void 0){const r=e.meta.progress;this.$Progress.parseMeta(r)}this.$Progress.start()}n()}),this.$router.afterEach((e,t)=>{e.meta.show_progress&&this.$Progress.finish()})},methods:{connect(){M.config().then(({data:e})=>{this.$store.commit(zh,e),this.$store.commit(kl,e.hide_singles),document.title=e.library_name,this.open_ws(),this.$Progress.finish()}).catch(()=>{this.$store.dispatch("add_notification",{text:this.$t("server.connection-failed"),type:"danger",topic:"connection"})})},open_ws(){if(this.$store.state.config.websocket_port<=0){this.$store.dispatch("add_notification",{text:this.$t("server.missing-port"),type:"danger"});return}const e=this;let t="ws://";window.location.protocol==="https:"&&(t="wss://");let n=t+window.location.hostname+":"+e.$store.state.config.websocket_port;const r=new I$(n,"notify",{reconnectInterval:1e3,maxReconnectInterval:2e3});r.onopen=function(){e.reconnect_attempts=0,r.send(JSON.stringify({notify:["update","database","player","options","outputs","volume","queue","spotify","lastfm","pairing"]})),e.update_outputs(),e.update_player_status(),e.update_library_stats(),e.update_settings(),e.update_queue(),e.update_spotify(),e.update_lastfm(),e.update_pairing()},r.onclose=function(){};var s=!1;function o(){s||(e.update_outputs(),e.update_player_status(),e.update_library_stats(),e.update_settings(),e.update_queue(),e.update_spotify(),e.update_lastfm(),e.update_pairing(),s=!0,setTimeout(()=>{s=!1},500))}window.addEventListener("focus",o),document.addEventListener("visibilitychange",()=>{document.visibilityState==="visible"&&o()}),r.onmessage=function(a){const i=JSON.parse(a.data);(i.notify.includes("update")||i.notify.includes("database"))&&e.update_library_stats(),(i.notify.includes("player")||i.notify.includes("options")||i.notify.includes("volume"))&&e.update_player_status(),(i.notify.includes("outputs")||i.notify.includes("volume"))&&e.update_outputs(),i.notify.includes("queue")&&e.update_queue(),i.notify.includes("spotify")&&e.update_spotify(),i.notify.includes("lastfm")&&e.update_lastfm(),i.notify.includes("pairing")&&e.update_pairing()}},update_library_stats(){M.library_stats().then(({data:e})=>{this.$store.commit(wh,e)}),M.library_count("media_kind is audiobook").then(({data:e})=>{this.$store.commit(kh,e)}),M.library_count("media_kind is podcast").then(({data:e})=>{this.$store.commit(xh,e)}),M.library_count("scan_kind is rss").then(({data:e})=>{this.$store.commit(Eh,e)})},update_outputs(){M.outputs().then(({data:e})=>{this.$store.commit(Sh,e.outputs)})},update_player_status(){M.player_status().then(({data:e})=>{this.$store.commit(td,e),this.update_lyrics()})},update_queue(){M.queue().then(({data:e})=>{this.$store.commit($h,e),this.update_lyrics()})},update_lyrics(){let e=this.$store.state.queue.items.filter(t=>t.id==this.$store.state.player.item_id);e.length>=1&&M.library_track(e[0].track_id).then(({data:t})=>{this.$store.commit(Ah,t)})},update_settings(){M.settings().then(({data:e})=>{this.$store.commit(Ch,e)})},update_lastfm(){M.lastfm().then(({data:e})=>{this.$store.commit(Th,e)})},update_spotify(){M.spotify().then(({data:e})=>{this.$store.commit(Oh,e),this.token_timer_id>0&&(window.clearTimeout(this.token_timer_id),this.token_timer_id=0),e.webapi_token_expires_in>0&&e.webapi_token&&(this.token_timer_id=window.setTimeout(this.update_spotify,1e3*e.webapi_token_expires_in))})},update_pairing(){M.pairing().then(({data:e})=>{this.$store.commit(Dh,e),this.pairing_active=e.active})},update_is_clipped(){this.show_burger_menu||this.show_player_menu?document.querySelector("html").classList.add("is-clipped"):document.querySelector("html").classList.remove("is-clipped")}},template:"<App/>"},R$={id:"app"};function L$(e,t,n,r,s,o){const a=S("navbar-top"),i=S("vue-progress-bar"),l=S("router-view"),c=S("modal-dialog-remote-pairing"),d=S("modal-dialog-update"),f=S("notification-list"),m=S("navbar-bottom");return w(),$("div",R$,[y(a),y(i,{class:"fd-progress-bar has-background-info"}),y(l,null,{default:E(({Component:p})=>[(w(),ce(O_(p)))]),_:1}),y(c,{show:s.pairing_active,onClose:t[0]||(t[0]=p=>s.pairing_active=!1)},null,8,["show"]),y(d,{show:o.show_update_dialog,onClose:t[1]||(t[1]=p=>o.show_update_dialog=!1)},null,8,["show"]),bt(y(f,null,null,512),[[fa,!o.show_burger_menu]]),y(m),bt(u("div",{class:"fd-overlay-fullscreen",onClick:t[2]||(t[2]=p=>o.show_burger_menu=o.show_player_menu=!1)},null,512),[[fa,o.show_burger_menu||o.show_player_menu]])])}const M$=te(F$,[["render",L$]]);class zs extends Error{}class N$ extends zs{constructor(t){super(`Invalid DateTime: ${t.toMessage()}`)}}class V$ extends zs{constructor(t){super(`Invalid Interval: ${t.toMessage()}`)}}class B$ extends zs{constructor(t){super(`Invalid Duration: ${t.toMessage()}`)}}class Io extends zs{}class zy extends zs{constructor(t){super(`Invalid unit ${t}`)}}class kn extends zs{}class Ar extends zs{constructor(){super("Zone is an abstract class")}}const me="numeric",Un="short",yn="long",dl={year:me,month:me,day:me},Cy={year:me,month:Un,day:me},H$={year:me,month:Un,day:me,weekday:Un},wy={year:me,month:yn,day:me},ky={year:me,month:yn,day:me,weekday:yn},xy={hour:me,minute:me},Ey={hour:me,minute:me,second:me},Sy={hour:me,minute:me,second:me,timeZoneName:Un},$y={hour:me,minute:me,second:me,timeZoneName:yn},Ay={hour:me,minute:me,hourCycle:"h23"},Ty={hour:me,minute:me,second:me,hourCycle:"h23"},Oy={hour:me,minute:me,second:me,hourCycle:"h23",timeZoneName:Un},Dy={hour:me,minute:me,second:me,hourCycle:"h23",timeZoneName:yn},Py={year:me,month:me,day:me,hour:me,minute:me},Iy={year:me,month:me,day:me,hour:me,minute:me,second:me},Fy={year:me,month:Un,day:me,hour:me,minute:me},Ry={year:me,month:Un,day:me,hour:me,minute:me,second:me},j$={year:me,month:Un,day:me,weekday:Un,hour:me,minute:me},Ly={year:me,month:yn,day:me,hour:me,minute:me,timeZoneName:Un},My={year:me,month:yn,day:me,hour:me,minute:me,second:me,timeZoneName:Un},Ny={year:me,month:yn,day:me,weekday:yn,hour:me,minute:me,timeZoneName:yn},Vy={year:me,month:yn,day:me,weekday:yn,hour:me,minute:me,second:me,timeZoneName:yn};class Da{get type(){throw new Ar}get name(){throw new Ar}get ianaName(){return this.name}get isUniversal(){throw new Ar}offsetName(t,n){throw new Ar}formatOffset(t,n){throw new Ar}offset(t){throw new Ar}equals(t){throw new Ar}get isValid(){throw new Ar}}let Eu=null;class Ql extends Da{static get instance(){return Eu===null&&(Eu=new Ql),Eu}get type(){return"system"}get name(){return new Intl.DateTimeFormat().resolvedOptions().timeZone}get isUniversal(){return!1}offsetName(t,{format:n,locale:r}){return Hy(t,n,r)}formatOffset(t,n){return Zo(this.offset(t),n)}offset(t){return-new Date(t).getTimezoneOffset()}equals(t){return t.type==="system"}get isValid(){return!0}}let Ki={};function U$(e){return Ki[e]||(Ki[e]=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:e,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",era:"short"})),Ki[e]}const q$={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};function W$(e,t){const n=e.format(t).replace(/\u200E/g,""),r=/(\d+)\/(\d+)\/(\d+) (AD|BC),? (\d+):(\d+):(\d+)/.exec(n),[,s,o,a,i,l,c,d]=r;return[a,s,o,i,l,c,d]}function G$(e,t){const n=e.formatToParts(t),r=[];for(let s=0;s<n.length;s++){const{type:o,value:a}=n[s],i=q$[o];o==="era"?r[i]=a:Ye(i)||(r[i]=parseInt(a,10))}return r}let Qa={};class Cr extends Da{static create(t){return Qa[t]||(Qa[t]=new Cr(t)),Qa[t]}static resetCache(){Qa={},Ki={}}static isValidSpecifier(t){return this.isValidZone(t)}static isValidZone(t){if(!t)return!1;try{return new Intl.DateTimeFormat("en-US",{timeZone:t}).format(),!0}catch{return!1}}constructor(t){super(),this.zoneName=t,this.valid=Cr.isValidZone(t)}get type(){return"iana"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(t,{format:n,locale:r}){return Hy(t,n,r,this.name)}formatOffset(t,n){return Zo(this.offset(t),n)}offset(t){const n=new Date(t);if(isNaN(n))return NaN;const r=U$(this.name);let[s,o,a,i,l,c,d]=r.formatToParts?G$(r,n):W$(r,n);i==="BC"&&(s=-Math.abs(s)+1);const m=rm({year:s,month:o,day:a,hour:l===24?0:l,minute:c,second:d,millisecond:0});let p=+n;const h=p%1e3;return p-=h>=0?h:1e3+h,(m-p)/(60*1e3)}equals(t){return t.type==="iana"&&t.name===this.name}get isValid(){return this.valid}}let np={};function K$(e,t={}){const n=JSON.stringify([e,t]);let r=np[n];return r||(r=new Intl.ListFormat(e,t),np[n]=r),r}let Pc={};function Ic(e,t={}){const n=JSON.stringify([e,t]);let r=Pc[n];return r||(r=new Intl.DateTimeFormat(e,t),Pc[n]=r),r}let Fc={};function Z$(e,t={}){const n=JSON.stringify([e,t]);let r=Fc[n];return r||(r=new Intl.NumberFormat(e,t),Fc[n]=r),r}let Rc={};function Y$(e,t={}){const{base:n,...r}=t,s=JSON.stringify([e,r]);let o=Rc[s];return o||(o=new Intl.RelativeTimeFormat(e,t),Rc[s]=o),o}let Fo=null;function J$(){return Fo||(Fo=new Intl.DateTimeFormat().resolvedOptions().locale,Fo)}function X$(e){const t=e.indexOf("-x-");t!==-1&&(e=e.substring(0,t));const n=e.indexOf("-u-");if(n===-1)return[e];{let r,s;try{r=Ic(e).resolvedOptions(),s=e}catch{const l=e.substring(0,n);r=Ic(l).resolvedOptions(),s=l}const{numberingSystem:o,calendar:a}=r;return[s,o,a]}}function Q$(e,t,n){return(n||t)&&(e.includes("-u-")||(e+="-u"),n&&(e+=`-ca-${n}`),t&&(e+=`-nu-${t}`)),e}function eA(e){const t=[];for(let n=1;n<=12;n++){const r=De.utc(2016,n,1);t.push(e(r))}return t}function tA(e){const t=[];for(let n=1;n<=7;n++){const r=De.utc(2016,11,13+n);t.push(e(r))}return t}function ei(e,t,n,r,s){const o=e.listingMode(n);return o==="error"?null:o==="en"?r(t):s(t)}function nA(e){return e.numberingSystem&&e.numberingSystem!=="latn"?!1:e.numberingSystem==="latn"||!e.locale||e.locale.startsWith("en")||new Intl.DateTimeFormat(e.intl).resolvedOptions().numberingSystem==="latn"}class rA{constructor(t,n,r){this.padTo=r.padTo||0,this.floor=r.floor||!1;const{padTo:s,floor:o,...a}=r;if(!n||Object.keys(a).length>0){const i={useGrouping:!1,...r};r.padTo>0&&(i.minimumIntegerDigits=r.padTo),this.inf=Z$(t,i)}}format(t){if(this.inf){const n=this.floor?Math.floor(t):t;return this.inf.format(n)}else{const n=this.floor?Math.floor(t):nm(t,3);return At(n,this.padTo)}}}class sA{constructor(t,n,r){this.opts=r,this.originalZone=void 0;let s;if(this.opts.timeZone)this.dt=t;else if(t.zone.type==="fixed"){const a=-1*(t.offset/60),i=a>=0?`Etc/GMT+${a}`:`Etc/GMT${a}`;t.offset!==0&&Cr.create(i).valid?(s=i,this.dt=t):(s="UTC",this.dt=t.offset===0?t:t.setZone("UTC").plus({minutes:t.offset}),this.originalZone=t.zone)}else t.zone.type==="system"?this.dt=t:t.zone.type==="iana"?(this.dt=t,s=t.zone.name):(s="UTC",this.dt=t.setZone("UTC").plus({minutes:t.offset}),this.originalZone=t.zone);const o={...this.opts};o.timeZone=o.timeZone||s,this.dtf=Ic(n,o)}format(){return this.originalZone?this.formatToParts().map(({value:t})=>t).join(""):this.dtf.format(this.dt.toJSDate())}formatToParts(){const t=this.dtf.formatToParts(this.dt.toJSDate());return this.originalZone?t.map(n=>{if(n.type==="timeZoneName"){const r=this.originalZone.offsetName(this.dt.ts,{locale:this.dt.locale,format:this.opts.timeZoneName});return{...n,value:r}}else return n}):t}resolvedOptions(){return this.dtf.resolvedOptions()}}class oA{constructor(t,n,r){this.opts={style:"long",...r},!n&&By()&&(this.rtf=Y$(t,r))}format(t,n){return this.rtf?this.rtf.format(t,n):CA(n,t,this.opts.numeric,this.opts.style!=="long")}formatToParts(t,n){return this.rtf?this.rtf.formatToParts(t,n):[]}}class ht{static fromOpts(t){return ht.create(t.locale,t.numberingSystem,t.outputCalendar,t.defaultToEN)}static create(t,n,r,s=!1){const o=t||$t.defaultLocale,a=o||(s?"en-US":J$()),i=n||$t.defaultNumberingSystem,l=r||$t.defaultOutputCalendar;return new ht(a,i,l,o)}static resetCache(){Fo=null,Pc={},Fc={},Rc={}}static fromObject({locale:t,numberingSystem:n,outputCalendar:r}={}){return ht.create(t,n,r)}constructor(t,n,r,s){const[o,a,i]=X$(t);this.locale=o,this.numberingSystem=n||a||null,this.outputCalendar=r||i||null,this.intl=Q$(this.locale,this.numberingSystem,this.outputCalendar),this.weekdaysCache={format:{},standalone:{}},this.monthsCache={format:{},standalone:{}},this.meridiemCache=null,this.eraCache={},this.specifiedLocale=s,this.fastNumbersCached=null}get fastNumbers(){return this.fastNumbersCached==null&&(this.fastNumbersCached=nA(this)),this.fastNumbersCached}listingMode(){const t=this.isEnglish(),n=(this.numberingSystem===null||this.numberingSystem==="latn")&&(this.outputCalendar===null||this.outputCalendar==="gregory");return t&&n?"en":"intl"}clone(t){return!t||Object.getOwnPropertyNames(t).length===0?this:ht.create(t.locale||this.specifiedLocale,t.numberingSystem||this.numberingSystem,t.outputCalendar||this.outputCalendar,t.defaultToEN||!1)}redefaultToEN(t={}){return this.clone({...t,defaultToEN:!0})}redefaultToSystem(t={}){return this.clone({...t,defaultToEN:!1})}months(t,n=!1,r=!0){return ei(this,t,r,qy,()=>{const s=n?{month:t,day:"numeric"}:{month:t},o=n?"format":"standalone";return this.monthsCache[o][t]||(this.monthsCache[o][t]=eA(a=>this.extract(a,s,"month"))),this.monthsCache[o][t]})}weekdays(t,n=!1,r=!0){return ei(this,t,r,Ky,()=>{const s=n?{weekday:t,year:"numeric",month:"long",day:"numeric"}:{weekday:t},o=n?"format":"standalone";return this.weekdaysCache[o][t]||(this.weekdaysCache[o][t]=tA(a=>this.extract(a,s,"weekday"))),this.weekdaysCache[o][t]})}meridiems(t=!0){return ei(this,void 0,t,()=>Zy,()=>{if(!this.meridiemCache){const n={hour:"numeric",hourCycle:"h12"};this.meridiemCache=[De.utc(2016,11,13,9),De.utc(2016,11,13,19)].map(r=>this.extract(r,n,"dayperiod"))}return this.meridiemCache})}eras(t,n=!0){return ei(this,t,n,Yy,()=>{const r={era:t};return this.eraCache[t]||(this.eraCache[t]=[De.utc(-40,1,1),De.utc(2017,1,1)].map(s=>this.extract(s,r,"era"))),this.eraCache[t]})}extract(t,n,r){const s=this.dtFormatter(t,n),o=s.formatToParts(),a=o.find(i=>i.type.toLowerCase()===r);return a?a.value:null}numberFormatter(t={}){return new rA(this.intl,t.forceSimple||this.fastNumbers,t)}dtFormatter(t,n={}){return new sA(t,this.intl,n)}relFormatter(t={}){return new oA(this.intl,this.isEnglish(),t)}listFormatter(t={}){return K$(this.intl,t)}isEnglish(){return this.locale==="en"||this.locale.toLowerCase()==="en-us"||new Intl.DateTimeFormat(this.intl).resolvedOptions().locale.startsWith("en-us")}equals(t){return this.locale===t.locale&&this.numberingSystem===t.numberingSystem&&this.outputCalendar===t.outputCalendar}}let Su=null;class Kt extends Da{static get utcInstance(){return Su===null&&(Su=new Kt(0)),Su}static instance(t){return t===0?Kt.utcInstance:new Kt(t)}static parseSpecifier(t){if(t){const n=t.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(n)return new Kt(tu(n[1],n[2]))}return null}constructor(t){super(),this.fixed=t}get type(){return"fixed"}get name(){return this.fixed===0?"UTC":`UTC${Zo(this.fixed,"narrow")}`}get ianaName(){return this.fixed===0?"Etc/UTC":`Etc/GMT${Zo(-this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(t,n){return Zo(this.fixed,n)}get isUniversal(){return!0}offset(){return this.fixed}equals(t){return t.type==="fixed"&&t.fixed===this.fixed}get isValid(){return!0}}class aA extends Da{constructor(t){super(),this.zoneName=t}get type(){return"invalid"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(){return null}formatOffset(){return""}offset(){return NaN}equals(){return!1}get isValid(){return!1}}function Nr(e,t){if(Ye(e)||e===null)return t;if(e instanceof Da)return e;if(iA(e)){const n=e.toLowerCase();return n==="default"?t:n==="local"||n==="system"?Ql.instance:n==="utc"||n==="gmt"?Kt.utcInstance:Kt.parseSpecifier(n)||Cr.create(e)}else return fs(e)?Kt.instance(e):typeof e=="object"&&e.offset&&typeof e.offset=="number"?e:new aA(e)}let rp=()=>Date.now(),sp="system",op=null,ap=null,ip=null,lp=60,up;class $t{static get now(){return rp}static set now(t){rp=t}static set defaultZone(t){sp=t}static get defaultZone(){return Nr(sp,Ql.instance)}static get defaultLocale(){return op}static set defaultLocale(t){op=t}static get defaultNumberingSystem(){return ap}static set defaultNumberingSystem(t){ap=t}static get defaultOutputCalendar(){return ip}static set defaultOutputCalendar(t){ip=t}static get twoDigitCutoffYear(){return lp}static set twoDigitCutoffYear(t){lp=t%100}static get throwOnInvalid(){return up}static set throwOnInvalid(t){up=t}static resetCaches(){ht.resetCache(),Cr.resetCache()}}function Ye(e){return typeof e>"u"}function fs(e){return typeof e=="number"}function eu(e){return typeof e=="number"&&e%1===0}function iA(e){return typeof e=="string"}function lA(e){return Object.prototype.toString.call(e)==="[object Date]"}function By(){try{return typeof Intl<"u"&&!!Intl.RelativeTimeFormat}catch{return!1}}function uA(e){return Array.isArray(e)?e:[e]}function cp(e,t,n){if(e.length!==0)return e.reduce((r,s)=>{const o=[t(s),s];return r&&n(r[0],o[0])===r[0]?r:o},null)[1]}function cA(e,t){return t.reduce((n,r)=>(n[r]=e[r],n),{})}function eo(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function gr(e,t,n){return eu(e)&&e>=t&&e<=n}function dA(e,t){return e-t*Math.floor(e/t)}function At(e,t=2){const n=e<0;let r;return n?r="-"+(""+-e).padStart(t,"0"):r=(""+e).padStart(t,"0"),r}function Rr(e){if(!(Ye(e)||e===null||e===""))return parseInt(e,10)}function ts(e){if(!(Ye(e)||e===null||e===""))return parseFloat(e)}function tm(e){if(!(Ye(e)||e===null||e==="")){const t=parseFloat("0."+e)*1e3;return Math.floor(t)}}function nm(e,t,n=!1){const r=10**t;return(n?Math.trunc:Math.round)(e*r)/r}function Pa(e){return e%4===0&&(e%100!==0||e%400===0)}function Ko(e){return Pa(e)?366:365}function ml(e,t){const n=dA(t-1,12)+1,r=e+(t-n)/12;return n===2?Pa(r)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][n-1]}function rm(e){let t=Date.UTC(e.year,e.month-1,e.day,e.hour,e.minute,e.second,e.millisecond);return e.year<100&&e.year>=0&&(t=new Date(t),t.setUTCFullYear(e.year,e.month-1,e.day)),+t}function fl(e){const t=(e+Math.floor(e/4)-Math.floor(e/100)+Math.floor(e/400))%7,n=e-1,r=(n+Math.floor(n/4)-Math.floor(n/100)+Math.floor(n/400))%7;return t===4||r===3?53:52}function Lc(e){return e>99?e:e>$t.twoDigitCutoffYear?1900+e:2e3+e}function Hy(e,t,n,r=null){const s=new Date(e),o={hourCycle:"h23",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"};r&&(o.timeZone=r);const a={timeZoneName:t,...o},i=new Intl.DateTimeFormat(n,a).formatToParts(s).find(l=>l.type.toLowerCase()==="timezonename");return i?i.value:null}function tu(e,t){let n=parseInt(e,10);Number.isNaN(n)&&(n=0);const r=parseInt(t,10)||0,s=n<0||Object.is(n,-0)?-r:r;return n*60+s}function jy(e){const t=Number(e);if(typeof e=="boolean"||e===""||Number.isNaN(t))throw new kn(`Invalid unit value ${e}`);return t}function pl(e,t){const n={};for(const r in e)if(eo(e,r)){const s=e[r];if(s==null)continue;n[t(r)]=jy(s)}return n}function Zo(e,t){const n=Math.trunc(Math.abs(e/60)),r=Math.trunc(Math.abs(e%60)),s=e>=0?"+":"-";switch(t){case"short":return`${s}${At(n,2)}:${At(r,2)}`;case"narrow":return`${s}${n}${r>0?`:${r}`:""}`;case"techie":return`${s}${At(n,2)}${At(r,2)}`;default:throw new RangeError(`Value format ${t} is out of range for property format`)}}function nu(e){return cA(e,["hour","minute","second","millisecond"])}const mA=["January","February","March","April","May","June","July","August","September","October","November","December"],Uy=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],fA=["J","F","M","A","M","J","J","A","S","O","N","D"];function qy(e){switch(e){case"narrow":return[...fA];case"short":return[...Uy];case"long":return[...mA];case"numeric":return["1","2","3","4","5","6","7","8","9","10","11","12"];case"2-digit":return["01","02","03","04","05","06","07","08","09","10","11","12"];default:return null}}const Wy=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],Gy=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],pA=["M","T","W","T","F","S","S"];function Ky(e){switch(e){case"narrow":return[...pA];case"short":return[...Gy];case"long":return[...Wy];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}const Zy=["AM","PM"],hA=["Before Christ","Anno Domini"],_A=["BC","AD"],gA=["B","A"];function Yy(e){switch(e){case"narrow":return[...gA];case"short":return[..._A];case"long":return[...hA];default:return null}}function yA(e){return Zy[e.hour<12?0:1]}function vA(e,t){return Ky(t)[e.weekday-1]}function bA(e,t){return qy(t)[e.month-1]}function zA(e,t){return Yy(t)[e.year<0?0:1]}function CA(e,t,n="always",r=!1){const s={years:["year","yr."],quarters:["quarter","qtr."],months:["month","mo."],weeks:["week","wk."],days:["day","day","days"],hours:["hour","hr."],minutes:["minute","min."],seconds:["second","sec."]},o=["hours","minutes","seconds"].indexOf(e)===-1;if(n==="auto"&&o){const f=e==="days";switch(t){case 1:return f?"tomorrow":`next ${s[e][0]}`;case-1:return f?"yesterday":`last ${s[e][0]}`;case 0:return f?"today":`this ${s[e][0]}`}}const a=Object.is(t,-0)||t<0,i=Math.abs(t),l=i===1,c=s[e],d=r?l?c[1]:c[2]||c[1]:l?s[e][0]:e;return a?`${i} ${d} ago`:`in ${i} ${d}`}function dp(e,t){let n="";for(const r of e)r.literal?n+=r.val:n+=t(r.val);return n}const wA={D:dl,DD:Cy,DDD:wy,DDDD:ky,t:xy,tt:Ey,ttt:Sy,tttt:$y,T:Ay,TT:Ty,TTT:Oy,TTTT:Dy,f:Py,ff:Fy,fff:Ly,ffff:Ny,F:Iy,FF:Ry,FFF:My,FFFF:Vy};class Bt{static create(t,n={}){return new Bt(t,n)}static parseFormat(t){let n=null,r="",s=!1;const o=[];for(let a=0;a<t.length;a++){const i=t.charAt(a);i==="'"?(r.length>0&&o.push({literal:s||/^\s+$/.test(r),val:r}),n=null,r="",s=!s):s||i===n?r+=i:(r.length>0&&o.push({literal:/^\s+$/.test(r),val:r}),r=i,n=i)}return r.length>0&&o.push({literal:s||/^\s+$/.test(r),val:r}),o}static macroTokenToFormatOpts(t){return wA[t]}constructor(t,n){this.opts=n,this.loc=t,this.systemLoc=null}formatWithSystemDefault(t,n){return this.systemLoc===null&&(this.systemLoc=this.loc.redefaultToSystem()),this.systemLoc.dtFormatter(t,{...this.opts,...n}).format()}formatDateTime(t,n={}){return this.loc.dtFormatter(t,{...this.opts,...n}).format()}formatDateTimeParts(t,n={}){return this.loc.dtFormatter(t,{...this.opts,...n}).formatToParts()}formatInterval(t,n={}){return this.loc.dtFormatter(t.start,{...this.opts,...n}).dtf.formatRange(t.start.toJSDate(),t.end.toJSDate())}resolvedOptions(t,n={}){return this.loc.dtFormatter(t,{...this.opts,...n}).resolvedOptions()}num(t,n=0){if(this.opts.forceSimple)return At(t,n);const r={...this.opts};return n>0&&(r.padTo=n),this.loc.numberFormatter(r).format(t)}formatDateTimeFromString(t,n){const r=this.loc.listingMode()==="en",s=this.loc.outputCalendar&&this.loc.outputCalendar!=="gregory",o=(p,h)=>this.loc.extract(t,p,h),a=p=>t.isOffsetFixed&&t.offset===0&&p.allowZ?"Z":t.isValid?t.zone.formatOffset(t.ts,p.format):"",i=()=>r?yA(t):o({hour:"numeric",hourCycle:"h12"},"dayperiod"),l=(p,h)=>r?bA(t,p):o(h?{month:p}:{month:p,day:"numeric"},"month"),c=(p,h)=>r?vA(t,p):o(h?{weekday:p}:{weekday:p,month:"long",day:"numeric"},"weekday"),d=p=>{const h=Bt.macroTokenToFormatOpts(p);return h?this.formatWithSystemDefault(t,h):p},f=p=>r?zA(t,p):o({era:p},"era"),m=p=>{switch(p){case"S":return this.num(t.millisecond);case"u":case"SSS":return this.num(t.millisecond,3);case"s":return this.num(t.second);case"ss":return this.num(t.second,2);case"uu":return this.num(Math.floor(t.millisecond/10),2);case"uuu":return this.num(Math.floor(t.millisecond/100));case"m":return this.num(t.minute);case"mm":return this.num(t.minute,2);case"h":return this.num(t.hour%12===0?12:t.hour%12);case"hh":return this.num(t.hour%12===0?12:t.hour%12,2);case"H":return this.num(t.hour);case"HH":return this.num(t.hour,2);case"Z":return a({format:"narrow",allowZ:this.opts.allowZ});case"ZZ":return a({format:"short",allowZ:this.opts.allowZ});case"ZZZ":return a({format:"techie",allowZ:this.opts.allowZ});case"ZZZZ":return t.zone.offsetName(t.ts,{format:"short",locale:this.loc.locale});case"ZZZZZ":return t.zone.offsetName(t.ts,{format:"long",locale:this.loc.locale});case"z":return t.zoneName;case"a":return i();case"d":return s?o({day:"numeric"},"day"):this.num(t.day);case"dd":return s?o({day:"2-digit"},"day"):this.num(t.day,2);case"c":return this.num(t.weekday);case"ccc":return c("short",!0);case"cccc":return c("long",!0);case"ccccc":return c("narrow",!0);case"E":return this.num(t.weekday);case"EEE":return c("short",!1);case"EEEE":return c("long",!1);case"EEEEE":return c("narrow",!1);case"L":return s?o({month:"numeric",day:"numeric"},"month"):this.num(t.month);case"LL":return s?o({month:"2-digit",day:"numeric"},"month"):this.num(t.month,2);case"LLL":return l("short",!0);case"LLLL":return l("long",!0);case"LLLLL":return l("narrow",!0);case"M":return s?o({month:"numeric"},"month"):this.num(t.month);case"MM":return s?o({month:"2-digit"},"month"):this.num(t.month,2);case"MMM":return l("short",!1);case"MMMM":return l("long",!1);case"MMMMM":return l("narrow",!1);case"y":return s?o({year:"numeric"},"year"):this.num(t.year);case"yy":return s?o({year:"2-digit"},"year"):this.num(t.year.toString().slice(-2),2);case"yyyy":return s?o({year:"numeric"},"year"):this.num(t.year,4);case"yyyyyy":return s?o({year:"numeric"},"year"):this.num(t.year,6);case"G":return f("short");case"GG":return f("long");case"GGGGG":return f("narrow");case"kk":return this.num(t.weekYear.toString().slice(-2),2);case"kkkk":return this.num(t.weekYear,4);case"W":return this.num(t.weekNumber);case"WW":return this.num(t.weekNumber,2);case"o":return this.num(t.ordinal);case"ooo":return this.num(t.ordinal,3);case"q":return this.num(t.quarter);case"qq":return this.num(t.quarter,2);case"X":return this.num(Math.floor(t.ts/1e3));case"x":return this.num(t.ts);default:return d(p)}};return dp(Bt.parseFormat(n),m)}formatDurationFromString(t,n){const r=l=>{switch(l[0]){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":return"hour";case"d":return"day";case"w":return"week";case"M":return"month";case"y":return"year";default:return null}},s=l=>c=>{const d=r(c);return d?this.num(l.get(d),c.length):c},o=Bt.parseFormat(n),a=o.reduce((l,{literal:c,val:d})=>c?l:l.concat(d),[]),i=t.shiftTo(...a.map(r).filter(l=>l));return dp(o,s(i))}}class Vn{constructor(t,n){this.reason=t,this.explanation=n}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:this.reason}}const Jy=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function fo(...e){const t=e.reduce((n,r)=>n+r.source,"");return RegExp(`^${t}$`)}function po(...e){return t=>e.reduce(([n,r,s],o)=>{const[a,i,l]=o(t,s);return[{...n,...a},i||r,l]},[{},null,1]).slice(0,2)}function ho(e,...t){if(e==null)return[null,null];for(const[n,r]of t){const s=n.exec(e);if(s)return r(s)}return[null,null]}function Xy(...e){return(t,n)=>{const r={};let s;for(s=0;s<e.length;s++)r[e[s]]=Rr(t[n+s]);return[r,null,n+s]}}const Qy=/(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/,kA=`(?:${Qy.source}?(?:\\[(${Jy.source})\\])?)?`,sm=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,ev=RegExp(`${sm.source}${kA}`),om=RegExp(`(?:T${ev.source})?`),xA=/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,EA=/(\d{4})-?W(\d\d)(?:-?(\d))?/,SA=/(\d{4})-?(\d{3})/,$A=Xy("weekYear","weekNumber","weekDay"),AA=Xy("year","ordinal"),TA=/(\d{4})-(\d\d)-(\d\d)/,tv=RegExp(`${sm.source} ?(?:${Qy.source}|(${Jy.source}))?`),OA=RegExp(`(?: ${tv.source})?`);function Ws(e,t,n){const r=e[t];return Ye(r)?n:Rr(r)}function DA(e,t){return[{year:Ws(e,t),month:Ws(e,t+1,1),day:Ws(e,t+2,1)},null,t+3]}function _o(e,t){return[{hours:Ws(e,t,0),minutes:Ws(e,t+1,0),seconds:Ws(e,t+2,0),milliseconds:tm(e[t+3])},null,t+4]}function Ia(e,t){const n=!e[t]&&!e[t+1],r=tu(e[t+1],e[t+2]),s=n?null:Kt.instance(r);return[{},s,t+3]}function Fa(e,t){const n=e[t]?Cr.create(e[t]):null;return[{},n,t+1]}const PA=RegExp(`^T?${sm.source}$`),IA=/^-?P(?:(?:(-?\d{1,20}(?:\.\d{1,20})?)Y)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20}(?:\.\d{1,20})?)W)?(?:(-?\d{1,20}(?:\.\d{1,20})?)D)?(?:T(?:(-?\d{1,20}(?:\.\d{1,20})?)H)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20})(?:[.,](-?\d{1,20}))?S)?)?)$/;function FA(e){const[t,n,r,s,o,a,i,l,c]=e,d=t[0]==="-",f=l&&l[0]==="-",m=(p,h=!1)=>p!==void 0&&(h||p&&d)?-p:p;return[{years:m(ts(n)),months:m(ts(r)),weeks:m(ts(s)),days:m(ts(o)),hours:m(ts(a)),minutes:m(ts(i)),seconds:m(ts(l),l==="-0"),milliseconds:m(tm(c),f)}]}const RA={GMT:0,EDT:-4*60,EST:-5*60,CDT:-5*60,CST:-6*60,MDT:-6*60,MST:-7*60,PDT:-7*60,PST:-8*60};function am(e,t,n,r,s,o,a){const i={year:t.length===2?Lc(Rr(t)):Rr(t),month:Uy.indexOf(n)+1,day:Rr(r),hour:Rr(s),minute:Rr(o)};return a&&(i.second=Rr(a)),e&&(i.weekday=e.length>3?Wy.indexOf(e)+1:Gy.indexOf(e)+1),i}const LA=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|(?:([+-]\d\d)(\d\d)))$/;function MA(e){const[,t,n,r,s,o,a,i,l,c,d,f]=e,m=am(t,s,r,n,o,a,i);let p;return l?p=RA[l]:c?p=0:p=tu(d,f),[m,new Kt(p)]}function NA(e){return e.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}const VA=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun), (\d\d) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) (\d{4}) (\d\d):(\d\d):(\d\d) GMT$/,BA=/^(Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday), (\d\d)-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-(\d\d) (\d\d):(\d\d):(\d\d) GMT$/,HA=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ( \d|\d\d) (\d\d):(\d\d):(\d\d) (\d{4})$/;function mp(e){const[,t,n,r,s,o,a,i]=e;return[am(t,s,r,n,o,a,i),Kt.utcInstance]}function jA(e){const[,t,n,r,s,o,a,i]=e;return[am(t,i,n,r,s,o,a),Kt.utcInstance]}const UA=fo(xA,om),qA=fo(EA,om),WA=fo(SA,om),GA=fo(ev),nv=po(DA,_o,Ia,Fa),KA=po($A,_o,Ia,Fa),ZA=po(AA,_o,Ia,Fa),YA=po(_o,Ia,Fa);function JA(e){return ho(e,[UA,nv],[qA,KA],[WA,ZA],[GA,YA])}function XA(e){return ho(NA(e),[LA,MA])}function QA(e){return ho(e,[VA,mp],[BA,mp],[HA,jA])}function e8(e){return ho(e,[IA,FA])}const t8=po(_o);function n8(e){return ho(e,[PA,t8])}const r8=fo(TA,OA),s8=fo(tv),o8=po(_o,Ia,Fa);function a8(e){return ho(e,[r8,nv],[s8,o8])}const i8="Invalid Duration",rv={weeks:{days:7,hours:7*24,minutes:7*24*60,seconds:7*24*60*60,milliseconds:7*24*60*60*1e3},days:{hours:24,minutes:24*60,seconds:24*60*60,milliseconds:24*60*60*1e3},hours:{minutes:60,seconds:60*60,milliseconds:60*60*1e3},minutes:{seconds:60,milliseconds:60*1e3},seconds:{milliseconds:1e3}},l8={years:{quarters:4,months:12,weeks:52,days:365,hours:365*24,minutes:365*24*60,seconds:365*24*60*60,milliseconds:365*24*60*60*1e3},quarters:{months:3,weeks:13,days:91,hours:91*24,minutes:91*24*60,seconds:91*24*60*60,milliseconds:91*24*60*60*1e3},months:{weeks:4,days:30,hours:30*24,minutes:30*24*60,seconds:30*24*60*60,milliseconds:30*24*60*60*1e3},...rv},Cn=146097/400,Es=146097/4800,u8={years:{quarters:4,months:12,weeks:Cn/7,days:Cn,hours:Cn*24,minutes:Cn*24*60,seconds:Cn*24*60*60,milliseconds:Cn*24*60*60*1e3},quarters:{months:3,weeks:Cn/28,days:Cn/4,hours:Cn*24/4,minutes:Cn*24*60/4,seconds:Cn*24*60*60/4,milliseconds:Cn*24*60*60*1e3/4},months:{weeks:Es/7,days:Es,hours:Es*24,minutes:Es*24*60,seconds:Es*24*60*60,milliseconds:Es*24*60*60*1e3},...rv},ss=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],c8=ss.slice(0).reverse();function Tr(e,t,n=!1){const r={values:n?t.values:{...e.values,...t.values||{}},loc:e.loc.clone(t.loc),conversionAccuracy:t.conversionAccuracy||e.conversionAccuracy,matrix:t.matrix||e.matrix};return new je(r)}function d8(e){return e<0?Math.floor(e):Math.ceil(e)}function sv(e,t,n,r,s){const o=e[s][n],a=t[n]/o,i=Math.sign(a)===Math.sign(r[s]),l=!i&&r[s]!==0&&Math.abs(a)<=1?d8(a):Math.trunc(a);r[s]+=l,t[n]-=l*o}function m8(e,t){c8.reduce((n,r)=>Ye(t[r])?n:(n&&sv(e,t,n,t,r),r),null)}function f8(e){const t={};for(const[n,r]of Object.entries(e))r!==0&&(t[n]=r);return t}class je{constructor(t){const n=t.conversionAccuracy==="longterm"||!1;let r=n?u8:l8;t.matrix&&(r=t.matrix),this.values=t.values,this.loc=t.loc||ht.create(),this.conversionAccuracy=n?"longterm":"casual",this.invalid=t.invalid||null,this.matrix=r,this.isLuxonDuration=!0}static fromMillis(t,n){return je.fromObject({milliseconds:t},n)}static fromObject(t,n={}){if(t==null||typeof t!="object")throw new kn(`Duration.fromObject: argument expected to be an object, got ${t===null?"null":typeof t}`);return new je({values:pl(t,je.normalizeUnit),loc:ht.fromObject(n),conversionAccuracy:n.conversionAccuracy,matrix:n.matrix})}static fromDurationLike(t){if(fs(t))return je.fromMillis(t);if(je.isDuration(t))return t;if(typeof t=="object")return je.fromObject(t);throw new kn(`Unknown duration argument ${t} of type ${typeof t}`)}static fromISO(t,n){const[r]=e8(t);return r?je.fromObject(r,n):je.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static fromISOTime(t,n){const[r]=n8(t);return r?je.fromObject(r,n):je.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static invalid(t,n=null){if(!t)throw new kn("need to specify a reason the Duration is invalid");const r=t instanceof Vn?t:new Vn(t,n);if($t.throwOnInvalid)throw new B$(r);return new je({invalid:r})}static normalizeUnit(t){const n={year:"years",years:"years",quarter:"quarters",quarters:"quarters",month:"months",months:"months",week:"weeks",weeks:"weeks",day:"days",days:"days",hour:"hours",hours:"hours",minute:"minutes",minutes:"minutes",second:"seconds",seconds:"seconds",millisecond:"milliseconds",milliseconds:"milliseconds"}[t&&t.toLowerCase()];if(!n)throw new zy(t);return n}static isDuration(t){return t&&t.isLuxonDuration||!1}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}toFormat(t,n={}){const r={...n,floor:n.round!==!1&&n.floor!==!1};return this.isValid?Bt.create(this.loc,r).formatDurationFromString(this,t):i8}toHuman(t={}){const n=ss.map(r=>{const s=this.values[r];return Ye(s)?null:this.loc.numberFormatter({style:"unit",unitDisplay:"long",...t,unit:r.slice(0,-1)}).format(s)}).filter(r=>r);return this.loc.listFormatter({type:"conjunction",style:t.listStyle||"narrow",...t}).format(n)}toObject(){return this.isValid?{...this.values}:{}}toISO(){if(!this.isValid)return null;let t="P";return this.years!==0&&(t+=this.years+"Y"),(this.months!==0||this.quarters!==0)&&(t+=this.months+this.quarters*3+"M"),this.weeks!==0&&(t+=this.weeks+"W"),this.days!==0&&(t+=this.days+"D"),(this.hours!==0||this.minutes!==0||this.seconds!==0||this.milliseconds!==0)&&(t+="T"),this.hours!==0&&(t+=this.hours+"H"),this.minutes!==0&&(t+=this.minutes+"M"),(this.seconds!==0||this.milliseconds!==0)&&(t+=nm(this.seconds+this.milliseconds/1e3,3)+"S"),t==="P"&&(t+="T0S"),t}toISOTime(t={}){if(!this.isValid)return null;const n=this.toMillis();if(n<0||n>=864e5)return null;t={suppressMilliseconds:!1,suppressSeconds:!1,includePrefix:!1,format:"extended",...t};const r=this.shiftTo("hours","minutes","seconds","milliseconds");let s=t.format==="basic"?"hhmm":"hh:mm";(!t.suppressSeconds||r.seconds!==0||r.milliseconds!==0)&&(s+=t.format==="basic"?"ss":":ss",(!t.suppressMilliseconds||r.milliseconds!==0)&&(s+=".SSS"));let o=r.toFormat(s);return t.includePrefix&&(o="T"+o),o}toJSON(){return this.toISO()}toString(){return this.toISO()}toMillis(){return this.as("milliseconds")}valueOf(){return this.toMillis()}plus(t){if(!this.isValid)return this;const n=je.fromDurationLike(t),r={};for(const s of ss)(eo(n.values,s)||eo(this.values,s))&&(r[s]=n.get(s)+this.get(s));return Tr(this,{values:r},!0)}minus(t){if(!this.isValid)return this;const n=je.fromDurationLike(t);return this.plus(n.negate())}mapUnits(t){if(!this.isValid)return this;const n={};for(const r of Object.keys(this.values))n[r]=jy(t(this.values[r],r));return Tr(this,{values:n},!0)}get(t){return this[je.normalizeUnit(t)]}set(t){if(!this.isValid)return this;const n={...this.values,...pl(t,je.normalizeUnit)};return Tr(this,{values:n})}reconfigure({locale:t,numberingSystem:n,conversionAccuracy:r,matrix:s}={}){const a={loc:this.loc.clone({locale:t,numberingSystem:n}),matrix:s,conversionAccuracy:r};return Tr(this,a)}as(t){return this.isValid?this.shiftTo(t).get(t):NaN}normalize(){if(!this.isValid)return this;const t=this.toObject();return m8(this.matrix,t),Tr(this,{values:t},!0)}rescale(){if(!this.isValid)return this;const t=f8(this.normalize().shiftToAll().toObject());return Tr(this,{values:t},!0)}shiftTo(...t){if(!this.isValid)return this;if(t.length===0)return this;t=t.map(a=>je.normalizeUnit(a));const n={},r={},s=this.toObject();let o;for(const a of ss)if(t.indexOf(a)>=0){o=a;let i=0;for(const c in r)i+=this.matrix[c][a]*r[c],r[c]=0;fs(s[a])&&(i+=s[a]);const l=Math.trunc(i);n[a]=l,r[a]=(i*1e3-l*1e3)/1e3;for(const c in s)ss.indexOf(c)>ss.indexOf(a)&&sv(this.matrix,s,c,n,a)}else fs(s[a])&&(r[a]=s[a]);for(const a in r)r[a]!==0&&(n[o]+=a===o?r[a]:r[a]/this.matrix[o][a]);return Tr(this,{values:n},!0).normalize()}shiftToAll(){return this.isValid?this.shiftTo("years","months","weeks","days","hours","minutes","seconds","milliseconds"):this}negate(){if(!this.isValid)return this;const t={};for(const n of Object.keys(this.values))t[n]=this.values[n]===0?0:-this.values[n];return Tr(this,{values:t},!0)}get years(){return this.isValid?this.values.years||0:NaN}get quarters(){return this.isValid?this.values.quarters||0:NaN}get months(){return this.isValid?this.values.months||0:NaN}get weeks(){return this.isValid?this.values.weeks||0:NaN}get days(){return this.isValid?this.values.days||0:NaN}get hours(){return this.isValid?this.values.hours||0:NaN}get minutes(){return this.isValid?this.values.minutes||0:NaN}get seconds(){return this.isValid?this.values.seconds||0:NaN}get milliseconds(){return this.isValid?this.values.milliseconds||0:NaN}get isValid(){return this.invalid===null}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}equals(t){if(!this.isValid||!t.isValid||!this.loc.equals(t.loc))return!1;function n(r,s){return r===void 0||r===0?s===void 0||s===0:r===s}for(const r of ss)if(!n(this.values[r],t.values[r]))return!1;return!0}}const Ss="Invalid Interval";function p8(e,t){return!e||!e.isValid?xt.invalid("missing or invalid start"):!t||!t.isValid?xt.invalid("missing or invalid end"):t<e?xt.invalid("end before start",`The end of an interval must be after its start, but you had start=${e.toISO()} and end=${t.toISO()}`):null}class xt{constructor(t){this.s=t.start,this.e=t.end,this.invalid=t.invalid||null,this.isLuxonInterval=!0}static invalid(t,n=null){if(!t)throw new kn("need to specify a reason the Interval is invalid");const r=t instanceof Vn?t:new Vn(t,n);if($t.throwOnInvalid)throw new V$(r);return new xt({invalid:r})}static fromDateTimes(t,n){const r=ko(t),s=ko(n),o=p8(r,s);return o??new xt({start:r,end:s})}static after(t,n){const r=je.fromDurationLike(n),s=ko(t);return xt.fromDateTimes(s,s.plus(r))}static before(t,n){const r=je.fromDurationLike(n),s=ko(t);return xt.fromDateTimes(s.minus(r),s)}static fromISO(t,n){const[r,s]=(t||"").split("/",2);if(r&&s){let o,a;try{o=De.fromISO(r,n),a=o.isValid}catch{a=!1}let i,l;try{i=De.fromISO(s,n),l=i.isValid}catch{l=!1}if(a&&l)return xt.fromDateTimes(o,i);if(a){const c=je.fromISO(s,n);if(c.isValid)return xt.after(o,c)}else if(l){const c=je.fromISO(r,n);if(c.isValid)return xt.before(i,c)}}return xt.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static isInterval(t){return t&&t.isLuxonInterval||!1}get start(){return this.isValid?this.s:null}get end(){return this.isValid?this.e:null}get isValid(){return this.invalidReason===null}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}length(t="milliseconds"){return this.isValid?this.toDuration(t).get(t):NaN}count(t="milliseconds"){if(!this.isValid)return NaN;const n=this.start.startOf(t),r=this.end.startOf(t);return Math.floor(r.diff(n,t).get(t))+(r.valueOf()!==this.end.valueOf())}hasSame(t){return this.isValid?this.isEmpty()||this.e.minus(1).hasSame(this.s,t):!1}isEmpty(){return this.s.valueOf()===this.e.valueOf()}isAfter(t){return this.isValid?this.s>t:!1}isBefore(t){return this.isValid?this.e<=t:!1}contains(t){return this.isValid?this.s<=t&&this.e>t:!1}set({start:t,end:n}={}){return this.isValid?xt.fromDateTimes(t||this.s,n||this.e):this}splitAt(...t){if(!this.isValid)return[];const n=t.map(ko).filter(a=>this.contains(a)).sort(),r=[];let{s}=this,o=0;for(;s<this.e;){const a=n[o]||this.e,i=+a>+this.e?this.e:a;r.push(xt.fromDateTimes(s,i)),s=i,o+=1}return r}splitBy(t){const n=je.fromDurationLike(t);if(!this.isValid||!n.isValid||n.as("milliseconds")===0)return[];let{s:r}=this,s=1,o;const a=[];for(;r<this.e;){const i=this.start.plus(n.mapUnits(l=>l*s));o=+i>+this.e?this.e:i,a.push(xt.fromDateTimes(r,o)),r=o,s+=1}return a}divideEqually(t){return this.isValid?this.splitBy(this.length()/t).slice(0,t):[]}overlaps(t){return this.e>t.s&&this.s<t.e}abutsStart(t){return this.isValid?+this.e==+t.s:!1}abutsEnd(t){return this.isValid?+t.e==+this.s:!1}engulfs(t){return this.isValid?this.s<=t.s&&this.e>=t.e:!1}equals(t){return!this.isValid||!t.isValid?!1:this.s.equals(t.s)&&this.e.equals(t.e)}intersection(t){if(!this.isValid)return this;const n=this.s>t.s?this.s:t.s,r=this.e<t.e?this.e:t.e;return n>=r?null:xt.fromDateTimes(n,r)}union(t){if(!this.isValid)return this;const n=this.s<t.s?this.s:t.s,r=this.e>t.e?this.e:t.e;return xt.fromDateTimes(n,r)}static merge(t){const[n,r]=t.sort((s,o)=>s.s-o.s).reduce(([s,o],a)=>o?o.overlaps(a)||o.abutsStart(a)?[s,o.union(a)]:[s.concat([o]),a]:[s,a],[[],null]);return r&&n.push(r),n}static xor(t){let n=null,r=0;const s=[],o=t.map(l=>[{time:l.s,type:"s"},{time:l.e,type:"e"}]),a=Array.prototype.concat(...o),i=a.sort((l,c)=>l.time-c.time);for(const l of i)r+=l.type==="s"?1:-1,r===1?n=l.time:(n&&+n!=+l.time&&s.push(xt.fromDateTimes(n,l.time)),n=null);return xt.merge(s)}difference(...t){return xt.xor([this].concat(t)).map(n=>this.intersection(n)).filter(n=>n&&!n.isEmpty())}toString(){return this.isValid?`[${this.s.toISO()} ${this.e.toISO()})`:Ss}toLocaleString(t=dl,n={}){return this.isValid?Bt.create(this.s.loc.clone(n),t).formatInterval(this):Ss}toISO(t){return this.isValid?`${this.s.toISO(t)}/${this.e.toISO(t)}`:Ss}toISODate(){return this.isValid?`${this.s.toISODate()}/${this.e.toISODate()}`:Ss}toISOTime(t){return this.isValid?`${this.s.toISOTime(t)}/${this.e.toISOTime(t)}`:Ss}toFormat(t,{separator:n=" "}={}){return this.isValid?`${this.s.toFormat(t)}${n}${this.e.toFormat(t)}`:Ss}toDuration(t,n){return this.isValid?this.e.diff(this.s,t,n):je.invalid(this.invalidReason)}mapEndpoints(t){return xt.fromDateTimes(t(this.s),t(this.e))}}class ti{static hasDST(t=$t.defaultZone){const n=De.now().setZone(t).set({month:12});return!t.isUniversal&&n.offset!==n.set({month:6}).offset}static isValidIANAZone(t){return Cr.isValidZone(t)}static normalizeZone(t){return Nr(t,$t.defaultZone)}static months(t="long",{locale:n=null,numberingSystem:r=null,locObj:s=null,outputCalendar:o="gregory"}={}){return(s||ht.create(n,r,o)).months(t)}static monthsFormat(t="long",{locale:n=null,numberingSystem:r=null,locObj:s=null,outputCalendar:o="gregory"}={}){return(s||ht.create(n,r,o)).months(t,!0)}static weekdays(t="long",{locale:n=null,numberingSystem:r=null,locObj:s=null}={}){return(s||ht.create(n,r,null)).weekdays(t)}static weekdaysFormat(t="long",{locale:n=null,numberingSystem:r=null,locObj:s=null}={}){return(s||ht.create(n,r,null)).weekdays(t,!0)}static meridiems({locale:t=null}={}){return ht.create(t).meridiems()}static eras(t="short",{locale:n=null}={}){return ht.create(n,null,"gregory").eras(t)}static features(){return{relative:By()}}}function fp(e,t){const n=s=>s.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf(),r=n(t)-n(e);return Math.floor(je.fromMillis(r).as("days"))}function h8(e,t,n){const r=[["years",(l,c)=>c.year-l.year],["quarters",(l,c)=>c.quarter-l.quarter+(c.year-l.year)*4],["months",(l,c)=>c.month-l.month+(c.year-l.year)*12],["weeks",(l,c)=>{const d=fp(l,c);return(d-d%7)/7}],["days",fp]],s={},o=e;let a,i;for(const[l,c]of r)n.indexOf(l)>=0&&(a=l,s[l]=c(e,t),i=o.plus(s),i>t?(s[l]--,e=o.plus(s)):e=i);return[e,s,i,a]}function _8(e,t,n,r){let[s,o,a,i]=h8(e,t,n);const l=t-s,c=n.filter(f=>["hours","minutes","seconds","milliseconds"].indexOf(f)>=0);c.length===0&&(a<t&&(a=s.plus({[i]:1})),a!==s&&(o[i]=(o[i]||0)+l/(a-s)));const d=je.fromObject(o,r);return c.length>0?je.fromMillis(l,r).shiftTo(...c).plus(d):d}const im={arab:"[٠-٩]",arabext:"[۰-۹]",bali:"[᭐-᭙]",beng:"[-৯]",deva:"[-९]",fullwide:"[-]",gujr:"[-૯]",hanidec:"[|一|二|三|四|五|六|七|八|九]",khmr:"[០-៩]",knda:"[-೯]",laoo:"[-໙]",limb:"[᥆-᥏]",mlym:"[-൯]",mong:"[᠐-᠙]",mymr:"[-၉]",orya:"[-୯]",tamldec:"[-௯]",telu:"[-౯]",thai:"[-๙]",tibt:"[༠-༩]",latn:"\\d"},pp={arab:[1632,1641],arabext:[1776,1785],bali:[6992,7001],beng:[2534,2543],deva:[2406,2415],fullwide:[65296,65303],gujr:[2790,2799],khmr:[6112,6121],knda:[3302,3311],laoo:[3792,3801],limb:[6470,6479],mlym:[3430,3439],mong:[6160,6169],mymr:[4160,4169],orya:[2918,2927],tamldec:[3046,3055],telu:[3174,3183],thai:[3664,3673],tibt:[3872,3881]},g8=im.hanidec.replace(/[\[|\]]/g,"").split("");function y8(e){let t=parseInt(e,10);if(isNaN(t)){t="";for(let n=0;n<e.length;n++){const r=e.charCodeAt(n);if(e[n].search(im.hanidec)!==-1)t+=g8.indexOf(e[n]);else for(const s in pp){const[o,a]=pp[s];r>=o&&r<=a&&(t+=r-o)}}return parseInt(t,10)}else return t}function Pn({numberingSystem:e},t=""){return new RegExp(`${im[e||"latn"]}${t}`)}const v8="missing Intl.DateTimeFormat.formatToParts support";function rt(e,t=n=>n){return{regex:e,deser:([n])=>t(y8(n))}}const b8=String.fromCharCode(160),ov=`[ ${b8}]`,av=new RegExp(ov,"g");function z8(e){return e.replace(/\./g,"\\.?").replace(av,ov)}function hp(e){return e.replace(/\./g,"").replace(av," ").toLowerCase()}function In(e,t){return e===null?null:{regex:RegExp(e.map(z8).join("|")),deser:([n])=>e.findIndex(r=>hp(n)===hp(r))+t}}function _p(e,t){return{regex:e,deser:([,n,r])=>tu(n,r),groups:t}}function ni(e){return{regex:e,deser:([t])=>t}}function C8(e){return e.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")}function w8(e,t){const n=Pn(t),r=Pn(t,"{2}"),s=Pn(t,"{3}"),o=Pn(t,"{4}"),a=Pn(t,"{6}"),i=Pn(t,"{1,2}"),l=Pn(t,"{1,3}"),c=Pn(t,"{1,6}"),d=Pn(t,"{1,9}"),f=Pn(t,"{2,4}"),m=Pn(t,"{4,6}"),p=z=>({regex:RegExp(C8(z.val)),deser:([v])=>v,literal:!0}),_=(z=>{if(e.literal)return p(z);switch(z.val){case"G":return In(t.eras("short",!1),0);case"GG":return In(t.eras("long",!1),0);case"y":return rt(c);case"yy":return rt(f,Lc);case"yyyy":return rt(o);case"yyyyy":return rt(m);case"yyyyyy":return rt(a);case"M":return rt(i);case"MM":return rt(r);case"MMM":return In(t.months("short",!0,!1),1);case"MMMM":return In(t.months("long",!0,!1),1);case"L":return rt(i);case"LL":return rt(r);case"LLL":return In(t.months("short",!1,!1),1);case"LLLL":return In(t.months("long",!1,!1),1);case"d":return rt(i);case"dd":return rt(r);case"o":return rt(l);case"ooo":return rt(s);case"HH":return rt(r);case"H":return rt(i);case"hh":return rt(r);case"h":return rt(i);case"mm":return rt(r);case"m":return rt(i);case"q":return rt(i);case"qq":return rt(r);case"s":return rt(i);case"ss":return rt(r);case"S":return rt(l);case"SSS":return rt(s);case"u":return ni(d);case"uu":return ni(i);case"uuu":return rt(n);case"a":return In(t.meridiems(),0);case"kkkk":return rt(o);case"kk":return rt(f,Lc);case"W":return rt(i);case"WW":return rt(r);case"E":case"c":return rt(n);case"EEE":return In(t.weekdays("short",!1,!1),1);case"EEEE":return In(t.weekdays("long",!1,!1),1);case"ccc":return In(t.weekdays("short",!0,!1),1);case"cccc":return In(t.weekdays("long",!0,!1),1);case"Z":case"ZZ":return _p(new RegExp(`([+-]${i.source})(?::(${r.source}))?`),2);case"ZZZ":return _p(new RegExp(`([+-]${i.source})(${r.source})?`),2);case"z":return ni(/[a-z_+-/]{1,256}?/i);case" ":return ni(/[^\S\n\r]/);default:return p(z)}})(e)||{invalidReason:v8};return _.token=e,_}const k8={year:{"2-digit":"yy",numeric:"yyyyy"},month:{numeric:"M","2-digit":"MM",short:"MMM",long:"MMMM"},day:{numeric:"d","2-digit":"dd"},weekday:{short:"EEE",long:"EEEE"},dayperiod:"a",dayPeriod:"a",hour:{numeric:"h","2-digit":"hh"},minute:{numeric:"m","2-digit":"mm"},second:{numeric:"s","2-digit":"ss"},timeZoneName:{long:"ZZZZZ",short:"ZZZ"}};function x8(e,t){const{type:n,value:r}=e;if(n==="literal"){const a=/^\s+$/.test(r);return{literal:!a,val:a?" ":r}}const s=t[n];let o=k8[n];if(typeof o=="object"&&(o=o[s]),o)return{literal:!1,val:o}}function E8(e){return[`^${e.map(n=>n.regex).reduce((n,r)=>`${n}(${r.source})`,"")}$`,e]}function S8(e,t,n){const r=e.match(t);if(r){const s={};let o=1;for(const a in n)if(eo(n,a)){const i=n[a],l=i.groups?i.groups+1:1;!i.literal&&i.token&&(s[i.token.val[0]]=i.deser(r.slice(o,o+l))),o+=l}return[r,s]}else return[r,{}]}function $8(e){const t=o=>{switch(o){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":case"H":return"hour";case"d":return"day";case"o":return"ordinal";case"L":case"M":return"month";case"y":return"year";case"E":case"c":return"weekday";case"W":return"weekNumber";case"k":return"weekYear";case"q":return"quarter";default:return null}};let n=null,r;return Ye(e.z)||(n=Cr.create(e.z)),Ye(e.Z)||(n||(n=new Kt(e.Z)),r=e.Z),Ye(e.q)||(e.M=(e.q-1)*3+1),Ye(e.h)||(e.h<12&&e.a===1?e.h+=12:e.h===12&&e.a===0&&(e.h=0)),e.G===0&&e.y&&(e.y=-e.y),Ye(e.u)||(e.S=tm(e.u)),[Object.keys(e).reduce((o,a)=>{const i=t(a);return i&&(o[i]=e[a]),o},{}),n,r]}let $u=null;function A8(){return $u||($u=De.fromMillis(1555555555555)),$u}function T8(e,t){if(e.literal)return e;const n=Bt.macroTokenToFormatOpts(e.val),r=uv(n,t);return r==null||r.includes(void 0)?e:r}function iv(e,t){return Array.prototype.concat(...e.map(n=>T8(n,t)))}function lv(e,t,n){const r=iv(Bt.parseFormat(n),e),s=r.map(a=>w8(a,e)),o=s.find(a=>a.invalidReason);if(o)return{input:t,tokens:r,invalidReason:o.invalidReason};{const[a,i]=E8(s),l=RegExp(a,"i"),[c,d]=S8(t,l,i),[f,m,p]=d?$8(d):[null,null,void 0];if(eo(d,"a")&&eo(d,"H"))throw new Io("Can't include meridiem when specifying 24-hour format");return{input:t,tokens:r,regex:l,rawMatches:c,matches:d,result:f,zone:m,specificOffset:p}}}function O8(e,t,n){const{result:r,zone:s,specificOffset:o,invalidReason:a}=lv(e,t,n);return[r,s,o,a]}function uv(e,t){return e?Bt.create(t,e).formatDateTimeParts(A8()).map(s=>x8(s,e)):null}const cv=[0,31,59,90,120,151,181,212,243,273,304,334],dv=[0,31,60,91,121,152,182,213,244,274,305,335];function En(e,t){return new Vn("unit out of range",`you specified ${t} (of type ${typeof t}) as a ${e}, which is invalid`)}function mv(e,t,n){const r=new Date(Date.UTC(e,t-1,n));e<100&&e>=0&&r.setUTCFullYear(r.getUTCFullYear()-1900);const s=r.getUTCDay();return s===0?7:s}function fv(e,t,n){return n+(Pa(e)?dv:cv)[t-1]}function pv(e,t){const n=Pa(e)?dv:cv,r=n.findIndex(o=>o<t),s=t-n[r];return{month:r+1,day:s}}function Mc(e){const{year:t,month:n,day:r}=e,s=fv(t,n,r),o=mv(t,n,r);let a=Math.floor((s-o+10)/7),i;return a<1?(i=t-1,a=fl(i)):a>fl(t)?(i=t+1,a=1):i=t,{weekYear:i,weekNumber:a,weekday:o,...nu(e)}}function gp(e){const{weekYear:t,weekNumber:n,weekday:r}=e,s=mv(t,1,4),o=Ko(t);let a=n*7+r-s-3,i;a<1?(i=t-1,a+=Ko(i)):a>o?(i=t+1,a-=Ko(t)):i=t;const{month:l,day:c}=pv(i,a);return{year:i,month:l,day:c,...nu(e)}}function Au(e){const{year:t,month:n,day:r}=e,s=fv(t,n,r);return{year:t,ordinal:s,...nu(e)}}function yp(e){const{year:t,ordinal:n}=e,{month:r,day:s}=pv(t,n);return{year:t,month:r,day:s,...nu(e)}}function D8(e){const t=eu(e.weekYear),n=gr(e.weekNumber,1,fl(e.weekYear)),r=gr(e.weekday,1,7);return t?n?r?!1:En("weekday",e.weekday):En("week",e.week):En("weekYear",e.weekYear)}function P8(e){const t=eu(e.year),n=gr(e.ordinal,1,Ko(e.year));return t?n?!1:En("ordinal",e.ordinal):En("year",e.year)}function hv(e){const t=eu(e.year),n=gr(e.month,1,12),r=gr(e.day,1,ml(e.year,e.month));return t?n?r?!1:En("day",e.day):En("month",e.month):En("year",e.year)}function _v(e){const{hour:t,minute:n,second:r,millisecond:s}=e,o=gr(t,0,23)||t===24&&n===0&&r===0&&s===0,a=gr(n,0,59),i=gr(r,0,59),l=gr(s,0,999);return o?a?i?l?!1:En("millisecond",s):En("second",r):En("minute",n):En("hour",t)}const Tu="Invalid DateTime",vp=864e13;function ri(e){return new Vn("unsupported zone",`the zone "${e.name}" is not supported`)}function Ou(e){return e.weekData===null&&(e.weekData=Mc(e.c)),e.weekData}function Co(e,t){const n={ts:e.ts,zone:e.zone,c:e.c,o:e.o,loc:e.loc,invalid:e.invalid};return new De({...n,...t,old:n})}function gv(e,t,n){let r=e-t*60*1e3;const s=n.offset(r);if(t===s)return[r,t];r-=(s-t)*60*1e3;const o=n.offset(r);return s===o?[r,s]:[e-Math.min(s,o)*60*1e3,Math.max(s,o)]}function bp(e,t){e+=t*60*1e3;const n=new Date(e);return{year:n.getUTCFullYear(),month:n.getUTCMonth()+1,day:n.getUTCDate(),hour:n.getUTCHours(),minute:n.getUTCMinutes(),second:n.getUTCSeconds(),millisecond:n.getUTCMilliseconds()}}function Zi(e,t,n){return gv(rm(e),t,n)}function zp(e,t){const n=e.o,r=e.c.year+Math.trunc(t.years),s=e.c.month+Math.trunc(t.months)+Math.trunc(t.quarters)*3,o={...e.c,year:r,month:s,day:Math.min(e.c.day,ml(r,s))+Math.trunc(t.days)+Math.trunc(t.weeks)*7},a=je.fromObject({years:t.years-Math.trunc(t.years),quarters:t.quarters-Math.trunc(t.quarters),months:t.months-Math.trunc(t.months),weeks:t.weeks-Math.trunc(t.weeks),days:t.days-Math.trunc(t.days),hours:t.hours,minutes:t.minutes,seconds:t.seconds,milliseconds:t.milliseconds}).as("milliseconds"),i=rm(o);let[l,c]=gv(i,n,e.zone);return a!==0&&(l+=a,c=e.zone.offset(l)),{ts:l,o:c}}function wo(e,t,n,r,s,o){const{setZone:a,zone:i}=n;if(e&&Object.keys(e).length!==0||t){const l=t||i,c=De.fromObject(e,{...n,zone:l,specificOffset:o});return a?c:c.setZone(i)}else return De.invalid(new Vn("unparsable",`the input "${s}" can't be parsed as ${r}`))}function si(e,t,n=!0){return e.isValid?Bt.create(ht.create("en-US"),{allowZ:n,forceSimple:!0}).formatDateTimeFromString(e,t):null}function Du(e,t){const n=e.c.year>9999||e.c.year<0;let r="";return n&&e.c.year>=0&&(r+="+"),r+=At(e.c.year,n?6:4),t?(r+="-",r+=At(e.c.month),r+="-",r+=At(e.c.day)):(r+=At(e.c.month),r+=At(e.c.day)),r}function Cp(e,t,n,r,s,o){let a=At(e.c.hour);return t?(a+=":",a+=At(e.c.minute),(e.c.second!==0||!n)&&(a+=":")):a+=At(e.c.minute),(e.c.second!==0||!n)&&(a+=At(e.c.second),(e.c.millisecond!==0||!r)&&(a+=".",a+=At(e.c.millisecond,3))),s&&(e.isOffsetFixed&&e.offset===0&&!o?a+="Z":e.o<0?(a+="-",a+=At(Math.trunc(-e.o/60)),a+=":",a+=At(Math.trunc(-e.o%60))):(a+="+",a+=At(Math.trunc(e.o/60)),a+=":",a+=At(Math.trunc(e.o%60)))),o&&(a+="["+e.zone.ianaName+"]"),a}const yv={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},I8={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},F8={ordinal:1,hour:0,minute:0,second:0,millisecond:0},vv=["year","month","day","hour","minute","second","millisecond"],R8=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],L8=["year","ordinal","hour","minute","second","millisecond"];function wp(e){const t={year:"year",years:"year",month:"month",months:"month",day:"day",days:"day",hour:"hour",hours:"hour",minute:"minute",minutes:"minute",quarter:"quarter",quarters:"quarter",second:"second",seconds:"second",millisecond:"millisecond",milliseconds:"millisecond",weekday:"weekday",weekdays:"weekday",weeknumber:"weekNumber",weeksnumber:"weekNumber",weeknumbers:"weekNumber",weekyear:"weekYear",weekyears:"weekYear",ordinal:"ordinal"}[e.toLowerCase()];if(!t)throw new zy(e);return t}function kp(e,t){const n=Nr(t.zone,$t.defaultZone),r=ht.fromObject(t),s=$t.now();let o,a;if(Ye(e.year))o=s;else{for(const c of vv)Ye(e[c])&&(e[c]=yv[c]);const i=hv(e)||_v(e);if(i)return De.invalid(i);const l=n.offset(s);[o,a]=Zi(e,l,n)}return new De({ts:o,zone:n,loc:r,o:a})}function xp(e,t,n){const r=Ye(n.round)?!0:n.round,s=(a,i)=>(a=nm(a,r||n.calendary?0:2,!0),t.loc.clone(n).relFormatter(n).format(a,i)),o=a=>n.calendary?t.hasSame(e,a)?0:t.startOf(a).diff(e.startOf(a),a).get(a):t.diff(e,a).get(a);if(n.unit)return s(o(n.unit),n.unit);for(const a of n.units){const i=o(a);if(Math.abs(i)>=1)return s(i,a)}return s(e>t?-0:0,n.units[n.units.length-1])}function Ep(e){let t={},n;return e.length>0&&typeof e[e.length-1]=="object"?(t=e[e.length-1],n=Array.from(e).slice(0,e.length-1)):n=Array.from(e),[t,n]}class De{constructor(t){const n=t.zone||$t.defaultZone;let r=t.invalid||(Number.isNaN(t.ts)?new Vn("invalid input"):null)||(n.isValid?null:ri(n));this.ts=Ye(t.ts)?$t.now():t.ts;let s=null,o=null;if(!r)if(t.old&&t.old.ts===this.ts&&t.old.zone.equals(n))[s,o]=[t.old.c,t.old.o];else{const i=n.offset(this.ts);s=bp(this.ts,i),r=Number.isNaN(s.year)?new Vn("invalid input"):null,s=r?null:s,o=r?null:i}this._zone=n,this.loc=t.loc||ht.create(),this.invalid=r,this.weekData=null,this.c=s,this.o=o,this.isLuxonDateTime=!0}static now(){return new De({})}static local(){const[t,n]=Ep(arguments),[r,s,o,a,i,l,c]=n;return kp({year:r,month:s,day:o,hour:a,minute:i,second:l,millisecond:c},t)}static utc(){const[t,n]=Ep(arguments),[r,s,o,a,i,l,c]=n;return t.zone=Kt.utcInstance,kp({year:r,month:s,day:o,hour:a,minute:i,second:l,millisecond:c},t)}static fromJSDate(t,n={}){const r=lA(t)?t.valueOf():NaN;if(Number.isNaN(r))return De.invalid("invalid input");const s=Nr(n.zone,$t.defaultZone);return s.isValid?new De({ts:r,zone:s,loc:ht.fromObject(n)}):De.invalid(ri(s))}static fromMillis(t,n={}){if(fs(t))return t<-vp||t>vp?De.invalid("Timestamp out of range"):new De({ts:t,zone:Nr(n.zone,$t.defaultZone),loc:ht.fromObject(n)});throw new kn(`fromMillis requires a numerical input, but received a ${typeof t} with value ${t}`)}static fromSeconds(t,n={}){if(fs(t))return new De({ts:t*1e3,zone:Nr(n.zone,$t.defaultZone),loc:ht.fromObject(n)});throw new kn("fromSeconds requires a numerical input")}static fromObject(t,n={}){t=t||{};const r=Nr(n.zone,$t.defaultZone);if(!r.isValid)return De.invalid(ri(r));const s=$t.now(),o=Ye(n.specificOffset)?r.offset(s):n.specificOffset,a=pl(t,wp),i=!Ye(a.ordinal),l=!Ye(a.year),c=!Ye(a.month)||!Ye(a.day),d=l||c,f=a.weekYear||a.weekNumber,m=ht.fromObject(n);if((d||i)&&f)throw new Io("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(c&&i)throw new Io("Can't mix ordinal dates with month/day");const p=f||a.weekday&&!d;let h,_,z=bp(s,o);p?(h=R8,_=I8,z=Mc(z)):i?(h=L8,_=F8,z=Au(z)):(h=vv,_=yv);let v=!1;for(const D of h){const I=a[D];Ye(I)?v?a[D]=_[D]:a[D]=z[D]:v=!0}const b=p?D8(a):i?P8(a):hv(a),k=b||_v(a);if(k)return De.invalid(k);const C=p?gp(a):i?yp(a):a,[x,T]=Zi(C,o,r),N=new De({ts:x,zone:r,o:T,loc:m});return a.weekday&&d&&t.weekday!==N.weekday?De.invalid("mismatched weekday",`you can't specify both a weekday of ${a.weekday} and a date of ${N.toISO()}`):N}static fromISO(t,n={}){const[r,s]=JA(t);return wo(r,s,n,"ISO 8601",t)}static fromRFC2822(t,n={}){const[r,s]=XA(t);return wo(r,s,n,"RFC 2822",t)}static fromHTTP(t,n={}){const[r,s]=QA(t);return wo(r,s,n,"HTTP",n)}static fromFormat(t,n,r={}){if(Ye(t)||Ye(n))throw new kn("fromFormat requires an input string and a format");const{locale:s=null,numberingSystem:o=null}=r,a=ht.fromOpts({locale:s,numberingSystem:o,defaultToEN:!0}),[i,l,c,d]=O8(a,t,n);return d?De.invalid(d):wo(i,l,r,`format ${n}`,t,c)}static fromString(t,n,r={}){return De.fromFormat(t,n,r)}static fromSQL(t,n={}){const[r,s]=a8(t);return wo(r,s,n,"SQL",t)}static invalid(t,n=null){if(!t)throw new kn("need to specify a reason the DateTime is invalid");const r=t instanceof Vn?t:new Vn(t,n);if($t.throwOnInvalid)throw new N$(r);return new De({invalid:r})}static isDateTime(t){return t&&t.isLuxonDateTime||!1}static parseFormatForOpts(t,n={}){const r=uv(t,ht.fromObject(n));return r?r.map(s=>s?s.val:null).join(""):null}static expandFormat(t,n={}){return iv(Bt.parseFormat(t),ht.fromObject(n)).map(s=>s.val).join("")}get(t){return this[t]}get isValid(){return this.invalid===null}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}get outputCalendar(){return this.isValid?this.loc.outputCalendar:null}get zone(){return this._zone}get zoneName(){return this.isValid?this.zone.name:null}get year(){return this.isValid?this.c.year:NaN}get quarter(){return this.isValid?Math.ceil(this.c.month/3):NaN}get month(){return this.isValid?this.c.month:NaN}get day(){return this.isValid?this.c.day:NaN}get hour(){return this.isValid?this.c.hour:NaN}get minute(){return this.isValid?this.c.minute:NaN}get second(){return this.isValid?this.c.second:NaN}get millisecond(){return this.isValid?this.c.millisecond:NaN}get weekYear(){return this.isValid?Ou(this).weekYear:NaN}get weekNumber(){return this.isValid?Ou(this).weekNumber:NaN}get weekday(){return this.isValid?Ou(this).weekday:NaN}get ordinal(){return this.isValid?Au(this.c).ordinal:NaN}get monthShort(){return this.isValid?ti.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?ti.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?ti.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?ti.weekdays("long",{locObj:this.loc})[this.weekday-1]:null}get offset(){return this.isValid?+this.o:NaN}get offsetNameShort(){return this.isValid?this.zone.offsetName(this.ts,{format:"short",locale:this.locale}):null}get offsetNameLong(){return this.isValid?this.zone.offsetName(this.ts,{format:"long",locale:this.locale}):null}get isOffsetFixed(){return this.isValid?this.zone.isUniversal:null}get isInDST(){return this.isOffsetFixed?!1:this.offset>this.set({month:1,day:1}).offset||this.offset>this.set({month:5}).offset}get isInLeapYear(){return Pa(this.year)}get daysInMonth(){return ml(this.year,this.month)}get daysInYear(){return this.isValid?Ko(this.year):NaN}get weeksInWeekYear(){return this.isValid?fl(this.weekYear):NaN}resolvedLocaleOptions(t={}){const{locale:n,numberingSystem:r,calendar:s}=Bt.create(this.loc.clone(t),t).resolvedOptions(this);return{locale:n,numberingSystem:r,outputCalendar:s}}toUTC(t=0,n={}){return this.setZone(Kt.instance(t),n)}toLocal(){return this.setZone($t.defaultZone)}setZone(t,{keepLocalTime:n=!1,keepCalendarTime:r=!1}={}){if(t=Nr(t,$t.defaultZone),t.equals(this.zone))return this;if(t.isValid){let s=this.ts;if(n||r){const o=t.offset(this.ts),a=this.toObject();[s]=Zi(a,o,t)}return Co(this,{ts:s,zone:t})}else return De.invalid(ri(t))}reconfigure({locale:t,numberingSystem:n,outputCalendar:r}={}){const s=this.loc.clone({locale:t,numberingSystem:n,outputCalendar:r});return Co(this,{loc:s})}setLocale(t){return this.reconfigure({locale:t})}set(t){if(!this.isValid)return this;const n=pl(t,wp),r=!Ye(n.weekYear)||!Ye(n.weekNumber)||!Ye(n.weekday),s=!Ye(n.ordinal),o=!Ye(n.year),a=!Ye(n.month)||!Ye(n.day),i=o||a,l=n.weekYear||n.weekNumber;if((i||s)&&l)throw new Io("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(a&&s)throw new Io("Can't mix ordinal dates with month/day");let c;r?c=gp({...Mc(this.c),...n}):Ye(n.ordinal)?(c={...this.toObject(),...n},Ye(n.day)&&(c.day=Math.min(ml(c.year,c.month),c.day))):c=yp({...Au(this.c),...n});const[d,f]=Zi(c,this.o,this.zone);return Co(this,{ts:d,o:f})}plus(t){if(!this.isValid)return this;const n=je.fromDurationLike(t);return Co(this,zp(this,n))}minus(t){if(!this.isValid)return this;const n=je.fromDurationLike(t).negate();return Co(this,zp(this,n))}startOf(t){if(!this.isValid)return this;const n={},r=je.normalizeUnit(t);switch(r){case"years":n.month=1;case"quarters":case"months":n.day=1;case"weeks":case"days":n.hour=0;case"hours":n.minute=0;case"minutes":n.second=0;case"seconds":n.millisecond=0;break}if(r==="weeks"&&(n.weekday=1),r==="quarters"){const s=Math.ceil(this.month/3);n.month=(s-1)*3+1}return this.set(n)}endOf(t){return this.isValid?this.plus({[t]:1}).startOf(t).minus(1):this}toFormat(t,n={}){return this.isValid?Bt.create(this.loc.redefaultToEN(n)).formatDateTimeFromString(this,t):Tu}toLocaleString(t=dl,n={}){return this.isValid?Bt.create(this.loc.clone(n),t).formatDateTime(this):Tu}toLocaleParts(t={}){return this.isValid?Bt.create(this.loc.clone(t),t).formatDateTimeParts(this):[]}toISO({format:t="extended",suppressSeconds:n=!1,suppressMilliseconds:r=!1,includeOffset:s=!0,extendedZone:o=!1}={}){if(!this.isValid)return null;const a=t==="extended";let i=Du(this,a);return i+="T",i+=Cp(this,a,n,r,s,o),i}toISODate({format:t="extended"}={}){return this.isValid?Du(this,t==="extended"):null}toISOWeekDate(){return si(this,"kkkk-'W'WW-c")}toISOTime({suppressMilliseconds:t=!1,suppressSeconds:n=!1,includeOffset:r=!0,includePrefix:s=!1,extendedZone:o=!1,format:a="extended"}={}){return this.isValid?(s?"T":"")+Cp(this,a==="extended",n,t,r,o):null}toRFC2822(){return si(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)}toHTTP(){return si(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")}toSQLDate(){return this.isValid?Du(this,!0):null}toSQLTime({includeOffset:t=!0,includeZone:n=!1,includeOffsetSpace:r=!0}={}){let s="HH:mm:ss.SSS";return(n||t)&&(r&&(s+=" "),n?s+="z":t&&(s+="ZZ")),si(this,s,!0)}toSQL(t={}){return this.isValid?`${this.toSQLDate()} ${this.toSQLTime(t)}`:null}toString(){return this.isValid?this.toISO():Tu}valueOf(){return this.toMillis()}toMillis(){return this.isValid?this.ts:NaN}toSeconds(){return this.isValid?this.ts/1e3:NaN}toUnixInteger(){return this.isValid?Math.floor(this.ts/1e3):NaN}toJSON(){return this.toISO()}toBSON(){return this.toJSDate()}toObject(t={}){if(!this.isValid)return{};const n={...this.c};return t.includeConfig&&(n.outputCalendar=this.outputCalendar,n.numberingSystem=this.loc.numberingSystem,n.locale=this.loc.locale),n}toJSDate(){return new Date(this.isValid?this.ts:NaN)}diff(t,n="milliseconds",r={}){if(!this.isValid||!t.isValid)return je.invalid("created by diffing an invalid DateTime");const s={locale:this.locale,numberingSystem:this.numberingSystem,...r},o=uA(n).map(je.normalizeUnit),a=t.valueOf()>this.valueOf(),i=a?this:t,l=a?t:this,c=_8(i,l,o,s);return a?c.negate():c}diffNow(t="milliseconds",n={}){return this.diff(De.now(),t,n)}until(t){return this.isValid?xt.fromDateTimes(this,t):this}hasSame(t,n){if(!this.isValid)return!1;const r=t.valueOf(),s=this.setZone(t.zone,{keepLocalTime:!0});return s.startOf(n)<=r&&r<=s.endOf(n)}equals(t){return this.isValid&&t.isValid&&this.valueOf()===t.valueOf()&&this.zone.equals(t.zone)&&this.loc.equals(t.loc)}toRelative(t={}){if(!this.isValid)return null;const n=t.base||De.fromObject({},{zone:this.zone}),r=t.padding?this<n?-t.padding:t.padding:0;let s=["years","months","days","hours","minutes","seconds"],o=t.unit;return Array.isArray(t.unit)&&(s=t.unit,o=void 0),xp(n,this.plus(r),{...t,numeric:"always",units:s,unit:o})}toRelativeCalendar(t={}){return this.isValid?xp(t.base||De.fromObject({},{zone:this.zone}),this,{...t,numeric:"auto",units:["years","months","days"],calendary:!0}):null}static min(...t){if(!t.every(De.isDateTime))throw new kn("min requires all arguments be DateTimes");return cp(t,n=>n.valueOf(),Math.min)}static max(...t){if(!t.every(De.isDateTime))throw new kn("max requires all arguments be DateTimes");return cp(t,n=>n.valueOf(),Math.max)}static fromFormatExplain(t,n,r={}){const{locale:s=null,numberingSystem:o=null}=r,a=ht.fromOpts({locale:s,numberingSystem:o,defaultToEN:!0});return lv(a,t,n)}static fromStringExplain(t,n,r={}){return De.fromFormatExplain(t,n,r)}static get DATE_SHORT(){return dl}static get DATE_MED(){return Cy}static get DATE_MED_WITH_WEEKDAY(){return H$}static get DATE_FULL(){return wy}static get DATE_HUGE(){return ky}static get TIME_SIMPLE(){return xy}static get TIME_WITH_SECONDS(){return Ey}static get TIME_WITH_SHORT_OFFSET(){return Sy}static get TIME_WITH_LONG_OFFSET(){return $y}static get TIME_24_SIMPLE(){return Ay}static get TIME_24_WITH_SECONDS(){return Ty}static get TIME_24_WITH_SHORT_OFFSET(){return Oy}static get TIME_24_WITH_LONG_OFFSET(){return Dy}static get DATETIME_SHORT(){return Py}static get DATETIME_SHORT_WITH_SECONDS(){return Iy}static get DATETIME_MED(){return Fy}static get DATETIME_MED_WITH_SECONDS(){return Ry}static get DATETIME_MED_WITH_WEEKDAY(){return j$}static get DATETIME_FULL(){return Ly}static get DATETIME_FULL_WITH_SECONDS(){return My}static get DATETIME_HUGE(){return Ny}static get DATETIME_HUGE_WITH_SECONDS(){return Vy}}function ko(e){if(De.isDateTime(e))return e;if(e&&e.valueOf&&fs(e.valueOf()))return De.fromJSDate(e);if(e&&typeof e=="object")return De.fromObject(e);throw new kn(`Unknown datetime argument: ${e}, of type ${typeof e}`)}const{t:Pu,locale:Iu}=Xl.global,M8={durationInHours(e){const t=Math.floor(e/1e3);return t>3600?je.fromObject({seconds:t}).shiftTo("hours","minutes","seconds").toFormat("hh:mm:ss"):je.fromObject({seconds:t}).shiftTo("minutes","seconds").toFormat("mm:ss")},durationInDays(e){const t=Math.floor(e/6e4);return t>1440?je.fromObject({minutes:t}).shiftTo("days","hours","minutes").toHuman():t>60?je.fromObject({minutes:t}).shiftTo("hours","minutes").toHuman():je.fromObject({minutes:t}).shiftTo("minutes").toHuman()},date(e){return De.fromISO(e).setLocale(Iu.value).toLocaleString(De.DATE_FULL)},datetime(e){return De.fromISO(e).setLocale(Iu.value).toLocaleString(De.DATETIME_MED)},timeFromNow(e){const t=De.now().diff(De.fromISO(e));return this.durationInDays(t.as("milliseconds"))},number(e){return e.toLocaleString(Iu.value)},channels(e){return e===1?Pu("filter.mono"):e===2?Pu("filter.stereo"):e?Pu("filter.channels",{value:e}):""},cursor(e,t=20){const r=t/2;return`url("data:image/svg+xml,%3Csvg width='${t}' height='${t}' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath d='${e}'/%3E%3C/svg%3E") ${r} ${r}, auto`}},N8={mdiAccountMusic:VC,mdiAlbum:BC,mdiArrowCollapseDown:jC,mdiBookOpenPageVariant:UC,mdiBookOpenVariant:qC,mdiBookshelf:WC,mdiBroadcast:GC,mdiCancel:jl,mdiCast:KC,mdiCastVariant:ZC,mdiCellphone:YC,mdiCheck:JC,mdiChevronDown:XC,mdiChevronUp:QC,mdiContentSave:ew,mdiDelete:tw,mdiDeleteEmpty:nw,mdiDotsHorizontal:rw,mdiDotsVertical:sw,mdiDragHorizontal:ow,mdiFastForward30:aw,mdiFileMusic:iw,mdiFileOutline:lw,mdiFire:uw,mdiFolder:cw,mdiFolderOpen:dw,mdiHistory:mw,mdiMagnify:fw,mdiMenu:pw,mdiMicrophone:hw,mdiMusic:_w,mdiMusicBoxMultiple:gw,mdiOpenInNew:yw,mdiPause:vw,mdiPencil:bw,mdiPipe:zw,mdiPlay:Cw,mdiPlaylistPlay:ww,mdiPlaylistPlus:kw,mdiRadio:xw,mdiRadioTower:Ew,mdiRefresh:Sw,mdiRepeat:$w,mdiRepeatOff:Aw,mdiRepeatOnce:Tw,mdiRewind10:Ow,mdiRss:Dw,mdiServer:Fw,mdiScriptTextOutline:Pw,mdiScriptTextPlay:Iw,mdiShuffle:Rw,mdiShuffleDisabled:Lw,mdiSkipBackward:Mw,mdiSkipForward:Nw,mdiSpeaker:Vw,mdiSpotify:Bw,mdiStop:Hw,mdiSubdirectoryArrowLeft:jw,mdiVolumeHigh:Uw,mdiVolumeOff:qw,mdiWeb:Ww},V8={title:[String],spin:[Boolean],width:[Number,String],height:[Number,String],ariaLabel:[String],staticClass:[String],class:[String],name:{type:String,required:!0,default:"alert"},size:{type:[Number,String],default:24},viewBox:{type:String,default:"0 0 24 24"},xmlns:{type:String,default:"http://www.w3.org/2000/svg"},role:{type:String,default:"img"},spin:{type:Boolean,default:!1}};const B8=e=>e.charAt(0).toUpperCase()+e.slice(1),H8=e=>e.split("-").map(B8).join(""),j8=(e,t,n)=>{const r=e[`mdi${H8(t.name)}`]||HC,s={role:t.role,"aria-label":t.ariaLabel,...n},o={fill:"currentColor",width:t.width||t.size,height:t.height||t.size,viewBox:t.viewBox,xmlns:t.xmlns};return{spanAttrs:s,svgAttrs:o,pathAttrs:{d:r}}},U8=(e,t)=>({[t.staticClass||""]:!0,[t.class||""]:!0,[`mdi mdi-${e.name}`]:!0,"mdi-spin":e.spin===!0}),q8=(e,t={})=>({install(n,{icons:r}){if(r===void 0)throw new Error("Icons must be provided separately");n.component("mdicon",{name:"MDIcon",props:V8,...t,render:e(r)})}}),W8=e=>function(){const{spanAttrs:n,svgAttrs:r,pathAttrs:s}=j8(e,this,this.$attrs);return er("span",{...n,class:U8(this,this)},[er("svg",r,[this.title?er("title",[this.title]):void 0,er("path",s)])])},G8=q8(W8),bv=function(){return document.ontouchstart!==null?"click":"touchstart"},hl="__vue_click_away__",zv=function(e,t,n){Cv(e);let r=n.context,s=t.value,o=!1;setTimeout(function(){o=!0},0),e[hl]=function(a){if((!e||!e.contains(a.target))&&s&&o&&typeof s=="function")return s.call(r,a)},document.addEventListener(bv(),e[hl],!1)},Cv=function(e){document.removeEventListener(bv(),e[hl],!1),delete e[hl]},K8=function(e,t,n){t.value!==t.oldValue&&zv(e,t,n)},Z8={install:function(e){e.directive("click-away",Y8)}},Y8={mounted:zv,updated:K8,unmounted:Cv};var Zn=(e=>(e.LOADING="loading",e.LOADED="loaded",e.ERROR="error",e))(Zn||{});const J8=typeof window<"u"&&window!==null,X8=nT(),Q8=Object.prototype.propertyIsEnumerable,Sp=Object.getOwnPropertySymbols;function Yo(e){return typeof e=="function"||toString.call(e)==="[object Object]"}function eT(e){return typeof e=="object"?e===null:typeof e!="function"}function tT(e){return e!=="__proto__"&&e!=="constructor"&&e!=="prototype"}function nT(){return J8&&"IntersectionObserver"in window&&"IntersectionObserverEntry"in window&&"intersectionRatio"in window.IntersectionObserverEntry.prototype?("isIntersecting"in window.IntersectionObserverEntry.prototype||Object.defineProperty(window.IntersectionObserverEntry.prototype,"isIntersecting",{get(){return this.intersectionRatio>0}}),!0):!1}function rT(e,...t){if(!Yo(e))throw new TypeError("expected the first argument to be an object");if(t.length===0||typeof Symbol!="function"||typeof Sp!="function")return e;for(const n of t){const r=Sp(n);for(const s of r)Q8.call(n,s)&&(e[s]=n[s])}return e}function wv(e,...t){let n=0;for(eT(e)&&(e=t[n++]),e||(e={});n<t.length;n++)if(Yo(t[n])){for(const r of Object.keys(t[n]))tT(r)&&(Yo(e[r])&&Yo(t[n][r])?wv(e[r],t[n][r]):e[r]=t[n][r]);rT(e,t[n])}return e}const $p="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",sT="",oT={rootMargin:"0px",threshold:0},$s="data-lazy-timeout-id";class aT{constructor(t){this.options={loading:$p,error:sT,observerOptions:oT,log:!0,lifecycle:{}},this._images=new WeakMap,this.config(t)}config(t={}){wv(this.options,t)}mount(t,n){if(!t)return;const{src:r,loading:s,error:o,lifecycle:a,delay:i}=this._valueFormatter(typeof n=="string"?n:n.value);this._lifecycle(Zn.LOADING,a,t),t.setAttribute("src",s||$p),X8||(this.loadImages(t,r,o,a),this._log(()=>{throw new Error("Not support IntersectionObserver!")})),this._initIntersectionObserver(t,r,o,a,i)}update(t,n){var i;if(!t)return;(i=this._realObserver(t))==null||i.unobserve(t);const{src:r,error:s,lifecycle:o,delay:a}=this._valueFormatter(typeof n=="string"?n:n.value);this._initIntersectionObserver(t,r,s,o,a)}unmount(t){var n;t&&((n=this._realObserver(t))==null||n.unobserve(t),this._images.delete(t))}loadImages(t,n,r,s){this._setImageSrc(t,n,r,s)}_setImageSrc(t,n,r,s){t.tagName.toLowerCase()==="img"?(n&&t.getAttribute("src")!==n&&t.setAttribute("src",n),this._listenImageStatus(t,()=>{this._lifecycle(Zn.LOADED,s,t)},()=>{var o;t.onload=null,this._lifecycle(Zn.ERROR,s,t),(o=this._realObserver(t))==null||o.disconnect(),r&&t.getAttribute("src")!==r&&t.setAttribute("src",r),this._log(()=>{throw new Error(`Image failed to load!And failed src was: ${n} `)})})):t.style.backgroundImage=`url('${n}')`}_initIntersectionObserver(t,n,r,s,o){var i;const a=this.options.observerOptions;this._images.set(t,new IntersectionObserver(l=>{Array.prototype.forEach.call(l,c=>{o&&o>0?this._delayedIntersectionCallback(t,c,o,n,r,s):this._intersectionCallback(t,c,n,r,s)})},a)),(i=this._realObserver(t))==null||i.observe(t)}_intersectionCallback(t,n,r,s,o){var a;n.isIntersecting&&((a=this._realObserver(t))==null||a.unobserve(n.target),this._setImageSrc(t,r,s,o))}_delayedIntersectionCallback(t,n,r,s,o,a){if(n.isIntersecting){if(n.target.hasAttribute($s))return;const i=setTimeout(()=>{this._intersectionCallback(t,n,s,o,a),n.target.removeAttribute($s)},r);n.target.setAttribute($s,String(i))}else n.target.hasAttribute($s)&&(clearTimeout(Number(n.target.getAttribute($s))),n.target.removeAttribute($s))}_listenImageStatus(t,n,r){t.onload=n,t.onerror=r}_valueFormatter(t){let n=t,r=this.options.loading,s=this.options.error,o=this.options.lifecycle,a=this.options.delay;return Yo(t)&&(n=t.src,r=t.loading||this.options.loading,s=t.error||this.options.error,o=t.lifecycle||this.options.lifecycle,a=t.delay||this.options.delay),{src:n,loading:r,error:s,lifecycle:o,delay:a}}_log(t){this.options.log&&t()}_lifecycle(t,n,r){switch(t){case Zn.LOADING:r==null||r.setAttribute("lazy",Zn.LOADING),n!=null&&n.loading&&n.loading(r);break;case Zn.LOADED:r==null||r.setAttribute("lazy",Zn.LOADED),n!=null&&n.loaded&&n.loaded(r);break;case Zn.ERROR:r==null||r.setAttribute("lazy",Zn.ERROR),n!=null&&n.error&&n.error(r);break}}_realObserver(t){return this._images.get(t)}}const iT={install(e,t){const n=new aT(t);e.config.globalProperties.$Lazyload=n,e.provide("Lazyload",n),e.directive("lazy",{mounted:n.mount.bind(n),updated:n.update.bind(n),unmounted:n.unmount.bind(n)})}};var kv={exports:{}};const xv=vy(aC);(function(e){e.exports=function(t){var n={};function r(s){if(n[s])return n[s].exports;var o=n[s]={i:s,l:!1,exports:{}};return t[s].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=t,r.c=n,r.d=function(s,o,a){r.o(s,o)||Object.defineProperty(s,o,{enumerable:!0,get:a})},r.r=function(s){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(s,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(s,"__esModule",{value:!0})},r.t=function(s,o){if(o&1&&(s=r(s)),o&8||o&4&&typeof s=="object"&&s&&s.__esModule)return s;var a=Object.create(null);if(r.r(a),Object.defineProperty(a,"default",{enumerable:!0,value:s}),o&2&&typeof s!="string")for(var i in s)r.d(a,i,(function(l){return s[l]}).bind(null,i));return a},r.n=function(s){var o=s&&s.__esModule?function(){return s.default}:function(){return s};return r.d(o,"a",o),o},r.o=function(s,o){return Object.prototype.hasOwnProperty.call(s,o)},r.p="",r(r.s="fb15")}({8875:function(t,n,r){var s,o,a;(function(i,l){o=[],s=l,a=typeof s=="function"?s.apply(n,o):s,a!==void 0&&(t.exports=a)})(typeof self<"u"?self:this,function(){function i(){var l=Object.getOwnPropertyDescriptor(document,"currentScript");if(!l&&"currentScript"in document&&document.currentScript||l&&l.get!==i&&document.currentScript)return document.currentScript;try{throw new Error}catch(C){var c=/.*at [^(]*\((.*):(.+):(.+)\)$/ig,d=/@([^@]*):(\d+):(\d+)\s*$/ig,f=c.exec(C.stack)||d.exec(C.stack),m=f&&f[1]||!1,p=f&&f[2]||!1,h=document.location.href.replace(document.location.hash,""),_,z,v,b=document.getElementsByTagName("script");m===h&&(_=document.documentElement.outerHTML,z=new RegExp("(?:[^\\n]+?\\n){0,"+(p-2)+"}[^<]*<script>([\\d\\D]*?)<\\/script>[\\d\\D]*","i"),v=_.replace(z,"$1").trim());for(var k=0;k<b.length;k++)if(b[k].readyState==="interactive"||b[k].src===m||m===h&&b[k].innerHTML&&b[k].innerHTML.trim()===v)return b[k];return null}}return i})},"8bbf":function(t,n){t.exports=xv},fb15:function(t,n,r){if(r.r(n),typeof window<"u"){var s=window.document.currentScript;{var o=r("8875");s=o(),"currentScript"in document||Object.defineProperty(document,"currentScript",{get:o})}var a=s&&s.src.match(/(.+\/)[^/]+\.js(\?.*)?$/);a&&(r.p=a[1])}var i=r("8bbf");function l(h,_,z,v,b,k){return Object(i.openBlock)(),Object(i.createBlock)("div",{style:v.finalStyle},null,4)}var c=typeof window<"u",d={name:"VueProgress",serverCacheKey:function(){return"Progress"},setup:function(){var _=c?Object(i.inject)("RADON_LOADING_BAR"):{percent:0,options:{canSuccess:!0,show:!1,color:"rgb(19, 91, 55)",failedColor:"red",thickness:"2px",transition:{speed:"0.2s",opacity:"0.6s",termination:300},location:"top",autoRevert:!0,inverse:!1}},z=Object(i.computed)(function(){var v=_.options,b=!!v.show,k=v.location,C={"z-index":999999,"background-color":v.canSuccess?v.color:v.failedColor,opacity:v.show?1:0,position:v.position};return k==="top"||k==="bottom"?(k==="top"?C.top="0px":C.bottom="0px",v.inverse?C.right="0px":C.left="0px",C.width=_.percent+"%",C.height=v.thickness,C.transition=(b?"width "+v.transition.speed+", ":"")+"opacity "+v.transition.opacity):(k==="left"||k==="right")&&(k==="left"?C.left="0px":C.right="0px",v.inverse?C.top="0px":C.bottom="0px",C.height=_.percent+"%",C.width=v.thickness,C.transition=(b?"height "+v.transition.speed+", ":"")+"opacity "+v.transition.opacity),C});return{progress:_,finalStyle:z}}};d.render=l;var f=d;function m(h,_){for(var z=1,v,b;z<arguments.length;++z){b=arguments[z];for(v in b)Object.prototype.hasOwnProperty.call(b,v)&&(h[v]=b[v])}return h}var p={install:function(_,z){var v={canSuccess:!0,show:!1,color:"#73ccec",position:"fixed",failedColor:"red",thickness:"2px",transition:{speed:"0.2s",opacity:"0.6s",termination:300},autoRevert:!0,location:"top",inverse:!1,autoFinish:!0},b=m(v,z),k=Object(i.reactive)({percent:0,options:b});_.provide("RADON_LOADING_BAR",k);var C={state:{tFailColor:"",tColor:"",timer:null,cut:0},start:function(T){var N=this;T||(T=3e3),k.percent=0,k.options.show=!0,k.options.canSuccess=!0,this.state.cut=1e4/Math.floor(T),clearInterval(this.state.timer),this.state.timer=setInterval(function(){N.increase(N.state.cut*Math.random()),k.percent>95&&k.options.autoFinish&&N.finish()},100)},set:function(T){k.options.show=!0,k.options.canSuccess=!0,k.percent=Math.floor(T)},get:function(){return Math.floor(k.percent)},increase:function(T){k.percent=Math.min(99,k.percent+Math.floor(T))},decrease:function(T){k.percent=k.percent-Math.floor(T)},hide:function(){var T=this;clearInterval(this.state.timer),this.state.timer=null,setTimeout(function(){k.options.show=!1,Object(i.nextTick)(function(){setTimeout(function(){k.percent=0},100),k.options.autoRevert&&setTimeout(function(){T.revert()},300)})},k.options.transition.termination)},pause:function(){clearInterval(this.state.timer)},finish:function(){k.percent=100,this.hide()},fail:function(){k.options.canSuccess=!1,k.percent=100,this.hide()},setFailColor:function(T){k.options.failedColor=T},setColor:function(T){k.options.color=T},setLocation:function(T){k.options.location=T},setTransition:function(T){k.options.transition=T},tempFailColor:function(T){this.state.tFailColor=k.options.failedColor,k.options.failedColor=T},tempColor:function(T){this.state.tColor=k.options.color,k.options.color=T},tempLocation:function(T){this.state.tLocation=k.options.location,k.options.location=T},tempTransition:function(T){this.state.tTransition=k.options.transition,k.options.transition=T},revertColor:function(){k.options.color=this.state.tColor,this.state.tColor=""},revertFailColor:function(){k.options.failedColor=this.state.tFailColor,this.state.tFailColor=""},revertLocation:function(){k.options.location=this.state.tLocation,this.state.tLocation=""},revertTransition:function(){k.options.transition=this.state.tTransition,this.state.tTransition={}},revert:function(){k.options.autoRevert&&(this.state.tColor&&this.revertColor(),this.state.tFailColor&&this.revertFailColor(),this.state.tLocation&&this.revertLocation(),this.state.tTransition&&(this.state.tTransition.speed!==void 0||this.state.tTransition.opacity!==void 0)&&this.revertTransition())},parseMeta:function(T){for(var N in T.func){var D=T.func[N];switch(D.call){case"color":switch(D.modifier){case"set":this.setColor(D.argument);break;case"temp":this.tempColor(D.argument);break}break;case"fail":switch(D.modifier){case"set":this.setFailColor(D.argument);break;case"temp":this.tempFailColor(D.argument);break}break;case"location":switch(D.modifier){case"set":this.setLocation(D.argument);break;case"temp":this.tempLocation(D.argument);break}break;case"transition":switch(D.modifier){case"set":this.setTransition(D.argument);break;case"temp":this.tempTransition(D.argument);break}break}}}};_.component("vue-progress-bar",f),_.config.globalProperties.$Progress=C}};n.default=p}})})(kv);var lT=kv.exports;const uT=Oa(lT);/*!
* vue-router v4.2.4
* (c) 2023 Eduardo San Martin Morote
* @license MIT
*/const Is=typeof window<"u";function cT(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const ot=Object.assign;function Fu(e,t){const n={};for(const r in t){const s=t[r];n[r]=qn(s)?s.map(e):e(s)}return n}const Jo=()=>{},qn=Array.isArray,dT=/\/$/,mT=e=>e.replace(dT,"");function Ru(e,t,n="/"){let r,s={},o="",a="";const i=t.indexOf("#");let l=t.indexOf("?");return i<l&&i>=0&&(l=-1),l>-1&&(r=t.slice(0,l),o=t.slice(l+1,i>-1?i:t.length),s=e(o)),i>-1&&(r=r||t.slice(0,i),a=t.slice(i,t.length)),r=_T(r??t,n),{fullPath:r+(o&&"?")+o+a,path:r,query:s,hash:a}}function fT(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function Ap(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function pT(e,t,n){const r=t.matched.length-1,s=n.matched.length-1;return r>-1&&r===s&&to(t.matched[r],n.matched[s])&&Ev(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function to(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function Ev(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!hT(e[n],t[n]))return!1;return!0}function hT(e,t){return qn(e)?Tp(e,t):qn(t)?Tp(t,e):e===t}function Tp(e,t){return qn(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function _T(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),r=e.split("/"),s=r[r.length-1];(s===".."||s===".")&&r.push("");let o=n.length-1,a,i;for(a=0;a<r.length;a++)if(i=r[a],i!==".")if(i==="..")o>1&&o--;else break;return n.slice(0,o).join("/")+"/"+r.slice(a-(a===r.length?1:0)).join("/")}var ga;(function(e){e.pop="pop",e.push="push"})(ga||(ga={}));var Xo;(function(e){e.back="back",e.forward="forward",e.unknown=""})(Xo||(Xo={}));function gT(e){if(!e)if(Is){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),mT(e)}const yT=/^[^#]+#/;function vT(e,t){return e.replace(yT,"#")+t}function bT(e,t){const n=document.documentElement.getBoundingClientRect(),r=e.getBoundingClientRect();return{behavior:t.behavior,left:r.left-n.left-(t.left||0),top:r.top-n.top-(t.top||0)}}const ru=()=>({left:window.pageXOffset,top:window.pageYOffset});function zT(e){let t;if("el"in e){const n=e.el,r=typeof n=="string"&&n.startsWith("#"),s=typeof n=="string"?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!s)return;t=bT(s,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.pageXOffset,t.top!=null?t.top:window.pageYOffset)}function Op(e,t){return(history.state?history.state.position-t:-1)+e}const Nc=new Map;function CT(e,t){Nc.set(e,t)}function wT(e){const t=Nc.get(e);return Nc.delete(e),t}let kT=()=>location.protocol+"//"+location.host;function Sv(e,t){const{pathname:n,search:r,hash:s}=t,o=e.indexOf("#");if(o>-1){let i=s.includes(e.slice(o))?e.slice(o).length:1,l=s.slice(i);return l[0]!=="/"&&(l="/"+l),Ap(l,"")}return Ap(n,e)+r+s}function xT(e,t,n,r){let s=[],o=[],a=null;const i=({state:m})=>{const p=Sv(e,location),h=n.value,_=t.value;let z=0;if(m){if(n.value=p,t.value=m,a&&a===h){a=null;return}z=_?m.position-_.position:0}else r(p);s.forEach(v=>{v(n.value,h,{delta:z,type:ga.pop,direction:z?z>0?Xo.forward:Xo.back:Xo.unknown})})};function l(){a=n.value}function c(m){s.push(m);const p=()=>{const h=s.indexOf(m);h>-1&&s.splice(h,1)};return o.push(p),p}function d(){const{history:m}=window;m.state&&m.replaceState(ot({},m.state,{scroll:ru()}),"")}function f(){for(const m of o)m();o=[],window.removeEventListener("popstate",i),window.removeEventListener("beforeunload",d)}return window.addEventListener("popstate",i),window.addEventListener("beforeunload",d,{passive:!0}),{pauseListeners:l,listen:c,destroy:f}}function Dp(e,t,n,r=!1,s=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:s?ru():null}}function ET(e){const{history:t,location:n}=window,r={value:Sv(e,n)},s={value:t.state};s.value||o(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function o(l,c,d){const f=e.indexOf("#"),m=f>-1?(n.host&&document.querySelector("base")?e:e.slice(f))+l:kT()+e+l;try{t[d?"replaceState":"pushState"](c,"",m),s.value=c}catch(p){console.error(p),n[d?"replace":"assign"](m)}}function a(l,c){const d=ot({},t.state,Dp(s.value.back,l,s.value.forward,!0),c,{position:s.value.position});o(l,d,!0),r.value=l}function i(l,c){const d=ot({},s.value,t.state,{forward:l,scroll:ru()});o(d.current,d,!0);const f=ot({},Dp(r.value,l,null),{position:d.position+1},c);o(l,f,!1),r.value=l}return{location:r,state:s,push:i,replace:a}}function ST(e){e=gT(e);const t=ET(e),n=xT(e,t.state,t.location,t.replace);function r(o,a=!0){a||n.pauseListeners(),history.go(o)}const s=ot({location:"",base:e,go:r,createHref:vT.bind(null,e)},t,n);return Object.defineProperty(s,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(s,"state",{enumerable:!0,get:()=>t.state.value}),s}function $T(e){return e=location.host?e||location.pathname+location.search:"",e.includes("#")||(e+="#"),ST(e)}function AT(e){return typeof e=="string"||e&&typeof e=="object"}function $v(e){return typeof e=="string"||typeof e=="symbol"}const Or={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},Av=Symbol("");var Pp;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(Pp||(Pp={}));function no(e,t){return ot(new Error,{type:e,[Av]:!0},t)}function fr(e,t){return e instanceof Error&&Av in e&&(t==null||!!(e.type&t))}const Ip="[^/]+?",TT={sensitive:!1,strict:!1,start:!0,end:!0},OT=/[.+*?^${}()[\]/\\]/g;function DT(e,t){const n=ot({},TT,t),r=[];let s=n.start?"^":"";const o=[];for(const c of e){const d=c.length?[]:[90];n.strict&&!c.length&&(s+="/");for(let f=0;f<c.length;f++){const m=c[f];let p=40+(n.sensitive?.25:0);if(m.type===0)f||(s+="/"),s+=m.value.replace(OT,"\\$&"),p+=40;else if(m.type===1){const{value:h,repeatable:_,optional:z,regexp:v}=m;o.push({name:h,repeatable:_,optional:z});const b=v||Ip;if(b!==Ip){p+=10;try{new RegExp(`(${b})`)}catch(C){throw new Error(`Invalid custom RegExp for param "${h}" (${b}): `+C.message)}}let k=_?`((?:${b})(?:/(?:${b}))*)`:`(${b})`;f||(k=z&&c.length<2?`(?:/${k})`:"/"+k),z&&(k+="?"),s+=k,p+=20,z&&(p+=-8),_&&(p+=-20),b===".*"&&(p+=-50)}d.push(p)}r.push(d)}if(n.strict&&n.end){const c=r.length-1;r[c][r[c].length-1]+=.7000000000000001}n.strict||(s+="/?"),n.end?s+="$":n.strict&&(s+="(?:/|$)");const a=new RegExp(s,n.sensitive?"":"i");function i(c){const d=c.match(a),f={};if(!d)return null;for(let m=1;m<d.length;m++){const p=d[m]||"",h=o[m-1];f[h.name]=p&&h.repeatable?p.split("/"):p}return f}function l(c){let d="",f=!1;for(const m of e){(!f||!d.endsWith("/"))&&(d+="/"),f=!1;for(const p of m)if(p.type===0)d+=p.value;else if(p.type===1){const{value:h,repeatable:_,optional:z}=p,v=h in c?c[h]:"";if(qn(v)&&!_)throw new Error(`Provided param "${h}" is an array but it is not repeatable (* or + modifiers)`);const b=qn(v)?v.join("/"):v;if(!b)if(z)m.length<2&&(d.endsWith("/")?d=d.slice(0,-1):f=!0);else throw new Error(`Missing required param "${h}"`);d+=b}}return d||"/"}return{re:a,score:r,keys:o,parse:i,stringify:l}}function PT(e,t){let n=0;for(;n<e.length&&n<t.length;){const r=t[n]-e[n];if(r)return r;n++}return e.length<t.length?e.length===1&&e[0]===40+40?-1:1:e.length>t.length?t.length===1&&t[0]===40+40?1:-1:0}function IT(e,t){let n=0;const r=e.score,s=t.score;for(;n<r.length&&n<s.length;){const o=PT(r[n],s[n]);if(o)return o;n++}if(Math.abs(s.length-r.length)===1){if(Fp(r))return 1;if(Fp(s))return-1}return s.length-r.length}function Fp(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const FT={type:0,value:""},RT=/[a-zA-Z0-9_]/;function LT(e){if(!e)return[[]];if(e==="/")return[[FT]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(p){throw new Error(`ERR (${n})/"${c}": ${p}`)}let n=0,r=n;const s=[];let o;function a(){o&&s.push(o),o=[]}let i=0,l,c="",d="";function f(){c&&(n===0?o.push({type:0,value:c}):n===1||n===2||n===3?(o.length>1&&(l==="*"||l==="+")&&t(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),o.push({type:1,value:c,regexp:d,repeatable:l==="*"||l==="+",optional:l==="*"||l==="?"})):t("Invalid state to consume buffer"),c="")}function m(){c+=l}for(;i<e.length;){if(l=e[i++],l==="\\"&&n!==2){r=n,n=4;continue}switch(n){case 0:l==="/"?(c&&f(),a()):l===":"?(f(),n=1):m();break;case 4:m(),n=r;break;case 1:l==="("?n=2:RT.test(l)?m():(f(),n=0,l!=="*"&&l!=="?"&&l!=="+"&&i--);break;case 2:l===")"?d[d.length-1]=="\\"?d=d.slice(0,-1)+l:n=3:d+=l;break;case 3:f(),n=0,l!=="*"&&l!=="?"&&l!=="+"&&i--,d="";break;default:t("Unknown state");break}}return n===2&&t(`Unfinished custom RegExp for param "${c}"`),f(),a(),s}function MT(e,t,n){const r=DT(LT(e.path),n),s=ot(r,{record:e,parent:t,children:[],alias:[]});return t&&!s.record.aliasOf==!t.record.aliasOf&&t.children.push(s),s}function NT(e,t){const n=[],r=new Map;t=Mp({strict:!1,end:!0,sensitive:!1},t);function s(d){return r.get(d)}function o(d,f,m){const p=!m,h=VT(d);h.aliasOf=m&&m.record;const _=Mp(t,d),z=[h];if("alias"in d){const k=typeof d.alias=="string"?[d.alias]:d.alias;for(const C of k)z.push(ot({},h,{components:m?m.record.components:h.components,path:C,aliasOf:m?m.record:h}))}let v,b;for(const k of z){const{path:C}=k;if(f&&C[0]!=="/"){const x=f.record.path,T=x[x.length-1]==="/"?"":"/";k.path=f.record.path+(C&&T+C)}if(v=MT(k,f,_),m?m.alias.push(v):(b=b||v,b!==v&&b.alias.push(v),p&&d.name&&!Lp(v)&&a(d.name)),h.children){const x=h.children;for(let T=0;T<x.length;T++)o(x[T],v,m&&m.children[T])}m=m||v,(v.record.components&&Object.keys(v.record.components).length||v.record.name||v.record.redirect)&&l(v)}return b?()=>{a(b)}:Jo}function a(d){if($v(d)){const f=r.get(d);f&&(r.delete(d),n.splice(n.indexOf(f),1),f.children.forEach(a),f.alias.forEach(a))}else{const f=n.indexOf(d);f>-1&&(n.splice(f,1),d.record.name&&r.delete(d.record.name),d.children.forEach(a),d.alias.forEach(a))}}function i(){return n}function l(d){let f=0;for(;f<n.length&&IT(d,n[f])>=0&&(d.record.path!==n[f].record.path||!Tv(d,n[f]));)f++;n.splice(f,0,d),d.record.name&&!Lp(d)&&r.set(d.record.name,d)}function c(d,f){let m,p={},h,_;if("name"in d&&d.name){if(m=r.get(d.name),!m)throw no(1,{location:d});_=m.record.name,p=ot(Rp(f.params,m.keys.filter(b=>!b.optional).map(b=>b.name)),d.params&&Rp(d.params,m.keys.map(b=>b.name))),h=m.stringify(p)}else if("path"in d)h=d.path,m=n.find(b=>b.re.test(h)),m&&(p=m.parse(h),_=m.record.name);else{if(m=f.name?r.get(f.name):n.find(b=>b.re.test(f.path)),!m)throw no(1,{location:d,currentLocation:f});_=m.record.name,p=ot({},f.params,d.params),h=m.stringify(p)}const z=[];let v=m;for(;v;)z.unshift(v.record),v=v.parent;return{name:_,path:h,params:p,matched:z,meta:HT(z)}}return e.forEach(d=>o(d)),{addRoute:o,resolve:c,removeRoute:a,getRoutes:i,getRecordMatcher:s}}function Rp(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function VT(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:BT(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}}}function BT(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const r in e.components)t[r]=typeof n=="object"?n[r]:n;return t}function Lp(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function HT(e){return e.reduce((t,n)=>ot(t,n.meta),{})}function Mp(e,t){const n={};for(const r in e)n[r]=r in t?t[r]:e[r];return n}function Tv(e,t){return t.children.some(n=>n===e||Tv(e,n))}const Ov=/#/g,jT=/&/g,UT=/\//g,qT=/=/g,WT=/\?/g,Dv=/\+/g,GT=/%5B/g,KT=/%5D/g,Pv=/%5E/g,ZT=/%60/g,Iv=/%7B/g,YT=/%7C/g,Fv=/%7D/g,JT=/%20/g;function lm(e){return encodeURI(""+e).replace(YT,"|").replace(GT,"[").replace(KT,"]")}function XT(e){return lm(e).replace(Iv,"{").replace(Fv,"}").replace(Pv,"^")}function Vc(e){return lm(e).replace(Dv,"%2B").replace(JT,"+").replace(Ov,"%23").replace(jT,"%26").replace(ZT,"`").replace(Iv,"{").replace(Fv,"}").replace(Pv,"^")}function QT(e){return Vc(e).replace(qT,"%3D")}function eO(e){return lm(e).replace(Ov,"%23").replace(WT,"%3F")}function tO(e){return e==null?"":eO(e).replace(UT,"%2F")}function _l(e){try{return decodeURIComponent(""+e)}catch{}return""+e}function nO(e){const t={};if(e===""||e==="?")return t;const r=(e[0]==="?"?e.slice(1):e).split("&");for(let s=0;s<r.length;++s){const o=r[s].replace(Dv," "),a=o.indexOf("="),i=_l(a<0?o:o.slice(0,a)),l=a<0?null:_l(o.slice(a+1));if(i in t){let c=t[i];qn(c)||(c=t[i]=[c]),c.push(l)}else t[i]=l}return t}function Np(e){let t="";for(let n in e){const r=e[n];if(n=QT(n),r==null){r!==void 0&&(t+=(t.length?"&":"")+n);continue}(qn(r)?r.map(o=>o&&Vc(o)):[r&&Vc(r)]).forEach(o=>{o!==void 0&&(t+=(t.length?"&":"")+n,o!=null&&(t+="="+o))})}return t}function rO(e){const t={};for(const n in e){const r=e[n];r!==void 0&&(t[n]=qn(r)?r.map(s=>s==null?null:""+s):r==null?r:""+r)}return t}const sO=Symbol(""),Vp=Symbol(""),um=Symbol(""),Rv=Symbol(""),Bc=Symbol("");function xo(){let e=[];function t(r){return e.push(r),()=>{const s=e.indexOf(r);s>-1&&e.splice(s,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function Lr(e,t,n,r,s){const o=r&&(r.enterCallbacks[s]=r.enterCallbacks[s]||[]);return()=>new Promise((a,i)=>{const l=f=>{f===!1?i(no(4,{from:n,to:t})):f instanceof Error?i(f):AT(f)?i(no(2,{from:t,to:f})):(o&&r.enterCallbacks[s]===o&&typeof f=="function"&&o.push(f),a())},c=e.call(r&&r.instances[s],t,n,l);let d=Promise.resolve(c);e.length<3&&(d=d.then(l)),d.catch(f=>i(f))})}function Lu(e,t,n,r){const s=[];for(const o of e)for(const a in o.components){let i=o.components[a];if(!(t!=="beforeRouteEnter"&&!o.instances[a]))if(oO(i)){const c=(i.__vccOpts||i)[t];c&&s.push(Lr(c,n,r,o,a))}else{let l=i();s.push(()=>l.then(c=>{if(!c)return Promise.reject(new Error(`Couldn't resolve component "${a}" at "${o.path}"`));const d=cT(c)?c.default:c;o.components[a]=d;const m=(d.__vccOpts||d)[t];return m&&Lr(m,n,r,o,a)()}))}}return s}function oO(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function Bp(e){const t=Hn(um),n=Hn(Rv),r=Ft(()=>t.resolve(pn(e.to))),s=Ft(()=>{const{matched:l}=r.value,{length:c}=l,d=l[c-1],f=n.matched;if(!d||!f.length)return-1;const m=f.findIndex(to.bind(null,d));if(m>-1)return m;const p=Hp(l[c-2]);return c>1&&Hp(d)===p&&f[f.length-1].path!==p?f.findIndex(to.bind(null,l[c-2])):m}),o=Ft(()=>s.value>-1&&uO(n.params,r.value.params)),a=Ft(()=>s.value>-1&&s.value===n.matched.length-1&&Ev(n.params,r.value.params));function i(l={}){return lO(l)?t[pn(e.replace)?"replace":"push"](pn(e.to)).catch(Jo):Promise.resolve()}return{route:r,href:Ft(()=>r.value.href),isActive:o,isExactActive:a,navigate:i}}const aO=lo({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:Bp,setup(e,{slots:t}){const n=io(Bp(e)),{options:r}=Hn(um),s=Ft(()=>({[jp(e.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[jp(e.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const o=t.default&&t.default(n);return e.custom?o:er("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:s.value},o)}}}),iO=aO;function lO(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function uO(e,t){for(const n in t){const r=t[n],s=e[n];if(typeof r=="string"){if(r!==s)return!1}else if(!qn(s)||s.length!==r.length||r.some((o,a)=>o!==s[a]))return!1}return!0}function Hp(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const jp=(e,t,n)=>e??t??n,cO=lo({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const r=Hn(Bc),s=Ft(()=>e.route||r.value),o=Hn(Vp,0),a=Ft(()=>{let c=pn(o);const{matched:d}=s.value;let f;for(;(f=d[c])&&!f.components;)c++;return c}),i=Ft(()=>s.value.matched[a.value]);jo(Vp,Ft(()=>a.value+1)),jo(sO,i),jo(Bc,s);const l=Wt();return Zt(()=>[l.value,i.value,e.name],([c,d,f],[m,p,h])=>{d&&(d.instances[f]=c,p&&p!==d&&c&&c===m&&(d.leaveGuards.size||(d.leaveGuards=p.leaveGuards),d.updateGuards.size||(d.updateGuards=p.updateGuards))),c&&d&&(!p||!to(d,p)||!m)&&(d.enterCallbacks[f]||[]).forEach(_=>_(c))},{flush:"post"}),()=>{const c=s.value,d=e.name,f=i.value,m=f&&f.components[d];if(!m)return Up(n.default,{Component:m,route:c});const p=f.props[d],h=p?p===!0?c.params:typeof p=="function"?p(c):p:null,z=er(m,ot({},h,t,{onVnodeUnmounted:v=>{v.component.isUnmounted&&(f.instances[d]=null)},ref:l}));return Up(n.default,{Component:z,route:c})||z}}});function Up(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const dO=cO;function mO(e){const t=NT(e.routes,e),n=e.parseQuery||nO,r=e.stringifyQuery||Np,s=e.history,o=xo(),a=xo(),i=xo(),l=s_(Or);let c=Or;Is&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const d=Fu.bind(null,q=>""+q),f=Fu.bind(null,tO),m=Fu.bind(null,_l);function p(q,ie){let re,ge;return $v(q)?(re=t.getRecordMatcher(q),ge=ie):ge=q,t.addRoute(ge,re)}function h(q){const ie=t.getRecordMatcher(q);ie&&t.removeRoute(ie)}function _(){return t.getRoutes().map(q=>q.record)}function z(q){return!!t.getRecordMatcher(q)}function v(q,ie){if(ie=ot({},ie||l.value),typeof q=="string"){const P=Ru(n,q,ie.path),G=t.resolve({path:P.path},ie),Y=s.createHref(P.fullPath);return ot(P,G,{params:m(G.params),hash:_l(P.hash),redirectedFrom:void 0,href:Y})}let re;if("path"in q)re=ot({},q,{path:Ru(n,q.path,ie.path).path});else{const P=ot({},q.params);for(const G in P)P[G]==null&&delete P[G];re=ot({},q,{params:f(P)}),ie.params=f(ie.params)}const ge=t.resolve(re,ie),Ne=q.hash||"";ge.params=d(m(ge.params));const A=fT(r,ot({},q,{hash:XT(Ne),path:ge.path})),O=s.createHref(A);return ot({fullPath:A,hash:Ne,query:r===Np?rO(q.query):q.query||{}},ge,{redirectedFrom:void 0,href:O})}function b(q){return typeof q=="string"?Ru(n,q,l.value.path):ot({},q)}function k(q,ie){if(c!==q)return no(8,{from:ie,to:q})}function C(q){return N(q)}function x(q){return C(ot(b(q),{replace:!0}))}function T(q){const ie=q.matched[q.matched.length-1];if(ie&&ie.redirect){const{redirect:re}=ie;let ge=typeof re=="function"?re(q):re;return typeof ge=="string"&&(ge=ge.includes("?")||ge.includes("#")?ge=b(ge):{path:ge},ge.params={}),ot({query:q.query,hash:q.hash,params:"path"in ge?{}:q.params},ge)}}function N(q,ie){const re=c=v(q),ge=l.value,Ne=q.state,A=q.force,O=q.replace===!0,P=T(re);if(P)return N(ot(b(P),{state:typeof P=="object"?ot({},Ne,P.state):Ne,force:A,replace:O}),ie||re);const G=re;G.redirectedFrom=ie;let Y;return!A&&pT(r,ge,re)&&(Y=no(16,{to:G,from:ge}),Ge(ge,ge,!0,!1)),(Y?Promise.resolve(Y):j(G,ge)).catch(Q=>fr(Q)?fr(Q,2)?Q:it(Q):ye(Q,G,ge)).then(Q=>{if(Q){if(fr(Q,2))return N(ot({replace:O},b(Q.to),{state:typeof Q.to=="object"?ot({},Ne,Q.to.state):Ne,force:A}),ie||G)}else Q=J(G,ge,!0,O,Ne);return K(G,ge,Q),Q})}function D(q,ie){const re=k(q,ie);return re?Promise.reject(re):Promise.resolve()}function I(q){const ie=dt.values().next().value;return ie&&typeof ie.runWithContext=="function"?ie.runWithContext(q):q()}function j(q,ie){let re;const[ge,Ne,A]=fO(q,ie);re=Lu(ge.reverse(),"beforeRouteLeave",q,ie);for(const P of ge)P.leaveGuards.forEach(G=>{re.push(Lr(G,q,ie))});const O=D.bind(null,q,ie);return re.push(O),Ie(re).then(()=>{re=[];for(const P of o.list())re.push(Lr(P,q,ie));return re.push(O),Ie(re)}).then(()=>{re=Lu(Ne,"beforeRouteUpdate",q,ie);for(const P of Ne)P.updateGuards.forEach(G=>{re.push(Lr(G,q,ie))});return re.push(O),Ie(re)}).then(()=>{re=[];for(const P of A)if(P.beforeEnter)if(qn(P.beforeEnter))for(const G of P.beforeEnter)re.push(Lr(G,q,ie));else re.push(Lr(P.beforeEnter,q,ie));return re.push(O),Ie(re)}).then(()=>(q.matched.forEach(P=>P.enterCallbacks={}),re=Lu(A,"beforeRouteEnter",q,ie),re.push(O),Ie(re))).then(()=>{re=[];for(const P of a.list())re.push(Lr(P,q,ie));return re.push(O),Ie(re)}).catch(P=>fr(P,8)?P:Promise.reject(P))}function K(q,ie,re){i.list().forEach(ge=>I(()=>ge(q,ie,re)))}function J(q,ie,re,ge,Ne){const A=k(q,ie);if(A)return A;const O=ie===Or,P=Is?history.state:{};re&&(ge||O?s.replace(q.fullPath,ot({scroll:O&&P&&P.scroll},Ne)):s.push(q.fullPath,Ne)),l.value=q,Ge(q,ie,re,O),it()}let U;function H(){U||(U=s.listen((q,ie,re)=>{if(!mt.listening)return;const ge=v(q),Ne=T(ge);if(Ne){N(ot(Ne,{replace:!0}),ge).catch(Jo);return}c=ge;const A=l.value;Is&&CT(Op(A.fullPath,re.delta),ru()),j(ge,A).catch(O=>fr(O,12)?O:fr(O,2)?(N(O.to,ge).then(P=>{fr(P,20)&&!re.delta&&re.type===ga.pop&&s.go(-1,!1)}).catch(Jo),Promise.reject()):(re.delta&&s.go(-re.delta,!1),ye(O,ge,A))).then(O=>{O=O||J(ge,A,!1),O&&(re.delta&&!fr(O,8)?s.go(-re.delta,!1):re.type===ga.pop&&fr(O,20)&&s.go(-1,!1)),K(ge,A,O)}).catch(Jo)}))}let he=xo(),ee=xo(),se;function ye(q,ie,re){it(q);const ge=ee.list();return ge.length?ge.forEach(Ne=>Ne(q,ie,re)):console.error(q),Promise.reject(q)}function qe(){return se&&l.value!==Or?Promise.resolve():new Promise((q,ie)=>{he.add([q,ie])})}function it(q){return se||(se=!q,H(),he.list().forEach(([ie,re])=>q?re(q):ie()),he.reset()),q}function Ge(q,ie,re,ge){const{scrollBehavior:Ne}=e;if(!Is||!Ne)return Promise.resolve();const A=!re&&wT(Op(q.fullPath,0))||(ge||!re)&&history.state&&history.state.scroll||null;return wa().then(()=>Ne(q,ie,A)).then(O=>O&&zT(O)).catch(O=>ye(O,q,ie))}const Be=q=>s.go(q);let ct;const dt=new Set,mt={currentRoute:l,listening:!0,addRoute:p,removeRoute:h,hasRoute:z,getRoutes:_,resolve:v,options:e,push:C,replace:x,go:Be,back:()=>Be(-1),forward:()=>Be(1),beforeEach:o.add,beforeResolve:a.add,afterEach:i.add,onError:ee.add,isReady:qe,install(q){const ie=this;q.component("RouterLink",iO),q.component("RouterView",dO),q.config.globalProperties.$router=ie,Object.defineProperty(q.config.globalProperties,"$route",{enumerable:!0,get:()=>pn(l)}),Is&&!ct&&l.value===Or&&(ct=!0,C(s.location).catch(Ne=>{}));const re={};for(const Ne in Or)Object.defineProperty(re,Ne,{get:()=>l.value[Ne],enumerable:!0});q.provide(um,ie),q.provide(Rv,hd(re)),q.provide(Bc,l);const ge=q.unmount;dt.add(q),q.unmount=function(){dt.delete(q),dt.size<1&&(c=Or,U&&U(),U=null,l.value=Or,ct=!1,se=!1),ge()}}};function Ie(q){return q.reduce((ie,re)=>ie.then(()=>I(re)),Promise.resolve())}return mt}function fO(e,t){const n=[],r=[],s=[],o=Math.max(t.matched.length,e.matched.length);for(let a=0;a<o;a++){const i=t.matched[a];i&&(e.matched.find(c=>to(c,i))?r.push(i):n.push(i));const l=e.matched[a];l&&(t.matched.find(c=>to(c,l))||s.push(l))}return[n,r,s]}const pO={name:"PageAbout",computed:{config(){return this.$store.state.config},library(){return this.$store.state.library}},methods:{showUpdateDialog(){this.$store.commit(va,!0)}}},hO={class:"fd-page"},_O={class:"section"},gO={class:"container"},yO={class:"columns is-centered"},vO={class:"column is-four-fifths has-text-centered-mobile"},bO=["textContent"],zO={class:"section"},CO={class:"container"},wO={class:"columns is-centered"},kO={class:"column is-four-fifths"},xO={class:"content"},EO={class:"level is-mobile"},SO={class:"level-left"},$O={class:"level-item"},AO=["textContent"],TO={class:"level-right"},OO={key:0},DO=["textContent"],PO={key:1},IO=["textContent"],FO={class:"table"},RO=["textContent"],LO=["textContent"],MO=["textContent"],NO=["textContent"],VO=["textContent"],BO=["textContent"],HO=["textContent"],jO=["textContent"],UO=["textContent"],qO={class:"has-text-right"},WO=["textContent"],GO=["textContent"],KO=["textContent"],ZO={class:"has-text-right"},YO=["textContent"],JO=["textContent"],XO={class:"section"},QO={class:"container"},e3={class:"columns is-centered"},t3={class:"column is-four-fifths"},n3={class:"content has-text-centered-mobile"},r3=["textContent"],s3=["textContent"],o3=u("a",{href:"https://bulma.io"},"Bulma",-1),a3=u("a",{href:"https://pictogrammers.com/library/mdi/"},"Material Design Icons",-1),i3=u("a",{href:"https://vuejs.org/"},"Vue.js",-1),l3=u("a",{href:"https://github.com/mzabriskie/axios"},"axios",-1),u3=["textContent"];function c3(e,t,n,r,s,o){const a=S("i18n-t");return w(),$("div",hO,[u("section",_O,[u("div",gO,[u("div",yO,[u("div",vO,[u("h1",{class:"title is-4",textContent:g(o.config.library_name)},null,8,bO)])])])]),u("section",zO,[u("div",CO,[u("div",wO,[u("div",kO,[u("div",xO,[u("nav",EO,[u("div",SO,[u("div",$O,[u("h2",{class:"title is-5",textContent:g(e.$t("page.about.library"))},null,8,AO)])]),u("div",TO,[o.library.updating?(w(),$("div",OO,[u("a",{class:"button is-small is-loading",textContent:g(e.$t("page.about.update"))},null,8,DO)])):(w(),$("div",PO,[u("a",{class:"button is-small",onClick:t[0]||(t[0]=i=>o.showUpdateDialog()),textContent:g(e.$t("page.about.update"))},null,8,IO)]))])]),u("table",FO,[u("tbody",null,[u("tr",null,[u("th",{class:"has-text-left",textContent:g(e.$t("page.about.artists"))},null,8,RO),u("td",{class:"has-text-right",textContent:g(e.$filters.number(o.library.artists))},null,8,LO)]),u("tr",null,[u("th",{class:"has-text-left",textContent:g(e.$t("page.about.albums"))},null,8,MO),u("td",{class:"has-text-right",textContent:g(e.$filters.number(o.library.albums))},null,8,NO)]),u("tr",null,[u("th",{class:"has-text-left",textContent:g(e.$t("page.about.tracks"))},null,8,VO),u("td",{class:"has-text-right",textContent:g(e.$filters.number(o.library.songs))},null,8,BO)]),u("tr",null,[u("th",{class:"has-text-left",textContent:g(e.$t("page.about.total-playtime"))},null,8,HO),u("td",{class:"has-text-right",textContent:g(e.$filters.durationInDays(o.library.db_playtime*1e3))},null,8,jO)]),u("tr",null,[u("th",{class:"has-text-left",textContent:g(e.$t("page.about.updated"))},null,8,UO),u("td",qO,[u("span",{textContent:g(e.$t("page.about.updated-on",{time:e.$filters.timeFromNow(o.library.updated_at)}))},null,8,WO),tt(" ("),u("span",{class:"has-text-grey",textContent:g(e.$filters.datetime(o.library.updated_at))},null,8,GO),tt(") ")])]),u("tr",null,[u("th",{class:"has-text-left",textContent:g(e.$t("page.about.uptime"))},null,8,KO),u("td",ZO,[u("span",{textContent:g(e.$filters.timeFromNow(o.library.started_at,!0))},null,8,YO),tt(" ("),u("span",{class:"has-text-grey",textContent:g(e.$filters.datetime(o.library.started_at))},null,8,JO),tt(") ")])])])])])])])])]),u("section",XO,[u("div",QO,[u("div",e3,[u("div",t3,[u("div",n3,[u("p",{class:"is-size-7",textContent:g(e.$t("page.about.version",{version:o.config.version}))},null,8,r3),u("p",{class:"is-size-7",textContent:g(e.$t("page.about.compiled-with",{options:o.config.buildoptions.join(", ")}))},null,8,s3),y(a,{tag:"p",class:"is-size-7",keypath:"page.about.built-with",scope:"global"},{bulma:E(()=>[o3]),mdi:E(()=>[a3]),vuejs:E(()=>[i3]),axios:E(()=>[l3]),others:E(()=>[u("a",{href:"https://github.com/owntone/owntone-server/network/dependencies",textContent:g(e.$t("page.about.more"))},null,8,u3)]),_:1})])])])])])])}const d3=te(pO,[["render",c3]]),m3={},f3={class:"hero is-light is-bold"},p3={class:"hero-body"},h3={class:"container"},_3={class:"columns is-centered"},g3={class:"column is-four-fifths"},y3={class:"columns is-flex-direction-row-reverse"},v3={class:"column fd-has-cover"},b3={class:"column m-auto is-three-fifths has-text-centered-mobile"},z3={class:"section pt-0"},C3={class:"container"},w3={class:"columns is-centered"},k3={class:"column is-four-fifths"};function x3(e,t){return w(),$(Ce,null,[u("section",f3,[u("div",p3,[u("div",h3,[u("div",_3,[u("div",g3,[u("div",y3,[u("div",v3,[st(e.$slots,"heading-right")]),u("div",b3,[st(e.$slots,"heading-left")])])])])])])]),u("section",z3,[u("div",C3,[u("div",w3,[u("div",k3,[st(e.$slots,"content"),st(e.$slots,"footer")])])])])],64)}const su=te(m3,[["render",x3]]);var Lv={exports:{}},E3=[{value:"#B0171F",name:"indian red"},{value:"#DC143C",css:!0,name:"crimson"},{value:"#FFB6C1",css:!0,name:"lightpink"},{value:"#FFAEB9",name:"lightpink 1"},{value:"#EEA2AD",name:"lightpink 2"},{value:"#CD8C95",name:"lightpink 3"},{value:"#8B5F65",name:"lightpink 4"},{value:"#FFC0CB",css:!0,name:"pink"},{value:"#FFB5C5",name:"pink 1"},{value:"#EEA9B8",name:"pink 2"},{value:"#CD919E",name:"pink 3"},{value:"#8B636C",name:"pink 4"},{value:"#DB7093",css:!0,name:"palevioletred"},{value:"#FF82AB",name:"palevioletred 1"},{value:"#EE799F",name:"palevioletred 2"},{value:"#CD6889",name:"palevioletred 3"},{value:"#8B475D",name:"palevioletred 4"},{value:"#FFF0F5",name:"lavenderblush 1"},{value:"#FFF0F5",css:!0,name:"lavenderblush"},{value:"#EEE0E5",name:"lavenderblush 2"},{value:"#CDC1C5",name:"lavenderblush 3"},{value:"#8B8386",name:"lavenderblush 4"},{value:"#FF3E96",name:"violetred 1"},{value:"#EE3A8C",name:"violetred 2"},{value:"#CD3278",name:"violetred 3"},{value:"#8B2252",name:"violetred 4"},{value:"#FF69B4",css:!0,name:"hotpink"},{value:"#FF6EB4",name:"hotpink 1"},{value:"#EE6AA7",name:"hotpink 2"},{value:"#CD6090",name:"hotpink 3"},{value:"#8B3A62",name:"hotpink 4"},{value:"#872657",name:"raspberry"},{value:"#FF1493",name:"deeppink 1"},{value:"#FF1493",css:!0,name:"deeppink"},{value:"#EE1289",name:"deeppink 2"},{value:"#CD1076",name:"deeppink 3"},{value:"#8B0A50",name:"deeppink 4"},{value:"#FF34B3",name:"maroon 1"},{value:"#EE30A7",name:"maroon 2"},{value:"#CD2990",name:"maroon 3"},{value:"#8B1C62",name:"maroon 4"},{value:"#C71585",css:!0,name:"mediumvioletred"},{value:"#D02090",name:"violetred"},{value:"#DA70D6",css:!0,name:"orchid"},{value:"#FF83FA",name:"orchid 1"},{value:"#EE7AE9",name:"orchid 2"},{value:"#CD69C9",name:"orchid 3"},{value:"#8B4789",name:"orchid 4"},{value:"#D8BFD8",css:!0,name:"thistle"},{value:"#FFE1FF",name:"thistle 1"},{value:"#EED2EE",name:"thistle 2"},{value:"#CDB5CD",name:"thistle 3"},{value:"#8B7B8B",name:"thistle 4"},{value:"#FFBBFF",name:"plum 1"},{value:"#EEAEEE",name:"plum 2"},{value:"#CD96CD",name:"plum 3"},{value:"#8B668B",name:"plum 4"},{value:"#DDA0DD",css:!0,name:"plum"},{value:"#EE82EE",css:!0,name:"violet"},{value:"#FF00FF",vga:!0,name:"magenta"},{value:"#FF00FF",vga:!0,css:!0,name:"fuchsia"},{value:"#EE00EE",name:"magenta 2"},{value:"#CD00CD",name:"magenta 3"},{value:"#8B008B",name:"magenta 4"},{value:"#8B008B",css:!0,name:"darkmagenta"},{value:"#800080",vga:!0,css:!0,name:"purple"},{value:"#BA55D3",css:!0,name:"mediumorchid"},{value:"#E066FF",name:"mediumorchid 1"},{value:"#D15FEE",name:"mediumorchid 2"},{value:"#B452CD",name:"mediumorchid 3"},{value:"#7A378B",name:"mediumorchid 4"},{value:"#9400D3",css:!0,name:"darkviolet"},{value:"#9932CC",css:!0,name:"darkorchid"},{value:"#BF3EFF",name:"darkorchid 1"},{value:"#B23AEE",name:"darkorchid 2"},{value:"#9A32CD",name:"darkorchid 3"},{value:"#68228B",name:"darkorchid 4"},{value:"#4B0082",css:!0,name:"indigo"},{value:"#8A2BE2",css:!0,name:"blueviolet"},{value:"#9B30FF",name:"purple 1"},{value:"#912CEE",name:"purple 2"},{value:"#7D26CD",name:"purple 3"},{value:"#551A8B",name:"purple 4"},{value:"#9370DB",css:!0,name:"mediumpurple"},{value:"#AB82FF",name:"mediumpurple 1"},{value:"#9F79EE",name:"mediumpurple 2"},{value:"#8968CD",name:"mediumpurple 3"},{value:"#5D478B",name:"mediumpurple 4"},{value:"#483D8B",css:!0,name:"darkslateblue"},{value:"#8470FF",name:"lightslateblue"},{value:"#7B68EE",css:!0,name:"mediumslateblue"},{value:"#6A5ACD",css:!0,name:"slateblue"},{value:"#836FFF",name:"slateblue 1"},{value:"#7A67EE",name:"slateblue 2"},{value:"#6959CD",name:"slateblue 3"},{value:"#473C8B",name:"slateblue 4"},{value:"#F8F8FF",css:!0,name:"ghostwhite"},{value:"#E6E6FA",css:!0,name:"lavender"},{value:"#0000FF",vga:!0,css:!0,name:"blue"},{value:"#0000EE",name:"blue 2"},{value:"#0000CD",name:"blue 3"},{value:"#0000CD",css:!0,name:"mediumblue"},{value:"#00008B",name:"blue 4"},{value:"#00008B",css:!0,name:"darkblue"},{value:"#000080",vga:!0,css:!0,name:"navy"},{value:"#191970",css:!0,name:"midnightblue"},{value:"#3D59AB",name:"cobalt"},{value:"#4169E1",css:!0,name:"royalblue"},{value:"#4876FF",name:"royalblue 1"},{value:"#436EEE",name:"royalblue 2"},{value:"#3A5FCD",name:"royalblue 3"},{value:"#27408B",name:"royalblue 4"},{value:"#6495ED",css:!0,name:"cornflowerblue"},{value:"#B0C4DE",css:!0,name:"lightsteelblue"},{value:"#CAE1FF",name:"lightsteelblue 1"},{value:"#BCD2EE",name:"lightsteelblue 2"},{value:"#A2B5CD",name:"lightsteelblue 3"},{value:"#6E7B8B",name:"lightsteelblue 4"},{value:"#778899",css:!0,name:"lightslategray"},{value:"#708090",css:!0,name:"slategray"},{value:"#C6E2FF",name:"slategray 1"},{value:"#B9D3EE",name:"slategray 2"},{value:"#9FB6CD",name:"slategray 3"},{value:"#6C7B8B",name:"slategray 4"},{value:"#1E90FF",name:"dodgerblue 1"},{value:"#1E90FF",css:!0,name:"dodgerblue"},{value:"#1C86EE",name:"dodgerblue 2"},{value:"#1874CD",name:"dodgerblue 3"},{value:"#104E8B",name:"dodgerblue 4"},{value:"#F0F8FF",css:!0,name:"aliceblue"},{value:"#4682B4",css:!0,name:"steelblue"},{value:"#63B8FF",name:"steelblue 1"},{value:"#5CACEE",name:"steelblue 2"},{value:"#4F94CD",name:"steelblue 3"},{value:"#36648B",name:"steelblue 4"},{value:"#87CEFA",css:!0,name:"lightskyblue"},{value:"#B0E2FF",name:"lightskyblue 1"},{value:"#A4D3EE",name:"lightskyblue 2"},{value:"#8DB6CD",name:"lightskyblue 3"},{value:"#607B8B",name:"lightskyblue 4"},{value:"#87CEFF",name:"skyblue 1"},{value:"#7EC0EE",name:"skyblue 2"},{value:"#6CA6CD",name:"skyblue 3"},{value:"#4A708B",name:"skyblue 4"},{value:"#87CEEB",css:!0,name:"skyblue"},{value:"#00BFFF",name:"deepskyblue 1"},{value:"#00BFFF",css:!0,name:"deepskyblue"},{value:"#00B2EE",name:"deepskyblue 2"},{value:"#009ACD",name:"deepskyblue 3"},{value:"#00688B",name:"deepskyblue 4"},{value:"#33A1C9",name:"peacock"},{value:"#ADD8E6",css:!0,name:"lightblue"},{value:"#BFEFFF",name:"lightblue 1"},{value:"#B2DFEE",name:"lightblue 2"},{value:"#9AC0CD",name:"lightblue 3"},{value:"#68838B",name:"lightblue 4"},{value:"#B0E0E6",css:!0,name:"powderblue"},{value:"#98F5FF",name:"cadetblue 1"},{value:"#8EE5EE",name:"cadetblue 2"},{value:"#7AC5CD",name:"cadetblue 3"},{value:"#53868B",name:"cadetblue 4"},{value:"#00F5FF",name:"turquoise 1"},{value:"#00E5EE",name:"turquoise 2"},{value:"#00C5CD",name:"turquoise 3"},{value:"#00868B",name:"turquoise 4"},{value:"#5F9EA0",css:!0,name:"cadetblue"},{value:"#00CED1",css:!0,name:"darkturquoise"},{value:"#F0FFFF",name:"azure 1"},{value:"#F0FFFF",css:!0,name:"azure"},{value:"#E0EEEE",name:"azure 2"},{value:"#C1CDCD",name:"azure 3"},{value:"#838B8B",name:"azure 4"},{value:"#E0FFFF",name:"lightcyan 1"},{value:"#E0FFFF",css:!0,name:"lightcyan"},{value:"#D1EEEE",name:"lightcyan 2"},{value:"#B4CDCD",name:"lightcyan 3"},{value:"#7A8B8B",name:"lightcyan 4"},{value:"#BBFFFF",name:"paleturquoise 1"},{value:"#AEEEEE",name:"paleturquoise 2"},{value:"#AEEEEE",css:!0,name:"paleturquoise"},{value:"#96CDCD",name:"paleturquoise 3"},{value:"#668B8B",name:"paleturquoise 4"},{value:"#2F4F4F",css:!0,name:"darkslategray"},{value:"#97FFFF",name:"darkslategray 1"},{value:"#8DEEEE",name:"darkslategray 2"},{value:"#79CDCD",name:"darkslategray 3"},{value:"#528B8B",name:"darkslategray 4"},{value:"#00FFFF",name:"cyan"},{value:"#00FFFF",css:!0,name:"aqua"},{value:"#00EEEE",name:"cyan 2"},{value:"#00CDCD",name:"cyan 3"},{value:"#008B8B",name:"cyan 4"},{value:"#008B8B",css:!0,name:"darkcyan"},{value:"#008080",vga:!0,css:!0,name:"teal"},{value:"#48D1CC",css:!0,name:"mediumturquoise"},{value:"#20B2AA",css:!0,name:"lightseagreen"},{value:"#03A89E",name:"manganeseblue"},{value:"#40E0D0",css:!0,name:"turquoise"},{value:"#808A87",name:"coldgrey"},{value:"#00C78C",name:"turquoiseblue"},{value:"#7FFFD4",name:"aquamarine 1"},{value:"#7FFFD4",css:!0,name:"aquamarine"},{value:"#76EEC6",name:"aquamarine 2"},{value:"#66CDAA",name:"aquamarine 3"},{value:"#66CDAA",css:!0,name:"mediumaquamarine"},{value:"#458B74",name:"aquamarine 4"},{value:"#00FA9A",css:!0,name:"mediumspringgreen"},{value:"#F5FFFA",css:!0,name:"mintcream"},{value:"#00FF7F",css:!0,name:"springgreen"},{value:"#00EE76",name:"springgreen 1"},{value:"#00CD66",name:"springgreen 2"},{value:"#008B45",name:"springgreen 3"},{value:"#3CB371",css:!0,name:"mediumseagreen"},{value:"#54FF9F",name:"seagreen 1"},{value:"#4EEE94",name:"seagreen 2"},{value:"#43CD80",name:"seagreen 3"},{value:"#2E8B57",name:"seagreen 4"},{value:"#2E8B57",css:!0,name:"seagreen"},{value:"#00C957",name:"emeraldgreen"},{value:"#BDFCC9",name:"mint"},{value:"#3D9140",name:"cobaltgreen"},{value:"#F0FFF0",name:"honeydew 1"},{value:"#F0FFF0",css:!0,name:"honeydew"},{value:"#E0EEE0",name:"honeydew 2"},{value:"#C1CDC1",name:"honeydew 3"},{value:"#838B83",name:"honeydew 4"},{value:"#8FBC8F",css:!0,name:"darkseagreen"},{value:"#C1FFC1",name:"darkseagreen 1"},{value:"#B4EEB4",name:"darkseagreen 2"},{value:"#9BCD9B",name:"darkseagreen 3"},{value:"#698B69",name:"darkseagreen 4"},{value:"#98FB98",css:!0,name:"palegreen"},{value:"#9AFF9A",name:"palegreen 1"},{value:"#90EE90",name:"palegreen 2"},{value:"#90EE90",css:!0,name:"lightgreen"},{value:"#7CCD7C",name:"palegreen 3"},{value:"#548B54",name:"palegreen 4"},{value:"#32CD32",css:!0,name:"limegreen"},{value:"#228B22",css:!0,name:"forestgreen"},{value:"#00FF00",vga:!0,name:"green 1"},{value:"#00FF00",vga:!0,css:!0,name:"lime"},{value:"#00EE00",name:"green 2"},{value:"#00CD00",name:"green 3"},{value:"#008B00",name:"green 4"},{value:"#008000",vga:!0,css:!0,name:"green"},{value:"#006400",css:!0,name:"darkgreen"},{value:"#308014",name:"sapgreen"},{value:"#7CFC00",css:!0,name:"lawngreen"},{value:"#7FFF00",name:"chartreuse 1"},{value:"#7FFF00",css:!0,name:"chartreuse"},{value:"#76EE00",name:"chartreuse 2"},{value:"#66CD00",name:"chartreuse 3"},{value:"#458B00",name:"chartreuse 4"},{value:"#ADFF2F",css:!0,name:"greenyellow"},{value:"#CAFF70",name:"darkolivegreen 1"},{value:"#BCEE68",name:"darkolivegreen 2"},{value:"#A2CD5A",name:"darkolivegreen 3"},{value:"#6E8B3D",name:"darkolivegreen 4"},{value:"#556B2F",css:!0,name:"darkolivegreen"},{value:"#6B8E23",css:!0,name:"olivedrab"},{value:"#C0FF3E",name:"olivedrab 1"},{value:"#B3EE3A",name:"olivedrab 2"},{value:"#9ACD32",name:"olivedrab 3"},{value:"#9ACD32",css:!0,name:"yellowgreen"},{value:"#698B22",name:"olivedrab 4"},{value:"#FFFFF0",name:"ivory 1"},{value:"#FFFFF0",css:!0,name:"ivory"},{value:"#EEEEE0",name:"ivory 2"},{value:"#CDCDC1",name:"ivory 3"},{value:"#8B8B83",name:"ivory 4"},{value:"#F5F5DC",css:!0,name:"beige"},{value:"#FFFFE0",name:"lightyellow 1"},{value:"#FFFFE0",css:!0,name:"lightyellow"},{value:"#EEEED1",name:"lightyellow 2"},{value:"#CDCDB4",name:"lightyellow 3"},{value:"#8B8B7A",name:"lightyellow 4"},{value:"#FAFAD2",css:!0,name:"lightgoldenrodyellow"},{value:"#FFFF00",vga:!0,name:"yellow 1"},{value:"#FFFF00",vga:!0,css:!0,name:"yellow"},{value:"#EEEE00",name:"yellow 2"},{value:"#CDCD00",name:"yellow 3"},{value:"#8B8B00",name:"yellow 4"},{value:"#808069",name:"warmgrey"},{value:"#808000",vga:!0,css:!0,name:"olive"},{value:"#BDB76B",css:!0,name:"darkkhaki"},{value:"#FFF68F",name:"khaki 1"},{value:"#EEE685",name:"khaki 2"},{value:"#CDC673",name:"khaki 3"},{value:"#8B864E",name:"khaki 4"},{value:"#F0E68C",css:!0,name:"khaki"},{value:"#EEE8AA",css:!0,name:"palegoldenrod"},{value:"#FFFACD",name:"lemonchiffon 1"},{value:"#FFFACD",css:!0,name:"lemonchiffon"},{value:"#EEE9BF",name:"lemonchiffon 2"},{value:"#CDC9A5",name:"lemonchiffon 3"},{value:"#8B8970",name:"lemonchiffon 4"},{value:"#FFEC8B",name:"lightgoldenrod 1"},{value:"#EEDC82",name:"lightgoldenrod 2"},{value:"#CDBE70",name:"lightgoldenrod 3"},{value:"#8B814C",name:"lightgoldenrod 4"},{value:"#E3CF57",name:"banana"},{value:"#FFD700",name:"gold 1"},{value:"#FFD700",css:!0,name:"gold"},{value:"#EEC900",name:"gold 2"},{value:"#CDAD00",name:"gold 3"},{value:"#8B7500",name:"gold 4"},{value:"#FFF8DC",name:"cornsilk 1"},{value:"#FFF8DC",css:!0,name:"cornsilk"},{value:"#EEE8CD",name:"cornsilk 2"},{value:"#CDC8B1",name:"cornsilk 3"},{value:"#8B8878",name:"cornsilk 4"},{value:"#DAA520",css:!0,name:"goldenrod"},{value:"#FFC125",name:"goldenrod 1"},{value:"#EEB422",name:"goldenrod 2"},{value:"#CD9B1D",name:"goldenrod 3"},{value:"#8B6914",name:"goldenrod 4"},{value:"#B8860B",css:!0,name:"darkgoldenrod"},{value:"#FFB90F",name:"darkgoldenrod 1"},{value:"#EEAD0E",name:"darkgoldenrod 2"},{value:"#CD950C",name:"darkgoldenrod 3"},{value:"#8B6508",name:"darkgoldenrod 4"},{value:"#FFA500",name:"orange 1"},{value:"#FF8000",css:!0,name:"orange"},{value:"#EE9A00",name:"orange 2"},{value:"#CD8500",name:"orange 3"},{value:"#8B5A00",name:"orange 4"},{value:"#FFFAF0",css:!0,name:"floralwhite"},{value:"#FDF5E6",css:!0,name:"oldlace"},{value:"#F5DEB3",css:!0,name:"wheat"},{value:"#FFE7BA",name:"wheat 1"},{value:"#EED8AE",name:"wheat 2"},{value:"#CDBA96",name:"wheat 3"},{value:"#8B7E66",name:"wheat 4"},{value:"#FFE4B5",css:!0,name:"moccasin"},{value:"#FFEFD5",css:!0,name:"papayawhip"},{value:"#FFEBCD",css:!0,name:"blanchedalmond"},{value:"#FFDEAD",name:"navajowhite 1"},{value:"#FFDEAD",css:!0,name:"navajowhite"},{value:"#EECFA1",name:"navajowhite 2"},{value:"#CDB38B",name:"navajowhite 3"},{value:"#8B795E",name:"navajowhite 4"},{value:"#FCE6C9",name:"eggshell"},{value:"#D2B48C",css:!0,name:"tan"},{value:"#9C661F",name:"brick"},{value:"#FF9912",name:"cadmiumyellow"},{value:"#FAEBD7",css:!0,name:"antiquewhite"},{value:"#FFEFDB",name:"antiquewhite 1"},{value:"#EEDFCC",name:"antiquewhite 2"},{value:"#CDC0B0",name:"antiquewhite 3"},{value:"#8B8378",name:"antiquewhite 4"},{value:"#DEB887",css:!0,name:"burlywood"},{value:"#FFD39B",name:"burlywood 1"},{value:"#EEC591",name:"burlywood 2"},{value:"#CDAA7D",name:"burlywood 3"},{value:"#8B7355",name:"burlywood 4"},{value:"#FFE4C4",name:"bisque 1"},{value:"#FFE4C4",css:!0,name:"bisque"},{value:"#EED5B7",name:"bisque 2"},{value:"#CDB79E",name:"bisque 3"},{value:"#8B7D6B",name:"bisque 4"},{value:"#E3A869",name:"melon"},{value:"#ED9121",name:"carrot"},{value:"#FF8C00",css:!0,name:"darkorange"},{value:"#FF7F00",name:"darkorange 1"},{value:"#EE7600",name:"darkorange 2"},{value:"#CD6600",name:"darkorange 3"},{value:"#8B4500",name:"darkorange 4"},{value:"#FFA54F",name:"tan 1"},{value:"#EE9A49",name:"tan 2"},{value:"#CD853F",name:"tan 3"},{value:"#CD853F",css:!0,name:"peru"},{value:"#8B5A2B",name:"tan 4"},{value:"#FAF0E6",css:!0,name:"linen"},{value:"#FFDAB9",name:"peachpuff 1"},{value:"#FFDAB9",css:!0,name:"peachpuff"},{value:"#EECBAD",name:"peachpuff 2"},{value:"#CDAF95",name:"peachpuff 3"},{value:"#8B7765",name:"peachpuff 4"},{value:"#FFF5EE",name:"seashell 1"},{value:"#FFF5EE",css:!0,name:"seashell"},{value:"#EEE5DE",name:"seashell 2"},{value:"#CDC5BF",name:"seashell 3"},{value:"#8B8682",name:"seashell 4"},{value:"#F4A460",css:!0,name:"sandybrown"},{value:"#C76114",name:"rawsienna"},{value:"#D2691E",css:!0,name:"chocolate"},{value:"#FF7F24",name:"chocolate 1"},{value:"#EE7621",name:"chocolate 2"},{value:"#CD661D",name:"chocolate 3"},{value:"#8B4513",name:"chocolate 4"},{value:"#8B4513",css:!0,name:"saddlebrown"},{value:"#292421",name:"ivoryblack"},{value:"#FF7D40",name:"flesh"},{value:"#FF6103",name:"cadmiumorange"},{value:"#8A360F",name:"burntsienna"},{value:"#A0522D",css:!0,name:"sienna"},{value:"#FF8247",name:"sienna 1"},{value:"#EE7942",name:"sienna 2"},{value:"#CD6839",name:"sienna 3"},{value:"#8B4726",name:"sienna 4"},{value:"#FFA07A",name:"lightsalmon 1"},{value:"#FFA07A",css:!0,name:"lightsalmon"},{value:"#EE9572",name:"lightsalmon 2"},{value:"#CD8162",name:"lightsalmon 3"},{value:"#8B5742",name:"lightsalmon 4"},{value:"#FF7F50",css:!0,name:"coral"},{value:"#FF4500",name:"orangered 1"},{value:"#FF4500",css:!0,name:"orangered"},{value:"#EE4000",name:"orangered 2"},{value:"#CD3700",name:"orangered 3"},{value:"#8B2500",name:"orangered 4"},{value:"#5E2612",name:"sepia"},{value:"#E9967A",css:!0,name:"darksalmon"},{value:"#FF8C69",name:"salmon 1"},{value:"#EE8262",name:"salmon 2"},{value:"#CD7054",name:"salmon 3"},{value:"#8B4C39",name:"salmon 4"},{value:"#FF7256",name:"coral 1"},{value:"#EE6A50",name:"coral 2"},{value:"#CD5B45",name:"coral 3"},{value:"#8B3E2F",name:"coral 4"},{value:"#8A3324",name:"burntumber"},{value:"#FF6347",name:"tomato 1"},{value:"#FF6347",css:!0,name:"tomato"},{value:"#EE5C42",name:"tomato 2"},{value:"#CD4F39",name:"tomato 3"},{value:"#8B3626",name:"tomato 4"},{value:"#FA8072",css:!0,name:"salmon"},{value:"#FFE4E1",name:"mistyrose 1"},{value:"#FFE4E1",css:!0,name:"mistyrose"},{value:"#EED5D2",name:"mistyrose 2"},{value:"#CDB7B5",name:"mistyrose 3"},{value:"#8B7D7B",name:"mistyrose 4"},{value:"#FFFAFA",name:"snow 1"},{value:"#FFFAFA",css:!0,name:"snow"},{value:"#EEE9E9",name:"snow 2"},{value:"#CDC9C9",name:"snow 3"},{value:"#8B8989",name:"snow 4"},{value:"#BC8F8F",css:!0,name:"rosybrown"},{value:"#FFC1C1",name:"rosybrown 1"},{value:"#EEB4B4",name:"rosybrown 2"},{value:"#CD9B9B",name:"rosybrown 3"},{value:"#8B6969",name:"rosybrown 4"},{value:"#F08080",css:!0,name:"lightcoral"},{value:"#CD5C5C",css:!0,name:"indianred"},{value:"#FF6A6A",name:"indianred 1"},{value:"#EE6363",name:"indianred 2"},{value:"#8B3A3A",name:"indianred 4"},{value:"#CD5555",name:"indianred 3"},{value:"#A52A2A",css:!0,name:"brown"},{value:"#FF4040",name:"brown 1"},{value:"#EE3B3B",name:"brown 2"},{value:"#CD3333",name:"brown 3"},{value:"#8B2323",name:"brown 4"},{value:"#B22222",css:!0,name:"firebrick"},{value:"#FF3030",name:"firebrick 1"},{value:"#EE2C2C",name:"firebrick 2"},{value:"#CD2626",name:"firebrick 3"},{value:"#8B1A1A",name:"firebrick 4"},{value:"#FF0000",vga:!0,name:"red 1"},{value:"#FF0000",vga:!0,css:!0,name:"red"},{value:"#EE0000",name:"red 2"},{value:"#CD0000",name:"red 3"},{value:"#8B0000",name:"red 4"},{value:"#8B0000",css:!0,name:"darkred"},{value:"#800000",vga:!0,css:!0,name:"maroon"},{value:"#8E388E",name:"sgi beet"},{value:"#7171C6",name:"sgi slateblue"},{value:"#7D9EC0",name:"sgi lightblue"},{value:"#388E8E",name:"sgi teal"},{value:"#71C671",name:"sgi chartreuse"},{value:"#8E8E38",name:"sgi olivedrab"},{value:"#C5C1AA",name:"sgi brightgray"},{value:"#C67171",name:"sgi salmon"},{value:"#555555",name:"sgi darkgray"},{value:"#1E1E1E",name:"sgi gray 12"},{value:"#282828",name:"sgi gray 16"},{value:"#515151",name:"sgi gray 32"},{value:"#5B5B5B",name:"sgi gray 36"},{value:"#848484",name:"sgi gray 52"},{value:"#8E8E8E",name:"sgi gray 56"},{value:"#AAAAAA",name:"sgi lightgray"},{value:"#B7B7B7",name:"sgi gray 72"},{value:"#C1C1C1",name:"sgi gray 76"},{value:"#EAEAEA",name:"sgi gray 92"},{value:"#F4F4F4",name:"sgi gray 96"},{value:"#FFFFFF",vga:!0,css:!0,name:"white"},{value:"#F5F5F5",name:"white smoke"},{value:"#F5F5F5",name:"gray 96"},{value:"#DCDCDC",css:!0,name:"gainsboro"},{value:"#D3D3D3",css:!0,name:"lightgrey"},{value:"#C0C0C0",vga:!0,css:!0,name:"silver"},{value:"#A9A9A9",css:!0,name:"darkgray"},{value:"#808080",vga:!0,css:!0,name:"gray"},{value:"#696969",css:!0,name:"dimgray"},{value:"#696969",name:"gray 42"},{value:"#000000",vga:!0,css:!0,name:"black"},{value:"#FCFCFC",name:"gray 99"},{value:"#FAFAFA",name:"gray 98"},{value:"#F7F7F7",name:"gray 97"},{value:"#F2F2F2",name:"gray 95"},{value:"#F0F0F0",name:"gray 94"},{value:"#EDEDED",name:"gray 93"},{value:"#EBEBEB",name:"gray 92"},{value:"#E8E8E8",name:"gray 91"},{value:"#E5E5E5",name:"gray 90"},{value:"#E3E3E3",name:"gray 89"},{value:"#E0E0E0",name:"gray 88"},{value:"#DEDEDE",name:"gray 87"},{value:"#DBDBDB",name:"gray 86"},{value:"#D9D9D9",name:"gray 85"},{value:"#D6D6D6",name:"gray 84"},{value:"#D4D4D4",name:"gray 83"},{value:"#D1D1D1",name:"gray 82"},{value:"#CFCFCF",name:"gray 81"},{value:"#CCCCCC",name:"gray 80"},{value:"#C9C9C9",name:"gray 79"},{value:"#C7C7C7",name:"gray 78"},{value:"#C4C4C4",name:"gray 77"},{value:"#C2C2C2",name:"gray 76"},{value:"#BFBFBF",name:"gray 75"},{value:"#BDBDBD",name:"gray 74"},{value:"#BABABA",name:"gray 73"},{value:"#B8B8B8",name:"gray 72"},{value:"#B5B5B5",name:"gray 71"},{value:"#B3B3B3",name:"gray 70"},{value:"#B0B0B0",name:"gray 69"},{value:"#ADADAD",name:"gray 68"},{value:"#ABABAB",name:"gray 67"},{value:"#A8A8A8",name:"gray 66"},{value:"#A6A6A6",name:"gray 65"},{value:"#A3A3A3",name:"gray 64"},{value:"#A1A1A1",name:"gray 63"},{value:"#9E9E9E",name:"gray 62"},{value:"#9C9C9C",name:"gray 61"},{value:"#999999",name:"gray 60"},{value:"#969696",name:"gray 59"},{value:"#949494",name:"gray 58"},{value:"#919191",name:"gray 57"},{value:"#8F8F8F",name:"gray 56"},{value:"#8C8C8C",name:"gray 55"},{value:"#8A8A8A",name:"gray 54"},{value:"#878787",name:"gray 53"},{value:"#858585",name:"gray 52"},{value:"#828282",name:"gray 51"},{value:"#7F7F7F",name:"gray 50"},{value:"#7D7D7D",name:"gray 49"},{value:"#7A7A7A",name:"gray 48"},{value:"#787878",name:"gray 47"},{value:"#757575",name:"gray 46"},{value:"#737373",name:"gray 45"},{value:"#707070",name:"gray 44"},{value:"#6E6E6E",name:"gray 43"},{value:"#666666",name:"gray 40"},{value:"#636363",name:"gray 39"},{value:"#616161",name:"gray 38"},{value:"#5E5E5E",name:"gray 37"},{value:"#5C5C5C",name:"gray 36"},{value:"#595959",name:"gray 35"},{value:"#575757",name:"gray 34"},{value:"#545454",name:"gray 33"},{value:"#525252",name:"gray 32"},{value:"#4F4F4F",name:"gray 31"},{value:"#4D4D4D",name:"gray 30"},{value:"#4A4A4A",name:"gray 29"},{value:"#474747",name:"gray 28"},{value:"#454545",name:"gray 27"},{value:"#424242",name:"gray 26"},{value:"#404040",name:"gray 25"},{value:"#3D3D3D",name:"gray 24"},{value:"#3B3B3B",name:"gray 23"},{value:"#383838",name:"gray 22"},{value:"#363636",name:"gray 21"},{value:"#333333",name:"gray 20"},{value:"#303030",name:"gray 19"},{value:"#2E2E2E",name:"gray 18"},{value:"#2B2B2B",name:"gray 17"},{value:"#292929",name:"gray 16"},{value:"#262626",name:"gray 15"},{value:"#242424",name:"gray 14"},{value:"#212121",name:"gray 13"},{value:"#1F1F1F",name:"gray 12"},{value:"#1C1C1C",name:"gray 11"},{value:"#1A1A1A",name:"gray 10"},{value:"#171717",name:"gray 9"},{value:"#141414",name:"gray 8"},{value:"#121212",name:"gray 7"},{value:"#0F0F0F",name:"gray 6"},{value:"#0D0D0D",name:"gray 5"},{value:"#0A0A0A",name:"gray 4"},{value:"#080808",name:"gray 3"},{value:"#050505",name:"gray 2"},{value:"#030303",name:"gray 1"},{value:"#F5F5F5",css:!0,name:"whitesmoke"}];(function(e){var t=E3,n=t.filter(function(s){return!!s.css}),r=t.filter(function(s){return!!s.vga});e.exports=function(s){var o=e.exports.get(s);return o&&o.value},e.exports.get=function(s){return s=s||"",s=s.trim().toLowerCase(),t.filter(function(o){return o.name.toLowerCase()===s}).pop()},e.exports.all=e.exports.get.all=function(){return t},e.exports.get.css=function(s){return s?(s=s||"",s=s.trim().toLowerCase(),n.filter(function(o){return o.name.toLowerCase()===s}).pop()):n},e.exports.get.vga=function(s){return s?(s=s||"",s=s.trim().toLowerCase(),r.filter(function(o){return o.name.toLowerCase()===s}).pop()):r}})(Lv);var S3=Lv.exports,$3=1/0,A3="[object Symbol]",T3=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Mv="\\ud800-\\udfff",O3="\\u0300-\\u036f\\ufe20-\\ufe23",D3="\\u20d0-\\u20f0",Nv="\\u2700-\\u27bf",Vv="a-z\\xdf-\\xf6\\xf8-\\xff",P3="\\xac\\xb1\\xd7\\xf7",I3="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",F3="\\u2000-\\u206f",R3=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Bv="A-Z\\xc0-\\xd6\\xd8-\\xde",L3="\\ufe0e\\ufe0f",Hv=P3+I3+F3+R3,jv="[']",qp="["+Hv+"]",M3="["+O3+D3+"]",Uv="\\d+",N3="["+Nv+"]",qv="["+Vv+"]",Wv="[^"+Mv+Hv+Uv+Nv+Vv+Bv+"]",V3="\\ud83c[\\udffb-\\udfff]",B3="(?:"+M3+"|"+V3+")",H3="[^"+Mv+"]",Gv="(?:\\ud83c[\\udde6-\\uddff]){2}",Kv="[\\ud800-\\udbff][\\udc00-\\udfff]",Fs="["+Bv+"]",j3="\\u200d",Wp="(?:"+qv+"|"+Wv+")",U3="(?:"+Fs+"|"+Wv+")",Gp="(?:"+jv+"(?:d|ll|m|re|s|t|ve))?",Kp="(?:"+jv+"(?:D|LL|M|RE|S|T|VE))?",Zv=B3+"?",Yv="["+L3+"]?",q3="(?:"+j3+"(?:"+[H3,Gv,Kv].join("|")+")"+Yv+Zv+")*",W3=Yv+Zv+q3,G3="(?:"+[N3,Gv,Kv].join("|")+")"+W3,K3=RegExp([Fs+"?"+qv+"+"+Gp+"(?="+[qp,Fs,"$"].join("|")+")",U3+"+"+Kp+"(?="+[qp,Fs+Wp,"$"].join("|")+")",Fs+"?"+Wp+"+"+Gp,Fs+"+"+Kp,Uv,G3].join("|"),"g"),Z3=/[a-z][A-Z]|[A-Z]{2,}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Y3=typeof rn=="object"&&rn&&rn.Object===Object&&rn,J3=typeof self=="object"&&self&&self.Object===Object&&self,X3=Y3||J3||Function("return this")();function Q3(e){return e.match(T3)||[]}function e6(e){return Z3.test(e)}function t6(e){return e.match(K3)||[]}var n6=Object.prototype,r6=n6.toString,Zp=X3.Symbol,Yp=Zp?Zp.prototype:void 0,Jp=Yp?Yp.toString:void 0;function s6(e){if(typeof e=="string")return e;if(a6(e))return Jp?Jp.call(e):"";var t=e+"";return t=="0"&&1/e==-$3?"-0":t}function o6(e){return!!e&&typeof e=="object"}function a6(e){return typeof e=="symbol"||o6(e)&&r6.call(e)==A3}function i6(e){return e==null?"":s6(e)}function l6(e,t,n){return e=i6(e),t=n?void 0:t,t===void 0?e6(e)?t6(e):Q3(e):e.match(t)||[]}var u6=l6,c6=1/0,d6="[object Symbol]",m6=/^\s+/,cm="\\ud800-\\udfff",Jv="\\u0300-\\u036f\\ufe20-\\ufe23",Xv="\\u20d0-\\u20f0",Qv="\\ufe0e\\ufe0f",f6="["+cm+"]",Hc="["+Jv+Xv+"]",jc="\\ud83c[\\udffb-\\udfff]",p6="(?:"+Hc+"|"+jc+")",e1="[^"+cm+"]",t1="(?:\\ud83c[\\udde6-\\uddff]){2}",n1="[\\ud800-\\udbff][\\udc00-\\udfff]",r1="\\u200d",s1=p6+"?",o1="["+Qv+"]?",h6="(?:"+r1+"(?:"+[e1,t1,n1].join("|")+")"+o1+s1+")*",_6=o1+s1+h6,g6="(?:"+[e1+Hc+"?",Hc,t1,n1,f6].join("|")+")",y6=RegExp(jc+"(?="+jc+")|"+g6+_6,"g"),v6=RegExp("["+r1+cm+Jv+Xv+Qv+"]"),b6=typeof rn=="object"&&rn&&rn.Object===Object&&rn,z6=typeof self=="object"&&self&&self.Object===Object&&self,C6=b6||z6||Function("return this")();function w6(e){return e.split("")}function k6(e,t,n,r){for(var s=e.length,o=n+(r?1:-1);r?o--:++o<s;)if(t(e[o],o,e))return o;return-1}function x6(e,t,n){if(t!==t)return k6(e,E6,n);for(var r=n-1,s=e.length;++r<s;)if(e[r]===t)return r;return-1}function E6(e){return e!==e}function S6(e,t){for(var n=-1,r=e.length;++n<r&&x6(t,e[n],0)>-1;);return n}function $6(e){return v6.test(e)}function Xp(e){return $6(e)?A6(e):w6(e)}function A6(e){return e.match(y6)||[]}var T6=Object.prototype,O6=T6.toString,Qp=C6.Symbol,eh=Qp?Qp.prototype:void 0,th=eh?eh.toString:void 0;function D6(e,t,n){var r=-1,s=e.length;t<0&&(t=-t>s?0:s+t),n=n>s?s:n,n<0&&(n+=s),s=t>n?0:n-t>>>0,t>>>=0;for(var o=Array(s);++r<s;)o[r]=e[r+t];return o}function a1(e){if(typeof e=="string")return e;if(F6(e))return th?th.call(e):"";var t=e+"";return t=="0"&&1/e==-c6?"-0":t}function P6(e,t,n){var r=e.length;return n=n===void 0?r:n,!t&&n>=r?e:D6(e,t,n)}function I6(e){return!!e&&typeof e=="object"}function F6(e){return typeof e=="symbol"||I6(e)&&O6.call(e)==d6}function R6(e){return e==null?"":a1(e)}function L6(e,t,n){if(e=R6(e),e&&(n||t===void 0))return e.replace(m6,"");if(!e||!(t=a1(t)))return e;var r=Xp(e),s=S6(r,Xp(t));return P6(r,s).join("")}var M6=L6,Uc=1/0,N6=9007199254740991,V6=17976931348623157e292,nh=0/0,B6="[object Symbol]",H6=/^\s+|\s+$/g,j6=/^[-+]0x[0-9a-f]+$/i,U6=/^0b[01]+$/i,q6=/^0o[0-7]+$/i,dm="\\ud800-\\udfff",i1="\\u0300-\\u036f\\ufe20-\\ufe23",l1="\\u20d0-\\u20f0",u1="\\ufe0e\\ufe0f",W6="["+dm+"]",qc="["+i1+l1+"]",Wc="\\ud83c[\\udffb-\\udfff]",G6="(?:"+qc+"|"+Wc+")",c1="[^"+dm+"]",d1="(?:\\ud83c[\\udde6-\\uddff]){2}",m1="[\\ud800-\\udbff][\\udc00-\\udfff]",f1="\\u200d",p1=G6+"?",h1="["+u1+"]?",K6="(?:"+f1+"(?:"+[c1,d1,m1].join("|")+")"+h1+p1+")*",Z6=h1+p1+K6,Y6="(?:"+[c1+qc+"?",qc,d1,m1,W6].join("|")+")",Gc=RegExp(Wc+"(?="+Wc+")|"+Y6+Z6,"g"),J6=RegExp("["+f1+dm+i1+l1+u1+"]"),X6=parseInt,Q6=typeof rn=="object"&&rn&&rn.Object===Object&&rn,e4=typeof self=="object"&&self&&self.Object===Object&&self,t4=Q6||e4||Function("return this")(),n4=s4("length");function r4(e){return e.split("")}function s4(e){return function(t){return t==null?void 0:t[e]}}function mm(e){return J6.test(e)}function _1(e){return mm(e)?a4(e):n4(e)}function o4(e){return mm(e)?i4(e):r4(e)}function a4(e){for(var t=Gc.lastIndex=0;Gc.test(e);)t++;return t}function i4(e){return e.match(Gc)||[]}var l4=Object.prototype,u4=l4.toString,rh=t4.Symbol,c4=Math.ceil,d4=Math.floor,sh=rh?rh.prototype:void 0,oh=sh?sh.toString:void 0;function ah(e,t){var n="";if(!e||t<1||t>N6)return n;do t%2&&(n+=e),t=d4(t/2),t&&(e+=e);while(t);return n}function m4(e,t,n){var r=-1,s=e.length;t<0&&(t=-t>s?0:s+t),n=n>s?s:n,n<0&&(n+=s),s=t>n?0:n-t>>>0,t>>>=0;for(var o=Array(s);++r<s;)o[r]=e[r+t];return o}function g1(e){if(typeof e=="string")return e;if(y1(e))return oh?oh.call(e):"";var t=e+"";return t=="0"&&1/e==-Uc?"-0":t}function f4(e,t,n){var r=e.length;return n=n===void 0?r:n,!t&&n>=r?e:m4(e,t,n)}function p4(e,t){t=t===void 0?" ":g1(t);var n=t.length;if(n<2)return n?ah(t,e):t;var r=ah(t,c4(e/_1(t)));return mm(t)?f4(o4(r),0,e).join(""):r.slice(0,e)}function ih(e){var t=typeof e;return!!e&&(t=="object"||t=="function")}function h4(e){return!!e&&typeof e=="object"}function y1(e){return typeof e=="symbol"||h4(e)&&u4.call(e)==B6}function _4(e){if(!e)return e===0?e:0;if(e=y4(e),e===Uc||e===-Uc){var t=e<0?-1:1;return t*V6}return e===e?e:0}function g4(e){var t=_4(e),n=t%1;return t===t?n?t-n:t:0}function y4(e){if(typeof e=="number")return e;if(y1(e))return nh;if(ih(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=ih(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=e.replace(H6,"");var n=U6.test(e);return n||q6.test(e)?X6(e.slice(2),n?2:8):j6.test(e)?nh:+e}function v4(e){return e==null?"":g1(e)}function b4(e,t,n){e=v4(e),t=g4(t);var r=t?_1(e):0;return t&&r<t?e+p4(t-r,n):e}var z4=b4,C4=(e,t,n,r)=>{const s=(e+(r||"")).toString().includes("%");if(typeof e=="string"?[e,t,n,r]=e.match(/(0?\.?\d{1,3})%?\b/g).map(Number):r!==void 0&&(r=parseFloat(r)),typeof e!="number"||typeof t!="number"||typeof n!="number"||e>255||t>255||n>255)throw new TypeError("Expected three numbers below 256");if(typeof r=="number"){if(!s&&r>=0&&r<=1)r=Math.round(255*r);else if(s&&r>=0&&r<=100)r=Math.round(255*r/100);else throw new TypeError(`Expected alpha value (${r}) as a fraction or percentage`);r=(r|256).toString(16).slice(1)}else r="";return(n|t<<8|e<<16|1<<24).toString(16).slice(1)+r};const ya="a-f\\d",w4=`#?[${ya}]{3}[${ya}]?`,k4=`#?[${ya}]{6}([${ya}]{2})?`,x4=new RegExp(`[^#${ya}]`,"gi"),E4=new RegExp(`^${w4}$|^${k4}$`,"i");var S4=(e,t={})=>{if(typeof e!="string"||x4.test(e)||!E4.test(e))throw new TypeError("Expected a valid hex string");e=e.replace(/^#/,"");let n=1;e.length===8&&(n=Number.parseInt(e.slice(6,8),16)/255,e=e.slice(0,6)),e.length===4&&(n=Number.parseInt(e.slice(3,4).repeat(2),16)/255,e=e.slice(0,3)),e.length===3&&(e=e[0]+e[0]+e[1]+e[1]+e[2]+e[2]);const r=Number.parseInt(e,16),s=r>>16,o=r>>8&255,a=r&255,i=typeof t.alpha=="number"?t.alpha:n;if(t.format==="array")return[s,o,a,i];if(t.format==="css"){const l=i===1?"":` / ${Number((i*100).toFixed(2))}%`;return`rgb(${s} ${o} ${a}${l})`}return{red:s,green:o,blue:a,alpha:i}},$4=S3,A4=u6,T4=M6,O4=z4,D4=C4,v1=S4;const Mu=.75,Nu=.25,Vu=16777215,P4=49979693;var I4=function(e){return"#"+L4(String(JSON.stringify(e)))};function F4(e){var t=A4(e),n=[];return t.forEach(function(r){var s=$4(r);s&&n.push(v1(T4(s,"#"),{format:"array"}))}),n}function R4(e){var t=[0,0,0];return e.forEach(function(n){for(var r=0;r<3;r++)t[r]+=n[r]}),[t[0]/e.length,t[1]/e.length,t[2]/e.length]}function L4(e){var t,n=F4(e);n.length>0&&(t=R4(n));var r=1,s=0,o=1;if(e.length>0)for(var a=0;a<e.length;a++)e[a].charCodeAt(0)>s&&(s=e[a].charCodeAt(0)),o=parseInt(Vu/s),r=(r+e[a].charCodeAt(0)*o*P4)%Vu;var i=(r*e.length%Vu).toString(16);i=O4(i,6,i);var l=v1(i,{format:"array"});return t?D4(Nu*l[0]+Mu*t[0],Nu*l[1]+Mu*t[1],Nu*l[2]+Mu*t[2]):i}const M4=Oa(I4);function N4(e){const t=e.replace(/#/,""),n=parseInt(t.substr(0,2),16),r=parseInt(t.substr(2,2),16),s=parseInt(t.substr(4,2),16);return[.299*n,.587*r,.114*s].reduce((a,i)=>a+i)/255>.5}function V4(e){return N4(e)?"#000000":"#ffffff"}function B4(e){const t='<svg width="'+e.width+'" height="'+e.height+'" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 '+e.width+" "+e.height+'" preserveAspectRatio="none"><defs><style type="text/css"> #holder text { fill: '+e.textColor+"; font-family: "+e.fontFamily+"; font-size: "+e.fontSize+"px; font-weight: "+e.fontWeight+'; } </style></defs><g id="holder"> <rect width="100%" height="100%" fill="'+e.backgroundColor+'"></rect> <g> <text text-anchor="middle" x="50%" y="50%" dy=".3em">'+e.caption+"</text> </g></g></svg>";return"data:image/svg+xml;charset=UTF-8,"+encodeURIComponent(t)}function H4(e,t,n){const r=M4(t),s=V4(r),o={width:n.width,height:n.height,textColor:s,backgroundColor:r,caption:e,fontFamily:n.font_family,fontSize:n.font_size,fontWeight:n.font_weight};return B4(o)}const j4={name:"CoverArtwork",props:["artist","album","artwork_url","maxwidth","maxheight"],emits:["click"],data(){return{width:600,height:600,font_family:"sans-serif",font_size:200,font_weight:600,lazy_lifecycle:{error:e=>{e.src=this.dataURI()}}}},computed:{artwork_url_with_size(){return this.maxwidth>0&&this.maxheight>0?M.artwork_url_append_size_params(this.artwork_url,this.maxwidth,this.maxheight):M.artwork_url_append_size_params(this.artwork_url)},alt_text(){return this.artist+" - "+this.album},caption(){return this.album?this.album.substring(0,2):this.artist?this.artist.substring(0,2):""}},methods:{dataURI(){return H4(this.caption,this.alt_text,{width:this.width,height:this.height,font_family:this.font_family,font_size:this.font_size,font_weight:this.font_weight})}}};function U4(e,t,n,r,s,o){const a=Ad("lazy");return w(),$("figure",null,[bt(u("img",{onClick:t[0]||(t[0]=i=>e.$emit("click"))},null,512),[[a,{src:o.artwork_url_with_size,lifecycle:s.lazy_lifecycle}]])])}const On=te(j4,[["render",U4]]),{t:Bu,locale:fm}=Xl.global,b1="GROUP_KEY_NONE";function z1(){return{compareFn:null,groupKeyFn:e=>b1}}function Dn(e,t=!1,n="_"){return{compareFn:t?null:(r,s)=>{const o=r[e]||n,a=s[e]||n;return o.localeCompare(a,fm.value)},groupKeyFn:r=>{const s=(r[e]||n).charAt(0);return s.match(/\p{Letter}/gu)?s.toUpperCase():s.match(/\p{Number}/gu)?"#":"⌘"}}}function pm(e,{direction:t="asc",defaultValue:n=0}){return{compareFn:(r,s)=>{const o=r[e]||n,a=s[e]||n,i=o-a;return t==="asc"?i:i*-1},groupKeyFn:r=>{const s=r[e]||n;return Math.floor(s/10)}}}function gl(e,{direction:t="asc",defaultValue:n="0000"}){return{compareFn:(r,s)=>{const o=r[e]||n,a=s[e]||n,i=o.localeCompare(a,fm.value);return t==="asc"?i:i*-1},groupKeyFn:r=>(r[e]||n).substring(0,4)}}function q4(e,t="0000"){return{compareFn:(n,r)=>{const s=n[e]||t;return(r[e]||t).localeCompare(s,fm.value)},groupKeyFn:n=>{const r=n[e];if(!r)return t;const s=new Date().getTime()-new Date(r).getTime();return s<864e5?Bu("group-by-list.today"):s<6048e5?Bu("group-by-list.last-week"):s<2592e6?Bu("group-by-list.last-month"):r.substring(0,4)}}}class pe{constructor({items:t=[],total:n=0,offset:r=0,limit:s=-1}={}){this.items=t,this.total=n,this.offset=r,this.limit=s,this.count=t.length,this.indexList=[],this.group(z1())}get(){return this.itemsByGroup}isEmpty(){return!this.items||this.items.length<=0}group(t,n=[]){const r=n?this.items.filter(o=>n.every(a=>a(o))):this.items;this.count=r.length;let s=t.compareFn?[...r].sort(t.compareFn):r;this.indexList=[...new Set(s.map(t.groupKeyFn))],this.itemsByGroup=s.reduce((o,a)=>{const i=t.groupKeyFn(a);return o[i]=[...o[i]||[],a],o},{})}[Symbol.iterator](){let t=-1,n=-1;return{next:()=>{if(this.isEmpty())return{done:!0};if(t>=this.indexList.length)return{done:!0};if(t<0&&(++t,n=0,this.indexList[t]!==b1))return{value:{groupKey:this.indexList[t],itemId:this.indexList[t],isItem:!1,item:{}},done:!1};let r=this.indexList[t],s=this.itemsByGroup[r];if(n<s.length){const o=this.itemsByGroup[r][n++];return{value:{groupKey:r,itemId:o.id,isItem:!0,item:o},done:!1}}else return++t,n=0,t<this.indexList.length?(r=this.indexList[t],{value:{groupKey:r,itemId:r,isItem:!1,item:{}},done:!1}):{done:!0}}}}}var C1={exports:{}};(function(e){var t=function(){var n="https://api.spotify.com/v1",r=null,s=null,o=function(m,p){return m.abort=p,m},a=function(m,p){var h;if(s!==null){var _=s.defer();m(function(z){_.resolve(z)},function(z){_.reject(z)}),h=_.promise}else window.Promise&&(h=new window.Promise(m));return h?new o(h,p):null},i=function(){var m=Array.prototype.slice.call(arguments),p=m[0],h=m.slice(1);return p=p||{},h.forEach(function(_){for(var z in _)_.hasOwnProperty(z)&&(p[z]=_[z])}),p},l=function(m,p){var h="";for(var _ in p)if(p.hasOwnProperty(_)){var z=p[_];h+=encodeURIComponent(_)+"="+encodeURIComponent(z)+"&"}return h.length>0&&(h=h.substring(0,h.length-1),m=m+"?"+h),m},c=function(m,p){var h=new XMLHttpRequest,_=function(z,v){function b(T){z&&z(T),p&&p(null,T)}function k(){v&&v(h),p&&p(h,null)}var C=m.type||"GET";if(h.open(C,l(m.url,m.params)),r&&h.setRequestHeader("Authorization","Bearer "+r),h.onreadystatechange=function(){if(h.readyState===4){var T=null;try{T=h.responseText?JSON.parse(h.responseText):""}catch(N){console.error(N)}h.status>=200&&h.status<300?b(T):k()}},C==="GET")h.send(null);else{var x=null;m.postData&&(m.contentType==="image/jpeg"?(x=m.postData,h.setRequestHeader("Content-Type",m.contentType)):(x=JSON.stringify(m.postData),h.setRequestHeader("Content-Type","application/json"))),h.send(x)}};return p?(_(),null):a(_,function(){h.abort()})},d=function(m,p,h,_){var z={},v=null;typeof p=="object"?(z=p,v=h):typeof p=="function"&&(v=p);var b=m.type||"GET";return b!=="GET"&&m.postData&&!_?m.postData=i(m.postData,z):m.params=i(m.params,z),c(m,v)},f=function(){};return f.prototype={constructor:t},f.prototype.getGeneric=function(m,p){var h={url:m};return d(h,p)},f.prototype.getMe=function(m,p){var h={url:n+"/me"};return d(h,m,p)},f.prototype.getMySavedTracks=function(m,p){var h={url:n+"/me/tracks"};return d(h,m,p)},f.prototype.addToMySavedTracks=function(m,p,h){var _={url:n+"/me/tracks",type:"PUT",postData:m};return d(_,p,h)},f.prototype.removeFromMySavedTracks=function(m,p,h){var _={url:n+"/me/tracks",type:"DELETE",postData:m};return d(_,p,h)},f.prototype.containsMySavedTracks=function(m,p,h){var _={url:n+"/me/tracks/contains",params:{ids:m.join(",")}};return d(_,p,h)},f.prototype.getMySavedAlbums=function(m,p){var h={url:n+"/me/albums"};return d(h,m,p)},f.prototype.addToMySavedAlbums=function(m,p,h){var _={url:n+"/me/albums",type:"PUT",postData:m};return d(_,p,h)},f.prototype.removeFromMySavedAlbums=function(m,p,h){var _={url:n+"/me/albums",type:"DELETE",postData:m};return d(_,p,h)},f.prototype.containsMySavedAlbums=function(m,p,h){var _={url:n+"/me/albums/contains",params:{ids:m.join(",")}};return d(_,p,h)},f.prototype.getMyTopArtists=function(m,p){var h={url:n+"/me/top/artists"};return d(h,m,p)},f.prototype.getMyTopTracks=function(m,p){var h={url:n+"/me/top/tracks"};return d(h,m,p)},f.prototype.getMyRecentlyPlayedTracks=function(m,p){var h={url:n+"/me/player/recently-played"};return d(h,m,p)},f.prototype.followUsers=function(m,p){var h={url:n+"/me/following/",type:"PUT",params:{ids:m.join(","),type:"user"}};return d(h,p)},f.prototype.followArtists=function(m,p){var h={url:n+"/me/following/",type:"PUT",params:{ids:m.join(","),type:"artist"}};return d(h,p)},f.prototype.followPlaylist=function(m,p,h){var _={url:n+"/playlists/"+m+"/followers",type:"PUT",postData:{}};return d(_,p,h)},f.prototype.unfollowUsers=function(m,p){var h={url:n+"/me/following/",type:"DELETE",params:{ids:m.join(","),type:"user"}};return d(h,p)},f.prototype.unfollowArtists=function(m,p){var h={url:n+"/me/following/",type:"DELETE",params:{ids:m.join(","),type:"artist"}};return d(h,p)},f.prototype.unfollowPlaylist=function(m,p){var h={url:n+"/playlists/"+m+"/followers",type:"DELETE"};return d(h,p)},f.prototype.isFollowingUsers=function(m,p){var h={url:n+"/me/following/contains",type:"GET",params:{ids:m.join(","),type:"user"}};return d(h,p)},f.prototype.isFollowingArtists=function(m,p){var h={url:n+"/me/following/contains",type:"GET",params:{ids:m.join(","),type:"artist"}};return d(h,p)},f.prototype.areFollowingPlaylist=function(m,p,h){var _={url:n+"/playlists/"+m+"/followers/contains",type:"GET",params:{ids:p.join(",")}};return d(_,h)},f.prototype.getFollowedArtists=function(m,p){var h={url:n+"/me/following",type:"GET",params:{type:"artist"}};return d(h,m,p)},f.prototype.getUser=function(m,p,h){var _={url:n+"/users/"+encodeURIComponent(m)};return d(_,p,h)},f.prototype.getUserPlaylists=function(m,p,h){var _;return typeof m=="string"?_={url:n+"/users/"+encodeURIComponent(m)+"/playlists"}:(_={url:n+"/me/playlists"},h=p,p=m),d(_,p,h)},f.prototype.getPlaylist=function(m,p,h){var _={url:n+"/playlists/"+m};return d(_,p,h)},f.prototype.getPlaylistTracks=function(m,p,h){var _={url:n+"/playlists/"+m+"/tracks"};return d(_,p,h)},f.prototype.getPlaylistCoverImage=function(m,p){var h={url:n+"/playlists/"+m+"/images"};return d(h,p)},f.prototype.createPlaylist=function(m,p,h){var _={url:n+"/users/"+encodeURIComponent(m)+"/playlists",type:"POST",postData:p};return d(_,p,h)},f.prototype.changePlaylistDetails=function(m,p,h){var _={url:n+"/playlists/"+m,type:"PUT",postData:p};return d(_,p,h)},f.prototype.addTracksToPlaylist=function(m,p,h,_){var z={url:n+"/playlists/"+m+"/tracks",type:"POST",postData:{uris:p}};return d(z,h,_,!0)},f.prototype.replaceTracksInPlaylist=function(m,p,h){var _={url:n+"/playlists/"+m+"/tracks",type:"PUT",postData:{uris:p}};return d(_,{},h)},f.prototype.reorderTracksInPlaylist=function(m,p,h,_,z){var v={url:n+"/playlists/"+m+"/tracks",type:"PUT",postData:{range_start:p,insert_before:h}};return d(v,_,z)},f.prototype.removeTracksFromPlaylist=function(m,p,h){var _=p.map(function(v){return typeof v=="string"?{uri:v}:v}),z={url:n+"/playlists/"+m+"/tracks",type:"DELETE",postData:{tracks:_}};return d(z,{},h)},f.prototype.removeTracksFromPlaylistWithSnapshotId=function(m,p,h,_){var z=p.map(function(b){return typeof b=="string"?{uri:b}:b}),v={url:n+"/playlists/"+m+"/tracks",type:"DELETE",postData:{tracks:z,snapshot_id:h}};return d(v,{},_)},f.prototype.removeTracksFromPlaylistInPositions=function(m,p,h,_){var z={url:n+"/playlists/"+m+"/tracks",type:"DELETE",postData:{positions:p,snapshot_id:h}};return d(z,{},_)},f.prototype.uploadCustomPlaylistCoverImage=function(m,p,h){var _={url:n+"/playlists/"+m+"/images",type:"PUT",postData:p.replace(/^data:image\/jpeg;base64,/,""),contentType:"image/jpeg"};return d(_,{},h)},f.prototype.getAlbum=function(m,p,h){var _={url:n+"/albums/"+m};return d(_,p,h)},f.prototype.getAlbumTracks=function(m,p,h){var _={url:n+"/albums/"+m+"/tracks"};return d(_,p,h)},f.prototype.getAlbums=function(m,p,h){var _={url:n+"/albums/",params:{ids:m.join(",")}};return d(_,p,h)},f.prototype.getTrack=function(m,p,h){var _={};return _.url=n+"/tracks/"+m,d(_,p,h)},f.prototype.getTracks=function(m,p,h){var _={url:n+"/tracks/",params:{ids:m.join(",")}};return d(_,p,h)},f.prototype.getArtist=function(m,p,h){var _={url:n+"/artists/"+m};return d(_,p,h)},f.prototype.getArtists=function(m,p,h){var _={url:n+"/artists/",params:{ids:m.join(",")}};return d(_,p,h)},f.prototype.getArtistAlbums=function(m,p,h){var _={url:n+"/artists/"+m+"/albums"};return d(_,p,h)},f.prototype.getArtistTopTracks=function(m,p,h,_){var z={url:n+"/artists/"+m+"/top-tracks",params:{country:p}};return d(z,h,_)},f.prototype.getArtistRelatedArtists=function(m,p,h){var _={url:n+"/artists/"+m+"/related-artists"};return d(_,p,h)},f.prototype.getFeaturedPlaylists=function(m,p){var h={url:n+"/browse/featured-playlists"};return d(h,m,p)},f.prototype.getNewReleases=function(m,p){var h={url:n+"/browse/new-releases"};return d(h,m,p)},f.prototype.getCategories=function(m,p){var h={url:n+"/browse/categories"};return d(h,m,p)},f.prototype.getCategory=function(m,p,h){var _={url:n+"/browse/categories/"+m};return d(_,p,h)},f.prototype.getCategoryPlaylists=function(m,p,h){var _={url:n+"/browse/categories/"+m+"/playlists"};return d(_,p,h)},f.prototype.search=function(m,p,h,_){var z={url:n+"/search/",params:{q:m,type:p.join(",")}};return d(z,h,_)},f.prototype.searchAlbums=function(m,p,h){return this.search(m,["album"],p,h)},f.prototype.searchArtists=function(m,p,h){return this.search(m,["artist"],p,h)},f.prototype.searchTracks=function(m,p,h){return this.search(m,["track"],p,h)},f.prototype.searchPlaylists=function(m,p,h){return this.search(m,["playlist"],p,h)},f.prototype.searchShows=function(m,p,h){return this.search(m,["show"],p,h)},f.prototype.searchEpisodes=function(m,p,h){return this.search(m,["episode"],p,h)},f.prototype.getAudioFeaturesForTrack=function(m,p){var h={};return h.url=n+"/audio-features/"+m,d(h,{},p)},f.prototype.getAudioFeaturesForTracks=function(m,p){var h={url:n+"/audio-features",params:{ids:m}};return d(h,{},p)},f.prototype.getAudioAnalysisForTrack=function(m,p){var h={};return h.url=n+"/audio-analysis/"+m,d(h,{},p)},f.prototype.getRecommendations=function(m,p){var h={url:n+"/recommendations"};return d(h,m,p)},f.prototype.getAvailableGenreSeeds=function(m){var p={url:n+"/recommendations/available-genre-seeds"};return d(p,{},m)},f.prototype.getMyDevices=function(m){var p={url:n+"/me/player/devices"};return d(p,{},m)},f.prototype.getMyCurrentPlaybackState=function(m,p){var h={url:n+"/me/player"};return d(h,m,p)},f.prototype.getMyCurrentPlayingTrack=function(m,p){var h={url:n+"/me/player/currently-playing"};return d(h,m,p)},f.prototype.transferMyPlayback=function(m,p,h){var _=p||{};_.device_ids=m;var z={type:"PUT",url:n+"/me/player",postData:_};return d(z,p,h)},f.prototype.play=function(m,p){m=m||{};var h="device_id"in m?{device_id:m.device_id}:null,_={};["context_uri","uris","offset","position_ms"].forEach(function(b){b in m&&(_[b]=m[b])});var z={type:"PUT",url:n+"/me/player/play",params:h,postData:_},v=typeof m=="function"?m:{};return d(z,v,p)},f.prototype.queue=function(m,p,h){p=p||{};var _="device_id"in p?{uri:m,device_id:p.device_id}:{uri:m},z={type:"POST",url:n+"/me/player/queue",params:_};return d(z,p,h)},f.prototype.pause=function(m,p){m=m||{};var h="device_id"in m?{device_id:m.device_id}:null,_={type:"PUT",url:n+"/me/player/pause",params:h};return d(_,m,p)},f.prototype.skipToNext=function(m,p){m=m||{};var h="device_id"in m?{device_id:m.device_id}:null,_={type:"POST",url:n+"/me/player/next",params:h};return d(_,m,p)},f.prototype.skipToPrevious=function(m,p){m=m||{};var h="device_id"in m?{device_id:m.device_id}:null,_={type:"POST",url:n+"/me/player/previous",params:h};return d(_,m,p)},f.prototype.seek=function(m,p,h){p=p||{};var _={position_ms:m};"device_id"in p&&(_.device_id=p.device_id);var z={type:"PUT",url:n+"/me/player/seek",params:_};return d(z,p,h)},f.prototype.setRepeat=function(m,p,h){p=p||{};var _={state:m};"device_id"in p&&(_.device_id=p.device_id);var z={type:"PUT",url:n+"/me/player/repeat",params:_};return d(z,p,h)},f.prototype.setVolume=function(m,p,h){p=p||{};var _={volume_percent:m};"device_id"in p&&(_.device_id=p.device_id);var z={type:"PUT",url:n+"/me/player/volume",params:_};return d(z,p,h)},f.prototype.setShuffle=function(m,p,h){p=p||{};var _={state:m};"device_id"in p&&(_.device_id=p.device_id);var z={type:"PUT",url:n+"/me/player/shuffle",params:_};return d(z,p,h)},f.prototype.getShow=function(m,p,h){var _={};return _.url=n+"/shows/"+m,d(_,p,h)},f.prototype.getShows=function(m,p,h){var _={url:n+"/shows/",params:{ids:m.join(",")}};return d(_,p,h)},f.prototype.getMySavedShows=function(m,p){var h={url:n+"/me/shows"};return d(h,m,p)},f.prototype.addToMySavedShows=function(m,p,h){var _={url:n+"/me/shows",type:"PUT",postData:m};return d(_,p,h)},f.prototype.removeFromMySavedShows=function(m,p,h){var _={url:n+"/me/shows",type:"DELETE",postData:m};return d(_,p,h)},f.prototype.containsMySavedShows=function(m,p,h){var _={url:n+"/me/shows/contains",params:{ids:m.join(",")}};return d(_,p,h)},f.prototype.getShowEpisodes=function(m,p,h){var _={url:n+"/shows/"+m+"/episodes"};return d(_,p,h)},f.prototype.getEpisode=function(m,p,h){var _={};return _.url=n+"/episodes/"+m,d(_,p,h)},f.prototype.getEpisodes=function(m,p,h){var _={url:n+"/episodes/",params:{ids:m.join(",")}};return d(_,p,h)},f.prototype.getAccessToken=function(){return r},f.prototype.setAccessToken=function(m){r=m},f.prototype.setPromiseImplementation=function(m){var p=!1;try{var h=new m(function(_){_()});typeof h.then=="function"&&typeof h.catch=="function"&&(p=!0)}catch(_){console.error(_)}if(p)s=m;else throw new Error("Unsupported implementation of Promises/A+")},f}();e.exports=t})(C1);var W4=C1.exports;const Gn=Oa(W4),G4={name:"ModalDialogTrack",props:["show","track"],emits:["close","play-count-changed"],data(){return{spotify_track:{}}},watch:{track(){if(this.track&&this.track.data_kind==="spotify"){const e=new Gn;e.setAccessToken(this.$store.state.spotify.webapi_token),e.getTrack(this.track.path.slice(this.track.path.lastIndexOf(":")+1)).then(t=>{this.spotify_track=t})}else this.spotify_track={}}},methods:{play_track(){this.$emit("close"),M.player_play_uri(this.track.uri,!1)},queue_add(){this.$emit("close"),M.queue_add(this.track.uri)},queue_add_next(){this.$emit("close"),M.queue_add_next(this.track.uri)},open_album(){this.$emit("close"),this.track.media_kind==="podcast"?this.$router.push({name:"podcast",params:{id:this.track.album_id}}):this.track.media_kind==="audiobook"?this.$router.push({name:"audiobooks-album",params:{id:this.track.album_id}}):this.$router.push({name:"music-album",params:{id:this.track.album_id}})},open_artist(){this.$emit("close"),this.$router.push({name:"music-artist",params:{id:this.track.album_artist_id}})},open_genre(){this.$router.push({name:"genre-albums",params:{name:this.track.genre},query:{media_kind:this.track.media_kind}})},open_spotify_artist(){this.$emit("close"),this.$router.push({name:"music-spotify-artist",params:{id:this.spotify_track.artists[0].id}})},open_spotify_album(){this.$emit("close"),this.$router.push({name:"music-spotify-album",params:{id:this.spotify_track.album.id}})},mark_new(){M.library_track_update(this.track.id,{play_count:"reset"}).then(()=>{this.$emit("play-count-changed"),this.$emit("close")})},mark_played(){M.library_track_update(this.track.id,{play_count:"increment"}).then(()=>{this.$emit("play-count-changed"),this.$emit("close")})}}},K4={key:0,class:"modal is-active"},Z4={class:"modal-content fd-modal-card"},Y4={class:"card"},J4={class:"card-content"},X4=["textContent"],Q4=["textContent"],e5={key:0,class:"buttons"},t5=["textContent"],n5=["textContent"],r5={class:"content is-small"},s5=["textContent"],o5=["textContent"],a5={key:0},i5=["textContent"],l5=["textContent"],u5={key:1},c5=["textContent"],d5=["textContent"],m5={key:2},f5=["textContent"],p5=["textContent"],h5={key:3},_5=["textContent"],g5=["textContent"],y5={key:4},v5=["textContent"],b5=["textContent"],z5=["textContent"],C5=["textContent"],w5=["textContent"],k5=["textContent"],x5=["textContent"],E5=["textContent"],S5=["textContent"],$5={class:"title is-6"},A5=["textContent"],T5={key:0,class:"has-text-weight-normal"},O5=["textContent"],D5=["textContent"],P5=["textContent"],I5={class:"title is-6"},F5=["textContent"],R5=["textContent"],L5=["textContent"],M5=["textContent"],N5=["textContent"],V5=["textContent"],B5=["textContent"],H5=["textContent"],j5={key:5},U5=["textContent"],q5=["textContent"],W5={class:"card-footer"},G5=["textContent"],K5=["textContent"],Z5=["textContent"];function Y5(e,t,n,r,s,o){const a=S("mdicon");return w(),$("div",null,[y(Dt,{name:"fade"},{default:E(()=>[n.show?(w(),$("div",K4,[u("div",{class:"modal-background",onClick:t[0]||(t[0]=i=>e.$emit("close"))}),u("div",Z4,[u("div",Y4,[u("div",J4,[u("p",{class:"title is-4",textContent:g(n.track.title)},null,8,X4),u("p",{class:"subtitle",textContent:g(n.track.artist)},null,8,Q4),n.track.media_kind==="podcast"?(w(),$("div",e5,[n.track.play_count>0?(w(),$("a",{key:0,class:"button is-small",onClick:t[1]||(t[1]=(...i)=>o.mark_new&&o.mark_new(...i)),textContent:g(e.$t("dialog.track.mark-as-new"))},null,8,t5)):V("",!0),n.track.play_count===0?(w(),$("a",{key:1,class:"button is-small",onClick:t[2]||(t[2]=(...i)=>o.mark_played&&o.mark_played(...i)),textContent:g(e.$t("dialog.track.mark-as-played"))},null,8,n5)):V("",!0)])):V("",!0),u("div",r5,[u("p",null,[u("span",{class:"heading",textContent:g(e.$t("dialog.track.album"))},null,8,s5),u("a",{class:"title is-6 has-text-link",onClick:t[3]||(t[3]=(...i)=>o.open_album&&o.open_album(...i)),textContent:g(n.track.album)},null,8,o5)]),n.track.album_artist&&n.track.media_kind!=="audiobook"?(w(),$("p",a5,[u("span",{class:"heading",textContent:g(e.$t("dialog.track.album-artist"))},null,8,i5),u("a",{class:"title is-6 has-text-link",onClick:t[4]||(t[4]=(...i)=>o.open_artist&&o.open_artist(...i)),textContent:g(n.track.album_artist)},null,8,l5)])):V("",!0),n.track.composer?(w(),$("p",u5,[u("span",{class:"heading",textContent:g(e.$t("dialog.track.composer"))},null,8,c5),u("span",{class:"title is-6",textContent:g(n.track.composer)},null,8,d5)])):V("",!0),n.track.date_released?(w(),$("p",m5,[u("span",{class:"heading",textContent:g(e.$t("dialog.track.release-date"))},null,8,f5),u("span",{class:"title is-6",textContent:g(e.$filters.date(n.track.date_released))},null,8,p5)])):n.track.year>0?(w(),$("p",h5,[u("span",{class:"heading",textContent:g(e.$t("dialog.track.year"))},null,8,_5),u("span",{class:"title is-6",textContent:g(n.track.year)},null,8,g5)])):V("",!0),n.track.genre?(w(),$("p",y5,[u("span",{class:"heading",textContent:g(e.$t("dialog.track.genre"))},null,8,v5),u("a",{class:"title is-6 has-text-link",onClick:t[5]||(t[5]=(...i)=>o.open_genre&&o.open_genre(...i)),textContent:g(n.track.genre)},null,8,b5)])):V("",!0),u("p",null,[u("span",{class:"heading",textContent:g(e.$t("dialog.track.position"))},null,8,z5),u("span",{class:"title is-6",textContent:g([n.track.disc_number,n.track.track_number].join(" / "))},null,8,C5)]),u("p",null,[u("span",{class:"heading",textContent:g(e.$t("dialog.track.duration"))},null,8,w5),u("span",{class:"title is-6",textContent:g(e.$filters.durationInHours(n.track.length_ms))},null,8,k5)]),u("p",null,[u("span",{class:"heading",textContent:g(e.$t("dialog.track.path"))},null,8,x5),u("span",{class:"title is-6",textContent:g(n.track.path)},null,8,E5)]),u("p",null,[u("span",{class:"heading",textContent:g(e.$t("dialog.track.type"))},null,8,S5),u("span",$5,[u("span",{textContent:g([e.$t("media.kind."+n.track.media_kind),e.$t("data.kind."+n.track.data_kind)].join(" - "))},null,8,A5),n.track.data_kind==="spotify"?(w(),$("span",T5,[tt(" ("),u("a",{onClick:t[6]||(t[6]=(...i)=>o.open_spotify_artist&&o.open_spotify_artist(...i)),textContent:g(e.$t("dialog.track.spotify-artist"))},null,8,O5),tt(", "),u("a",{onClick:t[7]||(t[7]=(...i)=>o.open_spotify_album&&o.open_spotify_album(...i)),textContent:g(e.$t("dialog.track.spotify-album"))},null,8,D5),tt(") ")])):V("",!0)])]),u("p",null,[u("span",{class:"heading",textContent:g(e.$t("dialog.track.quality"))},null,8,P5),u("span",I5,[u("span",{textContent:g(n.track.type)},null,8,F5),n.track.samplerate?(w(),$("span",{key:0,textContent:g(e.$t("dialog.track.samplerate",{rate:n.track.samplerate}))},null,8,R5)):V("",!0),n.track.channels?(w(),$("span",{key:1,textContent:g(e.$t("dialog.track.channels",{channels:e.$filters.channels(n.track.channels)}))},null,8,L5)):V("",!0),n.track.bitrate?(w(),$("span",{key:2,textContent:g(e.$t("dialog.track.bitrate",{rate:n.track.bitrate}))},null,8,M5)):V("",!0)])]),u("p",null,[u("span",{class:"heading",textContent:g(e.$t("dialog.track.added-on"))},null,8,N5),u("span",{class:"title is-6",textContent:g(e.$filters.datetime(n.track.time_added))},null,8,V5)]),u("p",null,[u("span",{class:"heading",textContent:g(e.$t("dialog.track.rating"))},null,8,B5),u("span",{class:"title is-6",textContent:g(e.$t("dialog.track.rating-value",{rating:Math.floor(n.track.rating/10)}))},null,8,H5)]),n.track.comment?(w(),$("p",j5,[u("span",{class:"heading",textContent:g(e.$t("dialog.track.comment"))},null,8,U5),u("span",{class:"title is-6",textContent:g(n.track.comment)},null,8,q5)])):V("",!0)])]),u("footer",W5,[u("a",{class:"card-footer-item has-text-dark",onClick:t[8]||(t[8]=(...i)=>o.queue_add&&o.queue_add(...i))},[y(a,{class:"icon",name:"playlist-plus",size:"16"}),u("span",{class:"is-size-7",textContent:g(e.$t("dialog.track.add"))},null,8,G5)]),u("a",{class:"card-footer-item has-text-dark",onClick:t[9]||(t[9]=(...i)=>o.queue_add_next&&o.queue_add_next(...i))},[y(a,{class:"icon",name:"playlist-play",size:"16"}),u("span",{class:"is-size-7",textContent:g(e.$t("dialog.track.add-next"))},null,8,K5)]),u("a",{class:"card-footer-item has-text-dark",onClick:t[10]||(t[10]=(...i)=>o.play_track&&o.play_track(...i))},[y(a,{class:"icon",name:"play",size:"16"}),u("span",{class:"is-size-7",textContent:g(e.$t("dialog.track.play"))},null,8,Z5)])])])]),u("button",{class:"modal-close is-large","aria-label":"close",onClick:t[11]||(t[11]=i=>e.$emit("close"))})])):V("",!0)]),_:1})])}const J5=te(G4,[["render",Y5]]),X5={name:"ProgressBar",props:["max","value"],computed:{width(){return this.value>0&&this.max>0?parseInt(this.value*100/this.max):0},width_percent(){return this.width+"%"}}};function Q5(e,t,n,r,s,o){return o.width>0?(w(),$("div",{key:0,class:"progress-bar",style:ur({width:o.width_percent})},null,4)):V("",!0)}const eD=te(X5,[["render",Q5]]),tD={name:"ListTracks",components:{ModalDialogTrack:J5,ProgressBar:eD},props:["tracks","uris","expression","show_progress","show_icon"],emits:["play-count-changed"],data(){return{show_details_modal:!1,selected_track:{}}},methods:{play_track(e){this.uris?M.player_play_uri(this.uris,!1,this.tracks.items.indexOf(e)):this.expression?M.player_play_expression(this.expression,!1,this.tracks.items.indexOf(e)):M.player_play_uri(e.uri,!1)},open_dialog(e){this.selected_track=e,this.show_details_modal=!0}}},nD={key:0,class:"mt-6 mb-5 py-2"},rD=["id","textContent"],sD=["onClick"],oD={key:0,class:"media-left is-clickable"},aD={class:"media-content is-clickable is-clipped"},iD=["textContent"],lD=["textContent"],uD=["textContent"],cD={class:"media-right"},dD=["onClick"];function mD(e,t,n,r,s,o){const a=S("mdicon"),i=S("progress-bar"),l=S("modal-dialog-track");return w(),$(Ce,null,[(w(!0),$(Ce,null,at(n.tracks,c=>(w(),$(Ce,{key:c.itemId},[c.isItem?(w(),$("div",{key:1,class:ke(["media is-align-items-center",{"with-progress":n.show_progress}]),onClick:d=>o.play_track(c.item)},[n.show_icon?(w(),$("figure",oD,[y(a,{class:"icon",name:"file-outline",size:"16"})])):V("",!0),u("div",aD,[u("h1",{class:ke(["title is-6",{"has-text-grey":c.item.media_kind==="podcast"&&c.item.play_count>0}]),textContent:g(c.item.title)},null,10,iD),u("h2",{class:"subtitle is-7 has-text-grey",textContent:g(c.item.artist)},null,8,lD),u("h2",{class:"subtitle is-7 has-text-grey",textContent:g(c.item.album)},null,8,uD),n.show_progress?(w(),ce(i,{key:0,max:c.item.length_ms,value:c.item.seek_ms},null,8,["max","value"])):V("",!0)]),u("div",cD,[u("a",{onClick:nt(d=>o.open_dialog(c.item),["prevent","stop"])},[y(a,{class:"icon has-text-dark",name:"dots-vertical",size:"16"})],8,dD)])],10,sD)):(w(),$("div",nD,[u("span",{id:"index_"+c.groupKey,class:"tag is-info is-light is-small has-text-weight-bold",textContent:g(c.groupKey)},null,8,rD)]))],64))),128)),(w(),ce(Yr,{to:"#app"},[y(l,{show:s.show_details_modal,track:s.selected_track,onClose:t[0]||(t[0]=c=>s.show_details_modal=!1),onPlayCountChanged:t[1]||(t[1]=c=>e.$emit("play-count-changed"))},null,8,["show","track"])]))],64)}const bn=te(tD,[["render",mD]]),fD={name:"ModalDialogAlbum",components:{CoverArtwork:On},props:["show","album","media_kind","new_tracks"],emits:["close","remove-podcast","play-count-changed"],data(){return{artwork_visible:!1}},computed:{artwork_url(){return M.artwork_url_append_size_params(this.album.artwork_url)},media_kind_resolved(){return this.media_kind?this.media_kind:this.album.media_kind}},methods:{play(){this.$emit("close"),M.player_play_uri(this.album.uri,!1)},queue_add(){this.$emit("close"),M.queue_add(this.album.uri)},queue_add_next(){this.$emit("close"),M.queue_add_next(this.album.uri)},open_album(){this.$emit("close"),this.media_kind_resolved==="podcast"?this.$router.push({name:"podcast",params:{id:this.album.id}}):this.media_kind_resolved==="audiobook"?this.$router.push({name:"audiobooks-album",params:{id:this.album.id}}):this.$router.push({name:"music-album",params:{id:this.album.id}})},open_artist(){this.$emit("close"),this.media_kind_resolved==="audiobook"?this.$router.push({name:"audiobooks-artist",params:{id:this.album.artist_id}}):this.$router.push({name:"music-artist",params:{id:this.album.artist_id}})},mark_played(){M.library_album_track_update(this.album.id,{play_count:"played"}).then(({data:e})=>{this.$emit("play-count-changed"),this.$emit("close")})},artwork_loaded(){this.artwork_visible=!0},artwork_error(){this.artwork_visible=!1}}},pD={key:0,class:"modal is-active"},hD={class:"modal-content fd-modal-card"},_D={class:"card"},gD={class:"card-content"},yD={class:"title is-4"},vD=["textContent"],bD={key:0,class:"buttons"},zD=["textContent"],CD=["textContent"],wD={class:"content is-small"},kD={key:0},xD=["textContent"],ED=["textContent"],SD={key:1},$D=["textContent"],AD=["textContent"],TD={key:2},OD=["textContent"],DD=["textContent"],PD=["textContent"],ID=["textContent"],FD=["textContent"],RD=["textContent"],LD=["textContent"],MD=["textContent"],ND=["textContent"],VD=["textContent"],BD={class:"card-footer"},HD=["textContent"],jD=["textContent"],UD=["textContent"];function qD(e,t,n,r,s,o){const a=S("cover-artwork"),i=S("mdicon");return w(),$("div",null,[y(Dt,{name:"fade"},{default:E(()=>[n.show?(w(),$("div",pD,[u("div",{class:"modal-background",onClick:t[0]||(t[0]=l=>e.$emit("close"))}),u("div",hD,[u("div",_D,[u("div",gD,[y(a,{artwork_url:n.album.artwork_url,artist:n.album.artist,album:n.album.name,class:"fd-has-shadow fd-cover fd-cover-normal-image mb-5"},null,8,["artwork_url","artist","album"]),u("p",yD,[u("a",{class:"has-text-link",onClick:t[1]||(t[1]=(...l)=>o.open_album&&o.open_album(...l)),textContent:g(n.album.name)},null,8,vD)]),o.media_kind_resolved==="podcast"?(w(),$("div",bD,[u("a",{class:"button is-small",onClick:t[2]||(t[2]=(...l)=>o.mark_played&&o.mark_played(...l)),textContent:g(e.$t("dialog.album.mark-as-played"))},null,8,zD),n.album.data_kind==="url"?(w(),$("a",{key:0,class:"button is-small",onClick:t[3]||(t[3]=l=>e.$emit("remove-podcast")),textContent:g(e.$t("dialog.album.remove-podcast"))},null,8,CD)):V("",!0)])):V("",!0),u("div",wD,[n.album.artist?(w(),$("p",kD,[u("span",{class:"heading",textContent:g(e.$t("dialog.album.artist"))},null,8,xD),u("a",{class:"title is-6 has-text-link",onClick:t[4]||(t[4]=(...l)=>o.open_artist&&o.open_artist(...l)),textContent:g(n.album.artist)},null,8,ED)])):V("",!0),n.album.date_released?(w(),$("p",SD,[u("span",{class:"heading",textContent:g(e.$t("dialog.album.release-date"))},null,8,$D),u("span",{class:"title is-6",textContent:g(e.$filters.date(n.album.date_released))},null,8,AD)])):n.album.year>0?(w(),$("p",TD,[u("span",{class:"heading",textContent:g(e.$t("dialog.album.year"))},null,8,OD),u("span",{class:"title is-6",textContent:g(n.album.year)},null,8,DD)])):V("",!0),u("p",null,[u("span",{class:"heading",textContent:g(e.$t("dialog.album.tracks"))},null,8,PD),u("span",{class:"title is-6",textContent:g(n.album.track_count)},null,8,ID)]),u("p",null,[u("span",{class:"heading",textContent:g(e.$t("dialog.album.duration"))},null,8,FD),u("span",{class:"title is-6",textContent:g(e.$filters.durationInHours(n.album.length_ms))},null,8,RD)]),u("p",null,[u("span",{class:"heading",textContent:g(e.$t("dialog.album.type"))},null,8,LD),u("span",{class:"title is-6",textContent:g([e.$t("media.kind."+n.album.media_kind),e.$t("data.kind."+n.album.data_kind)].join(" - "))},null,8,MD)]),u("p",null,[u("span",{class:"heading",textContent:g(e.$t("dialog.album.added-on"))},null,8,ND),u("span",{class:"title is-6",textContent:g(e.$filters.datetime(n.album.time_added))},null,8,VD)])])]),u("footer",BD,[u("a",{class:"card-footer-item has-text-dark",onClick:t[5]||(t[5]=(...l)=>o.queue_add&&o.queue_add(...l))},[y(i,{class:"icon",name:"playlist-plus",size:"16"}),u("span",{class:"is-size-7",textContent:g(e.$t("dialog.album.add"))},null,8,HD)]),u("a",{class:"card-footer-item has-text-dark",onClick:t[6]||(t[6]=(...l)=>o.queue_add_next&&o.queue_add_next(...l))},[y(i,{class:"icon",name:"playlist-play",size:"16"}),u("span",{class:"is-size-7",textContent:g(e.$t("dialog.album.add-next"))},null,8,jD)]),u("a",{class:"card-footer-item has-text-dark",onClick:t[7]||(t[7]=(...l)=>o.play&&o.play(...l))},[y(i,{class:"icon",name:"play",size:"16"}),u("span",{class:"is-size-7",textContent:g(e.$t("dialog.album.play"))},null,8,UD)])])])]),u("button",{class:"modal-close is-large","aria-label":"close",onClick:t[8]||(t[8]=l=>e.$emit("close"))})])):V("",!0)]),_:1})])}const ou=te(fD,[["render",qD]]),oi={load(e){return Promise.all([M.library_album(e.params.id),M.library_album_tracks(e.params.id)])},set(e,t){e.album=t[0].data,e.tracks=new pe(t[1].data)}},WD={name:"PageAlbum",components:{ContentWithHero:su,CoverArtwork:On,ListTracks:bn,ModalDialogAlbum:ou},beforeRouteEnter(e,t,n){oi.load(e).then(r=>{n(s=>oi.set(s,r))})},beforeRouteUpdate(e,t,n){const r=this;oi.load(e).then(s=>{oi.set(r,s),n()})},data(){return{album:{},show_details_modal:!1,tracks:new pe}},methods:{open_artist(){this.show_details_modal=!1,this.$router.push({name:"music-artist",params:{id:this.album.artist_id}})},play(){M.player_play_uri(this.album.uri,!0)}}},GD={class:"fd-page"},KD=["textContent"],ZD={class:"subtitle is-6 has-text-link has-text-weight-normal"},YD=["textContent"],JD={class:"buttons fd-is-centered-mobile mt-5"},XD=["textContent"],QD=["textContent"];function eP(e,t,n,r,s,o){const a=S("mdicon"),i=S("cover-artwork"),l=S("list-tracks"),c=S("modal-dialog-album"),d=S("content-with-hero");return w(),$("div",GD,[y(d,null,{"heading-left":E(()=>[u("h1",{class:"title is-5",textContent:g(s.album.name)},null,8,KD),u("h2",ZD,[u("a",{class:"has-text-link",onClick:t[0]||(t[0]=(...f)=>o.open_artist&&o.open_artist(...f)),textContent:g(s.album.artist)},null,8,YD)]),u("div",JD,[u("a",{class:"button is-small is-dark is-rounded",onClick:t[1]||(t[1]=(...f)=>o.play&&o.play(...f))},[y(a,{class:"icon",name:"shuffle",size:"16"}),u("span",{textContent:g(e.$t("page.album.shuffle"))},null,8,XD)]),u("a",{class:"button is-small is-light is-rounded",onClick:t[2]||(t[2]=f=>s.show_details_modal=!0)},[y(a,{class:"icon",name:"dots-horizontal",size:"16"})])])]),"heading-right":E(()=>[y(i,{artwork_url:s.album.artwork_url,artist:s.album.artist,album:s.album.name,class:"is-clickable fd-has-shadow fd-cover fd-cover-medium-image",onClick:t[3]||(t[3]=f=>s.show_details_modal=!0)},null,8,["artwork_url","artist","album"])]),content:E(()=>[u("p",{class:"heading is-7 has-text-centered-mobile mt-5",textContent:g(e.$t("page.album.track-count",{count:s.album.track_count}))},null,8,QD),y(l,{tracks:s.tracks,uris:s.album.uri},null,8,["tracks","uris"]),y(c,{show:s.show_details_modal,album:s.album,onClose:t[4]||(t[4]=f=>s.show_details_modal=!1)},null,8,["show","album"])]),_:1})])}const tP=te(WD,[["render",eP]]),nP={name:"ListItemTrackSpotify",props:["track","position","context_uri"],methods:{play(){this.track.is_playable&&M.player_play_uri(this.context_uri,!1,this.position)}}},rP={class:"media is-align-items-center"},sP=["textContent"],oP=["textContent"],aP={key:0,class:"subtitle is-7"},iP=["textContent"],lP=["textContent"],uP={class:"media-right"};function cP(e,t,n,r,s,o){return w(),$("div",rP,[u("div",{class:ke(["media-content is-clipped",{"is-clickable":n.track.is_playable,"fd-is-not-allowed":!n.track.is_playable}]),onClick:t[0]||(t[0]=(...a)=>o.play&&o.play(...a))},[u("h1",{class:ke(["title is-6",{"has-text-grey-light":!n.track.is_playable}]),textContent:g(n.track.name)},null,10,sP),u("h2",{class:ke(["subtitle is-7",{"has-text-grey":n.track.is_playable,"has-text-grey-light":!n.track.is_playable}]),textContent:g(n.track.artists[0].name)},null,10,oP),n.track.is_playable?V("",!0):(w(),$("h2",aP,[tt(" ("),u("span",{textContent:g(e.$t("list.spotify.not-playable-track"))},null,8,iP),n.track.restrictions&&n.track.restrictions.reason?(w(),$("span",{key:0,textContent:g(e.$t("list.spotify.restriction-reason",{reason:n.track.restrictions.reason}))},null,8,lP)):V("",!0),tt(") ")]))],2),u("div",uP,[st(e.$slots,"actions")])])}const hm=te(nP,[["render",cP]]),dP={name:"ModalDialogAlbumSpotify",components:{CoverArtwork:On},props:["show","album"],emits:["close"],data(){return{artwork_visible:!1}},computed:{artwork_url(){return this.album.images&&this.album.images.length>0?this.album.images[0].url:""}},methods:{play(){this.$emit("close"),M.player_play_uri(this.album.uri,!1)},queue_add(){this.$emit("close"),M.queue_add(this.album.uri)},queue_add_next(){this.$emit("close"),M.queue_add_next(this.album.uri)},open_album(){this.$emit("close"),this.$router.push({name:"music-spotify-album",params:{id:this.album.id}})},open_artist(){this.$emit("close"),this.$router.push({name:"music-spotify-artist",params:{id:this.album.artists[0].id}})},artwork_loaded(){this.artwork_visible=!0},artwork_error(){this.artwork_visible=!1}}},mP={key:0,class:"modal is-active"},fP={class:"modal-content fd-modal-card"},pP={class:"card"},hP={class:"card-content"},_P={class:"title is-4"},gP=["textContent"],yP={class:"content is-small"},vP=["textContent"],bP=["textContent"],zP=["textContent"],CP=["textContent"],wP=["textContent"],kP=["textContent"],xP={class:"card-footer"},EP=["textContent"],SP=["textContent"],$P=["textContent"];function AP(e,t,n,r,s,o){const a=S("cover-artwork"),i=S("mdicon");return w(),$("div",null,[y(Dt,{name:"fade"},{default:E(()=>[n.show?(w(),$("div",mP,[u("div",{class:"modal-background",onClick:t[0]||(t[0]=l=>e.$emit("close"))}),u("div",fP,[u("div",pP,[u("div",hP,[y(a,{artwork_url:o.artwork_url,artist:n.album.artist,album:n.album.name,class:"fd-has-shadow fd-cover fd-cover-normal-image mb-5",onLoad:o.artwork_loaded,onError:o.artwork_error},null,8,["artwork_url","artist","album","onLoad","onError"]),u("p",_P,[u("a",{class:"has-text-link",onClick:t[1]||(t[1]=(...l)=>o.open_album&&o.open_album(...l)),textContent:g(n.album.name)},null,8,gP)]),u("div",yP,[u("p",null,[u("span",{class:"heading",textContent:g(e.$t("dialog.spotify.album.album-artist"))},null,8,vP),u("a",{class:"title is-6 has-text-link",onClick:t[2]||(t[2]=(...l)=>o.open_artist&&o.open_artist(...l)),textContent:g(n.album.artists[0].name)},null,8,bP)]),u("p",null,[u("span",{class:"heading",textContent:g(e.$t("dialog.spotify.album.release-date"))},null,8,zP),u("span",{class:"title is-6",textContent:g(e.$filters.date(n.album.release_date))},null,8,CP)]),u("p",null,[u("span",{class:"heading",textContent:g(e.$t("dialog.spotify.album.type"))},null,8,wP),u("span",{class:"title is-6",textContent:g(n.album.album_type)},null,8,kP)])])]),u("footer",xP,[u("a",{class:"card-footer-item has-text-dark",onClick:t[3]||(t[3]=(...l)=>o.queue_add&&o.queue_add(...l))},[y(i,{class:"icon",name:"playlist-plus",size:"16"}),u("span",{class:"is-size-7",textContent:g(e.$t("dialog.spotify.album.add"))},null,8,EP)]),u("a",{class:"card-footer-item has-text-dark",onClick:t[4]||(t[4]=(...l)=>o.queue_add_next&&o.queue_add_next(...l))},[y(i,{class:"icon",name:"playlist-play",size:"16"}),u("span",{class:"is-size-7",textContent:g(e.$t("dialog.spotify.album.add-next"))},null,8,SP)]),u("a",{class:"card-footer-item has-text-dark",onClick:t[5]||(t[5]=(...l)=>o.play&&o.play(...l))},[y(i,{class:"icon",name:"play",size:"16"}),u("span",{class:"is-size-7",textContent:g(e.$t("dialog.spotify.album.play"))},null,8,$P)])])])]),u("button",{class:"modal-close is-large","aria-label":"close",onClick:t[6]||(t[6]=l=>e.$emit("close"))})])):V("",!0)]),_:1})])}const Ra=te(dP,[["render",AP]]),TP={name:"ModalDialogTrackSpotify",props:["show","track","album"],emits:["close"],methods:{play(){this.$emit("close"),M.player_play_uri(this.track.uri,!1)},queue_add(){this.$emit("close"),M.queue_add(this.track.uri)},queue_add_next(){this.$emit("close"),M.queue_add_next(this.track.uri)},open_album(){this.$emit("close"),this.$router.push({name:"music-spotify-album",params:{id:this.album.id}})},open_artist(){this.$emit("close"),this.$router.push({name:"music-spotify-artist",params:{id:this.album.artists[0].id}})}}},OP={key:0,class:"modal is-active"},DP={class:"modal-content fd-modal-card"},PP={class:"card"},IP={class:"card-content"},FP=["textContent"],RP=["textContent"],LP={class:"content is-small"},MP=["textContent"],NP=["textContent"],VP=["textContent"],BP=["textContent"],HP=["textContent"],jP=["textContent"],UP=["textContent"],qP=["textContent"],WP=["textContent"],GP=["textContent"],KP=["textContent"],ZP=["textContent"],YP={class:"card-footer"},JP=["textContent"],XP=["textContent"],QP=["textContent"];function eI(e,t,n,r,s,o){const a=S("mdicon");return w(),$("div",null,[y(Dt,{name:"fade"},{default:E(()=>[n.show?(w(),$("div",OP,[u("div",{class:"modal-background",onClick:t[0]||(t[0]=i=>e.$emit("close"))}),u("div",DP,[u("div",PP,[u("div",IP,[u("p",{class:"title is-4",textContent:g(n.track.name)},null,8,FP),u("p",{class:"subtitle",textContent:g(n.track.artists[0].name)},null,8,RP),u("div",LP,[u("p",null,[u("span",{class:"heading",textContent:g(e.$t("dialog.spotify.track.album"))},null,8,MP),u("a",{class:"title is-6 has-text-link",onClick:t[1]||(t[1]=(...i)=>o.open_album&&o.open_album(...i)),textContent:g(n.album.name)},null,8,NP)]),u("p",null,[u("span",{class:"heading",textContent:g(e.$t("dialog.spotify.track.album-artist"))},null,8,VP),u("a",{class:"title is-6 has-text-link",onClick:t[2]||(t[2]=(...i)=>o.open_artist&&o.open_artist(...i)),textContent:g(n.album.artists[0].name)},null,8,BP)]),u("p",null,[u("span",{class:"heading",textContent:g(e.$t("dialog.spotify.track.release-date"))},null,8,HP),u("span",{class:"title is-6",textContent:g(e.$filters.date(n.album.release_date))},null,8,jP)]),u("p",null,[u("span",{class:"heading",textContent:g(e.$t("dialog.spotify.track.position"))},null,8,UP),u("span",{class:"title is-6",textContent:g([n.track.disc_number,n.track.track_number].join(" / "))},null,8,qP)]),u("p",null,[u("span",{class:"heading",textContent:g(e.$t("dialog.spotify.track.duration"))},null,8,WP),u("span",{class:"title is-6",textContent:g(e.$filters.durationInHours(n.track.duration_ms))},null,8,GP)]),u("p",null,[u("span",{class:"heading",textContent:g(e.$t("dialog.spotify.track.path"))},null,8,KP),u("span",{class:"title is-6",textContent:g(n.track.uri)},null,8,ZP)])])]),u("footer",YP,[u("a",{class:"card-footer-item has-text-dark",onClick:t[3]||(t[3]=(...i)=>o.queue_add&&o.queue_add(...i))},[y(a,{class:"icon",name:"playlist-plus",size:"16"}),u("span",{class:"is-size-7",textContent:g(e.$t("dialog.spotify.track.add"))},null,8,JP)]),u("a",{class:"card-footer-item has-text-dark",onClick:t[4]||(t[4]=(...i)=>o.queue_add_next&&o.queue_add_next(...i))},[y(a,{class:"icon",name:"playlist-play",size:"16"}),u("span",{class:"is-size-7",textContent:g(e.$t("dialog.spotify.track.add-next"))},null,8,XP)]),u("a",{class:"card-footer-item has-text-dark",onClick:t[5]||(t[5]=(...i)=>o.play&&o.play(...i))},[y(a,{class:"icon",name:"play",size:"16"}),u("span",{class:"is-size-7",textContent:g(e.$t("dialog.spotify.track.play"))},null,8,QP)])])])]),u("button",{class:"modal-close is-large","aria-label":"close",onClick:t[6]||(t[6]=i=>e.$emit("close"))})])):V("",!0)]),_:1})])}const _m=te(TP,[["render",eI]]),ai={load(e){const t=new Gn;return t.setAccessToken(Ve.state.spotify.webapi_token),t.getAlbum(e.params.id,{market:Ve.state.spotify.webapi_country})},set(e,t){e.album=t}},tI={name:"PageAlbumSpotify",components:{ContentWithHero:su,CoverArtwork:On,ListItemTrackSpotify:hm,ModalDialogAlbumSpotify:Ra,ModalDialogTrackSpotify:_m},beforeRouteEnter(e,t,n){ai.load(e).then(r=>{n(s=>ai.set(s,r))})},beforeRouteUpdate(e,t,n){const r=this;ai.load(e).then(s=>{ai.set(r,s),n()})},data(){return{album:{artists:[{}],tracks:{}},show_track_details_modal:!1,selected_track:{},show_album_details_modal:!1}},computed:{artwork_url(){return this.album.images&&this.album.images.length>0?this.album.images[0].url:""}},methods:{open_artist(){this.$router.push({name:"music-spotify-artist",params:{id:this.album.artists[0].id}})},play(){this.show_details_modal=!1,M.player_play_uri(this.album.uri,!0)},open_track_dialog(e){this.selected_track=e,this.show_track_details_modal=!0}}},nI={class:"fd-page"},rI=["textContent"],sI={class:"subtitle is-6 has-text-link has-text-weight-normal"},oI=["textContent"],aI={class:"buttons fd-is-centered-mobile mt-5"},iI=["textContent"],lI=["textContent"],uI=["onClick"];function cI(e,t,n,r,s,o){const a=S("mdicon"),i=S("cover-artwork"),l=S("list-item-track-spotify"),c=S("modal-dialog-track-spotify"),d=S("modal-dialog-album-spotify"),f=S("content-with-hero");return w(),$("div",nI,[y(f,null,{"heading-left":E(()=>[u("h1",{class:"title is-5",textContent:g(s.album.name)},null,8,rI),u("h2",sI,[u("a",{class:"has-text-link",onClick:t[0]||(t[0]=(...m)=>o.open_artist&&o.open_artist(...m)),textContent:g(s.album.artists[0].name)},null,8,oI)]),u("div",aI,[u("a",{class:"button is-small is-dark is-rounded",onClick:t[1]||(t[1]=(...m)=>o.play&&o.play(...m))},[y(a,{class:"icon",name:"shuffle",size:"16"}),u("span",{textContent:g(e.$t("page.spotify.album.shuffle"))},null,8,iI)]),u("a",{class:"button is-small is-light is-rounded",onClick:t[2]||(t[2]=m=>s.show_album_details_modal=!0)},[y(a,{class:"icon",name:"dots-horizontal",size:"16"})])])]),"heading-right":E(()=>[y(i,{artwork_url:o.artwork_url,artist:s.album.artist,album:s.album.name,class:"is-clickable fd-has-shadow fd-cover fd-cover-medium-image",onClick:t[3]||(t[3]=m=>s.show_album_details_modal=!0)},null,8,["artwork_url","artist","album"])]),content:E(()=>[u("p",{class:"heading is-7 has-text-centered-mobile mt-5",textContent:g(e.$t("page.spotify.album.track-count",{count:s.album.tracks.total}))},null,8,lI),(w(!0),$(Ce,null,at(s.album.tracks.items,(m,p)=>(w(),ce(l,{key:m.id,track:m,position:p,context_uri:s.album.uri},{actions:E(()=>[u("a",{onClick:nt(h=>o.open_track_dialog(m),["prevent","stop"])},[y(a,{class:"icon has-text-dark",name:"dots-vertical",size:"16"})],8,uI)]),_:2},1032,["track","position","context_uri"]))),128)),y(c,{show:s.show_track_details_modal,track:s.selected_track,album:s.album,onClose:t[4]||(t[4]=m=>s.show_track_details_modal=!1)},null,8,["show","track","album"]),y(d,{show:s.show_album_details_modal,album:s.album,onClose:t[5]||(t[5]=m=>s.show_album_details_modal=!1)},null,8,["show","album"])]),_:1})])}const dI=te(tI,[["render",cI]]),mI={name:"ContentWithHeading",data(){return{options_visible:!1}},computed:{icon_name(){return this.options_visible?"chevron-up":"chevron-down"},position(){return{hash:this.options_visible?"#top":"#app"}}},mounted(){this.$slots.options&&(this.observer=new IntersectionObserver(this.onElementObserved,{rootMargin:"-82px 0px 0px 0px",threshold:1}),this.observer.observe(this.$refs.options_ref))},methods:{onElementObserved(e){e.forEach(({target:t,isIntersecting:n})=>{this.options_visible=n})},visibilityChanged(e){this.options_visible=e}}},fI={class:"section"},pI={class:"container"},hI={class:"columns is-centered"},_I={class:"column is-four-fifths"},gI={key:0},yI={ref:"options_ref",style:{height:"1px"}},vI={class:"buttons is-centered mt-4 mb-2"},bI={id:"top",class:"level is-clipped"},zI={class:"level-left is-flex-shrink-1"},CI={class:"level-item is-flex-shrink-1 has-text-centered-mobile"},wI={class:"level-right has-text-centered-mobile"},kI={class:"mt-4"};function xI(e,t,n,r,s,o){const a=S("mdicon"),i=S("router-link");return w(),$("section",fI,[u("div",pI,[u("div",hI,[u("div",_I,[e.$slots.options?(w(),$("section",gI,[u("div",yI,null,512),st(e.$slots,"options"),u("nav",vI,[y(i,{class:"button is-small is-white",to:o.position},{default:E(()=>[y(a,{class:"icon is-small",name:o.icon_name,size:"16"},null,8,["name"])]),_:1},8,["to"])])])):V("",!0),u("div",{class:ke({"fd-content-with-option":e.$slots.options})},[u("nav",bI,[u("div",zI,[u("div",CI,[u("div",null,[st(e.$slots,"heading-left")])])]),u("div",wI,[st(e.$slots,"heading-right")])]),st(e.$slots,"content"),u("div",kI,[st(e.$slots,"footer")])],2)])])])])}const Je=te(mI,[["render",xI]]),EI={name:"ControlDropdown",props:["value","options"],emits:["update:value"],data(){return{is_active:!1}},computed:{option:{get(){return this.options.find(e=>e.id===this.value)}}},methods:{onClickOutside(e){this.is_active=!1},select(e){this.is_active=!1,this.$emit("update:value",e.id)}}},SI={class:"dropdown-trigger"},$I=["textContent"],AI={id:"dropdown",class:"dropdown-menu",role:"menu"},TI={class:"dropdown-content"},OI=["onClick","textContent"];function DI(e,t,n,r,s,o){const a=S("mdicon"),i=Ad("click-away");return bt((w(),$("div",{class:ke(["dropdown",{"is-active":s.is_active}])},[u("div",SI,[u("button",{class:"button","aria-haspopup":"true","aria-controls":"dropdown",onClick:t[0]||(t[0]=l=>s.is_active=!s.is_active)},[u("span",{textContent:g(o.option.name)},null,8,$I),y(a,{class:"icon",name:"chevron-down",size:"16"})])]),u("div",AI,[u("div",TI,[(w(!0),$(Ce,null,at(n.options,l=>(w(),$("a",{key:l.id,class:ke(["dropdown-item",{"is-active":n.value===l.id}]),onClick:c=>o.select(l),textContent:g(l.name)},null,10,OI))),128))])])],2)),[[i,o.onClickOutside]])}const Cs=te(EI,[["render",DI]]),PI={name:"IndexButtonList",props:["index"]},II={class:"buttons is-centered mb-4 fd-is-square"};function FI(e,t,n,r,s,o){const a=S("router-link");return w(),$("section",null,[u("nav",II,[(w(!0),$(Ce,null,at(n.index,i=>(w(),ce(a,{key:i,class:"button is-small",to:"#index_"+i},{default:E(()=>[tt(g(i),1)]),_:2},1032,["to"]))),128))])])}const Kn=te(PI,[["render",FI]]),RI={name:"ListAlbums",components:{CoverArtwork:On,ModalDialog:em,ModalDialogAlbum:ou},props:["albums","media_kind","hide_group_title"],emits:["play-count-changed","podcast-deleted"],data(){return{show_details_modal:!1,selected_album:{},show_remove_podcast_modal:!1,rss_playlist_to_remove:{}}},computed:{is_visible_artwork(){return this.$store.getters.settings_option("webinterface","show_cover_artwork_in_album_lists").value},media_kind_resolved(){return this.media_kind?this.media_kind:this.selected_album.media_kind}},methods:{open_album(e){this.selected_album=e,this.media_kind_resolved==="podcast"?this.$router.push({name:"podcast",params:{id:e.id}}):this.media_kind_resolved==="audiobook"?this.$router.push({name:"audiobooks-album",params:{id:e.id}}):this.$router.push({name:"music-album",params:{id:e.id}})},open_dialog(e){this.selected_album=e,this.show_details_modal=!0},open_remove_podcast_dialog(){M.library_album_tracks(this.selected_album.id,{limit:1}).then(({data:e})=>{M.library_track_playlists(e.items[0].id).then(({data:t})=>{this.rss_playlist_to_remove=t.items.filter(n=>n.type==="rss")[0],this.show_remove_podcast_modal=!0,this.show_details_modal=!1})})},play_count_changed(){this.$emit("play-count-changed")},remove_podcast(){this.show_remove_podcast_modal=!1,M.library_playlist_delete(this.rss_playlist_to_remove.id).then(()=>{this.$emit("podcast-deleted")})}}},LI={key:0,class:"mt-6 mb-5 py-2"},MI=["id","textContent"],NI=["onClick"],VI={key:0,class:"media-left"},BI={class:"media-content is-clickable is-clipped"},HI=["textContent"],jI={class:"subtitle is-7 has-text-grey"},UI=["textContent"],qI=["textContent"],WI={class:"media-right"},GI=["onClick"],KI=["textContent"],ZI={class:"is-size-7"},YI=["textContent"],JI=["textContent"];function XI(e,t,n,r,s,o){const a=S("cover-artwork"),i=S("mdicon"),l=S("modal-dialog-album"),c=S("modal-dialog");return w(),$(Ce,null,[(w(!0),$(Ce,null,at(n.albums,d=>(w(),$(Ce,{key:d.itemId},[!d.isItem&&!n.hide_group_title?(w(),$("div",LI,[u("span",{id:"index_"+d.groupKey,class:"tag is-info is-light is-small has-text-weight-bold",textContent:g(d.groupKey)},null,8,MI)])):d.isItem?(w(),$("div",{key:1,class:"media is-align-items-center",onClick:f=>o.open_album(d.item)},[o.is_visible_artwork?(w(),$("div",VI,[y(a,{artwork_url:d.item.artwork_url,artist:d.item.artist,album:d.item.name,class:"is-clickable fd-has-shadow fd-cover fd-cover-small-image"},null,8,["artwork_url","artist","album"])])):V("",!0),u("div",BI,[u("div",null,[u("h1",{class:"title is-6",textContent:g(d.item.name)},null,8,HI),u("h2",jI,[u("b",{textContent:g(d.item.artist)},null,8,UI)]),d.item.date_released&&d.item.media_kind==="music"?(w(),$("h2",{key:0,class:"subtitle is-7 has-text-grey has-text-weight-normal",textContent:g(e.$filters.date(d.item.date_released))},null,8,qI)):V("",!0)])]),u("div",WI,[u("a",{onClick:nt(f=>o.open_dialog(d.item),["prevent","stop"])},[y(i,{class:"icon has-text-dark",name:"dots-vertical",size:"16"})],8,GI)])],8,NI)):V("",!0)],64))),128)),(w(),ce(Yr,{to:"#app"},[y(l,{show:s.show_details_modal,album:s.selected_album,media_kind:n.media_kind,onRemovePodcast:t[0]||(t[0]=d=>o.open_remove_podcast_dialog()),onPlayCountChanged:t[1]||(t[1]=d=>o.play_count_changed()),onClose:t[2]||(t[2]=d=>s.show_details_modal=!1)},null,8,["show","album","media_kind"]),y(c,{show:s.show_remove_podcast_modal,title:e.$t("page.podcast.remove-podcast"),delete_action:e.$t("page.podcast.remove"),onClose:t[3]||(t[3]=d=>s.show_remove_podcast_modal=!1),onDelete:o.remove_podcast},{"modal-content":E(()=>[u("p",{textContent:g(e.$t("list.albums.info-1"))},null,8,KI),u("p",ZI,[tt(" ("),u("span",{textContent:g(e.$t("list.albums.info-2"))},null,8,YI),u("b",{textContent:g(s.rss_playlist_to_remove.name)},null,8,JI),tt(") ")])]),_:1},8,["show","title","delete_action","onDelete"])]))],64)}const dr=te(RI,[["render",XI]]),QI={name:"TabsMusic",computed:{spotify_enabled(){return this.$store.state.spotify.webapi_token_valid}}},eF={class:"section fd-tabs-section"},tF={class:"container"},nF={class:"columns is-centered"},rF={class:"column is-four-fifths"},sF={class:"tabs is-centered is-small"},oF=["onClick","onKeypress"],aF=["textContent"],iF=["onClick","onKeypress"],lF=["textContent"],uF=["onClick","onKeypress"],cF=["textContent"],dF=["onClick","onKeypress"],mF=["textContent"],fF=["onClick","onKeypress"],pF=["textContent"],hF=["onClick","onKeypress"],_F=["textContent"];function gF(e,t,n,r,s,o){const a=S("mdicon"),i=S("router-link");return w(),$("section",eF,[u("div",tF,[u("div",nF,[u("div",rF,[u("div",sF,[u("ul",null,[y(i,{to:{name:"music-history"},custom:""},{default:E(({navigate:l,isActive:c})=>[u("li",{class:ke({"is-active":c})},[u("a",{onClick:l,onKeypress:tn(l,["enter"])},[y(a,{class:"icon is-small",name:"history",size:"16"}),u("span",{textContent:g(e.$t("page.music.tabs.history"))},null,8,aF)],40,oF)],2)]),_:1}),y(i,{to:{name:"music-artists"},custom:""},{default:E(({navigate:l,isActive:c})=>[u("li",{class:ke({"is-active":c})},[u("a",{onClick:l,onKeypress:tn(l,["enter"])},[y(a,{class:"icon is-small",name:"account-music",size:"16"}),u("span",{textContent:g(e.$t("page.music.tabs.artists"))},null,8,lF)],40,iF)],2)]),_:1}),y(i,{to:{name:"music-albums"},custom:""},{default:E(({navigate:l,isActive:c})=>[u("li",{class:ke({"is-active":c})},[u("a",{onClick:l,onKeypress:tn(l,["enter"])},[y(a,{class:"icon is-small",name:"album",size:"16"}),u("span",{textContent:g(e.$t("page.music.tabs.albums"))},null,8,cF)],40,uF)],2)]),_:1}),y(i,{to:{name:"music-genres"},custom:""},{default:E(({navigate:l,isActive:c})=>[u("li",{class:ke({"is-active":c})},[u("a",{onClick:l,onKeypress:tn(l,["enter"])},[y(a,{class:"icon is-small",name:"speaker",size:"16"}),u("span",{textContent:g(e.$t("page.music.tabs.genres"))},null,8,mF)],40,dF)],2)]),_:1}),y(i,{to:{name:"music-composers"},custom:""},{default:E(({navigate:l,isActive:c})=>[u("li",{class:ke({"is-active":c})},[u("a",{onClick:l,onKeypress:tn(l,["enter"])},[y(a,{class:"icon is-small",name:"book-open-page-variant",size:"16"}),u("span",{textContent:g(e.$t("page.music.tabs.composers"))},null,8,pF)],40,fF)],2)]),_:1}),o.spotify_enabled?(w(),ce(i,{key:0,to:{name:"music-spotify"},custom:""},{default:E(({navigate:l,isActive:c})=>[u("li",{class:ke({"is-active":c})},[u("a",{onClick:l,onKeypress:tn(l,["enter"])},[y(a,{class:"icon is-small",name:"spotify",size:"16"}),u("span",{textContent:g(e.$t("page.music.tabs.spotify"))},null,8,_F)],40,hF)],2)]),_:1})):V("",!0)])])])])])])}const mr=te(QI,[["render",gF]]),ii={load(e){return M.library_albums("music")},set(e,t){e.albums_list=new pe(t.data)}},yF={name:"PageAlbums",components:{ContentWithHeading:Je,ControlDropdown:Cs,IndexButtonList:Kn,ListAlbums:dr,TabsMusic:mr},beforeRouteEnter(e,t,n){ii.load(e).then(r=>{n(s=>ii.set(s,r))})},beforeRouteUpdate(e,t,n){if(!this.albums_list.isEmpty()){n();return}const r=this;ii.load(e).then(s=>{ii.set(r,s),n()})},data(){return{albums_list:new pe,groupby_options:[{id:1,name:this.$t("page.albums.sort-by.name"),options:Dn("name_sort",!0)},{id:2,name:this.$t("page.albums.sort-by.recently-added"),options:gl("time_added",{direction:"desc"})},{id:3,name:this.$t("page.albums.sort-by.recently-released"),options:gl("date_released",{direction:"desc"})}]}},computed:{albums(){const e=this.groupby_options.find(t=>t.id===this.selected_groupby_option_id);return this.albums_list.group(e.options,[t=>!this.hide_singles||t.track_count>2,t=>!this.hide_spotify||t.data_kind!=="spotify"]),this.albums_list},selected_groupby_option_id:{get(){return this.$store.state.albums_sort},set(e){this.$store.commit(Mh,e)}},spotify_enabled(){return this.$store.state.spotify.webapi_token_valid},hide_singles:{get(){return this.$store.state.hide_singles},set(e){this.$store.commit(kl,e)}},hide_spotify:{get(){return this.$store.state.hide_spotify},set(e){this.$store.commit(od,e)}}}},vF={class:"fd-page-with-tabs"},bF={class:"columns"},zF={class:"column"},CF=["textContent"],wF={class:"field"},kF={class:"control"},xF=["textContent"],EF=["textContent"],SF={key:0,class:"field"},$F={class:"control"},AF=["textContent"],TF=["textContent"],OF={class:"column"},DF=["textContent"],PF=["textContent"],IF=["textContent"];function FF(e,t,n,r,s,o){const a=S("tabs-music"),i=S("index-button-list"),l=S("control-dropdown"),c=S("list-albums"),d=S("content-with-heading");return w(),$("div",vF,[y(a),y(d,null,{options:E(()=>[y(i,{index:o.albums.indexList},null,8,["index"]),u("div",bF,[u("div",zF,[u("p",{class:"heading mb-5",textContent:g(e.$t("page.albums.filter"))},null,8,CF),u("div",wF,[u("div",kF,[bt(u("input",{id:"switchHideSingles","onUpdate:modelValue":t[0]||(t[0]=f=>o.hide_singles=f),type:"checkbox",class:"switch is-rounded"},null,512),[[ir,o.hide_singles]]),u("label",{for:"switchHideSingles",textContent:g(e.$t("page.albums.hide-singles"))},null,8,xF)]),u("p",{class:"help",textContent:g(e.$t("page.albums.hide-singles-help"))},null,8,EF)]),o.spotify_enabled?(w(),$("div",SF,[u("div",$F,[bt(u("input",{id:"switchHideSpotify","onUpdate:modelValue":t[1]||(t[1]=f=>o.hide_spotify=f),type:"checkbox",class:"switch is-rounded"},null,512),[[ir,o.hide_spotify]]),u("label",{for:"switchHideSpotify",textContent:g(e.$t("page.albums.hide-spotify"))},null,8,AF)]),u("p",{class:"help",textContent:g(e.$t("page.albums.hide-spotify-help"))},null,8,TF)])):V("",!0)]),u("div",OF,[u("p",{class:"heading mb-5",textContent:g(e.$t("page.albums.sort-by.title"))},null,8,DF),y(l,{value:o.selected_groupby_option_id,"onUpdate:value":t[2]||(t[2]=f=>o.selected_groupby_option_id=f),options:s.groupby_options},null,8,["value","options"])])])]),"heading-left":E(()=>[u("p",{class:"title is-4",textContent:g(e.$t("page.albums.title"))},null,8,PF),u("p",{class:"heading",textContent:g(e.$t("page.albums.count",{count:o.albums.count}))},null,8,IF)]),"heading-right":E(()=>[]),content:E(()=>[y(c,{albums:o.albums},null,8,["albums"])]),_:1})])}const RF=te(yF,[["render",FF]]),LF={name:"ModalDialogArtist",props:["show","artist"],emits:["close"],methods:{play(){this.$emit("close"),M.player_play_uri(this.artist.uri,!1)},queue_add(){this.$emit("close"),M.queue_add(this.artist.uri)},queue_add_next(){this.$emit("close"),M.queue_add_next(this.artist.uri)},open_artist(){this.$emit("close"),this.$router.push({name:"music-artist",params:{id:this.artist.id}})}}},MF={key:0,class:"modal is-active"},NF={class:"modal-content fd-modal-card"},VF={class:"card"},BF={class:"card-content"},HF={class:"title is-4"},jF=["textContent"],UF={class:"content is-small"},qF=["textContent"],WF=["textContent"],GF=["textContent"],KF=["textContent"],ZF=["textContent"],YF=["textContent"],JF=["textContent"],XF=["textContent"],QF={class:"card-footer"},eR=["textContent"],tR=["textContent"],nR=["textContent"];function rR(e,t,n,r,s,o){const a=S("mdicon");return w(),$("div",null,[y(Dt,{name:"fade"},{default:E(()=>[n.show?(w(),$("div",MF,[u("div",{class:"modal-background",onClick:t[0]||(t[0]=i=>e.$emit("close"))}),u("div",NF,[u("div",VF,[u("div",BF,[u("p",HF,[u("a",{class:"has-text-link",onClick:t[1]||(t[1]=(...i)=>o.open_artist&&o.open_artist(...i)),textContent:g(n.artist.name)},null,8,jF)]),u("div",UF,[u("p",null,[u("span",{class:"heading",textContent:g(e.$t("dialog.artist.albums"))},null,8,qF),u("span",{class:"title is-6",textContent:g(n.artist.album_count)},null,8,WF)]),u("p",null,[u("span",{class:"heading",textContent:g(e.$t("dialog.artist.tracks"))},null,8,GF),u("span",{class:"title is-6",textContent:g(n.artist.track_count)},null,8,KF)]),u("p",null,[u("span",{class:"heading",textContent:g(e.$t("dialog.artist.type"))},null,8,ZF),u("span",{class:"title is-6",textContent:g(e.$t("data.kind."+n.artist.data_kind))},null,8,YF)]),u("p",null,[u("span",{class:"heading",textContent:g(e.$t("dialog.artist.added-on"))},null,8,JF),u("span",{class:"title is-6",textContent:g(e.$filters.datetime(n.artist.time_added))},null,8,XF)])])]),u("footer",QF,[u("a",{class:"card-footer-item has-text-dark",onClick:t[2]||(t[2]=(...i)=>o.queue_add&&o.queue_add(...i))},[y(a,{class:"icon",name:"playlist-plus",size:"16"}),u("span",{class:"is-size-7",textContent:g(e.$t("dialog.artist.add"))},null,8,eR)]),u("a",{class:"card-footer-item has-text-dark",onClick:t[3]||(t[3]=(...i)=>o.queue_add_next&&o.queue_add_next(...i))},[y(a,{class:"icon",name:"playlist-play",size:"16"}),u("span",{class:"is-size-7",textContent:g(e.$t("dialog.artist.add-next"))},null,8,tR)]),u("a",{class:"card-footer-item has-text-dark",onClick:t[4]||(t[4]=(...i)=>o.play&&o.play(...i))},[y(a,{class:"icon",name:"play",size:"16"}),u("span",{class:"is-size-7",textContent:g(e.$t("dialog.artist.play"))},null,8,nR)])])])]),u("button",{class:"modal-close is-large","aria-label":"close",onClick:t[5]||(t[5]=i=>e.$emit("close"))})])):V("",!0)]),_:1})])}const au=te(LF,[["render",rR]]),li={load(e){return Promise.all([M.library_artist(e.params.id),M.library_artist_albums(e.params.id)])},set(e,t){e.artist=t[0].data,e.albums_list=new pe(t[1].data)}},sR={name:"PageArtist",components:{ContentWithHeading:Je,ControlDropdown:Cs,ListAlbums:dr,ModalDialogArtist:au},beforeRouteEnter(e,t,n){li.load(e).then(r=>{n(s=>li.set(s,r))})},beforeRouteUpdate(e,t,n){const r=this;li.load(e).then(s=>{li.set(r,s),n()})},data(){return{artist:{},albums_list:new pe,groupby_options:[{id:1,name:this.$t("page.artist.sort-by.name"),options:Dn("name_sort",!0)},{id:2,name:this.$t("page.artist.sort-by.release-date"),options:gl("date_released",{direction:"asc"})}],show_artist_details_modal:!1}},computed:{albums(){const e=this.groupby_options.find(t=>t.id===this.selected_groupby_option_id);return this.albums_list.group(e.options),this.albums_list},selected_groupby_option_id:{get(){return this.$store.state.artist_albums_sort},set(e){this.$store.commit(Rh,e)}}},methods:{open_tracks(){this.$router.push({name:"music-artist-tracks",params:{id:this.artist.id}})},play(){M.player_play_uri(this.albums.items.map(e=>e.uri).join(","),!0)}}},oR={class:"fd-page"},aR={class:"columns"},iR={class:"column"},lR=["textContent"],uR=["textContent"],cR={class:"buttons is-centered"},dR=["textContent"],mR={class:"heading has-text-centered-mobile"},fR=["textContent"],pR=u("span",null," | ",-1),hR=["textContent"];function _R(e,t,n,r,s,o){const a=S("control-dropdown"),i=S("mdicon"),l=S("list-albums"),c=S("modal-dialog-artist"),d=S("content-with-heading");return w(),$("div",oR,[y(d,null,{options:E(()=>[u("div",aR,[u("div",iR,[u("p",{class:"heading mb-5",textContent:g(e.$t("page.artist.sort-by.title"))},null,8,lR),y(a,{value:o.selected_groupby_option_id,"onUpdate:value":t[0]||(t[0]=f=>o.selected_groupby_option_id=f),options:s.groupby_options},null,8,["value","options"])])])]),"heading-left":E(()=>[u("p",{class:"title is-4",textContent:g(s.artist.name)},null,8,uR)]),"heading-right":E(()=>[u("div",cR,[u("a",{class:"button is-small is-light is-rounded",onClick:t[1]||(t[1]=f=>s.show_artist_details_modal=!0)},[y(i,{class:"icon",name:"dots-horizontal",size:"16"})]),u("a",{class:"button is-small is-dark is-rounded",onClick:t[2]||(t[2]=(...f)=>o.play&&o.play(...f))},[y(i,{class:"icon",name:"shuffle",size:"16"}),u("span",{textContent:g(e.$t("page.artist.shuffle"))},null,8,dR)])])]),content:E(()=>[u("p",mR,[u("span",{textContent:g(e.$t("page.artist.album-count",{count:s.artist.album_count}))},null,8,fR),pR,u("a",{class:"has-text-link",onClick:t[3]||(t[3]=(...f)=>o.open_tracks&&o.open_tracks(...f)),textContent:g(e.$t("page.artist.track-count",{count:s.artist.track_count}))},null,8,hR)]),y(l,{albums:o.albums,hide_group_title:!0},null,8,["albums"]),y(c,{show:s.show_artist_details_modal,artist:s.artist,onClose:t[4]||(t[4]=f=>s.show_artist_details_modal=!1)},null,8,["show","artist"])]),_:1})])}const gR=te(sR,[["render",_R]]),yR={name:"ListItemAlbumSpotify",props:["album"]},vR={class:"media is-align-items-center"},bR={key:0,class:"media-left is-clickable"},zR={class:"media-content is-clickable is-clipped"},CR=["textContent"],wR={class:"subtitle is-7 has-text-grey"},kR=["textContent"],xR=["textContent"],ER={class:"media-right"};function SR(e,t,n,r,s,o){return w(),$("div",vR,[e.$slots.artwork?(w(),$("div",bR,[st(e.$slots,"artwork")])):V("",!0),u("div",zR,[u("h1",{class:"title is-6",textContent:g(n.album.name)},null,8,CR),u("h2",wR,[u("b",{textContent:g(n.album.artists[0].name)},null,8,kR)]),u("h2",{class:"subtitle is-7 has-text-grey has-text-weight-normal",textContent:g([n.album.album_type,e.$filters.date(n.album.release_date)].join(", "))},null,8,xR)]),u("div",ER,[st(e.$slots,"actions")])])}const iu=te(yR,[["render",SR]]),$R={name:"ModalDialogArtistSpotify",props:["show","artist"],emits:["close"],methods:{play(){this.$emit("close"),M.player_play_uri(this.artist.uri,!1)},queue_add(){this.$emit("close"),M.queue_add(this.artist.uri)},queue_add_next(){this.$emit("close"),M.queue_add_next(this.artist.uri)},open_artist(){this.$emit("close"),this.$router.push({name:"music-spotify-artist",params:{id:this.artist.id}})}}},AR={key:0,class:"modal is-active"},TR={class:"modal-content fd-modal-card"},OR={class:"card"},DR={class:"card-content"},PR={class:"title is-4"},IR=["textContent"],FR={class:"content is-small"},RR=["textContent"],LR=["textContent"],MR=["textContent"],NR=["textContent"],VR={class:"card-footer"},BR=["textContent"],HR=["textContent"],jR=["textContent"];function UR(e,t,n,r,s,o){const a=S("mdicon");return w(),$("div",null,[y(Dt,{name:"fade"},{default:E(()=>[n.show?(w(),$("div",AR,[u("div",{class:"modal-background",onClick:t[0]||(t[0]=i=>e.$emit("close"))}),u("div",TR,[u("div",OR,[u("div",DR,[u("p",PR,[u("a",{class:"has-text-link",onClick:t[1]||(t[1]=(...i)=>o.open_artist&&o.open_artist(...i)),textContent:g(n.artist.name)},null,8,IR)]),u("div",FR,[u("p",null,[u("span",{class:"heading",textContent:g(e.$t("dialog.spotify.artist.popularity"))},null,8,RR),u("span",{class:"title is-6",textContent:g([n.artist.popularity,n.artist.followers.total].join(" / "))},null,8,LR)]),u("p",null,[u("span",{class:"heading",textContent:g(e.$t("dialog.spotify.artist.genres"))},null,8,MR),u("span",{class:"title is-6",textContent:g(n.artist.genres.join(", "))},null,8,NR)])])]),u("footer",VR,[u("a",{class:"card-footer-item has-text-dark",onClick:t[2]||(t[2]=(...i)=>o.queue_add&&o.queue_add(...i))},[y(a,{class:"icon",name:"playlist-plus",size:"16"}),u("span",{class:"is-size-7",textContent:g(e.$t("dialog.spotify.artist.add"))},null,8,BR)]),u("a",{class:"card-footer-item has-text-dark",onClick:t[3]||(t[3]=(...i)=>o.queue_add_next&&o.queue_add_next(...i))},[y(a,{class:"icon",name:"playlist-play",size:"16"}),u("span",{class:"is-size-7",textContent:g(e.$t("dialog.spotify.artist.add-next"))},null,8,HR)]),u("a",{class:"card-footer-item has-text-dark",onClick:t[4]||(t[4]=(...i)=>o.play&&o.play(...i))},[y(a,{class:"icon",name:"play",size:"16"}),u("span",{class:"is-size-7",textContent:g(e.$t("dialog.spotify.artist.play"))},null,8,jR)])])])]),u("button",{class:"modal-close is-large","aria-label":"close",onClick:t[5]||(t[5]=i=>e.$emit("close"))})])):V("",!0)]),_:1})])}const w1=te($R,[["render",UR]]);function qR(e){return e.scrollHeight}function WR(e){return e.scrollWidth}function GR(e,t){e.scrollTop=e.scrollHeight-t+e.scrollTop}function KR(e,t){e.scrollLeft=e.scrollWidth-t+e.scrollLeft}const ZR=u("div",{class:"loading"},"Loading...",-1),YR=u("div",{class:"no-more"},"No more.",-1),JR=u("div",{class:"no-results"},"No results.",-1),XR=u("div",{class:"error"},"Error.",-1),gm=lo({__name:"VueEternalLoading",props:{load:{required:!0,type:Function},isInitial:{required:!1,type:Boolean,default:!0},position:{required:!1,type:String,default:"default"},container:{required:!1,type:Object,default:null},margin:{required:!1,type:String,default:void 0}},emits:["update:isInitial"],setup(e,{emit:t}){const n=e,r=Wt();let s=Wt("loading"),o=Wt(n.isInitial),a=0;function i(){wa(()=>{var k,C;n.position==="top"?GR((k=n.container)!=null?k:document.documentElement,a):n.position==="left"&&KR((C=n.container)!=null?C:document.documentElement,a)})}function l(k,C){return k===0?o.value?(d(),"no-results"):(c(),"no-more"):k!==void 0&&C!==void 0&&k<C?(c(),"no-more"):(o.value=!1,i(),z(),"loading")}function c(){o.value=!1,h("no-more"),i()}function d(){o.value=!1,h("no-results"),i()}function f(){o.value=!1,h("error"),i()}function m(){o.value=!0,h("loading"),z()}function p(){h("loading"),z()}function h(k){s.value=k}function _(){r.value&&b.unobserve(r.value)}function z(){r.value&&b.observe(r.value)}function v(){return new IntersectionObserver(([k])=>{var C,x;k.isIntersecting&&(n.position==="top"?a=qR((C=n.container)!=null?C:document.documentElement):n.position==="left"&&(a=WR((x=n.container)!=null?x:document.documentElement)),_(),n.load({loaded:l,noMore:c,noResults:d,error:f},{isFirstLoad:o.value}))},{root:n.container,threshold:0,rootMargin:n.margin})}let b;return typeof IntersectionObserver<"u"&&__(()=>{b&&_(),b=v(),z()},{flush:"post"}),Zt(()=>n.isInitial,k=>{k&&m()}),Zt(o,k=>{k||t("update:isInitial",!1)}),(k,C)=>(w(),$("div",{class:"vue-eternal-loading",ref_key:"rootRef",ref:r},[pn(s)==="loading"?st(k.$slots,"loading",To(Ls({key:0},{isFirstLoad:pn(o)})),()=>[ZR]):pn(s)==="no-more"?st(k.$slots,"no-more",To(Ls({key:1},{retry:p})),()=>[YR]):pn(s)==="no-results"?st(k.$slots,"no-results",To(Ls({key:2},{retry:p})),()=>[JR]):pn(s)==="error"?st(k.$slots,"error",To(Ls({key:3},{retry:p})),()=>[XR]):V("",!0)],512))}}),Kc=50,ui={load:function(e){const t=new Gn;return t.setAccessToken(Ve.state.spotify.webapi_token),Promise.all([t.getArtist(e.params.id),t.getArtistAlbums(e.params.id,{limit:Kc,offset:0,include_groups:"album,single",market:Ve.state.spotify.webapi_country})])},set(e,t){e.artist=t[0],e.albums=[],e.total=0,e.offset=0,e.append_albums(t[1])}},QR={name:"PageArtistSpotify",components:{ContentWithHeading:Je,CoverArtwork:On,ListItemAlbumSpotify:iu,ModalDialogAlbumSpotify:Ra,ModalDialogArtistSpotify:w1,VueEternalLoading:gm},beforeRouteEnter(e,t,n){ui.load(e).then(r=>{n(s=>ui.set(s,r))})},beforeRouteUpdate(e,t,n){const r=this;ui.load(e).then(s=>{ui.set(r,s),n()})},data(){return{artist:{},albums:[],total:0,offset:0,show_details_modal:!1,selected_album:{},show_artist_details_modal:!1}},computed:{is_visible_artwork(){return this.$store.getters.settings_option("webinterface","show_cover_artwork_in_album_lists").value}},methods:{load_next({loaded:e}){const t=new Gn;t.setAccessToken(this.$store.state.spotify.webapi_token),t.getArtistAlbums(this.artist.id,{limit:Kc,offset:this.offset,include_groups:"album,single"}).then(n=>{this.append_albums(n),e(n.items.length,Kc)})},append_albums(e){this.albums=this.albums.concat(e.items),this.total=e.total,this.offset+=e.limit},play(){this.show_details_modal=!1,M.player_play_uri(this.artist.uri,!0)},open_album(e){this.$router.push({name:"music-spotify-album",params:{id:e.id}})},open_dialog(e){this.selected_album=e,this.show_details_modal=!0},artwork_url(e){return e.images&&e.images.length>0?e.images[0].url:""}}},eL={class:"fd-page"},tL=["textContent"],nL={class:"buttons is-centered"},rL=["textContent"],sL=["textContent"],oL=["onClick"];function aL(e,t,n,r,s,o){const a=S("mdicon"),i=S("cover-artwork"),l=S("list-item-album-spotify"),c=S("VueEternalLoading"),d=S("modal-dialog-album-spotify"),f=S("modal-dialog-artist-spotify"),m=S("content-with-heading");return w(),$("div",eL,[y(m,null,{"heading-left":E(()=>[u("p",{class:"title is-4",textContent:g(s.artist.name)},null,8,tL)]),"heading-right":E(()=>[u("div",nL,[u("a",{class:"button is-small is-light is-rounded",onClick:t[0]||(t[0]=p=>s.show_artist_details_modal=!0)},[y(a,{class:"icon",name:"dots-horizontal",size:"16"})]),u("a",{class:"button is-small is-dark is-rounded",onClick:t[1]||(t[1]=(...p)=>o.play&&o.play(...p))},[y(a,{class:"icon",name:"shuffle",size:"16"}),u("span",{textContent:g(e.$t("page.spotify.artist.shuffle"))},null,8,rL)])])]),content:E(()=>[u("p",{class:"heading has-text-centered-mobile",textContent:g(e.$t("page.spotify.artist.album-count",{count:s.total}))},null,8,sL),(w(!0),$(Ce,null,at(s.albums,p=>(w(),ce(l,{key:p.id,album:p,onClick:h=>o.open_album(p)},Sa({actions:E(()=>[u("a",{onClick:nt(h=>o.open_dialog(p),["prevent","stop"])},[y(a,{class:"icon has-text-dark",name:"dots-vertical",size:"16"})],8,oL)]),_:2},[o.is_visible_artwork?{name:"artwork",fn:E(()=>[y(i,{artwork_url:o.artwork_url(p),artist:p.artist,album:p.name,class:"is-clickable fd-has-shadow fd-cover fd-cover-small-image",maxwidth:64,maxheight:64},null,8,["artwork_url","artist","album"])]),key:"0"}:void 0]),1032,["album","onClick"]))),128)),s.offset<s.total?(w(),ce(c,{key:0,load:o.load_next},{"no-more":E(()=>[tt(" . ")]),_:1},8,["load"])):V("",!0),y(d,{show:s.show_details_modal,album:s.selected_album,onClose:t[2]||(t[2]=p=>s.show_details_modal=!1)},null,8,["show","album"]),y(f,{show:s.show_artist_details_modal,artist:s.artist,onClose:t[3]||(t[3]=p=>s.show_artist_details_modal=!1)},null,8,["show","artist"])]),_:1})])}const iL=te(QR,[["render",aL]]),ci={load(e){return Promise.all([M.library_artist(e.params.id),M.library_artist_tracks(e.params.id)])},set(e,t){e.artist=t[0].data,e.tracks_list=new pe(t[1].data.tracks)}},lL={name:"PageArtistTracks",components:{ContentWithHeading:Je,ControlDropdown:Cs,IndexButtonList:Kn,ListTracks:bn,ModalDialogArtist:au},beforeRouteEnter(e,t,n){ci.load(e).then(r=>{n(s=>ci.set(s,r))})},beforeRouteUpdate(e,t,n){const r=this;ci.load(e).then(s=>{ci.set(r,s),n()})},data(){return{artist:{},groupby_options:[{id:1,name:this.$t("page.artist.sort-by.name"),options:Dn("title_sort")},{id:2,name:this.$t("page.artist.sort-by.rating"),options:pm("rating",{direction:"desc"})}],show_artist_details_modal:!1,tracks_list:new pe}},computed:{selected_groupby_option_id:{get(){return this.$store.state.artist_tracks_sort},set(e){this.$store.commit(Lh,e)}},tracks(){const e=this.groupby_options.find(t=>t.id===this.selected_groupby_option_id);return this.tracks_list.group(e.options),this.tracks_list},track_uris(){return this.tracks_list.items.map(e=>e.uri).join(",")}},methods:{open_artist(){this.show_details_modal=!1,this.$router.push({name:"music-artist",params:{id:this.artist.id}})},play(){M.player_play_uri(this.tracks_list.items.map(e=>e.uri).join(","),!0)}}},uL={class:"fd-page"},cL={class:"columns"},dL={class:"column"},mL=["textContent"],fL=["textContent"],pL={class:"buttons is-centered"},hL=["textContent"],_L={class:"heading has-text-centered-mobile"},gL=["textContent"],yL=u("span",null," | ",-1),vL=["textContent"];function bL(e,t,n,r,s,o){const a=S("index-button-list"),i=S("control-dropdown"),l=S("mdicon"),c=S("list-tracks"),d=S("modal-dialog-artist"),f=S("content-with-heading");return w(),$("div",uL,[y(f,null,{options:E(()=>[y(a,{index:o.tracks.indexList},null,8,["index"]),u("div",cL,[u("div",dL,[u("p",{class:"heading mb-5",textContent:g(e.$t("page.artist.sort-by.title"))},null,8,mL),y(i,{value:o.selected_groupby_option_id,"onUpdate:value":t[0]||(t[0]=m=>o.selected_groupby_option_id=m),options:s.groupby_options},null,8,["value","options"])])])]),"heading-left":E(()=>[u("p",{class:"title is-4",textContent:g(s.artist.name)},null,8,fL)]),"heading-right":E(()=>[u("div",pL,[u("a",{class:"button is-small is-light is-rounded",onClick:t[1]||(t[1]=m=>s.show_artist_details_modal=!0)},[y(l,{class:"icon",name:"dots-horizontal",size:"16"})]),u("a",{class:"button is-small is-dark is-rounded",onClick:t[2]||(t[2]=(...m)=>o.play&&o.play(...m))},[y(l,{class:"icon",name:"shuffle",size:"16"}),u("span",{textContent:g(e.$t("page.artist.shuffle"))},null,8,hL)])])]),content:E(()=>[u("p",_L,[u("a",{class:"has-text-link",onClick:t[3]||(t[3]=(...m)=>o.open_artist&&o.open_artist(...m)),textContent:g(e.$t("page.artist.album-count",{count:s.artist.album_count}))},null,8,gL),yL,u("span",{textContent:g(e.$t("page.artist.track-count",{count:s.artist.track_count}))},null,8,vL)]),y(c,{tracks:o.tracks,uris:o.track_uris},null,8,["tracks","uris"]),y(d,{show:s.show_artist_details_modal,artist:s.artist,onClose:t[4]||(t[4]=m=>s.show_artist_details_modal=!1)},null,8,["show","artist"])]),_:1})])}const zL=te(lL,[["render",bL]]),CL={name:"ListArtists",components:{ModalDialogArtist:au},props:["artists","hide_group_title"],data(){return{show_details_modal:!1,selected_artist:{}}},methods:{open_artist(e){this.selected_artist=e;const t=e.media_kind==="audiobook"?"audiobooks-artist":"music-artist";this.$router.push({name:t,params:{id:e.id}})},open_dialog(e){this.selected_artist=e,this.show_details_modal=!0}}},wL={key:0,class:"mt-6 mb-5 py-2"},kL={class:"media-content is-clipped"},xL=["id","textContent"],EL=["onClick"],SL={class:"media-content is-clickable is-clipped"},$L=["textContent"],AL={class:"media-right"},TL=["onClick"];function OL(e,t,n,r,s,o){const a=S("mdicon"),i=S("modal-dialog-artist");return w(),$(Ce,null,[(w(!0),$(Ce,null,at(n.artists,l=>(w(),$(Ce,{key:l.itemId},[!l.isItem&&!n.hide_group_title?(w(),$("div",wL,[u("div",kL,[u("span",{id:"index_"+l.groupKey,class:"tag is-info is-light is-small has-text-weight-bold",textContent:g(l.groupKey)},null,8,xL)])])):l.isItem?(w(),$("div",{key:1,class:"media is-align-items-center",onClick:c=>o.open_artist(l.item)},[u("div",SL,[u("h1",{class:"title is-6",textContent:g(l.item.name)},null,8,$L)]),u("div",AL,[u("a",{onClick:nt(c=>o.open_dialog(l.item),["prevent","stop"])},[y(a,{class:"icon has-text-dark",name:"dots-vertical",size:"16"})],8,TL)])],8,EL)):V("",!0)],64))),128)),(w(),ce(Yr,{to:"#app"},[y(i,{artist:s.selected_artist,show:s.show_details_modal,onClose:t[0]||(t[0]=l=>s.show_details_modal=!1)},null,8,["artist","show"])]))],64)}const ym=te(CL,[["render",OL]]),di={load(e){return M.library_artists("music")},set(e,t){e.artists_list=new pe(t.data)}},DL={name:"PageArtists",components:{ContentWithHeading:Je,ControlDropdown:Cs,IndexButtonList:Kn,ListArtists:ym,TabsMusic:mr},beforeRouteEnter(e,t,n){di.load(e).then(r=>{n(s=>di.set(s,r))})},beforeRouteUpdate(e,t,n){if(!this.artists_list.isEmpty()){n();return}const r=this;di.load(e).then(s=>{di.set(r,s),n()})},data(){return{artists_list:new pe,groupby_options:[{id:1,name:this.$t("page.artists.sort-by.name"),options:Dn("name_sort",!0)},{id:2,name:this.$t("page.artists.sort-by.recently-added"),options:gl("time_added",{direction:"desc"})}]}},computed:{artists(){if(!this.artists_list)return[];const e=this.groupby_options.find(t=>t.id===this.selected_groupby_option_id);return this.artists_list.group(e.options,[t=>!this.hide_singles||t.track_count>t.album_count*2,t=>!this.hide_spotify||t.data_kind!=="spotify"]),this.artists_list},selected_groupby_option_id:{get(){return this.$store.state.artists_sort},set(e){this.$store.commit(Fh,e)}},spotify_enabled(){return this.$store.state.spotify.webapi_token_valid},hide_singles:{get(){return this.$store.state.hide_singles},set(e){this.$store.commit(kl,e)}},hide_spotify:{get(){return this.$store.state.hide_spotify},set(e){this.$store.commit(od,e)}}}},PL={class:"fd-page-with-tabs"},IL={class:"columns"},FL={class:"column"},RL=["textContent"],LL={class:"field"},ML={class:"control"},NL=["textContent"],VL=["textContent"],BL={key:0,class:"field"},HL={class:"control"},jL=["textContent"],UL=["textContent"],qL={class:"column"},WL=["textContent"],GL=["textContent"],KL=["textContent"];function ZL(e,t,n,r,s,o){const a=S("tabs-music"),i=S("index-button-list"),l=S("control-dropdown"),c=S("list-artists"),d=S("content-with-heading");return w(),$("div",PL,[y(a),y(d,null,{options:E(()=>[y(i,{index:o.artists.indexList},null,8,["index"]),u("div",IL,[u("div",FL,[u("p",{class:"heading mb-5",textContent:g(e.$t("page.artists.filter"))},null,8,RL),u("div",LL,[u("div",ML,[bt(u("input",{id:"switchHideSingles","onUpdate:modelValue":t[0]||(t[0]=f=>o.hide_singles=f),type:"checkbox",class:"switch is-rounded"},null,512),[[ir,o.hide_singles]]),u("label",{for:"switchHideSingles",textContent:g(e.$t("page.artists.hide-singles"))},null,8,NL)]),u("p",{class:"help",textContent:g(e.$t("page.artists.hide-singles-help"))},null,8,VL)]),o.spotify_enabled?(w(),$("div",BL,[u("div",HL,[bt(u("input",{id:"switchHideSpotify","onUpdate:modelValue":t[1]||(t[1]=f=>o.hide_spotify=f),type:"checkbox",class:"switch is-rounded"},null,512),[[ir,o.hide_spotify]]),u("label",{for:"switchHideSpotify",textContent:g(e.$t("page.artists.hide-spotify"))},null,8,jL)]),u("p",{class:"help",textContent:g(e.$t("page.artists.hide-spotify-help"))},null,8,UL)])):V("",!0)]),u("div",qL,[u("p",{class:"heading mb-5",textContent:g(e.$t("page.artists.sort-by.title"))},null,8,WL),y(l,{value:o.selected_groupby_option_id,"onUpdate:value":t[2]||(t[2]=f=>o.selected_groupby_option_id=f),options:s.groupby_options},null,8,["value","options"])])])]),"heading-left":E(()=>[u("p",{class:"title is-4",textContent:g(e.$t("page.artists.title"))},null,8,GL),u("p",{class:"heading",textContent:g(e.$t("page.artists.count",{count:o.artists.count}))},null,8,KL)]),"heading-right":E(()=>[]),content:E(()=>[y(c,{artists:o.artists},null,8,["artists"])]),_:1})])}const YL=te(DL,[["render",ZL]]),mi={load(e){return Promise.all([M.library_album(e.params.id),M.library_album_tracks(e.params.id)])},set(e,t){e.album=t[0].data,e.tracks=new pe(t[1].data)}},JL={name:"PageAudiobooksAlbum",components:{ContentWithHero:su,CoverArtwork:On,ListTracks:bn,ModalDialogAlbum:ou},beforeRouteEnter(e,t,n){mi.load(e).then(r=>{n(s=>mi.set(s,r))})},beforeRouteUpdate(e,t,n){const r=this;mi.load(e).then(s=>{mi.set(r,s),n()})},data(){return{album:{},tracks:new pe,show_album_details_modal:!1}},methods:{open_artist(){this.show_details_modal=!1,this.$router.push({name:"audiobooks-artist",params:{id:this.album.artist_id}})},play(){M.player_play_uri(this.album.uri,!1)}}},XL={class:"fd-page"},QL=["textContent"],eM={class:"subtitle is-6 has-text-link has-text-weight-normal"},tM=["textContent"],nM={class:"buttons fd-is-centered-mobile mt-5"},rM=["textContent"],sM=["textContent"];function oM(e,t,n,r,s,o){const a=S("mdicon"),i=S("cover-artwork"),l=S("list-tracks"),c=S("modal-dialog-album"),d=S("content-with-hero");return w(),$("div",XL,[y(d,null,{"heading-left":E(()=>[u("h1",{class:"title is-5",textContent:g(s.album.name)},null,8,QL),u("h2",eM,[u("a",{class:"has-text-link",onClick:t[0]||(t[0]=(...f)=>o.open_artist&&o.open_artist(...f)),textContent:g(s.album.artist)},null,8,tM)]),u("div",nM,[u("a",{class:"button is-small is-dark is-rounded",onClick:t[1]||(t[1]=(...f)=>o.play&&o.play(...f))},[y(a,{class:"icon",name:"play",size:"16"}),u("span",{textContent:g(e.$t("page.audiobooks.album.play"))},null,8,rM)]),u("a",{class:"button is-small is-light is-rounded",onClick:t[2]||(t[2]=f=>s.show_album_details_modal=!0)},[y(a,{class:"icon",name:"dots-horizontal",size:"16"})])])]),"heading-right":E(()=>[y(i,{artwork_url:s.album.artwork_url,artist:s.album.artist,album:s.album.name,class:"is-clickable fd-has-shadow fd-cover fd-cover-medium-image",onClick:t[3]||(t[3]=f=>s.show_album_details_modal=!0)},null,8,["artwork_url","artist","album"])]),content:E(()=>[u("p",{class:"heading is-7 has-text-centered-mobile mt-5",textContent:g(e.$t("page.audiobooks.album.track-count",{count:s.album.track_count}))},null,8,sM),y(l,{tracks:s.tracks,uris:s.album.uri},null,8,["tracks","uris"]),y(c,{show:s.show_album_details_modal,album:s.album,media_kind:"audiobook",onClose:t[4]||(t[4]=f=>s.show_album_details_modal=!1)},null,8,["show","album"])]),_:1})])}const aM=te(JL,[["render",oM]]),iM={name:"TabsAudiobooks"},lM={class:"section fd-tabs-section"},uM={class:"container"},cM={class:"columns is-centered"},dM={class:"column is-four-fifths"},mM={class:"tabs is-centered is-small"},fM=["onClick","onKeypress"],pM=["textContent"],hM=["onClick","onKeypress"],_M=["textContent"],gM=["onClick","onKeypress"],yM=["textContent"];function vM(e,t,n,r,s,o){const a=S("mdicon"),i=S("router-link");return w(),$("section",lM,[u("div",uM,[u("div",cM,[u("div",dM,[u("div",mM,[u("ul",null,[y(i,{to:{name:"audiobooks-artists"},custom:""},{default:E(({navigate:l,isActive:c})=>[u("li",{class:ke({"is-active":c})},[u("a",{onClick:l,onKeypress:tn(l,["enter"])},[y(a,{class:"icon is-small",name:"account-music",size:"16"}),u("span",{textContent:g(e.$t("page.audiobooks.tabs.authors"))},null,8,pM)],40,fM)],2)]),_:1}),y(i,{to:{name:"audiobooks-albums"},custom:""},{default:E(({navigate:l,isActive:c})=>[u("li",{class:ke({"is-active":c})},[u("a",{onClick:l,onKeypress:tn(l,["enter"])},[y(a,{class:"icon is-small",name:"album",size:"16"}),u("span",{textContent:g(e.$t("page.audiobooks.tabs.audiobooks"))},null,8,_M)],40,hM)],2)]),_:1}),y(i,{to:{name:"audiobooks-genres"},custom:""},{default:E(({navigate:l,isActive:c})=>[u("li",{class:ke({"is-active":c})},[u("a",{onClick:l,onKeypress:tn(l,["enter"])},[y(a,{class:"icon is-small",name:"speaker",size:"16"}),u("span",{textContent:g(e.$t("page.audiobooks.tabs.genres"))},null,8,yM)],40,gM)],2)]),_:1})])])])])])])}const vm=te(iM,[["render",vM]]),fi={load(e){return M.library_albums("audiobook")},set(e,t){e.albums=new pe(t.data),e.albums.group(Dn("name_sort",!0))}},bM={name:"PageAudiobooksAlbums",components:{TabsAudiobooks:vm,ContentWithHeading:Je,IndexButtonList:Kn,ListAlbums:dr},beforeRouteEnter(e,t,n){fi.load(e).then(r=>{n(s=>fi.set(s,r))})},beforeRouteUpdate(e,t,n){if(!this.albums.isEmpty()){n();return}const r=this;fi.load(e).then(s=>{fi.set(r,s),n()})},data(){return{albums:new pe}}},zM={class:"fd-page-with-tabs"},CM=["textContent"],wM=["textContent"];function kM(e,t,n,r,s,o){const a=S("tabs-audiobooks"),i=S("index-button-list"),l=S("list-albums"),c=S("content-with-heading");return w(),$("div",zM,[y(a),y(c,null,{options:E(()=>[y(i,{index:s.albums.indexList},null,8,["index"])]),"heading-left":E(()=>[u("p",{class:"title is-4",textContent:g(e.$t("page.audiobooks.albums.title"))},null,8,CM),u("p",{class:"heading",textContent:g(e.$t("page.audiobooks.albums.count",{count:s.albums.count}))},null,8,wM)]),content:E(()=>[y(l,{albums:s.albums},null,8,["albums"])]),_:1})])}const xM=te(bM,[["render",kM]]),pi={load(e){return Promise.all([M.library_artist(e.params.id),M.library_artist_albums(e.params.id)])},set(e,t){e.artist=t[0].data,e.albums=new pe(t[1].data)}},EM={name:"PageAudiobooksArtist",components:{ContentWithHeading:Je,ListAlbums:dr,ModalDialogArtist:au},beforeRouteEnter(e,t,n){pi.load(e).then(r=>{n(s=>pi.set(s,r))})},beforeRouteUpdate(e,t,n){if(!this.albums.isEmpty()){n();return}const r=this;pi.load(e).then(s=>{pi.set(r,s),n()})},data(){return{artist:{},albums:new pe,show_artist_details_modal:!1}},methods:{play(){M.player_play_uri(this.albums.items.map(e=>e.uri).join(","),!1)}}},SM={class:"fd-page"},$M=["textContent"],AM={class:"buttons is-centered"},TM=["textContent"],OM=["textContent"];function DM(e,t,n,r,s,o){const a=S("mdicon"),i=S("list-albums"),l=S("modal-dialog-artist"),c=S("content-with-heading");return w(),$("div",SM,[y(c,null,{"heading-left":E(()=>[u("p",{class:"title is-4",textContent:g(s.artist.name)},null,8,$M)]),"heading-right":E(()=>[u("div",AM,[u("a",{class:"button is-small is-light is-rounded",onClick:t[0]||(t[0]=d=>s.show_artist_details_modal=!0)},[y(a,{class:"icon",name:"dots-horizontal",size:"16"})]),u("a",{class:"button is-small is-dark is-rounded",onClick:t[1]||(t[1]=(...d)=>o.play&&o.play(...d))},[y(a,{class:"icon",name:"play",size:"16"}),u("span",{textContent:g(e.$t("page.audiobooks.artist.play"))},null,8,TM)])])]),content:E(()=>[u("p",{class:"heading has-text-centered-mobile",textContent:g(e.$t("page.audiobooks.artist.album-count",{count:s.artist.album_count}))},null,8,OM),y(i,{albums:s.albums},null,8,["albums"]),y(l,{show:s.show_artist_details_modal,artist:s.artist,onClose:t[2]||(t[2]=d=>s.show_artist_details_modal=!1)},null,8,["show","artist"])]),_:1})])}const PM=te(EM,[["render",DM]]),hi={load(e){return M.library_artists("audiobook")},set(e,t){e.artists_list=new pe(t.data)}},IM={name:"PageAudiobooksArtists",components:{ContentWithHeading:Je,TabsAudiobooks:vm,IndexButtonList:Kn,ListArtists:ym},beforeRouteEnter(e,t,n){hi.load(e).then(r=>{n(s=>hi.set(s,r))})},beforeRouteUpdate(e,t,n){if(!this.artists_list.isEmpty()){n();return}const r=this;hi.load(e).then(s=>{hi.set(r,s),n()})},data(){return{artists_list:new pe}},computed:{artists(){return this.artists_list?(this.artists_list.group(Dn("name_sort",!0)),this.artists_list):[]}}},FM={class:"fd-page-with-tabs"},RM=["textContent"],LM=["textContent"];function MM(e,t,n,r,s,o){const a=S("tabs-audiobooks"),i=S("index-button-list"),l=S("list-artists"),c=S("content-with-heading");return w(),$("div",FM,[y(a),y(c,null,{options:E(()=>[y(i,{index:o.artists.indexList},null,8,["index"])]),"heading-left":E(()=>[u("p",{class:"title is-4",textContent:g(e.$t("page.audiobooks.artists.title"))},null,8,RM),u("p",{class:"heading",textContent:g(e.$t("page.audiobooks.artists.count",{count:o.artists.count}))},null,8,LM)]),"heading-right":E(()=>[]),content:E(()=>[y(l,{artists:o.artists},null,8,["artists"])]),_:1})])}const NM=te(IM,[["render",MM]]),VM={name:"ModalDialogGenre",props:["genre","media_kind","show"],emits:["close"],computed:{expression(){return`genre is "${this.genre.name}" and media_kind is ${this.media_kind}`}},methods:{play(){this.$emit("close"),M.player_play_expression(this.expression,!1)},queue_add(){this.$emit("close"),M.queue_expression_add(this.expression)},queue_add_next(){this.$emit("close"),M.queue_expression_add_next(this.expression)},open_genre(){this.$emit("close"),this.$router.push({name:"genre-albums",params:{name:this.genre.name},query:{media_kind:this.media_kind}})}}},BM={key:0,class:"modal is-active"},HM={class:"modal-content fd-modal-card"},jM={class:"card"},UM={class:"card-content"},qM={class:"title is-4"},WM=["textContent"],GM={class:"content is-small"},KM=["textContent"],ZM=["textContent"],YM=["textContent"],JM=["textContent"],XM=["textContent"],QM=["textContent"],eN={class:"card-footer"},tN=["textContent"],nN=["textContent"],rN=["textContent"];function sN(e,t,n,r,s,o){const a=S("mdicon");return w(),$("div",null,[y(Dt,{name:"fade"},{default:E(()=>[n.show?(w(),$("div",BM,[u("div",{class:"modal-background",onClick:t[0]||(t[0]=i=>e.$emit("close"))}),u("div",HM,[u("div",jM,[u("div",UM,[u("p",qM,[u("a",{class:"has-text-link",onClick:t[1]||(t[1]=(...i)=>o.open_genre&&o.open_genre(...i)),textContent:g(n.genre.name)},null,8,WM)]),u("div",GM,[u("p",null,[u("span",{class:"heading",textContent:g(e.$t("dialog.genre.albums"))},null,8,KM),u("span",{class:"title is-6",textContent:g(n.genre.album_count)},null,8,ZM)]),u("p",null,[u("span",{class:"heading",textContent:g(e.$t("dialog.genre.tracks"))},null,8,YM),u("span",{class:"title is-6",textContent:g(n.genre.track_count)},null,8,JM)]),u("p",null,[u("span",{class:"heading",textContent:g(e.$t("dialog.genre.duration"))},null,8,XM),u("span",{class:"title is-6",textContent:g(e.$filters.durationInHours(n.genre.length_ms))},null,8,QM)])])]),u("footer",eN,[u("a",{class:"card-footer-item has-text-dark",onClick:t[2]||(t[2]=(...i)=>o.queue_add&&o.queue_add(...i))},[y(a,{class:"icon",name:"playlist-plus",size:"16"}),u("span",{class:"is-size-7",textContent:g(e.$t("dialog.genre.add"))},null,8,tN)]),u("a",{class:"card-footer-item has-text-dark",onClick:t[3]||(t[3]=(...i)=>o.queue_add_next&&o.queue_add_next(...i))},[y(a,{class:"icon",name:"playlist-play",size:"16"}),u("span",{class:"is-size-7",textContent:g(e.$t("dialog.genre.add-next"))},null,8,nN)]),u("a",{class:"card-footer-item has-text-dark",onClick:t[4]||(t[4]=(...i)=>o.play&&o.play(...i))},[y(a,{class:"icon",name:"play",size:"16"}),u("span",{class:"is-size-7",textContent:g(e.$t("dialog.genre.play"))},null,8,rN)])])])]),u("button",{class:"modal-close is-large","aria-label":"close",onClick:t[5]||(t[5]=i=>e.$emit("close"))})])):V("",!0)]),_:1})])}const bm=te(VM,[["render",sN]]),oN={name:"ListGenres",components:{ModalDialogGenre:bm},props:["genres","hide_group_title","media_kind"],data(){return{show_details_modal:!1,selected_genre:{}}},methods:{open_genre(e){this.$router.push({name:"genre-albums",params:{name:e.name},query:{media_kind:this.media_kind}})},open_dialog(e){this.selected_genre=e,this.show_details_modal=!0}}},aN={key:0,class:"mt-6 mb-5 py-2"},iN={class:"media-content is-clipped"},lN=["id","textContent"],uN=["onClick"],cN={class:"media-content is-clickable is-clipped"},dN=["textContent"],mN={class:"media-right"},fN=["onClick"];function pN(e,t,n,r,s,o){const a=S("mdicon"),i=S("modal-dialog-genre");return w(),$(Ce,null,[(w(!0),$(Ce,null,at(n.genres,l=>(w(),$(Ce,{key:l.itemId},[!l.isItem&&!n.hide_group_title?(w(),$("div",aN,[u("div",iN,[u("span",{id:"index_"+l.groupKey,class:"tag is-info is-light is-small has-text-weight-bold",textContent:g(l.groupKey)},null,8,lN)])])):l.isItem?(w(),$("div",{key:1,class:"media is-align-items-center",onClick:c=>o.open_genre(l.item)},[u("div",cN,[u("h1",{class:"title is-6",textContent:g(l.item.name)},null,8,dN)]),u("div",mN,[u("a",{onClick:nt(c=>o.open_dialog(l.item),["prevent","stop"])},[y(a,{class:"icon has-text-dark",name:"dots-vertical",size:"16"})],8,fN)])],8,uN)):V("",!0)],64))),128)),(w(),ce(Yr,{to:"#app"},[y(i,{show:s.show_details_modal,genre:s.selected_genre,media_kind:n.media_kind,onClose:t[0]||(t[0]=l=>s.show_details_modal=!1)},null,8,["show","genre","media_kind"])]))],64)}const k1=te(oN,[["render",pN]]),_i={load(e){return M.library_genres("audiobook")},set(e,t){e.genres=t.data,e.genres=new pe(t.data),e.genres.group(Dn("name_sort"))}},hN={name:"PageAudiobooksGenres",components:{ContentWithHeading:Je,IndexButtonList:Kn,ListGenres:k1,TabsAudiobooks:vm},beforeRouteEnter(e,t,n){_i.load(e).then(r=>{n(s=>_i.set(s,r))})},beforeRouteUpdate(e,t,n){const r=this;_i.load(e).then(s=>{_i.set(r,s),n()})},data(){return{genres:new pe}}},_N={class:"fd-page-with-tabs"},gN=["textContent"],yN=["textContent"];function vN(e,t,n,r,s,o){const a=S("tabs-audiobooks"),i=S("index-button-list"),l=S("list-genres"),c=S("content-with-heading");return w(),$("div",_N,[y(a),y(c,null,{options:E(()=>[y(i,{index:s.genres.indexList},null,8,["index"])]),"heading-left":E(()=>[u("p",{class:"title is-4",textContent:g(e.$t("page.genres.title"))},null,8,gN),u("p",{class:"heading",textContent:g(e.$t("page.genres.count",{count:s.genres.total}))},null,8,yN)]),content:E(()=>[y(l,{genres:s.genres,media_kind:"audiobook"},null,8,["genres"])]),_:1})])}const bN=te(hN,[["render",vN]]),zN={name:"ModalDialogComposer",props:["show","composer"],emits:["close"],methods:{play(){this.$emit("close"),M.player_play_expression('composer is "'+this.composer.name+'" and media_kind is music',!1)},queue_add(){this.$emit("close"),M.queue_expression_add('composer is "'+this.composer.name+'" and media_kind is music')},queue_add_next(){this.$emit("close"),M.queue_expression_add_next('composer is "'+this.composer.name+'" and media_kind is music')},open_albums(){this.$emit("close"),this.$router.push({name:"music-composer-albums",params:{name:this.composer.name}})},open_tracks(){this.show_details_modal=!1,this.$router.push({name:"music-composer-tracks",params:{name:this.composer.name}})}}},CN={key:0,class:"modal is-active"},wN={class:"modal-content fd-modal-card"},kN={class:"card"},xN={class:"card-content"},EN={class:"title is-4"},SN=["textContent"],$N=["textContent"],AN=["textContent"],TN=["textContent"],ON=["textContent"],DN=["textContent"],PN=["textContent"],IN={class:"card-footer"},FN=["textContent"],RN=["textContent"],LN=["textContent"];function MN(e,t,n,r,s,o){const a=S("mdicon");return w(),$("div",null,[y(Dt,{name:"fade"},{default:E(()=>[n.show?(w(),$("div",CN,[u("div",{class:"modal-background",onClick:t[0]||(t[0]=i=>e.$emit("close"))}),u("div",wN,[u("div",kN,[u("div",xN,[u("p",EN,[u("a",{class:"has-text-link",onClick:t[1]||(t[1]=(...i)=>o.open_albums&&o.open_albums(...i)),textContent:g(n.composer.name)},null,8,SN)]),u("p",null,[u("span",{class:"heading",textContent:g(e.$t("dialog.composer.albums"))},null,8,$N),u("a",{class:"has-text-link is-6",onClick:t[2]||(t[2]=(...i)=>o.open_albums&&o.open_albums(...i)),textContent:g(n.composer.album_count)},null,8,AN)]),u("p",null,[u("span",{class:"heading",textContent:g(e.$t("dialog.composer.tracks"))},null,8,TN),u("a",{class:"has-text-link is-6",onClick:t[3]||(t[3]=(...i)=>o.open_tracks&&o.open_tracks(...i)),textContent:g(n.composer.track_count)},null,8,ON)]),u("p",null,[u("span",{class:"heading",textContent:g(e.$t("dialog.composer.duration"))},null,8,DN),u("span",{class:"title is-6",textContent:g(e.$filters.durationInHours(n.composer.length_ms))},null,8,PN)])]),u("footer",IN,[u("a",{class:"card-footer-item has-text-dark",onClick:t[4]||(t[4]=(...i)=>o.queue_add&&o.queue_add(...i))},[y(a,{class:"icon",name:"playlist-plus",size:"16"}),u("span",{class:"is-size-7",textContent:g(e.$t("dialog.composer.add"))},null,8,FN)]),u("a",{class:"card-footer-item has-text-dark",onClick:t[5]||(t[5]=(...i)=>o.queue_add_next&&o.queue_add_next(...i))},[y(a,{class:"icon",name:"playlist-play",size:"16"}),u("span",{class:"is-size-7",textContent:g(e.$t("dialog.composer.add-next"))},null,8,RN)]),u("a",{class:"card-footer-item has-text-dark",onClick:t[6]||(t[6]=(...i)=>o.play&&o.play(...i))},[y(a,{class:"icon",name:"play",size:"16"}),u("span",{class:"is-size-7",textContent:g(e.$t("dialog.composer.play"))},null,8,LN)])])])]),u("button",{class:"modal-close is-large","aria-label":"close",onClick:t[7]||(t[7]=i=>e.$emit("close"))})])):V("",!0)]),_:1})])}const zm=te(zN,[["render",MN]]),gi={load(e){return Promise.all([M.library_composer(e.params.name),M.library_composer_albums(e.params.name)])},set(e,t){e.composer=t[0].data,e.albums_list=new pe(t[1].data.albums)}},NN={name:"PageComposerAlbums",components:{ContentWithHeading:Je,ListAlbums:dr,ModalDialogComposer:zm},beforeRouteEnter(e,t,n){gi.load(e).then(r=>{n(s=>gi.set(s,r))})},beforeRouteUpdate(e,t,n){const r=this;gi.load(e).then(s=>{gi.set(r,s),n()})},data(){return{composer:{},albums_list:new pe,show_composer_details_modal:!1}},methods:{open_tracks(){this.$router.push({name:"music-composer-tracks",params:{name:this.composer.name}})},play(){M.player_play_expression('composer is "'+this.composer.name+'" and media_kind is music',!0)}}},VN={class:"fd-page"},BN=["textContent"],HN={class:"buttons is-centered"},jN=["textContent"],UN={class:"heading has-text-centered-mobile"},qN=["textContent"],WN=u("span",null," | ",-1),GN=["textContent"];function KN(e,t,n,r,s,o){const a=S("mdicon"),i=S("list-albums"),l=S("modal-dialog-composer"),c=S("content-with-heading");return w(),$("div",VN,[y(c,null,{"heading-left":E(()=>[u("p",{class:"title is-4",textContent:g(s.composer.name)},null,8,BN)]),"heading-right":E(()=>[u("div",HN,[u("a",{class:"button is-small is-light is-rounded",onClick:t[0]||(t[0]=d=>s.show_composer_details_modal=!0)},[y(a,{class:"icon",name:"dots-horizontal",size:"16"})]),u("a",{class:"button is-small is-dark is-rounded",onClick:t[1]||(t[1]=(...d)=>o.play&&o.play(...d))},[y(a,{class:"icon",name:"shuffle",size:"16"}),u("span",{textContent:g(e.$t("page.composer.shuffle"))},null,8,jN)])])]),content:E(()=>[u("p",UN,[u("span",{textContent:g(e.$t("page.composer.album-count",{count:s.composer.album_count}))},null,8,qN),WN,u("a",{class:"has-text-link",onClick:t[2]||(t[2]=(...d)=>o.open_tracks&&o.open_tracks(...d)),textContent:g(e.$t("page.composer.track-count",{count:s.composer.track_count}))},null,8,GN)]),y(i,{albums:s.albums_list,hide_group_title:!0},null,8,["albums"]),y(l,{show:s.show_composer_details_modal,composer:s.composer,onClose:t[3]||(t[3]=d=>s.show_composer_details_modal=!1)},null,8,["show","composer"])]),_:1})])}const ZN=te(NN,[["render",KN]]),yi={load(e){return Promise.all([M.library_composer(e.params.name),M.library_composer_tracks(e.params.name)])},set(e,t){e.composer=t[0].data,e.tracks_list=new pe(t[1].data.tracks)}},YN={name:"PageComposerTracks",components:{ContentWithHeading:Je,ControlDropdown:Cs,IndexButtonList:Kn,ListTracks:bn,ModalDialogComposer:zm},beforeRouteEnter(e,t,n){yi.load(e).then(r=>{n(s=>yi.set(s,r))})},beforeRouteUpdate(e,t,n){const r=this;yi.load(e).then(s=>{yi.set(r,s),n()})},data(){return{groupby_options:[{id:1,name:this.$t("page.composer.sort-by.name"),options:Dn("title_sort")},{id:2,name:this.$t("page.composer.sort-by.rating"),options:pm("rating",{direction:"desc"})}],composer:{},show_composer_details_modal:!1,tracks_list:new pe}},computed:{expression(){return'composer is "'+this.composer.name+'" and media_kind is music'},selected_groupby_option_id:{get(){return this.$store.state.composer_tracks_sort},set(e){this.$store.commit(Ph,e)}},tracks(){const e=this.groupby_options.find(t=>t.id===this.selected_groupby_option_id);return this.tracks_list.group(e.options),this.tracks_list}},methods:{open_albums(){this.show_details_modal=!1,this.$router.push({name:"music-composer-albums",params:{name:this.composer.name}})},play(){M.player_play_expression(this.expression,!0)}}},JN={class:"fd-page"},XN={class:"columns"},QN={class:"column"},e7=["textContent"],t7=["textContent"],n7={class:"buttons is-centered"},r7=["textContent"],s7={class:"heading has-text-centered-mobile"},o7=["textContent"],a7=u("span",null," | ",-1),i7=["textContent"];function l7(e,t,n,r,s,o){const a=S("index-button-list"),i=S("control-dropdown"),l=S("mdicon"),c=S("list-tracks"),d=S("modal-dialog-composer"),f=S("content-with-heading");return w(),$("div",JN,[y(f,null,{options:E(()=>[y(a,{index:o.tracks.indexList},null,8,["index"]),u("div",XN,[u("div",QN,[u("p",{class:"heading mb-5",textContent:g(e.$t("page.artist.sort-by.title"))},null,8,e7),y(i,{value:o.selected_groupby_option_id,"onUpdate:value":t[0]||(t[0]=m=>o.selected_groupby_option_id=m),options:s.groupby_options},null,8,["value","options"])])])]),"heading-left":E(()=>[u("p",{class:"title is-4",textContent:g(s.composer.name)},null,8,t7)]),"heading-right":E(()=>[u("div",n7,[u("a",{class:"button is-small is-light is-rounded",onClick:t[1]||(t[1]=m=>s.show_composer_details_modal=!0)},[y(l,{class:"icon",name:"dots-horizontal",size:"16"})]),u("a",{class:"button is-small is-dark is-rounded",onClick:t[2]||(t[2]=(...m)=>o.play&&o.play(...m))},[y(l,{class:"icon",name:"shuffle",size:"16"}),u("span",{textContent:g(e.$t("page.composer.shuffle"))},null,8,r7)])])]),content:E(()=>[u("p",s7,[u("a",{class:"has-text-link",onClick:t[3]||(t[3]=(...m)=>o.open_albums&&o.open_albums(...m)),textContent:g(e.$t("page.composer.album-count",{count:s.composer.album_count}))},null,8,o7),a7,u("span",{textContent:g(e.$t("page.composer.track-count",{count:s.composer.track_count}))},null,8,i7)]),y(c,{tracks:o.tracks,expression:o.expression},null,8,["tracks","expression"]),y(d,{show:s.show_composer_details_modal,composer:s.composer,onClose:t[4]||(t[4]=m=>s.show_composer_details_modal=!1)},null,8,["show","composer"])]),_:1})])}const u7=te(YN,[["render",l7]]),c7={name:"ListComposers",components:{ModalDialogComposer:zm},props:["composers","media_kind","hide_group_title"],data(){return{show_details_modal:!1,selected_composer:{}}},methods:{open_composer(e){this.selected_composer=e,this.$router.push({name:"music-composer-albums",params:{name:e.name}})},open_dialog(e){this.selected_composer=e,this.show_details_modal=!0}}},d7={key:0,class:"mt-6 mb-5 py-2"},m7={class:"media-content is-clipped"},f7=["id","textContent"],p7=["onClick"],h7={class:"media-content is-clickable is-clipped"},_7=["textContent"],g7={class:"media-right"},y7=["onClick"];function v7(e,t,n,r,s,o){const a=S("mdicon"),i=S("modal-dialog-composer");return w(),$(Ce,null,[(w(!0),$(Ce,null,at(n.composers,l=>(w(),$(Ce,{key:l.itemId},[!l.isItem&&!n.hide_group_title?(w(),$("div",d7,[u("div",m7,[u("span",{id:"index_"+l.groupKey,class:"tag is-info is-light is-small has-text-weight-bold",textContent:g(l.groupKey)},null,8,f7)])])):l.isItem?(w(),$("div",{key:1,class:"media is-align-items-center",onClick:c=>o.open_composer(l.item)},[u("div",h7,[u("h1",{class:"title is-6",textContent:g(l.item.name)},null,8,_7)]),u("div",g7,[u("a",{onClick:nt(c=>o.open_dialog(l.item),["prevent","stop"])},[y(a,{class:"icon has-text-dark",name:"dots-vertical",size:"16"})],8,y7)])],8,p7)):V("",!0)],64))),128)),(w(),ce(Yr,{to:"#app"},[y(i,{show:s.show_details_modal,composer:s.selected_composer,media_kind:n.media_kind,onClose:t[0]||(t[0]=l=>s.show_details_modal=!1)},null,8,["show","composer","media_kind"])]))],64)}const x1=te(c7,[["render",v7]]),vi={load(e){return M.library_composers("music")},set(e,t){e.composers=new pe(t.data),e.composers.group(Dn("name_sort"))}},b7={name:"PageComposers",components:{ContentWithHeading:Je,IndexButtonList:Kn,ListComposers:x1,TabsMusic:mr},beforeRouteEnter(e,t,n){vi.load(e).then(r=>{n(s=>vi.set(s,r))})},beforeRouteUpdate(e,t,n){if(!this.composers.isEmpty()){n();return}const r=this;vi.load(e).then(s=>{vi.set(r,s),n()})},data(){return{composers:new pe}}},z7={class:"fd-page-with-tabs"},C7=["textContent"],w7=["textContent"];function k7(e,t,n,r,s,o){const a=S("tabs-music"),i=S("index-button-list"),l=S("list-composers"),c=S("content-with-heading");return w(),$("div",z7,[y(a),y(c,null,{options:E(()=>[y(i,{index:s.composers.indexList},null,8,["index"])]),"heading-left":E(()=>[u("p",{class:"title is-4",textContent:g(e.$t("page.composers.title"))},null,8,C7),u("p",{class:"heading",textContent:g(e.$t("page.composers.count",{count:s.composers.total}))},null,8,w7)]),content:E(()=>[y(l,{composers:s.composers},null,8,["composers"])]),_:1})])}const x7=te(b7,[["render",k7]]),E7={name:"ModalDialogDirectory",props:["show","directory"],emits:["close"],methods:{play(){this.$emit("close"),M.player_play_expression('path starts with "'+this.directory+'" order by path asc',!1)},queue_add(){this.$emit("close"),M.queue_expression_add('path starts with "'+this.directory+'" order by path asc')},queue_add_next(){this.$emit("close"),M.queue_expression_add_next('path starts with "'+this.directory+'" order by path asc')}}},S7={key:0,class:"modal is-active"},$7={class:"modal-content fd-modal-card"},A7={class:"card"},T7={class:"card-content"},O7=["textContent"],D7={class:"card-footer"},P7=["textContent"],I7=["textContent"],F7=["textContent"];function R7(e,t,n,r,s,o){const a=S("mdicon");return w(),$("div",null,[y(Dt,{name:"fade"},{default:E(()=>[n.show?(w(),$("div",S7,[u("div",{class:"modal-background",onClick:t[0]||(t[0]=i=>e.$emit("close"))}),u("div",$7,[u("div",A7,[u("div",T7,[u("p",{class:"title is-4",textContent:g(n.directory)},null,8,O7)]),u("footer",D7,[u("a",{class:"card-footer-item has-text-dark",onClick:t[1]||(t[1]=(...i)=>o.queue_add&&o.queue_add(...i))},[y(a,{class:"icon",name:"playlist-plus",size:"16"}),u("span",{class:"is-size-7",textContent:g(e.$t("dialog.directory.add"))},null,8,P7)]),u("a",{class:"card-footer-item has-text-dark",onClick:t[2]||(t[2]=(...i)=>o.queue_add_next&&o.queue_add_next(...i))},[y(a,{class:"icon",name:"playlist-play",size:"16"}),u("span",{class:"is-size-7",textContent:g(e.$t("dialog.directory.add-next"))},null,8,I7)]),u("a",{class:"card-footer-item has-text-dark",onClick:t[3]||(t[3]=(...i)=>o.play&&o.play(...i))},[y(a,{class:"icon",name:"play",size:"16"}),u("span",{class:"is-size-7",textContent:g(e.$t("dialog.directory.play"))},null,8,F7)])])])]),u("button",{class:"modal-close is-large","aria-label":"close",onClick:t[4]||(t[4]=i=>e.$emit("close"))})])):V("",!0)]),_:1})])}const E1=te(E7,[["render",R7]]),L7={name:"ListDirectories",components:{ModalDialogDirectory:E1},props:["directories"],data(){return{show_details_modal:!1,selected_directory:""}},computed:{current_directory(){return this.$route.query&&this.$route.query.directory?this.$route.query.directory:"/"}},methods:{open_parent_directory(){this.current_directory.slice(0,this.current_directory.lastIndexOf("/"))===""||this.$store.state.config.directories.includes(this.current_directory)?this.$router.push({name:"files"}):this.$router.push({name:"files",query:{directory:this.current_directory.slice(0,this.current_directory.lastIndexOf("/"))}})},open_directory(e){this.$router.push({name:"files",query:{directory:e.path}})},open_dialog(e){this.selected_directory=e.path,this.show_details_modal=!0}}},M7={class:"media-left is-clickable"},N7=u("div",{class:"media-content is-clickable is-clipped"},[u("h1",{class:"title is-6"},"..")],-1),V7={class:"media-right"},B7=["onClick"],H7={class:"media-left is-clickable"},j7={class:"media-content is-clickable is-clipped"},U7=["textContent"],q7=["textContent"],W7={class:"media-right"},G7=["onClick"];function K7(e,t,n,r,s,o){const a=S("mdicon"),i=S("modal-dialog-directory");return w(),$(Ce,null,[e.$route.query.directory?(w(),$("div",{key:0,class:"media is-align-items-center",onClick:t[0]||(t[0]=l=>o.open_parent_directory())},[u("figure",M7,[y(a,{class:"icon",name:"subdirectory-arrow-left",size:"16"})]),N7,u("div",V7,[st(e.$slots,"actions")])])):V("",!0),(w(!0),$(Ce,null,at(n.directories,l=>(w(),$("div",{key:l.path,class:"media is-align-items-center",onClick:c=>o.open_directory(l)},[u("figure",H7,[y(a,{class:"icon",name:"folder",size:"16"})]),u("div",j7,[u("h1",{class:"title is-6",textContent:g(l.path.substring(l.path.lastIndexOf("/")+1))},null,8,U7),u("h2",{class:"subtitle is-7 has-text-grey-light",textContent:g(l.path)},null,8,q7)]),u("div",W7,[u("a",{onClick:nt(c=>o.open_dialog(l),["prevent","stop"])},[y(a,{class:"icon has-text-dark",name:"dots-vertical",size:"16"})],8,G7)])],8,B7))),128)),(w(),ce(Yr,{to:"#app"},[y(i,{show:s.show_details_modal,directory:s.selected_directory,onClose:t[1]||(t[1]=l=>s.show_details_modal=!1)},null,8,["show","directory"])]))],64)}const Z7=te(L7,[["render",K7]]),Y7={name:"ModalDialogPlaylist",props:["show","playlist","uris"],emits:["close"],methods:{play(){this.$emit("close"),M.player_play_uri(this.uris?this.uris:this.playlist.uri,!1)},queue_add(){this.$emit("close"),M.queue_add(this.uris?this.uris:this.playlist.uri)},queue_add_next(){this.$emit("close"),M.queue_add_next(this.uris?this.uris:this.playlist.uri)},open_playlist(){this.$emit("close"),this.$router.push({name:"playlist",params:{id:this.playlist.id}})}}},J7={key:0,class:"modal is-active"},X7={class:"modal-content fd-modal-card"},Q7={class:"card"},e9={class:"card-content"},t9={class:"title is-4"},n9=["textContent"],r9={class:"content is-small"},s9=["textContent"],o9=["textContent"],a9=["textContent"],i9=["textContent"],l9={key:0},u9=["textContent"],c9=["textContent"],d9={key:0,class:"card-footer"},m9=["textContent"],f9=["textContent"],p9=["textContent"];function h9(e,t,n,r,s,o){const a=S("mdicon");return w(),$("div",null,[y(Dt,{name:"fade"},{default:E(()=>[n.show?(w(),$("div",J7,[u("div",{class:"modal-background",onClick:t[0]||(t[0]=i=>e.$emit("close"))}),u("div",X7,[u("div",Q7,[u("div",e9,[u("p",t9,[u("a",{class:"has-text-link",onClick:t[1]||(t[1]=(...i)=>o.open_playlist&&o.open_playlist(...i)),textContent:g(n.playlist.name)},null,8,n9)]),u("div",r9,[u("p",null,[u("span",{class:"heading",textContent:g(e.$t("dialog.playlist.path"))},null,8,s9),u("span",{class:"title is-6",textContent:g(n.playlist.path)},null,8,o9)]),u("p",null,[u("span",{class:"heading",textContent:g(e.$t("dialog.playlist.type"))},null,8,a9),u("span",{class:"title is-6",textContent:g(e.$t("playlist.type."+n.playlist.type))},null,8,i9)]),n.playlist.folder?V("",!0):(w(),$("p",l9,[u("span",{class:"heading",textContent:g(e.$t("dialog.playlist.track-count"))},null,8,u9),u("span",{class:"title is-6",textContent:g(n.playlist.item_count)},null,8,c9)]))])]),n.playlist.folder?V("",!0):(w(),$("footer",d9,[u("a",{class:"card-footer-item has-text-dark",onClick:t[2]||(t[2]=(...i)=>o.queue_add&&o.queue_add(...i))},[y(a,{class:"icon",name:"playlist-plus",size:"16"}),u("span",{class:"is-size-7",textContent:g(e.$t("dialog.playlist.add"))},null,8,m9)]),u("a",{class:"card-footer-item has-text-dark",onClick:t[3]||(t[3]=(...i)=>o.queue_add_next&&o.queue_add_next(...i))},[y(a,{class:"icon",name:"playlist-play",size:"16"}),u("span",{class:"is-size-7",textContent:g(e.$t("dialog.playlist.add-next"))},null,8,f9)]),u("a",{class:"card-footer-item has-text-dark",onClick:t[4]||(t[4]=(...i)=>o.play&&o.play(...i))},[y(a,{class:"icon",name:"play",size:"16"}),u("span",{class:"is-size-7",textContent:g(e.$t("dialog.playlist.play"))},null,8,p9)])]))])]),u("button",{class:"modal-close is-large","aria-label":"close",onClick:t[5]||(t[5]=i=>e.$emit("close"))})])):V("",!0)]),_:1})])}const S1=te(Y7,[["render",h9]]),_9={name:"ListPlaylists",components:{ModalDialogPlaylist:S1},props:["playlists"],data(){return{show_details_modal:!1,selected_playlist:{}}},methods:{open_playlist(e){e.type==="folder"?this.$router.push({name:"playlist-folder",params:{id:e.id}}):this.$router.push({name:"playlist",params:{id:e.id}})},open_dialog(e){this.selected_playlist=e,this.show_details_modal=!0},icon_name(e){return e.type==="folder"?"folder":e.type==="rss"?"rss":"music-box-multiple"}}},g9=["onClick"],y9={class:"media-left is-clickable"},v9={class:"media-content is-clickable is-clipped"},b9=["textContent"],z9={class:"media-right"},C9=["onClick"];function w9(e,t,n,r,s,o){const a=S("mdicon"),i=S("modal-dialog-playlist");return w(),$(Ce,null,[(w(!0),$(Ce,null,at(n.playlists,l=>(w(),$("div",{key:l.itemId,class:"media is-align-items-center",onClick:c=>o.open_playlist(l.item)},[u("figure",y9,[y(a,{class:"icon",name:o.icon_name(l.item),size:"16"},null,8,["name"])]),u("div",v9,[u("h1",{class:"title is-6",textContent:g(l.item.name)},null,8,b9)]),u("div",z9,[u("a",{onClick:nt(c=>o.open_dialog(l.item),["prevent","stop"])},[y(a,{class:"icon has-text-dark",name:"dots-vertical",size:"16"})],8,C9)])],8,g9))),128)),(w(),ce(Yr,{to:"#app"},[y(i,{show:s.show_details_modal,playlist:s.selected_playlist,onClose:t[0]||(t[0]=l=>s.show_details_modal=!1)},null,8,["show","playlist"])]))],64)}const Cm=te(_9,[["render",w9]]),bi={load(e){return e.query.directory?M.library_files(e.query.directory):Promise.resolve()},set(e,t){t?(e.dirs=t.data.directories,e.playlists=new pe(t.data.playlists),e.tracks=new pe(t.data.tracks)):(e.dirs=e.$store.state.config.directories.map(n=>({path:n})),e.playlists=new pe,e.tracks=new pe)}},k9={name:"PageFiles",components:{ContentWithHeading:Je,ListDirectories:Z7,ListPlaylists:Cm,ListTracks:bn,ModalDialogDirectory:E1},beforeRouteEnter(e,t,n){bi.load(e).then(r=>{n(s=>bi.set(s,r))})},beforeRouteUpdate(e,t,n){const r=this;bi.load(e).then(s=>{bi.set(r,s),n()})},data(){return{dirs:[],playlists:new pe,tracks:new pe,show_details_modal:!1}},computed:{current_directory(){return this.$route.query&&this.$route.query.directory?this.$route.query.directory:"/"},play_expression(){return'path starts with "'+this.current_directory+'" order by path asc'}},methods:{play(){M.player_play_expression(this.play_expression,!1)}}},x9={class:"fd-page"},E9=["textContent"],S9=["textContent"],$9={class:"buttons is-centered"},A9=["textContent"];function T9(e,t,n,r,s,o){const a=S("mdicon"),i=S("list-directories"),l=S("list-playlists"),c=S("list-tracks"),d=S("modal-dialog-directory"),f=S("content-with-heading");return w(),$("div",x9,[y(f,null,{"heading-left":E(()=>[u("p",{class:"title is-4",textContent:g(e.$t("page.files.title"))},null,8,E9),u("p",{class:"title is-7 has-text-grey",textContent:g(o.current_directory)},null,8,S9)]),"heading-right":E(()=>[u("div",$9,[u("a",{class:"button is-small is-light is-rounded",onClick:t[0]||(t[0]=m=>s.show_details_modal=!0)},[y(a,{class:"icon",name:"dots-horizontal",size:"16"})]),u("a",{class:"button is-small is-dark is-rounded",onClick:t[1]||(t[1]=(...m)=>o.play&&o.play(...m))},[y(a,{class:"icon",name:"play",size:"16"}),u("span",{textContent:g(e.$t("page.files.play"))},null,8,A9)])])]),content:E(()=>[y(i,{directories:s.dirs},null,8,["directories"]),y(l,{playlists:s.playlists},null,8,["playlists"]),y(c,{tracks:s.tracks,expression:o.play_expression,show_icon:!0},null,8,["tracks","expression"]),y(d,{show:s.show_details_modal,directory:o.current_directory,onClose:t[2]||(t[2]=m=>s.show_details_modal=!1)},null,8,["show","directory"])]),_:1})])}const O9=te(k9,[["render",T9]]),zi={load(e){return Promise.all([M.library_genre(e.params.name,e.query.media_kind),M.library_genre_albums(e.params.name,e.query.media_kind)])},set(e,t){e.genre=t[0].data,e.albums_list=new pe(t[1].data.albums),e.albums_list.group(Dn("name_sort",!0))}},D9={name:"PageGenreAlbums",components:{ContentWithHeading:Je,IndexButtonList:Kn,ListAlbums:dr,ModalDialogGenre:bm},beforeRouteEnter(e,t,n){zi.load(e).then(r=>{n(s=>zi.set(s,r))})},beforeRouteUpdate(e,t,n){if(!this.albums_list.isEmpty()){n();return}const r=this;zi.load(e).then(s=>{zi.set(r,s),n()})},data(){return{genre:{},albums_list:new pe,media_kind:this.$route.query.media_kind,show_genre_details_modal:!1}},methods:{open_tracks(){this.show_details_modal=!1,this.$router.push({name:"genre-tracks",params:{name:this.genre.name},query:{media_kind:this.media_kind}})},play(){M.player_play_expression(`genre is "${this.genre.name}" and media_kind is ${this.media_kind}`,!0)}}},P9={class:"fd-page"},I9=["textContent"],F9={class:"buttons is-centered"},R9=["textContent"],L9={class:"heading has-text-centered-mobile"},M9=["textContent"],N9=u("span",null," | ",-1),V9=["textContent"];function B9(e,t,n,r,s,o){const a=S("index-button-list"),i=S("mdicon"),l=S("list-albums"),c=S("modal-dialog-genre"),d=S("content-with-heading");return w(),$("div",P9,[y(d,null,{options:E(()=>[y(a,{index:s.albums_list.indexList},null,8,["index"])]),"heading-left":E(()=>[u("p",{class:"title is-4",textContent:g(s.genre.name)},null,8,I9)]),"heading-right":E(()=>[u("div",F9,[u("a",{class:"button is-small is-light is-rounded",onClick:t[0]||(t[0]=f=>s.show_genre_details_modal=!0)},[y(i,{class:"icon",name:"dots-horizontal",size:"16"})]),u("a",{class:"button is-small is-dark is-rounded",onClick:t[1]||(t[1]=(...f)=>o.play&&o.play(...f))},[y(i,{class:"icon",name:"shuffle",size:"16"}),u("span",{textContent:g(e.$t("page.genre.shuffle"))},null,8,R9)])])]),content:E(()=>[u("p",L9,[u("span",{textContent:g(e.$t("page.genre.album-count",{count:s.genre.album_count}))},null,8,M9),N9,u("a",{class:"has-text-link",onClick:t[2]||(t[2]=(...f)=>o.open_tracks&&o.open_tracks(...f)),textContent:g(e.$t("page.genre.track-count",{count:s.genre.track_count}))},null,8,V9)]),y(l,{albums:s.albums_list},null,8,["albums"]),y(c,{genre:s.genre,media_kind:s.media_kind,show:s.show_genre_details_modal,onClose:t[3]||(t[3]=f=>s.show_genre_details_modal=!1)},null,8,["genre","media_kind","show"])]),_:1})])}const H9=te(D9,[["render",B9]]),Ci={load(e){return Promise.all([M.library_genre(e.params.name,e.query.media_kind),M.library_genre_tracks(e.params.name,e.query.media_kind)])},set(e,t){e.genre=t[0].data,e.tracks_list=new pe(t[1].data.tracks)}},j9={name:"PageGenreTracks",components:{ContentWithHeading:Je,ControlDropdown:Cs,IndexButtonList:Kn,ListTracks:bn,ModalDialogGenre:bm},beforeRouteEnter(e,t,n){Ci.load(e).then(r=>{n(s=>Ci.set(s,r))})},beforeRouteUpdate(e,t,n){if(!this.tracks_list.isEmpty()){n();return}const r=this;Ci.load(e).then(s=>{Ci.set(r,s),n()})},data(){return{genre:{},groupby_options:[{id:1,name:this.$t("page.genre.sort-by.name"),options:Dn("title_sort")},{id:2,name:this.$t("page.genre.sort-by.rating"),options:pm("rating",{direction:"desc"})}],media_kind:this.$route.query.media_kind,show_genre_details_modal:!1,tracks_list:new pe}},computed:{expression(){return`genre is "${this.genre.name}" and media_kind is ${this.media_kind}`},selected_groupby_option_id:{get(){return this.$store.state.genre_tracks_sort},set(e){this.$store.commit(Ih,e)}},tracks(){const e=this.groupby_options.find(t=>t.id===this.selected_groupby_option_id);return this.tracks_list.group(e.options),this.tracks_list}},methods:{open_genre(){this.show_details_modal=!1,this.$router.push({name:"genre-albums",params:{name:this.genre.name},query:{media_kind:this.media_kind}})},play(){M.player_play_expression(this.expression,!0)}}},U9={class:"fd-page"},q9={class:"columns"},W9={class:"column"},G9=["textContent"],K9=["textContent"],Z9={class:"buttons is-centered"},Y9=["textContent"],J9={class:"heading has-text-centered-mobile"},X9=["textContent"],Q9=u("span",null," | ",-1),eV=["textContent"];function tV(e,t,n,r,s,o){const a=S("index-button-list"),i=S("control-dropdown"),l=S("mdicon"),c=S("list-tracks"),d=S("modal-dialog-genre"),f=S("content-with-heading");return w(),$("div",U9,[y(f,null,{options:E(()=>[y(a,{index:o.tracks.indexList},null,8,["index"]),u("div",q9,[u("div",W9,[u("p",{class:"heading mb-5",textContent:g(e.$t("page.genre.sort-by.title"))},null,8,G9),y(i,{value:o.selected_groupby_option_id,"onUpdate:value":t[0]||(t[0]=m=>o.selected_groupby_option_id=m),options:s.groupby_options},null,8,["value","options"])])])]),"heading-left":E(()=>[u("p",{class:"title is-4",textContent:g(s.genre.name)},null,8,K9)]),"heading-right":E(()=>[u("div",Z9,[u("a",{class:"button is-small is-light is-rounded",onClick:t[1]||(t[1]=m=>s.show_genre_details_modal=!0)},[y(l,{class:"icon",name:"dots-horizontal",size:"16"})]),u("a",{class:"button is-small is-dark is-rounded",onClick:t[2]||(t[2]=(...m)=>o.play&&o.play(...m))},[y(l,{class:"icon",name:"shuffle",size:"16"}),u("span",{textContent:g(e.$t("page.genre.shuffle"))},null,8,Y9)])])]),content:E(()=>[u("p",J9,[u("a",{class:"has-text-link",onClick:t[3]||(t[3]=(...m)=>o.open_genre&&o.open_genre(...m)),textContent:g(e.$t("page.genre.album-count",{count:s.genre.album_count}))},null,8,X9),Q9,u("span",{textContent:g(e.$t("page.genre.track-count",{count:s.genre.track_count}))},null,8,eV)]),y(c,{tracks:o.tracks,expression:o.expression},null,8,["tracks","expression"]),y(d,{show:s.show_genre_details_modal,genre:s.genre,media_kind:s.media_kind,onClose:t[4]||(t[4]=m=>s.show_genre_details_modal=!1)},null,8,["show","genre","media_kind"])]),_:1})])}const nV=te(j9,[["render",tV]]),wi={load(e){return M.library_genres("music")},set(e,t){e.genres=t.data,e.genres=new pe(t.data),e.genres.group(Dn("name_sort"))}},rV={name:"PageGenres",components:{ContentWithHeading:Je,IndexButtonList:Kn,ListGenres:k1,TabsMusic:mr},beforeRouteEnter(e,t,n){wi.load(e).then(r=>{n(s=>wi.set(s,r))})},beforeRouteUpdate(e,t,n){const r=this;wi.load(e).then(s=>{wi.set(r,s),n()})},data(){return{genres:new pe}}},sV={class:"fd-page-with-tabs"},oV=["textContent"],aV=["textContent"];function iV(e,t,n,r,s,o){const a=S("tabs-music"),i=S("index-button-list"),l=S("list-genres"),c=S("content-with-heading");return w(),$("div",sV,[y(a),y(c,null,{options:E(()=>[y(i,{index:s.genres.indexList},null,8,["index"])]),"heading-left":E(()=>[u("p",{class:"title is-4",textContent:g(e.$t("page.genres.title"))},null,8,oV),u("p",{class:"heading",textContent:g(e.$t("page.genres.count",{count:s.genres.total}))},null,8,aV)]),content:E(()=>[y(l,{genres:s.genres,media_kind:"music"},null,8,["genres"])]),_:1})])}const lV=te(rV,[["render",iV]]),ki={load(e){return Promise.all([M.search({type:"album",expression:"time_added after 8 weeks ago and media_kind is music having track_count > 3 order by time_added desc",limit:3}),M.search({type:"track",expression:"time_played after 8 weeks ago and media_kind is music order by time_played desc",limit:3})])},set(e,t){e.recently_added=new pe(t[0].data.albums),e.recently_played=new pe(t[1].data.tracks)}},uV={name:"PageMusic",components:{ContentWithHeading:Je,ListAlbums:dr,ListTracks:bn,TabsMusic:mr},beforeRouteEnter(e,t,n){ki.load(e).then(r=>{n(s=>ki.set(s,r))})},beforeRouteUpdate(e,t,n){const r=this;ki.load(e).then(s=>{ki.set(r,s),n()})},data(){return{recently_added:[],recently_played:{items:[]},selected_track:{},show_track_details_modal:!1}}},cV={class:"fd-page-with-tabs"},dV=["textContent"],mV={class:"level"},fV={class:"level-item"},pV=["textContent"],hV={class:"level"},_V={class:"level-item"};function gV(e,t,n,r,s,o){const a=S("tabs-music"),i=S("list-albums"),l=S("router-link"),c=S("content-with-heading"),d=S("list-tracks");return w(),$("div",cV,[y(a),y(c,null,{"heading-left":E(()=>[u("p",{class:"title is-4",textContent:g(e.$t("page.music.recently-added.title"))},null,8,dV)]),content:E(()=>[y(i,{albums:s.recently_added},null,8,["albums"])]),footer:E(()=>[u("nav",mV,[u("p",fV,[y(l,{class:"button is-light is-small is-rounded",to:{name:"music-recently-added"}},{default:E(()=>[tt(g(e.$t("page.music.show-more")),1)]),_:1})])])]),_:1}),y(c,null,{"heading-left":E(()=>[u("p",{class:"title is-4",textContent:g(e.$t("page.music.recently-played.title"))},null,8,pV)]),content:E(()=>[y(d,{tracks:s.recently_played},null,8,["tracks"])]),footer:E(()=>[u("nav",hV,[u("p",_V,[y(l,{class:"button is-light is-small is-rounded",to:{name:"music-recently-played"}},{default:E(()=>[tt(g(e.$t("page.music.show-more")),1)]),_:1})])])]),_:1})])}const yV=te(uV,[["render",gV]]),vV={name:"ListItemPlaylistSpotify",props:["playlist"],methods:{open_playlist(){this.$router.push({name:"playlist-spotify",params:{id:this.playlist.id}})}}},bV={class:"media is-align-items-center"},zV=["textContent"],CV=["textContent"],wV={class:"media-right"};function kV(e,t,n,r,s,o){return w(),$("div",bV,[u("div",{class:"media-content is-clickable is-clipped",onClick:t[0]||(t[0]=(...a)=>o.open_playlist&&o.open_playlist(...a))},[u("h1",{class:"title is-6",textContent:g(n.playlist.name)},null,8,zV),u("h2",{class:"subtitle is-7",textContent:g(n.playlist.owner.display_name)},null,8,CV)]),u("div",wV,[st(e.$slots,"actions")])])}const wm=te(vV,[["render",kV]]),xV={name:"ModalDialogPlaylistSpotify",props:["show","playlist"],emits:["close"],methods:{play(){this.$emit("close"),M.player_play_uri(this.playlist.uri,!1)},queue_add(){this.$emit("close"),M.queue_add(this.playlist.uri)},queue_add_next(){this.$emit("close"),M.queue_add_next(this.playlist.uri)},open_playlist(){this.$emit("close"),this.$router.push({name:"playlist-spotify",params:{id:this.playlist.id}})}}},EV={key:0,class:"modal is-active"},SV={class:"modal-content fd-modal-card"},$V={class:"card"},AV={class:"card-content"},TV={class:"title is-4"},OV=["textContent"],DV={class:"content is-small"},PV=["textContent"],IV=["textContent"],FV=["textContent"],RV=["textContent"],LV=["textContent"],MV=["textContent"],NV={class:"card-footer"},VV=["textContent"],BV=["textContent"],HV=["textContent"];function jV(e,t,n,r,s,o){const a=S("mdicon");return w(),$("div",null,[y(Dt,{name:"fade"},{default:E(()=>[n.show?(w(),$("div",EV,[u("div",{class:"modal-background",onClick:t[0]||(t[0]=i=>e.$emit("close"))}),u("div",SV,[u("div",$V,[u("div",AV,[u("p",TV,[u("a",{class:"has-text-link",onClick:t[1]||(t[1]=(...i)=>o.open_playlist&&o.open_playlist(...i)),textContent:g(n.playlist.name)},null,8,OV)]),u("div",DV,[u("p",null,[u("span",{class:"heading",textContent:g(e.$t("dialog.spotify.playlist.owner"))},null,8,PV),u("span",{class:"title is-6",textContent:g(n.playlist.owner.display_name)},null,8,IV)]),u("p",null,[u("span",{class:"heading",textContent:g(e.$t("dialog.spotify.playlist.tracks"))},null,8,FV),u("span",{class:"title is-6",textContent:g(n.playlist.tracks.total)},null,8,RV)]),u("p",null,[u("span",{class:"heading",textContent:g(e.$t("dialog.spotify.playlist.path"))},null,8,LV),u("span",{class:"title is-6",textContent:g(n.playlist.uri)},null,8,MV)])])]),u("footer",NV,[u("a",{class:"card-footer-item has-text-dark",onClick:t[2]||(t[2]=(...i)=>o.queue_add&&o.queue_add(...i))},[y(a,{class:"icon",name:"playlist-plus",size:"16"}),u("span",{class:"is-size-7",textContent:g(e.$t("dialog.spotify.playlist.add"))},null,8,VV)]),u("a",{class:"card-footer-item has-text-dark",onClick:t[3]||(t[3]=(...i)=>o.queue_add_next&&o.queue_add_next(...i))},[y(a,{class:"icon",name:"playlist-play",size:"16"}),u("span",{class:"is-size-7",textContent:g(e.$t("dialog.spotify.playlist.add-next"))},null,8,BV)]),u("a",{class:"card-footer-item has-text-dark",onClick:t[4]||(t[4]=(...i)=>o.play&&o.play(...i))},[y(a,{class:"icon",name:"play",size:"16"}),u("span",{class:"is-size-7",textContent:g(e.$t("dialog.spotify.playlist.play"))},null,8,HV)])])])]),u("button",{class:"modal-close is-large","aria-label":"close",onClick:t[5]||(t[5]=i=>e.$emit("close"))})])):V("",!0)]),_:1})])}const lu=te(xV,[["render",jV]]),xi={load(e){if(Ve.state.spotify_new_releases.length>0&&Ve.state.spotify_featured_playlists.length>0)return Promise.resolve();const t=new Gn;return t.setAccessToken(Ve.state.spotify.webapi_token),Promise.all([t.getNewReleases({country:Ve.state.spotify.webapi_country,limit:50}),t.getFeaturedPlaylists({country:Ve.state.spotify.webapi_country,limit:50})])},set(e,t){t&&(Ve.commit(nd,t[0].albums.items),Ve.commit(rd,t[1].playlists.items))}},UV={name:"PageMusicSpotify",components:{ContentWithHeading:Je,CoverArtwork:On,ListItemAlbumSpotify:iu,ListItemPlaylistSpotify:wm,ModalDialogAlbumSpotify:Ra,ModalDialogPlaylistSpotify:lu,TabsMusic:mr},beforeRouteEnter(e,t,n){xi.load(e).then(r=>{n(s=>xi.set(s,r))})},beforeRouteUpdate(e,t,n){const r=this;xi.load(e).then(s=>{xi.set(r,s),n()})},data(){return{show_album_details_modal:!1,selected_album:{},show_playlist_details_modal:!1,selected_playlist:{}}},computed:{new_releases(){return this.$store.state.spotify_new_releases.slice(0,3)},featured_playlists(){return this.$store.state.spotify_featured_playlists.slice(0,3)},is_visible_artwork(){return this.$store.getters.settings_option("webinterface","show_cover_artwork_in_album_lists").value}},methods:{open_album(e){this.$router.push({name:"music-spotify-album",params:{id:e.id}})},open_album_dialog(e){this.selected_album=e,this.show_album_details_modal=!0},open_playlist_dialog(e){this.selected_playlist=e,this.show_playlist_details_modal=!0},artwork_url(e){return e.images&&e.images.length>0?e.images[0].url:""}}},qV={class:"fd-page-with-tabs"},WV=["textContent"],GV=["onClick"],KV={class:"level"},ZV={class:"level-item"},YV=["textContent"],JV=["onClick"],XV={class:"level"},QV={class:"level-item"};function eB(e,t,n,r,s,o){const a=S("tabs-music"),i=S("cover-artwork"),l=S("mdicon"),c=S("list-item-album-spotify"),d=S("modal-dialog-album-spotify"),f=S("router-link"),m=S("content-with-heading"),p=S("list-item-playlist-spotify"),h=S("modal-dialog-playlist-spotify");return w(),$("div",qV,[y(a),y(m,null,{"heading-left":E(()=>[u("p",{class:"title is-4",textContent:g(e.$t("page.spotify.music.new-releases"))},null,8,WV)]),content:E(()=>[(w(!0),$(Ce,null,at(o.new_releases,_=>(w(),ce(c,{key:_.id,album:_,onClick:z=>o.open_album(_)},Sa({actions:E(()=>[u("a",{onClick:nt(z=>o.open_album_dialog(_),["prevent","stop"])},[y(l,{class:"icon has-text-dark",name:"dots-vertical",size:"16"})],8,GV)]),_:2},[o.is_visible_artwork?{name:"artwork",fn:E(()=>[y(i,{artwork_url:o.artwork_url(_),artist:_.artist,album:_.name,class:"is-clickable fd-has-shadow fd-cover fd-cover-small-image",maxwidth:64,maxheight:64},null,8,["artwork_url","artist","album"])]),key:"0"}:void 0]),1032,["album","onClick"]))),128)),y(d,{show:s.show_album_details_modal,album:s.selected_album,onClose:t[0]||(t[0]=_=>s.show_album_details_modal=!1)},null,8,["show","album"])]),footer:E(()=>[u("nav",KV,[u("p",ZV,[y(f,{to:{name:"music-spotify-new-releases"},class:"button is-light is-small is-rounded"},{default:E(()=>[tt(g(e.$t("page.spotify.music.show-more")),1)]),_:1})])])]),_:1}),y(m,null,{"heading-left":E(()=>[u("p",{class:"title is-4",textContent:g(e.$t("page.spotify.music.featured-playlists"))},null,8,YV)]),content:E(()=>[(w(!0),$(Ce,null,at(o.featured_playlists,_=>(w(),ce(p,{key:_.id,playlist:_},{actions:E(()=>[u("a",{onClick:nt(z=>o.open_playlist_dialog(_),["prevent","stop"])},[y(l,{class:"icon has-text-dark",name:"dots-vertical",size:"16"})],8,JV)]),_:2},1032,["playlist"]))),128)),y(h,{show:s.show_playlist_details_modal,playlist:s.selected_playlist,onClose:t[1]||(t[1]=_=>s.show_playlist_details_modal=!1)},null,8,["show","playlist"])]),footer:E(()=>[u("nav",XV,[u("p",QV,[y(f,{to:{name:"music-spotify-featured-playlists"},class:"button is-light is-small is-rounded"},{default:E(()=>[tt(g(e.$t("page.spotify.music.show-more")),1)]),_:1})])])]),_:1})])}const tB=te(UV,[["render",eB]]),Ei={load(e){if(Ve.state.spotify_new_releases.length>0)return Promise.resolve();const t=new Gn;return t.setAccessToken(Ve.state.spotify.webapi_token),t.getNewReleases({country:Ve.state.spotify.webapi_country,limit:50})},set(e,t){t&&Ve.commit(nd,t.albums.items)}},nB={name:"PageMusicSpotifyNewReleases",components:{ContentWithHeading:Je,CoverArtwork:On,ListItemAlbumSpotify:iu,ModalDialogAlbumSpotify:Ra,TabsMusic:mr},beforeRouteEnter(e,t,n){Ei.load(e).then(r=>{n(s=>Ei.set(s,r))})},beforeRouteUpdate(e,t,n){const r=this;Ei.load(e).then(s=>{Ei.set(r,s),n()})},data(){return{show_album_details_modal:!1,selected_album:{}}},computed:{new_releases(){return this.$store.state.spotify_new_releases},is_visible_artwork(){return this.$store.getters.settings_option("webinterface","show_cover_artwork_in_album_lists").value}},methods:{open_album(e){this.$router.push({name:"music-spotify-album",params:{id:e.id}})},open_album_dialog(e){this.selected_album=e,this.show_album_details_modal=!0},artwork_url(e){return e.images&&e.images.length>0?e.images[0].url:""}}},rB={class:"fd-page-with-tabs"},sB=["textContent"],oB=["onClick"];function aB(e,t,n,r,s,o){const a=S("tabs-music"),i=S("cover-artwork"),l=S("mdicon"),c=S("list-item-album-spotify"),d=S("modal-dialog-album-spotify"),f=S("content-with-heading");return w(),$("div",rB,[y(a),y(f,null,{"heading-left":E(()=>[u("p",{class:"title is-4",textContent:g(e.$t("page.spotify.music.new-releases"))},null,8,sB)]),content:E(()=>[(w(!0),$(Ce,null,at(o.new_releases,m=>(w(),ce(c,{key:m.id,album:m,onClick:p=>o.open_album(m)},Sa({actions:E(()=>[u("a",{onClick:nt(p=>o.open_album_dialog(m),["prevent","stop"])},[y(l,{class:"icon has-text-dark",name:"dots-vertical",size:"16"})],8,oB)]),_:2},[o.is_visible_artwork?{name:"artwork",fn:E(()=>[y(i,{artwork_url:o.artwork_url(m),artist:m.artist,album:m.name,class:"is-clickable fd-has-shadow fd-cover fd-cover-small-image",maxwidth:64,maxheight:64},null,8,["artwork_url","artist","album"])]),key:"0"}:void 0]),1032,["album","onClick"]))),128)),y(d,{show:s.show_album_details_modal,album:s.selected_album,onClose:t[0]||(t[0]=m=>s.show_album_details_modal=!1)},null,8,["show","album"])]),_:1})])}const iB=te(nB,[["render",aB]]),Si={load(e){if(Ve.state.spotify_featured_playlists.length>0)return Promise.resolve();const t=new Gn;t.setAccessToken(Ve.state.spotify.webapi_token),t.getFeaturedPlaylists({country:Ve.state.spotify.webapi_country,limit:50})},set(e,t){t&&Ve.commit(rd,t.playlists.items)}},lB={name:"PageMusicSpotifyFeaturedPlaylists",components:{ContentWithHeading:Je,ListItemPlaylistSpotify:wm,ModalDialogPlaylistSpotify:lu,TabsMusic:mr},beforeRouteEnter(e,t,n){Si.load(e).then(r=>{n(s=>Si.set(s,r))})},beforeRouteUpdate(e,t,n){const r=this;Si.load(e).then(s=>{Si.set(r,s),n()})},data(){return{show_playlist_details_modal:!1,selected_playlist:{}}},computed:{featured_playlists(){return this.$store.state.spotify_featured_playlists}},methods:{open_playlist_dialog(e){this.selected_playlist=e,this.show_playlist_details_modal=!0}}},uB={class:"fd-page-with-tabs"},cB=["textContent"],dB=["onClick"];function mB(e,t,n,r,s,o){const a=S("tabs-music"),i=S("mdicon"),l=S("list-item-playlist-spotify"),c=S("modal-dialog-playlist-spotify"),d=S("content-with-heading");return w(),$("div",uB,[y(a),y(d,null,{"heading-left":E(()=>[u("p",{class:"title is-4",textContent:g(e.$t("page.spotify.music.featured-playlists"))},null,8,cB)]),content:E(()=>[(w(!0),$(Ce,null,at(o.featured_playlists,f=>(w(),ce(l,{key:f.id,playlist:f},{actions:E(()=>[u("a",{onClick:nt(m=>o.open_playlist_dialog(f),["prevent","stop"])},[y(i,{class:"icon has-text-dark",name:"dots-vertical",size:"16"})],8,dB)]),_:2},1032,["playlist"]))),128)),y(c,{show:s.show_playlist_details_modal,playlist:s.selected_playlist,onClose:t[0]||(t[0]=f=>s.show_playlist_details_modal=!1)},null,8,["show","playlist"])]),_:1})])}const fB=te(lB,[["render",mB]]),$i={load(e){const t=Ve.getters.settings_option_recently_added_limit;return M.search({type:"album",expression:"media_kind is music having track_count > 3 order by time_added desc",limit:t})},set(e,t){e.recently_added=new pe(t.data.albums),e.recently_added.group(q4("time_added",{direction:"desc"}))}},pB={name:"PageMusicRecentlyAdded",components:{ContentWithHeading:Je,TabsMusic:mr,ListAlbums:dr},beforeRouteEnter(e,t,n){$i.load(e).then(r=>{n(s=>$i.set(s,r))})},beforeRouteUpdate(e,t,n){if(!this.recently_added.isEmpty()){n();return}const r=this;$i.load(e).then(s=>{$i.set(r,s),n()})},data(){return{recently_added:new pe}}},hB={class:"fd-page-with-tabs"},_B=["textContent"];function gB(e,t,n,r,s,o){const a=S("tabs-music"),i=S("list-albums"),l=S("content-with-heading");return w(),$("div",hB,[y(a),y(l,null,{"heading-left":E(()=>[u("p",{class:"title is-4",textContent:g(e.$t("page.music.recently-added.title"))},null,8,_B)]),content:E(()=>[y(i,{albums:s.recently_added},null,8,["albums"])]),_:1})])}const yB=te(pB,[["render",gB]]),Ai={load(e){return M.search({type:"track",expression:"time_played after 8 weeks ago and media_kind is music order by time_played desc",limit:50})},set(e,t){e.recently_played=new pe(t.data.tracks)}},vB={name:"PageMusicRecentlyPlayed",components:{ContentWithHeading:Je,TabsMusic:mr,ListTracks:bn},beforeRouteEnter(e,t,n){Ai.load(e).then(r=>{n(s=>Ai.set(s,r))})},beforeRouteUpdate(e,t,n){const r=this;Ai.load(e).then(s=>{Ai.set(r,s),n()})},data(){return{recently_played:{}}}},bB={class:"fd-page-with-tabs"},zB=["textContent"];function CB(e,t,n,r,s,o){const a=S("tabs-music"),i=S("list-tracks"),l=S("content-with-heading");return w(),$("div",bB,[y(a),y(l,null,{"heading-left":E(()=>[u("p",{class:"title is-4",textContent:g(e.$t("page.music.recently-played.title"))},null,8,zB)]),content:E(()=>[y(i,{tracks:s.recently_played},null,8,["tracks"])]),_:1})])}const wB=te(vB,[["render",CB]]);const kB={name:"LyricsPane",data(){return this.lastIndex=-1,this.scrollTimer=null,this.lastItemId=-1,{scroll:{},autoScroll:!0}},computed:{is_playing(){return this.player.state==="play"},is_sync(){return this.lyricsArr.length&&this.lyricsArr[0].length>1},lyricIndex(){const e=this.player.item_progress_ms/1e3,t=this.lyricsArr;if(t.length&&t[0].length===1)return this.resetPosCache(),-1;if((this.player.item_id!=this.lastItemId||this.lastIndexValid()&&t[this.lastIndex][1]>e)&&this.resetPosCache(),this.lastIndex<t.length-1&&t[this.lastIndex+1][1]>e)return this.lastIndex;if(this.lastIndex<t.length-2&&t[this.lastIndex+2][1]>e)return this.lastIndex+1;let n,r=0,s=t.length-1;for(;r<=s&&(n=(s+r)/2|0,!(t[n][1]<=e&&t.length>n+1&&t[n+1][1]>e));)t[n][1]<e?r=n+1:s=n-1;return n},lyricDuration(){return!this.lyricsArr.length||this.lyricsArr[0].length<2?3600:this.lyricIndex==-1&&this.player.item_progress_ms/1e3<this.lyricsArr[0][1]?this.lyricsArr[0][1]:this.lyricIndex<this.lyricsArr.length-1?this.lyricsArr[this.lyricIndex+1][1]-this.lyricsArr[this.lyricIndex][1]:3600},lyricsArr(){return this.$store.getters.lyrics},player(){return this.$store.state.player},splitLyric(){if(!this.lyricsArr.length||this.lyricIndex==-1)return{};const e=this.lyricsArr[this.lyricIndex][0],t=this.lyricDuration/e.length,n=e.match(/\S+\s*/g);let r=0;return n.map(s=>{let o=r;return r+=(s.length+1)*t,{delay:o,text:s}})}},watch:{lyricIndex(){this.autoScroll&&this._scrollToElement(),this.lastIndex=this.lyricIndex}},methods:{lastIndexValid(){return this.lastIndex>=0&&this.lastIndex<this.lyricsArr.length},resetPosCache(){this.player.item_id!=this.lastItemId&&this.$refs.lyricsWrapper&&this.$refs.lyricsWrapper.scrollTo(0,0),this.lastItemId=this.player.item_id,this.lastIndex=-1},startedScroll(e){if(!e.screenX||e.screenX==0||!e.screenY||e.screenY==0)return;this.autoScroll=!1,this.scrollTimer&&clearTimeout(this.scrollTimer);let t=this;this.scrollTimer=setTimeout(function(){t.autoScroll=!0},5e3)},_scrollToElement(){let e=this.$refs.lyricsWrapper;if(this.lyricIndex==-1){e.scrollTo(0,0);return}let t=e.children[0].children[this.lyricIndex+1],n=e.offsetHeight>>1;if(!this.lyricsArr||!t)return;let r=e.scrollTop,s=t.offsetTop-n+(t.offsetHeight>>1);e.scrollBy({top:s-r,left:0,behavior:"smooth"})}}},km=e=>(m_("data-v-0eb9967b"),e=e(),f_(),e),xB=km(()=>u("div",{class:"lyrics-overlay"},null,-1)),EB={class:"lyrics"},SB=km(()=>u("div",{class:"space"},null,-1)),$B={key:0},AB=km(()=>u("div",{class:"space"},null,-1));function TB(e,t,n,r,s,o){return w(),$(Ce,null,[xB,u("div",{ref:"lyricsWrapper",class:"lyrics-wrapper",onTouchstart:t[0]||(t[0]=a=>s.autoScroll=!1),onTouchend:t[1]||(t[1]=a=>s.autoScroll=!0),onScrollPassive:t[2]||(t[2]=(...a)=>o.startedScroll&&o.startedScroll(...a)),onWheelPassive:t[3]||(t[3]=(...a)=>o.startedScroll&&o.startedScroll(...a))},[u("div",EB,[SB,(w(!0),$(Ce,null,at(o.lyricsArr,(a,i)=>(w(),$("div",{key:a,class:ke(i==o.lyricIndex&&o.is_sync&&"gradient")},[i==o.lyricIndex&&o.is_sync&&o.is_playing?(w(),$("ul",$B,[(w(!0),$(Ce,null,at(o.splitLyric,l=>(w(),$("li",{key:l.delay,style:ur({animationDuration:l.delay+"s"})},g(l.text),5))),128))])):V("",!0),i!=o.lyricIndex||!o.is_sync||!o.is_playing?(w(),$(Ce,{key:1},[tt(g(a[0]),1)],64)):V("",!0)],2))),128)),AB])],544)],64)}const OB=te(kB,[["render",TB],["__scopeId","data-v-0eb9967b"]]),DB={name:"ModalDialogQueueItem",props:["show","item"],emits:["close"],data(){return{spotify_track:{}}},watch:{item(){if(this.item&&this.item.data_kind==="spotify"){const e=new Gn;e.setAccessToken(this.$store.state.spotify.webapi_token),e.getTrack(this.item.path.slice(this.item.path.lastIndexOf(":")+1)).then(t=>{this.spotify_track=t})}else this.spotify_track={}}},methods:{remove(){this.$emit("close"),M.queue_remove(this.item.id)},play(){this.$emit("close"),M.player_play({item_id:this.item.id})},open_album(){this.item.media_kind==="podcast"?this.$router.push({name:"podcast",params:{id:this.item.album_id}}):this.item.media_kind==="audiobook"?this.$router.push({name:"audiobooks-album",params:{id:this.item.album_id}}):this.$router.push({name:"music-album",params:{id:this.item.album_id}})},open_album_artist(){this.$router.push({name:"music-artist",params:{id:this.item.album_artist_id}})},open_genre(){this.$router.push({name:"genre-albums",params:{name:this.item.genre},query:{media_kind:this.item.media_kind}})},open_spotify_artist(){this.$emit("close"),this.$router.push({name:"music-spotify-artist",params:{id:this.spotify_track.artists[0].id}})},open_spotify_album(){this.$emit("close"),this.$router.push({name:"music-spotify-album",params:{id:this.spotify_track.album.id}})}}},PB={key:0,class:"modal is-active"},IB={class:"modal-content fd-modal-card"},FB={class:"card"},RB={class:"card-content"},LB=["textContent"],MB=["textContent"],NB={class:"content is-small"},VB=["textContent"],BB=["textContent"],HB=["textContent"],jB={key:0},UB=["textContent"],qB=["textContent"],WB=["textContent"],GB={key:1},KB=["textContent"],ZB=["textContent"],YB={key:2},JB=["textContent"],XB=["textContent"],QB={key:3},eH=["textContent"],tH=["textContent"],nH=["textContent"],rH=["textContent"],sH=["textContent"],oH=["textContent"],aH=["textContent"],iH=["textContent"],lH=["textContent"],uH={class:"title is-6"},cH=["textContent"],dH={key:0,class:"has-text-weight-normal"},mH=["textContent"],fH=["textContent"],pH=["textContent"],hH={class:"title is-6"},_H=["textContent"],gH=["textContent"],yH=["textContent"],vH=["textContent"],bH={class:"card-footer"},zH=["textContent"],CH=["textContent"];function wH(e,t,n,r,s,o){const a=S("mdicon");return w(),$("div",null,[y(Dt,{name:"fade"},{default:E(()=>[n.show?(w(),$("div",PB,[u("div",{class:"modal-background",onClick:t[0]||(t[0]=i=>e.$emit("close"))}),u("div",IB,[u("div",FB,[u("div",RB,[u("p",{class:"title is-4",textContent:g(n.item.title)},null,8,LB),u("p",{class:"subtitle",textContent:g(n.item.artist)},null,8,MB),u("div",NB,[u("p",null,[u("span",{class:"heading",textContent:g(e.$t("dialog.queue-item.album"))},null,8,VB),n.item.album_id?(w(),$("a",{key:0,class:"title is-6 has-text-link",onClick:t[1]||(t[1]=(...i)=>o.open_album&&o.open_album(...i)),textContent:g(n.item.album)},null,8,BB)):(w(),$("span",{key:1,class:"title is-6",textContent:g(n.item.album)},null,8,HB))]),n.item.album_artist?(w(),$("p",jB,[u("span",{class:"heading",textContent:g(e.$t("dialog.queue-item.album-artist"))},null,8,UB),n.item.album_artist_id?(w(),$("a",{key:0,class:"title is-6 has-text-link",onClick:t[2]||(t[2]=(...i)=>o.open_album_artist&&o.open_album_artist(...i)),textContent:g(n.item.album_artist)},null,8,qB)):(w(),$("span",{key:1,class:"title is-6",textContent:g(n.item.album_artist)},null,8,WB))])):V("",!0),n.item.composer?(w(),$("p",GB,[u("span",{class:"heading",textContent:g(e.$t("dialog.queue-item.composer"))},null,8,KB),u("span",{class:"title is-6",textContent:g(n.item.composer)},null,8,ZB)])):V("",!0),n.item.year>0?(w(),$("p",YB,[u("span",{class:"heading",textContent:g(e.$t("dialog.queue-item.year"))},null,8,JB),u("span",{class:"title is-6",textContent:g(n.item.year)},null,8,XB)])):V("",!0),n.item.genre?(w(),$("p",QB,[u("span",{class:"heading",textContent:g(e.$t("dialog.queue-item.genre"))},null,8,eH),u("a",{class:"title is-6 has-text-link",onClick:t[3]||(t[3]=(...i)=>o.open_genre&&o.open_genre(...i)),textContent:g(n.item.genre)},null,8,tH)])):V("",!0),u("p",null,[u("span",{class:"heading",textContent:g(e.$t("dialog.queue-item.position"))},null,8,nH),u("span",{class:"title is-6",textContent:g([n.item.disc_number,n.item.track_number].join(" / "))},null,8,rH)]),u("p",null,[u("span",{class:"heading",textContent:g(e.$t("dialog.queue-item.duration"))},null,8,sH),u("span",{class:"title is-6",textContent:g(e.$filters.durationInHours(n.item.length_ms))},null,8,oH)]),u("p",null,[u("span",{class:"heading",textContent:g(e.$t("dialog.queue-item.path"))},null,8,aH),u("span",{class:"title is-6",textContent:g(n.item.path)},null,8,iH)]),u("p",null,[u("span",{class:"heading",textContent:g(e.$t("dialog.queue-item.type"))},null,8,lH),u("span",uH,[u("span",{textContent:g([e.$t("media.kind."+n.item.media_kind),e.$t("data.kind."+n.item.data_kind)].join(" - "))},null,8,cH),n.item.data_kind==="spotify"?(w(),$("span",dH,[tt(" ("),u("a",{onClick:t[4]||(t[4]=(...i)=>o.open_spotify_artist&&o.open_spotify_artist(...i)),textContent:g(e.$t("dialog.queue-item.spotify-artist"))},null,8,mH),tt(", "),u("a",{onClick:t[5]||(t[5]=(...i)=>o.open_spotify_album&&o.open_spotify_album(...i)),textContent:g(e.$t("dialog.queue-item.spotify-album"))},null,8,fH),tt(") ")])):V("",!0)])]),u("p",null,[u("span",{class:"heading",textContent:g(e.$t("dialog.queue-item.quality"))},null,8,pH),u("span",hH,[u("span",{textContent:g(n.item.type)},null,8,_H),n.item.samplerate?(w(),$("span",{key:0,textContent:g(e.$t("dialog.queue-item.samplerate",{rate:n.item.samplerate}))},null,8,gH)):V("",!0),n.item.channels?(w(),$("span",{key:1,textContent:g(e.$t("dialog.queue-item.channels",{channels:e.$filters.channels(n.item.channels)}))},null,8,yH)):V("",!0),n.item.bitrate?(w(),$("span",{key:2,textContent:g(e.$t("dialog.queue-item.bitrate",{rate:n.item.bitrate}))},null,8,vH)):V("",!0)])])])]),u("footer",bH,[u("a",{class:"card-footer-item has-text-dark",onClick:t[6]||(t[6]=(...i)=>o.remove&&o.remove(...i))},[y(a,{class:"icon",name:"delete",size:"16"}),u("span",{class:"is-size-7",textContent:g(e.$t("dialog.queue-item.remove"))},null,8,zH)]),u("a",{class:"card-footer-item has-text-dark",onClick:t[7]||(t[7]=(...i)=>o.play&&o.play(...i))},[y(a,{class:"icon",name:"play",size:"16"}),u("span",{class:"is-size-7",textContent:g(e.$t("dialog.queue-item.play"))},null,8,CH)])])])]),u("button",{class:"modal-close is-large","aria-label":"close",onClick:t[8]||(t[8]=i=>e.$emit("close"))})])):V("",!0)]),_:1})])}const $1=te(DB,[["render",wH]]),Dr=1e3,kH={name:"PageNowPlaying",components:{ControlSlider:Md,CoverArtwork:On,LyricsPane:OB,ModalDialogQueueItem:$1},data(){return{cursor:jl,INTERVAL:Dr,interval_id:0,is_dragged:!1,selected_item:{},show_details_modal:!1}},computed:{is_live(){return this.track.length_ms===0},lyrics_visible(){return this.$store.getters.lyrics_pane},player(){return this.$store.state.player},track(){return this.$store.getters.now_playing},track_progress:{get(){return Math.floor(this.player.item_progress_ms/Dr)},set(e){this.player.item_progress_ms=e*Dr}},track_progress_max(){return this.is_live?1:Math.floor(this.track.length_ms/Dr)},track_elapsed_time(){return this.$filters.durationInHours(this.track_progress*Dr)},track_total_time(){return this.is_live?this.$t("page.now-playing.live"):this.$filters.durationInHours(this.track.length_ms)},settings_option_show_composer_now_playing(){return this.$store.getters.settings_option_show_composer_now_playing},settings_option_show_composer_for_genre(){return this.$store.getters.settings_option_show_composer_for_genre},composer(){return this.settings_option_show_composer_now_playing&&(!this.settings_option_show_composer_for_genre||this.track.genre&&this.settings_option_show_composer_for_genre.toLowerCase().split(",").findIndex(e=>this.track.genre.toLowerCase().indexOf(e.trim())>=0)>=0)?this.track.composer:null},settings_option_show_filepath_now_playing(){return this.$store.getters.settings_option_show_filepath_now_playing},filepath(){return this.settings_option_show_filepath_now_playing?this.track.path:null}},watch:{player(){this.interval_id>0&&(window.clearTimeout(this.interval_id),this.interval_id=0),this.player.state==="play"&&(this.interval_id=window.setInterval(this.tick,Dr))}},created(){M.player_status().then(({data:e})=>{this.$store.commit(td,e),this.player.state==="play"&&(this.interval_id=window.setInterval(this.tick,Dr))})},unmounted(){this.interval_id>0&&(window.clearTimeout(this.interval_id),this.interval_id=0)},methods:{tick(){this.is_dragged||(this.track_progress+=1)},start_dragging(){this.is_dragged=!0},end_dragging(){this.is_dragged=!1},seek(){this.is_live||M.player_seek_to_pos(this.track_progress*Dr)},open_dialog(e){this.selected_item=e,this.show_details_modal=!0}}},xH={class:"hero is-fullheight"},EH={key:0,class:"hero-body"},SH={class:"container has-text-centered",style:{"max-width":"500px"}},$H={class:"is-flex is-justify-content-space-between"},AH=["textContent"],TH=["textContent"],OH=["textContent"],DH=["textContent"],PH=["textContent"],IH=["textContent"],FH=["textContent"],RH={key:1,class:"hero-body"},LH={class:"container has-text-centered"},MH=["textContent"],NH=["textContent"];function VH(e,t,n,r,s,o){const a=S("cover-artwork"),i=S("lyrics-pane"),l=S("control-slider"),c=S("modal-dialog-queue-item");return w(),$("div",xH,[o.track.id>0?(w(),$("div",EH,[u("div",SH,[y(a,{artwork_url:o.track.artwork_url,artist:o.track.artist,album:o.track.album,class:"is-clickable fd-has-shadow fd-cover-big-image",onClick:t[0]||(t[0]=d=>o.open_dialog(o.track))},null,8,["artwork_url","artist","album"]),o.lyrics_visible?(w(),ce(i,{key:0})):V("",!0),y(l,{value:o.track_progress,"onUpdate:value":t[1]||(t[1]=d=>o.track_progress=d),class:"mt-5",disabled:o.is_live,max:o.track_progress_max,cursor:s.cursor,onChange:o.seek,onMousedown:o.start_dragging,onMouseup:o.end_dragging},null,8,["value","disabled","max","cursor","onChange","onMousedown","onMouseup"]),u("div",$H,[u("p",{class:"subtitle is-7",textContent:g(o.track_elapsed_time)},null,8,AH),u("p",{class:"subtitle is-7",textContent:g(o.track_total_time)},null,8,TH)]),u("p",{class:"title is-5",textContent:g(o.track.title)},null,8,OH),u("p",{class:"title is-6",textContent:g(o.track.artist)},null,8,DH),o.composer?(w(),$("p",{key:1,class:"subtitle is-6 has-text-grey has-text-weight-bold",textContent:g(o.composer)},null,8,PH)):V("",!0),o.track.album?(w(),$("p",{key:2,class:"subtitle is-6",textContent:g(o.track.album)},null,8,IH)):V("",!0),o.filepath?(w(),$("p",{key:3,class:"subtitle is-6 has-text-grey",textContent:g(o.filepath)},null,8,FH)):V("",!0)])])):(w(),$("div",RH,[u("div",LH,[u("p",{class:"title is-5",textContent:g(e.$t("page.now-playing.title"))},null,8,MH),u("p",{class:"subtitle",textContent:g(e.$t("page.now-playing.info"))},null,8,NH)])])),y(c,{show:s.show_details_modal,item:s.selected_item,onClose:t[2]||(t[2]=d=>s.show_details_modal=!1)},null,8,["show","item"])])}const BH=te(kH,[["render",VH]]),Ti={load(e){return Promise.all([M.library_playlist(e.params.id),M.library_playlist_folder(e.params.id)])},set(e,t){e.playlist=t[0].data,e.playlists_list=new pe(t[1].data)}},HH={name:"PagePlaylistFolder",components:{ContentWithHeading:Je,ListPlaylists:Cm},beforeRouteEnter(e,t,n){Ti.load(e).then(r=>{n(s=>Ti.set(s,r))})},beforeRouteUpdate(e,t,n){const r=this;Ti.load(e).then(s=>{Ti.set(r,s),n()})},data(){return{playlist:{},playlists_list:new pe}},computed:{has_playlists(){return Object.keys(this.playlists_list.itemsByGroup).length>0},playlists(){return this.playlists_list.group(z1(),[e=>e.folder||this.radio_playlists||e.stream_count===0||e.item_count>e.stream_count]),this.playlists_list},radio_playlists(){return this.$store.state.config.radio_playlists}}},jH={class:"fd-page"},UH=["textContent"],qH=["textContent"];function WH(e,t,n,r,s,o){const a=S("list-playlists"),i=S("content-with-heading");return w(),$("div",jH,[y(i,null,{"heading-left":E(()=>[u("p",{class:"title is-4",textContent:g(s.playlist.id===0?e.$t("page.playlists.title"):s.playlist.name)},null,8,UH),u("p",{class:"heading",textContent:g(e.$t("page.playlists.count",{count:o.playlists.count}))},null,8,qH)]),content:E(()=>[o.has_playlists?(w(),ce(a,{key:0,playlists:o.playlists},null,8,["playlists"])):V("",!0)]),_:1})])}const GH=te(HH,[["render",WH]]),Oi={load(e){return Promise.all([M.library_playlist(e.params.id),M.library_playlist_tracks(e.params.id)])},set(e,t){e.playlist=t[0].data,e.tracks=new pe(t[1].data)}},KH={name:"PagePlaylistTracks",components:{ContentWithHeading:Je,ListTracks:bn,ModalDialogPlaylist:S1},beforeRouteEnter(e,t,n){Oi.load(e).then(r=>{n(s=>Oi.set(s,r))})},beforeRouteUpdate(e,t,n){const r=this;Oi.load(e).then(s=>{Oi.set(r,s),n()})},data(){return{playlist:{},tracks:new pe,show_playlist_details_modal:!1}},computed:{uris(){return this.playlist.random?this.tracks.map(e=>e.uri).join(","):this.playlist.uri}},methods:{play(){M.player_play_uri(this.uris,!0)}}},ZH={class:"fd-page"},YH=["textContent"],JH={class:"buttons is-centered"},XH=["textContent"],QH=["textContent"];function ej(e,t,n,r,s,o){const a=S("mdicon"),i=S("list-tracks"),l=S("modal-dialog-playlist"),c=S("content-with-heading");return w(),$("div",ZH,[y(c,null,{"heading-left":E(()=>[u("div",{class:"title is-4",textContent:g(s.playlist.name)},null,8,YH)]),"heading-right":E(()=>[u("div",JH,[u("a",{class:"button is-small is-light is-rounded",onClick:t[0]||(t[0]=d=>s.show_playlist_details_modal=!0)},[y(a,{class:"icon",name:"dots-horizontal",size:"16"})]),u("a",{class:"button is-small is-dark is-rounded",onClick:t[1]||(t[1]=(...d)=>o.play&&o.play(...d))},[y(a,{class:"icon",name:"shuffle",size:"16"}),u("span",{textContent:g(e.$t("page.playlist.shuffle"))},null,8,XH)])])]),content:E(()=>[u("p",{class:"heading has-text-centered-mobile",textContent:g(e.$t("page.playlist.track-count",{count:s.tracks.count}))},null,8,QH),y(i,{tracks:s.tracks,uris:o.uris},null,8,["tracks","uris"]),y(l,{show:s.show_playlist_details_modal,playlist:s.playlist,uris:o.uris,onClose:t[2]||(t[2]=d=>s.show_playlist_details_modal=!1)},null,8,["show","playlist","uris"])]),_:1})])}const tj=te(KH,[["render",ej]]),Zc=50,Di={load:function(e){const t=new Gn;return t.setAccessToken(Ve.state.spotify.webapi_token),Promise.all([t.getPlaylist(e.params.id),t.getPlaylistTracks(e.params.id,{limit:Zc,offset:0,market:Ve.state.spotify.webapi_country})])},set(e,t){e.playlist=t[0],e.tracks=[],e.total=0,e.offset=0,e.append_tracks(t[1])}},nj={name:"PagePlaylistTracksSpotify",components:{ContentWithHeading:Je,ListItemTrackSpotify:hm,ModalDialogPlaylistSpotify:lu,ModalDialogTrackSpotify:_m,VueEternalLoading:gm},beforeRouteEnter(e,t,n){Di.load(e).then(r=>{n(s=>Di.set(s,r))})},beforeRouteUpdate(e,t,n){const r=this;Di.load(e).then(s=>{Di.set(r,s),n()})},data(){return{playlist:{tracks:{}},tracks:[],total:0,offset:0,show_track_details_modal:!1,selected_track:{},show_playlist_details_modal:!1}},methods:{load_next({loaded:e}){const t=new Gn;t.setAccessToken(this.$store.state.spotify.webapi_token),t.getPlaylistTracks(this.playlist.id,{limit:Zc,offset:this.offset,market:Ve.state.spotify.webapi_country}).then(n=>{this.append_tracks(n),e(n.items.length,Zc)})},append_tracks(e){let t=Math.max(-1,...this.tracks.map(n=>n.position).filter(n=>n));e.items.forEach(n=>{const r=n.track;r&&(r.is_playable&&(r.position=++t),this.tracks.push(r))}),this.total=e.total,this.offset+=e.limit},play(){this.show_details_modal=!1,M.player_play_uri(this.playlist.uri,!0)},open_track_dialog(e){this.selected_track=e,this.show_track_details_modal=!0}}},rj={class:"fd-page"},sj=["textContent"],oj={class:"buttons is-centered"},aj=["textContent"],ij=["textContent"],lj=["onClick"];function uj(e,t,n,r,s,o){const a=S("mdicon"),i=S("list-item-track-spotify"),l=S("VueEternalLoading"),c=S("modal-dialog-track-spotify"),d=S("modal-dialog-playlist-spotify"),f=S("content-with-heading");return w(),$("div",rj,[y(f,null,{"heading-left":E(()=>[u("div",{class:"title is-4",textContent:g(s.playlist.name)},null,8,sj)]),"heading-right":E(()=>[u("div",oj,[u("a",{class:"button is-small is-light is-rounded",onClick:t[0]||(t[0]=m=>s.show_playlist_details_modal=!0)},[y(a,{class:"icon",name:"dots-horizontal",size:"16"})]),u("a",{class:"button is-small is-dark is-rounded",onClick:t[1]||(t[1]=(...m)=>o.play&&o.play(...m))},[y(a,{class:"icon",name:"shuffle",size:"16"}),u("span",{textContent:g(e.$t("page.spotify.playlist.shuffle"))},null,8,aj)])])]),content:E(()=>[u("p",{class:"heading has-text-centered-mobile",textContent:g(e.$t("page.spotify.playlist.count",{count:s.playlist.tracks.total}))},null,8,ij),(w(!0),$(Ce,null,at(s.tracks,m=>(w(),ce(i,{key:m.id,track:m,position:m.position,context_uri:s.playlist.uri},{actions:E(()=>[u("a",{onClick:nt(p=>o.open_track_dialog(m),["prevent","stop"])},[y(a,{class:"icon has-text-dark",name:"dots-vertical",size:"16"})],8,lj)]),_:2},1032,["track","position","context_uri"]))),128)),s.offset<s.total?(w(),ce(l,{key:0,load:o.load_next},{"no-more":E(()=>[tt(" . ")]),_:1},8,["load"])):V("",!0),y(c,{show:s.show_track_details_modal,track:s.selected_track,album:s.selected_track.album,onClose:t[2]||(t[2]=m=>s.show_track_details_modal=!1)},null,8,["show","track","album"]),y(d,{show:s.show_playlist_details_modal,playlist:s.playlist,onClose:t[3]||(t[3]=m=>s.show_playlist_details_modal=!1)},null,8,["show","playlist"])]),_:1})])}const cj=te(nj,[["render",uj]]),Pi={load(e){return Promise.all([M.library_album(e.params.id),M.library_podcast_episodes(e.params.id)])},set(e,t){e.album=t[0].data,e.tracks=new pe(t[1].data.tracks)}},dj={name:"PagePodcast",components:{ContentWithHero:su,CoverArtwork:On,ListTracks:bn,ModalDialog:em,ModalDialogAlbum:ou},beforeRouteEnter(e,t,n){Pi.load(e).then(r=>{n(s=>Pi.set(s,r))})},beforeRouteUpdate(e,t,n){const r=this;Pi.load(e).then(s=>{Pi.set(r,s),n()})},data(){return{album:{},rss_playlist_to_remove:{},show_details_modal:!1,show_remove_podcast_modal:!1,tracks:new pe}},computed:{new_tracks(){return this.tracks.items.filter(e=>e.play_count===0).length}},methods:{open_remove_podcast_dialog(){M.library_track_playlists(this.tracks.items[0].id).then(({data:e})=>{[this.rss_playlist_to_remove]=e.items.filter(t=>t.type==="rss"),this.show_remove_podcast_modal=!0,this.show_details_modal=!1})},play(){M.player_play_uri(this.album.uri,!1)},reload_tracks(){M.library_podcast_episodes(this.album.id).then(({data:e})=>{this.tracks=new pe(e.tracks)})},remove_podcast(){this.show_remove_podcast_modal=!1,M.library_playlist_delete(this.rss_playlist_to_remove.id).then(()=>{this.$router.replace({name:"podcasts"})})}}},mj={class:"fd-page"},fj=["textContent"],pj=u("h2",{class:"subtitle is-6 has-text-weight-normal"}," ",-1),hj={class:"buttons fd-is-centered-mobile mt-5"},_j=["textContent"],gj=["textContent"],yj=["textContent"],vj={class:"is-size-7"},bj=["textContent"],zj=["textContent"];function Cj(e,t,n,r,s,o){const a=S("mdicon"),i=S("cover-artwork"),l=S("list-tracks"),c=S("modal-dialog-album"),d=S("modal-dialog"),f=S("content-with-hero");return w(),$("div",mj,[y(f,null,{"heading-left":E(()=>[u("h1",{class:"title is-5",textContent:g(s.album.name)},null,8,fj),pj,u("div",hj,[u("a",{class:"button is-small is-dark is-rounded",onClick:t[0]||(t[0]=(...m)=>o.play&&o.play(...m))},[y(a,{class:"icon",name:"play",size:"16"}),u("span",{textContent:g(e.$t("page.podcast.play"))},null,8,_j)]),u("a",{class:"button is-small is-light is-rounded",onClick:t[1]||(t[1]=m=>s.show_details_modal=!0)},[y(a,{class:"icon",name:"dots-horizontal",size:"16"})])])]),"heading-right":E(()=>[y(i,{artwork_url:s.album.artwork_url,artist:s.album.artist,album:s.album.name,class:"is-clickable fd-has-shadow fd-cover fd-cover-medium-image",onClick:t[2]||(t[2]=m=>s.show_details_modal=!0)},null,8,["artwork_url","artist","album"])]),content:E(()=>[u("p",{class:"heading is-7 has-text-centered-mobile mt-5",textContent:g(e.$t("page.podcast.track-count",{count:s.album.track_count}))},null,8,gj),y(l,{tracks:s.tracks,show_progress:!0,onPlayCountChanged:o.reload_tracks},null,8,["tracks","onPlayCountChanged"]),y(c,{show:s.show_details_modal,album:s.album,media_kind:"podcast",new_tracks:o.new_tracks,onClose:t[3]||(t[3]=m=>s.show_details_modal=!1),onPlayCountChanged:o.reload_tracks,onRemovePodcast:o.open_remove_podcast_dialog},null,8,["show","album","new_tracks","onPlayCountChanged","onRemovePodcast"]),y(d,{show:s.show_remove_podcast_modal,title:e.$t("page.podcast.remove-podcast"),delete_action:e.$t("page.podcast.remove"),onClose:t[4]||(t[4]=m=>s.show_remove_podcast_modal=!1),onDelete:o.remove_podcast},{"modal-content":E(()=>[u("p",{textContent:g(e.$t("page.podcast.remove-info-1"))},null,8,yj),u("p",vj,[tt(" ("),u("span",{textContent:g(e.$t("page.podcast.remove-info-2"))},null,8,bj),u("b",{textContent:g(s.rss_playlist_to_remove.name)},null,8,zj),tt(") ")])]),_:1},8,["show","title","delete_action","onDelete"])]),_:1})])}const wj=te(dj,[["render",Cj]]),kj={name:"ModalDialogAddRss",props:["show"],emits:["close","podcast-added"],data(){return{url:"",loading:!1}},watch:{show(){this.show&&(this.loading=!1,setTimeout(()=>{this.$refs.url_field.focus()},10))}},methods:{add_stream(){this.loading=!0,M.library_add(this.url).then(()=>{this.$emit("close"),this.$emit("podcast-added"),this.url=""}).catch(()=>{this.loading=!1})}}},xj={key:0,class:"modal is-active"},Ej={class:"modal-content fd-modal-card"},Sj={class:"card"},$j={class:"card-content"},Aj=["textContent"],Tj={class:"field"},Oj={class:"control is-expanded has-icons-left"},Dj=["placeholder","disabled"],Pj=["textContent"],Ij={key:0,class:"card-footer"},Fj={class:"card-footer-item button is-loading"},Rj=["textContent"],Lj={key:1,class:"card-footer is-clipped"},Mj=["textContent"],Nj=["textContent"];function Vj(e,t,n,r,s,o){const a=S("mdicon");return w(),$("div",null,[y(Dt,{name:"fade"},{default:E(()=>[n.show?(w(),$("div",xj,[u("div",{class:"modal-background",onClick:t[0]||(t[0]=i=>e.$emit("close"))}),u("div",Ej,[u("div",Sj,[u("div",$j,[u("p",{class:"title is-4",textContent:g(e.$t("dialog.add.rss.title"))},null,8,Aj),u("form",{onSubmit:t[2]||(t[2]=nt((...i)=>o.add_stream&&o.add_stream(...i),["prevent"]))},[u("div",Tj,[u("p",Oj,[bt(u("input",{ref:"url_field","onUpdate:modelValue":t[1]||(t[1]=i=>s.url=i),class:"input is-shadowless",type:"text",placeholder:e.$t("dialog.add.rss.placeholder"),disabled:s.loading},null,8,Dj),[[an,s.url]]),y(a,{class:"icon is-left",name:"rss",size:"16"})]),u("p",{class:"help",textContent:g(e.$t("dialog.add.rss.help"))},null,8,Pj)])],32)]),s.loading?(w(),$("footer",Ij,[u("a",Fj,[y(a,{class:"icon",name:"web",size:"16"}),u("span",{class:"is-size-7",textContent:g(e.$t("dialog.add.rss.processing"))},null,8,Rj)])])):(w(),$("footer",Lj,[u("a",{class:"card-footer-item has-text-danger",onClick:t[3]||(t[3]=i=>e.$emit("close"))},[y(a,{class:"icon",name:"cancel",size:"16"}),u("span",{class:"is-size-7",textContent:g(e.$t("dialog.add.rss.cancel"))},null,8,Mj)]),u("a",{class:"card-footer-item has-background-info has-text-white has-text-weight-bold",onClick:t[4]||(t[4]=(...i)=>o.add_stream&&o.add_stream(...i))},[y(a,{class:"icon",name:"playlist-plus",size:"16"}),u("span",{class:"is-size-7",textContent:g(e.$t("dialog.add.rss.add"))},null,8,Nj)])]))])]),u("button",{class:"modal-close is-large","aria-label":"close",onClick:t[5]||(t[5]=i=>e.$emit("close"))})])):V("",!0)]),_:1})])}const Bj=te(kj,[["render",Vj]]),Ii={load(e){return Promise.all([M.library_albums("podcast"),M.library_podcasts_new_episodes()])},set(e,t){e.albums=new pe(t[0].data),e.new_episodes=new pe(t[1].data.tracks)}},Hj={name:"PagePodcasts",components:{ContentWithHeading:Je,ListTracks:bn,ListAlbums:dr,ModalDialogAddRss:Bj},beforeRouteEnter(e,t,n){Ii.load(e).then(r=>{n(s=>Ii.set(s,r))})},beforeRouteUpdate(e,t,n){const r=this;Ii.load(e).then(s=>{Ii.set(r,s),n()})},data(){return{albums:[],new_episodes:{items:[]},show_url_modal:!1}},computed:{rss(){return this.$store.state.rss_count}},methods:{mark_all_played(){this.new_episodes.items.forEach(e=>{M.library_track_update(e.id,{play_count:"increment"})}),this.new_episodes.items={}},open_add_podcast_dialog(e){this.show_url_modal=!0},reload_new_episodes(){M.library_podcasts_new_episodes().then(({data:e})=>{this.new_episodes=new pe(e.tracks)})},reload_podcasts(){M.library_albums("podcast").then(({data:e})=>{this.albums=new pe(e),this.reload_new_episodes()})},update_rss(){this.$store.commit(ad,"rss"),this.$store.commit(va,!0)}}},jj={class:"fd-page"},Uj=["textContent"],qj={class:"buttons is-centered"},Wj=["textContent"],Gj=["textContent"],Kj=["textContent"],Zj={class:"buttons is-centered"},Yj=["textContent"],Jj=["textContent"];function Xj(e,t,n,r,s,o){const a=S("mdicon"),i=S("list-tracks"),l=S("content-with-heading"),c=S("list-albums"),d=S("modal-dialog-add-rss");return w(),$("div",jj,[s.new_episodes.items.length>0?(w(),ce(l,{key:0},{"heading-left":E(()=>[u("p",{class:"title is-4",textContent:g(e.$t("page.podcasts.new-episodes"))},null,8,Uj)]),"heading-right":E(()=>[u("div",qj,[u("a",{class:"button is-small",onClick:t[0]||(t[0]=(...f)=>o.mark_all_played&&o.mark_all_played(...f))},[y(a,{class:"icon",name:"pencil",size:"16"}),u("span",{textContent:g(e.$t("page.podcasts.mark-all-played"))},null,8,Wj)])])]),content:E(()=>[y(i,{tracks:s.new_episodes,show_progress:!0,onPlayCountChanged:o.reload_new_episodes},null,8,["tracks","onPlayCountChanged"])]),_:1})):V("",!0),y(l,null,{"heading-left":E(()=>[u("p",{class:"title is-4",textContent:g(e.$t("page.podcasts.title"))},null,8,Gj),u("p",{class:"heading",textContent:g(e.$t("page.podcasts.count",{count:s.albums.total}))},null,8,Kj)]),"heading-right":E(()=>[u("div",Zj,[o.rss.tracks>0?(w(),$("a",{key:0,class:"button is-small",onClick:t[1]||(t[1]=(...f)=>o.update_rss&&o.update_rss(...f))},[y(a,{class:"icon",name:"refresh",size:"16"}),u("span",{textContent:g(e.$t("page.podcasts.update"))},null,8,Yj)])):V("",!0),u("a",{class:"button is-small",onClick:t[2]||(t[2]=(...f)=>o.open_add_podcast_dialog&&o.open_add_podcast_dialog(...f))},[y(a,{class:"icon",name:"rss",size:"16"}),u("span",{textContent:g(e.$t("page.podcasts.add"))},null,8,Jj)])])]),content:E(()=>[y(c,{albums:s.albums,onPlayCountChanged:t[3]||(t[3]=f=>o.reload_new_episodes()),onPodcastDeleted:t[4]||(t[4]=f=>o.reload_podcasts())},null,8,["albums"]),y(d,{show:s.show_url_modal,onClose:t[5]||(t[5]=f=>s.show_url_modal=!1),onPodcastAdded:t[6]||(t[6]=f=>o.reload_podcasts())},null,8,["show"])]),_:1})])}const Qj=te(Hj,[["render",Xj]]);var A1={exports:{}};/**!
* Sortable 1.14.0
* @author RubaXa <trash@rubaxa.org>
* @author owenm <owen23355@gmail.com>
* @license MIT
*/function lh(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(s){return Object.getOwnPropertyDescriptor(e,s).enumerable})),n.push.apply(n,r)}return n}function lr(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?lh(Object(n),!0).forEach(function(r){eU(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):lh(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function Yi(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Yi=function(t){return typeof t}:Yi=function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Yi(e)}function eU(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function An(){return An=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},An.apply(this,arguments)}function tU(e,t){if(e==null)return{};var n={},r=Object.keys(e),s,o;for(o=0;o<r.length;o++)s=r[o],!(t.indexOf(s)>=0)&&(n[s]=e[s]);return n}function nU(e,t){if(e==null)return{};var n=tU(e,t),r,s;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(s=0;s<o.length;s++)r=o[s],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function rU(e){return sU(e)||oU(e)||aU(e)||iU()}function sU(e){if(Array.isArray(e))return Yc(e)}function oU(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function aU(e,t){if(e){if(typeof e=="string")return Yc(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Yc(e,t)}}function Yc(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function iU(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var lU="1.14.0";function br(e){if(typeof window<"u"&&window.navigator)return!!navigator.userAgent.match(e)}var kr=br(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i),La=br(/Edge/i),uh=br(/firefox/i),Qo=br(/safari/i)&&!br(/chrome/i)&&!br(/android/i),T1=br(/iP(ad|od|hone)/i),uU=br(/chrome/i)&&br(/android/i),O1={capture:!1,passive:!1};function We(e,t,n){e.addEventListener(t,n,!kr&&O1)}function He(e,t,n){e.removeEventListener(t,n,!kr&&O1)}function yl(e,t){if(t){if(t[0]===">"&&(t=t.substring(1)),e)try{if(e.matches)return e.matches(t);if(e.msMatchesSelector)return e.msMatchesSelector(t);if(e.webkitMatchesSelector)return e.webkitMatchesSelector(t)}catch{return!1}return!1}}function cU(e){return e.host&&e!==document&&e.host.nodeType?e.host:e.parentNode}function Ln(e,t,n,r){if(e){n=n||document;do{if(t!=null&&(t[0]===">"?e.parentNode===n&&yl(e,t):yl(e,t))||r&&e===n)return e;if(e===n)break}while(e=cU(e))}return null}var ch=/\s+/g;function Ct(e,t,n){if(e&&t)if(e.classList)e.classList[n?"add":"remove"](t);else{var r=(" "+e.className+" ").replace(ch," ").replace(" "+t+" "," ");e.className=(r+(n?" "+t:"")).replace(ch," ")}}function ze(e,t,n){var r=e&&e.style;if(r){if(n===void 0)return document.defaultView&&document.defaultView.getComputedStyle?n=document.defaultView.getComputedStyle(e,""):e.currentStyle&&(n=e.currentStyle),t===void 0?n:n[t];!(t in r)&&t.indexOf("webkit")===-1&&(t="-webkit-"+t),r[t]=n+(typeof n=="string"?"":"px")}}function ps(e,t){var n="";if(typeof e=="string")n=e;else do{var r=ze(e,"transform");r&&r!=="none"&&(n=r+" "+n)}while(!t&&(e=e.parentNode));var s=window.DOMMatrix||window.WebKitCSSMatrix||window.CSSMatrix||window.MSCSSMatrix;return s&&new s(n)}function D1(e,t,n){if(e){var r=e.getElementsByTagName(t),s=0,o=r.length;if(n)for(;s<o;s++)n(r[s],s);return r}return[]}function or(){var e=document.scrollingElement;return e||document.documentElement}function yt(e,t,n,r,s){if(!(!e.getBoundingClientRect&&e!==window)){var o,a,i,l,c,d,f;if(e!==window&&e.parentNode&&e!==or()?(o=e.getBoundingClientRect(),a=o.top,i=o.left,l=o.bottom,c=o.right,d=o.height,f=o.width):(a=0,i=0,l=window.innerHeight,c=window.innerWidth,d=window.innerHeight,f=window.innerWidth),(t||n)&&e!==window&&(s=s||e.parentNode,!kr))do if(s&&s.getBoundingClientRect&&(ze(s,"transform")!=="none"||n&&ze(s,"position")!=="static")){var m=s.getBoundingClientRect();a-=m.top+parseInt(ze(s,"border-top-width")),i-=m.left+parseInt(ze(s,"border-left-width")),l=a+o.height,c=i+o.width;break}while(s=s.parentNode);if(r&&e!==window){var p=ps(s||e),h=p&&p.a,_=p&&p.d;p&&(a/=_,i/=h,f/=h,d/=_,l=a+d,c=i+f)}return{top:a,left:i,bottom:l,right:c,width:f,height:d}}}function dh(e,t,n){for(var r=Br(e,!0),s=yt(e)[t];r;){var o=yt(r)[n],a=void 0;if(n==="top"||n==="left"?a=s>=o:a=s<=o,!a)return r;if(r===or())break;r=Br(r,!1)}return!1}function ro(e,t,n,r){for(var s=0,o=0,a=e.children;o<a.length;){if(a[o].style.display!=="none"&&a[o]!==$e.ghost&&(r||a[o]!==$e.dragged)&&Ln(a[o],n.draggable,e,!1)){if(s===t)return a[o];s++}o++}return null}function xm(e,t){for(var n=e.lastElementChild;n&&(n===$e.ghost||ze(n,"display")==="none"||t&&!yl(n,t));)n=n.previousElementSibling;return n||null}function Et(e,t){var n=0;if(!e||!e.parentNode)return-1;for(;e=e.previousElementSibling;)e.nodeName.toUpperCase()!=="TEMPLATE"&&e!==$e.clone&&(!t||yl(e,t))&&n++;return n}function mh(e){var t=0,n=0,r=or();if(e)do{var s=ps(e),o=s.a,a=s.d;t+=e.scrollLeft*o,n+=e.scrollTop*a}while(e!==r&&(e=e.parentNode));return[t,n]}function dU(e,t){for(var n in e)if(e.hasOwnProperty(n)){for(var r in t)if(t.hasOwnProperty(r)&&t[r]===e[n][r])return Number(n)}return-1}function Br(e,t){if(!e||!e.getBoundingClientRect)return or();var n=e,r=!1;do if(n.clientWidth<n.scrollWidth||n.clientHeight<n.scrollHeight){var s=ze(n);if(n.clientWidth<n.scrollWidth&&(s.overflowX=="auto"||s.overflowX=="scroll")||n.clientHeight<n.scrollHeight&&(s.overflowY=="auto"||s.overflowY=="scroll")){if(!n.getBoundingClientRect||n===document.body)return or();if(r||t)return n;r=!0}}while(n=n.parentNode);return or()}function mU(e,t){if(e&&t)for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e}function Hu(e,t){return Math.round(e.top)===Math.round(t.top)&&Math.round(e.left)===Math.round(t.left)&&Math.round(e.height)===Math.round(t.height)&&Math.round(e.width)===Math.round(t.width)}var ea;function P1(e,t){return function(){if(!ea){var n=arguments,r=this;n.length===1?e.call(r,n[0]):e.apply(r,n),ea=setTimeout(function(){ea=void 0},t)}}}function fU(){clearTimeout(ea),ea=void 0}function I1(e,t,n){e.scrollLeft+=t,e.scrollTop+=n}function Em(e){var t=window.Polymer,n=window.jQuery||window.Zepto;return t&&t.dom?t.dom(e).cloneNode(!0):n?n(e).clone(!0)[0]:e.cloneNode(!0)}function fh(e,t){ze(e,"position","absolute"),ze(e,"top",t.top),ze(e,"left",t.left),ze(e,"width",t.width),ze(e,"height",t.height)}function ju(e){ze(e,"position",""),ze(e,"top",""),ze(e,"left",""),ze(e,"width",""),ze(e,"height","")}var Ht="Sortable"+new Date().getTime();function pU(){var e=[],t;return{captureAnimationState:function(){if(e=[],!!this.options.animation){var r=[].slice.call(this.el.children);r.forEach(function(s){if(!(ze(s,"display")==="none"||s===$e.ghost)){e.push({target:s,rect:yt(s)});var o=lr({},e[e.length-1].rect);if(s.thisAnimationDuration){var a=ps(s,!0);a&&(o.top-=a.f,o.left-=a.e)}s.fromRect=o}})}},addAnimationState:function(r){e.push(r)},removeAnimationState:function(r){e.splice(dU(e,{target:r}),1)},animateAll:function(r){var s=this;if(!this.options.animation){clearTimeout(t),typeof r=="function"&&r();return}var o=!1,a=0;e.forEach(function(i){var l=0,c=i.target,d=c.fromRect,f=yt(c),m=c.prevFromRect,p=c.prevToRect,h=i.rect,_=ps(c,!0);_&&(f.top-=_.f,f.left-=_.e),c.toRect=f,c.thisAnimationDuration&&Hu(m,f)&&!Hu(d,f)&&(h.top-f.top)/(h.left-f.left)===(d.top-f.top)/(d.left-f.left)&&(l=_U(h,m,p,s.options)),Hu(f,d)||(c.prevFromRect=d,c.prevToRect=f,l||(l=s.options.animation),s.animate(c,h,f,l)),l&&(o=!0,a=Math.max(a,l),clearTimeout(c.animationResetTimer),c.animationResetTimer=setTimeout(function(){c.animationTime=0,c.prevFromRect=null,c.fromRect=null,c.prevToRect=null,c.thisAnimationDuration=null},l),c.thisAnimationDuration=l)}),clearTimeout(t),o?t=setTimeout(function(){typeof r=="function"&&r()},a):typeof r=="function"&&r(),e=[]},animate:function(r,s,o,a){if(a){ze(r,"transition",""),ze(r,"transform","");var i=ps(this.el),l=i&&i.a,c=i&&i.d,d=(s.left-o.left)/(l||1),f=(s.top-o.top)/(c||1);r.animatingX=!!d,r.animatingY=!!f,ze(r,"transform","translate3d("+d+"px,"+f+"px,0)"),this.forRepaintDummy=hU(r),ze(r,"transition","transform "+a+"ms"+(this.options.easing?" "+this.options.easing:"")),ze(r,"transform","translate3d(0,0,0)"),typeof r.animated=="number"&&clearTimeout(r.animated),r.animated=setTimeout(function(){ze(r,"transition",""),ze(r,"transform",""),r.animated=!1,r.animatingX=!1,r.animatingY=!1},a)}}}}function hU(e){return e.offsetWidth}function _U(e,t,n,r){return Math.sqrt(Math.pow(t.top-e.top,2)+Math.pow(t.left-e.left,2))/Math.sqrt(Math.pow(t.top-n.top,2)+Math.pow(t.left-n.left,2))*r.animation}var As=[],Uu={initializeByDefault:!0},Ma={mount:function(t){for(var n in Uu)Uu.hasOwnProperty(n)&&!(n in t)&&(t[n]=Uu[n]);As.forEach(function(r){if(r.pluginName===t.pluginName)throw"Sortable: Cannot mount plugin ".concat(t.pluginName," more than once")}),As.push(t)},pluginEvent:function(t,n,r){var s=this;this.eventCanceled=!1,r.cancel=function(){s.eventCanceled=!0};var o=t+"Global";As.forEach(function(a){n[a.pluginName]&&(n[a.pluginName][o]&&n[a.pluginName][o](lr({sortable:n},r)),n.options[a.pluginName]&&n[a.pluginName][t]&&n[a.pluginName][t](lr({sortable:n},r)))})},initializePlugins:function(t,n,r,s){As.forEach(function(i){var l=i.pluginName;if(!(!t.options[l]&&!i.initializeByDefault)){var c=new i(t,n,t.options);c.sortable=t,c.options=t.options,t[l]=c,An(r,c.defaults)}});for(var o in t.options)if(t.options.hasOwnProperty(o)){var a=this.modifyOption(t,o,t.options[o]);typeof a<"u"&&(t.options[o]=a)}},getEventProperties:function(t,n){var r={};return As.forEach(function(s){typeof s.eventProperties=="function"&&An(r,s.eventProperties.call(n[s.pluginName],t))}),r},modifyOption:function(t,n,r){var s;return As.forEach(function(o){t[o.pluginName]&&o.optionListeners&&typeof o.optionListeners[n]=="function"&&(s=o.optionListeners[n].call(t[o.pluginName],r))}),s}};function Ro(e){var t=e.sortable,n=e.rootEl,r=e.name,s=e.targetEl,o=e.cloneEl,a=e.toEl,i=e.fromEl,l=e.oldIndex,c=e.newIndex,d=e.oldDraggableIndex,f=e.newDraggableIndex,m=e.originalEvent,p=e.putSortable,h=e.extraEventProperties;if(t=t||n&&n[Ht],!!t){var _,z=t.options,v="on"+r.charAt(0).toUpperCase()+r.substr(1);window.CustomEvent&&!kr&&!La?_=new CustomEvent(r,{bubbles:!0,cancelable:!0}):(_=document.createEvent("Event"),_.initEvent(r,!0,!0)),_.to=a||n,_.from=i||n,_.item=s||n,_.clone=o,_.oldIndex=l,_.newIndex=c,_.oldDraggableIndex=d,_.newDraggableIndex=f,_.originalEvent=m,_.pullMode=p?p.lastPutMode:void 0;var b=lr(lr({},h),Ma.getEventProperties(r,t));for(var k in b)_[k]=b[k];n&&n.dispatchEvent(_),z[v]&&z[v].call(t,_)}}var gU=["evt"],Xt=function(t,n){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},s=r.evt,o=nU(r,gU);Ma.pluginEvent.bind($e)(t,n,lr({dragEl:le,parentEl:wt,ghostEl:Re,rootEl:gt,nextEl:os,lastDownEl:Ji,cloneEl:kt,cloneHidden:Vr,dragStarted:Lo,putSortable:Lt,activeSortable:$e.active,originalEvent:s,oldIndex:Vs,oldDraggableIndex:ta,newIndex:cn,newDraggableIndex:Mr,hideGhostForTarget:M1,unhideGhostForTarget:N1,cloneNowHidden:function(){Vr=!0},cloneNowShown:function(){Vr=!1},dispatchSortableEvent:function(i){qt({sortable:n,name:i,originalEvent:s})}},o))};function qt(e){Ro(lr({putSortable:Lt,cloneEl:kt,targetEl:le,rootEl:gt,oldIndex:Vs,oldDraggableIndex:ta,newIndex:cn,newDraggableIndex:Mr},e))}var le,wt,Re,gt,os,Ji,kt,Vr,Vs,cn,ta,Mr,Fi,Lt,Rs=!1,vl=!1,bl=[],ns,Fn,qu,Wu,ph,hh,Lo,Ts,na,ra=!1,Ri=!1,Xi,Nt,Gu=[],Jc=!1,zl=[],uu=typeof document<"u",Li=T1,_h=La||kr?"cssFloat":"float",yU=uu&&!uU&&!T1&&"draggable"in document.createElement("div"),F1=function(){if(uu){if(kr)return!1;var e=document.createElement("x");return e.style.cssText="pointer-events:auto",e.style.pointerEvents==="auto"}}(),R1=function(t,n){var r=ze(t),s=parseInt(r.width)-parseInt(r.paddingLeft)-parseInt(r.paddingRight)-parseInt(r.borderLeftWidth)-parseInt(r.borderRightWidth),o=ro(t,0,n),a=ro(t,1,n),i=o&&ze(o),l=a&&ze(a),c=i&&parseInt(i.marginLeft)+parseInt(i.marginRight)+yt(o).width,d=l&&parseInt(l.marginLeft)+parseInt(l.marginRight)+yt(a).width;if(r.display==="flex")return r.flexDirection==="column"||r.flexDirection==="column-reverse"?"vertical":"horizontal";if(r.display==="grid")return r.gridTemplateColumns.split(" ").length<=1?"vertical":"horizontal";if(o&&i.float&&i.float!=="none"){var f=i.float==="left"?"left":"right";return a&&(l.clear==="both"||l.clear===f)?"vertical":"horizontal"}return o&&(i.display==="block"||i.display==="flex"||i.display==="table"||i.display==="grid"||c>=s&&r[_h]==="none"||a&&r[_h]==="none"&&c+d>s)?"vertical":"horizontal"},vU=function(t,n,r){var s=r?t.left:t.top,o=r?t.right:t.bottom,a=r?t.width:t.height,i=r?n.left:n.top,l=r?n.right:n.bottom,c=r?n.width:n.height;return s===i||o===l||s+a/2===i+c/2},bU=function(t,n){var r;return bl.some(function(s){var o=s[Ht].options.emptyInsertThreshold;if(!(!o||xm(s))){var a=yt(s),i=t>=a.left-o&&t<=a.right+o,l=n>=a.top-o&&n<=a.bottom+o;if(i&&l)return r=s}}),r},L1=function(t){function n(o,a){return function(i,l,c,d){var f=i.options.group.name&&l.options.group.name&&i.options.group.name===l.options.group.name;if(o==null&&(a||f))return!0;if(o==null||o===!1)return!1;if(a&&o==="clone")return o;if(typeof o=="function")return n(o(i,l,c,d),a)(i,l,c,d);var m=(a?i:l).options.group.name;return o===!0||typeof o=="string"&&o===m||o.join&&o.indexOf(m)>-1}}var r={},s=t.group;(!s||Yi(s)!="object")&&(s={name:s}),r.name=s.name,r.checkPull=n(s.pull,!0),r.checkPut=n(s.put),r.revertClone=s.revertClone,t.group=r},M1=function(){!F1&&Re&&ze(Re,"display","none")},N1=function(){!F1&&Re&&ze(Re,"display","")};uu&&document.addEventListener("click",function(e){if(vl)return e.preventDefault(),e.stopPropagation&&e.stopPropagation(),e.stopImmediatePropagation&&e.stopImmediatePropagation(),vl=!1,!1},!0);var rs=function(t){if(le){t=t.touches?t.touches[0]:t;var n=bU(t.clientX,t.clientY);if(n){var r={};for(var s in t)t.hasOwnProperty(s)&&(r[s]=t[s]);r.target=r.rootEl=n,r.preventDefault=void 0,r.stopPropagation=void 0,n[Ht]._onDragOver(r)}}},zU=function(t){le&&le.parentNode[Ht]._isOutsideThisEl(t.target)};function $e(e,t){if(!(e&&e.nodeType&&e.nodeType===1))throw"Sortable: `el` must be an HTMLElement, not ".concat({}.toString.call(e));this.el=e,this.options=t=An({},t),e[Ht]=this;var n={group:null,sort:!0,disabled:!1,store:null,handle:null,draggable:/^[uo]l$/i.test(e.nodeName)?">li":">*",swapThreshold:1,invertSwap:!1,invertedSwapThreshold:null,removeCloneOnHide:!0,direction:function(){return R1(e,this.options)},ghostClass:"sortable-ghost",chosenClass:"sortable-chosen",dragClass:"sortable-drag",ignore:"a, img",filter:null,preventOnFilter:!0,animation:0,easing:null,setData:function(a,i){a.setData("Text",i.textContent)},dropBubble:!1,dragoverBubble:!1,dataIdAttr:"data-id",delay:0,delayOnTouchOnly:!1,touchStartThreshold:(Number.parseInt?Number:window).parseInt(window.devicePixelRatio,10)||1,forceFallback:!1,fallbackClass:"sortable-fallback",fallbackOnBody:!1,fallbackTolerance:0,fallbackOffset:{x:0,y:0},supportPointer:$e.supportPointer!==!1&&"PointerEvent"in window&&!Qo,emptyInsertThreshold:5};Ma.initializePlugins(this,e,n);for(var r in n)!(r in t)&&(t[r]=n[r]);L1(t);for(var s in this)s.charAt(0)==="_"&&typeof this[s]=="function"&&(this[s]=this[s].bind(this));this.nativeDraggable=t.forceFallback?!1:yU,this.nativeDraggable&&(this.options.touchStartThreshold=1),t.supportPointer?We(e,"pointerdown",this._onTapStart):(We(e,"mousedown",this._onTapStart),We(e,"touchstart",this._onTapStart)),this.nativeDraggable&&(We(e,"dragover",this),We(e,"dragenter",this)),bl.push(this.el),t.store&&t.store.get&&this.sort(t.store.get(this)||[]),An(this,pU())}$e.prototype={constructor:$e,_isOutsideThisEl:function(t){!this.el.contains(t)&&t!==this.el&&(Ts=null)},_getDirection:function(t,n){return typeof this.options.direction=="function"?this.options.direction.call(this,t,n,le):this.options.direction},_onTapStart:function(t){if(t.cancelable){var n=this,r=this.el,s=this.options,o=s.preventOnFilter,a=t.type,i=t.touches&&t.touches[0]||t.pointerType&&t.pointerType==="touch"&&t,l=(i||t).target,c=t.target.shadowRoot&&(t.path&&t.path[0]||t.composedPath&&t.composedPath()[0])||l,d=s.filter;if(AU(r),!le&&!(/mousedown|pointerdown/.test(a)&&t.button!==0||s.disabled)&&!c.isContentEditable&&!(!this.nativeDraggable&&Qo&&l&&l.tagName.toUpperCase()==="SELECT")&&(l=Ln(l,s.draggable,r,!1),!(l&&l.animated)&&Ji!==l)){if(Vs=Et(l),ta=Et(l,s.draggable),typeof d=="function"){if(d.call(this,t,l,this)){qt({sortable:n,rootEl:c,name:"filter",targetEl:l,toEl:r,fromEl:r}),Xt("filter",n,{evt:t}),o&&t.cancelable&&t.preventDefault();return}}else if(d&&(d=d.split(",").some(function(f){if(f=Ln(c,f.trim(),r,!1),f)return qt({sortable:n,rootEl:f,name:"filter",targetEl:l,fromEl:r,toEl:r}),Xt("filter",n,{evt:t}),!0}),d)){o&&t.cancelable&&t.preventDefault();return}s.handle&&!Ln(c,s.handle,r,!1)||this._prepareDragStart(t,i,l)}}},_prepareDragStart:function(t,n,r){var s=this,o=s.el,a=s.options,i=o.ownerDocument,l;if(r&&!le&&r.parentNode===o){var c=yt(r);if(gt=o,le=r,wt=le.parentNode,os=le.nextSibling,Ji=r,Fi=a.group,$e.dragged=le,ns={target:le,clientX:(n||t).clientX,clientY:(n||t).clientY},ph=ns.clientX-c.left,hh=ns.clientY-c.top,this._lastX=(n||t).clientX,this._lastY=(n||t).clientY,le.style["will-change"]="all",l=function(){if(Xt("delayEnded",s,{evt:t}),$e.eventCanceled){s._onDrop();return}s._disableDelayedDragEvents(),!uh&&s.nativeDraggable&&(le.draggable=!0),s._triggerDragStart(t,n),qt({sortable:s,name:"choose",originalEvent:t}),Ct(le,a.chosenClass,!0)},a.ignore.split(",").forEach(function(d){D1(le,d.trim(),Ku)}),We(i,"dragover",rs),We(i,"mousemove",rs),We(i,"touchmove",rs),We(i,"mouseup",s._onDrop),We(i,"touchend",s._onDrop),We(i,"touchcancel",s._onDrop),uh&&this.nativeDraggable&&(this.options.touchStartThreshold=4,le.draggable=!0),Xt("delayStart",this,{evt:t}),a.delay&&(!a.delayOnTouchOnly||n)&&(!this.nativeDraggable||!(La||kr))){if($e.eventCanceled){this._onDrop();return}We(i,"mouseup",s._disableDelayedDrag),We(i,"touchend",s._disableDelayedDrag),We(i,"touchcancel",s._disableDelayedDrag),We(i,"mousemove",s._delayedDragTouchMoveHandler),We(i,"touchmove",s._delayedDragTouchMoveHandler),a.supportPointer&&We(i,"pointermove",s._delayedDragTouchMoveHandler),s._dragStartTimer=setTimeout(l,a.delay)}else l()}},_delayedDragTouchMoveHandler:function(t){var n=t.touches?t.touches[0]:t;Math.max(Math.abs(n.clientX-this._lastX),Math.abs(n.clientY-this._lastY))>=Math.floor(this.options.touchStartThreshold/(this.nativeDraggable&&window.devicePixelRatio||1))&&this._disableDelayedDrag()},_disableDelayedDrag:function(){le&&Ku(le),clearTimeout(this._dragStartTimer),this._disableDelayedDragEvents()},_disableDelayedDragEvents:function(){var t=this.el.ownerDocument;He(t,"mouseup",this._disableDelayedDrag),He(t,"touchend",this._disableDelayedDrag),He(t,"touchcancel",this._disableDelayedDrag),He(t,"mousemove",this._delayedDragTouchMoveHandler),He(t,"touchmove",this._delayedDragTouchMoveHandler),He(t,"pointermove",this._delayedDragTouchMoveHandler)},_triggerDragStart:function(t,n){n=n||t.pointerType=="touch"&&t,!this.nativeDraggable||n?this.options.supportPointer?We(document,"pointermove",this._onTouchMove):n?We(document,"touchmove",this._onTouchMove):We(document,"mousemove",this._onTouchMove):(We(le,"dragend",this),We(gt,"dragstart",this._onDragStart));try{document.selection?Qi(function(){document.selection.empty()}):window.getSelection().removeAllRanges()}catch{}},_dragStarted:function(t,n){if(Rs=!1,gt&&le){Xt("dragStarted",this,{evt:n}),this.nativeDraggable&&We(document,"dragover",zU);var r=this.options;!t&&Ct(le,r.dragClass,!1),Ct(le,r.ghostClass,!0),$e.active=this,t&&this._appendGhost(),qt({sortable:this,name:"start",originalEvent:n})}else this._nulling()},_emulateDragOver:function(){if(Fn){this._lastX=Fn.clientX,this._lastY=Fn.clientY,M1();for(var t=document.elementFromPoint(Fn.clientX,Fn.clientY),n=t;t&&t.shadowRoot&&(t=t.shadowRoot.elementFromPoint(Fn.clientX,Fn.clientY),t!==n);)n=t;if(le.parentNode[Ht]._isOutsideThisEl(t),n)do{if(n[Ht]){var r=void 0;if(r=n[Ht]._onDragOver({clientX:Fn.clientX,clientY:Fn.clientY,target:t,rootEl:n}),r&&!this.options.dragoverBubble)break}t=n}while(n=n.parentNode);N1()}},_onTouchMove:function(t){if(ns){var n=this.options,r=n.fallbackTolerance,s=n.fallbackOffset,o=t.touches?t.touches[0]:t,a=Re&&ps(Re,!0),i=Re&&a&&a.a,l=Re&&a&&a.d,c=Li&&Nt&&mh(Nt),d=(o.clientX-ns.clientX+s.x)/(i||1)+(c?c[0]-Gu[0]:0)/(i||1),f=(o.clientY-ns.clientY+s.y)/(l||1)+(c?c[1]-Gu[1]:0)/(l||1);if(!$e.active&&!Rs){if(r&&Math.max(Math.abs(o.clientX-this._lastX),Math.abs(o.clientY-this._lastY))<r)return;this._onDragStart(t,!0)}if(Re){a?(a.e+=d-(qu||0),a.f+=f-(Wu||0)):a={a:1,b:0,c:0,d:1,e:d,f};var m="matrix(".concat(a.a,",").concat(a.b,",").concat(a.c,",").concat(a.d,",").concat(a.e,",").concat(a.f,")");ze(Re,"webkitTransform",m),ze(Re,"mozTransform",m),ze(Re,"msTransform",m),ze(Re,"transform",m),qu=d,Wu=f,Fn=o}t.cancelable&&t.preventDefault()}},_appendGhost:function(){if(!Re){var t=this.options.fallbackOnBody?document.body:gt,n=yt(le,!0,Li,!0,t),r=this.options;if(Li){for(Nt=t;ze(Nt,"position")==="static"&&ze(Nt,"transform")==="none"&&Nt!==document;)Nt=Nt.parentNode;Nt!==document.body&&Nt!==document.documentElement?(Nt===document&&(Nt=or()),n.top+=Nt.scrollTop,n.left+=Nt.scrollLeft):Nt=or(),Gu=mh(Nt)}Re=le.cloneNode(!0),Ct(Re,r.ghostClass,!1),Ct(Re,r.fallbackClass,!0),Ct(Re,r.dragClass,!0),ze(Re,"transition",""),ze(Re,"transform",""),ze(Re,"box-sizing","border-box"),ze(Re,"margin",0),ze(Re,"top",n.top),ze(Re,"left",n.left),ze(Re,"width",n.width),ze(Re,"height",n.height),ze(Re,"opacity","0.8"),ze(Re,"position",Li?"absolute":"fixed"),ze(Re,"zIndex","100000"),ze(Re,"pointerEvents","none"),$e.ghost=Re,t.appendChild(Re),ze(Re,"transform-origin",ph/parseInt(Re.style.width)*100+"% "+hh/parseInt(Re.style.height)*100+"%")}},_onDragStart:function(t,n){var r=this,s=t.dataTransfer,o=r.options;if(Xt("dragStart",this,{evt:t}),$e.eventCanceled){this._onDrop();return}Xt("setupClone",this),$e.eventCanceled||(kt=Em(le),kt.draggable=!1,kt.style["will-change"]="",this._hideClone(),Ct(kt,this.options.chosenClass,!1),$e.clone=kt),r.cloneId=Qi(function(){Xt("clone",r),!$e.eventCanceled&&(r.options.removeCloneOnHide||gt.insertBefore(kt,le),r._hideClone(),qt({sortable:r,name:"clone"}))}),!n&&Ct(le,o.dragClass,!0),n?(vl=!0,r._loopId=setInterval(r._emulateDragOver,50)):(He(document,"mouseup",r._onDrop),He(document,"touchend",r._onDrop),He(document,"touchcancel",r._onDrop),s&&(s.effectAllowed="move",o.setData&&o.setData.call(r,s,le)),We(document,"drop",r),ze(le,"transform","translateZ(0)")),Rs=!0,r._dragStartId=Qi(r._dragStarted.bind(r,n,t)),We(document,"selectstart",r),Lo=!0,Qo&&ze(document.body,"user-select","none")},_onDragOver:function(t){var n=this.el,r=t.target,s,o,a,i=this.options,l=i.group,c=$e.active,d=Fi===l,f=i.sort,m=Lt||c,p,h=this,_=!1;if(Jc)return;function z(ye,qe){Xt(ye,h,lr({evt:t,isOwner:d,axis:p?"vertical":"horizontal",revert:a,dragRect:s,targetRect:o,canSort:f,fromSortable:m,target:r,completed:b,onMove:function(Ge,Be){return Mi(gt,n,le,s,Ge,yt(Ge),t,Be)},changed:k},qe))}function v(){z("dragOverAnimationCapture"),h.captureAnimationState(),h!==m&&m.captureAnimationState()}function b(ye){return z("dragOverCompleted",{insertion:ye}),ye&&(d?c._hideClone():c._showClone(h),h!==m&&(Ct(le,Lt?Lt.options.ghostClass:c.options.ghostClass,!1),Ct(le,i.ghostClass,!0)),Lt!==h&&h!==$e.active?Lt=h:h===$e.active&&Lt&&(Lt=null),m===h&&(h._ignoreWhileAnimating=r),h.animateAll(function(){z("dragOverAnimationComplete"),h._ignoreWhileAnimating=null}),h!==m&&(m.animateAll(),m._ignoreWhileAnimating=null)),(r===le&&!le.animated||r===n&&!r.animated)&&(Ts=null),!i.dragoverBubble&&!t.rootEl&&r!==document&&(le.parentNode[Ht]._isOutsideThisEl(t.target),!ye&&rs(t)),!i.dragoverBubble&&t.stopPropagation&&t.stopPropagation(),_=!0}function k(){cn=Et(le),Mr=Et(le,i.draggable),qt({sortable:h,name:"change",toEl:n,newIndex:cn,newDraggableIndex:Mr,originalEvent:t})}if(t.preventDefault!==void 0&&t.cancelable&&t.preventDefault(),r=Ln(r,i.draggable,n,!0),z("dragOver"),$e.eventCanceled)return _;if(le.contains(t.target)||r.animated&&r.animatingX&&r.animatingY||h._ignoreWhileAnimating===r)return b(!1);if(vl=!1,c&&!i.disabled&&(d?f||(a=wt!==gt):Lt===this||(this.lastPutMode=Fi.checkPull(this,c,le,t))&&l.checkPut(this,c,le,t))){if(p=this._getDirection(t,r)==="vertical",s=yt(le),z("dragOverValid"),$e.eventCanceled)return _;if(a)return wt=gt,v(),this._hideClone(),z("revert"),$e.eventCanceled||(os?gt.insertBefore(le,os):gt.appendChild(le)),b(!0);var C=xm(n,i.draggable);if(!C||xU(t,p,this)&&!C.animated){if(C===le)return b(!1);if(C&&n===t.target&&(r=C),r&&(o=yt(r)),Mi(gt,n,le,s,r,o,t,!!r)!==!1)return v(),n.appendChild(le),wt=n,k(),b(!0)}else if(C&&kU(t,p,this)){var x=ro(n,0,i,!0);if(x===le)return b(!1);if(r=x,o=yt(r),Mi(gt,n,le,s,r,o,t,!1)!==!1)return v(),n.insertBefore(le,x),wt=n,k(),b(!0)}else if(r.parentNode===n){o=yt(r);var T=0,N,D=le.parentNode!==n,I=!vU(le.animated&&le.toRect||s,r.animated&&r.toRect||o,p),j=p?"top":"left",K=dh(r,"top","top")||dh(le,"top","top"),J=K?K.scrollTop:void 0;Ts!==r&&(N=o[j],ra=!1,Ri=!I&&i.invertSwap||D),T=EU(t,r,o,p,I?1:i.swapThreshold,i.invertedSwapThreshold==null?i.swapThreshold:i.invertedSwapThreshold,Ri,Ts===r);var U;if(T!==0){var H=Et(le);do H-=T,U=wt.children[H];while(U&&(ze(U,"display")==="none"||U===Re))}if(T===0||U===r)return b(!1);Ts=r,na=T;var he=r.nextElementSibling,ee=!1;ee=T===1;var se=Mi(gt,n,le,s,r,o,t,ee);if(se!==!1)return(se===1||se===-1)&&(ee=se===1),Jc=!0,setTimeout(wU,30),v(),ee&&!he?n.appendChild(le):r.parentNode.insertBefore(le,ee?he:r),K&&I1(K,0,J-K.scrollTop),wt=le.parentNode,N!==void 0&&!Ri&&(Xi=Math.abs(N-yt(r)[j])),k(),b(!0)}if(n.contains(le))return b(!1)}return!1},_ignoreWhileAnimating:null,_offMoveEvents:function(){He(document,"mousemove",this._onTouchMove),He(document,"touchmove",this._onTouchMove),He(document,"pointermove",this._onTouchMove),He(document,"dragover",rs),He(document,"mousemove",rs),He(document,"touchmove",rs)},_offUpEvents:function(){var t=this.el.ownerDocument;He(t,"mouseup",this._onDrop),He(t,"touchend",this._onDrop),He(t,"pointerup",this._onDrop),He(t,"touchcancel",this._onDrop),He(document,"selectstart",this)},_onDrop:function(t){var n=this.el,r=this.options;if(cn=Et(le),Mr=Et(le,r.draggable),Xt("drop",this,{evt:t}),wt=le&&le.parentNode,cn=Et(le),Mr=Et(le,r.draggable),$e.eventCanceled){this._nulling();return}Rs=!1,Ri=!1,ra=!1,clearInterval(this._loopId),clearTimeout(this._dragStartTimer),Xc(this.cloneId),Xc(this._dragStartId),this.nativeDraggable&&(He(document,"drop",this),He(n,"dragstart",this._onDragStart)),this._offMoveEvents(),this._offUpEvents(),Qo&&ze(document.body,"user-select",""),ze(le,"transform",""),t&&(Lo&&(t.cancelable&&t.preventDefault(),!r.dropBubble&&t.stopPropagation()),Re&&Re.parentNode&&Re.parentNode.removeChild(Re),(gt===wt||Lt&&Lt.lastPutMode!=="clone")&&kt&&kt.parentNode&&kt.parentNode.removeChild(kt),le&&(this.nativeDraggable&&He(le,"dragend",this),Ku(le),le.style["will-change"]="",Lo&&!Rs&&Ct(le,Lt?Lt.options.ghostClass:this.options.ghostClass,!1),Ct(le,this.options.chosenClass,!1),qt({sortable:this,name:"unchoose",toEl:wt,newIndex:null,newDraggableIndex:null,originalEvent:t}),gt!==wt?(cn>=0&&(qt({rootEl:wt,name:"add",toEl:wt,fromEl:gt,originalEvent:t}),qt({sortable:this,name:"remove",toEl:wt,originalEvent:t}),qt({rootEl:wt,name:"sort",toEl:wt,fromEl:gt,originalEvent:t}),qt({sortable:this,name:"sort",toEl:wt,originalEvent:t})),Lt&&Lt.save()):cn!==Vs&&cn>=0&&(qt({sortable:this,name:"update",toEl:wt,originalEvent:t}),qt({sortable:this,name:"sort",toEl:wt,originalEvent:t})),$e.active&&((cn==null||cn===-1)&&(cn=Vs,Mr=ta),qt({sortable:this,name:"end",toEl:wt,originalEvent:t}),this.save()))),this._nulling()},_nulling:function(){Xt("nulling",this),gt=le=wt=Re=os=kt=Ji=Vr=ns=Fn=Lo=cn=Mr=Vs=ta=Ts=na=Lt=Fi=$e.dragged=$e.ghost=$e.clone=$e.active=null,zl.forEach(function(t){t.checked=!0}),zl.length=qu=Wu=0},handleEvent:function(t){switch(t.type){case"drop":case"dragend":this._onDrop(t);break;case"dragenter":case"dragover":le&&(this._onDragOver(t),CU(t));break;case"selectstart":t.preventDefault();break}},toArray:function(){for(var t=[],n,r=this.el.children,s=0,o=r.length,a=this.options;s<o;s++)n=r[s],Ln(n,a.draggable,this.el,!1)&&t.push(n.getAttribute(a.dataIdAttr)||$U(n));return t},sort:function(t,n){var r={},s=this.el;this.toArray().forEach(function(o,a){var i=s.children[a];Ln(i,this.options.draggable,s,!1)&&(r[o]=i)},this),n&&this.captureAnimationState(),t.forEach(function(o){r[o]&&(s.removeChild(r[o]),s.appendChild(r[o]))}),n&&this.animateAll()},save:function(){var t=this.options.store;t&&t.set&&t.set(this)},closest:function(t,n){return Ln(t,n||this.options.draggable,this.el,!1)},option:function(t,n){var r=this.options;if(n===void 0)return r[t];var s=Ma.modifyOption(this,t,n);typeof s<"u"?r[t]=s:r[t]=n,t==="group"&&L1(r)},destroy:function(){Xt("destroy",this);var t=this.el;t[Ht]=null,He(t,"mousedown",this._onTapStart),He(t,"touchstart",this._onTapStart),He(t,"pointerdown",this._onTapStart),this.nativeDraggable&&(He(t,"dragover",this),He(t,"dragenter",this)),Array.prototype.forEach.call(t.querySelectorAll("[draggable]"),function(n){n.removeAttribute("draggable")}),this._onDrop(),this._disableDelayedDragEvents(),bl.splice(bl.indexOf(this.el),1),this.el=t=null},_hideClone:function(){if(!Vr){if(Xt("hideClone",this),$e.eventCanceled)return;ze(kt,"display","none"),this.options.removeCloneOnHide&&kt.parentNode&&kt.parentNode.removeChild(kt),Vr=!0}},_showClone:function(t){if(t.lastPutMode!=="clone"){this._hideClone();return}if(Vr){if(Xt("showClone",this),$e.eventCanceled)return;le.parentNode==gt&&!this.options.group.revertClone?gt.insertBefore(kt,le):os?gt.insertBefore(kt,os):gt.appendChild(kt),this.options.group.revertClone&&this.animate(le,kt),ze(kt,"display",""),Vr=!1}}};function CU(e){e.dataTransfer&&(e.dataTransfer.dropEffect="move"),e.cancelable&&e.preventDefault()}function Mi(e,t,n,r,s,o,a,i){var l,c=e[Ht],d=c.options.onMove,f;return window.CustomEvent&&!kr&&!La?l=new CustomEvent("move",{bubbles:!0,cancelable:!0}):(l=document.createEvent("Event"),l.initEvent("move",!0,!0)),l.to=t,l.from=e,l.dragged=n,l.draggedRect=r,l.related=s||t,l.relatedRect=o||yt(t),l.willInsertAfter=i,l.originalEvent=a,e.dispatchEvent(l),d&&(f=d.call(c,l,a)),f}function Ku(e){e.draggable=!1}function wU(){Jc=!1}function kU(e,t,n){var r=yt(ro(n.el,0,n.options,!0)),s=10;return t?e.clientX<r.left-s||e.clientY<r.top&&e.clientX<r.right:e.clientY<r.top-s||e.clientY<r.bottom&&e.clientX<r.left}function xU(e,t,n){var r=yt(xm(n.el,n.options.draggable)),s=10;return t?e.clientX>r.right+s||e.clientX<=r.right&&e.clientY>r.bottom&&e.clientX>=r.left:e.clientX>r.right&&e.clientY>r.top||e.clientX<=r.right&&e.clientY>r.bottom+s}function EU(e,t,n,r,s,o,a,i){var l=r?e.clientY:e.clientX,c=r?n.height:n.width,d=r?n.top:n.left,f=r?n.bottom:n.right,m=!1;if(!a){if(i&&Xi<c*s){if(!ra&&(na===1?l>d+c*o/2:l<f-c*o/2)&&(ra=!0),ra)m=!0;else if(na===1?l<d+Xi:l>f-Xi)return-na}else if(l>d+c*(1-s)/2&&l<f-c*(1-s)/2)return SU(t)}return m=m||a,m&&(l<d+c*o/2||l>f-c*o/2)?l>d+c/2?1:-1:0}function SU(e){return Et(le)<Et(e)?1:-1}function $U(e){for(var t=e.tagName+e.className+e.src+e.href+e.textContent,n=t.length,r=0;n--;)r+=t.charCodeAt(n);return r.toString(36)}function AU(e){zl.length=0;for(var t=e.getElementsByTagName("input"),n=t.length;n--;){var r=t[n];r.checked&&zl.push(r)}}function Qi(e){return setTimeout(e,0)}function Xc(e){return clearTimeout(e)}uu&&We(document,"touchmove",function(e){($e.active||Rs)&&e.cancelable&&e.preventDefault()});$e.utils={on:We,off:He,css:ze,find:D1,is:function(t,n){return!!Ln(t,n,t,!1)},extend:mU,throttle:P1,closest:Ln,toggleClass:Ct,clone:Em,index:Et,nextTick:Qi,cancelNextTick:Xc,detectDirection:R1,getChild:ro};$e.get=function(e){return e[Ht]};$e.mount=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];t[0].constructor===Array&&(t=t[0]),t.forEach(function(r){if(!r.prototype||!r.prototype.constructor)throw"Sortable: Mounted plugin must be a constructor function, not ".concat({}.toString.call(r));r.utils&&($e.utils=lr(lr({},$e.utils),r.utils)),Ma.mount(r)})};$e.create=function(e,t){return new $e(e,t)};$e.version=lU;var St=[],Mo,Qc,ed=!1,Zu,Yu,Cl,No;function TU(){function e(){this.defaults={scroll:!0,forceAutoScrollFallback:!1,scrollSensitivity:30,scrollSpeed:10,bubbleScroll:!0};for(var t in this)t.charAt(0)==="_"&&typeof this[t]=="function"&&(this[t]=this[t].bind(this))}return e.prototype={dragStarted:function(n){var r=n.originalEvent;this.sortable.nativeDraggable?We(document,"dragover",this._handleAutoScroll):this.options.supportPointer?We(document,"pointermove",this._handleFallbackAutoScroll):r.touches?We(document,"touchmove",this._handleFallbackAutoScroll):We(document,"mousemove",this._handleFallbackAutoScroll)},dragOverCompleted:function(n){var r=n.originalEvent;!this.options.dragOverBubble&&!r.rootEl&&this._handleAutoScroll(r)},drop:function(){this.sortable.nativeDraggable?He(document,"dragover",this._handleAutoScroll):(He(document,"pointermove",this._handleFallbackAutoScroll),He(document,"touchmove",this._handleFallbackAutoScroll),He(document,"mousemove",this._handleFallbackAutoScroll)),gh(),el(),fU()},nulling:function(){Cl=Qc=Mo=ed=No=Zu=Yu=null,St.length=0},_handleFallbackAutoScroll:function(n){this._handleAutoScroll(n,!0)},_handleAutoScroll:function(n,r){var s=this,o=(n.touches?n.touches[0]:n).clientX,a=(n.touches?n.touches[0]:n).clientY,i=document.elementFromPoint(o,a);if(Cl=n,r||this.options.forceAutoScrollFallback||La||kr||Qo){Ju(n,this.options,i,r);var l=Br(i,!0);ed&&(!No||o!==Zu||a!==Yu)&&(No&&gh(),No=setInterval(function(){var c=Br(document.elementFromPoint(o,a),!0);c!==l&&(l=c,el()),Ju(n,s.options,c,r)},10),Zu=o,Yu=a)}else{if(!this.options.bubbleScroll||Br(i,!0)===or()){el();return}Ju(n,this.options,Br(i,!1),!1)}}},An(e,{pluginName:"scroll",initializeByDefault:!0})}function el(){St.forEach(function(e){clearInterval(e.pid)}),St=[]}function gh(){clearInterval(No)}var Ju=P1(function(e,t,n,r){if(t.scroll){var s=(e.touches?e.touches[0]:e).clientX,o=(e.touches?e.touches[0]:e).clientY,a=t.scrollSensitivity,i=t.scrollSpeed,l=or(),c=!1,d;Qc!==n&&(Qc=n,el(),Mo=t.scroll,d=t.scrollFn,Mo===!0&&(Mo=Br(n,!0)));var f=0,m=Mo;do{var p=m,h=yt(p),_=h.top,z=h.bottom,v=h.left,b=h.right,k=h.width,C=h.height,x=void 0,T=void 0,N=p.scrollWidth,D=p.scrollHeight,I=ze(p),j=p.scrollLeft,K=p.scrollTop;p===l?(x=k<N&&(I.overflowX==="auto"||I.overflowX==="scroll"||I.overflowX==="visible"),T=C<D&&(I.overflowY==="auto"||I.overflowY==="scroll"||I.overflowY==="visible")):(x=k<N&&(I.overflowX==="auto"||I.overflowX==="scroll"),T=C<D&&(I.overflowY==="auto"||I.overflowY==="scroll"));var J=x&&(Math.abs(b-s)<=a&&j+k<N)-(Math.abs(v-s)<=a&&!!j),U=T&&(Math.abs(z-o)<=a&&K+C<D)-(Math.abs(_-o)<=a&&!!K);if(!St[f])for(var H=0;H<=f;H++)St[H]||(St[H]={});(St[f].vx!=J||St[f].vy!=U||St[f].el!==p)&&(St[f].el=p,St[f].vx=J,St[f].vy=U,clearInterval(St[f].pid),(J!=0||U!=0)&&(c=!0,St[f].pid=setInterval((function(){r&&this.layer===0&&$e.active._onTouchMove(Cl);var he=St[this.layer].vy?St[this.layer].vy*i:0,ee=St[this.layer].vx?St[this.layer].vx*i:0;typeof d=="function"&&d.call($e.dragged.parentNode[Ht],ee,he,e,Cl,St[this.layer].el)!=="continue"||I1(St[this.layer].el,ee,he)}).bind({layer:f}),24))),f++}while(t.bubbleScroll&&m!==l&&(m=Br(m,!1)));ed=c}},30),V1=function(t){var n=t.originalEvent,r=t.putSortable,s=t.dragEl,o=t.activeSortable,a=t.dispatchSortableEvent,i=t.hideGhostForTarget,l=t.unhideGhostForTarget;if(n){var c=r||o;i();var d=n.changedTouches&&n.changedTouches.length?n.changedTouches[0]:n,f=document.elementFromPoint(d.clientX,d.clientY);l(),c&&!c.el.contains(f)&&(a("spill"),this.onSpill({dragEl:s,putSortable:r}))}};function Sm(){}Sm.prototype={startIndex:null,dragStart:function(t){var n=t.oldDraggableIndex;this.startIndex=n},onSpill:function(t){var n=t.dragEl,r=t.putSortable;this.sortable.captureAnimationState(),r&&r.captureAnimationState();var s=ro(this.sortable.el,this.startIndex,this.options);s?this.sortable.el.insertBefore(n,s):this.sortable.el.appendChild(n),this.sortable.animateAll(),r&&r.animateAll()},drop:V1};An(Sm,{pluginName:"revertOnSpill"});function $m(){}$m.prototype={onSpill:function(t){var n=t.dragEl,r=t.putSortable,s=r||this.sortable;s.captureAnimationState(),n.parentNode&&n.parentNode.removeChild(n),s.animateAll()},drop:V1};An($m,{pluginName:"removeOnSpill"});var wn;function OU(){function e(){this.defaults={swapClass:"sortable-swap-highlight"}}return e.prototype={dragStart:function(n){var r=n.dragEl;wn=r},dragOverValid:function(n){var r=n.completed,s=n.target,o=n.onMove,a=n.activeSortable,i=n.changed,l=n.cancel;if(a.options.swap){var c=this.sortable.el,d=this.options;if(s&&s!==c){var f=wn;o(s)!==!1?(Ct(s,d.swapClass,!0),wn=s):wn=null,f&&f!==wn&&Ct(f,d.swapClass,!1)}i(),r(!0),l()}},drop:function(n){var r=n.activeSortable,s=n.putSortable,o=n.dragEl,a=s||this.sortable,i=this.options;wn&&Ct(wn,i.swapClass,!1),wn&&(i.swap||s&&s.options.swap)&&o!==wn&&(a.captureAnimationState(),a!==r&&r.captureAnimationState(),DU(o,wn),a.animateAll(),a!==r&&r.animateAll())},nulling:function(){wn=null}},An(e,{pluginName:"swap",eventProperties:function(){return{swapItem:wn}}})}function DU(e,t){var n=e.parentNode,r=t.parentNode,s,o;!n||!r||n.isEqualNode(t)||r.isEqualNode(e)||(s=Et(e),o=Et(t),n.isEqualNode(r)&&s<o&&o++,n.insertBefore(t,n.children[s]),r.insertBefore(e,r.children[o]))}var Pe=[],un=[],Eo,Rn,So=!1,Qt=!1,Os=!1,ft,$o,Ni;function PU(){function e(t){for(var n in this)n.charAt(0)==="_"&&typeof this[n]=="function"&&(this[n]=this[n].bind(this));t.options.supportPointer?We(document,"pointerup",this._deselectMultiDrag):(We(document,"mouseup",this._deselectMultiDrag),We(document,"touchend",this._deselectMultiDrag)),We(document,"keydown",this._checkKeyDown),We(document,"keyup",this._checkKeyUp),this.defaults={selectedClass:"sortable-selected",multiDragKey:null,setData:function(s,o){var a="";Pe.length&&Rn===t?Pe.forEach(function(i,l){a+=(l?", ":"")+i.textContent}):a=o.textContent,s.setData("Text",a)}}}return e.prototype={multiDragKeyDown:!1,isMultiDrag:!1,delayStartGlobal:function(n){var r=n.dragEl;ft=r},delayEnded:function(){this.isMultiDrag=~Pe.indexOf(ft)},setupClone:function(n){var r=n.sortable,s=n.cancel;if(this.isMultiDrag){for(var o=0;o<Pe.length;o++)un.push(Em(Pe[o])),un[o].sortableIndex=Pe[o].sortableIndex,un[o].draggable=!1,un[o].style["will-change"]="",Ct(un[o],this.options.selectedClass,!1),Pe[o]===ft&&Ct(un[o],this.options.chosenClass,!1);r._hideClone(),s()}},clone:function(n){var r=n.sortable,s=n.rootEl,o=n.dispatchSortableEvent,a=n.cancel;this.isMultiDrag&&(this.options.removeCloneOnHide||Pe.length&&Rn===r&&(yh(!0,s),o("clone"),a()))},showClone:function(n){var r=n.cloneNowShown,s=n.rootEl,o=n.cancel;this.isMultiDrag&&(yh(!1,s),un.forEach(function(a){ze(a,"display","")}),r(),Ni=!1,o())},hideClone:function(n){var r=this;n.sortable;var s=n.cloneNowHidden,o=n.cancel;this.isMultiDrag&&(un.forEach(function(a){ze(a,"display","none"),r.options.removeCloneOnHide&&a.parentNode&&a.parentNode.removeChild(a)}),s(),Ni=!0,o())},dragStartGlobal:function(n){n.sortable,!this.isMultiDrag&&Rn&&Rn.multiDrag._deselectMultiDrag(),Pe.forEach(function(r){r.sortableIndex=Et(r)}),Pe=Pe.sort(function(r,s){return r.sortableIndex-s.sortableIndex}),Os=!0},dragStarted:function(n){var r=this,s=n.sortable;if(this.isMultiDrag){if(this.options.sort&&(s.captureAnimationState(),this.options.animation)){Pe.forEach(function(a){a!==ft&&ze(a,"position","absolute")});var o=yt(ft,!1,!0,!0);Pe.forEach(function(a){a!==ft&&fh(a,o)}),Qt=!0,So=!0}s.animateAll(function(){Qt=!1,So=!1,r.options.animation&&Pe.forEach(function(a){ju(a)}),r.options.sort&&Vi()})}},dragOver:function(n){var r=n.target,s=n.completed,o=n.cancel;Qt&&~Pe.indexOf(r)&&(s(!1),o())},revert:function(n){var r=n.fromSortable,s=n.rootEl,o=n.sortable,a=n.dragRect;Pe.length>1&&(Pe.forEach(function(i){o.addAnimationState({target:i,rect:Qt?yt(i):a}),ju(i),i.fromRect=a,r.removeAnimationState(i)}),Qt=!1,IU(!this.options.removeCloneOnHide,s))},dragOverCompleted:function(n){var r=n.sortable,s=n.isOwner,o=n.insertion,a=n.activeSortable,i=n.parentEl,l=n.putSortable,c=this.options;if(o){if(s&&a._hideClone(),So=!1,c.animation&&Pe.length>1&&(Qt||!s&&!a.options.sort&&!l)){var d=yt(ft,!1,!0,!0);Pe.forEach(function(m){m!==ft&&(fh(m,d),i.appendChild(m))}),Qt=!0}if(!s)if(Qt||Vi(),Pe.length>1){var f=Ni;a._showClone(r),a.options.animation&&!Ni&&f&&un.forEach(function(m){a.addAnimationState({target:m,rect:$o}),m.fromRect=$o,m.thisAnimationDuration=null})}else a._showClone(r)}},dragOverAnimationCapture:function(n){var r=n.dragRect,s=n.isOwner,o=n.activeSortable;if(Pe.forEach(function(i){i.thisAnimationDuration=null}),o.options.animation&&!s&&o.multiDrag.isMultiDrag){$o=An({},r);var a=ps(ft,!0);$o.top-=a.f,$o.left-=a.e}},dragOverAnimationComplete:function(){Qt&&(Qt=!1,Vi())},drop:function(n){var r=n.originalEvent,s=n.rootEl,o=n.parentEl,a=n.sortable,i=n.dispatchSortableEvent,l=n.oldIndex,c=n.putSortable,d=c||this.sortable;if(r){var f=this.options,m=o.children;if(!Os)if(f.multiDragKey&&!this.multiDragKeyDown&&this._deselectMultiDrag(),Ct(ft,f.selectedClass,!~Pe.indexOf(ft)),~Pe.indexOf(ft))Pe.splice(Pe.indexOf(ft),1),Eo=null,Ro({sortable:a,rootEl:s,name:"deselect",targetEl:ft,originalEvt:r});else{if(Pe.push(ft),Ro({sortable:a,rootEl:s,name:"select",targetEl:ft,originalEvt:r}),r.shiftKey&&Eo&&a.el.contains(Eo)){var p=Et(Eo),h=Et(ft);if(~p&&~h&&p!==h){var _,z;for(h>p?(z=p,_=h):(z=h,_=p+1);z<_;z++)~Pe.indexOf(m[z])||(Ct(m[z],f.selectedClass,!0),Pe.push(m[z]),Ro({sortable:a,rootEl:s,name:"select",targetEl:m[z],originalEvt:r}))}}else Eo=ft;Rn=d}if(Os&&this.isMultiDrag){if(Qt=!1,(o[Ht].options.sort||o!==s)&&Pe.length>1){var v=yt(ft),b=Et(ft,":not(."+this.options.selectedClass+")");if(!So&&f.animation&&(ft.thisAnimationDuration=null),d.captureAnimationState(),!So&&(f.animation&&(ft.fromRect=v,Pe.forEach(function(C){if(C.thisAnimationDuration=null,C!==ft){var x=Qt?yt(C):v;C.fromRect=x,d.addAnimationState({target:C,rect:x})}})),Vi(),Pe.forEach(function(C){m[b]?o.insertBefore(C,m[b]):o.appendChild(C),b++}),l===Et(ft))){var k=!1;Pe.forEach(function(C){if(C.sortableIndex!==Et(C)){k=!0;return}}),k&&i("update")}Pe.forEach(function(C){ju(C)}),d.animateAll()}Rn=d}(s===o||c&&c.lastPutMode!=="clone")&&un.forEach(function(C){C.parentNode&&C.parentNode.removeChild(C)})}},nullingGlobal:function(){this.isMultiDrag=Os=!1,un.length=0},destroyGlobal:function(){this._deselectMultiDrag(),He(document,"pointerup",this._deselectMultiDrag),He(document,"mouseup",this._deselectMultiDrag),He(document,"touchend",this._deselectMultiDrag),He(document,"keydown",this._checkKeyDown),He(document,"keyup",this._checkKeyUp)},_deselectMultiDrag:function(n){if(!(typeof Os<"u"&&Os)&&Rn===this.sortable&&!(n&&Ln(n.target,this.options.draggable,this.sortable.el,!1))&&!(n&&n.button!==0))for(;Pe.length;){var r=Pe[0];Ct(r,this.options.selectedClass,!1),Pe.shift(),Ro({sortable:this.sortable,rootEl:this.sortable.el,name:"deselect",targetEl:r,originalEvt:n})}},_checkKeyDown:function(n){n.key===this.options.multiDragKey&&(this.multiDragKeyDown=!0)},_checkKeyUp:function(n){n.key===this.options.multiDragKey&&(this.multiDragKeyDown=!1)}},An(e,{pluginName:"multiDrag",utils:{select:function(n){var r=n.parentNode[Ht];!r||!r.options.multiDrag||~Pe.indexOf(n)||(Rn&&Rn!==r&&(Rn.multiDrag._deselectMultiDrag(),Rn=r),Ct(n,r.options.selectedClass,!0),Pe.push(n))},deselect:function(n){var r=n.parentNode[Ht],s=Pe.indexOf(n);!r||!r.options.multiDrag||!~s||(Ct(n,r.options.selectedClass,!1),Pe.splice(s,1))}},eventProperties:function(){var n=this,r=[],s=[];return Pe.forEach(function(o){r.push({multiDragElement:o,index:o.sortableIndex});var a;Qt&&o!==ft?a=-1:Qt?a=Et(o,":not(."+n.options.selectedClass+")"):a=Et(o),s.push({multiDragElement:o,index:a})}),{items:rU(Pe),clones:[].concat(un),oldIndicies:r,newIndicies:s}},optionListeners:{multiDragKey:function(n){return n=n.toLowerCase(),n==="ctrl"?n="Control":n.length>1&&(n=n.charAt(0).toUpperCase()+n.substr(1)),n}}})}function IU(e,t){Pe.forEach(function(n,r){var s=t.children[n.sortableIndex+(e?Number(r):0)];s?t.insertBefore(n,s):t.appendChild(n)})}function yh(e,t){un.forEach(function(n,r){var s=t.children[n.sortableIndex+(e?Number(r):0)];s?t.insertBefore(n,s):t.appendChild(n)})}function Vi(){Pe.forEach(function(e){e!==ft&&e.parentNode&&e.parentNode.removeChild(e)})}$e.mount(new TU);$e.mount($m,Sm);const FU=Object.freeze(Object.defineProperty({__proto__:null,MultiDrag:PU,Sortable:$e,Swap:OU,default:$e},Symbol.toStringTag,{value:"Module"})),RU=vy(FU);(function(e,t){(function(r,s){e.exports=s(xv,RU)})(typeof self<"u"?self:rn,function(n,r){return function(s){var o={};function a(i){if(o[i])return o[i].exports;var l=o[i]={i,l:!1,exports:{}};return s[i].call(l.exports,l,l.exports,a),l.l=!0,l.exports}return a.m=s,a.c=o,a.d=function(i,l,c){a.o(i,l)||Object.defineProperty(i,l,{enumerable:!0,get:c})},a.r=function(i){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(i,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(i,"__esModule",{value:!0})},a.t=function(i,l){if(l&1&&(i=a(i)),l&8||l&4&&typeof i=="object"&&i&&i.__esModule)return i;var c=Object.create(null);if(a.r(c),Object.defineProperty(c,"default",{enumerable:!0,value:i}),l&2&&typeof i!="string")for(var d in i)a.d(c,d,(function(f){return i[f]}).bind(null,d));return c},a.n=function(i){var l=i&&i.__esModule?function(){return i.default}:function(){return i};return a.d(l,"a",l),l},a.o=function(i,l){return Object.prototype.hasOwnProperty.call(i,l)},a.p="",a(a.s="fb15")}({"00ee":function(s,o,a){var i=a("b622"),l=i("toStringTag"),c={};c[l]="z",s.exports=String(c)==="[object z]"},"0366":function(s,o,a){var i=a("1c0b");s.exports=function(l,c,d){if(i(l),c===void 0)return l;switch(d){case 0:return function(){return l.call(c)};case 1:return function(f){return l.call(c,f)};case 2:return function(f,m){return l.call(c,f,m)};case 3:return function(f,m,p){return l.call(c,f,m,p)}}return function(){return l.apply(c,arguments)}}},"057f":function(s,o,a){var i=a("fc6a"),l=a("241c").f,c={}.toString,d=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],f=function(m){try{return l(m)}catch{return d.slice()}};s.exports.f=function(p){return d&&c.call(p)=="[object Window]"?f(p):l(i(p))}},"06cf":function(s,o,a){var i=a("83ab"),l=a("d1e7"),c=a("5c6c"),d=a("fc6a"),f=a("c04e"),m=a("5135"),p=a("0cfb"),h=Object.getOwnPropertyDescriptor;o.f=i?h:function(z,v){if(z=d(z),v=f(v,!0),p)try{return h(z,v)}catch{}if(m(z,v))return c(!l.f.call(z,v),z[v])}},"0cfb":function(s,o,a){var i=a("83ab"),l=a("d039"),c=a("cc12");s.exports=!i&&!l(function(){return Object.defineProperty(c("div"),"a",{get:function(){return 7}}).a!=7})},"13d5":function(s,o,a){var i=a("23e7"),l=a("d58f").left,c=a("a640"),d=a("ae40"),f=c("reduce"),m=d("reduce",{1:0});i({target:"Array",proto:!0,forced:!f||!m},{reduce:function(h){return l(this,h,arguments.length,arguments.length>1?arguments[1]:void 0)}})},"14c3":function(s,o,a){var i=a("c6b6"),l=a("9263");s.exports=function(c,d){var f=c.exec;if(typeof f=="function"){var m=f.call(c,d);if(typeof m!="object")throw TypeError("RegExp exec method returned something other than an Object or null");return m}if(i(c)!=="RegExp")throw TypeError("RegExp#exec called on incompatible receiver");return l.call(c,d)}},"159b":function(s,o,a){var i=a("da84"),l=a("fdbc"),c=a("17c2"),d=a("9112");for(var f in l){var m=i[f],p=m&&m.prototype;if(p&&p.forEach!==c)try{d(p,"forEach",c)}catch{p.forEach=c}}},"17c2":function(s,o,a){var i=a("b727").forEach,l=a("a640"),c=a("ae40"),d=l("forEach"),f=c("forEach");s.exports=!d||!f?function(p){return i(this,p,arguments.length>1?arguments[1]:void 0)}:[].forEach},"1be4":function(s,o,a){var i=a("d066");s.exports=i("document","documentElement")},"1c0b":function(s,o){s.exports=function(a){if(typeof a!="function")throw TypeError(String(a)+" is not a function");return a}},"1c7e":function(s,o,a){var i=a("b622"),l=i("iterator"),c=!1;try{var d=0,f={next:function(){return{done:!!d++}},return:function(){c=!0}};f[l]=function(){return this},Array.from(f,function(){throw 2})}catch{}s.exports=function(m,p){if(!p&&!c)return!1;var h=!1;try{var _={};_[l]=function(){return{next:function(){return{done:h=!0}}}},m(_)}catch{}return h}},"1d80":function(s,o){s.exports=function(a){if(a==null)throw TypeError("Can't call method on "+a);return a}},"1dde":function(s,o,a){var i=a("d039"),l=a("b622"),c=a("2d00"),d=l("species");s.exports=function(f){return c>=51||!i(function(){var m=[],p=m.constructor={};return p[d]=function(){return{foo:1}},m[f](Boolean).foo!==1})}},"23cb":function(s,o,a){var i=a("a691"),l=Math.max,c=Math.min;s.exports=function(d,f){var m=i(d);return m<0?l(m+f,0):c(m,f)}},"23e7":function(s,o,a){var i=a("da84"),l=a("06cf").f,c=a("9112"),d=a("6eeb"),f=a("ce4e"),m=a("e893"),p=a("94ca");s.exports=function(h,_){var z=h.target,v=h.global,b=h.stat,k,C,x,T,N,D;if(v?C=i:b?C=i[z]||f(z,{}):C=(i[z]||{}).prototype,C)for(x in _){if(N=_[x],h.noTargetGet?(D=l(C,x),T=D&&D.value):T=C[x],k=p(v?x:z+(b?".":"#")+x,h.forced),!k&&T!==void 0){if(typeof N==typeof T)continue;m(N,T)}(h.sham||T&&T.sham)&&c(N,"sham",!0),d(C,x,N,h)}}},"241c":function(s,o,a){var i=a("ca84"),l=a("7839"),c=l.concat("length","prototype");o.f=Object.getOwnPropertyNames||function(f){return i(f,c)}},"25f0":function(s,o,a){var i=a("6eeb"),l=a("825a"),c=a("d039"),d=a("ad6d"),f="toString",m=RegExp.prototype,p=m[f],h=c(function(){return p.call({source:"a",flags:"b"})!="/a/b"}),_=p.name!=f;(h||_)&&i(RegExp.prototype,f,function(){var v=l(this),b=String(v.source),k=v.flags,C=String(k===void 0&&v instanceof RegExp&&!("flags"in m)?d.call(v):k);return"/"+b+"/"+C},{unsafe:!0})},"2ca0":function(s,o,a){var i=a("23e7"),l=a("06cf").f,c=a("50c4"),d=a("5a34"),f=a("1d80"),m=a("ab13"),p=a("c430"),h="".startsWith,_=Math.min,z=m("startsWith"),v=!p&&!z&&!!function(){var b=l(String.prototype,"startsWith");return b&&!b.writable}();i({target:"String",proto:!0,forced:!v&&!z},{startsWith:function(k){var C=String(f(this));d(k);var x=c(_(arguments.length>1?arguments[1]:void 0,C.length)),T=String(k);return h?h.call(C,T,x):C.slice(x,x+T.length)===T}})},"2d00":function(s,o,a){var i=a("da84"),l=a("342f"),c=i.process,d=c&&c.versions,f=d&&d.v8,m,p;f?(m=f.split("."),p=m[0]+m[1]):l&&(m=l.match(/Edge\/(\d+)/),(!m||m[1]>=74)&&(m=l.match(/Chrome\/(\d+)/),m&&(p=m[1]))),s.exports=p&&+p},"342f":function(s,o,a){var i=a("d066");s.exports=i("navigator","userAgent")||""},"35a1":function(s,o,a){var i=a("f5df"),l=a("3f8c"),c=a("b622"),d=c("iterator");s.exports=function(f){if(f!=null)return f[d]||f["@@iterator"]||l[i(f)]}},"37e8":function(s,o,a){var i=a("83ab"),l=a("9bf2"),c=a("825a"),d=a("df75");s.exports=i?Object.defineProperties:function(m,p){c(m);for(var h=d(p),_=h.length,z=0,v;_>z;)l.f(m,v=h[z++],p[v]);return m}},"3bbe":function(s,o,a){var i=a("861d");s.exports=function(l){if(!i(l)&&l!==null)throw TypeError("Can't set "+String(l)+" as a prototype");return l}},"3ca3":function(s,o,a){var i=a("6547").charAt,l=a("69f3"),c=a("7dd0"),d="String Iterator",f=l.set,m=l.getterFor(d);c(String,"String",function(p){f(this,{type:d,string:String(p),index:0})},function(){var h=m(this),_=h.string,z=h.index,v;return z>=_.length?{value:void 0,done:!0}:(v=i(_,z),h.index+=v.length,{value:v,done:!1})})},"3f8c":function(s,o){s.exports={}},4160:function(s,o,a){var i=a("23e7"),l=a("17c2");i({target:"Array",proto:!0,forced:[].forEach!=l},{forEach:l})},"428f":function(s,o,a){var i=a("da84");s.exports=i},"44ad":function(s,o,a){var i=a("d039"),l=a("c6b6"),c="".split;s.exports=i(function(){return!Object("z").propertyIsEnumerable(0)})?function(d){return l(d)=="String"?c.call(d,""):Object(d)}:Object},"44d2":function(s,o,a){var i=a("b622"),l=a("7c73"),c=a("9bf2"),d=i("unscopables"),f=Array.prototype;f[d]==null&&c.f(f,d,{configurable:!0,value:l(null)}),s.exports=function(m){f[d][m]=!0}},"44e7":function(s,o,a){var i=a("861d"),l=a("c6b6"),c=a("b622"),d=c("match");s.exports=function(f){var m;return i(f)&&((m=f[d])!==void 0?!!m:l(f)=="RegExp")}},4930:function(s,o,a){var i=a("d039");s.exports=!!Object.getOwnPropertySymbols&&!i(function(){return!String(Symbol())})},"4d64":function(s,o,a){var i=a("fc6a"),l=a("50c4"),c=a("23cb"),d=function(f){return function(m,p,h){var _=i(m),z=l(_.length),v=c(h,z),b;if(f&&p!=p){for(;z>v;)if(b=_[v++],b!=b)return!0}else for(;z>v;v++)if((f||v in _)&&_[v]===p)return f||v||0;return!f&&-1}};s.exports={includes:d(!0),indexOf:d(!1)}},"4de4":function(s,o,a){var i=a("23e7"),l=a("b727").filter,c=a("1dde"),d=a("ae40"),f=c("filter"),m=d("filter");i({target:"Array",proto:!0,forced:!f||!m},{filter:function(h){return l(this,h,arguments.length>1?arguments[1]:void 0)}})},"4df4":function(s,o,a){var i=a("0366"),l=a("7b0b"),c=a("9bdd"),d=a("e95a"),f=a("50c4"),m=a("8418"),p=a("35a1");s.exports=function(_){var z=l(_),v=typeof this=="function"?this:Array,b=arguments.length,k=b>1?arguments[1]:void 0,C=k!==void 0,x=p(z),T=0,N,D,I,j,K,J;if(C&&(k=i(k,b>2?arguments[2]:void 0,2)),x!=null&&!(v==Array&&d(x)))for(j=x.call(z),K=j.next,D=new v;!(I=K.call(j)).done;T++)J=C?c(j,k,[I.value,T],!0):I.value,m(D,T,J);else for(N=f(z.length),D=new v(N);N>T;T++)J=C?k(z[T],T):z[T],m(D,T,J);return D.length=T,D}},"4fad":function(s,o,a){var i=a("23e7"),l=a("6f53").entries;i({target:"Object",stat:!0},{entries:function(d){return l(d)}})},"50c4":function(s,o,a){var i=a("a691"),l=Math.min;s.exports=function(c){return c>0?l(i(c),9007199254740991):0}},5135:function(s,o){var a={}.hasOwnProperty;s.exports=function(i,l){return a.call(i,l)}},5319:function(s,o,a){var i=a("d784"),l=a("825a"),c=a("7b0b"),d=a("50c4"),f=a("a691"),m=a("1d80"),p=a("8aa5"),h=a("14c3"),_=Math.max,z=Math.min,v=Math.floor,b=/\$([$&'`]|\d\d?|<[^>]*>)/g,k=/\$([$&'`]|\d\d?)/g,C=function(x){return x===void 0?x:String(x)};i("replace",2,function(x,T,N,D){var I=D.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,j=D.REPLACE_KEEPS_$0,K=I?"$":"$0";return[function(H,he){var ee=m(this),se=H==null?void 0:H[x];return se!==void 0?se.call(H,ee,he):T.call(String(ee),H,he)},function(U,H){if(!I&&j||typeof H=="string"&&H.indexOf(K)===-1){var he=N(T,U,this,H);if(he.done)return he.value}var ee=l(U),se=String(this),ye=typeof H=="function";ye||(H=String(H));var qe=ee.global;if(qe){var it=ee.unicode;ee.lastIndex=0}for(var Ge=[];;){var Be=h(ee,se);if(Be===null||(Ge.push(Be),!qe))break;var ct=String(Be[0]);ct===""&&(ee.lastIndex=p(se,d(ee.lastIndex),it))}for(var dt="",mt=0,Ie=0;Ie<Ge.length;Ie++){Be=Ge[Ie];for(var q=String(Be[0]),ie=_(z(f(Be.index),se.length),0),re=[],ge=1;ge<Be.length;ge++)re.push(C(Be[ge]));var Ne=Be.groups;if(ye){var A=[q].concat(re,ie,se);Ne!==void 0&&A.push(Ne);var O=String(H.apply(void 0,A))}else O=J(q,se,ie,re,Ne,H);ie>=mt&&(dt+=se.slice(mt,ie)+O,mt=ie+q.length)}return dt+se.slice(mt)}];function J(U,H,he,ee,se,ye){var qe=he+U.length,it=ee.length,Ge=k;return se!==void 0&&(se=c(se),Ge=b),T.call(ye,Ge,function(Be,ct){var dt;switch(ct.charAt(0)){case"$":return"$";case"&":return U;case"`":return H.slice(0,he);case"'":return H.slice(qe);case"<":dt=se[ct.slice(1,-1)];break;default:var mt=+ct;if(mt===0)return Be;if(mt>it){var Ie=v(mt/10);return Ie===0?Be:Ie<=it?ee[Ie-1]===void 0?ct.charAt(1):ee[Ie-1]+ct.charAt(1):Be}dt=ee[mt-1]}return dt===void 0?"":dt})}})},5692:function(s,o,a){var i=a("c430"),l=a("c6cd");(s.exports=function(c,d){return l[c]||(l[c]=d!==void 0?d:{})})("versions",[]).push({version:"3.6.5",mode:i?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},"56ef":function(s,o,a){var i=a("d066"),l=a("241c"),c=a("7418"),d=a("825a");s.exports=i("Reflect","ownKeys")||function(m){var p=l.f(d(m)),h=c.f;return h?p.concat(h(m)):p}},"5a34":function(s,o,a){var i=a("44e7");s.exports=function(l){if(i(l))throw TypeError("The method doesn't accept regular expressions");return l}},"5c6c":function(s,o){s.exports=function(a,i){return{enumerable:!(a&1),configurable:!(a&2),writable:!(a&4),value:i}}},"5db7":function(s,o,a){var i=a("23e7"),l=a("a2bf"),c=a("7b0b"),d=a("50c4"),f=a("1c0b"),m=a("65f0");i({target:"Array",proto:!0},{flatMap:function(h){var _=c(this),z=d(_.length),v;return f(h),v=m(_,0),v.length=l(v,_,_,z,0,1,h,arguments.length>1?arguments[1]:void 0),v}})},6547:function(s,o,a){var i=a("a691"),l=a("1d80"),c=function(d){return function(f,m){var p=String(l(f)),h=i(m),_=p.length,z,v;return h<0||h>=_?d?"":void 0:(z=p.charCodeAt(h),z<55296||z>56319||h+1===_||(v=p.charCodeAt(h+1))<56320||v>57343?d?p.charAt(h):z:d?p.slice(h,h+2):(z-55296<<10)+(v-56320)+65536)}};s.exports={codeAt:c(!1),charAt:c(!0)}},"65f0":function(s,o,a){var i=a("861d"),l=a("e8b5"),c=a("b622"),d=c("species");s.exports=function(f,m){var p;return l(f)&&(p=f.constructor,typeof p=="function"&&(p===Array||l(p.prototype))?p=void 0:i(p)&&(p=p[d],p===null&&(p=void 0))),new(p===void 0?Array:p)(m===0?0:m)}},"69f3":function(s,o,a){var i=a("7f9a"),l=a("da84"),c=a("861d"),d=a("9112"),f=a("5135"),m=a("f772"),p=a("d012"),h=l.WeakMap,_,z,v,b=function(I){return v(I)?z(I):_(I,{})},k=function(I){return function(j){var K;if(!c(j)||(K=z(j)).type!==I)throw TypeError("Incompatible receiver, "+I+" required");return K}};if(i){var C=new h,x=C.get,T=C.has,N=C.set;_=function(I,j){return N.call(C,I,j),j},z=function(I){return x.call(C,I)||{}},v=function(I){return T.call(C,I)}}else{var D=m("state");p[D]=!0,_=function(I,j){return d(I,D,j),j},z=function(I){return f(I,D)?I[D]:{}},v=function(I){return f(I,D)}}s.exports={set:_,get:z,has:v,enforce:b,getterFor:k}},"6eeb":function(s,o,a){var i=a("da84"),l=a("9112"),c=a("5135"),d=a("ce4e"),f=a("8925"),m=a("69f3"),p=m.get,h=m.enforce,_=String(String).split("String");(s.exports=function(z,v,b,k){var C=k?!!k.unsafe:!1,x=k?!!k.enumerable:!1,T=k?!!k.noTargetGet:!1;if(typeof b=="function"&&(typeof v=="string"&&!c(b,"name")&&l(b,"name",v),h(b).source=_.join(typeof v=="string"?v:"")),z===i){x?z[v]=b:d(v,b);return}else C?!T&&z[v]&&(x=!0):delete z[v];x?z[v]=b:l(z,v,b)})(Function.prototype,"toString",function(){return typeof this=="function"&&p(this).source||f(this)})},"6f53":function(s,o,a){var i=a("83ab"),l=a("df75"),c=a("fc6a"),d=a("d1e7").f,f=function(m){return function(p){for(var h=c(p),_=l(h),z=_.length,v=0,b=[],k;z>v;)k=_[v++],(!i||d.call(h,k))&&b.push(m?[k,h[k]]:h[k]);return b}};s.exports={entries:f(!0),values:f(!1)}},"73d9":function(s,o,a){var i=a("44d2");i("flatMap")},7418:function(s,o){o.f=Object.getOwnPropertySymbols},"746f":function(s,o,a){var i=a("428f"),l=a("5135"),c=a("e538"),d=a("9bf2").f;s.exports=function(f){var m=i.Symbol||(i.Symbol={});l(m,f)||d(m,f,{value:c.f(f)})}},7839:function(s,o){s.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},"7b0b":function(s,o,a){var i=a("1d80");s.exports=function(l){return Object(i(l))}},"7c73":function(s,o,a){var i=a("825a"),l=a("37e8"),c=a("7839"),d=a("d012"),f=a("1be4"),m=a("cc12"),p=a("f772"),h=">",_="<",z="prototype",v="script",b=p("IE_PROTO"),k=function(){},C=function(I){return _+v+h+I+_+"/"+v+h},x=function(I){I.write(C("")),I.close();var j=I.parentWindow.Object;return I=null,j},T=function(){var I=m("iframe"),j="java"+v+":",K;return I.style.display="none",f.appendChild(I),I.src=String(j),K=I.contentWindow.document,K.open(),K.write(C("document.F=Object")),K.close(),K.F},N,D=function(){try{N=document.domain&&new ActiveXObject("htmlfile")}catch{}D=N?x(N):T();for(var I=c.length;I--;)delete D[z][c[I]];return D()};d[b]=!0,s.exports=Object.create||function(j,K){var J;return j!==null?(k[z]=i(j),J=new k,k[z]=null,J[b]=j):J=D(),K===void 0?J:l(J,K)}},"7dd0":function(s,o,a){var i=a("23e7"),l=a("9ed3"),c=a("e163"),d=a("d2bb"),f=a("d44e"),m=a("9112"),p=a("6eeb"),h=a("b622"),_=a("c430"),z=a("3f8c"),v=a("ae93"),b=v.IteratorPrototype,k=v.BUGGY_SAFARI_ITERATORS,C=h("iterator"),x="keys",T="values",N="entries",D=function(){return this};s.exports=function(I,j,K,J,U,H,he){l(K,j,J);var ee=function(Ie){if(Ie===U&&Ge)return Ge;if(!k&&Ie in qe)return qe[Ie];switch(Ie){case x:return function(){return new K(this,Ie)};case T:return function(){return new K(this,Ie)};case N:return function(){return new K(this,Ie)}}return function(){return new K(this)}},se=j+" Iterator",ye=!1,qe=I.prototype,it=qe[C]||qe["@@iterator"]||U&&qe[U],Ge=!k&&it||ee(U),Be=j=="Array"&&qe.entries||it,ct,dt,mt;if(Be&&(ct=c(Be.call(new I)),b!==Object.prototype&&ct.next&&(!_&&c(ct)!==b&&(d?d(ct,b):typeof ct[C]!="function"&&m(ct,C,D)),f(ct,se,!0,!0),_&&(z[se]=D))),U==T&&it&&it.name!==T&&(ye=!0,Ge=function(){return it.call(this)}),(!_||he)&&qe[C]!==Ge&&m(qe,C,Ge),z[j]=Ge,U)if(dt={values:ee(T),keys:H?Ge:ee(x),entries:ee(N)},he)for(mt in dt)(k||ye||!(mt in qe))&&p(qe,mt,dt[mt]);else i({target:j,proto:!0,forced:k||ye},dt);return dt}},"7f9a":function(s,o,a){var i=a("da84"),l=a("8925"),c=i.WeakMap;s.exports=typeof c=="function"&&/native code/.test(l(c))},"825a":function(s,o,a){var i=a("861d");s.exports=function(l){if(!i(l))throw TypeError(String(l)+" is not an object");return l}},"83ab":function(s,o,a){var i=a("d039");s.exports=!i(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})},8418:function(s,o,a){var i=a("c04e"),l=a("9bf2"),c=a("5c6c");s.exports=function(d,f,m){var p=i(f);p in d?l.f(d,p,c(0,m)):d[p]=m}},"861d":function(s,o){s.exports=function(a){return typeof a=="object"?a!==null:typeof a=="function"}},8875:function(s,o,a){var i,l,c;(function(d,f){l=[],i=f,c=typeof i=="function"?i.apply(o,l):i,c!==void 0&&(s.exports=c)})(typeof self<"u"?self:this,function(){function d(){var f=Object.getOwnPropertyDescriptor(document,"currentScript");if(!f&&"currentScript"in document&&document.currentScript||f&&f.get!==d&&document.currentScript)return document.currentScript;try{throw new Error}catch(N){var m=/.*at [^(]*\((.*):(.+):(.+)\)$/ig,p=/@([^@]*):(\d+):(\d+)\s*$/ig,h=m.exec(N.stack)||p.exec(N.stack),_=h&&h[1]||!1,z=h&&h[2]||!1,v=document.location.href.replace(document.location.hash,""),b,k,C,x=document.getElementsByTagName("script");_===v&&(b=document.documentElement.outerHTML,k=new RegExp("(?:[^\\n]+?\\n){0,"+(z-2)+"}[^<]*<script>([\\d\\D]*?)<\\/script>[\\d\\D]*","i"),C=b.replace(k,"$1").trim());for(var T=0;T<x.length;T++)if(x[T].readyState==="interactive"||x[T].src===_||_===v&&x[T].innerHTML&&x[T].innerHTML.trim()===C)return x[T];return null}}return d})},8925:function(s,o,a){var i=a("c6cd"),l=Function.toString;typeof i.inspectSource!="function"&&(i.inspectSource=function(c){return l.call(c)}),s.exports=i.inspectSource},"8aa5":function(s,o,a){var i=a("6547").charAt;s.exports=function(l,c,d){return c+(d?i(l,c).length:1)}},"8bbf":function(s,o){s.exports=n},"90e3":function(s,o){var a=0,i=Math.random();s.exports=function(l){return"Symbol("+String(l===void 0?"":l)+")_"+(++a+i).toString(36)}},9112:function(s,o,a){var i=a("83ab"),l=a("9bf2"),c=a("5c6c");s.exports=i?function(d,f,m){return l.f(d,f,c(1,m))}:function(d,f,m){return d[f]=m,d}},9263:function(s,o,a){var i=a("ad6d"),l=a("9f7f"),c=RegExp.prototype.exec,d=String.prototype.replace,f=c,m=function(){var z=/a/,v=/b*/g;return c.call(z,"a"),c.call(v,"a"),z.lastIndex!==0||v.lastIndex!==0}(),p=l.UNSUPPORTED_Y||l.BROKEN_CARET,h=/()??/.exec("")[1]!==void 0,_=m||h||p;_&&(f=function(v){var b=this,k,C,x,T,N=p&&b.sticky,D=i.call(b),I=b.source,j=0,K=v;return N&&(D=D.replace("y",""),D.indexOf("g")===-1&&(D+="g"),K=String(v).slice(b.lastIndex),b.lastIndex>0&&(!b.multiline||b.multiline&&v[b.lastIndex-1]!==`
`)&&(I="(?: "+I+")",K=" "+K,j++),C=new RegExp("^(?:"+I+")",D)),h&&(C=new RegExp("^"+I+"$(?!\\s)",D)),m&&(k=b.lastIndex),x=c.call(N?C:b,K),N?x?(x.input=x.input.slice(j),x[0]=x[0].slice(j),x.index=b.lastIndex,b.lastIndex+=x[0].length):b.lastIndex=0:m&&x&&(b.lastIndex=b.global?x.index+x[0].length:k),h&&x&&x.length>1&&d.call(x[0],C,function(){for(T=1;T<arguments.length-2;T++)arguments[T]===void 0&&(x[T]=void 0)}),x}),s.exports=f},"94ca":function(s,o,a){var i=a("d039"),l=/#|\.prototype\./,c=function(h,_){var z=f[d(h)];return z==p?!0:z==m?!1:typeof _=="function"?i(_):!!_},d=c.normalize=function(h){return String(h).replace(l,".").toLowerCase()},f=c.data={},m=c.NATIVE="N",p=c.POLYFILL="P";s.exports=c},"99af":function(s,o,a){var i=a("23e7"),l=a("d039"),c=a("e8b5"),d=a("861d"),f=a("7b0b"),m=a("50c4"),p=a("8418"),h=a("65f0"),_=a("1dde"),z=a("b622"),v=a("2d00"),b=z("isConcatSpreadable"),k=9007199254740991,C="Maximum allowed index exceeded",x=v>=51||!l(function(){var I=[];return I[b]=!1,I.concat()[0]!==I}),T=_("concat"),N=function(I){if(!d(I))return!1;var j=I[b];return j!==void 0?!!j:c(I)},D=!x||!T;i({target:"Array",proto:!0,forced:D},{concat:function(j){var K=f(this),J=h(K,0),U=0,H,he,ee,se,ye;for(H=-1,ee=arguments.length;H<ee;H++)if(ye=H===-1?K:arguments[H],N(ye)){if(se=m(ye.length),U+se>k)throw TypeError(C);for(he=0;he<se;he++,U++)he in ye&&p(J,U,ye[he])}else{if(U>=k)throw TypeError(C);p(J,U++,ye)}return J.length=U,J}})},"9bdd":function(s,o,a){var i=a("825a");s.exports=function(l,c,d,f){try{return f?c(i(d)[0],d[1]):c(d)}catch(p){var m=l.return;throw m!==void 0&&i(m.call(l)),p}}},"9bf2":function(s,o,a){var i=a("83ab"),l=a("0cfb"),c=a("825a"),d=a("c04e"),f=Object.defineProperty;o.f=i?f:function(p,h,_){if(c(p),h=d(h,!0),c(_),l)try{return f(p,h,_)}catch{}if("get"in _||"set"in _)throw TypeError("Accessors not supported");return"value"in _&&(p[h]=_.value),p}},"9ed3":function(s,o,a){var i=a("ae93").IteratorPrototype,l=a("7c73"),c=a("5c6c"),d=a("d44e"),f=a("3f8c"),m=function(){return this};s.exports=function(p,h,_){var z=h+" Iterator";return p.prototype=l(i,{next:c(1,_)}),d(p,z,!1,!0),f[z]=m,p}},"9f7f":function(s,o,a){var i=a("d039");function l(c,d){return RegExp(c,d)}o.UNSUPPORTED_Y=i(function(){var c=l("a","y");return c.lastIndex=2,c.exec("abcd")!=null}),o.BROKEN_CARET=i(function(){var c=l("^r","gy");return c.lastIndex=2,c.exec("str")!=null})},a2bf:function(s,o,a){var i=a("e8b5"),l=a("50c4"),c=a("0366"),d=function(f,m,p,h,_,z,v,b){for(var k=_,C=0,x=v?c(v,b,3):!1,T;C<h;){if(C in p){if(T=x?x(p[C],C,m):p[C],z>0&&i(T))k=d(f,m,T,l(T.length),k,z-1)-1;else{if(k>=9007199254740991)throw TypeError("Exceed the acceptable array length");f[k]=T}k++}C++}return k};s.exports=d},a352:function(s,o){s.exports=r},a434:function(s,o,a){var i=a("23e7"),l=a("23cb"),c=a("a691"),d=a("50c4"),f=a("7b0b"),m=a("65f0"),p=a("8418"),h=a("1dde"),_=a("ae40"),z=h("splice"),v=_("splice",{ACCESSORS:!0,0:0,1:2}),b=Math.max,k=Math.min,C=9007199254740991,x="Maximum allowed length exceeded";i({target:"Array",proto:!0,forced:!z||!v},{splice:function(N,D){var I=f(this),j=d(I.length),K=l(N,j),J=arguments.length,U,H,he,ee,se,ye;if(J===0?U=H=0:J===1?(U=0,H=j-K):(U=J-2,H=k(b(c(D),0),j-K)),j+U-H>C)throw TypeError(x);for(he=m(I,H),ee=0;ee<H;ee++)se=K+ee,se in I&&p(he,ee,I[se]);if(he.length=H,U<H){for(ee=K;ee<j-H;ee++)se=ee+H,ye=ee+U,se in I?I[ye]=I[se]:delete I[ye];for(ee=j;ee>j-H+U;ee--)delete I[ee-1]}else if(U>H)for(ee=j-H;ee>K;ee--)se=ee+H-1,ye=ee+U-1,se in I?I[ye]=I[se]:delete I[ye];for(ee=0;ee<U;ee++)I[ee+K]=arguments[ee+2];return I.length=j-H+U,he}})},a4d3:function(s,o,a){var i=a("23e7"),l=a("da84"),c=a("d066"),d=a("c430"),f=a("83ab"),m=a("4930"),p=a("fdbf"),h=a("d039"),_=a("5135"),z=a("e8b5"),v=a("861d"),b=a("825a"),k=a("7b0b"),C=a("fc6a"),x=a("c04e"),T=a("5c6c"),N=a("7c73"),D=a("df75"),I=a("241c"),j=a("057f"),K=a("7418"),J=a("06cf"),U=a("9bf2"),H=a("d1e7"),he=a("9112"),ee=a("6eeb"),se=a("5692"),ye=a("f772"),qe=a("d012"),it=a("90e3"),Ge=a("b622"),Be=a("e538"),ct=a("746f"),dt=a("d44e"),mt=a("69f3"),Ie=a("b727").forEach,q=ye("hidden"),ie="Symbol",re="prototype",ge=Ge("toPrimitive"),Ne=mt.set,A=mt.getterFor(ie),O=Object[re],P=l.Symbol,G=c("JSON","stringify"),Y=J.f,Q=U.f,ue=j.f,ae=H.f,oe=se("symbols"),Z=se("op-symbols"),R=se("string-to-symbol-registry"),B=se("symbol-to-string-registry"),fe=se("wks"),ve=l.QObject,Te=!ve||!ve[re]||!ve[re].findChild,Ue=f&&h(function(){return N(Q({},"a",{get:function(){return Q(this,"a",{value:7}).a}})).a!=7})?function(Oe,we,Se){var Ke=Y(O,we);Ke&&delete O[we],Q(Oe,we,Se),Ke&&Oe!==O&&Q(O,we,Ke)}:Q,Me=function(Oe,we){var Se=oe[Oe]=N(P[re]);return Ne(Se,{type:ie,tag:Oe,description:we}),f||(Se.description=we),Se},F=p?function(Oe){return typeof Oe=="symbol"}:function(Oe){return Object(Oe)instanceof P},L=function(we,Se,Ke){we===O&&L(Z,Se,Ke),b(we);var Xe=x(Se,!0);return b(Ke),_(oe,Xe)?(Ke.enumerable?(_(we,q)&&we[q][Xe]&&(we[q][Xe]=!1),Ke=N(Ke,{enumerable:T(0,!1)})):(_(we,q)||Q(we,q,T(1,{})),we[q][Xe]=!0),Ue(we,Xe,Ke)):Q(we,Xe,Ke)},W=function(we,Se){b(we);var Ke=C(Se),Xe=D(Ke).concat(Fe(Ke));return Ie(Xe,function(Yt){(!f||_e.call(Ke,Yt))&&L(we,Yt,Ke[Yt])}),we},ne=function(we,Se){return Se===void 0?N(we):W(N(we),Se)},_e=function(we){var Se=x(we,!0),Ke=ae.call(this,Se);return this===O&&_(oe,Se)&&!_(Z,Se)?!1:Ke||!_(this,Se)||!_(oe,Se)||_(this,q)&&this[q][Se]?Ke:!0},Ee=function(we,Se){var Ke=C(we),Xe=x(Se,!0);if(!(Ke===O&&_(oe,Xe)&&!_(Z,Xe))){var Yt=Y(Ke,Xe);return Yt&&_(oe,Xe)&&!(_(Ke,q)&&Ke[q][Xe])&&(Yt.enumerable=!0),Yt}},xe=function(we){var Se=ue(C(we)),Ke=[];return Ie(Se,function(Xe){!_(oe,Xe)&&!_(qe,Xe)&&Ke.push(Xe)}),Ke},Fe=function(we){var Se=we===O,Ke=ue(Se?Z:C(we)),Xe=[];return Ie(Ke,function(Yt){_(oe,Yt)&&(!Se||_(O,Yt))&&Xe.push(oe[Yt])}),Xe};if(m||(P=function(){if(this instanceof P)throw TypeError("Symbol is not a constructor");var we=!arguments.length||arguments[0]===void 0?void 0:String(arguments[0]),Se=it(we),Ke=function(Xe){this===O&&Ke.call(Z,Xe),_(this,q)&&_(this[q],Se)&&(this[q][Se]=!1),Ue(this,Se,T(1,Xe))};return f&&Te&&Ue(O,Se,{configurable:!0,set:Ke}),Me(Se,we)},ee(P[re],"toString",function(){return A(this).tag}),ee(P,"withoutSetter",function(Oe){return Me(it(Oe),Oe)}),H.f=_e,U.f=L,J.f=Ee,I.f=j.f=xe,K.f=Fe,Be.f=function(Oe){return Me(Ge(Oe),Oe)},f&&(Q(P[re],"description",{configurable:!0,get:function(){return A(this).description}}),d||ee(O,"propertyIsEnumerable",_e,{unsafe:!0}))),i({global:!0,wrap:!0,forced:!m,sham:!m},{Symbol:P}),Ie(D(fe),function(Oe){ct(Oe)}),i({target:ie,stat:!0,forced:!m},{for:function(Oe){var we=String(Oe);if(_(R,we))return R[we];var Se=P(we);return R[we]=Se,B[Se]=we,Se},keyFor:function(we){if(!F(we))throw TypeError(we+" is not a symbol");if(_(B,we))return B[we]},useSetter:function(){Te=!0},useSimple:function(){Te=!1}}),i({target:"Object",stat:!0,forced:!m,sham:!f},{create:ne,defineProperty:L,defineProperties:W,getOwnPropertyDescriptor:Ee}),i({target:"Object",stat:!0,forced:!m},{getOwnPropertyNames:xe,getOwnPropertySymbols:Fe}),i({target:"Object",stat:!0,forced:h(function(){K.f(1)})},{getOwnPropertySymbols:function(we){return K.f(k(we))}}),G){var _t=!m||h(function(){var Oe=P();return G([Oe])!="[null]"||G({a:Oe})!="{}"||G(Object(Oe))!="{}"});i({target:"JSON",stat:!0,forced:_t},{stringify:function(we,Se,Ke){for(var Xe=[we],Yt=1,du;arguments.length>Yt;)Xe.push(arguments[Yt++]);if(du=Se,!(!v(Se)&&we===void 0||F(we)))return z(Se)||(Se=function(W1,Na){if(typeof du=="function"&&(Na=du.call(this,W1,Na)),!F(Na))return Na}),Xe[1]=Se,G.apply(null,Xe)}})}P[re][ge]||he(P[re],ge,P[re].valueOf),dt(P,ie),qe[q]=!0},a630:function(s,o,a){var i=a("23e7"),l=a("4df4"),c=a("1c7e"),d=!c(function(f){Array.from(f)});i({target:"Array",stat:!0,forced:d},{from:l})},a640:function(s,o,a){var i=a("d039");s.exports=function(l,c){var d=[][l];return!!d&&i(function(){d.call(null,c||function(){throw 1},1)})}},a691:function(s,o){var a=Math.ceil,i=Math.floor;s.exports=function(l){return isNaN(l=+l)?0:(l>0?i:a)(l)}},ab13:function(s,o,a){var i=a("b622"),l=i("match");s.exports=function(c){var d=/./;try{"/./"[c](d)}catch{try{return d[l]=!1,"/./"[c](d)}catch{}}return!1}},ac1f:function(s,o,a){var i=a("23e7"),l=a("9263");i({target:"RegExp",proto:!0,forced:/./.exec!==l},{exec:l})},ad6d:function(s,o,a){var i=a("825a");s.exports=function(){var l=i(this),c="";return l.global&&(c+="g"),l.ignoreCase&&(c+="i"),l.multiline&&(c+="m"),l.dotAll&&(c+="s"),l.unicode&&(c+="u"),l.sticky&&(c+="y"),c}},ae40:function(s,o,a){var i=a("83ab"),l=a("d039"),c=a("5135"),d=Object.defineProperty,f={},m=function(p){throw p};s.exports=function(p,h){if(c(f,p))return f[p];h||(h={});var _=[][p],z=c(h,"ACCESSORS")?h.ACCESSORS:!1,v=c(h,0)?h[0]:m,b=c(h,1)?h[1]:void 0;return f[p]=!!_&&!l(function(){if(z&&!i)return!0;var k={length:-1};z?d(k,1,{enumerable:!0,get:m}):k[1]=1,_.call(k,v,b)})}},ae93:function(s,o,a){var i=a("e163"),l=a("9112"),c=a("5135"),d=a("b622"),f=a("c430"),m=d("iterator"),p=!1,h=function(){return this},_,z,v;[].keys&&(v=[].keys(),"next"in v?(z=i(i(v)),z!==Object.prototype&&(_=z)):p=!0),_==null&&(_={}),!f&&!c(_,m)&&l(_,m,h),s.exports={IteratorPrototype:_,BUGGY_SAFARI_ITERATORS:p}},b041:function(s,o,a){var i=a("00ee"),l=a("f5df");s.exports=i?{}.toString:function(){return"[object "+l(this)+"]"}},b0c0:function(s,o,a){var i=a("83ab"),l=a("9bf2").f,c=Function.prototype,d=c.toString,f=/^\s*function ([^ (]*)/,m="name";i&&!(m in c)&&l(c,m,{configurable:!0,get:function(){try{return d.call(this).match(f)[1]}catch{return""}}})},b622:function(s,o,a){var i=a("da84"),l=a("5692"),c=a("5135"),d=a("90e3"),f=a("4930"),m=a("fdbf"),p=l("wks"),h=i.Symbol,_=m?h:h&&h.withoutSetter||d;s.exports=function(z){return c(p,z)||(f&&c(h,z)?p[z]=h[z]:p[z]=_("Symbol."+z)),p[z]}},b64b:function(s,o,a){var i=a("23e7"),l=a("7b0b"),c=a("df75"),d=a("d039"),f=d(function(){c(1)});i({target:"Object",stat:!0,forced:f},{keys:function(p){return c(l(p))}})},b727:function(s,o,a){var i=a("0366"),l=a("44ad"),c=a("7b0b"),d=a("50c4"),f=a("65f0"),m=[].push,p=function(h){var _=h==1,z=h==2,v=h==3,b=h==4,k=h==6,C=h==5||k;return function(x,T,N,D){for(var I=c(x),j=l(I),K=i(T,N,3),J=d(j.length),U=0,H=D||f,he=_?H(x,J):z?H(x,0):void 0,ee,se;J>U;U++)if((C||U in j)&&(ee=j[U],se=K(ee,U,I),h)){if(_)he[U]=se;else if(se)switch(h){case 3:return!0;case 5:return ee;case 6:return U;case 2:m.call(he,ee)}else if(b)return!1}return k?-1:v||b?b:he}};s.exports={forEach:p(0),map:p(1),filter:p(2),some:p(3),every:p(4),find:p(5),findIndex:p(6)}},c04e:function(s,o,a){var i=a("861d");s.exports=function(l,c){if(!i(l))return l;var d,f;if(c&&typeof(d=l.toString)=="function"&&!i(f=d.call(l))||typeof(d=l.valueOf)=="function"&&!i(f=d.call(l))||!c&&typeof(d=l.toString)=="function"&&!i(f=d.call(l)))return f;throw TypeError("Can't convert object to primitive value")}},c430:function(s,o){s.exports=!1},c6b6:function(s,o){var a={}.toString;s.exports=function(i){return a.call(i).slice(8,-1)}},c6cd:function(s,o,a){var i=a("da84"),l=a("ce4e"),c="__core-js_shared__",d=i[c]||l(c,{});s.exports=d},c740:function(s,o,a){var i=a("23e7"),l=a("b727").findIndex,c=a("44d2"),d=a("ae40"),f="findIndex",m=!0,p=d(f);f in[]&&Array(1)[f](function(){m=!1}),i({target:"Array",proto:!0,forced:m||!p},{findIndex:function(_){return l(this,_,arguments.length>1?arguments[1]:void 0)}}),c(f)},c8ba:function(s,o){var a;a=function(){return this}();try{a=a||new Function("return this")()}catch{typeof window=="object"&&(a=window)}s.exports=a},c975:function(s,o,a){var i=a("23e7"),l=a("4d64").indexOf,c=a("a640"),d=a("ae40"),f=[].indexOf,m=!!f&&1/[1].indexOf(1,-0)<0,p=c("indexOf"),h=d("indexOf",{ACCESSORS:!0,1:0});i({target:"Array",proto:!0,forced:m||!p||!h},{indexOf:function(z){return m?f.apply(this,arguments)||0:l(this,z,arguments.length>1?arguments[1]:void 0)}})},ca84:function(s,o,a){var i=a("5135"),l=a("fc6a"),c=a("4d64").indexOf,d=a("d012");s.exports=function(f,m){var p=l(f),h=0,_=[],z;for(z in p)!i(d,z)&&i(p,z)&&_.push(z);for(;m.length>h;)i(p,z=m[h++])&&(~c(_,z)||_.push(z));return _}},caad:function(s,o,a){var i=a("23e7"),l=a("4d64").includes,c=a("44d2"),d=a("ae40"),f=d("indexOf",{ACCESSORS:!0,1:0});i({target:"Array",proto:!0,forced:!f},{includes:function(p){return l(this,p,arguments.length>1?arguments[1]:void 0)}}),c("includes")},cc12:function(s,o,a){var i=a("da84"),l=a("861d"),c=i.document,d=l(c)&&l(c.createElement);s.exports=function(f){return d?c.createElement(f):{}}},ce4e:function(s,o,a){var i=a("da84"),l=a("9112");s.exports=function(c,d){try{l(i,c,d)}catch{i[c]=d}return d}},d012:function(s,o){s.exports={}},d039:function(s,o){s.exports=function(a){try{return!!a()}catch{return!0}}},d066:function(s,o,a){var i=a("428f"),l=a("da84"),c=function(d){return typeof d=="function"?d:void 0};s.exports=function(d,f){return arguments.length<2?c(i[d])||c(l[d]):i[d]&&i[d][f]||l[d]&&l[d][f]}},d1e7:function(s,o,a){var i={}.propertyIsEnumerable,l=Object.getOwnPropertyDescriptor,c=l&&!i.call({1:2},1);o.f=c?function(f){var m=l(this,f);return!!m&&m.enumerable}:i},d28b:function(s,o,a){var i=a("746f");i("iterator")},d2bb:function(s,o,a){var i=a("825a"),l=a("3bbe");s.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var c=!1,d={},f;try{f=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set,f.call(d,[]),c=d instanceof Array}catch{}return function(p,h){return i(p),l(h),c?f.call(p,h):p.__proto__=h,p}}():void 0)},d3b7:function(s,o,a){var i=a("00ee"),l=a("6eeb"),c=a("b041");i||l(Object.prototype,"toString",c,{unsafe:!0})},d44e:function(s,o,a){var i=a("9bf2").f,l=a("5135"),c=a("b622"),d=c("toStringTag");s.exports=function(f,m,p){f&&!l(f=p?f:f.prototype,d)&&i(f,d,{configurable:!0,value:m})}},d58f:function(s,o,a){var i=a("1c0b"),l=a("7b0b"),c=a("44ad"),d=a("50c4"),f=function(m){return function(p,h,_,z){i(h);var v=l(p),b=c(v),k=d(v.length),C=m?k-1:0,x=m?-1:1;if(_<2)for(;;){if(C in b){z=b[C],C+=x;break}if(C+=x,m?C<0:k<=C)throw TypeError("Reduce of empty array with no initial value")}for(;m?C>=0:k>C;C+=x)C in b&&(z=h(z,b[C],C,v));return z}};s.exports={left:f(!1),right:f(!0)}},d784:function(s,o,a){a("ac1f");var i=a("6eeb"),l=a("d039"),c=a("b622"),d=a("9263"),f=a("9112"),m=c("species"),p=!l(function(){var b=/./;return b.exec=function(){var k=[];return k.groups={a:"7"},k},"".replace(b,"$<a>")!=="7"}),h=function(){return"a".replace(/./,"$0")==="$0"}(),_=c("replace"),z=function(){return/./[_]?/./[_]("a","$0")==="":!1}(),v=!l(function(){var b=/(?:)/,k=b.exec;b.exec=function(){return k.apply(this,arguments)};var C="ab".split(b);return C.length!==2||C[0]!=="a"||C[1]!=="b"});s.exports=function(b,k,C,x){var T=c(b),N=!l(function(){var U={};return U[T]=function(){return 7},""[b](U)!=7}),D=N&&!l(function(){var U=!1,H=/a/;return b==="split"&&(H={},H.constructor={},H.constructor[m]=function(){return H},H.flags="",H[T]=/./[T]),H.exec=function(){return U=!0,null},H[T](""),!U});if(!N||!D||b==="replace"&&!(p&&h&&!z)||b==="split"&&!v){var I=/./[T],j=C(T,""[b],function(U,H,he,ee,se){return H.exec===d?N&&!se?{done:!0,value:I.call(H,he,ee)}:{done:!0,value:U.call(he,H,ee)}:{done:!1}},{REPLACE_KEEPS_$0:h,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:z}),K=j[0],J=j[1];i(String.prototype,b,K),i(RegExp.prototype,T,k==2?function(U,H){return J.call(U,this,H)}:function(U){return J.call(U,this)})}x&&f(RegExp.prototype[T],"sham",!0)}},d81d:function(s,o,a){var i=a("23e7"),l=a("b727").map,c=a("1dde"),d=a("ae40"),f=c("map"),m=d("map");i({target:"Array",proto:!0,forced:!f||!m},{map:function(h){return l(this,h,arguments.length>1?arguments[1]:void 0)}})},da84:function(s,o,a){(function(i){var l=function(c){return c&&c.Math==Math&&c};s.exports=l(typeof globalThis=="object"&&globalThis)||l(typeof window=="object"&&window)||l(typeof self=="object"&&self)||l(typeof i=="object"&&i)||Function("return this")()}).call(this,a("c8ba"))},dbb4:function(s,o,a){var i=a("23e7"),l=a("83ab"),c=a("56ef"),d=a("fc6a"),f=a("06cf"),m=a("8418");i({target:"Object",stat:!0,sham:!l},{getOwnPropertyDescriptors:function(h){for(var _=d(h),z=f.f,v=c(_),b={},k=0,C,x;v.length>k;)x=z(_,C=v[k++]),x!==void 0&&m(b,C,x);return b}})},dbf1:function(s,o,a){(function(i){a.d(o,"a",function(){return c});function l(){return typeof window<"u"?window.console:i.console}var c=l()}).call(this,a("c8ba"))},ddb0:function(s,o,a){var i=a("da84"),l=a("fdbc"),c=a("e260"),d=a("9112"),f=a("b622"),m=f("iterator"),p=f("toStringTag"),h=c.values;for(var _ in l){var z=i[_],v=z&&z.prototype;if(v){if(v[m]!==h)try{d(v,m,h)}catch{v[m]=h}if(v[p]||d(v,p,_),l[_]){for(var b in c)if(v[b]!==c[b])try{d(v,b,c[b])}catch{v[b]=c[b]}}}}},df75:function(s,o,a){var i=a("ca84"),l=a("7839");s.exports=Object.keys||function(d){return i(d,l)}},e01a:function(s,o,a){var i=a("23e7"),l=a("83ab"),c=a("da84"),d=a("5135"),f=a("861d"),m=a("9bf2").f,p=a("e893"),h=c.Symbol;if(l&&typeof h=="function"&&(!("description"in h.prototype)||h().description!==void 0)){var _={},z=function(){var T=arguments.length<1||arguments[0]===void 0?void 0:String(arguments[0]),N=this instanceof z?new h(T):T===void 0?h():h(T);return T===""&&(_[N]=!0),N};p(z,h);var v=z.prototype=h.prototype;v.constructor=z;var b=v.toString,k=String(h("test"))=="Symbol(test)",C=/^Symbol\((.*)\)[^)]+$/;m(v,"description",{configurable:!0,get:function(){var T=f(this)?this.valueOf():this,N=b.call(T);if(d(_,T))return"";var D=k?N.slice(7,-1):N.replace(C,"$1");return D===""?void 0:D}}),i({global:!0,forced:!0},{Symbol:z})}},e163:function(s,o,a){var i=a("5135"),l=a("7b0b"),c=a("f772"),d=a("e177"),f=c("IE_PROTO"),m=Object.prototype;s.exports=d?Object.getPrototypeOf:function(p){return p=l(p),i(p,f)?p[f]:typeof p.constructor=="function"&&p instanceof p.constructor?p.constructor.prototype:p instanceof Object?m:null}},e177:function(s,o,a){var i=a("d039");s.exports=!i(function(){function l(){}return l.prototype.constructor=null,Object.getPrototypeOf(new l)!==l.prototype})},e260:function(s,o,a){var i=a("fc6a"),l=a("44d2"),c=a("3f8c"),d=a("69f3"),f=a("7dd0"),m="Array Iterator",p=d.set,h=d.getterFor(m);s.exports=f(Array,"Array",function(_,z){p(this,{type:m,target:i(_),index:0,kind:z})},function(){var _=h(this),z=_.target,v=_.kind,b=_.index++;return!z||b>=z.length?(_.target=void 0,{value:void 0,done:!0}):v=="keys"?{value:b,done:!1}:v=="values"?{value:z[b],done:!1}:{value:[b,z[b]],done:!1}},"values"),c.Arguments=c.Array,l("keys"),l("values"),l("entries")},e439:function(s,o,a){var i=a("23e7"),l=a("d039"),c=a("fc6a"),d=a("06cf").f,f=a("83ab"),m=l(function(){d(1)}),p=!f||m;i({target:"Object",stat:!0,forced:p,sham:!f},{getOwnPropertyDescriptor:function(_,z){return d(c(_),z)}})},e538:function(s,o,a){var i=a("b622");o.f=i},e893:function(s,o,a){var i=a("5135"),l=a("56ef"),c=a("06cf"),d=a("9bf2");s.exports=function(f,m){for(var p=l(m),h=d.f,_=c.f,z=0;z<p.length;z++){var v=p[z];i(f,v)||h(f,v,_(m,v))}}},e8b5:function(s,o,a){var i=a("c6b6");s.exports=Array.isArray||function(c){return i(c)=="Array"}},e95a:function(s,o,a){var i=a("b622"),l=a("3f8c"),c=i("iterator"),d=Array.prototype;s.exports=function(f){return f!==void 0&&(l.Array===f||d[c]===f)}},f5df:function(s,o,a){var i=a("00ee"),l=a("c6b6"),c=a("b622"),d=c("toStringTag"),f=l(function(){return arguments}())=="Arguments",m=function(p,h){try{return p[h]}catch{}};s.exports=i?l:function(p){var h,_,z;return p===void 0?"Undefined":p===null?"Null":typeof(_=m(h=Object(p),d))=="string"?_:f?l(h):(z=l(h))=="Object"&&typeof h.callee=="function"?"Arguments":z}},f772:function(s,o,a){var i=a("5692"),l=a("90e3"),c=i("keys");s.exports=function(d){return c[d]||(c[d]=l(d))}},fb15:function(s,o,a){if(a.r(o),typeof window<"u"){var i=window.document.currentScript;{var l=a("8875");i=l(),"currentScript"in document||Object.defineProperty(document,"currentScript",{get:l})}var c=i&&i.src.match(/(.+\/)[^/]+\.js(\?.*)?$/);c&&(a.p=c[1])}a("99af"),a("4de4"),a("4160"),a("c975"),a("d81d"),a("a434"),a("159b"),a("a4d3"),a("e439"),a("dbb4"),a("b64b");function d(F,L,W){return L in F?Object.defineProperty(F,L,{value:W,enumerable:!0,configurable:!0,writable:!0}):F[L]=W,F}function f(F,L){var W=Object.keys(F);if(Object.getOwnPropertySymbols){var ne=Object.getOwnPropertySymbols(F);L&&(ne=ne.filter(function(_e){return Object.getOwnPropertyDescriptor(F,_e).enumerable})),W.push.apply(W,ne)}return W}function m(F){for(var L=1;L<arguments.length;L++){var W=arguments[L]!=null?arguments[L]:{};L%2?f(Object(W),!0).forEach(function(ne){d(F,ne,W[ne])}):Object.getOwnPropertyDescriptors?Object.defineProperties(F,Object.getOwnPropertyDescriptors(W)):f(Object(W)).forEach(function(ne){Object.defineProperty(F,ne,Object.getOwnPropertyDescriptor(W,ne))})}return F}function p(F){if(Array.isArray(F))return F}a("e01a"),a("d28b"),a("e260"),a("d3b7"),a("3ca3"),a("ddb0");function h(F,L){if(!(typeof Symbol>"u"||!(Symbol.iterator in Object(F)))){var W=[],ne=!0,_e=!1,Ee=void 0;try{for(var xe=F[Symbol.iterator](),Fe;!(ne=(Fe=xe.next()).done)&&(W.push(Fe.value),!(L&&W.length===L));ne=!0);}catch(_t){_e=!0,Ee=_t}finally{try{!ne&&xe.return!=null&&xe.return()}finally{if(_e)throw Ee}}return W}}a("a630"),a("fb6a"),a("b0c0"),a("25f0");function _(F,L){(L==null||L>F.length)&&(L=F.length);for(var W=0,ne=new Array(L);W<L;W++)ne[W]=F[W];return ne}function z(F,L){if(F){if(typeof F=="string")return _(F,L);var W=Object.prototype.toString.call(F).slice(8,-1);if(W==="Object"&&F.constructor&&(W=F.constructor.name),W==="Map"||W==="Set")return Array.from(F);if(W==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(W))return _(F,L)}}function v(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function b(F,L){return p(F)||h(F,L)||z(F,L)||v()}function k(F){if(Array.isArray(F))return _(F)}function C(F){if(typeof Symbol<"u"&&Symbol.iterator in Object(F))return Array.from(F)}function x(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function T(F){return k(F)||C(F)||z(F)||x()}var N=a("a352"),D=a.n(N);function I(F){F.parentElement!==null&&F.parentElement.removeChild(F)}function j(F,L,W){var ne=W===0?F.children[0]:F.children[W-1].nextSibling;F.insertBefore(L,ne)}var K=a("dbf1");a("13d5"),a("4fad"),a("ac1f"),a("5319");function J(F){var L=Object.create(null);return function(ne){var _e=L[ne];return _e||(L[ne]=F(ne))}}var U=/-(\w)/g,H=J(function(F){return F.replace(U,function(L,W){return W.toUpperCase()})});a("5db7"),a("73d9");var he=["Start","Add","Remove","Update","End"],ee=["Choose","Unchoose","Sort","Filter","Clone"],se=["Move"],ye=[se,he,ee].flatMap(function(F){return F}).map(function(F){return"on".concat(F)}),qe={manage:se,manageAndEmit:he,emit:ee};function it(F){return ye.indexOf(F)!==-1}a("caad"),a("2ca0");var Ge=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","label","legend","li","link","main","map","mark","math","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rb","rp","rt","rtc","ruby","s","samp","script","section","select","slot","small","source","span","strong","style","sub","summary","sup","svg","table","tbody","td","template","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr"];function Be(F){return Ge.includes(F)}function ct(F){return["transition-group","TransitionGroup"].includes(F)}function dt(F){return["id","class","role","style"].includes(F)||F.startsWith("data-")||F.startsWith("aria-")||F.startsWith("on")}function mt(F){return F.reduce(function(L,W){var ne=b(W,2),_e=ne[0],Ee=ne[1];return L[_e]=Ee,L},{})}function Ie(F){var L=F.$attrs,W=F.componentData,ne=W===void 0?{}:W,_e=mt(Object.entries(L).filter(function(Ee){var xe=b(Ee,2),Fe=xe[0];return xe[1],dt(Fe)}));return m(m({},_e),ne)}function q(F){var L=F.$attrs,W=F.callBackBuilder,ne=mt(ie(L));Object.entries(W).forEach(function(Ee){var xe=b(Ee,2),Fe=xe[0],_t=xe[1];qe[Fe].forEach(function(Oe){ne["on".concat(Oe)]=_t(Oe)})});var _e="[data-draggable]".concat(ne.draggable||"");return m(m({},ne),{},{draggable:_e})}function ie(F){return Object.entries(F).filter(function(L){var W=b(L,2),ne=W[0];return W[1],!dt(ne)}).map(function(L){var W=b(L,2),ne=W[0],_e=W[1];return[H(ne),_e]}).filter(function(L){var W=b(L,2),ne=W[0];return W[1],!it(ne)})}a("c740");function re(F,L){if(!(F instanceof L))throw new TypeError("Cannot call a class as a function")}function ge(F,L){for(var W=0;W<L.length;W++){var ne=L[W];ne.enumerable=ne.enumerable||!1,ne.configurable=!0,"value"in ne&&(ne.writable=!0),Object.defineProperty(F,ne.key,ne)}}function Ne(F,L,W){return L&&ge(F.prototype,L),W&&ge(F,W),F}var A=function(L){var W=L.el;return W},O=function(L,W){return L.__draggable_context=W},P=function(L){return L.__draggable_context},G=function(){function F(L){var W=L.nodes,ne=W.header,_e=W.default,Ee=W.footer,xe=L.root,Fe=L.realList;re(this,F),this.defaultNodes=_e,this.children=[].concat(T(ne),T(_e),T(Ee)),this.externalComponent=xe.externalComponent,this.rootTransition=xe.transition,this.tag=xe.tag,this.realList=Fe}return Ne(F,[{key:"render",value:function(W,ne){var _e=this.tag,Ee=this.children,xe=this._isRootComponent,Fe=xe?{default:function(){return Ee}}:Ee;return W(_e,ne,Fe)}},{key:"updated",value:function(){var W=this.defaultNodes,ne=this.realList;W.forEach(function(_e,Ee){O(A(_e),{element:ne[Ee],index:Ee})})}},{key:"getUnderlyingVm",value:function(W){return P(W)}},{key:"getVmIndexFromDomIndex",value:function(W,ne){var _e=this.defaultNodes,Ee=_e.length,xe=ne.children,Fe=xe.item(W);if(Fe===null)return Ee;var _t=P(Fe);if(_t)return _t.index;if(Ee===0)return 0;var Oe=A(_e[0]),we=T(xe).findIndex(function(Se){return Se===Oe});return W<we?0:Ee}},{key:"_isRootComponent",get:function(){return this.externalComponent||this.rootTransition}}]),F}(),Y=a("8bbf");function Q(F,L){var W=F[L];return W?W():[]}function ue(F){var L=F.$slots,W=F.realList,ne=F.getKey,_e=W||[],Ee=["header","footer"].map(function(Se){return Q(L,Se)}),xe=b(Ee,2),Fe=xe[0],_t=xe[1],Oe=L.item;if(!Oe)throw new Error("draggable element must have an item slot");var we=_e.flatMap(function(Se,Ke){return Oe({element:Se,index:Ke}).map(function(Xe){return Xe.key=ne(Se),Xe.props=m(m({},Xe.props||{}),{},{"data-draggable":!0}),Xe})});if(we.length!==_e.length)throw new Error("Item slot must have only one child");return{header:Fe,footer:_t,default:we}}function ae(F){var L=ct(F),W=!Be(F)&&!L;return{transition:L,externalComponent:W,tag:W?Object(Y.resolveComponent)(F):L?Y.TransitionGroup:F}}function oe(F){var L=F.$slots,W=F.tag,ne=F.realList,_e=F.getKey,Ee=ue({$slots:L,realList:ne,getKey:_e}),xe=ae(W);return new G({nodes:Ee,root:xe,realList:ne})}function Z(F,L){var W=this;Object(Y.nextTick)(function(){return W.$emit(F.toLowerCase(),L)})}function R(F){var L=this;return function(W,ne){if(L.realList!==null)return L["onDrag".concat(F)](W,ne)}}function B(F){var L=this,W=R.call(this,F);return function(ne,_e){W.call(L,ne,_e),Z.call(L,F,ne)}}var fe=null,ve={list:{type:Array,required:!1,default:null},modelValue:{type:Array,required:!1,default:null},itemKey:{type:[String,Function],required:!0},clone:{type:Function,default:function(L){return L}},tag:{type:String,default:"div"},move:{type:Function,default:null},componentData:{type:Object,required:!1,default:null}},Te=["update:modelValue","change"].concat(T([].concat(T(qe.manageAndEmit),T(qe.emit)).map(function(F){return F.toLowerCase()}))),Ue=Object(Y.defineComponent)({name:"draggable",inheritAttrs:!1,props:ve,emits:Te,data:function(){return{error:!1}},render:function(){try{this.error=!1;var L=this.$slots,W=this.$attrs,ne=this.tag,_e=this.componentData,Ee=this.realList,xe=this.getKey,Fe=oe({$slots:L,tag:ne,realList:Ee,getKey:xe});this.componentStructure=Fe;var _t=Ie({$attrs:W,componentData:_e});return Fe.render(Y.h,_t)}catch(Oe){return this.error=!0,Object(Y.h)("pre",{style:{color:"red"}},Oe.stack)}},created:function(){this.list!==null&&this.modelValue!==null&&K.a.error("modelValue and list props are mutually exclusive! Please set one or another.")},mounted:function(){var L=this;if(!this.error){var W=this.$attrs,ne=this.$el,_e=this.componentStructure;_e.updated();var Ee=q({$attrs:W,callBackBuilder:{manageAndEmit:function(_t){return B.call(L,_t)},emit:function(_t){return Z.bind(L,_t)},manage:function(_t){return R.call(L,_t)}}}),xe=ne.nodeType===1?ne:ne.parentElement;this._sortable=new D.a(xe,Ee),this.targetDomElement=xe,xe.__draggable_component__=this}},updated:function(){this.componentStructure.updated()},beforeUnmount:function(){this._sortable!==void 0&&this._sortable.destroy()},computed:{realList:function(){var L=this.list;return L||this.modelValue},getKey:function(){var L=this.itemKey;return typeof L=="function"?L:function(W){return W[L]}}},watch:{$attrs:{handler:function(L){var W=this._sortable;W&&ie(L).forEach(function(ne){var _e=b(ne,2),Ee=_e[0],xe=_e[1];W.option(Ee,xe)})},deep:!0}},methods:{getUnderlyingVm:function(L){return this.componentStructure.getUnderlyingVm(L)||null},getUnderlyingPotencialDraggableComponent:function(L){return L.__draggable_component__},emitChanges:function(L){var W=this;Object(Y.nextTick)(function(){return W.$emit("change",L)})},alterList:function(L){if(this.list){L(this.list);return}var W=T(this.modelValue);L(W),this.$emit("update:modelValue",W)},spliceList:function(){var L=arguments,W=function(_e){return _e.splice.apply(_e,T(L))};this.alterList(W)},updatePosition:function(L,W){var ne=function(Ee){return Ee.splice(W,0,Ee.splice(L,1)[0])};this.alterList(ne)},getRelatedContextFromMoveEvent:function(L){var W=L.to,ne=L.related,_e=this.getUnderlyingPotencialDraggableComponent(W);if(!_e)return{component:_e};var Ee=_e.realList,xe={list:Ee,component:_e};if(W!==ne&&Ee){var Fe=_e.getUnderlyingVm(ne)||{};return m(m({},Fe),xe)}return xe},getVmIndexFromDomIndex:function(L){return this.componentStructure.getVmIndexFromDomIndex(L,this.targetDomElement)},onDragStart:function(L){this.context=this.getUnderlyingVm(L.item),L.item._underlying_vm_=this.clone(this.context.element),fe=L.item},onDragAdd:function(L){var W=L.item._underlying_vm_;if(W!==void 0){I(L.item);var ne=this.getVmIndexFromDomIndex(L.newIndex);this.spliceList(ne,0,W);var _e={element:W,newIndex:ne};this.emitChanges({added:_e})}},onDragRemove:function(L){if(j(this.$el,L.item,L.oldIndex),L.pullMode==="clone"){I(L.clone);return}var W=this.context,ne=W.index,_e=W.element;this.spliceList(ne,1);var Ee={element:_e,oldIndex:ne};this.emitChanges({removed:Ee})},onDragUpdate:function(L){I(L.item),j(L.from,L.item,L.oldIndex);var W=this.context.index,ne=this.getVmIndexFromDomIndex(L.newIndex);this.updatePosition(W,ne);var _e={element:this.context.element,oldIndex:W,newIndex:ne};this.emitChanges({moved:_e})},computeFutureIndex:function(L,W){if(!L.element)return 0;var ne=T(W.to.children).filter(function(Fe){return Fe.style.display!=="none"}),_e=ne.indexOf(W.related),Ee=L.component.getVmIndexFromDomIndex(_e),xe=ne.indexOf(fe)!==-1;return xe||!W.willInsertAfter?Ee:Ee+1},onDragMove:function(L,W){var ne=this.move,_e=this.realList;if(!ne||!_e)return!0;var Ee=this.getRelatedContextFromMoveEvent(L),xe=this.computeFutureIndex(Ee,L),Fe=m(m({},this.context),{},{futureIndex:xe}),_t=m(m({},L),{},{relatedContext:Ee,draggedContext:Fe});return ne(_t,W)},onDragEnd:function(){fe=null}}}),Me=Ue;o.default=Me},fb6a:function(s,o,a){var i=a("23e7"),l=a("861d"),c=a("e8b5"),d=a("23cb"),f=a("50c4"),m=a("fc6a"),p=a("8418"),h=a("b622"),_=a("1dde"),z=a("ae40"),v=_("slice"),b=z("slice",{ACCESSORS:!0,0:0,1:2}),k=h("species"),C=[].slice,x=Math.max;i({target:"Array",proto:!0,forced:!v||!b},{slice:function(N,D){var I=m(this),j=f(I.length),K=d(N,j),J=d(D===void 0?j:D,j),U,H,he;if(c(I)&&(U=I.constructor,typeof U=="function"&&(U===Array||c(U.prototype))?U=void 0:l(U)&&(U=U[k],U===null&&(U=void 0)),U===Array||U===void 0))return C.call(I,K,J);for(H=new(U===void 0?Array:U)(x(J-K,0)),he=0;K<J;K++,he++)K in I&&p(H,he,I[K]);return H.length=he,H}})},fc6a:function(s,o,a){var i=a("44ad"),l=a("1d80");s.exports=function(c){return i(l(c))}},fdbc:function(s,o){s.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},fdbf:function(s,o,a){var i=a("4930");s.exports=i&&!Symbol.sham&&typeof Symbol.iterator=="symbol"}}).default})})(A1);var LU=A1.exports;const MU=Oa(LU),NU={name:"ListItemQueueItem",props:["item","position","current_position","show_only_next_items","edit_mode"],computed:{state(){return this.$store.state.player},is_next(){return this.current_position<0||this.position>=this.current_position}},methods:{play(){M.player_play({item_id:this.item.id})}}},VU={key:0,class:"media is-align-items-center"},BU={key:0,class:"media-left"},HU=["textContent"],jU=["textContent"],UU=["textContent"],qU={class:"media-right"};function WU(e,t,n,r,s,o){const a=S("mdicon");return o.is_next||!n.show_only_next_items?(w(),$("div",VU,[n.edit_mode?(w(),$("div",BU,[y(a,{class:"icon has-text-grey fd-is-movable handle",name:"drag-horizontal",size:"16"})])):V("",!0),u("div",{class:"media-content is-clickable is-clipped",onClick:t[0]||(t[0]=(...i)=>o.play&&o.play(...i))},[u("h1",{class:ke(["title is-6",{"has-text-primary":n.item.id===o.state.item_id,"has-text-grey-light":!o.is_next}]),textContent:g(n.item.title)},null,10,HU),u("h2",{class:ke(["subtitle is-7",{"has-text-primary":n.item.id===o.state.item_id,"has-text-grey-light":!o.is_next,"has-text-grey":o.is_next&&n.item.id!==o.state.item_id}])},[u("b",{textContent:g(n.item.artist)},null,8,jU)],2),u("h2",{class:ke(["subtitle is-7",{"has-text-primary":n.item.id===o.state.item_id,"has-text-grey-light":!o.is_next,"has-text-grey":o.is_next&&n.item.id!==o.state.item_id}]),textContent:g(n.item.album)},null,10,UU)]),u("div",qU,[st(e.$slots,"actions")])])):V("",!0)}const GU=te(NU,[["render",WU]]),KU={name:"ModalDialogAddUrlStream",props:["show"],emits:["close"],data(){return{url:"",loading:!1}},watch:{show(){this.show&&(this.loading=!1,setTimeout(()=>{this.$refs.url_field.focus()},10))}},methods:{add_stream(){this.loading=!0,M.queue_add(this.url).then(()=>{this.$emit("close"),this.url=""}).catch(()=>{this.loading=!1})},play(){this.loading=!0,M.player_play_uri(this.url,!1).then(()=>{this.$emit("close"),this.url=""}).catch(()=>{this.loading=!1})}}},ZU={key:0,class:"modal is-active"},YU={class:"modal-content fd-modal-card"},JU={class:"card"},XU={class:"card-content"},QU=["textContent"],eq={class:"field"},tq={class:"control is-expanded has-icons-left"},nq=["placeholder","disabled"],rq={key:0,class:"card-footer"},sq={class:"card-footer-item has-text-dark"},oq=["textContent"],aq={key:1,class:"card-footer is-clipped"},iq=["textContent"],lq=["textContent"],uq=["textContent"];function cq(e,t,n,r,s,o){const a=S("mdicon");return w(),$("div",null,[y(Dt,{name:"fade"},{default:E(()=>[n.show?(w(),$("div",ZU,[u("div",{class:"modal-background",onClick:t[0]||(t[0]=i=>e.$emit("close"))}),u("div",YU,[u("div",JU,[u("div",XU,[u("p",{class:"title is-4",textContent:g(e.$t("dialog.add.stream.title"))},null,8,QU),u("form",{class:"mb-5",onSubmit:t[2]||(t[2]=nt((...i)=>o.play&&o.play(...i),["prevent"]))},[u("div",eq,[u("p",tq,[bt(u("input",{ref:"url_field","onUpdate:modelValue":t[1]||(t[1]=i=>s.url=i),class:"input is-shadowless",type:"text",placeholder:e.$t("dialog.add.stream.placeholder"),disabled:s.loading},null,8,nq),[[an,s.url]]),y(a,{class:"icon is-left",name:"web",size:"16"})])])],32)]),s.loading?(w(),$("footer",rq,[u("a",sq,[y(a,{class:"icon",name:"web",size:"16"}),u("span",{class:"is-size-7",textContent:g(e.$t("dialog.add.stream.loading"))},null,8,oq)])])):(w(),$("footer",aq,[u("a",{class:"card-footer-item has-text-danger",onClick:t[3]||(t[3]=i=>e.$emit("close"))},[y(a,{class:"icon",name:"cancel",size:"16"}),u("span",{class:"is-size-7",textContent:g(e.$t("dialog.add.stream.cancel"))},null,8,iq)]),u("a",{class:"card-footer-item has-text-dark",onClick:t[4]||(t[4]=(...i)=>o.add_stream&&o.add_stream(...i))},[y(a,{class:"icon",name:"playlist-plus",size:"16"}),u("span",{class:"is-size-7",textContent:g(e.$t("dialog.add.stream.add"))},null,8,lq)]),u("a",{class:"card-footer-item has-background-info has-text-white has-text-weight-bold",onClick:t[5]||(t[5]=(...i)=>o.play&&o.play(...i))},[y(a,{class:"icon",name:"play",size:"16"}),u("span",{class:"is-size-7",textContent:g(e.$t("dialog.add.stream.play"))},null,8,uq)])]))])]),u("button",{class:"modal-close is-large","aria-label":"close",onClick:t[6]||(t[6]=i=>e.$emit("close"))})])):V("",!0)]),_:1})])}const dq=te(KU,[["render",cq]]),mq={name:"ModalDialogPlaylistSave",props:["show"],emits:["close"],data(){return{playlist_name:"",loading:!1}},watch:{show(){this.show&&(this.loading=!1,setTimeout(()=>{this.$refs.playlist_name_field.focus()},10))}},methods:{save(){this.playlist_name.length<1||(this.loading=!0,M.queue_save_playlist(this.playlist_name).then(()=>{this.$emit("close"),this.playlist_name=""}).catch(()=>{this.loading=!1}))}}},fq={key:0,class:"modal is-active"},pq={class:"modal-content fd-modal-card"},hq={class:"card"},_q={class:"card-content"},gq=["textContent"],yq={class:"field"},vq={class:"control is-expanded has-icons-left"},bq=["placeholder","disabled"],zq={key:0,class:"card-footer"},Cq={class:"card-footer-item has-text-dark"},wq=["textContent"],kq={key:1,class:"card-footer is-clipped"},xq=["textContent"],Eq=["textContent"];function Sq(e,t,n,r,s,o){const a=S("mdicon");return w(),$("div",null,[y(Dt,{name:"fade"},{default:E(()=>[n.show?(w(),$("div",fq,[u("div",{class:"modal-background",onClick:t[0]||(t[0]=i=>e.$emit("close"))}),u("div",pq,[u("div",hq,[u("div",_q,[u("p",{class:"title is-4",textContent:g(e.$t("dialog.playlist.save.title"))},null,8,gq),u("form",{class:"mb-5",onSubmit:t[2]||(t[2]=nt((...i)=>o.save&&o.save(...i),["prevent"]))},[u("div",yq,[u("p",vq,[bt(u("input",{ref:"playlist_name_field","onUpdate:modelValue":t[1]||(t[1]=i=>s.playlist_name=i),class:"input is-shadowless",type:"text",placeholder:e.$t("dialog.playlist.save.playlist-name"),disabled:s.loading},null,8,bq),[[an,s.playlist_name]]),y(a,{class:"icon is-left",name:"file-music",size:"16"})])])],32)]),s.loading?(w(),$("footer",zq,[u("a",Cq,[y(a,{class:"icon",name:"web",size:"16"}),u("span",{class:"is-size-7",textContent:g(e.$t("dialog.playlist.save.saving"))},null,8,wq)])])):(w(),$("footer",kq,[u("a",{class:"card-footer-item has-text-danger",onClick:t[3]||(t[3]=i=>e.$emit("close"))},[y(a,{class:"icon",name:"cancel",size:"16"}),u("span",{class:"is-size-7",textContent:g(e.$t("dialog.playlist.save.cancel"))},null,8,xq)]),u("a",{class:"card-footer-item has-background-info has-text-white has-text-weight-bold",onClick:t[4]||(t[4]=(...i)=>o.save&&o.save(...i))},[y(a,{class:"icon",name:"content-save",size:"16"}),u("span",{class:"is-size-7",textContent:g(e.$t("dialog.playlist.save.save"))},null,8,Eq)])]))])]),u("button",{class:"modal-close is-large","aria-label":"close",onClick:t[5]||(t[5]=i=>e.$emit("close"))})])):V("",!0)]),_:1})])}const $q=te(mq,[["render",Sq]]),Aq={name:"PageQueue",components:{ContentWithHeading:Je,ListItemQueueItem:GU,draggable:MU,ModalDialogQueueItem:$1,ModalDialogAddUrlStream:dq,ModalDialogPlaylistSave:$q},data(){return{edit_mode:!1,show_details_modal:!1,show_url_modal:!1,show_pls_save_modal:!1,selected_item:{}}},computed:{state(){return this.$store.state.player},is_queue_save_allowed(){return this.$store.state.config.allow_modifying_stored_playlists&&this.$store.state.config.default_playlist_directory},queue(){return this.$store.state.queue},queue_items:{get(){return this.$store.state.queue.items},set(e){}},current_position(){const e=this.$store.getters.now_playing;return e===void 0||e.position===void 0?-1:this.$store.getters.now_playing.position},show_only_next_items(){return this.$store.state.show_only_next_items}},methods:{queue_clear(){M.queue_clear()},update_show_next_items(e){this.$store.commit(Nh,!this.show_only_next_items)},remove(e){M.queue_remove(e.id)},move_item(e){const t=this.show_only_next_items?e.oldIndex+this.current_position:e.oldIndex,n=this.queue_items[t],r=n.position+(e.newIndex-e.oldIndex);r!==t&&M.queue_move(n.id,r)},open_dialog(e){this.selected_item=e,this.show_details_modal=!0},open_add_stream_dialog(){this.show_url_modal=!0},save_dialog(){this.queue_items.length>0&&(this.show_pls_save_modal=!0)}}},Tq={class:"fd-page"},Oq=["textContent"],Dq=["textContent"],Pq={class:"buttons is-centered"},Iq=["textContent"],Fq=["textContent"],Rq=["disabled"],Lq=["textContent"],Mq=["disabled"],Nq=["textContent"],Vq=["disabled"],Bq=["textContent"],Hq=["onClick"],jq=["onClick"];function Uq(e,t,n,r,s,o){const a=S("mdicon"),i=S("list-item-queue-item"),l=S("draggable"),c=S("modal-dialog-queue-item"),d=S("modal-dialog-add-url-stream"),f=S("modal-dialog-playlist-save"),m=S("content-with-heading");return w(),$("div",Tq,[y(m,null,{"heading-left":E(()=>[u("p",{class:"title is-4",textContent:g(e.$t("page.queue.title"))},null,8,Oq),u("p",{class:"heading",textContent:g(e.$t("page.queue.count",{count:o.queue.count}))},null,8,Dq)]),"heading-right":E(()=>[u("div",Pq,[u("button",{class:ke(["button is-small",{"is-info":o.show_only_next_items}]),onClick:t[0]||(t[0]=(...p)=>o.update_show_next_items&&o.update_show_next_items(...p))},[y(a,{class:"icon",name:"arrow-collapse-down",size:"16"}),u("span",{textContent:g(e.$t("page.queue.hide-previous"))},null,8,Iq)],2),u("button",{class:"button is-small",onClick:t[1]||(t[1]=(...p)=>o.open_add_stream_dialog&&o.open_add_stream_dialog(...p))},[y(a,{class:"icon",name:"web",size:"16"}),u("span",{textContent:g(e.$t("page.queue.add-stream"))},null,8,Fq)]),u("button",{class:ke(["button is-small",{"is-info":s.edit_mode}]),disabled:o.queue_items.length===0,onClick:t[2]||(t[2]=p=>s.edit_mode=!s.edit_mode)},[y(a,{class:"icon",name:"pencil",size:"16"}),u("span",{textContent:g(e.$t("page.queue.edit"))},null,8,Lq)],10,Rq),u("button",{class:"button is-small",disabled:o.queue_items.length===0,onClick:t[3]||(t[3]=(...p)=>o.queue_clear&&o.queue_clear(...p))},[y(a,{class:"icon",name:"delete-empty",size:"16"}),u("span",{textContent:g(e.$t("page.queue.clear"))},null,8,Nq)],8,Mq),o.is_queue_save_allowed?(w(),$("button",{key:0,class:"button is-small",disabled:o.queue_items.length===0,onClick:t[4]||(t[4]=(...p)=>o.save_dialog&&o.save_dialog(...p))},[y(a,{class:"icon",name:"content-save",size:"16"}),u("span",{textContent:g(e.$t("page.queue.save"))},null,8,Bq)],8,Vq)):V("",!0)])]),content:E(()=>[y(l,{modelValue:o.queue_items,"onUpdate:modelValue":t[5]||(t[5]=p=>o.queue_items=p),handle:".handle","item-key":"id",onEnd:o.move_item},{item:E(({element:p,index:h})=>[y(i,{item:p,position:h,current_position:o.current_position,show_only_next_items:o.show_only_next_items,edit_mode:s.edit_mode},{actions:E(()=>[s.edit_mode?V("",!0):(w(),$("a",{key:0,onClick:nt(_=>o.open_dialog(p),["prevent","stop"])},[y(a,{class:"icon has-text-dark",name:"dots-vertical",size:"16"})],8,Hq)),p.id!==o.state.item_id&&s.edit_mode?(w(),$("a",{key:1,onClick:nt(_=>o.remove(p),["prevent","stop"])},[y(a,{class:"icon has-text-grey",name:"delete",size:"18"})],8,jq)):V("",!0)]),_:2},1032,["item","position","current_position","show_only_next_items","edit_mode"])]),_:1},8,["modelValue","onEnd"]),y(c,{show:s.show_details_modal,item:s.selected_item,onClose:t[6]||(t[6]=p=>s.show_details_modal=!1)},null,8,["show","item"]),y(d,{show:s.show_url_modal,onClose:t[7]||(t[7]=p=>s.show_url_modal=!1)},null,8,["show"]),o.is_queue_save_allowed?(w(),ce(f,{key:0,show:s.show_pls_save_modal,onClose:t[8]||(t[8]=p=>s.show_pls_save_modal=!1)},null,8,["show"])):V("",!0)]),_:1})])}const qq=te(Aq,[["render",Uq]]),Wq={name:"SettingsCheckbox",props:["category_name","option_name"],data(){return{timerDelay:2e3,timerId:-1,statusUpdate:""}},computed:{option(){const e=this.$store.getters.settings_option(this.category_name,this.option_name);return e||{category:this.category_name,name:this.option_name,value:!1}},info(){return this.is_success?this.$t("setting.saved"):this.is_error?this.$t("setting.not-saved"):""},is_success(){return this.statusUpdate==="success"},is_error(){return this.statusUpdate==="error"}},methods:{update_setting(){this.timerId=-1;const e={category:this.category_name,name:this.option_name,value:this.option.value};M.settings_update(this.category_name,e).then(()=>{this.$store.commit(wl,e),this.statusUpdate="success"}).catch(()=>{this.statusUpdate="error"}).finally(()=>{this.timerId=window.setTimeout(this.clear_status,this.timerDelay)})},clear_status(){this.is_error&&(this.option.value=!this.option.value),this.statusUpdate=""}}},Gq={class:"field"},Kq=["id"],Zq=["for"],Yq=["textContent"],Jq={key:0,class:"help"};function Xq(e,t,n,r,s,o){return w(),$("div",Gq,[bt(u("input",{id:o.option.name,"onUpdate:modelValue":t[0]||(t[0]=a=>o.option.value=a),type:"checkbox",class:"switch is-rounded mr-2",onChange:t[1]||(t[1]=(...a)=>o.update_setting&&o.update_setting(...a))},null,40,Kq),[[ir,o.option.value]]),u("label",{class:"pt-0",for:o.option.name},[st(e.$slots,"label")],8,Zq),u("i",{class:ke(["is-size-7",{"has-text-info":o.is_success,"has-text-danger":o.is_error}]),textContent:g(o.info)},null,10,Yq),e.$slots.info?(w(),$("p",Jq,[st(e.$slots,"info")])):V("",!0)])}const B1=te(Wq,[["render",Xq]]),Qq={name:"SettingsIntfield",props:["category_name","option_name","placeholder","disabled"],data(){return{timerDelay:2e3,timerId:-1,statusUpdate:""}},computed:{category(){return this.$store.state.settings.categories.find(e=>e.name===this.category_name)},option(){return this.category?this.category.options.find(e=>e.name===this.option_name):{}},value(){return this.option.value},info(){return this.statusUpdate==="success"?this.$t("setting.saved"):this.statusUpdate==="error"?this.$t("setting.not-saved"):""},is_success(){return this.statusUpdate==="success"},is_error(){return this.statusUpdate==="error"}},methods:{set_update_timer(){this.timerId>0&&(window.clearTimeout(this.timerId),this.timerId=-1),this.statusUpdate="",this.$refs.setting.value!==this.value&&(this.timerId=window.setTimeout(this.update_setting,this.timerDelay))},update_setting(){this.timerId=-1;const e=this.$refs.setting.value;if(e===this.value){this.statusUpdate="";return}const t={category:this.category.name,name:this.option_name,value:parseInt(e,10)};M.settings_update(this.category.name,t).then(()=>{this.$store.commit(wl,t),this.statusUpdate="success"}).catch(()=>{this.statusUpdate="error",this.$refs.setting.value=this.value}).finally(()=>{this.timerId=window.setTimeout(this.clear_status,this.timerDelay)})},clear_status(){this.statusUpdate=""}}},eW=["disabled"],tW={class:"field"},nW={class:"label has-text-weight-normal"},rW=["textContent"],sW={class:"control"},oW=["placeholder","value"],aW={key:0,class:"help"};function iW(e,t,n,r,s,o){return w(),$("fieldset",{disabled:n.disabled},[u("div",tW,[u("label",nW,[st(e.$slots,"label"),u("i",{class:ke(["is-size-7",{"has-text-info":o.is_success,"has-text-danger":o.is_error}]),textContent:g(o.info)},null,10,rW)]),u("div",sW,[u("input",{ref:"setting",class:"column input is-one-fifth",type:"number",min:"0",placeholder:n.placeholder,value:o.value,onInput:t[0]||(t[0]=(...a)=>o.set_update_timer&&o.set_update_timer(...a))},null,40,oW)]),e.$slots.info?(w(),$("p",aW,[st(e.$slots,"info")])):V("",!0)])],8,eW)}const lW=te(Qq,[["render",iW]]),uW={name:"SettingsTextfield",props:["category_name","option_name","placeholder","disabled"],data(){return{timerDelay:2e3,timerId:-1,statusUpdate:""}},computed:{category(){return this.$store.state.settings.categories.find(e=>e.name===this.category_name)},option(){return this.category?this.category.options.find(e=>e.name===this.option_name):{}},value(){return this.option.value},info(){return this.statusUpdate==="success"?this.$t("setting.saved"):this.statusUpdate==="error"?this.$t("setting.not-saved"):""},is_success(){return this.statusUpdate==="success"},is_error(){return this.statusUpdate==="error"}},methods:{set_update_timer(){this.timerId>0&&(window.clearTimeout(this.timerId),this.timerId=-1),this.statusUpdate="",this.$refs.setting.value!==this.value&&(this.timerId=window.setTimeout(this.update_setting,this.timerDelay))},update_setting(){this.timerId=-1;const e=this.$refs.setting.value;if(e===this.value){this.statusUpdate="";return}const t={category:this.category.name,name:this.option_name,value:e};M.settings_update(this.category.name,t).then(()=>{this.$store.commit(wl,t),this.statusUpdate="success"}).catch(()=>{this.statusUpdate="error",this.$refs.setting.value=this.value}).finally(()=>{this.timerId=window.setTimeout(this.clear_status,this.timerDelay)})},clear_status(){this.statusUpdate=""}}},cW=["disabled"],dW={class:"field"},mW={class:"label has-text-weight-normal"},fW=["textContent"],pW={class:"control"},hW=["placeholder","value"],_W={key:0,class:"help"};function gW(e,t,n,r,s,o){return w(),$("fieldset",{disabled:n.disabled},[u("div",dW,[u("label",mW,[st(e.$slots,"label"),u("i",{class:ke(["is-size-7",{"has-text-info":o.is_success,"has-text-danger":o.is_error}]),textContent:g(o.info)},null,10,fW)]),u("div",pW,[u("input",{ref:"setting",class:"input",type:"text",placeholder:n.placeholder,value:o.value,onInput:t[0]||(t[0]=(...a)=>o.set_update_timer&&o.set_update_timer(...a))},null,40,hW)]),e.$slots.info?(w(),$("p",_W,[st(e.$slots,"info")])):V("",!0)])],8,cW)}const yW=te(uW,[["render",gW]]),vW={name:"TabsSettings"},bW={class:"section fd-tabs-section"},zW={class:"container"},CW={class:"columns is-centered"},wW={class:"column is-four-fifths"},kW={class:"tabs is-centered is-small"},xW=["onClick","onKeypress"],EW=["textContent"],SW=["onClick","onKeypress"],$W=["textContent"],AW=["onClick","onKeypress"],TW=["textContent"],OW=["onClick","onKeypress"],DW=["textContent"];function PW(e,t,n,r,s,o){const a=S("router-link");return w(),$("section",bW,[u("div",zW,[u("div",CW,[u("div",wW,[u("div",kW,[u("ul",null,[y(a,{to:{name:"settings-webinterface"},custom:""},{default:E(({navigate:i,isActive:l})=>[u("li",{class:ke({"is-active":l})},[u("a",{onClick:i,onKeypress:tn(i,["enter"])},[u("span",{textContent:g(e.$t("page.settings.tabs.general"))},null,8,EW)],40,xW)],2)]),_:1}),y(a,{to:{name:"settings-remotes-outputs"},custom:""},{default:E(({navigate:i,isActive:l})=>[u("li",{class:ke({"is-active":l})},[u("a",{onClick:i,onKeypress:tn(i,["enter"])},[u("span",{textContent:g(e.$t("page.settings.tabs.remotes-and-outputs"))},null,8,$W)],40,SW)],2)]),_:1}),y(a,{to:{name:"settings-artwork"},custom:""},{default:E(({navigate:i,isActive:l})=>[u("li",{class:ke({"is-active":l})},[u("a",{onClick:i,onKeypress:tn(i,["enter"])},[u("span",{textContent:g(e.$t("page.settings.tabs.artwork"))},null,8,TW)],40,AW)],2)]),_:1}),y(a,{to:{name:"settings-online-services"},custom:""},{default:E(({navigate:i,isActive:l})=>[u("li",{class:ke({"is-active":l})},[u("a",{onClick:i,onKeypress:tn(i,["enter"])},[u("span",{textContent:g(e.$t("page.settings.tabs.online-services"))},null,8,DW)],40,OW)],2)]),_:1})])])])])])])}const cu=te(vW,[["render",PW]]),IW={name:"PageSettingsWebinterface",components:{ContentWithHeading:Je,ControlDropdown:Cs,SettingsCheckbox:B1,SettingsIntfield:lW,SettingsTextfield:yW,TabsSettings:cu},computed:{locale:{get(){const e=this.$i18n.availableLocales;let t=e.find(r=>r===this.$i18n.locale);const[n]=this.$i18n.locale.split("-");return t||(t=e.find(r=>r===n)),t||(t=e.forEach(r=>r.split("-")[0]===n)),t||(t=this.$i18n.fallbackLocale),t},set(e){this.$i18n.locale=e}},locales:{get(){return this.$i18n.availableLocales.map(e=>({id:e,name:this.$t(`language.${e}`)}))}},settings_option_show_composer_now_playing(){return this.$store.getters.settings_option_show_composer_now_playing},settings_option_show_filepath_now_playing(){return this.$store.getters.settings_option_show_filepath_now_playing}}},FW={class:"fd-page-with-tabs"},RW=["textContent"],LW=["textContent"],MW=["textContent"],NW=["textContent"],VW=["textContent"],BW=["textContent"],HW=["textContent"],jW=["textContent"],UW=["textContent"],qW=["textContent"],WW=["textContent"],GW=["textContent"],KW=["textContent"],ZW=["textContent"],YW=["textContent"],JW=["textContent"],XW=["textContent"],QW=["textContent"],eG=["textContent"],tG=["textContent"],nG=["textContent"],rG=["textContent"],sG=["textContent"];function oG(e,t,n,r,s,o){const a=S("tabs-settings"),i=S("control-dropdown"),l=S("content-with-heading"),c=S("settings-checkbox"),d=S("settings-textfield"),f=S("settings-intfield");return w(),$("div",FW,[y(a),y(l,null,{"heading-left":E(()=>[u("div",{class:"title is-4",textContent:g(e.$t("page.settings.general.language"))},null,8,RW)]),content:E(()=>[y(i,{value:o.locale,"onUpdate:value":t[0]||(t[0]=m=>o.locale=m),options:o.locales},null,8,["value","options"])]),_:1}),y(l,null,{"heading-left":E(()=>[u("div",{class:"title is-4",textContent:g(e.$t("page.settings.general.navigation-items"))},null,8,LW)]),content:E(()=>[u("p",{class:"content",textContent:g(e.$t("page.settings.general.navigation-item-selection"))},null,8,MW),u("div",{class:"notification is-size-7",textContent:g(e.$t("page.settings.general.navigation-item-selection-info"))},null,8,NW),y(c,{category_name:"webinterface",option_name:"show_menu_item_playlists"},{label:E(()=>[u("span",{textContent:g(e.$t("page.settings.general.playlists"))},null,8,VW)]),_:1}),y(c,{category_name:"webinterface",option_name:"show_menu_item_music"},{label:E(()=>[u("span",{textContent:g(e.$t("page.settings.general.music"))},null,8,BW)]),_:1}),y(c,{category_name:"webinterface",option_name:"show_menu_item_podcasts"},{label:E(()=>[u("span",{textContent:g(e.$t("page.settings.general.podcasts"))},null,8,HW)]),_:1}),y(c,{category_name:"webinterface",option_name:"show_menu_item_audiobooks"},{label:E(()=>[u("span",{textContent:g(e.$t("page.settings.general.audiobooks"))},null,8,jW)]),_:1}),y(c,{category_name:"webinterface",option_name:"show_menu_item_radio"},{label:E(()=>[u("span",{textContent:g(e.$t("page.settings.general.radio"))},null,8,UW)]),_:1}),y(c,{category_name:"webinterface",option_name:"show_menu_item_files"},{label:E(()=>[u("span",{textContent:g(e.$t("page.settings.general.files"))},null,8,qW)]),_:1}),y(c,{category_name:"webinterface",option_name:"show_menu_item_search"},{label:E(()=>[u("span",{textContent:g(e.$t("page.settings.general.search"))},null,8,WW)]),_:1})]),_:1}),y(l,null,{"heading-left":E(()=>[u("div",{class:"title is-4",textContent:g(e.$t("page.settings.general.album-lists"))},null,8,GW)]),content:E(()=>[y(c,{category_name:"webinterface",option_name:"show_cover_artwork_in_album_lists"},{label:E(()=>[u("span",{textContent:g(e.$t("page.settings.general.show-coverart"))},null,8,KW)]),_:1})]),_:1}),y(l,null,{"heading-left":E(()=>[u("div",{class:"title is-4",textContent:g(e.$t("page.settings.general.now-playing-page"))},null,8,ZW)]),content:E(()=>[y(c,{category_name:"webinterface",option_name:"show_composer_now_playing"},{label:E(()=>[u("span",{textContent:g(e.$t("page.settings.general.show-composer"))},null,8,YW)]),info:E(()=>[u("span",{textContent:g(e.$t("page.settings.general.show-composer-info"))},null,8,JW)]),_:1}),y(d,{category_name:"webinterface",option_name:"show_composer_for_genre",disabled:!o.settings_option_show_composer_now_playing,placeholder:e.$t("page.settings.general.genres")},{label:E(()=>[u("span",{textContent:g(e.$t("page.settings.general.show-composer-genres"))},null,8,XW)]),info:E(()=>[u("p",{class:"help",textContent:g(e.$t("page.settings.general.show-composer-genres-info-1"))},null,8,QW),u("p",{class:"help",textContent:g(e.$t("page.settings.general.show-composer-genres-info-2"))},null,8,eG),u("p",{class:"help",textContent:g(e.$t("page.settings.general.show-composer-genres-info-3"))},null,8,tG)]),_:1},8,["disabled","placeholder"]),y(c,{category_name:"webinterface",option_name:"show_filepath_now_playing"},{label:E(()=>[u("span",{textContent:g(e.$t("page.settings.general.show-path"))},null,8,nG)]),_:1})]),_:1}),y(l,null,{"heading-left":E(()=>[u("div",{class:"title is-4",textContent:g(e.$t("page.settings.general.recently-added-page"))},null,8,rG)]),content:E(()=>[y(f,{category_name:"webinterface",option_name:"recently_added_limit"},{label:E(()=>[u("span",{textContent:g(e.$t("page.settings.general.recently-added-page-info"))},null,8,sG)]),_:1})]),_:1})])}const aG=te(IW,[["render",oG]]),iG={name:"PageSettingsArtwork",components:{ContentWithHeading:Je,SettingsCheckbox:B1,TabsSettings:cu},computed:{spotify(){return this.$store.state.spotify}}},lG={class:"fd-page-with-tabs"},uG=["textContent"],cG=["textContent"],dG=["textContent"],mG=["textContent"],fG={href:"https://www.spotify.com/",target:"_blank"},pG={class:"icon"},hG=["textContent"],_G={href:"https://www.discogs.com/",target:"_blank"},gG={class:"icon"},yG=["textContent"],vG={href:"https://coverartarchive.org/",target:"_blank"},bG={class:"icon"};function zG(e,t,n,r,s,o){const a=S("tabs-settings"),i=S("mdicon"),l=S("settings-checkbox"),c=S("content-with-heading");return w(),$("div",lG,[y(a),y(c,null,{"heading-left":E(()=>[u("div",{class:"title is-4",textContent:g(e.$t("page.settings.artwork.artwork"))},null,8,uG)]),content:E(()=>[u("div",{class:"content",textContent:g(e.$t("page.settings.artwork.explanation-1"))},null,8,cG),u("div",{class:"content",textContent:g(e.$t("page.settings.artwork.explanation-2"))},null,8,dG),o.spotify.spotify_logged_in?(w(),ce(l,{key:0,category_name:"artwork",option_name:"use_artwork_source_spotify"},{label:E(()=>[u("span",{textContent:g(e.$t("page.settings.artwork.spotify"))},null,8,mG),u("a",fG,[u("span",pG,[y(i,{name:"open-in-new",size:"16"})])])]),_:1})):V("",!0),y(l,{category_name:"artwork",option_name:"use_artwork_source_discogs"},{label:E(()=>[u("span",{textContent:g(e.$t("page.settings.artwork.discogs"))},null,8,hG),u("a",_G,[u("span",gG,[y(i,{name:"open-in-new",size:"16"})])])]),_:1}),y(l,{category_name:"artwork",option_name:"use_artwork_source_coverartarchive"},{label:E(()=>[u("span",{textContent:g(e.$t("page.settings.artwork.coverartarchive"))},null,8,yG),u("a",vG,[u("span",bG,[y(i,{name:"open-in-new",size:"16"})])])]),_:1})]),_:1})])}const CG=te(iG,[["render",zG]]),wG={name:"PageSettingsOnlineServices",components:{ContentWithHeading:Je,TabsSettings:cu},data(){return{lastfm_login:{user:"",password:"",errors:{user:"",password:"",error:""}}}},computed:{lastfm(){return this.$store.state.lastfm},spotify(){return this.$store.state.spotify},spotify_missing_scope(){return this.spotify.webapi_token_valid&&this.spotify.webapi_granted_scope&&this.spotify.webapi_required_scope?this.spotify.webapi_required_scope.split(" ").filter(e=>this.spotify.webapi_granted_scope.indexOf(e)<0):[]},spotify_required_scope(){return this.spotify.webapi_required_scope?this.spotify.webapi_required_scope.split(" "):[]}},methods:{logout_spotify(){M.spotify_logout()},login_lastfm(){M.lastfm_login(this.lastfm_login).then(e=>{this.lastfm_login.user="",this.lastfm_login.password="",this.lastfm_login.errors.user="",this.lastfm_login.errors.password="",this.lastfm_login.errors.error="",e.data.success||(this.lastfm_login.errors.user=e.data.errors.user,this.lastfm_login.errors.password=e.data.errors.password,this.lastfm_login.errors.error=e.data.errors.error)})},logoutLastfm(){M.lastfm_logout()}}},kG={class:"fd-page-with-tabs"},xG=["textContent"],EG={key:0,class:"notification is-size-7"},SG=["textContent"],$G={key:1},AG={class:"notification is-size-7"},TG=["textContent"],OG={class:"mt-5"},DG=["textContent"],PG={key:0},IG=["textContent"],FG=["textContent"],RG={key:1,class:"help is-danger"},LG=["textContent"],MG=["textContent"],NG={class:"field mt-5"},VG={class:"control"},BG=["href","textContent"],HG={class:"help"},jG=["textContent"],UG=["textContent"],qG={key:2,class:"field mt-5"},WG={class:"control"},GG=["textContent"],KG=["textContent"],ZG={key:0,class:"notification is-size-7"},YG=["textContent"],JG={key:1},XG=["textContent"],QG={key:0},eK=["textContent"],tK={key:1},nK={class:"field is-grouped"},rK={class:"control is-expanded"},sK=["placeholder"],oK=["textContent"],aK={class:"control is-expanded"},iK=["placeholder"],lK=["textContent"],uK={class:"control"},cK=["textContent"],dK=["textContent"],mK=["textContent"];function fK(e,t,n,r,s,o){const a=S("tabs-settings"),i=S("content-with-heading");return w(),$("div",kG,[y(a),y(i,null,{"heading-left":E(()=>[u("div",{class:"title is-4",textContent:g(e.$t("page.settings.services.spotify.title"))},null,8,xG)]),content:E(()=>[o.spotify.spotify_installed?V("",!0):(w(),$("div",EG,[u("p",{textContent:g(e.$t("page.settings.services.spotify.no-support"))},null,8,SG)])),o.spotify.spotify_installed?(w(),$("div",$G,[u("div",AG,[u("span",{textContent:g(e.$t("page.settings.services.spotify.requirements"))},null,8,TG)]),u("div",OG,[u("p",{class:"content",textContent:g(e.$t("page.settings.services.spotify.grant-access"))},null,8,DG),o.spotify.webapi_token_valid?(w(),$("p",PG,[u("span",{textContent:g(e.$t("page.settings.services.spotify.user"))},null,8,IG),u("code",{textContent:g(o.spotify.webapi_user)},null,8,FG)])):V("",!0),o.spotify_missing_scope.length>0?(w(),$("p",RG,[u("span",{textContent:g(e.$t("page.settings.services.spotify.reauthorize"))},null,8,LG),u("code",{textContent:g(o.spotify_missing_scope.join())},null,8,MG)])):V("",!0),u("div",NG,[u("div",VG,[u("a",{class:ke(["button",{"is-info":!o.spotify.webapi_token_valid||o.spotify_missing_scope.length>0}]),href:o.spotify.oauth_uri,textContent:g(e.$t("page.settings.services.spotify.authorize"))},null,10,BG)])]),u("p",HG,[u("span",{textContent:g(e.$t("page.settings.services.spotify.scopes"))},null,8,jG),u("code",{textContent:g(o.spotify_required_scope.join(", "))},null,8,UG)]),o.spotify.webapi_token_valid?(w(),$("div",qG,[u("div",WG,[u("a",{class:"button is-danger",onClick:t[0]||(t[0]=(...l)=>o.logout_spotify&&o.logout_spotify(...l)),textContent:g(e.$t("page.settings.services.logout"))},null,8,GG)])])):V("",!0)])])):V("",!0)]),_:1}),y(i,null,{"heading-left":E(()=>[u("div",{class:"title is-4",textContent:g(e.$t("page.settings.services.lastfm.title"))},null,8,KG)]),content:E(()=>[o.lastfm.enabled?V("",!0):(w(),$("div",ZG,[u("p",{textContent:g(e.$t("page.settings.services.lastfm.no-support"))},null,8,YG)])),o.lastfm.enabled?(w(),$("div",JG,[u("p",{class:"content",textContent:g(e.$t("page.settings.services.lastfm.grant-access"))},null,8,XG),o.lastfm.scrobbling_enabled?(w(),$("div",QG,[u("a",{class:"button",onClick:t[1]||(t[1]=(...l)=>o.logoutLastfm&&o.logoutLastfm(...l)),textContent:g(e.$t("page.settings.services.lastfm.stop-scrobbling"))},null,8,eK)])):V("",!0),o.lastfm.scrobbling_enabled?V("",!0):(w(),$("div",tK,[u("form",{onSubmit:t[4]||(t[4]=nt((...l)=>o.login_lastfm&&o.login_lastfm(...l),["prevent"]))},[u("div",nK,[u("div",rK,[bt(u("input",{"onUpdate:modelValue":t[2]||(t[2]=l=>s.lastfm_login.user=l),class:"input",type:"text",placeholder:e.$t("page.settings.services.username")},null,8,sK),[[an,s.lastfm_login.user]]),u("p",{class:"help is-danger",textContent:g(s.lastfm_login.errors.user)},null,8,oK)]),u("div",aK,[bt(u("input",{"onUpdate:modelValue":t[3]||(t[3]=l=>s.lastfm_login.password=l),class:"input",type:"password",placeholder:e.$t("page.settings.services.password")},null,8,iK),[[an,s.lastfm_login.password]]),u("p",{class:"help is-danger",textContent:g(s.lastfm_login.errors.password)},null,8,lK)]),u("div",uK,[u("button",{class:"button is-info",type:"submit",textContent:g(e.$t("page.settings.services.login"))},null,8,cK)])]),u("p",{class:"help is-danger",textContent:g(s.lastfm_login.errors.error)},null,8,dK),u("p",{class:"help",textContent:g(e.$t("page.settings.services.lastfm.info"))},null,8,mK)],32)]))])):V("",!0)]),_:1})])}const pK=te(wG,[["render",fK]]),hK={name:"PageSettingsRemotesOutputs",components:{ContentWithHeading:Je,TabsSettings:cu},data(){return{pairing_req:{pin:""},verification_req:{pin:""}}},computed:{outputs(){return this.$store.state.outputs},pairing(){return this.$store.state.pairing}},methods:{kickoff_pairing(){M.pairing_kickoff(this.pairing_req)},kickoff_verification(e){M.output_update(e,this.verification_req)},output_toggle(e){M.output_toggle(e)}}},_K={class:"fd-page-with-tabs"},gK=["textContent"],yK={key:0,class:"notification"},vK={class:"label has-text-weight-normal"},bK=["textContent"],zK=["textContent"],CK={class:"field is-grouped"},wK={class:"control"},kK=["placeholder"],xK={class:"control"},EK=["textContent"],SK={key:1,class:"content"},$K=["textContent"],AK=["textContent"],TK=["textContent"],OK={class:"field"},DK={class:"control"},PK=["id","onUpdate:modelValue","onChange"],IK=["for","textContent"],FK=["onSubmit"],RK={class:"field is-grouped"},LK={class:"control"},MK=["placeholder"],NK={class:"control"},VK=["textContent"];function BK(e,t,n,r,s,o){const a=S("tabs-settings"),i=S("content-with-heading");return w(),$("div",_K,[y(a),y(i,null,{"heading-left":E(()=>[u("div",{class:"title is-4",textContent:g(e.$t("page.settings.devices.pairing"))},null,8,gK)]),content:E(()=>[o.pairing.active?(w(),$("div",yK,[u("form",{onSubmit:t[1]||(t[1]=nt((...l)=>o.kickoff_pairing&&o.kickoff_pairing(...l),["prevent"]))},[u("label",vK,[u("span",{textContent:g(e.$t("page.settings.devices.pairing-request"))},null,8,bK),u("b",{textContent:g(o.pairing.remote)},null,8,zK)]),u("div",CK,[u("div",wK,[bt(u("input",{"onUpdate:modelValue":t[0]||(t[0]=l=>s.pairing_req.pin=l),class:"input",type:"text",placeholder:e.$t("page.settings.devices.pairing-code")},null,8,kK),[[an,s.pairing_req.pin]])]),u("div",xK,[u("button",{class:"button is-info",type:"submit",textContent:g(e.$t("page.settings.devices.send"))},null,8,EK)])])],32)])):V("",!0),o.pairing.active?V("",!0):(w(),$("div",SK,[u("p",{textContent:g(e.$t("page.settings.devices.no-active-pairing"))},null,8,$K)]))]),_:1}),y(i,null,{"heading-left":E(()=>[u("div",{class:"title is-4",textContent:g(e.$t("page.settings.devices.speaker-pairing"))},null,8,AK)]),content:E(()=>[u("p",{class:"content",textContent:g(e.$t("page.settings.devices.speaker-pairing-info"))},null,8,TK),(w(!0),$(Ce,null,at(o.outputs,l=>(w(),$("div",{key:l.id},[u("div",OK,[u("div",DK,[bt(u("input",{id:l.id,"onUpdate:modelValue":c=>l.selected=c,type:"checkbox",class:"switch is-rounded mr-2",onChange:c=>o.output_toggle(l.id)},null,40,PK),[[ir,l.selected]]),u("label",{for:l.id,class:"checkbox",textContent:g(l.name)},null,8,IK)])]),l.needs_auth_key?(w(),$("form",{key:0,class:"mb-5",onSubmit:nt(c=>o.kickoff_verification(l.id),["prevent"])},[u("div",RK,[u("div",LK,[bt(u("input",{"onUpdate:modelValue":t[2]||(t[2]=c=>s.verification_req.pin=c),class:"input",type:"text",placeholder:e.$t("page.settings.devices.verification-code")},null,8,MK),[[an,s.verification_req.pin]])]),u("div",NK,[u("button",{class:"button is-info",type:"submit",textContent:g(e.$t("page.settings.devices.verify"))},null,8,VK)])])],40,FK)):V("",!0)]))),128))]),_:1})])}const HK=te(hK,[["render",BK]]),Bi={load(e){return M.library_radio_streams()},set(e,t){e.tracks=new pe(t.data.tracks)}},jK={name:"PageRadioStreams",components:{ContentWithHeading:Je,ListTracks:bn},beforeRouteEnter(e,t,n){Bi.load(e).then(r=>{n(s=>Bi.set(s,r))})},beforeRouteUpdate(e,t,n){const r=this;Bi.load(e).then(s=>{Bi.set(r,s),n()})},data(){return{tracks:new pe}}},UK={class:"fd-page"},qK=["textContent"],WK=["textContent"];function GK(e,t,n,r,s,o){const a=S("list-tracks"),i=S("content-with-heading");return w(),$("div",UK,[y(i,null,{"heading-left":E(()=>[u("p",{class:"title is-4",textContent:g(e.$t("page.radio.title"))},null,8,qK),u("p",{class:"heading has-text-centered-mobile",textContent:g(e.$t("page.radio.count",{count:s.tracks.total}))},null,8,WK)]),content:E(()=>[y(a,{tracks:s.tracks},null,8,["tracks"])]),_:1})])}const KK=te(jK,[["render",GK]]),ZK={name:"ContentText"},YK={class:"section py-3"},JK={class:"container"},XK={class:"columns is-centered"},QK={class:"column is-four-fifths"};function eZ(e,t,n,r,s,o){return w(),$("section",YK,[u("div",JK,[u("div",XK,[u("div",QK,[st(e.$slots,"content")])])])])}const H1=te(ZK,[["render",eZ]]),tZ={name:"TabsSearch",props:["query"],computed:{spotify_enabled(){return this.$store.state.spotify.webapi_token_valid},route_query(){return this.query?{type:"track,artist,album,playlist,audiobook,podcast",query:this.query,limit:3,offset:0}:null}},methods:{search_library(){this.$store.commit(Qu,"library"),this.$router.push({name:"search-library",query:this.route_query})},search_spotify(){this.$store.commit(Qu,"spotify"),this.$router.push({name:"search-spotify",query:this.route_query})}}},nZ={key:0,class:"section"},rZ={class:"container"},sZ={class:"columns is-centered"},oZ={class:"column is-four-fifths"},aZ={class:"tabs is-centered is-small is-toggle is-toggle-rounded"},iZ=["textContent"],lZ=["textContent"];function uZ(e,t,n,r,s,o){const a=S("mdicon");return o.spotify_enabled?(w(),$("section",nZ,[u("div",rZ,[u("div",sZ,[u("div",oZ,[u("div",aZ,[u("ul",null,[u("li",{class:ke({"is-active":e.$store.state.search_source==="library"})},[u("a",{onClick:t[0]||(t[0]=(...i)=>o.search_library&&o.search_library(...i))},[y(a,{class:"icon is-small",name:"bookshelf",size:"16"}),u("span",{textContent:g(e.$t("page.search.tabs.library"))},null,8,iZ)])],2),u("li",{class:ke({"is-active":e.$store.state.search_source==="spotify"})},[u("a",{onClick:t[1]||(t[1]=(...i)=>o.search_spotify&&o.search_spotify(...i))},[y(a,{class:"icon is-small",name:"spotify",size:"16"}),u("span",{textContent:g(e.$t("page.search.tabs.spotify"))},null,8,lZ)])],2)])])])])])])):V("",!0)}const j1=te(tZ,[["render",uZ]]),cZ={name:"PageSearchLibrary",components:{ContentText:H1,ContentWithHeading:Je,ListAlbums:dr,ListArtists:ym,ListComposers:x1,ListPlaylists:Cm,ListTracks:bn,TabsSearch:j1},data(){return{search_query:"",tracks:new pe,artists:new pe,albums:new pe,composers:new pe,playlists:new pe,audiobooks:new pe,podcasts:new pe}},computed:{recent_searches(){return this.$store.state.recent_searches},show_tracks(){return this.$route.query.type&&this.$route.query.type.includes("track")},show_all_tracks_button(){return this.tracks.total>this.tracks.items.length},show_artists(){return this.$route.query.type&&this.$route.query.type.includes("artist")},show_all_artists_button(){return this.artists.total>this.artists.items.length},show_albums(){return this.$route.query.type&&this.$route.query.type.includes("album")},show_all_albums_button(){return this.albums.total>this.albums.items.length},show_composers(){return this.$route.query.type&&this.$route.query.type.includes("composer")},show_all_composers_button(){return this.composers.total>this.composers.items.length},show_playlists(){return this.$route.query.type&&this.$route.query.type.includes("playlist")},show_all_playlists_button(){return this.playlists.total>this.playlists.items.length},show_audiobooks(){return this.$route.query.type&&this.$route.query.type.includes("audiobook")},show_all_audiobooks_button(){return this.audiobooks.total>this.audiobooks.items.length},show_podcasts(){return this.$route.query.type&&this.$route.query.type.includes("podcast")},show_all_podcasts_button(){return this.podcasts.total>this.podcasts.items.length}},watch:{$route(e,t){this.search(e)}},mounted(){this.search(this.$route)},methods:{search(e){if(!e.query.query||e.query.query===""){this.search_query="",this.$refs.search_field.focus();return}this.search_query=e.query.query,this.searchMusic(e.query),this.searchAudiobooks(e.query),this.searchPodcasts(e.query),this.$store.commit(sd,e.query.query)},searchMusic(e){if(e.type.indexOf("track")<0&&e.type.indexOf("artist")<0&&e.type.indexOf("album")<0&&e.type.indexOf("playlist")<0)return;const t={type:e.type,media_kind:"music"};e.query.startsWith("query:")?t.expression=e.query.replace(/^query:/,"").trim():t.query=e.query,e.limit&&(t.limit=e.limit,t.offset=e.offset),M.search(t).then(({data:n})=>{this.tracks=new pe(n.tracks),this.artists=new pe(n.artists),this.albums=new pe(n.albums),this.composers=new pe(n.composers),this.playlists=new pe(n.playlists)})},searchAudiobooks(e){if(e.type.indexOf("audiobook")<0)return;const t={type:"album",media_kind:"audiobook"};e.query.startsWith("query:")?t.expression=e.query.replace(/^query:/,"").trim():t.expression='((album includes "'+e.query+'" or artist includes "'+e.query+'") and media_kind is audiobook)',e.limit&&(t.limit=e.limit,t.offset=e.offset),M.search(t).then(({data:n})=>{this.audiobooks=new pe(n.albums)})},searchPodcasts(e){if(e.type.indexOf("podcast")<0)return;const t={type:"album",media_kind:"podcast"};e.query.startsWith("query:")?t.expression=e.query.replace(/^query:/,"").trim():t.expression='((album includes "'+e.query+'" or artist includes "'+e.query+'") and media_kind is podcast)',e.limit&&(t.limit=e.limit,t.offset=e.offset),M.search(t).then(({data:n})=>{this.podcasts=new pe(n.albums)})},new_search(){this.search_query&&(this.$router.push({name:"search-library",query:{type:"track,artist,album,playlist,audiobook,podcast,composer",query:this.search_query,limit:3,offset:0}}),this.$refs.search_field.blur())},open_search_tracks(){this.$router.push({name:"search-library",query:{type:"track",query:this.$route.query.query}})},open_search_artists(){this.$router.push({name:"search-library",query:{type:"artist",query:this.$route.query.query}})},open_search_albums(){this.$router.push({name:"search-library",query:{type:"album",query:this.$route.query.query}})},open_search_composers(){this.$router.push({name:"search-library",query:{type:"tracks",query:this.$route.query.query}})},open_search_playlists(){this.$router.push({name:"search-library",query:{type:"playlist",query:this.$route.query.query}})},open_search_audiobooks(){this.$router.push({name:"search-library",query:{type:"audiobook",query:this.$route.query.query}})},open_search_podcasts(){this.$router.push({name:"search-library",query:{type:"podcast",query:this.$route.query.query}})},open_composer(e){this.$router.push({name:"music-composer-albums",params:{name:e.name}})},open_playlist(e){this.$router.push({name:"playlist",params:{id:e.id}})},open_recent_search(e){this.search_query=e,this.new_search()},open_track_dialog(e){this.selected_track=e,this.show_track_details_modal=!0},open_album_dialog(e){this.selected_album=e,this.show_album_details_modal=!0},open_artist_dialog(e){this.selected_artist=e,this.show_artist_details_modal=!0},open_composer_dialog(e){this.selected_composer=e,this.show_composer_details_modal=!0},open_playlist_dialog(e){this.selected_playlist=e,this.show_playlist_details_modal=!0}}},dZ={class:"fd-page"},mZ={class:"section pb-0"},fZ={class:"container"},pZ={class:"columns is-centered"},hZ={class:"column is-four-fifths"},_Z={class:"field"},gZ={class:"control is-expanded has-icons-left"},yZ=["placeholder"],vZ=u("code",null,"query:",-1),bZ=["textContent"],zZ={class:"tags mt-4"},CZ=["onClick","textContent"],wZ=["textContent"],kZ={key:0,class:"level"},xZ={class:"level-item"},EZ=["textContent"],SZ=["textContent"],$Z=["textContent"],AZ={key:0,class:"level"},TZ={class:"level-item"},OZ=["textContent"],DZ=["textContent"],PZ=["textContent"],IZ={key:0,class:"level"},FZ={class:"level-item"},RZ=["textContent"],LZ=["textContent"],MZ=["textContent"],NZ={key:0,class:"level"},VZ={class:"level-item"},BZ=["textContent"],HZ=["textContent"],jZ=["textContent"],UZ={key:0,class:"level"},qZ={class:"level-item"},WZ=["textContent"],GZ=["textContent"],KZ=["textContent"],ZZ={key:0,class:"level"},YZ={class:"level-item"},JZ=["textContent"],XZ=["textContent"],QZ=["textContent"],eY={key:0,class:"level"},tY={class:"level-item"},nY=["textContent"],rY=["textContent"];function sY(e,t,n,r,s,o){const a=S("mdicon"),i=S("i18n-t"),l=S("tabs-search"),c=S("list-tracks"),d=S("content-with-heading"),f=S("content-text"),m=S("list-artists"),p=S("list-albums"),h=S("list-composers"),_=S("list-playlists");return w(),$("div",dZ,[u("section",mZ,[u("div",fZ,[u("div",pZ,[u("div",hZ,[u("form",{onSubmit:t[1]||(t[1]=nt((...z)=>o.new_search&&o.new_search(...z),["prevent"]))},[u("div",_Z,[u("p",gZ,[bt(u("input",{ref:"search_field","onUpdate:modelValue":t[0]||(t[0]=z=>s.search_query=z),class:"input is-rounded is-shadowless",type:"text",placeholder:e.$t("page.search.placeholder"),autocomplete:"off"},null,8,yZ),[[an,s.search_query]]),y(a,{class:"icon is-left",name:"magnify",size:"16"})]),y(i,{tag:"p",class:"help has-text-centered",keypath:"page.search.help",scope:"global"},{query:E(()=>[vZ]),help:E(()=>[u("a",{href:"https://owntone.github.io/owntone-server/smart-playlists/",target:"_blank",textContent:g(e.$t("page.search.expression"))},null,8,bZ)]),_:1})])],32),u("div",zZ,[(w(!0),$(Ce,null,at(o.recent_searches,z=>(w(),$("a",{key:z,class:"tag",onClick:v=>o.open_recent_search(z),textContent:g(z)},null,8,CZ))),128))])])])])]),y(l,{query:s.search_query},null,8,["query"]),o.show_tracks&&s.tracks.total?(w(),ce(d,{key:0,class:"pt-0"},{"heading-left":E(()=>[u("p",{class:"title is-4",textContent:g(e.$t("page.search.tracks"))},null,8,wZ)]),content:E(()=>[y(c,{tracks:s.tracks},null,8,["tracks"])]),footer:E(()=>[o.show_all_tracks_button?(w(),$("nav",kZ,[u("p",xZ,[u("a",{class:"button is-light is-small is-rounded",onClick:t[2]||(t[2]=(...z)=>o.open_search_tracks&&o.open_search_tracks(...z)),textContent:g(e.$t("page.search.show-tracks",s.tracks.total,{count:e.$filters.number(s.tracks.total)}))},null,8,EZ)])])):V("",!0)]),_:1})):V("",!0),o.show_tracks&&!s.tracks.total?(w(),ce(f,{key:1,class:"pt-0"},{content:E(()=>[u("p",null,[u("i",{textContent:g(e.$t("page.search.no-tracks"))},null,8,SZ)])]),_:1})):V("",!0),o.show_artists&&s.artists.total?(w(),ce(d,{key:2},{"heading-left":E(()=>[u("p",{class:"title is-4",textContent:g(e.$t("page.search.artists"))},null,8,$Z)]),content:E(()=>[y(m,{artists:s.artists,hide_group_title:!0},null,8,["artists"])]),footer:E(()=>[o.show_all_artists_button?(w(),$("nav",AZ,[u("p",TZ,[u("a",{class:"button is-light is-small is-rounded",onClick:t[3]||(t[3]=(...z)=>o.open_search_artists&&o.open_search_artists(...z)),textContent:g(e.$t("page.search.show-artists",s.artists.total,{count:e.$filters.number(s.artists.total)}))},null,8,OZ)])])):V("",!0)]),_:1})):V("",!0),o.show_artists&&!s.artists.total?(w(),ce(f,{key:3},{content:E(()=>[u("p",null,[u("i",{textContent:g(e.$t("page.search.no-artists"))},null,8,DZ)])]),_:1})):V("",!0),o.show_albums&&s.albums.total?(w(),ce(d,{key:4},{"heading-left":E(()=>[u("p",{class:"title is-4",textContent:g(e.$t("page.search.albums"))},null,8,PZ)]),content:E(()=>[y(p,{albums:s.albums,hide_group_title:!0},null,8,["albums"])]),footer:E(()=>[o.show_all_albums_button?(w(),$("nav",IZ,[u("p",FZ,[u("a",{class:"button is-light is-small is-rounded",onClick:t[4]||(t[4]=(...z)=>o.open_search_albums&&o.open_search_albums(...z)),textContent:g(e.$t("page.search.show-albums",s.albums.total,{count:e.$filters.number(s.albums.total)}))},null,8,RZ)])])):V("",!0)]),_:1})):V("",!0),o.show_albums&&!s.albums.total?(w(),ce(f,{key:5},{content:E(()=>[u("p",null,[u("i",{textContent:g(e.$t("page.search.no-albums"))},null,8,LZ)])]),_:1})):V("",!0),o.show_composers&&s.composers.total?(w(),ce(d,{key:6},{"heading-left":E(()=>[u("p",{class:"title is-4",textContent:g(e.$t("page.search.composers"))},null,8,MZ)]),content:E(()=>[y(h,{composers:s.composers},null,8,["composers"])]),footer:E(()=>[o.show_all_composers_button?(w(),$("nav",NZ,[u("p",VZ,[u("a",{class:"button is-light is-small is-rounded",onClick:t[5]||(t[5]=(...z)=>o.open_search_composers&&o.open_search_composers(...z)),textContent:g(e.$t("page.search.show-composers",s.composers.total,{count:e.$filters.number(s.composers.total)}))},null,8,BZ)])])):V("",!0)]),_:1})):V("",!0),o.show_composers&&!s.composers.total?(w(),ce(f,{key:7},{content:E(()=>[u("p",null,[u("i",{textContent:g(e.$t("page.search.no-composers"))},null,8,HZ)])]),_:1})):V("",!0),o.show_playlists&&s.playlists.total?(w(),ce(d,{key:8},{"heading-left":E(()=>[u("p",{class:"title is-4",textContent:g(e.$t("page.search.playlists"))},null,8,jZ)]),content:E(()=>[y(_,{playlists:s.playlists},null,8,["playlists"])]),footer:E(()=>[o.show_all_playlists_button?(w(),$("nav",UZ,[u("p",qZ,[u("a",{class:"button is-light is-small is-rounded",onClick:t[6]||(t[6]=(...z)=>o.open_search_playlists&&o.open_search_playlists(...z)),textContent:g(e.$t("page.search.show-playlists",s.playlists.total,{count:e.$filters.number(s.playlists.total)}))},null,8,WZ)])])):V("",!0)]),_:1})):V("",!0),o.show_playlists&&!s.playlists.total?(w(),ce(f,{key:9},{content:E(()=>[u("p",null,[u("i",{textContent:g(e.$t("page.search.no-playlists"))},null,8,GZ)])]),_:1})):V("",!0),o.show_podcasts&&s.podcasts.total?(w(),ce(d,{key:10},{"heading-left":E(()=>[u("p",{class:"title is-4",textContent:g(e.$t("page.search.podcasts"))},null,8,KZ)]),content:E(()=>[y(p,{albums:s.podcasts},null,8,["albums"])]),footer:E(()=>[o.show_all_podcasts_button?(w(),$("nav",ZZ,[u("p",YZ,[u("a",{class:"button is-light is-small is-rounded",onClick:t[7]||(t[7]=(...z)=>o.open_search_podcasts&&o.open_search_podcasts(...z)),textContent:g(e.$t("page.search.show-podcasts",s.podcasts.total,{count:e.$filters.number(s.podcasts.total)}))},null,8,JZ)])])):V("",!0)]),_:1})):V("",!0),o.show_podcasts&&!s.podcasts.total?(w(),ce(f,{key:11},{content:E(()=>[u("p",null,[u("i",{textContent:g(e.$t("page.search.no-podcasts"))},null,8,XZ)])]),_:1})):V("",!0),o.show_audiobooks&&s.audiobooks.total?(w(),ce(d,{key:12},{"heading-left":E(()=>[u("p",{class:"title is-4",textContent:g(e.$t("page.search.audiobooks"))},null,8,QZ)]),content:E(()=>[y(p,{albums:s.audiobooks},null,8,["albums"])]),footer:E(()=>[o.show_all_audiobooks_button?(w(),$("nav",eY,[u("p",tY,[u("a",{class:"button is-light is-small is-rounded",onClick:t[8]||(t[8]=(...z)=>o.open_search_audiobooks&&o.open_search_audiobooks(...z)),textContent:g(e.$t("page.search.show-audiobooks",s.audiobooks.total,{count:e.$filters.number(s.audiobooks.total)}))},null,8,nY)])])):V("",!0)]),_:1})):V("",!0),o.show_audiobooks&&!s.audiobooks.total?(w(),ce(f,{key:13},{content:E(()=>[u("p",null,[u("i",{textContent:g(e.$t("page.search.no-audiobooks"))},null,8,rY)])]),_:1})):V("",!0)])}const oY=te(cZ,[["render",sY]]),aY={name:"ListItemArtistSpotify",props:["artist"],methods:{open_artist(){this.$router.push({name:"music-spotify-artist",params:{id:this.artist.id}})}}},iY={class:"media is-align-items-center"},lY=["textContent"],uY={class:"media-right"};function cY(e,t,n,r,s,o){return w(),$("div",iY,[u("div",{class:"media-content is-clickable is-clipped",onClick:t[0]||(t[0]=(...a)=>o.open_artist&&o.open_artist(...a))},[u("h1",{class:"title is-6",textContent:g(n.artist.name)},null,8,lY)]),u("div",uY,[st(e.$slots,"actions")])])}const dY=te(aY,[["render",cY]]),Ao=50,mY={name:"PageSearchSpotify",components:{ContentText:H1,ContentWithHeading:Je,CoverArtwork:On,ListItemAlbumSpotify:iu,ListItemArtistSpotify:dY,ListItemPlaylistSpotify:wm,ListItemTrackSpotify:hm,ModalDialogAlbumSpotify:Ra,ModalDialogArtistSpotify:w1,ModalDialogPlaylistSpotify:lu,ModalDialogTrackSpotify:_m,TabsSearch:j1,VueEternalLoading:gm},data(){return{search_query:"",tracks:{items:[],total:0},artists:{items:[],total:0},albums:{items:[],total:0},playlists:{items:[],total:0},query:{},search_param:{},show_track_details_modal:!1,selected_track:{},show_album_details_modal:!1,selected_album:{},show_artist_details_modal:!1,selected_artist:{},show_playlist_details_modal:!1,selected_playlist:{},validSearchTypes:["track","artist","album","playlist"]}},computed:{recent_searches(){return this.$store.state.recent_searches.filter(e=>!e.startsWith("query:"))},show_tracks(){return this.$route.query.type&&this.$route.query.type.includes("track")},show_all_tracks_button(){return this.tracks.total>this.tracks.items.length},show_artists(){return this.$route.query.type&&this.$route.query.type.includes("artist")},show_all_artists_button(){return this.artists.total>this.artists.items.length},show_albums(){return this.$route.query.type&&this.$route.query.type.includes("album")},show_all_albums_button(){return this.albums.total>this.albums.items.length},show_playlists(){return this.$route.query.type&&this.$route.query.type.includes("playlist")},show_all_playlists_button(){return this.playlists.total>this.playlists.items.length},is_visible_artwork(){return this.$store.getters.settings_option("webinterface","show_cover_artwork_in_album_lists").value}},watch:{$route(e,t){this.query=e.query,this.search()}},mounted(){this.query=this.$route.query,this.search()},methods:{reset(){this.tracks={items:[],total:0},this.artists={items:[],total:0},this.albums={items:[],total:0},this.playlists={items:[],total:0}},search(){if(this.reset(),!this.query.query||this.query.query===""||this.query.query.startsWith("query:")){this.search_query="",this.$refs.search_field.focus();return}this.search_query=this.query.query,this.search_param.limit=this.query.limit?this.query.limit:Ao,this.search_param.offset=this.query.offset?this.query.offset:0,this.$store.commit(sd,this.query.query),this.search_all()},spotify_search(){return M.spotify().then(({data:e})=>{this.search_param.market=e.webapi_country;const t=new Gn;t.setAccessToken(e.webapi_token);const n=this.query.type.split(",").filter(r=>this.validSearchTypes.includes(r));return t.search(this.query.query,n,this.search_param)})},search_all(){this.spotify_search().then(e=>{this.tracks=e.tracks?e.tracks:{items:[],total:0},this.artists=e.artists?e.artists:{items:[],total:0},this.albums=e.albums?e.albums:{items:[],total:0},this.playlists=e.playlists?e.playlists:{items:[],total:0}})},search_tracks_next({loaded:e}){this.spotify_search().then(t=>{this.tracks.items=this.tracks.items.concat(t.tracks.items),this.tracks.total=t.tracks.total,this.search_param.offset+=t.tracks.limit,e(t.tracks.items.length,Ao)})},search_artists_next({loaded:e}){this.spotify_search().then(t=>{this.artists.items=this.artists.items.concat(t.artists.items),this.artists.total=t.artists.total,this.search_param.offset+=t.artists.limit,e(t.artists.items.length,Ao)})},search_albums_next({loaded:e}){this.spotify_search().then(t=>{this.albums.items=this.albums.items.concat(t.albums.items),this.albums.total=t.albums.total,this.search_param.offset+=t.albums.limit,e(t.albums.items.length,Ao)})},search_playlists_next({loaded:e}){this.spotify_search().then(t=>{this.playlists.items=this.playlists.items.concat(t.playlists.items),this.playlists.total=t.playlists.total,this.search_param.offset+=t.playlists.limit,e(t.playlists.items.length,Ao)})},new_search(){this.search_query&&(this.$router.push({name:"search-spotify",query:{type:"track,artist,album,playlist,audiobook,podcast",query:this.search_query,limit:3,offset:0}}),this.$refs.search_field.blur())},open_search_tracks(){this.$router.push({name:"search-spotify",query:{type:"track",query:this.$route.query.query}})},open_search_artists(){this.$router.push({name:"search-spotify",query:{type:"artist",query:this.$route.query.query}})},open_search_albums(){this.$router.push({name:"search-spotify",query:{type:"album",query:this.$route.query.query}})},open_search_playlists(){this.$router.push({name:"search-spotify",query:{type:"playlist",query:this.$route.query.query}})},open_recent_search(e){this.search_query=e,this.new_search()},open_track_dialog(e){this.selected_track=e,this.show_track_details_modal=!0},open_album_dialog(e){this.selected_album=e,this.show_album_details_modal=!0},open_artist_dialog(e){this.selected_artist=e,this.show_artist_details_modal=!0},open_playlist_dialog(e){this.selected_playlist=e,this.show_playlist_details_modal=!0},open_album(e){this.$router.push({name:"music-spotify-album",params:{id:e.id}})},artwork_url(e){return e.images&&e.images.length>0?e.images[0].url:""}}},fY={class:"fd-page"},pY={class:"section pb-0"},hY={class:"container"},_Y={class:"columns is-centered"},gY={class:"column is-four-fifths"},yY={class:"field"},vY={class:"control is-expanded has-icons-left"},bY=["placeholder"],zY={class:"tags mt-4"},CY=["onClick","textContent"],wY=["textContent"],kY=["onClick"],xY={key:0,class:"level"},EY={class:"level-item"},SY=["textContent"],$Y=["textContent"],AY=["textContent"],TY=["onClick"],OY={key:0,class:"level"},DY={class:"level-item"},PY=["textContent"],IY=["textContent"],FY=["textContent"],RY=["onClick"],LY={key:0,class:"level"},MY={class:"level-item"},NY=["textContent"],VY=["textContent"],BY=["textContent"],HY=["onClick"],jY={key:0,class:"level"},UY={class:"level-item"},qY=["textContent"],WY=["textContent"];function GY(e,t,n,r,s,o){const a=S("mdicon"),i=S("tabs-search"),l=S("list-item-track-spotify"),c=S("VueEternalLoading"),d=S("modal-dialog-track-spotify"),f=S("content-with-heading"),m=S("content-text"),p=S("list-item-artist-spotify"),h=S("modal-dialog-artist-spotify"),_=S("cover-artwork"),z=S("list-item-album-spotify"),v=S("modal-dialog-album-spotify"),b=S("list-item-playlist-spotify"),k=S("modal-dialog-playlist-spotify");return w(),$("div",fY,[u("section",pY,[u("div",hY,[u("div",_Y,[u("div",gY,[u("form",{onSubmit:t[1]||(t[1]=nt((...C)=>o.new_search&&o.new_search(...C),["prevent"]))},[u("div",yY,[u("p",vY,[bt(u("input",{ref:"search_field","onUpdate:modelValue":t[0]||(t[0]=C=>s.search_query=C),class:"input is-rounded is-shadowless",type:"text",placeholder:e.$t("page.spotify.search.placeholder"),autocomplete:"off"},null,8,bY),[[an,s.search_query]]),y(a,{class:"icon is-left",name:"magnify",size:"16"})])])],32),u("div",zY,[(w(!0),$(Ce,null,at(o.recent_searches,C=>(w(),$("a",{key:C,class:"tag",onClick:x=>o.open_recent_search(C),textContent:g(C)},null,8,CY))),128))])])])])]),y(i,{query:s.search_query},null,8,["query"]),o.show_tracks&&s.tracks.total?(w(),ce(f,{key:0,class:"pt-0"},{"heading-left":E(()=>[u("p",{class:"title is-4",textContent:g(e.$t("page.spotify.search.tracks"))},null,8,wY)]),content:E(()=>[(w(!0),$(Ce,null,at(s.tracks.items,C=>(w(),ce(l,{key:C.id,track:C,position:0,context_uri:C.uri},{actions:E(()=>[u("a",{onClick:nt(x=>o.open_track_dialog(C),["prevent","stop"])},[y(a,{class:"icon has-text-dark",name:"dots-vertical",size:"16"})],8,kY)]),_:2},1032,["track","context_uri"]))),128)),s.query.type==="track"?(w(),ce(c,{key:0,load:o.search_tracks_next},{"no-more":E(()=>[tt(" . ")]),_:1},8,["load"])):V("",!0),y(d,{show:s.show_track_details_modal,track:s.selected_track,album:s.selected_track.album,onClose:t[2]||(t[2]=C=>s.show_track_details_modal=!1)},null,8,["show","track","album"])]),footer:E(()=>[o.show_all_tracks_button?(w(),$("nav",xY,[u("p",EY,[u("a",{class:"button is-light is-small is-rounded",onClick:t[3]||(t[3]=(...C)=>o.open_search_tracks&&o.open_search_tracks(...C)),textContent:g(e.$t("page.spotify.search.show-all-tracks",s.tracks.total,{count:e.$filters.number(s.tracks.total)}))},null,8,SY)])])):V("",!0)]),_:1})):V("",!0),o.show_tracks&&!s.tracks.total?(w(),ce(m,{key:1,class:"pt-0"},{content:E(()=>[u("p",null,[u("i",{textContent:g(e.$t("page.spotify.search.no-tracks"))},null,8,$Y)])]),_:1})):V("",!0),o.show_artists&&s.artists.total?(w(),ce(f,{key:2},{"heading-left":E(()=>[u("p",{class:"title is-4",textContent:g(e.$t("page.spotify.search.artists"))},null,8,AY)]),content:E(()=>[(w(!0),$(Ce,null,at(s.artists.items,C=>(w(),ce(p,{key:C.id,artist:C},{actions:E(()=>[u("a",{onClick:nt(x=>o.open_artist_dialog(C),["prevent","stop"])},[y(a,{class:"icon has-text-dark",name:"dots-vertical",size:"16"})],8,TY)]),_:2},1032,["artist"]))),128)),s.query.type==="artist"?(w(),ce(c,{key:0,load:o.search_artists_next},{"no-more":E(()=>[tt(" . ")]),_:1},8,["load"])):V("",!0),y(h,{show:s.show_artist_details_modal,artist:s.selected_artist,onClose:t[4]||(t[4]=C=>s.show_artist_details_modal=!1)},null,8,["show","artist"])]),footer:E(()=>[o.show_all_artists_button?(w(),$("nav",OY,[u("p",DY,[u("a",{class:"button is-light is-small is-rounded",onClick:t[5]||(t[5]=(...C)=>o.open_search_artists&&o.open_search_artists(...C)),textContent:g(e.$t("page.spotify.search.show-all-artists",s.artists.total,{count:e.$filters.number(s.artists.total)}))},null,8,PY)])])):V("",!0)]),_:1})):V("",!0),o.show_artists&&!s.artists.total?(w(),ce(m,{key:3},{content:E(()=>[u("p",null,[u("i",{textContent:g(e.$t("page.spotify.search.no-artists"))},null,8,IY)])]),_:1})):V("",!0),o.show_albums&&s.albums.total?(w(),ce(f,{key:4},{"heading-left":E(()=>[u("p",{class:"title is-4",textContent:g(e.$t("page.spotify.search.albums"))},null,8,FY)]),content:E(()=>[(w(!0),$(Ce,null,at(s.albums.items,C=>(w(),ce(z,{key:C.id,album:C,onClick:x=>o.open_album(C)},Sa({actions:E(()=>[u("a",{onClick:nt(x=>o.open_album_dialog(C),["prevent","stop"])},[y(a,{class:"icon has-text-dark",name:"dots-vertical",size:"16"})],8,RY)]),_:2},[o.is_visible_artwork?{name:"artwork",fn:E(()=>[y(_,{artwork_url:o.artwork_url(C),artist:C.artist,album:C.name,class:"is-clickable fd-has-shadow fd-cover fd-cover-small-image",maxwidth:64,maxheight:64},null,8,["artwork_url","artist","album"])]),key:"0"}:void 0]),1032,["album","onClick"]))),128)),s.query.type==="album"?(w(),ce(c,{key:0,load:o.search_albums_next},{"no-more":E(()=>[tt(" . ")]),_:1},8,["load"])):V("",!0),y(v,{show:s.show_album_details_modal,album:s.selected_album,onClose:t[6]||(t[6]=C=>s.show_album_details_modal=!1)},null,8,["show","album"])]),footer:E(()=>[o.show_all_albums_button?(w(),$("nav",LY,[u("p",MY,[u("a",{class:"button is-light is-small is-rounded",onClick:t[7]||(t[7]=(...C)=>o.open_search_albums&&o.open_search_albums(...C)),textContent:g(e.$t("page.spotify.search.show-all-albums",s.albums.total,{count:e.$filters.number(s.albums.total)}))},null,8,NY)])])):V("",!0)]),_:1})):V("",!0),o.show_albums&&!s.albums.total?(w(),ce(m,{key:5},{content:E(()=>[u("p",null,[u("i",{textContent:g(e.$t("page.spotify.search.no-albums"))},null,8,VY)])]),_:1})):V("",!0),o.show_playlists&&s.playlists.total?(w(),ce(f,{key:6},{"heading-left":E(()=>[u("p",{class:"title is-4",textContent:g(e.$t("page.spotify.search.playlists"))},null,8,BY)]),content:E(()=>[(w(!0),$(Ce,null,at(s.playlists.items,C=>(w(),ce(b,{key:C.id,playlist:C},{actions:E(()=>[u("a",{onClick:nt(x=>o.open_playlist_dialog(C),["prevent","stop"])},[y(a,{class:"icon has-text-dark",name:"dots-vertical",size:"16"})],8,HY)]),_:2},1032,["playlist"]))),128)),s.query.type==="playlist"?(w(),ce(c,{key:0,load:o.search_playlists_next},{"no-more":E(()=>[tt(" . ")]),_:1},8,["load"])):V("",!0),y(k,{show:s.show_playlist_details_modal,playlist:s.selected_playlist,onClose:t[8]||(t[8]=C=>s.show_playlist_details_modal=!1)},null,8,["show","playlist"])]),footer:E(()=>[o.show_all_playlists_button?(w(),$("nav",jY,[u("p",UY,[u("a",{class:"button is-light is-small is-rounded",onClick:t[9]||(t[9]=(...C)=>o.open_search_playlists&&o.open_search_playlists(...C)),textContent:g(e.$t("page.spotify.search.show-all-playlists",s.playlists.total,{count:e.$filters.number(s.playlists.total)}))},null,8,qY)])])):V("",!0)]),_:1})):V("",!0),o.show_playlists&&!s.playlists.total?(w(),ce(m,{key:7},{content:E(()=>[u("p",null,[u("i",{textContent:g(e.$t("page.spotify.search.no-playlists"))},null,8,WY)])]),_:1})):V("",!0)])}const KY=te(mY,[["render",GY]]),vh=140,bh=110,U1=mO({history:$T(),routes:[{component:d3,name:"about",path:"/about"},{component:tP,meta:{show_progress:!0},name:"music-album",path:"/music/albums/:id"},{component:dI,meta:{show_progress:!0},name:"music-spotify-album",path:"/music/spotify/albums/:id"},{component:RF,meta:{has_index:!0,has_tabs:!0,show_progress:!0},name:"music-albums",path:"/music/albums"},{component:gR,meta:{show_progress:!0,has_index:!0},name:"music-artist",path:"/music/artists/:id"},{component:iL,meta:{show_progress:!0},name:"music-spotify-artist",path:"/music/spotify/artists/:id"},{component:YL,meta:{has_index:!0,has_tabs:!0,show_progress:!0},name:"music-artists",path:"/music/artists"},{component:zL,meta:{has_index:!0,show_progress:!0},name:"music-artist-tracks",path:"/music/artists/:id/tracks"},{component:aM,meta:{show_progress:!0},name:"audiobooks-album",path:"/audiobooks/albums/:id"},{component:xM,meta:{has_index:!0,has_tabs:!0,show_progress:!0},name:"audiobooks-albums",path:"/audiobooks/albums"},{component:PM,meta:{show_progress:!0},name:"audiobooks-artist",path:"/audiobooks/artists/:id"},{component:NM,meta:{has_index:!0,has_tabs:!0,show_progress:!0},name:"audiobooks-artists",path:"/audiobooks/artists"},{component:bN,meta:{has_index:!0,has_tabs:!0,show_progress:!0},name:"audiobooks-genres",path:"/audiobooks/genres"},{name:"audiobooks",path:"/audiobooks",redirect:{name:"audiobooks-artists"}},{name:"music",path:"/music",redirect:{name:"music-history"}},{component:yV,meta:{has_tabs:!0,show_progress:!0},name:"music-history",path:"/music/history"},{component:yB,meta:{has_tabs:!0,show_progress:!0},name:"music-recently-added",path:"/music/recently-added"},{component:wB,meta:{has_tabs:!0,show_progress:!0},name:"music-recently-played",path:"/music/recently-played"},{component:tB,meta:{has_tabs:!0,show_progress:!0},name:"music-spotify",path:"/music/spotify"},{component:fB,meta:{has_tabs:!0,show_progress:!0},name:"music-spotify-featured-playlists",path:"/music/spotify/featured-playlists"},{component:iB,meta:{has_tabs:!0,show_progress:!0},name:"music-spotify-new-releases",path:"/music/spotify/new-releases"},{component:ZN,meta:{show_progress:!0,has_index:!0},name:"music-composer-albums",path:"/music/composers/:name/albums"},{component:u7,meta:{has_index:!0,show_progress:!0},name:"music-composer-tracks",path:"/music/composers/:name/tracks"},{component:x7,meta:{has_index:!0,has_tabs:!0,show_progress:!0},name:"music-composers",path:"/music/composers"},{component:O9,meta:{show_progress:!0},name:"files",path:"/files"},{component:H9,meta:{has_index:!0,show_progress:!0},name:"genre-albums",path:"/genres/:name/albums"},{component:nV,meta:{has_index:!0,show_progress:!0},name:"genre-tracks",path:"/genres/:name/tracks"},{component:lV,meta:{has_index:!0,has_tabs:!0,show_progress:!0},name:"music-genres",path:"/music/genres"},{component:BH,name:"now-playing",path:"/now-playing"},{name:"playlists",path:"/playlists",redirect:{name:"playlist-folder",params:{id:0}}},{component:GH,meta:{show_progress:!0},name:"playlist-folder",path:"/playlists/:id"},{component:tj,meta:{show_progress:!0},name:"playlist",path:"/playlists/:id/tracks"},{component:cj,meta:{show_progress:!0},name:"playlist-spotify",path:"/playlists/spotify/:id/tracks"},{component:wj,meta:{show_progress:!0},name:"podcast",path:"/podcasts/:id"},{component:Qj,meta:{show_progress:!0},name:"podcasts",path:"/podcasts"},{component:KK,meta:{show_progress:!0},name:"radio",path:"/radio"},{component:qq,name:"queue",path:"/"},{component:oY,name:"search-library",path:"/search/library"},{component:KY,name:"search-spotify",path:"/search/spotify"},{component:aG,name:"settings-webinterface",path:"/settings/webinterface"},{component:CG,name:"settings-artwork",path:"/settings/artwork"},{component:pK,name:"settings-online-services",path:"/settings/online-services"},{component:HK,name:"settings-remotes-outputs",path:"/settings/remotes-outputs"}],scrollBehavior(e,t,n){if(n)return new Promise((s,o)=>{setTimeout(()=>{s(n)},0)});if(e.path===t.path&&e.hash){const s=e.meta.has_tabs?vh:bh;return{el:e.hash,top:s,behavior:"smooth"}}return e.hash?new Promise((s,o)=>{setTimeout(()=>{s({el:e.hash,top:120})},0)}):e.meta.has_index?new Promise((s,o)=>{const a=e.meta.has_tabs?vh:bh;setTimeout(()=>{s({el:"#top",top:a})},0)}):{left:0,top:0}}});U1.beforeEach((e,t,n)=>{if(Ve.state.show_burger_menu){Ve.commit(Gs,!1),n(!1);return}if(Ve.state.show_player_menu){Ve.commit(Ks,!1),n(!1);return}n(!0)});const q1=vg(M$).use(Ve).use(U1).use(uT).use(Z8).use(iT,{log:!1}).use(G8,{icons:N8}).use(Xl);q1.config.globalProperties.$filters=M8;q1.mount("#app");