owntone-server/htdocs/assets/index.js
2024-02-21 11:31:44 +00:00

61 lines
831 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 i of o.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&r(i)}).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 Uh="UPDATE_CONFIG",Bh="UPDATE_SETTINGS",Tl="UPDATE_SETTINGS_OPTION",jh="UPDATE_LIBRARY_STATS",qh="UPDATE_LIBRARY_RSS_COUNT",Wh="UPDATE_OUTPUTS",hd="UPDATE_PLAYER_STATUS",Gh="UPDATE_QUEUE",lc="UPDATE_LYRICS",Kh="UPDATE_LASTFM",Zh="UPDATE_SPOTIFY",Yh="UPDATE_PAIRING",_d="SPOTIFY_NEW_RELEASES",gd="SPOTIFY_FEATURED_PLAYLISTS",Bm="ADD_NOTIFICATION",uc="DELETE_NOTIFICATION",cc="SEARCH_SOURCE",yd="ADD_RECENT_SEARCH",Jh="COMPOSER_TRACKS_SORT",Xh="GENRE_TRACKS_SORT",Ol="HIDE_SINGLES",bi="HIDE_SPOTIFY",Qh="ARTISTS_SORT",e_="ARTIST_ALBUMS_SORT",t_="ARTIST_TRACKS_SORT",n_="ALBUMS_SORT",r_="SHOW_ONLY_NEXT_ITEMS",eo="SHOW_BURGER_MENU",to="SHOW_PLAYER_MENU",zi="SHOW_UPDATE_DIALOG",vd="UPDATE_DIALOG_SCAN_KIND";/**
* @vue/shared v3.4.19
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/function Dl(e,t){const n=new Set(e.split(","));return t?r=>n.has(r.toLowerCase()):r=>n.has(r)}const ut={},js=[],an=()=>{},_b=()=>!1,Ci=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),bd=e=>e.startsWith("onUpdate:"),zt=Object.assign,zd=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},gb=Object.prototype.hasOwnProperty,nt=(e,t)=>gb.call(e,t),ze=Array.isArray,qs=e=>fo(e)==="[object Map]",zs=e=>fo(e)==="[object Set]",jm=e=>fo(e)==="[object Date]",yb=e=>fo(e)==="[object RegExp]",De=e=>typeof e=="function",Ct=e=>typeof e=="string",jr=e=>typeof e=="symbol",ft=e=>e!==null&&typeof e=="object",Cd=e=>(ft(e)||De(e))&&De(e.then)&&De(e.catch),s_=Object.prototype.toString,fo=e=>s_.call(e),vb=e=>fo(e).slice(8,-1),o_=e=>fo(e)==="[object Object]",wd=e=>Ct(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Ws=Dl(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Pl=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},bb=/-(\w)/g,Xt=Pl(e=>e.replace(bb,(t,n)=>n?n.toUpperCase():"")),zb=/\B([A-Z])/g,gn=Pl(e=>e.replace(zb,"-$1").toLowerCase()),wi=Pl(e=>e.charAt(0).toUpperCase()+e.slice(1)),Bo=Pl(e=>e?`on${wi(e)}`:""),qn=(e,t)=>!Object.is(e,t),Gs=(e,t)=>{for(let n=0;n<e.length;n++)e[n](t)},nl=(e,t,n)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},si=e=>{const t=parseFloat(e);return isNaN(t)?e:t},rl=e=>{const t=Ct(e)?Number(e):NaN;return isNaN(t)?e:t};let qm;const i_=()=>qm||(qm=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{}),Cb="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,Error",wb=Dl(Cb);function Zr(e){if(ze(e)){const t={};for(let n=0;n<e.length;n++){const r=e[n],s=Ct(r)?Sb(r):Zr(r);if(s)for(const o in s)t[o]=s[o]}return t}else if(Ct(e)||ft(e))return e}const kb=/;(?![^(]*\))/g,xb=/:([^]+)/,Eb=/\/\*[^]*?\*\//g;function Sb(e){const t={};return e.replace(Eb,"").split(kb).forEach(n=>{if(n){const r=n.split(xb);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function Ee(e){let t="";if(Ct(e))t=e;else if(ze(e))for(let n=0;n<e.length;n++){const r=Ee(e[n]);r&&(t+=r+" ")}else if(ft(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}function Fo(e){if(!e)return null;let{class:t,style:n}=e;return t&&!Ct(t)&&(e.class=Ee(t)),n&&(e.style=Zr(n)),e}const $b="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",Ab=Dl($b);function a_(e){return!!e||e===""}function Tb(e,t){if(e.length!==t.length)return!1;let n=!0;for(let r=0;n&&r<e.length;r++)n=qr(e[r],t[r]);return n}function qr(e,t){if(e===t)return!0;let n=jm(e),r=jm(t);if(n||r)return n&&r?e.getTime()===t.getTime():!1;if(n=jr(e),r=jr(t),n||r)return e===t;if(n=ze(e),r=ze(t),n||r)return n&&r?Tb(e,t):!1;if(n=ft(e),r=ft(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 i in e){const a=e.hasOwnProperty(i),l=t.hasOwnProperty(i);if(a&&!l||!a&&l||!qr(e[i],t[i]))return!1}}return String(e)===String(t)}function Il(e,t){return e.findIndex(n=>qr(n,t))}const g=e=>Ct(e)?e:e==null?"":ze(e)||ft(e)&&(e.toString===s_||!De(e.toString))?JSON.stringify(e,l_,2):String(e),l_=(e,t)=>t&&t.__v_isRef?l_(e,t.value):qs(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,s],o)=>(n[yu(r,o)+" =>"]=s,n),{})}:zs(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>yu(n))}:jr(t)?yu(t):ft(t)&&!ze(t)&&!o_(t)?String(t):t,yu=(e,t="")=>{var n;return jr(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/**
* @vue/reactivity v3.4.19
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/let hn;class kd{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=hn,!t&&hn&&(this.index=(hn.scopes||(hn.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=hn;try{return hn=this,t()}finally{hn=n}}}on(){hn=this}off(){hn=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 xd(e){return new kd(e)}function u_(e,t=hn){t&&t.active&&t.effects.push(e)}function c_(){return hn}function Ob(e){hn&&hn.cleanups.push(e)}let cs;class no{constructor(t,n,r,s){this.fn=t,this.trigger=n,this.scheduler=r,this.active=!0,this.deps=[],this._dirtyLevel=4,this._trackId=0,this._runnings=0,this._shouldSchedule=!1,this._depsLength=0,u_(this,s)}get dirty(){if(this._dirtyLevel===2||this._dirtyLevel===3){this._dirtyLevel=1,Cs();for(let t=0;t<this._depsLength;t++){const n=this.deps[t];if(n.computed&&(Db(n.computed),this._dirtyLevel>=4))break}this._dirtyLevel===1&&(this._dirtyLevel=0),ws()}return this._dirtyLevel>=4}set dirty(t){this._dirtyLevel=t?4:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let t=Br,n=cs;try{return Br=!0,cs=this,this._runnings++,Wm(this),this.fn()}finally{Gm(this),this._runnings--,cs=n,Br=t}}stop(){var t;this.active&&(Wm(this),Gm(this),(t=this.onStop)==null||t.call(this),this.active=!1)}}function Db(e){return e.value}function Wm(e){e._trackId++,e._depsLength=0}function Gm(e){if(e.deps.length>e._depsLength){for(let t=e._depsLength;t<e.deps.length;t++)d_(e.deps[t],e);e.deps.length=e._depsLength}}function d_(e,t){const n=e.get(t);n!==void 0&&t._trackId!==n&&(e.delete(t),e.size===0&&e.cleanup())}function Pb(e,t){e.effect instanceof no&&(e=e.effect.fn);const n=new no(e,an,()=>{n.dirty&&n.run()});t&&(zt(n,t),t.scope&&u_(n,t.scope)),(!t||!t.lazy)&&n.run();const r=n.run.bind(n);return r.effect=n,r}function Ib(e){e.effect.stop()}let Br=!0,dc=0;const m_=[];function Cs(){m_.push(Br),Br=!1}function ws(){const e=m_.pop();Br=e===void 0?!0:e}function Ed(){dc++}function Sd(){for(dc--;!dc&&mc.length;)mc.shift()()}function f_(e,t,n){if(t.get(e)!==e._trackId){t.set(e,e._trackId);const r=e.deps[e._depsLength];r!==t?(r&&d_(r,e),e.deps[e._depsLength++]=t):e._depsLength++}}const mc=[];function p_(e,t,n){Ed();for(const r of e.keys()){let s;r._dirtyLevel<t&&(s??(s=e.get(r)===r._trackId))&&(r._shouldSchedule||(r._shouldSchedule=r._dirtyLevel===0),r._dirtyLevel=t),r._shouldSchedule&&(s??(s=e.get(r)===r._trackId))&&(r.trigger(),(!r._runnings||r.allowRecurse)&&r._dirtyLevel!==2&&(r._shouldSchedule=!1,r.scheduler&&mc.push(r.scheduler)))}Sd()}const h_=(e,t)=>{const n=new Map;return n.cleanup=e,n.computed=t,n},sl=new WeakMap,ds=Symbol(""),fc=Symbol("");function cn(e,t,n){if(Br&&cs){let r=sl.get(e);r||sl.set(e,r=new Map);let s=r.get(n);s||r.set(n,s=h_(()=>r.delete(n))),f_(cs,s)}}function hr(e,t,n,r,s,o){const i=sl.get(e);if(!i)return;let a=[];if(t==="clear")a=[...i.values()];else if(n==="length"&&ze(e)){const l=Number(r);i.forEach((c,d)=>{(d==="length"||!jr(d)&&d>=l)&&a.push(c)})}else switch(n!==void 0&&a.push(i.get(n)),t){case"add":ze(e)?wd(n)&&a.push(i.get("length")):(a.push(i.get(ds)),qs(e)&&a.push(i.get(fc)));break;case"delete":ze(e)||(a.push(i.get(ds)),qs(e)&&a.push(i.get(fc)));break;case"set":qs(e)&&a.push(i.get(ds));break}Ed();for(const l of a)l&&p_(l,4);Sd()}function Fb(e,t){var n;return(n=sl.get(e))==null?void 0:n.get(t)}const Rb=Dl("__proto__,__v_isRef,__isVue"),__=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(jr)),Km=Lb();function Lb(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const r=Ye(this);for(let o=0,i=this.length;o<i;o++)cn(r,"get",o+"");const s=r[t](...n);return s===-1||s===!1?r[t](...n.map(Ye)):s}}),["push","pop","shift","unshift","splice"].forEach(t=>{e[t]=function(...n){Cs(),Ed();const r=Ye(this)[t].apply(this,n);return Sd(),ws(),r}}),e}function Nb(e){const t=Ye(this);return cn(t,"has",e),t.hasOwnProperty(e)}class g_{constructor(t=!1,n=!1){this._isReadonly=t,this._shallow=n}get(t,n,r){const s=this._isReadonly,o=this._shallow;if(n==="__v_isReactive")return!s;if(n==="__v_isReadonly")return s;if(n==="__v_isShallow")return o;if(n==="__v_raw")return r===(s?o?w_:C_:o?z_:b_).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(r)?t:void 0;const i=ze(t);if(!s){if(i&&nt(Km,n))return Reflect.get(Km,n,r);if(n==="hasOwnProperty")return Nb}const a=Reflect.get(t,n,r);return(jr(n)?__.has(n):Rb(n))||(s||cn(t,"get",n),o)?a:Mt(a)?i&&wd(n)?a:a.value:ft(a)?s?Td(a):po(a):a}}class y_ extends g_{constructor(t=!1){super(!1,t)}set(t,n,r,s){let o=t[n];if(!this._shallow){const l=gs(o);if(!oi(r)&&!gs(r)&&(o=Ye(o),r=Ye(r)),!ze(t)&&Mt(o)&&!Mt(r))return l?!1:(o.value=r,!0)}const i=ze(t)&&wd(n)?Number(n)<t.length:nt(t,n),a=Reflect.set(t,n,r,s);return t===Ye(s)&&(i?qn(r,o)&&hr(t,"set",n,r):hr(t,"add",n,r)),a}deleteProperty(t,n){const r=nt(t,n);t[n];const s=Reflect.deleteProperty(t,n);return s&&r&&hr(t,"delete",n,void 0),s}has(t,n){const r=Reflect.has(t,n);return(!jr(n)||!__.has(n))&&cn(t,"has",n),r}ownKeys(t){return cn(t,"iterate",ze(t)?"length":ds),Reflect.ownKeys(t)}}class v_ extends g_{constructor(t=!1){super(!0,t)}set(t,n){return!0}deleteProperty(t,n){return!0}}const Mb=new y_,Vb=new v_,Hb=new y_(!0),Ub=new v_(!0),$d=e=>e,Fl=e=>Reflect.getPrototypeOf(e);function Vi(e,t,n=!1,r=!1){e=e.__v_raw;const s=Ye(e),o=Ye(t);n||(qn(t,o)&&cn(s,"get",t),cn(s,"get",o));const{has:i}=Fl(s),a=r?$d:n?Pd:ii;if(i.call(s,t))return a(e.get(t));if(i.call(s,o))return a(e.get(o));e!==s&&e.get(t)}function Hi(e,t=!1){const n=this.__v_raw,r=Ye(n),s=Ye(e);return t||(qn(e,s)&&cn(r,"has",e),cn(r,"has",s)),e===s?n.has(e):n.has(e)||n.has(s)}function Ui(e,t=!1){return e=e.__v_raw,!t&&cn(Ye(e),"iterate",ds),Reflect.get(e,"size",e)}function Zm(e){e=Ye(e);const t=Ye(this);return Fl(t).has.call(t,e)||(t.add(e),hr(t,"add",e,e)),this}function Ym(e,t){t=Ye(t);const n=Ye(this),{has:r,get:s}=Fl(n);let o=r.call(n,e);o||(e=Ye(e),o=r.call(n,e));const i=s.call(n,e);return n.set(e,t),o?qn(t,i)&&hr(n,"set",e,t):hr(n,"add",e,t),this}function Jm(e){const t=Ye(this),{has:n,get:r}=Fl(t);let s=n.call(t,e);s||(e=Ye(e),s=n.call(t,e)),r&&r.call(t,e);const o=t.delete(e);return s&&hr(t,"delete",e,void 0),o}function Xm(){const e=Ye(this),t=e.size!==0,n=e.clear();return t&&hr(e,"clear",void 0,void 0),n}function Bi(e,t){return function(r,s){const o=this,i=o.__v_raw,a=Ye(i),l=t?$d:e?Pd:ii;return!e&&cn(a,"iterate",ds),i.forEach((c,d)=>r.call(s,l(c),l(d),o))}}function ji(e,t,n){return function(...r){const s=this.__v_raw,o=Ye(s),i=qs(o),a=e==="entries"||e===Symbol.iterator&&i,l=e==="keys"&&i,c=s[e](...r),d=n?$d:t?Pd:ii;return!t&&cn(o,"iterate",l?fc:ds),{next(){const{value:m,done:f}=c.next();return f?{value:m,done:f}:{value:a?[d(m[0]),d(m[1])]:d(m),done:f}},[Symbol.iterator](){return this}}}}function wr(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function Bb(){const e={get(o){return Vi(this,o)},get size(){return Ui(this)},has:Hi,add:Zm,set:Ym,delete:Jm,clear:Xm,forEach:Bi(!1,!1)},t={get(o){return Vi(this,o,!1,!0)},get size(){return Ui(this)},has:Hi,add:Zm,set:Ym,delete:Jm,clear:Xm,forEach:Bi(!1,!0)},n={get(o){return Vi(this,o,!0)},get size(){return Ui(this,!0)},has(o){return Hi.call(this,o,!0)},add:wr("add"),set:wr("set"),delete:wr("delete"),clear:wr("clear"),forEach:Bi(!0,!1)},r={get(o){return Vi(this,o,!0,!0)},get size(){return Ui(this,!0)},has(o){return Hi.call(this,o,!0)},add:wr("add"),set:wr("set"),delete:wr("delete"),clear:wr("clear"),forEach:Bi(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(o=>{e[o]=ji(o,!1,!1),n[o]=ji(o,!0,!1),t[o]=ji(o,!1,!0),r[o]=ji(o,!0,!0)}),[e,n,t,r]}const[jb,qb,Wb,Gb]=Bb();function Rl(e,t){const n=t?e?Gb:Wb:e?qb:jb;return(r,s,o)=>s==="__v_isReactive"?!e:s==="__v_isReadonly"?e:s==="__v_raw"?r:Reflect.get(nt(n,s)&&s in r?n:r,s,o)}const Kb={get:Rl(!1,!1)},Zb={get:Rl(!1,!0)},Yb={get:Rl(!0,!1)},Jb={get:Rl(!0,!0)},b_=new WeakMap,z_=new WeakMap,C_=new WeakMap,w_=new WeakMap;function Xb(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Qb(e){return e.__v_skip||!Object.isExtensible(e)?0:Xb(vb(e))}function po(e){return gs(e)?e:Ll(e,!1,Mb,Kb,b_)}function Ad(e){return Ll(e,!1,Hb,Zb,z_)}function Td(e){return Ll(e,!0,Vb,Yb,C_)}function ez(e){return Ll(e,!0,Ub,Jb,w_)}function Ll(e,t,n,r,s){if(!ft(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const o=s.get(e);if(o)return o;const i=Qb(e);if(i===0)return e;const a=new Proxy(e,i===2?r:n);return s.set(e,a),a}function ms(e){return gs(e)?ms(e.__v_raw):!!(e&&e.__v_isReactive)}function gs(e){return!!(e&&e.__v_isReadonly)}function oi(e){return!!(e&&e.__v_isShallow)}function Od(e){return ms(e)||gs(e)}function Ye(e){const t=e&&e.__v_raw;return t?Ye(t):e}function Dd(e){return Object.isExtensible(e)&&nl(e,"__v_skip",!0),e}const ii=e=>ft(e)?po(e):e,Pd=e=>ft(e)?Td(e):e;class k_{constructor(t,n,r,s){this._setter=n,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this.effect=new no(()=>t(this._value),()=>Ks(this,this.effect._dirtyLevel===2?2:3)),this.effect.computed=this,this.effect.active=this._cacheable=!s,this.__v_isReadonly=r}get value(){const t=Ye(this);return(!t._cacheable||t.effect.dirty)&&qn(t._value,t._value=t.effect.run())&&Ks(t,4),Id(t),t.effect._dirtyLevel>=2&&Ks(t,2),t._value}set value(t){this._setter(t)}get _dirty(){return this.effect.dirty}set _dirty(t){this.effect.dirty=t}}function tz(e,t,n=!1){let r,s;const o=De(e);return o?(r=e,s=an):(r=e.get,s=e.set),new k_(r,s,o||!s,n)}function Id(e){var t;Br&&cs&&(e=Ye(e),f_(cs,(t=e.dep)!=null?t:e.dep=h_(()=>e.dep=void 0,e instanceof k_?e:void 0)))}function Ks(e,t=4,n){e=Ye(e);const r=e.dep;r&&p_(r,t)}function Mt(e){return!!(e&&e.__v_isRef===!0)}function sr(e){return x_(e,!1)}function Fd(e){return x_(e,!0)}function x_(e,t){return Mt(e)?e:new nz(e,t)}class nz{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:Ye(t),this._value=n?t:ii(t)}get value(){return Id(this),this._value}set value(t){const n=this.__v_isShallow||oi(t)||gs(t);t=n?t:Ye(t),qn(t,this._rawValue)&&(this._rawValue=t,this._value=n?t:ii(t),Ks(this,4))}}function rz(e){Ks(e,4)}function yn(e){return Mt(e)?e.value:e}function sz(e){return De(e)?e():yn(e)}const oz={get:(e,t,n)=>yn(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const s=e[t];return Mt(s)&&!Mt(n)?(s.value=n,!0):Reflect.set(e,t,n,r)}};function Rd(e){return ms(e)?e:new Proxy(e,oz)}class iz{constructor(t){this.dep=void 0,this.__v_isRef=!0;const{get:n,set:r}=t(()=>Id(this),()=>Ks(this));this._get=n,this._set=r}get value(){return this._get()}set value(t){this._set(t)}}function E_(e){return new iz(e)}function az(e){const t=ze(e)?new Array(e.length):{};for(const n in e)t[n]=S_(e,n);return t}class lz{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 Fb(Ye(this._object),this._key)}}class uz{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0}get value(){return this._getter()}}function cz(e,t,n){return Mt(e)?e:De(e)?new uz(e):ft(e)&&arguments.length>1?S_(e,t,n):sr(e)}function S_(e,t,n){const r=e[t];return Mt(r)?r:new lz(e,t,n)}const dz={GET:"get",HAS:"has",ITERATE:"iterate"},mz={SET:"set",ADD:"add",DELETE:"delete",CLEAR:"clear"};/**
* @vue/runtime-core v3.4.19
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/function fz(e,t){}const pz={SETUP_FUNCTION:0,0:"SETUP_FUNCTION",RENDER_FUNCTION:1,1:"RENDER_FUNCTION",WATCH_GETTER:2,2:"WATCH_GETTER",WATCH_CALLBACK:3,3:"WATCH_CALLBACK",WATCH_CLEANUP:4,4:"WATCH_CLEANUP",NATIVE_EVENT_HANDLER:5,5:"NATIVE_EVENT_HANDLER",COMPONENT_EVENT_HANDLER:6,6:"COMPONENT_EVENT_HANDLER",VNODE_HOOK:7,7:"VNODE_HOOK",DIRECTIVE_HOOK:8,8:"DIRECTIVE_HOOK",TRANSITION_HOOK:9,9:"TRANSITION_HOOK",APP_ERROR_HANDLER:10,10:"APP_ERROR_HANDLER",APP_WARN_HANDLER:11,11:"APP_WARN_HANDLER",FUNCTION_REF:12,12:"FUNCTION_REF",ASYNC_COMPONENT_LOADER:13,13:"ASYNC_COMPONENT_LOADER",SCHEDULER:14,14:"SCHEDULER"},hz={sp:"serverPrefetch hook",bc:"beforeCreate hook",c:"created hook",bm:"beforeMount hook",m:"mounted hook",bu:"beforeUpdate hook",u:"updated",bum:"beforeUnmount hook",um:"unmounted hook",a:"activated hook",da:"deactivated hook",ec:"errorCaptured hook",rtc:"renderTracked hook",rtg:"renderTriggered hook",0:"setup function",1:"render function",2:"watcher getter",3:"watcher callback",4:"watcher cleanup function",5:"native event handler",6:"component event handler",7:"vnode hook",8:"directive hook",9:"transition hook",10:"app errorHandler",11:"app warnHandler",12:"ref function",13:"async component loader",14:"scheduler flush. This is likely a Vue internals bug. Please open an issue at https://github.com/vuejs/core ."};function _r(e,t,n,r){try{return r?e(...r):e()}catch(s){ks(s,t,n)}}function vn(e,t,n,r){if(De(e)){const o=_r(e,t,n,r);return o&&Cd(o)&&o.catch(i=>{ks(i,t,n)}),o}const s=[];for(let o=0;o<e.length;o++)s.push(vn(e[o],t,n,r));return s}function ks(e,t,n,r=!0){const s=t?t.vnode:null;if(t){let o=t.parent;const i=t.proxy,a=`https://vuejs.org/error-reference/#runtime-${n}`;for(;o;){const c=o.ec;if(c){for(let d=0;d<c.length;d++)if(c[d](e,i,a)===!1)return}o=o.parent}const l=t.appContext.config.errorHandler;if(l){_r(l,null,10,[e,i,a]);return}}_z(e,n,s,r)}function _z(e,t,n,r=!0){console.error(e)}let ai=!1,pc=!1;const jt=[];let er=0;const Zs=[];let Pr=null,as=0;const $_=Promise.resolve();let Ld=null;function ho(e){const t=Ld||$_;return e?t.then(this?e.bind(this):e):t}function gz(e){let t=er+1,n=jt.length;for(;t<n;){const r=t+n>>>1,s=jt[r],o=li(s);o<e||o===e&&s.pre?t=r+1:n=r}return t}function Nl(e){(!jt.length||!jt.includes(e,ai&&e.allowRecurse?er+1:er))&&(e.id==null?jt.push(e):jt.splice(gz(e.id),0,e),A_())}function A_(){!ai&&!pc&&(pc=!0,Ld=$_.then(T_))}function yz(e){const t=jt.indexOf(e);t>er&&jt.splice(t,1)}function ol(e){ze(e)?Zs.push(...e):(!Pr||!Pr.includes(e,e.allowRecurse?as+1:as))&&Zs.push(e),A_()}function Qm(e,t,n=ai?er+1:0){for(;n<jt.length;n++){const r=jt[n];if(r&&r.pre){if(e&&r.id!==e.uid)continue;jt.splice(n,1),n--,r()}}}function il(e){if(Zs.length){const t=[...new Set(Zs)].sort((n,r)=>li(n)-li(r));if(Zs.length=0,Pr){Pr.push(...t);return}for(Pr=t,as=0;as<Pr.length;as++)Pr[as]();Pr=null,as=0}}const li=e=>e.id==null?1/0:e.id,vz=(e,t)=>{const n=li(e)-li(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function T_(e){pc=!1,ai=!0,jt.sort(vz);try{for(er=0;er<jt.length;er++){const t=jt[er];t&&t.active!==!1&&_r(t,null,14)}}finally{er=0,jt.length=0,il(),ai=!1,Ld=null,(jt.length||Zs.length)&&T_()}}let Rs,qi=[];function O_(e,t){var n,r;Rs=e,Rs?(Rs.enabled=!0,qi.forEach(({event:s,args:o})=>Rs.emit(s,...o)),qi=[]):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=>{O_(o,t)}),setTimeout(()=>{Rs||(t.__VUE_DEVTOOLS_HOOK_REPLAY__=null,qi=[])},3e3)):qi=[]}function bz(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||ut;let s=n;const o=t.startsWith("update:"),i=o&&t.slice(7);if(i&&i in r){const d=`${i==="modelValue"?"model":i}Modifiers`,{number:m,trim:f}=r[d]||ut;f&&(s=n.map(p=>Ct(p)?p.trim():p)),m&&(s=n.map(si))}let a,l=r[a=Bo(t)]||r[a=Bo(Xt(t))];!l&&o&&(l=r[a=Bo(gn(t))]),l&&vn(l,e,6,s);const c=r[a+"Once"];if(c){if(!e.emitted)e.emitted={};else if(e.emitted[a])return;e.emitted[a]=!0,vn(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 i={},a=!1;if(!De(e)){const l=c=>{const d=D_(c,t,!0);d&&(a=!0,zt(i,d))};!n&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return!o&&!a?(ft(e)&&r.set(e,null),null):(ze(o)?o.forEach(l=>i[l]=null):zt(i,o),ft(e)&&r.set(e,i),i)}function Ml(e,t){return!e||!Ci(t)?!1:(t=t.slice(2).replace(/Once$/,""),nt(e,t[0].toLowerCase()+t.slice(1))||nt(e,gn(t))||nt(e,t))}let Pt=null,Vl=null;function ui(e){const t=Pt;return Pt=e,Vl=e&&e.type.__scopeId||null,t}function zz(e){Vl=e}function Cz(){Vl=null}const wz=e=>E;function E(e,t=Pt,n){if(!t||e._n)return e;const r=(...s)=>{r._d&&Cc(-1);const o=ui(t);let i;try{i=e(...s)}finally{ui(o),r._d&&Cc(1)}return i};return r._n=!0,r._c=!0,r._d=!0,r}function Ba(e){const{type:t,vnode:n,proxy:r,withProxy:s,props:o,propsOptions:[i],slots:a,attrs:l,emit:c,render:d,renderCache:m,data:f,setupState:p,ctx:h,inheritAttrs:_}=e;let b,C;const w=ui(e);try{if(n.shapeFlag&4){const z=s||r,S=z;b=_n(d.call(S,z,m,o,p,f,h)),C=l}else{const z=t;b=_n(z.length>1?z(o,{attrs:l,slots:a,emit:c}):z(o,null)),C=t.props?l:xz(l)}}catch(z){Go.length=0,ks(z,e,1),b=y(Gt)}let v=b;if(C&&_!==!1){const z=Object.keys(C),{shapeFlag:S}=v;z.length&&S&7&&(i&&z.some(bd)&&(C=Ez(C,i)),v=ir(v,C))}return n.dirs&&(v=ir(v),v.dirs=v.dirs?v.dirs.concat(n.dirs):n.dirs),n.transition&&(v.transition=n.transition),b=v,ui(w),b}function kz(e,t=!0){let n;for(let r=0;r<e.length;r++){const s=e[r];if(Gr(s)){if(s.type!==Gt||s.children==="v-if"){if(n)return;n=s}}else return}return n}const xz=e=>{let t;for(const n in e)(n==="class"||n==="style"||Ci(n))&&((t||(t={}))[n]=e[n]);return t},Ez=(e,t)=>{const n={};for(const r in e)(!bd(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function Sz(e,t,n){const{props:r,children:s,component:o}=e,{props:i,children:a,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?ef(r,i,c):!!i;if(l&8){const d=t.dynamicProps;for(let m=0;m<d.length;m++){const f=d[m];if(i[f]!==r[f]&&!Ml(c,f))return!0}}}else return(s||a)&&(!a||!a.$stable)?!0:r===i?!1:r?i?ef(r,i,c):!0:!!i;return!1}function ef(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]&&!Ml(n,o))return!0}return!1}function Nd({vnode:e,parent:t},n){for(;t;){const r=t.subTree;if(r.suspense&&r.suspense.activeBranch===e&&(r.el=e.el),r===e)(e=t.vnode).el=n,t=t.parent;else break}}const Md="components",$z="directives";function $(e,t){return Hd(Md,e,!0,t)||e}const P_=Symbol.for("v-ndc");function I_(e){return Ct(e)?Hd(Md,e,!1)||e:e||P_}function Vd(e){return Hd($z,e)}function Hd(e,t,n=!0,r=!1){const s=Pt||Ft;if(s){const o=s.type;if(e===Md){const a=Sc(o,!1);if(a&&(a===t||a===Xt(t)||a===wi(Xt(t))))return o}const i=tf(s[e]||o[e],t)||tf(s.appContext[e],t);return!i&&r?o:i}}function tf(e,t){return e&&(e[t]||e[Xt(t)]||e[wi(Xt(t))])}const F_=e=>e.__isSuspense;let hc=0;const Az={name:"Suspense",__isSuspense:!0,process(e,t,n,r,s,o,i,a,l,c){if(e==null)Oz(t,n,r,s,o,i,a,l,c);else{if(o&&o.deps>0){t.suspense=e.suspense;return}Dz(e,t,n,r,s,i,a,l,c)}},hydrate:Pz,create:Ud,normalize:Iz},Tz=Az;function ci(e,t){const n=e.props&&e.props[t];De(n)&&n()}function Oz(e,t,n,r,s,o,i,a,l){const{p:c,o:{createElement:d}}=l,m=d("div"),f=e.suspense=Ud(e,s,r,t,m,n,o,i,a,l);c(null,f.pendingBranch=e.ssContent,m,null,r,f,o,i),f.deps>0?(ci(e,"onPending"),ci(e,"onFallback"),c(null,e.ssFallback,t,n,r,null,o,i),Ys(f,e.ssFallback)):f.resolve(!1,!0)}function Dz(e,t,n,r,s,o,i,a,{p:l,um:c,o:{createElement:d}}){const m=t.suspense=e.suspense;m.vnode=t,t.el=e.el;const f=t.ssContent,p=t.ssFallback,{activeBranch:h,pendingBranch:_,isInFallback:b,isHydrating:C}=m;if(_)m.pendingBranch=f,Un(f,_)?(l(_,f,m.hiddenContainer,null,s,m,o,i,a),m.deps<=0?m.resolve():b&&(C||(l(h,p,n,r,s,null,o,i,a),Ys(m,p)))):(m.pendingId=hc++,C?(m.isHydrating=!1,m.activeBranch=_):c(_,s,m),m.deps=0,m.effects.length=0,m.hiddenContainer=d("div"),b?(l(null,f,m.hiddenContainer,null,s,m,o,i,a),m.deps<=0?m.resolve():(l(h,p,n,r,s,null,o,i,a),Ys(m,p))):h&&Un(f,h)?(l(h,f,n,r,s,m,o,i,a),m.resolve(!0)):(l(null,f,m.hiddenContainer,null,s,m,o,i,a),m.deps<=0&&m.resolve()));else if(h&&Un(f,h))l(h,f,n,r,s,m,o,i,a),Ys(m,f);else if(ci(t,"onPending"),m.pendingBranch=f,f.shapeFlag&512?m.pendingId=f.component.suspenseId:m.pendingId=hc++,l(null,f,m.hiddenContainer,null,s,m,o,i,a),m.deps<=0)m.resolve();else{const{timeout:w,pendingId:v}=m;w>0?setTimeout(()=>{m.pendingId===v&&m.fallback(p)},w):w===0&&m.fallback(p)}}function Ud(e,t,n,r,s,o,i,a,l,c,d=!1){const{p:m,m:f,um:p,n:h,o:{parentNode:_,remove:b}}=c;let C;const w=Fz(e);w&&t!=null&&t.pendingBranch&&(C=t.pendingId,t.deps++);const v=e.props?rl(e.props.timeout):void 0,z=o,S={vnode:e,parent:t,parentComponent:n,namespace:i,container:r,hiddenContainer:s,deps:0,pendingId:hc++,timeout:typeof v=="number"?v:-1,activeBranch:null,pendingBranch:null,isInFallback:!d,isHydrating:d,isUnmounted:!1,effects:[],resolve(x=!1,N=!1){const{vnode:D,activeBranch:P,pendingBranch:L,pendingId:Z,effects:B,parentComponent:q,container:X}=S;let pe=!1;S.isHydrating?S.isHydrating=!1:x||(pe=P&&L.transition&&L.transition.mode==="out-in",pe&&(P.transition.afterLeave=()=>{Z===S.pendingId&&(f(L,X,o===z?h(P):o,0),ol(B))}),P&&(_(P.el)!==S.hiddenContainer&&(o=h(P)),p(P,q,S,!0)),pe||f(L,X,o,0)),Ys(S,L),S.pendingBranch=null,S.isInFallback=!1;let G=S.parent,re=!1;for(;G;){if(G.pendingBranch){G.effects.push(...B),re=!0;break}G=G.parent}!re&&!pe&&ol(B),S.effects=[],w&&t&&t.pendingBranch&&C===t.pendingId&&(t.deps--,t.deps===0&&!N&&t.resolve()),ci(D,"onResolve")},fallback(x){if(!S.pendingBranch)return;const{vnode:N,activeBranch:D,parentComponent:P,container:L,namespace:Z}=S;ci(N,"onFallback");const B=h(D),q=()=>{S.isInFallback&&(m(null,x,L,B,P,null,Z,a,l),Ys(S,x))},X=x.transition&&x.transition.mode==="out-in";X&&(D.transition.afterLeave=q),S.isInFallback=!0,p(D,P,null,!0),X||q()},move(x,N,D){S.activeBranch&&f(S.activeBranch,x,N,D),S.container=x},next(){return S.activeBranch&&h(S.activeBranch)},registerDep(x,N){const D=!!S.pendingBranch;D&&S.deps++;const P=x.vnode.el;x.asyncDep.catch(L=>{ks(L,x,0)}).then(L=>{if(x.isUnmounted||S.isUnmounted||S.pendingId!==x.suspenseId)return;x.asyncResolved=!0;const{vnode:Z}=x;xc(x,L,!1),P&&(Z.el=P);const B=!P&&x.subTree.el;N(x,Z,_(P||x.subTree.el),P?null:h(x.subTree),S,i,l),B&&b(B),Nd(x,Z.el),D&&--S.deps===0&&S.resolve()})},unmount(x,N){S.isUnmounted=!0,S.activeBranch&&p(S.activeBranch,n,x,N),S.pendingBranch&&p(S.pendingBranch,n,x,N)}};return S}function Pz(e,t,n,r,s,o,i,a,l){const c=t.suspense=Ud(t,r,n,e.parentNode,document.createElement("div"),null,s,o,i,a,!0),d=l(e,c.pendingBranch=t.ssContent,n,c,o,i);return c.deps===0&&c.resolve(!1,!0),d}function Iz(e){const{shapeFlag:t,children:n}=e,r=t&32;e.ssContent=nf(r?n.default:n),e.ssFallback=r?nf(n.fallback):y(Gt)}function nf(e){let t;if(De(e)){const n=vs&&e._c;n&&(e._d=!1,k()),e=e(),n&&(e._d=!0,t=ln,hg())}return ze(e)&&(e=kz(e)),e=_n(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter(n=>n!==e)),e}function R_(e,t){t&&t.pendingBranch?ze(e)?t.effects.push(...e):t.effects.push(e):ol(e)}function Ys(e,t){e.activeBranch=t;const{vnode:n,parentComponent:r}=e;let s=t.el;for(;!s&&t.component;)t=t.component.subTree,s=t.el;n.el=s,r&&r.subTree===n&&(r.vnode.el=s,Nd(r,s))}function Fz(e){var t;return((t=e.props)==null?void 0:t.suspensible)!=null&&e.props.suspensible!==!1}const L_=Symbol.for("v-scx"),N_=()=>jn(L_);function M_(e,t){return ki(e,null,t)}function V_(e,t){return ki(e,null,{flush:"post"})}function H_(e,t){return ki(e,null,{flush:"sync"})}const Wi={};function bn(e,t,n){return ki(e,t,n)}function ki(e,t,{immediate:n,deep:r,flush:s,once:o,onTrack:i,onTrigger:a}=ut){if(t&&o){const x=t;t=(...N)=>{x(...N),S()}}const l=Ft,c=x=>r===!0?x:ls(x,r===!1?1:void 0);let d,m=!1,f=!1;if(Mt(e)?(d=()=>e.value,m=oi(e)):ms(e)?(d=()=>c(e),m=!0):ze(e)?(f=!0,m=e.some(x=>ms(x)||oi(x)),d=()=>e.map(x=>{if(Mt(x))return x.value;if(ms(x))return c(x);if(De(x))return _r(x,l,2)})):De(e)?t?d=()=>_r(e,l,2):d=()=>(p&&p(),vn(e,l,3,[h])):d=an,t&&r){const x=d;d=()=>ls(x())}let p,h=x=>{p=v.onStop=()=>{_r(x,l,4),p=v.onStop=void 0}},_;if($i)if(h=an,t?n&&vn(t,l,3,[d(),f?[]:void 0,h]):d(),s==="sync"){const x=N_();_=x.__watcherHandles||(x.__watcherHandles=[])}else return an;let b=f?new Array(e.length).fill(Wi):Wi;const C=()=>{if(!(!v.active||!v.dirty))if(t){const x=v.run();(r||m||(f?x.some((N,D)=>qn(N,b[D])):qn(x,b)))&&(p&&p(),vn(t,l,3,[x,b===Wi?void 0:f&&b[0]===Wi?[]:b,h]),b=x)}else v.run()};C.allowRecurse=!!t;let w;s==="sync"?w=C:s==="post"?w=()=>Ut(C,l&&l.suspense):(C.pre=!0,l&&(C.id=l.uid),w=()=>Nl(C));const v=new no(d,an,w),z=c_(),S=()=>{v.stop(),z&&zd(z.effects,v)};return t?n?C():b=v.run():s==="post"?Ut(v.run.bind(v),l&&l.suspense):v.run(),_&&_.push(S),S}function Rz(e,t,n){const r=this.proxy,s=Ct(e)?e.includes(".")?U_(r,e):()=>r[e]:e.bind(r,r);let o;De(t)?o=t:(o=t.handler,n=t);const i=bs(this),a=ki(s,o.bind(r),n);return i(),a}function U_(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,n=0,r){if(!ft(e)||e.__v_skip)return e;if(t&&t>0){if(n>=t)return e;n++}if(r=r||new Set,r.has(e))return e;if(r.add(e),Mt(e))ls(e.value,t,n,r);else if(ze(e))for(let s=0;s<e.length;s++)ls(e[s],t,n,r);else if(zs(e)||qs(e))e.forEach(s=>{ls(s,t,n,r)});else if(o_(e))for(const s in e)ls(e[s],t,n,r);return e}function yt(e,t){if(Pt===null)return e;const n=Wl(Pt)||Pt.proxy,r=e.dirs||(e.dirs=[]);for(let s=0;s<t.length;s++){let[o,i,a,l=ut]=t[s];o&&(De(o)&&(o={mounted:o,updated:o}),o.deep&&ls(i),r.push({dir:o,instance:n,value:i,oldValue:void 0,arg:a,modifiers:l}))}return e}function Qn(e,t,n,r){const s=e.dirs,o=t&&t.dirs;for(let i=0;i<s.length;i++){const a=s[i];o&&(a.oldValue=o[i].value);let l=a.dir[r];l&&(Cs(),vn(l,n,8,[e.el,a,e,t]),ws())}}const Ir=Symbol("_leaveCb"),Gi=Symbol("_enterCb");function Bd(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return _o(()=>{e.isMounted=!0}),jl(()=>{e.isUnmounting=!0}),e}const wn=[Function,Array],jd={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:wn,onEnter:wn,onAfterEnter:wn,onEnterCancelled:wn,onBeforeLeave:wn,onLeave:wn,onAfterLeave:wn,onLeaveCancelled:wn,onBeforeAppear:wn,onAppear:wn,onAfterAppear:wn,onAppearCancelled:wn},Lz={name:"BaseTransition",props:jd,setup(e,{slots:t}){const n=In(),r=Bd();let s;return()=>{const o=t.default&&Hl(t.default(),!0);if(!o||!o.length)return;let i=o[0];if(o.length>1){for(const _ of o)if(_.type!==Gt){i=_;break}}const a=Ye(e),{mode:l}=a;if(r.isLeaving)return vu(i);const c=rf(i);if(!c)return vu(i);const d=ro(c,a,r,n);ys(c,d);const m=n.subTree,f=m&&rf(m);let p=!1;const{getTransitionKey:h}=c.type;if(h){const _=h();s===void 0?s=_:_!==s&&(s=_,p=!0)}if(f&&f.type!==Gt&&(!Un(c,f)||p)){const _=ro(f,a,r,n);if(ys(f,_),l==="out-in")return r.isLeaving=!0,_.afterLeave=()=>{r.isLeaving=!1,n.update.active!==!1&&(n.effect.dirty=!0,n.update())},vu(i);l==="in-out"&&c.type!==Gt&&(_.delayLeave=(b,C,w)=>{const v=j_(r,f);v[String(f.key)]=f,b[Ir]=()=>{C(),b[Ir]=void 0,delete d.delayedLeave},d.delayedLeave=w})}return i}}},B_=Lz;function j_(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 ro(e,t,n,r){const{appear:s,mode:o,persisted:i=!1,onBeforeEnter:a,onEnter:l,onAfterEnter:c,onEnterCancelled:d,onBeforeLeave:m,onLeave:f,onAfterLeave:p,onLeaveCancelled:h,onBeforeAppear:_,onAppear:b,onAfterAppear:C,onAppearCancelled:w}=t,v=String(e.key),z=j_(n,e),S=(D,P)=>{D&&vn(D,r,9,P)},x=(D,P)=>{const L=P[1];S(D,P),ze(D)?D.every(Z=>Z.length<=1)&&L():D.length<=1&&L()},N={mode:o,persisted:i,beforeEnter(D){let P=a;if(!n.isMounted)if(s)P=_||a;else return;D[Ir]&&D[Ir](!0);const L=z[v];L&&Un(e,L)&&L.el[Ir]&&L.el[Ir](),S(P,[D])},enter(D){let P=l,L=c,Z=d;if(!n.isMounted)if(s)P=b||l,L=C||c,Z=w||d;else return;let B=!1;const q=D[Gi]=X=>{B||(B=!0,X?S(Z,[D]):S(L,[D]),N.delayedLeave&&N.delayedLeave(),D[Gi]=void 0)};P?x(P,[D,q]):q()},leave(D,P){const L=String(e.key);if(D[Gi]&&D[Gi](!0),n.isUnmounting)return P();S(m,[D]);let Z=!1;const B=D[Ir]=q=>{Z||(Z=!0,P(),q?S(h,[D]):S(p,[D]),D[Ir]=void 0,z[L]===e&&delete z[L])};z[L]=e,f?x(f,[D,B]):B()},clone(D){return ro(D,t,n,r)}};return N}function vu(e){if(xi(e))return e=ir(e),e.children=null,e}function rf(e){return xi(e)?e.children?e.children[0]:void 0:e}function ys(e,t){e.shapeFlag&6&&e.component?ys(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 Hl(e,t=!1,n){let r=[],s=0;for(let o=0;o<e.length;o++){let i=e[o];const a=n==null?i.key:String(n)+String(i.key!=null?i.key:o);i.type===we?(i.patchFlag&128&&s++,r=r.concat(Hl(i.children,t,a))):(t||i.type!==Gt)&&r.push(a!=null?ir(i,{key:a}):i)}if(s>1)for(let o=0;o<r.length;o++)r[o].patchFlag=-2;return r}/*! #__NO_SIDE_EFFECTS__ */function br(e,t){return De(e)?zt({name:e.name},t,{setup:e}):e}const fs=e=>!!e.type.__asyncLoader;/*! #__NO_SIDE_EFFECTS__ */function Nz(e){De(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:r,delay:s=200,timeout:o,suspensible:i=!0,onError:a}=e;let l=null,c,d=0;const m=()=>(d++,l=null,f()),f=()=>{let p;return l||(p=l=t().catch(h=>{if(h=h instanceof Error?h:new Error(String(h)),a)return new Promise((_,b)=>{a(h,()=>_(m()),()=>b(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 br({name:"AsyncComponentWrapper",__asyncLoader:f,get __asyncResolved(){return c},setup(){const p=Ft;if(c)return()=>bu(c,p);const h=w=>{l=null,ks(w,p,13,!r)};if(i&&p.suspense||$i)return f().then(w=>()=>bu(w,p)).catch(w=>(h(w),()=>r?y(r,{error:w}):null));const _=sr(!1),b=sr(),C=sr(!!s);return s&&setTimeout(()=>{C.value=!1},s),o!=null&&setTimeout(()=>{if(!_.value&&!b.value){const w=new Error(`Async component timed out after ${o}ms.`);h(w),b.value=w}},o),f().then(()=>{_.value=!0,p.parent&&xi(p.parent.vnode)&&(p.parent.effect.dirty=!0,Nl(p.parent.update))}).catch(w=>{h(w),b.value=w}),()=>{if(_.value&&c)return bu(c,p);if(b.value&&r)return y(r,{error:b.value});if(n&&!C.value)return y(n)}}})}function bu(e,t){const{ref:n,props:r,children:s,ce:o}=t.vnode,i=y(e,r,s);return i.ref=n,i.ce=o,delete t.vnode.ce,i}const xi=e=>e.type.__isKeepAlive,Mz={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){const n=In(),r=n.ctx;if(!r.renderer)return()=>{const w=t.default&&t.default();return w&&w.length===1?w[0]:w};const s=new Map,o=new Set;let i=null;const a=n.suspense,{renderer:{p:l,m:c,um:d,o:{createElement:m}}}=r,f=m("div");r.activate=(w,v,z,S,x)=>{const N=w.component;c(w,v,z,0,a),l(N.vnode,w,v,z,N,a,S,w.slotScopeIds,x),Ut(()=>{N.isDeactivated=!1,N.a&&Gs(N.a);const D=w.props&&w.props.onVnodeMounted;D&&rn(D,N.parent,w)},a)},r.deactivate=w=>{const v=w.component;c(w,f,null,1,a),Ut(()=>{v.da&&Gs(v.da);const z=w.props&&w.props.onVnodeUnmounted;z&&rn(z,v.parent,w),v.isDeactivated=!0},a)};function p(w){zu(w),d(w,n,a,!0)}function h(w){s.forEach((v,z)=>{const S=Sc(v.type);S&&(!w||!w(S))&&_(z)})}function _(w){const v=s.get(w);!i||!Un(v,i)?p(v):i&&zu(i),s.delete(w),o.delete(w)}bn(()=>[e.include,e.exclude],([w,v])=>{w&&h(z=>Ro(w,z)),v&&h(z=>!Ro(v,z))},{flush:"post",deep:!0});let b=null;const C=()=>{b!=null&&s.set(b,Cu(n.subTree))};return _o(C),Bl(C),jl(()=>{s.forEach(w=>{const{subTree:v,suspense:z}=n,S=Cu(v);if(w.type===S.type&&w.key===S.key){zu(S);const x=S.component.da;x&&Ut(x,z);return}p(w)})}),()=>{if(b=null,!t.default)return null;const w=t.default(),v=w[0];if(w.length>1)return i=null,w;if(!Gr(v)||!(v.shapeFlag&4)&&!(v.shapeFlag&128))return i=null,v;let z=Cu(v);const S=z.type,x=Sc(fs(z)?z.type.__asyncResolved||{}:S),{include:N,exclude:D,max:P}=e;if(N&&(!x||!Ro(N,x))||D&&x&&Ro(D,x))return i=z,v;const L=z.key==null?S:z.key,Z=s.get(L);return z.el&&(z=ir(z),v.shapeFlag&128&&(v.ssContent=z)),b=L,Z?(z.el=Z.el,z.component=Z.component,z.transition&&ys(z,z.transition),z.shapeFlag|=512,o.delete(L),o.add(L)):(o.add(L),P&&o.size>parseInt(P,10)&&_(o.values().next().value)),z.shapeFlag|=256,i=z,F_(v.type)?v:z}}},Vz=Mz;function Ro(e,t){return ze(e)?e.some(n=>Ro(n,t)):Ct(e)?e.split(",").includes(t):yb(e)?e.test(t):!1}function q_(e,t){G_(e,"a",t)}function W_(e,t){G_(e,"da",t)}function G_(e,t,n=Ft){const r=e.__wdc||(e.__wdc=()=>{let s=n;for(;s;){if(s.isDeactivated)return;s=s.parent}return e()});if(Ul(t,r,n),n){let s=n.parent;for(;s&&s.parent;)xi(s.parent.vnode)&&Hz(r,t,n,s),s=s.parent}}function Hz(e,t,n,r){const s=Ul(t,e,r,!0);Ei(()=>{zd(r[t],s)},n)}function zu(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function Cu(e){return e.shapeFlag&128?e.ssContent:e}function Ul(e,t,n=Ft,r=!1){if(n){const s=n[e]||(n[e]=[]),o=t.__weh||(t.__weh=(...i)=>{if(n.isUnmounted)return;Cs();const a=bs(n),l=vn(t,n,e,i);return a(),ws(),l});return r?s.unshift(o):s.push(o),o}}const zr=e=>(t,n=Ft)=>(!$i||e==="sp")&&Ul(e,(...r)=>t(...r),n),K_=zr("bm"),_o=zr("m"),Z_=zr("bu"),Bl=zr("u"),jl=zr("bum"),Ei=zr("um"),Y_=zr("sp"),J_=zr("rtg"),X_=zr("rtc");function Q_(e,t=Ft){Ul("ec",e,t)}function ct(e,t,n,r){let s;const o=n&&n[r];if(ze(e)||Ct(e)){s=new Array(e.length);for(let i=0,a=e.length;i<a;i++)s[i]=t(e[i],i,void 0,o&&o[i])}else if(typeof e=="number"){s=new Array(e);for(let i=0;i<e;i++)s[i]=t(i+1,i,void 0,o&&o[i])}else if(ft(e))if(e[Symbol.iterator])s=Array.from(e,(i,a)=>t(i,a,void 0,o&&o[a]));else{const i=Object.keys(e);s=new Array(i.length);for(let a=0,l=i.length;a<l;a++){const c=i[a];s[a]=t(e[c],c,a,o&&o[a])}}else s=[];return n&&(n[r]=s),s}function Si(e,t){for(let n=0;n<t.length;n++){const r=t[n];if(ze(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 it(e,t,n={},r,s){if(Pt.isCE||Pt.parent&&fs(Pt.parent)&&Pt.parent.isCE)return t!=="default"&&(n.name=t),y("slot",n,r&&r());let o=e[t];o&&o._c&&(o._d=!1),k();const i=o&&eg(o(n)),a=_e(we,{key:n.key||i&&i.key||`_${t}`},i||(r?r():[]),i&&e._===1?64:-2);return!s&&a.scopeId&&(a.slotScopeIds=[a.scopeId+"-s"]),o&&o._c&&(o._d=!0),a}function eg(e){return e.some(t=>Gr(t)?!(t.type===Gt||t.type===we&&!eg(t.children)):!0)?e:null}function Uz(e,t){const n={};for(const r in e)n[t&&/[A-Z]/.test(r)?`on:${r}`:Bo(r)]=e[r];return n}const _c=e=>e?bg(e)?Wl(e)||e.proxy:_c(e.parent):null,jo=zt(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=>_c(e.parent),$root:e=>_c(e.root),$emit:e=>e.emit,$options:e=>qd(e),$forceUpdate:e=>e.f||(e.f=()=>{e.effect.dirty=!0,Nl(e.update)}),$nextTick:e=>e.n||(e.n=ho.bind(e.proxy)),$watch:e=>Rz.bind(e)}),wu=(e,t)=>e!==ut&&!e.__isScriptSetup&&nt(e,t),gc={get({_:e},t){const{ctx:n,setupState:r,data:s,props:o,accessCache:i,type:a,appContext:l}=e;let c;if(t[0]!=="$"){const p=i[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(wu(r,t))return i[t]=1,r[t];if(s!==ut&&nt(s,t))return i[t]=2,s[t];if((c=e.propsOptions[0])&&nt(c,t))return i[t]=3,o[t];if(n!==ut&&nt(n,t))return i[t]=4,n[t];yc&&(i[t]=0)}}const d=jo[t];let m,f;if(d)return t==="$attrs"&&cn(e,"get",t),d(e);if((m=a.__cssModules)&&(m=m[t]))return m;if(n!==ut&&nt(n,t))return i[t]=4,n[t];if(f=l.config.globalProperties,nt(f,t))return f[t]},set({_:e},t,n){const{data:r,setupState:s,ctx:o}=e;return wu(s,t)?(s[t]=n,!0):r!==ut&&nt(r,t)?(r[t]=n,!0):nt(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}},i){let a;return!!n[i]||e!==ut&&nt(e,i)||wu(t,i)||(a=o[0])&&nt(a,i)||nt(r,i)||nt(jo,i)||nt(s.config.globalProperties,i)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:nt(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}},Bz=zt({},gc,{get(e,t){if(t!==Symbol.unscopables)return gc.get(e,t,e)},has(e,t){return t[0]!=="_"&&!wb(t)}});function jz(){return null}function qz(){return null}function Wz(e){}function Gz(e){}function Kz(){return null}function Zz(){}function Yz(e,t){return null}function Jz(){return tg().slots}function Xz(){return tg().attrs}function tg(){const e=In();return e.setupContext||(e.setupContext=wg(e))}function di(e){return ze(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}function Qz(e,t){const n=di(e);for(const r in t){if(r.startsWith("__skip"))continue;let s=n[r];s?ze(s)||De(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 e0(e,t){return!e||!t?e||t:ze(e)&&ze(t)?e.concat(t):zt({},di(e),di(t))}function t0(e,t){const n={};for(const r in e)t.includes(r)||Object.defineProperty(n,r,{enumerable:!0,get:()=>e[r]});return n}function n0(e){const t=In();let n=e();return kc(),Cd(n)&&(n=n.catch(r=>{throw bs(t),r})),[n,()=>bs(t)]}let yc=!0;function r0(e){const t=qd(e),n=e.proxy,r=e.ctx;yc=!1,t.beforeCreate&&sf(t.beforeCreate,e,"bc");const{data:s,computed:o,methods:i,watch:a,provide:l,inject:c,created:d,beforeMount:m,mounted:f,beforeUpdate:p,updated:h,activated:_,deactivated:b,beforeDestroy:C,beforeUnmount:w,destroyed:v,unmounted:z,render:S,renderTracked:x,renderTriggered:N,errorCaptured:D,serverPrefetch:P,expose:L,inheritAttrs:Z,components:B,directives:q,filters:X}=t;if(c&&s0(c,r,null),i)for(const re in i){const oe=i[re];De(oe)&&(r[re]=oe.bind(n))}if(s){const re=s.call(n,n);ft(re)&&(e.data=po(re))}if(yc=!0,o)for(const re in o){const oe=o[re],Be=De(oe)?oe.bind(n,n):De(oe.get)?oe.get.bind(n,n):an,Je=!De(oe)&&De(oe.set)?oe.set.bind(n):an,We=Lt({get:Be,set:Je});Object.defineProperty(r,re,{enumerable:!0,configurable:!0,get:()=>We.value,set:Ue=>We.value=Ue})}if(a)for(const re in a)ng(a[re],r,n,re);if(l){const re=De(l)?l.call(n):l;Reflect.ownKeys(re).forEach(oe=>{qo(oe,re[oe])})}d&&sf(d,e,"c");function G(re,oe){ze(oe)?oe.forEach(Be=>re(Be.bind(n))):oe&&re(oe.bind(n))}if(G(K_,m),G(_o,f),G(Z_,p),G(Bl,h),G(q_,_),G(W_,b),G(Q_,D),G(X_,x),G(J_,N),G(jl,w),G(Ei,z),G(Y_,P),ze(L))if(L.length){const re=e.exposed||(e.exposed={});L.forEach(oe=>{Object.defineProperty(re,oe,{get:()=>n[oe],set:Be=>n[oe]=Be})})}else e.exposed||(e.exposed={});S&&e.render===an&&(e.render=S),Z!=null&&(e.inheritAttrs=Z),B&&(e.components=B),q&&(e.directives=q)}function s0(e,t,n=an){ze(e)&&(e=vc(e));for(const r in e){const s=e[r];let o;ft(s)?"default"in s?o=jn(s.from||r,s.default,!0):o=jn(s.from||r):o=jn(s),Mt(o)?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>o.value,set:i=>o.value=i}):t[r]=o}}function sf(e,t,n){vn(ze(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function ng(e,t,n,r){const s=r.includes(".")?U_(n,r):()=>n[r];if(Ct(e)){const o=t[e];De(o)&&bn(s,o)}else if(De(e))bn(s,e.bind(n));else if(ft(e))if(ze(e))e.forEach(o=>ng(o,t,n,r));else{const o=De(e.handler)?e.handler.bind(n):t[e.handler];De(o)&&bn(s,o,e)}}function qd(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:s,optionsCache:o,config:{optionMergeStrategies:i}}=e.appContext,a=o.get(t);let l;return a?l=a:!s.length&&!n&&!r?l=t:(l={},s.length&&s.forEach(c=>al(l,c,i,!0)),al(l,t,i)),ft(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(i=>al(e,i,n,!0));for(const i in t)if(!(r&&i==="expose")){const a=o0[i]||n&&n[i];e[i]=a?a(e[i],t[i]):t[i]}return e}const o0={data:of,props:af,emits:af,methods:Lo,computed:Lo,beforeCreate:Zt,created:Zt,beforeMount:Zt,mounted:Zt,beforeUpdate:Zt,updated:Zt,beforeDestroy:Zt,beforeUnmount:Zt,destroyed:Zt,unmounted:Zt,activated:Zt,deactivated:Zt,errorCaptured:Zt,serverPrefetch:Zt,components:Lo,directives:Lo,watch:a0,provide:of,inject:i0};function of(e,t){return t?e?function(){return zt(De(e)?e.call(this,this):e,De(t)?t.call(this,this):t)}:t:e}function i0(e,t){return Lo(vc(e),vc(t))}function vc(e){if(ze(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function Zt(e,t){return e?[...new Set([].concat(e,t))]:t}function Lo(e,t){return e?zt(Object.create(null),e,t):t}function af(e,t){return e?ze(e)&&ze(t)?[...new Set([...e,...t])]:zt(Object.create(null),di(e),di(t??{})):t}function a0(e,t){if(!e)return t;if(!t)return e;const n=zt(Object.create(null),e);for(const r in t)n[r]=Zt(e[r],t[r]);return n}function rg(){return{app:null,config:{isNativeTag:_b,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 l0=0;function u0(e,t){return function(r,s=null){De(r)||(r=zt({},r)),s!=null&&!ft(s)&&(s=null);const o=rg(),i=new WeakSet;let a=!1;const l=o.app={_uid:l0++,_component:r,_props:s,_container:null,_context:o,_instance:null,version:xg,get config(){return o.config},set config(c){},use(c,...d){return i.has(c)||(c&&De(c.install)?(i.add(c),c.install(l,...d)):De(c)&&(i.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,m){if(!a){const f=y(r,s);return f.appContext=o,m===!0?m="svg":m===!1&&(m=void 0),d&&t?t(f,c):e(f,c,m),a=!0,l._container=c,c.__vue_app__=l,Wl(f.component)||f.component.proxy}},unmount(){a&&(e(null,l._container),delete l._container.__vue_app__)},provide(c,d){return o.provides[c]=d,l},runWithContext(c){const d=Js;Js=l;try{return c()}finally{Js=d}}};return l}}let Js=null;function qo(e,t){if(Ft){let n=Ft.provides;const r=Ft.parent&&Ft.parent.provides;r===n&&(n=Ft.provides=Object.create(r)),n[e]=t}}function jn(e,t,n=!1){const r=Ft||Pt;if(r||Js){const s=r?r.parent==null?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides:Js._context.provides;if(s&&e in s)return s[e];if(arguments.length>1)return n&&De(t)?t.call(r&&r.proxy):t}}function c0(){return!!(Ft||Pt||Js)}function d0(e,t,n,r=!1){const s={},o={};nl(o,ql,1),e.propsDefaults=Object.create(null),sg(e,t,s,o);for(const i in e.propsOptions[0])i in s||(s[i]=void 0);n?e.props=r?s:Ad(s):e.type.props?e.props=s:e.props=o,e.attrs=o}function m0(e,t,n,r){const{props:s,attrs:o,vnode:{patchFlag:i}}=e,a=Ye(s),[l]=e.propsOptions;let c=!1;if((r||i>0)&&!(i&16)){if(i&8){const d=e.vnode.dynamicProps;for(let m=0;m<d.length;m++){let f=d[m];if(Ml(e.emitsOptions,f))continue;const p=t[f];if(l)if(nt(o,f))p!==o[f]&&(o[f]=p,c=!0);else{const h=Xt(f);s[h]=bc(l,a,h,p,e,!1)}else p!==o[f]&&(o[f]=p,c=!0)}}}else{sg(e,t,s,o)&&(c=!0);let d;for(const m in a)(!t||!nt(t,m)&&((d=gn(m))===m||!nt(t,d)))&&(l?n&&(n[m]!==void 0||n[d]!==void 0)&&(s[m]=bc(l,a,m,void 0,e,!0)):delete s[m]);if(o!==a)for(const m in o)(!t||!nt(t,m))&&(delete o[m],c=!0)}c&&hr(e,"set","$attrs")}function sg(e,t,n,r){const[s,o]=e.propsOptions;let i=!1,a;if(t)for(let l in t){if(Ws(l))continue;const c=t[l];let d;s&&nt(s,d=Xt(l))?!o||!o.includes(d)?n[d]=c:(a||(a={}))[d]=c:Ml(e.emitsOptions,l)||(!(l in r)||c!==r[l])&&(r[l]=c,i=!0)}if(o){const l=Ye(n),c=a||ut;for(let d=0;d<o.length;d++){const m=o[d];n[m]=bc(s,l,m,c[m],e,!nt(c,m))}}return i}function bc(e,t,n,r,s,o){const i=e[n];if(i!=null){const a=nt(i,"default");if(a&&r===void 0){const l=i.default;if(i.type!==Function&&!i.skipFactory&&De(l)){const{propsDefaults:c}=s;if(n in c)r=c[n];else{const d=bs(s);r=c[n]=l.call(null,t),d()}}else r=l}i[0]&&(o&&!a?r=!1:i[1]&&(r===""||r===gn(n))&&(r=!0))}return r}function og(e,t,n=!1){const r=t.propsCache,s=r.get(e);if(s)return s;const o=e.props,i={},a=[];let l=!1;if(!De(e)){const d=m=>{l=!0;const[f,p]=og(m,t,!0);zt(i,f),p&&a.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 ft(e)&&r.set(e,js),js;if(ze(o))for(let d=0;d<o.length;d++){const m=Xt(o[d]);lf(m)&&(i[m]=ut)}else if(o)for(const d in o){const m=Xt(d);if(lf(m)){const f=o[d],p=i[m]=ze(f)||De(f)?{type:f}:zt({},f);if(p){const h=df(Boolean,p.type),_=df(String,p.type);p[0]=h>-1,p[1]=_<0||h<_,(h>-1||nt(p,"default"))&&a.push(m)}}}const c=[i,a];return ft(e)&&r.set(e,c),c}function lf(e){return e[0]!=="$"&&!Ws(e)}function uf(e){return e===null?"null":typeof e=="function"?e.name||"":typeof e=="object"&&e.constructor&&e.constructor.name||""}function cf(e,t){return uf(e)===uf(t)}function df(e,t){return ze(t)?t.findIndex(n=>cf(n,e)):De(t)&&cf(t,e)?0:-1}const ig=e=>e[0]==="_"||e==="$stable",Wd=e=>ze(e)?e.map(_n):[_n(e)],f0=(e,t,n)=>{if(t._n)return t;const r=E((...s)=>Wd(t(...s)),n);return r._c=!1,r},ag=(e,t,n)=>{const r=e._ctx;for(const s in e){if(ig(s))continue;const o=e[s];if(De(o))t[s]=f0(s,o,r);else if(o!=null){const i=Wd(o);t[s]=()=>i}}},lg=(e,t)=>{const n=Wd(t);e.slots.default=()=>n},p0=(e,t)=>{if(e.vnode.shapeFlag&32){const n=t._;n?(e.slots=Ye(t),nl(t,"_",n)):ag(t,e.slots={})}else e.slots={},t&&lg(e,t);nl(e.slots,ql,1)},h0=(e,t,n)=>{const{vnode:r,slots:s}=e;let o=!0,i=ut;if(r.shapeFlag&32){const a=t._;a?n&&a===1?o=!1:(zt(s,t),!n&&a===1&&delete s._):(o=!t.$stable,ag(t,s)),i=t}else t&&(lg(e,t),i={default:1});if(o)for(const a in s)!ig(a)&&i[a]==null&&delete s[a]};function ll(e,t,n,r,s=!1){if(ze(e)){e.forEach((f,p)=>ll(f,t&&(ze(t)?t[p]:t),n,r,s));return}if(fs(r)&&!s)return;const o=r.shapeFlag&4?Wl(r.component)||r.component.proxy:r.el,i=s?null:o,{i:a,r:l}=e,c=t&&t.r,d=a.refs===ut?a.refs={}:a.refs,m=a.setupState;if(c!=null&&c!==l&&(Ct(c)?(d[c]=null,nt(m,c)&&(m[c]=null)):Mt(c)&&(c.value=null)),De(l))_r(l,a,12,[i,d]);else{const f=Ct(l),p=Mt(l);if(f||p){const h=()=>{if(e.f){const _=f?nt(m,l)?m[l]:d[l]:l.value;s?ze(_)&&zd(_,o):ze(_)?_.includes(o)||_.push(o):f?(d[l]=[o],nt(m,l)&&(m[l]=d[l])):(l.value=[o],e.k&&(d[e.k]=l.value))}else f?(d[l]=i,nt(m,l)&&(m[l]=i)):p&&(l.value=i,e.k&&(d[e.k]=i))};i?(h.id=-1,Ut(h,n)):h()}}}let kr=!1;const _0=e=>e.namespaceURI.includes("svg")&&e.tagName!=="foreignObject",g0=e=>e.namespaceURI.includes("MathML"),Ki=e=>{if(_0(e))return"svg";if(g0(e))return"mathml"},Zi=e=>e.nodeType===8;function y0(e){const{mt:t,p:n,o:{patchProp:r,createText:s,nextSibling:o,parentNode:i,remove:a,insert:l,createComment:c}}=e,d=(v,z)=>{if(!z.hasChildNodes()){n(null,v,z),il(),z._vnode=v;return}kr=!1,m(z.firstChild,v,null,null,null),il(),z._vnode=v,kr&&console.error("Hydration completed but contains mismatches.")},m=(v,z,S,x,N,D=!1)=>{const P=Zi(v)&&v.data==="[",L=()=>_(v,z,S,x,N,P),{type:Z,ref:B,shapeFlag:q,patchFlag:X}=z;let pe=v.nodeType;z.el=v,X===-2&&(D=!1,z.dynamicChildren=null);let G=null;switch(Z){case Wr:pe!==3?z.children===""?(l(z.el=s(""),i(v),v),G=v):G=L():(v.data!==z.children&&(kr=!0,v.data=z.children),G=o(v));break;case Gt:w(v)?(G=o(v),C(z.el=v.content.firstChild,v,S)):pe!==8||P?G=L():G=o(v);break;case ps:if(P&&(v=o(v),pe=v.nodeType),pe===1||pe===3){G=v;const re=!z.children.length;for(let oe=0;oe<z.staticCount;oe++)re&&(z.children+=G.nodeType===1?G.outerHTML:G.data),oe===z.staticCount-1&&(z.anchor=G),G=o(G);return P?o(G):G}else L();break;case we:P?G=h(v,z,S,x,N,D):G=L();break;default:if(q&1)(pe!==1||z.type.toLowerCase()!==v.tagName.toLowerCase())&&!w(v)?G=L():G=f(v,z,S,x,N,D);else if(q&6){z.slotScopeIds=N;const re=i(v);if(P?G=b(v):Zi(v)&&v.data==="teleport start"?G=b(v,v.data,"teleport end"):G=o(v),t(z,re,null,S,x,Ki(re),D),fs(z)){let oe;P?(oe=y(we),oe.anchor=G?G.previousSibling:re.lastChild):oe=v.nodeType===3?gt(""):y("div"),oe.el=v,z.component.subTree=oe}}else q&64?pe!==8?G=L():G=z.type.hydrate(v,z,S,x,N,D,e,p):q&128&&(G=z.type.hydrate(v,z,S,x,Ki(i(v)),N,D,e,m))}return B!=null&&ll(B,null,x,z),G},f=(v,z,S,x,N,D)=>{D=D||!!z.dynamicChildren;const{type:P,props:L,patchFlag:Z,shapeFlag:B,dirs:q,transition:X}=z,pe=P==="input"||P==="option";if(pe||Z!==-1){q&&Qn(z,null,S,"created");let G=!1;if(w(v)){G=mg(x,X)&&S&&S.vnode.props&&S.vnode.props.appear;const oe=v.content.firstChild;G&&X.beforeEnter(oe),C(oe,v,S),z.el=v=oe}if(B&16&&!(L&&(L.innerHTML||L.textContent))){let oe=p(v.firstChild,z,v,S,x,N,D);for(;oe;){kr=!0;const Be=oe;oe=oe.nextSibling,a(Be)}}else B&8&&v.textContent!==z.children&&(kr=!0,v.textContent=z.children);if(L)if(pe||!D||Z&48)for(const oe in L)(pe&&(oe.endsWith("value")||oe==="indeterminate")||Ci(oe)&&!Ws(oe)||oe[0]===".")&&r(v,oe,null,L[oe],void 0,void 0,S);else L.onClick&&r(v,"onClick",null,L.onClick,void 0,void 0,S);let re;(re=L&&L.onVnodeBeforeMount)&&rn(re,S,z),q&&Qn(z,null,S,"beforeMount"),((re=L&&L.onVnodeMounted)||q||G)&&R_(()=>{re&&rn(re,S,z),G&&X.enter(v),q&&Qn(z,null,S,"mounted")},x)}return v.nextSibling},p=(v,z,S,x,N,D,P)=>{P=P||!!z.dynamicChildren;const L=z.children,Z=L.length;for(let B=0;B<Z;B++){const q=P?L[B]:L[B]=_n(L[B]);if(v)v=m(v,q,x,N,D,P);else{if(q.type===Wr&&!q.children)continue;kr=!0,n(null,q,S,null,x,N,Ki(S),D)}}return v},h=(v,z,S,x,N,D)=>{const{slotScopeIds:P}=z;P&&(N=N?N.concat(P):P);const L=i(v),Z=p(o(v),z,L,S,x,N,D);return Z&&Zi(Z)&&Z.data==="]"?o(z.anchor=Z):(kr=!0,l(z.anchor=c("]"),L,Z),Z)},_=(v,z,S,x,N,D)=>{if(kr=!0,z.el=null,D){const Z=b(v);for(;;){const B=o(v);if(B&&B!==Z)a(B);else break}}const P=o(v),L=i(v);return a(v),n(null,z,L,P,S,x,Ki(L),N),P},b=(v,z="[",S="]")=>{let x=0;for(;v;)if(v=o(v),v&&Zi(v)&&(v.data===z&&x++,v.data===S)){if(x===0)return o(v);x--}return v},C=(v,z,S)=>{const x=z.parentNode;x&&x.replaceChild(v,z);let N=S;for(;N;)N.vnode.el===z&&(N.vnode.el=N.subTree.el=v),N=N.parent},w=v=>v.nodeType===1&&v.tagName.toLowerCase()==="template";return[d,m]}const Ut=R_;function ug(e){return dg(e)}function cg(e){return dg(e,y0)}function dg(e,t){const n=i_();n.__VUE__=!0;const{insert:r,remove:s,patchProp:o,createElement:i,createText:a,createComment:l,setText:c,setElementText:d,parentNode:m,nextSibling:f,setScopeId:p=an,insertStaticContent:h}=e,_=(A,O,H,Y=null,K=null,ae=null,de=void 0,ne=null,le=!!O.dynamicChildren)=>{if(A===O)return;A&&!Un(A,O)&&(Y=W(A),Ue(A,K,ae,!0),A=null),O.patchFlag===-2&&(le=!1,O.dynamicChildren=null);const{type:Q,ref:he,shapeFlag:me}=O;switch(Q){case Wr:b(A,O,H,Y);break;case Gt:C(A,O,H,Y);break;case ps:A==null&&w(O,H,Y,de);break;case we:B(A,O,H,Y,K,ae,de,ne,le);break;default:me&1?S(A,O,H,Y,K,ae,de,ne,le):me&6?q(A,O,H,Y,K,ae,de,ne,le):(me&64||me&128)&&Q.process(A,O,H,Y,K,ae,de,ne,le,ge)}he!=null&&K&&ll(he,A&&A.ref,ae,O||A,!O)},b=(A,O,H,Y)=>{if(A==null)r(O.el=a(O.children),H,Y);else{const K=O.el=A.el;O.children!==A.children&&c(K,O.children)}},C=(A,O,H,Y)=>{A==null?r(O.el=l(O.children||""),H,Y):O.el=A.el},w=(A,O,H,Y)=>{[A.el,A.anchor]=h(A.children,O,H,Y,A.el,A.anchor)},v=({el:A,anchor:O},H,Y)=>{let K;for(;A&&A!==O;)K=f(A),r(A,H,Y),A=K;r(O,H,Y)},z=({el:A,anchor:O})=>{let H;for(;A&&A!==O;)H=f(A),s(A),A=H;s(O)},S=(A,O,H,Y,K,ae,de,ne,le)=>{O.type==="svg"?de="svg":O.type==="math"&&(de="mathml"),A==null?x(O,H,Y,K,ae,de,ne,le):P(A,O,K,ae,de,ne,le)},x=(A,O,H,Y,K,ae,de,ne)=>{let le,Q;const{props:he,shapeFlag:me,transition:R,dirs:j}=A;if(le=A.el=i(A.type,ae,he&&he.is,he),me&8?d(le,A.children):me&16&&D(A.children,le,null,Y,K,ku(A,ae),de,ne),j&&Qn(A,null,Y,"created"),N(le,A,A.scopeId,de,Y),he){for(const Se in he)Se!=="value"&&!Ws(Se)&&o(le,Se,null,he[Se],ae,A.children,Y,K,Ne);"value"in he&&o(le,"value",null,he.value,ae),(Q=he.onVnodeBeforeMount)&&rn(Q,Y,A)}j&&Qn(A,null,Y,"beforeMount");const ye=mg(K,R);ye&&R.beforeEnter(le),r(le,O,H),((Q=he&&he.onVnodeMounted)||ye||j)&&Ut(()=>{Q&&rn(Q,Y,A),ye&&R.enter(le),j&&Qn(A,null,Y,"mounted")},K)},N=(A,O,H,Y,K)=>{if(H&&p(A,H),Y)for(let ae=0;ae<Y.length;ae++)p(A,Y[ae]);if(K){let ae=K.subTree;if(O===ae){const de=K.vnode;N(A,de,de.scopeId,de.slotScopeIds,K.parent)}}},D=(A,O,H,Y,K,ae,de,ne,le=0)=>{for(let Q=le;Q<A.length;Q++){const he=A[Q]=ne?Fr(A[Q]):_n(A[Q]);_(null,he,O,H,Y,K,ae,de,ne)}},P=(A,O,H,Y,K,ae,de)=>{const ne=O.el=A.el;let{patchFlag:le,dynamicChildren:Q,dirs:he}=O;le|=A.patchFlag&16;const me=A.props||ut,R=O.props||ut;let j;if(H&&Qr(H,!1),(j=R.onVnodeBeforeUpdate)&&rn(j,H,O,A),he&&Qn(O,A,H,"beforeUpdate"),H&&Qr(H,!0),Q?L(A.dynamicChildren,Q,ne,H,Y,ku(O,K),ae):de||oe(A,O,ne,null,H,Y,ku(O,K),ae,!1),le>0){if(le&16)Z(ne,O,me,R,H,Y,K);else if(le&2&&me.class!==R.class&&o(ne,"class",null,R.class,K),le&4&&o(ne,"style",me.style,R.style,K),le&8){const ye=O.dynamicProps;for(let Se=0;Se<ye.length;Se++){const I=ye[Se],F=me[I],U=R[I];(U!==F||I==="value")&&o(ne,I,F,U,K,A.children,H,Y,Ne)}}le&1&&A.children!==O.children&&d(ne,O.children)}else!de&&Q==null&&Z(ne,O,me,R,H,Y,K);((j=R.onVnodeUpdated)||he)&&Ut(()=>{j&&rn(j,H,O,A),he&&Qn(O,A,H,"updated")},Y)},L=(A,O,H,Y,K,ae,de)=>{for(let ne=0;ne<O.length;ne++){const le=A[ne],Q=O[ne],he=le.el&&(le.type===we||!Un(le,Q)||le.shapeFlag&70)?m(le.el):H;_(le,Q,he,null,Y,K,ae,de,!0)}},Z=(A,O,H,Y,K,ae,de)=>{if(H!==Y){if(H!==ut)for(const ne in H)!Ws(ne)&&!(ne in Y)&&o(A,ne,H[ne],null,de,O.children,K,ae,Ne);for(const ne in Y){if(Ws(ne))continue;const le=Y[ne],Q=H[ne];le!==Q&&ne!=="value"&&o(A,ne,Q,le,de,O.children,K,ae,Ne)}"value"in Y&&o(A,"value",H.value,Y.value,de)}},B=(A,O,H,Y,K,ae,de,ne,le)=>{const Q=O.el=A?A.el:a(""),he=O.anchor=A?A.anchor:a("");let{patchFlag:me,dynamicChildren:R,slotScopeIds:j}=O;j&&(ne=ne?ne.concat(j):j),A==null?(r(Q,H,Y),r(he,H,Y),D(O.children||[],H,he,K,ae,de,ne,le)):me>0&&me&64&&R&&A.dynamicChildren?(L(A.dynamicChildren,R,H,K,ae,de,ne),(O.key!=null||K&&O===K.subTree)&&Gd(A,O,!0)):oe(A,O,H,he,K,ae,de,ne,le)},q=(A,O,H,Y,K,ae,de,ne,le)=>{O.slotScopeIds=ne,A==null?O.shapeFlag&512?K.ctx.activate(O,H,Y,de,le):X(O,H,Y,K,ae,de,le):pe(A,O,le)},X=(A,O,H,Y,K,ae,de)=>{const ne=A.component=vg(A,Y,K);if(xi(A)&&(ne.ctx.renderer=ge),zg(ne),ne.asyncDep){if(K&&K.registerDep(ne,G),!A.el){const le=ne.subTree=y(Gt);C(null,le,O,H)}}else G(ne,A,O,H,K,ae,de)},pe=(A,O,H)=>{const Y=O.component=A.component;if(Sz(A,O,H))if(Y.asyncDep&&!Y.asyncResolved){re(Y,O,H);return}else Y.next=O,yz(Y.update),Y.effect.dirty=!0,Y.update();else O.el=A.el,Y.vnode=O},G=(A,O,H,Y,K,ae,de)=>{const ne=()=>{if(A.isMounted){let{next:he,bu:me,u:R,parent:j,vnode:ye}=A;{const ee=fg(A);if(ee){he&&(he.el=ye.el,re(A,he,de)),ee.asyncDep.then(()=>{A.isUnmounted||ne()});return}}let Se=he,I;Qr(A,!1),he?(he.el=ye.el,re(A,he,de)):he=ye,me&&Gs(me),(I=he.props&&he.props.onVnodeBeforeUpdate)&&rn(I,j,he,ye),Qr(A,!0);const F=Ba(A),U=A.subTree;A.subTree=F,_(U,F,m(U.el),W(U),A,K,ae),he.el=F.el,Se===null&&Nd(A,F.el),R&&Ut(R,K),(I=he.props&&he.props.onVnodeUpdated)&&Ut(()=>rn(I,j,he,ye),K)}else{let he;const{el:me,props:R}=O,{bm:j,m:ye,parent:Se}=A,I=fs(O);if(Qr(A,!1),j&&Gs(j),!I&&(he=R&&R.onVnodeBeforeMount)&&rn(he,Se,O),Qr(A,!0),me&&Ke){const F=()=>{A.subTree=Ba(A),Ke(me,A.subTree,A,K,null)};I?O.type.__asyncLoader().then(()=>!A.isUnmounted&&F()):F()}else{const F=A.subTree=Ba(A);_(null,F,H,Y,A,K,ae),O.el=F.el}if(ye&&Ut(ye,K),!I&&(he=R&&R.onVnodeMounted)){const F=O;Ut(()=>rn(he,Se,F),K)}(O.shapeFlag&256||Se&&fs(Se.vnode)&&Se.vnode.shapeFlag&256)&&A.a&&Ut(A.a,K),A.isMounted=!0,O=H=Y=null}},le=A.effect=new no(ne,an,()=>Nl(Q),A.scope),Q=A.update=()=>{le.dirty&&le.run()};Q.id=A.uid,Qr(A,!0),Q()},re=(A,O,H)=>{O.component=A;const Y=A.vnode.props;A.vnode=O,A.next=null,m0(A,O.props,Y,H),h0(A,O.children,H),Cs(),Qm(A),ws()},oe=(A,O,H,Y,K,ae,de,ne,le=!1)=>{const Q=A&&A.children,he=A?A.shapeFlag:0,me=O.children,{patchFlag:R,shapeFlag:j}=O;if(R>0){if(R&128){Je(Q,me,H,Y,K,ae,de,ne,le);return}else if(R&256){Be(Q,me,H,Y,K,ae,de,ne,le);return}}j&8?(he&16&&Ne(Q,K,ae),me!==Q&&d(H,me)):he&16?j&16?Je(Q,me,H,Y,K,ae,de,ne,le):Ne(Q,K,ae,!0):(he&8&&d(H,""),j&16&&D(me,H,Y,K,ae,de,ne,le))},Be=(A,O,H,Y,K,ae,de,ne,le)=>{A=A||js,O=O||js;const Q=A.length,he=O.length,me=Math.min(Q,he);let R;for(R=0;R<me;R++){const j=O[R]=le?Fr(O[R]):_n(O[R]);_(A[R],j,H,null,K,ae,de,ne,le)}Q>he?Ne(A,K,ae,!0,!1,me):D(O,H,Y,K,ae,de,ne,le,me)},Je=(A,O,H,Y,K,ae,de,ne,le)=>{let Q=0;const he=O.length;let me=A.length-1,R=he-1;for(;Q<=me&&Q<=R;){const j=A[Q],ye=O[Q]=le?Fr(O[Q]):_n(O[Q]);if(Un(j,ye))_(j,ye,H,null,K,ae,de,ne,le);else break;Q++}for(;Q<=me&&Q<=R;){const j=A[me],ye=O[R]=le?Fr(O[R]):_n(O[R]);if(Un(j,ye))_(j,ye,H,null,K,ae,de,ne,le);else break;me--,R--}if(Q>me){if(Q<=R){const j=R+1,ye=j<he?O[j].el:Y;for(;Q<=R;)_(null,O[Q]=le?Fr(O[Q]):_n(O[Q]),H,ye,K,ae,de,ne,le),Q++}}else if(Q>R)for(;Q<=me;)Ue(A[Q],K,ae,!0),Q++;else{const j=Q,ye=Q,Se=new Map;for(Q=ye;Q<=R;Q++){const Ie=O[Q]=le?Fr(O[Q]):_n(O[Q]);Ie.key!=null&&Se.set(Ie.key,Q)}let I,F=0;const U=R-ye+1;let ee=!1,be=0;const $e=new Array(U);for(Q=0;Q<U;Q++)$e[Q]=0;for(Q=j;Q<=me;Q++){const Ie=A[Q];if(F>=U){Ue(Ie,K,ae,!0);continue}let rt;if(Ie.key!=null)rt=Se.get(Ie.key);else for(I=ye;I<=R;I++)if($e[I-ye]===0&&Un(Ie,O[I])){rt=I;break}rt===void 0?Ue(Ie,K,ae,!0):($e[rt-ye]=Q+1,rt>=be?be=rt:ee=!0,_(Ie,O[rt],H,null,K,ae,de,ne,le),F++)}const Fe=ee?v0($e):js;for(I=Fe.length-1,Q=U-1;Q>=0;Q--){const Ie=ye+Q,rt=O[Ie],Te=Ie+1<he?O[Ie+1].el:Y;$e[Q]===0?_(null,rt,H,Te,K,ae,de,ne,le):ee&&(I<0||Q!==Fe[I]?We(rt,H,Te,2):I--)}}},We=(A,O,H,Y,K=null)=>{const{el:ae,type:de,transition:ne,children:le,shapeFlag:Q}=A;if(Q&6){We(A.component.subTree,O,H,Y);return}if(Q&128){A.suspense.move(O,H,Y);return}if(Q&64){de.move(A,O,H,ge);return}if(de===we){r(ae,O,H);for(let me=0;me<le.length;me++)We(le[me],O,H,Y);r(A.anchor,O,H);return}if(de===ps){v(A,O,H);return}if(Y!==2&&Q&1&&ne)if(Y===0)ne.beforeEnter(ae),r(ae,O,H),Ut(()=>ne.enter(ae),K);else{const{leave:me,delayLeave:R,afterLeave:j}=ne,ye=()=>r(ae,O,H),Se=()=>{me(ae,()=>{ye(),j&&j()})};R?R(ae,ye,Se):Se()}else r(ae,O,H)},Ue=(A,O,H,Y=!1,K=!1)=>{const{type:ae,props:de,ref:ne,children:le,dynamicChildren:Q,shapeFlag:he,patchFlag:me,dirs:R}=A;if(ne!=null&&ll(ne,null,H,A,!0),he&256){O.ctx.deactivate(A);return}const j=he&1&&R,ye=!fs(A);let Se;if(ye&&(Se=de&&de.onVnodeBeforeUnmount)&&rn(Se,O,A),he&6)ht(A.component,H,Y);else{if(he&128){A.suspense.unmount(H,Y);return}j&&Qn(A,null,O,"beforeUnmount"),he&64?A.type.remove(A,O,H,K,ge,Y):Q&&(ae!==we||me>0&&me&64)?Ne(Q,O,H,!1,!0):(ae===we&&me&384||!K&&he&16)&&Ne(le,O,H),Y&&dt(A)}(ye&&(Se=de&&de.onVnodeUnmounted)||j)&&Ut(()=>{Se&&rn(Se,O,A),j&&Qn(A,null,O,"unmounted")},H)},dt=A=>{const{type:O,el:H,anchor:Y,transition:K}=A;if(O===we){pt(H,Y);return}if(O===ps){z(A);return}const ae=()=>{s(H),K&&!K.persisted&&K.afterLeave&&K.afterLeave()};if(A.shapeFlag&1&&K&&!K.persisted){const{leave:de,delayLeave:ne}=K,le=()=>de(H,ae);ne?ne(A.el,ae,le):le()}else ae()},pt=(A,O)=>{let H;for(;A!==O;)H=f(A),s(A),A=H;s(O)},ht=(A,O,H)=>{const{bum:Y,scope:K,update:ae,subTree:de,um:ne}=A;Y&&Gs(Y),K.stop(),ae&&(ae.active=!1,Ue(de,A,O,H)),ne&&Ut(ne,O),Ut(()=>{A.isUnmounted=!0},O),O&&O.pendingBranch&&!O.isUnmounted&&A.asyncDep&&!A.asyncResolved&&A.suspenseId===O.pendingId&&(O.deps--,O.deps===0&&O.resolve())},Ne=(A,O,H,Y=!1,K=!1,ae=0)=>{for(let de=ae;de<A.length;de++)Ue(A[de],O,H,Y,K)},W=A=>A.shapeFlag&6?W(A.component.subTree):A.shapeFlag&128?A.suspense.next():f(A.anchor||A.el);let ue=!1;const ie=(A,O,H)=>{A==null?O._vnode&&Ue(O._vnode,null,null,!0):_(O._vnode||null,A,O,null,null,null,H),ue||(ue=!0,Qm(),il(),ue=!1),O._vnode=A},ge={p:_,um:Ue,m:We,r:dt,mt:X,mc:D,pc:oe,pbc:L,n:W,o:e};let Ve,Ke;return t&&([Ve,Ke]=t(ge)),{render:ie,hydrate:Ve,createApp:u0(ie,Ve)}}function ku({type:e,props:t},n){return n==="svg"&&e==="foreignObject"||n==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function Qr({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function mg(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Gd(e,t,n=!1){const r=e.children,s=t.children;if(ze(r)&&ze(s))for(let o=0;o<r.length;o++){const i=r[o];let a=s[o];a.shapeFlag&1&&!a.dynamicChildren&&((a.patchFlag<=0||a.patchFlag===32)&&(a=s[o]=Fr(s[o]),a.el=i.el),n||Gd(i,a)),a.type===Wr&&(a.el=i.el)}}function v0(e){const t=e.slice(),n=[0];let r,s,o,i,a;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,i=n.length-1;o<i;)a=o+i>>1,e[n[a]]<c?o=a+1:i=a;c<e[n[o]]&&(o>0&&(t[r]=n[o-1]),n[o]=r)}}for(o=n.length,i=n[o-1];o-- >0;)n[o]=i,i=t[i];return n}function fg(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:fg(t)}const b0=e=>e.__isTeleport,Wo=e=>e&&(e.disabled||e.disabled===""),mf=e=>typeof SVGElement<"u"&&e instanceof SVGElement,ff=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,zc=(e,t)=>{const n=e&&e.to;return Ct(n)?t?t(n):null:n},z0={name:"Teleport",__isTeleport:!0,process(e,t,n,r,s,o,i,a,l,c){const{mc:d,pc:m,pbc:f,o:{insert:p,querySelector:h,createText:_,createComment:b}}=c,C=Wo(t.props);let{shapeFlag:w,children:v,dynamicChildren:z}=t;if(e==null){const S=t.el=_(""),x=t.anchor=_("");p(S,n,r),p(x,n,r);const N=t.target=zc(t.props,h),D=t.targetAnchor=_("");N&&(p(D,N),i==="svg"||mf(N)?i="svg":(i==="mathml"||ff(N))&&(i="mathml"));const P=(L,Z)=>{w&16&&d(v,L,Z,s,o,i,a,l)};C?P(n,x):N&&P(N,D)}else{t.el=e.el;const S=t.anchor=e.anchor,x=t.target=e.target,N=t.targetAnchor=e.targetAnchor,D=Wo(e.props),P=D?n:x,L=D?S:N;if(i==="svg"||mf(x)?i="svg":(i==="mathml"||ff(x))&&(i="mathml"),z?(f(e.dynamicChildren,z,P,s,o,i,a),Gd(e,t,!0)):l||m(e,t,P,L,s,o,i,a,!1),C)D?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):Yi(t,n,S,c,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const Z=t.target=zc(t.props,h);Z&&Yi(t,Z,null,c,0)}else D&&Yi(t,x,N,c,1)}pg(t)},remove(e,t,n,r,{um:s,o:{remove:o}},i){const{shapeFlag:a,children:l,anchor:c,targetAnchor:d,target:m,props:f}=e;if(m&&o(d),i&&o(c),a&16){const p=i||!Wo(f);for(let h=0;h<l.length;h++){const _=l[h];s(_,t,n,p,!!_.dynamicChildren)}}},move:Yi,hydrate:C0};function Yi(e,t,n,{o:{insert:r},m:s},o=2){o===0&&r(e.targetAnchor,t,n);const{el:i,anchor:a,shapeFlag:l,children:c,props:d}=e,m=o===2;if(m&&r(i,t,n),(!m||Wo(d))&&l&16)for(let f=0;f<c.length;f++)s(c[f],t,n,2);m&&r(a,t,n)}function C0(e,t,n,r,s,o,{o:{nextSibling:i,parentNode:a,querySelector:l}},c){const d=t.target=zc(t.props,l);if(d){const m=d._lpa||d.firstChild;if(t.shapeFlag&16)if(Wo(t.props))t.anchor=c(i(e),t,a(e),n,r,s,o),t.targetAnchor=m;else{t.anchor=i(e);let f=m;for(;f;)if(f=i(f),f&&f.nodeType===8&&f.data==="teleport anchor"){t.targetAnchor=f,d._lpa=t.targetAnchor&&i(t.targetAnchor);break}c(m,t,d,n,r,s,o)}pg(t)}return t.anchor&&i(t.anchor)}const Yr=z0;function pg(e){const t=e.ctx;if(t&&t.ut){let n=e.children[0].el;for(;n&&n!==e.targetAnchor;)n.nodeType===1&&n.setAttribute("data-v-owner",t.uid),n=n.nextSibling;t.ut()}}const we=Symbol.for("v-fgt"),Wr=Symbol.for("v-txt"),Gt=Symbol.for("v-cmt"),ps=Symbol.for("v-stc"),Go=[];let ln=null;function k(e=!1){Go.push(ln=e?null:[])}function hg(){Go.pop(),ln=Go[Go.length-1]||null}let vs=1;function Cc(e){vs+=e}function _g(e){return e.dynamicChildren=vs>0?ln||js:null,hg(),vs>0&&ln&&ln.push(e),e}function T(e,t,n,r,s,o){return _g(u(e,t,n,r,s,o,!0))}function _e(e,t,n,r,s){return _g(y(e,t,n,r,s,!0))}function Gr(e){return e?e.__v_isVNode===!0:!1}function Un(e,t){return e.type===t.type&&e.key===t.key}function w0(e){}const ql="__vInternal",gg=({key:e})=>e??null,ja=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?Ct(e)||Mt(e)||De(e)?{i:Pt,r:e,k:t,f:!!n}:e:null);function u(e,t=null,n=null,r=0,s=null,o=e===we?0:1,i=!1,a=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&gg(t),ref:t&&ja(t),scopeId:Vl,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:Pt};return a?(Kd(l,n),o&128&&e.normalize(l)):n&&(l.shapeFlag|=Ct(n)?8:16),vs>0&&!i&&ln&&(l.patchFlag>0||o&6)&&l.patchFlag!==32&&ln.push(l),l}const y=k0;function k0(e,t=null,n=null,r=0,s=null,o=!1){if((!e||e===P_)&&(e=Gt),Gr(e)){const a=ir(e,t,!0);return n&&Kd(a,n),vs>0&&!o&&ln&&(a.shapeFlag&6?ln[ln.indexOf(e)]=a:ln.push(a)),a.patchFlag|=-2,a}if(D0(e)&&(e=e.__vccOpts),t){t=yg(t);let{class:a,style:l}=t;a&&!Ct(a)&&(t.class=Ee(a)),ft(l)&&(Od(l)&&!ze(l)&&(l=zt({},l)),t.style=Zr(l))}const i=Ct(e)?1:F_(e)?128:b0(e)?64:ft(e)?4:De(e)?2:0;return u(e,t,n,r,s,i,o,!0)}function yg(e){return e?Od(e)||ql in e?zt({},e):e:null}function ir(e,t,n=!1){const{props:r,ref:s,patchFlag:o,children:i}=e,a=t?Hs(r||{},t):r;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:a,key:a&&gg(a),ref:t&&t.ref?n&&s?ze(s)?s.concat(ja(t)):[s,ja(t)]:ja(t):s,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:i,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==we?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&&ir(e.ssContent),ssFallback:e.ssFallback&&ir(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function gt(e=" ",t=0){return y(Wr,null,e,t)}function x0(e,t){const n=y(ps,null,e);return n.staticCount=t,n}function M(e="",t=!1){return t?(k(),_e(Gt,null,e)):y(Gt,null,e)}function _n(e){return e==null||typeof e=="boolean"?y(Gt):ze(e)?y(we,null,e.slice()):typeof e=="object"?Fr(e):y(Wr,null,String(e))}function Fr(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:ir(e)}function Kd(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(ze(t))n=16;else if(typeof t=="object")if(r&65){const s=t.default;s&&(s._c&&(s._d=!1),Kd(e,s()),s._c&&(s._d=!0));return}else{n=32;const s=t._;!s&&!(ql in t)?t._ctx=Pt:s===3&&Pt&&(Pt.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else De(t)?(t={default:t,_ctx:Pt},n=32):(t=String(t),r&64?(n=16,t=[gt(t)]):n=8);e.children=t,e.shapeFlag|=n}function Hs(...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=Ee([t.class,r.class]));else if(s==="style")t.style=Zr([t.style,r.style]);else if(Ci(s)){const o=t[s],i=r[s];i&&o!==i&&!(ze(o)&&o.includes(i))&&(t[s]=o?[].concat(o,i):i)}else s!==""&&(t[s]=r[s])}return t}function rn(e,t,n,r=null){vn(e,t,7,[n,r])}const E0=rg();let S0=0;function vg(e,t,n){const r=e.type,s=(t?t.appContext:e.appContext)||E0,o={uid:S0++,vnode:e,type:r,parent:t,appContext:s,root:null,next:null,subTree:null,effect:null,update:null,scope:new kd(!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:og(r,s),emitsOptions:D_(r,s),emit:null,emitted:null,propsDefaults:ut,inheritAttrs:r.inheritAttrs,ctx:ut,data:ut,props:ut,attrs:ut,slots:ut,refs:ut,setupState:ut,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=bz.bind(null,o),e.ce&&e.ce(o),o}let Ft=null;const In=()=>Ft||Pt;let ul,wc;{const e=i_(),t=(n,r)=>{let s;return(s=e[n])||(s=e[n]=[]),s.push(r),o=>{s.length>1?s.forEach(i=>i(o)):s[0](o)}};ul=t("__VUE_INSTANCE_SETTERS__",n=>Ft=n),wc=t("__VUE_SSR_SETTERS__",n=>$i=n)}const bs=e=>{const t=Ft;return ul(e),e.scope.on(),()=>{e.scope.off(),ul(t)}},kc=()=>{Ft&&Ft.scope.off(),ul(null)};function bg(e){return e.vnode.shapeFlag&4}let $i=!1;function zg(e,t=!1){t&&wc(t);const{props:n,children:r}=e.vnode,s=bg(e);d0(e,n,s,t),p0(e,r);const o=s?$0(e,t):void 0;return t&&wc(!1),o}function $0(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=Dd(new Proxy(e.ctx,gc));const{setup:r}=n;if(r){const s=e.setupContext=r.length>1?wg(e):null,o=bs(e);Cs();const i=_r(r,e,0,[e.props,s]);if(ws(),o(),Cd(i)){if(i.then(kc,kc),t)return i.then(a=>{xc(e,a,t)}).catch(a=>{ks(a,e,0)});e.asyncDep=i}else xc(e,i,t)}else Cg(e,t)}function xc(e,t,n){De(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:ft(t)&&(e.setupState=Rd(t)),Cg(e,n)}let cl,Ec;function A0(e){cl=e,Ec=t=>{t.render._rc&&(t.withProxy=new Proxy(t.ctx,Bz))}}const T0=()=>!cl;function Cg(e,t,n){const r=e.type;if(!e.render){if(!t&&cl&&!r.render){const s=r.template||qd(e).template;if(s){const{isCustomElement:o,compilerOptions:i}=e.appContext.config,{delimiters:a,compilerOptions:l}=r,c=zt(zt({isCustomElement:o,delimiters:a},i),l);r.render=cl(s,c)}}e.render=r.render||an,Ec&&Ec(e)}{const s=bs(e);Cs();try{r0(e)}finally{ws(),s()}}}function O0(e){return e.attrsProxy||(e.attrsProxy=new Proxy(e.attrs,{get(t,n){return cn(e,"get","$attrs"),t[n]}}))}function wg(e){const t=n=>{e.exposed=n||{}};return{get attrs(){return O0(e)},slots:e.slots,emit:e.emit,expose:t}}function Wl(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(Rd(Dd(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in jo)return jo[n](e)},has(t,n){return n in t||n in jo}}))}function Sc(e,t=!0){return De(e)?e.displayName||e.name:e.name||t&&e.__name}function D0(e){return De(e)&&"__vccOpts"in e}const Lt=(e,t)=>tz(e,t,$i);function P0(e,t,n=ut){const r=In(),s=Xt(t),o=gn(t),i=E_((l,c)=>{let d;return H_(()=>{const m=e[t];qn(d,m)&&(d=m,c())}),{get(){return l(),n.get?n.get(d):d},set(m){const f=r.vnode.props;!(f&&(t in f||s in f||o in f)&&(`onUpdate:${t}`in f||`onUpdate:${s}`in f||`onUpdate:${o}`in f))&&qn(m,d)&&(d=m,c()),r.emit(`update:${t}`,n.set?n.set(m):m)}}}),a=t==="modelValue"?"modelModifiers":`${t}Modifiers`;return i[Symbol.iterator]=()=>{let l=0;return{next(){return l<2?{value:l++?e[a]||{}:i,done:!1}:{done:!0}}}},i}function tr(e,t,n){const r=arguments.length;return r===2?ft(t)&&!ze(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))}function I0(){}function F0(e,t,n,r){const s=n[r];if(s&&kg(s,e))return s;const o=t();return o.memo=e.slice(),n[r]=o}function kg(e,t){const n=e.memo;if(n.length!=t.length)return!1;for(let r=0;r<n.length;r++)if(qn(n[r],t[r]))return!1;return vs>0&&ln&&ln.push(e),!0}const xg="3.4.19",R0=an,L0=hz,N0=Rs,M0=O_,V0={createComponentInstance:vg,setupComponent:zg,renderComponentRoot:Ba,setCurrentRenderingInstance:ui,isVNode:Gr,normalizeVNode:_n},H0=V0,U0=null,B0=null,j0=null;/**
* @vue/runtime-dom v3.4.19
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/const q0="http://www.w3.org/2000/svg",W0="http://www.w3.org/1998/Math/MathML",Rr=typeof document<"u"?document:null,pf=Rr&&Rr.createElement("template"),G0={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==="svg"?Rr.createElementNS(q0,e):t==="mathml"?Rr.createElementNS(W0,e):Rr.createElement(e,n?{is:n}:void 0);return e==="select"&&r&&r.multiple!=null&&s.setAttribute("multiple",r.multiple),s},createText:e=>Rr.createTextNode(e),createComment:e=>Rr.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Rr.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,s,o){const i=n?n.previousSibling:t.lastChild;if(s&&(s===o||s.nextSibling))for(;t.insertBefore(s.cloneNode(!0),n),!(s===o||!(s=s.nextSibling)););else{pf.innerHTML=r==="svg"?`<svg>${e}</svg>`:r==="mathml"?`<math>${e}</math>`:e;const a=pf.content;if(r==="svg"||r==="mathml"){const l=a.firstChild;for(;l.firstChild;)a.appendChild(l.firstChild);a.removeChild(l)}t.insertBefore(a,n)}return[i?i.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},xr="transition",wo="animation",so=Symbol("_vtc"),It=(e,{slots:t})=>tr(B_,Sg(e),t);It.displayName="Transition";const Eg={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},K0=It.props=zt({},jd,Eg),es=(e,t=[])=>{ze(e)?e.forEach(n=>n(...t)):e&&e(...t)},hf=e=>e?ze(e)?e.some(t=>t.length>1):e.length>1:!1;function Sg(e){const t={};for(const B in e)B in Eg||(t[B]=e[B]);if(e.css===!1)return t;const{name:n="v",type:r,duration:s,enterFromClass:o=`${n}-enter-from`,enterActiveClass:i=`${n}-enter-active`,enterToClass:a=`${n}-enter-to`,appearFromClass:l=o,appearActiveClass:c=i,appearToClass:d=a,leaveFromClass:m=`${n}-leave-from`,leaveActiveClass:f=`${n}-leave-active`,leaveToClass:p=`${n}-leave-to`}=e,h=Z0(s),_=h&&h[0],b=h&&h[1],{onBeforeEnter:C,onEnter:w,onEnterCancelled:v,onLeave:z,onLeaveCancelled:S,onBeforeAppear:x=C,onAppear:N=w,onAppearCancelled:D=v}=t,P=(B,q,X)=>{Dr(B,q?d:a),Dr(B,q?c:i),X&&X()},L=(B,q)=>{B._isLeaving=!1,Dr(B,m),Dr(B,p),Dr(B,f),q&&q()},Z=B=>(q,X)=>{const pe=B?N:w,G=()=>P(q,B,X);es(pe,[q,G]),_f(()=>{Dr(q,B?l:o),mr(q,B?d:a),hf(pe)||gf(q,r,_,G)})};return zt(t,{onBeforeEnter(B){es(C,[B]),mr(B,o),mr(B,i)},onBeforeAppear(B){es(x,[B]),mr(B,l),mr(B,c)},onEnter:Z(!1),onAppear:Z(!0),onLeave(B,q){B._isLeaving=!0;const X=()=>L(B,q);mr(B,m),Ag(),mr(B,f),_f(()=>{B._isLeaving&&(Dr(B,m),mr(B,p),hf(z)||gf(B,r,b,X))}),es(z,[B,X])},onEnterCancelled(B){P(B,!1),es(v,[B])},onAppearCancelled(B){P(B,!0),es(D,[B])},onLeaveCancelled(B){L(B),es(S,[B])}})}function Z0(e){if(e==null)return null;if(ft(e))return[xu(e.enter),xu(e.leave)];{const t=xu(e);return[t,t]}}function xu(e){return rl(e)}function mr(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[so]||(e[so]=new Set)).add(t)}function Dr(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.remove(r));const n=e[so];n&&(n.delete(t),n.size||(e[so]=void 0))}function _f(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let Y0=0;function gf(e,t,n,r){const s=e._endId=++Y0,o=()=>{s===e._endId&&r()};if(n)return setTimeout(o,n);const{type:i,timeout:a,propCount:l}=$g(e,t);if(!i)return r();const c=i+"end";let d=0;const m=()=>{e.removeEventListener(c,f),o()},f=p=>{p.target===e&&++d>=l&&m()};setTimeout(()=>{d<l&&m()},a+1),e.addEventListener(c,f)}function $g(e,t){const n=window.getComputedStyle(e),r=h=>(n[h]||"").split(", "),s=r(`${xr}Delay`),o=r(`${xr}Duration`),i=yf(s,o),a=r(`${wo}Delay`),l=r(`${wo}Duration`),c=yf(a,l);let d=null,m=0,f=0;t===xr?i>0&&(d=xr,m=i,f=o.length):t===wo?c>0&&(d=wo,m=c,f=l.length):(m=Math.max(i,c),d=m>0?i>c?xr:wo:null,f=d?d===xr?o.length:l.length:0);const p=d===xr&&/\b(transform|all)(,|$)/.test(r(`${xr}Property`).toString());return{type:d,timeout:m,propCount:f,hasTransform:p}}function yf(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((n,r)=>vf(n)+vf(e[r])))}function vf(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function Ag(){return document.body.offsetHeight}function J0(e,t,n){const r=e[so];r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const mi=Symbol("_vod"),fi={beforeMount(e,{value:t},{transition:n}){e[mi]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):ko(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:r}){!t==!n&&(e.style.display===e[mi]||!t)||(r?t?(r.beforeEnter(e),ko(e,!0),r.enter(e)):r.leave(e,()=>{ko(e,!1)}):ko(e,t))},beforeUnmount(e,{value:t}){ko(e,t)}};function ko(e,t){e.style.display=t?e[mi]:"none"}function X0(){fi.getSSRProps=({value:e})=>{if(!e)return{style:{display:"none"}}}}const Tg=Symbol("");function Q0(e){const t=In();if(!t)return;const n=t.ut=(s=e(t.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${t.uid}"]`)).forEach(o=>Ac(o,s))},r=()=>{const s=e(t.proxy);$c(t.subTree,s),n(s)};V_(r),_o(()=>{const s=new MutationObserver(r);s.observe(t.subTree.el.parentNode,{childList:!0}),Ei(()=>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)Ac(e.el,t);else if(e.type===we)e.children.forEach(n=>$c(n,t));else if(e.type===ps){let{el:n,anchor:r}=e;for(;n&&(Ac(n,t),n!==r);)n=n.nextSibling}}function Ac(e,t){if(e.nodeType===1){const n=e.style;let r="";for(const s in t)n.setProperty(`--${s}`,t[s]),r+=`--${s}: ${t[s]};`;n[Tg]=r}}const eC=/(^|;)\s*display\s*:/;function tC(e,t,n){const r=e.style,s=Ct(n),o=r.display;let i=!1;if(n&&!s){if(t&&!Ct(t))for(const a in t)n[a]==null&&Tc(r,a,"");for(const a in n)a==="display"&&(i=!0),Tc(r,a,n[a])}else if(s){if(t!==n){const a=r[Tg];a&&(n+=";"+a),r.cssText=n,i=eC.test(n)}}else t&&e.removeAttribute("style");mi in e&&(e[mi]=i?r.display:"",r.display=o)}const bf=/\s*!important$/;function Tc(e,t,n){if(ze(n))n.forEach(r=>Tc(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=nC(e,t);bf.test(n)?e.setProperty(gn(r),n.replace(bf,""),"important"):e[r]=n}}const zf=["Webkit","Moz","ms"],Eu={};function nC(e,t){const n=Eu[t];if(n)return n;let r=Xt(t);if(r!=="filter"&&r in e)return Eu[t]=r;r=wi(r);for(let s=0;s<zf.length;s++){const o=zf[s]+r;if(o in e)return Eu[t]=o}return t}const Cf="http://www.w3.org/1999/xlink";function rC(e,t,n,r,s){if(r&&t.startsWith("xlink:"))n==null?e.removeAttributeNS(Cf,t.slice(6,t.length)):e.setAttributeNS(Cf,t,n);else{const o=Ab(t);n==null||o&&!a_(n)?e.removeAttribute(t):e.setAttribute(t,o?"":n)}}function sC(e,t,n,r,s,o,i){if(t==="innerHTML"||t==="textContent"){r&&i(r,s,o),e[t]=n??"";return}const a=e.tagName;if(t==="value"&&a!=="PROGRESS"&&!a.includes("-")){e._value=n;const c=a==="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=a_(n):n==null&&c==="string"?(n="",l=!0):c==="number"&&(n=0,l=!0)}try{e[t]=n}catch{}l&&e.removeAttribute(t)}function fr(e,t,n,r){e.addEventListener(t,n,r)}function oC(e,t,n,r){e.removeEventListener(t,n,r)}const wf=Symbol("_vei");function iC(e,t,n,r,s=null){const o=e[wf]||(e[wf]={}),i=o[t];if(r&&i)i.value=r;else{const[a,l]=aC(t);if(r){const c=o[t]=cC(r,s);fr(e,a,c,l)}else i&&(oC(e,a,i,l),o[t]=void 0)}}const kf=/(?:Once|Passive|Capture)$/;function aC(e){let t;if(kf.test(e)){t={};let r;for(;r=e.match(kf);)e=e.slice(0,e.length-r[0].length),t[r[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):gn(e.slice(2)),t]}let Su=0;const lC=Promise.resolve(),uC=()=>Su||(lC.then(()=>Su=0),Su=Date.now());function cC(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;vn(dC(r,n.value),t,5,[r])};return n.value=e,n.attached=uC(),n}function dC(e,t){if(ze(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 xf=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,mC=(e,t,n,r,s,o,i,a,l)=>{const c=s==="svg";t==="class"?J0(e,r,c):t==="style"?tC(e,n,r):Ci(t)?bd(t)||iC(e,t,n,r,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):fC(e,t,r,c))?sC(e,t,r,o,i,a,l):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),rC(e,t,r,c))};function fC(e,t,n,r){if(r)return!!(t==="innerHTML"||t==="textContent"||t in e&&xf(t)&&De(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const s=e.tagName;if(s==="IMG"||s==="VIDEO"||s==="CANVAS"||s==="SOURCE")return!1}return xf(t)&&Ct(n)?!1:t in e}/*! #__NO_SIDE_EFFECTS__ */function Og(e,t){const n=br(e);class r extends Gl{constructor(o){super(n,o,t)}}return r.def=n,r}/*! #__NO_SIDE_EFFECTS__ */const pC=e=>Og(e,Hg),hC=typeof HTMLElement<"u"?HTMLElement:class{};class Gl extends hC{constructor(t,n={},r){super(),this._def=t,this._props=n,this._instance=null,this._connected=!1,this._resolved=!1,this._numberProps=null,this._ob=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,this._ob&&(this._ob.disconnect(),this._ob=null),ho(()=>{this._connected||(Oc(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);this._ob=new MutationObserver(r=>{for(const s of r)this._setAttr(s.attributeName)}),this._ob.observe(this,{attributes:!0});const t=(r,s=!1)=>{const{props:o,styles:i}=r;let a;if(o&&!ze(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])),(a||(a=Object.create(null)))[Xt(l)]=!0)}this._numberProps=a,s&&this._resolveProps(r),this._applyStyles(i),this._update()},n=this._def.__asyncLoader;n?n().then(r=>t(r,!0)):t(this._def)}_resolveProps(t){const{props:n}=t,r=ze(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(Xt))Object.defineProperty(this,s,{get(){return this._getProp(s)},set(o){this._setProp(s,o)}})}_setAttr(t){let n=this.getAttribute(t);const r=Xt(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(gn(t),""):typeof n=="string"||typeof n=="number"?this.setAttribute(gn(t),n+""):n||this.removeAttribute(gn(t))))}_update(){Oc(this._createVNode(),this.shadowRoot)}_createVNode(){const t=y(this._def,zt({},this._props));return this._instance||(t.ce=n=>{this._instance=n,n.isCE=!0;const r=(o,i)=>{this.dispatchEvent(new CustomEvent(o,{detail:i}))};n.emit=(o,...i)=>{r(o,i),gn(o)!==o&&r(gn(o),i)};let s=this;for(;s=s&&(s.parentNode||s.host);)if(s instanceof Gl){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 _C(e="$style"){{const t=In();if(!t)return ut;const n=t.type.__cssModules;if(!n)return ut;const r=n[e];return r||ut}}const Dg=new WeakMap,Pg=new WeakMap,dl=Symbol("_moveCb"),Ef=Symbol("_enterCb"),Ig={name:"TransitionGroup",props:zt({},K0,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=In(),r=Bd();let s,o;return Bl(()=>{if(!s.length)return;const i=e.moveClass||`${e.name||"v"}-move`;if(!CC(s[0].el,n.vnode.el,i))return;s.forEach(vC),s.forEach(bC);const a=s.filter(zC);Ag(),a.forEach(l=>{const c=l.el,d=c.style;mr(c,i),d.transform=d.webkitTransform=d.transitionDuration="";const m=c[dl]=f=>{f&&f.target!==c||(!f||/transform$/.test(f.propertyName))&&(c.removeEventListener("transitionend",m),c[dl]=null,Dr(c,i))};c.addEventListener("transitionend",m)})}),()=>{const i=Ye(e),a=Sg(i);let l=i.tag||we;s=o,o=t.default?Hl(t.default()):[];for(let c=0;c<o.length;c++){const d=o[c];d.key!=null&&ys(d,ro(d,a,r,n))}if(s)for(let c=0;c<s.length;c++){const d=s[c];ys(d,ro(d,a,r,n)),Dg.set(d,d.el.getBoundingClientRect())}return y(l,null,o)}}},gC=e=>delete e.mode;Ig.props;const yC=Ig;function vC(e){const t=e.el;t[dl]&&t[dl](),t[Ef]&&t[Ef]()}function bC(e){Pg.set(e,e.el.getBoundingClientRect())}function zC(e){const t=Dg.get(e),n=Pg.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 CC(e,t,n){const r=e.cloneNode(),s=e[so];s&&s.forEach(a=>{a.split(/\s+/).forEach(l=>l&&r.classList.remove(l))}),n.split(/\s+/).forEach(a=>a&&r.classList.add(a)),r.style.display="none";const o=t.nodeType===1?t:t.parentNode;o.appendChild(r);const{hasTransform:i}=$g(r);return o.removeChild(r),i}const Kr=e=>{const t=e.props["onUpdate:modelValue"]||!1;return ze(t)?n=>Gs(t,n):t};function wC(e){e.target.composing=!0}function Sf(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const An=Symbol("_assign"),dn={created(e,{modifiers:{lazy:t,trim:n,number:r}},s){e[An]=Kr(s);const o=r||s.props&&s.props.type==="number";fr(e,t?"change":"input",i=>{if(i.target.composing)return;let a=e.value;n&&(a=a.trim()),o&&(a=si(a)),e[An](a)}),n&&fr(e,"change",()=>{e.value=e.value.trim()}),t||(fr(e,"compositionstart",wC),fr(e,"compositionend",Sf),fr(e,"change",Sf))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,modifiers:{lazy:n,trim:r,number:s}},o){if(e[An]=Kr(o),e.composing)return;const i=s||e.type==="number"?si(e.value):e.value,a=t??"";i!==a&&(document.activeElement===e&&e.type!=="range"&&(n||r&&e.value.trim()===a)||(e.value=a))}},On={deep:!0,created(e,t,n){e[An]=Kr(n),fr(e,"change",()=>{const r=e._modelValue,s=oo(e),o=e.checked,i=e[An];if(ze(r)){const a=Il(r,s),l=a!==-1;if(o&&!l)i(r.concat(s));else if(!o&&l){const c=[...r];c.splice(a,1),i(c)}}else if(zs(r)){const a=new Set(r);o?a.add(s):a.delete(s),i(a)}else i(Fg(e,o))})},mounted:$f,beforeUpdate(e,t,n){e[An]=Kr(n),$f(e,t,n)}};function $f(e,{value:t,oldValue:n},r){e._modelValue=t,ze(t)?e.checked=Il(t,r.props.value)>-1:zs(t)?e.checked=t.has(r.props.value):t!==n&&(e.checked=qr(t,Fg(e,!0)))}const Zd={created(e,{value:t},n){e.checked=qr(t,n.props.value),e[An]=Kr(n),fr(e,"change",()=>{e[An](oo(e))})},beforeUpdate(e,{value:t,oldValue:n},r){e[An]=Kr(r),t!==n&&(e.checked=qr(t,r.props.value))}},Yd={deep:!0,created(e,{value:t,modifiers:{number:n}},r){const s=zs(t);fr(e,"change",()=>{const o=Array.prototype.filter.call(e.options,i=>i.selected).map(i=>n?si(oo(i)):oo(i));e[An](e.multiple?s?new Set(o):o:o[0]),e._assigning=!0,ho(()=>{e._assigning=!1})}),e[An]=Kr(r)},mounted(e,{value:t,oldValue:n,modifiers:{number:r}}){Af(e,t,n,r)},beforeUpdate(e,t,n){e[An]=Kr(n)},updated(e,{value:t,oldValue:n,modifiers:{number:r}}){e._assigning||Af(e,t,n,r)}};function Af(e,t,n,r){const s=e.multiple,o=ze(t);if(!(s&&!o&&!zs(t))){for(let i=0,a=e.options.length;i<a;i++){const l=e.options[i],c=oo(l);if(s)if(o){const d=typeof c;d==="string"||d==="number"?l.selected=t.includes(r?si(c):c):l.selected=Il(t,c)>-1}else l.selected=t.has(c);else if(qr(oo(l),t)){e.selectedIndex!==i&&(e.selectedIndex=i);return}}!s&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function oo(e){return"_value"in e?e._value:e.value}function Fg(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const Rg={created(e,t,n){Ji(e,t,n,null,"created")},mounted(e,t,n){Ji(e,t,n,null,"mounted")},beforeUpdate(e,t,n,r){Ji(e,t,n,r,"beforeUpdate")},updated(e,t,n,r){Ji(e,t,n,r,"updated")}};function Lg(e,t){switch(e){case"SELECT":return Yd;case"TEXTAREA":return dn;default:switch(t){case"checkbox":return On;case"radio":return Zd;default:return dn}}}function Ji(e,t,n,r,s){const i=Lg(e.tagName,n.props&&n.props.type)[s];i&&i(e,t,n,r)}function kC(){dn.getSSRProps=({value:e})=>({value:e}),Zd.getSSRProps=({value:e},t)=>{if(t.props&&qr(t.props.value,e))return{checked:!0}},On.getSSRProps=({value:e},t)=>{if(ze(e)){if(t.props&&Il(e,t.props.value)>-1)return{checked:!0}}else if(zs(e)){if(t.props&&e.has(t.props.value))return{checked:!0}}else if(e)return{checked:!0}},Rg.getSSRProps=(e,t)=>{if(typeof t.type!="string")return;const n=Lg(t.type.toUpperCase(),t.props&&t.props.type);if(n.getSSRProps)return n.getSSRProps(e,t)}}const xC=["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)=>xC.some(n=>e[`${n}Key`]&&!t.includes(n))},st=(e,t)=>{const n=e._withMods||(e._withMods={}),r=t.join(".");return n[r]||(n[r]=(s,...o)=>{for(let i=0;i<t.length;i++){const a=EC[t[i]];if(a&&a(s,t))return}return e(s,...o)})},SC={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},sn=(e,t)=>{const n=e._withKeys||(e._withKeys={}),r=t.join(".");return n[r]||(n[r]=s=>{if(!("key"in s))return;const o=gn(s.key);if(t.some(i=>i===o||SC[i]===o))return e(s)})},Ng=zt({patchProp:mC},G0);let Ko,Tf=!1;function Mg(){return Ko||(Ko=ug(Ng))}function Vg(){return Ko=Tf?Ko:cg(Ng),Tf=!0,Ko}const Oc=(...e)=>{Mg().render(...e)},Hg=(...e)=>{Vg().hydrate(...e)},Ug=(...e)=>{const t=Mg().createApp(...e),{mount:n}=t;return t.mount=r=>{const s=jg(r);if(!s)return;const o=t._component;!De(o)&&!o.render&&!o.template&&(o.template=s.innerHTML),s.innerHTML="";const i=n(s,!1,Bg(s));return s instanceof Element&&(s.removeAttribute("v-cloak"),s.setAttribute("data-v-app","")),i},t},$C=(...e)=>{const t=Vg().createApp(...e),{mount:n}=t;return t.mount=r=>{const s=jg(r);if(s)return n(s,!0,Bg(s))},t};function Bg(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function jg(e){return Ct(e)?document.querySelector(e):e}let Of=!1;const AC=()=>{Of||(Of=!0,kC(),X0())};/**
* vue v3.4.19
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/const TC=()=>{},OC=Object.freeze(Object.defineProperty({__proto__:null,BaseTransition:B_,BaseTransitionPropsValidators:jd,Comment:Gt,DeprecationTypes:j0,EffectScope:kd,ErrorCodes:pz,ErrorTypeStrings:L0,Fragment:we,KeepAlive:Vz,ReactiveEffect:no,Static:ps,Suspense:Tz,Teleport:Yr,Text:Wr,TrackOpTypes:dz,Transition:It,TransitionGroup:yC,TriggerOpTypes:mz,VueElement:Gl,assertNumber:fz,callWithAsyncErrorHandling:vn,callWithErrorHandling:_r,camelize:Xt,capitalize:wi,cloneVNode:ir,compatUtils:B0,compile:TC,computed:Lt,createApp:Ug,createBlock:_e,createCommentVNode:M,createElementBlock:T,createElementVNode:u,createHydrationRenderer:cg,createPropsRestProxy:t0,createRenderer:ug,createSSRApp:$C,createSlots:Si,createStaticVNode:x0,createTextVNode:gt,createVNode:y,customRef:E_,defineAsyncComponent:Nz,defineComponent:br,defineCustomElement:Og,defineEmits:qz,defineExpose:Wz,defineModel:Zz,defineOptions:Gz,defineProps:jz,defineSSRCustomElement:pC,defineSlots:Kz,devtools:N0,effect:Pb,effectScope:xd,getCurrentInstance:In,getCurrentScope:c_,getTransitionRawChildren:Hl,guardReactiveProps:yg,h:tr,handleError:ks,hasInjectionContext:c0,hydrate:Hg,initCustomFormatter:I0,initDirectivesForSSR:AC,inject:jn,isMemoSame:kg,isProxy:Od,isReactive:ms,isReadonly:gs,isRef:Mt,isRuntimeOnly:T0,isShallow:oi,isVNode:Gr,markRaw:Dd,mergeDefaults:Qz,mergeModels:e0,mergeProps:Hs,nextTick:ho,normalizeClass:Ee,normalizeProps:Fo,normalizeStyle:Zr,onActivated:q_,onBeforeMount:K_,onBeforeUnmount:jl,onBeforeUpdate:Z_,onDeactivated:W_,onErrorCaptured:Q_,onMounted:_o,onRenderTracked:X_,onRenderTriggered:J_,onScopeDispose:Ob,onServerPrefetch:Y_,onUnmounted:Ei,onUpdated:Bl,openBlock:k,popScopeId:Cz,provide:qo,proxyRefs:Rd,pushScopeId:zz,queuePostFlushCb:ol,reactive:po,readonly:Td,ref:sr,registerRuntimeCompiler:A0,render:Oc,renderList:ct,renderSlot:it,resolveComponent:$,resolveDirective:Vd,resolveDynamicComponent:I_,resolveFilter:U0,resolveTransitionHooks:ro,setBlockTracking:Cc,setDevtoolsHook:M0,setTransitionHooks:ys,shallowReactive:Ad,shallowReadonly:ez,shallowRef:Fd,ssrContextKey:L_,ssrUtils:H0,stop:Ib,toDisplayString:g,toHandlerKey:Bo,toHandlers:Uz,toRaw:Ye,toRef:cz,toRefs:az,toValue:sz,transformVNodeArgs:w0,triggerRef:rz,unref:yn,useAttrs:Xz,useCssModule:_C,useCssVars:Q0,useModel:P0,useSSRContext:N_,useSlots:Jz,useTransitionState:Bd,vModelCheckbox:On,vModelDynamic:Rg,vModelRadio:Zd,vModelSelect:Yd,vModelText:dn,vShow:fi,version:xg,warn:R0,watch:bn,watchEffect:M_,watchPostEffect:V_,watchSyncEffect:H_,withAsyncContext:n0,withCtx:E,withDefaults:Yz,withDirectives:yt,withKeys:sn,withMemo:F0,withModifiers:st,withScopeId:wz},Symbol.toStringTag,{value:"Module"})),te=(e,t)=>{const n=e.__vccOpts||e;for(const[r,s]of t)n[r]=s;return n},DC={name:"NavbarItemLink",props:{exact:Boolean,to:Object},computed:{is_active(){return this.exact?this.$route.path===this.to:this.$route.path.startsWith(this.to)},show_burger_menu:{get(){return this.$store.state.show_burger_menu},set(e){this.$store.commit(eo,e)}},show_player_menu:{get(){return this.$store.state.show_player_menu},set(e){this.$store.commit(to,e)}}},methods:{full_path(){return this.$router.resolve(this.to).href},open_link(){this.show_burger_menu&&this.$store.commit(eo,!1),this.show_player_menu&&this.$store.commit(to,!1),this.$router.push(this.to)}}},PC=["href"];function IC(e,t,n,r,s,o){return k(),T("a",{class:Ee(["navbar-item",{"is-active":o.is_active}]),href:o.full_path(),onClick:t[0]||(t[0]=st(i=>o.open_link(),["stop","prevent"]))},[it(e.$slots,"default")],10,PC)}const qg=te(DC,[["render",IC]]),FC={name:"NavbarTop",components:{NavbarItemLink:qg},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},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(eo,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(zi,e)}},search_name:{get(){return`search-${this.$store.state.search_source}`}},zindex(){return this.show_player_menu?"z-index: 21":""}},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}}},RC={class:"navbar-brand"},LC=u("span",null,null,-1),NC=u("span",null,null,-1),MC=u("span",null,null,-1),VC=[LC,NC,MC],HC=u("div",{class:"navbar-start"},null,-1),UC={class:"navbar-end"},BC={class:"navbar-link is-arrowless"},jC=["textContent"],qC={class:"navbar-dropdown is-right"},WC=["textContent"],GC=["textContent"],KC=["textContent"],ZC=["textContent"],YC=["textContent"],JC=["textContent"],XC=["textContent"],QC=["textContent"],ew=["textContent"],tw=["textContent"],nw=["textContent"],rw=u("hr",{class:"my-3"},null,-1),sw=["textContent"];function ow(e,t,n,r,s,o){const i=$("mdicon"),a=$("navbar-item-link");return k(),T("nav",{class:"navbar is-light is-fixed-top",style:Zr(o.zindex),role:"navigation","aria-label":"main navigation"},[u("div",RC,[o.is_visible_playlists?(k(),_e(a,{key:0,to:{name:"playlists"}},{default:E(()=>[y(i,{class:"icon",name:"music-box-multiple",size:"16"})]),_:1})):M("",!0),o.is_visible_music?(k(),_e(a,{key:1,to:{name:"music"}},{default:E(()=>[y(i,{class:"icon",name:"music",size:"16"})]),_:1})):M("",!0),o.is_visible_podcasts?(k(),_e(a,{key:2,to:{name:"podcasts"}},{default:E(()=>[y(i,{class:"icon",name:"microphone",size:"16"})]),_:1})):M("",!0),o.is_visible_audiobooks?(k(),_e(a,{key:3,to:{name:"audiobooks"}},{default:E(()=>[y(i,{class:"icon",name:"book-open-variant",size:"16"})]),_:1})):M("",!0),o.is_visible_radio?(k(),_e(a,{key:4,to:{name:"radio"}},{default:E(()=>[y(i,{class:"icon",name:"radio",size:"16"})]),_:1})):M("",!0),o.is_visible_files?(k(),_e(a,{key:5,to:{name:"files"}},{default:E(()=>[y(i,{class:"icon",name:"folder-open",size:"16"})]),_:1})):M("",!0),o.is_visible_search?(k(),_e(a,{key:6,to:{name:o.search_name}},{default:E(()=>[y(i,{class:"icon",name:"magnify",size:"16"})]),_:1},8,["to"])):M("",!0),u("div",{class:Ee(["navbar-burger",{"is-active":o.show_burger_menu}]),onClick:t[0]||(t[0]=l=>o.show_burger_menu=!o.show_burger_menu)},VC,2)]),u("div",{class:Ee(["navbar-menu",{"is-active":o.show_burger_menu}])},[HC,u("div",UC,[u("div",{class:Ee(["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",BC,[y(i,{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,jC)]),u("div",qC,[y(a,{to:{name:"playlists"}},{default:E(()=>[y(i,{class:"icon",name:"music-box-multiple",size:"16"}),u("b",{textContent:g(e.$t("navigation.playlists"))},null,8,WC)]),_:1}),y(a,{to:{name:"music"},exact:""},{default:E(()=>[y(i,{class:"icon",name:"music",size:"16"}),u("b",{textContent:g(e.$t("navigation.music"))},null,8,GC)]),_:1}),y(a,{to:{name:"music-artists"}},{default:E(()=>[u("span",{class:"pl-5",textContent:g(e.$t("navigation.artists"))},null,8,KC)]),_:1}),y(a,{to:{name:"music-albums"}},{default:E(()=>[u("span",{class:"pl-5",textContent:g(e.$t("navigation.albums"))},null,8,ZC)]),_:1}),y(a,{to:{name:"music-genres"}},{default:E(()=>[u("span",{class:"pl-5",textContent:g(e.$t("navigation.genres"))},null,8,YC)]),_:1}),o.spotify_enabled?(k(),_e(a,{key:0,to:{name:"music-spotify"}},{default:E(()=>[u("span",{class:"pl-5",textContent:g(e.$t("navigation.spotify"))},null,8,JC)]),_:1})):M("",!0),y(a,{to:{name:"podcasts"}},{default:E(()=>[y(i,{class:"icon",name:"microphone",size:"16"}),u("b",{textContent:g(e.$t("navigation.podcasts"))},null,8,XC)]),_:1}),y(a,{to:{name:"audiobooks"}},{default:E(()=>[y(i,{class:"icon",name:"book-open-variant",size:"16"}),u("b",{textContent:g(e.$t("navigation.audiobooks"))},null,8,QC)]),_:1}),y(a,{to:{name:"radio"}},{default:E(()=>[y(i,{class:"icon",name:"radio",size:"16"}),u("b",{textContent:g(e.$t("navigation.radio"))},null,8,ew)]),_:1}),y(a,{to:{name:"files"}},{default:E(()=>[y(i,{class:"icon",name:"folder-open",size:"16"}),u("b",{textContent:g(e.$t("navigation.files"))},null,8,tw)]),_:1}),y(a,{to:{name:o.search_name}},{default:E(()=>[y(i,{class:"icon",name:"magnify",size:"16"}),u("b",{textContent:g(e.$t("navigation.search"))},null,8,nw)]),_:1},8,["to"]),rw,y(a,{to:{name:"settings-webinterface"}},{default:E(()=>[gt(g(e.$t("navigation.settings")),1)]),_:1}),u("a",{class:"navbar-item",onClick:t[1]||(t[1]=st(l=>o.open_update_dialog(),["stop","prevent"])),textContent:g(e.$t("navigation.update-library"))},null,8,sw),y(a,{to:{name:"about"}},{default:E(()=>[gt(g(e.$t("navigation.about")),1)]),_:1})])],2)])],2),yt(u("div",{class:"is-overlay",onClick:t[3]||(t[3]=l=>s.show_settings_menu=!1)},null,512),[[fi,s.show_settings_menu]])],4)}const iw=te(FC,[["render",ow]]),xo={_audio:new Audio,_context:null,setupAudio(){return this._context=new(window.AudioContext||window.webkitAudioContext),this._context.createMediaElementSource(this._audio).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._audio&&(this._audio.volume=Math.min(1,Math.max(0,parseFloat(e)||0)))},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{}}},aw={name:"ControlSlider",props:["value","max","disabled","cursor"],emits:["update:value"],computed:{ratio(){return this.value/this.max}}},lw=["value","disabled","max"];function uw(e,t,n,r,s,o){return k(),T("input",{value:n.value,disabled:n.disabled,class:Ee(["slider",{"is-inactive":n.disabled}]),max:n.max,type:"range",style:Zr({"--ratio":o.ratio,"--cursor":e.$filters.cursor(n.cursor)}),onInput:t[0]||(t[0]=i=>e.$emit("update:value",i.target.value))},null,46,lw)}const Jd=te(aw,[["render",uw]]);var cw="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",dw="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",mw="M13 14H11V9H13M13 18H11V16H13M1 21H23L12 2L1 21Z",fw="M19.92,12.08L12,20L4.08,12.08L5.5,10.67L11,16.17V2H13V16.17L18.5,10.66L19.92,12.08M12,20H2V22H22V20H12Z",pw="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",hw="M12 21.5C10.65 20.65 8.2 20 6.5 20C4.85 20 3.15 20.3 1.75 21.05C1.65 21.1 1.6 21.1 1.5 21.1C1.25 21.1 1 20.85 1 20.6V6C1.6 5.55 2.25 5.25 3 5C4.11 4.65 5.33 4.5 6.5 4.5C8.45 4.5 10.55 4.9 12 6C13.45 4.9 15.55 4.5 17.5 4.5C18.67 4.5 19.89 4.65 21 5C21.75 5.25 22.4 5.55 23 6V20.6C23 20.85 22.75 21.1 22.5 21.1C22.4 21.1 22.35 21.1 22.25 21.05C20.85 20.3 19.15 20 17.5 20C15.8 20 13.35 20.65 12 21.5M12 8V19.5C13.35 18.65 15.8 18 17.5 18C18.7 18 19.9 18.15 21 18.5V7C19.9 6.65 18.7 6.5 17.5 6.5C15.8 6.5 13.35 7.15 12 8M13 11.5C14.11 10.82 15.6 10.5 17.5 10.5C18.41 10.5 19.26 10.59 20 10.78V9.23C19.13 9.08 18.29 9 17.5 9C15.73 9 14.23 9.28 13 9.84V11.5M17.5 11.67C15.79 11.67 14.29 11.93 13 12.46V14.15C14.11 13.5 15.6 13.16 17.5 13.16C18.54 13.16 19.38 13.24 20 13.4V11.9C19.13 11.74 18.29 11.67 17.5 11.67M20 14.57C19.13 14.41 18.29 14.33 17.5 14.33C15.67 14.33 14.17 14.6 13 15.13V16.82C14.11 16.16 15.6 15.83 17.5 15.83C18.54 15.83 19.38 15.91 20 16.07V14.57Z",_w="M9 3V18H12V3H9M12 5L16 18L19 17L15 4L12 5M5 5V18H8V5H5M3 19V21H21V19H3Z",gw="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",Kl="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",yw="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",vw="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",bw="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",zw="M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z",Cw="M7.41,8.58L12,13.17L16.59,8.58L18,10L12,16L6,10L7.41,8.58Z",ww="M7.41,15.41L12,10.83L16.59,15.41L18,14L12,8L6,14L7.41,15.41Z",kw="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",xw="M19,4H15.5L14.5,3H9.5L8.5,4H5V6H19M6,19A2,2 0 0,0 8,21H16A2,2 0 0,0 18,19V7H6V19Z",Ew="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",Sw="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",$w="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",Aw="M3,15V13H5V15H3M3,11V9H5V11H3M7,15V13H9V15H7M7,11V9H9V11H7M11,15V13H13V15H11M11,11V9H13V11H11M15,15V13H17V15H15M15,11V9H17V11H15M19,15V13H21V15H19M19,11V9H21V11H19Z",Tw="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",Ow="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",Dw="M14,2H6A2,2 0 0,0 4,4V20A2,2 0 0,0 6,22H18A2,2 0 0,0 20,20V8L14,2M18,20H6V4H13V9H18V20Z",Pw="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",Iw="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",Fw="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",Rw="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",Lw="M12,4V2A10,10 0 0,0 2,12H4A8,8 0 0,1 12,4Z",Nw="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",Mw="M3,6H21V8H3V6M3,11H21V13H3V11M3,16H21V18H3V16Z",Vw="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",Hw="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",Uw="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",Bw="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",jw="M14,19H18V5H14M6,19H10V5H6V19Z",qw="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",Ww="M22,14H20V16H14V13H16V11H14V6A2,2 0 0,0 12,4H4V2H2V10H4V8H10V11H8V13H10V18A2,2 0 0,0 12,20H20V22H22",Gw="M8,5.14V19.14L19,12.14L8,5.14Z",Kw="M3 10H14V12H3V10M3 6H14V8H3V6M3 14H10V16H3V14M16 13V21L22 17L16 13Z",Zw="M3 16H10V14H3M18 14V10H16V14H12V16H16V20H18V16H22V14M14 6H3V8H14M14 10H3V12H14V10Z",Yw="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",Jw="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",Xw="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",Qw="M17,17H7V14L3,18L7,22V19H19V13H17M7,7H17V10L21,6L17,2V5H5V11H7V7Z",ek="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",tk="M13,15V9H12L10,10V11H11.5V15M17,17H7V14L3,18L7,22V19H19V13H17M7,7H17V10L21,6L17,2V5H5V11H7V7Z",nk="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",rk="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",sk="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",ok="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",ik="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",ak="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",lk="M16,4.5V7H5V9H16V11.5L19.5,8M16,12.5V15H5V17H16V19.5L19.5,16",uk="M20,5V19L13,12M6,5V19H4V5M13,5V19L6,12",ck="M4,5V19L11,12M18,5V19H20V5M11,5V19L18,12",dk="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",mk="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",fk="M18,18H6V6H18V18Z",pk="M11,9L12.42,10.42L8.83,14H18V4H20V16H8.83L12.42,19.58L11,21L5,15L11,9Z",hk="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",_k="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",gk="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 Wg(e,t){return function(){return e.apply(t,arguments)}}const{toString:yk}=Object.prototype,{getPrototypeOf:Xd}=Object,Zl=(e=>t=>{const n=yk.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),lr=e=>(e=e.toLowerCase(),t=>Zl(t)===e),Yl=e=>t=>typeof t===e,{isArray:go}=Array,pi=Yl("undefined");function vk(e){return e!==null&&!pi(e)&&e.constructor!==null&&!pi(e.constructor)&&Tn(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const Gg=lr("ArrayBuffer");function bk(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&Gg(e.buffer),t}const zk=Yl("string"),Tn=Yl("function"),Kg=Yl("number"),Jl=e=>e!==null&&typeof e=="object",Ck=e=>e===!0||e===!1,qa=e=>{if(Zl(e)!=="object")return!1;const t=Xd(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},wk=lr("Date"),kk=lr("File"),xk=lr("Blob"),Ek=lr("FileList"),Sk=e=>Jl(e)&&Tn(e.pipe),$k=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||Tn(e.append)&&((t=Zl(e))==="formdata"||t==="object"&&Tn(e.toString)&&e.toString()==="[object FormData]"))},Ak=lr("URLSearchParams"),Tk=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Ai(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let r,s;if(typeof e!="object"&&(e=[e]),go(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),i=o.length;let a;for(r=0;r<i;r++)a=o[r],t.call(null,e[a],a,e)}}function Zg(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 Yg=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,Jg=e=>!pi(e)&&e!==Yg;function Dc(){const{caseless:e}=Jg(this)&&this||{},t={},n=(r,s)=>{const o=e&&Zg(t,s)||s;qa(t[o])&&qa(r)?t[o]=Dc(t[o],r):qa(r)?t[o]=Dc({},r):go(r)?t[o]=r.slice():t[o]=r};for(let r=0,s=arguments.length;r<s;r++)arguments[r]&&Ai(arguments[r],n);return t}const Ok=(e,t,n,{allOwnKeys:r}={})=>(Ai(t,(s,o)=>{n&&Tn(s)?e[o]=Wg(s,n):e[o]=s},{allOwnKeys:r}),e),Dk=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),Pk=(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)},Ik=(e,t,n,r)=>{let s,o,i;const a={};if(t=t||{},e==null)return t;do{for(s=Object.getOwnPropertyNames(e),o=s.length;o-- >0;)i=s[o],(!r||r(i,e,t))&&!a[i]&&(t[i]=e[i],a[i]=!0);e=n!==!1&&Xd(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},Fk=(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},Rk=e=>{if(!e)return null;if(go(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},Lk=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&Xd(Uint8Array)),Nk=(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])}},Mk=(e,t)=>{let n;const r=[];for(;(n=e.exec(t))!==null;)r.push(n);return r},Vk=lr("HTMLFormElement"),Hk=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,r,s){return r.toUpperCase()+s}),Df=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),Uk=lr("RegExp"),Xg=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};Ai(n,(s,o)=>{let i;(i=t(s,o,e))!==!1&&(r[o]=i||s)}),Object.defineProperties(e,r)},Bk=e=>{Xg(e,(t,n)=>{if(Tn(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const r=e[n];if(Tn(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+"'")})}})},jk=(e,t)=>{const n={},r=s=>{s.forEach(o=>{n[o]=!0})};return go(e)?r(e):r(String(e).split(t)),n},qk=()=>{},Wk=(e,t)=>(e=+e,Number.isFinite(e)?e:t),$u="abcdefghijklmnopqrstuvwxyz",Pf="0123456789",Qg={DIGIT:Pf,ALPHA:$u,ALPHA_DIGIT:$u+$u.toUpperCase()+Pf},Gk=(e=16,t=Qg.ALPHA_DIGIT)=>{let n="";const{length:r}=t;for(;e--;)n+=t[Math.random()*r|0];return n};function Kk(e){return!!(e&&Tn(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const Zk=e=>{const t=new Array(10),n=(r,s)=>{if(Jl(r)){if(t.indexOf(r)>=0)return;if(!("toJSON"in r)){t[s]=r;const o=go(r)?[]:{};return Ai(r,(i,a)=>{const l=n(i,s+1);!pi(l)&&(o[a]=l)}),t[s]=void 0,o}}return r};return n(e,0)},Yk=lr("AsyncFunction"),Jk=e=>e&&(Jl(e)||Tn(e))&&Tn(e.then)&&Tn(e.catch),J={isArray:go,isArrayBuffer:Gg,isBuffer:vk,isFormData:$k,isArrayBufferView:bk,isString:zk,isNumber:Kg,isBoolean:Ck,isObject:Jl,isPlainObject:qa,isUndefined:pi,isDate:wk,isFile:kk,isBlob:xk,isRegExp:Uk,isFunction:Tn,isStream:Sk,isURLSearchParams:Ak,isTypedArray:Lk,isFileList:Ek,forEach:Ai,merge:Dc,extend:Ok,trim:Tk,stripBOM:Dk,inherits:Pk,toFlatObject:Ik,kindOf:Zl,kindOfTest:lr,endsWith:Fk,toArray:Rk,forEachEntry:Nk,matchAll:Mk,isHTMLForm:Vk,hasOwnProperty:Df,hasOwnProp:Df,reduceDescriptors:Xg,freezeMethods:Bk,toObjectSet:jk,toCamelCase:Hk,noop:qk,toFiniteNumber:Wk,findKey:Zg,global:Yg,isContextDefined:Jg,ALPHABET:Qg,generateString:Gk,isSpecCompliantForm:Kk,toJSONObject:Zk,isAsyncFn:Yk,isThenable:Jk};function Xe(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)}J.inherits(Xe,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:J.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const ey=Xe.prototype,ty={};["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=>{ty[e]={value:e}});Object.defineProperties(Xe,ty);Object.defineProperty(ey,"isAxiosError",{value:!0});Xe.from=(e,t,n,r,s,o)=>{const i=Object.create(ey);return J.toFlatObject(e,i,function(l){return l!==Error.prototype},a=>a!=="isAxiosError"),Xe.call(i,e.message,t,n,r,s),i.cause=e,i.name=e.name,o&&Object.assign(i,o),i};const Xk=null;function Pc(e){return J.isPlainObject(e)||J.isArray(e)}function ny(e){return J.endsWith(e,"[]")?e.slice(0,-2):e}function If(e,t,n){return e?e.concat(t).map(function(s,o){return s=ny(s),!n&&o?"["+s+"]":s}).join(n?".":""):t}function Qk(e){return J.isArray(e)&&!e.some(Pc)}const ex=J.toFlatObject(J,{},null,function(t){return/^is[A-Z]/.test(t)});function Xl(e,t,n){if(!J.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=J.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(_,b){return!J.isUndefined(b[_])});const r=n.metaTokens,s=n.visitor||d,o=n.dots,i=n.indexes,l=(n.Blob||typeof Blob<"u"&&Blob)&&J.isSpecCompliantForm(t);if(!J.isFunction(s))throw new TypeError("visitor must be a function");function c(h){if(h===null)return"";if(J.isDate(h))return h.toISOString();if(!l&&J.isBlob(h))throw new Xe("Blob is not supported. Use a Buffer instead.");return J.isArrayBuffer(h)||J.isTypedArray(h)?l&&typeof Blob=="function"?new Blob([h]):Buffer.from(h):h}function d(h,_,b){let C=h;if(h&&!b&&typeof h=="object"){if(J.endsWith(_,"{}"))_=r?_:_.slice(0,-2),h=JSON.stringify(h);else if(J.isArray(h)&&Qk(h)||(J.isFileList(h)||J.endsWith(_,"[]"))&&(C=J.toArray(h)))return _=ny(_),C.forEach(function(v,z){!(J.isUndefined(v)||v===null)&&t.append(i===!0?If([_],z,o):i===null?_:_+"[]",c(v))}),!1}return Pc(h)?!0:(t.append(If(b,_,o),c(h)),!1)}const m=[],f=Object.assign(ex,{defaultVisitor:d,convertValue:c,isVisitable:Pc});function p(h,_){if(!J.isUndefined(h)){if(m.indexOf(h)!==-1)throw Error("Circular reference detected in "+_.join("."));m.push(h),J.forEach(h,function(C,w){(!(J.isUndefined(C)||C===null)&&s.call(t,C,J.isString(w)?w.trim():w,_,f))===!0&&p(C,_?_.concat(w):[w])}),m.pop()}}if(!J.isObject(e))throw new TypeError("data must be an object");return p(e),t}function Ff(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(r){return t[r]})}function Qd(e,t){this._pairs=[],e&&Xl(e,this,t)}const ry=Qd.prototype;ry.append=function(t,n){this._pairs.push([t,n])};ry.toString=function(t){const n=t?function(r){return t.call(this,r,Ff)}:Ff;return this._pairs.map(function(s){return n(s[0])+"="+n(s[1])},"").join("&")};function tx(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function sy(e,t,n){if(!t)return e;const r=n&&n.encode||tx,s=n&&n.serialize;let o;if(s?o=s(t,n):o=J.isURLSearchParams(t)?t.toString():new Qd(t,n).toString(r),o){const i=e.indexOf("#");i!==-1&&(e=e.slice(0,i)),e+=(e.indexOf("?")===-1?"?":"&")+o}return e}class Rf{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){J.forEach(this.handlers,function(r){r!==null&&t(r)})}}const oy={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},nx=typeof URLSearchParams<"u"?URLSearchParams:Qd,rx=typeof FormData<"u"?FormData:null,sx=typeof Blob<"u"?Blob:null,ox={isBrowser:!0,classes:{URLSearchParams:nx,FormData:rx,Blob:sx},protocols:["http","https","file","blob","url","data"]},iy=typeof window<"u"&&typeof document<"u",ix=(e=>iy&&["ReactNative","NativeScript","NS"].indexOf(e)<0)(typeof navigator<"u"&&navigator.product),ax=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",lx=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:iy,hasStandardBrowserEnv:ix,hasStandardBrowserWebWorkerEnv:ax},Symbol.toStringTag,{value:"Module"})),nr={...lx,...ox};function ux(e,t){return Xl(e,new nr.classes.URLSearchParams,Object.assign({visitor:function(n,r,s,o){return nr.isNode&&J.isBuffer(n)?(this.append(r,n.toString("base64")),!1):o.defaultVisitor.apply(this,arguments)}},t))}function cx(e){return J.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function dx(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 ay(e){function t(n,r,s,o){let i=n[o++];if(i==="__proto__")return!0;const a=Number.isFinite(+i),l=o>=n.length;return i=!i&&J.isArray(s)?s.length:i,l?(J.hasOwnProp(s,i)?s[i]=[s[i],r]:s[i]=r,!a):((!s[i]||!J.isObject(s[i]))&&(s[i]=[]),t(n,r,s[i],o)&&J.isArray(s[i])&&(s[i]=dx(s[i])),!a)}if(J.isFormData(e)&&J.isFunction(e.entries)){const n={};return J.forEachEntry(e,(r,s)=>{t(cx(r),s,n,0)}),n}return null}function mx(e,t,n){if(J.isString(e))try{return(t||JSON.parse)(e),J.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(n||JSON.stringify)(e)}const em={transitional:oy,adapter:["xhr","http"],transformRequest:[function(t,n){const r=n.getContentType()||"",s=r.indexOf("application/json")>-1,o=J.isObject(t);if(o&&J.isHTMLForm(t)&&(t=new FormData(t)),J.isFormData(t))return s?JSON.stringify(ay(t)):t;if(J.isArrayBuffer(t)||J.isBuffer(t)||J.isStream(t)||J.isFile(t)||J.isBlob(t))return t;if(J.isArrayBufferView(t))return t.buffer;if(J.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let a;if(o){if(r.indexOf("application/x-www-form-urlencoded")>-1)return ux(t,this.formSerializer).toString();if((a=J.isFileList(t))||r.indexOf("multipart/form-data")>-1){const l=this.env&&this.env.FormData;return Xl(a?{"files[]":t}:t,l&&new l,this.formSerializer)}}return o||s?(n.setContentType("application/json",!1),mx(t)):t}],transformResponse:[function(t){const n=this.transitional||em.transitional,r=n&&n.forcedJSONParsing,s=this.responseType==="json";if(t&&J.isString(t)&&(r&&!this.responseType||s)){const i=!(n&&n.silentJSONParsing)&&s;try{return JSON.parse(t)}catch(a){if(i)throw a.name==="SyntaxError"?Xe.from(a,Xe.ERR_BAD_RESPONSE,this,null,this.response):a}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:nr.classes.FormData,Blob:nr.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};J.forEach(["delete","get","head","post","put","patch"],e=>{em.headers[e]={}});const tm=em,fx=J.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"]),px=e=>{const t={};let n,r,s;return e&&e.split(`
`).forEach(function(i){s=i.indexOf(":"),n=i.substring(0,s).trim().toLowerCase(),r=i.substring(s+1).trim(),!(!n||t[n]&&fx[n])&&(n==="set-cookie"?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t},Lf=Symbol("internals");function Eo(e){return e&&String(e).trim().toLowerCase()}function Wa(e){return e===!1||e==null?e:J.isArray(e)?e.map(Wa):String(e)}function hx(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 _x=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function Au(e,t,n,r,s){if(J.isFunction(r))return r.call(this,t,n);if(s&&(t=n),!!J.isString(t)){if(J.isString(r))return t.indexOf(r)!==-1;if(J.isRegExp(r))return r.test(t)}}function gx(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,r)=>n.toUpperCase()+r)}function yx(e,t){const n=J.toCamelCase(" "+t);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+n,{value:function(s,o,i){return this[r].call(this,t,s,o,i)},configurable:!0})})}class Ql{constructor(t){t&&this.set(t)}set(t,n,r){const s=this;function o(a,l,c){const d=Eo(l);if(!d)throw new Error("header name must be a non-empty string");const m=J.findKey(s,d);(!m||s[m]===void 0||c===!0||c===void 0&&s[m]!==!1)&&(s[m||l]=Wa(a))}const i=(a,l)=>J.forEach(a,(c,d)=>o(c,d,l));return J.isPlainObject(t)||t instanceof this.constructor?i(t,n):J.isString(t)&&(t=t.trim())&&!_x(t)?i(px(t),n):t!=null&&o(n,t,r),this}get(t,n){if(t=Eo(t),t){const r=J.findKey(this,t);if(r){const s=this[r];if(!n)return s;if(n===!0)return hx(s);if(J.isFunction(n))return n.call(this,s,r);if(J.isRegExp(n))return n.exec(s);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=Eo(t),t){const r=J.findKey(this,t);return!!(r&&this[r]!==void 0&&(!n||Au(this,this[r],r,n)))}return!1}delete(t,n){const r=this;let s=!1;function o(i){if(i=Eo(i),i){const a=J.findKey(r,i);a&&(!n||Au(r,r[a],a,n))&&(delete r[a],s=!0)}}return J.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||Au(this,this[o],o,t,!0))&&(delete this[o],s=!0)}return s}normalize(t){const n=this,r={};return J.forEach(this,(s,o)=>{const i=J.findKey(r,o);if(i){n[i]=Wa(s),delete n[o];return}const a=t?gx(o):String(o).trim();a!==o&&delete n[o],n[a]=Wa(s),r[a]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return J.forEach(this,(r,s)=>{r!=null&&r!==!1&&(n[s]=t&&J.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[Lf]=this[Lf]={accessors:{}}).accessors,s=this.prototype;function o(i){const a=Eo(i);r[a]||(yx(s,i),r[a]=!0)}return J.isArray(t)?t.forEach(o):o(t),this}}Ql.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);J.reduceDescriptors(Ql.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(r){this[n]=r}}});J.freezeMethods(Ql);const gr=Ql;function Tu(e,t){const n=this||tm,r=t||n,s=gr.from(r.headers);let o=r.data;return J.forEach(e,function(a){o=a.call(n,o,s.normalize(),t?t.status:void 0)}),s.normalize(),o}function ly(e){return!!(e&&e.__CANCEL__)}function Ti(e,t,n){Xe.call(this,e??"canceled",Xe.ERR_CANCELED,t,n),this.name="CanceledError"}J.inherits(Ti,Xe,{__CANCEL__:!0});function vx(e,t,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new Xe("Request failed with status code "+n.status,[Xe.ERR_BAD_REQUEST,Xe.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}const bx=nr.hasStandardBrowserEnv?{write(e,t,n,r,s,o){const i=[e+"="+encodeURIComponent(t)];J.isNumber(n)&&i.push("expires="+new Date(n).toGMTString()),J.isString(r)&&i.push("path="+r),J.isString(s)&&i.push("domain="+s),o===!0&&i.push("secure"),document.cookie=i.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function zx(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function Cx(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function uy(e,t){return e&&!zx(t)?Cx(e,t):t}const wx=nr.hasStandardBrowserEnv?function(){const t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");let r;function s(o){let i=o;return t&&(n.setAttribute("href",i),i=n.href),n.setAttribute("href",i),{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(i){const a=J.isString(i)?s(i):i;return a.protocol===r.protocol&&a.host===r.host}}():function(){return function(){return!0}}();function kx(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function xx(e,t){e=e||10;const n=new Array(e),r=new Array(e);let s=0,o=0,i;return t=t!==void 0?t:1e3,function(l){const c=Date.now(),d=r[o];i||(i=c),n[s]=l,r[s]=c;let m=o,f=0;for(;m!==s;)f+=n[m++],m=m%e;if(s=(s+1)%e,s===o&&(o=(o+1)%e),c-i<t)return;const p=d&&c-d;return p?Math.round(f*1e3/p):void 0}}function Nf(e,t){let n=0;const r=xx(50,250);return s=>{const o=s.loaded,i=s.lengthComputable?s.total:void 0,a=o-n,l=r(a),c=o<=i;n=o;const d={loaded:o,total:i,progress:i?o/i:void 0,bytes:a,rate:l||void 0,estimated:l&&i&&c?(i-o)/l:void 0,event:s};d[t?"download":"upload"]=!0,e(d)}}const Ex=typeof XMLHttpRequest<"u",Sx=Ex&&function(e){return new Promise(function(n,r){let s=e.data;const o=gr.from(e.headers).normalize();let{responseType:i,withXSRFToken:a}=e,l;function c(){e.cancelToken&&e.cancelToken.unsubscribe(l),e.signal&&e.signal.removeEventListener("abort",l)}let d;if(J.isFormData(s)){if(nr.hasStandardBrowserEnv||nr.hasStandardBrowserWebWorkerEnv)o.setContentType(!1);else if((d=o.getContentType())!==!1){const[_,...b]=d?d.split(";").map(C=>C.trim()).filter(Boolean):[];o.setContentType([_||"multipart/form-data",...b].join("; "))}}let m=new XMLHttpRequest;if(e.auth){const _=e.auth.username||"",b=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";o.set("Authorization","Basic "+btoa(_+":"+b))}const f=uy(e.baseURL,e.url);m.open(e.method.toUpperCase(),sy(f,e.params,e.paramsSerializer),!0),m.timeout=e.timeout;function p(){if(!m)return;const _=gr.from("getAllResponseHeaders"in m&&m.getAllResponseHeaders()),C={data:!i||i==="text"||i==="json"?m.responseText:m.response,status:m.status,statusText:m.statusText,headers:_,config:e,request:m};vx(function(v){n(v),c()},function(v){r(v),c()},C),m=null}if("onloadend"in m?m.onloadend=p:m.onreadystatechange=function(){!m||m.readyState!==4||m.status===0&&!(m.responseURL&&m.responseURL.indexOf("file:")===0)||setTimeout(p)},m.onabort=function(){m&&(r(new Xe("Request aborted",Xe.ECONNABORTED,e,m)),m=null)},m.onerror=function(){r(new Xe("Network Error",Xe.ERR_NETWORK,e,m)),m=null},m.ontimeout=function(){let b=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded";const C=e.transitional||oy;e.timeoutErrorMessage&&(b=e.timeoutErrorMessage),r(new Xe(b,C.clarifyTimeoutError?Xe.ETIMEDOUT:Xe.ECONNABORTED,e,m)),m=null},nr.hasStandardBrowserEnv&&(a&&J.isFunction(a)&&(a=a(e)),a||a!==!1&&wx(f))){const _=e.xsrfHeaderName&&e.xsrfCookieName&&bx.read(e.xsrfCookieName);_&&o.set(e.xsrfHeaderName,_)}s===void 0&&o.setContentType(null),"setRequestHeader"in m&&J.forEach(o.toJSON(),function(b,C){m.setRequestHeader(C,b)}),J.isUndefined(e.withCredentials)||(m.withCredentials=!!e.withCredentials),i&&i!=="json"&&(m.responseType=e.responseType),typeof e.onDownloadProgress=="function"&&m.addEventListener("progress",Nf(e.onDownloadProgress,!0)),typeof e.onUploadProgress=="function"&&m.upload&&m.upload.addEventListener("progress",Nf(e.onUploadProgress)),(e.cancelToken||e.signal)&&(l=_=>{m&&(r(!_||_.type?new Ti(null,e,m):_),m.abort(),m=null)},e.cancelToken&&e.cancelToken.subscribe(l),e.signal&&(e.signal.aborted?l():e.signal.addEventListener("abort",l)));const h=kx(f);if(h&&nr.protocols.indexOf(h)===-1){r(new Xe("Unsupported protocol "+h+":",Xe.ERR_BAD_REQUEST,e));return}m.send(s||null)})},Ic={http:Xk,xhr:Sx};J.forEach(Ic,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const Mf=e=>`- ${e}`,$x=e=>J.isFunction(e)||e===null||e===!1,cy={getAdapter:e=>{e=J.isArray(e)?e:[e];const{length:t}=e;let n,r;const s={};for(let o=0;o<t;o++){n=e[o];let i;if(r=n,!$x(n)&&(r=Ic[(i=String(n)).toLowerCase()],r===void 0))throw new Xe(`Unknown adapter '${i}'`);if(r)break;s[i||"#"+o]=r}if(!r){const o=Object.entries(s).map(([a,l])=>`adapter ${a} `+(l===!1?"is not supported by the environment":"is not available in the build"));let i=t?o.length>1?`since :
`+o.map(Mf).join(`
`):" "+Mf(o[0]):"as no adapter specified";throw new Xe("There is no suitable adapter to dispatch the request "+i,"ERR_NOT_SUPPORT")}return r},adapters:Ic};function Ou(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Ti(null,e)}function Vf(e){return Ou(e),e.headers=gr.from(e.headers),e.data=Tu.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),cy.getAdapter(e.adapter||tm.adapter)(e).then(function(r){return Ou(e),r.data=Tu.call(e,e.transformResponse,r),r.headers=gr.from(r.headers),r},function(r){return ly(r)||(Ou(e),r&&r.response&&(r.response.data=Tu.call(e,e.transformResponse,r.response),r.response.headers=gr.from(r.response.headers))),Promise.reject(r)})}const Hf=e=>e instanceof gr?e.toJSON():e;function io(e,t){t=t||{};const n={};function r(c,d,m){return J.isPlainObject(c)&&J.isPlainObject(d)?J.merge.call({caseless:m},c,d):J.isPlainObject(d)?J.merge({},d):J.isArray(d)?d.slice():d}function s(c,d,m){if(J.isUndefined(d)){if(!J.isUndefined(c))return r(void 0,c,m)}else return r(c,d,m)}function o(c,d){if(!J.isUndefined(d))return r(void 0,d)}function i(c,d){if(J.isUndefined(d)){if(!J.isUndefined(c))return r(void 0,c)}else return r(void 0,d)}function a(c,d,m){if(m in t)return r(c,d);if(m in e)return r(void 0,c)}const l={url:o,method:o,data:o,baseURL:i,transformRequest:i,transformResponse:i,paramsSerializer:i,timeout:i,timeoutMessage:i,withCredentials:i,withXSRFToken:i,adapter:i,responseType:i,xsrfCookieName:i,xsrfHeaderName:i,onUploadProgress:i,onDownloadProgress:i,decompress:i,maxContentLength:i,maxBodyLength:i,beforeRedirect:i,transport:i,httpAgent:i,httpsAgent:i,cancelToken:i,socketPath:i,responseEncoding:i,validateStatus:a,headers:(c,d)=>s(Hf(c),Hf(d),!0)};return J.forEach(Object.keys(Object.assign({},e,t)),function(d){const m=l[d]||s,f=m(e[d],t[d],d);J.isUndefined(f)&&m!==a||(n[d]=f)}),n}const dy="1.6.7",nm={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{nm[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});const Uf={};nm.transitional=function(t,n,r){function s(o,i){return"[Axios v"+dy+"] Transitional option '"+o+"'"+i+(r?". "+r:"")}return(o,i,a)=>{if(t===!1)throw new Xe(s(i," has been removed"+(n?" in "+n:"")),Xe.ERR_DEPRECATED);return n&&!Uf[i]&&(Uf[i]=!0,console.warn(s(i," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(o,i,a):!0}};function Ax(e,t,n){if(typeof e!="object")throw new Xe("options must be an object",Xe.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let s=r.length;for(;s-- >0;){const o=r[s],i=t[o];if(i){const a=e[o],l=a===void 0||i(a,o,e);if(l!==!0)throw new Xe("option "+o+" must be "+l,Xe.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new Xe("Unknown option "+o,Xe.ERR_BAD_OPTION)}}const Fc={assertOptions:Ax,validators:nm},Er=Fc.validators;class ml{constructor(t){this.defaults=t,this.interceptors={request:new Rf,response:new Rf}}async request(t,n){try{return await this._request(t,n)}catch(r){if(r instanceof Error){let s;Error.captureStackTrace?Error.captureStackTrace(s={}):s=new Error;const o=s.stack?s.stack.replace(/^.+\n/,""):"";r.stack?o&&!String(r.stack).endsWith(o.replace(/^.+\n.+\n/,""))&&(r.stack+=`
`+o):r.stack=o}throw r}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=io(this.defaults,n);const{transitional:r,paramsSerializer:s,headers:o}=n;r!==void 0&&Fc.assertOptions(r,{silentJSONParsing:Er.transitional(Er.boolean),forcedJSONParsing:Er.transitional(Er.boolean),clarifyTimeoutError:Er.transitional(Er.boolean)},!1),s!=null&&(J.isFunction(s)?n.paramsSerializer={serialize:s}:Fc.assertOptions(s,{encode:Er.function,serialize:Er.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let i=o&&J.merge(o.common,o[n.method]);o&&J.forEach(["delete","get","head","post","put","patch","common"],h=>{delete o[h]}),n.headers=gr.concat(i,o);const a=[];let l=!0;this.interceptors.request.forEach(function(_){typeof _.runWhen=="function"&&_.runWhen(n)===!1||(l=l&&_.synchronous,a.unshift(_.fulfilled,_.rejected))});const c=[];this.interceptors.response.forEach(function(_){c.push(_.fulfilled,_.rejected)});let d,m=0,f;if(!l){const h=[Vf.bind(this),void 0];for(h.unshift.apply(h,a),h.push.apply(h,c),f=h.length,d=Promise.resolve(n);m<f;)d=d.then(h[m++],h[m++]);return d}f=a.length;let p=n;for(m=0;m<f;){const h=a[m++],_=a[m++];try{p=h(p)}catch(b){_.call(this,b);break}}try{d=Vf.call(this,p)}catch(h){return Promise.reject(h)}for(m=0,f=c.length;m<f;)d=d.then(c[m++],c[m++]);return d}getUri(t){t=io(this.defaults,t);const n=uy(t.baseURL,t.url);return sy(n,t.params,t.paramsSerializer)}}J.forEach(["delete","get","head","options"],function(t){ml.prototype[t]=function(n,r){return this.request(io(r||{},{method:t,url:n,data:(r||{}).data}))}});J.forEach(["post","put","patch"],function(t){function n(r){return function(o,i,a){return this.request(io(a||{},{method:t,headers:r?{"Content-Type":"multipart/form-data"}:{},url:o,data:i}))}}ml.prototype[t]=n(),ml.prototype[t+"Form"]=n(!0)});const Ga=ml;class rm{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 i=new Promise(a=>{r.subscribe(a),o=a}).then(s);return i.cancel=function(){r.unsubscribe(o)},i},t(function(o,i,a){r.reason||(r.reason=new Ti(o,i,a),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 rm(function(s){t=s}),cancel:t}}}const Tx=rm;function Ox(e){return function(n){return e.apply(null,n)}}function Dx(e){return J.isObject(e)&&e.isAxiosError===!0}const Rc={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(Rc).forEach(([e,t])=>{Rc[t]=e});const Px=Rc;function my(e){const t=new Ga(e),n=Wg(Ga.prototype.request,t);return J.extend(n,Ga.prototype,t,{allOwnKeys:!0}),J.extend(n,t,null,{allOwnKeys:!0}),n.create=function(s){return my(io(e,s))},n}const se=my(tm);se.Axios=Ga;se.CanceledError=Ti;se.CancelToken=Tx;se.isCancel=ly;se.VERSION=dy;se.toFormData=Xl;se.AxiosError=Xe;se.Cancel=se.CanceledError;se.all=function(t){return Promise.all(t)};se.spread=Ox;se.isAxiosError=Dx;se.mergeConfig=io;se.AxiosHeaders=gr;se.formToJSON=e=>ay(J.isHTMLForm(e)?new FormData(e):e);se.getAdapter=cy.getAdapter;se.HttpStatusCode=Px;se.default=se;function Ix(){return fy().__VUE_DEVTOOLS_GLOBAL_HOOK__}function fy(){return typeof navigator<"u"&&typeof window<"u"?window:typeof globalThis<"u"?globalThis:{}}const Fx=typeof Proxy=="function",Rx="devtools-plugin:setup",Lx="plugin:settings:set";let $s,Lc;function Nx(){var e;return $s!==void 0||(typeof window<"u"&&window.performance?($s=!0,Lc=window.performance):typeof globalThis<"u"&&(!((e=globalThis.perf_hooks)===null||e===void 0)&&e.performance)?($s=!0,Lc=globalThis.perf_hooks.performance):$s=!1),$s}function Mx(){return Nx()?Lc.now():Date.now()}class Vx{constructor(t,n){this.target=null,this.targetQueue=[],this.onQueue=[],this.plugin=t,this.hook=n;const r={};if(t.settings)for(const i in t.settings){const a=t.settings[i];r[i]=a.defaultValue}const s=`__vue-devtools-plugin-settings__${t.id}`;let o=Object.assign({},r);try{const i=localStorage.getItem(s),a=JSON.parse(i);Object.assign(o,a)}catch{}this.fallbacks={getSettings(){return o},setSettings(i){try{localStorage.setItem(s,JSON.stringify(i))}catch{}o=i},now(){return Mx()}},n&&n.on(Lx,(i,a)=>{i===this.plugin.id&&this.fallbacks.setSettings(a)}),this.proxiedOn=new Proxy({},{get:(i,a)=>this.target?this.target.on[a]:(...l)=>{this.onQueue.push({method:a,args:l})}}),this.proxiedTarget=new Proxy({},{get:(i,a)=>this.target?this.target[a]:a==="on"?this.proxiedOn:Object.keys(this.fallbacks).includes(a)?(...l)=>(this.targetQueue.push({method:a,args:l,resolve:()=>{}}),this.fallbacks[a](...l)):(...l)=>new Promise(c=>{this.targetQueue.push({method:a,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 Hx(e,t){const n=e,r=fy(),s=Ix(),o=Fx&&n.enableEarlyProxy;if(s&&(r.__VUE_DEVTOOLS_PLUGIN_API_AVAILABLE__||!o))s.emit(Rx,e,t);else{const i=o?new Vx(n,s):null;(r.__VUE_DEVTOOLS_PLUGINS__=r.__VUE_DEVTOOLS_PLUGINS__||[]).push({pluginDescriptor:n,setupFn:t,proxy:i}),i&&t(i.proxiedTarget)}}/*!
* vuex v4.1.0
* (c) 2022 Evan You
* @license MIT
*/var Ux="store";function yo(e,t){Object.keys(e).forEach(function(n){return t(e[n],n)})}function Bx(e){return e!==null&&typeof e=="object"}function jx(e){return e&&typeof e.then=="function"}function qx(e,t){return function(){return e(t)}}function py(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 hy(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;eu(e,n,[],e._modules.root,!0),sm(e,n,t)}function sm(e,t,n){var r=e._state,s=e._scope;e.getters={},e._makeLocalGettersCache=Object.create(null);var o=e._wrappedGetters,i={},a={},l=xd(!0);l.run(function(){yo(o,function(c,d){i[d]=qx(c,e),a[d]=Lt(function(){return i[d]()}),Object.defineProperty(e.getters,d,{get:function(){return a[d].value},enumerable:!0})})}),e._state=po({data:t}),e._scope=l,e.strict&&Yx(e),r&&n&&e._withCommit(function(){r.data=null}),s&&s.stop()}function eu(e,t,n,r,s){var o=!n.length,i=e._modules.getNamespace(n);if(r.namespaced&&(e._modulesNamespaceMap[i],e._modulesNamespaceMap[i]=r),!o&&!s){var a=om(t,n.slice(0,-1)),l=n[n.length-1];e._withCommit(function(){a[l]=r.state})}var c=r.context=Wx(e,i,n);r.forEachMutation(function(d,m){var f=i+m;Gx(e,f,d,c)}),r.forEachAction(function(d,m){var f=d.root?m:i+m,p=d.handler||d;Kx(e,f,p,c)}),r.forEachGetter(function(d,m){var f=i+m;Zx(e,f,d,c)}),r.forEachChild(function(d,m){eu(e,t,n.concat(m),d,s)})}function Wx(e,t,n){var r=t==="",s={dispatch:r?e.dispatch:function(o,i,a){var l=fl(o,i,a),c=l.payload,d=l.options,m=l.type;return(!d||!d.root)&&(m=t+m),e.dispatch(m,c)},commit:r?e.commit:function(o,i,a){var l=fl(o,i,a),c=l.payload,d=l.options,m=l.type;(!d||!d.root)&&(m=t+m),e.commit(m,c,d)}};return Object.defineProperties(s,{getters:{get:r?function(){return e.getters}:function(){return _y(e,t)}},state:{get:function(){return om(e.state,n)}}}),s}function _y(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 Gx(e,t,n,r){var s=e._mutations[t]||(e._mutations[t]=[]);s.push(function(i){n.call(e,r.state,i)})}function Kx(e,t,n,r){var s=e._actions[t]||(e._actions[t]=[]);s.push(function(i){var a=n.call(e,{dispatch:r.dispatch,commit:r.commit,getters:r.getters,state:r.state,rootGetters:e.getters,rootState:e.state},i);return jx(a)||(a=Promise.resolve(a)),e._devtoolHook?a.catch(function(l){throw e._devtoolHook.emit("vuex:error",l),l}):a})}function Zx(e,t,n,r){e._wrappedGetters[t]||(e._wrappedGetters[t]=function(o){return n(r.state,r.getters,o.state,o.getters)})}function Yx(e){bn(function(){return e._state.data},function(){},{deep:!0,flush:"sync"})}function om(e,t){return t.reduce(function(n,r){return n[r]},e)}function fl(e,t,n){return Bx(e)&&e.type&&(n=t,t=e,e=e.type),{type:e,payload:t,options:n}}var Jx="vuex bindings",Bf="vuex:mutations",Du="vuex:actions",As="vuex",Xx=0;function Qx(e,t){Hx({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:[Jx]},function(n){n.addTimelineLayer({id:Bf,label:"Vuex Mutations",color:jf}),n.addTimelineLayer({id:Du,label:"Vuex Actions",color:jf}),n.addInspector({id:As,label:"Vuex",icon:"storage",treeFilterPlaceholder:"Filter stores..."}),n.on.getInspectorTree(function(r){if(r.app===e&&r.inspectorId===As)if(r.filter){var s=[];by(s,t._modules.root,r.filter,""),r.rootNodes=s}else r.rootNodes=[vy(t._modules.root,"")]}),n.on.getInspectorState(function(r){if(r.app===e&&r.inspectorId===As){var s=r.nodeId;_y(t,s),r.state=n2(s2(t._modules,s),s==="root"?t.getters:t._makeLocalGettersCache,s)}}),n.on.editInspectorState(function(r){if(r.app===e&&r.inspectorId===As){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(As),n.sendInspectorState(As),n.addTimelineEvent({layerId:Bf,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=Xx++,r._time=Date.now(),o.state=s,n.addTimelineEvent({layerId:Du,event:{time:r._time,title:r.type,groupId:r._id,subtitle:"start",data:o}})},after:function(r,s){var o={},i=Date.now()-r._time;o.duration={_custom:{type:"duration",display:i+"ms",tooltip:"Action duration",value:i}},r.payload&&(o.payload=r.payload),o.state=s,n.addTimelineEvent({layerId:Du,event:{time:Date.now(),title:r.type,groupId:r._id,subtitle:"end",data:o}})}})})}var jf=8702998,e2=6710886,t2=16777215,gy={label:"namespaced",textColor:t2,backgroundColor:e2};function yy(e){return e&&e!=="root"?e.split("/").slice(-2,-1)[0]:"Root"}function vy(e,t){return{id:t||"root",label:yy(t),tags:e.namespaced?[gy]:[],children:Object.keys(e._children).map(function(n){return vy(e._children[n],t+n+"/")})}}function by(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?[gy]:[]}),Object.keys(t._children).forEach(function(s){by(e,t._children[s],n,r+s+"/")})}function n2(e,t,n){t=n==="root"?t:t[n];var r=Object.keys(t),s={state:Object.keys(e.state).map(function(i){return{key:i,editable:!0,value:e.state[i]}})};if(r.length){var o=r2(t);s.getters=Object.keys(o).map(function(i){return{key:i.endsWith("/")?yy(i):i,editable:!1,value:Nc(function(){return o[i]})}})}return s}function r2(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(i){s[i]||(s[i]={_custom:{value:{},display:i,tooltip:"Module",abstract:!0}}),s=s[i]._custom.value}),s[o]=Nc(function(){return e[n]})}else t[n]=Nc(function(){return e[n]})}),t}function s2(e,t){var n=t.split("/").filter(function(r){return r});return n.reduce(function(r,s,o){var i=r[s];if(!i)throw new Error('Missing module "'+s+'" for path "'+t+'".');return o===n.length-1?i:i._children},t==="root"?e:e.root._children)}function Nc(e){try{return e()}catch(t){return t}}var Zn=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)||{}},zy={namespaced:{configurable:!0}};zy.namespaced.get=function(){return!!this._rawModule.namespaced};Zn.prototype.addChild=function(t,n){this._children[t]=n};Zn.prototype.removeChild=function(t){delete this._children[t]};Zn.prototype.getChild=function(t){return this._children[t]};Zn.prototype.hasChild=function(t){return t in this._children};Zn.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)};Zn.prototype.forEachChild=function(t){yo(this._children,t)};Zn.prototype.forEachGetter=function(t){this._rawModule.getters&&yo(this._rawModule.getters,t)};Zn.prototype.forEachAction=function(t){this._rawModule.actions&&yo(this._rawModule.actions,t)};Zn.prototype.forEachMutation=function(t){this._rawModule.mutations&&yo(this._rawModule.mutations,t)};Object.defineProperties(Zn.prototype,zy);var xs=function(t){this.register([],t,!1)};xs.prototype.get=function(t){return t.reduce(function(n,r){return n.getChild(r)},this.root)};xs.prototype.getNamespace=function(t){var n=this.root;return t.reduce(function(r,s){return n=n.getChild(s),r+(n.namespaced?s+"/":"")},"")};xs.prototype.update=function(t){Cy([],this.root,t)};xs.prototype.register=function(t,n,r){var s=this;r===void 0&&(r=!0);var o=new Zn(n,r);if(t.length===0)this.root=o;else{var i=this.get(t.slice(0,-1));i.addChild(t[t.length-1],o)}n.modules&&yo(n.modules,function(a,l){s.register(t.concat(l),a,r)})};xs.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)};xs.prototype.isRegistered=function(t){var n=this.get(t.slice(0,-1)),r=t[t.length-1];return n?n.hasChild(r):!1};function Cy(e,t,n){if(t.update(n),n.modules)for(var r in n.modules){if(!t.getChild(r))return;Cy(e.concat(r),t.getChild(r),n.modules[r])}}function o2(e){return new mn(e)}var mn=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 xs(t),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._makeLocalGettersCache=Object.create(null),this._scope=null,this._devtools=o;var i=this,a=this,l=a.dispatch,c=a.commit;this.dispatch=function(f,p){return l.call(i,f,p)},this.commit=function(f,p,h){return c.call(i,f,p,h)},this.strict=s;var d=this._modules.root.state;eu(this,d,[],this._modules.root),sm(this,d),r.forEach(function(m){return m(n)})},im={state:{configurable:!0}};mn.prototype.install=function(t,n){t.provide(n||Ux,this),t.config.globalProperties.$store=this;var r=this._devtools!==void 0?this._devtools:!1;r&&Qx(t,this)};im.state.get=function(){return this._state.data};im.state.set=function(e){};mn.prototype.commit=function(t,n,r){var s=this,o=fl(t,n,r),i=o.type,a=o.payload,l={type:i,payload:a},c=this._mutations[i];c&&(this._withCommit(function(){c.forEach(function(m){m(a)})}),this._subscribers.slice().forEach(function(d){return d(l,s.state)}))};mn.prototype.dispatch=function(t,n){var r=this,s=fl(t,n),o=s.type,i=s.payload,a={type:o,payload:i},l=this._actions[o];if(l){try{this._actionSubscribers.slice().filter(function(d){return d.before}).forEach(function(d){return d.before(a,r.state)})}catch{}var c=l.length>1?Promise.all(l.map(function(d){return d(i)})):l[0](i);return new Promise(function(d,m){c.then(function(f){try{r._actionSubscribers.filter(function(p){return p.after}).forEach(function(p){return p.after(a,r.state)})}catch{}d(f)},function(f){try{r._actionSubscribers.filter(function(p){return p.error}).forEach(function(p){return p.error(a,r.state,f)})}catch{}m(f)})})}};mn.prototype.subscribe=function(t,n){return py(t,this._subscribers,n)};mn.prototype.subscribeAction=function(t,n){var r=typeof t=="function"?{before:t}:t;return py(r,this._actionSubscribers,n)};mn.prototype.watch=function(t,n,r){var s=this;return bn(function(){return t(s.state,s.getters)},n,Object.assign({},r))};mn.prototype.replaceState=function(t){var n=this;this._withCommit(function(){n._state.data=t})};mn.prototype.registerModule=function(t,n,r){r===void 0&&(r={}),typeof t=="string"&&(t=[t]),this._modules.register(t,n),eu(this,this.state,t,this._modules.get(t),r.preserveState),sm(this,this.state)};mn.prototype.unregisterModule=function(t){var n=this;typeof t=="string"&&(t=[t]),this._modules.unregister(t),this._withCommit(function(){var r=om(n.state,t.slice(0,-1));delete r[t[t.length-1]]}),hy(this)};mn.prototype.hasModule=function(t){return typeof t=="string"&&(t=[t]),this._modules.isRegistered(t)};mn.prototype.hotUpdate=function(t){this._modules.update(t),hy(this,!0)};mn.prototype._withCommit=function(t){var n=this._committing;this._committing=!0,t(),this._committing=n};Object.defineProperties(mn.prototype,im);const He=o2({state(){return{albums_sort:1,artist_albums_sort:1,artist_tracks_sort:1,artists_sort:1,composer_tracks_sort:1,config:{buildoptions:[],version:"",websocket_port:0},genre_tracks_sort:1,hide_singles:!1,hide_spotify:!1,lastfm:{},library:{albums:0,artists:0,db_playtime:0,songs:0,started_at:"01",updated_at:"01",updating:!1},lyrics:{content:[],pane:!1},notifications:{list:[],next_id:1},outputs:[],pairing:{},player:{consume:!1,item_id:0,item_length_ms:0,item_progress_ms:0,repeat:"off",shuffle:!1,state:"stop",volume:0},queue:{count:0,items:[],version:0},recent_searches:[],rss_count:{},search_source:"library",settings:{categories:[]},show_only_next_items:!1,show_burger_menu:!1,show_player_menu:!1,show_update_dialog:!1,spotify:{},spotify_featured_playlists:[],spotify_new_releases:[],update_dialog_scan_kind:""}},getters:{now_playing:e=>{const t=e.queue.items.find(n=>n.id===e.player.item_id);return t===void 0?{}:t},settings_category:e=>t=>e.settings.categories.find(n=>n.name===t),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:e=>(t,n)=>{const r=e.settings.categories.find(s=>s.name===t);return r?r.options.find(s=>s.name===n):{}},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_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_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_webinterface:e=>e.settings?e.settings.categories.find(t=>t.name==="webinterface"):null},mutations:{[Uh](e,t){e.config=t},[Bh](e,t){e.settings=t},[Tl](e,t){const n=e.settings.categories.find(s=>s.name===t.category),r=n.options.find(s=>s.name===t.name);r.value=t.value},[jh](e,t){e.library=t},[qh](e,t){e.rss_count=t},[Wh](e,t){e.outputs=t},[hd](e,t){e.player=t},[Gh](e,t){e.queue=t},[lc](e,t){e.lyrics.content=t},[Kh](e,t){e.lastfm=t},[Zh](e,t){e.spotify=t},[Yh](e,t){e.pairing=t},[_d](e,t){e.spotify_new_releases=t},[gd](e,t){e.spotify_featured_playlists=t},[Bm](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)},[uc](e,t){const n=e.notifications.list.indexOf(t);n!==-1&&e.notifications.list.splice(n,1)},[cc](e,t){e.search_source=t},[yd](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()},[Jh](e,t){e.composer_tracks_sort=t},[Xh](e,t){e.genre_tracks_sort=t},[Ol](e,t){e.hide_singles=t},[bi](e,t){e.hide_spotify=t},[Qh](e,t){e.artists_sort=t},[e_](e,t){e.artist_albums_sort=t},[t_](e,t){e.artist_tracks_sort=t},[n_](e,t){e.albums_sort=t},[r_](e,t){e.show_only_next_items=t},[eo](e,t){e.show_burger_menu=t},[to](e,t){e.show_player_menu=t},[zi](e,t){e.show_update_dialog=t},[vd](e,t){e.update_dialog_scan_kind=t}},actions:{add_notification({commit:e,state:t},n){const r={id:t.notifications.next_id++,text:n.text,timeout:n.timeout,topic:n.topic,type:n.type};e(Bm,r),n.timeout>0&&setTimeout(()=>{e(uc,r)},n.timeout)}}});/*!
* shared v9.9.1
* (c) 2024 kazuya kawaguchi
* Released under the MIT License.
*/const pl=typeof window<"u",Jr=(e,t=!1)=>t?Symbol.for(e):Symbol(e),i2=(e,t,n)=>a2({l:e,k:t,s:n}),a2=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),Nt=e=>typeof e=="number"&&isFinite(e),l2=e=>ky(e)==="[object Date]",hl=e=>ky(e)==="[object RegExp]",tu=e=>Qe(e)&&Object.keys(e).length===0,Kt=Object.assign;let qf;const am=()=>qf||(qf=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Wf(e){return e.replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&apos;")}const u2=Object.prototype.hasOwnProperty;function _l(e,t){return u2.call(e,t)}const Rt=Array.isArray,$t=e=>typeof e=="function",ke=e=>typeof e=="string",At=e=>typeof e=="boolean",at=e=>e!==null&&typeof e=="object",c2=e=>at(e)&&$t(e.then)&&$t(e.catch),wy=Object.prototype.toString,ky=e=>wy.call(e),Qe=e=>{if(!at(e))return!1;const t=Object.getPrototypeOf(e);return t===null||t.constructor===Object},d2=e=>e==null?"":Rt(e)||Qe(e)&&e.toString===wy?JSON.stringify(e,null,2):String(e);function m2(e,t=""){return e.reduce((n,r,s)=>s===0?n+r:n+t+r,"")}function lm(e){let t=e;return()=>++t}function f2(e,t){typeof console<"u"&&(console.warn("[intlify] "+e),t&&console.warn(t.stack))}const Xi=e=>!at(e)||Rt(e);function Ka(e,t){if(Xi(e)||Xi(t))throw new Error("Invalid value");const n=[{src:e,des:t}];for(;n.length;){const{src:r,des:s}=n.pop();Object.keys(r).forEach(o=>{Xi(r[o])||Xi(s[o])?s[o]=r[o]:n.push({src:r[o],des:s[o]})})}}/*!
* message-compiler v9.9.1
* (c) 2024 kazuya kawaguchi
* Released under the MIT License.
*/const p2=/\{([0-9a-zA-Z]+)\}/g;function h2(e,...t){return t.length===1&&_2(t[0])&&(t=t[0]),(!t||!t.hasOwnProperty)&&(t={}),e.replace(p2,(n,r)=>t.hasOwnProperty(r)?t[r]:"")}const _2=e=>e!==null&&typeof e=="object",Vt={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,UNHANDLED_CODEGEN_NODE_TYPE:15,UNHANDLED_MINIFIER_NODE_TYPE:16,__EXTEND_POINT__:17},g2={[Vt.EXPECTED_TOKEN]:"Expected token: '{0}'",[Vt.INVALID_TOKEN_IN_PLACEHOLDER]:"Invalid token in placeholder: '{0}'",[Vt.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER]:"Unterminated single quote in placeholder",[Vt.UNKNOWN_ESCAPE_SEQUENCE]:"Unknown escape sequence: \\{0}",[Vt.INVALID_UNICODE_ESCAPE_SEQUENCE]:"Invalid unicode escape sequence: {0}",[Vt.UNBALANCED_CLOSING_BRACE]:"Unbalanced closing brace",[Vt.UNTERMINATED_CLOSING_BRACE]:"Unterminated closing brace",[Vt.EMPTY_PLACEHOLDER]:"Empty placeholder",[Vt.NOT_ALLOW_NEST_PLACEHOLDER]:"Not allowed nest placeholder",[Vt.INVALID_LINKED_FORMAT]:"Invalid linked format",[Vt.MUST_HAVE_MESSAGES_IN_PLURAL]:"Plural must have messages",[Vt.UNEXPECTED_EMPTY_LINKED_MODIFIER]:"Unexpected empty linked modifier",[Vt.UNEXPECTED_EMPTY_LINKED_KEY]:"Unexpected empty linked key",[Vt.UNEXPECTED_LEXICAL_ANALYSIS]:"Unexpected lexical analysis in token: '{0}'",[Vt.UNHANDLED_CODEGEN_NODE_TYPE]:"unhandled codegen node type: '{0}'",[Vt.UNHANDLED_MINIFIER_NODE_TYPE]:"unhandled mimifier node type: '{0}'"};function xy(e,t,n={}){const{domain:r,messages:s,args:o}=n,i=h2((s||g2)[e]||"",...o||[]),a=new SyntaxError(String(i));return a.code=e,t&&(a.location=t),a.domain=r,a}/*!
* core-base v9.9.1
* (c) 2024 kazuya kawaguchi
* Released under the MIT License.
*/function y2(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(am().__INTLIFY_PROD_DEVTOOLS__=!1)}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 v2=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function b2(e){return v2.test(e)}function z2(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 C2(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 w2(e){const t=e.trim();return e.charAt(0)==="0"&&isNaN(parseInt(e))?!1:b2(t)?z2(t):"*"+t}function k2(e){const t=[];let n=-1,r=0,s=0,o,i,a,l,c,d,m;const f=[];f[0]=()=>{i===void 0?i=a:i+=a},f[1]=()=>{i!==void 0&&(t.push(i),i=void 0)},f[2]=()=>{f[0](),s++},f[3]=()=>{if(s>0)s--,r=4,f[0]();else{if(s=0,i===void 0||(i=w2(i),i===!1))return!1;f[1]()}};function p(){const h=e[n+1];if(r===5&&h==="'"||r===6&&h==='"')return n++,a="\\"+h,f[0](),!0}for(;r!==null;)if(n++,o=e[n],!(o==="\\"&&p())){if(l=C2(o),m=Xr[r],c=m[l]||m.l||8,c===8||(r=c[0],c[1]!==void 0&&(d=f[c[1]],d&&(a=o,d()===!1))))return;if(r===7)return t}}const Gf=new Map;function x2(e,t){return at(e)?e[t]:null}function E2(e,t){if(!at(e))return null;let n=Gf.get(t);if(n||(n=k2(t),n&&Gf.set(t,n)),!n)return null;const r=n.length;let s=e,o=0;for(;o<r;){const i=s[n[o]];if(i===void 0||$t(s))return null;s=i,o++}return s}const S2=e=>e,$2=e=>"",A2="text",T2=e=>e.length===0?"":m2(e),O2=d2;function Kf(e,t){return e=Math.abs(e),t===2?e?e>1?1:0:1:e?Math.min(e,2):0}function D2(e){const t=Nt(e.pluralIndex)?e.pluralIndex:-1;return e.named&&(Nt(e.named.count)||Nt(e.named.n))?Nt(e.named.count)?e.named.count:Nt(e.named.n)?e.named.n:t:t}function P2(e,t){t.count||(t.count=e),t.n||(t.n=e)}function I2(e={}){const t=e.locale,n=D2(e),r=at(e.pluralRules)&&ke(t)&&$t(e.pluralRules[t])?e.pluralRules[t]:Kf,s=at(e.pluralRules)&&ke(t)&&$t(e.pluralRules[t])?Kf:void 0,o=C=>C[r(n,C.length,s)],i=e.list||[],a=C=>i[C],l=e.named||{};Nt(e.pluralIndex)&&P2(n,l);const c=C=>l[C];function d(C){const w=$t(e.messages)?e.messages(C):at(e.messages)?e.messages[C]:!1;return w||(e.parent?e.parent.message(C):$2)}const m=C=>e.modifiers?e.modifiers[C]:S2,f=Qe(e.processor)&&$t(e.processor.normalize)?e.processor.normalize:T2,p=Qe(e.processor)&&$t(e.processor.interpolate)?e.processor.interpolate:O2,h=Qe(e.processor)&&ke(e.processor.type)?e.processor.type:A2,b={list:a,named:c,plural:o,linked:(C,...w)=>{const[v,z]=w;let S="text",x="";w.length===1?at(v)?(x=v.modifier||x,S=v.type||S):ke(v)&&(x=v||x):w.length===2&&(ke(v)&&(x=v||x),ke(z)&&(S=z||S));const N=d(C)(b),D=S==="vnode"&&Rt(N)&&x?N[0]:N;return x?m(x)(D,S):D},message:d,type:h,interpolate:p,normalize:f,values:Kt({},i,l)};return b}let hi=null;function F2(e){hi=e}function R2(e,t,n){hi&&hi.emit("i18n:init",{timestamp:Date.now(),i18n:e,version:t,meta:n})}const L2=N2("function:translate");function N2(e){return t=>hi&&hi.emit(e,t)}const M2={NOT_FOUND_KEY:1,FALLBACK_TO_TRANSLATE:2,CANNOT_FORMAT_NUMBER:3,FALLBACK_TO_NUMBER_FORMAT:4,CANNOT_FORMAT_DATE:5,FALLBACK_TO_DATE_FORMAT:6,EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER:7,__EXTEND_POINT__:8},Ey=Vt.__EXTEND_POINT__,ts=lm(Ey),rr={INVALID_ARGUMENT:Ey,INVALID_DATE_ARGUMENT:ts(),INVALID_ISO_DATE_ARGUMENT:ts(),NOT_SUPPORT_NON_STRING_MESSAGE:ts(),NOT_SUPPORT_LOCALE_PROMISE_VALUE:ts(),NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:ts(),NOT_SUPPORT_LOCALE_TYPE:ts(),__EXTEND_POINT__:ts()};function pr(e){return xy(e,null,void 0)}function um(e,t){return t.locale!=null?Zf(t.locale):Zf(e.locale)}let Pu;function Zf(e){if(ke(e))return e;if($t(e)){if(e.resolvedOnce&&Pu!=null)return Pu;if(e.constructor.name==="Function"){const t=e();if(c2(t))throw pr(rr.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return Pu=t}else throw pr(rr.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}else throw pr(rr.NOT_SUPPORT_LOCALE_TYPE)}function V2(e,t,n){return[...new Set([n,...Rt(t)?t:at(t)?Object.keys(t):ke(t)?[t]:[n]])]}function Sy(e,t,n){const r=ke(n)?n:gl,s=e;s.__localeChainCache||(s.__localeChainCache=new Map);let o=s.__localeChainCache.get(r);if(!o){o=[];let i=[n];for(;Rt(i);)i=Yf(o,i,t);const a=Rt(t)||!Qe(t)?t:t.default?t.default:null;i=ke(a)?[a]:a,Rt(i)&&Yf(o,i,!1),s.__localeChainCache.set(r,o)}return o}function Yf(e,t,n){let r=!0;for(let s=0;s<t.length&&At(r);s++){const o=t[s];ke(o)&&(r=H2(e,t[s],n))}return r}function H2(e,t,n){let r;const s=t.split("-");do{const o=s.join("-");r=U2(e,o,n),s.splice(-1,1)}while(s.length&&r===!0);return r}function U2(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),(Rt(n)||Qe(n))&&n[s]&&(r=n[s])}return r}const B2="9.9.1",nu=-1,gl="en-US",Jf="",Xf=e=>`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;function j2(){return{upper:(e,t)=>t==="text"&&ke(e)?e.toUpperCase():t==="vnode"&&at(e)&&"__v_isVNode"in e?e.children.toUpperCase():e,lower:(e,t)=>t==="text"&&ke(e)?e.toLowerCase():t==="vnode"&&at(e)&&"__v_isVNode"in e?e.children.toLowerCase():e,capitalize:(e,t)=>t==="text"&&ke(e)?Xf(e):t==="vnode"&&at(e)&&"__v_isVNode"in e?Xf(e.children):e}}let q2,$y;function W2(e){$y=e}let Ay;function G2(e){Ay=e}let Ty=null;const K2=e=>{Ty=e},Z2=()=>Ty;let Oy=null;const Qf=e=>{Oy=e},Y2=()=>Oy;let ep=0;function J2(e={}){const t=$t(e.onWarn)?e.onWarn:f2,n=ke(e.version)?e.version:B2,r=ke(e.locale)||$t(e.locale)?e.locale:gl,s=$t(r)?gl:r,o=Rt(e.fallbackLocale)||Qe(e.fallbackLocale)||ke(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:s,i=Qe(e.messages)?e.messages:{[s]:{}},a=Qe(e.datetimeFormats)?e.datetimeFormats:{[s]:{}},l=Qe(e.numberFormats)?e.numberFormats:{[s]:{}},c=Kt({},e.modifiers||{},j2()),d=e.pluralRules||{},m=$t(e.missing)?e.missing:null,f=At(e.missingWarn)||hl(e.missingWarn)?e.missingWarn:!0,p=At(e.fallbackWarn)||hl(e.fallbackWarn)?e.fallbackWarn:!0,h=!!e.fallbackFormat,_=!!e.unresolving,b=$t(e.postTranslation)?e.postTranslation:null,C=Qe(e.processor)?e.processor:null,w=At(e.warnHtmlMessage)?e.warnHtmlMessage:!0,v=!!e.escapeParameter,z=$t(e.messageCompiler)?e.messageCompiler:q2,S=$t(e.messageResolver)?e.messageResolver:$y||x2,x=$t(e.localeFallbacker)?e.localeFallbacker:Ay||V2,N=at(e.fallbackContext)?e.fallbackContext:void 0,D=e,P=at(D.__datetimeFormatters)?D.__datetimeFormatters:new Map,L=at(D.__numberFormatters)?D.__numberFormatters:new Map,Z=at(D.__meta)?D.__meta:{};ep++;const B={version:n,cid:ep,locale:r,fallbackLocale:o,messages:i,modifiers:c,pluralRules:d,missing:m,missingWarn:f,fallbackWarn:p,fallbackFormat:h,unresolving:_,postTranslation:b,processor:C,warnHtmlMessage:w,escapeParameter:v,messageCompiler:z,messageResolver:S,localeFallbacker:x,fallbackContext:N,onWarn:t,__meta:Z};return B.datetimeFormats=a,B.numberFormats=l,B.__datetimeFormatters=P,B.__numberFormatters=L,__INTLIFY_PROD_DEVTOOLS__&&R2(B,n,Z),B}function cm(e,t,n,r,s){const{missing:o,onWarn:i}=e;if(o!==null){const a=o(e,n,t,s);return ke(a)?a:t}else return t}function So(e,t,n){const r=e;r.__localeChainCache=new Map,e.localeFallbacker(e,n,t)}const ao=e=>at(e)&&(e.t===0||e.type===0)&&("b"in e||"body"in e),tp=()=>"",En=e=>$t(e);function np(e,...t){const{fallbackFormat:n,postTranslation:r,unresolving:s,messageCompiler:o,fallbackLocale:i,messages:a}=e,[l,c]=Mc(...t),d=At(c.missingWarn)?c.missingWarn:e.missingWarn,m=At(c.fallbackWarn)?c.fallbackWarn:e.fallbackWarn,f=At(c.escapeParameter)?c.escapeParameter:e.escapeParameter,p=!!c.resolvedMessage,h=ke(c.default)||At(c.default)?At(c.default)?o?l:()=>l:c.default:n?o?l:()=>l:"",_=n||h!=="",b=um(e,c);f&&X2(c);let[C,w,v]=p?[l,b,a[b]||{}]:Dy(e,l,b,i,m,d),z=C,S=l;if(!p&&!(ke(z)||ao(z)||En(z))&&_&&(z=h,S=z),!p&&(!(ke(z)||ao(z)||En(z))||!ke(w)))return s?nu:l;let x=!1;const N=()=>{x=!0},D=En(z)?z:Py(e,l,w,z,S,N);if(x)return z;const P=tE(e,w,v,c),L=I2(P),Z=Q2(e,D,L),B=r?r(Z,l):Z;if(__INTLIFY_PROD_DEVTOOLS__){const q={timestamp:Date.now(),key:ke(l)?l:En(z)?z.key:"",locale:w||(En(z)?z.locale:""),format:ke(z)?z:En(z)?z.source:"",message:B};q.meta=Kt({},e.__meta,Z2()||{}),L2(q)}return B}function X2(e){Rt(e.list)?e.list=e.list.map(t=>ke(t)?Wf(t):t):at(e.named)&&Object.keys(e.named).forEach(t=>{ke(e.named[t])&&(e.named[t]=Wf(e.named[t]))})}function Dy(e,t,n,r,s,o){const{messages:i,onWarn:a,messageResolver:l,localeFallbacker:c}=e,d=c(e,r,n);let m={},f,p=null;const h="translate";for(let _=0;_<d.length&&(f=d[_],m=i[f]||{},(p=l(m,t))===null&&(p=m[t]),!(ke(p)||ao(p)||En(p)));_++){const b=cm(e,t,f,o,h);b!==t&&(p=b)}return[p,f,m]}function Py(e,t,n,r,s,o){const{messageCompiler:i,warnHtmlMessage:a}=e;if(En(r)){const c=r;return c.locale=c.locale||n,c.key=c.key||t,c}if(i==null){const c=()=>r;return c.locale=n,c.key=t,c}const l=i(r,eE(e,n,s,r,a,o));return l.locale=n,l.key=t,l.source=r,l}function Q2(e,t,n){return t(n)}function Mc(...e){const[t,n,r]=e,s={};if(!ke(t)&&!Nt(t)&&!En(t)&&!ao(t))throw pr(rr.INVALID_ARGUMENT);const o=Nt(t)?String(t):(En(t),t);return Nt(n)?s.plural=n:ke(n)?s.default=n:Qe(n)&&!tu(n)?s.named=n:Rt(n)&&(s.list=n),Nt(r)?s.plural=r:ke(r)?s.default=r:Qe(r)&&Kt(s,r),[o,s]}function eE(e,t,n,r,s,o){return{locale:t,key:n,warnHtmlMessage:s,onError:i=>{throw o&&o(i),i},onCacheKey:i=>i2(t,n,i)}}function tE(e,t,n,r){const{modifiers:s,pluralRules:o,messageResolver:i,fallbackLocale:a,fallbackWarn:l,missingWarn:c,fallbackContext:d}=e,f={locale:t,modifiers:s,pluralRules:o,messages:p=>{let h=i(n,p);if(h==null&&d){const[,,_]=Dy(d,p,t,a,l,c);h=i(_,p)}if(ke(h)||ao(h)){let _=!1;const C=Py(e,p,t,h,p,()=>{_=!0});return _?tp:C}else return En(h)?h:tp}};return e.processor&&(f.processor=e.processor),r.list&&(f.list=r.list),r.named&&(f.named=r.named),Nt(r.plural)&&(f.pluralIndex=r.plural),f}function rp(e,...t){const{datetimeFormats:n,unresolving:r,fallbackLocale:s,onWarn:o,localeFallbacker:i}=e,{__datetimeFormatters:a}=e,[l,c,d,m]=Vc(...t),f=At(d.missingWarn)?d.missingWarn:e.missingWarn;At(d.fallbackWarn)?d.fallbackWarn:e.fallbackWarn;const p=!!d.part,h=um(e,d),_=i(e,s,h);if(!ke(l)||l==="")return new Intl.DateTimeFormat(h,m).format(c);let b={},C,w=null;const v="datetime format";for(let x=0;x<_.length&&(C=_[x],b=n[C]||{},w=b[l],!Qe(w));x++)cm(e,l,C,f,v);if(!Qe(w)||!ke(C))return r?nu:l;let z=`${C}__${l}`;tu(m)||(z=`${z}__${JSON.stringify(m)}`);let S=a.get(z);return S||(S=new Intl.DateTimeFormat(C,Kt({},w,m)),a.set(z,S)),p?S.formatToParts(c):S.format(c)}const Iy=["localeMatcher","weekday","era","year","month","day","hour","minute","second","timeZoneName","formatMatcher","hour12","timeZone","dateStyle","timeStyle","calendar","dayPeriod","numberingSystem","hourCycle","fractionalSecondDigits"];function Vc(...e){const[t,n,r,s]=e,o={};let i={},a;if(ke(t)){const l=t.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);if(!l)throw pr(rr.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();a=new Date(c);try{a.toISOString()}catch{throw pr(rr.INVALID_ISO_DATE_ARGUMENT)}}else if(l2(t)){if(isNaN(t.getTime()))throw pr(rr.INVALID_DATE_ARGUMENT);a=t}else if(Nt(t))a=t;else throw pr(rr.INVALID_ARGUMENT);return ke(n)?o.key=n:Qe(n)&&Object.keys(n).forEach(l=>{Iy.includes(l)?i[l]=n[l]:o[l]=n[l]}),ke(r)?o.locale=r:Qe(r)&&(i=r),Qe(s)&&(i=s),[o.key||"",a,o,i]}function sp(e,t,n){const r=e;for(const s in n){const o=`${t}__${s}`;r.__datetimeFormatters.has(o)&&r.__datetimeFormatters.delete(o)}}function op(e,...t){const{numberFormats:n,unresolving:r,fallbackLocale:s,onWarn:o,localeFallbacker:i}=e,{__numberFormatters:a}=e,[l,c,d,m]=Hc(...t),f=At(d.missingWarn)?d.missingWarn:e.missingWarn;At(d.fallbackWarn)?d.fallbackWarn:e.fallbackWarn;const p=!!d.part,h=um(e,d),_=i(e,s,h);if(!ke(l)||l==="")return new Intl.NumberFormat(h,m).format(c);let b={},C,w=null;const v="number format";for(let x=0;x<_.length&&(C=_[x],b=n[C]||{},w=b[l],!Qe(w));x++)cm(e,l,C,f,v);if(!Qe(w)||!ke(C))return r?nu:l;let z=`${C}__${l}`;tu(m)||(z=`${z}__${JSON.stringify(m)}`);let S=a.get(z);return S||(S=new Intl.NumberFormat(C,Kt({},w,m)),a.set(z,S)),p?S.formatToParts(c):S.format(c)}const Fy=["localeMatcher","style","currency","currencyDisplay","currencySign","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","notation","signDisplay","unit","unitDisplay","roundingMode","roundingPriority","roundingIncrement","trailingZeroDisplay"];function Hc(...e){const[t,n,r,s]=e,o={};let i={};if(!Nt(t))throw pr(rr.INVALID_ARGUMENT);const a=t;return ke(n)?o.key=n:Qe(n)&&Object.keys(n).forEach(l=>{Fy.includes(l)?i[l]=n[l]:o[l]=n[l]}),ke(r)?o.locale=r:Qe(r)&&(i=r),Qe(s)&&(i=s),[o.key||"",a,o,i]}function ip(e,t,n){const r=e;for(const s in n){const o=`${t}__${s}`;r.__numberFormatters.has(o)&&r.__numberFormatters.delete(o)}}y2();/*!
* vue-i18n v9.9.1
* (c) 2024 kazuya kawaguchi
* Released under the MIT License.
*/const nE="9.9.1";function rE(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(am().__INTLIFY_PROD_DEVTOOLS__=!1)}const Ry=M2.__EXTEND_POINT__,Sr=lm(Ry);Sr(),Sr(),Sr(),Sr(),Sr(),Sr(),Sr(),Sr();const Ly=rr.__EXTEND_POINT__,en=lm(Ly),Dn={UNEXPECTED_RETURN_TYPE:Ly,INVALID_ARGUMENT:en(),MUST_BE_CALL_SETUP_TOP:en(),NOT_INSTALLED:en(),NOT_AVAILABLE_IN_LEGACY_MODE:en(),REQUIRED_VALUE:en(),INVALID_VALUE:en(),CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:en(),NOT_INSTALLED_WITH_PROVIDE:en(),UNEXPECTED_ERROR:en(),NOT_COMPATIBLE_LEGACY_VUE_I18N:en(),BRIDGE_SUPPORT_VUE_2_ONLY:en(),MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION:en(),NOT_AVAILABLE_COMPOSITION_IN_LEGACY:en(),__EXTEND_POINT__:en()};function Wn(e,...t){return xy(e,null,void 0)}const Uc=Jr("__translateVNode"),Bc=Jr("__datetimeParts"),jc=Jr("__numberParts"),sE=Jr("__setPluralRules"),oE=Jr("__injectWithOption"),qc=Jr("__dispose");function _i(e){if(!at(e))return e;for(const t in e)if(_l(e,t))if(!t.includes("."))at(e[t])&&_i(e[t]);else{const n=t.split("."),r=n.length-1;let s=e,o=!1;for(let i=0;i<r;i++){if(n[i]in s||(s[n[i]]={}),!at(s[n[i]])){o=!0;break}s=s[n[i]]}o||(s[n[r]]=e[t],delete e[t]),at(s[n[r]])&&_i(s[n[r]])}return e}function Ny(e,t){const{messages:n,__i18n:r,messageResolver:s,flatJson:o}=t,i=Qe(n)?n:Rt(r)?{}:{[e]:{}};if(Rt(r)&&r.forEach(a=>{if("locale"in a&&"resource"in a){const{locale:l,resource:c}=a;l?(i[l]=i[l]||{},Ka(c,i[l])):Ka(c,i)}else ke(a)&&Ka(JSON.parse(a),i)}),s==null&&o)for(const a in i)_l(i,a)&&_i(i[a]);return i}function My(e){return e.type}function iE(e,t,n){let r=at(t.messages)?t.messages:{};"__i18nGlobal"in n&&(r=Ny(e.locale.value,{messages:r,__i18n:n.__i18nGlobal}));const s=Object.keys(r);s.length&&s.forEach(o=>{e.mergeLocaleMessage(o,r[o])});{if(at(t.datetimeFormats)){const o=Object.keys(t.datetimeFormats);o.length&&o.forEach(i=>{e.mergeDateTimeFormat(i,t.datetimeFormats[i])})}if(at(t.numberFormats)){const o=Object.keys(t.numberFormats);o.length&&o.forEach(i=>{e.mergeNumberFormat(i,t.numberFormats[i])})}}}function ap(e){return y(Wr,null,e,0)}const lp="__INTLIFY_META__",up=()=>[],aE=()=>!1;let cp=0;function dp(e){return(t,n,r,s)=>e(n,r,In()||void 0,s)}const lE=()=>{const e=In();let t=null;return e&&(t=My(e)[lp])?{[lp]:t}:null};function Vy(e={},t){const{__root:n,__injectWithOption:r}=e,s=n===void 0,o=e.flatJson,i=pl?sr:Fd;let a=At(e.inheritLocale)?e.inheritLocale:!0;const l=i(n&&a?n.locale.value:ke(e.locale)?e.locale:gl),c=i(n&&a?n.fallbackLocale.value:ke(e.fallbackLocale)||Rt(e.fallbackLocale)||Qe(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:l.value),d=i(Ny(l.value,e)),m=i(Qe(e.datetimeFormats)?e.datetimeFormats:{[l.value]:{}}),f=i(Qe(e.numberFormats)?e.numberFormats:{[l.value]:{}});let p=n?n.missingWarn:At(e.missingWarn)||hl(e.missingWarn)?e.missingWarn:!0,h=n?n.fallbackWarn:At(e.fallbackWarn)||hl(e.fallbackWarn)?e.fallbackWarn:!0,_=n?n.fallbackRoot:At(e.fallbackRoot)?e.fallbackRoot:!0,b=!!e.fallbackFormat,C=$t(e.missing)?e.missing:null,w=$t(e.missing)?dp(e.missing):null,v=$t(e.postTranslation)?e.postTranslation:null,z=n?n.warnHtmlMessage:At(e.warnHtmlMessage)?e.warnHtmlMessage:!0,S=!!e.escapeParameter;const x=n?n.modifiers:Qe(e.modifiers)?e.modifiers:{};let N=e.pluralRules||n&&n.pluralRules,D;D=(()=>{s&&Qf(null);const R={version:nE,locale:l.value,fallbackLocale:c.value,messages:d.value,modifiers:x,pluralRules:N,missing:w===null?void 0:w,missingWarn:p,fallbackWarn:h,fallbackFormat:b,unresolving:!0,postTranslation:v===null?void 0:v,warnHtmlMessage:z,escapeParameter:S,messageResolver:e.messageResolver,messageCompiler:e.messageCompiler,__meta:{framework:"vue"}};R.datetimeFormats=m.value,R.numberFormats=f.value,R.__datetimeFormatters=Qe(D)?D.__datetimeFormatters:void 0,R.__numberFormatters=Qe(D)?D.__numberFormatters:void 0;const j=J2(R);return s&&Qf(j),j})(),So(D,l.value,c.value);function L(){return[l.value,c.value,d.value,m.value,f.value]}const Z=Lt({get:()=>l.value,set:R=>{l.value=R,D.locale=l.value}}),B=Lt({get:()=>c.value,set:R=>{c.value=R,D.fallbackLocale=c.value,So(D,l.value,R)}}),q=Lt(()=>d.value),X=Lt(()=>m.value),pe=Lt(()=>f.value);function G(){return $t(v)?v:null}function re(R){v=R,D.postTranslation=R}function oe(){return C}function Be(R){R!==null&&(w=dp(R)),C=R,D.missing=w}const Je=(R,j,ye,Se,I,F)=>{L();let U;try{__INTLIFY_PROD_DEVTOOLS__,s||(D.fallbackContext=n?Y2():void 0),U=R(D)}finally{__INTLIFY_PROD_DEVTOOLS__,s||(D.fallbackContext=void 0)}if(ye!=="translate exists"&&Nt(U)&&U===nu||ye==="translate exists"&&!U){const[ee,be]=j();return n&&_?Se(n):I(ee)}else{if(F(U))return U;throw Wn(Dn.UNEXPECTED_RETURN_TYPE)}};function We(...R){return Je(j=>Reflect.apply(np,null,[j,...R]),()=>Mc(...R),"translate",j=>Reflect.apply(j.t,j,[...R]),j=>j,j=>ke(j))}function Ue(...R){const[j,ye,Se]=R;if(Se&&!at(Se))throw Wn(Dn.INVALID_ARGUMENT);return We(j,ye,Kt({resolvedMessage:!0},Se||{}))}function dt(...R){return Je(j=>Reflect.apply(rp,null,[j,...R]),()=>Vc(...R),"datetime format",j=>Reflect.apply(j.d,j,[...R]),()=>Jf,j=>ke(j))}function pt(...R){return Je(j=>Reflect.apply(op,null,[j,...R]),()=>Hc(...R),"number format",j=>Reflect.apply(j.n,j,[...R]),()=>Jf,j=>ke(j))}function ht(R){return R.map(j=>ke(j)||Nt(j)||At(j)?ap(String(j)):j)}const W={normalize:ht,interpolate:R=>R,type:"vnode"};function ue(...R){return Je(j=>{let ye;const Se=j;try{Se.processor=W,ye=Reflect.apply(np,null,[Se,...R])}finally{Se.processor=null}return ye},()=>Mc(...R),"translate",j=>j[Uc](...R),j=>[ap(j)],j=>Rt(j))}function ie(...R){return Je(j=>Reflect.apply(op,null,[j,...R]),()=>Hc(...R),"number format",j=>j[jc](...R),up,j=>ke(j)||Rt(j))}function ge(...R){return Je(j=>Reflect.apply(rp,null,[j,...R]),()=>Vc(...R),"datetime format",j=>j[Bc](...R),up,j=>ke(j)||Rt(j))}function Ve(R){N=R,D.pluralRules=N}function Ke(R,j){return Je(()=>{if(!R)return!1;const ye=ke(j)?j:l.value,Se=H(ye),I=D.messageResolver(Se,R);return ao(I)||En(I)||ke(I)},()=>[R],"translate exists",ye=>Reflect.apply(ye.te,ye,[R,j]),aE,ye=>At(ye))}function A(R){let j=null;const ye=Sy(D,c.value,l.value);for(let Se=0;Se<ye.length;Se++){const I=d.value[ye[Se]]||{},F=D.messageResolver(I,R);if(F!=null){j=F;break}}return j}function O(R){const j=A(R);return j??(n?n.tm(R)||{}:{})}function H(R){return d.value[R]||{}}function Y(R,j){if(o){const ye={[R]:j};for(const Se in ye)_l(ye,Se)&&_i(ye[Se]);j=ye[R]}d.value[R]=j,D.messages=d.value}function K(R,j){d.value[R]=d.value[R]||{};const ye={[R]:j};if(o)for(const Se in ye)_l(ye,Se)&&_i(ye[Se]);j=ye[R],Ka(j,d.value[R]),D.messages=d.value}function ae(R){return m.value[R]||{}}function de(R,j){m.value[R]=j,D.datetimeFormats=m.value,sp(D,R,j)}function ne(R,j){m.value[R]=Kt(m.value[R]||{},j),D.datetimeFormats=m.value,sp(D,R,j)}function le(R){return f.value[R]||{}}function Q(R,j){f.value[R]=j,D.numberFormats=f.value,ip(D,R,j)}function he(R,j){f.value[R]=Kt(f.value[R]||{},j),D.numberFormats=f.value,ip(D,R,j)}cp++,n&&pl&&(bn(n.locale,R=>{a&&(l.value=R,D.locale=R,So(D,l.value,c.value))}),bn(n.fallbackLocale,R=>{a&&(c.value=R,D.fallbackLocale=R,So(D,l.value,c.value))}));const me={id:cp,locale:Z,fallbackLocale:B,get inheritLocale(){return a},set inheritLocale(R){a=R,R&&n&&(l.value=n.locale.value,c.value=n.fallbackLocale.value,So(D,l.value,c.value))},get availableLocales(){return Object.keys(d.value).sort()},messages:q,get modifiers(){return x},get pluralRules(){return N||{}},get isGlobal(){return s},get missingWarn(){return p},set missingWarn(R){p=R,D.missingWarn=p},get fallbackWarn(){return h},set fallbackWarn(R){h=R,D.fallbackWarn=h},get fallbackRoot(){return _},set fallbackRoot(R){_=R},get fallbackFormat(){return b},set fallbackFormat(R){b=R,D.fallbackFormat=b},get warnHtmlMessage(){return z},set warnHtmlMessage(R){z=R,D.warnHtmlMessage=R},get escapeParameter(){return S},set escapeParameter(R){S=R,D.escapeParameter=R},t:We,getLocaleMessage:H,setLocaleMessage:Y,mergeLocaleMessage:K,getPostTranslationHandler:G,setPostTranslationHandler:re,getMissingHandler:oe,setMissingHandler:Be,[sE]:Ve};return me.datetimeFormats=X,me.numberFormats=pe,me.rt=Ue,me.te=Ke,me.tm=O,me.d=dt,me.n=pt,me.getDateTimeFormat=ae,me.setDateTimeFormat=de,me.mergeDateTimeFormat=ne,me.getNumberFormat=le,me.setNumberFormat=Q,me.mergeNumberFormat=he,me[oE]=r,me[Uc]=ue,me[Bc]=ge,me[jc]=ie,me}const dm={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e==="parent"||e==="global",default:"parent"},i18n:{type:Object}};function uE({slots:e},t){return t.length===1&&t[0]==="default"?(e.default?e.default():[]).reduce((r,s)=>[...r,...s.type===we?s.children:[s]],[]):t.reduce((n,r)=>{const s=e[r];return s&&(n[r]=s()),n},{})}function Hy(e){return we}const cE=br({name:"i18n-t",props:Kt({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>Nt(e)||!isNaN(e)}},dm),setup(e,t){const{slots:n,attrs:r}=t,s=e.i18n||mm({useScope:e.scope,__useComponent:!0});return()=>{const o=Object.keys(n).filter(m=>m!=="_"),i={};e.locale&&(i.locale=e.locale),e.plural!==void 0&&(i.plural=ke(e.plural)?+e.plural:e.plural);const a=uE(t,o),l=s[Uc](e.keypath,a,i),c=Kt({},r),d=ke(e.tag)||at(e.tag)?e.tag:Hy();return tr(d,c,l)}}}),mp=cE;function dE(e){return Rt(e)&&!ke(e[0])}function Uy(e,t,n,r){const{slots:s,attrs:o}=t;return()=>{const i={part:!0};let a={};e.locale&&(i.locale=e.locale),ke(e.format)?i.key=e.format:at(e.format)&&(ke(e.format.key)&&(i.key=e.format.key),a=Object.keys(e.format).reduce((f,p)=>n.includes(p)?Kt({},f,{[p]:e.format[p]}):f,{}));const l=r(e.value,i,a);let c=[i.key];Rt(l)?c=l.map((f,p)=>{const h=s[f.type],_=h?h({[f.type]:f.value,index:p,parts:l}):[f.value];return dE(_)&&(_[0].key=`${f.type}-${p}`),_}):ke(l)&&(c=[l]);const d=Kt({},o),m=ke(e.tag)||at(e.tag)?e.tag:Hy();return tr(m,d,c)}}const mE=br({name:"i18n-n",props:Kt({value:{type:Number,required:!0},format:{type:[String,Object]}},dm),setup(e,t){const n=e.i18n||mm({useScope:"parent",__useComponent:!0});return Uy(e,t,Fy,(...r)=>n[jc](...r))}}),fp=mE,fE=br({name:"i18n-d",props:Kt({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},dm),setup(e,t){const n=e.i18n||mm({useScope:"parent",__useComponent:!0});return Uy(e,t,Iy,(...r)=>n[Bc](...r))}}),pp=fE;function pE(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 hE(e){const t=i=>{const{instance:a,modifiers:l,value:c}=i;if(!a||!a.$)throw Wn(Dn.UNEXPECTED_ERROR);const d=pE(e,a.$),m=hp(c);return[Reflect.apply(d.t,d,[..._p(m)]),d]};return{created:(i,a)=>{const[l,c]=t(a);pl&&e.global===c&&(i.__i18nWatcher=bn(c.locale,()=>{a.instance&&a.instance.$forceUpdate()})),i.__composer=c,i.textContent=l},unmounted:i=>{pl&&i.__i18nWatcher&&(i.__i18nWatcher(),i.__i18nWatcher=void 0,delete i.__i18nWatcher),i.__composer&&(i.__composer=void 0,delete i.__composer)},beforeUpdate:(i,{value:a})=>{if(i.__composer){const l=i.__composer,c=hp(a);i.textContent=Reflect.apply(l.t,l,[..._p(c)])}},getSSRProps:i=>{const[a]=t(i);return{textContent:a}}}}function hp(e){if(ke(e))return{path:e};if(Qe(e)){if(!("path"in e))throw Wn(Dn.REQUIRED_VALUE,"path");return e}else throw Wn(Dn.INVALID_VALUE)}function _p(e){const{path:t,locale:n,args:r,choice:s,plural:o}=e,i={},a=r||{};return ke(n)&&(i.locale=n),Nt(s)&&(i.plural=s),Nt(o)&&(i.plural=o),[t,a,i]}function _E(e,t,...n){const r=Qe(n[0])?n[0]:{},s=!!r.useI18nComponentName;(At(r.globalInstall)?r.globalInstall:!0)&&([s?"i18n":mp.name,"I18nT"].forEach(i=>e.component(i,mp)),[fp.name,"I18nN"].forEach(i=>e.component(i,fp)),[pp.name,"I18nD"].forEach(i=>e.component(i,pp))),e.directive("t",hE(t))}const gE=Jr("global-vue-i18n");function yE(e={},t){const n=At(e.globalInjection)?e.globalInjection:!0,r=!0,s=new Map,[o,i]=vE(e),a=Jr("");function l(m){return s.get(m)||null}function c(m,f){s.set(m,f)}function d(m){s.delete(m)}{const m={get mode(){return"composition"},get allowComposition(){return r},async install(f,...p){if(f.__VUE_I18N_SYMBOL__=a,f.provide(f.__VUE_I18N_SYMBOL__,m),Qe(p[0])){const b=p[0];m.__composerExtend=b.__composerExtend,m.__vueI18nExtend=b.__vueI18nExtend}let h=null;n&&(h=SE(f,m.global)),_E(f,m,...p);const _=f.unmount;f.unmount=()=>{h&&h(),m.dispose(),_()}},get global(){return i},dispose(){o.stop()},__instances:s,__getInstance:l,__setInstance:c,__deleteInstance:d};return m}}function mm(e={}){const t=In();if(t==null)throw Wn(Dn.MUST_BE_CALL_SETUP_TOP);if(!t.isCE&&t.appContext.app!=null&&!t.appContext.app.__VUE_I18N_SYMBOL__)throw Wn(Dn.NOT_INSTALLED);const n=bE(t),r=CE(n),s=My(t),o=zE(e,s);if(o==="global")return iE(r,e,s),r;if(o==="parent"){let l=wE(n,t,e.__useComponent);return l==null&&(l=r),l}const i=n;let a=i.__getInstance(t);if(a==null){const l=Kt({},e);"__i18n"in s&&(l.__i18n=s.__i18n),r&&(l.__root=r),a=Vy(l),i.__composerExtend&&(a[qc]=i.__composerExtend(a)),xE(i,t,a),i.__setInstance(t,a)}return a}function vE(e,t,n){const r=xd();{const s=r.run(()=>Vy(e));if(s==null)throw Wn(Dn.UNEXPECTED_ERROR);return[r,s]}}function bE(e){{const t=jn(e.isCE?gE:e.appContext.app.__VUE_I18N_SYMBOL__);if(!t)throw Wn(e.isCE?Dn.NOT_INSTALLED_WITH_PROVIDE:Dn.UNEXPECTED_ERROR);return t}}function zE(e,t){return tu(e)?"__i18n"in t?"local":"global":e.useScope?e.useScope:"local"}function CE(e){return e.mode==="composition"?e.global:e.global.__composer}function wE(e,t,n=!1){let r=null;const s=t.root;let o=kE(t,n);for(;o!=null;){const i=e;if(e.mode==="composition"&&(r=i.__getInstance(o)),r!=null||s===o)break;o=o.parent}return r}function kE(e,t=!1){return e==null?null:t&&e.vnode.ctx||e.parent}function xE(e,t,n){_o(()=>{},t),Ei(()=>{const r=n;e.__deleteInstance(t);const s=r[qc];s&&(s(),delete r[qc])},t)}const EE=["locale","fallbackLocale","availableLocales"],gp=["t","rt","d","n","tm","te"];function SE(e,t){const n=Object.create(null);return EE.forEach(s=>{const o=Object.getOwnPropertyDescriptor(t,s);if(!o)throw Wn(Dn.UNEXPECTED_ERROR);const i=Mt(o.value)?{get(){return o.value.value},set(a){o.value.value=a}}:{get(){return o.get&&o.get()}};Object.defineProperty(n,s,i)}),e.config.globalProperties.$i18n=n,gp.forEach(s=>{const o=Object.getOwnPropertyDescriptor(t,s);if(!o||!o.value)throw Wn(Dn.UNEXPECTED_ERROR);Object.defineProperty(e.config.globalProperties,`$${s}`,o)}),()=>{delete e.config.globalProperties.$i18n,gp.forEach(s=>{delete e.config.globalProperties[`$${s}`]})}}rE();W2(E2);G2(Sy);if(__INTLIFY_PROD_DEVTOOLS__){const e=am();e.__INTLIFY__=!0,F2(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}const Iu=e=>e&&typeof e=="object"&&!Array.isArray(e),Wc=(e,...t)=>{if(!t.length)return e;const n=t.shift();if(Iu(e)&&Iu(n))for(const r in n)Iu(n[r])?(e[r]||Object.assign(e,{[r]:{}}),Wc(e[r],n[r])):Object.assign(e,{[r]:n[r]});return Wc(e,...t)},$E=Wc({},{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(["Podcast hinzufügen"])}},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 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:{title:e=>{const{normalize:t}=e;return t(["Sortieren"])},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"])])},filter:e=>{const{normalize:t}=e;return t(["Filter"])},"hide-spotify-help":e=>{const{normalize:t}=e;return t(["Nach Aktivierung wird kein Inhalt angezeigt, der nur in der Spotify-Bibliothek enthalten ist."])},"hide-spotify":e=>{const{normalize:t}=e;return t(["Verbirgt Spotify-Inhalt"])},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:{title:e=>{const{normalize:t}=e;return t(["Sortieren"])},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:{title:e=>{const{normalize:t}=e;return t(["Sortieren"])},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:{title:e=>{const{normalize:t}=e;return t(["Sortieren"])},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:{title:e=>{const{normalize:t}=e;return t(["Sortieren"])},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."])}},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"])},"grant-access":e=>{const{normalize:t}=e;return t(["Zugriff auf die Spotify Web-API gestatten"])},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"])}},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"])}}},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(["Update library"])}}},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:{title:e=>{const{normalize:t}=e;return t(["Sort"])},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"])])},filter:e=>{const{normalize:t}=e;return t(["Filter"])},"hide-spotify-help":e=>{const{normalize:t}=e;return t(["If active, hides the content only appearing in your Spotify library."])},"hide-spotify":e=>{const{normalize:t}=e;return t(["Hide the content from Spotify"])},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:{title:e=>{const{normalize:t}=e;return t(["Sort"])},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:{title:e=>{const{normalize:t}=e;return t(["Sort"])},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:{title:e=>{const{normalize:t}=e;return t(["Sort"])},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:{title:e=>{const{normalize:t}=e;return t(["Sort"])},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."])}},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"])},"grant-access":e=>{const{normalize:t}=e;return t(["Grant access to the Spotify Web API"])},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 un 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 un 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(["Actualiser 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(["Filtrer"])},"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:{title:e=>{const{normalize:t}=e;return t(["Trier"])},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"])])},filter:e=>{const{normalize:t}=e;return t(["Filtrer"])},"hide-spotify-help":e=>{const{normalize:t}=e;return t(["Si actif, masque le contenu qui napparaît que dans votre bibliothèque Spotify."])},"hide-spotify":e=>{const{normalize:t}=e;return t(["Masquer le contenu de Spotify"])},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:{title:e=>{const{normalize:t}=e;return t(["Trier"])},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(["Filtrer"])},sort:{title:e=>{const{normalize:t}=e;return t(["Trier"])},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:{title:e=>{const{normalize:t}=e;return t(["Trier"])},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:{title:e=>{const{normalize:t}=e;return t(["Trier"])},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 dalbums"])},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 dalbums 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 illustrations 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."])}},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"])},"grant-access":e=>{const{normalize:t}=e;return t(["Accordez laccès à lAPI de Spotify"])},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(["添加播客"])}},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:{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"))," 张专辑"])])},filter: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的内容"])},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:{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:{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:{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:{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的官方支持"])}},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 访问"])},"grant-access":e=>{const{normalize:t}=e;return t(["授予对 Spotify Web API 的访问权限"])},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"))," 信道"])])}}}}),ru=yE({availableLocales:"zh",fallbackLocale:"en",fallbackWarn:!1,legacy:!1,locale:navigator.language,messages:$E,missingWarn:!1}),{t:Ls}=ru.global;se.interceptors.response.use(e=>e,e=>(e.request.status&&e.request.responseURL&&He.dispatch("add_notification",{text:Ls("server.request-failed",{cause:e.request.statusText,status:e.request.status,url:e.request.responseURL}),type:"danger"}),Promise.reject(e)));const V={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},config(){return se.get("./api/config")},lastfm(){return se.get("./api/lastfm")},lastfm_login(e){return se.post("./api/lastfm-login",e)},lastfm_logout(){return se.get("./api/lastfm-logout")},library_add(e){return se.post("./api/library/add",void 0,{params:{url:e}})},library_album(e){return se.get(`./api/library/albums/${e}`)},library_album_track_update(e,t){return se.put(`./api/library/albums/${e}/tracks`,void 0,{params:t})},library_album_tracks(e,t={limit:-1,offset:0}){return se.get(`./api/library/albums/${e}/tracks`,{params:t})},library_albums(e=void 0){return se.get("./api/library/albums",{params:{media_kind:e}})},library_artist(e){return se.get(`./api/library/artists/${e}`)},library_artist_albums(e){return se.get(`./api/library/artists/${e}/albums`)},library_artist_tracks(e){if(e){const t={expression:`songartistid is "${e}"`,type:"tracks"};return se.get("./api/search",{params:t})}},library_artists(e=void 0){return se.get("./api/library/artists",{params:{media_kind:e}})},library_composer(e){return se.get(`./api/library/composers/${encodeURIComponent(e)}`)},library_composer_albums(e){const t={expression:`composer is "${e}" and media_kind is music`,type:"albums"};return se.get("./api/search",{params:t})},library_composer_tracks(e){const t={expression:`composer is "${e}" and media_kind is music`,type:"tracks"};return se.get("./api/search",{params:t})},library_composers(e=void 0){return se.get("./api/library/composers",{params:{media_kind:e}})},library_count(e){return se.get(`./api/library/count?expression=${e}`)},library_files(e=void 0){return se.get("./api/library/files",{params:{directory:e}})},library_genre(e,t=void 0){return se.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 se.get("./api/search",{params:n})},library_genre_tracks(e,t){const n={expression:`genre is "${e}" and media_kind is ${t}`,type:"tracks"};return se.get("./api/search",{params:n})},library_genres(e=void 0){return se.get("./api/library/genres",{params:{media_kind:e}})},library_playlist(e){return se.get(`./api/library/playlists/${e}`)},library_playlist_delete(e){return se.delete(`./api/library/playlists/${e}`,void 0)},library_playlist_folder(e=0){return se.get(`./api/library/playlists/${e}/playlists`)},library_playlist_tracks(e){return se.get(`./api/library/playlists/${e}/tracks`)},library_playlists(){return se.get("./api/library/playlists")},library_podcast_episodes(e){const t={expression:`media_kind is podcast and songalbumid is "${e}" ORDER BY date_released DESC`,type:"tracks"};return se.get("./api/search",{params:t})},library_podcasts_new_episodes(){const e={expression:"media_kind is podcast and play_count = 0 ORDER BY time_added DESC",type:"tracks"};return se.get("./api/search",{params:e})},library_radio_streams(){const e={expression:"data_kind is url and song_length = 0",media_kind:"music",type:"tracks"};return se.get("./api/search",{params:e})},library_rescan(e){const t={};return e&&(t.scan_kind=e),se.put("./api/rescan",void 0,{params:t})},library_stats(){return se.get("./api/library")},library_track(e){return se.get(`./api/library/tracks/${e}`)},library_track_playlists(e){return se.get(`./api/library/tracks/${e}/playlists`)},library_track_update(e,t={}){return se.put(`./api/library/tracks/${e}`,void 0,{params:t})},library_update(e){const t={};return e&&(t.scan_kind=e),se.put("./api/update",void 0,{params:t})},output_toggle(e){return se.put(`./api/outputs/${e}/toggle`)},output_update(e,t){return se.put(`./api/outputs/${e}`,t)},outputs(){return se.get("./api/outputs")},pairing(){return se.get("./api/pairing")},pairing_kickoff(e){return se.post("./api/pairing",e)},player_consume(e){return se.put(`./api/player/consume?state=${e}`)},player_next(){return se.put("./api/player/next")},player_output_volume(e,t){return se.put(`./api/player/volume?volume=${t}&output_id=${e}`)},player_pause(){return se.put("./api/player/pause")},player_play(e={}){return se.put("./api/player/play",void 0,{params:e})},player_play_expression(e,t,n=void 0){const r={clear:"true",expression:e,playback:"start",playback_from_position:n,shuffle:`${t}`};return se.post("./api/queue/items/add",void 0,{params:r})},player_play_uri(e,t,n=void 0){const r={clear:"true",playback:"start",playback_from_position:n,shuffle:`${t}`,uris:e};return se.post("./api/queue/items/add",void 0,{params:r})},player_playid(e){return se.put(`./api/player/play?item_id=${e}`)},player_playpos(e){return se.put(`./api/player/play?position=${e}`)},player_previous(){return se.put("./api/player/previous")},player_repeat(e){return se.put(`./api/player/repeat?state=${e}`)},player_seek(e){return se.put(`./api/player/seek?seek_ms=${e}`)},player_seek_to_pos(e){return se.put(`./api/player/seek?position_ms=${e}`)},player_shuffle(e){return se.put(`./api/player/shuffle?state=${e}`)},player_status(){return se.get("./api/player")},player_stop(){return se.put("./api/player/stop")},player_volume(e){return se.put(`./api/player/volume?volume=${e}`)},queue(){return se.get("./api/queue")},queue_add(e){return se.post(`./api/queue/items/add?uris=${e}`).then(t=>(He.dispatch("add_notification",{text:Ls("server.appended-tracks",{count:t.data.count}),timeout:2e3,type:"info"}),Promise.resolve(t)))},queue_add_next(e){let t=0;return He.getters.now_playing&&He.getters.now_playing.id&&(t=He.getters.now_playing.position+1),se.post(`./api/queue/items/add?uris=${e}&position=${t}`).then(n=>(He.dispatch("add_notification",{text:Ls("server.appended-tracks",{count:n.data.count}),timeout:2e3,type:"info"}),Promise.resolve(n)))},queue_clear(){return se.put("./api/queue/clear")},queue_expression_add(e){return se.post("./api/queue/items/add",void 0,{params:{expression:e}}).then(t=>(He.dispatch("add_notification",{text:Ls("server.appended-tracks",{count:t.data.count}),timeout:2e3,type:"info"}),Promise.resolve(t)))},queue_expression_add_next(e){const t={};return t.expression=e,t.position=0,He.getters.now_playing&&He.getters.now_playing.id&&(t.position=He.getters.now_playing.position+1),se.post("./api/queue/items/add",void 0,{params:t}).then(n=>(He.dispatch("add_notification",{text:Ls("server.appended-tracks",{count:n.data.count}),timeout:2e3,type:"info"}),Promise.resolve(n)))},queue_move(e,t){return se.put(`./api/queue/items/${e}?new_position=${t}`)},queue_remove(e){return se.delete(`./api/queue/items/${e}`)},queue_save_playlist(e){return se.post("./api/queue/save",void 0,{params:{name:e}}).then(t=>(He.dispatch("add_notification",{text:Ls("server.queue-saved",{name:e}),timeout:2e3,type:"info"}),Promise.resolve(t)))},search(e){return se.get("./api/search",{params:e})},settings(){return se.get("./api/settings")},settings_update(e,t){return se.put(`./api/settings/${e}/${t.name}`,t)},spotify(){return se.get("./api/spotify")},spotify_logout(){return se.get("./api/spotify-logout")}},AE={name:"NavbarItemOutput",components:{ControlSlider:Jd},props:["output"],data(){return{volume:this.output.selected?this.output.volume:0,cursor:Kl}},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(){V.player_output_volume(this.output.id,this.volume)},set_enabled(){const e={selected:!this.output.selected};V.output_update(this.output.id,e)}}},TE={class:"navbar-item"},OE={class:"level is-mobile"},DE={class:"level-left is-flex-grow-1"},PE={class:"level-item is-flex-grow-0"},IE={class:"level-item"},FE={class:"is-flex-grow-1"},RE=["textContent"];function LE(e,t,n,r,s,o){const i=$("mdicon"),a=$("control-slider");return k(),T("div",TE,[u("div",OE,[u("div",DE,[u("div",PE,[u("a",{class:Ee(["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(i,{class:"icon",name:o.type_class,size:"18",title:n.output.type},null,8,["name","title"])],2)]),u("div",IE,[u("div",FE,[u("p",{class:Ee(["heading",{"has-text-grey-light":!n.output.selected}]),textContent:g(n.output.name)},null,10,RE),y(a,{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 NE=te(AE,[["render",LE]]),ME={name:"PlayerButtonConsume",props:{icon_size:{type:Number,default:16}},computed:{is_consume(){return this.$store.state.player.consume}},methods:{toggle_consume_mode(){V.player_consume(!this.is_consume)}}};function VE(e,t,n,r,s,o){const i=$("mdicon");return k(),T("a",{class:Ee({"is-info":o.is_consume}),onClick:t[0]||(t[0]=(...a)=>o.toggle_consume_mode&&o.toggle_consume_mode(...a))},[y(i,{class:"icon",name:"fire",size:n.icon_size,title:e.$t("player.button.consume")},null,8,["size","title"])],2)}const HE=te(ME,[["render",VE]]),UE={name:"PlayerButtonLyrics",props:{icon_size:{type:Number,default:16}},computed:{is_active(){return this.$store.state.lyrics.pane},icon_name(){return this.is_active?"script-text-play":"script-text-outline"}},methods:{toggle_lyrics(){this.$store.state.lyrics.pane=!this.$store.state.lyrics.pane}}};function BE(e,t,n,r,s,o){const i=$("mdicon");return k(),T("a",{class:Ee({"is-info":o.is_active}),onClick:t[0]||(t[0]=(...a)=>o.toggle_lyrics&&o.toggle_lyrics(...a))},[y(i,{class:"icon",name:o.icon_name,size:n.icon_size,title:e.$t("player.button.toggle-lyrics")},null,8,["name","size","title"])],2)}const jE=te(UE,[["render",BE]]),qE={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||V.player_next()}}},WE=["disabled"];function GE(e,t,n,r,s,o){const i=$("mdicon");return k(),T("a",{disabled:o.disabled,onClick:t[0]||(t[0]=(...a)=>o.play_next&&o.play_next(...a))},[y(i,{name:"skip-forward",size:n.icon_size,title:e.$t("player.button.skip-forward")},null,8,["size","title"])],8,WE)}const KE=te(qE,[["render",GE]]),ZE={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?V.player_pause():this.is_playing&&!this.is_pause_allowed?V.player_stop():V.player_play()}}},YE=["disabled"];function JE(e,t,n,r,s,o){const i=$("mdicon");return k(),T("a",{disabled:o.disabled,onClick:t[0]||(t[0]=(...a)=>o.toggle_play_pause&&o.toggle_play_pause(...a))},[y(i,{name:o.icon_name,size:n.icon_size,title:e.$t("player.button."+o.icon_name)},null,8,["name","size","title"])],8,YE)}const XE=te(ZE,[["render",JE]]),QE={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||V.player_previous()}}},eS=["disabled"];function tS(e,t,n,r,s,o){const i=$("mdicon");return k(),T("a",{disabled:o.disabled,onClick:t[0]||(t[0]=(...a)=>o.play_previous&&o.play_previous(...a))},[y(i,{name:"skip-backward",size:n.icon_size,title:e.$t("player.button.skip-backward")},null,8,["size","title"])],8,eS)}const nS=te(QE,[["render",tS]]),rS={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?V.player_repeat("single"):this.is_repeat_single?V.player_repeat("off"):V.player_repeat("all")}}};function sS(e,t,n,r,s,o){const i=$("mdicon");return k(),T("a",{class:Ee({"is-info":!o.is_repeat_off}),onClick:t[0]||(t[0]=(...a)=>o.toggle_repeat_mode&&o.toggle_repeat_mode(...a))},[y(i,{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 oS=te(rS,[["render",sS]]),iS={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||V.player_seek(this.seek_ms*-1)}}},aS=["disabled"];function lS(e,t,n,r,s,o){const i=$("mdicon");return o.visible?(k(),T("a",{key:0,disabled:o.disabled,onClick:t[0]||(t[0]=(...a)=>o.seek&&o.seek(...a))},[y(i,{name:"rewind-10",size:n.icon_size,title:e.$t("player.button.seek-backward")},null,8,["size","title"])],8,aS)):M("",!0)}const uS=te(iS,[["render",lS]]),cS={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||V.player_seek(this.seek_ms)}}},dS=["disabled"];function mS(e,t,n,r,s,o){const i=$("mdicon");return o.visible?(k(),T("a",{key:0,disabled:o.disabled,onClick:t[0]||(t[0]=(...a)=>o.seek&&o.seek(...a))},[y(i,{name:"fast-forward-30",size:n.icon_size,title:e.$t("player.button.seek-forward")},null,8,["size","title"])],8,dS)):M("",!0)}const fS=te(cS,[["render",mS]]),pS={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(){V.player_shuffle(!this.is_shuffle)}}};function hS(e,t,n,r,s,o){const i=$("mdicon");return k(),T("a",{class:Ee({"is-info":o.is_shuffle}),onClick:t[0]||(t[0]=(...a)=>o.toggle_shuffle_mode&&o.toggle_shuffle_mode(...a))},[y(i,{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 _S=te(pS,[["render",hS]]),gS={name:"NavbarBottom",components:{ControlSlider:Jd,NavbarItemLink:qg,NavbarItemOutput:NE,PlayerButtonConsume:HE,PlayerButtonLyrics:jE,PlayerButtonNext:KE,PlayerButtonPlayPause:XE,PlayerButtonPrevious:nS,PlayerButtonRepeat:oS,PlayerButtonSeekBack:uS,PlayerButtonSeekForward:fS,PlayerButtonShuffle:_S},data(){return{cursor:Kl,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(to,e)}},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(){V.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=xo.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(){xo.stopAudio(),this.playing=!1},playChannel(){if(this.playing)return;const e="/stream.mp3";this.loading=!0,xo.playSource(e),xo.setVolume(this.stream_volume/100)},togglePlay(){if(!this.loading)return this.playing?this.closeAudio():this.playChannel()},change_stream_volume(){xo.setVolume(this.stream_volume/100)}}},yS={class:"navbar-dropdown is-right fd-width-auto"},vS={class:"navbar-item"},bS={class:"level is-mobile"},zS={class:"level-left is-flex-grow-1"},CS={class:"level-item is-flex-grow-0"},wS={class:"icon"},kS={class:"level-item"},xS=["textContent"],ES=u("hr",{class:"my-3"},null,-1),SS=u("hr",{class:"my-3"},null,-1),$S={class:"navbar-item"},AS={class:"level is-mobile"},TS={class:"level-left is-flex-grow-1"},OS={class:"level-item is-flex-grow-0"},DS={class:"level-item"},PS={class:"is-flex-grow-1"},IS=["textContent"],FS={href:"stream.mp3",class:"heading ml-2",target:"_blank"},RS=u("hr",{class:"my-3"},null,-1),LS={class:"navbar-item is-justify-content-center"},NS={class:"level"},MS={class:"level-item"},VS={class:"buttons has-addons"},HS={class:"navbar-brand is-flex-grow-1"},US={class:"fd-is-text-clipped"},BS=["textContent"],jS=u("br",null,null,-1),qS=["textContent"],WS=["textContent"],GS=u("div",{class:"navbar-start"},null,-1),KS={class:"navbar-end"},ZS={class:"navbar-item"},YS={class:"buttons has-addons is-centered"},JS=u("hr",{class:"my-3"},null,-1),XS={class:"navbar-item"},QS={class:"level is-mobile"},e$={class:"level-left is-flex-grow-1"},t$={class:"level-item is-flex-grow-0"},n$={class:"level-item"},r$={class:"is-flex-grow-1"},s$=["textContent"],o$=u("hr",{class:"my-3"},null,-1),i$=u("hr",{class:"my-3"},null,-1),a$={class:"navbar-item mb-5"},l$={class:"level is-mobile"},u$={class:"level-left is-flex-grow-1"},c$={class:"level-item is-flex-grow-0"},d$={class:"level-item"},m$={class:"is-flex-grow-1"},f$=["textContent"],p$={href:"stream.mp3",class:"heading ml-2",target:"_blank"};function h$(e,t,n,r,s,o){const i=$("mdicon"),a=$("control-slider"),l=$("navbar-item-output"),c=$("player-button-repeat"),d=$("player-button-shuffle"),m=$("player-button-consume"),f=$("player-button-lyrics"),p=$("navbar-item-link"),h=$("player-button-previous"),_=$("player-button-seek-back"),b=$("player-button-play-pause"),C=$("player-button-seek-forward"),w=$("player-button-next");return k(),T("nav",{class:Ee(["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}]),role:"navigation","aria-label":"player controls"},[u("div",{class:Ee(["navbar-item has-dropdown has-dropdown-up is-hidden-touch",{"is-active":o.show_player_menu}])},[u("div",yS,[u("div",vS,[u("div",bS,[u("div",zS,[u("div",CS,[u("a",{class:"button is-white is-small",onClick:t[0]||(t[0]=(...v)=>o.toggle_mute_volume&&o.toggle_mute_volume(...v))},[u("span",wS,[y(i,{name:o.player.volume>0?"volume-high":"volume-off",size:"18"},null,8,["name"])])])]),u("div",kS,[u("div",null,[u("p",{class:"heading",textContent:g(e.$t("navigation.volume"))},null,8,xS),y(a,{value:o.player.volume,"onUpdate:value":t[1]||(t[1]=v=>o.player.volume=v),max:100,onChange:o.change_volume},null,8,["value","onChange"])])])])])]),ES,(k(!0),T(we,null,ct(o.outputs,v=>(k(),_e(l,{key:v.id,output:v},null,8,["output"]))),128)),SS,u("div",$S,[u("div",AS,[u("div",TS,[u("div",OS,[u("a",{class:Ee(["button is-clickable is-white is-small",{"has-text-grey-light":!s.playing&&!s.loading,"is-loading":s.loading}]),onClick:t[2]||(t[2]=(...v)=>o.togglePlay&&o.togglePlay(...v))},[y(i,{class:"icon",name:"broadcast",size:"18"})],2)]),u("div",DS,[u("div",PS,[u("div",{class:Ee(["is-flex is-align-content-center",{"has-text-grey-light":!s.playing}])},[u("p",{class:"heading",textContent:g(e.$t("navigation.stream"))},null,8,IS),u("a",FS,[y(i,{class:"icon is-small",name:"open-in-new",size:"16"})])],2),y(a,{value:s.stream_volume,"onUpdate:value":t[3]||(t[3]=v=>s.stream_volume=v),disabled:!s.playing,max:100,cursor:s.cursor,onChange:o.change_stream_volume},null,8,["value","disabled","cursor","onChange"])])])])])]),RS,u("div",LS,[u("div",NS,[u("div",MS,[u("div",VS,[y(c,{class:"button"}),y(d,{class:"button"}),y(m,{class:"button"}),y(f,{class:"button"})])])])])])],2),u("div",HS,[y(p,{to:{name:"queue"},exact:"",class:"mr-auto"},{default:E(()=>[y(i,{class:"icon",name:"playlist-play",size:"24"})]),_:1}),o.is_now_playing_page?M("",!0):(k(),_e(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",US,[u("strong",{textContent:g(o.now_playing.title)},null,8,BS),jS,u("span",{textContent:g(o.now_playing.artist)},null,8,qS),o.now_playing.album?(k(),T("span",{key:0,textContent:g(e.$t("navigation.now-playing",{album:o.now_playing.album}))},null,8,WS)):M("",!0)])]),_:1})),o.is_now_playing_page?(k(),_e(h,{key:1,class:"navbar-item px-2",icon_size:24})):M("",!0),o.is_now_playing_page?(k(),_e(_,{key:2,seek_ms:1e4,class:"navbar-item px-2",icon_size:24})):M("",!0),y(b,{class:"navbar-item px-2",icon_size:36,show_disabled_message:""}),o.is_now_playing_page?(k(),_e(C,{key:3,seek_ms:3e4,class:"navbar-item px-2",icon_size:24})):M("",!0),o.is_now_playing_page?(k(),_e(w,{key:4,class:"navbar-item px-2",icon_size:24})):M("",!0),u("a",{class:"navbar-item ml-auto",onClick:t[4]||(t[4]=v=>o.show_player_menu=!o.show_player_menu)},[y(i,{class:"icon",name:o.show_player_menu?"chevron-down":"chevron-up"},null,8,["name"])])]),u("div",{class:Ee(["navbar-menu is-hidden-desktop",{"is-active":o.show_player_menu}])},[GS,u("div",KS,[u("div",ZS,[u("div",YS,[y(c,{class:"button"}),y(d,{class:"button"}),y(m,{class:"button"}),y(f,{class:"button"})])]),JS,u("div",XS,[u("div",QS,[u("div",e$,[u("div",t$,[u("a",{class:"button is-white is-small",onClick:t[5]||(t[5]=(...v)=>o.toggle_mute_volume&&o.toggle_mute_volume(...v))},[y(i,{class:"icon",name:o.player.volume>0?"volume-high":"volume-off",size:"18"},null,8,["name"])])]),u("div",n$,[u("div",r$,[u("p",{class:"heading",textContent:g(e.$t("navigation.volume"))},null,8,s$),y(a,{value:o.player.volume,"onUpdate:value":t[6]||(t[6]=v=>o.player.volume=v),max:100,onChange:o.change_volume},null,8,["value","onChange"])])])])])]),o$,(k(!0),T(we,null,ct(o.outputs,v=>(k(),_e(l,{key:v.id,output:v},null,8,["output"]))),128)),i$,u("div",a$,[u("div",l$,[u("div",u$,[u("div",c$,[u("a",{class:Ee(["button is-clickable is-white is-small",{"has-text-grey-light":!s.playing&&!s.loading,"is-loading":s.loading}]),onClick:t[7]||(t[7]=(...v)=>o.togglePlay&&o.togglePlay(...v))},[y(i,{class:"icon",name:"radio-tower",size:"16"})],2)]),u("div",d$,[u("div",m$,[u("div",{class:Ee(["is-flex is-align-content-center",{"has-text-grey-light":!s.playing}])},[u("p",{class:"heading",textContent:g(e.$t("navigation.stream"))},null,8,f$),u("a",p$,[y(i,{class:"icon is-small",name:"open-in-new",size:"16"})])],2),y(a,{value:s.stream_volume,"onUpdate:value":t[8]||(t[8]=v=>s.stream_volume=v),disabled:!s.playing,max:100,cursor:s.cursor,onChange:o.change_stream_volume},null,8,["value","disabled","cursor","onChange"])])])])])])])],2)],2)}const _$=te(gS,[["render",h$]]),g$={name:"NotificationList",computed:{notifications(){return this.$store.state.notifications.list}},methods:{remove(e){this.$store.commit(uc,e)}}},y$={key:0,class:"notifications"},v$={class:"columns is-centered"},b$={class:"column is-half"},z$=["onClick"],C$=["textContent"];function w$(e,t,n,r,s,o){return o.notifications.length>0?(k(),T("section",y$,[u("div",v$,[u("div",b$,[(k(!0),T(we,null,ct(o.notifications,i=>(k(),T("div",{key:i.id,class:Ee(["notification",i.type?`is-${i.type}`:""])},[u("button",{class:"delete",onClick:a=>o.remove(i)},null,8,z$),u("div",{class:"text",textContent:g(i.text)},null,8,C$)],2))),128))])])])):M("",!0)}const k$=te(g$,[["render",w$],["__scopeId","data-v-48edef38"]]),x$={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(){V.pairing_kickoff(this.pairing_req).then(()=>{this.pairing_req.pin=""})}}},E$={key:0,class:"modal is-active"},S$={class:"modal-content fd-modal-card"},$$={class:"card"},A$={class:"card-content"},T$=["textContent"],O$=["textContent"],D$={class:"field"},P$={class:"control"},I$=["placeholder"],F$={class:"card-footer is-clipped"},R$=["textContent"],L$=["textContent"];function N$(e,t,n,r,s,o){const i=$("mdicon");return k(),T("div",null,[y(It,{name:"fade"},{default:E(()=>[n.show?(k(),T("div",E$,[u("div",{class:"modal-background",onClick:t[0]||(t[0]=a=>e.$emit("close"))}),u("div",S$,[u("div",$$,[u("div",A$,[u("p",{class:"title is-4",textContent:g(e.$t("dialog.remote-pairing.title"))},null,8,T$),u("form",{onSubmit:t[2]||(t[2]=st((...a)=>o.kickoff_pairing&&o.kickoff_pairing(...a),["prevent"]))},[u("label",{class:"label",textContent:g(o.pairing.remote)},null,8,O$),u("div",D$,[u("div",P$,[yt(u("input",{ref:"pin_field","onUpdate:modelValue":t[1]||(t[1]=a=>s.pairing_req.pin=a),class:"input",type:"text",pattern:"[\\d]{4}",placeholder:e.$t("dialog.remote-pairing.pairing-code")},null,8,I$),[[dn,s.pairing_req.pin]])])])],32)]),u("footer",F$,[u("a",{class:"card-footer-item has-text-danger",onClick:t[3]||(t[3]=a=>e.$emit("close"))},[y(i,{class:"icon",name:"cancel",size:"16"}),u("span",{class:"is-size-7",textContent:g(e.$t("dialog.remote-pairing.cancel"))},null,8,R$)]),u("a",{class:"card-footer-item has-background-info has-text-white has-text-weight-bold",onClick:t[4]||(t[4]=(...a)=>o.kickoff_pairing&&o.kickoff_pairing(...a))},[y(i,{class:"icon",name:"cellphone",size:"16"}),u("span",{class:"is-size-7",textContent:g(e.$t("dialog.remote-pairing.pair"))},null,8,L$)])])])]),u("button",{class:"modal-close is-large","aria-label":"close",onClick:t[5]||(t[5]=a=>e.$emit("close"))})])):M("",!0)]),_:1})])}const M$=te(x$,[["render",N$]]),V$={name:"ModalDialog",props:["show","title","ok_action","delete_action","close_action"],emits:["delete","close","ok"]},H$={key:0,class:"modal is-active"},U$={class:"modal-content fd-modal-card"},B$={class:"card"},j$={class:"card-content"},q$=["textContent"],W$={class:"card-footer is-clipped"},G$=["textContent"],K$=["textContent"],Z$=["textContent"];function Y$(e,t,n,r,s,o){const i=$("mdicon");return k(),T("div",null,[y(It,{name:"fade"},{default:E(()=>[n.show?(k(),T("div",H$,[u("div",{class:"modal-background",onClick:t[0]||(t[0]=a=>e.$emit("close"))}),u("div",U$,[u("div",B$,[u("div",j$,[n.title?(k(),T("p",{key:0,class:"title is-4",textContent:g(n.title)},null,8,q$)):M("",!0),it(e.$slots,"modal-content")]),u("footer",W$,[u("a",{class:"card-footer-item has-text-dark",onClick:t[1]||(t[1]=a=>e.$emit("close"))},[y(i,{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,G$)]),n.delete_action?(k(),T("a",{key:0,class:"card-footer-item has-background-danger has-text-white has-text-weight-bold",onClick:t[2]||(t[2]=a=>e.$emit("delete"))},[y(i,{class:"icon",name:"delete",size:"16"}),u("span",{class:"is-size-7",textContent:g(n.delete_action)},null,8,K$)])):M("",!0),n.ok_action?(k(),T("a",{key:1,class:"card-footer-item has-background-info has-text-white has-text-weight-bold",onClick:t[3]||(t[3]=a=>e.$emit("ok"))},[y(i,{class:"icon",name:"check",size:"16"}),u("span",{class:"is-size-7",textContent:g(n.ok_action)},null,8,Z$)])):M("",!0)])])]),u("button",{class:"modal-close is-large","aria-label":"close",onClick:t[4]||(t[4]=a=>e.$emit("close"))})])):M("",!0)]),_:3})])}const fm=te(V$,[["render",Y$]]),J$={name:"ModalDialogUpdate",components:{ModalDialog:fm},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(vd,e)}}},methods:{update_library(){this.rescan_metadata?V.library_rescan(this.update_dialog_scan_kind):V.library_update(this.update_dialog_scan_kind)},close(){this.update_dialog_scan_kind="",this.$emit("close")}}},X$={key:0},Q$=["textContent"],eA={key:0,class:"field"},tA={class:"control"},nA={class:"select is-small"},rA=["textContent"],sA=["textContent"],oA=["textContent"],iA=["textContent"],aA={class:"field"},lA=["textContent"],uA={key:1},cA=["textContent"];function dA(e,t,n,r,s,o){const i=$("modal-dialog");return k(),_e(i,{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]=a=>o.close())},{"modal-content":E(()=>[o.library.updating?(k(),T("div",uA,[u("p",{class:"mb-3",textContent:g(e.$t("dialog.update.progress"))},null,8,cA)])):(k(),T("div",X$,[u("p",{class:"mb-3",textContent:g(e.$t("dialog.update.info"))},null,8,Q$),o.spotify_enabled||o.rss.tracks>0?(k(),T("div",eA,[u("div",tA,[u("div",nA,[yt(u("select",{"onUpdate:modelValue":t[0]||(t[0]=a=>o.update_dialog_scan_kind=a)},[u("option",{value:"",textContent:g(e.$t("dialog.update.all"))},null,8,rA),u("option",{value:"files",textContent:g(e.$t("dialog.update.local"))},null,8,sA),o.spotify_enabled?(k(),T("option",{key:0,value:"spotify",textContent:g(e.$t("dialog.update.spotify"))},null,8,oA)):M("",!0),o.rss.tracks>0?(k(),T("option",{key:1,value:"rss",textContent:g(e.$t("dialog.update.feeds"))},null,8,iA)):M("",!0)],512),[[Yd,o.update_dialog_scan_kind]])])])])):M("",!0),u("div",aA,[yt(u("input",{id:"rescan","onUpdate:modelValue":t[1]||(t[1]=a=>s.rescan_metadata=a),type:"checkbox",class:"switch is-rounded is-small"},null,512),[[On,s.rescan_metadata]]),u("label",{for:"rescan",textContent:g(e.$t("dialog.update.rescan-metadata"))},null,8,lA)])]))]),_:1},8,["show","title","ok_action","close_action","onOk"])}const mA=te(J$,[["render",dA]]);var un=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Oi(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function By(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 jy={exports:{}};(function(e){(function(t,n){e.exports?e.exports=n():t.ReconnectingWebSocket=n()})(un,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 i in o)typeof s[i]<"u"?this[i]=s[i]:this[i]=o[i];this.url=n,this.reconnectAttempts=0,this.readyState=WebSocket.CONNECTING,this.protocol=null;var a=this,l,c=!1,d=!1,m=document.createElement("div");m.addEventListener("open",function(p){a.onopen(p)}),m.addEventListener("close",function(p){a.onclose(p)}),m.addEventListener("connecting",function(p){a.onconnecting(p)}),m.addEventListener("message",function(p){a.onmessage(p)}),m.addEventListener("error",function(p){a.onerror(p)}),this.addEventListener=m.addEventListener.bind(m),this.removeEventListener=m.removeEventListener.bind(m),this.dispatchEvent=m.dispatchEvent.bind(m);function f(p,h){var _=document.createEvent("CustomEvent");return _.initCustomEvent(p,!1,!1,h),_}this.open=function(p){if(l=new WebSocket(a.url,r||[]),p){if(this.maxReconnectAttempts&&this.reconnectAttempts>this.maxReconnectAttempts)return}else m.dispatchEvent(f("connecting")),this.reconnectAttempts=0;(a.debug||t.debugAll)&&console.debug("ReconnectingWebSocket","attempt-connect",a.url);var h=l,_=setTimeout(function(){(a.debug||t.debugAll)&&console.debug("ReconnectingWebSocket","connection-timeout",a.url),d=!0,h.close(),d=!1},a.timeoutInterval);l.onopen=function(b){clearTimeout(_),(a.debug||t.debugAll)&&console.debug("ReconnectingWebSocket","onopen",a.url),a.protocol=l.protocol,a.readyState=WebSocket.OPEN,a.reconnectAttempts=0;var C=f("open");C.isReconnect=p,p=!1,m.dispatchEvent(C)},l.onclose=function(b){if(clearTimeout(w),l=null,c)a.readyState=WebSocket.CLOSED,m.dispatchEvent(f("close"));else{a.readyState=WebSocket.CONNECTING;var C=f("connecting");C.code=b.code,C.reason=b.reason,C.wasClean=b.wasClean,m.dispatchEvent(C),!p&&!d&&((a.debug||t.debugAll)&&console.debug("ReconnectingWebSocket","onclose",a.url),m.dispatchEvent(f("close")));var w=a.reconnectInterval*Math.pow(a.reconnectDecay,a.reconnectAttempts);setTimeout(function(){a.reconnectAttempts++,a.open(!0)},w>a.maxReconnectInterval?a.maxReconnectInterval:w)}},l.onmessage=function(b){(a.debug||t.debugAll)&&console.debug("ReconnectingWebSocket","onmessage",a.url,b.data);var C=f("message");C.data=b.data,m.dispatchEvent(C)},l.onerror=function(b){(a.debug||t.debugAll)&&console.debug("ReconnectingWebSocket","onerror",a.url,b),m.dispatchEvent(f("error"))}},this.automaticOpen==!0&&this.open(!1),this.send=function(p){if(l)return(a.debug||t.debugAll)&&console.debug("ReconnectingWebSocket","send",a.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})})(jy);var fA=jy.exports;const pA=Oi(fA),hA={name:"App",components:{NavbarTop:iw,NavbarBottom:_$,NotificationList:k$,ModalDialogRemotePairing:M$,ModalDialogUpdate:mA},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(eo,e)}},show_player_menu:{get(){return this.$store.state.show_player_menu},set(e){this.$store.commit(to,e)}},show_update_dialog:{get(){return this.$store.state.show_update_dialog},set(e){this.$store.commit(zi,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(){V.config().then(({data:e})=>{this.$store.commit(Uh,e),this.$store.commit(Ol,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 pA(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()};let 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(i){const a=JSON.parse(i.data);(a.notify.includes("update")||a.notify.includes("database"))&&e.update_library_stats(),(a.notify.includes("player")||a.notify.includes("options")||a.notify.includes("volume"))&&e.update_player_status(),(a.notify.includes("outputs")||a.notify.includes("volume"))&&e.update_outputs(),a.notify.includes("queue")&&e.update_queue(),a.notify.includes("spotify")&&e.update_spotify(),a.notify.includes("lastfm")&&e.update_lastfm(),a.notify.includes("pairing")&&e.update_pairing()}},update_library_stats(){V.library_stats().then(({data:e})=>{this.$store.commit(jh,e)}),V.library_count("scan_kind is rss").then(({data:e})=>{this.$store.commit(qh,e)})},update_outputs(){V.outputs().then(({data:e})=>{this.$store.commit(Wh,e.outputs)})},update_player_status(){V.player_status().then(({data:e})=>{this.$store.commit(hd,e),this.update_lyrics()})},update_queue(){V.queue().then(({data:e})=>{this.$store.commit(Gh,e),this.update_lyrics()})},update_lyrics(){const e=this.$store.getters.now_playing;e&&e.track_id?V.library_track(e.track_id).then(({data:t})=>{this.$store.commit(lc,t.lyrics)}):this.$store.commit(lc)},update_settings(){V.settings().then(({data:e})=>{this.$store.commit(Bh,e)})},update_lastfm(){V.lastfm().then(({data:e})=>{this.$store.commit(Kh,e)})},update_spotify(){V.spotify().then(({data:e})=>{this.$store.commit(Zh,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(){V.pairing().then(({data:e})=>{this.$store.commit(Yh,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/>"},_A={id:"app"};function gA(e,t,n,r,s,o){const i=$("navbar-top"),a=$("vue-progress-bar"),l=$("router-view"),c=$("modal-dialog-remote-pairing"),d=$("modal-dialog-update"),m=$("notification-list"),f=$("navbar-bottom");return k(),T("div",_A,[y(i),y(a,{class:"fd-progress-bar has-background-info"}),y(l,null,{default:E(({Component:p})=>[(k(),_e(I_(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"]),yt(y(m,null,null,512),[[fi,!o.show_burger_menu]]),y(f),yt(u("div",{class:"fd-overlay-fullscreen",onClick:t[2]||(t[2]=p=>o.show_burger_menu=o.show_player_menu=!1)},null,512),[[fi,o.show_burger_menu||o.show_player_menu]])])}const yA=te(hA,[["render",gA]]);class Es extends Error{}class vA extends Es{constructor(t){super(`Invalid DateTime: ${t.toMessage()}`)}}class bA extends Es{constructor(t){super(`Invalid Interval: ${t.toMessage()}`)}}class zA extends Es{constructor(t){super(`Invalid Duration: ${t.toMessage()}`)}}class Us extends Es{}class qy extends Es{constructor(t){super(`Invalid unit ${t}`)}}class on extends Es{}class $r extends Es{constructor(){super("Zone is an abstract class")}}const fe="numeric",Gn="short",zn="long",yl={year:fe,month:fe,day:fe},Wy={year:fe,month:Gn,day:fe},CA={year:fe,month:Gn,day:fe,weekday:Gn},Gy={year:fe,month:zn,day:fe},Ky={year:fe,month:zn,day:fe,weekday:zn},Zy={hour:fe,minute:fe},Yy={hour:fe,minute:fe,second:fe},Jy={hour:fe,minute:fe,second:fe,timeZoneName:Gn},Xy={hour:fe,minute:fe,second:fe,timeZoneName:zn},Qy={hour:fe,minute:fe,hourCycle:"h23"},ev={hour:fe,minute:fe,second:fe,hourCycle:"h23"},tv={hour:fe,minute:fe,second:fe,hourCycle:"h23",timeZoneName:Gn},nv={hour:fe,minute:fe,second:fe,hourCycle:"h23",timeZoneName:zn},rv={year:fe,month:fe,day:fe,hour:fe,minute:fe},sv={year:fe,month:fe,day:fe,hour:fe,minute:fe,second:fe},ov={year:fe,month:Gn,day:fe,hour:fe,minute:fe},iv={year:fe,month:Gn,day:fe,hour:fe,minute:fe,second:fe},wA={year:fe,month:Gn,day:fe,weekday:Gn,hour:fe,minute:fe},av={year:fe,month:zn,day:fe,hour:fe,minute:fe,timeZoneName:Gn},lv={year:fe,month:zn,day:fe,hour:fe,minute:fe,second:fe,timeZoneName:Gn},uv={year:fe,month:zn,day:fe,weekday:zn,hour:fe,minute:fe,timeZoneName:zn},cv={year:fe,month:zn,day:fe,weekday:zn,hour:fe,minute:fe,second:fe,timeZoneName:zn};class Di{get type(){throw new $r}get name(){throw new $r}get ianaName(){return this.name}get isUniversal(){throw new $r}offsetName(t,n){throw new $r}formatOffset(t,n){throw new $r}offset(t){throw new $r}equals(t){throw new $r}get isValid(){throw new $r}}let Fu=null;class su extends Di{static get instance(){return Fu===null&&(Fu=new su),Fu}get type(){return"system"}get name(){return new Intl.DateTimeFormat().resolvedOptions().timeZone}get isUniversal(){return!1}offsetName(t,{format:n,locale:r}){return vv(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 Za={};function kA(e){return Za[e]||(Za[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"})),Za[e]}const xA={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};function EA(e,t){const n=e.format(t).replace(/\u200E/g,""),r=/(\d+)\/(\d+)\/(\d+) (AD|BC),? (\d+):(\d+):(\d+)/.exec(n),[,s,o,i,a,l,c,d]=r;return[i,s,o,a,l,c,d]}function SA(e,t){const n=e.formatToParts(t),r=[];for(let s=0;s<n.length;s++){const{type:o,value:i}=n[s],a=xA[o];o==="era"?r[a]=i:Le(a)||(r[a]=parseInt(i,10))}return r}let Qi={};class vr extends Di{static create(t){return Qi[t]||(Qi[t]=new vr(t)),Qi[t]}static resetCache(){Qi={},Za={}}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=vr.isValidZone(t)}get type(){return"iana"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(t,{format:n,locale:r}){return vv(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=kA(this.name);let[s,o,i,a,l,c,d]=r.formatToParts?SA(r,n):EA(r,n);a==="BC"&&(s=-Math.abs(s)+1);const f=iu({year:s,month:o,day:i,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,(f-p)/(60*1e3)}equals(t){return t.type==="iana"&&t.name===this.name}get isValid(){return this.valid}}let yp={};function $A(e,t={}){const n=JSON.stringify([e,t]);let r=yp[n];return r||(r=new Intl.ListFormat(e,t),yp[n]=r),r}let Gc={};function Kc(e,t={}){const n=JSON.stringify([e,t]);let r=Gc[n];return r||(r=new Intl.DateTimeFormat(e,t),Gc[n]=r),r}let Zc={};function AA(e,t={}){const n=JSON.stringify([e,t]);let r=Zc[n];return r||(r=new Intl.NumberFormat(e,t),Zc[n]=r),r}let Yc={};function TA(e,t={}){const{base:n,...r}=t,s=JSON.stringify([e,r]);let o=Yc[s];return o||(o=new Intl.RelativeTimeFormat(e,t),Yc[s]=o),o}let No=null;function OA(){return No||(No=new Intl.DateTimeFormat().resolvedOptions().locale,No)}let vp={};function DA(e){let t=vp[e];if(!t){const n=new Intl.Locale(e);t="getWeekInfo"in n?n.getWeekInfo():n.weekInfo,vp[e]=t}return t}function PA(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=Kc(e).resolvedOptions(),s=e}catch{const l=e.substring(0,n);r=Kc(l).resolvedOptions(),s=l}const{numberingSystem:o,calendar:i}=r;return[s,o,i]}}function IA(e,t,n){return(n||t)&&(e.includes("-u-")||(e+="-u"),n&&(e+=`-ca-${n}`),t&&(e+=`-nu-${t}`)),e}function FA(e){const t=[];for(let n=1;n<=12;n++){const r=Pe.utc(2009,n,1);t.push(e(r))}return t}function RA(e){const t=[];for(let n=1;n<=7;n++){const r=Pe.utc(2016,11,13+n);t.push(e(r))}return t}function ea(e,t,n,r){const s=e.listingMode();return s==="error"?null:s==="en"?n(t):r(t)}function LA(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 NA{constructor(t,n,r){this.padTo=r.padTo||0,this.floor=r.floor||!1;const{padTo:s,floor:o,...i}=r;if(!n||Object.keys(i).length>0){const a={useGrouping:!1,...r};r.padTo>0&&(a.minimumIntegerDigits=r.padTo),this.inf=AA(t,a)}}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):gm(t,3);return Dt(n,this.padTo)}}}class MA{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 i=-1*(t.offset/60),a=i>=0?`Etc/GMT+${i}`:`Etc/GMT${i}`;t.offset!==0&&vr.create(a).valid?(s=a,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=Kc(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 VA{constructor(t,n,r){this.opts={style:"long",...r},!n&&gv()&&(this.rtf=TA(t,r))}format(t,n){return this.rtf?this.rtf.format(t,n):iT(n,t,this.opts.numeric,this.opts.style!=="long")}formatToParts(t,n){return this.rtf?this.rtf.formatToParts(t,n):[]}}const HA={firstDay:1,minimalDays:4,weekend:[6,7]};class mt{static fromOpts(t){return mt.create(t.locale,t.numberingSystem,t.outputCalendar,t.weekSettings,t.defaultToEN)}static create(t,n,r,s,o=!1){const i=t||Tt.defaultLocale,a=i||(o?"en-US":OA()),l=n||Tt.defaultNumberingSystem,c=r||Tt.defaultOutputCalendar,d=Jc(s)||Tt.defaultWeekSettings;return new mt(a,l,c,d,i)}static resetCache(){No=null,Gc={},Zc={},Yc={}}static fromObject({locale:t,numberingSystem:n,outputCalendar:r,weekSettings:s}={}){return mt.create(t,n,r,s)}constructor(t,n,r,s,o){const[i,a,l]=PA(t);this.locale=i,this.numberingSystem=n||a||null,this.outputCalendar=r||l||null,this.weekSettings=s,this.intl=IA(this.locale,this.numberingSystem,this.outputCalendar),this.weekdaysCache={format:{},standalone:{}},this.monthsCache={format:{},standalone:{}},this.meridiemCache=null,this.eraCache={},this.specifiedLocale=o,this.fastNumbersCached=null}get fastNumbers(){return this.fastNumbersCached==null&&(this.fastNumbersCached=LA(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:mt.create(t.locale||this.specifiedLocale,t.numberingSystem||this.numberingSystem,t.outputCalendar||this.outputCalendar,Jc(t.weekSettings)||this.weekSettings,t.defaultToEN||!1)}redefaultToEN(t={}){return this.clone({...t,defaultToEN:!0})}redefaultToSystem(t={}){return this.clone({...t,defaultToEN:!1})}months(t,n=!1){return ea(this,t,Cv,()=>{const r=n?{month:t,day:"numeric"}:{month:t},s=n?"format":"standalone";return this.monthsCache[s][t]||(this.monthsCache[s][t]=FA(o=>this.extract(o,r,"month"))),this.monthsCache[s][t]})}weekdays(t,n=!1){return ea(this,t,xv,()=>{const r=n?{weekday:t,year:"numeric",month:"long",day:"numeric"}:{weekday:t},s=n?"format":"standalone";return this.weekdaysCache[s][t]||(this.weekdaysCache[s][t]=RA(o=>this.extract(o,r,"weekday"))),this.weekdaysCache[s][t]})}meridiems(){return ea(this,void 0,()=>Ev,()=>{if(!this.meridiemCache){const t={hour:"numeric",hourCycle:"h12"};this.meridiemCache=[Pe.utc(2016,11,13,9),Pe.utc(2016,11,13,19)].map(n=>this.extract(n,t,"dayperiod"))}return this.meridiemCache})}eras(t){return ea(this,t,Sv,()=>{const n={era:t};return this.eraCache[t]||(this.eraCache[t]=[Pe.utc(-40,1,1),Pe.utc(2017,1,1)].map(r=>this.extract(r,n,"era"))),this.eraCache[t]})}extract(t,n,r){const s=this.dtFormatter(t,n),o=s.formatToParts(),i=o.find(a=>a.type.toLowerCase()===r);return i?i.value:null}numberFormatter(t={}){return new NA(this.intl,t.forceSimple||this.fastNumbers,t)}dtFormatter(t,n={}){return new MA(t,this.intl,n)}relFormatter(t={}){return new VA(this.intl,this.isEnglish(),t)}listFormatter(t={}){return $A(this.intl,t)}isEnglish(){return this.locale==="en"||this.locale.toLowerCase()==="en-us"||new Intl.DateTimeFormat(this.intl).resolvedOptions().locale.startsWith("en-us")}getWeekSettings(){return this.weekSettings?this.weekSettings:yv()?DA(this.locale):HA}getStartOfWeek(){return this.getWeekSettings().firstDay}getMinDaysInFirstWeek(){return this.getWeekSettings().minimalDays}getWeekendDays(){return this.getWeekSettings().weekend}equals(t){return this.locale===t.locale&&this.numberingSystem===t.numberingSystem&&this.outputCalendar===t.outputCalendar}}let Ru=null;class Jt extends Di{static get utcInstance(){return Ru===null&&(Ru=new Jt(0)),Ru}static instance(t){return t===0?Jt.utcInstance:new Jt(t)}static parseSpecifier(t){if(t){const n=t.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(n)return new Jt(au(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 UA extends Di{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 Vr(e,t){if(Le(e)||e===null)return t;if(e instanceof Di)return e;if(qA(e)){const n=e.toLowerCase();return n==="default"?t:n==="local"||n==="system"?su.instance:n==="utc"||n==="gmt"?Jt.utcInstance:Jt.parseSpecifier(n)||vr.create(e)}else return hs(e)?Jt.instance(e):typeof e=="object"&&"offset"in e&&typeof e.offset=="function"?e:new UA(e)}let bp=()=>Date.now(),zp="system",Cp=null,wp=null,kp=null,xp=60,Ep,Sp=null;class Tt{static get now(){return bp}static set now(t){bp=t}static set defaultZone(t){zp=t}static get defaultZone(){return Vr(zp,su.instance)}static get defaultLocale(){return Cp}static set defaultLocale(t){Cp=t}static get defaultNumberingSystem(){return wp}static set defaultNumberingSystem(t){wp=t}static get defaultOutputCalendar(){return kp}static set defaultOutputCalendar(t){kp=t}static get defaultWeekSettings(){return Sp}static set defaultWeekSettings(t){Sp=Jc(t)}static get twoDigitCutoffYear(){return xp}static set twoDigitCutoffYear(t){xp=t%100}static get throwOnInvalid(){return Ep}static set throwOnInvalid(t){Ep=t}static resetCaches(){mt.resetCache(),vr.resetCache()}}class Bn{constructor(t,n){this.reason=t,this.explanation=n}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:this.reason}}const dv=[0,31,59,90,120,151,181,212,243,273,304,334],mv=[0,31,60,91,121,152,182,213,244,274,305,335];function Sn(e,t){return new Bn("unit out of range",`you specified ${t} (of type ${typeof t}) as a ${e}, which is invalid`)}function pm(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+(Pi(e)?mv:dv)[t-1]}function pv(e,t){const n=Pi(e)?mv:dv,r=n.findIndex(o=>o<t),s=t-n[r];return{month:r+1,day:s}}function hm(e,t){return(e-t+7)%7+1}function vl(e,t=4,n=1){const{year:r,month:s,day:o}=e,i=fv(r,s,o),a=hm(pm(r,s,o),n);let l=Math.floor((i-a+14-t)/7),c;return l<1?(c=r-1,l=gi(c,t,n)):l>gi(r,t,n)?(c=r+1,l=1):c=r,{weekYear:c,weekNumber:l,weekday:a,...lu(e)}}function $p(e,t=4,n=1){const{weekYear:r,weekNumber:s,weekday:o}=e,i=hm(pm(r,1,t),n),a=Xs(r);let l=s*7+o-i-7+t,c;l<1?(c=r-1,l+=Xs(c)):l>a?(c=r+1,l-=Xs(r)):c=r;const{month:d,day:m}=pv(c,l);return{year:c,month:d,day:m,...lu(e)}}function Lu(e){const{year:t,month:n,day:r}=e,s=fv(t,n,r);return{year:t,ordinal:s,...lu(e)}}function Ap(e){const{year:t,ordinal:n}=e,{month:r,day:s}=pv(t,n);return{year:t,month:r,day:s,...lu(e)}}function Tp(e,t){if(!Le(e.localWeekday)||!Le(e.localWeekNumber)||!Le(e.localWeekYear)){if(!Le(e.weekday)||!Le(e.weekNumber)||!Le(e.weekYear))throw new Us("Cannot mix locale-based week fields with ISO-based week fields");return Le(e.localWeekday)||(e.weekday=e.localWeekday),Le(e.localWeekNumber)||(e.weekNumber=e.localWeekNumber),Le(e.localWeekYear)||(e.weekYear=e.localWeekYear),delete e.localWeekday,delete e.localWeekNumber,delete e.localWeekYear,{minDaysInFirstWeek:t.getMinDaysInFirstWeek(),startOfWeek:t.getStartOfWeek()}}else return{minDaysInFirstWeek:4,startOfWeek:1}}function BA(e,t=4,n=1){const r=ou(e.weekYear),s=$n(e.weekNumber,1,gi(e.weekYear,t,n)),o=$n(e.weekday,1,7);return r?s?o?!1:Sn("weekday",e.weekday):Sn("week",e.weekNumber):Sn("weekYear",e.weekYear)}function jA(e){const t=ou(e.year),n=$n(e.ordinal,1,Xs(e.year));return t?n?!1:Sn("ordinal",e.ordinal):Sn("year",e.year)}function hv(e){const t=ou(e.year),n=$n(e.month,1,12),r=$n(e.day,1,bl(e.year,e.month));return t?n?r?!1:Sn("day",e.day):Sn("month",e.month):Sn("year",e.year)}function _v(e){const{hour:t,minute:n,second:r,millisecond:s}=e,o=$n(t,0,23)||t===24&&n===0&&r===0&&s===0,i=$n(n,0,59),a=$n(r,0,59),l=$n(s,0,999);return o?i?a?l?!1:Sn("millisecond",s):Sn("second",r):Sn("minute",n):Sn("hour",t)}function Le(e){return typeof e>"u"}function hs(e){return typeof e=="number"}function ou(e){return typeof e=="number"&&e%1===0}function qA(e){return typeof e=="string"}function WA(e){return Object.prototype.toString.call(e)==="[object Date]"}function gv(){try{return typeof Intl<"u"&&!!Intl.RelativeTimeFormat}catch{return!1}}function yv(){try{return typeof Intl<"u"&&!!Intl.Locale&&("weekInfo"in Intl.Locale.prototype||"getWeekInfo"in Intl.Locale.prototype)}catch{return!1}}function GA(e){return Array.isArray(e)?e:[e]}function Op(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 KA(e,t){return t.reduce((n,r)=>(n[r]=e[r],n),{})}function lo(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function Jc(e){if(e==null)return null;if(typeof e!="object")throw new on("Week settings must be an object");if(!$n(e.firstDay,1,7)||!$n(e.minimalDays,1,7)||!Array.isArray(e.weekend)||e.weekend.some(t=>!$n(t,1,7)))throw new on("Invalid week settings");return{firstDay:e.firstDay,minimalDays:e.minimalDays,weekend:Array.from(e.weekend)}}function $n(e,t,n){return ou(e)&&e>=t&&e<=n}function ZA(e,t){return e-t*Math.floor(e/t)}function Dt(e,t=2){const n=e<0;let r;return n?r="-"+(""+-e).padStart(t,"0"):r=(""+e).padStart(t,"0"),r}function Lr(e){if(!(Le(e)||e===null||e===""))return parseInt(e,10)}function ns(e){if(!(Le(e)||e===null||e===""))return parseFloat(e)}function _m(e){if(!(Le(e)||e===null||e==="")){const t=parseFloat("0."+e)*1e3;return Math.floor(t)}}function gm(e,t,n=!1){const r=10**t;return(n?Math.trunc:Math.round)(e*r)/r}function Pi(e){return e%4===0&&(e%100!==0||e%400===0)}function Xs(e){return Pi(e)?366:365}function bl(e,t){const n=ZA(t-1,12)+1,r=e+(t-n)/12;return n===2?Pi(r)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][n-1]}function iu(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 Dp(e,t,n){return-hm(pm(e,1,t),n)+t-1}function gi(e,t=4,n=1){const r=Dp(e,t,n),s=Dp(e+1,t,n);return(Xs(e)-r+s)/7}function Xc(e){return e>99?e:e>Tt.twoDigitCutoffYear?1900+e:2e3+e}function vv(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 i={timeZoneName:t,...o},a=new Intl.DateTimeFormat(n,i).formatToParts(s).find(l=>l.type.toLowerCase()==="timezonename");return a?a.value:null}function au(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 bv(e){const t=Number(e);if(typeof e=="boolean"||e===""||Number.isNaN(t))throw new on(`Invalid unit value ${e}`);return t}function zl(e,t){const n={};for(const r in e)if(lo(e,r)){const s=e[r];if(s==null)continue;n[t(r)]=bv(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}${Dt(n,2)}:${Dt(r,2)}`;case"narrow":return`${s}${n}${r>0?`:${r}`:""}`;case"techie":return`${s}${Dt(n,2)}${Dt(r,2)}`;default:throw new RangeError(`Value format ${t} is out of range for property format`)}}function lu(e){return KA(e,["hour","minute","second","millisecond"])}const YA=["January","February","March","April","May","June","July","August","September","October","November","December"],zv=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],JA=["J","F","M","A","M","J","J","A","S","O","N","D"];function Cv(e){switch(e){case"narrow":return[...JA];case"short":return[...zv];case"long":return[...YA];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 wv=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],kv=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],XA=["M","T","W","T","F","S","S"];function xv(e){switch(e){case"narrow":return[...XA];case"short":return[...kv];case"long":return[...wv];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}const Ev=["AM","PM"],QA=["Before Christ","Anno Domini"],eT=["BC","AD"],tT=["B","A"];function Sv(e){switch(e){case"narrow":return[...tT];case"short":return[...eT];case"long":return[...QA];default:return null}}function nT(e){return Ev[e.hour<12?0:1]}function rT(e,t){return xv(t)[e.weekday-1]}function sT(e,t){return Cv(t)[e.month-1]}function oT(e,t){return Sv(t)[e.year<0?0:1]}function iT(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 m=e==="days";switch(t){case 1:return m?"tomorrow":`next ${s[e][0]}`;case-1:return m?"yesterday":`last ${s[e][0]}`;case 0:return m?"today":`this ${s[e][0]}`}}const i=Object.is(t,-0)||t<0,a=Math.abs(t),l=a===1,c=s[e],d=r?l?c[1]:c[2]||c[1]:l?s[e][0]:e;return i?`${a} ${d} ago`:`in ${a} ${d}`}function Pp(e,t){let n="";for(const r of e)r.literal?n+=r.val:n+=t(r.val);return n}const aT={D:yl,DD:Wy,DDD:Gy,DDDD:Ky,t:Zy,tt:Yy,ttt:Jy,tttt:Xy,T:Qy,TT:ev,TTT:tv,TTTT:nv,f:rv,ff:ov,fff:av,ffff:uv,F:sv,FF:iv,FFF:lv,FFFF:cv};class qt{static create(t,n={}){return new qt(t,n)}static parseFormat(t){let n=null,r="",s=!1;const o=[];for(let i=0;i<t.length;i++){const a=t.charAt(i);a==="'"?(r.length>0&&o.push({literal:s||/^\s+$/.test(r),val:r}),n=null,r="",s=!s):s||a===n?r+=a:(r.length>0&&o.push({literal:/^\s+$/.test(r),val:r}),r=a,n=a)}return r.length>0&&o.push({literal:s||/^\s+$/.test(r),val:r}),o}static macroTokenToFormatOpts(t){return aT[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()}dtFormatter(t,n={}){return this.loc.dtFormatter(t,{...this.opts,...n})}formatDateTime(t,n){return this.dtFormatter(t,n).format()}formatDateTimeParts(t,n){return this.dtFormatter(t,n).formatToParts()}formatInterval(t,n){return this.dtFormatter(t.start,n).dtf.formatRange(t.start.toJSDate(),t.end.toJSDate())}resolvedOptions(t,n){return this.dtFormatter(t,n).resolvedOptions()}num(t,n=0){if(this.opts.forceSimple)return Dt(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),i=p=>t.isOffsetFixed&&t.offset===0&&p.allowZ?"Z":t.isValid?t.zone.formatOffset(t.ts,p.format):"",a=()=>r?nT(t):o({hour:"numeric",hourCycle:"h12"},"dayperiod"),l=(p,h)=>r?sT(t,p):o(h?{month:p}:{month:p,day:"numeric"},"month"),c=(p,h)=>r?rT(t,p):o(h?{weekday:p}:{weekday:p,month:"long",day:"numeric"},"weekday"),d=p=>{const h=qt.macroTokenToFormatOpts(p);return h?this.formatWithSystemDefault(t,h):p},m=p=>r?oT(t,p):o({era:p},"era"),f=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 i({format:"narrow",allowZ:this.opts.allowZ});case"ZZ":return i({format:"short",allowZ:this.opts.allowZ});case"ZZZ":return i({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 a();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 m("short");case"GG":return m("long");case"GGGGG":return m("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"n":return this.num(t.localWeekNumber);case"nn":return this.num(t.localWeekNumber,2);case"ii":return this.num(t.localWeekYear.toString().slice(-2),2);case"iiii":return this.num(t.localWeekYear,4);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 Pp(qt.parseFormat(n),f)}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=qt.parseFormat(n),i=o.reduce((l,{literal:c,val:d})=>c?l:l.concat(d),[]),a=t.shiftTo(...i.map(r).filter(l=>l));return Pp(o,s(a))}}const $v=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function vo(...e){const t=e.reduce((n,r)=>n+r.source,"");return RegExp(`^${t}$`)}function bo(...e){return t=>e.reduce(([n,r,s],o)=>{const[i,a,l]=o(t,s);return[{...n,...i},a||r,l]},[{},null,1]).slice(0,2)}function zo(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 Av(...e){return(t,n)=>{const r={};let s;for(s=0;s<e.length;s++)r[e[s]]=Lr(t[n+s]);return[r,null,n+s]}}const Tv=/(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/,lT=`(?:${Tv.source}?(?:\\[(${$v.source})\\])?)?`,ym=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,Ov=RegExp(`${ym.source}${lT}`),vm=RegExp(`(?:T${Ov.source})?`),uT=/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,cT=/(\d{4})-?W(\d\d)(?:-?(\d))?/,dT=/(\d{4})-?(\d{3})/,mT=Av("weekYear","weekNumber","weekDay"),fT=Av("year","ordinal"),pT=/(\d{4})-(\d\d)-(\d\d)/,Dv=RegExp(`${ym.source} ?(?:${Tv.source}|(${$v.source}))?`),hT=RegExp(`(?: ${Dv.source})?`);function Qs(e,t,n){const r=e[t];return Le(r)?n:Lr(r)}function _T(e,t){return[{year:Qs(e,t),month:Qs(e,t+1,1),day:Qs(e,t+2,1)},null,t+3]}function Co(e,t){return[{hours:Qs(e,t,0),minutes:Qs(e,t+1,0),seconds:Qs(e,t+2,0),milliseconds:_m(e[t+3])},null,t+4]}function Ii(e,t){const n=!e[t]&&!e[t+1],r=au(e[t+1],e[t+2]),s=n?null:Jt.instance(r);return[{},s,t+3]}function Fi(e,t){const n=e[t]?vr.create(e[t]):null;return[{},n,t+1]}const gT=RegExp(`^T?${ym.source}$`),yT=/^-?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 vT(e){const[t,n,r,s,o,i,a,l,c]=e,d=t[0]==="-",m=l&&l[0]==="-",f=(p,h=!1)=>p!==void 0&&(h||p&&d)?-p:p;return[{years:f(ns(n)),months:f(ns(r)),weeks:f(ns(s)),days:f(ns(o)),hours:f(ns(i)),minutes:f(ns(a)),seconds:f(ns(l),l==="-0"),milliseconds:f(_m(c),m)}]}const bT={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 bm(e,t,n,r,s,o,i){const a={year:t.length===2?Xc(Lr(t)):Lr(t),month:zv.indexOf(n)+1,day:Lr(r),hour:Lr(s),minute:Lr(o)};return i&&(a.second=Lr(i)),e&&(a.weekday=e.length>3?wv.indexOf(e)+1:kv.indexOf(e)+1),a}const zT=/^(?:(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 CT(e){const[,t,n,r,s,o,i,a,l,c,d,m]=e,f=bm(t,s,r,n,o,i,a);let p;return l?p=bT[l]:c?p=0:p=au(d,m),[f,new Jt(p)]}function wT(e){return e.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}const kT=/^(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$/,xT=/^(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$/,ET=/^(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 Ip(e){const[,t,n,r,s,o,i,a]=e;return[bm(t,s,r,n,o,i,a),Jt.utcInstance]}function ST(e){const[,t,n,r,s,o,i,a]=e;return[bm(t,a,n,r,s,o,i),Jt.utcInstance]}const $T=vo(uT,vm),AT=vo(cT,vm),TT=vo(dT,vm),OT=vo(Ov),Pv=bo(_T,Co,Ii,Fi),DT=bo(mT,Co,Ii,Fi),PT=bo(fT,Co,Ii,Fi),IT=bo(Co,Ii,Fi);function FT(e){return zo(e,[$T,Pv],[AT,DT],[TT,PT],[OT,IT])}function RT(e){return zo(wT(e),[zT,CT])}function LT(e){return zo(e,[kT,Ip],[xT,Ip],[ET,ST])}function NT(e){return zo(e,[yT,vT])}const MT=bo(Co);function VT(e){return zo(e,[gT,MT])}const HT=vo(pT,hT),UT=vo(Dv),BT=bo(Co,Ii,Fi);function jT(e){return zo(e,[HT,Pv],[UT,BT])}const Fp="Invalid Duration",Iv={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}},qT={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},...Iv},kn=146097/400,Ts=146097/4800,WT={years:{quarters:4,months:12,weeks:kn/7,days:kn,hours:kn*24,minutes:kn*24*60,seconds:kn*24*60*60,milliseconds:kn*24*60*60*1e3},quarters:{months:3,weeks:kn/28,days:kn/4,hours:kn*24/4,minutes:kn*24*60/4,seconds:kn*24*60*60/4,milliseconds:kn*24*60*60*1e3/4},months:{weeks:Ts/7,days:Ts,hours:Ts*24,minutes:Ts*24*60,seconds:Ts*24*60*60,milliseconds:Ts*24*60*60*1e3},...Iv},us=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],GT=us.slice(0).reverse();function Ar(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 qe(r)}function Fv(e,t){let n=t.milliseconds??0;for(const r of GT.slice(1))t[r]&&(n+=t[r]*e[r].milliseconds);return n}function Rp(e,t){const n=Fv(e,t)<0?-1:1;us.reduceRight((r,s)=>{if(Le(t[s]))return r;if(r){const o=t[r]*n,i=e[s][r],a=Math.floor(o/i);t[s]+=a*n,t[r]-=a*i*n}return s},null),us.reduce((r,s)=>{if(Le(t[s]))return r;if(r){const o=t[r]%1;t[r]-=o,t[s]+=o*e[r][s]}return s},null)}function KT(e){const t={};for(const[n,r]of Object.entries(e))r!==0&&(t[n]=r);return t}class qe{constructor(t){const n=t.conversionAccuracy==="longterm"||!1;let r=n?WT:qT;t.matrix&&(r=t.matrix),this.values=t.values,this.loc=t.loc||mt.create(),this.conversionAccuracy=n?"longterm":"casual",this.invalid=t.invalid||null,this.matrix=r,this.isLuxonDuration=!0}static fromMillis(t,n){return qe.fromObject({milliseconds:t},n)}static fromObject(t,n={}){if(t==null||typeof t!="object")throw new on(`Duration.fromObject: argument expected to be an object, got ${t===null?"null":typeof t}`);return new qe({values:zl(t,qe.normalizeUnit),loc:mt.fromObject(n),conversionAccuracy:n.conversionAccuracy,matrix:n.matrix})}static fromDurationLike(t){if(hs(t))return qe.fromMillis(t);if(qe.isDuration(t))return t;if(typeof t=="object")return qe.fromObject(t);throw new on(`Unknown duration argument ${t} of type ${typeof t}`)}static fromISO(t,n){const[r]=NT(t);return r?qe.fromObject(r,n):qe.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static fromISOTime(t,n){const[r]=VT(t);return r?qe.fromObject(r,n):qe.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static invalid(t,n=null){if(!t)throw new on("need to specify a reason the Duration is invalid");const r=t instanceof Bn?t:new Bn(t,n);if(Tt.throwOnInvalid)throw new zA(r);return new qe({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 qy(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?qt.create(this.loc,r).formatDurationFromString(this,t):Fp}toHuman(t={}){if(!this.isValid)return Fp;const n=us.map(r=>{const s=this.values[r];return Le(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+=gm(this.seconds+this.milliseconds/1e3,3)+"S"),t==="P"&&(t+="T0S"),t}toISOTime(t={}){if(!this.isValid)return null;const n=this.toMillis();return n<0||n>=864e5?null:(t={suppressMilliseconds:!1,suppressSeconds:!1,includePrefix:!1,format:"extended",...t,includeOffset:!1},Pe.fromMillis(n,{zone:"UTC"}).toISOTime(t))}toJSON(){return this.toISO()}toString(){return this.toISO()}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Duration { values: ${JSON.stringify(this.values)} }`:`Duration { Invalid, reason: ${this.invalidReason} }`}toMillis(){return this.isValid?Fv(this.matrix,this.values):NaN}valueOf(){return this.toMillis()}plus(t){if(!this.isValid)return this;const n=qe.fromDurationLike(t),r={};for(const s of us)(lo(n.values,s)||lo(this.values,s))&&(r[s]=n.get(s)+this.get(s));return Ar(this,{values:r},!0)}minus(t){if(!this.isValid)return this;const n=qe.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]=bv(t(this.values[r],r));return Ar(this,{values:n},!0)}get(t){return this[qe.normalizeUnit(t)]}set(t){if(!this.isValid)return this;const n={...this.values,...zl(t,qe.normalizeUnit)};return Ar(this,{values:n})}reconfigure({locale:t,numberingSystem:n,conversionAccuracy:r,matrix:s}={}){const i={loc:this.loc.clone({locale:t,numberingSystem:n}),matrix:s,conversionAccuracy:r};return Ar(this,i)}as(t){return this.isValid?this.shiftTo(t).get(t):NaN}normalize(){if(!this.isValid)return this;const t=this.toObject();return Rp(this.matrix,t),Ar(this,{values:t},!0)}rescale(){if(!this.isValid)return this;const t=KT(this.normalize().shiftToAll().toObject());return Ar(this,{values:t},!0)}shiftTo(...t){if(!this.isValid)return this;if(t.length===0)return this;t=t.map(i=>qe.normalizeUnit(i));const n={},r={},s=this.toObject();let o;for(const i of us)if(t.indexOf(i)>=0){o=i;let a=0;for(const c in r)a+=this.matrix[c][i]*r[c],r[c]=0;hs(s[i])&&(a+=s[i]);const l=Math.trunc(a);n[i]=l,r[i]=(a*1e3-l*1e3)/1e3}else hs(s[i])&&(r[i]=s[i]);for(const i in r)r[i]!==0&&(n[o]+=i===o?r[i]:r[i]/this.matrix[o][i]);return Rp(this.matrix,n),Ar(this,{values:n},!0)}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 Ar(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 us)if(!n(this.values[r],t.values[r]))return!1;return!0}}const Os="Invalid Interval";function ZT(e,t){return!e||!e.isValid?Et.invalid("missing or invalid start"):!t||!t.isValid?Et.invalid("missing or invalid end"):t<e?Et.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 Et{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 on("need to specify a reason the Interval is invalid");const r=t instanceof Bn?t:new Bn(t,n);if(Tt.throwOnInvalid)throw new bA(r);return new Et({invalid:r})}static fromDateTimes(t,n){const r=Ao(t),s=Ao(n),o=ZT(r,s);return o??new Et({start:r,end:s})}static after(t,n){const r=qe.fromDurationLike(n),s=Ao(t);return Et.fromDateTimes(s,s.plus(r))}static before(t,n){const r=qe.fromDurationLike(n),s=Ao(t);return Et.fromDateTimes(s.minus(r),s)}static fromISO(t,n){const[r,s]=(t||"").split("/",2);if(r&&s){let o,i;try{o=Pe.fromISO(r,n),i=o.isValid}catch{i=!1}let a,l;try{a=Pe.fromISO(s,n),l=a.isValid}catch{l=!1}if(i&&l)return Et.fromDateTimes(o,a);if(i){const c=qe.fromISO(s,n);if(c.isValid)return Et.after(o,c)}else if(l){const c=qe.fromISO(r,n);if(c.isValid)return Et.before(a,c)}}return Et.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",n){if(!this.isValid)return NaN;const r=this.start.startOf(t,n);let s;return n!=null&&n.useLocaleWeeks?s=this.end.reconfigure({locale:r.locale}):s=this.end,s=s.startOf(t,n),Math.floor(s.diff(r,t).get(t))+(s.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?Et.fromDateTimes(t||this.s,n||this.e):this}splitAt(...t){if(!this.isValid)return[];const n=t.map(Ao).filter(i=>this.contains(i)).sort((i,a)=>i.toMillis()-a.toMillis()),r=[];let{s}=this,o=0;for(;s<this.e;){const i=n[o]||this.e,a=+i>+this.e?this.e:i;r.push(Et.fromDateTimes(s,a)),s=a,o+=1}return r}splitBy(t){const n=qe.fromDurationLike(t);if(!this.isValid||!n.isValid||n.as("milliseconds")===0)return[];let{s:r}=this,s=1,o;const i=[];for(;r<this.e;){const a=this.start.plus(n.mapUnits(l=>l*s));o=+a>+this.e?this.e:a,i.push(Et.fromDateTimes(r,o)),r=o,s+=1}return i}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:Et.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 Et.fromDateTimes(n,r)}static merge(t){const[n,r]=t.sort((s,o)=>s.s-o.s).reduce(([s,o],i)=>o?o.overlaps(i)||o.abutsStart(i)?[s,o.union(i)]:[s.concat([o]),i]:[s,i],[[],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"}]),i=Array.prototype.concat(...o),a=i.sort((l,c)=>l.time-c.time);for(const l of a)r+=l.type==="s"?1:-1,r===1?n=l.time:(n&&+n!=+l.time&&s.push(Et.fromDateTimes(n,l.time)),n=null);return Et.merge(s)}difference(...t){return Et.xor([this].concat(t)).map(n=>this.intersection(n)).filter(n=>n&&!n.isEmpty())}toString(){return this.isValid?`[${this.s.toISO()} ${this.e.toISO()})`:Os}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Interval { start: ${this.s.toISO()}, end: ${this.e.toISO()} }`:`Interval { Invalid, reason: ${this.invalidReason} }`}toLocaleString(t=yl,n={}){return this.isValid?qt.create(this.s.loc.clone(n),t).formatInterval(this):Os}toISO(t){return this.isValid?`${this.s.toISO(t)}/${this.e.toISO(t)}`:Os}toISODate(){return this.isValid?`${this.s.toISODate()}/${this.e.toISODate()}`:Os}toISOTime(t){return this.isValid?`${this.s.toISOTime(t)}/${this.e.toISOTime(t)}`:Os}toFormat(t,{separator:n=" "}={}){return this.isValid?`${this.s.toFormat(t)}${n}${this.e.toFormat(t)}`:Os}toDuration(t,n){return this.isValid?this.e.diff(this.s,t,n):qe.invalid(this.invalidReason)}mapEndpoints(t){return Et.fromDateTimes(t(this.s),t(this.e))}}class ta{static hasDST(t=Tt.defaultZone){const n=Pe.now().setZone(t).set({month:12});return!t.isUniversal&&n.offset!==n.set({month:6}).offset}static isValidIANAZone(t){return vr.isValidZone(t)}static normalizeZone(t){return Vr(t,Tt.defaultZone)}static getStartOfWeek({locale:t=null,locObj:n=null}={}){return(n||mt.create(t)).getStartOfWeek()}static getMinimumDaysInFirstWeek({locale:t=null,locObj:n=null}={}){return(n||mt.create(t)).getMinDaysInFirstWeek()}static getWeekendWeekdays({locale:t=null,locObj:n=null}={}){return(n||mt.create(t)).getWeekendDays().slice()}static months(t="long",{locale:n=null,numberingSystem:r=null,locObj:s=null,outputCalendar:o="gregory"}={}){return(s||mt.create(n,r,o)).months(t)}static monthsFormat(t="long",{locale:n=null,numberingSystem:r=null,locObj:s=null,outputCalendar:o="gregory"}={}){return(s||mt.create(n,r,o)).months(t,!0)}static weekdays(t="long",{locale:n=null,numberingSystem:r=null,locObj:s=null}={}){return(s||mt.create(n,r,null)).weekdays(t)}static weekdaysFormat(t="long",{locale:n=null,numberingSystem:r=null,locObj:s=null}={}){return(s||mt.create(n,r,null)).weekdays(t,!0)}static meridiems({locale:t=null}={}){return mt.create(t).meridiems()}static eras(t="short",{locale:n=null}={}){return mt.create(n,null,"gregory").eras(t)}static features(){return{relative:gv(),localeWeek:yv()}}}function Lp(e,t){const n=s=>s.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf(),r=n(t)-n(e);return Math.floor(qe.fromMillis(r).as("days"))}function YT(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=Lp(l,c);return(d-d%7)/7}],["days",Lp]],s={},o=e;let i,a;for(const[l,c]of r)n.indexOf(l)>=0&&(i=l,s[l]=c(e,t),a=o.plus(s),a>t?(s[l]--,e=o.plus(s),e>t&&(a=e,s[l]--,e=o.plus(s))):e=a);return[e,s,a,i]}function JT(e,t,n,r){let[s,o,i,a]=YT(e,t,n);const l=t-s,c=n.filter(m=>["hours","minutes","seconds","milliseconds"].indexOf(m)>=0);c.length===0&&(i<t&&(i=s.plus({[a]:1})),i!==s&&(o[a]=(o[a]||0)+l/(i-s)));const d=qe.fromObject(o,r);return c.length>0?qe.fromMillis(l,r).shiftTo(...c).plus(d):d}const zm={arab:"[٠-٩]",arabext:"[۰-۹]",bali:"[᭐-᭙]",beng:"[-৯]",deva:"[-९]",fullwide:"[-]",gujr:"[-૯]",hanidec:"[|一|二|三|四|五|六|七|八|九]",khmr:"[០-៩]",knda:"[-೯]",laoo:"[-໙]",limb:"[᥆-᥏]",mlym:"[-൯]",mong:"[᠐-᠙]",mymr:"[-၉]",orya:"[-୯]",tamldec:"[-௯]",telu:"[-౯]",thai:"[-๙]",tibt:"[༠-༩]",latn:"\\d"},Np={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]},XT=zm.hanidec.replace(/[\[|\]]/g,"").split("");function QT(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(zm.hanidec)!==-1)t+=XT.indexOf(e[n]);else for(const s in Np){const[o,i]=Np[s];r>=o&&r<=i&&(t+=r-o)}}return parseInt(t,10)}else return t}function Ln({numberingSystem:e},t=""){return new RegExp(`${zm[e||"latn"]}${t}`)}const e8="missing Intl.DateTimeFormat.formatToParts support";function ot(e,t=n=>n){return{regex:e,deser:([n])=>t(QT(n))}}const t8=" ",Rv=`[ ${t8}]`,Lv=new RegExp(Rv,"g");function n8(e){return e.replace(/\./g,"\\.?").replace(Lv,Rv)}function Mp(e){return e.replace(/\./g,"").replace(Lv," ").toLowerCase()}function Nn(e,t){return e===null?null:{regex:RegExp(e.map(n8).join("|")),deser:([n])=>e.findIndex(r=>Mp(n)===Mp(r))+t}}function Vp(e,t){return{regex:e,deser:([,n,r])=>au(n,r),groups:t}}function na(e){return{regex:e,deser:([t])=>t}}function r8(e){return e.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")}function s8(e,t){const n=Ln(t),r=Ln(t,"{2}"),s=Ln(t,"{3}"),o=Ln(t,"{4}"),i=Ln(t,"{6}"),a=Ln(t,"{1,2}"),l=Ln(t,"{1,3}"),c=Ln(t,"{1,6}"),d=Ln(t,"{1,9}"),m=Ln(t,"{2,4}"),f=Ln(t,"{4,6}"),p=b=>({regex:RegExp(r8(b.val)),deser:([C])=>C,literal:!0}),_=(b=>{if(e.literal)return p(b);switch(b.val){case"G":return Nn(t.eras("short"),0);case"GG":return Nn(t.eras("long"),0);case"y":return ot(c);case"yy":return ot(m,Xc);case"yyyy":return ot(o);case"yyyyy":return ot(f);case"yyyyyy":return ot(i);case"M":return ot(a);case"MM":return ot(r);case"MMM":return Nn(t.months("short",!0),1);case"MMMM":return Nn(t.months("long",!0),1);case"L":return ot(a);case"LL":return ot(r);case"LLL":return Nn(t.months("short",!1),1);case"LLLL":return Nn(t.months("long",!1),1);case"d":return ot(a);case"dd":return ot(r);case"o":return ot(l);case"ooo":return ot(s);case"HH":return ot(r);case"H":return ot(a);case"hh":return ot(r);case"h":return ot(a);case"mm":return ot(r);case"m":return ot(a);case"q":return ot(a);case"qq":return ot(r);case"s":return ot(a);case"ss":return ot(r);case"S":return ot(l);case"SSS":return ot(s);case"u":return na(d);case"uu":return na(a);case"uuu":return ot(n);case"a":return Nn(t.meridiems(),0);case"kkkk":return ot(o);case"kk":return ot(m,Xc);case"W":return ot(a);case"WW":return ot(r);case"E":case"c":return ot(n);case"EEE":return Nn(t.weekdays("short",!1),1);case"EEEE":return Nn(t.weekdays("long",!1),1);case"ccc":return Nn(t.weekdays("short",!0),1);case"cccc":return Nn(t.weekdays("long",!0),1);case"Z":case"ZZ":return Vp(new RegExp(`([+-]${a.source})(?::(${r.source}))?`),2);case"ZZZ":return Vp(new RegExp(`([+-]${a.source})(${r.source})?`),2);case"z":return na(/[a-z_+-/]{1,256}?/i);case" ":return na(/[^\S\n\r]/);default:return p(b)}})(e)||{invalidReason:e8};return _.token=e,_}const o8={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",hour12:{numeric:"h","2-digit":"hh"},hour24:{numeric:"H","2-digit":"HH"},minute:{numeric:"m","2-digit":"mm"},second:{numeric:"s","2-digit":"ss"},timeZoneName:{long:"ZZZZZ",short:"ZZZ"}};function i8(e,t,n){const{type:r,value:s}=e;if(r==="literal"){const l=/^\s+$/.test(s);return{literal:!l,val:l?" ":s}}const o=t[r];let i=r;r==="hour"&&(t.hour12!=null?i=t.hour12?"hour12":"hour24":t.hourCycle!=null?t.hourCycle==="h11"||t.hourCycle==="h12"?i="hour12":i="hour24":i=n.hour12?"hour12":"hour24");let a=o8[i];if(typeof a=="object"&&(a=a[o]),a)return{literal:!1,val:a}}function a8(e){return[`^${e.map(n=>n.regex).reduce((n,r)=>`${n}(${r.source})`,"")}$`,e]}function l8(e,t,n){const r=e.match(t);if(r){const s={};let o=1;for(const i in n)if(lo(n,i)){const a=n[i],l=a.groups?a.groups+1:1;!a.literal&&a.token&&(s[a.token.val[0]]=a.deser(r.slice(o,o+l))),o+=l}return[r,s]}else return[r,{}]}function u8(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 Le(e.z)||(n=vr.create(e.z)),Le(e.Z)||(n||(n=new Jt(e.Z)),r=e.Z),Le(e.q)||(e.M=(e.q-1)*3+1),Le(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),Le(e.u)||(e.S=_m(e.u)),[Object.keys(e).reduce((o,i)=>{const a=t(i);return a&&(o[a]=e[i]),o},{}),n,r]}let Nu=null;function c8(){return Nu||(Nu=Pe.fromMillis(1555555555555)),Nu}function d8(e,t){if(e.literal)return e;const n=qt.macroTokenToFormatOpts(e.val),r=Vv(n,t);return r==null||r.includes(void 0)?e:r}function Nv(e,t){return Array.prototype.concat(...e.map(n=>d8(n,t)))}function Mv(e,t,n){const r=Nv(qt.parseFormat(n),e),s=r.map(i=>s8(i,e)),o=s.find(i=>i.invalidReason);if(o)return{input:t,tokens:r,invalidReason:o.invalidReason};{const[i,a]=a8(s),l=RegExp(i,"i"),[c,d]=l8(t,l,a),[m,f,p]=d?u8(d):[null,null,void 0];if(lo(d,"a")&&lo(d,"H"))throw new Us("Can't include meridiem when specifying 24-hour format");return{input:t,tokens:r,regex:l,rawMatches:c,matches:d,result:m,zone:f,specificOffset:p}}}function m8(e,t,n){const{result:r,zone:s,specificOffset:o,invalidReason:i}=Mv(e,t,n);return[r,s,o,i]}function Vv(e,t){if(!e)return null;const r=qt.create(t,e).dtFormatter(c8()),s=r.formatToParts(),o=r.resolvedOptions();return s.map(i=>i8(i,e,o))}const Mu="Invalid DateTime",Hp=864e13;function ra(e){return new Bn("unsupported zone",`the zone "${e.name}" is not supported`)}function Vu(e){return e.weekData===null&&(e.weekData=vl(e.c)),e.weekData}function Hu(e){return e.localWeekData===null&&(e.localWeekData=vl(e.c,e.loc.getMinDaysInFirstWeek(),e.loc.getStartOfWeek())),e.localWeekData}function rs(e,t){const n={ts:e.ts,zone:e.zone,c:e.c,o:e.o,loc:e.loc,invalid:e.invalid};return new Pe({...n,...t,old:n})}function Hv(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 sa(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 Ya(e,t,n){return Hv(iu(e),t,n)}function Up(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,bl(r,s))+Math.trunc(t.days)+Math.trunc(t.weeks)*7},i=qe.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"),a=iu(o);let[l,c]=Hv(a,n,e.zone);return i!==0&&(l+=i,c=e.zone.offset(l)),{ts:l,o:c}}function $o(e,t,n,r,s,o){const{setZone:i,zone:a}=n;if(e&&Object.keys(e).length!==0||t){const l=t||a,c=Pe.fromObject(e,{...n,zone:l,specificOffset:o});return i?c:c.setZone(a)}else return Pe.invalid(new Bn("unparsable",`the input "${s}" can't be parsed as ${r}`))}function oa(e,t,n=!0){return e.isValid?qt.create(mt.create("en-US"),{allowZ:n,forceSimple:!0}).formatDateTimeFromString(e,t):null}function Uu(e,t){const n=e.c.year>9999||e.c.year<0;let r="";return n&&e.c.year>=0&&(r+="+"),r+=Dt(e.c.year,n?6:4),t?(r+="-",r+=Dt(e.c.month),r+="-",r+=Dt(e.c.day)):(r+=Dt(e.c.month),r+=Dt(e.c.day)),r}function Bp(e,t,n,r,s,o){let i=Dt(e.c.hour);return t?(i+=":",i+=Dt(e.c.minute),(e.c.millisecond!==0||e.c.second!==0||!n)&&(i+=":")):i+=Dt(e.c.minute),(e.c.millisecond!==0||e.c.second!==0||!n)&&(i+=Dt(e.c.second),(e.c.millisecond!==0||!r)&&(i+=".",i+=Dt(e.c.millisecond,3))),s&&(e.isOffsetFixed&&e.offset===0&&!o?i+="Z":e.o<0?(i+="-",i+=Dt(Math.trunc(-e.o/60)),i+=":",i+=Dt(Math.trunc(-e.o%60))):(i+="+",i+=Dt(Math.trunc(e.o/60)),i+=":",i+=Dt(Math.trunc(e.o%60)))),o&&(i+="["+e.zone.ianaName+"]"),i}const Uv={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},f8={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},p8={ordinal:1,hour:0,minute:0,second:0,millisecond:0},Bv=["year","month","day","hour","minute","second","millisecond"],h8=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],_8=["year","ordinal","hour","minute","second","millisecond"];function g8(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 qy(e);return t}function jp(e){switch(e.toLowerCase()){case"localweekday":case"localweekdays":return"localWeekday";case"localweeknumber":case"localweeknumbers":return"localWeekNumber";case"localweekyear":case"localweekyears":return"localWeekYear";default:return g8(e)}}function qp(e,t){const n=Vr(t.zone,Tt.defaultZone),r=mt.fromObject(t),s=Tt.now();let o,i;if(Le(e.year))o=s;else{for(const c of Bv)Le(e[c])&&(e[c]=Uv[c]);const a=hv(e)||_v(e);if(a)return Pe.invalid(a);const l=n.offset(s);[o,i]=Ya(e,l,n)}return new Pe({ts:o,zone:n,loc:r,o:i})}function Wp(e,t,n){const r=Le(n.round)?!0:n.round,s=(i,a)=>(i=gm(i,r||n.calendary?0:2,!0),t.loc.clone(n).relFormatter(n).format(i,a)),o=i=>n.calendary?t.hasSame(e,i)?0:t.startOf(i).diff(e.startOf(i),i).get(i):t.diff(e,i).get(i);if(n.unit)return s(o(n.unit),n.unit);for(const i of n.units){const a=o(i);if(Math.abs(a)>=1)return s(a,i)}return s(e>t?-0:0,n.units[n.units.length-1])}function Gp(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 Pe{constructor(t){const n=t.zone||Tt.defaultZone;let r=t.invalid||(Number.isNaN(t.ts)?new Bn("invalid input"):null)||(n.isValid?null:ra(n));this.ts=Le(t.ts)?Tt.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 a=n.offset(this.ts);s=sa(this.ts,a),r=Number.isNaN(s.year)?new Bn("invalid input"):null,s=r?null:s,o=r?null:a}this._zone=n,this.loc=t.loc||mt.create(),this.invalid=r,this.weekData=null,this.localWeekData=null,this.c=s,this.o=o,this.isLuxonDateTime=!0}static now(){return new Pe({})}static local(){const[t,n]=Gp(arguments),[r,s,o,i,a,l,c]=n;return qp({year:r,month:s,day:o,hour:i,minute:a,second:l,millisecond:c},t)}static utc(){const[t,n]=Gp(arguments),[r,s,o,i,a,l,c]=n;return t.zone=Jt.utcInstance,qp({year:r,month:s,day:o,hour:i,minute:a,second:l,millisecond:c},t)}static fromJSDate(t,n={}){const r=WA(t)?t.valueOf():NaN;if(Number.isNaN(r))return Pe.invalid("invalid input");const s=Vr(n.zone,Tt.defaultZone);return s.isValid?new Pe({ts:r,zone:s,loc:mt.fromObject(n)}):Pe.invalid(ra(s))}static fromMillis(t,n={}){if(hs(t))return t<-Hp||t>Hp?Pe.invalid("Timestamp out of range"):new Pe({ts:t,zone:Vr(n.zone,Tt.defaultZone),loc:mt.fromObject(n)});throw new on(`fromMillis requires a numerical input, but received a ${typeof t} with value ${t}`)}static fromSeconds(t,n={}){if(hs(t))return new Pe({ts:t*1e3,zone:Vr(n.zone,Tt.defaultZone),loc:mt.fromObject(n)});throw new on("fromSeconds requires a numerical input")}static fromObject(t,n={}){t=t||{};const r=Vr(n.zone,Tt.defaultZone);if(!r.isValid)return Pe.invalid(ra(r));const s=mt.fromObject(n),o=zl(t,jp),{minDaysInFirstWeek:i,startOfWeek:a}=Tp(o,s),l=Tt.now(),c=Le(n.specificOffset)?r.offset(l):n.specificOffset,d=!Le(o.ordinal),m=!Le(o.year),f=!Le(o.month)||!Le(o.day),p=m||f,h=o.weekYear||o.weekNumber;if((p||d)&&h)throw new Us("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(f&&d)throw new Us("Can't mix ordinal dates with month/day");const _=h||o.weekday&&!p;let b,C,w=sa(l,c);_?(b=h8,C=f8,w=vl(w,i,a)):d?(b=_8,C=p8,w=Lu(w)):(b=Bv,C=Uv);let v=!1;for(const L of b){const Z=o[L];Le(Z)?v?o[L]=C[L]:o[L]=w[L]:v=!0}const z=_?BA(o,i,a):d?jA(o):hv(o),S=z||_v(o);if(S)return Pe.invalid(S);const x=_?$p(o,i,a):d?Ap(o):o,[N,D]=Ya(x,c,r),P=new Pe({ts:N,zone:r,o:D,loc:s});return o.weekday&&p&&t.weekday!==P.weekday?Pe.invalid("mismatched weekday",`you can't specify both a weekday of ${o.weekday} and a date of ${P.toISO()}`):P}static fromISO(t,n={}){const[r,s]=FT(t);return $o(r,s,n,"ISO 8601",t)}static fromRFC2822(t,n={}){const[r,s]=RT(t);return $o(r,s,n,"RFC 2822",t)}static fromHTTP(t,n={}){const[r,s]=LT(t);return $o(r,s,n,"HTTP",n)}static fromFormat(t,n,r={}){if(Le(t)||Le(n))throw new on("fromFormat requires an input string and a format");const{locale:s=null,numberingSystem:o=null}=r,i=mt.fromOpts({locale:s,numberingSystem:o,defaultToEN:!0}),[a,l,c,d]=m8(i,t,n);return d?Pe.invalid(d):$o(a,l,r,`format ${n}`,t,c)}static fromString(t,n,r={}){return Pe.fromFormat(t,n,r)}static fromSQL(t,n={}){const[r,s]=jT(t);return $o(r,s,n,"SQL",t)}static invalid(t,n=null){if(!t)throw new on("need to specify a reason the DateTime is invalid");const r=t instanceof Bn?t:new Bn(t,n);if(Tt.throwOnInvalid)throw new vA(r);return new Pe({invalid:r})}static isDateTime(t){return t&&t.isLuxonDateTime||!1}static parseFormatForOpts(t,n={}){const r=Vv(t,mt.fromObject(n));return r?r.map(s=>s?s.val:null).join(""):null}static expandFormat(t,n={}){return Nv(qt.parseFormat(t),mt.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?Vu(this).weekYear:NaN}get weekNumber(){return this.isValid?Vu(this).weekNumber:NaN}get weekday(){return this.isValid?Vu(this).weekday:NaN}get isWeekend(){return this.isValid&&this.loc.getWeekendDays().includes(this.weekday)}get localWeekday(){return this.isValid?Hu(this).weekday:NaN}get localWeekNumber(){return this.isValid?Hu(this).weekNumber:NaN}get localWeekYear(){return this.isValid?Hu(this).weekYear:NaN}get ordinal(){return this.isValid?Lu(this.c).ordinal:NaN}get monthShort(){return this.isValid?ta.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?ta.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?ta.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?ta.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}getPossibleOffsets(){if(!this.isValid||this.isOffsetFixed)return[this];const t=864e5,n=6e4,r=iu(this.c),s=this.zone.offset(r-t),o=this.zone.offset(r+t),i=this.zone.offset(r-s*n),a=this.zone.offset(r-o*n);if(i===a)return[this];const l=r-i*n,c=r-a*n,d=sa(l,i),m=sa(c,a);return d.hour===m.hour&&d.minute===m.minute&&d.second===m.second&&d.millisecond===m.millisecond?[rs(this,{ts:l}),rs(this,{ts:c})]:[this]}get isInLeapYear(){return Pi(this.year)}get daysInMonth(){return bl(this.year,this.month)}get daysInYear(){return this.isValid?Xs(this.year):NaN}get weeksInWeekYear(){return this.isValid?gi(this.weekYear):NaN}get weeksInLocalWeekYear(){return this.isValid?gi(this.localWeekYear,this.loc.getMinDaysInFirstWeek(),this.loc.getStartOfWeek()):NaN}resolvedLocaleOptions(t={}){const{locale:n,numberingSystem:r,calendar:s}=qt.create(this.loc.clone(t),t).resolvedOptions(this);return{locale:n,numberingSystem:r,outputCalendar:s}}toUTC(t=0,n={}){return this.setZone(Jt.instance(t),n)}toLocal(){return this.setZone(Tt.defaultZone)}setZone(t,{keepLocalTime:n=!1,keepCalendarTime:r=!1}={}){if(t=Vr(t,Tt.defaultZone),t.equals(this.zone))return this;if(t.isValid){let s=this.ts;if(n||r){const o=t.offset(this.ts),i=this.toObject();[s]=Ya(i,o,t)}return rs(this,{ts:s,zone:t})}else return Pe.invalid(ra(t))}reconfigure({locale:t,numberingSystem:n,outputCalendar:r}={}){const s=this.loc.clone({locale:t,numberingSystem:n,outputCalendar:r});return rs(this,{loc:s})}setLocale(t){return this.reconfigure({locale:t})}set(t){if(!this.isValid)return this;const n=zl(t,jp),{minDaysInFirstWeek:r,startOfWeek:s}=Tp(n,this.loc),o=!Le(n.weekYear)||!Le(n.weekNumber)||!Le(n.weekday),i=!Le(n.ordinal),a=!Le(n.year),l=!Le(n.month)||!Le(n.day),c=a||l,d=n.weekYear||n.weekNumber;if((c||i)&&d)throw new Us("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(l&&i)throw new Us("Can't mix ordinal dates with month/day");let m;o?m=$p({...vl(this.c,r,s),...n},r,s):Le(n.ordinal)?(m={...this.toObject(),...n},Le(n.day)&&(m.day=Math.min(bl(m.year,m.month),m.day))):m=Ap({...Lu(this.c),...n});const[f,p]=Ya(m,this.o,this.zone);return rs(this,{ts:f,o:p})}plus(t){if(!this.isValid)return this;const n=qe.fromDurationLike(t);return rs(this,Up(this,n))}minus(t){if(!this.isValid)return this;const n=qe.fromDurationLike(t).negate();return rs(this,Up(this,n))}startOf(t,{useLocaleWeeks:n=!1}={}){if(!this.isValid)return this;const r={},s=qe.normalizeUnit(t);switch(s){case"years":r.month=1;case"quarters":case"months":r.day=1;case"weeks":case"days":r.hour=0;case"hours":r.minute=0;case"minutes":r.second=0;case"seconds":r.millisecond=0;break}if(s==="weeks")if(n){const o=this.loc.getStartOfWeek(),{weekday:i}=this;i<o&&(r.weekNumber=this.weekNumber-1),r.weekday=o}else r.weekday=1;if(s==="quarters"){const o=Math.ceil(this.month/3);r.month=(o-1)*3+1}return this.set(r)}endOf(t,n){return this.isValid?this.plus({[t]:1}).startOf(t,n).minus(1):this}toFormat(t,n={}){return this.isValid?qt.create(this.loc.redefaultToEN(n)).formatDateTimeFromString(this,t):Mu}toLocaleString(t=yl,n={}){return this.isValid?qt.create(this.loc.clone(n),t).formatDateTime(this):Mu}toLocaleParts(t={}){return this.isValid?qt.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 i=t==="extended";let a=Uu(this,i);return a+="T",a+=Bp(this,i,n,r,s,o),a}toISODate({format:t="extended"}={}){return this.isValid?Uu(this,t==="extended"):null}toISOWeekDate(){return oa(this,"kkkk-'W'WW-c")}toISOTime({suppressMilliseconds:t=!1,suppressSeconds:n=!1,includeOffset:r=!0,includePrefix:s=!1,extendedZone:o=!1,format:i="extended"}={}){return this.isValid?(s?"T":"")+Bp(this,i==="extended",n,t,r,o):null}toRFC2822(){return oa(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)}toHTTP(){return oa(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")}toSQLDate(){return this.isValid?Uu(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")),oa(this,s,!0)}toSQL(t={}){return this.isValid?`${this.toSQLDate()} ${this.toSQLTime(t)}`:null}toString(){return this.isValid?this.toISO():Mu}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`DateTime { ts: ${this.toISO()}, zone: ${this.zone.name}, locale: ${this.locale} }`:`DateTime { Invalid, reason: ${this.invalidReason} }`}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 qe.invalid("created by diffing an invalid DateTime");const s={locale:this.locale,numberingSystem:this.numberingSystem,...r},o=GA(n).map(qe.normalizeUnit),i=t.valueOf()>this.valueOf(),a=i?this:t,l=i?t:this,c=JT(a,l,o,s);return i?c.negate():c}diffNow(t="milliseconds",n={}){return this.diff(Pe.now(),t,n)}until(t){return this.isValid?Et.fromDateTimes(this,t):this}hasSame(t,n,r){if(!this.isValid)return!1;const s=t.valueOf(),o=this.setZone(t.zone,{keepLocalTime:!0});return o.startOf(n,r)<=s&&s<=o.endOf(n,r)}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||Pe.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),Wp(n,this.plus(r),{...t,numeric:"always",units:s,unit:o})}toRelativeCalendar(t={}){return this.isValid?Wp(t.base||Pe.fromObject({},{zone:this.zone}),this,{...t,numeric:"auto",units:["years","months","days"],calendary:!0}):null}static min(...t){if(!t.every(Pe.isDateTime))throw new on("min requires all arguments be DateTimes");return Op(t,n=>n.valueOf(),Math.min)}static max(...t){if(!t.every(Pe.isDateTime))throw new on("max requires all arguments be DateTimes");return Op(t,n=>n.valueOf(),Math.max)}static fromFormatExplain(t,n,r={}){const{locale:s=null,numberingSystem:o=null}=r,i=mt.fromOpts({locale:s,numberingSystem:o,defaultToEN:!0});return Mv(i,t,n)}static fromStringExplain(t,n,r={}){return Pe.fromFormatExplain(t,n,r)}static get DATE_SHORT(){return yl}static get DATE_MED(){return Wy}static get DATE_MED_WITH_WEEKDAY(){return CA}static get DATE_FULL(){return Gy}static get DATE_HUGE(){return Ky}static get TIME_SIMPLE(){return Zy}static get TIME_WITH_SECONDS(){return Yy}static get TIME_WITH_SHORT_OFFSET(){return Jy}static get TIME_WITH_LONG_OFFSET(){return Xy}static get TIME_24_SIMPLE(){return Qy}static get TIME_24_WITH_SECONDS(){return ev}static get TIME_24_WITH_SHORT_OFFSET(){return tv}static get TIME_24_WITH_LONG_OFFSET(){return nv}static get DATETIME_SHORT(){return rv}static get DATETIME_SHORT_WITH_SECONDS(){return sv}static get DATETIME_MED(){return ov}static get DATETIME_MED_WITH_SECONDS(){return iv}static get DATETIME_MED_WITH_WEEKDAY(){return wA}static get DATETIME_FULL(){return av}static get DATETIME_FULL_WITH_SECONDS(){return lv}static get DATETIME_HUGE(){return uv}static get DATETIME_HUGE_WITH_SECONDS(){return cv}}function Ao(e){if(Pe.isDateTime(e))return e;if(e&&e.valueOf&&hs(e.valueOf()))return Pe.fromJSDate(e);if(e&&typeof e=="object")return Pe.fromObject(e);throw new on(`Unknown datetime argument: ${e}, of type ${typeof e}`)}const{t:Bu,locale:ju}=ru.global,y8={durationInHours(e){const t=e>=36e5?"h:mm:ss":"m:ss";return qe.fromMillis(e).toFormat(t)},durationInDays(e){const t=Math.floor(e/6e4);return t>1440?qe.fromObject({minutes:t}).shiftTo("days","hours","minutes").toHuman():t>60?qe.fromObject({minutes:t}).shiftTo("hours","minutes").toHuman():qe.fromObject({minutes:t}).shiftTo("minutes").toHuman()},date(e){return Pe.fromISO(e).setLocale(ju.value).toLocaleString(Pe.DATE_FULL)},datetime(e){return Pe.fromISO(e).setLocale(ju.value).toLocaleString(Pe.DATETIME_MED)},timeFromNow(e){const t=Pe.now().diff(Pe.fromISO(e));return this.durationInDays(t.as("milliseconds"))},number(e){return e.toLocaleString(ju.value)},channels(e){return e===1?Bu("filter.mono"):e===2?Bu("filter.stereo"):e?Bu("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`}},v8={mdiAccountMusic:cw,mdiAlbum:dw,mdiArrowCollapseDown:fw,mdiBookOpenPageVariant:pw,mdiBookOpenVariant:hw,mdiBookshelf:_w,mdiBroadcast:gw,mdiCancel:Kl,mdiCast:yw,mdiCastVariant:vw,mdiCellphone:bw,mdiCheck:zw,mdiChevronDown:Cw,mdiChevronUp:ww,mdiContentSave:kw,mdiDelete:xw,mdiDeleteEmpty:Ew,mdiDotsHorizontal:Sw,mdiDotsVertical:$w,mdiDragHorizontal:Aw,mdiFastForward30:Tw,mdiFileMusic:Ow,mdiFileOutline:Dw,mdiFire:Pw,mdiFolder:Iw,mdiFolderOpen:Fw,mdiHistory:Rw,mdiLoading:Lw,mdiMagnify:Nw,mdiMenu:Mw,mdiMicrophone:Vw,mdiMusic:Hw,mdiMusicBoxMultiple:Uw,mdiOpenInNew:Bw,mdiPause:jw,mdiPencil:qw,mdiPipe:Ww,mdiPlay:Gw,mdiPlaylistPlay:Kw,mdiPlaylistPlus:Zw,mdiRadio:Yw,mdiRadioTower:Jw,mdiRefresh:Xw,mdiRepeat:Qw,mdiRepeatOff:ek,mdiRepeatOnce:tk,mdiRewind10:nk,mdiRss:rk,mdiScriptTextOutline:sk,mdiScriptTextPlay:ok,mdiServer:ik,mdiShuffle:ak,mdiShuffleDisabled:lk,mdiSkipBackward:uk,mdiSkipForward:ck,mdiSpeaker:dk,mdiSpotify:mk,mdiStop:fk,mdiSubdirectoryArrowLeft:pk,mdiVolumeHigh:hk,mdiVolumeOff:_k,mdiWeb:gk},b8={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}},z8=e=>e.charAt(0).toUpperCase()+e.slice(1),C8=e=>e.split("-").map(z8).join(""),w8=(e,t,n)=>{const r=e[`mdi${C8(t.name)}`]||mw,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}}},k8=(e,t)=>({[t.staticClass||""]:!0,[t.class||""]:!0,[`mdi mdi-${e.name}`]:!0,"mdi-spin":e.spin===!0}),x8=(e,t={})=>({install(n,{icons:r}){if(r===void 0)throw new Error("Icons must be provided separately");n.component("mdicon",{name:"MDIcon",props:b8,...t,render:e(r)})}}),E8=e=>function(){const{spanAttrs:n,svgAttrs:r,pathAttrs:s}=w8(e,this,this.$attrs);return tr("span",{...n,class:k8(this,this)},[tr("svg",r,[this.title?tr("title",[this.title]):void 0,tr("path",s)])])},S8=x8(E8),jv=function(){return document.ontouchstart!==null?"click":"touchstart"},Cl="__vue_click_away__",qv=function(e,t,n){Wv(e);let r=n.context,s=t.value,o=!1;setTimeout(function(){o=!0},0),e[Cl]=function(i){if((!e||!e.contains(i.target))&&s&&o&&typeof s=="function")return s.call(r,i)},document.addEventListener(jv(),e[Cl],!1)},Wv=function(e){document.removeEventListener(jv(),e[Cl],!1),delete e[Cl]},$8=function(e,t,n){t.value!==t.oldValue&&qv(e,t,n)},A8={install:function(e){e.directive("click-away",T8)}},T8={mounted:qv,updated:$8,unmounted:Wv};var Xn=(e=>(e.LOADING="loading",e.LOADED="loaded",e.ERROR="error",e))(Xn||{});const O8=typeof window<"u"&&window!==null,D8=R8(),P8=Object.prototype.propertyIsEnumerable,Kp=Object.getOwnPropertySymbols;function Yo(e){return typeof e=="function"||toString.call(e)==="[object Object]"}function I8(e){return typeof e=="object"?e===null:typeof e!="function"}function F8(e){return e!=="__proto__"&&e!=="constructor"&&e!=="prototype"}function R8(){return O8&&"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 L8(e,...t){if(!Yo(e))throw new TypeError("expected the first argument to be an object");if(t.length===0||typeof Symbol!="function"||typeof Kp!="function")return e;for(const n of t){const r=Kp(n);for(const s of r)P8.call(n,s)&&(e[s]=n[s])}return e}function Gv(e,...t){let n=0;for(I8(e)&&(e=t[n++]),e||(e={});n<t.length;n++)if(Yo(t[n])){for(const r of Object.keys(t[n]))F8(r)&&(Yo(e[r])&&Yo(t[n][r])?Gv(e[r],t[n][r]):e[r]=t[n][r]);L8(e,t[n])}return e}const Zp="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",N8="",M8={rootMargin:"0px",threshold:0},Ds="data-lazy-timeout-id";class V8{constructor(t){this.options={loading:Zp,error:N8,observerOptions:M8,log:!0,lifecycle:{},logLevel:"error"},this._images=new WeakMap,this.config(t)}config(t={}){Gv(this.options,t)}mount(t,n){if(!t)return;const{src:r,loading:s,error:o,lifecycle:i,delay:a}=this._valueFormatter(typeof n=="string"?n:n.value);this._lifecycle(Xn.LOADING,i,t),t.setAttribute("src",s||Zp),D8||(this.loadImages(t,r,o,i),this._log(()=>{this._logger("Not support IntersectionObserver!")})),this._initIntersectionObserver(t,r,o,i,a)}update(t,n){var a;if(!t)return;(a=this._realObserver(t))==null||a.unobserve(t);const{src:r,error:s,lifecycle:o,delay:i}=this._valueFormatter(typeof n=="string"?n:n.value);this._initIntersectionObserver(t,r,s,o,i)}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(Xn.LOADED,s,t)},()=>{var o;t.onload=null,this._lifecycle(Xn.ERROR,s,t),(o=this._realObserver(t))==null||o.disconnect(),r&&t.getAttribute("src")!==r&&t.setAttribute("src",r),this._log(()=>{this._logger(`Image failed to load!And failed src was: ${n} `)})})):t.style.backgroundImage=`url('${n}')`}_initIntersectionObserver(t,n,r,s,o){var a;const i=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)})},i)),(a=this._realObserver(t))==null||a.observe(t)}_intersectionCallback(t,n,r,s,o){var i;n.isIntersecting&&((i=this._realObserver(t))==null||i.unobserve(n.target),this._setImageSrc(t,r,s,o))}_delayedIntersectionCallback(t,n,r,s,o,i){if(n.isIntersecting){if(n.target.hasAttribute(Ds))return;const a=setTimeout(()=>{this._intersectionCallback(t,n,s,o,i),n.target.removeAttribute(Ds)},r);n.target.setAttribute(Ds,String(a))}else n.target.hasAttribute(Ds)&&(clearTimeout(Number(n.target.getAttribute(Ds))),n.target.removeAttribute(Ds))}_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,i=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,i=t.delay||this.options.delay),{src:n,loading:r,error:s,lifecycle:o,delay:i}}_log(t){this.options.log&&t()}_lifecycle(t,n,r){switch(t){case Xn.LOADING:r==null||r.setAttribute("lazy",Xn.LOADING),n!=null&&n.loading&&n.loading(r);break;case Xn.LOADED:r==null||r.setAttribute("lazy",Xn.LOADED),n!=null&&n.loaded&&n.loaded(r);break;case Xn.ERROR:r==null||r.setAttribute("lazy",Xn.ERROR),n!=null&&n.error&&n.error(r);break}}_realObserver(t){return this._images.get(t)}_logger(t,...n){let r=console.error;switch(this.options.logLevel){case"error":r=console.error;break;case"warn":r=console.warn;break;case"info":r=console.info;break;case"debug":r=console.debug;break}r(t,n)}}const H8={install(e,t){const n=new V8(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 Zv=By(OC);(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,i){r.o(s,o)||Object.defineProperty(s,o,{enumerable:!0,get:i})},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 i=Object.create(null);if(r.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:s}),o&2&&typeof s!="string")for(var a in s)r.d(i,a,(function(l){return s[l]}).bind(null,a));return i},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,i;(function(a,l){o=[],s=l,i=typeof s=="function"?s.apply(n,o):s,i!==void 0&&(t.exports=i)})(typeof self<"u"?self:this,function(){function a(){var l=Object.getOwnPropertyDescriptor(document,"currentScript");if(!l&&"currentScript"in document&&document.currentScript||l&&l.get!==a&&document.currentScript)return document.currentScript;try{throw new Error}catch(z){var c=/.*at [^(]*\((.*):(.+):(.+)\)$/ig,d=/@([^@]*):(\d+):(\d+)\s*$/ig,m=c.exec(z.stack)||d.exec(z.stack),f=m&&m[1]||!1,p=m&&m[2]||!1,h=document.location.href.replace(document.location.hash,""),_,b,C,w=document.getElementsByTagName("script");f===h&&(_=document.documentElement.outerHTML,b=new RegExp("(?:[^\\n]+?\\n){0,"+(p-2)+"}[^<]*<script>([\\d\\D]*?)<\\/script>[\\d\\D]*","i"),C=_.replace(b,"$1").trim());for(var v=0;v<w.length;v++)if(w[v].readyState==="interactive"||w[v].src===f||f===h&&w[v].innerHTML&&w[v].innerHTML.trim()===C)return w[v];return null}}return a})},"8bbf":function(t,n){t.exports=Zv},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 i=s&&s.src.match(/(.+\/)[^/]+\.js(\?.*)?$/);i&&(r.p=i[1])}var a=r("8bbf");function l(h,_,b,C,w,v){return Object(a.openBlock)(),Object(a.createBlock)("div",{style:C.finalStyle},null,4)}var c=typeof window<"u",d={name:"VueProgress",serverCacheKey:function(){return"Progress"},setup:function(){var _=c?Object(a.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}},b=Object(a.computed)(function(){var C=_.options,w=!!C.show,v=C.location,z={"z-index":999999,"background-color":C.canSuccess?C.color:C.failedColor,opacity:C.show?1:0,position:C.position};return v==="top"||v==="bottom"?(v==="top"?z.top="0px":z.bottom="0px",C.inverse?z.right="0px":z.left="0px",z.width=_.percent+"%",z.height=C.thickness,z.transition=(w?"width "+C.transition.speed+", ":"")+"opacity "+C.transition.opacity):(v==="left"||v==="right")&&(v==="left"?z.left="0px":z.right="0px",C.inverse?z.top="0px":z.bottom="0px",z.height=_.percent+"%",z.width=C.thickness,z.transition=(w?"height "+C.transition.speed+", ":"")+"opacity "+C.transition.opacity),z});return{progress:_,finalStyle:b}}};d.render=l;var m=d;function f(h,_){for(var b=1,C,w;b<arguments.length;++b){w=arguments[b];for(C in w)Object.prototype.hasOwnProperty.call(w,C)&&(h[C]=w[C])}return h}var p={install:function(_,b){var C={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},w=f(C,b),v=Object(a.reactive)({percent:0,options:w});_.provide("RADON_LOADING_BAR",v);var z={state:{tFailColor:"",tColor:"",timer:null,cut:0},start:function(x){var N=this;x||(x=3e3),v.percent=0,v.options.show=!0,v.options.canSuccess=!0,this.state.cut=1e4/Math.floor(x),clearInterval(this.state.timer),this.state.timer=setInterval(function(){N.increase(N.state.cut*Math.random()),v.percent>95&&v.options.autoFinish&&N.finish()},100)},set:function(x){v.options.show=!0,v.options.canSuccess=!0,v.percent=Math.floor(x)},get:function(){return Math.floor(v.percent)},increase:function(x){v.percent=Math.min(99,v.percent+Math.floor(x))},decrease:function(x){v.percent=v.percent-Math.floor(x)},hide:function(){var x=this;clearInterval(this.state.timer),this.state.timer=null,setTimeout(function(){v.options.show=!1,Object(a.nextTick)(function(){setTimeout(function(){v.percent=0},100),v.options.autoRevert&&setTimeout(function(){x.revert()},300)})},v.options.transition.termination)},pause:function(){clearInterval(this.state.timer)},finish:function(){v.percent=100,this.hide()},fail:function(){v.options.canSuccess=!1,v.percent=100,this.hide()},setFailColor:function(x){v.options.failedColor=x},setColor:function(x){v.options.color=x},setLocation:function(x){v.options.location=x},setTransition:function(x){v.options.transition=x},tempFailColor:function(x){this.state.tFailColor=v.options.failedColor,v.options.failedColor=x},tempColor:function(x){this.state.tColor=v.options.color,v.options.color=x},tempLocation:function(x){this.state.tLocation=v.options.location,v.options.location=x},tempTransition:function(x){this.state.tTransition=v.options.transition,v.options.transition=x},revertColor:function(){v.options.color=this.state.tColor,this.state.tColor=""},revertFailColor:function(){v.options.failedColor=this.state.tFailColor,this.state.tFailColor=""},revertLocation:function(){v.options.location=this.state.tLocation,this.state.tLocation=""},revertTransition:function(){v.options.transition=this.state.tTransition,this.state.tTransition={}},revert:function(){v.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(x){for(var N in x.func){var D=x.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",m),_.config.globalProperties.$Progress=z}};n.default=p}})})(Kv);var U8=Kv.exports;const B8=Oi(U8);/*!
* vue-router v4.2.5
* (c) 2023 Eduardo San Martin Morote
* @license MIT
*/const Ns=typeof window<"u";function j8(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const lt=Object.assign;function qu(e,t){const n={};for(const r in t){const s=t[r];n[r]=Kn(s)?s.map(e):e(s)}return n}const Jo=()=>{},Kn=Array.isArray,q8=/\/$/,W8=e=>e.replace(q8,"");function Wu(e,t,n="/"){let r,s={},o="",i="";const a=t.indexOf("#");let l=t.indexOf("?");return a<l&&a>=0&&(l=-1),l>-1&&(r=t.slice(0,l),o=t.slice(l+1,a>-1?a:t.length),s=e(o)),a>-1&&(r=r||t.slice(0,a),i=t.slice(a,t.length)),r=Y8(r??t,n),{fullPath:r+(o&&"?")+o+i,path:r,query:s,hash:i}}function G8(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function Yp(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function K8(e,t,n){const r=t.matched.length-1,s=n.matched.length-1;return r>-1&&r===s&&uo(t.matched[r],n.matched[s])&&Yv(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function uo(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function Yv(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!Z8(e[n],t[n]))return!1;return!0}function Z8(e,t){return Kn(e)?Jp(e,t):Kn(t)?Jp(t,e):e===t}function Jp(e,t){return Kn(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function Y8(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,i,a;for(i=0;i<r.length;i++)if(a=r[i],a!==".")if(a==="..")o>1&&o--;else break;return n.slice(0,o).join("/")+"/"+r.slice(i-(i===r.length?1:0)).join("/")}var yi;(function(e){e.pop="pop",e.push="push"})(yi||(yi={}));var Xo;(function(e){e.back="back",e.forward="forward",e.unknown=""})(Xo||(Xo={}));function J8(e){if(!e)if(Ns){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),W8(e)}const X8=/^[^#]+#/;function Q8(e,t){return e.replace(X8,"#")+t}function eO(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 uu=()=>({left:window.pageXOffset,top:window.pageYOffset});function tO(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=eO(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 Xp(e,t){return(history.state?history.state.position-t:-1)+e}const Qc=new Map;function nO(e,t){Qc.set(e,t)}function rO(e){const t=Qc.get(e);return Qc.delete(e),t}let sO=()=>location.protocol+"//"+location.host;function Jv(e,t){const{pathname:n,search:r,hash:s}=t,o=e.indexOf("#");if(o>-1){let a=s.includes(e.slice(o))?e.slice(o).length:1,l=s.slice(a);return l[0]!=="/"&&(l="/"+l),Yp(l,"")}return Yp(n,e)+r+s}function oO(e,t,n,r){let s=[],o=[],i=null;const a=({state:f})=>{const p=Jv(e,location),h=n.value,_=t.value;let b=0;if(f){if(n.value=p,t.value=f,i&&i===h){i=null;return}b=_?f.position-_.position:0}else r(p);s.forEach(C=>{C(n.value,h,{delta:b,type:yi.pop,direction:b?b>0?Xo.forward:Xo.back:Xo.unknown})})};function l(){i=n.value}function c(f){s.push(f);const p=()=>{const h=s.indexOf(f);h>-1&&s.splice(h,1)};return o.push(p),p}function d(){const{history:f}=window;f.state&&f.replaceState(lt({},f.state,{scroll:uu()}),"")}function m(){for(const f of o)f();o=[],window.removeEventListener("popstate",a),window.removeEventListener("beforeunload",d)}return window.addEventListener("popstate",a),window.addEventListener("beforeunload",d,{passive:!0}),{pauseListeners:l,listen:c,destroy:m}}function Qp(e,t,n,r=!1,s=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:s?uu():null}}function iO(e){const{history:t,location:n}=window,r={value:Jv(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 m=e.indexOf("#"),f=m>-1?(n.host&&document.querySelector("base")?e:e.slice(m))+l:sO()+e+l;try{t[d?"replaceState":"pushState"](c,"",f),s.value=c}catch(p){console.error(p),n[d?"replace":"assign"](f)}}function i(l,c){const d=lt({},t.state,Qp(s.value.back,l,s.value.forward,!0),c,{position:s.value.position});o(l,d,!0),r.value=l}function a(l,c){const d=lt({},s.value,t.state,{forward:l,scroll:uu()});o(d.current,d,!0);const m=lt({},Qp(r.value,l,null),{position:d.position+1},c);o(l,m,!1),r.value=l}return{location:r,state:s,push:a,replace:i}}function aO(e){e=J8(e);const t=iO(e),n=oO(e,t.state,t.location,t.replace);function r(o,i=!0){i||n.pauseListeners(),history.go(o)}const s=lt({location:"",base:e,go:r,createHref:Q8.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 lO(e){return e=location.host?e||location.pathname+location.search:"",e.includes("#")||(e+="#"),aO(e)}function uO(e){return typeof e=="string"||e&&typeof e=="object"}function Xv(e){return typeof e=="string"||typeof e=="symbol"}const Tr={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},Qv=Symbol("");var eh;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(eh||(eh={}));function co(e,t){return lt(new Error,{type:e,[Qv]:!0},t)}function dr(e,t){return e instanceof Error&&Qv in e&&(t==null||!!(e.type&t))}const th="[^/]+?",cO={sensitive:!1,strict:!1,start:!0,end:!0},dO=/[.+*?^${}()[\]/\\]/g;function mO(e,t){const n=lt({},cO,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 m=0;m<c.length;m++){const f=c[m];let p=40+(n.sensitive?.25:0);if(f.type===0)m||(s+="/"),s+=f.value.replace(dO,"\\$&"),p+=40;else if(f.type===1){const{value:h,repeatable:_,optional:b,regexp:C}=f;o.push({name:h,repeatable:_,optional:b});const w=C||th;if(w!==th){p+=10;try{new RegExp(`(${w})`)}catch(z){throw new Error(`Invalid custom RegExp for param "${h}" (${w}): `+z.message)}}let v=_?`((?:${w})(?:/(?:${w}))*)`:`(${w})`;m||(v=b&&c.length<2?`(?:/${v})`:"/"+v),b&&(v+="?"),s+=v,p+=20,b&&(p+=-8),_&&(p+=-20),w===".*"&&(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 i=new RegExp(s,n.sensitive?"":"i");function a(c){const d=c.match(i),m={};if(!d)return null;for(let f=1;f<d.length;f++){const p=d[f]||"",h=o[f-1];m[h.name]=p&&h.repeatable?p.split("/"):p}return m}function l(c){let d="",m=!1;for(const f of e){(!m||!d.endsWith("/"))&&(d+="/"),m=!1;for(const p of f)if(p.type===0)d+=p.value;else if(p.type===1){const{value:h,repeatable:_,optional:b}=p,C=h in c?c[h]:"";if(Kn(C)&&!_)throw new Error(`Provided param "${h}" is an array but it is not repeatable (* or + modifiers)`);const w=Kn(C)?C.join("/"):C;if(!w)if(b)f.length<2&&(d.endsWith("/")?d=d.slice(0,-1):m=!0);else throw new Error(`Missing required param "${h}"`);d+=w}}return d||"/"}return{re:i,score:r,keys:o,parse:a,stringify:l}}function fO(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]===80?-1:1:e.length>t.length?t.length===1&&t[0]===80?1:-1:0}function pO(e,t){let n=0;const r=e.score,s=t.score;for(;n<r.length&&n<s.length;){const o=fO(r[n],s[n]);if(o)return o;n++}if(Math.abs(s.length-r.length)===1){if(nh(r))return 1;if(nh(s))return-1}return s.length-r.length}function nh(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const hO={type:0,value:""},_O=/[a-zA-Z0-9_]/;function gO(e){if(!e)return[[]];if(e==="/")return[[hO]];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 i(){o&&s.push(o),o=[]}let a=0,l,c="",d="";function m(){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 f(){c+=l}for(;a<e.length;){if(l=e[a++],l==="\\"&&n!==2){r=n,n=4;continue}switch(n){case 0:l==="/"?(c&&m(),i()):l===":"?(m(),n=1):f();break;case 4:f(),n=r;break;case 1:l==="("?n=2:_O.test(l)?f():(m(),n=0,l!=="*"&&l!=="?"&&l!=="+"&&a--);break;case 2:l===")"?d[d.length-1]=="\\"?d=d.slice(0,-1)+l:n=3:d+=l;break;case 3:m(),n=0,l!=="*"&&l!=="?"&&l!=="+"&&a--,d="";break;default:t("Unknown state");break}}return n===2&&t(`Unfinished custom RegExp for param "${c}"`),m(),i(),s}function yO(e,t,n){const r=mO(gO(e.path),n),s=lt(r,{record:e,parent:t,children:[],alias:[]});return t&&!s.record.aliasOf==!t.record.aliasOf&&t.children.push(s),s}function vO(e,t){const n=[],r=new Map;t=oh({strict:!1,end:!0,sensitive:!1},t);function s(d){return r.get(d)}function o(d,m,f){const p=!f,h=bO(d);h.aliasOf=f&&f.record;const _=oh(t,d),b=[h];if("alias"in d){const v=typeof d.alias=="string"?[d.alias]:d.alias;for(const z of v)b.push(lt({},h,{components:f?f.record.components:h.components,path:z,aliasOf:f?f.record:h}))}let C,w;for(const v of b){const{path:z}=v;if(m&&z[0]!=="/"){const S=m.record.path,x=S[S.length-1]==="/"?"":"/";v.path=m.record.path+(z&&x+z)}if(C=yO(v,m,_),f?f.alias.push(C):(w=w||C,w!==C&&w.alias.push(C),p&&d.name&&!sh(C)&&i(d.name)),h.children){const S=h.children;for(let x=0;x<S.length;x++)o(S[x],C,f&&f.children[x])}f=f||C,(C.record.components&&Object.keys(C.record.components).length||C.record.name||C.record.redirect)&&l(C)}return w?()=>{i(w)}:Jo}function i(d){if(Xv(d)){const m=r.get(d);m&&(r.delete(d),n.splice(n.indexOf(m),1),m.children.forEach(i),m.alias.forEach(i))}else{const m=n.indexOf(d);m>-1&&(n.splice(m,1),d.record.name&&r.delete(d.record.name),d.children.forEach(i),d.alias.forEach(i))}}function a(){return n}function l(d){let m=0;for(;m<n.length&&pO(d,n[m])>=0&&(d.record.path!==n[m].record.path||!e1(d,n[m]));)m++;n.splice(m,0,d),d.record.name&&!sh(d)&&r.set(d.record.name,d)}function c(d,m){let f,p={},h,_;if("name"in d&&d.name){if(f=r.get(d.name),!f)throw co(1,{location:d});_=f.record.name,p=lt(rh(m.params,f.keys.filter(w=>!w.optional).map(w=>w.name)),d.params&&rh(d.params,f.keys.map(w=>w.name))),h=f.stringify(p)}else if("path"in d)h=d.path,f=n.find(w=>w.re.test(h)),f&&(p=f.parse(h),_=f.record.name);else{if(f=m.name?r.get(m.name):n.find(w=>w.re.test(m.path)),!f)throw co(1,{location:d,currentLocation:m});_=f.record.name,p=lt({},m.params,d.params),h=f.stringify(p)}const b=[];let C=f;for(;C;)b.unshift(C.record),C=C.parent;return{name:_,path:h,params:p,matched:b,meta:CO(b)}}return e.forEach(d=>o(d)),{addRoute:o,resolve:c,removeRoute:i,getRoutes:a,getRecordMatcher:s}}function rh(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function bO(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:zO(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 zO(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 sh(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function CO(e){return e.reduce((t,n)=>lt(t,n.meta),{})}function oh(e,t){const n={};for(const r in e)n[r]=r in t?t[r]:e[r];return n}function e1(e,t){return t.children.some(n=>n===e||e1(e,n))}const t1=/#/g,wO=/&/g,kO=/\//g,xO=/=/g,EO=/\?/g,n1=/\+/g,SO=/%5B/g,$O=/%5D/g,r1=/%5E/g,AO=/%60/g,s1=/%7B/g,TO=/%7C/g,o1=/%7D/g,OO=/%20/g;function Cm(e){return encodeURI(""+e).replace(TO,"|").replace(SO,"[").replace($O,"]")}function DO(e){return Cm(e).replace(s1,"{").replace(o1,"}").replace(r1,"^")}function ed(e){return Cm(e).replace(n1,"%2B").replace(OO,"+").replace(t1,"%23").replace(wO,"%26").replace(AO,"`").replace(s1,"{").replace(o1,"}").replace(r1,"^")}function PO(e){return ed(e).replace(xO,"%3D")}function IO(e){return Cm(e).replace(t1,"%23").replace(EO,"%3F")}function FO(e){return e==null?"":IO(e).replace(kO,"%2F")}function wl(e){try{return decodeURIComponent(""+e)}catch{}return""+e}function RO(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(n1," "),i=o.indexOf("="),a=wl(i<0?o:o.slice(0,i)),l=i<0?null:wl(o.slice(i+1));if(a in t){let c=t[a];Kn(c)||(c=t[a]=[c]),c.push(l)}else t[a]=l}return t}function ih(e){let t="";for(let n in e){const r=e[n];if(n=PO(n),r==null){r!==void 0&&(t+=(t.length?"&":"")+n);continue}(Kn(r)?r.map(o=>o&&ed(o)):[r&&ed(r)]).forEach(o=>{o!==void 0&&(t+=(t.length?"&":"")+n,o!=null&&(t+="="+o))})}return t}function LO(e){const t={};for(const n in e){const r=e[n];r!==void 0&&(t[n]=Kn(r)?r.map(s=>s==null?null:""+s):r==null?r:""+r)}return t}const NO=Symbol(""),ah=Symbol(""),wm=Symbol(""),i1=Symbol(""),td=Symbol("");function To(){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 Nr(e,t,n,r,s){const o=r&&(r.enterCallbacks[s]=r.enterCallbacks[s]||[]);return()=>new Promise((i,a)=>{const l=m=>{m===!1?a(co(4,{from:n,to:t})):m instanceof Error?a(m):uO(m)?a(co(2,{from:t,to:m})):(o&&r.enterCallbacks[s]===o&&typeof m=="function"&&o.push(m),i())},c=e.call(r&&r.instances[s],t,n,l);let d=Promise.resolve(c);e.length<3&&(d=d.then(l)),d.catch(m=>a(m))})}function Gu(e,t,n,r){const s=[];for(const o of e)for(const i in o.components){let a=o.components[i];if(!(t!=="beforeRouteEnter"&&!o.instances[i]))if(MO(a)){const c=(a.__vccOpts||a)[t];c&&s.push(Nr(c,n,r,o,i))}else{let l=a();s.push(()=>l.then(c=>{if(!c)return Promise.reject(new Error(`Couldn't resolve component "${i}" at "${o.path}"`));const d=j8(c)?c.default:c;o.components[i]=d;const f=(d.__vccOpts||d)[t];return f&&Nr(f,n,r,o,i)()}))}}return s}function MO(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function lh(e){const t=jn(wm),n=jn(i1),r=Lt(()=>t.resolve(yn(e.to))),s=Lt(()=>{const{matched:l}=r.value,{length:c}=l,d=l[c-1],m=n.matched;if(!d||!m.length)return-1;const f=m.findIndex(uo.bind(null,d));if(f>-1)return f;const p=uh(l[c-2]);return c>1&&uh(d)===p&&m[m.length-1].path!==p?m.findIndex(uo.bind(null,l[c-2])):f}),o=Lt(()=>s.value>-1&&BO(n.params,r.value.params)),i=Lt(()=>s.value>-1&&s.value===n.matched.length-1&&Yv(n.params,r.value.params));function a(l={}){return UO(l)?t[yn(e.replace)?"replace":"push"](yn(e.to)).catch(Jo):Promise.resolve()}return{route:r,href:Lt(()=>r.value.href),isActive:o,isExactActive:i,navigate:a}}const VO=br({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:lh,setup(e,{slots:t}){const n=po(lh(e)),{options:r}=jn(wm),s=Lt(()=>({[ch(e.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[ch(e.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const o=t.default&&t.default(n);return e.custom?o:tr("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:s.value},o)}}}),HO=VO;function UO(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 BO(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(!Kn(s)||s.length!==r.length||r.some((o,i)=>o!==s[i]))return!1}return!0}function uh(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const ch=(e,t,n)=>e??t??n,jO=br({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const r=jn(td),s=Lt(()=>e.route||r.value),o=jn(ah,0),i=Lt(()=>{let c=yn(o);const{matched:d}=s.value;let m;for(;(m=d[c])&&!m.components;)c++;return c}),a=Lt(()=>s.value.matched[i.value]);qo(ah,Lt(()=>i.value+1)),qo(NO,a),qo(td,s);const l=sr();return bn(()=>[l.value,a.value,e.name],([c,d,m],[f,p,h])=>{d&&(d.instances[m]=c,p&&p!==d&&c&&c===f&&(d.leaveGuards.size||(d.leaveGuards=p.leaveGuards),d.updateGuards.size||(d.updateGuards=p.updateGuards))),c&&d&&(!p||!uo(d,p)||!f)&&(d.enterCallbacks[m]||[]).forEach(_=>_(c))},{flush:"post"}),()=>{const c=s.value,d=e.name,m=a.value,f=m&&m.components[d];if(!f)return dh(n.default,{Component:f,route:c});const p=m.props[d],h=p?p===!0?c.params:typeof p=="function"?p(c):p:null,b=tr(f,lt({},h,t,{onVnodeUnmounted:C=>{C.component.isUnmounted&&(m.instances[d]=null)},ref:l}));return dh(n.default,{Component:b,route:c})||b}}});function dh(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const qO=jO;function WO(e){const t=vO(e.routes,e),n=e.parseQuery||RO,r=e.stringifyQuery||ih,s=e.history,o=To(),i=To(),a=To(),l=Fd(Tr);let c=Tr;Ns&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const d=qu.bind(null,W=>""+W),m=qu.bind(null,FO),f=qu.bind(null,wl);function p(W,ue){let ie,ge;return Xv(W)?(ie=t.getRecordMatcher(W),ge=ue):ge=W,t.addRoute(ge,ie)}function h(W){const ue=t.getRecordMatcher(W);ue&&t.removeRoute(ue)}function _(){return t.getRoutes().map(W=>W.record)}function b(W){return!!t.getRecordMatcher(W)}function C(W,ue){if(ue=lt({},ue||l.value),typeof W=="string"){const O=Wu(n,W,ue.path),H=t.resolve({path:O.path},ue),Y=s.createHref(O.fullPath);return lt(O,H,{params:f(H.params),hash:wl(O.hash),redirectedFrom:void 0,href:Y})}let ie;if("path"in W)ie=lt({},W,{path:Wu(n,W.path,ue.path).path});else{const O=lt({},W.params);for(const H in O)O[H]==null&&delete O[H];ie=lt({},W,{params:m(O)}),ue.params=m(ue.params)}const ge=t.resolve(ie,ue),Ve=W.hash||"";ge.params=d(f(ge.params));const Ke=G8(r,lt({},W,{hash:DO(Ve),path:ge.path})),A=s.createHref(Ke);return lt({fullPath:Ke,hash:Ve,query:r===ih?LO(W.query):W.query||{}},ge,{redirectedFrom:void 0,href:A})}function w(W){return typeof W=="string"?Wu(n,W,l.value.path):lt({},W)}function v(W,ue){if(c!==W)return co(8,{from:ue,to:W})}function z(W){return N(W)}function S(W){return z(lt(w(W),{replace:!0}))}function x(W){const ue=W.matched[W.matched.length-1];if(ue&&ue.redirect){const{redirect:ie}=ue;let ge=typeof ie=="function"?ie(W):ie;return typeof ge=="string"&&(ge=ge.includes("?")||ge.includes("#")?ge=w(ge):{path:ge},ge.params={}),lt({query:W.query,hash:W.hash,params:"path"in ge?{}:W.params},ge)}}function N(W,ue){const ie=c=C(W),ge=l.value,Ve=W.state,Ke=W.force,A=W.replace===!0,O=x(ie);if(O)return N(lt(w(O),{state:typeof O=="object"?lt({},Ve,O.state):Ve,force:Ke,replace:A}),ue||ie);const H=ie;H.redirectedFrom=ue;let Y;return!Ke&&K8(r,ge,ie)&&(Y=co(16,{to:H,from:ge}),We(ge,ge,!0,!1)),(Y?Promise.resolve(Y):L(H,ge)).catch(K=>dr(K)?dr(K,2)?K:Je(K):oe(K,H,ge)).then(K=>{if(K){if(dr(K,2))return N(lt({replace:A},w(K.to),{state:typeof K.to=="object"?lt({},Ve,K.to.state):Ve,force:Ke}),ue||H)}else K=B(H,ge,!0,A,Ve);return Z(H,ge,K),K})}function D(W,ue){const ie=v(W,ue);return ie?Promise.reject(ie):Promise.resolve()}function P(W){const ue=pt.values().next().value;return ue&&typeof ue.runWithContext=="function"?ue.runWithContext(W):W()}function L(W,ue){let ie;const[ge,Ve,Ke]=GO(W,ue);ie=Gu(ge.reverse(),"beforeRouteLeave",W,ue);for(const O of ge)O.leaveGuards.forEach(H=>{ie.push(Nr(H,W,ue))});const A=D.bind(null,W,ue);return ie.push(A),Ne(ie).then(()=>{ie=[];for(const O of o.list())ie.push(Nr(O,W,ue));return ie.push(A),Ne(ie)}).then(()=>{ie=Gu(Ve,"beforeRouteUpdate",W,ue);for(const O of Ve)O.updateGuards.forEach(H=>{ie.push(Nr(H,W,ue))});return ie.push(A),Ne(ie)}).then(()=>{ie=[];for(const O of Ke)if(O.beforeEnter)if(Kn(O.beforeEnter))for(const H of O.beforeEnter)ie.push(Nr(H,W,ue));else ie.push(Nr(O.beforeEnter,W,ue));return ie.push(A),Ne(ie)}).then(()=>(W.matched.forEach(O=>O.enterCallbacks={}),ie=Gu(Ke,"beforeRouteEnter",W,ue),ie.push(A),Ne(ie))).then(()=>{ie=[];for(const O of i.list())ie.push(Nr(O,W,ue));return ie.push(A),Ne(ie)}).catch(O=>dr(O,8)?O:Promise.reject(O))}function Z(W,ue,ie){a.list().forEach(ge=>P(()=>ge(W,ue,ie)))}function B(W,ue,ie,ge,Ve){const Ke=v(W,ue);if(Ke)return Ke;const A=ue===Tr,O=Ns?history.state:{};ie&&(ge||A?s.replace(W.fullPath,lt({scroll:A&&O&&O.scroll},Ve)):s.push(W.fullPath,Ve)),l.value=W,We(W,ue,ie,A),Je()}let q;function X(){q||(q=s.listen((W,ue,ie)=>{if(!ht.listening)return;const ge=C(W),Ve=x(ge);if(Ve){N(lt(Ve,{replace:!0}),ge).catch(Jo);return}c=ge;const Ke=l.value;Ns&&nO(Xp(Ke.fullPath,ie.delta),uu()),L(ge,Ke).catch(A=>dr(A,12)?A:dr(A,2)?(N(A.to,ge).then(O=>{dr(O,20)&&!ie.delta&&ie.type===yi.pop&&s.go(-1,!1)}).catch(Jo),Promise.reject()):(ie.delta&&s.go(-ie.delta,!1),oe(A,ge,Ke))).then(A=>{A=A||B(ge,Ke,!1),A&&(ie.delta&&!dr(A,8)?s.go(-ie.delta,!1):ie.type===yi.pop&&dr(A,20)&&s.go(-1,!1)),Z(ge,Ke,A)}).catch(Jo)}))}let pe=To(),G=To(),re;function oe(W,ue,ie){Je(W);const ge=G.list();return ge.length?ge.forEach(Ve=>Ve(W,ue,ie)):console.error(W),Promise.reject(W)}function Be(){return re&&l.value!==Tr?Promise.resolve():new Promise((W,ue)=>{pe.add([W,ue])})}function Je(W){return re||(re=!W,X(),pe.list().forEach(([ue,ie])=>W?ie(W):ue()),pe.reset()),W}function We(W,ue,ie,ge){const{scrollBehavior:Ve}=e;if(!Ns||!Ve)return Promise.resolve();const Ke=!ie&&rO(Xp(W.fullPath,0))||(ge||!ie)&&history.state&&history.state.scroll||null;return ho().then(()=>Ve(W,ue,Ke)).then(A=>A&&tO(A)).catch(A=>oe(A,W,ue))}const Ue=W=>s.go(W);let dt;const pt=new Set,ht={currentRoute:l,listening:!0,addRoute:p,removeRoute:h,hasRoute:b,getRoutes:_,resolve:C,options:e,push:z,replace:S,go:Ue,back:()=>Ue(-1),forward:()=>Ue(1),beforeEach:o.add,beforeResolve:i.add,afterEach:a.add,onError:G.add,isReady:Be,install(W){const ue=this;W.component("RouterLink",HO),W.component("RouterView",qO),W.config.globalProperties.$router=ue,Object.defineProperty(W.config.globalProperties,"$route",{enumerable:!0,get:()=>yn(l)}),Ns&&!dt&&l.value===Tr&&(dt=!0,z(s.location).catch(Ve=>{}));const ie={};for(const Ve in Tr)Object.defineProperty(ie,Ve,{get:()=>l.value[Ve],enumerable:!0});W.provide(wm,ue),W.provide(i1,Ad(ie)),W.provide(td,l);const ge=W.unmount;pt.add(W),W.unmount=function(){pt.delete(W),pt.size<1&&(c=Tr,q&&q(),q=null,l.value=Tr,dt=!1,re=!1),ge()}}};function Ne(W){return W.reduce((ue,ie)=>ue.then(()=>P(ie)),Promise.resolve())}return ht}function GO(e,t){const n=[],r=[],s=[],o=Math.max(t.matched.length,e.matched.length);for(let i=0;i<o;i++){const a=t.matched[i];a&&(e.matched.find(c=>uo(c,a))?r.push(a):n.push(a));const l=e.matched[i];l&&(t.matched.find(c=>uo(c,l))||s.push(l))}return[n,r,s]}const KO={name:"PageAbout",computed:{config(){return this.$store.state.config},library(){return this.$store.state.library}},methods:{showUpdateDialog(){this.$store.commit(zi,!0)}}},ZO={class:"section"},YO={class:"container"},JO={class:"columns is-centered"},XO={class:"column is-four-fifths has-text-centered-mobile"},QO=["textContent"],e3={class:"section"},t3={class:"container"},n3={class:"columns is-centered"},r3={class:"column is-four-fifths"},s3={class:"content"},o3={class:"level is-mobile"},i3={class:"level-left"},a3={class:"level-item"},l3=["textContent"],u3={class:"level-right"},c3={key:0},d3=["textContent"],m3={key:1},f3=["textContent"],p3={class:"table"},h3=["textContent"],_3=["textContent"],g3=["textContent"],y3=["textContent"],v3=["textContent"],b3=["textContent"],z3=["textContent"],C3=["textContent"],w3=["textContent"],k3={class:"has-text-right"},x3=["textContent"],E3=["textContent"],S3=["textContent"],$3={class:"has-text-right"},A3=["textContent"],T3=["textContent"],O3={class:"section"},D3={class:"container"},P3={class:"columns is-centered"},I3={class:"column is-four-fifths"},F3={class:"content has-text-centered-mobile"},R3=["textContent"],L3=["textContent"],N3=u("a",{href:"https://bulma.io"},"Bulma",-1),M3=u("a",{href:"https://pictogrammers.com/library/mdi/"},"Material Design Icons",-1),V3=u("a",{href:"https://vuejs.org/"},"Vue.js",-1),H3=u("a",{href:"https://github.com/mzabriskie/axios"},"axios",-1),U3=["textContent"];function B3(e,t,n,r,s,o){const i=$("i18n-t");return k(),T("div",null,[u("section",ZO,[u("div",YO,[u("div",JO,[u("div",XO,[u("h1",{class:"title is-4",textContent:g(o.config.library_name)},null,8,QO)])])])]),u("section",e3,[u("div",t3,[u("div",n3,[u("div",r3,[u("div",s3,[u("nav",o3,[u("div",i3,[u("div",a3,[u("h2",{class:"title is-5",textContent:g(e.$t("page.about.library"))},null,8,l3)])]),u("div",u3,[o.library.updating?(k(),T("div",c3,[u("a",{class:"button is-small is-loading",textContent:g(e.$t("page.about.update"))},null,8,d3)])):(k(),T("div",m3,[u("a",{class:"button is-small",onClick:t[0]||(t[0]=a=>o.showUpdateDialog()),textContent:g(e.$t("page.about.update"))},null,8,f3)]))])]),u("table",p3,[u("tbody",null,[u("tr",null,[u("th",{class:"has-text-left",textContent:g(e.$t("page.about.artists"))},null,8,h3),u("td",{class:"has-text-right",textContent:g(e.$filters.number(o.library.artists))},null,8,_3)]),u("tr",null,[u("th",{class:"has-text-left",textContent:g(e.$t("page.about.albums"))},null,8,g3),u("td",{class:"has-text-right",textContent:g(e.$filters.number(o.library.albums))},null,8,y3)]),u("tr",null,[u("th",{class:"has-text-left",textContent:g(e.$t("page.about.tracks"))},null,8,v3),u("td",{class:"has-text-right",textContent:g(e.$filters.number(o.library.songs))},null,8,b3)]),u("tr",null,[u("th",{class:"has-text-left",textContent:g(e.$t("page.about.total-playtime"))},null,8,z3),u("td",{class:"has-text-right",textContent:g(e.$filters.durationInDays(o.library.db_playtime*1e3))},null,8,C3)]),u("tr",null,[u("th",{class:"has-text-left",textContent:g(e.$t("page.about.updated"))},null,8,w3),u("td",k3,[u("span",{textContent:g(e.$t("page.about.updated-on",{time:e.$filters.timeFromNow(o.library.updated_at)}))},null,8,x3),gt(" ("),u("span",{class:"has-text-grey",textContent:g(e.$filters.datetime(o.library.updated_at))},null,8,E3),gt(") ")])]),u("tr",null,[u("th",{class:"has-text-left",textContent:g(e.$t("page.about.uptime"))},null,8,S3),u("td",$3,[u("span",{textContent:g(e.$filters.timeFromNow(o.library.started_at,!0))},null,8,A3),gt(" ("),u("span",{class:"has-text-grey",textContent:g(e.$filters.datetime(o.library.started_at))},null,8,T3),gt(") ")])])])])])])])])]),u("section",O3,[u("div",D3,[u("div",P3,[u("div",I3,[u("div",F3,[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,L3),y(i,{tag:"p",class:"is-size-7",keypath:"page.about.built-with",scope:"global"},{bulma:E(()=>[N3]),mdi:E(()=>[M3]),vuejs:E(()=>[V3]),axios:E(()=>[H3]),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 j3=te(KO,[["render",B3]]),q3={},W3={class:"hero is-light is-bold"},G3={class:"hero-body"},K3={class:"container"},Z3={class:"columns is-centered"},Y3={class:"column is-four-fifths"},J3={class:"columns is-flex-direction-row-reverse"},X3={class:"column fd-has-cover"},Q3={class:"column m-auto is-three-fifths has-text-centered-mobile"},e4={class:"section pt-0"},t4={class:"container"},n4={class:"columns is-centered"},r4={class:"column is-four-fifths"};function s4(e,t){return k(),T(we,null,[u("section",W3,[u("div",G3,[u("div",K3,[u("div",Z3,[u("div",Y3,[u("div",J3,[u("div",X3,[it(e.$slots,"heading-right")]),u("div",Q3,[it(e.$slots,"heading-left")])])])])])])]),u("section",e4,[u("div",t4,[u("div",n4,[u("div",r4,[it(e.$slots,"content"),it(e.$slots,"footer")])])])])],64)}const cu=te(q3,[["render",s4]]);var a1={exports:{}},o4=[{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=o4,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}})(a1);var i4=a1.exports,a4=1/0,l4="[object Symbol]",u4=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,l1="\\ud800-\\udfff",c4="\\u0300-\\u036f\\ufe20-\\ufe23",d4="\\u20d0-\\u20f0",u1="\\u2700-\\u27bf",c1="a-z\\xdf-\\xf6\\xf8-\\xff",m4="\\xac\\xb1\\xd7\\xf7",f4="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",p4="\\u2000-\\u206f",h4=" \\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",d1="A-Z\\xc0-\\xd6\\xd8-\\xde",_4="\\ufe0e\\ufe0f",m1=m4+f4+p4+h4,f1="[']",mh="["+m1+"]",g4="["+c4+d4+"]",p1="\\d+",y4="["+u1+"]",h1="["+c1+"]",_1="[^"+l1+m1+p1+u1+c1+d1+"]",v4="\\ud83c[\\udffb-\\udfff]",b4="(?:"+g4+"|"+v4+")",z4="[^"+l1+"]",g1="(?:\\ud83c[\\udde6-\\uddff]){2}",y1="[\\ud800-\\udbff][\\udc00-\\udfff]",Ms="["+d1+"]",C4="\\u200d",fh="(?:"+h1+"|"+_1+")",w4="(?:"+Ms+"|"+_1+")",ph="(?:"+f1+"(?:d|ll|m|re|s|t|ve))?",hh="(?:"+f1+"(?:D|LL|M|RE|S|T|VE))?",v1=b4+"?",b1="["+_4+"]?",k4="(?:"+C4+"(?:"+[z4,g1,y1].join("|")+")"+b1+v1+")*",x4=b1+v1+k4,E4="(?:"+[y4,g1,y1].join("|")+")"+x4,S4=RegExp([Ms+"?"+h1+"+"+ph+"(?="+[mh,Ms,"$"].join("|")+")",w4+"+"+hh+"(?="+[mh,Ms+fh,"$"].join("|")+")",Ms+"?"+fh+"+"+ph,Ms+"+"+hh,p1,E4].join("|"),"g"),$4=/[a-z][A-Z]|[A-Z]{2,}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,A4=typeof un=="object"&&un&&un.Object===Object&&un,T4=typeof self=="object"&&self&&self.Object===Object&&self,O4=A4||T4||Function("return this")();function D4(e){return e.match(u4)||[]}function P4(e){return $4.test(e)}function I4(e){return e.match(S4)||[]}var F4=Object.prototype,R4=F4.toString,_h=O4.Symbol,gh=_h?_h.prototype:void 0,yh=gh?gh.toString:void 0;function L4(e){if(typeof e=="string")return e;if(M4(e))return yh?yh.call(e):"";var t=e+"";return t=="0"&&1/e==-a4?"-0":t}function N4(e){return!!e&&typeof e=="object"}function M4(e){return typeof e=="symbol"||N4(e)&&R4.call(e)==l4}function V4(e){return e==null?"":L4(e)}function H4(e,t,n){return e=V4(e),t=n?void 0:t,t===void 0?P4(e)?I4(e):D4(e):e.match(t)||[]}var U4=H4,B4=1/0,j4="[object Symbol]",q4=/^\s+/,km="\\ud800-\\udfff",z1="\\u0300-\\u036f\\ufe20-\\ufe23",C1="\\u20d0-\\u20f0",w1="\\ufe0e\\ufe0f",W4="["+km+"]",nd="["+z1+C1+"]",rd="\\ud83c[\\udffb-\\udfff]",G4="(?:"+nd+"|"+rd+")",k1="[^"+km+"]",x1="(?:\\ud83c[\\udde6-\\uddff]){2}",E1="[\\ud800-\\udbff][\\udc00-\\udfff]",S1="\\u200d",$1=G4+"?",A1="["+w1+"]?",K4="(?:"+S1+"(?:"+[k1,x1,E1].join("|")+")"+A1+$1+")*",Z4=A1+$1+K4,Y4="(?:"+[k1+nd+"?",nd,x1,E1,W4].join("|")+")",J4=RegExp(rd+"(?="+rd+")|"+Y4+Z4,"g"),X4=RegExp("["+S1+km+z1+C1+w1+"]"),Q4=typeof un=="object"&&un&&un.Object===Object&&un,e6=typeof self=="object"&&self&&self.Object===Object&&self,t6=Q4||e6||Function("return this")();function n6(e){return e.split("")}function r6(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 s6(e,t,n){if(t!==t)return r6(e,o6,n);for(var r=n-1,s=e.length;++r<s;)if(e[r]===t)return r;return-1}function o6(e){return e!==e}function i6(e,t){for(var n=-1,r=e.length;++n<r&&s6(t,e[n],0)>-1;);return n}function a6(e){return X4.test(e)}function vh(e){return a6(e)?l6(e):n6(e)}function l6(e){return e.match(J4)||[]}var u6=Object.prototype,c6=u6.toString,bh=t6.Symbol,zh=bh?bh.prototype:void 0,Ch=zh?zh.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 T1(e){if(typeof e=="string")return e;if(p6(e))return Ch?Ch.call(e):"";var t=e+"";return t=="0"&&1/e==-B4?"-0":t}function m6(e,t,n){var r=e.length;return n=n===void 0?r:n,!t&&n>=r?e:d6(e,t,n)}function f6(e){return!!e&&typeof e=="object"}function p6(e){return typeof e=="symbol"||f6(e)&&c6.call(e)==j4}function h6(e){return e==null?"":T1(e)}function _6(e,t,n){if(e=h6(e),e&&(n||t===void 0))return e.replace(q4,"");if(!e||!(t=T1(t)))return e;var r=vh(e),s=i6(r,vh(t));return m6(r,s).join("")}var g6=_6,sd=1/0,y6=9007199254740991,v6=17976931348623157e292,wh=NaN,b6="[object Symbol]",z6=/^\s+|\s+$/g,C6=/^[-+]0x[0-9a-f]+$/i,w6=/^0b[01]+$/i,k6=/^0o[0-7]+$/i,xm="\\ud800-\\udfff",O1="\\u0300-\\u036f\\ufe20-\\ufe23",D1="\\u20d0-\\u20f0",P1="\\ufe0e\\ufe0f",x6="["+xm+"]",od="["+O1+D1+"]",id="\\ud83c[\\udffb-\\udfff]",E6="(?:"+od+"|"+id+")",I1="[^"+xm+"]",F1="(?:\\ud83c[\\udde6-\\uddff]){2}",R1="[\\ud800-\\udbff][\\udc00-\\udfff]",L1="\\u200d",N1=E6+"?",M1="["+P1+"]?",S6="(?:"+L1+"(?:"+[I1,F1,R1].join("|")+")"+M1+N1+")*",$6=M1+N1+S6,A6="(?:"+[I1+od+"?",od,F1,R1,x6].join("|")+")",ad=RegExp(id+"(?="+id+")|"+A6+$6,"g"),T6=RegExp("["+L1+xm+O1+D1+P1+"]"),O6=parseInt,D6=typeof un=="object"&&un&&un.Object===Object&&un,P6=typeof self=="object"&&self&&self.Object===Object&&self,I6=D6||P6||Function("return this")(),F6=L6("length");function R6(e){return e.split("")}function L6(e){return function(t){return t==null?void 0:t[e]}}function Em(e){return T6.test(e)}function V1(e){return Em(e)?M6(e):F6(e)}function N6(e){return Em(e)?V6(e):R6(e)}function M6(e){for(var t=ad.lastIndex=0;ad.test(e);)t++;return t}function V6(e){return e.match(ad)||[]}var H6=Object.prototype,U6=H6.toString,kh=I6.Symbol,B6=Math.ceil,j6=Math.floor,xh=kh?kh.prototype:void 0,Eh=xh?xh.toString:void 0;function Sh(e,t){var n="";if(!e||t<1||t>y6)return n;do t%2&&(n+=e),t=j6(t/2),t&&(e+=e);while(t);return n}function q6(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 H1(e){if(typeof e=="string")return e;if(U1(e))return Eh?Eh.call(e):"";var t=e+"";return t=="0"&&1/e==-sd?"-0":t}function W6(e,t,n){var r=e.length;return n=n===void 0?r:n,!t&&n>=r?e:q6(e,t,n)}function G6(e,t){t=t===void 0?" ":H1(t);var n=t.length;if(n<2)return n?Sh(t,e):t;var r=Sh(t,B6(e/V1(t)));return Em(t)?W6(N6(r),0,e).join(""):r.slice(0,e)}function $h(e){var t=typeof e;return!!e&&(t=="object"||t=="function")}function K6(e){return!!e&&typeof e=="object"}function U1(e){return typeof e=="symbol"||K6(e)&&U6.call(e)==b6}function Z6(e){if(!e)return e===0?e:0;if(e=J6(e),e===sd||e===-sd){var t=e<0?-1:1;return t*v6}return e===e?e:0}function Y6(e){var t=Z6(e),n=t%1;return t===t?n?t-n:t:0}function J6(e){if(typeof e=="number")return e;if(U1(e))return wh;if($h(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=$h(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=e.replace(z6,"");var n=w6.test(e);return n||k6.test(e)?O6(e.slice(2),n?2:8):C6.test(e)?wh:+e}function X6(e){return e==null?"":H1(e)}function Q6(e,t,n){e=X6(e),t=Y6(t);var r=t?V1(e):0;return t&&r<t?e+G6(t-r,n):e}var e5=Q6,t5=(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 vi="a-f\\d",n5=`#?[${vi}]{3}[${vi}]?`,r5=`#?[${vi}]{6}([${vi}]{2})?`,s5=new RegExp(`[^#${vi}]`,"gi"),o5=new RegExp(`^${n5}$|^${r5}$`,"i");var i5=(e,t={})=>{if(typeof e!="string"||s5.test(e)||!o5.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,i=r&255,a=typeof t.alpha=="number"?t.alpha:n;if(t.format==="array")return[s,o,i,a];if(t.format==="css"){const l=a===1?"":` / ${Number((a*100).toFixed(2))}%`;return`rgb(${s} ${o} ${i}${l})`}return{red:s,green:o,blue:i,alpha:a}},a5=i4,l5=U4,u5=g6,c5=e5,d5=t5,B1=i5;const Ku=.75,Zu=.25,Yu=16777215,m5=49979693;var f5=function(e){return"#"+_5(String(JSON.stringify(e)))};function p5(e){var t=l5(e),n=[];return t.forEach(function(r){var s=a5(r);s&&n.push(B1(u5(s,"#"),{format:"array"}))}),n}function h5(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 _5(e){var t,n=p5(e);n.length>0&&(t=h5(n));var r=1,s=0,o=1;if(e.length>0)for(var i=0;i<e.length;i++)e[i].charCodeAt(0)>s&&(s=e[i].charCodeAt(0)),o=parseInt(Yu/s),r=(r+e[i].charCodeAt(0)*o*m5)%Yu;var a=(r*e.length%Yu).toString(16);a=c5(a,6,a);var l=B1(a,{format:"array"});return t?d5(Zu*l[0]+Ku*t[0],Zu*l[1]+Ku*t[1],Zu*l[2]+Ku*t[2]):a}const g5=Oi(f5);function y5(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((i,a)=>i+a)/255>.5}function v5(e){return y5(e)?"#000000":"#ffffff"}function b5(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 z5(e,t,n){const r=g5(t),s=v5(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 b5(o)}const C5={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?V.artwork_url_append_size_params(this.artwork_url,this.maxwidth,this.maxheight):V.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 z5(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 w5(e,t,n,r,s,o){const i=Vd("lazy");return k(),T("figure",null,[yt(u("img",{onClick:t[0]||(t[0]=a=>e.$emit("click"))},null,512),[[i,{src:o.artwork_url_with_size,lifecycle:s.lazy_lifecycle}]])])}const Fn=te(C5,[["render",w5]]),{t:Ju,locale:Sm}=ru.global,j1="GROUP_KEY_NONE";function $m(){return{compareFn:null,groupKeyFn:e=>j1}}function Rn(e,t=!1,n="_"){return{compareFn:t?null:(r,s)=>{const o=r[e]||n,i=s[e]||n;return o.localeCompare(i,Sm.value)},groupKeyFn:r=>{const s=(r[e]||n).charAt(0);return s.match(new RegExp("\\p{Letter}","gu"))?s.toUpperCase():s.match(new RegExp("\\p{Number}","gu"))?"#":"⌘"}}}function Am(e,{direction:t="asc",defaultValue:n=0}){return{compareFn:(r,s)=>{const o=r[e]||n,i=s[e]||n,a=o-i;return t==="asc"?a:a*-1},groupKeyFn:r=>{const s=r[e]||n;return Math.floor(s/10)}}}function k5(e,t="asc",n=1){return{compareFn:(r,s)=>{const o=r[e]||n,i=s[e]||n,a=o-i;return t==="asc"?a:a*-1},groupKeyFn:r=>r[e]||n}}function kl(e,{direction:t="asc",defaultValue:n="0000"}){return{compareFn:(r,s)=>{const o=r[e]||n,i=s[e]||n,a=o.localeCompare(i,Sm.value);return t==="asc"?a:a*-1},groupKeyFn:r=>(r[e]||n).substring(0,4)}}function x5(e,t="0000"){return{compareFn:(n,r)=>{const s=n[e]||t;return(r[e]||t).localeCompare(s,Sm.value)},groupKeyFn:n=>{const r=n[e];if(!r)return t;const s=new Date().getTime()-new Date(r).getTime();return s<864e5?Ju("group-by-list.today"):s<6048e5?Ju("group-by-list.last-week"):s<2592e6?Ju("group-by-list.last-month"):r.substring(0,4)}}}class ve{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($m())}isEmpty(){return!this.items||this.items.length<=0}group(t,n=[]){const r=n?this.items.filter(o=>n.every(i=>i(o))):this.items;this.count=r.length;const s=t.compareFn?[...r].sort(t.compareFn):r;this.indexList=[...new Set(s.map(t.groupKeyFn))],this.itemsGrouped=s.reduce((o,i)=>{const a=t.groupKeyFn(i);return o[a]=[...o[a]||[],i],o},{})}*generate(){for(const t in this.itemsGrouped){t!==j1&&(yield{groupKey:t,itemId:t,isItem:!1,item:{}});for(const n of this.itemsGrouped[t])yield{groupKey:t,itemId:n.id,isItem:!0,item:n}}}[Symbol.iterator](){return this.generate()}}var q1={exports:{}};(function(e){var t=function(){var n="https://api.spotify.com/v1",r=null,s=null,o=function(f,p){return f.abort=p,f},i=function(f,p){var h;if(s!==null){var _=s.defer();f(function(b){_.resolve(b)},function(b){_.reject(b)}),h=_.promise}else window.Promise&&(h=new window.Promise(f));return h?new o(h,p):null},a=function(){var f=Array.prototype.slice.call(arguments),p=f[0],h=f.slice(1);return p=p||{},h.forEach(function(_){for(var b in _)_.hasOwnProperty(b)&&(p[b]=_[b])}),p},l=function(f,p){var h="";for(var _ in p)if(p.hasOwnProperty(_)){var b=p[_];h+=encodeURIComponent(_)+"="+encodeURIComponent(b)+"&"}return h.length>0&&(h=h.substring(0,h.length-1),f=f+"?"+h),f},c=function(f,p){var h=new XMLHttpRequest,_=function(b,C){function w(x){b&&b(x),p&&p(null,x)}function v(){C&&C(h),p&&p(h,null)}var z=f.type||"GET";if(h.open(z,l(f.url,f.params)),r&&h.setRequestHeader("Authorization","Bearer "+r),h.onreadystatechange=function(){if(h.readyState===4){var x=null;try{x=h.responseText?JSON.parse(h.responseText):""}catch(N){console.error(N)}h.status>=200&&h.status<300?w(x):v()}},z==="GET")h.send(null);else{var S=null;f.postData&&(f.contentType==="image/jpeg"?(S=f.postData,h.setRequestHeader("Content-Type",f.contentType)):(S=JSON.stringify(f.postData),h.setRequestHeader("Content-Type","application/json"))),h.send(S)}};return p?(_(),null):i(_,function(){h.abort()})},d=function(f,p,h,_){var b={},C=null;typeof p=="object"?(b=p,C=h):typeof p=="function"&&(C=p);var w=f.type||"GET";return w!=="GET"&&f.postData&&!_?f.postData=a(f.postData,b):f.params=a(f.params,b),c(f,C)},m=function(){};return m.prototype={constructor:t},m.prototype.getGeneric=function(f,p){var h={url:f};return d(h,p)},m.prototype.getMe=function(f,p){var h={url:n+"/me"};return d(h,f,p)},m.prototype.getMySavedTracks=function(f,p){var h={url:n+"/me/tracks"};return d(h,f,p)},m.prototype.addToMySavedTracks=function(f,p,h){var _={url:n+"/me/tracks",type:"PUT",postData:f};return d(_,p,h)},m.prototype.removeFromMySavedTracks=function(f,p,h){var _={url:n+"/me/tracks",type:"DELETE",postData:f};return d(_,p,h)},m.prototype.containsMySavedTracks=function(f,p,h){var _={url:n+"/me/tracks/contains",params:{ids:f.join(",")}};return d(_,p,h)},m.prototype.getMySavedAlbums=function(f,p){var h={url:n+"/me/albums"};return d(h,f,p)},m.prototype.addToMySavedAlbums=function(f,p,h){var _={url:n+"/me/albums",type:"PUT",postData:f};return d(_,p,h)},m.prototype.removeFromMySavedAlbums=function(f,p,h){var _={url:n+"/me/albums",type:"DELETE",postData:f};return d(_,p,h)},m.prototype.containsMySavedAlbums=function(f,p,h){var _={url:n+"/me/albums/contains",params:{ids:f.join(",")}};return d(_,p,h)},m.prototype.getMyTopArtists=function(f,p){var h={url:n+"/me/top/artists"};return d(h,f,p)},m.prototype.getMyTopTracks=function(f,p){var h={url:n+"/me/top/tracks"};return d(h,f,p)},m.prototype.getMyRecentlyPlayedTracks=function(f,p){var h={url:n+"/me/player/recently-played"};return d(h,f,p)},m.prototype.followUsers=function(f,p){var h={url:n+"/me/following/",type:"PUT",params:{ids:f.join(","),type:"user"}};return d(h,p)},m.prototype.followArtists=function(f,p){var h={url:n+"/me/following/",type:"PUT",params:{ids:f.join(","),type:"artist"}};return d(h,p)},m.prototype.followPlaylist=function(f,p,h){var _={url:n+"/playlists/"+f+"/followers",type:"PUT",postData:{}};return d(_,p,h)},m.prototype.unfollowUsers=function(f,p){var h={url:n+"/me/following/",type:"DELETE",params:{ids:f.join(","),type:"user"}};return d(h,p)},m.prototype.unfollowArtists=function(f,p){var h={url:n+"/me/following/",type:"DELETE",params:{ids:f.join(","),type:"artist"}};return d(h,p)},m.prototype.unfollowPlaylist=function(f,p){var h={url:n+"/playlists/"+f+"/followers",type:"DELETE"};return d(h,p)},m.prototype.isFollowingUsers=function(f,p){var h={url:n+"/me/following/contains",type:"GET",params:{ids:f.join(","),type:"user"}};return d(h,p)},m.prototype.isFollowingArtists=function(f,p){var h={url:n+"/me/following/contains",type:"GET",params:{ids:f.join(","),type:"artist"}};return d(h,p)},m.prototype.areFollowingPlaylist=function(f,p,h){var _={url:n+"/playlists/"+f+"/followers/contains",type:"GET",params:{ids:p.join(",")}};return d(_,h)},m.prototype.getFollowedArtists=function(f,p){var h={url:n+"/me/following",type:"GET",params:{type:"artist"}};return d(h,f,p)},m.prototype.getUser=function(f,p,h){var _={url:n+"/users/"+encodeURIComponent(f)};return d(_,p,h)},m.prototype.getUserPlaylists=function(f,p,h){var _;return typeof f=="string"?_={url:n+"/users/"+encodeURIComponent(f)+"/playlists"}:(_={url:n+"/me/playlists"},h=p,p=f),d(_,p,h)},m.prototype.getPlaylist=function(f,p,h){var _={url:n+"/playlists/"+f};return d(_,p,h)},m.prototype.getPlaylistTracks=function(f,p,h){var _={url:n+"/playlists/"+f+"/tracks"};return d(_,p,h)},m.prototype.getPlaylistCoverImage=function(f,p){var h={url:n+"/playlists/"+f+"/images"};return d(h,p)},m.prototype.createPlaylist=function(f,p,h){var _={url:n+"/users/"+encodeURIComponent(f)+"/playlists",type:"POST",postData:p};return d(_,p,h)},m.prototype.changePlaylistDetails=function(f,p,h){var _={url:n+"/playlists/"+f,type:"PUT",postData:p};return d(_,p,h)},m.prototype.addTracksToPlaylist=function(f,p,h,_){var b={url:n+"/playlists/"+f+"/tracks",type:"POST",postData:{uris:p}};return d(b,h,_,!0)},m.prototype.replaceTracksInPlaylist=function(f,p,h){var _={url:n+"/playlists/"+f+"/tracks",type:"PUT",postData:{uris:p}};return d(_,{},h)},m.prototype.reorderTracksInPlaylist=function(f,p,h,_,b){var C={url:n+"/playlists/"+f+"/tracks",type:"PUT",postData:{range_start:p,insert_before:h}};return d(C,_,b)},m.prototype.removeTracksFromPlaylist=function(f,p,h){var _=p.map(function(C){return typeof C=="string"?{uri:C}:C}),b={url:n+"/playlists/"+f+"/tracks",type:"DELETE",postData:{tracks:_}};return d(b,{},h)},m.prototype.removeTracksFromPlaylistWithSnapshotId=function(f,p,h,_){var b=p.map(function(w){return typeof w=="string"?{uri:w}:w}),C={url:n+"/playlists/"+f+"/tracks",type:"DELETE",postData:{tracks:b,snapshot_id:h}};return d(C,{},_)},m.prototype.removeTracksFromPlaylistInPositions=function(f,p,h,_){var b={url:n+"/playlists/"+f+"/tracks",type:"DELETE",postData:{positions:p,snapshot_id:h}};return d(b,{},_)},m.prototype.uploadCustomPlaylistCoverImage=function(f,p,h){var _={url:n+"/playlists/"+f+"/images",type:"PUT",postData:p.replace(/^data:image\/jpeg;base64,/,""),contentType:"image/jpeg"};return d(_,{},h)},m.prototype.getAlbum=function(f,p,h){var _={url:n+"/albums/"+f};return d(_,p,h)},m.prototype.getAlbumTracks=function(f,p,h){var _={url:n+"/albums/"+f+"/tracks"};return d(_,p,h)},m.prototype.getAlbums=function(f,p,h){var _={url:n+"/albums/",params:{ids:f.join(",")}};return d(_,p,h)},m.prototype.getTrack=function(f,p,h){var _={};return _.url=n+"/tracks/"+f,d(_,p,h)},m.prototype.getTracks=function(f,p,h){var _={url:n+"/tracks/",params:{ids:f.join(",")}};return d(_,p,h)},m.prototype.getArtist=function(f,p,h){var _={url:n+"/artists/"+f};return d(_,p,h)},m.prototype.getArtists=function(f,p,h){var _={url:n+"/artists/",params:{ids:f.join(",")}};return d(_,p,h)},m.prototype.getArtistAlbums=function(f,p,h){var _={url:n+"/artists/"+f+"/albums"};return d(_,p,h)},m.prototype.getArtistTopTracks=function(f,p,h,_){var b={url:n+"/artists/"+f+"/top-tracks",params:{country:p}};return d(b,h,_)},m.prototype.getArtistRelatedArtists=function(f,p,h){var _={url:n+"/artists/"+f+"/related-artists"};return d(_,p,h)},m.prototype.getFeaturedPlaylists=function(f,p){var h={url:n+"/browse/featured-playlists"};return d(h,f,p)},m.prototype.getNewReleases=function(f,p){var h={url:n+"/browse/new-releases"};return d(h,f,p)},m.prototype.getCategories=function(f,p){var h={url:n+"/browse/categories"};return d(h,f,p)},m.prototype.getCategory=function(f,p,h){var _={url:n+"/browse/categories/"+f};return d(_,p,h)},m.prototype.getCategoryPlaylists=function(f,p,h){var _={url:n+"/browse/categories/"+f+"/playlists"};return d(_,p,h)},m.prototype.search=function(f,p,h,_){var b={url:n+"/search/",params:{q:f,type:p.join(",")}};return d(b,h,_)},m.prototype.searchAlbums=function(f,p,h){return this.search(f,["album"],p,h)},m.prototype.searchArtists=function(f,p,h){return this.search(f,["artist"],p,h)},m.prototype.searchTracks=function(f,p,h){return this.search(f,["track"],p,h)},m.prototype.searchPlaylists=function(f,p,h){return this.search(f,["playlist"],p,h)},m.prototype.searchShows=function(f,p,h){return this.search(f,["show"],p,h)},m.prototype.searchEpisodes=function(f,p,h){return this.search(f,["episode"],p,h)},m.prototype.getAudioFeaturesForTrack=function(f,p){var h={};return h.url=n+"/audio-features/"+f,d(h,{},p)},m.prototype.getAudioFeaturesForTracks=function(f,p){var h={url:n+"/audio-features",params:{ids:f}};return d(h,{},p)},m.prototype.getAudioAnalysisForTrack=function(f,p){var h={};return h.url=n+"/audio-analysis/"+f,d(h,{},p)},m.prototype.getRecommendations=function(f,p){var h={url:n+"/recommendations"};return d(h,f,p)},m.prototype.getAvailableGenreSeeds=function(f){var p={url:n+"/recommendations/available-genre-seeds"};return d(p,{},f)},m.prototype.getMyDevices=function(f){var p={url:n+"/me/player/devices"};return d(p,{},f)},m.prototype.getMyCurrentPlaybackState=function(f,p){var h={url:n+"/me/player"};return d(h,f,p)},m.prototype.getMyCurrentPlayingTrack=function(f,p){var h={url:n+"/me/player/currently-playing"};return d(h,f,p)},m.prototype.transferMyPlayback=function(f,p,h){var _=p||{};_.device_ids=f;var b={type:"PUT",url:n+"/me/player",postData:_};return d(b,p,h)},m.prototype.play=function(f,p){f=f||{};var h="device_id"in f?{device_id:f.device_id}:null,_={};["context_uri","uris","offset","position_ms"].forEach(function(w){w in f&&(_[w]=f[w])});var b={type:"PUT",url:n+"/me/player/play",params:h,postData:_},C=typeof f=="function"?f:{};return d(b,C,p)},m.prototype.queue=function(f,p,h){p=p||{};var _="device_id"in p?{uri:f,device_id:p.device_id}:{uri:f},b={type:"POST",url:n+"/me/player/queue",params:_};return d(b,p,h)},m.prototype.pause=function(f,p){f=f||{};var h="device_id"in f?{device_id:f.device_id}:null,_={type:"PUT",url:n+"/me/player/pause",params:h};return d(_,f,p)},m.prototype.skipToNext=function(f,p){f=f||{};var h="device_id"in f?{device_id:f.device_id}:null,_={type:"POST",url:n+"/me/player/next",params:h};return d(_,f,p)},m.prototype.skipToPrevious=function(f,p){f=f||{};var h="device_id"in f?{device_id:f.device_id}:null,_={type:"POST",url:n+"/me/player/previous",params:h};return d(_,f,p)},m.prototype.seek=function(f,p,h){p=p||{};var _={position_ms:f};"device_id"in p&&(_.device_id=p.device_id);var b={type:"PUT",url:n+"/me/player/seek",params:_};return d(b,p,h)},m.prototype.setRepeat=function(f,p,h){p=p||{};var _={state:f};"device_id"in p&&(_.device_id=p.device_id);var b={type:"PUT",url:n+"/me/player/repeat",params:_};return d(b,p,h)},m.prototype.setVolume=function(f,p,h){p=p||{};var _={volume_percent:f};"device_id"in p&&(_.device_id=p.device_id);var b={type:"PUT",url:n+"/me/player/volume",params:_};return d(b,p,h)},m.prototype.setShuffle=function(f,p,h){p=p||{};var _={state:f};"device_id"in p&&(_.device_id=p.device_id);var b={type:"PUT",url:n+"/me/player/shuffle",params:_};return d(b,p,h)},m.prototype.getShow=function(f,p,h){var _={};return _.url=n+"/shows/"+f,d(_,p,h)},m.prototype.getShows=function(f,p,h){var _={url:n+"/shows/",params:{ids:f.join(",")}};return d(_,p,h)},m.prototype.getMySavedShows=function(f,p){var h={url:n+"/me/shows"};return d(h,f,p)},m.prototype.addToMySavedShows=function(f,p,h){var _={url:n+"/me/shows",type:"PUT",postData:f};return d(_,p,h)},m.prototype.removeFromMySavedShows=function(f,p,h){var _={url:n+"/me/shows",type:"DELETE",postData:f};return d(_,p,h)},m.prototype.containsMySavedShows=function(f,p,h){var _={url:n+"/me/shows/contains",params:{ids:f.join(",")}};return d(_,p,h)},m.prototype.getShowEpisodes=function(f,p,h){var _={url:n+"/shows/"+f+"/episodes"};return d(_,p,h)},m.prototype.getEpisode=function(f,p,h){var _={};return _.url=n+"/episodes/"+f,d(_,p,h)},m.prototype.getEpisodes=function(f,p,h){var _={url:n+"/episodes/",params:{ids:f.join(",")}};return d(_,p,h)},m.prototype.getAccessToken=function(){return r},m.prototype.setAccessToken=function(f){r=f},m.prototype.setPromiseImplementation=function(f){var p=!1;try{var h=new f(function(_){_()});typeof h.then=="function"&&typeof h.catch=="function"&&(p=!0)}catch(_){console.error(_)}if(p)s=f;else throw new Error("Unsupported implementation of Promises/A+")},m}();e.exports=t})(q1);var E5=q1.exports;const Yn=Oi(E5),S5={name:"ModalDialogTrack",props:["show","track"],emits:["close","play-count-changed"],data(){return{spotify_track:{}}},watch:{track(){if(this.track&&this.track.data_kind==="spotify"&&this.track.media_kind!=="podcast"){const e=new Yn;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:{mark_new(){V.library_track_update(this.track.id,{play_count:"reset"}).then(()=>{this.$emit("play-count-changed"),this.$emit("close")})},mark_played(){V.library_track_update(this.track.id,{play_count:"increment"}).then(()=>{this.$emit("play-count-changed"),this.$emit("close")})},open_album(){this.track.data_kind==="spotify"&&this.track.media_kind!=="podcast"?this.$router.push({name:"music-spotify-album",params:{id:this.spotify_track.album.id}}):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.track.media_kind==="music"&&this.$router.push({name:"music-album",params:{id:this.track.album_id}})},open_album_artist(){this.track.data_kind==="spotify"?this.$router.push({name:"music-spotify-artist",params:{id:this.spotify_track.artists[0].id}}):this.track.media_kind==="music"||this.track.media_kind==="podcast"?this.$router.push({name:"music-artist",params:{id:this.track.album_artist_id}}):this.track.media_kind==="audiobook"&&this.$router.push({name:"audiobooks-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}})},play(){this.$emit("close"),V.player_play_uri(this.track.uri,!1)},queue_add(){this.$emit("close"),V.queue_add(this.track.uri)},queue_add_next(){this.$emit("close"),V.queue_add_next(this.track.uri)}}},$5={key:0,class:"modal is-active"},A5={class:"modal-content fd-modal-card"},T5={class:"card"},O5={class:"card-content"},D5=["textContent"],P5=["textContent"],I5={key:0,class:"buttons"},F5=["textContent"],R5=["textContent"],L5={class:"content is-small"},N5={key:0},M5=["textContent"],V5=["textContent"],H5={key:1},U5=["textContent"],B5=["textContent"],j5={key:2},q5=["textContent"],W5=["textContent"],G5={key:3},K5=["textContent"],Z5=["textContent"],Y5={key:4},J5=["textContent"],X5=["textContent"],Q5={key:5},eD=["textContent"],tD=["textContent"],nD={key:6},rD=["textContent"],sD=["textContent"],oD={key:7},iD=["textContent"],aD=["textContent"],lD=["textContent"],uD=["textContent"],cD=["textContent"],dD={class:"title is-6"},mD=["textContent"],fD={key:8},pD=["textContent"],hD={class:"title is-6"},_D=["textContent"],gD=["textContent"],yD=["textContent"],vD=["textContent"],bD=["textContent"],zD=["textContent"],CD=["textContent"],wD=["textContent"],kD={key:9},xD=["textContent"],ED=["textContent"],SD={class:"card-footer"},$D=["textContent"],AD=["textContent"],TD=["textContent"];function OD(e,t,n,r,s,o){const i=$("mdicon");return k(),T("div",null,[y(It,{name:"fade"},{default:E(()=>[n.show?(k(),T("div",$5,[u("div",{class:"modal-background",onClick:t[0]||(t[0]=a=>e.$emit("close"))}),u("div",A5,[u("div",T5,[u("div",O5,[u("p",{class:"title is-4",textContent:g(n.track.title)},null,8,D5),u("p",{class:"subtitle",textContent:g(n.track.artist)},null,8,P5),n.track.media_kind==="podcast"?(k(),T("div",I5,[n.track.play_count>0?(k(),T("a",{key:0,class:"button is-small",onClick:t[1]||(t[1]=(...a)=>o.mark_new&&o.mark_new(...a)),textContent:g(e.$t("dialog.track.mark-as-new"))},null,8,F5)):M("",!0),n.track.play_count===0?(k(),T("a",{key:1,class:"button is-small",onClick:t[2]||(t[2]=(...a)=>o.mark_played&&o.mark_played(...a)),textContent:g(e.$t("dialog.track.mark-as-played"))},null,8,R5)):M("",!0)])):M("",!0),u("div",L5,[n.track.album?(k(),T("p",N5,[u("span",{class:"heading",textContent:g(e.$t("dialog.track.album"))},null,8,M5),u("a",{class:"title is-6 has-text-link",onClick:t[3]||(t[3]=(...a)=>o.open_album&&o.open_album(...a)),textContent:g(n.track.album)},null,8,V5)])):M("",!0),n.track.album_artist&&n.track.media_kind!=="audiobook"?(k(),T("p",H5,[u("span",{class:"heading",textContent:g(e.$t("dialog.track.album-artist"))},null,8,U5),u("a",{class:"title is-6 has-text-link",onClick:t[4]||(t[4]=(...a)=>o.open_album_artist&&o.open_album_artist(...a)),textContent:g(n.track.album_artist)},null,8,B5)])):M("",!0),n.track.composer?(k(),T("p",j5,[u("span",{class:"heading",textContent:g(e.$t("dialog.track.composer"))},null,8,q5),u("span",{class:"title is-6",textContent:g(n.track.composer)},null,8,W5)])):M("",!0),n.track.date_released?(k(),T("p",G5,[u("span",{class:"heading",textContent:g(e.$t("dialog.track.release-date"))},null,8,K5),u("span",{class:"title is-6",textContent:g(e.$filters.date(n.track.date_released))},null,8,Z5)])):n.track.year?(k(),T("p",Y5,[u("span",{class:"heading",textContent:g(e.$t("dialog.track.year"))},null,8,J5),u("span",{class:"title is-6",textContent:g(n.track.year)},null,8,X5)])):M("",!0),n.track.genre?(k(),T("p",Q5,[u("span",{class:"heading",textContent:g(e.$t("dialog.track.genre"))},null,8,eD),u("a",{class:"title is-6 has-text-link",onClick:t[5]||(t[5]=(...a)=>o.open_genre&&o.open_genre(...a)),textContent:g(n.track.genre)},null,8,tD)])):M("",!0),n.track.disc_number?(k(),T("p",nD,[u("span",{class:"heading",textContent:g(e.$t("dialog.track.position"))},null,8,rD),u("span",{class:"title is-6",textContent:g([n.track.disc_number,n.track.track_number].join(" / "))},null,8,sD)])):M("",!0),n.track.length_ms?(k(),T("p",oD,[u("span",{class:"heading",textContent:g(e.$t("dialog.track.duration"))},null,8,iD),u("span",{class:"title is-6",textContent:g(e.$filters.durationInHours(n.track.length_ms))},null,8,aD)])):M("",!0),u("p",null,[u("span",{class:"heading",textContent:g(e.$t("dialog.track.path"))},null,8,lD),u("span",{class:"title is-6",textContent:g(n.track.path)},null,8,uD)]),u("p",null,[u("span",{class:"heading",textContent:g(e.$t("dialog.track.type"))},null,8,cD),u("span",dD,[u("span",{textContent:g([e.$t("media.kind."+n.track.media_kind),e.$t("data.kind."+n.track.data_kind)].join(" - "))},null,8,mD)])]),n.track.samplerate?(k(),T("p",fD,[u("span",{class:"heading",textContent:g(e.$t("dialog.track.quality"))},null,8,pD),u("span",hD,[u("span",{textContent:g(n.track.type)},null,8,_D),n.track.samplerate?(k(),T("span",{key:0,textContent:g(e.$t("dialog.track.samplerate",{rate:n.track.samplerate}))},null,8,gD)):M("",!0),n.track.channels?(k(),T("span",{key:1,textContent:g(e.$t("dialog.track.channels",{channels:e.$filters.channels(n.track.channels)}))},null,8,yD)):M("",!0),n.track.bitrate?(k(),T("span",{key:2,textContent:g(e.$t("dialog.track.bitrate",{rate:n.track.bitrate}))},null,8,vD)):M("",!0)])])):M("",!0),u("p",null,[u("span",{class:"heading",textContent:g(e.$t("dialog.track.added-on"))},null,8,bD),u("span",{class:"title is-6",textContent:g(e.$filters.datetime(n.track.time_added))},null,8,zD)]),u("p",null,[u("span",{class:"heading",textContent:g(e.$t("dialog.track.rating"))},null,8,CD),u("span",{class:"title is-6",textContent:g(e.$t("dialog.track.rating-value",{rating:Math.floor(n.track.rating/10)}))},null,8,wD)]),n.track.comment?(k(),T("p",kD,[u("span",{class:"heading",textContent:g(e.$t("dialog.track.comment"))},null,8,xD),u("span",{class:"title is-6",textContent:g(n.track.comment)},null,8,ED)])):M("",!0)])]),u("footer",SD,[u("a",{class:"card-footer-item has-text-dark",onClick:t[6]||(t[6]=(...a)=>o.queue_add&&o.queue_add(...a))},[y(i,{class:"icon",name:"playlist-plus",size:"16"}),u("span",{class:"is-size-7",textContent:g(e.$t("dialog.track.add"))},null,8,$D)]),u("a",{class:"card-footer-item has-text-dark",onClick:t[7]||(t[7]=(...a)=>o.queue_add_next&&o.queue_add_next(...a))},[y(i,{class:"icon",name:"playlist-play",size:"16"}),u("span",{class:"is-size-7",textContent:g(e.$t("dialog.track.add-next"))},null,8,AD)]),u("a",{class:"card-footer-item has-text-dark",onClick:t[8]||(t[8]=(...a)=>o.play&&o.play(...a))},[y(i,{class:"icon",name:"play",size:"16"}),u("span",{class:"is-size-7",textContent:g(e.$t("dialog.track.play"))},null,8,TD)])])])]),u("button",{class:"modal-close is-large","aria-label":"close",onClick:t[9]||(t[9]=a=>e.$emit("close"))})])):M("",!0)]),_:1})])}const DD=te(S5,[["render",OD]]),PD={name:"ListTracks",components:{ModalDialogTrack:DD},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?V.player_play_uri(this.uris,!1,this.tracks.items.indexOf(e)):this.expression?V.player_play_expression(this.expression,!1,this.tracks.items.indexOf(e)):V.player_play_uri(e.uri,!1)},open_dialog(e){this.selected_track=e,this.show_details_modal=!0}}},ID={key:0,class:"mt-6 mb-5 py-2"},FD=["id","textContent"],RD=["onClick"],LD={key:0,class:"media-left is-clickable"},ND={class:"media-content is-clickable is-clipped"},MD=["textContent"],VD=["textContent"],HD=["textContent"],UD=["max","value"],BD={class:"media-right"},jD=["onClick"];function qD(e,t,n,r,s,o){const i=$("mdicon"),a=$("modal-dialog-track");return k(),T(we,null,[(k(!0),T(we,null,ct(n.tracks,l=>(k(),T(we,{key:l.itemId},[l.isItem?(k(),T("div",{key:1,class:Ee(["media is-align-items-center",{"with-progress":n.show_progress}]),onClick:c=>o.play_track(l.item)},[n.show_icon?(k(),T("figure",LD,[y(i,{class:"icon",name:"file-outline",size:"16"})])):M("",!0),u("div",ND,[u("h1",{class:Ee(["title is-6",{"has-text-grey":l.item.media_kind==="podcast"&&l.item.play_count>0}]),textContent:g(l.item.title)},null,10,MD),u("h2",{class:"subtitle is-7 has-text-grey has-text-weight-bold",textContent:g(l.item.artist)},null,8,VD),u("h2",{class:"subtitle is-7 has-text-grey",textContent:g(l.item.album)},null,8,HD),n.show_progress&&l.item.seek_ms>0?(k(),T("progress",{key:0,class:"progress is-info",max:l.item.length_ms,value:l.item.seek_ms},null,8,UD)):M("",!0)]),u("div",BD,[u("a",{onClick:st(c=>o.open_dialog(l.item),["prevent","stop"])},[y(i,{class:"icon has-text-dark",name:"dots-vertical",size:"16"})],8,jD)])],10,RD)):(k(),T("div",ID,[u("span",{id:"index_"+l.groupKey,class:"tag is-info is-light is-small has-text-weight-bold",textContent:g(l.groupKey)},null,8,FD)]))],64))),128)),(k(),_e(Yr,{to:"#app"},[y(a,{show:s.show_details_modal,track:s.selected_track,onClose:t[0]||(t[0]=l=>s.show_details_modal=!1),onPlayCountChanged:t[1]||(t[1]=l=>e.$emit("play-count-changed"))},null,8,["show","track"])]))],64)}const Cn=te(PD,[["render",qD],["__scopeId","data-v-323e80b3"]]),WD={name:"ModalDialogAlbum",components:{CoverArtwork:Fn},props:["show","album","media_kind","new_tracks"],emits:["close","remove-podcast","play-count-changed"],data(){return{artwork_visible:!1}},computed:{artwork_url(){return V.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"),V.player_play_uri(this.album.uri,!1)},queue_add(){this.$emit("close"),V.queue_add(this.album.uri)},queue_add_next(){this.$emit("close"),V.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(){V.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}}},GD={key:0,class:"modal is-active"},KD={class:"modal-content fd-modal-card"},ZD={class:"card"},YD={class:"card-content"},JD={class:"title is-4"},XD=["textContent"],QD={key:0,class:"buttons"},eP=["textContent"],tP=["textContent"],nP={class:"content is-small"},rP={key:0},sP=["textContent"],oP=["textContent"],iP={key:1},aP=["textContent"],lP=["textContent"],uP={key:2},cP=["textContent"],dP=["textContent"],mP=["textContent"],fP=["textContent"],pP=["textContent"],hP=["textContent"],_P=["textContent"],gP=["textContent"],yP=["textContent"],vP=["textContent"],bP={class:"card-footer"},zP=["textContent"],CP=["textContent"],wP=["textContent"];function kP(e,t,n,r,s,o){const i=$("cover-artwork"),a=$("mdicon");return k(),T("div",null,[y(It,{name:"fade"},{default:E(()=>[n.show?(k(),T("div",GD,[u("div",{class:"modal-background",onClick:t[0]||(t[0]=l=>e.$emit("close"))}),u("div",KD,[u("div",ZD,[u("div",YD,[y(i,{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",JD,[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,XD)]),o.media_kind_resolved==="podcast"?(k(),T("div",QD,[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,eP),n.album.data_kind==="url"?(k(),T("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,tP)):M("",!0)])):M("",!0),u("div",nP,[n.album.artist?(k(),T("p",rP,[u("span",{class:"heading",textContent:g(e.$t("dialog.album.artist"))},null,8,sP),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,oP)])):M("",!0),n.album.date_released?(k(),T("p",iP,[u("span",{class:"heading",textContent:g(e.$t("dialog.album.release-date"))},null,8,aP),u("span",{class:"title is-6",textContent:g(e.$filters.date(n.album.date_released))},null,8,lP)])):n.album.year>0?(k(),T("p",uP,[u("span",{class:"heading",textContent:g(e.$t("dialog.album.year"))},null,8,cP),u("span",{class:"title is-6",textContent:g(n.album.year)},null,8,dP)])):M("",!0),u("p",null,[u("span",{class:"heading",textContent:g(e.$t("dialog.album.tracks"))},null,8,mP),u("span",{class:"title is-6",textContent:g(n.album.track_count)},null,8,fP)]),u("p",null,[u("span",{class:"heading",textContent:g(e.$t("dialog.album.duration"))},null,8,pP),u("span",{class:"title is-6",textContent:g(e.$filters.durationInHours(n.album.length_ms))},null,8,hP)]),u("p",null,[u("span",{class:"heading",textContent:g(e.$t("dialog.album.type"))},null,8,_P),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,gP)]),u("p",null,[u("span",{class:"heading",textContent:g(e.$t("dialog.album.added-on"))},null,8,yP),u("span",{class:"title is-6",textContent:g(e.$filters.datetime(n.album.time_added))},null,8,vP)])])]),u("footer",bP,[u("a",{class:"card-footer-item has-text-dark",onClick:t[5]||(t[5]=(...l)=>o.queue_add&&o.queue_add(...l))},[y(a,{class:"icon",name:"playlist-plus",size:"16"}),u("span",{class:"is-size-7",textContent:g(e.$t("dialog.album.add"))},null,8,zP)]),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(a,{class:"icon",name:"playlist-play",size:"16"}),u("span",{class:"is-size-7",textContent:g(e.$t("dialog.album.add-next"))},null,8,CP)]),u("a",{class:"card-footer-item has-text-dark",onClick:t[7]||(t[7]=(...l)=>o.play&&o.play(...l))},[y(a,{class:"icon",name:"play",size:"16"}),u("span",{class:"is-size-7",textContent:g(e.$t("dialog.album.play"))},null,8,wP)])])])]),u("button",{class:"modal-close is-large","aria-label":"close",onClick:t[8]||(t[8]=l=>e.$emit("close"))})])):M("",!0)]),_:1})])}const du=te(WD,[["render",kP]]),ia={load(e){return Promise.all([V.library_album(e.params.id),V.library_album_tracks(e.params.id)])},set(e,t){e.album=t[0].data,e.tracks=new ve(t[1].data),e.tracks.group(k5("disc_number")),e.tracks.indexList<=1&&e.tracks.group($m())}},xP={name:"PageAlbum",components:{ContentWithHero:cu,CoverArtwork:Fn,ListTracks:Cn,ModalDialogAlbum:du},beforeRouteEnter(e,t,n){ia.load(e).then(r=>{n(s=>ia.set(s,r))})},beforeRouteUpdate(e,t,n){const r=this;ia.load(e).then(s=>{ia.set(r,s),n()})},data(){return{album:{},show_details_modal:!1,tracks:new ve}},methods:{open_artist(){this.show_details_modal=!1,this.$router.push({name:"music-artist",params:{id:this.album.artist_id}})},play(){V.player_play_uri(this.album.uri,!0)}}},EP=["textContent"],SP={class:"subtitle is-6 has-text-link"},$P=["textContent"],AP={class:"buttons fd-is-centered-mobile mt-5"},TP=["textContent"],OP=["textContent"];function DP(e,t,n,r,s,o){const i=$("mdicon"),a=$("cover-artwork"),l=$("list-tracks"),c=$("modal-dialog-album"),d=$("content-with-hero");return k(),T("div",null,[y(d,null,{"heading-left":E(()=>[u("h1",{class:"title is-5",textContent:g(s.album.name)},null,8,EP),u("h2",SP,[u("a",{class:"has-text-link",onClick:t[0]||(t[0]=(...m)=>o.open_artist&&o.open_artist(...m)),textContent:g(s.album.artist)},null,8,$P)]),u("div",AP,[u("a",{class:"button is-small is-dark is-rounded",onClick:t[1]||(t[1]=(...m)=>o.play&&o.play(...m))},[y(i,{class:"icon",name:"shuffle",size:"16"}),u("span",{textContent:g(e.$t("page.album.shuffle"))},null,8,TP)]),u("a",{class:"button is-small is-light is-rounded",onClick:t[2]||(t[2]=m=>s.show_details_modal=!0)},[y(i,{class:"icon",name:"dots-horizontal",size:"16"})])])]),"heading-right":E(()=>[y(a,{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]=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.album.track-count",{count:s.album.track_count}))},null,8,OP),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]=m=>s.show_details_modal=!1)},null,8,["show","album"])]),_:1})])}const PP=te(xP,[["render",DP]]),IP={name:"ListItemTrackSpotify",props:["track","position","context_uri"],methods:{play(){this.track.is_playable&&V.player_play_uri(this.context_uri,!1,this.position)}}},FP={class:"media is-align-items-center"},RP=["textContent"],LP=["textContent"],NP={key:0,class:"subtitle is-7"},MP=["textContent"],VP=["textContent"],HP={class:"media-right"};function UP(e,t,n,r,s,o){return k(),T("div",FP,[u("div",{class:Ee(["media-content is-clipped",{"is-clickable":n.track.is_playable,"fd-is-not-allowed":!n.track.is_playable}]),onClick:t[0]||(t[0]=(...i)=>o.play&&o.play(...i))},[u("h1",{class:Ee(["title is-6",{"has-text-grey-light":!n.track.is_playable}]),textContent:g(n.track.name)},null,10,RP),u("h2",{class:Ee(["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,LP),n.track.is_playable?M("",!0):(k(),T("h2",NP,[gt(" ("),u("span",{textContent:g(e.$t("list.spotify.not-playable-track"))},null,8,MP),n.track.restrictions&&n.track.restrictions.reason?(k(),T("span",{key:0,textContent:g(e.$t("list.spotify.restriction-reason",{reason:n.track.restrictions.reason}))},null,8,VP)):M("",!0),gt(") ")]))],2),u("div",HP,[it(e.$slots,"actions")])])}const Tm=te(IP,[["render",UP]]),BP={name:"ModalDialogAlbumSpotify",components:{CoverArtwork:Fn},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"),V.player_play_uri(this.album.uri,!1)},queue_add(){this.$emit("close"),V.queue_add(this.album.uri)},queue_add_next(){this.$emit("close"),V.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}}},jP={key:0,class:"modal is-active"},qP={class:"modal-content fd-modal-card"},WP={class:"card"},GP={class:"card-content"},KP={class:"title is-4"},ZP=["textContent"],YP={class:"content is-small"},JP=["textContent"],XP=["textContent"],QP=["textContent"],eI=["textContent"],tI=["textContent"],nI=["textContent"],rI={class:"card-footer"},sI=["textContent"],oI=["textContent"],iI=["textContent"];function aI(e,t,n,r,s,o){const i=$("cover-artwork"),a=$("mdicon");return k(),T("div",null,[y(It,{name:"fade"},{default:E(()=>[n.show?(k(),T("div",jP,[u("div",{class:"modal-background",onClick:t[0]||(t[0]=l=>e.$emit("close"))}),u("div",qP,[u("div",WP,[u("div",GP,[y(i,{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",KP,[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,ZP)]),u("div",YP,[u("p",null,[u("span",{class:"heading",textContent:g(e.$t("dialog.spotify.album.album-artist"))},null,8,JP),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,XP)]),u("p",null,[u("span",{class:"heading",textContent:g(e.$t("dialog.spotify.album.release-date"))},null,8,QP),u("span",{class:"title is-6",textContent:g(e.$filters.date(n.album.release_date))},null,8,eI)]),u("p",null,[u("span",{class:"heading",textContent:g(e.$t("dialog.spotify.album.type"))},null,8,tI),u("span",{class:"title is-6",textContent:g(n.album.album_type)},null,8,nI)])])]),u("footer",rI,[u("a",{class:"card-footer-item has-text-dark",onClick:t[3]||(t[3]=(...l)=>o.queue_add&&o.queue_add(...l))},[y(a,{class:"icon",name:"playlist-plus",size:"16"}),u("span",{class:"is-size-7",textContent:g(e.$t("dialog.spotify.album.add"))},null,8,sI)]),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(a,{class:"icon",name:"playlist-play",size:"16"}),u("span",{class:"is-size-7",textContent:g(e.$t("dialog.spotify.album.add-next"))},null,8,oI)]),u("a",{class:"card-footer-item has-text-dark",onClick:t[5]||(t[5]=(...l)=>o.play&&o.play(...l))},[y(a,{class:"icon",name:"play",size:"16"}),u("span",{class:"is-size-7",textContent:g(e.$t("dialog.spotify.album.play"))},null,8,iI)])])])]),u("button",{class:"modal-close is-large","aria-label":"close",onClick:t[6]||(t[6]=l=>e.$emit("close"))})])):M("",!0)]),_:1})])}const Ri=te(BP,[["render",aI]]),lI={name:"ModalDialogTrackSpotify",props:["show","track","album"],emits:["close"],methods:{play(){this.$emit("close"),V.player_play_uri(this.track.uri,!1)},queue_add(){this.$emit("close"),V.queue_add(this.track.uri)},queue_add_next(){this.$emit("close"),V.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}})}}},uI={key:0,class:"modal is-active"},cI={class:"modal-content fd-modal-card"},dI={class:"card"},mI={class:"card-content"},fI=["textContent"],pI=["textContent"],hI={class:"content is-small"},_I=["textContent"],gI=["textContent"],yI=["textContent"],vI=["textContent"],bI=["textContent"],zI=["textContent"],CI=["textContent"],wI=["textContent"],kI=["textContent"],xI=["textContent"],EI=["textContent"],SI=["textContent"],$I={class:"card-footer"},AI=["textContent"],TI=["textContent"],OI=["textContent"];function DI(e,t,n,r,s,o){const i=$("mdicon");return k(),T("div",null,[y(It,{name:"fade"},{default:E(()=>[n.show?(k(),T("div",uI,[u("div",{class:"modal-background",onClick:t[0]||(t[0]=a=>e.$emit("close"))}),u("div",cI,[u("div",dI,[u("div",mI,[u("p",{class:"title is-4",textContent:g(n.track.name)},null,8,fI),u("p",{class:"subtitle",textContent:g(n.track.artists[0].name)},null,8,pI),u("div",hI,[u("p",null,[u("span",{class:"heading",textContent:g(e.$t("dialog.spotify.track.album"))},null,8,_I),u("a",{class:"title is-6 has-text-link",onClick:t[1]||(t[1]=(...a)=>o.open_album&&o.open_album(...a)),textContent:g(n.album.name)},null,8,gI)]),u("p",null,[u("span",{class:"heading",textContent:g(e.$t("dialog.spotify.track.album-artist"))},null,8,yI),u("a",{class:"title is-6 has-text-link",onClick:t[2]||(t[2]=(...a)=>o.open_artist&&o.open_artist(...a)),textContent:g(n.album.artists[0].name)},null,8,vI)]),u("p",null,[u("span",{class:"heading",textContent:g(e.$t("dialog.spotify.track.release-date"))},null,8,bI),u("span",{class:"title is-6",textContent:g(e.$filters.date(n.album.release_date))},null,8,zI)]),u("p",null,[u("span",{class:"heading",textContent:g(e.$t("dialog.spotify.track.position"))},null,8,CI),u("span",{class:"title is-6",textContent:g([n.track.disc_number,n.track.track_number].join(" / "))},null,8,wI)]),u("p",null,[u("span",{class:"heading",textContent:g(e.$t("dialog.spotify.track.duration"))},null,8,kI),u("span",{class:"title is-6",textContent:g(e.$filters.durationInHours(n.track.duration_ms))},null,8,xI)]),u("p",null,[u("span",{class:"heading",textContent:g(e.$t("dialog.spotify.track.path"))},null,8,EI),u("span",{class:"title is-6",textContent:g(n.track.uri)},null,8,SI)])])]),u("footer",$I,[u("a",{class:"card-footer-item has-text-dark",onClick:t[3]||(t[3]=(...a)=>o.queue_add&&o.queue_add(...a))},[y(i,{class:"icon",name:"playlist-plus",size:"16"}),u("span",{class:"is-size-7",textContent:g(e.$t("dialog.spotify.track.add"))},null,8,AI)]),u("a",{class:"card-footer-item has-text-dark",onClick:t[4]||(t[4]=(...a)=>o.queue_add_next&&o.queue_add_next(...a))},[y(i,{class:"icon",name:"playlist-play",size:"16"}),u("span",{class:"is-size-7",textContent:g(e.$t("dialog.spotify.track.add-next"))},null,8,TI)]),u("a",{class:"card-footer-item has-text-dark",onClick:t[5]||(t[5]=(...a)=>o.play&&o.play(...a))},[y(i,{class:"icon",name:"play",size:"16"}),u("span",{class:"is-size-7",textContent:g(e.$t("dialog.spotify.track.play"))},null,8,OI)])])])]),u("button",{class:"modal-close is-large","aria-label":"close",onClick:t[6]||(t[6]=a=>e.$emit("close"))})])):M("",!0)]),_:1})])}const Om=te(lI,[["render",DI]]),aa={load(e){const t=new Yn;return t.setAccessToken(He.state.spotify.webapi_token),t.getAlbum(e.params.id,{market:He.state.spotify.webapi_country})},set(e,t){e.album=t}},PI={name:"PageAlbumSpotify",components:{ContentWithHero:cu,CoverArtwork:Fn,ListItemTrackSpotify:Tm,ModalDialogAlbumSpotify:Ri,ModalDialogTrackSpotify:Om},beforeRouteEnter(e,t,n){aa.load(e).then(r=>{n(s=>aa.set(s,r))})},beforeRouteUpdate(e,t,n){const r=this;aa.load(e).then(s=>{aa.set(r,s),n()})},data(){return{album:{artists:[{}],tracks:{}},selected_track:{},show_details_modal:!1,show_track_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,V.player_play_uri(this.album.uri,!0)},open_track_dialog(e){this.selected_track=e,this.show_track_details_modal=!0}}},II=["textContent"],FI={class:"subtitle is-6 has-text-link"},RI=["textContent"],LI={class:"buttons fd-is-centered-mobile mt-5"},NI=["textContent"],MI=["textContent"],VI=["onClick"];function HI(e,t,n,r,s,o){const i=$("mdicon"),a=$("cover-artwork"),l=$("list-item-track-spotify"),c=$("modal-dialog-album-spotify"),d=$("modal-dialog-track-spotify"),m=$("content-with-hero");return k(),T("div",null,[y(m,null,{"heading-left":E(()=>[u("h1",{class:"title is-5",textContent:g(s.album.name)},null,8,II),u("h2",FI,[u("a",{class:"has-text-link",onClick:t[0]||(t[0]=(...f)=>o.open_artist&&o.open_artist(...f)),textContent:g(s.album.artists[0].name)},null,8,RI)]),u("div",LI,[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.spotify.album.shuffle"))},null,8,NI)]),u("a",{class:"button is-small is-light is-rounded",onClick:t[2]||(t[2]=f=>s.show_details_modal=!0)},[y(i,{class:"icon",name:"dots-horizontal",size:"16"})])])]),"heading-right":E(()=>[y(a,{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]=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.spotify.album.track-count",{count:s.album.tracks.total}))},null,8,MI),(k(!0),T(we,null,ct(s.album.tracks.items,(f,p)=>(k(),_e(l,{key:f.id,track:f,position:p,context_uri:s.album.uri},{actions:E(()=>[u("a",{onClick:st(h=>o.open_track_dialog(f),["prevent","stop"])},[y(i,{class:"icon has-text-dark",name:"dots-vertical",size:"16"})],8,VI)]),_:2},1032,["track","position","context_uri"]))),128)),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"]),y(d,{show:s.show_track_details_modal,track:s.selected_track,album:s.album,onClose:t[5]||(t[5]=f=>s.show_track_details_modal=!1)},null,8,["show","track","album"])]),_:1})])}const UI=te(PI,[["render",HI]]),BI={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}}},jI={class:"section"},qI={class:"container"},WI={class:"columns is-centered"},GI={class:"column is-four-fifths"},KI={key:0},ZI={ref:"options_ref",style:{height:"1px"}},YI={class:"buttons is-centered mt-4 mb-2"},JI={id:"top",class:"level is-clipped"},XI={class:"level-left is-flex-shrink-1"},QI={class:"level-item is-flex-shrink-1 has-text-centered-mobile"},eF={class:"level-right has-text-centered-mobile"},tF={class:"mt-4"};function nF(e,t,n,r,s,o){const i=$("mdicon"),a=$("router-link");return k(),T("section",jI,[u("div",qI,[u("div",WI,[u("div",GI,[e.$slots.options?(k(),T("section",KI,[u("div",ZI,null,512),it(e.$slots,"options"),u("nav",YI,[y(a,{class:"button is-small is-white",to:o.position},{default:E(()=>[y(i,{class:"icon is-small",name:o.icon_name,size:"16"},null,8,["name"])]),_:1},8,["to"])])])):M("",!0),u("div",{class:Ee({"is-full-height":e.$slots.options})},[u("nav",JI,[u("div",XI,[u("div",QI,[u("div",null,[it(e.$slots,"heading-left")])])]),u("div",eF,[it(e.$slots,"heading-right")])]),it(e.$slots,"content"),u("div",tF,[it(e.$slots,"footer")])],2)])])])])}const et=te(BI,[["render",nF]]),rF={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)}}},sF={class:"dropdown-trigger"},oF=["textContent"],iF={id:"dropdown",class:"dropdown-menu",role:"menu"},aF={class:"dropdown-content"},lF=["onClick","textContent"];function uF(e,t,n,r,s,o){const i=$("mdicon"),a=Vd("click-away");return yt((k(),T("div",{class:Ee(["dropdown",{"is-active":s.is_active}])},[u("div",sF,[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,oF),y(i,{class:"icon",name:"chevron-down",size:"16"})])]),u("div",iF,[u("div",aF,[(k(!0),T(we,null,ct(n.options,l=>(k(),T("a",{key:l.id,class:Ee(["dropdown-item",{"is-active":n.value===l.id}]),onClick:c=>o.select(l),textContent:g(l.name)},null,10,lF))),128))])])],2)),[[a,o.onClickOutside]])}const Ss=te(rF,[["render",uF]]),cF={name:"IndexButtonList",props:["index"]},dF={class:"buttons is-centered mb-4 fd-is-square"};function mF(e,t,n,r,s,o){const i=$("router-link");return k(),T("section",null,[u("nav",dF,[(k(!0),T(we,null,ct(n.index,a=>(k(),_e(i,{key:a,class:"button is-small",to:"#index_"+a},{default:E(()=>[gt(g(a),1)]),_:2},1032,["to"]))),128))])])}const Jn=te(cF,[["render",mF]]),fF={name:"ListAlbums",components:{CoverArtwork:Fn,ModalDialog:fm,ModalDialogAlbum:du},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(){V.library_album_tracks(this.selected_album.id,{limit:1}).then(({data:e})=>{V.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,V.library_playlist_delete(this.rss_playlist_to_remove.id).then(()=>{this.$emit("podcast-deleted")})}}},pF={key:0,class:"mt-6 mb-5 py-2"},hF=["id","textContent"],_F=["onClick"],gF={key:0,class:"media-left"},yF={class:"media-content is-clickable is-clipped"},vF=["textContent"],bF=["textContent"],zF=["textContent"],CF={class:"media-right"},wF=["onClick"],kF=["textContent"],xF={class:"is-size-7"},EF=["textContent"],SF=["textContent"];function $F(e,t,n,r,s,o){const i=$("cover-artwork"),a=$("mdicon"),l=$("modal-dialog-album"),c=$("modal-dialog");return k(),T(we,null,[(k(!0),T(we,null,ct(n.albums,d=>(k(),T(we,{key:d.itemId},[!d.isItem&&!n.hide_group_title?(k(),T("div",pF,[u("span",{id:"index_"+d.groupKey,class:"tag is-info is-light is-small has-text-weight-bold",textContent:g(d.groupKey)},null,8,hF)])):d.isItem?(k(),T("div",{key:1,class:"media is-align-items-center",onClick:m=>o.open_album(d.item)},[o.is_visible_artwork?(k(),T("div",gF,[y(i,{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"])])):M("",!0),u("div",yF,[u("div",null,[u("h1",{class:"title is-6",textContent:g(d.item.name)},null,8,vF),u("h2",{class:"subtitle is-7 has-text-grey has-text-weight-bold",textContent:g(d.item.artist)},null,8,bF),d.item.date_released&&d.item.media_kind==="music"?(k(),T("h2",{key:0,class:"subtitle is-7 has-text-grey",textContent:g(e.$filters.date(d.item.date_released))},null,8,zF)):M("",!0)])]),u("div",CF,[u("a",{onClick:st(m=>o.open_dialog(d.item),["prevent","stop"])},[y(a,{class:"icon has-text-dark",name:"dots-vertical",size:"16"})],8,wF)])],8,_F)):M("",!0)],64))),128)),(k(),_e(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,kF),u("p",xF,[gt(" ("),u("span",{textContent:g(e.$t("list.albums.info-2"))},null,8,EF),u("b",{textContent:g(s.rss_playlist_to_remove.name)},null,8,SF),gt(") ")])]),_:1},8,["show","title","delete_action","onDelete"])]))],64)}const ur=te(fF,[["render",$F]]),AF={name:"TabsMusic",computed:{spotify_enabled(){return this.$store.state.spotify.webapi_token_valid}}},TF={class:"section fd-tabs-section"},OF={class:"container"},DF={class:"columns is-centered"},PF={class:"column is-four-fifths"},IF={class:"tabs is-centered is-small"},FF=["onClick","onKeypress"],RF=["textContent"],LF=["onClick","onKeypress"],NF=["textContent"],MF=["onClick","onKeypress"],VF=["textContent"],HF=["onClick","onKeypress"],UF=["textContent"],BF=["onClick","onKeypress"],jF=["textContent"],qF=["onClick","onKeypress"],WF=["textContent"];function GF(e,t,n,r,s,o){const i=$("mdicon"),a=$("router-link");return k(),T("section",TF,[u("div",OF,[u("div",DF,[u("div",PF,[u("div",IF,[u("ul",null,[y(a,{to:{name:"music-history"},custom:""},{default:E(({navigate:l,isActive:c})=>[u("li",{class:Ee({"is-active":c})},[u("a",{onClick:l,onKeypress:sn(l,["enter"])},[y(i,{class:"icon is-small",name:"history",size:"16"}),u("span",{textContent:g(e.$t("page.music.tabs.history"))},null,8,RF)],40,FF)],2)]),_:1}),y(a,{to:{name:"music-artists"},custom:""},{default:E(({navigate:l,isActive:c})=>[u("li",{class:Ee({"is-active":c})},[u("a",{onClick:l,onKeypress:sn(l,["enter"])},[y(i,{class:"icon is-small",name:"account-music",size:"16"}),u("span",{textContent:g(e.$t("page.music.tabs.artists"))},null,8,NF)],40,LF)],2)]),_:1}),y(a,{to:{name:"music-albums"},custom:""},{default:E(({navigate:l,isActive:c})=>[u("li",{class:Ee({"is-active":c})},[u("a",{onClick:l,onKeypress:sn(l,["enter"])},[y(i,{class:"icon is-small",name:"album",size:"16"}),u("span",{textContent:g(e.$t("page.music.tabs.albums"))},null,8,VF)],40,MF)],2)]),_:1}),y(a,{to:{name:"music-genres"},custom:""},{default:E(({navigate:l,isActive:c})=>[u("li",{class:Ee({"is-active":c})},[u("a",{onClick:l,onKeypress:sn(l,["enter"])},[y(i,{class:"icon is-small",name:"speaker",size:"16"}),u("span",{textContent:g(e.$t("page.music.tabs.genres"))},null,8,UF)],40,HF)],2)]),_:1}),y(a,{to:{name:"music-composers"},custom:""},{default:E(({navigate:l,isActive:c})=>[u("li",{class:Ee({"is-active":c})},[u("a",{onClick:l,onKeypress:sn(l,["enter"])},[y(i,{class:"icon is-small",name:"book-open-page-variant",size:"16"}),u("span",{textContent:g(e.$t("page.music.tabs.composers"))},null,8,jF)],40,BF)],2)]),_:1}),o.spotify_enabled?(k(),_e(a,{key:0,to:{name:"music-spotify"},custom:""},{default:E(({navigate:l,isActive:c})=>[u("li",{class:Ee({"is-active":c})},[u("a",{onClick:l,onKeypress:sn(l,["enter"])},[y(i,{class:"icon is-small",name:"spotify",size:"16"}),u("span",{textContent:g(e.$t("page.music.tabs.spotify"))},null,8,WF)],40,qF)],2)]),_:1})):M("",!0)])])])])])])}const cr=te(AF,[["render",GF]]),la={load(e){return V.library_albums("music")},set(e,t){e.albums_list=new ve(t.data)}},KF={name:"PageAlbums",components:{ContentWithHeading:et,ControlDropdown:Ss,IndexButtonList:Jn,ListAlbums:ur,TabsMusic:cr},beforeRouteEnter(e,t,n){la.load(e).then(r=>{n(s=>la.set(s,r))})},beforeRouteUpdate(e,t,n){if(!this.albums_list.isEmpty()){n();return}const r=this;la.load(e).then(s=>{la.set(r,s),n()})},data(){return{albums_list:new ve,groupby_options:[{id:1,name:this.$t("page.albums.sort.name"),options:Rn("name_sort",!0)},{id:2,name:this.$t("page.albums.sort.recently-added"),options:kl("time_added",{direction:"desc"})},{id:3,name:this.$t("page.albums.sort.recently-released"),options:kl("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(n_,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(Ol,e)}},hide_spotify:{get(){return this.$store.state.hide_spotify},set(e){this.$store.commit(bi,e)}}}},ZF={class:"fd-page-with-tabs"},YF={class:"columns"},JF={class:"column"},XF=["textContent"],QF={class:"field"},eR={class:"control"},tR=["textContent"],nR=["textContent"],rR={key:0,class:"field"},sR={class:"control"},oR=["textContent"],iR=["textContent"],aR={class:"column"},lR=["textContent"],uR=["textContent"],cR=["textContent"];function dR(e,t,n,r,s,o){const i=$("tabs-music"),a=$("index-button-list"),l=$("control-dropdown"),c=$("list-albums"),d=$("content-with-heading");return k(),T("div",ZF,[y(i),y(d,null,{options:E(()=>[y(a,{index:o.albums.indexList},null,8,["index"]),u("div",YF,[u("div",JF,[u("p",{class:"heading mb-5",textContent:g(e.$t("page.albums.filter"))},null,8,XF),u("div",QF,[u("div",eR,[yt(u("input",{id:"switchHideSingles","onUpdate:modelValue":t[0]||(t[0]=m=>o.hide_singles=m),type:"checkbox",class:"switch is-rounded"},null,512),[[On,o.hide_singles]]),u("label",{for:"switchHideSingles",textContent:g(e.$t("page.albums.hide-singles"))},null,8,tR)]),u("p",{class:"help",textContent:g(e.$t("page.albums.hide-singles-help"))},null,8,nR)]),o.spotify_enabled?(k(),T("div",rR,[u("div",sR,[yt(u("input",{id:"switchHideSpotify","onUpdate:modelValue":t[1]||(t[1]=m=>o.hide_spotify=m),type:"checkbox",class:"switch is-rounded"},null,512),[[On,o.hide_spotify]]),u("label",{for:"switchHideSpotify",textContent:g(e.$t("page.albums.hide-spotify"))},null,8,oR)]),u("p",{class:"help",textContent:g(e.$t("page.albums.hide-spotify-help"))},null,8,iR)])):M("",!0)]),u("div",aR,[u("p",{class:"heading mb-5",textContent:g(e.$t("page.albums.sort.title"))},null,8,lR),y(l,{value:o.selected_groupby_option_id,"onUpdate:value":t[2]||(t[2]=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(e.$t("page.albums.title"))},null,8,uR),u("p",{class:"heading",textContent:g(e.$t("page.albums.count",{count:o.albums.count}))},null,8,cR)]),"heading-right":E(()=>[]),content:E(()=>[y(c,{albums:o.albums},null,8,["albums"])]),_:1})])}const mR=te(KF,[["render",dR]]),fR={name:"ModalDialogArtist",props:["show","artist"],emits:["close"],methods:{play(){this.$emit("close"),V.player_play_uri(this.artist.uri,!1)},queue_add(){this.$emit("close"),V.queue_add(this.artist.uri)},queue_add_next(){this.$emit("close"),V.queue_add_next(this.artist.uri)},open_artist(){this.$emit("close"),this.$router.push({name:"music-artist",params:{id:this.artist.id}})}}},pR={key:0,class:"modal is-active"},hR={class:"modal-content fd-modal-card"},_R={class:"card"},gR={class:"card-content"},yR={class:"title is-4"},vR=["textContent"],bR={class:"content is-small"},zR=["textContent"],CR=["textContent"],wR=["textContent"],kR=["textContent"],xR=["textContent"],ER=["textContent"],SR=["textContent"],$R=["textContent"],AR={class:"card-footer"},TR=["textContent"],OR=["textContent"],DR=["textContent"];function PR(e,t,n,r,s,o){const i=$("mdicon");return k(),T("div",null,[y(It,{name:"fade"},{default:E(()=>[n.show?(k(),T("div",pR,[u("div",{class:"modal-background",onClick:t[0]||(t[0]=a=>e.$emit("close"))}),u("div",hR,[u("div",_R,[u("div",gR,[u("p",yR,[u("a",{class:"has-text-link",onClick:t[1]||(t[1]=(...a)=>o.open_artist&&o.open_artist(...a)),textContent:g(n.artist.name)},null,8,vR)]),u("div",bR,[u("p",null,[u("span",{class:"heading",textContent:g(e.$t("dialog.artist.albums"))},null,8,zR),u("span",{class:"title is-6",textContent:g(n.artist.album_count)},null,8,CR)]),u("p",null,[u("span",{class:"heading",textContent:g(e.$t("dialog.artist.tracks"))},null,8,wR),u("span",{class:"title is-6",textContent:g(n.artist.track_count)},null,8,kR)]),u("p",null,[u("span",{class:"heading",textContent:g(e.$t("dialog.artist.type"))},null,8,xR),u("span",{class:"title is-6",textContent:g(e.$t("data.kind."+n.artist.data_kind))},null,8,ER)]),u("p",null,[u("span",{class:"heading",textContent:g(e.$t("dialog.artist.added-on"))},null,8,SR),u("span",{class:"title is-6",textContent:g(e.$filters.datetime(n.artist.time_added))},null,8,$R)])])]),u("footer",AR,[u("a",{class:"card-footer-item has-text-dark",onClick:t[2]||(t[2]=(...a)=>o.queue_add&&o.queue_add(...a))},[y(i,{class:"icon",name:"playlist-plus",size:"16"}),u("span",{class:"is-size-7",textContent:g(e.$t("dialog.artist.add"))},null,8,TR)]),u("a",{class:"card-footer-item has-text-dark",onClick:t[3]||(t[3]=(...a)=>o.queue_add_next&&o.queue_add_next(...a))},[y(i,{class:"icon",name:"playlist-play",size:"16"}),u("span",{class:"is-size-7",textContent:g(e.$t("dialog.artist.add-next"))},null,8,OR)]),u("a",{class:"card-footer-item has-text-dark",onClick:t[4]||(t[4]=(...a)=>o.play&&o.play(...a))},[y(i,{class:"icon",name:"play",size:"16"}),u("span",{class:"is-size-7",textContent:g(e.$t("dialog.artist.play"))},null,8,DR)])])])]),u("button",{class:"modal-close is-large","aria-label":"close",onClick:t[5]||(t[5]=a=>e.$emit("close"))})])):M("",!0)]),_:1})])}const mu=te(fR,[["render",PR]]),ua={load(e){return Promise.all([V.library_artist(e.params.id),V.library_artist_albums(e.params.id)])},set(e,t){e.artist=t[0].data,e.albums_list=new ve(t[1].data)}},IR={name:"PageArtist",components:{ContentWithHeading:et,ControlDropdown:Ss,ListAlbums:ur,ModalDialogArtist:mu},beforeRouteEnter(e,t,n){ua.load(e).then(r=>{n(s=>ua.set(s,r))})},beforeRouteUpdate(e,t,n){const r=this;ua.load(e).then(s=>{ua.set(r,s),n()})},data(){return{artist:{},albums_list:new ve,groupby_options:[{id:1,name:this.$t("page.artist.sort.name"),options:Rn("name_sort",!0)},{id:2,name:this.$t("page.artist.sort.release-date"),options:kl("date_released",{direction:"asc"})}],show_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,[t=>!this.hide_spotify||t.data_kind!=="spotify"]),this.albums_list},hide_spotify:{get(){return this.$store.state.hide_spotify},set(e){this.$store.commit(bi,e)}},selected_groupby_option_id:{get(){return this.$store.state.artist_albums_sort},set(e){this.$store.commit(e_,e)}},spotify_enabled(){return this.$store.state.spotify.webapi_token_valid},track_count(){return[...this.albums].reduce((e,t)=>e+(t.isItem?t.item.track_count:0),0)}},methods:{open_tracks(){this.$router.push({name:"music-artist-tracks",params:{id:this.artist.id}})},play(){V.player_play_uri(this.albums.items.map(e=>e.uri).join(","),!0)}}},FR={class:"columns"},RR={class:"column"},LR=["textContent"],NR={key:0,class:"field"},MR={class:"control"},VR=["textContent"],HR=["textContent"],UR={class:"column"},BR=["textContent"],jR=["textContent"],qR={class:"buttons is-centered"},WR=["textContent"],GR={class:"heading has-text-centered-mobile"},KR=["textContent"],ZR=u("span",null," | ",-1),YR=["textContent"];function JR(e,t,n,r,s,o){const i=$("control-dropdown"),a=$("mdicon"),l=$("list-albums"),c=$("modal-dialog-artist"),d=$("content-with-heading");return k(),T("div",null,[y(d,null,{options:E(()=>[u("div",FR,[u("div",RR,[u("p",{class:"heading mb-5",textContent:g(e.$t("page.artist.filter"))},null,8,LR),o.spotify_enabled?(k(),T("div",NR,[u("div",MR,[yt(u("input",{id:"switchHideSpotify","onUpdate:modelValue":t[0]||(t[0]=m=>o.hide_spotify=m),type:"checkbox",class:"switch is-rounded"},null,512),[[On,o.hide_spotify]]),u("label",{for:"switchHideSpotify",textContent:g(e.$t("page.artist.hide-spotify"))},null,8,VR)]),u("p",{class:"help",textContent:g(e.$t("page.artist.hide-spotify-help"))},null,8,HR)])):M("",!0)]),u("div",UR,[u("p",{class:"heading mb-5",textContent:g(e.$t("page.artist.sort.title"))},null,8,BR),y(i,{value:o.selected_groupby_option_id,"onUpdate:value":t[1]||(t[1]=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,jR)]),"heading-right":E(()=>[u("div",qR,[u("a",{class:"button is-small is-light is-rounded",onClick:t[2]||(t[2]=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[3]||(t[3]=(...m)=>o.play&&o.play(...m))},[y(a,{class:"icon",name:"shuffle",size:"16"}),u("span",{textContent:g(e.$t("page.artist.shuffle"))},null,8,WR)])])]),content:E(()=>[u("p",GR,[u("span",{textContent:g(e.$t("page.artist.album-count",{count:o.albums.count}))},null,8,KR),ZR,u("a",{class:"has-text-link",onClick:t[4]||(t[4]=(...m)=>o.open_tracks&&o.open_tracks(...m)),textContent:g(e.$t("page.artist.track-count",{count:o.track_count}))},null,8,YR)]),y(l,{albums:o.albums,hide_group_title:!0},null,8,["albums"]),y(c,{show:s.show_details_modal,artist:s.artist,onClose:t[5]||(t[5]=m=>s.show_details_modal=!1)},null,8,["show","artist"])]),_:1})])}const XR=te(IR,[["render",JR]]),QR={name:"ListItemAlbumSpotify",props:["album"]},eL={class:"media is-align-items-center"},tL={key:0,class:"media-left is-clickable"},nL={class:"media-content is-clickable is-clipped"},rL=["textContent"],sL=["textContent"],oL=["textContent"],iL={class:"media-right"};function aL(e,t,n,r,s,o){return k(),T("div",eL,[e.$slots.artwork?(k(),T("div",tL,[it(e.$slots,"artwork")])):M("",!0),u("div",nL,[u("h1",{class:"title is-6",textContent:g(n.album.name)},null,8,rL),u("h2",{class:"subtitle is-7 has-text-grey has-text-weight-bold",textContent:g(n.album.artists[0].name)},null,8,sL),u("h2",{class:"subtitle is-7 has-text-grey",textContent:g([n.album.album_type,e.$filters.date(n.album.release_date)].join(", "))},null,8,oL)]),u("div",iL,[it(e.$slots,"actions")])])}const fu=te(QR,[["render",aL]]),lL={name:"ModalDialogArtistSpotify",props:["show","artist"],emits:["close"],methods:{play(){this.$emit("close"),V.player_play_uri(this.artist.uri,!1)},queue_add(){this.$emit("close"),V.queue_add(this.artist.uri)},queue_add_next(){this.$emit("close"),V.queue_add_next(this.artist.uri)},open_artist(){this.$emit("close"),this.$router.push({name:"music-spotify-artist",params:{id:this.artist.id}})}}},uL={key:0,class:"modal is-active"},cL={class:"modal-content fd-modal-card"},dL={class:"card"},mL={class:"card-content"},fL={class:"title is-4"},pL=["textContent"],hL={class:"content is-small"},_L=["textContent"],gL=["textContent"],yL=["textContent"],vL=["textContent"],bL={class:"card-footer"},zL=["textContent"],CL=["textContent"],wL=["textContent"];function kL(e,t,n,r,s,o){const i=$("mdicon");return k(),T("div",null,[y(It,{name:"fade"},{default:E(()=>[n.show?(k(),T("div",uL,[u("div",{class:"modal-background",onClick:t[0]||(t[0]=a=>e.$emit("close"))}),u("div",cL,[u("div",dL,[u("div",mL,[u("p",fL,[u("a",{class:"has-text-link",onClick:t[1]||(t[1]=(...a)=>o.open_artist&&o.open_artist(...a)),textContent:g(n.artist.name)},null,8,pL)]),u("div",hL,[u("p",null,[u("span",{class:"heading",textContent:g(e.$t("dialog.spotify.artist.popularity"))},null,8,_L),u("span",{class:"title is-6",textContent:g([n.artist.popularity,n.artist.followers.total].join(" / "))},null,8,gL)]),u("p",null,[u("span",{class:"heading",textContent:g(e.$t("dialog.spotify.artist.genres"))},null,8,yL),u("span",{class:"title is-6",textContent:g(n.artist.genres.join(", "))},null,8,vL)])])]),u("footer",bL,[u("a",{class:"card-footer-item has-text-dark",onClick:t[2]||(t[2]=(...a)=>o.queue_add&&o.queue_add(...a))},[y(i,{class:"icon",name:"playlist-plus",size:"16"}),u("span",{class:"is-size-7",textContent:g(e.$t("dialog.spotify.artist.add"))},null,8,zL)]),u("a",{class:"card-footer-item has-text-dark",onClick:t[3]||(t[3]=(...a)=>o.queue_add_next&&o.queue_add_next(...a))},[y(i,{class:"icon",name:"playlist-play",size:"16"}),u("span",{class:"is-size-7",textContent:g(e.$t("dialog.spotify.artist.add-next"))},null,8,CL)]),u("a",{class:"card-footer-item has-text-dark",onClick:t[4]||(t[4]=(...a)=>o.play&&o.play(...a))},[y(i,{class:"icon",name:"play",size:"16"}),u("span",{class:"is-size-7",textContent:g(e.$t("dialog.spotify.artist.play"))},null,8,wL)])])])]),u("button",{class:"modal-close is-large","aria-label":"close",onClick:t[5]||(t[5]=a=>e.$emit("close"))})])):M("",!0)]),_:1})])}const W1=te(lL,[["render",kL]]);function xL(e){return e.scrollHeight}function EL(e){return e.scrollWidth}function SL(e,t){e.scrollTop=e.scrollHeight-t+e.scrollTop}function $L(e,t){e.scrollLeft=e.scrollWidth-t+e.scrollLeft}const AL=u("div",{class:"loading"},"Loading...",-1),TL=u("div",{class:"no-more"},"No more.",-1),OL=u("div",{class:"no-results"},"No results.",-1),DL=u("div",{class:"error"},"Error.",-1),Dm=br({__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=sr();let s=sr("loading"),o=sr(n.isInitial),i=0;function a(){ho(()=>{var v,z;n.position==="top"?SL((v=n.container)!=null?v:document.documentElement,i):n.position==="left"&&$L((z=n.container)!=null?z:document.documentElement,i)})}function l(v,z){return v===0?o.value?(d(),"no-results"):(c(),"no-more"):v!==void 0&&z!==void 0&&v<z?(c(),"no-more"):(o.value=!1,a(),b(),"loading")}function c(){o.value=!1,h("no-more"),a()}function d(){o.value=!1,h("no-results"),a()}function m(){o.value=!1,h("error"),a()}function f(){o.value=!0,h("loading"),b()}function p(){h("loading"),b()}function h(v){s.value=v}function _(){r.value&&w.unobserve(r.value)}function b(){r.value&&w.observe(r.value)}function C(){return new IntersectionObserver(([v])=>{var z,S;v.isIntersecting&&(n.position==="top"?i=xL((z=n.container)!=null?z:document.documentElement):n.position==="left"&&(i=EL((S=n.container)!=null?S:document.documentElement)),_(),n.load({loaded:l,noMore:c,noResults:d,error:m},{isFirstLoad:o.value}))},{root:n.container,threshold:0,rootMargin:n.margin})}let w;return typeof IntersectionObserver<"u"&&M_(()=>{w&&_(),w=C(),b()},{flush:"post"}),bn(()=>n.isInitial,v=>{v&&f()}),bn(o,v=>{v||t("update:isInitial",!1)}),(v,z)=>(k(),T("div",{class:"vue-eternal-loading",ref_key:"rootRef",ref:r},[yn(s)==="loading"?it(v.$slots,"loading",Fo(Hs({key:0},{isFirstLoad:yn(o)})),()=>[AL]):yn(s)==="no-more"?it(v.$slots,"no-more",Fo(Hs({key:1},{retry:p})),()=>[TL]):yn(s)==="no-results"?it(v.$slots,"no-results",Fo(Hs({key:2},{retry:p})),()=>[OL]):yn(s)==="error"?it(v.$slots,"error",Fo(Hs({key:3},{retry:p})),()=>[DL]):M("",!0)],512))}}),ld=50,ca={load(e){const t=new Yn;return t.setAccessToken(He.state.spotify.webapi_token),Promise.all([t.getArtist(e.params.id),t.getArtistAlbums(e.params.id,{limit:ld,offset:0,include_groups:"album,single",market:He.state.spotify.webapi_country})])},set(e,t){e.artist=t[0],e.albums=[],e.total=0,e.offset=0,e.append_albums(t[1])}},PL={name:"PageArtistSpotify",components:{ContentWithHeading:et,CoverArtwork:Fn,ListItemAlbumSpotify:fu,ModalDialogAlbumSpotify:Ri,ModalDialogArtistSpotify:W1,VueEternalLoading:Dm},beforeRouteEnter(e,t,n){ca.load(e).then(r=>{n(s=>ca.set(s,r))})},beforeRouteUpdate(e,t,n){const r=this;ca.load(e).then(s=>{ca.set(r,s),n()})},data(){return{albums:[],artist:{},offset:0,selected_album:{},show_album_details_modal:!1,show_details_modal:!1,total:0}},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 Yn;t.setAccessToken(this.$store.state.spotify.webapi_token),t.getArtistAlbums(this.artist.id,{limit:ld,offset:this.offset,include_groups:"album,single"}).then(n=>{this.append_albums(n),e(n.items.length,ld)})},append_albums(e){this.albums=this.albums.concat(e.items),this.total=e.total,this.offset+=e.limit},play(){this.show_album_details_modal=!1,V.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_album_details_modal=!0},artwork_url(e){return e.images&&e.images.length>0?e.images[0].url:""}}},IL=["textContent"],FL={class:"buttons is-centered"},RL=["textContent"],LL=["textContent"],NL=["onClick"],ML={class:"columns is-centered"},VL={class:"column has-text-centered"};function HL(e,t,n,r,s,o){const i=$("mdicon"),a=$("cover-artwork"),l=$("list-item-album-spotify"),c=$("VueEternalLoading"),d=$("modal-dialog-artist-spotify"),m=$("modal-dialog-album-spotify"),f=$("content-with-heading");return k(),T("div",null,[y(f,null,{"heading-left":E(()=>[u("p",{class:"title is-4",textContent:g(s.artist.name)},null,8,IL)]),"heading-right":E(()=>[u("div",FL,[u("a",{class:"button is-small is-light is-rounded",onClick:t[0]||(t[0]=p=>s.show_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]=(...p)=>o.play&&o.play(...p))},[y(i,{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,LL),(k(!0),T(we,null,ct(s.albums,p=>(k(),_e(l,{key:p.id,album:p,onClick:h=>o.open_album(p)},Si({actions:E(()=>[u("a",{onClick:st(h=>o.open_dialog(p),["prevent","stop"])},[y(i,{class:"icon has-text-dark",name:"dots-vertical",size:"16"})],8,NL)]),_:2},[o.is_visible_artwork?{name:"artwork",fn:E(()=>[y(a,{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?(k(),_e(c,{key:0,load:o.load_next},{loading:E(()=>[u("div",ML,[u("div",VL,[y(i,{class:"icon mdi-spin",name:"loading"})])])]),"no-more":E(()=>[gt(" ")]),_:1},8,["load"])):M("",!0),y(d,{show:s.show_details_modal,artist:s.artist,onClose:t[2]||(t[2]=p=>s.show_details_modal=!1)},null,8,["show","artist"]),y(m,{show:s.show_album_details_modal,album:s.selected_album,onClose:t[3]||(t[3]=p=>s.show_album_details_modal=!1)},null,8,["show","album"])]),_:1})])}const UL=te(PL,[["render",HL]]),BL={name:"ListArtists",components:{ModalDialogArtist:mu},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}}},jL={key:0,class:"mt-6 mb-5 py-2"},qL={class:"media-content is-clipped"},WL=["id","textContent"],GL=["onClick"],KL={class:"media-content is-clickable is-clipped"},ZL=["textContent"],YL={class:"media-right"},JL=["onClick"];function XL(e,t,n,r,s,o){const i=$("mdicon"),a=$("modal-dialog-artist");return k(),T(we,null,[(k(!0),T(we,null,ct(n.artists,l=>(k(),T(we,{key:l.itemId},[!l.isItem&&!n.hide_group_title?(k(),T("div",jL,[u("div",qL,[u("span",{id:"index_"+l.groupKey,class:"tag is-info is-light is-small has-text-weight-bold",textContent:g(l.groupKey)},null,8,WL)])])):l.isItem?(k(),T("div",{key:1,class:"media is-align-items-center",onClick:c=>o.open_artist(l.item)},[u("div",KL,[u("h1",{class:"title is-6",textContent:g(l.item.name)},null,8,ZL)]),u("div",YL,[u("a",{onClick:st(c=>o.open_dialog(l.item),["prevent","stop"])},[y(i,{class:"icon has-text-dark",name:"dots-vertical",size:"16"})],8,JL)])],8,GL)):M("",!0)],64))),128)),(k(),_e(Yr,{to:"#app"},[y(a,{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 Pm=te(BL,[["render",XL]]),da={load(e){return V.library_artists("music")},set(e,t){e.artists_list=new ve(t.data)}},QL={name:"PageArtists",components:{ContentWithHeading:et,ControlDropdown:Ss,IndexButtonList:Jn,ListArtists:Pm,TabsMusic:cr},beforeRouteEnter(e,t,n){da.load(e).then(r=>{n(s=>da.set(s,r))})},beforeRouteUpdate(e,t,n){if(!this.artists_list.isEmpty()){n();return}const r=this;da.load(e).then(s=>{da.set(r,s),n()})},data(){return{artists_list:new ve,groupby_options:[{id:1,name:this.$t("page.artists.sort.name"),options:Rn("name_sort",!0)},{id:2,name:this.$t("page.artists.sort.recently-added"),options:kl("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(Qh,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(Ol,e)}},hide_spotify:{get(){return this.$store.state.hide_spotify},set(e){this.$store.commit(bi,e)}}}},eN={class:"fd-page-with-tabs"},tN={class:"columns"},nN={class:"column"},rN=["textContent"],sN={class:"field"},oN={class:"control"},iN=["textContent"],aN=["textContent"],lN={key:0,class:"field"},uN={class:"control"},cN=["textContent"],dN=["textContent"],mN={class:"column"},fN=["textContent"],pN=["textContent"],hN=["textContent"];function _N(e,t,n,r,s,o){const i=$("tabs-music"),a=$("index-button-list"),l=$("control-dropdown"),c=$("list-artists"),d=$("content-with-heading");return k(),T("div",eN,[y(i),y(d,null,{options:E(()=>[y(a,{index:o.artists.indexList},null,8,["index"]),u("div",tN,[u("div",nN,[u("p",{class:"heading mb-5",textContent:g(e.$t("page.artists.filter"))},null,8,rN),u("div",sN,[u("div",oN,[yt(u("input",{id:"switchHideSingles","onUpdate:modelValue":t[0]||(t[0]=m=>o.hide_singles=m),type:"checkbox",class:"switch is-rounded"},null,512),[[On,o.hide_singles]]),u("label",{for:"switchHideSingles",textContent:g(e.$t("page.artists.hide-singles"))},null,8,iN)]),u("p",{class:"help",textContent:g(e.$t("page.artists.hide-singles-help"))},null,8,aN)]),o.spotify_enabled?(k(),T("div",lN,[u("div",uN,[yt(u("input",{id:"switchHideSpotify","onUpdate:modelValue":t[1]||(t[1]=m=>o.hide_spotify=m),type:"checkbox",class:"switch is-rounded"},null,512),[[On,o.hide_spotify]]),u("label",{for:"switchHideSpotify",textContent:g(e.$t("page.artists.hide-spotify"))},null,8,cN)]),u("p",{class:"help",textContent:g(e.$t("page.artists.hide-spotify-help"))},null,8,dN)])):M("",!0)]),u("div",mN,[u("p",{class:"heading mb-5",textContent:g(e.$t("page.artists.sort.title"))},null,8,fN),y(l,{value:o.selected_groupby_option_id,"onUpdate:value":t[2]||(t[2]=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(e.$t("page.artists.title"))},null,8,pN),u("p",{class:"heading",textContent:g(e.$t("page.artists.count",{count:o.artists.count}))},null,8,hN)]),"heading-right":E(()=>[]),content:E(()=>[y(c,{artists:o.artists},null,8,["artists"])]),_:1})])}const gN=te(QL,[["render",_N]]),ma={load(e){return Promise.all([V.library_artist(e.params.id),V.library_artist_tracks(e.params.id)])},set(e,t){e.artist=t[0].data,e.tracks_list=new ve(t[1].data.tracks)}},yN={name:"PageArtistTracks",components:{ContentWithHeading:et,ControlDropdown:Ss,IndexButtonList:Jn,ListTracks:Cn,ModalDialogArtist:mu},beforeRouteEnter(e,t,n){ma.load(e).then(r=>{n(s=>ma.set(s,r))})},beforeRouteUpdate(e,t,n){const r=this;ma.load(e).then(s=>{ma.set(r,s),n()})},data(){return{artist:{},groupby_options:[{id:1,name:this.$t("page.artist.sort.name"),options:Rn("title_sort")},{id:2,name:this.$t("page.artist.sort.rating"),options:Am("rating",{direction:"desc"})}],show_details_modal:!1,tracks_list:new ve}},computed:{album_count(){return new Set([...this.tracks].filter(e=>e.isItem).map(e=>e.item.album_id)).size},hide_spotify:{get(){return this.$store.state.hide_spotify},set(e){this.$store.commit(bi,e)}},selected_groupby_option_id:{get(){return this.$store.state.artist_tracks_sort},set(e){this.$store.commit(t_,e)}},spotify_enabled(){return this.$store.state.spotify.webapi_token_valid},tracks(){const e=this.groupby_options.find(t=>t.id===this.selected_groupby_option_id);return this.tracks_list.group(e.options,[t=>!this.hide_spotify||t.data_kind!=="spotify"]),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(){V.player_play_uri(this.tracks_list.items.map(e=>e.uri).join(","),!0)}}},vN={class:"columns"},bN={class:"column"},zN=["textContent"],CN={key:0,class:"field"},wN={class:"control"},kN=["textContent"],xN=["textContent"],EN={class:"column"},SN=["textContent"],$N=["textContent"],AN={class:"buttons is-centered"},TN=["textContent"],ON={class:"heading has-text-centered-mobile"},DN=["textContent"],PN=u("span",null," | ",-1),IN=["textContent"];function FN(e,t,n,r,s,o){const i=$("index-button-list"),a=$("control-dropdown"),l=$("mdicon"),c=$("list-tracks"),d=$("modal-dialog-artist"),m=$("content-with-heading");return k(),T("div",null,[y(m,null,{options:E(()=>[y(i,{index:o.tracks.indexList},null,8,["index"]),u("div",vN,[u("div",bN,[u("p",{class:"heading mb-5",textContent:g(e.$t("page.artist.filter"))},null,8,zN),o.spotify_enabled?(k(),T("div",CN,[u("div",wN,[yt(u("input",{id:"switchHideSpotify","onUpdate:modelValue":t[0]||(t[0]=f=>o.hide_spotify=f),type:"checkbox",class:"switch is-rounded"},null,512),[[On,o.hide_spotify]]),u("label",{for:"switchHideSpotify",textContent:g(e.$t("page.artist.hide-spotify"))},null,8,kN)]),u("p",{class:"help",textContent:g(e.$t("page.artist.hide-spotify-help"))},null,8,xN)])):M("",!0)]),u("div",EN,[u("p",{class:"heading mb-5",textContent:g(e.$t("page.artist.sort.title"))},null,8,SN),y(a,{value:o.selected_groupby_option_id,"onUpdate:value":t[1]||(t[1]=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,$N)]),"heading-right":E(()=>[u("div",AN,[u("a",{class:"button is-small is-light is-rounded",onClick:t[2]||(t[2]=f=>s.show_details_modal=!0)},[y(l,{class:"icon",name:"dots-horizontal",size:"16"})]),u("a",{class:"button is-small is-dark is-rounded",onClick:t[3]||(t[3]=(...f)=>o.play&&o.play(...f))},[y(l,{class:"icon",name:"shuffle",size:"16"}),u("span",{textContent:g(e.$t("page.artist.shuffle"))},null,8,TN)])])]),content:E(()=>[u("p",ON,[u("a",{class:"has-text-link",onClick:t[4]||(t[4]=(...f)=>o.open_artist&&o.open_artist(...f)),textContent:g(e.$t("page.artist.album-count",{count:o.album_count}))},null,8,DN),PN,u("span",{textContent:g(e.$t("page.artist.track-count",{count:o.tracks.count}))},null,8,IN)]),y(c,{tracks:o.tracks,uris:o.track_uris},null,8,["tracks","uris"]),y(d,{show:s.show_details_modal,artist:s.artist,onClose:t[5]||(t[5]=f=>s.show_details_modal=!1)},null,8,["show","artist"])]),_:1})])}const RN=te(yN,[["render",FN]]),fa={load(e){return Promise.all([V.library_album(e.params.id),V.library_album_tracks(e.params.id)])},set(e,t){e.album=t[0].data,e.tracks=new ve(t[1].data)}},LN={name:"PageAudiobooksAlbum",components:{ContentWithHero:cu,CoverArtwork:Fn,ListTracks:Cn,ModalDialogAlbum:du},beforeRouteEnter(e,t,n){fa.load(e).then(r=>{n(s=>fa.set(s,r))})},beforeRouteUpdate(e,t,n){const r=this;fa.load(e).then(s=>{fa.set(r,s),n()})},data(){return{album:{},show_details_modal:!1,tracks:new ve}},methods:{open_artist(){this.show_details_modal=!1,this.$router.push({name:"audiobooks-artist",params:{id:this.album.artist_id}})},play(){V.player_play_uri(this.album.uri,!1)}}},NN=["textContent"],MN={class:"subtitle is-6 has-text-link"},VN=["textContent"],HN={class:"buttons fd-is-centered-mobile mt-5"},UN=["textContent"],BN=["textContent"];function jN(e,t,n,r,s,o){const i=$("mdicon"),a=$("cover-artwork"),l=$("list-tracks"),c=$("modal-dialog-album"),d=$("content-with-hero");return k(),T("div",null,[y(d,null,{"heading-left":E(()=>[u("h1",{class:"title is-5",textContent:g(s.album.name)},null,8,NN),u("h2",MN,[u("a",{class:"has-text-link",onClick:t[0]||(t[0]=(...m)=>o.open_artist&&o.open_artist(...m)),textContent:g(s.album.artist)},null,8,VN)]),u("div",HN,[u("a",{class:"button is-small is-dark is-rounded",onClick:t[1]||(t[1]=(...m)=>o.play&&o.play(...m))},[y(i,{class:"icon",name:"play",size:"16"}),u("span",{textContent:g(e.$t("page.audiobooks.album.play"))},null,8,UN)]),u("a",{class:"button is-small is-light is-rounded",onClick:t[2]||(t[2]=m=>s.show_details_modal=!0)},[y(i,{class:"icon",name:"dots-horizontal",size:"16"})])])]),"heading-right":E(()=>[y(a,{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]=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.audiobooks.album.track-count",{count:s.album.track_count}))},null,8,BN),y(l,{tracks:s.tracks,uris:s.album.uri},null,8,["tracks","uris"]),y(c,{show:s.show_details_modal,album:s.album,media_kind:"audiobook",onClose:t[4]||(t[4]=m=>s.show_details_modal=!1)},null,8,["show","album"])]),_:1})])}const qN=te(LN,[["render",jN]]),WN={name:"TabsAudiobooks"},GN={class:"section fd-tabs-section"},KN={class:"container"},ZN={class:"columns is-centered"},YN={class:"column is-four-fifths"},JN={class:"tabs is-centered is-small"},XN=["onClick","onKeypress"],QN=["textContent"],eM=["onClick","onKeypress"],tM=["textContent"],nM=["onClick","onKeypress"],rM=["textContent"];function sM(e,t,n,r,s,o){const i=$("mdicon"),a=$("router-link");return k(),T("section",GN,[u("div",KN,[u("div",ZN,[u("div",YN,[u("div",JN,[u("ul",null,[y(a,{to:{name:"audiobooks-artists"},custom:""},{default:E(({navigate:l,isActive:c})=>[u("li",{class:Ee({"is-active":c})},[u("a",{onClick:l,onKeypress:sn(l,["enter"])},[y(i,{class:"icon is-small",name:"account-music",size:"16"}),u("span",{textContent:g(e.$t("page.audiobooks.tabs.authors"))},null,8,QN)],40,XN)],2)]),_:1}),y(a,{to:{name:"audiobooks-albums"},custom:""},{default:E(({navigate:l,isActive:c})=>[u("li",{class:Ee({"is-active":c})},[u("a",{onClick:l,onKeypress:sn(l,["enter"])},[y(i,{class:"icon is-small",name:"album",size:"16"}),u("span",{textContent:g(e.$t("page.audiobooks.tabs.audiobooks"))},null,8,tM)],40,eM)],2)]),_:1}),y(a,{to:{name:"audiobooks-genres"},custom:""},{default:E(({navigate:l,isActive:c})=>[u("li",{class:Ee({"is-active":c})},[u("a",{onClick:l,onKeypress:sn(l,["enter"])},[y(i,{class:"icon is-small",name:"speaker",size:"16"}),u("span",{textContent:g(e.$t("page.audiobooks.tabs.genres"))},null,8,rM)],40,nM)],2)]),_:1})])])])])])])}const Im=te(WN,[["render",sM]]),pa={load(e){return V.library_albums("audiobook")},set(e,t){e.albums=new ve(t.data),e.albums.group(Rn("name_sort",!0))}},oM={name:"PageAudiobooksAlbums",components:{TabsAudiobooks:Im,ContentWithHeading:et,IndexButtonList:Jn,ListAlbums:ur},beforeRouteEnter(e,t,n){pa.load(e).then(r=>{n(s=>pa.set(s,r))})},beforeRouteUpdate(e,t,n){if(!this.albums.isEmpty()){n();return}const r=this;pa.load(e).then(s=>{pa.set(r,s),n()})},data(){return{albums:new ve}}},iM={class:"fd-page-with-tabs"},aM=["textContent"],lM=["textContent"];function uM(e,t,n,r,s,o){const i=$("tabs-audiobooks"),a=$("index-button-list"),l=$("list-albums"),c=$("content-with-heading");return k(),T("div",iM,[y(i),y(c,null,{options:E(()=>[y(a,{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,aM),u("p",{class:"heading",textContent:g(e.$t("page.audiobooks.albums.count",{count:s.albums.count}))},null,8,lM)]),content:E(()=>[y(l,{albums:s.albums},null,8,["albums"])]),_:1})])}const cM=te(oM,[["render",uM]]),ha={load(e){return Promise.all([V.library_artist(e.params.id),V.library_artist_albums(e.params.id)])},set(e,t){e.artist=t[0].data,e.albums=new ve(t[1].data)}},dM={name:"PageAudiobooksArtist",components:{ContentWithHeading:et,ListAlbums:ur,ModalDialogArtist:mu},beforeRouteEnter(e,t,n){ha.load(e).then(r=>{n(s=>ha.set(s,r))})},beforeRouteUpdate(e,t,n){if(!this.albums.isEmpty()){n();return}const r=this;ha.load(e).then(s=>{ha.set(r,s),n()})},data(){return{artist:{},albums:new ve,show_details_modal:!1}},methods:{play(){V.player_play_uri(this.albums.items.map(e=>e.uri).join(","),!1)}}},mM=["textContent"],fM={class:"buttons is-centered"},pM=["textContent"],hM=["textContent"];function _M(e,t,n,r,s,o){const i=$("mdicon"),a=$("list-albums"),l=$("modal-dialog-artist"),c=$("content-with-heading");return k(),T("div",null,[y(c,null,{"heading-left":E(()=>[u("p",{class:"title is-4",textContent:g(s.artist.name)},null,8,mM)]),"heading-right":E(()=>[u("div",fM,[u("a",{class:"button is-small is-light is-rounded",onClick:t[0]||(t[0]=d=>s.show_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]=(...d)=>o.play&&o.play(...d))},[y(i,{class:"icon",name:"play",size:"16"}),u("span",{textContent:g(e.$t("page.audiobooks.artist.play"))},null,8,pM)])])]),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,hM),y(a,{albums:s.albums},null,8,["albums"]),y(l,{show:s.show_details_modal,artist:s.artist,onClose:t[2]||(t[2]=d=>s.show_details_modal=!1)},null,8,["show","artist"])]),_:1})])}const gM=te(dM,[["render",_M]]),_a={load(e){return V.library_artists("audiobook")},set(e,t){e.artists_list=new ve(t.data)}},yM={name:"PageAudiobooksArtists",components:{ContentWithHeading:et,TabsAudiobooks:Im,IndexButtonList:Jn,ListArtists:Pm},beforeRouteEnter(e,t,n){_a.load(e).then(r=>{n(s=>_a.set(s,r))})},beforeRouteUpdate(e,t,n){if(!this.artists_list.isEmpty()){n();return}const r=this;_a.load(e).then(s=>{_a.set(r,s),n()})},data(){return{artists_list:new ve}},computed:{artists(){return this.artists_list?(this.artists_list.group(Rn("name_sort",!0)),this.artists_list):[]}}},vM={class:"fd-page-with-tabs"},bM=["textContent"],zM=["textContent"];function CM(e,t,n,r,s,o){const i=$("tabs-audiobooks"),a=$("index-button-list"),l=$("list-artists"),c=$("content-with-heading");return k(),T("div",vM,[y(i),y(c,null,{options:E(()=>[y(a,{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,bM),u("p",{class:"heading",textContent:g(e.$t("page.audiobooks.artists.count",{count:o.artists.count}))},null,8,zM)]),"heading-right":E(()=>[]),content:E(()=>[y(l,{artists:o.artists},null,8,["artists"])]),_:1})])}const wM=te(yM,[["render",CM]]),kM={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"),V.player_play_expression(this.expression,!1)},queue_add(){this.$emit("close"),V.queue_expression_add(this.expression)},queue_add_next(){this.$emit("close"),V.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}})}}},xM={key:0,class:"modal is-active"},EM={class:"modal-content fd-modal-card"},SM={class:"card"},$M={class:"card-content"},AM={class:"title is-4"},TM=["textContent"],OM={class:"content is-small"},DM=["textContent"],PM=["textContent"],IM=["textContent"],FM=["textContent"],RM=["textContent"],LM=["textContent"],NM={class:"card-footer"},MM=["textContent"],VM=["textContent"],HM=["textContent"];function UM(e,t,n,r,s,o){const i=$("mdicon");return k(),T("div",null,[y(It,{name:"fade"},{default:E(()=>[n.show?(k(),T("div",xM,[u("div",{class:"modal-background",onClick:t[0]||(t[0]=a=>e.$emit("close"))}),u("div",EM,[u("div",SM,[u("div",$M,[u("p",AM,[u("a",{class:"has-text-link",onClick:t[1]||(t[1]=(...a)=>o.open_genre&&o.open_genre(...a)),textContent:g(n.genre.name)},null,8,TM)]),u("div",OM,[u("p",null,[u("span",{class:"heading",textContent:g(e.$t("dialog.genre.albums"))},null,8,DM),u("span",{class:"title is-6",textContent:g(n.genre.album_count)},null,8,PM)]),u("p",null,[u("span",{class:"heading",textContent:g(e.$t("dialog.genre.tracks"))},null,8,IM),u("span",{class:"title is-6",textContent:g(n.genre.track_count)},null,8,FM)]),u("p",null,[u("span",{class:"heading",textContent:g(e.$t("dialog.genre.duration"))},null,8,RM),u("span",{class:"title is-6",textContent:g(e.$filters.durationInHours(n.genre.length_ms))},null,8,LM)])])]),u("footer",NM,[u("a",{class:"card-footer-item has-text-dark",onClick:t[2]||(t[2]=(...a)=>o.queue_add&&o.queue_add(...a))},[y(i,{class:"icon",name:"playlist-plus",size:"16"}),u("span",{class:"is-size-7",textContent:g(e.$t("dialog.genre.add"))},null,8,MM)]),u("a",{class:"card-footer-item has-text-dark",onClick:t[3]||(t[3]=(...a)=>o.queue_add_next&&o.queue_add_next(...a))},[y(i,{class:"icon",name:"playlist-play",size:"16"}),u("span",{class:"is-size-7",textContent:g(e.$t("dialog.genre.add-next"))},null,8,VM)]),u("a",{class:"card-footer-item has-text-dark",onClick:t[4]||(t[4]=(...a)=>o.play&&o.play(...a))},[y(i,{class:"icon",name:"play",size:"16"}),u("span",{class:"is-size-7",textContent:g(e.$t("dialog.genre.play"))},null,8,HM)])])])]),u("button",{class:"modal-close is-large","aria-label":"close",onClick:t[5]||(t[5]=a=>e.$emit("close"))})])):M("",!0)]),_:1})])}const Fm=te(kM,[["render",UM]]),BM={name:"ListGenres",components:{ModalDialogGenre:Fm},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}}},jM={key:0,class:"mt-6 mb-5 py-2"},qM={class:"media-content is-clipped"},WM=["id","textContent"],GM=["onClick"],KM={class:"media-content is-clickable is-clipped"},ZM=["textContent"],YM={class:"media-right"},JM=["onClick"];function XM(e,t,n,r,s,o){const i=$("mdicon"),a=$("modal-dialog-genre");return k(),T(we,null,[(k(!0),T(we,null,ct(n.genres,l=>(k(),T(we,{key:l.itemId},[!l.isItem&&!n.hide_group_title?(k(),T("div",jM,[u("div",qM,[u("span",{id:"index_"+l.groupKey,class:"tag is-info is-light is-small has-text-weight-bold",textContent:g(l.groupKey)},null,8,WM)])])):l.isItem?(k(),T("div",{key:1,class:"media is-align-items-center",onClick:c=>o.open_genre(l.item)},[u("div",KM,[u("h1",{class:"title is-6",textContent:g(l.item.name)},null,8,ZM)]),u("div",YM,[u("a",{onClick:st(c=>o.open_dialog(l.item),["prevent","stop"])},[y(i,{class:"icon has-text-dark",name:"dots-vertical",size:"16"})],8,JM)])],8,GM)):M("",!0)],64))),128)),(k(),_e(Yr,{to:"#app"},[y(a,{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 G1=te(BM,[["render",XM]]),ga={load(e){return V.library_genres("audiobook")},set(e,t){e.genres=t.data,e.genres=new ve(t.data),e.genres.group(Rn("name_sort"))}},QM={name:"PageAudiobooksGenres",components:{ContentWithHeading:et,IndexButtonList:Jn,ListGenres:G1,TabsAudiobooks:Im},beforeRouteEnter(e,t,n){ga.load(e).then(r=>{n(s=>ga.set(s,r))})},beforeRouteUpdate(e,t,n){const r=this;ga.load(e).then(s=>{ga.set(r,s),n()})},data(){return{genres:new ve}}},e7={class:"fd-page-with-tabs"},t7=["textContent"],n7=["textContent"];function r7(e,t,n,r,s,o){const i=$("tabs-audiobooks"),a=$("index-button-list"),l=$("list-genres"),c=$("content-with-heading");return k(),T("div",e7,[y(i),y(c,null,{options:E(()=>[y(a,{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,t7),u("p",{class:"heading",textContent:g(e.$t("page.genres.count",{count:s.genres.total}))},null,8,n7)]),content:E(()=>[y(l,{genres:s.genres,media_kind:"audiobook"},null,8,["genres"])]),_:1})])}const s7=te(QM,[["render",r7]]),ya={load(e){return Promise.all([V.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}),V.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 ve(t[0].data.albums),e.recently_played=new ve(t[1].data.tracks)}},o7={name:"PageMusic",components:{ContentWithHeading:et,ListAlbums:ur,ListTracks:Cn,TabsMusic:cr},beforeRouteEnter(e,t,n){ya.load(e).then(r=>{n(s=>ya.set(s,r))})},beforeRouteUpdate(e,t,n){const r=this;ya.load(e).then(s=>{ya.set(r,s),n()})},data(){return{recently_added:[],recently_played:{items:[]},selected_track:{}}}},i7={class:"fd-page-with-tabs"},a7=["textContent"],l7={class:"level"},u7={class:"level-item"},c7=["textContent"],d7={class:"level"},m7={class:"level-item"};function f7(e,t,n,r,s,o){const i=$("tabs-music"),a=$("list-albums"),l=$("router-link"),c=$("content-with-heading"),d=$("list-tracks");return k(),T("div",i7,[y(i),y(c,null,{"heading-left":E(()=>[u("p",{class:"title is-4",textContent:g(e.$t("page.music.recently-added.title"))},null,8,a7)]),content:E(()=>[y(a,{albums:s.recently_added},null,8,["albums"])]),footer:E(()=>[u("nav",l7,[u("p",u7,[y(l,{class:"button is-light is-small is-rounded",to:{name:"music-recently-added"}},{default:E(()=>[gt(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,c7)]),content:E(()=>[y(d,{tracks:s.recently_played},null,8,["tracks"])]),footer:E(()=>[u("nav",d7,[u("p",m7,[y(l,{class:"button is-light is-small is-rounded",to:{name:"music-recently-played"}},{default:E(()=>[gt(g(e.$t("page.music.show-more")),1)]),_:1})])])]),_:1})])}const p7=te(o7,[["render",f7]]),va={load(e){const t=He.getters.settings_option_recently_added_limit;return V.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 ve(t.data.albums),e.recently_added.group(x5("time_added",{direction:"desc"}))}},h7={name:"PageMusicRecentlyAdded",components:{ContentWithHeading:et,TabsMusic:cr,ListAlbums:ur},beforeRouteEnter(e,t,n){va.load(e).then(r=>{n(s=>va.set(s,r))})},beforeRouteUpdate(e,t,n){if(!this.recently_added.isEmpty()){n();return}const r=this;va.load(e).then(s=>{va.set(r,s),n()})},data(){return{recently_added:new ve}}},_7={class:"fd-page-with-tabs"},g7=["textContent"];function y7(e,t,n,r,s,o){const i=$("tabs-music"),a=$("list-albums"),l=$("content-with-heading");return k(),T("div",_7,[y(i),y(l,null,{"heading-left":E(()=>[u("p",{class:"title is-4",textContent:g(e.$t("page.music.recently-added.title"))},null,8,g7)]),content:E(()=>[y(a,{albums:s.recently_added},null,8,["albums"])]),_:1})])}const v7=te(h7,[["render",y7]]),ba={load(e){return V.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 ve(t.data.tracks)}},b7={name:"PageMusicRecentlyPlayed",components:{ContentWithHeading:et,TabsMusic:cr,ListTracks:Cn},beforeRouteEnter(e,t,n){ba.load(e).then(r=>{n(s=>ba.set(s,r))})},beforeRouteUpdate(e,t,n){const r=this;ba.load(e).then(s=>{ba.set(r,s),n()})},data(){return{recently_played:{}}}},z7={class:"fd-page-with-tabs"},C7=["textContent"];function w7(e,t,n,r,s,o){const i=$("tabs-music"),a=$("list-tracks"),l=$("content-with-heading");return k(),T("div",z7,[y(i),y(l,null,{"heading-left":E(()=>[u("p",{class:"title is-4",textContent:g(e.$t("page.music.recently-played.title"))},null,8,C7)]),content:E(()=>[y(a,{tracks:s.recently_played},null,8,["tracks"])]),_:1})])}const k7=te(b7,[["render",w7]]),x7={name:"ListItemPlaylistSpotify",props:["playlist"],methods:{open_playlist(){this.$router.push({name:"playlist-spotify",params:{id:this.playlist.id}})}}},E7={class:"media is-align-items-center"},S7=["textContent"],$7=["textContent"],A7={class:"media-right"};function T7(e,t,n,r,s,o){return k(),T("div",E7,[u("div",{class:"media-content is-clickable is-clipped",onClick:t[0]||(t[0]=(...i)=>o.open_playlist&&o.open_playlist(...i))},[u("h1",{class:"title is-6",textContent:g(n.playlist.name)},null,8,S7),u("h2",{class:"subtitle is-7",textContent:g(n.playlist.owner.display_name)},null,8,$7)]),u("div",A7,[it(e.$slots,"actions")])])}const Rm=te(x7,[["render",T7]]),O7={name:"ModalDialogPlaylistSpotify",props:["show","playlist"],emits:["close"],methods:{play(){this.$emit("close"),V.player_play_uri(this.playlist.uri,!1)},queue_add(){this.$emit("close"),V.queue_add(this.playlist.uri)},queue_add_next(){this.$emit("close"),V.queue_add_next(this.playlist.uri)},open_playlist(){this.$emit("close"),this.$router.push({name:"playlist-spotify",params:{id:this.playlist.id}})}}},D7={key:0,class:"modal is-active"},P7={class:"modal-content fd-modal-card"},I7={class:"card"},F7={class:"card-content"},R7={class:"title is-4"},L7=["textContent"],N7={class:"content is-small"},M7=["textContent"],V7=["textContent"],H7=["textContent"],U7=["textContent"],B7=["textContent"],j7=["textContent"],q7={class:"card-footer"},W7=["textContent"],G7=["textContent"],K7=["textContent"];function Z7(e,t,n,r,s,o){const i=$("mdicon");return k(),T("div",null,[y(It,{name:"fade"},{default:E(()=>[n.show?(k(),T("div",D7,[u("div",{class:"modal-background",onClick:t[0]||(t[0]=a=>e.$emit("close"))}),u("div",P7,[u("div",I7,[u("div",F7,[u("p",R7,[u("a",{class:"has-text-link",onClick:t[1]||(t[1]=(...a)=>o.open_playlist&&o.open_playlist(...a)),textContent:g(n.playlist.name)},null,8,L7)]),u("div",N7,[u("p",null,[u("span",{class:"heading",textContent:g(e.$t("dialog.spotify.playlist.owner"))},null,8,M7),u("span",{class:"title is-6",textContent:g(n.playlist.owner.display_name)},null,8,V7)]),u("p",null,[u("span",{class:"heading",textContent:g(e.$t("dialog.spotify.playlist.tracks"))},null,8,H7),u("span",{class:"title is-6",textContent:g(n.playlist.tracks.total)},null,8,U7)]),u("p",null,[u("span",{class:"heading",textContent:g(e.$t("dialog.spotify.playlist.path"))},null,8,B7),u("span",{class:"title is-6",textContent:g(n.playlist.uri)},null,8,j7)])])]),u("footer",q7,[u("a",{class:"card-footer-item has-text-dark",onClick:t[2]||(t[2]=(...a)=>o.queue_add&&o.queue_add(...a))},[y(i,{class:"icon",name:"playlist-plus",size:"16"}),u("span",{class:"is-size-7",textContent:g(e.$t("dialog.spotify.playlist.add"))},null,8,W7)]),u("a",{class:"card-footer-item has-text-dark",onClick:t[3]||(t[3]=(...a)=>o.queue_add_next&&o.queue_add_next(...a))},[y(i,{class:"icon",name:"playlist-play",size:"16"}),u("span",{class:"is-size-7",textContent:g(e.$t("dialog.spotify.playlist.add-next"))},null,8,G7)]),u("a",{class:"card-footer-item has-text-dark",onClick:t[4]||(t[4]=(...a)=>o.play&&o.play(...a))},[y(i,{class:"icon",name:"play",size:"16"}),u("span",{class:"is-size-7",textContent:g(e.$t("dialog.spotify.playlist.play"))},null,8,K7)])])])]),u("button",{class:"modal-close is-large","aria-label":"close",onClick:t[5]||(t[5]=a=>e.$emit("close"))})])):M("",!0)]),_:1})])}const pu=te(O7,[["render",Z7]]),za={load(e){if(He.state.spotify_new_releases.length>0&&He.state.spotify_featured_playlists.length>0)return Promise.resolve();const t=new Yn;return t.setAccessToken(He.state.spotify.webapi_token),Promise.all([t.getNewReleases({country:He.state.spotify.webapi_country,limit:50}),t.getFeaturedPlaylists({country:He.state.spotify.webapi_country,limit:50})])},set(e,t){t&&(He.commit(_d,t[0].albums.items),He.commit(gd,t[1].playlists.items))}},Y7={name:"PageMusicSpotify",components:{ContentWithHeading:et,CoverArtwork:Fn,ListItemAlbumSpotify:fu,ListItemPlaylistSpotify:Rm,ModalDialogAlbumSpotify:Ri,ModalDialogPlaylistSpotify:pu,TabsMusic:cr},beforeRouteEnter(e,t,n){za.load(e).then(r=>{n(s=>za.set(s,r))})},beforeRouteUpdate(e,t,n){const r=this;za.load(e).then(s=>{za.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:""}}},J7={class:"fd-page-with-tabs"},X7=["textContent"],Q7=["onClick"],e9={class:"level"},t9={class:"level-item"},n9=["textContent"],r9=["onClick"],s9={class:"level"},o9={class:"level-item"};function i9(e,t,n,r,s,o){const i=$("tabs-music"),a=$("cover-artwork"),l=$("mdicon"),c=$("list-item-album-spotify"),d=$("modal-dialog-album-spotify"),m=$("router-link"),f=$("content-with-heading"),p=$("list-item-playlist-spotify"),h=$("modal-dialog-playlist-spotify");return k(),T("div",J7,[y(i),y(f,null,{"heading-left":E(()=>[u("p",{class:"title is-4",textContent:g(e.$t("page.spotify.music.new-releases"))},null,8,X7)]),content:E(()=>[(k(!0),T(we,null,ct(o.new_releases,_=>(k(),_e(c,{key:_.id,album:_,onClick:b=>o.open_album(_)},Si({actions:E(()=>[u("a",{onClick:st(b=>o.open_album_dialog(_),["prevent","stop"])},[y(l,{class:"icon has-text-dark",name:"dots-vertical",size:"16"})],8,Q7)]),_:2},[o.is_visible_artwork?{name:"artwork",fn:E(()=>[y(a,{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",e9,[u("p",t9,[y(m,{to:{name:"music-spotify-new-releases"},class:"button is-light is-small is-rounded"},{default:E(()=>[gt(g(e.$t("page.spotify.music.show-more")),1)]),_:1})])])]),_:1}),y(f,null,{"heading-left":E(()=>[u("p",{class:"title is-4",textContent:g(e.$t("page.spotify.music.featured-playlists"))},null,8,n9)]),content:E(()=>[(k(!0),T(we,null,ct(o.featured_playlists,_=>(k(),_e(p,{key:_.id,playlist:_},{actions:E(()=>[u("a",{onClick:st(b=>o.open_playlist_dialog(_),["prevent","stop"])},[y(l,{class:"icon has-text-dark",name:"dots-vertical",size:"16"})],8,r9)]),_: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",s9,[u("p",o9,[y(m,{to:{name:"music-spotify-featured-playlists"},class:"button is-light is-small is-rounded"},{default:E(()=>[gt(g(e.$t("page.spotify.music.show-more")),1)]),_:1})])])]),_:1})])}const a9=te(Y7,[["render",i9]]),Ca={load(e){if(He.state.spotify_featured_playlists.length>0)return Promise.resolve();const t=new Yn;t.setAccessToken(He.state.spotify.webapi_token),t.getFeaturedPlaylists({country:He.state.spotify.webapi_country,limit:50})},set(e,t){t&&He.commit(gd,t.playlists.items)}},l9={name:"PageMusicSpotifyFeaturedPlaylists",components:{ContentWithHeading:et,ListItemPlaylistSpotify:Rm,ModalDialogPlaylistSpotify:pu,TabsMusic:cr},beforeRouteEnter(e,t,n){Ca.load(e).then(r=>{n(s=>Ca.set(s,r))})},beforeRouteUpdate(e,t,n){const r=this;Ca.load(e).then(s=>{Ca.set(r,s),n()})},data(){return{selected_playlist:{},show_details_modal:!1}},computed:{featured_playlists(){return this.$store.state.spotify_featured_playlists}},methods:{open_playlist_dialog(e){this.selected_playlist=e,this.show_details_modal=!0}}},u9={class:"fd-page-with-tabs"},c9=["textContent"],d9=["onClick"];function m9(e,t,n,r,s,o){const i=$("tabs-music"),a=$("mdicon"),l=$("list-item-playlist-spotify"),c=$("modal-dialog-playlist-spotify"),d=$("content-with-heading");return k(),T("div",u9,[y(i),y(d,null,{"heading-left":E(()=>[u("p",{class:"title is-4",textContent:g(e.$t("page.spotify.music.featured-playlists"))},null,8,c9)]),content:E(()=>[(k(!0),T(we,null,ct(o.featured_playlists,m=>(k(),_e(l,{key:m.id,playlist:m},{actions:E(()=>[u("a",{onClick:st(f=>o.open_playlist_dialog(m),["prevent","stop"])},[y(a,{class:"icon has-text-dark",name:"dots-vertical",size:"16"})],8,d9)]),_:2},1032,["playlist"]))),128)),y(c,{show:s.show_details_modal,playlist:s.selected_playlist,onClose:t[0]||(t[0]=m=>s.show_details_modal=!1)},null,8,["show","playlist"])]),_:1})])}const f9=te(l9,[["render",m9]]),wa={load(e){if(He.state.spotify_new_releases.length>0)return Promise.resolve();const t=new Yn;return t.setAccessToken(He.state.spotify.webapi_token),t.getNewReleases({country:He.state.spotify.webapi_country,limit:50})},set(e,t){t&&He.commit(_d,t.albums.items)}},p9={name:"PageMusicSpotifyNewReleases",components:{ContentWithHeading:et,CoverArtwork:Fn,ListItemAlbumSpotify:fu,ModalDialogAlbumSpotify:Ri,TabsMusic:cr},beforeRouteEnter(e,t,n){wa.load(e).then(r=>{n(s=>wa.set(s,r))})},beforeRouteUpdate(e,t,n){const r=this;wa.load(e).then(s=>{wa.set(r,s),n()})},data(){return{show_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_details_modal=!0},artwork_url(e){return e.images&&e.images.length>0?e.images[0].url:""}}},h9={class:"fd-page-with-tabs"},_9=["textContent"],g9=["onClick"];function y9(e,t,n,r,s,o){const i=$("tabs-music"),a=$("cover-artwork"),l=$("mdicon"),c=$("list-item-album-spotify"),d=$("modal-dialog-album-spotify"),m=$("content-with-heading");return k(),T("div",h9,[y(i),y(m,null,{"heading-left":E(()=>[u("p",{class:"title is-4",textContent:g(e.$t("page.spotify.music.new-releases"))},null,8,_9)]),content:E(()=>[(k(!0),T(we,null,ct(o.new_releases,f=>(k(),_e(c,{key:f.id,album:f,onClick:p=>o.open_album(f)},Si({actions:E(()=>[u("a",{onClick:st(p=>o.open_album_dialog(f),["prevent","stop"])},[y(l,{class:"icon has-text-dark",name:"dots-vertical",size:"16"})],8,g9)]),_:2},[o.is_visible_artwork?{name:"artwork",fn:E(()=>[y(a,{artwork_url:o.artwork_url(f),artist:f.artist,album:f.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_details_modal,album:s.selected_album,onClose:t[0]||(t[0]=f=>s.show_details_modal=!1)},null,8,["show","album"])]),_:1})])}const v9=te(p9,[["render",y9]]),b9={name:"ModalDialogComposer",props:["show","composer"],emits:["close"],methods:{play(){this.$emit("close"),V.player_play_expression(`composer is "${this.composer.name}" and media_kind is music`,!1)},queue_add(){this.$emit("close"),V.queue_expression_add(`composer is "${this.composer.name}" and media_kind is music`)},queue_add_next(){this.$emit("close"),V.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.$router.push({name:"music-composer-tracks",params:{name:this.composer.name}})}}},z9={key:0,class:"modal is-active"},C9={class:"modal-content fd-modal-card"},w9={class:"card"},k9={class:"card-content"},x9={class:"title is-4"},E9=["textContent"],S9=["textContent"],$9=["textContent"],A9=["textContent"],T9=["textContent"],O9=["textContent"],D9=["textContent"],P9={class:"card-footer"},I9=["textContent"],F9=["textContent"],R9=["textContent"];function L9(e,t,n,r,s,o){const i=$("mdicon");return k(),T("div",null,[y(It,{name:"fade"},{default:E(()=>[n.show?(k(),T("div",z9,[u("div",{class:"modal-background",onClick:t[0]||(t[0]=a=>e.$emit("close"))}),u("div",C9,[u("div",w9,[u("div",k9,[u("p",x9,[u("a",{class:"has-text-link",onClick:t[1]||(t[1]=(...a)=>o.open_albums&&o.open_albums(...a)),textContent:g(n.composer.name)},null,8,E9)]),u("p",null,[u("span",{class:"heading",textContent:g(e.$t("dialog.composer.albums"))},null,8,S9),u("a",{class:"has-text-link is-6",onClick:t[2]||(t[2]=(...a)=>o.open_albums&&o.open_albums(...a)),textContent:g(n.composer.album_count)},null,8,$9)]),u("p",null,[u("span",{class:"heading",textContent:g(e.$t("dialog.composer.tracks"))},null,8,A9),u("a",{class:"has-text-link is-6",onClick:t[3]||(t[3]=(...a)=>o.open_tracks&&o.open_tracks(...a)),textContent:g(n.composer.track_count)},null,8,T9)]),u("p",null,[u("span",{class:"heading",textContent:g(e.$t("dialog.composer.duration"))},null,8,O9),u("span",{class:"title is-6",textContent:g(e.$filters.durationInHours(n.composer.length_ms))},null,8,D9)])]),u("footer",P9,[u("a",{class:"card-footer-item has-text-dark",onClick:t[4]||(t[4]=(...a)=>o.queue_add&&o.queue_add(...a))},[y(i,{class:"icon",name:"playlist-plus",size:"16"}),u("span",{class:"is-size-7",textContent:g(e.$t("dialog.composer.add"))},null,8,I9)]),u("a",{class:"card-footer-item has-text-dark",onClick:t[5]||(t[5]=(...a)=>o.queue_add_next&&o.queue_add_next(...a))},[y(i,{class:"icon",name:"playlist-play",size:"16"}),u("span",{class:"is-size-7",textContent:g(e.$t("dialog.composer.add-next"))},null,8,F9)]),u("a",{class:"card-footer-item has-text-dark",onClick:t[6]||(t[6]=(...a)=>o.play&&o.play(...a))},[y(i,{class:"icon",name:"play",size:"16"}),u("span",{class:"is-size-7",textContent:g(e.$t("dialog.composer.play"))},null,8,R9)])])])]),u("button",{class:"modal-close is-large","aria-label":"close",onClick:t[7]||(t[7]=a=>e.$emit("close"))})])):M("",!0)]),_:1})])}const Lm=te(b9,[["render",L9]]),ka={load(e){return Promise.all([V.library_composer(e.params.name),V.library_composer_albums(e.params.name)])},set(e,t){e.composer=t[0].data,e.albums_list=new ve(t[1].data.albums)}},N9={name:"PageComposerAlbums",components:{ContentWithHeading:et,ListAlbums:ur,ModalDialogComposer:Lm},beforeRouteEnter(e,t,n){ka.load(e).then(r=>{n(s=>ka.set(s,r))})},beforeRouteUpdate(e,t,n){const r=this;ka.load(e).then(s=>{ka.set(r,s),n()})},data(){return{albums_list:new ve,composer:{},show_details_modal:!1}},methods:{open_tracks(){this.$router.push({name:"music-composer-tracks",params:{name:this.composer.name}})},play(){V.player_play_expression(`composer is "${this.composer.name}" and media_kind is music`,!0)}}},M9=["textContent"],V9={class:"buttons is-centered"},H9=["textContent"],U9={class:"heading has-text-centered-mobile"},B9=["textContent"],j9=u("span",null," | ",-1),q9=["textContent"];function W9(e,t,n,r,s,o){const i=$("mdicon"),a=$("list-albums"),l=$("modal-dialog-composer"),c=$("content-with-heading");return k(),T("div",null,[y(c,null,{"heading-left":E(()=>[u("p",{class:"title is-4",textContent:g(s.composer.name)},null,8,M9)]),"heading-right":E(()=>[u("div",V9,[u("a",{class:"button is-small is-light is-rounded",onClick:t[0]||(t[0]=d=>s.show_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]=(...d)=>o.play&&o.play(...d))},[y(i,{class:"icon",name:"shuffle",size:"16"}),u("span",{textContent:g(e.$t("page.composer.shuffle"))},null,8,H9)])])]),content:E(()=>[u("p",U9,[u("span",{textContent:g(e.$t("page.composer.album-count",{count:s.composer.album_count}))},null,8,B9),j9,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,q9)]),y(a,{albums:s.albums_list,hide_group_title:!0},null,8,["albums"]),y(l,{show:s.show_details_modal,composer:s.composer,onClose:t[3]||(t[3]=d=>s.show_details_modal=!1)},null,8,["show","composer"])]),_:1})])}const G9=te(N9,[["render",W9]]),xa={load(e){return Promise.all([V.library_composer(e.params.name),V.library_composer_tracks(e.params.name)])},set(e,t){e.composer=t[0].data,e.tracks_list=new ve(t[1].data.tracks)}},K9={name:"PageComposerTracks",components:{ContentWithHeading:et,ControlDropdown:Ss,IndexButtonList:Jn,ListTracks:Cn,ModalDialogComposer:Lm},beforeRouteEnter(e,t,n){xa.load(e).then(r=>{n(s=>xa.set(s,r))})},beforeRouteUpdate(e,t,n){const r=this;xa.load(e).then(s=>{xa.set(r,s),n()})},data(){return{composer:{},groupby_options:[{id:1,name:this.$t("page.composer.sort.name"),options:Rn("title_sort")},{id:2,name:this.$t("page.composer.sort.rating"),options:Am("rating",{direction:"desc"})}],show_details_modal:!1,tracks_list:new ve}},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(Jh,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(){V.player_play_expression(this.expression,!0)}}},Z9={class:"columns"},Y9={class:"column"},J9=["textContent"],X9=["textContent"],Q9={class:"buttons is-centered"},eV=["textContent"],tV={class:"heading has-text-centered-mobile"},nV=["textContent"],rV=u("span",null," | ",-1),sV=["textContent"];function oV(e,t,n,r,s,o){const i=$("index-button-list"),a=$("control-dropdown"),l=$("mdicon"),c=$("list-tracks"),d=$("modal-dialog-composer"),m=$("content-with-heading");return k(),T("div",null,[y(m,null,{options:E(()=>[y(i,{index:o.tracks.indexList},null,8,["index"]),u("div",Z9,[u("div",Y9,[u("p",{class:"heading mb-5",textContent:g(e.$t("page.artist.sort.title"))},null,8,J9),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.composer.name)},null,8,X9)]),"heading-right":E(()=>[u("div",Q9,[u("a",{class:"button is-small is-light is-rounded",onClick:t[1]||(t[1]=f=>s.show_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]=(...f)=>o.play&&o.play(...f))},[y(l,{class:"icon",name:"shuffle",size:"16"}),u("span",{textContent:g(e.$t("page.composer.shuffle"))},null,8,eV)])])]),content:E(()=>[u("p",tV,[u("a",{class:"has-text-link",onClick:t[3]||(t[3]=(...f)=>o.open_albums&&o.open_albums(...f)),textContent:g(e.$t("page.composer.album-count",{count:s.composer.album_count}))},null,8,nV),rV,u("span",{textContent:g(e.$t("page.composer.track-count",{count:s.composer.track_count}))},null,8,sV)]),y(c,{tracks:o.tracks,expression:o.expression},null,8,["tracks","expression"]),y(d,{show:s.show_details_modal,composer:s.composer,onClose:t[4]||(t[4]=f=>s.show_details_modal=!1)},null,8,["show","composer"])]),_:1})])}const iV=te(K9,[["render",oV]]),aV={name:"ListComposers",components:{ModalDialogComposer:Lm},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}}},lV={key:0,class:"mt-6 mb-5 py-2"},uV={class:"media-content is-clipped"},cV=["id","textContent"],dV=["onClick"],mV={class:"media-content is-clickable is-clipped"},fV=["textContent"],pV={class:"media-right"},hV=["onClick"];function _V(e,t,n,r,s,o){const i=$("mdicon"),a=$("modal-dialog-composer");return k(),T(we,null,[(k(!0),T(we,null,ct(n.composers,l=>(k(),T(we,{key:l.itemId},[!l.isItem&&!n.hide_group_title?(k(),T("div",lV,[u("div",uV,[u("span",{id:"index_"+l.groupKey,class:"tag is-info is-light is-small has-text-weight-bold",textContent:g(l.groupKey)},null,8,cV)])])):l.isItem?(k(),T("div",{key:1,class:"media is-align-items-center",onClick:c=>o.open_composer(l.item)},[u("div",mV,[u("h1",{class:"title is-6",textContent:g(l.item.name)},null,8,fV)]),u("div",pV,[u("a",{onClick:st(c=>o.open_dialog(l.item),["prevent","stop"])},[y(i,{class:"icon has-text-dark",name:"dots-vertical",size:"16"})],8,hV)])],8,dV)):M("",!0)],64))),128)),(k(),_e(Yr,{to:"#app"},[y(a,{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 K1=te(aV,[["render",_V]]),Ea={load(e){return V.library_composers("music")},set(e,t){e.composers=new ve(t.data),e.composers.group(Rn("name_sort"))}},gV={name:"PageComposers",components:{ContentWithHeading:et,IndexButtonList:Jn,ListComposers:K1,TabsMusic:cr},beforeRouteEnter(e,t,n){Ea.load(e).then(r=>{n(s=>Ea.set(s,r))})},beforeRouteUpdate(e,t,n){if(!this.composers.isEmpty()){n();return}const r=this;Ea.load(e).then(s=>{Ea.set(r,s),n()})},data(){return{composers:new ve}}},yV={class:"fd-page-with-tabs"},vV=["textContent"],bV=["textContent"];function zV(e,t,n,r,s,o){const i=$("tabs-music"),a=$("index-button-list"),l=$("list-composers"),c=$("content-with-heading");return k(),T("div",yV,[y(i),y(c,null,{options:E(()=>[y(a,{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,vV),u("p",{class:"heading",textContent:g(e.$t("page.composers.count",{count:s.composers.total}))},null,8,bV)]),content:E(()=>[y(l,{composers:s.composers},null,8,["composers"])]),_:1})])}const CV=te(gV,[["render",zV]]),wV={name:"ModalDialogDirectory",props:["show","directory"],emits:["close"],methods:{play(){this.$emit("close"),V.player_play_expression(`path starts with "${this.directory}" order by path asc`,!1)},queue_add(){this.$emit("close"),V.queue_expression_add(`path starts with "${this.directory}" order by path asc`)},queue_add_next(){this.$emit("close"),V.queue_expression_add_next(`path starts with "${this.directory}" order by path asc`)}}},kV={key:0,class:"modal is-active"},xV={class:"modal-content fd-modal-card"},EV={class:"card"},SV={class:"card-content"},$V=["textContent"],AV={class:"card-footer"},TV=["textContent"],OV=["textContent"],DV=["textContent"];function PV(e,t,n,r,s,o){const i=$("mdicon");return k(),T("div",null,[y(It,{name:"fade"},{default:E(()=>[n.show?(k(),T("div",kV,[u("div",{class:"modal-background",onClick:t[0]||(t[0]=a=>e.$emit("close"))}),u("div",xV,[u("div",EV,[u("div",SV,[u("p",{class:"title is-4",textContent:g(n.directory)},null,8,$V)]),u("footer",AV,[u("a",{class:"card-footer-item has-text-dark",onClick:t[1]||(t[1]=(...a)=>o.queue_add&&o.queue_add(...a))},[y(i,{class:"icon",name:"playlist-plus",size:"16"}),u("span",{class:"is-size-7",textContent:g(e.$t("dialog.directory.add"))},null,8,TV)]),u("a",{class:"card-footer-item has-text-dark",onClick:t[2]||(t[2]=(...a)=>o.queue_add_next&&o.queue_add_next(...a))},[y(i,{class:"icon",name:"playlist-play",size:"16"}),u("span",{class:"is-size-7",textContent:g(e.$t("dialog.directory.add-next"))},null,8,OV)]),u("a",{class:"card-footer-item has-text-dark",onClick:t[3]||(t[3]=(...a)=>o.play&&o.play(...a))},[y(i,{class:"icon",name:"play",size:"16"}),u("span",{class:"is-size-7",textContent:g(e.$t("dialog.directory.play"))},null,8,DV)])])])]),u("button",{class:"modal-close is-large","aria-label":"close",onClick:t[4]||(t[4]=a=>e.$emit("close"))})])):M("",!0)]),_:1})])}const Z1=te(wV,[["render",PV]]),IV={name:"ListDirectories",components:{ModalDialogDirectory:Z1},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}}},FV={class:"media-left is-clickable"},RV=u("div",{class:"media-content is-clickable is-clipped"},[u("h1",{class:"title is-6"},"..")],-1),LV={class:"media-right"},NV=["onClick"],MV={class:"media-left is-clickable"},VV={class:"media-content is-clickable is-clipped"},HV=["textContent"],UV=["textContent"],BV={class:"media-right"},jV=["onClick"];function qV(e,t,n,r,s,o){const i=$("mdicon"),a=$("modal-dialog-directory");return k(),T(we,null,[e.$route.query.directory?(k(),T("div",{key:0,class:"media is-align-items-center",onClick:t[0]||(t[0]=l=>o.open_parent_directory())},[u("figure",FV,[y(i,{class:"icon",name:"subdirectory-arrow-left",size:"16"})]),RV,u("div",LV,[it(e.$slots,"actions")])])):M("",!0),(k(!0),T(we,null,ct(n.directories,l=>(k(),T("div",{key:l.path,class:"media is-align-items-center",onClick:c=>o.open_directory(l)},[u("figure",MV,[y(i,{class:"icon",name:"folder",size:"16"})]),u("div",VV,[u("h1",{class:"title is-6",textContent:g(l.path.substring(l.path.lastIndexOf("/")+1))},null,8,HV),u("h2",{class:"subtitle is-7 has-text-grey-light",textContent:g(l.path)},null,8,UV)]),u("div",BV,[u("a",{onClick:st(c=>o.open_dialog(l),["prevent","stop"])},[y(i,{class:"icon has-text-dark",name:"dots-vertical",size:"16"})],8,jV)])],8,NV))),128)),(k(),_e(Yr,{to:"#app"},[y(a,{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 WV=te(IV,[["render",qV]]),GV={name:"ModalDialogPlaylist",props:["show","playlist","uris"],emits:["close"],methods:{play(){this.$emit("close"),V.player_play_uri(this.uris?this.uris:this.playlist.uri,!1)},queue_add(){this.$emit("close"),V.queue_add(this.uris?this.uris:this.playlist.uri)},queue_add_next(){this.$emit("close"),V.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}})}}},KV={key:0,class:"modal is-active"},ZV={class:"modal-content fd-modal-card"},YV={class:"card"},JV={class:"card-content"},XV={class:"title is-4"},QV=["textContent"],eH={class:"content is-small"},tH=["textContent"],nH=["textContent"],rH=["textContent"],sH=["textContent"],oH={key:0},iH=["textContent"],aH=["textContent"],lH={key:0,class:"card-footer"},uH=["textContent"],cH=["textContent"],dH=["textContent"];function mH(e,t,n,r,s,o){const i=$("mdicon");return k(),T("div",null,[y(It,{name:"fade"},{default:E(()=>[n.show?(k(),T("div",KV,[u("div",{class:"modal-background",onClick:t[0]||(t[0]=a=>e.$emit("close"))}),u("div",ZV,[u("div",YV,[u("div",JV,[u("p",XV,[u("a",{class:"has-text-link",onClick:t[1]||(t[1]=(...a)=>o.open_playlist&&o.open_playlist(...a)),textContent:g(n.playlist.name)},null,8,QV)]),u("div",eH,[u("p",null,[u("span",{class:"heading",textContent:g(e.$t("dialog.playlist.path"))},null,8,tH),u("span",{class:"title is-6",textContent:g(n.playlist.path)},null,8,nH)]),u("p",null,[u("span",{class:"heading",textContent:g(e.$t("dialog.playlist.type"))},null,8,rH),u("span",{class:"title is-6",textContent:g(e.$t("playlist.type."+n.playlist.type))},null,8,sH)]),n.playlist.folder?M("",!0):(k(),T("p",oH,[u("span",{class:"heading",textContent:g(e.$t("dialog.playlist.track-count"))},null,8,iH),u("span",{class:"title is-6",textContent:g(n.playlist.item_count)},null,8,aH)]))])]),n.playlist.folder?M("",!0):(k(),T("footer",lH,[u("a",{class:"card-footer-item has-text-dark",onClick:t[2]||(t[2]=(...a)=>o.queue_add&&o.queue_add(...a))},[y(i,{class:"icon",name:"playlist-plus",size:"16"}),u("span",{class:"is-size-7",textContent:g(e.$t("dialog.playlist.add"))},null,8,uH)]),u("a",{class:"card-footer-item has-text-dark",onClick:t[3]||(t[3]=(...a)=>o.queue_add_next&&o.queue_add_next(...a))},[y(i,{class:"icon",name:"playlist-play",size:"16"}),u("span",{class:"is-size-7",textContent:g(e.$t("dialog.playlist.add-next"))},null,8,cH)]),u("a",{class:"card-footer-item has-text-dark",onClick:t[4]||(t[4]=(...a)=>o.play&&o.play(...a))},[y(i,{class:"icon",name:"play",size:"16"}),u("span",{class:"is-size-7",textContent:g(e.$t("dialog.playlist.play"))},null,8,dH)])]))])]),u("button",{class:"modal-close is-large","aria-label":"close",onClick:t[5]||(t[5]=a=>e.$emit("close"))})])):M("",!0)]),_:1})])}const Y1=te(GV,[["render",mH]]),fH={name:"ListPlaylists",components:{ModalDialogPlaylist:Y1},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"}}},pH=["onClick"],hH={class:"media-left is-clickable"},_H={class:"media-content is-clickable is-clipped"},gH=["textContent"],yH={class:"media-right"},vH=["onClick"];function bH(e,t,n,r,s,o){const i=$("mdicon"),a=$("modal-dialog-playlist");return k(),T(we,null,[(k(!0),T(we,null,ct(n.playlists,l=>(k(),T("div",{key:l.itemId,class:"media is-align-items-center",onClick:c=>o.open_playlist(l.item)},[u("figure",hH,[y(i,{class:"icon",name:o.icon_name(l.item),size:"16"},null,8,["name"])]),u("div",_H,[u("h1",{class:"title is-6",textContent:g(l.item.name)},null,8,gH)]),u("div",yH,[u("a",{onClick:st(c=>o.open_dialog(l.item),["prevent","stop"])},[y(i,{class:"icon has-text-dark",name:"dots-vertical",size:"16"})],8,vH)])],8,pH))),128)),(k(),_e(Yr,{to:"#app"},[y(a,{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 Nm=te(fH,[["render",bH]]),Sa={load(e){return e.query.directory?V.library_files(e.query.directory):Promise.resolve()},set(e,t){t?(e.dirs=t.data.directories,e.playlists=new ve(t.data.playlists),e.tracks=new ve(t.data.tracks)):(e.dirs=e.$store.state.config.directories.map(n=>({path:n})),e.playlists=new ve,e.tracks=new ve)}},zH={name:"PageFiles",components:{ContentWithHeading:et,ListDirectories:WV,ListPlaylists:Nm,ListTracks:Cn,ModalDialogDirectory:Z1},beforeRouteEnter(e,t,n){Sa.load(e).then(r=>{n(s=>Sa.set(s,r))})},beforeRouteUpdate(e,t,n){const r=this;Sa.load(e).then(s=>{Sa.set(r,s),n()})},data(){return{dirs:[],playlists:new ve,tracks:new ve,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(){V.player_play_expression(this.play_expression,!1)}}},CH=["textContent"],wH=["textContent"],kH={class:"buttons is-centered"},xH=["textContent"];function EH(e,t,n,r,s,o){const i=$("mdicon"),a=$("list-directories"),l=$("list-playlists"),c=$("list-tracks"),d=$("modal-dialog-directory"),m=$("content-with-heading");return k(),T("div",null,[y(m,null,{"heading-left":E(()=>[u("p",{class:"title is-4",textContent:g(e.$t("page.files.title"))},null,8,CH),u("p",{class:"title is-7 has-text-grey",textContent:g(o.current_directory)},null,8,wH)]),"heading-right":E(()=>[u("div",kH,[u("a",{class:"button is-small is-light is-rounded",onClick:t[0]||(t[0]=f=>s.show_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:"play",size:"16"}),u("span",{textContent:g(e.$t("page.files.play"))},null,8,xH)])])]),content:E(()=>[y(a,{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]=f=>s.show_details_modal=!1)},null,8,["show","directory"])]),_:1})])}const SH=te(zH,[["render",EH]]),$a={load(e){return Promise.all([V.library_genre(e.params.name,e.query.media_kind),V.library_genre_albums(e.params.name,e.query.media_kind)])},set(e,t){e.genre=t[0].data,e.albums_list=new ve(t[1].data.albums),e.albums_list.group(Rn("name_sort",!0))}},$H={name:"PageGenreAlbums",components:{ContentWithHeading:et,IndexButtonList:Jn,ListAlbums:ur,ModalDialogGenre:Fm},beforeRouteEnter(e,t,n){$a.load(e).then(r=>{n(s=>$a.set(s,r))})},beforeRouteUpdate(e,t,n){if(!this.albums_list.isEmpty()){n();return}const r=this;$a.load(e).then(s=>{$a.set(r,s),n()})},data(){return{albums_list:new ve,genre:{},media_kind:this.$route.query.media_kind,show_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(){V.player_play_expression(`genre is "${this.genre.name}" and media_kind is ${this.media_kind}`,!0)}}},AH=["textContent"],TH={class:"buttons is-centered"},OH=["textContent"],DH={class:"heading has-text-centered-mobile"},PH=["textContent"],IH=u("span",null," | ",-1),FH=["textContent"];function RH(e,t,n,r,s,o){const i=$("index-button-list"),a=$("mdicon"),l=$("list-albums"),c=$("modal-dialog-genre"),d=$("content-with-heading");return k(),T("div",null,[y(d,null,{options:E(()=>[y(i,{index:s.albums_list.indexList},null,8,["index"])]),"heading-left":E(()=>[u("p",{class:"title is-4",textContent:g(s.genre.name)},null,8,AH)]),"heading-right":E(()=>[u("div",TH,[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:"shuffle",size:"16"}),u("span",{textContent:g(e.$t("page.genre.shuffle"))},null,8,OH)])])]),content:E(()=>[u("p",DH,[u("span",{textContent:g(e.$t("page.genre.album-count",{count:s.genre.album_count}))},null,8,PH),IH,u("a",{class:"has-text-link",onClick:t[2]||(t[2]=(...m)=>o.open_tracks&&o.open_tracks(...m)),textContent:g(e.$t("page.genre.track-count",{count:s.genre.track_count}))},null,8,FH)]),y(l,{albums:s.albums_list},null,8,["albums"]),y(c,{genre:s.genre,media_kind:s.media_kind,show:s.show_details_modal,onClose:t[3]||(t[3]=m=>s.show_details_modal=!1)},null,8,["genre","media_kind","show"])]),_:1})])}const LH=te($H,[["render",RH]]),Aa={load(e){return Promise.all([V.library_genre(e.params.name,e.query.media_kind),V.library_genre_tracks(e.params.name,e.query.media_kind)])},set(e,t){e.genre=t[0].data,e.tracks_list=new ve(t[1].data.tracks)}},NH={name:"PageGenreTracks",components:{ContentWithHeading:et,ControlDropdown:Ss,IndexButtonList:Jn,ListTracks:Cn,ModalDialogGenre:Fm},beforeRouteEnter(e,t,n){Aa.load(e).then(r=>{n(s=>Aa.set(s,r))})},beforeRouteUpdate(e,t,n){if(!this.tracks_list.isEmpty()){n();return}const r=this;Aa.load(e).then(s=>{Aa.set(r,s),n()})},data(){return{genre:{},groupby_options:[{id:1,name:this.$t("page.genre.sort.name"),options:Rn("title_sort")},{id:2,name:this.$t("page.genre.sort.rating"),options:Am("rating",{direction:"desc"})}],media_kind:this.$route.query.media_kind,show_details_modal:!1,tracks_list:new ve}},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(Xh,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(){V.player_play_expression(this.expression,!0)}}},MH={class:"columns"},VH={class:"column"},HH=["textContent"],UH=["textContent"],BH={class:"buttons is-centered"},jH=["textContent"],qH={class:"heading has-text-centered-mobile"},WH=["textContent"],GH=u("span",null," | ",-1),KH=["textContent"];function ZH(e,t,n,r,s,o){const i=$("index-button-list"),a=$("control-dropdown"),l=$("mdicon"),c=$("list-tracks"),d=$("modal-dialog-genre"),m=$("content-with-heading");return k(),T("div",null,[y(m,null,{options:E(()=>[y(i,{index:o.tracks.indexList},null,8,["index"]),u("div",MH,[u("div",VH,[u("p",{class:"heading mb-5",textContent:g(e.$t("page.genre.sort.title"))},null,8,HH),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.genre.name)},null,8,UH)]),"heading-right":E(()=>[u("div",BH,[u("a",{class:"button is-small is-light is-rounded",onClick:t[1]||(t[1]=f=>s.show_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]=(...f)=>o.play&&o.play(...f))},[y(l,{class:"icon",name:"shuffle",size:"16"}),u("span",{textContent:g(e.$t("page.genre.shuffle"))},null,8,jH)])])]),content:E(()=>[u("p",qH,[u("a",{class:"has-text-link",onClick:t[3]||(t[3]=(...f)=>o.open_genre&&o.open_genre(...f)),textContent:g(e.$t("page.genre.album-count",{count:s.genre.album_count}))},null,8,WH),GH,u("span",{textContent:g(e.$t("page.genre.track-count",{count:s.genre.track_count}))},null,8,KH)]),y(c,{tracks:o.tracks,expression:o.expression},null,8,["tracks","expression"]),y(d,{show:s.show_details_modal,genre:s.genre,media_kind:s.media_kind,onClose:t[4]||(t[4]=f=>s.show_details_modal=!1)},null,8,["show","genre","media_kind"])]),_:1})])}const YH=te(NH,[["render",ZH]]),Ta={load(e){return V.library_genres("music")},set(e,t){e.genres=t.data,e.genres=new ve(t.data),e.genres.group(Rn("name_sort"))}},JH={name:"PageGenres",components:{ContentWithHeading:et,IndexButtonList:Jn,ListGenres:G1,TabsMusic:cr},beforeRouteEnter(e,t,n){Ta.load(e).then(r=>{n(s=>Ta.set(s,r))})},beforeRouteUpdate(e,t,n){const r=this;Ta.load(e).then(s=>{Ta.set(r,s),n()})},data(){return{genres:new ve}}},XH={class:"fd-page-with-tabs"},QH=["textContent"],eU=["textContent"];function tU(e,t,n,r,s,o){const i=$("tabs-music"),a=$("index-button-list"),l=$("list-genres"),c=$("content-with-heading");return k(),T("div",XH,[y(i),y(c,null,{options:E(()=>[y(a,{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,QH),u("p",{class:"heading",textContent:g(e.$t("page.genres.count",{count:s.genres.total}))},null,8,eU)]),content:E(()=>[y(l,{genres:s.genres,media_kind:"music"},null,8,["genres"])]),_:1})])}const nU=te(JH,[["render",tU]]),rU={name:"LyricsPane",data(){return this.lastIndex=-1,this.scrollingTimer=null,this.lastItemId=-1,{autoScrolling:!0}},computed:{is_playing(){return this.player.state==="play"},verse_index(){if(this.lyrics.length&&this.lyrics[0].time){const e=this.player.item_progress_ms/1e3,t=this.lyrics,n=this.player.item_id!==this.lastItemId,r=this.lastIndex>=0&&this.lastIndex<t.length&&t[this.lastIndex].time>e;if((n||r)&&this.reset_scrolling(),this.lastIndex<t.length-1&&t[this.lastIndex+1].time>e||this.lastIndex===t.length-1)return this.lastIndex;if(this.lastIndex<t.length-2&&t[this.lastIndex+2].time>e)return this.lastIndex+1;let s=0,o=t.length-1,i;for(;s<=o;){i=s+o>>1;const a=t[i],l=t[i+1];if(a.time<=e&&((l==null?void 0:l.time)>e||!l))return i;a.time<e?s=i+1:o=i-1}return-1}else return this.reset_scrolling(),-1},lyrics(){const e=this.$store.state.lyrics.content,t=[];if(e){const n=/(\[(\d+):(\d+)(?:\.\d+)?\] ?)?(.*)/;e.split(`
`).forEach((r,s)=>{const o=n.exec(r);if(o&&o[4]){const i={text:o[4],time:o[2]*60+o[3]*1};t.push(i)}}),t.forEach((r,s,o)=>{const a=(s<o.length-1?o[s+1].time-r.time:3)/r.text.length;let l=0;r.words=r.text.match(/\S+\s*/g).map(c=>{const d=c.length*a;return l+=d,{duration:d,delay:l,text:c}})})}return t},player(){return this.$store.state.player}},watch:{verse_index(){this.autoScrolling&&this.scroll_to_verse(),this.lastIndex=this.verse_index}},methods:{reset_scrolling(){this.player.item_id!=this.lastItemId&&this.$refs.lyrics&&this.$refs.lyrics.scrollTo(0,0),this.lastItemId=this.player.item_id,this.lastIndex=-1},start_scrolling(e){(e.screenX||e.screenX!=0||e.screenY||e.screenY!=0)&&(this.autoScrolling=!1,this.scrollingTimer&&clearTimeout(this.scrollingTimer),this.scrollingTimer=setTimeout(this.autoScrolling=!0,2e3))},scroll_to_verse(){const e=this.$refs.lyrics;if(this.verse_index===-1){e.scrollTo(0,0);return}const t=e.children[this.verse_index];e.scrollBy({top:t.offsetTop-(e.offsetHeight>>1)+(t.offsetHeight>>1)-e.scrollTop,left:0,behavior:"smooth"})}}},sU=["textContent"],oU={key:1};function iU(e,t,n,r,s,o){return k(),T("div",{ref:"lyrics",class:"lyrics",onTouchstart:t[0]||(t[0]=i=>s.autoScrolling=!1),onTouchend:t[1]||(t[1]=i=>s.autoScrolling=!0),onScrollPassive:t[2]||(t[2]=(...i)=>o.start_scrolling&&o.start_scrolling(...i)),onWheelPassive:t[3]||(t[3]=(...i)=>o.start_scrolling&&o.start_scrolling(...i))},[(k(!0),T(we,null,ct(o.lyrics,(i,a)=>(k(),T(we,{key:a},[a===o.verse_index?(k(),T("div",{key:0,class:Ee({"is-highlighted":o.is_playing})},[(k(!0),T(we,null,ct(i.words,l=>(k(),T("span",{key:l,class:"has-text-weight-bold is-size-5"},[u("span",{style:Zr({"animation-duration":`${l.delay}s`}),textContent:g(l.text)},null,12,sU)]))),128))],2)):(k(),T("div",oU,g(i.text),1))],64))),128))],544)}const aU=te(rU,[["render",iU],["__scopeId","data-v-32f71750"]]),lU={name:"ModalDialogQueueItem",props:["show","item"],emits:["close"],data(){return{spotify_track:{}}},watch:{item(){if(this.item&&this.item.data_kind==="spotify"){const e=new Yn;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:{open_album(){this.item.data_kind==="spotify"?this.$router.push({name:"music-spotify-album",params:{id:this.spotify_track.album.id}}):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.item.media_kind==="music"&&this.$router.push({name:"music-album",params:{id:this.item.album_id}})},open_album_artist(){this.item.data_kind==="spotify"?this.$router.push({name:"music-spotify-artist",params:{id:this.spotify_track.artists[0].id}}):this.item.media_kind==="music"||this.item.media_kind==="podcast"?this.$router.push({name:"music-artist",params:{id:this.item.album_artist_id}}):this.item.media_kind==="audiobook"&&this.$router.push({name:"audiobooks-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}})},play(){this.$emit("close"),V.player_play({item_id:this.item.id})},remove(){this.$emit("close"),V.queue_remove(this.item.id)}}},uU={key:0,class:"modal is-active"},cU={class:"modal-content fd-modal-card"},dU={class:"card"},mU={class:"card-content"},fU=["textContent"],pU=["textContent"],hU={class:"content is-small"},_U={key:0},gU=["textContent"],yU=["textContent"],vU={key:1},bU=["textContent"],zU=["textContent"],CU={key:2},wU=["textContent"],kU=["textContent"],xU={key:3},EU=["textContent"],SU=["textContent"],$U={key:4},AU=["textContent"],TU=["textContent"],OU={key:5},DU=["textContent"],PU=["textContent"],IU={key:6},FU=["textContent"],RU=["textContent"],LU=["textContent"],NU=["textContent"],MU=["textContent"],VU={class:"title is-6"},HU=["textContent"],UU={key:7},BU=["textContent"],jU={class:"title is-6"},qU=["textContent"],WU=["textContent"],GU=["textContent"],KU=["textContent"],ZU={class:"card-footer"},YU=["textContent"],JU=["textContent"];function XU(e,t,n,r,s,o){const i=$("mdicon");return k(),T("div",null,[y(It,{name:"fade"},{default:E(()=>[n.show?(k(),T("div",uU,[u("div",{class:"modal-background",onClick:t[0]||(t[0]=a=>e.$emit("close"))}),u("div",cU,[u("div",dU,[u("div",mU,[u("p",{class:"title is-4",textContent:g(n.item.title)},null,8,fU),u("p",{class:"subtitle",textContent:g(n.item.artist)},null,8,pU),u("div",hU,[n.item.album?(k(),T("p",_U,[u("span",{class:"heading",textContent:g(e.$t("dialog.queue-item.album"))},null,8,gU),u("a",{class:"title is-6 has-text-link",onClick:t[1]||(t[1]=(...a)=>o.open_album&&o.open_album(...a)),textContent:g(n.item.album)},null,8,yU)])):M("",!0),n.item.album_artist?(k(),T("p",vU,[u("span",{class:"heading",textContent:g(e.$t("dialog.queue-item.album-artist"))},null,8,bU),u("a",{class:"title is-6 has-text-link",onClick:t[2]||(t[2]=(...a)=>o.open_album_artist&&o.open_album_artist(...a)),textContent:g(n.item.album_artist)},null,8,zU)])):M("",!0),n.item.composer?(k(),T("p",CU,[u("span",{class:"heading",textContent:g(e.$t("dialog.queue-item.composer"))},null,8,wU),u("span",{class:"title is-6",textContent:g(n.item.composer)},null,8,kU)])):M("",!0),n.item.year?(k(),T("p",xU,[u("span",{class:"heading",textContent:g(e.$t("dialog.queue-item.year"))},null,8,EU),u("span",{class:"title is-6",textContent:g(n.item.year)},null,8,SU)])):M("",!0),n.item.genre?(k(),T("p",$U,[u("span",{class:"heading",textContent:g(e.$t("dialog.queue-item.genre"))},null,8,AU),u("a",{class:"title is-6 has-text-link",onClick:t[3]||(t[3]=(...a)=>o.open_genre&&o.open_genre(...a)),textContent:g(n.item.genre)},null,8,TU)])):M("",!0),n.item.disc_number?(k(),T("p",OU,[u("span",{class:"heading",textContent:g(e.$t("dialog.queue-item.position"))},null,8,DU),u("span",{class:"title is-6",textContent:g([n.item.disc_number,n.item.track_number].join(" / "))},null,8,PU)])):M("",!0),n.item.length_ms?(k(),T("p",IU,[u("span",{class:"heading",textContent:g(e.$t("dialog.queue-item.duration"))},null,8,FU),u("span",{class:"title is-6",textContent:g(e.$filters.durationInHours(n.item.length_ms))},null,8,RU)])):M("",!0),u("p",null,[u("span",{class:"heading",textContent:g(e.$t("dialog.queue-item.path"))},null,8,LU),u("span",{class:"title is-6",textContent:g(n.item.path)},null,8,NU)]),u("p",null,[u("span",{class:"heading",textContent:g(e.$t("dialog.queue-item.type"))},null,8,MU),u("span",VU,[u("span",{textContent:g([e.$t("media.kind."+n.item.media_kind),e.$t("data.kind."+n.item.data_kind)].join(" - "))},null,8,HU)])]),n.item.samplerate?(k(),T("p",UU,[u("span",{class:"heading",textContent:g(e.$t("dialog.queue-item.quality"))},null,8,BU),u("span",jU,[u("span",{textContent:g(n.item.type)},null,8,qU),n.item.samplerate?(k(),T("span",{key:0,textContent:g(e.$t("dialog.queue-item.samplerate",{rate:n.item.samplerate}))},null,8,WU)):M("",!0),n.item.channels?(k(),T("span",{key:1,textContent:g(e.$t("dialog.queue-item.channels",{channels:e.$filters.channels(n.item.channels)}))},null,8,GU)):M("",!0),n.item.bitrate?(k(),T("span",{key:2,textContent:g(e.$t("dialog.queue-item.bitrate",{rate:n.item.bitrate}))},null,8,KU)):M("",!0)])])):M("",!0)])]),u("footer",ZU,[u("a",{class:"card-footer-item has-text-dark",onClick:t[4]||(t[4]=(...a)=>o.remove&&o.remove(...a))},[y(i,{class:"icon",name:"delete",size:"16"}),u("span",{class:"is-size-7",textContent:g(e.$t("dialog.queue-item.remove"))},null,8,YU)]),u("a",{class:"card-footer-item has-text-dark",onClick:t[5]||(t[5]=(...a)=>o.play&&o.play(...a))},[y(i,{class:"icon",name:"play",size:"16"}),u("span",{class:"is-size-7",textContent:g(e.$t("dialog.queue-item.play"))},null,8,JU)])])])]),u("button",{class:"modal-close is-large","aria-label":"close",onClick:t[6]||(t[6]=a=>e.$emit("close"))})])):M("",!0)]),_:1})])}const J1=te(lU,[["render",XU]]),Or=1e3,QU={name:"PageNowPlaying",components:{ControlSlider:Jd,CoverArtwork:Fn,LyricsPane:aU,ModalDialogQueueItem:J1},data(){return{cursor:Kl,INTERVAL:Or,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.state.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/Or)},set(e){this.player.item_progress_ms=e*Or}},track_progress_max(){return this.is_live?1:Math.floor(this.track.length_ms/Or)},track_elapsed_time(){return this.$filters.durationInHours(this.track_progress*Or)},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,Or))}},created(){V.player_status().then(({data:e})=>{this.$store.commit(hd,e),this.player.state==="play"&&(this.interval_id=window.setInterval(this.tick,Or))})},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||V.player_seek_to_pos(this.track_progress*Or)},open_dialog(e){this.selected_item=e,this.show_details_modal=!0}}},eB={class:"hero is-full-height"},tB={key:0,class:"hero-body is-flex is-align-items-center"},nB={class:"container has-text-centered",style:{"max-width":"500px"}},rB={class:"is-flex is-justify-content-space-between"},sB=["textContent"],oB=["textContent"],iB=["textContent"],aB=["textContent"],lB=["textContent"],uB=["textContent"],cB=["textContent"],dB={key:1,class:"hero-body is-flex is-align-items-center"},mB={class:"container has-text-centered"},fB=["textContent"],pB=["textContent"];function hB(e,t,n,r,s,o){const i=$("cover-artwork"),a=$("lyrics-pane"),l=$("control-slider"),c=$("modal-dialog-queue-item");return k(),T("div",eB,[o.track.id>0?(k(),T("div",tB,[u("div",nB,[y(i,{artwork_url:o.track.artwork_url,artist:o.track.artist,album:o.track.album,class:Ee(["is-clickable fd-has-shadow fd-cover-big-image",{"is-masked":o.lyrics_visible}]),onClick:t[0]||(t[0]=d=>o.open_dialog(o.track))},null,8,["artwork_url","artist","album","class"]),o.lyrics_visible?(k(),_e(a,{key:0})):M("",!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",rB,[u("p",{class:"subtitle is-7",textContent:g(o.track_elapsed_time)},null,8,sB),u("p",{class:"subtitle is-7",textContent:g(o.track_total_time)},null,8,oB)]),u("p",{class:"title is-5",textContent:g(o.track.title)},null,8,iB),u("p",{class:"title is-6",textContent:g(o.track.artist)},null,8,aB),o.composer?(k(),T("p",{key:1,class:"subtitle is-6 has-text-grey has-text-weight-bold",textContent:g(o.composer)},null,8,lB)):M("",!0),o.track.album?(k(),T("p",{key:2,class:"subtitle is-6",textContent:g(o.track.album)},null,8,uB)):M("",!0),o.filepath?(k(),T("p",{key:3,class:"subtitle is-6 has-text-grey",textContent:g(o.filepath)},null,8,cB)):M("",!0)])])):(k(),T("div",dB,[u("div",mB,[u("p",{class:"title is-5",textContent:g(e.$t("page.now-playing.title"))},null,8,fB),u("p",{class:"subtitle",textContent:g(e.$t("page.now-playing.info"))},null,8,pB)])])),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 _B=te(QU,[["render",hB]]),Oa={load(e){return Promise.all([V.library_playlist(e.params.id),V.library_playlist_folder(e.params.id)])},set(e,t){e.playlist=t[0].data,e.playlists_list=new ve(t[1].data)}},gB={name:"PagePlaylistFolder",components:{ContentWithHeading:et,ListPlaylists:Nm},beforeRouteEnter(e,t,n){Oa.load(e).then(r=>{n(s=>Oa.set(s,r))})},beforeRouteUpdate(e,t,n){const r=this;Oa.load(e).then(s=>{Oa.set(r,s),n()})},data(){return{playlist:{},playlists_list:new ve}},computed:{playlists(){return this.playlists_list.group($m(),[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}}},yB=["textContent"],vB=["textContent"];function bB(e,t,n,r,s,o){const i=$("list-playlists"),a=$("content-with-heading");return k(),T("div",null,[y(a,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,yB),u("p",{class:"heading",textContent:g(e.$t("page.playlists.count",{count:o.playlists.count}))},null,8,vB)]),content:E(()=>[y(i,{playlists:o.playlists},null,8,["playlists"])]),_:1})])}const zB=te(gB,[["render",bB]]),Da={load(e){return Promise.all([V.library_playlist(e.params.id),V.library_playlist_tracks(e.params.id)])},set(e,t){e.playlist=t[0].data,e.tracks=new ve(t[1].data)}},CB={name:"PagePlaylistTracks",components:{ContentWithHeading:et,ListTracks:Cn,ModalDialogPlaylist:Y1},beforeRouteEnter(e,t,n){Da.load(e).then(r=>{n(s=>Da.set(s,r))})},beforeRouteUpdate(e,t,n){const r=this;Da.load(e).then(s=>{Da.set(r,s),n()})},data(){return{playlist:{},show_details_modal:!1,tracks:new ve}},computed:{uris(){return this.playlist.random?this.tracks.map(e=>e.uri).join(","):this.playlist.uri}},methods:{play(){V.player_play_uri(this.uris,!0)}}},wB=["textContent"],kB={class:"buttons is-centered"},xB=["textContent"],EB=["textContent"];function SB(e,t,n,r,s,o){const i=$("mdicon"),a=$("list-tracks"),l=$("modal-dialog-playlist"),c=$("content-with-heading");return k(),T("div",null,[y(c,null,{"heading-left":E(()=>[u("div",{class:"title is-4",textContent:g(s.playlist.name)},null,8,wB)]),"heading-right":E(()=>[u("div",kB,[u("a",{class:"button is-small is-light is-rounded",onClick:t[0]||(t[0]=d=>s.show_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]=(...d)=>o.play&&o.play(...d))},[y(i,{class:"icon",name:"shuffle",size:"16"}),u("span",{textContent:g(e.$t("page.playlist.shuffle"))},null,8,xB)])])]),content:E(()=>[u("p",{class:"heading has-text-centered-mobile",textContent:g(e.$t("page.playlist.track-count",{count:s.tracks.count}))},null,8,EB),y(a,{tracks:s.tracks,uris:o.uris},null,8,["tracks","uris"]),y(l,{show:s.show_details_modal,playlist:s.playlist,uris:o.uris,onClose:t[2]||(t[2]=d=>s.show_details_modal=!1)},null,8,["show","playlist","uris"])]),_:1})])}const $B=te(CB,[["render",SB]]),ud=50,Pa={load(e){const t=new Yn;return t.setAccessToken(He.state.spotify.webapi_token),Promise.all([t.getPlaylist(e.params.id),t.getPlaylistTracks(e.params.id,{limit:ud,offset:0,market:He.state.spotify.webapi_country})])},set(e,t){e.playlist=t[0],e.tracks=[],e.total=0,e.offset=0,e.append_tracks(t[1])}},AB={name:"PagePlaylistTracksSpotify",components:{ContentWithHeading:et,ListItemTrackSpotify:Tm,ModalDialogPlaylistSpotify:pu,ModalDialogTrackSpotify:Om,VueEternalLoading:Dm},beforeRouteEnter(e,t,n){Pa.load(e).then(r=>{n(s=>Pa.set(s,r))})},beforeRouteUpdate(e,t,n){const r=this;Pa.load(e).then(s=>{Pa.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 Yn;t.setAccessToken(this.$store.state.spotify.webapi_token),t.getPlaylistTracks(this.playlist.id,{limit:ud,offset:this.offset,market:He.state.spotify.webapi_country}).then(n=>{this.append_tracks(n),e(n.items.length,ud)})},append_tracks(e){let t=Math.max(-1,...this.tracks.map(n=>n.position).filter(n=>n));e.items.forEach(n=>{const{track:r}=n;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,V.player_play_uri(this.playlist.uri,!0)},open_track_dialog(e){this.selected_track=e,this.show_track_details_modal=!0}}},TB=["textContent"],OB={class:"buttons is-centered"},DB=["textContent"],PB=["textContent"],IB=["onClick"],FB={class:"columns is-centered"},RB={class:"column has-text-centered"};function LB(e,t,n,r,s,o){const i=$("mdicon"),a=$("list-item-track-spotify"),l=$("VueEternalLoading"),c=$("modal-dialog-track-spotify"),d=$("modal-dialog-playlist-spotify"),m=$("content-with-heading");return k(),T("div",null,[y(m,null,{"heading-left":E(()=>[u("div",{class:"title is-4",textContent:g(s.playlist.name)},null,8,TB)]),"heading-right":E(()=>[u("div",OB,[u("a",{class:"button is-small is-light is-rounded",onClick:t[0]||(t[0]=f=>s.show_playlist_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.spotify.playlist.shuffle"))},null,8,DB)])])]),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,PB),(k(!0),T(we,null,ct(s.tracks,f=>(k(),_e(a,{key:f.id,track:f,position:f.position,context_uri:s.playlist.uri},{actions:E(()=>[u("a",{onClick:st(p=>o.open_track_dialog(f),["prevent","stop"])},[y(i,{class:"icon has-text-dark",name:"dots-vertical",size:"16"})],8,IB)]),_:2},1032,["track","position","context_uri"]))),128)),s.offset<s.total?(k(),_e(l,{key:0,load:o.load_next},{loading:E(()=>[u("div",FB,[u("div",RB,[y(i,{class:"icon mdi-spin",name:"loading"})])])]),"no-more":E(()=>[gt(" ")]),_:1},8,["load"])):M("",!0),y(c,{show:s.show_track_details_modal,track:s.selected_track,album:s.selected_track.album,onClose:t[2]||(t[2]=f=>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]=f=>s.show_playlist_details_modal=!1)},null,8,["show","playlist"])]),_:1})])}const NB=te(AB,[["render",LB]]),Ia={load(e){return Promise.all([V.library_album(e.params.id),V.library_podcast_episodes(e.params.id)])},set(e,t){e.album=t[0].data,e.tracks=new ve(t[1].data.tracks)}},MB={name:"PagePodcast",components:{ContentWithHero:cu,CoverArtwork:Fn,ListTracks:Cn,ModalDialog:fm,ModalDialogAlbum:du},beforeRouteEnter(e,t,n){Ia.load(e).then(r=>{n(s=>Ia.set(s,r))})},beforeRouteUpdate(e,t,n){const r=this;Ia.load(e).then(s=>{Ia.set(r,s),n()})},data(){return{album:{},rss_playlist_to_remove:{},show_details_modal:!1,show_remove_podcast_modal:!1,tracks:new ve}},computed:{new_tracks(){return this.tracks.items.filter(e=>e.play_count===0).length}},methods:{open_remove_podcast_dialog(){V.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(){V.player_play_uri(this.album.uri,!1)},reload_tracks(){V.library_podcast_episodes(this.album.id).then(({data:e})=>{this.tracks=new ve(e.tracks)})},remove_podcast(){this.show_remove_podcast_modal=!1,V.library_playlist_delete(this.rss_playlist_to_remove.id).then(()=>{this.$router.replace({name:"podcasts"})})}}},VB=["textContent"],HB=u("h2",{class:"subtitle is-6"}," ",-1),UB={class:"buttons fd-is-centered-mobile mt-5"},BB=["textContent"],jB=["textContent"],qB=["textContent"],WB={class:"is-size-7"},GB=["textContent"],KB=["textContent"];function ZB(e,t,n,r,s,o){const i=$("mdicon"),a=$("cover-artwork"),l=$("list-tracks"),c=$("modal-dialog-album"),d=$("modal-dialog"),m=$("content-with-hero");return k(),T("div",null,[y(m,null,{"heading-left":E(()=>[u("h1",{class:"title is-5",textContent:g(s.album.name)},null,8,VB),HB,u("div",UB,[u("a",{class:"button is-small is-dark is-rounded",onClick:t[0]||(t[0]=(...f)=>o.play&&o.play(...f))},[y(i,{class:"icon",name:"play",size:"16"}),u("span",{textContent:g(e.$t("page.podcast.play"))},null,8,BB)]),u("a",{class:"button is-small is-light is-rounded",onClick:t[1]||(t[1]=f=>s.show_details_modal=!0)},[y(i,{class:"icon",name:"dots-horizontal",size:"16"})])])]),"heading-right":E(()=>[y(a,{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]=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.podcast.track-count",{count:s.album.track_count}))},null,8,jB),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]=f=>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]=f=>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,qB),u("p",WB,[gt(" ("),u("span",{textContent:g(e.$t("page.podcast.remove-info-2"))},null,8,GB),u("b",{textContent:g(s.rss_playlist_to_remove.name)},null,8,KB),gt(") ")])]),_:1},8,["show","title","delete_action","onDelete"])]),_:1})])}const YB=te(MB,[["render",ZB]]),JB={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,V.library_add(this.url).then(()=>{this.$emit("close"),this.$emit("podcast-added"),this.url=""}).catch(()=>{this.loading=!1})}}},XB={key:0,class:"modal is-active"},QB={class:"modal-content fd-modal-card"},ej={class:"card-content"},tj=["textContent"],nj={class:"field"},rj={class:"control is-expanded has-icons-left"},sj=["placeholder","disabled"],oj=["textContent"],ij={key:0,class:"card-footer"},aj={class:"card-footer-item has-text-dark"},lj=["textContent"],uj={key:1,class:"card-footer is-clipped"},cj=["textContent"],dj=["textContent"];function mj(e,t,n,r,s,o){const i=$("mdicon");return k(),T("div",null,[y(It,{name:"fade"},{default:E(()=>[n.show?(k(),T("div",XB,[u("div",{class:"modal-background",onClick:t[0]||(t[0]=a=>e.$emit("close"))}),u("div",QB,[u("form",{class:"card",onSubmit:t[4]||(t[4]=st((...a)=>o.add_stream&&o.add_stream(...a),["prevent"]))},[u("div",ej,[u("p",{class:"title is-4",textContent:g(e.$t("dialog.add.rss.title"))},null,8,tj),u("div",nj,[u("p",rj,[yt(u("input",{ref:"url_field","onUpdate:modelValue":t[1]||(t[1]=a=>s.url=a),class:"input is-shadowless",type:"url",pattern:"http[s]?://.*",required:"",placeholder:e.$t("dialog.add.rss.placeholder"),disabled:s.loading},null,8,sj),[[dn,s.url]]),y(i,{class:"icon is-left",name:"rss",size:"16"})]),u("p",{class:"help",textContent:g(e.$t("dialog.add.rss.help"))},null,8,oj)])]),s.loading?(k(),T("footer",ij,[u("a",aj,[y(i,{class:"icon",name:"web",size:"16"}),u("span",{class:"is-size-7",textContent:g(e.$t("dialog.add.rss.processing"))},null,8,lj)])])):(k(),T("footer",uj,[u("a",{class:"card-footer-item has-text-dark",onClick:t[2]||(t[2]=a=>e.$emit("close"))},[y(i,{class:"icon",name:"cancel",size:"16"}),u("span",{class:"is-size-7",textContent:g(e.$t("dialog.add.rss.cancel"))},null,8,cj)]),u("a",{class:"card-footer-item has-background-info has-text-white has-text-weight-bold",onClick:t[3]||(t[3]=(...a)=>o.add_stream&&o.add_stream(...a))},[y(i,{class:"icon",name:"playlist-plus",size:"16"}),u("span",{class:"is-size-7",textContent:g(e.$t("dialog.add.rss.add"))},null,8,dj)])]))],32)]),u("button",{class:"modal-close is-large","aria-label":"close",onClick:t[5]||(t[5]=a=>e.$emit("close"))})])):M("",!0)]),_:1})])}const fj=te(JB,[["render",mj]]),Fa={load(e){return Promise.all([V.library_albums("podcast"),V.library_podcasts_new_episodes()])},set(e,t){e.albums=new ve(t[0].data),e.new_episodes=new ve(t[1].data.tracks)}},pj={name:"PagePodcasts",components:{ContentWithHeading:et,ListTracks:Cn,ListAlbums:ur,ModalDialogAddRss:fj},beforeRouteEnter(e,t,n){Fa.load(e).then(r=>{n(s=>Fa.set(s,r))})},beforeRouteUpdate(e,t,n){const r=this;Fa.load(e).then(s=>{Fa.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=>{V.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(){V.library_podcasts_new_episodes().then(({data:e})=>{this.new_episodes=new ve(e.tracks)})},reload_podcasts(){V.library_albums("podcast").then(({data:e})=>{this.albums=new ve(e),this.reload_new_episodes()})},update_rss(){this.$store.commit(vd,"rss"),this.$store.commit(zi,!0)}}},hj=["textContent"],_j={class:"buttons is-centered"},gj=["textContent"],yj=["textContent"],vj=["textContent"],bj={class:"buttons is-centered"},zj=["textContent"],Cj=["textContent"];function wj(e,t,n,r,s,o){const i=$("mdicon"),a=$("list-tracks"),l=$("content-with-heading"),c=$("list-albums"),d=$("modal-dialog-add-rss");return k(),T("div",null,[s.new_episodes.items.length>0?(k(),_e(l,{key:0},{"heading-left":E(()=>[u("p",{class:"title is-4",textContent:g(e.$t("page.podcasts.new-episodes"))},null,8,hj)]),"heading-right":E(()=>[u("div",_j,[u("a",{class:"button is-small",onClick:t[0]||(t[0]=(...m)=>o.mark_all_played&&o.mark_all_played(...m))},[y(i,{class:"icon",name:"pencil",size:"16"}),u("span",{textContent:g(e.$t("page.podcasts.mark-all-played"))},null,8,gj)])])]),content:E(()=>[y(a,{tracks:s.new_episodes,show_progress:!0,onPlayCountChanged:o.reload_new_episodes},null,8,["tracks","onPlayCountChanged"])]),_:1})):M("",!0),y(l,null,{"heading-left":E(()=>[u("p",{class:"title is-4",textContent:g(e.$t("page.podcasts.title"))},null,8,yj),u("p",{class:"heading",textContent:g(e.$t("page.podcasts.count",{count:s.albums.total}))},null,8,vj)]),"heading-right":E(()=>[u("div",bj,[o.rss.tracks>0?(k(),T("a",{key:0,class:"button is-small",onClick:t[1]||(t[1]=(...m)=>o.update_rss&&o.update_rss(...m))},[y(i,{class:"icon",name:"refresh",size:"16"}),u("span",{textContent:g(e.$t("page.podcasts.update"))},null,8,zj)])):M("",!0),u("a",{class:"button is-small",onClick:t[2]||(t[2]=(...m)=>o.open_add_podcast_dialog&&o.open_add_podcast_dialog(...m))},[y(i,{class:"icon",name:"rss",size:"16"}),u("span",{textContent:g(e.$t("page.podcasts.add"))},null,8,Cj)])])]),content:E(()=>[y(c,{albums:s.albums,onPlayCountChanged:t[3]||(t[3]=m=>o.reload_new_episodes()),onPodcastDeleted:t[4]||(t[4]=m=>o.reload_podcasts())},null,8,["albums"]),y(d,{show:s.show_url_modal,onClose:t[5]||(t[5]=m=>s.show_url_modal=!1),onPodcastAdded:t[6]||(t[6]=m=>o.reload_podcasts())},null,8,["show"])]),_:1})])}const kj=te(pj,[["render",wj]]),Ra={load(e){return V.library_radio_streams()},set(e,t){e.tracks=new ve(t.data.tracks)}},xj={name:"PageRadioStreams",components:{ContentWithHeading:et,ListTracks:Cn},beforeRouteEnter(e,t,n){Ra.load(e).then(r=>{n(s=>Ra.set(s,r))})},beforeRouteUpdate(e,t,n){const r=this;Ra.load(e).then(s=>{Ra.set(r,s),n()})},data(){return{tracks:new ve}}},Ej=["textContent"],Sj=["textContent"];function $j(e,t,n,r,s,o){const i=$("list-tracks"),a=$("content-with-heading");return k(),T("div",null,[y(a,null,{"heading-left":E(()=>[u("p",{class:"title is-4",textContent:g(e.$t("page.radio.title"))},null,8,Ej),u("p",{class:"heading has-text-centered-mobile",textContent:g(e.$t("page.radio.count",{count:s.tracks.total}))},null,8,Sj)]),content:E(()=>[y(i,{tracks:s.tracks},null,8,["tracks"])]),_:1})])}const Aj=te(xj,[["render",$j]]);var X1={exports:{}};/**!
* Sortable 1.14.0
* @author RubaXa <trash@rubaxa.org>
* @author owenm <owen23355@gmail.com>
* @license MIT
*/function Ah(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 ar(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Ah(Object(n),!0).forEach(function(r){Tj(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ah(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function Ja(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Ja=function(t){return typeof t}:Ja=function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Ja(e)}function Tj(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Pn(){return Pn=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},Pn.apply(this,arguments)}function Oj(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 Dj(e,t){if(e==null)return{};var n=Oj(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 Pj(e){return Ij(e)||Fj(e)||Rj(e)||Lj()}function Ij(e){if(Array.isArray(e))return cd(e)}function Fj(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Rj(e,t){if(e){if(typeof e=="string")return cd(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 cd(e,t)}}function cd(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 Lj(){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 Nj="1.14.0";function yr(e){if(typeof window<"u"&&window.navigator)return!!navigator.userAgent.match(e)}var Cr=yr(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i),Li=yr(/Edge/i),Th=yr(/firefox/i),Qo=yr(/safari/i)&&!yr(/chrome/i)&&!yr(/android/i),Q1=yr(/iP(ad|od|hone)/i),Mj=yr(/chrome/i)&&yr(/android/i),eb={capture:!1,passive:!1};function Ge(e,t,n){e.addEventListener(t,n,!Cr&&eb)}function je(e,t,n){e.removeEventListener(t,n,!Cr&&eb)}function xl(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 Vj(e){return e.host&&e!==document&&e.host.nodeType?e.host:e.parentNode}function Hn(e,t,n,r){if(e){n=n||document;do{if(t!=null&&(t[0]===">"?e.parentNode===n&&xl(e,t):xl(e,t))||r&&e===n)return e;if(e===n)break}while(e=Vj(e))}return null}var Oh=/\s+/g;function wt(e,t,n){if(e&&t)if(e.classList)e.classList[n?"add":"remove"](t);else{var r=(" "+e.className+" ").replace(Oh," ").replace(" "+t+" "," ");e.className=(r+(n?" "+t:"")).replace(Oh," ")}}function Ce(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 _s(e,t){var n="";if(typeof e=="string")n=e;else do{var r=Ce(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 tb(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 bt(e,t,n,r,s){if(!(!e.getBoundingClientRect&&e!==window)){var o,i,a,l,c,d,m;if(e!==window&&e.parentNode&&e!==or()?(o=e.getBoundingClientRect(),i=o.top,a=o.left,l=o.bottom,c=o.right,d=o.height,m=o.width):(i=0,a=0,l=window.innerHeight,c=window.innerWidth,d=window.innerHeight,m=window.innerWidth),(t||n)&&e!==window&&(s=s||e.parentNode,!Cr))do if(s&&s.getBoundingClientRect&&(Ce(s,"transform")!=="none"||n&&Ce(s,"position")!=="static")){var f=s.getBoundingClientRect();i-=f.top+parseInt(Ce(s,"border-top-width")),a-=f.left+parseInt(Ce(s,"border-left-width")),l=i+o.height,c=a+o.width;break}while(s=s.parentNode);if(r&&e!==window){var p=_s(s||e),h=p&&p.a,_=p&&p.d;p&&(i/=_,a/=h,m/=h,d/=_,l=i+d,c=a+m)}return{top:i,left:a,bottom:l,right:c,width:m,height:d}}}function Dh(e,t,n){for(var r=Ur(e,!0),s=bt(e)[t];r;){var o=bt(r)[n],i=void 0;if(n==="top"||n==="left"?i=s>=o:i=s<=o,!i)return r;if(r===or())break;r=Ur(r,!1)}return!1}function mo(e,t,n,r){for(var s=0,o=0,i=e.children;o<i.length;){if(i[o].style.display!=="none"&&i[o]!==Oe.ghost&&(r||i[o]!==Oe.dragged)&&Hn(i[o],n.draggable,e,!1)){if(s===t)return i[o];s++}o++}return null}function Mm(e,t){for(var n=e.lastElementChild;n&&(n===Oe.ghost||Ce(n,"display")==="none"||t&&!xl(n,t));)n=n.previousElementSibling;return n||null}function St(e,t){var n=0;if(!e||!e.parentNode)return-1;for(;e=e.previousElementSibling;)e.nodeName.toUpperCase()!=="TEMPLATE"&&e!==Oe.clone&&(!t||xl(e,t))&&n++;return n}function Ph(e){var t=0,n=0,r=or();if(e)do{var s=_s(e),o=s.a,i=s.d;t+=e.scrollLeft*o,n+=e.scrollTop*i}while(e!==r&&(e=e.parentNode));return[t,n]}function Hj(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 Ur(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=Ce(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 Uj(e,t){if(e&&t)for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e}function Xu(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 ei;function nb(e,t){return function(){if(!ei){var n=arguments,r=this;n.length===1?e.call(r,n[0]):e.apply(r,n),ei=setTimeout(function(){ei=void 0},t)}}}function Bj(){clearTimeout(ei),ei=void 0}function rb(e,t,n){e.scrollLeft+=t,e.scrollTop+=n}function Vm(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 Ih(e,t){Ce(e,"position","absolute"),Ce(e,"top",t.top),Ce(e,"left",t.left),Ce(e,"width",t.width),Ce(e,"height",t.height)}function Qu(e){Ce(e,"position",""),Ce(e,"top",""),Ce(e,"left",""),Ce(e,"width",""),Ce(e,"height","")}var Wt="Sortable"+new Date().getTime();function jj(){var e=[],t;return{captureAnimationState:function(){if(e=[],!!this.options.animation){var r=[].slice.call(this.el.children);r.forEach(function(s){if(!(Ce(s,"display")==="none"||s===Oe.ghost)){e.push({target:s,rect:bt(s)});var o=ar({},e[e.length-1].rect);if(s.thisAnimationDuration){var i=_s(s,!0);i&&(o.top-=i.f,o.left-=i.e)}s.fromRect=o}})}},addAnimationState:function(r){e.push(r)},removeAnimationState:function(r){e.splice(Hj(e,{target:r}),1)},animateAll:function(r){var s=this;if(!this.options.animation){clearTimeout(t),typeof r=="function"&&r();return}var o=!1,i=0;e.forEach(function(a){var l=0,c=a.target,d=c.fromRect,m=bt(c),f=c.prevFromRect,p=c.prevToRect,h=a.rect,_=_s(c,!0);_&&(m.top-=_.f,m.left-=_.e),c.toRect=m,c.thisAnimationDuration&&Xu(f,m)&&!Xu(d,m)&&(h.top-m.top)/(h.left-m.left)===(d.top-m.top)/(d.left-m.left)&&(l=Wj(h,f,p,s.options)),Xu(m,d)||(c.prevFromRect=d,c.prevToRect=m,l||(l=s.options.animation),s.animate(c,h,m,l)),l&&(o=!0,i=Math.max(i,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()},i):typeof r=="function"&&r(),e=[]},animate:function(r,s,o,i){if(i){Ce(r,"transition",""),Ce(r,"transform","");var a=_s(this.el),l=a&&a.a,c=a&&a.d,d=(s.left-o.left)/(l||1),m=(s.top-o.top)/(c||1);r.animatingX=!!d,r.animatingY=!!m,Ce(r,"transform","translate3d("+d+"px,"+m+"px,0)"),this.forRepaintDummy=qj(r),Ce(r,"transition","transform "+i+"ms"+(this.options.easing?" "+this.options.easing:"")),Ce(r,"transform","translate3d(0,0,0)"),typeof r.animated=="number"&&clearTimeout(r.animated),r.animated=setTimeout(function(){Ce(r,"transition",""),Ce(r,"transform",""),r.animated=!1,r.animatingX=!1,r.animatingY=!1},i)}}}}function qj(e){return e.offsetWidth}function Wj(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 Ps=[],ec={initializeByDefault:!0},Ni={mount:function(t){for(var n in ec)ec.hasOwnProperty(n)&&!(n in t)&&(t[n]=ec[n]);Ps.forEach(function(r){if(r.pluginName===t.pluginName)throw"Sortable: Cannot mount plugin ".concat(t.pluginName," more than once")}),Ps.push(t)},pluginEvent:function(t,n,r){var s=this;this.eventCanceled=!1,r.cancel=function(){s.eventCanceled=!0};var o=t+"Global";Ps.forEach(function(i){n[i.pluginName]&&(n[i.pluginName][o]&&n[i.pluginName][o](ar({sortable:n},r)),n.options[i.pluginName]&&n[i.pluginName][t]&&n[i.pluginName][t](ar({sortable:n},r)))})},initializePlugins:function(t,n,r,s){Ps.forEach(function(a){var l=a.pluginName;if(!(!t.options[l]&&!a.initializeByDefault)){var c=new a(t,n,t.options);c.sortable=t,c.options=t.options,t[l]=c,Pn(r,c.defaults)}});for(var o in t.options)if(t.options.hasOwnProperty(o)){var i=this.modifyOption(t,o,t.options[o]);typeof i<"u"&&(t.options[o]=i)}},getEventProperties:function(t,n){var r={};return Ps.forEach(function(s){typeof s.eventProperties=="function"&&Pn(r,s.eventProperties.call(n[s.pluginName],t))}),r},modifyOption:function(t,n,r){var s;return Ps.forEach(function(o){t[o.pluginName]&&o.optionListeners&&typeof o.optionListeners[n]=="function"&&(s=o.optionListeners[n].call(t[o.pluginName],r))}),s}};function Mo(e){var t=e.sortable,n=e.rootEl,r=e.name,s=e.targetEl,o=e.cloneEl,i=e.toEl,a=e.fromEl,l=e.oldIndex,c=e.newIndex,d=e.oldDraggableIndex,m=e.newDraggableIndex,f=e.originalEvent,p=e.putSortable,h=e.extraEventProperties;if(t=t||n&&n[Wt],!!t){var _,b=t.options,C="on"+r.charAt(0).toUpperCase()+r.substr(1);window.CustomEvent&&!Cr&&!Li?_=new CustomEvent(r,{bubbles:!0,cancelable:!0}):(_=document.createEvent("Event"),_.initEvent(r,!0,!0)),_.to=i||n,_.from=a||n,_.item=s||n,_.clone=o,_.oldIndex=l,_.newIndex=c,_.oldDraggableIndex=d,_.newDraggableIndex=m,_.originalEvent=f,_.pullMode=p?p.lastPutMode:void 0;var w=ar(ar({},h),Ni.getEventProperties(r,t));for(var v in w)_[v]=w[v];n&&n.dispatchEvent(_),b[C]&&b[C].call(t,_)}}var Gj=["evt"],tn=function(t,n){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},s=r.evt,o=Dj(r,Gj);Ni.pluginEvent.bind(Oe)(t,n,ar({dragEl:ce,parentEl:kt,ghostEl:Me,rootEl:vt,nextEl:is,lastDownEl:Xa,cloneEl:xt,cloneHidden:Hr,dragStarted:Vo,putSortable:Ht,activeSortable:Oe.active,originalEvent:s,oldIndex:Bs,oldDraggableIndex:ti,newIndex:pn,newDraggableIndex:Mr,hideGhostForTarget:ab,unhideGhostForTarget:lb,cloneNowHidden:function(){Hr=!0},cloneNowShown:function(){Hr=!1},dispatchSortableEvent:function(a){Yt({sortable:n,name:a,originalEvent:s})}},o))};function Yt(e){Mo(ar({putSortable:Ht,cloneEl:xt,targetEl:ce,rootEl:vt,oldIndex:Bs,oldDraggableIndex:ti,newIndex:pn,newDraggableIndex:Mr},e))}var ce,kt,Me,vt,is,Xa,xt,Hr,Bs,pn,ti,Mr,La,Ht,Vs=!1,El=!1,Sl=[],ss,Mn,tc,nc,Fh,Rh,Vo,Is,ni,ri=!1,Na=!1,Qa,Bt,rc=[],dd=!1,$l=[],hu=typeof document<"u",Ma=Q1,Lh=Li||Cr?"cssFloat":"float",Kj=hu&&!Mj&&!Q1&&"draggable"in document.createElement("div"),sb=function(){if(hu){if(Cr)return!1;var e=document.createElement("x");return e.style.cssText="pointer-events:auto",e.style.pointerEvents==="auto"}}(),ob=function(t,n){var r=Ce(t),s=parseInt(r.width)-parseInt(r.paddingLeft)-parseInt(r.paddingRight)-parseInt(r.borderLeftWidth)-parseInt(r.borderRightWidth),o=mo(t,0,n),i=mo(t,1,n),a=o&&Ce(o),l=i&&Ce(i),c=a&&parseInt(a.marginLeft)+parseInt(a.marginRight)+bt(o).width,d=l&&parseInt(l.marginLeft)+parseInt(l.marginRight)+bt(i).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&&a.float&&a.float!=="none"){var m=a.float==="left"?"left":"right";return i&&(l.clear==="both"||l.clear===m)?"vertical":"horizontal"}return o&&(a.display==="block"||a.display==="flex"||a.display==="table"||a.display==="grid"||c>=s&&r[Lh]==="none"||i&&r[Lh]==="none"&&c+d>s)?"vertical":"horizontal"},Zj=function(t,n,r){var s=r?t.left:t.top,o=r?t.right:t.bottom,i=r?t.width:t.height,a=r?n.left:n.top,l=r?n.right:n.bottom,c=r?n.width:n.height;return s===a||o===l||s+i/2===a+c/2},Yj=function(t,n){var r;return Sl.some(function(s){var o=s[Wt].options.emptyInsertThreshold;if(!(!o||Mm(s))){var i=bt(s),a=t>=i.left-o&&t<=i.right+o,l=n>=i.top-o&&n<=i.bottom+o;if(a&&l)return r=s}}),r},ib=function(t){function n(o,i){return function(a,l,c,d){var m=a.options.group.name&&l.options.group.name&&a.options.group.name===l.options.group.name;if(o==null&&(i||m))return!0;if(o==null||o===!1)return!1;if(i&&o==="clone")return o;if(typeof o=="function")return n(o(a,l,c,d),i)(a,l,c,d);var f=(i?a:l).options.group.name;return o===!0||typeof o=="string"&&o===f||o.join&&o.indexOf(f)>-1}}var r={},s=t.group;(!s||Ja(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},ab=function(){!sb&&Me&&Ce(Me,"display","none")},lb=function(){!sb&&Me&&Ce(Me,"display","")};hu&&document.addEventListener("click",function(e){if(El)return e.preventDefault(),e.stopPropagation&&e.stopPropagation(),e.stopImmediatePropagation&&e.stopImmediatePropagation(),El=!1,!1},!0);var os=function(t){if(ce){t=t.touches?t.touches[0]:t;var n=Yj(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[Wt]._onDragOver(r)}}},Jj=function(t){ce&&ce.parentNode[Wt]._isOutsideThisEl(t.target)};function Oe(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=Pn({},t),e[Wt]=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 ob(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(i,a){i.setData("Text",a.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:Oe.supportPointer!==!1&&"PointerEvent"in window&&!Qo,emptyInsertThreshold:5};Ni.initializePlugins(this,e,n);for(var r in n)!(r in t)&&(t[r]=n[r]);ib(t);for(var s in this)s.charAt(0)==="_"&&typeof this[s]=="function"&&(this[s]=this[s].bind(this));this.nativeDraggable=t.forceFallback?!1:Kj,this.nativeDraggable&&(this.options.touchStartThreshold=1),t.supportPointer?Ge(e,"pointerdown",this._onTapStart):(Ge(e,"mousedown",this._onTapStart),Ge(e,"touchstart",this._onTapStart)),this.nativeDraggable&&(Ge(e,"dragover",this),Ge(e,"dragenter",this)),Sl.push(this.el),t.store&&t.store.get&&this.sort(t.store.get(this)||[]),Pn(this,jj())}Oe.prototype={constructor:Oe,_isOutsideThisEl:function(t){!this.el.contains(t)&&t!==this.el&&(Is=null)},_getDirection:function(t,n){return typeof this.options.direction=="function"?this.options.direction.call(this,t,n,ce):this.options.direction},_onTapStart:function(t){if(t.cancelable){var n=this,r=this.el,s=this.options,o=s.preventOnFilter,i=t.type,a=t.touches&&t.touches[0]||t.pointerType&&t.pointerType==="touch"&&t,l=(a||t).target,c=t.target.shadowRoot&&(t.path&&t.path[0]||t.composedPath&&t.composedPath()[0])||l,d=s.filter;if(oq(r),!ce&&!(/mousedown|pointerdown/.test(i)&&t.button!==0||s.disabled)&&!c.isContentEditable&&!(!this.nativeDraggable&&Qo&&l&&l.tagName.toUpperCase()==="SELECT")&&(l=Hn(l,s.draggable,r,!1),!(l&&l.animated)&&Xa!==l)){if(Bs=St(l),ti=St(l,s.draggable),typeof d=="function"){if(d.call(this,t,l,this)){Yt({sortable:n,rootEl:c,name:"filter",targetEl:l,toEl:r,fromEl:r}),tn("filter",n,{evt:t}),o&&t.cancelable&&t.preventDefault();return}}else if(d&&(d=d.split(",").some(function(m){if(m=Hn(c,m.trim(),r,!1),m)return Yt({sortable:n,rootEl:m,name:"filter",targetEl:l,fromEl:r,toEl:r}),tn("filter",n,{evt:t}),!0}),d)){o&&t.cancelable&&t.preventDefault();return}s.handle&&!Hn(c,s.handle,r,!1)||this._prepareDragStart(t,a,l)}}},_prepareDragStart:function(t,n,r){var s=this,o=s.el,i=s.options,a=o.ownerDocument,l;if(r&&!ce&&r.parentNode===o){var c=bt(r);if(vt=o,ce=r,kt=ce.parentNode,is=ce.nextSibling,Xa=r,La=i.group,Oe.dragged=ce,ss={target:ce,clientX:(n||t).clientX,clientY:(n||t).clientY},Fh=ss.clientX-c.left,Rh=ss.clientY-c.top,this._lastX=(n||t).clientX,this._lastY=(n||t).clientY,ce.style["will-change"]="all",l=function(){if(tn("delayEnded",s,{evt:t}),Oe.eventCanceled){s._onDrop();return}s._disableDelayedDragEvents(),!Th&&s.nativeDraggable&&(ce.draggable=!0),s._triggerDragStart(t,n),Yt({sortable:s,name:"choose",originalEvent:t}),wt(ce,i.chosenClass,!0)},i.ignore.split(",").forEach(function(d){tb(ce,d.trim(),sc)}),Ge(a,"dragover",os),Ge(a,"mousemove",os),Ge(a,"touchmove",os),Ge(a,"mouseup",s._onDrop),Ge(a,"touchend",s._onDrop),Ge(a,"touchcancel",s._onDrop),Th&&this.nativeDraggable&&(this.options.touchStartThreshold=4,ce.draggable=!0),tn("delayStart",this,{evt:t}),i.delay&&(!i.delayOnTouchOnly||n)&&(!this.nativeDraggable||!(Li||Cr))){if(Oe.eventCanceled){this._onDrop();return}Ge(a,"mouseup",s._disableDelayedDrag),Ge(a,"touchend",s._disableDelayedDrag),Ge(a,"touchcancel",s._disableDelayedDrag),Ge(a,"mousemove",s._delayedDragTouchMoveHandler),Ge(a,"touchmove",s._delayedDragTouchMoveHandler),i.supportPointer&&Ge(a,"pointermove",s._delayedDragTouchMoveHandler),s._dragStartTimer=setTimeout(l,i.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(){ce&&sc(ce),clearTimeout(this._dragStartTimer),this._disableDelayedDragEvents()},_disableDelayedDragEvents:function(){var t=this.el.ownerDocument;je(t,"mouseup",this._disableDelayedDrag),je(t,"touchend",this._disableDelayedDrag),je(t,"touchcancel",this._disableDelayedDrag),je(t,"mousemove",this._delayedDragTouchMoveHandler),je(t,"touchmove",this._delayedDragTouchMoveHandler),je(t,"pointermove",this._delayedDragTouchMoveHandler)},_triggerDragStart:function(t,n){n=n||t.pointerType=="touch"&&t,!this.nativeDraggable||n?this.options.supportPointer?Ge(document,"pointermove",this._onTouchMove):n?Ge(document,"touchmove",this._onTouchMove):Ge(document,"mousemove",this._onTouchMove):(Ge(ce,"dragend",this),Ge(vt,"dragstart",this._onDragStart));try{document.selection?el(function(){document.selection.empty()}):window.getSelection().removeAllRanges()}catch{}},_dragStarted:function(t,n){if(Vs=!1,vt&&ce){tn("dragStarted",this,{evt:n}),this.nativeDraggable&&Ge(document,"dragover",Jj);var r=this.options;!t&&wt(ce,r.dragClass,!1),wt(ce,r.ghostClass,!0),Oe.active=this,t&&this._appendGhost(),Yt({sortable:this,name:"start",originalEvent:n})}else this._nulling()},_emulateDragOver:function(){if(Mn){this._lastX=Mn.clientX,this._lastY=Mn.clientY,ab();for(var t=document.elementFromPoint(Mn.clientX,Mn.clientY),n=t;t&&t.shadowRoot&&(t=t.shadowRoot.elementFromPoint(Mn.clientX,Mn.clientY),t!==n);)n=t;if(ce.parentNode[Wt]._isOutsideThisEl(t),n)do{if(n[Wt]){var r=void 0;if(r=n[Wt]._onDragOver({clientX:Mn.clientX,clientY:Mn.clientY,target:t,rootEl:n}),r&&!this.options.dragoverBubble)break}t=n}while(n=n.parentNode);lb()}},_onTouchMove:function(t){if(ss){var n=this.options,r=n.fallbackTolerance,s=n.fallbackOffset,o=t.touches?t.touches[0]:t,i=Me&&_s(Me,!0),a=Me&&i&&i.a,l=Me&&i&&i.d,c=Ma&&Bt&&Ph(Bt),d=(o.clientX-ss.clientX+s.x)/(a||1)+(c?c[0]-rc[0]:0)/(a||1),m=(o.clientY-ss.clientY+s.y)/(l||1)+(c?c[1]-rc[1]:0)/(l||1);if(!Oe.active&&!Vs){if(r&&Math.max(Math.abs(o.clientX-this._lastX),Math.abs(o.clientY-this._lastY))<r)return;this._onDragStart(t,!0)}if(Me){i?(i.e+=d-(tc||0),i.f+=m-(nc||0)):i={a:1,b:0,c:0,d:1,e:d,f:m};var f="matrix(".concat(i.a,",").concat(i.b,",").concat(i.c,",").concat(i.d,",").concat(i.e,",").concat(i.f,")");Ce(Me,"webkitTransform",f),Ce(Me,"mozTransform",f),Ce(Me,"msTransform",f),Ce(Me,"transform",f),tc=d,nc=m,Mn=o}t.cancelable&&t.preventDefault()}},_appendGhost:function(){if(!Me){var t=this.options.fallbackOnBody?document.body:vt,n=bt(ce,!0,Ma,!0,t),r=this.options;if(Ma){for(Bt=t;Ce(Bt,"position")==="static"&&Ce(Bt,"transform")==="none"&&Bt!==document;)Bt=Bt.parentNode;Bt!==document.body&&Bt!==document.documentElement?(Bt===document&&(Bt=or()),n.top+=Bt.scrollTop,n.left+=Bt.scrollLeft):Bt=or(),rc=Ph(Bt)}Me=ce.cloneNode(!0),wt(Me,r.ghostClass,!1),wt(Me,r.fallbackClass,!0),wt(Me,r.dragClass,!0),Ce(Me,"transition",""),Ce(Me,"transform",""),Ce(Me,"box-sizing","border-box"),Ce(Me,"margin",0),Ce(Me,"top",n.top),Ce(Me,"left",n.left),Ce(Me,"width",n.width),Ce(Me,"height",n.height),Ce(Me,"opacity","0.8"),Ce(Me,"position",Ma?"absolute":"fixed"),Ce(Me,"zIndex","100000"),Ce(Me,"pointerEvents","none"),Oe.ghost=Me,t.appendChild(Me),Ce(Me,"transform-origin",Fh/parseInt(Me.style.width)*100+"% "+Rh/parseInt(Me.style.height)*100+"%")}},_onDragStart:function(t,n){var r=this,s=t.dataTransfer,o=r.options;if(tn("dragStart",this,{evt:t}),Oe.eventCanceled){this._onDrop();return}tn("setupClone",this),Oe.eventCanceled||(xt=Vm(ce),xt.draggable=!1,xt.style["will-change"]="",this._hideClone(),wt(xt,this.options.chosenClass,!1),Oe.clone=xt),r.cloneId=el(function(){tn("clone",r),!Oe.eventCanceled&&(r.options.removeCloneOnHide||vt.insertBefore(xt,ce),r._hideClone(),Yt({sortable:r,name:"clone"}))}),!n&&wt(ce,o.dragClass,!0),n?(El=!0,r._loopId=setInterval(r._emulateDragOver,50)):(je(document,"mouseup",r._onDrop),je(document,"touchend",r._onDrop),je(document,"touchcancel",r._onDrop),s&&(s.effectAllowed="move",o.setData&&o.setData.call(r,s,ce)),Ge(document,"drop",r),Ce(ce,"transform","translateZ(0)")),Vs=!0,r._dragStartId=el(r._dragStarted.bind(r,n,t)),Ge(document,"selectstart",r),Vo=!0,Qo&&Ce(document.body,"user-select","none")},_onDragOver:function(t){var n=this.el,r=t.target,s,o,i,a=this.options,l=a.group,c=Oe.active,d=La===l,m=a.sort,f=Ht||c,p,h=this,_=!1;if(dd)return;function b(oe,Be){tn(oe,h,ar({evt:t,isOwner:d,axis:p?"vertical":"horizontal",revert:i,dragRect:s,targetRect:o,canSort:m,fromSortable:f,target:r,completed:w,onMove:function(We,Ue){return Va(vt,n,ce,s,We,bt(We),t,Ue)},changed:v},Be))}function C(){b("dragOverAnimationCapture"),h.captureAnimationState(),h!==f&&f.captureAnimationState()}function w(oe){return b("dragOverCompleted",{insertion:oe}),oe&&(d?c._hideClone():c._showClone(h),h!==f&&(wt(ce,Ht?Ht.options.ghostClass:c.options.ghostClass,!1),wt(ce,a.ghostClass,!0)),Ht!==h&&h!==Oe.active?Ht=h:h===Oe.active&&Ht&&(Ht=null),f===h&&(h._ignoreWhileAnimating=r),h.animateAll(function(){b("dragOverAnimationComplete"),h._ignoreWhileAnimating=null}),h!==f&&(f.animateAll(),f._ignoreWhileAnimating=null)),(r===ce&&!ce.animated||r===n&&!r.animated)&&(Is=null),!a.dragoverBubble&&!t.rootEl&&r!==document&&(ce.parentNode[Wt]._isOutsideThisEl(t.target),!oe&&os(t)),!a.dragoverBubble&&t.stopPropagation&&t.stopPropagation(),_=!0}function v(){pn=St(ce),Mr=St(ce,a.draggable),Yt({sortable:h,name:"change",toEl:n,newIndex:pn,newDraggableIndex:Mr,originalEvent:t})}if(t.preventDefault!==void 0&&t.cancelable&&t.preventDefault(),r=Hn(r,a.draggable,n,!0),b("dragOver"),Oe.eventCanceled)return _;if(ce.contains(t.target)||r.animated&&r.animatingX&&r.animatingY||h._ignoreWhileAnimating===r)return w(!1);if(El=!1,c&&!a.disabled&&(d?m||(i=kt!==vt):Ht===this||(this.lastPutMode=La.checkPull(this,c,ce,t))&&l.checkPut(this,c,ce,t))){if(p=this._getDirection(t,r)==="vertical",s=bt(ce),b("dragOverValid"),Oe.eventCanceled)return _;if(i)return kt=vt,C(),this._hideClone(),b("revert"),Oe.eventCanceled||(is?vt.insertBefore(ce,is):vt.appendChild(ce)),w(!0);var z=Mm(n,a.draggable);if(!z||tq(t,p,this)&&!z.animated){if(z===ce)return w(!1);if(z&&n===t.target&&(r=z),r&&(o=bt(r)),Va(vt,n,ce,s,r,o,t,!!r)!==!1)return C(),n.appendChild(ce),kt=n,v(),w(!0)}else if(z&&eq(t,p,this)){var S=mo(n,0,a,!0);if(S===ce)return w(!1);if(r=S,o=bt(r),Va(vt,n,ce,s,r,o,t,!1)!==!1)return C(),n.insertBefore(ce,S),kt=n,v(),w(!0)}else if(r.parentNode===n){o=bt(r);var x=0,N,D=ce.parentNode!==n,P=!Zj(ce.animated&&ce.toRect||s,r.animated&&r.toRect||o,p),L=p?"top":"left",Z=Dh(r,"top","top")||Dh(ce,"top","top"),B=Z?Z.scrollTop:void 0;Is!==r&&(N=o[L],ri=!1,Na=!P&&a.invertSwap||D),x=nq(t,r,o,p,P?1:a.swapThreshold,a.invertedSwapThreshold==null?a.swapThreshold:a.invertedSwapThreshold,Na,Is===r);var q;if(x!==0){var X=St(ce);do X-=x,q=kt.children[X];while(q&&(Ce(q,"display")==="none"||q===Me))}if(x===0||q===r)return w(!1);Is=r,ni=x;var pe=r.nextElementSibling,G=!1;G=x===1;var re=Va(vt,n,ce,s,r,o,t,G);if(re!==!1)return(re===1||re===-1)&&(G=re===1),dd=!0,setTimeout(Qj,30),C(),G&&!pe?n.appendChild(ce):r.parentNode.insertBefore(ce,G?pe:r),Z&&rb(Z,0,B-Z.scrollTop),kt=ce.parentNode,N!==void 0&&!Na&&(Qa=Math.abs(N-bt(r)[L])),v(),w(!0)}if(n.contains(ce))return w(!1)}return!1},_ignoreWhileAnimating:null,_offMoveEvents:function(){je(document,"mousemove",this._onTouchMove),je(document,"touchmove",this._onTouchMove),je(document,"pointermove",this._onTouchMove),je(document,"dragover",os),je(document,"mousemove",os),je(document,"touchmove",os)},_offUpEvents:function(){var t=this.el.ownerDocument;je(t,"mouseup",this._onDrop),je(t,"touchend",this._onDrop),je(t,"pointerup",this._onDrop),je(t,"touchcancel",this._onDrop),je(document,"selectstart",this)},_onDrop:function(t){var n=this.el,r=this.options;if(pn=St(ce),Mr=St(ce,r.draggable),tn("drop",this,{evt:t}),kt=ce&&ce.parentNode,pn=St(ce),Mr=St(ce,r.draggable),Oe.eventCanceled){this._nulling();return}Vs=!1,Na=!1,ri=!1,clearInterval(this._loopId),clearTimeout(this._dragStartTimer),md(this.cloneId),md(this._dragStartId),this.nativeDraggable&&(je(document,"drop",this),je(n,"dragstart",this._onDragStart)),this._offMoveEvents(),this._offUpEvents(),Qo&&Ce(document.body,"user-select",""),Ce(ce,"transform",""),t&&(Vo&&(t.cancelable&&t.preventDefault(),!r.dropBubble&&t.stopPropagation()),Me&&Me.parentNode&&Me.parentNode.removeChild(Me),(vt===kt||Ht&&Ht.lastPutMode!=="clone")&&xt&&xt.parentNode&&xt.parentNode.removeChild(xt),ce&&(this.nativeDraggable&&je(ce,"dragend",this),sc(ce),ce.style["will-change"]="",Vo&&!Vs&&wt(ce,Ht?Ht.options.ghostClass:this.options.ghostClass,!1),wt(ce,this.options.chosenClass,!1),Yt({sortable:this,name:"unchoose",toEl:kt,newIndex:null,newDraggableIndex:null,originalEvent:t}),vt!==kt?(pn>=0&&(Yt({rootEl:kt,name:"add",toEl:kt,fromEl:vt,originalEvent:t}),Yt({sortable:this,name:"remove",toEl:kt,originalEvent:t}),Yt({rootEl:kt,name:"sort",toEl:kt,fromEl:vt,originalEvent:t}),Yt({sortable:this,name:"sort",toEl:kt,originalEvent:t})),Ht&&Ht.save()):pn!==Bs&&pn>=0&&(Yt({sortable:this,name:"update",toEl:kt,originalEvent:t}),Yt({sortable:this,name:"sort",toEl:kt,originalEvent:t})),Oe.active&&((pn==null||pn===-1)&&(pn=Bs,Mr=ti),Yt({sortable:this,name:"end",toEl:kt,originalEvent:t}),this.save()))),this._nulling()},_nulling:function(){tn("nulling",this),vt=ce=kt=Me=is=xt=Xa=Hr=ss=Mn=Vo=pn=Mr=Bs=ti=Is=ni=Ht=La=Oe.dragged=Oe.ghost=Oe.clone=Oe.active=null,$l.forEach(function(t){t.checked=!0}),$l.length=tc=nc=0},handleEvent:function(t){switch(t.type){case"drop":case"dragend":this._onDrop(t);break;case"dragenter":case"dragover":ce&&(this._onDragOver(t),Xj(t));break;case"selectstart":t.preventDefault();break}},toArray:function(){for(var t=[],n,r=this.el.children,s=0,o=r.length,i=this.options;s<o;s++)n=r[s],Hn(n,i.draggable,this.el,!1)&&t.push(n.getAttribute(i.dataIdAttr)||sq(n));return t},sort:function(t,n){var r={},s=this.el;this.toArray().forEach(function(o,i){var a=s.children[i];Hn(a,this.options.draggable,s,!1)&&(r[o]=a)},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 Hn(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=Ni.modifyOption(this,t,n);typeof s<"u"?r[t]=s:r[t]=n,t==="group"&&ib(r)},destroy:function(){tn("destroy",this);var t=this.el;t[Wt]=null,je(t,"mousedown",this._onTapStart),je(t,"touchstart",this._onTapStart),je(t,"pointerdown",this._onTapStart),this.nativeDraggable&&(je(t,"dragover",this),je(t,"dragenter",this)),Array.prototype.forEach.call(t.querySelectorAll("[draggable]"),function(n){n.removeAttribute("draggable")}),this._onDrop(),this._disableDelayedDragEvents(),Sl.splice(Sl.indexOf(this.el),1),this.el=t=null},_hideClone:function(){if(!Hr){if(tn("hideClone",this),Oe.eventCanceled)return;Ce(xt,"display","none"),this.options.removeCloneOnHide&&xt.parentNode&&xt.parentNode.removeChild(xt),Hr=!0}},_showClone:function(t){if(t.lastPutMode!=="clone"){this._hideClone();return}if(Hr){if(tn("showClone",this),Oe.eventCanceled)return;ce.parentNode==vt&&!this.options.group.revertClone?vt.insertBefore(xt,ce):is?vt.insertBefore(xt,is):vt.appendChild(xt),this.options.group.revertClone&&this.animate(ce,xt),Ce(xt,"display",""),Hr=!1}}};function Xj(e){e.dataTransfer&&(e.dataTransfer.dropEffect="move"),e.cancelable&&e.preventDefault()}function Va(e,t,n,r,s,o,i,a){var l,c=e[Wt],d=c.options.onMove,m;return window.CustomEvent&&!Cr&&!Li?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||bt(t),l.willInsertAfter=a,l.originalEvent=i,e.dispatchEvent(l),d&&(m=d.call(c,l,i)),m}function sc(e){e.draggable=!1}function Qj(){dd=!1}function eq(e,t,n){var r=bt(mo(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 tq(e,t,n){var r=bt(Mm(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 nq(e,t,n,r,s,o,i,a){var l=r?e.clientY:e.clientX,c=r?n.height:n.width,d=r?n.top:n.left,m=r?n.bottom:n.right,f=!1;if(!i){if(a&&Qa<c*s){if(!ri&&(ni===1?l>d+c*o/2:l<m-c*o/2)&&(ri=!0),ri)f=!0;else if(ni===1?l<d+Qa:l>m-Qa)return-ni}else if(l>d+c*(1-s)/2&&l<m-c*(1-s)/2)return rq(t)}return f=f||i,f&&(l<d+c*o/2||l>m-c*o/2)?l>d+c/2?1:-1:0}function rq(e){return St(ce)<St(e)?1:-1}function sq(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 oq(e){$l.length=0;for(var t=e.getElementsByTagName("input"),n=t.length;n--;){var r=t[n];r.checked&&$l.push(r)}}function el(e){return setTimeout(e,0)}function md(e){return clearTimeout(e)}hu&&Ge(document,"touchmove",function(e){(Oe.active||Vs)&&e.cancelable&&e.preventDefault()});Oe.utils={on:Ge,off:je,css:Ce,find:tb,is:function(t,n){return!!Hn(t,n,t,!1)},extend:Uj,throttle:nb,closest:Hn,toggleClass:wt,clone:Vm,index:St,nextTick:el,cancelNextTick:md,detectDirection:ob,getChild:mo};Oe.get=function(e){return e[Wt]};Oe.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&&(Oe.utils=ar(ar({},Oe.utils),r.utils)),Ni.mount(r)})};Oe.create=function(e,t){return new Oe(e,t)};Oe.version=Nj;var Ot=[],Ho,fd,pd=!1,oc,ic,Al,Uo;function iq(){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?Ge(document,"dragover",this._handleAutoScroll):this.options.supportPointer?Ge(document,"pointermove",this._handleFallbackAutoScroll):r.touches?Ge(document,"touchmove",this._handleFallbackAutoScroll):Ge(document,"mousemove",this._handleFallbackAutoScroll)},dragOverCompleted:function(n){var r=n.originalEvent;!this.options.dragOverBubble&&!r.rootEl&&this._handleAutoScroll(r)},drop:function(){this.sortable.nativeDraggable?je(document,"dragover",this._handleAutoScroll):(je(document,"pointermove",this._handleFallbackAutoScroll),je(document,"touchmove",this._handleFallbackAutoScroll),je(document,"mousemove",this._handleFallbackAutoScroll)),Nh(),tl(),Bj()},nulling:function(){Al=fd=Ho=pd=Uo=oc=ic=null,Ot.length=0},_handleFallbackAutoScroll:function(n){this._handleAutoScroll(n,!0)},_handleAutoScroll:function(n,r){var s=this,o=(n.touches?n.touches[0]:n).clientX,i=(n.touches?n.touches[0]:n).clientY,a=document.elementFromPoint(o,i);if(Al=n,r||this.options.forceAutoScrollFallback||Li||Cr||Qo){ac(n,this.options,a,r);var l=Ur(a,!0);pd&&(!Uo||o!==oc||i!==ic)&&(Uo&&Nh(),Uo=setInterval(function(){var c=Ur(document.elementFromPoint(o,i),!0);c!==l&&(l=c,tl()),ac(n,s.options,c,r)},10),oc=o,ic=i)}else{if(!this.options.bubbleScroll||Ur(a,!0)===or()){tl();return}ac(n,this.options,Ur(a,!1),!1)}}},Pn(e,{pluginName:"scroll",initializeByDefault:!0})}function tl(){Ot.forEach(function(e){clearInterval(e.pid)}),Ot=[]}function Nh(){clearInterval(Uo)}var ac=nb(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,i=t.scrollSensitivity,a=t.scrollSpeed,l=or(),c=!1,d;fd!==n&&(fd=n,tl(),Ho=t.scroll,d=t.scrollFn,Ho===!0&&(Ho=Ur(n,!0)));var m=0,f=Ho;do{var p=f,h=bt(p),_=h.top,b=h.bottom,C=h.left,w=h.right,v=h.width,z=h.height,S=void 0,x=void 0,N=p.scrollWidth,D=p.scrollHeight,P=Ce(p),L=p.scrollLeft,Z=p.scrollTop;p===l?(S=v<N&&(P.overflowX==="auto"||P.overflowX==="scroll"||P.overflowX==="visible"),x=z<D&&(P.overflowY==="auto"||P.overflowY==="scroll"||P.overflowY==="visible")):(S=v<N&&(P.overflowX==="auto"||P.overflowX==="scroll"),x=z<D&&(P.overflowY==="auto"||P.overflowY==="scroll"));var B=S&&(Math.abs(w-s)<=i&&L+v<N)-(Math.abs(C-s)<=i&&!!L),q=x&&(Math.abs(b-o)<=i&&Z+z<D)-(Math.abs(_-o)<=i&&!!Z);if(!Ot[m])for(var X=0;X<=m;X++)Ot[X]||(Ot[X]={});(Ot[m].vx!=B||Ot[m].vy!=q||Ot[m].el!==p)&&(Ot[m].el=p,Ot[m].vx=B,Ot[m].vy=q,clearInterval(Ot[m].pid),(B!=0||q!=0)&&(c=!0,Ot[m].pid=setInterval((function(){r&&this.layer===0&&Oe.active._onTouchMove(Al);var pe=Ot[this.layer].vy?Ot[this.layer].vy*a:0,G=Ot[this.layer].vx?Ot[this.layer].vx*a:0;typeof d=="function"&&d.call(Oe.dragged.parentNode[Wt],G,pe,e,Al,Ot[this.layer].el)!=="continue"||rb(Ot[this.layer].el,G,pe)}).bind({layer:m}),24))),m++}while(t.bubbleScroll&&f!==l&&(f=Ur(f,!1)));pd=c}},30),ub=function(t){var n=t.originalEvent,r=t.putSortable,s=t.dragEl,o=t.activeSortable,i=t.dispatchSortableEvent,a=t.hideGhostForTarget,l=t.unhideGhostForTarget;if(n){var c=r||o;a();var d=n.changedTouches&&n.changedTouches.length?n.changedTouches[0]:n,m=document.elementFromPoint(d.clientX,d.clientY);l(),c&&!c.el.contains(m)&&(i("spill"),this.onSpill({dragEl:s,putSortable:r}))}};function Hm(){}Hm.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=mo(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:ub};Pn(Hm,{pluginName:"revertOnSpill"});function Um(){}Um.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:ub};Pn(Um,{pluginName:"removeOnSpill"});var xn;function aq(){function e(){this.defaults={swapClass:"sortable-swap-highlight"}}return e.prototype={dragStart:function(n){var r=n.dragEl;xn=r},dragOverValid:function(n){var r=n.completed,s=n.target,o=n.onMove,i=n.activeSortable,a=n.changed,l=n.cancel;if(i.options.swap){var c=this.sortable.el,d=this.options;if(s&&s!==c){var m=xn;o(s)!==!1?(wt(s,d.swapClass,!0),xn=s):xn=null,m&&m!==xn&&wt(m,d.swapClass,!1)}a(),r(!0),l()}},drop:function(n){var r=n.activeSortable,s=n.putSortable,o=n.dragEl,i=s||this.sortable,a=this.options;xn&&wt(xn,a.swapClass,!1),xn&&(a.swap||s&&s.options.swap)&&o!==xn&&(i.captureAnimationState(),i!==r&&r.captureAnimationState(),lq(o,xn),i.animateAll(),i!==r&&r.animateAll())},nulling:function(){xn=null}},Pn(e,{pluginName:"swap",eventProperties:function(){return{swapItem:xn}}})}function lq(e,t){var n=e.parentNode,r=t.parentNode,s,o;!n||!r||n.isEqualNode(t)||r.isEqualNode(e)||(s=St(e),o=St(t),n.isEqualNode(r)&&s<o&&o++,n.insertBefore(t,n.children[s]),r.insertBefore(e,r.children[o]))}var Re=[],fn=[],Oo,Vn,Do=!1,nn=!1,Fs=!1,_t,Po,Ha;function uq(){function e(t){for(var n in this)n.charAt(0)==="_"&&typeof this[n]=="function"&&(this[n]=this[n].bind(this));t.options.supportPointer?Ge(document,"pointerup",this._deselectMultiDrag):(Ge(document,"mouseup",this._deselectMultiDrag),Ge(document,"touchend",this._deselectMultiDrag)),Ge(document,"keydown",this._checkKeyDown),Ge(document,"keyup",this._checkKeyUp),this.defaults={selectedClass:"sortable-selected",multiDragKey:null,setData:function(s,o){var i="";Re.length&&Vn===t?Re.forEach(function(a,l){i+=(l?", ":"")+a.textContent}):i=o.textContent,s.setData("Text",i)}}}return e.prototype={multiDragKeyDown:!1,isMultiDrag:!1,delayStartGlobal:function(n){var r=n.dragEl;_t=r},delayEnded:function(){this.isMultiDrag=~Re.indexOf(_t)},setupClone:function(n){var r=n.sortable,s=n.cancel;if(this.isMultiDrag){for(var o=0;o<Re.length;o++)fn.push(Vm(Re[o])),fn[o].sortableIndex=Re[o].sortableIndex,fn[o].draggable=!1,fn[o].style["will-change"]="",wt(fn[o],this.options.selectedClass,!1),Re[o]===_t&&wt(fn[o],this.options.chosenClass,!1);r._hideClone(),s()}},clone:function(n){var r=n.sortable,s=n.rootEl,o=n.dispatchSortableEvent,i=n.cancel;this.isMultiDrag&&(this.options.removeCloneOnHide||Re.length&&Vn===r&&(Mh(!0,s),o("clone"),i()))},showClone:function(n){var r=n.cloneNowShown,s=n.rootEl,o=n.cancel;this.isMultiDrag&&(Mh(!1,s),fn.forEach(function(i){Ce(i,"display","")}),r(),Ha=!1,o())},hideClone:function(n){var r=this;n.sortable;var s=n.cloneNowHidden,o=n.cancel;this.isMultiDrag&&(fn.forEach(function(i){Ce(i,"display","none"),r.options.removeCloneOnHide&&i.parentNode&&i.parentNode.removeChild(i)}),s(),Ha=!0,o())},dragStartGlobal:function(n){n.sortable,!this.isMultiDrag&&Vn&&Vn.multiDrag._deselectMultiDrag(),Re.forEach(function(r){r.sortableIndex=St(r)}),Re=Re.sort(function(r,s){return r.sortableIndex-s.sortableIndex}),Fs=!0},dragStarted:function(n){var r=this,s=n.sortable;if(this.isMultiDrag){if(this.options.sort&&(s.captureAnimationState(),this.options.animation)){Re.forEach(function(i){i!==_t&&Ce(i,"position","absolute")});var o=bt(_t,!1,!0,!0);Re.forEach(function(i){i!==_t&&Ih(i,o)}),nn=!0,Do=!0}s.animateAll(function(){nn=!1,Do=!1,r.options.animation&&Re.forEach(function(i){Qu(i)}),r.options.sort&&Ua()})}},dragOver:function(n){var r=n.target,s=n.completed,o=n.cancel;nn&&~Re.indexOf(r)&&(s(!1),o())},revert:function(n){var r=n.fromSortable,s=n.rootEl,o=n.sortable,i=n.dragRect;Re.length>1&&(Re.forEach(function(a){o.addAnimationState({target:a,rect:nn?bt(a):i}),Qu(a),a.fromRect=i,r.removeAnimationState(a)}),nn=!1,cq(!this.options.removeCloneOnHide,s))},dragOverCompleted:function(n){var r=n.sortable,s=n.isOwner,o=n.insertion,i=n.activeSortable,a=n.parentEl,l=n.putSortable,c=this.options;if(o){if(s&&i._hideClone(),Do=!1,c.animation&&Re.length>1&&(nn||!s&&!i.options.sort&&!l)){var d=bt(_t,!1,!0,!0);Re.forEach(function(f){f!==_t&&(Ih(f,d),a.appendChild(f))}),nn=!0}if(!s)if(nn||Ua(),Re.length>1){var m=Ha;i._showClone(r),i.options.animation&&!Ha&&m&&fn.forEach(function(f){i.addAnimationState({target:f,rect:Po}),f.fromRect=Po,f.thisAnimationDuration=null})}else i._showClone(r)}},dragOverAnimationCapture:function(n){var r=n.dragRect,s=n.isOwner,o=n.activeSortable;if(Re.forEach(function(a){a.thisAnimationDuration=null}),o.options.animation&&!s&&o.multiDrag.isMultiDrag){Po=Pn({},r);var i=_s(_t,!0);Po.top-=i.f,Po.left-=i.e}},dragOverAnimationComplete:function(){nn&&(nn=!1,Ua())},drop:function(n){var r=n.originalEvent,s=n.rootEl,o=n.parentEl,i=n.sortable,a=n.dispatchSortableEvent,l=n.oldIndex,c=n.putSortable,d=c||this.sortable;if(r){var m=this.options,f=o.children;if(!Fs)if(m.multiDragKey&&!this.multiDragKeyDown&&this._deselectMultiDrag(),wt(_t,m.selectedClass,!~Re.indexOf(_t)),~Re.indexOf(_t))Re.splice(Re.indexOf(_t),1),Oo=null,Mo({sortable:i,rootEl:s,name:"deselect",targetEl:_t,originalEvt:r});else{if(Re.push(_t),Mo({sortable:i,rootEl:s,name:"select",targetEl:_t,originalEvt:r}),r.shiftKey&&Oo&&i.el.contains(Oo)){var p=St(Oo),h=St(_t);if(~p&&~h&&p!==h){var _,b;for(h>p?(b=p,_=h):(b=h,_=p+1);b<_;b++)~Re.indexOf(f[b])||(wt(f[b],m.selectedClass,!0),Re.push(f[b]),Mo({sortable:i,rootEl:s,name:"select",targetEl:f[b],originalEvt:r}))}}else Oo=_t;Vn=d}if(Fs&&this.isMultiDrag){if(nn=!1,(o[Wt].options.sort||o!==s)&&Re.length>1){var C=bt(_t),w=St(_t,":not(."+this.options.selectedClass+")");if(!Do&&m.animation&&(_t.thisAnimationDuration=null),d.captureAnimationState(),!Do&&(m.animation&&(_t.fromRect=C,Re.forEach(function(z){if(z.thisAnimationDuration=null,z!==_t){var S=nn?bt(z):C;z.fromRect=S,d.addAnimationState({target:z,rect:S})}})),Ua(),Re.forEach(function(z){f[w]?o.insertBefore(z,f[w]):o.appendChild(z),w++}),l===St(_t))){var v=!1;Re.forEach(function(z){if(z.sortableIndex!==St(z)){v=!0;return}}),v&&a("update")}Re.forEach(function(z){Qu(z)}),d.animateAll()}Vn=d}(s===o||c&&c.lastPutMode!=="clone")&&fn.forEach(function(z){z.parentNode&&z.parentNode.removeChild(z)})}},nullingGlobal:function(){this.isMultiDrag=Fs=!1,fn.length=0},destroyGlobal:function(){this._deselectMultiDrag(),je(document,"pointerup",this._deselectMultiDrag),je(document,"mouseup",this._deselectMultiDrag),je(document,"touchend",this._deselectMultiDrag),je(document,"keydown",this._checkKeyDown),je(document,"keyup",this._checkKeyUp)},_deselectMultiDrag:function(n){if(!(typeof Fs<"u"&&Fs)&&Vn===this.sortable&&!(n&&Hn(n.target,this.options.draggable,this.sortable.el,!1))&&!(n&&n.button!==0))for(;Re.length;){var r=Re[0];wt(r,this.options.selectedClass,!1),Re.shift(),Mo({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)}},Pn(e,{pluginName:"multiDrag",utils:{select:function(n){var r=n.parentNode[Wt];!r||!r.options.multiDrag||~Re.indexOf(n)||(Vn&&Vn!==r&&(Vn.multiDrag._deselectMultiDrag(),Vn=r),wt(n,r.options.selectedClass,!0),Re.push(n))},deselect:function(n){var r=n.parentNode[Wt],s=Re.indexOf(n);!r||!r.options.multiDrag||!~s||(wt(n,r.options.selectedClass,!1),Re.splice(s,1))}},eventProperties:function(){var n=this,r=[],s=[];return Re.forEach(function(o){r.push({multiDragElement:o,index:o.sortableIndex});var i;nn&&o!==_t?i=-1:nn?i=St(o,":not(."+n.options.selectedClass+")"):i=St(o),s.push({multiDragElement:o,index:i})}),{items:Pj(Re),clones:[].concat(fn),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 cq(e,t){Re.forEach(function(n,r){var s=t.children[n.sortableIndex+(e?Number(r):0)];s?t.insertBefore(n,s):t.appendChild(n)})}function Mh(e,t){fn.forEach(function(n,r){var s=t.children[n.sortableIndex+(e?Number(r):0)];s?t.insertBefore(n,s):t.appendChild(n)})}function Ua(){Re.forEach(function(e){e!==_t&&e.parentNode&&e.parentNode.removeChild(e)})}Oe.mount(new iq);Oe.mount(Um,Hm);const dq=Object.freeze(Object.defineProperty({__proto__:null,MultiDrag:uq,Sortable:Oe,Swap:aq,default:Oe},Symbol.toStringTag,{value:"Module"})),mq=By(dq);(function(e,t){(function(r,s){e.exports=s(Zv,mq)})(typeof self<"u"?self:un,function(n,r){return function(s){var o={};function i(a){if(o[a])return o[a].exports;var l=o[a]={i:a,l:!1,exports:{}};return s[a].call(l.exports,l,l.exports,i),l.l=!0,l.exports}return i.m=s,i.c=o,i.d=function(a,l,c){i.o(a,l)||Object.defineProperty(a,l,{enumerable:!0,get:c})},i.r=function(a){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(a,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(a,"__esModule",{value:!0})},i.t=function(a,l){if(l&1&&(a=i(a)),l&8||l&4&&typeof a=="object"&&a&&a.__esModule)return a;var c=Object.create(null);if(i.r(c),Object.defineProperty(c,"default",{enumerable:!0,value:a}),l&2&&typeof a!="string")for(var d in a)i.d(c,d,(function(m){return a[m]}).bind(null,d));return c},i.n=function(a){var l=a&&a.__esModule?function(){return a.default}:function(){return a};return i.d(l,"a",l),l},i.o=function(a,l){return Object.prototype.hasOwnProperty.call(a,l)},i.p="",i(i.s="fb15")}({"00ee":function(s,o,i){var a=i("b622"),l=a("toStringTag"),c={};c[l]="z",s.exports=String(c)==="[object z]"},"0366":function(s,o,i){var a=i("1c0b");s.exports=function(l,c,d){if(a(l),c===void 0)return l;switch(d){case 0:return function(){return l.call(c)};case 1:return function(m){return l.call(c,m)};case 2:return function(m,f){return l.call(c,m,f)};case 3:return function(m,f,p){return l.call(c,m,f,p)}}return function(){return l.apply(c,arguments)}}},"057f":function(s,o,i){var a=i("fc6a"),l=i("241c").f,c={}.toString,d=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],m=function(f){try{return l(f)}catch{return d.slice()}};s.exports.f=function(p){return d&&c.call(p)=="[object Window]"?m(p):l(a(p))}},"06cf":function(s,o,i){var a=i("83ab"),l=i("d1e7"),c=i("5c6c"),d=i("fc6a"),m=i("c04e"),f=i("5135"),p=i("0cfb"),h=Object.getOwnPropertyDescriptor;o.f=a?h:function(b,C){if(b=d(b),C=m(C,!0),p)try{return h(b,C)}catch{}if(f(b,C))return c(!l.f.call(b,C),b[C])}},"0cfb":function(s,o,i){var a=i("83ab"),l=i("d039"),c=i("cc12");s.exports=!a&&!l(function(){return Object.defineProperty(c("div"),"a",{get:function(){return 7}}).a!=7})},"13d5":function(s,o,i){var a=i("23e7"),l=i("d58f").left,c=i("a640"),d=i("ae40"),m=c("reduce"),f=d("reduce",{1:0});a({target:"Array",proto:!0,forced:!m||!f},{reduce:function(h){return l(this,h,arguments.length,arguments.length>1?arguments[1]:void 0)}})},"14c3":function(s,o,i){var a=i("c6b6"),l=i("9263");s.exports=function(c,d){var m=c.exec;if(typeof m=="function"){var f=m.call(c,d);if(typeof f!="object")throw TypeError("RegExp exec method returned something other than an Object or null");return f}if(a(c)!=="RegExp")throw TypeError("RegExp#exec called on incompatible receiver");return l.call(c,d)}},"159b":function(s,o,i){var a=i("da84"),l=i("fdbc"),c=i("17c2"),d=i("9112");for(var m in l){var f=a[m],p=f&&f.prototype;if(p&&p.forEach!==c)try{d(p,"forEach",c)}catch{p.forEach=c}}},"17c2":function(s,o,i){var a=i("b727").forEach,l=i("a640"),c=i("ae40"),d=l("forEach"),m=c("forEach");s.exports=!d||!m?function(p){return a(this,p,arguments.length>1?arguments[1]:void 0)}:[].forEach},"1be4":function(s,o,i){var a=i("d066");s.exports=a("document","documentElement")},"1c0b":function(s,o){s.exports=function(i){if(typeof i!="function")throw TypeError(String(i)+" is not a function");return i}},"1c7e":function(s,o,i){var a=i("b622"),l=a("iterator"),c=!1;try{var d=0,m={next:function(){return{done:!!d++}},return:function(){c=!0}};m[l]=function(){return this},Array.from(m,function(){throw 2})}catch{}s.exports=function(f,p){if(!p&&!c)return!1;var h=!1;try{var _={};_[l]=function(){return{next:function(){return{done:h=!0}}}},f(_)}catch{}return h}},"1d80":function(s,o){s.exports=function(i){if(i==null)throw TypeError("Can't call method on "+i);return i}},"1dde":function(s,o,i){var a=i("d039"),l=i("b622"),c=i("2d00"),d=l("species");s.exports=function(m){return c>=51||!a(function(){var f=[],p=f.constructor={};return p[d]=function(){return{foo:1}},f[m](Boolean).foo!==1})}},"23cb":function(s,o,i){var a=i("a691"),l=Math.max,c=Math.min;s.exports=function(d,m){var f=a(d);return f<0?l(f+m,0):c(f,m)}},"23e7":function(s,o,i){var a=i("da84"),l=i("06cf").f,c=i("9112"),d=i("6eeb"),m=i("ce4e"),f=i("e893"),p=i("94ca");s.exports=function(h,_){var b=h.target,C=h.global,w=h.stat,v,z,S,x,N,D;if(C?z=a:w?z=a[b]||m(b,{}):z=(a[b]||{}).prototype,z)for(S in _){if(N=_[S],h.noTargetGet?(D=l(z,S),x=D&&D.value):x=z[S],v=p(C?S:b+(w?".":"#")+S,h.forced),!v&&x!==void 0){if(typeof N==typeof x)continue;f(N,x)}(h.sham||x&&x.sham)&&c(N,"sham",!0),d(z,S,N,h)}}},"241c":function(s,o,i){var a=i("ca84"),l=i("7839"),c=l.concat("length","prototype");o.f=Object.getOwnPropertyNames||function(m){return a(m,c)}},"25f0":function(s,o,i){var a=i("6eeb"),l=i("825a"),c=i("d039"),d=i("ad6d"),m="toString",f=RegExp.prototype,p=f[m],h=c(function(){return p.call({source:"a",flags:"b"})!="/a/b"}),_=p.name!=m;(h||_)&&a(RegExp.prototype,m,function(){var C=l(this),w=String(C.source),v=C.flags,z=String(v===void 0&&C instanceof RegExp&&!("flags"in f)?d.call(C):v);return"/"+w+"/"+z},{unsafe:!0})},"2ca0":function(s,o,i){var a=i("23e7"),l=i("06cf").f,c=i("50c4"),d=i("5a34"),m=i("1d80"),f=i("ab13"),p=i("c430"),h="".startsWith,_=Math.min,b=f("startsWith"),C=!p&&!b&&!!function(){var w=l(String.prototype,"startsWith");return w&&!w.writable}();a({target:"String",proto:!0,forced:!C&&!b},{startsWith:function(v){var z=String(m(this));d(v);var S=c(_(arguments.length>1?arguments[1]:void 0,z.length)),x=String(v);return h?h.call(z,x,S):z.slice(S,S+x.length)===x}})},"2d00":function(s,o,i){var a=i("da84"),l=i("342f"),c=a.process,d=c&&c.versions,m=d&&d.v8,f,p;m?(f=m.split("."),p=f[0]+f[1]):l&&(f=l.match(/Edge\/(\d+)/),(!f||f[1]>=74)&&(f=l.match(/Chrome\/(\d+)/),f&&(p=f[1]))),s.exports=p&&+p},"342f":function(s,o,i){var a=i("d066");s.exports=a("navigator","userAgent")||""},"35a1":function(s,o,i){var a=i("f5df"),l=i("3f8c"),c=i("b622"),d=c("iterator");s.exports=function(m){if(m!=null)return m[d]||m["@@iterator"]||l[a(m)]}},"37e8":function(s,o,i){var a=i("83ab"),l=i("9bf2"),c=i("825a"),d=i("df75");s.exports=a?Object.defineProperties:function(f,p){c(f);for(var h=d(p),_=h.length,b=0,C;_>b;)l.f(f,C=h[b++],p[C]);return f}},"3bbe":function(s,o,i){var a=i("861d");s.exports=function(l){if(!a(l)&&l!==null)throw TypeError("Can't set "+String(l)+" as a prototype");return l}},"3ca3":function(s,o,i){var a=i("6547").charAt,l=i("69f3"),c=i("7dd0"),d="String Iterator",m=l.set,f=l.getterFor(d);c(String,"String",function(p){m(this,{type:d,string:String(p),index:0})},function(){var h=f(this),_=h.string,b=h.index,C;return b>=_.length?{value:void 0,done:!0}:(C=a(_,b),h.index+=C.length,{value:C,done:!1})})},"3f8c":function(s,o){s.exports={}},4160:function(s,o,i){var a=i("23e7"),l=i("17c2");a({target:"Array",proto:!0,forced:[].forEach!=l},{forEach:l})},"428f":function(s,o,i){var a=i("da84");s.exports=a},"44ad":function(s,o,i){var a=i("d039"),l=i("c6b6"),c="".split;s.exports=a(function(){return!Object("z").propertyIsEnumerable(0)})?function(d){return l(d)=="String"?c.call(d,""):Object(d)}:Object},"44d2":function(s,o,i){var a=i("b622"),l=i("7c73"),c=i("9bf2"),d=a("unscopables"),m=Array.prototype;m[d]==null&&c.f(m,d,{configurable:!0,value:l(null)}),s.exports=function(f){m[d][f]=!0}},"44e7":function(s,o,i){var a=i("861d"),l=i("c6b6"),c=i("b622"),d=c("match");s.exports=function(m){var f;return a(m)&&((f=m[d])!==void 0?!!f:l(m)=="RegExp")}},4930:function(s,o,i){var a=i("d039");s.exports=!!Object.getOwnPropertySymbols&&!a(function(){return!String(Symbol())})},"4d64":function(s,o,i){var a=i("fc6a"),l=i("50c4"),c=i("23cb"),d=function(m){return function(f,p,h){var _=a(f),b=l(_.length),C=c(h,b),w;if(m&&p!=p){for(;b>C;)if(w=_[C++],w!=w)return!0}else for(;b>C;C++)if((m||C in _)&&_[C]===p)return m||C||0;return!m&&-1}};s.exports={includes:d(!0),indexOf:d(!1)}},"4de4":function(s,o,i){var a=i("23e7"),l=i("b727").filter,c=i("1dde"),d=i("ae40"),m=c("filter"),f=d("filter");a({target:"Array",proto:!0,forced:!m||!f},{filter:function(h){return l(this,h,arguments.length>1?arguments[1]:void 0)}})},"4df4":function(s,o,i){var a=i("0366"),l=i("7b0b"),c=i("9bdd"),d=i("e95a"),m=i("50c4"),f=i("8418"),p=i("35a1");s.exports=function(_){var b=l(_),C=typeof this=="function"?this:Array,w=arguments.length,v=w>1?arguments[1]:void 0,z=v!==void 0,S=p(b),x=0,N,D,P,L,Z,B;if(z&&(v=a(v,w>2?arguments[2]:void 0,2)),S!=null&&!(C==Array&&d(S)))for(L=S.call(b),Z=L.next,D=new C;!(P=Z.call(L)).done;x++)B=z?c(L,v,[P.value,x],!0):P.value,f(D,x,B);else for(N=m(b.length),D=new C(N);N>x;x++)B=z?v(b[x],x):b[x],f(D,x,B);return D.length=x,D}},"4fad":function(s,o,i){var a=i("23e7"),l=i("6f53").entries;a({target:"Object",stat:!0},{entries:function(d){return l(d)}})},"50c4":function(s,o,i){var a=i("a691"),l=Math.min;s.exports=function(c){return c>0?l(a(c),9007199254740991):0}},5135:function(s,o){var i={}.hasOwnProperty;s.exports=function(a,l){return i.call(a,l)}},5319:function(s,o,i){var a=i("d784"),l=i("825a"),c=i("7b0b"),d=i("50c4"),m=i("a691"),f=i("1d80"),p=i("8aa5"),h=i("14c3"),_=Math.max,b=Math.min,C=Math.floor,w=/\$([$&'`]|\d\d?|<[^>]*>)/g,v=/\$([$&'`]|\d\d?)/g,z=function(S){return S===void 0?S:String(S)};a("replace",2,function(S,x,N,D){var P=D.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,L=D.REPLACE_KEEPS_$0,Z=P?"$":"$0";return[function(X,pe){var G=f(this),re=X==null?void 0:X[S];return re!==void 0?re.call(X,G,pe):x.call(String(G),X,pe)},function(q,X){if(!P&&L||typeof X=="string"&&X.indexOf(Z)===-1){var pe=N(x,q,this,X);if(pe.done)return pe.value}var G=l(q),re=String(this),oe=typeof X=="function";oe||(X=String(X));var Be=G.global;if(Be){var Je=G.unicode;G.lastIndex=0}for(var We=[];;){var Ue=h(G,re);if(Ue===null||(We.push(Ue),!Be))break;var dt=String(Ue[0]);dt===""&&(G.lastIndex=p(re,d(G.lastIndex),Je))}for(var pt="",ht=0,Ne=0;Ne<We.length;Ne++){Ue=We[Ne];for(var W=String(Ue[0]),ue=_(b(m(Ue.index),re.length),0),ie=[],ge=1;ge<Ue.length;ge++)ie.push(z(Ue[ge]));var Ve=Ue.groups;if(oe){var Ke=[W].concat(ie,ue,re);Ve!==void 0&&Ke.push(Ve);var A=String(X.apply(void 0,Ke))}else A=B(W,re,ue,ie,Ve,X);ue>=ht&&(pt+=re.slice(ht,ue)+A,ht=ue+W.length)}return pt+re.slice(ht)}];function B(q,X,pe,G,re,oe){var Be=pe+q.length,Je=G.length,We=v;return re!==void 0&&(re=c(re),We=w),x.call(oe,We,function(Ue,dt){var pt;switch(dt.charAt(0)){case"$":return"$";case"&":return q;case"`":return X.slice(0,pe);case"'":return X.slice(Be);case"<":pt=re[dt.slice(1,-1)];break;default:var ht=+dt;if(ht===0)return Ue;if(ht>Je){var Ne=C(ht/10);return Ne===0?Ue:Ne<=Je?G[Ne-1]===void 0?dt.charAt(1):G[Ne-1]+dt.charAt(1):Ue}pt=G[ht-1]}return pt===void 0?"":pt})}})},5692:function(s,o,i){var a=i("c430"),l=i("c6cd");(s.exports=function(c,d){return l[c]||(l[c]=d!==void 0?d:{})})("versions",[]).push({version:"3.6.5",mode:a?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},"56ef":function(s,o,i){var a=i("d066"),l=i("241c"),c=i("7418"),d=i("825a");s.exports=a("Reflect","ownKeys")||function(f){var p=l.f(d(f)),h=c.f;return h?p.concat(h(f)):p}},"5a34":function(s,o,i){var a=i("44e7");s.exports=function(l){if(a(l))throw TypeError("The method doesn't accept regular expressions");return l}},"5c6c":function(s,o){s.exports=function(i,a){return{enumerable:!(i&1),configurable:!(i&2),writable:!(i&4),value:a}}},"5db7":function(s,o,i){var a=i("23e7"),l=i("a2bf"),c=i("7b0b"),d=i("50c4"),m=i("1c0b"),f=i("65f0");a({target:"Array",proto:!0},{flatMap:function(h){var _=c(this),b=d(_.length),C;return m(h),C=f(_,0),C.length=l(C,_,_,b,0,1,h,arguments.length>1?arguments[1]:void 0),C}})},6547:function(s,o,i){var a=i("a691"),l=i("1d80"),c=function(d){return function(m,f){var p=String(l(m)),h=a(f),_=p.length,b,C;return h<0||h>=_?d?"":void 0:(b=p.charCodeAt(h),b<55296||b>56319||h+1===_||(C=p.charCodeAt(h+1))<56320||C>57343?d?p.charAt(h):b:d?p.slice(h,h+2):(b-55296<<10)+(C-56320)+65536)}};s.exports={codeAt:c(!1),charAt:c(!0)}},"65f0":function(s,o,i){var a=i("861d"),l=i("e8b5"),c=i("b622"),d=c("species");s.exports=function(m,f){var p;return l(m)&&(p=m.constructor,typeof p=="function"&&(p===Array||l(p.prototype))?p=void 0:a(p)&&(p=p[d],p===null&&(p=void 0))),new(p===void 0?Array:p)(f===0?0:f)}},"69f3":function(s,o,i){var a=i("7f9a"),l=i("da84"),c=i("861d"),d=i("9112"),m=i("5135"),f=i("f772"),p=i("d012"),h=l.WeakMap,_,b,C,w=function(P){return C(P)?b(P):_(P,{})},v=function(P){return function(L){var Z;if(!c(L)||(Z=b(L)).type!==P)throw TypeError("Incompatible receiver, "+P+" required");return Z}};if(a){var z=new h,S=z.get,x=z.has,N=z.set;_=function(P,L){return N.call(z,P,L),L},b=function(P){return S.call(z,P)||{}},C=function(P){return x.call(z,P)}}else{var D=f("state");p[D]=!0,_=function(P,L){return d(P,D,L),L},b=function(P){return m(P,D)?P[D]:{}},C=function(P){return m(P,D)}}s.exports={set:_,get:b,has:C,enforce:w,getterFor:v}},"6eeb":function(s,o,i){var a=i("da84"),l=i("9112"),c=i("5135"),d=i("ce4e"),m=i("8925"),f=i("69f3"),p=f.get,h=f.enforce,_=String(String).split("String");(s.exports=function(b,C,w,v){var z=v?!!v.unsafe:!1,S=v?!!v.enumerable:!1,x=v?!!v.noTargetGet:!1;if(typeof w=="function"&&(typeof C=="string"&&!c(w,"name")&&l(w,"name",C),h(w).source=_.join(typeof C=="string"?C:"")),b===a){S?b[C]=w:d(C,w);return}else z?!x&&b[C]&&(S=!0):delete b[C];S?b[C]=w:l(b,C,w)})(Function.prototype,"toString",function(){return typeof this=="function"&&p(this).source||m(this)})},"6f53":function(s,o,i){var a=i("83ab"),l=i("df75"),c=i("fc6a"),d=i("d1e7").f,m=function(f){return function(p){for(var h=c(p),_=l(h),b=_.length,C=0,w=[],v;b>C;)v=_[C++],(!a||d.call(h,v))&&w.push(f?[v,h[v]]:h[v]);return w}};s.exports={entries:m(!0),values:m(!1)}},"73d9":function(s,o,i){var a=i("44d2");a("flatMap")},7418:function(s,o){o.f=Object.getOwnPropertySymbols},"746f":function(s,o,i){var a=i("428f"),l=i("5135"),c=i("e538"),d=i("9bf2").f;s.exports=function(m){var f=a.Symbol||(a.Symbol={});l(f,m)||d(f,m,{value:c.f(m)})}},7839:function(s,o){s.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},"7b0b":function(s,o,i){var a=i("1d80");s.exports=function(l){return Object(a(l))}},"7c73":function(s,o,i){var a=i("825a"),l=i("37e8"),c=i("7839"),d=i("d012"),m=i("1be4"),f=i("cc12"),p=i("f772"),h=">",_="<",b="prototype",C="script",w=p("IE_PROTO"),v=function(){},z=function(P){return _+C+h+P+_+"/"+C+h},S=function(P){P.write(z("")),P.close();var L=P.parentWindow.Object;return P=null,L},x=function(){var P=f("iframe"),L="java"+C+":",Z;return P.style.display="none",m.appendChild(P),P.src=String(L),Z=P.contentWindow.document,Z.open(),Z.write(z("document.F=Object")),Z.close(),Z.F},N,D=function(){try{N=document.domain&&new ActiveXObject("htmlfile")}catch{}D=N?S(N):x();for(var P=c.length;P--;)delete D[b][c[P]];return D()};d[w]=!0,s.exports=Object.create||function(L,Z){var B;return L!==null?(v[b]=a(L),B=new v,v[b]=null,B[w]=L):B=D(),Z===void 0?B:l(B,Z)}},"7dd0":function(s,o,i){var a=i("23e7"),l=i("9ed3"),c=i("e163"),d=i("d2bb"),m=i("d44e"),f=i("9112"),p=i("6eeb"),h=i("b622"),_=i("c430"),b=i("3f8c"),C=i("ae93"),w=C.IteratorPrototype,v=C.BUGGY_SAFARI_ITERATORS,z=h("iterator"),S="keys",x="values",N="entries",D=function(){return this};s.exports=function(P,L,Z,B,q,X,pe){l(Z,L,B);var G=function(Ne){if(Ne===q&&We)return We;if(!v&&Ne in Be)return Be[Ne];switch(Ne){case S:return function(){return new Z(this,Ne)};case x:return function(){return new Z(this,Ne)};case N:return function(){return new Z(this,Ne)}}return function(){return new Z(this)}},re=L+" Iterator",oe=!1,Be=P.prototype,Je=Be[z]||Be["@@iterator"]||q&&Be[q],We=!v&&Je||G(q),Ue=L=="Array"&&Be.entries||Je,dt,pt,ht;if(Ue&&(dt=c(Ue.call(new P)),w!==Object.prototype&&dt.next&&(!_&&c(dt)!==w&&(d?d(dt,w):typeof dt[z]!="function"&&f(dt,z,D)),m(dt,re,!0,!0),_&&(b[re]=D))),q==x&&Je&&Je.name!==x&&(oe=!0,We=function(){return Je.call(this)}),(!_||pe)&&Be[z]!==We&&f(Be,z,We),b[L]=We,q)if(pt={values:G(x),keys:X?We:G(S),entries:G(N)},pe)for(ht in pt)(v||oe||!(ht in Be))&&p(Be,ht,pt[ht]);else a({target:L,proto:!0,forced:v||oe},pt);return pt}},"7f9a":function(s,o,i){var a=i("da84"),l=i("8925"),c=a.WeakMap;s.exports=typeof c=="function"&&/native code/.test(l(c))},"825a":function(s,o,i){var a=i("861d");s.exports=function(l){if(!a(l))throw TypeError(String(l)+" is not an object");return l}},"83ab":function(s,o,i){var a=i("d039");s.exports=!a(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})},8418:function(s,o,i){var a=i("c04e"),l=i("9bf2"),c=i("5c6c");s.exports=function(d,m,f){var p=a(m);p in d?l.f(d,p,c(0,f)):d[p]=f}},"861d":function(s,o){s.exports=function(i){return typeof i=="object"?i!==null:typeof i=="function"}},8875:function(s,o,i){var a,l,c;(function(d,m){l=[],a=m,c=typeof a=="function"?a.apply(o,l):a,c!==void 0&&(s.exports=c)})(typeof self<"u"?self:this,function(){function d(){var m=Object.getOwnPropertyDescriptor(document,"currentScript");if(!m&&"currentScript"in document&&document.currentScript||m&&m.get!==d&&document.currentScript)return document.currentScript;try{throw new Error}catch(N){var f=/.*at [^(]*\((.*):(.+):(.+)\)$/ig,p=/@([^@]*):(\d+):(\d+)\s*$/ig,h=f.exec(N.stack)||p.exec(N.stack),_=h&&h[1]||!1,b=h&&h[2]||!1,C=document.location.href.replace(document.location.hash,""),w,v,z,S=document.getElementsByTagName("script");_===C&&(w=document.documentElement.outerHTML,v=new RegExp("(?:[^\\n]+?\\n){0,"+(b-2)+"}[^<]*<script>([\\d\\D]*?)<\\/script>[\\d\\D]*","i"),z=w.replace(v,"$1").trim());for(var x=0;x<S.length;x++)if(S[x].readyState==="interactive"||S[x].src===_||_===C&&S[x].innerHTML&&S[x].innerHTML.trim()===z)return S[x];return null}}return d})},8925:function(s,o,i){var a=i("c6cd"),l=Function.toString;typeof a.inspectSource!="function"&&(a.inspectSource=function(c){return l.call(c)}),s.exports=a.inspectSource},"8aa5":function(s,o,i){var a=i("6547").charAt;s.exports=function(l,c,d){return c+(d?a(l,c).length:1)}},"8bbf":function(s,o){s.exports=n},"90e3":function(s,o){var i=0,a=Math.random();s.exports=function(l){return"Symbol("+String(l===void 0?"":l)+")_"+(++i+a).toString(36)}},9112:function(s,o,i){var a=i("83ab"),l=i("9bf2"),c=i("5c6c");s.exports=a?function(d,m,f){return l.f(d,m,c(1,f))}:function(d,m,f){return d[m]=f,d}},9263:function(s,o,i){var a=i("ad6d"),l=i("9f7f"),c=RegExp.prototype.exec,d=String.prototype.replace,m=c,f=function(){var b=/a/,C=/b*/g;return c.call(b,"a"),c.call(C,"a"),b.lastIndex!==0||C.lastIndex!==0}(),p=l.UNSUPPORTED_Y||l.BROKEN_CARET,h=/()??/.exec("")[1]!==void 0,_=f||h||p;_&&(m=function(C){var w=this,v,z,S,x,N=p&&w.sticky,D=a.call(w),P=w.source,L=0,Z=C;return N&&(D=D.replace("y",""),D.indexOf("g")===-1&&(D+="g"),Z=String(C).slice(w.lastIndex),w.lastIndex>0&&(!w.multiline||w.multiline&&C[w.lastIndex-1]!==`
`)&&(P="(?: "+P+")",Z=" "+Z,L++),z=new RegExp("^(?:"+P+")",D)),h&&(z=new RegExp("^"+P+"$(?!\\s)",D)),f&&(v=w.lastIndex),S=c.call(N?z:w,Z),N?S?(S.input=S.input.slice(L),S[0]=S[0].slice(L),S.index=w.lastIndex,w.lastIndex+=S[0].length):w.lastIndex=0:f&&S&&(w.lastIndex=w.global?S.index+S[0].length:v),h&&S&&S.length>1&&d.call(S[0],z,function(){for(x=1;x<arguments.length-2;x++)arguments[x]===void 0&&(S[x]=void 0)}),S}),s.exports=m},"94ca":function(s,o,i){var a=i("d039"),l=/#|\.prototype\./,c=function(h,_){var b=m[d(h)];return b==p?!0:b==f?!1:typeof _=="function"?a(_):!!_},d=c.normalize=function(h){return String(h).replace(l,".").toLowerCase()},m=c.data={},f=c.NATIVE="N",p=c.POLYFILL="P";s.exports=c},"99af":function(s,o,i){var a=i("23e7"),l=i("d039"),c=i("e8b5"),d=i("861d"),m=i("7b0b"),f=i("50c4"),p=i("8418"),h=i("65f0"),_=i("1dde"),b=i("b622"),C=i("2d00"),w=b("isConcatSpreadable"),v=9007199254740991,z="Maximum allowed index exceeded",S=C>=51||!l(function(){var P=[];return P[w]=!1,P.concat()[0]!==P}),x=_("concat"),N=function(P){if(!d(P))return!1;var L=P[w];return L!==void 0?!!L:c(P)},D=!S||!x;a({target:"Array",proto:!0,forced:D},{concat:function(L){var Z=m(this),B=h(Z,0),q=0,X,pe,G,re,oe;for(X=-1,G=arguments.length;X<G;X++)if(oe=X===-1?Z:arguments[X],N(oe)){if(re=f(oe.length),q+re>v)throw TypeError(z);for(pe=0;pe<re;pe++,q++)pe in oe&&p(B,q,oe[pe])}else{if(q>=v)throw TypeError(z);p(B,q++,oe)}return B.length=q,B}})},"9bdd":function(s,o,i){var a=i("825a");s.exports=function(l,c,d,m){try{return m?c(a(d)[0],d[1]):c(d)}catch(p){var f=l.return;throw f!==void 0&&a(f.call(l)),p}}},"9bf2":function(s,o,i){var a=i("83ab"),l=i("0cfb"),c=i("825a"),d=i("c04e"),m=Object.defineProperty;o.f=a?m:function(p,h,_){if(c(p),h=d(h,!0),c(_),l)try{return m(p,h,_)}catch{}if("get"in _||"set"in _)throw TypeError("Accessors not supported");return"value"in _&&(p[h]=_.value),p}},"9ed3":function(s,o,i){var a=i("ae93").IteratorPrototype,l=i("7c73"),c=i("5c6c"),d=i("d44e"),m=i("3f8c"),f=function(){return this};s.exports=function(p,h,_){var b=h+" Iterator";return p.prototype=l(a,{next:c(1,_)}),d(p,b,!1,!0),m[b]=f,p}},"9f7f":function(s,o,i){var a=i("d039");function l(c,d){return RegExp(c,d)}o.UNSUPPORTED_Y=a(function(){var c=l("a","y");return c.lastIndex=2,c.exec("abcd")!=null}),o.BROKEN_CARET=a(function(){var c=l("^r","gy");return c.lastIndex=2,c.exec("str")!=null})},a2bf:function(s,o,i){var a=i("e8b5"),l=i("50c4"),c=i("0366"),d=function(m,f,p,h,_,b,C,w){for(var v=_,z=0,S=C?c(C,w,3):!1,x;z<h;){if(z in p){if(x=S?S(p[z],z,f):p[z],b>0&&a(x))v=d(m,f,x,l(x.length),v,b-1)-1;else{if(v>=9007199254740991)throw TypeError("Exceed the acceptable array length");m[v]=x}v++}z++}return v};s.exports=d},a352:function(s,o){s.exports=r},a434:function(s,o,i){var a=i("23e7"),l=i("23cb"),c=i("a691"),d=i("50c4"),m=i("7b0b"),f=i("65f0"),p=i("8418"),h=i("1dde"),_=i("ae40"),b=h("splice"),C=_("splice",{ACCESSORS:!0,0:0,1:2}),w=Math.max,v=Math.min,z=9007199254740991,S="Maximum allowed length exceeded";a({target:"Array",proto:!0,forced:!b||!C},{splice:function(N,D){var P=m(this),L=d(P.length),Z=l(N,L),B=arguments.length,q,X,pe,G,re,oe;if(B===0?q=X=0:B===1?(q=0,X=L-Z):(q=B-2,X=v(w(c(D),0),L-Z)),L+q-X>z)throw TypeError(S);for(pe=f(P,X),G=0;G<X;G++)re=Z+G,re in P&&p(pe,G,P[re]);if(pe.length=X,q<X){for(G=Z;G<L-X;G++)re=G+X,oe=G+q,re in P?P[oe]=P[re]:delete P[oe];for(G=L;G>L-X+q;G--)delete P[G-1]}else if(q>X)for(G=L-X;G>Z;G--)re=G+X-1,oe=G+q-1,re in P?P[oe]=P[re]:delete P[oe];for(G=0;G<q;G++)P[G+Z]=arguments[G+2];return P.length=L-X+q,pe}})},a4d3:function(s,o,i){var a=i("23e7"),l=i("da84"),c=i("d066"),d=i("c430"),m=i("83ab"),f=i("4930"),p=i("fdbf"),h=i("d039"),_=i("5135"),b=i("e8b5"),C=i("861d"),w=i("825a"),v=i("7b0b"),z=i("fc6a"),S=i("c04e"),x=i("5c6c"),N=i("7c73"),D=i("df75"),P=i("241c"),L=i("057f"),Z=i("7418"),B=i("06cf"),q=i("9bf2"),X=i("d1e7"),pe=i("9112"),G=i("6eeb"),re=i("5692"),oe=i("f772"),Be=i("d012"),Je=i("90e3"),We=i("b622"),Ue=i("e538"),dt=i("746f"),pt=i("d44e"),ht=i("69f3"),Ne=i("b727").forEach,W=oe("hidden"),ue="Symbol",ie="prototype",ge=We("toPrimitive"),Ve=ht.set,Ke=ht.getterFor(ue),A=Object[ie],O=l.Symbol,H=c("JSON","stringify"),Y=B.f,K=q.f,ae=L.f,de=X.f,ne=re("symbols"),le=re("op-symbols"),Q=re("string-to-symbol-registry"),he=re("symbol-to-string-registry"),me=re("wks"),R=l.QObject,j=!R||!R[ie]||!R[ie].findChild,ye=m&&h(function(){return N(K({},"a",{get:function(){return K(this,"a",{value:7}).a}})).a!=7})?function(Te,xe,Ae){var Ze=Y(A,xe);Ze&&delete A[xe],K(Te,xe,Ae),Ze&&Te!==A&&K(A,xe,Ze)}:K,Se=function(Te,xe){var Ae=ne[Te]=N(O[ie]);return Ve(Ae,{type:ue,tag:Te,description:xe}),m||(Ae.description=xe),Ae},I=p?function(Te){return typeof Te=="symbol"}:function(Te){return Object(Te)instanceof O},F=function(xe,Ae,Ze){xe===A&&F(le,Ae,Ze),w(xe);var tt=S(Ae,!0);return w(Ze),_(ne,tt)?(Ze.enumerable?(_(xe,W)&&xe[W][tt]&&(xe[W][tt]=!1),Ze=N(Ze,{enumerable:x(0,!1)})):(_(xe,W)||K(xe,W,x(1,{})),xe[W][tt]=!0),ye(xe,tt,Ze)):K(xe,tt,Ze)},U=function(xe,Ae){w(xe);var Ze=z(Ae),tt=D(Ze).concat(Ie(Ze));return Ne(tt,function(Qt){(!m||be.call(Ze,Qt))&&F(xe,Qt,Ze[Qt])}),xe},ee=function(xe,Ae){return Ae===void 0?N(xe):U(N(xe),Ae)},be=function(xe){var Ae=S(xe,!0),Ze=de.call(this,Ae);return this===A&&_(ne,Ae)&&!_(le,Ae)?!1:Ze||!_(this,Ae)||!_(ne,Ae)||_(this,W)&&this[W][Ae]?Ze:!0},$e=function(xe,Ae){var Ze=z(xe),tt=S(Ae,!0);if(!(Ze===A&&_(ne,tt)&&!_(le,tt))){var Qt=Y(Ze,tt);return Qt&&_(ne,tt)&&!(_(Ze,W)&&Ze[W][tt])&&(Qt.enumerable=!0),Qt}},Fe=function(xe){var Ae=ae(z(xe)),Ze=[];return Ne(Ae,function(tt){!_(ne,tt)&&!_(Be,tt)&&Ze.push(tt)}),Ze},Ie=function(xe){var Ae=xe===A,Ze=ae(Ae?le:z(xe)),tt=[];return Ne(Ze,function(Qt){_(ne,Qt)&&(!Ae||_(A,Qt))&&tt.push(ne[Qt])}),tt};if(f||(O=function(){if(this instanceof O)throw TypeError("Symbol is not a constructor");var xe=!arguments.length||arguments[0]===void 0?void 0:String(arguments[0]),Ae=Je(xe),Ze=function(tt){this===A&&Ze.call(le,tt),_(this,W)&&_(this[W],Ae)&&(this[W][Ae]=!1),ye(this,Ae,x(1,tt))};return m&&j&&ye(A,Ae,{configurable:!0,set:Ze}),Se(Ae,xe)},G(O[ie],"toString",function(){return Ke(this).tag}),G(O,"withoutSetter",function(Te){return Se(Je(Te),Te)}),X.f=be,q.f=F,B.f=$e,P.f=L.f=Fe,Z.f=Ie,Ue.f=function(Te){return Se(We(Te),Te)},m&&(K(O[ie],"description",{configurable:!0,get:function(){return Ke(this).description}}),d||G(A,"propertyIsEnumerable",be,{unsafe:!0}))),a({global:!0,wrap:!0,forced:!f,sham:!f},{Symbol:O}),Ne(D(me),function(Te){dt(Te)}),a({target:ue,stat:!0,forced:!f},{for:function(Te){var xe=String(Te);if(_(Q,xe))return Q[xe];var Ae=O(xe);return Q[xe]=Ae,he[Ae]=xe,Ae},keyFor:function(xe){if(!I(xe))throw TypeError(xe+" is not a symbol");if(_(he,xe))return he[xe]},useSetter:function(){j=!0},useSimple:function(){j=!1}}),a({target:"Object",stat:!0,forced:!f,sham:!m},{create:ee,defineProperty:F,defineProperties:U,getOwnPropertyDescriptor:$e}),a({target:"Object",stat:!0,forced:!f},{getOwnPropertyNames:Fe,getOwnPropertySymbols:Ie}),a({target:"Object",stat:!0,forced:h(function(){Z.f(1)})},{getOwnPropertySymbols:function(xe){return Z.f(v(xe))}}),H){var rt=!f||h(function(){var Te=O();return H([Te])!="[null]"||H({a:Te})!="{}"||H(Object(Te))!="{}"});a({target:"JSON",stat:!0,forced:rt},{stringify:function(xe,Ae,Ze){for(var tt=[xe],Qt=1,gu;arguments.length>Qt;)tt.push(arguments[Qt++]);if(gu=Ae,!(!C(Ae)&&xe===void 0||I(xe)))return b(Ae)||(Ae=function(hb,Mi){if(typeof gu=="function"&&(Mi=gu.call(this,hb,Mi)),!I(Mi))return Mi}),tt[1]=Ae,H.apply(null,tt)}})}O[ie][ge]||pe(O[ie],ge,O[ie].valueOf),pt(O,ue),Be[W]=!0},a630:function(s,o,i){var a=i("23e7"),l=i("4df4"),c=i("1c7e"),d=!c(function(m){Array.from(m)});a({target:"Array",stat:!0,forced:d},{from:l})},a640:function(s,o,i){var a=i("d039");s.exports=function(l,c){var d=[][l];return!!d&&a(function(){d.call(null,c||function(){throw 1},1)})}},a691:function(s,o){var i=Math.ceil,a=Math.floor;s.exports=function(l){return isNaN(l=+l)?0:(l>0?a:i)(l)}},ab13:function(s,o,i){var a=i("b622"),l=a("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,i){var a=i("23e7"),l=i("9263");a({target:"RegExp",proto:!0,forced:/./.exec!==l},{exec:l})},ad6d:function(s,o,i){var a=i("825a");s.exports=function(){var l=a(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,i){var a=i("83ab"),l=i("d039"),c=i("5135"),d=Object.defineProperty,m={},f=function(p){throw p};s.exports=function(p,h){if(c(m,p))return m[p];h||(h={});var _=[][p],b=c(h,"ACCESSORS")?h.ACCESSORS:!1,C=c(h,0)?h[0]:f,w=c(h,1)?h[1]:void 0;return m[p]=!!_&&!l(function(){if(b&&!a)return!0;var v={length:-1};b?d(v,1,{enumerable:!0,get:f}):v[1]=1,_.call(v,C,w)})}},ae93:function(s,o,i){var a=i("e163"),l=i("9112"),c=i("5135"),d=i("b622"),m=i("c430"),f=d("iterator"),p=!1,h=function(){return this},_,b,C;[].keys&&(C=[].keys(),"next"in C?(b=a(a(C)),b!==Object.prototype&&(_=b)):p=!0),_==null&&(_={}),!m&&!c(_,f)&&l(_,f,h),s.exports={IteratorPrototype:_,BUGGY_SAFARI_ITERATORS:p}},b041:function(s,o,i){var a=i("00ee"),l=i("f5df");s.exports=a?{}.toString:function(){return"[object "+l(this)+"]"}},b0c0:function(s,o,i){var a=i("83ab"),l=i("9bf2").f,c=Function.prototype,d=c.toString,m=/^\s*function ([^ (]*)/,f="name";a&&!(f in c)&&l(c,f,{configurable:!0,get:function(){try{return d.call(this).match(m)[1]}catch{return""}}})},b622:function(s,o,i){var a=i("da84"),l=i("5692"),c=i("5135"),d=i("90e3"),m=i("4930"),f=i("fdbf"),p=l("wks"),h=a.Symbol,_=f?h:h&&h.withoutSetter||d;s.exports=function(b){return c(p,b)||(m&&c(h,b)?p[b]=h[b]:p[b]=_("Symbol."+b)),p[b]}},b64b:function(s,o,i){var a=i("23e7"),l=i("7b0b"),c=i("df75"),d=i("d039"),m=d(function(){c(1)});a({target:"Object",stat:!0,forced:m},{keys:function(p){return c(l(p))}})},b727:function(s,o,i){var a=i("0366"),l=i("44ad"),c=i("7b0b"),d=i("50c4"),m=i("65f0"),f=[].push,p=function(h){var _=h==1,b=h==2,C=h==3,w=h==4,v=h==6,z=h==5||v;return function(S,x,N,D){for(var P=c(S),L=l(P),Z=a(x,N,3),B=d(L.length),q=0,X=D||m,pe=_?X(S,B):b?X(S,0):void 0,G,re;B>q;q++)if((z||q in L)&&(G=L[q],re=Z(G,q,P),h)){if(_)pe[q]=re;else if(re)switch(h){case 3:return!0;case 5:return G;case 6:return q;case 2:f.call(pe,G)}else if(w)return!1}return v?-1:C||w?w:pe}};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,i){var a=i("861d");s.exports=function(l,c){if(!a(l))return l;var d,m;if(c&&typeof(d=l.toString)=="function"&&!a(m=d.call(l))||typeof(d=l.valueOf)=="function"&&!a(m=d.call(l))||!c&&typeof(d=l.toString)=="function"&&!a(m=d.call(l)))return m;throw TypeError("Can't convert object to primitive value")}},c430:function(s,o){s.exports=!1},c6b6:function(s,o){var i={}.toString;s.exports=function(a){return i.call(a).slice(8,-1)}},c6cd:function(s,o,i){var a=i("da84"),l=i("ce4e"),c="__core-js_shared__",d=a[c]||l(c,{});s.exports=d},c740:function(s,o,i){var a=i("23e7"),l=i("b727").findIndex,c=i("44d2"),d=i("ae40"),m="findIndex",f=!0,p=d(m);m in[]&&Array(1)[m](function(){f=!1}),a({target:"Array",proto:!0,forced:f||!p},{findIndex:function(_){return l(this,_,arguments.length>1?arguments[1]:void 0)}}),c(m)},c8ba:function(s,o){var i;i=function(){return this}();try{i=i||new Function("return this")()}catch{typeof window=="object"&&(i=window)}s.exports=i},c975:function(s,o,i){var a=i("23e7"),l=i("4d64").indexOf,c=i("a640"),d=i("ae40"),m=[].indexOf,f=!!m&&1/[1].indexOf(1,-0)<0,p=c("indexOf"),h=d("indexOf",{ACCESSORS:!0,1:0});a({target:"Array",proto:!0,forced:f||!p||!h},{indexOf:function(b){return f?m.apply(this,arguments)||0:l(this,b,arguments.length>1?arguments[1]:void 0)}})},ca84:function(s,o,i){var a=i("5135"),l=i("fc6a"),c=i("4d64").indexOf,d=i("d012");s.exports=function(m,f){var p=l(m),h=0,_=[],b;for(b in p)!a(d,b)&&a(p,b)&&_.push(b);for(;f.length>h;)a(p,b=f[h++])&&(~c(_,b)||_.push(b));return _}},caad:function(s,o,i){var a=i("23e7"),l=i("4d64").includes,c=i("44d2"),d=i("ae40"),m=d("indexOf",{ACCESSORS:!0,1:0});a({target:"Array",proto:!0,forced:!m},{includes:function(p){return l(this,p,arguments.length>1?arguments[1]:void 0)}}),c("includes")},cc12:function(s,o,i){var a=i("da84"),l=i("861d"),c=a.document,d=l(c)&&l(c.createElement);s.exports=function(m){return d?c.createElement(m):{}}},ce4e:function(s,o,i){var a=i("da84"),l=i("9112");s.exports=function(c,d){try{l(a,c,d)}catch{a[c]=d}return d}},d012:function(s,o){s.exports={}},d039:function(s,o){s.exports=function(i){try{return!!i()}catch{return!0}}},d066:function(s,o,i){var a=i("428f"),l=i("da84"),c=function(d){return typeof d=="function"?d:void 0};s.exports=function(d,m){return arguments.length<2?c(a[d])||c(l[d]):a[d]&&a[d][m]||l[d]&&l[d][m]}},d1e7:function(s,o,i){var a={}.propertyIsEnumerable,l=Object.getOwnPropertyDescriptor,c=l&&!a.call({1:2},1);o.f=c?function(m){var f=l(this,m);return!!f&&f.enumerable}:a},d28b:function(s,o,i){var a=i("746f");a("iterator")},d2bb:function(s,o,i){var a=i("825a"),l=i("3bbe");s.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var c=!1,d={},m;try{m=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set,m.call(d,[]),c=d instanceof Array}catch{}return function(p,h){return a(p),l(h),c?m.call(p,h):p.__proto__=h,p}}():void 0)},d3b7:function(s,o,i){var a=i("00ee"),l=i("6eeb"),c=i("b041");a||l(Object.prototype,"toString",c,{unsafe:!0})},d44e:function(s,o,i){var a=i("9bf2").f,l=i("5135"),c=i("b622"),d=c("toStringTag");s.exports=function(m,f,p){m&&!l(m=p?m:m.prototype,d)&&a(m,d,{configurable:!0,value:f})}},d58f:function(s,o,i){var a=i("1c0b"),l=i("7b0b"),c=i("44ad"),d=i("50c4"),m=function(f){return function(p,h,_,b){a(h);var C=l(p),w=c(C),v=d(C.length),z=f?v-1:0,S=f?-1:1;if(_<2)for(;;){if(z in w){b=w[z],z+=S;break}if(z+=S,f?z<0:v<=z)throw TypeError("Reduce of empty array with no initial value")}for(;f?z>=0:v>z;z+=S)z in w&&(b=h(b,w[z],z,C));return b}};s.exports={left:m(!1),right:m(!0)}},d784:function(s,o,i){i("ac1f");var a=i("6eeb"),l=i("d039"),c=i("b622"),d=i("9263"),m=i("9112"),f=c("species"),p=!l(function(){var w=/./;return w.exec=function(){var v=[];return v.groups={a:"7"},v},"".replace(w,"$<a>")!=="7"}),h=function(){return"a".replace(/./,"$0")==="$0"}(),_=c("replace"),b=function(){return/./[_]?/./[_]("a","$0")==="":!1}(),C=!l(function(){var w=/(?:)/,v=w.exec;w.exec=function(){return v.apply(this,arguments)};var z="ab".split(w);return z.length!==2||z[0]!=="a"||z[1]!=="b"});s.exports=function(w,v,z,S){var x=c(w),N=!l(function(){var q={};return q[x]=function(){return 7},""[w](q)!=7}),D=N&&!l(function(){var q=!1,X=/a/;return w==="split"&&(X={},X.constructor={},X.constructor[f]=function(){return X},X.flags="",X[x]=/./[x]),X.exec=function(){return q=!0,null},X[x](""),!q});if(!N||!D||w==="replace"&&!(p&&h&&!b)||w==="split"&&!C){var P=/./[x],L=z(x,""[w],function(q,X,pe,G,re){return X.exec===d?N&&!re?{done:!0,value:P.call(X,pe,G)}:{done:!0,value:q.call(pe,X,G)}:{done:!1}},{REPLACE_KEEPS_$0:h,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:b}),Z=L[0],B=L[1];a(String.prototype,w,Z),a(RegExp.prototype,x,v==2?function(q,X){return B.call(q,this,X)}:function(q){return B.call(q,this)})}S&&m(RegExp.prototype[x],"sham",!0)}},d81d:function(s,o,i){var a=i("23e7"),l=i("b727").map,c=i("1dde"),d=i("ae40"),m=c("map"),f=d("map");a({target:"Array",proto:!0,forced:!m||!f},{map:function(h){return l(this,h,arguments.length>1?arguments[1]:void 0)}})},da84:function(s,o,i){(function(a){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 a=="object"&&a)||Function("return this")()}).call(this,i("c8ba"))},dbb4:function(s,o,i){var a=i("23e7"),l=i("83ab"),c=i("56ef"),d=i("fc6a"),m=i("06cf"),f=i("8418");a({target:"Object",stat:!0,sham:!l},{getOwnPropertyDescriptors:function(h){for(var _=d(h),b=m.f,C=c(_),w={},v=0,z,S;C.length>v;)S=b(_,z=C[v++]),S!==void 0&&f(w,z,S);return w}})},dbf1:function(s,o,i){(function(a){i.d(o,"a",function(){return c});function l(){return typeof window<"u"?window.console:a.console}var c=l()}).call(this,i("c8ba"))},ddb0:function(s,o,i){var a=i("da84"),l=i("fdbc"),c=i("e260"),d=i("9112"),m=i("b622"),f=m("iterator"),p=m("toStringTag"),h=c.values;for(var _ in l){var b=a[_],C=b&&b.prototype;if(C){if(C[f]!==h)try{d(C,f,h)}catch{C[f]=h}if(C[p]||d(C,p,_),l[_]){for(var w in c)if(C[w]!==c[w])try{d(C,w,c[w])}catch{C[w]=c[w]}}}}},df75:function(s,o,i){var a=i("ca84"),l=i("7839");s.exports=Object.keys||function(d){return a(d,l)}},e01a:function(s,o,i){var a=i("23e7"),l=i("83ab"),c=i("da84"),d=i("5135"),m=i("861d"),f=i("9bf2").f,p=i("e893"),h=c.Symbol;if(l&&typeof h=="function"&&(!("description"in h.prototype)||h().description!==void 0)){var _={},b=function(){var x=arguments.length<1||arguments[0]===void 0?void 0:String(arguments[0]),N=this instanceof b?new h(x):x===void 0?h():h(x);return x===""&&(_[N]=!0),N};p(b,h);var C=b.prototype=h.prototype;C.constructor=b;var w=C.toString,v=String(h("test"))=="Symbol(test)",z=/^Symbol\((.*)\)[^)]+$/;f(C,"description",{configurable:!0,get:function(){var x=m(this)?this.valueOf():this,N=w.call(x);if(d(_,x))return"";var D=v?N.slice(7,-1):N.replace(z,"$1");return D===""?void 0:D}}),a({global:!0,forced:!0},{Symbol:b})}},e163:function(s,o,i){var a=i("5135"),l=i("7b0b"),c=i("f772"),d=i("e177"),m=c("IE_PROTO"),f=Object.prototype;s.exports=d?Object.getPrototypeOf:function(p){return p=l(p),a(p,m)?p[m]:typeof p.constructor=="function"&&p instanceof p.constructor?p.constructor.prototype:p instanceof Object?f:null}},e177:function(s,o,i){var a=i("d039");s.exports=!a(function(){function l(){}return l.prototype.constructor=null,Object.getPrototypeOf(new l)!==l.prototype})},e260:function(s,o,i){var a=i("fc6a"),l=i("44d2"),c=i("3f8c"),d=i("69f3"),m=i("7dd0"),f="Array Iterator",p=d.set,h=d.getterFor(f);s.exports=m(Array,"Array",function(_,b){p(this,{type:f,target:a(_),index:0,kind:b})},function(){var _=h(this),b=_.target,C=_.kind,w=_.index++;return!b||w>=b.length?(_.target=void 0,{value:void 0,done:!0}):C=="keys"?{value:w,done:!1}:C=="values"?{value:b[w],done:!1}:{value:[w,b[w]],done:!1}},"values"),c.Arguments=c.Array,l("keys"),l("values"),l("entries")},e439:function(s,o,i){var a=i("23e7"),l=i("d039"),c=i("fc6a"),d=i("06cf").f,m=i("83ab"),f=l(function(){d(1)}),p=!m||f;a({target:"Object",stat:!0,forced:p,sham:!m},{getOwnPropertyDescriptor:function(_,b){return d(c(_),b)}})},e538:function(s,o,i){var a=i("b622");o.f=a},e893:function(s,o,i){var a=i("5135"),l=i("56ef"),c=i("06cf"),d=i("9bf2");s.exports=function(m,f){for(var p=l(f),h=d.f,_=c.f,b=0;b<p.length;b++){var C=p[b];a(m,C)||h(m,C,_(f,C))}}},e8b5:function(s,o,i){var a=i("c6b6");s.exports=Array.isArray||function(c){return a(c)=="Array"}},e95a:function(s,o,i){var a=i("b622"),l=i("3f8c"),c=a("iterator"),d=Array.prototype;s.exports=function(m){return m!==void 0&&(l.Array===m||d[c]===m)}},f5df:function(s,o,i){var a=i("00ee"),l=i("c6b6"),c=i("b622"),d=c("toStringTag"),m=l(function(){return arguments}())=="Arguments",f=function(p,h){try{return p[h]}catch{}};s.exports=a?l:function(p){var h,_,b;return p===void 0?"Undefined":p===null?"Null":typeof(_=f(h=Object(p),d))=="string"?_:m?l(h):(b=l(h))=="Object"&&typeof h.callee=="function"?"Arguments":b}},f772:function(s,o,i){var a=i("5692"),l=i("90e3"),c=a("keys");s.exports=function(d){return c[d]||(c[d]=l(d))}},fb15:function(s,o,i){if(i.r(o),typeof window<"u"){var a=window.document.currentScript;{var l=i("8875");a=l(),"currentScript"in document||Object.defineProperty(document,"currentScript",{get:l})}var c=a&&a.src.match(/(.+\/)[^/]+\.js(\?.*)?$/);c&&(i.p=c[1])}i("99af"),i("4de4"),i("4160"),i("c975"),i("d81d"),i("a434"),i("159b"),i("a4d3"),i("e439"),i("dbb4"),i("b64b");function d(I,F,U){return F in I?Object.defineProperty(I,F,{value:U,enumerable:!0,configurable:!0,writable:!0}):I[F]=U,I}function m(I,F){var U=Object.keys(I);if(Object.getOwnPropertySymbols){var ee=Object.getOwnPropertySymbols(I);F&&(ee=ee.filter(function(be){return Object.getOwnPropertyDescriptor(I,be).enumerable})),U.push.apply(U,ee)}return U}function f(I){for(var F=1;F<arguments.length;F++){var U=arguments[F]!=null?arguments[F]:{};F%2?m(Object(U),!0).forEach(function(ee){d(I,ee,U[ee])}):Object.getOwnPropertyDescriptors?Object.defineProperties(I,Object.getOwnPropertyDescriptors(U)):m(Object(U)).forEach(function(ee){Object.defineProperty(I,ee,Object.getOwnPropertyDescriptor(U,ee))})}return I}function p(I){if(Array.isArray(I))return I}i("e01a"),i("d28b"),i("e260"),i("d3b7"),i("3ca3"),i("ddb0");function h(I,F){if(!(typeof Symbol>"u"||!(Symbol.iterator in Object(I)))){var U=[],ee=!0,be=!1,$e=void 0;try{for(var Fe=I[Symbol.iterator](),Ie;!(ee=(Ie=Fe.next()).done)&&(U.push(Ie.value),!(F&&U.length===F));ee=!0);}catch(rt){be=!0,$e=rt}finally{try{!ee&&Fe.return!=null&&Fe.return()}finally{if(be)throw $e}}return U}}i("a630"),i("fb6a"),i("b0c0"),i("25f0");function _(I,F){(F==null||F>I.length)&&(F=I.length);for(var U=0,ee=new Array(F);U<F;U++)ee[U]=I[U];return ee}function b(I,F){if(I){if(typeof I=="string")return _(I,F);var U=Object.prototype.toString.call(I).slice(8,-1);if(U==="Object"&&I.constructor&&(U=I.constructor.name),U==="Map"||U==="Set")return Array.from(I);if(U==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(U))return _(I,F)}}function C(){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 w(I,F){return p(I)||h(I,F)||b(I,F)||C()}function v(I){if(Array.isArray(I))return _(I)}function z(I){if(typeof Symbol<"u"&&Symbol.iterator in Object(I))return Array.from(I)}function S(){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 x(I){return v(I)||z(I)||b(I)||S()}var N=i("a352"),D=i.n(N);function P(I){I.parentElement!==null&&I.parentElement.removeChild(I)}function L(I,F,U){var ee=U===0?I.children[0]:I.children[U-1].nextSibling;I.insertBefore(F,ee)}var Z=i("dbf1");i("13d5"),i("4fad"),i("ac1f"),i("5319");function B(I){var F=Object.create(null);return function(ee){var be=F[ee];return be||(F[ee]=I(ee))}}var q=/-(\w)/g,X=B(function(I){return I.replace(q,function(F,U){return U.toUpperCase()})});i("5db7"),i("73d9");var pe=["Start","Add","Remove","Update","End"],G=["Choose","Unchoose","Sort","Filter","Clone"],re=["Move"],oe=[re,pe,G].flatMap(function(I){return I}).map(function(I){return"on".concat(I)}),Be={manage:re,manageAndEmit:pe,emit:G};function Je(I){return oe.indexOf(I)!==-1}i("caad"),i("2ca0");var We=["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 Ue(I){return We.includes(I)}function dt(I){return["transition-group","TransitionGroup"].includes(I)}function pt(I){return["id","class","role","style"].includes(I)||I.startsWith("data-")||I.startsWith("aria-")||I.startsWith("on")}function ht(I){return I.reduce(function(F,U){var ee=w(U,2),be=ee[0],$e=ee[1];return F[be]=$e,F},{})}function Ne(I){var F=I.$attrs,U=I.componentData,ee=U===void 0?{}:U,be=ht(Object.entries(F).filter(function($e){var Fe=w($e,2),Ie=Fe[0];return Fe[1],pt(Ie)}));return f(f({},be),ee)}function W(I){var F=I.$attrs,U=I.callBackBuilder,ee=ht(ue(F));Object.entries(U).forEach(function($e){var Fe=w($e,2),Ie=Fe[0],rt=Fe[1];Be[Ie].forEach(function(Te){ee["on".concat(Te)]=rt(Te)})});var be="[data-draggable]".concat(ee.draggable||"");return f(f({},ee),{},{draggable:be})}function ue(I){return Object.entries(I).filter(function(F){var U=w(F,2),ee=U[0];return U[1],!pt(ee)}).map(function(F){var U=w(F,2),ee=U[0],be=U[1];return[X(ee),be]}).filter(function(F){var U=w(F,2),ee=U[0];return U[1],!Je(ee)})}i("c740");function ie(I,F){if(!(I instanceof F))throw new TypeError("Cannot call a class as a function")}function ge(I,F){for(var U=0;U<F.length;U++){var ee=F[U];ee.enumerable=ee.enumerable||!1,ee.configurable=!0,"value"in ee&&(ee.writable=!0),Object.defineProperty(I,ee.key,ee)}}function Ve(I,F,U){return F&&ge(I.prototype,F),U&&ge(I,U),I}var Ke=function(F){var U=F.el;return U},A=function(F,U){return F.__draggable_context=U},O=function(F){return F.__draggable_context},H=function(){function I(F){var U=F.nodes,ee=U.header,be=U.default,$e=U.footer,Fe=F.root,Ie=F.realList;ie(this,I),this.defaultNodes=be,this.children=[].concat(x(ee),x(be),x($e)),this.externalComponent=Fe.externalComponent,this.rootTransition=Fe.transition,this.tag=Fe.tag,this.realList=Ie}return Ve(I,[{key:"render",value:function(U,ee){var be=this.tag,$e=this.children,Fe=this._isRootComponent,Ie=Fe?{default:function(){return $e}}:$e;return U(be,ee,Ie)}},{key:"updated",value:function(){var U=this.defaultNodes,ee=this.realList;U.forEach(function(be,$e){A(Ke(be),{element:ee[$e],index:$e})})}},{key:"getUnderlyingVm",value:function(U){return O(U)}},{key:"getVmIndexFromDomIndex",value:function(U,ee){var be=this.defaultNodes,$e=be.length,Fe=ee.children,Ie=Fe.item(U);if(Ie===null)return $e;var rt=O(Ie);if(rt)return rt.index;if($e===0)return 0;var Te=Ke(be[0]),xe=x(Fe).findIndex(function(Ae){return Ae===Te});return U<xe?0:$e}},{key:"_isRootComponent",get:function(){return this.externalComponent||this.rootTransition}}]),I}(),Y=i("8bbf");function K(I,F){var U=I[F];return U?U():[]}function ae(I){var F=I.$slots,U=I.realList,ee=I.getKey,be=U||[],$e=["header","footer"].map(function(Ae){return K(F,Ae)}),Fe=w($e,2),Ie=Fe[0],rt=Fe[1],Te=F.item;if(!Te)throw new Error("draggable element must have an item slot");var xe=be.flatMap(function(Ae,Ze){return Te({element:Ae,index:Ze}).map(function(tt){return tt.key=ee(Ae),tt.props=f(f({},tt.props||{}),{},{"data-draggable":!0}),tt})});if(xe.length!==be.length)throw new Error("Item slot must have only one child");return{header:Ie,footer:rt,default:xe}}function de(I){var F=dt(I),U=!Ue(I)&&!F;return{transition:F,externalComponent:U,tag:U?Object(Y.resolveComponent)(I):F?Y.TransitionGroup:I}}function ne(I){var F=I.$slots,U=I.tag,ee=I.realList,be=I.getKey,$e=ae({$slots:F,realList:ee,getKey:be}),Fe=de(U);return new H({nodes:$e,root:Fe,realList:ee})}function le(I,F){var U=this;Object(Y.nextTick)(function(){return U.$emit(I.toLowerCase(),F)})}function Q(I){var F=this;return function(U,ee){if(F.realList!==null)return F["onDrag".concat(I)](U,ee)}}function he(I){var F=this,U=Q.call(this,I);return function(ee,be){U.call(F,ee,be),le.call(F,I,ee)}}var me=null,R={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(F){return F}},tag:{type:String,default:"div"},move:{type:Function,default:null},componentData:{type:Object,required:!1,default:null}},j=["update:modelValue","change"].concat(x([].concat(x(Be.manageAndEmit),x(Be.emit)).map(function(I){return I.toLowerCase()}))),ye=Object(Y.defineComponent)({name:"draggable",inheritAttrs:!1,props:R,emits:j,data:function(){return{error:!1}},render:function(){try{this.error=!1;var F=this.$slots,U=this.$attrs,ee=this.tag,be=this.componentData,$e=this.realList,Fe=this.getKey,Ie=ne({$slots:F,tag:ee,realList:$e,getKey:Fe});this.componentStructure=Ie;var rt=Ne({$attrs:U,componentData:be});return Ie.render(Y.h,rt)}catch(Te){return this.error=!0,Object(Y.h)("pre",{style:{color:"red"}},Te.stack)}},created:function(){this.list!==null&&this.modelValue!==null&&Z.a.error("modelValue and list props are mutually exclusive! Please set one or another.")},mounted:function(){var F=this;if(!this.error){var U=this.$attrs,ee=this.$el,be=this.componentStructure;be.updated();var $e=W({$attrs:U,callBackBuilder:{manageAndEmit:function(rt){return he.call(F,rt)},emit:function(rt){return le.bind(F,rt)},manage:function(rt){return Q.call(F,rt)}}}),Fe=ee.nodeType===1?ee:ee.parentElement;this._sortable=new D.a(Fe,$e),this.targetDomElement=Fe,Fe.__draggable_component__=this}},updated:function(){this.componentStructure.updated()},beforeUnmount:function(){this._sortable!==void 0&&this._sortable.destroy()},computed:{realList:function(){var F=this.list;return F||this.modelValue},getKey:function(){var F=this.itemKey;return typeof F=="function"?F:function(U){return U[F]}}},watch:{$attrs:{handler:function(F){var U=this._sortable;U&&ue(F).forEach(function(ee){var be=w(ee,2),$e=be[0],Fe=be[1];U.option($e,Fe)})},deep:!0}},methods:{getUnderlyingVm:function(F){return this.componentStructure.getUnderlyingVm(F)||null},getUnderlyingPotencialDraggableComponent:function(F){return F.__draggable_component__},emitChanges:function(F){var U=this;Object(Y.nextTick)(function(){return U.$emit("change",F)})},alterList:function(F){if(this.list){F(this.list);return}var U=x(this.modelValue);F(U),this.$emit("update:modelValue",U)},spliceList:function(){var F=arguments,U=function(be){return be.splice.apply(be,x(F))};this.alterList(U)},updatePosition:function(F,U){var ee=function($e){return $e.splice(U,0,$e.splice(F,1)[0])};this.alterList(ee)},getRelatedContextFromMoveEvent:function(F){var U=F.to,ee=F.related,be=this.getUnderlyingPotencialDraggableComponent(U);if(!be)return{component:be};var $e=be.realList,Fe={list:$e,component:be};if(U!==ee&&$e){var Ie=be.getUnderlyingVm(ee)||{};return f(f({},Ie),Fe)}return Fe},getVmIndexFromDomIndex:function(F){return this.componentStructure.getVmIndexFromDomIndex(F,this.targetDomElement)},onDragStart:function(F){this.context=this.getUnderlyingVm(F.item),F.item._underlying_vm_=this.clone(this.context.element),me=F.item},onDragAdd:function(F){var U=F.item._underlying_vm_;if(U!==void 0){P(F.item);var ee=this.getVmIndexFromDomIndex(F.newIndex);this.spliceList(ee,0,U);var be={element:U,newIndex:ee};this.emitChanges({added:be})}},onDragRemove:function(F){if(L(this.$el,F.item,F.oldIndex),F.pullMode==="clone"){P(F.clone);return}var U=this.context,ee=U.index,be=U.element;this.spliceList(ee,1);var $e={element:be,oldIndex:ee};this.emitChanges({removed:$e})},onDragUpdate:function(F){P(F.item),L(F.from,F.item,F.oldIndex);var U=this.context.index,ee=this.getVmIndexFromDomIndex(F.newIndex);this.updatePosition(U,ee);var be={element:this.context.element,oldIndex:U,newIndex:ee};this.emitChanges({moved:be})},computeFutureIndex:function(F,U){if(!F.element)return 0;var ee=x(U.to.children).filter(function(Ie){return Ie.style.display!=="none"}),be=ee.indexOf(U.related),$e=F.component.getVmIndexFromDomIndex(be),Fe=ee.indexOf(me)!==-1;return Fe||!U.willInsertAfter?$e:$e+1},onDragMove:function(F,U){var ee=this.move,be=this.realList;if(!ee||!be)return!0;var $e=this.getRelatedContextFromMoveEvent(F),Fe=this.computeFutureIndex($e,F),Ie=f(f({},this.context),{},{futureIndex:Fe}),rt=f(f({},F),{},{relatedContext:$e,draggedContext:Ie});return ee(rt,U)},onDragEnd:function(){me=null}}}),Se=ye;o.default=Se},fb6a:function(s,o,i){var a=i("23e7"),l=i("861d"),c=i("e8b5"),d=i("23cb"),m=i("50c4"),f=i("fc6a"),p=i("8418"),h=i("b622"),_=i("1dde"),b=i("ae40"),C=_("slice"),w=b("slice",{ACCESSORS:!0,0:0,1:2}),v=h("species"),z=[].slice,S=Math.max;a({target:"Array",proto:!0,forced:!C||!w},{slice:function(N,D){var P=f(this),L=m(P.length),Z=d(N,L),B=d(D===void 0?L:D,L),q,X,pe;if(c(P)&&(q=P.constructor,typeof q=="function"&&(q===Array||c(q.prototype))?q=void 0:l(q)&&(q=q[v],q===null&&(q=void 0)),q===Array||q===void 0))return z.call(P,Z,B);for(X=new(q===void 0?Array:q)(S(B-Z,0)),pe=0;Z<B;Z++,pe++)Z in P&&p(X,pe,P[Z]);return X.length=pe,X}})},fc6a:function(s,o,i){var a=i("44ad"),l=i("1d80");s.exports=function(c){return a(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,i){var a=i("4930");s.exports=a&&!Symbol.sham&&typeof Symbol.iterator=="symbol"}}).default})})(X1);var fq=X1.exports;const pq=Oi(fq),hq={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(){V.player_play({item_id:this.item.id})}}},_q={key:0,class:"media is-align-items-center"},gq={key:0,class:"media-left"},yq=["textContent"],vq=["textContent"],bq=["textContent"],zq={class:"media-right"};function Cq(e,t,n,r,s,o){const i=$("mdicon");return o.is_next||!n.show_only_next_items?(k(),T("div",_q,[n.edit_mode?(k(),T("div",gq,[y(i,{class:"icon has-text-grey fd-is-movable handle",name:"drag-horizontal",size:"16"})])):M("",!0),u("div",{class:"media-content is-clickable is-clipped",onClick:t[0]||(t[0]=(...a)=>o.play&&o.play(...a))},[u("h1",{class:Ee(["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,yq),u("h2",{class:Ee(["subtitle is-7 has-text-weight-bold",{"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.artist)},null,10,vq),u("h2",{class:Ee(["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,bq)]),u("div",zq,[it(e.$slots,"actions")])])):M("",!0)}const wq=te(hq,[["render",Cq]]),kq={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,V.queue_add(this.url).then(()=>{this.$emit("close"),this.url=""}).catch(()=>{this.loading=!1})},play(){this.loading=!0,V.player_play_uri(this.url,!1).then(()=>{this.$emit("close"),this.url=""}).catch(()=>{this.loading=!1})}}},xq={key:0,class:"modal is-active"},Eq={class:"modal-content fd-modal-card"},Sq={class:"card-content"},$q=["textContent"],Aq={class:"field"},Tq={class:"control is-expanded has-icons-left"},Oq=["placeholder","disabled"],Dq={key:0,class:"card-footer"},Pq={class:"card-footer-item has-text-dark"},Iq=["textContent"],Fq={key:1,class:"card-footer is-clipped"},Rq=["textContent"],Lq=["textContent"],Nq=["textContent"];function Mq(e,t,n,r,s,o){const i=$("mdicon");return k(),T("div",null,[y(It,{name:"fade"},{default:E(()=>[n.show?(k(),T("div",xq,[u("div",{class:"modal-background",onClick:t[0]||(t[0]=a=>e.$emit("close"))}),u("div",Eq,[u("form",{class:"card",onSubmit:t[5]||(t[5]=st((...a)=>o.play&&o.play(...a),["prevent"]))},[u("div",Sq,[u("p",{class:"title is-4",textContent:g(e.$t("dialog.add.stream.title"))},null,8,$q),u("div",Aq,[u("p",Tq,[yt(u("input",{ref:"url_field","onUpdate:modelValue":t[1]||(t[1]=a=>s.url=a),class:"input is-shadowless",type:"url",pattern:"http[s]?://.*",required:"",placeholder:e.$t("dialog.add.stream.placeholder"),disabled:s.loading},null,8,Oq),[[dn,s.url]]),y(i,{class:"icon is-left",name:"web",size:"16"})])])]),s.loading?(k(),T("footer",Dq,[u("a",Pq,[y(i,{class:"icon",name:"web",size:"16"}),u("span",{class:"is-size-7",textContent:g(e.$t("dialog.add.stream.loading"))},null,8,Iq)])])):(k(),T("footer",Fq,[u("a",{class:"card-footer-item has-text-dark",onClick:t[2]||(t[2]=a=>e.$emit("close"))},[y(i,{class:"icon",name:"cancel",size:"16"}),u("span",{class:"is-size-7",textContent:g(e.$t("dialog.add.stream.cancel"))},null,8,Rq)]),u("a",{class:"card-footer-item has-text-dark",onClick:t[3]||(t[3]=(...a)=>o.add_stream&&o.add_stream(...a))},[y(i,{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[4]||(t[4]=(...a)=>o.play&&o.play(...a))},[y(i,{class:"icon",name:"play",size:"16"}),u("span",{class:"is-size-7",textContent:g(e.$t("dialog.add.stream.play"))},null,8,Nq)])]))],32)]),u("button",{class:"modal-close is-large","aria-label":"close",onClick:t[6]||(t[6]=a=>e.$emit("close"))})])):M("",!0)]),_:1})])}const Vq=te(kq,[["render",Mq]]),Hq={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,V.queue_save_playlist(this.playlist_name).then(()=>{this.$emit("close"),this.playlist_name=""}).catch(()=>{this.loading=!1}))}}},Uq={key:0,class:"modal is-active"},Bq={class:"modal-content fd-modal-card"},jq={class:"card"},qq={class:"card-content"},Wq=["textContent"],Gq={class:"field"},Kq={class:"control is-expanded has-icons-left"},Zq=["placeholder","disabled"],Yq={key:0,class:"card-footer"},Jq={class:"card-footer-item has-text-dark"},Xq=["textContent"],Qq={key:1,class:"card-footer is-clipped"},eW=["textContent"],tW=["textContent"];function nW(e,t,n,r,s,o){const i=$("mdicon");return k(),T("div",null,[y(It,{name:"fade"},{default:E(()=>[n.show?(k(),T("div",Uq,[u("div",{class:"modal-background",onClick:t[0]||(t[0]=a=>e.$emit("close"))}),u("div",Bq,[u("div",jq,[u("div",qq,[u("p",{class:"title is-4",textContent:g(e.$t("dialog.playlist.save.title"))},null,8,Wq),u("form",{class:"mb-5",onSubmit:t[2]||(t[2]=st((...a)=>o.save&&o.save(...a),["prevent"]))},[u("div",Gq,[u("p",Kq,[yt(u("input",{ref:"playlist_name_field","onUpdate:modelValue":t[1]||(t[1]=a=>s.playlist_name=a),class:"input is-shadowless",type:"text",placeholder:e.$t("dialog.playlist.save.playlist-name"),disabled:s.loading},null,8,Zq),[[dn,s.playlist_name]]),y(i,{class:"icon is-left",name:"file-music",size:"16"})])])],32)]),s.loading?(k(),T("footer",Yq,[u("a",Jq,[y(i,{class:"icon",name:"web",size:"16"}),u("span",{class:"is-size-7",textContent:g(e.$t("dialog.playlist.save.saving"))},null,8,Xq)])])):(k(),T("footer",Qq,[u("a",{class:"card-footer-item has-text-danger",onClick:t[3]||(t[3]=a=>e.$emit("close"))},[y(i,{class:"icon",name:"cancel",size:"16"}),u("span",{class:"is-size-7",textContent:g(e.$t("dialog.playlist.save.cancel"))},null,8,eW)]),u("a",{class:"card-footer-item has-background-info has-text-white has-text-weight-bold",onClick:t[4]||(t[4]=(...a)=>o.save&&o.save(...a))},[y(i,{class:"icon",name:"content-save",size:"16"}),u("span",{class:"is-size-7",textContent:g(e.$t("dialog.playlist.save.save"))},null,8,tW)])]))])]),u("button",{class:"modal-close is-large","aria-label":"close",onClick:t[5]||(t[5]=a=>e.$emit("close"))})])):M("",!0)]),_:1})])}const rW=te(Hq,[["render",nW]]),sW={name:"PageQueue",components:{ContentWithHeading:et,draggable:pq,ListItemQueueItem:wq,ModalDialogAddUrlStream:Vq,ModalDialogPlaylistSave:rW,ModalDialogQueueItem:J1},data(){return{edit_mode:!1,show_details_modal:!1,show_url_modal:!1,show_pls_save_modal:!1,selected_item:{}}},computed:{current_position(){const e=this.$store.getters.now_playing;return e===void 0||e.position===void 0?-1:this.$store.getters.now_playing.position},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){}},show_only_next_items(){return this.$store.state.show_only_next_items},state(){return this.$store.state.player}},methods:{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&&V.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},queue_clear(){V.queue_clear()},remove(e){V.queue_remove(e.id)},update_show_next_items(e){this.$store.commit(r_,!this.show_only_next_items)},save_dialog(){this.queue_items.length>0&&(this.show_pls_save_modal=!0)}}},oW=["textContent"],iW=["textContent"],aW={class:"buttons is-centered"},lW=["textContent"],uW=["textContent"],cW=["disabled"],dW=["textContent"],mW=["disabled"],fW=["textContent"],pW=["disabled"],hW=["textContent"],_W=["onClick"],gW=["onClick"];function yW(e,t,n,r,s,o){const i=$("mdicon"),a=$("list-item-queue-item"),l=$("draggable"),c=$("modal-dialog-queue-item"),d=$("modal-dialog-add-url-stream"),m=$("modal-dialog-playlist-save"),f=$("content-with-heading");return k(),T("div",null,[y(f,null,{"heading-left":E(()=>[u("p",{class:"title is-4",textContent:g(e.$t("page.queue.title"))},null,8,oW),u("p",{class:"heading",textContent:g(e.$t("page.queue.count",{count:o.queue.count}))},null,8,iW)]),"heading-right":E(()=>[u("div",aW,[u("button",{class:Ee(["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(i,{class:"icon",name:"arrow-collapse-down",size:"16"}),u("span",{textContent:g(e.$t("page.queue.hide-previous"))},null,8,lW)],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(i,{class:"icon",name:"web",size:"16"}),u("span",{textContent:g(e.$t("page.queue.add-stream"))},null,8,uW)]),u("button",{class:Ee(["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(i,{class:"icon",name:"pencil",size:"16"}),u("span",{textContent:g(e.$t("page.queue.edit"))},null,8,dW)],10,cW),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(i,{class:"icon",name:"delete-empty",size:"16"}),u("span",{textContent:g(e.$t("page.queue.clear"))},null,8,fW)],8,mW),o.is_queue_save_allowed?(k(),T("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(i,{class:"icon",name:"content-save",size:"16"}),u("span",{textContent:g(e.$t("page.queue.save"))},null,8,hW)],8,pW)):M("",!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(a,{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?M("",!0):(k(),T("a",{key:0,onClick:st(_=>o.open_dialog(p),["prevent","stop"])},[y(i,{class:"icon has-text-dark",name:"dots-vertical",size:"16"})],8,_W)),p.id!==o.state.item_id&&s.edit_mode?(k(),T("a",{key:1,onClick:st(_=>o.remove(p),["prevent","stop"])},[y(i,{class:"icon has-text-grey",name:"delete",size:"18"})],8,gW)):M("",!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?(k(),_e(m,{key:0,show:s.show_pls_save_modal,onClose:t[8]||(t[8]=p=>s.show_pls_save_modal=!1)},null,8,["show"])):M("",!0)]),_:1})])}const vW=te(sW,[["render",yW]]),bW={name:"ContentText"},zW={class:"section py-3"},CW={class:"container"},wW={class:"columns is-centered"},kW={class:"column is-four-fifths"};function xW(e,t,n,r,s,o){return k(),T("section",zW,[u("div",CW,[u("div",wW,[u("div",kW,[it(e.$slots,"content")])])])])}const cb=te(bW,[["render",xW]]),EW={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(cc,"library"),this.$router.push({name:"search-library",query:this.route_query})},search_spotify(){this.$store.commit(cc,"spotify"),this.$router.push({name:"search-spotify",query:this.route_query})}}},SW={key:0,class:"section"},$W={class:"container"},AW={class:"columns is-centered"},TW={class:"column is-four-fifths"},OW={class:"tabs is-centered is-small is-toggle is-toggle-rounded"},DW=["textContent"],PW=["textContent"];function IW(e,t,n,r,s,o){const i=$("mdicon");return o.spotify_enabled?(k(),T("section",SW,[u("div",$W,[u("div",AW,[u("div",TW,[u("div",OW,[u("ul",null,[u("li",{class:Ee({"is-active":e.$store.state.search_source==="library"})},[u("a",{onClick:t[0]||(t[0]=(...a)=>o.search_library&&o.search_library(...a))},[y(i,{class:"icon is-small",name:"bookshelf",size:"16"}),u("span",{textContent:g(e.$t("page.search.tabs.library"))},null,8,DW)])],2),u("li",{class:Ee({"is-active":e.$store.state.search_source==="spotify"})},[u("a",{onClick:t[1]||(t[1]=(...a)=>o.search_spotify&&o.search_spotify(...a))},[y(i,{class:"icon is-small",name:"spotify",size:"16"}),u("span",{textContent:g(e.$t("page.search.tabs.spotify"))},null,8,PW)])],2)])])])])])])):M("",!0)}const db=te(EW,[["render",IW]]),FW={name:"PageSearchLibrary",components:{ContentText:cb,ContentWithHeading:et,ListAlbums:ur,ListArtists:Pm,ListComposers:K1,ListPlaylists:Nm,ListTracks:Cn,TabsSearch:db},data(){return{albums:new ve,artists:new ve,audiobooks:new ve,composers:new ve,playlists:new ve,podcasts:new ve,search_query:"",tracks:new ve}},computed:{recent_searches(){return this.$store.state.recent_searches},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_all_artists_button(){return this.artists.total>this.artists.items.length},show_all_audiobooks_button(){return this.audiobooks.total>this.audiobooks.items.length},show_all_composers_button(){return this.composers.total>this.composers.items.length},show_all_playlists_button(){return this.playlists.total>this.playlists.items.length},show_all_podcasts_button(){return this.podcasts.total>this.podcasts.items.length},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_audiobooks(){return this.$route.query.type&&this.$route.query.type.includes("audiobook")},show_composers(){return this.$route.query.type&&this.$route.query.type.includes("composer")},show_playlists(){return this.$route.query.type&&this.$route.query.type.includes("playlist")},show_podcasts(){return this.$route.query.type&&this.$route.query.type.includes("podcast")},show_tracks(){return this.$route.query.type&&this.$route.query.type.includes("track")}},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(yd,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:/u,"").trim():t.query=e.query,e.limit&&(t.limit=e.limit,t.offset=e.offset),V.search(t).then(({data:n})=>{this.tracks=new ve(n.tracks),this.artists=new ve(n.artists),this.albums=new ve(n.albums),this.composers=new ve(n.composers),this.playlists=new ve(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:/u,"").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),V.search(t).then(({data:n})=>{this.audiobooks=new ve(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:/u,"").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),V.search(t).then(({data:n})=>{this.podcasts=new ve(n.albums)})},new_search(){this.search_query&&(this.$router.push({name:"search-library",query:{limit:3,offset:0,query:this.search_query,type:"track,artist,album,playlist,audiobook,podcast,composer"}}),this.$refs.search_field.blur())},open_search_tracks(){this.$router.push({name:"search-library",query:{query:this.$route.query.query,type:"track"}})},open_search_artists(){this.$router.push({name:"search-library",query:{query:this.$route.query.query,type:"artist"}})},open_search_albums(){this.$router.push({name:"search-library",query:{query:this.$route.query.query,type:"album"}})},open_search_composers(){this.$router.push({name:"search-library",query:{query:this.$route.query.query,type:"tracks"}})},open_search_playlists(){this.$router.push({name:"search-library",query:{query:this.$route.query.query,type:"playlist"}})},open_search_audiobooks(){this.$router.push({name:"search-library",query:{query:this.$route.query.query,type:"audiobook"}})},open_search_podcasts(){this.$router.push({name:"search-library",query:{query:this.$route.query.query,type:"podcast"}})},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}}},RW={class:"section pb-0"},LW={class:"container"},NW={class:"columns is-centered"},MW={class:"column is-four-fifths"},VW={class:"field"},HW={class:"control is-expanded has-icons-left"},UW=["placeholder"],BW=u("code",null,"query:",-1),jW=["textContent"],qW={class:"tags mt-4"},WW=["onClick","textContent"],GW=["textContent"],KW={key:0,class:"level"},ZW={class:"level-item"},YW=["textContent"],JW=["textContent"],XW=["textContent"],QW={key:0,class:"level"},eG={class:"level-item"},tG=["textContent"],nG=["textContent"],rG=["textContent"],sG={key:0,class:"level"},oG={class:"level-item"},iG=["textContent"],aG=["textContent"],lG=["textContent"],uG={key:0,class:"level"},cG={class:"level-item"},dG=["textContent"],mG=["textContent"],fG=["textContent"],pG={key:0,class:"level"},hG={class:"level-item"},_G=["textContent"],gG=["textContent"],yG=["textContent"],vG={key:0,class:"level"},bG={class:"level-item"},zG=["textContent"],CG=["textContent"],wG=["textContent"],kG={key:0,class:"level"},xG={class:"level-item"},EG=["textContent"],SG=["textContent"];function $G(e,t,n,r,s,o){const i=$("mdicon"),a=$("i18n-t"),l=$("tabs-search"),c=$("list-tracks"),d=$("content-with-heading"),m=$("content-text"),f=$("list-artists"),p=$("list-albums"),h=$("list-composers"),_=$("list-playlists");return k(),T("div",null,[u("section",RW,[u("div",LW,[u("div",NW,[u("div",MW,[u("form",{onSubmit:t[1]||(t[1]=st((...b)=>o.new_search&&o.new_search(...b),["prevent"]))},[u("div",VW,[u("p",HW,[yt(u("input",{ref:"search_field","onUpdate:modelValue":t[0]||(t[0]=b=>s.search_query=b),class:"input is-rounded is-shadowless",type:"text",placeholder:e.$t("page.search.placeholder"),autocomplete:"off"},null,8,UW),[[dn,s.search_query]]),y(i,{class:"icon is-left",name:"magnify",size:"16"})]),y(a,{tag:"p",class:"help has-text-centered",keypath:"page.search.help",scope:"global"},{query:E(()=>[BW]),help:E(()=>[u("a",{href:"https://owntone.github.io/owntone-server/smart-playlists/",target:"_blank",textContent:g(e.$t("page.search.expression"))},null,8,jW)]),_:1})])],32),u("div",qW,[(k(!0),T(we,null,ct(o.recent_searches,b=>(k(),T("a",{key:b,class:"tag",onClick:C=>o.open_recent_search(b),textContent:g(b)},null,8,WW))),128))])])])])]),y(l,{query:s.search_query},null,8,["query"]),o.show_tracks&&s.tracks.total?(k(),_e(d,{key:0,class:"pt-0"},{"heading-left":E(()=>[u("p",{class:"title is-4",textContent:g(e.$t("page.search.tracks"))},null,8,GW)]),content:E(()=>[y(c,{tracks:s.tracks},null,8,["tracks"])]),footer:E(()=>[o.show_all_tracks_button?(k(),T("nav",KW,[u("p",ZW,[u("a",{class:"button is-light is-small is-rounded",onClick:t[2]||(t[2]=(...b)=>o.open_search_tracks&&o.open_search_tracks(...b)),textContent:g(e.$t("page.search.show-tracks",s.tracks.total,{count:e.$filters.number(s.tracks.total)}))},null,8,YW)])])):M("",!0)]),_:1})):M("",!0),o.show_tracks&&!s.tracks.total?(k(),_e(m,{key:1,class:"pt-0"},{content:E(()=>[u("p",null,[u("i",{textContent:g(e.$t("page.search.no-tracks"))},null,8,JW)])]),_:1})):M("",!0),o.show_artists&&s.artists.total?(k(),_e(d,{key:2},{"heading-left":E(()=>[u("p",{class:"title is-4",textContent:g(e.$t("page.search.artists"))},null,8,XW)]),content:E(()=>[y(f,{artists:s.artists,hide_group_title:!0},null,8,["artists"])]),footer:E(()=>[o.show_all_artists_button?(k(),T("nav",QW,[u("p",eG,[u("a",{class:"button is-light is-small is-rounded",onClick:t[3]||(t[3]=(...b)=>o.open_search_artists&&o.open_search_artists(...b)),textContent:g(e.$t("page.search.show-artists",s.artists.total,{count:e.$filters.number(s.artists.total)}))},null,8,tG)])])):M("",!0)]),_:1})):M("",!0),o.show_artists&&!s.artists.total?(k(),_e(m,{key:3},{content:E(()=>[u("p",null,[u("i",{textContent:g(e.$t("page.search.no-artists"))},null,8,nG)])]),_:1})):M("",!0),o.show_albums&&s.albums.total?(k(),_e(d,{key:4},{"heading-left":E(()=>[u("p",{class:"title is-4",textContent:g(e.$t("page.search.albums"))},null,8,rG)]),content:E(()=>[y(p,{albums:s.albums,hide_group_title:!0},null,8,["albums"])]),footer:E(()=>[o.show_all_albums_button?(k(),T("nav",sG,[u("p",oG,[u("a",{class:"button is-light is-small is-rounded",onClick:t[4]||(t[4]=(...b)=>o.open_search_albums&&o.open_search_albums(...b)),textContent:g(e.$t("page.search.show-albums",s.albums.total,{count:e.$filters.number(s.albums.total)}))},null,8,iG)])])):M("",!0)]),_:1})):M("",!0),o.show_albums&&!s.albums.total?(k(),_e(m,{key:5},{content:E(()=>[u("p",null,[u("i",{textContent:g(e.$t("page.search.no-albums"))},null,8,aG)])]),_:1})):M("",!0),o.show_composers&&s.composers.total?(k(),_e(d,{key:6},{"heading-left":E(()=>[u("p",{class:"title is-4",textContent:g(e.$t("page.search.composers"))},null,8,lG)]),content:E(()=>[y(h,{composers:s.composers},null,8,["composers"])]),footer:E(()=>[o.show_all_composers_button?(k(),T("nav",uG,[u("p",cG,[u("a",{class:"button is-light is-small is-rounded",onClick:t[5]||(t[5]=(...b)=>o.open_search_composers&&o.open_search_composers(...b)),textContent:g(e.$t("page.search.show-composers",s.composers.total,{count:e.$filters.number(s.composers.total)}))},null,8,dG)])])):M("",!0)]),_:1})):M("",!0),o.show_composers&&!s.composers.total?(k(),_e(m,{key:7},{content:E(()=>[u("p",null,[u("i",{textContent:g(e.$t("page.search.no-composers"))},null,8,mG)])]),_:1})):M("",!0),o.show_playlists&&s.playlists.total?(k(),_e(d,{key:8},{"heading-left":E(()=>[u("p",{class:"title is-4",textContent:g(e.$t("page.search.playlists"))},null,8,fG)]),content:E(()=>[y(_,{playlists:s.playlists},null,8,["playlists"])]),footer:E(()=>[o.show_all_playlists_button?(k(),T("nav",pG,[u("p",hG,[u("a",{class:"button is-light is-small is-rounded",onClick:t[6]||(t[6]=(...b)=>o.open_search_playlists&&o.open_search_playlists(...b)),textContent:g(e.$t("page.search.show-playlists",s.playlists.total,{count:e.$filters.number(s.playlists.total)}))},null,8,_G)])])):M("",!0)]),_:1})):M("",!0),o.show_playlists&&!s.playlists.total?(k(),_e(m,{key:9},{content:E(()=>[u("p",null,[u("i",{textContent:g(e.$t("page.search.no-playlists"))},null,8,gG)])]),_:1})):M("",!0),o.show_podcasts&&s.podcasts.total?(k(),_e(d,{key:10},{"heading-left":E(()=>[u("p",{class:"title is-4",textContent:g(e.$t("page.search.podcasts"))},null,8,yG)]),content:E(()=>[y(p,{albums:s.podcasts},null,8,["albums"])]),footer:E(()=>[o.show_all_podcasts_button?(k(),T("nav",vG,[u("p",bG,[u("a",{class:"button is-light is-small is-rounded",onClick:t[7]||(t[7]=(...b)=>o.open_search_podcasts&&o.open_search_podcasts(...b)),textContent:g(e.$t("page.search.show-podcasts",s.podcasts.total,{count:e.$filters.number(s.podcasts.total)}))},null,8,zG)])])):M("",!0)]),_:1})):M("",!0),o.show_podcasts&&!s.podcasts.total?(k(),_e(m,{key:11},{content:E(()=>[u("p",null,[u("i",{textContent:g(e.$t("page.search.no-podcasts"))},null,8,CG)])]),_:1})):M("",!0),o.show_audiobooks&&s.audiobooks.total?(k(),_e(d,{key:12},{"heading-left":E(()=>[u("p",{class:"title is-4",textContent:g(e.$t("page.search.audiobooks"))},null,8,wG)]),content:E(()=>[y(p,{albums:s.audiobooks},null,8,["albums"])]),footer:E(()=>[o.show_all_audiobooks_button?(k(),T("nav",kG,[u("p",xG,[u("a",{class:"button is-light is-small is-rounded",onClick:t[8]||(t[8]=(...b)=>o.open_search_audiobooks&&o.open_search_audiobooks(...b)),textContent:g(e.$t("page.search.show-audiobooks",s.audiobooks.total,{count:e.$filters.number(s.audiobooks.total)}))},null,8,EG)])])):M("",!0)]),_:1})):M("",!0),o.show_audiobooks&&!s.audiobooks.total?(k(),_e(m,{key:13},{content:E(()=>[u("p",null,[u("i",{textContent:g(e.$t("page.search.no-audiobooks"))},null,8,SG)])]),_:1})):M("",!0)])}const AG=te(FW,[["render",$G]]),TG={name:"ListItemArtistSpotify",props:["artist"],methods:{open_artist(){this.$router.push({name:"music-spotify-artist",params:{id:this.artist.id}})}}},OG={class:"media is-align-items-center"},DG=["textContent"],PG={class:"media-right"};function IG(e,t,n,r,s,o){return k(),T("div",OG,[u("div",{class:"media-content is-clickable is-clipped",onClick:t[0]||(t[0]=(...i)=>o.open_artist&&o.open_artist(...i))},[u("h1",{class:"title is-6",textContent:g(n.artist.name)},null,8,DG)]),u("div",PG,[it(e.$slots,"actions")])])}const FG=te(TG,[["render",IG]]),Io=50,RG={name:"PageSearchSpotify",components:{ContentText:cb,ContentWithHeading:et,CoverArtwork:Fn,ListItemAlbumSpotify:fu,ListItemArtistSpotify:FG,ListItemPlaylistSpotify:Rm,ListItemTrackSpotify:Tm,ModalDialogAlbumSpotify:Ri,ModalDialogArtistSpotify:W1,ModalDialogPlaylistSpotify:pu,ModalDialogTrackSpotify:Om,TabsSearch:db,VueEternalLoading:Dm},data(){return{albums:{items:[],total:0},artists:{items:[],total:0},playlists:{items:[],total:0},query:{},search_param:{},search_query:"",selected_album:{},selected_artist:{},selected_playlist:{},selected_track:{},show_album_details_modal:!1,show_artist_details_modal:!1,show_playlist_details_modal:!1,show_track_details_modal:!1,tracks:{items:[],total:0},validSearchTypes:["track","artist","album","playlist"]}},computed:{is_visible_artwork(){return this.$store.getters.settings_option("webinterface","show_cover_artwork_in_album_lists").value},recent_searches(){return this.$store.state.recent_searches.filter(e=>!e.startsWith("query:"))},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_all_artists_button(){return this.artists.total>this.artists.items.length},show_all_playlists_button(){return this.playlists.total>this.playlists.items.length},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_playlists(){return this.$route.query.type&&this.$route.query.type.includes("playlist")},show_tracks(){return this.$route.query.type&&this.$route.query.type.includes("track")}},watch:{$route(e,t){this.query=e.query,this.search()}},mounted(){this.query=this.$route.query,this.search()},methods:{artwork_url(e){return e.images&&e.images.length>0?e.images[0].url:""},new_search(){this.search_query&&(this.$router.push({name:"search-spotify",query:{limit:3,offset:0,query:this.search_query,type:"track,artist,album,playlist,audiobook,podcast"}}),this.$refs.search_field.blur())},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_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_recent_search(e){this.search_query=e,this.new_search()},open_search_albums(){this.$router.push({name:"search-spotify",query:{query:this.$route.query.query,type:"album"}})},open_search_artists(){this.$router.push({name:"search-spotify",query:{query:this.$route.query.query,type:"artist"}})},open_search_playlists(){this.$router.push({name:"search-spotify",query:{query:this.$route.query.query,type:"playlist"}})},open_search_tracks(){this.$router.push({name:"search-spotify",query:{query:this.$route.query.query,type:"track"}})},open_track_dialog(e){this.selected_track=e,this.show_track_details_modal=!0},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:Io,this.search_param.offset=this.query.offset?this.query.offset:0,this.$store.commit(yd,this.query.query),this.search_all()},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,Io)})},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_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,Io)})},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,Io)})},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,Io)})},spotify_search(){return V.spotify().then(({data:e})=>{this.search_param.market=e.webapi_country;const t=new Yn;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)})}}},LG={class:"section pb-0"},NG={class:"container"},MG={class:"columns is-centered"},VG={class:"column is-four-fifths"},HG={class:"field"},UG={class:"control is-expanded has-icons-left"},BG=["placeholder"],jG={class:"tags mt-4"},qG=["onClick","textContent"],WG=["textContent"],GG=["onClick"],KG={class:"columns is-centered"},ZG={class:"column has-text-centered"},YG={key:0,class:"level"},JG={class:"level-item"},XG=["textContent"],QG=["textContent"],eK=["textContent"],tK=["onClick"],nK={class:"columns is-centered"},rK={class:"column has-text-centered"},sK={key:0,class:"level"},oK={class:"level-item"},iK=["textContent"],aK=["textContent"],lK=["textContent"],uK=["onClick"],cK={class:"columns is-centered"},dK={class:"column has-text-centered"},mK={key:0,class:"level"},fK={class:"level-item"},pK=["textContent"],hK=["textContent"],_K=["textContent"],gK=["onClick"],yK={class:"columns is-centered"},vK={class:"column has-text-centered"},bK={key:0,class:"level"},zK={class:"level-item"},CK=["textContent"],wK=["textContent"];function kK(e,t,n,r,s,o){const i=$("mdicon"),a=$("tabs-search"),l=$("list-item-track-spotify"),c=$("VueEternalLoading"),d=$("modal-dialog-track-spotify"),m=$("content-with-heading"),f=$("content-text"),p=$("list-item-artist-spotify"),h=$("modal-dialog-artist-spotify"),_=$("cover-artwork"),b=$("list-item-album-spotify"),C=$("modal-dialog-album-spotify"),w=$("list-item-playlist-spotify"),v=$("modal-dialog-playlist-spotify");return k(),T("div",null,[u("section",LG,[u("div",NG,[u("div",MG,[u("div",VG,[u("form",{onSubmit:t[1]||(t[1]=st((...z)=>o.new_search&&o.new_search(...z),["prevent"]))},[u("div",HG,[u("p",UG,[yt(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.spotify.search.placeholder"),autocomplete:"off"},null,8,BG),[[dn,s.search_query]]),y(i,{class:"icon is-left",name:"magnify",size:"16"})])])],32),u("div",jG,[(k(!0),T(we,null,ct(o.recent_searches,z=>(k(),T("a",{key:z,class:"tag",onClick:S=>o.open_recent_search(z),textContent:g(z)},null,8,qG))),128))])])])])]),y(a,{query:s.search_query},null,8,["query"]),o.show_tracks&&s.tracks.total?(k(),_e(m,{key:0,class:"pt-0"},{"heading-left":E(()=>[u("p",{class:"title is-4",textContent:g(e.$t("page.spotify.search.tracks"))},null,8,WG)]),content:E(()=>[(k(!0),T(we,null,ct(s.tracks.items,z=>(k(),_e(l,{key:z.id,track:z,position:0,context_uri:z.uri},{actions:E(()=>[u("a",{onClick:st(S=>o.open_track_dialog(z),["prevent","stop"])},[y(i,{class:"icon has-text-dark",name:"dots-vertical",size:"16"})],8,GG)]),_:2},1032,["track","context_uri"]))),128)),s.query.type==="track"?(k(),_e(c,{key:0,load:o.search_tracks_next},{loading:E(()=>[u("div",KG,[u("div",ZG,[y(i,{class:"icon mdi-spin",name:"loading"})])])]),"no-more":E(()=>[gt(" ")]),_:1},8,["load"])):M("",!0),y(d,{show:s.show_track_details_modal,track:s.selected_track,album:s.selected_track.album,onClose:t[2]||(t[2]=z=>s.show_track_details_modal=!1)},null,8,["show","track","album"])]),footer:E(()=>[o.show_all_tracks_button?(k(),T("nav",YG,[u("p",JG,[u("a",{class:"button is-light is-small is-rounded",onClick:t[3]||(t[3]=(...z)=>o.open_search_tracks&&o.open_search_tracks(...z)),textContent:g(e.$t("page.spotify.search.show-all-tracks",s.tracks.total,{count:e.$filters.number(s.tracks.total)}))},null,8,XG)])])):M("",!0)]),_:1})):M("",!0),o.show_tracks&&!s.tracks.total?(k(),_e(f,{key:1,class:"pt-0"},{content:E(()=>[u("p",null,[u("i",{textContent:g(e.$t("page.spotify.search.no-tracks"))},null,8,QG)])]),_:1})):M("",!0),o.show_artists&&s.artists.total?(k(),_e(m,{key:2},{"heading-left":E(()=>[u("p",{class:"title is-4",textContent:g(e.$t("page.spotify.search.artists"))},null,8,eK)]),content:E(()=>[(k(!0),T(we,null,ct(s.artists.items,z=>(k(),_e(p,{key:z.id,artist:z},{actions:E(()=>[u("a",{onClick:st(S=>o.open_artist_dialog(z),["prevent","stop"])},[y(i,{class:"icon has-text-dark",name:"dots-vertical",size:"16"})],8,tK)]),_:2},1032,["artist"]))),128)),s.query.type==="artist"?(k(),_e(c,{key:0,load:o.search_artists_next},{loading:E(()=>[u("div",nK,[u("div",rK,[y(i,{class:"icon mdi-spin",name:"loading"})])])]),"no-more":E(()=>[gt(" ")]),_:1},8,["load"])):M("",!0),y(h,{show:s.show_artist_details_modal,artist:s.selected_artist,onClose:t[4]||(t[4]=z=>s.show_artist_details_modal=!1)},null,8,["show","artist"])]),footer:E(()=>[o.show_all_artists_button?(k(),T("nav",sK,[u("p",oK,[u("a",{class:"button is-light is-small is-rounded",onClick:t[5]||(t[5]=(...z)=>o.open_search_artists&&o.open_search_artists(...z)),textContent:g(e.$t("page.spotify.search.show-all-artists",s.artists.total,{count:e.$filters.number(s.artists.total)}))},null,8,iK)])])):M("",!0)]),_:1})):M("",!0),o.show_artists&&!s.artists.total?(k(),_e(f,{key:3},{content:E(()=>[u("p",null,[u("i",{textContent:g(e.$t("page.spotify.search.no-artists"))},null,8,aK)])]),_:1})):M("",!0),o.show_albums&&s.albums.total?(k(),_e(m,{key:4},{"heading-left":E(()=>[u("p",{class:"title is-4",textContent:g(e.$t("page.spotify.search.albums"))},null,8,lK)]),content:E(()=>[(k(!0),T(we,null,ct(s.albums.items,z=>(k(),_e(b,{key:z.id,album:z,onClick:S=>o.open_album(z)},Si({actions:E(()=>[u("a",{onClick:st(S=>o.open_album_dialog(z),["prevent","stop"])},[y(i,{class:"icon has-text-dark",name:"dots-vertical",size:"16"})],8,uK)]),_:2},[o.is_visible_artwork?{name:"artwork",fn:E(()=>[y(_,{artwork_url:o.artwork_url(z),artist:z.artist,album:z.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"?(k(),_e(c,{key:0,load:o.search_albums_next},{loading:E(()=>[u("div",cK,[u("div",dK,[y(i,{class:"icon mdi-spin",name:"loading"})])])]),"no-more":E(()=>[gt(" ")]),_:1},8,["load"])):M("",!0),y(C,{show:s.show_album_details_modal,album:s.selected_album,onClose:t[6]||(t[6]=z=>s.show_album_details_modal=!1)},null,8,["show","album"])]),footer:E(()=>[o.show_all_albums_button?(k(),T("nav",mK,[u("p",fK,[u("a",{class:"button is-light is-small is-rounded",onClick:t[7]||(t[7]=(...z)=>o.open_search_albums&&o.open_search_albums(...z)),textContent:g(e.$t("page.spotify.search.show-all-albums",s.albums.total,{count:e.$filters.number(s.albums.total)}))},null,8,pK)])])):M("",!0)]),_:1})):M("",!0),o.show_albums&&!s.albums.total?(k(),_e(f,{key:5},{content:E(()=>[u("p",null,[u("i",{textContent:g(e.$t("page.spotify.search.no-albums"))},null,8,hK)])]),_:1})):M("",!0),o.show_playlists&&s.playlists.total?(k(),_e(m,{key:6},{"heading-left":E(()=>[u("p",{class:"title is-4",textContent:g(e.$t("page.spotify.search.playlists"))},null,8,_K)]),content:E(()=>[(k(!0),T(we,null,ct(s.playlists.items,z=>(k(),_e(w,{key:z.id,playlist:z},{actions:E(()=>[u("a",{onClick:st(S=>o.open_playlist_dialog(z),["prevent","stop"])},[y(i,{class:"icon has-text-dark",name:"dots-vertical",size:"16"})],8,gK)]),_:2},1032,["playlist"]))),128)),s.query.type==="playlist"?(k(),_e(c,{key:0,load:o.search_playlists_next},{loading:E(()=>[u("div",yK,[u("div",vK,[y(i,{class:"icon mdi-spin",name:"loading"})])])]),"no-more":E(()=>[gt(" ")]),_:1},8,["load"])):M("",!0),y(v,{show:s.show_playlist_details_modal,playlist:s.selected_playlist,onClose:t[8]||(t[8]=z=>s.show_playlist_details_modal=!1)},null,8,["show","playlist"])]),footer:E(()=>[o.show_all_playlists_button?(k(),T("nav",bK,[u("p",zK,[u("a",{class:"button is-light is-small is-rounded",onClick:t[9]||(t[9]=(...z)=>o.open_search_playlists&&o.open_search_playlists(...z)),textContent:g(e.$t("page.spotify.search.show-all-playlists",s.playlists.total,{count:e.$filters.number(s.playlists.total)}))},null,8,CK)])])):M("",!0)]),_:1})):M("",!0),o.show_playlists&&!s.playlists.total?(k(),_e(f,{key:7},{content:E(()=>[u("p",null,[u("i",{textContent:g(e.$t("page.spotify.search.no-playlists"))},null,8,wK)])]),_:1})):M("",!0)])}const xK=te(RG,[["render",kK]]),EK={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};V.settings_update(this.category_name,e).then(()=>{this.$store.commit(Tl,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=""}}},SK={class:"field"},$K=["id"],AK=["for"],TK=["textContent"],OK={key:0,class:"help"};function DK(e,t,n,r,s,o){return k(),T("div",SK,[yt(u("input",{id:o.option.name,"onUpdate:modelValue":t[0]||(t[0]=i=>o.option.value=i),type:"checkbox",class:"switch is-rounded mr-2",onChange:t[1]||(t[1]=(...i)=>o.update_setting&&o.update_setting(...i))},null,40,$K),[[On,o.option.value]]),u("label",{class:"pt-0",for:o.option.name},[it(e.$slots,"label")],8,AK),u("i",{class:Ee(["is-size-7",{"has-text-info":o.is_success,"has-text-danger":o.is_error}]),textContent:g(o.info)},null,10,TK),e.$slots.info?(k(),T("p",OK,[it(e.$slots,"info")])):M("",!0)])}const mb=te(EK,[["render",DK]]),PK={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)};V.settings_update(this.category.name,t).then(()=>{this.$store.commit(Tl,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=""}}},IK=["disabled"],FK={class:"field"},RK={class:"label has-text-weight-normal"},LK=["textContent"],NK={class:"control"},MK=["placeholder","value"],VK={key:0,class:"help"};function HK(e,t,n,r,s,o){return k(),T("fieldset",{disabled:n.disabled},[u("div",FK,[u("label",RK,[it(e.$slots,"label"),u("i",{class:Ee(["is-size-7",{"has-text-info":o.is_success,"has-text-danger":o.is_error}]),textContent:g(o.info)},null,10,LK)]),u("div",NK,[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]=(...i)=>o.set_update_timer&&o.set_update_timer(...i))},null,40,MK)]),e.$slots.info?(k(),T("p",VK,[it(e.$slots,"info")])):M("",!0)])],8,IK)}const UK=te(PK,[["render",HK]]),BK={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};V.settings_update(this.category.name,t).then(()=>{this.$store.commit(Tl,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=""}}},jK=["disabled"],qK={class:"field"},WK={class:"label has-text-weight-normal"},GK=["textContent"],KK={class:"control"},ZK=["placeholder","value"],YK={key:0,class:"help"};function JK(e,t,n,r,s,o){return k(),T("fieldset",{disabled:n.disabled},[u("div",qK,[u("label",WK,[it(e.$slots,"label"),u("i",{class:Ee(["is-size-7",{"has-text-info":o.is_success,"has-text-danger":o.is_error}]),textContent:g(o.info)},null,10,GK)]),u("div",KK,[u("input",{ref:"setting",class:"input",type:"text",placeholder:n.placeholder,value:o.value,onInput:t[0]||(t[0]=(...i)=>o.set_update_timer&&o.set_update_timer(...i))},null,40,ZK)]),e.$slots.info?(k(),T("p",YK,[it(e.$slots,"info")])):M("",!0)])],8,jK)}const XK=te(BK,[["render",JK]]),QK={name:"TabsSettings"},eZ={class:"section fd-tabs-section"},tZ={class:"container"},nZ={class:"columns is-centered"},rZ={class:"column is-four-fifths"},sZ={class:"tabs is-centered is-small"},oZ=["onClick","onKeypress"],iZ=["textContent"],aZ=["onClick","onKeypress"],lZ=["textContent"],uZ=["onClick","onKeypress"],cZ=["textContent"],dZ=["onClick","onKeypress"],mZ=["textContent"];function fZ(e,t,n,r,s,o){const i=$("router-link");return k(),T("section",eZ,[u("div",tZ,[u("div",nZ,[u("div",rZ,[u("div",sZ,[u("ul",null,[y(i,{to:{name:"settings-webinterface"},custom:""},{default:E(({navigate:a,isActive:l})=>[u("li",{class:Ee({"is-active":l})},[u("a",{onClick:a,onKeypress:sn(a,["enter"])},[u("span",{textContent:g(e.$t("page.settings.tabs.general"))},null,8,iZ)],40,oZ)],2)]),_:1}),y(i,{to:{name:"settings-remotes-outputs"},custom:""},{default:E(({navigate:a,isActive:l})=>[u("li",{class:Ee({"is-active":l})},[u("a",{onClick:a,onKeypress:sn(a,["enter"])},[u("span",{textContent:g(e.$t("page.settings.tabs.remotes-and-outputs"))},null,8,lZ)],40,aZ)],2)]),_:1}),y(i,{to:{name:"settings-artwork"},custom:""},{default:E(({navigate:a,isActive:l})=>[u("li",{class:Ee({"is-active":l})},[u("a",{onClick:a,onKeypress:sn(a,["enter"])},[u("span",{textContent:g(e.$t("page.settings.tabs.artwork"))},null,8,cZ)],40,uZ)],2)]),_:1}),y(i,{to:{name:"settings-online-services"},custom:""},{default:E(({navigate:a,isActive:l})=>[u("li",{class:Ee({"is-active":l})},[u("a",{onClick:a,onKeypress:sn(a,["enter"])},[u("span",{textContent:g(e.$t("page.settings.tabs.online-services"))},null,8,mZ)],40,dZ)],2)]),_:1})])])])])])])}const _u=te(QK,[["render",fZ]]),pZ={name:"PageSettingsWebinterface",components:{ContentWithHeading:et,ControlDropdown:Ss,SettingsCheckbox:mb,SettingsIntfield:UK,SettingsTextfield:XK,TabsSettings:_u},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}}},hZ={class:"fd-page-with-tabs"},_Z=["textContent"],gZ=["textContent"],yZ=["textContent"],vZ=["textContent"],bZ=["textContent"],zZ=["textContent"],CZ=["textContent"],wZ=["textContent"],kZ=["textContent"],xZ=["textContent"],EZ=["textContent"],SZ=["textContent"],$Z=["textContent"],AZ=["textContent"],TZ=["textContent"],OZ=["textContent"],DZ=["textContent"],PZ=["textContent"],IZ=["textContent"],FZ=["textContent"],RZ=["textContent"],LZ=["textContent"],NZ=["textContent"];function MZ(e,t,n,r,s,o){const i=$("tabs-settings"),a=$("control-dropdown"),l=$("content-with-heading"),c=$("settings-checkbox"),d=$("settings-textfield"),m=$("settings-intfield");return k(),T("div",hZ,[y(i),y(l,null,{"heading-left":E(()=>[u("div",{class:"title is-4",textContent:g(e.$t("page.settings.general.language"))},null,8,_Z)]),content:E(()=>[y(a,{value:o.locale,"onUpdate:value":t[0]||(t[0]=f=>o.locale=f),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,gZ)]),content:E(()=>[u("p",{class:"content",textContent:g(e.$t("page.settings.general.navigation-item-selection"))},null,8,yZ),u("div",{class:"notification is-size-7",textContent:g(e.$t("page.settings.general.navigation-item-selection-info"))},null,8,vZ),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,bZ)]),_: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,zZ)]),_: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,CZ)]),_: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,wZ)]),_: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,kZ)]),_: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,xZ)]),_: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,EZ)]),_: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,SZ)]),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,$Z)]),_: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,AZ)]),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,TZ)]),info:E(()=>[u("span",{textContent:g(e.$t("page.settings.general.show-composer-info"))},null,8,OZ)]),_: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,DZ)]),info:E(()=>[u("p",{class:"help",textContent:g(e.$t("page.settings.general.show-composer-genres-info-1"))},null,8,PZ),u("p",{class:"help",textContent:g(e.$t("page.settings.general.show-composer-genres-info-2"))},null,8,IZ),u("p",{class:"help",textContent:g(e.$t("page.settings.general.show-composer-genres-info-3"))},null,8,FZ)]),_: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,RZ)]),_: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,LZ)]),content:E(()=>[y(m,{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,NZ)]),_:1})]),_:1})])}const VZ=te(pZ,[["render",MZ]]),HZ={name:"PageSettingsArtwork",components:{ContentWithHeading:et,SettingsCheckbox:mb,TabsSettings:_u},computed:{spotify(){return this.$store.state.spotify}}},UZ={class:"fd-page-with-tabs"},BZ=["textContent"],jZ=["textContent"],qZ=["textContent"],WZ=["textContent"],GZ={href:"https://www.spotify.com/",target:"_blank"},KZ={class:"icon"},ZZ=["textContent"],YZ={href:"https://www.discogs.com/",target:"_blank"},JZ={class:"icon"},XZ=["textContent"],QZ={href:"https://coverartarchive.org/",target:"_blank"},eY={class:"icon"};function tY(e,t,n,r,s,o){const i=$("tabs-settings"),a=$("mdicon"),l=$("settings-checkbox"),c=$("content-with-heading");return k(),T("div",UZ,[y(i),y(c,null,{"heading-left":E(()=>[u("div",{class:"title is-4",textContent:g(e.$t("page.settings.artwork.artwork"))},null,8,BZ)]),content:E(()=>[u("div",{class:"content",textContent:g(e.$t("page.settings.artwork.explanation-1"))},null,8,jZ),u("div",{class:"content",textContent:g(e.$t("page.settings.artwork.explanation-2"))},null,8,qZ),o.spotify.spotify_logged_in?(k(),_e(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,WZ),u("a",GZ,[u("span",KZ,[y(a,{name:"open-in-new",size:"16"})])])]),_:1})):M("",!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,ZZ),u("a",YZ,[u("span",JZ,[y(a,{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,XZ),u("a",QZ,[u("span",eY,[y(a,{name:"open-in-new",size:"16"})])])]),_:1})]),_:1})])}const nY=te(HZ,[["render",tY]]),rY={name:"PageSettingsOnlineServices",components:{ContentWithHeading:et,TabsSettings:_u},data(){return{lastfm_login:{errors:{error:"",password:"",user:""},password:"",user:""}}},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:{login_lastfm(){V.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(){V.lastfm_logout()},logout_spotify(){V.spotify_logout()}}},sY={class:"fd-page-with-tabs"},oY=["textContent"],iY={key:0,class:"notification is-size-7"},aY=["textContent"],lY={key:1},uY={class:"notification is-size-7"},cY=["textContent"],dY={class:"mt-5"},mY=["textContent"],fY={key:0},pY=["textContent"],hY=["textContent"],_Y={key:1,class:"help is-danger"},gY=["textContent"],yY=["textContent"],vY={class:"field mt-5"},bY={class:"control"},zY=["href","textContent"],CY={class:"help"},wY=["textContent"],kY=["textContent"],xY={key:2,class:"field mt-5"},EY={class:"control"},SY=["textContent"],$Y=["textContent"],AY={key:0,class:"notification is-size-7"},TY=["textContent"],OY={key:1},DY=["textContent"],PY={key:0},IY=["textContent"],FY={key:1},RY={class:"field is-grouped"},LY={class:"control is-expanded"},NY=["placeholder"],MY=["textContent"],VY={class:"control is-expanded"},HY=["placeholder"],UY=["textContent"],BY={class:"control"},jY=["textContent"],qY=["textContent"],WY=["textContent"];function GY(e,t,n,r,s,o){const i=$("tabs-settings"),a=$("content-with-heading");return k(),T("div",sY,[y(i),y(a,null,{"heading-left":E(()=>[u("div",{class:"title is-4",textContent:g(e.$t("page.settings.services.spotify.title"))},null,8,oY)]),content:E(()=>[o.spotify.spotify_installed?M("",!0):(k(),T("div",iY,[u("p",{textContent:g(e.$t("page.settings.services.spotify.no-support"))},null,8,aY)])),o.spotify.spotify_installed?(k(),T("div",lY,[u("div",uY,[u("span",{textContent:g(e.$t("page.settings.services.spotify.requirements"))},null,8,cY)]),u("div",dY,[u("p",{class:"content",textContent:g(e.$t("page.settings.services.spotify.grant-access"))},null,8,mY),o.spotify.webapi_token_valid?(k(),T("p",fY,[u("span",{textContent:g(e.$t("page.settings.services.spotify.user"))},null,8,pY),u("code",{textContent:g(o.spotify.webapi_user)},null,8,hY)])):M("",!0),o.spotify_missing_scope.length>0?(k(),T("p",_Y,[u("span",{textContent:g(e.$t("page.settings.services.spotify.reauthorize"))},null,8,gY),u("code",{textContent:g(o.spotify_missing_scope.join())},null,8,yY)])):M("",!0),u("div",vY,[u("div",bY,[u("a",{class:Ee(["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,zY)])]),u("p",CY,[u("span",{textContent:g(e.$t("page.settings.services.spotify.scopes"))},null,8,wY),u("code",{textContent:g(o.spotify_required_scope.join(", "))},null,8,kY)]),o.spotify.webapi_token_valid?(k(),T("div",xY,[u("div",EY,[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,SY)])])):M("",!0)])])):M("",!0)]),_:1}),y(a,null,{"heading-left":E(()=>[u("div",{class:"title is-4",textContent:g(e.$t("page.settings.services.lastfm.title"))},null,8,$Y)]),content:E(()=>[o.lastfm.enabled?M("",!0):(k(),T("div",AY,[u("p",{textContent:g(e.$t("page.settings.services.lastfm.no-support"))},null,8,TY)])),o.lastfm.enabled?(k(),T("div",OY,[u("p",{class:"content",textContent:g(e.$t("page.settings.services.lastfm.grant-access"))},null,8,DY),o.lastfm.scrobbling_enabled?(k(),T("div",PY,[u("a",{class:"button is-danger",onClick:t[1]||(t[1]=(...l)=>o.logoutLastfm&&o.logoutLastfm(...l)),textContent:g(e.$t("page.settings.services.logout"))},null,8,IY)])):M("",!0),o.lastfm.scrobbling_enabled?M("",!0):(k(),T("div",FY,[u("form",{onSubmit:t[4]||(t[4]=st((...l)=>o.login_lastfm&&o.login_lastfm(...l),["prevent"]))},[u("div",RY,[u("div",LY,[yt(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,NY),[[dn,s.lastfm_login.user]]),u("p",{class:"help is-danger",textContent:g(s.lastfm_login.errors.user)},null,8,MY)]),u("div",VY,[yt(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,HY),[[dn,s.lastfm_login.password]]),u("p",{class:"help is-danger",textContent:g(s.lastfm_login.errors.password)},null,8,UY)]),u("div",BY,[u("button",{class:"button is-info",type:"submit",textContent:g(e.$t("page.settings.services.login"))},null,8,jY)])]),u("p",{class:"help is-danger",textContent:g(s.lastfm_login.errors.error)},null,8,qY),u("p",{class:"help",textContent:g(e.$t("page.settings.services.lastfm.info"))},null,8,WY)],32)]))])):M("",!0)]),_:1})])}const KY=te(rY,[["render",GY]]),ZY={name:"PageSettingsRemotesOutputs",components:{ContentWithHeading:et,TabsSettings:_u},data(){return{pairing_req:{pin:""},verification_req:{pin:""}}},computed:{outputs(){return this.$store.state.outputs},pairing(){return this.$store.state.pairing}},methods:{kickoff_pairing(){V.pairing_kickoff(this.pairing_req)},kickoff_verification(e){V.output_update(e,this.verification_req)},output_toggle(e){V.output_toggle(e)}}},YY={class:"fd-page-with-tabs"},JY=["textContent"],XY={key:0,class:"notification"},QY={class:"label has-text-weight-normal"},eJ=["textContent"],tJ=["textContent"],nJ={class:"field is-grouped"},rJ={class:"control"},sJ=["placeholder"],oJ={class:"control"},iJ=["textContent"],aJ={key:1,class:"content"},lJ=["textContent"],uJ=["textContent"],cJ=["textContent"],dJ={class:"field"},mJ={class:"control"},fJ=["id","onUpdate:modelValue","onChange"],pJ=["for","textContent"],hJ=["onSubmit"],_J={class:"field is-grouped"},gJ={class:"control"},yJ=["placeholder"],vJ={class:"control"},bJ=["textContent"];function zJ(e,t,n,r,s,o){const i=$("tabs-settings"),a=$("content-with-heading");return k(),T("div",YY,[y(i),y(a,null,{"heading-left":E(()=>[u("div",{class:"title is-4",textContent:g(e.$t("page.settings.devices.pairing"))},null,8,JY)]),content:E(()=>[o.pairing.active?(k(),T("div",XY,[u("form",{onSubmit:t[1]||(t[1]=st((...l)=>o.kickoff_pairing&&o.kickoff_pairing(...l),["prevent"]))},[u("label",QY,[u("span",{textContent:g(e.$t("page.settings.devices.pairing-request"))},null,8,eJ),u("b",{textContent:g(o.pairing.remote)},null,8,tJ)]),u("div",nJ,[u("div",rJ,[yt(u("input",{"onUpdate:modelValue":t[0]||(t[0]=l=>s.pairing_req.pin=l),class:"input",type:"text",pattern:"[\\d]{4}",placeholder:e.$t("page.settings.devices.pairing-code")},null,8,sJ),[[dn,s.pairing_req.pin]])]),u("div",oJ,[u("button",{class:"button is-info",type:"submit",textContent:g(e.$t("page.settings.devices.send"))},null,8,iJ)])])],32)])):M("",!0),o.pairing.active?M("",!0):(k(),T("div",aJ,[u("p",{textContent:g(e.$t("page.settings.devices.no-active-pairing"))},null,8,lJ)]))]),_:1}),y(a,null,{"heading-left":E(()=>[u("div",{class:"title is-4",textContent:g(e.$t("page.settings.devices.speaker-pairing"))},null,8,uJ)]),content:E(()=>[u("p",{class:"content",textContent:g(e.$t("page.settings.devices.speaker-pairing-info"))},null,8,cJ),(k(!0),T(we,null,ct(o.outputs,l=>(k(),T("div",{key:l.id},[u("div",dJ,[u("div",mJ,[yt(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,fJ),[[On,l.selected]]),u("label",{for:l.id,class:"checkbox",textContent:g(l.name)},null,8,pJ)])]),l.needs_auth_key?(k(),T("form",{key:0,class:"mb-5",onSubmit:st(c=>o.kickoff_verification(l.id),["prevent"])},[u("div",_J,[u("div",gJ,[yt(u("input",{"onUpdate:modelValue":t[2]||(t[2]=c=>s.verification_req.pin=c),class:"input",type:"text",pattern:"[\\d]{4}",placeholder:e.$t("page.settings.devices.verification-code")},null,8,yJ),[[dn,s.verification_req.pin]])]),u("div",vJ,[u("button",{class:"button is-info",type:"submit",textContent:g(e.$t("page.settings.devices.verify"))},null,8,bJ)])])],40,hJ)):M("",!0)]))),128))]),_:1})])}const CJ=te(ZY,[["render",zJ]]),Vh=140,Hh=110,fb=WO({history:lO(),routes:[{component:j3,name:"about",path:"/about"},{component:PP,meta:{show_progress:!0},name:"music-album",path:"/music/albums/:id"},{component:UI,meta:{show_progress:!0},name:"music-spotify-album",path:"/music/spotify/albums/:id"},{component:mR,meta:{has_index:!0,has_tabs:!0,show_progress:!0},name:"music-albums",path:"/music/albums"},{component:XR,meta:{has_index:!0,show_progress:!0},name:"music-artist",path:"/music/artists/:id"},{component:UL,meta:{show_progress:!0},name:"music-spotify-artist",path:"/music/spotify/artists/:id"},{component:gN,meta:{has_index:!0,has_tabs:!0,show_progress:!0},name:"music-artists",path:"/music/artists"},{component:RN,meta:{has_index:!0,show_progress:!0},name:"music-artist-tracks",path:"/music/artists/:id/tracks"},{component:qN,meta:{show_progress:!0},name:"audiobooks-album",path:"/audiobooks/albums/:id"},{component:cM,meta:{has_index:!0,has_tabs:!0,show_progress:!0},name:"audiobooks-albums",path:"/audiobooks/albums"},{component:gM,meta:{show_progress:!0},name:"audiobooks-artist",path:"/audiobooks/artists/:id"},{component:wM,meta:{has_index:!0,has_tabs:!0,show_progress:!0},name:"audiobooks-artists",path:"/audiobooks/artists"},{component:s7,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:p7,meta:{has_tabs:!0,show_progress:!0},name:"music-history",path:"/music/history"},{component:v7,meta:{has_tabs:!0,show_progress:!0},name:"music-recently-added",path:"/music/recently-added"},{component:k7,meta:{has_tabs:!0,show_progress:!0},name:"music-recently-played",path:"/music/recently-played"},{component:a9,meta:{has_tabs:!0,show_progress:!0},name:"music-spotify",path:"/music/spotify"},{component:f9,meta:{has_tabs:!0,show_progress:!0},name:"music-spotify-featured-playlists",path:"/music/spotify/featured-playlists"},{component:v9,meta:{has_tabs:!0,show_progress:!0},name:"music-spotify-new-releases",path:"/music/spotify/new-releases"},{component:G9,meta:{has_index:!0,show_progress:!0},name:"music-composer-albums",path:"/music/composers/:name/albums"},{component:iV,meta:{has_index:!0,show_progress:!0},name:"music-composer-tracks",path:"/music/composers/:name/tracks"},{component:CV,meta:{has_index:!0,has_tabs:!0,show_progress:!0},name:"music-composers",path:"/music/composers"},{component:SH,meta:{show_progress:!0},name:"files",path:"/files"},{component:LH,meta:{has_index:!0,show_progress:!0},name:"genre-albums",path:"/genres/:name/albums"},{component:YH,meta:{has_index:!0,show_progress:!0},name:"genre-tracks",path:"/genres/:name/tracks"},{component:nU,meta:{has_index:!0,has_tabs:!0,show_progress:!0},name:"music-genres",path:"/music/genres"},{component:_B,name:"now-playing",path:"/now-playing"},{name:"playlists",path:"/playlists",redirect:{name:"playlist-folder",params:{id:0}}},{component:zB,meta:{show_progress:!0},name:"playlist-folder",path:"/playlists/:id"},{component:$B,meta:{show_progress:!0},name:"playlist",path:"/playlists/:id/tracks"},{component:NB,meta:{show_progress:!0},name:"playlist-spotify",path:"/playlists/spotify/:id/tracks"},{component:YB,meta:{show_progress:!0},name:"podcast",path:"/podcasts/:id"},{component:kj,meta:{show_progress:!0},name:"podcasts",path:"/podcasts"},{component:Aj,meta:{show_progress:!0},name:"radio",path:"/radio"},{component:vW,name:"queue",path:"/"},{component:AG,name:"search-library",path:"/search/library"},{component:xK,name:"search-spotify",path:"/search/spotify"},{component:VZ,name:"settings-webinterface",path:"/settings/webinterface"},{component:nY,name:"settings-artwork",path:"/settings/artwork"},{component:KY,name:"settings-online-services",path:"/settings/online-services"},{component:CJ,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:Hh;return{behavior:"smooth",el:e.hash,top:s}}return e.hash?new Promise((s,o)=>{setTimeout(()=>{s({el:e.hash,top:120})},0)}):e.meta.has_index?new Promise((s,o)=>{const i=e.meta.has_tabs?Vh:Hh;setTimeout(()=>{s({el:"#top",top:i})},0)}):{left:0,top:0}}});fb.beforeEach((e,t,n)=>{if(He.state.show_burger_menu){He.commit(eo,!1),n(!1);return}if(He.state.show_player_menu){He.commit(to,!1),n(!1);return}n(!0)});const pb=Ug(yA).use(He).use(fb).use(B8).use(A8).use(H8,{log:!1}).use(S8,{icons:v8}).use(ru);pb.config.globalProperties.$filters=y8;pb.mount("#app");