owntone-server/htdocs/assets/index.js
Alain Nussbaumer e4f4824023 [web] Fix a warning message in the console on the "About" and "Search" pages.
When accessing the "About" and "Search", no warning is shown regarding the scope of translations.
2023-07-02 20:21:39 +02:00

49 lines
783 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)}})();function wl(e,t){const n=Object.create(null),r=e.split(",");for(let s=0;s<r.length;s++)n[r[s]]=!0;return t?s=>!!n[s.toLowerCase()]:s=>!!n[s]}const mt={},Hs=[],Vn=()=>{},N1=()=>!1,V1=/^on[^a-z]/,Ci=e=>V1.test(e),Qc=e=>e.startsWith("onUpdate:"),_t=Object.assign,ed=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},B1=Object.prototype.hasOwnProperty,rt=(e,t)=>B1.call(e,t),ke=Array.isArray,js=e=>oo(e)==="[object Map]",ys=e=>oo(e)==="[object Set]",km=e=>oo(e)==="[object Date]",H1=e=>oo(e)==="[object RegExp]",Me=e=>typeof e=="function",Ct=e=>typeof e=="string",ii=e=>typeof e=="symbol",ft=e=>e!==null&&typeof e=="object",td=e=>ft(e)&&Me(e.then)&&Me(e.catch),ph=Object.prototype.toString,oo=e=>ph.call(e),j1=e=>oo(e).slice(8,-1),hh=e=>oo(e)==="[object Object]",nd=e=>Ct(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Ho=wl(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),kl=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},U1=/-(\w)/g,on=kl(e=>e.replace(U1,(t,n)=>n?n.toUpperCase():"")),q1=/\B([A-Z])/g,En=kl(e=>e.replace(q1,"-$1").toLowerCase()),zi=kl(e=>e.charAt(0).toUpperCase()+e.slice(1)),jo=kl(e=>e?`on${zi(e)}`:""),Ks=(e,t)=>!Object.is(e,t),Us=(e,t)=>{for(let n=0;n<e.length;n++)e[n](t)},tl=(e,t,n)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},nl=e=>{const t=parseFloat(e);return isNaN(t)?e:t},rl=e=>{const t=Ct(e)?Number(e):NaN;return isNaN(t)?e:t};let xm;const Yu=()=>xm||(xm=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{}),W1="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",G1=wl(W1);function rn(e){if(ke(e)){const t={};for(let n=0;n<e.length;n++){const r=e[n],s=Ct(r)?J1(r):rn(r);if(s)for(const o in s)t[o]=s[o]}return t}else{if(Ct(e))return e;if(ft(e))return e}}const K1=/;(?![^(]*\))/g,Z1=/:([^]+)/,Y1=/\/\*[^]*?\*\//g;function J1(e){const t={};return e.replace(Y1,"").split(K1).forEach(n=>{if(n){const r=n.split(Z1);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function Te(e){let t="";if(Ct(e))t=e;else if(ke(e))for(let n=0;n<e.length;n++){const r=Te(e[n]);r&&(t+=r+" ")}else if(ft(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}function Do(e){if(!e)return null;let{class:t,style:n}=e;return t&&!Ct(t)&&(e.class=Te(t)),n&&(e.style=rn(n)),e}const X1="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",Q1=wl(X1);function _h(e){return!!e||e===""}function eb(e,t){if(e.length!==t.length)return!1;let n=!0;for(let r=0;n&&r<e.length;r++)n=Ur(e[r],t[r]);return n}function Ur(e,t){if(e===t)return!0;let n=km(e),r=km(t);if(n||r)return n&&r?e.getTime()===t.getTime():!1;if(n=ii(e),r=ii(t),n||r)return e===t;if(n=ke(e),r=ke(t),n||r)return n&&r?eb(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||!Ur(e[i],t[i]))return!1}}return String(e)===String(t)}function xl(e,t){return e.findIndex(n=>Ur(n,t))}const g=e=>Ct(e)?e:e==null?"":ke(e)||ft(e)&&(e.toString===ph||!Me(e.toString))?JSON.stringify(e,gh,2):String(e),gh=(e,t)=>t&&t.__v_isRef?gh(e,t.value):js(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,s])=>(n[`${r} =>`]=s,n),{})}:ys(t)?{[`Set(${t.size})`]:[...t.values()]}:ft(t)&&!ke(t)&&!hh(t)?String(t):t;let dn;class rd{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=dn,!t&&dn&&(this.index=(dn.scopes||(dn.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=dn;try{return dn=this,t()}finally{dn=n}}}on(){dn=this}off(){dn=this.parent}stop(t){if(this._active){let n,r;for(n=0,r=this.effects.length;n<r;n++)this.effects[n].stop();for(n=0,r=this.cleanups.length;n<r;n++)this.cleanups[n]();if(this.scopes)for(n=0,r=this.scopes.length;n<r;n++)this.scopes[n].stop(!0);if(!this.detached&&this.parent&&!t){const s=this.parent.scopes.pop();s&&s!==this&&(this.parent.scopes[this.index]=s,s.index=this.index)}this.parent=void 0,this._active=!1}}}function sd(e){return new rd(e)}function yh(e,t=dn){t&&t.active&&t.effects.push(e)}function vh(){return dn}function tb(e){dn&&dn.cleanups.push(e)}const od=e=>{const t=new Set(e);return t.w=0,t.n=0,t},bh=e=>(e.w&qr)>0,Ch=e=>(e.n&qr)>0,nb=({deps:e})=>{if(e.length)for(let t=0;t<e.length;t++)e[t].w|=qr},rb=e=>{const{deps:t}=e;if(t.length){let n=0;for(let r=0;r<t.length;r++){const s=t[r];bh(s)&&!Ch(s)?s.delete(e):t[n++]=s,s.w&=~qr,s.n&=~qr}t.length=n}},sl=new WeakMap;let Po=0,qr=1;const Ju=30;let Ln;const us=Symbol(""),Xu=Symbol("");class wi{constructor(t,n=null,r){this.fn=t,this.scheduler=n,this.active=!0,this.deps=[],this.parent=void 0,yh(this,r)}run(){if(!this.active)return this.fn();let t=Ln,n=Hr;for(;t;){if(t===this)return;t=t.parent}try{return this.parent=Ln,Ln=this,Hr=!0,qr=1<<++Po,Po<=Ju?nb(this):Em(this),this.fn()}finally{Po<=Ju&&rb(this),qr=1<<--Po,Ln=this.parent,Hr=n,this.parent=void 0,this.deferStop&&this.stop()}}stop(){Ln===this?this.deferStop=!0:this.active&&(Em(this),this.onStop&&this.onStop(),this.active=!1)}}function Em(e){const{deps:t}=e;if(t.length){for(let n=0;n<t.length;n++)t[n].delete(e);t.length=0}}function sb(e,t){e.effect&&(e=e.effect.fn);const n=new wi(e);t&&(_t(n,t),t.scope&&yh(n,t.scope)),(!t||!t.lazy)&&n.run();const r=n.run.bind(n);return r.effect=n,r}function ob(e){e.effect.stop()}let Hr=!0;const zh=[];function io(){zh.push(Hr),Hr=!1}function ao(){const e=zh.pop();Hr=e===void 0?!0:e}function an(e,t,n){if(Hr&&Ln){let r=sl.get(e);r||sl.set(e,r=new Map);let s=r.get(n);s||r.set(n,s=od()),wh(s)}}function wh(e,t){let n=!1;Po<=Ju?Ch(e)||(e.n|=qr,n=!bh(e)):n=!e.has(Ln),n&&(e.add(Ln),Ln.deps.push(e))}function Cr(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"&&ke(e)){const l=Number(r);i.forEach((c,d)=>{(d==="length"||d>=l)&&a.push(c)})}else switch(n!==void 0&&a.push(i.get(n)),t){case"add":ke(e)?nd(n)&&a.push(i.get("length")):(a.push(i.get(us)),js(e)&&a.push(i.get(Xu)));break;case"delete":ke(e)||(a.push(i.get(us)),js(e)&&a.push(i.get(Xu)));break;case"set":js(e)&&a.push(i.get(us));break}if(a.length===1)a[0]&&Qu(a[0]);else{const l=[];for(const c of a)c&&l.push(...c);Qu(od(l))}}function Qu(e,t){const n=ke(e)?e:[...e];for(const r of n)r.computed&&Sm(r);for(const r of n)r.computed||Sm(r)}function Sm(e,t){(e!==Ln||e.allowRecurse)&&(e.scheduler?e.scheduler():e.run())}function ib(e,t){var n;return(n=sl.get(e))==null?void 0:n.get(t)}const ab=wl("__proto__,__v_isRef,__isVue"),kh=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(ii)),lb=El(),ub=El(!1,!0),cb=El(!0),db=El(!0,!0),$m=mb();function mb(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const r=et(this);for(let o=0,i=this.length;o<i;o++)an(r,"get",o+"");const s=r[t](...n);return s===-1||s===!1?r[t](...n.map(et)):s}}),["push","pop","shift","unshift","splice"].forEach(t=>{e[t]=function(...n){io();const r=et(this)[t].apply(this,n);return ao(),r}}),e}function fb(e){const t=et(this);return an(t,"has",e),t.hasOwnProperty(e)}function El(e=!1,t=!1){return function(r,s,o){if(s==="__v_isReactive")return!e;if(s==="__v_isReadonly")return e;if(s==="__v_isShallow")return t;if(s==="__v_raw"&&o===(e?t?Oh:Th:t?Ah:$h).get(r))return r;const i=ke(r);if(!e){if(i&&rt($m,s))return Reflect.get($m,s,o);if(s==="hasOwnProperty")return fb}const a=Reflect.get(r,s,o);return(ii(s)?kh.has(s):ab(s))||(e||an(r,"get",s),t)?a:Ot(a)?i&&nd(s)?a:a.value:ft(a)?e?ad(a):vs(a):a}}const pb=xh(),hb=xh(!0);function xh(e=!1){return function(n,r,s,o){let i=n[r];if(hs(i)&&Ot(i)&&!Ot(s))return!1;if(!e&&(!ai(s)&&!hs(s)&&(i=et(i),s=et(s)),!ke(n)&&Ot(i)&&!Ot(s)))return i.value=s,!0;const a=ke(n)&&nd(r)?Number(r)<n.length:rt(n,r),l=Reflect.set(n,r,s,o);return n===et(o)&&(a?Ks(s,i)&&Cr(n,"set",r,s):Cr(n,"add",r,s)),l}}function _b(e,t){const n=rt(e,t);e[t];const r=Reflect.deleteProperty(e,t);return r&&n&&Cr(e,"delete",t,void 0),r}function gb(e,t){const n=Reflect.has(e,t);return(!ii(t)||!kh.has(t))&&an(e,"has",t),n}function yb(e){return an(e,"iterate",ke(e)?"length":us),Reflect.ownKeys(e)}const Eh={get:lb,set:pb,deleteProperty:_b,has:gb,ownKeys:yb},Sh={get:cb,set(e,t){return!0},deleteProperty(e,t){return!0}},vb=_t({},Eh,{get:ub,set:hb}),bb=_t({},Sh,{get:db}),id=e=>e,Sl=e=>Reflect.getPrototypeOf(e);function Bi(e,t,n=!1,r=!1){e=e.__v_raw;const s=et(e),o=et(t);n||(t!==o&&an(s,"get",t),an(s,"get",o));const{has:i}=Sl(s),a=r?id:n?cd:li;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=et(n),s=et(e);return t||(e!==s&&an(r,"has",e),an(r,"has",s)),e===s?n.has(e):n.has(e)||n.has(s)}function ji(e,t=!1){return e=e.__v_raw,!t&&an(et(e),"iterate",us),Reflect.get(e,"size",e)}function Am(e){e=et(e);const t=et(this);return Sl(t).has.call(t,e)||(t.add(e),Cr(t,"add",e,e)),this}function Tm(e,t){t=et(t);const n=et(this),{has:r,get:s}=Sl(n);let o=r.call(n,e);o||(e=et(e),o=r.call(n,e));const i=s.call(n,e);return n.set(e,t),o?Ks(t,i)&&Cr(n,"set",e,t):Cr(n,"add",e,t),this}function Om(e){const t=et(this),{has:n,get:r}=Sl(t);let s=n.call(t,e);s||(e=et(e),s=n.call(t,e)),r&&r.call(t,e);const o=t.delete(e);return s&&Cr(t,"delete",e,void 0),o}function Dm(){const e=et(this),t=e.size!==0,n=e.clear();return t&&Cr(e,"clear",void 0,void 0),n}function Ui(e,t){return function(r,s){const o=this,i=o.__v_raw,a=et(i),l=t?id:e?cd:li;return!e&&an(a,"iterate",us),i.forEach((c,d)=>r.call(s,l(c),l(d),o))}}function qi(e,t,n){return function(...r){const s=this.__v_raw,o=et(s),i=js(o),a=e==="entries"||e===Symbol.iterator&&i,l=e==="keys"&&i,c=s[e](...r),d=n?id:t?cd:li;return!t&&an(o,"iterate",l?Xu:us),{next(){const{value:f,done:m}=c.next();return m?{value:f,done:m}:{value:a?[d(f[0]),d(f[1])]:d(f),done:m}},[Symbol.iterator](){return this}}}}function xr(e){return function(...t){return e==="delete"?!1:this}}function Cb(){const e={get(o){return Bi(this,o)},get size(){return ji(this)},has:Hi,add:Am,set:Tm,delete:Om,clear:Dm,forEach:Ui(!1,!1)},t={get(o){return Bi(this,o,!1,!0)},get size(){return ji(this)},has:Hi,add:Am,set:Tm,delete:Om,clear:Dm,forEach:Ui(!1,!0)},n={get(o){return Bi(this,o,!0)},get size(){return ji(this,!0)},has(o){return Hi.call(this,o,!0)},add:xr("add"),set:xr("set"),delete:xr("delete"),clear:xr("clear"),forEach:Ui(!0,!1)},r={get(o){return Bi(this,o,!0,!0)},get size(){return ji(this,!0)},has(o){return Hi.call(this,o,!0)},add:xr("add"),set:xr("set"),delete:xr("delete"),clear:xr("clear"),forEach:Ui(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(o=>{e[o]=qi(o,!1,!1),n[o]=qi(o,!0,!1),t[o]=qi(o,!1,!0),r[o]=qi(o,!0,!0)}),[e,n,t,r]}const[zb,wb,kb,xb]=Cb();function $l(e,t){const n=t?e?xb:kb:e?wb:zb;return(r,s,o)=>s==="__v_isReactive"?!e:s==="__v_isReadonly"?e:s==="__v_raw"?r:Reflect.get(rt(n,s)&&s in r?n:r,s,o)}const Eb={get:$l(!1,!1)},Sb={get:$l(!1,!0)},$b={get:$l(!0,!1)},Ab={get:$l(!0,!0)},$h=new WeakMap,Ah=new WeakMap,Th=new WeakMap,Oh=new WeakMap;function Tb(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Ob(e){return e.__v_skip||!Object.isExtensible(e)?0:Tb(j1(e))}function vs(e){return hs(e)?e:Al(e,!1,Eh,Eb,$h)}function Dh(e){return Al(e,!1,vb,Sb,Ah)}function ad(e){return Al(e,!0,Sh,$b,Th)}function Db(e){return Al(e,!0,bb,Ab,Oh)}function Al(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=Ob(e);if(i===0)return e;const a=new Proxy(e,i===2?r:n);return s.set(e,a),a}function cs(e){return hs(e)?cs(e.__v_raw):!!(e&&e.__v_isReactive)}function hs(e){return!!(e&&e.__v_isReadonly)}function ai(e){return!!(e&&e.__v_isShallow)}function ld(e){return cs(e)||hs(e)}function et(e){const t=e&&e.__v_raw;return t?et(t):e}function ud(e){return tl(e,"__v_skip",!0),e}const li=e=>ft(e)?vs(e):e,cd=e=>ft(e)?ad(e):e;function dd(e){Hr&&Ln&&(e=et(e),wh(e.dep||(e.dep=od())))}function Tl(e,t){e=et(e);const n=e.dep;n&&Qu(n)}function Ot(e){return!!(e&&e.__v_isRef===!0)}function Kt(e){return Ih(e,!1)}function Ph(e){return Ih(e,!0)}function Ih(e,t){return Ot(e)?e:new Pb(e,t)}class Pb{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:et(t),this._value=n?t:li(t)}get value(){return dd(this),this._value}set value(t){const n=this.__v_isShallow||ai(t)||hs(t);t=n?t:et(t),Ks(t,this._rawValue)&&(this._rawValue=t,this._value=n?t:li(t),Tl(this))}}function Ib(e){Tl(e)}function hn(e){return Ot(e)?e.value:e}function Fb(e){return Me(e)?e():hn(e)}const Rb={get:(e,t,n)=>hn(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const s=e[t];return Ot(s)&&!Ot(n)?(s.value=n,!0):Reflect.set(e,t,n,r)}};function md(e){return cs(e)?e:new Proxy(e,Rb)}class Lb{constructor(t){this.dep=void 0,this.__v_isRef=!0;const{get:n,set:r}=t(()=>dd(this),()=>Tl(this));this._get=n,this._set=r}get value(){return this._get()}set value(t){this._set(t)}}function Mb(e){return new Lb(e)}function Nb(e){const t=ke(e)?new Array(e.length):{};for(const n in e)t[n]=Fh(e,n);return t}class Vb{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 ib(et(this._object),this._key)}}class Bb{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0}get value(){return this._getter()}}function Hb(e,t,n){return Ot(e)?e:Me(e)?new Bb(e):ft(e)&&arguments.length>1?Fh(e,t,n):Kt(e)}function Fh(e,t,n){const r=e[t];return Ot(r)?r:new Vb(e,t,n)}class jb{constructor(t,n,r,s){this._setter=n,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this._dirty=!0,this.effect=new wi(t,()=>{this._dirty||(this._dirty=!0,Tl(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!s,this.__v_isReadonly=r}get value(){const t=et(this);return dd(t),(t._dirty||!t._cacheable)&&(t._dirty=!1,t._value=t.effect.run()),t._value}set value(t){this._setter(t)}}function Ub(e,t,n=!1){let r,s;const o=Me(e);return o?(r=e,s=Vn):(r=e.get,s=e.set),new jb(r,s,o||!s,n)}function qb(e,...t){}function Wb(e,t){}function yr(e,t,n,r){let s;try{s=r?e(...r):e()}catch(o){bs(o,t,n)}return s}function yn(e,t,n,r){if(Me(e)){const o=yr(e,t,n,r);return o&&td(o)&&o.catch(i=>{bs(i,t,n)}),o}const s=[];for(let o=0;o<e.length;o++)s.push(yn(e[o],t,n,r));return s}function bs(e,t,n,r=!0){const s=t?t.vnode:null;if(t){let o=t.parent;const i=t.proxy,a=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){yr(l,null,10,[e,i,a]);return}}Gb(e,n,s,r)}function Gb(e,t,n,r=!0){console.error(e)}let ui=!1,ec=!1;const Ht=[];let Qn=0;const qs=[];let hr=null,is=0;const Rh=Promise.resolve();let fd=null;function ki(e){const t=fd||Rh;return e?t.then(this?e.bind(this):e):t}function Kb(e){let t=Qn+1,n=Ht.length;for(;t<n;){const r=t+n>>>1;ci(Ht[r])<e?t=r+1:n=r}return t}function Ol(e){(!Ht.length||!Ht.includes(e,ui&&e.allowRecurse?Qn+1:Qn))&&(e.id==null?Ht.push(e):Ht.splice(Kb(e.id),0,e),Lh())}function Lh(){!ui&&!ec&&(ec=!0,fd=Rh.then(Mh))}function Zb(e){const t=Ht.indexOf(e);t>Qn&&Ht.splice(t,1)}function pd(e){ke(e)?qs.push(...e):(!hr||!hr.includes(e,e.allowRecurse?is+1:is))&&qs.push(e),Lh()}function Pm(e,t=ui?Qn+1:0){for(;t<Ht.length;t++){const n=Ht[t];n&&n.pre&&(Ht.splice(t,1),t--,n())}}function ol(e){if(qs.length){const t=[...new Set(qs)];if(qs.length=0,hr){hr.push(...t);return}for(hr=t,hr.sort((n,r)=>ci(n)-ci(r)),is=0;is<hr.length;is++)hr[is]();hr=null,is=0}}const ci=e=>e.id==null?1/0:e.id,Yb=(e,t)=>{const n=ci(e)-ci(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function Mh(e){ec=!1,ui=!0,Ht.sort(Yb);const t=Vn;try{for(Qn=0;Qn<Ht.length;Qn++){const n=Ht[Qn];n&&n.active!==!1&&yr(n,null,14)}}finally{Qn=0,Ht.length=0,ol(),ui=!1,fd=null,(Ht.length||qs.length)&&Mh()}}let Ps,Wi=[];function Nh(e,t){var n,r;Ps=e,Ps?(Ps.enabled=!0,Wi.forEach(({event:s,args:o})=>Ps.emit(s,...o)),Wi=[]):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=>{Nh(o,t)}),setTimeout(()=>{Ps||(t.__VUE_DEVTOOLS_HOOK_REPLAY__=null,Wi=[])},3e3)):Wi=[]}function Jb(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||mt;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:f,trim:m}=r[d]||mt;m&&(s=n.map(p=>Ct(p)?p.trim():p)),f&&(s=n.map(nl))}let a,l=r[a=jo(t)]||r[a=jo(on(t))];!l&&o&&(l=r[a=jo(En(t))]),l&&yn(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,yn(c,e,6,s)}}function Vh(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(!Me(e)){const l=c=>{const d=Vh(c,t,!0);d&&(a=!0,_t(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):(ke(o)?o.forEach(l=>i[l]=null):_t(i,o),ft(e)&&r.set(e,i),i)}function Dl(e,t){return!e||!Ci(t)?!1:(t=t.slice(2).replace(/Once$/,""),rt(e,t[0].toLowerCase()+t.slice(1))||rt(e,En(t))||rt(e,t))}let Lt=null,Pl=null;function di(e){const t=Lt;return Lt=e,Pl=e&&e.type.__scopeId||null,t}function Xb(e){Pl=e}function Qb(){Pl=null}const e0=e=>E;function E(e,t=Lt,n){if(!t||e._n)return e;const r=(...s)=>{r._d&&ac(-1);const o=di(t);let i;try{i=e(...s)}finally{di(o),r._d&&ac(1)}return i};return r._n=!0,r._c=!0,r._d=!0,r}function Ha(e){const{type:t,vnode:n,proxy:r,withProxy:s,props:o,propsOptions:[i],slots:a,attrs:l,emit:c,render:d,renderCache:f,data:m,setupState:p,ctx:h,inheritAttrs:_}=e;let C,b;const y=di(e);try{if(n.shapeFlag&4){const z=s||r;C=mn(d.call(z,z,f,o,p,m,h)),b=l}else{const z=t;C=mn(z.length>1?z(o,{attrs:l,slots:a,emit:c}):z(o,null)),b=t.props?l:n0(l)}}catch(z){Go.length=0,bs(z,e,1),C=v(qt)}let k=C;if(b&&_!==!1){const z=Object.keys(b),{shapeFlag:x}=k;z.length&&x&7&&(i&&z.some(Qc)&&(b=r0(b,i)),k=ir(k,b))}return n.dirs&&(k=ir(k),k.dirs=k.dirs?k.dirs.concat(n.dirs):n.dirs),n.transition&&(k.transition=n.transition),C=k,di(y),C}function t0(e){let t;for(let n=0;n<e.length;n++){const r=e[n];if(Gr(r)){if(r.type!==qt||r.children==="v-if"){if(t)return;t=r}}else return}return t}const n0=e=>{let t;for(const n in e)(n==="class"||n==="style"||Ci(n))&&((t||(t={}))[n]=e[n]);return t},r0=(e,t)=>{const n={};for(const r in e)(!Qc(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function s0(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?Im(r,i,c):!!i;if(l&8){const d=t.dynamicProps;for(let f=0;f<d.length;f++){const m=d[f];if(i[m]!==r[m]&&!Dl(c,m))return!0}}}else return(s||a)&&(!a||!a.$stable)?!0:r===i?!1:r?i?Im(r,i,c):!0:!!i;return!1}function Im(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]&&!Dl(n,o))return!0}return!1}function hd({vnode:e,parent:t},n){for(;t&&t.subTree===e;)(e=t.vnode).el=n,t=t.parent}const Bh=e=>e.__isSuspense,o0={name:"Suspense",__isSuspense:!0,process(e,t,n,r,s,o,i,a,l,c){e==null?a0(t,n,r,s,o,i,a,l,c):l0(e,t,n,r,s,i,a,l,c)},hydrate:u0,create:_d,normalize:c0},i0=o0;function mi(e,t){const n=e.props&&e.props[t];Me(n)&&n()}function a0(e,t,n,r,s,o,i,a,l){const{p:c,o:{createElement:d}}=l,f=d("div"),m=e.suspense=_d(e,s,r,t,f,n,o,i,a,l);c(null,m.pendingBranch=e.ssContent,f,null,r,m,o,i),m.deps>0?(mi(e,"onPending"),mi(e,"onFallback"),c(null,e.ssFallback,t,n,r,null,o,i),Ws(m,e.ssFallback)):m.resolve(!1,!0)}function l0(e,t,n,r,s,o,i,a,{p:l,um:c,o:{createElement:d}}){const f=t.suspense=e.suspense;f.vnode=t,t.el=e.el;const m=t.ssContent,p=t.ssFallback,{activeBranch:h,pendingBranch:_,isInFallback:C,isHydrating:b}=f;if(_)f.pendingBranch=m,Mn(m,_)?(l(_,m,f.hiddenContainer,null,s,f,o,i,a),f.deps<=0?f.resolve():C&&(l(h,p,n,r,s,null,o,i,a),Ws(f,p))):(f.pendingId++,b?(f.isHydrating=!1,f.activeBranch=_):c(_,s,f),f.deps=0,f.effects.length=0,f.hiddenContainer=d("div"),C?(l(null,m,f.hiddenContainer,null,s,f,o,i,a),f.deps<=0?f.resolve():(l(h,p,n,r,s,null,o,i,a),Ws(f,p))):h&&Mn(m,h)?(l(h,m,n,r,s,f,o,i,a),f.resolve(!0)):(l(null,m,f.hiddenContainer,null,s,f,o,i,a),f.deps<=0&&f.resolve()));else if(h&&Mn(m,h))l(h,m,n,r,s,f,o,i,a),Ws(f,m);else if(mi(t,"onPending"),f.pendingBranch=m,f.pendingId++,l(null,m,f.hiddenContainer,null,s,f,o,i,a),f.deps<=0)f.resolve();else{const{timeout:y,pendingId:k}=f;y>0?setTimeout(()=>{f.pendingId===k&&f.fallback(p)},y):y===0&&f.fallback(p)}}function _d(e,t,n,r,s,o,i,a,l,c,d=!1){const{p:f,m,um:p,n:h,o:{parentNode:_,remove:C}}=c;let b;const y=d0(e);y&&t!=null&&t.pendingBranch&&(b=t.pendingId,t.deps++);const k=e.props?rl(e.props.timeout):void 0,z={vnode:e,parent:t,parentComponent:n,isSVG:i,container:r,hiddenContainer:s,anchor:o,deps:0,pendingId:0,timeout:typeof k=="number"?k:-1,activeBranch:null,pendingBranch:null,isInFallback:!0,isHydrating:d,isUnmounted:!1,effects:[],resolve(x=!1,T=!1){const{vnode:L,activeBranch:I,pendingBranch:D,pendingId:U,effects:Z,parentComponent:X,container:j}=z;if(z.isHydrating)z.isHydrating=!1;else if(!x){const te=I&&D.transition&&D.transition.mode==="out-in";te&&(I.transition.afterLeave=()=>{U===z.pendingId&&m(D,j,ie,0)});let{anchor:ie}=z;I&&(ie=h(I),p(I,X,z,!0)),te||m(D,j,ie,0)}Ws(z,D),z.pendingBranch=null,z.isInFallback=!1;let q=z.parent,Ce=!1;for(;q;){if(q.pendingBranch){q.effects.push(...Z),Ce=!0;break}q=q.parent}Ce||pd(Z),z.effects=[],y&&t&&t.pendingBranch&&b===t.pendingId&&(t.deps--,t.deps===0&&!T&&t.resolve()),mi(L,"onResolve")},fallback(x){if(!z.pendingBranch)return;const{vnode:T,activeBranch:L,parentComponent:I,container:D,isSVG:U}=z;mi(T,"onFallback");const Z=h(L),X=()=>{z.isInFallback&&(f(null,x,D,Z,I,null,U,a,l),Ws(z,x))},j=x.transition&&x.transition.mode==="out-in";j&&(L.transition.afterLeave=X),z.isInFallback=!0,p(L,I,null,!0),j||X()},move(x,T,L){z.activeBranch&&m(z.activeBranch,x,T,L),z.container=x},next(){return z.activeBranch&&h(z.activeBranch)},registerDep(x,T){const L=!!z.pendingBranch;L&&z.deps++;const I=x.vnode.el;x.asyncDep.catch(D=>{bs(D,x,0)}).then(D=>{if(x.isUnmounted||z.isUnmounted||z.pendingId!==x.suspenseId)return;x.asyncResolved=!0;const{vnode:U}=x;lc(x,D,!1),I&&(U.el=I);const Z=!I&&x.subTree.el;T(x,U,_(I||x.subTree.el),I?null:h(x.subTree),z,i,l),Z&&C(Z),hd(x,U.el),L&&--z.deps===0&&z.resolve()})},unmount(x,T){z.isUnmounted=!0,z.activeBranch&&p(z.activeBranch,n,x,T),z.pendingBranch&&p(z.pendingBranch,n,x,T)}};return z}function u0(e,t,n,r,s,o,i,a,l){const c=t.suspense=_d(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 c0(e){const{shapeFlag:t,children:n}=e,r=t&32;e.ssContent=Fm(r?n.default:n),e.ssFallback=r?Fm(n.fallback):v(qt)}function Fm(e){let t;if(Me(e)){const n=gs&&e._c;n&&(e._d=!1,w()),e=e(),n&&(e._d=!0,t=sn,y_())}return ke(e)&&(e=t0(e)),e=mn(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter(n=>n!==e)),e}function Hh(e,t){t&&t.pendingBranch?ke(e)?t.effects.push(...e):t.effects.push(e):pd(e)}function Ws(e,t){e.activeBranch=t;const{vnode:n,parentComponent:r}=e,s=n.el=t.el;r&&r.subTree===n&&(r.vnode.el=s,hd(r,s))}function d0(e){var t;return((t=e.props)==null?void 0:t.suspensible)!=null&&e.props.suspensible!==!1}function jh(e,t){return xi(e,null,t)}function Uh(e,t){return xi(e,null,{flush:"post"})}function m0(e,t){return xi(e,null,{flush:"sync"})}const Gi={};function Xt(e,t,n){return xi(e,t,n)}function xi(e,t,{immediate:n,deep:r,flush:s,onTrack:o,onTrigger:i}=mt){var a;const l=vh()===((a=Tt)==null?void 0:a.scope)?Tt:null;let c,d=!1,f=!1;if(Ot(e)?(c=()=>e.value,d=ai(e)):cs(e)?(c=()=>e,r=!0):ke(e)?(f=!0,d=e.some(z=>cs(z)||ai(z)),c=()=>e.map(z=>{if(Ot(z))return z.value;if(cs(z))return ls(z);if(Me(z))return yr(z,l,2)})):Me(e)?t?c=()=>yr(e,l,2):c=()=>{if(!(l&&l.isUnmounted))return m&&m(),yn(e,l,3,[p])}:c=Vn,t&&r){const z=c;c=()=>ls(z())}let m,p=z=>{m=y.onStop=()=>{yr(z,l,4)}},h;if(Ys)if(p=Vn,t?n&&yn(t,l,3,[c(),f?[]:void 0,p]):c(),s==="sync"){const z=$_();h=z.__watcherHandles||(z.__watcherHandles=[])}else return Vn;let _=f?new Array(e.length).fill(Gi):Gi;const C=()=>{if(y.active)if(t){const z=y.run();(r||d||(f?z.some((x,T)=>Ks(x,_[T])):Ks(z,_)))&&(m&&m(),yn(t,l,3,[z,_===Gi?void 0:f&&_[0]===Gi?[]:_,p]),_=z)}else y.run()};C.allowRecurse=!!t;let b;s==="sync"?b=C:s==="post"?b=()=>Vt(C,l&&l.suspense):(C.pre=!0,l&&(C.id=l.uid),b=()=>Ol(C));const y=new wi(c,b);t?n?C():_=y.run():s==="post"?Vt(y.run.bind(y),l&&l.suspense):y.run();const k=()=>{y.stop(),l&&l.scope&&ed(l.scope.effects,y)};return h&&h.push(k),k}function f0(e,t,n){const r=this.proxy,s=Ct(e)?e.includes(".")?qh(r,e):()=>r[e]:e.bind(r,r);let o;Me(t)?o=t:(o=t.handler,n=t);const i=Tt;Kr(this);const a=xi(s,o.bind(r),n);return i?Kr(i):jr(),a}function qh(e,t){const n=t.split(".");return()=>{let r=e;for(let s=0;s<n.length&&r;s++)r=r[n[s]];return r}}function ls(e,t){if(!ft(e)||e.__v_skip||(t=t||new Set,t.has(e)))return e;if(t.add(e),Ot(e))ls(e.value,t);else if(ke(e))for(let n=0;n<e.length;n++)ls(e[n],t);else if(ys(e)||js(e))e.forEach(n=>{ls(n,t)});else if(hh(e))for(const n in e)ls(e[n],t);return e}function ut(e,t){const n=Lt;if(n===null)return e;const r=Nl(n)||n.proxy,s=e.dirs||(e.dirs=[]);for(let o=0;o<t.length;o++){let[i,a,l,c=mt]=t[o];i&&(Me(i)&&(i={mounted:i,updated:i}),i.deep&&ls(a),s.push({dir:i,instance:r,value:a,oldValue:void 0,arg:l,modifiers:c}))}return e}function Yn(e,t,n,r){const s=e.dirs,o=t&&t.dirs;for(let i=0;i<s.length;i++){const a=s[i];o&&(a.oldValue=o[i].value);let l=a.dir[r];l&&(io(),yn(l,n,8,[e.el,a,e,t]),ao())}}function gd(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return uo(()=>{e.isMounted=!0}),Ll(()=>{e.isUnmounting=!0}),e}const zn=[Function,Array],yd={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:zn,onEnter:zn,onAfterEnter:zn,onEnterCancelled:zn,onBeforeLeave:zn,onLeave:zn,onAfterLeave:zn,onLeaveCancelled:zn,onBeforeAppear:zn,onAppear:zn,onAfterAppear:zn,onAppearCancelled:zn},p0={name:"BaseTransition",props:yd,setup(e,{slots:t}){const n=On(),r=gd();let s;return()=>{const o=t.default&&Il(t.default(),!0);if(!o||!o.length)return;let i=o[0];if(o.length>1){for(const _ of o)if(_.type!==qt){i=_;break}}const a=et(e),{mode:l}=a;if(r.isLeaving)return cu(i);const c=Rm(i);if(!c)return cu(i);const d=Zs(c,a,r,n);_s(c,d);const f=n.subTree,m=f&&Rm(f);let p=!1;const{getTransitionKey:h}=c.type;if(h){const _=h();s===void 0?s=_:_!==s&&(s=_,p=!0)}if(m&&m.type!==qt&&(!Mn(c,m)||p)){const _=Zs(m,a,r,n);if(_s(m,_),l==="out-in")return r.isLeaving=!0,_.afterLeave=()=>{r.isLeaving=!1,n.update.active!==!1&&n.update()},cu(i);l==="in-out"&&c.type!==qt&&(_.delayLeave=(C,b,y)=>{const k=Gh(r,m);k[String(m.key)]=m,C._leaveCb=()=>{b(),C._leaveCb=void 0,delete d.delayedLeave},d.delayedLeave=y})}return i}}},Wh=p0;function Gh(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 Zs(e,t,n,r){const{appear:s,mode:o,persisted:i=!1,onBeforeEnter:a,onEnter:l,onAfterEnter:c,onEnterCancelled:d,onBeforeLeave:f,onLeave:m,onAfterLeave:p,onLeaveCancelled:h,onBeforeAppear:_,onAppear:C,onAfterAppear:b,onAppearCancelled:y}=t,k=String(e.key),z=Gh(n,e),x=(I,D)=>{I&&yn(I,r,9,D)},T=(I,D)=>{const U=D[1];x(I,D),ke(I)?I.every(Z=>Z.length<=1)&&U():I.length<=1&&U()},L={mode:o,persisted:i,beforeEnter(I){let D=a;if(!n.isMounted)if(s)D=_||a;else return;I._leaveCb&&I._leaveCb(!0);const U=z[k];U&&Mn(e,U)&&U.el._leaveCb&&U.el._leaveCb(),x(D,[I])},enter(I){let D=l,U=c,Z=d;if(!n.isMounted)if(s)D=C||l,U=b||c,Z=y||d;else return;let X=!1;const j=I._enterCb=q=>{X||(X=!0,q?x(Z,[I]):x(U,[I]),L.delayedLeave&&L.delayedLeave(),I._enterCb=void 0)};D?T(D,[I,j]):j()},leave(I,D){const U=String(e.key);if(I._enterCb&&I._enterCb(!0),n.isUnmounting)return D();x(f,[I]);let Z=!1;const X=I._leaveCb=j=>{Z||(Z=!0,D(),j?x(h,[I]):x(p,[I]),I._leaveCb=void 0,z[U]===e&&delete z[U])};z[U]=e,m?T(m,[I,X]):X()},clone(I){return Zs(I,t,n,r)}};return L}function cu(e){if(Ei(e))return e=ir(e),e.children=null,e}function Rm(e){return Ei(e)?e.children?e.children[0]:void 0:e}function _s(e,t){e.shapeFlag&6&&e.component?_s(e.component.subTree,t):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function Il(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===Oe?(i.patchFlag&128&&s++,r=r.concat(Il(i.children,t,a))):(t||i.type!==qt)&&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}function lo(e,t){return Me(e)?(()=>_t({name:e.name},t,{setup:e}))():e}const ds=e=>!!e.type.__asyncLoader;function h0(e){Me(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 f=()=>(d++,l=null,m()),m=()=>{let p;return l||(p=l=t().catch(h=>{if(h=h instanceof Error?h:new Error(String(h)),a)return new Promise((_,C)=>{a(h,()=>_(f()),()=>C(h),d+1)});throw h}).then(h=>p!==l&&l?l:(h&&(h.__esModule||h[Symbol.toStringTag]==="Module")&&(h=h.default),c=h,h)))};return lo({name:"AsyncComponentWrapper",__asyncLoader:m,get __asyncResolved(){return c},setup(){const p=Tt;if(c)return()=>du(c,p);const h=y=>{l=null,bs(y,p,13,!r)};if(i&&p.suspense||Ys)return m().then(y=>()=>du(y,p)).catch(y=>(h(y),()=>r?v(r,{error:y}):null));const _=Kt(!1),C=Kt(),b=Kt(!!s);return s&&setTimeout(()=>{b.value=!1},s),o!=null&&setTimeout(()=>{if(!_.value&&!C.value){const y=new Error(`Async component timed out after ${o}ms.`);h(y),C.value=y}},o),m().then(()=>{_.value=!0,p.parent&&Ei(p.parent.vnode)&&Ol(p.parent.update)}).catch(y=>{h(y),C.value=y}),()=>{if(_.value&&c)return du(c,p);if(C.value&&r)return v(r,{error:C.value});if(n&&!b.value)return v(n)}}})}function du(e,t){const{ref:n,props:r,children:s,ce:o}=t.vnode,i=v(e,r,s);return i.ref=n,i.ce=o,delete t.vnode.ce,i}const Ei=e=>e.type.__isKeepAlive,_0={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){const n=On(),r=n.ctx;if(!r.renderer)return()=>{const y=t.default&&t.default();return y&&y.length===1?y[0]:y};const s=new Map,o=new Set;let i=null;const a=n.suspense,{renderer:{p:l,m:c,um:d,o:{createElement:f}}}=r,m=f("div");r.activate=(y,k,z,x,T)=>{const L=y.component;c(y,k,z,0,a),l(L.vnode,y,k,z,L,a,x,y.slotScopeIds,T),Vt(()=>{L.isDeactivated=!1,L.a&&Us(L.a);const I=y.props&&y.props.onVnodeMounted;I&&nn(I,L.parent,y)},a)},r.deactivate=y=>{const k=y.component;c(y,m,null,1,a),Vt(()=>{k.da&&Us(k.da);const z=y.props&&y.props.onVnodeUnmounted;z&&nn(z,k.parent,y),k.isDeactivated=!0},a)};function p(y){mu(y),d(y,n,a,!0)}function h(y){s.forEach((k,z)=>{const x=cc(k.type);x&&(!y||!y(x))&&_(z)})}function _(y){const k=s.get(y);!i||!Mn(k,i)?p(k):i&&mu(i),s.delete(y),o.delete(y)}Xt(()=>[e.include,e.exclude],([y,k])=>{y&&h(z=>Io(y,z)),k&&h(z=>!Io(k,z))},{flush:"post",deep:!0});let C=null;const b=()=>{C!=null&&s.set(C,fu(n.subTree))};return uo(b),Rl(b),Ll(()=>{s.forEach(y=>{const{subTree:k,suspense:z}=n,x=fu(k);if(y.type===x.type&&y.key===x.key){mu(x);const T=x.component.da;T&&Vt(T,z);return}p(y)})}),()=>{if(C=null,!t.default)return null;const y=t.default(),k=y[0];if(y.length>1)return i=null,y;if(!Gr(k)||!(k.shapeFlag&4)&&!(k.shapeFlag&128))return i=null,k;let z=fu(k);const x=z.type,T=cc(ds(z)?z.type.__asyncResolved||{}:x),{include:L,exclude:I,max:D}=e;if(L&&(!T||!Io(L,T))||I&&T&&Io(I,T))return i=z,k;const U=z.key==null?x:z.key,Z=s.get(U);return z.el&&(z=ir(z),k.shapeFlag&128&&(k.ssContent=z)),C=U,Z?(z.el=Z.el,z.component=Z.component,z.transition&&_s(z,z.transition),z.shapeFlag|=512,o.delete(U),o.add(U)):(o.add(U),D&&o.size>parseInt(D,10)&&_(o.values().next().value)),z.shapeFlag|=256,i=z,Bh(k.type)?k:z}}},g0=_0;function Io(e,t){return ke(e)?e.some(n=>Io(n,t)):Ct(e)?e.split(",").includes(t):H1(e)?e.test(t):!1}function Kh(e,t){Yh(e,"a",t)}function Zh(e,t){Yh(e,"da",t)}function Yh(e,t,n=Tt){const r=e.__wdc||(e.__wdc=()=>{let s=n;for(;s;){if(s.isDeactivated)return;s=s.parent}return e()});if(Fl(t,r,n),n){let s=n.parent;for(;s&&s.parent;)Ei(s.parent.vnode)&&y0(r,t,n,s),s=s.parent}}function y0(e,t,n,r){const s=Fl(t,e,r,!0);Si(()=>{ed(r[t],s)},n)}function mu(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function fu(e){return e.shapeFlag&128?e.ssContent:e}function Fl(e,t,n=Tt,r=!1){if(n){const s=n[e]||(n[e]=[]),o=t.__weh||(t.__weh=(...i)=>{if(n.isUnmounted)return;io(),Kr(n);const a=yn(t,n,e,i);return jr(),ao(),a});return r?s.unshift(o):s.push(o),o}}const wr=e=>(t,n=Tt)=>(!Ys||e==="sp")&&Fl(e,(...r)=>t(...r),n),Jh=wr("bm"),uo=wr("m"),Xh=wr("bu"),Rl=wr("u"),Ll=wr("bum"),Si=wr("um"),Qh=wr("sp"),e_=wr("rtg"),t_=wr("rtc");function n_(e,t=Tt){Fl("ec",e,t)}const vd="components",v0="directives";function S(e,t){return Cd(vd,e,!0,t)||e}const r_=Symbol.for("v-ndc");function s_(e){return Ct(e)?Cd(vd,e,!1)||e:e||r_}function bd(e){return Cd(v0,e)}function Cd(e,t,n=!0,r=!1){const s=Lt||Tt;if(s){const o=s.type;if(e===vd){const a=cc(o,!1);if(a&&(a===t||a===on(t)||a===zi(on(t))))return o}const i=Lm(s[e]||o[e],t)||Lm(s.appContext[e],t);return!i&&r?o:i}}function Lm(e,t){return e&&(e[t]||e[on(t)]||e[zi(on(t))])}function pt(e,t,n,r){let s;const o=n&&n[r];if(ke(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 $i(e,t){for(let n=0;n<t.length;n++){const r=t[n];if(ke(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 lt(e,t,n={},r,s){if(Lt.isCE||Lt.parent&&ds(Lt.parent)&&Lt.parent.isCE)return t!=="default"&&(n.name=t),v("slot",n,r&&r());let o=e[t];o&&o._c&&(o._d=!1),w();const i=o&&o_(o(n)),a=be(Oe,{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 o_(e){return e.some(t=>Gr(t)?!(t.type===qt||t.type===Oe&&!o_(t.children)):!0)?e:null}function b0(e,t){const n={};for(const r in e)n[t&&/[A-Z]/.test(r)?`on:${r}`:jo(r)]=e[r];return n}const tc=e=>e?w_(e)?Nl(e)||e.proxy:tc(e.parent):null,Uo=_t(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=>tc(e.parent),$root:e=>tc(e.root),$emit:e=>e.emit,$options:e=>zd(e),$forceUpdate:e=>e.f||(e.f=()=>Ol(e.update)),$nextTick:e=>e.n||(e.n=ki.bind(e.proxy)),$watch:e=>f0.bind(e)}),pu=(e,t)=>e!==mt&&!e.__isScriptSetup&&rt(e,t),nc={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(pu(r,t))return i[t]=1,r[t];if(s!==mt&&rt(s,t))return i[t]=2,s[t];if((c=e.propsOptions[0])&&rt(c,t))return i[t]=3,o[t];if(n!==mt&&rt(n,t))return i[t]=4,n[t];rc&&(i[t]=0)}}const d=Uo[t];let f,m;if(d)return t==="$attrs"&&an(e,"get",t),d(e);if((f=a.__cssModules)&&(f=f[t]))return f;if(n!==mt&&rt(n,t))return i[t]=4,n[t];if(m=l.config.globalProperties,rt(m,t))return m[t]},set({_:e},t,n){const{data:r,setupState:s,ctx:o}=e;return pu(s,t)?(s[t]=n,!0):r!==mt&&rt(r,t)?(r[t]=n,!0):rt(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!==mt&&rt(e,i)||pu(t,i)||(a=o[0])&&rt(a,i)||rt(r,i)||rt(Uo,i)||rt(s.config.globalProperties,i)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:rt(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}},C0=_t({},nc,{get(e,t){if(t!==Symbol.unscopables)return nc.get(e,t,e)},has(e,t){return t[0]!=="_"&&!G1(t)}});function z0(){return null}function w0(){return null}function k0(e){}function x0(e){}function E0(){return null}function S0(){}function $0(e,t){return null}function A0(){return i_().slots}function T0(){return i_().attrs}function O0(e,t,n){const r=On();if(n&&n.local){const s=Kt(e[t]);return Xt(()=>e[t],o=>s.value=o),Xt(s,o=>{o!==e[t]&&r.emit(`update:${t}`,o)}),s}else return{__v_isRef:!0,get value(){return e[t]},set value(s){r.emit(`update:${t}`,s)}}}function i_(){const e=On();return e.setupContext||(e.setupContext=E_(e))}function fi(e){return ke(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}function D0(e,t){const n=fi(e);for(const r in t){if(r.startsWith("__skip"))continue;let s=n[r];s?ke(s)||Me(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 P0(e,t){return!e||!t?e||t:ke(e)&&ke(t)?e.concat(t):_t({},fi(e),fi(t))}function I0(e,t){const n={};for(const r in e)t.includes(r)||Object.defineProperty(n,r,{enumerable:!0,get:()=>e[r]});return n}function F0(e){const t=On();let n=e();return jr(),td(n)&&(n=n.catch(r=>{throw Kr(t),r})),[n,()=>Kr(t)]}let rc=!0;function R0(e){const t=zd(e),n=e.proxy,r=e.ctx;rc=!1,t.beforeCreate&&Mm(t.beforeCreate,e,"bc");const{data:s,computed:o,methods:i,watch:a,provide:l,inject:c,created:d,beforeMount:f,mounted:m,beforeUpdate:p,updated:h,activated:_,deactivated:C,beforeDestroy:b,beforeUnmount:y,destroyed:k,unmounted:z,render:x,renderTracked:T,renderTriggered:L,errorCaptured:I,serverPrefetch:D,expose:U,inheritAttrs:Z,components:X,directives:j,filters:q}=t;if(c&&L0(c,r,null),i)for(const ie in i){const ye=i[ie];Me(ye)&&(r[ie]=ye.bind(n))}if(s){const ie=s.call(n,n);ft(ie)&&(e.data=vs(ie))}if(rc=!0,o)for(const ie in o){const ye=o[ie],je=Me(ye)?ye.bind(n,n):Me(ye.get)?ye.get.bind(n,n):Vn,it=!Me(ye)&&Me(ye.set)?ye.set.bind(n):Vn,ce=Ft({get:je,set:it});Object.defineProperty(r,ie,{enumerable:!0,configurable:!0,get:()=>ce.value,set:W=>ce.value=W})}if(a)for(const ie in a)a_(a[ie],r,n,ie);if(l){const ie=Me(l)?l.call(n):l;Reflect.ownKeys(ie).forEach(ye=>{qo(ye,ie[ye])})}d&&Mm(d,e,"c");function te(ie,ye){ke(ye)?ye.forEach(je=>ie(je.bind(n))):ye&&ie(ye.bind(n))}if(te(Jh,f),te(uo,m),te(Xh,p),te(Rl,h),te(Kh,_),te(Zh,C),te(n_,I),te(t_,T),te(e_,L),te(Ll,y),te(Si,z),te(Qh,D),ke(U))if(U.length){const ie=e.exposed||(e.exposed={});U.forEach(ye=>{Object.defineProperty(ie,ye,{get:()=>n[ye],set:je=>n[ye]=je})})}else e.exposed||(e.exposed={});x&&e.render===Vn&&(e.render=x),Z!=null&&(e.inheritAttrs=Z),X&&(e.components=X),j&&(e.directives=j)}function L0(e,t,n=Vn){ke(e)&&(e=sc(e));for(const r in e){const s=e[r];let o;ft(s)?"default"in s?o=Bn(s.from||r,s.default,!0):o=Bn(s.from||r):o=Bn(s),Ot(o)?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>o.value,set:i=>o.value=i}):t[r]=o}}function Mm(e,t,n){yn(ke(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function a_(e,t,n,r){const s=r.includes(".")?qh(n,r):()=>n[r];if(Ct(e)){const o=t[e];Me(o)&&Xt(s,o)}else if(Me(e))Xt(s,e.bind(n));else if(ft(e))if(ke(e))e.forEach(o=>a_(o,t,n,r));else{const o=Me(e.handler)?e.handler.bind(n):t[e.handler];Me(o)&&Xt(s,o,e)}}function zd(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=>il(l,c,i,!0)),il(l,t,i)),ft(t)&&o.set(t,l),l}function il(e,t,n,r=!1){const{mixins:s,extends:o}=t;o&&il(e,o,n,!0),s&&s.forEach(i=>il(e,i,n,!0));for(const i in t)if(!(r&&i==="expose")){const a=M0[i]||n&&n[i];e[i]=a?a(e[i],t[i]):t[i]}return e}const M0={data:Nm,props:Vm,emits:Vm,methods:Fo,computed:Fo,beforeCreate:Wt,created:Wt,beforeMount:Wt,mounted:Wt,beforeUpdate:Wt,updated:Wt,beforeDestroy:Wt,beforeUnmount:Wt,destroyed:Wt,unmounted:Wt,activated:Wt,deactivated:Wt,errorCaptured:Wt,serverPrefetch:Wt,components:Fo,directives:Fo,watch:V0,provide:Nm,inject:N0};function Nm(e,t){return t?e?function(){return _t(Me(e)?e.call(this,this):e,Me(t)?t.call(this,this):t)}:t:e}function N0(e,t){return Fo(sc(e),sc(t))}function sc(e){if(ke(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function Wt(e,t){return e?[...new Set([].concat(e,t))]:t}function Fo(e,t){return e?_t(Object.create(null),e,t):t}function Vm(e,t){return e?ke(e)&&ke(t)?[...new Set([...e,...t])]:_t(Object.create(null),fi(e),fi(t??{})):t}function V0(e,t){if(!e)return t;if(!t)return e;const n=_t(Object.create(null),e);for(const r in t)n[r]=Wt(e[r],t[r]);return n}function l_(){return{app:null,config:{isNativeTag:N1,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 B0=0;function H0(e,t){return function(r,s=null){Me(r)||(r=_t({},r)),s!=null&&!ft(s)&&(s=null);const o=l_(),i=new Set;let a=!1;const l=o.app={_uid:B0++,_component:r,_props:s,_container:null,_context:o,_instance:null,version:T_,get config(){return o.config},set config(c){},use(c,...d){return i.has(c)||(c&&Me(c.install)?(i.add(c),c.install(l,...d)):Me(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,f){if(!a){const m=v(r,s);return m.appContext=o,d&&t?t(m,c):e(m,c,f),a=!0,l._container=c,c.__vue_app__=l,Nl(m.component)||m.component.proxy}},unmount(){a&&(e(null,l._container),delete l._container.__vue_app__)},provide(c,d){return o.provides[c]=d,l},runWithContext(c){pi=l;try{return c()}finally{pi=null}}};return l}}let pi=null;function qo(e,t){if(Tt){let n=Tt.provides;const r=Tt.parent&&Tt.parent.provides;r===n&&(n=Tt.provides=Object.create(r)),n[e]=t}}function Bn(e,t,n=!1){const r=Tt||Lt;if(r||pi){const s=r?r.parent==null?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides:pi._context.provides;if(s&&e in s)return s[e];if(arguments.length>1)return n&&Me(t)?t.call(r&&r.proxy):t}}function j0(){return!!(Tt||Lt||pi)}function U0(e,t,n,r=!1){const s={},o={};tl(o,Ml,1),e.propsDefaults=Object.create(null),u_(e,t,s,o);for(const i in e.propsOptions[0])i in s||(s[i]=void 0);n?e.props=r?s:Dh(s):e.type.props?e.props=s:e.props=o,e.attrs=o}function q0(e,t,n,r){const{props:s,attrs:o,vnode:{patchFlag:i}}=e,a=et(s),[l]=e.propsOptions;let c=!1;if((r||i>0)&&!(i&16)){if(i&8){const d=e.vnode.dynamicProps;for(let f=0;f<d.length;f++){let m=d[f];if(Dl(e.emitsOptions,m))continue;const p=t[m];if(l)if(rt(o,m))p!==o[m]&&(o[m]=p,c=!0);else{const h=on(m);s[h]=oc(l,a,h,p,e,!1)}else p!==o[m]&&(o[m]=p,c=!0)}}}else{u_(e,t,s,o)&&(c=!0);let d;for(const f in a)(!t||!rt(t,f)&&((d=En(f))===f||!rt(t,d)))&&(l?n&&(n[f]!==void 0||n[d]!==void 0)&&(s[f]=oc(l,a,f,void 0,e,!0)):delete s[f]);if(o!==a)for(const f in o)(!t||!rt(t,f))&&(delete o[f],c=!0)}c&&Cr(e,"set","$attrs")}function u_(e,t,n,r){const[s,o]=e.propsOptions;let i=!1,a;if(t)for(let l in t){if(Ho(l))continue;const c=t[l];let d;s&&rt(s,d=on(l))?!o||!o.includes(d)?n[d]=c:(a||(a={}))[d]=c:Dl(e.emitsOptions,l)||(!(l in r)||c!==r[l])&&(r[l]=c,i=!0)}if(o){const l=et(n),c=a||mt;for(let d=0;d<o.length;d++){const f=o[d];n[f]=oc(s,l,f,c[f],e,!rt(c,f))}}return i}function oc(e,t,n,r,s,o){const i=e[n];if(i!=null){const a=rt(i,"default");if(a&&r===void 0){const l=i.default;if(i.type!==Function&&!i.skipFactory&&Me(l)){const{propsDefaults:c}=s;n in c?r=c[n]:(Kr(s),r=c[n]=l.call(null,t),jr())}else r=l}i[0]&&(o&&!a?r=!1:i[1]&&(r===""||r===En(n))&&(r=!0))}return r}function c_(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(!Me(e)){const d=f=>{l=!0;const[m,p]=c_(f,t,!0);_t(i,m),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,Hs),Hs;if(ke(o))for(let d=0;d<o.length;d++){const f=on(o[d]);Bm(f)&&(i[f]=mt)}else if(o)for(const d in o){const f=on(d);if(Bm(f)){const m=o[d],p=i[f]=ke(m)||Me(m)?{type:m}:_t({},m);if(p){const h=Um(Boolean,p.type),_=Um(String,p.type);p[0]=h>-1,p[1]=_<0||h<_,(h>-1||rt(p,"default"))&&a.push(f)}}}const c=[i,a];return ft(e)&&r.set(e,c),c}function Bm(e){return e[0]!=="$"}function Hm(e){const t=e&&e.toString().match(/^\s*(function|class) (\w+)/);return t?t[2]:e===null?"null":""}function jm(e,t){return Hm(e)===Hm(t)}function Um(e,t){return ke(t)?t.findIndex(n=>jm(n,e)):Me(t)&&jm(t,e)?0:-1}const d_=e=>e[0]==="_"||e==="$stable",wd=e=>ke(e)?e.map(mn):[mn(e)],W0=(e,t,n)=>{if(t._n)return t;const r=E((...s)=>wd(t(...s)),n);return r._c=!1,r},m_=(e,t,n)=>{const r=e._ctx;for(const s in e){if(d_(s))continue;const o=e[s];if(Me(o))t[s]=W0(s,o,r);else if(o!=null){const i=wd(o);t[s]=()=>i}}},f_=(e,t)=>{const n=wd(t);e.slots.default=()=>n},G0=(e,t)=>{if(e.vnode.shapeFlag&32){const n=t._;n?(e.slots=et(t),tl(t,"_",n)):m_(t,e.slots={})}else e.slots={},t&&f_(e,t);tl(e.slots,Ml,1)},K0=(e,t,n)=>{const{vnode:r,slots:s}=e;let o=!0,i=mt;if(r.shapeFlag&32){const a=t._;a?n&&a===1?o=!1:(_t(s,t),!n&&a===1&&delete s._):(o=!t.$stable,m_(t,s)),i=t}else t&&(f_(e,t),i={default:1});if(o)for(const a in s)!d_(a)&&!(a in i)&&delete s[a]};function al(e,t,n,r,s=!1){if(ke(e)){e.forEach((m,p)=>al(m,t&&(ke(t)?t[p]:t),n,r,s));return}if(ds(r)&&!s)return;const o=r.shapeFlag&4?Nl(r.component)||r.component.proxy:r.el,i=s?null:o,{i:a,r:l}=e,c=t&&t.r,d=a.refs===mt?a.refs={}:a.refs,f=a.setupState;if(c!=null&&c!==l&&(Ct(c)?(d[c]=null,rt(f,c)&&(f[c]=null)):Ot(c)&&(c.value=null)),Me(l))yr(l,a,12,[i,d]);else{const m=Ct(l),p=Ot(l);if(m||p){const h=()=>{if(e.f){const _=m?rt(f,l)?f[l]:d[l]:l.value;s?ke(_)&&ed(_,o):ke(_)?_.includes(o)||_.push(o):m?(d[l]=[o],rt(f,l)&&(f[l]=d[l])):(l.value=[o],e.k&&(d[e.k]=l.value))}else m?(d[l]=i,rt(f,l)&&(f[l]=i)):p&&(l.value=i,e.k&&(d[e.k]=i))};i?(h.id=-1,Vt(h,n)):h()}}}let Er=!1;const Ki=e=>/svg/.test(e.namespaceURI)&&e.tagName!=="foreignObject",Zi=e=>e.nodeType===8;function Z0(e){const{mt:t,p:n,o:{patchProp:r,createText:s,nextSibling:o,parentNode:i,remove:a,insert:l,createComment:c}}=e,d=(b,y)=>{if(!y.hasChildNodes()){n(null,b,y),ol(),y._vnode=b;return}Er=!1,f(y.firstChild,b,null,null,null),ol(),y._vnode=b,Er&&console.error("Hydration completed but contains mismatches.")},f=(b,y,k,z,x,T=!1)=>{const L=Zi(b)&&b.data==="[",I=()=>_(b,y,k,z,x,L),{type:D,ref:U,shapeFlag:Z,patchFlag:X}=y;let j=b.nodeType;y.el=b,X===-2&&(T=!1,y.dynamicChildren=null);let q=null;switch(D){case Wr:j!==3?y.children===""?(l(y.el=s(""),i(b),b),q=b):q=I():(b.data!==y.children&&(Er=!0,b.data=y.children),q=o(b));break;case qt:j!==8||L?q=I():q=o(b);break;case ms:if(L&&(b=o(b),j=b.nodeType),j===1||j===3){q=b;const Ce=!y.children.length;for(let te=0;te<y.staticCount;te++)Ce&&(y.children+=q.nodeType===1?q.outerHTML:q.data),te===y.staticCount-1&&(y.anchor=q),q=o(q);return L?o(q):q}else I();break;case Oe:L?q=h(b,y,k,z,x,T):q=I();break;default:if(Z&1)j!==1||y.type.toLowerCase()!==b.tagName.toLowerCase()?q=I():q=m(b,y,k,z,x,T);else if(Z&6){y.slotScopeIds=x;const Ce=i(b);if(t(y,Ce,null,k,z,Ki(Ce),T),q=L?C(b):o(b),q&&Zi(q)&&q.data==="teleport end"&&(q=o(q)),ds(y)){let te;L?(te=v(Oe),te.anchor=q?q.previousSibling:Ce.lastChild):te=b.nodeType===3?dt(""):v("div"),te.el=b,y.component.subTree=te}}else Z&64?j!==8?q=I():q=y.type.hydrate(b,y,k,z,x,T,e,p):Z&128&&(q=y.type.hydrate(b,y,k,z,Ki(i(b)),x,T,e,f))}return U!=null&&al(U,null,z,y),q},m=(b,y,k,z,x,T)=>{T=T||!!y.dynamicChildren;const{type:L,props:I,patchFlag:D,shapeFlag:U,dirs:Z}=y,X=L==="input"&&Z||L==="option";if(X||D!==-1){if(Z&&Yn(y,null,k,"created"),I)if(X||!T||D&48)for(const q in I)(X&&q.endsWith("value")||Ci(q)&&!Ho(q))&&r(b,q,null,I[q],!1,void 0,k);else I.onClick&&r(b,"onClick",null,I.onClick,!1,void 0,k);let j;if((j=I&&I.onVnodeBeforeMount)&&nn(j,k,y),Z&&Yn(y,null,k,"beforeMount"),((j=I&&I.onVnodeMounted)||Z)&&Hh(()=>{j&&nn(j,k,y),Z&&Yn(y,null,k,"mounted")},z),U&16&&!(I&&(I.innerHTML||I.textContent))){let q=p(b.firstChild,y,b,k,z,x,T);for(;q;){Er=!0;const Ce=q;q=q.nextSibling,a(Ce)}}else U&8&&b.textContent!==y.children&&(Er=!0,b.textContent=y.children)}return b.nextSibling},p=(b,y,k,z,x,T,L)=>{L=L||!!y.dynamicChildren;const I=y.children,D=I.length;for(let U=0;U<D;U++){const Z=L?I[U]:I[U]=mn(I[U]);if(b)b=f(b,Z,z,x,T,L);else{if(Z.type===Wr&&!Z.children)continue;Er=!0,n(null,Z,k,null,z,x,Ki(k),T)}}return b},h=(b,y,k,z,x,T)=>{const{slotScopeIds:L}=y;L&&(x=x?x.concat(L):L);const I=i(b),D=p(o(b),y,I,k,z,x,T);return D&&Zi(D)&&D.data==="]"?o(y.anchor=D):(Er=!0,l(y.anchor=c("]"),I,D),D)},_=(b,y,k,z,x,T)=>{if(Er=!0,y.el=null,T){const D=C(b);for(;;){const U=o(b);if(U&&U!==D)a(U);else break}}const L=o(b),I=i(b);return a(b),n(null,y,I,L,k,z,Ki(I),x),L},C=b=>{let y=0;for(;b;)if(b=o(b),b&&Zi(b)&&(b.data==="["&&y++,b.data==="]")){if(y===0)return o(b);y--}return b};return[d,f]}const Vt=Hh;function p_(e){return __(e)}function h_(e){return __(e,Z0)}function __(e,t){const n=Yu();n.__VUE__=!0;const{insert:r,remove:s,patchProp:o,createElement:i,createText:a,createComment:l,setText:c,setElementText:d,parentNode:f,nextSibling:m,setScopeId:p=Vn,insertStaticContent:h}=e,_=(A,O,P,K=null,J=null,ee=null,de=!1,ae=null,oe=!!O.dynamicChildren)=>{if(A===O)return;A&&!Mn(A,O)&&(K=V(A),W(A,J,ee,!0),A=null),O.patchFlag===-2&&(oe=!1,O.dynamicChildren=null);const{type:Y,ref:R,shapeFlag:B}=O;switch(Y){case Wr:C(A,O,P,K);break;case qt:b(A,O,P,K);break;case ms:A==null&&y(O,P,K,de);break;case Oe:X(A,O,P,K,J,ee,de,ae,oe);break;default:B&1?x(A,O,P,K,J,ee,de,ae,oe):B&6?j(A,O,P,K,J,ee,de,ae,oe):(B&64||B&128)&&Y.process(A,O,P,K,J,ee,de,ae,oe,ne)}R!=null&&J&&al(R,A&&A.ref,ee,O||A,!O)},C=(A,O,P,K)=>{if(A==null)r(O.el=a(O.children),P,K);else{const J=O.el=A.el;O.children!==A.children&&c(J,O.children)}},b=(A,O,P,K)=>{A==null?r(O.el=l(O.children||""),P,K):O.el=A.el},y=(A,O,P,K)=>{[A.el,A.anchor]=h(A.children,O,P,K,A.el,A.anchor)},k=({el:A,anchor:O},P,K)=>{let J;for(;A&&A!==O;)J=m(A),r(A,P,K),A=J;r(O,P,K)},z=({el:A,anchor:O})=>{let P;for(;A&&A!==O;)P=m(A),s(A),A=P;s(O)},x=(A,O,P,K,J,ee,de,ae,oe)=>{de=de||O.type==="svg",A==null?T(O,P,K,J,ee,de,ae,oe):D(A,O,J,ee,de,ae,oe)},T=(A,O,P,K,J,ee,de,ae)=>{let oe,Y;const{type:R,props:B,shapeFlag:ge,transition:ze,dirs:Fe}=A;if(oe=A.el=i(A.type,ee,B&&B.is,B),ge&8?d(oe,A.children):ge&16&&I(A.children,oe,null,K,J,ee&&R!=="foreignObject",de,ae),Fe&&Yn(A,null,K,"created"),L(oe,A,A.scopeId,de,K),B){for(const Ve in B)Ve!=="value"&&!Ho(Ve)&&o(oe,Ve,null,B[Ve],ee,A.children,K,J,Ee);"value"in B&&o(oe,"value",null,B.value),(Y=B.onVnodeBeforeMount)&&nn(Y,K,A)}Fe&&Yn(A,null,K,"beforeMount");const Ue=(!J||J&&!J.pendingBranch)&&ze&&!ze.persisted;Ue&&ze.beforeEnter(oe),r(oe,O,P),((Y=B&&B.onVnodeMounted)||Ue||Fe)&&Vt(()=>{Y&&nn(Y,K,A),Ue&&ze.enter(oe),Fe&&Yn(A,null,K,"mounted")},J)},L=(A,O,P,K,J)=>{if(P&&p(A,P),K)for(let ee=0;ee<K.length;ee++)p(A,K[ee]);if(J){let ee=J.subTree;if(O===ee){const de=J.vnode;L(A,de,de.scopeId,de.slotScopeIds,J.parent)}}},I=(A,O,P,K,J,ee,de,ae,oe=0)=>{for(let Y=oe;Y<A.length;Y++){const R=A[Y]=ae?Ir(A[Y]):mn(A[Y]);_(null,R,O,P,K,J,ee,de,ae)}},D=(A,O,P,K,J,ee,de)=>{const ae=O.el=A.el;let{patchFlag:oe,dynamicChildren:Y,dirs:R}=O;oe|=A.patchFlag&16;const B=A.props||mt,ge=O.props||mt;let ze;P&&Qr(P,!1),(ze=ge.onVnodeBeforeUpdate)&&nn(ze,P,O,A),R&&Yn(O,A,P,"beforeUpdate"),P&&Qr(P,!0);const Fe=J&&O.type!=="foreignObject";if(Y?U(A.dynamicChildren,Y,ae,P,K,Fe,ee):de||ye(A,O,ae,null,P,K,Fe,ee,!1),oe>0){if(oe&16)Z(ae,O,B,ge,P,K,J);else if(oe&2&&B.class!==ge.class&&o(ae,"class",null,ge.class,J),oe&4&&o(ae,"style",B.style,ge.style,J),oe&8){const Ue=O.dynamicProps;for(let Ve=0;Ve<Ue.length;Ve++){const F=Ue[Ve],M=B[F],G=ge[F];(G!==M||F==="value")&&o(ae,F,M,G,J,A.children,P,K,Ee)}}oe&1&&A.children!==O.children&&d(ae,O.children)}else!de&&Y==null&&Z(ae,O,B,ge,P,K,J);((ze=ge.onVnodeUpdated)||R)&&Vt(()=>{ze&&nn(ze,P,O,A),R&&Yn(O,A,P,"updated")},K)},U=(A,O,P,K,J,ee,de)=>{for(let ae=0;ae<O.length;ae++){const oe=A[ae],Y=O[ae],R=oe.el&&(oe.type===Oe||!Mn(oe,Y)||oe.shapeFlag&70)?f(oe.el):P;_(oe,Y,R,null,K,J,ee,de,!0)}},Z=(A,O,P,K,J,ee,de)=>{if(P!==K){if(P!==mt)for(const ae in P)!Ho(ae)&&!(ae in K)&&o(A,ae,P[ae],null,de,O.children,J,ee,Ee);for(const ae in K){if(Ho(ae))continue;const oe=K[ae],Y=P[ae];oe!==Y&&ae!=="value"&&o(A,ae,Y,oe,de,O.children,J,ee,Ee)}"value"in K&&o(A,"value",P.value,K.value)}},X=(A,O,P,K,J,ee,de,ae,oe)=>{const Y=O.el=A?A.el:a(""),R=O.anchor=A?A.anchor:a("");let{patchFlag:B,dynamicChildren:ge,slotScopeIds:ze}=O;ze&&(ae=ae?ae.concat(ze):ze),A==null?(r(Y,P,K),r(R,P,K),I(O.children,P,R,J,ee,de,ae,oe)):B>0&&B&64&&ge&&A.dynamicChildren?(U(A.dynamicChildren,ge,P,J,ee,de,ae),(O.key!=null||J&&O===J.subTree)&&kd(A,O,!0)):ye(A,O,P,R,J,ee,de,ae,oe)},j=(A,O,P,K,J,ee,de,ae,oe)=>{O.slotScopeIds=ae,A==null?O.shapeFlag&512?J.ctx.activate(O,P,K,de,oe):q(O,P,K,J,ee,de,oe):Ce(A,O,oe)},q=(A,O,P,K,J,ee,de)=>{const ae=A.component=z_(A,K,J);if(Ei(A)&&(ae.ctx.renderer=ne),k_(ae),ae.asyncDep){if(J&&J.registerDep(ae,te),!A.el){const oe=ae.subTree=v(qt);b(null,oe,O,P)}return}te(ae,A,O,P,J,ee,de)},Ce=(A,O,P)=>{const K=O.component=A.component;if(s0(A,O,P))if(K.asyncDep&&!K.asyncResolved){ie(K,O,P);return}else K.next=O,Zb(K.update),K.update();else O.el=A.el,K.vnode=O},te=(A,O,P,K,J,ee,de)=>{const ae=()=>{if(A.isMounted){let{next:R,bu:B,u:ge,parent:ze,vnode:Fe}=A,Ue=R,Ve;Qr(A,!1),R?(R.el=Fe.el,ie(A,R,de)):R=Fe,B&&Us(B),(Ve=R.props&&R.props.onVnodeBeforeUpdate)&&nn(Ve,ze,R,Fe),Qr(A,!0);const F=Ha(A),M=A.subTree;A.subTree=F,_(M,F,f(M.el),V(M),A,J,ee),R.el=F.el,Ue===null&&hd(A,F.el),ge&&Vt(ge,J),(Ve=R.props&&R.props.onVnodeUpdated)&&Vt(()=>nn(Ve,ze,R,Fe),J)}else{let R;const{el:B,props:ge}=O,{bm:ze,m:Fe,parent:Ue}=A,Ve=ds(O);if(Qr(A,!1),ze&&Us(ze),!Ve&&(R=ge&&ge.onVnodeBeforeMount)&&nn(R,Ue,O),Qr(A,!0),B&&De){const F=()=>{A.subTree=Ha(A),De(B,A.subTree,A,J,null)};Ve?O.type.__asyncLoader().then(()=>!A.isUnmounted&&F()):F()}else{const F=A.subTree=Ha(A);_(null,F,P,K,A,J,ee),O.el=F.el}if(Fe&&Vt(Fe,J),!Ve&&(R=ge&&ge.onVnodeMounted)){const F=O;Vt(()=>nn(R,Ue,F),J)}(O.shapeFlag&256||Ue&&ds(Ue.vnode)&&Ue.vnode.shapeFlag&256)&&A.a&&Vt(A.a,J),A.isMounted=!0,O=P=K=null}},oe=A.effect=new wi(ae,()=>Ol(Y),A.scope),Y=A.update=()=>oe.run();Y.id=A.uid,Qr(A,!0),Y()},ie=(A,O,P)=>{O.component=A;const K=A.vnode.props;A.vnode=O,A.next=null,q0(A,O.props,K,P),K0(A,O.children,P),io(),Pm(),ao()},ye=(A,O,P,K,J,ee,de,ae,oe=!1)=>{const Y=A&&A.children,R=A?A.shapeFlag:0,B=O.children,{patchFlag:ge,shapeFlag:ze}=O;if(ge>0){if(ge&128){it(Y,B,P,K,J,ee,de,ae,oe);return}else if(ge&256){je(Y,B,P,K,J,ee,de,ae,oe);return}}ze&8?(R&16&&Ee(Y,J,ee),B!==Y&&d(P,B)):R&16?ze&16?it(Y,B,P,K,J,ee,de,ae,oe):Ee(Y,J,ee,!0):(R&8&&d(P,""),ze&16&&I(B,P,K,J,ee,de,ae,oe))},je=(A,O,P,K,J,ee,de,ae,oe)=>{A=A||Hs,O=O||Hs;const Y=A.length,R=O.length,B=Math.min(Y,R);let ge;for(ge=0;ge<B;ge++){const ze=O[ge]=oe?Ir(O[ge]):mn(O[ge]);_(A[ge],ze,P,null,J,ee,de,ae,oe)}Y>R?Ee(A,J,ee,!0,!1,B):I(O,P,K,J,ee,de,ae,oe,B)},it=(A,O,P,K,J,ee,de,ae,oe)=>{let Y=0;const R=O.length;let B=A.length-1,ge=R-1;for(;Y<=B&&Y<=ge;){const ze=A[Y],Fe=O[Y]=oe?Ir(O[Y]):mn(O[Y]);if(Mn(ze,Fe))_(ze,Fe,P,null,J,ee,de,ae,oe);else break;Y++}for(;Y<=B&&Y<=ge;){const ze=A[B],Fe=O[ge]=oe?Ir(O[ge]):mn(O[ge]);if(Mn(ze,Fe))_(ze,Fe,P,null,J,ee,de,ae,oe);else break;B--,ge--}if(Y>B){if(Y<=ge){const ze=ge+1,Fe=ze<R?O[ze].el:K;for(;Y<=ge;)_(null,O[Y]=oe?Ir(O[Y]):mn(O[Y]),P,Fe,J,ee,de,ae,oe),Y++}}else if(Y>ge)for(;Y<=B;)W(A[Y],J,ee,!0),Y++;else{const ze=Y,Fe=Y,Ue=new Map;for(Y=Fe;Y<=ge;Y++){const $e=O[Y]=oe?Ir(O[Y]):mn(O[Y]);$e.key!=null&&Ue.set($e.key,Y)}let Ve,F=0;const M=ge-Fe+1;let G=!1,re=0;const ve=new Array(M);for(Y=0;Y<M;Y++)ve[Y]=0;for(Y=ze;Y<=B;Y++){const $e=A[Y];if(F>=M){W($e,J,ee,!0);continue}let Be;if($e.key!=null)Be=Ue.get($e.key);else for(Ve=Fe;Ve<=ge;Ve++)if(ve[Ve-Fe]===0&&Mn($e,O[Ve])){Be=Ve;break}Be===void 0?W($e,J,ee,!0):(ve[Be-Fe]=Y+1,Be>=re?re=Be:G=!0,_($e,O[Be],P,null,J,ee,de,ae,oe),F++)}const Pe=G?Y0(ve):Hs;for(Ve=Pe.length-1,Y=M-1;Y>=0;Y--){const $e=Fe+Y,Be=O[$e],Ge=$e+1<R?O[$e+1].el:K;ve[Y]===0?_(null,Be,P,Ge,J,ee,de,ae,oe):G&&(Ve<0||Y!==Pe[Ve]?ce(Be,P,Ge,2):Ve--)}}},ce=(A,O,P,K,J=null)=>{const{el:ee,type:de,transition:ae,children:oe,shapeFlag:Y}=A;if(Y&6){ce(A.component.subTree,O,P,K);return}if(Y&128){A.suspense.move(O,P,K);return}if(Y&64){de.move(A,O,P,ne);return}if(de===Oe){r(ee,O,P);for(let B=0;B<oe.length;B++)ce(oe[B],O,P,K);r(A.anchor,O,P);return}if(de===ms){k(A,O,P);return}if(K!==2&&Y&1&&ae)if(K===0)ae.beforeEnter(ee),r(ee,O,P),Vt(()=>ae.enter(ee),J);else{const{leave:B,delayLeave:ge,afterLeave:ze}=ae,Fe=()=>r(ee,O,P),Ue=()=>{B(ee,()=>{Fe(),ze&&ze()})};ge?ge(ee,Fe,Ue):Ue()}else r(ee,O,P)},W=(A,O,P,K=!1,J=!1)=>{const{type:ee,props:de,ref:ae,children:oe,dynamicChildren:Y,shapeFlag:R,patchFlag:B,dirs:ge}=A;if(ae!=null&&al(ae,null,P,A,!0),R&256){O.ctx.deactivate(A);return}const ze=R&1&&ge,Fe=!ds(A);let Ue;if(Fe&&(Ue=de&&de.onVnodeBeforeUnmount)&&nn(Ue,O,A),R&6)Le(A.component,P,K);else{if(R&128){A.suspense.unmount(P,K);return}ze&&Yn(A,null,O,"beforeUnmount"),R&64?A.type.remove(A,O,P,J,ne,K):Y&&(ee!==Oe||B>0&&B&64)?Ee(Y,O,P,!1,!0):(ee===Oe&&B&384||!J&&R&16)&&Ee(oe,O,P),K&&fe(A)}(Fe&&(Ue=de&&de.onVnodeUnmounted)||ze)&&Vt(()=>{Ue&&nn(Ue,O,A),ze&&Yn(A,null,O,"unmounted")},P)},fe=A=>{const{type:O,el:P,anchor:K,transition:J}=A;if(O===Oe){Ae(P,K);return}if(O===ms){z(A);return}const ee=()=>{s(P),J&&!J.persisted&&J.afterLeave&&J.afterLeave()};if(A.shapeFlag&1&&J&&!J.persisted){const{leave:de,delayLeave:ae}=J,oe=()=>de(P,ee);ae?ae(A.el,ee,oe):oe()}else ee()},Ae=(A,O)=>{let P;for(;A!==O;)P=m(A),s(A),A=P;s(O)},Le=(A,O,P)=>{const{bum:K,scope:J,update:ee,subTree:de,um:ae}=A;K&&Us(K),J.stop(),ee&&(ee.active=!1,W(de,A,O,P)),ae&&Vt(ae,O),Vt(()=>{A.isUnmounted=!0},O),O&&O.pendingBranch&&!O.isUnmounted&&A.asyncDep&&!A.asyncResolved&&A.suspenseId===O.pendingId&&(O.deps--,O.deps===0&&O.resolve())},Ee=(A,O,P,K=!1,J=!1,ee=0)=>{for(let de=ee;de<A.length;de++)W(A[de],O,P,K,J)},V=A=>A.shapeFlag&6?V(A.component.subTree):A.shapeFlag&128?A.suspense.next():m(A.anchor||A.el),le=(A,O,P)=>{A==null?O._vnode&&W(O._vnode,null,null,!0):_(O._vnode||null,A,O,null,null,null,P),Pm(),ol(),O._vnode=A},ne={p:_,um:W,m:ce,r:fe,mt:q,mc:I,pc:ye,pbc:U,n:V,o:e};let pe,De;return t&&([pe,De]=t(ne)),{render:le,hydrate:pe,createApp:H0(le,pe)}}function Qr({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function kd(e,t,n=!1){const r=e.children,s=t.children;if(ke(r)&&ke(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]=Ir(s[o]),a.el=i.el),n||kd(i,a)),a.type===Wr&&(a.el=i.el)}}function Y0(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}const J0=e=>e.__isTeleport,Wo=e=>e&&(e.disabled||e.disabled===""),qm=e=>typeof SVGElement<"u"&&e instanceof SVGElement,ic=(e,t)=>{const n=e&&e.to;return Ct(n)?t?t(n):null:n},X0={__isTeleport:!0,process(e,t,n,r,s,o,i,a,l,c){const{mc:d,pc:f,pbc:m,o:{insert:p,querySelector:h,createText:_,createComment:C}}=c,b=Wo(t.props);let{shapeFlag:y,children:k,dynamicChildren:z}=t;if(e==null){const x=t.el=_(""),T=t.anchor=_("");p(x,n,r),p(T,n,r);const L=t.target=ic(t.props,h),I=t.targetAnchor=_("");L&&(p(I,L),i=i||qm(L));const D=(U,Z)=>{y&16&&d(k,U,Z,s,o,i,a,l)};b?D(n,T):L&&D(L,I)}else{t.el=e.el;const x=t.anchor=e.anchor,T=t.target=e.target,L=t.targetAnchor=e.targetAnchor,I=Wo(e.props),D=I?n:T,U=I?x:L;if(i=i||qm(T),z?(m(e.dynamicChildren,z,D,s,o,i,a),kd(e,t,!0)):l||f(e,t,D,U,s,o,i,a,!1),b)I||Yi(t,n,x,c,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const Z=t.target=ic(t.props,h);Z&&Yi(t,Z,null,c,0)}else I&&Yi(t,T,L,c,1)}g_(t)},remove(e,t,n,r,{um:s,o:{remove:o}},i){const{shapeFlag:a,children:l,anchor:c,targetAnchor:d,target:f,props:m}=e;if(f&&o(d),(i||!Wo(m))&&(o(c),a&16))for(let p=0;p<l.length;p++){const h=l[p];s(h,t,n,!0,!!h.dynamicChildren)}},move:Yi,hydrate:Q0};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,f=o===2;if(f&&r(i,t,n),(!f||Wo(d))&&l&16)for(let m=0;m<c.length;m++)s(c[m],t,n,2);f&&r(a,t,n)}function Q0(e,t,n,r,s,o,{o:{nextSibling:i,parentNode:a,querySelector:l}},c){const d=t.target=ic(t.props,l);if(d){const f=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=f;else{t.anchor=i(e);let m=f;for(;m;)if(m=i(m),m&&m.nodeType===8&&m.data==="teleport anchor"){t.targetAnchor=m,d._lpa=t.targetAnchor&&i(t.targetAnchor);break}c(f,t,d,n,r,s,o)}g_(t)}return t.anchor&&i(t.anchor)}const Yr=X0;function g_(e){const t=e.ctx;if(t&&t.ut){let n=e.children[0].el;for(;n!==e.targetAnchor;)n.nodeType===1&&n.setAttribute("data-v-owner",t.uid),n=n.nextSibling;t.ut()}}const Oe=Symbol.for("v-fgt"),Wr=Symbol.for("v-txt"),qt=Symbol.for("v-cmt"),ms=Symbol.for("v-stc"),Go=[];let sn=null;function w(e=!1){Go.push(sn=e?null:[])}function y_(){Go.pop(),sn=Go[Go.length-1]||null}let gs=1;function ac(e){gs+=e}function v_(e){return e.dynamicChildren=gs>0?sn||Hs:null,y_(),gs>0&&sn&&sn.push(e),e}function $(e,t,n,r,s,o){return v_(u(e,t,n,r,s,o,!0))}function be(e,t,n,r,s){return v_(v(e,t,n,r,s,!0))}function Gr(e){return e?e.__v_isVNode===!0:!1}function Mn(e,t){return e.type===t.type&&e.key===t.key}function eC(e){}const Ml="__vInternal",b_=({key:e})=>e??null,ja=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?Ct(e)||Ot(e)||Me(e)?{i:Lt,r:e,k:t,f:!!n}:e:null);function u(e,t=null,n=null,r=0,s=null,o=e===Oe?0:1,i=!1,a=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&b_(t),ref:t&&ja(t),scopeId:Pl,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:Lt};return a?(xd(l,n),o&128&&e.normalize(l)):n&&(l.shapeFlag|=Ct(n)?8:16),gs>0&&!i&&sn&&(l.patchFlag>0||o&6)&&l.patchFlag!==32&&sn.push(l),l}const v=tC;function tC(e,t=null,n=null,r=0,s=null,o=!1){if((!e||e===r_)&&(e=qt),Gr(e)){const a=ir(e,t,!0);return n&&xd(a,n),gs>0&&!o&&sn&&(a.shapeFlag&6?sn[sn.indexOf(e)]=a:sn.push(a)),a.patchFlag|=-2,a}if(uC(e)&&(e=e.__vccOpts),t){t=C_(t);let{class:a,style:l}=t;a&&!Ct(a)&&(t.class=Te(a)),ft(l)&&(ld(l)&&!ke(l)&&(l=_t({},l)),t.style=rn(l))}const i=Ct(e)?1:Bh(e)?128:J0(e)?64:ft(e)?4:Me(e)?2:0;return u(e,t,n,r,s,i,o,!0)}function C_(e){return e?ld(e)||Ml in e?_t({},e):e:null}function ir(e,t,n=!1){const{props:r,ref:s,patchFlag:o,children:i}=e,a=t?Ms(r||{},t):r;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:a,key:a&&b_(a),ref:t&&t.ref?n&&s?ke(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!==Oe?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 dt(e=" ",t=0){return v(Wr,null,e,t)}function nC(e,t){const n=v(ms,null,e);return n.staticCount=t,n}function H(e="",t=!1){return t?(w(),be(qt,null,e)):v(qt,null,e)}function mn(e){return e==null||typeof e=="boolean"?v(qt):ke(e)?v(Oe,null,e.slice()):typeof e=="object"?Ir(e):v(Wr,null,String(e))}function Ir(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:ir(e)}function xd(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(ke(t))n=16;else if(typeof t=="object")if(r&65){const s=t.default;s&&(s._c&&(s._d=!1),xd(e,s()),s._c&&(s._d=!0));return}else{n=32;const s=t._;!s&&!(Ml in t)?t._ctx=Lt:s===3&&Lt&&(Lt.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else Me(t)?(t={default:t,_ctx:Lt},n=32):(t=String(t),r&64?(n=16,t=[dt(t)]):n=8);e.children=t,e.shapeFlag|=n}function Ms(...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=Te([t.class,r.class]));else if(s==="style")t.style=rn([t.style,r.style]);else if(Ci(s)){const o=t[s],i=r[s];i&&o!==i&&!(ke(o)&&o.includes(i))&&(t[s]=o?[].concat(o,i):i)}else s!==""&&(t[s]=r[s])}return t}function nn(e,t,n,r=null){yn(e,t,7,[n,r])}const rC=l_();let sC=0;function z_(e,t,n){const r=e.type,s=(t?t.appContext:e.appContext)||rC,o={uid:sC++,vnode:e,type:r,parent:t,appContext:s,root:null,next:null,subTree:null,effect:null,update:null,scope:new rd(!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:c_(r,s),emitsOptions:Vh(r,s),emit:null,emitted:null,propsDefaults:mt,inheritAttrs:r.inheritAttrs,ctx:mt,data:mt,props:mt,attrs:mt,slots:mt,refs:mt,setupState:mt,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=Jb.bind(null,o),e.ce&&e.ce(o),o}let Tt=null;const On=()=>Tt||Lt;let Ed,ks,Wm="__VUE_INSTANCE_SETTERS__";(ks=Yu()[Wm])||(ks=Yu()[Wm]=[]),ks.push(e=>Tt=e),Ed=e=>{ks.length>1?ks.forEach(t=>t(e)):ks[0](e)};const Kr=e=>{Ed(e),e.scope.on()},jr=()=>{Tt&&Tt.scope.off(),Ed(null)};function w_(e){return e.vnode.shapeFlag&4}let Ys=!1;function k_(e,t=!1){Ys=t;const{props:n,children:r}=e.vnode,s=w_(e);U0(e,n,s,t),G0(e,r);const o=s?oC(e,t):void 0;return Ys=!1,o}function oC(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=ud(new Proxy(e.ctx,nc));const{setup:r}=n;if(r){const s=e.setupContext=r.length>1?E_(e):null;Kr(e),io();const o=yr(r,e,0,[e.props,s]);if(ao(),jr(),td(o)){if(o.then(jr,jr),t)return o.then(i=>{lc(e,i,t)}).catch(i=>{bs(i,e,0)});e.asyncDep=o}else lc(e,o,t)}else x_(e,t)}function lc(e,t,n){Me(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:ft(t)&&(e.setupState=md(t)),x_(e,n)}let ll,uc;function iC(e){ll=e,uc=t=>{t.render._rc&&(t.withProxy=new Proxy(t.ctx,C0))}}const aC=()=>!ll;function x_(e,t,n){const r=e.type;if(!e.render){if(!t&&ll&&!r.render){const s=r.template||zd(e).template;if(s){const{isCustomElement:o,compilerOptions:i}=e.appContext.config,{delimiters:a,compilerOptions:l}=r,c=_t(_t({isCustomElement:o,delimiters:a},i),l);r.render=ll(s,c)}}e.render=r.render||Vn,uc&&uc(e)}Kr(e),io(),R0(e),ao(),jr()}function lC(e){return e.attrsProxy||(e.attrsProxy=new Proxy(e.attrs,{get(t,n){return an(e,"get","$attrs"),t[n]}}))}function E_(e){const t=n=>{e.exposed=n||{}};return{get attrs(){return lC(e)},slots:e.slots,emit:e.emit,expose:t}}function Nl(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(md(ud(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Uo)return Uo[n](e)},has(t,n){return n in t||n in Uo}}))}function cc(e,t=!0){return Me(e)?e.displayName||e.name:e.name||t&&e.__name}function uC(e){return Me(e)&&"__vccOpts"in e}const Ft=(e,t)=>Ub(e,t,Ys);function er(e,t,n){const r=arguments.length;return r===2?ft(t)&&!ke(t)?Gr(t)?v(e,null,[t]):v(e,t):v(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&Gr(n)&&(n=[n]),v(e,t,n))}const S_=Symbol.for("v-scx"),$_=()=>Bn(S_);function cC(){}function dC(e,t,n,r){const s=n[r];if(s&&A_(s,e))return s;const o=t();return o.memo=e.slice(),n[r]=o}function A_(e,t){const n=e.memo;if(n.length!=t.length)return!1;for(let r=0;r<n.length;r++)if(Ks(n[r],t[r]))return!1;return gs>0&&sn&&sn.push(e),!0}const T_="3.3.4",mC={createComponentInstance:z_,setupComponent:k_,renderComponentRoot:Ha,setCurrentRenderingInstance:di,isVNode:Gr,normalizeVNode:mn},fC=mC,pC=null,hC=null,_C="http://www.w3.org/2000/svg",as=typeof document<"u"?document:null,Gm=as&&as.createElement("template"),gC={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?as.createElementNS(_C,e):as.createElement(e,n?{is:n}:void 0);return e==="select"&&r&&r.multiple!=null&&s.setAttribute("multiple",r.multiple),s},createText:e=>as.createTextNode(e),createComment:e=>as.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>as.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{Gm.innerHTML=r?`<svg>${e}</svg>`:e;const a=Gm.content;if(r){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]}};function yC(e,t,n){const r=e._vtc;r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}function vC(e,t,n){const r=e.style,s=Ct(n);if(n&&!s){if(t&&!Ct(t))for(const o in t)n[o]==null&&dc(r,o,"");for(const o in n)dc(r,o,n[o])}else{const o=r.display;s?t!==n&&(r.cssText=n):t&&e.removeAttribute("style"),"_vod"in e&&(r.display=o)}}const Km=/\s*!important$/;function dc(e,t,n){if(ke(n))n.forEach(r=>dc(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=bC(e,t);Km.test(n)?e.setProperty(En(r),n.replace(Km,""),"important"):e[r]=n}}const Zm=["Webkit","Moz","ms"],hu={};function bC(e,t){const n=hu[t];if(n)return n;let r=on(t);if(r!=="filter"&&r in e)return hu[t]=r;r=zi(r);for(let s=0;s<Zm.length;s++){const o=Zm[s]+r;if(o in e)return hu[t]=o}return t}const Ym="http://www.w3.org/1999/xlink";function CC(e,t,n,r,s){if(r&&t.startsWith("xlink:"))n==null?e.removeAttributeNS(Ym,t.slice(6,t.length)):e.setAttributeNS(Ym,t,n);else{const o=Q1(t);n==null||o&&!_h(n)?e.removeAttribute(t):e.setAttribute(t,o?"":n)}}function zC(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=_h(n):n==null&&c==="string"?(n="",l=!0):c==="number"&&(n=0,l=!0)}try{e[t]=n}catch{}l&&e.removeAttribute(t)}function _r(e,t,n,r){e.addEventListener(t,n,r)}function wC(e,t,n,r){e.removeEventListener(t,n,r)}function kC(e,t,n,r,s=null){const o=e._vei||(e._vei={}),i=o[t];if(r&&i)i.value=r;else{const[a,l]=xC(t);if(r){const c=o[t]=$C(r,s);_r(e,a,c,l)}else i&&(wC(e,a,i,l),o[t]=void 0)}}const Jm=/(?:Once|Passive|Capture)$/;function xC(e){let t;if(Jm.test(e)){t={};let r;for(;r=e.match(Jm);)e=e.slice(0,e.length-r[0].length),t[r[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):En(e.slice(2)),t]}let _u=0;const EC=Promise.resolve(),SC=()=>_u||(EC.then(()=>_u=0),_u=Date.now());function $C(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;yn(AC(r,n.value),t,5,[r])};return n.value=e,n.attached=SC(),n}function AC(e,t){if(ke(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 Xm=/^on[a-z]/,TC=(e,t,n,r,s=!1,o,i,a,l)=>{t==="class"?yC(e,r,s):t==="style"?vC(e,n,r):Ci(t)?Qc(t)||kC(e,t,n,r,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):OC(e,t,r,s))?zC(e,t,r,o,i,a,l):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),CC(e,t,r,s))};function OC(e,t,n,r){return r?!!(t==="innerHTML"||t==="textContent"||t in e&&Xm.test(t)&&Me(n)):t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA"||Xm.test(t)&&Ct(n)?!1:t in e}function O_(e,t){const n=lo(e);class r extends Vl{constructor(o){super(n,o,t)}}return r.def=n,r}const DC=e=>O_(e,q_),PC=typeof HTMLElement<"u"?HTMLElement:class{};class Vl extends PC{constructor(t,n={},r){super(),this._def=t,this._props=n,this._instance=null,this._connected=!1,this._resolved=!1,this._numberProps=null,this.shadowRoot&&r?r(this._createVNode(),this.shadowRoot):(this.attachShadow({mode:"open"}),this._def.__asyncLoader||this._resolveProps(this._def))}connectedCallback(){this._connected=!0,this._instance||(this._resolved?this._update():this._resolveDef())}disconnectedCallback(){this._connected=!1,ki(()=>{this._connected||(pc(null,this.shadowRoot),this._instance=null)})}_resolveDef(){this._resolved=!0;for(let r=0;r<this.attributes.length;r++)this._setAttr(this.attributes[r].name);new MutationObserver(r=>{for(const s of r)this._setAttr(s.attributeName)}).observe(this,{attributes:!0});const t=(r,s=!1)=>{const{props:o,styles:i}=r;let a;if(o&&!ke(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)))[on(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=ke(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(on))Object.defineProperty(this,s,{get(){return this._getProp(s)},set(o){this._setProp(s,o)}})}_setAttr(t){let n=this.getAttribute(t);const r=on(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(En(t),""):typeof n=="string"||typeof n=="number"?this.setAttribute(En(t),n+""):n||this.removeAttribute(En(t))))}_update(){pc(this._createVNode(),this.shadowRoot)}_createVNode(){const t=v(this._def,_t({},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),En(o)!==o&&r(En(o),i)};let s=this;for(;s=s&&(s.parentNode||s.host);)if(s instanceof Vl){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 IC(e="$style"){{const t=On();if(!t)return mt;const n=t.type.__cssModules;if(!n)return mt;const r=n[e];return r||mt}}function FC(e){const t=On();if(!t)return;const n=t.ut=(s=e(t.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${t.uid}"]`)).forEach(o=>fc(o,s))},r=()=>{const s=e(t.proxy);mc(t.subTree,s),n(s)};Uh(r),uo(()=>{const s=new MutationObserver(r);s.observe(t.subTree.el.parentNode,{childList:!0}),Si(()=>s.disconnect())})}function mc(e,t){if(e.shapeFlag&128){const n=e.suspense;e=n.activeBranch,n.pendingBranch&&!n.isHydrating&&n.effects.push(()=>{mc(n.activeBranch,t)})}for(;e.component;)e=e.component.subTree;if(e.shapeFlag&1&&e.el)fc(e.el,t);else if(e.type===Oe)e.children.forEach(n=>mc(n,t));else if(e.type===ms){let{el:n,anchor:r}=e;for(;n&&(fc(n,t),n!==r);)n=n.nextSibling}}function fc(e,t){if(e.nodeType===1){const n=e.style;for(const r in t)n.setProperty(`--${r}`,t[r])}}const Sr="transition",vo="animation",Pt=(e,{slots:t})=>er(Wh,P_(e),t);Pt.displayName="Transition";const D_={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},RC=Pt.props=_t({},yd,D_),es=(e,t=[])=>{ke(e)?e.forEach(n=>n(...t)):e&&e(...t)},Qm=e=>e?ke(e)?e.some(t=>t.length>1):e.length>1:!1;function P_(e){const t={};for(const X in e)X in D_||(t[X]=e[X]);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:f=`${n}-leave-from`,leaveActiveClass:m=`${n}-leave-active`,leaveToClass:p=`${n}-leave-to`}=e,h=LC(s),_=h&&h[0],C=h&&h[1],{onBeforeEnter:b,onEnter:y,onEnterCancelled:k,onLeave:z,onLeaveCancelled:x,onBeforeAppear:T=b,onAppear:L=y,onAppearCancelled:I=k}=t,D=(X,j,q)=>{Pr(X,j?d:a),Pr(X,j?c:i),q&&q()},U=(X,j)=>{X._isLeaving=!1,Pr(X,f),Pr(X,p),Pr(X,m),j&&j()},Z=X=>(j,q)=>{const Ce=X?L:y,te=()=>D(j,X,q);es(Ce,[j,te]),ef(()=>{Pr(j,X?l:o),pr(j,X?d:a),Qm(Ce)||tf(j,r,_,te)})};return _t(t,{onBeforeEnter(X){es(b,[X]),pr(X,o),pr(X,i)},onBeforeAppear(X){es(T,[X]),pr(X,l),pr(X,c)},onEnter:Z(!1),onAppear:Z(!0),onLeave(X,j){X._isLeaving=!0;const q=()=>U(X,j);pr(X,f),F_(),pr(X,m),ef(()=>{X._isLeaving&&(Pr(X,f),pr(X,p),Qm(z)||tf(X,r,C,q))}),es(z,[X,q])},onEnterCancelled(X){D(X,!1),es(k,[X])},onAppearCancelled(X){D(X,!0),es(I,[X])},onLeaveCancelled(X){U(X),es(x,[X])}})}function LC(e){if(e==null)return null;if(ft(e))return[gu(e.enter),gu(e.leave)];{const t=gu(e);return[t,t]}}function gu(e){return rl(e)}function pr(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e._vtc||(e._vtc=new Set)).add(t)}function Pr(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.remove(r));const{_vtc:n}=e;n&&(n.delete(t),n.size||(e._vtc=void 0))}function ef(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let MC=0;function tf(e,t,n,r){const s=e._endId=++MC,o=()=>{s===e._endId&&r()};if(n)return setTimeout(o,n);const{type:i,timeout:a,propCount:l}=I_(e,t);if(!i)return r();const c=i+"end";let d=0;const f=()=>{e.removeEventListener(c,m),o()},m=p=>{p.target===e&&++d>=l&&f()};setTimeout(()=>{d<l&&f()},a+1),e.addEventListener(c,m)}function I_(e,t){const n=window.getComputedStyle(e),r=h=>(n[h]||"").split(", "),s=r(`${Sr}Delay`),o=r(`${Sr}Duration`),i=nf(s,o),a=r(`${vo}Delay`),l=r(`${vo}Duration`),c=nf(a,l);let d=null,f=0,m=0;t===Sr?i>0&&(d=Sr,f=i,m=o.length):t===vo?c>0&&(d=vo,f=c,m=l.length):(f=Math.max(i,c),d=f>0?i>c?Sr:vo:null,m=d?d===Sr?o.length:l.length:0);const p=d===Sr&&/\b(transform|all)(,|$)/.test(r(`${Sr}Property`).toString());return{type:d,timeout:f,propCount:m,hasTransform:p}}function nf(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((n,r)=>rf(n)+rf(e[r])))}function rf(e){return Number(e.slice(0,-1).replace(",","."))*1e3}function F_(){return document.body.offsetHeight}const R_=new WeakMap,L_=new WeakMap,M_={name:"TransitionGroup",props:_t({},RC,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=On(),r=gd();let s,o;return Rl(()=>{if(!s.length)return;const i=e.moveClass||`${e.name||"v"}-move`;if(!UC(s[0].el,n.vnode.el,i))return;s.forEach(BC),s.forEach(HC);const a=s.filter(jC);F_(),a.forEach(l=>{const c=l.el,d=c.style;pr(c,i),d.transform=d.webkitTransform=d.transitionDuration="";const f=c._moveCb=m=>{m&&m.target!==c||(!m||/transform$/.test(m.propertyName))&&(c.removeEventListener("transitionend",f),c._moveCb=null,Pr(c,i))};c.addEventListener("transitionend",f)})}),()=>{const i=et(e),a=P_(i);let l=i.tag||Oe;s=o,o=t.default?Il(t.default()):[];for(let c=0;c<o.length;c++){const d=o[c];d.key!=null&&_s(d,Zs(d,a,r,n))}if(s)for(let c=0;c<s.length;c++){const d=s[c];_s(d,Zs(d,a,r,n)),R_.set(d,d.el.getBoundingClientRect())}return v(l,null,o)}}},NC=e=>delete e.mode;M_.props;const VC=M_;function BC(e){const t=e.el;t._moveCb&&t._moveCb(),t._enterCb&&t._enterCb()}function HC(e){L_.set(e,e.el.getBoundingClientRect())}function jC(e){const t=R_.get(e),n=L_.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 UC(e,t,n){const r=e.cloneNode();e._vtc&&e._vtc.forEach(i=>{i.split(/\s+/).forEach(a=>a&&r.classList.remove(a))}),n.split(/\s+/).forEach(i=>i&&r.classList.add(i)),r.style.display="none";const s=t.nodeType===1?t:t.parentNode;s.appendChild(r);const{hasTransform:o}=I_(r);return s.removeChild(r),o}const Zr=e=>{const t=e.props["onUpdate:modelValue"]||!1;return ke(t)?n=>Us(t,n):t};function qC(e){e.target.composing=!0}function sf(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const Dt={created(e,{modifiers:{lazy:t,trim:n,number:r}},s){e._assign=Zr(s);const o=r||s.props&&s.props.type==="number";_r(e,t?"change":"input",i=>{if(i.target.composing)return;let a=e.value;n&&(a=a.trim()),o&&(a=nl(a)),e._assign(a)}),n&&_r(e,"change",()=>{e.value=e.value.trim()}),t||(_r(e,"compositionstart",qC),_r(e,"compositionend",sf),_r(e,"change",sf))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,modifiers:{lazy:n,trim:r,number:s}},o){if(e._assign=Zr(o),e.composing||document.activeElement===e&&e.type!=="range"&&(n||r&&e.value.trim()===t||(s||e.type==="number")&&nl(e.value)===t))return;const i=t??"";e.value!==i&&(e.value=i)}},ar={deep:!0,created(e,t,n){e._assign=Zr(n),_r(e,"change",()=>{const r=e._modelValue,s=Js(e),o=e.checked,i=e._assign;if(ke(r)){const a=xl(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(ys(r)){const a=new Set(r);o?a.add(s):a.delete(s),i(a)}else i(N_(e,o))})},mounted:of,beforeUpdate(e,t,n){e._assign=Zr(n),of(e,t,n)}};function of(e,{value:t,oldValue:n},r){e._modelValue=t,ke(t)?e.checked=xl(t,r.props.value)>-1:ys(t)?e.checked=t.has(r.props.value):t!==n&&(e.checked=Ur(t,N_(e,!0)))}const Sd={created(e,{value:t},n){e.checked=Ur(t,n.props.value),e._assign=Zr(n),_r(e,"change",()=>{e._assign(Js(e))})},beforeUpdate(e,{value:t,oldValue:n},r){e._assign=Zr(r),t!==n&&(e.checked=Ur(t,r.props.value))}},$d={deep:!0,created(e,{value:t,modifiers:{number:n}},r){const s=ys(t);_r(e,"change",()=>{const o=Array.prototype.filter.call(e.options,i=>i.selected).map(i=>n?nl(Js(i)):Js(i));e._assign(e.multiple?s?new Set(o):o:o[0])}),e._assign=Zr(r)},mounted(e,{value:t}){af(e,t)},beforeUpdate(e,t,n){e._assign=Zr(n)},updated(e,{value:t}){af(e,t)}};function af(e,t){const n=e.multiple;if(!(n&&!ke(t)&&!ys(t))){for(let r=0,s=e.options.length;r<s;r++){const o=e.options[r],i=Js(o);if(n)ke(t)?o.selected=xl(t,i)>-1:o.selected=t.has(i);else if(Ur(Js(o),t)){e.selectedIndex!==r&&(e.selectedIndex=r);return}}!n&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function Js(e){return"_value"in e?e._value:e.value}function N_(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const V_={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 B_(e,t){switch(e){case"SELECT":return $d;case"TEXTAREA":return Dt;default:switch(t){case"checkbox":return ar;case"radio":return Sd;default:return Dt}}}function Ji(e,t,n,r,s){const i=B_(e.tagName,n.props&&n.props.type)[s];i&&i(e,t,n,r)}function WC(){Dt.getSSRProps=({value:e})=>({value:e}),Sd.getSSRProps=({value:e},t)=>{if(t.props&&Ur(t.props.value,e))return{checked:!0}},ar.getSSRProps=({value:e},t)=>{if(ke(e)){if(t.props&&xl(e,t.props.value)>-1)return{checked:!0}}else if(ys(e)){if(t.props&&e.has(t.props.value))return{checked:!0}}else if(e)return{checked:!0}},V_.getSSRProps=(e,t)=>{if(typeof t.type!="string")return;const n=B_(t.type.toUpperCase(),t.props&&t.props.type);if(n.getSSRProps)return n.getSSRProps(e,t)}}const GC=["ctrl","shift","alt","meta"],KC={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)=>GC.some(n=>e[`${n}Key`]&&!t.includes(n))},ot=(e,t)=>(n,...r)=>{for(let s=0;s<t.length;s++){const o=KC[t[s]];if(o&&o(n,t))return}return e(n,...r)},ZC={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},fn=(e,t)=>n=>{if(!("key"in n))return;const r=En(n.key);if(t.some(s=>s===r||ZC[s]===r))return e(n)},hi={beforeMount(e,{value:t},{transition:n}){e._vod=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):bo(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:r}){!t!=!n&&(r?t?(r.beforeEnter(e),bo(e,!0),r.enter(e)):r.leave(e,()=>{bo(e,!1)}):bo(e,t))},beforeUnmount(e,{value:t}){bo(e,t)}};function bo(e,t){e.style.display=t?e._vod:"none"}function YC(){hi.getSSRProps=({value:e})=>{if(!e)return{style:{display:"none"}}}}const H_=_t({patchProp:TC},gC);let Ko,lf=!1;function j_(){return Ko||(Ko=p_(H_))}function U_(){return Ko=lf?Ko:h_(H_),lf=!0,Ko}const pc=(...e)=>{j_().render(...e)},q_=(...e)=>{U_().hydrate(...e)},W_=(...e)=>{const t=j_().createApp(...e),{mount:n}=t;return t.mount=r=>{const s=G_(r);if(!s)return;const o=t._component;!Me(o)&&!o.render&&!o.template&&(o.template=s.innerHTML),s.innerHTML="";const i=n(s,!1,s instanceof SVGElement);return s instanceof Element&&(s.removeAttribute("v-cloak"),s.setAttribute("data-v-app","")),i},t},JC=(...e)=>{const t=U_().createApp(...e),{mount:n}=t;return t.mount=r=>{const s=G_(r);if(s)return n(s,!0,s instanceof SVGElement)},t};function G_(e){return Ct(e)?document.querySelector(e):e}let uf=!1;const XC=()=>{uf||(uf=!0,WC(),YC())},QC=()=>{},ez=Object.freeze(Object.defineProperty({__proto__:null,BaseTransition:Wh,BaseTransitionPropsValidators:yd,Comment:qt,EffectScope:rd,Fragment:Oe,KeepAlive:g0,ReactiveEffect:wi,Static:ms,Suspense:i0,Teleport:Yr,Text:Wr,Transition:Pt,TransitionGroup:VC,VueElement:Vl,assertNumber:Wb,callWithAsyncErrorHandling:yn,callWithErrorHandling:yr,camelize:on,capitalize:zi,cloneVNode:ir,compatUtils:hC,compile:QC,computed:Ft,createApp:W_,createBlock:be,createCommentVNode:H,createElementBlock:$,createElementVNode:u,createHydrationRenderer:h_,createPropsRestProxy:I0,createRenderer:p_,createSSRApp:JC,createSlots:$i,createStaticVNode:nC,createTextVNode:dt,createVNode:v,customRef:Mb,defineAsyncComponent:h0,defineComponent:lo,defineCustomElement:O_,defineEmits:w0,defineExpose:k0,defineModel:S0,defineOptions:x0,defineProps:z0,defineSSRCustomElement:DC,defineSlots:E0,get devtools(){return Ps},effect:sb,effectScope:sd,getCurrentInstance:On,getCurrentScope:vh,getTransitionRawChildren:Il,guardReactiveProps:C_,h:er,handleError:bs,hasInjectionContext:j0,hydrate:q_,initCustomFormatter:cC,initDirectivesForSSR:XC,inject:Bn,isMemoSame:A_,isProxy:ld,isReactive:cs,isReadonly:hs,isRef:Ot,isRuntimeOnly:aC,isShallow:ai,isVNode:Gr,markRaw:ud,mergeDefaults:D0,mergeModels:P0,mergeProps:Ms,nextTick:ki,normalizeClass:Te,normalizeProps:Do,normalizeStyle:rn,onActivated:Kh,onBeforeMount:Jh,onBeforeUnmount:Ll,onBeforeUpdate:Xh,onDeactivated:Zh,onErrorCaptured:n_,onMounted:uo,onRenderTracked:t_,onRenderTriggered:e_,onScopeDispose:tb,onServerPrefetch:Qh,onUnmounted:Si,onUpdated:Rl,openBlock:w,popScopeId:Qb,provide:qo,proxyRefs:md,pushScopeId:Xb,queuePostFlushCb:pd,reactive:vs,readonly:ad,ref:Kt,registerRuntimeCompiler:iC,render:pc,renderList:pt,renderSlot:lt,resolveComponent:S,resolveDirective:bd,resolveDynamicComponent:s_,resolveFilter:pC,resolveTransitionHooks:Zs,setBlockTracking:ac,setDevtoolsHook:Nh,setTransitionHooks:_s,shallowReactive:Dh,shallowReadonly:Db,shallowRef:Ph,ssrContextKey:S_,ssrUtils:fC,stop:ob,toDisplayString:g,toHandlerKey:jo,toHandlers:b0,toRaw:et,toRef:Hb,toRefs:Nb,toValue:Fb,transformVNodeArgs:eC,triggerRef:Ib,unref:hn,useAttrs:T0,useCssModule:IC,useCssVars:FC,useModel:O0,useSSRContext:$_,useSlots:A0,useTransitionState:gd,vModelCheckbox:ar,vModelDynamic:V_,vModelRadio:Sd,vModelSelect:$d,vModelText:Dt,vShow:hi,version:T_,warn:qb,watch:Xt,watchEffect:jh,watchPostEffect:Uh,watchSyncEffect:m0,withAsyncContext:F0,withCtx:E,withDefaults:$0,withDirectives:ut,withKeys:fn,withMemo:dC,withModifiers:ot,withScopeId:e0},Symbol.toStringTag,{value:"Module"}));/*!
* shared v9.2.2
* (c) 2022 kazuya kawaguchi
* Released under the MIT License.
*/const hc=typeof window<"u",tz=typeof Symbol=="function"&&typeof Symbol.toStringTag=="symbol",Jr=e=>tz?Symbol(e):e,_i=e=>typeof e=="number"&&isFinite(e),cf=e=>Z_(e)==="[object RegExp]",nz=e=>Jn(e)&&Object.keys(e).length===0,rr=Object.assign;let df;const K_=()=>df||(df=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{}),rz=Object.prototype.hasOwnProperty;function Ad(e,t){return rz.call(e,t)}const tr=Array.isArray,Xi=e=>typeof e=="function",It=e=>typeof e=="string",Fr=e=>typeof e=="boolean",Hn=e=>e!==null&&typeof e=="object",sz=Object.prototype.toString,Z_=e=>sz.call(e),Jn=e=>Z_(e)==="[object Object]";/*!
* shared v9.2.2
* (c) 2022 kazuya kawaguchi
* Released under the MIT License.
*/const oz=(e,t,n)=>iz({l:e,k:t,s:n}),iz=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),_n=e=>typeof e=="number"&&isFinite(e),az=e=>Od(e)==="[object Date]",mf=e=>Od(e)==="[object RegExp]",Td=e=>bt(e)&&Object.keys(e).length===0;function lz(e,t){typeof console<"u"&&(console.warn("[intlify] "+e),t&&console.warn(t.stack))}const Ai=Object.assign;let ff;const uz=()=>ff||(ff=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function pf(e){return e.replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&apos;")}const sr=Array.isArray,pn=e=>typeof e=="function",We=e=>typeof e=="string",gn=e=>typeof e=="boolean",Zt=e=>e!==null&&typeof e=="object",Y_=Object.prototype.toString,Od=e=>Y_.call(e),bt=e=>Od(e)==="[object Object]",cz=e=>e==null?"":sr(e)||bt(e)&&e.toString===Y_?JSON.stringify(e,null,2):String(e);/*!
* message-compiler v9.2.2
* (c) 2022 kazuya kawaguchi
* Released under the MIT License.
*/const J_={EXPECTED_TOKEN:1,INVALID_TOKEN_IN_PLACEHOLDER:2,UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER:3,UNKNOWN_ESCAPE_SEQUENCE:4,INVALID_UNICODE_ESCAPE_SEQUENCE:5,UNBALANCED_CLOSING_BRACE:6,UNTERMINATED_CLOSING_BRACE:7,EMPTY_PLACEHOLDER:8,NOT_ALLOW_NEST_PLACEHOLDER:9,INVALID_LINKED_FORMAT:10,MUST_HAVE_MESSAGES_IN_PLURAL:11,UNEXPECTED_EMPTY_LINKED_MODIFIER:12,UNEXPECTED_EMPTY_LINKED_KEY:13,UNEXPECTED_LEXICAL_ANALYSIS:14,__EXTEND_POINT__:15};function X_(e,t,n={}){const{domain:r,messages:s,args:o}=n,i=e,a=new SyntaxError(String(i));return a.code=e,t&&(a.location=t),a.domain=r,a}/*!
* devtools-if v9.2.2
* (c) 2022 kazuya kawaguchi
* Released under the MIT License.
*/const Q_={I18nInit:"i18n:init",FunctionTranslate:"function:translate"};/*!
* core-base v9.2.2
* (c) 2022 kazuya kawaguchi
* Released under the MIT License.
*/const Xr=[];Xr[0]={w:[0],i:[3,0],["["]:[4],o:[7]};Xr[1]={w:[1],["."]:[2],["["]:[4],o:[7]};Xr[2]={w:[2],i:[3,0],[0]:[3,0]};Xr[3]={i:[3,0],[0]:[3,0],w:[1,1],["."]:[2,1],["["]:[4,1],o:[7,1]};Xr[4]={["'"]:[5,0],['"']:[6,0],["["]:[4,2],["]"]:[1,3],o:8,l:[4,0]};Xr[5]={["'"]:[4,0],o:8,l:[5,0]};Xr[6]={['"']:[4,0],o:8,l:[6,0]};const dz=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function mz(e){return dz.test(e)}function fz(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 pz(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 hz(e){const t=e.trim();return e.charAt(0)==="0"&&isNaN(parseInt(e))?!1:mz(t)?fz(t):"*"+t}function _z(e){const t=[];let n=-1,r=0,s=0,o,i,a,l,c,d,f;const m=[];m[0]=()=>{i===void 0?i=a:i+=a},m[1]=()=>{i!==void 0&&(t.push(i),i=void 0)},m[2]=()=>{m[0](),s++},m[3]=()=>{if(s>0)s--,r=4,m[0]();else{if(s=0,i===void 0||(i=hz(i),i===!1))return!1;m[1]()}};function p(){const h=e[n+1];if(r===5&&h==="'"||r===6&&h==='"')return n++,a="\\"+h,m[0](),!0}for(;r!==null;)if(n++,o=e[n],!(o==="\\"&&p())){if(l=pz(o),f=Xr[r],c=f[l]||f.l||8,c===8||(r=c[0],c[1]!==void 0&&(d=m[c[1]],d&&(a=o,d()===!1))))return;if(r===7)return t}}const hf=new Map;function gz(e,t){return Zt(e)?e[t]:null}function yz(e,t){if(!Zt(e))return null;let n=hf.get(t);if(n||(n=_z(t),n&&hf.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)return null;s=i,o++}return s}const vz=e=>e,bz=e=>"",Cz="text",zz=e=>e.length===0?"":e.join(""),wz=cz;function _f(e,t){return e=Math.abs(e),t===2?e?e>1?1:0:1:e?Math.min(e,2):0}function kz(e){const t=_n(e.pluralIndex)?e.pluralIndex:-1;return e.named&&(_n(e.named.count)||_n(e.named.n))?_n(e.named.count)?e.named.count:_n(e.named.n)?e.named.n:t:t}function xz(e,t){t.count||(t.count=e),t.n||(t.n=e)}function Ez(e={}){const t=e.locale,n=kz(e),r=Zt(e.pluralRules)&&We(t)&&pn(e.pluralRules[t])?e.pluralRules[t]:_f,s=Zt(e.pluralRules)&&We(t)&&pn(e.pluralRules[t])?_f:void 0,o=b=>b[r(n,b.length,s)],i=e.list||[],a=b=>i[b],l=e.named||{};_n(e.pluralIndex)&&xz(n,l);const c=b=>l[b];function d(b){const y=pn(e.messages)?e.messages(b):Zt(e.messages)?e.messages[b]:!1;return y||(e.parent?e.parent.message(b):bz)}const f=b=>e.modifiers?e.modifiers[b]:vz,m=bt(e.processor)&&pn(e.processor.normalize)?e.processor.normalize:zz,p=bt(e.processor)&&pn(e.processor.interpolate)?e.processor.interpolate:wz,h=bt(e.processor)&&We(e.processor.type)?e.processor.type:Cz,C={list:a,named:c,plural:o,linked:(b,...y)=>{const[k,z]=y;let x="text",T="";y.length===1?Zt(k)?(T=k.modifier||T,x=k.type||x):We(k)&&(T=k||T):y.length===2&&(We(k)&&(T=k||T),We(z)&&(x=z||x));let L=d(b)(C);return x==="vnode"&&sr(L)&&T&&(L=L[0]),T?f(T)(L,x):L},message:d,type:h,interpolate:p,normalize:m};return C}let gi=null;function Sz(e){gi=e}function $z(e,t,n){gi&&gi.emit(Q_.I18nInit,{timestamp:Date.now(),i18n:e,version:t,meta:n})}const Az=Tz(Q_.FunctionTranslate);function Tz(e){return t=>gi&&gi.emit(e,t)}function Oz(e,t,n){return[...new Set([n,...sr(t)?t:Zt(t)?Object.keys(t):We(t)?[t]:[n]])]}function eg(e,t,n){const r=We(n)?n:Dd,s=e;s.__localeChainCache||(s.__localeChainCache=new Map);let o=s.__localeChainCache.get(r);if(!o){o=[];let i=[n];for(;sr(i);)i=gf(o,i,t);const a=sr(t)||!bt(t)?t:t.default?t.default:null;i=We(a)?[a]:a,sr(i)&&gf(o,i,!1),s.__localeChainCache.set(r,o)}return o}function gf(e,t,n){let r=!0;for(let s=0;s<t.length&&gn(r);s++){const o=t[s];We(o)&&(r=Dz(e,t[s],n))}return r}function Dz(e,t,n){let r;const s=t.split("-");do{const o=s.join("-");r=Pz(e,o,n),s.splice(-1,1)}while(s.length&&r===!0);return r}function Pz(e,t,n){let r=!1;if(!e.includes(t)&&(r=!0,t)){r=t[t.length-1]!=="!";const s=t.replace(/!/g,"");e.push(s),(sr(n)||bt(n))&&n[s]&&(r=n[s])}return r}const Iz="9.2.2",Bl=-1,Dd="en-US",yf="",vf=e=>`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;function Fz(){return{upper:(e,t)=>t==="text"&&We(e)?e.toUpperCase():t==="vnode"&&Zt(e)&&"__v_isVNode"in e?e.children.toUpperCase():e,lower:(e,t)=>t==="text"&&We(e)?e.toLowerCase():t==="vnode"&&Zt(e)&&"__v_isVNode"in e?e.children.toLowerCase():e,capitalize:(e,t)=>t==="text"&&We(e)?vf(e):t==="vnode"&&Zt(e)&&"__v_isVNode"in e?vf(e.children):e}}let Rz,tg;function Lz(e){tg=e}let ng;function Mz(e){ng=e}let rg=null;const bf=e=>{rg=e},Nz=()=>rg;let sg=null;const Cf=e=>{sg=e},Vz=()=>sg;let zf=0;function Bz(e={}){const t=We(e.version)?e.version:Iz,n=We(e.locale)?e.locale:Dd,r=sr(e.fallbackLocale)||bt(e.fallbackLocale)||We(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:n,s=bt(e.messages)?e.messages:{[n]:{}},o=bt(e.datetimeFormats)?e.datetimeFormats:{[n]:{}},i=bt(e.numberFormats)?e.numberFormats:{[n]:{}},a=Ai({},e.modifiers||{},Fz()),l=e.pluralRules||{},c=pn(e.missing)?e.missing:null,d=gn(e.missingWarn)||mf(e.missingWarn)?e.missingWarn:!0,f=gn(e.fallbackWarn)||mf(e.fallbackWarn)?e.fallbackWarn:!0,m=!!e.fallbackFormat,p=!!e.unresolving,h=pn(e.postTranslation)?e.postTranslation:null,_=bt(e.processor)?e.processor:null,C=gn(e.warnHtmlMessage)?e.warnHtmlMessage:!0,b=!!e.escapeParameter,y=pn(e.messageCompiler)?e.messageCompiler:Rz,k=pn(e.messageResolver)?e.messageResolver:tg||gz,z=pn(e.localeFallbacker)?e.localeFallbacker:ng||Oz,x=Zt(e.fallbackContext)?e.fallbackContext:void 0,T=pn(e.onWarn)?e.onWarn:lz,L=e,I=Zt(L.__datetimeFormatters)?L.__datetimeFormatters:new Map,D=Zt(L.__numberFormatters)?L.__numberFormatters:new Map,U=Zt(L.__meta)?L.__meta:{};zf++;const Z={version:t,cid:zf,locale:n,fallbackLocale:r,messages:s,modifiers:a,pluralRules:l,missing:c,missingWarn:d,fallbackWarn:f,fallbackFormat:m,unresolving:p,postTranslation:h,processor:_,warnHtmlMessage:C,escapeParameter:b,messageCompiler:y,messageResolver:k,localeFallbacker:z,fallbackContext:x,onWarn:T,__meta:U};return Z.datetimeFormats=o,Z.numberFormats=i,Z.__datetimeFormatters=I,Z.__numberFormatters=D,__INTLIFY_PROD_DEVTOOLS__&&$z(Z,t,U),Z}function Pd(e,t,n,r,s){const{missing:o,onWarn:i}=e;if(o!==null){const a=o(e,n,t,s);return We(a)?a:t}else return t}function Co(e,t,n){const r=e;r.__localeChainCache=new Map,e.localeFallbacker(e,n,t)}let og=J_.__EXTEND_POINT__;const yu=()=>++og,Ns={INVALID_ARGUMENT:og,INVALID_DATE_ARGUMENT:yu(),INVALID_ISO_DATE_ARGUMENT:yu(),__EXTEND_POINT__:yu()};function Vs(e){return X_(e,null,void 0)}const wf=()=>"",Xn=e=>pn(e);function kf(e,...t){const{fallbackFormat:n,postTranslation:r,unresolving:s,messageCompiler:o,fallbackLocale:i,messages:a}=e,[l,c]=_c(...t),d=gn(c.missingWarn)?c.missingWarn:e.missingWarn,f=gn(c.fallbackWarn)?c.fallbackWarn:e.fallbackWarn,m=gn(c.escapeParameter)?c.escapeParameter:e.escapeParameter,p=!!c.resolvedMessage,h=We(c.default)||gn(c.default)?gn(c.default)?o?l:()=>l:c.default:n?o?l:()=>l:"",_=n||h!=="",C=We(c.locale)?c.locale:e.locale;m&&Hz(c);let[b,y,k]=p?[l,C,a[C]||{}]:ig(e,l,C,i,f,d),z=b,x=l;if(!p&&!(We(z)||Xn(z))&&_&&(z=h,x=z),!p&&(!(We(z)||Xn(z))||!We(y)))return s?Bl:l;let T=!1;const L=()=>{T=!0},I=Xn(z)?z:ag(e,l,y,z,x,L);if(T)return z;const D=qz(e,y,k,c),U=Ez(D),Z=jz(e,I,U),X=r?r(Z,l):Z;if(__INTLIFY_PROD_DEVTOOLS__){const j={timestamp:Date.now(),key:We(l)?l:Xn(z)?z.key:"",locale:y||(Xn(z)?z.locale:""),format:We(z)?z:Xn(z)?z.source:"",message:X};j.meta=Ai({},e.__meta,Nz()||{}),Az(j)}return X}function Hz(e){sr(e.list)?e.list=e.list.map(t=>We(t)?pf(t):t):Zt(e.named)&&Object.keys(e.named).forEach(t=>{We(e.named[t])&&(e.named[t]=pf(e.named[t]))})}function ig(e,t,n,r,s,o){const{messages:i,onWarn:a,messageResolver:l,localeFallbacker:c}=e,d=c(e,r,n);let f={},m,p=null;const h="translate";for(let _=0;_<d.length&&(m=d[_],f=i[m]||{},(p=l(f,t))===null&&(p=f[t]),!(We(p)||pn(p)));_++){const C=Pd(e,t,m,o,h);C!==t&&(p=C)}return[p,m,f]}function ag(e,t,n,r,s,o){const{messageCompiler:i,warnHtmlMessage:a}=e;if(Xn(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,Uz(e,n,s,r,a,o));return l.locale=n,l.key=t,l.source=r,l}function jz(e,t,n){return t(n)}function _c(...e){const[t,n,r]=e,s={};if(!We(t)&&!_n(t)&&!Xn(t))throw Vs(Ns.INVALID_ARGUMENT);const o=_n(t)?String(t):(Xn(t),t);return _n(n)?s.plural=n:We(n)?s.default=n:bt(n)&&!Td(n)?s.named=n:sr(n)&&(s.list=n),_n(r)?s.plural=r:We(r)?s.default=r:bt(r)&&Ai(s,r),[o,s]}function Uz(e,t,n,r,s,o){return{warnHtmlMessage:s,onError:i=>{throw o&&o(i),i},onCacheKey:i=>oz(t,n,i)}}function qz(e,t,n,r){const{modifiers:s,pluralRules:o,messageResolver:i,fallbackLocale:a,fallbackWarn:l,missingWarn:c,fallbackContext:d}=e,m={locale:t,modifiers:s,pluralRules:o,messages:p=>{let h=i(n,p);if(h==null&&d){const[,,_]=ig(d,p,t,a,l,c);h=i(_,p)}if(We(h)){let _=!1;const b=ag(e,p,t,h,p,()=>{_=!0});return _?wf:b}else return Xn(h)?h:wf}};return e.processor&&(m.processor=e.processor),r.list&&(m.list=r.list),r.named&&(m.named=r.named),_n(r.plural)&&(m.pluralIndex=r.plural),m}function xf(e,...t){const{datetimeFormats:n,unresolving:r,fallbackLocale:s,onWarn:o,localeFallbacker:i}=e,{__datetimeFormatters:a}=e,[l,c,d,f]=gc(...t),m=gn(d.missingWarn)?d.missingWarn:e.missingWarn;gn(d.fallbackWarn)?d.fallbackWarn:e.fallbackWarn;const p=!!d.part,h=We(d.locale)?d.locale:e.locale,_=i(e,s,h);if(!We(l)||l==="")return new Intl.DateTimeFormat(h,f).format(c);let C={},b,y=null;const k="datetime format";for(let T=0;T<_.length&&(b=_[T],C=n[b]||{},y=C[l],!bt(y));T++)Pd(e,l,b,m,k);if(!bt(y)||!We(b))return r?Bl:l;let z=`${b}__${l}`;Td(f)||(z=`${z}__${JSON.stringify(f)}`);let x=a.get(z);return x||(x=new Intl.DateTimeFormat(b,Ai({},y,f)),a.set(z,x)),p?x.formatToParts(c):x.format(c)}const lg=["localeMatcher","weekday","era","year","month","day","hour","minute","second","timeZoneName","formatMatcher","hour12","timeZone","dateStyle","timeStyle","calendar","dayPeriod","numberingSystem","hourCycle","fractionalSecondDigits"];function gc(...e){const[t,n,r,s]=e,o={};let i={},a;if(We(t)){const l=t.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);if(!l)throw Vs(Ns.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 Vs(Ns.INVALID_ISO_DATE_ARGUMENT)}}else if(az(t)){if(isNaN(t.getTime()))throw Vs(Ns.INVALID_DATE_ARGUMENT);a=t}else if(_n(t))a=t;else throw Vs(Ns.INVALID_ARGUMENT);return We(n)?o.key=n:bt(n)&&Object.keys(n).forEach(l=>{lg.includes(l)?i[l]=n[l]:o[l]=n[l]}),We(r)?o.locale=r:bt(r)&&(i=r),bt(s)&&(i=s),[o.key||"",a,o,i]}function Ef(e,t,n){const r=e;for(const s in n){const o=`${t}__${s}`;r.__datetimeFormatters.has(o)&&r.__datetimeFormatters.delete(o)}}function Sf(e,...t){const{numberFormats:n,unresolving:r,fallbackLocale:s,onWarn:o,localeFallbacker:i}=e,{__numberFormatters:a}=e,[l,c,d,f]=yc(...t),m=gn(d.missingWarn)?d.missingWarn:e.missingWarn;gn(d.fallbackWarn)?d.fallbackWarn:e.fallbackWarn;const p=!!d.part,h=We(d.locale)?d.locale:e.locale,_=i(e,s,h);if(!We(l)||l==="")return new Intl.NumberFormat(h,f).format(c);let C={},b,y=null;const k="number format";for(let T=0;T<_.length&&(b=_[T],C=n[b]||{},y=C[l],!bt(y));T++)Pd(e,l,b,m,k);if(!bt(y)||!We(b))return r?Bl:l;let z=`${b}__${l}`;Td(f)||(z=`${z}__${JSON.stringify(f)}`);let x=a.get(z);return x||(x=new Intl.NumberFormat(b,Ai({},y,f)),a.set(z,x)),p?x.formatToParts(c):x.format(c)}const ug=["localeMatcher","style","currency","currencyDisplay","currencySign","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","notation","signDisplay","unit","unitDisplay","roundingMode","roundingPriority","roundingIncrement","trailingZeroDisplay"];function yc(...e){const[t,n,r,s]=e,o={};let i={};if(!_n(t))throw Vs(Ns.INVALID_ARGUMENT);const a=t;return We(n)?o.key=n:bt(n)&&Object.keys(n).forEach(l=>{ug.includes(l)?i[l]=n[l]:o[l]=n[l]}),We(r)?o.locale=r:bt(r)&&(i=r),bt(s)&&(i=s),[o.key||"",a,o,i]}function $f(e,t,n){const r=e;for(const s in n){const o=`${t}__${s}`;r.__numberFormatters.has(o)&&r.__numberFormatters.delete(o)}}typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(uz().__INTLIFY_PROD_DEVTOOLS__=!1);function Wz(){return cg().__VUE_DEVTOOLS_GLOBAL_HOOK__}function cg(){return typeof navigator<"u"&&typeof window<"u"?window:typeof global<"u"?global:{}}const Gz=typeof Proxy=="function",Kz="devtools-plugin:setup",Zz="plugin:settings:set";let xs,vc;function Yz(){var e;return xs!==void 0||(typeof window<"u"&&window.performance?(xs=!0,vc=window.performance):typeof global<"u"&&(!((e=global.perf_hooks)===null||e===void 0)&&e.performance)?(xs=!0,vc=global.perf_hooks.performance):xs=!1),xs}function Jz(){return Yz()?vc.now():Date.now()}class Xz{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 Jz()}},n&&n.on(Zz,(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 Qz(e,t){const n=e,r=cg(),s=Wz(),o=Gz&&n.enableEarlyProxy;if(s&&(r.__VUE_DEVTOOLS_PLUGIN_API_AVAILABLE__||!o))s.emit(Kz,e,t);else{const i=o?new Xz(n,s):null;(r.__VUE_DEVTOOLS_PLUGINS__=r.__VUE_DEVTOOLS_PLUGINS__||[]).push({pluginDescriptor:n,setupFn:t,proxy:i}),i&&t(i.proxiedTarget)}}/*!
* vue-i18n v9.2.2
* (c) 2022 kazuya kawaguchi
* Released under the MIT License.
*/const ew="9.2.2";function tw(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(K_().__INTLIFY_PROD_DEVTOOLS__=!1)}let dg=J_.__EXTEND_POINT__;const Qt=()=>++dg,bn={UNEXPECTED_RETURN_TYPE:dg,INVALID_ARGUMENT:Qt(),MUST_BE_CALL_SETUP_TOP:Qt(),NOT_INSLALLED:Qt(),NOT_AVAILABLE_IN_LEGACY_MODE:Qt(),REQUIRED_VALUE:Qt(),INVALID_VALUE:Qt(),CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:Qt(),NOT_INSLALLED_WITH_PROVIDE:Qt(),UNEXPECTED_ERROR:Qt(),NOT_COMPATIBLE_LEGACY_VUE_I18N:Qt(),BRIDGE_SUPPORT_VUE_2_ONLY:Qt(),MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION:Qt(),NOT_AVAILABLE_COMPOSITION_IN_LEGACY:Qt(),__EXTEND_POINT__:Qt()};function An(e,...t){return X_(e,null,void 0)}const bc=Jr("__transrateVNode"),Cc=Jr("__datetimeParts"),zc=Jr("__numberParts"),nw=Jr("__setPluralRules");Jr("__intlifyMeta");const rw=Jr("__injectWithOption");function wc(e){if(!Hn(e))return e;for(const t in e)if(Ad(e,t))if(!t.includes("."))Hn(e[t])&&wc(e[t]);else{const n=t.split("."),r=n.length-1;let s=e;for(let o=0;o<r;o++)n[o]in s||(s[n[o]]={}),s=s[n[o]];s[n[r]]=e[t],delete e[t],Hn(s[n[r]])&&wc(s[n[r]])}return e}function mg(e,t){const{messages:n,__i18n:r,messageResolver:s,flatJson:o}=t,i=Jn(n)?n:tr(r)?{}:{[e]:{}};if(tr(r)&&r.forEach(a=>{if("locale"in a&&"resource"in a){const{locale:l,resource:c}=a;l?(i[l]=i[l]||{},Zo(c,i[l])):Zo(c,i)}else It(a)&&Zo(JSON.parse(a),i)}),s==null&&o)for(const a in i)Ad(i,a)&&wc(i[a]);return i}const Qi=e=>!Hn(e)||tr(e);function Zo(e,t){if(Qi(e)||Qi(t))throw An(bn.INVALID_VALUE);for(const n in e)Ad(e,n)&&(Qi(e[n])||Qi(t[n])?t[n]=e[n]:Zo(e[n],t[n]))}function fg(e){return e.type}function sw(e,t,n){let r=Hn(t.messages)?t.messages:{};"__i18nGlobal"in n&&(r=mg(e.locale.value,{messages:r,__i18n:n.__i18nGlobal}));const s=Object.keys(r);s.length&&s.forEach(o=>{e.mergeLocaleMessage(o,r[o])});{if(Hn(t.datetimeFormats)){const o=Object.keys(t.datetimeFormats);o.length&&o.forEach(i=>{e.mergeDateTimeFormat(i,t.datetimeFormats[i])})}if(Hn(t.numberFormats)){const o=Object.keys(t.numberFormats);o.length&&o.forEach(i=>{e.mergeNumberFormat(i,t.numberFormats[i])})}}}function Af(e){return v(Wr,null,e,0)}const Tf="__INTLIFY_META__";let Of=0;function Df(e){return(t,n,r,s)=>e(n,r,On()||void 0,s)}const ow=()=>{const e=On();let t=null;return e&&(t=fg(e)[Tf])?{[Tf]:t}:null};function pg(e={},t){const{__root:n}=e,r=n===void 0;let s=Fr(e.inheritLocale)?e.inheritLocale:!0;const o=Kt(n&&s?n.locale.value:It(e.locale)?e.locale:Dd),i=Kt(n&&s?n.fallbackLocale.value:It(e.fallbackLocale)||tr(e.fallbackLocale)||Jn(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:o.value),a=Kt(mg(o.value,e)),l=Kt(Jn(e.datetimeFormats)?e.datetimeFormats:{[o.value]:{}}),c=Kt(Jn(e.numberFormats)?e.numberFormats:{[o.value]:{}});let d=n?n.missingWarn:Fr(e.missingWarn)||cf(e.missingWarn)?e.missingWarn:!0,f=n?n.fallbackWarn:Fr(e.fallbackWarn)||cf(e.fallbackWarn)?e.fallbackWarn:!0,m=n?n.fallbackRoot:Fr(e.fallbackRoot)?e.fallbackRoot:!0,p=!!e.fallbackFormat,h=Xi(e.missing)?e.missing:null,_=Xi(e.missing)?Df(e.missing):null,C=Xi(e.postTranslation)?e.postTranslation:null,b=n?n.warnHtmlMessage:Fr(e.warnHtmlMessage)?e.warnHtmlMessage:!0,y=!!e.escapeParameter;const k=n?n.modifiers:Jn(e.modifiers)?e.modifiers:{};let z=e.pluralRules||n&&n.pluralRules,x;x=(()=>{r&&Cf(null);const R={version:ew,locale:o.value,fallbackLocale:i.value,messages:a.value,modifiers:k,pluralRules:z,missing:_===null?void 0:_,missingWarn:d,fallbackWarn:f,fallbackFormat:p,unresolving:!0,postTranslation:C===null?void 0:C,warnHtmlMessage:b,escapeParameter:y,messageResolver:e.messageResolver,__meta:{framework:"vue"}};R.datetimeFormats=l.value,R.numberFormats=c.value,R.__datetimeFormatters=Jn(x)?x.__datetimeFormatters:void 0,R.__numberFormatters=Jn(x)?x.__numberFormatters:void 0;const B=Bz(R);return r&&Cf(B),B})(),Co(x,o.value,i.value);function L(){return[o.value,i.value,a.value,l.value,c.value]}const I=Ft({get:()=>o.value,set:R=>{o.value=R,x.locale=o.value}}),D=Ft({get:()=>i.value,set:R=>{i.value=R,x.fallbackLocale=i.value,Co(x,o.value,R)}}),U=Ft(()=>a.value),Z=Ft(()=>l.value),X=Ft(()=>c.value);function j(){return Xi(C)?C:null}function q(R){C=R,x.postTranslation=R}function Ce(){return h}function te(R){R!==null&&(_=Df(R)),h=R,x.missing=_}const ie=(R,B,ge,ze,Fe,Ue)=>{L();let Ve;if(__INTLIFY_PROD_DEVTOOLS__)try{bf(ow()),r||(x.fallbackContext=n?Vz():void 0),Ve=R(x)}finally{bf(null),r||(x.fallbackContext=void 0)}else Ve=R(x);if(_i(Ve)&&Ve===Bl){const[F,M]=B();return n&&m?ze(n):Fe(F)}else{if(Ue(Ve))return Ve;throw An(bn.UNEXPECTED_RETURN_TYPE)}};function ye(...R){return ie(B=>Reflect.apply(kf,null,[B,...R]),()=>_c(...R),"translate",B=>Reflect.apply(B.t,B,[...R]),B=>B,B=>It(B))}function je(...R){const[B,ge,ze]=R;if(ze&&!Hn(ze))throw An(bn.INVALID_ARGUMENT);return ye(B,ge,rr({resolvedMessage:!0},ze||{}))}function it(...R){return ie(B=>Reflect.apply(xf,null,[B,...R]),()=>gc(...R),"datetime format",B=>Reflect.apply(B.d,B,[...R]),()=>yf,B=>It(B))}function ce(...R){return ie(B=>Reflect.apply(Sf,null,[B,...R]),()=>yc(...R),"number format",B=>Reflect.apply(B.n,B,[...R]),()=>yf,B=>It(B))}function W(R){return R.map(B=>It(B)||_i(B)||Fr(B)?Af(String(B)):B)}const Ae={normalize:W,interpolate:R=>R,type:"vnode"};function Le(...R){return ie(B=>{let ge;const ze=B;try{ze.processor=Ae,ge=Reflect.apply(kf,null,[ze,...R])}finally{ze.processor=null}return ge},()=>_c(...R),"translate",B=>B[bc](...R),B=>[Af(B)],B=>tr(B))}function Ee(...R){return ie(B=>Reflect.apply(Sf,null,[B,...R]),()=>yc(...R),"number format",B=>B[zc](...R),()=>[],B=>It(B)||tr(B))}function V(...R){return ie(B=>Reflect.apply(xf,null,[B,...R]),()=>gc(...R),"datetime format",B=>B[Cc](...R),()=>[],B=>It(B)||tr(B))}function le(R){z=R,x.pluralRules=z}function ne(R,B){const ge=It(B)?B:o.value,ze=A(ge);return x.messageResolver(ze,R)!==null}function pe(R){let B=null;const ge=eg(x,i.value,o.value);for(let ze=0;ze<ge.length;ze++){const Fe=a.value[ge[ze]]||{},Ue=x.messageResolver(Fe,R);if(Ue!=null){B=Ue;break}}return B}function De(R){const B=pe(R);return B??(n?n.tm(R)||{}:{})}function A(R){return a.value[R]||{}}function O(R,B){a.value[R]=B,x.messages=a.value}function P(R,B){a.value[R]=a.value[R]||{},Zo(B,a.value[R]),x.messages=a.value}function K(R){return l.value[R]||{}}function J(R,B){l.value[R]=B,x.datetimeFormats=l.value,Ef(x,R,B)}function ee(R,B){l.value[R]=rr(l.value[R]||{},B),x.datetimeFormats=l.value,Ef(x,R,B)}function de(R){return c.value[R]||{}}function ae(R,B){c.value[R]=B,x.numberFormats=c.value,$f(x,R,B)}function oe(R,B){c.value[R]=rr(c.value[R]||{},B),x.numberFormats=c.value,$f(x,R,B)}Of++,n&&hc&&(Xt(n.locale,R=>{s&&(o.value=R,x.locale=R,Co(x,o.value,i.value))}),Xt(n.fallbackLocale,R=>{s&&(i.value=R,x.fallbackLocale=R,Co(x,o.value,i.value))}));const Y={id:Of,locale:I,fallbackLocale:D,get inheritLocale(){return s},set inheritLocale(R){s=R,R&&n&&(o.value=n.locale.value,i.value=n.fallbackLocale.value,Co(x,o.value,i.value))},get availableLocales(){return Object.keys(a.value).sort()},messages:U,get modifiers(){return k},get pluralRules(){return z||{}},get isGlobal(){return r},get missingWarn(){return d},set missingWarn(R){d=R,x.missingWarn=d},get fallbackWarn(){return f},set fallbackWarn(R){f=R,x.fallbackWarn=f},get fallbackRoot(){return m},set fallbackRoot(R){m=R},get fallbackFormat(){return p},set fallbackFormat(R){p=R,x.fallbackFormat=p},get warnHtmlMessage(){return b},set warnHtmlMessage(R){b=R,x.warnHtmlMessage=R},get escapeParameter(){return y},set escapeParameter(R){y=R,x.escapeParameter=R},t:ye,getLocaleMessage:A,setLocaleMessage:O,mergeLocaleMessage:P,getPostTranslationHandler:j,setPostTranslationHandler:q,getMissingHandler:Ce,setMissingHandler:te,[nw]:le};return Y.datetimeFormats=Z,Y.numberFormats=X,Y.rt=je,Y.te=ne,Y.tm=De,Y.d=it,Y.n=ce,Y.getDateTimeFormat=K,Y.setDateTimeFormat=J,Y.mergeDateTimeFormat=ee,Y.getNumberFormat=de,Y.setNumberFormat=ae,Y.mergeNumberFormat=oe,Y[rw]=e.__injectWithOption,Y[bc]=Le,Y[Cc]=V,Y[zc]=Ee,Y}const Id={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e==="parent"||e==="global",default:"parent"},i18n:{type:Object}};function iw({slots:e},t){return t.length===1&&t[0]==="default"?(e.default?e.default():[]).reduce((r,s)=>r=[...r,...tr(s.children)?s.children:[s]],[]):t.reduce((n,r)=>{const s=e[r];return s&&(n[r]=s()),n},{})}function hg(e){return Oe}const Pf={name:"i18n-t",props:rr({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>_i(e)||!isNaN(e)}},Id),setup(e,t){const{slots:n,attrs:r}=t,s=e.i18n||Fd({useScope:e.scope,__useComponent:!0});return()=>{const o=Object.keys(n).filter(f=>f!=="_"),i={};e.locale&&(i.locale=e.locale),e.plural!==void 0&&(i.plural=It(e.plural)?+e.plural:e.plural);const a=iw(t,o),l=s[bc](e.keypath,a,i),c=rr({},r),d=It(e.tag)||Hn(e.tag)?e.tag:hg();return er(d,c,l)}}};function aw(e){return tr(e)&&!It(e[0])}function _g(e,t,n,r){const{slots:s,attrs:o}=t;return()=>{const i={part:!0};let a={};e.locale&&(i.locale=e.locale),It(e.format)?i.key=e.format:Hn(e.format)&&(It(e.format.key)&&(i.key=e.format.key),a=Object.keys(e.format).reduce((m,p)=>n.includes(p)?rr({},m,{[p]:e.format[p]}):m,{}));const l=r(e.value,i,a);let c=[i.key];tr(l)?c=l.map((m,p)=>{const h=s[m.type],_=h?h({[m.type]:m.value,index:p,parts:l}):[m.value];return aw(_)&&(_[0].key=`${m.type}-${p}`),_}):It(l)&&(c=[l]);const d=rr({},o),f=It(e.tag)||Hn(e.tag)?e.tag:hg();return er(f,d,c)}}const If={name:"i18n-n",props:rr({value:{type:Number,required:!0},format:{type:[String,Object]}},Id),setup(e,t){const n=e.i18n||Fd({useScope:"parent",__useComponent:!0});return _g(e,t,ug,(...r)=>n[zc](...r))}},Ff={name:"i18n-d",props:rr({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},Id),setup(e,t){const n=e.i18n||Fd({useScope:"parent",__useComponent:!0});return _g(e,t,lg,(...r)=>n[Cc](...r))}};function lw(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 uw(e){const t=i=>{const{instance:a,modifiers:l,value:c}=i;if(!a||!a.$)throw An(bn.UNEXPECTED_ERROR);const d=lw(e,a.$),f=Rf(c);return[Reflect.apply(d.t,d,[...Lf(f)]),d]};return{created:(i,a)=>{const[l,c]=t(a);hc&&e.global===c&&(i.__i18nWatcher=Xt(c.locale,()=>{a.instance&&a.instance.$forceUpdate()})),i.__composer=c,i.textContent=l},unmounted:i=>{hc&&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=Rf(a);i.textContent=Reflect.apply(l.t,l,[...Lf(c)])}},getSSRProps:i=>{const[a]=t(i);return{textContent:a}}}}function Rf(e){if(It(e))return{path:e};if(Jn(e)){if(!("path"in e))throw An(bn.REQUIRED_VALUE,"path");return e}else throw An(bn.INVALID_VALUE)}function Lf(e){const{path:t,locale:n,args:r,choice:s,plural:o}=e,i={},a=r||{};return It(n)&&(i.locale=n),_i(s)&&(i.plural=s),_i(o)&&(i.plural=o),[t,a,i]}function cw(e,t,...n){const r=Jn(n[0])?n[0]:{},s=!!r.useI18nComponentName;(Fr(r.globalInstall)?r.globalInstall:!0)&&(e.component(s?"i18n":Pf.name,Pf),e.component(If.name,If),e.component(Ff.name,Ff)),e.directive("t",uw(t))}const dw=Jr("global-vue-i18n");function mw(e={},t){const n=Fr(e.globalInjection)?e.globalInjection:!0,r=!0,s=new Map,[o,i]=fw(e),a=Jr("");function l(f){return s.get(f)||null}function c(f,m){s.set(f,m)}function d(f){s.delete(f)}{const f={get mode(){return"composition"},get allowComposition(){return r},async install(m,...p){m.__VUE_I18N_SYMBOL__=a,m.provide(m.__VUE_I18N_SYMBOL__,f),n&&Cw(m,f.global),cw(m,f,...p);const h=m.unmount;m.unmount=()=>{f.dispose(),h()}},get global(){return i},dispose(){o.stop()},__instances:s,__getInstance:l,__setInstance:c,__deleteInstance:d};return f}}function Fd(e={}){const t=On();if(t==null)throw An(bn.MUST_BE_CALL_SETUP_TOP);if(!t.isCE&&t.appContext.app!=null&&!t.appContext.app.__VUE_I18N_SYMBOL__)throw An(bn.NOT_INSLALLED);const n=pw(t),r=_w(n),s=fg(t),o=hw(e,s);if(o==="global")return sw(r,e,s),r;if(o==="parent"){let l=gw(n,t,e.__useComponent);return l==null&&(l=r),l}const i=n;let a=i.__getInstance(t);if(a==null){const l=rr({},e);"__i18n"in s&&(l.__i18n=s.__i18n),r&&(l.__root=r),a=pg(l),yw(i,t),i.__setInstance(t,a)}return a}function fw(e,t,n){const r=sd();{const s=r.run(()=>pg(e));if(s==null)throw An(bn.UNEXPECTED_ERROR);return[r,s]}}function pw(e){{const t=Bn(e.isCE?dw:e.appContext.app.__VUE_I18N_SYMBOL__);if(!t)throw An(e.isCE?bn.NOT_INSLALLED_WITH_PROVIDE:bn.UNEXPECTED_ERROR);return t}}function hw(e,t){return nz(e)?"__i18n"in t?"local":"global":e.useScope?e.useScope:"local"}function _w(e){return e.mode==="composition"?e.global:e.global.__composer}function gw(e,t,n=!1){let r=null;const s=t.root;let o=t.parent;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 yw(e,t,n){uo(()=>{},t),Si(()=>{e.__deleteInstance(t)},t)}const vw=["locale","fallbackLocale","availableLocales"],bw=["t","rt","d","n","tm"];function Cw(e,t){const n=Object.create(null);vw.forEach(r=>{const s=Object.getOwnPropertyDescriptor(t,r);if(!s)throw An(bn.UNEXPECTED_ERROR);const o=Ot(s.value)?{get(){return s.value.value},set(i){s.value.value=i}}:{get(){return s.get&&s.get()}};Object.defineProperty(n,r,o)}),e.config.globalProperties.$i18n=n,bw.forEach(r=>{const s=Object.getOwnPropertyDescriptor(t,r);if(!s||!s.value)throw An(bn.UNEXPECTED_ERROR);Object.defineProperty(e.config.globalProperties,`$${r}`,s)})}Lz(yz);Mz(eg);tw();if(__INTLIFY_PROD_DEVTOOLS__){const e=K_();e.__INTLIFY__=!0,Sz(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}const zw={de:{data:{kind:{file:e=>{const{normalize:t}=e;return t(["Datei"])},url:e=>{const{normalize:t}=e;return t(["URL"])},spotify:e=>{const{normalize:t}=e;return t(["Spotify"])},pipe:e=>{const{normalize:t}=e;return t(["Stream"])}}},dialog:{cancel:e=>{const{normalize:t}=e;return t(["Abbrechen"])},add:{rss:{add:e=>{const{normalize:t}=e;return t(["Hinzufügen"])},cancel:e=>{const{normalize:t}=e;return t(["Abbrechen"])},help:e=>{const{normalize:t}=e;return t(["Hinzufügen eines Podcasts führt zur Anlage einer RSS-Playlist, so kann Owntone das Podcast-Abo verwalten."])},placeholder:e=>{const{normalize:t}=e;return t(["https://url-to-rss"])},processing:e=>{const{normalize:t}=e;return t(["Verarbeite…"])},title:e=>{const{normalize:t}=e;return t(["Füge Podcast RSS-Feed-Url hinzu"])}},stream:{add:e=>{const{normalize:t}=e;return t(["Hinzufügen"])},cancel:e=>{const{normalize:t}=e;return t(["Abbrechen"])},loading:e=>{const{normalize:t}=e;return t(["Lade…"])},placeholder:e=>{const{normalize:t}=e;return t(["https://url-to-stream"])},play:e=>{const{normalize:t}=e;return t(["Spielen"])},title:e=>{const{normalize:t}=e;return t(["Stream-URL hinzufügen"])}}},album:{"add-next":e=>{const{normalize:t}=e;return t(["Als nächstes hinzufügen"])},add:e=>{const{normalize:t}=e;return t(["Hinzufügen"])},"added-on":e=>{const{normalize:t}=e;return t(["Hinzugefügt am"])},artist:e=>{const{normalize:t}=e;return t(["Album Künstler"])},duration:e=>{const{normalize:t}=e;return t(["Dauer"])},"mark-as-played":e=>{const{normalize:t}=e;return t(["Markiere als gespielt"])},play:e=>{const{normalize:t}=e;return t(["Spielen"])},"release-date":e=>{const{normalize:t}=e;return t(["Veröffentlichungsdatum"])},"remove-podcast":e=>{const{normalize:t}=e;return t(["Entferne podcast"])},tracks:e=>{const{normalize:t}=e;return t(["Track Nummer"])},type:e=>{const{normalize:t}=e;return t(["Art"])},year:e=>{const{normalize:t}=e;return t(["Jahr"])}},artist:{"add-next":e=>{const{normalize:t}=e;return t(["Als nächstes hinzufügen"])},add:e=>{const{normalize:t}=e;return t(["Hinzufügen"])},"added-on":e=>{const{normalize:t}=e;return t(["Hinzugefügt am"])},albums:e=>{const{normalize:t}=e;return t(["Alben"])},play:e=>{const{normalize:t}=e;return t(["Spielen"])},tracks:e=>{const{normalize:t}=e;return t(["Tracks"])},type:e=>{const{normalize:t}=e;return t(["Art"])}},composer:{"add-next":e=>{const{normalize:t}=e;return t(["Als nächstes hinzufügen"])},add:e=>{const{normalize:t}=e;return t(["Hinzufügen"])},albums:e=>{const{normalize:t}=e;return t(["Alben"])},duration:e=>{const{normalize:t}=e;return t(["Dauer"])},play:e=>{const{normalize:t}=e;return t(["Spielen"])},tracks:e=>{const{normalize:t}=e;return t(["Tracks"])}},directory:{"add-next":e=>{const{normalize:t}=e;return t(["Als nächstes hinzufügen"])},add:e=>{const{normalize:t}=e;return t(["Hinzufügen"])},play:e=>{const{normalize:t}=e;return t(["Spielen"])}},genre:{"add-next":e=>{const{normalize:t}=e;return t(["Als nächstes hinzufügen"])},add:e=>{const{normalize:t}=e;return t(["Hinzufügen"])},albums:e=>{const{normalize:t}=e;return t(["Alben"])},duration:e=>{const{normalize:t}=e;return t(["Dauer"])},play:e=>{const{normalize:t}=e;return t(["Spielen"])},tracks:e=>{const{normalize:t}=e;return t(["Tracks"])}},playlist:{"add-next":e=>{const{normalize:t}=e;return t(["Als nächstes hinzufügen"])},add:e=>{const{normalize:t}=e;return t(["Hinzufügen"])},path:e=>{const{normalize:t}=e;return t(["Pfad"])},play:e=>{const{normalize:t}=e;return t(["Spielen"])},"track-count":e=>{const{normalize:t}=e;return t(["Tracknummer"])},type:e=>{const{normalize:t}=e;return t(["Art"])},save:{cancel:e=>{const{normalize:t}=e;return t(["Abbrechen"])},"playlist-name":e=>{const{normalize:t}=e;return t(["Playlistname"])},save:e=>{const{normalize:t}=e;return t(["Speichern"])},saving:e=>{const{normalize:t}=e;return t(["Speichere…"])},title:e=>{const{normalize:t}=e;return t(["Warteschlange als Playlist speichern"])}}},"queue-item":{"album-artist":e=>{const{normalize:t}=e;return t(["Album-Künstler"])},album:e=>{const{normalize:t}=e;return t(["Album"])},bitrate:e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["|"," ",n(r("rate"))," kbit/s"])},channels:e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["|"," ",n(r("channels"))])},composer:e=>{const{normalize:t}=e;return t(["Komponist"])},duration:e=>{const{normalize:t}=e;return t(["Dauer"])},genre:e=>{const{normalize:t}=e;return t(["Genre"])},path:e=>{const{normalize:t}=e;return t(["Pfad"])},play:e=>{const{normalize:t}=e;return t(["Spielen"])},position:e=>{const{normalize:t}=e;return t(["Disc / Track"])},quality:e=>{const{normalize:t}=e;return t(["Qualität"])},remove:e=>{const{normalize:t}=e;return t(["Entfernen"])},samplerate:e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["|"," ",n(r("rate"))," Hz"])},"spotify-album":e=>{const{normalize:t}=e;return t(["Album"])},"spotify-artist":e=>{const{normalize:t}=e;return t(["Künstler"])},type:e=>{const{normalize:t}=e;return t(["Art"])},year:e=>{const{normalize:t}=e;return t(["Jahr"])}},"remote-pairing":{cancel:e=>{const{normalize:t}=e;return t(["Abbrechen"])},pair:e=>{const{normalize:t}=e;return t(["Remote paaren"])},"pairing-code":e=>{const{normalize:t}=e;return t(["Pairing-Code"])},title:e=>{const{normalize:t}=e;return t(["Remote-Paarungs-Anfrage"])}},spotify:{album:{"add-next":e=>{const{normalize:t}=e;return t(["Als nächstes hinzufügen"])},add:e=>{const{normalize:t}=e;return t(["Hinzufügen"])},"album-artist":e=>{const{normalize:t}=e;return t(["Album-Künstler"])},play:e=>{const{normalize:t}=e;return t(["Spielen"])},"release-date":e=>{const{normalize:t}=e;return t(["Veröffentlichungsdatum"])},type:e=>{const{normalize:t}=e;return t(["Art"])}},artist:{"add-next":e=>{const{normalize:t}=e;return t(["Als nächstes hinzufügen"])},add:e=>{const{normalize:t}=e;return t(["Hinzufügen"])},genres:e=>{const{normalize:t}=e;return t(["Genres"])},play:e=>{const{normalize:t}=e;return t(["Spielen"])},popularity:e=>{const{normalize:t}=e;return t(["Popularität / Followers"])}},playlist:{"add-next":e=>{const{normalize:t}=e;return t(["Als nächstes hinzufügen"])},add:e=>{const{normalize:t}=e;return t(["Hinzufügen"])},owner:e=>{const{normalize:t}=e;return t(["Besitzer"])},path:e=>{const{normalize:t}=e;return t(["Pfad"])},play:e=>{const{normalize:t}=e;return t(["Spielen"])},tracks:e=>{const{normalize:t}=e;return t(["Tracks"])}},track:{"add-next":e=>{const{normalize:t}=e;return t(["Als nächstes hinzufügen"])},add:e=>{const{normalize:t}=e;return t(["Hinzufügen"])},"album-artist":e=>{const{normalize:t}=e;return t(["Album-Künstler"])},album:e=>{const{normalize:t}=e;return t(["Album"])},duration:e=>{const{normalize:t}=e;return t(["Dauer"])},path:e=>{const{normalize:t}=e;return t(["Pfad"])},play:e=>{const{normalize:t}=e;return t(["Spielen"])},position:e=>{const{normalize:t}=e;return t(["Disc / Track"])},"release-date":e=>{const{normalize:t}=e;return t(["Veröffentlichungsdatum"])}}},track:{"add-next":e=>{const{normalize:t}=e;return t(["Als nächstes hinzufügen"])},add:e=>{const{normalize:t}=e;return t(["Hinzufügen"])},"added-on":e=>{const{normalize:t}=e;return t(["Hinzugefügt am"])},"album-artist":e=>{const{normalize:t}=e;return t(["Album-Künstler"])},album:e=>{const{normalize:t}=e;return t(["Album"])},bitrate:e=>{const{normalize:t,interpolate:n,named:r}=e;return t([" ","|"," ",n(r("rate"))," Kb/s"])},channels:e=>{const{normalize:t,interpolate:n,named:r}=e;return t([" ","|"," ",n(r("channels"))])},comment:e=>{const{normalize:t}=e;return t(["Kommentar"])},composer:e=>{const{normalize:t}=e;return t(["Komponist"])},duration:e=>{const{normalize:t}=e;return t(["Dauer"])},genre:e=>{const{normalize:t}=e;return t(["Genre"])},"mark-as-new":e=>{const{normalize:t}=e;return t(["Markiere als neu"])},"mark-as-played":e=>{const{normalize:t}=e;return t(["Markiere als gespielt"])},path:e=>{const{normalize:t}=e;return t(["Pfad"])},play:e=>{const{normalize:t}=e;return t(["Spielen"])},position:e=>{const{normalize:t}=e;return t(["Disc / Track"])},quality:e=>{const{normalize:t}=e;return t(["Qualität"])},"rating-value":e=>{const{normalize:t,interpolate:n,named:r}=e;return t([n(r("rating"))," / 10"])},rating:e=>{const{normalize:t}=e;return t(["Bewertung"])},"release-date":e=>{const{normalize:t}=e;return t(["Veröffentlichungsdatum"])},samplerate:e=>{const{normalize:t,interpolate:n,named:r}=e;return t([" ","|"," ",n(r("rate"))," Hz"])},"spotify-album":e=>{const{normalize:t}=e;return t(["Album"])},"spotify-artist":e=>{const{normalize:t}=e;return t(["Künstler"])},type:e=>{const{normalize:t}=e;return t(["Art"])},year:e=>{const{normalize:t}=e;return t(["Jahr"])}},update:{all:e=>{const{normalize:t}=e;return t(["Alles neu einlesen"])},cancel:e=>{const{normalize:t}=e;return t(["Abbrechen"])},feeds:e=>{const{normalize:t}=e;return t(["Nur RSS-Feeds neu einlesen"])},info:e=>{const{normalize:t}=e;return t(["Suche nach neuen, gelöschten und veränderten Dateien"])},local:e=>{const{normalize:t}=e;return t(["Nur lokale Bibliothek neu einlesen"])},progress:e=>{const{normalize:t}=e;return t(["Bibliothek wird neu eingelesen…"])},"rescan-metadata":e=>{const{normalize:t}=e;return t(["Metadata von unveränderten Dateien neu einlesen"])},rescan:e=>{const{normalize:t}=e;return t(["Neu einlesen"])},spotify:e=>{const{normalize:t}=e;return t(["Nur Spotify neu einlesen"])},title:e=>{const{normalize:t}=e;return t(["Bibliothek neu einlesen"])}}},language:{de:e=>{const{normalize:t}=e;return t(["Deutsch"])},en:e=>{const{normalize:t}=e;return t(["Englisch (English)"])},fr:e=>{const{normalize:t}=e;return t(["Französisch (Français)"])}},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"))," 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"))," Alben"])])},filter:e=>{const{normalize:t}=e;return t(["Filter"])},"hide-singles-help":e=>{const{normalize:t}=e;return t(["Nach Aktivierung werden keine Singles und Alben angezeigt, die nur in Playlisten enthalten sind."])},"hide-singles":e=>{const{normalize:t}=e;return t(["Nach Aktivierung werden keine Singles angezeigt"])},"hide-spotify-help":e=>{const{normalize:t}=e;return t(["Nach Aktivierung werden keine Alben angezeigt, die nur in der Spotify-Bibliothek enthalten sind."])},"hide-spotify":e=>{const{normalize:t}=e;return t(["Verbirgt Spotify-Alben"])},title:e=>{const{normalize:t}=e;return t(["Alben"])},"sort-by":{title:e=>{const{normalize:t}=e;return t(["Sortieren nach"])},name:e=>{const{normalize:t}=e;return t(["Name"])},"recently-added":e=>{const{normalize:t}=e;return t(["Kürzlich hinzugefügt"])},"recently-released":e=>{const{normalize:t}=e;return t(["Kürzlich erschienen"])}}},artist:{"album-count":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t([n(r("count"))," Album"]),t([n(r("count"))," 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"))," Tracks"])])},"sort-by":{title:e=>{const{normalize:t}=e;return t(["Sortieren nach"])},name:e=>{const{normalize:t}=e;return t(["Name"])},rating:e=>{const{normalize:t}=e;return t(["Bewertung"])},"release-date":e=>{const{normalize:t}=e;return t(["Erscheinungsdatum"])}}},artists:{count:e=>{const{normalize:t,interpolate:n,named:r}=e;return t([n(r("count"))," Künstler"])},filter:e=>{const{normalize:t}=e;return t(["Filter"])},"sort-by":{title:e=>{const{normalize:t}=e;return t(["Sortieren nach"])},name:e=>{const{normalize:t}=e;return t(["Namen"])},"recently-added":e=>{const{normalize:t}=e;return t(["Kürzlich hinzugefügt"])}},"hide-singles-help":e=>{const{normalize:t}=e;return t(["Nach Aktivierung werden keine Singles und Alben angezeigt, die nur in Playlisten enthalten sind."])},"hide-singles":e=>{const{normalize:t}=e;return t(["Nach Aktivierung werden keine Singles angezeigt"])},"hide-spotify-help":e=>{const{normalize:t}=e;return t(["Nach Aktivierung werden keine Alben angezeigt, die nur in der Spotify-Bibliothek enthalten sind."])},"hide-spotify":e=>{const{normalize:t}=e;return t(["Verbirgt Künstler auf Spotify"])},title:e=>{const{normalize:t}=e;return t(["Künstler"])}},audiobooks:{album:{play:e=>{const{normalize:t}=e;return t(["Spielen"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t([n(r("count"))," Track"]),t([n(r("count"))," 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ö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"))," 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"))," 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"])}}},browse:{albums:e=>{const{normalize:t}=e;return t(["Alben"])},"show-more":e=>{const{normalize:t}=e;return t(["Zeige mehr"])},tracks:e=>{const{normalize:t}=e;return t(["Tracks"])},"recently-added":{albums:e=>{const{normalize:t}=e;return t(["Alben"])},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"])},tracks:e=>{const{normalize:t}=e;return t(["Tracks"])}},tabs:{albums:e=>{const{normalize:t}=e;return t(["Alben"])},artists:e=>{const{normalize:t}=e;return t(["Künstler"])},browse:e=>{const{normalize:t}=e;return t(["Auswählen"])},composers:e=>{const{normalize:t}=e;return t(["Komponisten"])},genres:e=>{const{normalize:t}=e;return t(["Genres"])},spotify:e=>{const{normalize:t}=e;return t(["Spotify"])}}},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"))," 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"))," Tracks"])])},"sort-by":{title:e=>{const{normalize:t}=e;return t(["Sortieren nach"])},name:e=>{const{normalize:t}=e;return t(["Name"])},rating:e=>{const{normalize:t}=e;return t(["Bewertung"])}}},composers:{count:e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t([n(r("count"))," Komponist"]),t([n(r("count"))," 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"))," 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"))," Tracks"])])},"sort-by":{title:e=>{const{normalize:t}=e;return t(["Sortieren nach"])},name:e=>{const{normalize:t}=e;return t(["Name"])},rating:e=>{const{normalize:t}=e;return t(["Bewertung"])}}},genres:{count:e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t([n(r("count"))," Genre"]),t([n(r("count"))," Genres"])])},title:e=>{const{normalize:t}=e;return t(["Genres"])}},"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:{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"))," 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"))," Stationen"])])},title:e=>{const{normalize:t}=e;return t(["Radio"])}},search:{albums:e=>{const{normalize:t}=e;return t(["Alben"])},artists:e=>{const{normalize:t}=e;return t(["Künstler"])},audiobooks:e=>{const{normalize:t}=e;return t(["Hörbücher"])},composers:e=>{const{normalize:t}=e;return t(["Komponisten"])},expression:e=>{const{normalize:t}=e;return t(["Ausdrücken"])},help:e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["Tip: Du kannst mit einer Smart-Playlist-Abfrage-Sprache nach ",n(r("help"))," suchen wenn Du dem Ausdruck ein ",n(r("query"))," voranstellst."])},"no-albums":e=>{const{normalize:t}=e;return t(["Keine Alben gefunden"])},"no-artists":e=>{const{normalize:t}=e;return t(["Keine Künstler gefunden"])},"no-audiobooks":e=>{const{normalize:t}=e;return t(["Keine Hörbücher gefunden"])},"no-composers":e=>{const{normalize:t}=e;return t(["Keine Komponisten gefunden"])},"no-playlists":e=>{const{normalize:t}=e;return t(["Keine Playlisten gefunden"])},"no-podcasts":e=>{const{normalize:t}=e;return t(["Keine Podcasts gefunden"])},"no-tracks":e=>{const{normalize:t}=e;return t(["Keine Tracks gefunden"])},placeholder:e=>{const{normalize:t}=e;return t(["Suche"])},playlists:e=>{const{normalize:t}=e;return t(["Playlisten"])},podcasts:e=>{const{normalize:t}=e;return t(["Podcasts"])},"show-albums":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t(["Zeige das Album"]),t(["Zeige alle ",n(r("count"))," Alben"])])},"show-artists":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t(["Zeige den Künstler"]),t(["Zeige alle ",n(r("count"))," Künstler"])])},"show-audiobooks":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t(["Zeige das Buch"]),t(["Zeige alle ",n(r("count"))," Hörbücher"])])},"show-composers":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t(["Zeige den Komponist"]),t(["Zeige alle ",n(r("count"))," Komponisten"])])},"show-playlists":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t(["Zeige die Playlist"]),t(["Zeige alle ",n(r("count"))," Playlisten"])])},"show-podcasts":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t(["Zeige den Podcast"]),t(["Zeige alle ",n(r("count"))," Podcasts"])])},"show-tracks":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t(["Zeige den Track"]),t(["Zeige alle ",n(r("count"))," Tracks"])])},tracks:e=>{const{normalize:t}=e;return t(["Tracks"])},tabs:{library:e=>{const{normalize:t}=e;return t(["Bibliothek"])},spotify:e=>{const{normalize:t}=e;return t(["Spotify"])}}},settings:{artwork:{artwork:e=>{const{normalize:t}=e;return t(["Artwork"])},coverartarchive:e=>{const{normalize:t}=e;return t(["Cover Art Archive"])},discogs:e=>{const{normalize:t}=e;return t(["Discogs"])},"explanation-1":e=>{const{normalize:t}=e;return t(["OwnTone verarbeitet PNG- und JPEG-Artwork, welches in einer eigenen Datei in der Bibliothek, in die Dateien eingebettet oder online von Radiostationen bereitgestellt werden kann."])},"explanation-2":e=>{const{normalize:t}=e;return t(["Zusätzlich kann auf folgende Artwork-Anbieter zugegriffen werden:"])},spotify:e=>{const{normalize:t}=e;return t(["Spotify"])}},devices:{"no-active-pairing":e=>{const{normalize:t}=e;return t(["Keine aktive Pairing-Anfrage"])},"pairing-code":e=>{const{normalize:t}=e;return t(["Pairing-Code"])},"pairing-request":e=>{const{normalize:t}=e;return t(["Remote-Pairing-Anfrage von "])},pairing:e=>{const{normalize:t}=e;return t(["Pairing Remote"])},send:e=>{const{normalize:t}=e;return t(["Senden"])},"speaker-pairing-info":e=>{const{normalize:t}=e;return t(["Wenn der Laufsprecher PIN-basiertes Pairing verlangt, aktiviere ihn hier und gib dann den hier PIN an, der am Lautsprecher angezeigt wird."])},"speaker-pairing":e=>{const{normalize:t}=e;return t(["Lautsprecher-Pairing und Geräteverifikation"])},"verification-code":e=>{const{normalize:t}=e;return t(["Verifikationscode"])},verify:e=>{const{normalize:t}=e;return t(["Verifizieren"])}},general:{"album-lists":e=>{const{normalize:t}=e;return t(["Album-Listen"])},audiobooks:e=>{const{normalize:t}=e;return t(["Hörbücher"])},files:e=>{const{normalize:t}=e;return t(["Dateien"])},genres:e=>{const{normalize:t}=e;return t(["Genres"])},language:e=>{const{normalize:t}=e;return t(["Sprache"])},music:e=>{const{normalize:t}=e;return t(["Musik"])},"navigation-item-selection-info":e=>{const{normalize:t}=e;return t(["Wenn mehr Dateien ausgewählt werden, als der Bildschirm anzeigen kann, verschwindet das Burger-Menü."])},"navigation-item-selection":e=>{const{normalize:t}=e;return t(["Wähle hier die Einträge des oberen Navigationsmenüs "])},"navigation-items":e=>{const{normalize:t}=e;return t(["Navigationsmenüs"])},"now-playing-page":e=>{const{normalize:t}=e;return t(["Aktuell läuft-Seite"])},playlists:e=>{const{normalize:t}=e;return t(["Playlisten"])},podcasts:e=>{const{normalize:t}=e;return t(["Podcasts"])},radio:e=>{const{normalize:t}=e;return t(["Radio"])},"recently-added-page-info":e=>{const{normalize:t}=e;return t(['Beschränkte die Zahl der Alben auf der "kürzlich hinzugefügt"-Seite'])},"recently-added-page":e=>{const{normalize:t}=e;return t(["Kürzlich hinzugefügt-Seite"])},search:e=>{const{normalize:t}=e;return t(["Suche"])},"show-composer-genres-info-1":e=>{const{normalize:t}=e;return t(['Komma-separierte Liste der Genres, wo der Komponist auf der "Aktuell läuft"-Seite angezeigt werden soll'])},"show-composer-genres-info-2":e=>{const{normalize:t}=e;return t(["Leer lassen, um ihn immer anzuzeigen."])},"show-composer-genres-info-3":e=>{const{normalize:t}=e;return t(['Der Genre-Tag des aktuellen Tracks wird abgeglichen als Teil-String des Genre-Tags. Z.B. "classical, soundtrack" wird den Komponisten beim Genre-Tag "Contemporary Classical" anzeigen'])},"show-composer-genres":e=>{const{normalize:t}=e;return t(["Zeige den Komponisten für die aufgelisteten Genres an"])},"show-composer-info":e=>{const{normalize:t}=e;return t(['Wenn aktiviert, wird der Komponist auf der "Aktuell läuft"-Seite angezeigt.'])},"show-composer":e=>{const{normalize:t}=e;return t(["Komponisten anzeigen"])},"show-coverart":e=>{const{normalize:t}=e;return t(["Zeige Cover-Artwork in der Albumliste"])},"show-path":e=>{const{normalize:t}=e;return t(['Dateipfad auf der "Aktuell läuft"-Seite anzeigen'])}},services:{lastfm:{"grant-access":e=>{const{normalize:t}=e;return t(["Melde Dich mit Deinem Last.fm-Benutzernamen und Passwort an, um Scrobbeln zu aktivieren"])},info:e=>{const{normalize:t}=e;return t(["OwnTone wird den Benutzernamen und das Passwort von last.fm nicht speichern, nur den Sitzungs-Schlüssel. Dieser läuft nicht ab."])},title:e=>{const{normalize:t}=e;return t(["Last.fm"])},"no-support":e=>{const{normalize:t}=e;return t(["OwnTone wurde ohne Unterstützung für Last.fm erstellt."])},"stop-scrobbling":e=>{const{normalize:t}=e;return t(["Stop Scrobbling"])}},spotify:{"no-support":e=>{const{normalize:t}=e;return t(["OwnTone wurde entweder ohne Unterstützung für Spotify erstellt oder libspotify ist nicht installiert."])},"logged-as":e=>{const{normalize:t}=e;return t(["Angemeldet als "])},requirements:e=>{const{normalize:t}=e;return t(["Spotify Premium Abo erforderlich."])},scopes:e=>{const{normalize:t}=e;return t(["Zugriff auf die Spotify Web-Api ermöglicht scannen der Spotify-Blibliothek. Erforderliche scopes sind: "])},user:e=>{const{normalize:t}=e;return t(["Zugriff gestattet für "])},authorize:e=>{const{normalize:t}=e;return t(["Authorisiere Web-API-Zugriff"])},credentials:e=>{const{normalize:t}=e;return t([" - Anmelden mit dem Spotify Benutzername und Passwort"])},"grant-access":e=>{const{normalize:t}=e;return t(["Zugriff auf die Spotify Web-API gestatten"])},"help-1":e=>{const{normalize:t}=e;return t(["libspotify ermöglicht OwnTone, Spotify-Tracks abzuspielen."])},"help-2":e=>{const{normalize:t}=e;return t(["OwnTone speichert das Passwort nicht, aber wird über libspotify dennoch einen automatischen Login über ein Login-Token ermöglichen."])},reauthorize:e=>{const{normalize:t}=e;return t(["Bitte den Zugriff der Web-API durch setzen folgender Zugriffsrechte für Owntone: "])},title:e=>{const{normalize:t}=e;return t(["Spotify"])}},login:e=>{const{normalize:t}=e;return t(["Einloggen"])},logout:e=>{const{normalize:t}=e;return t(["Ausloggen"])},password:e=>{const{normalize:t}=e;return t(["Passwort"])},username:e=>{const{normalize:t}=e;return t(["Benutzername"])}},tabs:{artwork:e=>{const{normalize:t}=e;return t(["Artwork"])},general:e=>{const{normalize:t}=e;return t(["Allgemein"])},"online-services":e=>{const{normalize:t}=e;return t(["Online-Services"])},"remotes-and-outputs":e=>{const{normalize:t}=e;return t(["Fernbedienungen und Ausgänge"])}}},spotify:{album:{shuffle:e=>{const{normalize:t}=e;return t(["Zufallswiedergabe"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t([n(r("count"))," Track"]),t([n(r("count"))," 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"))," Alben"])])},shuffle:e=>{const{normalize:t}=e;return t(["Zufallswiedergabe"])}},browse:{"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"))," 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"])}}},setting:{"not-saved":e=>{const{normalize:t}=e;return t([" (Fehler beim Speichern der Einstellungen)"])},saved:e=>{const{normalize:t}=e;return t([" (Einstellungen gesichert)"])}},server:{"connection-failed":e=>{const{normalize:t}=e;return t(["Fehler bei Verbindung zum OwnTone-Server"])},"missing-port":e=>{const{normalize:t}=e;return t(["Fehlender Websocket-Port"])},"request-failed":e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["Anfrage gescheitert (Status: ",n(r("status"))," ",n(r("cause"))," ",n(r("url")),")"])},"queue-saved":e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["Warteschlange zu Playlist ",n(r("name"))," gesichert"])},"appended-tracks":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t([n(r("count"))," Track an die Abspielliste angehängt"]),t([n(r("count"))," Tracks an die Abspielliste angehängt"])])},"empty-queue":e=>{const{normalize:t}=e;return t(["Warteschlange ist leer"])}},"group-by-list":{today:e=>{const{normalize:t}=e;return t(["Heute"])},"last-week":e=>{const{normalize:t}=e;return t(["Letzte Woche"])},"last-month":e=>{const{normalize:t}=e;return t(["Letzer Monat"])}},filter:{mono:e=>{const{normalize:t}=e;return t(["Mono"])},stereo:e=>{const{normalize:t}=e;return t(["Stereo"])},channels:e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t([n(r("count"))," Kanal"]),t([n(r("count"))," Kanäle"])])}}},en:{data:{kind:{file:e=>{const{normalize:t}=e;return t(["File"])},url:e=>{const{normalize:t}=e;return t(["URL"])},spotify:e=>{const{normalize:t}=e;return t(["Spotify"])},pipe:e=>{const{normalize:t}=e;return t(["Stream"])}}},dialog:{cancel:e=>{const{normalize:t}=e;return t(["Cancel"])},add:{rss:{add:e=>{const{normalize:t}=e;return t(["Add"])},cancel:e=>{const{normalize:t}=e;return t(["Cancel"])},help:e=>{const{normalize:t}=e;return t(["Adding a podcast includes creating an RSS playlist, that will allow OwnTone to manage the podcast subscription."])},placeholder:e=>{const{normalize:t}=e;return t(["https://url-to-rss"])},processing:e=>{const{normalize:t}=e;return t(["Processing…"])},title:e=>{const{normalize:t}=e;return t(["Add Podcast RSS feed URL"])}},stream:{add:e=>{const{normalize:t}=e;return t(["Add"])},cancel:e=>{const{normalize:t}=e;return t(["Cancel"])},loading:e=>{const{normalize:t}=e;return t(["Loading…"])},placeholder:e=>{const{normalize:t}=e;return t(["https://url-to-stream"])},play:e=>{const{normalize:t}=e;return t(["Play"])},title:e=>{const{normalize:t}=e;return t(["Add Stream URL"])}}},album:{"add-next":e=>{const{normalize:t}=e;return t(["Add Next"])},add:e=>{const{normalize:t}=e;return t(["Add"])},"added-on":e=>{const{normalize:t}=e;return t(["Added on"])},artist:e=>{const{normalize:t}=e;return t(["Album artist"])},duration:e=>{const{normalize:t}=e;return t(["Duration"])},"mark-as-played":e=>{const{normalize:t}=e;return t(["Mark as played"])},play:e=>{const{normalize:t}=e;return t(["Play"])},"release-date":e=>{const{normalize:t}=e;return t(["Release date"])},"remove-podcast":e=>{const{normalize:t}=e;return t(["Remove podcast"])},tracks:e=>{const{normalize:t}=e;return t(["Track count"])},type:e=>{const{normalize:t}=e;return t(["Type"])},year:e=>{const{normalize:t}=e;return t(["Year"])}},artist:{"add-next":e=>{const{normalize:t}=e;return t(["Add Next"])},add:e=>{const{normalize:t}=e;return t(["Add"])},"added-on":e=>{const{normalize:t}=e;return t(["Added On"])},albums:e=>{const{normalize:t}=e;return t(["Albums"])},play:e=>{const{normalize:t}=e;return t(["Play"])},tracks:e=>{const{normalize:t}=e;return t(["Tracks"])},type:e=>{const{normalize:t}=e;return t(["Type"])}},composer:{"add-next":e=>{const{normalize:t}=e;return t(["Add Next"])},add:e=>{const{normalize:t}=e;return t(["Add"])},albums:e=>{const{normalize:t}=e;return t(["Albums"])},duration:e=>{const{normalize:t}=e;return t(["Duration"])},play:e=>{const{normalize:t}=e;return t(["Play"])},tracks:e=>{const{normalize:t}=e;return t(["Tracks"])}},directory:{"add-next":e=>{const{normalize:t}=e;return t(["Add Next"])},add:e=>{const{normalize:t}=e;return t(["Add"])},play:e=>{const{normalize:t}=e;return t(["Play"])}},genre:{"add-next":e=>{const{normalize:t}=e;return t(["Add Next"])},add:e=>{const{normalize:t}=e;return t(["Add"])},albums:e=>{const{normalize:t}=e;return t(["Albums"])},duration:e=>{const{normalize:t}=e;return t(["Duration"])},play:e=>{const{normalize:t}=e;return t(["Play"])},tracks:e=>{const{normalize:t}=e;return t(["Tracks"])}},playlist:{"add-next":e=>{const{normalize:t}=e;return t(["Add Next"])},add:e=>{const{normalize:t}=e;return t(["Add"])},play:e=>{const{normalize:t}=e;return t(["Play"])},path:e=>{const{normalize:t}=e;return t(["Path"])},"track-count":e=>{const{normalize:t}=e;return t(["Track Count"])},type:e=>{const{normalize:t}=e;return t(["Type"])},save:{cancel:e=>{const{normalize:t}=e;return t(["Cancel"])},"playlist-name":e=>{const{normalize:t}=e;return t(["Playlist name"])},save:e=>{const{normalize:t}=e;return t(["Save"])},saving:e=>{const{normalize:t}=e;return t(["Saving…"])},title:e=>{const{normalize:t}=e;return t(["Save queue to playlist"])}}},"queue-item":{"album-artist":e=>{const{normalize:t}=e;return t(["Album Artist"])},album:e=>{const{normalize:t}=e;return t(["Album"])},bitrate:e=>{const{normalize:t,interpolate:n,named:r}=e;return t([" ","|"," ",n(r("rate"))," kbit/s"])},channels:e=>{const{normalize:t,interpolate:n,named:r}=e;return t([" ","|"," ",n(r("channels"))])},composer:e=>{const{normalize:t}=e;return t(["Composer"])},duration:e=>{const{normalize:t}=e;return t(["Duration"])},genre:e=>{const{normalize:t}=e;return t(["Genre"])},path:e=>{const{normalize:t}=e;return t(["Path"])},play:e=>{const{normalize:t}=e;return t(["Play"])},position:e=>{const{normalize:t}=e;return t(["Disc / Track"])},quality:e=>{const{normalize:t}=e;return t(["Quality"])},remove:e=>{const{normalize:t}=e;return t(["Remove"])},samplerate:e=>{const{normalize:t,interpolate:n,named:r}=e;return t([" ","|"," ",n(r("rate"))," Hz"])},"spotify-album":e=>{const{normalize:t}=e;return t(["album"])},"spotify-artist":e=>{const{normalize:t}=e;return t(["artist"])},type:e=>{const{normalize:t}=e;return t(["Type"])},year:e=>{const{normalize:t}=e;return t(["Year"])}},"remote-pairing":{cancel:e=>{const{normalize:t}=e;return t(["Cancel"])},pair:e=>{const{normalize:t}=e;return t(["Pair Remote"])},"pairing-code":e=>{const{normalize:t}=e;return t(["Pairing code"])},title:e=>{const{normalize:t}=e;return t(["Remote pairing request"])}},spotify:{album:{"add-next":e=>{const{normalize:t}=e;return t(["Add Next"])},add:e=>{const{normalize:t}=e;return t(["Add"])},"album-artist":e=>{const{normalize:t}=e;return t(["Album Artist"])},play:e=>{const{normalize:t}=e;return t(["Play"])},"release-date":e=>{const{normalize:t}=e;return t(["Release Date"])},type:e=>{const{normalize:t}=e;return t(["Type"])}},artist:{"add-next":e=>{const{normalize:t}=e;return t(["Add Next"])},add:e=>{const{normalize:t}=e;return t(["Add"])},genres:e=>{const{normalize:t}=e;return t(["Genres"])},play:e=>{const{normalize:t}=e;return t(["Play"])},popularity:e=>{const{normalize:t}=e;return t(["Popularity / Followers"])}},playlist:{"add-next":e=>{const{normalize:t}=e;return t(["Add Next"])},add:e=>{const{normalize:t}=e;return t(["Add"])},owner:e=>{const{normalize:t}=e;return t(["Owner"])},path:e=>{const{normalize:t}=e;return t(["Path"])},play:e=>{const{normalize:t}=e;return t(["Play"])},tracks:e=>{const{normalize:t}=e;return t(["Tracks"])}},track:{"add-next":e=>{const{normalize:t}=e;return t(["Add Next"])},add:e=>{const{normalize:t}=e;return t(["Add"])},"album-artist":e=>{const{normalize:t}=e;return t(["Album Artist"])},album:e=>{const{normalize:t}=e;return t(["Album"])},duration:e=>{const{normalize:t}=e;return t(["Duration"])},path:e=>{const{normalize:t}=e;return t(["Path"])},play:e=>{const{normalize:t}=e;return t(["Play"])},position:e=>{const{normalize:t}=e;return t(["Disc / Track"])},"release-date":e=>{const{normalize:t}=e;return t(["Release Date"])}}},track:{"add-next":e=>{const{normalize:t}=e;return t(["Add Next"])},add:e=>{const{normalize:t}=e;return t(["Add"])},"added-on":e=>{const{normalize:t}=e;return t(["Added On"])},"album-artist":e=>{const{normalize:t}=e;return t(["Album Artist"])},album:e=>{const{normalize:t}=e;return t(["Album"])},bitrate:e=>{const{normalize:t,interpolate:n,named:r}=e;return t([" ","|"," ",n(r("rate"))," kbit/s"])},channels:e=>{const{normalize:t,interpolate:n,named:r}=e;return t([" ","|"," ",n(r("channels"))])},comment:e=>{const{normalize:t}=e;return t(["Comment"])},composer:e=>{const{normalize:t}=e;return t(["Composer"])},duration:e=>{const{normalize:t}=e;return t(["Duration"])},genre:e=>{const{normalize:t}=e;return t(["Genre"])},"mark-as-new":e=>{const{normalize:t}=e;return t(["Mark as new"])},"mark-as-played":e=>{const{normalize:t}=e;return t(["Mark as played"])},path:e=>{const{normalize:t}=e;return t(["Path"])},play:e=>{const{normalize:t}=e;return t(["Play"])},position:e=>{const{normalize:t}=e;return t(["Disc / Track"])},quality:e=>{const{normalize:t}=e;return t(["Quality"])},"rating-value":e=>{const{normalize:t,interpolate:n,named:r}=e;return t([n(r("rating"))," / 10"])},rating:e=>{const{normalize:t}=e;return t(["Rating"])},"release-date":e=>{const{normalize:t}=e;return t(["Release Date"])},samplerate:e=>{const{normalize:t,interpolate:n,named:r}=e;return t([" ","|"," ",n(r("rate"))," Hz"])},"spotify-album":e=>{const{normalize:t}=e;return t(["album"])},"spotify-artist":e=>{const{normalize:t}=e;return t(["artist"])},type:e=>{const{normalize:t}=e;return t(["Type"])},year:e=>{const{normalize:t}=e;return t(["Year"])}},update:{all:e=>{const{normalize:t}=e;return t(["Update everything"])},cancel:e=>{const{normalize:t}=e;return t(["Cancel"])},feeds:e=>{const{normalize:t}=e;return t(["Only update RSS feeds"])},info:e=>{const{normalize:t}=e;return t(["Scan for new, deleted and modified files"])},local:e=>{const{normalize:t}=e;return t(["Only update local library"])},progress:e=>{const{normalize:t}=e;return t(["Library update in progress…"])},"rescan-metadata":e=>{const{normalize:t}=e;return t(["Rescan metadata of unmodified files"])},rescan:e=>{const{normalize:t}=e;return t(["Rescan"])},spotify:e=>{const{normalize:t}=e;return t(["Only update Spotify"])},title:e=>{const{normalize:t}=e;return t(["Library update"])}}},language:{de:e=>{const{normalize:t}=e;return t(["German (Deutsch)"])},en:e=>{const{normalize:t}=e;return t(["English"])},fr:e=>{const{normalize:t}=e;return t(["French (Français)"])}},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"))," 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"))," albums"])])},filter:e=>{const{normalize:t}=e;return t(["Filter"])},"hide-singles-help":e=>{const{normalize:t}=e;return t(["If active, hides singles and albums with tracks that only appear in playlists."])},"hide-singles":e=>{const{normalize:t}=e;return t(["Hide singles"])},"hide-spotify-help":e=>{const{normalize:t}=e;return t(["If active, hides albums that only appear in your Spotify library."])},"hide-spotify":e=>{const{normalize:t}=e;return t(["Hide albums from Spotify"])},title:e=>{const{normalize:t}=e;return t(["Albums"])},"sort-by":{title:e=>{const{normalize:t}=e;return t(["Sort by"])},name:e=>{const{normalize:t}=e;return t(["Name"])},"recently-added":e=>{const{normalize:t}=e;return t(["Recently added"])},"recently-released":e=>{const{normalize:t}=e;return t(["Recently released"])}}},artist:{"album-count":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t([n(r("count"))," album"]),t([n(r("count"))," 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"))," tracks"])])},"sort-by":{title:e=>{const{normalize:t}=e;return t(["Sort by"])},name:e=>{const{normalize:t}=e;return t(["Name"])},rating:e=>{const{normalize:t}=e;return t(["Rating"])},"release-date":e=>{const{normalize:t}=e;return t(["Release date"])}}},artists:{count:e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t([n(r("count"))," artist"]),t([n(r("count"))," artists"])])},filter:e=>{const{normalize:t}=e;return t(["Filter"])},"sort-by":{title:e=>{const{normalize:t}=e;return t(["Sort by"])},name:e=>{const{normalize:t}=e;return t(["Name"])},"recently-added":e=>{const{normalize:t}=e;return t(["Recently added"])}},"hide-singles-help":e=>{const{normalize:t}=e;return t(["If active, hides artists that only appear on singles or playlists."])},"hide-singles":e=>{const{normalize:t}=e;return t(["Hide singles"])},"hide-spotify-help":e=>{const{normalize:t}=e;return t(["If active, hides artists that only appear in your Spotify library."])},"hide-spotify":e=>{const{normalize:t}=e;return t(["Hide artists from Spotify"])},title:e=>{const{normalize:t}=e;return t(["Artists"])}},audiobooks:{album:{play:e=>{const{normalize:t}=e;return t(["Play"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t([n(r("count"))," track"]),t([n(r("count"))," 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"))," 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"))," 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"))," 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"])}}},browse:{albums:e=>{const{normalize:t}=e;return t(["albums"])},"show-more":e=>{const{normalize:t}=e;return t(["Show more"])},tracks:e=>{const{normalize:t}=e;return t(["tracks"])},"recently-added":{albums:e=>{const{normalize:t}=e;return t(["albums"])},title:e=>{const{normalize:t}=e;return t(["Recently added"])}},"recently-played":{title:e=>{const{normalize:t}=e;return t(["Recently played"])},tracks:e=>{const{normalize:t}=e;return t(["tracks"])}},tabs:{albums:e=>{const{normalize:t}=e;return t(["Albums"])},artists:e=>{const{normalize:t}=e;return t(["Artists"])},browse:e=>{const{normalize:t}=e;return t(["Browse"])},composers:e=>{const{normalize:t}=e;return t(["Composers"])},genres:e=>{const{normalize:t}=e;return t(["Genres"])},spotify:e=>{const{normalize:t}=e;return t(["Spotify"])}}},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"))," 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"))," tracks"])])},"sort-by":{title:e=>{const{normalize:t}=e;return t(["Sort by"])},name:e=>{const{normalize:t}=e;return t(["Name"])},rating:e=>{const{normalize:t}=e;return t(["Rating"])}}},composers:{count:e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t([n(r("count"))," composer"]),t([n(r("count"))," 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"))," 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"))," tracks"])])},"sort-by":{title:e=>{const{normalize:t}=e;return t(["Sort by"])},name:e=>{const{normalize:t}=e;return t(["Name"])},rating:e=>{const{normalize:t}=e;return t(["Rating"])}}},genres:{count:e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t([n(r("count"))," genre"]),t([n(r("count"))," genres"])])},title:e=>{const{normalize:t}=e;return t(["Genres"])}},"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"))," tracks"])])}},playlists:{count:e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([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"))," 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"))," 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"))," 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"))," stations"])])},title:e=>{const{normalize:t}=e;return t(["Radio"])}},search:{albums:e=>{const{normalize:t}=e;return t(["Albums"])},artists:e=>{const{normalize:t}=e;return t(["Artists"])},audiobooks:e=>{const{normalize:t}=e;return t(["Audiobooks"])},composers:e=>{const{normalize:t}=e;return t(["Composers"])},expression:e=>{const{normalize:t}=e;return t(["expression"])},help:e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["Tip: you can search by a smart playlist query language ",n(r("help"))," if you prefix it with ",n(r("query")),"."])},"no-albums":e=>{const{normalize:t}=e;return t(["No albums found"])},"no-artists":e=>{const{normalize:t}=e;return t(["No artists found"])},"no-audiobooks":e=>{const{normalize:t}=e;return t(["No audiobooks found"])},"no-composers":e=>{const{normalize:t}=e;return t(["No composers found"])},"no-playlists":e=>{const{normalize:t}=e;return t(["No playlists found"])},"no-podcasts":e=>{const{normalize:t}=e;return t(["No podcasts found"])},"no-tracks":e=>{const{normalize:t}=e;return t(["No tracks found"])},placeholder:e=>{const{normalize:t}=e;return t(["Search"])},playlists:e=>{const{normalize:t}=e;return t(["Playlists"])},podcasts:e=>{const{normalize:t}=e;return t(["Podcasts"])},"show-albums":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t(["Show the album"]),t(["Show all ",n(r("count"))," albums"])])},"show-artists":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t(["Show the artist"]),t(["Show all ",n(r("count"))," artists"])])},"show-audiobooks":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t(["Show the audiobook"]),t(["Show all ",n(r("count"))," audiobooks"])])},"show-composers":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t(["Show the composer"]),t(["Show all ",n(r("count"))," composers"])])},"show-playlists":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t(["Show the playlist"]),t(["Show all ",n(r("count"))," playlists"])])},"show-podcasts":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t(["Show the podcast"]),t(["Show all ",n(r("count"))," podcasts"])])},"show-tracks":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t(["Show the track"]),t(["Show all ",n(r("count"))," tracks"])])},tracks:e=>{const{normalize:t}=e;return t(["Tracks"])},tabs:{library:e=>{const{normalize:t}=e;return t(["Library"])},spotify:e=>{const{normalize:t}=e;return t(["Spotify"])}}},settings:{artwork:{artwork:e=>{const{normalize:t}=e;return t(["Artwork"])},coverartarchive:e=>{const{normalize:t}=e;return t(["Cover Art Archive"])},discogs:e=>{const{normalize:t}=e;return t(["Discogs"])},"explanation-1":e=>{const{normalize:t}=e;return t(["OwnTone supports PNG and JPEG artwork which is either placed as separate image files in the library, embedded in the media files or made available online by radio stations."])},"explanation-2":e=>{const{normalize:t}=e;return t(["In addition to that, you can enable fetching artwork from the following artwork providers:"])},spotify:e=>{const{normalize:t}=e;return t(["Spotify"])}},devices:{"no-active-pairing":e=>{const{normalize:t}=e;return t(["No active pairing request."])},"pairing-code":e=>{const{normalize:t}=e;return t(["Pairing code"])},"pairing-request":e=>{const{normalize:t}=e;return t(["Remote pairing request from "])},pairing:e=>{const{normalize:t}=e;return t(["Remote Pairing"])},send:e=>{const{normalize:t}=e;return t(["Send"])},"speaker-pairing-info":e=>{const{normalize:t}=e;return t(["If your speaker requires pairing then activate it below and enter the PIN that it displays."])},"speaker-pairing":e=>{const{normalize:t}=e;return t(["Speaker pairing and device verification"])},"verification-code":e=>{const{normalize:t}=e;return t(["Verification code"])},verify:e=>{const{normalize:t}=e;return t(["Verify"])}},general:{"album-lists":e=>{const{normalize:t}=e;return t(["Album Lists"])},audiobooks:e=>{const{normalize:t}=e;return t(["Audiobooks"])},files:e=>{const{normalize:t}=e;return t(["Files"])},genres:e=>{const{normalize:t}=e;return t(["Genres"])},language:e=>{const{normalize:t}=e;return t(["Language"])},music:e=>{const{normalize:t}=e;return t(["Music"])},"navigation-item-selection-info":e=>{const{normalize:t}=e;return t(["If you select more items than can be shown on your screen then the burger menu will disappear."])},"navigation-item-selection":e=>{const{normalize:t}=e;return t(["Select the top navigation bar menu items"])},"navigation-items":e=>{const{normalize:t}=e;return t(["Navigation Bar"])},"now-playing-page":e=>{const{normalize:t}=e;return t(["Now playing page"])},playlists:e=>{const{normalize:t}=e;return t(["Playlists"])},podcasts:e=>{const{normalize:t}=e;return t(["Podcasts"])},radio:e=>{const{normalize:t}=e;return t(["Radio"])},"recently-added-page-info":e=>{const{normalize:t}=e;return t(['Limit the number of albums shown on the "Recently Added" page'])},"recently-added-page":e=>{const{normalize:t}=e;return t(["Recently added page"])},search:e=>{const{normalize:t}=e;return t(["Search"])},"show-composer-genres-info-1":e=>{const{normalize:t}=e;return t(['Comma separated list of genres the composer should be displayed on the "Now playing page"'])},"show-composer-genres-info-2":e=>{const{normalize:t}=e;return t(["Leave empty to always show the composer."])},"show-composer-genres-info-3":e=>{const{normalize:t}=e;return t(['The genre tag of the current track is matched by checking, if one of the defined genres are included. For example setting to "classical, soundtrack" will show the composer for tracks with a genre tag of "Contemporary Classical"'])},"show-composer-genres":e=>{const{normalize:t}=e;return t(["Show composer only for listed genres"])},"show-composer-info":e=>{const{normalize:t}=e;return t(['If enabled the composer of the current playing track is shown on the "Now playing page"'])},"show-composer":e=>{const{normalize:t}=e;return t(["Show composer"])},"show-coverart":e=>{const{normalize:t}=e;return t(["Show cover artwork in album list"])},"show-path":e=>{const{normalize:t}=e;return t(['Show filepath on the "Now playing" page'])}},services:{lastfm:{"grant-access":e=>{const{normalize:t}=e;return t(["Login with your Last.fm username and password to enable scrobbling"])},info:e=>{const{normalize:t}=e;return t(["OwnTone will not store your Last.fm username/password, only the session key. The session key does not expire."])},title:e=>{const{normalize:t}=e;return t(["Last.fm"])},"no-support":e=>{const{normalize:t}=e;return t(["OwnTone was built without support for Last.fm."])},"stop-scrobbling":e=>{const{normalize:t}=e;return t(["Stop scrobbling"])}},spotify:{"no-support":e=>{const{normalize:t}=e;return t(["OwnTone was either built without support for Spotify or libspotify is not installed."])},"logged-as":e=>{const{normalize:t}=e;return t(["Logged in as "])},requirements:e=>{const{normalize:t}=e;return t(["You must have a Spotify premium account."])},scopes:e=>{const{normalize:t}=e;return t(["Access to the Spotify Web API enables scanning of your Spotify library. Required scopes are: "])},user:e=>{const{normalize:t}=e;return t(["Access granted for "])},authorize:e=>{const{normalize:t}=e;return t(["Authorize Web API access"])},credentials:e=>{const{normalize:t}=e;return t([" - Login with your Spotify username and password"])},"grant-access":e=>{const{normalize:t}=e;return t(["Grant access to the Spotify Web API"])},"help-1":e=>{const{normalize:t}=e;return t(["libspotify enables OwnTone to play Spotify tracks."])},"help-2":e=>{const{normalize:t}=e;return t(["OwnTone will not store your password, but will still be able to log you in automatically afterwards, because libspotify saves a login token."])},reauthorize:e=>{const{normalize:t}=e;return t(["Please reauthorize Web API access to grant OwnTone the following additional access rights: "])},title:e=>{const{normalize:t}=e;return t(["Spotify"])}},login:e=>{const{normalize:t}=e;return t(["Login"])},logout:e=>{const{normalize:t}=e;return t(["Logout"])},password:e=>{const{normalize:t}=e;return t(["Password"])},username:e=>{const{normalize:t}=e;return t(["Username"])}},tabs:{artwork:e=>{const{normalize:t}=e;return t(["Artwork"])},general:e=>{const{normalize:t}=e;return t(["General"])},"online-services":e=>{const{normalize:t}=e;return t(["Online Services"])},"remotes-and-outputs":e=>{const{normalize:t}=e;return t(["Remotes and Outputs"])}}},spotify:{album:{shuffle:e=>{const{normalize:t}=e;return t(["Shuffle"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t([n(r("count"))," track"]),t([n(r("count"))," 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"))," albums"])])},shuffle:e=>{const{normalize:t}=e;return t(["Shuffle"])}},browse:{"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"))," 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"])}}},setting:{"not-saved":e=>{const{normalize:t}=e;return t([" (error saving setting)"])},saved:e=>{const{normalize:t}=e;return t([" (setting saved)"])}},server:{"connection-failed":e=>{const{normalize:t}=e;return t(["Failed to connect to OwnTone server"])},"missing-port":e=>{const{normalize:t}=e;return t(["Missing websocket port"])},"request-failed":e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["Request failed (status: ",n(r("status"))," ",n(r("cause"))," ",n(r("url")),")"])},"queue-saved":e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["Queue saved to playlist ",n(r("name"))])},"appended-tracks":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t([n(r("count"))," track appended to the queue"]),t([n(r("count"))," tracks appended to the queue"])])},"empty-queue":e=>{const{normalize:t}=e;return t(["Queue is empty"])}},"group-by-list":{today:e=>{const{normalize:t}=e;return t(["Today"])},"last-week":e=>{const{normalize:t}=e;return t(["Last week"])},"last-month":e=>{const{normalize:t}=e;return t(["Last month"])}},filter:{mono:e=>{const{normalize:t}=e;return t(["mono"])},stereo:e=>{const{normalize:t}=e;return t(["stereo"])},channels:e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t([n(r("count"))," channel"]),t([n(r("count"))," channels"])])}}},fr:{data:{kind:{file:e=>{const{normalize:t}=e;return t(["Fichier"])},url:e=>{const{normalize:t}=e;return t(["URL"])},spotify:e=>{const{normalize:t}=e;return t(["Spotify"])},pipe:e=>{const{normalize:t}=e;return t(["Flux"])}}},dialog:{cancel:e=>{const{normalize:t}=e;return t(["Annuler"])},add:{rss:{add:e=>{const{normalize:t}=e;return t(["Ajouter"])},cancel:e=>{const{normalize:t}=e;return t(["Annuler"])},help:e=>{const{normalize:t}=e;return t(["Lajout dun podcast inclut la création dune liste de lecture RSS, qui permettra à OwnTone de gérer labonnement au podcast."])},placeholder:e=>{const{normalize:t}=e;return t(["https://url-du-flux-rss"])},processing:e=>{const{normalize:t}=e;return t(["Traitement en cours…"])},title:e=>{const{normalize:t}=e;return t(["Ajouter lURL du flux RSS du podcast"])}},stream:{add:e=>{const{normalize:t}=e;return t(["Ajouter"])},cancel:e=>{const{normalize:t}=e;return t(["Annuler"])},loading:e=>{const{normalize:t}=e;return t(["Chargement…"])},placeholder:e=>{const{normalize:t}=e;return t(["https://url-du-flux"])},play:e=>{const{normalize:t}=e;return t(["Lire"])},title:e=>{const{normalize:t}=e;return t(["Ajouter lURL du flux"])}}},album:{"add-next":e=>{const{normalize:t}=e;return t(["Ajouter ensuite"])},add:e=>{const{normalize:t}=e;return t(["Ajouter"])},"added-on":e=>{const{normalize:t}=e;return t(["Ajouté le"])},artist:e=>{const{normalize:t}=e;return t(["Artiste de lalbum"])},duration:e=>{const{normalize:t}=e;return t(["Durée"])},"mark-as-played":e=>{const{normalize:t}=e;return t(["Marquer comme lu"])},play:e=>{const{normalize:t}=e;return t(["Lire"])},"release-date":e=>{const{normalize:t}=e;return t(["Date de sortie"])},"remove-podcast":e=>{const{normalize:t}=e;return t(["Supprimer le podcast"])},tracks:e=>{const{normalize:t}=e;return t(["Pistes"])},type:e=>{const{normalize:t}=e;return t(["Type"])},year:e=>{const{normalize:t}=e;return t(["Année"])}},artist:{"add-next":e=>{const{normalize:t}=e;return t(["Ajouter ensuite"])},add:e=>{const{normalize:t}=e;return t(["Ajouter"])},"added-on":e=>{const{normalize:t}=e;return t(["Ajouté le"])},albums:e=>{const{normalize:t}=e;return t(["Albums"])},play:e=>{const{normalize:t}=e;return t(["Lire"])},tracks:e=>{const{normalize:t}=e;return t(["Pistes"])},type:e=>{const{normalize:t}=e;return t(["Type"])}},composer:{"add-next":e=>{const{normalize:t}=e;return t(["Ajouter ensuite"])},add:e=>{const{normalize:t}=e;return t(["Ajouter"])},albums:e=>{const{normalize:t}=e;return t(["Albums"])},duration:e=>{const{normalize:t}=e;return t(["Durée"])},play:e=>{const{normalize:t}=e;return t(["Lire"])},tracks:e=>{const{normalize:t}=e;return t(["Pistes"])}},directory:{"add-next":e=>{const{normalize:t}=e;return t(["Ajouter ensuite"])},add:e=>{const{normalize:t}=e;return t(["Ajouter"])},play:e=>{const{normalize:t}=e;return t(["Lire"])}},genre:{"add-next":e=>{const{normalize:t}=e;return t(["Ajouter ensuite"])},add:e=>{const{normalize:t}=e;return t(["Ajouter"])},albums:e=>{const{normalize:t}=e;return t(["Albums"])},duration:e=>{const{normalize:t}=e;return t(["Durée"])},play:e=>{const{normalize:t}=e;return t(["Lire"])},tracks:e=>{const{normalize:t}=e;return t(["Pistes"])}},playlist:{"add-next":e=>{const{normalize:t}=e;return t(["Ajouter ensuite"])},add:e=>{const{normalize:t}=e;return t(["Ajouter"])},play:e=>{const{normalize:t}=e;return t(["Lire"])},path:e=>{const{normalize:t}=e;return t(["Emplacement"])},"track-count":e=>{const{normalize:t}=e;return t(["Pistes"])},type:e=>{const{normalize:t}=e;return t(["Type"])},save:{cancel:e=>{const{normalize:t}=e;return t(["Annuler"])},"playlist-name":e=>{const{normalize:t}=e;return t(["Nom de la liste de lecture"])},save:e=>{const{normalize:t}=e;return t(["Enregistrer"])},saving:e=>{const{normalize:t}=e;return t(["Enregistrement en cours…"])},title:e=>{const{normalize:t}=e;return t(["Enregistrer la file dattente dans une liste de lecture"])}}},"queue-item":{"album-artist":e=>{const{normalize:t}=e;return t(["Artiste de lalbum"])},album:e=>{const{normalize:t}=e;return t(["Album"])},bitrate:e=>{const{normalize:t,interpolate:n,named:r}=e;return t([" ","|"," ",n(r("rate"))," kbit/s"])},channels:e=>{const{normalize:t,interpolate:n,named:r}=e;return t([" ","|"," ",n(r("channels"))])},composer:e=>{const{normalize:t}=e;return t(["Compositeur"])},duration:e=>{const{normalize:t}=e;return t(["Durée"])},genre:e=>{const{normalize:t}=e;return t(["Genre"])},path:e=>{const{normalize:t}=e;return t(["Emplacement"])},play:e=>{const{normalize:t}=e;return t(["Lire"])},position:e=>{const{normalize:t}=e;return t(["Disque / Piste"])},quality:e=>{const{normalize:t}=e;return t(["Qualité"])},remove:e=>{const{normalize:t}=e;return t(["Supprimer"])},samplerate:e=>{const{normalize:t,interpolate:n,named:r}=e;return t([" ","|"," ",n(r("rate"))," Hz"])},"spotify-album":e=>{const{normalize:t}=e;return t(["album"])},"spotify-artist":e=>{const{normalize:t}=e;return t(["artiste"])},type:e=>{const{normalize:t}=e;return t(["Type"])},year:e=>{const{normalize:t}=e;return t(["Année"])}},"remote-pairing":{cancel:e=>{const{normalize:t}=e;return t(["Annuler"])},pair:e=>{const{normalize:t}=e;return t(["Jumeler la télécommande"])},"pairing-code":e=>{const{normalize:t}=e;return t(["Code de jumelage"])},title:e=>{const{normalize:t}=e;return t(["Demande de jumelage de télécommande"])}},spotify:{album:{"add-next":e=>{const{normalize:t}=e;return t(["Ajouter ensuite"])},add:e=>{const{normalize:t}=e;return t(["Ajouter"])},"album-artist":e=>{const{normalize:t}=e;return t(["Artiste de lalbum"])},play:e=>{const{normalize:t}=e;return t(["Lire"])},"release-date":e=>{const{normalize:t}=e;return t(["Date de sortie"])},type:e=>{const{normalize:t}=e;return t(["Type"])}},artist:{"add-next":e=>{const{normalize:t}=e;return t(["Ajouter ensuite"])},add:e=>{const{normalize:t}=e;return t(["Ajouter"])},genres:e=>{const{normalize:t}=e;return t(["Genres"])},play:e=>{const{normalize:t}=e;return t(["Lire"])},popularity:e=>{const{normalize:t}=e;return t(["Popularité / Abonnements"])}},playlist:{"add-next":e=>{const{normalize:t}=e;return t(["Ajouter ensuite"])},add:e=>{const{normalize:t}=e;return t(["Ajouter"])},owner:e=>{const{normalize:t}=e;return t(["Propriétaire"])},path:e=>{const{normalize:t}=e;return t(["Emplacement"])},play:e=>{const{normalize:t}=e;return t(["Lire"])},tracks:e=>{const{normalize:t}=e;return t(["Pistes"])}},track:{"add-next":e=>{const{normalize:t}=e;return t(["Ajouter ensuite"])},add:e=>{const{normalize:t}=e;return t(["Ajouter"])},"album-artist":e=>{const{normalize:t}=e;return t(["Artiste de lalbum"])},album:e=>{const{normalize:t}=e;return t(["Album"])},duration:e=>{const{normalize:t}=e;return t(["Durée"])},path:e=>{const{normalize:t}=e;return t(["Emplacement"])},play:e=>{const{normalize:t}=e;return t(["Lire"])},position:e=>{const{normalize:t}=e;return t(["Disque / Piste"])},"release-date":e=>{const{normalize:t}=e;return t(["Date de sortie"])}}},track:{"add-next":e=>{const{normalize:t}=e;return t(["Ajouter ensuite"])},add:e=>{const{normalize:t}=e;return t(["Ajouter"])},"added-on":e=>{const{normalize:t}=e;return t(["Ajouté le"])},"album-artist":e=>{const{normalize:t}=e;return t(["Artiste de lalbum"])},album:e=>{const{normalize:t}=e;return t(["Album"])},bitrate:e=>{const{normalize:t,interpolate:n,named:r}=e;return t([" ","|"," ",n(r("rate"))," kbit/s"])},channels:e=>{const{normalize:t,interpolate:n,named:r}=e;return t([" ","|"," ",n(r("channels"))])},comment:e=>{const{normalize:t}=e;return t(["Commentaire"])},composer:e=>{const{normalize:t}=e;return t(["Compositeur"])},duration:e=>{const{normalize:t}=e;return t(["Durée"])},genre:e=>{const{normalize:t}=e;return t(["Genre"])},"mark-as-new":e=>{const{normalize:t}=e;return t(["Marquer comme nouveau"])},"mark-as-played":e=>{const{normalize:t}=e;return t(["Marquer comme lu"])},path:e=>{const{normalize:t}=e;return t(["Emplacement"])},play:e=>{const{normalize:t}=e;return t(["Lire"])},position:e=>{const{normalize:t}=e;return t(["Disque / Piste"])},quality:e=>{const{normalize:t}=e;return t(["Qualité"])},"rating-value":e=>{const{normalize:t,interpolate:n,named:r}=e;return t([n(r("rating"))," / 10"])},rating:e=>{const{normalize:t}=e;return t(["Classement"])},"release-date":e=>{const{normalize:t}=e;return t(["Date de sortie"])},samplerate:e=>{const{normalize:t,interpolate:n,named:r}=e;return t([" ","|"," ",n(r("rate"))," Hz"])},"spotify-album":e=>{const{normalize:t}=e;return t(["album"])},"spotify-artist":e=>{const{normalize:t}=e;return t(["artiste"])},type:e=>{const{normalize:t}=e;return t(["Type"])},year:e=>{const{normalize:t}=e;return t(["Année"])}},update:{all:e=>{const{normalize:t}=e;return t(["Tout actualiser"])},cancel:e=>{const{normalize:t}=e;return t(["Annuler"])},feeds:e=>{const{normalize:t}=e;return t(["Actualiser uniquement les flux RSS"])},info:e=>{const{normalize:t}=e;return t(["Recherche les fichiers ajoutés, supprimés et modifiés"])},local:e=>{const{normalize:t}=e;return t(["Actualiser uniquement la bibliothèque locale"])},progress:e=>{const{normalize:t}=e;return t(["Actualisation de la bibliothèque en cours…"])},"rescan-metadata":e=>{const{normalize:t}=e;return t(["Analyser les métadonnées des fichiers non modifiés"])},rescan:e=>{const{normalize:t}=e;return t(["Analyser"])},spotify:e=>{const{normalize:t}=e;return t(["Actualiser uniquement Spotify"])},title:e=>{const{normalize:t}=e;return t(["Actualisation de la bibliothèque"])}}},language:{de:e=>{const{normalize:t}=e;return t(["Allemand (Deutsch)"])},en:e=>{const{normalize:t}=e;return t(["Anglais (English)"])},fr:e=>{const{normalize:t}=e;return t(["Français"])}},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"))," 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"))," albums"])])},filter:e=>{const{normalize:t}=e;return t(["Filtre"])},"hide-singles-help":e=>{const{normalize:t}=e;return t(["Si actif, masque les singles et les albums dont les pistes napparaissent que dans les listes de lecture."])},"hide-singles":e=>{const{normalize:t}=e;return t(["Masquer les singles"])},"hide-spotify-help":e=>{const{normalize:t}=e;return t(["Si actif, masque les albums qui napparaissent que dans votre bibliothèque Spotify."])},"hide-spotify":e=>{const{normalize:t}=e;return t(["Masquer les albums de Spotify"])},title:e=>{const{normalize:t}=e;return t(["Albums"])},"sort-by":{title:e=>{const{normalize:t}=e;return t(["Trier par"])},name:e=>{const{normalize:t}=e;return t(["Nom"])},"recently-added":e=>{const{normalize:t}=e;return t(["Ajouts récents"])},"recently-released":e=>{const{normalize:t}=e;return t(["Sorties récentes"])}}},artist:{"album-count":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t([n(r("count"))," album"]),t([n(r("count"))," 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"))," pistes"])])},"sort-by":{title:e=>{const{normalize:t}=e;return t(["Trier par"])},name:e=>{const{normalize:t}=e;return t(["Nom"])},rating:e=>{const{normalize:t}=e;return t(["Classement"])},"release-date":e=>{const{normalize:t}=e;return t(["Date de sortie"])}}},artists:{count:e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t([n(r("count"))," artiste"]),t([n(r("count"))," artistes"])])},filter:e=>{const{normalize:t}=e;return t(["Filtre"])},"sort-by":{title:e=>{const{normalize:t}=e;return t(["Trier par"])},name:e=>{const{normalize:t}=e;return t(["Nom"])},"recently-added":e=>{const{normalize:t}=e;return t(["Ajouts récents"])}},"hide-singles-help":e=>{const{normalize:t}=e;return t(["Si actif, masque les artistes qui napparaissent que dans des singles ou des listes de lecture."])},"hide-singles":e=>{const{normalize:t}=e;return t(["Masquer les singles"])},"hide-spotify-help":e=>{const{normalize:t}=e;return t(["Si actif, masque les artistes qui napparaissent que dans votre bibliothèque Spotify."])},"hide-spotify":e=>{const{normalize:t}=e;return t(["Masquer les artistes de Spotify"])},title:e=>{const{normalize:t}=e;return t(["Artistes"])}},audiobooks:{album:{play:e=>{const{normalize:t}=e;return t(["Lire"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t([n(r("count"))," piste"]),t([n(r("count"))," 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"))," 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"))," 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"))," 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"])}}},browse:{albums:e=>{const{normalize:t}=e;return t(["albums"])},"show-more":e=>{const{normalize:t}=e;return t(["Afficher plus"])},tracks:e=>{const{normalize:t}=e;return t(["pistes"])},"recently-added":{albums:e=>{const{normalize:t}=e;return t(["albums"])},title:e=>{const{normalize:t}=e;return t(["Ajouts récents"])}},"recently-played":{title:e=>{const{normalize:t}=e;return t(["Lectures récentes"])},tracks:e=>{const{normalize:t}=e;return t(["pistes"])}},tabs:{albums:e=>{const{normalize:t}=e;return t(["Albums"])},artists:e=>{const{normalize:t}=e;return t(["Artistes"])},browse:e=>{const{normalize:t}=e;return t(["Parcourir"])},composers:e=>{const{normalize:t}=e;return t(["Compositeurs"])},genres:e=>{const{normalize:t}=e;return t(["Genres"])},spotify:e=>{const{normalize:t}=e;return t(["Spotify"])}}},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"))," 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"))," pistes"])])},"sort-by":{title:e=>{const{normalize:t}=e;return t(["Trier par"])},name:e=>{const{normalize:t}=e;return t(["Nom"])},rating:e=>{const{normalize:t}=e;return t(["Classement"])}}},composers:{count:e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t([n(r("count"))," compositeur"]),t([n(r("count"))," 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"))," 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"))," pistes"])])},"sort-by":{title:e=>{const{normalize:t}=e;return t(["Trier par"])},name:e=>{const{normalize:t}=e;return t(["Nom"])},rating:e=>{const{normalize:t}=e;return t(["Classement"])}}},genres:{count:e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t([n(r("count"))," genre"]),t([n(r("count"))," genres"])])},title:e=>{const{normalize:t}=e;return t(["Genres"])}},"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"))," pistes"])])}},playlists:{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"))," 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"))," 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"))," 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"))," 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"))," stations"])])},title:e=>{const{normalize:t}=e;return t(["Radio"])}},search:{albums:e=>{const{normalize:t}=e;return t(["Albums"])},artists:e=>{const{normalize:t}=e;return t(["Artistes"])},audiobooks:e=>{const{normalize:t}=e;return t(["Livres audio"])},composers:e=>{const{normalize:t}=e;return t(["Compositeurs"])},expression:e=>{const{normalize:t}=e;return t(["expression"])},help:e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["Astuce : vous pouvez effectuer une recherche avec une ",n(r("help"))," du langage de requête de liste de lecture intelligente en préfixant votre requête avec ",n(r("query"))])},"no-albums":e=>{const{normalize:t}=e;return t(["Aucun album trouvé"])},"no-artists":e=>{const{normalize:t}=e;return t(["Aucun artiste trouvé"])},"no-audiobooks":e=>{const{normalize:t}=e;return t(["Aucun livre audio trouvé"])},"no-composers":e=>{const{normalize:t}=e;return t(["Aucun compositeur trouvé"])},"no-playlists":e=>{const{normalize:t}=e;return t(["Aucune liste de lecture trouvée"])},"no-podcasts":e=>{const{normalize:t}=e;return t(["Aucune podcast trouvé"])},"no-tracks":e=>{const{normalize:t}=e;return t(["Aucune piste trouvée"])},placeholder:e=>{const{normalize:t}=e;return t(["Recherche"])},playlists:e=>{const{normalize:t}=e;return t(["Listes de lecture"])},podcasts:e=>{const{normalize:t}=e;return t(["Podcasts"])},"show-albums":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t(["Afficher lalbum"]),t(["Afficher les ",n(r("count"))," albums"])])},"show-artists":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t(["Afficher lartiste"]),t(["Afficher les ",n(r("count"))," artistes"])])},"show-audiobooks":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t(["Afficher le livre audio"]),t(["Afficher les ",n(r("count"))," livres audio"])])},"show-composers":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t(["Afficher le compositeur"]),t(["Afficher les ",n(r("count"))," compositeurs"])])},"show-playlists":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t(["Afficher la liste de lecture"]),t(["Afficher les ",n(r("count"))," listes de lecture"])])},"show-podcasts":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t(["Afficher le podcast"]),t(["Afficher les ",n(r("count"))," podcasts"])])},"show-tracks":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t(["Afficher la piste"]),t(["Afficher les ",n(r("n"))," pistes"])])},tracks:e=>{const{normalize:t}=e;return t(["Pistes"])},tabs:{library:e=>{const{normalize:t}=e;return t(["Bibliothèque"])},spotify:e=>{const{normalize:t}=e;return t(["Spotify"])}}},settings:{artwork:{artwork:e=>{const{normalize:t}=e;return t(["Illustrations"])},coverartarchive:e=>{const{normalize:t}=e;return t(["Cover Art Archive"])},discogs:e=>{const{normalize:t}=e;return t(["Discogs"])},"explanation-1":e=>{const{normalize:t}=e;return t(["Prend en charge les illustrations au format PNG et JPEG qui sont soit placées dans la bibliothèque en tant que fichiers image séparés, soit intégrées dans les fichiers média, soit mises à disposition en ligne par les stations de radio."])},"explanation-2":e=>{const{normalize:t}=e;return t(["En outre, vous pouvez activer la récupération des illustrations à partir des fournisseurs dillustrations suivants :"])},spotify:e=>{const{normalize:t}=e;return t(["Spotify"])}},devices:{"no-active-pairing":e=>{const{normalize:t}=e;return t(["Aucune demande de jumelage active."])},"pairing-code":e=>{const{normalize:t}=e;return t(["Code de jumelage"])},"pairing-request":e=>{const{normalize:t}=e;return t(["Demande de jumelage de télécommande "])},pairing:e=>{const{normalize:t}=e;return t(["Jumelage de télécommande"])},send:e=>{const{normalize:t}=e;return t(["Envoyer"])},"speaker-pairing-info":e=>{const{normalize:t}=e;return t(["Si votre enceinte nécessite un jumelage, activez-la ci-dessous et entrez le code PIN quelle affiche."])},"speaker-pairing":e=>{const{normalize:t}=e;return t(["Jumelage denceinte et vérification dappareil"])},"verification-code":e=>{const{normalize:t}=e;return t(["Code de vérification"])},verify:e=>{const{normalize:t}=e;return t(["Vérifier"])}},general:{"album-lists":e=>{const{normalize:t}=e;return t(["Listes dalbum"])},audiobooks:e=>{const{normalize:t}=e;return t(["Livres audio"])},files:e=>{const{normalize:t}=e;return t(["Fichiers"])},genres:e=>{const{normalize:t}=e;return t(["Genres"])},language:e=>{const{normalize:t}=e;return t(["Langue"])},music:e=>{const{normalize:t}=e;return t(["Musique"])},"navigation-item-selection-info":e=>{const{normalize:t}=e;return t(["Si vous sélectionnez plus déléments que ce qui peut être affiché sur votre écran, le menu disparaîtra."])},"navigation-item-selection":e=>{const{normalize:t}=e;return t(["Sélectionnez les éléments de la barre de navigation supérieure"])},"navigation-items":e=>{const{normalize:t}=e;return t(["Barre de navigation"])},"now-playing-page":e=>{const{normalize:t}=e;return t(["Page « En cours de lecture »"])},playlists:e=>{const{normalize:t}=e;return t(["Listes de lecture"])},podcasts:e=>{const{normalize:t}=e;return t(["Podcasts"])},radio:e=>{const{normalize:t}=e;return t(["Radio"])},"recently-added-page-info":e=>{const{normalize:t}=e;return t(["Limiter le nombre dalbum affichés dans la section « Ajouts récents »"])},"recently-added-page":e=>{const{normalize:t}=e;return t(["Page « Ajouts récents »"])},search:e=>{const{normalize:t}=e;return t(["Recherche"])},"show-composer-genres-info-1":e=>{const{normalize:t}=e;return t(["Liste des genres, séparés par des virgules, que le compositeur doit afficher sur la page « En cours de lecture »."])},"show-composer-genres-info-2":e=>{const{normalize:t}=e;return t(["Laissez vide pour toujours afficher le compositeur."])},"show-composer-genres-info-3":e=>{const{normalize:t}=e;return t(['Létiquette de genre de la piste actuelle est comparée en vérifiant si lun des genres définis est inclus. Par exemple, en choisissant "classique, bande sonore", le compositeur pour les pistes dont létiquette de genre est "classique contemporain" sera affiché.'])},"show-composer-genres":e=>{const{normalize:t}=e;return t(["Afficher le compositeur uniquement pour les genres listés"])},"show-composer-info":e=>{const{normalize:t}=e;return t(["Si actif, le compositeur de la piste en cours de lecture est affiché sur la page « En cours de lecture »"])},"show-composer":e=>{const{normalize:t}=e;return t(["Afficher le compositeur"])},"show-coverart":e=>{const{normalize:t}=e;return t(["Afficher les illustration dans la liste dalbums"])},"show-path":e=>{const{normalize:t}=e;return t(["Afficher le chemin du fichier sur la page « En cours de lecture »"])}},services:{lastfm:{"grant-access":e=>{const{normalize:t}=e;return t(["Connectez-vous avec votre nom dutilisateur et votre mot de passe Last.fm pour activer le scrobbling."])},info:e=>{const{normalize:t}=e;return t(["Le nom dutilisateur et le mot de passe Last.fm ne sont pas enregistrés, uniquement la clé de session. La clé de session nexpire pas."])},title:e=>{const{normalize:t}=e;return t(["Last.fm"])},"no-support":e=>{const{normalize:t}=e;return t(["Loption Last.fm nest pas présente."])},"stop-scrobbling":e=>{const{normalize:t}=e;return t(["Arrêter le scrobbling"])}},spotify:{"no-support":e=>{const{normalize:t}=e;return t(["Loption Spotify nest pas présente."])},"logged-as":e=>{const{normalize:t}=e;return t(["Connecté en tant que "])},requirements:e=>{const{normalize:t}=e;return t(["Vous devez posséder un compte Spotify Premium."])},scopes:e=>{const{normalize:t}=e;return t(["Laccès à lAPI de Spotify permet lanalyse de votre bibliothèque Spotify. Les champs dapplication requis sont les suivants :"])},user:e=>{const{normalize:t}=e;return t(["Accès autorisé pour "])},authorize:e=>{const{normalize:t}=e;return t(["Autoriser laccès à lAPI"])},credentials:e=>{const{normalize:t}=e;return t([" - Connectez-vous avec votre nom dutilisateur et mot de passe Spotify"])},"grant-access":e=>{const{normalize:t}=e;return t(["Accordez laccès à lAPI de Spotify"])},"help-1":e=>{const{normalize:t}=e;return t(["La bibliothèque libspotify permet de lire les pistes de Spotify."])},"help-2":e=>{const{normalize:t}=e;return t(["Votre nom dutilisateur et votre mot de passe Spotify ne sont pas enregistrés, uniquement le jeton de connexion."])},reauthorize:e=>{const{normalize:t}=e;return t(["Veuillez autoriser à nouveau laccès à lAPI pour accorder à OwnTone les droits daccès supplémentaires suivants :"])},title:e=>{const{normalize:t}=e;return t(["Spotify"])}},login:e=>{const{normalize:t}=e;return t(["Se connecter"])},logout:e=>{const{normalize:t}=e;return t(["Se déconnecter"])},password:e=>{const{normalize:t}=e;return t(["Mot de passe"])},username:e=>{const{normalize:t}=e;return t(["Nom dutilisateur"])}},tabs:{artwork:e=>{const{normalize:t}=e;return t(["Illustrations"])},general:e=>{const{normalize:t}=e;return t(["Général"])},"online-services":e=>{const{normalize:t}=e;return t(["Services en ligne"])},"remotes-and-outputs":e=>{const{normalize:t}=e;return t(["Télécommandes et sorties"])}}},spotify:{album:{shuffle:e=>{const{normalize:t}=e;return t(["Lecture aléatoire"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t([n(r("count"))," piste"]),t([n(r("count"))," 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"))," albums"])])},shuffle:e=>{const{normalize:t}=e;return t(["Lecture aléatoire"])}},browse:{"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"))," 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"])}}},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"])])}}}},Hl=mw({availableLocales:"fr",fallbackLocale:"en",fallbackWarn:!1,globalInjection:!0,legacy:!1,locale:navigator.language,messages:zw,missingWarn:!1});/*!
* vuex v4.1.0
* (c) 2022 Evan You
* @license MIT
*/var ww="store";function co(e,t){Object.keys(e).forEach(function(n){return t(e[n],n)})}function kw(e){return e!==null&&typeof e=="object"}function xw(e){return e&&typeof e.then=="function"}function Ew(e,t){return function(){return e(t)}}function gg(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 yg(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;jl(e,n,[],e._modules.root,!0),Rd(e,n,t)}function Rd(e,t,n){var r=e._state,s=e._scope;e.getters={},e._makeLocalGettersCache=Object.create(null);var o=e._wrappedGetters,i={},a={},l=sd(!0);l.run(function(){co(o,function(c,d){i[d]=Ew(c,e),a[d]=Ft(function(){return i[d]()}),Object.defineProperty(e.getters,d,{get:function(){return a[d].value},enumerable:!0})})}),e._state=vs({data:t}),e._scope=l,e.strict&&Ow(e),r&&n&&e._withCommit(function(){r.data=null}),s&&s.stop()}function jl(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=Ld(t,n.slice(0,-1)),l=n[n.length-1];e._withCommit(function(){a[l]=r.state})}var c=r.context=Sw(e,i,n);r.forEachMutation(function(d,f){var m=i+f;$w(e,m,d,c)}),r.forEachAction(function(d,f){var m=d.root?f:i+f,p=d.handler||d;Aw(e,m,p,c)}),r.forEachGetter(function(d,f){var m=i+f;Tw(e,m,d,c)}),r.forEachChild(function(d,f){jl(e,t,n.concat(f),d,s)})}function Sw(e,t,n){var r=t==="",s={dispatch:r?e.dispatch:function(o,i,a){var l=ul(o,i,a),c=l.payload,d=l.options,f=l.type;return(!d||!d.root)&&(f=t+f),e.dispatch(f,c)},commit:r?e.commit:function(o,i,a){var l=ul(o,i,a),c=l.payload,d=l.options,f=l.type;(!d||!d.root)&&(f=t+f),e.commit(f,c,d)}};return Object.defineProperties(s,{getters:{get:r?function(){return e.getters}:function(){return vg(e,t)}},state:{get:function(){return Ld(e.state,n)}}}),s}function vg(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 $w(e,t,n,r){var s=e._mutations[t]||(e._mutations[t]=[]);s.push(function(i){n.call(e,r.state,i)})}function Aw(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 xw(a)||(a=Promise.resolve(a)),e._devtoolHook?a.catch(function(l){throw e._devtoolHook.emit("vuex:error",l),l}):a})}function Tw(e,t,n,r){e._wrappedGetters[t]||(e._wrappedGetters[t]=function(o){return n(r.state,r.getters,o.state,o.getters)})}function Ow(e){Xt(function(){return e._state.data},function(){},{deep:!0,flush:"sync"})}function Ld(e,t){return t.reduce(function(n,r){return n[r]},e)}function ul(e,t,n){return kw(e)&&e.type&&(n=t,t=e,e=e.type),{type:e,payload:t,options:n}}var Dw="vuex bindings",Mf="vuex:mutations",vu="vuex:actions",Es="vuex",Pw=0;function Iw(e,t){Qz({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:[Dw]},function(n){n.addTimelineLayer({id:Mf,label:"Vuex Mutations",color:Nf}),n.addTimelineLayer({id:vu,label:"Vuex Actions",color:Nf}),n.addInspector({id:Es,label:"Vuex",icon:"storage",treeFilterPlaceholder:"Filter stores..."}),n.on.getInspectorTree(function(r){if(r.app===e&&r.inspectorId===Es)if(r.filter){var s=[];wg(s,t._modules.root,r.filter,""),r.rootNodes=s}else r.rootNodes=[zg(t._modules.root,"")]}),n.on.getInspectorState(function(r){if(r.app===e&&r.inspectorId===Es){var s=r.nodeId;vg(t,s),r.state=Lw(Nw(t._modules,s),s==="root"?t.getters:t._makeLocalGettersCache,s)}}),n.on.editInspectorState(function(r){if(r.app===e&&r.inspectorId===Es){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(Es),n.sendInspectorState(Es),n.addTimelineEvent({layerId:Mf,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=Pw++,r._time=Date.now(),o.state=s,n.addTimelineEvent({layerId:vu,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:vu,event:{time:Date.now(),title:r.type,groupId:r._id,subtitle:"end",data:o}})}})})}var Nf=8702998,Fw=6710886,Rw=16777215,bg={label:"namespaced",textColor:Rw,backgroundColor:Fw};function Cg(e){return e&&e!=="root"?e.split("/").slice(-2,-1)[0]:"Root"}function zg(e,t){return{id:t||"root",label:Cg(t),tags:e.namespaced?[bg]:[],children:Object.keys(e._children).map(function(n){return zg(e._children[n],t+n+"/")})}}function wg(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?[bg]:[]}),Object.keys(t._children).forEach(function(s){wg(e,t._children[s],n,r+s+"/")})}function Lw(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=Mw(t);s.getters=Object.keys(o).map(function(i){return{key:i.endsWith("/")?Cg(i):i,editable:!1,value:kc(function(){return o[i]})}})}return s}function Mw(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]=kc(function(){return e[n]})}else t[n]=kc(function(){return e[n]})}),t}function Nw(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 kc(e){try{return e()}catch(t){return t}}var qn=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)||{}},kg={namespaced:{configurable:!0}};kg.namespaced.get=function(){return!!this._rawModule.namespaced};qn.prototype.addChild=function(t,n){this._children[t]=n};qn.prototype.removeChild=function(t){delete this._children[t]};qn.prototype.getChild=function(t){return this._children[t]};qn.prototype.hasChild=function(t){return t in this._children};qn.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)};qn.prototype.forEachChild=function(t){co(this._children,t)};qn.prototype.forEachGetter=function(t){this._rawModule.getters&&co(this._rawModule.getters,t)};qn.prototype.forEachAction=function(t){this._rawModule.actions&&co(this._rawModule.actions,t)};qn.prototype.forEachMutation=function(t){this._rawModule.mutations&&co(this._rawModule.mutations,t)};Object.defineProperties(qn.prototype,kg);var Cs=function(t){this.register([],t,!1)};Cs.prototype.get=function(t){return t.reduce(function(n,r){return n.getChild(r)},this.root)};Cs.prototype.getNamespace=function(t){var n=this.root;return t.reduce(function(r,s){return n=n.getChild(s),r+(n.namespaced?s+"/":"")},"")};Cs.prototype.update=function(t){xg([],this.root,t)};Cs.prototype.register=function(t,n,r){var s=this;r===void 0&&(r=!0);var o=new qn(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&&co(n.modules,function(a,l){s.register(t.concat(l),a,r)})};Cs.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)};Cs.prototype.isRegistered=function(t){var n=this.get(t.slice(0,-1)),r=t[t.length-1];return n?n.hasChild(r):!1};function xg(e,t,n){if(t.update(n),n.modules)for(var r in n.modules){if(!t.getChild(r))return;xg(e.concat(r),t.getChild(r),n.modules[r])}}function Vw(e){return new ln(e)}var ln=function(t){var n=this;t===void 0&&(t={});var r=t.plugins;r===void 0&&(r=[]);var s=t.strict;s===void 0&&(s=!1);var o=t.devtools;this._committing=!1,this._actions=Object.create(null),this._actionSubscribers=[],this._mutations=Object.create(null),this._wrappedGetters=Object.create(null),this._modules=new Cs(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(m,p){return l.call(i,m,p)},this.commit=function(m,p,h){return c.call(i,m,p,h)},this.strict=s;var d=this._modules.root.state;jl(this,d,[],this._modules.root),Rd(this,d),r.forEach(function(f){return f(n)})},Md={state:{configurable:!0}};ln.prototype.install=function(t,n){t.provide(n||ww,this),t.config.globalProperties.$store=this;var r=this._devtools!==void 0?this._devtools:!1;r&&Iw(t,this)};Md.state.get=function(){return this._state.data};Md.state.set=function(e){};ln.prototype.commit=function(t,n,r){var s=this,o=ul(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(f){f(a)})}),this._subscribers.slice().forEach(function(d){return d(l,s.state)}))};ln.prototype.dispatch=function(t,n){var r=this,s=ul(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,f){c.then(function(m){try{r._actionSubscribers.filter(function(p){return p.after}).forEach(function(p){return p.after(a,r.state)})}catch{}d(m)},function(m){try{r._actionSubscribers.filter(function(p){return p.error}).forEach(function(p){return p.error(a,r.state,m)})}catch{}f(m)})})}};ln.prototype.subscribe=function(t,n){return gg(t,this._subscribers,n)};ln.prototype.subscribeAction=function(t,n){var r=typeof t=="function"?{before:t}:t;return gg(r,this._actionSubscribers,n)};ln.prototype.watch=function(t,n,r){var s=this;return Xt(function(){return t(s.state,s.getters)},n,Object.assign({},r))};ln.prototype.replaceState=function(t){var n=this;this._withCommit(function(){n._state.data=t})};ln.prototype.registerModule=function(t,n,r){r===void 0&&(r={}),typeof t=="string"&&(t=[t]),this._modules.register(t,n),jl(this,this.state,t,this._modules.get(t),r.preserveState),Rd(this,this.state)};ln.prototype.unregisterModule=function(t){var n=this;typeof t=="string"&&(t=[t]),this._modules.unregister(t),this._withCommit(function(){var r=Ld(n.state,t.slice(0,-1));delete r[t[t.length-1]]}),yg(this)};ln.prototype.hasModule=function(t){return typeof t=="string"&&(t=[t]),this._modules.isRegistered(t)};ln.prototype.hotUpdate=function(t){this._modules.update(t),yg(this,!0)};ln.prototype._withCommit=function(t){var n=this._committing;this._committing=!0,t(),this._committing=n};Object.defineProperties(ln.prototype,Md);const Eg="UPDATE_CONFIG",Sg="UPDATE_SETTINGS",Ul="UPDATE_SETTINGS_OPTION",$g="UPDATE_LIBRARY_STATS",Ag="UPDATE_LIBRARY_AUDIOBOOKS_COUNT",Tg="UPDATE_LIBRARY_PODCASTS_COUNT",Og="UPDATE_LIBRARY_RSS_COUNT",Dg="UPDATE_OUTPUTS",Nd="UPDATE_PLAYER_STATUS",Pg="UPDATE_QUEUE",Ig="UPDATE_LASTFM",Fg="UPDATE_SPOTIFY",Rg="UPDATE_PAIRING",Vd="SPOTIFY_NEW_RELEASES",Bd="SPOTIFY_FEATURED_PLAYLISTS",Vf="ADD_NOTIFICATION",xc="DELETE_NOTIFICATION",Ec="SEARCH_PATH",Hd="ADD_RECENT_SEARCH",Lg="COMPOSER_TRACKS_SORT",Mg="GENRE_TRACKS_SORT",ql="HIDE_SINGLES",jd="HIDE_SPOTIFY",Ng="ARTISTS_SORT",Vg="ARTIST_ALBUMS_SORT",Bg="ARTIST_TRACKS_SORT",Hg="ALBUMS_SORT",jg="SHOW_ONLY_NEXT_ITEMS",Xs="SHOW_BURGER_MENU",Qs="SHOW_PLAYER_MENU",Ti="SHOW_UPDATE_DIALOG",Ud="UPDATE_DIALOG_SCAN_KIND",Ke=Vw({state(){return{config:{websocket_port:0,version:"",buildoptions:[]},settings:{categories:[]},library:{artists:0,albums:0,songs:0,db_playtime:0,updating:!1},audiobooks_count:{},podcasts_count:{},rss_count:{},outputs:[],player:{state:"stop",repeat:"off",consume:!1,shuffle:!1,volume:0,item_id:0,item_length_ms:0,item_progress_ms:0},queue:{version:0,count:0,items:[]},lastfm:{},spotify:{},pairing:{},spotify_new_releases:[],spotify_featured_playlists:[],notifications:{next_id:1,list:[]},search_path:"/search/library",recent_searches:[],composer_tracks_sort:1,genre_tracks_sort:1,hide_singles:!1,hide_spotify:!1,artists_sort:1,artist_albums_sort:1,artist_tracks_sort:1,albums_sort:1,show_only_next_items:!1,show_burger_menu:!1,show_player_menu:!1,show_update_dialog:!1,update_dialog_scan_kind:""}},getters:{now_playing:e=>{const t=e.queue.items.find(function(n){return n.id===e.player.item_id});return t===void 0?{}:t},settings_webinterface:e=>e.settings?e.settings.categories.find(t=>t.name==="webinterface"):null,settings_option_recently_added_limit:(e,t)=>{if(t.settings_webinterface){const n=t.settings_webinterface.options.find(r=>r.name==="recently_added_limit");if(n)return n.value}return 100},settings_option_show_composer_now_playing:(e,t)=>{if(t.settings_webinterface){const n=t.settings_webinterface.options.find(r=>r.name==="show_composer_now_playing");if(n)return n.value}return!1},settings_option_show_composer_for_genre:(e,t)=>{if(t.settings_webinterface){const n=t.settings_webinterface.options.find(r=>r.name==="show_composer_for_genre");if(n)return n.value}return null},settings_option_show_filepath_now_playing:(e,t)=>{if(t.settings_webinterface){const n=t.settings_webinterface.options.find(r=>r.name==="show_filepath_now_playing");if(n)return n.value}return!1},settings_category:e=>t=>e.settings.categories.find(n=>n.name===t),settings_option:e=>(t,n)=>{const r=e.settings.categories.find(s=>s.name===t);return r?r.options.find(s=>s.name===n):{}}},mutations:{[Eg](e,t){e.config=t},[Sg](e,t){e.settings=t},[Ul](e,t){const r=e.settings.categories.find(s=>s.name===t.category).options.find(s=>s.name===t.name);r.value=t.value},[$g](e,t){e.library=t},[Ag](e,t){e.audiobooks_count=t},[Tg](e,t){e.podcasts_count=t},[Og](e,t){e.rss_count=t},[Dg](e,t){e.outputs=t},[Nd](e,t){e.player=t},[Pg](e,t){e.queue=t},[Ig](e,t){e.lastfm=t},[Fg](e,t){e.spotify=t},[Rg](e,t){e.pairing=t},[Vd](e,t){e.spotify_new_releases=t},[Bd](e,t){e.spotify_featured_playlists=t},[Vf](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)},[xc](e,t){const n=e.notifications.list.indexOf(t);n!==-1&&e.notifications.list.splice(n,1)},[Ec](e,t){e.search_path=t},[Hd](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()},[Lg](e,t){e.composer_tracks_sort=t},[Mg](e,t){e.genre_tracks_sort=t},[ql](e,t){e.hide_singles=t},[jd](e,t){e.hide_spotify=t},[Ng](e,t){e.artists_sort=t},[Vg](e,t){e.artist_albums_sort=t},[Bg](e,t){e.artist_tracks_sort=t},[Hg](e,t){e.albums_sort=t},[jg](e,t){e.show_only_next_items=t},[Xs](e,t){e.show_burger_menu=t},[Qs](e,t){e.show_player_menu=t},[Ti](e,t){e.show_update_dialog=t},[Ud](e,t){e.update_dialog_scan_kind=t}},actions:{add_notification({commit:e,state:t},n){const r={id:t.notifications.next_id++,type:n.type,text:n.text,topic:n.topic,timeout:n.timeout};e(Vf,r),n.timeout>0&&setTimeout(()=>{e(xc,r)},n.timeout)}}});/*!
* vue-router v4.2.2
* (c) 2023 Eduardo San Martin Morote
* @license MIT
*/const Is=typeof window<"u";function Bw(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const ct=Object.assign;function bu(e,t){const n={};for(const r in t){const s=t[r];n[r]=jn(s)?s.map(e):e(s)}return n}const Yo=()=>{},jn=Array.isArray,Hw=/\/$/,jw=e=>e.replace(Hw,"");function Cu(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=Gw(r??t,n),{fullPath:r+(o&&"?")+o+i,path:r,query:s,hash:i}}function Uw(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function Bf(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function qw(e,t,n){const r=t.matched.length-1,s=n.matched.length-1;return r>-1&&r===s&&eo(t.matched[r],n.matched[s])&&Ug(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function eo(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function Ug(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!Ww(e[n],t[n]))return!1;return!0}function Ww(e,t){return jn(e)?Hf(e,t):jn(t)?Hf(t,e):e===t}function Hf(e,t){return jn(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function Gw(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 Jo;(function(e){e.back="back",e.forward="forward",e.unknown=""})(Jo||(Jo={}));function Kw(e){if(!e)if(Is){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),jw(e)}const Zw=/^[^#]+#/;function Yw(e,t){return e.replace(Zw,"#")+t}function Jw(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 Wl=()=>({left:window.pageXOffset,top:window.pageYOffset});function Xw(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=Jw(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 jf(e,t){return(history.state?history.state.position-t:-1)+e}const Sc=new Map;function Qw(e,t){Sc.set(e,t)}function ek(e){const t=Sc.get(e);return Sc.delete(e),t}let tk=()=>location.protocol+"//"+location.host;function qg(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),Bf(l,"")}return Bf(n,e)+r+s}function nk(e,t,n,r){let s=[],o=[],i=null;const a=({state:m})=>{const p=qg(e,location),h=n.value,_=t.value;let C=0;if(m){if(n.value=p,t.value=m,i&&i===h){i=null;return}C=_?m.position-_.position:0}else r(p);s.forEach(b=>{b(n.value,h,{delta:C,type:yi.pop,direction:C?C>0?Jo.forward:Jo.back:Jo.unknown})})};function l(){i=n.value}function c(m){s.push(m);const p=()=>{const h=s.indexOf(m);h>-1&&s.splice(h,1)};return o.push(p),p}function d(){const{history:m}=window;m.state&&m.replaceState(ct({},m.state,{scroll:Wl()}),"")}function f(){for(const m of o)m();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:f}}function Uf(e,t,n,r=!1,s=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:s?Wl():null}}function rk(e){const{history:t,location:n}=window,r={value:qg(e,n)},s={value:t.state};s.value||o(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function o(l,c,d){const f=e.indexOf("#"),m=f>-1?(n.host&&document.querySelector("base")?e:e.slice(f))+l:tk()+e+l;try{t[d?"replaceState":"pushState"](c,"",m),s.value=c}catch(p){console.error(p),n[d?"replace":"assign"](m)}}function i(l,c){const d=ct({},t.state,Uf(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=ct({},s.value,t.state,{forward:l,scroll:Wl()});o(d.current,d,!0);const f=ct({},Uf(r.value,l,null),{position:d.position+1},c);o(l,f,!1),r.value=l}return{location:r,state:s,push:a,replace:i}}function sk(e){e=Kw(e);const t=rk(e),n=nk(e,t.state,t.location,t.replace);function r(o,i=!0){i||n.pauseListeners(),history.go(o)}const s=ct({location:"",base:e,go:r,createHref:Yw.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 ok(e){return e=location.host?e||location.pathname+location.search:"",e.includes("#")||(e+="#"),sk(e)}function ik(e){return typeof e=="string"||e&&typeof e=="object"}function Wg(e){return typeof e=="string"||typeof e=="symbol"}const $r={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},Gg=Symbol("");var qf;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(qf||(qf={}));function to(e,t){return ct(new Error,{type:e,[Gg]:!0},t)}function fr(e,t){return e instanceof Error&&Gg in e&&(t==null||!!(e.type&t))}const Wf="[^/]+?",ak={sensitive:!1,strict:!1,start:!0,end:!0},lk=/[.+*?^${}()[\]/\\]/g;function uk(e,t){const n=ct({},ak,t),r=[];let s=n.start?"^":"";const o=[];for(const c of e){const d=c.length?[]:[90];n.strict&&!c.length&&(s+="/");for(let f=0;f<c.length;f++){const m=c[f];let p=40+(n.sensitive?.25:0);if(m.type===0)f||(s+="/"),s+=m.value.replace(lk,"\\$&"),p+=40;else if(m.type===1){const{value:h,repeatable:_,optional:C,regexp:b}=m;o.push({name:h,repeatable:_,optional:C});const y=b||Wf;if(y!==Wf){p+=10;try{new RegExp(`(${y})`)}catch(z){throw new Error(`Invalid custom RegExp for param "${h}" (${y}): `+z.message)}}let k=_?`((?:${y})(?:/(?:${y}))*)`:`(${y})`;f||(k=C&&c.length<2?`(?:/${k})`:"/"+k),C&&(k+="?"),s+=k,p+=20,C&&(p+=-8),_&&(p+=-20),y===".*"&&(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),f={};if(!d)return null;for(let m=1;m<d.length;m++){const p=d[m]||"",h=o[m-1];f[h.name]=p&&h.repeatable?p.split("/"):p}return f}function l(c){let d="",f=!1;for(const m of e){(!f||!d.endsWith("/"))&&(d+="/"),f=!1;for(const p of m)if(p.type===0)d+=p.value;else if(p.type===1){const{value:h,repeatable:_,optional:C}=p,b=h in c?c[h]:"";if(jn(b)&&!_)throw new Error(`Provided param "${h}" is an array but it is not repeatable (* or + modifiers)`);const y=jn(b)?b.join("/"):b;if(!y)if(C)m.length<2&&(d.endsWith("/")?d=d.slice(0,-1):f=!0);else throw new Error(`Missing required param "${h}"`);d+=y}}return d||"/"}return{re:i,score:r,keys:o,parse:a,stringify:l}}function ck(e,t){let n=0;for(;n<e.length&&n<t.length;){const r=t[n]-e[n];if(r)return r;n++}return e.length<t.length?e.length===1&&e[0]===40+40?-1:1:e.length>t.length?t.length===1&&t[0]===40+40?1:-1:0}function dk(e,t){let n=0;const r=e.score,s=t.score;for(;n<r.length&&n<s.length;){const o=ck(r[n],s[n]);if(o)return o;n++}if(Math.abs(s.length-r.length)===1){if(Gf(r))return 1;if(Gf(s))return-1}return s.length-r.length}function Gf(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const mk={type:0,value:""},fk=/[a-zA-Z0-9_]/;function pk(e){if(!e)return[[]];if(e==="/")return[[mk]];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 f(){c&&(n===0?o.push({type:0,value:c}):n===1||n===2||n===3?(o.length>1&&(l==="*"||l==="+")&&t(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),o.push({type:1,value:c,regexp:d,repeatable:l==="*"||l==="+",optional:l==="*"||l==="?"})):t("Invalid state to consume buffer"),c="")}function m(){c+=l}for(;a<e.length;){if(l=e[a++],l==="\\"&&n!==2){r=n,n=4;continue}switch(n){case 0:l==="/"?(c&&f(),i()):l===":"?(f(),n=1):m();break;case 4:m(),n=r;break;case 1:l==="("?n=2:fk.test(l)?m():(f(),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:f(),n=0,l!=="*"&&l!=="?"&&l!=="+"&&a--,d="";break;default:t("Unknown state");break}}return n===2&&t(`Unfinished custom RegExp for param "${c}"`),f(),i(),s}function hk(e,t,n){const r=uk(pk(e.path),n),s=ct(r,{record:e,parent:t,children:[],alias:[]});return t&&!s.record.aliasOf==!t.record.aliasOf&&t.children.push(s),s}function _k(e,t){const n=[],r=new Map;t=Yf({strict:!1,end:!0,sensitive:!1},t);function s(d){return r.get(d)}function o(d,f,m){const p=!m,h=gk(d);h.aliasOf=m&&m.record;const _=Yf(t,d),C=[h];if("alias"in d){const k=typeof d.alias=="string"?[d.alias]:d.alias;for(const z of k)C.push(ct({},h,{components:m?m.record.components:h.components,path:z,aliasOf:m?m.record:h}))}let b,y;for(const k of C){const{path:z}=k;if(f&&z[0]!=="/"){const x=f.record.path,T=x[x.length-1]==="/"?"":"/";k.path=f.record.path+(z&&T+z)}if(b=hk(k,f,_),m?m.alias.push(b):(y=y||b,y!==b&&y.alias.push(b),p&&d.name&&!Zf(b)&&i(d.name)),h.children){const x=h.children;for(let T=0;T<x.length;T++)o(x[T],b,m&&m.children[T])}m=m||b,(b.record.components&&Object.keys(b.record.components).length||b.record.name||b.record.redirect)&&l(b)}return y?()=>{i(y)}:Yo}function i(d){if(Wg(d)){const f=r.get(d);f&&(r.delete(d),n.splice(n.indexOf(f),1),f.children.forEach(i),f.alias.forEach(i))}else{const f=n.indexOf(d);f>-1&&(n.splice(f,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 f=0;for(;f<n.length&&dk(d,n[f])>=0&&(d.record.path!==n[f].record.path||!Kg(d,n[f]));)f++;n.splice(f,0,d),d.record.name&&!Zf(d)&&r.set(d.record.name,d)}function c(d,f){let m,p={},h,_;if("name"in d&&d.name){if(m=r.get(d.name),!m)throw to(1,{location:d});_=m.record.name,p=ct(Kf(f.params,m.keys.filter(y=>!y.optional).map(y=>y.name)),d.params&&Kf(d.params,m.keys.map(y=>y.name))),h=m.stringify(p)}else if("path"in d)h=d.path,m=n.find(y=>y.re.test(h)),m&&(p=m.parse(h),_=m.record.name);else{if(m=f.name?r.get(f.name):n.find(y=>y.re.test(f.path)),!m)throw to(1,{location:d,currentLocation:f});_=m.record.name,p=ct({},f.params,d.params),h=m.stringify(p)}const C=[];let b=m;for(;b;)C.unshift(b.record),b=b.parent;return{name:_,path:h,params:p,matched:C,meta:vk(C)}}return e.forEach(d=>o(d)),{addRoute:o,resolve:c,removeRoute:i,getRoutes:a,getRecordMatcher:s}}function Kf(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function gk(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:yk(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 yk(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=="boolean"?n:n[r];return t}function Zf(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function vk(e){return e.reduce((t,n)=>ct(t,n.meta),{})}function Yf(e,t){const n={};for(const r in e)n[r]=r in t?t[r]:e[r];return n}function Kg(e,t){return t.children.some(n=>n===e||Kg(e,n))}const Zg=/#/g,bk=/&/g,Ck=/\//g,zk=/=/g,wk=/\?/g,Yg=/\+/g,kk=/%5B/g,xk=/%5D/g,Jg=/%5E/g,Ek=/%60/g,Xg=/%7B/g,Sk=/%7C/g,Qg=/%7D/g,$k=/%20/g;function qd(e){return encodeURI(""+e).replace(Sk,"|").replace(kk,"[").replace(xk,"]")}function Ak(e){return qd(e).replace(Xg,"{").replace(Qg,"}").replace(Jg,"^")}function $c(e){return qd(e).replace(Yg,"%2B").replace($k,"+").replace(Zg,"%23").replace(bk,"%26").replace(Ek,"`").replace(Xg,"{").replace(Qg,"}").replace(Jg,"^")}function Tk(e){return $c(e).replace(zk,"%3D")}function Ok(e){return qd(e).replace(Zg,"%23").replace(wk,"%3F")}function Dk(e){return e==null?"":Ok(e).replace(Ck,"%2F")}function cl(e){try{return decodeURIComponent(""+e)}catch{}return""+e}function Pk(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(Yg," "),i=o.indexOf("="),a=cl(i<0?o:o.slice(0,i)),l=i<0?null:cl(o.slice(i+1));if(a in t){let c=t[a];jn(c)||(c=t[a]=[c]),c.push(l)}else t[a]=l}return t}function Jf(e){let t="";for(let n in e){const r=e[n];if(n=Tk(n),r==null){r!==void 0&&(t+=(t.length?"&":"")+n);continue}(jn(r)?r.map(o=>o&&$c(o)):[r&&$c(r)]).forEach(o=>{o!==void 0&&(t+=(t.length?"&":"")+n,o!=null&&(t+="="+o))})}return t}function Ik(e){const t={};for(const n in e){const r=e[n];r!==void 0&&(t[n]=jn(r)?r.map(s=>s==null?null:""+s):r==null?r:""+r)}return t}const Fk=Symbol(""),Xf=Symbol(""),Wd=Symbol(""),ey=Symbol(""),Ac=Symbol("");function zo(){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,reset:n}}function Rr(e,t,n,r,s){const o=r&&(r.enterCallbacks[s]=r.enterCallbacks[s]||[]);return()=>new Promise((i,a)=>{const l=f=>{f===!1?a(to(4,{from:n,to:t})):f instanceof Error?a(f):ik(f)?a(to(2,{from:t,to:f})):(o&&r.enterCallbacks[s]===o&&typeof f=="function"&&o.push(f),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(f=>a(f))})}function zu(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(Rk(a)){const c=(a.__vccOpts||a)[t];c&&s.push(Rr(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=Bw(c)?c.default:c;o.components[i]=d;const m=(d.__vccOpts||d)[t];return m&&Rr(m,n,r,o,i)()}))}}return s}function Rk(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function Qf(e){const t=Bn(Wd),n=Bn(ey),r=Ft(()=>t.resolve(hn(e.to))),s=Ft(()=>{const{matched:l}=r.value,{length:c}=l,d=l[c-1],f=n.matched;if(!d||!f.length)return-1;const m=f.findIndex(eo.bind(null,d));if(m>-1)return m;const p=ep(l[c-2]);return c>1&&ep(d)===p&&f[f.length-1].path!==p?f.findIndex(eo.bind(null,l[c-2])):m}),o=Ft(()=>s.value>-1&&Vk(n.params,r.value.params)),i=Ft(()=>s.value>-1&&s.value===n.matched.length-1&&Ug(n.params,r.value.params));function a(l={}){return Nk(l)?t[hn(e.replace)?"replace":"push"](hn(e.to)).catch(Yo):Promise.resolve()}return{route:r,href:Ft(()=>r.value.href),isActive:o,isExactActive:i,navigate:a}}const Lk=lo({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:Qf,setup(e,{slots:t}){const n=vs(Qf(e)),{options:r}=Bn(Wd),s=Ft(()=>({[tp(e.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[tp(e.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const o=t.default&&t.default(n);return e.custom?o:er("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:s.value},o)}}}),Mk=Lk;function Nk(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 Vk(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(!jn(s)||s.length!==r.length||r.some((o,i)=>o!==s[i]))return!1}return!0}function ep(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const tp=(e,t,n)=>e??t??n,Bk=lo({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const r=Bn(Ac),s=Ft(()=>e.route||r.value),o=Bn(Xf,0),i=Ft(()=>{let c=hn(o);const{matched:d}=s.value;let f;for(;(f=d[c])&&!f.components;)c++;return c}),a=Ft(()=>s.value.matched[i.value]);qo(Xf,Ft(()=>i.value+1)),qo(Fk,a),qo(Ac,s);const l=Kt();return Xt(()=>[l.value,a.value,e.name],([c,d,f],[m,p,h])=>{d&&(d.instances[f]=c,p&&p!==d&&c&&c===m&&(d.leaveGuards.size||(d.leaveGuards=p.leaveGuards),d.updateGuards.size||(d.updateGuards=p.updateGuards))),c&&d&&(!p||!eo(d,p)||!m)&&(d.enterCallbacks[f]||[]).forEach(_=>_(c))},{flush:"post"}),()=>{const c=s.value,d=e.name,f=a.value,m=f&&f.components[d];if(!m)return np(n.default,{Component:m,route:c});const p=f.props[d],h=p?p===!0?c.params:typeof p=="function"?p(c):p:null,C=er(m,ct({},h,t,{onVnodeUnmounted:b=>{b.component.isUnmounted&&(f.instances[d]=null)},ref:l}));return np(n.default,{Component:C,route:c})||C}}});function np(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const Hk=Bk;function jk(e){const t=_k(e.routes,e),n=e.parseQuery||Pk,r=e.stringifyQuery||Jf,s=e.history,o=zo(),i=zo(),a=zo(),l=Ph($r);let c=$r;Is&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const d=bu.bind(null,V=>""+V),f=bu.bind(null,Dk),m=bu.bind(null,cl);function p(V,le){let ne,pe;return Wg(V)?(ne=t.getRecordMatcher(V),pe=le):pe=V,t.addRoute(pe,ne)}function h(V){const le=t.getRecordMatcher(V);le&&t.removeRoute(le)}function _(){return t.getRoutes().map(V=>V.record)}function C(V){return!!t.getRecordMatcher(V)}function b(V,le){if(le=ct({},le||l.value),typeof V=="string"){const P=Cu(n,V,le.path),K=t.resolve({path:P.path},le),J=s.createHref(P.fullPath);return ct(P,K,{params:m(K.params),hash:cl(P.hash),redirectedFrom:void 0,href:J})}let ne;if("path"in V)ne=ct({},V,{path:Cu(n,V.path,le.path).path});else{const P=ct({},V.params);for(const K in P)P[K]==null&&delete P[K];ne=ct({},V,{params:f(P)}),le.params=f(le.params)}const pe=t.resolve(ne,le),De=V.hash||"";pe.params=d(m(pe.params));const A=Uw(r,ct({},V,{hash:Ak(De),path:pe.path})),O=s.createHref(A);return ct({fullPath:A,hash:De,query:r===Jf?Ik(V.query):V.query||{}},pe,{redirectedFrom:void 0,href:O})}function y(V){return typeof V=="string"?Cu(n,V,l.value.path):ct({},V)}function k(V,le){if(c!==V)return to(8,{from:le,to:V})}function z(V){return L(V)}function x(V){return z(ct(y(V),{replace:!0}))}function T(V){const le=V.matched[V.matched.length-1];if(le&&le.redirect){const{redirect:ne}=le;let pe=typeof ne=="function"?ne(V):ne;return typeof pe=="string"&&(pe=pe.includes("?")||pe.includes("#")?pe=y(pe):{path:pe},pe.params={}),ct({query:V.query,hash:V.hash,params:"path"in pe?{}:V.params},pe)}}function L(V,le){const ne=c=b(V),pe=l.value,De=V.state,A=V.force,O=V.replace===!0,P=T(ne);if(P)return L(ct(y(P),{state:typeof P=="object"?ct({},De,P.state):De,force:A,replace:O}),le||ne);const K=ne;K.redirectedFrom=le;let J;return!A&&qw(r,pe,ne)&&(J=to(16,{to:K,from:pe}),ce(pe,pe,!0,!1)),(J?Promise.resolve(J):U(K,pe)).catch(ee=>fr(ee)?fr(ee,2)?ee:it(ee):ye(ee,K,pe)).then(ee=>{if(ee){if(fr(ee,2))return L(ct({replace:O},y(ee.to),{state:typeof ee.to=="object"?ct({},De,ee.to.state):De,force:A}),le||K)}else ee=X(K,pe,!0,O,De);return Z(K,pe,ee),ee})}function I(V,le){const ne=k(V,le);return ne?Promise.reject(ne):Promise.resolve()}function D(V){const le=Ae.values().next().value;return le&&typeof le.runWithContext=="function"?le.runWithContext(V):V()}function U(V,le){let ne;const[pe,De,A]=Uk(V,le);ne=zu(pe.reverse(),"beforeRouteLeave",V,le);for(const P of pe)P.leaveGuards.forEach(K=>{ne.push(Rr(K,V,le))});const O=I.bind(null,V,le);return ne.push(O),Ee(ne).then(()=>{ne=[];for(const P of o.list())ne.push(Rr(P,V,le));return ne.push(O),Ee(ne)}).then(()=>{ne=zu(De,"beforeRouteUpdate",V,le);for(const P of De)P.updateGuards.forEach(K=>{ne.push(Rr(K,V,le))});return ne.push(O),Ee(ne)}).then(()=>{ne=[];for(const P of V.matched)if(P.beforeEnter&&!le.matched.includes(P))if(jn(P.beforeEnter))for(const K of P.beforeEnter)ne.push(Rr(K,V,le));else ne.push(Rr(P.beforeEnter,V,le));return ne.push(O),Ee(ne)}).then(()=>(V.matched.forEach(P=>P.enterCallbacks={}),ne=zu(A,"beforeRouteEnter",V,le),ne.push(O),Ee(ne))).then(()=>{ne=[];for(const P of i.list())ne.push(Rr(P,V,le));return ne.push(O),Ee(ne)}).catch(P=>fr(P,8)?P:Promise.reject(P))}function Z(V,le,ne){for(const pe of a.list())D(()=>pe(V,le,ne))}function X(V,le,ne,pe,De){const A=k(V,le);if(A)return A;const O=le===$r,P=Is?history.state:{};ne&&(pe||O?s.replace(V.fullPath,ct({scroll:O&&P&&P.scroll},De)):s.push(V.fullPath,De)),l.value=V,ce(V,le,ne,O),it()}let j;function q(){j||(j=s.listen((V,le,ne)=>{if(!Le.listening)return;const pe=b(V),De=T(pe);if(De){L(ct(De,{replace:!0}),pe).catch(Yo);return}c=pe;const A=l.value;Is&&Qw(jf(A.fullPath,ne.delta),Wl()),U(pe,A).catch(O=>fr(O,12)?O:fr(O,2)?(L(O.to,pe).then(P=>{fr(P,20)&&!ne.delta&&ne.type===yi.pop&&s.go(-1,!1)}).catch(Yo),Promise.reject()):(ne.delta&&s.go(-ne.delta,!1),ye(O,pe,A))).then(O=>{O=O||X(pe,A,!1),O&&(ne.delta&&!fr(O,8)?s.go(-ne.delta,!1):ne.type===yi.pop&&fr(O,20)&&s.go(-1,!1)),Z(pe,A,O)}).catch(Yo)}))}let Ce=zo(),te=zo(),ie;function ye(V,le,ne){it(V);const pe=te.list();return pe.length?pe.forEach(De=>De(V,le,ne)):console.error(V),Promise.reject(V)}function je(){return ie&&l.value!==$r?Promise.resolve():new Promise((V,le)=>{Ce.add([V,le])})}function it(V){return ie||(ie=!V,q(),Ce.list().forEach(([le,ne])=>V?ne(V):le()),Ce.reset()),V}function ce(V,le,ne,pe){const{scrollBehavior:De}=e;if(!Is||!De)return Promise.resolve();const A=!ne&&ek(jf(V.fullPath,0))||(pe||!ne)&&history.state&&history.state.scroll||null;return ki().then(()=>De(V,le,A)).then(O=>O&&Xw(O)).catch(O=>ye(O,V,le))}const W=V=>s.go(V);let fe;const Ae=new Set,Le={currentRoute:l,listening:!0,addRoute:p,removeRoute:h,hasRoute:C,getRoutes:_,resolve:b,options:e,push:z,replace:x,go:W,back:()=>W(-1),forward:()=>W(1),beforeEach:o.add,beforeResolve:i.add,afterEach:a.add,onError:te.add,isReady:je,install(V){const le=this;V.component("RouterLink",Mk),V.component("RouterView",Hk),V.config.globalProperties.$router=le,Object.defineProperty(V.config.globalProperties,"$route",{enumerable:!0,get:()=>hn(l)}),Is&&!fe&&l.value===$r&&(fe=!0,z(s.location).catch(De=>{}));const ne={};for(const De in $r)ne[De]=Ft(()=>l.value[De]);V.provide(Wd,le),V.provide(ey,vs(ne)),V.provide(Ac,l);const pe=V.unmount;Ae.add(V),V.unmount=function(){Ae.delete(V),Ae.size<1&&(c=$r,j&&j(),j=null,l.value=$r,fe=!1,ie=!1),pe()}}};function Ee(V){return V.reduce((le,ne)=>le.then(()=>D(ne)),Promise.resolve())}return Le}function Uk(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=>eo(c,a))?r.push(a):n.push(a));const l=e.matched[i];l&&(t.matched.find(c=>eo(c,l))||s.push(l))}return[n,r,s]}const se=(e,t)=>{const n=e.__vccOpts||e;for(const[r,s]of t)n[r]=s;return n},qk={name:"ContentWithHeading",data(){return{options_visible:!1}},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})},scroll_to_top(){window.scrollTo({top:0,behavior:"smooth"})},scroll_to_content(){this.$route.meta.has_tabs?this.$scrollTo("#top",{offset:-140}):this.$scrollTo("#top",{offset:-110})},visibilityChanged(e){this.options_visible=e}}},Wk={class:"section"},Gk={class:"container"},Kk={class:"columns is-centered"},Zk={class:"column is-four-fifths"},Yk={key:0},Jk={ref:"options_ref",style:{height:"1px"}},Xk={class:"buttons is-centered mt-4 mb-2"},Qk={id:"top",class:"level"},ex={class:"level-left"},tx={class:"level-item has-text-centered-mobile"},nx={class:"level-right has-text-centered-mobile"},rx={class:"mt-4"};function sx(e,t,n,r,s,o){const i=S("mdicon");return w(),$("section",Wk,[u("div",Gk,[u("div",Kk,[u("div",Zk,[e.$slots.options?(w(),$("section",Yk,[u("div",Jk,null,512),lt(e.$slots,"options"),u("nav",Xk,[s.options_visible?(w(),$("a",{key:1,class:"button is-small is-white",onClick:t[1]||(t[1]=(...a)=>o.scroll_to_content&&o.scroll_to_content(...a))},[v(i,{class:"icon is-small",name:"chevron-up",size:"16"})])):(w(),$("a",{key:0,class:"button is-small is-white",onClick:t[0]||(t[0]=(...a)=>o.scroll_to_top&&o.scroll_to_top(...a))},[v(i,{class:"icon is-small",name:"chevron-down",size:"16"})]))])])):H("",!0),u("div",{class:Te({"fd-content-with-option":e.$slots.options})},[u("nav",Qk,[u("div",ex,[u("div",tx,[u("div",null,[lt(e.$slots,"heading-left")])])]),u("div",nx,[lt(e.$slots,"heading-right")])]),lt(e.$slots,"content"),u("div",rx,[lt(e.$slots,"footer")])],2)])])])])}const nt=se(qk,[["render",sx]]);function ty(e,t){return function(){return e.apply(t,arguments)}}const{toString:ox}=Object.prototype,{getPrototypeOf:Gd}=Object,Gl=(e=>t=>{const n=ox.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),ur=e=>(e=e.toLowerCase(),t=>Gl(t)===e),Kl=e=>t=>typeof t===e,{isArray:mo}=Array,vi=Kl("undefined");function ix(e){return e!==null&&!vi(e)&&e.constructor!==null&&!vi(e.constructor)&&$n(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const ny=ur("ArrayBuffer");function ax(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&ny(e.buffer),t}const lx=Kl("string"),$n=Kl("function"),ry=Kl("number"),Zl=e=>e!==null&&typeof e=="object",ux=e=>e===!0||e===!1,Ua=e=>{if(Gl(e)!=="object")return!1;const t=Gd(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},cx=ur("Date"),dx=ur("File"),mx=ur("Blob"),fx=ur("FileList"),px=e=>Zl(e)&&$n(e.pipe),hx=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||$n(e.append)&&((t=Gl(e))==="formdata"||t==="object"&&$n(e.toString)&&e.toString()==="[object FormData]"))},_x=ur("URLSearchParams"),gx=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Oi(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let r,s;if(typeof e!="object"&&(e=[e]),mo(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 sy(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 oy=(()=>typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global)(),iy=e=>!vi(e)&&e!==oy;function Tc(){const{caseless:e}=iy(this)&&this||{},t={},n=(r,s)=>{const o=e&&sy(t,s)||s;Ua(t[o])&&Ua(r)?t[o]=Tc(t[o],r):Ua(r)?t[o]=Tc({},r):mo(r)?t[o]=r.slice():t[o]=r};for(let r=0,s=arguments.length;r<s;r++)arguments[r]&&Oi(arguments[r],n);return t}const yx=(e,t,n,{allOwnKeys:r}={})=>(Oi(t,(s,o)=>{n&&$n(s)?e[o]=ty(s,n):e[o]=s},{allOwnKeys:r}),e),vx=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),bx=(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)},Cx=(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&&Gd(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},zx=(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},wx=e=>{if(!e)return null;if(mo(e))return e;let t=e.length;if(!ry(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},kx=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&Gd(Uint8Array)),xx=(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])}},Ex=(e,t)=>{let n;const r=[];for(;(n=e.exec(t))!==null;)r.push(n);return r},Sx=ur("HTMLFormElement"),$x=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,r,s){return r.toUpperCase()+s}),rp=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),Ax=ur("RegExp"),ay=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};Oi(n,(s,o)=>{t(s,o,e)!==!1&&(r[o]=s)}),Object.defineProperties(e,r)},Tx=e=>{ay(e,(t,n)=>{if($n(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const r=e[n];if($n(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+"'")})}})},Ox=(e,t)=>{const n={},r=s=>{s.forEach(o=>{n[o]=!0})};return mo(e)?r(e):r(String(e).split(t)),n},Dx=()=>{},Px=(e,t)=>(e=+e,Number.isFinite(e)?e:t),wu="abcdefghijklmnopqrstuvwxyz",sp="0123456789",ly={DIGIT:sp,ALPHA:wu,ALPHA_DIGIT:wu+wu.toUpperCase()+sp},Ix=(e=16,t=ly.ALPHA_DIGIT)=>{let n="";const{length:r}=t;for(;e--;)n+=t[Math.random()*r|0];return n};function Fx(e){return!!(e&&$n(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const Rx=e=>{const t=new Array(10),n=(r,s)=>{if(Zl(r)){if(t.indexOf(r)>=0)return;if(!("toJSON"in r)){t[s]=r;const o=mo(r)?[]:{};return Oi(r,(i,a)=>{const l=n(i,s+1);!vi(l)&&(o[a]=l)}),t[s]=void 0,o}}return r};return n(e,0)},Lx=ur("AsyncFunction"),Mx=e=>e&&(Zl(e)||$n(e))&&$n(e.then)&&$n(e.catch),Q={isArray:mo,isArrayBuffer:ny,isBuffer:ix,isFormData:hx,isArrayBufferView:ax,isString:lx,isNumber:ry,isBoolean:ux,isObject:Zl,isPlainObject:Ua,isUndefined:vi,isDate:cx,isFile:dx,isBlob:mx,isRegExp:Ax,isFunction:$n,isStream:px,isURLSearchParams:_x,isTypedArray:kx,isFileList:fx,forEach:Oi,merge:Tc,extend:yx,trim:gx,stripBOM:vx,inherits:bx,toFlatObject:Cx,kindOf:Gl,kindOfTest:ur,endsWith:zx,toArray:wx,forEachEntry:xx,matchAll:Ex,isHTMLForm:Sx,hasOwnProperty:rp,hasOwnProp:rp,reduceDescriptors:ay,freezeMethods:Tx,toObjectSet:Ox,toCamelCase:$x,noop:Dx,toFiniteNumber:Px,findKey:sy,global:oy,isContextDefined:iy,ALPHABET:ly,generateString:Ix,isSpecCompliantForm:Fx,toJSONObject:Rx,isAsyncFn:Lx,isThenable:Mx};function st(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)}Q.inherits(st,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:Q.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const uy=st.prototype,cy={};["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=>{cy[e]={value:e}});Object.defineProperties(st,cy);Object.defineProperty(uy,"isAxiosError",{value:!0});st.from=(e,t,n,r,s,o)=>{const i=Object.create(uy);return Q.toFlatObject(e,i,function(l){return l!==Error.prototype},a=>a!=="isAxiosError"),st.call(i,e.message,t,n,r,s),i.cause=e,i.name=e.name,o&&Object.assign(i,o),i};const Nx=null;function Oc(e){return Q.isPlainObject(e)||Q.isArray(e)}function dy(e){return Q.endsWith(e,"[]")?e.slice(0,-2):e}function op(e,t,n){return e?e.concat(t).map(function(s,o){return s=dy(s),!n&&o?"["+s+"]":s}).join(n?".":""):t}function Vx(e){return Q.isArray(e)&&!e.some(Oc)}const Bx=Q.toFlatObject(Q,{},null,function(t){return/^is[A-Z]/.test(t)});function Yl(e,t,n){if(!Q.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=Q.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(_,C){return!Q.isUndefined(C[_])});const r=n.metaTokens,s=n.visitor||d,o=n.dots,i=n.indexes,l=(n.Blob||typeof Blob<"u"&&Blob)&&Q.isSpecCompliantForm(t);if(!Q.isFunction(s))throw new TypeError("visitor must be a function");function c(h){if(h===null)return"";if(Q.isDate(h))return h.toISOString();if(!l&&Q.isBlob(h))throw new st("Blob is not supported. Use a Buffer instead.");return Q.isArrayBuffer(h)||Q.isTypedArray(h)?l&&typeof Blob=="function"?new Blob([h]):Buffer.from(h):h}function d(h,_,C){let b=h;if(h&&!C&&typeof h=="object"){if(Q.endsWith(_,"{}"))_=r?_:_.slice(0,-2),h=JSON.stringify(h);else if(Q.isArray(h)&&Vx(h)||(Q.isFileList(h)||Q.endsWith(_,"[]"))&&(b=Q.toArray(h)))return _=dy(_),b.forEach(function(k,z){!(Q.isUndefined(k)||k===null)&&t.append(i===!0?op([_],z,o):i===null?_:_+"[]",c(k))}),!1}return Oc(h)?!0:(t.append(op(C,_,o),c(h)),!1)}const f=[],m=Object.assign(Bx,{defaultVisitor:d,convertValue:c,isVisitable:Oc});function p(h,_){if(!Q.isUndefined(h)){if(f.indexOf(h)!==-1)throw Error("Circular reference detected in "+_.join("."));f.push(h),Q.forEach(h,function(b,y){(!(Q.isUndefined(b)||b===null)&&s.call(t,b,Q.isString(y)?y.trim():y,_,m))===!0&&p(b,_?_.concat(y):[y])}),f.pop()}}if(!Q.isObject(e))throw new TypeError("data must be an object");return p(e),t}function ip(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(r){return t[r]})}function Kd(e,t){this._pairs=[],e&&Yl(e,this,t)}const my=Kd.prototype;my.append=function(t,n){this._pairs.push([t,n])};my.toString=function(t){const n=t?function(r){return t.call(this,r,ip)}:ip;return this._pairs.map(function(s){return n(s[0])+"="+n(s[1])},"").join("&")};function Hx(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function fy(e,t,n){if(!t)return e;const r=n&&n.encode||Hx,s=n&&n.serialize;let o;if(s?o=s(t,n):o=Q.isURLSearchParams(t)?t.toString():new Kd(t,n).toString(r),o){const i=e.indexOf("#");i!==-1&&(e=e.slice(0,i)),e+=(e.indexOf("?")===-1?"?":"&")+o}return e}class jx{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){Q.forEach(this.handlers,function(r){r!==null&&t(r)})}}const ap=jx,py={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},Ux=typeof URLSearchParams<"u"?URLSearchParams:Kd,qx=typeof FormData<"u"?FormData:null,Wx=typeof Blob<"u"?Blob:null,Gx=(()=>{let e;return typeof navigator<"u"&&((e=navigator.product)==="ReactNative"||e==="NativeScript"||e==="NS")?!1:typeof window<"u"&&typeof document<"u"})(),Kx=(()=>typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function")(),nr={isBrowser:!0,classes:{URLSearchParams:Ux,FormData:qx,Blob:Wx},isStandardBrowserEnv:Gx,isStandardBrowserWebWorkerEnv:Kx,protocols:["http","https","file","blob","url","data"]};function Zx(e,t){return Yl(e,new nr.classes.URLSearchParams,Object.assign({visitor:function(n,r,s,o){return nr.isNode&&Q.isBuffer(n)?(this.append(r,n.toString("base64")),!1):o.defaultVisitor.apply(this,arguments)}},t))}function Yx(e){return Q.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function Jx(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 hy(e){function t(n,r,s,o){let i=n[o++];const a=Number.isFinite(+i),l=o>=n.length;return i=!i&&Q.isArray(s)?s.length:i,l?(Q.hasOwnProp(s,i)?s[i]=[s[i],r]:s[i]=r,!a):((!s[i]||!Q.isObject(s[i]))&&(s[i]=[]),t(n,r,s[i],o)&&Q.isArray(s[i])&&(s[i]=Jx(s[i])),!a)}if(Q.isFormData(e)&&Q.isFunction(e.entries)){const n={};return Q.forEachEntry(e,(r,s)=>{t(Yx(r),s,n,0)}),n}return null}const Xx={"Content-Type":void 0};function Qx(e,t,n){if(Q.isString(e))try{return(t||JSON.parse)(e),Q.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(n||JSON.stringify)(e)}const Jl={transitional:py,adapter:["xhr","http"],transformRequest:[function(t,n){const r=n.getContentType()||"",s=r.indexOf("application/json")>-1,o=Q.isObject(t);if(o&&Q.isHTMLForm(t)&&(t=new FormData(t)),Q.isFormData(t))return s&&s?JSON.stringify(hy(t)):t;if(Q.isArrayBuffer(t)||Q.isBuffer(t)||Q.isStream(t)||Q.isFile(t)||Q.isBlob(t))return t;if(Q.isArrayBufferView(t))return t.buffer;if(Q.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 Zx(t,this.formSerializer).toString();if((a=Q.isFileList(t))||r.indexOf("multipart/form-data")>-1){const l=this.env&&this.env.FormData;return Yl(a?{"files[]":t}:t,l&&new l,this.formSerializer)}}return o||s?(n.setContentType("application/json",!1),Qx(t)):t}],transformResponse:[function(t){const n=this.transitional||Jl.transitional,r=n&&n.forcedJSONParsing,s=this.responseType==="json";if(t&&Q.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"?st.from(a,st.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, */*"}}};Q.forEach(["delete","get","head"],function(t){Jl.headers[t]={}});Q.forEach(["post","put","patch"],function(t){Jl.headers[t]=Q.merge(Xx)});const Zd=Jl,e2=Q.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"]),t2=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]&&e2[n])&&(n==="set-cookie"?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t},lp=Symbol("internals");function wo(e){return e&&String(e).trim().toLowerCase()}function qa(e){return e===!1||e==null?e:Q.isArray(e)?e.map(qa):String(e)}function n2(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 r2=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function ku(e,t,n,r,s){if(Q.isFunction(r))return r.call(this,t,n);if(s&&(t=n),!!Q.isString(t)){if(Q.isString(r))return t.indexOf(r)!==-1;if(Q.isRegExp(r))return r.test(t)}}function s2(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,r)=>n.toUpperCase()+r)}function o2(e,t){const n=Q.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 Xl{constructor(t){t&&this.set(t)}set(t,n,r){const s=this;function o(a,l,c){const d=wo(l);if(!d)throw new Error("header name must be a non-empty string");const f=Q.findKey(s,d);(!f||s[f]===void 0||c===!0||c===void 0&&s[f]!==!1)&&(s[f||l]=qa(a))}const i=(a,l)=>Q.forEach(a,(c,d)=>o(c,d,l));return Q.isPlainObject(t)||t instanceof this.constructor?i(t,n):Q.isString(t)&&(t=t.trim())&&!r2(t)?i(t2(t),n):t!=null&&o(n,t,r),this}get(t,n){if(t=wo(t),t){const r=Q.findKey(this,t);if(r){const s=this[r];if(!n)return s;if(n===!0)return n2(s);if(Q.isFunction(n))return n.call(this,s,r);if(Q.isRegExp(n))return n.exec(s);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=wo(t),t){const r=Q.findKey(this,t);return!!(r&&this[r]!==void 0&&(!n||ku(this,this[r],r,n)))}return!1}delete(t,n){const r=this;let s=!1;function o(i){if(i=wo(i),i){const a=Q.findKey(r,i);a&&(!n||ku(r,r[a],a,n))&&(delete r[a],s=!0)}}return Q.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||ku(this,this[o],o,t,!0))&&(delete this[o],s=!0)}return s}normalize(t){const n=this,r={};return Q.forEach(this,(s,o)=>{const i=Q.findKey(r,o);if(i){n[i]=qa(s),delete n[o];return}const a=t?s2(o):String(o).trim();a!==o&&delete n[o],n[a]=qa(s),r[a]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return Q.forEach(this,(r,s)=>{r!=null&&r!==!1&&(n[s]=t&&Q.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[lp]=this[lp]={accessors:{}}).accessors,s=this.prototype;function o(i){const a=wo(i);r[a]||(o2(s,i),r[a]=!0)}return Q.isArray(t)?t.forEach(o):o(t),this}}Xl.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);Q.freezeMethods(Xl.prototype);Q.freezeMethods(Xl);const vr=Xl;function xu(e,t){const n=this||Zd,r=t||n,s=vr.from(r.headers);let o=r.data;return Q.forEach(e,function(a){o=a.call(n,o,s.normalize(),t?t.status:void 0)}),s.normalize(),o}function _y(e){return!!(e&&e.__CANCEL__)}function Di(e,t,n){st.call(this,e??"canceled",st.ERR_CANCELED,t,n),this.name="CanceledError"}Q.inherits(Di,st,{__CANCEL__:!0});function i2(e,t,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new st("Request failed with status code "+n.status,[st.ERR_BAD_REQUEST,st.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}const a2=nr.isStandardBrowserEnv?function(){return{write:function(n,r,s,o,i,a){const l=[];l.push(n+"="+encodeURIComponent(r)),Q.isNumber(s)&&l.push("expires="+new Date(s).toGMTString()),Q.isString(o)&&l.push("path="+o),Q.isString(i)&&l.push("domain="+i),a===!0&&l.push("secure"),document.cookie=l.join("; ")},read:function(n){const r=document.cookie.match(new RegExp("(^|;\\s*)("+n+")=([^;]*)"));return r?decodeURIComponent(r[3]):null},remove:function(n){this.write(n,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}();function l2(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function u2(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}function gy(e,t){return e&&!l2(t)?u2(e,t):t}const c2=nr.isStandardBrowserEnv?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=Q.isString(i)?s(i):i;return a.protocol===r.protocol&&a.host===r.host}}():function(){return function(){return!0}}();function d2(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function m2(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 f=o,m=0;for(;f!==s;)m+=n[f++],f=f%e;if(s=(s+1)%e,s===o&&(o=(o+1)%e),c-i<t)return;const p=d&&c-d;return p?Math.round(m*1e3/p):void 0}}function up(e,t){let n=0;const r=m2(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 f2=typeof XMLHttpRequest<"u",p2=f2&&function(e){return new Promise(function(n,r){let s=e.data;const o=vr.from(e.headers).normalize(),i=e.responseType;let a;function l(){e.cancelToken&&e.cancelToken.unsubscribe(a),e.signal&&e.signal.removeEventListener("abort",a)}Q.isFormData(s)&&(nr.isStandardBrowserEnv||nr.isStandardBrowserWebWorkerEnv?o.setContentType(!1):o.setContentType("multipart/form-data;",!1));let c=new XMLHttpRequest;if(e.auth){const p=e.auth.username||"",h=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";o.set("Authorization","Basic "+btoa(p+":"+h))}const d=gy(e.baseURL,e.url);c.open(e.method.toUpperCase(),fy(d,e.params,e.paramsSerializer),!0),c.timeout=e.timeout;function f(){if(!c)return;const p=vr.from("getAllResponseHeaders"in c&&c.getAllResponseHeaders()),_={data:!i||i==="text"||i==="json"?c.responseText:c.response,status:c.status,statusText:c.statusText,headers:p,config:e,request:c};i2(function(b){n(b),l()},function(b){r(b),l()},_),c=null}if("onloadend"in c?c.onloadend=f:c.onreadystatechange=function(){!c||c.readyState!==4||c.status===0&&!(c.responseURL&&c.responseURL.indexOf("file:")===0)||setTimeout(f)},c.onabort=function(){c&&(r(new st("Request aborted",st.ECONNABORTED,e,c)),c=null)},c.onerror=function(){r(new st("Network Error",st.ERR_NETWORK,e,c)),c=null},c.ontimeout=function(){let h=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded";const _=e.transitional||py;e.timeoutErrorMessage&&(h=e.timeoutErrorMessage),r(new st(h,_.clarifyTimeoutError?st.ETIMEDOUT:st.ECONNABORTED,e,c)),c=null},nr.isStandardBrowserEnv){const p=(e.withCredentials||c2(d))&&e.xsrfCookieName&&a2.read(e.xsrfCookieName);p&&o.set(e.xsrfHeaderName,p)}s===void 0&&o.setContentType(null),"setRequestHeader"in c&&Q.forEach(o.toJSON(),function(h,_){c.setRequestHeader(_,h)}),Q.isUndefined(e.withCredentials)||(c.withCredentials=!!e.withCredentials),i&&i!=="json"&&(c.responseType=e.responseType),typeof e.onDownloadProgress=="function"&&c.addEventListener("progress",up(e.onDownloadProgress,!0)),typeof e.onUploadProgress=="function"&&c.upload&&c.upload.addEventListener("progress",up(e.onUploadProgress)),(e.cancelToken||e.signal)&&(a=p=>{c&&(r(!p||p.type?new Di(null,e,c):p),c.abort(),c=null)},e.cancelToken&&e.cancelToken.subscribe(a),e.signal&&(e.signal.aborted?a():e.signal.addEventListener("abort",a)));const m=d2(d);if(m&&nr.protocols.indexOf(m)===-1){r(new st("Unsupported protocol "+m+":",st.ERR_BAD_REQUEST,e));return}c.send(s||null)})},Wa={http:Nx,xhr:p2};Q.forEach(Wa,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const h2={getAdapter:e=>{e=Q.isArray(e)?e:[e];const{length:t}=e;let n,r;for(let s=0;s<t&&(n=e[s],!(r=Q.isString(n)?Wa[n.toLowerCase()]:n));s++);if(!r)throw r===!1?new st(`Adapter ${n} is not supported by the environment`,"ERR_NOT_SUPPORT"):new Error(Q.hasOwnProp(Wa,n)?`Adapter '${n}' is not available in the build`:`Unknown adapter '${n}'`);if(!Q.isFunction(r))throw new TypeError("adapter is not a function");return r},adapters:Wa};function Eu(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Di(null,e)}function cp(e){return Eu(e),e.headers=vr.from(e.headers),e.data=xu.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),h2.getAdapter(e.adapter||Zd.adapter)(e).then(function(r){return Eu(e),r.data=xu.call(e,e.transformResponse,r),r.headers=vr.from(r.headers),r},function(r){return _y(r)||(Eu(e),r&&r.response&&(r.response.data=xu.call(e,e.transformResponse,r.response),r.response.headers=vr.from(r.response.headers))),Promise.reject(r)})}const dp=e=>e instanceof vr?e.toJSON():e;function no(e,t){t=t||{};const n={};function r(c,d,f){return Q.isPlainObject(c)&&Q.isPlainObject(d)?Q.merge.call({caseless:f},c,d):Q.isPlainObject(d)?Q.merge({},d):Q.isArray(d)?d.slice():d}function s(c,d,f){if(Q.isUndefined(d)){if(!Q.isUndefined(c))return r(void 0,c,f)}else return r(c,d,f)}function o(c,d){if(!Q.isUndefined(d))return r(void 0,d)}function i(c,d){if(Q.isUndefined(d)){if(!Q.isUndefined(c))return r(void 0,c)}else return r(void 0,d)}function a(c,d,f){if(f in t)return r(c,d);if(f in e)return r(void 0,c)}const l={url:o,method:o,data:o,baseURL:i,transformRequest:i,transformResponse:i,paramsSerializer:i,timeout:i,timeoutMessage:i,withCredentials: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(dp(c),dp(d),!0)};return Q.forEach(Object.keys(Object.assign({},e,t)),function(d){const f=l[d]||s,m=f(e[d],t[d],d);Q.isUndefined(m)&&f!==a||(n[d]=m)}),n}const yy="1.4.0",Yd={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{Yd[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});const mp={};Yd.transitional=function(t,n,r){function s(o,i){return"[Axios v"+yy+"] Transitional option '"+o+"'"+i+(r?". "+r:"")}return(o,i,a)=>{if(t===!1)throw new st(s(i," has been removed"+(n?" in "+n:"")),st.ERR_DEPRECATED);return n&&!mp[i]&&(mp[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 _2(e,t,n){if(typeof e!="object")throw new st("options must be an object",st.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 st("option "+o+" must be "+l,st.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new st("Unknown option "+o,st.ERR_BAD_OPTION)}}const Dc={assertOptions:_2,validators:Yd},Ar=Dc.validators;class dl{constructor(t){this.defaults=t,this.interceptors={request:new ap,response:new ap}}request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=no(this.defaults,n);const{transitional:r,paramsSerializer:s,headers:o}=n;r!==void 0&&Dc.assertOptions(r,{silentJSONParsing:Ar.transitional(Ar.boolean),forcedJSONParsing:Ar.transitional(Ar.boolean),clarifyTimeoutError:Ar.transitional(Ar.boolean)},!1),s!=null&&(Q.isFunction(s)?n.paramsSerializer={serialize:s}:Dc.assertOptions(s,{encode:Ar.function,serialize:Ar.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let i;i=o&&Q.merge(o.common,o[n.method]),i&&Q.forEach(["delete","get","head","post","put","patch","common"],h=>{delete o[h]}),n.headers=vr.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,f=0,m;if(!l){const h=[cp.bind(this),void 0];for(h.unshift.apply(h,a),h.push.apply(h,c),m=h.length,d=Promise.resolve(n);f<m;)d=d.then(h[f++],h[f++]);return d}m=a.length;let p=n;for(f=0;f<m;){const h=a[f++],_=a[f++];try{p=h(p)}catch(C){_.call(this,C);break}}try{d=cp.call(this,p)}catch(h){return Promise.reject(h)}for(f=0,m=c.length;f<m;)d=d.then(c[f++],c[f++]);return d}getUri(t){t=no(this.defaults,t);const n=gy(t.baseURL,t.url);return fy(n,t.params,t.paramsSerializer)}}Q.forEach(["delete","get","head","options"],function(t){dl.prototype[t]=function(n,r){return this.request(no(r||{},{method:t,url:n,data:(r||{}).data}))}});Q.forEach(["post","put","patch"],function(t){function n(r){return function(o,i,a){return this.request(no(a||{},{method:t,headers:r?{"Content-Type":"multipart/form-data"}:{},url:o,data:i}))}}dl.prototype[t]=n(),dl.prototype[t+"Form"]=n(!0)});const Ga=dl;class Jd{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(o){n=o});const r=this;this.promise.then(s=>{if(!r._listeners)return;let o=r._listeners.length;for(;o-- >0;)r._listeners[o](s);r._listeners=null}),this.promise.then=s=>{let o;const 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 Di(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 Jd(function(s){t=s}),cancel:t}}}const g2=Jd;function y2(e){return function(n){return e.apply(null,n)}}function v2(e){return Q.isObject(e)&&e.isAxiosError===!0}const Pc={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(Pc).forEach(([e,t])=>{Pc[t]=e});const b2=Pc;function vy(e){const t=new Ga(e),n=ty(Ga.prototype.request,t);return Q.extend(n,Ga.prototype,t,{allOwnKeys:!0}),Q.extend(n,t,null,{allOwnKeys:!0}),n.create=function(s){return vy(no(e,s))},n}const Rt=vy(Zd);Rt.Axios=Ga;Rt.CanceledError=Di;Rt.CancelToken=g2;Rt.isCancel=_y;Rt.VERSION=yy;Rt.toFormData=Yl;Rt.AxiosError=st;Rt.Cancel=Rt.CanceledError;Rt.all=function(t){return Promise.all(t)};Rt.spread=y2;Rt.isAxiosError=v2;Rt.mergeConfig=no;Rt.AxiosHeaders=vr;Rt.formToJSON=e=>hy(Q.isHTMLForm(e)?new FormData(e):e);Rt.HttpStatusCode=b2;Rt.default=Rt;const he=Rt,{t:Fs}=Hl.global;he.interceptors.response.use(function(e){return e},function(e){return e.request.status&&e.request.responseURL&&Ke.dispatch("add_notification",{text:Fs("server.request-failed",{status:e.request.status,cause:e.request.statusText,url:e.request.responseURL}),type:"danger"}),Promise.reject(e)});const N={config(){return he.get("./api/config")},settings(){return he.get("./api/settings")},settings_update(e,t){return he.put("./api/settings/"+e+"/"+t.name,t)},library_stats(){return he.get("./api/library")},library_update(e){const t={};return e&&(t.scan_kind=e),he.put("./api/update",void 0,{params:t})},library_rescan(e){const t={};return e&&(t.scan_kind=e),he.put("./api/rescan",void 0,{params:t})},library_count(e){return he.get("./api/library/count?expression="+e)},queue(){return he.get("./api/queue")},queue_clear(){return he.put("./api/queue/clear")},queue_remove(e){return he.delete("./api/queue/items/"+e)},queue_move(e,t){return he.put("./api/queue/items/"+e+"?new_position="+t)},queue_add(e){return he.post("./api/queue/items/add?uris="+e).then(t=>(Ke.dispatch("add_notification",{text:Fs("server.appended-tracks",{count:t.data.count}),type:"info",timeout:2e3}),Promise.resolve(t)))},queue_add_next(e){let t=0;return Ke.getters.now_playing&&Ke.getters.now_playing.id&&(t=Ke.getters.now_playing.position+1),he.post("./api/queue/items/add?uris="+e+"&position="+t).then(n=>(Ke.dispatch("add_notification",{text:Fs("server.appended-tracks",{count:n.data.count}),type:"info",timeout:2e3}),Promise.resolve(n)))},queue_expression_add(e){const t={};return t.expression=e,he.post("./api/queue/items/add",void 0,{params:t}).then(n=>(Ke.dispatch("add_notification",{text:Fs("server.appended-tracks",{count:n.data.count}),type:"info",timeout:2e3}),Promise.resolve(n)))},queue_expression_add_next(e){const t={};return t.expression=e,t.position=0,Ke.getters.now_playing&&Ke.getters.now_playing.id&&(t.position=Ke.getters.now_playing.position+1),he.post("./api/queue/items/add",void 0,{params:t}).then(n=>(Ke.dispatch("add_notification",{text:Fs("server.appended-tracks",{count:n.data.count}),type:"info",timeout:2e3}),Promise.resolve(n)))},queue_save_playlist(e){return he.post("./api/queue/save",void 0,{params:{name:e}}).then(t=>(Ke.dispatch("add_notification",{text:Fs("server.queue-saved",{name:e}),type:"info",timeout:2e3}),Promise.resolve(t)))},player_status(){return he.get("./api/player")},player_play_uri(e,t,n=void 0){const r={};return r.uris=e,r.shuffle=t?"true":"false",r.clear="true",r.playback="start",r.playback_from_position=n,he.post("./api/queue/items/add",void 0,{params:r})},player_play_expression(e,t,n=void 0){const r={};return r.expression=e,r.shuffle=t?"true":"false",r.clear="true",r.playback="start",r.playback_from_position=n,he.post("./api/queue/items/add",void 0,{params:r})},player_play(e={}){return he.put("./api/player/play",void 0,{params:e})},player_playpos(e){return he.put("./api/player/play?position="+e)},player_playid(e){return he.put("./api/player/play?item_id="+e)},player_pause(){return he.put("./api/player/pause")},player_stop(){return he.put("./api/player/stop")},player_next(){return he.put("./api/player/next")},player_previous(){return he.put("./api/player/previous")},player_shuffle(e){const t=e?"true":"false";return he.put("./api/player/shuffle?state="+t)},player_consume(e){const t=e?"true":"false";return he.put("./api/player/consume?state="+t)},player_repeat(e){return he.put("./api/player/repeat?state="+e)},player_volume(e){return he.put("./api/player/volume?volume="+e)},player_output_volume(e,t){return he.put("./api/player/volume?volume="+t+"&output_id="+e)},player_seek_to_pos(e){return he.put("./api/player/seek?position_ms="+e)},player_seek(e){return he.put("./api/player/seek?seek_ms="+e)},outputs(){return he.get("./api/outputs")},output_update(e,t){return he.put("./api/outputs/"+e,t)},output_toggle(e){return he.put("./api/outputs/"+e+"/toggle")},library_artists(e=void 0){return he.get("./api/library/artists",{params:{media_kind:e}})},library_artist(e){return he.get("./api/library/artists/"+e)},library_artist_albums(e){return he.get("./api/library/artists/"+e+"/albums")},library_albums(e=void 0){return he.get("./api/library/albums",{params:{media_kind:e}})},library_album(e){return he.get("./api/library/albums/"+e)},library_album_tracks(e,t={limit:-1,offset:0}){return he.get("./api/library/albums/"+e+"/tracks",{params:t})},library_album_track_update(e,t){return he.put("./api/library/albums/"+e+"/tracks",void 0,{params:t})},library_genres(e=void 0){return he.get("./api/library/genres",{params:{media_kind:e}})},library_genre(e){return he.get(`./api/library/genres/${encodeURIComponent(e)}`)},library_genre_albums(e){const t={type:"albums",expression:`genre is "${e}" and media_kind is music`};return he.get("./api/search",{params:t})},library_genre_tracks(e){const t={type:"tracks",expression:`genre is "${e}" and media_kind is music`};return he.get("./api/search",{params:t})},library_radio_streams(){const e={type:"tracks",media_kind:"music",expression:"data_kind is url and song_length = 0"};return he.get("./api/search",{params:e})},library_composers(e=void 0){return he.get("./api/library/composers",{params:{media_kind:e}})},library_composer(e){return he.get(`./api/library/composers/${encodeURIComponent(e)}`)},library_composer_albums(e){const t={type:"albums",expression:`composer is "${e}" and media_kind is music`};return he.get("./api/search",{params:t})},library_composer_tracks(e){const t={type:"tracks",expression:`composer is "${e}" and media_kind is music`};return he.get("./api/search",{params:t})},library_artist_tracks(e){if(e){const t={type:"tracks",expression:'songartistid is "'+e+'"'};return he.get("./api/search",{params:t})}},library_podcasts_new_episodes(){const e={type:"tracks",expression:"media_kind is podcast and play_count = 0 ORDER BY time_added DESC"};return he.get("./api/search",{params:e})},library_podcast_episodes(e){const t={type:"tracks",expression:'media_kind is podcast and songalbumid is "'+e+'" ORDER BY date_released DESC'};return he.get("./api/search",{params:t})},library_add(e){return he.post("./api/library/add",void 0,{params:{url:e}})},library_playlist_delete(e){return he.delete("./api/library/playlists/"+e,void 0)},library_playlists(){return he.get("./api/library/playlists")},library_playlist_folder(e=0){return he.get("./api/library/playlists/"+e+"/playlists")},library_playlist(e){return he.get("./api/library/playlists/"+e)},library_playlist_tracks(e){return he.get("./api/library/playlists/"+e+"/tracks")},library_track(e){return he.get("./api/library/tracks/"+e)},library_track_playlists(e){return he.get("./api/library/tracks/"+e+"/playlists")},library_track_update(e,t={}){return he.put("./api/library/tracks/"+e,void 0,{params:t})},library_files(e=void 0){const t={directory:e};return he.get("./api/library/files",{params:t})},search(e){return he.get("./api/search",{params:e})},spotify(){return he.get("./api/spotify")},spotify_login(e){return he.post("./api/spotify-login",e)},spotify_logout(){return he.get("./api/spotify-logout")},lastfm(){return he.get("./api/lastfm")},lastfm_login(e){return he.post("./api/lastfm-login",e)},lastfm_logout(e){return he.get("./api/lastfm-logout")},pairing(){return he.get("./api/pairing")},pairing_kickoff(e){return he.post("./api/pairing",e)},artwork_url_append_size_params(e,t=600,n=600){return e&&e.startsWith("/")?e.includes("?")?e+"&maxwidth="+t+"&maxheight="+n:e+"?maxwidth="+t+"&maxheight="+n:e}},C2={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(){N.player_play({item_id:this.item.id})}}},z2={key:0,class:"media is-align-items-center"},w2={key:0,class:"media-left"},k2=["textContent"],x2=["textContent"],E2=["textContent"],S2={class:"media-right"};function $2(e,t,n,r,s,o){const i=S("mdicon");return o.is_next||!n.show_only_next_items?(w(),$("div",z2,[n.edit_mode?(w(),$("div",w2,[v(i,{class:"icon has-text-grey fd-is-movable handle",name:"drag-horizontal",size:"16"})])):H("",!0),u("div",{class:"media-content is-clickable is-clipped",onClick:t[0]||(t[0]=(...a)=>o.play&&o.play(...a))},[u("h1",{class:Te(["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,k2),u("h2",{class:Te(["subtitle is-7",{"has-text-primary":n.item.id===o.state.item_id,"has-text-grey-light":!o.is_next,"has-text-grey":o.is_next&&n.item.id!==o.state.item_id}])},[u("b",{textContent:g(n.item.artist)},null,8,x2)],2),u("h2",{class:Te(["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,E2)]),u("div",S2,[lt(e.$slots,"actions")])])):H("",!0)}const A2=se(C2,[["render",$2]]);var Yt=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function fo(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(){if(this instanceof r){var s=[null];s.push.apply(s,arguments);var o=Function.bind.apply(t,s);return new o}return 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 Cy={exports:{}};(function(e){var t=function(){var n="https://api.spotify.com/v1",r=null,s=null,o=function(m,p){return m.abort=p,m},i=function(m,p){var h;if(s!==null){var _=s.defer();m(function(C){_.resolve(C)},function(C){_.reject(C)}),h=_.promise}else window.Promise&&(h=new window.Promise(m));return h?new o(h,p):null},a=function(){var m=Array.prototype.slice.call(arguments),p=m[0],h=m.slice(1);return p=p||{},h.forEach(function(_){for(var C in _)_.hasOwnProperty(C)&&(p[C]=_[C])}),p},l=function(m,p){var h="";for(var _ in p)if(p.hasOwnProperty(_)){var C=p[_];h+=encodeURIComponent(_)+"="+encodeURIComponent(C)+"&"}return h.length>0&&(h=h.substring(0,h.length-1),m=m+"?"+h),m},c=function(m,p){var h=new XMLHttpRequest,_=function(C,b){function y(T){C&&C(T),p&&p(null,T)}function k(){b&&b(h),p&&p(h,null)}var z=m.type||"GET";if(h.open(z,l(m.url,m.params)),r&&h.setRequestHeader("Authorization","Bearer "+r),h.onreadystatechange=function(){if(h.readyState===4){var T=null;try{T=h.responseText?JSON.parse(h.responseText):""}catch(L){console.error(L)}h.status>=200&&h.status<300?y(T):k()}},z==="GET")h.send(null);else{var x=null;m.postData&&(m.contentType==="image/jpeg"?(x=m.postData,h.setRequestHeader("Content-Type",m.contentType)):(x=JSON.stringify(m.postData),h.setRequestHeader("Content-Type","application/json"))),h.send(x)}};return p?(_(),null):i(_,function(){h.abort()})},d=function(m,p,h,_){var C={},b=null;typeof p=="object"?(C=p,b=h):typeof p=="function"&&(b=p);var y=m.type||"GET";return y!=="GET"&&m.postData&&!_?m.postData=a(m.postData,C):m.params=a(m.params,C),c(m,b)},f=function(){};return f.prototype={constructor:t},f.prototype.getGeneric=function(m,p){var h={url:m};return d(h,p)},f.prototype.getMe=function(m,p){var h={url:n+"/me"};return d(h,m,p)},f.prototype.getMySavedTracks=function(m,p){var h={url:n+"/me/tracks"};return d(h,m,p)},f.prototype.addToMySavedTracks=function(m,p,h){var _={url:n+"/me/tracks",type:"PUT",postData:m};return d(_,p,h)},f.prototype.removeFromMySavedTracks=function(m,p,h){var _={url:n+"/me/tracks",type:"DELETE",postData:m};return d(_,p,h)},f.prototype.containsMySavedTracks=function(m,p,h){var _={url:n+"/me/tracks/contains",params:{ids:m.join(",")}};return d(_,p,h)},f.prototype.getMySavedAlbums=function(m,p){var h={url:n+"/me/albums"};return d(h,m,p)},f.prototype.addToMySavedAlbums=function(m,p,h){var _={url:n+"/me/albums",type:"PUT",postData:m};return d(_,p,h)},f.prototype.removeFromMySavedAlbums=function(m,p,h){var _={url:n+"/me/albums",type:"DELETE",postData:m};return d(_,p,h)},f.prototype.containsMySavedAlbums=function(m,p,h){var _={url:n+"/me/albums/contains",params:{ids:m.join(",")}};return d(_,p,h)},f.prototype.getMyTopArtists=function(m,p){var h={url:n+"/me/top/artists"};return d(h,m,p)},f.prototype.getMyTopTracks=function(m,p){var h={url:n+"/me/top/tracks"};return d(h,m,p)},f.prototype.getMyRecentlyPlayedTracks=function(m,p){var h={url:n+"/me/player/recently-played"};return d(h,m,p)},f.prototype.followUsers=function(m,p){var h={url:n+"/me/following/",type:"PUT",params:{ids:m.join(","),type:"user"}};return d(h,p)},f.prototype.followArtists=function(m,p){var h={url:n+"/me/following/",type:"PUT",params:{ids:m.join(","),type:"artist"}};return d(h,p)},f.prototype.followPlaylist=function(m,p,h){var _={url:n+"/playlists/"+m+"/followers",type:"PUT",postData:{}};return d(_,p,h)},f.prototype.unfollowUsers=function(m,p){var h={url:n+"/me/following/",type:"DELETE",params:{ids:m.join(","),type:"user"}};return d(h,p)},f.prototype.unfollowArtists=function(m,p){var h={url:n+"/me/following/",type:"DELETE",params:{ids:m.join(","),type:"artist"}};return d(h,p)},f.prototype.unfollowPlaylist=function(m,p){var h={url:n+"/playlists/"+m+"/followers",type:"DELETE"};return d(h,p)},f.prototype.isFollowingUsers=function(m,p){var h={url:n+"/me/following/contains",type:"GET",params:{ids:m.join(","),type:"user"}};return d(h,p)},f.prototype.isFollowingArtists=function(m,p){var h={url:n+"/me/following/contains",type:"GET",params:{ids:m.join(","),type:"artist"}};return d(h,p)},f.prototype.areFollowingPlaylist=function(m,p,h){var _={url:n+"/playlists/"+m+"/followers/contains",type:"GET",params:{ids:p.join(",")}};return d(_,h)},f.prototype.getFollowedArtists=function(m,p){var h={url:n+"/me/following",type:"GET",params:{type:"artist"}};return d(h,m,p)},f.prototype.getUser=function(m,p,h){var _={url:n+"/users/"+encodeURIComponent(m)};return d(_,p,h)},f.prototype.getUserPlaylists=function(m,p,h){var _;return typeof m=="string"?_={url:n+"/users/"+encodeURIComponent(m)+"/playlists"}:(_={url:n+"/me/playlists"},h=p,p=m),d(_,p,h)},f.prototype.getPlaylist=function(m,p,h){var _={url:n+"/playlists/"+m};return d(_,p,h)},f.prototype.getPlaylistTracks=function(m,p,h){var _={url:n+"/playlists/"+m+"/tracks"};return d(_,p,h)},f.prototype.getPlaylistCoverImage=function(m,p){var h={url:n+"/playlists/"+m+"/images"};return d(h,p)},f.prototype.createPlaylist=function(m,p,h){var _={url:n+"/users/"+encodeURIComponent(m)+"/playlists",type:"POST",postData:p};return d(_,p,h)},f.prototype.changePlaylistDetails=function(m,p,h){var _={url:n+"/playlists/"+m,type:"PUT",postData:p};return d(_,p,h)},f.prototype.addTracksToPlaylist=function(m,p,h,_){var C={url:n+"/playlists/"+m+"/tracks",type:"POST",postData:{uris:p}};return d(C,h,_,!0)},f.prototype.replaceTracksInPlaylist=function(m,p,h){var _={url:n+"/playlists/"+m+"/tracks",type:"PUT",postData:{uris:p}};return d(_,{},h)},f.prototype.reorderTracksInPlaylist=function(m,p,h,_,C){var b={url:n+"/playlists/"+m+"/tracks",type:"PUT",postData:{range_start:p,insert_before:h}};return d(b,_,C)},f.prototype.removeTracksFromPlaylist=function(m,p,h){var _=p.map(function(b){return typeof b=="string"?{uri:b}:b}),C={url:n+"/playlists/"+m+"/tracks",type:"DELETE",postData:{tracks:_}};return d(C,{},h)},f.prototype.removeTracksFromPlaylistWithSnapshotId=function(m,p,h,_){var C=p.map(function(y){return typeof y=="string"?{uri:y}:y}),b={url:n+"/playlists/"+m+"/tracks",type:"DELETE",postData:{tracks:C,snapshot_id:h}};return d(b,{},_)},f.prototype.removeTracksFromPlaylistInPositions=function(m,p,h,_){var C={url:n+"/playlists/"+m+"/tracks",type:"DELETE",postData:{positions:p,snapshot_id:h}};return d(C,{},_)},f.prototype.uploadCustomPlaylistCoverImage=function(m,p,h){var _={url:n+"/playlists/"+m+"/images",type:"PUT",postData:p.replace(/^data:image\/jpeg;base64,/,""),contentType:"image/jpeg"};return d(_,{},h)},f.prototype.getAlbum=function(m,p,h){var _={url:n+"/albums/"+m};return d(_,p,h)},f.prototype.getAlbumTracks=function(m,p,h){var _={url:n+"/albums/"+m+"/tracks"};return d(_,p,h)},f.prototype.getAlbums=function(m,p,h){var _={url:n+"/albums/",params:{ids:m.join(",")}};return d(_,p,h)},f.prototype.getTrack=function(m,p,h){var _={};return _.url=n+"/tracks/"+m,d(_,p,h)},f.prototype.getTracks=function(m,p,h){var _={url:n+"/tracks/",params:{ids:m.join(",")}};return d(_,p,h)},f.prototype.getArtist=function(m,p,h){var _={url:n+"/artists/"+m};return d(_,p,h)},f.prototype.getArtists=function(m,p,h){var _={url:n+"/artists/",params:{ids:m.join(",")}};return d(_,p,h)},f.prototype.getArtistAlbums=function(m,p,h){var _={url:n+"/artists/"+m+"/albums"};return d(_,p,h)},f.prototype.getArtistTopTracks=function(m,p,h,_){var C={url:n+"/artists/"+m+"/top-tracks",params:{country:p}};return d(C,h,_)},f.prototype.getArtistRelatedArtists=function(m,p,h){var _={url:n+"/artists/"+m+"/related-artists"};return d(_,p,h)},f.prototype.getFeaturedPlaylists=function(m,p){var h={url:n+"/browse/featured-playlists"};return d(h,m,p)},f.prototype.getNewReleases=function(m,p){var h={url:n+"/browse/new-releases"};return d(h,m,p)},f.prototype.getCategories=function(m,p){var h={url:n+"/browse/categories"};return d(h,m,p)},f.prototype.getCategory=function(m,p,h){var _={url:n+"/browse/categories/"+m};return d(_,p,h)},f.prototype.getCategoryPlaylists=function(m,p,h){var _={url:n+"/browse/categories/"+m+"/playlists"};return d(_,p,h)},f.prototype.search=function(m,p,h,_){var C={url:n+"/search/",params:{q:m,type:p.join(",")}};return d(C,h,_)},f.prototype.searchAlbums=function(m,p,h){return this.search(m,["album"],p,h)},f.prototype.searchArtists=function(m,p,h){return this.search(m,["artist"],p,h)},f.prototype.searchTracks=function(m,p,h){return this.search(m,["track"],p,h)},f.prototype.searchPlaylists=function(m,p,h){return this.search(m,["playlist"],p,h)},f.prototype.searchShows=function(m,p,h){return this.search(m,["show"],p,h)},f.prototype.searchEpisodes=function(m,p,h){return this.search(m,["episode"],p,h)},f.prototype.getAudioFeaturesForTrack=function(m,p){var h={};return h.url=n+"/audio-features/"+m,d(h,{},p)},f.prototype.getAudioFeaturesForTracks=function(m,p){var h={url:n+"/audio-features",params:{ids:m}};return d(h,{},p)},f.prototype.getAudioAnalysisForTrack=function(m,p){var h={};return h.url=n+"/audio-analysis/"+m,d(h,{},p)},f.prototype.getRecommendations=function(m,p){var h={url:n+"/recommendations"};return d(h,m,p)},f.prototype.getAvailableGenreSeeds=function(m){var p={url:n+"/recommendations/available-genre-seeds"};return d(p,{},m)},f.prototype.getMyDevices=function(m){var p={url:n+"/me/player/devices"};return d(p,{},m)},f.prototype.getMyCurrentPlaybackState=function(m,p){var h={url:n+"/me/player"};return d(h,m,p)},f.prototype.getMyCurrentPlayingTrack=function(m,p){var h={url:n+"/me/player/currently-playing"};return d(h,m,p)},f.prototype.transferMyPlayback=function(m,p,h){var _=p||{};_.device_ids=m;var C={type:"PUT",url:n+"/me/player",postData:_};return d(C,p,h)},f.prototype.play=function(m,p){m=m||{};var h="device_id"in m?{device_id:m.device_id}:null,_={};["context_uri","uris","offset","position_ms"].forEach(function(y){y in m&&(_[y]=m[y])});var C={type:"PUT",url:n+"/me/player/play",params:h,postData:_},b=typeof m=="function"?m:{};return d(C,b,p)},f.prototype.queue=function(m,p,h){p=p||{};var _="device_id"in p?{uri:m,device_id:p.device_id}:{uri:m},C={type:"POST",url:n+"/me/player/queue",params:_};return d(C,p,h)},f.prototype.pause=function(m,p){m=m||{};var h="device_id"in m?{device_id:m.device_id}:null,_={type:"PUT",url:n+"/me/player/pause",params:h};return d(_,m,p)},f.prototype.skipToNext=function(m,p){m=m||{};var h="device_id"in m?{device_id:m.device_id}:null,_={type:"POST",url:n+"/me/player/next",params:h};return d(_,m,p)},f.prototype.skipToPrevious=function(m,p){m=m||{};var h="device_id"in m?{device_id:m.device_id}:null,_={type:"POST",url:n+"/me/player/previous",params:h};return d(_,m,p)},f.prototype.seek=function(m,p,h){p=p||{};var _={position_ms:m};"device_id"in p&&(_.device_id=p.device_id);var C={type:"PUT",url:n+"/me/player/seek",params:_};return d(C,p,h)},f.prototype.setRepeat=function(m,p,h){p=p||{};var _={state:m};"device_id"in p&&(_.device_id=p.device_id);var C={type:"PUT",url:n+"/me/player/repeat",params:_};return d(C,p,h)},f.prototype.setVolume=function(m,p,h){p=p||{};var _={volume_percent:m};"device_id"in p&&(_.device_id=p.device_id);var C={type:"PUT",url:n+"/me/player/volume",params:_};return d(C,p,h)},f.prototype.setShuffle=function(m,p,h){p=p||{};var _={state:m};"device_id"in p&&(_.device_id=p.device_id);var C={type:"PUT",url:n+"/me/player/shuffle",params:_};return d(C,p,h)},f.prototype.getShow=function(m,p,h){var _={};return _.url=n+"/shows/"+m,d(_,p,h)},f.prototype.getShows=function(m,p,h){var _={url:n+"/shows/",params:{ids:m.join(",")}};return d(_,p,h)},f.prototype.getMySavedShows=function(m,p){var h={url:n+"/me/shows"};return d(h,m,p)},f.prototype.addToMySavedShows=function(m,p,h){var _={url:n+"/me/shows",type:"PUT",postData:m};return d(_,p,h)},f.prototype.removeFromMySavedShows=function(m,p,h){var _={url:n+"/me/shows",type:"DELETE",postData:m};return d(_,p,h)},f.prototype.containsMySavedShows=function(m,p,h){var _={url:n+"/me/shows/contains",params:{ids:m.join(",")}};return d(_,p,h)},f.prototype.getShowEpisodes=function(m,p,h){var _={url:n+"/shows/"+m+"/episodes"};return d(_,p,h)},f.prototype.getEpisode=function(m,p,h){var _={};return _.url=n+"/episodes/"+m,d(_,p,h)},f.prototype.getEpisodes=function(m,p,h){var _={url:n+"/episodes/",params:{ids:m.join(",")}};return d(_,p,h)},f.prototype.getAccessToken=function(){return r},f.prototype.setAccessToken=function(m){r=m},f.prototype.setPromiseImplementation=function(m){var p=!1;try{var h=new m(function(_){_()});typeof h.then=="function"&&typeof h.catch=="function"&&(p=!0)}catch(_){console.error(_)}if(p)s=m;else throw new Error("Unsupported implementation of Promises/A+")},f}();e.exports=t})(Cy);var T2=Cy.exports;const Wn=fo(T2),O2={name:"ModalDialogQueueItem",props:["show","item"],emits:["close"],data(){return{spotify_track:{}}},watch:{item(){if(this.item&&this.item.data_kind==="spotify"){const e=new Wn;e.setAccessToken(this.$store.state.spotify.webapi_token),e.getTrack(this.item.path.slice(this.item.path.lastIndexOf(":")+1)).then(t=>{this.spotify_track=t})}else this.spotify_track={}}},methods:{remove(){this.$emit("close"),N.queue_remove(this.item.id)},play(){this.$emit("close"),N.player_play({item_id:this.item.id})},open_album(){this.media_kind==="podcast"?this.$router.push({path:"/podcasts/"+this.item.album_id}):this.media_kind==="audiobook"?this.$router.push({path:"/audiobooks/"+this.item.album_id}):this.$router.push({path:"/music/albums/"+this.item.album_id})},open_album_artist(){this.$router.push({path:"/music/artists/"+this.item.album_artist_id})},open_genre(){this.$router.push({name:"Genre",params:{genre:this.item.genre}})},open_spotify_artist(){this.$emit("close"),this.$router.push({path:"/music/spotify/artists/"+this.spotify_track.artists[0].id})},open_spotify_album(){this.$emit("close"),this.$router.push({path:"/music/spotify/albums/"+this.spotify_track.album.id})}}},D2={key:0,class:"modal is-active"},P2={class:"modal-content fd-modal-card"},I2={class:"card"},F2={class:"card-content"},R2=["textContent"],L2=["textContent"],M2={class:"content is-small"},N2=["textContent"],V2=["textContent"],B2=["textContent"],H2={key:0},j2=["textContent"],U2=["textContent"],q2=["textContent"],W2={key:1},G2=["textContent"],K2=["textContent"],Z2={key:2},Y2=["textContent"],J2=["textContent"],X2={key:3},Q2=["textContent"],eE=["textContent"],tE=["textContent"],nE=["textContent"],rE=["textContent"],sE=["textContent"],oE=["textContent"],iE=["textContent"],aE=["textContent"],lE={class:"title is-6"},uE=["textContent"],cE={key:0,class:"has-text-weight-normal"},dE=["textContent"],mE=["textContent"],fE=["textContent"],pE={class:"title is-6"},hE=["textContent"],_E=["textContent"],gE=["textContent"],yE=["textContent"],vE={class:"card-footer"},bE=["textContent"],CE=["textContent"];function zE(e,t,n,r,s,o){const i=S("mdicon");return w(),$("div",null,[v(Pt,{name:"fade"},{default:E(()=>[n.show?(w(),$("div",D2,[u("div",{class:"modal-background",onClick:t[0]||(t[0]=a=>e.$emit("close"))}),u("div",P2,[u("div",I2,[u("div",F2,[u("p",{class:"title is-4",textContent:g(n.item.title)},null,8,R2),u("p",{class:"subtitle",textContent:g(n.item.artist)},null,8,L2),u("div",M2,[u("p",null,[u("span",{class:"heading",textContent:g(e.$t("dialog.queue-item.album"))},null,8,N2),n.item.album_id?(w(),$("a",{key:0,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,V2)):(w(),$("span",{key:1,class:"title is-6",textContent:g(n.item.album)},null,8,B2))]),n.item.album_artist?(w(),$("p",H2,[u("span",{class:"heading",textContent:g(e.$t("dialog.queue-item.album-artist"))},null,8,j2),n.item.album_artist_id?(w(),$("a",{key:0,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,U2)):(w(),$("span",{key:1,class:"title is-6",textContent:g(n.item.album_artist)},null,8,q2))])):H("",!0),n.item.composer?(w(),$("p",W2,[u("span",{class:"heading",textContent:g(e.$t("dialog.queue-item.composer"))},null,8,G2),u("span",{class:"title is-6",textContent:g(n.item.composer)},null,8,K2)])):H("",!0),n.item.year>0?(w(),$("p",Z2,[u("span",{class:"heading",textContent:g(e.$t("dialog.queue-item.year"))},null,8,Y2),u("span",{class:"title is-6",textContent:g(n.item.year)},null,8,J2)])):H("",!0),n.item.genre?(w(),$("p",X2,[u("span",{class:"heading",textContent:g(e.$t("dialog.queue-item.genre"))},null,8,Q2),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,eE)])):H("",!0),u("p",null,[u("span",{class:"heading",textContent:g(e.$t("dialog.queue-item.position"))},null,8,tE),u("span",{class:"title is-6",textContent:g([n.item.disc_number,n.item.track_number].join(" / "))},null,8,nE)]),u("p",null,[u("span",{class:"heading",textContent:g(e.$t("dialog.queue-item.duration"))},null,8,rE),u("span",{class:"title is-6",textContent:g(e.$filters.durationInHours(n.item.length_ms))},null,8,sE)]),u("p",null,[u("span",{class:"heading",textContent:g(e.$t("dialog.queue-item.path"))},null,8,oE),u("span",{class:"title is-6",textContent:g(n.item.path)},null,8,iE)]),u("p",null,[u("span",{class:"heading",textContent:g(e.$t("dialog.queue-item.type"))},null,8,aE),u("span",lE,[u("span",{textContent:g([e.$t("media.kind."+n.item.media_kind),e.$t("data.kind."+n.item.data_kind)].join(" - "))},null,8,uE),n.item.data_kind==="spotify"?(w(),$("span",cE,[dt(" ("),u("a",{onClick:t[4]||(t[4]=(...a)=>o.open_spotify_artist&&o.open_spotify_artist(...a)),textContent:g(e.$t("dialog.queue-item.spotify-artist"))},null,8,dE),dt(", "),u("a",{onClick:t[5]||(t[5]=(...a)=>o.open_spotify_album&&o.open_spotify_album(...a)),textContent:g(e.$t("dialog.queue-item.spotify-album"))},null,8,mE),dt(") ")])):H("",!0)])]),u("p",null,[u("span",{class:"heading",textContent:g(e.$t("dialog.queue-item.quality"))},null,8,fE),u("span",pE,[u("span",{textContent:g(n.item.type)},null,8,hE),n.item.samplerate?(w(),$("span",{key:0,textContent:g(e.$t("dialog.queue-item.samplerate",{rate:n.item.samplerate}))},null,8,_E)):H("",!0),n.item.channels?(w(),$("span",{key:1,textContent:g(e.$t("dialog.queue-item.channels",{channels:e.$filters.channels(n.item.channels)}))},null,8,gE)):H("",!0),n.item.bitrate?(w(),$("span",{key:2,textContent:g(e.$t("dialog.queue-item.bitrate",{rate:n.item.bitrate}))},null,8,yE)):H("",!0)])])])]),u("footer",vE,[u("a",{class:"card-footer-item has-text-dark",onClick:t[6]||(t[6]=(...a)=>o.remove&&o.remove(...a))},[v(i,{class:"icon",name:"delete",size:"16"}),u("span",{class:"is-size-7",textContent:g(e.$t("dialog.queue-item.remove"))},null,8,bE)]),u("a",{class:"card-footer-item has-text-dark",onClick:t[7]||(t[7]=(...a)=>o.play&&o.play(...a))},[v(i,{class:"icon",name:"play",size:"16"}),u("span",{class:"is-size-7",textContent:g(e.$t("dialog.queue-item.play"))},null,8,CE)])])])]),u("button",{class:"modal-close is-large","aria-label":"close",onClick:t[8]||(t[8]=a=>e.$emit("close"))})])):H("",!0)]),_:1})])}const zy=se(O2,[["render",zE]]),wE={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,N.queue_add(this.url).then(()=>{this.$emit("close"),this.url=""}).catch(()=>{this.loading=!1})},play(){this.loading=!0,N.player_play_uri(this.url,!1).then(()=>{this.$emit("close"),this.url=""}).catch(()=>{this.loading=!1})}}},kE={key:0,class:"modal is-active"},xE={class:"modal-content fd-modal-card"},EE={class:"card"},SE={class:"card-content"},$E=["textContent"],AE={class:"field"},TE={class:"control is-expanded has-icons-left"},OE=["placeholder","disabled"],DE={key:0,class:"card-footer"},PE={class:"card-footer-item has-text-dark"},IE=["textContent"],FE={key:1,class:"card-footer"},RE=["textContent"],LE=["textContent"],ME=["textContent"];function NE(e,t,n,r,s,o){const i=S("mdicon");return w(),$("div",null,[v(Pt,{name:"fade"},{default:E(()=>[n.show?(w(),$("div",kE,[u("div",{class:"modal-background",onClick:t[0]||(t[0]=a=>e.$emit("close"))}),u("div",xE,[u("div",EE,[u("div",SE,[u("p",{class:"title is-4",textContent:g(e.$t("dialog.add.stream.title"))},null,8,$E),u("form",{class:"mb-5",onSubmit:t[2]||(t[2]=ot((...a)=>o.play&&o.play(...a),["prevent"]))},[u("div",AE,[u("p",TE,[ut(u("input",{ref:"url_field","onUpdate:modelValue":t[1]||(t[1]=a=>s.url=a),class:"input is-shadowless",type:"text",placeholder:e.$t("dialog.add.stream.placeholder"),disabled:s.loading},null,8,OE),[[Dt,s.url]]),v(i,{class:"icon is-left",name:"web",size:"16"})])])],32)]),s.loading?(w(),$("footer",DE,[u("a",PE,[v(i,{class:"icon",name:"web",size:"16"}),u("span",{class:"is-size-7",textContent:g(e.$t("dialog.add.stream.loading"))},null,8,IE)])])):(w(),$("footer",FE,[u("a",{class:"card-footer-item has-text-danger",onClick:t[3]||(t[3]=a=>e.$emit("close"))},[v(i,{class:"icon",name:"cancel",size:"16"}),u("span",{class:"is-size-7",textContent:g(e.$t("dialog.add.stream.cancel"))},null,8,RE)]),u("a",{class:"card-footer-item has-text-dark",onClick:t[4]||(t[4]=(...a)=>o.add_stream&&o.add_stream(...a))},[v(i,{class:"icon",name:"playlist-plus",size:"16"}),u("span",{class:"is-size-7",textContent:g(e.$t("dialog.add.stream.add"))},null,8,LE)]),u("a",{class:"card-footer-item has-background-info has-text-white has-text-weight-bold",onClick:t[5]||(t[5]=(...a)=>o.play&&o.play(...a))},[v(i,{class:"icon",name:"play",size:"16"}),u("span",{class:"is-size-7",textContent:g(e.$t("dialog.add.stream.play"))},null,8,ME)])]))])]),u("button",{class:"modal-close is-large","aria-label":"close",onClick:t[6]||(t[6]=a=>e.$emit("close"))})])):H("",!0)]),_:1})])}const VE=se(wE,[["render",NE]]),BE={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,N.queue_save_playlist(this.playlist_name).then(()=>{this.$emit("close"),this.playlist_name=""}).catch(()=>{this.loading=!1}))}}},HE={key:0,class:"modal is-active"},jE={class:"modal-content fd-modal-card"},UE={class:"card"},qE={class:"card-content"},WE=["textContent"],GE={class:"field"},KE={class:"control is-expanded has-icons-left"},ZE=["placeholder","disabled"],YE={key:0,class:"card-footer"},JE={class:"card-footer-item has-text-dark"},XE=["textContent"],QE={key:1,class:"card-footer"},eS=["textContent"],tS=["textContent"];function nS(e,t,n,r,s,o){const i=S("mdicon");return w(),$("div",null,[v(Pt,{name:"fade"},{default:E(()=>[n.show?(w(),$("div",HE,[u("div",{class:"modal-background",onClick:t[0]||(t[0]=a=>e.$emit("close"))}),u("div",jE,[u("div",UE,[u("div",qE,[u("p",{class:"title is-4",textContent:g(e.$t("dialog.playlist.save.title"))},null,8,WE),u("form",{class:"mb-5",onSubmit:t[2]||(t[2]=ot((...a)=>o.save&&o.save(...a),["prevent"]))},[u("div",GE,[u("p",KE,[ut(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,ZE),[[Dt,s.playlist_name]]),v(i,{class:"icon is-left",name:"file-music",size:"16"})])])],32)]),s.loading?(w(),$("footer",YE,[u("a",JE,[v(i,{class:"icon",name:"web",size:"16"}),u("span",{class:"is-size-7",textContent:g(e.$t("dialog.playlist.save.saving"))},null,8,XE)])])):(w(),$("footer",QE,[u("a",{class:"card-footer-item has-text-danger",onClick:t[3]||(t[3]=a=>e.$emit("close"))},[v(i,{class:"icon",name:"cancel",size:"16"}),u("span",{class:"is-size-7",textContent:g(e.$t("dialog.playlist.save.cancel"))},null,8,eS)]),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))},[v(i,{class:"icon",name:"content-save",size:"16"}),u("span",{class:"is-size-7",textContent:g(e.$t("dialog.playlist.save.save"))},null,8,tS)])]))])]),u("button",{class:"modal-close is-large","aria-label":"close",onClick:t[5]||(t[5]=a=>e.$emit("close"))})])):H("",!0)]),_:1})])}const rS=se(BE,[["render",nS]]);var wy={exports:{}};const ky=by(ez);/**!
* Sortable 1.14.0
* @author RubaXa <trash@rubaxa.org>
* @author owenm <owen23355@gmail.com>
* @license MIT
*/function fp(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(s){return Object.getOwnPropertyDescriptor(e,s).enumerable})),n.push.apply(n,r)}return n}function lr(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?fp(Object(n),!0).forEach(function(r){sS(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):fp(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function Ka(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Ka=function(t){return typeof t}:Ka=function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Ka(e)}function sS(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Tn(){return Tn=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},Tn.apply(this,arguments)}function oS(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 iS(e,t){if(e==null)return{};var n=oS(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 aS(e){return lS(e)||uS(e)||cS(e)||dS()}function lS(e){if(Array.isArray(e))return Ic(e)}function uS(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function cS(e,t){if(e){if(typeof e=="string")return Ic(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 Ic(e,t)}}function Ic(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 dS(){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 mS="1.14.0";function br(e){if(typeof window<"u"&&window.navigator)return!!navigator.userAgent.match(e)}var kr=br(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i),Pi=br(/Edge/i),pp=br(/firefox/i),Xo=br(/safari/i)&&!br(/chrome/i)&&!br(/android/i),xy=br(/iP(ad|od|hone)/i),fS=br(/chrome/i)&&br(/android/i),Ey={capture:!1,passive:!1};function Xe(e,t,n){e.addEventListener(t,n,!kr&&Ey)}function Ye(e,t,n){e.removeEventListener(t,n,!kr&&Ey)}function ml(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 pS(e){return e.host&&e!==document&&e.host.nodeType?e.host:e.parentNode}function Rn(e,t,n,r){if(e){n=n||document;do{if(t!=null&&(t[0]===">"?e.parentNode===n&&ml(e,t):ml(e,t))||r&&e===n)return e;if(e===n)break}while(e=pS(e))}return null}var hp=/\s+/g;function zt(e,t,n){if(e&&t)if(e.classList)e.classList[n?"add":"remove"](t);else{var r=(" "+e.className+" ").replace(hp," ").replace(" "+t+" "," ");e.className=(r+(n?" "+t:"")).replace(hp," ")}}function Se(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 fs(e,t){var n="";if(typeof e=="string")n=e;else do{var r=Se(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 Sy(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 vt(e,t,n,r,s){if(!(!e.getBoundingClientRect&&e!==window)){var o,i,a,l,c,d,f;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,f=o.width):(i=0,a=0,l=window.innerHeight,c=window.innerWidth,d=window.innerHeight,f=window.innerWidth),(t||n)&&e!==window&&(s=s||e.parentNode,!kr))do if(s&&s.getBoundingClientRect&&(Se(s,"transform")!=="none"||n&&Se(s,"position")!=="static")){var m=s.getBoundingClientRect();i-=m.top+parseInt(Se(s,"border-top-width")),a-=m.left+parseInt(Se(s,"border-left-width")),l=i+o.height,c=a+o.width;break}while(s=s.parentNode);if(r&&e!==window){var p=fs(s||e),h=p&&p.a,_=p&&p.d;p&&(i/=_,a/=h,f/=h,d/=_,l=i+d,c=a+f)}return{top:i,left:a,bottom:l,right:c,width:f,height:d}}}function _p(e,t,n){for(var r=Br(e,!0),s=vt(e)[t];r;){var o=vt(r)[n],i=void 0;if(n==="top"||n==="left"?i=s>=o:i=s<=o,!i)return r;if(r===or())break;r=Br(r,!1)}return!1}function ro(e,t,n,r){for(var s=0,o=0,i=e.children;o<i.length;){if(i[o].style.display!=="none"&&i[o]!==Re.ghost&&(r||i[o]!==Re.dragged)&&Rn(i[o],n.draggable,e,!1)){if(s===t)return i[o];s++}o++}return null}function Xd(e,t){for(var n=e.lastElementChild;n&&(n===Re.ghost||Se(n,"display")==="none"||t&&!ml(n,t));)n=n.previousElementSibling;return n||null}function Et(e,t){var n=0;if(!e||!e.parentNode)return-1;for(;e=e.previousElementSibling;)e.nodeName.toUpperCase()!=="TEMPLATE"&&e!==Re.clone&&(!t||ml(e,t))&&n++;return n}function gp(e){var t=0,n=0,r=or();if(e)do{var s=fs(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 hS(e,t){for(var n in e)if(e.hasOwnProperty(n)){for(var r in t)if(t.hasOwnProperty(r)&&t[r]===e[n][r])return Number(n)}return-1}function Br(e,t){if(!e||!e.getBoundingClientRect)return or();var n=e,r=!1;do if(n.clientWidth<n.scrollWidth||n.clientHeight<n.scrollHeight){var s=Se(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 _S(e,t){if(e&&t)for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e}function Su(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 Qo;function $y(e,t){return function(){if(!Qo){var n=arguments,r=this;n.length===1?e.call(r,n[0]):e.apply(r,n),Qo=setTimeout(function(){Qo=void 0},t)}}}function gS(){clearTimeout(Qo),Qo=void 0}function Ay(e,t,n){e.scrollLeft+=t,e.scrollTop+=n}function Qd(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 yp(e,t){Se(e,"position","absolute"),Se(e,"top",t.top),Se(e,"left",t.left),Se(e,"width",t.width),Se(e,"height",t.height)}function $u(e){Se(e,"position",""),Se(e,"top",""),Se(e,"left",""),Se(e,"width",""),Se(e,"height","")}var jt="Sortable"+new Date().getTime();function yS(){var e=[],t;return{captureAnimationState:function(){if(e=[],!!this.options.animation){var r=[].slice.call(this.el.children);r.forEach(function(s){if(!(Se(s,"display")==="none"||s===Re.ghost)){e.push({target:s,rect:vt(s)});var o=lr({},e[e.length-1].rect);if(s.thisAnimationDuration){var i=fs(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(hS(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,f=vt(c),m=c.prevFromRect,p=c.prevToRect,h=a.rect,_=fs(c,!0);_&&(f.top-=_.f,f.left-=_.e),c.toRect=f,c.thisAnimationDuration&&Su(m,f)&&!Su(d,f)&&(h.top-f.top)/(h.left-f.left)===(d.top-f.top)/(d.left-f.left)&&(l=bS(h,m,p,s.options)),Su(f,d)||(c.prevFromRect=d,c.prevToRect=f,l||(l=s.options.animation),s.animate(c,h,f,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){Se(r,"transition",""),Se(r,"transform","");var a=fs(this.el),l=a&&a.a,c=a&&a.d,d=(s.left-o.left)/(l||1),f=(s.top-o.top)/(c||1);r.animatingX=!!d,r.animatingY=!!f,Se(r,"transform","translate3d("+d+"px,"+f+"px,0)"),this.forRepaintDummy=vS(r),Se(r,"transition","transform "+i+"ms"+(this.options.easing?" "+this.options.easing:"")),Se(r,"transform","translate3d(0,0,0)"),typeof r.animated=="number"&&clearTimeout(r.animated),r.animated=setTimeout(function(){Se(r,"transition",""),Se(r,"transform",""),r.animated=!1,r.animatingX=!1,r.animatingY=!1},i)}}}}function vS(e){return e.offsetWidth}function bS(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 Ss=[],Au={initializeByDefault:!0},Ii={mount:function(t){for(var n in Au)Au.hasOwnProperty(n)&&!(n in t)&&(t[n]=Au[n]);Ss.forEach(function(r){if(r.pluginName===t.pluginName)throw"Sortable: Cannot mount plugin ".concat(t.pluginName," more than once")}),Ss.push(t)},pluginEvent:function(t,n,r){var s=this;this.eventCanceled=!1,r.cancel=function(){s.eventCanceled=!0};var o=t+"Global";Ss.forEach(function(i){n[i.pluginName]&&(n[i.pluginName][o]&&n[i.pluginName][o](lr({sortable:n},r)),n.options[i.pluginName]&&n[i.pluginName][t]&&n[i.pluginName][t](lr({sortable:n},r)))})},initializePlugins:function(t,n,r,s){Ss.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,Tn(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 Ss.forEach(function(s){typeof s.eventProperties=="function"&&Tn(r,s.eventProperties.call(n[s.pluginName],t))}),r},modifyOption:function(t,n,r){var s;return Ss.forEach(function(o){t[o.pluginName]&&o.optionListeners&&typeof o.optionListeners[n]=="function"&&(s=o.optionListeners[n].call(t[o.pluginName],r))}),s}};function Ro(e){var t=e.sortable,n=e.rootEl,r=e.name,s=e.targetEl,o=e.cloneEl,i=e.toEl,a=e.fromEl,l=e.oldIndex,c=e.newIndex,d=e.oldDraggableIndex,f=e.newDraggableIndex,m=e.originalEvent,p=e.putSortable,h=e.extraEventProperties;if(t=t||n&&n[jt],!!t){var _,C=t.options,b="on"+r.charAt(0).toUpperCase()+r.substr(1);window.CustomEvent&&!kr&&!Pi?_=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=f,_.originalEvent=m,_.pullMode=p?p.lastPutMode:void 0;var y=lr(lr({},h),Ii.getEventProperties(r,t));for(var k in y)_[k]=y[k];n&&n.dispatchEvent(_),C[b]&&C[b].call(t,_)}}var CS=["evt"],en=function(t,n){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},s=r.evt,o=iS(r,CS);Ii.pluginEvent.bind(Re)(t,n,lr({dragEl:me,parentEl:wt,ghostEl:qe,rootEl:yt,nextEl:ss,lastDownEl:Za,cloneEl:kt,cloneHidden:Nr,dragStarted:Lo,putSortable:Nt,activeSortable:Re.active,originalEvent:s,oldIndex:Bs,oldDraggableIndex:ei,newIndex:cn,newDraggableIndex:Lr,hideGhostForTarget:Py,unhideGhostForTarget:Iy,cloneNowHidden:function(){Nr=!0},cloneNowShown:function(){Nr=!1},dispatchSortableEvent:function(a){Gt({sortable:n,name:a,originalEvent:s})}},o))};function Gt(e){Ro(lr({putSortable:Nt,cloneEl:kt,targetEl:me,rootEl:yt,oldIndex:Bs,oldDraggableIndex:ei,newIndex:cn,newDraggableIndex:Lr},e))}var me,wt,qe,yt,ss,Za,kt,Nr,Bs,cn,ei,Lr,ea,Nt,Rs=!1,fl=!1,pl=[],ts,Dn,Tu,Ou,vp,bp,Lo,$s,ti,ni=!1,ta=!1,Ya,Bt,Du=[],Fc=!1,hl=[],Ql=typeof document<"u",na=xy,Cp=Pi||kr?"cssFloat":"float",zS=Ql&&!fS&&!xy&&"draggable"in document.createElement("div"),Ty=function(){if(Ql){if(kr)return!1;var e=document.createElement("x");return e.style.cssText="pointer-events:auto",e.style.pointerEvents==="auto"}}(),Oy=function(t,n){var r=Se(t),s=parseInt(r.width)-parseInt(r.paddingLeft)-parseInt(r.paddingRight)-parseInt(r.borderLeftWidth)-parseInt(r.borderRightWidth),o=ro(t,0,n),i=ro(t,1,n),a=o&&Se(o),l=i&&Se(i),c=a&&parseInt(a.marginLeft)+parseInt(a.marginRight)+vt(o).width,d=l&&parseInt(l.marginLeft)+parseInt(l.marginRight)+vt(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 f=a.float==="left"?"left":"right";return i&&(l.clear==="both"||l.clear===f)?"vertical":"horizontal"}return o&&(a.display==="block"||a.display==="flex"||a.display==="table"||a.display==="grid"||c>=s&&r[Cp]==="none"||i&&r[Cp]==="none"&&c+d>s)?"vertical":"horizontal"},wS=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},kS=function(t,n){var r;return pl.some(function(s){var o=s[jt].options.emptyInsertThreshold;if(!(!o||Xd(s))){var i=vt(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},Dy=function(t){function n(o,i){return function(a,l,c,d){var f=a.options.group.name&&l.options.group.name&&a.options.group.name===l.options.group.name;if(o==null&&(i||f))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 m=(i?a:l).options.group.name;return o===!0||typeof o=="string"&&o===m||o.join&&o.indexOf(m)>-1}}var r={},s=t.group;(!s||Ka(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},Py=function(){!Ty&&qe&&Se(qe,"display","none")},Iy=function(){!Ty&&qe&&Se(qe,"display","")};Ql&&document.addEventListener("click",function(e){if(fl)return e.preventDefault(),e.stopPropagation&&e.stopPropagation(),e.stopImmediatePropagation&&e.stopImmediatePropagation(),fl=!1,!1},!0);var ns=function(t){if(me){t=t.touches?t.touches[0]:t;var n=kS(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[jt]._onDragOver(r)}}},xS=function(t){me&&me.parentNode[jt]._isOutsideThisEl(t.target)};function Re(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=Tn({},t),e[jt]=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 Oy(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:Re.supportPointer!==!1&&"PointerEvent"in window&&!Xo,emptyInsertThreshold:5};Ii.initializePlugins(this,e,n);for(var r in n)!(r in t)&&(t[r]=n[r]);Dy(t);for(var s in this)s.charAt(0)==="_"&&typeof this[s]=="function"&&(this[s]=this[s].bind(this));this.nativeDraggable=t.forceFallback?!1:zS,this.nativeDraggable&&(this.options.touchStartThreshold=1),t.supportPointer?Xe(e,"pointerdown",this._onTapStart):(Xe(e,"mousedown",this._onTapStart),Xe(e,"touchstart",this._onTapStart)),this.nativeDraggable&&(Xe(e,"dragover",this),Xe(e,"dragenter",this)),pl.push(this.el),t.store&&t.store.get&&this.sort(t.store.get(this)||[]),Tn(this,yS())}Re.prototype={constructor:Re,_isOutsideThisEl:function(t){!this.el.contains(t)&&t!==this.el&&($s=null)},_getDirection:function(t,n){return typeof this.options.direction=="function"?this.options.direction.call(this,t,n,me):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(PS(r),!me&&!(/mousedown|pointerdown/.test(i)&&t.button!==0||s.disabled)&&!c.isContentEditable&&!(!this.nativeDraggable&&Xo&&l&&l.tagName.toUpperCase()==="SELECT")&&(l=Rn(l,s.draggable,r,!1),!(l&&l.animated)&&Za!==l)){if(Bs=Et(l),ei=Et(l,s.draggable),typeof d=="function"){if(d.call(this,t,l,this)){Gt({sortable:n,rootEl:c,name:"filter",targetEl:l,toEl:r,fromEl:r}),en("filter",n,{evt:t}),o&&t.cancelable&&t.preventDefault();return}}else if(d&&(d=d.split(",").some(function(f){if(f=Rn(c,f.trim(),r,!1),f)return Gt({sortable:n,rootEl:f,name:"filter",targetEl:l,fromEl:r,toEl:r}),en("filter",n,{evt:t}),!0}),d)){o&&t.cancelable&&t.preventDefault();return}s.handle&&!Rn(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&&!me&&r.parentNode===o){var c=vt(r);if(yt=o,me=r,wt=me.parentNode,ss=me.nextSibling,Za=r,ea=i.group,Re.dragged=me,ts={target:me,clientX:(n||t).clientX,clientY:(n||t).clientY},vp=ts.clientX-c.left,bp=ts.clientY-c.top,this._lastX=(n||t).clientX,this._lastY=(n||t).clientY,me.style["will-change"]="all",l=function(){if(en("delayEnded",s,{evt:t}),Re.eventCanceled){s._onDrop();return}s._disableDelayedDragEvents(),!pp&&s.nativeDraggable&&(me.draggable=!0),s._triggerDragStart(t,n),Gt({sortable:s,name:"choose",originalEvent:t}),zt(me,i.chosenClass,!0)},i.ignore.split(",").forEach(function(d){Sy(me,d.trim(),Pu)}),Xe(a,"dragover",ns),Xe(a,"mousemove",ns),Xe(a,"touchmove",ns),Xe(a,"mouseup",s._onDrop),Xe(a,"touchend",s._onDrop),Xe(a,"touchcancel",s._onDrop),pp&&this.nativeDraggable&&(this.options.touchStartThreshold=4,me.draggable=!0),en("delayStart",this,{evt:t}),i.delay&&(!i.delayOnTouchOnly||n)&&(!this.nativeDraggable||!(Pi||kr))){if(Re.eventCanceled){this._onDrop();return}Xe(a,"mouseup",s._disableDelayedDrag),Xe(a,"touchend",s._disableDelayedDrag),Xe(a,"touchcancel",s._disableDelayedDrag),Xe(a,"mousemove",s._delayedDragTouchMoveHandler),Xe(a,"touchmove",s._delayedDragTouchMoveHandler),i.supportPointer&&Xe(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(){me&&Pu(me),clearTimeout(this._dragStartTimer),this._disableDelayedDragEvents()},_disableDelayedDragEvents:function(){var t=this.el.ownerDocument;Ye(t,"mouseup",this._disableDelayedDrag),Ye(t,"touchend",this._disableDelayedDrag),Ye(t,"touchcancel",this._disableDelayedDrag),Ye(t,"mousemove",this._delayedDragTouchMoveHandler),Ye(t,"touchmove",this._delayedDragTouchMoveHandler),Ye(t,"pointermove",this._delayedDragTouchMoveHandler)},_triggerDragStart:function(t,n){n=n||t.pointerType=="touch"&&t,!this.nativeDraggable||n?this.options.supportPointer?Xe(document,"pointermove",this._onTouchMove):n?Xe(document,"touchmove",this._onTouchMove):Xe(document,"mousemove",this._onTouchMove):(Xe(me,"dragend",this),Xe(yt,"dragstart",this._onDragStart));try{document.selection?Ja(function(){document.selection.empty()}):window.getSelection().removeAllRanges()}catch{}},_dragStarted:function(t,n){if(Rs=!1,yt&&me){en("dragStarted",this,{evt:n}),this.nativeDraggable&&Xe(document,"dragover",xS);var r=this.options;!t&&zt(me,r.dragClass,!1),zt(me,r.ghostClass,!0),Re.active=this,t&&this._appendGhost(),Gt({sortable:this,name:"start",originalEvent:n})}else this._nulling()},_emulateDragOver:function(){if(Dn){this._lastX=Dn.clientX,this._lastY=Dn.clientY,Py();for(var t=document.elementFromPoint(Dn.clientX,Dn.clientY),n=t;t&&t.shadowRoot&&(t=t.shadowRoot.elementFromPoint(Dn.clientX,Dn.clientY),t!==n);)n=t;if(me.parentNode[jt]._isOutsideThisEl(t),n)do{if(n[jt]){var r=void 0;if(r=n[jt]._onDragOver({clientX:Dn.clientX,clientY:Dn.clientY,target:t,rootEl:n}),r&&!this.options.dragoverBubble)break}t=n}while(n=n.parentNode);Iy()}},_onTouchMove:function(t){if(ts){var n=this.options,r=n.fallbackTolerance,s=n.fallbackOffset,o=t.touches?t.touches[0]:t,i=qe&&fs(qe,!0),a=qe&&i&&i.a,l=qe&&i&&i.d,c=na&&Bt&&gp(Bt),d=(o.clientX-ts.clientX+s.x)/(a||1)+(c?c[0]-Du[0]:0)/(a||1),f=(o.clientY-ts.clientY+s.y)/(l||1)+(c?c[1]-Du[1]:0)/(l||1);if(!Re.active&&!Rs){if(r&&Math.max(Math.abs(o.clientX-this._lastX),Math.abs(o.clientY-this._lastY))<r)return;this._onDragStart(t,!0)}if(qe){i?(i.e+=d-(Tu||0),i.f+=f-(Ou||0)):i={a:1,b:0,c:0,d:1,e:d,f};var m="matrix(".concat(i.a,",").concat(i.b,",").concat(i.c,",").concat(i.d,",").concat(i.e,",").concat(i.f,")");Se(qe,"webkitTransform",m),Se(qe,"mozTransform",m),Se(qe,"msTransform",m),Se(qe,"transform",m),Tu=d,Ou=f,Dn=o}t.cancelable&&t.preventDefault()}},_appendGhost:function(){if(!qe){var t=this.options.fallbackOnBody?document.body:yt,n=vt(me,!0,na,!0,t),r=this.options;if(na){for(Bt=t;Se(Bt,"position")==="static"&&Se(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(),Du=gp(Bt)}qe=me.cloneNode(!0),zt(qe,r.ghostClass,!1),zt(qe,r.fallbackClass,!0),zt(qe,r.dragClass,!0),Se(qe,"transition",""),Se(qe,"transform",""),Se(qe,"box-sizing","border-box"),Se(qe,"margin",0),Se(qe,"top",n.top),Se(qe,"left",n.left),Se(qe,"width",n.width),Se(qe,"height",n.height),Se(qe,"opacity","0.8"),Se(qe,"position",na?"absolute":"fixed"),Se(qe,"zIndex","100000"),Se(qe,"pointerEvents","none"),Re.ghost=qe,t.appendChild(qe),Se(qe,"transform-origin",vp/parseInt(qe.style.width)*100+"% "+bp/parseInt(qe.style.height)*100+"%")}},_onDragStart:function(t,n){var r=this,s=t.dataTransfer,o=r.options;if(en("dragStart",this,{evt:t}),Re.eventCanceled){this._onDrop();return}en("setupClone",this),Re.eventCanceled||(kt=Qd(me),kt.draggable=!1,kt.style["will-change"]="",this._hideClone(),zt(kt,this.options.chosenClass,!1),Re.clone=kt),r.cloneId=Ja(function(){en("clone",r),!Re.eventCanceled&&(r.options.removeCloneOnHide||yt.insertBefore(kt,me),r._hideClone(),Gt({sortable:r,name:"clone"}))}),!n&&zt(me,o.dragClass,!0),n?(fl=!0,r._loopId=setInterval(r._emulateDragOver,50)):(Ye(document,"mouseup",r._onDrop),Ye(document,"touchend",r._onDrop),Ye(document,"touchcancel",r._onDrop),s&&(s.effectAllowed="move",o.setData&&o.setData.call(r,s,me)),Xe(document,"drop",r),Se(me,"transform","translateZ(0)")),Rs=!0,r._dragStartId=Ja(r._dragStarted.bind(r,n,t)),Xe(document,"selectstart",r),Lo=!0,Xo&&Se(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=Re.active,d=ea===l,f=a.sort,m=Nt||c,p,h=this,_=!1;if(Fc)return;function C(ye,je){en(ye,h,lr({evt:t,isOwner:d,axis:p?"vertical":"horizontal",revert:i,dragRect:s,targetRect:o,canSort:f,fromSortable:m,target:r,completed:y,onMove:function(ce,W){return ra(yt,n,me,s,ce,vt(ce),t,W)},changed:k},je))}function b(){C("dragOverAnimationCapture"),h.captureAnimationState(),h!==m&&m.captureAnimationState()}function y(ye){return C("dragOverCompleted",{insertion:ye}),ye&&(d?c._hideClone():c._showClone(h),h!==m&&(zt(me,Nt?Nt.options.ghostClass:c.options.ghostClass,!1),zt(me,a.ghostClass,!0)),Nt!==h&&h!==Re.active?Nt=h:h===Re.active&&Nt&&(Nt=null),m===h&&(h._ignoreWhileAnimating=r),h.animateAll(function(){C("dragOverAnimationComplete"),h._ignoreWhileAnimating=null}),h!==m&&(m.animateAll(),m._ignoreWhileAnimating=null)),(r===me&&!me.animated||r===n&&!r.animated)&&($s=null),!a.dragoverBubble&&!t.rootEl&&r!==document&&(me.parentNode[jt]._isOutsideThisEl(t.target),!ye&&ns(t)),!a.dragoverBubble&&t.stopPropagation&&t.stopPropagation(),_=!0}function k(){cn=Et(me),Lr=Et(me,a.draggable),Gt({sortable:h,name:"change",toEl:n,newIndex:cn,newDraggableIndex:Lr,originalEvent:t})}if(t.preventDefault!==void 0&&t.cancelable&&t.preventDefault(),r=Rn(r,a.draggable,n,!0),C("dragOver"),Re.eventCanceled)return _;if(me.contains(t.target)||r.animated&&r.animatingX&&r.animatingY||h._ignoreWhileAnimating===r)return y(!1);if(fl=!1,c&&!a.disabled&&(d?f||(i=wt!==yt):Nt===this||(this.lastPutMode=ea.checkPull(this,c,me,t))&&l.checkPut(this,c,me,t))){if(p=this._getDirection(t,r)==="vertical",s=vt(me),C("dragOverValid"),Re.eventCanceled)return _;if(i)return wt=yt,b(),this._hideClone(),C("revert"),Re.eventCanceled||(ss?yt.insertBefore(me,ss):yt.appendChild(me)),y(!0);var z=Xd(n,a.draggable);if(!z||AS(t,p,this)&&!z.animated){if(z===me)return y(!1);if(z&&n===t.target&&(r=z),r&&(o=vt(r)),ra(yt,n,me,s,r,o,t,!!r)!==!1)return b(),n.appendChild(me),wt=n,k(),y(!0)}else if(z&&$S(t,p,this)){var x=ro(n,0,a,!0);if(x===me)return y(!1);if(r=x,o=vt(r),ra(yt,n,me,s,r,o,t,!1)!==!1)return b(),n.insertBefore(me,x),wt=n,k(),y(!0)}else if(r.parentNode===n){o=vt(r);var T=0,L,I=me.parentNode!==n,D=!wS(me.animated&&me.toRect||s,r.animated&&r.toRect||o,p),U=p?"top":"left",Z=_p(r,"top","top")||_p(me,"top","top"),X=Z?Z.scrollTop:void 0;$s!==r&&(L=o[U],ni=!1,ta=!D&&a.invertSwap||I),T=TS(t,r,o,p,D?1:a.swapThreshold,a.invertedSwapThreshold==null?a.swapThreshold:a.invertedSwapThreshold,ta,$s===r);var j;if(T!==0){var q=Et(me);do q-=T,j=wt.children[q];while(j&&(Se(j,"display")==="none"||j===qe))}if(T===0||j===r)return y(!1);$s=r,ti=T;var Ce=r.nextElementSibling,te=!1;te=T===1;var ie=ra(yt,n,me,s,r,o,t,te);if(ie!==!1)return(ie===1||ie===-1)&&(te=ie===1),Fc=!0,setTimeout(SS,30),b(),te&&!Ce?n.appendChild(me):r.parentNode.insertBefore(me,te?Ce:r),Z&&Ay(Z,0,X-Z.scrollTop),wt=me.parentNode,L!==void 0&&!ta&&(Ya=Math.abs(L-vt(r)[U])),k(),y(!0)}if(n.contains(me))return y(!1)}return!1},_ignoreWhileAnimating:null,_offMoveEvents:function(){Ye(document,"mousemove",this._onTouchMove),Ye(document,"touchmove",this._onTouchMove),Ye(document,"pointermove",this._onTouchMove),Ye(document,"dragover",ns),Ye(document,"mousemove",ns),Ye(document,"touchmove",ns)},_offUpEvents:function(){var t=this.el.ownerDocument;Ye(t,"mouseup",this._onDrop),Ye(t,"touchend",this._onDrop),Ye(t,"pointerup",this._onDrop),Ye(t,"touchcancel",this._onDrop),Ye(document,"selectstart",this)},_onDrop:function(t){var n=this.el,r=this.options;if(cn=Et(me),Lr=Et(me,r.draggable),en("drop",this,{evt:t}),wt=me&&me.parentNode,cn=Et(me),Lr=Et(me,r.draggable),Re.eventCanceled){this._nulling();return}Rs=!1,ta=!1,ni=!1,clearInterval(this._loopId),clearTimeout(this._dragStartTimer),Rc(this.cloneId),Rc(this._dragStartId),this.nativeDraggable&&(Ye(document,"drop",this),Ye(n,"dragstart",this._onDragStart)),this._offMoveEvents(),this._offUpEvents(),Xo&&Se(document.body,"user-select",""),Se(me,"transform",""),t&&(Lo&&(t.cancelable&&t.preventDefault(),!r.dropBubble&&t.stopPropagation()),qe&&qe.parentNode&&qe.parentNode.removeChild(qe),(yt===wt||Nt&&Nt.lastPutMode!=="clone")&&kt&&kt.parentNode&&kt.parentNode.removeChild(kt),me&&(this.nativeDraggable&&Ye(me,"dragend",this),Pu(me),me.style["will-change"]="",Lo&&!Rs&&zt(me,Nt?Nt.options.ghostClass:this.options.ghostClass,!1),zt(me,this.options.chosenClass,!1),Gt({sortable:this,name:"unchoose",toEl:wt,newIndex:null,newDraggableIndex:null,originalEvent:t}),yt!==wt?(cn>=0&&(Gt({rootEl:wt,name:"add",toEl:wt,fromEl:yt,originalEvent:t}),Gt({sortable:this,name:"remove",toEl:wt,originalEvent:t}),Gt({rootEl:wt,name:"sort",toEl:wt,fromEl:yt,originalEvent:t}),Gt({sortable:this,name:"sort",toEl:wt,originalEvent:t})),Nt&&Nt.save()):cn!==Bs&&cn>=0&&(Gt({sortable:this,name:"update",toEl:wt,originalEvent:t}),Gt({sortable:this,name:"sort",toEl:wt,originalEvent:t})),Re.active&&((cn==null||cn===-1)&&(cn=Bs,Lr=ei),Gt({sortable:this,name:"end",toEl:wt,originalEvent:t}),this.save()))),this._nulling()},_nulling:function(){en("nulling",this),yt=me=wt=qe=ss=kt=Za=Nr=ts=Dn=Lo=cn=Lr=Bs=ei=$s=ti=Nt=ea=Re.dragged=Re.ghost=Re.clone=Re.active=null,hl.forEach(function(t){t.checked=!0}),hl.length=Tu=Ou=0},handleEvent:function(t){switch(t.type){case"drop":case"dragend":this._onDrop(t);break;case"dragenter":case"dragover":me&&(this._onDragOver(t),ES(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],Rn(n,i.draggable,this.el,!1)&&t.push(n.getAttribute(i.dataIdAttr)||DS(n));return t},sort:function(t,n){var r={},s=this.el;this.toArray().forEach(function(o,i){var a=s.children[i];Rn(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 Rn(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=Ii.modifyOption(this,t,n);typeof s<"u"?r[t]=s:r[t]=n,t==="group"&&Dy(r)},destroy:function(){en("destroy",this);var t=this.el;t[jt]=null,Ye(t,"mousedown",this._onTapStart),Ye(t,"touchstart",this._onTapStart),Ye(t,"pointerdown",this._onTapStart),this.nativeDraggable&&(Ye(t,"dragover",this),Ye(t,"dragenter",this)),Array.prototype.forEach.call(t.querySelectorAll("[draggable]"),function(n){n.removeAttribute("draggable")}),this._onDrop(),this._disableDelayedDragEvents(),pl.splice(pl.indexOf(this.el),1),this.el=t=null},_hideClone:function(){if(!Nr){if(en("hideClone",this),Re.eventCanceled)return;Se(kt,"display","none"),this.options.removeCloneOnHide&&kt.parentNode&&kt.parentNode.removeChild(kt),Nr=!0}},_showClone:function(t){if(t.lastPutMode!=="clone"){this._hideClone();return}if(Nr){if(en("showClone",this),Re.eventCanceled)return;me.parentNode==yt&&!this.options.group.revertClone?yt.insertBefore(kt,me):ss?yt.insertBefore(kt,ss):yt.appendChild(kt),this.options.group.revertClone&&this.animate(me,kt),Se(kt,"display",""),Nr=!1}}};function ES(e){e.dataTransfer&&(e.dataTransfer.dropEffect="move"),e.cancelable&&e.preventDefault()}function ra(e,t,n,r,s,o,i,a){var l,c=e[jt],d=c.options.onMove,f;return window.CustomEvent&&!kr&&!Pi?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||vt(t),l.willInsertAfter=a,l.originalEvent=i,e.dispatchEvent(l),d&&(f=d.call(c,l,i)),f}function Pu(e){e.draggable=!1}function SS(){Fc=!1}function $S(e,t,n){var r=vt(ro(n.el,0,n.options,!0)),s=10;return t?e.clientX<r.left-s||e.clientY<r.top&&e.clientX<r.right:e.clientY<r.top-s||e.clientY<r.bottom&&e.clientX<r.left}function AS(e,t,n){var r=vt(Xd(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 TS(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,f=r?n.bottom:n.right,m=!1;if(!i){if(a&&Ya<c*s){if(!ni&&(ti===1?l>d+c*o/2:l<f-c*o/2)&&(ni=!0),ni)m=!0;else if(ti===1?l<d+Ya:l>f-Ya)return-ti}else if(l>d+c*(1-s)/2&&l<f-c*(1-s)/2)return OS(t)}return m=m||i,m&&(l<d+c*o/2||l>f-c*o/2)?l>d+c/2?1:-1:0}function OS(e){return Et(me)<Et(e)?1:-1}function DS(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 PS(e){hl.length=0;for(var t=e.getElementsByTagName("input"),n=t.length;n--;){var r=t[n];r.checked&&hl.push(r)}}function Ja(e){return setTimeout(e,0)}function Rc(e){return clearTimeout(e)}Ql&&Xe(document,"touchmove",function(e){(Re.active||Rs)&&e.cancelable&&e.preventDefault()});Re.utils={on:Xe,off:Ye,css:Se,find:Sy,is:function(t,n){return!!Rn(t,n,t,!1)},extend:_S,throttle:$y,closest:Rn,toggleClass:zt,clone:Qd,index:Et,nextTick:Ja,cancelNextTick:Rc,detectDirection:Oy,getChild:ro};Re.get=function(e){return e[jt]};Re.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&&(Re.utils=lr(lr({},Re.utils),r.utils)),Ii.mount(r)})};Re.create=function(e,t){return new Re(e,t)};Re.version=mS;var St=[],Mo,Lc,Mc=!1,Iu,Fu,_l,No;function IS(){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?Xe(document,"dragover",this._handleAutoScroll):this.options.supportPointer?Xe(document,"pointermove",this._handleFallbackAutoScroll):r.touches?Xe(document,"touchmove",this._handleFallbackAutoScroll):Xe(document,"mousemove",this._handleFallbackAutoScroll)},dragOverCompleted:function(n){var r=n.originalEvent;!this.options.dragOverBubble&&!r.rootEl&&this._handleAutoScroll(r)},drop:function(){this.sortable.nativeDraggable?Ye(document,"dragover",this._handleAutoScroll):(Ye(document,"pointermove",this._handleFallbackAutoScroll),Ye(document,"touchmove",this._handleFallbackAutoScroll),Ye(document,"mousemove",this._handleFallbackAutoScroll)),zp(),Xa(),gS()},nulling:function(){_l=Lc=Mo=Mc=No=Iu=Fu=null,St.length=0},_handleFallbackAutoScroll:function(n){this._handleAutoScroll(n,!0)},_handleAutoScroll:function(n,r){var s=this,o=(n.touches?n.touches[0]:n).clientX,i=(n.touches?n.touches[0]:n).clientY,a=document.elementFromPoint(o,i);if(_l=n,r||this.options.forceAutoScrollFallback||Pi||kr||Xo){Ru(n,this.options,a,r);var l=Br(a,!0);Mc&&(!No||o!==Iu||i!==Fu)&&(No&&zp(),No=setInterval(function(){var c=Br(document.elementFromPoint(o,i),!0);c!==l&&(l=c,Xa()),Ru(n,s.options,c,r)},10),Iu=o,Fu=i)}else{if(!this.options.bubbleScroll||Br(a,!0)===or()){Xa();return}Ru(n,this.options,Br(a,!1),!1)}}},Tn(e,{pluginName:"scroll",initializeByDefault:!0})}function Xa(){St.forEach(function(e){clearInterval(e.pid)}),St=[]}function zp(){clearInterval(No)}var Ru=$y(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;Lc!==n&&(Lc=n,Xa(),Mo=t.scroll,d=t.scrollFn,Mo===!0&&(Mo=Br(n,!0)));var f=0,m=Mo;do{var p=m,h=vt(p),_=h.top,C=h.bottom,b=h.left,y=h.right,k=h.width,z=h.height,x=void 0,T=void 0,L=p.scrollWidth,I=p.scrollHeight,D=Se(p),U=p.scrollLeft,Z=p.scrollTop;p===l?(x=k<L&&(D.overflowX==="auto"||D.overflowX==="scroll"||D.overflowX==="visible"),T=z<I&&(D.overflowY==="auto"||D.overflowY==="scroll"||D.overflowY==="visible")):(x=k<L&&(D.overflowX==="auto"||D.overflowX==="scroll"),T=z<I&&(D.overflowY==="auto"||D.overflowY==="scroll"));var X=x&&(Math.abs(y-s)<=i&&U+k<L)-(Math.abs(b-s)<=i&&!!U),j=T&&(Math.abs(C-o)<=i&&Z+z<I)-(Math.abs(_-o)<=i&&!!Z);if(!St[f])for(var q=0;q<=f;q++)St[q]||(St[q]={});(St[f].vx!=X||St[f].vy!=j||St[f].el!==p)&&(St[f].el=p,St[f].vx=X,St[f].vy=j,clearInterval(St[f].pid),(X!=0||j!=0)&&(c=!0,St[f].pid=setInterval(function(){r&&this.layer===0&&Re.active._onTouchMove(_l);var Ce=St[this.layer].vy?St[this.layer].vy*a:0,te=St[this.layer].vx?St[this.layer].vx*a:0;typeof d=="function"&&d.call(Re.dragged.parentNode[jt],te,Ce,e,_l,St[this.layer].el)!=="continue"||Ay(St[this.layer].el,te,Ce)}.bind({layer:f}),24))),f++}while(t.bubbleScroll&&m!==l&&(m=Br(m,!1)));Mc=c}},30),Fy=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,f=document.elementFromPoint(d.clientX,d.clientY);l(),c&&!c.el.contains(f)&&(i("spill"),this.onSpill({dragEl:s,putSortable:r}))}};function em(){}em.prototype={startIndex:null,dragStart:function(t){var n=t.oldDraggableIndex;this.startIndex=n},onSpill:function(t){var n=t.dragEl,r=t.putSortable;this.sortable.captureAnimationState(),r&&r.captureAnimationState();var s=ro(this.sortable.el,this.startIndex,this.options);s?this.sortable.el.insertBefore(n,s):this.sortable.el.appendChild(n),this.sortable.animateAll(),r&&r.animateAll()},drop:Fy};Tn(em,{pluginName:"revertOnSpill"});function tm(){}tm.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:Fy};Tn(tm,{pluginName:"removeOnSpill"});var wn;function FS(){function e(){this.defaults={swapClass:"sortable-swap-highlight"}}return e.prototype={dragStart:function(n){var r=n.dragEl;wn=r},dragOverValid:function(n){var r=n.completed,s=n.target,o=n.onMove,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 f=wn;o(s)!==!1?(zt(s,d.swapClass,!0),wn=s):wn=null,f&&f!==wn&&zt(f,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;wn&&zt(wn,a.swapClass,!1),wn&&(a.swap||s&&s.options.swap)&&o!==wn&&(i.captureAnimationState(),i!==r&&r.captureAnimationState(),RS(o,wn),i.animateAll(),i!==r&&r.animateAll())},nulling:function(){wn=null}},Tn(e,{pluginName:"swap",eventProperties:function(){return{swapItem:wn}}})}function RS(e,t){var n=e.parentNode,r=t.parentNode,s,o;!n||!r||n.isEqualNode(t)||r.isEqualNode(e)||(s=Et(e),o=Et(t),n.isEqualNode(r)&&s<o&&o++,n.insertBefore(t,n.children[s]),r.insertBefore(e,r.children[o]))}var He=[],un=[],ko,Pn,xo=!1,tn=!1,As=!1,ht,Eo,sa;function LS(){function e(t){for(var n in this)n.charAt(0)==="_"&&typeof this[n]=="function"&&(this[n]=this[n].bind(this));t.options.supportPointer?Xe(document,"pointerup",this._deselectMultiDrag):(Xe(document,"mouseup",this._deselectMultiDrag),Xe(document,"touchend",this._deselectMultiDrag)),Xe(document,"keydown",this._checkKeyDown),Xe(document,"keyup",this._checkKeyUp),this.defaults={selectedClass:"sortable-selected",multiDragKey:null,setData:function(s,o){var i="";He.length&&Pn===t?He.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;ht=r},delayEnded:function(){this.isMultiDrag=~He.indexOf(ht)},setupClone:function(n){var r=n.sortable,s=n.cancel;if(this.isMultiDrag){for(var o=0;o<He.length;o++)un.push(Qd(He[o])),un[o].sortableIndex=He[o].sortableIndex,un[o].draggable=!1,un[o].style["will-change"]="",zt(un[o],this.options.selectedClass,!1),He[o]===ht&&zt(un[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||He.length&&Pn===r&&(wp(!0,s),o("clone"),i()))},showClone:function(n){var r=n.cloneNowShown,s=n.rootEl,o=n.cancel;this.isMultiDrag&&(wp(!1,s),un.forEach(function(i){Se(i,"display","")}),r(),sa=!1,o())},hideClone:function(n){var r=this;n.sortable;var s=n.cloneNowHidden,o=n.cancel;this.isMultiDrag&&(un.forEach(function(i){Se(i,"display","none"),r.options.removeCloneOnHide&&i.parentNode&&i.parentNode.removeChild(i)}),s(),sa=!0,o())},dragStartGlobal:function(n){n.sortable,!this.isMultiDrag&&Pn&&Pn.multiDrag._deselectMultiDrag(),He.forEach(function(r){r.sortableIndex=Et(r)}),He=He.sort(function(r,s){return r.sortableIndex-s.sortableIndex}),As=!0},dragStarted:function(n){var r=this,s=n.sortable;if(this.isMultiDrag){if(this.options.sort&&(s.captureAnimationState(),this.options.animation)){He.forEach(function(i){i!==ht&&Se(i,"position","absolute")});var o=vt(ht,!1,!0,!0);He.forEach(function(i){i!==ht&&yp(i,o)}),tn=!0,xo=!0}s.animateAll(function(){tn=!1,xo=!1,r.options.animation&&He.forEach(function(i){$u(i)}),r.options.sort&&oa()})}},dragOver:function(n){var r=n.target,s=n.completed,o=n.cancel;tn&&~He.indexOf(r)&&(s(!1),o())},revert:function(n){var r=n.fromSortable,s=n.rootEl,o=n.sortable,i=n.dragRect;He.length>1&&(He.forEach(function(a){o.addAnimationState({target:a,rect:tn?vt(a):i}),$u(a),a.fromRect=i,r.removeAnimationState(a)}),tn=!1,MS(!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(),xo=!1,c.animation&&He.length>1&&(tn||!s&&!i.options.sort&&!l)){var d=vt(ht,!1,!0,!0);He.forEach(function(m){m!==ht&&(yp(m,d),a.appendChild(m))}),tn=!0}if(!s)if(tn||oa(),He.length>1){var f=sa;i._showClone(r),i.options.animation&&!sa&&f&&un.forEach(function(m){i.addAnimationState({target:m,rect:Eo}),m.fromRect=Eo,m.thisAnimationDuration=null})}else i._showClone(r)}},dragOverAnimationCapture:function(n){var r=n.dragRect,s=n.isOwner,o=n.activeSortable;if(He.forEach(function(a){a.thisAnimationDuration=null}),o.options.animation&&!s&&o.multiDrag.isMultiDrag){Eo=Tn({},r);var i=fs(ht,!0);Eo.top-=i.f,Eo.left-=i.e}},dragOverAnimationComplete:function(){tn&&(tn=!1,oa())},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 f=this.options,m=o.children;if(!As)if(f.multiDragKey&&!this.multiDragKeyDown&&this._deselectMultiDrag(),zt(ht,f.selectedClass,!~He.indexOf(ht)),~He.indexOf(ht))He.splice(He.indexOf(ht),1),ko=null,Ro({sortable:i,rootEl:s,name:"deselect",targetEl:ht,originalEvt:r});else{if(He.push(ht),Ro({sortable:i,rootEl:s,name:"select",targetEl:ht,originalEvt:r}),r.shiftKey&&ko&&i.el.contains(ko)){var p=Et(ko),h=Et(ht);if(~p&&~h&&p!==h){var _,C;for(h>p?(C=p,_=h):(C=h,_=p+1);C<_;C++)~He.indexOf(m[C])||(zt(m[C],f.selectedClass,!0),He.push(m[C]),Ro({sortable:i,rootEl:s,name:"select",targetEl:m[C],originalEvt:r}))}}else ko=ht;Pn=d}if(As&&this.isMultiDrag){if(tn=!1,(o[jt].options.sort||o!==s)&&He.length>1){var b=vt(ht),y=Et(ht,":not(."+this.options.selectedClass+")");if(!xo&&f.animation&&(ht.thisAnimationDuration=null),d.captureAnimationState(),!xo&&(f.animation&&(ht.fromRect=b,He.forEach(function(z){if(z.thisAnimationDuration=null,z!==ht){var x=tn?vt(z):b;z.fromRect=x,d.addAnimationState({target:z,rect:x})}})),oa(),He.forEach(function(z){m[y]?o.insertBefore(z,m[y]):o.appendChild(z),y++}),l===Et(ht))){var k=!1;He.forEach(function(z){if(z.sortableIndex!==Et(z)){k=!0;return}}),k&&a("update")}He.forEach(function(z){$u(z)}),d.animateAll()}Pn=d}(s===o||c&&c.lastPutMode!=="clone")&&un.forEach(function(z){z.parentNode&&z.parentNode.removeChild(z)})}},nullingGlobal:function(){this.isMultiDrag=As=!1,un.length=0},destroyGlobal:function(){this._deselectMultiDrag(),Ye(document,"pointerup",this._deselectMultiDrag),Ye(document,"mouseup",this._deselectMultiDrag),Ye(document,"touchend",this._deselectMultiDrag),Ye(document,"keydown",this._checkKeyDown),Ye(document,"keyup",this._checkKeyUp)},_deselectMultiDrag:function(n){if(!(typeof As<"u"&&As)&&Pn===this.sortable&&!(n&&Rn(n.target,this.options.draggable,this.sortable.el,!1))&&!(n&&n.button!==0))for(;He.length;){var r=He[0];zt(r,this.options.selectedClass,!1),He.shift(),Ro({sortable:this.sortable,rootEl:this.sortable.el,name:"deselect",targetEl:r,originalEvt:n})}},_checkKeyDown:function(n){n.key===this.options.multiDragKey&&(this.multiDragKeyDown=!0)},_checkKeyUp:function(n){n.key===this.options.multiDragKey&&(this.multiDragKeyDown=!1)}},Tn(e,{pluginName:"multiDrag",utils:{select:function(n){var r=n.parentNode[jt];!r||!r.options.multiDrag||~He.indexOf(n)||(Pn&&Pn!==r&&(Pn.multiDrag._deselectMultiDrag(),Pn=r),zt(n,r.options.selectedClass,!0),He.push(n))},deselect:function(n){var r=n.parentNode[jt],s=He.indexOf(n);!r||!r.options.multiDrag||!~s||(zt(n,r.options.selectedClass,!1),He.splice(s,1))}},eventProperties:function(){var n=this,r=[],s=[];return He.forEach(function(o){r.push({multiDragElement:o,index:o.sortableIndex});var i;tn&&o!==ht?i=-1:tn?i=Et(o,":not(."+n.options.selectedClass+")"):i=Et(o),s.push({multiDragElement:o,index:i})}),{items:aS(He),clones:[].concat(un),oldIndicies:r,newIndicies:s}},optionListeners:{multiDragKey:function(n){return n=n.toLowerCase(),n==="ctrl"?n="Control":n.length>1&&(n=n.charAt(0).toUpperCase()+n.substr(1)),n}}})}function MS(e,t){He.forEach(function(n,r){var s=t.children[n.sortableIndex+(e?Number(r):0)];s?t.insertBefore(n,s):t.appendChild(n)})}function wp(e,t){un.forEach(function(n,r){var s=t.children[n.sortableIndex+(e?Number(r):0)];s?t.insertBefore(n,s):t.appendChild(n)})}function oa(){He.forEach(function(e){e!==ht&&e.parentNode&&e.parentNode.removeChild(e)})}Re.mount(new IS);Re.mount(tm,em);const NS=Object.freeze(Object.defineProperty({__proto__:null,MultiDrag:LS,Sortable:Re,Swap:FS,default:Re},Symbol.toStringTag,{value:"Module"})),VS=by(NS);(function(e,t){(function(r,s){e.exports=s(ky,VS)})(typeof self<"u"?self:Yt,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(f){return a[f]}.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(f){return l.call(c,f)};case 2:return function(f,m){return l.call(c,f,m)};case 3:return function(f,m,p){return l.call(c,f,m,p)}}return function(){return l.apply(c,arguments)}}},"057f":function(s,o,i){var a=i("fc6a"),l=i("241c").f,c={}.toString,d=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],f=function(m){try{return l(m)}catch{return d.slice()}};s.exports.f=function(p){return d&&c.call(p)=="[object Window]"?f(p):l(a(p))}},"06cf":function(s,o,i){var a=i("83ab"),l=i("d1e7"),c=i("5c6c"),d=i("fc6a"),f=i("c04e"),m=i("5135"),p=i("0cfb"),h=Object.getOwnPropertyDescriptor;o.f=a?h:function(C,b){if(C=d(C),b=f(b,!0),p)try{return h(C,b)}catch{}if(m(C,b))return c(!l.f.call(C,b),C[b])}},"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"),f=c("reduce"),m=d("reduce",{1:0});a({target:"Array",proto:!0,forced:!f||!m},{reduce:function(h){return l(this,h,arguments.length,arguments.length>1?arguments[1]:void 0)}})},"14c3":function(s,o,i){var a=i("c6b6"),l=i("9263");s.exports=function(c,d){var f=c.exec;if(typeof f=="function"){var m=f.call(c,d);if(typeof m!="object")throw TypeError("RegExp exec method returned something other than an Object or null");return m}if(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 f in l){var m=a[f],p=m&&m.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"),f=c("forEach");s.exports=!d||!f?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,f={next:function(){return{done:!!d++}},return:function(){c=!0}};f[l]=function(){return this},Array.from(f,function(){throw 2})}catch{}s.exports=function(m,p){if(!p&&!c)return!1;var h=!1;try{var _={};_[l]=function(){return{next:function(){return{done:h=!0}}}},m(_)}catch{}return h}},"1d80":function(s,o){s.exports=function(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(f){return c>=51||!a(function(){var m=[],p=m.constructor={};return p[d]=function(){return{foo:1}},m[f](Boolean).foo!==1})}},"23cb":function(s,o,i){var a=i("a691"),l=Math.max,c=Math.min;s.exports=function(d,f){var m=a(d);return m<0?l(m+f,0):c(m,f)}},"23e7":function(s,o,i){var a=i("da84"),l=i("06cf").f,c=i("9112"),d=i("6eeb"),f=i("ce4e"),m=i("e893"),p=i("94ca");s.exports=function(h,_){var C=h.target,b=h.global,y=h.stat,k,z,x,T,L,I;if(b?z=a:y?z=a[C]||f(C,{}):z=(a[C]||{}).prototype,z)for(x in _){if(L=_[x],h.noTargetGet?(I=l(z,x),T=I&&I.value):T=z[x],k=p(b?x:C+(y?".":"#")+x,h.forced),!k&&T!==void 0){if(typeof L==typeof T)continue;m(L,T)}(h.sham||T&&T.sham)&&c(L,"sham",!0),d(z,x,L,h)}}},"241c":function(s,o,i){var a=i("ca84"),l=i("7839"),c=l.concat("length","prototype");o.f=Object.getOwnPropertyNames||function(f){return a(f,c)}},"25f0":function(s,o,i){var a=i("6eeb"),l=i("825a"),c=i("d039"),d=i("ad6d"),f="toString",m=RegExp.prototype,p=m[f],h=c(function(){return p.call({source:"a",flags:"b"})!="/a/b"}),_=p.name!=f;(h||_)&&a(RegExp.prototype,f,function(){var b=l(this),y=String(b.source),k=b.flags,z=String(k===void 0&&b instanceof RegExp&&!("flags"in m)?d.call(b):k);return"/"+y+"/"+z},{unsafe:!0})},"2ca0":function(s,o,i){var a=i("23e7"),l=i("06cf").f,c=i("50c4"),d=i("5a34"),f=i("1d80"),m=i("ab13"),p=i("c430"),h="".startsWith,_=Math.min,C=m("startsWith"),b=!p&&!C&&!!function(){var y=l(String.prototype,"startsWith");return y&&!y.writable}();a({target:"String",proto:!0,forced:!b&&!C},{startsWith:function(k){var z=String(f(this));d(k);var x=c(_(arguments.length>1?arguments[1]:void 0,z.length)),T=String(k);return h?h.call(z,T,x):z.slice(x,x+T.length)===T}})},"2d00":function(s,o,i){var a=i("da84"),l=i("342f"),c=a.process,d=c&&c.versions,f=d&&d.v8,m,p;f?(m=f.split("."),p=m[0]+m[1]):l&&(m=l.match(/Edge\/(\d+)/),(!m||m[1]>=74)&&(m=l.match(/Chrome\/(\d+)/),m&&(p=m[1]))),s.exports=p&&+p},"342f":function(s,o,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(f){if(f!=null)return f[d]||f["@@iterator"]||l[a(f)]}},"37e8":function(s,o,i){var a=i("83ab"),l=i("9bf2"),c=i("825a"),d=i("df75");s.exports=a?Object.defineProperties:function(m,p){c(m);for(var h=d(p),_=h.length,C=0,b;_>C;)l.f(m,b=h[C++],p[b]);return m}},"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",f=l.set,m=l.getterFor(d);c(String,"String",function(p){f(this,{type:d,string:String(p),index:0})},function(){var h=m(this),_=h.string,C=h.index,b;return C>=_.length?{value:void 0,done:!0}:(b=a(_,C),h.index+=b.length,{value:b,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"),f=Array.prototype;f[d]==null&&c.f(f,d,{configurable:!0,value:l(null)}),s.exports=function(m){f[d][m]=!0}},"44e7":function(s,o,i){var a=i("861d"),l=i("c6b6"),c=i("b622"),d=c("match");s.exports=function(f){var m;return a(f)&&((m=f[d])!==void 0?!!m:l(f)=="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(f){return function(m,p,h){var _=a(m),C=l(_.length),b=c(h,C),y;if(f&&p!=p){for(;C>b;)if(y=_[b++],y!=y)return!0}else for(;C>b;b++)if((f||b in _)&&_[b]===p)return f||b||0;return!f&&-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"),f=c("filter"),m=d("filter");a({target:"Array",proto:!0,forced:!f||!m},{filter:function(h){return l(this,h,arguments.length>1?arguments[1]:void 0)}})},"4df4":function(s,o,i){var a=i("0366"),l=i("7b0b"),c=i("9bdd"),d=i("e95a"),f=i("50c4"),m=i("8418"),p=i("35a1");s.exports=function(_){var C=l(_),b=typeof this=="function"?this:Array,y=arguments.length,k=y>1?arguments[1]:void 0,z=k!==void 0,x=p(C),T=0,L,I,D,U,Z,X;if(z&&(k=a(k,y>2?arguments[2]:void 0,2)),x!=null&&!(b==Array&&d(x)))for(U=x.call(C),Z=U.next,I=new b;!(D=Z.call(U)).done;T++)X=z?c(U,k,[D.value,T],!0):D.value,m(I,T,X);else for(L=f(C.length),I=new b(L);L>T;T++)X=z?k(C[T],T):C[T],m(I,T,X);return I.length=T,I}},"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"),f=i("a691"),m=i("1d80"),p=i("8aa5"),h=i("14c3"),_=Math.max,C=Math.min,b=Math.floor,y=/\$([$&'`]|\d\d?|<[^>]*>)/g,k=/\$([$&'`]|\d\d?)/g,z=function(x){return x===void 0?x:String(x)};a("replace",2,function(x,T,L,I){var D=I.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,U=I.REPLACE_KEEPS_$0,Z=D?"$":"$0";return[function(q,Ce){var te=m(this),ie=q==null?void 0:q[x];return ie!==void 0?ie.call(q,te,Ce):T.call(String(te),q,Ce)},function(j,q){if(!D&&U||typeof q=="string"&&q.indexOf(Z)===-1){var Ce=L(T,j,this,q);if(Ce.done)return Ce.value}var te=l(j),ie=String(this),ye=typeof q=="function";ye||(q=String(q));var je=te.global;if(je){var it=te.unicode;te.lastIndex=0}for(var ce=[];;){var W=h(te,ie);if(W===null||(ce.push(W),!je))break;var fe=String(W[0]);fe===""&&(te.lastIndex=p(ie,d(te.lastIndex),it))}for(var Ae="",Le=0,Ee=0;Ee<ce.length;Ee++){W=ce[Ee];for(var V=String(W[0]),le=_(C(f(W.index),ie.length),0),ne=[],pe=1;pe<W.length;pe++)ne.push(z(W[pe]));var De=W.groups;if(ye){var A=[V].concat(ne,le,ie);De!==void 0&&A.push(De);var O=String(q.apply(void 0,A))}else O=X(V,ie,le,ne,De,q);le>=Le&&(Ae+=ie.slice(Le,le)+O,Le=le+V.length)}return Ae+ie.slice(Le)}];function X(j,q,Ce,te,ie,ye){var je=Ce+j.length,it=te.length,ce=k;return ie!==void 0&&(ie=c(ie),ce=y),T.call(ye,ce,function(W,fe){var Ae;switch(fe.charAt(0)){case"$":return"$";case"&":return j;case"`":return q.slice(0,Ce);case"'":return q.slice(je);case"<":Ae=ie[fe.slice(1,-1)];break;default:var Le=+fe;if(Le===0)return W;if(Le>it){var Ee=b(Le/10);return Ee===0?W:Ee<=it?te[Ee-1]===void 0?fe.charAt(1):te[Ee-1]+fe.charAt(1):W}Ae=te[Le-1]}return Ae===void 0?"":Ae})}})},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(m){var p=l.f(d(m)),h=c.f;return h?p.concat(h(m)):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"),f=i("1c0b"),m=i("65f0");a({target:"Array",proto:!0},{flatMap:function(h){var _=c(this),C=d(_.length),b;return f(h),b=m(_,0),b.length=l(b,_,_,C,0,1,h,arguments.length>1?arguments[1]:void 0),b}})},6547:function(s,o,i){var a=i("a691"),l=i("1d80"),c=function(d){return function(f,m){var p=String(l(f)),h=a(m),_=p.length,C,b;return h<0||h>=_?d?"":void 0:(C=p.charCodeAt(h),C<55296||C>56319||h+1===_||(b=p.charCodeAt(h+1))<56320||b>57343?d?p.charAt(h):C:d?p.slice(h,h+2):(C-55296<<10)+(b-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(f,m){var p;return l(f)&&(p=f.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)(m===0?0:m)}},"69f3":function(s,o,i){var a=i("7f9a"),l=i("da84"),c=i("861d"),d=i("9112"),f=i("5135"),m=i("f772"),p=i("d012"),h=l.WeakMap,_,C,b,y=function(D){return b(D)?C(D):_(D,{})},k=function(D){return function(U){var Z;if(!c(U)||(Z=C(U)).type!==D)throw TypeError("Incompatible receiver, "+D+" required");return Z}};if(a){var z=new h,x=z.get,T=z.has,L=z.set;_=function(D,U){return L.call(z,D,U),U},C=function(D){return x.call(z,D)||{}},b=function(D){return T.call(z,D)}}else{var I=m("state");p[I]=!0,_=function(D,U){return d(D,I,U),U},C=function(D){return f(D,I)?D[I]:{}},b=function(D){return f(D,I)}}s.exports={set:_,get:C,has:b,enforce:y,getterFor:k}},"6eeb":function(s,o,i){var a=i("da84"),l=i("9112"),c=i("5135"),d=i("ce4e"),f=i("8925"),m=i("69f3"),p=m.get,h=m.enforce,_=String(String).split("String");(s.exports=function(C,b,y,k){var z=k?!!k.unsafe:!1,x=k?!!k.enumerable:!1,T=k?!!k.noTargetGet:!1;if(typeof y=="function"&&(typeof b=="string"&&!c(y,"name")&&l(y,"name",b),h(y).source=_.join(typeof b=="string"?b:"")),C===a){x?C[b]=y:d(b,y);return}else z?!T&&C[b]&&(x=!0):delete C[b];x?C[b]=y:l(C,b,y)})(Function.prototype,"toString",function(){return typeof this=="function"&&p(this).source||f(this)})},"6f53":function(s,o,i){var a=i("83ab"),l=i("df75"),c=i("fc6a"),d=i("d1e7").f,f=function(m){return function(p){for(var h=c(p),_=l(h),C=_.length,b=0,y=[],k;C>b;)k=_[b++],(!a||d.call(h,k))&&y.push(m?[k,h[k]]:h[k]);return y}};s.exports={entries:f(!0),values:f(!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(f){var m=a.Symbol||(a.Symbol={});l(m,f)||d(m,f,{value:c.f(f)})}},7839:function(s,o){s.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},"7b0b":function(s,o,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"),f=i("1be4"),m=i("cc12"),p=i("f772"),h=">",_="<",C="prototype",b="script",y=p("IE_PROTO"),k=function(){},z=function(D){return _+b+h+D+_+"/"+b+h},x=function(D){D.write(z("")),D.close();var U=D.parentWindow.Object;return D=null,U},T=function(){var D=m("iframe"),U="java"+b+":",Z;return D.style.display="none",f.appendChild(D),D.src=String(U),Z=D.contentWindow.document,Z.open(),Z.write(z("document.F=Object")),Z.close(),Z.F},L,I=function(){try{L=document.domain&&new ActiveXObject("htmlfile")}catch{}I=L?x(L):T();for(var D=c.length;D--;)delete I[C][c[D]];return I()};d[y]=!0,s.exports=Object.create||function(U,Z){var X;return U!==null?(k[C]=a(U),X=new k,k[C]=null,X[y]=U):X=I(),Z===void 0?X:l(X,Z)}},"7dd0":function(s,o,i){var a=i("23e7"),l=i("9ed3"),c=i("e163"),d=i("d2bb"),f=i("d44e"),m=i("9112"),p=i("6eeb"),h=i("b622"),_=i("c430"),C=i("3f8c"),b=i("ae93"),y=b.IteratorPrototype,k=b.BUGGY_SAFARI_ITERATORS,z=h("iterator"),x="keys",T="values",L="entries",I=function(){return this};s.exports=function(D,U,Z,X,j,q,Ce){l(Z,U,X);var te=function(Ee){if(Ee===j&&ce)return ce;if(!k&&Ee in je)return je[Ee];switch(Ee){case x:return function(){return new Z(this,Ee)};case T:return function(){return new Z(this,Ee)};case L:return function(){return new Z(this,Ee)}}return function(){return new Z(this)}},ie=U+" Iterator",ye=!1,je=D.prototype,it=je[z]||je["@@iterator"]||j&&je[j],ce=!k&&it||te(j),W=U=="Array"&&je.entries||it,fe,Ae,Le;if(W&&(fe=c(W.call(new D)),y!==Object.prototype&&fe.next&&(!_&&c(fe)!==y&&(d?d(fe,y):typeof fe[z]!="function"&&m(fe,z,I)),f(fe,ie,!0,!0),_&&(C[ie]=I))),j==T&&it&&it.name!==T&&(ye=!0,ce=function(){return it.call(this)}),(!_||Ce)&&je[z]!==ce&&m(je,z,ce),C[U]=ce,j)if(Ae={values:te(T),keys:q?ce:te(x),entries:te(L)},Ce)for(Le in Ae)(k||ye||!(Le in je))&&p(je,Le,Ae[Le]);else a({target:U,proto:!0,forced:k||ye},Ae);return Ae}},"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,f,m){var p=a(f);p in d?l.f(d,p,c(0,m)):d[p]=m}},"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,f){l=[],a=f,c=typeof a=="function"?a.apply(o,l):a,c!==void 0&&(s.exports=c)})(typeof self<"u"?self:this,function(){function d(){var f=Object.getOwnPropertyDescriptor(document,"currentScript");if(!f&&"currentScript"in document&&document.currentScript||f&&f.get!==d&&document.currentScript)return document.currentScript;try{throw new Error}catch(L){var m=/.*at [^(]*\((.*):(.+):(.+)\)$/ig,p=/@([^@]*):(\d+):(\d+)\s*$/ig,h=m.exec(L.stack)||p.exec(L.stack),_=h&&h[1]||!1,C=h&&h[2]||!1,b=document.location.href.replace(document.location.hash,""),y,k,z,x=document.getElementsByTagName("script");_===b&&(y=document.documentElement.outerHTML,k=new RegExp("(?:[^\\n]+?\\n){0,"+(C-2)+"}[^<]*<script>([\\d\\D]*?)<\\/script>[\\d\\D]*","i"),z=y.replace(k,"$1").trim());for(var T=0;T<x.length;T++)if(x[T].readyState==="interactive"||x[T].src===_||_===b&&x[T].innerHTML&&x[T].innerHTML.trim()===z)return x[T];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,f,m){return l.f(d,f,c(1,m))}:function(d,f,m){return d[f]=m,d}},9263:function(s,o,i){var a=i("ad6d"),l=i("9f7f"),c=RegExp.prototype.exec,d=String.prototype.replace,f=c,m=function(){var C=/a/,b=/b*/g;return c.call(C,"a"),c.call(b,"a"),C.lastIndex!==0||b.lastIndex!==0}(),p=l.UNSUPPORTED_Y||l.BROKEN_CARET,h=/()??/.exec("")[1]!==void 0,_=m||h||p;_&&(f=function(b){var y=this,k,z,x,T,L=p&&y.sticky,I=a.call(y),D=y.source,U=0,Z=b;return L&&(I=I.replace("y",""),I.indexOf("g")===-1&&(I+="g"),Z=String(b).slice(y.lastIndex),y.lastIndex>0&&(!y.multiline||y.multiline&&b[y.lastIndex-1]!==`
`)&&(D="(?: "+D+")",Z=" "+Z,U++),z=new RegExp("^(?:"+D+")",I)),h&&(z=new RegExp("^"+D+"$(?!\\s)",I)),m&&(k=y.lastIndex),x=c.call(L?z:y,Z),L?x?(x.input=x.input.slice(U),x[0]=x[0].slice(U),x.index=y.lastIndex,y.lastIndex+=x[0].length):y.lastIndex=0:m&&x&&(y.lastIndex=y.global?x.index+x[0].length:k),h&&x&&x.length>1&&d.call(x[0],z,function(){for(T=1;T<arguments.length-2;T++)arguments[T]===void 0&&(x[T]=void 0)}),x}),s.exports=f},"94ca":function(s,o,i){var a=i("d039"),l=/#|\.prototype\./,c=function(h,_){var C=f[d(h)];return C==p?!0:C==m?!1:typeof _=="function"?a(_):!!_},d=c.normalize=function(h){return String(h).replace(l,".").toLowerCase()},f=c.data={},m=c.NATIVE="N",p=c.POLYFILL="P";s.exports=c},"99af":function(s,o,i){var a=i("23e7"),l=i("d039"),c=i("e8b5"),d=i("861d"),f=i("7b0b"),m=i("50c4"),p=i("8418"),h=i("65f0"),_=i("1dde"),C=i("b622"),b=i("2d00"),y=C("isConcatSpreadable"),k=9007199254740991,z="Maximum allowed index exceeded",x=b>=51||!l(function(){var D=[];return D[y]=!1,D.concat()[0]!==D}),T=_("concat"),L=function(D){if(!d(D))return!1;var U=D[y];return U!==void 0?!!U:c(D)},I=!x||!T;a({target:"Array",proto:!0,forced:I},{concat:function(U){var Z=f(this),X=h(Z,0),j=0,q,Ce,te,ie,ye;for(q=-1,te=arguments.length;q<te;q++)if(ye=q===-1?Z:arguments[q],L(ye)){if(ie=m(ye.length),j+ie>k)throw TypeError(z);for(Ce=0;Ce<ie;Ce++,j++)Ce in ye&&p(X,j,ye[Ce])}else{if(j>=k)throw TypeError(z);p(X,j++,ye)}return X.length=j,X}})},"9bdd":function(s,o,i){var a=i("825a");s.exports=function(l,c,d,f){try{return f?c(a(d)[0],d[1]):c(d)}catch(p){var m=l.return;throw m!==void 0&&a(m.call(l)),p}}},"9bf2":function(s,o,i){var a=i("83ab"),l=i("0cfb"),c=i("825a"),d=i("c04e"),f=Object.defineProperty;o.f=a?f:function(p,h,_){if(c(p),h=d(h,!0),c(_),l)try{return f(p,h,_)}catch{}if("get"in _||"set"in _)throw TypeError("Accessors not supported");return"value"in _&&(p[h]=_.value),p}},"9ed3":function(s,o,i){var a=i("ae93").IteratorPrototype,l=i("7c73"),c=i("5c6c"),d=i("d44e"),f=i("3f8c"),m=function(){return this};s.exports=function(p,h,_){var C=h+" Iterator";return p.prototype=l(a,{next:c(1,_)}),d(p,C,!1,!0),f[C]=m,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(f,m,p,h,_,C,b,y){for(var k=_,z=0,x=b?c(b,y,3):!1,T;z<h;){if(z in p){if(T=x?x(p[z],z,m):p[z],C>0&&a(T))k=d(f,m,T,l(T.length),k,C-1)-1;else{if(k>=9007199254740991)throw TypeError("Exceed the acceptable array length");f[k]=T}k++}z++}return k};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"),f=i("7b0b"),m=i("65f0"),p=i("8418"),h=i("1dde"),_=i("ae40"),C=h("splice"),b=_("splice",{ACCESSORS:!0,0:0,1:2}),y=Math.max,k=Math.min,z=9007199254740991,x="Maximum allowed length exceeded";a({target:"Array",proto:!0,forced:!C||!b},{splice:function(L,I){var D=f(this),U=d(D.length),Z=l(L,U),X=arguments.length,j,q,Ce,te,ie,ye;if(X===0?j=q=0:X===1?(j=0,q=U-Z):(j=X-2,q=k(y(c(I),0),U-Z)),U+j-q>z)throw TypeError(x);for(Ce=m(D,q),te=0;te<q;te++)ie=Z+te,ie in D&&p(Ce,te,D[ie]);if(Ce.length=q,j<q){for(te=Z;te<U-q;te++)ie=te+q,ye=te+j,ie in D?D[ye]=D[ie]:delete D[ye];for(te=U;te>U-q+j;te--)delete D[te-1]}else if(j>q)for(te=U-q;te>Z;te--)ie=te+q-1,ye=te+j-1,ie in D?D[ye]=D[ie]:delete D[ye];for(te=0;te<j;te++)D[te+Z]=arguments[te+2];return D.length=U-q+j,Ce}})},a4d3:function(s,o,i){var a=i("23e7"),l=i("da84"),c=i("d066"),d=i("c430"),f=i("83ab"),m=i("4930"),p=i("fdbf"),h=i("d039"),_=i("5135"),C=i("e8b5"),b=i("861d"),y=i("825a"),k=i("7b0b"),z=i("fc6a"),x=i("c04e"),T=i("5c6c"),L=i("7c73"),I=i("df75"),D=i("241c"),U=i("057f"),Z=i("7418"),X=i("06cf"),j=i("9bf2"),q=i("d1e7"),Ce=i("9112"),te=i("6eeb"),ie=i("5692"),ye=i("f772"),je=i("d012"),it=i("90e3"),ce=i("b622"),W=i("e538"),fe=i("746f"),Ae=i("d44e"),Le=i("69f3"),Ee=i("b727").forEach,V=ye("hidden"),le="Symbol",ne="prototype",pe=ce("toPrimitive"),De=Le.set,A=Le.getterFor(le),O=Object[ne],P=l.Symbol,K=c("JSON","stringify"),J=X.f,ee=j.f,de=U.f,ae=q.f,oe=ie("symbols"),Y=ie("op-symbols"),R=ie("string-to-symbol-registry"),B=ie("symbol-to-string-registry"),ge=ie("wks"),ze=l.QObject,Fe=!ze||!ze[ne]||!ze[ne].findChild,Ue=f&&h(function(){return L(ee({},"a",{get:function(){return ee(this,"a",{value:7}).a}})).a!=7})?function(xe,ue,Ie){var Ze=J(O,ue);Ze&&delete O[ue],ee(xe,ue,Ie),Ze&&xe!==O&&ee(O,ue,Ze)}:ee,Ve=function(xe,ue){var Ie=oe[xe]=L(P[ne]);return De(Ie,{type:le,tag:xe,description:ue}),f||(Ie.description=ue),Ie},F=p?function(xe){return typeof xe=="symbol"}:function(xe){return Object(xe)instanceof P},M=function(ue,Ie,Ze){ue===O&&M(Y,Ie,Ze),y(ue);var Qe=x(Ie,!0);return y(Ze),_(oe,Qe)?(Ze.enumerable?(_(ue,V)&&ue[V][Qe]&&(ue[V][Qe]=!1),Ze=L(Ze,{enumerable:T(0,!1)})):(_(ue,V)||ee(ue,V,T(1,{})),ue[V][Qe]=!0),Ue(ue,Qe,Ze)):ee(ue,Qe,Ze)},G=function(ue,Ie){y(ue);var Ze=z(Ie),Qe=I(Ze).concat(Be(Ze));return Ee(Qe,function(Mt){(!f||ve.call(Ze,Mt))&&M(ue,Mt,Ze[Mt])}),ue},re=function(ue,Ie){return Ie===void 0?L(ue):G(L(ue),Ie)},ve=function(ue){var Ie=x(ue,!0),Ze=ae.call(this,Ie);return this===O&&_(oe,Ie)&&!_(Y,Ie)?!1:Ze||!_(this,Ie)||!_(oe,Ie)||_(this,V)&&this[V][Ie]?Ze:!0},Pe=function(ue,Ie){var Ze=z(ue),Qe=x(Ie,!0);if(!(Ze===O&&_(oe,Qe)&&!_(Y,Qe))){var Mt=J(Ze,Qe);return Mt&&_(oe,Qe)&&!(_(Ze,V)&&Ze[V][Qe])&&(Mt.enumerable=!0),Mt}},$e=function(ue){var Ie=de(z(ue)),Ze=[];return Ee(Ie,function(Qe){!_(oe,Qe)&&!_(je,Qe)&&Ze.push(Qe)}),Ze},Be=function(ue){var Ie=ue===O,Ze=de(Ie?Y:z(ue)),Qe=[];return Ee(Ze,function(Mt){_(oe,Mt)&&(!Ie||_(O,Mt))&&Qe.push(oe[Mt])}),Qe};if(m||(P=function(){if(this instanceof P)throw TypeError("Symbol is not a constructor");var ue=!arguments.length||arguments[0]===void 0?void 0:String(arguments[0]),Ie=it(ue),Ze=function(Qe){this===O&&Ze.call(Y,Qe),_(this,V)&&_(this[V],Ie)&&(this[V][Ie]=!1),Ue(this,Ie,T(1,Qe))};return f&&Fe&&Ue(O,Ie,{configurable:!0,set:Ze}),Ve(Ie,ue)},te(P[ne],"toString",function(){return A(this).tag}),te(P,"withoutSetter",function(xe){return Ve(it(xe),xe)}),q.f=ve,j.f=M,X.f=Pe,D.f=U.f=$e,Z.f=Be,W.f=function(xe){return Ve(ce(xe),xe)},f&&(ee(P[ne],"description",{configurable:!0,get:function(){return A(this).description}}),d||te(O,"propertyIsEnumerable",ve,{unsafe:!0}))),a({global:!0,wrap:!0,forced:!m,sham:!m},{Symbol:P}),Ee(I(ge),function(xe){fe(xe)}),a({target:le,stat:!0,forced:!m},{for:function(xe){var ue=String(xe);if(_(R,ue))return R[ue];var Ie=P(ue);return R[ue]=Ie,B[Ie]=ue,Ie},keyFor:function(ue){if(!F(ue))throw TypeError(ue+" is not a symbol");if(_(B,ue))return B[ue]},useSetter:function(){Fe=!0},useSimple:function(){Fe=!1}}),a({target:"Object",stat:!0,forced:!m,sham:!f},{create:re,defineProperty:M,defineProperties:G,getOwnPropertyDescriptor:Pe}),a({target:"Object",stat:!0,forced:!m},{getOwnPropertyNames:$e,getOwnPropertySymbols:Be}),a({target:"Object",stat:!0,forced:h(function(){Z.f(1)})},{getOwnPropertySymbols:function(ue){return Z.f(k(ue))}}),K){var Ge=!m||h(function(){var xe=P();return K([xe])!="[null]"||K({a:xe})!="{}"||K(Object(xe))!="{}"});a({target:"JSON",stat:!0,forced:Ge},{stringify:function(ue,Ie,Ze){for(var Qe=[ue],Mt=1,yo;arguments.length>Mt;)Qe.push(arguments[Mt++]);if(yo=Ie,!(!b(Ie)&&ue===void 0||F(ue)))return C(Ie)||(Ie=function(M1,Vi){if(typeof yo=="function"&&(Vi=yo.call(this,M1,Vi)),!F(Vi))return Vi}),Qe[1]=Ie,K.apply(null,Qe)}})}P[ne][pe]||Ce(P[ne],pe,P[ne].valueOf),Ae(P,le),je[V]=!0},a630:function(s,o,i){var a=i("23e7"),l=i("4df4"),c=i("1c7e"),d=!c(function(f){Array.from(f)});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,f={},m=function(p){throw p};s.exports=function(p,h){if(c(f,p))return f[p];h||(h={});var _=[][p],C=c(h,"ACCESSORS")?h.ACCESSORS:!1,b=c(h,0)?h[0]:m,y=c(h,1)?h[1]:void 0;return f[p]=!!_&&!l(function(){if(C&&!a)return!0;var k={length:-1};C?d(k,1,{enumerable:!0,get:m}):k[1]=1,_.call(k,b,y)})}},ae93:function(s,o,i){var a=i("e163"),l=i("9112"),c=i("5135"),d=i("b622"),f=i("c430"),m=d("iterator"),p=!1,h=function(){return this},_,C,b;[].keys&&(b=[].keys(),"next"in b?(C=a(a(b)),C!==Object.prototype&&(_=C)):p=!0),_==null&&(_={}),!f&&!c(_,m)&&l(_,m,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,f=/^\s*function ([^ (]*)/,m="name";a&&!(m in c)&&l(c,m,{configurable:!0,get:function(){try{return d.call(this).match(f)[1]}catch{return""}}})},b622:function(s,o,i){var a=i("da84"),l=i("5692"),c=i("5135"),d=i("90e3"),f=i("4930"),m=i("fdbf"),p=l("wks"),h=a.Symbol,_=m?h:h&&h.withoutSetter||d;s.exports=function(C){return c(p,C)||(f&&c(h,C)?p[C]=h[C]:p[C]=_("Symbol."+C)),p[C]}},b64b:function(s,o,i){var a=i("23e7"),l=i("7b0b"),c=i("df75"),d=i("d039"),f=d(function(){c(1)});a({target:"Object",stat:!0,forced:f},{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"),f=i("65f0"),m=[].push,p=function(h){var _=h==1,C=h==2,b=h==3,y=h==4,k=h==6,z=h==5||k;return function(x,T,L,I){for(var D=c(x),U=l(D),Z=a(T,L,3),X=d(U.length),j=0,q=I||f,Ce=_?q(x,X):C?q(x,0):void 0,te,ie;X>j;j++)if((z||j in U)&&(te=U[j],ie=Z(te,j,D),h)){if(_)Ce[j]=ie;else if(ie)switch(h){case 3:return!0;case 5:return te;case 6:return j;case 2:m.call(Ce,te)}else if(y)return!1}return k?-1:b||y?y:Ce}};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,f;if(c&&typeof(d=l.toString)=="function"&&!a(f=d.call(l))||typeof(d=l.valueOf)=="function"&&!a(f=d.call(l))||!c&&typeof(d=l.toString)=="function"&&!a(f=d.call(l)))return f;throw TypeError("Can't convert object to primitive value")}},c430:function(s,o){s.exports=!1},c6b6:function(s,o){var 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"),f="findIndex",m=!0,p=d(f);f in[]&&Array(1)[f](function(){m=!1}),a({target:"Array",proto:!0,forced:m||!p},{findIndex:function(_){return l(this,_,arguments.length>1?arguments[1]:void 0)}}),c(f)},c8ba:function(s,o){var 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"),f=[].indexOf,m=!!f&&1/[1].indexOf(1,-0)<0,p=c("indexOf"),h=d("indexOf",{ACCESSORS:!0,1:0});a({target:"Array",proto:!0,forced:m||!p||!h},{indexOf:function(C){return m?f.apply(this,arguments)||0:l(this,C,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(f,m){var p=l(f),h=0,_=[],C;for(C in p)!a(d,C)&&a(p,C)&&_.push(C);for(;m.length>h;)a(p,C=m[h++])&&(~c(_,C)||_.push(C));return _}},caad:function(s,o,i){var a=i("23e7"),l=i("4d64").includes,c=i("44d2"),d=i("ae40"),f=d("indexOf",{ACCESSORS:!0,1:0});a({target:"Array",proto:!0,forced:!f},{includes:function(p){return l(this,p,arguments.length>1?arguments[1]:void 0)}}),c("includes")},cc12:function(s,o,i){var a=i("da84"),l=i("861d"),c=a.document,d=l(c)&&l(c.createElement);s.exports=function(f){return d?c.createElement(f):{}}},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,f){return arguments.length<2?c(a[d])||c(l[d]):a[d]&&a[d][f]||l[d]&&l[d][f]}},d1e7:function(s,o,i){var a={}.propertyIsEnumerable,l=Object.getOwnPropertyDescriptor,c=l&&!a.call({1:2},1);o.f=c?function(f){var m=l(this,f);return!!m&&m.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={},f;try{f=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set,f.call(d,[]),c=d instanceof Array}catch{}return function(p,h){return a(p),l(h),c?f.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(f,m,p){f&&!l(f=p?f:f.prototype,d)&&a(f,d,{configurable:!0,value:m})}},d58f:function(s,o,i){var a=i("1c0b"),l=i("7b0b"),c=i("44ad"),d=i("50c4"),f=function(m){return function(p,h,_,C){a(h);var b=l(p),y=c(b),k=d(b.length),z=m?k-1:0,x=m?-1:1;if(_<2)for(;;){if(z in y){C=y[z],z+=x;break}if(z+=x,m?z<0:k<=z)throw TypeError("Reduce of empty array with no initial value")}for(;m?z>=0:k>z;z+=x)z in y&&(C=h(C,y[z],z,b));return C}};s.exports={left:f(!1),right:f(!0)}},d784:function(s,o,i){i("ac1f");var a=i("6eeb"),l=i("d039"),c=i("b622"),d=i("9263"),f=i("9112"),m=c("species"),p=!l(function(){var y=/./;return y.exec=function(){var k=[];return k.groups={a:"7"},k},"".replace(y,"$<a>")!=="7"}),h=function(){return"a".replace(/./,"$0")==="$0"}(),_=c("replace"),C=function(){return/./[_]?/./[_]("a","$0")==="":!1}(),b=!l(function(){var y=/(?:)/,k=y.exec;y.exec=function(){return k.apply(this,arguments)};var z="ab".split(y);return z.length!==2||z[0]!=="a"||z[1]!=="b"});s.exports=function(y,k,z,x){var T=c(y),L=!l(function(){var j={};return j[T]=function(){return 7},""[y](j)!=7}),I=L&&!l(function(){var j=!1,q=/a/;return y==="split"&&(q={},q.constructor={},q.constructor[m]=function(){return q},q.flags="",q[T]=/./[T]),q.exec=function(){return j=!0,null},q[T](""),!j});if(!L||!I||y==="replace"&&!(p&&h&&!C)||y==="split"&&!b){var D=/./[T],U=z(T,""[y],function(j,q,Ce,te,ie){return q.exec===d?L&&!ie?{done:!0,value:D.call(q,Ce,te)}:{done:!0,value:j.call(Ce,q,te)}:{done:!1}},{REPLACE_KEEPS_$0:h,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:C}),Z=U[0],X=U[1];a(String.prototype,y,Z),a(RegExp.prototype,T,k==2?function(j,q){return X.call(j,this,q)}:function(j){return X.call(j,this)})}x&&f(RegExp.prototype[T],"sham",!0)}},d81d:function(s,o,i){var a=i("23e7"),l=i("b727").map,c=i("1dde"),d=i("ae40"),f=c("map"),m=d("map");a({target:"Array",proto:!0,forced:!f||!m},{map:function(h){return l(this,h,arguments.length>1?arguments[1]:void 0)}})},da84:function(s,o,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"),f=i("06cf"),m=i("8418");a({target:"Object",stat:!0,sham:!l},{getOwnPropertyDescriptors:function(h){for(var _=d(h),C=f.f,b=c(_),y={},k=0,z,x;b.length>k;)x=C(_,z=b[k++]),x!==void 0&&m(y,z,x);return y}})},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"),f=i("b622"),m=f("iterator"),p=f("toStringTag"),h=c.values;for(var _ in l){var C=a[_],b=C&&C.prototype;if(b){if(b[m]!==h)try{d(b,m,h)}catch{b[m]=h}if(b[p]||d(b,p,_),l[_]){for(var y in c)if(b[y]!==c[y])try{d(b,y,c[y])}catch{b[y]=c[y]}}}}},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"),f=i("861d"),m=i("9bf2").f,p=i("e893"),h=c.Symbol;if(l&&typeof h=="function"&&(!("description"in h.prototype)||h().description!==void 0)){var _={},C=function(){var T=arguments.length<1||arguments[0]===void 0?void 0:String(arguments[0]),L=this instanceof C?new h(T):T===void 0?h():h(T);return T===""&&(_[L]=!0),L};p(C,h);var b=C.prototype=h.prototype;b.constructor=C;var y=b.toString,k=String(h("test"))=="Symbol(test)",z=/^Symbol\((.*)\)[^)]+$/;m(b,"description",{configurable:!0,get:function(){var T=f(this)?this.valueOf():this,L=y.call(T);if(d(_,T))return"";var I=k?L.slice(7,-1):L.replace(z,"$1");return I===""?void 0:I}}),a({global:!0,forced:!0},{Symbol:C})}},e163:function(s,o,i){var a=i("5135"),l=i("7b0b"),c=i("f772"),d=i("e177"),f=c("IE_PROTO"),m=Object.prototype;s.exports=d?Object.getPrototypeOf:function(p){return p=l(p),a(p,f)?p[f]:typeof p.constructor=="function"&&p instanceof p.constructor?p.constructor.prototype:p instanceof Object?m: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"),f=i("7dd0"),m="Array Iterator",p=d.set,h=d.getterFor(m);s.exports=f(Array,"Array",function(_,C){p(this,{type:m,target:a(_),index:0,kind:C})},function(){var _=h(this),C=_.target,b=_.kind,y=_.index++;return!C||y>=C.length?(_.target=void 0,{value:void 0,done:!0}):b=="keys"?{value:y,done:!1}:b=="values"?{value:C[y],done:!1}:{value:[y,C[y]],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,f=i("83ab"),m=l(function(){d(1)}),p=!f||m;a({target:"Object",stat:!0,forced:p,sham:!f},{getOwnPropertyDescriptor:function(_,C){return d(c(_),C)}})},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(f,m){for(var p=l(m),h=d.f,_=c.f,C=0;C<p.length;C++){var b=p[C];a(f,b)||h(f,b,_(m,b))}}},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(f){return f!==void 0&&(l.Array===f||d[c]===f)}},f5df:function(s,o,i){var a=i("00ee"),l=i("c6b6"),c=i("b622"),d=c("toStringTag"),f=l(function(){return arguments}())=="Arguments",m=function(p,h){try{return p[h]}catch{}};s.exports=a?l:function(p){var h,_,C;return p===void 0?"Undefined":p===null?"Null":typeof(_=m(h=Object(p),d))=="string"?_:f?l(h):(C=l(h))=="Object"&&typeof h.callee=="function"?"Arguments":C}},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(F,M,G){return M in F?Object.defineProperty(F,M,{value:G,enumerable:!0,configurable:!0,writable:!0}):F[M]=G,F}function f(F,M){var G=Object.keys(F);if(Object.getOwnPropertySymbols){var re=Object.getOwnPropertySymbols(F);M&&(re=re.filter(function(ve){return Object.getOwnPropertyDescriptor(F,ve).enumerable})),G.push.apply(G,re)}return G}function m(F){for(var M=1;M<arguments.length;M++){var G=arguments[M]!=null?arguments[M]:{};M%2?f(Object(G),!0).forEach(function(re){d(F,re,G[re])}):Object.getOwnPropertyDescriptors?Object.defineProperties(F,Object.getOwnPropertyDescriptors(G)):f(Object(G)).forEach(function(re){Object.defineProperty(F,re,Object.getOwnPropertyDescriptor(G,re))})}return F}function p(F){if(Array.isArray(F))return F}i("e01a"),i("d28b"),i("e260"),i("d3b7"),i("3ca3"),i("ddb0");function h(F,M){if(!(typeof Symbol>"u"||!(Symbol.iterator in Object(F)))){var G=[],re=!0,ve=!1,Pe=void 0;try{for(var $e=F[Symbol.iterator](),Be;!(re=(Be=$e.next()).done)&&(G.push(Be.value),!(M&&G.length===M));re=!0);}catch(Ge){ve=!0,Pe=Ge}finally{try{!re&&$e.return!=null&&$e.return()}finally{if(ve)throw Pe}}return G}}i("a630"),i("fb6a"),i("b0c0"),i("25f0");function _(F,M){(M==null||M>F.length)&&(M=F.length);for(var G=0,re=new Array(M);G<M;G++)re[G]=F[G];return re}function C(F,M){if(F){if(typeof F=="string")return _(F,M);var G=Object.prototype.toString.call(F).slice(8,-1);if(G==="Object"&&F.constructor&&(G=F.constructor.name),G==="Map"||G==="Set")return Array.from(F);if(G==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(G))return _(F,M)}}function b(){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 y(F,M){return p(F)||h(F,M)||C(F,M)||b()}function k(F){if(Array.isArray(F))return _(F)}function z(F){if(typeof Symbol<"u"&&Symbol.iterator in Object(F))return Array.from(F)}function x(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function T(F){return k(F)||z(F)||C(F)||x()}var L=i("a352"),I=i.n(L);function D(F){F.parentElement!==null&&F.parentElement.removeChild(F)}function U(F,M,G){var re=G===0?F.children[0]:F.children[G-1].nextSibling;F.insertBefore(M,re)}var Z=i("dbf1");i("13d5"),i("4fad"),i("ac1f"),i("5319");function X(F){var M=Object.create(null);return function(re){var ve=M[re];return ve||(M[re]=F(re))}}var j=/-(\w)/g,q=X(function(F){return F.replace(j,function(M,G){return G.toUpperCase()})});i("5db7"),i("73d9");var Ce=["Start","Add","Remove","Update","End"],te=["Choose","Unchoose","Sort","Filter","Clone"],ie=["Move"],ye=[ie,Ce,te].flatMap(function(F){return F}).map(function(F){return"on".concat(F)}),je={manage:ie,manageAndEmit:Ce,emit:te};function it(F){return ye.indexOf(F)!==-1}i("caad"),i("2ca0");var ce=["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 W(F){return ce.includes(F)}function fe(F){return["transition-group","TransitionGroup"].includes(F)}function Ae(F){return["id","class","role","style"].includes(F)||F.startsWith("data-")||F.startsWith("aria-")||F.startsWith("on")}function Le(F){return F.reduce(function(M,G){var re=y(G,2),ve=re[0],Pe=re[1];return M[ve]=Pe,M},{})}function Ee(F){var M=F.$attrs,G=F.componentData,re=G===void 0?{}:G,ve=Le(Object.entries(M).filter(function(Pe){var $e=y(Pe,2),Be=$e[0];return $e[1],Ae(Be)}));return m(m({},ve),re)}function V(F){var M=F.$attrs,G=F.callBackBuilder,re=Le(le(M));Object.entries(G).forEach(function(Pe){var $e=y(Pe,2),Be=$e[0],Ge=$e[1];je[Be].forEach(function(xe){re["on".concat(xe)]=Ge(xe)})});var ve="[data-draggable]".concat(re.draggable||"");return m(m({},re),{},{draggable:ve})}function le(F){return Object.entries(F).filter(function(M){var G=y(M,2),re=G[0];return G[1],!Ae(re)}).map(function(M){var G=y(M,2),re=G[0],ve=G[1];return[q(re),ve]}).filter(function(M){var G=y(M,2),re=G[0];return G[1],!it(re)})}i("c740");function ne(F,M){if(!(F instanceof M))throw new TypeError("Cannot call a class as a function")}function pe(F,M){for(var G=0;G<M.length;G++){var re=M[G];re.enumerable=re.enumerable||!1,re.configurable=!0,"value"in re&&(re.writable=!0),Object.defineProperty(F,re.key,re)}}function De(F,M,G){return M&&pe(F.prototype,M),G&&pe(F,G),F}var A=function(M){var G=M.el;return G},O=function(M,G){return M.__draggable_context=G},P=function(M){return M.__draggable_context},K=function(){function F(M){var G=M.nodes,re=G.header,ve=G.default,Pe=G.footer,$e=M.root,Be=M.realList;ne(this,F),this.defaultNodes=ve,this.children=[].concat(T(re),T(ve),T(Pe)),this.externalComponent=$e.externalComponent,this.rootTransition=$e.transition,this.tag=$e.tag,this.realList=Be}return De(F,[{key:"render",value:function(G,re){var ve=this.tag,Pe=this.children,$e=this._isRootComponent,Be=$e?{default:function(){return Pe}}:Pe;return G(ve,re,Be)}},{key:"updated",value:function(){var G=this.defaultNodes,re=this.realList;G.forEach(function(ve,Pe){O(A(ve),{element:re[Pe],index:Pe})})}},{key:"getUnderlyingVm",value:function(G){return P(G)}},{key:"getVmIndexFromDomIndex",value:function(G,re){var ve=this.defaultNodes,Pe=ve.length,$e=re.children,Be=$e.item(G);if(Be===null)return Pe;var Ge=P(Be);if(Ge)return Ge.index;if(Pe===0)return 0;var xe=A(ve[0]),ue=T($e).findIndex(function(Ie){return Ie===xe});return G<ue?0:Pe}},{key:"_isRootComponent",get:function(){return this.externalComponent||this.rootTransition}}]),F}(),J=i("8bbf");function ee(F,M){var G=F[M];return G?G():[]}function de(F){var M=F.$slots,G=F.realList,re=F.getKey,ve=G||[],Pe=["header","footer"].map(function(Ie){return ee(M,Ie)}),$e=y(Pe,2),Be=$e[0],Ge=$e[1],xe=M.item;if(!xe)throw new Error("draggable element must have an item slot");var ue=ve.flatMap(function(Ie,Ze){return xe({element:Ie,index:Ze}).map(function(Qe){return Qe.key=re(Ie),Qe.props=m(m({},Qe.props||{}),{},{"data-draggable":!0}),Qe})});if(ue.length!==ve.length)throw new Error("Item slot must have only one child");return{header:Be,footer:Ge,default:ue}}function ae(F){var M=fe(F),G=!W(F)&&!M;return{transition:M,externalComponent:G,tag:G?Object(J.resolveComponent)(F):M?J.TransitionGroup:F}}function oe(F){var M=F.$slots,G=F.tag,re=F.realList,ve=F.getKey,Pe=de({$slots:M,realList:re,getKey:ve}),$e=ae(G);return new K({nodes:Pe,root:$e,realList:re})}function Y(F,M){var G=this;Object(J.nextTick)(function(){return G.$emit(F.toLowerCase(),M)})}function R(F){var M=this;return function(G,re){if(M.realList!==null)return M["onDrag".concat(F)](G,re)}}function B(F){var M=this,G=R.call(this,F);return function(re,ve){G.call(M,re,ve),Y.call(M,F,re)}}var ge=null,ze={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(M){return M}},tag:{type:String,default:"div"},move:{type:Function,default:null},componentData:{type:Object,required:!1,default:null}},Fe=["update:modelValue","change"].concat(T([].concat(T(je.manageAndEmit),T(je.emit)).map(function(F){return F.toLowerCase()}))),Ue=Object(J.defineComponent)({name:"draggable",inheritAttrs:!1,props:ze,emits:Fe,data:function(){return{error:!1}},render:function(){try{this.error=!1;var M=this.$slots,G=this.$attrs,re=this.tag,ve=this.componentData,Pe=this.realList,$e=this.getKey,Be=oe({$slots:M,tag:re,realList:Pe,getKey:$e});this.componentStructure=Be;var Ge=Ee({$attrs:G,componentData:ve});return Be.render(J.h,Ge)}catch(xe){return this.error=!0,Object(J.h)("pre",{style:{color:"red"}},xe.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 M=this;if(!this.error){var G=this.$attrs,re=this.$el,ve=this.componentStructure;ve.updated();var Pe=V({$attrs:G,callBackBuilder:{manageAndEmit:function(Ge){return B.call(M,Ge)},emit:function(Ge){return Y.bind(M,Ge)},manage:function(Ge){return R.call(M,Ge)}}}),$e=re.nodeType===1?re:re.parentElement;this._sortable=new I.a($e,Pe),this.targetDomElement=$e,$e.__draggable_component__=this}},updated:function(){this.componentStructure.updated()},beforeUnmount:function(){this._sortable!==void 0&&this._sortable.destroy()},computed:{realList:function(){var M=this.list;return M||this.modelValue},getKey:function(){var M=this.itemKey;return typeof M=="function"?M:function(G){return G[M]}}},watch:{$attrs:{handler:function(M){var G=this._sortable;G&&le(M).forEach(function(re){var ve=y(re,2),Pe=ve[0],$e=ve[1];G.option(Pe,$e)})},deep:!0}},methods:{getUnderlyingVm:function(M){return this.componentStructure.getUnderlyingVm(M)||null},getUnderlyingPotencialDraggableComponent:function(M){return M.__draggable_component__},emitChanges:function(M){var G=this;Object(J.nextTick)(function(){return G.$emit("change",M)})},alterList:function(M){if(this.list){M(this.list);return}var G=T(this.modelValue);M(G),this.$emit("update:modelValue",G)},spliceList:function(){var M=arguments,G=function(ve){return ve.splice.apply(ve,T(M))};this.alterList(G)},updatePosition:function(M,G){var re=function(Pe){return Pe.splice(G,0,Pe.splice(M,1)[0])};this.alterList(re)},getRelatedContextFromMoveEvent:function(M){var G=M.to,re=M.related,ve=this.getUnderlyingPotencialDraggableComponent(G);if(!ve)return{component:ve};var Pe=ve.realList,$e={list:Pe,component:ve};if(G!==re&&Pe){var Be=ve.getUnderlyingVm(re)||{};return m(m({},Be),$e)}return $e},getVmIndexFromDomIndex:function(M){return this.componentStructure.getVmIndexFromDomIndex(M,this.targetDomElement)},onDragStart:function(M){this.context=this.getUnderlyingVm(M.item),M.item._underlying_vm_=this.clone(this.context.element),ge=M.item},onDragAdd:function(M){var G=M.item._underlying_vm_;if(G!==void 0){D(M.item);var re=this.getVmIndexFromDomIndex(M.newIndex);this.spliceList(re,0,G);var ve={element:G,newIndex:re};this.emitChanges({added:ve})}},onDragRemove:function(M){if(U(this.$el,M.item,M.oldIndex),M.pullMode==="clone"){D(M.clone);return}var G=this.context,re=G.index,ve=G.element;this.spliceList(re,1);var Pe={element:ve,oldIndex:re};this.emitChanges({removed:Pe})},onDragUpdate:function(M){D(M.item),U(M.from,M.item,M.oldIndex);var G=this.context.index,re=this.getVmIndexFromDomIndex(M.newIndex);this.updatePosition(G,re);var ve={element:this.context.element,oldIndex:G,newIndex:re};this.emitChanges({moved:ve})},computeFutureIndex:function(M,G){if(!M.element)return 0;var re=T(G.to.children).filter(function(Be){return Be.style.display!=="none"}),ve=re.indexOf(G.related),Pe=M.component.getVmIndexFromDomIndex(ve),$e=re.indexOf(ge)!==-1;return $e||!G.willInsertAfter?Pe:Pe+1},onDragMove:function(M,G){var re=this.move,ve=this.realList;if(!re||!ve)return!0;var Pe=this.getRelatedContextFromMoveEvent(M),$e=this.computeFutureIndex(Pe,M),Be=m(m({},this.context),{},{futureIndex:$e}),Ge=m(m({},M),{},{relatedContext:Pe,draggedContext:Be});return re(Ge,G)},onDragEnd:function(){ge=null}}}),Ve=Ue;o.default=Ve},fb6a:function(s,o,i){var a=i("23e7"),l=i("861d"),c=i("e8b5"),d=i("23cb"),f=i("50c4"),m=i("fc6a"),p=i("8418"),h=i("b622"),_=i("1dde"),C=i("ae40"),b=_("slice"),y=C("slice",{ACCESSORS:!0,0:0,1:2}),k=h("species"),z=[].slice,x=Math.max;a({target:"Array",proto:!0,forced:!b||!y},{slice:function(L,I){var D=m(this),U=f(D.length),Z=d(L,U),X=d(I===void 0?U:I,U),j,q,Ce;if(c(D)&&(j=D.constructor,typeof j=="function"&&(j===Array||c(j.prototype))?j=void 0:l(j)&&(j=j[k],j===null&&(j=void 0)),j===Array||j===void 0))return z.call(D,Z,X);for(q=new(j===void 0?Array:j)(x(X-Z,0)),Ce=0;Z<X;Z++,Ce++)Z in D&&p(q,Ce,D[Z]);return q.length=Ce,q}})},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})})(wy);var BS=wy.exports;const HS=fo(BS),jS={name:"PageQueue",components:{ContentWithHeading:nt,ListItemQueueItem:A2,draggable:HS,ModalDialogQueueItem:zy,ModalDialogAddUrlStream:VE,ModalDialogPlaylistSave:rS},data(){return{edit_mode:!1,show_details_modal:!1,show_url_modal:!1,show_pls_save_modal:!1,selected_item:{}}},computed:{state(){return this.$store.state.player},is_queue_save_allowed(){return this.$store.state.config.allow_modifying_stored_playlists&&this.$store.state.config.default_playlist_directory},queue(){return this.$store.state.queue},queue_items:{get(){return this.$store.state.queue.items},set(e){}},current_position(){const e=this.$store.getters.now_playing;return e===void 0||e.position===void 0?-1:this.$store.getters.now_playing.position},show_only_next_items(){return this.$store.state.show_only_next_items}},methods:{queue_clear(){N.queue_clear()},update_show_next_items(e){this.$store.commit(jg,!this.show_only_next_items)},remove(e){N.queue_remove(e.id)},move_item(e){const t=this.show_only_next_items?e.oldIndex+this.current_position:e.oldIndex,n=this.queue_items[t],r=n.position+(e.newIndex-e.oldIndex);r!==t&&N.queue_move(n.id,r)},open_dialog(e){this.selected_item=e,this.show_details_modal=!0},open_add_stream_dialog(){this.show_url_modal=!0},save_dialog(){this.queue_items.length>0&&(this.show_pls_save_modal=!0)}}},US={class:"fd-page"},qS=["textContent"],WS=["textContent"],GS={class:"buttons is-centered"},KS=["textContent"],ZS=["textContent"],YS=["disabled"],JS=["textContent"],XS=["disabled"],QS=["textContent"],e$=["disabled"],t$=["textContent"],n$=["onClick"],r$=["onClick"];function s$(e,t,n,r,s,o){const i=S("mdicon"),a=S("list-item-queue-item"),l=S("draggable"),c=S("modal-dialog-queue-item"),d=S("modal-dialog-add-url-stream"),f=S("modal-dialog-playlist-save"),m=S("content-with-heading");return w(),$("div",US,[v(m,null,{"heading-left":E(()=>[u("p",{class:"title is-4",textContent:g(e.$t("page.queue.title"))},null,8,qS),u("p",{class:"heading",textContent:g(e.$t("page.queue.count",{count:o.queue.count}))},null,8,WS)]),"heading-right":E(()=>[u("div",GS,[u("button",{class:Te(["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))},[v(i,{class:"icon",name:"arrow-collapse-down",size:"16"}),u("span",{textContent:g(e.$t("page.queue.hide-previous"))},null,8,KS)],2),u("button",{class:"button is-small",onClick:t[1]||(t[1]=(...p)=>o.open_add_stream_dialog&&o.open_add_stream_dialog(...p))},[v(i,{class:"icon",name:"web",size:"16"}),u("span",{textContent:g(e.$t("page.queue.add-stream"))},null,8,ZS)]),u("button",{class:Te(["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)},[v(i,{class:"icon",name:"pencil",size:"16"}),u("span",{textContent:g(e.$t("page.queue.edit"))},null,8,JS)],10,YS),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))},[v(i,{class:"icon",name:"delete-empty",size:"16"}),u("span",{textContent:g(e.$t("page.queue.clear"))},null,8,QS)],8,XS),o.is_queue_save_allowed?(w(),$("button",{key:0,class:"button is-small",disabled:o.queue_items.length===0,onClick:t[4]||(t[4]=(...p)=>o.save_dialog&&o.save_dialog(...p))},[v(i,{class:"icon",name:"content-save",size:"16"}),u("span",{textContent:g(e.$t("page.queue.save"))},null,8,t$)],8,e$)):H("",!0)])]),content:E(()=>[v(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})=>[v(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?H("",!0):(w(),$("a",{key:0,onClick:ot(_=>o.open_dialog(p),["prevent","stop"])},[v(i,{class:"icon has-text-dark",name:"dots-vertical",size:"16"})],8,n$)),p.id!==o.state.item_id&&s.edit_mode?(w(),$("a",{key:1,onClick:ot(_=>o.remove(p),["prevent","stop"])},[v(i,{class:"icon has-text-grey",name:"delete",size:"18"})],8,r$)):H("",!0)]),_:2},1032,["item","position","current_position","show_only_next_items","edit_mode"])]),_:1},8,["modelValue","onEnd"]),v(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"]),v(d,{show:s.show_url_modal,onClose:t[7]||(t[7]=p=>s.show_url_modal=!1)},null,8,["show"]),o.is_queue_save_allowed?(w(),be(f,{key:0,show:s.show_pls_save_modal,onClose:t[8]||(t[8]=p=>s.show_pls_save_modal=!1)},null,8,["show"])):H("",!0)]),_:1})])}const o$=se(jS,[["render",s$]]);var Ry={exports:{}},i$=[{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=i$,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}})(Ry);var a$=Ry.exports,l$=1/0,u$="[object Symbol]",c$=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Ly="\\ud800-\\udfff",d$="\\u0300-\\u036f\\ufe20-\\ufe23",m$="\\u20d0-\\u20f0",My="\\u2700-\\u27bf",Ny="a-z\\xdf-\\xf6\\xf8-\\xff",f$="\\xac\\xb1\\xd7\\xf7",p$="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",h$="\\u2000-\\u206f",_$=" \\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",Vy="A-Z\\xc0-\\xd6\\xd8-\\xde",g$="\\ufe0e\\ufe0f",By=f$+p$+h$+_$,Hy="[']",kp="["+By+"]",y$="["+d$+m$+"]",jy="\\d+",v$="["+My+"]",Uy="["+Ny+"]",qy="[^"+Ly+By+jy+My+Ny+Vy+"]",b$="\\ud83c[\\udffb-\\udfff]",C$="(?:"+y$+"|"+b$+")",z$="[^"+Ly+"]",Wy="(?:\\ud83c[\\udde6-\\uddff]){2}",Gy="[\\ud800-\\udbff][\\udc00-\\udfff]",Ls="["+Vy+"]",w$="\\u200d",xp="(?:"+Uy+"|"+qy+")",k$="(?:"+Ls+"|"+qy+")",Ep="(?:"+Hy+"(?:d|ll|m|re|s|t|ve))?",Sp="(?:"+Hy+"(?:D|LL|M|RE|S|T|VE))?",Ky=C$+"?",Zy="["+g$+"]?",x$="(?:"+w$+"(?:"+[z$,Wy,Gy].join("|")+")"+Zy+Ky+")*",E$=Zy+Ky+x$,S$="(?:"+[v$,Wy,Gy].join("|")+")"+E$,$$=RegExp([Ls+"?"+Uy+"+"+Ep+"(?="+[kp,Ls,"$"].join("|")+")",k$+"+"+Sp+"(?="+[kp,Ls+xp,"$"].join("|")+")",Ls+"?"+xp+"+"+Ep,Ls+"+"+Sp,jy,S$].join("|"),"g"),A$=/[a-z][A-Z]|[A-Z]{2,}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,T$=typeof Yt=="object"&&Yt&&Yt.Object===Object&&Yt,O$=typeof self=="object"&&self&&self.Object===Object&&self,D$=T$||O$||Function("return this")();function P$(e){return e.match(c$)||[]}function I$(e){return A$.test(e)}function F$(e){return e.match($$)||[]}var R$=Object.prototype,L$=R$.toString,$p=D$.Symbol,Ap=$p?$p.prototype:void 0,Tp=Ap?Ap.toString:void 0;function M$(e){if(typeof e=="string")return e;if(V$(e))return Tp?Tp.call(e):"";var t=e+"";return t=="0"&&1/e==-l$?"-0":t}function N$(e){return!!e&&typeof e=="object"}function V$(e){return typeof e=="symbol"||N$(e)&&L$.call(e)==u$}function B$(e){return e==null?"":M$(e)}function H$(e,t,n){return e=B$(e),t=n?void 0:t,t===void 0?I$(e)?F$(e):P$(e):e.match(t)||[]}var j$=H$,U$=1/0,q$="[object Symbol]",W$=/^\s+/,nm="\\ud800-\\udfff",Yy="\\u0300-\\u036f\\ufe20-\\ufe23",Jy="\\u20d0-\\u20f0",Xy="\\ufe0e\\ufe0f",G$="["+nm+"]",Nc="["+Yy+Jy+"]",Vc="\\ud83c[\\udffb-\\udfff]",K$="(?:"+Nc+"|"+Vc+")",Qy="[^"+nm+"]",ev="(?:\\ud83c[\\udde6-\\uddff]){2}",tv="[\\ud800-\\udbff][\\udc00-\\udfff]",nv="\\u200d",rv=K$+"?",sv="["+Xy+"]?",Z$="(?:"+nv+"(?:"+[Qy,ev,tv].join("|")+")"+sv+rv+")*",Y$=sv+rv+Z$,J$="(?:"+[Qy+Nc+"?",Nc,ev,tv,G$].join("|")+")",X$=RegExp(Vc+"(?="+Vc+")|"+J$+Y$,"g"),Q$=RegExp("["+nv+nm+Yy+Jy+Xy+"]"),eA=typeof Yt=="object"&&Yt&&Yt.Object===Object&&Yt,tA=typeof self=="object"&&self&&self.Object===Object&&self,nA=eA||tA||Function("return this")();function rA(e){return e.split("")}function sA(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 oA(e,t,n){if(t!==t)return sA(e,iA,n);for(var r=n-1,s=e.length;++r<s;)if(e[r]===t)return r;return-1}function iA(e){return e!==e}function aA(e,t){for(var n=-1,r=e.length;++n<r&&oA(t,e[n],0)>-1;);return n}function lA(e){return Q$.test(e)}function Op(e){return lA(e)?uA(e):rA(e)}function uA(e){return e.match(X$)||[]}var cA=Object.prototype,dA=cA.toString,Dp=nA.Symbol,Pp=Dp?Dp.prototype:void 0,Ip=Pp?Pp.toString:void 0;function mA(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 ov(e){if(typeof e=="string")return e;if(hA(e))return Ip?Ip.call(e):"";var t=e+"";return t=="0"&&1/e==-U$?"-0":t}function fA(e,t,n){var r=e.length;return n=n===void 0?r:n,!t&&n>=r?e:mA(e,t,n)}function pA(e){return!!e&&typeof e=="object"}function hA(e){return typeof e=="symbol"||pA(e)&&dA.call(e)==q$}function _A(e){return e==null?"":ov(e)}function gA(e,t,n){if(e=_A(e),e&&(n||t===void 0))return e.replace(W$,"");if(!e||!(t=ov(t)))return e;var r=Op(e),s=aA(r,Op(t));return fA(r,s).join("")}var yA=gA,Bc=1/0,vA=9007199254740991,bA=17976931348623157e292,Fp=0/0,CA="[object Symbol]",zA=/^\s+|\s+$/g,wA=/^[-+]0x[0-9a-f]+$/i,kA=/^0b[01]+$/i,xA=/^0o[0-7]+$/i,rm="\\ud800-\\udfff",iv="\\u0300-\\u036f\\ufe20-\\ufe23",av="\\u20d0-\\u20f0",lv="\\ufe0e\\ufe0f",EA="["+rm+"]",Hc="["+iv+av+"]",jc="\\ud83c[\\udffb-\\udfff]",SA="(?:"+Hc+"|"+jc+")",uv="[^"+rm+"]",cv="(?:\\ud83c[\\udde6-\\uddff]){2}",dv="[\\ud800-\\udbff][\\udc00-\\udfff]",mv="\\u200d",fv=SA+"?",pv="["+lv+"]?",$A="(?:"+mv+"(?:"+[uv,cv,dv].join("|")+")"+pv+fv+")*",AA=pv+fv+$A,TA="(?:"+[uv+Hc+"?",Hc,cv,dv,EA].join("|")+")",Uc=RegExp(jc+"(?="+jc+")|"+TA+AA,"g"),OA=RegExp("["+mv+rm+iv+av+lv+"]"),DA=parseInt,PA=typeof Yt=="object"&&Yt&&Yt.Object===Object&&Yt,IA=typeof self=="object"&&self&&self.Object===Object&&self,FA=PA||IA||Function("return this")(),RA=MA("length");function LA(e){return e.split("")}function MA(e){return function(t){return t==null?void 0:t[e]}}function sm(e){return OA.test(e)}function hv(e){return sm(e)?VA(e):RA(e)}function NA(e){return sm(e)?BA(e):LA(e)}function VA(e){for(var t=Uc.lastIndex=0;Uc.test(e);)t++;return t}function BA(e){return e.match(Uc)||[]}var HA=Object.prototype,jA=HA.toString,Rp=FA.Symbol,UA=Math.ceil,qA=Math.floor,Lp=Rp?Rp.prototype:void 0,Mp=Lp?Lp.toString:void 0;function Np(e,t){var n="";if(!e||t<1||t>vA)return n;do t%2&&(n+=e),t=qA(t/2),t&&(e+=e);while(t);return n}function WA(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 _v(e){if(typeof e=="string")return e;if(gv(e))return Mp?Mp.call(e):"";var t=e+"";return t=="0"&&1/e==-Bc?"-0":t}function GA(e,t,n){var r=e.length;return n=n===void 0?r:n,!t&&n>=r?e:WA(e,t,n)}function KA(e,t){t=t===void 0?" ":_v(t);var n=t.length;if(n<2)return n?Np(t,e):t;var r=Np(t,UA(e/hv(t)));return sm(t)?GA(NA(r),0,e).join(""):r.slice(0,e)}function Vp(e){var t=typeof e;return!!e&&(t=="object"||t=="function")}function ZA(e){return!!e&&typeof e=="object"}function gv(e){return typeof e=="symbol"||ZA(e)&&jA.call(e)==CA}function YA(e){if(!e)return e===0?e:0;if(e=XA(e),e===Bc||e===-Bc){var t=e<0?-1:1;return t*bA}return e===e?e:0}function JA(e){var t=YA(e),n=t%1;return t===t?n?t-n:t:0}function XA(e){if(typeof e=="number")return e;if(gv(e))return Fp;if(Vp(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=Vp(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=e.replace(zA,"");var n=kA.test(e);return n||xA.test(e)?DA(e.slice(2),n?2:8):wA.test(e)?Fp:+e}function QA(e){return e==null?"":_v(e)}function e8(e,t,n){e=QA(e),t=JA(t);var r=t?hv(e):0;return t&&r<t?e+KA(t-r,n):e}var t8=e8,n8=(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 bi="a-f\\d",r8=`#?[${bi}]{3}[${bi}]?`,s8=`#?[${bi}]{6}([${bi}]{2})?`,o8=new RegExp(`[^#${bi}]`,"gi"),i8=new RegExp(`^${r8}$|^${s8}$`,"i");var a8=(e,t={})=>{if(typeof e!="string"||o8.test(e)||!i8.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}},l8=a$,u8=j$,c8=yA,d8=t8,m8=n8,yv=a8;const Lu=.75,Mu=.25,Nu=16777215,f8=49979693;var p8=function(e){return"#"+g8(String(JSON.stringify(e)))};function h8(e){var t=u8(e),n=[];return t.forEach(function(r){var s=l8(r);s&&n.push(yv(c8(s,"#"),{format:"array"}))}),n}function _8(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 g8(e){var t,n=h8(e);n.length>0&&(t=_8(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(Nu/s),r=(r+e[i].charCodeAt(0)*o*f8)%Nu;var a=(r*e.length%Nu).toString(16);a=d8(a,6,a);var l=yv(a,{format:"array"});return t?m8(Mu*l[0]+Lu*t[0],Mu*l[1]+Lu*t[1],Mu*l[2]+Lu*t[2]):a}const y8=fo(p8);function v8(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 b8(e){return v8(e)?"#000000":"#ffffff"}function C8(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 z8(e,t,n){const r=y8(t),s=b8(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 C8(o)}const w8={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?N.artwork_url_append_size_params(this.artwork_url,this.maxwidth,this.maxheight):N.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 z8(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 k8(e,t,n,r,s,o){const i=bd("lazy");return w(),$("figure",null,[ut(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 Gn=se(w8,[["render",k8]]);var x8="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",E8="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",S8="M13 14H11V9H13M13 18H11V16H13M1 21H23L12 2L1 21Z",$8="M19.92,12.08L12,20L4.08,12.08L5.5,10.67L11,16.17V2H13V16.17L18.5,10.66L19.92,12.08M12,20H2V22H22V20H12Z",A8="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",T8="M17.5 14.33C18.29 14.33 19.13 14.41 20 14.57V16.07C19.38 15.91 18.54 15.83 17.5 15.83C15.6 15.83 14.11 16.16 13 16.82V15.13C14.17 14.6 15.67 14.33 17.5 14.33M13 12.46C14.29 11.93 15.79 11.67 17.5 11.67C18.29 11.67 19.13 11.74 20 11.9V13.4C19.38 13.24 18.54 13.16 17.5 13.16C15.6 13.16 14.11 13.5 13 14.15M17.5 10.5C15.6 10.5 14.11 10.82 13 11.5V9.84C14.23 9.28 15.73 9 17.5 9C18.29 9 19.13 9.08 20 9.23V10.78C19.26 10.59 18.41 10.5 17.5 10.5M21 18.5V7C19.96 6.67 18.79 6.5 17.5 6.5C15.45 6.5 13.62 7 12 8V19.5C13.62 18.5 15.45 18 17.5 18C18.69 18 19.86 18.16 21 18.5M17.5 4.5C19.85 4.5 21.69 5 23 6V20.56C23 20.68 22.95 20.8 22.84 20.91C22.73 21 22.61 21.08 22.5 21.08C22.39 21.08 22.31 21.06 22.25 21.03C20.97 20.34 19.38 20 17.5 20C15.45 20 13.62 20.5 12 21.5C10.66 20.5 8.83 20 6.5 20C4.84 20 3.25 20.36 1.75 21.07C1.72 21.08 1.68 21.08 1.63 21.1C1.59 21.11 1.55 21.12 1.5 21.12C1.39 21.12 1.27 21.08 1.16 21C1.05 20.89 1 20.78 1 20.65V6C2.34 5 4.18 4.5 6.5 4.5C8.83 4.5 10.66 5 12 6C13.34 5 15.17 4.5 17.5 4.5Z",O8="M9 3V18H12V3H9M12 5L16 18L19 17L15 4L12 5M5 5V18H8V5H5M3 19V21H21V19H3Z",D8="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",eu="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",P8="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",I8="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",F8="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",R8="M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z",L8="M7.41,8.58L12,13.17L16.59,8.58L18,10L12,16L6,10L7.41,8.58Z",M8="M7.41,15.41L12,10.83L16.59,15.41L18,14L12,8L6,14L7.41,15.41Z",N8="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",V8="M19,4H15.5L14.5,3H9.5L8.5,4H5V6H19M6,19A2,2 0 0,0 8,21H16A2,2 0 0,0 18,19V7H6V19Z",B8="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",H8="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",j8="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",U8="M3,15V13H5V15H3M3,11V9H5V11H3M7,15V13H9V15H7M7,11V9H9V11H7M11,15V13H13V15H11M11,11V9H13V11H11M15,15V13H17V15H15M15,11V9H17V11H15M19,15V13H21V15H19M19,11V9H21V11H19Z",q8="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",W8="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",G8="M14,2H6A2,2 0 0,0 4,4V20A2,2 0 0,0 6,22H18A2,2 0 0,0 20,20V8L14,2M18,20H6V4H13V9H18V20Z",K8="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",Z8="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",Y8="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",J8="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",X8="M3,6H21V8H3V6M3,11H21V13H3V11M3,16H21V18H3V16Z",Q8="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",eT="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",tT="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",nT="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",rT="M14,19H18V5H14M6,19H10V5H6V19Z",sT="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",oT="M22,14H20V16H14V13H16V11H14V6A2,2 0 0,0 12,4H4V2H2V10H4V8H10V11H8V13H10V18A2,2 0 0,0 12,20H20V22H22",iT="M8,5.14V19.14L19,12.14L8,5.14Z",aT="M3 10H14V12H3V10M3 6H14V8H3V6M3 14H10V16H3V14M16 13V21L22 17L16 13Z",lT="M3 16H10V14H3M18 14V10H16V14H12V16H16V20H18V16H22V14M14 6H3V8H14M14 10H3V12H14V10Z",uT="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",cT="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",dT="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",mT="M17,17H7V14L3,18L7,22V19H19V13H17M7,7H17V10L21,6L17,2V5H5V11H7V7Z",fT="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",pT="M13,15V9H12L10,10V11H11.5V15M17,17H7V14L3,18L7,22V19H19V13H17M7,7H17V10L21,6L17,2V5H5V11H7V7Z",hT="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",_T="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",gT="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",yT="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",vT="M16,4.5V7H5V9H16V11.5L19.5,8M16,12.5V15H5V17H16V19.5L19.5,16",bT="M20,5V19L13,12M6,5V19H4V5M13,5V19L6,12",CT="M4,5V19L11,12M18,5V19H20V5M11,5V19L18,12",zT="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",wT="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",kT="M18,18H6V6H18V18Z",xT="M11,9L12.42,10.42L8.83,14H18V4H20V16H8.83L12.42,19.58L11,21L5,15L11,9Z",ET="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",ST="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",$T="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";const Tr=1e3,AT={name:"PageNowPlaying",components:{ModalDialogQueueItem:zy,CoverArtwork:Gn},data(){return{cursor:eu,INTERVAL:Tr,interval_id:0,is_dragged:!1,show_details_modal:!1,selected_item:{}}},computed:{is_live(){return this.track.length_ms===0},track_progress:{get(){return Math.floor(this.player.item_progress_ms/Tr)},set(e){this.player.item_progress_ms=e*Tr}},track_progress_ratio(){return this.track_progress/this.track_progress_max},player(){return this.$store.state.player},track(){return this.$store.getters.now_playing},track_progress_max(){return this.is_live?1:Math.floor(this.track.length_ms/Tr)},track_elapsed_time(){return this.$filters.durationInHours(this.track_progress*Tr)},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,Tr))}},created(){N.player_status().then(({data:e})=>{this.$store.commit(Nd,e),this.player.state==="play"&&(this.interval_id=window.setInterval(this.tick,Tr))})},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||N.player_seek_to_pos(this.track_progress*Tr)},open_dialog(e){this.selected_item=e,this.show_details_modal=!0}}},TT={class:"hero is-fullheight"},OT={key:0,class:"hero-body"},DT={class:"container has-text-centered",style:{"max-width":"500px"}},PT=["max","disabled"],IT={class:"is-flex is-justify-content-space-between"},FT=["textContent"],RT=["textContent"],LT=["textContent"],MT=["textContent"],NT=["textContent"],VT=["textContent"],BT=["textContent"],HT={key:1,class:"hero-body"},jT={class:"container has-text-centered"},UT=["textContent"],qT=["textContent"];function WT(e,t,n,r,s,o){const i=S("cover-artwork"),a=S("modal-dialog-queue-item");return w(),$("div",TT,[o.track.id>0?(w(),$("div",OT,[u("div",DT,[v(i,{artwork_url:o.track.artwork_url,artist:o.track.artist,album:o.track.album,class:"is-clickable fd-has-shadow fd-cover-big-image",onClick:t[0]||(t[0]=l=>o.open_dialog(o.track))},null,8,["artwork_url","artist","album"]),ut(u("input",{"onUpdate:modelValue":t[1]||(t[1]=l=>o.track_progress=l),max:o.track_progress_max,type:"range",class:Te(["slider mt-5",{"is-inactive":o.is_live}]),style:rn({"--ratio":o.track_progress_ratio,"--cursor":e.$filters.cursor(s.cursor)}),disabled:o.is_live,onChange:t[2]||(t[2]=(...l)=>o.seek&&o.seek(...l)),onMousedown:t[3]||(t[3]=(...l)=>o.start_dragging&&o.start_dragging(...l)),onMouseup:t[4]||(t[4]=(...l)=>o.end_dragging&&o.end_dragging(...l))},null,46,PT),[[Dt,o.track_progress,void 0,{number:!0}]]),u("div",IT,[u("p",{class:"subtitle is-7",textContent:g(o.track_elapsed_time)},null,8,FT),u("p",{class:"subtitle is-7",textContent:g(o.track_total_time)},null,8,RT)]),u("p",{class:"title is-5",textContent:g(o.track.title)},null,8,LT),u("p",{class:"title is-6",textContent:g(o.track.artist)},null,8,MT),o.composer?(w(),$("p",{key:0,class:"subtitle is-6 has-text-grey has-text-weight-bold",textContent:g(o.composer)},null,8,NT)):H("",!0),o.track.album?(w(),$("p",{key:1,class:"subtitle is-6",textContent:g(o.track.album)},null,8,VT)):H("",!0),o.filepath?(w(),$("p",{key:2,class:"subtitle is-6 has-text-grey",textContent:g(o.filepath)},null,8,BT)):H("",!0)])])):(w(),$("div",HT,[u("div",jT,[u("p",{class:"title is-5",textContent:g(e.$t("page.now-playing.title"))},null,8,UT),u("p",{class:"subtitle",textContent:g(e.$t("page.now-playing.info"))},null,8,qT)])])),v(a,{show:s.show_details_modal,item:s.selected_item,onClose:t[5]||(t[5]=l=>s.show_details_modal=!1)},null,8,["show","item"])])}const GT=se(AT,[["render",WT]]),KT={name:"TabsMusic",computed:{spotify_enabled(){return this.$store.state.spotify.webapi_token_valid}}},ZT={class:"section fd-tabs-section"},YT={class:"container"},JT={class:"columns is-centered"},XT={class:"column is-four-fifths"},QT={class:"tabs is-centered is-small"},eO=["onClick","onKeypress"],tO=["textContent"],nO=["onClick","onKeypress"],rO=["textContent"],sO=["onClick","onKeypress"],oO=["textContent"],iO=["onClick","onKeypress"],aO=["textContent"],lO=["onClick","onKeypress"],uO=["textContent"],cO=["onClick","onKeypress"],dO=["textContent"];function mO(e,t,n,r,s,o){const i=S("mdicon"),a=S("router-link");return w(),$("section",ZT,[u("div",YT,[u("div",JT,[u("div",XT,[u("div",QT,[u("ul",null,[v(a,{to:"/music/browse",custom:""},{default:E(({navigate:l,isActive:c})=>[u("li",{class:Te({"is-active":c})},[u("a",{onClick:l,onKeypress:fn(l,["enter"])},[v(i,{class:"icon is-small",name:"web",size:"16"}),u("span",{textContent:g(e.$t("page.browse.tabs.browse"))},null,8,tO)],40,eO)],2)]),_:1}),v(a,{to:"/music/artists",custom:""},{default:E(({navigate:l,isActive:c})=>[u("li",{class:Te({"is-active":c})},[u("a",{onClick:l,onKeypress:fn(l,["enter"])},[v(i,{class:"icon is-small",name:"account-music",size:"16"}),u("span",{textContent:g(e.$t("page.browse.tabs.artists"))},null,8,rO)],40,nO)],2)]),_:1}),v(a,{to:"/music/albums",custom:""},{default:E(({navigate:l,isActive:c})=>[u("li",{class:Te({"is-active":c})},[u("a",{onClick:l,onKeypress:fn(l,["enter"])},[v(i,{class:"icon is-small",name:"album",size:"16"}),u("span",{textContent:g(e.$t("page.browse.tabs.albums"))},null,8,oO)],40,sO)],2)]),_:1}),v(a,{to:"/music/genres",custom:""},{default:E(({navigate:l,isActive:c})=>[u("li",{class:Te({"is-active":c})},[u("a",{onClick:l,onKeypress:fn(l,["enter"])},[v(i,{class:"icon is-small",name:"speaker",size:"16"}),u("span",{textContent:g(e.$t("page.browse.tabs.genres"))},null,8,aO)],40,iO)],2)]),_:1}),v(a,{to:"/music/composers",custom:""},{default:E(({navigate:l,isActive:c})=>[u("li",{class:Te({"is-active":c})},[u("a",{onClick:l,onKeypress:fn(l,["enter"])},[v(i,{class:"icon is-small",name:"book-open-page-variant",size:"16"}),u("span",{textContent:g(e.$t("page.browse.tabs.composers"))},null,8,uO)],40,lO)],2)]),_:1}),o.spotify_enabled?(w(),be(a,{key:0,to:"/music/spotify",custom:""},{default:E(({navigate:l,isActive:c})=>[u("li",{class:Te({"is-active":c})},[u("a",{onClick:l,onKeypress:fn(l,["enter"])},[v(i,{class:"icon is-small",name:"spotify",size:"16"}),u("span",{textContent:g(e.$t("page.browse.tabs.spotify"))},null,8,dO)],40,cO)],2)]),_:1})):H("",!0)])])])])])])}const cr=se(KT,[["render",mO]]),fO={name:"ModalDialogAlbum",components:{CoverArtwork:Gn},props:["show","album","media_kind","new_tracks"],emits:["close","remove-podcast","play-count-changed"],data(){return{artwork_visible:!1}},computed:{artwork_url(){return N.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"),N.player_play_uri(this.album.uri,!1)},queue_add(){this.$emit("close"),N.queue_add(this.album.uri)},queue_add_next(){this.$emit("close"),N.queue_add_next(this.album.uri)},open_album(){this.$emit("close"),this.media_kind_resolved==="podcast"?this.$router.push({path:"/podcasts/"+this.album.id}):this.media_kind_resolved==="audiobook"?this.$router.push({path:"/audiobooks/"+this.album.id}):this.$router.push({path:"/music/albums/"+this.album.id})},open_artist(){this.$emit("close"),this.media_kind_resolved==="audiobook"?this.$router.push({path:"/audiobooks/artists/"+this.album.artist_id}):this.$router.push({path:"/music/artists/"+this.album.artist_id})},mark_played(){N.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}}},pO={key:0,class:"modal is-active"},hO={class:"modal-content fd-modal-card"},_O={class:"card"},gO={class:"card-content"},yO={class:"title is-4"},vO=["textContent"],bO={key:0,class:"buttons"},CO=["textContent"],zO=["textContent"],wO={class:"content is-small"},kO={key:0},xO=["textContent"],EO=["textContent"],SO={key:1},$O=["textContent"],AO=["textContent"],TO={key:2},OO=["textContent"],DO=["textContent"],PO=["textContent"],IO=["textContent"],FO=["textContent"],RO=["textContent"],LO=["textContent"],MO=["textContent"],NO=["textContent"],VO=["textContent"],BO={class:"card-footer"},HO=["textContent"],jO=["textContent"],UO=["textContent"];function qO(e,t,n,r,s,o){const i=S("cover-artwork"),a=S("mdicon");return w(),$("div",null,[v(Pt,{name:"fade"},{default:E(()=>[n.show?(w(),$("div",pO,[u("div",{class:"modal-background",onClick:t[0]||(t[0]=l=>e.$emit("close"))}),u("div",hO,[u("div",_O,[u("div",gO,[v(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",yO,[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,vO)]),o.media_kind_resolved==="podcast"?(w(),$("div",bO,[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,CO),n.album.data_kind==="url"?(w(),$("a",{key:0,class:"button is-small",onClick:t[3]||(t[3]=l=>e.$emit("remove-podcast")),textContent:g(e.$t("dialog.album.remove-podcast"))},null,8,zO)):H("",!0)])):H("",!0),u("div",wO,[n.album.artist?(w(),$("p",kO,[u("span",{class:"heading",textContent:g(e.$t("dialog.album.artist"))},null,8,xO),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,EO)])):H("",!0),n.album.date_released?(w(),$("p",SO,[u("span",{class:"heading",textContent:g(e.$t("dialog.album.release-date"))},null,8,$O),u("span",{class:"title is-6",textContent:g(e.$filters.date(n.album.date_released))},null,8,AO)])):n.album.year>0?(w(),$("p",TO,[u("span",{class:"heading",textContent:g(e.$t("dialog.album.year"))},null,8,OO),u("span",{class:"title is-6",textContent:g(n.album.year)},null,8,DO)])):H("",!0),u("p",null,[u("span",{class:"heading",textContent:g(e.$t("dialog.album.tracks"))},null,8,PO),u("span",{class:"title is-6",textContent:g(n.album.track_count)},null,8,IO)]),u("p",null,[u("span",{class:"heading",textContent:g(e.$t("dialog.album.duration"))},null,8,FO),u("span",{class:"title is-6",textContent:g(e.$filters.durationInHours(n.album.length_ms))},null,8,RO)]),u("p",null,[u("span",{class:"heading",textContent:g(e.$t("dialog.album.type"))},null,8,LO),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,MO)]),u("p",null,[u("span",{class:"heading",textContent:g(e.$t("dialog.album.added-on"))},null,8,NO),u("span",{class:"title is-6",textContent:g(e.$filters.datetime(n.album.time_added))},null,8,VO)])])]),u("footer",BO,[u("a",{class:"card-footer-item has-text-dark",onClick:t[5]||(t[5]=(...l)=>o.queue_add&&o.queue_add(...l))},[v(a,{class:"icon",name:"playlist-plus",size:"16"}),u("span",{class:"is-size-7",textContent:g(e.$t("dialog.album.add"))},null,8,HO)]),u("a",{class:"card-footer-item has-text-dark",onClick:t[6]||(t[6]=(...l)=>o.queue_add_next&&o.queue_add_next(...l))},[v(a,{class:"icon",name:"playlist-play",size:"16"}),u("span",{class:"is-size-7",textContent:g(e.$t("dialog.album.add-next"))},null,8,jO)]),u("a",{class:"card-footer-item has-text-dark",onClick:t[7]||(t[7]=(...l)=>o.play&&o.play(...l))},[v(a,{class:"icon",name:"play",size:"16"}),u("span",{class:"is-size-7",textContent:g(e.$t("dialog.album.play"))},null,8,UO)])])])]),u("button",{class:"modal-close is-large","aria-label":"close",onClick:t[8]||(t[8]=l=>e.$emit("close"))})])):H("",!0)]),_:1})])}const tu=se(fO,[["render",qO]]),WO={name:"ModalDialog",props:["show","title","ok_action","delete_action","close_action"],emits:["delete","close","ok"]},GO={key:0,class:"modal is-active"},KO={class:"modal-content fd-modal-card"},ZO={class:"card"},YO={class:"card-content"},JO=["textContent"],XO={class:"card-footer"},QO=["textContent"],e6=["textContent"],t6=["textContent"];function n6(e,t,n,r,s,o){const i=S("mdicon");return w(),$("div",null,[v(Pt,{name:"fade"},{default:E(()=>[n.show?(w(),$("div",GO,[u("div",{class:"modal-background",onClick:t[0]||(t[0]=a=>e.$emit("close"))}),u("div",KO,[u("div",ZO,[u("div",YO,[n.title?(w(),$("p",{key:0,class:"title is-4",textContent:g(n.title)},null,8,JO)):H("",!0),lt(e.$slots,"modal-content")]),u("footer",XO,[u("a",{class:"card-footer-item has-text-dark",onClick:t[1]||(t[1]=a=>e.$emit("close"))},[v(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,QO)]),n.delete_action?(w(),$("a",{key:0,class:"card-footer-item has-background-danger has-text-white has-text-weight-bold",onClick:t[2]||(t[2]=a=>e.$emit("delete"))},[v(i,{class:"icon",name:"delete",size:"16"}),u("span",{class:"is-size-7",textContent:g(n.delete_action)},null,8,e6)])):H("",!0),n.ok_action?(w(),$("a",{key:1,class:"card-footer-item has-background-info has-text-white has-text-weight-bold",onClick:t[3]||(t[3]=a=>e.$emit("ok"))},[v(i,{class:"icon",name:"check",size:"16"}),u("span",{class:"is-size-7",textContent:g(n.ok_action)},null,8,t6)])):H("",!0)])])]),u("button",{class:"modal-close is-large","aria-label":"close",onClick:t[4]||(t[4]=a=>e.$emit("close"))})])):H("",!0)]),_:3})])}const om=se(WO,[["render",n6]]),r6={name:"ListAlbums",components:{CoverArtwork:Gn,ModalDialogAlbum:tu,ModalDialog:om},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({path:"/podcasts/"+e.id}):this.media_kind_resolved==="audiobook"?this.$router.push({path:"/audiobooks/"+e.id}):this.$router.push({path:"/music/albums/"+e.id})},open_dialog(e){this.selected_album=e,this.show_details_modal=!0},open_remove_podcast_dialog(){N.library_album_tracks(this.selected_album.id,{limit:1}).then(({data:e})=>{N.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,N.library_playlist_delete(this.rss_playlist_to_remove.id).then(()=>{this.$emit("podcast-deleted")})}}},s6={key:0,class:"mt-6 mb-5 py-2"},o6=["id","textContent"],i6=["onClick"],a6={key:0,class:"media-left"},l6={class:"media-content is-clickable is-clipped"},u6=["textContent"],c6={class:"subtitle is-7 has-text-grey"},d6=["textContent"],m6=["textContent"],f6={class:"media-right"},p6=["onClick"],h6=["textContent"],_6={class:"is-size-7"},g6=["textContent"],y6=["textContent"];function v6(e,t,n,r,s,o){const i=S("cover-artwork"),a=S("mdicon"),l=S("modal-dialog-album"),c=S("modal-dialog");return w(),$(Oe,null,[(w(!0),$(Oe,null,pt(n.albums,d=>(w(),$(Oe,{key:d.itemId},[!d.isItem&&!n.hide_group_title?(w(),$("div",s6,[u("span",{id:"index_"+d.groupKey,class:"tag is-info is-light is-small has-text-weight-bold",textContent:g(d.groupKey)},null,8,o6)])):d.isItem?(w(),$("div",{key:1,class:"media is-align-items-center",onClick:f=>o.open_album(d.item)},[o.is_visible_artwork?(w(),$("div",a6,[v(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"])])):H("",!0),u("div",l6,[u("div",null,[u("h1",{class:"title is-6",textContent:g(d.item.name)},null,8,u6),u("h2",c6,[u("b",{textContent:g(d.item.artist)},null,8,d6)]),d.item.date_released&&d.item.media_kind==="music"?(w(),$("h2",{key:0,class:"subtitle is-7 has-text-grey has-text-weight-normal",textContent:g(e.$filters.date(d.item.date_released))},null,8,m6)):H("",!0)])]),u("div",f6,[u("a",{onClick:ot(f=>o.open_dialog(d.item),["prevent","stop"])},[v(a,{class:"icon has-text-dark",name:"dots-vertical",size:"16"})],8,p6)])],8,i6)):H("",!0)],64))),128)),(w(),be(Yr,{to:"#app"},[v(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"]),v(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,h6),u("p",_6,[dt(" ("),u("span",{textContent:g(e.$t("list.albums.info-2"))},null,8,g6),u("b",{textContent:g(s.rss_playlist_to_remove.name)},null,8,y6),dt(") ")])]),_:1},8,["show","title","delete_action","onDelete"])]))],64)}const dr=se(r6,[["render",v6]]),b6={name:"ModalDialogTrack",props:["show","track"],emits:["close","play-count-changed"],data(){return{spotify_track:{}}},watch:{track(){if(this.track&&this.track.data_kind==="spotify"){const e=new Wn;e.setAccessToken(this.$store.state.spotify.webapi_token),e.getTrack(this.track.path.slice(this.track.path.lastIndexOf(":")+1)).then(t=>{this.spotify_track=t})}else this.spotify_track={}}},methods:{play_track(){this.$emit("close"),N.player_play_uri(this.track.uri,!1)},queue_add(){this.$emit("close"),N.queue_add(this.track.uri)},queue_add_next(){this.$emit("close"),N.queue_add_next(this.track.uri)},open_album(){this.$emit("close"),this.track.media_kind==="podcast"?this.$router.push({path:"/podcasts/"+this.track.album_id}):this.track.media_kind==="audiobook"?this.$router.push({path:"/audiobooks/"+this.track.album_id}):this.$router.push({path:"/music/albums/"+this.track.album_id})},open_artist(){this.$emit("close"),this.$router.push({path:"/music/artists/"+this.track.album_artist_id})},open_genre(){this.$router.push({name:"Genre",params:{genre:this.track.genre}})},open_spotify_artist(){this.$emit("close"),this.$router.push({path:"/music/spotify/artists/"+this.spotify_track.artists[0].id})},open_spotify_album(){this.$emit("close"),this.$router.push({path:"/music/spotify/albums/"+this.spotify_track.album.id})},mark_new(){N.library_track_update(this.track.id,{play_count:"reset"}).then(()=>{this.$emit("play-count-changed"),this.$emit("close")})},mark_played(){N.library_track_update(this.track.id,{play_count:"increment"}).then(()=>{this.$emit("play-count-changed"),this.$emit("close")})}}},C6={key:0,class:"modal is-active"},z6={class:"modal-content fd-modal-card"},w6={class:"card"},k6={class:"card-content"},x6=["textContent"],E6=["textContent"],S6={key:0,class:"buttons"},$6=["textContent"],A6=["textContent"],T6={class:"content is-small"},O6=["textContent"],D6=["textContent"],P6={key:0},I6=["textContent"],F6=["textContent"],R6={key:1},L6=["textContent"],M6=["textContent"],N6={key:2},V6=["textContent"],B6=["textContent"],H6={key:3},j6=["textContent"],U6=["textContent"],q6={key:4},W6=["textContent"],G6=["textContent"],K6=["textContent"],Z6=["textContent"],Y6=["textContent"],J6=["textContent"],X6=["textContent"],Q6=["textContent"],e4=["textContent"],t4={class:"title is-6"},n4=["textContent"],r4={key:0,class:"has-text-weight-normal"},s4=["textContent"],o4=["textContent"],i4=["textContent"],a4={class:"title is-6"},l4=["textContent"],u4=["textContent"],c4=["textContent"],d4=["textContent"],m4=["textContent"],f4=["textContent"],p4=["textContent"],h4=["textContent"],_4={key:5},g4=["textContent"],y4=["textContent"],v4={class:"card-footer"},b4=["textContent"],C4=["textContent"],z4=["textContent"];function w4(e,t,n,r,s,o){const i=S("mdicon");return w(),$("div",null,[v(Pt,{name:"fade"},{default:E(()=>[n.show?(w(),$("div",C6,[u("div",{class:"modal-background",onClick:t[0]||(t[0]=a=>e.$emit("close"))}),u("div",z6,[u("div",w6,[u("div",k6,[u("p",{class:"title is-4",textContent:g(n.track.title)},null,8,x6),u("p",{class:"subtitle",textContent:g(n.track.artist)},null,8,E6),n.track.media_kind==="podcast"?(w(),$("div",S6,[n.track.play_count>0?(w(),$("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,$6)):H("",!0),n.track.play_count===0?(w(),$("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,A6)):H("",!0)])):H("",!0),u("div",T6,[u("p",null,[u("span",{class:"heading",textContent:g(e.$t("dialog.track.album"))},null,8,O6),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,D6)]),n.track.album_artist&&n.track.media_kind!=="audiobook"?(w(),$("p",P6,[u("span",{class:"heading",textContent:g(e.$t("dialog.track.album-artist"))},null,8,I6),u("a",{class:"title is-6 has-text-link",onClick:t[4]||(t[4]=(...a)=>o.open_artist&&o.open_artist(...a)),textContent:g(n.track.album_artist)},null,8,F6)])):H("",!0),n.track.composer?(w(),$("p",R6,[u("span",{class:"heading",textContent:g(e.$t("dialog.track.composer"))},null,8,L6),u("span",{class:"title is-6",textContent:g(n.track.composer)},null,8,M6)])):H("",!0),n.track.date_released?(w(),$("p",N6,[u("span",{class:"heading",textContent:g(e.$t("dialog.track.release-date"))},null,8,V6),u("span",{class:"title is-6",textContent:g(e.$filters.date(n.track.date_released))},null,8,B6)])):n.track.year>0?(w(),$("p",H6,[u("span",{class:"heading",textContent:g(e.$t("dialog.track.year"))},null,8,j6),u("span",{class:"title is-6",textContent:g(n.track.year)},null,8,U6)])):H("",!0),n.track.genre?(w(),$("p",q6,[u("span",{class:"heading",textContent:g(e.$t("dialog.track.genre"))},null,8,W6),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,G6)])):H("",!0),u("p",null,[u("span",{class:"heading",textContent:g(e.$t("dialog.track.position"))},null,8,K6),u("span",{class:"title is-6",textContent:g([n.track.disc_number,n.track.track_number].join(" / "))},null,8,Z6)]),u("p",null,[u("span",{class:"heading",textContent:g(e.$t("dialog.track.duration"))},null,8,Y6),u("span",{class:"title is-6",textContent:g(e.$filters.durationInHours(n.track.length_ms))},null,8,J6)]),u("p",null,[u("span",{class:"heading",textContent:g(e.$t("dialog.track.path"))},null,8,X6),u("span",{class:"title is-6",textContent:g(n.track.path)},null,8,Q6)]),u("p",null,[u("span",{class:"heading",textContent:g(e.$t("dialog.track.type"))},null,8,e4),u("span",t4,[u("span",{textContent:g([e.$t("media.kind."+n.track.media_kind),e.$t("data.kind."+n.track.data_kind)].join(" - "))},null,8,n4),n.track.data_kind==="spotify"?(w(),$("span",r4,[dt(" ("),u("a",{onClick:t[6]||(t[6]=(...a)=>o.open_spotify_artist&&o.open_spotify_artist(...a)),textContent:g(e.$t("dialog.track.spotify-artist"))},null,8,s4),dt(", "),u("a",{onClick:t[7]||(t[7]=(...a)=>o.open_spotify_album&&o.open_spotify_album(...a)),textContent:g(e.$t("dialog.track.spotify-album"))},null,8,o4),dt(") ")])):H("",!0)])]),u("p",null,[u("span",{class:"heading",textContent:g(e.$t("dialog.track.quality"))},null,8,i4),u("span",a4,[u("span",{textContent:g(n.track.type)},null,8,l4),n.track.samplerate?(w(),$("span",{key:0,textContent:g(e.$t("dialog.track.samplerate",{rate:n.track.samplerate}))},null,8,u4)):H("",!0),n.track.channels?(w(),$("span",{key:1,textContent:g(e.$t("dialog.track.channels",{channels:e.$filters.channels(n.track.channels)}))},null,8,c4)):H("",!0),n.track.bitrate?(w(),$("span",{key:2,textContent:g(e.$t("dialog.track.bitrate",{rate:n.track.bitrate}))},null,8,d4)):H("",!0)])]),u("p",null,[u("span",{class:"heading",textContent:g(e.$t("dialog.track.added-on"))},null,8,m4),u("span",{class:"title is-6",textContent:g(e.$filters.datetime(n.track.time_added))},null,8,f4)]),u("p",null,[u("span",{class:"heading",textContent:g(e.$t("dialog.track.rating"))},null,8,p4),u("span",{class:"title is-6",textContent:g(e.$t("dialog.track.rating-value",{rating:Math.floor(n.track.rating/10)}))},null,8,h4)]),n.track.comment?(w(),$("p",_4,[u("span",{class:"heading",textContent:g(e.$t("dialog.track.comment"))},null,8,g4),u("span",{class:"title is-6",textContent:g(n.track.comment)},null,8,y4)])):H("",!0)])]),u("footer",v4,[u("a",{class:"card-footer-item has-text-dark",onClick:t[8]||(t[8]=(...a)=>o.queue_add&&o.queue_add(...a))},[v(i,{class:"icon",name:"playlist-plus",size:"16"}),u("span",{class:"is-size-7",textContent:g(e.$t("dialog.track.add"))},null,8,b4)]),u("a",{class:"card-footer-item has-text-dark",onClick:t[9]||(t[9]=(...a)=>o.queue_add_next&&o.queue_add_next(...a))},[v(i,{class:"icon",name:"playlist-play",size:"16"}),u("span",{class:"is-size-7",textContent:g(e.$t("dialog.track.add-next"))},null,8,C4)]),u("a",{class:"card-footer-item has-text-dark",onClick:t[10]||(t[10]=(...a)=>o.play_track&&o.play_track(...a))},[v(i,{class:"icon",name:"play",size:"16"}),u("span",{class:"is-size-7",textContent:g(e.$t("dialog.track.play"))},null,8,z4)])])])]),u("button",{class:"modal-close is-large","aria-label":"close",onClick:t[11]||(t[11]=a=>e.$emit("close"))})])):H("",!0)]),_:1})])}const k4=se(b6,[["render",w4]]),x4={name:"ProgressBar",props:["max","value"],computed:{width(){return this.value>0&&this.max>0?parseInt(this.value*100/this.max):0},width_percent(){return this.width+"%"}}};function E4(e,t,n,r,s,o){return o.width>0?(w(),$("div",{key:0,class:"progress-bar mt-2",style:rn({width:o.width_percent})},null,4)):H("",!0)}const S4=se(x4,[["render",E4]]),$4={name:"ListTracks",components:{ModalDialogTrack:k4,ProgressBar:S4},props:["tracks","uris","expression","show_progress","show_icon"],emits:["play-count-changed"],data(){return{show_details_modal:!1,selected_track:{}}},methods:{play_track(e,t){this.uris?N.player_play_uri(this.uris,!1,e):this.expression?N.player_play_expression(this.expression,!1,e):N.player_play_uri(t.uri,!1)},open_dialog(e){this.selected_track=e,this.show_details_modal=!0}}},A4={key:0,class:"mt-6 mb-5 py-2"},T4=["id","textContent"],O4=["onClick"],D4={key:0,class:"media-left is-clickable"},P4={class:"media-content is-clickable is-clipped"},I4=["textContent"],F4=["textContent"],R4=["textContent"],L4={class:"media-right"},M4=["onClick"];function N4(e,t,n,r,s,o){const i=S("mdicon"),a=S("progress-bar"),l=S("modal-dialog-track");return w(),$(Oe,null,[(w(!0),$(Oe,null,pt(n.tracks,(c,d)=>(w(),$(Oe,{key:c.itemId},[c.isItem?c.isItem?(w(),$("div",{key:1,class:Te(["media is-align-items-center",{"with-progress":n.show_progress}]),onClick:f=>o.play_track(d,c.item)},[n.show_icon?(w(),$("figure",D4,[v(i,{class:"icon",name:"file-outline",size:"16"})])):H("",!0),u("div",P4,[u("h1",{class:Te(["title is-6",{"has-text-grey":c.item.media_kind==="podcast"&&c.item.play_count>0}]),textContent:g(c.item.title)},null,10,I4),u("h2",{class:"subtitle is-7 has-text-grey",textContent:g(c.item.artist)},null,8,F4),u("h2",{class:"subtitle is-7 has-text-grey",textContent:g(c.item.album)},null,8,R4),n.show_progress?(w(),be(a,{key:0,max:c.item.length_ms,value:c.item.seek_ms},null,8,["max","value"])):H("",!0)]),u("div",L4,[u("a",{onClick:ot(f=>o.open_dialog(c.item),["prevent","stop"])},[v(i,{class:"icon has-text-dark",name:"dots-vertical",size:"16"})],8,M4)])],10,O4)):H("",!0):(w(),$("div",A4,[u("span",{id:"index_"+c.groupKey,class:"tag is-info is-light is-small has-text-weight-bold",textContent:g(c.groupKey)},null,8,T4)]))],64))),128)),(w(),be(Yr,{to:"#app"},[v(l,{show:s.show_details_modal,track:s.selected_track,onClose:t[0]||(t[0]=c=>s.show_details_modal=!1),onPlayCountChanged:t[1]||(t[1]=c=>e.$emit("play-count-changed"))},null,8,["show","track"])]))],64)}const Cn=se($4,[["render",N4]]),{t:Vu,locale:im}=Hl.global,vv="GROUP_KEY_NONE";function bv(){return{compareFn:null,groupKeyFn:e=>vv}}function Kn(e,t=!1,n="_"){return{compareFn:t?null:(r,s)=>{const o=r[e]||n,i=s[e]||n;return o.localeCompare(i,im.value)},groupKeyFn:r=>{const s=(r[e]||n).charAt(0);return s.match(/\p{Letter}/gu)?s.toUpperCase():s.match(/\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 gl(e,{direction:t="asc",defaultValue:n="0000"}){return{compareFn:(r,s)=>{const o=r[e]||n,i=s[e]||n,a=o.localeCompare(i,im.value);return t==="asc"?a:a*-1},groupKeyFn:r=>(r[e]||n).substring(0,4)}}function V4(e,t="0000"){return{compareFn:(n,r)=>{const s=n[e]||t;return(r[e]||t).localeCompare(s,im.value)},groupKeyFn:n=>{const r=n[e];if(!r)return t;const s=new Date().getTime()-new Date(r).getTime();return s<864e5?Vu("group-by-list.today"):s<6048e5?Vu("group-by-list.last-week"):s<2592e6?Vu("group-by-list.last-month"):r.substring(0,4)}}}class we{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(bv())}get(){return this.itemsByGroup}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;let s=t.compareFn?[...r].sort(t.compareFn):r;this.indexList=[...new Set(s.map(t.groupKeyFn))],this.itemsByGroup=s.reduce((o,i)=>{const a=t.groupKeyFn(i);return o[a]=[...o[a]||[],i],o},{})}[Symbol.iterator](){let t=-1,n=-1;return{next:()=>{if(this.isEmpty())return{done:!0};if(t>=this.indexList.length)return{done:!0};if(t<0&&(++t,n=0,this.indexList[t]!==vv))return{value:{groupKey:this.indexList[t],itemId:this.indexList[t],isItem:!1,item:{}},done:!1};let r=this.indexList[t],s=this.itemsByGroup[r];if(n<s.length){const o=this.itemsByGroup[r][n++];return{value:{groupKey:r,itemId:o.id,isItem:!0,item:o},done:!1}}else return++t,n=0,t<this.indexList.length?(r=this.indexList[t],{value:{groupKey:r,itemId:r,isItem:!1,item:{}},done:!1}):{done:!0}}}}}const ia={load(e){return Promise.all([N.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}),N.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 we(t[0].data.albums),e.recently_played=new we(t[1].data.tracks)}},B4={name:"PageBrowse",components:{ContentWithHeading:nt,TabsMusic:cr,ListAlbums:dr,ListTracks:Cn},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{recently_added:[],recently_played:{items:[]},show_track_details_modal:!1,selected_track:{}}},methods:{open_browse(e){this.$router.push({path:"/music/browse/"+e})}}},H4={class:"fd-page-with-tabs"},j4=["textContent"],U4=["textContent"],q4={class:"level"},W4={class:"level-item"},G4=["textContent"],K4=["textContent"],Z4=["textContent"],Y4={class:"level"},J4={class:"level-item"},X4=["textContent"];function Q4(e,t,n,r,s,o){const i=S("tabs-music"),a=S("list-albums"),l=S("content-with-heading"),c=S("list-tracks");return w(),$("div",H4,[v(i),v(l,null,{"heading-left":E(()=>[u("p",{class:"title is-4",textContent:g(e.$t("page.browse.recently-added.title"))},null,8,j4),u("p",{class:"heading",textContent:g(e.$t("page.browse.albums"))},null,8,U4)]),content:E(()=>[v(a,{albums:s.recently_added},null,8,["albums"])]),footer:E(()=>[u("nav",q4,[u("p",W4,[u("a",{class:"button is-light is-small is-rounded",onClick:t[0]||(t[0]=d=>o.open_browse("recently_added")),textContent:g(e.$t("page.browse.show-more"))},null,8,G4)])])]),_:1}),v(l,null,{"heading-left":E(()=>[u("p",{class:"title is-4",textContent:g(e.$t("page.browse.recently-played.title"))},null,8,K4),u("p",{class:"heading",textContent:g(e.$t("page.browse.tracks"))},null,8,Z4)]),content:E(()=>[v(c,{tracks:s.recently_played},null,8,["tracks"])]),footer:E(()=>[u("nav",Y4,[u("p",J4,[u("a",{class:"button is-light is-small is-rounded",onClick:t[1]||(t[1]=d=>o.open_browse("recently_played")),textContent:g(e.$t("page.browse.show-more"))},null,8,X4)])])]),_:1})])}const e3=se(B4,[["render",Q4]]),aa={load(e){const t=Ke.getters.settings_option_recently_added_limit;return N.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 we(t.data.albums),e.recently_added.group(V4("time_added",{direction:"desc"}))}},t3={name:"PageBrowseType",components:{ContentWithHeading:nt,TabsMusic:cr,ListAlbums:dr},beforeRouteEnter(e,t,n){aa.load(e).then(r=>{n(s=>aa.set(s,r))})},beforeRouteUpdate(e,t,n){if(!this.recently_added.isEmpty()){n();return}const r=this;aa.load(e).then(s=>{aa.set(r,s),n()})},data(){return{recently_added:new we}}},n3={class:"fd-page-with-tabs"},r3=["textContent"],s3=["textContent"];function o3(e,t,n,r,s,o){const i=S("tabs-music"),a=S("list-albums"),l=S("content-with-heading");return w(),$("div",n3,[v(i),v(l,null,{"heading-left":E(()=>[u("p",{class:"title is-4",textContent:g(e.$t("page.browse.recently-added.title"))},null,8,r3),u("p",{class:"heading",textContent:g(e.$t("page.browse.recently-added.albums"))},null,8,s3)]),content:E(()=>[v(a,{albums:s.recently_added},null,8,["albums"])]),_:1})])}const i3=se(t3,[["render",o3]]),la={load(e){return N.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 we(t.data.tracks)}},a3={name:"PageBrowseType",components:{ContentWithHeading:nt,TabsMusic:cr,ListTracks:Cn},beforeRouteEnter(e,t,n){la.load(e).then(r=>{n(s=>la.set(s,r))})},beforeRouteUpdate(e,t,n){const r=this;la.load(e).then(s=>{la.set(r,s),n()})},data(){return{recently_played:{}}}},l3={class:"fd-page-with-tabs"},u3=["textContent"],c3=["textContent"];function d3(e,t,n,r,s,o){const i=S("tabs-music"),a=S("list-tracks"),l=S("content-with-heading");return w(),$("div",l3,[v(i),v(l,null,{"heading-left":E(()=>[u("p",{class:"title is-4",textContent:g(e.$t("page.browse.recently-played.title"))},null,8,u3),u("p",{class:"heading",textContent:g(e.$t("page.browse.recently-played.tracks"))},null,8,c3)]),content:E(()=>[v(a,{tracks:s.recently_played},null,8,["tracks"])]),_:1})])}const m3=se(a3,[["render",d3]]),f3={name:"IndexButtonList",props:["index"],methods:{nav(e){this.$router.push({hash:"#index_"+e})}}},p3={class:"buttons is-centered mb-4 fd-is-square"},h3=["onClick","textContent"];function _3(e,t,n,r,s,o){return w(),$("section",null,[u("nav",p3,[(w(!0),$(Oe,null,pt(n.index,i=>(w(),$("a",{key:i,class:"button is-small",onClick:a=>o.nav(i),textContent:g(i)},null,8,h3))),128))])])}const mr=se(f3,[["render",_3]]),g3={name:"ModalDialogArtist",props:["show","artist"],emits:["close"],methods:{play(){this.$emit("close"),N.player_play_uri(this.artist.uri,!1)},queue_add(){this.$emit("close"),N.queue_add(this.artist.uri)},queue_add_next(){this.$emit("close"),N.queue_add_next(this.artist.uri)},open_artist(){this.$emit("close"),this.$router.push({path:"/music/artists/"+this.artist.id})}}},y3={key:0,class:"modal is-active"},v3={class:"modal-content fd-modal-card"},b3={class:"card"},C3={class:"card-content"},z3={class:"title is-4"},w3=["textContent"],k3={class:"content is-small"},x3=["textContent"],E3=["textContent"],S3=["textContent"],$3=["textContent"],A3=["textContent"],T3=["textContent"],O3=["textContent"],D3=["textContent"],P3={class:"card-footer"},I3=["textContent"],F3=["textContent"],R3=["textContent"];function L3(e,t,n,r,s,o){const i=S("mdicon");return w(),$("div",null,[v(Pt,{name:"fade"},{default:E(()=>[n.show?(w(),$("div",y3,[u("div",{class:"modal-background",onClick:t[0]||(t[0]=a=>e.$emit("close"))}),u("div",v3,[u("div",b3,[u("div",C3,[u("p",z3,[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,w3)]),u("div",k3,[u("p",null,[u("span",{class:"heading",textContent:g(e.$t("dialog.artist.albums"))},null,8,x3),u("span",{class:"title is-6",textContent:g(n.artist.album_count)},null,8,E3)]),u("p",null,[u("span",{class:"heading",textContent:g(e.$t("dialog.artist.tracks"))},null,8,S3),u("span",{class:"title is-6",textContent:g(n.artist.track_count)},null,8,$3)]),u("p",null,[u("span",{class:"heading",textContent:g(e.$t("dialog.artist.type"))},null,8,A3),u("span",{class:"title is-6",textContent:g(e.$t("data.kind."+n.artist.data_kind))},null,8,T3)]),u("p",null,[u("span",{class:"heading",textContent:g(e.$t("dialog.artist.added-on"))},null,8,O3),u("span",{class:"title is-6",textContent:g(e.$filters.datetime(n.artist.time_added))},null,8,D3)])])]),u("footer",P3,[u("a",{class:"card-footer-item has-text-dark",onClick:t[2]||(t[2]=(...a)=>o.queue_add&&o.queue_add(...a))},[v(i,{class:"icon",name:"playlist-plus",size:"16"}),u("span",{class:"is-size-7",textContent:g(e.$t("dialog.artist.add"))},null,8,I3)]),u("a",{class:"card-footer-item has-text-dark",onClick:t[3]||(t[3]=(...a)=>o.queue_add_next&&o.queue_add_next(...a))},[v(i,{class:"icon",name:"playlist-play",size:"16"}),u("span",{class:"is-size-7",textContent:g(e.$t("dialog.artist.add-next"))},null,8,F3)]),u("a",{class:"card-footer-item has-text-dark",onClick:t[4]||(t[4]=(...a)=>o.play&&o.play(...a))},[v(i,{class:"icon",name:"play",size:"16"}),u("span",{class:"is-size-7",textContent:g(e.$t("dialog.artist.play"))},null,8,R3)])])])]),u("button",{class:"modal-close is-large","aria-label":"close",onClick:t[5]||(t[5]=a=>e.$emit("close"))})])):H("",!0)]),_:1})])}const nu=se(g3,[["render",L3]]),M3={name:"ListArtists",components:{ModalDialogArtist:nu},props:["artists","media_kind","hide_group_title"],data(){return{show_details_modal:!1,selected_artist:{}}},computed:{media_kind_resolved(){return this.media_kind?this.media_kind:this.selected_artist.media_kind}},methods:{open_artist(e){this.selected_artist=e,this.media_kind_resolved==="audiobook"?this.$router.push({path:"/audiobooks/artists/"+e.id}):this.$router.push({path:"/music/artists/"+e.id})},open_dialog(e){this.selected_artist=e,this.show_details_modal=!0}}},N3={key:0,class:"mt-6 mb-5 py-2"},V3={class:"media-content is-clipped"},B3=["id","textContent"],H3=["onClick"],j3={class:"media-content is-clickable is-clipped"},U3=["textContent"],q3={class:"media-right"},W3=["onClick"];function G3(e,t,n,r,s,o){const i=S("mdicon"),a=S("modal-dialog-artist");return w(),$(Oe,null,[(w(!0),$(Oe,null,pt(n.artists,l=>(w(),$(Oe,{key:l.itemId},[!l.isItem&&!n.hide_group_title?(w(),$("div",N3,[u("div",V3,[u("span",{id:"index_"+l.groupKey,class:"tag is-info is-light is-small has-text-weight-bold",textContent:g(l.groupKey)},null,8,B3)])])):l.isItem?(w(),$("div",{key:1,class:"media is-align-items-center",onClick:c=>o.open_artist(l.item)},[u("div",j3,[u("h1",{class:"title is-6",textContent:g(l.item.name)},null,8,U3)]),u("div",q3,[u("a",{onClick:ot(c=>o.open_dialog(l.item),["prevent","stop"])},[v(i,{class:"icon has-text-dark",name:"dots-vertical",size:"16"})],8,W3)])],8,H3)):H("",!0)],64))),128)),(w(),be(Yr,{to:"#app"},[v(a,{show:s.show_details_modal,artist:s.selected_artist,media_kind:n.media_kind,onClose:t[0]||(t[0]=l=>s.show_details_modal=!1)},null,8,["show","artist","media_kind"])]))],64)}const lm=se(M3,[["render",G3]]),K3={name:"DropdownMenu",props:["modelValue","options"],emits:["update:modelValue"],data(){return{is_active:!1}},computed:{option:{get(){return this.options.find(e=>e.id===this.modelValue)}}},methods:{onClickOutside(e){this.is_active=!1},select(e){this.is_active=!1,this.$emit("update:modelValue",e.id)}}},Z3={class:"dropdown-trigger"},Y3=["textContent"],J3={id:"dropdown-menu",class:"dropdown-menu",role:"menu"},X3={class:"dropdown-content"},Q3=["onClick","textContent"];function e5(e,t,n,r,s,o){const i=S("mdicon"),a=bd("click-away");return ut((w(),$("div",{class:Te(["dropdown",{"is-active":s.is_active}])},[u("div",Z3,[u("button",{class:"button","aria-haspopup":"true","aria-controls":"dropdown-menu",onClick:t[0]||(t[0]=l=>s.is_active=!s.is_active)},[u("span",{textContent:g(o.option.name)},null,8,Y3),v(i,{class:"icon",name:"chevron-down",size:"16"})])]),u("div",J3,[u("div",X3,[(w(!0),$(Oe,null,pt(n.options,l=>(w(),$("a",{key:l.id,class:Te(["dropdown-item",{"is-active":n.modelValue===l.id}]),onClick:c=>o.select(l),textContent:g(l.name)},null,10,Q3))),128))])])],2)),[[a,o.onClickOutside]])}const zs=se(K3,[["render",e5]]),ua={load(e){return N.library_artists("music")},set(e,t){e.artists_list=new we(t.data)}},t5={name:"PageArtists",components:{ContentWithHeading:nt,TabsMusic:cr,IndexButtonList:mr,ListArtists:lm,DropdownMenu:zs},beforeRouteEnter(e,t,n){ua.load(e).then(r=>{n(s=>ua.set(s,r))})},beforeRouteUpdate(e,t,n){if(!this.artists_list.isEmpty()){n();return}const r=this;ua.load(e).then(s=>{ua.set(r,s),n()})},data(){return{artists_list:new we,groupby_options:[{id:1,name:this.$t("page.artists.sort-by.name"),options:Kn("name_sort",!0)},{id:2,name:this.$t("page.artists.sort-by.recently-added"),options:gl("time_added",{direction:"desc"})}]}},computed:{artists(){if(!this.artists_list)return[];const e=this.groupby_options.find(t=>t.id===this.selected_groupby_option_id);return this.artists_list.group(e.options,[t=>!this.hide_singles||t.track_count>t.album_count*2,t=>!this.hide_spotify||t.data_kind!=="spotify"]),this.artists_list},selected_groupby_option_id:{get(){return this.$store.state.artists_sort},set(e){this.$store.commit(Ng,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(ql,e)}},hide_spotify:{get(){return this.$store.state.hide_spotify},set(e){this.$store.commit(jd,e)}}}},n5={class:"fd-page-with-tabs"},r5={class:"columns"},s5={class:"column"},o5=["textContent"],i5={class:"field"},a5={class:"control"},l5=["textContent"],u5=["textContent"],c5={key:0,class:"field"},d5={class:"control"},m5=["textContent"],f5=["textContent"],p5={class:"column"},h5=["textContent"],_5=["textContent"],g5=["textContent"];function y5(e,t,n,r,s,o){const i=S("tabs-music"),a=S("index-button-list"),l=S("dropdown-menu"),c=S("list-artists"),d=S("content-with-heading");return w(),$("div",n5,[v(i),v(d,null,{options:E(()=>[v(a,{index:o.artists.indexList},null,8,["index"]),u("div",r5,[u("div",s5,[u("p",{class:"heading mb-5",textContent:g(e.$t("page.artists.filter"))},null,8,o5),u("div",i5,[u("div",a5,[ut(u("input",{id:"switchHideSingles","onUpdate:modelValue":t[0]||(t[0]=f=>o.hide_singles=f),type:"checkbox",class:"switch is-rounded"},null,512),[[ar,o.hide_singles]]),u("label",{for:"switchHideSingles",textContent:g(e.$t("page.artists.hide-singles"))},null,8,l5)]),u("p",{class:"help",textContent:g(e.$t("page.artists.hide-singles-help"))},null,8,u5)]),o.spotify_enabled?(w(),$("div",c5,[u("div",d5,[ut(u("input",{id:"switchHideSpotify","onUpdate:modelValue":t[1]||(t[1]=f=>o.hide_spotify=f),type:"checkbox",class:"switch is-rounded"},null,512),[[ar,o.hide_spotify]]),u("label",{for:"switchHideSpotify",textContent:g(e.$t("page.artists.hide-spotify"))},null,8,m5)]),u("p",{class:"help",textContent:g(e.$t("page.artists.hide-spotify-help"))},null,8,f5)])):H("",!0)]),u("div",p5,[u("p",{class:"heading mb-5",textContent:g(e.$t("page.artists.sort-by.title"))},null,8,h5),v(l,{modelValue:o.selected_groupby_option_id,"onUpdate:modelValue":t[2]||(t[2]=f=>o.selected_groupby_option_id=f),options:s.groupby_options},null,8,["modelValue","options"])])])]),"heading-left":E(()=>[u("p",{class:"title is-4",textContent:g(e.$t("page.artists.title"))},null,8,_5),u("p",{class:"heading",textContent:g(e.$t("page.artists.count",{count:o.artists.count}))},null,8,g5)]),"heading-right":E(()=>[]),content:E(()=>[v(c,{artists:o.artists},null,8,["artists"])]),_:1})])}const v5=se(t5,[["render",y5]]),ca={load(e){return Promise.all([N.library_artist(e.params.artist_id),N.library_artist_albums(e.params.artist_id)])},set(e,t){e.artist=t[0].data,e.albums_list=new we(t[1].data)}},b5={name:"PageArtist",components:{ContentWithHeading:nt,ListAlbums:dr,ModalDialogArtist:nu,DropdownMenu:zs},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{artist:{},albums_list:new we,groupby_options:[{id:1,name:this.$t("page.artist.sort-by.name"),options:Kn("name_sort",!0)},{id:2,name:this.$t("page.artist.sort-by.release-date"),options:gl("date_released",{direction:"asc"})}],show_artist_details_modal:!1}},computed:{albums(){const e=this.groupby_options.find(t=>t.id===this.selected_groupby_option_id);return this.albums_list.group(e.options),this.albums_list},selected_groupby_option_id:{get(){return this.$store.state.artist_albums_sort},set(e){this.$store.commit(Vg,e)}}},methods:{open_tracks(){this.$router.push({path:"/music/artists/"+this.artist.id+"/tracks"})},play(){N.player_play_uri(this.albums.items.map(e=>e.uri).join(","),!0)}}},C5={class:"fd-page"},z5={class:"columns"},w5={class:"column"},k5=["textContent"],x5=["textContent"],E5={class:"buttons is-centered"},S5=["textContent"],$5={class:"heading has-text-centered-mobile"},A5=["textContent"],T5=u("span",null," | ",-1),O5=["textContent"];function D5(e,t,n,r,s,o){const i=S("dropdown-menu"),a=S("mdicon"),l=S("list-albums"),c=S("modal-dialog-artist"),d=S("content-with-heading");return w(),$("div",C5,[v(d,null,{options:E(()=>[u("div",z5,[u("div",w5,[u("p",{class:"heading mb-5",textContent:g(e.$t("page.artist.sort-by.title"))},null,8,k5),v(i,{modelValue:o.selected_groupby_option_id,"onUpdate:modelValue":t[0]||(t[0]=f=>o.selected_groupby_option_id=f),options:s.groupby_options},null,8,["modelValue","options"])])])]),"heading-left":E(()=>[u("p",{class:"title is-4",textContent:g(s.artist.name)},null,8,x5)]),"heading-right":E(()=>[u("div",E5,[u("a",{class:"button is-small is-light is-rounded",onClick:t[1]||(t[1]=f=>s.show_artist_details_modal=!0)},[v(a,{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))},[v(a,{class:"icon",name:"shuffle",size:"16"}),u("span",{textContent:g(e.$t("page.artist.shuffle"))},null,8,S5)])])]),content:E(()=>[u("p",$5,[u("span",{textContent:g(e.$t("page.artist.album-count",{count:s.artist.album_count}))},null,8,A5),T5,u("a",{class:"has-text-link",onClick:t[3]||(t[3]=(...f)=>o.open_tracks&&o.open_tracks(...f)),textContent:g(e.$t("page.artist.track-count",{count:s.artist.track_count}))},null,8,O5)]),v(l,{albums:o.albums,hide_group_title:!0},null,8,["albums"]),v(c,{show:s.show_artist_details_modal,artist:s.artist,onClose:t[4]||(t[4]=f=>s.show_artist_details_modal=!1)},null,8,["show","artist"])]),_:1})])}const P5=se(b5,[["render",D5]]),da={load(e){return N.library_albums("music")},set(e,t){e.albums_list=new we(t.data)}},I5={name:"PageAlbums",components:{ContentWithHeading:nt,TabsMusic:cr,IndexButtonList:mr,ListAlbums:dr,DropdownMenu:zs},beforeRouteEnter(e,t,n){da.load(e).then(r=>{n(s=>da.set(s,r))})},beforeRouteUpdate(e,t,n){if(!this.albums_list.isEmpty()){n();return}const r=this;da.load(e).then(s=>{da.set(r,s),n()})},data(){return{albums_list:new we,groupby_options:[{id:1,name:this.$t("page.albums.sort-by.name"),options:Kn("name_sort",!0)},{id:2,name:this.$t("page.albums.sort-by.recently-added"),options:gl("time_added",{direction:"desc"})},{id:3,name:this.$t("page.albums.sort-by.recently-released"),options:gl("date_released",{direction:"desc"})}]}},computed:{albums(){const e=this.groupby_options.find(t=>t.id===this.selected_groupby_option_id);return this.albums_list.group(e.options,[t=>!this.hide_singles||t.track_count>2,t=>!this.hide_spotify||t.data_kind!=="spotify"]),this.albums_list},selected_groupby_option_id:{get(){return this.$store.state.albums_sort},set(e){this.$store.commit(Hg,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(ql,e)}},hide_spotify:{get(){return this.$store.state.hide_spotify},set(e){this.$store.commit(jd,e)}}}},F5={class:"fd-page-with-tabs"},R5={class:"columns"},L5={class:"column"},M5=["textContent"],N5={class:"field"},V5={class:"control"},B5=["textContent"],H5=["textContent"],j5={key:0,class:"field"},U5={class:"control"},q5=["textContent"],W5=["textContent"],G5={class:"column"},K5=["textContent"],Z5=["textContent"],Y5=["textContent"];function J5(e,t,n,r,s,o){const i=S("tabs-music"),a=S("index-button-list"),l=S("dropdown-menu"),c=S("list-albums"),d=S("content-with-heading");return w(),$("div",F5,[v(i),v(d,null,{options:E(()=>[v(a,{index:o.albums.indexList},null,8,["index"]),u("div",R5,[u("div",L5,[u("p",{class:"heading mb-5",textContent:g(e.$t("page.albums.filter"))},null,8,M5),u("div",N5,[u("div",V5,[ut(u("input",{id:"switchHideSingles","onUpdate:modelValue":t[0]||(t[0]=f=>o.hide_singles=f),type:"checkbox",class:"switch is-rounded"},null,512),[[ar,o.hide_singles]]),u("label",{for:"switchHideSingles",textContent:g(e.$t("page.albums.hide-singles"))},null,8,B5)]),u("p",{class:"help",textContent:g(e.$t("page.albums.hide-singles-help"))},null,8,H5)]),o.spotify_enabled?(w(),$("div",j5,[u("div",U5,[ut(u("input",{id:"switchHideSpotify","onUpdate:modelValue":t[1]||(t[1]=f=>o.hide_spotify=f),type:"checkbox",class:"switch is-rounded"},null,512),[[ar,o.hide_spotify]]),u("label",{for:"switchHideSpotify",textContent:g(e.$t("page.albums.hide-spotify"))},null,8,q5)]),u("p",{class:"help",textContent:g(e.$t("page.albums.hide-spotify-help"))},null,8,W5)])):H("",!0)]),u("div",G5,[u("p",{class:"heading mb-5",textContent:g(e.$t("page.albums.sort-by.title"))},null,8,K5),v(l,{modelValue:o.selected_groupby_option_id,"onUpdate:modelValue":t[2]||(t[2]=f=>o.selected_groupby_option_id=f),options:s.groupby_options},null,8,["modelValue","options"])])])]),"heading-left":E(()=>[u("p",{class:"title is-4",textContent:g(e.$t("page.albums.title"))},null,8,Z5),u("p",{class:"heading",textContent:g(e.$t("page.albums.count",{count:o.albums.count}))},null,8,Y5)]),"heading-right":E(()=>[]),content:E(()=>[v(c,{albums:o.albums},null,8,["albums"])]),_:1})])}const X5=se(I5,[["render",J5]]),Q5={},eD={class:"hero is-light is-bold"},tD={class:"hero-body"},nD={class:"container"},rD={class:"columns is-centered"},sD={class:"column is-four-fifths"},oD={class:"columns is-flex-direction-row-reverse"},iD={class:"column fd-has-cover"},aD={class:"column m-auto is-three-fifths has-text-centered-mobile"},lD={class:"section pt-0"},uD={class:"container"},cD={class:"columns is-centered"},dD={class:"column is-four-fifths"};function mD(e,t){return w(),$(Oe,null,[u("section",eD,[u("div",tD,[u("div",nD,[u("div",rD,[u("div",sD,[u("div",oD,[u("div",iD,[lt(e.$slots,"heading-right")]),u("div",aD,[lt(e.$slots,"heading-left")])])])])])])]),u("section",lD,[u("div",uD,[u("div",cD,[u("div",dD,[lt(e.$slots,"content"),lt(e.$slots,"footer")])])])])],64)}const um=se(Q5,[["render",mD]]),ma={load(e){return Promise.all([N.library_album(e.params.album_id),N.library_album_tracks(e.params.album_id)])},set(e,t){e.album=t[0].data,e.tracks=new we(t[1].data)}},fD={name:"PageAlbum",components:{ContentWithHero:um,ListTracks:Cn,ModalDialogAlbum:tu,CoverArtwork:Gn},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{album:{},tracks:new we,show_album_details_modal:!1}},methods:{open_artist(){this.show_details_modal=!1,this.$router.push({path:"/music/artists/"+this.album.artist_id})},play(){N.player_play_uri(this.album.uri,!0)}}},pD={class:"fd-page"},hD=["textContent"],_D={class:"subtitle is-6 has-text-link has-text-weight-normal"},gD=["textContent"],yD={class:"buttons fd-is-centered-mobile mt-5"},vD=["textContent"],bD=["textContent"];function CD(e,t,n,r,s,o){const i=S("mdicon"),a=S("cover-artwork"),l=S("list-tracks"),c=S("modal-dialog-album"),d=S("content-with-hero");return w(),$("div",pD,[v(d,null,{"heading-left":E(()=>[u("h1",{class:"title is-5",textContent:g(s.album.name)},null,8,hD),u("h2",_D,[u("a",{class:"has-text-link",onClick:t[0]||(t[0]=(...f)=>o.open_artist&&o.open_artist(...f)),textContent:g(s.album.artist)},null,8,gD)]),u("div",yD,[u("a",{class:"button is-small is-dark is-rounded",onClick:t[1]||(t[1]=(...f)=>o.play&&o.play(...f))},[v(i,{class:"icon",name:"shuffle",size:"16"}),u("span",{textContent:g(e.$t("page.album.shuffle"))},null,8,vD)]),u("a",{class:"button is-small is-light is-rounded",onClick:t[2]||(t[2]=f=>s.show_album_details_modal=!0)},[v(i,{class:"icon",name:"dots-horizontal",size:"16"})])])]),"heading-right":E(()=>[v(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]=f=>s.show_album_details_modal=!0)},null,8,["artwork_url","artist","album"])]),content:E(()=>[u("p",{class:"heading is-7 has-text-centered-mobile mt-5",textContent:g(e.$t("page.album.track-count",{count:s.album.track_count}))},null,8,bD),v(l,{tracks:s.tracks,uris:s.album.uri},null,8,["tracks","uris"]),v(c,{show:s.show_album_details_modal,album:s.album,onClose:t[4]||(t[4]=f=>s.show_album_details_modal=!1)},null,8,["show","album"])]),_:1})])}const zD=se(fD,[["render",CD]]),wD={name:"ModalDialogGenre",props:["show","genre"],emits:["close"],methods:{play(){this.$emit("close"),N.player_play_expression('genre is "'+this.genre.name+'" and media_kind is music',!1)},queue_add(){this.$emit("close"),N.queue_expression_add('genre is "'+this.genre.name+'" and media_kind is music')},queue_add_next(){this.$emit("close"),N.queue_expression_add_next('genre is "'+this.genre.name+'" and media_kind is music')},open_genre(){this.$emit("close"),this.$router.push({name:"Genre",params:{genre:this.genre.name}})}}},kD={key:0,class:"modal is-active"},xD={class:"modal-content fd-modal-card"},ED={class:"card"},SD={class:"card-content"},$D={class:"title is-4"},AD=["textContent"],TD={class:"content is-small"},OD=["textContent"],DD=["textContent"],PD=["textContent"],ID=["textContent"],FD=["textContent"],RD=["textContent"],LD={class:"card-footer"},MD=["textContent"],ND=["textContent"],VD=["textContent"];function BD(e,t,n,r,s,o){const i=S("mdicon");return w(),$("div",null,[v(Pt,{name:"fade"},{default:E(()=>[n.show?(w(),$("div",kD,[u("div",{class:"modal-background",onClick:t[0]||(t[0]=a=>e.$emit("close"))}),u("div",xD,[u("div",ED,[u("div",SD,[u("p",$D,[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,AD)]),u("div",TD,[u("p",null,[u("span",{class:"heading",textContent:g(e.$t("dialog.genre.albums"))},null,8,OD),u("span",{class:"title is-6",textContent:g(n.genre.album_count)},null,8,DD)]),u("p",null,[u("span",{class:"heading",textContent:g(e.$t("dialog.genre.tracks"))},null,8,PD),u("span",{class:"title is-6",textContent:g(n.genre.track_count)},null,8,ID)]),u("p",null,[u("span",{class:"heading",textContent:g(e.$t("dialog.genre.duration"))},null,8,FD),u("span",{class:"title is-6",textContent:g(e.$filters.durationInHours(n.genre.length_ms))},null,8,RD)])])]),u("footer",LD,[u("a",{class:"card-footer-item has-text-dark",onClick:t[2]||(t[2]=(...a)=>o.queue_add&&o.queue_add(...a))},[v(i,{class:"icon",name:"playlist-plus",size:"16"}),u("span",{class:"is-size-7",textContent:g(e.$t("dialog.genre.add"))},null,8,MD)]),u("a",{class:"card-footer-item has-text-dark",onClick:t[3]||(t[3]=(...a)=>o.queue_add_next&&o.queue_add_next(...a))},[v(i,{class:"icon",name:"playlist-play",size:"16"}),u("span",{class:"is-size-7",textContent:g(e.$t("dialog.genre.add-next"))},null,8,ND)]),u("a",{class:"card-footer-item has-text-dark",onClick:t[4]||(t[4]=(...a)=>o.play&&o.play(...a))},[v(i,{class:"icon",name:"play",size:"16"}),u("span",{class:"is-size-7",textContent:g(e.$t("dialog.genre.play"))},null,8,VD)])])])]),u("button",{class:"modal-close is-large","aria-label":"close",onClick:t[5]||(t[5]=a=>e.$emit("close"))})])):H("",!0)]),_:1})])}const cm=se(wD,[["render",BD]]),HD={name:"ListGenres",components:{ModalDialogGenre:cm},props:["genres","media_kind","hide_group_title"],data(){return{show_details_modal:!1,selected_genre:{}}},computed:{media_kind_resolved(){return this.media_kind?this.media_kind:this.selected_genre.media_kind}},methods:{open_genre(e){this.$router.push({name:"Genre",params:{genre:e.name}})},open_dialog(e){this.selected_genre=e,this.show_details_modal=!0}}},jD={key:0,class:"mt-6 mb-5 py-2"},UD={class:"media-content is-clipped"},qD=["id","textContent"],WD=["onClick"],GD={class:"media-content is-clickable is-clipped"},KD=["textContent"],ZD={class:"media-right"},YD=["onClick"];function JD(e,t,n,r,s,o){const i=S("mdicon"),a=S("modal-dialog-genre");return w(),$(Oe,null,[(w(!0),$(Oe,null,pt(n.genres,l=>(w(),$(Oe,{key:l.itemId},[!l.isItem&&!n.hide_group_title?(w(),$("div",jD,[u("div",UD,[u("span",{id:"index_"+l.groupKey,class:"tag is-info is-light is-small has-text-weight-bold",textContent:g(l.groupKey)},null,8,qD)])])):l.isItem?(w(),$("div",{key:1,class:"media is-align-items-center",onClick:c=>o.open_genre(l.item)},[u("div",GD,[u("h1",{class:"title is-6",textContent:g(l.item.name)},null,8,KD)]),u("div",ZD,[u("a",{onClick:ot(c=>o.open_dialog(l.item),["prevent","stop"])},[v(i,{class:"icon has-text-dark",name:"dots-vertical",size:"16"})],8,YD)])],8,WD)):H("",!0)],64))),128)),(w(),be(Yr,{to:"#app"},[v(a,{show:s.show_details_modal,genre:s.selected_genre,onClose:t[0]||(t[0]=l=>s.show_details_modal=!1)},null,8,["show","genre"])]))],64)}const XD=se(HD,[["render",JD]]),fa={load(e){return N.library_genres("music")},set(e,t){e.genres=t.data,e.genres=new we(t.data),e.genres.group(Kn("name_sort"))}},QD={name:"PageGenres",components:{ContentWithHeading:nt,TabsMusic:cr,IndexButtonList:mr,ListGenres:XD},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{genres:new we}}},eP={class:"fd-page-with-tabs"},tP=["textContent"],nP=["textContent"];function rP(e,t,n,r,s,o){const i=S("tabs-music"),a=S("index-button-list"),l=S("list-genres"),c=S("content-with-heading");return w(),$("div",eP,[v(i),v(c,null,{options:E(()=>[v(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,tP),u("p",{class:"heading",textContent:g(e.$t("page.genres.count",{count:s.genres.total}))},null,8,nP)]),content:E(()=>[v(l,{genres:s.genres},null,8,["genres"])]),_:1})])}const sP=se(QD,[["render",rP]]),pa={load(e){return Promise.all([N.library_genre(e.params.genre),N.library_genre_albums(e.params.genre)])},set(e,t){e.genre=t[0].data,e.albums_list=new we(t[1].data.albums),e.albums_list.group(Kn("name_sort",!0))}},oP={name:"PageGenre",components:{ContentWithHeading:nt,IndexButtonList:mr,ListAlbums:dr,ModalDialogGenre:cm},beforeRouteEnter(e,t,n){pa.load(e).then(r=>{n(s=>pa.set(s,r))})},beforeRouteUpdate(e,t,n){if(!this.albums_list.isEmpty()){n();return}const r=this;pa.load(e).then(s=>{pa.set(r,s),n()})},data(){return{genre:{},albums_list:new we,show_genre_details_modal:!1}},methods:{open_tracks(){this.show_details_modal=!1,this.$router.push({name:"GenreTracks",params:{genre:this.genre.name}})},play(){N.player_play_expression('genre is "'+this.genre.name+'" and media_kind is music',!0)}}},iP={class:"fd-page"},aP=["textContent"],lP={class:"buttons is-centered"},uP=["textContent"],cP={class:"heading has-text-centered-mobile"},dP=["textContent"],mP=u("span",null," | ",-1),fP=["textContent"];function pP(e,t,n,r,s,o){const i=S("index-button-list"),a=S("mdicon"),l=S("list-albums"),c=S("modal-dialog-genre"),d=S("content-with-heading");return w(),$("div",iP,[v(d,null,{options:E(()=>[v(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,aP)]),"heading-right":E(()=>[u("div",lP,[u("a",{class:"button is-small is-light is-rounded",onClick:t[0]||(t[0]=f=>s.show_genre_details_modal=!0)},[v(a,{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))},[v(a,{class:"icon",name:"shuffle",size:"16"}),u("span",{textContent:g(e.$t("page.genre.shuffle"))},null,8,uP)])])]),content:E(()=>[u("p",cP,[u("span",{textContent:g(e.$t("page.genre.album-count",{count:s.genre.album_count}))},null,8,dP),mP,u("a",{class:"has-text-link",onClick:t[2]||(t[2]=(...f)=>o.open_tracks&&o.open_tracks(...f)),textContent:g(e.$t("page.genre.track-count",{count:s.genre.track_count}))},null,8,fP)]),v(l,{albums:s.albums_list},null,8,["albums"]),v(c,{show:s.show_genre_details_modal,genre:s.genre,onClose:t[3]||(t[3]=f=>s.show_genre_details_modal=!1)},null,8,["show","genre"])]),_:1})])}const hP=se(oP,[["render",pP]]),ha={load(e){return Promise.all([N.library_genre(e.params.genre),N.library_genre_tracks(e.params.genre)])},set(e,t){e.genre=t[0].data,e.tracks_list=new we(t[1].data.tracks)}},_P={name:"PageGenreTracks",components:{ContentWithHeading:nt,DropdownMenu:zs,IndexButtonList:mr,ListTracks:Cn,ModalDialogGenre:cm},beforeRouteEnter(e,t,n){ha.load(e).then(r=>{n(s=>ha.set(s,r))})},beforeRouteUpdate(e,t,n){const r=this;ha.load(e).then(s=>{ha.set(r,s),n()})},data(){return{genre:{},groupby_options:[{id:1,name:this.$t("page.genre.sort-by.name"),options:Kn("title_sort")},{id:2,name:this.$t("page.genre.sort-by.rating"),options:am("rating",{direction:"desc"})}],show_genre_details_modal:!1,tracks_list:new we}},computed:{expression(){return'genre is "'+this.genre.name+'" and media_kind is music'},selected_groupby_option_id:{get(){return this.$store.state.genre_tracks_sort},set(e){this.$store.commit(Mg,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",params:{genre:this.genre.name}})},play(){N.player_play_expression(this.expression,!0)}}},gP={class:"fd-page"},yP={class:"columns"},vP={class:"column"},bP=["textContent"],CP=["textContent"],zP={class:"buttons is-centered"},wP=["textContent"],kP={class:"heading has-text-centered-mobile"},xP=["textContent"],EP=u("span",null," | ",-1),SP=["textContent"];function $P(e,t,n,r,s,o){const i=S("index-button-list"),a=S("dropdown-menu"),l=S("mdicon"),c=S("list-tracks"),d=S("modal-dialog-genre"),f=S("content-with-heading");return w(),$("div",gP,[v(f,null,{options:E(()=>[v(i,{index:o.tracks.indexList},null,8,["index"]),u("div",yP,[u("div",vP,[u("p",{class:"heading mb-5",textContent:g(e.$t("page.genre.sort-by.title"))},null,8,bP),v(a,{modelValue:o.selected_groupby_option_id,"onUpdate:modelValue":t[0]||(t[0]=m=>o.selected_groupby_option_id=m),options:s.groupby_options},null,8,["modelValue","options"])])])]),"heading-left":E(()=>[u("p",{class:"title is-4",textContent:g(s.genre.name)},null,8,CP)]),"heading-right":E(()=>[u("div",zP,[u("a",{class:"button is-small is-light is-rounded",onClick:t[1]||(t[1]=m=>s.show_genre_details_modal=!0)},[v(l,{class:"icon",name:"dots-horizontal",size:"16"})]),u("a",{class:"button is-small is-dark is-rounded",onClick:t[2]||(t[2]=(...m)=>o.play&&o.play(...m))},[v(l,{class:"icon",name:"shuffle",size:"16"}),u("span",{textContent:g(e.$t("page.genre.shuffle"))},null,8,wP)])])]),content:E(()=>[u("p",kP,[u("a",{class:"has-text-link",onClick:t[3]||(t[3]=(...m)=>o.open_genre&&o.open_genre(...m)),textContent:g(e.$t("page.genre.album-count",{count:s.genre.album_count}))},null,8,xP),EP,u("span",{textContent:g(e.$t("page.genre.track-count",{count:s.genre.track_count}))},null,8,SP)]),v(c,{tracks:o.tracks,expression:o.expression},null,8,["tracks","expression"]),v(d,{show:s.show_genre_details_modal,genre:s.genre,onClose:t[4]||(t[4]=m=>s.show_genre_details_modal=!1)},null,8,["show","genre"])]),_:1})])}const AP=se(_P,[["render",$P]]),_a={load(e){return Promise.all([N.library_artist(e.params.artist_id),N.library_artist_tracks(e.params.artist_id)])},set(e,t){e.artist=t[0].data,e.tracks_list=new we(t[1].data.tracks)}},TP={name:"PageArtistTracks",components:{ContentWithHeading:nt,DropdownMenu:zs,IndexButtonList:mr,ListTracks:Cn,ModalDialogArtist:nu},beforeRouteEnter(e,t,n){_a.load(e).then(r=>{n(s=>_a.set(s,r))})},beforeRouteUpdate(e,t,n){const r=this;_a.load(e).then(s=>{_a.set(r,s),n()})},data(){return{artist:{},groupby_options:[{id:1,name:this.$t("page.artist.sort-by.name"),options:Kn("title_sort")},{id:2,name:this.$t("page.artist.sort-by.rating"),options:am("rating",{direction:"desc"})}],show_artist_details_modal:!1,tracks_list:new we}},computed:{selected_groupby_option_id:{get(){return this.$store.state.artist_tracks_sort},set(e){this.$store.commit(Bg,e)}},tracks(){const e=this.groupby_options.find(t=>t.id===this.selected_groupby_option_id);return this.tracks_list.group(e.options),this.tracks_list},track_uris(){return this.tracks_list.items.map(e=>e.uri).join(",")}},methods:{open_artist(){this.show_details_modal=!1,this.$router.push({path:"/music/artists/"+this.artist.id})},play(){N.player_play_uri(this.tracks_list.items.map(e=>e.uri).join(","),!0)}}},OP={class:"fd-page"},DP={class:"columns"},PP={class:"column"},IP=["textContent"],FP=["textContent"],RP={class:"buttons is-centered"},LP=["textContent"],MP={class:"heading has-text-centered-mobile"},NP=["textContent"],VP=u("span",null," | ",-1),BP=["textContent"];function HP(e,t,n,r,s,o){const i=S("index-button-list"),a=S("dropdown-menu"),l=S("mdicon"),c=S("list-tracks"),d=S("modal-dialog-artist"),f=S("content-with-heading");return w(),$("div",OP,[v(f,null,{options:E(()=>[v(i,{index:o.tracks.indexList},null,8,["index"]),u("div",DP,[u("div",PP,[u("p",{class:"heading mb-5",textContent:g(e.$t("page.artist.sort-by.title"))},null,8,IP),v(a,{modelValue:o.selected_groupby_option_id,"onUpdate:modelValue":t[0]||(t[0]=m=>o.selected_groupby_option_id=m),options:s.groupby_options},null,8,["modelValue","options"])])])]),"heading-left":E(()=>[u("p",{class:"title is-4",textContent:g(s.artist.name)},null,8,FP)]),"heading-right":E(()=>[u("div",RP,[u("a",{class:"button is-small is-light is-rounded",onClick:t[1]||(t[1]=m=>s.show_artist_details_modal=!0)},[v(l,{class:"icon",name:"dots-horizontal",size:"16"})]),u("a",{class:"button is-small is-dark is-rounded",onClick:t[2]||(t[2]=(...m)=>o.play&&o.play(...m))},[v(l,{class:"icon",name:"shuffle",size:"16"}),u("span",{textContent:g(e.$t("page.artist.shuffle"))},null,8,LP)])])]),content:E(()=>[u("p",MP,[u("a",{class:"has-text-link",onClick:t[3]||(t[3]=(...m)=>o.open_artist&&o.open_artist(...m)),textContent:g(e.$t("page.artist.album-count",{count:s.artist.album_count}))},null,8,NP),VP,u("span",{textContent:g(e.$t("page.artist.track-count",{count:s.artist.track_count}))},null,8,BP)]),v(c,{tracks:o.tracks,uris:o.track_uris},null,8,["tracks","uris"]),v(d,{show:s.show_artist_details_modal,artist:s.artist,onClose:t[4]||(t[4]=m=>s.show_artist_details_modal=!1)},null,8,["show","artist"])]),_:1})])}const jP=se(TP,[["render",HP]]),UP={name:"ModalDialogComposer",props:["show","composer"],emits:["close"],methods:{play(){this.$emit("close"),N.player_play_expression('composer is "'+this.composer.name+'" and media_kind is music',!1)},queue_add(){this.$emit("close"),N.queue_expression_add('composer is "'+this.composer.name+'" and media_kind is music')},queue_add_next(){this.$emit("close"),N.queue_expression_add_next('composer is "'+this.composer.name+'" and media_kind is music')},open_albums(){this.$emit("close"),this.$router.push({name:"ComposerAlbums",params:{composer:this.composer.name}})},open_tracks(){this.show_details_modal=!1,this.$router.push({name:"ComposerTracks",params:{composer:this.composer.name}})}}},qP={key:0,class:"modal is-active"},WP={class:"modal-content fd-modal-card"},GP={class:"card"},KP={class:"card-content"},ZP={class:"title is-4"},YP=["textContent"],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=S("mdicon");return w(),$("div",null,[v(Pt,{name:"fade"},{default:E(()=>[n.show?(w(),$("div",qP,[u("div",{class:"modal-background",onClick:t[0]||(t[0]=a=>e.$emit("close"))}),u("div",WP,[u("div",GP,[u("div",KP,[u("p",ZP,[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,YP)]),u("p",null,[u("span",{class:"heading",textContent:g(e.$t("dialog.composer.albums"))},null,8,JP),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,XP)]),u("p",null,[u("span",{class:"heading",textContent:g(e.$t("dialog.composer.tracks"))},null,8,QP),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,eI)]),u("p",null,[u("span",{class:"heading",textContent:g(e.$t("dialog.composer.duration"))},null,8,tI),u("span",{class:"title is-6",textContent:g(e.$filters.durationInHours(n.composer.length_ms))},null,8,nI)])]),u("footer",rI,[u("a",{class:"card-footer-item has-text-dark",onClick:t[4]||(t[4]=(...a)=>o.queue_add&&o.queue_add(...a))},[v(i,{class:"icon",name:"playlist-plus",size:"16"}),u("span",{class:"is-size-7",textContent:g(e.$t("dialog.composer.add"))},null,8,sI)]),u("a",{class:"card-footer-item has-text-dark",onClick:t[5]||(t[5]=(...a)=>o.queue_add_next&&o.queue_add_next(...a))},[v(i,{class:"icon",name:"playlist-play",size:"16"}),u("span",{class:"is-size-7",textContent:g(e.$t("dialog.composer.add-next"))},null,8,oI)]),u("a",{class:"card-footer-item has-text-dark",onClick:t[6]||(t[6]=(...a)=>o.play&&o.play(...a))},[v(i,{class:"icon",name:"play",size:"16"}),u("span",{class:"is-size-7",textContent:g(e.$t("dialog.composer.play"))},null,8,iI)])])])]),u("button",{class:"modal-close is-large","aria-label":"close",onClick:t[7]||(t[7]=a=>e.$emit("close"))})])):H("",!0)]),_:1})])}const dm=se(UP,[["render",aI]]),lI={name:"ListComposers",components:{ModalDialogComposer:dm},props:["composers","media_kind","hide_group_title"],data(){return{show_details_modal:!1,selected_composer:{}}},computed:{media_kind_resolved(){return this.media_kind?this.media_kind:this.selected_composer.media_kind}},methods:{open_composer(e){this.selected_composer=e,this.$router.push({name:"ComposerAlbums",params:{composer:e.name}})},open_dialog(e){this.selected_composer=e,this.show_details_modal=!0}}},uI={key:0,class:"mt-6 mb-5 py-2"},cI={class:"media-content is-clipped"},dI=["id","textContent"],mI=["onClick"],fI={class:"media-content is-clickable is-clipped"},pI=["textContent"],hI={class:"media-right"},_I=["onClick"];function gI(e,t,n,r,s,o){const i=S("mdicon"),a=S("modal-dialog-composer");return w(),$(Oe,null,[(w(!0),$(Oe,null,pt(n.composers,l=>(w(),$(Oe,{key:l.itemId},[!l.isItem&&!n.hide_group_title?(w(),$("div",uI,[u("div",cI,[u("span",{id:"index_"+l.groupKey,class:"tag is-info is-light is-small has-text-weight-bold",textContent:g(l.groupKey)},null,8,dI)])])):l.isItem?(w(),$("div",{key:1,class:"media is-align-items-center",onClick:c=>o.open_composer(l.item)},[u("div",fI,[u("h1",{class:"title is-6",textContent:g(l.item.name)},null,8,pI)]),u("div",hI,[u("a",{onClick:ot(c=>o.open_dialog(l.item),["prevent","stop"])},[v(i,{class:"icon has-text-dark",name:"dots-vertical",size:"16"})],8,_I)])],8,mI)):H("",!0)],64))),128)),(w(),be(Yr,{to:"#app"},[v(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 Cv=se(lI,[["render",gI]]),ga={load(e){return N.library_composers("music")},set(e,t){e.composers=new we(t.data),e.composers.group(Kn("name_sort"))}},yI={name:"PageComposers",components:{ContentWithHeading:nt,TabsMusic:cr,IndexButtonList:mr,ListComposers:Cv},beforeRouteEnter(e,t,n){ga.load(e).then(r=>{n(s=>ga.set(s,r))})},beforeRouteUpdate(e,t,n){if(!this.composers.isEmpty()){n();return}const r=this;ga.load(e).then(s=>{ga.set(r,s),n()})},data(){return{composers:new we}}},vI={class:"fd-page-with-tabs"},bI=["textContent"],CI=["textContent"];function zI(e,t,n,r,s,o){const i=S("tabs-music"),a=S("index-button-list"),l=S("list-composers"),c=S("content-with-heading");return w(),$("div",vI,[v(i),v(c,null,{options:E(()=>[v(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,bI),u("p",{class:"heading",textContent:g(e.$t("page.composers.count",{count:s.composers.total}))},null,8,CI)]),content:E(()=>[v(l,{composers:s.composers},null,8,["composers"])]),_:1})])}const wI=se(yI,[["render",zI]]),ya={load(e){return Promise.all([N.library_composer(e.params.composer),N.library_composer_albums(e.params.composer)])},set(e,t){e.composer=t[0].data,e.albums_list=new we(t[1].data.albums)}},kI={name:"PageComposer",components:{ContentWithHeading:nt,ListAlbums:dr,ModalDialogComposer:dm},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{composer:{},albums_list:new we,show_composer_details_modal:!1}},methods:{open_tracks(){this.$router.push({name:"ComposerTracks",params:{composer:this.composer.name}})},play(){N.player_play_expression('composer is "'+this.composer.name+'" and media_kind is music',!0)}}},xI={class:"fd-page"},EI=["textContent"],SI={class:"buttons is-centered"},$I=["textContent"],AI={class:"heading has-text-centered-mobile"},TI=["textContent"],OI=u("span",null," | ",-1),DI=["textContent"];function PI(e,t,n,r,s,o){const i=S("mdicon"),a=S("list-albums"),l=S("modal-dialog-composer"),c=S("content-with-heading");return w(),$("div",xI,[v(c,null,{"heading-left":E(()=>[u("p",{class:"title is-4",textContent:g(s.composer.name)},null,8,EI)]),"heading-right":E(()=>[u("div",SI,[u("a",{class:"button is-small is-light is-rounded",onClick:t[0]||(t[0]=d=>s.show_composer_details_modal=!0)},[v(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))},[v(i,{class:"icon",name:"shuffle",size:"16"}),u("span",{textContent:g(e.$t("page.composer.shuffle"))},null,8,$I)])])]),content:E(()=>[u("p",AI,[u("span",{textContent:g(e.$t("page.composer.album-count",{count:s.composer.album_count}))},null,8,TI),OI,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,DI)]),v(a,{albums:s.albums_list,hide_group_title:!0},null,8,["albums"]),v(l,{show:s.show_composer_details_modal,composer:s.composer,onClose:t[3]||(t[3]=d=>s.show_composer_details_modal=!1)},null,8,["show","composer"])]),_:1})])}const II=se(kI,[["render",PI]]),va={load(e){return Promise.all([N.library_composer(e.params.composer),N.library_composer_tracks(e.params.composer)])},set(e,t){e.composer=t[0].data,e.tracks_list=new we(t[1].data.tracks)}},FI={name:"PageComposerTracks",components:{ContentWithHeading:nt,DropdownMenu:zs,IndexButtonList:mr,ListTracks:Cn,ModalDialogComposer:dm},beforeRouteEnter(e,t,n){va.load(e).then(r=>{n(s=>va.set(s,r))})},beforeRouteUpdate(e,t,n){const r=this;va.load(e).then(s=>{va.set(r,s),n()})},data(){return{groupby_options:[{id:1,name:this.$t("page.composer.sort-by.name"),options:Kn("title_sort")},{id:2,name:this.$t("page.composer.sort-by.rating"),options:am("rating",{direction:"desc"})}],composer:{},show_composer_details_modal:!1,tracks_list:new we}},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(Lg,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:"ComposerAlbums",params:{composer:this.composer.name}})},play(){N.player_play_expression(this.expression,!0)}}},RI={class:"fd-page"},LI={class:"columns"},MI={class:"column"},NI=["textContent"],VI=["textContent"],BI={class:"buttons is-centered"},HI=["textContent"],jI={class:"heading has-text-centered-mobile"},UI=["textContent"],qI=u("span",null," | ",-1),WI=["textContent"];function GI(e,t,n,r,s,o){const i=S("index-button-list"),a=S("dropdown-menu"),l=S("mdicon"),c=S("list-tracks"),d=S("modal-dialog-composer"),f=S("content-with-heading");return w(),$("div",RI,[v(f,null,{options:E(()=>[v(i,{index:o.tracks.indexList},null,8,["index"]),u("div",LI,[u("div",MI,[u("p",{class:"heading mb-5",textContent:g(e.$t("page.artist.sort-by.title"))},null,8,NI),v(a,{modelValue:o.selected_groupby_option_id,"onUpdate:modelValue":t[0]||(t[0]=m=>o.selected_groupby_option_id=m),options:s.groupby_options},null,8,["modelValue","options"])])])]),"heading-left":E(()=>[u("p",{class:"title is-4",textContent:g(s.composer.name)},null,8,VI)]),"heading-right":E(()=>[u("div",BI,[u("a",{class:"button is-small is-light is-rounded",onClick:t[1]||(t[1]=m=>s.show_composer_details_modal=!0)},[v(l,{class:"icon",name:"dots-horizontal",size:"16"})]),u("a",{class:"button is-small is-dark is-rounded",onClick:t[2]||(t[2]=(...m)=>o.play&&o.play(...m))},[v(l,{class:"icon",name:"shuffle",size:"16"}),u("span",{textContent:g(e.$t("page.composer.shuffle"))},null,8,HI)])])]),content:E(()=>[u("p",jI,[u("a",{class:"has-text-link",onClick:t[3]||(t[3]=(...m)=>o.open_albums&&o.open_albums(...m)),textContent:g(e.$t("page.composer.album-count",{count:s.composer.album_count}))},null,8,UI),qI,u("span",{textContent:g(e.$t("page.composer.track-count",{count:s.composer.track_count}))},null,8,WI)]),v(c,{tracks:o.tracks,expression:o.expression},null,8,["tracks","expression"]),v(d,{show:s.show_composer_details_modal,composer:s.composer,onClose:t[4]||(t[4]=m=>s.show_composer_details_modal=!1)},null,8,["show","composer"])]),_:1})])}const KI=se(FI,[["render",GI]]),ZI={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,N.library_add(this.url).then(()=>{this.$emit("close"),this.$emit("podcast-added"),this.url=""}).catch(()=>{this.loading=!1})}}},YI={key:0,class:"modal is-active"},JI={class:"modal-content fd-modal-card"},XI={class:"card"},QI={class:"card-content"},eF=["textContent"],tF={class:"field"},nF={class:"control is-expanded has-icons-left"},rF=["placeholder","disabled"],sF=["textContent"],oF={key:0,class:"card-footer"},iF={class:"card-footer-item button is-loading"},aF=["textContent"],lF={key:1,class:"card-footer"},uF=["textContent"],cF=["textContent"];function dF(e,t,n,r,s,o){const i=S("mdicon");return w(),$("div",null,[v(Pt,{name:"fade"},{default:E(()=>[n.show?(w(),$("div",YI,[u("div",{class:"modal-background",onClick:t[0]||(t[0]=a=>e.$emit("close"))}),u("div",JI,[u("div",XI,[u("div",QI,[u("p",{class:"title is-4",textContent:g(e.$t("dialog.add.rss.title"))},null,8,eF),u("form",{onSubmit:t[2]||(t[2]=ot((...a)=>o.add_stream&&o.add_stream(...a),["prevent"]))},[u("div",tF,[u("p",nF,[ut(u("input",{ref:"url_field","onUpdate:modelValue":t[1]||(t[1]=a=>s.url=a),class:"input is-shadowless",type:"text",placeholder:e.$t("dialog.add.rss.placeholder"),disabled:s.loading},null,8,rF),[[Dt,s.url]]),v(i,{class:"icon is-left",name:"rss",size:"16"})]),u("p",{class:"help",textContent:g(e.$t("dialog.add.rss.help"))},null,8,sF)])],32)]),s.loading?(w(),$("footer",oF,[u("a",iF,[v(i,{class:"icon",name:"web",size:"16"}),u("span",{class:"is-size-7",textContent:g(e.$t("dialog.add.rss.processing"))},null,8,aF)])])):(w(),$("footer",lF,[u("a",{class:"card-footer-item has-text-danger",onClick:t[3]||(t[3]=a=>e.$emit("close"))},[v(i,{class:"icon",name:"cancel",size:"16"}),u("span",{class:"is-size-7",textContent:g(e.$t("dialog.add.rss.cancel"))},null,8,uF)]),u("a",{class:"card-footer-item has-background-info has-text-white has-text-weight-bold",onClick:t[4]||(t[4]=(...a)=>o.add_stream&&o.add_stream(...a))},[v(i,{class:"icon",name:"playlist-plus",size:"16"}),u("span",{class:"is-size-7",textContent:g(e.$t("dialog.add.rss.add"))},null,8,cF)])]))])]),u("button",{class:"modal-close is-large","aria-label":"close",onClick:t[5]||(t[5]=a=>e.$emit("close"))})])):H("",!0)]),_:1})])}const mF=se(ZI,[["render",dF]]),ba={load(e){return Promise.all([N.library_albums("podcast"),N.library_podcasts_new_episodes()])},set(e,t){e.albums=new we(t[0].data),e.new_episodes=new we(t[1].data.tracks)}},fF={name:"PagePodcasts",components:{ContentWithHeading:nt,ListTracks:Cn,ListAlbums:dr,ModalDialogAddRss:mF},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{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=>{N.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(){N.library_podcasts_new_episodes().then(({data:e})=>{this.new_episodes=new we(e.tracks)})},reload_podcasts(){N.library_albums("podcast").then(({data:e})=>{this.albums=new we(e),this.reload_new_episodes()})},update_rss(){this.$store.commit(Ud,"rss"),this.$store.commit(Ti,!0)}}},pF={class:"fd-page"},hF=["textContent"],_F={class:"buttons is-centered"},gF=["textContent"],yF=["textContent"],vF=["textContent"],bF={class:"buttons is-centered"},CF=["textContent"],zF=["textContent"];function wF(e,t,n,r,s,o){const i=S("mdicon"),a=S("list-tracks"),l=S("content-with-heading"),c=S("list-albums"),d=S("modal-dialog-add-rss");return w(),$("div",pF,[s.new_episodes.items.length>0?(w(),be(l,{key:0},{"heading-left":E(()=>[u("p",{class:"title is-4",textContent:g(e.$t("page.podcasts.new-episodes"))},null,8,hF)]),"heading-right":E(()=>[u("div",_F,[u("a",{class:"button is-small",onClick:t[0]||(t[0]=(...f)=>o.mark_all_played&&o.mark_all_played(...f))},[v(i,{class:"icon",name:"pencil",size:"16"}),u("span",{textContent:g(e.$t("page.podcasts.mark-all-played"))},null,8,gF)])])]),content:E(()=>[v(a,{tracks:s.new_episodes,show_progress:!0,onPlayCountChanged:o.reload_new_episodes},null,8,["tracks","onPlayCountChanged"])]),_:1})):H("",!0),v(l,null,{"heading-left":E(()=>[u("p",{class:"title is-4",textContent:g(e.$t("page.podcasts.title"))},null,8,yF),u("p",{class:"heading",textContent:g(e.$t("page.podcasts.count",{count:s.albums.total}))},null,8,vF)]),"heading-right":E(()=>[u("div",bF,[o.rss.tracks>0?(w(),$("a",{key:0,class:"button is-small",onClick:t[1]||(t[1]=(...f)=>o.update_rss&&o.update_rss(...f))},[v(i,{class:"icon",name:"refresh",size:"16"}),u("span",{textContent:g(e.$t("page.podcasts.update"))},null,8,CF)])):H("",!0),u("a",{class:"button is-small",onClick:t[2]||(t[2]=(...f)=>o.open_add_podcast_dialog&&o.open_add_podcast_dialog(...f))},[v(i,{class:"icon",name:"rss",size:"16"}),u("span",{textContent:g(e.$t("page.podcasts.add"))},null,8,zF)])])]),content:E(()=>[v(c,{albums:s.albums,onPlayCountChanged:t[3]||(t[3]=f=>o.reload_new_episodes()),onPodcastDeleted:t[4]||(t[4]=f=>o.reload_podcasts())},null,8,["albums"]),v(d,{show:s.show_url_modal,onClose:t[5]||(t[5]=f=>s.show_url_modal=!1),onPodcastAdded:t[6]||(t[6]=f=>o.reload_podcasts())},null,8,["show"])]),_:1})])}const kF=se(fF,[["render",wF]]),Ca={load(e){return Promise.all([N.library_album(e.params.album_id),N.library_podcast_episodes(e.params.album_id)])},set(e,t){e.album=t[0].data,e.tracks=new we(t[1].data.tracks)}},xF={name:"PagePodcast",components:{ContentWithHeading:nt,ListTracks:Cn,ModalDialogAlbum:tu,ModalDialog:om},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{album:{},tracks:new we,show_details_modal:!1,show_remove_podcast_modal:!1,rss_playlist_to_remove:{}}},computed:{new_tracks(){return this.tracks.items.filter(e=>e.play_count===0).length}},methods:{play(){N.player_play_uri(this.album.uri,!1)},open_remove_podcast_dialog(){N.library_track_playlists(this.tracks.items[0].id).then(({data:e})=>{this.rss_playlist_to_remove=e.items.filter(t=>t.type==="rss")[0],this.show_remove_podcast_modal=!0,this.show_details_modal=!1})},remove_podcast(){this.show_remove_podcast_modal=!1,N.library_playlist_delete(this.rss_playlist_to_remove.id).then(()=>{this.$router.replace({path:"/podcasts"})})},reload_tracks(){N.library_podcast_episodes(this.album.id).then(({data:e})=>{this.tracks=new we(e.tracks)})}}},EF={class:"fd-page"},SF=["textContent"],$F={class:"buttons is-centered"},AF=["textContent"],TF=["textContent"],OF=["textContent"],DF={class:"is-size-7"},PF=["textContent"],IF=["textContent"];function FF(e,t,n,r,s,o){const i=S("mdicon"),a=S("list-tracks"),l=S("modal-dialog-album"),c=S("modal-dialog"),d=S("content-with-heading");return w(),$("div",EF,[v(d,null,{"heading-left":E(()=>[u("div",{class:"title is-4",textContent:g(s.album.name)},null,8,SF)]),"heading-right":E(()=>[u("div",$F,[u("a",{class:"button is-small is-light is-rounded",onClick:t[0]||(t[0]=f=>s.show_details_modal=!0)},[v(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))},[v(i,{class:"icon",name:"play",size:"16"}),u("span",{textContent:g(e.$t("page.podcast.play"))},null,8,AF)])])]),content:E(()=>[u("p",{class:"heading has-text-centered-mobile",textContent:g(e.$t("page.podcast.track-count",{count:s.album.track_count}))},null,8,TF),v(a,{tracks:s.tracks,show_progress:!0,onPlayCountChanged:o.reload_tracks},null,8,["tracks","onPlayCountChanged"]),v(l,{show:s.show_details_modal,album:s.album,media_kind:"podcast",new_tracks:o.new_tracks,onClose:t[2]||(t[2]=f=>s.show_details_modal=!1),onPlayCountChanged:o.reload_tracks,onRemovePodcast:o.open_remove_podcast_dialog},null,8,["show","album","new_tracks","onPlayCountChanged","onRemovePodcast"]),v(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]=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,OF),u("p",DF,[dt(" ("),u("span",{textContent:g(e.$t("page.podcast.remove-info-2"))},null,8,PF),u("b",{textContent:g(s.rss_playlist_to_remove.name)},null,8,IF),dt(") ")])]),_:1},8,["show","title","delete_action","onDelete"])]),_:1})])}const RF=se(xF,[["render",FF]]),LF={name:"TabsAudiobooks"},MF={class:"section fd-tabs-section"},NF={class:"container"},VF={class:"columns is-centered"},BF={class:"column is-four-fifths"},HF={class:"tabs is-centered is-small"},jF=["onClick","onKeypress"],UF=["textContent"],qF=["onClick","onKeypress"],WF=["textContent"];function GF(e,t,n,r,s,o){const i=S("mdicon"),a=S("router-link");return w(),$("section",MF,[u("div",NF,[u("div",VF,[u("div",BF,[u("div",HF,[u("ul",null,[v(a,{to:"/audiobooks/artists",custom:""},{default:E(({navigate:l,isActive:c})=>[u("li",{class:Te({"is-active":c})},[u("a",{onClick:l,onKeypress:fn(l,["enter"])},[v(i,{class:"icon is-small",name:"account-music",size:"16"}),u("span",{textContent:g(e.$t("page.audiobooks.tabs.authors"))},null,8,UF)],40,jF)],2)]),_:1}),v(a,{to:"/audiobooks/albums",custom:""},{default:E(({navigate:l,isActive:c})=>[u("li",{class:Te({"is-active":c})},[u("a",{onClick:l,onKeypress:fn(l,["enter"])},[v(i,{class:"icon is-small",name:"album",size:"16"}),u("span",{textContent:g(e.$t("page.audiobooks.tabs.audiobooks"))},null,8,WF)],40,qF)],2)]),_:1})])])])])])])}const zv=se(LF,[["render",GF]]),za={load(e){return N.library_albums("audiobook")},set(e,t){e.albums=new we(t.data),e.albums.group(Kn("name_sort",!0))}},KF={name:"PageAudiobooksAlbums",components:{TabsAudiobooks:zv,ContentWithHeading:nt,IndexButtonList:mr,ListAlbums:dr},beforeRouteEnter(e,t,n){za.load(e).then(r=>{n(s=>za.set(s,r))})},beforeRouteUpdate(e,t,n){if(!this.albums.isEmpty()){n();return}const r=this;za.load(e).then(s=>{za.set(r,s),n()})},data(){return{albums:new we}}},ZF={class:"fd-page-with-tabs"},YF=["textContent"],JF=["textContent"];function XF(e,t,n,r,s,o){const i=S("tabs-audiobooks"),a=S("index-button-list"),l=S("list-albums"),c=S("content-with-heading");return w(),$("div",ZF,[v(i),v(c,null,{options:E(()=>[v(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,YF),u("p",{class:"heading",textContent:g(e.$t("page.audiobooks.albums.count",{count:s.albums.count}))},null,8,JF)]),content:E(()=>[v(l,{albums:s.albums},null,8,["albums"])]),_:1})])}const QF=se(KF,[["render",XF]]),wa={load(e){return N.library_artists("audiobook")},set(e,t){e.artists_list=new we(t.data)}},eR={name:"PageAudiobooksArtists",components:{ContentWithHeading:nt,TabsAudiobooks:zv,IndexButtonList:mr,ListArtists:lm},beforeRouteEnter(e,t,n){wa.load(e).then(r=>{n(s=>wa.set(s,r))})},beforeRouteUpdate(e,t,n){if(!this.artists_list.isEmpty()){n();return}const r=this;wa.load(e).then(s=>{wa.set(r,s),n()})},data(){return{artists_list:new we}},computed:{artists(){return this.artists_list?(this.artists_list.group(Kn("name_sort",!0)),this.artists_list):[]}}},tR={class:"fd-page-with-tabs"},nR=["textContent"],rR=["textContent"];function sR(e,t,n,r,s,o){const i=S("tabs-audiobooks"),a=S("index-button-list"),l=S("list-artists"),c=S("content-with-heading");return w(),$("div",tR,[v(i),v(c,null,{options:E(()=>[v(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,nR),u("p",{class:"heading",textContent:g(e.$t("page.audiobooks.artists.count",{count:o.artists.count}))},null,8,rR)]),"heading-right":E(()=>[]),content:E(()=>[v(l,{artists:o.artists},null,8,["artists"])]),_:1})])}const oR=se(eR,[["render",sR]]),ka={load(e){return Promise.all([N.library_artist(e.params.artist_id),N.library_artist_albums(e.params.artist_id)])},set(e,t){e.artist=t[0].data,e.albums=new we(t[1].data)}},iR={name:"PageAudiobooksArtist",components:{ContentWithHeading:nt,ListAlbums:dr,ModalDialogArtist:nu},beforeRouteEnter(e,t,n){ka.load(e).then(r=>{n(s=>ka.set(s,r))})},beforeRouteUpdate(e,t,n){if(!this.albums.isEmpty()){n();return}const r=this;ka.load(e).then(s=>{ka.set(r,s),n()})},data(){return{artist:{},albums:new we,show_artist_details_modal:!1}},methods:{play(){N.player_play_uri(this.albums.items.map(e=>e.uri).join(","),!1)}}},aR={class:"fd-page"},lR=["textContent"],uR={class:"buttons is-centered"},cR=["textContent"],dR=["textContent"];function mR(e,t,n,r,s,o){const i=S("mdicon"),a=S("list-albums"),l=S("modal-dialog-artist"),c=S("content-with-heading");return w(),$("div",aR,[v(c,null,{"heading-left":E(()=>[u("p",{class:"title is-4",textContent:g(s.artist.name)},null,8,lR)]),"heading-right":E(()=>[u("div",uR,[u("a",{class:"button is-small is-light is-rounded",onClick:t[0]||(t[0]=d=>s.show_artist_details_modal=!0)},[v(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))},[v(i,{class:"icon",name:"play",size:"16"}),u("span",{textContent:g(e.$t("page.audiobooks.artist.play"))},null,8,cR)])])]),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,dR),v(a,{albums:s.albums},null,8,["albums"]),v(l,{show:s.show_artist_details_modal,artist:s.artist,onClose:t[2]||(t[2]=d=>s.show_artist_details_modal=!1)},null,8,["show","artist"])]),_:1})])}const fR=se(iR,[["render",mR]]),xa={load(e){return Promise.all([N.library_album(e.params.album_id),N.library_album_tracks(e.params.album_id)])},set(e,t){e.album=t[0].data,e.tracks=new we(t[1].data)}},pR={name:"PageAudiobooksAlbum",components:{ContentWithHero:um,ListTracks:Cn,ModalDialogAlbum:tu,CoverArtwork:Gn},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{album:{},tracks:new we,show_album_details_modal:!1}},methods:{open_artist(){this.show_details_modal=!1,this.$router.push({path:"/audiobooks/artists/"+this.album.artist_id})},play(){N.player_play_uri(this.album.uri,!1)}}},hR={class:"fd-page"},_R=["textContent"],gR={class:"subtitle is-6 has-text-link has-text-weight-normal"},yR=["textContent"],vR={class:"buttons fd-is-centered-mobile mt-5"},bR=["textContent"],CR=["textContent"];function zR(e,t,n,r,s,o){const i=S("mdicon"),a=S("cover-artwork"),l=S("list-tracks"),c=S("modal-dialog-album"),d=S("content-with-hero");return w(),$("div",hR,[v(d,null,{"heading-left":E(()=>[u("h1",{class:"title is-5",textContent:g(s.album.name)},null,8,_R),u("h2",gR,[u("a",{class:"has-text-link",onClick:t[0]||(t[0]=(...f)=>o.open_artist&&o.open_artist(...f)),textContent:g(s.album.artist)},null,8,yR)]),u("div",vR,[u("a",{class:"button is-small is-dark is-rounded",onClick:t[1]||(t[1]=(...f)=>o.play&&o.play(...f))},[v(i,{class:"icon",name:"play",size:"16"}),u("span",{textContent:g(e.$t("page.audiobooks.album.play"))},null,8,bR)]),u("a",{class:"button is-small is-light is-rounded",onClick:t[2]||(t[2]=f=>s.show_album_details_modal=!0)},[v(i,{class:"icon",name:"dots-horizontal",size:"16"})])])]),"heading-right":E(()=>[v(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]=f=>s.show_album_details_modal=!0)},null,8,["artwork_url","artist","album"])]),content:E(()=>[u("p",{class:"heading is-7 has-text-centered-mobile mt-5",textContent:g(e.$t("page.audiobooks.album.track-count",{count:s.album.track_count}))},null,8,CR),v(l,{tracks:s.tracks,uris:s.album.uri},null,8,["tracks","uris"]),v(c,{show:s.show_album_details_modal,album:s.album,media_kind:"audiobook",onClose:t[4]||(t[4]=f=>s.show_album_details_modal=!1)},null,8,["show","album"])]),_:1})])}const wR=se(pR,[["render",zR]]),kR={name:"ModalDialogPlaylist",props:["show","playlist","uris"],emits:["close"],methods:{play(){this.$emit("close"),N.player_play_uri(this.uris?this.uris:this.playlist.uri,!1)},queue_add(){this.$emit("close"),N.queue_add(this.uris?this.uris:this.playlist.uri)},queue_add_next(){this.$emit("close"),N.queue_add_next(this.uris?this.uris:this.playlist.uri)},open_playlist(){this.$emit("close"),this.$router.push({path:"/playlists/"+this.playlist.id+"/tracks"})}}},xR={key:0,class:"modal is-active"},ER={class:"modal-content fd-modal-card"},SR={class:"card"},$R={class:"card-content"},AR={class:"title is-4"},TR=["textContent"],OR={class:"content is-small"},DR=["textContent"],PR=["textContent"],IR=["textContent"],FR=["textContent"],RR={key:0},LR=["textContent"],MR=["textContent"],NR={key:0,class:"card-footer"},VR=["textContent"],BR=["textContent"],HR=["textContent"];function jR(e,t,n,r,s,o){const i=S("mdicon");return w(),$("div",null,[v(Pt,{name:"fade"},{default:E(()=>[n.show?(w(),$("div",xR,[u("div",{class:"modal-background",onClick:t[0]||(t[0]=a=>e.$emit("close"))}),u("div",ER,[u("div",SR,[u("div",$R,[u("p",AR,[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,TR)]),u("div",OR,[u("p",null,[u("span",{class:"heading",textContent:g(e.$t("dialog.playlist.path"))},null,8,DR),u("span",{class:"title is-6",textContent:g(n.playlist.path)},null,8,PR)]),u("p",null,[u("span",{class:"heading",textContent:g(e.$t("dialog.playlist.type"))},null,8,IR),u("span",{class:"title is-6",textContent:g(e.$t("playlist.type."+n.playlist.type))},null,8,FR)]),n.playlist.folder?H("",!0):(w(),$("p",RR,[u("span",{class:"heading",textContent:g(e.$t("dialog.playlist.track-count"))},null,8,LR),u("span",{class:"title is-6",textContent:g(n.playlist.item_count)},null,8,MR)]))])]),n.playlist.folder?H("",!0):(w(),$("footer",NR,[u("a",{class:"card-footer-item has-text-dark",onClick:t[2]||(t[2]=(...a)=>o.queue_add&&o.queue_add(...a))},[v(i,{class:"icon",name:"playlist-plus",size:"16"}),u("span",{class:"is-size-7",textContent:g(e.$t("dialog.playlist.add"))},null,8,VR)]),u("a",{class:"card-footer-item has-text-dark",onClick:t[3]||(t[3]=(...a)=>o.queue_add_next&&o.queue_add_next(...a))},[v(i,{class:"icon",name:"playlist-play",size:"16"}),u("span",{class:"is-size-7",textContent:g(e.$t("dialog.playlist.add-next"))},null,8,BR)]),u("a",{class:"card-footer-item has-text-dark",onClick:t[4]||(t[4]=(...a)=>o.play&&o.play(...a))},[v(i,{class:"icon",name:"play",size:"16"}),u("span",{class:"is-size-7",textContent:g(e.$t("dialog.playlist.play"))},null,8,HR)])]))])]),u("button",{class:"modal-close is-large","aria-label":"close",onClick:t[5]||(t[5]=a=>e.$emit("close"))})])):H("",!0)]),_:1})])}const wv=se(kR,[["render",jR]]),UR={name:"ListPlaylists",components:{ModalDialogPlaylist:wv},props:["playlists"],data(){return{show_details_modal:!1,selected_playlist:{}}},methods:{open_playlist(e){e.type!=="folder"?this.$router.push({path:"/playlists/"+e.id+"/tracks"}):this.$router.push({path:"/playlists/"+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"}}},qR=["playlist","onClick"],WR={class:"media-left is-clickable"},GR={class:"media-content is-clickable is-clipped"},KR=["textContent"],ZR={class:"media-right"},YR=["onClick"];function JR(e,t,n,r,s,o){const i=S("mdicon"),a=S("modal-dialog-playlist");return w(),$(Oe,null,[(w(!0),$(Oe,null,pt(n.playlists,l=>(w(),$("div",{key:l.itemId,class:"media is-align-items-center",playlist:l,onClick:c=>o.open_playlist(l.item)},[u("figure",WR,[v(i,{class:"icon",name:o.icon_name(l.item),size:"16"},null,8,["name"])]),u("div",GR,[u("h1",{class:"title is-6",textContent:g(l.item.name)},null,8,KR)]),u("div",ZR,[u("a",{onClick:ot(c=>o.open_dialog(l.item),["prevent","stop"])},[v(i,{class:"icon has-text-dark",name:"dots-vertical",size:"16"})],8,YR)])],8,qR))),128)),(w(),be(Yr,{to:"#app"},[v(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 mm=se(UR,[["render",JR]]),Ea={load(e){return Promise.all([N.library_playlist(e.params.playlist_id),N.library_playlist_folder(e.params.playlist_id)])},set(e,t){e.playlist=t[0].data,e.playlists_list=new we(t[1].data)}},XR={name:"PagePlaylists",components:{ContentWithHeading:nt,ListPlaylists:mm},beforeRouteEnter(e,t,n){Ea.load(e).then(r=>{n(s=>Ea.set(s,r))})},beforeRouteUpdate(e,t,n){const r=this;Ea.load(e).then(s=>{Ea.set(r,s),n()})},data(){return{playlist:{},playlists_list:new we}},computed:{radio_playlists(){return this.$store.state.config.radio_playlists},playlists(){return this.playlists_list.group(bv(),[e=>e.folder||this.radio_playlists||e.stream_count===0||e.item_count>e.stream_count]),this.playlists_list}}},QR={class:"fd-page"},eL=["textContent"],tL=["textContent"];function nL(e,t,n,r,s,o){const i=S("list-playlists"),a=S("content-with-heading");return w(),$("div",QR,[v(a,null,{"heading-left":E(()=>[u("p",{class:"title is-4",textContent:g(s.playlist.name)},null,8,eL),u("p",{class:"heading",textContent:g(e.$t("page.playlists.count",{count:o.playlists.count}))},null,8,tL)]),content:E(()=>[v(i,{playlists:o.playlists},null,8,["playlists"])]),_:1})])}const rL=se(XR,[["render",nL]]),Sa={load(e){return Promise.all([N.library_playlist(e.params.playlist_id),N.library_playlist_tracks(e.params.playlist_id)])},set(e,t){e.playlist=t[0].data,e.tracks=new we(t[1].data)}},sL={name:"PagePlaylist",components:{ContentWithHeading:nt,ListTracks:Cn,ModalDialogPlaylist:wv},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{playlist:{},tracks:new we,show_playlist_details_modal:!1}},computed:{uris(){return this.playlist.random?this.tracks.map(e=>e.uri).join(","):this.playlist.uri}},methods:{play(){N.player_play_uri(this.uris,!0)}}},oL={class:"fd-page"},iL=["textContent"],aL={class:"buttons is-centered"},lL=["textContent"],uL=["textContent"];function cL(e,t,n,r,s,o){const i=S("mdicon"),a=S("list-tracks"),l=S("modal-dialog-playlist"),c=S("content-with-heading");return w(),$("div",oL,[v(c,null,{"heading-left":E(()=>[u("div",{class:"title is-4",textContent:g(s.playlist.name)},null,8,iL)]),"heading-right":E(()=>[u("div",aL,[u("a",{class:"button is-small is-light is-rounded",onClick:t[0]||(t[0]=d=>s.show_playlist_details_modal=!0)},[v(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))},[v(i,{class:"icon",name:"shuffle",size:"16"}),u("span",{textContent:g(e.$t("page.playlist.shuffle"))},null,8,lL)])])]),content:E(()=>[u("p",{class:"heading has-text-centered-mobile",textContent:g(e.$t("page.playlist.track-count",{count:s.tracks.count}))},null,8,uL),v(a,{tracks:s.tracks,uris:o.uris},null,8,["tracks","uris"]),v(l,{show:s.show_playlist_details_modal,playlist:s.playlist,uris:o.uris,onClose:t[2]||(t[2]=d=>s.show_playlist_details_modal=!1)},null,8,["show","playlist","uris"])]),_:1})])}const dL=se(sL,[["render",cL]]),mL={name:"ModalDialogDirectory",props:["show","directory"],emits:["close"],methods:{play(){this.$emit("close"),N.player_play_expression('path starts with "'+this.directory+'" order by path asc',!1)},queue_add(){this.$emit("close"),N.queue_expression_add('path starts with "'+this.directory+'" order by path asc')},queue_add_next(){this.$emit("close"),N.queue_expression_add_next('path starts with "'+this.directory+'" order by path asc')}}},fL={key:0,class:"modal is-active"},pL={class:"modal-content fd-modal-card"},hL={class:"card"},_L={class:"card-content"},gL=["textContent"],yL={class:"card-footer"},vL=["textContent"],bL=["textContent"],CL=["textContent"];function zL(e,t,n,r,s,o){const i=S("mdicon");return w(),$("div",null,[v(Pt,{name:"fade"},{default:E(()=>[n.show?(w(),$("div",fL,[u("div",{class:"modal-background",onClick:t[0]||(t[0]=a=>e.$emit("close"))}),u("div",pL,[u("div",hL,[u("div",_L,[u("p",{class:"title is-4",textContent:g(n.directory)},null,8,gL)]),u("footer",yL,[u("a",{class:"card-footer-item has-text-dark",onClick:t[1]||(t[1]=(...a)=>o.queue_add&&o.queue_add(...a))},[v(i,{class:"icon",name:"playlist-plus",size:"16"}),u("span",{class:"is-size-7",textContent:g(e.$t("dialog.directory.add"))},null,8,vL)]),u("a",{class:"card-footer-item has-text-dark",onClick:t[2]||(t[2]=(...a)=>o.queue_add_next&&o.queue_add_next(...a))},[v(i,{class:"icon",name:"playlist-play",size:"16"}),u("span",{class:"is-size-7",textContent:g(e.$t("dialog.directory.add-next"))},null,8,bL)]),u("a",{class:"card-footer-item has-text-dark",onClick:t[3]||(t[3]=(...a)=>o.play&&o.play(...a))},[v(i,{class:"icon",name:"play",size:"16"}),u("span",{class:"is-size-7",textContent:g(e.$t("dialog.directory.play"))},null,8,CL)])])])]),u("button",{class:"modal-close is-large","aria-label":"close",onClick:t[4]||(t[4]=a=>e.$emit("close"))})])):H("",!0)]),_:1})])}const kv=se(mL,[["render",zL]]),wL={name:"ListDirectories",components:{ModalDialogDirectory:kv},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({path:"/files"}):this.$router.push({path:"/files",query:{directory:this.current_directory.slice(0,this.current_directory.lastIndexOf("/"))}})},open_directory(e){this.$router.push({path:"/files",query:{directory:e.path}})},open_dialog(e){this.selected_directory=e,this.show_details_modal=!0}}},kL={class:"media-left is-clickable"},xL=u("div",{class:"media-content is-clickable is-clipped"},[u("h1",{class:"title is-6"},"..")],-1),EL={class:"media-right"},SL=["onClick"],$L={class:"media-left is-clickable"},AL={class:"media-content is-clickable is-clipped"},TL=["textContent"],OL=["textContent"],DL={class:"media-right"},PL=["onClick"];function IL(e,t,n,r,s,o){const i=S("mdicon"),a=S("modal-dialog-directory");return w(),$(Oe,null,[e.$route.query.directory?(w(),$("div",{key:0,class:"media is-align-items-center",onClick:t[0]||(t[0]=l=>o.open_parent_directory())},[u("figure",kL,[v(i,{class:"icon",name:"subdirectory-arrow-left",size:"16"})]),xL,u("div",EL,[lt(e.$slots,"actions")])])):H("",!0),(w(!0),$(Oe,null,pt(n.directories,l=>(w(),$("div",{key:l.path,class:"media is-align-items-center",onClick:c=>o.open_directory(l)},[u("figure",$L,[v(i,{class:"icon",name:"folder",size:"16"})]),u("div",AL,[u("h1",{class:"title is-6",textContent:g(l.path.substring(l.path.lastIndexOf("/")+1))},null,8,TL),u("h2",{class:"subtitle is-7 has-text-grey-light",textContent:g(l.path)},null,8,OL)]),u("div",DL,[u("a",{onClick:ot(c=>o.open_dialog(l),["prevent","stop"])},[v(i,{class:"icon has-text-dark",name:"dots-vertical",size:"16"})],8,PL)])],8,SL))),128)),(w(),be(Yr,{to:"#app"},[v(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 FL=se(wL,[["render",IL]]),$a={load(e){return e.query.directory?N.library_files(e.query.directory):Promise.resolve()},set(e,t){t?(e.dirs=t.data.directories,e.playlists=new we(t.data.playlists),e.tracks=new we(t.data.tracks)):(e.dirs=e.$store.state.config.directories.map(n=>({path:n})),e.playlists=new we,e.tracks=new we)}},RL={name:"PageFiles",components:{ContentWithHeading:nt,ListDirectories:FL,ListPlaylists:mm,ListTracks:Cn,ModalDialogDirectory:kv},beforeRouteEnter(e,t,n){$a.load(e).then(r=>{n(s=>$a.set(s,r))})},beforeRouteUpdate(e,t,n){const r=this;$a.load(e).then(s=>{$a.set(r,s),n()})},data(){return{dirs:[],playlists:new we,tracks:new we,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(){N.player_play_expression(this.play_expression,!1)}}},LL={class:"fd-page"},ML=["textContent"],NL=["textContent"],VL={class:"buttons is-centered"},BL=["textContent"];function HL(e,t,n,r,s,o){const i=S("mdicon"),a=S("list-directories"),l=S("list-playlists"),c=S("list-tracks"),d=S("modal-dialog-directory"),f=S("content-with-heading");return w(),$("div",LL,[v(f,null,{"heading-left":E(()=>[u("p",{class:"title is-4",textContent:g(e.$t("page.files.title"))},null,8,ML),u("p",{class:"title is-7 has-text-grey",textContent:g(o.current_directory)},null,8,NL)]),"heading-right":E(()=>[u("div",VL,[u("a",{class:"button is-small is-light is-rounded",onClick:t[0]||(t[0]=m=>s.show_details_modal=!0)},[v(i,{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))},[v(i,{class:"icon",name:"play",size:"16"}),u("span",{textContent:g(e.$t("page.files.play"))},null,8,BL)])])]),content:E(()=>[v(a,{directories:s.dirs},null,8,["directories"]),v(l,{playlists:s.playlists},null,8,["playlists"]),v(c,{tracks:s.tracks,expression:o.play_expression,show_icon:!0},null,8,["tracks","expression"]),v(d,{show:s.show_details_modal,directory:o.current_directory,onClose:t[2]||(t[2]=m=>s.show_details_modal=!1)},null,8,["show","directory"])]),_:1})])}const jL=se(RL,[["render",HL]]),Aa={load(e){return N.library_radio_streams()},set(e,t){e.tracks=new we(t.data.tracks)}},UL={name:"PageRadioStreams",components:{ContentWithHeading:nt,ListTracks:Cn},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{tracks:new we}}},qL={class:"fd-page"},WL=["textContent"],GL=["textContent"];function KL(e,t,n,r,s,o){const i=S("list-tracks"),a=S("content-with-heading");return w(),$("div",qL,[v(a,null,{"heading-left":E(()=>[u("p",{class:"title is-4",textContent:g(e.$t("page.radio.title"))},null,8,WL)]),content:E(()=>[u("p",{class:"heading has-text-centered-mobile",textContent:g(e.$t("page.radio.count",{count:s.tracks.total}))},null,8,GL),v(i,{tracks:s.tracks},null,8,["tracks"])]),_:1})])}const ZL=se(UL,[["render",KL]]),YL={name:"ContentText"},JL={class:"section py-3"},XL={class:"container"},QL={class:"columns is-centered"},eM={class:"column is-four-fifths"};function tM(e,t,n,r,s,o){return w(),$("section",JL,[u("div",XL,[u("div",QL,[u("div",eM,[lt(e.$slots,"content")])])])])}const xv=se(YL,[["render",tM]]),nM={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(Ec,"/search/library"),this.$router.push({path:this.$store.state.search_path,query:this.route_query})},search_spotify(){this.$store.commit(Ec,"/search/spotify"),this.$router.push({path:this.$store.state.search_path,query:this.route_query})}}},rM={key:0,class:"section"},sM={class:"container"},oM={class:"columns is-centered"},iM={class:"column is-four-fifths"},aM={class:"tabs is-centered is-small is-toggle is-toggle-rounded"},lM=["textContent"],uM=["textContent"];function cM(e,t,n,r,s,o){const i=S("mdicon");return o.spotify_enabled?(w(),$("section",rM,[u("div",sM,[u("div",oM,[u("div",iM,[u("div",aM,[u("ul",null,[u("li",{class:Te({"is-active":e.$store.state.search_path==="/search/library"})},[u("a",{onClick:t[0]||(t[0]=(...a)=>o.search_library&&o.search_library(...a))},[v(i,{class:"icon is-small",name:"bookshelf",size:"16"}),u("span",{textContent:g(e.$t("page.search.tabs.library"))},null,8,lM)])],2),u("li",{class:Te({"is-active":e.$store.state.search_path==="/search/spotify"})},[u("a",{onClick:t[1]||(t[1]=(...a)=>o.search_spotify&&o.search_spotify(...a))},[v(i,{class:"icon is-small",name:"spotify",size:"16"}),u("span",{textContent:g(e.$t("page.search.tabs.spotify"))},null,8,uM)])],2)])])])])])])):H("",!0)}const Ev=se(nM,[["render",cM]]),dM={name:"PageSearch",components:{ContentWithHeading:nt,ContentText:xv,TabsSearch:Ev,ListTracks:Cn,ListArtists:lm,ListAlbums:dr,ListPlaylists:mm,ListComposers:Cv},data(){return{search_query:"",tracks:new we,artists:new we,albums:new we,composers:new we,playlists:new we,audiobooks:new we,podcasts:new we}},computed:{recent_searches(){return this.$store.state.recent_searches},show_tracks(){return this.$route.query.type&&this.$route.query.type.includes("track")},show_all_tracks_button(){return this.tracks.total>this.tracks.items.length},show_artists(){return this.$route.query.type&&this.$route.query.type.includes("artist")},show_all_artists_button(){return this.artists.total>this.artists.items.length},show_albums(){return this.$route.query.type&&this.$route.query.type.includes("album")},show_all_albums_button(){return this.albums.total>this.albums.items.length},show_composers(){return this.$route.query.type&&this.$route.query.type.includes("composer")},show_all_composers_button(){return this.composers.total>this.composers.items.length},show_playlists(){return this.$route.query.type&&this.$route.query.type.includes("playlist")},show_all_playlists_button(){return this.playlists.total>this.playlists.items.length},show_audiobooks(){return this.$route.query.type&&this.$route.query.type.includes("audiobook")},show_all_audiobooks_button(){return this.audiobooks.total>this.audiobooks.items.length},show_podcasts(){return this.$route.query.type&&this.$route.query.type.includes("podcast")},show_all_podcasts_button(){return this.podcasts.total>this.podcasts.items.length}},watch:{$route(e,t){this.search(e)}},mounted(){this.search(this.$route)},methods:{search(e){if(!e.query.query||e.query.query===""){this.search_query="",this.$refs.search_field.focus();return}this.search_query=e.query.query,this.searchMusic(e.query),this.searchAudiobooks(e.query),this.searchPodcasts(e.query),this.$store.commit(Hd,e.query.query)},searchMusic(e){if(e.type.indexOf("track")<0&&e.type.indexOf("artist")<0&&e.type.indexOf("album")<0&&e.type.indexOf("playlist")<0)return;const t={type:e.type,media_kind:"music"};e.query.startsWith("query:")?t.expression=e.query.replace(/^query:/,"").trim():t.query=e.query,e.limit&&(t.limit=e.limit,t.offset=e.offset),N.search(t).then(({data:n})=>{this.tracks=new we(n.tracks),this.artists=new we(n.artists),this.albums=new we(n.albums),this.composers=new we(n.composers),this.playlists=new we(n.playlists)})},searchAudiobooks(e){if(e.type.indexOf("audiobook")<0)return;const t={type:"album",media_kind:"audiobook"};e.query.startsWith("query:")?t.expression=e.query.replace(/^query:/,"").trim():t.expression='((album includes "'+e.query+'" or artist includes "'+e.query+'") and media_kind is audiobook)',e.limit&&(t.limit=e.limit,t.offset=e.offset),N.search(t).then(({data:n})=>{this.audiobooks=new we(n.albums)})},searchPodcasts(e){if(e.type.indexOf("podcast")<0)return;const t={type:"album",media_kind:"podcast"};e.query.startsWith("query:")?t.expression=e.query.replace(/^query:/,"").trim():t.expression='((album includes "'+e.query+'" or artist includes "'+e.query+'") and media_kind is podcast)',e.limit&&(t.limit=e.limit,t.offset=e.offset),N.search(t).then(({data:n})=>{this.podcasts=new we(n.albums)})},new_search(){this.search_query&&(this.$router.push({path:this.$store.state.search_path,query:{type:"track,artist,album,playlist,audiobook,podcast,composer",query:this.search_query,limit:3,offset:0}}),this.$refs.search_field.blur())},open_search_tracks(){this.$router.push({path:"/search/library",query:{type:"track",query:this.$route.query.query}})},open_search_artists(){this.$router.push({path:"/search/library",query:{type:"artist",query:this.$route.query.query}})},open_search_albums(){this.$router.push({path:"/search/library",query:{type:"album",query:this.$route.query.query}})},open_search_composers(){this.$router.push({path:"/search/library",query:{type:"tracks",query:this.$route.query.query}})},open_search_playlists(){this.$router.push({path:"/search/library",query:{type:"playlist",query:this.$route.query.query}})},open_search_audiobooks(){this.$router.push({path:"/search/library",query:{type:"audiobook",query:this.$route.query.query}})},open_search_podcasts(){this.$router.push({path:"/search/library",query:{type:"podcast",query:this.$route.query.query}})},open_composer(e){this.$router.push({name:"ComposerAlbums",params:{composer:e.name}})},open_playlist(e){this.$router.push({path:"/playlists/"+e.id+"/tracks"})},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}}},mM={class:"fd-page"},fM={class:"section pb-0"},pM={class:"container"},hM={class:"columns is-centered"},_M={class:"column is-four-fifths"},gM={class:"field"},yM={class:"control is-expanded has-icons-left"},vM=["placeholder"],bM=u("code",null,"query:",-1),CM=["textContent"],zM={class:"tags mt-4"},wM=["onClick","textContent"],kM=["textContent"],xM={key:0,class:"level"},EM={class:"level-item"},SM=["textContent"],$M=["textContent"],AM=["textContent"],TM={key:0,class:"level"},OM={class:"level-item"},DM=["textContent"],PM=["textContent"],IM=["textContent"],FM={key:0,class:"level"},RM={class:"level-item"},LM=["textContent"],MM=["textContent"],NM=["textContent"],VM={key:0,class:"level"},BM={class:"level-item"},HM=["textContent"],jM=["textContent"],UM=["textContent"],qM={key:0,class:"level"},WM={class:"level-item"},GM=["textContent"],KM=["textContent"],ZM=["textContent"],YM={key:0,class:"level"},JM={class:"level-item"},XM=["textContent"],QM=["textContent"],eN=["textContent"],tN={key:0,class:"level"},nN={class:"level-item"},rN=["textContent"],sN=["textContent"];function oN(e,t,n,r,s,o){const i=S("mdicon"),a=S("i18n-t"),l=S("tabs-search"),c=S("list-tracks"),d=S("content-with-heading"),f=S("content-text"),m=S("list-artists"),p=S("list-albums"),h=S("list-composers"),_=S("list-playlists");return w(),$("div",mM,[u("section",fM,[u("div",pM,[u("div",hM,[u("div",_M,[u("form",{onSubmit:t[1]||(t[1]=ot((...C)=>o.new_search&&o.new_search(...C),["prevent"]))},[u("div",gM,[u("p",yM,[ut(u("input",{ref:"search_field","onUpdate:modelValue":t[0]||(t[0]=C=>s.search_query=C),class:"input is-rounded is-shadowless",type:"text",placeholder:e.$t("page.search.placeholder"),autocomplete:"off"},null,8,vM),[[Dt,s.search_query]]),v(i,{class:"icon is-left",name:"magnify",size:"16"})]),v(a,{tag:"p",class:"help has-text-centered",keypath:"page.search.help",scope:"global"},{query:E(()=>[bM]),help:E(()=>[u("a",{href:"https://owntone.github.io/owntone-server/smart-playlists/",target:"_blank",textContent:g(e.$t("page.search.expression"))},null,8,CM)]),_:1})])],32),u("div",zM,[(w(!0),$(Oe,null,pt(o.recent_searches,C=>(w(),$("a",{key:C,class:"tag",onClick:b=>o.open_recent_search(C),textContent:g(C)},null,8,wM))),128))])])])])]),v(l,{query:s.search_query},null,8,["query"]),o.show_tracks&&s.tracks.total?(w(),be(d,{key:0,class:"pt-0"},{"heading-left":E(()=>[u("p",{class:"title is-4",textContent:g(e.$t("page.search.tracks"))},null,8,kM)]),content:E(()=>[v(c,{tracks:s.tracks},null,8,["tracks"])]),footer:E(()=>[o.show_all_tracks_button?(w(),$("nav",xM,[u("p",EM,[u("a",{class:"button is-light is-small is-rounded",onClick:t[2]||(t[2]=(...C)=>o.open_search_tracks&&o.open_search_tracks(...C)),textContent:g(e.$t("page.search.show-tracks",s.tracks.total,{count:e.$filters.number(s.tracks.total)}))},null,8,SM)])])):H("",!0)]),_:1})):H("",!0),o.show_tracks&&!s.tracks.total?(w(),be(f,{key:1,class:"pt-0"},{content:E(()=>[u("p",null,[u("i",{textContent:g(e.$t("page.search.no-tracks"))},null,8,$M)])]),_:1})):H("",!0),o.show_artists&&s.artists.total?(w(),be(d,{key:2},{"heading-left":E(()=>[u("p",{class:"title is-4",textContent:g(e.$t("page.search.artists"))},null,8,AM)]),content:E(()=>[v(m,{artists:s.artists,hide_group_title:!0},null,8,["artists"])]),footer:E(()=>[o.show_all_artists_button?(w(),$("nav",TM,[u("p",OM,[u("a",{class:"button is-light is-small is-rounded",onClick:t[3]||(t[3]=(...C)=>o.open_search_artists&&o.open_search_artists(...C)),textContent:g(e.$t("page.search.show-artists",s.artists.total,{count:e.$filters.number(s.artists.total)}))},null,8,DM)])])):H("",!0)]),_:1})):H("",!0),o.show_artists&&!s.artists.total?(w(),be(f,{key:3},{content:E(()=>[u("p",null,[u("i",{textContent:g(e.$t("page.search.no-artists"))},null,8,PM)])]),_:1})):H("",!0),o.show_albums&&s.albums.total?(w(),be(d,{key:4},{"heading-left":E(()=>[u("p",{class:"title is-4",textContent:g(e.$t("page.search.albums"))},null,8,IM)]),content:E(()=>[v(p,{albums:s.albums,hide_group_title:!0},null,8,["albums"])]),footer:E(()=>[o.show_all_albums_button?(w(),$("nav",FM,[u("p",RM,[u("a",{class:"button is-light is-small is-rounded",onClick:t[4]||(t[4]=(...C)=>o.open_search_albums&&o.open_search_albums(...C)),textContent:g(e.$t("page.search.show-albums",s.albums.total,{count:e.$filters.number(s.albums.total)}))},null,8,LM)])])):H("",!0)]),_:1})):H("",!0),o.show_albums&&!s.albums.total?(w(),be(f,{key:5},{content:E(()=>[u("p",null,[u("i",{textContent:g(e.$t("page.search.no-albums"))},null,8,MM)])]),_:1})):H("",!0),o.show_composers&&s.composers.total?(w(),be(d,{key:6},{"heading-left":E(()=>[u("p",{class:"title is-4",textContent:g(e.$t("page.search.composers"))},null,8,NM)]),content:E(()=>[v(h,{composers:s.composers},null,8,["composers"])]),footer:E(()=>[o.show_all_composers_button?(w(),$("nav",VM,[u("p",BM,[u("a",{class:"button is-light is-small is-rounded",onClick:t[5]||(t[5]=(...C)=>o.open_search_composers&&o.open_search_composers(...C)),textContent:g(e.$t("page.search.show-composers",s.composers.total,{count:e.$filters.number(s.composers.total)}))},null,8,HM)])])):H("",!0)]),_:1})):H("",!0),o.show_composers&&!s.composers.total?(w(),be(f,{key:7},{content:E(()=>[u("p",null,[u("i",{textContent:g(e.$t("page.search.no-composers"))},null,8,jM)])]),_:1})):H("",!0),o.show_playlists&&s.playlists.total?(w(),be(d,{key:8},{"heading-left":E(()=>[u("p",{class:"title is-4",textContent:g(e.$t("page.search.playlists"))},null,8,UM)]),content:E(()=>[v(_,{playlists:s.playlists},null,8,["playlists"])]),footer:E(()=>[o.show_all_playlists_button?(w(),$("nav",qM,[u("p",WM,[u("a",{class:"button is-light is-small is-rounded",onClick:t[6]||(t[6]=(...C)=>o.open_search_playlists&&o.open_search_playlists(...C)),textContent:g(e.$t("page.search.show-playlists",s.playlists.total,{count:e.$filters.number(s.playlists.total)}))},null,8,GM)])])):H("",!0)]),_:1})):H("",!0),o.show_playlists&&!s.playlists.total?(w(),be(f,{key:9},{content:E(()=>[u("p",null,[u("i",{textContent:g(e.$t("page.search.no-playlists"))},null,8,KM)])]),_:1})):H("",!0),o.show_podcasts&&s.podcasts.total?(w(),be(d,{key:10},{"heading-left":E(()=>[u("p",{class:"title is-4",textContent:g(e.$t("page.search.podcasts"))},null,8,ZM)]),content:E(()=>[v(p,{albums:s.podcasts},null,8,["albums"])]),footer:E(()=>[o.show_all_podcasts_button?(w(),$("nav",YM,[u("p",JM,[u("a",{class:"button is-light is-small is-rounded",onClick:t[7]||(t[7]=(...C)=>o.open_search_podcasts&&o.open_search_podcasts(...C)),textContent:g(e.$t("page.search.show-podcasts",s.podcasts.total,{count:e.$filters.number(s.podcasts.total)}))},null,8,XM)])])):H("",!0)]),_:1})):H("",!0),o.show_podcasts&&!s.podcasts.total?(w(),be(f,{key:11},{content:E(()=>[u("p",null,[u("i",{textContent:g(e.$t("page.search.no-podcasts"))},null,8,QM)])]),_:1})):H("",!0),o.show_audiobooks&&s.audiobooks.total?(w(),be(d,{key:12},{"heading-left":E(()=>[u("p",{class:"title is-4",textContent:g(e.$t("page.search.audiobooks"))},null,8,eN)]),content:E(()=>[v(p,{albums:s.audiobooks},null,8,["albums"])]),footer:E(()=>[o.show_all_audiobooks_button?(w(),$("nav",tN,[u("p",nN,[u("a",{class:"button is-light is-small is-rounded",onClick:t[8]||(t[8]=(...C)=>o.open_search_audiobooks&&o.open_search_audiobooks(...C)),textContent:g(e.$t("page.search.show-audiobooks",s.audiobooks.total,{count:e.$filters.number(s.audiobooks.total)}))},null,8,rN)])])):H("",!0)]),_:1})):H("",!0),o.show_audiobooks&&!s.audiobooks.total?(w(),be(f,{key:13},{content:E(()=>[u("p",null,[u("i",{textContent:g(e.$t("page.search.no-audiobooks"))},null,8,sN)])]),_:1})):H("",!0)])}const iN=se(dM,[["render",oN]]),aN={name:"PageAbout",computed:{config(){return this.$store.state.config},library(){return this.$store.state.library}},methods:{showUpdateDialog(){this.$store.commit(Ti,!0)}}},lN={class:"fd-page"},uN={class:"section"},cN={class:"container"},dN={class:"columns is-centered"},mN={class:"column is-four-fifths has-text-centered-mobile"},fN=["textContent"],pN={class:"section"},hN={class:"container"},_N={class:"columns is-centered"},gN={class:"column is-four-fifths"},yN={class:"content"},vN={class:"level is-mobile"},bN={class:"level-left"},CN={class:"level-item"},zN=["textContent"],wN={class:"level-right"},kN={key:0},xN=["textContent"],EN={key:1},SN=["textContent"],$N={class:"table"},AN=["textContent"],TN=["textContent"],ON=["textContent"],DN=["textContent"],PN=["textContent"],IN=["textContent"],FN=["textContent"],RN=["textContent"],LN=["textContent"],MN={class:"has-text-right"},NN=["textContent"],VN=["textContent"],BN=["textContent"],HN={class:"has-text-right"},jN=["textContent"],UN=["textContent"],qN={class:"section"},WN={class:"container"},GN={class:"columns is-centered"},KN={class:"column is-four-fifths"},ZN={class:"content has-text-centered-mobile"},YN=["textContent"],JN=["textContent"],XN=u("a",{href:"https://bulma.io"},"Bulma",-1),QN=u("a",{href:"https://pictogrammers.com/library/mdi/"},"Material Design Icons",-1),e7=u("a",{href:"https://vuejs.org/"},"Vue.js",-1),t7=u("a",{href:"https://github.com/mzabriskie/axios"},"axios",-1),n7=["textContent"];function r7(e,t,n,r,s,o){const i=S("i18n-t");return w(),$("div",lN,[u("section",uN,[u("div",cN,[u("div",dN,[u("div",mN,[u("h1",{class:"title is-4",textContent:g(o.config.library_name)},null,8,fN)])])])]),u("section",pN,[u("div",hN,[u("div",_N,[u("div",gN,[u("div",yN,[u("nav",vN,[u("div",bN,[u("div",CN,[u("h2",{class:"title is-5",textContent:g(e.$t("page.about.library"))},null,8,zN)])]),u("div",wN,[o.library.updating?(w(),$("div",kN,[u("a",{class:"button is-small is-loading",textContent:g(e.$t("page.about.update"))},null,8,xN)])):(w(),$("div",EN,[u("a",{class:"button is-small",onClick:t[0]||(t[0]=a=>o.showUpdateDialog()),textContent:g(e.$t("page.about.update"))},null,8,SN)]))])]),u("table",$N,[u("tbody",null,[u("tr",null,[u("th",{class:"has-text-left",textContent:g(e.$t("page.about.artists"))},null,8,AN),u("td",{class:"has-text-right",textContent:g(e.$filters.number(o.library.artists))},null,8,TN)]),u("tr",null,[u("th",{class:"has-text-left",textContent:g(e.$t("page.about.albums"))},null,8,ON),u("td",{class:"has-text-right",textContent:g(e.$filters.number(o.library.albums))},null,8,DN)]),u("tr",null,[u("th",{class:"has-text-left",textContent:g(e.$t("page.about.tracks"))},null,8,PN),u("td",{class:"has-text-right",textContent:g(e.$filters.number(o.library.songs))},null,8,IN)]),u("tr",null,[u("th",{class:"has-text-left",textContent:g(e.$t("page.about.total-playtime"))},null,8,FN),u("td",{class:"has-text-right",textContent:g(e.$filters.durationInDays(o.library.db_playtime*1e3))},null,8,RN)]),u("tr",null,[u("th",{class:"has-text-left",textContent:g(e.$t("page.about.updated"))},null,8,LN),u("td",MN,[u("span",{textContent:g(e.$t("page.about.updated-on",{time:e.$filters.timeFromNow(o.library.updated_at)}))},null,8,NN),dt(" ("),u("span",{class:"has-text-grey",textContent:g(e.$filters.datetime(o.library.updated_at))},null,8,VN),dt(") ")])]),u("tr",null,[u("th",{class:"has-text-left",textContent:g(e.$t("page.about.uptime"))},null,8,BN),u("td",HN,[u("span",{textContent:g(e.$filters.timeFromNow(o.library.started_at,!0))},null,8,jN),dt(" ("),u("span",{class:"has-text-grey",textContent:g(e.$filters.datetime(o.library.started_at))},null,8,UN),dt(") ")])])])])])])])])]),u("section",qN,[u("div",WN,[u("div",GN,[u("div",KN,[u("div",ZN,[u("p",{class:"is-size-7",textContent:g(e.$t("page.about.version",{version:o.config.version}))},null,8,YN),u("p",{class:"is-size-7",textContent:g(e.$t("page.about.compiled-with",{options:o.config.buildoptions.join(", ")}))},null,8,JN),v(i,{tag:"p",class:"is-size-7",keypath:"page.about.built-with",scope:"global"},{bulma:E(()=>[XN]),mdi:E(()=>[QN]),vuejs:E(()=>[e7]),axios:E(()=>[t7]),others:E(()=>[u("a",{href:"https://github.com/owntone/owntone-server/network/dependencies",textContent:g(e.$t("page.about.more"))},null,8,n7)]),_:1})])])])])])])}const s7=se(aN,[["render",r7]]),o7={name:"SpotifyListItemAlbum",props:["album"]},i7={class:"media is-align-items-center"},a7={key:0,class:"media-left is-clickable"},l7={class:"media-content is-clickable is-clipped"},u7=["textContent"],c7={class:"subtitle is-7 has-text-grey"},d7=["textContent"],m7=["textContent"],f7={class:"media-right"};function p7(e,t,n,r,s,o){return w(),$("div",i7,[e.$slots.artwork?(w(),$("div",a7,[lt(e.$slots,"artwork")])):H("",!0),u("div",l7,[u("h1",{class:"title is-6",textContent:g(n.album.name)},null,8,u7),u("h2",c7,[u("b",{textContent:g(n.album.artists[0].name)},null,8,d7)]),u("h2",{class:"subtitle is-7 has-text-grey has-text-weight-normal",textContent:g([n.album.album_type,e.$filters.date(n.album.release_date)].join(", "))},null,8,m7)]),u("div",f7,[lt(e.$slots,"actions")])])}const ru=se(o7,[["render",p7]]),h7={name:"SpotifyListItemPlaylist",props:["playlist"],methods:{open_playlist(){this.$router.push({path:"/music/spotify/playlists/"+this.playlist.id})}}},_7={class:"media is-align-items-center"},g7=["textContent"],y7=["textContent"],v7={class:"media-right"};function b7(e,t,n,r,s,o){return w(),$("div",_7,[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,g7),u("h2",{class:"subtitle is-7",textContent:g(n.playlist.owner.display_name)},null,8,y7)]),u("div",v7,[lt(e.$slots,"actions")])])}const fm=se(h7,[["render",b7]]),C7={name:"SpotifyModalDialogAlbum",components:{CoverArtwork:Gn},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"),N.player_play_uri(this.album.uri,!1)},queue_add(){this.$emit("close"),N.queue_add(this.album.uri)},queue_add_next(){this.$emit("close"),N.queue_add_next(this.album.uri)},open_album(){this.$router.push({path:"/music/spotify/albums/"+this.album.id})},open_artist(){this.$router.push({path:"/music/spotify/artists/"+this.album.artists[0].id})},artwork_loaded(){this.artwork_visible=!0},artwork_error(){this.artwork_visible=!1}}},z7={key:0,class:"modal is-active"},w7={class:"modal-content fd-modal-card"},k7={class:"card"},x7={class:"card-content"},E7={class:"title is-4"},S7=["textContent"],$7={class:"content is-small"},A7=["textContent"],T7=["textContent"],O7=["textContent"],D7=["textContent"],P7=["textContent"],I7=["textContent"],F7={class:"card-footer"},R7=["textContent"],L7=["textContent"],M7=["textContent"];function N7(e,t,n,r,s,o){const i=S("cover-artwork"),a=S("mdicon");return w(),$("div",null,[v(Pt,{name:"fade"},{default:E(()=>[n.show?(w(),$("div",z7,[u("div",{class:"modal-background",onClick:t[0]||(t[0]=l=>e.$emit("close"))}),u("div",w7,[u("div",k7,[u("div",x7,[v(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",E7,[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,S7)]),u("div",$7,[u("p",null,[u("span",{class:"heading",textContent:g(e.$t("dialog.spotify.album.album-artist"))},null,8,A7),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,T7)]),u("p",null,[u("span",{class:"heading",textContent:g(e.$t("dialog.spotify.album.release-date"))},null,8,O7),u("span",{class:"title is-6",textContent:g(e.$filters.date(n.album.release_date))},null,8,D7)]),u("p",null,[u("span",{class:"heading",textContent:g(e.$t("dialog.spotify.album.type"))},null,8,P7),u("span",{class:"title is-6",textContent:g(n.album.album_type)},null,8,I7)])])]),u("footer",F7,[u("a",{class:"card-footer-item has-text-dark",onClick:t[3]||(t[3]=(...l)=>o.queue_add&&o.queue_add(...l))},[v(a,{class:"icon",name:"playlist-plus",size:"16"}),u("span",{class:"is-size-7",textContent:g(e.$t("dialog.spotify.album.add"))},null,8,R7)]),u("a",{class:"card-footer-item has-text-dark",onClick:t[4]||(t[4]=(...l)=>o.queue_add_next&&o.queue_add_next(...l))},[v(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,L7)]),u("a",{class:"card-footer-item has-text-dark",onClick:t[5]||(t[5]=(...l)=>o.play&&o.play(...l))},[v(a,{class:"icon",name:"play",size:"16"}),u("span",{class:"is-size-7",textContent:g(e.$t("dialog.spotify.album.play"))},null,8,M7)])])])]),u("button",{class:"modal-close is-large","aria-label":"close",onClick:t[6]||(t[6]=l=>e.$emit("close"))})])):H("",!0)]),_:1})])}const Fi=se(C7,[["render",N7]]),V7={name:"SpotifyModalDialogPlaylist",props:["show","playlist"],emits:["close"],methods:{play(){this.$emit("close"),N.player_play_uri(this.playlist.uri,!1)},queue_add(){this.$emit("close"),N.queue_add(this.playlist.uri)},queue_add_next(){this.$emit("close"),N.queue_add_next(this.playlist.uri)},open_playlist(){this.$router.push({path:"/music/spotify/playlists/"+this.playlist.id})}}},B7={key:0,class:"modal is-active"},H7={class:"modal-content fd-modal-card"},j7={class:"card"},U7={class:"card-content"},q7={class:"title is-4"},W7=["textContent"],G7={class:"content is-small"},K7=["textContent"],Z7=["textContent"],Y7=["textContent"],J7=["textContent"],X7=["textContent"],Q7=["textContent"],e9={class:"card-footer"},t9=["textContent"],n9=["textContent"],r9=["textContent"];function s9(e,t,n,r,s,o){const i=S("mdicon");return w(),$("div",null,[v(Pt,{name:"fade"},{default:E(()=>[n.show?(w(),$("div",B7,[u("div",{class:"modal-background",onClick:t[0]||(t[0]=a=>e.$emit("close"))}),u("div",H7,[u("div",j7,[u("div",U7,[u("p",q7,[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,W7)]),u("div",G7,[u("p",null,[u("span",{class:"heading",textContent:g(e.$t("dialog.spotify.playlist.owner"))},null,8,K7),u("span",{class:"title is-6",textContent:g(n.playlist.owner.display_name)},null,8,Z7)]),u("p",null,[u("span",{class:"heading",textContent:g(e.$t("dialog.spotify.playlist.tracks"))},null,8,Y7),u("span",{class:"title is-6",textContent:g(n.playlist.tracks.total)},null,8,J7)]),u("p",null,[u("span",{class:"heading",textContent:g(e.$t("dialog.spotify.playlist.path"))},null,8,X7),u("span",{class:"title is-6",textContent:g(n.playlist.uri)},null,8,Q7)])])]),u("footer",e9,[u("a",{class:"card-footer-item has-text-dark",onClick:t[2]||(t[2]=(...a)=>o.queue_add&&o.queue_add(...a))},[v(i,{class:"icon",name:"playlist-plus",size:"16"}),u("span",{class:"is-size-7",textContent:g(e.$t("dialog.spotify.playlist.add"))},null,8,t9)]),u("a",{class:"card-footer-item has-text-dark",onClick:t[3]||(t[3]=(...a)=>o.queue_add_next&&o.queue_add_next(...a))},[v(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,n9)]),u("a",{class:"card-footer-item has-text-dark",onClick:t[4]||(t[4]=(...a)=>o.play&&o.play(...a))},[v(i,{class:"icon",name:"play",size:"16"}),u("span",{class:"is-size-7",textContent:g(e.$t("dialog.spotify.playlist.play"))},null,8,r9)])])])]),u("button",{class:"modal-close is-large","aria-label":"close",onClick:t[5]||(t[5]=a=>e.$emit("close"))})])):H("",!0)]),_:1})])}const su=se(V7,[["render",s9]]),Ta={load(e){if(Ke.state.spotify_new_releases.length>0&&Ke.state.spotify_featured_playlists.length>0)return Promise.resolve();const t=new Wn;return t.setAccessToken(Ke.state.spotify.webapi_token),Promise.all([t.getNewReleases({country:Ke.state.spotify.webapi_country,limit:50}),t.getFeaturedPlaylists({country:Ke.state.spotify.webapi_country,limit:50})])},set(e,t){t&&(Ke.commit(Vd,t[0].albums.items),Ke.commit(Bd,t[1].playlists.items))}},o9={name:"SpotifyPageBrowse",components:{ContentWithHeading:nt,TabsMusic:cr,SpotifyListItemAlbum:ru,SpotifyListItemPlaylist:fm,SpotifyModalDialogAlbum:Fi,SpotifyModalDialogPlaylist:su,CoverArtwork:Gn},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{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({path:"/music/spotify/albums/"+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:""}}},i9={class:"fd-page-with-tabs"},a9=["textContent"],l9=["onClick"],u9={class:"level"},c9={class:"level-item"},d9=["textContent"],m9=["onClick"],f9={class:"level"},p9={class:"level-item"};function h9(e,t,n,r,s,o){const i=S("tabs-music"),a=S("cover-artwork"),l=S("mdicon"),c=S("spotify-list-item-album"),d=S("spotify-modal-dialog-album"),f=S("router-link"),m=S("content-with-heading"),p=S("spotify-list-item-playlist"),h=S("spotify-modal-dialog-playlist");return w(),$("div",i9,[v(i),v(m,null,{"heading-left":E(()=>[u("p",{class:"title is-4",textContent:g(e.$t("page.spotify.browse.new-releases"))},null,8,a9)]),content:E(()=>[(w(!0),$(Oe,null,pt(o.new_releases,_=>(w(),be(c,{key:_.id,album:_,onClick:C=>o.open_album(_)},$i({actions:E(()=>[u("a",{onClick:ot(C=>o.open_album_dialog(_),["prevent","stop"])},[v(l,{class:"icon has-text-dark",name:"dots-vertical",size:"16"})],8,l9)]),_:2},[o.is_visible_artwork?{name:"artwork",fn:E(()=>[v(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)),v(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",u9,[u("p",c9,[v(f,{to:"/music/spotify/new-releases",class:"button is-light is-small is-rounded"},{default:E(()=>[dt(g(e.$t("page.spotify.browse.show-more")),1)]),_:1})])])]),_:1}),v(m,null,{"heading-left":E(()=>[u("p",{class:"title is-4",textContent:g(e.$t("page.spotify.browse.featured-playlists"))},null,8,d9)]),content:E(()=>[(w(!0),$(Oe,null,pt(o.featured_playlists,_=>(w(),be(p,{key:_.id,playlist:_},{actions:E(()=>[u("a",{onClick:ot(C=>o.open_playlist_dialog(_),["prevent","stop"])},[v(l,{class:"icon has-text-dark",name:"dots-vertical",size:"16"})],8,m9)]),_:2},1032,["playlist"]))),128)),v(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",f9,[u("p",p9,[v(f,{to:"/music/spotify/featured-playlists",class:"button is-light is-small is-rounded"},{default:E(()=>[dt(g(e.$t("page.spotify.browse.show-more")),1)]),_:1})])])]),_:1})])}const _9=se(o9,[["render",h9]]),Oa={load(e){if(Ke.state.spotify_new_releases.length>0)return Promise.resolve();const t=new Wn;return t.setAccessToken(Ke.state.spotify.webapi_token),t.getNewReleases({country:Ke.state.spotify.webapi_country,limit:50})},set(e,t){t&&Ke.commit(Vd,t.albums.items)}},g9={name:"SpotifyPageBrowseNewReleases",components:{ContentWithHeading:nt,TabsMusic:cr,SpotifyListItemAlbum:ru,SpotifyModalDialogAlbum:Fi,CoverArtwork:Gn},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{show_album_details_modal:!1,selected_album:{}}},computed:{new_releases(){return this.$store.state.spotify_new_releases},is_visible_artwork(){return this.$store.getters.settings_option("webinterface","show_cover_artwork_in_album_lists").value}},methods:{open_album(e){this.$router.push({path:"/music/spotify/albums/"+e.id})},open_album_dialog(e){this.selected_album=e,this.show_album_details_modal=!0},artwork_url(e){return e.images&&e.images.length>0?e.images[0].url:""}}},y9={class:"fd-page-with-tabs"},v9=["textContent"],b9=["onClick"];function C9(e,t,n,r,s,o){const i=S("tabs-music"),a=S("cover-artwork"),l=S("mdicon"),c=S("spotify-list-item-album"),d=S("spotify-modal-dialog-album"),f=S("content-with-heading");return w(),$("div",y9,[v(i),v(f,null,{"heading-left":E(()=>[u("p",{class:"title is-4",textContent:g(e.$t("page.spotify.browse.new-releases"))},null,8,v9)]),content:E(()=>[(w(!0),$(Oe,null,pt(o.new_releases,m=>(w(),be(c,{key:m.id,album:m,onClick:p=>o.open_album(m)},$i({actions:E(()=>[u("a",{onClick:ot(p=>o.open_album_dialog(m),["prevent","stop"])},[v(l,{class:"icon has-text-dark",name:"dots-vertical",size:"16"})],8,b9)]),_:2},[o.is_visible_artwork?{name:"artwork",fn:E(()=>[v(a,{artwork_url:o.artwork_url(m),artist:m.artist,album:m.name,class:"is-clickable fd-has-shadow fd-cover fd-cover-small-image",maxwidth:64,maxheight:64},null,8,["artwork_url","artist","album"])]),key:"0"}:void 0]),1032,["album","onClick"]))),128)),v(d,{show:s.show_album_details_modal,album:s.selected_album,onClose:t[0]||(t[0]=m=>s.show_album_details_modal=!1)},null,8,["show","album"])]),_:1})])}const z9=se(g9,[["render",C9]]),Da={load(e){if(Ke.state.spotify_featured_playlists.length>0)return Promise.resolve();const t=new Wn;t.setAccessToken(Ke.state.spotify.webapi_token),t.getFeaturedPlaylists({country:Ke.state.spotify.webapi_country,limit:50})},set(e,t){t&&Ke.commit(Bd,t.playlists.items)}},w9={name:"SpotifyPageBrowseFeaturedPlaylists",components:{ContentWithHeading:nt,TabsMusic:cr,SpotifyListItemPlaylist:fm,SpotifyModalDialogPlaylist:su},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{show_playlist_details_modal:!1,selected_playlist:{}}},computed:{featured_playlists(){return this.$store.state.spotify_featured_playlists}},methods:{open_playlist_dialog(e){this.selected_playlist=e,this.show_playlist_details_modal=!0}}},k9={class:"fd-page-with-tabs"},x9=["textContent"],E9=["onClick"];function S9(e,t,n,r,s,o){const i=S("tabs-music"),a=S("mdicon"),l=S("spotify-list-item-playlist"),c=S("spotify-modal-dialog-playlist"),d=S("content-with-heading");return w(),$("div",k9,[v(i),v(d,null,{"heading-left":E(()=>[u("p",{class:"title is-4",textContent:g(e.$t("page.spotify.browse.featured-playlists"))},null,8,x9)]),content:E(()=>[(w(!0),$(Oe,null,pt(o.featured_playlists,f=>(w(),be(l,{key:f.id,playlist:f},{actions:E(()=>[u("a",{onClick:ot(m=>o.open_playlist_dialog(f),["prevent","stop"])},[v(a,{class:"icon has-text-dark",name:"dots-vertical",size:"16"})],8,E9)]),_:2},1032,["playlist"]))),128)),v(c,{show:s.show_playlist_details_modal,playlist:s.selected_playlist,onClose:t[0]||(t[0]=f=>s.show_playlist_details_modal=!1)},null,8,["show","playlist"])]),_:1})])}const $9=se(w9,[["render",S9]]),A9={name:"SpotifyModalDialogArtist",props:["show","artist"],emits:["close"],methods:{play(){this.$emit("close"),N.player_play_uri(this.artist.uri,!1)},queue_add(){this.$emit("close"),N.queue_add(this.artist.uri)},queue_add_next(){this.$emit("close"),N.queue_add_next(this.artist.uri)},open_artist(){this.$router.push({path:"/music/spotify/artists/"+this.artist.id})}}},T9={key:0,class:"modal is-active"},O9={class:"modal-content fd-modal-card"},D9={class:"card"},P9={class:"card-content"},I9={class:"title is-4"},F9=["textContent"],R9={class:"content is-small"},L9=["textContent"],M9=["textContent"],N9=["textContent"],V9=["textContent"],B9={class:"card-footer"},H9=["textContent"],j9=["textContent"],U9=["textContent"];function q9(e,t,n,r,s,o){const i=S("mdicon");return w(),$("div",null,[v(Pt,{name:"fade"},{default:E(()=>[n.show?(w(),$("div",T9,[u("div",{class:"modal-background",onClick:t[0]||(t[0]=a=>e.$emit("close"))}),u("div",O9,[u("div",D9,[u("div",P9,[u("p",I9,[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,F9)]),u("div",R9,[u("p",null,[u("span",{class:"heading",textContent:g(e.$t("dialog.spotify.artist.popularity"))},null,8,L9),u("span",{class:"title is-6",textContent:g([n.artist.popularity,n.artist.followers.total].join(" / "))},null,8,M9)]),u("p",null,[u("span",{class:"heading",textContent:g(e.$t("dialog.spotify.artist.genres"))},null,8,N9),u("span",{class:"title is-6",textContent:g(n.artist.genres.join(", "))},null,8,V9)])])]),u("footer",B9,[u("a",{class:"card-footer-item has-text-dark",onClick:t[2]||(t[2]=(...a)=>o.queue_add&&o.queue_add(...a))},[v(i,{class:"icon",name:"playlist-plus",size:"16"}),u("span",{class:"is-size-7",textContent:g(e.$t("dialog.spotify.artist.add"))},null,8,H9)]),u("a",{class:"card-footer-item has-text-dark",onClick:t[3]||(t[3]=(...a)=>o.queue_add_next&&o.queue_add_next(...a))},[v(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,j9)]),u("a",{class:"card-footer-item has-text-dark",onClick:t[4]||(t[4]=(...a)=>o.play&&o.play(...a))},[v(i,{class:"icon",name:"play",size:"16"}),u("span",{class:"is-size-7",textContent:g(e.$t("dialog.spotify.artist.play"))},null,8,U9)])])])]),u("button",{class:"modal-close is-large","aria-label":"close",onClick:t[5]||(t[5]=a=>e.$emit("close"))})])):H("",!0)]),_:1})])}const Sv=se(A9,[["render",q9]]);function W9(e){return e.scrollHeight}function G9(e){return e.scrollWidth}function K9(e,t){e.scrollTop=e.scrollHeight-t+e.scrollTop}function Z9(e,t){e.scrollLeft=e.scrollWidth-t+e.scrollLeft}const Y9=u("div",{class:"loading"},"Loading...",-1),J9=u("div",{class:"no-more"},"No more.",-1),X9=u("div",{class:"no-results"},"No results.",-1),Q9=u("div",{class:"error"},"Error.",-1),pm=lo({__name:"VueEternalLoading",props:{load:{required:!0,type:Function},isInitial:{required:!1,type:Boolean,default:!0},position:{required:!1,type:String,default:"default"},container:{required:!1,type:Object,default:null},margin:{required:!1,type:String,default:void 0}},emits:["update:isInitial"],setup(e,{emit:t}){const n=e,r=Kt();let s=Kt("loading"),o=Kt(n.isInitial),i=0;function a(){ki(()=>{var k,z;n.position==="top"?K9((k=n.container)!=null?k:document.documentElement,i):n.position==="left"&&Z9((z=n.container)!=null?z:document.documentElement,i)})}function l(k,z){return k===0?o.value?(d(),"no-results"):(c(),"no-more"):k!==void 0&&z!==void 0&&k<z?(c(),"no-more"):(o.value=!1,a(),C(),"loading")}function c(){o.value=!1,h("no-more"),a()}function d(){o.value=!1,h("no-results"),a()}function f(){o.value=!1,h("error"),a()}function m(){o.value=!0,h("loading"),C()}function p(){h("loading"),C()}function h(k){s.value=k}function _(){r.value&&y.unobserve(r.value)}function C(){r.value&&y.observe(r.value)}function b(){return new IntersectionObserver(([k])=>{var z,x;k.isIntersecting&&(n.position==="top"?i=W9((z=n.container)!=null?z:document.documentElement):n.position==="left"&&(i=G9((x=n.container)!=null?x:document.documentElement)),_(),n.load({loaded:l,noMore:c,noResults:d,error:f},{isFirstLoad:o.value}))},{root:n.container,threshold:0,rootMargin:n.margin})}let y;return typeof IntersectionObserver<"u"&&jh(()=>{y&&_(),y=b(),C()},{flush:"post"}),Xt(()=>n.isInitial,k=>{k&&m()}),Xt(o,k=>{k||t("update:isInitial",!1)}),(k,z)=>(w(),$("div",{class:"vue-eternal-loading",ref_key:"rootRef",ref:r},[hn(s)==="loading"?lt(k.$slots,"loading",Do(Ms({key:0},{isFirstLoad:hn(o)})),()=>[Y9]):hn(s)==="no-more"?lt(k.$slots,"no-more",Do(Ms({key:1},{retry:p})),()=>[J9]):hn(s)==="no-results"?lt(k.$slots,"no-results",Do(Ms({key:2},{retry:p})),()=>[X9]):hn(s)==="error"?lt(k.$slots,"error",Do(Ms({key:3},{retry:p})),()=>[Q9]):H("",!0)],512))}}),qc=50,Pa={load:function(e){const t=new Wn;return t.setAccessToken(Ke.state.spotify.webapi_token),Promise.all([t.getArtist(e.params.artist_id),t.getArtistAlbums(e.params.artist_id,{limit:qc,offset:0,include_groups:"album,single",market:Ke.state.spotify.webapi_country})])},set(e,t){e.artist=t[0],e.albums=[],e.total=0,e.offset=0,e.append_albums(t[1])}},eV={name:"SpotifyPageArtist",components:{ContentWithHeading:nt,SpotifyListItemAlbum:ru,SpotifyModalDialogAlbum:Fi,SpotifyModalDialogArtist:Sv,VueEternalLoading:pm,CoverArtwork:Gn},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{artist:{},albums:[],total:0,offset:0,show_details_modal:!1,selected_album:{},show_artist_details_modal:!1}},computed:{is_visible_artwork(){return this.$store.getters.settings_option("webinterface","show_cover_artwork_in_album_lists").value}},methods:{load_next({loaded:e}){const t=new Wn;t.setAccessToken(this.$store.state.spotify.webapi_token),t.getArtistAlbums(this.artist.id,{limit:qc,offset:this.offset,include_groups:"album,single"}).then(n=>{this.append_albums(n),e(n.items.length,qc)})},append_albums(e){this.albums=this.albums.concat(e.items),this.total=e.total,this.offset+=e.limit},play(){this.show_details_modal=!1,N.player_play_uri(this.artist.uri,!0)},open_album(e){this.$router.push({path:"/music/spotify/albums/"+e.id})},open_dialog(e){this.selected_album=e,this.show_details_modal=!0},artwork_url(e){return e.images&&e.images.length>0?e.images[0].url:""}}},tV={class:"fd-page"},nV=["textContent"],rV={class:"buttons is-centered"},sV=["textContent"],oV=["textContent"],iV=["onClick"];function aV(e,t,n,r,s,o){const i=S("mdicon"),a=S("cover-artwork"),l=S("spotify-list-item-album"),c=S("VueEternalLoading"),d=S("spotify-modal-dialog-album"),f=S("spotify-modal-dialog-artist"),m=S("content-with-heading");return w(),$("div",tV,[v(m,null,{"heading-left":E(()=>[u("p",{class:"title is-4",textContent:g(s.artist.name)},null,8,nV)]),"heading-right":E(()=>[u("div",rV,[u("a",{class:"button is-small is-light is-rounded",onClick:t[0]||(t[0]=p=>s.show_artist_details_modal=!0)},[v(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))},[v(i,{class:"icon",name:"shuffle",size:"16"}),u("span",{textContent:g(e.$t("page.spotify.artist.shuffle"))},null,8,sV)])])]),content:E(()=>[u("p",{class:"heading has-text-centered-mobile",textContent:g(e.$t("page.spotify.artist.album-count",{count:s.total}))},null,8,oV),(w(!0),$(Oe,null,pt(s.albums,p=>(w(),be(l,{key:p.id,album:p,onClick:h=>o.open_album(p)},$i({actions:E(()=>[u("a",{onClick:ot(h=>o.open_dialog(p),["prevent","stop"])},[v(i,{class:"icon has-text-dark",name:"dots-vertical",size:"16"})],8,iV)]),_:2},[o.is_visible_artwork?{name:"artwork",fn:E(()=>[v(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?(w(),be(c,{key:0,load:o.load_next},{"no-more":E(()=>[dt(" . ")]),_:1},8,["load"])):H("",!0),v(d,{show:s.show_details_modal,album:s.selected_album,onClose:t[2]||(t[2]=p=>s.show_details_modal=!1)},null,8,["show","album"]),v(f,{show:s.show_artist_details_modal,artist:s.artist,onClose:t[3]||(t[3]=p=>s.show_artist_details_modal=!1)},null,8,["show","artist"])]),_:1})])}const lV=se(eV,[["render",aV]]),uV={name:"SpotifyListItemTrack",props:["track","position","context_uri"],methods:{play(){this.track.is_playable&&N.player_play_uri(this.context_uri,!1,this.position)}}},cV={class:"media is-align-items-center"},dV=["textContent"],mV=["textContent"],fV={key:0,class:"subtitle is-7"},pV=["textContent"],hV=["textContent"],_V={class:"media-right"};function gV(e,t,n,r,s,o){return w(),$("div",cV,[u("div",{class:Te(["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:Te(["title is-6",{"has-text-grey-light":!n.track.is_playable}]),textContent:g(n.track.name)},null,10,dV),u("h2",{class:Te(["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,mV),n.track.is_playable?H("",!0):(w(),$("h2",fV,[dt(" ("),u("span",{textContent:g(e.$t("list.spotify.not-playable-track"))},null,8,pV),n.track.restrictions&&n.track.restrictions.reason?(w(),$("span",{key:0,textContent:g(e.$t("list.spotify.restriction-reason",{reason:n.track.restrictions.reason}))},null,8,hV)):H("",!0),dt(") ")]))],2),u("div",_V,[lt(e.$slots,"actions")])])}const hm=se(uV,[["render",gV]]),yV={name:"SpotifyModalDialogTrack",props:["show","track","album"],emits:["close"],methods:{play(){this.$emit("close"),N.player_play_uri(this.track.uri,!1)},queue_add(){this.$emit("close"),N.queue_add(this.track.uri)},queue_add_next(){this.$emit("close"),N.queue_add_next(this.track.uri)},open_album(){this.$router.push({path:"/music/spotify/albums/"+this.album.id})},open_artist(){this.$router.push({path:"/music/spotify/artists/"+this.album.artists[0].id})}}},vV={key:0,class:"modal is-active"},bV={class:"modal-content fd-modal-card"},CV={class:"card"},zV={class:"card-content"},wV=["textContent"],kV=["textContent"],xV={class:"content is-small"},EV=["textContent"],SV=["textContent"],$V=["textContent"],AV=["textContent"],TV=["textContent"],OV=["textContent"],DV=["textContent"],PV=["textContent"],IV=["textContent"],FV=["textContent"],RV=["textContent"],LV=["textContent"],MV={class:"card-footer"},NV=["textContent"],VV=["textContent"],BV=["textContent"];function HV(e,t,n,r,s,o){const i=S("mdicon");return w(),$("div",null,[v(Pt,{name:"fade"},{default:E(()=>[n.show?(w(),$("div",vV,[u("div",{class:"modal-background",onClick:t[0]||(t[0]=a=>e.$emit("close"))}),u("div",bV,[u("div",CV,[u("div",zV,[u("p",{class:"title is-4",textContent:g(n.track.name)},null,8,wV),u("p",{class:"subtitle",textContent:g(n.track.artists[0].name)},null,8,kV),u("div",xV,[u("p",null,[u("span",{class:"heading",textContent:g(e.$t("dialog.spotify.track.album"))},null,8,EV),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,SV)]),u("p",null,[u("span",{class:"heading",textContent:g(e.$t("dialog.spotify.track.album-artist"))},null,8,$V),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,AV)]),u("p",null,[u("span",{class:"heading",textContent:g(e.$t("dialog.spotify.track.release-date"))},null,8,TV),u("span",{class:"title is-6",textContent:g(e.$filters.date(n.album.release_date))},null,8,OV)]),u("p",null,[u("span",{class:"heading",textContent:g(e.$t("dialog.spotify.track.position"))},null,8,DV),u("span",{class:"title is-6",textContent:g([n.track.disc_number,n.track.track_number].join(" / "))},null,8,PV)]),u("p",null,[u("span",{class:"heading",textContent:g(e.$t("dialog.spotify.track.duration"))},null,8,IV),u("span",{class:"title is-6",textContent:g(e.$filters.durationInHours(n.track.duration_ms))},null,8,FV)]),u("p",null,[u("span",{class:"heading",textContent:g(e.$t("dialog.spotify.track.path"))},null,8,RV),u("span",{class:"title is-6",textContent:g(n.track.uri)},null,8,LV)])])]),u("footer",MV,[u("a",{class:"card-footer-item has-text-dark",onClick:t[3]||(t[3]=(...a)=>o.queue_add&&o.queue_add(...a))},[v(i,{class:"icon",name:"playlist-plus",size:"16"}),u("span",{class:"is-size-7",textContent:g(e.$t("dialog.spotify.track.add"))},null,8,NV)]),u("a",{class:"card-footer-item has-text-dark",onClick:t[4]||(t[4]=(...a)=>o.queue_add_next&&o.queue_add_next(...a))},[v(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,VV)]),u("a",{class:"card-footer-item has-text-dark",onClick:t[5]||(t[5]=(...a)=>o.play&&o.play(...a))},[v(i,{class:"icon",name:"play",size:"16"}),u("span",{class:"is-size-7",textContent:g(e.$t("dialog.spotify.track.play"))},null,8,BV)])])])]),u("button",{class:"modal-close is-large","aria-label":"close",onClick:t[6]||(t[6]=a=>e.$emit("close"))})])):H("",!0)]),_:1})])}const _m=se(yV,[["render",HV]]),Ia={load(e){const t=new Wn;return t.setAccessToken(Ke.state.spotify.webapi_token),t.getAlbum(e.params.album_id,{market:Ke.state.spotify.webapi_country})},set(e,t){e.album=t}},jV={name:"PageAlbum",components:{ContentWithHero:um,SpotifyListItemTrack:hm,SpotifyModalDialogTrack:_m,SpotifyModalDialogAlbum:Fi,CoverArtwork:Gn},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:{artists:[{}],tracks:{}},show_track_details_modal:!1,selected_track:{},show_album_details_modal:!1}},computed:{artwork_url(){return this.album.images&&this.album.images.length>0?this.album.images[0].url:""}},methods:{open_artist(){this.$router.push({path:"/music/spotify/artists/"+this.album.artists[0].id})},play(){this.show_details_modal=!1,N.player_play_uri(this.album.uri,!0)},open_track_dialog(e){this.selected_track=e,this.show_track_details_modal=!0}}},UV={class:"fd-page"},qV=["textContent"],WV={class:"subtitle is-6 has-text-link has-text-weight-normal"},GV=["textContent"],KV={class:"buttons fd-is-centered-mobile mt-5"},ZV=["textContent"],YV=["textContent"],JV=["onClick"];function XV(e,t,n,r,s,o){const i=S("mdicon"),a=S("cover-artwork"),l=S("spotify-list-item-track"),c=S("spotify-modal-dialog-track"),d=S("spotify-modal-dialog-album"),f=S("content-with-hero");return w(),$("div",UV,[v(f,null,{"heading-left":E(()=>[u("h1",{class:"title is-5",textContent:g(s.album.name)},null,8,qV),u("h2",WV,[u("a",{class:"has-text-link",onClick:t[0]||(t[0]=(...m)=>o.open_artist&&o.open_artist(...m)),textContent:g(s.album.artists[0].name)},null,8,GV)]),u("div",KV,[u("a",{class:"button is-small is-dark is-rounded",onClick:t[1]||(t[1]=(...m)=>o.play&&o.play(...m))},[v(i,{class:"icon",name:"shuffle",size:"16"}),u("span",{textContent:g(e.$t("page.spotify.album.shuffle"))},null,8,ZV)]),u("a",{class:"button is-small is-light is-rounded",onClick:t[2]||(t[2]=m=>s.show_album_details_modal=!0)},[v(i,{class:"icon",name:"dots-horizontal",size:"16"})])])]),"heading-right":E(()=>[v(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]=m=>s.show_album_details_modal=!0)},null,8,["artwork_url","artist","album"])]),content:E(()=>[u("p",{class:"heading is-7 has-text-centered-mobile mt-5",textContent:g(e.$t("page.spotify.album.track-count",{count:s.album.tracks.total}))},null,8,YV),(w(!0),$(Oe,null,pt(s.album.tracks.items,(m,p)=>(w(),be(l,{key:m.id,track:m,position:p,context_uri:s.album.uri},{actions:E(()=>[u("a",{onClick:ot(h=>o.open_track_dialog(m),["prevent","stop"])},[v(i,{class:"icon has-text-dark",name:"dots-vertical",size:"16"})],8,JV)]),_:2},1032,["track","position","context_uri"]))),128)),v(c,{show:s.show_track_details_modal,track:s.selected_track,album:s.album,onClose:t[4]||(t[4]=m=>s.show_track_details_modal=!1)},null,8,["show","track","album"]),v(d,{show:s.show_album_details_modal,album:s.album,onClose:t[5]||(t[5]=m=>s.show_album_details_modal=!1)},null,8,["show","album"])]),_:1})])}const QV=se(jV,[["render",XV]]),Wc=50,Fa={load:function(e){const t=new Wn;return t.setAccessToken(Ke.state.spotify.webapi_token),Promise.all([t.getPlaylist(e.params.playlist_id),t.getPlaylistTracks(e.params.playlist_id,{limit:Wc,offset:0,market:Ke.state.spotify.webapi_country})])},set(e,t){e.playlist=t[0],e.tracks=[],e.total=0,e.offset=0,e.append_tracks(t[1])}},eB={name:"SpotifyPagePlaylist",components:{ContentWithHeading:nt,SpotifyListItemTrack:hm,SpotifyModalDialogTrack:_m,SpotifyModalDialogPlaylist:su,VueEternalLoading:pm},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{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 Wn;t.setAccessToken(this.$store.state.spotify.webapi_token),t.getPlaylistTracks(this.playlist.id,{limit:Wc,offset:this.offset,market:Ke.state.spotify.webapi_country}).then(n=>{this.append_tracks(n),e(n.items.length,Wc)})},append_tracks(e){let t=Math.max(-1,...this.tracks.map(n=>n.position).filter(n=>n));e.items.forEach(n=>{const r=n.track;r&&(r.is_playable&&(r.position=++t),this.tracks.push(r))}),this.total=e.total,this.offset+=e.limit},play(){this.show_details_modal=!1,N.player_play_uri(this.playlist.uri,!0)},open_track_dialog(e){this.selected_track=e,this.show_track_details_modal=!0}}},tB={class:"fd-page"},nB=["textContent"],rB={class:"buttons is-centered"},sB=["textContent"],oB=["textContent"],iB=["onClick"];function aB(e,t,n,r,s,o){const i=S("mdicon"),a=S("spotify-list-item-track"),l=S("VueEternalLoading"),c=S("spotify-modal-dialog-track"),d=S("spotify-modal-dialog-playlist"),f=S("content-with-heading");return w(),$("div",tB,[v(f,null,{"heading-left":E(()=>[u("div",{class:"title is-4",textContent:g(s.playlist.name)},null,8,nB)]),"heading-right":E(()=>[u("div",rB,[u("a",{class:"button is-small is-light is-rounded",onClick:t[0]||(t[0]=m=>s.show_playlist_details_modal=!0)},[v(i,{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))},[v(i,{class:"icon",name:"shuffle",size:"16"}),u("span",{textContent:g(e.$t("page.spotify.playlist.shuffle"))},null,8,sB)])])]),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,oB),(w(!0),$(Oe,null,pt(s.tracks,m=>(w(),be(a,{key:m.id,track:m,position:m.position,context_uri:s.playlist.uri},{actions:E(()=>[u("a",{onClick:ot(p=>o.open_track_dialog(m),["prevent","stop"])},[v(i,{class:"icon has-text-dark",name:"dots-vertical",size:"16"})],8,iB)]),_:2},1032,["track","position","context_uri"]))),128)),s.offset<s.total?(w(),be(l,{key:0,load:o.load_next},{"no-more":E(()=>[dt(" . ")]),_:1},8,["load"])):H("",!0),v(c,{show:s.show_track_details_modal,track:s.selected_track,album:s.selected_track.album,onClose:t[2]||(t[2]=m=>s.show_track_details_modal=!1)},null,8,["show","track","album"]),v(d,{show:s.show_playlist_details_modal,playlist:s.playlist,onClose:t[3]||(t[3]=m=>s.show_playlist_details_modal=!1)},null,8,["show","playlist"])]),_:1})])}const lB=se(eB,[["render",aB]]),uB={name:"SpotifyListItemArtist",props:["artist"],methods:{open_artist(){this.$router.push({path:"/music/spotify/artists/"+this.artist.id})}}},cB={class:"media is-align-items-center"},dB=["textContent"],mB={class:"media-right"};function fB(e,t,n,r,s,o){return w(),$("div",cB,[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,dB)]),u("div",mB,[lt(e.$slots,"actions")])])}const pB=se(uB,[["render",fB]]),So=50,hB={name:"SpotifyPageSearch",components:{ContentWithHeading:nt,ContentText:xv,TabsSearch:Ev,SpotifyListItemTrack:hm,SpotifyListItemArtist:pB,SpotifyListItemAlbum:ru,SpotifyListItemPlaylist:fm,SpotifyModalDialogTrack:_m,SpotifyModalDialogArtist:Sv,SpotifyModalDialogAlbum:Fi,SpotifyModalDialogPlaylist:su,VueEternalLoading:pm,CoverArtwork:Gn},data(){return{search_query:"",tracks:{items:[],total:0},artists:{items:[],total:0},albums:{items:[],total:0},playlists:{items:[],total:0},query:{},search_param:{},show_track_details_modal:!1,selected_track:{},show_album_details_modal:!1,selected_album:{},show_artist_details_modal:!1,selected_artist:{},show_playlist_details_modal:!1,selected_playlist:{},validSearchTypes:["track","artist","album","playlist"]}},computed:{recent_searches(){return this.$store.state.recent_searches.filter(e=>!e.startsWith("query:"))},show_tracks(){return this.$route.query.type&&this.$route.query.type.includes("track")},show_all_tracks_button(){return this.tracks.total>this.tracks.items.length},show_artists(){return this.$route.query.type&&this.$route.query.type.includes("artist")},show_all_artists_button(){return this.artists.total>this.artists.items.length},show_albums(){return this.$route.query.type&&this.$route.query.type.includes("album")},show_all_albums_button(){return this.albums.total>this.albums.items.length},show_playlists(){return this.$route.query.type&&this.$route.query.type.includes("playlist")},show_all_playlists_button(){return this.playlists.total>this.playlists.items.length},is_visible_artwork(){return this.$store.getters.settings_option("webinterface","show_cover_artwork_in_album_lists").value}},watch:{$route(e,t){this.query=e.query,this.search()}},mounted(){this.query=this.$route.query,this.search()},methods:{reset(){this.tracks={items:[],total:0},this.artists={items:[],total:0},this.albums={items:[],total:0},this.playlists={items:[],total:0}},search(){if(this.reset(),!this.query.query||this.query.query===""||this.query.query.startsWith("query:")){this.search_query="",this.$refs.search_field.focus();return}this.search_query=this.query.query,this.search_param.limit=this.query.limit?this.query.limit:So,this.search_param.offset=this.query.offset?this.query.offset:0,this.$store.commit(Hd,this.query.query),this.search_all()},spotify_search(){return N.spotify().then(({data:e})=>{this.search_param.market=e.webapi_country;const t=new Wn;t.setAccessToken(e.webapi_token);const n=this.query.type.split(",").filter(r=>this.validSearchTypes.includes(r));return t.search(this.query.query,n,this.search_param)})},search_all(){this.spotify_search().then(e=>{this.tracks=e.tracks?e.tracks:{items:[],total:0},this.artists=e.artists?e.artists:{items:[],total:0},this.albums=e.albums?e.albums:{items:[],total:0},this.playlists=e.playlists?e.playlists:{items:[],total:0}})},search_tracks_next({loaded:e}){this.spotify_search().then(t=>{this.tracks.items=this.tracks.items.concat(t.tracks.items),this.tracks.total=t.tracks.total,this.search_param.offset+=t.tracks.limit,e(t.tracks.items.length,So)})},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,So)})},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,So)})},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,So)})},new_search(){this.search_query&&(this.$router.push({path:"/search/spotify",query:{type:"track,artist,album,playlist,audiobook,podcast",query:this.search_query,limit:3,offset:0}}),this.$refs.search_field.blur())},open_search_tracks(){this.$router.push({path:"/search/spotify",query:{type:"track",query:this.$route.query.query}})},open_search_artists(){this.$router.push({path:"/search/spotify",query:{type:"artist",query:this.$route.query.query}})},open_search_albums(){this.$router.push({path:"/search/spotify",query:{type:"album",query:this.$route.query.query}})},open_search_playlists(){this.$router.push({path:"/search/spotify",query:{type:"playlist",query:this.$route.query.query}})},open_recent_search(e){this.search_query=e,this.new_search()},open_track_dialog(e){this.selected_track=e,this.show_track_details_modal=!0},open_album_dialog(e){this.selected_album=e,this.show_album_details_modal=!0},open_artist_dialog(e){this.selected_artist=e,this.show_artist_details_modal=!0},open_playlist_dialog(e){this.selected_playlist=e,this.show_playlist_details_modal=!0},open_album(e){this.$router.push({path:"/music/spotify/albums/"+e.id})},artwork_url(e){return e.images&&e.images.length>0?e.images[0].url:""}}},_B={class:"fd-page"},gB={class:"section pb-0"},yB={class:"container"},vB={class:"columns is-centered"},bB={class:"column is-four-fifths"},CB={class:"field"},zB={class:"control is-expanded has-icons-left"},wB=["placeholder"],kB={class:"tags mt-4"},xB=["onClick","textContent"],EB=["textContent"],SB=["onClick"],$B={key:0,class:"level"},AB={class:"level-item"},TB=["textContent"],OB=["textContent"],DB=["textContent"],PB=["onClick"],IB={key:0,class:"level"},FB={class:"level-item"},RB=["textContent"],LB=["textContent"],MB=["textContent"],NB=["onClick"],VB={key:0,class:"level"},BB={class:"level-item"},HB=["textContent"],jB=["textContent"],UB=["textContent"],qB=["onClick"],WB={key:0,class:"level"},GB={class:"level-item"},KB=["textContent"],ZB=["textContent"];function YB(e,t,n,r,s,o){const i=S("mdicon"),a=S("tabs-search"),l=S("spotify-list-item-track"),c=S("VueEternalLoading"),d=S("spotify-modal-dialog-track"),f=S("content-with-heading"),m=S("content-text"),p=S("spotify-list-item-artist"),h=S("spotify-modal-dialog-artist"),_=S("cover-artwork"),C=S("spotify-list-item-album"),b=S("spotify-modal-dialog-album"),y=S("spotify-list-item-playlist"),k=S("spotify-modal-dialog-playlist");return w(),$("div",_B,[u("section",gB,[u("div",yB,[u("div",vB,[u("div",bB,[u("form",{onSubmit:t[1]||(t[1]=ot((...z)=>o.new_search&&o.new_search(...z),["prevent"]))},[u("div",CB,[u("p",zB,[ut(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,wB),[[Dt,s.search_query]]),v(i,{class:"icon is-left",name:"magnify",size:"16"})])])],32),u("div",kB,[(w(!0),$(Oe,null,pt(o.recent_searches,z=>(w(),$("a",{key:z,class:"tag",onClick:x=>o.open_recent_search(z),textContent:g(z)},null,8,xB))),128))])])])])]),v(a,{query:s.search_query},null,8,["query"]),o.show_tracks&&s.tracks.total?(w(),be(f,{key:0,class:"pt-0"},{"heading-left":E(()=>[u("p",{class:"title is-4",textContent:g(e.$t("page.spotify.search.tracks"))},null,8,EB)]),content:E(()=>[(w(!0),$(Oe,null,pt(s.tracks.items,z=>(w(),be(l,{key:z.id,track:z,position:0,context_uri:z.uri},{actions:E(()=>[u("a",{onClick:ot(x=>o.open_track_dialog(z),["prevent","stop"])},[v(i,{class:"icon has-text-dark",name:"dots-vertical",size:"16"})],8,SB)]),_:2},1032,["track","context_uri"]))),128)),s.query.type==="track"?(w(),be(c,{key:0,load:o.search_tracks_next},{"no-more":E(()=>[dt(" . ")]),_:1},8,["load"])):H("",!0),v(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?(w(),$("nav",$B,[u("p",AB,[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,TB)])])):H("",!0)]),_:1})):H("",!0),o.show_tracks&&!s.tracks.total?(w(),be(m,{key:1,class:"pt-0"},{content:E(()=>[u("p",null,[u("i",{textContent:g(e.$t("page.spotify.search.no-tracks"))},null,8,OB)])]),_:1})):H("",!0),o.show_artists&&s.artists.total?(w(),be(f,{key:2},{"heading-left":E(()=>[u("p",{class:"title is-4",textContent:g(e.$t("page.spotify.search.artists"))},null,8,DB)]),content:E(()=>[(w(!0),$(Oe,null,pt(s.artists.items,z=>(w(),be(p,{key:z.id,artist:z},{actions:E(()=>[u("a",{onClick:ot(x=>o.open_artist_dialog(z),["prevent","stop"])},[v(i,{class:"icon has-text-dark",name:"dots-vertical",size:"16"})],8,PB)]),_:2},1032,["artist"]))),128)),s.query.type==="artist"?(w(),be(c,{key:0,load:o.search_artists_next},{"no-more":E(()=>[dt(" . ")]),_:1},8,["load"])):H("",!0),v(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?(w(),$("nav",IB,[u("p",FB,[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,RB)])])):H("",!0)]),_:1})):H("",!0),o.show_artists&&!s.artists.total?(w(),be(m,{key:3},{content:E(()=>[u("p",null,[u("i",{textContent:g(e.$t("page.spotify.search.no-artists"))},null,8,LB)])]),_:1})):H("",!0),o.show_albums&&s.albums.total?(w(),be(f,{key:4},{"heading-left":E(()=>[u("p",{class:"title is-4",textContent:g(e.$t("page.spotify.search.albums"))},null,8,MB)]),content:E(()=>[(w(!0),$(Oe,null,pt(s.albums.items,z=>(w(),be(C,{key:z.id,album:z,onClick:x=>o.open_album(z)},$i({actions:E(()=>[u("a",{onClick:ot(x=>o.open_album_dialog(z),["prevent","stop"])},[v(i,{class:"icon has-text-dark",name:"dots-vertical",size:"16"})],8,NB)]),_:2},[o.is_visible_artwork?{name:"artwork",fn:E(()=>[v(_,{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"?(w(),be(c,{key:0,load:o.search_albums_next},{"no-more":E(()=>[dt(" . ")]),_:1},8,["load"])):H("",!0),v(b,{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?(w(),$("nav",VB,[u("p",BB,[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,HB)])])):H("",!0)]),_:1})):H("",!0),o.show_albums&&!s.albums.total?(w(),be(m,{key:5},{content:E(()=>[u("p",null,[u("i",{textContent:g(e.$t("page.spotify.search.no-albums"))},null,8,jB)])]),_:1})):H("",!0),o.show_playlists&&s.playlists.total?(w(),be(f,{key:6},{"heading-left":E(()=>[u("p",{class:"title is-4",textContent:g(e.$t("page.spotify.search.playlists"))},null,8,UB)]),content:E(()=>[(w(!0),$(Oe,null,pt(s.playlists.items,z=>(w(),be(y,{key:z.id,playlist:z},{actions:E(()=>[u("a",{onClick:ot(x=>o.open_playlist_dialog(z),["prevent","stop"])},[v(i,{class:"icon has-text-dark",name:"dots-vertical",size:"16"})],8,qB)]),_:2},1032,["playlist"]))),128)),s.query.type==="playlist"?(w(),be(c,{key:0,load:o.search_playlists_next},{"no-more":E(()=>[dt(" . ")]),_:1},8,["load"])):H("",!0),v(k,{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?(w(),$("nav",WB,[u("p",GB,[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,KB)])])):H("",!0)]),_:1})):H("",!0),o.show_playlists&&!s.playlists.total?(w(),be(m,{key:7},{content:E(()=>[u("p",null,[u("i",{textContent:g(e.$t("page.spotify.search.no-playlists"))},null,8,ZB)])]),_:1})):H("",!0)])}const JB=se(hB,[["render",YB]]),XB={name:"TabsSettings"},QB={class:"section fd-tabs-section"},eH={class:"container"},tH={class:"columns is-centered"},nH={class:"column is-four-fifths"},rH={class:"tabs is-centered is-small"},sH=["onClick","onKeypress"],oH=["textContent"],iH=["onClick","onKeypress"],aH=["textContent"],lH=["onClick","onKeypress"],uH=["textContent"],cH=["onClick","onKeypress"],dH=["textContent"];function mH(e,t,n,r,s,o){const i=S("router-link");return w(),$("section",QB,[u("div",eH,[u("div",tH,[u("div",nH,[u("div",rH,[u("ul",null,[v(i,{to:"/settings/webinterface",custom:""},{default:E(({navigate:a,isActive:l})=>[u("li",{class:Te({"is-active":l})},[u("a",{onClick:a,onKeypress:fn(a,["enter"])},[u("span",{textContent:g(e.$t("page.settings.tabs.general"))},null,8,oH)],40,sH)],2)]),_:1}),v(i,{to:"/settings/remotes-outputs",custom:""},{default:E(({navigate:a,isActive:l})=>[u("li",{class:Te({"is-active":l})},[u("a",{onClick:a,onKeypress:fn(a,["enter"])},[u("span",{textContent:g(e.$t("page.settings.tabs.remotes-and-outputs"))},null,8,aH)],40,iH)],2)]),_:1}),v(i,{to:"/settings/artwork",custom:""},{default:E(({navigate:a,isActive:l})=>[u("li",{class:Te({"is-active":l})},[u("a",{onClick:a,onKeypress:fn(a,["enter"])},[u("span",{textContent:g(e.$t("page.settings.tabs.artwork"))},null,8,uH)],40,lH)],2)]),_:1}),v(i,{to:"/settings/online-services",custom:""},{default:E(({navigate:a,isActive:l})=>[u("li",{class:Te({"is-active":l})},[u("a",{onClick:a,onKeypress:fn(a,["enter"])},[u("span",{textContent:g(e.$t("page.settings.tabs.online-services"))},null,8,dH)],40,cH)],2)]),_:1})])])])])])])}const ou=se(XB,[["render",mH]]),fH={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};N.settings_update(this.category_name,e).then(()=>{this.$store.commit(Ul,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=""}}},pH={class:"field"},hH=["id"],_H=["for"],gH=["textContent"],yH={key:0,class:"help"};function vH(e,t,n,r,s,o){return w(),$("div",pH,[ut(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,hH),[[ar,o.option.value]]),u("label",{for:o.option.name},[lt(e.$slots,"label")],8,_H),u("i",{class:Te(["is-size-7",{"has-text-info":o.is_success,"has-text-danger":o.is_error}]),textContent:g(o.info)},null,10,gH),e.$slots.info?(w(),$("p",yH,[lt(e.$slots,"info")])):H("",!0)])}const $v=se(fH,[["render",vH]]),bH={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};N.settings_update(this.category.name,t).then(()=>{this.$store.commit(Ul,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=""}}},CH=["disabled"],zH={class:"field"},wH={class:"label has-text-weight-normal"},kH=["textContent"],xH={class:"control"},EH=["placeholder","value"],SH={key:0,class:"help"};function $H(e,t,n,r,s,o){return w(),$("fieldset",{disabled:n.disabled},[u("div",zH,[u("label",wH,[lt(e.$slots,"label"),u("i",{class:Te(["is-size-7",{"has-text-info":o.is_success,"has-text-danger":o.is_error}]),textContent:g(o.info)},null,10,kH)]),u("div",xH,[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,EH)]),e.$slots.info?(w(),$("p",SH,[lt(e.$slots,"info")])):H("",!0)])],8,CH)}const AH=se(bH,[["render",$H]]),TH={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)};N.settings_update(this.category.name,t).then(()=>{this.$store.commit(Ul,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=""}}},OH=["disabled"],DH={class:"field"},PH={class:"label has-text-weight-normal"},IH=["textContent"],FH={class:"control"},RH=["placeholder","value"],LH={key:0,class:"help"};function MH(e,t,n,r,s,o){return w(),$("fieldset",{disabled:n.disabled},[u("div",DH,[u("label",PH,[lt(e.$slots,"label"),u("i",{class:Te(["is-size-7",{"has-text-info":o.is_success,"has-text-danger":o.is_error}]),textContent:g(o.info)},null,10,IH)]),u("div",FH,[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,RH)]),e.$slots.info?(w(),$("p",LH,[lt(e.$slots,"info")])):H("",!0)])],8,OH)}const NH=se(TH,[["render",MH]]),VH={name:"SettingsPageWebinterface",components:{ContentWithHeading:nt,TabsSettings:ou,SettingsCheckbox:$v,SettingsTextfield:AH,SettingsIntfield:NH,DropdownMenu:zs},computed:{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},locale:{get(){let e=this.$i18n.availableLocales,t=e.find(r=>r===this.$i18n.locale),n=this.$i18n.locale.split("-")[0];return t||(t=e.find(r=>r===n)),t||(t=e.forEach(r=>r.split("-")[0]===n)),t},set(e){this.$i18n.locale=e}},locales:{get(){return this.$i18n.availableLocales.map(e=>({id:e,name:this.$t("language."+e)}))}}}},BH={class:"fd-page-with-tabs"},HH=["textContent"],jH=["textContent"],UH=["textContent"],qH=["textContent"],WH=["textContent"],GH=["textContent"],KH=["textContent"],ZH=["textContent"],YH=["textContent"],JH=["textContent"],XH=["textContent"],QH=["textContent"],ej=["textContent"],tj=["textContent"],nj=["textContent"],rj=["textContent"],sj=["textContent"],oj=["textContent"],ij=["textContent"],aj=["textContent"],lj=["textContent"],uj=["textContent"],cj=["textContent"];function dj(e,t,n,r,s,o){const i=S("tabs-settings"),a=S("dropdown-menu"),l=S("content-with-heading"),c=S("settings-checkbox"),d=S("settings-textfield"),f=S("settings-intfield");return w(),$("div",BH,[v(i),v(l,null,{"heading-left":E(()=>[u("div",{class:"title is-4",textContent:g(e.$t("page.settings.general.language"))},null,8,HH)]),content:E(()=>[v(a,{modelValue:o.locale,"onUpdate:modelValue":t[0]||(t[0]=m=>o.locale=m),options:o.locales},null,8,["modelValue","options"])]),_:1}),v(l,null,{"heading-left":E(()=>[u("div",{class:"title is-4",textContent:g(e.$t("page.settings.general.navigation-items"))},null,8,jH)]),content:E(()=>[u("p",{class:"content",textContent:g(e.$t("page.settings.general.navigation-item-selection"))},null,8,UH),u("div",{class:"notification is-size-7",textContent:g(e.$t("page.settings.general.navigation-item-selection-info"))},null,8,qH),v(c,{category_name:"webinterface",option_name:"show_menu_item_playlists"},{label:E(()=>[u("span",{textContent:g(e.$t("page.settings.general.playlists"))},null,8,WH)]),_:1}),v(c,{category_name:"webinterface",option_name:"show_menu_item_music"},{label:E(()=>[u("span",{textContent:g(e.$t("page.settings.general.music"))},null,8,GH)]),_:1}),v(c,{category_name:"webinterface",option_name:"show_menu_item_podcasts"},{label:E(()=>[u("span",{textContent:g(e.$t("page.settings.general.podcasts"))},null,8,KH)]),_:1}),v(c,{category_name:"webinterface",option_name:"show_menu_item_audiobooks"},{label:E(()=>[u("span",{textContent:g(e.$t("page.settings.general.audiobooks"))},null,8,ZH)]),_:1}),v(c,{category_name:"webinterface",option_name:"show_menu_item_radio"},{label:E(()=>[u("span",{textContent:g(e.$t("page.settings.general.radio"))},null,8,YH)]),_:1}),v(c,{category_name:"webinterface",option_name:"show_menu_item_files"},{label:E(()=>[u("span",{textContent:g(e.$t("page.settings.general.files"))},null,8,JH)]),_:1}),v(c,{category_name:"webinterface",option_name:"show_menu_item_search"},{label:E(()=>[u("span",{textContent:g(e.$t("page.settings.general.search"))},null,8,XH)]),_:1})]),_:1}),v(l,null,{"heading-left":E(()=>[u("div",{class:"title is-4",textContent:g(e.$t("page.settings.general.album-lists"))},null,8,QH)]),content:E(()=>[v(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,ej)]),_:1})]),_:1}),v(l,null,{"heading-left":E(()=>[u("div",{class:"title is-4",textContent:g(e.$t("page.settings.general.now-playing-page"))},null,8,tj)]),content:E(()=>[v(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,nj)]),info:E(()=>[u("span",{textContent:g(e.$t("page.settings.general.show-composer-info"))},null,8,rj)]),_:1}),v(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,sj)]),info:E(()=>[u("p",{class:"help",textContent:g(e.$t("page.settings.general.show-composer-genres-info-1"))},null,8,oj),u("p",{class:"help",textContent:g(e.$t("page.settings.general.show-composer-genres-info-2"))},null,8,ij),u("p",{class:"help",textContent:g(e.$t("page.settings.general.show-composer-genres-info-3"))},null,8,aj)]),_:1},8,["disabled","placeholder"]),v(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,lj)]),_:1})]),_:1}),v(l,null,{"heading-left":E(()=>[u("div",{class:"title is-4",textContent:g(e.$t("page.settings.general.recently-added-page"))},null,8,uj)]),content:E(()=>[v(f,{category_name:"webinterface",option_name:"recently_added_limit"},{label:E(()=>[u("span",{textContent:g(e.$t("page.settings.general.recently-added-page-info"))},null,8,cj)]),_:1})]),_:1})])}const mj=se(VH,[["render",dj]]),fj={name:"SettingsPageArtwork",components:{ContentWithHeading:nt,TabsSettings:ou,SettingsCheckbox:$v},computed:{spotify(){return this.$store.state.spotify}}},pj={class:"fd-page-with-tabs"},hj=["textContent"],_j=["textContent"],gj=["textContent"],yj=["textContent"],vj={href:"https://www.spotify.com/",target:"_blank"},bj={class:"icon"},Cj=["textContent"],zj={href:"https://www.discogs.com/",target:"_blank"},wj={class:"icon"},kj=["textContent"],xj={href:"https://coverartarchive.org/",target:"_blank"},Ej={class:"icon"};function Sj(e,t,n,r,s,o){const i=S("tabs-settings"),a=S("mdicon"),l=S("settings-checkbox"),c=S("content-with-heading");return w(),$("div",pj,[v(i),v(c,null,{"heading-left":E(()=>[u("div",{class:"title is-4",textContent:g(e.$t("page.settings.artwork.artwork"))},null,8,hj)]),content:E(()=>[u("div",{class:"content",textContent:g(e.$t("page.settings.artwork.explanation-1"))},null,8,_j),u("div",{class:"content",textContent:g(e.$t("page.settings.artwork.explanation-2"))},null,8,gj),o.spotify.spotify_logged_in?(w(),be(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,yj),u("a",vj,[u("span",bj,[v(a,{name:"open-in-new",size:"16"})])])]),_:1})):H("",!0),v(l,{category_name:"artwork",option_name:"use_artwork_source_discogs"},{label:E(()=>[u("span",{textContent:g(e.$t("page.settings.artwork.discogs"))},null,8,Cj),u("a",zj,[u("span",wj,[v(a,{name:"open-in-new",size:"16"})])])]),_:1}),v(l,{category_name:"artwork",option_name:"use_artwork_source_coverartarchive"},{label:E(()=>[u("span",{textContent:g(e.$t("page.settings.artwork.coverartarchive"))},null,8,kj),u("a",xj,[u("span",Ej,[v(a,{name:"open-in-new",size:"16"})])])]),_:1})]),_:1})])}const $j=se(fj,[["render",Sj]]),Aj={name:"SettingsPageOnlineServices",components:{ContentWithHeading:nt,TabsSettings:ou},filters:{join(e){return e.join(", ")}},data(){return{lastfm_login:{user:"",password:"",errors:{user:"",password:"",error:""}}}},computed:{lastfm(){return this.$store.state.lastfm},spotify(){return this.$store.state.spotify},spotify_required_scope(){return this.spotify.webapi_required_scope?this.spotify.webapi_required_scope.split(" "):[]},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):[]}},methods:{logout_spotify(){N.spotify_logout()},login_lastfm(){N.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(){N.lastfm_logout()}}},Tj={class:"fd-page-with-tabs"},Oj=["textContent"],Dj={key:0,class:"notification is-size-7"},Pj=["textContent"],Ij={key:1},Fj={class:"notification is-size-7"},Rj=["textContent"],Lj={class:"mt-5"},Mj=["textContent"],Nj={key:0},Vj=["textContent"],Bj=["textContent"],Hj={key:1,class:"help is-danger"},jj=["textContent"],Uj=["textContent"],qj={class:"field mt-5"},Wj={class:"control"},Gj=["href","textContent"],Kj={class:"help"},Zj=["textContent"],Yj=["textContent"],Jj={key:2,class:"field mt-5"},Xj={class:"control"},Qj=["textContent"],eU=["textContent"],tU={key:0,class:"notification is-size-7"},nU=["textContent"],rU={key:1},sU=["textContent"],oU={key:0},iU=["textContent"],aU={key:1},lU={class:"field is-grouped"},uU={class:"control is-expanded"},cU=["placeholder"],dU=["textContent"],mU={class:"control is-expanded"},fU=["placeholder"],pU=["textContent"],hU={class:"control"},_U=["textContent"],gU=["textContent"],yU=["textContent"];function vU(e,t,n,r,s,o){const i=S("tabs-settings"),a=S("content-with-heading");return w(),$("div",Tj,[v(i),v(a,null,{"heading-left":E(()=>[u("div",{class:"title is-4",textContent:g(e.$t("page.settings.services.spotify.title"))},null,8,Oj)]),content:E(()=>[o.spotify.spotify_installed?H("",!0):(w(),$("div",Dj,[u("p",{textContent:g(e.$t("page.settings.services.spotify.no-support"))},null,8,Pj)])),o.spotify.spotify_installed?(w(),$("div",Ij,[u("div",Fj,[u("span",{textContent:g(e.$t("page.settings.services.spotify.requirements"))},null,8,Rj)]),u("div",Lj,[u("p",{class:"content",textContent:g(e.$t("page.settings.services.spotify.grant-access"))},null,8,Mj),o.spotify.webapi_token_valid?(w(),$("p",Nj,[u("span",{textContent:g(e.$t("page.settings.services.spotify.user"))},null,8,Vj),u("code",{textContent:g(o.spotify.webapi_user)},null,8,Bj)])):H("",!0),o.spotify_missing_scope.length>0?(w(),$("p",Hj,[u("span",{textContent:g(e.$t("page.settings.services.spotify.reauthorize"))},null,8,jj),u("code",{textContent:g(o.spotify_missing_scope.join())},null,8,Uj)])):H("",!0),u("div",qj,[u("div",Wj,[u("a",{class:Te(["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,Gj)])]),u("p",Kj,[u("span",{textContent:g(e.$t("page.settings.services.spotify.scopes"))},null,8,Zj),u("code",{textContent:g(o.spotify_required_scope.join(", "))},null,8,Yj)]),o.spotify.webapi_token_valid?(w(),$("div",Jj,[u("div",Xj,[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,Qj)])])):H("",!0)])])):H("",!0)]),_:1}),v(a,null,{"heading-left":E(()=>[u("div",{class:"title is-4",textContent:g(e.$t("page.settings.services.lastfm.title"))},null,8,eU)]),content:E(()=>[o.lastfm.enabled?H("",!0):(w(),$("div",tU,[u("p",{textContent:g(e.$t("page.settings.services.lastfm.no-support"))},null,8,nU)])),o.lastfm.enabled?(w(),$("div",rU,[u("p",{class:"content",textContent:g(e.$t("page.settings.services.lastfm.grant-access"))},null,8,sU),o.lastfm.scrobbling_enabled?(w(),$("div",oU,[u("a",{class:"button",onClick:t[1]||(t[1]=(...l)=>o.logoutLastfm&&o.logoutLastfm(...l)),textContent:g(e.$t("page.settings.services.lastfm.stop-scrobbling"))},null,8,iU)])):H("",!0),o.lastfm.scrobbling_enabled?H("",!0):(w(),$("div",aU,[u("form",{onSubmit:t[4]||(t[4]=ot((...l)=>o.login_lastfm&&o.login_lastfm(...l),["prevent"]))},[u("div",lU,[u("div",uU,[ut(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,cU),[[Dt,s.lastfm_login.user]]),u("p",{class:"help is-danger",textContent:g(s.lastfm_login.errors.user)},null,8,dU)]),u("div",mU,[ut(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,fU),[[Dt,s.lastfm_login.password]]),u("p",{class:"help is-danger",textContent:g(s.lastfm_login.errors.password)},null,8,pU)]),u("div",hU,[u("button",{class:"button is-info",type:"submit",textContent:g(e.$t("page.settings.services.login"))},null,8,_U)])]),u("p",{class:"help is-danger",textContent:g(s.lastfm_login.errors.error)},null,8,gU),u("p",{class:"help",textContent:g(e.$t("page.settings.services.lastfm.info"))},null,8,yU)],32)]))])):H("",!0)]),_:1})])}const bU=se(Aj,[["render",vU]]),CU={name:"SettingsPageRemotesOutputs",components:{ContentWithHeading:nt,TabsSettings:ou},filters:{},data(){return{pairing_req:{pin:""},verification_req:{pin:""}}},computed:{pairing(){return this.$store.state.pairing},outputs(){return this.$store.state.outputs}},methods:{kickoff_pairing(){N.pairing_kickoff(this.pairing_req)},output_toggle(e){N.output_toggle(e)},kickoff_verification(e){N.output_update(e,this.verification_req)}}},zU={class:"fd-page-with-tabs"},wU=["textContent"],kU={key:0,class:"notification"},xU={class:"label has-text-weight-normal"},EU=["textContent"],SU=["textContent"],$U={class:"field is-grouped"},AU={class:"control"},TU=["placeholder"],OU={class:"control"},DU=["textContent"],PU={key:1,class:"content"},IU=["textContent"],FU=["textContent"],RU=["textContent"],LU={class:"field"},MU={class:"control"},NU=["id","onUpdate:modelValue","onChange"],VU=["for","textContent"],BU=["onSubmit"],HU={class:"field is-grouped"},jU={class:"control"},UU=["placeholder"],qU={class:"control"},WU=["textContent"];function GU(e,t,n,r,s,o){const i=S("tabs-settings"),a=S("content-with-heading");return w(),$("div",zU,[v(i),v(a,null,{"heading-left":E(()=>[u("div",{class:"title is-4",textContent:g(e.$t("page.settings.devices.pairing"))},null,8,wU)]),content:E(()=>[o.pairing.active?(w(),$("div",kU,[u("form",{onSubmit:t[1]||(t[1]=ot((...l)=>o.kickoff_pairing&&o.kickoff_pairing(...l),["prevent"]))},[u("label",xU,[u("span",{textContent:g(e.$t("page.settings.devices.pairing-request"))},null,8,EU),u("b",{textContent:g(o.pairing.remote)},null,8,SU)]),u("div",$U,[u("div",AU,[ut(u("input",{"onUpdate:modelValue":t[0]||(t[0]=l=>s.pairing_req.pin=l),class:"input",type:"text",placeholder:e.$t("page.settings.devices.pairing-code")},null,8,TU),[[Dt,s.pairing_req.pin]])]),u("div",OU,[u("button",{class:"button is-info",type:"submit",textContent:g(e.$t("page.settings.devices.send"))},null,8,DU)])])],32)])):H("",!0),o.pairing.active?H("",!0):(w(),$("div",PU,[u("p",{textContent:g(e.$t("page.settings.devices.no-active-pairing"))},null,8,IU)]))]),_:1}),v(a,null,{"heading-left":E(()=>[u("div",{class:"title is-4",textContent:g(e.$t("page.settings.devices.speaker-pairing"))},null,8,FU)]),content:E(()=>[u("p",{class:"content",textContent:g(e.$t("page.settings.devices.speaker-pairing-info"))},null,8,RU),(w(!0),$(Oe,null,pt(o.outputs,l=>(w(),$("div",{key:l.id},[u("div",LU,[u("div",MU,[ut(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,NU),[[ar,l.selected]]),u("label",{for:l.id,class:"checkbox",textContent:g(l.name)},null,8,VU)])]),l.needs_auth_key?(w(),$("form",{key:0,class:"mb-5",onSubmit:ot(c=>o.kickoff_verification(l.id),["prevent"])},[u("div",HU,[u("div",jU,[ut(u("input",{"onUpdate:modelValue":t[2]||(t[2]=c=>s.verification_req.pin=c),class:"input",type:"text",placeholder:e.$t("page.settings.devices.verification-code")},null,8,UU),[[Dt,s.verification_req.pin]])]),u("div",qU,[u("button",{class:"button is-info",type:"submit",textContent:g(e.$t("page.settings.devices.verify"))},null,8,WU)])])],40,BU)):H("",!0)]))),128))]),_:1})])}const KU=se(CU,[["render",GU]]),Av=jk({history:ok(),routes:[{path:"/",name:"PageQueue",component:o$},{path:"/about",name:"About",component:s7},{path:"/now-playing",name:"Now playing",component:GT},{path:"/music",redirect:"/music/browse"},{path:"/music/browse",name:"Browse",component:e3,meta:{show_progress:!0,has_tabs:!0}},{path:"/music/browse/recently_added",name:"Browse Recently Added",component:i3,meta:{show_progress:!0,has_tabs:!0}},{path:"/music/browse/recently_played",name:"Browse Recently Played",component:m3,meta:{show_progress:!0,has_tabs:!0}},{path:"/music/artists",name:"Artists",component:v5,meta:{show_progress:!0,has_tabs:!0,has_index:!0}},{path:"/music/artists/:artist_id",name:"Artist",component:P5,meta:{show_progress:!0,has_index:!0}},{path:"/music/artists/:artist_id/tracks",name:"Tracks",component:jP,meta:{show_progress:!0,has_index:!0}},{path:"/music/albums",name:"Albums",component:X5,meta:{show_progress:!0,has_tabs:!0,has_index:!0}},{path:"/music/albums/:album_id",name:"Album",component:zD,meta:{show_progress:!0}},{path:"/music/genres",name:"Genres",component:sP,meta:{show_progress:!0,has_tabs:!0,has_index:!0}},{path:"/music/genres/:genre",name:"Genre",component:hP,meta:{show_progress:!0,has_index:!0}},{path:"/music/genres/:genre/tracks",name:"GenreTracks",component:AP,meta:{show_progress:!0,has_index:!0}},{path:"/music/composers",name:"Composers",component:wI,meta:{show_progress:!0,has_tabs:!0,has_index:!0}},{path:"/music/composers/:composer/albums",name:"ComposerAlbums",component:II,meta:{show_progress:!0,has_index:!0}},{path:"/music/composers/:composer/tracks",name:"ComposerTracks",component:KI,meta:{show_progress:!0,has_index:!0}},{path:"/podcasts",name:"Podcasts",component:kF,meta:{show_progress:!0}},{path:"/podcasts/:album_id",name:"Podcast",component:RF,meta:{show_progress:!0}},{path:"/audiobooks",redirect:"/audiobooks/artists"},{path:"/audiobooks/artists",name:"AudiobooksArtists",component:oR,meta:{show_progress:!0,has_tabs:!0,has_index:!0}},{path:"/audiobooks/artists/:artist_id",name:"AudiobooksArtist",component:fR,meta:{show_progress:!0}},{path:"/audiobooks/albums",name:"AudiobooksAlbums",component:QF,meta:{show_progress:!0,has_tabs:!0,has_index:!0}},{path:"/audiobooks/:album_id",name:"Audiobook",component:wR,meta:{show_progress:!0}},{path:"/radio",name:"Radio",component:ZL,meta:{show_progress:!0}},{path:"/files",name:"Files",component:jL,meta:{show_progress:!0}},{path:"/playlists",redirect:"/playlists/0"},{path:"/playlists/:playlist_id",name:"Playlists",component:rL,meta:{show_progress:!0}},{path:"/playlists/:playlist_id/tracks",name:"Playlist",component:dL,meta:{show_progress:!0}},{path:"/search",redirect:"/search/library"},{path:"/search/library",name:"Search Library",component:iN},{path:"/music/spotify",name:"Spotify",component:_9,meta:{show_progress:!0,has_tabs:!0}},{path:"/music/spotify/new-releases",name:"Spotify Browse New Releases",component:z9,meta:{show_progress:!0,has_tabs:!0}},{path:"/music/spotify/featured-playlists",name:"Spotify Browse Featured Playlists",component:$9,meta:{show_progress:!0,has_tabs:!0}},{path:"/music/spotify/artists/:artist_id",name:"Spotify Artist",component:lV,meta:{show_progress:!0}},{path:"/music/spotify/albums/:album_id",name:"Spotify Album",component:QV,meta:{show_progress:!0}},{path:"/music/spotify/playlists/:playlist_id",name:"Spotify Playlist",component:lB,meta:{show_progress:!0}},{path:"/search/spotify",name:"Spotify Search",component:JB},{path:"/settings/webinterface",name:"Settings Webinterface",component:mj},{path:"/settings/artwork",name:"Settings Artwork",component:$j},{path:"/settings/online-services",name:"Settings Online Services",component:bU},{path:"/settings/remotes-outputs",name:"Settings Remotes Outputs",component:KU}],scrollBehavior(e,t,n){return n?new Promise((s,o)=>{setTimeout(()=>{s(n)},0)}):e.path===t.path&&e.hash?{el:e.hash,top:120}:e.hash?new Promise((s,o)=>{setTimeout(()=>{s({el:e.hash,top:120})},0)}):e.meta.has_index?new Promise((s,o)=>{setTimeout(()=>{e.meta.has_tabs?s({el:"#top",top:140}):s({el:"#top",top:110})},0)}):{left:0,top:0}}});Av.beforeEach((e,t,n)=>{if(Ke.state.show_burger_menu){Ke.commit(Xs,!1),n(!1);return}if(Ke.state.show_player_menu){Ke.commit(Qs,!1),n(!1);return}n(!0)});var Tv={exports:{}};(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,f=c.exec(z.stack)||d.exec(z.stack),m=f&&f[1]||!1,p=f&&f[2]||!1,h=document.location.href.replace(document.location.hash,""),_,C,b,y=document.getElementsByTagName("script");m===h&&(_=document.documentElement.outerHTML,C=new RegExp("(?:[^\\n]+?\\n){0,"+(p-2)+"}[^<]*<script>([\\d\\D]*?)<\\/script>[\\d\\D]*","i"),b=_.replace(C,"$1").trim());for(var k=0;k<y.length;k++)if(y[k].readyState==="interactive"||y[k].src===m||m===h&&y[k].innerHTML&&y[k].innerHTML.trim()===b)return y[k];return null}}return a})},"8bbf":function(t,n){t.exports=ky},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,_,C,b,y,k){return Object(a.openBlock)(),Object(a.createBlock)("div",{style:b.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}},C=Object(a.computed)(function(){var b=_.options,y=!!b.show,k=b.location,z={"z-index":999999,"background-color":b.canSuccess?b.color:b.failedColor,opacity:b.show?1:0,position:b.position};return k==="top"||k==="bottom"?(k==="top"?z.top="0px":z.bottom="0px",b.inverse?z.right="0px":z.left="0px",z.width=_.percent+"%",z.height=b.thickness,z.transition=(y?"width "+b.transition.speed+", ":"")+"opacity "+b.transition.opacity):(k==="left"||k==="right")&&(k==="left"?z.left="0px":z.right="0px",b.inverse?z.top="0px":z.bottom="0px",z.height=_.percent+"%",z.width=b.thickness,z.transition=(y?"height "+b.transition.speed+", ":"")+"opacity "+b.transition.opacity),z});return{progress:_,finalStyle:C}}};d.render=l;var f=d;function m(h,_){for(var C=1,b,y;C<arguments.length;++C){y=arguments[C];for(b in y)Object.prototype.hasOwnProperty.call(y,b)&&(h[b]=y[b])}return h}var p={install:function(_,C){var b={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},y=m(b,C),k=Object(a.reactive)({percent:0,options:y});_.provide("RADON_LOADING_BAR",k);var z={state:{tFailColor:"",tColor:"",timer:null,cut:0},start:function(T){var L=this;T||(T=3e3),k.percent=0,k.options.show=!0,k.options.canSuccess=!0,this.state.cut=1e4/Math.floor(T),clearInterval(this.state.timer),this.state.timer=setInterval(function(){L.increase(L.state.cut*Math.random()),k.percent>95&&k.options.autoFinish&&L.finish()},100)},set:function(T){k.options.show=!0,k.options.canSuccess=!0,k.percent=Math.floor(T)},get:function(){return Math.floor(k.percent)},increase:function(T){k.percent=Math.min(99,k.percent+Math.floor(T))},decrease:function(T){k.percent=k.percent-Math.floor(T)},hide:function(){var T=this;clearInterval(this.state.timer),this.state.timer=null,setTimeout(function(){k.options.show=!1,Object(a.nextTick)(function(){setTimeout(function(){k.percent=0},100),k.options.autoRevert&&setTimeout(function(){T.revert()},300)})},k.options.transition.termination)},pause:function(){clearInterval(this.state.timer)},finish:function(){k.percent=100,this.hide()},fail:function(){k.options.canSuccess=!1,k.percent=100,this.hide()},setFailColor:function(T){k.options.failedColor=T},setColor:function(T){k.options.color=T},setLocation:function(T){k.options.location=T},setTransition:function(T){k.options.transition=T},tempFailColor:function(T){this.state.tFailColor=k.options.failedColor,k.options.failedColor=T},tempColor:function(T){this.state.tColor=k.options.color,k.options.color=T},tempLocation:function(T){this.state.tLocation=k.options.location,k.options.location=T},tempTransition:function(T){this.state.tTransition=k.options.transition,k.options.transition=T},revertColor:function(){k.options.color=this.state.tColor,this.state.tColor=""},revertFailColor:function(){k.options.failedColor=this.state.tFailColor,this.state.tFailColor=""},revertLocation:function(){k.options.location=this.state.tLocation,this.state.tLocation=""},revertTransition:function(){k.options.transition=this.state.tTransition,this.state.tTransition={}},revert:function(){k.options.autoRevert&&(this.state.tColor&&this.revertColor(),this.state.tFailColor&&this.revertFailColor(),this.state.tLocation&&this.revertLocation(),this.state.tTransition&&(this.state.tTransition.speed!==void 0||this.state.tTransition.opacity!==void 0)&&this.revertTransition())},parseMeta:function(T){for(var L in T.func){var I=T.func[L];switch(I.call){case"color":switch(I.modifier){case"set":this.setColor(I.argument);break;case"temp":this.tempColor(I.argument);break}break;case"fail":switch(I.modifier){case"set":this.setFailColor(I.argument);break;case"temp":this.tempFailColor(I.argument);break}break;case"location":switch(I.modifier){case"set":this.setLocation(I.argument);break;case"temp":this.tempLocation(I.argument);break}break;case"transition":switch(I.modifier){case"set":this.setTransition(I.argument);break;case"temp":this.tempTransition(I.argument);break}break}}}};_.component("vue-progress-bar",f),_.config.globalProperties.$Progress=z}};n.default=p}})})(Tv);var ZU=Tv.exports;const YU=fo(ZU),Ov=function(){return document.ontouchstart!==null?"click":"touchstart"},yl="__vue_click_away__",Dv=function(e,t,n){Pv(e);let r=n.context,s=t.value,o=!1;setTimeout(function(){o=!0},0),e[yl]=function(i){if((!e||!e.contains(i.target))&&s&&o&&typeof s=="function")return s.call(r,i)},document.addEventListener(Ov(),e[yl],!1)},Pv=function(e){document.removeEventListener(Ov(),e[yl],!1),delete e[yl]},JU=function(e,t,n){t.value!==t.oldValue&&Dv(e,t,n)},XU={install:function(e){e.directive("click-away",QU)}},QU={mounted:Dv,updated:JU,unmounted:Pv};var Zn=(e=>(e.LOADING="loading",e.LOADED="loaded",e.ERROR="error",e))(Zn||{});const eq=typeof window<"u"&&window!==null,tq=oq(),nq=Object.prototype.propertyIsEnumerable,Bp=Object.getOwnPropertySymbols;function ri(e){return typeof e=="function"||toString.call(e)==="[object Object]"}function rq(e){return typeof e=="object"?e===null:typeof e!="function"}function sq(e){return e!=="__proto__"&&e!=="constructor"&&e!=="prototype"}function oq(){return eq&&"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 iq(e,...t){if(!ri(e))throw new TypeError("expected the first argument to be an object");if(t.length===0||typeof Symbol!="function"||typeof Bp!="function")return e;for(const n of t){const r=Bp(n);for(const s of r)nq.call(n,s)&&(e[s]=n[s])}return e}function Iv(e,...t){let n=0;for(rq(e)&&(e=t[n++]),e||(e={});n<t.length;n++)if(ri(t[n])){for(const r of Object.keys(t[n]))sq(r)&&(ri(e[r])&&ri(t[n][r])?Iv(e[r],t[n][r]):e[r]=t[n][r]);iq(e,t[n])}return e}const Hp="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",aq="",lq={rootMargin:"0px",threshold:0},Ts="data-lazy-timeout-id";class uq{constructor(t){this.options={loading:Hp,error:aq,observerOptions:lq,log:!0,lifecycle:{}},this._images=new WeakMap,this.config(t)}config(t={}){Iv(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(Zn.LOADING,i,t),t.setAttribute("src",s||Hp),tq||(this.loadImages(t,r,o,i),this._log(()=>{throw new Error("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(Zn.LOADED,s,t)},()=>{var o;t.onload=null,this._lifecycle(Zn.ERROR,s,t),(o=this._realObserver(t))==null||o.disconnect(),r&&t.getAttribute("src")!==r&&t.setAttribute("src",r),this._log(()=>{throw new Error(`Image failed to load!And failed src was: ${n} `)})})):t.style.backgroundImage=`url('${n}')`}_initIntersectionObserver(t,n,r,s,o){var 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(Ts))return;const a=setTimeout(()=>{this._intersectionCallback(t,n,s,o,i),n.target.removeAttribute(Ts)},r);n.target.setAttribute(Ts,String(a))}else n.target.hasAttribute(Ts)&&(clearTimeout(Number(n.target.getAttribute(Ts))),n.target.removeAttribute(Ts))}_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 ri(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 Zn.LOADING:r==null||r.setAttribute("lazy",Zn.LOADING),n!=null&&n.loading&&n.loading(r);break;case Zn.LOADED:r==null||r.setAttribute("lazy",Zn.LOADED),n!=null&&n.loaded&&n.loaded(r);break;case Zn.ERROR:r==null||r.setAttribute("lazy",Zn.ERROR),n!=null&&n.error&&n.error(r);break}}_realObserver(t){return this._images.get(t)}}const cq={install(e,t){const n=new uq(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 Fv={exports:{}};/*!
* vue-scrollto v2.20.0
* (c) 2019 Randjelovic Igor
* @license MIT
*/(function(e,t){(function(n,r){e.exports=r()})(Yt,function(){function n(ce){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?n=function(W){return typeof W}:n=function(W){return W&&typeof Symbol=="function"&&W.constructor===Symbol&&W!==Symbol.prototype?"symbol":typeof W},n(ce)}function r(){return r=Object.assign||function(ce){for(var W=1;W<arguments.length;W++){var fe=arguments[W];for(var Ae in fe)Object.prototype.hasOwnProperty.call(fe,Ae)&&(ce[Ae]=fe[Ae])}return ce},r.apply(this,arguments)}var s=4,o=.001,i=1e-7,a=10,l=11,c=1/(l-1),d=typeof Float32Array=="function";function f(ce,W){return 1-3*W+3*ce}function m(ce,W){return 3*W-6*ce}function p(ce){return 3*ce}function h(ce,W,fe){return((f(W,fe)*ce+m(W,fe))*ce+p(W))*ce}function _(ce,W,fe){return 3*f(W,fe)*ce*ce+2*m(W,fe)*ce+p(W)}function C(ce,W,fe,Ae,Le){var Ee,V,le=0;do V=W+(fe-W)/2,Ee=h(V,Ae,Le)-ce,Ee>0?fe=V:W=V;while(Math.abs(Ee)>i&&++le<a);return V}function b(ce,W,fe,Ae){for(var Le=0;Le<s;++Le){var Ee=_(W,fe,Ae);if(Ee===0)return W;var V=h(W,fe,Ae)-ce;W-=V/Ee}return W}function y(ce){return ce}var k=function(W,fe,Ae,Le){if(!(0<=W&&W<=1&&0<=Ae&&Ae<=1))throw new Error("bezier x values must be in [0, 1] range");if(W===fe&&Ae===Le)return y;for(var Ee=d?new Float32Array(l):new Array(l),V=0;V<l;++V)Ee[V]=h(V*c,W,Ae);function le(ne){for(var pe=0,De=1,A=l-1;De!==A&&Ee[De]<=ne;++De)pe+=c;--De;var O=(ne-Ee[De])/(Ee[De+1]-Ee[De]),P=pe+O*c,K=_(P,W,Ae);return K>=o?b(ne,P,W,Ae):K===0?P:C(ne,pe,pe+c,W,Ae)}return function(pe){return pe===0?0:pe===1?1:h(le(pe),fe,Le)}},z={ease:[.25,.1,.25,1],linear:[0,0,1,1],"ease-in":[.42,0,1,1],"ease-out":[0,0,.58,1],"ease-in-out":[.42,0,.58,1]},x=!1;try{var T=Object.defineProperty({},"passive",{get:function(){x=!0}});window.addEventListener("test",null,T)}catch{}var L={$:function(W){return typeof W!="string"?W:document.querySelector(W)},on:function(W,fe,Ae){var Le=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{passive:!1};fe instanceof Array||(fe=[fe]);for(var Ee=0;Ee<fe.length;Ee++)W.addEventListener(fe[Ee],Ae,x?Le:!1)},off:function(W,fe,Ae){fe instanceof Array||(fe=[fe]);for(var Le=0;Le<fe.length;Le++)W.removeEventListener(fe[Le],Ae)},cumulativeOffset:function(W){var fe=0,Ae=0;do fe+=W.offsetTop||0,Ae+=W.offsetLeft||0,W=W.offsetParent;while(W);return{top:fe,left:Ae}}},I=["mousedown","wheel","DOMMouseScroll","mousewheel","keyup","touchmove"],D={container:"body",duration:500,lazy:!0,easing:"ease",offset:0,force:!0,cancelable:!0,onStart:!1,onDone:!1,onCancel:!1,x:!1,y:!0};function U(ce){D=r({},D,ce)}var Z=function(){var W,fe,Ae,Le,Ee,V,le,ne,pe,De,A,O,P,K,J,ee,de,ae,oe,Y,R,B,ge,ze=function(xe){ne&&(ge=xe,Y=!0)},Fe,Ue,Ve,F;function M(Ge){var xe=Ge.scrollTop;return Ge.tagName.toLowerCase()==="body"&&(xe=xe||document.documentElement.scrollTop),xe}function G(Ge){var xe=Ge.scrollLeft;return Ge.tagName.toLowerCase()==="body"&&(xe=xe||document.documentElement.scrollLeft),xe}function re(){R=L.cumulativeOffset(fe),B=L.cumulativeOffset(W),O&&(J=B.left-R.left+V,ae=J-K),P&&(de=B.top-R.top+V,oe=de-ee)}function ve(Ge){if(Y)return Pe();Ue||(Ue=Ge),Ee||re(),Ve=Ge-Ue,F=Math.min(Ve/Ae,1),F=Fe(F),$e(fe,ee+oe*F,K+ae*F),Ve<Ae?window.requestAnimationFrame(ve):Pe()}function Pe(){Y||$e(fe,de,J),Ue=!1,L.off(fe,I,ze),Y&&A&&A(ge,W),!Y&&De&&De(W)}function $e(Ge,xe,ue){P&&(Ge.scrollTop=xe),O&&(Ge.scrollLeft=ue),Ge.tagName.toLowerCase()==="body"&&(P&&(document.documentElement.scrollTop=xe),O&&(document.documentElement.scrollLeft=ue))}function Be(Ge,xe){var ue=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(n(xe)==="object"?ue=xe:typeof xe=="number"&&(ue.duration=xe),W=L.$(Ge),!W)return console.warn("[vue-scrollto warn]: Trying to scroll to an element that is not on the page: "+Ge);if(fe=L.$(ue.container||D.container),Ae=ue.hasOwnProperty("duration")?ue.duration:D.duration,Ee=ue.hasOwnProperty("lazy")?ue.lazy:D.lazy,Le=ue.easing||D.easing,V=ue.hasOwnProperty("offset")?ue.offset:D.offset,le=ue.hasOwnProperty("force")?ue.force!==!1:D.force,ne=ue.hasOwnProperty("cancelable")?ue.cancelable!==!1:D.cancelable,pe=ue.onStart||D.onStart,De=ue.onDone||D.onDone,A=ue.onCancel||D.onCancel,O=ue.x===void 0?D.x:ue.x,P=ue.y===void 0?D.y:ue.y,typeof V=="function"&&(V=V(W,fe)),K=G(fe),ee=M(fe),re(),Y=!1,!le){var Ie=fe.tagName.toLowerCase()==="body"?document.documentElement.clientHeight||window.innerHeight:fe.offsetHeight,Ze=ee,Qe=Ze+Ie,Mt=de-V,yo=Mt+W.offsetHeight;if(Mt>=Ze&&yo<=Qe){De&&De(W);return}}if(pe&&pe(W),!oe&&!ae){De&&De(W);return}return typeof Le=="string"&&(Le=z[Le]||z.ease),Fe=k.apply(k,Le),L.on(fe,I,ze,{passive:!0}),window.requestAnimationFrame(ve),function(){ge=null,Y=!0}}return Be},X=Z(),j=[];function q(ce){for(var W=0;W<j.length;++W)if(j[W].el===ce)return j.splice(W,1),!0;return!1}function Ce(ce){for(var W=0;W<j.length;++W)if(j[W].el===ce)return j[W]}function te(ce){var W=Ce(ce);return W||(j.push(W={el:ce,binding:{}}),W)}function ie(ce){var W=te(this).binding;if(W.value){if(ce.preventDefault(),typeof W.value=="string")return X(W.value);X(W.value.el||W.value.element,W.value)}}var ye={bind:function(W,fe){te(W).binding=fe,L.on(W,"click",ie)},unbind:function(W){q(W),L.off(W,"click",ie)},update:function(W,fe){te(W).binding=fe}},je={bind:ye.bind,unbind:ye.unbind,update:ye.update,beforeMount:ye.bind,unmounted:ye.unbind,updated:ye.update,scrollTo:X,bindings:j},it=function(W,fe){fe&&U(fe),W.directive("scroll-to",je);var Ae=W.config.globalProperties||W.prototype;Ae.$scrollTo=je.scrollTo};return typeof window<"u"&&window.Vue&&(window.VueScrollTo=je,window.VueScrollTo.setDefaults=U,window.VueScrollTo.scroller=Z,window.Vue.use&&window.Vue.use(it)),je.install=it,je})})(Fv);var dq=Fv.exports;const mq=fo(dq),fq={title:[String],spin:[Boolean],width:[Number,String],height:[Number,String],ariaLabel:[String],staticClass:[String],class:[String],name:{type:String,required:!0,default:"alert"},size:{type:[Number,String],default:24},viewBox:{type:String,default:"0 0 24 24"},xmlns:{type:String,default:"http://www.w3.org/2000/svg"},role:{type:String,default:"img"},spin:{type:Boolean,default:!1}};const pq=e=>e.charAt(0).toUpperCase()+e.slice(1),hq=e=>e.split("-").map(pq).join(""),_q=(e,t,n)=>{const r=e[`mdi${hq(t.name)}`]||S8,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}}},gq=(e,t)=>({[t.staticClass||""]:!0,[t.class||""]:!0,[`mdi mdi-${e.name}`]:!0,"mdi-spin":e.spin===!0}),yq=(e,t={})=>({install(n,{icons:r}){if(r===void 0)throw new Error("Icons must be provided separately");n.component("mdicon",{name:"MDIcon",props:fq,...t,render:e(r)})}}),vq=e=>function(){const{spanAttrs:n,svgAttrs:r,pathAttrs:s}=_q(e,this,this.$attrs);return er("span",{...n,class:gq(this,this)},[er("svg",r,[this.title?er("title",[this.title]):void 0,er("path",s)])])},bq=yq(vq);class ws extends Error{}class Cq extends ws{constructor(t){super(`Invalid DateTime: ${t.toMessage()}`)}}class zq extends ws{constructor(t){super(`Invalid Interval: ${t.toMessage()}`)}}class wq extends ws{constructor(t){super(`Invalid Duration: ${t.toMessage()}`)}}class Vo extends ws{}class Rv extends ws{constructor(t){super(`Invalid unit ${t}`)}}class xn extends ws{}class Or extends ws{constructor(){super("Zone is an abstract class")}}const _e="numeric",Un="short",vn="long",vl={year:_e,month:_e,day:_e},Lv={year:_e,month:Un,day:_e},kq={year:_e,month:Un,day:_e,weekday:Un},Mv={year:_e,month:vn,day:_e},Nv={year:_e,month:vn,day:_e,weekday:vn},Vv={hour:_e,minute:_e},Bv={hour:_e,minute:_e,second:_e},Hv={hour:_e,minute:_e,second:_e,timeZoneName:Un},jv={hour:_e,minute:_e,second:_e,timeZoneName:vn},Uv={hour:_e,minute:_e,hourCycle:"h23"},qv={hour:_e,minute:_e,second:_e,hourCycle:"h23"},Wv={hour:_e,minute:_e,second:_e,hourCycle:"h23",timeZoneName:Un},Gv={hour:_e,minute:_e,second:_e,hourCycle:"h23",timeZoneName:vn},Kv={year:_e,month:_e,day:_e,hour:_e,minute:_e},Zv={year:_e,month:_e,day:_e,hour:_e,minute:_e,second:_e},Yv={year:_e,month:Un,day:_e,hour:_e,minute:_e},Jv={year:_e,month:Un,day:_e,hour:_e,minute:_e,second:_e},xq={year:_e,month:Un,day:_e,weekday:Un,hour:_e,minute:_e},Xv={year:_e,month:vn,day:_e,hour:_e,minute:_e,timeZoneName:Un},Qv={year:_e,month:vn,day:_e,hour:_e,minute:_e,second:_e,timeZoneName:Un},e1={year:_e,month:vn,day:_e,weekday:vn,hour:_e,minute:_e,timeZoneName:vn},t1={year:_e,month:vn,day:_e,weekday:vn,hour:_e,minute:_e,second:_e,timeZoneName:vn};class Ri{get type(){throw new Or}get name(){throw new Or}get ianaName(){return this.name}get isUniversal(){throw new Or}offsetName(t,n){throw new Or}formatOffset(t,n){throw new Or}offset(t){throw new Or}equals(t){throw new Or}get isValid(){throw new Or}}let Bu=null;class iu extends Ri{static get instance(){return Bu===null&&(Bu=new iu),Bu}get type(){return"system"}get name(){return new Intl.DateTimeFormat().resolvedOptions().timeZone}get isUniversal(){return!1}offsetName(t,{format:n,locale:r}){return r1(t,n,r)}formatOffset(t,n){return oi(this.offset(t),n)}offset(t){return-new Date(t).getTimezoneOffset()}equals(t){return t.type==="system"}get isValid(){return!0}}let Qa={};function Eq(e){return Qa[e]||(Qa[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"})),Qa[e]}const Sq={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};function $q(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 Aq(e,t){const n=e.formatToParts(t),r=[];for(let s=0;s<n.length;s++){const{type:o,value:i}=n[s],a=Sq[o];o==="era"?r[a]=i:tt(a)||(r[a]=parseInt(i,10))}return r}let Ra={};class zr extends Ri{static create(t){return Ra[t]||(Ra[t]=new zr(t)),Ra[t]}static resetCache(){Ra={},Qa={}}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=zr.isValidZone(t)}get type(){return"iana"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(t,{format:n,locale:r}){return r1(t,n,r,this.name)}formatOffset(t,n){return oi(this.offset(t),n)}offset(t){const n=new Date(t);if(isNaN(n))return NaN;const r=Eq(this.name);let[s,o,i,a,l,c,d]=r.formatToParts?Aq(r,n):$q(r,n);a==="BC"&&(s=-Math.abs(s)+1);const m=vm({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,(m-p)/(60*1e3)}equals(t){return t.type==="iana"&&t.name===this.name}get isValid(){return this.valid}}let jp={};function Tq(e,t={}){const n=JSON.stringify([e,t]);let r=jp[n];return r||(r=new Intl.ListFormat(e,t),jp[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 Oq(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 Dq(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 Bo=null;function Pq(){return Bo||(Bo=new Intl.DateTimeFormat().resolvedOptions().locale,Bo)}function Iq(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 Fq(e,t,n){return(n||t)&&(e.includes("-u-")||(e+="-u"),n&&(e+=`-ca-${n}`),t&&(e+=`-nu-${t}`)),e}function Rq(e){const t=[];for(let n=1;n<=12;n++){const r=Ne.utc(2016,n,1);t.push(e(r))}return t}function Lq(e){const t=[];for(let n=1;n<=7;n++){const r=Ne.utc(2016,11,13+n);t.push(e(r))}return t}function La(e,t,n,r,s){const o=e.listingMode(n);return o==="error"?null:o==="en"?r(t):s(t)}function Mq(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 Nq{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=Oq(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):ym(t,3);return At(n,this.padTo)}}}class Vq{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&&zr.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 Bq{constructor(t,n,r){this.opts={style:"long",...r},!n&&n1()&&(this.rtf=Dq(t,r))}format(t,n){return this.rtf?this.rtf.format(t,n):sW(n,t,this.opts.numeric,this.opts.style!=="long")}formatToParts(t,n){return this.rtf?this.rtf.formatToParts(t,n):[]}}class gt{static fromOpts(t){return gt.create(t.locale,t.numberingSystem,t.outputCalendar,t.defaultToEN)}static create(t,n,r,s=!1){const o=t||$t.defaultLocale,i=o||(s?"en-US":Pq()),a=n||$t.defaultNumberingSystem,l=r||$t.defaultOutputCalendar;return new gt(i,a,l,o)}static resetCache(){Bo=null,Gc={},Zc={},Yc={}}static fromObject({locale:t,numberingSystem:n,outputCalendar:r}={}){return gt.create(t,n,r)}constructor(t,n,r,s){const[o,i,a]=Iq(t);this.locale=o,this.numberingSystem=n||i||null,this.outputCalendar=r||a||null,this.intl=Fq(this.locale,this.numberingSystem,this.outputCalendar),this.weekdaysCache={format:{},standalone:{}},this.monthsCache={format:{},standalone:{}},this.meridiemCache=null,this.eraCache={},this.specifiedLocale=s,this.fastNumbersCached=null}get fastNumbers(){return this.fastNumbersCached==null&&(this.fastNumbersCached=Mq(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:gt.create(t.locale||this.specifiedLocale,t.numberingSystem||this.numberingSystem,t.outputCalendar||this.outputCalendar,t.defaultToEN||!1)}redefaultToEN(t={}){return this.clone({...t,defaultToEN:!0})}redefaultToSystem(t={}){return this.clone({...t,defaultToEN:!1})}months(t,n=!1,r=!0){return La(this,t,r,i1,()=>{const s=n?{month:t,day:"numeric"}:{month:t},o=n?"format":"standalone";return this.monthsCache[o][t]||(this.monthsCache[o][t]=Rq(i=>this.extract(i,s,"month"))),this.monthsCache[o][t]})}weekdays(t,n=!1,r=!0){return La(this,t,r,u1,()=>{const s=n?{weekday:t,year:"numeric",month:"long",day:"numeric"}:{weekday:t},o=n?"format":"standalone";return this.weekdaysCache[o][t]||(this.weekdaysCache[o][t]=Lq(i=>this.extract(i,s,"weekday"))),this.weekdaysCache[o][t]})}meridiems(t=!0){return La(this,void 0,t,()=>c1,()=>{if(!this.meridiemCache){const n={hour:"numeric",hourCycle:"h12"};this.meridiemCache=[Ne.utc(2016,11,13,9),Ne.utc(2016,11,13,19)].map(r=>this.extract(r,n,"dayperiod"))}return this.meridiemCache})}eras(t,n=!0){return La(this,t,n,d1,()=>{const r={era:t};return this.eraCache[t]||(this.eraCache[t]=[Ne.utc(-40,1,1),Ne.utc(2017,1,1)].map(s=>this.extract(s,r,"era"))),this.eraCache[t]})}extract(t,n,r){const s=this.dtFormatter(t,n),o=s.formatToParts(),i=o.find(a=>a.type.toLowerCase()===r);return i?i.value:null}numberFormatter(t={}){return new Nq(this.intl,t.forceSimple||this.fastNumbers,t)}dtFormatter(t,n={}){return new Vq(t,this.intl,n)}relFormatter(t={}){return new Bq(this.intl,this.isEnglish(),t)}listFormatter(t={}){return Tq(this.intl,t)}isEnglish(){return this.locale==="en"||this.locale.toLowerCase()==="en-us"||new Intl.DateTimeFormat(this.intl).resolvedOptions().locale.startsWith("en-us")}equals(t){return this.locale===t.locale&&this.numberingSystem===t.numberingSystem&&this.outputCalendar===t.outputCalendar}}let Hu=null;class Jt extends Ri{static get utcInstance(){return Hu===null&&(Hu=new Jt(0)),Hu}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(lu(n[1],n[2]))}return null}constructor(t){super(),this.fixed=t}get type(){return"fixed"}get name(){return this.fixed===0?"UTC":`UTC${oi(this.fixed,"narrow")}`}get ianaName(){return this.fixed===0?"Etc/UTC":`Etc/GMT${oi(-this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(t,n){return oi(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 Hq extends Ri{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(tt(e)||e===null)return t;if(e instanceof Ri)return e;if(jq(e)){const n=e.toLowerCase();return n==="default"?t:n==="local"||n==="system"?iu.instance:n==="utc"||n==="gmt"?Jt.utcInstance:Jt.parseSpecifier(n)||zr.create(e)}else return ps(e)?Jt.instance(e):typeof e=="object"&&e.offset&&typeof e.offset=="number"?e:new Hq(e)}let Up=()=>Date.now(),qp="system",Wp=null,Gp=null,Kp=null,Zp=60,Yp;class $t{static get now(){return Up}static set now(t){Up=t}static set defaultZone(t){qp=t}static get defaultZone(){return Vr(qp,iu.instance)}static get defaultLocale(){return Wp}static set defaultLocale(t){Wp=t}static get defaultNumberingSystem(){return Gp}static set defaultNumberingSystem(t){Gp=t}static get defaultOutputCalendar(){return Kp}static set defaultOutputCalendar(t){Kp=t}static get twoDigitCutoffYear(){return Zp}static set twoDigitCutoffYear(t){Zp=t%100}static get throwOnInvalid(){return Yp}static set throwOnInvalid(t){Yp=t}static resetCaches(){gt.resetCache(),zr.resetCache()}}function tt(e){return typeof e>"u"}function ps(e){return typeof e=="number"}function au(e){return typeof e=="number"&&e%1===0}function jq(e){return typeof e=="string"}function Uq(e){return Object.prototype.toString.call(e)==="[object Date]"}function n1(){try{return typeof Intl<"u"&&!!Intl.RelativeTimeFormat}catch{return!1}}function qq(e){return Array.isArray(e)?e:[e]}function Jp(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 Wq(e,t){return t.reduce((n,r)=>(n[r]=e[r],n),{})}function so(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function gr(e,t,n){return au(e)&&e>=t&&e<=n}function Gq(e,t){return e-t*Math.floor(e/t)}function At(e,t=2){const n=e<0;let r;return n?r="-"+(""+-e).padStart(t,"0"):r=(""+e).padStart(t,"0"),r}function Mr(e){if(!(tt(e)||e===null||e===""))return parseInt(e,10)}function rs(e){if(!(tt(e)||e===null||e===""))return parseFloat(e)}function gm(e){if(!(tt(e)||e===null||e==="")){const t=parseFloat("0."+e)*1e3;return Math.floor(t)}}function ym(e,t,n=!1){const r=10**t;return(n?Math.trunc:Math.round)(e*r)/r}function Li(e){return e%4===0&&(e%100!==0||e%400===0)}function si(e){return Li(e)?366:365}function bl(e,t){const n=Gq(t-1,12)+1,r=e+(t-n)/12;return n===2?Li(r)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][n-1]}function vm(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 Cl(e){const t=(e+Math.floor(e/4)-Math.floor(e/100)+Math.floor(e/400))%7,n=e-1,r=(n+Math.floor(n/4)-Math.floor(n/100)+Math.floor(n/400))%7;return t===4||r===3?53:52}function Jc(e){return e>99?e:e>$t.twoDigitCutoffYear?1900+e:2e3+e}function r1(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 lu(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 s1(e){const t=Number(e);if(typeof e=="boolean"||e===""||Number.isNaN(t))throw new xn(`Invalid unit value ${e}`);return t}function zl(e,t){const n={};for(const r in e)if(so(e,r)){const s=e[r];if(s==null)continue;n[t(r)]=s1(s)}return n}function oi(e,t){const n=Math.trunc(Math.abs(e/60)),r=Math.trunc(Math.abs(e%60)),s=e>=0?"+":"-";switch(t){case"short":return`${s}${At(n,2)}:${At(r,2)}`;case"narrow":return`${s}${n}${r>0?`:${r}`:""}`;case"techie":return`${s}${At(n,2)}${At(r,2)}`;default:throw new RangeError(`Value format ${t} is out of range for property format`)}}function uu(e){return Wq(e,["hour","minute","second","millisecond"])}const Kq=["January","February","March","April","May","June","July","August","September","October","November","December"],o1=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],Zq=["J","F","M","A","M","J","J","A","S","O","N","D"];function i1(e){switch(e){case"narrow":return[...Zq];case"short":return[...o1];case"long":return[...Kq];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 a1=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],l1=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],Yq=["M","T","W","T","F","S","S"];function u1(e){switch(e){case"narrow":return[...Yq];case"short":return[...l1];case"long":return[...a1];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}const c1=["AM","PM"],Jq=["Before Christ","Anno Domini"],Xq=["BC","AD"],Qq=["B","A"];function d1(e){switch(e){case"narrow":return[...Qq];case"short":return[...Xq];case"long":return[...Jq];default:return null}}function eW(e){return c1[e.hour<12?0:1]}function tW(e,t){return u1(t)[e.weekday-1]}function nW(e,t){return i1(t)[e.month-1]}function rW(e,t){return d1(t)[e.year<0?0:1]}function sW(e,t,n="always",r=!1){const s={years:["year","yr."],quarters:["quarter","qtr."],months:["month","mo."],weeks:["week","wk."],days:["day","day","days"],hours:["hour","hr."],minutes:["minute","min."],seconds:["second","sec."]},o=["hours","minutes","seconds"].indexOf(e)===-1;if(n==="auto"&&o){const f=e==="days";switch(t){case 1:return f?"tomorrow":`next ${s[e][0]}`;case-1:return f?"yesterday":`last ${s[e][0]}`;case 0:return f?"today":`this ${s[e][0]}`}}const 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 Xp(e,t){let n="";for(const r of e)r.literal?n+=r.val:n+=t(r.val);return n}const oW={D:vl,DD:Lv,DDD:Mv,DDDD:Nv,t:Vv,tt:Bv,ttt:Hv,tttt:jv,T:Uv,TT:qv,TTT:Wv,TTTT:Gv,f:Kv,ff:Yv,fff:Xv,ffff:e1,F:Zv,FF:Jv,FFF:Qv,FFFF:t1};class Ut{static create(t,n={}){return new Ut(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 oW[t]}constructor(t,n){this.opts=n,this.loc=t,this.systemLoc=null}formatWithSystemDefault(t,n){return this.systemLoc===null&&(this.systemLoc=this.loc.redefaultToSystem()),this.systemLoc.dtFormatter(t,{...this.opts,...n}).format()}formatDateTime(t,n={}){return this.loc.dtFormatter(t,{...this.opts,...n}).format()}formatDateTimeParts(t,n={}){return this.loc.dtFormatter(t,{...this.opts,...n}).formatToParts()}formatInterval(t,n={}){return this.loc.dtFormatter(t.start,{...this.opts,...n}).dtf.formatRange(t.start.toJSDate(),t.end.toJSDate())}resolvedOptions(t,n={}){return this.loc.dtFormatter(t,{...this.opts,...n}).resolvedOptions()}num(t,n=0){if(this.opts.forceSimple)return At(t,n);const r={...this.opts};return n>0&&(r.padTo=n),this.loc.numberFormatter(r).format(t)}formatDateTimeFromString(t,n){const r=this.loc.listingMode()==="en",s=this.loc.outputCalendar&&this.loc.outputCalendar!=="gregory",o=(p,h)=>this.loc.extract(t,p,h),i=p=>t.isOffsetFixed&&t.offset===0&&p.allowZ?"Z":t.isValid?t.zone.formatOffset(t.ts,p.format):"",a=()=>r?eW(t):o({hour:"numeric",hourCycle:"h12"},"dayperiod"),l=(p,h)=>r?nW(t,p):o(h?{month:p}:{month:p,day:"numeric"},"month"),c=(p,h)=>r?tW(t,p):o(h?{weekday:p}:{weekday:p,month:"long",day:"numeric"},"weekday"),d=p=>{const h=Ut.macroTokenToFormatOpts(p);return h?this.formatWithSystemDefault(t,h):p},f=p=>r?rW(t,p):o({era:p},"era"),m=p=>{switch(p){case"S":return this.num(t.millisecond);case"u":case"SSS":return this.num(t.millisecond,3);case"s":return this.num(t.second);case"ss":return this.num(t.second,2);case"uu":return this.num(Math.floor(t.millisecond/10),2);case"uuu":return this.num(Math.floor(t.millisecond/100));case"m":return this.num(t.minute);case"mm":return this.num(t.minute,2);case"h":return this.num(t.hour%12===0?12:t.hour%12);case"hh":return this.num(t.hour%12===0?12:t.hour%12,2);case"H":return this.num(t.hour);case"HH":return this.num(t.hour,2);case"Z":return 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 f("short");case"GG":return f("long");case"GGGGG":return f("narrow");case"kk":return this.num(t.weekYear.toString().slice(-2),2);case"kkkk":return this.num(t.weekYear,4);case"W":return this.num(t.weekNumber);case"WW":return this.num(t.weekNumber,2);case"o":return this.num(t.ordinal);case"ooo":return this.num(t.ordinal,3);case"q":return this.num(t.quarter);case"qq":return this.num(t.quarter,2);case"X":return this.num(Math.floor(t.ts/1e3));case"x":return this.num(t.ts);default:return d(p)}};return Xp(Ut.parseFormat(n),m)}formatDurationFromString(t,n){const r=l=>{switch(l[0]){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":return"hour";case"d":return"day";case"w":return"week";case"M":return"month";case"y":return"year";default:return null}},s=l=>c=>{const d=r(c);return d?this.num(l.get(d),c.length):c},o=Ut.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 Xp(o,s(a))}}class Nn{constructor(t,n){this.reason=t,this.explanation=n}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:this.reason}}const m1=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function po(...e){const t=e.reduce((n,r)=>n+r.source,"");return RegExp(`^${t}$`)}function ho(...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 _o(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 f1(...e){return(t,n)=>{const r={};let s;for(s=0;s<e.length;s++)r[e[s]]=Mr(t[n+s]);return[r,null,n+s]}}const p1=/(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/,iW=`(?:${p1.source}?(?:\\[(${m1.source})\\])?)?`,bm=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,h1=RegExp(`${bm.source}${iW}`),Cm=RegExp(`(?:T${h1.source})?`),aW=/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,lW=/(\d{4})-?W(\d\d)(?:-?(\d))?/,uW=/(\d{4})-?(\d{3})/,cW=f1("weekYear","weekNumber","weekDay"),dW=f1("year","ordinal"),mW=/(\d{4})-(\d\d)-(\d\d)/,_1=RegExp(`${bm.source} ?(?:${p1.source}|(${m1.source}))?`),fW=RegExp(`(?: ${_1.source})?`);function Gs(e,t,n){const r=e[t];return tt(r)?n:Mr(r)}function pW(e,t){return[{year:Gs(e,t),month:Gs(e,t+1,1),day:Gs(e,t+2,1)},null,t+3]}function go(e,t){return[{hours:Gs(e,t,0),minutes:Gs(e,t+1,0),seconds:Gs(e,t+2,0),milliseconds:gm(e[t+3])},null,t+4]}function Mi(e,t){const n=!e[t]&&!e[t+1],r=lu(e[t+1],e[t+2]),s=n?null:Jt.instance(r);return[{},s,t+3]}function Ni(e,t){const n=e[t]?zr.create(e[t]):null;return[{},n,t+1]}const hW=RegExp(`^T?${bm.source}$`),_W=/^-?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 gW(e){const[t,n,r,s,o,i,a,l,c]=e,d=t[0]==="-",f=l&&l[0]==="-",m=(p,h=!1)=>p!==void 0&&(h||p&&d)?-p:p;return[{years:m(rs(n)),months:m(rs(r)),weeks:m(rs(s)),days:m(rs(o)),hours:m(rs(i)),minutes:m(rs(a)),seconds:m(rs(l),l==="-0"),milliseconds:m(gm(c),f)}]}const yW={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 zm(e,t,n,r,s,o,i){const a={year:t.length===2?Jc(Mr(t)):Mr(t),month:o1.indexOf(n)+1,day:Mr(r),hour:Mr(s),minute:Mr(o)};return i&&(a.second=Mr(i)),e&&(a.weekday=e.length>3?a1.indexOf(e)+1:l1.indexOf(e)+1),a}const vW=/^(?:(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 bW(e){const[,t,n,r,s,o,i,a,l,c,d,f]=e,m=zm(t,s,r,n,o,i,a);let p;return l?p=yW[l]:c?p=0:p=lu(d,f),[m,new Jt(p)]}function CW(e){return e.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}const zW=/^(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$/,wW=/^(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$/,kW=/^(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 Qp(e){const[,t,n,r,s,o,i,a]=e;return[zm(t,s,r,n,o,i,a),Jt.utcInstance]}function xW(e){const[,t,n,r,s,o,i,a]=e;return[zm(t,a,n,r,s,o,i),Jt.utcInstance]}const EW=po(aW,Cm),SW=po(lW,Cm),$W=po(uW,Cm),AW=po(h1),g1=ho(pW,go,Mi,Ni),TW=ho(cW,go,Mi,Ni),OW=ho(dW,go,Mi,Ni),DW=ho(go,Mi,Ni);function PW(e){return _o(e,[EW,g1],[SW,TW],[$W,OW],[AW,DW])}function IW(e){return _o(CW(e),[vW,bW])}function FW(e){return _o(e,[zW,Qp],[wW,Qp],[kW,xW])}function RW(e){return _o(e,[_W,gW])}const LW=ho(go);function MW(e){return _o(e,[hW,LW])}const NW=po(mW,fW),VW=po(_1),BW=ho(go,Mi,Ni);function HW(e){return _o(e,[NW,g1],[VW,BW])}const jW="Invalid Duration",y1={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}},UW={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},...y1},kn=146097/400,Os=146097/4800,qW={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:Os/7,days:Os,hours:Os*24,minutes:Os*24*60,seconds:Os*24*60*60,milliseconds:Os*24*60*60*1e3},...y1},os=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],WW=os.slice(0).reverse();function Dr(e,t,n=!1){const r={values:n?t.values:{...e.values,...t.values||{}},loc:e.loc.clone(t.loc),conversionAccuracy:t.conversionAccuracy||e.conversionAccuracy,matrix:t.matrix||e.matrix};return new Je(r)}function GW(e){return e<0?Math.floor(e):Math.ceil(e)}function v1(e,t,n,r,s){const o=e[s][n],i=t[n]/o,a=Math.sign(i)===Math.sign(r[s]),l=!a&&r[s]!==0&&Math.abs(i)<=1?GW(i):Math.trunc(i);r[s]+=l,t[n]-=l*o}function KW(e,t){WW.reduce((n,r)=>tt(t[r])?n:(n&&v1(e,t,n,t,r),r),null)}function ZW(e){const t={};for(const[n,r]of Object.entries(e))r!==0&&(t[n]=r);return t}class Je{constructor(t){const n=t.conversionAccuracy==="longterm"||!1;let r=n?qW:UW;t.matrix&&(r=t.matrix),this.values=t.values,this.loc=t.loc||gt.create(),this.conversionAccuracy=n?"longterm":"casual",this.invalid=t.invalid||null,this.matrix=r,this.isLuxonDuration=!0}static fromMillis(t,n){return Je.fromObject({milliseconds:t},n)}static fromObject(t,n={}){if(t==null||typeof t!="object")throw new xn(`Duration.fromObject: argument expected to be an object, got ${t===null?"null":typeof t}`);return new Je({values:zl(t,Je.normalizeUnit),loc:gt.fromObject(n),conversionAccuracy:n.conversionAccuracy,matrix:n.matrix})}static fromDurationLike(t){if(ps(t))return Je.fromMillis(t);if(Je.isDuration(t))return t;if(typeof t=="object")return Je.fromObject(t);throw new xn(`Unknown duration argument ${t} of type ${typeof t}`)}static fromISO(t,n){const[r]=RW(t);return r?Je.fromObject(r,n):Je.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static fromISOTime(t,n){const[r]=MW(t);return r?Je.fromObject(r,n):Je.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static invalid(t,n=null){if(!t)throw new xn("need to specify a reason the Duration is invalid");const r=t instanceof Nn?t:new Nn(t,n);if($t.throwOnInvalid)throw new wq(r);return new Je({invalid:r})}static normalizeUnit(t){const n={year:"years",years:"years",quarter:"quarters",quarters:"quarters",month:"months",months:"months",week:"weeks",weeks:"weeks",day:"days",days:"days",hour:"hours",hours:"hours",minute:"minutes",minutes:"minutes",second:"seconds",seconds:"seconds",millisecond:"milliseconds",milliseconds:"milliseconds"}[t&&t.toLowerCase()];if(!n)throw new Rv(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?Ut.create(this.loc,r).formatDurationFromString(this,t):jW}toHuman(t={}){const n=os.map(r=>{const s=this.values[r];return tt(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+=ym(this.seconds+this.milliseconds/1e3,3)+"S"),t==="P"&&(t+="T0S"),t}toISOTime(t={}){if(!this.isValid)return null;const n=this.toMillis();if(n<0||n>=864e5)return null;t={suppressMilliseconds:!1,suppressSeconds:!1,includePrefix:!1,format:"extended",...t};const r=this.shiftTo("hours","minutes","seconds","milliseconds");let s=t.format==="basic"?"hhmm":"hh:mm";(!t.suppressSeconds||r.seconds!==0||r.milliseconds!==0)&&(s+=t.format==="basic"?"ss":":ss",(!t.suppressMilliseconds||r.milliseconds!==0)&&(s+=".SSS"));let o=r.toFormat(s);return t.includePrefix&&(o="T"+o),o}toJSON(){return this.toISO()}toString(){return this.toISO()}toMillis(){return this.as("milliseconds")}valueOf(){return this.toMillis()}plus(t){if(!this.isValid)return this;const n=Je.fromDurationLike(t),r={};for(const s of os)(so(n.values,s)||so(this.values,s))&&(r[s]=n.get(s)+this.get(s));return Dr(this,{values:r},!0)}minus(t){if(!this.isValid)return this;const n=Je.fromDurationLike(t);return this.plus(n.negate())}mapUnits(t){if(!this.isValid)return this;const n={};for(const r of Object.keys(this.values))n[r]=s1(t(this.values[r],r));return Dr(this,{values:n},!0)}get(t){return this[Je.normalizeUnit(t)]}set(t){if(!this.isValid)return this;const n={...this.values,...zl(t,Je.normalizeUnit)};return Dr(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 Dr(this,i)}as(t){return this.isValid?this.shiftTo(t).get(t):NaN}normalize(){if(!this.isValid)return this;const t=this.toObject();return KW(this.matrix,t),Dr(this,{values:t},!0)}rescale(){if(!this.isValid)return this;const t=ZW(this.normalize().shiftToAll().toObject());return Dr(this,{values:t},!0)}shiftTo(...t){if(!this.isValid)return this;if(t.length===0)return this;t=t.map(i=>Je.normalizeUnit(i));const n={},r={},s=this.toObject();let o;for(const i of os)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;ps(s[i])&&(a+=s[i]);const l=Math.trunc(a);n[i]=l,r[i]=(a*1e3-l*1e3)/1e3;for(const c in s)os.indexOf(c)>os.indexOf(i)&&v1(this.matrix,s,c,n,i)}else ps(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 Dr(this,{values:n},!0).normalize()}shiftToAll(){return this.isValid?this.shiftTo("years","months","weeks","days","hours","minutes","seconds","milliseconds"):this}negate(){if(!this.isValid)return this;const t={};for(const n of Object.keys(this.values))t[n]=this.values[n]===0?0:-this.values[n];return Dr(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 os)if(!n(this.values[r],t.values[r]))return!1;return!0}}const Ds="Invalid Interval";function YW(e,t){return!e||!e.isValid?xt.invalid("missing or invalid start"):!t||!t.isValid?xt.invalid("missing or invalid end"):t<e?xt.invalid("end before start",`The end of an interval must be after its start, but you had start=${e.toISO()} and end=${t.toISO()}`):null}class xt{constructor(t){this.s=t.start,this.e=t.end,this.invalid=t.invalid||null,this.isLuxonInterval=!0}static invalid(t,n=null){if(!t)throw new xn("need to specify a reason the Interval is invalid");const r=t instanceof Nn?t:new Nn(t,n);if($t.throwOnInvalid)throw new zq(r);return new xt({invalid:r})}static fromDateTimes(t,n){const r=To(t),s=To(n),o=YW(r,s);return o??new xt({start:r,end:s})}static after(t,n){const r=Je.fromDurationLike(n),s=To(t);return xt.fromDateTimes(s,s.plus(r))}static before(t,n){const r=Je.fromDurationLike(n),s=To(t);return xt.fromDateTimes(s.minus(r),s)}static fromISO(t,n){const[r,s]=(t||"").split("/",2);if(r&&s){let o,i;try{o=Ne.fromISO(r,n),i=o.isValid}catch{i=!1}let a,l;try{a=Ne.fromISO(s,n),l=a.isValid}catch{l=!1}if(i&&l)return xt.fromDateTimes(o,a);if(i){const c=Je.fromISO(s,n);if(c.isValid)return xt.after(o,c)}else if(l){const c=Je.fromISO(r,n);if(c.isValid)return xt.before(a,c)}}return xt.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static isInterval(t){return t&&t.isLuxonInterval||!1}get start(){return this.isValid?this.s:null}get end(){return this.isValid?this.e:null}get isValid(){return this.invalidReason===null}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}length(t="milliseconds"){return this.isValid?this.toDuration(t).get(t):NaN}count(t="milliseconds"){if(!this.isValid)return NaN;const n=this.start.startOf(t),r=this.end.startOf(t);return Math.floor(r.diff(n,t).get(t))+(r.valueOf()!==this.end.valueOf())}hasSame(t){return this.isValid?this.isEmpty()||this.e.minus(1).hasSame(this.s,t):!1}isEmpty(){return this.s.valueOf()===this.e.valueOf()}isAfter(t){return this.isValid?this.s>t:!1}isBefore(t){return this.isValid?this.e<=t:!1}contains(t){return this.isValid?this.s<=t&&this.e>t:!1}set({start:t,end:n}={}){return this.isValid?xt.fromDateTimes(t||this.s,n||this.e):this}splitAt(...t){if(!this.isValid)return[];const n=t.map(To).filter(i=>this.contains(i)).sort(),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(xt.fromDateTimes(s,a)),s=a,o+=1}return r}splitBy(t){const n=Je.fromDurationLike(t);if(!this.isValid||!n.isValid||n.as("milliseconds")===0)return[];let{s:r}=this,s=1,o;const i=[];for(;r<this.e;){const a=this.start.plus(n.mapUnits(l=>l*s));o=+a>+this.e?this.e:a,i.push(xt.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:xt.fromDateTimes(n,r)}union(t){if(!this.isValid)return this;const n=this.s<t.s?this.s:t.s,r=this.e>t.e?this.e:t.e;return xt.fromDateTimes(n,r)}static merge(t){const[n,r]=t.sort((s,o)=>s.s-o.s).reduce(([s,o],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(xt.fromDateTimes(n,l.time)),n=null);return xt.merge(s)}difference(...t){return xt.xor([this].concat(t)).map(n=>this.intersection(n)).filter(n=>n&&!n.isEmpty())}toString(){return this.isValid?`[${this.s.toISO()} ${this.e.toISO()})`:Ds}toLocaleString(t=vl,n={}){return this.isValid?Ut.create(this.s.loc.clone(n),t).formatInterval(this):Ds}toISO(t){return this.isValid?`${this.s.toISO(t)}/${this.e.toISO(t)}`:Ds}toISODate(){return this.isValid?`${this.s.toISODate()}/${this.e.toISODate()}`:Ds}toISOTime(t){return this.isValid?`${this.s.toISOTime(t)}/${this.e.toISOTime(t)}`:Ds}toFormat(t,{separator:n=" "}={}){return this.isValid?`${this.s.toFormat(t)}${n}${this.e.toFormat(t)}`:Ds}toDuration(t,n){return this.isValid?this.e.diff(this.s,t,n):Je.invalid(this.invalidReason)}mapEndpoints(t){return xt.fromDateTimes(t(this.s),t(this.e))}}class Ma{static hasDST(t=$t.defaultZone){const n=Ne.now().setZone(t).set({month:12});return!t.isUniversal&&n.offset!==n.set({month:6}).offset}static isValidIANAZone(t){return zr.isValidZone(t)}static normalizeZone(t){return Vr(t,$t.defaultZone)}static months(t="long",{locale:n=null,numberingSystem:r=null,locObj:s=null,outputCalendar:o="gregory"}={}){return(s||gt.create(n,r,o)).months(t)}static monthsFormat(t="long",{locale:n=null,numberingSystem:r=null,locObj:s=null,outputCalendar:o="gregory"}={}){return(s||gt.create(n,r,o)).months(t,!0)}static weekdays(t="long",{locale:n=null,numberingSystem:r=null,locObj:s=null}={}){return(s||gt.create(n,r,null)).weekdays(t)}static weekdaysFormat(t="long",{locale:n=null,numberingSystem:r=null,locObj:s=null}={}){return(s||gt.create(n,r,null)).weekdays(t,!0)}static meridiems({locale:t=null}={}){return gt.create(t).meridiems()}static eras(t="short",{locale:n=null}={}){return gt.create(n,null,"gregory").eras(t)}static features(){return{relative:n1()}}}function eh(e,t){const n=s=>s.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf(),r=n(t)-n(e);return Math.floor(Je.fromMillis(r).as("days"))}function JW(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=eh(l,c);return(d-d%7)/7}],["days",eh]],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=a);return[e,s,a,i]}function XW(e,t,n,r){let[s,o,i,a]=JW(e,t,n);const l=t-s,c=n.filter(f=>["hours","minutes","seconds","milliseconds"].indexOf(f)>=0);c.length===0&&(i<t&&(i=s.plus({[a]:1})),i!==s&&(o[a]=(o[a]||0)+l/(i-s)));const d=Je.fromObject(o,r);return c.length>0?Je.fromMillis(l,r).shiftTo(...c).plus(d):d}const wm={arab:"[٠-٩]",arabext:"[۰-۹]",bali:"[᭐-᭙]",beng:"[-৯]",deva:"[-९]",fullwide:"[-]",gujr:"[-૯]",hanidec:"[|一|二|三|四|五|六|七|八|九]",khmr:"[០-៩]",knda:"[-೯]",laoo:"[-໙]",limb:"[᥆-᥏]",mlym:"[-൯]",mong:"[᠐-᠙]",mymr:"[-၉]",orya:"[-୯]",tamldec:"[-௯]",telu:"[-౯]",thai:"[-๙]",tibt:"[༠-༩]",latn:"\\d"},th={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]},QW=wm.hanidec.replace(/[\[|\]]/g,"").split("");function eG(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(wm.hanidec)!==-1)t+=QW.indexOf(e[n]);else for(const s in th){const[o,i]=th[s];r>=o&&r<=i&&(t+=r-o)}}return parseInt(t,10)}else return t}function In({numberingSystem:e},t=""){return new RegExp(`${wm[e||"latn"]}${t}`)}const tG="missing Intl.DateTimeFormat.formatToParts support";function at(e,t=n=>n){return{regex:e,deser:([n])=>t(eG(n))}}const nG=String.fromCharCode(160),b1=`[ ${nG}]`,C1=new RegExp(b1,"g");function rG(e){return e.replace(/\./g,"\\.?").replace(C1,b1)}function nh(e){return e.replace(/\./g,"").replace(C1," ").toLowerCase()}function Fn(e,t){return e===null?null:{regex:RegExp(e.map(rG).join("|")),deser:([n])=>e.findIndex(r=>nh(n)===nh(r))+t}}function rh(e,t){return{regex:e,deser:([,n,r])=>lu(n,r),groups:t}}function Na(e){return{regex:e,deser:([t])=>t}}function sG(e){return e.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")}function oG(e,t){const n=In(t),r=In(t,"{2}"),s=In(t,"{3}"),o=In(t,"{4}"),i=In(t,"{6}"),a=In(t,"{1,2}"),l=In(t,"{1,3}"),c=In(t,"{1,6}"),d=In(t,"{1,9}"),f=In(t,"{2,4}"),m=In(t,"{4,6}"),p=C=>({regex:RegExp(sG(C.val)),deser:([b])=>b,literal:!0}),_=(C=>{if(e.literal)return p(C);switch(C.val){case"G":return Fn(t.eras("short",!1),0);case"GG":return Fn(t.eras("long",!1),0);case"y":return at(c);case"yy":return at(f,Jc);case"yyyy":return at(o);case"yyyyy":return at(m);case"yyyyyy":return at(i);case"M":return at(a);case"MM":return at(r);case"MMM":return Fn(t.months("short",!0,!1),1);case"MMMM":return Fn(t.months("long",!0,!1),1);case"L":return at(a);case"LL":return at(r);case"LLL":return Fn(t.months("short",!1,!1),1);case"LLLL":return Fn(t.months("long",!1,!1),1);case"d":return at(a);case"dd":return at(r);case"o":return at(l);case"ooo":return at(s);case"HH":return at(r);case"H":return at(a);case"hh":return at(r);case"h":return at(a);case"mm":return at(r);case"m":return at(a);case"q":return at(a);case"qq":return at(r);case"s":return at(a);case"ss":return at(r);case"S":return at(l);case"SSS":return at(s);case"u":return Na(d);case"uu":return Na(a);case"uuu":return at(n);case"a":return Fn(t.meridiems(),0);case"kkkk":return at(o);case"kk":return at(f,Jc);case"W":return at(a);case"WW":return at(r);case"E":case"c":return at(n);case"EEE":return Fn(t.weekdays("short",!1,!1),1);case"EEEE":return Fn(t.weekdays("long",!1,!1),1);case"ccc":return Fn(t.weekdays("short",!0,!1),1);case"cccc":return Fn(t.weekdays("long",!0,!1),1);case"Z":case"ZZ":return rh(new RegExp(`([+-]${a.source})(?::(${r.source}))?`),2);case"ZZZ":return rh(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(C)}})(e)||{invalidReason:tG};return _.token=e,_}const iG={year:{"2-digit":"yy",numeric:"yyyyy"},month:{numeric:"M","2-digit":"MM",short:"MMM",long:"MMMM"},day:{numeric:"d","2-digit":"dd"},weekday:{short:"EEE",long:"EEEE"},dayperiod:"a",dayPeriod:"a",hour:{numeric:"h","2-digit":"hh"},minute:{numeric:"m","2-digit":"mm"},second:{numeric:"s","2-digit":"ss"},timeZoneName:{long:"ZZZZZ",short:"ZZZ"}};function aG(e,t){const{type:n,value:r}=e;if(n==="literal"){const i=/^\s+$/.test(r);return{literal:!i,val:i?" ":r}}const s=t[n];let o=iG[n];if(typeof o=="object"&&(o=o[s]),o)return{literal:!1,val:o}}function lG(e){return[`^${e.map(n=>n.regex).reduce((n,r)=>`${n}(${r.source})`,"")}$`,e]}function uG(e,t,n){const r=e.match(t);if(r){const s={};let o=1;for(const i in n)if(so(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 cG(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 tt(e.z)||(n=zr.create(e.z)),tt(e.Z)||(n||(n=new Jt(e.Z)),r=e.Z),tt(e.q)||(e.M=(e.q-1)*3+1),tt(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),tt(e.u)||(e.S=gm(e.u)),[Object.keys(e).reduce((o,i)=>{const a=t(i);return a&&(o[a]=e[i]),o},{}),n,r]}let ju=null;function dG(){return ju||(ju=Ne.fromMillis(1555555555555)),ju}function mG(e,t){if(e.literal)return e;const n=Ut.macroTokenToFormatOpts(e.val),r=k1(n,t);return r==null||r.includes(void 0)?e:r}function z1(e,t){return Array.prototype.concat(...e.map(n=>mG(n,t)))}function w1(e,t,n){const r=z1(Ut.parseFormat(n),e),s=r.map(i=>oG(i,e)),o=s.find(i=>i.invalidReason);if(o)return{input:t,tokens:r,invalidReason:o.invalidReason};{const[i,a]=lG(s),l=RegExp(i,"i"),[c,d]=uG(t,l,a),[f,m,p]=d?cG(d):[null,null,void 0];if(so(d,"a")&&so(d,"H"))throw new Vo("Can't include meridiem when specifying 24-hour format");return{input:t,tokens:r,regex:l,rawMatches:c,matches:d,result:f,zone:m,specificOffset:p}}}function fG(e,t,n){const{result:r,zone:s,specificOffset:o,invalidReason:i}=w1(e,t,n);return[r,s,o,i]}function k1(e,t){return e?Ut.create(t,e).formatDateTimeParts(dG()).map(s=>aG(s,e)):null}const x1=[0,31,59,90,120,151,181,212,243,273,304,334],E1=[0,31,60,91,121,152,182,213,244,274,305,335];function Sn(e,t){return new Nn("unit out of range",`you specified ${t} (of type ${typeof t}) as a ${e}, which is invalid`)}function S1(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 $1(e,t,n){return n+(Li(e)?E1:x1)[t-1]}function A1(e,t){const n=Li(e)?E1:x1,r=n.findIndex(o=>o<t),s=t-n[r];return{month:r+1,day:s}}function Xc(e){const{year:t,month:n,day:r}=e,s=$1(t,n,r),o=S1(t,n,r);let i=Math.floor((s-o+10)/7),a;return i<1?(a=t-1,i=Cl(a)):i>Cl(t)?(a=t+1,i=1):a=t,{weekYear:a,weekNumber:i,weekday:o,...uu(e)}}function sh(e){const{weekYear:t,weekNumber:n,weekday:r}=e,s=S1(t,1,4),o=si(t);let i=n*7+r-s-3,a;i<1?(a=t-1,i+=si(a)):i>o?(a=t+1,i-=si(t)):a=t;const{month:l,day:c}=A1(a,i);return{year:a,month:l,day:c,...uu(e)}}function Uu(e){const{year:t,month:n,day:r}=e,s=$1(t,n,r);return{year:t,ordinal:s,...uu(e)}}function oh(e){const{year:t,ordinal:n}=e,{month:r,day:s}=A1(t,n);return{year:t,month:r,day:s,...uu(e)}}function pG(e){const t=au(e.weekYear),n=gr(e.weekNumber,1,Cl(e.weekYear)),r=gr(e.weekday,1,7);return t?n?r?!1:Sn("weekday",e.weekday):Sn("week",e.week):Sn("weekYear",e.weekYear)}function hG(e){const t=au(e.year),n=gr(e.ordinal,1,si(e.year));return t?n?!1:Sn("ordinal",e.ordinal):Sn("year",e.year)}function T1(e){const t=au(e.year),n=gr(e.month,1,12),r=gr(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 O1(e){const{hour:t,minute:n,second:r,millisecond:s}=e,o=gr(t,0,23)||t===24&&n===0&&r===0&&s===0,i=gr(n,0,59),a=gr(r,0,59),l=gr(s,0,999);return o?i?a?l?!1:Sn("millisecond",s):Sn("second",r):Sn("minute",n):Sn("hour",t)}const qu="Invalid DateTime",ih=864e13;function Va(e){return new Nn("unsupported zone",`the zone "${e.name}" is not supported`)}function Wu(e){return e.weekData===null&&(e.weekData=Xc(e.c)),e.weekData}function $o(e,t){const n={ts:e.ts,zone:e.zone,c:e.c,o:e.o,loc:e.loc,invalid:e.invalid};return new Ne({...n,...t,old:n})}function D1(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 ah(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 el(e,t,n){return D1(vm(e),t,n)}function lh(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=Je.fromObject({years:t.years-Math.trunc(t.years),quarters:t.quarters-Math.trunc(t.quarters),months:t.months-Math.trunc(t.months),weeks:t.weeks-Math.trunc(t.weeks),days:t.days-Math.trunc(t.days),hours:t.hours,minutes:t.minutes,seconds:t.seconds,milliseconds:t.milliseconds}).as("milliseconds"),a=vm(o);let[l,c]=D1(a,n,e.zone);return i!==0&&(l+=i,c=e.zone.offset(l)),{ts:l,o:c}}function Ao(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=Ne.fromObject(e,{...n,zone:l,specificOffset:o});return i?c:c.setZone(a)}else return Ne.invalid(new Nn("unparsable",`the input "${s}" can't be parsed as ${r}`))}function Ba(e,t,n=!0){return e.isValid?Ut.create(gt.create("en-US"),{allowZ:n,forceSimple:!0}).formatDateTimeFromString(e,t):null}function Gu(e,t){const n=e.c.year>9999||e.c.year<0;let r="";return n&&e.c.year>=0&&(r+="+"),r+=At(e.c.year,n?6:4),t?(r+="-",r+=At(e.c.month),r+="-",r+=At(e.c.day)):(r+=At(e.c.month),r+=At(e.c.day)),r}function uh(e,t,n,r,s,o){let i=At(e.c.hour);return t?(i+=":",i+=At(e.c.minute),(e.c.second!==0||!n)&&(i+=":")):i+=At(e.c.minute),(e.c.second!==0||!n)&&(i+=At(e.c.second),(e.c.millisecond!==0||!r)&&(i+=".",i+=At(e.c.millisecond,3))),s&&(e.isOffsetFixed&&e.offset===0&&!o?i+="Z":e.o<0?(i+="-",i+=At(Math.trunc(-e.o/60)),i+=":",i+=At(Math.trunc(-e.o%60))):(i+="+",i+=At(Math.trunc(e.o/60)),i+=":",i+=At(Math.trunc(e.o%60)))),o&&(i+="["+e.zone.ianaName+"]"),i}const P1={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},_G={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},gG={ordinal:1,hour:0,minute:0,second:0,millisecond:0},I1=["year","month","day","hour","minute","second","millisecond"],yG=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],vG=["year","ordinal","hour","minute","second","millisecond"];function ch(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 Rv(e);return t}function dh(e,t){const n=Vr(t.zone,$t.defaultZone),r=gt.fromObject(t),s=$t.now();let o,i;if(tt(e.year))o=s;else{for(const c of I1)tt(e[c])&&(e[c]=P1[c]);const a=T1(e)||O1(e);if(a)return Ne.invalid(a);const l=n.offset(s);[o,i]=el(e,l,n)}return new Ne({ts:o,zone:n,loc:r,o:i})}function mh(e,t,n){const r=tt(n.round)?!0:n.round,s=(i,a)=>(i=ym(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 fh(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 Ne{constructor(t){const n=t.zone||$t.defaultZone;let r=t.invalid||(Number.isNaN(t.ts)?new Nn("invalid input"):null)||(n.isValid?null:Va(n));this.ts=tt(t.ts)?$t.now():t.ts;let s=null,o=null;if(!r)if(t.old&&t.old.ts===this.ts&&t.old.zone.equals(n))[s,o]=[t.old.c,t.old.o];else{const a=n.offset(this.ts);s=ah(this.ts,a),r=Number.isNaN(s.year)?new Nn("invalid input"):null,s=r?null:s,o=r?null:a}this._zone=n,this.loc=t.loc||gt.create(),this.invalid=r,this.weekData=null,this.c=s,this.o=o,this.isLuxonDateTime=!0}static now(){return new Ne({})}static local(){const[t,n]=fh(arguments),[r,s,o,i,a,l,c]=n;return dh({year:r,month:s,day:o,hour:i,minute:a,second:l,millisecond:c},t)}static utc(){const[t,n]=fh(arguments),[r,s,o,i,a,l,c]=n;return t.zone=Jt.utcInstance,dh({year:r,month:s,day:o,hour:i,minute:a,second:l,millisecond:c},t)}static fromJSDate(t,n={}){const r=Uq(t)?t.valueOf():NaN;if(Number.isNaN(r))return Ne.invalid("invalid input");const s=Vr(n.zone,$t.defaultZone);return s.isValid?new Ne({ts:r,zone:s,loc:gt.fromObject(n)}):Ne.invalid(Va(s))}static fromMillis(t,n={}){if(ps(t))return t<-ih||t>ih?Ne.invalid("Timestamp out of range"):new Ne({ts:t,zone:Vr(n.zone,$t.defaultZone),loc:gt.fromObject(n)});throw new xn(`fromMillis requires a numerical input, but received a ${typeof t} with value ${t}`)}static fromSeconds(t,n={}){if(ps(t))return new Ne({ts:t*1e3,zone:Vr(n.zone,$t.defaultZone),loc:gt.fromObject(n)});throw new xn("fromSeconds requires a numerical input")}static fromObject(t,n={}){t=t||{};const r=Vr(n.zone,$t.defaultZone);if(!r.isValid)return Ne.invalid(Va(r));const s=$t.now(),o=tt(n.specificOffset)?r.offset(s):n.specificOffset,i=zl(t,ch),a=!tt(i.ordinal),l=!tt(i.year),c=!tt(i.month)||!tt(i.day),d=l||c,f=i.weekYear||i.weekNumber,m=gt.fromObject(n);if((d||a)&&f)throw new Vo("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(c&&a)throw new Vo("Can't mix ordinal dates with month/day");const p=f||i.weekday&&!d;let h,_,C=ah(s,o);p?(h=yG,_=_G,C=Xc(C)):a?(h=vG,_=gG,C=Uu(C)):(h=I1,_=P1);let b=!1;for(const I of h){const D=i[I];tt(D)?b?i[I]=_[I]:i[I]=C[I]:b=!0}const y=p?pG(i):a?hG(i):T1(i),k=y||O1(i);if(k)return Ne.invalid(k);const z=p?sh(i):a?oh(i):i,[x,T]=el(z,o,r),L=new Ne({ts:x,zone:r,o:T,loc:m});return i.weekday&&d&&t.weekday!==L.weekday?Ne.invalid("mismatched weekday",`you can't specify both a weekday of ${i.weekday} and a date of ${L.toISO()}`):L}static fromISO(t,n={}){const[r,s]=PW(t);return Ao(r,s,n,"ISO 8601",t)}static fromRFC2822(t,n={}){const[r,s]=IW(t);return Ao(r,s,n,"RFC 2822",t)}static fromHTTP(t,n={}){const[r,s]=FW(t);return Ao(r,s,n,"HTTP",n)}static fromFormat(t,n,r={}){if(tt(t)||tt(n))throw new xn("fromFormat requires an input string and a format");const{locale:s=null,numberingSystem:o=null}=r,i=gt.fromOpts({locale:s,numberingSystem:o,defaultToEN:!0}),[a,l,c,d]=fG(i,t,n);return d?Ne.invalid(d):Ao(a,l,r,`format ${n}`,t,c)}static fromString(t,n,r={}){return Ne.fromFormat(t,n,r)}static fromSQL(t,n={}){const[r,s]=HW(t);return Ao(r,s,n,"SQL",t)}static invalid(t,n=null){if(!t)throw new xn("need to specify a reason the DateTime is invalid");const r=t instanceof Nn?t:new Nn(t,n);if($t.throwOnInvalid)throw new Cq(r);return new Ne({invalid:r})}static isDateTime(t){return t&&t.isLuxonDateTime||!1}static parseFormatForOpts(t,n={}){const r=k1(t,gt.fromObject(n));return r?r.map(s=>s?s.val:null).join(""):null}static expandFormat(t,n={}){return z1(Ut.parseFormat(t),gt.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?Wu(this).weekYear:NaN}get weekNumber(){return this.isValid?Wu(this).weekNumber:NaN}get weekday(){return this.isValid?Wu(this).weekday:NaN}get ordinal(){return this.isValid?Uu(this.c).ordinal:NaN}get monthShort(){return this.isValid?Ma.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?Ma.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?Ma.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?Ma.weekdays("long",{locObj:this.loc})[this.weekday-1]:null}get offset(){return this.isValid?+this.o:NaN}get offsetNameShort(){return this.isValid?this.zone.offsetName(this.ts,{format:"short",locale:this.locale}):null}get offsetNameLong(){return this.isValid?this.zone.offsetName(this.ts,{format:"long",locale:this.locale}):null}get isOffsetFixed(){return this.isValid?this.zone.isUniversal:null}get isInDST(){return this.isOffsetFixed?!1:this.offset>this.set({month:1,day:1}).offset||this.offset>this.set({month:5}).offset}get isInLeapYear(){return Li(this.year)}get daysInMonth(){return bl(this.year,this.month)}get daysInYear(){return this.isValid?si(this.year):NaN}get weeksInWeekYear(){return this.isValid?Cl(this.weekYear):NaN}resolvedLocaleOptions(t={}){const{locale:n,numberingSystem:r,calendar:s}=Ut.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($t.defaultZone)}setZone(t,{keepLocalTime:n=!1,keepCalendarTime:r=!1}={}){if(t=Vr(t,$t.defaultZone),t.equals(this.zone))return this;if(t.isValid){let s=this.ts;if(n||r){const o=t.offset(this.ts),i=this.toObject();[s]=el(i,o,t)}return $o(this,{ts:s,zone:t})}else return Ne.invalid(Va(t))}reconfigure({locale:t,numberingSystem:n,outputCalendar:r}={}){const s=this.loc.clone({locale:t,numberingSystem:n,outputCalendar:r});return $o(this,{loc:s})}setLocale(t){return this.reconfigure({locale:t})}set(t){if(!this.isValid)return this;const n=zl(t,ch),r=!tt(n.weekYear)||!tt(n.weekNumber)||!tt(n.weekday),s=!tt(n.ordinal),o=!tt(n.year),i=!tt(n.month)||!tt(n.day),a=o||i,l=n.weekYear||n.weekNumber;if((a||s)&&l)throw new Vo("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(i&&s)throw new Vo("Can't mix ordinal dates with month/day");let c;r?c=sh({...Xc(this.c),...n}):tt(n.ordinal)?(c={...this.toObject(),...n},tt(n.day)&&(c.day=Math.min(bl(c.year,c.month),c.day))):c=oh({...Uu(this.c),...n});const[d,f]=el(c,this.o,this.zone);return $o(this,{ts:d,o:f})}plus(t){if(!this.isValid)return this;const n=Je.fromDurationLike(t);return $o(this,lh(this,n))}minus(t){if(!this.isValid)return this;const n=Je.fromDurationLike(t).negate();return $o(this,lh(this,n))}startOf(t){if(!this.isValid)return this;const n={},r=Je.normalizeUnit(t);switch(r){case"years":n.month=1;case"quarters":case"months":n.day=1;case"weeks":case"days":n.hour=0;case"hours":n.minute=0;case"minutes":n.second=0;case"seconds":n.millisecond=0;break}if(r==="weeks"&&(n.weekday=1),r==="quarters"){const s=Math.ceil(this.month/3);n.month=(s-1)*3+1}return this.set(n)}endOf(t){return this.isValid?this.plus({[t]:1}).startOf(t).minus(1):this}toFormat(t,n={}){return this.isValid?Ut.create(this.loc.redefaultToEN(n)).formatDateTimeFromString(this,t):qu}toLocaleString(t=vl,n={}){return this.isValid?Ut.create(this.loc.clone(n),t).formatDateTime(this):qu}toLocaleParts(t={}){return this.isValid?Ut.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=Gu(this,i);return a+="T",a+=uh(this,i,n,r,s,o),a}toISODate({format:t="extended"}={}){return this.isValid?Gu(this,t==="extended"):null}toISOWeekDate(){return Ba(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":"")+uh(this,i==="extended",n,t,r,o):null}toRFC2822(){return Ba(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)}toHTTP(){return Ba(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")}toSQLDate(){return this.isValid?Gu(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")),Ba(this,s,!0)}toSQL(t={}){return this.isValid?`${this.toSQLDate()} ${this.toSQLTime(t)}`:null}toString(){return this.isValid?this.toISO():qu}valueOf(){return this.toMillis()}toMillis(){return this.isValid?this.ts:NaN}toSeconds(){return this.isValid?this.ts/1e3:NaN}toUnixInteger(){return this.isValid?Math.floor(this.ts/1e3):NaN}toJSON(){return this.toISO()}toBSON(){return this.toJSDate()}toObject(t={}){if(!this.isValid)return{};const n={...this.c};return t.includeConfig&&(n.outputCalendar=this.outputCalendar,n.numberingSystem=this.loc.numberingSystem,n.locale=this.loc.locale),n}toJSDate(){return new Date(this.isValid?this.ts:NaN)}diff(t,n="milliseconds",r={}){if(!this.isValid||!t.isValid)return Je.invalid("created by diffing an invalid DateTime");const s={locale:this.locale,numberingSystem:this.numberingSystem,...r},o=qq(n).map(Je.normalizeUnit),i=t.valueOf()>this.valueOf(),a=i?this:t,l=i?t:this,c=XW(a,l,o,s);return i?c.negate():c}diffNow(t="milliseconds",n={}){return this.diff(Ne.now(),t,n)}until(t){return this.isValid?xt.fromDateTimes(this,t):this}hasSame(t,n){if(!this.isValid)return!1;const r=t.valueOf(),s=this.setZone(t.zone,{keepLocalTime:!0});return s.startOf(n)<=r&&r<=s.endOf(n)}equals(t){return this.isValid&&t.isValid&&this.valueOf()===t.valueOf()&&this.zone.equals(t.zone)&&this.loc.equals(t.loc)}toRelative(t={}){if(!this.isValid)return null;const n=t.base||Ne.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),mh(n,this.plus(r),{...t,numeric:"always",units:s,unit:o})}toRelativeCalendar(t={}){return this.isValid?mh(t.base||Ne.fromObject({},{zone:this.zone}),this,{...t,numeric:"auto",units:["years","months","days"],calendary:!0}):null}static min(...t){if(!t.every(Ne.isDateTime))throw new xn("min requires all arguments be DateTimes");return Jp(t,n=>n.valueOf(),Math.min)}static max(...t){if(!t.every(Ne.isDateTime))throw new xn("max requires all arguments be DateTimes");return Jp(t,n=>n.valueOf(),Math.max)}static fromFormatExplain(t,n,r={}){const{locale:s=null,numberingSystem:o=null}=r,i=gt.fromOpts({locale:s,numberingSystem:o,defaultToEN:!0});return w1(i,t,n)}static fromStringExplain(t,n,r={}){return Ne.fromFormatExplain(t,n,r)}static get DATE_SHORT(){return vl}static get DATE_MED(){return Lv}static get DATE_MED_WITH_WEEKDAY(){return kq}static get DATE_FULL(){return Mv}static get DATE_HUGE(){return Nv}static get TIME_SIMPLE(){return Vv}static get TIME_WITH_SECONDS(){return Bv}static get TIME_WITH_SHORT_OFFSET(){return Hv}static get TIME_WITH_LONG_OFFSET(){return jv}static get TIME_24_SIMPLE(){return Uv}static get TIME_24_WITH_SECONDS(){return qv}static get TIME_24_WITH_SHORT_OFFSET(){return Wv}static get TIME_24_WITH_LONG_OFFSET(){return Gv}static get DATETIME_SHORT(){return Kv}static get DATETIME_SHORT_WITH_SECONDS(){return Zv}static get DATETIME_MED(){return Yv}static get DATETIME_MED_WITH_SECONDS(){return Jv}static get DATETIME_MED_WITH_WEEKDAY(){return xq}static get DATETIME_FULL(){return Xv}static get DATETIME_FULL_WITH_SECONDS(){return Qv}static get DATETIME_HUGE(){return e1}static get DATETIME_HUGE_WITH_SECONDS(){return t1}}function To(e){if(Ne.isDateTime(e))return e;if(e&&e.valueOf&&ps(e.valueOf()))return Ne.fromJSDate(e);if(e&&typeof e=="object")return Ne.fromObject(e);throw new xn(`Unknown datetime argument: ${e}, of type ${typeof e}`)}const{t:Ku,locale:Zu}=Hl.global,bG={durationInHours(e){const t=Math.floor(e/1e3);return t>3600?Je.fromObject({seconds:t}).shiftTo("hours","minutes","seconds").toFormat("hh:mm:ss"):Je.fromObject({seconds:t}).shiftTo("minutes","seconds").toFormat("mm:ss")},durationInDays(e){const t=Math.floor(e/6e4);return t>1440?Je.fromObject({minutes:t}).shiftTo("days","hours","minutes").toHuman():t>60?Je.fromObject({minutes:t}).shiftTo("hours","minutes").toHuman():Je.fromObject({minutes:t}).shiftTo("minutes").toHuman()},date(e){return Ne.fromISO(e).setLocale(Zu.value).toLocaleString(Ne.DATE_FULL)},datetime(e){return Ne.fromISO(e).setLocale(Zu.value).toLocaleString(Ne.DATETIME_MED)},timeFromNow(e){const t=Ne.now().diff(Ne.fromISO(e));return this.durationInDays(t.as("milliseconds"))},number(e){return e.toLocaleString(Zu.value)},channels(e){return e===1?Ku("filter.mono"):e===2?Ku("filter.stereo"):e?Ku("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`}},CG={mdiAccountMusic:x8,mdiAlbum:E8,mdiArrowCollapseDown:$8,mdiBookOpenPageVariant:A8,mdiBookOpenVariant:T8,mdiBookshelf:O8,mdiBroadcast:D8,mdiCancel:eu,mdiCast:P8,mdiCastVariant:I8,mdiCellphone:F8,mdiCheck:R8,mdiChevronDown:L8,mdiChevronUp:M8,mdiContentSave:N8,mdiDelete:V8,mdiDeleteEmpty:B8,mdiDotsHorizontal:H8,mdiDotsVertical:j8,mdiDragHorizontal:U8,mdiFastForward30:q8,mdiFileMusic:W8,mdiFileOutline:G8,mdiFire:K8,mdiFolder:Z8,mdiFolderOpen:Y8,mdiMagnify:J8,mdiMenu:X8,mdiMicrophone:Q8,mdiMusic:eT,mdiMusicBoxMultiple:tT,mdiOpenInNew:nT,mdiPause:rT,mdiPencil:sT,mdiPipe:oT,mdiPlay:iT,mdiPlaylistPlay:aT,mdiPlaylistPlus:lT,mdiRadio:uT,mdiRadioTower:cT,mdiRefresh:dT,mdiRepeat:mT,mdiRepeatOff:fT,mdiRepeatOnce:pT,mdiRewind10:hT,mdiRss:_T,mdiServer:gT,mdiShuffle:yT,mdiShuffleDisabled:vT,mdiSkipBackward:bT,mdiSkipForward:CT,mdiSpeaker:zT,mdiSpotify:wT,mdiStop:kT,mdiSubdirectoryArrowLeft:xT,mdiVolumeHigh:ET,mdiVolumeOff:ST,mdiWeb:$T},zG={name:"NavbarItemLink",props:{to:String,exact:Boolean},computed:{is_active(){return this.exact?this.$route.path===this.to:this.$route.path.startsWith(this.to)},show_player_menu:{get(){return this.$store.state.show_player_menu},set(e){this.$store.commit(Qs,e)}},show_burger_menu:{get(){return this.$store.state.show_burger_menu},set(e){this.$store.commit(Xs,e)}}},methods:{open_link(){this.show_burger_menu&&this.$store.commit(Xs,!1),this.show_player_menu&&this.$store.commit(Qs,!1),this.$router.push({path:this.to})},full_path(){return this.$router.resolve(this.to).href}}},wG=["href"];function kG(e,t,n,r,s,o){return w(),$("a",{class:Te(["navbar-item",{"is-active":o.is_active}]),href:o.full_path(),onClick:t[0]||(t[0]=ot(i=>o.open_link(),["stop","prevent"]))},[lt(e.$slots,"default")],10,wG)}const F1=se(zG,[["render",kG]]),xG={name:"NavbarTop",components:{NavbarItemLink:F1},data(){return{show_settings_menu:!1}},computed:{is_visible_playlists(){return this.$store.getters.settings_option("webinterface","show_menu_item_playlists").value},is_visible_music(){return this.$store.getters.settings_option("webinterface","show_menu_item_music").value},is_visible_podcasts(){return this.$store.getters.settings_option("webinterface","show_menu_item_podcasts").value},is_visible_audiobooks(){return this.$store.getters.settings_option("webinterface","show_menu_item_audiobooks").value},is_visible_radio(){return this.$store.getters.settings_option("webinterface","show_menu_item_radio").value},is_visible_files(){return this.$store.getters.settings_option("webinterface","show_menu_item_files").value},is_visible_search(){return this.$store.getters.settings_option("webinterface","show_menu_item_search").value},player(){return this.$store.state.player},config(){return this.$store.state.config},library(){return this.$store.state.library},audiobooks(){return this.$store.state.audiobooks_count},podcasts(){return this.$store.state.podcasts_count},spotify_enabled(){return this.$store.state.spotify.webapi_token_valid},show_burger_menu:{get(){return this.$store.state.show_burger_menu},set(e){this.$store.commit(Xs,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(Ti,e)}},zindex(){return this.show_player_menu?"z-index: 20":""}},watch:{$route(e,t){this.show_settings_menu=!1}},methods:{on_click_outside_settings(){this.show_settings_menu=!this.show_settings_menu},open_update_dialog(){this.show_update_dialog=!0,this.show_settings_menu=!1,this.show_burger_menu=!1}}},EG={class:"navbar-brand"},SG=u("span",null,null,-1),$G=u("span",null,null,-1),AG=u("span",null,null,-1),TG=[SG,$G,AG],OG=u("div",{class:"navbar-start"},null,-1),DG={class:"navbar-end"},PG={class:"navbar-link is-arrowless"},IG=["textContent"],FG={class:"navbar-dropdown is-right"},RG=["textContent"],LG=["textContent"],MG=["textContent"],NG=["textContent"],VG=["textContent"],BG=["textContent"],HG=["textContent"],jG=["textContent"],UG=["textContent"],qG=["textContent"],WG=["textContent"],GG=u("hr",{class:"fd-navbar-divider"},null,-1),KG=["textContent"],ZG=u("div",{class:"navbar-item is-hidden-desktop"},null,-1);function YG(e,t,n,r,s,o){const i=S("mdicon"),a=S("navbar-item-link");return w(),$("nav",{class:"navbar is-light is-fixed-top",style:rn(o.zindex),role:"navigation","aria-label":"main navigation"},[u("div",EG,[o.is_visible_playlists?(w(),be(a,{key:0,to:"/playlists"},{default:E(()=>[v(i,{class:"icon",name:"music-box-multiple",size:"16"})]),_:1})):H("",!0),o.is_visible_music?(w(),be(a,{key:1,to:"/music"},{default:E(()=>[v(i,{class:"icon",name:"music",size:"16"})]),_:1})):H("",!0),o.is_visible_podcasts?(w(),be(a,{key:2,to:"/podcasts"},{default:E(()=>[v(i,{class:"icon",name:"microphone",size:"16"})]),_:1})):H("",!0),o.is_visible_audiobooks?(w(),be(a,{key:3,to:"/audiobooks"},{default:E(()=>[v(i,{class:"icon",name:"book-open-variant",size:"16"})]),_:1})):H("",!0),o.is_visible_radio?(w(),be(a,{key:4,to:"/radio"},{default:E(()=>[v(i,{class:"icon",name:"radio",size:"16"})]),_:1})):H("",!0),o.is_visible_files?(w(),be(a,{key:5,to:"/files"},{default:E(()=>[v(i,{class:"icon",name:"folder-open",size:"16"})]),_:1})):H("",!0),o.is_visible_search?(w(),be(a,{key:6,to:"/search"},{default:E(()=>[v(i,{class:"icon",name:"magnify",size:"16"})]),_:1})):H("",!0),u("div",{class:Te(["navbar-burger",{"is-active":o.show_burger_menu}]),onClick:t[0]||(t[0]=l=>o.show_burger_menu=!o.show_burger_menu)},TG,2)]),u("div",{class:Te(["navbar-menu",{"is-active":o.show_burger_menu}])},[OG,u("div",DG,[u("div",{class:Te(["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",PG,[v(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,IG)]),u("div",FG,[v(a,{to:"/playlists"},{default:E(()=>[v(i,{class:"icon",name:"music-box-multiple",size:"16"}),u("b",{textContent:g(e.$t("navigation.playlists"))},null,8,RG)]),_:1}),v(a,{to:"/music",exact:""},{default:E(()=>[v(i,{class:"icon",name:"music",size:"16"}),u("b",{textContent:g(e.$t("navigation.music"))},null,8,LG)]),_:1}),v(a,{to:"/music/artists"},{default:E(()=>[u("span",{class:"fd-navbar-item-level2",textContent:g(e.$t("navigation.artists"))},null,8,MG)]),_:1}),v(a,{to:"/music/albums"},{default:E(()=>[u("span",{class:"fd-navbar-item-level2",textContent:g(e.$t("navigation.albums"))},null,8,NG)]),_:1}),v(a,{to:"/music/genres"},{default:E(()=>[u("span",{class:"fd-navbar-item-level2",textContent:g(e.$t("navigation.genres"))},null,8,VG)]),_:1}),o.spotify_enabled?(w(),be(a,{key:0,to:"/music/spotify"},{default:E(()=>[u("span",{class:"fd-navbar-item-level2",textContent:g(e.$t("navigation.spotify"))},null,8,BG)]),_:1})):H("",!0),v(a,{to:"/podcasts"},{default:E(()=>[v(i,{class:"icon",name:"microphone",size:"16"}),u("b",{textContent:g(e.$t("navigation.podcasts"))},null,8,HG)]),_:1}),v(a,{to:"/audiobooks"},{default:E(()=>[v(i,{class:"icon",name:"book-open-variant",size:"16"}),u("b",{textContent:g(e.$t("navigation.audiobooks"))},null,8,jG)]),_:1}),v(a,{to:"/radio"},{default:E(()=>[v(i,{class:"icon",name:"radio",size:"16"}),u("b",{textContent:g(e.$t("navigation.radio"))},null,8,UG)]),_:1}),v(a,{to:"/files"},{default:E(()=>[v(i,{class:"icon",name:"folder-open",size:"16"}),u("b",{textContent:g(e.$t("navigation.files"))},null,8,qG)]),_:1}),v(a,{to:"/search"},{default:E(()=>[v(i,{class:"icon",name:"magnify",size:"16"}),u("b",{textContent:g(e.$t("navigation.search"))},null,8,WG)]),_:1}),GG,v(a,{to:"/settings/webinterface"},{default:E(()=>[dt(g(e.$t("navigation.settings")),1)]),_:1}),u("a",{class:"navbar-item",onClick:t[1]||(t[1]=ot(l=>o.open_update_dialog(),["stop","prevent"])),textContent:g(e.$t("navigation.update-library"))},null,8,KG),v(a,{to:"/about"},{default:E(()=>[dt(g(e.$t("navigation.about")),1)]),_:1}),ZG])],2)])],2),ut(u("div",{class:"is-overlay",onClick:t[3]||(t[3]=l=>s.show_settings_menu=!1)},null,512),[[hi,s.show_settings_menu]])],4)}const JG=se(xG,[["render",YG]]),Oo={_audio:new Audio,_context:null,_source:null,_gain:null,setupAudio(){const e=window.AudioContext||window.webkitAudioContext;return this._context=new e,this._source=this._context.createMediaElementSource(this._audio),this._gain=this._context.createGain(),this._source.connect(this._gain),this._gain.connect(this._context.destination),this._audio.addEventListener("canplaythrough",t=>{this._audio.play()}),this._audio.addEventListener("canplay",t=>{this._audio.play()}),this._audio},setVolume(e){this._gain&&(e=parseFloat(e)||0,e=e<0?0:e,e=e>1?1:e,this._gain.gain.value=e)},playSource(e){this.stopAudio(),this._context.resume().then(()=>{this._audio.src=String(e||"")+"?x="+Date.now(),this._audio.crossOrigin="anonymous",this._audio.load()})},stopAudio(){try{this._audio.pause()}catch{}try{this._audio.stop()}catch{}try{this._audio.close()}catch{}}},XG={name:"NavbarItemOutput",props:["output"],data(){return{volume:this.output.selected?this.output.volume:0,cursor:eu}},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(){N.player_output_volume(this.output.id,this.volume)},set_enabled(){const e={selected:!this.output.selected};N.output_update(this.output.id,e)}}},QG={class:"navbar-item"},eK={class:"level is-mobile"},tK={class:"level-left is-flex-grow-1"},nK={class:"level-item is-flex-grow-0"},rK={class:"level-item"},sK={class:"is-flex-grow-1"},oK=["textContent"],iK=["disabled"];function aK(e,t,n,r,s,o){const i=S("mdicon");return w(),$("div",QG,[u("div",eK,[u("div",tK,[u("div",nK,[u("a",{class:Te(["button is-clickable is-white is-small",{"has-text-grey-light":!n.output.selected}]),onClick:t[0]||(t[0]=(...a)=>o.set_enabled&&o.set_enabled(...a))},[v(i,{class:"icon",name:o.type_class,size:"18",title:n.output.type},null,8,["name","title"])],2)]),u("div",rK,[u("div",sK,[u("p",{class:Te(["heading",{"has-text-grey-light":!n.output.selected}]),textContent:g(n.output.name)},null,10,oK),ut(u("input",{"onUpdate:modelValue":t[1]||(t[1]=a=>s.volume=a),disabled:!n.output.selected,class:Te(["slider",{"is-inactive":!n.output.selected}]),max:"100",type:"range",style:rn({"--ratio":s.volume/100,"--cursor":e.$filters.cursor(s.cursor)}),onChange:t[2]||(t[2]=(...a)=>o.change_volume&&o.change_volume(...a))},null,46,iK),[[Dt,s.volume]])])])])])])}const lK=se(XG,[["render",aK]]),uK={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?N.player_pause():this.is_playing&&!this.is_pause_allowed?N.player_stop():N.player_play()}}},cK=["disabled"];function dK(e,t,n,r,s,o){const i=S("mdicon");return w(),$("a",{disabled:o.disabled,onClick:t[0]||(t[0]=(...a)=>o.toggle_play_pause&&o.toggle_play_pause(...a))},[v(i,{name:o.icon_name,size:n.icon_size,title:e.$t("player.button."+o.icon_name)},null,8,["name","size","title"])],8,cK)}const mK=se(uK,[["render",dK]]),fK={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||N.player_next()}}},pK=["disabled"];function hK(e,t,n,r,s,o){const i=S("mdicon");return w(),$("a",{disabled:o.disabled,onClick:t[0]||(t[0]=(...a)=>o.play_next&&o.play_next(...a))},[v(i,{name:"skip-forward",size:n.icon_size,title:e.$t("player.button.skip-forward")},null,8,["size","title"])],8,pK)}const _K=se(fK,[["render",hK]]),gK={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||N.player_previous()}}},yK=["disabled"];function vK(e,t,n,r,s,o){const i=S("mdicon");return w(),$("a",{disabled:o.disabled,onClick:t[0]||(t[0]=(...a)=>o.play_previous&&o.play_previous(...a))},[v(i,{name:"skip-backward",size:n.icon_size,title:e.$t("player.button.skip-backward")},null,8,["size","title"])],8,yK)}const bK=se(gK,[["render",vK]]),CK={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(){N.player_shuffle(!this.is_shuffle)}}};function zK(e,t,n,r,s,o){const i=S("mdicon");return w(),$("a",{class:Te({"is-info":o.is_shuffle}),onClick:t[0]||(t[0]=(...a)=>o.toggle_shuffle_mode&&o.toggle_shuffle_mode(...a))},[v(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 wK=se(CK,[["render",zK]]),kK={name:"PlayerButtonConsume",props:{icon_size:{type:Number,default:16}},computed:{is_consume(){return this.$store.state.player.consume}},methods:{toggle_consume_mode(){N.player_consume(!this.is_consume)}}};function xK(e,t,n,r,s,o){const i=S("mdicon");return w(),$("a",{class:Te({"is-info":o.is_consume}),onClick:t[0]||(t[0]=(...a)=>o.toggle_consume_mode&&o.toggle_consume_mode(...a))},[v(i,{class:"icon",name:"fire",size:n.icon_size,title:e.$t("player.button.consume")},null,8,["size","title"])],2)}const EK=se(kK,[["render",xK]]),SK={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?N.player_repeat("single"):this.is_repeat_single?N.player_repeat("off"):N.player_repeat("all")}}};function $K(e,t,n,r,s,o){const i=S("mdicon");return w(),$("a",{class:Te({"is-info":!o.is_repeat_off}),onClick:t[0]||(t[0]=(...a)=>o.toggle_repeat_mode&&o.toggle_repeat_mode(...a))},[v(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 AK=se(SK,[["render",$K]]),TK={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||N.player_seek(this.seek_ms*-1)}}},OK=["disabled"];function DK(e,t,n,r,s,o){const i=S("mdicon");return o.visible?(w(),$("a",{key:0,disabled:o.disabled,onClick:t[0]||(t[0]=(...a)=>o.seek&&o.seek(...a))},[v(i,{name:"rewind-10",size:n.icon_size,title:e.$t("player.button.seek-backward")},null,8,["size","title"])],8,OK)):H("",!0)}const PK=se(TK,[["render",DK]]),IK={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||N.player_seek(this.seek_ms)}}},FK=["disabled"];function RK(e,t,n,r,s,o){const i=S("mdicon");return o.visible?(w(),$("a",{key:0,disabled:o.disabled,onClick:t[0]||(t[0]=(...a)=>o.seek&&o.seek(...a))},[v(i,{name:"fast-forward-30",size:n.icon_size,title:e.$t("player.button.seek-forward")},null,8,["size","title"])],8,FK)):H("",!0)}const LK=se(IK,[["render",RK]]),MK={name:"NavbarBottom",components:{NavbarItemLink:F1,NavbarItemOutput:lK,PlayerButtonPlayPause:mK,PlayerButtonNext:_K,PlayerButtonPrevious:bK,PlayerButtonShuffle:wK,PlayerButtonConsume:EK,PlayerButtonRepeat:AK,PlayerButtonSeekForward:LK,PlayerButtonSeekBack:PK},data(){return{cursor:eu,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(Qs,e)}},show_burger_menu(){return this.$store.state.show_burger_menu},zindex(){return this.show_burger_menu?"z-index: 20":""},now_playing(){return this.$store.getters.now_playing},is_now_playing_page(){return this.$route.path==="/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(){N.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=Oo.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(){Oo.stopAudio(),this.playing=!1},playChannel(){if(this.playing)return;const e="/stream.mp3";this.loading=!0,Oo.playSource(e),Oo.setVolume(this.stream_volume/100)},togglePlay(){if(!this.loading)return this.playing?this.closeAudio():this.playChannel()},change_stream_volume(){Oo.setVolume(this.stream_volume/100)}}},NK={class:"navbar-brand is-flex-grow-1"},VK={class:"is-clipped"},BK={class:"is-size-7 fd-is-text-clipped"},HK=["textContent"],jK=u("br",null,null,-1),UK=["textContent"],qK=["textContent"],WK={class:"navbar-dropdown is-right"},GK={class:"navbar-item"},KK={class:"level is-mobile"},ZK={class:"level-left is-flex-grow-1"},YK={class:"level-item is-flex-grow-0"},JK={class:"icon"},XK={class:"level-item"},QK=["textContent"],eZ=u("hr",{class:"fd-navbar-divider"},null,-1),tZ=u("hr",{class:"fd-navbar-divider"},null,-1),nZ={class:"navbar-item"},rZ={class:"level is-mobile"},sZ={class:"level-left is-flex-grow-1"},oZ={class:"level-item is-flex-grow-0"},iZ={class:"level-item"},aZ={class:"is-flex-grow-1"},lZ=["textContent"],uZ={href:"stream.mp3",class:"heading ml-2",target:"_blank"},cZ=["disabled"],dZ=u("hr",{class:"fd-navbar-divider"},null,-1),mZ={class:"navbar-item is-justify-content-center"},fZ={class:"level"},pZ={class:"level-item"},hZ={class:"buttons has-addons"},_Z=u("div",{class:"navbar-start"},null,-1),gZ={class:"navbar-end"},yZ={class:"navbar-item"},vZ={class:"buttons is-centered"},bZ=u("hr",{class:"fd-navbar-divider"},null,-1),CZ={class:"navbar-item"},zZ={class:"level is-mobile"},wZ={class:"level-left is-flex-grow-1"},kZ={class:"level-item is-flex-grow-0"},xZ={class:"level-item"},EZ={class:"is-flex-grow-1"},SZ=["textContent"],$Z=u("hr",{class:"fd-navbar-divider"},null,-1),AZ={class:"navbar-item mb-5"},TZ={class:"level is-mobile"},OZ={class:"level-left is-flex-grow-1"},DZ={class:"level-item is-flex-grow-0"},PZ={class:"level-item"},IZ={class:"is-flex-grow-1"},FZ=["textContent"],RZ={href:"stream.mp3",class:"heading ml-2",target:"_blank"},LZ=["disabled"];function MZ(e,t,n,r,s,o){const i=S("mdicon"),a=S("navbar-item-link"),l=S("router-link"),c=S("player-button-previous"),d=S("player-button-seek-back"),f=S("player-button-play-pause"),m=S("player-button-seek-forward"),p=S("player-button-next"),h=S("navbar-item-output"),_=S("player-button-repeat"),C=S("player-button-shuffle"),b=S("player-button-consume");return w(),$("nav",{class:Te(["fd-bottom-navbar navbar is-white is-fixed-bottom",{"is-transparent":o.is_now_playing_page,"is-dark":!o.is_now_playing_page}]),style:rn(o.zindex),role:"navigation","aria-label":"player controls"},[u("div",NK,[v(a,{to:"/",exact:""},{default:E(()=>[v(i,{class:"icon",name:"playlist-play",size:"24"})]),_:1}),o.is_now_playing_page?H("",!0):(w(),be(l,{key:0,to:"/now-playing",class:"navbar-item is-expanded is-clipped","active-class":"is-active",exact:""},{default:E(()=>[u("div",VK,[u("p",BK,[u("strong",{textContent:g(o.now_playing.title)},null,8,HK),jK,u("span",{textContent:g(o.now_playing.artist)},null,8,UK),o.now_playing.album?(w(),$("span",{key:0,textContent:g(e.$t("navigation.now-playing",{album:o.now_playing.album}))},null,8,qK)):H("",!0)])])]),_:1})),o.is_now_playing_page?(w(),be(c,{key:1,class:"navbar-item ml-auto",icon_size:24})):H("",!0),o.is_now_playing_page?(w(),be(d,{key:2,seek_ms:1e4,class:"navbar-item",icon_size:24})):H("",!0),v(f,{class:"navbar-item",icon_size:36,show_disabled_message:""}),o.is_now_playing_page?(w(),be(m,{key:3,seek_ms:3e4,class:"navbar-item",icon_size:24})):H("",!0),o.is_now_playing_page?(w(),be(p,{key:4,class:"navbar-item",icon_size:24})):H("",!0),u("a",{class:"navbar-item ml-auto is-hidden-desktop",onClick:t[0]||(t[0]=y=>o.show_player_menu=!o.show_player_menu)},[v(i,{class:"icon",name:o.show_player_menu?"chevron-down":"chevron-up",size:"18"},null,8,["name"])]),u("div",{class:Te(["navbar-item has-dropdown has-dropdown-up ml-auto is-hidden-touch",{"is-active":o.show_player_menu}])},[u("a",{class:"navbar-link is-arrowless",onClick:t[1]||(t[1]=y=>o.show_player_menu=!o.show_player_menu)},[v(i,{class:"icon",name:o.show_player_menu?"chevron-down":"chevron-up",size:"18"},null,8,["name"])]),u("div",WK,[u("div",GK,[u("div",KK,[u("div",ZK,[u("div",YK,[u("a",{class:"button is-white is-small",onClick:t[2]||(t[2]=(...y)=>o.toggle_mute_volume&&o.toggle_mute_volume(...y))},[u("span",JK,[v(i,{name:o.player.volume>0?"volume-high":"volume-off",size:"18"},null,8,["name"])])])]),u("div",XK,[u("div",null,[u("p",{class:"heading",textContent:g(e.$t("navigation.volume"))},null,8,QK),ut(u("input",{"onUpdate:modelValue":t[3]||(t[3]=y=>o.player.volume=y),class:"slider",max:"100",type:"range",style:rn({"--ratio":o.player.volume/100}),onChange:t[4]||(t[4]=(...y)=>o.change_volume&&o.change_volume(...y))},null,36),[[Dt,o.player.volume]])])])])])]),eZ,(w(!0),$(Oe,null,pt(o.outputs,y=>(w(),be(h,{key:y.id,output:y},null,8,["output"]))),128)),tZ,u("div",nZ,[u("div",rZ,[u("div",sZ,[u("div",oZ,[u("a",{class:Te(["button is-clickable is-white is-small",{"has-text-grey-light":!s.playing&&!s.loading,"is-loading":s.loading}]),onClick:t[5]||(t[5]=(...y)=>o.togglePlay&&o.togglePlay(...y))},[v(i,{class:"icon",name:"broadcast",size:"18"})],2)]),u("div",iZ,[u("div",aZ,[u("div",{class:Te(["is-flex is-align-content-center",{"has-text-grey-light":!s.playing}])},[u("p",{class:"heading",textContent:g(e.$t("navigation.stream"))},null,8,lZ),u("a",uZ,[v(i,{class:"icon is-small",name:"open-in-new",size:"16"})])],2),ut(u("input",{"onUpdate:modelValue":t[6]||(t[6]=y=>s.stream_volume=y),disabled:!s.playing,class:Te(["slider",{"is-inactive":!s.playing}]),max:"100",type:"range",style:rn({"--ratio":s.stream_volume/100,"--cursor":e.$filters.cursor(s.cursor)}),onChange:t[7]||(t[7]=(...y)=>o.change_stream_volume&&o.change_stream_volume(...y))},null,46,cZ),[[Dt,s.stream_volume]])])])])])]),dZ,u("div",mZ,[u("div",fZ,[u("div",pZ,[u("div",hZ,[v(_,{class:"button"}),v(C,{class:"button"}),v(b,{class:"button"})])])])])])],2)]),u("div",{class:Te(["navbar-menu is-hidden-desktop",{"is-active":o.show_player_menu}])},[_Z,u("div",gZ,[u("div",yZ,[u("div",vZ,[v(_,{class:"button",icon_size:18}),v(C,{class:"button",icon_size:18}),v(b,{class:"button",icon_size:18})])]),bZ,u("div",CZ,[u("div",zZ,[u("div",wZ,[u("div",kZ,[u("a",{class:"button is-white is-small",onClick:t[8]||(t[8]=(...y)=>o.toggle_mute_volume&&o.toggle_mute_volume(...y))},[v(i,{class:"icon",name:o.player.volume>0?"volume-high":"volume-off",size:"18"},null,8,["name"])])]),u("div",xZ,[u("div",EZ,[u("p",{class:"heading",textContent:g(e.$t("navigation.volume"))},null,8,SZ),ut(u("input",{"onUpdate:modelValue":t[9]||(t[9]=y=>o.player.volume=y),class:"slider",max:"100",type:"range",style:rn({"--ratio":o.player.volume/100}),onChange:t[10]||(t[10]=(...y)=>o.change_volume&&o.change_volume(...y))},null,36),[[Dt,o.player.volume]])])])])])]),(w(!0),$(Oe,null,pt(o.outputs,y=>(w(),be(h,{key:y.id,output:y},null,8,["output"]))),128)),$Z,u("div",AZ,[u("div",TZ,[u("div",OZ,[u("div",DZ,[u("a",{class:Te(["button is-clickable is-white is-small",{"has-text-grey-light":!s.playing&&!s.loading,"is-loading":s.loading}]),onClick:t[11]||(t[11]=(...y)=>o.togglePlay&&o.togglePlay(...y))},[v(i,{class:"icon",name:"radio-tower",size:"16"})],2)]),u("div",PZ,[u("div",IZ,[u("div",{class:Te(["is-flex is-align-content-center",{"has-text-grey-light":!s.playing}])},[u("p",{class:"heading",textContent:g(e.$t("navigation.stream"))},null,8,FZ),u("a",RZ,[v(i,{class:"icon is-small",name:"open-in-new",size:"16"})])],2),ut(u("input",{"onUpdate:modelValue":t[12]||(t[12]=y=>s.stream_volume=y),disabled:!s.playing,class:Te(["slider",{"is-inactive":!s.playing}]),max:"100",type:"range",style:rn({"--ratio":s.stream_volume/100,"--cursor":e.$filters.cursor(s.cursor)}),onChange:t[13]||(t[13]=(...y)=>o.change_stream_volume&&o.change_stream_volume(...y))},null,46,LZ),[[Dt,s.stream_volume]])])])])])])])],2)],6)}const NZ=se(MK,[["render",MZ]]);const VZ={name:"NotificationList",components:{},data(){return{showNav:!1}},computed:{notifications(){return this.$store.state.notifications.list}},methods:{remove(e){this.$store.commit(xc,e)}}},BZ={key:0,class:"fd-notifications"},HZ={class:"columns is-centered"},jZ={class:"column is-half"},UZ=["onClick"],qZ=["textContent"];function WZ(e,t,n,r,s,o){return o.notifications.length>0?(w(),$("section",BZ,[u("div",HZ,[u("div",jZ,[(w(!0),$(Oe,null,pt(o.notifications,i=>(w(),$("div",{key:i.id,class:Te(["notification has-shadow",["notification",i.type?`is-${i.type}`:""]])},[u("button",{class:"delete",onClick:a=>o.remove(i)},null,8,UZ),u("span",{textContent:g(i.text)},null,8,qZ)],2))),128))])])])):H("",!0)}const GZ=se(VZ,[["render",WZ]]),KZ={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(){N.pairing_kickoff(this.pairing_req).then(()=>{this.pairing_req.pin=""})}}},ZZ={key:0,class:"modal is-active"},YZ={class:"modal-content fd-modal-card"},JZ={class:"card"},XZ={class:"card-content"},QZ=["textContent"],eY=["textContent"],tY={class:"field"},nY={class:"control"},rY=["placeholder"],sY={class:"card-footer"},oY=["textContent"],iY=["textContent"];function aY(e,t,n,r,s,o){const i=S("mdicon");return w(),$("div",null,[v(Pt,{name:"fade"},{default:E(()=>[n.show?(w(),$("div",ZZ,[u("div",{class:"modal-background",onClick:t[0]||(t[0]=a=>e.$emit("close"))}),u("div",YZ,[u("div",JZ,[u("div",XZ,[u("p",{class:"title is-4",textContent:g(e.$t("dialog.remote-pairing.title"))},null,8,QZ),u("form",{onSubmit:t[2]||(t[2]=ot((...a)=>o.kickoff_pairing&&o.kickoff_pairing(...a),["prevent"]))},[u("label",{class:"label",textContent:g(o.pairing.remote)},null,8,eY),u("div",tY,[u("div",nY,[ut(u("input",{ref:"pin_field","onUpdate:modelValue":t[1]||(t[1]=a=>s.pairing_req.pin=a),class:"input",type:"text",placeholder:e.$t("dialog.remote-pairing.pairing-code")},null,8,rY),[[Dt,s.pairing_req.pin]])])])],32)]),u("footer",sY,[u("a",{class:"card-footer-item has-text-danger",onClick:t[3]||(t[3]=a=>e.$emit("close"))},[v(i,{class:"icon",name:"cancel",size:"16"}),u("span",{class:"is-size-7",textContent:g(e.$t("dialog.remote-pairing.cancel"))},null,8,oY)]),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))},[v(i,{class:"icon",name:"cellphone",size:"16"}),u("span",{class:"is-size-7",textContent:g(e.$t("dialog.remote-pairing.pair"))},null,8,iY)])])])]),u("button",{class:"modal-close is-large","aria-label":"close",onClick:t[5]||(t[5]=a=>e.$emit("close"))})])):H("",!0)]),_:1})])}const lY=se(KZ,[["render",aY]]),uY={name:"ModalDialogUpdate",components:{ModalDialog:om},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(Ud,e)}}},methods:{update_library(){this.rescan_metadata?N.library_rescan(this.update_dialog_scan_kind):N.library_update(this.update_dialog_scan_kind)},close(){this.update_dialog_scan_kind="",this.$emit("close")}}},cY={key:0},dY=["textContent"],mY={key:0,class:"field"},fY={class:"control"},pY={class:"select is-small"},hY=["textContent"],_Y=["textContent"],gY=["textContent"],yY=["textContent"],vY={class:"field"},bY=["textContent"],CY={key:1},zY=["textContent"];function wY(e,t,n,r,s,o){const i=S("modal-dialog");return w(),be(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?(w(),$("div",CY,[u("p",{class:"mb-3",textContent:g(e.$t("dialog.update.progress"))},null,8,zY)])):(w(),$("div",cY,[u("p",{class:"mb-3",textContent:g(e.$t("dialog.update.info"))},null,8,dY),o.spotify_enabled||o.rss.tracks>0?(w(),$("div",mY,[u("div",fY,[u("div",pY,[ut(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,hY),u("option",{value:"files",textContent:g(e.$t("dialog.update.local"))},null,8,_Y),o.spotify_enabled?(w(),$("option",{key:0,value:"spotify",textContent:g(e.$t("dialog.update.spotify"))},null,8,gY)):H("",!0),o.rss.tracks>0?(w(),$("option",{key:1,value:"rss",textContent:g(e.$t("dialog.update.feeds"))},null,8,yY)):H("",!0)],512),[[$d,o.update_dialog_scan_kind]])])])])):H("",!0),u("div",vY,[ut(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),[[ar,s.rescan_metadata]]),u("label",{for:"rescan",textContent:g(e.$t("dialog.update.rescan-metadata"))},null,8,bY)])]))]),_:1},8,["show","title","ok_action","close_action","onOk"])}const kY=se(uY,[["render",wY]]);var R1={exports:{}};(function(e){(function(t,n){e.exports?e.exports=n():t.ReconnectingWebSocket=n()})(Yt,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,f=document.createElement("div");f.addEventListener("open",function(p){a.onopen(p)}),f.addEventListener("close",function(p){a.onclose(p)}),f.addEventListener("connecting",function(p){a.onconnecting(p)}),f.addEventListener("message",function(p){a.onmessage(p)}),f.addEventListener("error",function(p){a.onerror(p)}),this.addEventListener=f.addEventListener.bind(f),this.removeEventListener=f.removeEventListener.bind(f),this.dispatchEvent=f.dispatchEvent.bind(f);function m(p,h){var _=document.createEvent("CustomEvent");return _.initCustomEvent(p,!1,!1,h),_}this.open=function(p){if(l=new WebSocket(a.url,r||[]),p){if(this.maxReconnectAttempts&&this.reconnectAttempts>this.maxReconnectAttempts)return}else f.dispatchEvent(m("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(C){clearTimeout(_),(a.debug||t.debugAll)&&console.debug("ReconnectingWebSocket","onopen",a.url),a.protocol=l.protocol,a.readyState=WebSocket.OPEN,a.reconnectAttempts=0;var b=m("open");b.isReconnect=p,p=!1,f.dispatchEvent(b)},l.onclose=function(C){if(clearTimeout(y),l=null,c)a.readyState=WebSocket.CLOSED,f.dispatchEvent(m("close"));else{a.readyState=WebSocket.CONNECTING;var b=m("connecting");b.code=C.code,b.reason=C.reason,b.wasClean=C.wasClean,f.dispatchEvent(b),!p&&!d&&((a.debug||t.debugAll)&&console.debug("ReconnectingWebSocket","onclose",a.url),f.dispatchEvent(m("close")));var y=a.reconnectInterval*Math.pow(a.reconnectDecay,a.reconnectAttempts);setTimeout(function(){a.reconnectAttempts++,a.open(!0)},y>a.maxReconnectInterval?a.maxReconnectInterval:y)}},l.onmessage=function(C){(a.debug||t.debugAll)&&console.debug("ReconnectingWebSocket","onmessage",a.url,C.data);var b=m("message");b.data=C.data,f.dispatchEvent(b)},l.onerror=function(C){(a.debug||t.debugAll)&&console.debug("ReconnectingWebSocket","onerror",a.url,C),f.dispatchEvent(m("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})})(R1);var xY=R1.exports;const EY=fo(xY),SY={name:"App",components:{NavbarTop:JG,NavbarBottom:NZ,NotificationList:GZ,ModalDialogRemotePairing:lY,ModalDialogUpdate:kY},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(Xs,e)}},show_player_menu:{get(){return this.$store.state.show_player_menu},set(e){this.$store.commit(Qs,e)}},show_update_dialog:{get(){return this.$store.state.show_update_dialog},set(e){this.$store.commit(Ti,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){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(){N.config().then(({data:e})=>{this.$store.commit(Eg,e),this.$store.commit(ql,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 EY(n,"notify",{reconnectInterval:1e3,maxReconnectInterval:2e3});r.onopen=function(){e.reconnect_attempts=0,r.send(JSON.stringify({notify:["update","database","player","options","outputs","volume","queue","spotify","lastfm","pairing"]})),e.update_outputs(),e.update_player_status(),e.update_library_stats(),e.update_settings(),e.update_queue(),e.update_spotify(),e.update_lastfm(),e.update_pairing()},r.onclose=function(){};var s=!1;function o(){s||(e.update_outputs(),e.update_player_status(),e.update_library_stats(),e.update_settings(),e.update_queue(),e.update_spotify(),e.update_lastfm(),e.update_pairing(),s=!0,setTimeout(()=>{s=!1},500))}window.addEventListener("focus",o),document.addEventListener("visibilitychange",()=>{document.visibilityState==="visible"&&o()}),r.onmessage=function(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(){N.library_stats().then(({data:e})=>{this.$store.commit($g,e)}),N.library_count("media_kind is audiobook").then(({data:e})=>{this.$store.commit(Ag,e)}),N.library_count("media_kind is podcast").then(({data:e})=>{this.$store.commit(Tg,e)}),N.library_count("scan_kind is rss").then(({data:e})=>{this.$store.commit(Og,e)})},update_outputs(){N.outputs().then(({data:e})=>{this.$store.commit(Dg,e.outputs)})},update_player_status(){N.player_status().then(({data:e})=>{this.$store.commit(Nd,e)})},update_queue(){N.queue().then(({data:e})=>{this.$store.commit(Pg,e)})},update_settings(){N.settings().then(({data:e})=>{this.$store.commit(Sg,e)})},update_lastfm(){N.lastfm().then(({data:e})=>{this.$store.commit(Ig,e)})},update_spotify(){N.spotify().then(({data:e})=>{this.$store.commit(Fg,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(){N.pairing().then(({data:e})=>{this.$store.commit(Rg,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/>"},$Y={id:"app"};function AY(e,t,n,r,s,o){const i=S("navbar-top"),a=S("vue-progress-bar"),l=S("router-view"),c=S("modal-dialog-remote-pairing"),d=S("modal-dialog-update"),f=S("notification-list"),m=S("navbar-bottom");return w(),$("div",$Y,[v(i),v(a,{class:"fd-progress-bar has-background-info"}),v(l,null,{default:E(({Component:p})=>[(w(),be(s_(p)))]),_:1}),v(c,{show:s.pairing_active,onClose:t[0]||(t[0]=p=>s.pairing_active=!1)},null,8,["show"]),v(d,{show:o.show_update_dialog,onClose:t[1]||(t[1]=p=>o.show_update_dialog=!1)},null,8,["show"]),ut(v(f,null,null,512),[[hi,!o.show_burger_menu]]),v(m),ut(u("div",{class:"fd-overlay-fullscreen",onClick:t[2]||(t[2]=p=>o.show_burger_menu=o.show_player_menu=!1)},null,512),[[hi,o.show_burger_menu||o.show_player_menu]])])}const TY=se(SY,[["render",AY]]);const L1=W_(TY).use(Ke).use(Av).use(YU).use(XU).use(cq,{log:!1}).use(mq).use(bq,{icons:CG}).use(Hl);L1.config.globalProperties.$filters=bG;L1.mount("#app");