mirror of
https://github.com/owntone/owntone-server.git
synced 2024-12-28 08:05:56 -05:00
62 lines
829 KiB
JavaScript
62 lines
829 KiB
JavaScript
(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 jl(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 Qb="Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt",e0=jl(Qb),t0="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",n0=jl(t0);function k_(e){return!!e||e===""}function ss(e){if(qe(e)){const t={};for(let n=0;n<e.length;n++){const r=e[n],s=Tt(r)?o0(r):ss(r);if(s)for(const o in s)t[o]=s[o]}return t}else{if(Tt(e))return e;if(Rt(e))return e}}const r0=/;(?![^(]*\))/g,s0=/:(.+)/;function o0(e){const t={};return e.split(r0).forEach(n=>{if(n){const r=n.split(s0);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function Ye(e){let t="";if(Tt(e))t=e;else if(qe(e))for(let n=0;n<e.length;n++){const r=Ye(e[n]);r&&(t+=r+" ")}else if(Rt(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}function i0(e){if(!e)return null;let{class:t,style:n}=e;return t&&!Tt(t)&&(e.class=Ye(t)),n&&(e.style=ss(n)),e}function a0(e,t){if(e.length!==t.length)return!1;let n=!0;for(let r=0;n&&r<e.length;r++)n=Jr(e[r],t[r]);return n}function Jr(e,t){if(e===t)return!0;let n=Tf(e),r=Tf(t);if(n||r)return n&&r?e.getTime()===t.getTime():!1;if(n=xi(e),r=xi(t),n||r)return e===t;if(n=qe(e),r=qe(t),n||r)return n&&r?a0(e,t):!1;if(n=Rt(e),r=Rt(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||!Jr(e[i],t[i]))return!1}}return String(e)===String(t)}function Vl(e,t){return e.findIndex(n=>Jr(n,t))}const v=e=>Tt(e)?e:e==null?"":qe(e)||Rt(e)&&(e.toString===E_||!et(e.toString))?JSON.stringify(e,S_,2):String(e),S_=(e,t)=>t&&t.__v_isRef?S_(e,t.value):oo(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,s])=>(n[`${r} =>`]=s,n),{})}:Es(t)?{[`Set(${t.size})`]:[...t.values()]}:Rt(t)&&!qe(t)&&!$_(t)?String(t):t,gt={},so=[],nr=()=>{},l0=()=>!1,u0=/^on[^a-z]/,Fi=e=>u0.test(e),Vd=e=>e.startsWith("onUpdate:"),Mt=Object.assign,Bd=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},c0=Object.prototype.hasOwnProperty,dt=(e,t)=>c0.call(e,t),qe=Array.isArray,oo=e=>Ii(e)==="[object Map]",Es=e=>Ii(e)==="[object Set]",Tf=e=>Ii(e)==="[object Date]",et=e=>typeof e=="function",Tt=e=>typeof e=="string",xi=e=>typeof e=="symbol",Rt=e=>e!==null&&typeof e=="object",Hd=e=>Rt(e)&&et(e.then)&&et(e.catch),E_=Object.prototype.toString,Ii=e=>E_.call(e),d0=e=>Ii(e).slice(8,-1),$_=e=>Ii(e)==="[object Object]",Ud=e=>Tt(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,ri=jl(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Bl=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},m0=/-(\w)/g,Ln=Bl(e=>e.replace(m0,(t,n)=>n?n.toUpperCase():"")),f0=/\B([A-Z])/g,mr=Bl(e=>e.replace(f0,"-$1").toLowerCase()),Li=Bl(e=>e.charAt(0).toUpperCase()+e.slice(1)),si=Bl(e=>e?`on${Li(e)}`:""),co=(e,t)=>!Object.is(e,t),io=(e,t)=>{for(let n=0;n<e.length;n++)e[n](t)},pl=(e,t,n)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},Xr=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let Of;const p0=()=>Of||(Of=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});let Tn;class qd{constructor(t=!1){this.active=!0,this.effects=[],this.cleanups=[],!t&&Tn&&(this.parent=Tn,this.index=(Tn.scopes||(Tn.scopes=[])).push(this)-1)}run(t){if(this.active){const n=Tn;try{return Tn=this,t()}finally{Tn=n}}}on(){Tn=this}off(){Tn=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.parent&&!t){const s=this.parent.scopes.pop();s&&s!==this&&(this.parent.scopes[this.index]=s,s.index=this.index)}this.active=!1}}}function h0(e){return new qd(e)}function A_(e,t=Tn){t&&t.active&&t.effects.push(e)}function _0(){return Tn}function g0(e){Tn&&Tn.cleanups.push(e)}const Wd=e=>{const t=new Set(e);return t.w=0,t.n=0,t},T_=e=>(e.w&Qr)>0,O_=e=>(e.n&Qr)>0,y0=({deps:e})=>{if(e.length)for(let t=0;t<e.length;t++)e[t].w|=Qr},v0=e=>{const{deps:t}=e;if(t.length){let n=0;for(let r=0;r<t.length;r++){const s=t[r];T_(s)&&!O_(s)?s.delete(e):t[n++]=s,s.w&=~Qr,s.n&=~Qr}t.length=n}},Dc=new WeakMap;let Ko=0,Qr=1;const Fc=30;let er;const vs=Symbol(""),Ic=Symbol("");class Mi{constructor(t,n=null,r){this.fn=t,this.scheduler=n,this.active=!0,this.deps=[],this.parent=void 0,A_(this,r)}run(){if(!this.active)return this.fn();let t=er,n=Zr;for(;t;){if(t===this)return;t=t.parent}try{return this.parent=er,er=this,Zr=!0,Qr=1<<++Ko,Ko<=Fc?y0(this):Pf(this),this.fn()}finally{Ko<=Fc&&v0(this),Qr=1<<--Ko,er=this.parent,Zr=n,this.parent=void 0,this.deferStop&&this.stop()}}stop(){er===this?this.deferStop=!0:this.active&&(Pf(this),this.onStop&&this.onStop(),this.active=!1)}}function Pf(e){const{deps:t}=e;if(t.length){for(let n=0;n<t.length;n++)t[n].delete(e);t.length=0}}function b0(e,t){e.effect&&(e=e.effect.fn);const n=new Mi(e);t&&(Mt(n,t),t.scope&&A_(n,t.scope)),(!t||!t.lazy)&&n.run();const r=n.run.bind(n);return r.effect=n,r}function w0(e){e.effect.stop()}let Zr=!0;const P_=[];function $s(){P_.push(Zr),Zr=!1}function As(){const e=P_.pop();Zr=e===void 0?!0:e}function Mn(e,t,n){if(Zr&&er){let r=Dc.get(e);r||Dc.set(e,r=new Map);let s=r.get(n);s||r.set(n,s=Wd()),D_(s)}}function D_(e,t){let n=!1;Ko<=Fc?O_(e)||(e.n|=Qr,n=!T_(e)):n=!e.has(er),n&&(e.add(er),er.deps.push(e))}function Sr(e,t,n,r,s,o){const i=Dc.get(e);if(!i)return;let a=[];if(t==="clear")a=[...i.values()];else if(n==="length"&&qe(e))i.forEach((l,c)=>{(c==="length"||c>=r)&&a.push(l)});else switch(n!==void 0&&a.push(i.get(n)),t){case"add":qe(e)?Ud(n)&&a.push(i.get("length")):(a.push(i.get(vs)),oo(e)&&a.push(i.get(Ic)));break;case"delete":qe(e)||(a.push(i.get(vs)),oo(e)&&a.push(i.get(Ic)));break;case"set":oo(e)&&a.push(i.get(vs));break}if(a.length===1)a[0]&&Lc(a[0]);else{const l=[];for(const c of a)c&&l.push(...c);Lc(Wd(l))}}function Lc(e,t){const n=qe(e)?e:[...e];for(const r of n)r.computed&&Df(r);for(const r of n)r.computed||Df(r)}function Df(e,t){(e!==er||e.allowRecurse)&&(e.scheduler?e.scheduler():e.run())}const C0=jl("__proto__,__v_isRef,__isVue"),F_=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(xi)),z0=Hl(),x0=Hl(!1,!0),k0=Hl(!0),S0=Hl(!0,!0),Ff=E0();function E0(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const r=lt(this);for(let o=0,i=this.length;o<i;o++)Mn(r,"get",o+"");const s=r[t](...n);return s===-1||s===!1?r[t](...n.map(lt)):s}}),["push","pop","shift","unshift","splice"].forEach(t=>{e[t]=function(...n){$s();const r=lt(this)[t].apply(this,n);return As(),r}}),e}function Hl(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?V_:j_:t?N_:R_).get(r))return r;const i=qe(r);if(!e&&i&&dt(Ff,s))return Reflect.get(Ff,s,o);const a=Reflect.get(r,s,o);return(xi(s)?F_.has(s):C0(s))||(e||Mn(r,"get",s),t)?a:Ut(a)?i&&Ud(s)?a:a.value:Rt(a)?e?Kd(a):Ts(a):a}}const $0=I_(),A0=I_(!0);function I_(e=!1){return function(n,r,s,o){let i=n[r];if(mo(i)&&Ut(i)&&!Ut(s))return!1;if(!e&&!mo(s)&&(hl(s)||(s=lt(s),i=lt(i)),!qe(n)&&Ut(i)&&!Ut(s)))return i.value=s,!0;const a=qe(n)&&Ud(r)?Number(r)<n.length:dt(n,r),l=Reflect.set(n,r,s,o);return n===lt(o)&&(a?co(s,i)&&Sr(n,"set",r,s):Sr(n,"add",r,s)),l}}function T0(e,t){const n=dt(e,t);e[t];const r=Reflect.deleteProperty(e,t);return r&&n&&Sr(e,"delete",t,void 0),r}function O0(e,t){const n=Reflect.has(e,t);return(!xi(t)||!F_.has(t))&&Mn(e,"has",t),n}function P0(e){return Mn(e,"iterate",qe(e)?"length":vs),Reflect.ownKeys(e)}const L_={get:z0,set:$0,deleteProperty:T0,has:O0,ownKeys:P0},M_={get:k0,set(e,t){return!0},deleteProperty(e,t){return!0}},D0=Mt({},L_,{get:x0,set:A0}),F0=Mt({},M_,{get:S0}),Gd=e=>e,Ul=e=>Reflect.getPrototypeOf(e);function sa(e,t,n=!1,r=!1){e=e.__v_raw;const s=lt(e),o=lt(t);n||(t!==o&&Mn(s,"get",t),Mn(s,"get",o));const{has:i}=Ul(s),a=r?Gd:n?Jd:ki;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 oa(e,t=!1){const n=this.__v_raw,r=lt(n),s=lt(e);return t||(e!==s&&Mn(r,"has",e),Mn(r,"has",s)),e===s?n.has(e):n.has(e)||n.has(s)}function ia(e,t=!1){return e=e.__v_raw,!t&&Mn(lt(e),"iterate",vs),Reflect.get(e,"size",e)}function If(e){e=lt(e);const t=lt(this);return Ul(t).has.call(t,e)||(t.add(e),Sr(t,"add",e,e)),this}function Lf(e,t){t=lt(t);const n=lt(this),{has:r,get:s}=Ul(n);let o=r.call(n,e);o||(e=lt(e),o=r.call(n,e));const i=s.call(n,e);return n.set(e,t),o?co(t,i)&&Sr(n,"set",e,t):Sr(n,"add",e,t),this}function Mf(e){const t=lt(this),{has:n,get:r}=Ul(t);let s=n.call(t,e);s||(e=lt(e),s=n.call(t,e)),r&&r.call(t,e);const o=t.delete(e);return s&&Sr(t,"delete",e,void 0),o}function Rf(){const e=lt(this),t=e.size!==0,n=e.clear();return t&&Sr(e,"clear",void 0,void 0),n}function aa(e,t){return function(r,s){const o=this,i=o.__v_raw,a=lt(i),l=t?Gd:e?Jd:ki;return!e&&Mn(a,"iterate",vs),i.forEach((c,m)=>r.call(s,l(c),l(m),o))}}function la(e,t,n){return function(...r){const s=this.__v_raw,o=lt(s),i=oo(o),a=e==="entries"||e===Symbol.iterator&&i,l=e==="keys"&&i,c=s[e](...r),m=n?Gd:t?Jd:ki;return!t&&Mn(o,"iterate",l?Ic:vs),{next(){const{value:f,done:d}=c.next();return d?{value:f,done:d}:{value:a?[m(f[0]),m(f[1])]:m(f),done:d}},[Symbol.iterator](){return this}}}}function Dr(e){return function(...t){return e==="delete"?!1:this}}function I0(){const e={get(o){return sa(this,o)},get size(){return ia(this)},has:oa,add:If,set:Lf,delete:Mf,clear:Rf,forEach:aa(!1,!1)},t={get(o){return sa(this,o,!1,!0)},get size(){return ia(this)},has:oa,add:If,set:Lf,delete:Mf,clear:Rf,forEach:aa(!1,!0)},n={get(o){return sa(this,o,!0)},get size(){return ia(this,!0)},has(o){return oa.call(this,o,!0)},add:Dr("add"),set:Dr("set"),delete:Dr("delete"),clear:Dr("clear"),forEach:aa(!0,!1)},r={get(o){return sa(this,o,!0,!0)},get size(){return ia(this,!0)},has(o){return oa.call(this,o,!0)},add:Dr("add"),set:Dr("set"),delete:Dr("delete"),clear:Dr("clear"),forEach:aa(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(o=>{e[o]=la(o,!1,!1),n[o]=la(o,!0,!1),t[o]=la(o,!1,!0),r[o]=la(o,!0,!0)}),[e,n,t,r]}const[L0,M0,R0,N0]=I0();function ql(e,t){const n=t?e?N0:R0:e?M0:L0;return(r,s,o)=>s==="__v_isReactive"?!e:s==="__v_isReadonly"?e:s==="__v_raw"?r:Reflect.get(dt(n,s)&&s in r?n:r,s,o)}const j0={get:ql(!1,!1)},V0={get:ql(!1,!0)},B0={get:ql(!0,!1)},H0={get:ql(!0,!0)},R_=new WeakMap,N_=new WeakMap,j_=new WeakMap,V_=new WeakMap;function U0(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function q0(e){return e.__v_skip||!Object.isExtensible(e)?0:U0(d0(e))}function Ts(e){return mo(e)?e:Wl(e,!1,L_,j0,R_)}function B_(e){return Wl(e,!1,D0,V0,N_)}function Kd(e){return Wl(e,!0,M_,B0,j_)}function W0(e){return Wl(e,!0,F0,H0,V_)}function Wl(e,t,n,r,s){if(!Rt(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const o=s.get(e);if(o)return o;const i=q0(e);if(i===0)return e;const a=new Proxy(e,i===2?r:n);return s.set(e,a),a}function bs(e){return mo(e)?bs(e.__v_raw):!!(e&&e.__v_isReactive)}function mo(e){return!!(e&&e.__v_isReadonly)}function hl(e){return!!(e&&e.__v_isShallow)}function Zd(e){return bs(e)||mo(e)}function lt(e){const t=e&&e.__v_raw;return t?lt(t):e}function Yd(e){return pl(e,"__v_skip",!0),e}const ki=e=>Rt(e)?Ts(e):e,Jd=e=>Rt(e)?Kd(e):e;function Xd(e){Zr&&er&&(e=lt(e),D_(e.dep||(e.dep=Wd())))}function Gl(e,t){e=lt(e),e.dep&&Lc(e.dep)}function Ut(e){return!!(e&&e.__v_isRef===!0)}function bn(e){return U_(e,!1)}function H_(e){return U_(e,!0)}function U_(e,t){return Ut(e)?e:new G0(e,t)}class G0{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:lt(t),this._value=n?t:ki(t)}get value(){return Xd(this),this._value}set value(t){t=this.__v_isShallow?t:lt(t),co(t,this._rawValue)&&(this._rawValue=t,this._value=this.__v_isShallow?t:ki(t),Gl(this))}}function K0(e){Gl(e)}function ao(e){return Ut(e)?e.value:e}const Z0={get:(e,t,n)=>ao(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const s=e[t];return Ut(s)&&!Ut(n)?(s.value=n,!0):Reflect.set(e,t,n,r)}};function Qd(e){return bs(e)?e:new Proxy(e,Z0)}class Y0{constructor(t){this.dep=void 0,this.__v_isRef=!0;const{get:n,set:r}=t(()=>Xd(this),()=>Gl(this));this._get=n,this._set=r}get value(){return this._get()}set value(t){this._set(t)}}function J0(e){return new Y0(e)}function oi(e){const t=qe(e)?new Array(e.length):{};for(const n in e)t[n]=q_(e,n);return t}class X0{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}}function q_(e,t,n){const r=e[t];return Ut(r)?r:new X0(e,t,n)}class Q0{constructor(t,n,r,s){this._setter=n,this.dep=void 0,this.__v_isRef=!0,this._dirty=!0,this.effect=new Mi(t,()=>{this._dirty||(this._dirty=!0,Gl(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!s,this.__v_isReadonly=r}get value(){const t=lt(this);return Xd(t),(t._dirty||!t._cacheable)&&(t._dirty=!1,t._value=t.effect.run()),t._value}set value(t){this._setter(t)}}function ew(e,t,n=!1){let r,s;const o=et(e);return o?(r=e,s=nr):(r=e.get,s=e.set),new Q0(r,s,o||!s,n)}const ii=[];function W_(e,...t){$s();const n=ii.length?ii[ii.length-1].component:null,r=n&&n.appContext.config.warnHandler,s=tw();if(r)fr(r,n,11,[e+t.join(""),n&&n.proxy,s.map(({vnode:o})=>`at <${Mg(n,o.type)}>`).join(`
|
||
`),s]);else{const o=[`[Vue warn]: ${e}`,...t];s.length&&o.push(`
|
||
`,...nw(s)),console.warn(...o)}As()}function tw(){let e=ii[ii.length-1];if(!e)return[];const t=[];for(;e;){const n=t[0];n&&n.vnode===e?n.recurseCount++:t.push({vnode:e,recurseCount:0});const r=e.component&&e.component.parent;e=r&&r.vnode}return t}function nw(e){const t=[];return e.forEach((n,r)=>{t.push(...r===0?[]:[`
|
||
`],...rw(n))}),t}function rw({vnode:e,recurseCount:t}){const n=t>0?`... (${t} recursive calls)`:"",r=e.component?e.component.parent==null:!1,s=` at <${Mg(e.component,e.type,r)}`,o=">"+n;return e.props?[s,...sw(e.props),o]:[s+o]}function sw(e){const t=[],n=Object.keys(e);return n.slice(0,3).forEach(r=>{t.push(...G_(r,e[r]))}),n.length>3&&t.push(" ..."),t}function G_(e,t,n){return Tt(t)?(t=JSON.stringify(t),n?t:[`${e}=${t}`]):typeof t=="number"||typeof t=="boolean"||t==null?n?t:[`${e}=${t}`]:Ut(t)?(t=G_(e,lt(t.value),!0),n?t:[`${e}=Ref<`,t,">"]):et(t)?[`${e}=fn${t.name?`<${t.name}>`:""}`]:(t=lt(t),n?t:[`${e}=`,t])}function fr(e,t,n,r){let s;try{s=r?e(...r):e()}catch(o){Os(o,t,n)}return s}function Fn(e,t,n,r){if(et(e)){const o=fr(e,t,n,r);return o&&Hd(o)&&o.catch(i=>{Os(i,t,n)}),o}const s=[];for(let o=0;o<e.length;o++)s.push(Fn(e[o],t,n,r));return s}function Os(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 m=0;m<c.length;m++)if(c[m](e,i,a)===!1)return}o=o.parent}const l=t.appContext.config.errorHandler;if(l){fr(l,null,10,[e,i,a]);return}}ow(e,n,s,r)}function ow(e,t,n,r=!0){console.error(e)}let _l=!1,Mc=!1;const Dn=[];let Cr=0;const ai=[];let Zo=null,Zs=0;const li=[];let Nr=null,Ys=0;const K_=Promise.resolve();let em=null,Rc=null;function Kl(e){const t=em||K_;return e?t.then(this?e.bind(this):e):t}function iw(e){let t=Cr+1,n=Dn.length;for(;t<n;){const r=t+n>>>1;Si(Dn[r])<e?t=r+1:n=r}return t}function tm(e){(!Dn.length||!Dn.includes(e,_l&&e.allowRecurse?Cr+1:Cr))&&e!==Rc&&(e.id==null?Dn.push(e):Dn.splice(iw(e.id),0,e),Z_())}function Z_(){!_l&&!Mc&&(Mc=!0,em=K_.then(J_))}function aw(e){const t=Dn.indexOf(e);t>Cr&&Dn.splice(t,1)}function Y_(e,t,n,r){qe(e)?n.push(...e):(!t||!t.includes(e,e.allowRecurse?r+1:r))&&n.push(e),Z_()}function lw(e){Y_(e,Zo,ai,Zs)}function nm(e){Y_(e,Nr,li,Ys)}function Zl(e,t=null){if(ai.length){for(Rc=t,Zo=[...new Set(ai)],ai.length=0,Zs=0;Zs<Zo.length;Zs++)Zo[Zs]();Zo=null,Zs=0,Rc=null,Zl(e,t)}}function gl(e){if(Zl(),li.length){const t=[...new Set(li)];if(li.length=0,Nr){Nr.push(...t);return}for(Nr=t,Nr.sort((n,r)=>Si(n)-Si(r)),Ys=0;Ys<Nr.length;Ys++)Nr[Ys]();Nr=null,Ys=0}}const Si=e=>e.id==null?1/0:e.id;function J_(e){Mc=!1,_l=!0,Zl(e),Dn.sort((n,r)=>Si(n)-Si(r));const t=nr;try{for(Cr=0;Cr<Dn.length;Cr++){const n=Dn[Cr];n&&n.active!==!1&&fr(n,null,14)}}finally{Cr=0,Dn.length=0,gl(),_l=!1,em=null,(Dn.length||ai.length||li.length)&&J_(e)}}let Js,ua=[];function X_(e,t){var n,r;Js=e,Js?(Js.enabled=!0,ua.forEach(({event:s,args:o})=>Js.emit(s,...o)),ua=[]):typeof window<"u"&&window.HTMLElement&&!(!((r=(n=window.navigator)===null||n===void 0?void 0:n.userAgent)===null||r===void 0)&&r.includes("jsdom"))?((t.__VUE_DEVTOOLS_HOOK_REPLAY__=t.__VUE_DEVTOOLS_HOOK_REPLAY__||[]).push(o=>{X_(o,t)}),setTimeout(()=>{Js||(t.__VUE_DEVTOOLS_HOOK_REPLAY__=null,ua=[])},3e3)):ua=[]}function uw(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||gt;let s=n;const o=t.startsWith("update:"),i=o&&t.slice(7);if(i&&i in r){const m=`${i==="modelValue"?"model":i}Modifiers`,{number:f,trim:d}=r[m]||gt;d&&(s=n.map(p=>p.trim())),f&&(s=n.map(Xr))}let a,l=r[a=si(t)]||r[a=si(Ln(t))];!l&&o&&(l=r[a=si(mr(t))]),l&&Fn(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,Fn(c,e,6,s)}}function Q_(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(!et(e)){const l=c=>{const m=Q_(c,t,!0);m&&(a=!0,Mt(i,m))};!n&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return!o&&!a?(r.set(e,null),null):(qe(o)?o.forEach(l=>i[l]=null):Mt(i,o),r.set(e,i),i)}function Yl(e,t){return!e||!Fi(t)?!1:(t=t.slice(2).replace(/Once$/,""),dt(e,t[0].toLowerCase()+t.slice(1))||dt(e,mr(t))||dt(e,t))}let rn=null,Jl=null;function Ei(e){const t=rn;return rn=e,Jl=e&&e.type.__scopeId||null,t}function cw(e){Jl=e}function dw(){Jl=null}const mw=e=>P;function P(e,t=rn,n){if(!t||e._n)return e;const r=(...s)=>{r._d&&qc(-1);const o=Ei(t),i=e(...s);return Ei(o),r._d&&qc(1),i};return r._n=!0,r._c=!0,r._d=!0,r}function nl(e){const{type:t,vnode:n,proxy:r,withProxy:s,props:o,propsOptions:[i],slots:a,attrs:l,emit:c,render:m,renderCache:f,data:d,setupState:p,ctx:h,inheritAttrs:_}=e;let g,b;const w=Ei(e);try{if(n.shapeFlag&4){const z=s||r;g=On(m.call(z,z,f,o,p,d,h)),b=l}else{const z=t;g=On(z.length>1?z(o,{attrs:l,slots:a,emit:c}):z(o,null)),b=t.props?l:pw(l)}}catch(z){di.length=0,Os(z,e,1),g=C(an)}let x=g;if(b&&_!==!1){const z=Object.keys(b),{shapeFlag:S}=x;z.length&&S&7&&(i&&z.some(Vd)&&(b=hw(b,i)),x=hr(x,b))}return n.dirs&&(x=hr(x),x.dirs=x.dirs?x.dirs.concat(n.dirs):n.dirs),n.transition&&(x.transition=n.transition),g=x,Ei(w),g}function fw(e){let t;for(let n=0;n<e.length;n++){const r=e[n];if(ts(r)){if(r.type!==an||r.children==="v-if"){if(t)return;t=r}}else return}return t}const pw=e=>{let t;for(const n in e)(n==="class"||n==="style"||Fi(n))&&((t||(t={}))[n]=e[n]);return t},hw=(e,t)=>{const n={};for(const r in e)(!Vd(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function _w(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?Nf(r,i,c):!!i;if(l&8){const m=t.dynamicProps;for(let f=0;f<m.length;f++){const d=m[f];if(i[d]!==r[d]&&!Yl(c,d))return!0}}}else return(s||a)&&(!a||!a.$stable)?!0:r===i?!1:r?i?Nf(r,i,c):!0:!!i;return!1}function Nf(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]&&!Yl(n,o))return!0}return!1}function rm({vnode:e,parent:t},n){for(;t&&t.subTree===e;)(e=t.vnode).el=n,t=t.parent}const eg=e=>e.__isSuspense,gw={name:"Suspense",__isSuspense:!0,process(e,t,n,r,s,o,i,a,l,c){e==null?vw(t,n,r,s,o,i,a,l,c):bw(e,t,n,r,s,i,a,l,c)},hydrate:ww,create:sm,normalize:Cw},yw=gw;function $i(e,t){const n=e.props&&e.props[t];et(n)&&n()}function vw(e,t,n,r,s,o,i,a,l){const{p:c,o:{createElement:m}}=l,f=m("div"),d=e.suspense=sm(e,s,r,t,f,n,o,i,a,l);c(null,d.pendingBranch=e.ssContent,f,null,r,d,o,i),d.deps>0?($i(e,"onPending"),$i(e,"onFallback"),c(null,e.ssFallback,t,n,r,null,o,i),lo(d,e.ssFallback)):d.resolve()}function bw(e,t,n,r,s,o,i,a,{p:l,um:c,o:{createElement:m}}){const f=t.suspense=e.suspense;f.vnode=t,t.el=e.el;const d=t.ssContent,p=t.ssFallback,{activeBranch:h,pendingBranch:_,isInFallback:g,isHydrating:b}=f;if(_)f.pendingBranch=d,dr(d,_)?(l(_,d,f.hiddenContainer,null,s,f,o,i,a),f.deps<=0?f.resolve():g&&(l(h,p,n,r,s,null,o,i,a),lo(f,p))):(f.pendingId++,b?(f.isHydrating=!1,f.activeBranch=_):c(_,s,f),f.deps=0,f.effects.length=0,f.hiddenContainer=m("div"),g?(l(null,d,f.hiddenContainer,null,s,f,o,i,a),f.deps<=0?f.resolve():(l(h,p,n,r,s,null,o,i,a),lo(f,p))):h&&dr(d,h)?(l(h,d,n,r,s,f,o,i,a),f.resolve(!0)):(l(null,d,f.hiddenContainer,null,s,f,o,i,a),f.deps<=0&&f.resolve()));else if(h&&dr(d,h))l(h,d,n,r,s,f,o,i,a),lo(f,d);else if($i(t,"onPending"),f.pendingBranch=d,f.pendingId++,l(null,d,f.hiddenContainer,null,s,f,o,i,a),f.deps<=0)f.resolve();else{const{timeout:w,pendingId:x}=f;w>0?setTimeout(()=>{f.pendingId===x&&f.fallback(p)},w):w===0&&f.fallback(p)}}function sm(e,t,n,r,s,o,i,a,l,c,m=!1){const{p:f,m:d,um:p,n:h,o:{parentNode:_,remove:g}}=c,b=Xr(e.props&&e.props.timeout),w={vnode:e,parent:t,parentComponent:n,isSVG:i,container:r,hiddenContainer:s,anchor:o,deps:0,pendingId:0,timeout:typeof b=="number"?b:-1,activeBranch:null,pendingBranch:null,isInFallback:!0,isHydrating:m,isUnmounted:!1,effects:[],resolve(x=!1){const{vnode:z,activeBranch:S,pendingBranch:T,pendingId:j,effects:F,parentComponent:A,container:M}=w;if(w.isHydrating)w.isHydrating=!1;else if(!x){const H=S&&T.transition&&T.transition.mode==="out-in";H&&(S.transition.afterLeave=()=>{j===w.pendingId&&d(T,M,B,0)});let{anchor:B}=w;S&&(B=h(S),p(S,A,w,!0)),H||d(T,M,B,0)}lo(w,T),w.pendingBranch=null,w.isInFallback=!1;let W=w.parent,I=!1;for(;W;){if(W.pendingBranch){W.effects.push(...F),I=!0;break}W=W.parent}I||nm(F),w.effects=[],$i(z,"onResolve")},fallback(x){if(!w.pendingBranch)return;const{vnode:z,activeBranch:S,parentComponent:T,container:j,isSVG:F}=w;$i(z,"onFallback");const A=h(S),M=()=>{w.isInFallback&&(f(null,x,j,A,T,null,F,a,l),lo(w,x))},W=x.transition&&x.transition.mode==="out-in";W&&(S.transition.afterLeave=M),w.isInFallback=!0,p(S,T,null,!0),W||M()},move(x,z,S){w.activeBranch&&d(w.activeBranch,x,z,S),w.container=x},next(){return w.activeBranch&&h(w.activeBranch)},registerDep(x,z){const S=!!w.pendingBranch;S&&w.deps++;const T=x.vnode.el;x.asyncDep.catch(j=>{Os(j,x,0)}).then(j=>{if(x.isUnmounted||w.isUnmounted||w.pendingId!==x.suspenseId)return;x.asyncResolved=!0;const{vnode:F}=x;Wc(x,j,!1),T&&(F.el=T);const A=!T&&x.subTree.el;z(x,F,_(T||x.subTree.el),T?null:h(x.subTree),w,i,l),A&&g(A),rm(x,F.el),S&&--w.deps===0&&w.resolve()})},unmount(x,z){w.isUnmounted=!0,w.activeBranch&&p(w.activeBranch,n,x,z),w.pendingBranch&&p(w.pendingBranch,n,x,z)}};return w}function ww(e,t,n,r,s,o,i,a,l){const c=t.suspense=sm(t,r,n,e.parentNode,document.createElement("div"),null,s,o,i,a,!0),m=l(e,c.pendingBranch=t.ssContent,n,c,o,i);return c.deps===0&&c.resolve(),m}function Cw(e){const{shapeFlag:t,children:n}=e,r=t&32;e.ssContent=jf(r?n.default:n),e.ssFallback=r?jf(n.fallback):C(an)}function jf(e){let t;if(et(e)){const n=Ss&&e._c;n&&(e._d=!1,E()),e=e(),n&&(e._d=!0,t=wn,$g())}return qe(e)&&(e=fw(e)),e=On(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter(n=>n!==e)),e}function tg(e,t){t&&t.pendingBranch?qe(e)?t.effects.push(...e):t.effects.push(e):nm(e)}function lo(e,t){e.activeBranch=t;const{vnode:n,parentComponent:r}=e,s=n.el=t.el;r&&r.subTree===n&&(r.vnode.el=s,rm(r,s))}function ui(e,t){if(Kt){let n=Kt.provides;const r=Kt.parent&&Kt.parent.provides;r===n&&(n=Kt.provides=Object.create(r)),n[e]=t}}function rr(e,t,n=!1){const r=Kt||rn;if(r){const s=r.parent==null?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides;if(s&&e in s)return s[e];if(arguments.length>1)return n&&et(t)?t.call(r.proxy):t}}function zw(e,t){return Ri(e,null,t)}function ng(e,t){return Ri(e,null,{flush:"post"})}function xw(e,t){return Ri(e,null,{flush:"sync"})}const Vf={};function It(e,t,n){return Ri(e,t,n)}function Ri(e,t,{immediate:n,deep:r,flush:s,onTrack:o,onTrigger:i}=gt){const a=Kt;let l,c=!1,m=!1;if(Ut(e)?(l=()=>e.value,c=hl(e)):bs(e)?(l=()=>e,r=!0):qe(e)?(m=!0,c=e.some(b=>bs(b)||hl(b)),l=()=>e.map(b=>{if(Ut(b))return b.value;if(bs(b))return ys(b);if(et(b))return fr(b,a,2)})):et(e)?t?l=()=>fr(e,a,2):l=()=>{if(!(a&&a.isUnmounted))return f&&f(),Fn(e,a,3,[d])}:l=nr,t&&r){const b=l;l=()=>ys(b())}let f,d=b=>{f=g.onStop=()=>{fr(b,a,4)}};if(po)return d=nr,t?n&&Fn(t,a,3,[l(),m?[]:void 0,d]):l(),nr;let p=m?[]:Vf;const h=()=>{if(g.active)if(t){const b=g.run();(r||c||(m?b.some((w,x)=>co(w,p[x])):co(b,p)))&&(f&&f(),Fn(t,a,3,[b,p===Vf?void 0:p,d]),p=b)}else g.run()};h.allowRecurse=!!t;let _;s==="sync"?_=h:s==="post"?_=()=>Xt(h,a&&a.suspense):_=()=>lw(h);const g=new Mi(l,_);return t?n?h():p=g.run():s==="post"?Xt(g.run.bind(g),a&&a.suspense):g.run(),()=>{g.stop(),a&&a.scope&&Bd(a.scope.effects,g)}}function kw(e,t,n){const r=this.proxy,s=Tt(e)?e.includes(".")?rg(r,e):()=>r[e]:e.bind(r,r);let o;et(t)?o=t:(o=t.handler,n=t);const i=Kt;ns(this);const a=Ri(s,o.bind(r),n);return i?ns(i):Yr(),a}function rg(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 ys(e,t){if(!Rt(e)||e.__v_skip||(t=t||new Set,t.has(e)))return e;if(t.add(e),Ut(e))ys(e.value,t);else if(qe(e))for(let n=0;n<e.length;n++)ys(e[n],t);else if(Es(e)||oo(e))e.forEach(n=>{ys(n,t)});else if($_(e))for(const n in e)ys(e[n],t);return e}function om(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Ps(()=>{e.isMounted=!0}),tu(()=>{e.isUnmounting=!0}),e}const Nn=[Function,Array],Sw={name:"BaseTransition",props:{mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Nn,onEnter:Nn,onAfterEnter:Nn,onEnterCancelled:Nn,onBeforeLeave:Nn,onLeave:Nn,onAfterLeave:Nn,onLeaveCancelled:Nn,onBeforeAppear:Nn,onAppear:Nn,onAfterAppear:Nn,onAppearCancelled:Nn},setup(e,{slots:t}){const n=or(),r=om();let s;return()=>{const o=t.default&&Xl(t.default(),!0);if(!o||!o.length)return;let i=o[0];if(o.length>1){for(const _ of o)if(_.type!==an){i=_;break}}const a=lt(e),{mode:l}=a;if(r.isLeaving)return Lu(i);const c=Bf(i);if(!c)return Lu(i);const m=fo(c,a,r,n);ks(c,m);const f=n.subTree,d=f&&Bf(f);let p=!1;const{getTransitionKey:h}=c.type;if(h){const _=h();s===void 0?s=_:_!==s&&(s=_,p=!0)}if(d&&d.type!==an&&(!dr(c,d)||p)){const _=fo(d,a,r,n);if(ks(d,_),l==="out-in")return r.isLeaving=!0,_.afterLeave=()=>{r.isLeaving=!1,n.update()},Lu(i);l==="in-out"&&c.type!==an&&(_.delayLeave=(g,b,w)=>{const x=sg(r,d);x[String(d.key)]=d,g._leaveCb=()=>{b(),g._leaveCb=void 0,delete m.delayedLeave},m.delayedLeave=w})}return i}}},im=Sw;function sg(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 fo(e,t,n,r){const{appear:s,mode:o,persisted:i=!1,onBeforeEnter:a,onEnter:l,onAfterEnter:c,onEnterCancelled:m,onBeforeLeave:f,onLeave:d,onAfterLeave:p,onLeaveCancelled:h,onBeforeAppear:_,onAppear:g,onAfterAppear:b,onAppearCancelled:w}=t,x=String(e.key),z=sg(n,e),S=(F,A)=>{F&&Fn(F,r,9,A)},T=(F,A)=>{const M=A[1];S(F,A),qe(F)?F.every(W=>W.length<=1)&&M():F.length<=1&&M()},j={mode:o,persisted:i,beforeEnter(F){let A=a;if(!n.isMounted)if(s)A=_||a;else return;F._leaveCb&&F._leaveCb(!0);const M=z[x];M&&dr(e,M)&&M.el._leaveCb&&M.el._leaveCb(),S(A,[F])},enter(F){let A=l,M=c,W=m;if(!n.isMounted)if(s)A=g||l,M=b||c,W=w||m;else return;let I=!1;const H=F._enterCb=B=>{I||(I=!0,B?S(W,[F]):S(M,[F]),j.delayedLeave&&j.delayedLeave(),F._enterCb=void 0)};A?T(A,[F,H]):H()},leave(F,A){const M=String(e.key);if(F._enterCb&&F._enterCb(!0),n.isUnmounting)return A();S(f,[F]);let W=!1;const I=F._leaveCb=H=>{W||(W=!0,A(),H?S(h,[F]):S(p,[F]),F._leaveCb=void 0,z[M]===e&&delete z[M])};z[M]=e,d?T(d,[F,I]):I()},clone(F){return fo(F,t,n,r)}};return j}function Lu(e){if(ji(e))return e=hr(e),e.children=null,e}function Bf(e){return ji(e)?e.children?e.children[0]:void 0:e}function ks(e,t){e.shapeFlag&6&&e.component?ks(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 Xl(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===Ge?(i.patchFlag&128&&s++,r=r.concat(Xl(i.children,t,a))):(t||i.type!==an)&&r.push(a!=null?hr(i,{key:a}):i)}if(s>1)for(let o=0;o<r.length;o++)r[o].patchFlag=-2;return r}function Ni(e){return et(e)?{setup:e,name:e.name}:e}const ws=e=>!!e.type.__asyncLoader;function Ew(e){et(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,m=0;const f=()=>(m++,l=null,d()),d=()=>{let p;return l||(p=l=t().catch(h=>{if(h=h instanceof Error?h:new Error(String(h)),a)return new Promise((_,g)=>{a(h,()=>_(f()),()=>g(h),m+1)});throw h}).then(h=>p!==l&&l?l:(h&&(h.__esModule||h[Symbol.toStringTag]==="Module")&&(h=h.default),c=h,h)))};return Ni({name:"AsyncComponentWrapper",__asyncLoader:d,get __asyncResolved(){return c},setup(){const p=Kt;if(c)return()=>Mu(c,p);const h=w=>{l=null,Os(w,p,13,!r)};if(i&&p.suspense||po)return d().then(w=>()=>Mu(w,p)).catch(w=>(h(w),()=>r?C(r,{error:w}):null));const _=bn(!1),g=bn(),b=bn(!!s);return s&&setTimeout(()=>{b.value=!1},s),o!=null&&setTimeout(()=>{if(!_.value&&!g.value){const w=new Error(`Async component timed out after ${o}ms.`);h(w),g.value=w}},o),d().then(()=>{_.value=!0,p.parent&&ji(p.parent.vnode)&&tm(p.parent.update)}).catch(w=>{h(w),g.value=w}),()=>{if(_.value&&c)return Mu(c,p);if(g.value&&r)return C(r,{error:g.value});if(n&&!b.value)return C(n)}}})}function Mu(e,{vnode:{ref:t,props:n,children:r,shapeFlag:s},parent:o}){const i=C(e,n,r);return i.ref=t,i}const ji=e=>e.type.__isKeepAlive,$w={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){const n=or(),r=n.ctx;if(!r.renderer)return()=>{const w=t.default&&t.default();return w&&w.length===1?w[0]:w};const s=new Map,o=new Set;let i=null;const a=n.suspense,{renderer:{p:l,m:c,um:m,o:{createElement:f}}}=r,d=f("div");r.activate=(w,x,z,S,T)=>{const j=w.component;c(w,x,z,0,a),l(j.vnode,w,x,z,j,a,S,w.slotScopeIds,T),Xt(()=>{j.isDeactivated=!1,j.a&&io(j.a);const F=w.props&&w.props.onVnodeMounted;F&&vn(F,j.parent,w)},a)},r.deactivate=w=>{const x=w.component;c(w,d,null,1,a),Xt(()=>{x.da&&io(x.da);const z=w.props&&w.props.onVnodeUnmounted;z&&vn(z,x.parent,w),x.isDeactivated=!0},a)};function p(w){Ru(w),m(w,n,a,!0)}function h(w){s.forEach((x,z)=>{const S=Cl(x.type);S&&(!w||!w(S))&&_(z)})}function _(w){const x=s.get(w);!i||x.type!==i.type?p(x):i&&Ru(i),s.delete(w),o.delete(w)}It(()=>[e.include,e.exclude],([w,x])=>{w&&h(z=>Yo(w,z)),x&&h(z=>!Yo(x,z))},{flush:"post",deep:!0});let g=null;const b=()=>{g!=null&&s.set(g,Nu(n.subTree))};return Ps(b),eu(b),tu(()=>{s.forEach(w=>{const{subTree:x,suspense:z}=n,S=Nu(x);if(w.type===S.type){Ru(S);const T=S.component.da;T&&Xt(T,z);return}p(w)})}),()=>{if(g=null,!t.default)return null;const w=t.default(),x=w[0];if(w.length>1)return i=null,w;if(!ts(x)||!(x.shapeFlag&4)&&!(x.shapeFlag&128))return i=null,x;let z=Nu(x);const S=z.type,T=Cl(ws(z)?z.type.__asyncResolved||{}:S),{include:j,exclude:F,max:A}=e;if(j&&(!T||!Yo(j,T))||F&&T&&Yo(F,T))return i=z,x;const M=z.key==null?S:z.key,W=s.get(M);return z.el&&(z=hr(z),x.shapeFlag&128&&(x.ssContent=z)),g=M,W?(z.el=W.el,z.component=W.component,z.transition&&ks(z,z.transition),z.shapeFlag|=512,o.delete(M),o.add(M)):(o.add(M),A&&o.size>parseInt(A,10)&&_(o.values().next().value)),z.shapeFlag|=256,i=z,eg(x.type)?x:z}}},Aw=$w;function Yo(e,t){return qe(e)?e.some(n=>Yo(n,t)):Tt(e)?e.split(",").includes(t):e.test?e.test(t):!1}function og(e,t){ag(e,"a",t)}function ig(e,t){ag(e,"da",t)}function ag(e,t,n=Kt){const r=e.__wdc||(e.__wdc=()=>{let s=n;for(;s;){if(s.isDeactivated)return;s=s.parent}return e()});if(Ql(t,r,n),n){let s=n.parent;for(;s&&s.parent;)ji(s.parent.vnode)&&Tw(r,t,n,s),s=s.parent}}function Tw(e,t,n,r){const s=Ql(t,e,r,!0);ko(()=>{Bd(r[t],s)},n)}function Ru(e){let t=e.shapeFlag;t&256&&(t-=256),t&512&&(t-=512),e.shapeFlag=t}function Nu(e){return e.shapeFlag&128?e.ssContent:e}function Ql(e,t,n=Kt,r=!1){if(n){const s=n[e]||(n[e]=[]),o=t.__weh||(t.__weh=(...i)=>{if(n.isUnmounted)return;$s(),ns(n);const a=Fn(t,n,e,i);return Yr(),As(),a});return r?s.unshift(o):s.push(o),o}}const Ar=e=>(t,n=Kt)=>(!po||e==="sp")&&Ql(e,t,n),lg=Ar("bm"),Ps=Ar("m"),ug=Ar("bu"),eu=Ar("u"),tu=Ar("bum"),ko=Ar("um"),cg=Ar("sp"),dg=Ar("rtg"),mg=Ar("rtc");function fg(e,t=Kt){Ql("ec",e,t)}function xt(e,t){const n=rn;if(n===null)return e;const r=su(n)||n.proxy,s=e.dirs||(e.dirs=[]);for(let o=0;o<t.length;o++){let[i,a,l,c=gt]=t[o];et(i)&&(i={mounted:i,updated:i}),i.deep&&ys(a),s.push({dir:i,instance:r,value:a,oldValue:void 0,arg:l,modifiers:c})}return e}function ur(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&&($s(),Fn(l,n,8,[e.el,a,e,t]),As())}}const am="components",Ow="directives";function O(e,t){return lm(am,e,!0,t)||e}const pg=Symbol();function hg(e){return Tt(e)?lm(am,e,!1)||e:e||pg}function nu(e){return lm(Ow,e)}function lm(e,t,n=!0,r=!1){const s=rn||Kt;if(s){const o=s.type;if(e===am){const a=Cl(o,!1);if(a&&(a===t||a===Ln(t)||a===Li(Ln(t))))return o}const i=Hf(s[e]||o[e],t)||Hf(s.appContext[e],t);return!i&&r?o:i}}function Hf(e,t){return e&&(e[t]||e[Ln(t)]||e[Li(Ln(t))])}function wt(e,t,n,r){let s;const o=n&&n[r];if(qe(e)||Tt(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(Rt(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 Vi(e,t){for(let n=0;n<t.length;n++){const r=t[n];if(qe(r))for(let s=0;s<r.length;s++)e[r[s].name]=r[s].fn;else r&&(e[r.name]=r.fn)}return e}function zt(e,t,n={},r,s){if(rn.isCE||rn.parent&&ws(rn.parent)&&rn.parent.isCE)return C("slot",t==="default"?null:{name:t},r&&r());let o=e[t];o&&o._c&&(o._d=!1),E();const i=o&&_g(o(n)),a=xe(Ge,{key:n.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 _g(e){return e.some(t=>ts(t)?!(t.type===an||t.type===Ge&&!_g(t.children)):!0)?e:null}function Pw(e){const t={};for(const n in e)t[si(n)]=e[n];return t}const Nc=e=>e?Dg(e)?su(e)||e.proxy:Nc(e.parent):null,yl=Mt(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=>Nc(e.parent),$root:e=>Nc(e.root),$emit:e=>e.emit,$options:e=>yg(e),$forceUpdate:e=>e.f||(e.f=()=>tm(e.update)),$nextTick:e=>e.n||(e.n=Kl.bind(e.proxy)),$watch:e=>kw.bind(e)}),jc={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(r!==gt&&dt(r,t))return i[t]=1,r[t];if(s!==gt&&dt(s,t))return i[t]=2,s[t];if((c=e.propsOptions[0])&&dt(c,t))return i[t]=3,o[t];if(n!==gt&&dt(n,t))return i[t]=4,n[t];Vc&&(i[t]=0)}}const m=yl[t];let f,d;if(m)return t==="$attrs"&&Mn(e,"get",t),m(e);if((f=a.__cssModules)&&(f=f[t]))return f;if(n!==gt&&dt(n,t))return i[t]=4,n[t];if(d=l.config.globalProperties,dt(d,t))return d[t]},set({_:e},t,n){const{data:r,setupState:s,ctx:o}=e;return s!==gt&&dt(s,t)?(s[t]=n,!0):r!==gt&&dt(r,t)?(r[t]=n,!0):dt(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!==gt&&dt(e,i)||t!==gt&&dt(t,i)||(a=o[0])&&dt(a,i)||dt(r,i)||dt(yl,i)||dt(s.config.globalProperties,i)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:dt(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}},Dw=Mt({},jc,{get(e,t){if(t!==Symbol.unscopables)return jc.get(e,t,e)},has(e,t){return t[0]!=="_"&&!e0(t)}});let Vc=!0;function Fw(e){const t=yg(e),n=e.proxy,r=e.ctx;Vc=!1,t.beforeCreate&&Uf(t.beforeCreate,e,"bc");const{data:s,computed:o,methods:i,watch:a,provide:l,inject:c,created:m,beforeMount:f,mounted:d,beforeUpdate:p,updated:h,activated:_,deactivated:g,beforeDestroy:b,beforeUnmount:w,destroyed:x,unmounted:z,render:S,renderTracked:T,renderTriggered:j,errorCaptured:F,serverPrefetch:A,expose:M,inheritAttrs:W,components:I,directives:H,filters:B}=t;if(c&&Iw(c,r,null,e.appContext.config.unwrapInjectedRef),i)for(const ue in i){const ge=i[ue];et(ge)&&(r[ue]=ge.bind(n))}if(s){const ue=s.call(n,n);Rt(ue)&&(e.data=Ts(ue))}if(Vc=!0,o)for(const ue in o){const ge=o[ue],Me=et(ge)?ge.bind(n,n):et(ge.get)?ge.get.bind(n,n):nr,He=!et(ge)&&et(ge.set)?ge.set.bind(n):nr,he=At({get:Me,set:He});Object.defineProperty(r,ue,{enumerable:!0,configurable:!0,get:()=>he.value,set:X=>he.value=X})}if(a)for(const ue in a)gg(a[ue],r,n,ue);if(l){const ue=et(l)?l.call(n):l;Reflect.ownKeys(ue).forEach(ge=>{ui(ge,ue[ge])})}m&&Uf(m,e,"c");function J(ue,ge){qe(ge)?ge.forEach(Me=>ue(Me.bind(n))):ge&&ue(ge.bind(n))}if(J(lg,f),J(Ps,d),J(ug,p),J(eu,h),J(og,_),J(ig,g),J(fg,F),J(mg,T),J(dg,j),J(tu,w),J(ko,z),J(cg,A),qe(M))if(M.length){const ue=e.exposed||(e.exposed={});M.forEach(ge=>{Object.defineProperty(ue,ge,{get:()=>n[ge],set:Me=>n[ge]=Me})})}else e.exposed||(e.exposed={});S&&e.render===nr&&(e.render=S),W!=null&&(e.inheritAttrs=W),I&&(e.components=I),H&&(e.directives=H)}function Iw(e,t,n=nr,r=!1){qe(e)&&(e=Bc(e));for(const s in e){const o=e[s];let i;Rt(o)?"default"in o?i=rr(o.from||s,o.default,!0):i=rr(o.from||s):i=rr(o),Ut(i)&&r?Object.defineProperty(t,s,{enumerable:!0,configurable:!0,get:()=>i.value,set:a=>i.value=a}):t[s]=i}}function Uf(e,t,n){Fn(qe(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function gg(e,t,n,r){const s=r.includes(".")?rg(n,r):()=>n[r];if(Tt(e)){const o=t[e];et(o)&&It(s,o)}else if(et(e))It(s,e.bind(n));else if(Rt(e))if(qe(e))e.forEach(o=>gg(o,t,n,r));else{const o=et(e.handler)?e.handler.bind(n):t[e.handler];et(o)&&It(s,o,e)}}function yg(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=>vl(l,c,i,!0)),vl(l,t,i)),o.set(t,l),l}function vl(e,t,n,r=!1){const{mixins:s,extends:o}=t;o&&vl(e,o,n,!0),s&&s.forEach(i=>vl(e,i,n,!0));for(const i in t)if(!(r&&i==="expose")){const a=Lw[i]||n&&n[i];e[i]=a?a(e[i],t[i]):t[i]}return e}const Lw={data:qf,props:ps,emits:ps,methods:ps,computed:ps,beforeCreate:un,created:un,beforeMount:un,mounted:un,beforeUpdate:un,updated:un,beforeDestroy:un,beforeUnmount:un,destroyed:un,unmounted:un,activated:un,deactivated:un,errorCaptured:un,serverPrefetch:un,components:ps,directives:ps,watch:Rw,provide:qf,inject:Mw};function qf(e,t){return t?e?function(){return Mt(et(e)?e.call(this,this):e,et(t)?t.call(this,this):t)}:t:e}function Mw(e,t){return ps(Bc(e),Bc(t))}function Bc(e){if(qe(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function un(e,t){return e?[...new Set([].concat(e,t))]:t}function ps(e,t){return e?Mt(Mt(Object.create(null),e),t):t}function Rw(e,t){if(!e)return t;if(!t)return e;const n=Mt(Object.create(null),e);for(const r in t)n[r]=un(e[r],t[r]);return n}function Nw(e,t,n,r=!1){const s={},o={};pl(o,ru,1),e.propsDefaults=Object.create(null),vg(e,t,s,o);for(const i in e.propsOptions[0])i in s||(s[i]=void 0);n?e.props=r?s:B_(s):e.type.props?e.props=s:e.props=o,e.attrs=o}function jw(e,t,n,r){const{props:s,attrs:o,vnode:{patchFlag:i}}=e,a=lt(s),[l]=e.propsOptions;let c=!1;if((r||i>0)&&!(i&16)){if(i&8){const m=e.vnode.dynamicProps;for(let f=0;f<m.length;f++){let d=m[f];if(Yl(e.emitsOptions,d))continue;const p=t[d];if(l)if(dt(o,d))p!==o[d]&&(o[d]=p,c=!0);else{const h=Ln(d);s[h]=Hc(l,a,h,p,e,!1)}else p!==o[d]&&(o[d]=p,c=!0)}}}else{vg(e,t,s,o)&&(c=!0);let m;for(const f in a)(!t||!dt(t,f)&&((m=mr(f))===f||!dt(t,m)))&&(l?n&&(n[f]!==void 0||n[m]!==void 0)&&(s[f]=Hc(l,a,f,void 0,e,!0)):delete s[f]);if(o!==a)for(const f in o)(!t||!dt(t,f))&&(delete o[f],c=!0)}c&&Sr(e,"set","$attrs")}function vg(e,t,n,r){const[s,o]=e.propsOptions;let i=!1,a;if(t)for(let l in t){if(ri(l))continue;const c=t[l];let m;s&&dt(s,m=Ln(l))?!o||!o.includes(m)?n[m]=c:(a||(a={}))[m]=c:Yl(e.emitsOptions,l)||(!(l in r)||c!==r[l])&&(r[l]=c,i=!0)}if(o){const l=lt(n),c=a||gt;for(let m=0;m<o.length;m++){const f=o[m];n[f]=Hc(s,l,f,c[f],e,!dt(c,f))}}return i}function Hc(e,t,n,r,s,o){const i=e[n];if(i!=null){const a=dt(i,"default");if(a&&r===void 0){const l=i.default;if(i.type!==Function&&et(l)){const{propsDefaults:c}=s;n in c?r=c[n]:(ns(s),r=c[n]=l.call(null,t),Yr())}else r=l}i[0]&&(o&&!a?r=!1:i[1]&&(r===""||r===mr(n))&&(r=!0))}return r}function bg(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(!et(e)){const m=f=>{l=!0;const[d,p]=bg(f,t,!0);Mt(i,d),p&&a.push(...p)};!n&&t.mixins.length&&t.mixins.forEach(m),e.extends&&m(e.extends),e.mixins&&e.mixins.forEach(m)}if(!o&&!l)return r.set(e,so),so;if(qe(o))for(let m=0;m<o.length;m++){const f=Ln(o[m]);Wf(f)&&(i[f]=gt)}else if(o)for(const m in o){const f=Ln(m);if(Wf(f)){const d=o[m],p=i[f]=qe(d)||et(d)?{type:d}:d;if(p){const h=Zf(Boolean,p.type),_=Zf(String,p.type);p[0]=h>-1,p[1]=_<0||h<_,(h>-1||dt(p,"default"))&&a.push(f)}}}const c=[i,a];return r.set(e,c),c}function Wf(e){return e[0]!=="$"}function Gf(e){const t=e&&e.toString().match(/^\s*function (\w+)/);return t?t[1]:e===null?"null":""}function Kf(e,t){return Gf(e)===Gf(t)}function Zf(e,t){return qe(t)?t.findIndex(n=>Kf(n,e)):et(t)&&Kf(t,e)?0:-1}const wg=e=>e[0]==="_"||e==="$stable",um=e=>qe(e)?e.map(On):[On(e)],Vw=(e,t,n)=>{if(t._n)return t;const r=P((...s)=>um(t(...s)),n);return r._c=!1,r},Cg=(e,t,n)=>{const r=e._ctx;for(const s in e){if(wg(s))continue;const o=e[s];if(et(o))t[s]=Vw(s,o,r);else if(o!=null){const i=um(o);t[s]=()=>i}}},zg=(e,t)=>{const n=um(t);e.slots.default=()=>n},Bw=(e,t)=>{if(e.vnode.shapeFlag&32){const n=t._;n?(e.slots=lt(t),pl(t,"_",n)):Cg(t,e.slots={})}else e.slots={},t&&zg(e,t);pl(e.slots,ru,1)},Hw=(e,t,n)=>{const{vnode:r,slots:s}=e;let o=!0,i=gt;if(r.shapeFlag&32){const a=t._;a?n&&a===1?o=!1:(Mt(s,t),!n&&a===1&&delete s._):(o=!t.$stable,Cg(t,s)),i=t}else t&&(zg(e,t),i={default:1});if(o)for(const a in s)!wg(a)&&!(a in i)&&delete s[a]};function xg(){return{app:null,config:{isNativeTag:l0,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 Uw=0;function qw(e,t){return function(r,s=null){et(r)||(r=Object.assign({},r)),s!=null&&!Rt(s)&&(s=null);const o=xg(),i=new Set;let a=!1;const l=o.app={_uid:Uw++,_component:r,_props:s,_container:null,_context:o,_instance:null,version:Vg,get config(){return o.config},set config(c){},use(c,...m){return i.has(c)||(c&&et(c.install)?(i.add(c),c.install(l,...m)):et(c)&&(i.add(c),c(l,...m))),l},mixin(c){return o.mixins.includes(c)||o.mixins.push(c),l},component(c,m){return m?(o.components[c]=m,l):o.components[c]},directive(c,m){return m?(o.directives[c]=m,l):o.directives[c]},mount(c,m,f){if(!a){const d=C(r,s);return d.appContext=o,m&&t?t(d,c):e(d,c,f),a=!0,l._container=c,c.__vue_app__=l,su(d.component)||d.component.proxy}},unmount(){a&&(e(null,l._container),delete l._container.__vue_app__)},provide(c,m){return o.provides[c]=m,l}};return l}}function bl(e,t,n,r,s=!1){if(qe(e)){e.forEach((d,p)=>bl(d,t&&(qe(t)?t[p]:t),n,r,s));return}if(ws(r)&&!s)return;const o=r.shapeFlag&4?su(r.component)||r.component.proxy:r.el,i=s?null:o,{i:a,r:l}=e,c=t&&t.r,m=a.refs===gt?a.refs={}:a.refs,f=a.setupState;if(c!=null&&c!==l&&(Tt(c)?(m[c]=null,dt(f,c)&&(f[c]=null)):Ut(c)&&(c.value=null)),et(l))fr(l,a,12,[i,m]);else{const d=Tt(l),p=Ut(l);if(d||p){const h=()=>{if(e.f){const _=d?m[l]:l.value;s?qe(_)&&Bd(_,o):qe(_)?_.includes(o)||_.push(o):d?(m[l]=[o],dt(f,l)&&(f[l]=m[l])):(l.value=[o],e.k&&(m[e.k]=l.value))}else d?(m[l]=i,dt(f,l)&&(f[l]=i)):p&&(l.value=i,e.k&&(m[e.k]=i))};i?(h.id=-1,Xt(h,n)):h()}}}let Fr=!1;const ca=e=>/svg/.test(e.namespaceURI)&&e.tagName!=="foreignObject",da=e=>e.nodeType===8;function Ww(e){const{mt:t,p:n,o:{patchProp:r,createText:s,nextSibling:o,parentNode:i,remove:a,insert:l,createComment:c}}=e,m=(b,w)=>{if(!w.hasChildNodes()){n(null,b,w),gl(),w._vnode=b;return}Fr=!1,f(w.firstChild,b,null,null,null),gl(),w._vnode=b,Fr&&console.error("Hydration completed but contains mismatches.")},f=(b,w,x,z,S,T=!1)=>{const j=da(b)&&b.data==="[",F=()=>_(b,w,x,z,S,j),{type:A,ref:M,shapeFlag:W,patchFlag:I}=w,H=b.nodeType;w.el=b,I===-2&&(T=!1,w.dynamicChildren=null);let B=null;switch(A){case es:H!==3?w.children===""?(l(w.el=s(""),i(b),b),B=b):B=F():(b.data!==w.children&&(Fr=!0,b.data=w.children),B=o(b));break;case an:H!==8||j?B=F():B=o(b);break;case Cs:if(H!==1&&H!==3)B=F();else{B=b;const oe=!w.children.length;for(let J=0;J<w.staticCount;J++)oe&&(w.children+=B.nodeType===1?B.outerHTML:B.data),J===w.staticCount-1&&(w.anchor=B),B=o(B);return B}break;case Ge:j?B=h(b,w,x,z,S,T):B=F();break;default:if(W&1)H!==1||w.type.toLowerCase()!==b.tagName.toLowerCase()?B=F():B=d(b,w,x,z,S,T);else if(W&6){w.slotScopeIds=S;const oe=i(b);if(t(w,oe,null,x,z,ca(oe),T),B=j?g(b):o(b),B&&da(B)&&B.data==="teleport end"&&(B=o(B)),ws(w)){let J;j?(J=C(Ge),J.anchor=B?B.previousSibling:oe.lastChild):J=b.nodeType===3?yt(""):C("div"),J.el=b,w.component.subTree=J}}else W&64?H!==8?B=F():B=w.type.hydrate(b,w,x,z,S,T,e,p):W&128&&(B=w.type.hydrate(b,w,x,z,ca(i(b)),S,T,e,f))}return M!=null&&bl(M,null,z,w),B},d=(b,w,x,z,S,T)=>{T=T||!!w.dynamicChildren;const{type:j,props:F,patchFlag:A,shapeFlag:M,dirs:W}=w,I=j==="input"&&W||j==="option";if(I||A!==-1){if(W&&ur(w,null,x,"created"),F)if(I||!T||A&48)for(const B in F)(I&&B.endsWith("value")||Fi(B)&&!ri(B))&&r(b,B,null,F[B],!1,void 0,x);else F.onClick&&r(b,"onClick",null,F.onClick,!1,void 0,x);let H;if((H=F&&F.onVnodeBeforeMount)&&vn(H,x,w),W&&ur(w,null,x,"beforeMount"),((H=F&&F.onVnodeMounted)||W)&&tg(()=>{H&&vn(H,x,w),W&&ur(w,null,x,"mounted")},z),M&16&&!(F&&(F.innerHTML||F.textContent))){let B=p(b.firstChild,w,b,x,z,S,T);for(;B;){Fr=!0;const oe=B;B=B.nextSibling,a(oe)}}else M&8&&b.textContent!==w.children&&(Fr=!0,b.textContent=w.children)}return b.nextSibling},p=(b,w,x,z,S,T,j)=>{j=j||!!w.dynamicChildren;const F=w.children,A=F.length;for(let M=0;M<A;M++){const W=j?F[M]:F[M]=On(F[M]);if(b)b=f(b,W,z,S,T,j);else{if(W.type===es&&!W.children)continue;Fr=!0,n(null,W,x,null,z,S,ca(x),T)}}return b},h=(b,w,x,z,S,T)=>{const{slotScopeIds:j}=w;j&&(S=S?S.concat(j):j);const F=i(b),A=p(o(b),w,F,x,z,S,T);return A&&da(A)&&A.data==="]"?o(w.anchor=A):(Fr=!0,l(w.anchor=c("]"),F,A),A)},_=(b,w,x,z,S,T)=>{if(Fr=!0,w.el=null,T){const A=g(b);for(;;){const M=o(b);if(M&&M!==A)a(M);else break}}const j=o(b),F=i(b);return a(b),n(null,w,F,j,x,z,ca(F),S),j},g=b=>{let w=0;for(;b;)if(b=o(b),b&&da(b)&&(b.data==="["&&w++,b.data==="]")){if(w===0)return o(b);w--}return b};return[m,f]}const Xt=tg;function kg(e){return Eg(e)}function Sg(e){return Eg(e,Ww)}function Eg(e,t){const n=p0();n.__VUE__=!0;const{insert:r,remove:s,patchProp:o,createElement:i,createText:a,createComment:l,setText:c,setElementText:m,parentNode:f,nextSibling:d,setScopeId:p=nr,cloneNode:h,insertStaticContent:_}=e,g=($,R,Y,le=null,ce=null,ye=null,Ce=!1,pe=null,V=!!R.dynamicChildren)=>{if($===R)return;$&&!dr($,R)&&(le=be($),me($,ce,ye,!0),$=null),R.patchFlag===-2&&(V=!1,R.dynamicChildren=null);const{type:q,ref:$e,shapeFlag:ze}=R;switch(q){case es:b($,R,Y,le);break;case an:w($,R,Y,le);break;case Cs:$==null&&x(R,Y,le,Ce);break;case Ge:H($,R,Y,le,ce,ye,Ce,pe,V);break;default:ze&1?T($,R,Y,le,ce,ye,Ce,pe,V):ze&6?B($,R,Y,le,ce,ye,Ce,pe,V):(ze&64||ze&128)&&q.process($,R,Y,le,ce,ye,Ce,pe,V,Ie)}$e!=null&&ce&&bl($e,$&&$.ref,ye,R||$,!R)},b=($,R,Y,le)=>{if($==null)r(R.el=a(R.children),Y,le);else{const ce=R.el=$.el;R.children!==$.children&&c(ce,R.children)}},w=($,R,Y,le)=>{$==null?r(R.el=l(R.children||""),Y,le):R.el=$.el},x=($,R,Y,le)=>{[$.el,$.anchor]=_($.children,R,Y,le,$.el,$.anchor)},z=({el:$,anchor:R},Y,le)=>{let ce;for(;$&&$!==R;)ce=d($),r($,Y,le),$=ce;r(R,Y,le)},S=({el:$,anchor:R})=>{let Y;for(;$&&$!==R;)Y=d($),s($),$=Y;s(R)},T=($,R,Y,le,ce,ye,Ce,pe,V)=>{Ce=Ce||R.type==="svg",$==null?j(R,Y,le,ce,ye,Ce,pe,V):M($,R,ce,ye,Ce,pe,V)},j=($,R,Y,le,ce,ye,Ce,pe)=>{let V,q;const{type:$e,props:ze,shapeFlag:De,transition:Ne,patchFlag:We,dirs:tt}=$;if($.el&&h!==void 0&&We===-1)V=$.el=h($.el);else{if(V=$.el=i($.type,ye,ze&&ze.is,ze),De&8?m(V,$.children):De&16&&A($.children,V,null,le,ce,ye&&$e!=="foreignObject",Ce,pe),tt&&ur($,null,le,"created"),ze){for(const y in ze)y!=="value"&&!ri(y)&&o(V,y,null,ze[y],ye,$.children,le,ce,se);"value"in ze&&o(V,"value",null,ze.value),(q=ze.onVnodeBeforeMount)&&vn(q,le,$)}F(V,$,$.scopeId,Ce,le)}tt&&ur($,null,le,"beforeMount");const k=(!ce||ce&&!ce.pendingBranch)&&Ne&&!Ne.persisted;k&&Ne.beforeEnter(V),r(V,R,Y),((q=ze&&ze.onVnodeMounted)||k||tt)&&Xt(()=>{q&&vn(q,le,$),k&&Ne.enter(V),tt&&ur($,null,le,"mounted")},ce)},F=($,R,Y,le,ce)=>{if(Y&&p($,Y),le)for(let ye=0;ye<le.length;ye++)p($,le[ye]);if(ce){let ye=ce.subTree;if(R===ye){const Ce=ce.vnode;F($,Ce,Ce.scopeId,Ce.slotScopeIds,ce.parent)}}},A=($,R,Y,le,ce,ye,Ce,pe,V=0)=>{for(let q=V;q<$.length;q++){const $e=$[q]=pe?Vr($[q]):On($[q]);g(null,$e,R,Y,le,ce,ye,Ce,pe)}},M=($,R,Y,le,ce,ye,Ce)=>{const pe=R.el=$.el;let{patchFlag:V,dynamicChildren:q,dirs:$e}=R;V|=$.patchFlag&16;const ze=$.props||gt,De=R.props||gt;let Ne;Y&&ls(Y,!1),(Ne=De.onVnodeBeforeUpdate)&&vn(Ne,Y,R,$),$e&&ur(R,$,Y,"beforeUpdate"),Y&&ls(Y,!0);const We=ce&&R.type!=="foreignObject";if(q?W($.dynamicChildren,q,pe,Y,le,We,ye):Ce||Me($,R,pe,null,Y,le,We,ye,!1),V>0){if(V&16)I(pe,R,ze,De,Y,le,ce);else if(V&2&&ze.class!==De.class&&o(pe,"class",null,De.class,ce),V&4&&o(pe,"style",ze.style,De.style,ce),V&8){const tt=R.dynamicProps;for(let k=0;k<tt.length;k++){const y=tt[k],L=ze[y],K=De[y];(K!==L||y==="value")&&o(pe,y,L,K,ce,$.children,Y,le,se)}}V&1&&$.children!==R.children&&m(pe,R.children)}else!Ce&&q==null&&I(pe,R,ze,De,Y,le,ce);((Ne=De.onVnodeUpdated)||$e)&&Xt(()=>{Ne&&vn(Ne,Y,R,$),$e&&ur(R,$,Y,"updated")},le)},W=($,R,Y,le,ce,ye,Ce)=>{for(let pe=0;pe<R.length;pe++){const V=$[pe],q=R[pe],$e=V.el&&(V.type===Ge||!dr(V,q)||V.shapeFlag&70)?f(V.el):Y;g(V,q,$e,null,le,ce,ye,Ce,!0)}},I=($,R,Y,le,ce,ye,Ce)=>{if(Y!==le){for(const pe in le){if(ri(pe))continue;const V=le[pe],q=Y[pe];V!==q&&pe!=="value"&&o($,pe,q,V,Ce,R.children,ce,ye,se)}if(Y!==gt)for(const pe in Y)!ri(pe)&&!(pe in le)&&o($,pe,Y[pe],null,Ce,R.children,ce,ye,se);"value"in le&&o($,"value",Y.value,le.value)}},H=($,R,Y,le,ce,ye,Ce,pe,V)=>{const q=R.el=$?$.el:a(""),$e=R.anchor=$?$.anchor:a("");let{patchFlag:ze,dynamicChildren:De,slotScopeIds:Ne}=R;Ne&&(pe=pe?pe.concat(Ne):Ne),$==null?(r(q,Y,le),r($e,Y,le),A(R.children,Y,$e,ce,ye,Ce,pe,V)):ze>0&&ze&64&&De&&$.dynamicChildren?(W($.dynamicChildren,De,Y,ce,ye,Ce,pe),(R.key!=null||ce&&R===ce.subTree)&&cm($,R,!0)):Me($,R,Y,$e,ce,ye,Ce,pe,V)},B=($,R,Y,le,ce,ye,Ce,pe,V)=>{R.slotScopeIds=pe,$==null?R.shapeFlag&512?ce.ctx.activate(R,Y,le,Ce,V):oe(R,Y,le,ce,ye,Ce,V):J($,R,V)},oe=($,R,Y,le,ce,ye,Ce)=>{const pe=$.component=Pg($,le,ce);if(ji($)&&(pe.ctx.renderer=Ie),Fg(pe),pe.asyncDep){if(ce&&ce.registerDep(pe,ue),!$.el){const V=pe.subTree=C(an);w(null,V,R,Y)}return}ue(pe,$,R,Y,ce,ye,Ce)},J=($,R,Y)=>{const le=R.component=$.component;if(_w($,R,Y))if(le.asyncDep&&!le.asyncResolved){ge(le,R,Y);return}else le.next=R,aw(le.update),le.update();else R.el=$.el,le.vnode=R},ue=($,R,Y,le,ce,ye,Ce)=>{const pe=()=>{if($.isMounted){let{next:$e,bu:ze,u:De,parent:Ne,vnode:We}=$,tt=$e,k;ls($,!1),$e?($e.el=We.el,ge($,$e,Ce)):$e=We,ze&&io(ze),(k=$e.props&&$e.props.onVnodeBeforeUpdate)&&vn(k,Ne,$e,We),ls($,!0);const y=nl($),L=$.subTree;$.subTree=y,g(L,y,f(L.el),be(L),$,ce,ye),$e.el=y.el,tt===null&&rm($,y.el),De&&Xt(De,ce),(k=$e.props&&$e.props.onVnodeUpdated)&&Xt(()=>vn(k,Ne,$e,We),ce)}else{let $e;const{el:ze,props:De}=R,{bm:Ne,m:We,parent:tt}=$,k=ws(R);if(ls($,!1),Ne&&io(Ne),!k&&($e=De&&De.onVnodeBeforeMount)&&vn($e,tt,R),ls($,!0),ze&&Ae){const y=()=>{$.subTree=nl($),Ae(ze,$.subTree,$,ce,null)};k?R.type.__asyncLoader().then(()=>!$.isUnmounted&&y()):y()}else{const y=$.subTree=nl($);g(null,y,Y,le,$,ce,ye),R.el=y.el}if(We&&Xt(We,ce),!k&&($e=De&&De.onVnodeMounted)){const y=R;Xt(()=>vn($e,tt,y),ce)}(R.shapeFlag&256||tt&&ws(tt.vnode)&&tt.vnode.shapeFlag&256)&&$.a&&Xt($.a,ce),$.isMounted=!0,R=Y=le=null}},V=$.effect=new Mi(pe,()=>tm(q),$.scope),q=$.update=()=>V.run();q.id=$.uid,ls($,!0),q()},ge=($,R,Y)=>{R.component=$;const le=$.vnode.props;$.vnode=R,$.next=null,jw($,R.props,le,Y),Hw($,R.children,Y),$s(),Zl(void 0,$.update),As()},Me=($,R,Y,le,ce,ye,Ce,pe,V=!1)=>{const q=$&&$.children,$e=$?$.shapeFlag:0,ze=R.children,{patchFlag:De,shapeFlag:Ne}=R;if(De>0){if(De&128){he(q,ze,Y,le,ce,ye,Ce,pe,V);return}else if(De&256){He(q,ze,Y,le,ce,ye,Ce,pe,V);return}}Ne&8?($e&16&&se(q,ce,ye),ze!==q&&m(Y,ze)):$e&16?Ne&16?he(q,ze,Y,le,ce,ye,Ce,pe,V):se(q,ce,ye,!0):($e&8&&m(Y,""),Ne&16&&A(ze,Y,le,ce,ye,Ce,pe,V))},He=($,R,Y,le,ce,ye,Ce,pe,V)=>{$=$||so,R=R||so;const q=$.length,$e=R.length,ze=Math.min(q,$e);let De;for(De=0;De<ze;De++){const Ne=R[De]=V?Vr(R[De]):On(R[De]);g($[De],Ne,Y,null,ce,ye,Ce,pe,V)}q>$e?se($,ce,ye,!0,!1,ze):A(R,Y,le,ce,ye,Ce,pe,V,ze)},he=($,R,Y,le,ce,ye,Ce,pe,V)=>{let q=0;const $e=R.length;let ze=$.length-1,De=$e-1;for(;q<=ze&&q<=De;){const Ne=$[q],We=R[q]=V?Vr(R[q]):On(R[q]);if(dr(Ne,We))g(Ne,We,Y,null,ce,ye,Ce,pe,V);else break;q++}for(;q<=ze&&q<=De;){const Ne=$[ze],We=R[De]=V?Vr(R[De]):On(R[De]);if(dr(Ne,We))g(Ne,We,Y,null,ce,ye,Ce,pe,V);else break;ze--,De--}if(q>ze){if(q<=De){const Ne=De+1,We=Ne<$e?R[Ne].el:le;for(;q<=De;)g(null,R[q]=V?Vr(R[q]):On(R[q]),Y,We,ce,ye,Ce,pe,V),q++}}else if(q>De)for(;q<=ze;)me($[q],ce,ye,!0),q++;else{const Ne=q,We=q,tt=new Map;for(q=We;q<=De;q++){const Le=R[q]=V?Vr(R[q]):On(R[q]);Le.key!=null&&tt.set(Le.key,q)}let k,y=0;const L=De-We+1;let K=!1,ee=0;const fe=new Array(L);for(q=0;q<L;q++)fe[q]=0;for(q=Ne;q<=ze;q++){const Le=$[q];if(y>=L){me(Le,ce,ye,!0);continue}let re;if(Le.key!=null)re=tt.get(Le.key);else for(k=We;k<=De;k++)if(fe[k-We]===0&&dr(Le,R[k])){re=k;break}re===void 0?me(Le,ce,ye,!0):(fe[re-We]=q+1,re>=ee?ee=re:K=!0,g(Le,R[re],Y,null,ce,ye,Ce,pe,V),y++)}const Se=K?Gw(fe):so;for(k=Se.length-1,q=L-1;q>=0;q--){const Le=We+q,re=R[Le],de=Le+1<$e?R[Le+1].el:le;fe[q]===0?g(null,re,Y,de,ce,ye,Ce,pe,V):K&&(k<0||q!==Se[k]?X(re,Y,de,2):k--)}}},X=($,R,Y,le,ce=null)=>{const{el:ye,type:Ce,transition:pe,children:V,shapeFlag:q}=$;if(q&6){X($.component.subTree,R,Y,le);return}if(q&128){$.suspense.move(R,Y,le);return}if(q&64){Ce.move($,R,Y,Ie);return}if(Ce===Ge){r(ye,R,Y);for(let ze=0;ze<V.length;ze++)X(V[ze],R,Y,le);r($.anchor,R,Y);return}if(Ce===Cs){z($,R,Y);return}if(le!==2&&q&1&&pe)if(le===0)pe.beforeEnter(ye),r(ye,R,Y),Xt(()=>pe.enter(ye),ce);else{const{leave:ze,delayLeave:De,afterLeave:Ne}=pe,We=()=>r(ye,R,Y),tt=()=>{ze(ye,()=>{We(),Ne&&Ne()})};De?De(ye,We,tt):tt()}else r(ye,R,Y)},me=($,R,Y,le=!1,ce=!1)=>{const{type:ye,props:Ce,ref:pe,children:V,dynamicChildren:q,shapeFlag:$e,patchFlag:ze,dirs:De}=$;if(pe!=null&&bl(pe,null,Y,$,!0),$e&256){R.ctx.deactivate($);return}const Ne=$e&1&&De,We=!ws($);let tt;if(We&&(tt=Ce&&Ce.onVnodeBeforeUnmount)&&vn(tt,R,$),$e&6)ie($.component,Y,le);else{if($e&128){$.suspense.unmount(Y,le);return}Ne&&ur($,null,R,"beforeUnmount"),$e&64?$.type.remove($,R,Y,ce,Ie,le):q&&(ye!==Ge||ze>0&&ze&64)?se(q,R,Y,!1,!0):(ye===Ge&&ze&384||!ce&&$e&16)&&se(V,R,Y),le&&we($)}(We&&(tt=Ce&&Ce.onVnodeUnmounted)||Ne)&&Xt(()=>{tt&&vn(tt,R,$),Ne&&ur($,null,R,"unmounted")},Y)},we=$=>{const{type:R,el:Y,anchor:le,transition:ce}=$;if(R===Ge){U(Y,le);return}if(R===Cs){S($);return}const ye=()=>{s(Y),ce&&!ce.persisted&&ce.afterLeave&&ce.afterLeave()};if($.shapeFlag&1&&ce&&!ce.persisted){const{leave:Ce,delayLeave:pe}=ce,V=()=>Ce(Y,ye);pe?pe($.el,ye,V):V()}else ye()},U=($,R)=>{let Y;for(;$!==R;)Y=d($),s($),$=Y;s(R)},ie=($,R,Y)=>{const{bum:le,scope:ce,update:ye,subTree:Ce,um:pe}=$;le&&io(le),ce.stop(),ye&&(ye.active=!1,me(Ce,$,R,Y)),pe&&Xt(pe,R),Xt(()=>{$.isUnmounted=!0},R),R&&R.pendingBranch&&!R.isUnmounted&&$.asyncDep&&!$.asyncResolved&&$.suspenseId===R.pendingId&&(R.deps--,R.deps===0&&R.resolve())},se=($,R,Y,le=!1,ce=!1,ye=0)=>{for(let Ce=ye;Ce<$.length;Ce++)me($[Ce],R,Y,le,ce)},be=$=>$.shapeFlag&6?be($.component.subTree):$.shapeFlag&128?$.suspense.next():d($.anchor||$.el),Ve=($,R,Y)=>{$==null?R._vnode&&me(R._vnode,null,null,!0):g(R._vnode||null,$,R,null,null,null,Y),gl(),R._vnode=$},Ie={p:g,um:me,m:X,r:we,mt:oe,mc:A,pc:Me,pbc:W,n:be,o:e};let Ee,Ae;return t&&([Ee,Ae]=t(Ie)),{render:Ve,hydrate:Ee,createApp:qw(Ve,Ee)}}function ls({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function cm(e,t,n=!1){const r=e.children,s=t.children;if(qe(r)&&qe(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]=Vr(s[o]),a.el=i.el),n||cm(i,a))}}function Gw(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 Kw=e=>e.__isTeleport,ci=e=>e&&(e.disabled||e.disabled===""),Yf=e=>typeof SVGElement<"u"&&e instanceof SVGElement,Uc=(e,t)=>{const n=e&&e.to;return Tt(n)?t?t(n):null:n},Zw={__isTeleport:!0,process(e,t,n,r,s,o,i,a,l,c){const{mc:m,pc:f,pbc:d,o:{insert:p,querySelector:h,createText:_,createComment:g}}=c,b=ci(t.props);let{shapeFlag:w,children:x,dynamicChildren:z}=t;if(e==null){const S=t.el=_(""),T=t.anchor=_("");p(S,n,r),p(T,n,r);const j=t.target=Uc(t.props,h),F=t.targetAnchor=_("");j&&(p(F,j),i=i||Yf(j));const A=(M,W)=>{w&16&&m(x,M,W,s,o,i,a,l)};b?A(n,T):j&&A(j,F)}else{t.el=e.el;const S=t.anchor=e.anchor,T=t.target=e.target,j=t.targetAnchor=e.targetAnchor,F=ci(e.props),A=F?n:T,M=F?S:j;if(i=i||Yf(T),z?(d(e.dynamicChildren,z,A,s,o,i,a),cm(e,t,!0)):l||f(e,t,A,M,s,o,i,a,!1),b)F||ma(t,n,S,c,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const W=t.target=Uc(t.props,h);W&&ma(t,W,null,c,0)}else F&&ma(t,T,j,c,1)}},remove(e,t,n,r,{um:s,o:{remove:o}},i){const{shapeFlag:a,children:l,anchor:c,targetAnchor:m,target:f,props:d}=e;if(f&&o(m),(i||!ci(d))&&(o(c),a&16))for(let p=0;p<l.length;p++){const h=l[p];s(h,t,n,!0,!!h.dynamicChildren)}},move:ma,hydrate:Yw};function ma(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:m}=e,f=o===2;if(f&&r(i,t,n),(!f||ci(m))&&l&16)for(let d=0;d<c.length;d++)s(c[d],t,n,2);f&&r(a,t,n)}function Yw(e,t,n,r,s,o,{o:{nextSibling:i,parentNode:a,querySelector:l}},c){const m=t.target=Uc(t.props,l);if(m){const f=m._lpa||m.firstChild;if(t.shapeFlag&16)if(ci(t.props))t.anchor=c(i(e),t,a(e),n,r,s,o),t.targetAnchor=f;else{t.anchor=i(e);let d=f;for(;d;)if(d=i(d),d&&d.nodeType===8&&d.data==="teleport anchor"){t.targetAnchor=d,m._lpa=t.targetAnchor&&i(t.targetAnchor);break}c(f,t,m,n,r,s,o)}}return t.anchor&&i(t.anchor)}const os=Zw,Ge=Symbol(void 0),es=Symbol(void 0),an=Symbol(void 0),Cs=Symbol(void 0),di=[];let wn=null;function E(e=!1){di.push(wn=e?null:[])}function $g(){di.pop(),wn=di[di.length-1]||null}let Ss=1;function qc(e){Ss+=e}function Ag(e){return e.dynamicChildren=Ss>0?wn||so:null,$g(),Ss>0&&wn&&wn.push(e),e}function D(e,t,n,r,s,o){return Ag(u(e,t,n,r,s,o,!0))}function xe(e,t,n,r,s){return Ag(C(e,t,n,r,s,!0))}function ts(e){return e?e.__v_isVNode===!0:!1}function dr(e,t){return e.type===t.type&&e.key===t.key}function Jw(e){}const ru="__vInternal",Tg=({key:e})=>e??null,rl=({ref:e,ref_key:t,ref_for:n})=>e!=null?Tt(e)||Ut(e)||et(e)?{i:rn,r:e,k:t,f:!!n}:e:null;function u(e,t=null,n=null,r=0,s=null,o=e===Ge?0:1,i=!1,a=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Tg(t),ref:t&&rl(t),scopeId:Jl,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};return a?(dm(l,n),o&128&&e.normalize(l)):n&&(l.shapeFlag|=Tt(n)?8:16),Ss>0&&!i&&wn&&(l.patchFlag>0||o&6)&&l.patchFlag!==32&&wn.push(l),l}const C=Xw;function Xw(e,t=null,n=null,r=0,s=null,o=!1){if((!e||e===pg)&&(e=an),ts(e)){const a=hr(e,t,!0);return n&&dm(a,n),Ss>0&&!o&&wn&&(a.shapeFlag&6?wn[wn.indexOf(e)]=a:wn.push(a)),a.patchFlag|=-2,a}if(lC(e)&&(e=e.__vccOpts),t){t=Og(t);let{class:a,style:l}=t;a&&!Tt(a)&&(t.class=Ye(a)),Rt(l)&&(Zd(l)&&!qe(l)&&(l=Mt({},l)),t.style=ss(l))}const i=Tt(e)?1:eg(e)?128:Kw(e)?64:Rt(e)?4:et(e)?2:0;return u(e,t,n,r,s,i,o,!0)}function Og(e){return e?Zd(e)||ru in e?Mt({},e):e:null}function hr(e,t,n=!1){const{props:r,ref:s,patchFlag:o,children:i}=e,a=t?mm(r||{},t):r;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:a,key:a&&Tg(a),ref:t&&t.ref?n&&s?qe(s)?s.concat(rl(t)):[s,rl(t)]:rl(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!==Ge?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&&hr(e.ssContent),ssFallback:e.ssFallback&&hr(e.ssFallback),el:e.el,anchor:e.anchor}}function yt(e=" ",t=0){return C(es,null,e,t)}function Qw(e,t){const n=C(Cs,null,e);return n.staticCount=t,n}function Q(e="",t=!1){return t?(E(),xe(an,null,e)):C(an,null,e)}function On(e){return e==null||typeof e=="boolean"?C(an):qe(e)?C(Ge,null,e.slice()):typeof e=="object"?Vr(e):C(es,null,String(e))}function Vr(e){return e.el===null||e.memo?e:hr(e)}function dm(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(qe(t))n=16;else if(typeof t=="object")if(r&65){const s=t.default;s&&(s._c&&(s._d=!1),dm(e,s()),s._c&&(s._d=!0));return}else{n=32;const s=t._;!s&&!(ru in t)?t._ctx=rn:s===3&&rn&&(rn.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else et(t)?(t={default:t,_ctx:rn},n=32):(t=String(t),r&64?(n=16,t=[yt(t)]):n=8);e.children=t,e.shapeFlag|=n}function mm(...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=Ye([t.class,r.class]));else if(s==="style")t.style=ss([t.style,r.style]);else if(Fi(s)){const o=t[s],i=r[s];i&&o!==i&&!(qe(o)&&o.includes(i))&&(t[s]=o?[].concat(o,i):i)}else s!==""&&(t[s]=r[s])}return t}function vn(e,t,n,r=null){Fn(e,t,7,[n,r])}const eC=xg();let tC=0;function Pg(e,t,n){const r=e.type,s=(t?t.appContext:e.appContext)||eC,o={uid:tC++,vnode:e,type:r,parent:t,appContext:s,root:null,next:null,subTree:null,effect:null,update:null,scope:new qd(!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:bg(r,s),emitsOptions:Q_(r,s),emit:null,emitted:null,propsDefaults:gt,inheritAttrs:r.inheritAttrs,ctx:gt,data:gt,props:gt,attrs:gt,slots:gt,refs:gt,setupState:gt,setupContext: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=uw.bind(null,o),e.ce&&e.ce(o),o}let Kt=null;const or=()=>Kt||rn,ns=e=>{Kt=e,e.scope.on()},Yr=()=>{Kt&&Kt.scope.off(),Kt=null};function Dg(e){return e.vnode.shapeFlag&4}let po=!1;function Fg(e,t=!1){po=t;const{props:n,children:r}=e.vnode,s=Dg(e);Nw(e,n,s,t),Bw(e,r);const o=s?nC(e,t):void 0;return po=!1,o}function nC(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=Yd(new Proxy(e.ctx,jc));const{setup:r}=n;if(r){const s=e.setupContext=r.length>1?Lg(e):null;ns(e),$s();const o=fr(r,e,0,[e.props,s]);if(As(),Yr(),Hd(o)){if(o.then(Yr,Yr),t)return o.then(i=>{Wc(e,i,t)}).catch(i=>{Os(i,e,0)});e.asyncDep=o}else Wc(e,o,t)}else Ig(e,t)}function Wc(e,t,n){et(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:Rt(t)&&(e.setupState=Qd(t)),Ig(e,n)}let wl,Gc;function rC(e){wl=e,Gc=t=>{t.render._rc&&(t.withProxy=new Proxy(t.ctx,Dw))}}const sC=()=>!wl;function Ig(e,t,n){const r=e.type;if(!e.render){if(!t&&wl&&!r.render){const s=r.template;if(s){const{isCustomElement:o,compilerOptions:i}=e.appContext.config,{delimiters:a,compilerOptions:l}=r,c=Mt(Mt({isCustomElement:o,delimiters:a},i),l);r.render=wl(s,c)}}e.render=r.render||nr,Gc&&Gc(e)}ns(e),$s(),Fw(e),As(),Yr()}function oC(e){return new Proxy(e.attrs,{get(t,n){return Mn(e,"get","$attrs"),t[n]}})}function Lg(e){const t=r=>{e.exposed=r||{}};let n;return{get attrs(){return n||(n=oC(e))},slots:e.slots,emit:e.emit,expose:t}}function su(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(Qd(Yd(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in yl)return yl[n](e)}}))}const iC=/(?:^|[-_])(\w)/g,aC=e=>e.replace(iC,t=>t.toUpperCase()).replace(/[-_]/g,"");function Cl(e,t=!0){return et(e)?e.displayName||e.name:e.name||t&&e.__name}function Mg(e,t,n=!1){let r=Cl(t);if(!r&&t.__file){const s=t.__file.match(/([^/\\]+)\.\w+$/);s&&(r=s[1])}if(!r&&e&&e.parent){const s=o=>{for(const i in o)if(o[i]===t)return i};r=s(e.components||e.parent.type.components)||s(e.appContext.components)}return r?aC(r):n?"App":"Anonymous"}function lC(e){return et(e)&&"__vccOpts"in e}const At=(e,t)=>ew(e,t,po);function uC(){return null}function cC(){return null}function dC(e){}function mC(e,t){return null}function fC(){return Rg().slots}function pC(){return Rg().attrs}function Rg(){const e=or();return e.setupContext||(e.setupContext=Lg(e))}function hC(e,t){const n=qe(e)?e.reduce((r,s)=>(r[s]={},r),{}):e;for(const r in t){const s=n[r];s?qe(s)||et(s)?n[r]={type:s,default:t[r]}:s.default=t[r]:s===null&&(n[r]={default:t[r]})}return n}function _C(e,t){const n={};for(const r in e)t.includes(r)||Object.defineProperty(n,r,{enumerable:!0,get:()=>e[r]});return n}function gC(e){const t=or();let n=e();return Yr(),Hd(n)&&(n=n.catch(r=>{throw ns(t),r})),[n,()=>ns(t)]}function Cn(e,t,n){const r=arguments.length;return r===2?Rt(t)&&!qe(t)?ts(t)?C(e,null,[t]):C(e,t):C(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&ts(n)&&(n=[n]),C(e,t,n))}const Ng=Symbol(""),yC=()=>{{const e=rr(Ng);return e||W_("Server rendering context not provided. Make sure to only call useSSRContext() conditionally in the server build."),e}};function vC(){}function bC(e,t,n,r){const s=n[r];if(s&&jg(s,e))return s;const o=t();return o.memo=e.slice(),n[r]=o}function jg(e,t){const n=e.memo;if(n.length!=t.length)return!1;for(let r=0;r<n.length;r++)if(co(n[r],t[r]))return!1;return Ss>0&&wn&&wn.push(e),!0}const Vg="3.2.37",wC={createComponentInstance:Pg,setupComponent:Fg,renderComponentRoot:nl,setCurrentRenderingInstance:Ei,isVNode:ts,normalizeVNode:On},CC=wC,zC=null,xC=null,kC="http://www.w3.org/2000/svg",gs=typeof document<"u"?document:null,Jf=gs&&gs.createElement("template"),SC={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?gs.createElementNS(kC,e):gs.createElement(e,n?{is:n}:void 0);return e==="select"&&r&&r.multiple!=null&&s.setAttribute("multiple",r.multiple),s},createText:e=>gs.createTextNode(e),createComment:e=>gs.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>gs.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},cloneNode(e){const t=e.cloneNode(!0);return"_value"in e&&(t._value=e._value),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{Jf.innerHTML=r?`<svg>${e}</svg>`:e;const a=Jf.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 EC(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 $C(e,t,n){const r=e.style,s=Tt(n);if(n&&!s){for(const o in n)Kc(r,o,n[o]);if(t&&!Tt(t))for(const o in t)n[o]==null&&Kc(r,o,"")}else{const o=r.display;s?t!==n&&(r.cssText=n):t&&e.removeAttribute("style"),"_vod"in e&&(r.display=o)}}const Xf=/\s*!important$/;function Kc(e,t,n){if(qe(n))n.forEach(r=>Kc(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=AC(e,t);Xf.test(n)?e.setProperty(mr(r),n.replace(Xf,""),"important"):e[r]=n}}const Qf=["Webkit","Moz","ms"],ju={};function AC(e,t){const n=ju[t];if(n)return n;let r=Ln(t);if(r!=="filter"&&r in e)return ju[t]=r;r=Li(r);for(let s=0;s<Qf.length;s++){const o=Qf[s]+r;if(o in e)return ju[t]=o}return t}const ep="http://www.w3.org/1999/xlink";function TC(e,t,n,r,s){if(r&&t.startsWith("xlink:"))n==null?e.removeAttributeNS(ep,t.slice(6,t.length)):e.setAttributeNS(ep,t,n);else{const o=n0(t);n==null||o&&!k_(n)?e.removeAttribute(t):e.setAttribute(t,o?"":n)}}function OC(e,t,n,r,s,o,i){if(t==="innerHTML"||t==="textContent"){r&&i(r,s,o),e[t]=n??"";return}if(t==="value"&&e.tagName!=="PROGRESS"&&!e.tagName.includes("-")){e._value=n;const l=n??"";(e.value!==l||e.tagName==="OPTION")&&(e.value=l),n==null&&e.removeAttribute(t);return}let a=!1;if(n===""||n==null){const l=typeof e[t];l==="boolean"?n=k_(n):n==null&&l==="string"?(n="",a=!0):l==="number"&&(n=0,a=!0)}try{e[t]=n}catch{}a&&e.removeAttribute(t)}const[Bg,PC]=(()=>{let e=Date.now,t=!1;if(typeof window<"u"){Date.now()>document.createEvent("Event").timeStamp&&(e=performance.now.bind(performance));const n=navigator.userAgent.match(/firefox\/(\d+)/i);t=!!(n&&Number(n[1])<=53)}return[e,t]})();let Zc=0;const DC=Promise.resolve(),FC=()=>{Zc=0},IC=()=>Zc||(DC.then(FC),Zc=Bg());function zr(e,t,n,r){e.addEventListener(t,n,r)}function LC(e,t,n,r){e.removeEventListener(t,n,r)}function MC(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]=RC(t);if(r){const c=o[t]=NC(r,s);zr(e,a,c,l)}else i&&(LC(e,a,i,l),o[t]=void 0)}}const tp=/(?:Once|Passive|Capture)$/;function RC(e){let t;if(tp.test(e)){t={};let n;for(;n=e.match(tp);)e=e.slice(0,e.length-n[0].length),t[n[0].toLowerCase()]=!0}return[mr(e.slice(2)),t]}function NC(e,t){const n=r=>{const s=r.timeStamp||Bg();(PC||s>=n.attached-1)&&Fn(jC(r,n.value),t,5,[r])};return n.value=e,n.attached=IC(),n}function jC(e,t){if(qe(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 np=/^on[a-z]/,VC=(e,t,n,r,s=!1,o,i,a,l)=>{t==="class"?EC(e,r,s):t==="style"?$C(e,n,r):Fi(t)?Vd(t)||MC(e,t,n,r,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):BC(e,t,r,s))?OC(e,t,r,o,i,a,l):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),TC(e,t,r,s))};function BC(e,t,n,r){return r?!!(t==="innerHTML"||t==="textContent"||t in e&&np.test(t)&&et(n)):t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA"||np.test(t)&&Tt(n)?!1:t in e}function Hg(e,t){const n=Ni(e);class r extends ou{constructor(o){super(n,o,t)}}return r.def=n,r}const HC=e=>Hg(e,ny),UC=typeof HTMLElement<"u"?HTMLElement:class{};class ou extends UC{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"})}connectedCallback(){this._connected=!0,this._instance||this._resolveDef()}disconnectedCallback(){this._connected=!1,Kl(()=>{this._connected||(Jc(null,this.shadowRoot),this._instance=null)})}_resolveDef(){if(this._resolved)return;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=>{const{props:s,styles:o}=r,i=!qe(s),a=s?i?Object.keys(s):s:[];let l;if(i)for(const c in this._props){const m=s[c];(m===Number||m&&m.type===Number)&&(this._props[c]=Xr(this._props[c]),(l||(l=Object.create(null)))[c]=!0)}this._numberProps=l;for(const c of Object.keys(this))c[0]!=="_"&&this._setProp(c,this[c],!0,!1);for(const c of a.map(Ln))Object.defineProperty(this,c,{get(){return this._getProp(c)},set(m){this._setProp(c,m)}});this._applyStyles(o),this._update()},n=this._def.__asyncLoader;n?n().then(t):t(this._def)}_setAttr(t){let n=this.getAttribute(t);this._numberProps&&this._numberProps[t]&&(n=Xr(n)),this._setProp(Ln(t),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(mr(t),""):typeof n=="string"||typeof n=="number"?this.setAttribute(mr(t),n+""):n||this.removeAttribute(mr(t))))}_update(){Jc(this._createVNode(),this.shadowRoot)}_createVNode(){const t=C(this._def,Mt({},this._props));return this._instance||(t.ce=n=>{this._instance=n,n.isCE=!0,n.emit=(s,...o)=>{this.dispatchEvent(new CustomEvent(s,{detail:o}))};let r=this;for(;r=r&&(r.parentNode||r.host);)if(r instanceof ou){n.parent=r._instance;break}}),t}_applyStyles(t){t&&t.forEach(n=>{const r=document.createElement("style");r.textContent=n,this.shadowRoot.appendChild(r)})}}function qC(e="$style"){{const t=or();if(!t)return gt;const n=t.type.__cssModules;if(!n)return gt;const r=n[e];return r||gt}}function WC(e){const t=or();if(!t)return;const n=()=>Yc(t.subTree,e(t.proxy));ng(n),Ps(()=>{const r=new MutationObserver(n);r.observe(t.subTree.el.parentNode,{childList:!0}),ko(()=>r.disconnect())})}function Yc(e,t){if(e.shapeFlag&128){const n=e.suspense;e=n.activeBranch,n.pendingBranch&&!n.isHydrating&&n.effects.push(()=>{Yc(n.activeBranch,t)})}for(;e.component;)e=e.component.subTree;if(e.shapeFlag&1&&e.el)rp(e.el,t);else if(e.type===Ge)e.children.forEach(n=>Yc(n,t));else if(e.type===Cs){let{el:n,anchor:r}=e;for(;n&&(rp(n,t),n!==r);)n=n.nextSibling}}function rp(e,t){if(e.nodeType===1){const n=e.style;for(const r in t)n.setProperty(`--${r}`,t[r])}}const Ir="transition",Io="animation",qt=(e,{slots:t})=>Cn(im,qg(e),t);qt.displayName="Transition";const Ug={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},GC=qt.props=Mt({},im.props,Ug),us=(e,t=[])=>{qe(e)?e.forEach(n=>n(...t)):e&&e(...t)},sp=e=>e?qe(e)?e.some(t=>t.length>1):e.length>1:!1;function qg(e){const t={};for(const I in e)I in Ug||(t[I]=e[I]);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:m=a,leaveFromClass:f=`${n}-leave-from`,leaveActiveClass:d=`${n}-leave-active`,leaveToClass:p=`${n}-leave-to`}=e,h=KC(s),_=h&&h[0],g=h&&h[1],{onBeforeEnter:b,onEnter:w,onEnterCancelled:x,onLeave:z,onLeaveCancelled:S,onBeforeAppear:T=b,onAppear:j=w,onAppearCancelled:F=x}=t,A=(I,H,B)=>{jr(I,H?m:a),jr(I,H?c:i),B&&B()},M=(I,H)=>{I._isLeaving=!1,jr(I,f),jr(I,p),jr(I,d),H&&H()},W=I=>(H,B)=>{const oe=I?j:w,J=()=>A(H,I,B);us(oe,[H,J]),op(()=>{jr(H,I?l:o),wr(H,I?m:a),sp(oe)||ip(H,r,_,J)})};return Mt(t,{onBeforeEnter(I){us(b,[I]),wr(I,o),wr(I,i)},onBeforeAppear(I){us(T,[I]),wr(I,l),wr(I,c)},onEnter:W(!1),onAppear:W(!0),onLeave(I,H){I._isLeaving=!0;const B=()=>M(I,H);wr(I,f),Gg(),wr(I,d),op(()=>{I._isLeaving&&(jr(I,f),wr(I,p),sp(z)||ip(I,r,g,B))}),us(z,[I,B])},onEnterCancelled(I){A(I,!1),us(x,[I])},onAppearCancelled(I){A(I,!0),us(F,[I])},onLeaveCancelled(I){M(I),us(S,[I])}})}function KC(e){if(e==null)return null;if(Rt(e))return[Vu(e.enter),Vu(e.leave)];{const t=Vu(e);return[t,t]}}function Vu(e){return Xr(e)}function wr(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e._vtc||(e._vtc=new Set)).add(t)}function jr(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 op(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let ZC=0;function ip(e,t,n,r){const s=e._endId=++ZC,o=()=>{s===e._endId&&r()};if(n)return setTimeout(o,n);const{type:i,timeout:a,propCount:l}=Wg(e,t);if(!i)return r();const c=i+"end";let m=0;const f=()=>{e.removeEventListener(c,d),o()},d=p=>{p.target===e&&++m>=l&&f()};setTimeout(()=>{m<l&&f()},a+1),e.addEventListener(c,d)}function Wg(e,t){const n=window.getComputedStyle(e),r=h=>(n[h]||"").split(", "),s=r(Ir+"Delay"),o=r(Ir+"Duration"),i=ap(s,o),a=r(Io+"Delay"),l=r(Io+"Duration"),c=ap(a,l);let m=null,f=0,d=0;t===Ir?i>0&&(m=Ir,f=i,d=o.length):t===Io?c>0&&(m=Io,f=c,d=l.length):(f=Math.max(i,c),m=f>0?i>c?Ir:Io:null,d=m?m===Ir?o.length:l.length:0);const p=m===Ir&&/\b(transform|all)(,|$)/.test(n[Ir+"Property"]);return{type:m,timeout:f,propCount:d,hasTransform:p}}function ap(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((n,r)=>lp(n)+lp(e[r])))}function lp(e){return Number(e.slice(0,-1).replace(",","."))*1e3}function Gg(){return document.body.offsetHeight}const Kg=new WeakMap,Zg=new WeakMap,YC={name:"TransitionGroup",props:Mt({},GC,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=or(),r=om();let s,o;return eu(()=>{if(!s.length)return;const i=e.moveClass||`${e.name||"v"}-move`;if(!tz(s[0].el,n.vnode.el,i))return;s.forEach(XC),s.forEach(QC);const a=s.filter(ez);Gg(),a.forEach(l=>{const c=l.el,m=c.style;wr(c,i),m.transform=m.webkitTransform=m.transitionDuration="";const f=c._moveCb=d=>{d&&d.target!==c||(!d||/transform$/.test(d.propertyName))&&(c.removeEventListener("transitionend",f),c._moveCb=null,jr(c,i))};c.addEventListener("transitionend",f)})}),()=>{const i=lt(e),a=qg(i);let l=i.tag||Ge;s=o,o=t.default?Xl(t.default()):[];for(let c=0;c<o.length;c++){const m=o[c];m.key!=null&&ks(m,fo(m,a,r,n))}if(s)for(let c=0;c<s.length;c++){const m=s[c];ks(m,fo(m,a,r,n)),Kg.set(m,m.el.getBoundingClientRect())}return C(l,null,o)}}},JC=YC;function XC(e){const t=e.el;t._moveCb&&t._moveCb(),t._enterCb&&t._enterCb()}function QC(e){Zg.set(e,e.el.getBoundingClientRect())}function ez(e){const t=Kg.get(e),n=Zg.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 tz(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}=Wg(r);return s.removeChild(r),o}const rs=e=>{const t=e.props["onUpdate:modelValue"]||!1;return qe(t)?n=>io(t,n):t};function nz(e){e.target.composing=!0}function up(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const xn={created(e,{modifiers:{lazy:t,trim:n,number:r}},s){e._assign=rs(s);const o=r||s.props&&s.props.type==="number";zr(e,t?"change":"input",i=>{if(i.target.composing)return;let a=e.value;n&&(a=a.trim()),o&&(a=Xr(a)),e._assign(a)}),n&&zr(e,"change",()=>{e.value=e.value.trim()}),t||(zr(e,"compositionstart",nz),zr(e,"compositionend",up),zr(e,"change",up))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,modifiers:{lazy:n,trim:r,number:s}},o){if(e._assign=rs(o),e.composing||document.activeElement===e&&e.type!=="range"&&(n||r&&e.value.trim()===t||(s||e.type==="number")&&Xr(e.value)===t))return;const i=t??"";e.value!==i&&(e.value=i)}},Er={deep:!0,created(e,t,n){e._assign=rs(n),zr(e,"change",()=>{const r=e._modelValue,s=ho(e),o=e.checked,i=e._assign;if(qe(r)){const a=Vl(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(Es(r)){const a=new Set(r);o?a.add(s):a.delete(s),i(a)}else i(Yg(e,o))})},mounted:cp,beforeUpdate(e,t,n){e._assign=rs(n),cp(e,t,n)}};function cp(e,{value:t,oldValue:n},r){e._modelValue=t,qe(t)?e.checked=Vl(t,r.props.value)>-1:Es(t)?e.checked=t.has(r.props.value):t!==n&&(e.checked=Jr(t,Yg(e,!0)))}const fm={created(e,{value:t},n){e.checked=Jr(t,n.props.value),e._assign=rs(n),zr(e,"change",()=>{e._assign(ho(e))})},beforeUpdate(e,{value:t,oldValue:n},r){e._assign=rs(r),t!==n&&(e.checked=Jr(t,r.props.value))}},pm={deep:!0,created(e,{value:t,modifiers:{number:n}},r){const s=Es(t);zr(e,"change",()=>{const o=Array.prototype.filter.call(e.options,i=>i.selected).map(i=>n?Xr(ho(i)):ho(i));e._assign(e.multiple?s?new Set(o):o:o[0])}),e._assign=rs(r)},mounted(e,{value:t}){dp(e,t)},beforeUpdate(e,t,n){e._assign=rs(n)},updated(e,{value:t}){dp(e,t)}};function dp(e,t){const n=e.multiple;if(!(n&&!qe(t)&&!Es(t))){for(let r=0,s=e.options.length;r<s;r++){const o=e.options[r],i=ho(o);if(n)qe(t)?o.selected=Vl(t,i)>-1:o.selected=t.has(i);else if(Jr(ho(o),t)){e.selectedIndex!==r&&(e.selectedIndex=r);return}}!n&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function ho(e){return"_value"in e?e._value:e.value}function Yg(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const Jg={created(e,t,n){fa(e,t,n,null,"created")},mounted(e,t,n){fa(e,t,n,null,"mounted")},beforeUpdate(e,t,n,r){fa(e,t,n,r,"beforeUpdate")},updated(e,t,n,r){fa(e,t,n,r,"updated")}};function Xg(e,t){switch(e){case"SELECT":return pm;case"TEXTAREA":return xn;default:switch(t){case"checkbox":return Er;case"radio":return fm;default:return xn}}}function fa(e,t,n,r,s){const i=Xg(e.tagName,n.props&&n.props.type)[s];i&&i(e,t,n,r)}function rz(){xn.getSSRProps=({value:e})=>({value:e}),fm.getSSRProps=({value:e},t)=>{if(t.props&&Jr(t.props.value,e))return{checked:!0}},Er.getSSRProps=({value:e},t)=>{if(qe(e)){if(t.props&&Vl(e,t.props.value)>-1)return{checked:!0}}else if(Es(e)){if(t.props&&e.has(t.props.value))return{checked:!0}}else if(e)return{checked:!0}},Jg.getSSRProps=(e,t)=>{if(typeof t.type!="string")return;const n=Xg(t.type.toUpperCase(),t.props&&t.props.type);if(n.getSSRProps)return n.getSSRProps(e,t)}}const sz=["ctrl","shift","alt","meta"],oz={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)=>sz.some(n=>e[`${n}Key`]&&!t.includes(n))},ht=(e,t)=>(n,...r)=>{for(let s=0;s<t.length;s++){const o=oz[t[s]];if(o&&o(n,t))return}return e(n,...r)},iz={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},Pn=(e,t)=>n=>{if(!("key"in n))return;const r=mr(n.key);if(t.some(s=>s===r||iz[s]===r))return e(n)},_o={beforeMount(e,{value:t},{transition:n}){e._vod=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):Lo(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),Lo(e,!0),r.enter(e)):r.leave(e,()=>{Lo(e,!1)}):Lo(e,t))},beforeUnmount(e,{value:t}){Lo(e,t)}};function Lo(e,t){e.style.display=t?e._vod:"none"}function az(){_o.getSSRProps=({value:e})=>{if(!e)return{style:{display:"none"}}}}const Qg=Mt({patchProp:VC},SC);let mi,mp=!1;function ey(){return mi||(mi=kg(Qg))}function ty(){return mi=mp?mi:Sg(Qg),mp=!0,mi}const Jc=(...e)=>{ey().render(...e)},ny=(...e)=>{ty().hydrate(...e)},ry=(...e)=>{const t=ey().createApp(...e),{mount:n}=t;return t.mount=r=>{const s=sy(r);if(!s)return;const o=t._component;!et(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},lz=(...e)=>{const t=ty().createApp(...e),{mount:n}=t;return t.mount=r=>{const s=sy(r);if(s)return n(s,!0,s instanceof SVGElement)},t};function sy(e){return Tt(e)?document.querySelector(e):e}let fp=!1;const uz=()=>{fp||(fp=!0,rz(),az())},cz=()=>{},dz=Object.freeze(Object.defineProperty({__proto__:null,BaseTransition:im,Comment:an,EffectScope:qd,Fragment:Ge,KeepAlive:Aw,ReactiveEffect:Mi,Static:Cs,Suspense:yw,Teleport:os,Text:es,Transition:qt,TransitionGroup:JC,VueElement:ou,callWithAsyncErrorHandling:Fn,callWithErrorHandling:fr,camelize:Ln,capitalize:Li,cloneVNode:hr,compatUtils:xC,compile:cz,computed:At,createApp:ry,createBlock:xe,createCommentVNode:Q,createElementBlock:D,createElementVNode:u,createHydrationRenderer:Sg,createPropsRestProxy:_C,createRenderer:kg,createSSRApp:lz,createSlots:Vi,createStaticVNode:Qw,createTextVNode:yt,createVNode:C,customRef:J0,defineAsyncComponent:Ew,defineComponent:Ni,defineCustomElement:Hg,defineEmits:cC,defineExpose:dC,defineProps:uC,defineSSRCustomElement:HC,get devtools(){return Js},effect:b0,effectScope:h0,getCurrentInstance:or,getCurrentScope:_0,getTransitionRawChildren:Xl,guardReactiveProps:Og,h:Cn,handleError:Os,hydrate:ny,initCustomFormatter:vC,initDirectivesForSSR:uz,inject:rr,isMemoSame:jg,isProxy:Zd,isReactive:bs,isReadonly:mo,isRef:Ut,isRuntimeOnly:sC,isShallow:hl,isVNode:ts,markRaw:Yd,mergeDefaults:hC,mergeProps:mm,nextTick:Kl,normalizeClass:Ye,normalizeProps:i0,normalizeStyle:ss,onActivated:og,onBeforeMount:lg,onBeforeUnmount:tu,onBeforeUpdate:ug,onDeactivated:ig,onErrorCaptured:fg,onMounted:Ps,onRenderTracked:mg,onRenderTriggered:dg,onScopeDispose:g0,onServerPrefetch:cg,onUnmounted:ko,onUpdated:eu,openBlock:E,popScopeId:dw,provide:ui,proxyRefs:Qd,pushScopeId:cw,queuePostFlushCb:nm,reactive:Ts,readonly:Kd,ref:bn,registerRuntimeCompiler:rC,render:Jc,renderList:wt,renderSlot:zt,resolveComponent:O,resolveDirective:nu,resolveDynamicComponent:hg,resolveFilter:zC,resolveTransitionHooks:fo,setBlockTracking:qc,setDevtoolsHook:X_,setTransitionHooks:ks,shallowReactive:B_,shallowReadonly:W0,shallowRef:H_,ssrContextKey:Ng,ssrUtils:CC,stop:w0,toDisplayString:v,toHandlerKey:si,toHandlers:Pw,toRaw:lt,toRef:q_,toRefs:oi,transformVNodeArgs:Jw,triggerRef:K0,unref:ao,useAttrs:pC,useCssModule:qC,useCssVars:WC,useSSRContext:yC,useSlots:fC,useTransitionState:om,vModelCheckbox:Er,vModelDynamic:Jg,vModelRadio:fm,vModelSelect:pm,vModelText:xn,vShow:_o,version:Vg,warn:W_,watch:It,watchEffect:zw,watchPostEffect:ng,watchSyncEffect:xw,withAsyncContext:gC,withCtx:P,withDefaults:mC,withDirectives:xt,withKeys:Pn,withMemo:bC,withModifiers:ht,withScopeId:mw},Symbol.toStringTag,{value:"Module"}));/*!
|
||
* @intlify/shared v9.1.10
|
||
* (c) 2022 kazuya kawaguchi
|
||
* Released under the MIT License.
|
||
*/const mz=typeof Symbol=="function"&&typeof Symbol.toStringTag=="symbol",Tr=e=>mz?Symbol(e):e,fz=(e,t,n)=>pz({l:e,k:t,s:n}),pz=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),Qt=e=>typeof e=="number"&&isFinite(e),hz=e=>_m(e)==="[object Date]",zl=e=>_m(e)==="[object RegExp]",iu=e=>mt(e)&&Object.keys(e).length===0;function _z(e,t){typeof console<"u"&&(console.warn("[intlify] "+e),t&&console.warn(t.stack))}const fn=Object.assign;let pp;const hm=()=>pp||(pp=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function hp(e){return e.replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")}const gz=Object.prototype.hasOwnProperty;function oy(e,t){return gz.call(e,t)}const sn=Array.isArray,dn=e=>typeof e=="function",Ke=e=>typeof e=="string",Zt=e=>typeof e=="boolean",pn=e=>e!==null&&typeof e=="object",iy=Object.prototype.toString,_m=e=>iy.call(e),mt=e=>_m(e)==="[object Object]",yz=e=>e==null?"":sn(e)||mt(e)&&e.toString===iy?JSON.stringify(e,null,2):String(e);/*!
|
||
* @intlify/message-resolver v9.1.10
|
||
* (c) 2022 kazuya kawaguchi
|
||
* Released under the MIT License.
|
||
*/const vz=Object.prototype.hasOwnProperty;function bz(e,t){return vz.call(e,t)}const sl=e=>e!==null&&typeof e=="object",is=[];is[0]={w:[0],i:[3,0],["["]:[4],o:[7]};is[1]={w:[1],["."]:[2],["["]:[4],o:[7]};is[2]={w:[2],i:[3,0],[0]:[3,0]};is[3]={i:[3,0],[0]:[3,0],w:[1,1],["."]:[2,1],["["]:[4,1],o:[7,1]};is[4]={["'"]:[5,0],['"']:[6,0],["["]:[4,2],["]"]:[1,3],o:8,l:[4,0]};is[5]={["'"]:[4,0],o:8,l:[5,0]};is[6]={['"']:[4,0],o:8,l:[6,0]};const wz=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function Cz(e){return wz.test(e)}function zz(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 xz(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 kz(e){const t=e.trim();return e.charAt(0)==="0"&&isNaN(parseInt(e))?!1:Cz(t)?zz(t):"*"+t}function Sz(e){const t=[];let n=-1,r=0,s=0,o,i,a,l,c,m,f;const d=[];d[0]=()=>{i===void 0?i=a:i+=a},d[1]=()=>{i!==void 0&&(t.push(i),i=void 0)},d[2]=()=>{d[0](),s++},d[3]=()=>{if(s>0)s--,r=4,d[0]();else{if(s=0,i===void 0||(i=kz(i),i===!1))return!1;d[1]()}};function p(){const h=e[n+1];if(r===5&&h==="'"||r===6&&h==='"')return n++,a="\\"+h,d[0](),!0}for(;r!==null;)if(n++,o=e[n],!(o==="\\"&&p())){if(l=xz(o),f=is[r],c=f[l]||f.l||8,c===8||(r=c[0],c[1]!==void 0&&(m=d[c[1]],m&&(a=o,m()===!1))))return;if(r===7)return t}}const _p=new Map;function xl(e,t){if(!sl(e))return null;let n=_p.get(t);if(n||(n=Sz(t),n&&_p.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}function Xc(e){if(!sl(e))return e;for(const t in e)if(bz(e,t))if(!t.includes("."))sl(e[t])&&Xc(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],sl(s[n[r]])&&Xc(s[n[r]])}return e}/*!
|
||
* @intlify/runtime v9.1.10
|
||
* (c) 2022 kazuya kawaguchi
|
||
* Released under the MIT License.
|
||
*/const Ez=e=>e,$z=e=>"",Az="text",Tz=e=>e.length===0?"":e.join(""),Oz=yz;function gp(e,t){return e=Math.abs(e),t===2?e?e>1?1:0:1:e?Math.min(e,2):0}function Pz(e){const t=Qt(e.pluralIndex)?e.pluralIndex:-1;return e.named&&(Qt(e.named.count)||Qt(e.named.n))?Qt(e.named.count)?e.named.count:Qt(e.named.n)?e.named.n:t:t}function Dz(e,t){t.count||(t.count=e),t.n||(t.n=e)}function Fz(e={}){const t=e.locale,n=Pz(e),r=pn(e.pluralRules)&&Ke(t)&&dn(e.pluralRules[t])?e.pluralRules[t]:gp,s=pn(e.pluralRules)&&Ke(t)&&dn(e.pluralRules[t])?gp:void 0,o=g=>g[r(n,g.length,s)],i=e.list||[],a=g=>i[g],l=e.named||{};Qt(e.pluralIndex)&&Dz(n,l);const c=g=>l[g];function m(g){const b=dn(e.messages)?e.messages(g):pn(e.messages)?e.messages[g]:!1;return b||(e.parent?e.parent.message(g):$z)}const f=g=>e.modifiers?e.modifiers[g]:Ez,d=mt(e.processor)&&dn(e.processor.normalize)?e.processor.normalize:Tz,p=mt(e.processor)&&dn(e.processor.interpolate)?e.processor.interpolate:Oz,h=mt(e.processor)&&Ke(e.processor.type)?e.processor.type:Az,_={list:a,named:c,plural:o,linked:(g,b)=>{const w=m(g)(_);return Ke(b)?f(b)(w):w},message:m,type:h,interpolate:p,normalize:d};return _}/*!
|
||
* @intlify/message-compiler v9.1.10
|
||
* (c) 2022 kazuya kawaguchi
|
||
* Released under the MIT License.
|
||
*/function ay(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}/*!
|
||
* @intlify/devtools-if v9.1.10
|
||
* (c) 2022 kazuya kawaguchi
|
||
* Released under the MIT License.
|
||
*/const ly={I18nInit:"i18n:init",FunctionTranslate:"function:translate"};/*!
|
||
* @intlify/core-base v9.1.10
|
||
* (c) 2022 kazuya kawaguchi
|
||
* Released under the MIT License.
|
||
*/let Ai=null;function Iz(e){Ai=e}function Lz(e,t,n){Ai&&Ai.emit(ly.I18nInit,{timestamp:Date.now(),i18n:e,version:t,meta:n})}const Mz=Rz(ly.FunctionTranslate);function Rz(e){return t=>Ai&&Ai.emit(e,t)}const Nz="9.1.10",au=-1,yp="";function jz(){return{upper:e=>Ke(e)?e.toUpperCase():e,lower:e=>Ke(e)?e.toLowerCase():e,capitalize:e=>Ke(e)?`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`:e}}let Vz,uy=null;const vp=e=>{uy=e},Bz=()=>uy;let bp=0;function Hz(e={}){const t=Ke(e.version)?e.version:Nz,n=Ke(e.locale)?e.locale:"en-US",r=sn(e.fallbackLocale)||mt(e.fallbackLocale)||Ke(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:n,s=mt(e.messages)?e.messages:{[n]:{}},o=mt(e.datetimeFormats)?e.datetimeFormats:{[n]:{}},i=mt(e.numberFormats)?e.numberFormats:{[n]:{}},a=fn({},e.modifiers||{},jz()),l=e.pluralRules||{},c=dn(e.missing)?e.missing:null,m=Zt(e.missingWarn)||zl(e.missingWarn)?e.missingWarn:!0,f=Zt(e.fallbackWarn)||zl(e.fallbackWarn)?e.fallbackWarn:!0,d=!!e.fallbackFormat,p=!!e.unresolving,h=dn(e.postTranslation)?e.postTranslation:null,_=mt(e.processor)?e.processor:null,g=Zt(e.warnHtmlMessage)?e.warnHtmlMessage:!0,b=!!e.escapeParameter,w=dn(e.messageCompiler)?e.messageCompiler:Vz,x=dn(e.onWarn)?e.onWarn:_z,z=e,S=pn(z.__datetimeFormatters)?z.__datetimeFormatters:new Map,T=pn(z.__numberFormatters)?z.__numberFormatters:new Map,j=pn(z.__meta)?z.__meta:{};bp++;const F={version:t,cid:bp,locale:n,fallbackLocale:r,messages:s,datetimeFormats:o,numberFormats:i,modifiers:a,pluralRules:l,missing:c,missingWarn:m,fallbackWarn:f,fallbackFormat:d,unresolving:p,postTranslation:h,processor:_,warnHtmlMessage:g,escapeParameter:b,messageCompiler:w,onWarn:x,__datetimeFormatters:S,__numberFormatters:T,__meta:j};return __INTLIFY_PROD_DEVTOOLS__&&Lz(F,t,j),F}function gm(e,t,n,r,s){const{missing:o,onWarn:i}=e;if(o!==null){const a=o(e,n,t,s);return Ke(a)?a:t}else return t}function Bi(e,t,n){const r=e;r.__localeChainCache||(r.__localeChainCache=new Map);let s=r.__localeChainCache.get(n);if(!s){s=[];let o=[n];for(;sn(o);)o=wp(s,o,t);const i=sn(t)?t:mt(t)?t.default?t.default:null:t;o=Ke(i)?[i]:i,sn(o)&&wp(s,o,!1),r.__localeChainCache.set(n,s)}return s}function wp(e,t,n){let r=!0;for(let s=0;s<t.length&&Zt(r);s++){const o=t[s];Ke(o)&&(r=Uz(e,t[s],n))}return r}function Uz(e,t,n){let r;const s=t.split("-");do{const o=s.join("-");r=qz(e,o,n),s.splice(-1,1)}while(s.length&&r===!0);return r}function qz(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),(sn(n)||mt(n))&&n[s]&&(r=n[s])}return r}function Mo(e,t,n){const r=e;r.__localeChainCache=new Map,Bi(e,n,t)}function no(e){return ay(e,null,void 0)}const Cp=()=>"",cr=e=>dn(e);function zp(e,...t){const{fallbackFormat:n,postTranslation:r,unresolving:s,fallbackLocale:o,messages:i}=e,[a,l]=Qc(...t),c=Zt(l.missingWarn)?l.missingWarn:e.missingWarn,m=Zt(l.fallbackWarn)?l.fallbackWarn:e.fallbackWarn,f=Zt(l.escapeParameter)?l.escapeParameter:e.escapeParameter,d=!!l.resolvedMessage,p=Ke(l.default)||Zt(l.default)?Zt(l.default)?a:l.default:n?a:"",h=n||p!=="",_=Ke(l.locale)?l.locale:e.locale;f&&Wz(l);let[g,b,w]=d?[a,_,i[_]||{}]:Gz(e,a,_,o,m,c),x=a;if(!d&&!(Ke(g)||cr(g))&&h&&(g=p,x=g),!d&&(!(Ke(g)||cr(g))||!Ke(b)))return s?au:a;let z=!1;const S=()=>{z=!0},T=cr(g)?g:cy(e,a,b,g,x,S);if(z)return g;const j=Yz(e,b,w,l),F=Fz(j),A=Kz(e,T,F),M=r?r(A):A;if(__INTLIFY_PROD_DEVTOOLS__){const W={timestamp:Date.now(),key:Ke(a)?a:cr(g)?g.key:"",locale:b||(cr(g)?g.locale:""),format:Ke(g)?g:cr(g)?g.source:"",message:M};W.meta=fn({},e.__meta,Bz()||{}),Mz(W)}return M}function Wz(e){sn(e.list)?e.list=e.list.map(t=>Ke(t)?hp(t):t):pn(e.named)&&Object.keys(e.named).forEach(t=>{Ke(e.named[t])&&(e.named[t]=hp(e.named[t]))})}function Gz(e,t,n,r,s,o){const{messages:i,onWarn:a}=e,l=Bi(e,r,n);let c={},m,f=null;const d="translate";for(let p=0;p<l.length&&(m=l[p],c=i[m]||{},(f=xl(c,t))===null&&(f=c[t]),!(Ke(f)||dn(f)));p++){const h=gm(e,t,m,o,d);h!==t&&(f=h)}return[f,m,c]}function cy(e,t,n,r,s,o){const{messageCompiler:i,warnHtmlMessage:a}=e;if(cr(r)){const c=r;return c.locale=c.locale||n,c.key=c.key||t,c}const l=i(r,Zz(e,n,s,r,a,o));return l.locale=n,l.key=t,l.source=r,l}function Kz(e,t,n){return t(n)}function Qc(...e){const[t,n,r]=e,s={};if(!Ke(t)&&!Qt(t)&&!cr(t))throw no(14);const o=Qt(t)?String(t):(cr(t),t);return Qt(n)?s.plural=n:Ke(n)?s.default=n:mt(n)&&!iu(n)?s.named=n:sn(n)&&(s.list=n),Qt(r)?s.plural=r:Ke(r)?s.default=r:mt(r)&&fn(s,r),[o,s]}function Zz(e,t,n,r,s,o){return{warnHtmlMessage:s,onError:i=>{throw o&&o(i),i},onCacheKey:i=>fz(t,n,i)}}function Yz(e,t,n,r){const{modifiers:s,pluralRules:o}=e,a={locale:t,modifiers:s,pluralRules:o,messages:l=>{const c=xl(n,l);if(Ke(c)){let m=!1;const d=cy(e,l,t,c,l,()=>{m=!0});return m?Cp:d}else return cr(c)?c:Cp}};return e.processor&&(a.processor=e.processor),r.list&&(a.list=r.list),r.named&&(a.named=r.named),Qt(r.plural)&&(a.pluralIndex=r.plural),a}function xp(e,...t){const{datetimeFormats:n,unresolving:r,fallbackLocale:s,onWarn:o}=e,{__datetimeFormatters:i}=e,[a,l,c,m]=ed(...t),f=Zt(c.missingWarn)?c.missingWarn:e.missingWarn;Zt(c.fallbackWarn)?c.fallbackWarn:e.fallbackWarn;const d=!!c.part,p=Ke(c.locale)?c.locale:e.locale,h=Bi(e,s,p);if(!Ke(a)||a==="")return new Intl.DateTimeFormat(p).format(l);let _={},g,b=null;const w="datetime format";for(let S=0;S<h.length&&(g=h[S],_=n[g]||{},b=_[a],!mt(b));S++)gm(e,a,g,f,w);if(!mt(b)||!Ke(g))return r?au:a;let x=`${g}__${a}`;iu(m)||(x=`${x}__${JSON.stringify(m)}`);let z=i.get(x);return z||(z=new Intl.DateTimeFormat(g,fn({},b,m)),i.set(x,z)),d?z.formatToParts(l):z.format(l)}function ed(...e){const[t,n,r,s]=e;let o={},i={},a;if(Ke(t)){if(!/\d{4}-\d{2}-\d{2}(T.*)?/.test(t))throw no(16);a=new Date(t);try{a.toISOString()}catch{throw no(16)}}else if(hz(t)){if(isNaN(t.getTime()))throw no(15);a=t}else if(Qt(t))a=t;else throw no(14);return Ke(n)?o.key=n:mt(n)&&(o=n),Ke(r)?o.locale=r:mt(r)&&(i=r),mt(s)&&(i=s),[o.key||"",a,o,i]}function kp(e,t,n){const r=e;for(const s in n){const o=`${t}__${s}`;r.__datetimeFormatters.has(o)&&r.__datetimeFormatters.delete(o)}}function Sp(e,...t){const{numberFormats:n,unresolving:r,fallbackLocale:s,onWarn:o}=e,{__numberFormatters:i}=e,[a,l,c,m]=td(...t),f=Zt(c.missingWarn)?c.missingWarn:e.missingWarn;Zt(c.fallbackWarn)?c.fallbackWarn:e.fallbackWarn;const d=!!c.part,p=Ke(c.locale)?c.locale:e.locale,h=Bi(e,s,p);if(!Ke(a)||a==="")return new Intl.NumberFormat(p).format(l);let _={},g,b=null;const w="number format";for(let S=0;S<h.length&&(g=h[S],_=n[g]||{},b=_[a],!mt(b));S++)gm(e,a,g,f,w);if(!mt(b)||!Ke(g))return r?au:a;let x=`${g}__${a}`;iu(m)||(x=`${x}__${JSON.stringify(m)}`);let z=i.get(x);return z||(z=new Intl.NumberFormat(g,fn({},b,m)),i.set(x,z)),d?z.formatToParts(l):z.format(l)}function td(...e){const[t,n,r,s]=e;let o={},i={};if(!Qt(t))throw no(14);const a=t;return Ke(n)?o.key=n:mt(n)&&(o=n),Ke(r)?o.locale=r:mt(r)&&(i=r),mt(s)&&(i=s),[o.key||"",a,o,i]}function Ep(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"&&(hm().__INTLIFY_PROD_DEVTOOLS__=!1);function Jz(){return dy().__VUE_DEVTOOLS_GLOBAL_HOOK__}function dy(){return typeof navigator<"u"&&typeof window<"u"?window:typeof global<"u"?global:{}}const Xz=typeof Proxy=="function",Qz="devtools-plugin:setup",ex="plugin:settings:set";let Ns,nd;function tx(){var e;return Ns!==void 0||(typeof window<"u"&&window.performance?(Ns=!0,nd=window.performance):typeof global<"u"&&(!((e=global.perf_hooks)===null||e===void 0)&&e.performance)?(Ns=!0,nd=global.perf_hooks.performance):Ns=!1),Ns}function nx(){return tx()?nd.now():Date.now()}class rx{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 nx()}},n&&n.on(ex,(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 sx(e,t){const n=e,r=dy(),s=Jz(),o=Xz&&n.enableEarlyProxy;if(s&&(r.__VUE_DEVTOOLS_PLUGIN_API_AVAILABLE__||!o))s.emit(Qz,e,t);else{const i=o?new rx(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.1.10
|
||
* (c) 2022 kazuya kawaguchi
|
||
* Released under the MIT License.
|
||
*/const ox="9.1.10";function ix(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(hm().__INTLIFY_PROD_DEVTOOLS__=!1)}function Hn(e,...t){return ay(e,null,void 0)}const Bu="__INTLIFY_META__",rd=Tr("__transrateVNode"),sd=Tr("__datetimeParts"),od=Tr("__numberParts");Tr("__enableEmitter");Tr("__disableEmitter");const ax=Tr("__setPluralRules");Tr("__intlifyMeta");const my=Tr("__injectWithOption");let $p=0;function Ap(e){return(t,n,r,s)=>e(n,r,or()||void 0,s)}function fy(e,t){const{messages:n,__i18n:r}=t,s=mt(n)?n:sn(r)?{}:{[e]:{}};if(sn(r)&&r.forEach(({locale:o,resource:i})=>{o?(s[o]=s[o]||{},kl(i,s[o])):kl(i,s)}),t.flatJson)for(const o in s)oy(s,o)&&Xc(s[o]);return s}const pa=e=>!pn(e)||sn(e);function kl(e,t){if(pa(e)||pa(t))throw Hn(20);for(const n in e)oy(e,n)&&(pa(e[n])||pa(t[n])?t[n]=e[n]:kl(e[n],t[n]))}const lx=()=>{const e=or();return e&&e.type[Bu]?{[Bu]:e.type[Bu]}:null};function py(e={}){const{__root:t}=e,n=t===void 0;let r=Zt(e.inheritLocale)?e.inheritLocale:!0;const s=bn(t&&r?t.locale.value:Ke(e.locale)?e.locale:"en-US"),o=bn(t&&r?t.fallbackLocale.value:Ke(e.fallbackLocale)||sn(e.fallbackLocale)||mt(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:s.value),i=bn(fy(s.value,e)),a=bn(mt(e.datetimeFormats)?e.datetimeFormats:{[s.value]:{}}),l=bn(mt(e.numberFormats)?e.numberFormats:{[s.value]:{}});let c=t?t.missingWarn:Zt(e.missingWarn)||zl(e.missingWarn)?e.missingWarn:!0,m=t?t.fallbackWarn:Zt(e.fallbackWarn)||zl(e.fallbackWarn)?e.fallbackWarn:!0,f=t?t.fallbackRoot:Zt(e.fallbackRoot)?e.fallbackRoot:!0,d=!!e.fallbackFormat,p=dn(e.missing)?e.missing:null,h=dn(e.missing)?Ap(e.missing):null,_=dn(e.postTranslation)?e.postTranslation:null,g=Zt(e.warnHtmlMessage)?e.warnHtmlMessage:!0,b=!!e.escapeParameter;const w=t?t.modifiers:mt(e.modifiers)?e.modifiers:{};let x=e.pluralRules||t&&t.pluralRules,z;function S(){return Hz({version:ox,locale:s.value,fallbackLocale:o.value,messages:i.value,datetimeFormats:a.value,numberFormats:l.value,modifiers:w,pluralRules:x,missing:h===null?void 0:h,missingWarn:c,fallbackWarn:m,fallbackFormat:d,unresolving:!0,postTranslation:_===null?void 0:_,warnHtmlMessage:g,escapeParameter:b,__datetimeFormatters:mt(z)?z.__datetimeFormatters:void 0,__numberFormatters:mt(z)?z.__numberFormatters:void 0,__v_emitter:mt(z)?z.__v_emitter:void 0,__meta:{framework:"vue"}})}z=S(),Mo(z,s.value,o.value);function T(){return[s.value,o.value,i.value,a.value,l.value]}const j=At({get:()=>s.value,set:V=>{s.value=V,z.locale=s.value}}),F=At({get:()=>o.value,set:V=>{o.value=V,z.fallbackLocale=o.value,Mo(z,s.value,V)}}),A=At(()=>i.value),M=At(()=>a.value),W=At(()=>l.value);function I(){return dn(_)?_:null}function H(V){_=V,z.postTranslation=V}function B(){return p}function oe(V){V!==null&&(h=Ap(V)),p=V,z.missing=h}function J(V,q,$e,ze,De,Ne){T();let We;if(__INTLIFY_PROD_DEVTOOLS__)try{vp(lx()),We=V(z)}finally{vp(null)}else We=V(z);if(Qt(We)&&We===au){const[tt,k]=q();return t&&f?ze(t):De(tt)}else{if(Ne(We))return We;throw Hn(14)}}function ue(...V){return J(q=>zp(q,...V),()=>Qc(...V),"translate",q=>q.t(...V),q=>q,q=>Ke(q))}function ge(...V){const[q,$e,ze]=V;if(ze&&!pn(ze))throw Hn(15);return ue(q,$e,fn({resolvedMessage:!0},ze||{}))}function Me(...V){return J(q=>xp(q,...V),()=>ed(...V),"datetime format",q=>q.d(...V),()=>yp,q=>Ke(q))}function He(...V){return J(q=>Sp(q,...V),()=>td(...V),"number format",q=>q.n(...V),()=>yp,q=>Ke(q))}function he(V){return V.map(q=>Ke(q)?C(es,null,q,0):q)}const me={normalize:he,interpolate:V=>V,type:"vnode"};function we(...V){return J(q=>{let $e;const ze=q;try{ze.processor=me,$e=zp(ze,...V)}finally{ze.processor=null}return $e},()=>Qc(...V),"translate",q=>q[rd](...V),q=>[C(es,null,q,0)],q=>sn(q))}function U(...V){return J(q=>Sp(q,...V),()=>td(...V),"number format",q=>q[od](...V),()=>[],q=>Ke(q)||sn(q))}function ie(...V){return J(q=>xp(q,...V),()=>ed(...V),"datetime format",q=>q[sd](...V),()=>[],q=>Ke(q)||sn(q))}function se(V){x=V,z.pluralRules=x}function be(V,q){const $e=Ke(q)?q:s.value,ze=Ee($e);return xl(ze,V)!==null}function Ve(V){let q=null;const $e=Bi(z,o.value,s.value);for(let ze=0;ze<$e.length;ze++){const De=i.value[$e[ze]]||{},Ne=xl(De,V);if(Ne!=null){q=Ne;break}}return q}function Ie(V){const q=Ve(V);return q??(t?t.tm(V)||{}:{})}function Ee(V){return i.value[V]||{}}function Ae(V,q){i.value[V]=q,z.messages=i.value}function $(V,q){i.value[V]=i.value[V]||{},kl(q,i.value[V]),z.messages=i.value}function R(V){return a.value[V]||{}}function Y(V,q){a.value[V]=q,z.datetimeFormats=a.value,kp(z,V,q)}function le(V,q){a.value[V]=fn(a.value[V]||{},q),z.datetimeFormats=a.value,kp(z,V,q)}function ce(V){return l.value[V]||{}}function ye(V,q){l.value[V]=q,z.numberFormats=l.value,Ep(z,V,q)}function Ce(V,q){l.value[V]=fn(l.value[V]||{},q),z.numberFormats=l.value,Ep(z,V,q)}return $p++,t&&(It(t.locale,V=>{r&&(s.value=V,z.locale=V,Mo(z,s.value,o.value))}),It(t.fallbackLocale,V=>{r&&(o.value=V,z.fallbackLocale=V,Mo(z,s.value,o.value))})),{id:$p,locale:j,fallbackLocale:F,get inheritLocale(){return r},set inheritLocale(V){r=V,V&&t&&(s.value=t.locale.value,o.value=t.fallbackLocale.value,Mo(z,s.value,o.value))},get availableLocales(){return Object.keys(i.value).sort()},messages:A,datetimeFormats:M,numberFormats:W,get modifiers(){return w},get pluralRules(){return x||{}},get isGlobal(){return n},get missingWarn(){return c},set missingWarn(V){c=V,z.missingWarn=c},get fallbackWarn(){return m},set fallbackWarn(V){m=V,z.fallbackWarn=m},get fallbackRoot(){return f},set fallbackRoot(V){f=V},get fallbackFormat(){return d},set fallbackFormat(V){d=V,z.fallbackFormat=d},get warnHtmlMessage(){return g},set warnHtmlMessage(V){g=V,z.warnHtmlMessage=V},get escapeParameter(){return b},set escapeParameter(V){b=V,z.escapeParameter=V},t:ue,rt:ge,d:Me,n:He,te:be,tm:Ie,getLocaleMessage:Ee,setLocaleMessage:Ae,mergeLocaleMessage:$,getDateTimeFormat:R,setDateTimeFormat:Y,mergeDateTimeFormat:le,getNumberFormat:ce,setNumberFormat:ye,mergeNumberFormat:Ce,getPostTranslationHandler:I,setPostTranslationHandler:H,getMissingHandler:B,setMissingHandler:oe,[rd]:we,[od]:U,[sd]:ie,[ax]:se,[my]:e.__injectWithOption}}const ym={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e==="parent"||e==="global",default:"parent"},i18n:{type:Object}},Tp={name:"i18n-t",props:fn({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>Qt(e)||!isNaN(e)}},ym),setup(e,t){const{slots:n,attrs:r}=t,s=e.i18n||vm({useScope:e.scope,__useComponent:!0}),o=Object.keys(n).filter(i=>i!=="_");return()=>{const i={};e.locale&&(i.locale=e.locale),e.plural!==void 0&&(i.plural=Ke(e.plural)?+e.plural:e.plural);const a=ux(t,o),l=s[rd](e.keypath,a,i),c=fn({},r);return Ke(e.tag)||pn(e.tag)?Cn(e.tag,c,l):Cn(Ge,c,l)}}};function ux({slots:e},t){return t.length===1&&t[0]==="default"?e.default?e.default():[]:t.reduce((n,r)=>{const s=e[r];return s&&(n[r]=s()),n},{})}function hy(e,t,n,r){const{slots:s,attrs:o}=t;return()=>{const i={part:!0};let a={};e.locale&&(i.locale=e.locale),Ke(e.format)?i.key=e.format:pn(e.format)&&(Ke(e.format.key)&&(i.key=e.format.key),a=Object.keys(e.format).reduce((f,d)=>n.includes(d)?fn({},f,{[d]:e.format[d]}):f,{}));const l=r(e.value,i,a);let c=[i.key];sn(l)?c=l.map((f,d)=>{const p=s[f.type];return p?p({[f.type]:f.value,index:d,parts:l}):[f.value]}):Ke(l)&&(c=[l]);const m=fn({},o);return Ke(e.tag)||pn(e.tag)?Cn(e.tag,m,c):Cn(Ge,m,c)}}const cx=["localeMatcher","style","unit","unitDisplay","currency","currencyDisplay","useGrouping","numberingSystem","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","notation","formatMatcher"],Op={name:"i18n-n",props:fn({value:{type:Number,required:!0},format:{type:[String,Object]}},ym),setup(e,t){const n=e.i18n||vm({useScope:"parent",__useComponent:!0});return hy(e,t,cx,(...r)=>n[od](...r))}},dx=["dateStyle","timeStyle","fractionalSecondDigits","calendar","dayPeriod","numberingSystem","localeMatcher","timeZone","hour12","hourCycle","formatMatcher","weekday","era","year","month","day","hour","minute","second","timeZoneName"],Pp={name:"i18n-d",props:fn({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},ym),setup(e,t){const n=e.i18n||vm({useScope:"parent",__useComponent:!0});return hy(e,t,dx,(...r)=>n[sd](...r))}};function mx(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 fx(e){const t=(n,{instance:r,value:s,modifiers:o})=>{if(!r||!r.$)throw Hn(22);const i=mx(e,r.$),a=px(s);n.textContent=i.t(...hx(a))};return{beforeMount:t,beforeUpdate:t}}function px(e){if(Ke(e))return{path:e};if(mt(e)){if(!("path"in e))throw Hn(19,"path");return e}else throw Hn(20)}function hx(e){const{path:t,locale:n,args:r,choice:s,plural:o}=e,i={},a=r||{};return Ke(n)&&(i.locale=n),Qt(s)&&(i.plural=s),Qt(o)&&(i.plural=o),[t,a,i]}function _x(e,t,...n){const r=mt(n[0])?n[0]:{},s=!!r.useI18nComponentName;(Zt(r.globalInstall)?r.globalInstall:!0)&&(e.component(s?"i18n":Tp.name,Tp),e.component(Op.name,Op),e.component(Pp.name,Pp)),e.directive("t",fx(t))}function gx(e={}){const t=!!e.globalInjection,n=new Map,r=py(e),s=Tr(""),o={get mode(){return"composition"},async install(i,...a){i.__VUE_I18N_SYMBOL__=s,i.provide(i.__VUE_I18N_SYMBOL__,o),t&&Cx(i,o.global),_x(i,o,...a)},get global(){return r},__instances:n,__getInstance(i){return n.get(i)||null},__setInstance(i,a){n.set(i,a)},__deleteInstance(i){n.delete(i)}};return o}function vm(e={}){const t=or();if(t==null)throw Hn(16);if(!t.appContext.app.__VUE_I18N_SYMBOL__)throw Hn(17);const n=rr(t.appContext.app.__VUE_I18N_SYMBOL__);if(!n)throw Hn(22);const r=n.mode==="composition"?n.global:n.global.__composer,s=iu(e)?"__i18n"in t.type?"local":"global":e.useScope?e.useScope:"local";if(s==="global"){let a=pn(e.messages)?e.messages:{};"__i18nGlobal"in t.type&&(a=fy(r.locale.value,{messages:a,__i18n:t.type.__i18nGlobal}));const l=Object.keys(a);if(l.length&&l.forEach(c=>{r.mergeLocaleMessage(c,a[c])}),pn(e.datetimeFormats)){const c=Object.keys(e.datetimeFormats);c.length&&c.forEach(m=>{r.mergeDateTimeFormat(m,e.datetimeFormats[m])})}if(pn(e.numberFormats)){const c=Object.keys(e.numberFormats);c.length&&c.forEach(m=>{r.mergeNumberFormat(m,e.numberFormats[m])})}return r}if(s==="parent"){let a=yx(n,t,e.__useComponent);return a==null&&(a=r),a}if(n.mode==="legacy")throw Hn(18);const o=n;let i=o.__getInstance(t);if(i==null){const a=t.type,l=fn({},e);a.__i18n&&(l.__i18n=a.__i18n),r&&(l.__root=r),i=py(l),vx(o,t),o.__setInstance(t,i)}return i}function yx(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);else{const a=i.__getInstance(o);a!=null&&(r=a.__composer),n&&r&&!r[my]&&(r=null)}if(r!=null||s===o)break;o=o.parent}return r}function vx(e,t,n){Ps(()=>{},t),ko(()=>{e.__deleteInstance(t)},t)}const bx=["locale","fallbackLocale","availableLocales"],wx=["t","rt","d","n","tm"];function Cx(e,t){const n=Object.create(null);bx.forEach(r=>{const s=Object.getOwnPropertyDescriptor(t,r);if(!s)throw Hn(22);const o=Ut(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,wx.forEach(r=>{const s=Object.getOwnPropertyDescriptor(t,r);if(!s||!s.value)throw Hn(22);Object.defineProperty(e.config.globalProperties,`$${r}`,s)})}ix();if(__INTLIFY_PROD_DEVTOOLS__){const e=hm();e.__INTLIFY__=!0,Iz(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}const zx={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"])},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"])},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"])},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 "])},notification:e=>{const{normalize:t}=e;return t(["Podcast kann nicht gelöscht werden - evtl. wurde er nicht als RSS-Playlist hinzugefügt."])}},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}=e;return t(['Oberfläche erstellt mit <a href="https://bulma.io">Bulma</a>, <a href="https://materialdesignicons.com/">Material Design Icons</a>, <a href="https://vuejs.org/">Vue.js</a>, <a href="https://github.com/mzabriskie/axios">axios</a> und <a href="https://github.com/owntone/owntone-server/network/dependencies">anderem</a>.'])},"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"])},"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}=e;return t([n(r("count"))," Tracks"])}},albums:{count:e=>{const{normalize:t,interpolate:n,named:r}=e;return t([n(r("count"))," Slbums"])},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}=e;return t([n(r("count"))," Alben"])},shuffle:e=>{const{normalize:t}=e;return t(["Zufallswiedergabe"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r}=e;return 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}=e;return t([n(r("count"))," Tracks"])}},albums:{count:e=>{const{normalize:t,interpolate:n,named:r}=e;return 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}=e;return t([n(r("count"))," Alben"])},play:e=>{const{normalize:t}=e;return t(["Spielen"])}},artists:{count:e=>{const{normalize:t,interpolate:n,named:r}=e;return 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}=e;return t([n(r("count"))," Alben"])},shuffle:e=>{const{normalize:t}=e;return t(["Zufallswiedergabe"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r}=e;return 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}=e;return 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}=e;return t([n(r("count"))," Alben"])},shuffle:e=>{const{normalize:t}=e;return t(["Zufallswiedergabe"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r}=e;return 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}=e;return 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"])},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"])}},playlists:{count:e=>{const{normalize:t,interpolate:n,named:r}=e;return t([n(r("count"))," Playlisten"])}},podcast:{play:e=>{const{normalize:t}=e;return t(["Spielen"])},"remove-error":e=>{const{normalize:t}=e;return t(["Podcast kann nicht entfernt werden, evtl. wurde er nicht als RSS-Playlist hinzugefügt."])},"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. "])},"track-count":e=>{const{normalize:t,interpolate:n,named:r}=e;return 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}=e;return 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}=e;return 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}=e;return 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"])},help:e=>{const{normalize:t}=e;return t(['Tip: Du kannst mit einer Smart-Playlist-Abfrage-Sprache nach <a href="https://owntone.github.io/owntone-server/smart-playlists/" target="_blank">Ausdrücken</a> suchen wenn Du dem Ausdruck ein <code>query:</code> 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"])},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}=e;return t(["Zeige alle ",n(r("count"))," Alben"])},"show-artists":e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["Zeige alle ",n(r("count"))," Künstler"])},"show-audiobooks":e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["Zeige alle ",n(r("count"))," Hörbücher"])},"show-composers":e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["Zeige alle ",n(r("count"))," Komponisten"])},"show-playlists":e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["Zeige alle ",n(r("count"))," Playlisten"])},"show-podcasts":e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["Zeige alle ",n(r("count"))," Podcasts"])},"show-tracks":e=>{const{normalize:t,interpolate:n,named:r}=e;return 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-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 eingeben"])},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(["Audiodateien"])},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(["<b>Last.fm</b> - melde Dich mit Deinem Last.fm-Usernamen und Password an, um Scrobbeln zu aktivieren"])},info:e=>{const{normalize:t}=e;return t(["OwnTone wird Usernamen und 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 Username und Passwort"])},"grant-access":e=>{const{normalize:t}=e;return t(["<b>Spotify Web-API</b> - 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"])}},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}=e;return t([n(r("count"))," Tracks"])}},artist:{"album-count":e=>{const{normalize:t,interpolate:n,named:r}=e;return 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}=e;return 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"])},playlists:e=>{const{normalize:t}=e;return t(["Playlisten"])},"show-all-albums":e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["Zeige alle ",n(r("count"))," Alben"])},"show-all-artists":e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["Zeige alle ",n(r("count"))," Künstler"])},"show-all-playlists":e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["Zeige alle ",n(r("count"))," Playlisten"])},"show-all-tracks":e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["Zeige alle ",n(r("count"))," Tracks"])},tracks:e=>{const{normalize:t}=e;return t(["Tracks"])}}}},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}=e;return 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}=e;return 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"])},"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"])},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"])},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 "])},notification:e=>{const{normalize:t}=e;return t(["Podcast cannot be removed. Probably it was not added as an RSS playlist."])}},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}=e;return t(['Web interface built with <a href="https://bulma.io">Bulma</a>, <a href="https://materialdesignicons.com/">Material Design Icons</a>, <a href="https://vuejs.org/">Vue.js</a>, <a href="https://github.com/mzabriskie/axios">axios</a> and <a href="https://github.com/owntone/owntone-server/network/dependencies">more</a>.'])},"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"])},"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}=e;return t([n(r("count"))," tracks"])}},albums:{count:e=>{const{normalize:t,interpolate:n,named:r}=e;return 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}=e;return t([n(r("count"))," albums"])},shuffle:e=>{const{normalize:t}=e;return t(["Shuffle"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r}=e;return 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}=e;return 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}=e;return t([n(r("count"))," tracks"])}},albums:{count:e=>{const{normalize:t,interpolate:n,named:r}=e;return 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}=e;return t([n(r("count"))," albums"])},play:e=>{const{normalize:t}=e;return t(["Play"])}},artists:{count:e=>{const{normalize:t,interpolate:n,named:r}=e;return 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}=e;return t([n(r("count"))," albums"])},shuffle:e=>{const{normalize:t}=e;return t(["Shuffle"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r}=e;return 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}=e;return 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}=e;return t([n(r("count"))," albums"])},shuffle:e=>{const{normalize:t}=e;return t(["Shuffle"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r}=e;return 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}=e;return 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"])},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"])}},playlists:{count:e=>{const{normalize:t,interpolate:n,named:r}=e;return t([n(r("count"))," playlists"])}},podcast:{play:e=>{const{normalize:t}=e;return t(["Play"])},"remove-error":e=>{const{normalize:t}=e;return t(["Podcast cannot be removed. Probably it was not added as an RSS playlist."])},"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 "])},"track-count":e=>{const{normalize:t,interpolate:n,named:r}=e;return t([n(r("count"))," tracks"])}},podcasts:{add:e=>{const{normalize:t}=e;return t(["Add"])},count:e=>{const{normalize:t,interpolate:n,named:r}=e;return 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}=e;return 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}=e;return 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"])},help:e=>{const{normalize:t}=e;return t(['Tip: you can search by a smart playlist query language <a href="https://owntone.github.io/owntone-server/smart-playlists/" target="_blank">expression</a> if you prefix it with <code>query:</code>.'])},"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"])},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}=e;return t(["Show all ",n(r("count"))," albums"])},"show-artists":e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["Show all ",n(r("count"))," artists"])},"show-audiobooks":e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["Show all ",n(r("count"))," audiobooks"])},"show-composers":e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["Show all ",n(r("count"))," composers"])},"show-playlists":e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["Show all ",n(r("count"))," playlists"])},"show-podcasts":e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["Show all ",n(r("count"))," podcasts"])},"show-tracks":e=>{const{normalize:t,interpolate:n,named:r}=e;return 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-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(["Enter 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(["Audio Files"])},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(["<b>Last.fm</b> - 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(["<b>Spotify Web API</b> - 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"])}},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}=e;return t([n(r("count"))," tracks"])}},artist:{"album-count":e=>{const{normalize:t,interpolate:n,named:r}=e;return 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}=e;return 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"])},playlists:e=>{const{normalize:t}=e;return t(["Playlists"])},"show-all-albums":e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["Show all ",n(r("count"))," albums"])},"show-all-artists":e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["Show all ",n(r("count"))," artists"])},"show-all-playlists":e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["Show all ",n(r("count"))," playlists"])},"show-all-tracks":e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["Show all ",n(r("count"))," tracks"])},tracks:e=>{const{normalize:t}=e;return t(["Tracks"])}}}},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}=e;return 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}=e;return 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(["L’ajout d’un podcast inclut la création d’une liste de lecture RSS, qui permettra à OwnTone de gérer l’abonnement 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 l’URL 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 l’URL 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 l’album"])},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"])},"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"])},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 d’attente dans une liste de lecture"])}}},"queue-item":{"album-artist":e=>{const{normalize:t}=e;return t(["Artiste de l’album"])},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"])},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 l’album"])},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 l’album"])},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 l’album"])},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 "])},notification:e=>{const{normalize:t}=e;return t(["Le podcast ne peut être supprimé. Il n’avait probablement pas été ajouté comme une liste de lecture RSS."])}},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 d’un 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}=e;return t(['Interface utilisateur construite avec <a href="https://bulma.io">Bulma</a>, <a href="https://materialdesignicons.com/">Material Design Icons</a>, <a href="https://vuejs.org/">Vue.js</a>, <a href="https://github.com/mzabriskie/axios">axios</a> et <a href="https://github.com/owntone/owntone-server/network/dependencies">plus</a>.'])},"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"])},"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"])},name: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}=e;return t([n(r("count"))," pistes"])}},albums:{count:e=>{const{normalize:t,interpolate:n,named:r}=e;return 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 n’apparaissent 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 n’apparaissent 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}=e;return 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}=e;return 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}=e;return t([n(r("count"))," artists"])},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 n’apparaissent 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 n’apparaissent 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}=e;return t([n(r("count"))," pistes"])}},albums:{count:e=>{const{normalize:t,interpolate:n,named:r}=e;return 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}=e;return t([n(r("count"))," albums"])},play:e=>{const{normalize:t}=e;return t(["Lire"])}},artists:{count:e=>{const{normalize:t,interpolate:n,named:r}=e;return 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}=e;return 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}=e;return 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}=e;return 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}=e;return 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}=e;return 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}=e;return 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"])},title:e=>{const{normalize:t}=e;return t(["La file d’attente 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"])}},playlists:{count:e=>{const{normalize:t,interpolate:n,named:r}=e;return t([n(r("count"))," listes de lecture"])}},podcast:{play:e=>{const{normalize:t}=e;return t(["Lire"])},"remove-error":e=>{const{normalize:t}=e;return t(["Le podcast ne peut pas être supprimé. Il n’a probablement pas été ajouté en tant que liste de lecture RSS."])},"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 "])},"track-count":e=>{const{normalize:t,interpolate:n,named:r}=e;return t([n(r("count"))," pistes"])}},podcasts:{add:e=>{const{normalize:t}=e;return t(["Ajouter"])},count:e=>{const{normalize:t,interpolate:n,named:r}=e;return 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}=e;return t([n(r("count"))," pistes"])},edit:e=>{const{normalize:t}=e;return t(["Éditer"])},"hide-previous":e=>{const{normalize:t}=e;return t(["Masquer l’historique"])},queue:e=>{const{normalize:t}=e;return t(["File d’attente"])},save:e=>{const{normalize:t}=e;return t(["Enregistrer"])}},radio:{count:e=>{const{normalize:t,interpolate:n,named:r}=e;return 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"])},help:e=>{const{normalize:t}=e;return t(['Astuce : en préfixant votre requête avec <code>query:</code>, vous pouvez effectuer une recherche avec une <a href="https://owntone.github.io/owntone-server/smart-playlists/" target="_blank">expression</a> du langage de requête de liste de lecture intelligente.'])},"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"])},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}=e;return t(["Afficher les ",n(r("count"))," albums"])},"show-artists":e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["Afficher les ",n(r("count"))," artistes"])},"show-audiobooks":e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["Afficher les ",n(r("count"))," livres audio"])},"show-composers":e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["Afficher les ",n(r("count"))," compositeurs"])},"show-playlists":e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["Afficher les ",n(r("count"))," listes de lecture"])},"show-podcasts":e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["Afficher les ",n(r("count"))," podcasts"])},"show-tracks":e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["Afficher les ",n(r("count"))," 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 d’illustrations 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-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 qu’elle affiche."])},"speaker-pairing":e=>{const{normalize:t}=e;return t(["Jumelage d’enceinte et vérification d’appareil"])},"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 d’album"])},audiobooks:e=>{const{normalize:t}=e;return t(["Livres audio"])},files:e=>{const{normalize:t}=e;return t(["Fichiers audio"])},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 d’album 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(["Search"])},"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 l’un 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 d’albums"])},"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(["<b>Last.fm</b> - Connectez-vous avec votre nom d’utilisateur et votre mot de passe Last.fm pour activer le scrobbling."])},info:e=>{const{normalize:t}=e;return t(["Le nom d’utilisateur et le mot de passe Last.fm ne sont pas enregistrés, uniquement la clé de session. La clé de session n’expire pas."])},title:e=>{const{normalize:t}=e;return t(["Last.fm"])},"no-support":e=>{const{normalize:t}=e;return t(["L’option Last.fm n’est 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(["L’option Spotify n’est 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(["L’accès à l’API de Spotify permet l’analyse de votre bibliothèque Spotify. Les champs d’application 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 l’accès à l’API"])},credentials:e=>{const{normalize:t}=e;return t([" - Connectez-vous avec votre nom d’utilisateur et mot de passe Spotify"])},"grant-access":e=>{const{normalize:t}=e;return t(["<b>Spotify</b> - Accordez l’accès à l’API 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 d’utilisateur 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 l’accès à l’API pour accorder à OwnTone les droits d’accè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"])}},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}=e;return t([n(r("count"))," pistes"])}},artist:{"album-count":e=>{const{normalize:t,interpolate:n,named:r}=e;return 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}=e;return 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"])},playlists:e=>{const{normalize:t}=e;return t(["Listes de lecture"])},"show-all-albums":e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["Afficher les ",n(r("count"))," albums"])},"show-all-artists":e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["Afficher les ",n(r("count"))," artistes"])},"show-all-playlists":e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["Afficher les ",n(r("count"))," listes de lecture"])},"show-all-tracks":e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["Afficher les ",n(r("count"))," pistes"])},tracks:e=>{const{normalize:t}=e;return t(["Pistes"])}}}},setting:{"not-saved":e=>{const{normalize:t}=e;return t([" (erreur à l’enregistrement 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 d’attente enregistrée dans la liste de lecture ",n(r("name"))])},"appended-tracks":e=>{const{normalize:t,interpolate:n,named:r}=e;return t([n(r("count"))," pistes ajoutées à la file d’attente"])},"empty-queue":e=>{const{normalize:t}=e;return t(["La file d’attente est vide"])}},"group-by-list":{today:e=>{const{normalize:t}=e;return t(["Aujourd’hui"])},"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}=e;return t([n(r("count"))," canaux"])}}}},Hi=gx({legacy:!1,globalInjection:!0,availableLocales:"fr",locale:navigator.language,fallbackLocale:"en",fallbackWarn:!1,missingWarn:!1,messages:zx});/*!
|
||
* vuex v4.0.2
|
||
* (c) 2021 Evan You
|
||
* @license MIT
|
||
*/var xx="store";function So(e,t){Object.keys(e).forEach(function(n){return t(e[n],n)})}function kx(e){return e!==null&&typeof e=="object"}function Sx(e){return e&&typeof e.then=="function"}function Ex(e,t){return function(){return e(t)}}function _y(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 gy(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;lu(e,n,[],e._modules.root,!0),bm(e,n,t)}function bm(e,t,n){var r=e._state;e.getters={},e._makeLocalGettersCache=Object.create(null);var s=e._wrappedGetters,o={};So(s,function(i,a){o[a]=Ex(i,e),Object.defineProperty(e.getters,a,{get:function(){return o[a]()},enumerable:!0})}),e._state=Ts({data:t}),e.strict&&Px(e),r&&n&&e._withCommit(function(){r.data=null})}function lu(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=wm(t,n.slice(0,-1)),l=n[n.length-1];e._withCommit(function(){a[l]=r.state})}var c=r.context=$x(e,i,n);r.forEachMutation(function(m,f){var d=i+f;Ax(e,d,m,c)}),r.forEachAction(function(m,f){var d=m.root?f:i+f,p=m.handler||m;Tx(e,d,p,c)}),r.forEachGetter(function(m,f){var d=i+f;Ox(e,d,m,c)}),r.forEachChild(function(m,f){lu(e,t,n.concat(f),m,s)})}function $x(e,t,n){var r=t==="",s={dispatch:r?e.dispatch:function(o,i,a){var l=Sl(o,i,a),c=l.payload,m=l.options,f=l.type;return(!m||!m.root)&&(f=t+f),e.dispatch(f,c)},commit:r?e.commit:function(o,i,a){var l=Sl(o,i,a),c=l.payload,m=l.options,f=l.type;(!m||!m.root)&&(f=t+f),e.commit(f,c,m)}};return Object.defineProperties(s,{getters:{get:r?function(){return e.getters}:function(){return yy(e,t)}},state:{get:function(){return wm(e.state,n)}}}),s}function yy(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 Ax(e,t,n,r){var s=e._mutations[t]||(e._mutations[t]=[]);s.push(function(i){n.call(e,r.state,i)})}function Tx(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 Sx(a)||(a=Promise.resolve(a)),e._devtoolHook?a.catch(function(l){throw e._devtoolHook.emit("vuex:error",l),l}):a})}function Ox(e,t,n,r){e._wrappedGetters[t]||(e._wrappedGetters[t]=function(o){return n(r.state,r.getters,o.state,o.getters)})}function Px(e){It(function(){return e._state.data},function(){},{deep:!0,flush:"sync"})}function wm(e,t){return t.reduce(function(n,r){return n[r]},e)}function Sl(e,t,n){return kx(e)&&e.type&&(n=t,t=e,e=e.type),{type:e,payload:t,options:n}}var Dx="vuex bindings",Dp="vuex:mutations",Hu="vuex:actions",js="vuex",Fx=0;function Ix(e,t){sx({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:[Dx]},function(n){n.addTimelineLayer({id:Dp,label:"Vuex Mutations",color:Fp}),n.addTimelineLayer({id:Hu,label:"Vuex Actions",color:Fp}),n.addInspector({id:js,label:"Vuex",icon:"storage",treeFilterPlaceholder:"Filter stores..."}),n.on.getInspectorTree(function(r){if(r.app===e&&r.inspectorId===js)if(r.filter){var s=[];Cy(s,t._modules.root,r.filter,""),r.rootNodes=s}else r.rootNodes=[wy(t._modules.root,"")]}),n.on.getInspectorState(function(r){if(r.app===e&&r.inspectorId===js){var s=r.nodeId;yy(t,s),r.state=Rx(jx(t._modules,s),s==="root"?t.getters:t._makeLocalGettersCache,s)}}),n.on.editInspectorState(function(r){if(r.app===e&&r.inspectorId===js){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(js),n.sendInspectorState(js),n.addTimelineEvent({layerId:Dp,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=Fx++,r._time=Date.now(),o.state=s,n.addTimelineEvent({layerId:Hu,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:Hu,event:{time:Date.now(),title:r.type,groupId:r._id,subtitle:"end",data:o}})}})})}var Fp=8702998,Lx=6710886,Mx=16777215,vy={label:"namespaced",textColor:Mx,backgroundColor:Lx};function by(e){return e&&e!=="root"?e.split("/").slice(-2,-1)[0]:"Root"}function wy(e,t){return{id:t||"root",label:by(t),tags:e.namespaced?[vy]:[],children:Object.keys(e._children).map(function(n){return wy(e._children[n],t+n+"/")})}}function Cy(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?[vy]:[]}),Object.keys(t._children).forEach(function(s){Cy(e,t._children[s],n,r+s+"/")})}function Rx(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=Nx(t);s.getters=Object.keys(o).map(function(i){return{key:i.endsWith("/")?by(i):i,editable:!1,value:id(function(){return o[i]})}})}return s}function Nx(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]=id(function(){return e[n]})}else t[n]=id(function(){return e[n]})}),t}function jx(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 id(e){try{return e()}catch(t){return t}}var ir=function(t,n){this.runtime=n,this._children=Object.create(null),this._rawModule=t;var r=t.state;this.state=(typeof r=="function"?r():r)||{}},zy={namespaced:{configurable:!0}};zy.namespaced.get=function(){return!!this._rawModule.namespaced};ir.prototype.addChild=function(t,n){this._children[t]=n};ir.prototype.removeChild=function(t){delete this._children[t]};ir.prototype.getChild=function(t){return this._children[t]};ir.prototype.hasChild=function(t){return t in this._children};ir.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)};ir.prototype.forEachChild=function(t){So(this._children,t)};ir.prototype.forEachGetter=function(t){this._rawModule.getters&&So(this._rawModule.getters,t)};ir.prototype.forEachAction=function(t){this._rawModule.actions&&So(this._rawModule.actions,t)};ir.prototype.forEachMutation=function(t){this._rawModule.mutations&&So(this._rawModule.mutations,t)};Object.defineProperties(ir.prototype,zy);var Ds=function(t){this.register([],t,!1)};Ds.prototype.get=function(t){return t.reduce(function(n,r){return n.getChild(r)},this.root)};Ds.prototype.getNamespace=function(t){var n=this.root;return t.reduce(function(r,s){return n=n.getChild(s),r+(n.namespaced?s+"/":"")},"")};Ds.prototype.update=function(t){xy([],this.root,t)};Ds.prototype.register=function(t,n,r){var s=this;r===void 0&&(r=!0);var o=new ir(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&&So(n.modules,function(a,l){s.register(t.concat(l),a,r)})};Ds.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)};Ds.prototype.isRegistered=function(t){var n=this.get(t.slice(0,-1)),r=t[t.length-1];return n?n.hasChild(r):!1};function xy(e,t,n){if(t.update(n),n.modules)for(var r in n.modules){if(!t.getChild(r))return;xy(e.concat(r),t.getChild(r),n.modules[r])}}function Vx(e){return new Sn(e)}var Sn=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 Ds(t),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._makeLocalGettersCache=Object.create(null),this._devtools=o;var i=this,a=this,l=a.dispatch,c=a.commit;this.dispatch=function(d,p){return l.call(i,d,p)},this.commit=function(d,p,h){return c.call(i,d,p,h)},this.strict=s;var m=this._modules.root.state;lu(this,m,[],this._modules.root),bm(this,m),r.forEach(function(f){return f(n)})},Cm={state:{configurable:!0}};Sn.prototype.install=function(t,n){t.provide(n||xx,this),t.config.globalProperties.$store=this;var r=this._devtools!==void 0?this._devtools:!1;r&&Ix(t,this)};Cm.state.get=function(){return this._state.data};Cm.state.set=function(e){};Sn.prototype.commit=function(t,n,r){var s=this,o=Sl(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(m){return m(l,s.state)}))};Sn.prototype.dispatch=function(t,n){var r=this,s=Sl(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(m){return m.before}).forEach(function(m){return m.before(a,r.state)})}catch{}var c=l.length>1?Promise.all(l.map(function(m){return m(i)})):l[0](i);return new Promise(function(m,f){c.then(function(d){try{r._actionSubscribers.filter(function(p){return p.after}).forEach(function(p){return p.after(a,r.state)})}catch{}m(d)},function(d){try{r._actionSubscribers.filter(function(p){return p.error}).forEach(function(p){return p.error(a,r.state,d)})}catch{}f(d)})})}};Sn.prototype.subscribe=function(t,n){return _y(t,this._subscribers,n)};Sn.prototype.subscribeAction=function(t,n){var r=typeof t=="function"?{before:t}:t;return _y(r,this._actionSubscribers,n)};Sn.prototype.watch=function(t,n,r){var s=this;return It(function(){return t(s.state,s.getters)},n,Object.assign({},r))};Sn.prototype.replaceState=function(t){var n=this;this._withCommit(function(){n._state.data=t})};Sn.prototype.registerModule=function(t,n,r){r===void 0&&(r={}),typeof t=="string"&&(t=[t]),this._modules.register(t,n),lu(this,this.state,t,this._modules.get(t),r.preserveState),bm(this,this.state)};Sn.prototype.unregisterModule=function(t){var n=this;typeof t=="string"&&(t=[t]),this._modules.unregister(t),this._withCommit(function(){var r=wm(n.state,t.slice(0,-1));delete r[t[t.length-1]]}),gy(this)};Sn.prototype.hasModule=function(t){return typeof t=="string"&&(t=[t]),this._modules.isRegistered(t)};Sn.prototype.hotUpdate=function(t){this._modules.update(t),gy(this,!0)};Sn.prototype._withCommit=function(t){var n=this._committing;this._committing=!0,t(),this._committing=n};Object.defineProperties(Sn.prototype,Cm);const ky="UPDATE_CONFIG",Sy="UPDATE_SETTINGS",uu="UPDATE_SETTINGS_OPTION",Ey="UPDATE_LIBRARY_STATS",$y="UPDATE_LIBRARY_AUDIOBOOKS_COUNT",Ay="UPDATE_LIBRARY_PODCASTS_COUNT",Ty="UPDATE_LIBRARY_RSS_COUNT",Oy="UPDATE_OUTPUTS",zm="UPDATE_PLAYER_STATUS",Py="UPDATE_QUEUE",Dy="UPDATE_LASTFM",Fy="UPDATE_SPOTIFY",Iy="UPDATE_PAIRING",xm="SPOTIFY_NEW_RELEASES",km="SPOTIFY_FEATURED_PLAYLISTS",Ip="ADD_NOTIFICATION",ad="DELETE_NOTIFICATION",ld="SEARCH_PATH",Sm="ADD_RECENT_SEARCH",Ly="COMPOSER_TRACKS_SORT",My="GENRE_TRACKS_SORT",cu="HIDE_SINGLES",Em="HIDE_SPOTIFY",Ry="ARTISTS_SORT",Ny="ARTIST_ALBUMS_SORT",jy="ARTIST_TRACKS_SORT",Vy="ALBUMS_SORT",By="SHOW_ONLY_NEXT_ITEMS",go="SHOW_BURGER_MENU",yo="SHOW_PLAYER_MENU",Ui="SHOW_UPDATE_DIALOG",$m="UPDATE_DIALOG_SCAN_KIND",it=Vx({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:{[ky](e,t){e.config=t},[Sy](e,t){e.settings=t},[uu](e,t){const r=e.settings.categories.find(s=>s.name===t.category).options.find(s=>s.name===t.name);r.value=t.value},[Ey](e,t){e.library=t},[$y](e,t){e.audiobooks_count=t},[Ay](e,t){e.podcasts_count=t},[Ty](e,t){e.rss_count=t},[Oy](e,t){e.outputs=t},[zm](e,t){e.player=t},[Py](e,t){e.queue=t},[Dy](e,t){e.lastfm=t},[Fy](e,t){e.spotify=t},[Iy](e,t){e.pairing=t},[xm](e,t){e.spotify_new_releases=t},[km](e,t){e.spotify_featured_playlists=t},[Ip](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)},[ad](e,t){const n=e.notifications.list.indexOf(t);n!==-1&&e.notifications.list.splice(n,1)},[ld](e,t){e.search_path=t},[Sm](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()},[Ly](e,t){e.composer_tracks_sort=t},[My](e,t){e.genre_tracks_sort=t},[cu](e,t){e.hide_singles=t},[Em](e,t){e.hide_spotify=t},[Ry](e,t){e.artists_sort=t},[Ny](e,t){e.artist_albums_sort=t},[jy](e,t){e.artist_tracks_sort=t},[Vy](e,t){e.albums_sort=t},[By](e,t){e.show_only_next_items=t},[go](e,t){e.show_burger_menu=t},[yo](e,t){e.show_player_menu=t},[Ui](e,t){e.show_update_dialog=t},[$m](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(Ip,r),n.timeout>0&&setTimeout(()=>{e(ad,r)},n.timeout)}}});/*!
|
||
* vue-router v4.0.16
|
||
* (c) 2022 Eduardo San Martin Morote
|
||
* @license MIT
|
||
*/const Hy=typeof Symbol=="function"&&typeof Symbol.toStringTag=="symbol",Eo=e=>Hy?Symbol(e):"_vr_"+e,Bx=Eo("rvlm"),Lp=Eo("rvd"),Am=Eo("r"),Uy=Eo("rl"),ud=Eo("rvl"),Xs=typeof window<"u";function Hx(e){return e.__esModule||Hy&&e[Symbol.toStringTag]==="Module"}const bt=Object.assign;function Uu(e,t){const n={};for(const r in t){const s=t[r];n[r]=Array.isArray(s)?s.map(e):e(s)}return n}const fi=()=>{},Ux=/\/$/,qx=e=>e.replace(Ux,"");function qu(e,t,n="/"){let r,s={},o="",i="";const a=t.indexOf("?"),l=t.indexOf("#",a>-1?a:0);return a>-1&&(r=t.slice(0,a),o=t.slice(a+1,l>-1?l:t.length),s=e(o)),l>-1&&(r=r||t.slice(0,l),i=t.slice(l,t.length)),r=Zx(r??t,n),{fullPath:r+(o&&"?")+o+i,path:r,query:s,hash:i}}function Wx(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function Mp(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function Gx(e,t,n){const r=t.matched.length-1,s=n.matched.length-1;return r>-1&&r===s&&vo(t.matched[r],n.matched[s])&&qy(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function vo(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function qy(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!Kx(e[n],t[n]))return!1;return!0}function Kx(e,t){return Array.isArray(e)?Rp(e,t):Array.isArray(t)?Rp(t,e):e===t}function Rp(e,t){return Array.isArray(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function Zx(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),r=e.split("/");let s=n.length-1,o,i;for(o=0;o<r.length;o++)if(i=r[o],!(s===1||i==="."))if(i==="..")s--;else break;return n.slice(0,s).join("/")+"/"+r.slice(o-(o===r.length?1:0)).join("/")}var Ti;(function(e){e.pop="pop",e.push="push"})(Ti||(Ti={}));var pi;(function(e){e.back="back",e.forward="forward",e.unknown=""})(pi||(pi={}));function Yx(e){if(!e)if(Xs){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),qx(e)}const Jx=/^[^#]+#/;function Xx(e,t){return e.replace(Jx,"#")+t}function Qx(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 du=()=>({left:window.pageXOffset,top:window.pageYOffset});function e2(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=Qx(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 Np(e,t){return(history.state?history.state.position-t:-1)+e}const cd=new Map;function t2(e,t){cd.set(e,t)}function n2(e){const t=cd.get(e);return cd.delete(e),t}let r2=()=>location.protocol+"//"+location.host;function Wy(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),Mp(l,"")}return Mp(n,e)+r+s}function s2(e,t,n,r){let s=[],o=[],i=null;const a=({state:d})=>{const p=Wy(e,location),h=n.value,_=t.value;let g=0;if(d){if(n.value=p,t.value=d,i&&i===h){i=null;return}g=_?d.position-_.position:0}else r(p);s.forEach(b=>{b(n.value,h,{delta:g,type:Ti.pop,direction:g?g>0?pi.forward:pi.back:pi.unknown})})};function l(){i=n.value}function c(d){s.push(d);const p=()=>{const h=s.indexOf(d);h>-1&&s.splice(h,1)};return o.push(p),p}function m(){const{history:d}=window;d.state&&d.replaceState(bt({},d.state,{scroll:du()}),"")}function f(){for(const d of o)d();o=[],window.removeEventListener("popstate",a),window.removeEventListener("beforeunload",m)}return window.addEventListener("popstate",a),window.addEventListener("beforeunload",m),{pauseListeners:l,listen:c,destroy:f}}function jp(e,t,n,r=!1,s=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:s?du():null}}function o2(e){const{history:t,location:n}=window,r={value:Wy(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,m){const f=e.indexOf("#"),d=f>-1?(n.host&&document.querySelector("base")?e:e.slice(f))+l:r2()+e+l;try{t[m?"replaceState":"pushState"](c,"",d),s.value=c}catch(p){console.error(p),n[m?"replace":"assign"](d)}}function i(l,c){const m=bt({},t.state,jp(s.value.back,l,s.value.forward,!0),c,{position:s.value.position});o(l,m,!0),r.value=l}function a(l,c){const m=bt({},s.value,t.state,{forward:l,scroll:du()});o(m.current,m,!0);const f=bt({},jp(r.value,l,null),{position:m.position+1},c);o(l,f,!1),r.value=l}return{location:r,state:s,push:a,replace:i}}function i2(e){e=Yx(e);const t=o2(e),n=s2(e,t.state,t.location,t.replace);function r(o,i=!0){i||n.pauseListeners(),history.go(o)}const s=bt({location:"",base:e,go:r,createHref:Xx.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 a2(e){return e=location.host?e||location.pathname+location.search:"",e.includes("#")||(e+="#"),i2(e)}function l2(e){return typeof e=="string"||e&&typeof e=="object"}function Gy(e){return typeof e=="string"||typeof e=="symbol"}const Lr={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},Ky=Eo("nf");var Vp;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(Vp||(Vp={}));function bo(e,t){return bt(new Error,{type:e,[Ky]:!0},t)}function Mr(e,t){return e instanceof Error&&Ky in e&&(t==null||!!(e.type&t))}const Bp="[^/]+?",u2={sensitive:!1,strict:!1,start:!0,end:!0},c2=/[.+*?^${}()[\]/\\]/g;function d2(e,t){const n=bt({},u2,t),r=[];let s=n.start?"^":"";const o=[];for(const c of e){const m=c.length?[]:[90];n.strict&&!c.length&&(s+="/");for(let f=0;f<c.length;f++){const d=c[f];let p=40+(n.sensitive?.25:0);if(d.type===0)f||(s+="/"),s+=d.value.replace(c2,"\\$&"),p+=40;else if(d.type===1){const{value:h,repeatable:_,optional:g,regexp:b}=d;o.push({name:h,repeatable:_,optional:g});const w=b||Bp;if(w!==Bp){p+=10;try{new RegExp(`(${w})`)}catch(z){throw new Error(`Invalid custom RegExp for param "${h}" (${w}): `+z.message)}}let x=_?`((?:${w})(?:/(?:${w}))*)`:`(${w})`;f||(x=g&&c.length<2?`(?:/${x})`:"/"+x),g&&(x+="?"),s+=x,p+=20,g&&(p+=-8),_&&(p+=-20),w===".*"&&(p+=-50)}m.push(p)}r.push(m)}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 m=c.match(i),f={};if(!m)return null;for(let d=1;d<m.length;d++){const p=m[d]||"",h=o[d-1];f[h.name]=p&&h.repeatable?p.split("/"):p}return f}function l(c){let m="",f=!1;for(const d of e){(!f||!m.endsWith("/"))&&(m+="/"),f=!1;for(const p of d)if(p.type===0)m+=p.value;else if(p.type===1){const{value:h,repeatable:_,optional:g}=p,b=h in c?c[h]:"";if(Array.isArray(b)&&!_)throw new Error(`Provided param "${h}" is an array but it is not repeatable (* or + modifiers)`);const w=Array.isArray(b)?b.join("/"):b;if(!w)if(g)d.length<2&&e.length>1&&(m.endsWith("/")?m=m.slice(0,-1):f=!0);else throw new Error(`Missing required param "${h}"`);m+=w}}return m}return{re:i,score:r,keys:o,parse:a,stringify:l}}function m2(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 f2(e,t){let n=0;const r=e.score,s=t.score;for(;n<r.length&&n<s.length;){const o=m2(r[n],s[n]);if(o)return o;n++}if(Math.abs(s.length-r.length)===1){if(Hp(r))return 1;if(Hp(s))return-1}return s.length-r.length}function Hp(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const p2={type:0,value:""},h2=/[a-zA-Z0-9_]/;function _2(e){if(!e)return[[]];if(e==="/")return[[p2]];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="",m="";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:m,repeatable:l==="*"||l==="+",optional:l==="*"||l==="?"})):t("Invalid state to consume buffer"),c="")}function d(){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):d();break;case 4:d(),n=r;break;case 1:l==="("?n=2:h2.test(l)?d():(f(),n=0,l!=="*"&&l!=="?"&&l!=="+"&&a--);break;case 2:l===")"?m[m.length-1]=="\\"?m=m.slice(0,-1)+l:n=3:m+=l;break;case 3:f(),n=0,l!=="*"&&l!=="?"&&l!=="+"&&a--,m="";break;default:t("Unknown state");break}}return n===2&&t(`Unfinished custom RegExp for param "${c}"`),f(),i(),s}function g2(e,t,n){const r=d2(_2(e.path),n),s=bt(r,{record:e,parent:t,children:[],alias:[]});return t&&!s.record.aliasOf==!t.record.aliasOf&&t.children.push(s),s}function y2(e,t){const n=[],r=new Map;t=qp({strict:!1,end:!0,sensitive:!1},t);function s(m){return r.get(m)}function o(m,f,d){const p=!d,h=b2(m);h.aliasOf=d&&d.record;const _=qp(t,m),g=[h];if("alias"in m){const x=typeof m.alias=="string"?[m.alias]:m.alias;for(const z of x)g.push(bt({},h,{components:d?d.record.components:h.components,path:z,aliasOf:d?d.record:h}))}let b,w;for(const x of g){const{path:z}=x;if(f&&z[0]!=="/"){const S=f.record.path,T=S[S.length-1]==="/"?"":"/";x.path=f.record.path+(z&&T+z)}if(b=g2(x,f,_),d?d.alias.push(b):(w=w||b,w!==b&&w.alias.push(b),p&&m.name&&!Up(b)&&i(m.name)),"children"in h){const S=h.children;for(let T=0;T<S.length;T++)o(S[T],b,d&&d.children[T])}d=d||b,l(b)}return w?()=>{i(w)}:fi}function i(m){if(Gy(m)){const f=r.get(m);f&&(r.delete(m),n.splice(n.indexOf(f),1),f.children.forEach(i),f.alias.forEach(i))}else{const f=n.indexOf(m);f>-1&&(n.splice(f,1),m.record.name&&r.delete(m.record.name),m.children.forEach(i),m.alias.forEach(i))}}function a(){return n}function l(m){let f=0;for(;f<n.length&&f2(m,n[f])>=0&&(m.record.path!==n[f].record.path||!Zy(m,n[f]));)f++;n.splice(f,0,m),m.record.name&&!Up(m)&&r.set(m.record.name,m)}function c(m,f){let d,p={},h,_;if("name"in m&&m.name){if(d=r.get(m.name),!d)throw bo(1,{location:m});_=d.record.name,p=bt(v2(f.params,d.keys.filter(w=>!w.optional).map(w=>w.name)),m.params),h=d.stringify(p)}else if("path"in m)h=m.path,d=n.find(w=>w.re.test(h)),d&&(p=d.parse(h),_=d.record.name);else{if(d=f.name?r.get(f.name):n.find(w=>w.re.test(f.path)),!d)throw bo(1,{location:m,currentLocation:f});_=d.record.name,p=bt({},f.params,m.params),h=d.stringify(p)}const g=[];let b=d;for(;b;)g.unshift(b.record),b=b.parent;return{name:_,path:h,params:p,matched:g,meta:C2(g)}}return e.forEach(m=>o(m)),{addRoute:o,resolve:c,removeRoute:i,getRoutes:a,getRecordMatcher:s}}function v2(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function b2(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:w2(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||{}:{default:e.component}}}function w2(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 Up(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function C2(e){return e.reduce((t,n)=>bt(t,n.meta),{})}function qp(e,t){const n={};for(const r in e)n[r]=r in t?t[r]:e[r];return n}function Zy(e,t){return t.children.some(n=>n===e||Zy(e,n))}const Yy=/#/g,z2=/&/g,x2=/\//g,k2=/=/g,S2=/\?/g,Jy=/\+/g,E2=/%5B/g,$2=/%5D/g,Xy=/%5E/g,A2=/%60/g,Qy=/%7B/g,T2=/%7C/g,ev=/%7D/g,O2=/%20/g;function Tm(e){return encodeURI(""+e).replace(T2,"|").replace(E2,"[").replace($2,"]")}function P2(e){return Tm(e).replace(Qy,"{").replace(ev,"}").replace(Xy,"^")}function dd(e){return Tm(e).replace(Jy,"%2B").replace(O2,"+").replace(Yy,"%23").replace(z2,"%26").replace(A2,"`").replace(Qy,"{").replace(ev,"}").replace(Xy,"^")}function D2(e){return dd(e).replace(k2,"%3D")}function F2(e){return Tm(e).replace(Yy,"%23").replace(S2,"%3F")}function I2(e){return e==null?"":F2(e).replace(x2,"%2F")}function El(e){try{return decodeURIComponent(""+e)}catch{}return""+e}function L2(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(Jy," "),i=o.indexOf("="),a=El(i<0?o:o.slice(0,i)),l=i<0?null:El(o.slice(i+1));if(a in t){let c=t[a];Array.isArray(c)||(c=t[a]=[c]),c.push(l)}else t[a]=l}return t}function Wp(e){let t="";for(let n in e){const r=e[n];if(n=D2(n),r==null){r!==void 0&&(t+=(t.length?"&":"")+n);continue}(Array.isArray(r)?r.map(o=>o&&dd(o)):[r&&dd(r)]).forEach(o=>{o!==void 0&&(t+=(t.length?"&":"")+n,o!=null&&(t+="="+o))})}return t}function M2(e){const t={};for(const n in e){const r=e[n];r!==void 0&&(t[n]=Array.isArray(r)?r.map(s=>s==null?null:""+s):r==null?r:""+r)}return t}function Ro(){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 Br(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(bo(4,{from:n,to:t})):f instanceof Error?a(f):l2(f)?a(bo(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 m=Promise.resolve(c);e.length<3&&(m=m.then(l)),m.catch(f=>a(f))})}function Wu(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(R2(a)){const c=(a.__vccOpts||a)[t];c&&s.push(Br(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 m=Hx(c)?c.default:c;o.components[i]=m;const d=(m.__vccOpts||m)[t];return d&&Br(d,n,r,o,i)()}))}}return s}function R2(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function Gp(e){const t=rr(Am),n=rr(Uy),r=At(()=>t.resolve(ao(e.to))),s=At(()=>{const{matched:l}=r.value,{length:c}=l,m=l[c-1],f=n.matched;if(!m||!f.length)return-1;const d=f.findIndex(vo.bind(null,m));if(d>-1)return d;const p=Kp(l[c-2]);return c>1&&Kp(m)===p&&f[f.length-1].path!==p?f.findIndex(vo.bind(null,l[c-2])):d}),o=At(()=>s.value>-1&&B2(n.params,r.value.params)),i=At(()=>s.value>-1&&s.value===n.matched.length-1&&qy(n.params,r.value.params));function a(l={}){return V2(l)?t[ao(e.replace)?"replace":"push"](ao(e.to)).catch(fi):Promise.resolve()}return{route:r,href:At(()=>r.value.href),isActive:o,isExactActive:i,navigate:a}}const N2=Ni({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:Gp,setup(e,{slots:t}){const n=Ts(Gp(e)),{options:r}=rr(Am),s=At(()=>({[Zp(e.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[Zp(e.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const o=t.default&&t.default(n);return e.custom?o:Cn("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:s.value},o)}}}),j2=N2;function V2(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 B2(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(!Array.isArray(s)||s.length!==r.length||r.some((o,i)=>o!==s[i]))return!1}return!0}function Kp(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const Zp=(e,t,n)=>e??t??n,H2=Ni({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const r=rr(ud),s=At(()=>e.route||r.value),o=rr(Lp,0),i=At(()=>s.value.matched[o]);ui(Lp,o+1),ui(Bx,i),ui(ud,s);const a=bn();return It(()=>[a.value,i.value,e.name],([l,c,m],[f,d,p])=>{c&&(c.instances[m]=l,d&&d!==c&&l&&l===f&&(c.leaveGuards.size||(c.leaveGuards=d.leaveGuards),c.updateGuards.size||(c.updateGuards=d.updateGuards))),l&&c&&(!d||!vo(c,d)||!f)&&(c.enterCallbacks[m]||[]).forEach(h=>h(l))},{flush:"post"}),()=>{const l=s.value,c=i.value,m=c&&c.components[e.name],f=e.name;if(!m)return Yp(n.default,{Component:m,route:l});const d=c.props[e.name],p=d?d===!0?l.params:typeof d=="function"?d(l):d:null,_=Cn(m,bt({},p,t,{onVnodeUnmounted:g=>{g.component.isUnmounted&&(c.instances[f]=null)},ref:a}));return Yp(n.default,{Component:_,route:l})||_}}});function Yp(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const U2=H2;function q2(e){const t=y2(e.routes,e),n=e.parseQuery||L2,r=e.stringifyQuery||Wp,s=e.history,o=Ro(),i=Ro(),a=Ro(),l=H_(Lr);let c=Lr;Xs&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const m=Uu.bind(null,U=>""+U),f=Uu.bind(null,I2),d=Uu.bind(null,El);function p(U,ie){let se,be;return Gy(U)?(se=t.getRecordMatcher(U),be=ie):be=U,t.addRoute(be,se)}function h(U){const ie=t.getRecordMatcher(U);ie&&t.removeRoute(ie)}function _(){return t.getRoutes().map(U=>U.record)}function g(U){return!!t.getRecordMatcher(U)}function b(U,ie){if(ie=bt({},ie||l.value),typeof U=="string"){const Ae=qu(n,U,ie.path),$=t.resolve({path:Ae.path},ie),R=s.createHref(Ae.fullPath);return bt(Ae,$,{params:d($.params),hash:El(Ae.hash),redirectedFrom:void 0,href:R})}let se;if("path"in U)se=bt({},U,{path:qu(n,U.path,ie.path).path});else{const Ae=bt({},U.params);for(const $ in Ae)Ae[$]==null&&delete Ae[$];se=bt({},U,{params:f(U.params)}),ie.params=f(ie.params)}const be=t.resolve(se,ie),Ve=U.hash||"";be.params=m(d(be.params));const Ie=Wx(r,bt({},U,{hash:P2(Ve),path:be.path})),Ee=s.createHref(Ie);return bt({fullPath:Ie,hash:Ve,query:r===Wp?M2(U.query):U.query||{}},be,{redirectedFrom:void 0,href:Ee})}function w(U){return typeof U=="string"?qu(n,U,l.value.path):bt({},U)}function x(U,ie){if(c!==U)return bo(8,{from:ie,to:U})}function z(U){return j(U)}function S(U){return z(bt(w(U),{replace:!0}))}function T(U){const ie=U.matched[U.matched.length-1];if(ie&&ie.redirect){const{redirect:se}=ie;let be=typeof se=="function"?se(U):se;return typeof be=="string"&&(be=be.includes("?")||be.includes("#")?be=w(be):{path:be},be.params={}),bt({query:U.query,hash:U.hash,params:U.params},be)}}function j(U,ie){const se=c=b(U),be=l.value,Ve=U.state,Ie=U.force,Ee=U.replace===!0,Ae=T(se);if(Ae)return j(bt(w(Ae),{state:Ve,force:Ie,replace:Ee}),ie||se);const $=se;$.redirectedFrom=ie;let R;return!Ie&&Gx(r,be,se)&&(R=bo(16,{to:$,from:be}),He(be,be,!0,!1)),(R?Promise.resolve(R):A($,be)).catch(Y=>Mr(Y)?Mr(Y,2)?Y:Me(Y):ue(Y,$,be)).then(Y=>{if(Y){if(Mr(Y,2))return j(bt(w(Y.to),{state:Ve,force:Ie,replace:Ee}),ie||$)}else Y=W($,be,!0,Ee,Ve);return M($,be,Y),Y})}function F(U,ie){const se=x(U,ie);return se?Promise.reject(se):Promise.resolve()}function A(U,ie){let se;const[be,Ve,Ie]=W2(U,ie);se=Wu(be.reverse(),"beforeRouteLeave",U,ie);for(const Ae of be)Ae.leaveGuards.forEach($=>{se.push(Br($,U,ie))});const Ee=F.bind(null,U,ie);return se.push(Ee),Vs(se).then(()=>{se=[];for(const Ae of o.list())se.push(Br(Ae,U,ie));return se.push(Ee),Vs(se)}).then(()=>{se=Wu(Ve,"beforeRouteUpdate",U,ie);for(const Ae of Ve)Ae.updateGuards.forEach($=>{se.push(Br($,U,ie))});return se.push(Ee),Vs(se)}).then(()=>{se=[];for(const Ae of U.matched)if(Ae.beforeEnter&&!ie.matched.includes(Ae))if(Array.isArray(Ae.beforeEnter))for(const $ of Ae.beforeEnter)se.push(Br($,U,ie));else se.push(Br(Ae.beforeEnter,U,ie));return se.push(Ee),Vs(se)}).then(()=>(U.matched.forEach(Ae=>Ae.enterCallbacks={}),se=Wu(Ie,"beforeRouteEnter",U,ie),se.push(Ee),Vs(se))).then(()=>{se=[];for(const Ae of i.list())se.push(Br(Ae,U,ie));return se.push(Ee),Vs(se)}).catch(Ae=>Mr(Ae,8)?Ae:Promise.reject(Ae))}function M(U,ie,se){for(const be of a.list())be(U,ie,se)}function W(U,ie,se,be,Ve){const Ie=x(U,ie);if(Ie)return Ie;const Ee=ie===Lr,Ae=Xs?history.state:{};se&&(be||Ee?s.replace(U.fullPath,bt({scroll:Ee&&Ae&&Ae.scroll},Ve)):s.push(U.fullPath,Ve)),l.value=U,He(U,ie,se,Ee),Me()}let I;function H(){I||(I=s.listen((U,ie,se)=>{const be=b(U),Ve=T(be);if(Ve){j(bt(Ve,{replace:!0}),be).catch(fi);return}c=be;const Ie=l.value;Xs&&t2(Np(Ie.fullPath,se.delta),du()),A(be,Ie).catch(Ee=>Mr(Ee,12)?Ee:Mr(Ee,2)?(j(Ee.to,be).then(Ae=>{Mr(Ae,20)&&!se.delta&&se.type===Ti.pop&&s.go(-1,!1)}).catch(fi),Promise.reject()):(se.delta&&s.go(-se.delta,!1),ue(Ee,be,Ie))).then(Ee=>{Ee=Ee||W(be,Ie,!1),Ee&&(se.delta?s.go(-se.delta,!1):se.type===Ti.pop&&Mr(Ee,20)&&s.go(-1,!1)),M(be,Ie,Ee)}).catch(fi)}))}let B=Ro(),oe=Ro(),J;function ue(U,ie,se){Me(U);const be=oe.list();return be.length?be.forEach(Ve=>Ve(U,ie,se)):console.error(U),Promise.reject(U)}function ge(){return J&&l.value!==Lr?Promise.resolve():new Promise((U,ie)=>{B.add([U,ie])})}function Me(U){return J||(J=!U,H(),B.list().forEach(([ie,se])=>U?se(U):ie()),B.reset()),U}function He(U,ie,se,be){const{scrollBehavior:Ve}=e;if(!Xs||!Ve)return Promise.resolve();const Ie=!se&&n2(Np(U.fullPath,0))||(be||!se)&&history.state&&history.state.scroll||null;return Kl().then(()=>Ve(U,ie,Ie)).then(Ee=>Ee&&e2(Ee)).catch(Ee=>ue(Ee,U,ie))}const he=U=>s.go(U);let X;const me=new Set;return{currentRoute:l,addRoute:p,removeRoute:h,hasRoute:g,getRoutes:_,resolve:b,options:e,push:z,replace:S,go:he,back:()=>he(-1),forward:()=>he(1),beforeEach:o.add,beforeResolve:i.add,afterEach:a.add,onError:oe.add,isReady:ge,install(U){const ie=this;U.component("RouterLink",j2),U.component("RouterView",U2),U.config.globalProperties.$router=ie,Object.defineProperty(U.config.globalProperties,"$route",{enumerable:!0,get:()=>ao(l)}),Xs&&!X&&l.value===Lr&&(X=!0,z(s.location).catch(Ve=>{}));const se={};for(const Ve in Lr)se[Ve]=At(()=>l.value[Ve]);U.provide(Am,ie),U.provide(Uy,Ts(se)),U.provide(ud,l);const be=U.unmount;me.add(U),U.unmount=function(){me.delete(U),me.size<1&&(c=Lr,I&&I(),I=null,l.value=Lr,X=!1,J=!1),be()}}}}function Vs(e){return e.reduce((t,n)=>t.then(()=>n()),Promise.resolve())}function W2(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=>vo(c,a))?r.push(a):n.push(a));const l=e.matched[i];l&&(t.matched.find(c=>vo(c,l))||s.push(l))}return[n,r,s]}const ve=(e,t)=>{const n=e.__vccOpts||e;for(const[r,s]of t)n[r]=s;return n},G2={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:function(){window.scrollTo({top:0,behavior:"smooth"})},scroll_to_content:function(){this.$route.meta.has_tabs?this.$scrollTo("#top",{offset:-140}):this.$scrollTo("#top",{offset:-110})},visibilityChanged:function(e){this.options_visible=e}}},K2={class:"section fd-content"},Z2={class:"container"},Y2={class:"columns is-centered"},J2={class:"column is-four-fifths"},X2={key:0},Q2={ref:"options_ref",style:{height:"1px"}},ek={class:"buttons is-centered",style:{"margin-bottom":"6px","margin-top":"16px"}},tk={class:"icon is-small"},nk={class:"icon is-small"},rk={id:"top",class:"level"},sk={class:"level-left"},ok={class:"level-item has-text-centered-mobile"},ik={class:"level-right has-text-centered-mobile"},ak={style:{"margin-top":"16px"}};function lk(e,t,n,r,s,o){const i=O("mdicon");return E(),D("section",K2,[u("div",Z2,[u("div",Y2,[u("div",J2,[e.$slots.options?(E(),D("section",X2,[u("div",Q2,null,512),zt(e.$slots,"options"),u("nav",ek,[s.options_visible?(E(),D("a",{key:1,class:"button is-small is-white",onClick:t[1]||(t[1]=(...a)=>o.scroll_to_content&&o.scroll_to_content(...a))},[u("span",nk,[C(i,{name:"chevron-up",size:"16"})])])):(E(),D("a",{key:0,class:"button is-small is-white",onClick:t[0]||(t[0]=(...a)=>o.scroll_to_top&&o.scroll_to_top(...a))},[u("span",tk,[C(i,{name:"chevron-down",size:"16"})])]))])])):Q("",!0),u("div",{class:Ye({"fd-content-with-option":e.$slots.options})},[u("nav",rk,[u("div",sk,[u("div",ok,[u("div",null,[zt(e.$slots,"heading-left")])])]),u("div",ik,[zt(e.$slots,"heading-right")])]),zt(e.$slots,"content"),u("div",ak,[zt(e.$slots,"footer")])],2)])])])])}const ft=ve(G2,[["render",lk]]);var on=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Om(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function tv(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 md={},uk={get exports(){return md},set exports(e){md=e}},$l={},ck={get exports(){return $l},set exports(e){$l=e}},nv=function(t,n){return function(){for(var s=new Array(arguments.length),o=0;o<s.length;o++)s[o]=arguments[o];return t.apply(n,s)}},dk=nv,Pm=Object.prototype.toString,Dm=function(e){return function(t){var n=Pm.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())}}(Object.create(null));function Fs(e){return e=e.toLowerCase(),function(n){return Dm(n)===e}}function Fm(e){return Array.isArray(e)}function Al(e){return typeof e>"u"}function mk(e){return e!==null&&!Al(e)&&e.constructor!==null&&!Al(e.constructor)&&typeof e.constructor.isBuffer=="function"&&e.constructor.isBuffer(e)}var rv=Fs("ArrayBuffer");function fk(e){var t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&rv(e.buffer),t}function pk(e){return typeof e=="string"}function hk(e){return typeof e=="number"}function sv(e){return e!==null&&typeof e=="object"}function ol(e){if(Dm(e)!=="object")return!1;var t=Object.getPrototypeOf(e);return t===null||t===Object.prototype}var _k=Fs("Date"),gk=Fs("File"),yk=Fs("Blob"),vk=Fs("FileList");function Im(e){return Pm.call(e)==="[object Function]"}function bk(e){return sv(e)&&Im(e.pipe)}function wk(e){var t="[object FormData]";return e&&(typeof FormData=="function"&&e instanceof FormData||Pm.call(e)===t||Im(e.toString)&&e.toString()===t)}var Ck=Fs("URLSearchParams");function zk(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}function xk(){return typeof navigator<"u"&&(navigator.product==="ReactNative"||navigator.product==="NativeScript"||navigator.product==="NS")?!1:typeof window<"u"&&typeof document<"u"}function Lm(e,t){if(!(e===null||typeof e>"u"))if(typeof e!="object"&&(e=[e]),Fm(e))for(var n=0,r=e.length;n<r;n++)t.call(null,e[n],n,e);else for(var s in e)Object.prototype.hasOwnProperty.call(e,s)&&t.call(null,e[s],s,e)}function fd(){var e={};function t(s,o){ol(e[o])&&ol(s)?e[o]=fd(e[o],s):ol(s)?e[o]=fd({},s):Fm(s)?e[o]=s.slice():e[o]=s}for(var n=0,r=arguments.length;n<r;n++)Lm(arguments[n],t);return e}function kk(e,t,n){return Lm(t,function(s,o){n&&typeof s=="function"?e[o]=dk(s,n):e[o]=s}),e}function Sk(e){return e.charCodeAt(0)===65279&&(e=e.slice(1)),e}function Ek(e,t,n,r){e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,n&&Object.assign(e.prototype,n)}function $k(e,t,n){var r,s,o,i={};t=t||{};do{for(r=Object.getOwnPropertyNames(e),s=r.length;s-- >0;)o=r[s],i[o]||(t[o]=e[o],i[o]=!0);e=Object.getPrototypeOf(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t}function Ak(e,t,n){e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;var r=e.indexOf(t,n);return r!==-1&&r===n}function Tk(e){if(!e)return null;var t=e.length;if(Al(t))return null;for(var n=new Array(t);t-- >0;)n[t]=e[t];return n}var Ok=function(e){return function(t){return e&&t instanceof e}}(typeof Uint8Array<"u"&&Object.getPrototypeOf(Uint8Array)),en={isArray:Fm,isArrayBuffer:rv,isBuffer:mk,isFormData:wk,isArrayBufferView:fk,isString:pk,isNumber:hk,isObject:sv,isPlainObject:ol,isUndefined:Al,isDate:_k,isFile:gk,isBlob:yk,isFunction:Im,isStream:bk,isURLSearchParams:Ck,isStandardBrowserEnv:xk,forEach:Lm,merge:fd,extend:kk,trim:zk,stripBOM:Sk,inherits:Ek,toFlatObject:$k,kindOf:Dm,kindOfTest:Fs,endsWith:Ak,toArray:Tk,isTypedArray:Ok,isFileList:vk},Bs=en;function Jp(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}var ov=function(t,n,r){if(!n)return t;var s;if(r)s=r(n);else if(Bs.isURLSearchParams(n))s=n.toString();else{var o=[];Bs.forEach(n,function(l,c){l===null||typeof l>"u"||(Bs.isArray(l)?c=c+"[]":l=[l],Bs.forEach(l,function(f){Bs.isDate(f)?f=f.toISOString():Bs.isObject(f)&&(f=JSON.stringify(f)),o.push(Jp(c)+"="+Jp(f))}))}),s=o.join("&")}if(s){var i=t.indexOf("#");i!==-1&&(t=t.slice(0,i)),t+=(t.indexOf("?")===-1?"?":"&")+s}return t},Pk=en;function mu(){this.handlers=[]}mu.prototype.use=function(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};mu.prototype.eject=function(t){this.handlers[t]&&(this.handlers[t]=null)};mu.prototype.forEach=function(t){Pk.forEach(this.handlers,function(r){r!==null&&t(r)})};var Dk=mu,Fk=en,Ik=function(t,n){Fk.forEach(t,function(s,o){o!==n&&o.toUpperCase()===n.toUpperCase()&&(t[n]=s,delete t[o])})},iv=en;function wo(e,t,n,r,s){Error.call(this),this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),s&&(this.response=s)}iv.inherits(wo,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:this.config,code:this.code,status:this.response&&this.response.status?this.response.status:null}}});var av=wo.prototype,lv={};["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"].forEach(function(e){lv[e]={value:e}});Object.defineProperties(wo,lv);Object.defineProperty(av,"isAxiosError",{value:!0});wo.from=function(e,t,n,r,s,o){var i=Object.create(av);return iv.toFlatObject(e,i,function(l){return l!==Error.prototype}),wo.call(i,e.message,t,n,r,s),i.name=e.name,o&&Object.assign(i,o),i};var $o=wo,uv={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},Kn=en;function Lk(e,t){t=t||new FormData;var n=[];function r(o){return o===null?"":Kn.isDate(o)?o.toISOString():Kn.isArrayBuffer(o)||Kn.isTypedArray(o)?typeof Blob=="function"?new Blob([o]):Buffer.from(o):o}function s(o,i){if(Kn.isPlainObject(o)||Kn.isArray(o)){if(n.indexOf(o)!==-1)throw Error("Circular reference detected in "+i);n.push(o),Kn.forEach(o,function(l,c){if(!Kn.isUndefined(l)){var m=i?i+"."+c:c,f;if(l&&!i&&typeof l=="object"){if(Kn.endsWith(c,"{}"))l=JSON.stringify(l);else if(Kn.endsWith(c,"[]")&&(f=Kn.toArray(l))){f.forEach(function(d){!Kn.isUndefined(d)&&t.append(m,r(d))});return}}s(l,m)}}),n.pop()}else t.append(i,r(o))}return s(e),t}var cv=Lk,Gu,Xp;function Mk(){if(Xp)return Gu;Xp=1;var e=$o;return Gu=function(n,r,s){var o=s.config.validateStatus;!s.status||!o||o(s.status)?n(s):r(new e("Request failed with status code "+s.status,[e.ERR_BAD_REQUEST,e.ERR_BAD_RESPONSE][Math.floor(s.status/100)-4],s.config,s.request,s))},Gu}var Ku,Qp;function Rk(){if(Qp)return Ku;Qp=1;var e=en;return Ku=e.isStandardBrowserEnv()?function(){return{write:function(r,s,o,i,a,l){var c=[];c.push(r+"="+encodeURIComponent(s)),e.isNumber(o)&&c.push("expires="+new Date(o).toGMTString()),e.isString(i)&&c.push("path="+i),e.isString(a)&&c.push("domain="+a),l===!0&&c.push("secure"),document.cookie=c.join("; ")},read:function(r){var s=document.cookie.match(new RegExp("(^|;\\s*)("+r+")=([^;]*)"));return s?decodeURIComponent(s[3]):null},remove:function(r){this.write(r,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}(),Ku}var Nk=function(t){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)},jk=function(t,n){return n?t.replace(/\/+$/,"")+"/"+n.replace(/^\/+/,""):t},Vk=Nk,Bk=jk,dv=function(t,n){return t&&!Vk(n)?Bk(t,n):n},Zu,eh;function Hk(){if(eh)return Zu;eh=1;var e=en,t=["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"];return Zu=function(r){var s={},o,i,a;return r&&e.forEach(r.split(`
|
||
`),function(c){if(a=c.indexOf(":"),o=e.trim(c.substr(0,a)).toLowerCase(),i=e.trim(c.substr(a+1)),o){if(s[o]&&t.indexOf(o)>=0)return;o==="set-cookie"?s[o]=(s[o]?s[o]:[]).concat([i]):s[o]=s[o]?s[o]+", "+i:i}}),s},Zu}var Yu,th;function Uk(){if(th)return Yu;th=1;var e=en;return Yu=e.isStandardBrowserEnv()?function(){var n=/(msie|trident)/i.test(navigator.userAgent),r=document.createElement("a"),s;function o(i){var a=i;return n&&(r.setAttribute("href",a),a=r.href),r.setAttribute("href",a),{href:r.href,protocol:r.protocol?r.protocol.replace(/:$/,""):"",host:r.host,search:r.search?r.search.replace(/^\?/,""):"",hash:r.hash?r.hash.replace(/^#/,""):"",hostname:r.hostname,port:r.port,pathname:r.pathname.charAt(0)==="/"?r.pathname:"/"+r.pathname}}return s=o(window.location.href),function(a){var l=e.isString(a)?o(a):a;return l.protocol===s.protocol&&l.host===s.host}}():function(){return function(){return!0}}(),Yu}var Ju,nh;function fu(){if(nh)return Ju;nh=1;var e=$o,t=en;function n(r){e.call(this,r??"canceled",e.ERR_CANCELED),this.name="CanceledError"}return t.inherits(n,e,{__CANCEL__:!0}),Ju=n,Ju}var Xu,rh;function qk(){return rh||(rh=1,Xu=function(t){var n=/^([-+\w]{1,25})(:?\/\/|:)/.exec(t);return n&&n[1]||""}),Xu}var Qu,sh;function oh(){if(sh)return Qu;sh=1;var e=en,t=Mk(),n=Rk(),r=ov,s=dv,o=Hk(),i=Uk(),a=uv,l=$o,c=fu(),m=qk();return Qu=function(d){return new Promise(function(h,_){var g=d.data,b=d.headers,w=d.responseType,x;function z(){d.cancelToken&&d.cancelToken.unsubscribe(x),d.signal&&d.signal.removeEventListener("abort",x)}e.isFormData(g)&&e.isStandardBrowserEnv()&&delete b["Content-Type"];var S=new XMLHttpRequest;if(d.auth){var T=d.auth.username||"",j=d.auth.password?unescape(encodeURIComponent(d.auth.password)):"";b.Authorization="Basic "+btoa(T+":"+j)}var F=s(d.baseURL,d.url);S.open(d.method.toUpperCase(),r(F,d.params,d.paramsSerializer),!0),S.timeout=d.timeout;function A(){if(S){var I="getAllResponseHeaders"in S?o(S.getAllResponseHeaders()):null,H=!w||w==="text"||w==="json"?S.responseText:S.response,B={data:H,status:S.status,statusText:S.statusText,headers:I,config:d,request:S};t(function(J){h(J),z()},function(J){_(J),z()},B),S=null}}if("onloadend"in S?S.onloadend=A:S.onreadystatechange=function(){!S||S.readyState!==4||S.status===0&&!(S.responseURL&&S.responseURL.indexOf("file:")===0)||setTimeout(A)},S.onabort=function(){S&&(_(new l("Request aborted",l.ECONNABORTED,d,S)),S=null)},S.onerror=function(){_(new l("Network Error",l.ERR_NETWORK,d,S,S)),S=null},S.ontimeout=function(){var H=d.timeout?"timeout of "+d.timeout+"ms exceeded":"timeout exceeded",B=d.transitional||a;d.timeoutErrorMessage&&(H=d.timeoutErrorMessage),_(new l(H,B.clarifyTimeoutError?l.ETIMEDOUT:l.ECONNABORTED,d,S)),S=null},e.isStandardBrowserEnv()){var M=(d.withCredentials||i(F))&&d.xsrfCookieName?n.read(d.xsrfCookieName):void 0;M&&(b[d.xsrfHeaderName]=M)}"setRequestHeader"in S&&e.forEach(b,function(H,B){typeof g>"u"&&B.toLowerCase()==="content-type"?delete b[B]:S.setRequestHeader(B,H)}),e.isUndefined(d.withCredentials)||(S.withCredentials=!!d.withCredentials),w&&w!=="json"&&(S.responseType=d.responseType),typeof d.onDownloadProgress=="function"&&S.addEventListener("progress",d.onDownloadProgress),typeof d.onUploadProgress=="function"&&S.upload&&S.upload.addEventListener("progress",d.onUploadProgress),(d.cancelToken||d.signal)&&(x=function(I){S&&(_(!I||I&&I.type?new c:I),S.abort(),S=null)},d.cancelToken&&d.cancelToken.subscribe(x),d.signal&&(d.signal.aborted?x():d.signal.addEventListener("abort",x))),g||(g=null);var W=m(F);if(W&&["http","https","file"].indexOf(W)===-1){_(new l("Unsupported protocol "+W+":",l.ERR_BAD_REQUEST,d));return}S.send(g)})},Qu}var ec,ih;function Wk(){return ih||(ih=1,ec=null),ec}var Yt=en,ah=Ik,lh=$o,Gk=uv,Kk=cv,Zk={"Content-Type":"application/x-www-form-urlencoded"};function uh(e,t){!Yt.isUndefined(e)&&Yt.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}function Yk(){var e;return(typeof XMLHttpRequest<"u"||typeof process<"u"&&Object.prototype.toString.call(process)==="[object process]")&&(e=oh()),e}function Jk(e,t,n){if(Yt.isString(e))try{return(t||JSON.parse)(e),Yt.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(n||JSON.stringify)(e)}var pu={transitional:Gk,adapter:Yk(),transformRequest:[function(t,n){if(ah(n,"Accept"),ah(n,"Content-Type"),Yt.isFormData(t)||Yt.isArrayBuffer(t)||Yt.isBuffer(t)||Yt.isStream(t)||Yt.isFile(t)||Yt.isBlob(t))return t;if(Yt.isArrayBufferView(t))return t.buffer;if(Yt.isURLSearchParams(t))return uh(n,"application/x-www-form-urlencoded;charset=utf-8"),t.toString();var r=Yt.isObject(t),s=n&&n["Content-Type"],o;if((o=Yt.isFileList(t))||r&&s==="multipart/form-data"){var i=this.env&&this.env.FormData;return Kk(o?{"files[]":t}:t,i&&new i)}else if(r||s==="application/json")return uh(n,"application/json"),Jk(t);return t}],transformResponse:[function(t){var n=this.transitional||pu.transitional,r=n&&n.silentJSONParsing,s=n&&n.forcedJSONParsing,o=!r&&this.responseType==="json";if(o||s&&Yt.isString(t)&&t.length)try{return JSON.parse(t)}catch(i){if(o)throw i.name==="SyntaxError"?lh.from(i,lh.ERR_BAD_RESPONSE,this,null,this.response):i}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Wk()},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};Yt.forEach(["delete","get","head"],function(t){pu.headers[t]={}});Yt.forEach(["post","put","patch"],function(t){pu.headers[t]=Yt.merge(Zk)});var Mm=pu,Xk=en,Qk=Mm,eS=function(t,n,r){var s=this||Qk;return Xk.forEach(r,function(i){t=i.call(s,t,n)}),t},tc,ch;function mv(){return ch||(ch=1,tc=function(t){return!!(t&&t.__CANCEL__)}),tc}var dh=en,nc=eS,tS=mv(),nS=Mm,rS=fu();function rc(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new rS}var sS=function(t){rc(t),t.headers=t.headers||{},t.data=nc.call(t,t.data,t.headers,t.transformRequest),t.headers=dh.merge(t.headers.common||{},t.headers[t.method]||{},t.headers),dh.forEach(["delete","get","head","post","put","patch","common"],function(s){delete t.headers[s]});var n=t.adapter||nS.adapter;return n(t).then(function(s){return rc(t),s.data=nc.call(t,s.data,s.headers,t.transformResponse),s},function(s){return tS(s)||(rc(t),s&&s.response&&(s.response.data=nc.call(t,s.response.data,s.response.headers,t.transformResponse))),Promise.reject(s)})},En=en,fv=function(t,n){n=n||{};var r={};function s(m,f){return En.isPlainObject(m)&&En.isPlainObject(f)?En.merge(m,f):En.isPlainObject(f)?En.merge({},f):En.isArray(f)?f.slice():f}function o(m){if(En.isUndefined(n[m])){if(!En.isUndefined(t[m]))return s(void 0,t[m])}else return s(t[m],n[m])}function i(m){if(!En.isUndefined(n[m]))return s(void 0,n[m])}function a(m){if(En.isUndefined(n[m])){if(!En.isUndefined(t[m]))return s(void 0,t[m])}else return s(void 0,n[m])}function l(m){if(m in n)return s(t[m],n[m]);if(m in t)return s(void 0,t[m])}var c={url:i,method:i,data:i,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,beforeRedirect:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,responseEncoding:a,validateStatus:l};return En.forEach(Object.keys(t).concat(Object.keys(n)),function(f){var d=c[f]||o,p=d(f);En.isUndefined(p)&&d!==l||(r[f]=p)}),r},sc,mh;function pv(){return mh||(mh=1,sc={version:"0.27.2"}),sc}var oS=pv().version,Hr=$o,Rm={};["object","boolean","number","function","string","symbol"].forEach(function(e,t){Rm[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});var fh={};Rm.transitional=function(t,n,r){function s(o,i){return"[Axios v"+oS+"] Transitional option '"+o+"'"+i+(r?". "+r:"")}return function(o,i,a){if(t===!1)throw new Hr(s(i," has been removed"+(n?" in "+n:"")),Hr.ERR_DEPRECATED);return n&&!fh[i]&&(fh[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 iS(e,t,n){if(typeof e!="object")throw new Hr("options must be an object",Hr.ERR_BAD_OPTION_VALUE);for(var r=Object.keys(e),s=r.length;s-- >0;){var o=r[s],i=t[o];if(i){var a=e[o],l=a===void 0||i(a,o,e);if(l!==!0)throw new Hr("option "+o+" must be "+l,Hr.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new Hr("Unknown option "+o,Hr.ERR_BAD_OPTION)}}var aS={assertOptions:iS,validators:Rm},hv=en,lS=ov,ph=Dk,hh=sS,hu=fv,uS=dv,_v=aS,Hs=_v.validators;function Co(e){this.defaults=e,this.interceptors={request:new ph,response:new ph}}Co.prototype.request=function(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=hu(this.defaults,n),n.method?n.method=n.method.toLowerCase():this.defaults.method?n.method=this.defaults.method.toLowerCase():n.method="get";var r=n.transitional;r!==void 0&&_v.assertOptions(r,{silentJSONParsing:Hs.transitional(Hs.boolean),forcedJSONParsing:Hs.transitional(Hs.boolean),clarifyTimeoutError:Hs.transitional(Hs.boolean)},!1);var s=[],o=!0;this.interceptors.request.forEach(function(p){typeof p.runWhen=="function"&&p.runWhen(n)===!1||(o=o&&p.synchronous,s.unshift(p.fulfilled,p.rejected))});var i=[];this.interceptors.response.forEach(function(p){i.push(p.fulfilled,p.rejected)});var a;if(!o){var l=[hh,void 0];for(Array.prototype.unshift.apply(l,s),l=l.concat(i),a=Promise.resolve(n);l.length;)a=a.then(l.shift(),l.shift());return a}for(var c=n;s.length;){var m=s.shift(),f=s.shift();try{c=m(c)}catch(d){f(d);break}}try{a=hh(c)}catch(d){return Promise.reject(d)}for(;i.length;)a=a.then(i.shift(),i.shift());return a};Co.prototype.getUri=function(t){t=hu(this.defaults,t);var n=uS(t.baseURL,t.url);return lS(n,t.params,t.paramsSerializer)};hv.forEach(["delete","get","head","options"],function(t){Co.prototype[t]=function(n,r){return this.request(hu(r||{},{method:t,url:n,data:(r||{}).data}))}});hv.forEach(["post","put","patch"],function(t){function n(r){return function(o,i,a){return this.request(hu(a||{},{method:t,headers:r?{"Content-Type":"multipart/form-data"}:{},url:o,data:i}))}}Co.prototype[t]=n(),Co.prototype[t+"Form"]=n(!0)});var cS=Co,oc,_h;function dS(){if(_h)return oc;_h=1;var e=fu();function t(n){if(typeof n!="function")throw new TypeError("executor must be a function.");var r;this.promise=new Promise(function(i){r=i});var s=this;this.promise.then(function(o){if(s._listeners){var i,a=s._listeners.length;for(i=0;i<a;i++)s._listeners[i](o);s._listeners=null}}),this.promise.then=function(o){var i,a=new Promise(function(l){s.subscribe(l),i=l}).then(o);return a.cancel=function(){s.unsubscribe(i)},a},n(function(i){s.reason||(s.reason=new e(i),r(s.reason))})}return t.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},t.prototype.subscribe=function(r){if(this.reason){r(this.reason);return}this._listeners?this._listeners.push(r):this._listeners=[r]},t.prototype.unsubscribe=function(r){if(this._listeners){var s=this._listeners.indexOf(r);s!==-1&&this._listeners.splice(s,1)}},t.source=function(){var r,s=new t(function(i){r=i});return{token:s,cancel:r}},oc=t,oc}var ic,gh;function mS(){return gh||(gh=1,ic=function(t){return function(r){return t.apply(null,r)}}),ic}var ac,yh;function fS(){if(yh)return ac;yh=1;var e=en;return ac=function(n){return e.isObject(n)&&n.isAxiosError===!0},ac}var vh=en,pS=nv,il=cS,hS=fv,_S=Mm;function gv(e){var t=new il(e),n=pS(il.prototype.request,t);return vh.extend(n,il.prototype,t),vh.extend(n,t),n.create=function(s){return gv(hS(e,s))},n}var kn=gv(_S);kn.Axios=il;kn.CanceledError=fu();kn.CancelToken=dS();kn.isCancel=mv();kn.VERSION=pv().version;kn.toFormData=cv;kn.AxiosError=$o;kn.Cancel=kn.CanceledError;kn.all=function(t){return Promise.all(t)};kn.spread=mS();kn.isAxiosError=fS();ck.exports=kn;$l.default=kn;(function(e){e.exports=$l})(uk);const Te=Om(md),{t:Qs}=Hi.global;Te.interceptors.response.use(function(e){return e},function(e){return console.log(Hi),e.request.status&&e.request.responseURL&&it.dispatch("add_notification",{text:Qs("server.request-failed",{status:e.request.status,cause:e.request.statusText,url:e.request.responseURL}),type:"danger"}),Promise.reject(e)});const Z={config(){return Te.get("./api/config")},settings(){return Te.get("./api/settings")},settings_update(e,t){return Te.put("./api/settings/"+e+"/"+t.name,t)},library_stats(){return Te.get("./api/library")},library_update(e){const t={};return e&&(t.scan_kind=e),Te.put("./api/update",void 0,{params:t})},library_rescan(e){const t={};return e&&(t.scan_kind=e),Te.put("./api/rescan",void 0,{params:t})},library_count(e){return Te.get("./api/library/count?expression="+e)},queue(){return Te.get("./api/queue")},queue_clear(){return Te.put("./api/queue/clear")},queue_remove(e){return Te.delete("./api/queue/items/"+e)},queue_move(e,t){return Te.put("./api/queue/items/"+e+"?new_position="+t)},queue_add(e){return Te.post("./api/queue/items/add?uris="+e).then(t=>(it.dispatch("add_notification",{text:Qs("server.appended-tracks",{count:t.data.count}),type:"info",timeout:2e3}),Promise.resolve(t)))},queue_add_next(e){let t=0;return it.getters.now_playing&&it.getters.now_playing.id&&(t=it.getters.now_playing.position+1),Te.post("./api/queue/items/add?uris="+e+"&position="+t).then(n=>(it.dispatch("add_notification",{text:Qs("server.appended-tracks",{count:n.data.count}),type:"info",timeout:2e3}),Promise.resolve(n)))},queue_expression_add(e){const t={};return t.expression=e,Te.post("./api/queue/items/add",void 0,{params:t}).then(n=>(it.dispatch("add_notification",{text:Qs("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,it.getters.now_playing&&it.getters.now_playing.id&&(t.position=it.getters.now_playing.position+1),Te.post("./api/queue/items/add",void 0,{params:t}).then(n=>(it.dispatch("add_notification",{text:Qs("server.appended-tracks",{count:n.data.count}),type:"info",timeout:2e3}),Promise.resolve(n)))},queue_save_playlist(e){return Te.post("./api/queue/save",void 0,{params:{name:e}}).then(t=>(it.dispatch("add_notification",{text:Qs("server.queue-saved",{name:e}),type:"info",timeout:2e3}),Promise.resolve(t)))},player_status(){return Te.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,Te.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,Te.post("./api/queue/items/add",void 0,{params:r})},player_play(e={}){return Te.put("./api/player/play",void 0,{params:e})},player_playpos(e){return Te.put("./api/player/play?position="+e)},player_playid(e){return Te.put("./api/player/play?item_id="+e)},player_pause(){return Te.put("./api/player/pause")},player_stop(){return Te.put("./api/player/stop")},player_next(){return Te.put("./api/player/next")},player_previous(){return Te.put("./api/player/previous")},player_shuffle(e){const t=e?"true":"false";return Te.put("./api/player/shuffle?state="+t)},player_consume(e){const t=e?"true":"false";return Te.put("./api/player/consume?state="+t)},player_repeat(e){return Te.put("./api/player/repeat?state="+e)},player_volume(e){return Te.put("./api/player/volume?volume="+e)},player_output_volume(e,t){return Te.put("./api/player/volume?volume="+t+"&output_id="+e)},player_seek_to_pos(e){return Te.put("./api/player/seek?position_ms="+e)},player_seek(e){return Te.put("./api/player/seek?seek_ms="+e)},outputs(){return Te.get("./api/outputs")},output_update(e,t){return Te.put("./api/outputs/"+e,t)},output_toggle(e){return Te.put("./api/outputs/"+e+"/toggle")},library_artists(e=void 0){return Te.get("./api/library/artists",{params:{media_kind:e}})},library_artist(e){return Te.get("./api/library/artists/"+e)},library_artist_albums(e){return Te.get("./api/library/artists/"+e+"/albums")},library_albums(e=void 0){return Te.get("./api/library/albums",{params:{media_kind:e}})},library_album(e){return Te.get("./api/library/albums/"+e)},library_album_tracks(e,t={limit:-1,offset:0}){return Te.get("./api/library/albums/"+e+"/tracks",{params:t})},library_album_track_update(e,t){return Te.put("./api/library/albums/"+e+"/tracks",void 0,{params:t})},library_genres(e=void 0){return Te.get("./api/library/genres",{params:{media_kind:e}})},library_genre(e){return Te.get(`./api/library/genres/${encodeURIComponent(e)}`)},library_genre_albums(e){const t={type:"albums",expression:`genre is "${e}" and media_kind is music`};return Te.get("./api/search",{params:t})},library_genre_tracks(e){const t={type:"tracks",expression:`genre is "${e}" and media_kind is music`};return Te.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 Te.get("./api/search",{params:e})},library_composers(e=void 0){return Te.get("./api/library/composers",{params:{media_kind:e}})},library_composer(e){return Te.get(`./api/library/composers/${encodeURIComponent(e)}`)},library_composer_albums(e){const t={type:"albums",expression:`composer is "${e}" and media_kind is music`};return Te.get("./api/search",{params:t})},library_composer_tracks(e){const t={type:"tracks",expression:`composer is "${e}" and media_kind is music`};return Te.get("./api/search",{params:t})},library_artist_tracks(e){if(e){const t={type:"tracks",expression:'songartistid is "'+e+'"'};return Te.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 Te.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 Te.get("./api/search",{params:t})},library_add(e){return Te.post("./api/library/add",void 0,{params:{url:e}})},library_playlist_delete(e){return Te.delete("./api/library/playlists/"+e,void 0)},library_playlists(){return Te.get("./api/library/playlists")},library_playlist_folder(e=0){return Te.get("./api/library/playlists/"+e+"/playlists")},library_playlist(e){return Te.get("./api/library/playlists/"+e)},library_playlist_tracks(e){return Te.get("./api/library/playlists/"+e+"/tracks")},library_track(e){return Te.get("./api/library/tracks/"+e)},library_track_playlists(e){return Te.get("./api/library/tracks/"+e+"/playlists")},library_track_update(e,t={}){return Te.put("./api/library/tracks/"+e,void 0,{params:t})},library_files(e=void 0){const t={directory:e};return Te.get("./api/library/files",{params:t})},search(e){return Te.get("./api/search",{params:e})},spotify(){return Te.get("./api/spotify")},spotify_login(e){return Te.post("./api/spotify-login",e)},spotify_logout(){return Te.get("./api/spotify-logout")},lastfm(){return Te.get("./api/lastfm")},lastfm_login(e){return Te.post("./api/lastfm-login",e)},lastfm_logout(e){return Te.get("./api/lastfm-logout")},pairing(){return Te.get("./api/pairing")},pairing_kickoff(e){return Te.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}},gS={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:function(){Z.player_play({item_id:this.item.id})}}},yS={key:0,class:"media"},vS={key:0,class:"media-left"},bS={class:"icon has-text-grey fd-is-movable handle"},wS=["textContent"],CS=["textContent"],zS=["textContent"],xS={class:"media-right"};function kS(e,t,n,r,s,o){const i=O("mdicon");return o.is_next||!n.show_only_next_items?(E(),D("div",yS,[n.edit_mode?(E(),D("div",vS,[u("span",bS,[C(i,{name:"drag-horizontal",size:"16"})])])):Q("",!0),u("div",{class:"media-content fd-has-action is-clipped",onClick:t[0]||(t[0]=(...a)=>o.play&&o.play(...a))},[u("h1",{class:Ye(["title is-6",{"has-text-primary":n.item.id===o.state.item_id,"has-text-grey-light":!o.is_next}]),textContent:v(n.item.title)},null,10,wS),u("h2",{class:Ye(["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:v(n.item.artist)},null,8,CS)],2),u("h2",{class:Ye(["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:v(n.item.album)},null,10,zS)]),u("div",xS,[zt(e.$slots,"actions")])])):Q("",!0)}const SS=ve(gS,[["render",kS]]);var pd={},ES={get exports(){return pd},set exports(e){pd=e}};(function(e){var t=function(){var n="https://api.spotify.com/v1",r=null,s=null,o=function(d,p){return d.abort=p,d},i=function(d,p){var h;if(s!==null){var _=s.defer();d(function(g){_.resolve(g)},function(g){_.reject(g)}),h=_.promise}else window.Promise&&(h=new window.Promise(d));return h?new o(h,p):null},a=function(){var d=Array.prototype.slice.call(arguments),p=d[0],h=d.slice(1);return p=p||{},h.forEach(function(_){for(var g in _)_.hasOwnProperty(g)&&(p[g]=_[g])}),p},l=function(d,p){var h="";for(var _ in p)if(p.hasOwnProperty(_)){var g=p[_];h+=encodeURIComponent(_)+"="+encodeURIComponent(g)+"&"}return h.length>0&&(h=h.substring(0,h.length-1),d=d+"?"+h),d},c=function(d,p){var h=new XMLHttpRequest,_=function(g,b){function w(T){g&&g(T),p&&p(null,T)}function x(){b&&b(h),p&&p(h,null)}var z=d.type||"GET";if(h.open(z,l(d.url,d.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(j){console.error(j)}h.status>=200&&h.status<300?w(T):x()}},z==="GET")h.send(null);else{var S=null;d.postData&&(d.contentType==="image/jpeg"?(S=d.postData,h.setRequestHeader("Content-Type",d.contentType)):(S=JSON.stringify(d.postData),h.setRequestHeader("Content-Type","application/json"))),h.send(S)}};return p?(_(),null):i(_,function(){h.abort()})},m=function(d,p,h,_){var g={},b=null;typeof p=="object"?(g=p,b=h):typeof p=="function"&&(b=p);var w=d.type||"GET";return w!=="GET"&&d.postData&&!_?d.postData=a(d.postData,g):d.params=a(d.params,g),c(d,b)},f=function(){};return f.prototype={constructor:t},f.prototype.getGeneric=function(d,p){var h={url:d};return m(h,p)},f.prototype.getMe=function(d,p){var h={url:n+"/me"};return m(h,d,p)},f.prototype.getMySavedTracks=function(d,p){var h={url:n+"/me/tracks"};return m(h,d,p)},f.prototype.addToMySavedTracks=function(d,p,h){var _={url:n+"/me/tracks",type:"PUT",postData:d};return m(_,p,h)},f.prototype.removeFromMySavedTracks=function(d,p,h){var _={url:n+"/me/tracks",type:"DELETE",postData:d};return m(_,p,h)},f.prototype.containsMySavedTracks=function(d,p,h){var _={url:n+"/me/tracks/contains",params:{ids:d.join(",")}};return m(_,p,h)},f.prototype.getMySavedAlbums=function(d,p){var h={url:n+"/me/albums"};return m(h,d,p)},f.prototype.addToMySavedAlbums=function(d,p,h){var _={url:n+"/me/albums",type:"PUT",postData:d};return m(_,p,h)},f.prototype.removeFromMySavedAlbums=function(d,p,h){var _={url:n+"/me/albums",type:"DELETE",postData:d};return m(_,p,h)},f.prototype.containsMySavedAlbums=function(d,p,h){var _={url:n+"/me/albums/contains",params:{ids:d.join(",")}};return m(_,p,h)},f.prototype.getMyTopArtists=function(d,p){var h={url:n+"/me/top/artists"};return m(h,d,p)},f.prototype.getMyTopTracks=function(d,p){var h={url:n+"/me/top/tracks"};return m(h,d,p)},f.prototype.getMyRecentlyPlayedTracks=function(d,p){var h={url:n+"/me/player/recently-played"};return m(h,d,p)},f.prototype.followUsers=function(d,p){var h={url:n+"/me/following/",type:"PUT",params:{ids:d.join(","),type:"user"}};return m(h,p)},f.prototype.followArtists=function(d,p){var h={url:n+"/me/following/",type:"PUT",params:{ids:d.join(","),type:"artist"}};return m(h,p)},f.prototype.followPlaylist=function(d,p,h){var _={url:n+"/playlists/"+d+"/followers",type:"PUT",postData:{}};return m(_,p,h)},f.prototype.unfollowUsers=function(d,p){var h={url:n+"/me/following/",type:"DELETE",params:{ids:d.join(","),type:"user"}};return m(h,p)},f.prototype.unfollowArtists=function(d,p){var h={url:n+"/me/following/",type:"DELETE",params:{ids:d.join(","),type:"artist"}};return m(h,p)},f.prototype.unfollowPlaylist=function(d,p){var h={url:n+"/playlists/"+d+"/followers",type:"DELETE"};return m(h,p)},f.prototype.isFollowingUsers=function(d,p){var h={url:n+"/me/following/contains",type:"GET",params:{ids:d.join(","),type:"user"}};return m(h,p)},f.prototype.isFollowingArtists=function(d,p){var h={url:n+"/me/following/contains",type:"GET",params:{ids:d.join(","),type:"artist"}};return m(h,p)},f.prototype.areFollowingPlaylist=function(d,p,h){var _={url:n+"/playlists/"+d+"/followers/contains",type:"GET",params:{ids:p.join(",")}};return m(_,h)},f.prototype.getFollowedArtists=function(d,p){var h={url:n+"/me/following",type:"GET",params:{type:"artist"}};return m(h,d,p)},f.prototype.getUser=function(d,p,h){var _={url:n+"/users/"+encodeURIComponent(d)};return m(_,p,h)},f.prototype.getUserPlaylists=function(d,p,h){var _;return typeof d=="string"?_={url:n+"/users/"+encodeURIComponent(d)+"/playlists"}:(_={url:n+"/me/playlists"},h=p,p=d),m(_,p,h)},f.prototype.getPlaylist=function(d,p,h){var _={url:n+"/playlists/"+d};return m(_,p,h)},f.prototype.getPlaylistTracks=function(d,p,h){var _={url:n+"/playlists/"+d+"/tracks"};return m(_,p,h)},f.prototype.getPlaylistCoverImage=function(d,p){var h={url:n+"/playlists/"+d+"/images"};return m(h,p)},f.prototype.createPlaylist=function(d,p,h){var _={url:n+"/users/"+encodeURIComponent(d)+"/playlists",type:"POST",postData:p};return m(_,p,h)},f.prototype.changePlaylistDetails=function(d,p,h){var _={url:n+"/playlists/"+d,type:"PUT",postData:p};return m(_,p,h)},f.prototype.addTracksToPlaylist=function(d,p,h,_){var g={url:n+"/playlists/"+d+"/tracks",type:"POST",postData:{uris:p}};return m(g,h,_,!0)},f.prototype.replaceTracksInPlaylist=function(d,p,h){var _={url:n+"/playlists/"+d+"/tracks",type:"PUT",postData:{uris:p}};return m(_,{},h)},f.prototype.reorderTracksInPlaylist=function(d,p,h,_,g){var b={url:n+"/playlists/"+d+"/tracks",type:"PUT",postData:{range_start:p,insert_before:h}};return m(b,_,g)},f.prototype.removeTracksFromPlaylist=function(d,p,h){var _=p.map(function(b){return typeof b=="string"?{uri:b}:b}),g={url:n+"/playlists/"+d+"/tracks",type:"DELETE",postData:{tracks:_}};return m(g,{},h)},f.prototype.removeTracksFromPlaylistWithSnapshotId=function(d,p,h,_){var g=p.map(function(w){return typeof w=="string"?{uri:w}:w}),b={url:n+"/playlists/"+d+"/tracks",type:"DELETE",postData:{tracks:g,snapshot_id:h}};return m(b,{},_)},f.prototype.removeTracksFromPlaylistInPositions=function(d,p,h,_){var g={url:n+"/playlists/"+d+"/tracks",type:"DELETE",postData:{positions:p,snapshot_id:h}};return m(g,{},_)},f.prototype.uploadCustomPlaylistCoverImage=function(d,p,h){var _={url:n+"/playlists/"+d+"/images",type:"PUT",postData:p.replace(/^data:image\/jpeg;base64,/,""),contentType:"image/jpeg"};return m(_,{},h)},f.prototype.getAlbum=function(d,p,h){var _={url:n+"/albums/"+d};return m(_,p,h)},f.prototype.getAlbumTracks=function(d,p,h){var _={url:n+"/albums/"+d+"/tracks"};return m(_,p,h)},f.prototype.getAlbums=function(d,p,h){var _={url:n+"/albums/",params:{ids:d.join(",")}};return m(_,p,h)},f.prototype.getTrack=function(d,p,h){var _={};return _.url=n+"/tracks/"+d,m(_,p,h)},f.prototype.getTracks=function(d,p,h){var _={url:n+"/tracks/",params:{ids:d.join(",")}};return m(_,p,h)},f.prototype.getArtist=function(d,p,h){var _={url:n+"/artists/"+d};return m(_,p,h)},f.prototype.getArtists=function(d,p,h){var _={url:n+"/artists/",params:{ids:d.join(",")}};return m(_,p,h)},f.prototype.getArtistAlbums=function(d,p,h){var _={url:n+"/artists/"+d+"/albums"};return m(_,p,h)},f.prototype.getArtistTopTracks=function(d,p,h,_){var g={url:n+"/artists/"+d+"/top-tracks",params:{country:p}};return m(g,h,_)},f.prototype.getArtistRelatedArtists=function(d,p,h){var _={url:n+"/artists/"+d+"/related-artists"};return m(_,p,h)},f.prototype.getFeaturedPlaylists=function(d,p){var h={url:n+"/browse/featured-playlists"};return m(h,d,p)},f.prototype.getNewReleases=function(d,p){var h={url:n+"/browse/new-releases"};return m(h,d,p)},f.prototype.getCategories=function(d,p){var h={url:n+"/browse/categories"};return m(h,d,p)},f.prototype.getCategory=function(d,p,h){var _={url:n+"/browse/categories/"+d};return m(_,p,h)},f.prototype.getCategoryPlaylists=function(d,p,h){var _={url:n+"/browse/categories/"+d+"/playlists"};return m(_,p,h)},f.prototype.search=function(d,p,h,_){var g={url:n+"/search/",params:{q:d,type:p.join(",")}};return m(g,h,_)},f.prototype.searchAlbums=function(d,p,h){return this.search(d,["album"],p,h)},f.prototype.searchArtists=function(d,p,h){return this.search(d,["artist"],p,h)},f.prototype.searchTracks=function(d,p,h){return this.search(d,["track"],p,h)},f.prototype.searchPlaylists=function(d,p,h){return this.search(d,["playlist"],p,h)},f.prototype.searchShows=function(d,p,h){return this.search(d,["show"],p,h)},f.prototype.searchEpisodes=function(d,p,h){return this.search(d,["episode"],p,h)},f.prototype.getAudioFeaturesForTrack=function(d,p){var h={};return h.url=n+"/audio-features/"+d,m(h,{},p)},f.prototype.getAudioFeaturesForTracks=function(d,p){var h={url:n+"/audio-features",params:{ids:d}};return m(h,{},p)},f.prototype.getAudioAnalysisForTrack=function(d,p){var h={};return h.url=n+"/audio-analysis/"+d,m(h,{},p)},f.prototype.getRecommendations=function(d,p){var h={url:n+"/recommendations"};return m(h,d,p)},f.prototype.getAvailableGenreSeeds=function(d){var p={url:n+"/recommendations/available-genre-seeds"};return m(p,{},d)},f.prototype.getMyDevices=function(d){var p={url:n+"/me/player/devices"};return m(p,{},d)},f.prototype.getMyCurrentPlaybackState=function(d,p){var h={url:n+"/me/player"};return m(h,d,p)},f.prototype.getMyCurrentPlayingTrack=function(d,p){var h={url:n+"/me/player/currently-playing"};return m(h,d,p)},f.prototype.transferMyPlayback=function(d,p,h){var _=p||{};_.device_ids=d;var g={type:"PUT",url:n+"/me/player",postData:_};return m(g,p,h)},f.prototype.play=function(d,p){d=d||{};var h="device_id"in d?{device_id:d.device_id}:null,_={};["context_uri","uris","offset","position_ms"].forEach(function(w){w in d&&(_[w]=d[w])});var g={type:"PUT",url:n+"/me/player/play",params:h,postData:_},b=typeof d=="function"?d:{};return m(g,b,p)},f.prototype.queue=function(d,p,h){p=p||{};var _="device_id"in p?{uri:d,device_id:p.device_id}:{uri:d},g={type:"POST",url:n+"/me/player/queue",params:_};return m(g,p,h)},f.prototype.pause=function(d,p){d=d||{};var h="device_id"in d?{device_id:d.device_id}:null,_={type:"PUT",url:n+"/me/player/pause",params:h};return m(_,d,p)},f.prototype.skipToNext=function(d,p){d=d||{};var h="device_id"in d?{device_id:d.device_id}:null,_={type:"POST",url:n+"/me/player/next",params:h};return m(_,d,p)},f.prototype.skipToPrevious=function(d,p){d=d||{};var h="device_id"in d?{device_id:d.device_id}:null,_={type:"POST",url:n+"/me/player/previous",params:h};return m(_,d,p)},f.prototype.seek=function(d,p,h){p=p||{};var _={position_ms:d};"device_id"in p&&(_.device_id=p.device_id);var g={type:"PUT",url:n+"/me/player/seek",params:_};return m(g,p,h)},f.prototype.setRepeat=function(d,p,h){p=p||{};var _={state:d};"device_id"in p&&(_.device_id=p.device_id);var g={type:"PUT",url:n+"/me/player/repeat",params:_};return m(g,p,h)},f.prototype.setVolume=function(d,p,h){p=p||{};var _={volume_percent:d};"device_id"in p&&(_.device_id=p.device_id);var g={type:"PUT",url:n+"/me/player/volume",params:_};return m(g,p,h)},f.prototype.setShuffle=function(d,p,h){p=p||{};var _={state:d};"device_id"in p&&(_.device_id=p.device_id);var g={type:"PUT",url:n+"/me/player/shuffle",params:_};return m(g,p,h)},f.prototype.getShow=function(d,p,h){var _={};return _.url=n+"/shows/"+d,m(_,p,h)},f.prototype.getShows=function(d,p,h){var _={url:n+"/shows/",params:{ids:d.join(",")}};return m(_,p,h)},f.prototype.getMySavedShows=function(d,p){var h={url:n+"/me/shows"};return m(h,d,p)},f.prototype.addToMySavedShows=function(d,p,h){var _={url:n+"/me/shows",type:"PUT",postData:d};return m(_,p,h)},f.prototype.removeFromMySavedShows=function(d,p,h){var _={url:n+"/me/shows",type:"DELETE",postData:d};return m(_,p,h)},f.prototype.containsMySavedShows=function(d,p,h){var _={url:n+"/me/shows/contains",params:{ids:d.join(",")}};return m(_,p,h)},f.prototype.getShowEpisodes=function(d,p,h){var _={url:n+"/shows/"+d+"/episodes"};return m(_,p,h)},f.prototype.getEpisode=function(d,p,h){var _={};return _.url=n+"/episodes/"+d,m(_,p,h)},f.prototype.getEpisodes=function(d,p,h){var _={url:n+"/episodes/",params:{ids:d.join(",")}};return m(_,p,h)},f.prototype.getAccessToken=function(){return r},f.prototype.setAccessToken=function(d){r=d},f.prototype.setPromiseImplementation=function(d){var p=!1;try{var h=new d(function(_){_()});typeof h.then=="function"&&typeof h.catch=="function"&&(p=!0)}catch(_){console.error(_)}if(p)s=d;else throw new Error("Unsupported implementation of Promises/A+")},f}();e.exports=t})(ES);const ar=pd,$S={name:"ModalDialogQueueItem",props:["show","item"],emits:["close"],data(){return{spotify_track:{}}},watch:{item(){if(this.item&&this.item.data_kind==="spotify"){const e=new ar;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:function(){this.$emit("close"),Z.queue_remove(this.item.id)},play:function(){this.$emit("close"),Z.player_play({item_id:this.item.id})},open_album:function(){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:function(){this.$router.push({path:"/music/artists/"+this.item.album_artist_id})},open_genre:function(){this.$router.push({name:"Genre",params:{genre:this.item.genre}})},open_spotify_artist:function(){this.$emit("close"),this.$router.push({path:"/music/spotify/artists/"+this.spotify_track.artists[0].id})},open_spotify_album:function(){this.$emit("close"),this.$router.push({path:"/music/spotify/albums/"+this.spotify_track.album.id})}}},AS={key:0,class:"modal is-active"},TS={class:"modal-content fd-modal-card"},OS={class:"card"},PS={class:"card-content"},DS=["textContent"],FS=["textContent"],IS={class:"content is-small"},LS=["textContent"],MS=["textContent"],RS=["textContent"],NS={key:0},jS=["textContent"],VS=["textContent"],BS=["textContent"],HS={key:1},US=["textContent"],qS=["textContent"],WS={key:2},GS=["textContent"],KS=["textContent"],ZS={key:3},YS=["textContent"],JS=["textContent"],XS=["textContent"],QS=["textContent"],eE=["textContent"],tE=["textContent"],nE=["textContent"],rE=["textContent"],sE=["textContent"],oE={class:"title is-6"},iE=["textContent"],aE={key:0,class:"has-text-weight-normal"},lE=yt(" ("),uE=["textContent"],cE=yt(", "),dE=["textContent"],mE=yt(") "),fE=["textContent"],pE={class:"title is-6"},hE=["textContent"],_E=["textContent"],gE=["textContent"],yE=["textContent"],vE={class:"card-footer"},bE={class:"icon"},wE=["textContent"],CE={class:"icon"},zE=["textContent"];function xE(e,t,n,r,s,o){const i=O("mdicon");return E(),D("div",null,[C(qt,{name:"fade"},{default:P(()=>[n.show?(E(),D("div",AS,[u("div",{class:"modal-background",onClick:t[0]||(t[0]=a=>e.$emit("close"))}),u("div",TS,[u("div",OS,[u("div",PS,[u("p",{class:"title is-4",textContent:v(n.item.title)},null,8,DS),u("p",{class:"subtitle",textContent:v(n.item.artist)},null,8,FS),u("div",IS,[u("p",null,[u("span",{class:"heading",textContent:v(e.$t("dialog.queue-item.album"))},null,8,LS),n.item.album_id?(E(),D("a",{key:0,class:"title is-6 has-text-link",onClick:t[1]||(t[1]=(...a)=>o.open_album&&o.open_album(...a)),textContent:v(n.item.album)},null,8,MS)):(E(),D("span",{key:1,class:"title is-6",textContent:v(n.item.album)},null,8,RS))]),n.item.album_artist?(E(),D("p",NS,[u("span",{class:"heading",textContent:v(e.$t("dialog.queue-item.album-artist"))},null,8,jS),n.item.album_artist_id?(E(),D("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:v(n.item.album_artist)},null,8,VS)):(E(),D("span",{key:1,class:"title is-6",textContent:v(n.item.album_artist)},null,8,BS))])):Q("",!0),n.item.composer?(E(),D("p",HS,[u("span",{class:"heading",textContent:v(e.$t("dialog.queue-item.composer"))},null,8,US),u("span",{class:"title is-6",textContent:v(n.item.composer)},null,8,qS)])):Q("",!0),n.item.year>0?(E(),D("p",WS,[u("span",{class:"heading",textContent:v(e.$t("dialog.queue-item.year"))},null,8,GS),u("span",{class:"title is-6",textContent:v(n.item.year)},null,8,KS)])):Q("",!0),n.item.genre?(E(),D("p",ZS,[u("span",{class:"heading",textContent:v(e.$t("dialog.queue-item.genre"))},null,8,YS),u("a",{class:"title is-6 has-text-link",onClick:t[3]||(t[3]=(...a)=>o.open_genre&&o.open_genre(...a)),textContent:v(n.item.genre)},null,8,JS)])):Q("",!0),u("p",null,[u("span",{class:"heading",textContent:v(e.$t("dialog.queue-item.position"))},null,8,XS),u("span",{class:"title is-6",textContent:v([n.item.disc_number,n.item.track_number].join(" / "))},null,8,QS)]),u("p",null,[u("span",{class:"heading",textContent:v(e.$t("dialog.queue-item.duration"))},null,8,eE),u("span",{class:"title is-6",textContent:v(e.$filters.durationInHours(n.item.length_ms))},null,8,tE)]),u("p",null,[u("span",{class:"heading",textContent:v(e.$t("dialog.queue-item.path"))},null,8,nE),u("span",{class:"title is-6",textContent:v(n.item.path)},null,8,rE)]),u("p",null,[u("span",{class:"heading",textContent:v(e.$t("dialog.queue-item.type"))},null,8,sE),u("span",oE,[u("span",{textContent:v([e.$t("media.kind."+n.item.media_kind),e.$t("data.kind."+n.item.data_kind)].join(" - "))},null,8,iE),n.item.data_kind==="spotify"?(E(),D("span",aE,[lE,u("a",{onClick:t[4]||(t[4]=(...a)=>o.open_spotify_artist&&o.open_spotify_artist(...a)),textContent:v(e.$t("dialog.queue-item.spotify-artist"))},null,8,uE),cE,u("a",{onClick:t[5]||(t[5]=(...a)=>o.open_spotify_album&&o.open_spotify_album(...a)),textContent:v(e.$t("dialog.queue-item.spotify-album"))},null,8,dE),mE])):Q("",!0)])]),u("p",null,[u("span",{class:"heading",textContent:v(e.$t("dialog.queue-item.quality"))},null,8,fE),u("span",pE,[u("span",{textContent:v(n.item.type)},null,8,hE),n.item.samplerate?(E(),D("span",{key:0,textContent:v(e.$t("dialog.queue-item.samplerate",{rate:n.item.samplerate}))},null,8,_E)):Q("",!0),n.item.channels?(E(),D("span",{key:1,textContent:v(e.$t("dialog.queue-item.channels",{channels:e.$filters.channels(n.item.channels)}))},null,8,gE)):Q("",!0),n.item.bitrate?(E(),D("span",{key:2,textContent:v(e.$t("dialog.queue-item.bitrate",{rate:n.item.bitrate}))},null,8,yE)):Q("",!0)])])])]),u("footer",vE,[u("a",{class:"card-footer-item has-text-dark",onClick:t[6]||(t[6]=(...a)=>o.remove&&o.remove(...a))},[u("span",bE,[C(i,{name:"delete",size:"16"})]),u("span",{class:"is-size-7",textContent:v(e.$t("dialog.queue-item.remove"))},null,8,wE)]),u("a",{class:"card-footer-item has-text-dark",onClick:t[7]||(t[7]=(...a)=>o.play&&o.play(...a))},[u("span",CE,[C(i,{name:"play",size:"16"})]),u("span",{class:"is-size-7",textContent:v(e.$t("dialog.queue-item.play"))},null,8,zE)])])])]),u("button",{class:"modal-close is-large","aria-label":"close",onClick:t[8]||(t[8]=a=>e.$emit("close"))})])):Q("",!0)]),_:1})])}const yv=ve($S,[["render",xE]]),kE={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:function(){this.loading=!0,Z.queue_add(this.url).then(()=>{this.$emit("close"),this.url=""}).catch(()=>{this.loading=!1})},play:function(){this.loading=!0,Z.player_play_uri(this.url,!1).then(()=>{this.$emit("close"),this.url=""}).catch(()=>{this.loading=!1})}}},SE={key:0,class:"modal is-active"},EE={class:"modal-content fd-modal-card"},$E={class:"card"},AE={class:"card-content"},TE=["textContent"],OE={class:"field"},PE={class:"control is-expanded has-icons-left"},DE=["placeholder","disabled"],FE={class:"icon is-left"},IE={key:0,class:"card-footer"},LE={class:"card-footer-item has-text-dark"},ME={class:"icon"},RE=["textContent"],NE={key:1,class:"card-footer"},jE={class:"icon"},VE=["textContent"],BE={class:"icon"},HE=["textContent"],UE={class:"icon"},qE=["textContent"];function WE(e,t,n,r,s,o){const i=O("mdicon");return E(),D("div",null,[C(qt,{name:"fade"},{default:P(()=>[n.show?(E(),D("div",SE,[u("div",{class:"modal-background",onClick:t[0]||(t[0]=a=>e.$emit("close"))}),u("div",EE,[u("div",$E,[u("div",AE,[u("p",{class:"title is-4",textContent:v(e.$t("dialog.add.stream.title"))},null,8,TE),u("form",{class:"fd-has-margin-bottom",onSubmit:t[2]||(t[2]=ht((...a)=>o.play&&o.play(...a),["prevent"]))},[u("div",OE,[u("p",PE,[xt(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,DE),[[xn,s.url]]),u("span",FE,[C(i,{name:"web",size:"16"})])])])],32)]),s.loading?(E(),D("footer",IE,[u("a",LE,[u("span",ME,[C(i,{name:"web",size:"16"})]),u("span",{class:"is-size-7",textContent:v(e.$t("dialog.add.stream.loading"))},null,8,RE)])])):(E(),D("footer",NE,[u("a",{class:"card-footer-item has-text-danger",onClick:t[3]||(t[3]=a=>e.$emit("close"))},[u("span",jE,[C(i,{name:"cancel",size:"16"})]),u("span",{class:"is-size-7",textContent:v(e.$t("dialog.add.stream.cancel"))},null,8,VE)]),u("a",{class:"card-footer-item has-text-dark",onClick:t[4]||(t[4]=(...a)=>o.add_stream&&o.add_stream(...a))},[u("span",BE,[C(i,{name:"playlist-plus",size:"16"})]),u("span",{class:"is-size-7",textContent:v(e.$t("dialog.add.stream.add"))},null,8,HE)]),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))},[u("span",UE,[C(i,{name:"play",size:"16"})]),u("span",{class:"is-size-7",textContent:v(e.$t("dialog.add.stream.play"))},null,8,qE)])]))])]),u("button",{class:"modal-close is-large","aria-label":"close",onClick:t[6]||(t[6]=a=>e.$emit("close"))})])):Q("",!0)]),_:1})])}const GE=ve(kE,[["render",WE]]),KE={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:function(){this.playlist_name.length<1||(this.loading=!0,Z.queue_save_playlist(this.playlist_name).then(()=>{this.$emit("close"),this.playlist_name=""}).catch(()=>{this.loading=!1}))}}},ZE={key:0,class:"modal is-active"},YE={class:"modal-content fd-modal-card"},JE={class:"card"},XE={class:"card-content"},QE=["textContent"],e$={class:"field"},t$={class:"control is-expanded has-icons-left"},n$=["disabled"],r$={class:"icon is-left"},s$={key:0,class:"card-footer"},o$={class:"card-footer-item has-text-dark"},i$={class:"icon"},a$=["textContent"],l$={key:1,class:"card-footer"},u$={class:"icon"},c$=["textContent"],d$={class:"icon"},m$=["textContent"];function f$(e,t,n,r,s,o){const i=O("mdicon");return E(),D("div",null,[C(qt,{name:"fade"},{default:P(()=>[n.show?(E(),D("div",ZE,[u("div",{class:"modal-background",onClick:t[0]||(t[0]=a=>e.$emit("close"))}),u("div",YE,[u("div",JE,[u("div",XE,[u("p",{class:"title is-4",textContent:v(e.$t("dialog.playlist.save.title"))},null,8,QE),u("form",{class:"fd-has-margin-bottom",onSubmit:t[2]||(t[2]=ht((...a)=>o.save&&o.save(...a),["prevent"]))},[u("div",e$,[u("p",t$,[xt(u("input",{ref:"playlist_name_field","onUpdate:modelValue":t[1]||(t[1]=a=>s.playlist_name=a),class:"input is-shadowless",type:"text",placeholder:"Playlist name",disabled:s.loading},null,8,n$),[[xn,s.playlist_name]]),u("span",r$,[C(i,{name:"file-music",size:"16"})])])])],32)]),s.loading?(E(),D("footer",s$,[u("a",o$,[u("span",i$,[C(i,{name:"web",size:"16"})]),u("span",{class:"is-size-7",textContent:v(e.$t("dialog.playlist.save.saving"))},null,8,a$)])])):(E(),D("footer",l$,[u("a",{class:"card-footer-item has-text-danger",onClick:t[3]||(t[3]=a=>e.$emit("close"))},[u("span",u$,[C(i,{name:"cancel",size:"16"})]),u("span",{class:"is-size-7",textContent:v(e.$t("dialog.playlist.save.cancel"))},null,8,c$)]),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))},[u("span",d$,[C(i,{name:"content-save",size:"16"})]),u("span",{class:"is-size-7",textContent:v(e.$t("dialog.playlist.save.save"))},null,8,m$)])]))])]),u("button",{class:"modal-close is-large","aria-label":"close",onClick:t[5]||(t[5]=a=>e.$emit("close"))})])):Q("",!0)]),_:1})])}const p$=ve(KE,[["render",f$]]);var hd={},h$={get exports(){return hd},set exports(e){hd=e}};const Nm=tv(dz);/**!
|
||
* Sortable 1.14.0
|
||
* @author RubaXa <trash@rubaxa.org>
|
||
* @author owenm <owen23355@gmail.com>
|
||
* @license MIT
|
||
*/function bh(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 _r(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?bh(Object(n),!0).forEach(function(r){_$(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):bh(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function al(e){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?al=function(t){return typeof t}:al=function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},al(e)}function _$(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function qn(){return qn=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},qn.apply(this,arguments)}function g$(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 y$(e,t){if(e==null)return{};var n=g$(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 v$(e){return b$(e)||w$(e)||C$(e)||z$()}function b$(e){if(Array.isArray(e))return _d(e)}function w$(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function C$(e,t){if(e){if(typeof e=="string")return _d(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 _d(e,t)}}function _d(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 z$(){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 x$="1.14.0";function kr(e){if(typeof window<"u"&&window.navigator)return!!navigator.userAgent.match(e)}var Or=kr(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i),qi=kr(/Edge/i),wh=kr(/firefox/i),hi=kr(/safari/i)&&!kr(/chrome/i)&&!kr(/android/i),vv=kr(/iP(ad|od|hone)/i),k$=kr(/chrome/i)&&kr(/android/i),bv={capture:!1,passive:!1};function at(e,t,n){e.addEventListener(t,n,!Or&&bv)}function st(e,t,n){e.removeEventListener(t,n,!Or&&bv)}function Tl(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 S$(e){return e.host&&e!==document&&e.host.nodeType?e.host:e.parentNode}function Qn(e,t,n,r){if(e){n=n||document;do{if(t!=null&&(t[0]===">"?e.parentNode===n&&Tl(e,t):Tl(e,t))||r&&e===n)return e;if(e===n)break}while(e=S$(e))}return null}var Ch=/\s+/g;function Et(e,t,n){if(e&&t)if(e.classList)e.classList[n?"add":"remove"](t);else{var r=(" "+e.className+" ").replace(Ch," ").replace(" "+t+" "," ");e.className=(r+(n?" "+t:"")).replace(Ch," ")}}function Be(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 zs(e,t){var n="";if(typeof e=="string")n=e;else do{var r=Be(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 wv(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 pr(){var e=document.scrollingElement;return e||document.documentElement}function St(e,t,n,r,s){if(!(!e.getBoundingClientRect&&e!==window)){var o,i,a,l,c,m,f;if(e!==window&&e.parentNode&&e!==pr()?(o=e.getBoundingClientRect(),i=o.top,a=o.left,l=o.bottom,c=o.right,m=o.height,f=o.width):(i=0,a=0,l=window.innerHeight,c=window.innerWidth,m=window.innerHeight,f=window.innerWidth),(t||n)&&e!==window&&(s=s||e.parentNode,!Or))do if(s&&s.getBoundingClientRect&&(Be(s,"transform")!=="none"||n&&Be(s,"position")!=="static")){var d=s.getBoundingClientRect();i-=d.top+parseInt(Be(s,"border-top-width")),a-=d.left+parseInt(Be(s,"border-left-width")),l=i+o.height,c=a+o.width;break}while(s=s.parentNode);if(r&&e!==window){var p=zs(s||e),h=p&&p.a,_=p&&p.d;p&&(i/=_,a/=h,f/=h,m/=_,l=i+m,c=a+f)}return{top:i,left:a,bottom:l,right:c,width:f,height:m}}}function zh(e,t,n){for(var r=Kr(e,!0),s=St(e)[t];r;){var o=St(r)[n],i=void 0;if(n==="top"||n==="left"?i=s>=o:i=s<=o,!i)return r;if(r===pr())break;r=Kr(r,!1)}return!1}function zo(e,t,n,r){for(var s=0,o=0,i=e.children;o<i.length;){if(i[o].style.display!=="none"&&i[o]!==Xe.ghost&&(r||i[o]!==Xe.dragged)&&Qn(i[o],n.draggable,e,!1)){if(s===t)return i[o];s++}o++}return null}function jm(e,t){for(var n=e.lastElementChild;n&&(n===Xe.ghost||Be(n,"display")==="none"||t&&!Tl(n,t));)n=n.previousElementSibling;return n||null}function Lt(e,t){var n=0;if(!e||!e.parentNode)return-1;for(;e=e.previousElementSibling;)e.nodeName.toUpperCase()!=="TEMPLATE"&&e!==Xe.clone&&(!t||Tl(e,t))&&n++;return n}function xh(e){var t=0,n=0,r=pr();if(e)do{var s=zs(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 E$(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 Kr(e,t){if(!e||!e.getBoundingClientRect)return pr();var n=e,r=!1;do if(n.clientWidth<n.scrollWidth||n.clientHeight<n.scrollHeight){var s=Be(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 pr();if(r||t)return n;r=!0}}while(n=n.parentNode);return pr()}function $$(e,t){if(e&&t)for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e}function lc(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 _i;function Cv(e,t){return function(){if(!_i){var n=arguments,r=this;n.length===1?e.call(r,n[0]):e.apply(r,n),_i=setTimeout(function(){_i=void 0},t)}}}function A$(){clearTimeout(_i),_i=void 0}function zv(e,t,n){e.scrollLeft+=t,e.scrollTop+=n}function Vm(e){var t=window.Polymer,n=window.jQuery||window.Zepto;return t&&t.dom?t.dom(e).cloneNode(!0):n?n(e).clone(!0)[0]:e.cloneNode(!0)}function kh(e,t){Be(e,"position","absolute"),Be(e,"top",t.top),Be(e,"left",t.left),Be(e,"width",t.width),Be(e,"height",t.height)}function uc(e){Be(e,"position",""),Be(e,"top",""),Be(e,"left",""),Be(e,"width",""),Be(e,"height","")}var nn="Sortable"+new Date().getTime();function T$(){var e=[],t;return{captureAnimationState:function(){if(e=[],!!this.options.animation){var r=[].slice.call(this.el.children);r.forEach(function(s){if(!(Be(s,"display")==="none"||s===Xe.ghost)){e.push({target:s,rect:St(s)});var o=_r({},e[e.length-1].rect);if(s.thisAnimationDuration){var i=zs(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(E$(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,m=c.fromRect,f=St(c),d=c.prevFromRect,p=c.prevToRect,h=a.rect,_=zs(c,!0);_&&(f.top-=_.f,f.left-=_.e),c.toRect=f,c.thisAnimationDuration&&lc(d,f)&&!lc(m,f)&&(h.top-f.top)/(h.left-f.left)===(m.top-f.top)/(m.left-f.left)&&(l=P$(h,d,p,s.options)),lc(f,m)||(c.prevFromRect=m,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){Be(r,"transition",""),Be(r,"transform","");var a=zs(this.el),l=a&&a.a,c=a&&a.d,m=(s.left-o.left)/(l||1),f=(s.top-o.top)/(c||1);r.animatingX=!!m,r.animatingY=!!f,Be(r,"transform","translate3d("+m+"px,"+f+"px,0)"),this.forRepaintDummy=O$(r),Be(r,"transition","transform "+i+"ms"+(this.options.easing?" "+this.options.easing:"")),Be(r,"transform","translate3d(0,0,0)"),typeof r.animated=="number"&&clearTimeout(r.animated),r.animated=setTimeout(function(){Be(r,"transition",""),Be(r,"transform",""),r.animated=!1,r.animatingX=!1,r.animatingY=!1},i)}}}}function O$(e){return e.offsetWidth}function P$(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 Us=[],cc={initializeByDefault:!0},Wi={mount:function(t){for(var n in cc)cc.hasOwnProperty(n)&&!(n in t)&&(t[n]=cc[n]);Us.forEach(function(r){if(r.pluginName===t.pluginName)throw"Sortable: Cannot mount plugin ".concat(t.pluginName," more than once")}),Us.push(t)},pluginEvent:function(t,n,r){var s=this;this.eventCanceled=!1,r.cancel=function(){s.eventCanceled=!0};var o=t+"Global";Us.forEach(function(i){n[i.pluginName]&&(n[i.pluginName][o]&&n[i.pluginName][o](_r({sortable:n},r)),n.options[i.pluginName]&&n[i.pluginName][t]&&n[i.pluginName][t](_r({sortable:n},r)))})},initializePlugins:function(t,n,r,s){Us.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,qn(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 Us.forEach(function(s){typeof s.eventProperties=="function"&&qn(r,s.eventProperties.call(n[s.pluginName],t))}),r},modifyOption:function(t,n,r){var s;return Us.forEach(function(o){t[o.pluginName]&&o.optionListeners&&typeof o.optionListeners[n]=="function"&&(s=o.optionListeners[n].call(t[o.pluginName],r))}),s}};function Jo(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,m=e.oldDraggableIndex,f=e.newDraggableIndex,d=e.originalEvent,p=e.putSortable,h=e.extraEventProperties;if(t=t||n&&n[nn],!!t){var _,g=t.options,b="on"+r.charAt(0).toUpperCase()+r.substr(1);window.CustomEvent&&!Or&&!qi?_=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=m,_.newDraggableIndex=f,_.originalEvent=d,_.pullMode=p?p.lastPutMode:void 0;var w=_r(_r({},h),Wi.getEventProperties(r,t));for(var x in w)_[x]=w[x];n&&n.dispatchEvent(_),g[b]&&g[b].call(t,_)}}var D$=["evt"],gn=function(t,n){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},s=r.evt,o=y$(r,D$);Wi.pluginEvent.bind(Xe)(t,n,_r({dragEl:ke,parentEl:Pt,ghostEl:rt,rootEl:kt,nextEl:hs,lastDownEl:ll,cloneEl:Dt,cloneHidden:Wr,dragStarted:Xo,putSortable:Jt,activeSortable:Xe.active,originalEvent:s,oldIndex:ro,oldDraggableIndex:gi,newIndex:An,newDraggableIndex:Ur,hideGhostForTarget:Ev,unhideGhostForTarget:$v,cloneNowHidden:function(){Wr=!0},cloneNowShown:function(){Wr=!1},dispatchSortableEvent:function(a){cn({sortable:n,name:a,originalEvent:s})}},o))};function cn(e){Jo(_r({putSortable:Jt,cloneEl:Dt,targetEl:ke,rootEl:kt,oldIndex:ro,oldDraggableIndex:gi,newIndex:An,newDraggableIndex:Ur},e))}var ke,Pt,rt,kt,hs,ll,Dt,Wr,ro,An,gi,Ur,ha,Jt,eo=!1,Ol=!1,Pl=[],cs,Zn,dc,mc,Sh,Eh,Xo,qs,yi,vi=!1,_a=!1,ul,tn,fc=[],gd=!1,Dl=[],_u=typeof document<"u",ga=vv,$h=qi||Or?"cssFloat":"float",F$=_u&&!k$&&!vv&&"draggable"in document.createElement("div"),xv=function(){if(_u){if(Or)return!1;var e=document.createElement("x");return e.style.cssText="pointer-events:auto",e.style.pointerEvents==="auto"}}(),kv=function(t,n){var r=Be(t),s=parseInt(r.width)-parseInt(r.paddingLeft)-parseInt(r.paddingRight)-parseInt(r.borderLeftWidth)-parseInt(r.borderRightWidth),o=zo(t,0,n),i=zo(t,1,n),a=o&&Be(o),l=i&&Be(i),c=a&&parseInt(a.marginLeft)+parseInt(a.marginRight)+St(o).width,m=l&&parseInt(l.marginLeft)+parseInt(l.marginRight)+St(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[$h]==="none"||i&&r[$h]==="none"&&c+m>s)?"vertical":"horizontal"},I$=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},L$=function(t,n){var r;return Pl.some(function(s){var o=s[nn].options.emptyInsertThreshold;if(!(!o||jm(s))){var i=St(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},Sv=function(t){function n(o,i){return function(a,l,c,m){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,m),i)(a,l,c,m);var d=(i?a:l).options.group.name;return o===!0||typeof o=="string"&&o===d||o.join&&o.indexOf(d)>-1}}var r={},s=t.group;(!s||al(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},Ev=function(){!xv&&rt&&Be(rt,"display","none")},$v=function(){!xv&&rt&&Be(rt,"display","")};_u&&document.addEventListener("click",function(e){if(Ol)return e.preventDefault(),e.stopPropagation&&e.stopPropagation(),e.stopImmediatePropagation&&e.stopImmediatePropagation(),Ol=!1,!1},!0);var ds=function(t){if(ke){t=t.touches?t.touches[0]:t;var n=L$(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[nn]._onDragOver(r)}}},M$=function(t){ke&&ke.parentNode[nn]._isOutsideThisEl(t.target)};function Xe(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=qn({},t),e[nn]=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 kv(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:Xe.supportPointer!==!1&&"PointerEvent"in window&&!hi,emptyInsertThreshold:5};Wi.initializePlugins(this,e,n);for(var r in n)!(r in t)&&(t[r]=n[r]);Sv(t);for(var s in this)s.charAt(0)==="_"&&typeof this[s]=="function"&&(this[s]=this[s].bind(this));this.nativeDraggable=t.forceFallback?!1:F$,this.nativeDraggable&&(this.options.touchStartThreshold=1),t.supportPointer?at(e,"pointerdown",this._onTapStart):(at(e,"mousedown",this._onTapStart),at(e,"touchstart",this._onTapStart)),this.nativeDraggable&&(at(e,"dragover",this),at(e,"dragenter",this)),Pl.push(this.el),t.store&&t.store.get&&this.sort(t.store.get(this)||[]),qn(this,T$())}Xe.prototype={constructor:Xe,_isOutsideThisEl:function(t){!this.el.contains(t)&&t!==this.el&&(qs=null)},_getDirection:function(t,n){return typeof this.options.direction=="function"?this.options.direction.call(this,t,n,ke):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,m=s.filter;if(q$(r),!ke&&!(/mousedown|pointerdown/.test(i)&&t.button!==0||s.disabled)&&!c.isContentEditable&&!(!this.nativeDraggable&&hi&&l&&l.tagName.toUpperCase()==="SELECT")&&(l=Qn(l,s.draggable,r,!1),!(l&&l.animated)&&ll!==l)){if(ro=Lt(l),gi=Lt(l,s.draggable),typeof m=="function"){if(m.call(this,t,l,this)){cn({sortable:n,rootEl:c,name:"filter",targetEl:l,toEl:r,fromEl:r}),gn("filter",n,{evt:t}),o&&t.cancelable&&t.preventDefault();return}}else if(m&&(m=m.split(",").some(function(f){if(f=Qn(c,f.trim(),r,!1),f)return cn({sortable:n,rootEl:f,name:"filter",targetEl:l,fromEl:r,toEl:r}),gn("filter",n,{evt:t}),!0}),m)){o&&t.cancelable&&t.preventDefault();return}s.handle&&!Qn(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&&!ke&&r.parentNode===o){var c=St(r);if(kt=o,ke=r,Pt=ke.parentNode,hs=ke.nextSibling,ll=r,ha=i.group,Xe.dragged=ke,cs={target:ke,clientX:(n||t).clientX,clientY:(n||t).clientY},Sh=cs.clientX-c.left,Eh=cs.clientY-c.top,this._lastX=(n||t).clientX,this._lastY=(n||t).clientY,ke.style["will-change"]="all",l=function(){if(gn("delayEnded",s,{evt:t}),Xe.eventCanceled){s._onDrop();return}s._disableDelayedDragEvents(),!wh&&s.nativeDraggable&&(ke.draggable=!0),s._triggerDragStart(t,n),cn({sortable:s,name:"choose",originalEvent:t}),Et(ke,i.chosenClass,!0)},i.ignore.split(",").forEach(function(m){wv(ke,m.trim(),pc)}),at(a,"dragover",ds),at(a,"mousemove",ds),at(a,"touchmove",ds),at(a,"mouseup",s._onDrop),at(a,"touchend",s._onDrop),at(a,"touchcancel",s._onDrop),wh&&this.nativeDraggable&&(this.options.touchStartThreshold=4,ke.draggable=!0),gn("delayStart",this,{evt:t}),i.delay&&(!i.delayOnTouchOnly||n)&&(!this.nativeDraggable||!(qi||Or))){if(Xe.eventCanceled){this._onDrop();return}at(a,"mouseup",s._disableDelayedDrag),at(a,"touchend",s._disableDelayedDrag),at(a,"touchcancel",s._disableDelayedDrag),at(a,"mousemove",s._delayedDragTouchMoveHandler),at(a,"touchmove",s._delayedDragTouchMoveHandler),i.supportPointer&&at(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(){ke&&pc(ke),clearTimeout(this._dragStartTimer),this._disableDelayedDragEvents()},_disableDelayedDragEvents:function(){var t=this.el.ownerDocument;st(t,"mouseup",this._disableDelayedDrag),st(t,"touchend",this._disableDelayedDrag),st(t,"touchcancel",this._disableDelayedDrag),st(t,"mousemove",this._delayedDragTouchMoveHandler),st(t,"touchmove",this._delayedDragTouchMoveHandler),st(t,"pointermove",this._delayedDragTouchMoveHandler)},_triggerDragStart:function(t,n){n=n||t.pointerType=="touch"&&t,!this.nativeDraggable||n?this.options.supportPointer?at(document,"pointermove",this._onTouchMove):n?at(document,"touchmove",this._onTouchMove):at(document,"mousemove",this._onTouchMove):(at(ke,"dragend",this),at(kt,"dragstart",this._onDragStart));try{document.selection?cl(function(){document.selection.empty()}):window.getSelection().removeAllRanges()}catch{}},_dragStarted:function(t,n){if(eo=!1,kt&&ke){gn("dragStarted",this,{evt:n}),this.nativeDraggable&&at(document,"dragover",M$);var r=this.options;!t&&Et(ke,r.dragClass,!1),Et(ke,r.ghostClass,!0),Xe.active=this,t&&this._appendGhost(),cn({sortable:this,name:"start",originalEvent:n})}else this._nulling()},_emulateDragOver:function(){if(Zn){this._lastX=Zn.clientX,this._lastY=Zn.clientY,Ev();for(var t=document.elementFromPoint(Zn.clientX,Zn.clientY),n=t;t&&t.shadowRoot&&(t=t.shadowRoot.elementFromPoint(Zn.clientX,Zn.clientY),t!==n);)n=t;if(ke.parentNode[nn]._isOutsideThisEl(t),n)do{if(n[nn]){var r=void 0;if(r=n[nn]._onDragOver({clientX:Zn.clientX,clientY:Zn.clientY,target:t,rootEl:n}),r&&!this.options.dragoverBubble)break}t=n}while(n=n.parentNode);$v()}},_onTouchMove:function(t){if(cs){var n=this.options,r=n.fallbackTolerance,s=n.fallbackOffset,o=t.touches?t.touches[0]:t,i=rt&&zs(rt,!0),a=rt&&i&&i.a,l=rt&&i&&i.d,c=ga&&tn&&xh(tn),m=(o.clientX-cs.clientX+s.x)/(a||1)+(c?c[0]-fc[0]:0)/(a||1),f=(o.clientY-cs.clientY+s.y)/(l||1)+(c?c[1]-fc[1]:0)/(l||1);if(!Xe.active&&!eo){if(r&&Math.max(Math.abs(o.clientX-this._lastX),Math.abs(o.clientY-this._lastY))<r)return;this._onDragStart(t,!0)}if(rt){i?(i.e+=m-(dc||0),i.f+=f-(mc||0)):i={a:1,b:0,c:0,d:1,e:m,f};var d="matrix(".concat(i.a,",").concat(i.b,",").concat(i.c,",").concat(i.d,",").concat(i.e,",").concat(i.f,")");Be(rt,"webkitTransform",d),Be(rt,"mozTransform",d),Be(rt,"msTransform",d),Be(rt,"transform",d),dc=m,mc=f,Zn=o}t.cancelable&&t.preventDefault()}},_appendGhost:function(){if(!rt){var t=this.options.fallbackOnBody?document.body:kt,n=St(ke,!0,ga,!0,t),r=this.options;if(ga){for(tn=t;Be(tn,"position")==="static"&&Be(tn,"transform")==="none"&&tn!==document;)tn=tn.parentNode;tn!==document.body&&tn!==document.documentElement?(tn===document&&(tn=pr()),n.top+=tn.scrollTop,n.left+=tn.scrollLeft):tn=pr(),fc=xh(tn)}rt=ke.cloneNode(!0),Et(rt,r.ghostClass,!1),Et(rt,r.fallbackClass,!0),Et(rt,r.dragClass,!0),Be(rt,"transition",""),Be(rt,"transform",""),Be(rt,"box-sizing","border-box"),Be(rt,"margin",0),Be(rt,"top",n.top),Be(rt,"left",n.left),Be(rt,"width",n.width),Be(rt,"height",n.height),Be(rt,"opacity","0.8"),Be(rt,"position",ga?"absolute":"fixed"),Be(rt,"zIndex","100000"),Be(rt,"pointerEvents","none"),Xe.ghost=rt,t.appendChild(rt),Be(rt,"transform-origin",Sh/parseInt(rt.style.width)*100+"% "+Eh/parseInt(rt.style.height)*100+"%")}},_onDragStart:function(t,n){var r=this,s=t.dataTransfer,o=r.options;if(gn("dragStart",this,{evt:t}),Xe.eventCanceled){this._onDrop();return}gn("setupClone",this),Xe.eventCanceled||(Dt=Vm(ke),Dt.draggable=!1,Dt.style["will-change"]="",this._hideClone(),Et(Dt,this.options.chosenClass,!1),Xe.clone=Dt),r.cloneId=cl(function(){gn("clone",r),!Xe.eventCanceled&&(r.options.removeCloneOnHide||kt.insertBefore(Dt,ke),r._hideClone(),cn({sortable:r,name:"clone"}))}),!n&&Et(ke,o.dragClass,!0),n?(Ol=!0,r._loopId=setInterval(r._emulateDragOver,50)):(st(document,"mouseup",r._onDrop),st(document,"touchend",r._onDrop),st(document,"touchcancel",r._onDrop),s&&(s.effectAllowed="move",o.setData&&o.setData.call(r,s,ke)),at(document,"drop",r),Be(ke,"transform","translateZ(0)")),eo=!0,r._dragStartId=cl(r._dragStarted.bind(r,n,t)),at(document,"selectstart",r),Xo=!0,hi&&Be(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=Xe.active,m=ha===l,f=a.sort,d=Jt||c,p,h=this,_=!1;if(gd)return;function g(ge,Me){gn(ge,h,_r({evt:t,isOwner:m,axis:p?"vertical":"horizontal",revert:i,dragRect:s,targetRect:o,canSort:f,fromSortable:d,target:r,completed:w,onMove:function(he,X){return ya(kt,n,ke,s,he,St(he),t,X)},changed:x},Me))}function b(){g("dragOverAnimationCapture"),h.captureAnimationState(),h!==d&&d.captureAnimationState()}function w(ge){return g("dragOverCompleted",{insertion:ge}),ge&&(m?c._hideClone():c._showClone(h),h!==d&&(Et(ke,Jt?Jt.options.ghostClass:c.options.ghostClass,!1),Et(ke,a.ghostClass,!0)),Jt!==h&&h!==Xe.active?Jt=h:h===Xe.active&&Jt&&(Jt=null),d===h&&(h._ignoreWhileAnimating=r),h.animateAll(function(){g("dragOverAnimationComplete"),h._ignoreWhileAnimating=null}),h!==d&&(d.animateAll(),d._ignoreWhileAnimating=null)),(r===ke&&!ke.animated||r===n&&!r.animated)&&(qs=null),!a.dragoverBubble&&!t.rootEl&&r!==document&&(ke.parentNode[nn]._isOutsideThisEl(t.target),!ge&&ds(t)),!a.dragoverBubble&&t.stopPropagation&&t.stopPropagation(),_=!0}function x(){An=Lt(ke),Ur=Lt(ke,a.draggable),cn({sortable:h,name:"change",toEl:n,newIndex:An,newDraggableIndex:Ur,originalEvent:t})}if(t.preventDefault!==void 0&&t.cancelable&&t.preventDefault(),r=Qn(r,a.draggable,n,!0),g("dragOver"),Xe.eventCanceled)return _;if(ke.contains(t.target)||r.animated&&r.animatingX&&r.animatingY||h._ignoreWhileAnimating===r)return w(!1);if(Ol=!1,c&&!a.disabled&&(m?f||(i=Pt!==kt):Jt===this||(this.lastPutMode=ha.checkPull(this,c,ke,t))&&l.checkPut(this,c,ke,t))){if(p=this._getDirection(t,r)==="vertical",s=St(ke),g("dragOverValid"),Xe.eventCanceled)return _;if(i)return Pt=kt,b(),this._hideClone(),g("revert"),Xe.eventCanceled||(hs?kt.insertBefore(ke,hs):kt.appendChild(ke)),w(!0);var z=jm(n,a.draggable);if(!z||V$(t,p,this)&&!z.animated){if(z===ke)return w(!1);if(z&&n===t.target&&(r=z),r&&(o=St(r)),ya(kt,n,ke,s,r,o,t,!!r)!==!1)return b(),n.appendChild(ke),Pt=n,x(),w(!0)}else if(z&&j$(t,p,this)){var S=zo(n,0,a,!0);if(S===ke)return w(!1);if(r=S,o=St(r),ya(kt,n,ke,s,r,o,t,!1)!==!1)return b(),n.insertBefore(ke,S),Pt=n,x(),w(!0)}else if(r.parentNode===n){o=St(r);var T=0,j,F=ke.parentNode!==n,A=!I$(ke.animated&&ke.toRect||s,r.animated&&r.toRect||o,p),M=p?"top":"left",W=zh(r,"top","top")||zh(ke,"top","top"),I=W?W.scrollTop:void 0;qs!==r&&(j=o[M],vi=!1,_a=!A&&a.invertSwap||F),T=B$(t,r,o,p,A?1:a.swapThreshold,a.invertedSwapThreshold==null?a.swapThreshold:a.invertedSwapThreshold,_a,qs===r);var H;if(T!==0){var B=Lt(ke);do B-=T,H=Pt.children[B];while(H&&(Be(H,"display")==="none"||H===rt))}if(T===0||H===r)return w(!1);qs=r,yi=T;var oe=r.nextElementSibling,J=!1;J=T===1;var ue=ya(kt,n,ke,s,r,o,t,J);if(ue!==!1)return(ue===1||ue===-1)&&(J=ue===1),gd=!0,setTimeout(N$,30),b(),J&&!oe?n.appendChild(ke):r.parentNode.insertBefore(ke,J?oe:r),W&&zv(W,0,I-W.scrollTop),Pt=ke.parentNode,j!==void 0&&!_a&&(ul=Math.abs(j-St(r)[M])),x(),w(!0)}if(n.contains(ke))return w(!1)}return!1},_ignoreWhileAnimating:null,_offMoveEvents:function(){st(document,"mousemove",this._onTouchMove),st(document,"touchmove",this._onTouchMove),st(document,"pointermove",this._onTouchMove),st(document,"dragover",ds),st(document,"mousemove",ds),st(document,"touchmove",ds)},_offUpEvents:function(){var t=this.el.ownerDocument;st(t,"mouseup",this._onDrop),st(t,"touchend",this._onDrop),st(t,"pointerup",this._onDrop),st(t,"touchcancel",this._onDrop),st(document,"selectstart",this)},_onDrop:function(t){var n=this.el,r=this.options;if(An=Lt(ke),Ur=Lt(ke,r.draggable),gn("drop",this,{evt:t}),Pt=ke&&ke.parentNode,An=Lt(ke),Ur=Lt(ke,r.draggable),Xe.eventCanceled){this._nulling();return}eo=!1,_a=!1,vi=!1,clearInterval(this._loopId),clearTimeout(this._dragStartTimer),yd(this.cloneId),yd(this._dragStartId),this.nativeDraggable&&(st(document,"drop",this),st(n,"dragstart",this._onDragStart)),this._offMoveEvents(),this._offUpEvents(),hi&&Be(document.body,"user-select",""),Be(ke,"transform",""),t&&(Xo&&(t.cancelable&&t.preventDefault(),!r.dropBubble&&t.stopPropagation()),rt&&rt.parentNode&&rt.parentNode.removeChild(rt),(kt===Pt||Jt&&Jt.lastPutMode!=="clone")&&Dt&&Dt.parentNode&&Dt.parentNode.removeChild(Dt),ke&&(this.nativeDraggable&&st(ke,"dragend",this),pc(ke),ke.style["will-change"]="",Xo&&!eo&&Et(ke,Jt?Jt.options.ghostClass:this.options.ghostClass,!1),Et(ke,this.options.chosenClass,!1),cn({sortable:this,name:"unchoose",toEl:Pt,newIndex:null,newDraggableIndex:null,originalEvent:t}),kt!==Pt?(An>=0&&(cn({rootEl:Pt,name:"add",toEl:Pt,fromEl:kt,originalEvent:t}),cn({sortable:this,name:"remove",toEl:Pt,originalEvent:t}),cn({rootEl:Pt,name:"sort",toEl:Pt,fromEl:kt,originalEvent:t}),cn({sortable:this,name:"sort",toEl:Pt,originalEvent:t})),Jt&&Jt.save()):An!==ro&&An>=0&&(cn({sortable:this,name:"update",toEl:Pt,originalEvent:t}),cn({sortable:this,name:"sort",toEl:Pt,originalEvent:t})),Xe.active&&((An==null||An===-1)&&(An=ro,Ur=gi),cn({sortable:this,name:"end",toEl:Pt,originalEvent:t}),this.save()))),this._nulling()},_nulling:function(){gn("nulling",this),kt=ke=Pt=rt=hs=Dt=ll=Wr=cs=Zn=Xo=An=Ur=ro=gi=qs=yi=Jt=ha=Xe.dragged=Xe.ghost=Xe.clone=Xe.active=null,Dl.forEach(function(t){t.checked=!0}),Dl.length=dc=mc=0},handleEvent:function(t){switch(t.type){case"drop":case"dragend":this._onDrop(t);break;case"dragenter":case"dragover":ke&&(this._onDragOver(t),R$(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],Qn(n,i.draggable,this.el,!1)&&t.push(n.getAttribute(i.dataIdAttr)||U$(n));return t},sort:function(t,n){var r={},s=this.el;this.toArray().forEach(function(o,i){var a=s.children[i];Qn(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 Qn(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=Wi.modifyOption(this,t,n);typeof s<"u"?r[t]=s:r[t]=n,t==="group"&&Sv(r)},destroy:function(){gn("destroy",this);var t=this.el;t[nn]=null,st(t,"mousedown",this._onTapStart),st(t,"touchstart",this._onTapStart),st(t,"pointerdown",this._onTapStart),this.nativeDraggable&&(st(t,"dragover",this),st(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(!Wr){if(gn("hideClone",this),Xe.eventCanceled)return;Be(Dt,"display","none"),this.options.removeCloneOnHide&&Dt.parentNode&&Dt.parentNode.removeChild(Dt),Wr=!0}},_showClone:function(t){if(t.lastPutMode!=="clone"){this._hideClone();return}if(Wr){if(gn("showClone",this),Xe.eventCanceled)return;ke.parentNode==kt&&!this.options.group.revertClone?kt.insertBefore(Dt,ke):hs?kt.insertBefore(Dt,hs):kt.appendChild(Dt),this.options.group.revertClone&&this.animate(ke,Dt),Be(Dt,"display",""),Wr=!1}}};function R$(e){e.dataTransfer&&(e.dataTransfer.dropEffect="move"),e.cancelable&&e.preventDefault()}function ya(e,t,n,r,s,o,i,a){var l,c=e[nn],m=c.options.onMove,f;return window.CustomEvent&&!Or&&!qi?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||St(t),l.willInsertAfter=a,l.originalEvent=i,e.dispatchEvent(l),m&&(f=m.call(c,l,i)),f}function pc(e){e.draggable=!1}function N$(){gd=!1}function j$(e,t,n){var r=St(zo(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 V$(e,t,n){var r=St(jm(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 B$(e,t,n,r,s,o,i,a){var l=r?e.clientY:e.clientX,c=r?n.height:n.width,m=r?n.top:n.left,f=r?n.bottom:n.right,d=!1;if(!i){if(a&&ul<c*s){if(!vi&&(yi===1?l>m+c*o/2:l<f-c*o/2)&&(vi=!0),vi)d=!0;else if(yi===1?l<m+ul:l>f-ul)return-yi}else if(l>m+c*(1-s)/2&&l<f-c*(1-s)/2)return H$(t)}return d=d||i,d&&(l<m+c*o/2||l>f-c*o/2)?l>m+c/2?1:-1:0}function H$(e){return Lt(ke)<Lt(e)?1:-1}function U$(e){for(var t=e.tagName+e.className+e.src+e.href+e.textContent,n=t.length,r=0;n--;)r+=t.charCodeAt(n);return r.toString(36)}function q$(e){Dl.length=0;for(var t=e.getElementsByTagName("input"),n=t.length;n--;){var r=t[n];r.checked&&Dl.push(r)}}function cl(e){return setTimeout(e,0)}function yd(e){return clearTimeout(e)}_u&&at(document,"touchmove",function(e){(Xe.active||eo)&&e.cancelable&&e.preventDefault()});Xe.utils={on:at,off:st,css:Be,find:wv,is:function(t,n){return!!Qn(t,n,t,!1)},extend:$$,throttle:Cv,closest:Qn,toggleClass:Et,clone:Vm,index:Lt,nextTick:cl,cancelNextTick:yd,detectDirection:kv,getChild:zo};Xe.get=function(e){return e[nn]};Xe.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&&(Xe.utils=_r(_r({},Xe.utils),r.utils)),Wi.mount(r)})};Xe.create=function(e,t){return new Xe(e,t)};Xe.version=x$;var Bt=[],Qo,vd,bd=!1,hc,_c,Fl,ei;function W$(){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?at(document,"dragover",this._handleAutoScroll):this.options.supportPointer?at(document,"pointermove",this._handleFallbackAutoScroll):r.touches?at(document,"touchmove",this._handleFallbackAutoScroll):at(document,"mousemove",this._handleFallbackAutoScroll)},dragOverCompleted:function(n){var r=n.originalEvent;!this.options.dragOverBubble&&!r.rootEl&&this._handleAutoScroll(r)},drop:function(){this.sortable.nativeDraggable?st(document,"dragover",this._handleAutoScroll):(st(document,"pointermove",this._handleFallbackAutoScroll),st(document,"touchmove",this._handleFallbackAutoScroll),st(document,"mousemove",this._handleFallbackAutoScroll)),Ah(),dl(),A$()},nulling:function(){Fl=vd=Qo=bd=ei=hc=_c=null,Bt.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(Fl=n,r||this.options.forceAutoScrollFallback||qi||Or||hi){gc(n,this.options,a,r);var l=Kr(a,!0);bd&&(!ei||o!==hc||i!==_c)&&(ei&&Ah(),ei=setInterval(function(){var c=Kr(document.elementFromPoint(o,i),!0);c!==l&&(l=c,dl()),gc(n,s.options,c,r)},10),hc=o,_c=i)}else{if(!this.options.bubbleScroll||Kr(a,!0)===pr()){dl();return}gc(n,this.options,Kr(a,!1),!1)}}},qn(e,{pluginName:"scroll",initializeByDefault:!0})}function dl(){Bt.forEach(function(e){clearInterval(e.pid)}),Bt=[]}function Ah(){clearInterval(ei)}var gc=Cv(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=pr(),c=!1,m;vd!==n&&(vd=n,dl(),Qo=t.scroll,m=t.scrollFn,Qo===!0&&(Qo=Kr(n,!0)));var f=0,d=Qo;do{var p=d,h=St(p),_=h.top,g=h.bottom,b=h.left,w=h.right,x=h.width,z=h.height,S=void 0,T=void 0,j=p.scrollWidth,F=p.scrollHeight,A=Be(p),M=p.scrollLeft,W=p.scrollTop;p===l?(S=x<j&&(A.overflowX==="auto"||A.overflowX==="scroll"||A.overflowX==="visible"),T=z<F&&(A.overflowY==="auto"||A.overflowY==="scroll"||A.overflowY==="visible")):(S=x<j&&(A.overflowX==="auto"||A.overflowX==="scroll"),T=z<F&&(A.overflowY==="auto"||A.overflowY==="scroll"));var I=S&&(Math.abs(w-s)<=i&&M+x<j)-(Math.abs(b-s)<=i&&!!M),H=T&&(Math.abs(g-o)<=i&&W+z<F)-(Math.abs(_-o)<=i&&!!W);if(!Bt[f])for(var B=0;B<=f;B++)Bt[B]||(Bt[B]={});(Bt[f].vx!=I||Bt[f].vy!=H||Bt[f].el!==p)&&(Bt[f].el=p,Bt[f].vx=I,Bt[f].vy=H,clearInterval(Bt[f].pid),(I!=0||H!=0)&&(c=!0,Bt[f].pid=setInterval(function(){r&&this.layer===0&&Xe.active._onTouchMove(Fl);var oe=Bt[this.layer].vy?Bt[this.layer].vy*a:0,J=Bt[this.layer].vx?Bt[this.layer].vx*a:0;typeof m=="function"&&m.call(Xe.dragged.parentNode[nn],J,oe,e,Fl,Bt[this.layer].el)!=="continue"||zv(Bt[this.layer].el,J,oe)}.bind({layer:f}),24))),f++}while(t.bubbleScroll&&d!==l&&(d=Kr(d,!1)));bd=c}},30),Av=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 m=n.changedTouches&&n.changedTouches.length?n.changedTouches[0]:n,f=document.elementFromPoint(m.clientX,m.clientY);l(),c&&!c.el.contains(f)&&(i("spill"),this.onSpill({dragEl:s,putSortable:r}))}};function Bm(){}Bm.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=zo(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:Av};qn(Bm,{pluginName:"revertOnSpill"});function Hm(){}Hm.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:Av};qn(Hm,{pluginName:"removeOnSpill"});var jn;function G$(){function e(){this.defaults={swapClass:"sortable-swap-highlight"}}return e.prototype={dragStart:function(n){var r=n.dragEl;jn=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,m=this.options;if(s&&s!==c){var f=jn;o(s)!==!1?(Et(s,m.swapClass,!0),jn=s):jn=null,f&&f!==jn&&Et(f,m.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;jn&&Et(jn,a.swapClass,!1),jn&&(a.swap||s&&s.options.swap)&&o!==jn&&(i.captureAnimationState(),i!==r&&r.captureAnimationState(),K$(o,jn),i.animateAll(),i!==r&&r.animateAll())},nulling:function(){jn=null}},qn(e,{pluginName:"swap",eventProperties:function(){return{swapItem:jn}}})}function K$(e,t){var n=e.parentNode,r=t.parentNode,s,o;!n||!r||n.isEqualNode(t)||r.isEqualNode(e)||(s=Lt(e),o=Lt(t),n.isEqualNode(r)&&s<o&&o++,n.insertBefore(t,n.children[s]),r.insertBefore(e,r.children[o]))}var nt=[],$n=[],No,Yn,jo=!1,yn=!1,Ws=!1,Ct,Vo,va;function Z$(){function e(t){for(var n in this)n.charAt(0)==="_"&&typeof this[n]=="function"&&(this[n]=this[n].bind(this));t.options.supportPointer?at(document,"pointerup",this._deselectMultiDrag):(at(document,"mouseup",this._deselectMultiDrag),at(document,"touchend",this._deselectMultiDrag)),at(document,"keydown",this._checkKeyDown),at(document,"keyup",this._checkKeyUp),this.defaults={selectedClass:"sortable-selected",multiDragKey:null,setData:function(s,o){var i="";nt.length&&Yn===t?nt.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;Ct=r},delayEnded:function(){this.isMultiDrag=~nt.indexOf(Ct)},setupClone:function(n){var r=n.sortable,s=n.cancel;if(this.isMultiDrag){for(var o=0;o<nt.length;o++)$n.push(Vm(nt[o])),$n[o].sortableIndex=nt[o].sortableIndex,$n[o].draggable=!1,$n[o].style["will-change"]="",Et($n[o],this.options.selectedClass,!1),nt[o]===Ct&&Et($n[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||nt.length&&Yn===r&&(Th(!0,s),o("clone"),i()))},showClone:function(n){var r=n.cloneNowShown,s=n.rootEl,o=n.cancel;this.isMultiDrag&&(Th(!1,s),$n.forEach(function(i){Be(i,"display","")}),r(),va=!1,o())},hideClone:function(n){var r=this;n.sortable;var s=n.cloneNowHidden,o=n.cancel;this.isMultiDrag&&($n.forEach(function(i){Be(i,"display","none"),r.options.removeCloneOnHide&&i.parentNode&&i.parentNode.removeChild(i)}),s(),va=!0,o())},dragStartGlobal:function(n){n.sortable,!this.isMultiDrag&&Yn&&Yn.multiDrag._deselectMultiDrag(),nt.forEach(function(r){r.sortableIndex=Lt(r)}),nt=nt.sort(function(r,s){return r.sortableIndex-s.sortableIndex}),Ws=!0},dragStarted:function(n){var r=this,s=n.sortable;if(this.isMultiDrag){if(this.options.sort&&(s.captureAnimationState(),this.options.animation)){nt.forEach(function(i){i!==Ct&&Be(i,"position","absolute")});var o=St(Ct,!1,!0,!0);nt.forEach(function(i){i!==Ct&&kh(i,o)}),yn=!0,jo=!0}s.animateAll(function(){yn=!1,jo=!1,r.options.animation&&nt.forEach(function(i){uc(i)}),r.options.sort&&ba()})}},dragOver:function(n){var r=n.target,s=n.completed,o=n.cancel;yn&&~nt.indexOf(r)&&(s(!1),o())},revert:function(n){var r=n.fromSortable,s=n.rootEl,o=n.sortable,i=n.dragRect;nt.length>1&&(nt.forEach(function(a){o.addAnimationState({target:a,rect:yn?St(a):i}),uc(a),a.fromRect=i,r.removeAnimationState(a)}),yn=!1,Y$(!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(),jo=!1,c.animation&&nt.length>1&&(yn||!s&&!i.options.sort&&!l)){var m=St(Ct,!1,!0,!0);nt.forEach(function(d){d!==Ct&&(kh(d,m),a.appendChild(d))}),yn=!0}if(!s)if(yn||ba(),nt.length>1){var f=va;i._showClone(r),i.options.animation&&!va&&f&&$n.forEach(function(d){i.addAnimationState({target:d,rect:Vo}),d.fromRect=Vo,d.thisAnimationDuration=null})}else i._showClone(r)}},dragOverAnimationCapture:function(n){var r=n.dragRect,s=n.isOwner,o=n.activeSortable;if(nt.forEach(function(a){a.thisAnimationDuration=null}),o.options.animation&&!s&&o.multiDrag.isMultiDrag){Vo=qn({},r);var i=zs(Ct,!0);Vo.top-=i.f,Vo.left-=i.e}},dragOverAnimationComplete:function(){yn&&(yn=!1,ba())},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,m=c||this.sortable;if(r){var f=this.options,d=o.children;if(!Ws)if(f.multiDragKey&&!this.multiDragKeyDown&&this._deselectMultiDrag(),Et(Ct,f.selectedClass,!~nt.indexOf(Ct)),~nt.indexOf(Ct))nt.splice(nt.indexOf(Ct),1),No=null,Jo({sortable:i,rootEl:s,name:"deselect",targetEl:Ct,originalEvt:r});else{if(nt.push(Ct),Jo({sortable:i,rootEl:s,name:"select",targetEl:Ct,originalEvt:r}),r.shiftKey&&No&&i.el.contains(No)){var p=Lt(No),h=Lt(Ct);if(~p&&~h&&p!==h){var _,g;for(h>p?(g=p,_=h):(g=h,_=p+1);g<_;g++)~nt.indexOf(d[g])||(Et(d[g],f.selectedClass,!0),nt.push(d[g]),Jo({sortable:i,rootEl:s,name:"select",targetEl:d[g],originalEvt:r}))}}else No=Ct;Yn=m}if(Ws&&this.isMultiDrag){if(yn=!1,(o[nn].options.sort||o!==s)&&nt.length>1){var b=St(Ct),w=Lt(Ct,":not(."+this.options.selectedClass+")");if(!jo&&f.animation&&(Ct.thisAnimationDuration=null),m.captureAnimationState(),!jo&&(f.animation&&(Ct.fromRect=b,nt.forEach(function(z){if(z.thisAnimationDuration=null,z!==Ct){var S=yn?St(z):b;z.fromRect=S,m.addAnimationState({target:z,rect:S})}})),ba(),nt.forEach(function(z){d[w]?o.insertBefore(z,d[w]):o.appendChild(z),w++}),l===Lt(Ct))){var x=!1;nt.forEach(function(z){if(z.sortableIndex!==Lt(z)){x=!0;return}}),x&&a("update")}nt.forEach(function(z){uc(z)}),m.animateAll()}Yn=m}(s===o||c&&c.lastPutMode!=="clone")&&$n.forEach(function(z){z.parentNode&&z.parentNode.removeChild(z)})}},nullingGlobal:function(){this.isMultiDrag=Ws=!1,$n.length=0},destroyGlobal:function(){this._deselectMultiDrag(),st(document,"pointerup",this._deselectMultiDrag),st(document,"mouseup",this._deselectMultiDrag),st(document,"touchend",this._deselectMultiDrag),st(document,"keydown",this._checkKeyDown),st(document,"keyup",this._checkKeyUp)},_deselectMultiDrag:function(n){if(!(typeof Ws<"u"&&Ws)&&Yn===this.sortable&&!(n&&Qn(n.target,this.options.draggable,this.sortable.el,!1))&&!(n&&n.button!==0))for(;nt.length;){var r=nt[0];Et(r,this.options.selectedClass,!1),nt.shift(),Jo({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)}},qn(e,{pluginName:"multiDrag",utils:{select:function(n){var r=n.parentNode[nn];!r||!r.options.multiDrag||~nt.indexOf(n)||(Yn&&Yn!==r&&(Yn.multiDrag._deselectMultiDrag(),Yn=r),Et(n,r.options.selectedClass,!0),nt.push(n))},deselect:function(n){var r=n.parentNode[nn],s=nt.indexOf(n);!r||!r.options.multiDrag||!~s||(Et(n,r.options.selectedClass,!1),nt.splice(s,1))}},eventProperties:function(){var n=this,r=[],s=[];return nt.forEach(function(o){r.push({multiDragElement:o,index:o.sortableIndex});var i;yn&&o!==Ct?i=-1:yn?i=Lt(o,":not(."+n.options.selectedClass+")"):i=Lt(o),s.push({multiDragElement:o,index:i})}),{items:v$(nt),clones:[].concat($n),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 Y$(e,t){nt.forEach(function(n,r){var s=t.children[n.sortableIndex+(e?Number(r):0)];s?t.insertBefore(n,s):t.appendChild(n)})}function Th(e,t){$n.forEach(function(n,r){var s=t.children[n.sortableIndex+(e?Number(r):0)];s?t.insertBefore(n,s):t.appendChild(n)})}function ba(){nt.forEach(function(e){e!==Ct&&e.parentNode&&e.parentNode.removeChild(e)})}Xe.mount(new W$);Xe.mount(Hm,Bm);const J$=Object.freeze(Object.defineProperty({__proto__:null,MultiDrag:Z$,Sortable:Xe,Swap:G$,default:Xe},Symbol.toStringTag,{value:"Module"})),X$=tv(J$);(function(e,t){(function(r,s){e.exports=s(Nm,X$)})(typeof self<"u"?self:on,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 m in a)i.d(c,m,function(f){return a[f]}.bind(null,m));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,m){if(a(l),c===void 0)return l;switch(m){case 0:return function(){return l.call(c)};case 1:return function(f){return l.call(c,f)};case 2:return function(f,d){return l.call(c,f,d)};case 3:return function(f,d,p){return l.call(c,f,d,p)}}return function(){return l.apply(c,arguments)}}},"057f":function(s,o,i){var a=i("fc6a"),l=i("241c").f,c={}.toString,m=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],f=function(d){try{return l(d)}catch{return m.slice()}};s.exports.f=function(p){return m&&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"),m=i("fc6a"),f=i("c04e"),d=i("5135"),p=i("0cfb"),h=Object.getOwnPropertyDescriptor;o.f=a?h:function(g,b){if(g=m(g),b=f(b,!0),p)try{return h(g,b)}catch{}if(d(g,b))return c(!l.f.call(g,b),g[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"),m=i("ae40"),f=c("reduce"),d=m("reduce",{1:0});a({target:"Array",proto:!0,forced:!f||!d},{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,m){var f=c.exec;if(typeof f=="function"){var d=f.call(c,m);if(typeof d!="object")throw TypeError("RegExp exec method returned something other than an Object or null");return d}if(a(c)!=="RegExp")throw TypeError("RegExp#exec called on incompatible receiver");return l.call(c,m)}},"159b":function(s,o,i){var a=i("da84"),l=i("fdbc"),c=i("17c2"),m=i("9112");for(var f in l){var d=a[f],p=d&&d.prototype;if(p&&p.forEach!==c)try{m(p,"forEach",c)}catch{p.forEach=c}}},"17c2":function(s,o,i){var a=i("b727").forEach,l=i("a640"),c=i("ae40"),m=l("forEach"),f=c("forEach");s.exports=!m||!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 m=0,f={next:function(){return{done:!!m++}},return:function(){c=!0}};f[l]=function(){return this},Array.from(f,function(){throw 2})}catch{}s.exports=function(d,p){if(!p&&!c)return!1;var h=!1;try{var _={};_[l]=function(){return{next:function(){return{done:h=!0}}}},d(_)}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"),m=l("species");s.exports=function(f){return c>=51||!a(function(){var d=[],p=d.constructor={};return p[m]=function(){return{foo:1}},d[f](Boolean).foo!==1})}},"23cb":function(s,o,i){var a=i("a691"),l=Math.max,c=Math.min;s.exports=function(m,f){var d=a(m);return d<0?l(d+f,0):c(d,f)}},"23e7":function(s,o,i){var a=i("da84"),l=i("06cf").f,c=i("9112"),m=i("6eeb"),f=i("ce4e"),d=i("e893"),p=i("94ca");s.exports=function(h,_){var g=h.target,b=h.global,w=h.stat,x,z,S,T,j,F;if(b?z=a:w?z=a[g]||f(g,{}):z=(a[g]||{}).prototype,z)for(S in _){if(j=_[S],h.noTargetGet?(F=l(z,S),T=F&&F.value):T=z[S],x=p(b?S:g+(w?".":"#")+S,h.forced),!x&&T!==void 0){if(typeof j==typeof T)continue;d(j,T)}(h.sham||T&&T.sham)&&c(j,"sham",!0),m(z,S,j,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"),m=i("ad6d"),f="toString",d=RegExp.prototype,p=d[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),w=String(b.source),x=b.flags,z=String(x===void 0&&b instanceof RegExp&&!("flags"in d)?m.call(b):x);return"/"+w+"/"+z},{unsafe:!0})},"2ca0":function(s,o,i){var a=i("23e7"),l=i("06cf").f,c=i("50c4"),m=i("5a34"),f=i("1d80"),d=i("ab13"),p=i("c430"),h="".startsWith,_=Math.min,g=d("startsWith"),b=!p&&!g&&!!function(){var w=l(String.prototype,"startsWith");return w&&!w.writable}();a({target:"String",proto:!0,forced:!b&&!g},{startsWith:function(x){var z=String(f(this));m(x);var S=c(_(arguments.length>1?arguments[1]:void 0,z.length)),T=String(x);return h?h.call(z,T,S):z.slice(S,S+T.length)===T}})},"2d00":function(s,o,i){var a=i("da84"),l=i("342f"),c=a.process,m=c&&c.versions,f=m&&m.v8,d,p;f?(d=f.split("."),p=d[0]+d[1]):l&&(d=l.match(/Edge\/(\d+)/),(!d||d[1]>=74)&&(d=l.match(/Chrome\/(\d+)/),d&&(p=d[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"),m=c("iterator");s.exports=function(f){if(f!=null)return f[m]||f["@@iterator"]||l[a(f)]}},"37e8":function(s,o,i){var a=i("83ab"),l=i("9bf2"),c=i("825a"),m=i("df75");s.exports=a?Object.defineProperties:function(d,p){c(d);for(var h=m(p),_=h.length,g=0,b;_>g;)l.f(d,b=h[g++],p[b]);return d}},"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"),m="String Iterator",f=l.set,d=l.getterFor(m);c(String,"String",function(p){f(this,{type:m,string:String(p),index:0})},function(){var h=d(this),_=h.string,g=h.index,b;return g>=_.length?{value:void 0,done:!0}:(b=a(_,g),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(m){return l(m)=="String"?c.call(m,""):Object(m)}:Object},"44d2":function(s,o,i){var a=i("b622"),l=i("7c73"),c=i("9bf2"),m=a("unscopables"),f=Array.prototype;f[m]==null&&c.f(f,m,{configurable:!0,value:l(null)}),s.exports=function(d){f[m][d]=!0}},"44e7":function(s,o,i){var a=i("861d"),l=i("c6b6"),c=i("b622"),m=c("match");s.exports=function(f){var d;return a(f)&&((d=f[m])!==void 0?!!d: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"),m=function(f){return function(d,p,h){var _=a(d),g=l(_.length),b=c(h,g),w;if(f&&p!=p){for(;g>b;)if(w=_[b++],w!=w)return!0}else for(;g>b;b++)if((f||b in _)&&_[b]===p)return f||b||0;return!f&&-1}};s.exports={includes:m(!0),indexOf:m(!1)}},"4de4":function(s,o,i){var a=i("23e7"),l=i("b727").filter,c=i("1dde"),m=i("ae40"),f=c("filter"),d=m("filter");a({target:"Array",proto:!0,forced:!f||!d},{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"),m=i("e95a"),f=i("50c4"),d=i("8418"),p=i("35a1");s.exports=function(_){var g=l(_),b=typeof this=="function"?this:Array,w=arguments.length,x=w>1?arguments[1]:void 0,z=x!==void 0,S=p(g),T=0,j,F,A,M,W,I;if(z&&(x=a(x,w>2?arguments[2]:void 0,2)),S!=null&&!(b==Array&&m(S)))for(M=S.call(g),W=M.next,F=new b;!(A=W.call(M)).done;T++)I=z?c(M,x,[A.value,T],!0):A.value,d(F,T,I);else for(j=f(g.length),F=new b(j);j>T;T++)I=z?x(g[T],T):g[T],d(F,T,I);return F.length=T,F}},"4fad":function(s,o,i){var a=i("23e7"),l=i("6f53").entries;a({target:"Object",stat:!0},{entries:function(m){return l(m)}})},"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"),m=i("50c4"),f=i("a691"),d=i("1d80"),p=i("8aa5"),h=i("14c3"),_=Math.max,g=Math.min,b=Math.floor,w=/\$([$&'`]|\d\d?|<[^>]*>)/g,x=/\$([$&'`]|\d\d?)/g,z=function(S){return S===void 0?S:String(S)};a("replace",2,function(S,T,j,F){var A=F.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,M=F.REPLACE_KEEPS_$0,W=A?"$":"$0";return[function(B,oe){var J=d(this),ue=B==null?void 0:B[S];return ue!==void 0?ue.call(B,J,oe):T.call(String(J),B,oe)},function(H,B){if(!A&&M||typeof B=="string"&&B.indexOf(W)===-1){var oe=j(T,H,this,B);if(oe.done)return oe.value}var J=l(H),ue=String(this),ge=typeof B=="function";ge||(B=String(B));var Me=J.global;if(Me){var He=J.unicode;J.lastIndex=0}for(var he=[];;){var X=h(J,ue);if(X===null||(he.push(X),!Me))break;var me=String(X[0]);me===""&&(J.lastIndex=p(ue,m(J.lastIndex),He))}for(var we="",U=0,ie=0;ie<he.length;ie++){X=he[ie];for(var se=String(X[0]),be=_(g(f(X.index),ue.length),0),Ve=[],Ie=1;Ie<X.length;Ie++)Ve.push(z(X[Ie]));var Ee=X.groups;if(ge){var Ae=[se].concat(Ve,be,ue);Ee!==void 0&&Ae.push(Ee);var $=String(B.apply(void 0,Ae))}else $=I(se,ue,be,Ve,Ee,B);be>=U&&(we+=ue.slice(U,be)+$,U=be+se.length)}return we+ue.slice(U)}];function I(H,B,oe,J,ue,ge){var Me=oe+H.length,He=J.length,he=x;return ue!==void 0&&(ue=c(ue),he=w),T.call(ge,he,function(X,me){var we;switch(me.charAt(0)){case"$":return"$";case"&":return H;case"`":return B.slice(0,oe);case"'":return B.slice(Me);case"<":we=ue[me.slice(1,-1)];break;default:var U=+me;if(U===0)return X;if(U>He){var ie=b(U/10);return ie===0?X:ie<=He?J[ie-1]===void 0?me.charAt(1):J[ie-1]+me.charAt(1):X}we=J[U-1]}return we===void 0?"":we})}})},5692:function(s,o,i){var a=i("c430"),l=i("c6cd");(s.exports=function(c,m){return l[c]||(l[c]=m!==void 0?m:{})})("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"),m=i("825a");s.exports=a("Reflect","ownKeys")||function(d){var p=l.f(m(d)),h=c.f;return h?p.concat(h(d)):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"),m=i("50c4"),f=i("1c0b"),d=i("65f0");a({target:"Array",proto:!0},{flatMap:function(h){var _=c(this),g=m(_.length),b;return f(h),b=d(_,0),b.length=l(b,_,_,g,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(m){return function(f,d){var p=String(l(f)),h=a(d),_=p.length,g,b;return h<0||h>=_?m?"":void 0:(g=p.charCodeAt(h),g<55296||g>56319||h+1===_||(b=p.charCodeAt(h+1))<56320||b>57343?m?p.charAt(h):g:m?p.slice(h,h+2):(g-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"),m=c("species");s.exports=function(f,d){var p;return l(f)&&(p=f.constructor,typeof p=="function"&&(p===Array||l(p.prototype))?p=void 0:a(p)&&(p=p[m],p===null&&(p=void 0))),new(p===void 0?Array:p)(d===0?0:d)}},"69f3":function(s,o,i){var a=i("7f9a"),l=i("da84"),c=i("861d"),m=i("9112"),f=i("5135"),d=i("f772"),p=i("d012"),h=l.WeakMap,_,g,b,w=function(A){return b(A)?g(A):_(A,{})},x=function(A){return function(M){var W;if(!c(M)||(W=g(M)).type!==A)throw TypeError("Incompatible receiver, "+A+" required");return W}};if(a){var z=new h,S=z.get,T=z.has,j=z.set;_=function(A,M){return j.call(z,A,M),M},g=function(A){return S.call(z,A)||{}},b=function(A){return T.call(z,A)}}else{var F=d("state");p[F]=!0,_=function(A,M){return m(A,F,M),M},g=function(A){return f(A,F)?A[F]:{}},b=function(A){return f(A,F)}}s.exports={set:_,get:g,has:b,enforce:w,getterFor:x}},"6eeb":function(s,o,i){var a=i("da84"),l=i("9112"),c=i("5135"),m=i("ce4e"),f=i("8925"),d=i("69f3"),p=d.get,h=d.enforce,_=String(String).split("String");(s.exports=function(g,b,w,x){var z=x?!!x.unsafe:!1,S=x?!!x.enumerable:!1,T=x?!!x.noTargetGet:!1;if(typeof w=="function"&&(typeof b=="string"&&!c(w,"name")&&l(w,"name",b),h(w).source=_.join(typeof b=="string"?b:"")),g===a){S?g[b]=w:m(b,w);return}else z?!T&&g[b]&&(S=!0):delete g[b];S?g[b]=w:l(g,b,w)})(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"),m=i("d1e7").f,f=function(d){return function(p){for(var h=c(p),_=l(h),g=_.length,b=0,w=[],x;g>b;)x=_[b++],(!a||m.call(h,x))&&w.push(d?[x,h[x]]:h[x]);return w}};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"),m=i("9bf2").f;s.exports=function(f){var d=a.Symbol||(a.Symbol={});l(d,f)||m(d,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"),m=i("d012"),f=i("1be4"),d=i("cc12"),p=i("f772"),h=">",_="<",g="prototype",b="script",w=p("IE_PROTO"),x=function(){},z=function(A){return _+b+h+A+_+"/"+b+h},S=function(A){A.write(z("")),A.close();var M=A.parentWindow.Object;return A=null,M},T=function(){var A=d("iframe"),M="java"+b+":",W;return A.style.display="none",f.appendChild(A),A.src=String(M),W=A.contentWindow.document,W.open(),W.write(z("document.F=Object")),W.close(),W.F},j,F=function(){try{j=document.domain&&new ActiveXObject("htmlfile")}catch{}F=j?S(j):T();for(var A=c.length;A--;)delete F[g][c[A]];return F()};m[w]=!0,s.exports=Object.create||function(M,W){var I;return M!==null?(x[g]=a(M),I=new x,x[g]=null,I[w]=M):I=F(),W===void 0?I:l(I,W)}},"7dd0":function(s,o,i){var a=i("23e7"),l=i("9ed3"),c=i("e163"),m=i("d2bb"),f=i("d44e"),d=i("9112"),p=i("6eeb"),h=i("b622"),_=i("c430"),g=i("3f8c"),b=i("ae93"),w=b.IteratorPrototype,x=b.BUGGY_SAFARI_ITERATORS,z=h("iterator"),S="keys",T="values",j="entries",F=function(){return this};s.exports=function(A,M,W,I,H,B,oe){l(W,M,I);var J=function(ie){if(ie===H&&he)return he;if(!x&&ie in Me)return Me[ie];switch(ie){case S:return function(){return new W(this,ie)};case T:return function(){return new W(this,ie)};case j:return function(){return new W(this,ie)}}return function(){return new W(this)}},ue=M+" Iterator",ge=!1,Me=A.prototype,He=Me[z]||Me["@@iterator"]||H&&Me[H],he=!x&&He||J(H),X=M=="Array"&&Me.entries||He,me,we,U;if(X&&(me=c(X.call(new A)),w!==Object.prototype&&me.next&&(!_&&c(me)!==w&&(m?m(me,w):typeof me[z]!="function"&&d(me,z,F)),f(me,ue,!0,!0),_&&(g[ue]=F))),H==T&&He&&He.name!==T&&(ge=!0,he=function(){return He.call(this)}),(!_||oe)&&Me[z]!==he&&d(Me,z,he),g[M]=he,H)if(we={values:J(T),keys:B?he:J(S),entries:J(j)},oe)for(U in we)(x||ge||!(U in Me))&&p(Me,U,we[U]);else a({target:M,proto:!0,forced:x||ge},we);return we}},"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(m,f,d){var p=a(f);p in m?l.f(m,p,c(0,d)):m[p]=d}},"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(m,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 m(){var f=Object.getOwnPropertyDescriptor(document,"currentScript");if(!f&&"currentScript"in document&&document.currentScript||f&&f.get!==m&&document.currentScript)return document.currentScript;try{throw new Error}catch(j){var d=/.*at [^(]*\((.*):(.+):(.+)\)$/ig,p=/@([^@]*):(\d+):(\d+)\s*$/ig,h=d.exec(j.stack)||p.exec(j.stack),_=h&&h[1]||!1,g=h&&h[2]||!1,b=document.location.href.replace(document.location.hash,""),w,x,z,S=document.getElementsByTagName("script");_===b&&(w=document.documentElement.outerHTML,x=new RegExp("(?:[^\\n]+?\\n){0,"+(g-2)+"}[^<]*<script>([\\d\\D]*?)<\\/script>[\\d\\D]*","i"),z=w.replace(x,"$1").trim());for(var T=0;T<S.length;T++)if(S[T].readyState==="interactive"||S[T].src===_||_===b&&S[T].innerHTML&&S[T].innerHTML.trim()===z)return S[T];return null}}return m})},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,m){return c+(m?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(m,f,d){return l.f(m,f,c(1,d))}:function(m,f,d){return m[f]=d,m}},9263:function(s,o,i){var a=i("ad6d"),l=i("9f7f"),c=RegExp.prototype.exec,m=String.prototype.replace,f=c,d=function(){var g=/a/,b=/b*/g;return c.call(g,"a"),c.call(b,"a"),g.lastIndex!==0||b.lastIndex!==0}(),p=l.UNSUPPORTED_Y||l.BROKEN_CARET,h=/()??/.exec("")[1]!==void 0,_=d||h||p;_&&(f=function(b){var w=this,x,z,S,T,j=p&&w.sticky,F=a.call(w),A=w.source,M=0,W=b;return j&&(F=F.replace("y",""),F.indexOf("g")===-1&&(F+="g"),W=String(b).slice(w.lastIndex),w.lastIndex>0&&(!w.multiline||w.multiline&&b[w.lastIndex-1]!==`
|
||
`)&&(A="(?: "+A+")",W=" "+W,M++),z=new RegExp("^(?:"+A+")",F)),h&&(z=new RegExp("^"+A+"$(?!\\s)",F)),d&&(x=w.lastIndex),S=c.call(j?z:w,W),j?S?(S.input=S.input.slice(M),S[0]=S[0].slice(M),S.index=w.lastIndex,w.lastIndex+=S[0].length):w.lastIndex=0:d&&S&&(w.lastIndex=w.global?S.index+S[0].length:x),h&&S&&S.length>1&&m.call(S[0],z,function(){for(T=1;T<arguments.length-2;T++)arguments[T]===void 0&&(S[T]=void 0)}),S}),s.exports=f},"94ca":function(s,o,i){var a=i("d039"),l=/#|\.prototype\./,c=function(h,_){var g=f[m(h)];return g==p?!0:g==d?!1:typeof _=="function"?a(_):!!_},m=c.normalize=function(h){return String(h).replace(l,".").toLowerCase()},f=c.data={},d=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"),m=i("861d"),f=i("7b0b"),d=i("50c4"),p=i("8418"),h=i("65f0"),_=i("1dde"),g=i("b622"),b=i("2d00"),w=g("isConcatSpreadable"),x=9007199254740991,z="Maximum allowed index exceeded",S=b>=51||!l(function(){var A=[];return A[w]=!1,A.concat()[0]!==A}),T=_("concat"),j=function(A){if(!m(A))return!1;var M=A[w];return M!==void 0?!!M:c(A)},F=!S||!T;a({target:"Array",proto:!0,forced:F},{concat:function(M){var W=f(this),I=h(W,0),H=0,B,oe,J,ue,ge;for(B=-1,J=arguments.length;B<J;B++)if(ge=B===-1?W:arguments[B],j(ge)){if(ue=d(ge.length),H+ue>x)throw TypeError(z);for(oe=0;oe<ue;oe++,H++)oe in ge&&p(I,H,ge[oe])}else{if(H>=x)throw TypeError(z);p(I,H++,ge)}return I.length=H,I}})},"9bdd":function(s,o,i){var a=i("825a");s.exports=function(l,c,m,f){try{return f?c(a(m)[0],m[1]):c(m)}catch(p){var d=l.return;throw d!==void 0&&a(d.call(l)),p}}},"9bf2":function(s,o,i){var a=i("83ab"),l=i("0cfb"),c=i("825a"),m=i("c04e"),f=Object.defineProperty;o.f=a?f:function(p,h,_){if(c(p),h=m(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"),m=i("d44e"),f=i("3f8c"),d=function(){return this};s.exports=function(p,h,_){var g=h+" Iterator";return p.prototype=l(a,{next:c(1,_)}),m(p,g,!1,!0),f[g]=d,p}},"9f7f":function(s,o,i){var a=i("d039");function l(c,m){return RegExp(c,m)}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"),m=function(f,d,p,h,_,g,b,w){for(var x=_,z=0,S=b?c(b,w,3):!1,T;z<h;){if(z in p){if(T=S?S(p[z],z,d):p[z],g>0&&a(T))x=m(f,d,T,l(T.length),x,g-1)-1;else{if(x>=9007199254740991)throw TypeError("Exceed the acceptable array length");f[x]=T}x++}z++}return x};s.exports=m},a352:function(s,o){s.exports=r},a434:function(s,o,i){var a=i("23e7"),l=i("23cb"),c=i("a691"),m=i("50c4"),f=i("7b0b"),d=i("65f0"),p=i("8418"),h=i("1dde"),_=i("ae40"),g=h("splice"),b=_("splice",{ACCESSORS:!0,0:0,1:2}),w=Math.max,x=Math.min,z=9007199254740991,S="Maximum allowed length exceeded";a({target:"Array",proto:!0,forced:!g||!b},{splice:function(j,F){var A=f(this),M=m(A.length),W=l(j,M),I=arguments.length,H,B,oe,J,ue,ge;if(I===0?H=B=0:I===1?(H=0,B=M-W):(H=I-2,B=x(w(c(F),0),M-W)),M+H-B>z)throw TypeError(S);for(oe=d(A,B),J=0;J<B;J++)ue=W+J,ue in A&&p(oe,J,A[ue]);if(oe.length=B,H<B){for(J=W;J<M-B;J++)ue=J+B,ge=J+H,ue in A?A[ge]=A[ue]:delete A[ge];for(J=M;J>M-B+H;J--)delete A[J-1]}else if(H>B)for(J=M-B;J>W;J--)ue=J+B-1,ge=J+H-1,ue in A?A[ge]=A[ue]:delete A[ge];for(J=0;J<H;J++)A[J+W]=arguments[J+2];return A.length=M-B+H,oe}})},a4d3:function(s,o,i){var a=i("23e7"),l=i("da84"),c=i("d066"),m=i("c430"),f=i("83ab"),d=i("4930"),p=i("fdbf"),h=i("d039"),_=i("5135"),g=i("e8b5"),b=i("861d"),w=i("825a"),x=i("7b0b"),z=i("fc6a"),S=i("c04e"),T=i("5c6c"),j=i("7c73"),F=i("df75"),A=i("241c"),M=i("057f"),W=i("7418"),I=i("06cf"),H=i("9bf2"),B=i("d1e7"),oe=i("9112"),J=i("6eeb"),ue=i("5692"),ge=i("f772"),Me=i("d012"),He=i("90e3"),he=i("b622"),X=i("e538"),me=i("746f"),we=i("d44e"),U=i("69f3"),ie=i("b727").forEach,se=ge("hidden"),be="Symbol",Ve="prototype",Ie=he("toPrimitive"),Ee=U.set,Ae=U.getterFor(be),$=Object[Ve],R=l.Symbol,Y=c("JSON","stringify"),le=I.f,ce=H.f,ye=M.f,Ce=B.f,pe=ue("symbols"),V=ue("op-symbols"),q=ue("string-to-symbol-registry"),$e=ue("symbol-to-string-registry"),ze=ue("wks"),De=l.QObject,Ne=!De||!De[Ve]||!De[Ve].findChild,We=f&&h(function(){return j(ce({},"a",{get:function(){return ce(this,"a",{value:7}).a}})).a!=7})?function(de,te,ae){var je=le($,te);je&&delete $[te],ce(de,te,ae),je&&de!==$&&ce($,te,je)}:ce,tt=function(de,te){var ae=pe[de]=j(R[Ve]);return Ee(ae,{type:be,tag:de,description:te}),f||(ae.description=te),ae},k=p?function(de){return typeof de=="symbol"}:function(de){return Object(de)instanceof R},y=function(te,ae,je){te===$&&y(V,ae,je),w(te);var Ue=S(ae,!0);return w(je),_(pe,Ue)?(je.enumerable?(_(te,se)&&te[se][Ue]&&(te[se][Ue]=!1),je=j(je,{enumerable:T(0,!1)})):(_(te,se)||ce(te,se,T(1,{})),te[se][Ue]=!0),We(te,Ue,je)):ce(te,Ue,je)},L=function(te,ae){w(te);var je=z(ae),Ue=F(je).concat(Le(je));return ie(Ue,function(ut){(!f||ee.call(je,ut))&&y(te,ut,je[ut])}),te},K=function(te,ae){return ae===void 0?j(te):L(j(te),ae)},ee=function(te){var ae=S(te,!0),je=Ce.call(this,ae);return this===$&&_(pe,ae)&&!_(V,ae)?!1:je||!_(this,ae)||!_(pe,ae)||_(this,se)&&this[se][ae]?je:!0},fe=function(te,ae){var je=z(te),Ue=S(ae,!0);if(!(je===$&&_(pe,Ue)&&!_(V,Ue))){var ut=le(je,Ue);return ut&&_(pe,Ue)&&!(_(je,se)&&je[se][Ue])&&(ut.enumerable=!0),ut}},Se=function(te){var ae=ye(z(te)),je=[];return ie(ae,function(Ue){!_(pe,Ue)&&!_(Me,Ue)&&je.push(Ue)}),je},Le=function(te){var ae=te===$,je=ye(ae?V:z(te)),Ue=[];return ie(je,function(ut){_(pe,ut)&&(!ae||_($,ut))&&Ue.push(pe[ut])}),Ue};if(d||(R=function(){if(this instanceof R)throw TypeError("Symbol is not a constructor");var te=!arguments.length||arguments[0]===void 0?void 0:String(arguments[0]),ae=He(te),je=function(Ue){this===$&&je.call(V,Ue),_(this,se)&&_(this[se],ae)&&(this[se][ae]=!1),We(this,ae,T(1,Ue))};return f&&Ne&&We($,ae,{configurable:!0,set:je}),tt(ae,te)},J(R[Ve],"toString",function(){return Ae(this).tag}),J(R,"withoutSetter",function(de){return tt(He(de),de)}),B.f=ee,H.f=y,I.f=fe,A.f=M.f=Se,W.f=Le,X.f=function(de){return tt(he(de),de)},f&&(ce(R[Ve],"description",{configurable:!0,get:function(){return Ae(this).description}}),m||J($,"propertyIsEnumerable",ee,{unsafe:!0}))),a({global:!0,wrap:!0,forced:!d,sham:!d},{Symbol:R}),ie(F(ze),function(de){me(de)}),a({target:be,stat:!0,forced:!d},{for:function(de){var te=String(de);if(_(q,te))return q[te];var ae=R(te);return q[te]=ae,$e[ae]=te,ae},keyFor:function(te){if(!k(te))throw TypeError(te+" is not a symbol");if(_($e,te))return $e[te]},useSetter:function(){Ne=!0},useSimple:function(){Ne=!1}}),a({target:"Object",stat:!0,forced:!d,sham:!f},{create:K,defineProperty:y,defineProperties:L,getOwnPropertyDescriptor:fe}),a({target:"Object",stat:!0,forced:!d},{getOwnPropertyNames:Se,getOwnPropertySymbols:Le}),a({target:"Object",stat:!0,forced:h(function(){W.f(1)})},{getOwnPropertySymbols:function(te){return W.f(x(te))}}),Y){var re=!d||h(function(){var de=R();return Y([de])!="[null]"||Y({a:de})!="{}"||Y(Object(de))!="{}"});a({target:"JSON",stat:!0,forced:re},{stringify:function(te,ae,je){for(var Ue=[te],ut=1,hn;arguments.length>ut;)Ue.push(arguments[ut++]);if(hn=ae,!(!b(ae)&&te===void 0||k(te)))return g(ae)||(ae=function(Wn,Gn){if(typeof hn=="function"&&(Gn=hn.call(this,Wn,Gn)),!k(Gn))return Gn}),Ue[1]=ae,Y.apply(null,Ue)}})}R[Ve][Ie]||oe(R[Ve],Ie,R[Ve].valueOf),we(R,be),Me[se]=!0},a630:function(s,o,i){var a=i("23e7"),l=i("4df4"),c=i("1c7e"),m=!c(function(f){Array.from(f)});a({target:"Array",stat:!0,forced:m},{from:l})},a640:function(s,o,i){var a=i("d039");s.exports=function(l,c){var m=[][l];return!!m&&a(function(){m.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 m=/./;try{"/./"[c](m)}catch{try{return m[l]=!1,"/./"[c](m)}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"),m=Object.defineProperty,f={},d=function(p){throw p};s.exports=function(p,h){if(c(f,p))return f[p];h||(h={});var _=[][p],g=c(h,"ACCESSORS")?h.ACCESSORS:!1,b=c(h,0)?h[0]:d,w=c(h,1)?h[1]:void 0;return f[p]=!!_&&!l(function(){if(g&&!a)return!0;var x={length:-1};g?m(x,1,{enumerable:!0,get:d}):x[1]=1,_.call(x,b,w)})}},ae93:function(s,o,i){var a=i("e163"),l=i("9112"),c=i("5135"),m=i("b622"),f=i("c430"),d=m("iterator"),p=!1,h=function(){return this},_,g,b;[].keys&&(b=[].keys(),"next"in b?(g=a(a(b)),g!==Object.prototype&&(_=g)):p=!0),_==null&&(_={}),!f&&!c(_,d)&&l(_,d,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,m=c.toString,f=/^\s*function ([^ (]*)/,d="name";a&&!(d in c)&&l(c,d,{configurable:!0,get:function(){try{return m.call(this).match(f)[1]}catch{return""}}})},b622:function(s,o,i){var a=i("da84"),l=i("5692"),c=i("5135"),m=i("90e3"),f=i("4930"),d=i("fdbf"),p=l("wks"),h=a.Symbol,_=d?h:h&&h.withoutSetter||m;s.exports=function(g){return c(p,g)||(f&&c(h,g)?p[g]=h[g]:p[g]=_("Symbol."+g)),p[g]}},b64b:function(s,o,i){var a=i("23e7"),l=i("7b0b"),c=i("df75"),m=i("d039"),f=m(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"),m=i("50c4"),f=i("65f0"),d=[].push,p=function(h){var _=h==1,g=h==2,b=h==3,w=h==4,x=h==6,z=h==5||x;return function(S,T,j,F){for(var A=c(S),M=l(A),W=a(T,j,3),I=m(M.length),H=0,B=F||f,oe=_?B(S,I):g?B(S,0):void 0,J,ue;I>H;H++)if((z||H in M)&&(J=M[H],ue=W(J,H,A),h)){if(_)oe[H]=ue;else if(ue)switch(h){case 3:return!0;case 5:return J;case 6:return H;case 2:d.call(oe,J)}else if(w)return!1}return x?-1:b||w?w:oe}};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 m,f;if(c&&typeof(m=l.toString)=="function"&&!a(f=m.call(l))||typeof(m=l.valueOf)=="function"&&!a(f=m.call(l))||!c&&typeof(m=l.toString)=="function"&&!a(f=m.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__",m=a[c]||l(c,{});s.exports=m},c740:function(s,o,i){var a=i("23e7"),l=i("b727").findIndex,c=i("44d2"),m=i("ae40"),f="findIndex",d=!0,p=m(f);f in[]&&Array(1)[f](function(){d=!1}),a({target:"Array",proto:!0,forced:d||!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"),m=i("ae40"),f=[].indexOf,d=!!f&&1/[1].indexOf(1,-0)<0,p=c("indexOf"),h=m("indexOf",{ACCESSORS:!0,1:0});a({target:"Array",proto:!0,forced:d||!p||!h},{indexOf:function(g){return d?f.apply(this,arguments)||0:l(this,g,arguments.length>1?arguments[1]:void 0)}})},ca84:function(s,o,i){var a=i("5135"),l=i("fc6a"),c=i("4d64").indexOf,m=i("d012");s.exports=function(f,d){var p=l(f),h=0,_=[],g;for(g in p)!a(m,g)&&a(p,g)&&_.push(g);for(;d.length>h;)a(p,g=d[h++])&&(~c(_,g)||_.push(g));return _}},caad:function(s,o,i){var a=i("23e7"),l=i("4d64").includes,c=i("44d2"),m=i("ae40"),f=m("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,m=l(c)&&l(c.createElement);s.exports=function(f){return m?c.createElement(f):{}}},ce4e:function(s,o,i){var a=i("da84"),l=i("9112");s.exports=function(c,m){try{l(a,c,m)}catch{a[c]=m}return m}},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(m){return typeof m=="function"?m:void 0};s.exports=function(m,f){return arguments.length<2?c(a[m])||c(l[m]):a[m]&&a[m][f]||l[m]&&l[m][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 d=l(this,f);return!!d&&d.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,m={},f;try{f=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set,f.call(m,[]),c=m 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"),m=c("toStringTag");s.exports=function(f,d,p){f&&!l(f=p?f:f.prototype,m)&&a(f,m,{configurable:!0,value:d})}},d58f:function(s,o,i){var a=i("1c0b"),l=i("7b0b"),c=i("44ad"),m=i("50c4"),f=function(d){return function(p,h,_,g){a(h);var b=l(p),w=c(b),x=m(b.length),z=d?x-1:0,S=d?-1:1;if(_<2)for(;;){if(z in w){g=w[z],z+=S;break}if(z+=S,d?z<0:x<=z)throw TypeError("Reduce of empty array with no initial value")}for(;d?z>=0:x>z;z+=S)z in w&&(g=h(g,w[z],z,b));return g}};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"),m=i("9263"),f=i("9112"),d=c("species"),p=!l(function(){var w=/./;return w.exec=function(){var x=[];return x.groups={a:"7"},x},"".replace(w,"$<a>")!=="7"}),h=function(){return"a".replace(/./,"$0")==="$0"}(),_=c("replace"),g=function(){return/./[_]?/./[_]("a","$0")==="":!1}(),b=!l(function(){var w=/(?:)/,x=w.exec;w.exec=function(){return x.apply(this,arguments)};var z="ab".split(w);return z.length!==2||z[0]!=="a"||z[1]!=="b"});s.exports=function(w,x,z,S){var T=c(w),j=!l(function(){var H={};return H[T]=function(){return 7},""[w](H)!=7}),F=j&&!l(function(){var H=!1,B=/a/;return w==="split"&&(B={},B.constructor={},B.constructor[d]=function(){return B},B.flags="",B[T]=/./[T]),B.exec=function(){return H=!0,null},B[T](""),!H});if(!j||!F||w==="replace"&&!(p&&h&&!g)||w==="split"&&!b){var A=/./[T],M=z(T,""[w],function(H,B,oe,J,ue){return B.exec===m?j&&!ue?{done:!0,value:A.call(B,oe,J)}:{done:!0,value:H.call(oe,B,J)}:{done:!1}},{REPLACE_KEEPS_$0:h,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:g}),W=M[0],I=M[1];a(String.prototype,w,W),a(RegExp.prototype,T,x==2?function(H,B){return I.call(H,this,B)}:function(H){return I.call(H,this)})}S&&f(RegExp.prototype[T],"sham",!0)}},d81d:function(s,o,i){var a=i("23e7"),l=i("b727").map,c=i("1dde"),m=i("ae40"),f=c("map"),d=m("map");a({target:"Array",proto:!0,forced:!f||!d},{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"),m=i("fc6a"),f=i("06cf"),d=i("8418");a({target:"Object",stat:!0,sham:!l},{getOwnPropertyDescriptors:function(h){for(var _=m(h),g=f.f,b=c(_),w={},x=0,z,S;b.length>x;)S=g(_,z=b[x++]),S!==void 0&&d(w,z,S);return w}})},dbf1:function(s,o,i){(function(a){i.d(o,"a",function(){return c});function l(){return typeof window<"u"?window.console:a.console}var c=l()}).call(this,i("c8ba"))},ddb0:function(s,o,i){var a=i("da84"),l=i("fdbc"),c=i("e260"),m=i("9112"),f=i("b622"),d=f("iterator"),p=f("toStringTag"),h=c.values;for(var _ in l){var g=a[_],b=g&&g.prototype;if(b){if(b[d]!==h)try{m(b,d,h)}catch{b[d]=h}if(b[p]||m(b,p,_),l[_]){for(var w in c)if(b[w]!==c[w])try{m(b,w,c[w])}catch{b[w]=c[w]}}}}},df75:function(s,o,i){var a=i("ca84"),l=i("7839");s.exports=Object.keys||function(m){return a(m,l)}},e01a:function(s,o,i){var a=i("23e7"),l=i("83ab"),c=i("da84"),m=i("5135"),f=i("861d"),d=i("9bf2").f,p=i("e893"),h=c.Symbol;if(l&&typeof h=="function"&&(!("description"in h.prototype)||h().description!==void 0)){var _={},g=function(){var T=arguments.length<1||arguments[0]===void 0?void 0:String(arguments[0]),j=this instanceof g?new h(T):T===void 0?h():h(T);return T===""&&(_[j]=!0),j};p(g,h);var b=g.prototype=h.prototype;b.constructor=g;var w=b.toString,x=String(h("test"))=="Symbol(test)",z=/^Symbol\((.*)\)[^)]+$/;d(b,"description",{configurable:!0,get:function(){var T=f(this)?this.valueOf():this,j=w.call(T);if(m(_,T))return"";var F=x?j.slice(7,-1):j.replace(z,"$1");return F===""?void 0:F}}),a({global:!0,forced:!0},{Symbol:g})}},e163:function(s,o,i){var a=i("5135"),l=i("7b0b"),c=i("f772"),m=i("e177"),f=c("IE_PROTO"),d=Object.prototype;s.exports=m?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?d: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"),m=i("69f3"),f=i("7dd0"),d="Array Iterator",p=m.set,h=m.getterFor(d);s.exports=f(Array,"Array",function(_,g){p(this,{type:d,target:a(_),index:0,kind:g})},function(){var _=h(this),g=_.target,b=_.kind,w=_.index++;return!g||w>=g.length?(_.target=void 0,{value:void 0,done:!0}):b=="keys"?{value:w,done:!1}:b=="values"?{value:g[w],done:!1}:{value:[w,g[w]],done:!1}},"values"),c.Arguments=c.Array,l("keys"),l("values"),l("entries")},e439:function(s,o,i){var a=i("23e7"),l=i("d039"),c=i("fc6a"),m=i("06cf").f,f=i("83ab"),d=l(function(){m(1)}),p=!f||d;a({target:"Object",stat:!0,forced:p,sham:!f},{getOwnPropertyDescriptor:function(_,g){return m(c(_),g)}})},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"),m=i("9bf2");s.exports=function(f,d){for(var p=l(d),h=m.f,_=c.f,g=0;g<p.length;g++){var b=p[g];a(f,b)||h(f,b,_(d,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"),m=Array.prototype;s.exports=function(f){return f!==void 0&&(l.Array===f||m[c]===f)}},f5df:function(s,o,i){var a=i("00ee"),l=i("c6b6"),c=i("b622"),m=c("toStringTag"),f=l(function(){return arguments}())=="Arguments",d=function(p,h){try{return p[h]}catch{}};s.exports=a?l:function(p){var h,_,g;return p===void 0?"Undefined":p===null?"Null":typeof(_=d(h=Object(p),m))=="string"?_:f?l(h):(g=l(h))=="Object"&&typeof h.callee=="function"?"Arguments":g}},f772:function(s,o,i){var a=i("5692"),l=i("90e3"),c=a("keys");s.exports=function(m){return c[m]||(c[m]=l(m))}},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 m(k,y,L){return y in k?Object.defineProperty(k,y,{value:L,enumerable:!0,configurable:!0,writable:!0}):k[y]=L,k}function f(k,y){var L=Object.keys(k);if(Object.getOwnPropertySymbols){var K=Object.getOwnPropertySymbols(k);y&&(K=K.filter(function(ee){return Object.getOwnPropertyDescriptor(k,ee).enumerable})),L.push.apply(L,K)}return L}function d(k){for(var y=1;y<arguments.length;y++){var L=arguments[y]!=null?arguments[y]:{};y%2?f(Object(L),!0).forEach(function(K){m(k,K,L[K])}):Object.getOwnPropertyDescriptors?Object.defineProperties(k,Object.getOwnPropertyDescriptors(L)):f(Object(L)).forEach(function(K){Object.defineProperty(k,K,Object.getOwnPropertyDescriptor(L,K))})}return k}function p(k){if(Array.isArray(k))return k}i("e01a"),i("d28b"),i("e260"),i("d3b7"),i("3ca3"),i("ddb0");function h(k,y){if(!(typeof Symbol>"u"||!(Symbol.iterator in Object(k)))){var L=[],K=!0,ee=!1,fe=void 0;try{for(var Se=k[Symbol.iterator](),Le;!(K=(Le=Se.next()).done)&&(L.push(Le.value),!(y&&L.length===y));K=!0);}catch(re){ee=!0,fe=re}finally{try{!K&&Se.return!=null&&Se.return()}finally{if(ee)throw fe}}return L}}i("a630"),i("fb6a"),i("b0c0"),i("25f0");function _(k,y){(y==null||y>k.length)&&(y=k.length);for(var L=0,K=new Array(y);L<y;L++)K[L]=k[L];return K}function g(k,y){if(k){if(typeof k=="string")return _(k,y);var L=Object.prototype.toString.call(k).slice(8,-1);if(L==="Object"&&k.constructor&&(L=k.constructor.name),L==="Map"||L==="Set")return Array.from(k);if(L==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(L))return _(k,y)}}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 w(k,y){return p(k)||h(k,y)||g(k,y)||b()}function x(k){if(Array.isArray(k))return _(k)}function z(k){if(typeof Symbol<"u"&&Symbol.iterator in Object(k))return Array.from(k)}function S(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
||
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function T(k){return x(k)||z(k)||g(k)||S()}var j=i("a352"),F=i.n(j);function A(k){k.parentElement!==null&&k.parentElement.removeChild(k)}function M(k,y,L){var K=L===0?k.children[0]:k.children[L-1].nextSibling;k.insertBefore(y,K)}var W=i("dbf1");i("13d5"),i("4fad"),i("ac1f"),i("5319");function I(k){var y=Object.create(null);return function(K){var ee=y[K];return ee||(y[K]=k(K))}}var H=/-(\w)/g,B=I(function(k){return k.replace(H,function(y,L){return L.toUpperCase()})});i("5db7"),i("73d9");var oe=["Start","Add","Remove","Update","End"],J=["Choose","Unchoose","Sort","Filter","Clone"],ue=["Move"],ge=[ue,oe,J].flatMap(function(k){return k}).map(function(k){return"on".concat(k)}),Me={manage:ue,manageAndEmit:oe,emit:J};function He(k){return ge.indexOf(k)!==-1}i("caad"),i("2ca0");var he=["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 X(k){return he.includes(k)}function me(k){return["transition-group","TransitionGroup"].includes(k)}function we(k){return["id","class","role","style"].includes(k)||k.startsWith("data-")||k.startsWith("aria-")||k.startsWith("on")}function U(k){return k.reduce(function(y,L){var K=w(L,2),ee=K[0],fe=K[1];return y[ee]=fe,y},{})}function ie(k){var y=k.$attrs,L=k.componentData,K=L===void 0?{}:L,ee=U(Object.entries(y).filter(function(fe){var Se=w(fe,2),Le=Se[0];return Se[1],we(Le)}));return d(d({},ee),K)}function se(k){var y=k.$attrs,L=k.callBackBuilder,K=U(be(y));Object.entries(L).forEach(function(fe){var Se=w(fe,2),Le=Se[0],re=Se[1];Me[Le].forEach(function(de){K["on".concat(de)]=re(de)})});var ee="[data-draggable]".concat(K.draggable||"");return d(d({},K),{},{draggable:ee})}function be(k){return Object.entries(k).filter(function(y){var L=w(y,2),K=L[0];return L[1],!we(K)}).map(function(y){var L=w(y,2),K=L[0],ee=L[1];return[B(K),ee]}).filter(function(y){var L=w(y,2),K=L[0];return L[1],!He(K)})}i("c740");function Ve(k,y){if(!(k instanceof y))throw new TypeError("Cannot call a class as a function")}function Ie(k,y){for(var L=0;L<y.length;L++){var K=y[L];K.enumerable=K.enumerable||!1,K.configurable=!0,"value"in K&&(K.writable=!0),Object.defineProperty(k,K.key,K)}}function Ee(k,y,L){return y&&Ie(k.prototype,y),L&&Ie(k,L),k}var Ae=function(y){var L=y.el;return L},$=function(y,L){return y.__draggable_context=L},R=function(y){return y.__draggable_context},Y=function(){function k(y){var L=y.nodes,K=L.header,ee=L.default,fe=L.footer,Se=y.root,Le=y.realList;Ve(this,k),this.defaultNodes=ee,this.children=[].concat(T(K),T(ee),T(fe)),this.externalComponent=Se.externalComponent,this.rootTransition=Se.transition,this.tag=Se.tag,this.realList=Le}return Ee(k,[{key:"render",value:function(L,K){var ee=this.tag,fe=this.children,Se=this._isRootComponent,Le=Se?{default:function(){return fe}}:fe;return L(ee,K,Le)}},{key:"updated",value:function(){var L=this.defaultNodes,K=this.realList;L.forEach(function(ee,fe){$(Ae(ee),{element:K[fe],index:fe})})}},{key:"getUnderlyingVm",value:function(L){return R(L)}},{key:"getVmIndexFromDomIndex",value:function(L,K){var ee=this.defaultNodes,fe=ee.length,Se=K.children,Le=Se.item(L);if(Le===null)return fe;var re=R(Le);if(re)return re.index;if(fe===0)return 0;var de=Ae(ee[0]),te=T(Se).findIndex(function(ae){return ae===de});return L<te?0:fe}},{key:"_isRootComponent",get:function(){return this.externalComponent||this.rootTransition}}]),k}(),le=i("8bbf");function ce(k,y){var L=k[y];return L?L():[]}function ye(k){var y=k.$slots,L=k.realList,K=k.getKey,ee=L||[],fe=["header","footer"].map(function(ae){return ce(y,ae)}),Se=w(fe,2),Le=Se[0],re=Se[1],de=y.item;if(!de)throw new Error("draggable element must have an item slot");var te=ee.flatMap(function(ae,je){return de({element:ae,index:je}).map(function(Ue){return Ue.key=K(ae),Ue.props=d(d({},Ue.props||{}),{},{"data-draggable":!0}),Ue})});if(te.length!==ee.length)throw new Error("Item slot must have only one child");return{header:Le,footer:re,default:te}}function Ce(k){var y=me(k),L=!X(k)&&!y;return{transition:y,externalComponent:L,tag:L?Object(le.resolveComponent)(k):y?le.TransitionGroup:k}}function pe(k){var y=k.$slots,L=k.tag,K=k.realList,ee=k.getKey,fe=ye({$slots:y,realList:K,getKey:ee}),Se=Ce(L);return new Y({nodes:fe,root:Se,realList:K})}function V(k,y){var L=this;Object(le.nextTick)(function(){return L.$emit(k.toLowerCase(),y)})}function q(k){var y=this;return function(L,K){if(y.realList!==null)return y["onDrag".concat(k)](L,K)}}function $e(k){var y=this,L=q.call(this,k);return function(K,ee){L.call(y,K,ee),V.call(y,k,K)}}var ze=null,De={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(y){return y}},tag:{type:String,default:"div"},move:{type:Function,default:null},componentData:{type:Object,required:!1,default:null}},Ne=["update:modelValue","change"].concat(T([].concat(T(Me.manageAndEmit),T(Me.emit)).map(function(k){return k.toLowerCase()}))),We=Object(le.defineComponent)({name:"draggable",inheritAttrs:!1,props:De,emits:Ne,data:function(){return{error:!1}},render:function(){try{this.error=!1;var y=this.$slots,L=this.$attrs,K=this.tag,ee=this.componentData,fe=this.realList,Se=this.getKey,Le=pe({$slots:y,tag:K,realList:fe,getKey:Se});this.componentStructure=Le;var re=ie({$attrs:L,componentData:ee});return Le.render(le.h,re)}catch(de){return this.error=!0,Object(le.h)("pre",{style:{color:"red"}},de.stack)}},created:function(){this.list!==null&&this.modelValue!==null&&W.a.error("modelValue and list props are mutually exclusive! Please set one or another.")},mounted:function(){var y=this;if(!this.error){var L=this.$attrs,K=this.$el,ee=this.componentStructure;ee.updated();var fe=se({$attrs:L,callBackBuilder:{manageAndEmit:function(re){return $e.call(y,re)},emit:function(re){return V.bind(y,re)},manage:function(re){return q.call(y,re)}}}),Se=K.nodeType===1?K:K.parentElement;this._sortable=new F.a(Se,fe),this.targetDomElement=Se,Se.__draggable_component__=this}},updated:function(){this.componentStructure.updated()},beforeUnmount:function(){this._sortable!==void 0&&this._sortable.destroy()},computed:{realList:function(){var y=this.list;return y||this.modelValue},getKey:function(){var y=this.itemKey;return typeof y=="function"?y:function(L){return L[y]}}},watch:{$attrs:{handler:function(y){var L=this._sortable;L&&be(y).forEach(function(K){var ee=w(K,2),fe=ee[0],Se=ee[1];L.option(fe,Se)})},deep:!0}},methods:{getUnderlyingVm:function(y){return this.componentStructure.getUnderlyingVm(y)||null},getUnderlyingPotencialDraggableComponent:function(y){return y.__draggable_component__},emitChanges:function(y){var L=this;Object(le.nextTick)(function(){return L.$emit("change",y)})},alterList:function(y){if(this.list){y(this.list);return}var L=T(this.modelValue);y(L),this.$emit("update:modelValue",L)},spliceList:function(){var y=arguments,L=function(ee){return ee.splice.apply(ee,T(y))};this.alterList(L)},updatePosition:function(y,L){var K=function(fe){return fe.splice(L,0,fe.splice(y,1)[0])};this.alterList(K)},getRelatedContextFromMoveEvent:function(y){var L=y.to,K=y.related,ee=this.getUnderlyingPotencialDraggableComponent(L);if(!ee)return{component:ee};var fe=ee.realList,Se={list:fe,component:ee};if(L!==K&&fe){var Le=ee.getUnderlyingVm(K)||{};return d(d({},Le),Se)}return Se},getVmIndexFromDomIndex:function(y){return this.componentStructure.getVmIndexFromDomIndex(y,this.targetDomElement)},onDragStart:function(y){this.context=this.getUnderlyingVm(y.item),y.item._underlying_vm_=this.clone(this.context.element),ze=y.item},onDragAdd:function(y){var L=y.item._underlying_vm_;if(L!==void 0){A(y.item);var K=this.getVmIndexFromDomIndex(y.newIndex);this.spliceList(K,0,L);var ee={element:L,newIndex:K};this.emitChanges({added:ee})}},onDragRemove:function(y){if(M(this.$el,y.item,y.oldIndex),y.pullMode==="clone"){A(y.clone);return}var L=this.context,K=L.index,ee=L.element;this.spliceList(K,1);var fe={element:ee,oldIndex:K};this.emitChanges({removed:fe})},onDragUpdate:function(y){A(y.item),M(y.from,y.item,y.oldIndex);var L=this.context.index,K=this.getVmIndexFromDomIndex(y.newIndex);this.updatePosition(L,K);var ee={element:this.context.element,oldIndex:L,newIndex:K};this.emitChanges({moved:ee})},computeFutureIndex:function(y,L){if(!y.element)return 0;var K=T(L.to.children).filter(function(Le){return Le.style.display!=="none"}),ee=K.indexOf(L.related),fe=y.component.getVmIndexFromDomIndex(ee),Se=K.indexOf(ze)!==-1;return Se||!L.willInsertAfter?fe:fe+1},onDragMove:function(y,L){var K=this.move,ee=this.realList;if(!K||!ee)return!0;var fe=this.getRelatedContextFromMoveEvent(y),Se=this.computeFutureIndex(fe,y),Le=d(d({},this.context),{},{futureIndex:Se}),re=d(d({},y),{},{relatedContext:fe,draggedContext:Le});return K(re,L)},onDragEnd:function(){ze=null}}}),tt=We;o.default=tt},fb6a:function(s,o,i){var a=i("23e7"),l=i("861d"),c=i("e8b5"),m=i("23cb"),f=i("50c4"),d=i("fc6a"),p=i("8418"),h=i("b622"),_=i("1dde"),g=i("ae40"),b=_("slice"),w=g("slice",{ACCESSORS:!0,0:0,1:2}),x=h("species"),z=[].slice,S=Math.max;a({target:"Array",proto:!0,forced:!b||!w},{slice:function(j,F){var A=d(this),M=f(A.length),W=m(j,M),I=m(F===void 0?M:F,M),H,B,oe;if(c(A)&&(H=A.constructor,typeof H=="function"&&(H===Array||c(H.prototype))?H=void 0:l(H)&&(H=H[x],H===null&&(H=void 0)),H===Array||H===void 0))return z.call(A,W,I);for(B=new(H===void 0?Array:H)(S(I-W,0)),oe=0;W<I;W++,oe++)W in A&&p(B,oe,A[W]);return B.length=oe,B}})},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})})(h$);const Q$=Om(hd),e8={name:"PageQueue",components:{ContentWithHeading:ft,ListItemQueueItem:SS,draggable:Q$,ModalDialogQueueItem:yv,ModalDialogAddUrlStream:GE,ModalDialogPlaylistSave:p$},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:function(){Z.queue_clear()},update_show_next_items:function(e){this.$store.commit(By,!this.show_only_next_items)},remove:function(e){Z.queue_remove(e.id)},move_item:function(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&&Z.queue_move(n.id,r)},open_dialog:function(e){this.selected_item=e,this.show_details_modal=!0},open_add_stream_dialog:function(e){this.show_url_modal=!0},save_dialog:function(e){this.queue_items.length>0&&(this.show_pls_save_modal=!0)}}},t8=["textContent"],n8=["textContent"],r8={class:"buttons is-centered"},s8={class:"icon"},o8=["textContent"],i8={class:"icon"},a8=["textContent"],l8={class:"icon"},u8=["textContent"],c8={class:"icon"},d8=["textContent"],m8=["disabled"],f8={class:"icon"},p8=["textContent"],h8=["onClick"],_8={class:"icon has-text-dark"},g8=["onClick"],y8={class:"icon has-text-grey"};function v8(e,t,n,r,s,o){const i=O("mdicon"),a=O("list-item-queue-item"),l=O("draggable"),c=O("modal-dialog-queue-item"),m=O("modal-dialog-add-url-stream"),f=O("modal-dialog-playlist-save"),d=O("content-with-heading");return E(),xe(d,null,{"heading-left":P(()=>[u("p",{class:"title is-4",textContent:v(e.$t("page.queue.title"))},null,8,t8),u("p",{class:"heading",textContent:v(e.$t("page.queue.count",{count:o.queue.count}))},null,8,n8)]),"heading-right":P(()=>[u("div",r8,[u("a",{class:Ye(["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))},[u("span",s8,[C(i,{name:"arrow-collapse-down",size:"16"})]),u("span",{textContent:v(e.$t("page.queue.hide-previous"))},null,8,o8)],2),u("a",{class:"button is-small",onClick:t[1]||(t[1]=(...p)=>o.open_add_stream_dialog&&o.open_add_stream_dialog(...p))},[u("span",i8,[C(i,{name:"web",size:"16"})]),u("span",{textContent:v(e.$t("page.queue.add-stream"))},null,8,a8)]),u("a",{class:Ye(["button is-small",{"is-info":s.edit_mode}]),onClick:t[2]||(t[2]=p=>s.edit_mode=!s.edit_mode)},[u("span",l8,[C(i,{name:"pencil",size:"16"})]),u("span",{textContent:v(e.$t("page.queue.edit"))},null,8,u8)],2),u("a",{class:"button is-small",onClick:t[3]||(t[3]=(...p)=>o.queue_clear&&o.queue_clear(...p))},[u("span",c8,[C(i,{name:"delete-empty",size:"16"})]),u("span",{textContent:v(e.$t("page.queue.clear"))},null,8,d8)]),o.is_queue_save_allowed?(E(),D("a",{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))},[u("span",f8,[C(i,{name:"content-save",size:"16"})]),u("span",{textContent:v(e.$t("page.queue.save"))},null,8,p8)],8,m8)):Q("",!0)])]),content:P(()=>[C(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:P(({element:p,index:h})=>[C(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:P(()=>[s.edit_mode?Q("",!0):(E(),D("a",{key:0,onClick:ht(_=>o.open_dialog(p),["prevent","stop"])},[u("span",_8,[C(i,{name:"dots-vertical",size:"16"})])],8,h8)),p.id!==o.state.item_id&&s.edit_mode?(E(),D("a",{key:1,onClick:ht(_=>o.remove(p),["prevent","stop"])},[u("span",y8,[C(i,{name:"delete",size:"18"})])],8,g8)):Q("",!0)]),_:2},1032,["item","position","current_position","show_only_next_items","edit_mode"])]),_:1},8,["modelValue","onEnd"]),C(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"]),C(m,{show:s.show_url_modal,onClose:t[7]||(t[7]=p=>s.show_url_modal=!1)},null,8,["show"]),o.is_queue_save_allowed?(E(),xe(f,{key:0,show:s.show_pls_save_modal,onClose:t[8]||(t[8]=p=>s.show_pls_save_modal=!1)},null,8,["show"])):Q("",!0)]),_:1})}const b8=ve(e8,[["render",v8]]);function yc(e){return[null,void 0,!1].indexOf(e)!==-1}function Oh(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 Ph(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Oh(Object(n),!0).forEach(function(r){w8(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Oh(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function w8(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function C8(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function Tv(e){var t={exports:{}};return e(t,t.exports),t.exports}function wd(e){return wd=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},wd(e)}var Dh=Tv(function(e,t){e.exports=function(){var n=["decimals","thousand","mark","prefix","suffix","encoder","decoder","negativeBefore","negative","edit","undo"];function r(h){return h.split("").reverse().join("")}function s(h,_){return h.substring(0,_.length)===_}function o(h,_){return h.slice(-1*_.length)===_}function i(h,_,g){if((h[_]||h[g])&&h[_]===h[g])throw new Error(_)}function a(h){return typeof h=="number"&&isFinite(h)}function l(h,_){return h=h.toString().split("e"),(+((h=(h=Math.round(+(h[0]+"e"+(h[1]?+h[1]+_:_)))).toString().split("e"))[0]+"e"+(h[1]?+h[1]-_:-_))).toFixed(_)}function c(h,_,g,b,w,x,z,S,T,j,F,A){var M,W,I,H=A,B="",oe="";return x&&(A=x(A)),!!a(A)&&(h!==!1&&parseFloat(A.toFixed(h))===0&&(A=0),A<0&&(M=!0,A=Math.abs(A)),h!==!1&&(A=l(A,h)),(A=A.toString()).indexOf(".")!==-1?(I=(W=A.split("."))[0],g&&(B=g+W[1])):I=A,_&&(I=r(I).match(/.{1,3}/g),I=r(I.join(r(_)))),M&&S&&(oe+=S),b&&(oe+=b),M&&T&&(oe+=T),oe+=I,oe+=B,w&&(oe+=w),j&&(oe=j(oe,H)),oe)}function m(h,_,g,b,w,x,z,S,T,j,F,A){var M,W="";return F&&(A=F(A)),!(!A||typeof A!="string")&&(S&&s(A,S)&&(A=A.replace(S,""),M=!0),b&&s(A,b)&&(A=A.replace(b,"")),T&&s(A,T)&&(A=A.replace(T,""),M=!0),w&&o(A,w)&&(A=A.slice(0,-1*w.length)),_&&(A=A.split(_).join("")),g&&(A=A.replace(g,".")),M&&(W+="-"),(W=(W+=A).replace(/[^0-9\.\-.]/g,""))!==""&&(W=Number(W),z&&(W=z(W)),!!a(W)&&W))}function f(h){var _,g,b,w={};for(h.suffix===void 0&&(h.suffix=h.postfix),_=0;_<n.length;_+=1)if((b=h[g=n[_]])===void 0)g!=="negative"||w.negativeBefore?g==="mark"&&w.thousand!=="."?w[g]=".":w[g]=!1:w[g]="-";else if(g==="decimals"){if(!(b>=0&&b<8))throw new Error(g);w[g]=b}else if(g==="encoder"||g==="decoder"||g==="edit"||g==="undo"){if(typeof b!="function")throw new Error(g);w[g]=b}else{if(typeof b!="string")throw new Error(g);w[g]=b}return i(w,"mark","thousand"),i(w,"prefix","negative"),i(w,"prefix","negativeBefore"),w}function d(h,_,g){var b,w=[];for(b=0;b<n.length;b+=1)w.push(h[n[b]]);return w.push(g),_.apply("",w)}function p(h){if(!(this instanceof p))return new p(h);wd(h)==="object"&&(h=f(h),this.to=function(_){return d(h,c,_)},this.from=function(_){return d(h,m,_)})}return p}()});function Fh(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 z8(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function x8(e,t,n){var r=oi(e),s=r.format,o=r.step,i=n.value,a=n.classList,l=At(function(){return s&&s.value?typeof s.value=="function"?{to:s.value}:Dh(function(c){for(var m=1;m<arguments.length;m++){var f=arguments[m]!=null?arguments[m]:{};m%2?Fh(Object(f),!0).forEach(function(d){z8(c,d,f[d])}):Object.getOwnPropertyDescriptors?Object.defineProperties(c,Object.getOwnPropertyDescriptors(f)):Fh(Object(f)).forEach(function(d){Object.defineProperty(c,d,Object.getOwnPropertyDescriptor(f,d))})}return c}({},s.value)):Dh({decimals:o.value>=0?0:2})});return{tooltipsFormat:At(function(){return Array.isArray(i.value)?i.value.map(function(c){return l.value}):l.value}),tooltipsMerge:function(c,m,f){var d=getComputedStyle(c).direction==="rtl",p=c.noUiSlider.options.direction==="rtl",h=c.noUiSlider.options.orientation==="vertical",_=c.noUiSlider.getTooltips(),g=c.noUiSlider.getOrigins();_.forEach(function(b,w){b&&g[w].appendChild(b)}),c.noUiSlider.on("update",function(b,w,x,z,S){var T=[[]],j=[[]],F=[[]],A=0;_[0]&&(T[0][0]=0,j[0][0]=S[0],F[0][0]=l.value.to(parseFloat(b[0])));for(var M=1;M<b.length;M++)(!_[M]||b[M]-b[M-1]>m)&&(T[++A]=[],F[A]=[],j[A]=[]),_[M]&&(T[A].push(M),F[A].push(l.value.to(parseFloat(b[M]))),j[A].push(S[M]));T.forEach(function(W,I){for(var H=W.length,B=0;B<H;B++){var oe=W[B];if(B===H-1){var J=0;j[I].forEach(function(He){J+=1e3-He});var ue=h?"bottom":"right",ge=p?0:H-1,Me=1e3-j[I][ge];J=(d&&!h?100:0)+J/H-Me,_[oe].innerHTML=F[I].join(f),_[oe].style.display="block",_[oe].style[ue]=J+"%",a.value.tooltipHidden.split(" ").forEach(function(He){_[oe].classList.contains(He)&&_[oe].classList.remove(He)})}else _[oe].style.display="none",a.value.tooltipHidden.split(" ").forEach(function(He){_[oe].classList.add(He)})}})})}}}function bi(e){return bi=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},bi(e)}var k8=C8(Tv(function(e,t){(function(n){function r(k){return s(k)&&typeof k.from=="function"}function s(k){return bi(k)==="object"&&typeof k.to=="function"}function o(k){k.parentElement.removeChild(k)}function i(k){return k!=null}function a(k){k.preventDefault()}function l(k){return k.filter(function(y){return!this[y]&&(this[y]=!0)},{})}function c(k,y){return Math.round(k/y)*y}function m(k,y){var L=k.getBoundingClientRect(),K=k.ownerDocument,ee=K.documentElement,fe=x(K);return/webkit.*Chrome.*Mobile/i.test(navigator.userAgent)&&(fe.x=0),y?L.top+fe.y-ee.clientTop:L.left+fe.x-ee.clientLeft}function f(k){return typeof k=="number"&&!isNaN(k)&&isFinite(k)}function d(k,y,L){L>0&&(g(k,y),setTimeout(function(){b(k,y)},L))}function p(k){return Math.max(Math.min(k,100),0)}function h(k){return Array.isArray(k)?k:[k]}function _(k){var y=(k=String(k)).split(".");return y.length>1?y[1].length:0}function g(k,y){k.classList&&!/\s/.test(y)?k.classList.add(y):k.className+=" "+y}function b(k,y){k.classList&&!/\s/.test(y)?k.classList.remove(y):k.className=k.className.replace(new RegExp("(^|\\b)"+y.split(" ").join("|")+"(\\b|$)","gi")," ")}function w(k,y){return k.classList?k.classList.contains(y):new RegExp("\\b"+y+"\\b").test(k.className)}function x(k){var y=window.pageXOffset!==void 0,L=(k.compatMode||"")==="CSS1Compat";return{x:y?window.pageXOffset:L?k.documentElement.scrollLeft:k.body.scrollLeft,y:y?window.pageYOffset:L?k.documentElement.scrollTop:k.body.scrollTop}}function z(){return window.navigator.pointerEnabled?{start:"pointerdown",move:"pointermove",end:"pointerup"}:window.navigator.msPointerEnabled?{start:"MSPointerDown",move:"MSPointerMove",end:"MSPointerUp"}:{start:"mousedown touchstart",move:"mousemove touchmove",end:"mouseup touchend"}}function S(){var k=!1;try{var y=Object.defineProperty({},"passive",{get:function(){k=!0}});window.addEventListener("test",null,y)}catch{}return k}function T(){return window.CSS&&CSS.supports&&CSS.supports("touch-action","none")}function j(k,y){return 100/(y-k)}function F(k,y,L){return 100*y/(k[L+1]-k[L])}function A(k,y){return F(k,k[0]<0?y+Math.abs(k[0]):y-k[0],0)}function M(k,y){return y*(k[1]-k[0])/100+k[0]}function W(k,y){for(var L=1;k>=y[L];)L+=1;return L}function I(k,y,L){if(L>=k.slice(-1)[0])return 100;var K=W(L,k),ee=k[K-1],fe=k[K],Se=y[K-1],Le=y[K];return Se+A([ee,fe],L)/j(Se,Le)}function H(k,y,L){if(L>=100)return k.slice(-1)[0];var K=W(L,y),ee=k[K-1],fe=k[K],Se=y[K-1];return M([ee,fe],(L-Se)*j(Se,y[K]))}function B(k,y,L,K){if(K===100)return K;var ee=W(K,k),fe=k[ee-1],Se=k[ee];return L?K-fe>(Se-fe)/2?Se:fe:y[ee-1]?k[ee-1]+c(K-k[ee-1],y[ee-1]):K}var oe,J;n.PipsMode=void 0,(J=n.PipsMode||(n.PipsMode={})).Range="range",J.Steps="steps",J.Positions="positions",J.Count="count",J.Values="values",n.PipsType=void 0,(oe=n.PipsType||(n.PipsType={}))[oe.None=-1]="None",oe[oe.NoValue=0]="NoValue",oe[oe.LargeValue=1]="LargeValue",oe[oe.SmallValue=2]="SmallValue";var ue=function(){function k(y,L,K){var ee;this.xPct=[],this.xVal=[],this.xSteps=[],this.xNumSteps=[],this.xHighestCompleteStep=[],this.xSteps=[K||!1],this.xNumSteps=[!1],this.snap=L;var fe=[];for(Object.keys(y).forEach(function(Se){fe.push([h(y[Se]),Se])}),fe.sort(function(Se,Le){return Se[0][0]-Le[0][0]}),ee=0;ee<fe.length;ee++)this.handleEntryPoint(fe[ee][1],fe[ee][0]);for(this.xNumSteps=this.xSteps.slice(0),ee=0;ee<this.xNumSteps.length;ee++)this.handleStepPoint(ee,this.xNumSteps[ee])}return k.prototype.getDistance=function(y){for(var L=[],K=0;K<this.xNumSteps.length-1;K++)L[K]=F(this.xVal,y,K);return L},k.prototype.getAbsoluteDistance=function(y,L,K){var ee,fe=0;if(y<this.xPct[this.xPct.length-1])for(;y>this.xPct[fe+1];)fe++;else y===this.xPct[this.xPct.length-1]&&(fe=this.xPct.length-2);K||y!==this.xPct[fe+1]||fe++,L===null&&(L=[]);var Se=1,Le=L[fe],re=0,de=0,te=0,ae=0;for(ee=K?(y-this.xPct[fe])/(this.xPct[fe+1]-this.xPct[fe]):(this.xPct[fe+1]-y)/(this.xPct[fe+1]-this.xPct[fe]);Le>0;)re=this.xPct[fe+1+ae]-this.xPct[fe+ae],L[fe+ae]*Se+100-100*ee>100?(de=re*ee,Se=(Le-100*ee)/L[fe+ae],ee=1):(de=L[fe+ae]*re/100*Se,Se=0),K?(te-=de,this.xPct.length+ae>=1&&ae--):(te+=de,this.xPct.length-ae>=1&&ae++),Le=L[fe+ae]*Se;return y+te},k.prototype.toStepping=function(y){return y=I(this.xVal,this.xPct,y)},k.prototype.fromStepping=function(y){return H(this.xVal,this.xPct,y)},k.prototype.getStep=function(y){return y=B(this.xPct,this.xSteps,this.snap,y)},k.prototype.getDefaultStep=function(y,L,K){var ee=W(y,this.xPct);return(y===100||L&&y===this.xPct[ee-1])&&(ee=Math.max(ee-1,1)),(this.xVal[ee]-this.xVal[ee-1])/K},k.prototype.getNearbySteps=function(y){var L=W(y,this.xPct);return{stepBefore:{startValue:this.xVal[L-2],step:this.xNumSteps[L-2],highestStep:this.xHighestCompleteStep[L-2]},thisStep:{startValue:this.xVal[L-1],step:this.xNumSteps[L-1],highestStep:this.xHighestCompleteStep[L-1]},stepAfter:{startValue:this.xVal[L],step:this.xNumSteps[L],highestStep:this.xHighestCompleteStep[L]}}},k.prototype.countStepDecimals=function(){var y=this.xNumSteps.map(_);return Math.max.apply(null,y)},k.prototype.hasNoSize=function(){return this.xVal[0]===this.xVal[this.xVal.length-1]},k.prototype.convert=function(y){return this.getStep(this.toStepping(y))},k.prototype.handleEntryPoint=function(y,L){var K;if(!f(K=y==="min"?0:y==="max"?100:parseFloat(y))||!f(L[0]))throw new Error("noUiSlider: 'range' value isn't numeric.");this.xPct.push(K),this.xVal.push(L[0]);var ee=Number(L[1]);K?this.xSteps.push(!isNaN(ee)&&ee):isNaN(ee)||(this.xSteps[0]=ee),this.xHighestCompleteStep.push(0)},k.prototype.handleStepPoint=function(y,L){if(L)if(this.xVal[y]!==this.xVal[y+1]){this.xSteps[y]=F([this.xVal[y],this.xVal[y+1]],L,0)/j(this.xPct[y],this.xPct[y+1]);var K=(this.xVal[y+1]-this.xVal[y])/this.xNumSteps[y],ee=Math.ceil(Number(K.toFixed(3))-1),fe=this.xVal[y]+this.xNumSteps[y]*ee;this.xHighestCompleteStep[y]=fe}else this.xSteps[y]=this.xHighestCompleteStep[y]=this.xVal[y]},k}(),ge={to:function(k){return k===void 0?"":k.toFixed(2)},from:Number},Me={target:"target",base:"base",origin:"origin",handle:"handle",handleLower:"handle-lower",handleUpper:"handle-upper",touchArea:"touch-area",horizontal:"horizontal",vertical:"vertical",background:"background",connect:"connect",connects:"connects",ltr:"ltr",rtl:"rtl",textDirectionLtr:"txt-dir-ltr",textDirectionRtl:"txt-dir-rtl",draggable:"draggable",drag:"state-drag",tap:"state-tap",active:"active",tooltip:"tooltip",pips:"pips",pipsHorizontal:"pips-horizontal",pipsVertical:"pips-vertical",marker:"marker",markerHorizontal:"marker-horizontal",markerVertical:"marker-vertical",markerNormal:"marker-normal",markerLarge:"marker-large",markerSub:"marker-sub",value:"value",valueHorizontal:"value-horizontal",valueVertical:"value-vertical",valueNormal:"value-normal",valueLarge:"value-large",valueSub:"value-sub"},He={tooltips:".__tooltips",aria:".__aria"};function he(k,y){if(!f(y))throw new Error("noUiSlider: 'step' is not numeric.");k.singleStep=y}function X(k,y){if(!f(y))throw new Error("noUiSlider: 'keyboardPageMultiplier' is not numeric.");k.keyboardPageMultiplier=y}function me(k,y){if(!f(y))throw new Error("noUiSlider: 'keyboardMultiplier' is not numeric.");k.keyboardMultiplier=y}function we(k,y){if(!f(y))throw new Error("noUiSlider: 'keyboardDefaultStep' is not numeric.");k.keyboardDefaultStep=y}function U(k,y){if(bi(y)!=="object"||Array.isArray(y))throw new Error("noUiSlider: 'range' is not an object.");if(y.min===void 0||y.max===void 0)throw new Error("noUiSlider: Missing 'min' or 'max' in 'range'.");k.spectrum=new ue(y,k.snap||!1,k.singleStep)}function ie(k,y){if(y=h(y),!Array.isArray(y)||!y.length)throw new Error("noUiSlider: 'start' option is incorrect.");k.handles=y.length,k.start=y}function se(k,y){if(typeof y!="boolean")throw new Error("noUiSlider: 'snap' option must be a boolean.");k.snap=y}function be(k,y){if(typeof y!="boolean")throw new Error("noUiSlider: 'animate' option must be a boolean.");k.animate=y}function Ve(k,y){if(typeof y!="number")throw new Error("noUiSlider: 'animationDuration' option must be a number.");k.animationDuration=y}function Ie(k,y){var L,K=[!1];if(y==="lower"?y=[!0,!1]:y==="upper"&&(y=[!1,!0]),y===!0||y===!1){for(L=1;L<k.handles;L++)K.push(y);K.push(!1)}else{if(!Array.isArray(y)||!y.length||y.length!==k.handles+1)throw new Error("noUiSlider: 'connect' option doesn't match handle count.");K=y}k.connect=K}function Ee(k,y){switch(y){case"horizontal":k.ort=0;break;case"vertical":k.ort=1;break;default:throw new Error("noUiSlider: 'orientation' option is invalid.")}}function Ae(k,y){if(!f(y))throw new Error("noUiSlider: 'margin' option must be numeric.");y!==0&&(k.margin=k.spectrum.getDistance(y))}function $(k,y){if(!f(y))throw new Error("noUiSlider: 'limit' option must be numeric.");if(k.limit=k.spectrum.getDistance(y),!k.limit||k.handles<2)throw new Error("noUiSlider: 'limit' option is only supported on linear sliders with 2 or more handles.")}function R(k,y){var L;if(!f(y)&&!Array.isArray(y))throw new Error("noUiSlider: 'padding' option must be numeric or array of exactly 2 numbers.");if(Array.isArray(y)&&y.length!==2&&!f(y[0])&&!f(y[1]))throw new Error("noUiSlider: 'padding' option must be numeric or array of exactly 2 numbers.");if(y!==0){for(Array.isArray(y)||(y=[y,y]),k.padding=[k.spectrum.getDistance(y[0]),k.spectrum.getDistance(y[1])],L=0;L<k.spectrum.xNumSteps.length-1;L++)if(k.padding[0][L]<0||k.padding[1][L]<0)throw new Error("noUiSlider: 'padding' option must be a positive number(s).");var K=y[0]+y[1],ee=k.spectrum.xVal[0];if(K/(k.spectrum.xVal[k.spectrum.xVal.length-1]-ee)>1)throw new Error("noUiSlider: 'padding' option must not exceed 100% of the range.")}}function Y(k,y){switch(y){case"ltr":k.dir=0;break;case"rtl":k.dir=1;break;default:throw new Error("noUiSlider: 'direction' option was not recognized.")}}function le(k,y){if(typeof y!="string")throw new Error("noUiSlider: 'behaviour' must be a string containing options.");var L=y.indexOf("tap")>=0,K=y.indexOf("drag")>=0,ee=y.indexOf("fixed")>=0,fe=y.indexOf("snap")>=0,Se=y.indexOf("hover")>=0,Le=y.indexOf("unconstrained")>=0,re=y.indexOf("drag-all")>=0;if(ee){if(k.handles!==2)throw new Error("noUiSlider: 'fixed' behaviour must be used with 2 handles");Ae(k,k.start[1]-k.start[0])}if(Le&&(k.margin||k.limit))throw new Error("noUiSlider: 'unconstrained' behaviour cannot be used with margin or limit");k.events={tap:L||fe,drag:K,dragAll:re,fixed:ee,snap:fe,hover:Se,unconstrained:Le}}function ce(k,y){if(y!==!1)if(y===!0||s(y)){k.tooltips=[];for(var L=0;L<k.handles;L++)k.tooltips.push(y)}else{if((y=h(y)).length!==k.handles)throw new Error("noUiSlider: must pass a formatter for all handles.");y.forEach(function(K){if(typeof K!="boolean"&&!s(K))throw new Error("noUiSlider: 'tooltips' must be passed a formatter or 'false'.")}),k.tooltips=y}}function ye(k,y){if(y.length!==k.handles)throw new Error("noUiSlider: must pass a attributes for all handles.");k.handleAttributes=y}function Ce(k,y){if(!s(y))throw new Error("noUiSlider: 'ariaFormat' requires 'to' method.");k.ariaFormat=y}function pe(k,y){if(!r(y))throw new Error("noUiSlider: 'format' requires 'to' and 'from' methods.");k.format=y}function V(k,y){if(typeof y!="boolean")throw new Error("noUiSlider: 'keyboardSupport' option must be a boolean.");k.keyboardSupport=y}function q(k,y){k.documentElement=y}function $e(k,y){if(typeof y!="string"&&y!==!1)throw new Error("noUiSlider: 'cssPrefix' must be a string or `false`.");k.cssPrefix=y}function ze(k,y){if(bi(y)!=="object")throw new Error("noUiSlider: 'cssClasses' must be an object.");typeof k.cssPrefix=="string"?(k.cssClasses={},Object.keys(y).forEach(function(L){k.cssClasses[L]=k.cssPrefix+y[L]})):k.cssClasses=y}function De(k){var y={margin:null,limit:null,padding:null,animate:!0,animationDuration:300,ariaFormat:ge,format:ge},L={step:{r:!1,t:he},keyboardPageMultiplier:{r:!1,t:X},keyboardMultiplier:{r:!1,t:me},keyboardDefaultStep:{r:!1,t:we},start:{r:!0,t:ie},connect:{r:!0,t:Ie},direction:{r:!0,t:Y},snap:{r:!1,t:se},animate:{r:!1,t:be},animationDuration:{r:!1,t:Ve},range:{r:!0,t:U},orientation:{r:!1,t:Ee},margin:{r:!1,t:Ae},limit:{r:!1,t:$},padding:{r:!1,t:R},behaviour:{r:!0,t:le},ariaFormat:{r:!1,t:Ce},format:{r:!1,t:pe},tooltips:{r:!1,t:ce},keyboardSupport:{r:!0,t:V},documentElement:{r:!1,t:q},cssPrefix:{r:!0,t:$e},cssClasses:{r:!0,t:ze},handleAttributes:{r:!1,t:ye}},K={connect:!1,direction:"ltr",behaviour:"tap",orientation:"horizontal",keyboardSupport:!0,cssPrefix:"noUi-",cssClasses:Me,keyboardPageMultiplier:5,keyboardMultiplier:1,keyboardDefaultStep:10};k.format&&!k.ariaFormat&&(k.ariaFormat=k.format),Object.keys(L).forEach(function(re){if(i(k[re])||K[re]!==void 0)L[re].t(y,i(k[re])?k[re]:K[re]);else if(L[re].r)throw new Error("noUiSlider: '"+re+"' is required.")}),y.pips=k.pips;var ee=document.createElement("div"),fe=ee.style.msTransform!==void 0,Se=ee.style.transform!==void 0;y.transformRule=Se?"transform":fe?"msTransform":"webkitTransform";var Le=[["left","top"],["right","bottom"]];return y.style=Le[y.dir][y.ort],y}function Ne(k,y,L){var K,ee,fe,Se,Le,re=z(),de=T()&&S(),te=k,ae=y.spectrum,je=[],Ue=[],ut=[],hn=0,Wn={},Gn=k.ownerDocument,Qi=y.documentElement||Gn.documentElement,ea=Gn.body,$b=Gn.dir==="rtl"||y.ort===1?0:100;function br(N,G){var ne=Gn.createElement("div");return G&&g(ne,G),N.appendChild(ne),ne}function Ab(N,G){var ne=br(N,y.cssClasses.origin),_e=br(ne,y.cssClasses.handle);if(br(_e,y.cssClasses.touchArea),_e.setAttribute("data-handle",String(G)),y.keyboardSupport&&(_e.setAttribute("tabindex","0"),_e.addEventListener("keydown",function(Pe){return Hb(Pe,G)})),y.handleAttributes!==void 0){var Fe=y.handleAttributes[G];Object.keys(Fe).forEach(function(Pe){_e.setAttribute(Pe,Fe[Pe])})}return _e.setAttribute("role","slider"),_e.setAttribute("aria-orientation",y.ort?"vertical":"horizontal"),G===0?g(_e,y.cssClasses.handleLower):G===y.handles-1&&g(_e,y.cssClasses.handleUpper),ne}function ff(N,G){return!!G&&br(N,y.cssClasses.connect)}function Tb(N,G){var ne=br(G,y.cssClasses.connects);ee=[],(fe=[]).push(ff(ne,N[0]));for(var _e=0;_e<y.handles;_e++)ee.push(Ab(G,_e)),ut[_e]=_e,fe.push(ff(ne,N[_e+1]))}function Ob(N){return g(N,y.cssClasses.target),y.dir===0?g(N,y.cssClasses.ltr):g(N,y.cssClasses.rtl),y.ort===0?g(N,y.cssClasses.horizontal):g(N,y.cssClasses.vertical),g(N,getComputedStyle(N).direction==="rtl"?y.cssClasses.textDirectionRtl:y.cssClasses.textDirectionLtr),br(N,y.cssClasses.base)}function Pb(N,G){return!(!y.tooltips||!y.tooltips[G])&&br(N.firstChild,y.cssClasses.tooltip)}function pf(){return te.hasAttribute("disabled")}function ku(N){return ee[N].hasAttribute("disabled")}function Su(){Le&&(Fo("update"+He.tooltips),Le.forEach(function(N){N&&o(N)}),Le=null)}function hf(){Su(),Le=ee.map(Pb),Ou("update"+He.tooltips,function(N,G,ne){if(Le&&y.tooltips&&Le[G]!==!1){var _e=N[G];y.tooltips[G]!==!0&&(_e=y.tooltips[G].to(ne[G])),Le[G].innerHTML=_e}})}function Db(){Fo("update"+He.aria),Ou("update"+He.aria,function(N,G,ne,_e,Fe){ut.forEach(function(Pe){var Je=ee[Pe],Ze=ta(Ue,Pe,0,!0,!0,!0),Nt=ta(Ue,Pe,100,!0,!0,!0),Ot=Fe[Pe],pt=String(y.ariaFormat.to(ne[Pe]));Ze=ae.fromStepping(Ze).toFixed(1),Nt=ae.fromStepping(Nt).toFixed(1),Ot=ae.fromStepping(Ot).toFixed(1),Je.children[0].setAttribute("aria-valuemin",Ze),Je.children[0].setAttribute("aria-valuemax",Nt),Je.children[0].setAttribute("aria-valuenow",Ot),Je.children[0].setAttribute("aria-valuetext",pt)})})}function Fb(N){if(N.mode===n.PipsMode.Range||N.mode===n.PipsMode.Steps)return ae.xVal;if(N.mode===n.PipsMode.Count){if(N.values<2)throw new Error("noUiSlider: 'values' (>= 2) required for mode 'count'.");for(var G=N.values-1,ne=100/G,_e=[];G--;)_e[G]=G*ne;return _e.push(100),_f(_e,N.stepped)}return N.mode===n.PipsMode.Positions?_f(N.values,N.stepped):N.mode===n.PipsMode.Values?N.stepped?N.values.map(function(Fe){return ae.fromStepping(ae.getStep(ae.toStepping(Fe)))}):N.values:[]}function _f(N,G){return N.map(function(ne){return ae.fromStepping(G?ae.getStep(ne):ne)})}function Ib(N){function G(Ot,pt){return Number((Ot+pt).toFixed(7))}var ne=Fb(N),_e={},Fe=ae.xVal[0],Pe=ae.xVal[ae.xVal.length-1],Je=!1,Ze=!1,Nt=0;return(ne=l(ne.slice().sort(function(Ot,pt){return Ot-pt})))[0]!==Fe&&(ne.unshift(Fe),Je=!0),ne[ne.length-1]!==Pe&&(ne.push(Pe),Ze=!0),ne.forEach(function(Ot,pt){var Wt,vt,_n,ln,Vt,kf,Fu,Sf,Ef,$f,Iu=Ot,Rs=ne[pt+1],Af=N.mode===n.PipsMode.Steps;for(Af&&(Wt=ae.xNumSteps[pt]),Wt||(Wt=Rs-Iu),Rs===void 0&&(Rs=Iu),Wt=Math.max(Wt,1e-7),vt=Iu;vt<=Rs;vt=G(vt,Wt)){for(Sf=(Vt=(ln=ae.toStepping(vt))-Nt)/(N.density||1),$f=Vt/(Ef=Math.round(Sf)),_n=1;_n<=Ef;_n+=1)_e[(kf=Nt+_n*$f).toFixed(5)]=[ae.fromStepping(kf),0];Fu=ne.indexOf(vt)>-1?n.PipsType.LargeValue:Af?n.PipsType.SmallValue:n.PipsType.NoValue,!pt&&Je&&vt!==Rs&&(Fu=0),vt===Rs&&Ze||(_e[ln.toFixed(5)]=[vt,Fu]),Nt=ln}}),_e}function Lb(N,G,ne){var _e,Fe,Pe=Gn.createElement("div"),Je=((_e={})[n.PipsType.None]="",_e[n.PipsType.NoValue]=y.cssClasses.valueNormal,_e[n.PipsType.LargeValue]=y.cssClasses.valueLarge,_e[n.PipsType.SmallValue]=y.cssClasses.valueSub,_e),Ze=((Fe={})[n.PipsType.None]="",Fe[n.PipsType.NoValue]=y.cssClasses.markerNormal,Fe[n.PipsType.LargeValue]=y.cssClasses.markerLarge,Fe[n.PipsType.SmallValue]=y.cssClasses.markerSub,Fe),Nt=[y.cssClasses.valueHorizontal,y.cssClasses.valueVertical],Ot=[y.cssClasses.markerHorizontal,y.cssClasses.markerVertical];function pt(vt,_n){var ln=_n===y.cssClasses.value,Vt=ln?Je:Ze;return _n+" "+(ln?Nt:Ot)[y.ort]+" "+Vt[vt]}function Wt(vt,_n,ln){if((ln=G?G(_n,ln):ln)!==n.PipsType.None){var Vt=br(Pe,!1);Vt.className=pt(ln,y.cssClasses.marker),Vt.style[y.style]=vt+"%",ln>n.PipsType.NoValue&&((Vt=br(Pe,!1)).className=pt(ln,y.cssClasses.value),Vt.setAttribute("data-value",String(_n)),Vt.style[y.style]=vt+"%",Vt.innerHTML=String(ne.to(_n)))}}return g(Pe,y.cssClasses.pips),g(Pe,y.ort===0?y.cssClasses.pipsHorizontal:y.cssClasses.pipsVertical),Object.keys(N).forEach(function(vt){Wt(vt,N[vt][0],N[vt][1])}),Pe}function Eu(){Se&&(o(Se),Se=null)}function $u(N){Eu();var G=Ib(N),ne=N.filter,_e=N.format||{to:function(Fe){return String(Math.round(Fe))}};return Se=te.appendChild(Lb(G,ne,_e))}function gf(){var N=K.getBoundingClientRect(),G="offset"+["Width","Height"][y.ort];return y.ort===0?N.width||K[G]:N.height||K[G]}function as(N,G,ne,_e){var Fe=function(Je){var Ze=Mb(Je,_e.pageOffset,_e.target||G);return!!Ze&&!(pf()&&!_e.doNotReject)&&!(w(te,y.cssClasses.tap)&&!_e.doNotReject)&&!(N===re.start&&Ze.buttons!==void 0&&Ze.buttons>1)&&(!_e.hover||!Ze.buttons)&&(de||Ze.preventDefault(),Ze.calcPoint=Ze.points[y.ort],void ne(Ze,_e))},Pe=[];return N.split(" ").forEach(function(Je){G.addEventListener(Je,Fe,!!de&&{passive:!0}),Pe.push([Je,Fe])}),Pe}function Mb(N,G,ne){var _e=N.type.indexOf("touch")===0,Fe=N.type.indexOf("mouse")===0,Pe=N.type.indexOf("pointer")===0,Je=0,Ze=0;if(N.type.indexOf("MSPointer")===0&&(Pe=!0),N.type==="mousedown"&&!N.buttons&&!N.touches)return!1;if(_e){var Nt=function(Wt){var vt=Wt.target;return vt===ne||ne.contains(vt)||N.composed&&N.composedPath().shift()===ne};if(N.type==="touchstart"){var Ot=Array.prototype.filter.call(N.touches,Nt);if(Ot.length>1)return!1;Je=Ot[0].pageX,Ze=Ot[0].pageY}else{var pt=Array.prototype.find.call(N.changedTouches,Nt);if(!pt)return!1;Je=pt.pageX,Ze=pt.pageY}}return G=G||x(Gn),(Fe||Pe)&&(Je=N.clientX+G.x,Ze=N.clientY+G.y),N.pageOffset=G,N.points=[Je,Ze],N.cursor=Fe||Pe,N}function yf(N){var G=100*(N-m(K,y.ort))/gf();return G=p(G),y.dir?100-G:G}function Rb(N){var G=100,ne=!1;return ee.forEach(function(_e,Fe){if(!ku(Fe)){var Pe=Ue[Fe],Je=Math.abs(Pe-N);(Je<G||Je<=G&&N>Pe||Je===100&&G===100)&&(ne=Fe,G=Je)}}),ne}function Nb(N,G){N.type==="mouseout"&&N.target.nodeName==="HTML"&&N.relatedTarget===null&&Au(N,G)}function jb(N,G){if(navigator.appVersion.indexOf("MSIE 9")===-1&&N.buttons===0&&G.buttonsProperty!==0)return Au(N,G);var ne=(y.dir?-1:1)*(N.calcPoint-G.startCalcPoint);vf(ne>0,100*ne/G.baseSize,G.locations,G.handleNumbers,G.connect)}function Au(N,G){G.handle&&(b(G.handle,y.cssClasses.active),hn-=1),G.listeners.forEach(function(ne){Qi.removeEventListener(ne[0],ne[1])}),hn===0&&(b(te,y.cssClasses.drag),Du(),N.cursor&&(ea.style.cursor="",ea.removeEventListener("selectstart",a))),G.handleNumbers.forEach(function(ne){jt("change",ne),jt("set",ne),jt("end",ne)})}function Tu(N,G){if(!G.handleNumbers.some(ku)){var ne;G.handleNumbers.length===1&&(ne=ee[G.handleNumbers[0]].children[0],hn+=1,g(ne,y.cssClasses.active)),N.stopPropagation();var _e=[],Fe=as(re.move,Qi,jb,{target:N.target,handle:ne,connect:G.connect,listeners:_e,startCalcPoint:N.calcPoint,baseSize:gf(),pageOffset:N.pageOffset,handleNumbers:G.handleNumbers,buttonsProperty:N.buttons,locations:Ue.slice()}),Pe=as(re.end,Qi,Au,{target:N.target,handle:ne,listeners:_e,doNotReject:!0,handleNumbers:G.handleNumbers}),Je=as("mouseout",Qi,Nb,{target:N.target,handle:ne,listeners:_e,doNotReject:!0,handleNumbers:G.handleNumbers});_e.push.apply(_e,Fe.concat(Pe,Je)),N.cursor&&(ea.style.cursor=getComputedStyle(N.target).cursor,ee.length>1&&g(te,y.cssClasses.drag),ea.addEventListener("selectstart",a,!1)),G.handleNumbers.forEach(function(Ze){jt("start",Ze)})}}function Vb(N){N.stopPropagation();var G=yf(N.calcPoint),ne=Rb(G);ne!==!1&&(y.events.snap||d(te,y.cssClasses.tap,y.animationDuration),Ms(ne,G,!0,!0),Du(),jt("slide",ne,!0),jt("update",ne,!0),y.events.snap?Tu(N,{handleNumbers:[ne]}):(jt("change",ne,!0),jt("set",ne,!0)))}function Bb(N){var G=yf(N.calcPoint),ne=ae.getStep(G),_e=ae.fromStepping(ne);Object.keys(Wn).forEach(function(Fe){Fe.split(".")[0]==="hover"&&Wn[Fe].forEach(function(Pe){Pe.call(ra,_e)})})}function Hb(N,G){if(pf()||ku(G))return!1;var ne=["Left","Right"],_e=["Down","Up"],Fe=["PageDown","PageUp"],Pe=["Home","End"];y.dir&&!y.ort?ne.reverse():y.ort&&!y.dir&&(_e.reverse(),Fe.reverse());var Je,Ze=N.key.replace("Arrow",""),Nt=Ze===Fe[0],Ot=Ze===Fe[1],pt=Ze===_e[0]||Ze===ne[0]||Nt,Wt=Ze===_e[1]||Ze===ne[1]||Ot,vt=Ze===Pe[0],_n=Ze===Pe[1];if(!(pt||Wt||vt||_n))return!0;if(N.preventDefault(),Wt||pt){var ln=pt?0:1,Vt=xf(G)[ln];if(Vt===null)return!1;Vt===!1&&(Vt=ae.getDefaultStep(Ue[G],pt,y.keyboardDefaultStep)),Vt*=Ot||Nt?y.keyboardPageMultiplier:y.keyboardMultiplier,Vt=Math.max(Vt,1e-7),Vt*=pt?-1:1,Je=je[G]+Vt}else Je=_n?y.spectrum.xVal[y.spectrum.xVal.length-1]:y.spectrum.xVal[0];return Ms(G,ae.toStepping(Je),!0,!0),jt("slide",G),jt("update",G),jt("change",G),jt("set",G),!1}function Ub(N){N.fixed||ee.forEach(function(G,ne){as(re.start,G.children[0],Tu,{handleNumbers:[ne]})}),N.tap&&as(re.start,K,Vb,{}),N.hover&&as(re.move,K,Bb,{hover:!0}),N.drag&&fe.forEach(function(G,ne){if(G!==!1&&ne!==0&&ne!==fe.length-1){var _e=ee[ne-1],Fe=ee[ne],Pe=[G],Je=[_e,Fe],Ze=[ne-1,ne];g(G,y.cssClasses.draggable),N.fixed&&(Pe.push(_e.children[0]),Pe.push(Fe.children[0])),N.dragAll&&(Je=ee,Ze=ut),Pe.forEach(function(Nt){as(re.start,Nt,Tu,{handles:Je,handleNumbers:Ze,connect:G})})}})}function Ou(N,G){Wn[N]=Wn[N]||[],Wn[N].push(G),N.split(".")[0]==="update"&&ee.forEach(function(ne,_e){jt("update",_e)})}function qb(N){return N===He.aria||N===He.tooltips}function Fo(N){var G=N&&N.split(".")[0],ne=G?N.substring(G.length):N;Object.keys(Wn).forEach(function(_e){var Fe=_e.split(".")[0],Pe=_e.substring(Fe.length);G&&G!==Fe||ne&&ne!==Pe||qb(Pe)&&ne!==Pe||delete Wn[_e]})}function jt(N,G,ne){Object.keys(Wn).forEach(function(_e){var Fe=_e.split(".")[0];N===Fe&&Wn[_e].forEach(function(Pe){Pe.call(ra,je.map(y.format.to),G,je.slice(),ne||!1,Ue.slice(),ra)})})}function ta(N,G,ne,_e,Fe,Pe){var Je;return ee.length>1&&!y.events.unconstrained&&(_e&&G>0&&(Je=ae.getAbsoluteDistance(N[G-1],y.margin,!1),ne=Math.max(ne,Je)),Fe&&G<ee.length-1&&(Je=ae.getAbsoluteDistance(N[G+1],y.margin,!0),ne=Math.min(ne,Je))),ee.length>1&&y.limit&&(_e&&G>0&&(Je=ae.getAbsoluteDistance(N[G-1],y.limit,!1),ne=Math.min(ne,Je)),Fe&&G<ee.length-1&&(Je=ae.getAbsoluteDistance(N[G+1],y.limit,!0),ne=Math.max(ne,Je))),y.padding&&(G===0&&(Je=ae.getAbsoluteDistance(0,y.padding[0],!1),ne=Math.max(ne,Je)),G===ee.length-1&&(Je=ae.getAbsoluteDistance(100,y.padding[1],!0),ne=Math.min(ne,Je))),!((ne=p(ne=ae.getStep(ne)))===N[G]&&!Pe)&&ne}function Pu(N,G){var ne=y.ort;return(ne?G:N)+", "+(ne?N:G)}function vf(N,G,ne,_e,Fe){var Pe=ne.slice(),Je=_e[0],Ze=[!N,N],Nt=[N,!N];_e=_e.slice(),N&&_e.reverse(),_e.length>1?_e.forEach(function(pt,Wt){var vt=ta(Pe,pt,Pe[pt]+G,Ze[Wt],Nt[Wt],!1);vt===!1?G=0:(G=vt-Pe[pt],Pe[pt]=vt)}):Ze=Nt=[!0];var Ot=!1;_e.forEach(function(pt,Wt){Ot=Ms(pt,ne[pt]+G,Ze[Wt],Nt[Wt])||Ot}),Ot&&(_e.forEach(function(pt){jt("update",pt),jt("slide",pt)}),Fe!=null&&jt("drag",Je))}function bf(N,G){return y.dir?100-N-G:N}function Wb(N,G){Ue[N]=G,je[N]=ae.fromStepping(G);var ne="translate("+Pu(bf(G,0)-$b+"%","0")+")";ee[N].style[y.transformRule]=ne,wf(N),wf(N+1)}function Du(){ut.forEach(function(N){var G=Ue[N]>50?-1:1,ne=3+(ee.length+G*N);ee[N].style.zIndex=String(ne)})}function Ms(N,G,ne,_e,Fe){return Fe||(G=ta(Ue,N,G,ne,_e,!1)),G!==!1&&(Wb(N,G),!0)}function wf(N){if(fe[N]){var G=0,ne=100;N!==0&&(G=Ue[N-1]),N!==fe.length-1&&(ne=Ue[N]);var _e=ne-G,Fe="translate("+Pu(bf(G,_e)+"%","0")+")",Pe="scale("+Pu(_e/100,"1")+")";fe[N].style[y.transformRule]=Fe+" "+Pe}}function Cf(N,G){return N===null||N===!1||N===void 0?Ue[G]:(typeof N=="number"&&(N=String(N)),(N=y.format.from(N))!==!1&&(N=ae.toStepping(N)),N===!1||isNaN(N)?Ue[G]:N)}function na(N,G,ne){var _e=h(N),Fe=Ue[0]===void 0;G=G===void 0||G,y.animate&&!Fe&&d(te,y.cssClasses.tap,y.animationDuration),ut.forEach(function(Ze){Ms(Ze,Cf(_e[Ze],Ze),!0,!1,ne)});var Pe=ut.length===1?0:1;if(Fe&&ae.hasNoSize()&&(ne=!0,Ue[0]=0,ut.length>1)){var Je=100/(ut.length-1);ut.forEach(function(Ze){Ue[Ze]=Ze*Je})}for(;Pe<ut.length;++Pe)ut.forEach(function(Ze){Ms(Ze,Ue[Ze],!0,!0,ne)});Du(),ut.forEach(function(Ze){jt("update",Ze),_e[Ze]!==null&&G&&jt("set",Ze)})}function Gb(N){na(y.start,N)}function Kb(N,G,ne,_e){if(!((N=Number(N))>=0&&N<ut.length))throw new Error("noUiSlider: invalid handle number, got: "+N);Ms(N,Cf(G,N),!0,!0,_e),jt("update",N),ne&&jt("set",N)}function zf(N){if(N===void 0&&(N=!1),N)return je.length===1?je[0]:je.slice(0);var G=je.map(y.format.to);return G.length===1?G[0]:G}function Zb(){for(Fo(He.aria),Fo(He.tooltips),Object.keys(y.cssClasses).forEach(function(N){b(te,y.cssClasses[N])});te.firstChild;)te.removeChild(te.firstChild);delete te.noUiSlider}function xf(N){var G=Ue[N],ne=ae.getNearbySteps(G),_e=je[N],Fe=ne.thisStep.step,Pe=null;if(y.snap)return[_e-ne.stepBefore.startValue||null,ne.stepAfter.startValue-_e||null];Fe!==!1&&_e+Fe>ne.stepAfter.startValue&&(Fe=ne.stepAfter.startValue-_e),Pe=_e>ne.thisStep.startValue?ne.thisStep.step:ne.stepBefore.step!==!1&&_e-ne.stepBefore.highestStep,G===100?Fe=null:G===0&&(Pe=null);var Je=ae.countStepDecimals();return Fe!==null&&Fe!==!1&&(Fe=Number(Fe.toFixed(Je))),Pe!==null&&Pe!==!1&&(Pe=Number(Pe.toFixed(Je))),[Pe,Fe]}function Yb(){return ut.map(xf)}function Jb(N,G){var ne=zf(),_e=["margin","limit","padding","range","animate","snap","step","format","pips","tooltips"];_e.forEach(function(Pe){N[Pe]!==void 0&&(L[Pe]=N[Pe])});var Fe=De(L);_e.forEach(function(Pe){N[Pe]!==void 0&&(y[Pe]=Fe[Pe])}),ae=Fe.spectrum,y.margin=Fe.margin,y.limit=Fe.limit,y.padding=Fe.padding,y.pips?$u(y.pips):Eu(),y.tooltips?hf():Su(),Ue=[],na(i(N.start)?N.start:ne,G)}function Xb(){K=Ob(te),Tb(y.connect,K),Ub(y.events),na(y.start),y.pips&&$u(y.pips),y.tooltips&&hf(),Db()}Xb();var ra={destroy:Zb,steps:Yb,on:Ou,off:Fo,get:zf,set:na,setHandle:Kb,reset:Gb,__moveHandles:function(N,G,ne){vf(N,G,Ue,ne)},options:L,updateOptions:Jb,target:te,removePips:Eu,removeTooltips:Su,getPositions:function(){return Ue.slice()},getTooltips:function(){return Le},getOrigins:function(){return ee},pips:$u};return ra}function We(k,y){if(!k||!k.nodeName)throw new Error("noUiSlider: create requires a single element, got: "+k);if(k.noUiSlider)throw new Error("noUiSlider: Slider was already initialized.");var L=Ne(k,De(y),y);return k.noUiSlider=L,L}var tt={__spectrum:ue,cssClasses:Me,create:We};n.create=We,n.cssClasses=Me,n.default=tt,Object.defineProperty(n,"__esModule",{value:!0})})(t)}));function Ih(e,t){var n=t.slice().sort();return e.length===t.length&&e.slice().sort().every(function(r,s){return r===n[s]})}var Oi={name:"Slider",emits:["input","update:modelValue","update","change","start","end"],props:{value:{validator:function(e){return t=>typeof t=="number"||t instanceof Array||t==null||t===!1},required:!1},modelValue:{validator:function(e){return t=>typeof t=="number"||t instanceof Array||t==null||t===!1},required:!1},id:{type:[String,Number],required:!1},disabled:{type:Boolean,required:!1,default:!1},min:{type:Number,required:!1,default:0},max:{type:Number,required:!1,default:100},step:{type:Number,required:!1,default:1},orientation:{type:String,required:!1,default:"horizontal"},direction:{type:String,required:!1,default:"ltr"},tooltips:{type:Boolean,required:!1,default:!0},options:{type:Object,required:!1,default:()=>({})},merge:{type:Number,required:!1,default:-1},format:{type:[Object,Function,Boolean],required:!1,default:null},classes:{type:Object,required:!1,default:()=>({})},showTooltip:{type:String,required:!1,default:"always"},tooltipPosition:{type:String,required:!1,default:null},lazy:{type:Boolean,required:!1,default:!0}},setup(e,t){const n=function(i,a,l){var c=oi(i),m=c.value,f=c.modelValue,d=a.expose!==void 0?f:m,p=bn(d.value);if(yc(d.value))throw new Error("Slider v-model must be a Number or Array");if(Array.isArray(d.value)&&d.value.length==0)throw new Error("Slider v-model must not be an empty array");return{value:d,initialValue:p}}(e,t),r=function(i,a,l){var c=oi(i),m=c.classes,f=c.showTooltip,d=c.tooltipPosition,p=c.orientation,h=At(function(){return Ph({target:"slider-target",focused:"slider-focused",tooltipFocus:"slider-tooltip-focus",tooltipDrag:"slider-tooltip-drag",ltr:"slider-ltr",rtl:"slider-rtl",horizontal:"slider-horizontal",vertical:"slider-vertical",textDirectionRtl:"slider-txt-dir-rtl",textDirectionLtr:"slider-txt-dir-ltr",base:"slider-base",connects:"slider-connects",connect:"slider-connect",origin:"slider-origin",handle:"slider-handle",handleLower:"slider-handle-lower",handleUpper:"slider-handle-upper",touchArea:"slider-touch-area",tooltip:"slider-tooltip",tooltipTop:"slider-tooltip-top",tooltipBottom:"slider-tooltip-bottom",tooltipLeft:"slider-tooltip-left",tooltipRight:"slider-tooltip-right",tooltipHidden:"slider-tooltip-hidden",active:"slider-active",draggable:"slider-draggable",tap:"slider-state-tap",drag:"slider-state-drag",pips:"slider-pips",pipsHorizontal:"slider-pips-horizontal",pipsVertical:"slider-pips-vertical",marker:"slider-marker",markerHorizontal:"slider-marker-horizontal",markerVertical:"slider-marker-vertical",markerNormal:"slider-marker-normal",markerLarge:"slider-marker-large",markerSub:"slider-marker-sub",value:"slider-value",valueHorizontal:"slider-value-horizontal",valueVertical:"slider-value-vertical",valueNormal:"slider-value-normal",valueLarge:"slider-value-large",valueSub:"slider-value-sub"},m.value)});return{classList:At(function(){var _=Ph({},h.value);return Object.keys(_).forEach(function(g){_[g]=Array.isArray(_[g])?_[g].filter(function(b){return b!==null}).join(" "):_[g]}),f.value!=="always"&&(_.target+=" ".concat(f.value==="drag"?_.tooltipDrag:_.tooltipFocus)),p.value==="horizontal"&&(_.tooltip+=d.value==="bottom"?" ".concat(_.tooltipBottom):" ".concat(_.tooltipTop)),p.value==="vertical"&&(_.tooltip+=d.value==="right"?" ".concat(_.tooltipRight):" ".concat(_.tooltipLeft)),_})}}(e),s=x8(e,0,{value:n.value,classList:r.classList}),o=function(i,a,l){var c=oi(i),m=c.orientation,f=c.direction,d=c.tooltips,p=c.step,h=c.min,_=c.max,g=c.merge,b=c.id,w=c.disabled,x=c.options,z=c.classes,S=c.format,T=c.lazy,j=l.value,F=l.initialValue,A=l.tooltipsFormat,M=l.tooltipsMerge,W=l.classList,I=bn(null),H=bn(null),B=bn(!1),oe=At(function(){var we={cssPrefix:"",cssClasses:W.value,orientation:m.value,direction:f.value,tooltips:!!d.value&&A.value,connect:"lower",start:yc(j.value)?h.value:j.value,range:{min:h.value,max:_.value}};return p.value>0&&(we.step=p.value),Array.isArray(j.value)&&(we.connect=!0),we}),J=At(function(){var we={id:b&&b.value?b.value:void 0};return w.value&&(we.disabled=!0),we}),ue=At(function(){return Array.isArray(j.value)}),ge=function(){var we=H.value.get();return Array.isArray(we)?we.map(function(U){return parseFloat(U)}):parseFloat(we)},Me=function(we){var U=!(arguments.length>1&&arguments[1]!==void 0)||arguments[1];H.value.set(we,U)},He=function(we){a.emit("input",we),a.emit("update:modelValue",we),a.emit("update",we)},he=function(){H.value=k8.create(I.value,Object.assign({},oe.value,x.value)),d.value&&ue.value&&g.value>=0&&M(I.value,g.value," - "),H.value.on("set",function(we){var U=ge();a.emit("change",U),T.value&&He(U)}),H.value.on("update",function(we){if(B.value){var U=ge();ue.value&&Ih(j.value,U)||!ue.value&&j.value==U?a.emit("update",U):T.value||He(U)}}),H.value.on("start",function(we){var U=ge();a.emit("start",U)}),H.value.on("end",function(we){var U=ge();a.emit("end",U)}),I.value.querySelectorAll("[data-handle]").forEach(function(we){we.onblur=function(){W.value.focused.split(" ").forEach(function(U){I.value.classList.remove(U)})},we.onfocus=function(){W.value.focused.split(" ").forEach(function(U){I.value.classList.add(U)})}}),B.value=!0},X=function(){H.value.off(),H.value.destroy(),H.value=null},me=function(we,U){B.value=!1,X(),he()};return Ps(he),ko(X),It(ue,me,{immediate:!1}),It(h,me,{immediate:!1}),It(_,me,{immediate:!1}),It(p,me,{immediate:!1}),It(m,me,{immediate:!1}),It(f,me,{immediate:!1}),It(d,me,{immediate:!1}),It(g,me,{immediate:!1}),It(S,me,{immediate:!1,deep:!0}),It(x,me,{immediate:!1,deep:!0}),It(z,me,{immediate:!1,deep:!0}),It(j,function(we){yc(we)?Me(h.value,!1):(ue.value&&!Ih(we,ge())||!ue.value&&we!=ge())&&Me(we,!1)},{deep:!0}),{slider:I,slider$:H,isRange:ue,sliderProps:J,init:he,destroy:X,refresh:me,update:Me,reset:function(){He(F.value)}}}(e,t,{value:n.value,initialValue:n.initialValue,tooltipsFormat:s.tooltipsFormat,tooltipsMerge:s.tooltipsMerge,classList:r.classList});return{...r,...s,...o}}};Oi.render=function(e,t,n,r,s,o){return E(),D("div",mm(e.sliderProps,{ref:"slider"}),null,16)},Oi.__file="src/Slider.vue";var Cd={},S8={get exports(){return Cd},set exports(e){Cd=e}},E8=[{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=E8,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}})(S8);var $8=1/0,A8="[object Symbol]",T8=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Ov="\\ud800-\\udfff",O8="\\u0300-\\u036f\\ufe20-\\ufe23",P8="\\u20d0-\\u20f0",Pv="\\u2700-\\u27bf",Dv="a-z\\xdf-\\xf6\\xf8-\\xff",D8="\\xac\\xb1\\xd7\\xf7",F8="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",I8="\\u2000-\\u206f",L8=" \\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",Fv="A-Z\\xc0-\\xd6\\xd8-\\xde",M8="\\ufe0e\\ufe0f",Iv=D8+F8+I8+L8,Lv="['’]",Lh="["+Iv+"]",R8="["+O8+P8+"]",Mv="\\d+",N8="["+Pv+"]",Rv="["+Dv+"]",Nv="[^"+Ov+Iv+Mv+Pv+Dv+Fv+"]",j8="\\ud83c[\\udffb-\\udfff]",V8="(?:"+R8+"|"+j8+")",B8="[^"+Ov+"]",jv="(?:\\ud83c[\\udde6-\\uddff]){2}",Vv="[\\ud800-\\udbff][\\udc00-\\udfff]",to="["+Fv+"]",H8="\\u200d",Mh="(?:"+Rv+"|"+Nv+")",U8="(?:"+to+"|"+Nv+")",Rh="(?:"+Lv+"(?:d|ll|m|re|s|t|ve))?",Nh="(?:"+Lv+"(?:D|LL|M|RE|S|T|VE))?",Bv=V8+"?",Hv="["+M8+"]?",q8="(?:"+H8+"(?:"+[B8,jv,Vv].join("|")+")"+Hv+Bv+")*",W8=Hv+Bv+q8,G8="(?:"+[N8,jv,Vv].join("|")+")"+W8,K8=RegExp([to+"?"+Rv+"+"+Rh+"(?="+[Lh,to,"$"].join("|")+")",U8+"+"+Nh+"(?="+[Lh,to+Mh,"$"].join("|")+")",to+"?"+Mh+"+"+Rh,to+"+"+Nh,Mv,G8].join("|"),"g"),Z8=/[a-z][A-Z]|[A-Z]{2,}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Y8=typeof on=="object"&&on&&on.Object===Object&&on,J8=typeof self=="object"&&self&&self.Object===Object&&self,X8=Y8||J8||Function("return this")();function Q8(e){return e.match(T8)||[]}function eA(e){return Z8.test(e)}function tA(e){return e.match(K8)||[]}var nA=Object.prototype,rA=nA.toString,jh=X8.Symbol,Vh=jh?jh.prototype:void 0,Bh=Vh?Vh.toString:void 0;function sA(e){if(typeof e=="string")return e;if(iA(e))return Bh?Bh.call(e):"";var t=e+"";return t=="0"&&1/e==-$8?"-0":t}function oA(e){return!!e&&typeof e=="object"}function iA(e){return typeof e=="symbol"||oA(e)&&rA.call(e)==A8}function aA(e){return e==null?"":sA(e)}function lA(e,t,n){return e=aA(e),t=n?void 0:t,t===void 0?eA(e)?tA(e):Q8(e):e.match(t)||[]}var uA=lA,cA=1/0,dA="[object Symbol]",mA=/^\s+/,Um="\\ud800-\\udfff",Uv="\\u0300-\\u036f\\ufe20-\\ufe23",qv="\\u20d0-\\u20f0",Wv="\\ufe0e\\ufe0f",fA="["+Um+"]",zd="["+Uv+qv+"]",xd="\\ud83c[\\udffb-\\udfff]",pA="(?:"+zd+"|"+xd+")",Gv="[^"+Um+"]",Kv="(?:\\ud83c[\\udde6-\\uddff]){2}",Zv="[\\ud800-\\udbff][\\udc00-\\udfff]",Yv="\\u200d",Jv=pA+"?",Xv="["+Wv+"]?",hA="(?:"+Yv+"(?:"+[Gv,Kv,Zv].join("|")+")"+Xv+Jv+")*",_A=Xv+Jv+hA,gA="(?:"+[Gv+zd+"?",zd,Kv,Zv,fA].join("|")+")",yA=RegExp(xd+"(?="+xd+")|"+gA+_A,"g"),vA=RegExp("["+Yv+Um+Uv+qv+Wv+"]"),bA=typeof on=="object"&&on&&on.Object===Object&&on,wA=typeof self=="object"&&self&&self.Object===Object&&self,CA=bA||wA||Function("return this")();function zA(e){return e.split("")}function xA(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 kA(e,t,n){if(t!==t)return xA(e,SA,n);for(var r=n-1,s=e.length;++r<s;)if(e[r]===t)return r;return-1}function SA(e){return e!==e}function EA(e,t){for(var n=-1,r=e.length;++n<r&&kA(t,e[n],0)>-1;);return n}function $A(e){return vA.test(e)}function Hh(e){return $A(e)?AA(e):zA(e)}function AA(e){return e.match(yA)||[]}var TA=Object.prototype,OA=TA.toString,Uh=CA.Symbol,qh=Uh?Uh.prototype:void 0,Wh=qh?qh.toString:void 0;function PA(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 Qv(e){if(typeof e=="string")return e;if(IA(e))return Wh?Wh.call(e):"";var t=e+"";return t=="0"&&1/e==-cA?"-0":t}function DA(e,t,n){var r=e.length;return n=n===void 0?r:n,!t&&n>=r?e:PA(e,t,n)}function FA(e){return!!e&&typeof e=="object"}function IA(e){return typeof e=="symbol"||FA(e)&&OA.call(e)==dA}function LA(e){return e==null?"":Qv(e)}function MA(e,t,n){if(e=LA(e),e&&(n||t===void 0))return e.replace(mA,"");if(!e||!(t=Qv(t)))return e;var r=Hh(e),s=EA(r,Hh(t));return DA(r,s).join("")}var RA=MA,kd=1/0,NA=9007199254740991,jA=17976931348623157e292,Gh=0/0,VA="[object Symbol]",BA=/^\s+|\s+$/g,HA=/^[-+]0x[0-9a-f]+$/i,UA=/^0b[01]+$/i,qA=/^0o[0-7]+$/i,qm="\\ud800-\\udfff",e1="\\u0300-\\u036f\\ufe20-\\ufe23",t1="\\u20d0-\\u20f0",n1="\\ufe0e\\ufe0f",WA="["+qm+"]",Sd="["+e1+t1+"]",Ed="\\ud83c[\\udffb-\\udfff]",GA="(?:"+Sd+"|"+Ed+")",r1="[^"+qm+"]",s1="(?:\\ud83c[\\udde6-\\uddff]){2}",o1="[\\ud800-\\udbff][\\udc00-\\udfff]",i1="\\u200d",a1=GA+"?",l1="["+n1+"]?",KA="(?:"+i1+"(?:"+[r1,s1,o1].join("|")+")"+l1+a1+")*",ZA=l1+a1+KA,YA="(?:"+[r1+Sd+"?",Sd,s1,o1,WA].join("|")+")",$d=RegExp(Ed+"(?="+Ed+")|"+YA+ZA,"g"),JA=RegExp("["+i1+qm+e1+t1+n1+"]"),XA=parseInt,QA=typeof on=="object"&&on&&on.Object===Object&&on,eT=typeof self=="object"&&self&&self.Object===Object&&self,tT=QA||eT||Function("return this")(),nT=sT("length");function rT(e){return e.split("")}function sT(e){return function(t){return t==null?void 0:t[e]}}function Wm(e){return JA.test(e)}function u1(e){return Wm(e)?iT(e):nT(e)}function oT(e){return Wm(e)?aT(e):rT(e)}function iT(e){for(var t=$d.lastIndex=0;$d.test(e);)t++;return t}function aT(e){return e.match($d)||[]}var lT=Object.prototype,uT=lT.toString,Kh=tT.Symbol,cT=Math.ceil,dT=Math.floor,Zh=Kh?Kh.prototype:void 0,Yh=Zh?Zh.toString:void 0;function Jh(e,t){var n="";if(!e||t<1||t>NA)return n;do t%2&&(n+=e),t=dT(t/2),t&&(e+=e);while(t);return n}function mT(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 c1(e){if(typeof e=="string")return e;if(d1(e))return Yh?Yh.call(e):"";var t=e+"";return t=="0"&&1/e==-kd?"-0":t}function fT(e,t,n){var r=e.length;return n=n===void 0?r:n,!t&&n>=r?e:mT(e,t,n)}function pT(e,t){t=t===void 0?" ":c1(t);var n=t.length;if(n<2)return n?Jh(t,e):t;var r=Jh(t,cT(e/u1(t)));return Wm(t)?fT(oT(r),0,e).join(""):r.slice(0,e)}function Xh(e){var t=typeof e;return!!e&&(t=="object"||t=="function")}function hT(e){return!!e&&typeof e=="object"}function d1(e){return typeof e=="symbol"||hT(e)&&uT.call(e)==VA}function _T(e){if(!e)return e===0?e:0;if(e=yT(e),e===kd||e===-kd){var t=e<0?-1:1;return t*jA}return e===e?e:0}function gT(e){var t=_T(e),n=t%1;return t===t?n?t-n:t:0}function yT(e){if(typeof e=="number")return e;if(d1(e))return Gh;if(Xh(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=Xh(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=e.replace(BA,"");var n=UA.test(e);return n||qA.test(e)?XA(e.slice(2),n?2:8):HA.test(e)?Gh:+e}function vT(e){return e==null?"":c1(e)}function bT(e,t,n){e=vT(e),t=gT(t);var r=t?u1(e):0;return t&&r<t?e+pT(t-r,n):e}var wT=bT,CT=(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|1<<8).toString(16).slice(1)}else r="";return(n|t<<8|e<<16|1<<24).toString(16).slice(1)+r};const Pi="a-f\\d",zT=`#?[${Pi}]{3}[${Pi}]?`,xT=`#?[${Pi}]{6}([${Pi}]{2})?`,kT=new RegExp(`[^#${Pi}]`,"gi"),ST=new RegExp(`^${zT}$|^${xT}$`,"i");var ET=(e,t={})=>{if(typeof e!="string"||kT.test(e)||!ST.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}},$T=Cd,AT=uA,TT=RA,OT=wT,PT=CT,m1=ET;const vc=.75,bc=.25,wc=16777215,DT=49979693;var FT=function(e){return"#"+MT(String(JSON.stringify(e)))};function IT(e){var t=AT(e),n=[];return t.forEach(function(r){var s=$T(r);s&&n.push(m1(TT(s,"#"),{format:"array"}))}),n}function LT(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 MT(e){var t,n=IT(e);n.length>0&&(t=LT(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(wc/s),r=(r+e[i].charCodeAt(0)*o*DT)%wc;var a=(r*e.length%wc).toString(16);a=OT(a,6,a);var l=m1(a,{format:"array"});return t?PT(bc*l[0]+vc*t[0],bc*l[1]+vc*t[1],bc*l[2]+vc*t[2]):a}function RT(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 NT(e){return RT(e)?"#000000":"#ffffff"}function jT(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 f1(e,t,n){const r=FT(t),s=NT(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 jT(o)}const VT={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:function(){return this.maxwidth>0&&this.maxheight>0?Z.artwork_url_append_size_params(this.artwork_url,this.maxwidth,this.maxheight):Z.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:function(){return f1(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 BT(e,t,n,r,s,o){const i=nu("lazy");return E(),D("figure",null,[xt(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 Pr=ve(VT,[["render",BT]]),HT={name:"PageNowPlaying",components:{ModalDialogQueueItem:yv,Slider:Oi,CoverArtwork:Pr},data(){return{item_progress_ms:0,interval_id:0,is_dragged:!1,show_details_modal:!1,selected_item:{}}},computed:{state(){return this.$store.state.player},now_playing(){return this.$store.getters.now_playing},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.now_playing.genre&&this.settings_option_show_composer_for_genre.toLowerCase().split(",").findIndex(e=>this.now_playing.genre.toLowerCase().indexOf(e.trim())>=0)>=0)?this.now_playing.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.now_playing.path:null}},watch:{state(){this.interval_id>0&&(window.clearTimeout(this.interval_id),this.interval_id=0),this.item_progress_ms=this.state.item_progress_ms,this.state.state==="play"&&(this.interval_id=window.setInterval(this.tick,1e3))}},mounted:function(){console.log(this.$refs.slider)},created(){this.item_progress_ms=this.state.item_progress_ms,Z.player_status().then(({data:e})=>{this.$store.commit(zm,e),this.state.state==="play"&&(this.interval_id=window.setInterval(this.tick,1e3))})},unmounted(){this.interval_id>0&&(window.clearTimeout(this.interval_id),this.interval_id=0)},methods:{tick:function(){this.is_dragged||(this.item_progress_ms+=1e3)},start_dragging:function(){console.log("@start"),this.is_dragged=!0},end_dragging:function(){console.log("@end"),this.is_dragged=!1},seek:function(e){Z.player_seek_to_pos(e).catch(()=>{this.item_progress_ms=this.state.item_progress_ms})},open_dialog:function(e){this.selected_item=e,this.show_details_modal=!0}}},UT={key:0,class:"fd-is-fullheight"},qT={class:"fd-is-expanded"},WT={class:"fd-has-padding-left-right"},GT={class:"container has-text-centered"},KT={class:"control has-text-centered fd-progress-now-playing"},ZT={class:"content"},YT=["textContent"],JT={class:"fd-has-padding-left-right"},XT={class:"container has-text-centered fd-has-margin-top"},QT=["textContent"],eO=["textContent"],tO=["textContent"],nO=["textContent"],rO=["textContent"],sO={key:1,class:"fd-is-fullheight"},oO={class:"fd-is-expanded fd-has-padding-left-right",style:{"flex-direction":"column"}},iO={class:"content has-text-centered"},aO=["textContent"],lO=["textContent"];function uO(e,t,n,r,s,o){const i=O("cover-artwork"),a=O("Slider"),l=O("modal-dialog-queue-item");return E(),D("section",null,[o.now_playing.id>0?(E(),D("div",UT,[u("div",qT,[C(i,{artwork_url:o.now_playing.artwork_url,artist:o.now_playing.artist,album:o.now_playing.album,class:"fd-cover-image fd-has-action",onClick:t[0]||(t[0]=c=>o.open_dialog(o.now_playing))},null,8,["artwork_url","artist","album"])]),u("div",WT,[u("div",GT,[u("p",KT,[C(a,{ref:"slider",modelValue:s.item_progress_ms,"onUpdate:modelValue":t[1]||(t[1]=c=>s.item_progress_ms=c),min:0,max:o.state.item_length_ms,step:1e3,tooltips:!1,disabled:o.state.state==="stop",classes:{target:"seek-slider"},onChange:o.seek,onStart:o.start_dragging,onEnd:o.end_dragging},null,8,["modelValue","max","disabled","onChange","onStart","onEnd"])]),u("p",ZT,[u("span",{textContent:v([e.$filters.durationInHours(s.item_progress_ms),e.$filters.durationInHours(o.now_playing.length_ms)].join(" / "))},null,8,YT)])])]),u("div",JT,[u("div",XT,[u("h1",{class:"title is-5",textContent:v(o.now_playing.title)},null,8,QT),u("h2",{class:"title is-6",textContent:v(o.now_playing.artist)},null,8,eO),o.composer?(E(),D("h2",{key:0,class:"subtitle is-6 has-text-grey has-text-weight-bold",textContent:v(o.composer)},null,8,tO)):Q("",!0),u("h3",{class:"subtitle is-6",textContent:v(o.now_playing.album)},null,8,nO),o.filepath?(E(),D("h3",{key:1,class:"subtitle is-6 has-text-grey",textContent:v(o.filepath)},null,8,rO)):Q("",!0)])])])):(E(),D("div",sO,[u("div",oO,[u("div",iO,[u("h1",{class:"title is-5",textContent:v(e.$("page.now-playing.title"))},null,8,aO),u("p",{textContent:v(e.$("page.now-playing.info"))},null,8,lO)])])])),C(l,{show:s.show_details_modal,item:s.selected_item,onClose:t[2]||(t[2]=c=>s.show_details_modal=!1)},null,8,["show","item"])])}const cO=ve(HT,[["render",uO]]),dO={name:"TabsMusic",computed:{spotify_enabled(){return this.$store.state.spotify.webapi_token_valid}}},mO={class:"section fd-tabs-section"},fO={class:"container"},pO={class:"columns is-centered"},hO={class:"column is-four-fifths"},_O={class:"tabs is-centered is-small"},gO=["onClick","onKeypress"],yO={class:"icon is-small"},vO=["textContent"],bO=["onClick","onKeypress"],wO={class:"icon is-small"},CO=["textContent"],zO=["onClick","onKeypress"],xO={class:"icon is-small"},kO=["textContent"],SO=["onClick","onKeypress"],EO={class:"icon is-small"},$O=["textContent"],AO=["onClick","onKeypress"],TO={class:"icon is-small"},OO=["textContent"],PO=["onClick","onKeypress"],DO={class:"icon is-small"},FO=["textContent"];function IO(e,t,n,r,s,o){const i=O("mdicon"),a=O("router-link");return E(),D("section",mO,[u("div",fO,[u("div",pO,[u("div",hO,[u("div",_O,[u("ul",null,[C(a,{to:"/music/browse",custom:""},{default:P(({navigate:l,isActive:c})=>[u("li",{class:Ye({"is-active":c})},[u("a",{onClick:l,onKeypress:Pn(l,["enter"])},[u("span",yO,[C(i,{name:"web",size:"16"})]),u("span",{textContent:v(e.$t("page.browse.tabs.browse"))},null,8,vO)],40,gO)],2)]),_:1}),C(a,{to:"/music/artists",custom:""},{default:P(({navigate:l,isActive:c})=>[u("li",{class:Ye({"is-active":c})},[u("a",{onClick:l,onKeypress:Pn(l,["enter"])},[u("span",wO,[C(i,{name:"account-music",size:"16"})]),u("span",{textContent:v(e.$t("page.browse.tabs.artists"))},null,8,CO)],40,bO)],2)]),_:1}),C(a,{to:"/music/albums",custom:""},{default:P(({navigate:l,isActive:c})=>[u("li",{class:Ye({"is-active":c})},[u("a",{onClick:l,onKeypress:Pn(l,["enter"])},[u("span",xO,[C(i,{name:"album",size:"16"})]),u("span",{textContent:v(e.$t("page.browse.tabs.albums"))},null,8,kO)],40,zO)],2)]),_:1}),C(a,{to:"/music/genres",custom:""},{default:P(({navigate:l,isActive:c})=>[u("li",{class:Ye({"is-active":c})},[u("a",{onClick:l,onKeypress:Pn(l,["enter"])},[u("span",EO,[C(i,{name:"speaker",size:"16"})]),u("span",{textContent:v(e.$t("page.browse.tabs.genres"))},null,8,$O)],40,SO)],2)]),_:1}),C(a,{to:"/music/composers",custom:""},{default:P(({navigate:l,isActive:c})=>[u("li",{class:Ye({"is-active":c})},[u("a",{onClick:l,onKeypress:Pn(l,["enter"])},[u("span",TO,[C(i,{name:"book-open-page-variant",size:"16"})]),u("span",{textContent:v(e.$t("page.browse.tabs.composers"))},null,8,OO)],40,AO)],2)]),_:1}),o.spotify_enabled?(E(),xe(a,{key:0,to:"/music/spotify",custom:""},{default:P(({navigate:l,isActive:c})=>[u("li",{class:Ye({"is-active":c})},[u("a",{onClick:l,onKeypress:Pn(l,["enter"])},[u("span",DO,[C(i,{name:"spotify",size:"16"})]),u("span",{textContent:v(e.$t("page.browse.tabs.spotify"))},null,8,FO)],40,PO)],2)]),_:1})):Q("",!0)])])])])])])}const gr=ve(dO,[["render",IO]]),LO={name:"ModalDialogAlbum",components:{CoverArtwork:Pr},props:["show","album","media_kind","new_tracks"],emits:["close","remove-podcast","play-count-changed"],data(){return{artwork_visible:!1}},computed:{artwork_url:function(){return Z.artwork_url_append_size_params(this.album.artwork_url)},media_kind_resolved:function(){return this.media_kind?this.media_kind:this.album.media_kind}},methods:{play:function(){this.$emit("close"),Z.player_play_uri(this.album.uri,!1)},queue_add:function(){this.$emit("close"),Z.queue_add(this.album.uri)},queue_add_next:function(){this.$emit("close"),Z.queue_add_next(this.album.uri)},open_album:function(){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:function(){this.media_kind_resolved==="podcast"||(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:function(){Z.library_album_track_update(this.album.id,{play_count:"played"}).then(({data:e})=>{this.$emit("play-count-changed"),this.$emit("close")})},artwork_loaded:function(){this.artwork_visible=!0},artwork_error:function(){this.artwork_visible=!1}}},MO={key:0,class:"modal is-active"},RO={class:"modal-content fd-modal-card"},NO={class:"card"},jO={class:"card-content"},VO={class:"title is-4"},BO=["textContent"],HO={key:0,class:"buttons"},UO=["textContent"],qO=["textContent"],WO={class:"content is-small"},GO={key:0},KO=["textContent"],ZO=["textContent"],YO={key:1},JO=["textContent"],XO=["textContent"],QO={key:2},e6=["textContent"],t6=["textContent"],n6=["textContent"],r6=["textContent"],s6=["textContent"],o6=["textContent"],i6=["textContent"],a6=["textContent"],l6=["textContent"],u6=["textContent"],c6={class:"card-footer"},d6={class:"icon"},m6=["textContent"],f6={class:"icon"},p6=["textContent"],h6={class:"icon"},_6=["textContent"];function g6(e,t,n,r,s,o){const i=O("cover-artwork"),a=O("mdicon");return E(),D("div",null,[C(qt,{name:"fade"},{default:P(()=>[n.show?(E(),D("div",MO,[u("div",{class:"modal-background",onClick:t[0]||(t[0]=l=>e.$emit("close"))}),u("div",RO,[u("div",NO,[u("div",jO,[C(i,{artwork_url:n.album.artwork_url,artist:n.album.artist,album:n.album.name,class:"image is-square fd-has-margin-bottom fd-has-shadow"},null,8,["artwork_url","artist","album"]),u("p",VO,[u("a",{class:"has-text-link",onClick:t[1]||(t[1]=(...l)=>o.open_album&&o.open_album(...l)),textContent:v(n.album.name)},null,8,BO)]),o.media_kind_resolved==="podcast"?(E(),D("div",HO,[u("a",{class:"button is-small",onClick:t[2]||(t[2]=(...l)=>o.mark_played&&o.mark_played(...l)),textContent:v(e.$t("dialog.album.mark-as-played"))},null,8,UO),u("a",{class:"button is-small",onClick:t[3]||(t[3]=l=>e.$emit("remove-podcast")),textContent:v(e.$t("dialog.album.remove-podcast"))},null,8,qO)])):Q("",!0),u("div",WO,[n.album.artist?(E(),D("p",GO,[u("span",{class:"heading",textContent:v(e.$t("dialog.album.artist"))},null,8,KO),u("a",{class:"title is-6 has-text-link",onClick:t[4]||(t[4]=(...l)=>o.open_artist&&o.open_artist(...l)),textContent:v(n.album.artist)},null,8,ZO)])):Q("",!0),n.album.date_released?(E(),D("p",YO,[u("span",{class:"heading",textContent:v(e.$t("dialog.album.release-date"))},null,8,JO),u("span",{class:"title is-6",textContent:v(e.$filters.date(n.album.date_released))},null,8,XO)])):n.album.year>0?(E(),D("p",QO,[u("span",{class:"heading",textContent:v(e.$t("dialog.album.year"))},null,8,e6),u("span",{class:"title is-6",textContent:v(n.album.year)},null,8,t6)])):Q("",!0),u("p",null,[u("span",{class:"heading",textContent:v(e.$t("dialog.album.tracks"))},null,8,n6),u("span",{class:"title is-6",textContent:v(n.album.track_count)},null,8,r6)]),u("p",null,[u("span",{class:"heading",textContent:v(e.$t("dialog.album.duration"))},null,8,s6),u("span",{class:"title is-6",textContent:v(e.$filters.durationInHours(n.album.length_ms))},null,8,o6)]),u("p",null,[u("span",{class:"heading",textContent:v(e.$t("dialog.album.type"))},null,8,i6),u("span",{class:"title is-6",textContent:v([e.$t("media.kind."+n.album.media_kind),e.$t("data.kind."+n.album.data_kind)].join(" - "))},null,8,a6)]),u("p",null,[u("span",{class:"heading",textContent:v(e.$t("dialog.album.added-on"))},null,8,l6),u("span",{class:"title is-6",textContent:v(e.$filters.datetime(n.album.time_added))},null,8,u6)])])]),u("footer",c6,[u("a",{class:"card-footer-item has-text-dark",onClick:t[5]||(t[5]=(...l)=>o.queue_add&&o.queue_add(...l))},[u("span",d6,[C(a,{name:"playlist-plus",size:"16"})]),u("span",{class:"is-size-7",textContent:v(e.$t("dialog.album.add"))},null,8,m6)]),u("a",{class:"card-footer-item has-text-dark",onClick:t[6]||(t[6]=(...l)=>o.queue_add_next&&o.queue_add_next(...l))},[u("span",f6,[C(a,{name:"playlist-play",size:"16"})]),u("span",{class:"is-size-7",textContent:v(e.$t("dialog.album.add-next"))},null,8,p6)]),u("a",{class:"card-footer-item has-text-dark",onClick:t[7]||(t[7]=(...l)=>o.play&&o.play(...l))},[u("span",h6,[C(a,{name:"play",size:"16"})]),u("span",{class:"is-size-7",textContent:v(e.$t("dialog.album.play"))},null,8,_6)])])])]),u("button",{class:"modal-close is-large","aria-label":"close",onClick:t[8]||(t[8]=l=>e.$emit("close"))})])):Q("",!0)]),_:1})])}const gu=ve(LO,[["render",g6]]),y6={name:"ModalDialog",props:["show","title","ok_action","delete_action","close_action"],emits:["delete","close","ok"]},v6={key:0,class:"modal is-active"},b6={class:"modal-content fd-modal-card"},w6={class:"card"},C6={class:"card-content"},z6=["textContent"],x6={class:"card-footer"},k6={class:"icon"},S6=["textContent"],E6={class:"icon"},$6=["textContent"],A6={class:"icon"},T6=["textContent"];function O6(e,t,n,r,s,o){const i=O("mdicon");return E(),D("div",null,[C(qt,{name:"fade"},{default:P(()=>[n.show?(E(),D("div",v6,[u("div",{class:"modal-background",onClick:t[0]||(t[0]=a=>e.$emit("close"))}),u("div",b6,[u("div",w6,[u("div",C6,[n.title?(E(),D("p",{key:0,class:"title is-4",textContent:v(n.title)},null,8,z6)):Q("",!0),zt(e.$slots,"modal-content")]),u("footer",x6,[u("a",{class:"card-footer-item has-text-dark",onClick:t[1]||(t[1]=a=>e.$emit("close"))},[u("span",k6,[C(i,{name:"cancel",size:"16"})]),u("span",{class:"is-size-7",textContent:v(n.close_action?n.close_action:e.t("dialog.cancel"))},null,8,S6)]),n.delete_action?(E(),D("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"))},[u("span",E6,[C(i,{name:"delete",size:"16"})]),u("span",{class:"is-size-7",textContent:v(n.delete_action)},null,8,$6)])):Q("",!0),n.ok_action?(E(),D("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"))},[u("span",A6,[C(i,{name:"check",size:"16"})]),u("span",{class:"is-size-7",textContent:v(n.ok_action)},null,8,T6)])):Q("",!0)])])]),u("button",{class:"modal-close is-large","aria-label":"close",onClick:t[4]||(t[4]=a=>e.$emit("close"))})])):Q("",!0)]),_:3})])}const Gm=ve(y6,[["render",O6]]),P6={name:"ListAlbums",components:{ModalDialogAlbum:gu,ModalDialog:Gm},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:{},artwork_options:{width:600,height:600,font_family:"sans-serif",font_size:200,font_weight:600,lazy_lifecycle:{error:e=>{e.src=this.dataURI(e.attributes.album.value,e.attributes.artist.value)}}}}},computed:{is_visible_artwork(){return this.$store.getters.settings_option("webinterface","show_cover_artwork_in_album_lists").value},media_kind_resolved:function(){return this.media_kind?this.media_kind:this.selected_album.media_kind}},methods:{open_album:function(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:function(e){this.selected_album=e,this.show_details_modal=!0},open_remove_podcast_dialog:function(){Z.library_album_tracks(this.selected_album.id,{limit:1}).then(({data:e})=>{Z.library_track_playlists(e.items[0].id).then(({data:t})=>{const n=t.items.filter(r=>r.type==="rss");if(n.length!==1){this.$store.dispatch("add_notification",{text:this.$t("list.albums.notification"),type:"danger"});return}this.rss_playlist_to_remove=n[0],this.show_remove_podcast_modal=!0,this.show_details_modal=!1})})},play_count_changed:function(){this.$emit("play-count-changed")},remove_podcast:function(){this.show_remove_podcast_modal=!1,Z.library_playlist_delete(this.rss_playlist_to_remove.id).then(()=>{this.$emit("podcast-deleted")})},artwork_url_with_size:function(e){return this.artwork_options.width>0&&this.artwork_options.height>0?Z.artwork_url_append_size_params(e,this.artwork_options.width,this.artwork_options.height):Z.artwork_url_append_size_params(e)},alt_text(e,t){return t+" - "+e},caption(e,t){return e?e.substring(0,2):t?t.substring(0,2):""},dataURI:function(e,t){const n=this.caption(e,t),r=this.alt_text(e,t);return f1(n,r,{width:this.artwork_options.width,height:this.artwork_options.height,font_family:this.artwork_options.font_family,font_size:this.artwork_options.font_size,font_weight:this.artwork_options.font_weight})}}},D6={key:0,class:"mt-6 mb-5 py-2"},F6=["id","textContent"],I6=["onClick"],L6={key:0,class:"media-left fd-has-action"},M6={class:"image is-64x64 fd-has-shadow fd-has-action"},R6=["album","artist"],N6={class:"media-content fd-has-action is-clipped"},j6={style:{"margin-top":"0.7rem"}},V6=["textContent"],B6={class:"subtitle is-7 has-text-grey"},H6=["textContent"],U6=["textContent"],q6={class:"media-right",style:{"padding-top":"0.7rem"}},W6=["onClick"],G6={class:"icon has-text-dark"},K6=["textContent"],Z6={class:"is-size-7"},Y6=yt(" ("),J6=["textContent"],X6=["textContent"],Q6=yt(") ");function e3(e,t,n,r,s,o){const i=O("mdicon"),a=O("modal-dialog-album"),l=O("modal-dialog"),c=nu("lazy");return E(),D(Ge,null,[(E(!0),D(Ge,null,wt(n.albums,m=>(E(),D(Ge,{key:m.itemId},[!m.isItem&&!n.hide_group_title?(E(),D("div",D6,[u("span",{id:"index_"+m.groupKey,class:"tag is-info is-light is-small has-text-weight-bold",textContent:v(m.groupKey)},null,8,F6)])):m.isItem?(E(),D("div",{key:1,class:"media",onClick:f=>o.open_album(m.item)},[o.is_visible_artwork?(E(),D("div",L6,[u("div",M6,[u("figure",null,[xt(u("img",{album:m.item.name,artist:m.item.artist},null,8,R6),[[c,{src:o.artwork_url_with_size(m.item.artwork_url),lifecycle:s.artwork_options.lazy_lifecycle,delay:500}]])])])])):Q("",!0),u("div",N6,[u("div",j6,[u("h1",{class:"title is-6",textContent:v(m.item.name)},null,8,V6),u("h2",B6,[u("b",{textContent:v(m.item.artist)},null,8,H6)]),m.item.date_released&&m.item.media_kind==="music"?(E(),D("h2",{key:0,class:"subtitle is-7 has-text-grey has-text-weight-normal",textContent:v(e.$filters.date(m.item.date_released))},null,8,U6)):Q("",!0)])]),u("div",q6,[u("a",{onClick:ht(f=>o.open_dialog(m.item),["prevent","stop"])},[u("span",G6,[C(i,{name:"dots-vertical",size:"16"})])],8,W6)])],8,I6)):Q("",!0)],64))),128)),(E(),xe(os,{to:"#app"},[C(a,{show:s.show_details_modal,album:s.selected_album,media_kind:n.media_kind,onRemovePodcast:t[0]||(t[0]=m=>o.open_remove_podcast_dialog()),onPlayCountChanged:t[1]||(t[1]=m=>o.play_count_changed()),onClose:t[2]||(t[2]=m=>s.show_details_modal=!1)},null,8,["show","album","media_kind"]),C(l,{show:s.show_remove_podcast_modal,title:"Remove podcast",delete_action:"Remove",onClose:t[3]||(t[3]=m=>s.show_remove_podcast_modal=!1),onDelete:o.remove_podcast},{"modal-content":P(()=>[u("p",{textContent:v(e.$t("list.albums.info-1"))},null,8,K6),u("p",Z6,[Y6,u("span",{textContent:v(e.$t("list.albums.info-2"))},null,8,J6),u("b",{textContent:v(s.rss_playlist_to_remove.name)},null,8,X6),Q6])]),_:1},8,["show","onDelete"])]))],64)}const yr=ve(P6,[["render",e3]]),t3={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 ar;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:function(){this.$emit("close"),Z.player_play_uri(this.track.uri,!1)},queue_add:function(){this.$emit("close"),Z.queue_add(this.track.uri)},queue_add_next:function(){this.$emit("close"),Z.queue_add_next(this.track.uri)},open_album:function(){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:function(){this.$emit("close"),this.$router.push({path:"/music/artists/"+this.track.album_artist_id})},open_genre:function(){this.$router.push({name:"Genre",params:{genre:this.track.genre}})},open_spotify_artist:function(){this.$emit("close"),this.$router.push({path:"/music/spotify/artists/"+this.spotify_track.artists[0].id})},open_spotify_album:function(){this.$emit("close"),this.$router.push({path:"/music/spotify/albums/"+this.spotify_track.album.id})},mark_new:function(){Z.library_track_update(this.track.id,{play_count:"reset"}).then(()=>{this.$emit("play-count-changed"),this.$emit("close")})},mark_played:function(){Z.library_track_update(this.track.id,{play_count:"increment"}).then(()=>{this.$emit("play-count-changed"),this.$emit("close")})}}},n3={key:0,class:"modal is-active"},r3={class:"modal-content fd-modal-card"},s3={class:"card"},o3={class:"card-content"},i3=["textContent"],a3=["textContent"],l3={key:0,class:"buttons"},u3=["textContent"],c3=["textContent"],d3={class:"content is-small"},m3=["textContent"],f3=["textContent"],p3={key:0},h3=["textContent"],_3=["textContent"],g3={key:1},y3=["textContent"],v3=["textContent"],b3={key:2},w3=["textContent"],C3=["textContent"],z3={key:3},x3=["textContent"],k3=["textContent"],S3={key:4},E3=["textContent"],$3=["textContent"],A3=["textContent"],T3=["textContent"],O3=["textContent"],P3=["textContent"],D3=["textContent"],F3=["textContent"],I3=["textContent"],L3={class:"title is-6"},M3=["textContent"],R3={key:0,class:"has-text-weight-normal"},N3=yt(" ("),j3=["textContent"],V3=yt(", "),B3=["textContent"],H3=yt(") "),U3=["textContent"],q3={class:"title is-6"},W3=["textContent"],G3=["textContent"],K3=["textContent"],Z3=["textContent"],Y3=["textContent"],J3=["textContent"],X3=["textContent"],Q3=["textContent"],e4={key:5},t4=["textContent"],n4=["textContent"],r4={class:"card-footer"},s4={class:"icon"},o4=["textContent"],i4={class:"icon"},a4=["textContent"],l4={class:"icon"},u4=["textContent"];function c4(e,t,n,r,s,o){const i=O("mdicon");return E(),D("div",null,[C(qt,{name:"fade"},{default:P(()=>[n.show?(E(),D("div",n3,[u("div",{class:"modal-background",onClick:t[0]||(t[0]=a=>e.$emit("close"))}),u("div",r3,[u("div",s3,[u("div",o3,[u("p",{class:"title is-4",textContent:v(n.track.title)},null,8,i3),u("p",{class:"subtitle",textContent:v(n.track.artist)},null,8,a3),n.track.media_kind==="podcast"?(E(),D("div",l3,[n.track.play_count>0?(E(),D("a",{key:0,class:"button is-small",onClick:t[1]||(t[1]=(...a)=>o.mark_new&&o.mark_new(...a)),textContent:v(e.$t("dialog.track.mark-as-new"))},null,8,u3)):Q("",!0),n.track.play_count===0?(E(),D("a",{key:1,class:"button is-small",onClick:t[2]||(t[2]=(...a)=>o.mark_played&&o.mark_played(...a)),textContent:v(e.$t("dialog.track.mark-as-played"))},null,8,c3)):Q("",!0)])):Q("",!0),u("div",d3,[u("p",null,[u("span",{class:"heading",textContent:v(e.$t("dialog.track.album"))},null,8,m3),u("a",{class:"title is-6 has-text-link",onClick:t[3]||(t[3]=(...a)=>o.open_album&&o.open_album(...a)),textContent:v(n.track.album)},null,8,f3)]),n.track.album_artist&&n.track.media_kind!=="audiobook"?(E(),D("p",p3,[u("span",{class:"heading",textContent:v(e.$t("dialog.track.album-artist"))},null,8,h3),u("a",{class:"title is-6 has-text-link",onClick:t[4]||(t[4]=(...a)=>o.open_artist&&o.open_artist(...a)),textContent:v(n.track.album_artist)},null,8,_3)])):Q("",!0),n.track.composer?(E(),D("p",g3,[u("span",{class:"heading",textContent:v(e.$t("dialog.track.composer"))},null,8,y3),u("span",{class:"title is-6",textContent:v(n.track.composer)},null,8,v3)])):Q("",!0),n.track.date_released?(E(),D("p",b3,[u("span",{class:"heading",textContent:v(e.$t("dialog.track.release-date"))},null,8,w3),u("span",{class:"title is-6",textContent:v(e.$filters.date(n.track.date_released))},null,8,C3)])):n.track.year>0?(E(),D("p",z3,[u("span",{class:"heading",textContent:v(e.$t("dialog.track.year"))},null,8,x3),u("span",{class:"title is-6",textContent:v(n.track.year)},null,8,k3)])):Q("",!0),n.track.genre?(E(),D("p",S3,[u("span",{class:"heading",textContent:v(e.$t("dialog.track.genre"))},null,8,E3),u("a",{class:"title is-6 has-text-link",onClick:t[5]||(t[5]=(...a)=>o.open_genre&&o.open_genre(...a)),textContent:v(n.track.genre)},null,8,$3)])):Q("",!0),u("p",null,[u("span",{class:"heading",textContent:v(e.$t("dialog.track.position"))},null,8,A3),u("span",{class:"title is-6",textContent:v([n.track.disc_number,n.track.track_number].join(" / "))},null,8,T3)]),u("p",null,[u("span",{class:"heading",textContent:v(e.$t("dialog.track.duration"))},null,8,O3),u("span",{class:"title is-6",textContent:v(e.$filters.durationInHours(n.track.length_ms))},null,8,P3)]),u("p",null,[u("span",{class:"heading",textContent:v(e.$t("dialog.track.path"))},null,8,D3),u("span",{class:"title is-6",textContent:v(n.track.path)},null,8,F3)]),u("p",null,[u("span",{class:"heading",textContent:v(e.$t("dialog.track.type"))},null,8,I3),u("span",L3,[u("span",{textContent:v([e.$t("media.kind."+n.track.media_kind),e.$t("data.kind."+n.track.data_kind)].join(" - "))},null,8,M3),n.track.data_kind==="spotify"?(E(),D("span",R3,[N3,u("a",{onClick:t[6]||(t[6]=(...a)=>o.open_spotify_artist&&o.open_spotify_artist(...a)),textContent:v(e.$t("dialog.track.spotify-artist"))},null,8,j3),V3,u("a",{onClick:t[7]||(t[7]=(...a)=>o.open_spotify_album&&o.open_spotify_album(...a)),textContent:v(e.$t("dialog.track.spotify-album"))},null,8,B3),H3])):Q("",!0)])]),u("p",null,[u("span",{class:"heading",textContent:v(e.$t("dialog.track.quality"))},null,8,U3),u("span",q3,[u("span",{textContent:v(n.track.type)},null,8,W3),n.track.samplerate?(E(),D("span",{key:0,textContent:v(e.$t("dialog.track.samplerate",{rate:n.track.samplerate}))},null,8,G3)):Q("",!0),n.track.channels?(E(),D("span",{key:1,textContent:v(e.$t("dialog.track.channels",{channels:e.$filters.channels(n.track.channels)}))},null,8,K3)):Q("",!0),n.track.bitrate?(E(),D("span",{key:2,textContent:v(e.$t("dialog.track.bitrate",{rate:n.track.bitrate}))},null,8,Z3)):Q("",!0)])]),u("p",null,[u("span",{class:"heading",textContent:v(e.$t("dialog.track.added-on"))},null,8,Y3),u("span",{class:"title is-6",textContent:v(e.$filters.datetime(n.track.time_added))},null,8,J3)]),u("p",null,[u("span",{class:"heading",textContent:v(e.$t("dialog.track.rating"))},null,8,X3),u("span",{class:"title is-6",textContent:v(e.$t("dialog.track.rating-value",{rating:Math.floor(n.track.rating/10)}))},null,8,Q3)]),n.track.comment?(E(),D("p",e4,[u("span",{class:"heading",textContent:v(e.$t("dialog.track.comment"))},null,8,t4),u("span",{class:"title is-6",textContent:v(n.track.comment)},null,8,n4)])):Q("",!0)])]),u("footer",r4,[u("a",{class:"card-footer-item has-text-dark",onClick:t[8]||(t[8]=(...a)=>o.queue_add&&o.queue_add(...a))},[u("span",s4,[C(i,{name:"playlist-plus",size:"16"})]),u("span",{class:"is-size-7",textContent:v(e.$t("dialog.track.add"))},null,8,o4)]),u("a",{class:"card-footer-item has-text-dark",onClick:t[9]||(t[9]=(...a)=>o.queue_add_next&&o.queue_add_next(...a))},[u("span",i4,[C(i,{name:"playlist-play",size:"16"})]),u("span",{class:"is-size-7",textContent:v(e.$t("dialog.track.add-next"))},null,8,a4)]),u("a",{class:"card-footer-item has-text-dark",onClick:t[10]||(t[10]=(...a)=>o.play_track&&o.play_track(...a))},[u("span",l4,[C(i,{name:"play",size:"16"})]),u("span",{class:"is-size-7",textContent:v(e.$t("dialog.track.play"))},null,8,u4)])])])]),u("button",{class:"modal-close is-large","aria-label":"close",onClick:t[11]||(t[11]=a=>e.$emit("close"))})])):Q("",!0)]),_:1})])}const d4=ve(t3,[["render",c4]]),m4={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 f4(e,t,n,r,s,o){return o.width>0?(E(),D("div",{key:0,class:"progress-bar mt-2",style:ss({width:o.width_percent})},null,4)):Q("",!0)}const p4=ve(m4,[["render",f4]]),h4={name:"ListTracks",components:{ModalDialogTrack:d4,ProgressBar:p4},props:["tracks","uris","expression","show_progress","show_icon"],emits:["play-count-changed"],data(){return{show_details_modal:!1,selected_track:{}}},methods:{play_track:function(e,t){this.uris?Z.player_play_uri(this.uris,!1,e):this.expression?Z.player_play_expression(this.expression,!1,e):Z.player_play_uri(t.uri,!1)},open_dialog:function(e){this.selected_track=e,this.show_details_modal=!0}}},_4={key:0,class:"mt-6 mb-5 py-2"},g4=["id","textContent"],y4=["onClick"],v4={key:0,class:"media-left fd-has-action"},b4={class:"icon"},w4={class:"media-content fd-has-action is-clipped"},C4=["textContent"],z4=["textContent"],x4=["textContent"],k4={class:"media-right"},S4=["onClick"],E4={class:"icon has-text-dark"};function $4(e,t,n,r,s,o){const i=O("mdicon"),a=O("progress-bar"),l=O("modal-dialog-track");return E(),D(Ge,null,[(E(!0),D(Ge,null,wt(n.tracks,c=>(E(),D(Ge,{key:c.itemId},[c.isItem?c.isItem?(E(),D("div",{key:1,class:Ye(["media",{"with-progress":n.show_progress}]),onClick:m=>o.play_track(e.index,c.item)},[n.show_icon?(E(),D("figure",v4,[u("span",b4,[C(i,{name:"file-outline",size:"16"})])])):Q("",!0),u("div",w4,[u("h1",{class:Ye(["title is-6",{"has-text-grey":c.item.media_kind==="podcast"&&c.item.play_count>0}]),textContent:v(c.item.title)},null,10,C4),u("h2",{class:"subtitle is-7 has-text-grey",textContent:v(c.item.artist)},null,8,z4),u("h2",{class:"subtitle is-7 has-text-grey",textContent:v(c.item.album)},null,8,x4),n.show_progress?(E(),xe(a,{key:0,max:c.item.length_ms,value:c.item.seek_ms},null,8,["max","value"])):Q("",!0)]),u("div",k4,[u("a",{onClick:ht(m=>o.open_dialog(c.item),["prevent","stop"])},[u("span",E4,[C(i,{name:"dots-vertical",size:"16"})])],8,S4)])],10,y4)):Q("",!0):(E(),D("div",_4,[u("span",{id:"index_"+c.groupKey,class:"tag is-info is-light is-small has-text-weight-bold",textContent:v(c.groupKey)},null,8,g4)]))],64))),128)),(E(),xe(os,{to:"#app"},[C(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 Rn=ve(h4,[["render",$4]]),{t:Cc,locale:Km}=Hi.global,p1="GROUP_KEY_NONE";function h1(){return{compareFn:null,groupKeyFn:e=>p1}}function Ao(e,t="_"){return{compareFn:null,groupKeyFn:n=>(n[e]||t).charAt(0).toUpperCase()}}function Gi(e,t="_"){return{compareFn:(n,r)=>{const s=n[e]||t,o=r[e]||t;return s.localeCompare(o,Km.value)},groupKeyFn:n=>(n[e]||t).charAt(0).toUpperCase()}}function Zm(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 Il(e,{direction:t="asc",defaultValue:n="0000"}){return{compareFn:(r,s)=>{const o=r[e]||n,i=s[e]||n,a=o.localeCompare(i,Km.value);return t==="asc"?a:a*-1},groupKeyFn:r=>(r[e]||n).substring(0,4)}}function A4(e,t="0000"){return{compareFn:(n,r)=>{const s=n[e]||t;return(r[e]||t).localeCompare(s,Km.value)},groupKeyFn:n=>{const r=n[e];if(!r)return t;const s=new Date().getTime()-new Date(r).getTime();return s<864e5?Cc("group-by-list.today"):s<6048e5?Cc("group-by-list.last-week"):s<2592e6?Cc("group-by-list.last-month"):r.substring(0,4)}}}class Re{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(h1())}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]!==p1))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 wa={load:function(e){return Promise.all([Z.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}),Z.search({type:"track",expression:"time_played after 8 weeks ago and media_kind is music order by time_played desc",limit:3})])},set:function(e,t){e.recently_added=new Re(t[0].data.albums),e.recently_played=new Re(t[1].data.tracks)}},T4={name:"PageBrowse",components:{ContentWithHeading:ft,TabsMusic:gr,ListAlbums:yr,ListTracks:Rn},beforeRouteEnter(e,t,n){wa.load(e).then(r=>{n(s=>wa.set(s,r))})},beforeRouteUpdate(e,t,n){const r=this;wa.load(e).then(s=>{wa.set(r,s),n()})},data(){return{recently_added:[],recently_played:{items:[]},show_track_details_modal:!1,selected_track:{}}},methods:{open_browse:function(e){this.$router.push({path:"/music/browse/"+e})}}},O4={class:"fd-page-with-tabs"},P4=["textContent"],D4=["textContent"],F4={class:"level"},I4={class:"level-item"},L4=["textContent"],M4=["textContent"],R4=["textContent"],N4={class:"level"},j4={class:"level-item"},V4=["textContent"];function B4(e,t,n,r,s,o){const i=O("tabs-music"),a=O("list-albums"),l=O("content-with-heading"),c=O("list-tracks");return E(),D("div",O4,[C(i),C(l,null,{"heading-left":P(()=>[u("p",{class:"title is-4",textContent:v(e.$t("page.browse.recently-added.title"))},null,8,P4),u("p",{class:"heading",textContent:v(e.$t("page.browse.albums"))},null,8,D4)]),content:P(()=>[C(a,{albums:s.recently_added},null,8,["albums"])]),footer:P(()=>[u("nav",F4,[u("p",I4,[u("a",{class:"button is-light is-small is-rounded",onClick:t[0]||(t[0]=m=>o.open_browse("recently_added")),textContent:v(e.$t("page.browse.show-more"))},null,8,L4)])])]),_:1}),C(l,null,{"heading-left":P(()=>[u("p",{class:"title is-4",textContent:v(e.$t("page.browse.recently-played.title"))},null,8,M4),u("p",{class:"heading",textContent:v(e.$t("page.browse.tracks"))},null,8,R4)]),content:P(()=>[C(c,{tracks:s.recently_played},null,8,["tracks"])]),footer:P(()=>[u("nav",N4,[u("p",j4,[u("a",{class:"button is-light is-small is-rounded",onClick:t[1]||(t[1]=m=>o.open_browse("recently_played")),textContent:v(e.$t("page.browse.show-more"))},null,8,V4)])])]),_:1})])}const H4=ve(T4,[["render",B4]]),Ca={load:function(e){const t=it.getters.settings_option_recently_added_limit;return Z.search({type:"album",expression:"media_kind is music having track_count > 3 order by time_added desc",limit:t})},set:function(e,t){e.recently_added=new Re(t.data.albums),e.recently_added.group(A4("time_added",{direction:"desc",defaultValue:"0000"}))}},U4={name:"PageBrowseType",components:{ContentWithHeading:ft,TabsMusic:gr,ListAlbums:yr},beforeRouteEnter(e,t,n){Ca.load(e).then(r=>{n(s=>Ca.set(s,r))})},beforeRouteUpdate(e,t,n){if(!this.recently_added.isEmpty()){n();return}const r=this;Ca.load(e).then(s=>{Ca.set(r,s),n()})},data(){return{recently_added:new Re}}},q4={class:"fd-page-with-tabs"},W4=["textContent"],G4=["textContent"];function K4(e,t,n,r,s,o){const i=O("tabs-music"),a=O("list-albums"),l=O("content-with-heading");return E(),D("div",q4,[C(i),C(l,null,{"heading-left":P(()=>[u("p",{class:"title is-4",textContent:v(e.$t("page.browse.recently-added.title"))},null,8,W4),u("p",{class:"heading",textContent:v(e.$t("page.browse.recently-added.albums"))},null,8,G4)]),content:P(()=>[C(a,{albums:s.recently_added},null,8,["albums"])]),_:1})])}const Z4=ve(U4,[["render",K4]]),za={load:function(e){return Z.search({type:"track",expression:"time_played after 8 weeks ago and media_kind is music order by time_played desc",limit:50})},set:function(e,t){e.recently_played=new Re(t.data.tracks)}},Y4={name:"PageBrowseType",components:{ContentWithHeading:ft,TabsMusic:gr,ListTracks:Rn},beforeRouteEnter(e,t,n){za.load(e).then(r=>{n(s=>za.set(s,r))})},beforeRouteUpdate(e,t,n){const r=this;za.load(e).then(s=>{za.set(r,s),n()})},data(){return{recently_played:{}}}},J4={class:"fd-page-with-tabs"},X4=["textContent"],Q4=["textContent"];function e5(e,t,n,r,s,o){const i=O("tabs-music"),a=O("list-tracks"),l=O("content-with-heading");return E(),D("div",J4,[C(i),C(l,null,{"heading-left":P(()=>[u("p",{class:"title is-4",textContent:v(e.$t("page.browse.recently-played.title"))},null,8,X4),u("p",{class:"heading",textContent:v(e.$t("page.browse.recently-played.tracks"))},null,8,Q4)]),content:P(()=>[C(a,{tracks:s.recently_played},null,8,["tracks"])]),_:1})])}const t5=ve(Y4,[["render",e5]]),n5={name:"IndexButtonList",props:["index"],computed:{filtered_index(){if(!this.index)return[];const e="!\"#$%&'()*+,-./:;<=>?@[\\]^`{|}~";return this.index.filter(t=>!e.includes(t))}},methods:{nav:function(e){this.$router.push({hash:"#index_"+e})},scroll_to_top:function(){window.scrollTo({top:0,behavior:"smooth"})}}},r5={class:"buttons is-centered fd-is-square",style:{"margin-bottom":"16px"}},s5=["onClick","textContent"];function o5(e,t,n,r,s,o){return E(),D("section",null,[u("nav",r5,[(E(!0),D(Ge,null,wt(o.filtered_index,i=>(E(),D("a",{key:i,class:"button is-small",onClick:a=>o.nav(i),textContent:v(i)},null,8,s5))),128))])])}const vr=ve(n5,[["render",o5]]),i5={name:"ModalDialogArtist",props:["show","artist"],emits:["close"],methods:{play:function(){this.$emit("close"),Z.player_play_uri(this.artist.uri,!1)},queue_add:function(){this.$emit("close"),Z.queue_add(this.artist.uri)},queue_add_next:function(){this.$emit("close"),Z.queue_add_next(this.artist.uri)},open_artist:function(){this.$emit("close"),this.$router.push({path:"/music/artists/"+this.artist.id})}}},a5={key:0,class:"modal is-active"},l5={class:"modal-content fd-modal-card"},u5={class:"card"},c5={class:"card-content"},d5={class:"title is-4"},m5=["textContent"],f5={class:"content is-small"},p5=["textContent"],h5=["textContent"],_5=["textContent"],g5=["textContent"],y5=["textContent"],v5=["textContent"],b5=["textContent"],w5=["textContent"],C5={class:"card-footer"},z5={class:"icon"},x5=["textContent"],k5={class:"icon"},S5=["textContent"],E5={class:"icon"},$5=["textContent"];function A5(e,t,n,r,s,o){const i=O("mdicon");return E(),D("div",null,[C(qt,{name:"fade"},{default:P(()=>[n.show?(E(),D("div",a5,[u("div",{class:"modal-background",onClick:t[0]||(t[0]=a=>e.$emit("close"))}),u("div",l5,[u("div",u5,[u("div",c5,[u("p",d5,[u("a",{class:"has-text-link",onClick:t[1]||(t[1]=(...a)=>o.open_artist&&o.open_artist(...a)),textContent:v(n.artist.name)},null,8,m5)]),u("div",f5,[u("p",null,[u("span",{class:"heading",textContent:v(e.$t("dialog.artist.albums"))},null,8,p5),u("span",{class:"title is-6",textContent:v(n.artist.album_count)},null,8,h5)]),u("p",null,[u("span",{class:"heading",textContent:v(e.$t("dialog.artist.tracks"))},null,8,_5),u("span",{class:"title is-6",textContent:v(n.artist.track_count)},null,8,g5)]),u("p",null,[u("span",{class:"heading",textContent:v(e.$t("dialog.artist.type"))},null,8,y5),u("span",{class:"title is-6",textContent:v(e.$t("data.kind."+n.artist.data_kind))},null,8,v5)]),u("p",null,[u("span",{class:"heading",textContent:v(e.$t("dialog.artist.added-on"))},null,8,b5),u("span",{class:"title is-6",textContent:v(e.$filters.datetime(n.artist.time_added))},null,8,w5)])])]),u("footer",C5,[u("a",{class:"card-footer-item has-text-dark",onClick:t[2]||(t[2]=(...a)=>o.queue_add&&o.queue_add(...a))},[u("span",z5,[C(i,{name:"playlist-plus",size:"16"})]),u("span",{class:"is-size-7",textContent:v(e.$t("dialog.artist.add"))},null,8,x5)]),u("a",{class:"card-footer-item has-text-dark",onClick:t[3]||(t[3]=(...a)=>o.queue_add_next&&o.queue_add_next(...a))},[u("span",k5,[C(i,{name:"playlist-play",size:"16"})]),u("span",{class:"is-size-7",textContent:v(e.$t("dialog.artist.add-next"))},null,8,S5)]),u("a",{class:"card-footer-item has-text-dark",onClick:t[4]||(t[4]=(...a)=>o.play&&o.play(...a))},[u("span",E5,[C(i,{name:"play",size:"16"})]),u("span",{class:"is-size-7",textContent:v(e.$t("dialog.artist.play"))},null,8,$5)])])])]),u("button",{class:"modal-close is-large","aria-label":"close",onClick:t[5]||(t[5]=a=>e.$emit("close"))})])):Q("",!0)]),_:1})])}const yu=ve(i5,[["render",A5]]),T5={name:"ListArtists",components:{ModalDialogArtist:yu},props:["artists","media_kind","hide_group_title"],data(){return{show_details_modal:!1,selected_artist:{}}},computed:{media_kind_resolved:function(){return this.media_kind?this.media_kind:this.selected_artist.media_kind}},methods:{open_artist:function(e){this.selected_artist=e,this.media_kind_resolved==="podcast"||(this.media_kind_resolved==="audiobook"?this.$router.push({path:"/audiobooks/artists/"+e.id}):this.$router.push({path:"/music/artists/"+e.id}))},open_dialog:function(e){this.selected_artist=e,this.show_details_modal=!0}}},O5={key:0,class:"mt-6 mb-5 py-2"},P5={class:"media-content is-clipped"},D5=["id","textContent"],F5=["onClick"],I5={class:"media-content fd-has-action is-clipped"},L5=["textContent"],M5={class:"media-right"},R5=["onClick"],N5={class:"icon has-text-dark"};function j5(e,t,n,r,s,o){const i=O("mdicon"),a=O("modal-dialog-artist");return E(),D(Ge,null,[(E(!0),D(Ge,null,wt(n.artists,l=>(E(),D(Ge,{key:l.itemId},[!l.isItem&&!n.hide_group_title?(E(),D("div",O5,[u("div",P5,[u("span",{id:"index_"+l.groupKey,class:"tag is-info is-light is-small has-text-weight-bold",textContent:v(l.groupKey)},null,8,D5)])])):l.isItem?(E(),D("div",{key:1,class:"media",onClick:c=>o.open_artist(l.item)},[u("div",I5,[u("h1",{class:"title is-6",textContent:v(l.item.name)},null,8,L5)]),u("div",M5,[u("a",{onClick:ht(c=>o.open_dialog(l.item),["prevent","stop"])},[u("span",N5,[C(i,{name:"dots-vertical",size:"16"})])],8,R5)])],8,F5)):Q("",!0)],64))),128)),(E(),xe(os,{to:"#app"},[C(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 Ym=ve(T5,[["render",j5]]),V5={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)}}},B5={class:"dropdown-trigger"},H5=["textContent"],U5={class:"icon"},q5={id:"dropdown-menu",class:"dropdown-menu",role:"menu"},W5={class:"dropdown-content"},G5=["onClick","textContent"];function K5(e,t,n,r,s,o){const i=O("mdicon"),a=nu("click-away");return xt((E(),D("div",{class:Ye(["dropdown",{"is-active":s.is_active}])},[u("div",B5,[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:v(o.option.name)},null,8,H5),u("span",U5,[C(i,{name:"chevron-down",size:"16"})])])]),u("div",q5,[u("div",W5,[(E(!0),D(Ge,null,wt(n.options,l=>(E(),D("a",{key:l.id,class:Ye(["dropdown-item",{"is-active":n.modelValue===l.id}]),onClick:c=>o.select(l),textContent:v(l.name)},null,10,G5))),128))])])],2)),[[a,o.onClickOutside]])}const Is=ve(V5,[["render",K5]]),xa={load:function(e){return Z.library_artists("music")},set:function(e,t){e.artists_list=new Re(t.data)}},Z5={name:"PageArtists",components:{ContentWithHeading:ft,TabsMusic:gr,IndexButtonList:vr,ListArtists:Ym,DropdownMenu:Is},beforeRouteEnter(e,t,n){xa.load(e).then(r=>{n(s=>xa.set(s,r))})},beforeRouteUpdate(e,t,n){if(!this.artists_list.isEmpty()){n();return}const r=this;xa.load(e).then(s=>{xa.set(r,s),n()})},data(){return{artists_list:new Re,groupby_options:[{id:1,name:this.$t("page.artists.sort-by.name"),options:Ao("name_sort")},{id:2,name:this.$t("page.artists.sort-by.recently-added"),options:Il("time_added",{direction:"desc",defaultValue:"0000"})}]}},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(Ry,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(cu,e)}},hide_spotify:{get(){return this.$store.state.hide_spotify},set(e){this.$store.commit(Em,e)}}},methods:{}},Y5={class:"fd-page-with-tabs"},J5={class:"columns"},X5={class:"column"},Q5=["textContent"],eP={class:"field"},tP={class:"control"},nP=["textContent"],rP=["textContent"],sP={key:0,class:"field"},oP={class:"control"},iP=["textContent"],aP=["textContent"],lP={class:"column"},uP=["textContent"],cP=["textContent"],dP=["textContent"];function mP(e,t,n,r,s,o){const i=O("tabs-music"),a=O("index-button-list"),l=O("dropdown-menu"),c=O("list-artists"),m=O("content-with-heading");return E(),D("div",Y5,[C(i),C(m,null,{options:P(()=>[C(a,{index:o.artists.indexList},null,8,["index"]),u("div",J5,[u("div",X5,[u("p",{class:"heading",style:{"margin-bottom":"24px"},textContent:v(e.$t("page.artists.filter"))},null,8,Q5),u("div",eP,[u("div",tP,[xt(u("input",{id:"switchHideSingles","onUpdate:modelValue":t[0]||(t[0]=f=>o.hide_singles=f),type:"checkbox",name:"switchHideSingles",class:"switch"},null,512),[[Er,o.hide_singles]]),u("label",{for:"switchHideSingles",textContent:v(e.$t("page.artists.hide-singles"))},null,8,nP)]),u("p",{class:"help",textContent:v(e.$t("page.artists.hide-singles-help"))},null,8,rP)]),o.spotify_enabled?(E(),D("div",sP,[u("div",oP,[xt(u("input",{id:"switchHideSpotify","onUpdate:modelValue":t[1]||(t[1]=f=>o.hide_spotify=f),type:"checkbox",name:"switchHideSpotify",class:"switch"},null,512),[[Er,o.hide_spotify]]),u("label",{for:"switchHideSpotify",textContent:v(e.$t("page.artists.hide-spotify"))},null,8,iP)]),u("p",{class:"help",textContent:v(e.$t("page.artists.hide-spotify-help"))},null,8,aP)])):Q("",!0)]),u("div",lP,[u("p",{class:"heading",style:{"margin-bottom":"24px"},textContent:v(e.$t("page.artists.sort-by.title"))},null,8,uP),C(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":P(()=>[u("p",{class:"title is-4",textContent:v(e.$t("page.artists.title"))},null,8,cP),u("p",{class:"heading",textContent:v(e.$t("page.artists.count",{count:o.artists.count}))},null,8,dP)]),"heading-right":P(()=>[]),content:P(()=>[C(c,{artists:o.artists},null,8,["artists"])]),_:1})])}const fP=ve(Z5,[["render",mP]]),ka={load:function(e){return Promise.all([Z.library_artist(e.params.artist_id),Z.library_artist_albums(e.params.artist_id)])},set:function(e,t){e.artist=t[0].data,e.albums_list=new Re(t[1].data)}},pP={name:"PageArtist",components:{ContentWithHeading:ft,ListAlbums:yr,ModalDialogArtist:yu,DropdownMenu:Is},beforeRouteEnter(e,t,n){ka.load(e).then(r=>{n(s=>ka.set(s,r))})},beforeRouteUpdate(e,t,n){const r=this;ka.load(e).then(s=>{ka.set(r,s),n()})},data(){return{artist:{},albums_list:new Re,groupby_options:[{id:1,name:this.$t("page.artist.sort-by.name"),options:Ao("name_sort")},{id:2,name:this.$t("page.artist.sort-by.release-date"),options:Il("date_released",{direction:"asc",defaultValue:"0000"})}],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(Ny,e)}}},methods:{open_tracks:function(){this.$router.push({path:"/music/artists/"+this.artist.id+"/tracks"})},play:function(){Z.player_play_uri(this.albums.items.map(e=>e.uri).join(","),!0)}}},hP={class:"columns"},_P={class:"column"},gP=["textContent"],yP=["textContent"],vP={class:"buttons is-centered"},bP={class:"icon"},wP={class:"icon"},CP=["textContent"],zP={class:"heading has-text-centered-mobile"},xP=["textContent"],kP=u("span",null," | ",-1),SP=["textContent"];function EP(e,t,n,r,s,o){const i=O("dropdown-menu"),a=O("mdicon"),l=O("list-albums"),c=O("modal-dialog-artist"),m=O("content-with-heading");return E(),xe(m,null,{options:P(()=>[u("div",hP,[u("div",_P,[u("p",{class:"heading",style:{"margin-bottom":"24px"},textContent:v(e.$t("page.artist.sort-by.title"))},null,8,gP),C(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":P(()=>[u("p",{class:"title is-4",textContent:v(s.artist.name)},null,8,yP)]),"heading-right":P(()=>[u("div",vP,[u("a",{class:"button is-small is-light is-rounded",onClick:t[1]||(t[1]=f=>s.show_artist_details_modal=!0)},[u("span",bP,[C(a,{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))},[u("span",wP,[C(a,{name:"shuffle",size:"16"})]),u("span",{textContent:v(e.$t("page.artist.shuffle"))},null,8,CP)])])]),content:P(()=>[u("p",zP,[u("span",{textContent:v(e.$t("page.artist.album-count",{count:s.artist.album_count}))},null,8,xP),kP,u("a",{class:"has-text-link",onClick:t[3]||(t[3]=(...f)=>o.open_tracks&&o.open_tracks(...f)),textContent:v(e.$t("page.artist.track-count",{count:s.artist.track_count}))},null,8,SP)]),C(l,{albums:o.albums,hide_group_title:!0},null,8,["albums"]),C(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 $P=ve(pP,[["render",EP]]),Sa={load:function(e){return Z.library_albums("music")},set:function(e,t){e.albums_list=new Re(t.data)}},AP={name:"PageAlbums",components:{ContentWithHeading:ft,TabsMusic:gr,IndexButtonList:vr,ListAlbums:yr,DropdownMenu:Is},beforeRouteEnter(e,t,n){Sa.load(e).then(r=>{n(s=>Sa.set(s,r))})},beforeRouteUpdate(e,t,n){if(!this.albums_list.isEmpty()){n();return}const r=this;Sa.load(e).then(s=>{Sa.set(r,s),n()})},data(){return{albums_list:new Re,groupby_options:[{id:1,name:this.$t("page.albums.sort-by.name"),options:Ao("name_sort")},{id:2,name:this.$t("page.albums.sort-by.recently-added"),options:Il("time_added",{direction:"desc",defaultValue:"0000"})},{id:3,name:this.$t("page.albums.sort-by.recently-released"),options:Il("date_released",{direction:"desc",defaultValue:"0000"})}]}},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(Vy,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(cu,e)}},hide_spotify:{get(){return this.$store.state.hide_spotify},set(e){this.$store.commit(Em,e)}}},methods:{scrollToTop:function(){window.scrollTo({top:0,behavior:"smooth"})}}},TP={class:"fd-page-with-tabs"},OP={class:"columns"},PP={class:"column"},DP=["textContent"],FP={class:"field"},IP={class:"control"},LP=["textContent"],MP=["textContent"],RP={key:0,class:"field"},NP={class:"control"},jP=["textContent"],VP=["textContent"],BP={class:"column"},HP=["textContent"],UP=["textContent"],qP=["textContent"];function WP(e,t,n,r,s,o){const i=O("tabs-music"),a=O("index-button-list"),l=O("dropdown-menu"),c=O("list-albums"),m=O("content-with-heading");return E(),D("div",TP,[C(i),C(m,null,{options:P(()=>[C(a,{index:o.albums.indexList},null,8,["index"]),u("div",OP,[u("div",PP,[u("p",{class:"heading",style:{"margin-bottom":"24px"},textContent:v(e.$t("page.albums.filter"))},null,8,DP),u("div",FP,[u("div",IP,[xt(u("input",{id:"switchHideSingles","onUpdate:modelValue":t[0]||(t[0]=f=>o.hide_singles=f),type:"checkbox",name:"switchHideSingles",class:"switch"},null,512),[[Er,o.hide_singles]]),u("label",{for:"switchHideSingles",textContent:v(e.$t("page.albums.hide-singles"))},null,8,LP)]),u("p",{class:"help",textContent:v(e.$t("page.albums.hide-singles-help"))},null,8,MP)]),o.spotify_enabled?(E(),D("div",RP,[u("div",NP,[xt(u("input",{id:"switchHideSpotify","onUpdate:modelValue":t[1]||(t[1]=f=>o.hide_spotify=f),type:"checkbox",name:"switchHideSpotify",class:"switch"},null,512),[[Er,o.hide_spotify]]),u("label",{for:"switchHideSpotify",textContent:v(e.$t("page.albums.hide-spotify"))},null,8,jP)]),u("p",{class:"help",textContent:v(e.$t("page.albums.hide-spotify-help"))},null,8,VP)])):Q("",!0)]),u("div",BP,[u("p",{class:"heading",style:{"margin-bottom":"24px"},textContent:v(e.$t("page.albums.sort-by.title"))},null,8,HP),C(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":P(()=>[u("p",{class:"title is-4",textContent:v(e.$t("page.albums.title"))},null,8,UP),u("p",{class:"heading",textContent:v(e.$t("page.albums.count",{count:o.albums.count}))},null,8,qP)]),"heading-right":P(()=>[]),content:P(()=>[C(c,{albums:o.albums},null,8,["albums"])]),_:1})])}const GP=ve(AP,[["render",WP]]),KP={},ZP={class:"hero is-light is-bold fd-content"},YP={class:"hero-body"},JP={class:"container"},XP={class:"columns is-centered"},QP={class:"column is-four-fifths"},eD={class:"columns",style:{"flex-direction":"row-reverse"}},tD={class:"column fd-has-cover"},nD={class:"column is-three-fifths has-text-centered-mobile",style:{margin:"auto 0"}},rD={class:"section fd-content"},sD={class:"container"},oD={class:"columns is-centered"},iD={class:"column is-four-fifths"},aD={style:{"margin-top":"16px"}};function lD(e,t){return E(),D("div",null,[u("section",ZP,[u("div",YP,[u("div",JP,[u("div",XP,[u("div",QP,[u("div",eD,[u("div",tD,[zt(e.$slots,"heading-right")]),u("div",nD,[zt(e.$slots,"heading-left")])])])])])])]),u("section",rD,[u("div",sD,[u("div",oD,[u("div",iD,[zt(e.$slots,"content"),u("div",aD,[zt(e.$slots,"footer")])])])])])])}const Jm=ve(KP,[["render",lD]]),Ea={load:function(e){return Promise.all([Z.library_album(e.params.album_id),Z.library_album_tracks(e.params.album_id)])},set:function(e,t){e.album=t[0].data,e.tracks=new Re(t[1].data)}},uD={name:"PageAlbum",components:{ContentWithHero:Jm,ListTracks:Rn,ModalDialogAlbum:gu,CoverArtwork:Pr},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{album:{},tracks:new Re,show_album_details_modal:!1}},methods:{open_artist:function(){this.show_details_modal=!1,this.$router.push({path:"/music/artists/"+this.album.artist_id})},play:function(){Z.player_play_uri(this.album.uri,!0)}}},cD=["textContent"],dD={class:"subtitle is-6 has-text-link has-text-weight-normal"},mD=["textContent"],fD={class:"buttons fd-is-centered-mobile fd-has-margin-top"},pD={class:"icon"},hD=["textContent"],_D={class:"icon"},gD={class:"image is-square fd-has-shadow fd-has-action"},yD=["textContent"];function vD(e,t,n,r,s,o){const i=O("mdicon"),a=O("cover-artwork"),l=O("list-tracks"),c=O("modal-dialog-album"),m=O("content-with-hero");return E(),xe(m,null,{"heading-left":P(()=>[u("h1",{class:"title is-5",textContent:v(s.album.name)},null,8,cD),u("h2",dD,[u("a",{class:"has-text-link",onClick:t[0]||(t[0]=(...f)=>o.open_artist&&o.open_artist(...f)),textContent:v(s.album.artist)},null,8,mD)]),u("div",fD,[u("a",{class:"button is-small is-dark is-rounded",onClick:t[1]||(t[1]=(...f)=>o.play&&o.play(...f))},[u("span",pD,[C(i,{name:"shuffle",size:"16"})]),u("span",{textContent:v(e.$t("page.album.shuffle"))},null,8,hD)]),u("a",{class:"button is-small is-light is-rounded",onClick:t[2]||(t[2]=f=>s.show_album_details_modal=!0)},[u("span",_D,[C(i,{name:"dots-horizontal",size:"16"})])])])]),"heading-right":P(()=>[u("p",gD,[C(a,{artwork_url:s.album.artwork_url,artist:s.album.artist,album:s.album.name,onClick:t[3]||(t[3]=f=>s.show_album_details_modal=!0)},null,8,["artwork_url","artist","album"])])]),content:P(()=>[u("p",{class:"heading is-7 has-text-centered-mobile fd-has-margin-top",textContent:v(e.$t("page.album.track-count",{count:s.album.track_count}))},null,8,yD),C(l,{tracks:s.tracks,uris:s.album.uri},null,8,["tracks","uris"]),C(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 bD=ve(uD,[["render",vD]]),wD={name:"ModalDialogGenre",props:["show","genre"],emits:["close"],methods:{play:function(){this.$emit("close"),Z.player_play_expression('genre is "'+this.genre.name+'" and media_kind is music',!1)},queue_add:function(){this.$emit("close"),Z.queue_expression_add('genre is "'+this.genre.name+'" and media_kind is music')},queue_add_next:function(){this.$emit("close"),Z.queue_expression_add_next('genre is "'+this.genre.name+'" and media_kind is music')},open_genre:function(){this.$emit("close"),this.$router.push({name:"Genre",params:{genre:this.genre.name}})}}},CD={key:0,class:"modal is-active"},zD={class:"modal-content fd-modal-card"},xD={class:"card"},kD={class:"card-content"},SD={class:"title is-4"},ED=["textContent"],$D={class:"content is-small"},AD=["textContent"],TD=["textContent"],OD=["textContent"],PD=["textContent"],DD=["textContent"],FD=["textContent"],ID={class:"card-footer"},LD={class:"icon"},MD=["textContent"],RD={class:"icon"},ND=["textContent"],jD={class:"icon"},VD=["textContent"];function BD(e,t,n,r,s,o){const i=O("mdicon");return E(),D("div",null,[C(qt,{name:"fade"},{default:P(()=>[n.show?(E(),D("div",CD,[u("div",{class:"modal-background",onClick:t[0]||(t[0]=a=>e.$emit("close"))}),u("div",zD,[u("div",xD,[u("div",kD,[u("p",SD,[u("a",{class:"has-text-link",onClick:t[1]||(t[1]=(...a)=>o.open_genre&&o.open_genre(...a)),textContent:v(n.genre.name)},null,8,ED)]),u("div",$D,[u("p",null,[u("span",{class:"heading",textContent:v(e.$t("dialog.genre.albums"))},null,8,AD),u("span",{class:"title is-6",textContent:v(n.genre.album_count)},null,8,TD)]),u("p",null,[u("span",{class:"heading",textContent:v(e.$t("dialog.genre.tracks"))},null,8,OD),u("span",{class:"title is-6",textContent:v(n.genre.track_count)},null,8,PD)]),u("p",null,[u("span",{class:"heading",textContent:v(e.$t("dialog.genre.duration"))},null,8,DD),u("span",{class:"title is-6",textContent:v(e.$filters.durationInHours(n.genre.length_ms))},null,8,FD)])])]),u("footer",ID,[u("a",{class:"card-footer-item has-text-dark",onClick:t[2]||(t[2]=(...a)=>o.queue_add&&o.queue_add(...a))},[u("span",LD,[C(i,{name:"playlist-plus",size:"16"})]),u("span",{class:"is-size-7",textContent:v(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))},[u("span",RD,[C(i,{name:"playlist-play",size:"16"})]),u("span",{class:"is-size-7",textContent:v(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))},[u("span",jD,[C(i,{name:"play",size:"16"})]),u("span",{class:"is-size-7",textContent:v(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"))})])):Q("",!0)]),_:1})])}const Xm=ve(wD,[["render",BD]]),HD={name:"ListGenres",components:{ModalDialogGenre:Xm},props:["genres","media_kind","hide_group_title"],data(){return{show_details_modal:!1,selected_genre:{}}},computed:{media_kind_resolved:function(){return this.media_kind?this.media_kind:this.selected_genre.media_kind}},methods:{open_genre:function(e){this.$router.push({name:"Genre",params:{genre:e.name}})},open_dialog:function(e){this.selected_genre=e,this.show_details_modal=!0}}},UD={key:0,class:"mt-6 mb-5 py-2"},qD={class:"media-content is-clipped"},WD=["id","textContent"],GD=["onClick"],KD={class:"media-content fd-has-action is-clipped"},ZD=["textContent"],YD={class:"media-right"},JD=["onClick"],XD={class:"icon has-text-dark"};function QD(e,t,n,r,s,o){const i=O("mdicon"),a=O("modal-dialog-genre");return E(),D(Ge,null,[(E(!0),D(Ge,null,wt(n.genres,l=>(E(),D(Ge,{key:l.itemId},[!l.isItem&&!n.hide_group_title?(E(),D("div",UD,[u("div",qD,[u("span",{id:"index_"+l.groupKey,class:"tag is-info is-light is-small has-text-weight-bold",textContent:v(l.groupKey)},null,8,WD)])])):l.isItem?(E(),D("div",{key:1,class:"media",onClick:c=>o.open_genre(l.item)},[u("div",KD,[u("h1",{class:"title is-6",textContent:v(l.item.name)},null,8,ZD)]),u("div",YD,[u("a",{onClick:ht(c=>o.open_dialog(l.item),["prevent","stop"])},[u("span",XD,[C(i,{name:"dots-vertical",size:"16"})])],8,JD)])],8,GD)):Q("",!0)],64))),128)),(E(),xe(os,{to:"#app"},[C(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 eF=ve(HD,[["render",QD]]),$a={load:function(e){return Z.library_genres("music")},set:function(e,t){e.genres=t.data,e.genres=new Re(t.data),e.genres.group(Gi("name_sort"))}},tF={name:"PageGenres",components:{ContentWithHeading:ft,TabsMusic:gr,IndexButtonList:vr,ListGenres:eF},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{genres:new Re}},computed:{},methods:{}},nF={class:"fd-page-with-tabs"},rF=["textContent"],sF=["textContent"];function oF(e,t,n,r,s,o){const i=O("tabs-music"),a=O("index-button-list"),l=O("list-genres"),c=O("content-with-heading");return E(),D("div",nF,[C(i),C(c,null,{options:P(()=>[C(a,{index:s.genres.indexList},null,8,["index"])]),"heading-left":P(()=>[u("p",{class:"title is-4",textContent:v(e.$t("page.genres.title"))},null,8,rF),u("p",{class:"heading",textContent:v(e.$t("page.genres.count",{count:s.genres.total}))},null,8,sF)]),content:P(()=>[C(l,{genres:s.genres},null,8,["genres"])]),_:1})])}const iF=ve(tF,[["render",oF]]),Aa={load:function(e){return Promise.all([Z.library_genre(e.params.genre),Z.library_genre_albums(e.params.genre)])},set:function(e,t){e.genre=t[0].data,e.albums_list=new Re(t[1].data.albums),e.albums_list.group(Ao("name_sort"))}},aF={name:"PageGenre",components:{ContentWithHeading:ft,IndexButtonList:vr,ListAlbums:yr,ModalDialogGenre:Xm},beforeRouteEnter(e,t,n){Aa.load(e).then(r=>{n(s=>Aa.set(s,r))})},beforeRouteUpdate(e,t,n){if(!this.albums_list.isEmpty()){n();return}const r=this;Aa.load(e).then(s=>{Aa.set(r,s),n()})},data(){return{genre:{},albums_list:new Re,show_genre_details_modal:!1}},methods:{open_tracks:function(){this.show_details_modal=!1,this.$router.push({name:"GenreTracks",params:{genre:this.genre.name}})},play:function(){Z.player_play_expression('genre is "'+this.genre.name+'" and media_kind is music',!0)}}},lF=["textContent"],uF={class:"buttons is-centered"},cF={class:"icon"},dF={class:"icon"},mF=["textContent"],fF={class:"heading has-text-centered-mobile"},pF=["textContent"],hF=u("span",null," | ",-1),_F=["textContent"];function gF(e,t,n,r,s,o){const i=O("index-button-list"),a=O("mdicon"),l=O("list-albums"),c=O("modal-dialog-genre"),m=O("content-with-heading");return E(),D("div",null,[C(m,null,{options:P(()=>[C(i,{index:s.albums_list.indexList},null,8,["index"])]),"heading-left":P(()=>[u("p",{class:"title is-4",textContent:v(s.genre.name)},null,8,lF)]),"heading-right":P(()=>[u("div",uF,[u("a",{class:"button is-small is-light is-rounded",onClick:t[0]||(t[0]=f=>s.show_genre_details_modal=!0)},[u("span",cF,[C(a,{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))},[u("span",dF,[C(a,{name:"shuffle",size:"16"})]),u("span",{textContent:v(e.$t("page.genre.shuffle"))},null,8,mF)])])]),content:P(()=>[u("p",fF,[u("span",{textContent:v(e.$t("page.genre.album-count",{count:s.genre.album_count}))},null,8,pF),hF,u("a",{class:"has-text-link",onClick:t[2]||(t[2]=(...f)=>o.open_tracks&&o.open_tracks(...f)),textContent:v(e.$t("page.genre.track-count",{count:s.genre.track_count}))},null,8,_F)]),C(l,{albums:s.albums_list},null,8,["albums"]),C(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 yF=ve(aF,[["render",gF]]),Ta={load:function(e){return Promise.all([Z.library_genre(e.params.genre),Z.library_genre_tracks(e.params.genre)])},set:function(e,t){e.genre=t[0].data,e.tracks_list=new Re(t[1].data.tracks)}},vF={name:"PageGenreTracks",components:{ContentWithHeading:ft,DropdownMenu:Is,IndexButtonList:vr,ListTracks:Rn,ModalDialogGenre:Xm},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{genre:{},groupby_options:[{id:1,name:this.$t("page.genre.sort-by.name"),options:Gi("title_sort")},{id:2,name:this.$t("page.genre.sort-by.rating"),options:Zm("rating",{direction:"desc"})}],show_genre_details_modal:!1,tracks_list:new Re}},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(My,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:function(){this.show_details_modal=!1,this.$router.push({name:"Genre",params:{genre:this.genre.name}})},play:function(){Z.player_play_expression(this.expression,!0)}}},bF={class:"columns"},wF={class:"column"},CF=["textContent"],zF=["textContent"],xF={class:"buttons is-centered"},kF={class:"icon"},SF={class:"icon"},EF=["textContent"],$F={class:"heading has-text-centered-mobile"},AF=["textContent"],TF=u("span",null," | ",-1),OF=["textContent"];function PF(e,t,n,r,s,o){const i=O("index-button-list"),a=O("dropdown-menu"),l=O("mdicon"),c=O("list-tracks"),m=O("modal-dialog-genre"),f=O("content-with-heading");return E(),D("div",null,[C(f,null,{options:P(()=>[C(i,{index:o.tracks.indexList},null,8,["index"]),u("div",bF,[u("div",wF,[u("p",{class:"heading",style:{"margin-bottom":"24px"},textContent:v(e.$t("page.genre.sort-by.title"))},null,8,CF),C(a,{modelValue:o.selected_groupby_option_id,"onUpdate:modelValue":t[0]||(t[0]=d=>o.selected_groupby_option_id=d),options:s.groupby_options},null,8,["modelValue","options"])])])]),"heading-left":P(()=>[u("p",{class:"title is-4",textContent:v(s.genre.name)},null,8,zF)]),"heading-right":P(()=>[u("div",xF,[u("a",{class:"button is-small is-light is-rounded",onClick:t[1]||(t[1]=d=>s.show_genre_details_modal=!0)},[u("span",kF,[C(l,{name:"dots-horizontal",size:"16"})])]),u("a",{class:"button is-small is-dark is-rounded",onClick:t[2]||(t[2]=(...d)=>o.play&&o.play(...d))},[u("span",SF,[C(l,{name:"shuffle",size:"16"})]),u("span",{textContent:v(e.$t("page.genre.shuffle"))},null,8,EF)])])]),content:P(()=>[u("p",$F,[u("a",{class:"has-text-link",onClick:t[3]||(t[3]=(...d)=>o.open_genre&&o.open_genre(...d)),textContent:v(e.$t("page.genre.album-count",{count:s.genre.album_count}))},null,8,AF),TF,u("span",{textContent:v(e.$t("page.genre.track-count",{count:s.genre.track_count}))},null,8,OF)]),C(c,{tracks:o.tracks,expression:o.expression},null,8,["tracks","expression"]),C(m,{show:s.show_genre_details_modal,genre:s.genre,onClose:t[4]||(t[4]=d=>s.show_genre_details_modal=!1)},null,8,["show","genre"])]),_:1})])}const DF=ve(vF,[["render",PF]]),Oa={load:function(e){return Promise.all([Z.library_artist(e.params.artist_id),Z.library_artist_tracks(e.params.artist_id)])},set:function(e,t){e.artist=t[0].data,e.tracks_list=new Re(t[1].data.tracks)}},FF={name:"PageArtistTracks",components:{ContentWithHeading:ft,DropdownMenu:Is,IndexButtonList:vr,ListTracks:Rn,ModalDialogArtist:yu},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{artist:{},groupby_options:[{id:1,name:this.$t("page.artist.sort-by.name"),options:Gi("title_sort")},{id:2,name:this.$t("page.artist.sort-by.rating"),options:Zm("rating",{direction:"desc"})}],show_artist_details_modal:!1,tracks_list:new Re}},computed:{selected_groupby_option_id:{get(){return this.$store.state.artist_tracks_sort},set(e){this.$store.commit(jy,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:function(){this.show_details_modal=!1,this.$router.push({path:"/music/artists/"+this.artist.id})},play:function(){Z.player_play_uri(this.tracks_list.map(e=>e.uri).join(","),!0)}}},IF={class:"columns"},LF={class:"column"},MF=["textContent"],RF=["textContent"],NF={class:"buttons is-centered"},jF={class:"icon"},VF={class:"icon"},BF=["textContent"],HF={class:"heading has-text-centered-mobile"},UF=["textContent"],qF=u("span",null," | ",-1),WF=["textContent"];function GF(e,t,n,r,s,o){const i=O("index-button-list"),a=O("dropdown-menu"),l=O("mdicon"),c=O("list-tracks"),m=O("modal-dialog-artist"),f=O("content-with-heading");return E(),D("div",null,[C(f,null,{options:P(()=>[C(i,{index:o.tracks.indexList},null,8,["index"]),u("div",IF,[u("div",LF,[u("p",{class:"heading",style:{"margin-bottom":"24px"},textContent:v(e.$t("page.artist.sort-by.title"))},null,8,MF),C(a,{modelValue:o.selected_groupby_option_id,"onUpdate:modelValue":t[0]||(t[0]=d=>o.selected_groupby_option_id=d),options:s.groupby_options},null,8,["modelValue","options"])])])]),"heading-left":P(()=>[u("p",{class:"title is-4",textContent:v(s.artist.name)},null,8,RF)]),"heading-right":P(()=>[u("div",NF,[u("a",{class:"button is-small is-light is-rounded",onClick:t[1]||(t[1]=d=>s.show_artist_details_modal=!0)},[u("span",jF,[C(l,{name:"dots-horizontal",size:"16"})])]),u("a",{class:"button is-small is-dark is-rounded",onClick:t[2]||(t[2]=(...d)=>o.play&&o.play(...d))},[u("span",VF,[C(l,{name:"shuffle",size:"16"})]),u("span",{textContent:v(e.$t("page.artist.shuffle"))},null,8,BF)])])]),content:P(()=>[u("p",HF,[u("a",{class:"has-text-link",onClick:t[3]||(t[3]=(...d)=>o.open_artist&&o.open_artist(...d)),textContent:v(e.$t("page.artist.album-count",{count:s.artist.album_count}))},null,8,UF),qF,u("span",{textContent:v(e.$t("page.artist.track-count",{count:s.artist.track_count}))},null,8,WF)]),C(c,{tracks:o.tracks,uris:o.track_uris},null,8,["tracks","uris"]),C(m,{show:s.show_artist_details_modal,artist:s.artist,onClose:t[4]||(t[4]=d=>s.show_artist_details_modal=!1)},null,8,["show","artist"])]),_:1})])}const KF=ve(FF,[["render",GF]]),ZF={name:"ModalDialogComposer",props:["show","composer"],emits:["close"],methods:{play:function(){this.$emit("close"),Z.player_play_expression('composer is "'+this.composer.name+'" and media_kind is music',!1)},queue_add:function(){this.$emit("close"),Z.queue_expression_add('composer is "'+this.composer.name+'" and media_kind is music')},queue_add_next:function(){this.$emit("close"),Z.queue_expression_add_next('composer is "'+this.composer.name+'" and media_kind is music')},open_albums:function(){this.$emit("close"),this.$router.push({name:"ComposerAlbums",params:{composer:this.composer.name}})},open_tracks:function(){this.show_details_modal=!1,this.$router.push({name:"ComposerTracks",params:{composer:this.composer.name}})}}},YF={key:0,class:"modal is-active"},JF={class:"modal-content fd-modal-card"},XF={class:"card"},QF={class:"card-content"},eI={class:"title is-4"},tI=["textContent"],nI=["textContent"],rI=["textContent"],sI=["textContent"],oI=["textContent"],iI=["textContent"],aI=["textContent"],lI={class:"card-footer"},uI={class:"icon"},cI=["textContent"],dI={class:"icon"},mI=["textContent"],fI={class:"icon"},pI=["textContent"];function hI(e,t,n,r,s,o){const i=O("mdicon");return E(),D("div",null,[C(qt,{name:"fade"},{default:P(()=>[n.show?(E(),D("div",YF,[u("div",{class:"modal-background",onClick:t[0]||(t[0]=a=>e.$emit("close"))}),u("div",JF,[u("div",XF,[u("div",QF,[u("p",eI,[u("a",{class:"has-text-link",onClick:t[1]||(t[1]=(...a)=>o.open_albums&&o.open_albums(...a)),textContent:v(n.composer.name)},null,8,tI)]),u("p",null,[u("span",{class:"heading",textContent:v(e.$t("dialog.composer.albums"))},null,8,nI),u("a",{class:"has-text-link is-6",onClick:t[2]||(t[2]=(...a)=>o.open_albums&&o.open_albums(...a)),textContent:v(n.composer.album_count)},null,8,rI)]),u("p",null,[u("span",{class:"heading",textContent:v(e.$t("dialog.composer.tracks"))},null,8,sI),u("a",{class:"has-text-link is-6",onClick:t[3]||(t[3]=(...a)=>o.open_tracks&&o.open_tracks(...a)),textContent:v(n.composer.track_count)},null,8,oI)]),u("p",null,[u("span",{class:"heading",textContent:v(e.$t("dialog.composer.duration"))},null,8,iI),u("span",{class:"title is-6",textContent:v(e.$filters.durationInHours(n.composer.length_ms))},null,8,aI)])]),u("footer",lI,[u("a",{class:"card-footer-item has-text-dark",onClick:t[4]||(t[4]=(...a)=>o.queue_add&&o.queue_add(...a))},[u("span",uI,[C(i,{name:"playlist-plus",size:"16"})]),u("span",{class:"is-size-7",textContent:v(e.$t("dialog.composer.add"))},null,8,cI)]),u("a",{class:"card-footer-item has-text-dark",onClick:t[5]||(t[5]=(...a)=>o.queue_add_next&&o.queue_add_next(...a))},[u("span",dI,[C(i,{name:"playlist-play",size:"16"})]),u("span",{class:"is-size-7",textContent:v(e.$t("dialog.composer.add-next"))},null,8,mI)]),u("a",{class:"card-footer-item has-text-dark",onClick:t[6]||(t[6]=(...a)=>o.play&&o.play(...a))},[u("span",fI,[C(i,{name:"play",size:"16"})]),u("span",{class:"is-size-7",textContent:v(e.$t("dialog.composer.play"))},null,8,pI)])])])]),u("button",{class:"modal-close is-large","aria-label":"close",onClick:t[7]||(t[7]=a=>e.$emit("close"))})])):Q("",!0)]),_:1})])}const Qm=ve(ZF,[["render",hI]]),_I={name:"ListComposers",components:{ModalDialogComposer:Qm},props:["composers","media_kind","hide_group_title"],data(){return{show_details_modal:!1,selected_composer:{}}},computed:{media_kind_resolved:function(){return this.media_kind?this.media_kind:this.selected_composer.media_kind}},methods:{open_composer:function(e){this.selected_composer=e,this.$router.push({name:"ComposerAlbums",params:{composer:e.name}})},open_dialog:function(e){this.selected_composer=e,this.show_details_modal=!0}}},gI={key:0,class:"mt-6 mb-5 py-2"},yI={class:"media-content is-clipped"},vI=["id","textContent"],bI=["onClick"],wI={class:"media-content fd-has-action is-clipped"},CI=["textContent"],zI={class:"media-right"},xI=["onClick"],kI={class:"icon has-text-dark"};function SI(e,t,n,r,s,o){const i=O("mdicon"),a=O("modal-dialog-composer");return E(),D(Ge,null,[(E(!0),D(Ge,null,wt(n.composers,l=>(E(),D(Ge,{key:l.itemId},[!l.isItem&&!n.hide_group_title?(E(),D("div",gI,[u("div",yI,[u("span",{id:"index_"+l.groupKey,class:"tag is-info is-light is-small has-text-weight-bold",textContent:v(l.groupKey)},null,8,vI)])])):l.isItem?(E(),D("div",{key:1,class:"media",onClick:c=>o.open_composer(l.item)},[u("div",wI,[u("h1",{class:"title is-6",textContent:v(l.item.name)},null,8,CI)]),u("div",zI,[u("a",{onClick:ht(c=>o.open_dialog(l.item),["prevent","stop"])},[u("span",kI,[C(i,{name:"dots-vertical",size:"16"})])],8,xI)])],8,bI)):Q("",!0)],64))),128)),(E(),xe(os,{to:"#app"},[C(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 _1=ve(_I,[["render",SI]]),Pa={load:function(e){return Z.library_composers("music")},set:function(e,t){e.composers=new Re(t.data),e.composers.group(Gi("name_sort"))}},EI={name:"PageComposers",components:{ContentWithHeading:ft,TabsMusic:gr,IndexButtonList:vr,ListComposers:_1},beforeRouteEnter(e,t,n){Pa.load(e).then(r=>{n(s=>Pa.set(s,r))})},beforeRouteUpdate(e,t,n){if(!this.composers.isEmpty()){n();return}const r=this;Pa.load(e).then(s=>{Pa.set(r,s),n()})},data(){return{composers:new Re}},methods:{}},$I=["textContent"],AI=["textContent"];function TI(e,t,n,r,s,o){const i=O("tabs-music"),a=O("index-button-list"),l=O("list-composers"),c=O("content-with-heading");return E(),D("div",null,[C(i),C(c,null,{options:P(()=>[C(a,{index:s.composers.indexList},null,8,["index"])]),"heading-left":P(()=>[u("p",{class:"title is-4",textContent:v(e.$t("page.composers.title"))},null,8,$I),u("p",{class:"heading",textContent:v(e.$t("page.composers.count",{count:s.composers.total}))},null,8,AI)]),content:P(()=>[C(l,{composers:s.composers},null,8,["composers"])]),_:1})])}const OI=ve(EI,[["render",TI]]),Da={load:function(e){return Promise.all([Z.library_composer(e.params.composer),Z.library_composer_albums(e.params.composer)])},set:function(e,t){e.composer=t[0].data,e.albums_list=new Re(t[1].data.albums)}},PI={name:"PageComposer",components:{ContentWithHeading:ft,ListAlbums:yr,ModalDialogComposer:Qm},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{composer:{},albums_list:new Re,show_composer_details_modal:!1}},methods:{open_tracks:function(){this.$router.push({name:"ComposerTracks",params:{composer:this.composer.name}})},play:function(){Z.player_play_expression('composer is "'+this.composer.name+'" and media_kind is music',!0)}}},DI=["textContent"],FI={class:"buttons is-centered"},II={class:"icon"},LI={class:"icon"},MI=["textContent"],RI={class:"heading has-text-centered-mobile"},NI=["textContent"],jI=u("span",null," | ",-1),VI=["textContent"];function BI(e,t,n,r,s,o){const i=O("mdicon"),a=O("list-albums"),l=O("modal-dialog-composer"),c=O("content-with-heading");return E(),D("div",null,[C(c,null,{"heading-left":P(()=>[u("p",{class:"title is-4",textContent:v(s.composer.name)},null,8,DI)]),"heading-right":P(()=>[u("div",FI,[u("a",{class:"button is-small is-light is-rounded",onClick:t[0]||(t[0]=m=>s.show_composer_details_modal=!0)},[u("span",II,[C(i,{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))},[u("span",LI,[C(i,{name:"shuffle",size:"16"})]),u("span",{textContent:v(e.$t("page.composer.shuffle"))},null,8,MI)])])]),content:P(()=>[u("p",RI,[u("span",{textContent:v(e.$t("page.composer.album-count",{count:s.composer.album_count}))},null,8,NI),jI,u("a",{class:"has-text-link",onClick:t[2]||(t[2]=(...m)=>o.open_tracks&&o.open_tracks(...m)),textContent:v(e.$t("page.composer.track-count",{count:s.composer.track_count}))},null,8,VI)]),C(a,{albums:s.albums_list,hide_group_title:!0},null,8,["albums"]),C(l,{show:s.show_composer_details_modal,composer:s.composer,onClose:t[3]||(t[3]=m=>s.show_composer_details_modal=!1)},null,8,["show","composer"])]),_:1})])}const HI=ve(PI,[["render",BI]]),Fa={load:function(e){return Promise.all([Z.library_composer(e.params.composer),Z.library_composer_tracks(e.params.composer)])},set:function(e,t){e.composer=t[0].data,e.tracks_list=new Re(t[1].data.tracks)}},UI={name:"PageComposerTracks",components:{ContentWithHeading:ft,DropdownMenu:Is,IndexButtonList:vr,ListTracks:Rn,ModalDialogComposer:Qm},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{groupby_options:[{id:1,name:this.$t("page.composer.sort-by.name"),options:Gi("title_sort")},{id:2,name:this.$t("page.composer.sort-by.rating"),options:Zm("rating",{direction:"desc"})}],composer:{},show_composer_details_modal:!1,tracks_list:new Re}},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(Ly,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:function(){this.show_details_modal=!1,this.$router.push({name:"ComposerAlbums",params:{composer:this.composer.name}})},play:function(){Z.player_play_expression(this.expression,!0)}}},qI={class:"columns"},WI={class:"column"},GI=["textContent"],KI=["textContent"],ZI={class:"buttons is-centered"},YI={class:"icon"},JI={class:"icon"},XI=["textContent"],QI={class:"heading has-text-centered-mobile"},eL=["textContent"],tL=u("span",null," | ",-1),nL=["textContent"];function rL(e,t,n,r,s,o){const i=O("index-button-list"),a=O("dropdown-menu"),l=O("mdicon"),c=O("list-tracks"),m=O("modal-dialog-composer"),f=O("content-with-heading");return E(),D("div",null,[C(f,null,{options:P(()=>[C(i,{index:o.tracks.indexList},null,8,["index"]),u("div",qI,[u("div",WI,[u("p",{class:"heading",style:{"margin-bottom":"24px"},textContent:v(e.$t("page.artist.sort-by.title"))},null,8,GI),C(a,{modelValue:o.selected_groupby_option_id,"onUpdate:modelValue":t[0]||(t[0]=d=>o.selected_groupby_option_id=d),options:s.groupby_options},null,8,["modelValue","options"])])])]),"heading-left":P(()=>[u("p",{class:"title is-4",textContent:v(s.composer.name)},null,8,KI)]),"heading-right":P(()=>[u("div",ZI,[u("a",{class:"button is-small is-light is-rounded",onClick:t[1]||(t[1]=d=>s.show_composer_details_modal=!0)},[u("span",YI,[C(l,{name:"dots-horizontal",size:"16"})])]),u("a",{class:"button is-small is-dark is-rounded",onClick:t[2]||(t[2]=(...d)=>o.play&&o.play(...d))},[u("span",JI,[C(l,{name:"shuffle",size:"16"})]),u("span",{textContent:v(e.$t("page.composer.shuffle"))},null,8,XI)])])]),content:P(()=>[u("p",QI,[u("a",{class:"has-text-link",onClick:t[3]||(t[3]=(...d)=>o.open_albums&&o.open_albums(...d)),textContent:v(e.$t("page.composer.album-count",{count:s.composer.album_count}))},null,8,eL),tL,u("span",{textContent:v(e.$t("page.composer.track-count",{count:s.composer.track_count}))},null,8,nL)]),C(c,{tracks:o.tracks,expression:o.expression},null,8,["tracks","expression"]),C(m,{show:s.show_composer_details_modal,composer:s.composer,onClose:t[4]||(t[4]=d=>s.show_composer_details_modal=!1)},null,8,["show","composer"])]),_:1})])}const sL=ve(UI,[["render",rL]]),oL={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:function(){this.loading=!0,Z.library_add(this.url).then(()=>{this.$emit("close"),this.$emit("podcast-added"),this.url=""}).catch(()=>{this.loading=!1})}}},iL={key:0,class:"modal is-active"},aL={class:"modal-content fd-modal-card"},lL={class:"card"},uL={class:"card-content"},cL=["textContent"],dL={class:"field"},mL={class:"control is-expanded has-icons-left"},fL=["placeholder","disabled"],pL={class:"icon is-left"},hL=["textContent"],_L={key:0,class:"card-footer"},gL={class:"card-footer-item button is-loading"},yL={class:"icon"},vL=["textContent"],bL={key:1,class:"card-footer"},wL={class:"icon"},CL=["textContent"],zL={class:"icon"},xL=["textContent"];function kL(e,t,n,r,s,o){const i=O("mdicon");return E(),D("div",null,[C(qt,{name:"fade"},{default:P(()=>[n.show?(E(),D("div",iL,[u("div",{class:"modal-background",onClick:t[0]||(t[0]=a=>e.$emit("close"))}),u("div",aL,[u("div",lL,[u("div",uL,[u("p",{class:"title is-4",textContent:v(e.$t("dialog.add.rss.title"))},null,8,cL),u("form",{onSubmit:t[2]||(t[2]=ht((...a)=>o.add_stream&&o.add_stream(...a),["prevent"]))},[u("div",dL,[u("p",mL,[xt(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,fL),[[xn,s.url]]),u("span",pL,[C(i,{name:"rss",size:"16"})])]),u("p",{class:"help",textContent:v(e.$t("dialog.add.rss.help"))},null,8,hL)])],32)]),s.loading?(E(),D("footer",_L,[u("a",gL,[u("span",yL,[C(i,{name:"web",size:"16"})]),u("span",{class:"is-size-7",textContent:v(e.$t("dialog.add.rss.processing"))},null,8,vL)])])):(E(),D("footer",bL,[u("a",{class:"card-footer-item has-text-danger",onClick:t[3]||(t[3]=a=>e.$emit("close"))},[u("span",wL,[C(i,{name:"cancel",size:"16"})]),u("span",{class:"is-size-7",textContent:v(e.$t("dialog.add.rss.cancel"))},null,8,CL)]),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))},[u("span",zL,[C(i,{name:"playlist-plus",size:"16"})]),u("span",{class:"is-size-7",textContent:v(e.$t("dialog.add.rss.add"))},null,8,xL)])]))])]),u("button",{class:"modal-close is-large","aria-label":"close",onClick:t[5]||(t[5]=a=>e.$emit("close"))})])):Q("",!0)]),_:1})])}const SL=ve(oL,[["render",kL]]),Ia={load:function(e){return Promise.all([Z.library_albums("podcast"),Z.library_podcasts_new_episodes()])},set:function(e,t){e.albums=new Re(t[0].data),e.new_episodes=new Re(t[1].data.tracks)}},EL={name:"PagePodcasts",components:{ContentWithHeading:ft,ListTracks:Rn,ListAlbums:yr,ModalDialogAddRss:SL},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{albums:[],new_episodes:{items:[]},show_url_modal:!1}},computed:{rss(){return this.$store.state.rss_count}},methods:{mark_all_played:function(){this.new_episodes.items.forEach(e=>{Z.library_track_update(e.id,{play_count:"increment"})}),this.new_episodes.items={}},open_add_podcast_dialog:function(e){this.show_url_modal=!0},reload_new_episodes:function(){Z.library_podcasts_new_episodes().then(({data:e})=>{this.new_episodes=new Re(e.tracks)})},reload_podcasts:function(){Z.library_albums("podcast").then(({data:e})=>{this.albums=new Re(e),this.reload_new_episodes()})},update_rss:function(){this.$store.commit($m,"rss"),this.$store.commit(Ui,!0)}}},$L=["textContent"],AL={class:"buttons is-centered"},TL={class:"icon"},OL=["textContent"],PL=["textContent"],DL=["textContent"],FL={class:"buttons is-centered"},IL={class:"icon"},LL=["textContent"],ML={class:"icon"},RL=["textContent"];function NL(e,t,n,r,s,o){const i=O("mdicon"),a=O("list-tracks"),l=O("content-with-heading"),c=O("list-albums"),m=O("modal-dialog-add-rss");return E(),D("div",null,[s.new_episodes.items.length>0?(E(),xe(l,{key:0},{"heading-left":P(()=>[u("p",{class:"title is-4",textContent:v(e.$t("page.podcasts.new-episodes"))},null,8,$L)]),"heading-right":P(()=>[u("div",AL,[u("a",{class:"button is-small",onClick:t[0]||(t[0]=(...f)=>o.mark_all_played&&o.mark_all_played(...f))},[u("span",TL,[C(i,{name:"pencil",size:"16"})]),u("span",{textContent:v(e.$t("page.podcasts.mark-all-played"))},null,8,OL)])])]),content:P(()=>[C(a,{tracks:s.new_episodes,show_progress:!0,onPlayCountChanged:o.reload_new_episodes},null,8,["tracks","onPlayCountChanged"])]),_:1})):Q("",!0),C(l,null,{"heading-left":P(()=>[u("p",{class:"title is-4",textContent:v(e.$t("page.podcasts.title"))},null,8,PL),u("p",{class:"heading",textContent:v(e.$t("page.podcasts.count",{count:s.albums.total}))},null,8,DL)]),"heading-right":P(()=>[u("div",FL,[o.rss.tracks>0?(E(),D("a",{key:0,class:"button is-small",onClick:t[1]||(t[1]=(...f)=>o.update_rss&&o.update_rss(...f))},[u("span",IL,[C(i,{name:"refresh",size:"16"})]),u("span",{textContent:v(e.$t("page.podcasts.update"))},null,8,LL)])):Q("",!0),u("a",{class:"button is-small",onClick:t[2]||(t[2]=(...f)=>o.open_add_podcast_dialog&&o.open_add_podcast_dialog(...f))},[u("span",ML,[C(i,{name:"rss",size:"16"})]),u("span",{textContent:v(e.$t("page.podcasts.add"))},null,8,RL)])])]),content:P(()=>[C(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"]),C(m,{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 jL=ve(EL,[["render",NL]]),La={load:function(e){return Promise.all([Z.library_album(e.params.album_id),Z.library_podcast_episodes(e.params.album_id)])},set:function(e,t){e.album=t[0].data,e.tracks=new Re(t[1].data.tracks)}},VL={name:"PagePodcast",components:{ContentWithHeading:ft,ListTracks:Rn,ModalDialogAlbum:gu,ModalDialog:Gm},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{album:{},tracks:new Re,show_album_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:function(){Z.player_play_uri(this.album.uri,!1)},open_remove_podcast_dialog:function(){this.show_album_details_modal=!1,Z.library_track_playlists(this.tracks[0].id).then(({data:e})=>{const t=e.items.filter(n=>n.type==="rss");if(t.length!==1){this.$store.dispatch("add_notification",{text:this.$t("page.podcast.remove-error"),type:"danger"});return}this.rss_playlist_to_remove=t[0],this.show_remove_podcast_modal=!0})},remove_podcast:function(){this.show_remove_podcast_modal=!1,Z.library_playlist_delete(this.rss_playlist_to_remove.id).then(()=>{this.$router.replace({path:"/podcasts"})})},reload_tracks:function(){Z.library_podcast_episodes(this.album.id).then(({data:e})=>{this.tracks=new Re(e.tracks)})}}},BL=["textContent"],HL={class:"buttons is-centered"},UL={class:"icon"},qL={class:"icon"},WL=["textContent"],GL=["textContent"],KL=["textContent"],ZL={class:"is-size-7"},YL=yt(" ("),JL=["textContent"],XL=["textContent"],QL=yt(") ");function eM(e,t,n,r,s,o){const i=O("mdicon"),a=O("list-tracks"),l=O("modal-dialog-album"),c=O("modal-dialog"),m=O("content-with-heading");return E(),xe(m,null,{"heading-left":P(()=>[u("div",{class:"title is-4",textContent:v(s.album.name)},null,8,BL)]),"heading-right":P(()=>[u("div",HL,[u("a",{class:"button is-small is-light is-rounded",onClick:t[0]||(t[0]=f=>s.show_album_details_modal=!0)},[u("span",UL,[C(i,{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))},[u("span",qL,[C(i,{name:"play",size:"16"})]),u("span",{textContent:v(e.$t("page.podcast.play"))},null,8,WL)])])]),content:P(()=>[u("p",{class:"heading has-text-centered-mobile",textContent:v(e.$t("page.podcast.track-count",{count:s.album.track_count}))},null,8,GL),C(a,{tracks:s.tracks,show_progress:!0,onPlayCountChanged:o.reload_tracks},null,8,["tracks","onPlayCountChanged"]),C(l,{show:s.show_album_details_modal,album:s.album,media_kind:"podcast",new_tracks:o.new_tracks,onClose:t[2]||(t[2]=f=>s.show_album_details_modal=!1),onPlayCountChanged:o.reload_tracks,onRemovePodcast:o.open_remove_podcast_dialog},null,8,["show","album","new_tracks","onPlayCountChanged","onRemovePodcast"]),C(c,{show:s.show_remove_podcast_modal,title:"Remove podcast",delete_action:"Remove",onClose:t[3]||(t[3]=f=>s.show_remove_podcast_modal=!1),onDelete:o.remove_podcast},{"modal-content":P(()=>[u("p",{textContent:v(e.$t("page.podcast.remove-info-1"))},null,8,KL),u("p",ZL,[YL,u("span",{textContent:v(e.$t("page.podcast.remove-info-2"))},null,8,JL),u("b",{textContent:v(s.rss_playlist_to_remove.name)},null,8,XL),QL])]),_:1},8,["show","onDelete"])]),_:1})}const tM=ve(VL,[["render",eM]]),nM={name:"TabsAudiobooks"},rM={class:"section fd-tabs-section"},sM={class:"container"},oM={class:"columns is-centered"},iM={class:"column is-four-fifths"},aM={class:"tabs is-centered is-small"},lM=["onClick","onKeypress"],uM={class:"icon is-small"},cM=["textContent"],dM=["onClick","onKeypress"],mM={class:"icon is-small"},fM=["textContent"];function pM(e,t,n,r,s,o){const i=O("mdicon"),a=O("router-link");return E(),D("section",rM,[u("div",sM,[u("div",oM,[u("div",iM,[u("div",aM,[u("ul",null,[C(a,{to:"/audiobooks/artists",custom:""},{default:P(({navigate:l,isActive:c})=>[u("li",{class:Ye({"is-active":c})},[u("a",{onClick:l,onKeypress:Pn(l,["enter"])},[u("span",uM,[C(i,{name:"account-music",size:"16"})]),u("span",{textContent:v(e.$t("page.audiobooks.tabs.authors"))},null,8,cM)],40,lM)],2)]),_:1}),C(a,{to:"/audiobooks/albums",custom:""},{default:P(({navigate:l,isActive:c})=>[u("li",{class:Ye({"is-active":c})},[u("a",{onClick:l,onKeypress:Pn(l,["enter"])},[u("span",mM,[C(i,{name:"album",size:"16"})]),u("span",{textContent:v(e.$t("page.audiobooks.tabs.audiobooks"))},null,8,fM)],40,dM)],2)]),_:1})])])])])])])}const g1=ve(nM,[["render",pM]]),Ma={load:function(e){return Z.library_albums("audiobook")},set:function(e,t){e.albums=new Re(t.data),e.albums.group(Ao("name_sort"))}},hM={name:"PageAudiobooksAlbums",components:{TabsAudiobooks:g1,ContentWithHeading:ft,IndexButtonList:vr,ListAlbums:yr},beforeRouteEnter(e,t,n){Ma.load(e).then(r=>{n(s=>Ma.set(s,r))})},beforeRouteUpdate(e,t,n){if(!this.albums.isEmpty()){n();return}const r=this;Ma.load(e).then(s=>{Ma.set(r,s),n()})},data(){return{albums:new Re}},methods:{}},_M={class:"fd-page-with-tabs"},gM=["textContent"],yM=["textContent"];function vM(e,t,n,r,s,o){const i=O("tabs-audiobooks"),a=O("index-button-list"),l=O("list-albums"),c=O("content-with-heading");return E(),D("div",_M,[C(i),C(c,null,{options:P(()=>[C(a,{index:s.albums.indexList},null,8,["index"])]),"heading-left":P(()=>[u("p",{class:"title is-4",textContent:v(e.$t("page.audiobooks.albums.title"))},null,8,gM),u("p",{class:"heading",textContent:v(e.$t("page.audiobooks.albums.count",{count:s.albums.count}))},null,8,yM)]),content:P(()=>[C(l,{albums:s.albums},null,8,["albums"])]),_:1})])}const bM=ve(hM,[["render",vM]]),Ra={load:function(e){return Z.library_artists("audiobook")},set:function(e,t){e.artists_list=new Re(t.data)}},wM={name:"PageAudiobooksArtists",components:{ContentWithHeading:ft,TabsAudiobooks:g1,IndexButtonList:vr,ListArtists:Ym},beforeRouteEnter(e,t,n){Ra.load(e).then(r=>{n(s=>Ra.set(s,r))})},beforeRouteUpdate(e,t,n){if(!this.artists_list.isEmpty()){n();return}const r=this;Ra.load(e).then(s=>{Ra.set(r,s),n()})},data(){return{artists_list:new Re}},computed:{artists(){return this.artists_list?(this.artists_list.group(Ao("name_sort")),this.artists_list):[]}},methods:{}},CM={class:"fd-page-with-tabs"},zM=["textContent"],xM=["textContent"];function kM(e,t,n,r,s,o){const i=O("tabs-audiobooks"),a=O("index-button-list"),l=O("list-artists"),c=O("content-with-heading");return E(),D("div",CM,[C(i),C(c,null,{options:P(()=>[C(a,{index:o.artists.indexList},null,8,["index"])]),"heading-left":P(()=>[u("p",{class:"title is-4",textContent:v(e.$t("page.audiobooks.artists.title"))},null,8,zM),u("p",{class:"heading",textContent:v(e.$t("page.audiobooks.artists.count",{count:o.artists.count}))},null,8,xM)]),"heading-right":P(()=>[]),content:P(()=>[C(l,{artists:o.artists},null,8,["artists"])]),_:1})])}const SM=ve(wM,[["render",kM]]),Na={load:function(e){return Promise.all([Z.library_artist(e.params.artist_id),Z.library_artist_albums(e.params.artist_id)])},set:function(e,t){e.artist=t[0].data,e.albums=new Re(t[1].data)}},EM={name:"PageAudiobooksArtist",components:{ContentWithHeading:ft,ListAlbums:yr,ModalDialogArtist:yu},beforeRouteEnter(e,t,n){Na.load(e).then(r=>{n(s=>Na.set(s,r))})},beforeRouteUpdate(e,t,n){if(!this.albums.isEmpty()){n();return}const r=this;Na.load(e).then(s=>{Na.set(r,s),n()})},data(){return{artist:{},albums:new Re,show_artist_details_modal:!1}},methods:{play:function(){Z.player_play_uri(this.albums.items.map(e=>e.uri).join(","),!1)}}},$M=["textContent"],AM={class:"buttons is-centered"},TM={class:"icon"},OM={class:"icon"},PM=["textContent"],DM=["textContent"];function FM(e,t,n,r,s,o){const i=O("mdicon"),a=O("list-albums"),l=O("modal-dialog-artist"),c=O("content-with-heading");return E(),xe(c,null,{"heading-left":P(()=>[u("p",{class:"title is-4",textContent:v(s.artist.name)},null,8,$M)]),"heading-right":P(()=>[u("div",AM,[u("a",{class:"button is-small is-light is-rounded",onClick:t[0]||(t[0]=m=>s.show_artist_details_modal=!0)},[u("span",TM,[C(i,{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))},[u("span",OM,[C(i,{name:"play",size:"16"})]),u("span",{textContent:v(e.$t("page.audiobooks.artist.play"))},null,8,PM)])])]),content:P(()=>[u("p",{class:"heading has-text-centered-mobile",textContent:v(e.$t("page.audiobooks.artist.album-count",{count:s.artist.album_count}))},null,8,DM),C(a,{albums:s.albums},null,8,["albums"]),C(l,{show:s.show_artist_details_modal,artist:s.artist,onClose:t[2]||(t[2]=m=>s.show_artist_details_modal=!1)},null,8,["show","artist"])]),_:1})}const IM=ve(EM,[["render",FM]]),ja={load:function(e){return Promise.all([Z.library_album(e.params.album_id),Z.library_album_tracks(e.params.album_id)])},set:function(e,t){e.album=t[0].data,e.tracks=new Re(t[1].data)}},LM={name:"PageAudiobooksAlbum",components:{ContentWithHero:Jm,ListTracks:Rn,ModalDialogAlbum:gu,CoverArtwork:Pr},beforeRouteEnter(e,t,n){ja.load(e).then(r=>{n(s=>ja.set(s,r))})},beforeRouteUpdate(e,t,n){const r=this;ja.load(e).then(s=>{ja.set(r,s),n()})},data(){return{album:{},tracks:new Re,show_album_details_modal:!1}},methods:{open_artist:function(){this.show_details_modal=!1,this.$router.push({path:"/audiobooks/artists/"+this.album.artist_id})},play:function(){Z.player_play_uri(this.album.uri,!1)},play_track:function(e){Z.player_play_uri(this.album.uri,!1,e)},open_dialog:function(e){this.selected_track=e,this.show_details_modal=!0}}},MM=["textContent"],RM={class:"subtitle is-6 has-text-link has-text-weight-normal"},NM=["textContent"],jM={class:"buttons fd-is-centered-mobile fd-has-margin-top"},VM={class:"icon"},BM=["textContent"],HM={class:"icon"},UM={class:"image is-square fd-has-shadow fd-has-action"},qM=["textContent"];function WM(e,t,n,r,s,o){const i=O("mdicon"),a=O("cover-artwork"),l=O("list-tracks"),c=O("modal-dialog-album"),m=O("content-with-hero");return E(),xe(m,null,{"heading-left":P(()=>[u("h1",{class:"title is-5",textContent:v(s.album.name)},null,8,MM),u("h2",RM,[u("a",{class:"has-text-link",onClick:t[0]||(t[0]=(...f)=>o.open_artist&&o.open_artist(...f)),textContent:v(s.album.artist)},null,8,NM)]),u("div",jM,[u("a",{class:"button is-small is-dark is-rounded",onClick:t[1]||(t[1]=(...f)=>o.play&&o.play(...f))},[u("span",VM,[C(i,{name:"play",size:"16"})]),u("span",{textContent:v(e.$t("page.audiobooks.album.play"))},null,8,BM)]),u("a",{class:"button is-small is-light is-rounded",onClick:t[2]||(t[2]=f=>s.show_album_details_modal=!0)},[u("span",HM,[C(i,{name:"dots-horizontal",size:"16"})])])])]),"heading-right":P(()=>[u("p",UM,[C(a,{artwork_url:s.album.artwork_url,artist:s.album.artist,album:s.album.name,onClick:t[3]||(t[3]=f=>s.show_album_details_modal=!0)},null,8,["artwork_url","artist","album"])])]),content:P(()=>[u("p",{class:"heading is-7 has-text-centered-mobile fd-has-margin-top",textContent:v(e.$t("page.audiobooks.album.track-count",{count:s.album.track_count}))},null,8,qM),C(l,{tracks:s.tracks,uris:s.album.uri},null,8,["tracks","uris"]),C(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 GM=ve(LM,[["render",WM]]),KM={name:"ModalDialogPlaylist",props:["show","playlist","uris"],emits:["close"],methods:{play:function(){this.$emit("close"),Z.player_play_uri(this.uris?this.uris:this.playlist.uri,!1)},queue_add:function(){this.$emit("close"),Z.queue_add(this.uris?this.uris:this.playlist.uri)},queue_add_next:function(){this.$emit("close"),Z.queue_add_next(this.uris?this.uris:this.playlist.uri)},open_playlist:function(){this.$emit("close"),this.$router.push({path:"/playlists/"+this.playlist.id+"/tracks"})}}},ZM={key:0,class:"modal is-active"},YM={class:"modal-content fd-modal-card"},JM={class:"card"},XM={class:"card-content"},QM={class:"title is-4"},e7=["textContent"],t7={class:"content is-small"},n7=u("span",{class:"heading"},"Path",-1),r7=["textContent"],s7=["textContent"],o7=["textContent"],i7={key:0},a7=["textContent"],l7=["textContent"],u7={key:0,class:"card-footer"},c7={class:"icon"},d7=["textContent"],m7={class:"icon"},f7=["textContent"],p7={class:"icon"},h7=["textContent"];function _7(e,t,n,r,s,o){const i=O("mdicon");return E(),D("div",null,[C(qt,{name:"fade"},{default:P(()=>[n.show?(E(),D("div",ZM,[u("div",{class:"modal-background",onClick:t[0]||(t[0]=a=>e.$emit("close"))}),u("div",YM,[u("div",JM,[u("div",XM,[u("p",QM,[u("a",{class:"has-text-link",onClick:t[1]||(t[1]=(...a)=>o.open_playlist&&o.open_playlist(...a)),textContent:v(n.playlist.name)},null,8,e7)]),u("div",t7,[u("p",null,[n7,u("span",{class:"title is-6",textContent:v(n.playlist.path)},null,8,r7)]),u("p",null,[u("span",{class:"heading",textContent:v(e.$t("dialog.playlist.type"))},null,8,s7),u("span",{class:"title is-6",textContent:v(n.playlist.type)},null,8,o7)]),n.playlist.folder?Q("",!0):(E(),D("p",i7,[u("span",{class:"heading",textContent:v(e.$t("dialog.playlist.track-count"))},null,8,a7),u("span",{class:"title is-6",textContent:v(n.playlist.item_count)},null,8,l7)]))])]),n.playlist.folder?Q("",!0):(E(),D("footer",u7,[u("a",{class:"card-footer-item has-text-dark",onClick:t[2]||(t[2]=(...a)=>o.queue_add&&o.queue_add(...a))},[u("span",c7,[C(i,{name:"playlist-plus",size:"16"})]),u("span",{class:"is-size-7",textContent:v(e.$t("dialog.playlist.add"))},null,8,d7)]),u("a",{class:"card-footer-item has-text-dark",onClick:t[3]||(t[3]=(...a)=>o.queue_add_next&&o.queue_add_next(...a))},[u("span",m7,[C(i,{name:"playlist-play",size:"16"})]),u("span",{class:"is-size-7",textContent:v(e.$t("dialog.playlist.add-next"))},null,8,f7)]),u("a",{class:"card-footer-item has-text-dark",onClick:t[4]||(t[4]=(...a)=>o.play&&o.play(...a))},[u("span",p7,[C(i,{name:"play",size:"16"})]),u("span",{class:"is-size-7",textContent:v(e.$t("dialog.playlist.play"))},null,8,h7)])]))])]),u("button",{class:"modal-close is-large","aria-label":"close",onClick:t[5]||(t[5]=a=>e.$emit("close"))})])):Q("",!0)]),_:1})])}const y1=ve(KM,[["render",_7]]),g7={name:"ListPlaylists",components:{ModalDialogPlaylist:y1},props:["playlists"],data(){return{show_details_modal:!1,selected_playlist:{}}},methods:{open_playlist:function(e){e.type!=="folder"?this.$router.push({path:"/playlists/"+e.id+"/tracks"}):this.$router.push({path:"/playlists/"+e.id})},open_dialog:function(e){this.selected_playlist=e,this.show_details_modal=!0},icon_name:function(e){return e.type==="folder"?"folder":e.type==="rss"?"rss":"music-box-multiple"}}},y7=["playlist","onClick"],v7={class:"media-left fd-has-action"},b7={class:"icon"},w7={class:"media-content fd-has-action is-clipped"},C7=["textContent"],z7={class:"media-right"},x7=["onClick"],k7={class:"icon has-text-dark"};function S7(e,t,n,r,s,o){const i=O("mdicon"),a=O("modal-dialog-playlist");return E(),D(Ge,null,[(E(!0),D(Ge,null,wt(n.playlists,l=>(E(),D("div",{key:l.itemId,class:"media",playlist:l,onClick:c=>o.open_playlist(l.item)},[u("figure",v7,[u("span",b7,[C(i,{name:o.icon_name(l.item),size:"16"},null,8,["name"])])]),u("div",w7,[u("h1",{class:"title is-6",textContent:v(l.item.name)},null,8,C7)]),u("div",z7,[u("a",{onClick:ht(c=>o.open_dialog(l.item),["prevent","stop"])},[u("span",k7,[C(i,{name:"dots-vertical",size:"16"})])],8,x7)])],8,y7))),128)),(E(),xe(os,{to:"#app"},[C(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 ef=ve(g7,[["render",S7]]),Va={load:function(e){return Promise.all([Z.library_playlist(e.params.playlist_id),Z.library_playlist_folder(e.params.playlist_id)])},set:function(e,t){e.playlist=t[0].data,e.playlists_list=new Re(t[1].data)}},E7={name:"PagePlaylists",components:{ContentWithHeading:ft,ListPlaylists:ef},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{playlist:{},playlists_list:new Re}},computed:{radio_playlists(){return this.$store.state.config.radio_playlists},playlists(){return this.playlists_list.group(h1(),[e=>e.folder||this.radio_playlists||e.stream_count===0||e.item_count>e.stream_count]),this.playlists_list}}},$7=["textContent"],A7=["textContent"];function T7(e,t,n,r,s,o){const i=O("list-playlists"),a=O("content-with-heading");return E(),xe(a,null,{"heading-left":P(()=>[u("p",{class:"title is-4",textContent:v(s.playlist.name)},null,8,$7),u("p",{class:"heading",textContent:v(e.$t("page.playlists.count",{count:o.playlists.count}))},null,8,A7)]),content:P(()=>[C(i,{playlists:o.playlists},null,8,["playlists"])]),_:1})}const O7=ve(E7,[["render",T7]]),Ba={load:function(e){return Promise.all([Z.library_playlist(e.params.playlist_id),Z.library_playlist_tracks(e.params.playlist_id)])},set:function(e,t){e.playlist=t[0].data,e.tracks=new Re(t[1].data)}},P7={name:"PagePlaylist",components:{ContentWithHeading:ft,ListTracks:Rn,ModalDialogPlaylist:y1},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{playlist:{},tracks:new Re,show_playlist_details_modal:!1}},computed:{uris(){return this.playlist.random?this.tracks.map(e=>e.uri).join(","):this.playlist.uri}},methods:{play:function(){Z.player_play_uri(this.uris,!0)}}},D7=["textContent"],F7={class:"buttons is-centered"},I7={class:"icon"},L7={class:"icon"},M7=["textContent"],R7=["textContent"];function N7(e,t,n,r,s,o){const i=O("mdicon"),a=O("list-tracks"),l=O("modal-dialog-playlist"),c=O("content-with-heading");return E(),xe(c,null,{"heading-left":P(()=>[u("div",{class:"title is-4",textContent:v(s.playlist.name)},null,8,D7)]),"heading-right":P(()=>[u("div",F7,[u("a",{class:"button is-small is-light is-rounded",onClick:t[0]||(t[0]=m=>s.show_playlist_details_modal=!0)},[u("span",I7,[C(i,{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))},[u("span",L7,[C(i,{name:"shuffle",size:"16"})]),u("span",{textContent:v(e.$t("page.playlist.shuffle"))},null,8,M7)])])]),content:P(()=>[u("p",{class:"heading has-text-centered-mobile",textContent:v(e.$t("page.playlist.count",{count:s.tracks.count}))},null,8,R7),C(a,{tracks:s.tracks,uris:o.uris},null,8,["tracks","uris"]),C(l,{show:s.show_playlist_details_modal,playlist:s.playlist,uris:o.uris,onClose:t[2]||(t[2]=m=>s.show_playlist_details_modal=!1)},null,8,["show","playlist","uris"])]),_:1})}const j7=ve(P7,[["render",N7]]),V7={name:"ModalDialogDirectory",props:["show","directory"],emits:["close"],methods:{play:function(){this.$emit("close"),Z.player_play_expression('path starts with "'+this.directory.path+'" order by path asc',!1)},queue_add:function(){this.$emit("close"),Z.queue_expression_add('path starts with "'+this.directory.path+'" order by path asc')},queue_add_next:function(){this.$emit("close"),Z.queue_expression_add_next('path starts with "'+this.directory.path+'" order by path asc')}}},B7={key:0,class:"modal is-active"},H7={class:"modal-content fd-modal-card"},U7={class:"card"},q7={class:"card-content"},W7=["textContent"],G7={class:"card-footer"},K7={class:"icon"},Z7=["textContent"],Y7={class:"icon"},J7=["textContent"],X7={class:"icon"},Q7=["textContent"];function eR(e,t,n,r,s,o){const i=O("mdicon");return E(),D("div",null,[C(qt,{name:"fade"},{default:P(()=>[n.show?(E(),D("div",B7,[u("div",{class:"modal-background",onClick:t[0]||(t[0]=a=>e.$emit("close"))}),u("div",H7,[u("div",U7,[u("div",q7,[u("p",{class:"title is-4",textContent:v(n.directory.path)},null,8,W7)]),u("footer",G7,[u("a",{class:"card-footer-item has-text-dark",onClick:t[1]||(t[1]=(...a)=>o.queue_add&&o.queue_add(...a))},[u("span",K7,[C(i,{name:"playlist-plus",size:"16"})]),u("span",{class:"is-size-7",textContent:v(e.$t("dialog.directory.add"))},null,8,Z7)]),u("a",{class:"card-footer-item has-text-dark",onClick:t[2]||(t[2]=(...a)=>o.queue_add_next&&o.queue_add_next(...a))},[u("span",Y7,[C(i,{name:"playlist-play",size:"16"})]),u("span",{class:"is-size-7",textContent:v(e.$t("dialog.directory.add-next"))},null,8,J7)]),u("a",{class:"card-footer-item has-text-dark",onClick:t[3]||(t[3]=(...a)=>o.play&&o.play(...a))},[u("span",X7,[C(i,{name:"play",size:"16"})]),u("span",{class:"is-size-7",textContent:v(e.$t("dialog.directory.play"))},null,8,Q7)])])])]),u("button",{class:"modal-close is-large","aria-label":"close",onClick:t[4]||(t[4]=a=>e.$emit("close"))})])):Q("",!0)]),_:1})])}const v1=ve(V7,[["render",eR]]),tR={name:"ListDirectories",components:{ModalDialogDirectory:v1},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:function(){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:function(e){this.$router.push({path:"/files",query:{directory:e.path}})},open_dialog:function(e){this.selected_directory=e,this.show_details_modal=!0}}},nR={class:"media-left fd-has-action"},rR={class:"icon"},sR=u("div",{class:"media-content fd-has-action is-clipped"},[u("h1",{class:"title is-6"},"..")],-1),oR={class:"media-right"},iR=["onClick"],aR={class:"media-left fd-has-action"},lR={class:"icon"},uR={class:"media-content fd-has-action is-clipped"},cR=["textContent"],dR=["textContent"],mR={class:"media-right"},fR=["onClick"],pR={class:"icon has-text-dark"};function hR(e,t,n,r,s,o){const i=O("mdicon"),a=O("modal-dialog-directory");return E(),D(Ge,null,[e.$route.query.directory?(E(),D("div",{key:0,class:"media",onClick:t[0]||(t[0]=l=>o.open_parent_directory())},[u("figure",nR,[u("span",rR,[C(i,{name:"subdirectory-arrow-left",size:"16"})])]),sR,u("div",oR,[zt(e.$slots,"actions")])])):Q("",!0),(E(!0),D(Ge,null,wt(n.directories,l=>(E(),D("div",{key:l.path,class:"media",onClick:c=>o.open_directory(l)},[u("figure",aR,[u("span",lR,[C(i,{name:"folder",size:"16"})])]),u("div",uR,[u("h1",{class:"title is-6",textContent:v(l.path.substring(l.path.lastIndexOf("/")+1))},null,8,cR),u("h2",{class:"subtitle is-7 has-text-grey-light",textContent:v(l.path)},null,8,dR)]),u("div",mR,[u("a",{onClick:ht(c=>o.open_dialog(l),["prevent","stop"])},[u("span",pR,[C(i,{name:"dots-vertical",size:"16"})])],8,fR)])],8,iR))),128)),(E(),xe(os,{to:"#app"},[C(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 _R=ve(tR,[["render",hR]]),Ha={load:function(e){return e.query.directory?Z.library_files(e.query.directory):Promise.resolve()},set:function(e,t){t?(e.dirs=t.data.directories,e.playlists=new Re(t.data.playlists),e.tracks=new Re(t.data.tracks)):(e.dirs=e.$store.state.config.directories.map(n=>({path:n})),e.playlists=new Re,e.tracks=new Re)}},gR={name:"PageFiles",components:{ContentWithHeading:ft,ListDirectories:_R,ListPlaylists:ef,ListTracks:Rn,ModalDialogDirectory:v1},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{dirs:[],playlists:new Re,tracks:new Re,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:function(){Z.player_play_expression(this.play_expression,!1)}}},yR=["textContent"],vR=["textContent"],bR={class:"buttons is-centered"},wR={class:"icon"},CR={class:"icon"},zR=["textContent"];function xR(e,t,n,r,s,o){const i=O("mdicon"),a=O("list-directories"),l=O("list-playlists"),c=O("list-tracks"),m=O("modal-dialog-directory"),f=O("content-with-heading");return E(),D("div",null,[C(f,null,{"heading-left":P(()=>[u("p",{class:"title is-4",textContent:v(e.$t("page.files.title"))},null,8,yR),u("p",{class:"title is-7 has-text-grey",textContent:v(o.current_directory)},null,8,vR)]),"heading-right":P(()=>[u("div",bR,[u("a",{class:"button is-small is-light is-rounded",onClick:t[0]||(t[0]=d=>s.show_details_modal=!0)},[u("span",wR,[C(i,{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))},[u("span",CR,[C(i,{name:"play",size:"16"})]),u("span",{textContent:v(e.$t("page.files.play"))},null,8,zR)])])]),content:P(()=>[C(a,{directories:s.dirs},null,8,["directories"]),C(l,{playlists:s.playlists},null,8,["playlists"]),C(c,{tracks:s.tracks,expression:o.play_expression,show_icon:!0},null,8,["tracks","expression"]),C(m,{show:s.show_details_modal,directory:o.current_directory,onClose:t[2]||(t[2]=d=>s.show_details_modal=!1)},null,8,["show","directory"])]),_:1})])}const kR=ve(gR,[["render",xR]]),Ua={load:function(e){return Z.library_radio_streams()},set:function(e,t){e.tracks=new Re(t.data.tracks)}},SR={name:"PageRadioStreams",components:{ContentWithHeading:ft,ListTracks:Rn},beforeRouteEnter(e,t,n){Ua.load(e).then(r=>{n(s=>Ua.set(s,r))})},beforeRouteUpdate(e,t,n){const r=this;Ua.load(e).then(s=>{Ua.set(r,s),n()})},data(){return{tracks:new Re}}},ER=["textContent"],$R=["textContent"];function AR(e,t,n,r,s,o){const i=O("list-tracks"),a=O("content-with-heading");return E(),D("div",null,[C(a,null,{"heading-left":P(()=>[u("p",{class:"title is-4",textContent:v(e.$t("page.radio.title"))},null,8,ER)]),content:P(()=>[u("p",{class:"heading has-text-centered-mobile",textContent:v(e.$t("page.radio.count",{count:s.tracks.total}))},null,8,$R),C(i,{tracks:s.tracks},null,8,["tracks"])]),_:1})])}const TR=ve(SR,[["render",AR]]),OR={name:"ContentText"},PR={class:"section fd-content py-3"},DR={class:"container"},FR={class:"columns is-centered"},IR={class:"column is-four-fifths"};function LR(e,t,n,r,s,o){return E(),D("section",PR,[u("div",DR,[u("div",FR,[u("div",IR,[zt(e.$slots,"content")])])])])}const b1=ve(OR,[["render",LR]]),MR={name:"TabsSearch",props:["query"],computed:{spotify_enabled(){return this.$store.state.spotify.webapi_token_valid},route_query:function(){return this.query?{type:"track,artist,album,playlist,audiobook,podcast",query:this.query,limit:3,offset:0}:null}},methods:{search_library:function(){this.$store.commit(ld,"/search/library"),this.$router.push({path:this.$store.state.search_path,query:this.route_query})},search_spotify:function(){this.$store.commit(ld,"/search/spotify"),this.$router.push({path:this.$store.state.search_path,query:this.route_query})}}},RR={key:0,class:"section fd-remove-padding-bottom"},NR={class:"container"},jR={class:"columns is-centered"},VR={class:"column is-four-fifths"},BR={class:"tabs is-centered is-small is-toggle is-toggle-rounded"},HR={class:"icon is-small"},UR=["textContent"],qR={class:"icon is-small"},WR=["textContent"];function GR(e,t,n,r,s,o){const i=O("mdicon");return o.spotify_enabled?(E(),D("section",RR,[u("div",NR,[u("div",jR,[u("div",VR,[u("div",BR,[u("ul",null,[u("li",{class:Ye({"is-active":e.$store.state.search_path==="/search/library"})},[u("a",{onClick:t[0]||(t[0]=(...a)=>o.search_library&&o.search_library(...a))},[u("span",HR,[C(i,{name:"bookshelf",size:"16"})]),u("span",{textContent:v(e.$t("page.search.tabs.library"))},null,8,UR)])],2),u("li",{class:Ye({"is-active":e.$store.state.search_path==="/search/spotify"})},[u("a",{onClick:t[1]||(t[1]=(...a)=>o.search_spotify&&o.search_spotify(...a))},[u("span",qR,[C(i,{name:"spotify",size:"16"})]),u("span",{textContent:v(e.$t("page.search.tabs.spotify"))},null,8,WR)])],2)])])])])])])):Q("",!0)}const w1=ve(MR,[["render",GR]]),KR={name:"PageSearch",components:{ContentWithHeading:ft,ContentText:b1,TabsSearch:w1,ListTracks:Rn,ListArtists:Ym,ListAlbums:yr,ListPlaylists:ef,ListComposers:_1},data(){return{search_query:"",tracks:new Re,artists:new Re,albums:new Re,composers:new Re,playlists:new Re,audiobooks:new Re,podcasts:new Re}},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},is_visible_artwork(){return this.$store.getters.settings_option("webinterface","show_cover_artwork_in_album_lists").value}},watch:{$route(e,t){this.search(e)}},mounted:function(){this.search(this.$route)},methods:{search:function(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(Sm,e.query.query)},searchMusic:function(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),Z.search(t).then(({data:n})=>{this.tracks=new Re(n.tracks),this.artists=new Re(n.artists),this.albums=new Re(n.albums),this.composers=new Re(n.composers),this.playlists=new Re(n.playlists)})},searchAudiobooks:function(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),Z.search(t).then(({data:n})=>{this.audiobooks=new Re(n.albums)})},searchPodcasts:function(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),Z.search(t).then(({data:n})=>{this.podcasts=new Re(n.albums)})},new_search:function(){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:function(){this.$router.push({path:"/search/library",query:{type:"track",query:this.$route.query.query}})},open_search_artists:function(){this.$router.push({path:"/search/library",query:{type:"artist",query:this.$route.query.query}})},open_search_albums:function(){this.$router.push({path:"/search/library",query:{type:"album",query:this.$route.query.query}})},open_search_composers:function(){this.$router.push({path:"/search/library",query:{type:"tracks",query:this.$route.query.query}})},open_search_playlists:function(){this.$router.push({path:"/search/library",query:{type:"playlist",query:this.$route.query.query}})},open_search_audiobooks:function(){this.$router.push({path:"/search/library",query:{type:"audiobook",query:this.$route.query.query}})},open_search_podcasts:function(){this.$router.push({path:"/search/library",query:{type:"podcast",query:this.$route.query.query}})},open_composer:function(e){this.$router.push({name:"ComposerAlbums",params:{composer:e.name}})},open_playlist:function(e){this.$router.push({path:"/playlists/"+e.id+"/tracks"})},open_recent_search:function(e){this.search_query=e,this.new_search()},open_track_dialog:function(e){this.selected_track=e,this.show_track_details_modal=!0},open_album_dialog:function(e){this.selected_album=e,this.show_album_details_modal=!0},open_artist_dialog:function(e){this.selected_artist=e,this.show_artist_details_modal=!0},open_composer_dialog:function(e){this.selected_composer=e,this.show_composer_details_modal=!0},open_playlist_dialog:function(e){this.selected_playlist=e,this.show_playlist_details_modal=!0}}},ZR={class:"section fd-remove-padding-bottom"},YR={class:"container"},JR={class:"columns is-centered"},XR={class:"column is-four-fifths"},QR={class:"field"},e9={class:"control is-expanded has-icons-left"},t9={class:"icon is-left"},n9={class:"help has-text-centered"},r9=["innerHTML"],s9={class:"tags",style:{"margin-top":"16px"}},o9=["onClick","textContent"],i9=["textContent"],a9={key:0,class:"level"},l9={class:"level-item"},u9=["textContent"],c9=["textContent"],d9=["textContent"],m9={key:0,class:"level"},f9={class:"level-item"},p9=["textContent"],h9=["textContent"],_9=["textContent"],g9={key:0,class:"level"},y9={class:"level-item"},v9=["textContent"],b9=["textContent"],w9=["textContent"],C9={key:0,class:"level"},z9={class:"level-item"},x9=["textContent"],k9=["textContent"],S9=["textContent"],E9={key:0,class:"level"},$9={class:"level-item"},A9=["textContent"],T9=["textContent"],O9=["textContent"],P9={key:0,class:"level"},D9={class:"level-item"},F9=["textContent"],I9=["textContent"],L9=["textContent"],M9={key:0,class:"level"},R9={class:"level-item"},N9=["textContent"],j9=["textContent"];function V9(e,t,n,r,s,o){const i=O("mdicon"),a=O("tabs-search"),l=O("list-tracks"),c=O("content-with-heading"),m=O("content-text"),f=O("list-artists"),d=O("list-albums"),p=O("list-composers"),h=O("list-playlists");return E(),D("div",null,[u("section",ZR,[u("div",YR,[u("div",JR,[u("div",XR,[u("form",{onSubmit:t[1]||(t[1]=ht((..._)=>o.new_search&&o.new_search(..._),["prevent"]))},[u("div",QR,[u("p",e9,[xt(u("input",{ref:"search_field","onUpdate:modelValue":t[0]||(t[0]=_=>s.search_query=_),class:"input is-rounded is-shadowless",type:"text",placeholder:"Search",autocomplete:"off"},null,512),[[xn,s.search_query]]),u("span",t9,[C(i,{name:"magnify",size:"16"})])]),u("p",n9,[u("span",{innerHTML:e.$t("page.search.help")},null,8,r9)])])],32),u("div",s9,[(E(!0),D(Ge,null,wt(o.recent_searches,_=>(E(),D("a",{key:_,class:"tag",onClick:g=>o.open_recent_search(_),textContent:v(_)},null,8,o9))),128))])])])])]),C(a,{query:s.search_query},null,8,["query"]),o.show_tracks&&s.tracks.total?(E(),xe(c,{key:0},{"heading-left":P(()=>[u("p",{class:"title is-4",textContent:v(e.$t("page.search.tracks"))},null,8,i9)]),content:P(()=>[C(l,{tracks:s.tracks},null,8,["tracks"])]),footer:P(()=>[o.show_all_tracks_button?(E(),D("nav",a9,[u("p",l9,[u("a",{class:"button is-light is-small is-rounded",onClick:t[2]||(t[2]=(..._)=>o.open_search_tracks&&o.open_search_tracks(..._)),textContent:v(e.$t("page.search.show-tracks",{count:s.tracks.total.toLocaleString(e.$i18n.locale)}))},null,8,u9)])])):Q("",!0)]),_:1})):Q("",!0),o.show_tracks&&!s.tracks.total?(E(),xe(m,{key:1,class:"mt-6"},{content:P(()=>[u("p",null,[u("i",{textContent:v(e.$t("page.search.no-tracks"))},null,8,c9)])]),_:1})):Q("",!0),o.show_artists&&s.artists.total?(E(),xe(c,{key:2},{"heading-left":P(()=>[u("p",{class:"title is-4",textContent:v(e.$t("page.search.artists"))},null,8,d9)]),content:P(()=>[C(f,{artists:s.artists,hide_group_title:!0},null,8,["artists"])]),footer:P(()=>[o.show_all_artists_button?(E(),D("nav",m9,[u("p",f9,[u("a",{class:"button is-light is-small is-rounded",onClick:t[3]||(t[3]=(..._)=>o.open_search_artists&&o.open_search_artists(..._)),textContent:v(e.$t("page.search.show-artists",{count:s.artists.total.toLocaleString(e.$i18n.locale)}))},null,8,p9)])])):Q("",!0)]),_:1})):Q("",!0),o.show_artists&&!s.artists.total?(E(),xe(m,{key:3},{content:P(()=>[u("p",null,[u("i",{textContent:v(e.$t("page.search.no-artists"))},null,8,h9)])]),_:1})):Q("",!0),o.show_albums&&s.albums.total?(E(),xe(c,{key:4},{"heading-left":P(()=>[u("p",{class:"title is-4",textContent:v(e.$t("page.search.albums"))},null,8,_9)]),content:P(()=>[C(d,{albums:s.albums,hide_group_title:!0},null,8,["albums"])]),footer:P(()=>[o.show_all_albums_button?(E(),D("nav",g9,[u("p",y9,[u("a",{class:"button is-light is-small is-rounded",onClick:t[4]||(t[4]=(..._)=>o.open_search_albums&&o.open_search_albums(..._)),textContent:v(e.$t("page.search.show-albums",{count:s.albums.total.toLocaleString(e.$i18n.locale)}))},null,8,v9)])])):Q("",!0)]),_:1})):Q("",!0),o.show_albums&&!s.albums.total?(E(),xe(m,{key:5},{content:P(()=>[u("p",null,[u("i",{textContent:v(e.$t("page.search.no-albums"))},null,8,b9)])]),_:1})):Q("",!0),o.show_composers&&s.composers.total?(E(),xe(c,{key:6},{"heading-left":P(()=>[u("p",{class:"title is-4",textContent:v(e.$t("page.search.composers"))},null,8,w9)]),content:P(()=>[C(p,{composers:s.composers},null,8,["composers"])]),footer:P(()=>[o.show_all_composers_button?(E(),D("nav",C9,[u("p",z9,[u("a",{class:"button is-light is-small is-rounded",onClick:t[5]||(t[5]=(..._)=>o.open_search_composers&&o.open_search_composers(..._)),textContent:v(e.$t("page.search.show-composers",{count:s.composers.total.toLocaleString(e.$i18n.locale)}))},null,8,x9)])])):Q("",!0)]),_:1})):Q("",!0),o.show_composers&&!s.composers.total?(E(),xe(m,{key:7},{content:P(()=>[u("p",null,[u("i",{textContent:v(e.$t("page.search.no-composers"))},null,8,k9)])]),_:1})):Q("",!0),o.show_playlists&&s.playlists.total?(E(),xe(c,{key:8},{"heading-left":P(()=>[u("p",{class:"title is-4",textContent:v(e.$t("page.search.playlists"))},null,8,S9)]),content:P(()=>[C(h,{playlists:s.playlists},null,8,["playlists"])]),footer:P(()=>[o.show_all_playlists_button?(E(),D("nav",E9,[u("p",$9,[u("a",{class:"button is-light is-small is-rounded",onClick:t[6]||(t[6]=(..._)=>o.open_search_playlists&&o.open_search_playlists(..._)),textContent:v(e.$t("page.search.show-playlists",{count:s.playlists.total.toLocaleString(e.$i18n.locale)}))},null,8,A9)])])):Q("",!0)]),_:1})):Q("",!0),o.show_playlists&&!s.playlists.total?(E(),xe(m,{key:9},{content:P(()=>[u("p",null,[u("i",{textContent:v(e.$t("page.search.no-playlists"))},null,8,T9)])]),_:1})):Q("",!0),o.show_podcasts&&s.podcasts.total?(E(),xe(c,{key:10},{"heading-left":P(()=>[u("p",{class:"title is-4",textContent:v(e.$t("page.search.podcasts"))},null,8,O9)]),content:P(()=>[C(d,{albums:s.podcasts},null,8,["albums"])]),footer:P(()=>[o.show_all_podcasts_button?(E(),D("nav",P9,[u("p",D9,[u("a",{class:"button is-light is-small is-rounded",onClick:t[7]||(t[7]=(..._)=>o.open_search_podcasts&&o.open_search_podcasts(..._)),textContent:v(e.$t("page.search.show-podcasts",{count:s.podcasts.total.toLocaleString(e.$i18n.locale)}))},null,8,F9)])])):Q("",!0)]),_:1})):Q("",!0),o.show_podcasts&&!s.podcasts.total?(E(),xe(m,{key:11},{content:P(()=>[u("p",null,[u("i",{textContent:v(e.$t("page.search.no-podcasts"))},null,8,I9)])]),_:1})):Q("",!0),o.show_audiobooks&&s.audiobooks.total?(E(),xe(c,{key:12},{"heading-left":P(()=>[u("p",{class:"title is-4",textContent:v(e.$t("page.search.audiobooks"))},null,8,L9)]),content:P(()=>[C(d,{albums:s.audiobooks},null,8,["albums"])]),footer:P(()=>[o.show_all_audiobooks_button?(E(),D("nav",M9,[u("p",R9,[u("a",{class:"button is-light is-small is-rounded",onClick:t[8]||(t[8]=(..._)=>o.open_search_audiobooks&&o.open_search_audiobooks(..._)),textContent:v(e.$t("page.search.show-audiobooks",{count:s.audiobooks.total.toLocaleString(e.$i18n.locale)}))},null,8,N9)])])):Q("",!0)]),_:1})):Q("",!0),o.show_audiobooks&&!s.audiobooks.total?(E(),xe(m,{key:13},{content:P(()=>[u("p",null,[u("i",{textContent:v(e.$t("page.search.no-audiobooks"))},null,8,j9)])]),_:1})):Q("",!0)])}const B9=ve(KR,[["render",V9]]),H9={name:"PageAbout",data(){return{show_update_dropdown:!1,show_update_library:!1}},computed:{config(){return this.$store.state.config},library(){return this.$store.state.library}},methods:{onClickOutside(e){this.show_update_dropdown=!1},showUpdateDialog(){this.$store.commit(Ui,!0)}}},U9={class:"section"},q9={class:"container"},W9={class:"columns is-centered"},G9={class:"column is-four-fifths has-text-centered-mobile"},K9=["textContent"],Z9={class:"section"},Y9={class:"container"},J9={class:"columns is-centered"},X9={class:"column is-four-fifths"},Q9={class:"content"},eN={class:"level is-mobile"},tN={class:"level-left"},nN={class:"level-item"},rN=["textContent"],sN={class:"level-right"},oN={key:0},iN=["textContent"],aN={key:1},lN=["textContent"],uN={class:"table"},cN=["textContent"],dN=["textContent"],mN=["textContent"],fN=["textContent"],pN=["textContent"],hN=["textContent"],_N=["textContent"],gN=["textContent"],yN=["textContent"],vN={class:"has-text-right"},bN=["textContent"],wN=yt(" ("),CN=["textContent"],zN=yt(") "),xN=["textContent"],kN={class:"has-text-right"},SN=["textContent"],EN=yt(" ("),$N=["textContent"],AN=yt(") "),TN={class:"section"},ON={class:"container"},PN={class:"columns is-centered"},DN={class:"column is-four-fifths"},FN={class:"content has-text-centered-mobile"},IN=["textContent"],LN=["textContent"],MN=["innerHTML"];function RN(e,t,n,r,s,o){return E(),D("div",null,[u("section",U9,[u("div",q9,[u("div",W9,[u("div",G9,[u("h1",{class:"title is-4",textContent:v(o.config.library_name)},null,8,K9)])])])]),u("section",Z9,[u("div",Y9,[u("div",J9,[u("div",X9,[u("div",Q9,[u("nav",eN,[u("div",tN,[u("div",nN,[u("h2",{class:"title is-5",textContent:v(e.$t("page.about.library"))},null,8,rN)])]),u("div",sN,[o.library.updating?(E(),D("div",oN,[u("a",{class:"button is-small is-loading",textContent:v(e.$t("page.about.update"))},null,8,iN)])):(E(),D("div",aN,[u("a",{class:"button is-small",onClick:t[0]||(t[0]=i=>o.showUpdateDialog()),textContent:v(e.$t("page.about.update"))},null,8,lN)]))])]),u("table",uN,[u("tbody",null,[u("tr",null,[u("th",{class:"has-text-left",textContent:v(e.$t("page.about.artists"))},null,8,cN),u("td",{class:"has-text-right",textContent:v(e.$filters.number(o.library.artists))},null,8,dN)]),u("tr",null,[u("th",{class:"has-text-left",textContent:v(e.$t("page.about.albums"))},null,8,mN),u("td",{class:"has-text-right",textContent:v(e.$filters.number(o.library.albums))},null,8,fN)]),u("tr",null,[u("th",{class:"has-text-left",textContent:v(e.$t("page.about.tracks"))},null,8,pN),u("td",{class:"has-text-right",textContent:v(e.$filters.number(o.library.songs))},null,8,hN)]),u("tr",null,[u("th",{class:"has-text-left",textContent:v(e.$t("page.about.total-playtime"))},null,8,_N),u("td",{class:"has-text-right",textContent:v(e.$filters.durationInDays(o.library.db_playtime*1e3))},null,8,gN)]),u("tr",null,[u("th",{class:"has-text-left",textContent:v(e.$t("page.about.updated"))},null,8,yN),u("td",vN,[u("span",{textContent:v(e.$t("page.about.updated-on",{time:e.$filters.timeFromNow(o.library.updated_at)}))},null,8,bN),wN,u("span",{class:"has-text-grey",textContent:v(e.$filters.datetime(o.library.updated_at))},null,8,CN),zN])]),u("tr",null,[u("th",{class:"has-text-left",textContent:v(e.$t("page.about.uptime"))},null,8,xN),u("td",kN,[u("span",{textContent:v(e.$filters.timeFromNow(o.library.started_at,!0))},null,8,SN),EN,u("span",{class:"has-text-grey",textContent:v(e.$filters.datetime(o.library.started_at))},null,8,$N),AN])])])])])])])])]),u("section",TN,[u("div",ON,[u("div",PN,[u("div",DN,[u("div",FN,[u("p",{class:"is-size-7",textContent:v(e.$t("page.about.version",{version:o.config.version}))},null,8,IN),u("p",{class:"is-size-7",textContent:v(e.$t("page.about.compiled-with",{options:o.config.buildoptions.join(", ")}))},null,8,LN),u("p",{class:"is-size-7",innerHTML:e.$t("page.about.built-with")},null,8,MN)])])])])])])}const NN=ve(H9,[["render",RN]]),jN={name:"SpotifyListItemAlbum",props:["album"]},VN={class:"media"},BN={key:0,class:"media-left fd-has-action"},HN={class:"media-content fd-has-action is-clipped"},UN=["textContent"],qN={class:"subtitle is-7 has-text-grey"},WN=["textContent"],GN=["textContent"],KN={class:"media-right"};function ZN(e,t,n,r,s,o){return E(),D("div",VN,[e.$slots.artwork?(E(),D("div",BN,[zt(e.$slots,"artwork")])):Q("",!0),u("div",HN,[u("h1",{class:"title is-6",textContent:v(n.album.name)},null,8,UN),u("h2",qN,[u("b",{textContent:v(n.album.artists[0].name)},null,8,WN)]),u("h2",{class:"subtitle is-7 has-text-grey has-text-weight-normal",textContent:v([n.album.album_type,e.$filters.date(n.album.release_date)].join(", "))},null,8,GN)]),u("div",KN,[zt(e.$slots,"actions")])])}const vu=ve(jN,[["render",ZN]]),YN={name:"SpotifyListItemPlaylist",props:["playlist"],methods:{open_playlist:function(){this.$router.push({path:"/music/spotify/playlists/"+this.playlist.id})}}},JN={class:"media"},XN=["textContent"],QN=["textContent"],ej={class:"media-right"};function tj(e,t,n,r,s,o){return E(),D("div",JN,[u("div",{class:"media-content fd-has-action is-clipped",onClick:t[0]||(t[0]=(...i)=>o.open_playlist&&o.open_playlist(...i))},[u("h1",{class:"title is-6",textContent:v(n.playlist.name)},null,8,XN),u("h2",{class:"subtitle is-7",textContent:v(n.playlist.owner.display_name)},null,8,QN)]),u("div",ej,[zt(e.$slots,"actions")])])}const tf=ve(YN,[["render",tj]]),nj={name:"SpotifyModalDialogAlbum",props:["show","album"],emits:["close"],data(){return{artwork_visible:!1}},computed:{artwork_url:function(){return this.album.images&&this.album.images.length>0?this.album.images[0].url:""}},methods:{play:function(){this.$emit("close"),Z.player_play_uri(this.album.uri,!1)},queue_add:function(){this.$emit("close"),Z.queue_add(this.album.uri)},queue_add_next:function(){this.$emit("close"),Z.queue_add_next(this.album.uri)},open_album:function(){this.$router.push({path:"/music/spotify/albums/"+this.album.id})},open_artist:function(){this.$router.push({path:"/music/spotify/artists/"+this.album.artists[0].id})},artwork_loaded:function(){this.artwork_visible=!0},artwork_error:function(){this.artwork_visible=!1}}},rj={key:0,class:"modal is-active"},sj={class:"modal-content fd-modal-card"},oj={class:"card"},ij={class:"card-content"},aj={class:"image is-square fd-has-margin-bottom"},lj=["src"],uj={class:"title is-4"},cj=["textContent"],dj={class:"content is-small"},mj=["textContent"],fj=["textContent"],pj=["textContent"],hj=["textContent"],_j=["textContent"],gj=["textContent"],yj={class:"card-footer"},vj={class:"icon"},bj=["textContent"],wj={class:"icon"},Cj=["textContent"],zj={class:"icon"},xj=["textContent"];function kj(e,t,n,r,s,o){const i=O("mdicon");return E(),D("div",null,[C(qt,{name:"fade"},{default:P(()=>[n.show?(E(),D("div",rj,[u("div",{class:"modal-background",onClick:t[0]||(t[0]=a=>e.$emit("close"))}),u("div",sj,[u("div",oj,[u("div",ij,[xt(u("figure",aj,[u("img",{src:o.artwork_url,class:"fd-has-shadow",onLoad:t[1]||(t[1]=(...a)=>o.artwork_loaded&&o.artwork_loaded(...a)),onError:t[2]||(t[2]=(...a)=>o.artwork_error&&o.artwork_error(...a))},null,40,lj)],512),[[_o,s.artwork_visible]]),u("p",uj,[u("a",{class:"has-text-link",onClick:t[3]||(t[3]=(...a)=>o.open_album&&o.open_album(...a)),textContent:v(n.album.name)},null,8,cj)]),u("div",dj,[u("p",null,[u("span",{class:"heading",textContent:v(e.$t("dialog.spotify.album.album-artist"))},null,8,mj),u("a",{class:"title is-6 has-text-link",onClick:t[4]||(t[4]=(...a)=>o.open_artist&&o.open_artist(...a)),textContent:v(n.album.artists[0].name)},null,8,fj)]),u("p",null,[u("span",{class:"heading",textContent:v(e.$t("dialog.spotify.album.release-date"))},null,8,pj),u("span",{class:"title is-6",textContent:v(e.$filters.date(n.album.release_date))},null,8,hj)]),u("p",null,[u("span",{class:"heading",textContent:v(e.$t("dialog.spotify.album.type"))},null,8,_j),u("span",{class:"title is-6",textContent:v(n.album.album_type)},null,8,gj)])])]),u("footer",yj,[u("a",{class:"card-footer-item has-text-dark",onClick:t[5]||(t[5]=(...a)=>o.queue_add&&o.queue_add(...a))},[u("span",vj,[C(i,{name:"playlist-plus",size:"16"})]),u("span",{class:"is-size-7",textContent:v(e.$t("dialog.spotify.album.add"))},null,8,bj)]),u("a",{class:"card-footer-item has-text-dark",onClick:t[6]||(t[6]=(...a)=>o.queue_add_next&&o.queue_add_next(...a))},[u("span",wj,[C(i,{name:"playlist-play",size:"16"})]),u("span",{class:"is-size-7",textContent:v(e.$t("dialog.spotify.album.add-next"))},null,8,Cj)]),u("a",{class:"card-footer-item has-text-dark",onClick:t[7]||(t[7]=(...a)=>o.play&&o.play(...a))},[u("span",zj,[C(i,{name:"play",size:"16"})]),u("span",{class:"is-size-7",textContent:v(e.$t("dialog.spotify.album.play"))},null,8,xj)])])])]),u("button",{class:"modal-close is-large","aria-label":"close",onClick:t[8]||(t[8]=a=>e.$emit("close"))})])):Q("",!0)]),_:1})])}const Ki=ve(nj,[["render",kj]]),Sj={name:"SpotifyModalDialogPlaylist",props:["show","playlist"],emits:["close"],methods:{play:function(){this.$emit("close"),Z.player_play_uri(this.playlist.uri,!1)},queue_add:function(){this.$emit("close"),Z.queue_add(this.playlist.uri)},queue_add_next:function(){this.$emit("close"),Z.queue_add_next(this.playlist.uri)},open_playlist:function(){this.$router.push({path:"/music/spotify/playlists/"+this.playlist.id})}}},Ej={key:0,class:"modal is-active"},$j={class:"modal-content fd-modal-card"},Aj={class:"card"},Tj={class:"card-content"},Oj={class:"title is-4"},Pj=["textContent"],Dj={class:"content is-small"},Fj=["textContent"],Ij=["textContent"],Lj=["textContent"],Mj=["textContent"],Rj=["textContent"],Nj=["textContent"],jj={class:"card-footer"},Vj={class:"icon"},Bj=["textContent"],Hj={class:"icon"},Uj=["textContent"],qj={class:"icon"},Wj=["textContent"];function Gj(e,t,n,r,s,o){const i=O("mdicon");return E(),D("div",null,[C(qt,{name:"fade"},{default:P(()=>[n.show?(E(),D("div",Ej,[u("div",{class:"modal-background",onClick:t[0]||(t[0]=a=>e.$emit("close"))}),u("div",$j,[u("div",Aj,[u("div",Tj,[u("p",Oj,[u("a",{class:"has-text-link",onClick:t[1]||(t[1]=(...a)=>o.open_playlist&&o.open_playlist(...a)),textContent:v(n.playlist.name)},null,8,Pj)]),u("div",Dj,[u("p",null,[u("span",{class:"heading",textContent:v(e.$t("dialog.spotify.playlist.owner"))},null,8,Fj),u("span",{class:"title is-6",textContent:v(n.playlist.owner.display_name)},null,8,Ij)]),u("p",null,[u("span",{class:"heading",textContent:v(e.$t("dialog.spotify.playlist.tracks"))},null,8,Lj),u("span",{class:"title is-6",textContent:v(n.playlist.tracks.total)},null,8,Mj)]),u("p",null,[u("span",{class:"heading",textContent:v(e.$t("dialog.spotify.playlist.path"))},null,8,Rj),u("span",{class:"title is-6",textContent:v(n.playlist.uri)},null,8,Nj)])])]),u("footer",jj,[u("a",{class:"card-footer-item has-text-dark",onClick:t[2]||(t[2]=(...a)=>o.queue_add&&o.queue_add(...a))},[u("span",Vj,[C(i,{name:"playlist-plus",size:"16"})]),u("span",{class:"is-size-7",textContent:v(e.$t("dialog.spotify.playlist.add"))},null,8,Bj)]),u("a",{class:"card-footer-item has-text-dark",onClick:t[3]||(t[3]=(...a)=>o.queue_add_next&&o.queue_add_next(...a))},[u("span",Hj,[C(i,{name:"playlist-play",size:"16"})]),u("span",{class:"is-size-7",textContent:v(e.$t("dialog.spotify.playlist.add-next"))},null,8,Uj)]),u("a",{class:"card-footer-item has-text-dark",onClick:t[4]||(t[4]=(...a)=>o.play&&o.play(...a))},[u("span",qj,[C(i,{name:"play",size:"16"})]),u("span",{class:"is-size-7",textContent:v(e.$t("dialog.spotify.playlist.play"))},null,8,Wj)])])])]),u("button",{class:"modal-close is-large","aria-label":"close",onClick:t[5]||(t[5]=a=>e.$emit("close"))})])):Q("",!0)]),_:1})])}const bu=ve(Sj,[["render",Gj]]),qa={load:function(e){if(it.state.spotify_new_releases.length>0&&it.state.spotify_featured_playlists.length>0)return Promise.resolve();const t=new ar;return t.setAccessToken(it.state.spotify.webapi_token),Promise.all([t.getNewReleases({country:it.state.spotify.webapi_country,limit:50}),t.getFeaturedPlaylists({country:it.state.spotify.webapi_country,limit:50})])},set:function(e,t){t&&(it.commit(xm,t[0].albums.items),it.commit(km,t[1].playlists.items))}},Kj={name:"SpotifyPageBrowse",components:{ContentWithHeading:ft,TabsMusic:gr,SpotifyListItemAlbum:vu,SpotifyListItemPlaylist:tf,SpotifyModalDialogAlbum:Ki,SpotifyModalDialogPlaylist:bu,CoverArtwork:Pr},beforeRouteEnter(e,t,n){qa.load(e).then(r=>{n(s=>qa.set(s,r))})},beforeRouteUpdate(e,t,n){const r=this;qa.load(e).then(s=>{qa.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:function(e){this.$router.push({path:"/music/spotify/albums/"+e.id})},open_album_dialog:function(e){this.selected_album=e,this.show_album_details_modal=!0},open_playlist_dialog:function(e){this.selected_playlist=e,this.show_playlist_details_modal=!0},artwork_url:function(e){return e.images&&e.images.length>0?e.images[0].url:""}}},Zj={class:"fd-page-with-tabs"},Yj=["textContent"],Jj={class:"image is-64x64 fd-has-shadow fd-has-action"},Xj=["onClick"],Qj={class:"icon has-text-dark"},eV={class:"level"},tV={class:"level-item"},nV=["textContent"],rV=["onClick"],sV={class:"icon has-text-dark"},oV={class:"level"},iV={class:"level-item"};function aV(e,t,n,r,s,o){const i=O("tabs-music"),a=O("cover-artwork"),l=O("mdicon"),c=O("spotify-list-item-album"),m=O("spotify-modal-dialog-album"),f=O("router-link"),d=O("content-with-heading"),p=O("spotify-list-item-playlist"),h=O("spotify-modal-dialog-playlist");return E(),D("div",Zj,[C(i),C(d,null,{"heading-left":P(()=>[u("p",{class:"title is-4",textContent:v(e.$t("page.spotify.browse.new-releases"))},null,8,Yj)]),content:P(()=>[(E(!0),D(Ge,null,wt(o.new_releases,_=>(E(),xe(c,{key:_.id,album:_,onClick:g=>o.open_album(_)},Vi({actions:P(()=>[u("a",{onClick:ht(g=>o.open_album_dialog(_),["prevent","stop"])},[u("span",Qj,[C(l,{name:"dots-vertical",size:"16"})])],8,Xj)]),_:2},[o.is_visible_artwork?{name:"artwork",fn:P(()=>[u("p",Jj,[C(a,{artwork_url:o.artwork_url(_),artist:_.artist,album:_.name,maxwidth:64,maxheight:64},null,8,["artwork_url","artist","album"])])])}:void 0]),1032,["album","onClick"]))),128)),C(m,{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:P(()=>[u("nav",eV,[u("p",tV,[C(f,{to:"/music/spotify/new-releases",class:"button is-light is-small is-rounded"},{default:P(()=>[yt(v(e.$t("page.spotify.browse.show-more")),1)]),_:1})])])]),_:1}),C(d,null,{"heading-left":P(()=>[u("p",{class:"title is-4",textContent:v(e.$t("page.spotify.browse.featured-playlists"))},null,8,nV)]),content:P(()=>[(E(!0),D(Ge,null,wt(o.featured_playlists,_=>(E(),xe(p,{key:_.id,playlist:_},{actions:P(()=>[u("a",{onClick:ht(g=>o.open_playlist_dialog(_),["prevent","stop"])},[u("span",sV,[C(l,{name:"dots-vertical",size:"16"})])],8,rV)]),_:2},1032,["playlist"]))),128)),C(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:P(()=>[u("nav",oV,[u("p",iV,[C(f,{to:"/music/spotify/featured-playlists",class:"button is-light is-small is-rounded"},{default:P(()=>[yt(v(e.$t("page.spotify.browse.show-more")),1)]),_:1})])])]),_:1})])}const lV=ve(Kj,[["render",aV]]),Wa={load:function(e){if(it.state.spotify_new_releases.length>0)return Promise.resolve();const t=new ar;return t.setAccessToken(it.state.spotify.webapi_token),t.getNewReleases({country:it.state.spotify.webapi_country,limit:50})},set:function(e,t){t&&it.commit(xm,t.albums.items)}},uV={name:"SpotifyPageBrowseNewReleases",components:{ContentWithHeading:ft,TabsMusic:gr,SpotifyListItemAlbum:vu,SpotifyModalDialogAlbum:Ki,CoverArtwork:Pr},beforeRouteEnter(e,t,n){Wa.load(e).then(r=>{n(s=>Wa.set(s,r))})},beforeRouteUpdate(e,t,n){const r=this;Wa.load(e).then(s=>{Wa.set(r,s),n()})},data(){return{show_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:function(e){this.$router.push({path:"/music/spotify/albums/"+e.id})},open_album_dialog:function(e){this.selected_album=e,this.show_album_details_modal=!0},artwork_url:function(e){return e.images&&e.images.length>0?e.images[0].url:""}}},cV={class:"fd-page-with-tabs"},dV=u("p",{class:"title is-4"},"New Releases",-1),mV={class:"image is-64x64 fd-has-shadow fd-has-action"},fV=["onClick"],pV={class:"icon has-text-dark"};function hV(e,t,n,r,s,o){const i=O("tabs-music"),a=O("cover-artwork"),l=O("mdicon"),c=O("spotify-list-item-album"),m=O("spotify-modal-dialog-album"),f=O("content-with-heading");return E(),D("div",cV,[C(i),C(f,null,{"heading-left":P(()=>[dV]),content:P(()=>[(E(!0),D(Ge,null,wt(o.new_releases,d=>(E(),xe(c,{key:d.id,album:d,onClick:p=>o.open_album(d)},Vi({actions:P(()=>[u("a",{onClick:ht(p=>o.open_album_dialog(d),["prevent","stop"])},[u("span",pV,[C(l,{name:"dots-vertical",size:"16"})])],8,fV)]),_:2},[o.is_visible_artwork?{name:"artwork",fn:P(()=>[u("p",mV,[C(a,{artwork_url:o.artwork_url(d),artist:d.artist,album:d.name,maxwidth:64,maxheight:64},null,8,["artwork_url","artist","album"])])])}:void 0]),1032,["album","onClick"]))),128)),C(m,{show:s.show_album_details_modal,album:s.selected_album,onClose:t[0]||(t[0]=d=>s.show_album_details_modal=!1)},null,8,["show","album"])]),_:1})])}const _V=ve(uV,[["render",hV]]),Ga={load:function(e){if(it.state.spotify_featured_playlists.length>0)return Promise.resolve();const t=new ar;t.setAccessToken(it.state.spotify.webapi_token),t.getFeaturedPlaylists({country:it.state.spotify.webapi_country,limit:50})},set:function(e,t){t&&it.commit(km,t.playlists.items)}},gV={name:"SpotifyPageBrowseFeaturedPlaylists",components:{ContentWithHeading:ft,TabsMusic:gr,SpotifyListItemPlaylist:tf,SpotifyModalDialogPlaylist:bu},beforeRouteEnter(e,t,n){Ga.load(e).then(r=>{n(s=>Ga.set(s,r))})},beforeRouteUpdate(e,t,n){const r=this;Ga.load(e).then(s=>{Ga.set(r,s),n()})},data(){return{show_playlist_details_modal:!1,selected_playlist:{}}},computed:{featured_playlists(){return this.$store.state.spotify_featured_playlists}},methods:{open_playlist_dialog:function(e){this.selected_playlist=e,this.show_playlist_details_modal=!0}}},yV={class:"fd-page-with-tabs"},vV=u("p",{class:"title is-4"},"Featured Playlists",-1),bV=["onClick"],wV={class:"icon has-text-dark"};function CV(e,t,n,r,s,o){const i=O("tabs-music"),a=O("mdicon"),l=O("spotify-list-item-playlist"),c=O("spotify-modal-dialog-playlist"),m=O("content-with-heading");return E(),D("div",yV,[C(i),C(m,null,{"heading-left":P(()=>[vV]),content:P(()=>[(E(!0),D(Ge,null,wt(o.featured_playlists,f=>(E(),xe(l,{key:f.id,playlist:f},{actions:P(()=>[u("a",{onClick:ht(d=>o.open_playlist_dialog(f),["prevent","stop"])},[u("span",wV,[C(a,{name:"dots-vertical",size:"16"})])],8,bV)]),_:2},1032,["playlist"]))),128)),C(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 zV=ve(gV,[["render",CV]]),xV={name:"SpotifyModalDialogArtist",props:["show","artist"],emits:["close"],methods:{play:function(){this.$emit("close"),Z.player_play_uri(this.artist.uri,!1)},queue_add:function(){this.$emit("close"),Z.queue_add(this.artist.uri)},queue_add_next:function(){this.$emit("close"),Z.queue_add_next(this.artist.uri)},open_artist:function(){this.$router.push({path:"/music/spotify/artists/"+this.artist.id})}}},kV={key:0,class:"modal is-active"},SV={class:"modal-content fd-modal-card"},EV={class:"card"},$V={class:"card-content"},AV={class:"title is-4"},TV=["textContent"],OV={class:"content is-small"},PV=["textContent"],DV=["textContent"],FV=["textContent"],IV=["textContent"],LV={class:"card-footer"},MV={class:"icon"},RV=["textContent"],NV={class:"icon"},jV=["textContent"],VV={class:"icon"},BV=["textContent"];function HV(e,t,n,r,s,o){const i=O("mdicon");return E(),D("div",null,[C(qt,{name:"fade"},{default:P(()=>[n.show?(E(),D("div",kV,[u("div",{class:"modal-background",onClick:t[0]||(t[0]=a=>e.$emit("close"))}),u("div",SV,[u("div",EV,[u("div",$V,[u("p",AV,[u("a",{class:"has-text-link",onClick:t[1]||(t[1]=(...a)=>o.open_artist&&o.open_artist(...a)),textContent:v(n.artist.name)},null,8,TV)]),u("div",OV,[u("p",null,[u("span",{class:"heading",textContent:v(e.$t("dialog.spotify.artist.popularity"))},null,8,PV),u("span",{class:"title is-6",textContent:v([n.artist.popularity,n.artist.followers.total].join(" / "))},null,8,DV)]),u("p",null,[u("span",{class:"heading",textContent:v(e.$t("dialog.spotify.artist.genres"))},null,8,FV),u("span",{class:"title is-6",textContent:v(n.artist.genres.join(", "))},null,8,IV)])])]),u("footer",LV,[u("a",{class:"card-footer-item has-text-dark",onClick:t[2]||(t[2]=(...a)=>o.queue_add&&o.queue_add(...a))},[u("span",MV,[C(i,{name:"playlist-plus",size:"16"})]),u("span",{class:"is-size-7",textContent:v(e.$t("dialog.spotify.artist.add"))},null,8,RV)]),u("a",{class:"card-footer-item has-text-dark",onClick:t[3]||(t[3]=(...a)=>o.queue_add_next&&o.queue_add_next(...a))},[u("span",NV,[C(i,{name:"playlist-play",size:"16"})]),u("span",{class:"is-size-7",textContent:v(e.$t("dialog.spotify.artist.add-next"))},null,8,jV)]),u("a",{class:"card-footer-item has-text-dark",onClick:t[4]||(t[4]=(...a)=>o.play&&o.play(...a))},[u("span",VV,[C(i,{name:"play",size:"16"})]),u("span",{class:"is-size-7",textContent:v(e.$t("dialog.spotify.artist.play"))},null,8,BV)])])])]),u("button",{class:"modal-close is-large","aria-label":"close",onClick:t[5]||(t[5]=a=>e.$emit("close"))})])):Q("",!0)]),_:1})])}const C1=ve(xV,[["render",HV]]);var Di={},UV={get exports(){return Di},set exports(e){Di=e}};/*!
|
||
*
|
||
* @ts-pro/vue-eternal-loading v1.1.1
|
||
* (c) 2021 Oleksandr Havrashenko
|
||
* MIT License
|
||
*
|
||
*/(function(e,t){(function(n,r){e.exports=r(Nm)})(typeof self<"u"?self:on,function(n){return function(r){var s={};function o(i){if(s[i])return s[i].exports;var a=s[i]={i,l:!1,exports:{}};return r[i].call(a.exports,a,a.exports,o),a.l=!0,a.exports}return o.m=r,o.c=s,o.d=function(i,a,l){o.o(i,a)||Object.defineProperty(i,a,{enumerable:!0,get:l})},o.r=function(i){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(i,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(i,"__esModule",{value:!0})},o.t=function(i,a){if(1&a&&(i=o(i)),8&a||4&a&&typeof i=="object"&&i&&i.__esModule)return i;var l=Object.create(null);if(o.r(l),Object.defineProperty(l,"default",{enumerable:!0,value:i}),2&a&&typeof i!="string")for(var c in i)o.d(l,c,function(m){return i[m]}.bind(null,c));return l},o.n=function(i){var a=i&&i.__esModule?function(){return i.default}:function(){return i};return o.d(a,"a",a),a},o.o=function(i,a){return Object.prototype.hasOwnProperty.call(i,a)},o.p="",o(o.s="fae3")}({"00ee":function(r,s,o){var i=o("b622"),a=i("toStringTag"),l={};l[a]="z",r.exports=String(l)==="[object z]"},"0366":function(r,s,o){var i=o("1c0b");r.exports=function(a,l,c){if(i(a),l===void 0)return a;switch(c){case 0:return function(){return a.call(l)};case 1:return function(m){return a.call(l,m)};case 2:return function(m,f){return a.call(l,m,f)};case 3:return function(m,f,d){return a.call(l,m,f,d)}}return function(){return a.apply(l,arguments)}}},"057f":function(r,s,o){var i=o("fc6a"),a=o("241c").f,l={}.toString,c=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],m=function(f){try{return a(f)}catch{return c.slice()}};r.exports.f=function(f){return c&&l.call(f)=="[object Window]"?m(f):a(i(f))}},"06cf":function(r,s,o){var i=o("83ab"),a=o("d1e7"),l=o("5c6c"),c=o("fc6a"),m=o("c04e"),f=o("5135"),d=o("0cfb"),p=Object.getOwnPropertyDescriptor;s.f=i?p:function(h,_){if(h=c(h),_=m(_,!0),d)try{return p(h,_)}catch{}if(f(h,_))return l(!a.f.call(h,_),h[_])}},"0cfb":function(r,s,o){var i=o("83ab"),a=o("d039"),l=o("cc12");r.exports=!i&&!a(function(){return Object.defineProperty(l("div"),"a",{get:function(){return 7}}).a!=7})},"1be4":function(r,s,o){var i=o("d066");r.exports=i("document","documentElement")},"1c0b":function(r,s){r.exports=function(o){if(typeof o!="function")throw TypeError(String(o)+" is not a function");return o}},"1c7e":function(r,s,o){var i=o("b622"),a=i("iterator"),l=!1;try{var c=0,m={next:function(){return{done:!!c++}},return:function(){l=!0}};m[a]=function(){return this},Array.from(m,function(){throw 2})}catch{}r.exports=function(f,d){if(!d&&!l)return!1;var p=!1;try{var h={};h[a]=function(){return{next:function(){return{done:p=!0}}}},f(h)}catch{}return p}},"1d80":function(r,s){r.exports=function(o){if(o==null)throw TypeError("Can't call method on "+o);return o}},"1dde":function(r,s,o){var i=o("d039"),a=o("b622"),l=o("2d00"),c=a("species");r.exports=function(m){return l>=51||!i(function(){var f=[],d=f.constructor={};return d[c]=function(){return{foo:1}},f[m](Boolean).foo!==1})}},"23cb":function(r,s,o){var i=o("a691"),a=Math.max,l=Math.min;r.exports=function(c,m){var f=i(c);return f<0?a(f+m,0):l(f,m)}},"23e7":function(r,s,o){var i=o("da84"),a=o("06cf").f,l=o("9112"),c=o("6eeb"),m=o("ce4e"),f=o("e893"),d=o("94ca");r.exports=function(p,h){var _,g,b,w,x,z,S=p.target,T=p.global,j=p.stat;if(g=T?i:j?i[S]||m(S,{}):(i[S]||{}).prototype,g)for(b in h){if(x=h[b],p.noTargetGet?(z=a(g,b),w=z&&z.value):w=g[b],_=d(T?b:S+(j?".":"#")+b,p.forced),!_&&w!==void 0){if(typeof x==typeof w)continue;f(x,w)}(p.sham||w&&w.sham)&&l(x,"sham",!0),c(g,b,x,p)}}},"241c":function(r,s,o){var i=o("ca84"),a=o("7839"),l=a.concat("length","prototype");s.f=Object.getOwnPropertyNames||function(c){return i(c,l)}},"2a62":function(r,s,o){var i=o("825a");r.exports=function(a){var l=a.return;if(l!==void 0)return i(l.call(a)).value}},"2d00":function(r,s,o){var i,a,l=o("da84"),c=o("342f"),m=l.process,f=m&&m.versions,d=f&&f.v8;d?(i=d.split("."),a=i[0]<4?1:i[0]+i[1]):c&&(i=c.match(/Edge\/(\d+)/),(!i||i[1]>=74)&&(i=c.match(/Chrome\/(\d+)/),i&&(a=i[1]))),r.exports=a&&+a},"342f":function(r,s,o){var i=o("d066");r.exports=i("navigator","userAgent")||""},"35a1":function(r,s,o){var i=o("f5df"),a=o("3f8c"),l=o("b622"),c=l("iterator");r.exports=function(m){if(m!=null)return m[c]||m["@@iterator"]||a[i(m)]}},"37e8":function(r,s,o){var i=o("83ab"),a=o("9bf2"),l=o("825a"),c=o("df75");r.exports=i?Object.defineProperties:function(m,f){l(m);for(var d,p=c(f),h=p.length,_=0;h>_;)a.f(m,d=p[_++],f[d]);return m}},"3bbe":function(r,s,o){var i=o("861d");r.exports=function(a){if(!i(a)&&a!==null)throw TypeError("Can't set "+String(a)+" as a prototype");return a}},"3ca3":function(r,s,o){var i=o("6547").charAt,a=o("69f3"),l=o("7dd0"),c="String Iterator",m=a.set,f=a.getterFor(c);l(String,"String",function(d){m(this,{type:c,string:String(d),index:0})},function(){var d,p=f(this),h=p.string,_=p.index;return _>=h.length?{value:void 0,done:!0}:(d=i(h,_),p.index+=d.length,{value:d,done:!1})})},"3f8c":function(r,s){r.exports={}},"428f":function(r,s,o){var i=o("da84");r.exports=i},"44ad":function(r,s,o){var i=o("d039"),a=o("c6b6"),l="".split;r.exports=i(function(){return!Object("z").propertyIsEnumerable(0)})?function(c){return a(c)=="String"?l.call(c,""):Object(c)}:Object},"44d2":function(r,s,o){var i=o("b622"),a=o("7c73"),l=o("9bf2"),c=i("unscopables"),m=Array.prototype;m[c]==null&&l.f(m,c,{configurable:!0,value:a(null)}),r.exports=function(f){m[c][f]=!0}},4930:function(r,s,o){var i=o("2d00"),a=o("d039");r.exports=!!Object.getOwnPropertySymbols&&!a(function(){var l=Symbol();return!String(l)||!(Object(l)instanceof Symbol)||!Symbol.sham&&i&&i<41})},"4d64":function(r,s,o){var i=o("fc6a"),a=o("50c4"),l=o("23cb"),c=function(m){return function(f,d,p){var h,_=i(f),g=a(_.length),b=l(p,g);if(m&&d!=d){for(;g>b;)if(h=_[b++],h!=h)return!0}else for(;g>b;b++)if((m||b in _)&&_[b]===d)return m||b||0;return!m&&-1}};r.exports={includes:c(!0),indexOf:c(!1)}},"4df4":function(r,s,o){var i=o("0366"),a=o("7b0b"),l=o("9bdd"),c=o("e95a"),m=o("50c4"),f=o("8418"),d=o("35a1");r.exports=function(p){var h,_,g,b,w,x,z=a(p),S=typeof this=="function"?this:Array,T=arguments.length,j=T>1?arguments[1]:void 0,F=j!==void 0,A=d(z),M=0;if(F&&(j=i(j,T>2?arguments[2]:void 0,2)),A==null||S==Array&&c(A))for(h=m(z.length),_=new S(h);h>M;M++)x=F?j(z[M],M):z[M],f(_,M,x);else for(b=A.call(z),w=b.next,_=new S;!(g=w.call(b)).done;M++)x=F?l(b,j,[g.value,M],!0):g.value,f(_,M,x);return _.length=M,_}},"50c4":function(r,s,o){var i=o("a691"),a=Math.min;r.exports=function(l){return l>0?a(i(l),9007199254740991):0}},5135:function(r,s,o){var i=o("7b0b"),a={}.hasOwnProperty;r.exports=Object.hasOwn||function(l,c){return a.call(i(l),c)}},5692:function(r,s,o){var i=o("c430"),a=o("c6cd");(r.exports=function(l,c){return a[l]||(a[l]=c!==void 0?c:{})})("versions",[]).push({version:"3.15.2",mode:i?"pure":"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})},"56ef":function(r,s,o){var i=o("d066"),a=o("241c"),l=o("7418"),c=o("825a");r.exports=i("Reflect","ownKeys")||function(m){var f=a.f(c(m)),d=l.f;return d?f.concat(d(m)):f}},"5c6c":function(r,s){r.exports=function(o,i){return{enumerable:!(1&o),configurable:!(2&o),writable:!(4&o),value:i}}},6547:function(r,s,o){var i=o("a691"),a=o("1d80"),l=function(c){return function(m,f){var d,p,h=String(a(m)),_=i(f),g=h.length;return _<0||_>=g?c?"":void 0:(d=h.charCodeAt(_),d<55296||d>56319||_+1===g||(p=h.charCodeAt(_+1))<56320||p>57343?c?h.charAt(_):d:c?h.slice(_,_+2):p-56320+(d-55296<<10)+65536)}};r.exports={codeAt:l(!1),charAt:l(!0)}},"65f0":function(r,s,o){var i=o("861d"),a=o("e8b5"),l=o("b622"),c=l("species");r.exports=function(m,f){var d;return a(m)&&(d=m.constructor,typeof d!="function"||d!==Array&&!a(d.prototype)?i(d)&&(d=d[c],d===null&&(d=void 0)):d=void 0),new(d===void 0?Array:d)(f===0?0:f)}},"69f3":function(r,s,o){var i,a,l,c=o("7f9a"),m=o("da84"),f=o("861d"),d=o("9112"),p=o("5135"),h=o("c6cd"),_=o("f772"),g=o("d012"),b="Object already initialized",w=m.WeakMap,x=function(M){return l(M)?a(M):i(M,{})},z=function(M){return function(W){var I;if(!f(W)||(I=a(W)).type!==M)throw TypeError("Incompatible receiver, "+M+" required");return I}};if(c||h.state){var S=h.state||(h.state=new w),T=S.get,j=S.has,F=S.set;i=function(M,W){if(j.call(S,M))throw new TypeError(b);return W.facade=M,F.call(S,M,W),W},a=function(M){return T.call(S,M)||{}},l=function(M){return j.call(S,M)}}else{var A=_("state");g[A]=!0,i=function(M,W){if(p(M,A))throw new TypeError(b);return W.facade=M,d(M,A,W),W},a=function(M){return p(M,A)?M[A]:{}},l=function(M){return p(M,A)}}r.exports={set:i,get:a,has:l,enforce:x,getterFor:z}},"6eeb":function(r,s,o){var i=o("da84"),a=o("9112"),l=o("5135"),c=o("ce4e"),m=o("8925"),f=o("69f3"),d=f.get,p=f.enforce,h=String(String).split("String");(r.exports=function(_,g,b,w){var x,z=!!w&&!!w.unsafe,S=!!w&&!!w.enumerable,T=!!w&&!!w.noTargetGet;typeof b=="function"&&(typeof g!="string"||l(b,"name")||a(b,"name",g),x=p(b),x.source||(x.source=h.join(typeof g=="string"?g:""))),_!==i?(z?!T&&_[g]&&(S=!0):delete _[g],S?_[g]=b:a(_,g,b)):S?_[g]=b:c(g,b)})(Function.prototype,"toString",function(){return typeof this=="function"&&d(this).source||m(this)})},7418:function(r,s){s.f=Object.getOwnPropertySymbols},"746f":function(r,s,o){var i=o("428f"),a=o("5135"),l=o("e538"),c=o("9bf2").f;r.exports=function(m){var f=i.Symbol||(i.Symbol={});a(f,m)||c(f,m,{value:l.f(m)})}},7839:function(r,s){r.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},"7b0b":function(r,s,o){var i=o("1d80");r.exports=function(a){return Object(i(a))}},"7c73":function(r,s,o){var i,a=o("825a"),l=o("37e8"),c=o("7839"),m=o("d012"),f=o("1be4"),d=o("cc12"),p=o("f772"),h=">",_="<",g="prototype",b="script",w=p("IE_PROTO"),x=function(){},z=function(F){return _+b+h+F+_+"/"+b+h},S=function(F){F.write(z("")),F.close();var A=F.parentWindow.Object;return F=null,A},T=function(){var F,A=d("iframe"),M="java"+b+":";return A.style.display="none",f.appendChild(A),A.src=String(M),F=A.contentWindow.document,F.open(),F.write(z("document.F=Object")),F.close(),F.F},j=function(){try{i=document.domain&&new ActiveXObject("htmlfile")}catch{}j=i?S(i):T();for(var F=c.length;F--;)delete j[g][c[F]];return j()};m[w]=!0,r.exports=Object.create||function(F,A){var M;return F!==null?(x[g]=a(F),M=new x,x[g]=null,M[w]=F):M=j(),A===void 0?M:l(M,A)}},"7dd0":function(r,s,o){var i=o("23e7"),a=o("9ed3"),l=o("e163"),c=o("d2bb"),m=o("d44e"),f=o("9112"),d=o("6eeb"),p=o("b622"),h=o("c430"),_=o("3f8c"),g=o("ae93"),b=g.IteratorPrototype,w=g.BUGGY_SAFARI_ITERATORS,x=p("iterator"),z="keys",S="values",T="entries",j=function(){return this};r.exports=function(F,A,M,W,I,H,B){a(M,A,W);var oe,J,ue,ge=function(U){if(U===I&&me)return me;if(!w&&U in he)return he[U];switch(U){case z:return function(){return new M(this,U)};case S:return function(){return new M(this,U)};case T:return function(){return new M(this,U)}}return function(){return new M(this)}},Me=A+" Iterator",He=!1,he=F.prototype,X=he[x]||he["@@iterator"]||I&&he[I],me=!w&&X||ge(I),we=A=="Array"&&he.entries||X;if(we&&(oe=l(we.call(new F)),b!==Object.prototype&&oe.next&&(h||l(oe)===b||(c?c(oe,b):typeof oe[x]!="function"&&f(oe,x,j)),m(oe,Me,!0,!0),h&&(_[Me]=j))),I==S&&X&&X.name!==S&&(He=!0,me=function(){return X.call(this)}),h&&!B||he[x]===me||f(he,x,me),_[A]=me,I)if(J={values:ge(S),keys:H?me:ge(z),entries:ge(T)},B)for(ue in J)(w||He||!(ue in he))&&d(he,ue,J[ue]);else i({target:A,proto:!0,forced:w||He},J);return J}},"7f9a":function(r,s,o){var i=o("da84"),a=o("8925"),l=i.WeakMap;r.exports=typeof l=="function"&&/native code/.test(a(l))},"825a":function(r,s,o){var i=o("861d");r.exports=function(a){if(!i(a))throw TypeError(String(a)+" is not an object");return a}},"83ab":function(r,s,o){var i=o("d039");r.exports=!i(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})},8418:function(r,s,o){var i=o("c04e"),a=o("9bf2"),l=o("5c6c");r.exports=function(c,m,f){var d=i(m);d in c?a.f(c,d,l(0,f)):c[d]=f}},"861d":function(r,s){r.exports=function(o){return typeof o=="object"?o!==null:typeof o=="function"}},8875:function(r,s,o){var i,a,l;(function(c,m){a=[],i=m,l=typeof i=="function"?i.apply(s,a):i,l===void 0||(r.exports=l)})(typeof self<"u"&&self,function(){function c(){var m=Object.getOwnPropertyDescriptor(document,"currentScript");if(!m&&"currentScript"in document&&document.currentScript||m&&m.get!==c&&document.currentScript)return document.currentScript;try{throw new Error}catch(T){var f,d,p,h=/.*at [^(]*\((.*):(.+):(.+)\)$/gi,_=/@([^@]*):(\d+):(\d+)\s*$/gi,g=h.exec(T.stack)||_.exec(T.stack),b=g&&g[1]||!1,w=g&&g[2]||!1,x=document.location.href.replace(document.location.hash,""),z=document.getElementsByTagName("script");b===x&&(f=document.documentElement.outerHTML,d=new RegExp("(?:[^\\n]+?\\n){0,"+(w-2)+"}[^<]*<script>([\\d\\D]*?)<\\/script>[\\d\\D]*","i"),p=f.replace(d,"$1").trim());for(var S=0;S<z.length;S++)if(z[S].readyState==="interactive"||z[S].src===b||b===x&&z[S].innerHTML&&z[S].innerHTML.trim()===p)return z[S];return null}}return c})},8925:function(r,s,o){var i=o("c6cd"),a=Function.toString;typeof i.inspectSource!="function"&&(i.inspectSource=function(l){return a.call(l)}),r.exports=i.inspectSource},"8bbf":function(r,s){r.exports=n},"90e3":function(r,s){var o=0,i=Math.random();r.exports=function(a){return"Symbol("+String(a===void 0?"":a)+")_"+(++o+i).toString(36)}},9112:function(r,s,o){var i=o("83ab"),a=o("9bf2"),l=o("5c6c");r.exports=i?function(c,m,f){return a.f(c,m,l(1,f))}:function(c,m,f){return c[m]=f,c}},"94ca":function(r,s,o){var i=o("d039"),a=/#|\.prototype\./,l=function(p,h){var _=m[c(p)];return _==d||_!=f&&(typeof h=="function"?i(h):!!h)},c=l.normalize=function(p){return String(p).replace(a,".").toLowerCase()},m=l.data={},f=l.NATIVE="N",d=l.POLYFILL="P";r.exports=l},"9bdd":function(r,s,o){var i=o("825a"),a=o("2a62");r.exports=function(l,c,m,f){try{return f?c(i(m)[0],m[1]):c(m)}catch(d){throw a(l),d}}},"9bf2":function(r,s,o){var i=o("83ab"),a=o("0cfb"),l=o("825a"),c=o("c04e"),m=Object.defineProperty;s.f=i?m:function(f,d,p){if(l(f),d=c(d,!0),l(p),a)try{return m(f,d,p)}catch{}if("get"in p||"set"in p)throw TypeError("Accessors not supported");return"value"in p&&(f[d]=p.value),f}},"9ed3":function(r,s,o){var i=o("ae93").IteratorPrototype,a=o("7c73"),l=o("5c6c"),c=o("d44e"),m=o("3f8c"),f=function(){return this};r.exports=function(d,p,h){var _=p+" Iterator";return d.prototype=a(i,{next:l(1,h)}),c(d,_,!1,!0),m[_]=f,d}},a4d3:function(r,s,o){var i=o("23e7"),a=o("da84"),l=o("d066"),c=o("c430"),m=o("83ab"),f=o("4930"),d=o("fdbf"),p=o("d039"),h=o("5135"),_=o("e8b5"),g=o("861d"),b=o("825a"),w=o("7b0b"),x=o("fc6a"),z=o("c04e"),S=o("5c6c"),T=o("7c73"),j=o("df75"),F=o("241c"),A=o("057f"),M=o("7418"),W=o("06cf"),I=o("9bf2"),H=o("d1e7"),B=o("9112"),oe=o("6eeb"),J=o("5692"),ue=o("f772"),ge=o("d012"),Me=o("90e3"),He=o("b622"),he=o("e538"),X=o("746f"),me=o("d44e"),we=o("69f3"),U=o("b727").forEach,ie=ue("hidden"),se="Symbol",be="prototype",Ve=He("toPrimitive"),Ie=we.set,Ee=we.getterFor(se),Ae=Object[be],$=a.Symbol,R=l("JSON","stringify"),Y=W.f,le=I.f,ce=A.f,ye=H.f,Ce=J("symbols"),pe=J("op-symbols"),V=J("string-to-symbol-registry"),q=J("symbol-to-string-registry"),$e=J("wks"),ze=a.QObject,De=!ze||!ze[be]||!ze[be].findChild,Ne=m&&p(function(){return T(le({},"a",{get:function(){return le(this,"a",{value:7}).a}})).a!=7})?function(re,de,te){var ae=Y(Ae,de);ae&&delete Ae[de],le(re,de,te),ae&&re!==Ae&&le(Ae,de,ae)}:le,We=function(re,de){var te=Ce[re]=T($[be]);return Ie(te,{type:se,tag:re,description:de}),m||(te.description=de),te},tt=d?function(re){return typeof re=="symbol"}:function(re){return Object(re)instanceof $},k=function(re,de,te){re===Ae&&k(pe,de,te),b(re);var ae=z(de,!0);return b(te),h(Ce,ae)?(te.enumerable?(h(re,ie)&&re[ie][ae]&&(re[ie][ae]=!1),te=T(te,{enumerable:S(0,!1)})):(h(re,ie)||le(re,ie,S(1,{})),re[ie][ae]=!0),Ne(re,ae,te)):le(re,ae,te)},y=function(re,de){b(re);var te=x(de),ae=j(te).concat(Se(te));return U(ae,function(je){m&&!K.call(te,je)||k(re,je,te[je])}),re},L=function(re,de){return de===void 0?T(re):y(T(re),de)},K=function(re){var de=z(re,!0),te=ye.call(this,de);return!(this===Ae&&h(Ce,de)&&!h(pe,de))&&(!(te||!h(this,de)||!h(Ce,de)||h(this,ie)&&this[ie][de])||te)},ee=function(re,de){var te=x(re),ae=z(de,!0);if(te!==Ae||!h(Ce,ae)||h(pe,ae)){var je=Y(te,ae);return!je||!h(Ce,ae)||h(te,ie)&&te[ie][ae]||(je.enumerable=!0),je}},fe=function(re){var de=ce(x(re)),te=[];return U(de,function(ae){h(Ce,ae)||h(ge,ae)||te.push(ae)}),te},Se=function(re){var de=re===Ae,te=ce(de?pe:x(re)),ae=[];return U(te,function(je){!h(Ce,je)||de&&!h(Ae,je)||ae.push(Ce[je])}),ae};if(f||($=function(){if(this instanceof $)throw TypeError("Symbol is not a constructor");var re=arguments.length&&arguments[0]!==void 0?String(arguments[0]):void 0,de=Me(re),te=function(ae){this===Ae&&te.call(pe,ae),h(this,ie)&&h(this[ie],de)&&(this[ie][de]=!1),Ne(this,de,S(1,ae))};return m&&De&&Ne(Ae,de,{configurable:!0,set:te}),We(de,re)},oe($[be],"toString",function(){return Ee(this).tag}),oe($,"withoutSetter",function(re){return We(Me(re),re)}),H.f=K,I.f=k,W.f=ee,F.f=A.f=fe,M.f=Se,he.f=function(re){return We(He(re),re)},m&&(le($[be],"description",{configurable:!0,get:function(){return Ee(this).description}}),c||oe(Ae,"propertyIsEnumerable",K,{unsafe:!0}))),i({global:!0,wrap:!0,forced:!f,sham:!f},{Symbol:$}),U(j($e),function(re){X(re)}),i({target:se,stat:!0,forced:!f},{for:function(re){var de=String(re);if(h(V,de))return V[de];var te=$(de);return V[de]=te,q[te]=de,te},keyFor:function(re){if(!tt(re))throw TypeError(re+" is not a symbol");if(h(q,re))return q[re]},useSetter:function(){De=!0},useSimple:function(){De=!1}}),i({target:"Object",stat:!0,forced:!f,sham:!m},{create:L,defineProperty:k,defineProperties:y,getOwnPropertyDescriptor:ee}),i({target:"Object",stat:!0,forced:!f},{getOwnPropertyNames:fe,getOwnPropertySymbols:Se}),i({target:"Object",stat:!0,forced:p(function(){M.f(1)})},{getOwnPropertySymbols:function(re){return M.f(w(re))}}),R){var Le=!f||p(function(){var re=$();return R([re])!="[null]"||R({a:re})!="{}"||R(Object(re))!="{}"});i({target:"JSON",stat:!0,forced:Le},{stringify:function(re,de,te){for(var ae,je=[re],Ue=1;arguments.length>Ue;)je.push(arguments[Ue++]);if(ae=de,(g(de)||re!==void 0)&&!tt(re))return _(de)||(de=function(ut,hn){if(typeof ae=="function"&&(hn=ae.call(this,ut,hn)),!tt(hn))return hn}),je[1]=de,R.apply(null,je)}})}$[be][Ve]||B($[be],Ve,$[be].valueOf),me($,se),ge[ie]=!0},a630:function(r,s,o){var i=o("23e7"),a=o("4df4"),l=o("1c7e"),c=!l(function(m){Array.from(m)});i({target:"Array",stat:!0,forced:c},{from:a})},a691:function(r,s){var o=Math.ceil,i=Math.floor;r.exports=function(a){return isNaN(a=+a)?0:(a>0?i:o)(a)}},ae93:function(r,s,o){var i,a,l,c=o("d039"),m=o("e163"),f=o("9112"),d=o("5135"),p=o("b622"),h=o("c430"),_=p("iterator"),g=!1,b=function(){return this};[].keys&&(l=[].keys(),"next"in l?(a=m(m(l)),a!==Object.prototype&&(i=a)):g=!0);var w=i==null||c(function(){var x={};return i[_].call(x)!==x});w&&(i={}),h&&!w||d(i,_)||f(i,_,b),r.exports={IteratorPrototype:i,BUGGY_SAFARI_ITERATORS:g}},b041:function(r,s,o){var i=o("00ee"),a=o("f5df");r.exports=i?{}.toString:function(){return"[object "+a(this)+"]"}},b0c0:function(r,s,o){var i=o("83ab"),a=o("9bf2").f,l=Function.prototype,c=l.toString,m=/^\s*function ([^ (]*)/,f="name";i&&!(f in l)&&a(l,f,{configurable:!0,get:function(){try{return c.call(this).match(m)[1]}catch{return""}}})},b622:function(r,s,o){var i=o("da84"),a=o("5692"),l=o("5135"),c=o("90e3"),m=o("4930"),f=o("fdbf"),d=a("wks"),p=i.Symbol,h=f?p:p&&p.withoutSetter||c;r.exports=function(_){return l(d,_)&&(m||typeof d[_]=="string")||(m&&l(p,_)?d[_]=p[_]:d[_]=h("Symbol."+_)),d[_]}},b727:function(r,s,o){var i=o("0366"),a=o("44ad"),l=o("7b0b"),c=o("50c4"),m=o("65f0"),f=[].push,d=function(p){var h=p==1,_=p==2,g=p==3,b=p==4,w=p==6,x=p==7,z=p==5||w;return function(S,T,j,F){for(var A,M,W=l(S),I=a(W),H=i(T,j,3),B=c(I.length),oe=0,J=F||m,ue=h?J(S,B):_||x?J(S,0):void 0;B>oe;oe++)if((z||oe in I)&&(A=I[oe],M=H(A,oe,W),p))if(h)ue[oe]=M;else if(M)switch(p){case 3:return!0;case 5:return A;case 6:return oe;case 2:f.call(ue,A)}else switch(p){case 4:return!1;case 7:f.call(ue,A)}return w?-1:g||b?b:ue}};r.exports={forEach:d(0),map:d(1),filter:d(2),some:d(3),every:d(4),find:d(5),findIndex:d(6),filterOut:d(7)}},c04e:function(r,s,o){var i=o("861d");r.exports=function(a,l){if(!i(a))return a;var c,m;if(l&&typeof(c=a.toString)=="function"&&!i(m=c.call(a))||typeof(c=a.valueOf)=="function"&&!i(m=c.call(a))||!l&&typeof(c=a.toString)=="function"&&!i(m=c.call(a)))return m;throw TypeError("Can't convert object to primitive value")}},c430:function(r,s){r.exports=!1},c6b6:function(r,s){var o={}.toString;r.exports=function(i){return o.call(i).slice(8,-1)}},c6cd:function(r,s,o){var i=o("da84"),a=o("ce4e"),l="__core-js_shared__",c=i[l]||a(l,{});r.exports=c},c8ba:function(r,s){var o;o=function(){return this}();try{o=o||new Function("return this")()}catch{typeof window=="object"&&(o=window)}r.exports=o},ca84:function(r,s,o){var i=o("5135"),a=o("fc6a"),l=o("4d64").indexOf,c=o("d012");r.exports=function(m,f){var d,p=a(m),h=0,_=[];for(d in p)!i(c,d)&&i(p,d)&&_.push(d);for(;f.length>h;)i(p,d=f[h++])&&(~l(_,d)||_.push(d));return _}},cc12:function(r,s,o){var i=o("da84"),a=o("861d"),l=i.document,c=a(l)&&a(l.createElement);r.exports=function(m){return c?l.createElement(m):{}}},ce4e:function(r,s,o){var i=o("da84"),a=o("9112");r.exports=function(l,c){try{a(i,l,c)}catch{i[l]=c}return c}},d012:function(r,s){r.exports={}},d039:function(r,s){r.exports=function(o){try{return!!o()}catch{return!0}}},d066:function(r,s,o){var i=o("428f"),a=o("da84"),l=function(c){return typeof c=="function"?c:void 0};r.exports=function(c,m){return arguments.length<2?l(i[c])||l(a[c]):i[c]&&i[c][m]||a[c]&&a[c][m]}},d1e7:function(r,s,o){var i={}.propertyIsEnumerable,a=Object.getOwnPropertyDescriptor,l=a&&!i.call({1:2},1);s.f=l?function(c){var m=a(this,c);return!!m&&m.enumerable}:i},d28b:function(r,s,o){var i=o("746f");i("iterator")},d2bb:function(r,s,o){var i=o("825a"),a=o("3bbe");r.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var l,c=!1,m={};try{l=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set,l.call(m,[]),c=m instanceof Array}catch{}return function(f,d){return i(f),a(d),c?l.call(f,d):f.__proto__=d,f}}():void 0)},d3b7:function(r,s,o){var i=o("00ee"),a=o("6eeb"),l=o("b041");i||a(Object.prototype,"toString",l,{unsafe:!0})},d44e:function(r,s,o){var i=o("9bf2").f,a=o("5135"),l=o("b622"),c=l("toStringTag");r.exports=function(m,f,d){m&&!a(m=d?m:m.prototype,c)&&i(m,c,{configurable:!0,value:f})}},da84:function(r,s,o){(function(i){var a=function(l){return l&&l.Math==Math&&l};r.exports=a(typeof globalThis=="object"&&globalThis)||a(typeof window=="object"&&window)||a(typeof self=="object"&&self)||a(typeof i=="object"&&i)||function(){return this}()||Function("return this")()}).call(this,o("c8ba"))},ddb0:function(r,s,o){var i=o("da84"),a=o("fdbc"),l=o("e260"),c=o("9112"),m=o("b622"),f=m("iterator"),d=m("toStringTag"),p=l.values;for(var h in a){var _=i[h],g=_&&_.prototype;if(g){if(g[f]!==p)try{c(g,f,p)}catch{g[f]=p}if(g[d]||c(g,d,h),a[h]){for(var b in l)if(g[b]!==l[b])try{c(g,b,l[b])}catch{g[b]=l[b]}}}}},df75:function(r,s,o){var i=o("ca84"),a=o("7839");r.exports=Object.keys||function(l){return i(l,a)}},e01a:function(r,s,o){var i=o("23e7"),a=o("83ab"),l=o("da84"),c=o("5135"),m=o("861d"),f=o("9bf2").f,d=o("e893"),p=l.Symbol;if(a&&typeof p=="function"&&(!("description"in p.prototype)||p().description!==void 0)){var h={},_=function(){var z=arguments.length<1||arguments[0]===void 0?void 0:String(arguments[0]),S=this instanceof _?new p(z):z===void 0?p():p(z);return z===""&&(h[S]=!0),S};d(_,p);var g=_.prototype=p.prototype;g.constructor=_;var b=g.toString,w=String(p("test"))=="Symbol(test)",x=/^Symbol\((.*)\)[^)]+$/;f(g,"description",{configurable:!0,get:function(){var z=m(this)?this.valueOf():this,S=b.call(z);if(c(h,z))return"";var T=w?S.slice(7,-1):S.replace(x,"$1");return T===""?void 0:T}}),i({global:!0,forced:!0},{Symbol:_})}},e163:function(r,s,o){var i=o("5135"),a=o("7b0b"),l=o("f772"),c=o("e177"),m=l("IE_PROTO"),f=Object.prototype;r.exports=c?Object.getPrototypeOf:function(d){return d=a(d),i(d,m)?d[m]:typeof d.constructor=="function"&&d instanceof d.constructor?d.constructor.prototype:d instanceof Object?f:null}},e177:function(r,s,o){var i=o("d039");r.exports=!i(function(){function a(){}return a.prototype.constructor=null,Object.getPrototypeOf(new a)!==a.prototype})},e260:function(r,s,o){var i=o("fc6a"),a=o("44d2"),l=o("3f8c"),c=o("69f3"),m=o("7dd0"),f="Array Iterator",d=c.set,p=c.getterFor(f);r.exports=m(Array,"Array",function(h,_){d(this,{type:f,target:i(h),index:0,kind:_})},function(){var h=p(this),_=h.target,g=h.kind,b=h.index++;return!_||b>=_.length?(h.target=void 0,{value:void 0,done:!0}):g=="keys"?{value:b,done:!1}:g=="values"?{value:_[b],done:!1}:{value:[b,_[b]],done:!1}},"values"),l.Arguments=l.Array,a("keys"),a("values"),a("entries")},e538:function(r,s,o){var i=o("b622");s.f=i},e893:function(r,s,o){var i=o("5135"),a=o("56ef"),l=o("06cf"),c=o("9bf2");r.exports=function(m,f){for(var d=a(f),p=c.f,h=l.f,_=0;_<d.length;_++){var g=d[_];i(m,g)||p(m,g,h(f,g))}}},e8b5:function(r,s,o){var i=o("c6b6");r.exports=Array.isArray||function(a){return i(a)=="Array"}},e95a:function(r,s,o){var i=o("b622"),a=o("3f8c"),l=i("iterator"),c=Array.prototype;r.exports=function(m){return m!==void 0&&(a.Array===m||c[l]===m)}},f5df:function(r,s,o){var i=o("00ee"),a=o("c6b6"),l=o("b622"),c=l("toStringTag"),m=a(function(){return arguments}())=="Arguments",f=function(d,p){try{return d[p]}catch{}};r.exports=i?a:function(d){var p,h,_;return d===void 0?"Undefined":d===null?"Null":typeof(h=f(p=Object(d),c))=="string"?h:m?a(p):(_=a(p))=="Object"&&typeof p.callee=="function"?"Arguments":_}},f772:function(r,s,o){var i=o("5692"),a=o("90e3"),l=i("keys");r.exports=function(c){return l[c]||(l[c]=a(c))}},fae3:function(r,s,o){if(o.r(s),o.d(s,"VueEternalLoading",function(){return W}),typeof window<"u"){var i=window.document.currentScript,a=o("8875");i=a(),"currentScript"in document||Object.defineProperty(document,"currentScript",{get:a});var l=i&&i.src.match(/(.+\/)[^/]+\.js(\?.*)?$/);l&&(o.p=l[1])}var c=o("8bbf"),m={class:"vue-eternal-loading",ref:"rootRef"},f=Object(c.createVNode)("div",{class:"loading"},"Loading...",-1),d=Object(c.createVNode)("div",{class:"no-more"},"No more.",-1),p=Object(c.createVNode)("div",{class:"no-results"},"No results.",-1),h=Object(c.createVNode)("div",{class:"error"},"Error.",-1);function _(I,H,B,oe,J,ue){return Object(c.openBlock)(),Object(c.createBlock)("div",m,[I.state==="loading"?Object(c.renderSlot)(I.$slots,"loading",Object(c.mergeProps)({key:0},{isFirstLoad:I.isFirstLoad}),function(){return[f]}):I.state==="no-more"?Object(c.renderSlot)(I.$slots,"no-more",Object(c.mergeProps)({key:1},{retry:I.retry}),function(){return[d]}):I.state==="no-results"?Object(c.renderSlot)(I.$slots,"no-results",Object(c.mergeProps)({key:2},{retry:I.retry}),function(){return[p]}):I.state==="error"?Object(c.renderSlot)(I.$slots,"error",Object(c.mergeProps)({key:3},{retry:I.retry}),function(){return[h]}):Object(c.createCommentVNode)("",!0)],512)}function g(I){if(Array.isArray(I))return I}o("a4d3"),o("e01a"),o("d3b7"),o("d28b"),o("e260"),o("3ca3"),o("ddb0");function b(I,H){var B=I==null?null:typeof Symbol<"u"&&I[Symbol.iterator]||I["@@iterator"];if(B!=null){var oe,J,ue=[],ge=!0,Me=!1;try{for(B=B.call(I);!(ge=(oe=B.next()).done)&&(ue.push(oe.value),!(H&&ue.length===H));ge=!0);}catch(He){Me=!0,J=He}finally{try{ge||B.return==null||B.return()}finally{if(Me)throw J}}return ue}}o("fb6a"),o("b0c0"),o("a630");function w(I,H){(H==null||H>I.length)&&(H=I.length);for(var B=0,oe=new Array(H);B<H;B++)oe[B]=I[B];return oe}function x(I,H){if(I){if(typeof I=="string")return w(I,H);var B=Object.prototype.toString.call(I).slice(8,-1);return B==="Object"&&I.constructor&&(B=I.constructor.name),B==="Map"||B==="Set"?Array.from(I):B==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(B)?w(I,H):void 0}}function z(){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 S(I,H){return g(I)||b(I,H)||x(I,H)||z()}function T(I){return I.scrollHeight}function j(I){return I.scrollWidth}function F(I,H){I.scrollTop=I.scrollHeight-H+I.scrollTop}function A(I,H){I.scrollLeft=I.scrollWidth-H+I.scrollLeft}var M=Object(c.defineComponent)({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}},setup:function(I,H){var B,oe=Object(c.ref)(),J=Object(c.ref)("loading"),ue=Object(c.ref)(I.isInitial),ge=0;function Me(){Object(c.nextTick)(function(){var Ie;if(I.position==="top")F((Ie=I.container)!==null&&Ie!==void 0?Ie:document.documentElement,ge);else if(I.position==="left"){var Ee;A((Ee=I.container)!==null&&Ee!==void 0?Ee:document.documentElement,ge)}})}function He(Ie,Ee){return Ie===0?ue.value?(X(),"no-results"):(he(),"no-more"):Ie!==void 0&&Ee!==void 0&&Ie<Ee?(he(),"no-more"):(ue.value=!1,Me(),be(),"loading")}function he(){ue.value=!1,ie("no-more"),Me()}function X(){ue.value=!1,ie("no-results"),Me()}function me(){ue.value=!1,ie("error"),Me()}function we(){ue.value=!0,ie("loading"),be()}function U(){ie("loading"),be()}function ie(Ie){J.value=Ie}function se(){oe.value&&B.unobserve(oe.value)}function be(){oe.value&&B.observe(oe.value)}function Ve(){return new IntersectionObserver(function(Ie){var Ee=S(Ie,1),Ae=Ee[0];if(Ae.isIntersecting){var $;if(I.position==="top")ge=T(($=I.container)!==null&&$!==void 0?$:document.documentElement);else if(I.position==="left"){var R;ge=j((R=I.container)!==null&&R!==void 0?R:document.documentElement)}se(),I.load({loaded:He,noMore:he,noResults:X,error:me},{isFirstLoad:ue.value})}},{root:I.container,threshold:0,rootMargin:I.margin})}return Object(c.watchEffect)(function(){B&&se(),B=Ve(),be()},{flush:"post"}),Object(c.watch)(function(){return I.isInitial},function(Ie){Ie&&we()}),Object(c.watch)(ue,function(Ie){Ie||H.emit("update:isInitial",!1)}),{rootRef:oe,state:J,isFirstLoad:ue,retry:U}}});M.render=_;var W=M},fb6a:function(r,s,o){var i=o("23e7"),a=o("861d"),l=o("e8b5"),c=o("23cb"),m=o("50c4"),f=o("fc6a"),d=o("8418"),p=o("b622"),h=o("1dde"),_=h("slice"),g=p("species"),b=[].slice,w=Math.max;i({target:"Array",proto:!0,forced:!_},{slice:function(x,z){var S,T,j,F=f(this),A=m(F.length),M=c(x,A),W=c(z===void 0?A:z,A);if(l(F)&&(S=F.constructor,typeof S!="function"||S!==Array&&!l(S.prototype)?a(S)&&(S=S[g],S===null&&(S=void 0)):S=void 0,S===Array||S===void 0))return b.call(F,M,W);for(T=new(S===void 0?Array:S)(w(W-M,0)),j=0;M<W;M++,j++)M in F&&d(T,j,F[M]);return T.length=j,T}})},fc6a:function(r,s,o){var i=o("44ad"),a=o("1d80");r.exports=function(l){return i(a(l))}},fdbc:function(r,s){r.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(r,s,o){var i=o("4930");r.exports=i&&!Symbol.sham&&typeof Symbol.iterator=="symbol"}})})})(UV);const Ad=50,Ka={load:function(e){const t=new ar;return t.setAccessToken(it.state.spotify.webapi_token),Promise.all([t.getArtist(e.params.artist_id),t.getArtistAlbums(e.params.artist_id,{limit:Ad,offset:0,include_groups:"album,single",market:it.state.spotify.webapi_country})])},set:function(e,t){e.artist=t[0],e.albums=[],e.total=0,e.offset=0,e.append_albums(t[1])}},qV={name:"SpotifyPageArtist",components:{ContentWithHeading:ft,SpotifyListItemAlbum:vu,SpotifyModalDialogAlbum:Ki,SpotifyModalDialogArtist:C1,VueEternalLoading:Di.VueEternalLoading,CoverArtwork:Pr},beforeRouteEnter(e,t,n){Ka.load(e).then(r=>{n(s=>Ka.set(s,r))})},beforeRouteUpdate(e,t,n){const r=this;Ka.load(e).then(s=>{Ka.set(r,s),n()})},data(){return{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:function({loaded:e}){const t=new ar;t.setAccessToken(this.$store.state.spotify.webapi_token),t.getArtistAlbums(this.artist.id,{limit:Ad,offset:this.offset,include_groups:"album,single"}).then(n=>{this.append_albums(n),e(n.items.length,Ad)})},append_albums:function(e){this.albums=this.albums.concat(e.items),this.total=e.total,this.offset+=e.limit},play:function(){this.show_details_modal=!1,Z.player_play_uri(this.artist.uri,!0)},open_album:function(e){this.$router.push({path:"/music/spotify/albums/"+e.id})},open_dialog:function(e){this.selected_album=e,this.show_details_modal=!0},artwork_url:function(e){return e.images&&e.images.length>0?e.images[0].url:""}}},WV=["textContent"],GV={class:"buttons is-centered"},KV={class:"icon"},ZV={class:"icon"},YV=["textContent"],JV=["textContent"],XV={class:"image is-64x64 fd-has-shadow fd-has-action"},QV=["onClick"],eB={class:"icon has-text-dark"},tB=yt(" . ");function nB(e,t,n,r,s,o){const i=O("mdicon"),a=O("cover-artwork"),l=O("spotify-list-item-album"),c=O("VueEternalLoading"),m=O("spotify-modal-dialog-album"),f=O("spotify-modal-dialog-artist"),d=O("content-with-heading");return E(),xe(d,null,{"heading-left":P(()=>[u("p",{class:"title is-4",textContent:v(s.artist.name)},null,8,WV)]),"heading-right":P(()=>[u("div",GV,[u("a",{class:"button is-small is-light is-rounded",onClick:t[0]||(t[0]=p=>s.show_artist_details_modal=!0)},[u("span",KV,[C(i,{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))},[u("span",ZV,[C(i,{name:"shuffle",size:"16"})]),u("span",{textContent:v(e.$t("page.spotify.artist.shuffle"))},null,8,YV)])])]),content:P(()=>[u("p",{class:"heading has-text-centered-mobile",textContent:v(e.$t("page.spotify.artist.album-count",{count:s.total}))},null,8,JV),(E(!0),D(Ge,null,wt(s.albums,p=>(E(),xe(l,{key:p.id,album:p,onClick:h=>o.open_album(p)},Vi({actions:P(()=>[u("a",{onClick:ht(h=>o.open_dialog(p),["prevent","stop"])},[u("span",eB,[C(i,{name:"dots-vertical",size:"16"})])],8,QV)]),_:2},[o.is_visible_artwork?{name:"artwork",fn:P(()=>[u("p",XV,[C(a,{artwork_url:o.artwork_url(p),artist:p.artist,album:p.name,maxwidth:64,maxheight:64},null,8,["artwork_url","artist","album"])])])}:void 0]),1032,["album","onClick"]))),128)),s.offset<s.total?(E(),xe(c,{key:0,load:o.load_next},{"no-more":P(()=>[tB]),_:1},8,["load"])):Q("",!0),C(m,{show:s.show_details_modal,album:s.selected_album,onClose:t[2]||(t[2]=p=>s.show_details_modal=!1)},null,8,["show","album"]),C(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 rB=ve(qV,[["render",nB]]),sB={name:"SpotifyListItemTrack",props:["track","position","album","context_uri"],methods:{play:function(){Z.player_play_uri(this.context_uri,!1,this.position)}}},oB={class:"media"},iB=["textContent"],aB=["textContent"],lB={key:0,class:"subtitle is-7"},uB=yt(" ("),cB=["textContent"],dB=["textContent"],mB=yt(") "),fB={class:"media-right"};function pB(e,t,n,r,s,o){return E(),D("div",oB,[u("div",{class:"media-content fd-has-action is-clipped",onClick:t[0]||(t[0]=(...i)=>o.play&&o.play(...i))},[u("h1",{class:Ye(["title is-6",{"has-text-grey-light":n.track.is_playable===!1}]),textContent:v(n.track.name)},null,10,iB),u("h2",{class:Ye(["subtitle is-7",{"has-text-grey":n.track.is_playable,"has-text-grey-light":n.track.is_playable===!1}])},[u("b",{textContent:v(n.track.artists[0].name)},null,8,aB)],2),n.track.is_playable===!1?(E(),D("h2",lB,[uB,u("span",{textContent:v(e.$t("list.spotify.not-playable-track"))},null,8,cB),n.track.restrictions&&n.track.restrictions.reason?(E(),D("span",{key:0,textContent:v(e.$t("list.spotify.restriction-reason",{reason:n.track.restrictions.reason}))},null,8,dB)):Q("",!0),mB])):Q("",!0)]),u("div",fB,[zt(e.$slots,"actions")])])}const nf=ve(sB,[["render",pB]]),hB={name:"SpotifyModalDialogTrack",props:["show","track","album"],emits:["close"],methods:{play:function(){this.$emit("close"),Z.player_play_uri(this.track.uri,!1)},queue_add:function(){this.$emit("close"),Z.queue_add(this.track.uri)},queue_add_next:function(){this.$emit("close"),Z.queue_add_next(this.track.uri)},open_album:function(){this.$router.push({path:"/music/spotify/albums/"+this.album.id})},open_artist:function(){this.$router.push({path:"/music/spotify/artists/"+this.album.artists[0].id})}}},_B={key:0,class:"modal is-active"},gB={class:"modal-content fd-modal-card"},yB={class:"card"},vB={class:"card-content"},bB=["textContent"],wB=["textContent"],CB={class:"content is-small"},zB=["textContent"],xB=["textContent"],kB=["textContent"],SB=["textContent"],EB=["textContent"],$B=["textContent"],AB=["textContent"],TB=["textContent"],OB=["textContent"],PB=["textContent"],DB=["textContent"],FB=["textContent"],IB={class:"card-footer"},LB={class:"icon"},MB=["textContent"],RB={class:"icon"},NB=["textContent"],jB={class:"icon"},VB=["textContent"];function BB(e,t,n,r,s,o){const i=O("mdicon");return E(),D("div",null,[C(qt,{name:"fade"},{default:P(()=>[n.show?(E(),D("div",_B,[u("div",{class:"modal-background",onClick:t[0]||(t[0]=a=>e.$emit("close"))}),u("div",gB,[u("div",yB,[u("div",vB,[u("p",{class:"title is-4",textContent:v(n.track.name)},null,8,bB),u("p",{class:"subtitle",textContent:v(n.track.artists[0].name)},null,8,wB),u("div",CB,[u("p",null,[u("span",{class:"heading",textContent:v(e.$t("dialog.spotify.track.album"))},null,8,zB),u("a",{class:"title is-6 has-text-link",onClick:t[1]||(t[1]=(...a)=>o.open_album&&o.open_album(...a)),textContent:v(n.album.name)},null,8,xB)]),u("p",null,[u("span",{class:"heading",textContent:v(e.$t("dialog.spotify.track.album-artist"))},null,8,kB),u("a",{class:"title is-6 has-text-link",onClick:t[2]||(t[2]=(...a)=>o.open_artist&&o.open_artist(...a)),textContent:v(n.album.artists[0].name)},null,8,SB)]),u("p",null,[u("span",{class:"heading",textContent:v(e.$t("dialog.spotify.track.release-date"))},null,8,EB),u("span",{class:"title is-6",textContent:v(e.$filters.date(n.album.release_date))},null,8,$B)]),u("p",null,[u("span",{class:"heading",textContent:v(e.$t("dialog.spotify.track.position"))},null,8,AB),u("span",{class:"title is-6",textContent:v([n.track.disc_number,n.track.track_number].join(" / "))},null,8,TB)]),u("p",null,[u("span",{class:"heading",textContent:v(e.$t("dialog.spotify.track.duration"))},null,8,OB),u("span",{class:"title is-6",textContent:v(e.$filters.durationInHours(n.track.duration_ms))},null,8,PB)]),u("p",null,[u("span",{class:"heading",textContent:v(e.$t("dialog.spotify.track.path"))},null,8,DB),u("span",{class:"title is-6",textContent:v(n.track.uri)},null,8,FB)])])]),u("footer",IB,[u("a",{class:"card-footer-item has-text-dark",onClick:t[3]||(t[3]=(...a)=>o.queue_add&&o.queue_add(...a))},[u("span",LB,[C(i,{name:"playlist-plus",size:"16"})]),u("span",{class:"is-size-7",textContent:v(e.$t("dialog.spotify.track.add"))},null,8,MB)]),u("a",{class:"card-footer-item has-text-dark",onClick:t[4]||(t[4]=(...a)=>o.queue_add_next&&o.queue_add_next(...a))},[u("span",RB,[C(i,{name:"playlist-play",size:"16"})]),u("span",{class:"is-size-7",textContent:v(e.$t("dialog.spotify.track.add-next"))},null,8,NB)]),u("a",{class:"card-footer-item has-text-dark",onClick:t[5]||(t[5]=(...a)=>o.play&&o.play(...a))},[u("span",jB,[C(i,{name:"play",size:"16"})]),u("span",{class:"is-size-7",textContent:v(e.$t("dialog.spotify.track.play"))},null,8,VB)])])])]),u("button",{class:"modal-close is-large","aria-label":"close",onClick:t[6]||(t[6]=a=>e.$emit("close"))})])):Q("",!0)]),_:1})])}const rf=ve(hB,[["render",BB]]),Za={load:function(e){const t=new ar;return t.setAccessToken(it.state.spotify.webapi_token),t.getAlbum(e.params.album_id,{market:it.state.spotify.webapi_country})},set:function(e,t){e.album=t}},HB={name:"PageAlbum",components:{ContentWithHero:Jm,SpotifyListItemTrack:nf,SpotifyModalDialogTrack:rf,SpotifyModalDialogAlbum:Ki,CoverArtwork:Pr},beforeRouteEnter(e,t,n){Za.load(e).then(r=>{n(s=>Za.set(s,r))})},beforeRouteUpdate(e,t,n){const r=this;Za.load(e).then(s=>{Za.set(r,s),n()})},data(){return{album:{artists:[{}],tracks:{}},show_track_details_modal:!1,selected_track:{},show_album_details_modal:!1}},computed:{artwork_url:function(){return this.album.images&&this.album.images.length>0?this.album.images[0].url:""}},methods:{open_artist:function(){this.$router.push({path:"/music/spotify/artists/"+this.album.artists[0].id})},play:function(){this.show_details_modal=!1,Z.player_play_uri(this.album.uri,!0)},open_track_dialog:function(e){this.selected_track=e,this.show_track_details_modal=!0}}},UB=["textContent"],qB={class:"subtitle is-6 has-text-link has-text-weight-normal"},WB=["textContent"],GB={class:"buttons fd-is-centered-mobile fd-has-margin-top"},KB={class:"icon"},ZB=["textContent"],YB={class:"icon"},JB={class:"image is-square fd-has-shadow fd-has-action"},XB=["textContent"],QB=["onClick"],eH={class:"icon has-text-dark"};function tH(e,t,n,r,s,o){const i=O("mdicon"),a=O("cover-artwork"),l=O("spotify-list-item-track"),c=O("spotify-modal-dialog-track"),m=O("spotify-modal-dialog-album"),f=O("content-with-hero");return E(),xe(f,null,{"heading-left":P(()=>[u("h1",{class:"title is-5",textContent:v(s.album.name)},null,8,UB),u("h2",qB,[u("a",{class:"has-text-link",onClick:t[0]||(t[0]=(...d)=>o.open_artist&&o.open_artist(...d)),textContent:v(s.album.artists[0].name)},null,8,WB)]),u("div",GB,[u("a",{class:"button is-small is-dark is-rounded",onClick:t[1]||(t[1]=(...d)=>o.play&&o.play(...d))},[u("span",KB,[C(i,{name:"shuffle",size:"16"})]),u("span",{textContent:v(e.$t("page.spotify.album.shuffle"))},null,8,ZB)]),u("a",{class:"button is-small is-light is-rounded",onClick:t[2]||(t[2]=d=>s.show_album_details_modal=!0)},[u("span",YB,[C(i,{name:"dots-horizontal",size:"16"})])])])]),"heading-right":P(()=>[u("p",JB,[C(a,{artwork_url:o.artwork_url,artist:s.album.artist,album:s.album.name,onClick:t[3]||(t[3]=d=>s.show_album_details_modal=!0)},null,8,["artwork_url","artist","album"])])]),content:P(()=>[u("p",{class:"heading is-7 has-text-centered-mobile fd-has-margin-top",textContent:v(e.$t("page.spotify.album.track-count",{count:s.album.tracks.total}))},null,8,XB),(E(!0),D(Ge,null,wt(s.album.tracks.items,(d,p)=>(E(),xe(l,{key:d.id,track:d,position:p,album:s.album,context_uri:s.album.uri},{actions:P(()=>[u("a",{onClick:ht(h=>o.open_track_dialog(d),["prevent","stop"])},[u("span",eH,[C(i,{name:"dots-vertical",size:"16"})])],8,QB)]),_:2},1032,["track","position","album","context_uri"]))),128)),C(c,{show:s.show_track_details_modal,track:s.selected_track,album:s.album,onClose:t[4]||(t[4]=d=>s.show_track_details_modal=!1)},null,8,["show","track","album"]),C(m,{show:s.show_album_details_modal,album:s.album,onClose:t[5]||(t[5]=d=>s.show_album_details_modal=!1)},null,8,["show","album"])]),_:1})}const nH=ve(HB,[["render",tH]]),Td=50,Ya={load:function(e){const t=new ar;return t.setAccessToken(it.state.spotify.webapi_token),Promise.all([t.getPlaylist(e.params.playlist_id),t.getPlaylistTracks(e.params.playlist_id,{limit:Td,offset:0})])},set:function(e,t){e.playlist=t[0],e.tracks=[],e.total=0,e.offset=0,e.append_tracks(t[1])}},rH={name:"SpotifyPagePlaylist",components:{ContentWithHeading:ft,SpotifyListItemTrack:nf,SpotifyModalDialogTrack:rf,SpotifyModalDialogPlaylist:bu,VueEternalLoading:Di.VueEternalLoading},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{playlist:{tracks:{}},tracks:[],total:0,offset:0,show_track_details_modal:!1,selected_track:{},show_playlist_details_modal:!1}},methods:{load_next:function({loaded:e}){const t=new ar;t.setAccessToken(this.$store.state.spotify.webapi_token),t.getPlaylistTracks(this.playlist.id,{limit:Td,offset:this.offset}).then(n=>{this.append_tracks(n),e(n.items.length,Td)})},append_tracks:function(e){this.tracks=this.tracks.concat(e.items),this.total=e.total,this.offset+=e.limit},play:function(){this.show_details_modal=!1,Z.player_play_uri(this.playlist.uri,!0)},open_track_dialog:function(e){this.selected_track=e,this.show_track_details_modal=!0}}},sH=["textContent"],oH={class:"buttons is-centered"},iH={class:"icon"},aH={class:"icon"},lH=["textContent"],uH=["textContent"],cH=["onClick"],dH={class:"icon has-text-dark"},mH=yt(" . ");function fH(e,t,n,r,s,o){const i=O("mdicon"),a=O("spotify-list-item-track"),l=O("VueEternalLoading"),c=O("spotify-modal-dialog-track"),m=O("spotify-modal-dialog-playlist"),f=O("content-with-heading");return E(),xe(f,null,{"heading-left":P(()=>[u("div",{class:"title is-4",textContent:v(s.playlist.name)},null,8,sH)]),"heading-right":P(()=>[u("div",oH,[u("a",{class:"button is-small is-light is-rounded",onClick:t[0]||(t[0]=d=>s.show_playlist_details_modal=!0)},[u("span",iH,[C(i,{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))},[u("span",aH,[C(i,{name:"shuffle",size:"16"})]),u("span",{textContent:v(e.$t("page.spotify.playlist.shuffle"))},null,8,lH)])])]),content:P(()=>[u("p",{class:"heading has-text-centered-mobile",textContent:v(e.$t("page.spotify.playlist.count",{count:s.playlist.tracks.total}))},null,8,uH),(E(!0),D(Ge,null,wt(s.tracks,(d,p)=>(E(),xe(a,{key:d.track.id,track:d.track,album:d.track.album,position:p,context_uri:s.playlist.uri},{actions:P(()=>[u("a",{onClick:ht(h=>o.open_track_dialog(d.track),["prevent","stop"])},[u("span",dH,[C(i,{name:"dots-vertical",size:"16"})])],8,cH)]),_:2},1032,["track","album","position","context_uri"]))),128)),s.offset<s.total?(E(),xe(l,{key:0,load:o.load_next},{"no-more":P(()=>[mH]),_:1},8,["load"])):Q("",!0),C(c,{show:s.show_track_details_modal,track:s.selected_track,album:s.selected_track.album,onClose:t[2]||(t[2]=d=>s.show_track_details_modal=!1)},null,8,["show","track","album"]),C(m,{show:s.show_playlist_details_modal,playlist:s.playlist,onClose:t[3]||(t[3]=d=>s.show_playlist_details_modal=!1)},null,8,["show","playlist"])]),_:1})}const pH=ve(rH,[["render",fH]]),hH={name:"SpotifyListItemArtist",props:["artist"],methods:{open_artist:function(){this.$router.push({path:"/music/spotify/artists/"+this.artist.id})}}},_H={class:"media"},gH=["textContent"],yH={class:"media-right"};function vH(e,t,n,r,s,o){return E(),D("div",_H,[u("div",{class:"media-content fd-has-action is-clipped",onClick:t[0]||(t[0]=(...i)=>o.open_artist&&o.open_artist(...i))},[u("h1",{class:"title is-6",textContent:v(n.artist.name)},null,8,gH)]),u("div",yH,[zt(e.$slots,"actions")])])}const bH=ve(hH,[["render",vH]]),Bo=50,wH={name:"SpotifyPageSearch",components:{ContentWithHeading:ft,ContentText:b1,TabsSearch:w1,SpotifyListItemTrack:nf,SpotifyListItemArtist:bH,SpotifyListItemAlbum:vu,SpotifyListItemPlaylist:tf,SpotifyModalDialogTrack:rf,SpotifyModalDialogArtist:C1,SpotifyModalDialogAlbum:Ki,SpotifyModalDialogPlaylist:bu,VueEternalLoading:Di.VueEternalLoading,CoverArtwork:Pr},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:function(){this.query=this.$route.query,this.search()},methods:{reset:function(){this.tracks={items:[],total:0},this.artists={items:[],total:0},this.albums={items:[],total:0},this.playlists={items:[],total:0}},search:function(){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:Bo,this.search_param.offset=this.query.offset?this.query.offset:0,this.$store.commit(Sm,this.query.query),this.search_all()},spotify_search:function(){return Z.spotify().then(({data:e})=>{this.search_param.market=e.webapi_country;const t=new ar;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:function(){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:function({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,Bo)})},search_artists_next:function({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,Bo)})},search_albums_next:function({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,Bo)})},search_playlists_next:function({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,Bo)})},new_search:function(){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:function(){this.$router.push({path:"/search/spotify",query:{type:"track",query:this.$route.query.query}})},open_search_artists:function(){this.$router.push({path:"/search/spotify",query:{type:"artist",query:this.$route.query.query}})},open_search_albums:function(){this.$router.push({path:"/search/spotify",query:{type:"album",query:this.$route.query.query}})},open_search_playlists:function(){this.$router.push({path:"/search/spotify",query:{type:"playlist",query:this.$route.query.query}})},open_recent_search:function(e){this.search_query=e,this.new_search()},open_track_dialog:function(e){this.selected_track=e,this.show_track_details_modal=!0},open_album_dialog:function(e){this.selected_album=e,this.show_album_details_modal=!0},open_artist_dialog:function(e){this.selected_artist=e,this.show_artist_details_modal=!0},open_playlist_dialog:function(e){this.selected_playlist=e,this.show_playlist_details_modal=!0},open_album:function(e){this.$router.push({path:"/music/spotify/albums/"+e.id})},artwork_url:function(e){return e.images&&e.images.length>0?e.images[0].url:""}}},CH={class:"section fd-remove-padding-bottom"},zH={class:"container"},xH={class:"columns is-centered"},kH={class:"column is-four-fifths"},SH={class:"field"},EH={class:"control is-expanded has-icons-left"},$H={class:"icon is-left"},AH={class:"tags",style:{"margin-top":"16px"}},TH=["onClick","textContent"],OH=["textContent"],PH=["onClick"],DH={class:"icon has-text-dark"},FH=yt(" . "),IH={key:0,class:"level"},LH={class:"level-item"},MH=["textContent"],RH=["textContent"],NH=["textContent"],jH=["onClick"],VH={class:"icon has-text-dark"},BH=yt(" . "),HH={key:0,class:"level"},UH={class:"level-item"},qH=["textContent"],WH=["textContent"],GH=["textContent"],KH={class:"image is-64x64 fd-has-shadow fd-has-action"},ZH=["onClick"],YH={class:"icon has-text-dark"},JH=yt(" . "),XH={key:0,class:"level"},QH={class:"level-item"},eU=["textContent"],tU=["textContent"],nU=["textContent"],rU=["onClick"],sU={class:"icon has-text-dark"},oU=yt(" . "),iU={key:0,class:"level"},aU={class:"level-item"},lU=["textContent"],uU=["textContent"];function cU(e,t,n,r,s,o){const i=O("mdicon"),a=O("tabs-search"),l=O("spotify-list-item-track"),c=O("VueEternalLoading"),m=O("spotify-modal-dialog-track"),f=O("content-with-heading"),d=O("content-text"),p=O("spotify-list-item-artist"),h=O("spotify-modal-dialog-artist"),_=O("cover-artwork"),g=O("spotify-list-item-album"),b=O("spotify-modal-dialog-album"),w=O("spotify-list-item-playlist"),x=O("spotify-modal-dialog-playlist");return E(),D("div",null,[u("section",CH,[u("div",zH,[u("div",xH,[u("div",kH,[u("form",{onSubmit:t[1]||(t[1]=ht((...z)=>o.new_search&&o.new_search(...z),["prevent"]))},[u("div",SH,[u("p",EH,[xt(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:"Search",autocomplete:"off"},null,512),[[xn,s.search_query]]),u("span",$H,[C(i,{name:"magnify",size:"16"})])])])],32),u("div",AH,[(E(!0),D(Ge,null,wt(o.recent_searches,z=>(E(),D("a",{key:z,class:"tag",onClick:S=>o.open_recent_search(z),textContent:v(z)},null,8,TH))),128))])])])])]),C(a,{query:s.search_query},null,8,["query"]),o.show_tracks&&s.tracks.total?(E(),xe(f,{key:0},{"heading-left":P(()=>[u("p",{class:"title is-4",textContent:v(e.$t("page.spotify.search.tracks"))},null,8,OH)]),content:P(()=>[(E(!0),D(Ge,null,wt(s.tracks.items,z=>(E(),xe(l,{key:z.id,track:z,album:z.album,position:0,context_uri:z.uri},{actions:P(()=>[u("a",{onClick:ht(S=>o.open_track_dialog(z),["prevent","stop"])},[u("span",DH,[C(i,{name:"dots-vertical",size:"16"})])],8,PH)]),_:2},1032,["track","album","context_uri"]))),128)),s.query.type==="track"?(E(),xe(c,{key:0,load:o.search_tracks_next},{"no-more":P(()=>[FH]),_:1},8,["load"])):Q("",!0),C(m,{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:P(()=>[o.show_all_tracks_button?(E(),D("nav",IH,[u("p",LH,[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:v(e.$t("page.spotify.search.show-all-tracks",{count:s.tracks.total.toLocaleString(e.$i18n.locale)}))},null,8,MH)])])):Q("",!0)]),_:1})):Q("",!0),o.show_tracks&&!s.tracks.total?(E(),xe(d,{key:1,class:"mt-6"},{content:P(()=>[u("p",null,[u("i",{textContent:v(e.$t("page.spotify.search.no-tracks"))},null,8,RH)])]),_:1})):Q("",!0),o.show_artists&&s.artists.total?(E(),xe(f,{key:2},{"heading-left":P(()=>[u("p",{class:"title is-4",textContent:v(e.$t("page.spotify.search.artists"))},null,8,NH)]),content:P(()=>[(E(!0),D(Ge,null,wt(s.artists.items,z=>(E(),xe(p,{key:z.id,artist:z},{actions:P(()=>[u("a",{onClick:ht(S=>o.open_artist_dialog(z),["prevent","stop"])},[u("span",VH,[C(i,{name:"dots-vertical",size:"16"})])],8,jH)]),_:2},1032,["artist"]))),128)),s.query.type==="artist"?(E(),xe(c,{key:0,load:o.search_artists_next},{"no-more":P(()=>[BH]),_:1},8,["load"])):Q("",!0),C(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:P(()=>[o.show_all_artists_button?(E(),D("nav",HH,[u("p",UH,[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:v(e.$t("page.spotify.search.show-all-artists",{count:s.artists.total.toLocaleString(e.$i18n.locale)}))},null,8,qH)])])):Q("",!0)]),_:1})):Q("",!0),o.show_artists&&!s.artists.total?(E(),xe(d,{key:3},{content:P(()=>[u("p",null,[u("i",{textContent:v(e.$t("page.spotify.search.no-artists"))},null,8,WH)])]),_:1})):Q("",!0),o.show_albums&&s.albums.total?(E(),xe(f,{key:4},{"heading-left":P(()=>[u("p",{class:"title is-4",textContent:v(e.$t("page.spotify.search.albums"))},null,8,GH)]),content:P(()=>[(E(!0),D(Ge,null,wt(s.albums.items,z=>(E(),xe(g,{key:z.id,album:z,onClick:S=>o.open_album(z)},Vi({actions:P(()=>[u("a",{onClick:ht(S=>o.open_album_dialog(z),["prevent","stop"])},[u("span",YH,[C(i,{name:"dots-vertical",size:"16"})])],8,ZH)]),_:2},[o.is_visible_artwork?{name:"artwork",fn:P(()=>[u("p",KH,[C(_,{artwork_url:o.artwork_url(z),artist:z.artist,album:z.name,maxwidth:64,maxheight:64},null,8,["artwork_url","artist","album"])])])}:void 0]),1032,["album","onClick"]))),128)),s.query.type==="album"?(E(),xe(c,{key:0,load:o.search_albums_next},{"no-more":P(()=>[JH]),_:1},8,["load"])):Q("",!0),C(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:P(()=>[o.show_all_albums_button?(E(),D("nav",XH,[u("p",QH,[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:v(e.$t("page.spotify.search.show-all-albums",{count:s.albums.total.toLocaleString(e.$i18n.locale)}))},null,8,eU)])])):Q("",!0)]),_:1})):Q("",!0),o.show_albums&&!s.albums.total?(E(),xe(d,{key:5},{content:P(()=>[u("p",null,[u("i",{textContent:v(e.$t("page.spotify.search.no-albums"))},null,8,tU)])]),_:1})):Q("",!0),o.show_playlists&&s.playlists.total?(E(),xe(f,{key:6},{"heading-left":P(()=>[u("p",{class:"title is-4",textContent:v(e.$t("page.spotify.search.playlists"))},null,8,nU)]),content:P(()=>[(E(!0),D(Ge,null,wt(s.playlists.items,z=>(E(),xe(w,{key:z.id,playlist:z},{actions:P(()=>[u("a",{onClick:ht(S=>o.open_playlist_dialog(z),["prevent","stop"])},[u("span",sU,[C(i,{name:"dots-vertical",size:"16"})])],8,rU)]),_:2},1032,["playlist"]))),128)),s.query.type==="playlist"?(E(),xe(c,{key:0,load:o.search_playlists_next},{"no-more":P(()=>[oU]),_:1},8,["load"])):Q("",!0),C(x,{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:P(()=>[o.show_all_playlists_button?(E(),D("nav",iU,[u("p",aU,[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:v(e.$t("page.spotify.search.show-all-playlists",{count:s.playlists.total.toLocaleString(e.$i18n.locale)}))},null,8,lU)])])):Q("",!0)]),_:1})):Q("",!0),o.show_playlists&&!s.playlists.total?(E(),xe(d,{key:7},{content:P(()=>[u("p",null,[u("i",{textContent:v(e.$t("page.spotify.search.no-playlists"))},null,8,uU)])]),_:1})):Q("",!0)])}const dU=ve(wH,[["render",cU]]),mU={name:"TabsSettings"},fU={class:"section fd-tabs-section"},pU={class:"container"},hU={class:"columns is-centered"},_U={class:"column is-four-fifths"},gU={class:"tabs is-centered is-small"},yU=["onClick","onKeypress"],vU=["textContent"],bU=["onClick","onKeypress"],wU=["textContent"],CU=["onClick","onKeypress"],zU=["textContent"],xU=["onClick","onKeypress"],kU=["textContent"];function SU(e,t,n,r,s,o){const i=O("router-link");return E(),D("section",fU,[u("div",pU,[u("div",hU,[u("div",_U,[u("div",gU,[u("ul",null,[C(i,{to:"/settings/webinterface",custom:""},{default:P(({navigate:a,isActive:l})=>[u("li",{class:Ye({"is-active":l})},[u("a",{onClick:a,onKeypress:Pn(a,["enter"])},[u("span",{textContent:v(e.$t("page.settings.tabs.general"))},null,8,vU)],40,yU)],2)]),_:1}),C(i,{to:"/settings/remotes-outputs",custom:""},{default:P(({navigate:a,isActive:l})=>[u("li",{class:Ye({"is-active":l})},[u("a",{onClick:a,onKeypress:Pn(a,["enter"])},[u("span",{textContent:v(e.$t("page.settings.tabs.remotes-and-outputs"))},null,8,wU)],40,bU)],2)]),_:1}),C(i,{to:"/settings/artwork",custom:""},{default:P(({navigate:a,isActive:l})=>[u("li",{class:Ye({"is-active":l})},[u("a",{onClick:a,onKeypress:Pn(a,["enter"])},[u("span",{textContent:v(e.$t("page.settings.tabs.artwork"))},null,8,zU)],40,CU)],2)]),_:1}),C(i,{to:"/settings/online-services",custom:""},{default:P(({navigate:a,isActive:l})=>[u("li",{class:Ye({"is-active":l})},[u("a",{onClick:a,onKeypress:Pn(a,["enter"])},[u("span",{textContent:v(e.$t("page.settings.tabs.online-services"))},null,8,kU)],40,xU)],2)]),_:1})])])])])])])}const wu=ve(mU,[["render",SU]]),EU={name:"SettingsCheckbox",props:["category_name","option_name"],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.checked!==this.value&&(this.timerId=window.setTimeout(this.update_setting,this.timerDelay))},update_setting(){this.timerId=-1;const e=this.$refs.setting.checked;if(console.log(this.$refs.setting),e===this.value){this.statusUpdate="";return}const t={category:this.category.name,name:this.option_name,value:e};Z.settings_update(this.category.name,t).then(()=>{this.$store.commit(uu,t),this.statusUpdate="success"}).catch(()=>{this.statusUpdate="error",this.$refs.setting.checked=this.value}).finally(()=>{this.timerId=window.setTimeout(this.clear_status,this.timerDelay)})},clear_status:function(){this.statusUpdate=""}}},$U={class:"field"},AU={class:"switch"},TU=["checked"],OU=["textContent"],PU={key:0,class:"help"};function DU(e,t,n,r,s,o){return E(),D("div",$U,[u("label",AU,[u("input",{ref:"setting",type:"checkbox",checked:o.value,style:{"margin-right":"5px"},onChange:t[0]||(t[0]=(...i)=>o.set_update_timer&&o.set_update_timer(...i))},null,40,TU),zt(e.$slots,"label"),u("i",{class:Ye(["is-size-7",{"has-text-info":o.is_success,"has-text-danger":o.is_error}]),textContent:v(o.info)},null,10,OU)]),e.$slots.info?(E(),D("p",PU,[zt(e.$slots,"info")])):Q("",!0)])}const z1=ve(EU,[["render",DU]]),FU={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};Z.settings_update(this.category.name,t).then(()=>{this.$store.commit(uu,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:function(){this.statusUpdate=""}}},IU=["disabled"],LU={class:"field"},MU={class:"label has-text-weight-normal"},RU=["textContent"],NU={class:"control"},jU=["placeholder","value"],VU={key:0,class:"help"};function BU(e,t,n,r,s,o){return E(),D("fieldset",{disabled:n.disabled},[u("div",LU,[u("label",MU,[zt(e.$slots,"label"),u("i",{class:Ye(["is-size-7",{"has-text-info":o.is_success,"has-text-danger":o.is_error}]),textContent:v(o.info)},null,10,RU)]),u("div",NU,[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,jU)]),e.$slots.info?(E(),D("p",VU,[zt(e.$slots,"info")])):Q("",!0)])],8,IU)}const HU=ve(FU,[["render",BU]]),UU={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)};Z.settings_update(this.category.name,t).then(()=>{this.$store.commit(uu,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:function(){this.statusUpdate=""}}},qU=["disabled"],WU={class:"field"},GU={class:"label has-text-weight-normal"},KU=["textContent"],ZU={class:"control"},YU=["placeholder","value"],JU={key:0,class:"help"};function XU(e,t,n,r,s,o){return E(),D("fieldset",{disabled:n.disabled},[u("div",WU,[u("label",GU,[zt(e.$slots,"label"),u("i",{class:Ye(["is-size-7",{"has-text-info":o.is_success,"has-text-danger":o.is_error}]),textContent:v(o.info)},null,10,KU)]),u("div",ZU,[u("input",{ref:"setting",class:"input",type:"number",min:"0",style:{width:"10em"},placeholder:n.placeholder,value:o.value,onInput:t[0]||(t[0]=(...i)=>o.set_update_timer&&o.set_update_timer(...i))},null,40,YU)]),e.$slots.info?(E(),D("p",JU,[zt(e.$slots,"info")])):Q("",!0)])],8,qU)}const QU=ve(UU,[["render",XU]]),eq={name:"SettingsPageWebinterface",components:{ContentWithHeading:ft,TabsSettings:wu,SettingsCheckbox:z1,SettingsTextfield:HU,SettingsIntfield:QU,DropdownMenu:Is},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)}))}}}},tq={class:"fd-page-with-tabs"},nq=["textContent"],rq=["textContent"],sq=["textContent"],oq=["textContent"],iq=["textContent"],aq=["textContent"],lq=["textContent"],uq=["textContent"],cq=["textContent"],dq=["textContent"],mq=["textContent"],fq=["textContent"],pq=["textContent"],hq=["textContent"],_q=["textContent"],gq=["textContent"],yq=["textContent"],vq=["textContent"],bq=["textContent"],wq=["textContent"],Cq=["textContent"],zq=["textContent"],xq=["textContent"];function kq(e,t,n,r,s,o){const i=O("tabs-settings"),a=O("dropdown-menu"),l=O("content-with-heading"),c=O("settings-checkbox"),m=O("settings-textfield"),f=O("settings-intfield");return E(),D("div",tq,[C(i),C(l,null,{"heading-left":P(()=>[u("div",{class:"title is-4",textContent:v(e.$t("page.settings.general.language"))},null,8,nq)]),content:P(()=>[C(a,{modelValue:o.locale,"onUpdate:modelValue":t[0]||(t[0]=d=>o.locale=d),options:o.locales},null,8,["modelValue","options"])]),_:1}),C(l,null,{"heading-left":P(()=>[u("div",{class:"title is-4",textContent:v(e.$t("page.settings.general.navigation-items"))},null,8,rq)]),content:P(()=>[u("p",{class:"content",textContent:v(e.$t("page.settings.general.navigation-item-selection"))},null,8,sq),u("div",{class:"notification is-size-7",textContent:v(e.$t("page.settings.general.navigation-item-selection-info"))},null,8,oq),C(c,{category_name:"webinterface",option_name:"show_menu_item_playlists"},{label:P(()=>[u("span",{textContent:v(e.$t("page.settings.general.playlists"))},null,8,iq)]),_:1}),C(c,{category_name:"webinterface",option_name:"show_menu_item_music"},{label:P(()=>[u("span",{textContent:v(e.$t("page.settings.general.music"))},null,8,aq)]),_:1}),C(c,{category_name:"webinterface",option_name:"show_menu_item_podcasts"},{label:P(()=>[u("span",{textContent:v(e.$t("page.settings.general.podcasts"))},null,8,lq)]),_:1}),C(c,{category_name:"webinterface",option_name:"show_menu_item_audiobooks"},{label:P(()=>[u("span",{textContent:v(e.$t("page.settings.general.audiobooks"))},null,8,uq)]),_:1}),C(c,{category_name:"webinterface",option_name:"show_menu_item_radio"},{label:P(()=>[u("span",{textContent:v(e.$t("page.settings.general.radio"))},null,8,cq)]),_:1}),C(c,{category_name:"webinterface",option_name:"show_menu_item_files"},{label:P(()=>[u("span",{textContent:v(e.$t("page.settings.general.files"))},null,8,dq)]),_:1}),C(c,{category_name:"webinterface",option_name:"show_menu_item_search"},{label:P(()=>[u("span",{textContent:v(e.$t("page.settings.general.search"))},null,8,mq)]),_:1})]),_:1}),C(l,null,{"heading-left":P(()=>[u("div",{class:"title is-4",textContent:v(e.$t("page.settings.general.album-lists"))},null,8,fq)]),content:P(()=>[C(c,{category_name:"webinterface",option_name:"show_cover_artwork_in_album_lists"},{label:P(()=>[u("span",{textContent:v(e.$t("page.settings.general.show-coverart"))},null,8,pq)]),_:1})]),_:1}),C(l,null,{"heading-left":P(()=>[u("div",{class:"title is-4",textContent:v(e.$t("page.settings.general.now-playing-page"))},null,8,hq)]),content:P(()=>[C(c,{category_name:"webinterface",option_name:"show_composer_now_playing"},{label:P(()=>[u("span",{textContent:v(e.$t("page.settings.general.show-composer"))},null,8,_q)]),info:P(()=>[u("span",{textContent:v(e.$t("page.settings.general.show-composer-info"))},null,8,gq)]),_:1}),C(m,{category_name:"webinterface",option_name:"show_composer_for_genre",disabled:!o.settings_option_show_composer_now_playing,placeholder:"Genres"},{label:P(()=>[u("span",{textContent:v(e.$t("page.settings.general.show-composer-genres"))},null,8,yq)]),info:P(()=>[u("p",{class:"help",textContent:v(e.$t("page.settings.general.show-composer-genres-info-1"))},null,8,vq),u("p",{class:"help",textContent:v(e.$t("page.settings.general.show-composer-genres-info-2"))},null,8,bq),u("p",{class:"help",textContent:v(e.$t("page.settings.general.show-composer-genres-info-3"))},null,8,wq)]),_:1},8,["disabled"]),C(c,{category_name:"webinterface",option_name:"show_filepath_now_playing"},{label:P(()=>[u("span",{textContent:v(e.$t("page.settings.general.show-path"))},null,8,Cq)]),_:1})]),_:1}),C(l,null,{"heading-left":P(()=>[u("div",{class:"title is-4",textContent:v(e.$t("page.settings.general.recently-added-page"))},null,8,zq)]),content:P(()=>[C(f,{category_name:"webinterface",option_name:"recently_added_limit"},{label:P(()=>[u("span",{textContent:v(e.$t("page.settings.general.recently-added-page-info"))},null,8,xq)]),_:1})]),_:1})])}const Sq=ve(eq,[["render",kq]]),Eq={name:"SettingsPageArtwork",components:{ContentWithHeading:ft,TabsSettings:wu,SettingsCheckbox:z1},computed:{spotify(){return this.$store.state.spotify}}},$q={class:"fd-page-with-tabs"},Aq=["textContent"],Tq=["textContent"],Oq=["textContent"],Pq=["textContent"],Dq={href:"https://www.spotify.com/",target:"_blank"},Fq={class:"icon"},Iq=["textContent"],Lq={href:"https://www.discogs.com/",target:"_blank"},Mq={class:"icon"},Rq=["textContent"],Nq={href:"https://coverartarchive.org/",target:"_blank"},jq={class:"icon"};function Vq(e,t,n,r,s,o){const i=O("tabs-settings"),a=O("mdicon"),l=O("settings-checkbox"),c=O("content-with-heading");return E(),D("div",$q,[C(i),C(c,null,{"heading-left":P(()=>[u("div",{class:"title is-4",textContent:v(e.$t("page.settings.artwork.artwork"))},null,8,Aq)]),content:P(()=>[u("div",{class:"content",textContent:v(e.$t("page.settings.artwork.explanation-1"))},null,8,Tq),u("div",{class:"content",textContent:v(e.$t("page.settings.artwork.explanation-2"))},null,8,Oq),o.spotify.spotify_logged_in?(E(),xe(l,{key:0,category_name:"artwork",option_name:"use_artwork_source_spotify"},{label:P(()=>[u("span",{textContent:v(e.$t("page.settings.artwork.spotify"))},null,8,Pq),u("a",Dq,[u("span",Fq,[C(a,{name:"open-in-new",size:"16"})])])]),_:1})):Q("",!0),C(l,{category_name:"artwork",option_name:"use_artwork_source_discogs"},{label:P(()=>[u("span",{textContent:v(e.$t("page.settings.artwork.discogs"))},null,8,Iq),u("a",Lq,[u("span",Mq,[C(a,{name:"open-in-new",size:"16"})])])]),_:1}),C(l,{category_name:"artwork",option_name:"use_artwork_source_coverartarchive"},{label:P(()=>[u("span",{textContent:v(e.$t("page.settings.artwork.coverartarchive"))},null,8,Rq),u("a",Nq,[u("span",jq,[C(a,{name:"open-in-new",size:"16"})])])]),_:1})]),_:1})])}const Bq=ve(Eq,[["render",Vq]]),Hq={name:"SettingsPageOnlineServices",components:{ContentWithHeading:ft,TabsSettings:wu},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(){Z.spotify_logout()},login_lastfm(){Z.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(){Z.lastfm_logout()}}},Uq={class:"fd-page-with-tabs"},qq=["textContent"],Wq={key:0,class:"notification is-size-7"},Gq=["textContent"],Kq={key:1},Zq={class:"notification is-size-7"},Yq=["textContent"],Jq={class:"fd-has-margin-top"},Xq=["innerHTML"],Qq={key:0},eW=["textContent"],tW=["textContent"],nW={key:1,class:"help is-danger"},rW=["textContent"],sW=["textContent"],oW={class:"field fd-has-margin-top"},iW={class:"control"},aW=["href","textContent"],lW={class:"help"},uW=["textContent"],cW=["textContent"],dW={key:2,class:"field fd-has-margin-top"},mW={class:"control"},fW=["textContent"],pW=["textContent"],hW={key:0,class:"notification is-size-7"},_W=["textContent"],gW={key:1},yW=["innerHTML"],vW={key:0},bW=["textContent"],wW={key:1},CW={class:"field is-grouped"},zW={class:"control is-expanded"},xW=["textContent"],kW={class:"control is-expanded"},SW=["textContent"],EW={class:"control"},$W=["textContent"],AW=["textContent"],TW=["textContent"];function OW(e,t,n,r,s,o){const i=O("tabs-settings"),a=O("content-with-heading");return E(),D("div",Uq,[C(i),C(a,null,{"heading-left":P(()=>[u("div",{class:"title is-4",textContent:v(e.$t("page.settings.services.spotify.title"))},null,8,qq)]),content:P(()=>[o.spotify.spotify_installed?Q("",!0):(E(),D("div",Wq,[u("p",{textContent:v(e.$t("page.settings.services.spotify.no-support"))},null,8,Gq)])),o.spotify.spotify_installed?(E(),D("div",Kq,[u("div",Zq,[u("span",{textContent:v(e.$t("page.settings.services.spotify.requirements"))},null,8,Yq)]),u("div",Jq,[u("p",{class:"content",innerHTML:e.$t("page.settings.services.spotify.grant-access")},null,8,Xq),o.spotify.webapi_token_valid?(E(),D("p",Qq,[u("span",{textContent:v(e.$t("page.settings.services.spotify.user"))},null,8,eW),u("code",{textContent:v(o.spotify.webapi_user)},null,8,tW)])):Q("",!0),o.spotify_missing_scope.length>0?(E(),D("p",nW,[u("span",{textContent:v(e.$t("page.settings.services.spotify.reauthorize"))},null,8,rW),u("code",{textContent:v(o.spotify_missing_scope.join())},null,8,sW)])):Q("",!0),u("div",oW,[u("div",iW,[u("a",{class:Ye(["button",{"is-info":!o.spotify.webapi_token_valid||o.spotify_missing_scope.length>0}]),href:o.spotify.oauth_uri,textContent:v(e.$t("page.settings.services.spotify.authorize"))},null,10,aW)])]),u("p",lW,[u("span",{textContent:v(e.$t("page.settings.services.spotify.scopes"))},null,8,uW),u("code",{textContent:v(o.spotify_required_scope.join(", "))},null,8,cW)]),o.spotify.webapi_token_valid?(E(),D("div",dW,[u("div",mW,[u("a",{class:"button is-danger",onClick:t[0]||(t[0]=(...l)=>o.logout_spotify&&o.logout_spotify(...l)),textContent:v(e.$t("page.settings.services.logout"))},null,8,fW)])])):Q("",!0)])])):Q("",!0)]),_:1}),C(a,null,{"heading-left":P(()=>[u("div",{class:"title is-4",textContent:v(e.$t("page.settings.services.lastfm.title"))},null,8,pW)]),content:P(()=>[o.lastfm.enabled?Q("",!0):(E(),D("div",hW,[u("p",{textContent:v(e.$t("page.settings.services.lastfm.no-support"))},null,8,_W)])),o.lastfm.enabled?(E(),D("div",gW,[u("p",{class:"content",innerHTML:e.$t("page.settings.services.lastfm.grant-access")},null,8,yW),o.lastfm.scrobbling_enabled?(E(),D("div",vW,[u("a",{class:"button",onClick:t[1]||(t[1]=(...l)=>o.logoutLastfm&&o.logoutLastfm(...l)),textContent:v(e.$t("page.settings.services.lastfm.stop-scrobbling"))},null,8,bW)])):Q("",!0),o.lastfm.scrobbling_enabled?Q("",!0):(E(),D("div",wW,[u("form",{onSubmit:t[4]||(t[4]=ht((...l)=>o.login_lastfm&&o.login_lastfm(...l),["prevent"]))},[u("div",CW,[u("div",zW,[xt(u("input",{"onUpdate:modelValue":t[2]||(t[2]=l=>s.lastfm_login.user=l),class:"input",type:"text",placeholder:"Username"},null,512),[[xn,s.lastfm_login.user]]),u("p",{class:"help is-danger",textContent:v(s.lastfm_login.errors.user)},null,8,xW)]),u("div",kW,[xt(u("input",{"onUpdate:modelValue":t[3]||(t[3]=l=>s.lastfm_login.password=l),class:"input",type:"password",placeholder:"Password"},null,512),[[xn,s.lastfm_login.password]]),u("p",{class:"help is-danger",textContent:v(s.lastfm_login.errors.password)},null,8,SW)]),u("div",EW,[u("button",{class:"button is-info",type:"submit",textContent:v(e.$t("page.settings.services.login"))},null,8,$W)])]),u("p",{class:"help is-danger",textContent:v(s.lastfm_login.errors.error)},null,8,AW),u("p",{class:"help",textContent:v(e.$t("page.settings.services.lastfm.info"))},null,8,TW)],32)]))])):Q("",!0)]),_:1})])}const PW=ve(Hq,[["render",OW]]),DW={name:"SettingsPageRemotesOutputs",components:{ContentWithHeading:ft,TabsSettings:wu},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(){Z.pairing_kickoff(this.pairing_req)},output_toggle(e){Z.output_toggle(e)},kickoff_verification(e){Z.output_update(e,this.verification_req)}}},FW={class:"fd-page-with-tabs"},IW=["textContent"],LW={key:0,class:"notification"},MW={class:"label has-text-weight-normal"},RW=["textContent"],NW=["textContent"],jW={class:"field is-grouped"},VW={class:"control"},BW={class:"control"},HW=["textContent"],UW={key:1,class:"content"},qW=["textContent"],WW=["textContent"],GW=["textContent"],KW={class:"field"},ZW={class:"control"},YW={class:"checkbox"},JW=["onUpdate:modelValue","onChange"],XW=["textContent"],QW=["onSubmit"],eG={class:"field is-grouped"},tG={class:"control"},nG=["placeholder"],rG={class:"control"},sG=["textContent"];function oG(e,t,n,r,s,o){const i=O("tabs-settings"),a=O("content-with-heading");return E(),D("div",FW,[C(i),C(a,null,{"heading-left":P(()=>[u("div",{class:"title is-4",textContent:v(e.$t("page.settings.devices.pairing"))},null,8,IW)]),content:P(()=>[o.pairing.active?(E(),D("div",LW,[u("form",{onSubmit:t[1]||(t[1]=ht((...l)=>o.kickoff_pairing&&o.kickoff_pairing(...l),["prevent"]))},[u("label",MW,[u("span",{textContent:v(e.$t("page.settings.devices.pairing-request"))},null,8,RW),u("b",{textContent:v(o.pairing.remote)},null,8,NW)]),u("div",jW,[u("div",VW,[xt(u("input",{"onUpdate:modelValue":t[0]||(t[0]=l=>s.pairing_req.pin=l),class:"input",type:"text",placeholder:"Enter pairing code"},null,512),[[xn,s.pairing_req.pin]])]),u("div",BW,[u("button",{class:"button is-info",type:"submit",textContent:v(e.$t("page.settings.devices.send"))},null,8,HW)])])],32)])):Q("",!0),o.pairing.active?Q("",!0):(E(),D("div",UW,[u("p",{textContent:v(e.$t("page.settings.devices.no-active-pairing"))},null,8,qW)]))]),_:1}),C(a,null,{"heading-left":P(()=>[u("div",{class:"title is-4",textContent:v(e.$t("page.settings.devices.speaker-pairing"))},null,8,WW)]),content:P(()=>[u("p",{class:"content",textContent:v(e.$t("page.settings.devices.speaker-pairing-info"))},null,8,GW),(E(!0),D(Ge,null,wt(o.outputs,l=>(E(),D("div",{key:l.id},[u("div",KW,[u("div",ZW,[u("label",YW,[xt(u("input",{"onUpdate:modelValue":c=>l.selected=c,type:"checkbox",style:{"margin-right":"5px"},onChange:c=>o.output_toggle(l.id)},null,40,JW),[[Er,l.selected]]),u("span",{textContent:v(l.name)},null,8,XW)])])]),l.needs_auth_key?(E(),D("form",{key:0,class:"fd-has-margin-bottom",onSubmit:ht(c=>o.kickoff_verification(l.id),["prevent"])},[u("div",eG,[u("div",tG,[xt(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,nG),[[xn,s.verification_req.pin]])]),u("div",rG,[u("button",{class:"button is-info",type:"submit",textContent:v(e.$t("page.settings.devices.verify"))},null,8,sG)])])],40,QW)):Q("",!0)]))),128))]),_:1})])}const iG=ve(DW,[["render",oG]]),x1=q2({history:a2(),routes:[{path:"/",name:"PageQueue",component:b8},{path:"/about",name:"About",component:NN},{path:"/now-playing",name:"Now playing",component:cO},{path:"/music",redirect:"/music/browse"},{path:"/music/browse",name:"Browse",component:H4,meta:{show_progress:!0,has_tabs:!0}},{path:"/music/browse/recently_added",name:"Browse Recently Added",component:Z4,meta:{show_progress:!0,has_tabs:!0}},{path:"/music/browse/recently_played",name:"Browse Recently Played",component:t5,meta:{show_progress:!0,has_tabs:!0}},{path:"/music/artists",name:"Artists",component:fP,meta:{show_progress:!0,has_tabs:!0,has_index:!0}},{path:"/music/artists/:artist_id",name:"Artist",component:$P,meta:{show_progress:!0,has_index:!0}},{path:"/music/artists/:artist_id/tracks",name:"Tracks",component:KF,meta:{show_progress:!0,has_index:!0}},{path:"/music/albums",name:"Albums",component:GP,meta:{show_progress:!0,has_tabs:!0,has_index:!0}},{path:"/music/albums/:album_id",name:"Album",component:bD,meta:{show_progress:!0}},{path:"/music/genres",name:"Genres",component:iF,meta:{show_progress:!0,has_tabs:!0,has_index:!0}},{path:"/music/genres/:genre",name:"Genre",component:yF,meta:{show_progress:!0,has_index:!0}},{path:"/music/genres/:genre/tracks",name:"GenreTracks",component:DF,meta:{show_progress:!0,has_index:!0}},{path:"/music/composers",name:"Composers",component:OI,meta:{show_progress:!0,has_tabs:!0,has_index:!0}},{path:"/music/composers/:composer/albums",name:"ComposerAlbums",component:HI,meta:{show_progress:!0,has_tabs:!0,has_index:!0}},{path:"/music/composers/:composer/tracks",name:"ComposerTracks",component:sL,meta:{show_progress:!0,has_tabs:!0,has_index:!0}},{path:"/podcasts",name:"Podcasts",component:jL,meta:{show_progress:!0}},{path:"/podcasts/:album_id",name:"Podcast",component:tM,meta:{show_progress:!0}},{path:"/audiobooks",redirect:"/audiobooks/artists"},{path:"/audiobooks/artists",name:"AudiobooksArtists",component:SM,meta:{show_progress:!0,has_tabs:!0,has_index:!0}},{path:"/audiobooks/artists/:artist_id",name:"AudiobooksArtist",component:IM,meta:{show_progress:!0}},{path:"/audiobooks/albums",name:"AudiobooksAlbums",component:bM,meta:{show_progress:!0,has_tabs:!0,has_index:!0}},{path:"/audiobooks/:album_id",name:"Audiobook",component:GM,meta:{show_progress:!0}},{path:"/radio",name:"Radio",component:TR,meta:{show_progress:!0}},{path:"/files",name:"Files",component:kR,meta:{show_progress:!0}},{path:"/playlists",redirect:"/playlists/0"},{path:"/playlists/:playlist_id",name:"Playlists",component:O7,meta:{show_progress:!0}},{path:"/playlists/:playlist_id/tracks",name:"Playlist",component:j7,meta:{show_progress:!0}},{path:"/search",redirect:"/search/library"},{path:"/search/library",name:"Search Library",component:B9},{path:"/music/spotify",name:"Spotify",component:lV,meta:{show_progress:!0,has_tabs:!0}},{path:"/music/spotify/new-releases",name:"Spotify Browse New Releases",component:_V,meta:{show_progress:!0,has_tabs:!0}},{path:"/music/spotify/featured-playlists",name:"Spotify Browse Featured Playlists",component:zV,meta:{show_progress:!0,has_tabs:!0}},{path:"/music/spotify/artists/:artist_id",name:"Spotify Artist",component:rB,meta:{show_progress:!0}},{path:"/music/spotify/albums/:album_id",name:"Spotify Album",component:nH,meta:{show_progress:!0}},{path:"/music/spotify/playlists/:playlist_id",name:"Spotify Playlist",component:pH,meta:{show_progress:!0}},{path:"/search/spotify",name:"Spotify Search",component:dU},{path:"/settings/webinterface",name:"Settings Webinterface",component:Sq},{path:"/settings/artwork",name:"Settings Artwork",component:Bq},{path:"/settings/online-services",name:"Settings Online Services",component:PW},{path:"/settings/remotes-outputs",name:"Settings Remotes Outputs",component:iG}],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}}});x1.beforeEach((e,t,n)=>{if(it.state.show_burger_menu){it.commit(go,!1),n(!1);return}if(it.state.show_player_menu){it.commit(yo,!1),n(!1);return}n(!0)});var Od={},aG={get exports(){return Od},set exports(e){Od=e}};(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,m=/@([^@]*):(\d+):(\d+)\s*$/ig,f=c.exec(z.stack)||m.exec(z.stack),d=f&&f[1]||!1,p=f&&f[2]||!1,h=document.location.href.replace(document.location.hash,""),_,g,b,w=document.getElementsByTagName("script");d===h&&(_=document.documentElement.outerHTML,g=new RegExp("(?:[^\\n]+?\\n){0,"+(p-2)+"}[^<]*<script>([\\d\\D]*?)<\\/script>[\\d\\D]*","i"),b=_.replace(g,"$1").trim());for(var x=0;x<w.length;x++)if(w[x].readyState==="interactive"||w[x].src===d||d===h&&w[x].innerHTML&&w[x].innerHTML.trim()===b)return w[x];return null}}return a})},"8bbf":function(t,n){t.exports=Nm},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,_,g,b,w,x){return Object(a.openBlock)(),Object(a.createBlock)("div",{style:b.finalStyle},null,4)}var c=typeof window<"u",m={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}},g=Object(a.computed)(function(){var b=_.options,w=!!b.show,x=b.location,z={"z-index":999999,"background-color":b.canSuccess?b.color:b.failedColor,opacity:b.show?1:0,position:b.position};return x==="top"||x==="bottom"?(x==="top"?z.top="0px":z.bottom="0px",b.inverse?z.right="0px":z.left="0px",z.width=_.percent+"%",z.height=b.thickness,z.transition=(w?"width "+b.transition.speed+", ":"")+"opacity "+b.transition.opacity):(x==="left"||x==="right")&&(x==="left"?z.left="0px":z.right="0px",b.inverse?z.top="0px":z.bottom="0px",z.height=_.percent+"%",z.width=b.thickness,z.transition=(w?"height "+b.transition.speed+", ":"")+"opacity "+b.transition.opacity),z});return{progress:_,finalStyle:g}}};m.render=l;var f=m;function d(h,_){for(var g=1,b,w;g<arguments.length;++g){w=arguments[g];for(b in w)Object.prototype.hasOwnProperty.call(w,b)&&(h[b]=w[b])}return h}var p={install:function(_,g){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},w=d(b,g),x=Object(a.reactive)({percent:0,options:w});_.provide("RADON_LOADING_BAR",x);var z={state:{tFailColor:"",tColor:"",timer:null,cut:0},start:function(T){var j=this;T||(T=3e3),x.percent=0,x.options.show=!0,x.options.canSuccess=!0,this.state.cut=1e4/Math.floor(T),clearInterval(this.state.timer),this.state.timer=setInterval(function(){j.increase(j.state.cut*Math.random()),x.percent>95&&x.options.autoFinish&&j.finish()},100)},set:function(T){x.options.show=!0,x.options.canSuccess=!0,x.percent=Math.floor(T)},get:function(){return Math.floor(x.percent)},increase:function(T){x.percent=Math.min(99,x.percent+Math.floor(T))},decrease:function(T){x.percent=x.percent-Math.floor(T)},hide:function(){var T=this;clearInterval(this.state.timer),this.state.timer=null,setTimeout(function(){x.options.show=!1,Object(a.nextTick)(function(){setTimeout(function(){x.percent=0},100),x.options.autoRevert&&setTimeout(function(){T.revert()},300)})},x.options.transition.termination)},pause:function(){clearInterval(this.state.timer)},finish:function(){x.percent=100,this.hide()},fail:function(){x.options.canSuccess=!1,x.percent=100,this.hide()},setFailColor:function(T){x.options.failedColor=T},setColor:function(T){x.options.color=T},setLocation:function(T){x.options.location=T},setTransition:function(T){x.options.transition=T},tempFailColor:function(T){this.state.tFailColor=x.options.failedColor,x.options.failedColor=T},tempColor:function(T){this.state.tColor=x.options.color,x.options.color=T},tempLocation:function(T){this.state.tLocation=x.options.location,x.options.location=T},tempTransition:function(T){this.state.tTransition=x.options.transition,x.options.transition=T},revertColor:function(){x.options.color=this.state.tColor,this.state.tColor=""},revertFailColor:function(){x.options.failedColor=this.state.tFailColor,this.state.tFailColor=""},revertLocation:function(){x.options.location=this.state.tLocation,this.state.tLocation=""},revertTransition:function(){x.options.transition=this.state.tTransition,this.state.tTransition={}},revert:function(){x.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 j in T.func){var F=T.func[j];switch(F.call){case"color":switch(F.modifier){case"set":this.setColor(F.argument);break;case"temp":this.tempColor(F.argument);break}break;case"fail":switch(F.modifier){case"set":this.setFailColor(F.argument);break;case"temp":this.tempFailColor(F.argument);break}break;case"location":switch(F.modifier){case"set":this.setLocation(F.argument);break;case"temp":this.tempLocation(F.argument);break}break;case"transition":switch(F.modifier){case"set":this.setTransition(F.argument);break;case"temp":this.tempTransition(F.argument);break}break}}}};_.component("vue-progress-bar",f),_.config.globalProperties.$Progress=z}};n.default=p}})})(aG);const lG=Om(Od),k1=function(){return document.ontouchstart!==null?"click":"touchstart"},Ll="__vue_click_away__",S1=function(e,t,n){E1(e);let r=n.context,s=t.value,o=!1;setTimeout(function(){o=!0},0),e[Ll]=function(i){if((!e||!e.contains(i.target))&&s&&o&&typeof s=="function")return s.call(r,i)},document.addEventListener(k1(),e[Ll],!1)},E1=function(e){document.removeEventListener(k1(),e[Ll],!1),delete e[Ll]},uG=function(e,t,n){t.value!==t.oldValue&&S1(e,t,n)},cG={install:function(e){e.directive("click-away",dG)}},dG={mounted:S1,updated:uG,unmounted:E1};var lr=(e=>(e.LOADING="loading",e.LOADED="loaded",e.ERROR="error",e))(lr||{});const mG=typeof window<"u"&&window!==null,fG=gG(),pG=Object.prototype.propertyIsEnumerable,Qh=Object.getOwnPropertySymbols;function wi(e){return typeof e=="function"||toString.call(e)==="[object Object]"}function hG(e){return typeof e=="object"?e===null:typeof e!="function"}function _G(e){return e!=="__proto__"&&e!=="constructor"&&e!=="prototype"}function gG(){return mG&&"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 yG(e,...t){if(!wi(e))throw new TypeError("expected the first argument to be an object");if(t.length===0||typeof Symbol!="function"||typeof Qh!="function")return e;for(const n of t){const r=Qh(n);for(const s of r)pG.call(n,s)&&(e[s]=n[s])}return e}function $1(e,...t){let n=0;for(hG(e)&&(e=t[n++]),e||(e={});n<t.length;n++)if(wi(t[n])){for(const r of Object.keys(t[n]))_G(r)&&(wi(e[r])&&wi(t[n][r])?$1(e[r],t[n][r]):e[r]=t[n][r]);yG(e,t[n])}return e}const e_="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",vG="",bG={rootMargin:"0px",threshold:0},Gs="data-lazy-timeout-id";class wG{constructor(t){this.options={loading:e_,error:vG,observerOptions:bG,log:!0,lifecycle:{}},this._images=new WeakMap,this.config(t)}config(t={}){$1(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(lr.LOADING,i,t),t.setAttribute("src",s||e_),fG||(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(lr.LOADED,s,t)},()=>{var o;t.onload=null,this._lifecycle(lr.ERROR,s,t),(o=this._realObserver(t))==null||o.disconnect(),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(Gs))return;const a=setTimeout(()=>{this._intersectionCallback(t,n,s,o,i),n.target.removeAttribute(Gs)},r);n.target.setAttribute(Gs,String(a))}else n.target.hasAttribute(Gs)&&(clearTimeout(Number(n.target.getAttribute(Gs))),n.target.removeAttribute(Gs))}_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 wi(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 lr.LOADING:r==null||r.setAttribute("lazy",lr.LOADING),n!=null&&n.loading&&n.loading(r);break;case lr.LOADED:r==null||r.setAttribute("lazy",lr.LOADED),n!=null&&n.loaded&&n.loaded(r);break;case lr.ERROR:r==null||r.setAttribute("lazy",lr.ERROR),n!=null&&n.error&&n.error(r);break}}_realObserver(t){return this._images.get(t)}}const CG={install(e,t){const n=new wG(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 Pd={},zG={get exports(){return Pd},set exports(e){Pd=e}};/*!
|
||
* vue-scrollto v2.20.0
|
||
* (c) 2019 Randjelovic Igor
|
||
* @license MIT
|
||
*/(function(e,t){(function(n,r){e.exports=r()})(on,function(){function n(he){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?n=function(X){return typeof X}:n=function(X){return X&&typeof Symbol=="function"&&X.constructor===Symbol&&X!==Symbol.prototype?"symbol":typeof X},n(he)}function r(){return r=Object.assign||function(he){for(var X=1;X<arguments.length;X++){var me=arguments[X];for(var we in me)Object.prototype.hasOwnProperty.call(me,we)&&(he[we]=me[we])}return he},r.apply(this,arguments)}var s=4,o=.001,i=1e-7,a=10,l=11,c=1/(l-1),m=typeof Float32Array=="function";function f(he,X){return 1-3*X+3*he}function d(he,X){return 3*X-6*he}function p(he){return 3*he}function h(he,X,me){return((f(X,me)*he+d(X,me))*he+p(X))*he}function _(he,X,me){return 3*f(X,me)*he*he+2*d(X,me)*he+p(X)}function g(he,X,me,we,U){var ie,se,be=0;do se=X+(me-X)/2,ie=h(se,we,U)-he,ie>0?me=se:X=se;while(Math.abs(ie)>i&&++be<a);return se}function b(he,X,me,we){for(var U=0;U<s;++U){var ie=_(X,me,we);if(ie===0)return X;var se=h(X,me,we)-he;X-=se/ie}return X}function w(he){return he}var x=function(X,me,we,U){if(!(0<=X&&X<=1&&0<=we&&we<=1))throw new Error("bezier x values must be in [0, 1] range");if(X===me&&we===U)return w;for(var ie=m?new Float32Array(l):new Array(l),se=0;se<l;++se)ie[se]=h(se*c,X,we);function be(Ve){for(var Ie=0,Ee=1,Ae=l-1;Ee!==Ae&&ie[Ee]<=Ve;++Ee)Ie+=c;--Ee;var $=(Ve-ie[Ee])/(ie[Ee+1]-ie[Ee]),R=Ie+$*c,Y=_(R,X,we);return Y>=o?b(Ve,R,X,we):Y===0?R:g(Ve,Ie,Ie+c,X,we)}return function(Ie){return Ie===0?0:Ie===1?1:h(be(Ie),me,U)}},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]},S=!1;try{var T=Object.defineProperty({},"passive",{get:function(){S=!0}});window.addEventListener("test",null,T)}catch{}var j={$:function(X){return typeof X!="string"?X:document.querySelector(X)},on:function(X,me,we){var U=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{passive:!1};me instanceof Array||(me=[me]);for(var ie=0;ie<me.length;ie++)X.addEventListener(me[ie],we,S?U:!1)},off:function(X,me,we){me instanceof Array||(me=[me]);for(var U=0;U<me.length;U++)X.removeEventListener(me[U],we)},cumulativeOffset:function(X){var me=0,we=0;do me+=X.offsetTop||0,we+=X.offsetLeft||0,X=X.offsetParent;while(X);return{top:me,left:we}}},F=["mousedown","wheel","DOMMouseScroll","mousewheel","keyup","touchmove"],A={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 M(he){A=r({},A,he)}var W=function(){var X,me,we,U,ie,se,be,Ve,Ie,Ee,Ae,$,R,Y,le,ce,ye,Ce,pe,V,q,$e,ze,De=function(de){Ve&&(ze=de,V=!0)},Ne,We,tt,k;function y(re){var de=re.scrollTop;return re.tagName.toLowerCase()==="body"&&(de=de||document.documentElement.scrollTop),de}function L(re){var de=re.scrollLeft;return re.tagName.toLowerCase()==="body"&&(de=de||document.documentElement.scrollLeft),de}function K(){q=j.cumulativeOffset(me),$e=j.cumulativeOffset(X),$&&(le=$e.left-q.left+se,Ce=le-Y),R&&(ye=$e.top-q.top+se,pe=ye-ce)}function ee(re){if(V)return fe();We||(We=re),ie||K(),tt=re-We,k=Math.min(tt/we,1),k=Ne(k),Se(me,ce+pe*k,Y+Ce*k),tt<we?window.requestAnimationFrame(ee):fe()}function fe(){V||Se(me,ye,le),We=!1,j.off(me,F,De),V&&Ae&&Ae(ze,X),!V&&Ee&&Ee(X)}function Se(re,de,te){R&&(re.scrollTop=de),$&&(re.scrollLeft=te),re.tagName.toLowerCase()==="body"&&(R&&(document.documentElement.scrollTop=de),$&&(document.documentElement.scrollLeft=te))}function Le(re,de){var te=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(n(de)==="object"?te=de:typeof de=="number"&&(te.duration=de),X=j.$(re),!X)return console.warn("[vue-scrollto warn]: Trying to scroll to an element that is not on the page: "+re);if(me=j.$(te.container||A.container),we=te.hasOwnProperty("duration")?te.duration:A.duration,ie=te.hasOwnProperty("lazy")?te.lazy:A.lazy,U=te.easing||A.easing,se=te.hasOwnProperty("offset")?te.offset:A.offset,be=te.hasOwnProperty("force")?te.force!==!1:A.force,Ve=te.hasOwnProperty("cancelable")?te.cancelable!==!1:A.cancelable,Ie=te.onStart||A.onStart,Ee=te.onDone||A.onDone,Ae=te.onCancel||A.onCancel,$=te.x===void 0?A.x:te.x,R=te.y===void 0?A.y:te.y,typeof se=="function"&&(se=se(X,me)),Y=L(me),ce=y(me),K(),V=!1,!be){var ae=me.tagName.toLowerCase()==="body"?document.documentElement.clientHeight||window.innerHeight:me.offsetHeight,je=ce,Ue=je+ae,ut=ye-se,hn=ut+X.offsetHeight;if(ut>=je&&hn<=Ue){Ee&&Ee(X);return}}if(Ie&&Ie(X),!pe&&!Ce){Ee&&Ee(X);return}return typeof U=="string"&&(U=z[U]||z.ease),Ne=x.apply(x,U),j.on(me,F,De,{passive:!0}),window.requestAnimationFrame(ee),function(){ze=null,V=!0}}return Le},I=W(),H=[];function B(he){for(var X=0;X<H.length;++X)if(H[X].el===he)return H.splice(X,1),!0;return!1}function oe(he){for(var X=0;X<H.length;++X)if(H[X].el===he)return H[X]}function J(he){var X=oe(he);return X||(H.push(X={el:he,binding:{}}),X)}function ue(he){var X=J(this).binding;if(X.value){if(he.preventDefault(),typeof X.value=="string")return I(X.value);I(X.value.el||X.value.element,X.value)}}var ge={bind:function(X,me){J(X).binding=me,j.on(X,"click",ue)},unbind:function(X){B(X),j.off(X,"click",ue)},update:function(X,me){J(X).binding=me}},Me={bind:ge.bind,unbind:ge.unbind,update:ge.update,beforeMount:ge.bind,unmounted:ge.unbind,updated:ge.update,scrollTo:I,bindings:H},He=function(X,me){me&&M(me),X.directive("scroll-to",Me);var we=X.config.globalProperties||X.prototype;we.$scrollTo=Me.scrollTo};return typeof window<"u"&&window.Vue&&(window.VueScrollTo=Me,window.VueScrollTo.setDefaults=M,window.VueScrollTo.scroller=W,window.Vue.use&&window.Vue.use(He)),Me.install=He,Me})})(zG);const xG=Pd;var kG="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",SG="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",EG="M13 14H11V9H13M13 18H11V16H13M1 21H23L12 2L1 21Z",$G="M19.92,12.08L12,20L4.08,12.08L5.5,10.67L11,16.17V2H13V16.17L18.5,10.66L19.92,12.08M12,20H2V22H22V20H12Z",AG="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",TG="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",OG="M9 3V18H12V3H9M12 5L16 18L19 17L15 4L12 5M5 5V18H8V5H5M3 19V21H21V19H3Z",PG="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",DG="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",FG="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",IG="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",LG="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",MG="M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z",RG="M7.41,8.58L12,13.17L16.59,8.58L18,10L12,16L6,10L7.41,8.58Z",NG="M7.41,15.41L12,10.83L16.59,15.41L18,14L12,8L6,14L7.41,15.41Z",jG="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",VG="M19,4H15.5L14.5,3H9.5L8.5,4H5V6H19M6,19A2,2 0 0,0 8,21H16A2,2 0 0,0 18,19V7H6V19Z",BG="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",HG="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",UG="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",qG="M3,15V13H5V15H3M3,11V9H5V11H3M7,15V13H9V15H7M7,11V9H9V11H7M11,15V13H13V15H11M11,11V9H13V11H11M15,15V13H17V15H15M15,11V9H17V11H15M19,15V13H21V15H19M19,11V9H21V11H19Z",WG="M13,6V18L21.5,12M4,18L12.5,12L4,6V18Z",GG="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",KG="M14,2H6A2,2 0 0,0 4,4V20A2,2 0 0,0 6,22H18A2,2 0 0,0 20,20V8L14,2M18,20H6V4H13V9H18V20Z",ZG="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",YG="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",JG="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",XG="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",QG="M3,6H21V8H3V6M3,11H21V13H3V11M3,16H21V18H3V16Z",eK="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",tK="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",nK="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",rK="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",sK="M14,19H18V5H14M6,19H10V5H6V19Z",oK="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",iK="M22,14H20V16H14V13H16V11H14V6A2,2 0 0,0 12,4H4V2H2V10H4V8H10V11H8V13H10V18A2,2 0 0,0 12,20H20V22H22",aK="M8,5.14V19.14L19,12.14L8,5.14Z",lK="M19,9H2V11H19V9M19,5H2V7H19V5M2,15H15V13H2V15M17,13V19L22,16L17,13Z",uK="M2,16H10V14H2M18,14V10H16V14H12V16H16V20H18V16H22V14M14,6H2V8H14M14,10H2V12H14V10Z",cK="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",dK="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",mK="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",fK="M17,17H7V14L3,18L7,22V19H19V13H17M7,7H17V10L21,6L17,2V5H5V11H7V7Z",pK="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",hK="M13,15V9H12L10,10V11H11.5V15M17,17H7V14L3,18L7,22V19H19V13H17M7,7H17V10L21,6L17,2V5H5V11H7V7Z",_K="M11.5,12L20,18V6M11,18V6L2.5,12L11,18Z",gK="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",yK="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",vK="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",bK="M16,4.5V7H5V9H16V11.5L19.5,8M16,12.5V15H5V17H16V19.5L19.5,16",wK="M20,5V19L13,12M6,5V19H4V5M13,5V19L6,12",CK="M4,5V19L11,12M18,5V19H20V5M11,5V19L18,12",zK="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",xK="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",kK="M18,18H6V6H18V18Z",SK="M11,9L12.42,10.42L8.83,14H18V4H20V16H8.83L12.42,19.58L11,21L5,15L11,9Z",EK="M14,3.23V5.29C16.89,6.15 19,8.83 19,12C19,15.17 16.89,17.84 14,18.7V20.77C18,19.86 21,16.28 21,12C21,7.72 18,4.14 14,3.23M16.5,12C16.5,10.23 15.5,8.71 14,7.97V16C15.5,15.29 16.5,13.76 16.5,12M3,9V15H7L12,20V4L7,9H3Z",$K="M12,4L9.91,6.09L12,8.18M4.27,3L3,4.27L7.73,9H3V15H7L12,20V13.27L16.25,17.53C15.58,18.04 14.83,18.46 14,18.7V20.77C15.38,20.45 16.63,19.82 17.68,18.96L19.73,21L21,19.73L12,10.73M19,12C19,12.94 18.8,13.82 18.46,14.64L19.97,16.15C20.62,14.91 21,13.5 21,12C21,7.72 18,4.14 14,3.23V5.29C16.89,6.15 19,8.83 19,12M16.5,12C16.5,10.23 15.5,8.71 14,7.97V10.18L16.45,12.63C16.5,12.43 16.5,12.21 16.5,12Z",AK="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 TK={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 OK=e=>e.charAt(0).toUpperCase()+e.slice(1),PK=e=>e.split("-").map(OK).join(""),DK=(e,t,n)=>{const r=e[`mdi${PK(t.name)}`]||EG,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}}},FK=(e,t)=>({[t.staticClass||""]:!0,[t.class||""]:!0,[`mdi mdi-${e.name}`]:!0,"mdi-spin":e.spin===!0}),IK=(e,t={})=>({install(n,{icons:r}){if(r===void 0)throw new Error("Icons must be provided separately");n.component("mdicon",{name:"MDIcon",props:TK,...t,render:e(r)})}}),LK=e=>function(){const{spanAttrs:n,svgAttrs:r,pathAttrs:s}=DK(e,this,this.$attrs);return Cn("span",{...n,class:FK(this,this)},[Cn("svg",r,[this.title?Cn("title",[this.title]):void 0,Cn("path",s)])])},MK=IK(LK);class Ls extends Error{}class RK extends Ls{constructor(t){super(`Invalid DateTime: ${t.toMessage()}`)}}class NK extends Ls{constructor(t){super(`Invalid Interval: ${t.toMessage()}`)}}class jK extends Ls{constructor(t){super(`Invalid Duration: ${t.toMessage()}`)}}class ti extends Ls{}class A1 extends Ls{constructor(t){super(`Invalid unit ${t}`)}}class Bn extends Ls{}class Rr extends Ls{constructor(){super("Zone is an abstract class")}}const Oe="numeric",sr="short",In="long",Dd={year:Oe,month:Oe,day:Oe},T1={year:Oe,month:sr,day:Oe},VK={year:Oe,month:sr,day:Oe,weekday:sr},O1={year:Oe,month:In,day:Oe},P1={year:Oe,month:In,day:Oe,weekday:In},D1={hour:Oe,minute:Oe},F1={hour:Oe,minute:Oe,second:Oe},I1={hour:Oe,minute:Oe,second:Oe,timeZoneName:sr},L1={hour:Oe,minute:Oe,second:Oe,timeZoneName:In},M1={hour:Oe,minute:Oe,hourCycle:"h23"},R1={hour:Oe,minute:Oe,second:Oe,hourCycle:"h23"},N1={hour:Oe,minute:Oe,second:Oe,hourCycle:"h23",timeZoneName:sr},j1={hour:Oe,minute:Oe,second:Oe,hourCycle:"h23",timeZoneName:In},V1={year:Oe,month:Oe,day:Oe,hour:Oe,minute:Oe},B1={year:Oe,month:Oe,day:Oe,hour:Oe,minute:Oe,second:Oe},H1={year:Oe,month:sr,day:Oe,hour:Oe,minute:Oe},U1={year:Oe,month:sr,day:Oe,hour:Oe,minute:Oe,second:Oe},BK={year:Oe,month:sr,day:Oe,weekday:sr,hour:Oe,minute:Oe},q1={year:Oe,month:In,day:Oe,hour:Oe,minute:Oe,timeZoneName:sr},W1={year:Oe,month:In,day:Oe,hour:Oe,minute:Oe,second:Oe,timeZoneName:sr},G1={year:Oe,month:In,day:Oe,weekday:In,hour:Oe,minute:Oe,timeZoneName:In},K1={year:Oe,month:In,day:Oe,weekday:In,hour:Oe,minute:Oe,second:Oe,timeZoneName:In};function ct(e){return typeof e>"u"}function xs(e){return typeof e=="number"}function Cu(e){return typeof e=="number"&&e%1===0}function HK(e){return typeof e=="string"}function UK(e){return Object.prototype.toString.call(e)==="[object Date]"}function Z1(){try{return typeof Intl<"u"&&!!Intl.RelativeTimeFormat}catch{return!1}}function qK(e){return Array.isArray(e)?e:[e]}function t_(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 WK(e,t){return t.reduce((n,r)=>(n[r]=e[r],n),{})}function xo(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function xr(e,t,n){return Cu(e)&&e>=t&&e<=n}function GK(e,t){return e-t*Math.floor(e/t)}function Ht(e,t=2){const n=e<0;let r;return n?r="-"+(""+-e).padStart(t,"0"):r=(""+e).padStart(t,"0"),r}function qr(e){if(!(ct(e)||e===null||e===""))return parseInt(e,10)}function ms(e){if(!(ct(e)||e===null||e===""))return parseFloat(e)}function sf(e){if(!(ct(e)||e===null||e==="")){const t=parseFloat("0."+e)*1e3;return Math.floor(t)}}function of(e,t,n=!1){const r=10**t;return(n?Math.trunc:Math.round)(e*r)/r}function Zi(e){return e%4===0&&(e%100!==0||e%400===0)}function Ci(e){return Zi(e)?366:365}function Ml(e,t){const n=GK(t-1,12)+1,r=e+(t-n)/12;return n===2?Zi(r)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][n-1]}function af(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(t.getUTCFullYear()-1900)),+t}function Rl(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 Fd(e){return e>99?e:e>60?1900+e:2e3+e}function Y1(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 zu(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 J1(e){const t=Number(e);if(typeof e=="boolean"||e===""||Number.isNaN(t))throw new Bn(`Invalid unit value ${e}`);return t}function Nl(e,t){const n={};for(const r in e)if(xo(e,r)){const s=e[r];if(s==null)continue;n[t(r)]=J1(s)}return n}function zi(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}${Ht(n,2)}:${Ht(r,2)}`;case"narrow":return`${s}${n}${r>0?`:${r}`:""}`;case"techie":return`${s}${Ht(n,2)}${Ht(r,2)}`;default:throw new RangeError(`Value format ${t} is out of range for property format`)}}function xu(e){return WK(e,["hour","minute","second","millisecond"])}const X1=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/,KK=["January","February","March","April","May","June","July","August","September","October","November","December"],Q1=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],ZK=["J","F","M","A","M","J","J","A","S","O","N","D"];function eb(e){switch(e){case"narrow":return[...ZK];case"short":return[...Q1];case"long":return[...KK];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 tb=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],nb=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],YK=["M","T","W","T","F","S","S"];function rb(e){switch(e){case"narrow":return[...YK];case"short":return[...nb];case"long":return[...tb];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}const sb=["AM","PM"],JK=["Before Christ","Anno Domini"],XK=["BC","AD"],QK=["B","A"];function ob(e){switch(e){case"narrow":return[...QK];case"short":return[...XK];case"long":return[...JK];default:return null}}function eZ(e){return sb[e.hour<12?0:1]}function tZ(e,t){return rb(t)[e.weekday-1]}function nZ(e,t){return eb(t)[e.month-1]}function rZ(e,t){return ob(t)[e.year<0?0:1]}function sZ(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],m=r?l?c[1]:c[2]||c[1]:l?s[e][0]:e;return i?`${a} ${m} ago`:`in ${a} ${m}`}function n_(e,t){let n="";for(const r of e)r.literal?n+=r.val:n+=t(r.val);return n}const oZ={D:Dd,DD:T1,DDD:O1,DDDD:P1,t:D1,tt:F1,ttt:I1,tttt:L1,T:M1,TT:R1,TTT:N1,TTTT:j1,f:V1,ff:H1,fff:q1,ffff:G1,F:B1,FF:U1,FFF:W1,FFFF:K1};class zn{static create(t,n={}){return new zn(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,val:r}),n=null,r="",s=!s):s||a===n?r+=a:(r.length>0&&o.push({literal:!1,val:r}),r=a,n=a)}return r.length>0&&o.push({literal:s,val:r}),o}static macroTokenToFormatOpts(t){return oZ[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()}resolvedOptions(t,n={}){return this.loc.dtFormatter(t,{...this.opts,...n}).resolvedOptions()}num(t,n=0){if(this.opts.forceSimple)return Ht(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?eZ(t):o({hour:"numeric",hourCycle:"h12"},"dayperiod"),l=(p,h)=>r?nZ(t,p):o(h?{month:p}:{month:p,day:"numeric"},"month"),c=(p,h)=>r?tZ(t,p):o(h?{weekday:p}:{weekday:p,month:"long",day:"numeric"},"weekday"),m=p=>{const h=zn.macroTokenToFormatOpts(p);return h?this.formatWithSystemDefault(t,h):p},f=p=>r?rZ(t,p):o({era:p},"era"),d=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 m(p)}};return n_(zn.parseFormat(n),d)}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 m=r(c);return m?this.num(l.get(m),c.length):c},o=zn.parseFormat(n),i=o.reduce((l,{literal:c,val:m})=>c?l:l.concat(m),[]),a=t.shiftTo(...i.map(r).filter(l=>l));return n_(o,s(a))}}class tr{constructor(t,n){this.reason=t,this.explanation=n}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:this.reason}}class Yi{get type(){throw new Rr}get name(){throw new Rr}get ianaName(){return this.name}get isUniversal(){throw new Rr}offsetName(t,n){throw new Rr}formatOffset(t,n){throw new Rr}offset(t){throw new Rr}equals(t){throw new Rr}get isValid(){throw new Rr}}let zc=null;class lf extends Yi{static get instance(){return zc===null&&(zc=new lf),zc}get type(){return"system"}get name(){return new Intl.DateTimeFormat().resolvedOptions().timeZone}get isUniversal(){return!1}offsetName(t,{format:n,locale:r}){return Y1(t,n,r)}formatOffset(t,n){return zi(this.offset(t),n)}offset(t){return-new Date(t).getTimezoneOffset()}equals(t){return t.type==="system"}get isValid(){return!0}}let ml={};function iZ(e){return ml[e]||(ml[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"})),ml[e]}const aZ={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};function lZ(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,m]=r;return[i,s,o,a,l,c,m]}function uZ(e,t){const n=e.formatToParts(t),r=[];for(let s=0;s<n.length;s++){const{type:o,value:i}=n[s],a=aZ[o];o==="era"?r[a]=i:ct(a)||(r[a]=parseInt(i,10))}return r}let Ja={};class $r extends Yi{static create(t){return Ja[t]||(Ja[t]=new $r(t)),Ja[t]}static resetCache(){Ja={},ml={}}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=$r.isValidZone(t)}get type(){return"iana"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(t,{format:n,locale:r}){return Y1(t,n,r,this.name)}formatOffset(t,n){return zi(this.offset(t),n)}offset(t){const n=new Date(t);if(isNaN(n))return NaN;const r=iZ(this.name);let[s,o,i,a,l,c,m]=r.formatToParts?uZ(r,n):lZ(r,n);a==="BC"&&(s=-Math.abs(s)+1);const d=af({year:s,month:o,day:i,hour:l===24?0:l,minute:c,second:m,millisecond:0});let p=+n;const h=p%1e3;return p-=h>=0?h:1e3+h,(d-p)/(60*1e3)}equals(t){return t.type==="iana"&&t.name===this.name}get isValid(){return this.valid}}let xc=null;class mn extends Yi{static get utcInstance(){return xc===null&&(xc=new mn(0)),xc}static instance(t){return t===0?mn.utcInstance:new mn(t)}static parseSpecifier(t){if(t){const n=t.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(n)return new mn(zu(n[1],n[2]))}return null}constructor(t){super(),this.fixed=t}get type(){return"fixed"}get name(){return this.fixed===0?"UTC":`UTC${zi(this.fixed,"narrow")}`}get ianaName(){return this.fixed===0?"Etc/UTC":`Etc/GMT${zi(-this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(t,n){return zi(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 cZ extends Yi{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 Gr(e,t){if(ct(e)||e===null)return t;if(e instanceof Yi)return e;if(HK(e)){const n=e.toLowerCase();return n==="local"||n==="system"?t:n==="utc"||n==="gmt"?mn.utcInstance:mn.parseSpecifier(n)||$r.create(e)}else return xs(e)?mn.instance(e):typeof e=="object"&&e.offset&&typeof e.offset=="number"?e:new cZ(e)}let r_=()=>Date.now(),s_="system",o_=null,i_=null,a_=null,l_;class Gt{static get now(){return r_}static set now(t){r_=t}static set defaultZone(t){s_=t}static get defaultZone(){return Gr(s_,lf.instance)}static get defaultLocale(){return o_}static set defaultLocale(t){o_=t}static get defaultNumberingSystem(){return i_}static set defaultNumberingSystem(t){i_=t}static get defaultOutputCalendar(){return a_}static set defaultOutputCalendar(t){a_=t}static get throwOnInvalid(){return l_}static set throwOnInvalid(t){l_=t}static resetCaches(){$t.resetCache(),$r.resetCache()}}let u_={};function dZ(e,t={}){const n=JSON.stringify([e,t]);let r=u_[n];return r||(r=new Intl.ListFormat(e,t),u_[n]=r),r}let Id={};function Ld(e,t={}){const n=JSON.stringify([e,t]);let r=Id[n];return r||(r=new Intl.DateTimeFormat(e,t),Id[n]=r),r}let Md={};function mZ(e,t={}){const n=JSON.stringify([e,t]);let r=Md[n];return r||(r=new Intl.NumberFormat(e,t),Md[n]=r),r}let Rd={};function fZ(e,t={}){const{base:n,...r}=t,s=JSON.stringify([e,r]);let o=Rd[s];return o||(o=new Intl.RelativeTimeFormat(e,t),Rd[s]=o),o}let ni=null;function pZ(){return ni||(ni=new Intl.DateTimeFormat().resolvedOptions().locale,ni)}function hZ(e){const t=e.indexOf("-u-");if(t===-1)return[e];{let n;const r=e.substring(0,t);try{n=Ld(e).resolvedOptions()}catch{n=Ld(r).resolvedOptions()}const{numberingSystem:s,calendar:o}=n;return[r,s,o]}}function _Z(e,t,n){return(n||t)&&(e+="-u",n&&(e+=`-ca-${n}`),t&&(e+=`-nu-${t}`)),e}function gZ(e){const t=[];for(let n=1;n<=12;n++){const r=Qe.utc(2016,n,1);t.push(e(r))}return t}function yZ(e){const t=[];for(let n=1;n<=7;n++){const r=Qe.utc(2016,11,13+n);t.push(e(r))}return t}function Xa(e,t,n,r,s){const o=e.listingMode(n);return o==="error"?null:o==="en"?r(t):s(t)}function vZ(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 bZ{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=mZ(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):of(t,3);return Ht(n,this.padTo)}}}class wZ{constructor(t,n,r){this.opts=r;let s;if(t.zone.isUniversal){const i=-1*(t.offset/60),a=i>=0?`Etc/GMT+${i}`:`Etc/GMT${i}`;t.offset!==0&&$r.create(a).valid?(s=a,this.dt=t):(s="UTC",r.timeZoneName?this.dt=t:this.dt=t.offset===0?t:Qe.fromMillis(t.ts+t.offset*60*1e3))}else t.zone.type==="system"?this.dt=t:(this.dt=t,s=t.zone.name);const o={...this.opts};s&&(o.timeZone=s),this.dtf=Ld(n,o)}format(){return this.dtf.format(this.dt.toJSDate())}formatToParts(){return this.dtf.formatToParts(this.dt.toJSDate())}resolvedOptions(){return this.dtf.resolvedOptions()}}class CZ{constructor(t,n,r){this.opts={style:"long",...r},!n&&Z1()&&(this.rtf=fZ(t,r))}format(t,n){return this.rtf?this.rtf.format(t,n):sZ(n,t,this.opts.numeric,this.opts.style!=="long")}formatToParts(t,n){return this.rtf?this.rtf.formatToParts(t,n):[]}}class $t{static fromOpts(t){return $t.create(t.locale,t.numberingSystem,t.outputCalendar,t.defaultToEN)}static create(t,n,r,s=!1){const o=t||Gt.defaultLocale,i=o||(s?"en-US":pZ()),a=n||Gt.defaultNumberingSystem,l=r||Gt.defaultOutputCalendar;return new $t(i,a,l,o)}static resetCache(){ni=null,Id={},Md={},Rd={}}static fromObject({locale:t,numberingSystem:n,outputCalendar:r}={}){return $t.create(t,n,r)}constructor(t,n,r,s){const[o,i,a]=hZ(t);this.locale=o,this.numberingSystem=n||i||null,this.outputCalendar=r||a||null,this.intl=_Z(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=vZ(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:$t.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 Xa(this,t,r,eb,()=>{const s=n?{month:t,day:"numeric"}:{month:t},o=n?"format":"standalone";return this.monthsCache[o][t]||(this.monthsCache[o][t]=gZ(i=>this.extract(i,s,"month"))),this.monthsCache[o][t]})}weekdays(t,n=!1,r=!0){return Xa(this,t,r,rb,()=>{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]=yZ(i=>this.extract(i,s,"weekday"))),this.weekdaysCache[o][t]})}meridiems(t=!0){return Xa(this,void 0,t,()=>sb,()=>{if(!this.meridiemCache){const n={hour:"numeric",hourCycle:"h12"};this.meridiemCache=[Qe.utc(2016,11,13,9),Qe.utc(2016,11,13,19)].map(r=>this.extract(r,n,"dayperiod"))}return this.meridiemCache})}eras(t,n=!0){return Xa(this,t,n,ob,()=>{const r={era:t};return this.eraCache[t]||(this.eraCache[t]=[Qe.utc(-40,1,1),Qe.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 bZ(this.intl,t.forceSimple||this.fastNumbers,t)}dtFormatter(t,n={}){return new wZ(t,this.intl,n)}relFormatter(t={}){return new CZ(this.intl,this.isEnglish(),t)}listFormatter(t={}){return dZ(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}}function To(...e){const t=e.reduce((n,r)=>n+r.source,"");return RegExp(`^${t}$`)}function Oo(...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 Po(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 ib(...e){return(t,n)=>{const r={};let s;for(s=0;s<e.length;s++)r[e[s]]=qr(t[n+s]);return[r,null,n+s]}}const ab=/(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/,zZ=`(?:${ab.source}?(?:\\[(${X1.source})\\])?)?`,uf=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,lb=RegExp(`${uf.source}${zZ}`),cf=RegExp(`(?:T${lb.source})?`),xZ=/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,kZ=/(\d{4})-?W(\d\d)(?:-?(\d))?/,SZ=/(\d{4})-?(\d{3})/,EZ=ib("weekYear","weekNumber","weekDay"),$Z=ib("year","ordinal"),AZ=/(\d{4})-(\d\d)-(\d\d)/,ub=RegExp(`${uf.source} ?(?:${ab.source}|(${X1.source}))?`),TZ=RegExp(`(?: ${ub.source})?`);function uo(e,t,n){const r=e[t];return ct(r)?n:qr(r)}function OZ(e,t){return[{year:uo(e,t),month:uo(e,t+1,1),day:uo(e,t+2,1)},null,t+3]}function Do(e,t){return[{hours:uo(e,t,0),minutes:uo(e,t+1,0),seconds:uo(e,t+2,0),milliseconds:sf(e[t+3])},null,t+4]}function Ji(e,t){const n=!e[t]&&!e[t+1],r=zu(e[t+1],e[t+2]),s=n?null:mn.instance(r);return[{},s,t+3]}function Xi(e,t){const n=e[t]?$r.create(e[t]):null;return[{},n,t+1]}const PZ=RegExp(`^T?${uf.source}$`),DZ=/^-?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 FZ(e){const[t,n,r,s,o,i,a,l,c]=e,m=t[0]==="-",f=l&&l[0]==="-",d=(p,h=!1)=>p!==void 0&&(h||p&&m)?-p:p;return[{years:d(ms(n)),months:d(ms(r)),weeks:d(ms(s)),days:d(ms(o)),hours:d(ms(i)),minutes:d(ms(a)),seconds:d(ms(l),l==="-0"),milliseconds:d(sf(c),f)}]}const IZ={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 df(e,t,n,r,s,o,i){const a={year:t.length===2?Fd(qr(t)):qr(t),month:Q1.indexOf(n)+1,day:qr(r),hour:qr(s),minute:qr(o)};return i&&(a.second=qr(i)),e&&(a.weekday=e.length>3?tb.indexOf(e)+1:nb.indexOf(e)+1),a}const LZ=/^(?:(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 MZ(e){const[,t,n,r,s,o,i,a,l,c,m,f]=e,d=df(t,s,r,n,o,i,a);let p;return l?p=IZ[l]:c?p=0:p=zu(m,f),[d,new mn(p)]}function RZ(e){return e.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}const NZ=/^(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$/,jZ=/^(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$/,VZ=/^(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 c_(e){const[,t,n,r,s,o,i,a]=e;return[df(t,s,r,n,o,i,a),mn.utcInstance]}function BZ(e){const[,t,n,r,s,o,i,a]=e;return[df(t,a,n,r,s,o,i),mn.utcInstance]}const HZ=To(xZ,cf),UZ=To(kZ,cf),qZ=To(SZ,cf),WZ=To(lb),cb=Oo(OZ,Do,Ji,Xi),GZ=Oo(EZ,Do,Ji,Xi),KZ=Oo($Z,Do,Ji,Xi),ZZ=Oo(Do,Ji,Xi);function YZ(e){return Po(e,[HZ,cb],[UZ,GZ],[qZ,KZ],[WZ,ZZ])}function JZ(e){return Po(RZ(e),[LZ,MZ])}function XZ(e){return Po(e,[NZ,c_],[jZ,c_],[VZ,BZ])}function QZ(e){return Po(e,[DZ,FZ])}const eY=Oo(Do);function tY(e){return Po(e,[PZ,eY])}const nY=To(AZ,TZ),rY=To(ub),sY=Oo(Do,Ji,Xi);function oY(e){return Po(e,[nY,cb],[rY,sY])}const iY="Invalid Duration",db={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}},aY={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},...db},Vn=146097/400,Ks=146097/4800,lY={years:{quarters:4,months:12,weeks:Vn/7,days:Vn,hours:Vn*24,minutes:Vn*24*60,seconds:Vn*24*60*60,milliseconds:Vn*24*60*60*1e3},quarters:{months:3,weeks:Vn/28,days:Vn/4,hours:Vn*24/4,minutes:Vn*24*60/4,seconds:Vn*24*60*60/4,milliseconds:Vn*24*60*60*1e3/4},months:{weeks:Ks/7,days:Ks,hours:Ks*24,minutes:Ks*24*60,seconds:Ks*24*60*60,milliseconds:Ks*24*60*60*1e3},...db},_s=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],uY=_s.slice(0).reverse();function fs(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};return new ot(r)}function cY(e){return e<0?Math.floor(e):Math.ceil(e)}function mb(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?cY(i):Math.trunc(i);r[s]+=l,t[n]-=l*o}function dY(e,t){uY.reduce((n,r)=>ct(t[r])?n:(n&&mb(e,t,n,t,r),r),null)}class ot{constructor(t){const n=t.conversionAccuracy==="longterm"||!1;this.values=t.values,this.loc=t.loc||$t.create(),this.conversionAccuracy=n?"longterm":"casual",this.invalid=t.invalid||null,this.matrix=n?lY:aY,this.isLuxonDuration=!0}static fromMillis(t,n){return ot.fromObject({milliseconds:t},n)}static fromObject(t,n={}){if(t==null||typeof t!="object")throw new Bn(`Duration.fromObject: argument expected to be an object, got ${t===null?"null":typeof t}`);return new ot({values:Nl(t,ot.normalizeUnit),loc:$t.fromObject(n),conversionAccuracy:n.conversionAccuracy})}static fromDurationLike(t){if(xs(t))return ot.fromMillis(t);if(ot.isDuration(t))return t;if(typeof t=="object")return ot.fromObject(t);throw new Bn(`Unknown duration argument ${t} of type ${typeof t}`)}static fromISO(t,n){const[r]=QZ(t);return r?ot.fromObject(r,n):ot.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static fromISOTime(t,n){const[r]=tY(t);return r?ot.fromObject(r,n):ot.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static invalid(t,n=null){if(!t)throw new Bn("need to specify a reason the Duration is invalid");const r=t instanceof tr?t:new tr(t,n);if(Gt.throwOnInvalid)throw new jK(r);return new ot({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 A1(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?zn.create(this.loc,r).formatDurationFromString(this,t):iY}toHuman(t={}){const n=_s.map(r=>{const s=this.values[r];return ct(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+=of(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=ot.fromDurationLike(t),r={};for(const s of _s)(xo(n.values,s)||xo(this.values,s))&&(r[s]=n.get(s)+this.get(s));return fs(this,{values:r},!0)}minus(t){if(!this.isValid)return this;const n=ot.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]=J1(t(this.values[r],r));return fs(this,{values:n},!0)}get(t){return this[ot.normalizeUnit(t)]}set(t){if(!this.isValid)return this;const n={...this.values,...Nl(t,ot.normalizeUnit)};return fs(this,{values:n})}reconfigure({locale:t,numberingSystem:n,conversionAccuracy:r}={}){const s=this.loc.clone({locale:t,numberingSystem:n}),o={loc:s};return r&&(o.conversionAccuracy=r),fs(this,o)}as(t){return this.isValid?this.shiftTo(t).get(t):NaN}normalize(){if(!this.isValid)return this;const t=this.toObject();return dY(this.matrix,t),fs(this,{values:t},!0)}shiftTo(...t){if(!this.isValid)return this;if(t.length===0)return this;t=t.map(i=>ot.normalizeUnit(i));const n={},r={},s=this.toObject();let o;for(const i of _s)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;xs(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)_s.indexOf(c)>_s.indexOf(i)&&mb(this.matrix,s,c,n,i)}else xs(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 fs(this,{values:n},!0).normalize()}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 fs(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 _s)if(!n(this.values[r],t.values[r]))return!1;return!0}}const Ho="Invalid Interval";function mY(e,t){return!e||!e.isValid?Ft.invalid("missing or invalid start"):!t||!t.isValid?Ft.invalid("missing or invalid end"):t<e?Ft.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 Ft{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 Bn("need to specify a reason the Interval is invalid");const r=t instanceof tr?t:new tr(t,n);if(Gt.throwOnInvalid)throw new NK(r);return new Ft({invalid:r})}static fromDateTimes(t,n){const r=Wo(t),s=Wo(n),o=mY(r,s);return o??new Ft({start:r,end:s})}static after(t,n){const r=ot.fromDurationLike(n),s=Wo(t);return Ft.fromDateTimes(s,s.plus(r))}static before(t,n){const r=ot.fromDurationLike(n),s=Wo(t);return Ft.fromDateTimes(s.minus(r),s)}static fromISO(t,n){const[r,s]=(t||"").split("/",2);if(r&&s){let o,i;try{o=Qe.fromISO(r,n),i=o.isValid}catch{i=!1}let a,l;try{a=Qe.fromISO(s,n),l=a.isValid}catch{l=!1}if(i&&l)return Ft.fromDateTimes(o,a);if(i){const c=ot.fromISO(s,n);if(c.isValid)return Ft.after(o,c)}else if(l){const c=ot.fromISO(r,n);if(c.isValid)return Ft.before(a,c)}}return Ft.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))+1}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?Ft.fromDateTimes(t||this.s,n||this.e):this}splitAt(...t){if(!this.isValid)return[];const n=t.map(Wo).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(Ft.fromDateTimes(s,a)),s=a,o+=1}return r}splitBy(t){const n=ot.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(Ft.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:Ft.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 Ft.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(Ft.fromDateTimes(n,l.time)),n=null);return Ft.merge(s)}difference(...t){return Ft.xor([this].concat(t)).map(n=>this.intersection(n)).filter(n=>n&&!n.isEmpty())}toString(){return this.isValid?`[${this.s.toISO()} – ${this.e.toISO()})`:Ho}toISO(t){return this.isValid?`${this.s.toISO(t)}/${this.e.toISO(t)}`:Ho}toISODate(){return this.isValid?`${this.s.toISODate()}/${this.e.toISODate()}`:Ho}toISOTime(t){return this.isValid?`${this.s.toISOTime(t)}/${this.e.toISOTime(t)}`:Ho}toFormat(t,{separator:n=" – "}={}){return this.isValid?`${this.s.toFormat(t)}${n}${this.e.toFormat(t)}`:Ho}toDuration(t,n){return this.isValid?this.e.diff(this.s,t,n):ot.invalid(this.invalidReason)}mapEndpoints(t){return Ft.fromDateTimes(t(this.s),t(this.e))}}class Qa{static hasDST(t=Gt.defaultZone){const n=Qe.now().setZone(t).set({month:12});return!t.isUniversal&&n.offset!==n.set({month:6}).offset}static isValidIANAZone(t){return $r.isValidZone(t)}static normalizeZone(t){return Gr(t,Gt.defaultZone)}static months(t="long",{locale:n=null,numberingSystem:r=null,locObj:s=null,outputCalendar:o="gregory"}={}){return(s||$t.create(n,r,o)).months(t)}static monthsFormat(t="long",{locale:n=null,numberingSystem:r=null,locObj:s=null,outputCalendar:o="gregory"}={}){return(s||$t.create(n,r,o)).months(t,!0)}static weekdays(t="long",{locale:n=null,numberingSystem:r=null,locObj:s=null}={}){return(s||$t.create(n,r,null)).weekdays(t)}static weekdaysFormat(t="long",{locale:n=null,numberingSystem:r=null,locObj:s=null}={}){return(s||$t.create(n,r,null)).weekdays(t,!0)}static meridiems({locale:t=null}={}){return $t.create(t).meridiems()}static eras(t="short",{locale:n=null}={}){return $t.create(n,null,"gregory").eras(t)}static features(){return{relative:Z1()}}}function d_(e,t){const n=s=>s.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf(),r=n(t)-n(e);return Math.floor(ot.fromMillis(r).as("days"))}function fY(e,t,n){const r=[["years",(a,l)=>l.year-a.year],["quarters",(a,l)=>l.quarter-a.quarter],["months",(a,l)=>l.month-a.month+(l.year-a.year)*12],["weeks",(a,l)=>{const c=d_(a,l);return(c-c%7)/7}],["days",d_]],s={};let o,i;for(const[a,l]of r)if(n.indexOf(a)>=0){o=a;let c=l(e,t);i=e.plus({[a]:c}),i>t?(e=e.plus({[a]:c-1}),c-=1):e=i,s[a]=c}return[e,s,i,o]}function pY(e,t,n,r){let[s,o,i,a]=fY(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 m=ot.fromObject(o,r);return c.length>0?ot.fromMillis(l,r).shiftTo(...c).plus(m):m}const mf={arab:"[٠-٩]",arabext:"[۰-۹]",bali:"[᭐-᭙]",beng:"[০-৯]",deva:"[०-९]",fullwide:"[0-9]",gujr:"[૦-૯]",hanidec:"[〇|一|二|三|四|五|六|七|八|九]",khmr:"[០-៩]",knda:"[೦-೯]",laoo:"[໐-໙]",limb:"[᥆-᥏]",mlym:"[൦-൯]",mong:"[᠐-᠙]",mymr:"[၀-၉]",orya:"[୦-୯]",tamldec:"[௦-௯]",telu:"[౦-౯]",thai:"[๐-๙]",tibt:"[༠-༩]",latn:"\\d"},m_={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]},hY=mf.hanidec.replace(/[\[|\]]/g,"").split("");function _Y(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(mf.hanidec)!==-1)t+=hY.indexOf(e[n]);else for(const s in m_){const[o,i]=m_[s];r>=o&&r<=i&&(t+=r-o)}}return parseInt(t,10)}else return t}function Jn({numberingSystem:e},t=""){return new RegExp(`${mf[e||"latn"]}${t}`)}const gY="missing Intl.DateTimeFormat.formatToParts support";function _t(e,t=n=>n){return{regex:e,deser:([n])=>t(_Y(n))}}const yY=String.fromCharCode(160),fb=`[ ${yY}]`,pb=new RegExp(fb,"g");function vY(e){return e.replace(/\./g,"\\.?").replace(pb,fb)}function f_(e){return e.replace(/\./g,"").replace(pb," ").toLowerCase()}function Xn(e,t){return e===null?null:{regex:RegExp(e.map(vY).join("|")),deser:([n])=>e.findIndex(r=>f_(n)===f_(r))+t}}function p_(e,t){return{regex:e,deser:([,n,r])=>zu(n,r),groups:t}}function kc(e){return{regex:e,deser:([t])=>t}}function bY(e){return e.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")}function wY(e,t){const n=Jn(t),r=Jn(t,"{2}"),s=Jn(t,"{3}"),o=Jn(t,"{4}"),i=Jn(t,"{6}"),a=Jn(t,"{1,2}"),l=Jn(t,"{1,3}"),c=Jn(t,"{1,6}"),m=Jn(t,"{1,9}"),f=Jn(t,"{2,4}"),d=Jn(t,"{4,6}"),p=g=>({regex:RegExp(bY(g.val)),deser:([b])=>b,literal:!0}),_=(g=>{if(e.literal)return p(g);switch(g.val){case"G":return Xn(t.eras("short",!1),0);case"GG":return Xn(t.eras("long",!1),0);case"y":return _t(c);case"yy":return _t(f,Fd);case"yyyy":return _t(o);case"yyyyy":return _t(d);case"yyyyyy":return _t(i);case"M":return _t(a);case"MM":return _t(r);case"MMM":return Xn(t.months("short",!0,!1),1);case"MMMM":return Xn(t.months("long",!0,!1),1);case"L":return _t(a);case"LL":return _t(r);case"LLL":return Xn(t.months("short",!1,!1),1);case"LLLL":return Xn(t.months("long",!1,!1),1);case"d":return _t(a);case"dd":return _t(r);case"o":return _t(l);case"ooo":return _t(s);case"HH":return _t(r);case"H":return _t(a);case"hh":return _t(r);case"h":return _t(a);case"mm":return _t(r);case"m":return _t(a);case"q":return _t(a);case"qq":return _t(r);case"s":return _t(a);case"ss":return _t(r);case"S":return _t(l);case"SSS":return _t(s);case"u":return kc(m);case"uu":return kc(a);case"uuu":return _t(n);case"a":return Xn(t.meridiems(),0);case"kkkk":return _t(o);case"kk":return _t(f,Fd);case"W":return _t(a);case"WW":return _t(r);case"E":case"c":return _t(n);case"EEE":return Xn(t.weekdays("short",!1,!1),1);case"EEEE":return Xn(t.weekdays("long",!1,!1),1);case"ccc":return Xn(t.weekdays("short",!0,!1),1);case"cccc":return Xn(t.weekdays("long",!0,!1),1);case"Z":case"ZZ":return p_(new RegExp(`([+-]${a.source})(?::(${r.source}))?`),2);case"ZZZ":return p_(new RegExp(`([+-]${a.source})(${r.source})?`),2);case"z":return kc(/[a-z_+-/]{1,256}?/i);default:return p(g)}})(e)||{invalidReason:gY};return _.token=e,_}const CY={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"}};function zY(e,t,n){const{type:r,value:s}=e;if(r==="literal")return{literal:!0,val:s};const o=n[r];let i=CY[r];if(typeof i=="object"&&(i=i[o]),i)return{literal:!1,val:i}}function xY(e){return[`^${e.map(n=>n.regex).reduce((n,r)=>`${n}(${r.source})`,"")}$`,e]}function kY(e,t,n){const r=e.match(t);if(r){const s={};let o=1;for(const i in n)if(xo(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 SY(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 ct(e.z)||(n=$r.create(e.z)),ct(e.Z)||(n||(n=new mn(e.Z)),r=e.Z),ct(e.q)||(e.M=(e.q-1)*3+1),ct(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),ct(e.u)||(e.S=sf(e.u)),[Object.keys(e).reduce((o,i)=>{const a=t(i);return a&&(o[a]=e[i]),o},{}),n,r]}let Sc=null;function EY(){return Sc||(Sc=Qe.fromMillis(1555555555555)),Sc}function $Y(e,t){if(e.literal)return e;const n=zn.macroTokenToFormatOpts(e.val);if(!n)return e;const o=zn.create(t,n).formatDateTimeParts(EY()).map(i=>zY(i,t,n));return o.includes(void 0)?e:o}function AY(e,t){return Array.prototype.concat(...e.map(n=>$Y(n,t)))}function hb(e,t,n){const r=AY(zn.parseFormat(n),e),s=r.map(i=>wY(i,e)),o=s.find(i=>i.invalidReason);if(o)return{input:t,tokens:r,invalidReason:o.invalidReason};{const[i,a]=xY(s),l=RegExp(i,"i"),[c,m]=kY(t,l,a),[f,d,p]=m?SY(m):[null,null,void 0];if(xo(m,"a")&&xo(m,"H"))throw new ti("Can't include meridiem when specifying 24-hour format");return{input:t,tokens:r,regex:l,rawMatches:c,matches:m,result:f,zone:d,specificOffset:p}}}function TY(e,t,n){const{result:r,zone:s,specificOffset:o,invalidReason:i}=hb(e,t,n);return[r,s,o,i]}const _b=[0,31,59,90,120,151,181,212,243,273,304,334],gb=[0,31,60,91,121,152,182,213,244,274,305,335];function Un(e,t){return new tr("unit out of range",`you specified ${t} (of type ${typeof t}) as a ${e}, which is invalid`)}function yb(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 vb(e,t,n){return n+(Zi(e)?gb:_b)[t-1]}function bb(e,t){const n=Zi(e)?gb:_b,r=n.findIndex(o=>o<t),s=t-n[r];return{month:r+1,day:s}}function Nd(e){const{year:t,month:n,day:r}=e,s=vb(t,n,r),o=yb(t,n,r);let i=Math.floor((s-o+10)/7),a;return i<1?(a=t-1,i=Rl(a)):i>Rl(t)?(a=t+1,i=1):a=t,{weekYear:a,weekNumber:i,weekday:o,...xu(e)}}function h_(e){const{weekYear:t,weekNumber:n,weekday:r}=e,s=yb(t,1,4),o=Ci(t);let i=n*7+r-s-3,a;i<1?(a=t-1,i+=Ci(a)):i>o?(a=t+1,i-=Ci(t)):a=t;const{month:l,day:c}=bb(a,i);return{year:a,month:l,day:c,...xu(e)}}function Ec(e){const{year:t,month:n,day:r}=e,s=vb(t,n,r);return{year:t,ordinal:s,...xu(e)}}function __(e){const{year:t,ordinal:n}=e,{month:r,day:s}=bb(t,n);return{year:t,month:r,day:s,...xu(e)}}function OY(e){const t=Cu(e.weekYear),n=xr(e.weekNumber,1,Rl(e.weekYear)),r=xr(e.weekday,1,7);return t?n?r?!1:Un("weekday",e.weekday):Un("week",e.week):Un("weekYear",e.weekYear)}function PY(e){const t=Cu(e.year),n=xr(e.ordinal,1,Ci(e.year));return t?n?!1:Un("ordinal",e.ordinal):Un("year",e.year)}function wb(e){const t=Cu(e.year),n=xr(e.month,1,12),r=xr(e.day,1,Ml(e.year,e.month));return t?n?r?!1:Un("day",e.day):Un("month",e.month):Un("year",e.year)}function Cb(e){const{hour:t,minute:n,second:r,millisecond:s}=e,o=xr(t,0,23)||t===24&&n===0&&r===0&&s===0,i=xr(n,0,59),a=xr(r,0,59),l=xr(s,0,999);return o?i?a?l?!1:Un("millisecond",s):Un("second",r):Un("minute",n):Un("hour",t)}const $c="Invalid DateTime",g_=864e13;function el(e){return new tr("unsupported zone",`the zone "${e.name}" is not supported`)}function Ac(e){return e.weekData===null&&(e.weekData=Nd(e.c)),e.weekData}function Uo(e,t){const n={ts:e.ts,zone:e.zone,c:e.c,o:e.o,loc:e.loc,invalid:e.invalid};return new Qe({...n,...t,old:n})}function zb(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 y_(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 fl(e,t,n){return zb(af(e),t,n)}function v_(e,t){const n=e.o,r=e.c.year+Math.trunc(t.years),s=e.c.month+Math.trunc(t.months)+Math.trunc(t.quarters)*3,o={...e.c,year:r,month:s,day:Math.min(e.c.day,Ml(r,s))+Math.trunc(t.days)+Math.trunc(t.weeks)*7},i=ot.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=af(o);let[l,c]=zb(a,n,e.zone);return i!==0&&(l+=i,c=e.zone.offset(l)),{ts:l,o:c}}function qo(e,t,n,r,s,o){const{setZone:i,zone:a}=n;if(e&&Object.keys(e).length!==0){const l=t||a,c=Qe.fromObject(e,{...n,zone:l,specificOffset:o});return i?c:c.setZone(a)}else return Qe.invalid(new tr("unparsable",`the input "${s}" can't be parsed as ${r}`))}function tl(e,t,n=!0){return e.isValid?zn.create($t.create("en-US"),{allowZ:n,forceSimple:!0}).formatDateTimeFromString(e,t):null}function Tc(e,t){const n=e.c.year>9999||e.c.year<0;let r="";return n&&e.c.year>=0&&(r+="+"),r+=Ht(e.c.year,n?6:4),t?(r+="-",r+=Ht(e.c.month),r+="-",r+=Ht(e.c.day)):(r+=Ht(e.c.month),r+=Ht(e.c.day)),r}function b_(e,t,n,r,s,o){let i=Ht(e.c.hour);return t?(i+=":",i+=Ht(e.c.minute),(e.c.second!==0||!n)&&(i+=":")):i+=Ht(e.c.minute),(e.c.second!==0||!n)&&(i+=Ht(e.c.second),(e.c.millisecond!==0||!r)&&(i+=".",i+=Ht(e.c.millisecond,3))),s&&(e.isOffsetFixed&&e.offset===0&&!o?i+="Z":e.o<0?(i+="-",i+=Ht(Math.trunc(-e.o/60)),i+=":",i+=Ht(Math.trunc(-e.o%60))):(i+="+",i+=Ht(Math.trunc(e.o/60)),i+=":",i+=Ht(Math.trunc(e.o%60)))),o&&(i+="["+e.zone.ianaName+"]"),i}const xb={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},DY={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},FY={ordinal:1,hour:0,minute:0,second:0,millisecond:0},kb=["year","month","day","hour","minute","second","millisecond"],IY=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],LY=["year","ordinal","hour","minute","second","millisecond"];function w_(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 A1(e);return t}function C_(e,t){const n=Gr(t.zone,Gt.defaultZone),r=$t.fromObject(t),s=Gt.now();let o,i;if(ct(e.year))o=s;else{for(const c of kb)ct(e[c])&&(e[c]=xb[c]);const a=wb(e)||Cb(e);if(a)return Qe.invalid(a);const l=n.offset(s);[o,i]=fl(e,l,n)}return new Qe({ts:o,zone:n,loc:r,o:i})}function z_(e,t,n){const r=ct(n.round)?!0:n.round,s=(i,a)=>(i=of(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 x_(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 Qe{constructor(t){const n=t.zone||Gt.defaultZone;let r=t.invalid||(Number.isNaN(t.ts)?new tr("invalid input"):null)||(n.isValid?null:el(n));this.ts=ct(t.ts)?Gt.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=y_(this.ts,a),r=Number.isNaN(s.year)?new tr("invalid input"):null,s=r?null:s,o=r?null:a}this._zone=n,this.loc=t.loc||$t.create(),this.invalid=r,this.weekData=null,this.c=s,this.o=o,this.isLuxonDateTime=!0}static now(){return new Qe({})}static local(){const[t,n]=x_(arguments),[r,s,o,i,a,l,c]=n;return C_({year:r,month:s,day:o,hour:i,minute:a,second:l,millisecond:c},t)}static utc(){const[t,n]=x_(arguments),[r,s,o,i,a,l,c]=n;return t.zone=mn.utcInstance,C_({year:r,month:s,day:o,hour:i,minute:a,second:l,millisecond:c},t)}static fromJSDate(t,n={}){const r=UK(t)?t.valueOf():NaN;if(Number.isNaN(r))return Qe.invalid("invalid input");const s=Gr(n.zone,Gt.defaultZone);return s.isValid?new Qe({ts:r,zone:s,loc:$t.fromObject(n)}):Qe.invalid(el(s))}static fromMillis(t,n={}){if(xs(t))return t<-g_||t>g_?Qe.invalid("Timestamp out of range"):new Qe({ts:t,zone:Gr(n.zone,Gt.defaultZone),loc:$t.fromObject(n)});throw new Bn(`fromMillis requires a numerical input, but received a ${typeof t} with value ${t}`)}static fromSeconds(t,n={}){if(xs(t))return new Qe({ts:t*1e3,zone:Gr(n.zone,Gt.defaultZone),loc:$t.fromObject(n)});throw new Bn("fromSeconds requires a numerical input")}static fromObject(t,n={}){t=t||{};const r=Gr(n.zone,Gt.defaultZone);if(!r.isValid)return Qe.invalid(el(r));const s=Gt.now(),o=ct(n.specificOffset)?r.offset(s):n.specificOffset,i=Nl(t,w_),a=!ct(i.ordinal),l=!ct(i.year),c=!ct(i.month)||!ct(i.day),m=l||c,f=i.weekYear||i.weekNumber,d=$t.fromObject(n);if((m||a)&&f)throw new ti("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(c&&a)throw new ti("Can't mix ordinal dates with month/day");const p=f||i.weekday&&!m;let h,_,g=y_(s,o);p?(h=IY,_=DY,g=Nd(g)):a?(h=LY,_=FY,g=Ec(g)):(h=kb,_=xb);let b=!1;for(const F of h){const A=i[F];ct(A)?b?i[F]=_[F]:i[F]=g[F]:b=!0}const w=p?OY(i):a?PY(i):wb(i),x=w||Cb(i);if(x)return Qe.invalid(x);const z=p?h_(i):a?__(i):i,[S,T]=fl(z,o,r),j=new Qe({ts:S,zone:r,o:T,loc:d});return i.weekday&&m&&t.weekday!==j.weekday?Qe.invalid("mismatched weekday",`you can't specify both a weekday of ${i.weekday} and a date of ${j.toISO()}`):j}static fromISO(t,n={}){const[r,s]=YZ(t);return qo(r,s,n,"ISO 8601",t)}static fromRFC2822(t,n={}){const[r,s]=JZ(t);return qo(r,s,n,"RFC 2822",t)}static fromHTTP(t,n={}){const[r,s]=XZ(t);return qo(r,s,n,"HTTP",n)}static fromFormat(t,n,r={}){if(ct(t)||ct(n))throw new Bn("fromFormat requires an input string and a format");const{locale:s=null,numberingSystem:o=null}=r,i=$t.fromOpts({locale:s,numberingSystem:o,defaultToEN:!0}),[a,l,c,m]=TY(i,t,n);return m?Qe.invalid(m):qo(a,l,r,`format ${n}`,t,c)}static fromString(t,n,r={}){return Qe.fromFormat(t,n,r)}static fromSQL(t,n={}){const[r,s]=oY(t);return qo(r,s,n,"SQL",t)}static invalid(t,n=null){if(!t)throw new Bn("need to specify a reason the DateTime is invalid");const r=t instanceof tr?t:new tr(t,n);if(Gt.throwOnInvalid)throw new RK(r);return new Qe({invalid:r})}static isDateTime(t){return t&&t.isLuxonDateTime||!1}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?Ac(this).weekYear:NaN}get weekNumber(){return this.isValid?Ac(this).weekNumber:NaN}get weekday(){return this.isValid?Ac(this).weekday:NaN}get ordinal(){return this.isValid?Ec(this.c).ordinal:NaN}get monthShort(){return this.isValid?Qa.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?Qa.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?Qa.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?Qa.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 Zi(this.year)}get daysInMonth(){return Ml(this.year,this.month)}get daysInYear(){return this.isValid?Ci(this.year):NaN}get weeksInWeekYear(){return this.isValid?Rl(this.weekYear):NaN}resolvedLocaleOptions(t={}){const{locale:n,numberingSystem:r,calendar:s}=zn.create(this.loc.clone(t),t).resolvedOptions(this);return{locale:n,numberingSystem:r,outputCalendar:s}}toUTC(t=0,n={}){return this.setZone(mn.instance(t),n)}toLocal(){return this.setZone(Gt.defaultZone)}setZone(t,{keepLocalTime:n=!1,keepCalendarTime:r=!1}={}){if(t=Gr(t,Gt.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]=fl(i,o,t)}return Uo(this,{ts:s,zone:t})}else return Qe.invalid(el(t))}reconfigure({locale:t,numberingSystem:n,outputCalendar:r}={}){const s=this.loc.clone({locale:t,numberingSystem:n,outputCalendar:r});return Uo(this,{loc:s})}setLocale(t){return this.reconfigure({locale:t})}set(t){if(!this.isValid)return this;const n=Nl(t,w_),r=!ct(n.weekYear)||!ct(n.weekNumber)||!ct(n.weekday),s=!ct(n.ordinal),o=!ct(n.year),i=!ct(n.month)||!ct(n.day),a=o||i,l=n.weekYear||n.weekNumber;if((a||s)&&l)throw new ti("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(i&&s)throw new ti("Can't mix ordinal dates with month/day");let c;r?c=h_({...Nd(this.c),...n}):ct(n.ordinal)?(c={...this.toObject(),...n},ct(n.day)&&(c.day=Math.min(Ml(c.year,c.month),c.day))):c=__({...Ec(this.c),...n});const[m,f]=fl(c,this.o,this.zone);return Uo(this,{ts:m,o:f})}plus(t){if(!this.isValid)return this;const n=ot.fromDurationLike(t);return Uo(this,v_(this,n))}minus(t){if(!this.isValid)return this;const n=ot.fromDurationLike(t).negate();return Uo(this,v_(this,n))}startOf(t){if(!this.isValid)return this;const n={},r=ot.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?zn.create(this.loc.redefaultToEN(n)).formatDateTimeFromString(this,t):$c}toLocaleString(t=Dd,n={}){return this.isValid?zn.create(this.loc.clone(n),t).formatDateTime(this):$c}toLocaleParts(t={}){return this.isValid?zn.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=Tc(this,i);return a+="T",a+=b_(this,i,n,r,s,o),a}toISODate({format:t="extended"}={}){return this.isValid?Tc(this,t==="extended"):null}toISOWeekDate(){return tl(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":"")+b_(this,i==="extended",n,t,r,o):null}toRFC2822(){return tl(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)}toHTTP(){return tl(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")}toSQLDate(){return this.isValid?Tc(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")),tl(this,s,!0)}toSQL(t={}){return this.isValid?`${this.toSQLDate()} ${this.toSQLTime(t)}`:null}toString(){return this.isValid?this.toISO():$c}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 ot.invalid("created by diffing an invalid DateTime");const s={locale:this.locale,numberingSystem:this.numberingSystem,...r},o=qK(n).map(ot.normalizeUnit),i=t.valueOf()>this.valueOf(),a=i?this:t,l=i?t:this,c=pY(a,l,o,s);return i?c.negate():c}diffNow(t="milliseconds",n={}){return this.diff(Qe.now(),t,n)}until(t){return this.isValid?Ft.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||Qe.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),z_(n,this.plus(r),{...t,numeric:"always",units:s,unit:o})}toRelativeCalendar(t={}){return this.isValid?z_(t.base||Qe.fromObject({},{zone:this.zone}),this,{...t,numeric:"auto",units:["years","months","days"],calendary:!0}):null}static min(...t){if(!t.every(Qe.isDateTime))throw new Bn("min requires all arguments be DateTimes");return t_(t,n=>n.valueOf(),Math.min)}static max(...t){if(!t.every(Qe.isDateTime))throw new Bn("max requires all arguments be DateTimes");return t_(t,n=>n.valueOf(),Math.max)}static fromFormatExplain(t,n,r={}){const{locale:s=null,numberingSystem:o=null}=r,i=$t.fromOpts({locale:s,numberingSystem:o,defaultToEN:!0});return hb(i,t,n)}static fromStringExplain(t,n,r={}){return Qe.fromFormatExplain(t,n,r)}static get DATE_SHORT(){return Dd}static get DATE_MED(){return T1}static get DATE_MED_WITH_WEEKDAY(){return VK}static get DATE_FULL(){return O1}static get DATE_HUGE(){return P1}static get TIME_SIMPLE(){return D1}static get TIME_WITH_SECONDS(){return F1}static get TIME_WITH_SHORT_OFFSET(){return I1}static get TIME_WITH_LONG_OFFSET(){return L1}static get TIME_24_SIMPLE(){return M1}static get TIME_24_WITH_SECONDS(){return R1}static get TIME_24_WITH_SHORT_OFFSET(){return N1}static get TIME_24_WITH_LONG_OFFSET(){return j1}static get DATETIME_SHORT(){return V1}static get DATETIME_SHORT_WITH_SECONDS(){return B1}static get DATETIME_MED(){return H1}static get DATETIME_MED_WITH_SECONDS(){return U1}static get DATETIME_MED_WITH_WEEKDAY(){return BK}static get DATETIME_FULL(){return q1}static get DATETIME_FULL_WITH_SECONDS(){return W1}static get DATETIME_HUGE(){return G1}static get DATETIME_HUGE_WITH_SECONDS(){return K1}}function Wo(e){if(Qe.isDateTime(e))return e;if(e&&e.valueOf&&xs(e.valueOf()))return Qe.fromJSDate(e);if(e&&typeof e=="object")return Qe.fromObject(e);throw new Bn(`Unknown datetime argument: ${e}, of type ${typeof e}`)}const{t:Oc,locale:Pc}=Hi.global,MY={durationInHours:function(e){const t=Math.floor(e/1e3);return t>3600?ot.fromObject({seconds:t}).shiftTo("hours","minutes","seconds").toFormat("hh:mm:ss"):ot.fromObject({seconds:t}).shiftTo("minutes","seconds").toFormat("mm:ss")},durationInDays:function(e){const t=Math.floor(e/6e4);return t>1440?ot.fromObject({minutes:t}).shiftTo("days","hours","minutes").toHuman():t>60?ot.fromObject({minutes:t}).shiftTo("hours","minutes").toHuman():ot.fromObject({minutes:t}).shiftTo("minutes").toHuman()},date:function(e){return Qe.fromISO(e).setLocale(Pc.value).toLocaleString(Qe.DATE_FULL)},datetime:function(e){return Qe.fromISO(e).setLocale(Pc.value).toLocaleString(Qe.DATETIME_MED)},timeFromNow:function(e){var t=Qe.now().diff(Qe.fromISO(e));return this.durationInDays(t.as("milliseconds"))},number:function(e){return e.toLocaleString(Pc.value)},channels:function(e){return e===1?Oc("filter.mono"):e===2?Oc("filter.stereo"):e?Oc("filter.channels",{value:e}):""}},RY={mdiAccountMusic:kG,mdiAlbum:SG,mdiArrowCollapseDown:$G,mdiBookOpenPageVariant:AG,mdiBookOpenVariant:TG,mdiBookshelf:OG,mdiBroadcast:PG,mdiCancel:DG,mdiCast:FG,mdiCastVariant:IG,mdiCellphone:LG,mdiCheck:MG,mdiChevronDown:RG,mdiChevronUp:NG,mdiContentSave:jG,mdiDelete:VG,mdiDeleteEmpty:BG,mdiDotsHorizontal:HG,mdiDotsVertical:UG,mdiDragHorizontal:qG,mdiFastForward:WG,mdiFileMusic:GG,mdiFileOutline:KG,mdiFire:ZG,mdiFolder:YG,mdiFolderOpen:JG,mdiMagnify:XG,mdiMenu:QG,mdiMicrophone:eK,mdiMusic:tK,mdiMusicBoxMultiple:nK,mdiOpenInNew:rK,mdiPause:sK,mdiPencil:oK,mdiPipe:iK,mdiPlay:aK,mdiPlaylistPlay:lK,mdiPlaylistPlus:uK,mdiRadio:cK,mdiRadioTower:dK,mdiRefresh:mK,mdiRepeat:fK,mdiRepeatOff:pK,mdiRepeatOnce:hK,mdiRewind:_K,mdiRss:gK,mdiServer:yK,mdiShuffle:vK,mdiShuffleDisabled:bK,mdiSkipBackward:wK,mdiSkipForward:CK,mdiSpeaker:zK,mdiSpotify:xK,mdiStop:kK,mdiSubdirectoryArrowLeft:SK,mdiVolumeHigh:EK,mdiVolumeOff:$K,mdiWeb:AK},NY={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(yo,e)}},show_burger_menu:{get(){return this.$store.state.show_burger_menu},set(e){this.$store.commit(go,e)}}},methods:{open_link:function(){this.show_burger_menu&&this.$store.commit(go,!1),this.show_player_menu&&this.$store.commit(yo,!1),this.$router.push({path:this.to})},full_path:function(){return this.$router.resolve(this.to).href}}},jY=["href"];function VY(e,t,n,r,s,o){return E(),D("a",{class:Ye(["navbar-item",{"is-active":o.is_active}]),href:o.full_path(),onClick:t[0]||(t[0]=ht(i=>o.open_link(),["stop","prevent"]))},[zt(e.$slots,"default")],10,jY)}const Sb=ve(NY,[["render",VY]]),BY={name:"NavbarTop",components:{NavbarItemLink:Sb},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(go,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(Ui,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}}},HY={class:"navbar-brand"},UY={class:"icon"},qY={class:"icon"},WY={class:"icon"},GY={class:"icon"},KY={class:"icon"},ZY={class:"icon"},YY={class:"icon"},JY=u("span",null,null,-1),XY=u("span",null,null,-1),QY=u("span",null,null,-1),eJ=[JY,XY,QY],tJ=u("div",{class:"navbar-start"},null,-1),nJ={class:"navbar-end"},rJ={class:"navbar-link is-arrowless"},sJ={class:"icon is-hidden-touch"},oJ=["textContent"],iJ={class:"navbar-dropdown is-right"},aJ={class:"icon"},lJ=["textContent"],uJ={class:"icon"},cJ=["textContent"],dJ=["textContent"],mJ=["textContent"],fJ=["textContent"],pJ=["textContent"],hJ={class:"icon"},_J=["textContent"],gJ={class:"icon"},yJ=["textContent"],vJ={class:"icon"},bJ=["textContent"],wJ={class:"icon"},CJ=["textContent"],zJ={class:"icon"},xJ=["textContent"],kJ=u("hr",{class:"fd-navbar-divider"},null,-1),SJ=["textContent"],EJ=u("div",{class:"navbar-item is-hidden-desktop",style:{"margin-bottom":"2.5rem"}},null,-1);function $J(e,t,n,r,s,o){const i=O("mdicon"),a=O("navbar-item-link");return E(),D("nav",{class:"fd-top-navbar navbar is-light is-fixed-top",style:ss(o.zindex),role:"navigation","aria-label":"main navigation"},[u("div",HY,[o.is_visible_playlists?(E(),xe(a,{key:0,to:"/playlists"},{default:P(()=>[u("span",UY,[C(i,{name:"music-box-multiple",size:"16"})])]),_:1})):Q("",!0),o.is_visible_music?(E(),xe(a,{key:1,to:"/music"},{default:P(()=>[u("span",qY,[C(i,{name:"music",size:"16"})])]),_:1})):Q("",!0),o.is_visible_podcasts?(E(),xe(a,{key:2,to:"/podcasts"},{default:P(()=>[u("span",WY,[C(i,{name:"microphone",size:"16"})])]),_:1})):Q("",!0),o.is_visible_audiobooks?(E(),xe(a,{key:3,to:"/audiobooks"},{default:P(()=>[u("span",GY,[C(i,{name:"book-open-variant",size:"16"})])]),_:1})):Q("",!0),o.is_visible_radio?(E(),xe(a,{key:4,to:"/radio"},{default:P(()=>[u("span",KY,[C(i,{name:"radio",size:"16"})])]),_:1})):Q("",!0),o.is_visible_files?(E(),xe(a,{key:5,to:"/files"},{default:P(()=>[u("span",ZY,[C(i,{name:"folder-open",size:"16"})])]),_:1})):Q("",!0),o.is_visible_search?(E(),xe(a,{key:6,to:"/search"},{default:P(()=>[u("span",YY,[C(i,{name:"magnify",size:"16"})])]),_:1})):Q("",!0),u("div",{class:Ye(["navbar-burger",{"is-active":o.show_burger_menu}]),onClick:t[0]||(t[0]=l=>o.show_burger_menu=!o.show_burger_menu)},eJ,2)]),u("div",{class:Ye(["navbar-menu",{"is-active":o.show_burger_menu}])},[tJ,u("div",nJ,[u("div",{class:Ye(["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",rJ,[u("span",sJ,[C(i,{name:"menu",size:"24"})]),u("span",{class:"is-hidden-desktop has-text-weight-bold",textContent:v(e.$t("navigation.title"))},null,8,oJ)]),u("div",iJ,[C(a,{to:"/playlists"},{default:P(()=>[u("span",aJ,[C(i,{name:"music-box-multiple",size:"16"})]),u("b",{textContent:v(e.$t("navigation.playlists"))},null,8,lJ)]),_:1}),C(a,{to:"/music",exact:""},{default:P(()=>[u("span",uJ,[C(i,{name:"music",size:"16"})]),u("b",{textContent:v(e.$t("navigation.music"))},null,8,cJ)]),_:1}),C(a,{to:"/music/artists"},{default:P(()=>[u("span",{class:"fd-navbar-item-level2",textContent:v(e.$t("navigation.artists"))},null,8,dJ)]),_:1}),C(a,{to:"/music/albums"},{default:P(()=>[u("span",{class:"fd-navbar-item-level2",textContent:v(e.$t("navigation.albums"))},null,8,mJ)]),_:1}),C(a,{to:"/music/genres"},{default:P(()=>[u("span",{class:"fd-navbar-item-level2",textContent:v(e.$t("navigation.genres"))},null,8,fJ)]),_:1}),o.spotify_enabled?(E(),xe(a,{key:0,to:"/music/spotify"},{default:P(()=>[u("span",{class:"fd-navbar-item-level2",textContent:v(e.$t("navigation.spotify"))},null,8,pJ)]),_:1})):Q("",!0),C(a,{to:"/podcasts"},{default:P(()=>[u("span",hJ,[C(i,{name:"microphone",size:"16"})]),u("b",{textContent:v(e.$t("navigation.podcasts"))},null,8,_J)]),_:1}),C(a,{to:"/audiobooks"},{default:P(()=>[u("span",gJ,[C(i,{name:"book-open-variant",size:"16"})]),u("b",{textContent:v(e.$t("navigation.audiobooks"))},null,8,yJ)]),_:1}),C(a,{to:"/radio"},{default:P(()=>[u("span",vJ,[C(i,{name:"radio",size:"16"})]),u("b",{textContent:v(e.$t("navigation.radio"))},null,8,bJ)]),_:1}),C(a,{to:"/files"},{default:P(()=>[u("span",wJ,[C(i,{name:"folder-open",size:"16"})]),u("b",{textContent:v(e.$t("navigation.files"))},null,8,CJ)]),_:1}),C(a,{to:"/search"},{default:P(()=>[u("span",zJ,[C(i,{name:"magnify",size:"16"})]),u("b",{textContent:v(e.$t("navigation.search"))},null,8,xJ)]),_:1}),kJ,C(a,{to:"/settings/webinterface"},{default:P(()=>[yt(v(e.$t("navigation.settings")),1)]),_:1}),u("a",{class:"navbar-item",onClick:t[1]||(t[1]=ht(l=>o.open_update_dialog(),["stop","prevent"])),textContent:v(e.$t("navigation.update-library"))},null,8,SJ),C(a,{to:"/about"},{default:P(()=>[yt(v(e.$t("navigation.about")),1)]),_:1}),EJ])],2)])],2),xt(u("div",{class:"is-overlay",style:{"z-index":"10",width:"100vw",height:"100vh"},onClick:t[3]||(t[3]=l=>s.show_settings_menu=!1)},null,512),[[_o,s.show_settings_menu]])],4)}const AJ=ve(BY,[["render",$J]]),Go={_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{}}},TJ={name:"NavbarItemOutput",components:{Slider:Oi},props:["output"],computed:{type_class(){return this.output.type.startsWith("AirPlay")?"cast-variant":this.output.type==="Chromecast"?"cast":this.output.type==="fifo"?"pipe":"server"},volume(){return this.output.selected?this.output.volume:0}},methods:{play_next:function(){Z.player_next()},set_volume:function(e){Z.player_output_volume(this.output.id,e)},set_enabled:function(){const e={selected:!this.output.selected};Z.output_update(this.output.id,e)}}},OJ={class:"navbar-item"},PJ={class:"level is-mobile"},DJ={class:"level-left fd-expanded"},FJ={class:"level-item",style:{"flex-grow":"0"}},IJ={class:"button is-white is-small"},LJ={class:"level-item fd-expanded"},MJ={class:"fd-expanded"},RJ=["textContent"];function NJ(e,t,n,r,s,o){const i=O("mdicon"),a=O("Slider");return E(),D("div",OJ,[u("div",PJ,[u("div",DJ,[u("div",FJ,[u("a",IJ,[u("span",{class:Ye(["icon fd-has-action",{"has-text-grey-light":!n.output.selected}]),onClick:t[0]||(t[0]=(...l)=>o.set_enabled&&o.set_enabled(...l))},[C(i,{name:o.type_class,size:"18",title:n.output.type},null,8,["name","title"])],2)])]),u("div",LJ,[u("div",MJ,[u("p",{class:Ye(["heading",{"has-text-grey-light":!n.output.selected}]),textContent:v(n.output.name)},null,10,RJ),C(a,{modelValue:o.volume,"onUpdate:modelValue":t[1]||(t[1]=l=>o.volume=l),min:0,max:100,step:1,tooltips:!1,disabled:!n.output.selected,classes:{target:"slider"},onChange:o.set_volume},null,8,["modelValue","disabled","onChange"])])])])])])}const jJ=ve(TJ,[["render",NJ]]),VJ={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:function(){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?Z.player_pause():this.is_playing&&!this.is_pause_allowed?Z.player_stop():Z.player_play()}}},BJ=["disabled"],HJ={class:"icon"};function UJ(e,t,n,r,s,o){const i=O("mdicon");return E(),D("a",{disabled:o.disabled,onClick:t[0]||(t[0]=(...a)=>o.toggle_play_pause&&o.toggle_play_pause(...a))},[u("span",HJ,[C(i,{name:o.icon_name,size:n.icon_size},null,8,["name","size"])])],8,BJ)}const qJ=ve(VJ,[["render",UJ]]),WJ={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:function(){this.disabled||Z.player_next()}}},GJ=["disabled"],KJ={class:"icon"};function ZJ(e,t,n,r,s,o){const i=O("mdicon");return E(),D("a",{disabled:o.disabled,onClick:t[0]||(t[0]=(...a)=>o.play_next&&o.play_next(...a))},[u("span",KJ,[C(i,{name:"skip-forward",size:n.icon_size},null,8,["size"])])],8,GJ)}const YJ=ve(WJ,[["render",ZJ]]),JJ={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:function(){this.disabled||Z.player_previous()}}},XJ=["disabled"],QJ={class:"icon"};function eX(e,t,n,r,s,o){const i=O("mdicon");return E(),D("a",{disabled:o.disabled,onClick:t[0]||(t[0]=(...a)=>o.play_previous&&o.play_previous(...a))},[u("span",QJ,[C(i,{name:"skip-backward",size:n.icon_size},null,8,["size"])])],8,XJ)}const tX=ve(JJ,[["render",eX]]),nX={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:function(){Z.player_shuffle(!this.is_shuffle)}}},rX={class:"icon"};function sX(e,t,n,r,s,o){const i=O("mdicon");return E(),D("a",{class:Ye({"is-warning":o.is_shuffle}),onClick:t[0]||(t[0]=(...a)=>o.toggle_shuffle_mode&&o.toggle_shuffle_mode(...a))},[u("span",rX,[C(i,{name:o.icon_name,size:n.icon_size},null,8,["name","size"])])],2)}const oX=ve(nX,[["render",sX]]),iX={name:"PlayerButtonConsume",props:{icon_size:{type:Number,default:16}},computed:{is_consume(){return this.$store.state.player.consume}},methods:{toggle_consume_mode:function(){Z.player_consume(!this.is_consume)}}},aX={class:"icon"};function lX(e,t,n,r,s,o){const i=O("mdicon");return E(),D("a",{class:Ye({"is-warning":o.is_consume}),onClick:t[0]||(t[0]=(...a)=>o.toggle_consume_mode&&o.toggle_consume_mode(...a))},[u("span",aX,[C(i,{name:"fire",size:n.icon_size},null,8,["size"])])],2)}const uX=ve(iX,[["render",lX]]),cX={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:function(){this.is_repeat_all?Z.player_repeat("single"):this.is_repeat_single?Z.player_repeat("off"):Z.player_repeat("all")}}},dX={class:"icon"};function mX(e,t,n,r,s,o){const i=O("mdicon");return E(),D("a",{class:Ye({"is-warning":!o.is_repeat_off}),onClick:t[0]||(t[0]=(...a)=>o.toggle_repeat_mode&&o.toggle_repeat_mode(...a))},[u("span",dX,[C(i,{name:o.icon_name,size:n.icon_size},null,8,["name","size"])])],2)}const fX=ve(cX,[["render",mX]]),pX={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:function(){this.disabled||Z.player_seek(this.seek_ms*-1)}}},hX=["disabled"],_X={class:"icon"};function gX(e,t,n,r,s,o){const i=O("mdicon");return o.visible?(E(),D("a",{key:0,disabled:o.disabled,onClick:t[0]||(t[0]=(...a)=>o.seek&&o.seek(...a))},[u("span",_X,[C(i,{name:"rewind",size:n.icon_size},null,8,["size"])])],8,hX)):Q("",!0)}const yX=ve(pX,[["render",gX]]),vX={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:function(){this.disabled||Z.player_seek(this.seek_ms)}}},bX=["disabled"],wX={class:"icon"};function CX(e,t,n,r,s,o){const i=O("mdicon");return o.visible?(E(),D("a",{key:0,disabled:o.disabled,onClick:t[0]||(t[0]=(...a)=>o.seek&&o.seek(...a))},[u("span",wX,[C(i,{name:"fast-forward",size:n.icon_size},null,8,["size"])])],8,bX)):Q("",!0)}const zX=ve(vX,[["render",CX]]),xX={name:"NavbarBottom",components:{NavbarItemLink:Sb,NavbarItemOutput:jJ,Slider:Oi,PlayerButtonPlayPause:qJ,PlayerButtonNext:YJ,PlayerButtonPrevious:tX,PlayerButtonShuffle:oX,PlayerButtonConsume:uX,PlayerButtonRepeat:fX,PlayerButtonSeekForward:zX,PlayerButtonSeekBack:yX},data(){return{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(yo,e)}},show_burger_menu(){return this.$store.state.show_burger_menu},zindex(){return this.show_burger_menu?"z-index: 20":""},state(){return this.$store.state.player},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},set_volume:function(e){Z.player_volume(e)},toggle_mute_volume:function(){this.player.volume>0?this.set_volume(0):this.set_volume(this.old_volume)},setupAudio:function(){const e=Go.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:function(){Go.stopAudio(),this.playing=!1},playChannel:function(){if(this.playing)return;const e="/stream.mp3";this.loading=!0,Go.playSource(e),Go.setVolume(this.stream_volume/100)},togglePlay:function(){if(!this.loading)return this.playing?this.closeAudio():this.playChannel()},set_stream_volume:function(e){this.stream_volume=e,Go.setVolume(this.stream_volume/100)}}},kX={class:"navbar-brand fd-expanded"},SX={class:"icon"},EX={class:"is-clipped"},$X={class:"is-size-7 fd-is-text-clipped"},AX=["textContent"],TX=u("br",null,null,-1),OX=["textContent"],PX=["textContent"],DX={class:"icon"},FX={class:"icon"},IX={class:"navbar-dropdown is-right is-boxed",style:{"margin-right":"6px","margin-bottom":"6px","border-radius":"6px"}},LX={class:"navbar-item"},MX={class:"level is-mobile"},RX={class:"level-left fd-expanded"},NX={class:"level-item",style:{"flex-grow":"0"}},jX={class:"icon"},VX={class:"level-item fd-expanded"},BX={class:"fd-expanded"},HX=["textContent"],UX=u("hr",{class:"fd-navbar-divider"},null,-1),qX=u("hr",{class:"fd-navbar-divider"},null,-1),WX={class:"navbar-item"},GX={class:"level is-mobile"},KX={class:"level-left fd-expanded"},ZX={class:"level-item",style:{"flex-grow":"0"}},YX={class:"level-item fd-expanded"},JX={class:"fd-expanded"},XX=["textContent"],QX={href:"stream.mp3",style:{"margin-left":"5px"},target:"_blank"},eQ={class:"icon"},tQ=u("hr",{class:"fd-navbar-divider"},null,-1),nQ={class:"navbar-item"},rQ={class:"level is-mobile fd-expanded"},sQ={class:"level-item"},oQ={class:"buttons has-addons"},iQ=u("div",{class:"navbar-start"},null,-1),aQ={class:"navbar-end"},lQ={class:"navbar-item"},uQ={class:"buttons is-centered"},cQ=u("hr",{class:"fd-navbar-divider"},null,-1),dQ={class:"navbar-item"},mQ={class:"level is-mobile"},fQ={class:"level-left fd-expanded"},pQ={class:"level-item",style:{"flex-grow":"0"}},hQ={class:"icon"},_Q={class:"level-item fd-expanded"},gQ={class:"fd-expanded"},yQ=["textContent"],vQ=u("hr",{class:"fd-navbar-divider"},null,-1),bQ={class:"navbar-item fd-has-margin-bottom"},wQ={class:"level is-mobile"},CQ={class:"level-left fd-expanded"},zQ={class:"level-item",style:{"flex-grow":"0"}},xQ={class:"level-item fd-expanded"},kQ={class:"fd-expanded"},SQ=["textContent"],EQ={href:"stream.mp3",style:{"margin-left":"5px"},target:"_blank"},$Q={class:"icon"};function AQ(e,t,n,r,s,o){const i=O("mdicon"),a=O("navbar-item-link"),l=O("router-link"),c=O("player-button-previous"),m=O("player-button-seek-back"),f=O("player-button-play-pause"),d=O("player-button-seek-forward"),p=O("player-button-next"),h=O("Slider"),_=O("navbar-item-output"),g=O("player-button-repeat"),b=O("player-button-shuffle"),w=O("player-button-consume");return E(),D("nav",{class:Ye(["fd-bottom-navbar navbar is-white is-fixed-bottom",{"is-transparent":o.is_now_playing_page,"is-dark":!o.is_now_playing_page}]),style:ss(o.zindex),role:"navigation","aria-label":"player controls"},[u("div",kX,[C(a,{to:"/",exact:""},{default:P(()=>[u("span",SX,[C(i,{name:"playlist-play",size:"24"})])]),_:1}),o.is_now_playing_page?Q("",!0):(E(),xe(l,{key:0,to:"/now-playing",class:"navbar-item is-expanded is-clipped","active-class":"is-active",exact:""},{default:P(()=>[u("div",EX,[u("p",$X,[u("strong",{textContent:v(o.now_playing.title)},null,8,AX),TX,u("span",{textContent:v(o.now_playing.artist)},null,8,OX),o.now_playing.data_kind==="url"?(E(),D("span",{key:0,textContent:v(e.$t("navigation.now-playing",{album:o.now_playing.album}))},null,8,PX)):Q("",!0)])])]),_:1})),o.is_now_playing_page?(E(),xe(c,{key:1,class:"navbar-item fd-margin-left-auto",icon_size:24})):Q("",!0),o.is_now_playing_page?(E(),xe(m,{key:2,seek_ms:1e4,class:"navbar-item",icon_size:24})):Q("",!0),C(f,{class:"navbar-item",icon_size:36,show_disabled_message:""}),o.is_now_playing_page?(E(),xe(d,{key:3,seek_ms:3e4,class:"navbar-item",icon_size:24})):Q("",!0),o.is_now_playing_page?(E(),xe(p,{key:4,class:"navbar-item",icon_size:24})):Q("",!0),u("a",{class:"navbar-item fd-margin-left-auto is-hidden-desktop",onClick:t[0]||(t[0]=x=>o.show_player_menu=!o.show_player_menu)},[u("span",DX,[C(i,{name:o.show_player_menu?"chevron-down":"chevron-up",size:"18"},null,8,["name"])])]),u("div",{class:Ye(["navbar-item has-dropdown has-dropdown-up fd-margin-left-auto is-hidden-touch",{"is-active":o.show_player_menu}])},[u("a",{class:"navbar-link is-arrowless",onClick:t[1]||(t[1]=x=>o.show_player_menu=!o.show_player_menu)},[u("span",FX,[C(i,{name:o.show_player_menu?"chevron-down":"chevron-up",size:"18"},null,8,["name"])])]),u("div",IX,[u("div",LX,[u("div",MX,[u("div",RX,[u("div",NX,[u("a",{class:"button is-white is-small",onClick:t[2]||(t[2]=(...x)=>o.toggle_mute_volume&&o.toggle_mute_volume(...x))},[u("span",jX,[C(i,{name:o.player.volume>0?"volume-high":"volume-off",size:"18"},null,8,["name"])])])]),u("div",VX,[u("div",BX,[u("p",{class:"heading",textContent:v(e.$t("navigation.volume"))},null,8,HX),C(h,{modelValue:o.player.volume,"onUpdate:modelValue":t[3]||(t[3]=x=>o.player.volume=x),min:0,max:100,step:1,tooltips:!1,classes:{target:"slider"},onChange:o.set_volume},null,8,["modelValue","onChange"])])])])])]),UX,(E(!0),D(Ge,null,wt(o.outputs,x=>(E(),xe(_,{key:x.id,output:x},null,8,["output"]))),128)),qX,u("div",WX,[u("div",GX,[u("div",KX,[u("div",ZX,[u("a",{class:Ye(["button is-white is-small",{"is-loading":s.loading}])},[u("span",{class:Ye(["icon fd-has-action",{"has-text-grey-light":!s.playing&&!s.loading,"is-loading":s.loading}]),onClick:t[4]||(t[4]=(...x)=>o.togglePlay&&o.togglePlay(...x))},[C(i,{name:"broadcast",size:"18"})],2)],2)]),u("div",YX,[u("div",JX,[u("p",{class:Ye(["heading",{"has-text-grey-light":!s.playing}])},[u("span",{textContent:v(e.$t("navigation.stream"))},null,8,XX),u("a",QX,[u("span",eQ,[C(i,{name:"open-in-new",size:"16",style:{"vertical-align":"middle"}})])])],2),C(h,{modelValue:s.stream_volume,"onUpdate:modelValue":t[5]||(t[5]=x=>s.stream_volume=x),min:0,max:100,step:1,tooltips:!1,disabled:!s.playing,classes:{target:"slider"},onChange:o.set_stream_volume},null,8,["modelValue","disabled","onChange"])])])])])]),tQ,u("div",nQ,[u("div",rQ,[u("div",sQ,[u("div",oQ,[C(g,{class:"button"}),C(b,{class:"button"}),C(w,{class:"button"})])])])])])],2)]),u("div",{class:Ye(["navbar-menu is-hidden-desktop",{"is-active":o.show_player_menu}])},[iQ,u("div",aQ,[u("div",lQ,[u("div",uQ,[C(g,{class:"button",icon_size:18}),C(b,{class:"button",icon_size:18}),C(w,{class:"button",icon_size:18})])]),cQ,u("div",dQ,[u("div",mQ,[u("div",fQ,[u("div",pQ,[u("a",{class:"button is-white is-small",onClick:t[6]||(t[6]=(...x)=>o.toggle_mute_volume&&o.toggle_mute_volume(...x))},[u("span",hQ,[C(i,{name:o.player.volume>0?"volume-high":"volume-off",size:"18"},null,8,["name"])])])]),u("div",_Q,[u("div",gQ,[u("p",{class:"heading",textContent:v(e.$t("navigation.volume"))},null,8,yQ),C(h,{modelValue:o.player.volume,"onUpdate:modelValue":t[7]||(t[7]=x=>o.player.volume=x),min:0,max:100,step:1,tooltips:!1,classes:{target:"slider"},onChange:o.set_volume},null,8,["modelValue","onChange"])])])])])]),(E(!0),D(Ge,null,wt(o.outputs,x=>(E(),xe(_,{key:x.id,output:x},null,8,["output"]))),128)),vQ,u("div",bQ,[u("div",wQ,[u("div",CQ,[u("div",zQ,[u("a",{class:Ye(["button is-white is-small",{"is-loading":s.loading}])},[u("span",{class:Ye(["icon fd-has-action",{"has-text-grey-light":!s.playing&&!s.loading,"is-loading":s.loading}]),onClick:t[8]||(t[8]=(...x)=>o.togglePlay&&o.togglePlay(...x))},[C(i,{name:"radio-tower",size:"16"})],2)],2)]),u("div",xQ,[u("div",kQ,[u("p",{class:Ye(["heading",{"has-text-grey-light":!s.playing}])},[u("span",{textContent:v(e.$t("navigation.stream"))},null,8,SQ),u("a",EQ,[u("span",$Q,[C(i,{name:"open-in-new",size:"16",style:{"vertical-align":"middle"}})])])],2),C(h,{modelValue:s.stream_volume,"onUpdate:modelValue":t[9]||(t[9]=x=>s.stream_volume=x),min:0,max:100,step:1,tooltips:!1,disabled:!s.playing,classes:{target:"slider"},onChange:o.set_stream_volume},null,8,["modelValue","disabled","onChange"])])])])])])])],2)],6)}const TQ=ve(xX,[["render",AQ]]);const OQ={name:"NotificationList",components:{},data(){return{showNav:!1}},computed:{notifications(){return this.$store.state.notifications.list}},methods:{remove:function(e){this.$store.commit(ad,e)}}},PQ={key:0,class:"fd-notifications"},DQ={class:"columns is-centered"},FQ={class:"column is-half"},IQ=["onClick"],LQ=["textContent"];function MQ(e,t,n,r,s,o){return o.notifications.length>0?(E(),D("section",PQ,[u("div",DQ,[u("div",FQ,[(E(!0),D(Ge,null,wt(o.notifications,i=>(E(),D("div",{key:i.id,class:Ye(["notification has-shadow",["notification",i.type?`is-${i.type}`:""]])},[u("button",{class:"delete",onClick:a=>o.remove(i)},null,8,IQ),u("span",{textContent:v(i.text)},null,8,LQ)],2))),128))])])])):Q("",!0)}const RQ=ve(OQ,[["render",MQ]]),NQ={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(){Z.pairing_kickoff(this.pairing_req).then(()=>{this.pairing_req.pin=""})}}},jQ={key:0,class:"modal is-active"},VQ={class:"modal-content fd-modal-card"},BQ={class:"card"},HQ={class:"card-content"},UQ=["textContent"],qQ=["textContent"],WQ={class:"field"},GQ={class:"control"},KQ={class:"card-footer"},ZQ={class:"icon"},YQ=["textContent"],JQ={class:"icon"},XQ=["textContent"];function QQ(e,t,n,r,s,o){const i=O("mdicon");return E(),D("div",null,[C(qt,{name:"fade"},{default:P(()=>[n.show?(E(),D("div",jQ,[u("div",{class:"modal-background",onClick:t[0]||(t[0]=a=>e.$emit("close"))}),u("div",VQ,[u("div",BQ,[u("div",HQ,[u("p",{class:"title is-4",textContent:v(e.$t("dialog.remote-pairing.title"))},null,8,UQ),u("form",{onSubmit:t[2]||(t[2]=ht((...a)=>o.kickoff_pairing&&o.kickoff_pairing(...a),["prevent"]))},[u("label",{class:"label",textContent:v(o.pairing.remote)},null,8,qQ),u("div",WQ,[u("div",GQ,[xt(u("input",{ref:"pin_field","onUpdate:modelValue":t[1]||(t[1]=a=>s.pairing_req.pin=a),class:"input",type:"text",placeholder:"Enter pairing code"},null,512),[[xn,s.pairing_req.pin]])])])],32)]),u("footer",KQ,[u("a",{class:"card-footer-item has-text-danger",onClick:t[3]||(t[3]=a=>e.$emit("close"))},[u("span",ZQ,[C(i,{name:"cancel",size:"16"})]),u("span",{class:"is-size-7",textContent:v(e.$t("dialog.remote-pairing.cancel"))},null,8,YQ)]),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))},[u("span",JQ,[C(i,{name:"cellphone",size:"16"})]),u("span",{class:"is-size-7",textContent:v(e.$t("dialog.remote-pairing.pair"))},null,8,XQ)])])])]),u("button",{class:"modal-close is-large","aria-label":"close",onClick:t[5]||(t[5]=a=>e.$emit("close"))})])):Q("",!0)]),_:1})])}const eee=ve(NQ,[["render",QQ]]),tee={name:"ModalDialogUpdate",components:{ModalDialog:Gm},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($m,e)}}},methods:{update_library(){this.rescan_metadata?Z.library_rescan(this.update_dialog_scan_kind):Z.library_update(this.update_dialog_scan_kind)},close(){this.update_dialog_scan_kind="",this.$emit("close")}}},nee={key:0},ree=["textContent"],see={key:0,class:"field"},oee={class:"control"},iee={class:"select is-small"},aee=["textContent"],lee=["textContent"],uee=["textContent"],cee=["textContent"],dee={class:"field"},mee={class:"checkbox is-size-7 is-small"},fee=["textContent"],pee={key:1},hee=["textContent"];function _ee(e,t,n,r,s,o){const i=O("modal-dialog");return E(),xe(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":P(()=>[o.library.updating?(E(),D("div",pee,[u("p",{class:"mb-3",textContent:v(e.$t("dialog.update.progress"))},null,8,hee)])):(E(),D("div",nee,[u("p",{class:"mb-3",textContent:v(e.$t("dialog.update.info"))},null,8,ree),o.spotify_enabled||o.rss.tracks>0?(E(),D("div",see,[u("div",oee,[u("div",iee,[xt(u("select",{"onUpdate:modelValue":t[0]||(t[0]=a=>o.update_dialog_scan_kind=a)},[u("option",{value:"",textContent:v(e.$t("dialog.update.all"))},null,8,aee),u("option",{value:"files",textContent:v(e.$t("dialog.update.local"))},null,8,lee),o.spotify_enabled?(E(),D("option",{key:0,value:"spotify",textContent:v(e.$t("dialog.update.spotify"))},null,8,uee)):Q("",!0),o.rss.tracks>0?(E(),D("option",{key:1,value:"rss",textContent:v(e.$t("dialog.update.feeds"))},null,8,cee)):Q("",!0)],512),[[pm,o.update_dialog_scan_kind]])])])])):Q("",!0),u("div",dee,[u("label",mee,[xt(u("input",{"onUpdate:modelValue":t[1]||(t[1]=a=>s.rescan_metadata=a),type:"checkbox",style:{"margin-right":"5px"}},null,512),[[Er,s.rescan_metadata]]),u("span",{textContent:v(e.$t("dialog.update.rescan-metadata"))},null,8,fee)])])]))]),_:1},8,["show","title","ok_action","close_action","onOk"])}const gee=ve(tee,[["render",_ee]]);var jd={},yee={get exports(){return jd},set exports(e){jd=e}};(function(e){(function(t,n){e.exports?e.exports=n():t.ReconnectingWebSocket=n()})(on,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,m=!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 d(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(d("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),m=!0,h.close(),m=!1},a.timeoutInterval);l.onopen=function(g){clearTimeout(_),(a.debug||t.debugAll)&&console.debug("ReconnectingWebSocket","onopen",a.url),a.protocol=l.protocol,a.readyState=WebSocket.OPEN,a.reconnectAttempts=0;var b=d("open");b.isReconnect=p,p=!1,f.dispatchEvent(b)},l.onclose=function(g){if(clearTimeout(w),l=null,c)a.readyState=WebSocket.CLOSED,f.dispatchEvent(d("close"));else{a.readyState=WebSocket.CONNECTING;var b=d("connecting");b.code=g.code,b.reason=g.reason,b.wasClean=g.wasClean,f.dispatchEvent(b),!p&&!m&&((a.debug||t.debugAll)&&console.debug("ReconnectingWebSocket","onclose",a.url),f.dispatchEvent(d("close")));var w=a.reconnectInterval*Math.pow(a.reconnectDecay,a.reconnectAttempts);setTimeout(function(){a.reconnectAttempts++,a.open(!0)},w>a.maxReconnectInterval?a.maxReconnectInterval:w)}},l.onmessage=function(g){(a.debug||t.debugAll)&&console.debug("ReconnectingWebSocket","onmessage",a.url,g.data);var b=d("message");b.data=g.data,f.dispatchEvent(b)},l.onerror=function(g){(a.debug||t.debugAll)&&console.debug("ReconnectingWebSocket","onerror",a.url,g),f.dispatchEvent(d("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})})(yee);const vee=jd,bee={name:"App",components:{NavbarTop:AJ,NavbarBottom:TQ,NotificationList:RQ,ModalDialogRemotePairing:eee,ModalDialogUpdate:gee},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(go,e)}},show_player_menu:{get(){return this.$store.state.show_player_menu},set(e){this.$store.commit(yo,e)}},show_update_dialog:{get(){return this.$store.state.show_update_dialog},set(e){this.$store.commit(Ui,e)}}},watch:{show_burger_menu(){this.update_is_clipped()},show_player_menu(){this.update_is_clipped()}},created:function(){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:function(){Z.config().then(({data:e})=>{this.$store.commit(ky,e),this.$store.commit(cu,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:function(){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 vee(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(function(){s=!1},500))}window.addEventListener("focus",o),document.addEventListener("visibilitychange",function(){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:function(){Z.library_stats().then(({data:e})=>{this.$store.commit(Ey,e)}),Z.library_count("media_kind is audiobook").then(({data:e})=>{this.$store.commit($y,e)}),Z.library_count("media_kind is podcast").then(({data:e})=>{this.$store.commit(Ay,e)}),Z.library_count("scan_kind is rss").then(({data:e})=>{this.$store.commit(Ty,e)})},update_outputs:function(){Z.outputs().then(({data:e})=>{this.$store.commit(Oy,e.outputs)})},update_player_status:function(){Z.player_status().then(({data:e})=>{this.$store.commit(zm,e)})},update_queue:function(){Z.queue().then(({data:e})=>{this.$store.commit(Py,e)})},update_settings:function(){Z.settings().then(({data:e})=>{this.$store.commit(Sy,e)})},update_lastfm:function(){Z.lastfm().then(({data:e})=>{this.$store.commit(Dy,e)})},update_spotify:function(){Z.spotify().then(({data:e})=>{this.$store.commit(Fy,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:function(){Z.pairing().then(({data:e})=>{this.$store.commit(Iy,e),this.pairing_active=e.active})},update_is_clipped:function(){this.show_burger_menu||this.show_player_menu?document.querySelector("html").classList.add("is-clipped"):document.querySelector("html").classList.remove("is-clipped")}},template:"<App/>"},wee={id:"app"};function Cee(e,t,n,r,s,o){const i=O("navbar-top"),a=O("vue-progress-bar"),l=O("router-view"),c=O("modal-dialog-remote-pairing"),m=O("modal-dialog-update"),f=O("notification-list"),d=O("navbar-bottom");return E(),D("div",wee,[C(i),C(a,{class:"fd-progress-bar"}),C(l,null,{default:P(({Component:p})=>[(E(),xe(hg(p),{class:"fd-page"}))]),_:1}),C(c,{show:s.pairing_active,onClose:t[0]||(t[0]=p=>s.pairing_active=!1)},null,8,["show"]),C(m,{show:o.show_update_dialog,onClose:t[1]||(t[1]=p=>o.show_update_dialog=!1)},null,8,["show"]),xt(C(f,null,null,512),[[_o,!o.show_burger_menu]]),C(d),xt(u("div",{class:"fd-overlay-fullscreen",onClick:t[2]||(t[2]=p=>o.show_burger_menu=o.show_player_menu=!1)},null,512),[[_o,o.show_burger_menu||o.show_player_menu]])])}const zee=ve(bee,[["render",Cee]]);const Eb=ry(zee).use(it).use(x1).use(lG,{color:"hsl(204, 86%, 53%)",failedColor:"red",height:"1px"}).use(cG).use(CG,{log:!1}).use(xG).use(MK,{icons:RY}).use(Hi);Eb.config.globalProperties.$filters=MY;Eb.mount("#app");
|